This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project gfxprim.git.
The branch, master has been updated
via fde90a28ce68be92f54b9ca7be882ddc7eb20361 (commit)
from add9b9cbb298ae43aa5b74921d66003326eafb67 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://repo.or.cz/w/gfxprim.git/commit/fde90a28ce68be92f54b9ca7be882ddc7eb2…
commit fde90a28ce68be92f54b9ca7be882ddc7eb20361
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Tue Mar 20 15:41:35 2012 +0100
pylib: Final fix for python 3.2 yay!
Change map to list comprehension.
(Baked together with Tomas)
diff --git a/pylib/gfxprim/utils.py b/pylib/gfxprim/utils.py
index 4060811..4d4bd05 100644
--- a/pylib/gfxprim/utils.py
+++ b/pylib/gfxprim/utils.py
@@ -36,8 +36,8 @@ def import_members(from_, to, include=[], exclude=[], sub=None):
`include` and `exclude` are lists of regexes to match (include ^ and $)."""
assert not (include and exclude)
import re
- il = map(re.compile, include)
- el = map(re.compile, exclude)
+ il = [re.compile(i) for i in include]
+ el = [re.compile(i) for i in exclude]
for name in dir(from_):
try:
o = from_[name]
-----------------------------------------------------------------------
Summary of changes:
pylib/gfxprim/utils.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos(a)gmail.com
if you want to unsubscribe, or site admin admin(a)repo.or.cz if you receive
no reply.
--
gfxprim.git ("A simple 2D graphics library with emphasis on correctness and well-defined operation.")
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project gfxprim.git.
The branch, master has been updated
via add9b9cbb298ae43aa5b74921d66003326eafb67 (commit)
from f6c1e6c7ad85f0f95299bd7c7027f2f8374a016b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://repo.or.cz/w/gfxprim.git/commit/add9b9cbb298ae43aa5b74921d66003326ea…
commit add9b9cbb298ae43aa5b74921d66003326eafb67
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Mon Mar 19 20:02:40 2012 +0100
text: Fix rotation for 8bpp TEXT_NOBG rendering.
diff --git a/libs/text/GP_Text.gen.c.t b/libs/text/GP_Text.gen.c.t
index f0acc30..12a8e7e 100644
--- a/libs/text/GP_Text.gen.c.t
+++ b/libs/text/GP_Text.gen.c.t
@@ -123,8 +123,13 @@ static void text_draw_1BPP(GP_Context *context, GP_TextStyle *style, int x, int
%% else
unsigned int l;
- for (l = x_start; l < x_start + style->pixel_xmul; l++)
- GP_MixPixel_Raw_Clipped_{{ pt.name }}(context, l, cur_y, fg, gray);
+ for (l = x_start; l < x_start + style->pixel_xmul; l++) {
+ unsigned int px = l;
+ unsigned int py = cur_y;
+ //TODO: optimize this
+ GP_TRANSFORM_POINT(context, px, py);
+ GP_MixPixel_Raw_Clipped_{{ pt.name }}(context, px, py, fg, gray);
+ }
%% endif
}
}
-----------------------------------------------------------------------
Summary of changes:
libs/text/GP_Text.gen.c.t | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos(a)gmail.com
if you want to unsubscribe, or site admin admin(a)repo.or.cz if you receive
no reply.
--
gfxprim.git ("A simple 2D graphics library with emphasis on correctness and well-defined operation.")
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project gfxprim.git.
The branch, master has been updated
via f6c1e6c7ad85f0f95299bd7c7027f2f8374a016b (commit)
from ca4df5647e88fd02a065de65b91e86e41ef07b58 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://repo.or.cz/w/gfxprim.git/commit/f6c1e6c7ad85f0f95299bd7c7027f2f8374a…
commit f6c1e6c7ad85f0f95299bd7c7027f2f8374a016b
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Mon Mar 12 19:08:50 2012 +0100
configure: Fix bashism.
diff --git a/configure b/configure
index 394b1b7..60d6e14 100755
--- a/configure
+++ b/configure
@@ -51,7 +51,7 @@ def python_module_installed(cfg, module):
def check_for_swig(cfg):
sys.stderr.write("Checking for working swig ... ")
- ret = os.system("%s -version &> /dev/null" % cfg['SWIG'][0])
+ ret = os.system("%s -version > /dev/null 2>&1" % cfg['SWIG'][0])
if ret:
sys.stderr.write('Non')
-----------------------------------------------------------------------
Summary of changes:
configure | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos(a)gmail.com
if you want to unsubscribe, or site admin admin(a)repo.or.cz if you receive
no reply.
--
gfxprim.git ("A simple 2D graphics library with emphasis on correctness and well-defined operation.")
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project gfxprim.git.
The branch, master has been updated
via ca4df5647e88fd02a065de65b91e86e41ef07b58 (commit)
from 16ac5bdd29c9a7d4eb0309240a9be235a7436c0f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://repo.or.cz/w/gfxprim.git/commit/ca4df5647e88fd02a065de65b91e86e41ef0…
commit ca4df5647e88fd02a065de65b91e86e41ef07b58
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Sun Mar 11 22:20:19 2012 +0100
demos: Rename fbshow to spiv (as it outgrew it's name)
diff --git a/demos/Makefile b/demos/Makefile
index c148243..3198465 100644
--- a/demos/Makefile
+++ b/demos/Makefile
@@ -1,3 +1,3 @@
TOPDIR=..
-SUBDIRS=grinder fbshow particle
+SUBDIRS=grinder spiv particle
include $(TOPDIR)/post.mk
diff --git a/demos/fbshow/Makefile b/demos/spiv/Makefile
similarity index 87%
rename from demos/fbshow/Makefile
rename to demos/spiv/Makefile
index 8921aff..13b416c 100644
--- a/demos/fbshow/Makefile
+++ b/demos/spiv/Makefile
@@ -7,9 +7,9 @@ CFLAGS+=-pthread
LDFLAGS+=-pthread -lrt
LDLIBS+=-lGP -lGP_backends -lSDL -L$(TOPDIR)/build/
-APPS=fbshow
+APPS=spiv
-fbshow: cpu_timer.o
+spiv: cpu_timer.o
include $(TOPDIR)/pre.mk
include $(TOPDIR)/app.mk
diff --git a/demos/fbshow/cpu_timer.c b/demos/spiv/cpu_timer.c
similarity index 100%
rename from demos/fbshow/cpu_timer.c
rename to demos/spiv/cpu_timer.c
diff --git a/demos/fbshow/cpu_timer.h b/demos/spiv/cpu_timer.h
similarity index 100%
rename from demos/fbshow/cpu_timer.h
rename to demos/spiv/cpu_timer.h
diff --git a/demos/fbshow/runtest.sh b/demos/spiv/runtest.sh
similarity index 100%
rename from demos/fbshow/runtest.sh
rename to demos/spiv/runtest.sh
diff --git a/demos/fbshow/fbshow.c b/demos/spiv/spiv.c
similarity index 99%
rename from demos/fbshow/fbshow.c
rename to demos/spiv/spiv.c
index 96fdf47..7882839 100644
--- a/demos/fbshow/fbshow.c
+++ b/demos/spiv/spiv.c
@@ -22,7 +22,7 @@
/*
- Simple image viewer.
+ SPIV -- Simple but Powerfull Image Viewer.
*/
-----------------------------------------------------------------------
Summary of changes:
demos/Makefile | 2 +-
demos/{fbshow => spiv}/Makefile | 4 ++--
demos/{fbshow => spiv}/cpu_timer.c | 0
demos/{fbshow => spiv}/cpu_timer.h | 0
demos/{fbshow => spiv}/runtest.sh | 0
demos/{fbshow/fbshow.c => spiv/spiv.c} | 2 +-
6 files changed, 4 insertions(+), 4 deletions(-)
rename demos/{fbshow => spiv}/Makefile (87%)
rename demos/{fbshow => spiv}/cpu_timer.c (100%)
rename demos/{fbshow => spiv}/cpu_timer.h (100%)
rename demos/{fbshow => spiv}/runtest.sh (100%)
rename demos/{fbshow/fbshow.c => spiv/spiv.c} (99%)
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos(a)gmail.com
if you want to unsubscribe, or site admin admin(a)repo.or.cz if you receive
no reply.
--
gfxprim.git ("A simple 2D graphics library with emphasis on correctness and well-defined operation.")
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project gfxprim.git.
The branch, master has been updated
via f83ed3f17db2867b1b7e0fa6cbeed18fcd7dbbc8 (commit)
from 7479594ee56b8759d967aa72795dc1b5fdfa2327 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://repo.or.cz/w/gfxprim.git/commit/f83ed3f17db2867b1b7e0fa6cbeed18fcd7d…
commit f83ed3f17db2867b1b7e0fa6cbeed18fcd7dbbc8
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Sat Mar 10 21:56:30 2012 +0100
configure: Add check for swig.
diff --git a/configure b/configure
index 24fc5f2..394b1b7 100755
--- a/configure
+++ b/configure
@@ -48,6 +48,17 @@ def python_module_installed(cfg, module):
sys.stderr.write('Yesn')
return True
+def check_for_swig(cfg):
+ sys.stderr.write("Checking for working swig ... ")
+
+ ret = os.system("%s -version &> /dev/null" % cfg['SWIG'][0])
+
+ if ret:
+ sys.stderr.write('Non')
+ cfg['SWIG'][0] = ''
+ else:
+ sys.stderr.write("Yesn")
+
#
# Library checking api
#
@@ -121,6 +132,7 @@ def basic_checks(cfg):
exit(1)
if not python_module_installed(cfg, 'jinja2'):
exit(1)
+ check_for_swig(cfg)
sys.stderr.write("n")
#
-----------------------------------------------------------------------
Summary of changes:
configure | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos(a)gmail.com
if you want to unsubscribe, or site admin admin(a)repo.or.cz if you receive
no reply.
--
gfxprim.git ("A simple 2D graphics library with emphasis on correctness and well-defined operation.")