From 5904c896aaadaf8bddf57db8d849cd72a1c66f01 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Fri, 24 Apr 2009 21:47:40 +0200 Subject: [PATCH 001/368] Lower gtkmm requirements to match Debian/Lenny (grmmm-2.4<=2.12) @joel: is this ok? if you'd actually need a more recent gtkmm, we handle it similar as with gdl-lum... --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e08e3d83f..d69749882 100644 --- a/configure.ac +++ b/configure.ac @@ -142,7 +142,7 @@ PKG_CHECK_MODULES(LUMIERA_COMMON_LIBS, [sigc++-2.0 >= 2.0.17]) PKG_CHECK_MODULES(LUMIERA_GUI, [ gtk+-2.0 >= 2.8 - gtkmm-2.4 >= 2.14 + gtkmm-2.4 >= 2.12 cairomm-1.0 >= 0.6.0 librsvg-2.0 >= 2.18.1 gavl >= 0.2.5 From 3ae3e36f3f24f7323e48e3b26ee8d6aeb9f33c16 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Thu, 16 Oct 2008 20:31:02 +0200 Subject: [PATCH 002/368] @Joel: a simple convenience wrapper for gavl_time_t --- src/lib/lumitime.cpp | 7 ++- src/lib/lumitime.hpp | 54 +++++++++++++------- tests/components/proc/asset/makecliptest.cpp | 2 +- 3 files changed, 39 insertions(+), 24 deletions(-) diff --git a/src/lib/lumitime.cpp b/src/lib/lumitime.cpp index 9590b6c3a..d9e849a49 100644 --- a/src/lib/lumitime.cpp +++ b/src/lib/lumitime.cpp @@ -1,5 +1,5 @@ /* - Time - unified representation of a time point, including conversion functions + Time - convenience wrapper for working with gavl_time in C++ Copyright (C) Lumiera.org 2008, Hermann Vosseler @@ -28,10 +28,9 @@ namespace lumiera { - // TODO: dummy values; should be adjusted when switching to the real time implementation provided by the backend - const Time Time::MAX = +std::numeric_limits::max(); - const Time Time::MIN = -std::numeric_limits::max(); + const Time Time::MAX = +std::numeric_limits::max(); + const Time Time::MIN = -std::numeric_limits::max(); } // namespace lumiera diff --git a/src/lib/lumitime.hpp b/src/lib/lumitime.hpp index 33b5bb4c3..5bc60c044 100644 --- a/src/lib/lumitime.hpp +++ b/src/lib/lumitime.hpp @@ -1,5 +1,5 @@ /* - LUMITIME.hpp - unified representation of a time point, including conversion functions + LUMITIME.hpp - convenience wrapper for working with gavl_time in C++ Copyright (C) Lumiera.org 2008, Hermann Vosseler @@ -26,35 +26,51 @@ #include +extern "C" { +#include +} -namespace lumiera - { +namespace lumiera { /** - * denotes a temporal position (time point), based on timeline start. + * C++ convenience wrapper representing a time value, which could denote + * a temporal position (time point) relative to an (implicit) timeline zero + * point, or it could represent a time interval. * - * @todo currently (9/07) this is a dummy implementation to find out - * what interface the Proc layer needs. Cehteh has already written - * elaborate timehandling functions in the backend and the goal - * is for class Time to be just a thin wrapper! + * @note this is currently (10/08) an experimental implementation to ease + * the time handling within C++ code. It is advisable not to use it + * on external interfaces (use gavl_time_t there please). */ - class Time : boost::totally_ordered