]> rtime.felk.cvut.cz Git - ulut.git/log
ulut.git
15 years agoThe uLUt root htimer can be redirected through ul_root_htimer_ops.
ppisa [Tue, 27 Jan 2009 20:34:04 +0000 (20:34 +0000)]
The uLUt root htimer can be redirected through ul_root_htimer_ops.

These changes are necessary to allow integration into another
root main loop and events processing framework in future.

The types ul_mstime_t/ul_msdiff_t and ul_htim_time_t/ul_htim_diff_t
are not intermixed in the code and they could be separated in the
future if there appears need to do so.

15 years agoFixed doc typo
wentasah [Wed, 7 Jan 2009 11:51:27 +0000 (11:51 +0000)]
Fixed doc typo

15 years agoUpdated cyclic buffer code.
ppisa [Fri, 19 Dec 2008 20:12:58 +0000 (20:12 +0000)]
Updated cyclic buffer code.

15 years agoUse pointer to constant key type in GSA and GAVL custom types.
ppisa [Fri, 19 Dec 2008 19:57:26 +0000 (19:57 +0000)]
Use pointer to constant key type in GSA and GAVL custom types.

The wish to allow use of constant references to key asked
by Michal Sojka for uLUt use in Frescor project.

15 years agoAddec const attribute to some generic GAVL iterator functions.
ppisa [Thu, 18 Dec 2008 07:33:51 +0000 (07:33 +0000)]
Addec const attribute to some generic GAVL iterator functions.

This is NOT conversion of custom seatch functions to the
const key pointer. This conversion needs more checking
and could cause problems when multiple consts attributes
are accumulated.

15 years agoUse va_copy if va_list is used twice, else bad things happen on X86_64 systems.
ppisa [Mon, 20 Oct 2008 08:41:51 +0000 (08:41 +0000)]
Use va_copy if va_list is used twice, else bad things happen on X86_64 systems.

The arguments pointer is eaten by its use in destination function
and it is unusable next time. The separate copy has to be used for each call.

15 years agoBack propagation of uLUt Makefile.omk changes from OCERA tree.
ppisa [Tue, 14 Oct 2008 23:33:04 +0000 (23:33 +0000)]
Back propagation of uLUt Makefile.omk changes from OCERA tree.

15 years agoUnification of uLUt Makefile.omk
ppisa [Tue, 14 Oct 2008 22:58:37 +0000 (22:58 +0000)]
Unification of uLUt Makefile.omk

15 years agoInitialization of the first_changed field of timer queue added to make Valgrind happy.
ppisa [Tue, 7 Oct 2008 08:16:36 +0000 (08:16 +0000)]
Initialization of the first_changed field of timer queue added to make Valgrind happy.

15 years agoThe UL_OFFSETOF return type changed to size_t
ppisa [Tue, 8 Jul 2008 21:09:27 +0000 (21:09 +0000)]
The UL_OFFSETOF return type changed to size_t
to silence enormous number of warnings on 64-bit systems.

The dependence on size_t could be problem in some specific
target configurations although.

16 years agoCorrected bug in gavl_find_after() found by Martin Molnar.
ppisa [Fri, 29 Feb 2008 11:04:50 +0000 (11:04 +0000)]
Corrected bug in gavl_find_after() found by Martin Molnar.

Added test option 'S' to check this function in "ul_gavlchk.c".

16 years agoMinor updates for C++ compatibility.
ppisa [Tue, 4 Dec 2007 20:02:09 +0000 (20:02 +0000)]
Minor updates for C++ compatibility.

16 years agoul_ethd - reimplementation working with sockets - now sending uses fdopen
smolik [Wed, 14 Nov 2007 13:30:58 +0000 (13:30 +0000)]
ul_ethd - reimplementation working with sockets - now sending uses fdopen
- under windows now is possible to run ul_ethd like windows service
ulut - disable compilation of utils_PROGRAMS under win32 - some error occures
libulan - implemeted new command - fd_wait_recv
- fdopen
a lot of bug fixes regarding ul_eth implementation

16 years agoCbuff included into legacy Makefile.std build.
ppisa [Sun, 12 Aug 2007 12:08:02 +0000 (12:08 +0000)]
Cbuff included into legacy Makefile.std build.

17 years agouLUt library updated from other projects.
ppisa [Tue, 13 Feb 2007 11:29:42 +0000 (11:29 +0000)]
uLUt library updated from other projects.

Added support for cyclic variables comparison
  ul_cyclic_gt
  ul_cyclic_ge
This is usable mainly to compare time counters and other
variables which are expected to overflow and support overflow
arithmetics.

17 years agoMinor uLUt enhancements for C89 conformance from other projects.
ppisa [Sat, 4 Nov 2006 09:15:19 +0000 (09:15 +0000)]
Minor uLUt enhancements for C89 conformance from other projects.

17 years agoConversion to new logging support finished.
ppisa [Sun, 30 Jul 2006 23:37:07 +0000 (23:37 +0000)]
Conversion to new logging support finished.
It is now possible to selectively enable and set verbosity
for different logging domains from commandline.
The option "-g" argument syntax is same for all tools.
Number without domain specifier or with symbol "all"
select log level for all domains. Domain name followed
by "." or "=" character selects level for specified domain.
More specifications can be concatenated by symbol ":" or ",".
Usage example:

   -g 1:domone.5:domtwo.6

