Commit graph

626 commits

Author SHA1 Message Date
Christian Thaeter
eb60e71136 few more tests for the config subsystem 2008-08-10 12:26:19 +02:00
Christian Thaeter
bb9f81c08d fixed code to do whats specified, but needs refactoring
even in case of an configuration error the returned value is primed
with the default. The error condition needs still be cleared!

Broken defaults would be unnoticed in case of a double error!
2008-08-10 12:26:19 +02:00
Christian Thaeter
962bceec72 high level getter for 'number' type
WIP: doesn't register the default yet, no configfiles yet

just returning env overrides or defaults
2008-08-10 12:26:19 +02:00
Christian Thaeter
418231219a cosmetics 2008-08-10 12:26:18 +02:00
Christian Thaeter
9a329e0340 basic config value retrieval, just env override, no configfiles yet 2008-08-10 12:26:18 +02:00
Christian Thaeter
116c0e8125 more nobug flags for config, add a rwlock for the config, init/destroy 2008-08-10 12:26:18 +02:00
Christian Thaeter
1ff0583e4c add 'config_typed.c' for the typed high level config interface 2008-08-10 12:26:18 +02:00
Christian Thaeter
b691a9d7bb Simple config init/destroy, beginning of a config-testsuite 2008-08-10 12:26:18 +02:00
Christian Thaeter
c8210708fa skeleton for the config struct 2008-08-10 12:26:18 +02:00
Christian Thaeter
9444fb0267 use 'int' as return values rather than lumiera_err 2008-08-10 12:26:18 +02:00
Christian Thaeter
85e789742f first skeleton for the config loader 2008-08-10 12:26:15 +02:00
Christian Thaeter
0bd886249b throw away the 'references' implementation, we probably don't need it
(could be reincarnated someday later when we find out that we need it)
2008-08-10 12:19:50 +02:00
Christian Thaeter
dde54ec7b0 Adapt the condition implementation to the macro SECTION based approach 2008-08-10 12:19:50 +02:00
Christian Thaeter
d8f59fb722 Simplyfiy resource management
Move the resource announce/forget into the rwlock init/destroy
Move resource announcement/forget into the mutex init/destroy
2008-08-10 12:19:09 +02:00
Christian Thaeter
c11915a4c4 new locking section macros for RWLocks, old acquirer bites the dust 2008-08-10 12:19:09 +02:00
Christian Thaeter
d0b6919eea locking.h bites the dust 2008-08-10 12:19:09 +02:00
Christian Thaeter
b2b205f6db remove unnecessary volatile (forgotten for a test) 2008-08-10 12:19:09 +02:00
Christian Thaeter
777458741a moved the locking tests from test/locking/ to test/library/ 2008-08-10 12:19:09 +02:00
Christian Thaeter
07f06d0d88 big mutex update, dropped old acquirer
Acquiring mutexes is now wraped in a easy to use MUTEX_SECTION macro.
This scheme will be extended for chained lock propagation soon.

Notes:
 * NoBug resourcemanagement is now part of the lower layer,
   RESOURCE_ENTER/RESOUCE_LEAVE are maintained automatically
 * one must still call RESOURCE_ANNOUNCE/RESOURCE_FORGET, because we want
   to maintain high level information about resources.
 * MUTEX_SECTIONS must not be left with any kind of jump
2008-08-10 12:19:09 +02:00
Christian Thaeter
47b5a2667c add LOCKED_SECTION macros to rwlock, fix bug in rwlockacquirer 2008-08-10 12:19:08 +02:00
Christian Thaeter
12feb6e7b8 add 'lumiera_free' as replacement for 'free'
lumiera_free() is for now just a static inline wraper around free()
Later this makes it easier to hook in some resource managing functions
or a Garbage Collector in.

