Commit graph

721 commits

Author SHA1 Message Date
Christian Thaeter
38f2a9c6c9 add a lumiera_realloc() function to the safeclib 2008-10-15 15:51:48 +02:00
Christian Thaeter
0346e113e5 use a recursive mutex to lock interface operations
locking interfaceregistry operations and later on open/close etc
2008-10-15 15:51:29 +02:00
Christian Thaeter
ed246ab222 Adding recursive mutexes, fix chained mutex to take only one parameter
Recursive mutex can be locked multiple times by a single thread they
are initialitzed by lumiera_recmutex_init() and used by LUMIERA_RECMUTEX_*
macros.

Chained mutex use the mutexacquirer from the outer scope now. Maybe its
later needed to pass acquirers explicit, we will see.
2008-10-15 15:49:35 +02:00
Christian Thaeter
9cdfd02e9b makefile update for library 2008-10-15 15:49:35 +02:00
Christian Thaeter
2a723bc5ba add 'STRINGIFY' to ppmpl.h 2008-10-15 15:49:35 +02:00
Christian Thaeter
a7f75b3f6f preprocessor concat implementation which evaluates its arguments 2008-10-15 15:49:35 +02:00
Christian Thaeter
bfdcbfcb7f add a static initializer to psplay.h 2008-10-15 15:49:35 +02:00
Nicholas Sinnott-Armstrong
7d86367909 Added preliminary support for chained mutex calls. 2008-10-15 15:49:35 +02:00
Christian Thaeter
16d2fcf2e9 macro for initializing a uchar[16] from a string literal in C++ 2008-10-15 15:49:34 +02:00
Christian Thaeter
4d65f0394d Add FOREACH variants for nesting to ppmpl
Three levels of nesting are enough for anyone!
2008-10-15 15:49:34 +02:00
Christian Thaeter
973348fdb8 preprocessor metaprogramming ftw
Added a header for generalized preprocessor idioms.
This will grow over time, as needed things will be added.
2008-10-15 15:49:34 +02:00
Christian Thaeter
14a9e95492 moved plugin code from lib to backend
Plugin management will become stateful. This qualifies it to become a
backend subsystem.
2008-10-15 15:49:34 +02:00
8834e4e306 merge current gui work
Merge branch 'master' into proc
2008-10-11 03:04:48 +02:00
Joel Holdsworth
5e60921e14 Corrected some problems in the stylesheet 2008-10-10 11:18:38 +01:00
Joel Holdsworth
13b2b4f7a2 Merge branch 'master' of git://git.lumiera.org/LUMIERA into gui 2008-10-10 10:59:13 +01:00
Joel Holdsworth
6195a7f655 Added wildcard support, and some documentation to the icon loading code 2008-10-10 10:56:07 +01:00
Joel Holdsworth
65568980ec Corrected incorrect IconSize code, and made Tool icons borders darker 2008-10-07 23:02:27 +01:00
Joel Holdsworth
094ce0654d Added playback support in the timeline 2008-10-07 21:17:29 +01:00
1bce7d4c38 define the next steps by test 2008-10-06 07:26:43 +02:00
1724e019ea related it to the ConManager and the wiring requests 2008-10-06 06:17:40 +02:00
873910f0b8 WIP considerations about querying 2008-09-28 04:05:10 +02:00
feb64fac01 outline: use of the raw type info for fetching a ImplFacade 2008-09-26 04:57:20 +02:00
f80d0a49bd provide for the GAVL impl facade to be registered as basic media type.
WIP actual implementation missing...
2008-09-24 06:36:35 +02:00
83b574bdea stream type registry lifecycle 2008-09-24 05:46:26 +02:00
14023d3024 interface brainstorming 2008-09-23 05:09:56 +02:00
578178a937 brainstorming (continued). MediaImplLib
considering how to snap in the actual implementation
2008-09-22 06:42:10 +02:00
2885b41895 fix a link problem 2008-09-22 04:03:37 +02:00
a6a19ef609 WIP start drafting how to bootstrap a stream type... 2008-09-17 03:46:38 +02:00
8754555492 further mulling over the problems related to stream type handling 2008-09-15 05:40:13 +02:00
7ed7f05ffb further analyzing the problem (stream type handling) 2008-09-13 06:00:22 +02:00
d4e3405f09 some namespace rearrangements 2008-09-13 03:59:36 +02:00
f9452f654c start media stream type classification framework 2008-09-13 01:57:59 +02:00
4d72bc23b0 merge in Config-System (first version)
Merge commit 'ichthyo/proc'
2008-09-13 01:27:18 +02:00
Joel Holdsworth
e815bd4fd2 Moved buttons to the timeline 2008-09-12 20:55:54 +01:00
Christian Thaeter
7c992c000d config setters for number and word, thats it for now 2008-09-10 15:19:50 +02:00
Christian Thaeter
4b2973de27 some cosmetics, removed the CONFIG_DEFAULT error which is not used anymore 2008-09-10 15:19:50 +02:00
Christian Thaeter
e8cc26efa4 First highlevel setter, small api change
* setters return LumieraConfigitem (or NULL) instead int
 * the config_string_set works now
