]>
mj.ucw.cz Git - libucw.git/log
Pavel Charvat [Wed, 20 Dec 2006 16:17:14 +0000 (17:17 +0100)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Mon, 18 Dec 2006 12:23:14 +0000 (13:23 +0100)]
added missing type for a local variable
Martin Mares [Mon, 18 Dec 2006 12:22:00 +0000 (13:22 +0100)]
Fixed a typo preventing compilation in non-threaded mode.
Martin Mares [Mon, 18 Dec 2006 12:15:28 +0000 (13:15 +0100)]
Remove relics of pre-CONFIG_UCW_THREADS times.
Pavel Charvat [Mon, 18 Dec 2006 12:02:50 +0000 (13:02 +0100)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Mon, 18 Dec 2006 12:02:41 +0000 (13:02 +0100)]
Merged mainline with parallel shep-reap:
- bucket file iface supports more than one opened DB
- shep-reap can preload buckets in parallel (useful especially on RAID systems)
Martin Mares [Mon, 18 Dec 2006 11:03:14 +0000 (12:03 +0100)]
Use thread ID for temporary file creation.
Martin Mares [Mon, 18 Dec 2006 10:59:35 +0000 (11:59 +0100)]
Added thread_id to ucwlib_context.
Martin Mares [Mon, 18 Dec 2006 10:52:33 +0000 (11:52 +0100)]
Free thread context structure on thread termination.
Martin Mares [Fri, 15 Dec 2006 15:01:36 +0000 (16:01 +0100)]
Fixed bug in signal handling.
Martin Mares [Fri, 15 Dec 2006 13:27:44 +0000 (14:27 +0100)]
Removed the `returned' hook.
Martin Mares [Fri, 15 Dec 2006 13:27:21 +0000 (14:27 +0100)]
Implemented priority queues.
Pavel Charvat [Tue, 12 Dec 2006 13:25:07 +0000 (14:25 +0100)]
image-sim-test can display also base224-encoded signatures
Pavel Charvat [Tue, 12 Dec 2006 10:23:56 +0000 (11:23 +0100)]
fixed long option for computation of base64 signatures
Pavel Charvat [Tue, 12 Dec 2006 10:02:26 +0000 (11:02 +0100)]
image-sim-test can display base64-encoded signature
Martin Mares [Mon, 11 Dec 2006 22:46:52 +0000 (23:46 +0100)]
Updated various programs and Makefiles to use the threading infrastructure.
Martin Mares [Mon, 11 Dec 2006 22:46:28 +0000 (23:46 +0100)]
Updated libucw threading notes.
Martin Mares [Mon, 11 Dec 2006 22:46:18 +0000 (23:46 +0100)]
Logging functions are thread-safe.
Martin Mares [Mon, 11 Dec 2006 22:45:56 +0000 (23:45 +0100)]
Fixed thread safety of signal handling.
Signals delivery is generally not deterministic in multi-threaded programs,
but SIGSEGV is always sent by the kernel to the thread which caused the fault.
Replaced the global signal handler array by a pointer in the per-thread
context and replaced saving of original handles (which was wrong even in
some non-threaded cases) by locked use counters.
Also moved logging of the SIGSEGV error message out of the signal handler
to be sure there are no clashes.
When libucw is compiled without threading, everything is nearly as simple
as before, because the thread context struct is static and all locks
disappear.
Martin Mares [Mon, 11 Dec 2006 22:44:55 +0000 (23:44 +0100)]
Export temp_file_name().
Martin Mares [Mon, 11 Dec 2006 22:44:43 +0000 (23:44 +0100)]
Creation of temporary files is now thread-safe (ugh).
Martin Mares [Mon, 11 Dec 2006 22:43:37 +0000 (23:43 +0100)]
Added threading infrastructure to libucw and CONFIG_UCW_THREADS.
Finally decided that we need threading support in too many libucw modules,
so the only sane thing is to link all programs with -lpthread. On the
other hand, I would like to keep the possibility of building non-threaded libucw,
so I've introduced a new config switch, which is always set for Sherlock.
Martin Mares [Mon, 11 Dec 2006 22:39:22 +0000 (23:39 +0100)]
Trivial cleanups.
Martin Mares [Mon, 11 Dec 2006 22:38:05 +0000 (23:38 +0100)]
Added a library module for distributing work between threads.
(Ported from the dev-sorter branch.)
Martin Mares [Fri, 8 Dec 2006 17:09:08 +0000 (18:09 +0100)]
Merge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.10
(centrum/cz/{cf/local,config} merged manually)
Pavel Charvat [Fri, 8 Dec 2006 16:44:59 +0000 (17:44 +0100)]
CONFIG_INSTALL_API installs libimages headers
Pavel Charvat [Mon, 27 Nov 2006 23:50:00 +0000 (00:50 +0100)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.10
Pavel Charvat [Mon, 27 Nov 2006 23:49:09 +0000 (00:49 +0100)]
fixed reading of big jpegs (serious today's bug)
Pavel Charvat [Mon, 27 Nov 2006 12:57:32 +0000 (13:57 +0100)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.10
Pavel Charvat [Mon, 27 Nov 2006 12:41:33 +0000 (13:41 +0100)]
fixed deinterlacing of very small GIFs
Pavel Charvat [Mon, 27 Nov 2006 12:11:35 +0000 (13:11 +0100)]
typo
Pavel Charvat [Mon, 27 Nov 2006 12:08:59 +0000 (13:08 +0100)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.10
Pavel Charvat [Mon, 27 Nov 2006 12:06:00 +0000 (13:06 +0100)]
according to libjpeg documentation fill_input_buffer should never return zero
Pavel Charvat [Sat, 25 Nov 2006 21:14:31 +0000 (22:14 +0100)]
ignore libjpeg warnings
Pavel Charvat [Sat, 25 Nov 2006 21:11:15 +0000 (22:11 +0100)]
64bit bug in image signatures
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
Pavel Charvat [Sat, 11 Nov 2006 20:11:11 +0000 (21:11 +0100)]
partial YCCK colorspace support
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
Pavel Charvat [Mon, 6 Nov 2006 10:34:38 +0000 (11:34 +0100)]
hacked libimages tests dependencies
Pavel Charvat [Mon, 6 Nov 2006 09:52:49 +0000 (10:52 +0100)]
fixed color.test compilation
Martin Mares [Fri, 3 Nov 2006 19:41:28 +0000 (20:41 +0100)]
Moved the update hook script to a separate repository.
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...
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
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)
Robert Spalek [Sat, 28 Oct 2006 01:20:44 +0000 (18:20 -0700)]
enable dynamic linking on Darwin
Robert Spalek [Sat, 28 Oct 2006 00:54:26 +0000 (17:54 -0700)]
auto-detect CONFIG_LFS
Robert Spalek [Fri, 27 Oct 2006 03:51:43 +0000 (20:51 -0700)]
make the Perl Ulimit module compilable on 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
Robert Spalek [Fri, 27 Oct 2006 03:08:09 +0000 (20:08 -0700)]
fdatasync is not supported on Darwin ===> work-around
Robert Spalek [Fri, 27 Oct 2006 03:05:16 +0000 (20:05 -0700)]
added a wrapper for POSIX semaphores that works also on Darwin
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
Robert Spalek [Thu, 26 Oct 2006 01:56:57 +0000 (18:56 -0700)]
ALIGN renamed to ALIGN_TO
Pavel Charvat [Sun, 22 Oct 2006 14:45:49 +0000 (16:45 +0200)]
fixed forgotten text :)
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
Pavel Charvat [Thu, 19 Oct 2006 08:13:19 +0000 (10:13 +0200)]
Partial merge with dev-img - added libimages.
Pavel Charvat [Wed, 18 Oct 2006 14:49:55 +0000 (16:49 +0200)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Wed, 18 Oct 2006 13:14:16 +0000 (15:14 +0200)]
rewriting PL timetables... incomplete
Pavel Charvat [Fri, 13 Oct 2006 11:48:33 +0000 (13:48 +0200)]
Merge with git+ssh://git.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
Martin Mares [Fri, 13 Oct 2006 09:28:59 +0000 (11:28 +0200)]
stk_printf() has been fixed.
Pavel Charvat [Thu, 12 Oct 2006 14:59:36 +0000 (16:59 +0200)]
genconfig can include program's output (should be deterministic)
Pavel Charvat [Tue, 10 Oct 2006 09:13:28 +0000 (11:13 +0200)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#dev-threads
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
Pavel Charvat [Mon, 9 Oct 2006 08:21:56 +0000 (10:21 +0200)]
thread-safe stk_printf
Pavel Charvat [Fri, 6 Oct 2006 08:17:48 +0000 (10:17 +0200)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#dev-threads
Martin Mares [Thu, 5 Oct 2006 17:41:56 +0000 (19:41 +0200)]
Replaced the SORTER_DECLARE_ONLY hack by lib/sorter-globals.h.
Pavel Charvat [Wed, 4 Oct 2006 12:36:48 +0000 (14:36 +0200)]
* dev-threads merged to dev-img
* scanner generates only one file for image duplicates search
(I will optimize this later... it has been disabled anyway)
* parallel imagesig analyser
(only tried to compile... not tested yet)
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#dev-threads
Pavel Charvat [Mon, 2 Oct 2006 15:18:07 +0000 (17:18 +0200)]
bugfix in area-based image scaling
Pavel Charvat [Mon, 2 Oct 2006 14:34:57 +0000 (16:34 +0200)]
more MJ's corrections... to be continue
Pavel Charvat [Mon, 2 Oct 2006 14:21:16 +0000 (16:21 +0200)]
* removed CONFIG_IMAGES_EXIF switch (always enabled)
* u32 -> uns in struct image/image_io
Pavel Charvat [Mon, 2 Oct 2006 13:55:26 +0000 (15:55 +0200)]
more MJ's corrections... to be continue
Pavel Charvat [Mon, 2 Oct 2006 08:08:03 +0000 (10:08 +0200)]
image_scale:
- fixed visible rounding error near right and bottom edges
- implemented simple nearest neighbour algorithm
- speed experiments with SIMD bilinear filter...
will continue in free time
Martin Mares [Fri, 29 Sep 2006 10:18:10 +0000 (12:18 +0200)]
Polished comments.
Pavel Charvat [Wed, 27 Sep 2006 12:21:18 +0000 (14:21 +0200)]
Merge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Wed, 27 Sep 2006 11:31:31 +0000 (13:31 +0200)]
fixed bskip usage
Pavel Charvat [Wed, 27 Sep 2006 11:24:47 +0000 (13:24 +0200)]
and now a correct solution... skip_input_data should be able to jump
exactly at EOF (according to libjpeg documentation)
Pavel Charvat [Wed, 27 Sep 2006 11:06:17 +0000 (13:06 +0200)]
fixed segfault when libjpeg asked to skip behind EOF
Martin Mares [Tue, 26 Sep 2006 14:00:16 +0000 (16:00 +0200)]
Define NO_INLINE, which can be helpful when profiling.
Pavel Charvat [Tue, 26 Sep 2006 12:23:34 +0000 (14:23 +0200)]
* let the compiler align several libimages structucters on his own
* do not assert presence of shepherd's weights in the image indexer
(should not happen... useful only for debugging)
Pavel Charvat [Sun, 24 Sep 2006 22:36:14 +0000 (00:36 +0200)]
some corrections in ImageSim config section
Pavel Charvat [Sun, 24 Sep 2006 22:30:25 +0000 (00:30 +0200)]
added few comments to IMAGESIM configuration... sorry for bad English :-)
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
Martin Mares [Fri, 22 Sep 2006 14:38:06 +0000 (16:38 +0200)]
A better comments on character set names.
Pavel Charvat [Fri, 22 Sep 2006 14:33:10 +0000 (16:33 +0200)]
note that we use RCF names for supported charsets
Martin Mares [Wed, 20 Sep 2006 14:35:12 +0000 (16:35 +0200)]
Documented thread safety of ucwlib functions.
Pavel Charvat [Wed, 20 Sep 2006 11:14:47 +0000 (13:14 +0200)]
disabled forgotten LOCAL_DEBUG
Pavel Charvat [Wed, 20 Sep 2006 10:28:52 +0000 (12:28 +0200)]
test also GIFs for thread-safety
Pavel Charvat [Wed, 20 Sep 2006 10:02:42 +0000 (12:02 +0200)]
CONFIG_IMAGES_LIBMAGICK works again
Pavel Charvat [Wed, 20 Sep 2006 09:43:24 +0000 (11:43 +0200)]
revising & testing image library
* struct image_thread renamed to struct image_context;
changed its messaging iface
* added simple automatic tests for thread safety
* added some global ImageLib.* configuration variables
* playing with color spaces... not important but interesting :-)
- to be continue -
Pavel Charvat [Tue, 19 Sep 2006 08:57:11 +0000 (10:57 +0200)]
bb_ofs_printf() -> bb_printf_at()
added bb_printf()
Pavel Charvat [Mon, 18 Sep 2006 13:08:58 +0000 (15:08 +0200)]
rest of bbuf printf
Pavel Charvat [Mon, 18 Sep 2006 12:58:16 +0000 (14:58 +0200)]
Merge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git#dev-img
Pavel Charvat [Mon, 18 Sep 2006 12:57:07 +0000 (14:57 +0200)]
printf to a growing buffer
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
Pavel Charvat [Mon, 18 Sep 2006 06:41:02 +0000 (08:41 +0200)]
bufgix in image comparision
Pavel Charvat [Sun, 17 Sep 2006 13:58:00 +0000 (15:58 +0200)]
backup of some experiments with similarity
Pavel Charvat [Sat, 16 Sep 2006 14:21:06 +0000 (16:21 +0200)]
align signature size
Pavel Charvat [Sat, 16 Sep 2006 13:50:51 +0000 (15:50 +0200)]
small changes in signatures config
Pavel Charvat [Sat, 16 Sep 2006 12:58:21 +0000 (14:58 +0200)]
store also image dimensions
Pavel Charvat [Sat, 16 Sep 2006 12:40:15 +0000 (14:40 +0200)]
experiment - store relative centroid position for each image region