]>
mj.ucw.cz Git - libucw.git/log
Martin Mares [Sun, 22 Jun 2014 14:29:03 +0000 (16:29 +0200)]
Docs: Polish table printer documentation
Martin Mares [Fri, 20 Jun 2014 14:56:35 +0000 (16:56 +0200)]
Docs: Improved table printer documentation
First of all, I have added AsciiDoc markup to the whole document
and removed redundant parts.
Second, I tried to re-arrange everything to bring related concepts
together.
Finally, I renamed CELL_ALIGN_MASK to something less confusing :)
This is a rough draft, which desperately needs proof-reading.
Martin Mares [Fri, 20 Jun 2014 13:14:17 +0000 (15:14 +0200)]
Doc: Release notes are ready
Robert Kessl [Fri, 20 Jun 2014 12:03:26 +0000 (14:03 +0200)]
tableprinter: update of documentation
Robert Kessl [Fri, 20 Jun 2014 11:55:18 +0000 (13:55 +0200)]
tableprinter: added blockline formatter
Robert Kessl [Tue, 17 Jun 2014 14:02:02 +0000 (16:02 +0200)]
Tableprinter: added table documentation
Robert Kessl [Tue, 17 Jun 2014 14:00:47 +0000 (16:00 +0200)]
Tableprinter: TODO notes moved from table.h to TODO file
Robert Kessl [Mon, 16 Jun 2014 06:36:09 +0000 (08:36 +0200)]
Merge remote-tracking branch 'origin/master'
Robert Kessl [Mon, 16 Jun 2014 06:35:49 +0000 (08:35 +0200)]
Tableprinter: corrected INT64 -> S64
Martin Mares [Sun, 15 Jun 2014 20:46:30 +0000 (22:46 +0200)]
ABI cleanup
Robert Kessl [Thu, 12 Jun 2014 13:25:40 +0000 (15:25 +0200)]
Merge remote-tracking branch 'origin/master'
Robert Kessl [Thu, 12 Jun 2014 13:24:12 +0000 (15:24 +0200)]
Tableprinter: added U64, INT64
Martin Mares [Thu, 5 Jun 2014 13:59:25 +0000 (15:59 +0200)]
Removed some remaining "uns" relics
Martin Mares [Thu, 5 Jun 2014 10:37:35 +0000 (12:37 +0200)]
Merge branch 'table'
Pavel Charvat [Thu, 5 Jun 2014 10:25:18 +0000 (12:25 +0200)]
Packages: Forces dpkg-shlibdeps to add dependency to at least the same version of libucw as the current one.
Robert Kessl [Wed, 4 Jun 2014 11:57:56 +0000 (13:57 +0200)]
Table: renamed table_col_order[_by_name] -> table_set_col_order[_by_name]
Robert Kessl [Wed, 4 Jun 2014 10:55:08 +0000 (12:55 +0200)]
Table: added left alignment flag
- added tests of alignment flag (table-test-align)
- modified cmd line switches in table-test
Pavel Charvat [Wed, 4 Jun 2014 00:14:54 +0000 (02:14 +0200)]
Merge branch 'master' into table
Conflicts:
ucw/mempool.c
Pavel Charvat [Wed, 4 Jun 2014 00:08:15 +0000 (02:08 +0200)]
Merge branch 'master' into dev-sizet
Conflicts:
ucw/bbuf.c
ucw/bbuf.h
ucw/doc/mempool.txt
ucw/fastbuf.h
ucw/fb-pool.c
ucw/gbuf.h
ucw/io-mmap.c
ucw/io.h
ucw/mempool-fmt.c
ucw/mempool-str.c
ucw/mempool.c
ucw/mempool.h
ucw/str-hex.c
ucw/string.c
ucw/string.h
ucw/unicode.c
ucw/unicode.h
Tomas Valla [Tue, 3 Jun 2014 22:12:56 +0000 (00:12 +0200)]
Merge branch 'dev-uint'
Pavel Charvat [Tue, 3 Jun 2014 12:20:41 +0000 (14:20 +0200)]
Mapping of whole files: Converted to size_t.
Pavel Charvat [Tue, 3 Jun 2014 12:13:51 +0000 (14:13 +0200)]
Careful I/O: Converted to size_t.
Pavel Charvat [Tue, 3 Jun 2014 11:41:35 +0000 (13:41 +0200)]
Build: Just removed redundant parentheses.
Robert Kessl [Tue, 3 Jun 2014 11:41:08 +0000 (13:41 +0200)]
Table: update of column macros and table_start
Pavel Charvat [Tue, 3 Jun 2014 11:36:56 +0000 (13:36 +0200)]
Build: SO_LINK_PATH must be always defined.
Pavel Charvat [Tue, 3 Jun 2014 10:55:16 +0000 (12:55 +0200)]
Build: Do not split -rpath in two -Wl options. Pkg-config could incorrectly merge multiple rpaths.
Robert Kessl [Tue, 3 Jun 2014 08:22:20 +0000 (10:22 +0200)]
Table: update of column initialization macros
Pavel Charvat [Mon, 2 Jun 2014 22:20:58 +0000 (00:20 +0200)]
Build: Improved paths in local builds.
* CONFIG_LOCAL by default uses absolute paths,
so you can execute run/bin/* from anywhere or
directly use resulting *.pc by external commands.
* Define CONFIG_RELATIVE_PATHS for old relative paths.
* Removed SONAME_PREFIX, replaced with -rpath.
Pavel Charvat [Mon, 2 Jun 2014 17:44:25 +0000 (19:44 +0200)]
UTF-8 strings: Converted to size_t.
Pavel Charvat [Mon, 2 Jun 2014 17:40:08 +0000 (19:40 +0200)]
Strings: Converted to size_t.
Pavel Charvat [Mon, 2 Jun 2014 17:33:10 +0000 (19:33 +0200)]
Growing buffer: Converted to size_t.
Pavel Charvat [Mon, 2 Jun 2014 17:18:04 +0000 (19:18 +0200)]
fbpool: Converted to size_t.
Tomas Valla [Mon, 2 Jun 2014 16:02:31 +0000 (18:02 +0200)]
Returned back 'uns' and related functions for backwards compatibility.
Tomas Valla [Mon, 2 Jun 2014 13:05:36 +0000 (15:05 +0200)]
Renamed uns -> uint
Currently, the type 'uns' is disabled, together with some other *_UNS
functions. This will be aliased in the future.
Pavel Charvat [Mon, 2 Jun 2014 12:32:19 +0000 (14:32 +0200)]
Mempool: Converted to size_t.
Martin Mares [Fri, 30 May 2014 14:26:31 +0000 (16:26 +0200)]
Table: Clean up column list parsing
First of all, an empty list of columns is a little bit obscure,
but still correct and it should work properly.
table_col_order_by_name() now returns a sensible error message
for non-existent columns.
table_get_col_list() now uses ", " as a separator, which is more
readable. It is documented where the string is allocated from. Also,
it uses the growing string in mempool properly, even in cases when
it is reallocated.
table_start() does not leak memory.
Martin Mares [Fri, 30 May 2014 14:04:06 +0000 (16:04 +0200)]
Table: Fixed bugs in header printing configuration
Previously, the user-defined setting of table->print_header
was overwritten at various locations, making multiple uses of
table_start()/table_end() on a single table close to unusable.
Now, table->print_header is not modified by the table printer
itself, except for table_init().
Martin Mares [Fri, 30 May 2014 14:00:30 +0000 (16:00 +0200)]
Table: Renaming callbacks to a formatter
I wish to demonstrate a clear split between the front-end
and formatter back-end.
Martin Mares [Fri, 30 May 2014 12:59:09 +0000 (14:59 +0200)]
Table: Shuffle functions to form thematic blocks
Pavel Charvat [Fri, 30 May 2014 12:26:46 +0000 (14:26 +0200)]
Mempool: Fixed bug in mp_stats().
Martin Mares [Fri, 30 May 2014 12:17:24 +0000 (14:17 +0200)]
Table: Cosmetic cleanups and FIXMEs
Martin Mares [Fri, 30 May 2014 11:54:41 +0000 (13:54 +0200)]
Table: Guard macros now follow LibUCW conventions
Martin Mares [Fri, 30 May 2014 11:53:22 +0000 (13:53 +0200)]
Imported tableprinter module
Original version was developed in GigaMail repository by Robert
Kessl, but we agreed that it should be moved to LibUCW and maintained
there.
Further cleanup can be expected.
Martin Mares [Fri, 30 May 2014 11:52:32 +0000 (13:52 +0200)]
Mempool: Disable harmless failing ASSERT for a moment
Pavel Charvat [Thu, 29 May 2014 09:18:55 +0000 (11:18 +0200)]
Packages: We no longer need to install the obsolete ucw-daemon-helper.
Pavel Charvat [Thu, 29 May 2014 09:05:47 +0000 (11:05 +0200)]
Utils: ucw-{config,logger,logoutput} moved from /usr/sbin to /usr/bin.
Pavel Charvat [Wed, 28 May 2014 11:08:22 +0000 (13:08 +0200)]
Mempool: Do not count the struct mempool to its stats.used_size.
Pavel Charvat [Tue, 27 May 2014 10:51:12 +0000 (12:51 +0200)]
Build: With shared LibUCW we no longer need picstatic version of libraries.
Martin Mares [Mon, 26 May 2014 11:08:13 +0000 (13:08 +0200)]
UCW::CGI: When a file is uploaded, its original name can be obtained
Pavel Charvat [Thu, 22 May 2014 09:44:04 +0000 (11:44 +0200)]
Build: Added lib*.so -> lib*.so.0 symlinks to run/lib.
Pavel Charvat [Thu, 22 May 2014 07:18:45 +0000 (09:18 +0200)]
Build: Added link path to libraries installed to non-standard path.
Pavel Charvat [Wed, 21 May 2014 12:57:54 +0000 (14:57 +0200)]
Fastbufs: Fixed uninitialized variables in fbmulti's structure.
Pavel Charvat [Tue, 20 May 2014 13:26:06 +0000 (15:26 +0200)]
Mempool: Fixed broken unit test.
Pavel Charvat [Tue, 20 May 2014 11:36:32 +0000 (13:36 +0200)]
Mempool: Implemented mp_shrink().
Pavel Charvat [Tue, 20 May 2014 09:10:29 +0000 (11:10 +0200)]
Mempool: stats->chain_size[] should be u64, not uns.
Pavel Charvat [Tue, 20 May 2014 09:08:15 +0000 (11:08 +0200)]
Mempool: Implemented statistics about allocated bytes from memory pool to application.
Martin Mares [Sat, 17 May 2014 21:36:04 +0000 (23:36 +0200)]
Sorter: Fixed a documentation comment
Martin Mares [Thu, 15 May 2014 12:18:52 +0000 (14:18 +0200)]
Merge branch 'master' of ssh://git.ucw.cz/projects/libucw/GIT/libucw
Martin Mares [Thu, 15 May 2014 07:20:57 +0000 (09:20 +0200)]
Mempool: Implemented various functions for appending to a growing buffer
Martin Mares [Thu, 15 May 2014 07:20:44 +0000 (09:20 +0200)]
ABI cleanup
Pavel Charvat [Thu, 15 May 2014 07:12:53 +0000 (09:12 +0200)]
Null fastbuf: Don't forget to set a fastbuf's name.
Pavel Charvat [Tue, 13 May 2014 10:58:53 +0000 (12:58 +0200)]
Build: Fixed a bug in our unit tester.
Pavel Charvat [Tue, 13 May 2014 10:54:10 +0000 (12:54 +0200)]
Null fastbuf: Clean ABI.
Martin Mares [Tue, 13 May 2014 10:14:49 +0000 (12:14 +0200)]
Mempools: mp_total_size() is O(1)
Pavel Charvat [Tue, 13 May 2014 07:45:33 +0000 (09:45 +0200)]
Merge branch 'master' of ssh://git.ucw.cz/projects/libucw/GIT/libucw
Pavel Charvat [Tue, 13 May 2014 07:44:38 +0000 (09:44 +0200)]
Null fastbuf: Implemented a new "/dev/null"-like fastbuf.
Martin Mares [Sat, 10 May 2014 21:50:46 +0000 (23:50 +0200)]
XML: "PUSH" in comments should be "PULL"
Pavel Charvat [Wed, 7 May 2014 08:28:18 +0000 (10:28 +0200)]
Packages: Implemented `debian/mk --extra-conf=...'.
Pavel Charvat [Wed, 7 May 2014 07:57:11 +0000 (09:57 +0200)]
Images: Fixed dependencies in `make tests'.
Pavel Charvat [Wed, 7 May 2014 07:50:21 +0000 (09:50 +0200)]
Images: Fixed compilation problems with enabled GraphicsMagick.
Pavel Charvat [Wed, 7 May 2014 07:36:38 +0000 (09:36 +0200)]
Images: Fixed linkage of libpthread.
Pavel Charvat [Wed, 7 May 2014 07:29:58 +0000 (09:29 +0200)]
Build: Fixed few compilation warnings/errors.
Pavel Charvat [Wed, 7 May 2014 07:19:43 +0000 (09:19 +0200)]
Memory pools: Add a reference from each chunk to its memory pool (in debug mode).
Pavel Charvat [Wed, 7 May 2014 07:05:12 +0000 (09:05 +0200)]
Build: Silenced several compilation warnings on some versions of gcc.
Tomas Valla [Mon, 28 Apr 2014 09:13:48 +0000 (11:13 +0200)]
asserts: Added ASSERT_MSG to print a debug msg together with assertion fail.
Martin Mares [Fri, 18 Apr 2014 10:44:53 +0000 (12:44 +0200)]
UCW::CGI: Let url_param_escape() encode non-ASCII characters
RFC 3986 (generic URI syntax) explicitly says this must be done
and some URI parsers choke on them.
Anyway, I am keeping bare url_escape() as is for the time being,
because it's used for production of user-friendly URLs, too. Needs
cleanup later.
Pavel Charvat [Fri, 4 Apr 2014 09:52:00 +0000 (11:52 +0200)]
Build: LibUCW should depend on -lm.
Martin Mares [Mon, 10 Mar 2014 22:00:32 +0000 (23:00 +0100)]
Daemon: Make user/group switching available separately
Martin Mares [Mon, 24 Feb 2014 11:55:04 +0000 (12:55 +0100)]
Opt: Fixed confused macros
Martin Mares [Mon, 17 Feb 2014 17:49:48 +0000 (18:49 +0100)]
Opt: "--help" can stand both before and after config options
The OPT_BEFORE_CONFIG flag was incorrectly interpreted as "this is
a config option", so "--help" after all options did not work as
expected.
Now, OPT_BEFORE_CONFIG means "the option can stand anywhere and the
config check logic should not touch it".
Martin Mares [Mon, 17 Feb 2014 17:41:33 +0000 (18:41 +0100)]
Opt: Improved parsing of negative boolean options
Boolean options with the OPT_NEGATIVE flag, which are named "no-X",
are also recognized as bare "X" with positive meaning.
Include tests for processing of both positive and negative bools.
Martin Mares [Mon, 17 Feb 2014 17:12:58 +0000 (18:12 +0100)]
Opt: OPT_NO_HELP is gone
Pavel Charvat [Mon, 17 Feb 2014 12:14:14 +0000 (13:14 +0100)]
Opt: Fixed a typo in OPT_UINT.
Pavel Charvat [Mon, 17 Feb 2014 12:07:03 +0000 (13:07 +0100)]
Opt: Implemented OPT_UINT.
Pavel Charvat [Mon, 17 Feb 2014 12:05:42 +0000 (13:05 +0100)]
Types: Defined `uint' as a replacement for `uns'.
Pavel Charvat [Wed, 12 Feb 2014 15:07:06 +0000 (16:07 +0100)]
Fastbufs: Fixed an off-by-one error in bprintf().
Pavel Charvat [Fri, 7 Feb 2014 11:27:50 +0000 (12:27 +0100)]
Packages: Small fix in `debian/mk --gen-script'.
Pavel Charvat [Fri, 7 Feb 2014 11:25:27 +0000 (12:25 +0100)]
Packages: Implemented `debian/mk --no-source'.
Pavel Charvat [Fri, 7 Feb 2014 08:54:31 +0000 (09:54 +0100)]
LibUCW: debian/mk can postprocess debian/control with a custom script.
Pavel Charvat [Thu, 6 Feb 2014 11:17:34 +0000 (12:17 +0100)]
Opt: Fixed a bug in positional arguments.
Martin Mares [Thu, 6 Feb 2014 09:52:26 +0000 (10:52 +0100)]
Opt: Avoid fixed constants, use OPT_POSITIONAL_TAIL
Pavel Charvat [Tue, 4 Feb 2014 12:32:49 +0000 (13:32 +0100)]
Packages: Removed the "-dev" suffix from UCW_ABI_SUFFIX.
Pavel Charvat [Tue, 4 Feb 2014 12:31:34 +0000 (13:31 +0100)]
Merge branch 'master' of ssh://jabberwock.ucw.cz/projects/libucw/GIT/libucw
Martin Mares [Tue, 4 Feb 2014 12:55:23 +0000 (13:55 +0100)]
Logging: Stream filters are permitted to modify log messages
Pavel Charvat [Tue, 4 Feb 2014 12:29:25 +0000 (13:29 +0100)]
Packages: The version number appended to names of libraries is detected from ucw/default.cfg instead of the tag.
Jan 'Moskyt' Matejka [Thu, 30 Jan 2014 23:50:54 +0000 (00:50 +0100)]
Doc: Moskyto has a homepage
Tomas Valla [Thu, 30 Jan 2014 22:28:54 +0000 (23:28 +0100)]
webpage: Updated for v6.0, author list and feature list.
Martin Mares [Tue, 28 Jan 2014 23:52:40 +0000 (00:52 +0100)]
Debian: Let git describe use unsigned tags, too
Martin Mares [Tue, 28 Jan 2014 23:52:12 +0000 (00:52 +0100)]
API: Include tbf.h and trie.h
Martin Mares [Tue, 28 Jan 2014 23:40:15 +0000 (00:40 +0100)]
Doc: Fixed function references