2008-09-10 15:19:50 +02:00
Christian Thaeter
928847a193 little more verbose logging, dump some values at TRACE points 2008-09-10 15:19:50 +02:00
Christian Thaeter
056bb87f30 config api change, return pointers as truth value
NULL indicates some failure,
anything else success (with some usable value)
2008-09-10 15:19:50 +02:00
Christian Thaeter
d26a92b67f add configitem_set_value to modify the delim/value of a existing item 2008-09-10 15:19:50 +02:00
a4f4496481 placed DefsRegistry into an impl namespace 2008-09-10 04:42:09 +02:00
d651ce4762 clean up the mess with the inclusion of defsregistry.hpp,
caused by the definition of DefsRegistry not being visible for DefsManager's dtor.
2008-09-09 06:16:42 +02:00
126e552f1b oops... forgot to add the luidgen tool 2008-09-08 05:22:31 +02:00
998da8a221 migrated TODOs from the TiddlyWiki to the lumiera-work Mailinglist 2008-09-08 01:02:14 +02:00
Michael Ploujnikov
f5387d8bf3 Merge branch 'master' of git://git.lumiera.org/LUMIERA
Conflicts:

	tests/Makefile.am
2008-09-06 20:15:05 -04:00
Christian Thaeter
c4e6cd3c51 Merge branch 'configloader_devel' of git://git.lumiera.org/lumiera/simeon into backend_devel
* 'configloader_devel' of git://git.lumiera.org/lumiera/simeon: (24 commits)
  Added directive-parser and tests for a content-check of a parsed configitem
  Fixed configitem_move, first parsing tests pass now
  FIX: Remove llist_move again and put a note to list_relocate, add test
  WIP: add config_lookup skeleton
  filedescriptor fixup for new copy func in cuckoo
  add a custom copy function to the cuckoo hash
  fixes after the cuckoo update in filedescriptor.c
  Cuckoo hash update
  Added two very simple tests for configitem
  Typo fix
  Fix for section-parser
  added section part to parser
  parser improvements, compiles now
  added CONFIG_SYNTAX errors
  typo fix and redundant comment removal
  add configitem and configentry to the build system
  give the charsets for config keys some constants
  fix to make parser mockup compileable, little simplified
  WIP: started low-level parser
  more functional mockup of the configitem bootstrap
  ...

Conflicts:

	src/backend/config.c
	src/backend/config.h
	src/backend/config_lookup.c
	src/backend/config_lookup.h
	src/backend/configitem.c
	src/backend/configitem.h
	src/backend/filedescriptor.c
	src/lib/cuckoo.c
	src/lib/cuckoo.h
	tests/22config_highlevel.tests
	tests/backend/test-config.c
2008-09-06 13:18:29 +02:00
Christian Thaeter
477ecd3974 Remove the 'path' member from the config and bootstrap the config system
* the path parameter given to config_init becomes a registered default
   value for 'config.path' itself thus the config system finds its data
   path on itself.
 * the printf formatting string for representing values are also
   bootstrapped as default entries in the config system. This is just a
   prelimary example and will be refined later
