]> mj.ucw.cz Git - libucw.git/log
libucw.git
10 years agoPCRE regex: Fixed a harmless compilation warning.
Pavel Charvat [Tue, 14 Jan 2014 12:19:58 +0000 (13:19 +0100)]
PCRE regex: Fixed a harmless compilation warning.

10 years agovarints: Fixed format strings.
Tomas Valla [Tue, 14 Jan 2014 11:33:05 +0000 (12:33 +0100)]
varints: Fixed format strings.

10 years agoLibUCW: Fixed a stupid typo in the UCW_DIE_BY_ABORT switch.
Pavel Charvat [Tue, 14 Jan 2014 08:00:05 +0000 (09:00 +0100)]
LibUCW: Fixed a stupid typo in the UCW_DIE_BY_ABORT switch.

10 years agoLibUCW: Implemented UCW_DIE_BY_ABORT environment switch.
Pavel Charvat [Tue, 14 Jan 2014 07:58:15 +0000 (08:58 +0100)]
LibUCW: Implemented UCW_DIE_BY_ABORT environment switch.

10 years agoPackages: install-ucw-sorter-api make target moved into install-libucw-api.
Pavel Charvat [Tue, 14 Jan 2014 07:48:14 +0000 (08:48 +0100)]
Packages: install-ucw-sorter-api make target moved into install-libucw-api.

10 years agoPackages: Do not forget to install sorter's API.
Pavel Charvat [Tue, 7 Jan 2014 15:47:06 +0000 (16:47 +0100)]
Packages: Do not forget to install sorter's API.

10 years agoPackages: Removed customization of SONAME_SUFFIX to simplify Makefiles.
Pavel Charvat [Tue, 7 Jan 2014 15:19:51 +0000 (16:19 +0100)]
Packages: Removed customization of SONAME_SUFFIX to simplify Makefiles.

10 years agoPackages: Fixes in custom versioning.
Pavel Charvat [Tue, 7 Jan 2014 15:14:01 +0000 (16:14 +0100)]
Packages: Fixes in custom versioning.

10 years agoPackages: Created debian/tag-release script to easily tag new versions.
Pavel Charvat [Tue, 7 Jan 2014 15:00:36 +0000 (16:00 +0100)]
Packages: Created debian/tag-release script to easily tag new versions.

10 years agoPackages: Unit tests must be run sequentially (make -j1 tests).
Pavel Charvat [Tue, 7 Jan 2014 14:52:15 +0000 (15:52 +0100)]
Packages: Unit tests must be run sequentially (make -j1 tests).

10 years agoPackages: Fixed a typo in Makefile causing unnecessary dependencies.
Pavel Charvat [Tue, 7 Jan 2014 13:46:08 +0000 (14:46 +0100)]
Packages: Fixed a typo in Makefile causing unnecessary dependencies.

10 years agoPackages: Added missing dependencies.
Pavel Charvat [Tue, 7 Jan 2014 13:41:09 +0000 (14:41 +0100)]
Packages: Added missing dependencies.

10 years agoPackages: Fixed static linking.
Pavel Charvat [Tue, 7 Jan 2014 13:35:04 +0000 (14:35 +0100)]
Packages: Fixed static linking.

10 years agoPackages: pkg-config dependencies moved to Requires.private.
Pavel Charvat [Tue, 7 Jan 2014 13:30:53 +0000 (14:30 +0100)]
Packages: pkg-config dependencies moved to Requires.private.

10 years agoPackages: Dependencies on external dynamic libraries are now in pkg-config's Libs...
Pavel Charvat [Tue, 7 Jan 2014 13:00:26 +0000 (14:00 +0100)]
Packages: Dependencies on external dynamic libraries are now in pkg-config's Libs.private.

10 years agoPackages: We need to include SONAME symbolic links to shared libraries in packages.
Pavel Charvat [Tue, 7 Jan 2014 12:02:26 +0000 (13:02 +0100)]
Packages: We need to include SONAME symbolic links to shared libraries in packages.

