]> mj.ucw.cz Git - libucw.git/log
libucw.git
17 years agoMerge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Wed, 26 Jul 2006 17:53:08 +0000 (19:53 +0200)]
Merge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git

17 years agoCONFIG_LIB* -> CONFIG_IMAGES_LIB*
Pavel Charvat [Wed, 26 Jul 2006 17:52:28 +0000 (19:52 +0200)]
CONFIG_LIB* -> CONFIG_IMAGES_LIB*

17 years agoadded support for libungif
Pavel Charvat [Wed, 26 Jul 2006 15:15:59 +0000 (17:15 +0200)]
added support for libungif

17 years agoMerge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Wed, 26 Jul 2006 10:01:26 +0000 (12:01 +0200)]
Merge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git

17 years agofixed some compilation warnings
Pavel Charvat [Wed, 26 Jul 2006 09:43:40 +0000 (11:43 +0200)]
fixed some compilation warnings

17 years agolittle changes in image I/O interface
Pavel Charvat [Tue, 25 Jul 2006 19:32:21 +0000 (21:32 +0200)]
little changes in image I/O interface
added some image parameters needed for gather/format/image.c

17 years agoMerge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.9
Martin Mares [Tue, 25 Jul 2006 17:07:58 +0000 (19:07 +0200)]
Merge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.9

17 years agofixed v3.9 config parsing in web-queue-main
Pavel Charvat [Tue, 25 Jul 2006 12:56:17 +0000 (14:56 +0200)]
fixed v3.9 config parsing in web-queue-main

17 years agoadded image compression via libpng
Pavel Charvat [Tue, 25 Jul 2006 09:23:18 +0000 (11:23 +0200)]
added image compression via libpng

17 years agoMerge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Tue, 25 Jul 2006 07:39:51 +0000 (09:39 +0200)]
Merge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git

17 years agodebug customization compiles image-tool
Pavel Charvat [Tue, 25 Jul 2006 07:39:43 +0000 (09:39 +0200)]
debug customization compiles image-tool

17 years agoslow image compression via GraphicsMagick
Pavel Charvat [Tue, 25 Jul 2006 07:36:52 +0000 (09:36 +0200)]
slow image compression via GraphicsMagick

17 years agosome bugfixes
Pavel Charvat [Tue, 25 Jul 2006 06:23:41 +0000 (08:23 +0200)]
some bugfixes
reading of images via GraphicsMagick

17 years agoMerge with git+ssh://www.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.9
Pavel Charvat [Mon, 24 Jul 2006 19:37:06 +0000 (21:37 +0200)]
Merge with git+ssh://www.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.9

17 years agoMerge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.8
Pavel Charvat [Mon, 24 Jul 2006 19:27:25 +0000 (21:27 +0200)]
Merge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.8

17 years agoMerge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Mon, 24 Jul 2006 08:50:48 +0000 (10:50 +0200)]
Merge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git

17 years agobackup of incomplete sources
Pavel Charvat [Mon, 24 Jul 2006 08:42:30 +0000 (10:42 +0200)]
backup of incomplete sources

17 years agoMerge with git+ssh://www.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.9
Pavel Charvat [Wed, 19 Jul 2006 13:44:33 +0000 (15:44 +0200)]
Merge with git+ssh://www.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.9

17 years agoMerge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Mon, 17 Jul 2006 11:54:02 +0000 (13:54 +0200)]
Merge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git

17 years agobackport patch from head
Vladimir Jelen [Mon, 17 Jul 2006 08:44:52 +0000 (10:44 +0200)]
backport patch from head

17 years agobackport patch from head
Vladimir Jelen [Mon, 17 Jul 2006 08:37:50 +0000 (10:37 +0200)]
backport patch from head

17 years agofix - allow logfiles larger then 2G
Vladimir Jelen [Mon, 10 Jul 2006 13:56:39 +0000 (15:56 +0200)]
fix - allow logfiles larger then 2G

17 years agoWhen exporting libucw API, don't forget to add autoconf.h.
Martin Mares [Sun, 9 Jul 2006 12:07:24 +0000 (14:07 +0200)]
When exporting libucw API, don't forget to add autoconf.h.

18 years agoAdded function lib/redblack.h:search_down(key), that searches for nearest
Daniel Fiala [Mon, 3 Jul 2006 08:03:45 +0000 (10:03 +0200)]
Added function lib/redblack.h:search_down(key), that searches for nearest
smaller node in a tree.