2008-09-06 12:41:23 +02:00
Christian Thaeter
b94e615291 just psplay_remove leaked, do psplay_delete_node 2008-09-06 12:41:23 +02:00
Christian Thaeter
a95ae05ddb some cosmetics 2008-09-06 12:41:22 +02:00
Christian Thaeter
fa54fb9bc2 add a diagnostic config dump function 2008-09-06 12:41:22 +02:00
Christian Thaeter
21db988e18 remove the default return in case an illegal config entry was found
Fallback to a default in case of a already pending error is not needed.
This would only obtruse error handling. If the default entry would be
erroneous it would be silently ignored and make the thing worse.
2008-09-06 12:41:22 +02:00
Christian Thaeter
b6e3650f62 use psplay trees instead cuckoo hashes in config_lookup 2008-09-06 12:41:22 +02:00
Christian Thaeter
a1bd3ee1f5 use psplay trees for the filedescriptor registry 2008-09-06 12:41:03 +02:00
Christian Thaeter
c3e2941eb8 some machinery for registering and retrieving defaults
* let config_setdefault() take a complete configline instead key:value pair
2008-09-06 12:40:32 +02:00
Christian Thaeter
a0105eec42 Documentation and error handling for config_lookup 2008-09-06 12:40:32 +02:00
Christian Thaeter
1dca87271f ConfigLookup working (for now)
added the missing unimplemented function, fixed some prototypes,
some cosmetics. Barely tested, no documentation yet.
2008-09-06 12:40:20 +02:00
Christian Thaeter
a55c122cc3 Fixed configitem_move, first parsing tests pass now 2008-09-06 12:40:19 +02:00
Christian Thaeter
d9f2b6d6fa WIP: add config_lookup skeleton 2008-09-06 12:40:19 +02:00
Simeon Voelkel
a52b08bfc5 added section part to parser 2008-09-06 12:40:10 +02:00
Simeon Voelkel
36375ce0f6 parser improvements, compiles now 2008-09-06 12:38:57 +02:00
Simeon Voelkel
1a66b58fcb added CONFIG_SYNTAX errors 2008-09-06 12:38:57 +02:00
Christian Thaeter
a51f61683f add configitem and configentry to the build system 2008-09-06 12:38:48 +02:00
Christian Thaeter
1f8906a2d8 More mockup of the configitem bootstrap
* started low-level parser
 * give the charsets for config keys some constants
2008-09-06 12:38:03 +02:00
Christian Thaeter
0d0b9fa34e Merge branch 'library' into backend
* library: (78 commits)
  Doxyfile update
  small note annd cosmetics for safeclib
  test.h cosmetic, add a 'tests' nobug flag, give diagnostics
  add psplay_delete_node and psplay_delete_key functions
  Probabilistic Splay Tree implementation
  Probabilistic Splay Tree implementation
  WIP: Cuckoo hash update, leave it at a insane state
  Add lumiera_tmpbuf_strcat3 for concating up to three strings to safeclib
  FIX: put a note to list_relocate, add test
  Move the resource announce/forget into the rwlock init/destroy
  fix some warnings
  fix name of 'doc' target, remove the OPENGL flag for now
  improved the architecture overview (drawing)
  Fixed hyperactive scroll wheel zoom
  Fixed a bug with body redrawing and added some documentation
  Added some documentation to body and ruler
  Added support for audacity style playback period, and added some
  Added time indication
  improved the scons build to report all missing dependencies instead of stopping at the first one
  add my favorite lumiera logo to the TiddlyWiki page
  ...
2008-09-06 12:27:56 +02:00
Christian Thaeter
79fee29519 small note annd cosmetics for safeclib 2008-09-06 12:24:36 +02:00
Christian Thaeter
dc34ea994c add psplay_delete_node and psplay_delete_key functions
Both delete a entry from a splay tree by calling the registered delete
handler.
2008-09-06 12:24:06 +02:00
Christian Thaeter
86deb4e72d Probabilistic Splay Tree implementation
Generalized an older implementation I already had, the splay formulas need
some improvements. Documentation comes next.
2008-09-06 12:23:58 +02:00
Christian Thaeter
bc055ab803 Probabilistic Splay Tree implementation
Generalized an older implementation I already had, the splay formulas need
some improvements. Documentation comes next.
2008-09-06 12:22:43 +02:00
Christian Thaeter
9471e47cdf WIP: Cuckoo hash update, leave it at a insane state
* add a destructor function for elements
 * rename cuckoo_free to cuckoo_delete to be consistent with the rest
 * add a custom copy function to the cuckoo hash
 * Cuckoo hash update, use a vtable to pass functions to the constructor
 * make the source of a move non-const, just in case something needs
   to be cleaned up there.
 * let cuckoo_insert return the hash table entry directly