10 years agoPackages: Do not install picstatic version of libs.
Pavel Charvat [Tue, 7 Jan 2014 09:15:13 +0000 (10:15 +0100)]
Packages: Do not install picstatic version of libs.

But they are still not removed completely from Makefiles and pkgconfig.

10 years agoMerge branch 'dev-api' into dev-package
Pavel Charvat [Tue, 7 Jan 2014 09:11:17 +0000 (10:11 +0100)]
Merge branch 'dev-api' into dev-package

Conflicts:
default.cfg

10 years agoDebug: check-configs tries static linking, too
Martin Mares [Fri, 3 Jan 2014 15:53:01 +0000 (16:53 +0100)]
Debug: check-configs tries static linking, too

10 years agoABI: Fix string.h
Martin Mares [Fri, 3 Jan 2014 15:52:42 +0000 (16:52 +0100)]
ABI: Fix string.h

10 years agoABI: Symbol renames for libimages
Martin Mares [Fri, 3 Jan 2014 15:36:39 +0000 (16:36 +0100)]
ABI: Symbol renames for libimages

10 years agoImages: Added missing include
Martin Mares [Fri, 3 Jan 2014 15:36:30 +0000 (16:36 +0100)]
Images: Added missing include

10 years agoImages: Clean up old-style function declarations
Martin Mares [Fri, 3 Jan 2014 15:36:05 +0000 (16:36 +0100)]
Images: Clean up old-style function declarations

10 years agoTools: It's 2014 now :)
Martin Mares [Fri, 3 Jan 2014 15:08:21 +0000 (16:08 +0100)]
Tools: It's 2014 now :)

10 years agoABI: Manual tweaks for ff-binary.h
Martin Mares [Fri, 3 Jan 2014 15:05:58 +0000 (16:05 +0100)]
ABI: Manual tweaks for ff-binary.h

Function names are generated by macros, thus hidden to tools/map-symbols.

10 years agoABI: rename-symbols does not touch timestamps of unmodified files
Martin Mares [Fri, 3 Jan 2014 15:05:39 +0000 (16:05 +0100)]
ABI: rename-symbols does not touch timestamps of unmodified files

10 years agoABI: Tables used by ucw/chartype.h are prefixed
Martin Mares [Fri, 3 Jan 2014 14:59:07 +0000 (15:59 +0100)]
ABI: Tables used by ucw/chartype.h are prefixed

10 years agoPackages: Added a custom string to names of compiled libraries.
Pavel Charvat [Fri, 3 Jan 2014 13:47:30 +0000 (14:47 +0100)]
Packages: Added a custom string to names of compiled libraries.

10 years agoPackages: Split each UCW library to its own set of packages.
Pavel Charvat [Fri, 3 Jan 2014 13:05:12 +0000 (14:05 +0100)]
Packages: Split each UCW library to its own set of packages.

10 years agoABI: Manual tweaks for strtonum.h
Martin Mares [Fri, 3 Jan 2014 13:01:23 +0000 (14:01 +0100)]
ABI: Manual tweaks for strtonum.h

Function names are generated by macros, thus hidden to tools/map-symbols.

10 years agoABI: ucwlib_ prefix is also safe
Martin Mares [Fri, 3 Jan 2014 12:59:39 +0000 (13:59 +0100)]
ABI: ucwlib_ prefix is also safe

10 years agoABI: Rename internal tables of libcharset
Martin Mares [Fri, 3 Jan 2014 12:57:27 +0000 (13:57 +0100)]
ABI: Rename internal tables of libcharset

10 years agoABI: Avoid macro re-definition
Martin Mares [Fri, 3 Jan 2014 12:55:12 +0000 (13:55 +0100)]
ABI: Avoid macro re-definition

10 years agoABI: Symbol renames for libucw and libcharset
Martin Mares [Fri, 3 Jan 2014 12:54:31 +0000 (13:54 +0100)]
ABI: Symbol renames for libucw and libcharset

