[teklib-general] teklib: Exec tasks have got an inbuilt TimeRequest structure now...

Timm S. Mueller tmueller at neoscientists.org
Thu Jan 22 15:21:16 CET 2009


details:   http://hg.teklib.org/teklib/rev/9169b484a652
changeset: 237:9169b484a652
user:      Timm S. Mueller <tmueller at neoscientists.org>
date:      Thu Jan 22 15:09:31 2009 +0100
description:
Exec tasks have got an inbuilt TimeRequest structure now, the Exec timer
functions have been adapted accordingly; Exec DoExec has got an additional
command argument; Visual: Reactivated 'attach' in the test suite, nicer
'fonts' test; some cleanup

diffs (truncated from 2306 to 100 lines):

diff -r 86009414c89c -r 9169b484a652 build/config/posix_fbsd.tmk
--- a/build/config/posix_fbsd.tmk	Thu Jan 15 01:03:16 2009 +0100
+++ b/build/config/posix_fbsd.tmk	Thu Jan 22 15:09:31 2009 +0100
@@ -54,13 +54,11 @@
 	[switch]
 		[case config="_gcc_release"]
 			OPT 	= -O2 -fomit-frame-pointer
+			WARN	=
 		[/case]
 		[case config="_gcc_debug"]
 			OPT 	= -O1
 			DEBUG	= -DTDEBUG=3 -g
-		[/case]
-		[case config="_gcc_small"]
-			OPT 	= -Os -fomit-frame-pointer
 		[/case]
 		[default]
 			OPT 	= -O2
@@ -168,9 +166,6 @@
 	[if config="_gcc_release"]
 		\tstrip --strip-unneeded --remove-section .comment $(MODDIR)/%1.$(MODSUFFIX)
 	[/if]
-	[if config="_gcc_small"]
-		\tstrip --strip-unneeded --remove-section .comment $(MODDIR)/%1.$(MODSUFFIX)
-	[/if]
 [/body]
 
 [!---------- toolbuild ------------]
diff -r 86009414c89c -r 9169b484a652 build/config/posix_linux.tmk
--- a/build/config/posix_linux.tmk	Thu Jan 15 01:03:16 2009 +0100
+++ b/build/config/posix_linux.tmk	Thu Jan 22 15:09:31 2009 +0100
@@ -54,13 +54,11 @@
 	[switch]
 		[case config="_gcc_release"]
 			OPT     = -O2 -fomit-frame-pointer
+			WARN	=
 		[/case]
 		[case config="_gcc_debug"]
 			OPT     = -O1
 			DEBUG   = -DTDEBUG=3 -g
-		[/case]
-		[case config="_gcc_small"]
-			OPT 	= -Os -fomit-frame-pointer
 		[/case]
 		[default]
 			OPT     = -O2
@@ -168,9 +166,6 @@
 	[if config="_gcc_release"]
 		\tstrip --strip-unneeded --remove-section .comment $(MODDIR)/%1.$(MODSUFFIX)
 	[/if]
-	[if config="_gcc_small"]
-		\tstrip --strip-unneeded --remove-section .comment $(MODDIR)/%1.$(MODSUFFIX)
-	[/if]
 [/body]
 
 [!---------- toolbuild ------------]
diff -r 86009414c89c -r 9169b484a652 build/config/winnt_winnt.tmk
--- a/build/config/winnt_winnt.tmk	Thu Jan 15 01:03:16 2009 +0100
+++ b/build/config/winnt_winnt.tmk	Thu Jan 22 15:09:31 2009 +0100
@@ -58,6 +58,7 @@
 	[switch]
 		[case config="_gcc_release"]
 			OPT     = -O2 -fomit-frame-pointer
+			WARN	=
 		[/case]
 		[case config="_gcc_debug"]
 			OPT     = -O1
@@ -172,9 +173,6 @@
 	[if config="_gcc_release"]
 		\t$(STRIP) --strip-unneeded --remove-section .comment $(MODDIR)/%1.$(MODSUFFIX)
 	[/if]
-	[if config="_gcc_small"]
-		\t$(STRIP) --strip-unneeded --remove-section .comment $(MODDIR)/%1.$(MODSUFFIX)
-	[/if]
 [/body]
 
 [!---------- toolbuild ------------]
diff -r 86009414c89c -r 9169b484a652 src/date/tests/datetest.c
--- a/src/date/tests/datetest.c	Thu Jan 15 01:03:16 2009 +0100
+++ b/src/date/tests/datetest.c	Thu Jan 22 15:09:31 2009 +0100
@@ -18,8 +18,6 @@
 struct TExecBase *TExecBase;
 struct TAstroBase *TAstroBase;
 struct TUtilBase *TUtilBase;
-struct TTimeRequest *treq;
-struct TTimeRequest *treq2;
 
 /*****************************************************************************/
 
@@ -190,13 +188,13 @@
 	TINT sec, usec;
 
 	TCreateTime(&dt, 0, 2, 345678);
-	TGetUniversalDate(treq, &wait);
+	TGetUniversalDate(&wait);
 	TAddDate(&wait, 0, &dt);
 	printf("waiting for a date 2.345678 seconds in the future...\n");
 
-	TGetSystemTime(treq2, &t0);
-	TWaitDate(treq, &wait, 0);


More information about the teklib-general mailing list