2008-09-06 12:08:23 +02:00
Christian Thaeter
cfcb9ce34c Add lumiera_tmpbuf_strcat3 for concating up to three strings to safeclib 2008-09-06 12:08:22 +02:00
Christian Thaeter
e2b7561c76 FIX: put a note to list_relocate, add test
There was a fatal thinko, llist_relocate NUST NOT be called on a empty
list, the pointers will just point to invaildated memory. This cant be
handled by the llist code. The programmer is responsible to take proper
actions.
2008-09-06 12:07:38 +02:00
Christian Thaeter
0debd27d89 Merge branch 'master' of git://git.lumiera.org/LUMIERA into library
* 'master' of git://git.lumiera.org/LUMIERA: (80 commits)
  fix some warnings
  fix name of 'doc' target, remove the OPENGL flag for now
  improved the architecture overview (drawing)
  Fixed hyperactive scroll wheel zoom
  Fixed a bug with body redrawing and added some documentation
  Added some documentation to body and ruler
  Added support for audacity style playback period, and added some
  Added time indication
  improved the scons build to report all missing dependencies instead of stopping at the first one
  add my favorite lumiera logo to the TiddlyWiki page
  scons: use Doxygen builder
  makefile typo fix
  disable precompiled headers for now.
  replace the homebrew GCH-builder by a lib solution
  yet more make fixes
  make build work again with SCons 0.96
  preliminary fix for the SCons build for Debian/testing
  automatically set DEBUG when using the (current) NoBug default ALPHA
  Fix build with gcc 4.3
  integrated SVG Icon rendering into the SCons build
  ...
2008-09-06 11:53:16 +02:00
43291cb9cc fix some warnings 2008-09-05 17:01:24 +02:00
d94f1b9305 merge doc fixes
Merge commit '163ba179ed93c49c6d331c16afe9e54e97ad1876'
2008-09-04 15:28:39 +02:00
Michael Ploujnikov
06504c7b04 Merge branch 'master' of git://git.lumiera.org/LUMIERA 2008-09-03 18:55:19 -04:00
Joel Holdsworth
4faf561019 Merge branch 'master' of git://git.lumiera.org/LUMIERA into gui
Conflicts:

	src/gui/panels/timeline-panel.cpp