All of these have been generated by tools/rename-symbols. Some manual
tweaking will be needed.

10 years agoConfig: By default, debug configuration build shared libraries
Martin Mares [Fri, 3 Jan 2014 12:52:54 +0000 (13:52 +0100)]
Config: By default, debug configuration build shared libraries

10 years agoConfig: Added CONFIG_UCW_CLEAN_ABI
Martin Mares [Fri, 3 Jan 2014 12:52:29 +0000 (13:52 +0100)]
Config: Added CONFIG_UCW_CLEAN_ABI

10 years agoAdded a list of exported symbols, which are subject to renaming
Martin Mares [Fri, 3 Jan 2014 12:50:23 +0000 (13:50 +0100)]
Added a list of exported symbols, which are subject to renaming

10 years agoTools: Added tools for symbol renaming and checking
Martin Mares [Fri, 3 Jan 2014 12:49:49 +0000 (13:49 +0100)]
Tools: Added tools for symbol renaming and checking

10 years agoPackages: Install also obsolete ucw-daemon-helper for now.
Pavel Charvat [Fri, 3 Jan 2014 12:38:32 +0000 (13:38 +0100)]
Packages: Install also obsolete ucw-daemon-helper for now.

10 years agoClean up old-style function declarations split to multiple lines
Martin Mares [Fri, 3 Jan 2014 11:42:31 +0000 (12:42 +0100)]
Clean up old-style function declarations split to multiple lines

10 years agoLibUCW: Added fb-socket.h header to public API.
Pavel Charvat [Tue, 10 Dec 2013 13:20:56 +0000 (14:20 +0100)]
LibUCW: Added fb-socket.h header to public API.

10 years agoPackages: Simplified definition of install targets.
Pavel Charvat [Tue, 10 Dec 2013 12:40:10 +0000 (13:40 +0100)]
Packages: Simplified definition of install targets.

10 years agoPackages: Improved installation of example configs.
Pavel Charvat [Sat, 7 Dec 2013 11:22:14 +0000 (12:22 +0100)]
Packages: Improved installation of example configs.

10 years agoPackages: Added some docs/examples.
Pavel Charvat [Sat, 7 Dec 2013 11:13:23 +0000 (12:13 +0100)]
Packages: Added some docs/examples.

10 years agoPackages: Several fixes in debian packages and their versioning.
Pavel Charvat [Sat, 7 Dec 2013 10:06:12 +0000 (11:06 +0100)]
Packages: Several fixes in debian packages and their versioning.

10 years agoLibUCW: Added `ucw-' prefix to utils.
Pavel Charvat [Fri, 6 Dec 2013 22:32:14 +0000 (23:32 +0100)]
LibUCW: Added `ucw-' prefix to utils.

10 years agoLibucw-images: Added `ucw-' prefix to utils.
Pavel Charvat [Fri, 6 Dec 2013 22:11:57 +0000 (23:11 +0100)]
Libucw-images: Added `ucw-' prefix to utils.

10 years agoPackages: Several fixes in debian packages.
Pavel Charvat [Fri, 6 Dec 2013 21:47:22 +0000 (22:47 +0100)]
Packages: Several fixes in debian packages.

10 years agoPackages: First experiments with Debian packages.
Pavel Charvat [Fri, 6 Dec 2013 19:49:07 +0000 (20:49 +0100)]
Packages: First experiments with Debian packages.

