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 6cc070b5aeb9f343e31567748ba8ad8a1731261c (commit) via af1b42ff7449ac76d284c8aa9a93327f3bb6a3ca (commit) from ea13b90643f283c3296b5a0621fb32e937eaf87b (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/6cc070b5aeb9f343e31567748ba8ad8a17312...
commit 6cc070b5aeb9f343e31567748ba8ad8a1731261c Author: Tomas Gavenciak gavento@ucw.cz Date: Wed Jan 2 01:30:26 2013 +0100
core: Actually set GP_Context.bit_endian
diff --git a/libs/core/GP_Context.c b/libs/core/GP_Context.c index a2f10d3..6cb08a5 100644 --- a/libs/core/GP_Context.c +++ b/libs/core/GP_Context.c @@ -70,8 +70,8 @@ GP_Context *GP_ContextAlloc(GP_Size w, GP_Size h, GP_PixelType type)
context->pixel_type = type; #warning Hmm, bit endianity... Why is not this settled by different pixel types? - context->bit_endian = 0; - + context->bit_endian = GP_PixelTypes[type].bit_endian; + /* rotation and mirroring */ GP_ContextSetRotation(context, 0, 0, 0);
http://repo.or.cz/w/gfxprim.git/commit/af1b42ff7449ac76d284c8aa9a93327f3bb6a...
commit af1b42ff7449ac76d284c8aa9a93327f3bb6a3ca Author: Tomas Gavenciak gavento@ucw.cz Date: Wed Jan 2 01:29:10 2013 +0100
pylib: test: Fix generated func closure bug
diff --git a/tests/pylib/testutils.py b/tests/pylib/testutils.py index cdc5c9d..8c0b6fe 100644 --- a/tests/pylib/testutils.py +++ b/tests/pylib/testutils.py @@ -22,7 +22,7 @@ def alltypes_new_functions(_filter=None): def decorate(f): for t in core.PixelTypes[1:]: if (_filter is None) or _filter(t): - nf = lambda: f(t) + nf = (lambda tt: (lambda: f(tt)))(t) nf.__name__ = f.__name__ + "_" + t.name nf.__module__ = f.__module__ nf.__doc__ = "%s<%s:%s>"% (
-----------------------------------------------------------------------
Summary of changes: libs/core/GP_Context.c | 4 ++-- tests/pylib/testutils.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos@gmail.com if you want to unsubscribe, or site admin admin@repo.or.cz if you receive no reply.