Requires to select level 1 for all but two listed two specified
domains. Log levels for "domone" and "domtwo" domains are set
to 5 or 6 respectively.

17 years agoAdded parsing of log level argument.
ppisa [Fri, 28 Jul 2006 15:31:42 +0000 (15:31 +0000)]
Added parsing of log level argument.

17 years agoAdded custom delete_all function for GSA arrays.
ppisa [Fri, 28 Jul 2006 13:01:47 +0000 (13:01 +0000)]
Added custom delete_all function for GSA arrays.

17 years agoProvided generic code to maintain and register log domains.
ppisa [Fri, 28 Jul 2006 12:51:27 +0000 (12:51 +0000)]
Provided generic code to maintain and register log domains.

17 years agoCustom GSA array can be preinitialized by static intems list now.
ppisa [Fri, 28 Jul 2006 12:42:33 +0000 (12:42 +0000)]
Custom GSA array can be preinitialized by static intems list now.
The functions gsa_cust_insert_at() and gsa_cust_delete_at()
recognizes such case when alloc_count is zero and do array copy
instead of items array free or realloc.

17 years agoDBUFF loging updated to match other projects.
ppisa [Fri, 28 Jul 2006 07:51:11 +0000 (07:51 +0000)]
DBUFF loging updated to match other projects.

18 years agoAdded implementation of multi-tail circular buffer with O1 head space
ppisa [Sat, 29 Apr 2006 09:37:38 +0000 (09:37 +0000)]
Added implementation of multi-tail circular buffer with O1 head space
allocation.
This intended for situation, where more asynchronous sources
need to write data into queue. Because of uLUt is intended
to not enforce any policy to its users, the locking is not
part of the code and operations are divided to the shorter sequences.
Some of these has to be called with lock, spinlock or even IRQ
protection. Synchronization selection is fully in client hands.

18 years agoul_lib is possible compile with ul_log staff from ulut, new interface for indirect...
smolik [Fri, 7 Apr 2006 08:13:41 +0000 (08:13 +0000)]
ul_lib is possible compile with ul_log staff from ulut, new interface for indirect access

18 years agoadded support for logging, conditional compilation of ulcintf
smolik [Fri, 7 Apr 2006 07:21:39 +0000 (07:21 +0000)]
added support for logging, conditional compilation of ulcintf

18 years agoStructured comment added to unique IDs pool code and some memory leak correction.
ppisa [Tue, 24 Jan 2006 11:18:24 +0000 (11:18 +0000)]
Structured comment added to unique IDs pool code and some memory leak correction.

18 years agoElimination of some easily fix-able warnings for GCC-4.0.2.
ppisa [Sat, 29 Oct 2005 22:40:14 +0000 (22:40 +0000)]
Elimination of some easily fix-able warnings for GCC-4.0.2.
There is still bunch of more problematic things related
to the C99 strict aliasing rules.

18 years agoAdded support for static GSA arrays.
ppisa [Tue, 9 Aug 2005 15:20:45 +0000 (15:20 +0000)]
Added support for static GSA arrays.

18 years agoSynchronized with last changes in the CAN tree.
ppisa [Tue, 28 Jun 2005 20:42:37 +0000 (20:42 +0000)]
Synchronized with last changes in the CAN tree.

19 years agoSome small htimer mstime update
ppisa [Sun, 8 May 2005 22:01:10 +0000 (22:01 +0000)]
Some small htimer mstime update

19 years agoUL_ATTR_xxx updated and united with OCERA CAN sources
ppisa [Sun, 8 May 2005 21:53:56 +0000 (21:53 +0000)]
UL_ATTR_xxx updated and united with OCERA CAN sources

19 years agoAdded support for unique ID generator based on GAVL
ppisa [Sun, 8 May 2005 13:19:21 +0000 (13:19 +0000)]
Added support for unique ID generator based on GAVL

19 years agoFixed bug in the custom GSA iterators declaration
ppisa [Tue, 1 Mar 2005 09:36:52 +0000 (09:36 +0000)]
Fixed bug in the custom GSA iterators declaration

19 years agoChanges to achieve better compatibility with stranger compilers
ppisa [Fri, 14 Jan 2005 11:52:52 +0000 (11:52 +0000)]
Changes to achieve better compatibility with stranger compilers

19 years agoFixed bug in evaluation of return value in gavl_search_node() function.
ppisa [Thu, 9 Dec 2004 00:24:27 +0000 (00:24 +0000)]
Fixed bug in evaluation of return value in gavl_search_node() function.
Bug reported by Neal H. Walfield. It slipped into code
23 Oct 2003 and has been unnoticed until now, because all CAN
code switched to custom tree version before bug introduction.

19 years agoStructured comments updated
ppisa [Fri, 24 Sep 2004 23:38:42 +0000 (23:38 +0000)]
Structured comments updated

19 years agoAdded Makefile.std to support old style compilation
ppisa [Fri, 24 Sep 2004 22:13:17 +0000 (22:13 +0000)]
Added Makefile.std to support old style compilation

19 years agoAdded uLan Utilities (ulut) and uLan C interface (ulcintf) libraries
ppisa [Wed, 22 Sep 2004 22:13:08 +0000 (22:13 +0000)]
Added uLan Utilities (ulut) and uLan C interface (ulcintf) libraries

19 years agoInitial revision
ppisa [Fri, 10 Sep 2004 17:46:28 +0000 (17:46 +0000)]
Initial revision