2008-09-02 22:58:22 +01:00
Joel Holdsworth
430ef04bc5 Fixed hyperactive scroll wheel zoom 2008-09-02 22:42:10 +01:00
Joel Holdsworth
708aea87bd Fixed a bug with body redrawing and added some documentation 2008-09-02 22:39:53 +01:00
Joel Holdsworth
b0b436cb92 Added some documentation to body and ruler 2008-08-30 23:10:00 +01:00
Joel Holdsworth
49f87b28bb Added support for audacity style playback period, and added some
documentation
2008-08-30 22:34:26 +01:00
Michael Ploujnikov
387ba8c321 find and configure NoBug by using pkg-config 2008-08-30 13:28:24 -04:00
Michael Ploujnikov
8bdab41ea0 factor out -I$(top_srcdir)/src/ to a top-level AM_CPPFLAGS
also remove a related unnecesary comment in src/gui/Makefile.am
2008-08-30 12:05:21 -04:00
Michael Ploujnikov
8bbcc57f48 set per-target CPPFLAGS for lumigui instead of global AM_CPPFLAGS
this prevents strange (_CPPFLAGS) dependencies such as the one that was identified and fixed in admin/Makefile.am
Also, make sure to include the global $(AM_CPPFLAGS) flags in the per-target ones
2008-08-30 11:49:31 -04:00
Joel Holdsworth
885704f0f8 Added time indication 2008-08-30 14:00:47 +01:00
Simeon Voelkel
700a7e9645 Added directive-parser and tests for a content-check of a parsed configitem 2008-08-27 11:00:10 +02:00
Michael Ploujnikov
bbab414f66 replace INCLUDES with AM_CPPFLAGS
INCLUDES is deprecated (http://www.gnu.org/software/automake/manual/automake.html#Program-variables)
2008-08-25 21:37:06 -04:00
4746dcd233 Fix build with gcc 4.3
(Explanation: 4.3 detects when a local typedef redeclares a templated type
 from an enclosing scope. This was never legal anyway)
2008-08-20 15:45:36 +01:00
19156f3a34 buildfix 2008-08-19 03:58:22 +02:00
c5778f1540 Merge from proc (draft imp of pull() call) 2008-08-17 18:35:49 +02:00
749f7a41c6 Landing draft implementation of pull() call 2008-08-17 04:22:46 +02:00
Joel Holdsworth
4e5e298bbb Added a time indicator widget 2008-08-16 22:06:46 +01:00
Joel Holdsworth
574bb5a2fd Added some documentation 2008-08-16 20:04:05 +01:00
Joel Holdsworth
071e332f04 Added a 2008-08-16 20:02:46 +01:00
Joel Holdsworth
51161f1e56 Small modifications to the documentation so that the lumiera namespace
is correctly annotated
2008-08-16 17:58:39 +01:00
Joel Holdsworth
40781e8221 Corrected a small dependancy issue in panel.hpp 2008-08-16 17:43:59 +01:00
Joel Holdsworth
a845b625b4 Added more documentation 2008-08-16 17:41:57 +01:00
Joel Holdsworth
02cf47de72 Corrected some stupid indentation in Panel 2008-08-16 17:12:12 +01:00
Joel Holdsworth
1532bc40e0 Added and corrected documentation 2008-08-16 16:44:52 +01:00
Joel Holdsworth
57aed7b40d Added resizing of selection area, and some documentation 2008-08-16 16:02:12 +01:00
Joel Holdsworth
39bd8aac74 Rerouted some dependancies on gtk-mm 2008-08-16 12:38:35 +01:00
Joel Holdsworth
9760b0fff0 Further tidied up tools and added some documentation 2008-08-16 12:32:26 +01:00
Joel Holdsworth
94cd88a92a Tidied up IBeam tool code 2008-08-16 12:17:28 +01:00
Joel Holdsworth
a186b7e507 Added out of bounds scrolling during I-Beam dragging 2008-08-15 22:40:57 +01:00
Joel Holdsworth
9dfd4ca4ed Fixed the broken view menu, corrected some tabs, and removed some left
over debug code
2008-08-14 23:15:47 +01:00
Joel Holdsworth
1b89b61370 Made the selection marquee stylable 2008-08-13 23:47:47 +01:00
Joel Holdsworth
833404c27b Made icon loading more robust, and tidied up some code 2008-08-13 19:15:13 +01:00
Joel Holdsworth
f0b30ff3f9 Removed superfluous tabs in actions.hpp 2008-08-13 17:41:41 +01:00
Christian Thaeter
1dc836fc3d Fixed configitem_move, first parsing tests pass now 2008-08-13 10:50:27 +02:00
Christian Thaeter
2f776858ee FIX: Remove llist_move again and put a note to list_relocate, add test
There was a fatal thinko, llist_relocate NUST NOT be called on a empty
list, the pointers will just point to invaildated memory. This cant be
handled by the llist code. The programmer is responsible to take proper
actions.
2008-08-13 09:21:33 +02:00
Christian Thaeter
238218f776 WIP: add config_lookup skeleton 2008-08-13 09:21:33 +02:00
Christian Thaeter
0fe3d6a059 filedescriptor fixup for new copy func in cuckoo 2008-08-13 09:21:33 +02:00
Christian Thaeter
76a72a6b68 add a custom copy function to the cuckoo hash 2008-08-13 09:21:33 +02:00
Christian Thaeter
e78908bc7d fixes after the cuckoo update in filedescriptor.c 2008-08-13 09:21:32 +02:00
Christian Thaeter
975150fe0a Cuckoo hash update
* add a destructor function for elements
 * rename cuckoo_free to cuckoo_delete to be consistent with the rest
2008-08-13 09:21:32 +02:00
Simeon Voelkel
b5dafbcd53 Fix for section-parser 2008-08-13 08:33:49 +02:00
Simeon Voelkel
19c2af0c69 added section part to parser 2008-08-12 12:39:48 +02:00
Simeon Voelkel
e86ef0ba75 parser improvements, compiles now 2008-08-12 10:57:46 +02:00
Simeon Voelkel
ca58edf39c added CONFIG_SYNTAX errors 2008-08-12 10:29:05 +02:00
Simeon Voelkel
0f5c5e218a typo fix and redundant comment removal 2008-08-12 10:03:38 +02:00
Christian Thaeter
8e5b734f03 add configitem and configentry to the build system 2008-08-12 08:13:15 +02:00
Christian Thaeter
20d38b0b5c give the charsets for config keys some constants 2008-08-12 08:12:08 +02:00
Christian Thaeter
9c7cedbf75 fix to make parser mockup compileable, little simplified 2008-08-12 07:13:45 +02:00
Simeon Voelkel
fd563a0284 WIP: started low-level parser 2008-08-11 22:08:17 +02:00
Christian Thaeter
c958aa29fb more functional mockup of the configitem bootstrap
includes some comments for simav about how to write parsers
2008-08-11 17:22:15 +02:00
Christian Thaeter
c7af270e42 config item bootstraping Mockup for review 2008-08-11 12:17:03 +02:00
Christian Thaeter
ea97119fa6 add a function to move llist nodes around 2008-08-11 10:12:05 +02:00
Christian Thaeter
f0cf49d753 WIP configitem brainstorming 2008-08-11 09:20:49 +02:00
Christian Thaeter
7b3fcfdcb3 Configitem brainstorm 2008-08-10 19:38:31 +02:00
Christian Thaeter
3dff3f70fc remove const from the filename in struct file, some gcc version barfs on it 2008-08-10 17:23:52 +02:00
Christian Thaeter
746c03fb04 Merge commit 'LUMIERA/master' into backend
* commit 'LUMIERA/master':
  Corrected some tabs, missing dependancies in src/gui/Makefile.am
  Initial implementation of I-Beam tool. Needs more work
  Reinstated a small efficiency
  Tidied and simplified video display widget, and added cursor support to
  Added a separator between tool groups
  Temporarily bodged the icon source directory
  Added code to render icons as part of the build process
  Added basic support for multiple tools in the timeline view
  Implemented new icon workflow
  Fixed scroll layout loop bug.
  Set the page size of the horizontal timeline scroll bar
  Retired VideoTrack - all tracks are the same
2008-08-10 14:17:04 +02:00
Christian Thaeter
cf3c601a77 Config type for 'words' and some tests 2008-08-10 12:28:02 +02:00
Christian Thaeter
cd8b523550 cosmetics, remove some traces in string config parsing, little doc 2008-08-10 12:28:02 +02:00
Christian Thaeter
830482c46d ooops, typo in the character list for config keys, missed 'wW' 2008-08-10 12:28:02 +02:00
Christian Thaeter
ff35734991 Fixup config to new rwlock SECTION macros 2008-08-10 12:28:02 +02:00
Christian Thaeter
c3c5a3b65c Fixup filedescriptors and filehandlecache for the new mutex handling 2008-08-10 12:28:02 +02:00
Christian Thaeter
8b901567ed getting strings from the config
a string can be either quoted (single or doublequoted), then the text
between this quotes is returned, quotes are escaped by doubling themself,
no chopping at either end is done,

or not quoted then the the tabs and spaces are chopped from the value
at either end.
2008-08-10 12:26:19 +02:00
Christian Thaeter
3be0d38d73 report syntax error in value instead type error 2008-08-10 12:26:19 +02:00
Christian Thaeter
87c7fea4ac allow only lowercase characters, digits, '_' and '.' in keys 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
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
Joel Holdsworth
c12e134981 Corrected some tabs, missing dependancies in src/gui/Makefile.am 2008-08-09 22:26:36 +01:00
Joel Holdsworth
2082f0843b Initial implementation of I-Beam tool. Needs more work 2008-08-07 20:27:41 +01:00
07975e520f change ConfigSelector to accept arbitrary factory function signatures 2008-08-05 03:46:06 +02:00
Joel Holdsworth
45ca590c38 Reinstated a small efficiency 2008-08-04 16:40:38 +01:00
Joel Holdsworth
2ee6f6be62 Tidied and simplified video display widget, and added cursor support to
the ibeam and arrow tool
2008-08-04 16:39:36 +01:00
Joel Holdsworth
fdab62a5d8 Added a separator between tool groups 2008-08-04 12:20:13 +01:00
Joel Holdsworth
744b28502e Temporarily bodged the icon source directory 2008-08-04 12:15:42 +01:00
Joel Holdsworth
04320ae794 Added code to render icons as part of the build process 2008-08-04 12:06:24 +01:00
29e33e4eb4 generating (wiring) configs now considered final 2008-08-04 05:42:55 +02:00
cf7bd178de WIP further refactorings.
Put nodeoperation.hpp and ConfigSelector in a sub namespace engine::config
2008-08-03 16:47:38 +02:00
847cc9c267 WIP rearranged some headers 2008-07-30 03:56:13 +02:00
Joel Holdsworth
17d0883d09 Added basic support for multiple tools in the timeline view 2008-07-30 00:12:37 +01:00
276ac8e082 test building a table of factories dealing with the possible configs 2008-07-29 18:03:37 +02:00
Joel Holdsworth
ecf392968b Implemented new icon workflow 2008-07-28 23:45:20 +01:00
0dec8de6a3 test covering ennumeration of possible configs 2008-07-28 04:33:10 +02:00
06cc4c93fd test the combination generator 2008-07-24 06:38:21 +02:00
Joel Holdsworth
9bad04751f Fixed scroll layout loop bug. 2008-07-23 23:23:48 +01:00
86f805f803 more testing 2008-07-22 08:19:03 +02:00
e5d75eee9b test covering the stack-wise buffer pointer table allocation 2008-07-21 03:25:06 +02:00
9a34d234ae WIP pass compiler, after filling in some more stubs 2008-07-20 20:08:08 +02:00
Mano Stienen
163ba179ed moved documentation from error.c to .h 2008-07-20 16:11:08 +02:00
3ec69c539c WIP resolved remaining inconsistencies 2008-07-20 15:00:39 +02:00
Joel Holdsworth
4907b19cce Set the page size of the horizontal timeline scroll bar 2008-07-19 16:35:56 +01: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
cb8ac94dcf WIP finally got the design straight? 2008-07-18 21:21:46 +02:00
Joel Holdsworth
e3d6026d0b Retired VideoTrack - all tracks are the same 2008-07-17 19:35:49 +01: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
48780bef74 WIP draft the handling of buffer pointer tables 2008-07-17 16:17:43 +02: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
63d5684c12 WIP continued with refactoring the Invocation 2008-07-16 05:09:04 +02: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
cb5d1fd03b WIP further refactored the nodeoperation 2008-07-14 03:34:18 +02:00
2dab8cfe6e WIP adapt the nodeoperation to this (possible) solution 2008-07-11 19:40:11 +02: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
95632785a8 Merge SCons buildsystem improvements from master 2008-07-11 06:15:35 +02:00
7a6b987a50 merge after integrating the GUI draft; now using multiple build environments and check via pkg-config 2008-07-11 05:35:48 +02:00
Mano Stienen
7f1987666f moved documentation from rwlock.c to .h 2008-07-11 05:02:47 +02:00
bfa4b2bc70 (irrelevant) adjustments to make the SCons build of the nonexistant source happen 2008-07-11 05:01:56 +02:00
e04c7d54cb merge after finishing DefaultsManager; build split in several static libs 2008-07-11 04:39:29 +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
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
Joel Holdsworth
7752130d99 Added my name to copyright in configure.ac, and corrected some
indentation
2008-06-23 21:21:29 +01:00
Joel Holdsworth
3a5482a141 Tidied styles. Made min_division_width stylable 2008-06-23 21:18:20 +01:00
Joel Holdsworth
01b59b6c69 Corrected the styling of scroll bars 2008-06-23 21:06:07 +01:00
Joel Holdsworth
56291f6c40 Made ruler more stylable, and added minor ticks 2008-06-23 21:01:29 +01:00
Joel Holdsworth
38a9a1c892 Added minor tick-marks 2008-06-23 17:48:48 +01:00
Joel Holdsworth
a7aff05dd3 Styled timeline text 2008-06-23 17:07:57 +01:00
Joel Holdsworth
8e940b879d Added auto selection of major tick values to timeline ruler 2008-06-23 15:42:14 +01:00
Joel Holdsworth
4275c7cf8c Added zooming of the timeline with Ctrl+Scroll 2008-06-23 11:17:19 +01:00
Joel Holdsworth
6e944c1412 Added scroll wheel scrolling to the timeline. Corrected some indentation 2008-06-23 10:54:37 +01:00
Joel Holdsworth
e18b0a1d5f Added scrolling and major timeline-ruler ticks 2008-06-19 23:35:53 +01:00
Joel Holdsworth
25f28ee586 Corrected some indentation 2008-06-19 21:57:53 +01:00
Joel Holdsworth
f8a2291118 Corrected some indentation 2008-06-19 21:37:36 +01:00
Joel Holdsworth
3cc0f72389 Trivial timeline now works - more work coming 2008-06-18 23:57:47 +01:00
eeb2d04dee WIP trying to translate some of the planned pull() process into code... 2008-06-14 04:19:58 +02:00
Joel Holdsworth
3b9d05a67d Made use of boost and nobug, added some documentation, and tidied code 2008-06-07 13:53:17 +01:00
Joel Holdsworth
8dc26f9bd9 Merge branch 'master' of git://git.lumiera.org/LUMIERA into timelinework 2008-06-07 12:10:52 +01:00
Joel Holdsworth
98df76e919 Added some documentation, and made a minor code correction in
layout_headers
2008-06-07 12:09:22 +01:00
Joel Holdsworth
e12f72abe0 Merge commit 'HEAD'; branch 'timelinework' into gui 2008-06-06 00:30:53 +01:00
Joel Holdsworth
3952e27a8f Removed RefPtrs to make code more elegant 2008-06-06 00:30:31 +01:00
Joel Holdsworth
214eea574a Merge commit 'HEAD'; branch 'timelinework' into gui 2008-06-06 00:00:41 +01:00
Joel Holdsworth
85730b889e Fixed to assertion failures, and move the frame ownership to
HeaderContainer
2008-06-05 23:57:04 +01:00
Joel Holdsworth
9598b92d7e Merge commit 'HEAD'; branch 'timelinework' into gui 2008-06-05 21:00:42 +01:00
Joel Holdsworth
0ac09411bc Basic timeline with scrolling headers now works + Tidying work 2008-06-05 20:27:53 +01:00
Joel Holdsworth
e9747b360c Track backgrounds are now painted from the style 2008-05-31 18:21:05 +01:00
Joel Holdsworth
71b45acf54 Styles for custom widgets now load 2008-05-31 17:44:44 +01:00
Joel Holdsworth
7e2092825e Simple scrolling and drawing added 2008-05-31 13:22:15 +01:00
8daec32733 first draft plans for the render process, as far as needed for defining the builder 2008-05-30 06:23:13 +02:00
5d5119631b first outline regarding the wiring of nodes within the builder 2008-05-27 07:22:27 +02:00
2e58b02b8a write down implementation specs and further planned details 2008-05-26 07:28:10 +02:00
Joel Holdsworth
ea32ce0337 Merge branch 'master' of git://git.lumiera.org/LUMIERA into gui 2008-05-22 19:31:55 +01:00
Joel Holdsworth
fe975a701d Added some scroll bars 2008-05-22 19:19:04 +01:00
6310e9789b Merge ct/devel to see if there are any problems... 2008-05-20 04:58:16 +02:00
Christian Thaeter
f58be32a05 Fixes after rebase
* remove _GNU_SOURCE from tests
 * re-enable C source building in backend
2008-05-19 16:37:50 +02:00