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 c2fc7bc18f5c8ca729525abee47967930485ddd4 (commit)
via 1adb8662a402c4cf4bc0ea41feb1ba33dc49bfc9 (commit)
via dde06dd8f774cd24f2febdf6842631691b6733ac (commit)
from ff67d6e17905d01934074321a4a0136027dae253 (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/c2fc7bc18f5c8ca729525abee47967930485…
commit c2fc7bc18f5c8ca729525abee47967930485ddd4
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Tue Mar 19 21:35:33 2013 +0100
demos: py_simple: Fix dither.py
diff --git a/demos/py_simple/dither.py b/demos/py_simple/dither.py
index dae8838..470d601 100755
--- a/demos/py_simple/dither.py
+++ b/demos/py_simple/dither.py
@@ -11,7 +11,7 @@ def main():
sys.exit(1)
# Load Image
- img = loaders.LoadImage(sys.argv[1], None)
+ img = loaders.Load(sys.argv[1])
# Use Floyd-Steinberg dithering
res = filters.FilterFloydSteinberg_RGB888_Alloc(img, core.C.PIXEL_G1, None)
# Save result into grayscale png
http://repo.or.cz/w/gfxprim.git/commit/1adb8662a402c4cf4bc0ea41feb1ba33dc49…
commit 1adb8662a402c4cf4bc0ea41feb1ba33dc49bfc9
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Tue Mar 19 21:34:37 2013 +0100
demos: py_simple: Fix blur.py
diff --git a/demos/py_simple/blur.py b/demos/py_simple/blur.py
index 36d9c5b..478af96 100755
--- a/demos/py_simple/blur.py
+++ b/demos/py_simple/blur.py
@@ -13,7 +13,7 @@ def main():
radii = float(sys.argv[1])
# Load Image
- img = loaders.LoadImage(sys.argv[2], None)
+ img = loaders.Load(sys.argv[2])
# Do in-place gaussian blur
filters.FilterGaussianBlur(img, img, radii, radii, None)
# Save result
http://repo.or.cz/w/gfxprim.git/commit/dde06dd8f774cd24f2febdf6842631691b67…
commit dde06dd8f774cd24f2febdf6842631691b6733ac
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Tue Mar 19 21:29:08 2013 +0100
pywrap: filters: Add non-alloc filter variants too.
diff --git a/pylib/gfxprim/filters/__init__.py b/pylib/gfxprim/filters/__init__.py
index ae3988c..32b2efd 100644
--- a/pylib/gfxprim/filters/__init__.py
+++ b/pylib/gfxprim/filters/__init__.py
@@ -13,6 +13,7 @@ def _init(module):
import_members(c_filters, module, sub=strip_GP,
include=[
'^GP_Filter.*Alloc',
+ '^GP_Filter[A-Za-z0-9]*$',
])
_init(locals())
-----------------------------------------------------------------------
Summary of changes:
demos/py_simple/blur.py | 2 +-
demos/py_simple/dither.py | 2 +-
pylib/gfxprim/filters/__init__.py | 1 +
3 files changed, 3 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 e434f9d04602003a5e0c858acc5189cac9297e36 (commit)
from ad60769920b2f3ba4ed23b13cd7973b018ebc711 (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/e434f9d04602003a5e0c858acc5189cac929…
commit e434f9d04602003a5e0c858acc5189cac9297e36
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Tue Mar 19 20:13:43 2013 +0100
build: configure: Pick config values from env variables.
This allows us to use clang static analysis.
diff --git a/configure b/configure
index 8704716..fed17b4 100755
--- a/configure
+++ b/configure
@@ -301,7 +301,12 @@ if __name__ == '__main__':
"Checking for backtrace() ... "], "", "", ["core"]]], cfg)
parser = OptionParser();
-
+
+ # Get configuration parameters from environment variables
+ for i in cfg:
+ if i in os.environ:
+ cfg[i][0] = os.environ[i]
+
# Enable disable libraries for linking
parser.add_option("-e", "--enable", dest="enable", action="append",
help="force enable library linking", metavar="libfoo")
-----------------------------------------------------------------------
Summary of changes:
configure | 7 ++++++-
1 files changed, 6 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 7ed201b00c522cc717ae55bc2e801cbceecccc8c (commit)
from 14a7c31c3b039f035cbb271888cc5fa44c578802 (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/7ed201b00c522cc717ae55bc2e801cbceecc…
commit 7ed201b00c522cc717ae55bc2e801cbceecccc8c
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Sun Mar 10 17:13:08 2013 +0100
tests: filters: Fix coverage filter params.
For the rotation filters the rotated context
must fit into the destination, fix this for
now by making the predefined context square.
diff --git a/tests/filters/APICoverage.gen.c.t b/tests/filters/APICoverage.gen.c.t
index 32dfd0e..fdffabe 100644
--- a/tests/filters/APICoverage.gen.c.t
+++ b/tests/filters/APICoverage.gen.c.t
@@ -97,7 +97,7 @@
]
%% macro prep_context(id, pt)
- GP_Context *{{ id }} = GP_ContextAlloc(113, 900, GP_PIXEL_{{ pt.name }});
+ GP_Context *{{ id }} = GP_ContextAlloc(331, 331, GP_PIXEL_{{ pt.name }});
%% endmacro
%% macro prep_float(id)
-----------------------------------------------------------------------
Summary of changes:
tests/filters/APICoverage.gen.c.t | 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.")