18 years agoMerge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Thu, 22 Jun 2006 06:07:20 +0000 (08:07 +0200)]
Merge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git

18 years agoMoved the default configuration from build/sherlock.cfg to sherlock/default.cfg,
Martin Mares [Fri, 9 Jun 2006 16:01:09 +0000 (18:01 +0200)]
Moved the default configuration from build/sherlock.cfg to sherlock/default.cfg,
which is more logical and also allows for easier separation of the libucw
+ the build system from the rest of Sherlock.

18 years agoRemoved the CVS log analyser scripts, they are no longer useful.
Martin Mares [Fri, 9 Jun 2006 15:53:08 +0000 (17:53 +0200)]
Removed the CVS log analyser scripts, they are no longer useful.

18 years agoMoved check-customs to debug/, it's clearly a debugging utility.
Martin Mares [Fri, 9 Jun 2006 15:50:59 +0000 (17:50 +0200)]
Moved check-customs to debug/, it's clearly a debugging utility.

18 years agoReplaced cf_string_node and cf_2string_node by more general simp_node
Martin Mares [Sat, 27 May 2006 12:24:33 +0000 (14:24 +0200)]
Replaced cf_string_node and cf_2string_node by more general simp_node
and simp2_node and moved it to the libucw. (These are needed at many
places, in many cases unrelated to configuration.)

18 years agobetter solution to remove duplicates in installer's parameters
Pavel Charvat [Fri, 26 May 2006 12:01:01 +0000 (14:01 +0200)]
better solution to remove duplicates in installer's parameters

18 years agoavoids multiple installs of language directories in some cases
Pavel Charvat [Fri, 26 May 2006 11:51:11 +0000 (13:51 +0200)]
avoids multiple installs of language directories in some cases

18 years agoWhen a failed test is encountered, continue with other tests.
Martin Mares [Thu, 18 May 2006 11:08:29 +0000 (13:08 +0200)]
When a failed test is encountered, continue with other tests.

18 years agoAdded memory limit to bgets_bb().
Pavel Charvat [Thu, 18 May 2006 10:55:58 +0000 (12:55 +0200)]
Added memory limit to bgets_bb().

18 years agoremoved trailing spaces
Pavel Charvat [Thu, 18 May 2006 07:55:52 +0000 (09:55 +0200)]
removed trailing spaces

18 years agoSome fixes and changes from yesterday.
Pavel Charvat [Thu, 18 May 2006 07:49:02 +0000 (09:49 +0200)]
Some fixes and changes from yesterday.
All bgets* should work now.

  byte *bgets_mp(fastbuf, mempool)
  byte *bgets_stk(fastbuf)
  uns bgets_bb(fastbuf, bbuf)

Behavior is similar to bgets (returns NULL/zero at EOF).
bgets_bb returns length in bytes including zero byte.

18 years agoAdded the core of merging hashes.
Martin Mares [Wed, 17 May 2006 14:11:40 +0000 (16:11 +0200)]
Added the core of merging hashes.

18 years agoMention that the CONFIG_CS_STEMMER switch exists.
Martin Mares [Wed, 17 May 2006 13:42:09 +0000 (15:42 +0200)]
Mention that the CONFIG_CS_STEMMER switch exists.

18 years agobin/config: String type has no prefix again.
Pavel Charvat [Wed, 17 May 2006 12:49:52 +0000 (14:49 +0200)]
bin/config: String type has no prefix again.

18 years agoSome optimizations and fixes in bgets*().
Pavel Charvat [Wed, 17 May 2006 12:41:24 +0000 (14:41 +0200)]
Some optimizations and fixes in bgets*().

18 years agoSplit fastbuf.c to three parts.
Martin Mares [Wed, 17 May 2006 10:40:34 +0000 (12:40 +0200)]
Split fastbuf.c to three parts.

18 years agoMerge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Wed, 17 May 2006 10:27:51 +0000 (12:27 +0200)]
Merge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git

18 years agoFaster bgets_bb(). Similar optimizations can be done in
Pavel Charvat [Wed, 17 May 2006 10:27:13 +0000 (12:27 +0200)]
Faster bgets_bb(). Similar optimizations can be done in
all bgets* routines. Reduced time/space consumptions
of bgets_mp(). Not tested yet.

18 years agoshell/config: remove duplicate type_size()
Robert Spalek [Wed, 17 May 2006 09:15:30 +0000 (11:15 +0200)]
shell/config: remove duplicate type_size()

