update to taskjuggler 2.3.1
This commit is contained in:
parent
9203a7311b
commit
d666590e9c
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2006/12/15 15:11:41 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2007/02/01 21:20:11 sturm Exp $
|
||||
|
||||
COMMENT= "project management tool"
|
||||
|
||||
DISTNAME= taskjuggler-2.3.0
|
||||
DISTNAME= taskjuggler-2.3.1
|
||||
CATEGORIES= productivity
|
||||
SHARED_LIBS= taskjuggler 3.4
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
MD5 (taskjuggler-2.3.0.tar.bz2) = c45b95507caf96ba39b7f40065c9f34b
|
||||
RMD160 (taskjuggler-2.3.0.tar.bz2) = b6e1d9b5fd4e10e01b9297ee1fc1352f3894229a
|
||||
SHA1 (taskjuggler-2.3.0.tar.bz2) = 4e200b2d993271173dc1d12f5d49a76b316b6b7e
|
||||
SIZE (taskjuggler-2.3.0.tar.bz2) = 1238644
|
||||
MD5 (taskjuggler-2.3.1.tar.bz2) = 82bd56082b07b5b98897f380a7b05dcb
|
||||
RMD160 (taskjuggler-2.3.1.tar.bz2) = add000206b40e275a2778935148ba0650c29f57a
|
||||
SHA1 (taskjuggler-2.3.1.tar.bz2) = fce20fcfae51e6cf2100d2fe82554d82d89fc823
|
||||
SIZE (taskjuggler-2.3.1.tar.bz2) = 1261818
|
||||
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-taskjuggler_ProjectFile_cpp,v 1.1 2006/10/31 20:56:43 sturm Exp $
|
||||
|
||||
Align 'now' date to timing resolution. from svn
|
||||
|
||||
--- taskjuggler/ProjectFile.cpp.orig Mon Oct 23 20:57:57 2006
|
||||
+++ taskjuggler/ProjectFile.cpp Mon Oct 23 20:58:42 2006
|
||||
@@ -653,6 +653,8 @@ ProjectFile::readProject()
|
||||
return FALSE;
|
||||
}
|
||||
proj->setScheduleGranularity(resolution);
|
||||
+
|
||||
+ proj->setNow(proj->getNow());
|
||||
}
|
||||
else if (token == KW("timezone"))
|
||||
{
|
@ -1,30 +0,0 @@
|
||||
$OpenBSD: patch-taskjuggler_Project_cpp,v 1.1 2006/10/31 20:56:43 sturm Exp $
|
||||
|
||||
Align 'now' date to timing resolution. from svn
|
||||
|
||||
--- taskjuggler/Project.cpp.orig Mon Oct 23 20:56:21 2006
|
||||
+++ taskjuggler/Project.cpp Mon Oct 23 20:57:13 2006
|
||||
@@ -85,7 +85,7 @@ Project::Project()
|
||||
|
||||
start = 0;
|
||||
end = 0;
|
||||
- now = time(0);
|
||||
+ setNow(time(0));
|
||||
|
||||
minEffort = 0.0;
|
||||
resourceLimits = 0;
|
||||
@@ -247,6 +247,14 @@ int
|
||||
Project::getScenarioIndex(const QString& id) const
|
||||
{
|
||||
return scenarioList.getIndex(id);
|
||||
+}
|
||||
+
|
||||
+void
|
||||
+Project::setNow(time_t n)
|
||||
+{
|
||||
+ /* Align 'now' time to timing resolution. If the resolution is
|
||||
+ * changed later, this has to be done again. */
|
||||
+ now = (n / scheduleGranularity) * scheduleGranularity;
|
||||
}
|
||||
|
||||
void
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-taskjuggler_Project_h,v 1.1 2006/10/31 20:56:43 sturm Exp $
|
||||
|
||||
Align 'now' date to timing resolution. from svn
|
||||
|
||||
--- taskjuggler/Project.h.orig Mon Oct 23 20:57:21 2006
|
||||
+++ taskjuggler/Project.h Mon Oct 23 20:57:43 2006
|
||||
@@ -216,7 +216,7 @@ public:
|
||||
* Set the date that TaskJuggler uses as current date for all
|
||||
* computations. This mainly affects status reporting and the computation
|
||||
* of the completion degree of tasks. */
|
||||
- void setNow(time_t n) { now = n; }
|
||||
+ void setNow(time_t n);
|
||||
/**
|
||||
* Get the date that TaskJuggler uses as current date.
|
||||
*/
|
Loading…
Reference in New Issue
Block a user