10 years agoRenamed shxml/* to xml/*.
Pavel Charvat [Fri, 6 Dec 2013 14:34:22 +0000 (15:34 +0100)]
Renamed shxml/* to xml/*.

10 years agoSplit install-lib* rules to runtime and dev parts.
Pavel Charvat [Fri, 6 Dec 2013 14:26:52 +0000 (15:26 +0100)]
Split install-lib* rules to runtime and dev parts.

10 years agoAdded libucw-* prefix to some forgotten places.
Pavel Charvat [Fri, 6 Dec 2013 12:18:26 +0000 (13:18 +0100)]
Added libucw-* prefix to some forgotten places.

10 years agoAdded libucw-* prefix to all libraries (libcharset -> libucw-charset, etc.)
Pavel Charvat [Fri, 6 Dec 2013 12:02:07 +0000 (13:02 +0100)]
Added libucw-* prefix to all libraries (libcharset -> libucw-charset, etc.)

10 years agoLibUCW: xrealloc(ptr, 0) should return NULL and not die.
Pavel Charvat [Thu, 28 Nov 2013 12:09:47 +0000 (13:09 +0100)]
LibUCW: xrealloc(ptr, 0) should return NULL and not die.

10 years agobinomial heaps: Added missing node order initialization.
Tomas Valla [Tue, 5 Nov 2013 18:40:26 +0000 (19:40 +0100)]
binomial heaps: Added missing node order initialization.

10 years agoLibUCW: Fixed broken DARY_ALLOC() on 64bit architectures.
Pavel Charvat [Thu, 24 Oct 2013 13:47:49 +0000 (15:47 +0200)]
LibUCW: Fixed broken DARY_ALLOC() on 64bit architectures.

10 years agoFastbuf: Fix possible memory leak in new bprintf()
Martin Mares [Fri, 18 Oct 2013 15:25:38 +0000 (17:25 +0200)]
Fastbuf: Fix possible memory leak in new bprintf()

10 years agoFixed note about res_alloc() with no resource pool active
Martin Mares [Fri, 18 Oct 2013 14:39:55 +0000 (16:39 +0200)]
Fixed note about res_alloc() with no resource pool active

10 years agoAdded DBG_SPOT macro
Martin Mares [Thu, 17 Oct 2013 14:10:33 +0000 (16:10 +0200)]
Added DBG_SPOT macro

10 years agoFastbuf: Rewritten bprintf()
Martin Mares [Thu, 17 Oct 2013 14:00:16 +0000 (16:00 +0200)]
Fastbuf: Rewritten bprintf()

The new version prints directly to the stream buffer, avoiding
unnecessary copies in the common case. Also, only small buffers
are allocated on the stack.

10 years agoTester: Compare stderr if requested
Martin Mares [Thu, 17 Oct 2013 13:50:12 +0000 (15:50 +0200)]
Tester: Compare stderr if requested

10 years agoTests: Enable tests of bitops
Martin Mares [Thu, 17 Oct 2013 13:48:01 +0000 (15:48 +0200)]
Tests: Enable tests of bitops

... with the exception of bit-count-t, which does not exist any longer.

10 years agoTester: Support here-documents
Martin Mares [Thu, 17 Oct 2013 13:47:47 +0000 (15:47 +0200)]
Tester: Support here-documents

10 years agoUCW::CGI: Escaping functions silently convert undef to undef
Martin Mares [Tue, 15 Oct 2013 12:41:10 +0000 (14:41 +0200)]
UCW::CGI: Escaping functions silently convert undef to undef

10 years agogary.h: Fixed bug in INIT_SPACE_* macros
Tomas Valla [Mon, 22 Jul 2013 09:08:43 +0000 (11:08 +0200)]
gary.h: Fixed bug in INIT_SPACE_* macros

commit 629bd47e7b61b251d055dccfecf124bacad17f76 from MD2

10 years agogary: Added GARY_INIT_SPACE(_ZERO)
Martin Mares [Mon, 22 Jul 2013 08:08:13 +0000 (10:08 +0200)]
gary: Added GARY_INIT_SPACE(_ZERO)

10 years agoff-varints: Fixed really silly bug in handling fastbufs.
Tomas Valla [Sat, 20 Jul 2013 10:00:17 +0000 (12:00 +0200)]
ff-varints: Fixed really silly bug in handling fastbufs.

Commit d7762233d87dfea537c963e813daba8fa72bf2be from MD2.

11 years agoLibUCW: Documented OptionalInclude in configuration files.
Pavel Charvat [Tue, 28 May 2013 10:30:05 +0000 (12:30 +0200)]
LibUCW: Documented OptionalInclude in configuration files.

11 years agoLibUCW: Implemented OptionalInclude to configuration files.
Pavel Charvat [Tue, 28 May 2013 10:08:06 +0000 (12:08 +0200)]
LibUCW: Implemented OptionalInclude to configuration files.

11 years agoVarints: Added documentation.
Tomas Valla [Thu, 28 Mar 2013 13:12:23 +0000 (14:12 +0100)]
Varints: Added documentation.

11 years agoNew module: variable-length integer encoding
Martin Mares [Mon, 25 Mar 2013 15:43:15 +0000 (16:43 +0100)]
New module: variable-length integer encoding

Written by Tomas Valla.

11 years agoucw/unicode.h: Typo fix
Tomas Valla [Sun, 17 Mar 2013 22:00:37 +0000 (23:00 +0100)]
ucw/unicode.h: Typo fix

11 years agoBitarray: Added bit_array_xrealloc()
Martin Mares [Tue, 19 Mar 2013 16:11:44 +0000 (17:11 +0100)]
Bitarray: Added bit_array_xrealloc()

As suggested by Martina Balintova and inspired by her code.

Also renamed bit-count.c to bit-array.c.

11 years agoDoc: Fixed a typo
Martin Mares [Tue, 26 Feb 2013 12:37:59 +0000 (13:37 +0100)]
Doc: Fixed a typo

Thanks to Martina Balintova who spotted it.

11 years agomainloop.h: Typo fix.
Tomas Valla [Thu, 27 Dec 2012 14:45:25 +0000 (15:45 +0100)]
mainloop.h: Typo fix.

11 years agoUCW::CGI: Documented the changes
Martin Mares [Wed, 26 Dec 2012 19:22:35 +0000 (20:22 +0100)]
UCW::CGI: Documented the changes

11 years agoUCW::CGI error handling split off to separate module UCW::CGI::ErrorHandler
Martin Mares [Wed, 26 Dec 2012 19:13:13 +0000 (20:13 +0100)]
UCW::CGI error handling split off to separate module UCW::CGI::ErrorHandler

I was really fed up with replaced error handling in indirectly related
pieces of code (like modules, which use UCW::CGI, because they might be
called in a context of a CGI script under some circumstances).

Let the people who want custom error handling ask for it directly.

11 years agoBitarray: Counting of bits and other fixes
Pavel Charvat [Sat, 17 Nov 2012 17:40:13 +0000 (18:40 +0100)]
Bitarray: Counting of bits and other fixes

  o  Added bit_array_count_bits().
  o  Padding after the last significant bit is guaranteed to be 0.
  o  BIT_ARRAY_FISH_BITS_... is not destructive any longer.

11 years agoBitops: Implement bit_count()
Pavel Charvat [Sat, 17 Nov 2012 17:38:27 +0000 (18:38 +0100)]
Bitops: Implement bit_count()

11 years agogary: Allow GARY_RESIZE to be used for immediate array indexing
Martin Mares [Fri, 2 Nov 2012 21:36:42 +0000 (22:36 +0100)]
gary: Allow GARY_RESIZE to be used for immediate array indexing

11 years agoMainloop: Fixed position tracking in timer heaps
Martin Mares [Tue, 30 Oct 2012 20:39:43 +0000 (21:39 +0100)]
Mainloop: Fixed position tracking in timer heaps

11 years agoHeap: Documented position tracking
Martin Mares [Tue, 30 Oct 2012 20:38:53 +0000 (21:38 +0100)]
Heap: Documented position tracking

11 years agoSignames: Run tests automatically
Martin Mares [Tue, 30 Oct 2012 20:28:47 +0000 (21:28 +0100)]
Signames: Run tests automatically

11 years agoMD5: The rest of the test suite
Martin Mares [Tue, 30 Oct 2012 20:27:45 +0000 (21:27 +0100)]
MD5: The rest of the test suite

11 years agoMD5: Test suite
Martin Mares [Tue, 30 Oct 2012 20:27:25 +0000 (21:27 +0100)]
MD5: Test suite

11 years agoMD5: Removed a potential pointer aliasing problem
Martin Mares [Tue, 30 Oct 2012 20:26:46 +0000 (21:26 +0100)]
MD5: Removed a potential pointer aliasing problem

Discovered from a warning by GCC 4.7.

11 years agoDebug: Compile with CONFIG_IMAGES_{DUP,SIM}
Martin Mares [Tue, 30 Oct 2012 20:20:31 +0000 (21:20 +0100)]
Debug: Compile with CONFIG_IMAGES_{DUP,SIM}

11 years agoImages: Heap use fixup
Martin Mares [Tue, 30 Oct 2012 20:20:21 +0000 (21:20 +0100)]
Images: Heap use fixup

11 years agoHeap: Revert changes to HEAP_DELETE, which broke position tracking
Martin Mares [Tue, 30 Oct 2012 20:13:39 +0000 (21:13 +0100)]
Heap: Revert changes to HEAP_DELETE, which broke position tracking

11 years agoDo not forget to export eltpool.h to public API
Martin Mares [Sun, 28 Oct 2012 19:03:39 +0000 (20:03 +0100)]
Do not forget to export eltpool.h to public API

11 years agoMainloop: Fixed +1 error in heap usage.
Tomas Valla [Thu, 25 Oct 2012 13:47:30 +0000 (15:47 +0200)]
Mainloop: Fixed +1 error in heap usage.

11 years agoHeap: Adjust callers
Martin Mares [Sun, 21 Oct 2012 15:11:58 +0000 (17:11 +0200)]
Heap: Adjust callers

11 years agoHeap: Interface cleanup
Martin Mares [Sun, 21 Oct 2012 15:10:20 +0000 (17:10 +0200)]
Heap: Interface cleanup

The previous interfaces was mixing macros, which really perform the
operation, with those where the caller performs the operation and the
macro fixes the heap. This has for example lead to non-systematic side
effects on the `num' variable.

The change is backwards incompatible, all old code should hopefully
fail to compile now.

11 years agoHashtable: Fixed some documentation errors
Martin Mares [Sun, 21 Oct 2012 14:42:03 +0000 (16:42 +0200)]
Hashtable: Fixed some documentation errors

However, many still remain -- the docs are full of stray links

11 years agoUCW::CGI: Use "//=" to simplify code
Martin Mares [Tue, 16 Oct 2012 13:20:10 +0000 (15:20 +0200)]
UCW::CGI: Use "//=" to simplify code

This patch and the previous one have been suggested by Tomas Malecek.

11 years agoUCW::CGI: Announce supported methods correctly
Martin Mares [Tue, 16 Oct 2012 13:19:27 +0000 (15:19 +0200)]
UCW::CGI: Announce supported methods correctly

11 years agoHashtable: Added an option for lookup to detect newly created items
Tomas Valla [Wed, 5 Sep 2012 14:52:11 +0000 (16:52 +0200)]
Hashtable: Added an option for lookup to detect newly created items

11 years agoLizard: Fixed a typo ("occured" -> "occurred')
Martin Mares [Fri, 12 Oct 2012 17:53:25 +0000 (19:53 +0200)]
Lizard: Fixed a typo ("occured" -> "occurred')

11 years agoslists: The behaviour of slist_remove_head now mimics clist_remove_head
Tomas Valla [Wed, 5 Sep 2012 09:15:15 +0000 (11:15 +0200)]
slists: The behaviour of slist_remove_head now mimics clist_remove_head

11 years agoFastbufs: Fixed btell() in writeable fbbuf.
Pavel Charvat [Mon, 30 Jul 2012 13:47:55 +0000 (15:47 +0200)]
Fastbufs: Fixed btell() in writeable fbbuf.