18 years agosimple bgets with allocation on the stack/mempool/bbuf
Pavel Charvat [Wed, 17 May 2006 08:01:20 +0000 (10:01 +0200)]
simple bgets with allocation on the stack/mempool/bbuf

18 years agoForgotten commit... added arrays support to configuration parser.
Pavel Charvat [Tue, 16 May 2006 13:50:39 +0000 (15:50 +0200)]
Forgotten commit... added arrays support to configuration parser.

18 years agobackup of some experimental code in duplicates search
Pavel Charvat [Sun, 14 May 2006 20:25:57 +0000 (22:25 +0200)]
backup of some experimental code in duplicates search

18 years agoadded missing dependency
Pavel Charvat [Fri, 12 May 2006 07:22:45 +0000 (09:22 +0200)]
added missing dependency

18 years agoremoved forgotten space
Pavel Charvat [Fri, 12 May 2006 07:04:48 +0000 (09:04 +0200)]
removed forgotten space

18 years agoconfiguration reader:
Pavel Charvat [Fri, 12 May 2006 07:02:00 +0000 (09:02 +0200)]
configuration reader:
- fixes in string defaults parser
- simple automatic tests
- more beautiful shell arrays

18 years ago"not/configured" safe defaults returned to bin/indexer
Pavel Charvat [Thu, 11 May 2006 12:16:30 +0000 (14:16 +0200)]
"not/configured" safe defaults returned to bin/indexer

18 years agomore intuitive parameter in configuration reader
Pavel Charvat [Thu, 11 May 2006 11:29:48 +0000 (13:29 +0200)]
more intuitive parameter in configuration reader

18 years agolib/shell/config.c rewritten...
Pavel Charvat [Thu, 11 May 2006 10:49:42 +0000 (12:49 +0200)]
lib/shell/config.c rewritten...
- support for int, u64, string, list
- list items are dumped as unstructured bash arrays,
  but this may be changed if necessary...
  alternatively --dumpconfig can be used to
  see everything

18 years agocleanup of new configuration: operation :unset replaced by :remove
Robert Spalek [Sun, 7 May 2006 18:43:35 +0000 (20:43 +0200)]
cleanup of new configuration: operation :unset replaced by :remove

Why to create a new operations?  Also, cleaned up the procedures so that
have unified interface.

18 years agoconfiguration mechanism: added support for bitmaps
Robert Spalek [Fri, 5 May 2006 13:18:23 +0000 (15:18 +0200)]
configuration mechanism: added support for bitmaps

18 years agoCONST is not PURE. Thanks to Pavel for spotting that.
Martin Mares [Thu, 4 May 2006 20:58:57 +0000 (22:58 +0200)]
CONST is not PURE. Thanks to Pavel for spotting that.

18 years agoUse LIKE_MALLOC and SENTINEL_CHECK for mempool operations.
Martin Mares [Thu, 4 May 2006 20:55:57 +0000 (22:55 +0200)]
Use LIKE_MALLOC and SENTINEL_CHECK for mempool operations.

18 years agoCorrected definition of the PURE attribute.
Martin Mares [Thu, 4 May 2006 20:55:42 +0000 (22:55 +0200)]
Corrected definition of the PURE attribute.
Added LIKE_MALLOC and SENTINEL_CHECK attributes.
Polished a comment.

18 years agoconf: forgot to initialize a local variable
Robert Spalek [Wed, 3 May 2006 13:20:07 +0000 (15:20 +0200)]
conf: forgot to initialize a local variable

18 years agojust playing with multidimensional Hilbert curves
Pavel Charvat [Wed, 3 May 2006 12:18:37 +0000 (14:18 +0200)]
just playing with multidimensional Hilbert curves
(trying to optimize duplicates search)

18 years agoadded missing include
Pavel Charvat [Tue, 2 May 2006 07:15:47 +0000 (09:15 +0200)]
added missing include

18 years agoMerge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Tue, 2 May 2006 07:05:41 +0000 (09:05 +0200)]
Merge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git

18 years ago- parts of duplicates search, still very slow and full of insects
Pavel Charvat [Tue, 2 May 2006 06:56:56 +0000 (08:56 +0200)]
- parts of duplicates search, still very slow and full of insects
- signature vector converted from u16 to byte
- several improvements and fixes... and new bugs of course :-)

18 years agoremoved trailing spaces, fixed speed test, some moves
Pavel Charvat [Mon, 1 May 2006 10:25:41 +0000 (12:25 +0200)]
removed trailing spaces, fixed speed test, some moves

