]> mj.ucw.cz Git - libucw.git/log
libucw.git
17 years agobugfix in image scaling (select the correct strategy)
Pavel Charvat [Fri, 18 May 2007 11:45:03 +0000 (13:45 +0200)]
bugfix in image scaling (select the correct strategy)

17 years agoMerged genconf improvements from mainline.
Martin Mares [Fri, 9 Feb 2007 10:17:00 +0000 (11:17 +0100)]
Merged genconf improvements from mainline.

17 years agoCONFIG_INSTALL_API installs libimages headers
Pavel Charvat [Fri, 8 Dec 2006 16:44:59 +0000 (17:44 +0100)]
CONFIG_INSTALL_API installs libimages headers

17 years agofixed reading of big jpegs (serious today's bug)
Pavel Charvat [Mon, 27 Nov 2006 23:49:09 +0000 (00:49 +0100)]
fixed reading of big jpegs (serious today's bug)

17 years agofixed deinterlacing of very small GIFs
Pavel Charvat [Mon, 27 Nov 2006 12:41:33 +0000 (13:41 +0100)]
fixed deinterlacing of very small GIFs

17 years agotypo
Pavel Charvat [Mon, 27 Nov 2006 12:11:35 +0000 (13:11 +0100)]
typo

17 years agoaccording to libjpeg documentation fill_input_buffer should never return zero
Pavel Charvat [Mon, 27 Nov 2006 12:06:00 +0000 (13:06 +0100)]
according to libjpeg documentation fill_input_buffer should never return zero

17 years agoignore libjpeg warnings
Pavel Charvat [Sat, 25 Nov 2006 21:14:31 +0000 (22:14 +0100)]
ignore libjpeg warnings

17 years ago64bit bug in image signatures
Pavel Charvat [Sat, 25 Nov 2006 21:11:15 +0000 (22:11 +0100)]
64bit bug in image signatures

17 years agofixed segfaulting libjpeg warnings when decoding partially wrong images...
Pavel Charvat [Fri, 24 Nov 2006 23:31:25 +0000 (00:31 +0100)]
fixed segfaulting libjpeg warnings when decoding partially wrong images...
now we reject such images, but it can be easily changed in ifdef

17 years agofixed Bug 3188 - libimages supports shared libraries;
Pavel Charvat [Mon, 6 Nov 2006 11:29:11 +0000 (12:29 +0100)]
fixed Bug 3188 - libimages supports shared libraries;
it depends on libsh only with CONFIG_SHERLOCK

17 years agohacked libimages tests dependencies
Pavel Charvat [Mon, 6 Nov 2006 10:34:38 +0000 (11:34 +0100)]
hacked libimages tests dependencies

17 years agofixed color.test compilation
Pavel Charvat [Mon, 6 Nov 2006 09:52:49 +0000 (10:52 +0100)]
fixed color.test compilation

17 years agoMoved the update hook script to a separate repository.
Martin Mares [Fri, 3 Nov 2006 19:41:28 +0000 (20:41 +0100)]
Moved the update hook script to a separate repository.

17 years agoadded support for some color conversions; we should be able to load cmyk
Pavel Charvat [Thu, 2 Nov 2006 23:06:50 +0000 (00:06 +0100)]
added support for some color conversions; we should be able to load cmyk
jpegs now...

17 years agoimage-tool uses RGB automatically when converting non-RGB jpegs
Pavel Charvat [Wed, 1 Nov 2006 13:52:57 +0000 (14:52 +0100)]
image-tool uses RGB automatically when converting non-RGB jpegs
to gif/png

17 years agoslightly changed dealing with color spaces
Pavel Charvat [Wed, 1 Nov 2006 13:38:11 +0000 (14:38 +0100)]
slightly changed dealing with color spaces
(I will add CMYK -> RGB conversion soon ... bug #2819)

17 years agoenable dynamic linking on Darwin
Robert Spalek [Sat, 28 Oct 2006 01:20:44 +0000 (18:20 -0700)]
enable dynamic linking on Darwin

17 years agoauto-detect CONFIG_LFS
Robert Spalek [Sat, 28 Oct 2006 00:54:26 +0000 (17:54 -0700)]
auto-detect CONFIG_LFS

17 years agomake the Perl Ulimit module compilable on Darwin
Robert Spalek [Fri, 27 Oct 2006 03:51:43 +0000 (20:51 -0700)]
make the Perl Ulimit module compilable on Darwin

17 years agoupdate the code so that it compiles both on Linux and Darwin
Robert Spalek [Fri, 27 Oct 2006 03:10:36 +0000 (20:10 -0700)]
update the code so that it compiles both on Linux and Darwin

17 years agofdatasync is not supported on Darwin ===> work-around
Robert Spalek [Fri, 27 Oct 2006 03:08:09 +0000 (20:08 -0700)]
fdatasync is not supported on Darwin ===> work-around

17 years agoadded a wrapper for POSIX semaphores that works also on Darwin
Robert Spalek [Fri, 27 Oct 2006 03:05:16 +0000 (20:05 -0700)]
added a wrapper for POSIX semaphores that works also on Darwin

17 years agoseparate the support of large files from using LFS versions of file functions
Robert Spalek [Fri, 27 Oct 2006 03:03:32 +0000 (20:03 -0700)]
separate the support of large files from using LFS versions of file functions

17 years agoALIGN renamed to ALIGN_TO
Robert Spalek [Thu, 26 Oct 2006 01:56:57 +0000 (18:56 -0700)]
ALIGN renamed to ALIGN_TO

17 years agofixed forgotten text :)
Pavel Charvat [Sun, 22 Oct 2006 14:45:49 +0000 (16:45 +0200)]
fixed forgotten text :)

17 years agoCompleted merge with dev-img branch.
Pavel Charvat [Thu, 19 Oct 2006 08:34:16 +0000 (10:34 +0200)]
Completed merge with dev-img branch.

- libimages library
- gatherer uses libimages instead of GraphicsMagick
- added indexation of image signatures and support
  for similar images to search server (IMAGESIM)
- CZ indexation split to text and images
- ... and more small changes

17 years agoPartial merge with dev-img - added libimages.
Pavel Charvat [Thu, 19 Oct 2006 08:13:19 +0000 (10:13 +0200)]
Partial merge with dev-img - added libimages.

17 years agorewriting PL timetables... incomplete
Pavel Charvat [Wed, 18 Oct 2006 13:14:16 +0000 (15:14 +0200)]
rewriting PL timetables... incomplete

17 years agoMerge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git
Martin Mares [Fri, 13 Oct 2006 09:40:04 +0000 (11:40 +0200)]
Merge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git

17 years agostk_printf() has been fixed.
Martin Mares [Fri, 13 Oct 2006 09:28:59 +0000 (11:28 +0200)]
stk_printf() has been fixed.

17 years agogenconfig can include program's output (should be deterministic)
Pavel Charvat [Thu, 12 Oct 2006 14:59:36 +0000 (16:59 +0200)]
genconfig can include program's output (should be deterministic)

17 years agoconf: improve the format of the error message issued on invalid -S setting
Robert Spalek [Mon, 9 Oct 2006 17:56:06 +0000 (19:56 +0200)]
conf: improve the format of the error message issued on invalid -S setting

17 years agothread-safe stk_printf
Pavel Charvat [Mon, 9 Oct 2006 08:21:56 +0000 (10:21 +0200)]
thread-safe stk_printf

17 years agoReplaced the SORTER_DECLARE_ONLY hack by lib/sorter-globals.h.
Martin Mares [Thu, 5 Oct 2006 17:41:56 +0000 (19:41 +0200)]
Replaced the SORTER_DECLARE_ONLY hack by lib/sorter-globals.h.

17 years agoDefine NO_INLINE, which can be helpful when profiling.
Martin Mares [Tue, 26 Sep 2006 14:00:16 +0000 (16:00 +0200)]
Define NO_INLINE, which can be helpful when profiling.

17 years agoMerge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git
Martin Mares [Fri, 22 Sep 2006 19:15:23 +0000 (21:15 +0200)]
Merge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git

17 years agoA better comments on character set names.
Martin Mares [Fri, 22 Sep 2006 14:38:06 +0000 (16:38 +0200)]
A better comments on character set names.

17 years agonote that we use RCF names for supported charsets
Pavel Charvat [Fri, 22 Sep 2006 14:33:10 +0000 (16:33 +0200)]
note that we use RCF names for supported charsets

17 years agoDocumented thread safety of ucwlib functions.
Martin Mares [Wed, 20 Sep 2006 14:35:12 +0000 (16:35 +0200)]
Documented thread safety of ucwlib functions.

17 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Mon, 18 Sep 2006 10:03:56 +0000 (12:03 +0200)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git

17 years agoGuard against calls of random_max() with too large range.
Martin Mares [Fri, 15 Sep 2006 19:14:59 +0000 (21:14 +0200)]
Guard against calls of random_max() with too large range.

17 years agoAdded random_u64() and random_max_u64().
Martin Mares [Fri, 15 Sep 2006 19:00:12 +0000 (21:00 +0200)]
Added random_u64() and random_max_u64().

17 years agoAvoid unnecessary include of bbuf.h in fastbuf.h.
Martin Mares [Thu, 14 Sep 2006 11:44:04 +0000 (13:44 +0200)]
Avoid unnecessary include of bbuf.h in fastbuf.h.

17 years agoDefine the buffer type as both a typedef and a structure.
Martin Mares [Thu, 14 Sep 2006 11:43:49 +0000 (13:43 +0200)]
Define the buffer type as both a typedef and a structure.

17 years agoImplemented the atomic fastbuf backend.
Martin Mares [Thu, 14 Sep 2006 11:39:30 +0000 (13:39 +0200)]
Implemented the atomic fastbuf backend.

17 years agoAtomic fastbufs: the first sketch of the interface.
Martin Mares [Wed, 13 Sep 2006 19:38:05 +0000 (21:38 +0200)]
Atomic fastbufs: the first sketch of the interface.

17 years agoAdded ALWAYS_INLINE.
Martin Mares [Wed, 13 Sep 2006 18:03:34 +0000 (20:03 +0200)]
Added ALWAYS_INLINE.

17 years agoHide the TAGS file from the prying eyes of GIT.
Martin Mares [Mon, 11 Sep 2006 19:23:53 +0000 (21:23 +0200)]
Hide the TAGS file from the prying eyes of GIT.

17 years agoOops, a typo.
Martin Mares [Mon, 11 Sep 2006 19:11:42 +0000 (21:11 +0200)]
Oops, a typo.

17 years agoEnable prefetching on some more CPU's.
Martin Mares [Mon, 11 Sep 2006 19:05:16 +0000 (21:05 +0200)]
Enable prefetching on some more CPU's.

17 years agoAdded automatic configuration for Prescott, Nocona, Pentium-M and amd64 CPU's.
Martin Mares [Mon, 11 Sep 2006 19:04:48 +0000 (21:04 +0200)]
Added automatic configuration for Prescott, Nocona, Pentium-M and amd64 CPU's.

17 years agoMerge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Sun, 10 Sep 2006 20:28:29 +0000 (22:28 +0200)]
Merge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git