Replaced all current uses of free()
2008-08-10 12:19:08 +02:00
Christian Thaeter
f5df65b0a1 add a translation function to tmpbuf
tmpbuf_tr takes an input string and 2 sets of characters plus a
default character. It produces a output string with all
characters from the first set translated to the correspondending
character in the 2nd set, similar to the shell 'tr' util.
2008-08-10 12:19:08 +02:00
Christian Thaeter
93e126f5ab add a 'lumiera_err' typedef 2008-08-10 12:19:08 +02:00
Christian Thaeter
9826fd180d renamed the uuid to luid
uuid's are somewhat standardized, we use our uid's slightly differently,
so change the name not to be confused with standards.
 * Small fix for luid generation
 * build a 'luidgen' tool which will be used by the interface gen later
 * add emacs vars
 * include the luidgen tool in automake
2008-08-10 12:18:20 +02:00
Mano Stienen
163ba179ed moved documentation from error.c to .h 2008-07-20 16:11:08 +02:00
Mano Stienen
14b9847a69 moved documentation from plugin.c to .h
and
cleaned documentation from safelib.c that already existed in .h
2008-07-19 14:47:03 +02:00
Mano Stienen
a605f15ecd Merge branch 'gui' of git://git.lumiera.org/LUMIERA into doxygen_fixes 2008-07-18 22:16:57 +02:00
Joel Holdsworth
8689d0dced Refactored widget mouse movement handling, removed some Glib::RefPtrs, and tidied a few things 2008-07-17 19:07:38 +01:00
Mano Stienen
4184dcf253 Merge branch 'gui' of git://git.lumiera.org/LUMIERA into doxygen_fixes 2008-07-17 00:38:20 +02:00
Joel Holdsworth
063a22fcd5 Added zoom toolbar buttons and middle click view shifting to the
timeline
2008-07-16 22:33:42 +01:00
Joel Holdsworth
c20fb922bb Fixed order of creation so icons show on the panels 2008-07-15 20:52:24 +01:00
Joel Holdsworth
a9a592fe45 WIP: Added a dummy toolbar 2008-07-15 19:00:24 +01:00
Joel Holdsworth
b2df771149 Converted mouse chevron to use pixels not time values 2008-07-15 18:36:43 +01:00
Joel Holdsworth
6e0abf0e44 Added code to keep the mouse chevron in synch as the timeline view window changes 2008-07-15 18:25:21 +01:00
Mano Stienen
1cabeff7bf Merge branch 'HEAD' of git://git.lumiera.org/LUMIERA into doxygen_fixes 2008-07-14 22:42:59 +02:00
Joel Holdsworth
ec6c20149c Fixed broken timeline scrollwheel, added a const 2008-07-14 20:16:11 +01:00
Mano Stienen
6838dbe12a documentation from condition.c and reference.c moved to .h 2008-07-11 08:15:08 +02:00
Mano Stienen
1d8bc98429 moved documentation from mutex.c to .h 2008-07-11 06:32:56 +02:00
Mano Stienen
7f1987666f moved documentation from rwlock.c to .h 2008-07-11 05:02:47 +02:00
a46bfd2bf6 integrate the GTK-Gui (draft) in the SCons build 2008-07-11 03:51:37 +02:00
ce90f1763b add some convenience shortcuts to the SCons build system 2008-07-10 19:02:47 +02:00
012944a461 fix compilation problem with Boost 1.35 2008-07-09 05:25:55 +02:00
7c56c71d00 Documentation Update, including info about ongoing builder work 2008-07-07 23:56:34 +02:00
39d321a4a5 WIP this approach is more likely to work actually... 2008-07-07 05:40:53 +02:00
98a542f920 WIP drafting how to build all possible operation configs 2008-07-05 18:50:54 +02:00
9389ce2d68 WIP possible solution how the operation chunks could be assembled 2008-07-01 04:53:23 +02:00
5f39f843c3 WIP considering how to compose the actual StateProxy 2008-06-29 18:45:35 +02:00
1d37bf88d8 WIP preliminary draft of node operation
(cant work, now needs to be decomposed)
2008-06-29 15:32:19 +02:00
Joel Holdsworth
8d63d7adb4 Added a mouse chevron to the ruler 2008-06-25 20:23:53 +01:00
da49742826 WIP sorting out some details of the node network impl 2008-06-24 05:19:11 +02:00