18 years agoFaster sRGB -> Luv colorspace conversion.
Pavel Charvat [Mon, 1 May 2006 08:56:40 +0000 (10:56 +0200)]
Faster sRGB -> Luv colorspace conversion.
I tried to implement two different algorithms. The first
one directly evaluates the conversion formula while the second
one is general interpolation of continous 3-dimensional function
f: [0,255]^3 -> [0,255]^3 given by a grid of sample values.

18 years agoconf: don't die in bgets() on too long lines
Robert Spalek [Sun, 30 Apr 2006 21:19:33 +0000 (23:19 +0200)]
conf: don't die in bgets() on too long lines

18 years agoWhen allocating dynamic arrays, respect alignment. I hope this is the
Martin Mares [Sun, 30 Apr 2006 17:47:37 +0000 (19:47 +0200)]
When allocating dynamic arrays, respect alignment. I hope this is the
final revision :-)

Also, restrictions on dary element size shouldn't be necessary any longer.

18 years agoconf: move the initialization of dynamic arrays from commit- to init-hook
Robert Spalek [Sun, 30 Apr 2006 16:58:20 +0000 (18:58 +0200)]
conf: move the initialization of dynamic arrays from commit- to init-hook

18 years agoconf: redesign dynamic arrays; things get cleaner and start to work now
Robert Spalek [Sun, 30 Apr 2006 16:53:19 +0000 (18:53 +0200)]
conf: redesign dynamic arrays; things get cleaner and start to work now

18 years agoconf: clearing a dynamic array allocates a zero-length array
Robert Spalek [Sun, 30 Apr 2006 11:30:48 +0000 (13:30 +0200)]
conf: clearing a dynamic array allocates a zero-length array

18 years agoconf: fix one journalling call
Robert Spalek [Sun, 30 Apr 2006 11:16:06 +0000 (13:16 +0200)]
conf: fix one journalling call

18 years agoconf: expand a macro call, because it's used only once
Robert Spalek [Sun, 30 Apr 2006 11:14:40 +0000 (13:14 +0200)]
conf: expand a macro call, because it's used only once

18 years agoRenamed conf-test.t to conf-test.cf, because .t usually denotes inputs
Martin Mares [Sun, 30 Apr 2006 10:02:55 +0000 (12:02 +0200)]
Renamed conf-test.t to conf-test.cf, because .t usually denotes inputs
for build/tester.

18 years agoWhen diffing for mail reports, detect renames and copies.
Martin Mares [Sun, 30 Apr 2006 10:00:10 +0000 (12:00 +0200)]
When diffing for mail reports, detect renames and copies.

18 years agoReplaced the DARY_ALLOC by a comment explaining when it doesn't work.
Martin Mares [Sun, 30 Apr 2006 09:47:05 +0000 (11:47 +0200)]
Replaced the DARY_ALLOC by a comment explaining when it doesn't work.

I think that we no longer need to worry about this macro, because the only
DARY initializations we needed so far were to an empty array and they are
done automatically now. When the need arises, we can add a simple function
for creating a DARY of a given length.

18 years agoconf: handle NULL dynamic arrays before calling commit-hooks
Robert Spalek [Sun, 30 Apr 2006 08:19:16 +0000 (10:19 +0200)]
conf: handle NULL dynamic arrays before calling commit-hooks

18 years agoMerge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git#dev-config
Martin Mares [Sat, 29 Apr 2006 22:47:55 +0000 (00:47 +0200)]
Merge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git#dev-config

(Merged the dev-config branch with the mainline.)

18 years agoRemoved trailing whitespaces.
Martin Mares [Sat, 29 Apr 2006 22:16:00 +0000 (00:16 +0200)]
Removed trailing whitespaces.

Please fix your editors not to generate such things, especially when
auto-indenting.