17 years agoSmall customizations moved do a new directory:
Pavel Charvat [Sun, 10 Sep 2006 20:28:18 +0000 (22:28 +0200)]
Small customizations moved do a new directory:
  bare -> customs/bare
  lib/config -> customs/libsonly

17 years agoMerge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git
Martin Mares [Sun, 10 Sep 2006 20:13:42 +0000 (22:13 +0200)]
Merge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git

Also cherry-picked some bits of dev-slices.

17 years agoAdded sh_fstat.
Martin Mares [Sat, 9 Sep 2006 19:56:10 +0000 (21:56 +0200)]
Added sh_fstat.

17 years agoIntroduced new switch CONFIG_SHERLOCK which can
Pavel Charvat [Sun, 10 Sep 2006 18:39:08 +0000 (20:39 +0200)]
Introduced new switch CONFIG_SHERLOCK which can
be used to disable Sherlock compilation.

Command
  ./configure lib/config
builds only libucw, libcharset and part of libsh.

17 years agoAvoid using ~/.muttrc of the user invoking GIT.
Martin Mares [Thu, 7 Sep 2006 13:36:01 +0000 (15:36 +0200)]
Avoid using ~/.muttrc of the user invoking GIT.

17 years agoadded missing _UCW prefix to headers guards
Pavel Charvat [Tue, 5 Sep 2006 10:45:20 +0000 (12:45 +0200)]
added missing _UCW prefix to headers guards

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