18 years agoconf2: improved error messages (# of item in a list added)
Robert Spalek [Sat, 29 Apr 2006 12:07:33 +0000 (14:07 +0200)]
conf2: improved error messages (# of item in a list added)

18 years agoconf2: initialize dynamic arrays so that they are not NULL
Robert Spalek [Sat, 29 Apr 2006 11:24:30 +0000 (13:24 +0200)]
conf2: initialize dynamic arrays so that they are not NULL

18 years agoIntroduced a configuration post-processor sherlock/autoconf.cfg, which
Martin Mares [Fri, 28 Apr 2006 22:12:57 +0000 (00:12 +0200)]
Introduced a configuration post-processor sherlock/autoconf.cfg, which
works similarly to lib/autoconf.cfg, but generates settings specific
to Sherlock.

CONFIG_GATHERER and CONFIG_ANALYSER are now automatically decided upon,
but they still can be overridden manually or set by the custom config file.

18 years agoconf2: allow :clear on string attributes
Robert Spalek [Fri, 28 Apr 2006 16:51:22 +0000 (18:51 +0200)]
conf2: allow :clear on string attributes

18 years agoconf2 header: added (c) and #ifdef
Robert Spalek [Fri, 28 Apr 2006 14:47:12 +0000 (16:47 +0200)]
conf2 header: added (c) and #ifdef

18 years agoconf2: source files references in header files, and advanced journaling moved
Robert Spalek [Fri, 28 Apr 2006 14:44:13 +0000 (16:44 +0200)]
conf2: source files references in header files, and advanced journaling moved

18 years agoconf2.c split into 7 smaller modules conf-*.c with include conf-internal.h
Robert Spalek [Fri, 28 Apr 2006 14:31:02 +0000 (16:31 +0200)]
conf2.c split into 7 smaller modules conf-*.c with include conf-internal.h

18 years agotypo
Pavel Charvat [Fri, 28 Apr 2006 11:49:20 +0000 (13:49 +0200)]
typo

18 years agoThe --dumpconfig option stops the program after dumping.
Martin Mares [Fri, 28 Apr 2006 09:22:27 +0000 (11:22 +0200)]
The --dumpconfig option stops the program after dumping.

18 years agoImproved comments.
Martin Mares [Fri, 28 Apr 2006 09:20:15 +0000 (11:20 +0200)]
Improved comments.

18 years agoAdded stk_strjoin() as well.
Martin Mares [Fri, 28 Apr 2006 08:56:36 +0000 (10:56 +0200)]
Added stk_strjoin() as well.

18 years agoAdded a function for joining an array of strings, using an optional
Martin Mares [Fri, 28 Apr 2006 08:35:38 +0000 (10:35 +0200)]
Added a function for joining an array of strings, using an optional
separator.

18 years agoconf2: fixed 2 bugs in parsing nested configuration files
Robert Spalek [Fri, 28 Apr 2006 07:16:34 +0000 (09:16 +0200)]
conf2: fixed 2 bugs in parsing nested configuration files

18 years agosplit conf2.h into conf.h and getopt.h
Robert Spalek [Thu, 27 Apr 2006 23:31:57 +0000 (01:31 +0200)]
split conf2.h into conf.h and getopt.h

18 years agoconf: remove the old configuration mechanism whatsoever
Robert Spalek [Thu, 27 Apr 2006 22:41:36 +0000 (00:41 +0200)]
conf: remove the old configuration mechanism whatsoever

18 years agoRemoved the cf/sherlock2 hack (will move the config files in a minute).
Martin Mares [Thu, 27 Apr 2006 20:16:46 +0000 (22:16 +0200)]
Removed the cf/sherlock2 hack (will move the config files in a minute).

Also fixed a bug in parsing Includes. Robert, please verify the fix,
I am not sure I've done the right thing.

18 years agoconf2: postponing of commits fixed
Robert Spalek [Thu, 27 Apr 2006 16:33:09 +0000 (18:33 +0200)]
conf2: postponing of commits fixed

18 years agoconf2: fix appending to a dynamic array set to NULL
Robert Spalek [Thu, 27 Apr 2006 16:28:12 +0000 (18:28 +0200)]
conf2: fix appending to a dynamic array set to NULL

18 years agoconf2: when loading the initial configuration, commit only once at the end
Robert Spalek [Thu, 27 Apr 2006 16:26:15 +0000 (18:26 +0200)]
conf2: when loading the initial configuration, commit only once at the end

18 years agoconf2: polished error messages of commit-hooks
Robert Spalek [Thu, 27 Apr 2006 16:14:30 +0000 (18:14 +0200)]
conf2: polished error messages of commit-hooks

18 years agoshell/config: check the default value from the command-line
Robert Spalek [Thu, 27 Apr 2006 13:47:56 +0000 (15:47 +0200)]
shell/config: check the default value from the command-line

18 years agoshell/config: upgraded to use conf2 instead of conf
Robert Spalek [Thu, 27 Apr 2006 13:44:56 +0000 (15:44 +0200)]
shell/config: upgraded to use conf2 instead of conf

18 years agoCleaned up access-lists.
Martin Mares [Thu, 27 Apr 2006 12:23:58 +0000 (14:23 +0200)]
Cleaned up access-lists.