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 c5d73272e61f6d7a05a971d02480660c388bfdd2 (commit)
from bf32d686502d8dbe4dd7474250de61aca595cb4a (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/c5d73272e61f6d7a05a971d02480660c388b…
commit c5d73272e61f6d7a05a971d02480660c388bfdd2
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Sun Apr 21 23:56:39 2013 +0200
spiv: image_list: Fix order on img_prev()
Now we go backwards in directories too.
Signed-off-by: Cyril Hrubis <metan(a)ucw.cz>
diff --git a/demos/spiv/image_list.c b/demos/spiv/image_list.c
index fd35669..d015a21 100644
--- a/demos/spiv/image_list.c
+++ b/demos/spiv/image_list.c
@@ -152,6 +152,7 @@ static void prev_img(struct image_list *self)
}
}
+ /* If we are at first image -> wrap around argv */
if (self->cur_arg == 0)
self->cur_arg = self->max_arg - 1;
else
@@ -159,6 +160,10 @@ static void prev_img(struct image_list *self)
try_load_dir(self);
+ /* if in directory, select last image in it */
+ if (self->in_dir)
+ self->cur_file = self->max_file - 1;
+
self->path_loaded = 0;
}
-----------------------------------------------------------------------
Summary of changes:
demos/spiv/image_list.c | 5 +++++
1 files changed, 5 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.")
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 bf32d686502d8dbe4dd7474250de61aca595cb4a (commit)
from 36897a7fd85040415ebeeb0123e13bf9017bd86c (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/bf32d686502d8dbe4dd7474250de61aca595…
commit bf32d686502d8dbe4dd7474250de61aca595cb4a
Author: Tomas Gavenciak <gavento(a)ucw.cz>
Date: Sun Apr 21 19:33:25 2013 +0200
tests: fix HTML-gen sh script (dash compatibility)
diff --git a/tests/framework/res2html.sh b/tests/framework/res2html.sh
index 2c10a29..7141919 100755
--- a/tests/framework/res2html.sh
+++ b/tests/framework/res2html.sh
@@ -6,7 +6,7 @@
resdir=$1
-function die()
+die()
{
echo ""
echo "* ERROR * ERROR * ERROR * ERROR * ERROR * ERROR *"
-----------------------------------------------------------------------
Summary of changes:
tests/framework/res2html.sh | 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 0825f7c5af179314d44a5ce71e5928cff7d5209b (commit)
from bb4ceb0a3292d5eebec518820141e1690142585d (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/0825f7c5af179314d44a5ce71e5928cff7d5…
commit 0825f7c5af179314d44a5ce71e5928cff7d5209b
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Sun Apr 21 13:00:23 2013 +0200
doc: Update and reformat implemented filters tables
Signed-off-by: Cyril Hrubis <metan(a)ucw.cz>
diff --git a/doc/general.txt b/doc/general.txt
index 260e186..a8b6438 100644
--- a/doc/general.txt
+++ b/doc/general.txt
@@ -129,12 +129,12 @@ image filters.
.Currently Implemented Linear Filters
[width="100%",options="header"]
|=============================================================================
-| Filter Name | Supported Pixel Type | Mutithreaded
-| Convolution | RGB888 | Yes
-| Separable Convolution | RGB888 | Yes
-| Gaussian Blur | RGB888 | Yes
-| Sobel Edge Detection | RGB888 | Yes
-| Prewitt Edge Detection | RGB888 | Yes
+| Filter Name | Supported Pixel Type | Mutithreaded
+| Convolution | RGB888 | Yes
+| Separable Convolution | RGB888 | Yes
+| Gaussian Blur | RGB888 | Yes
+| Sobel Edge Detection | RGB888 | Yes
+| Prewitt Edge Detection | RGB888 | Yes
|=============================================================================
NOTE: Linear filters are implemented using generic convolution filters, once
@@ -155,41 +155,41 @@ NOTE: Linear filters are implemented using generic convolution filters, once
.Currently Implemented Ditherings
[width="100%",options="header"]
|=============================================================================
-| Filter Name | Supported Pixel Type | Multithreaded
-| Floyd Steinberg | RGB888 -> Any | No
-| Hilbert Peano | RGB888 -> Any | No
+| Filter Name | Supported Pixel Type | Multithreaded
+ | Floyd Steinberg | RGB888 -> Any | No
+| Hilbert Peano | RGB888 -> Any | No
|=============================================================================
.Currently Implemented Resamplings
[width="100%",options="header"]
|=============================================================================
-| Filter Name | Supported Pixel Type | Multithreaded
-| Nearest Neighbour | All | No
-| Bilinear (Integer Arithmetics) | RGB888 | No
-| Bicubic (Integer Arithmetics) | All | No
-| Bicubic (Float Arithmetics) | RGB888 | No
+| Filter Name | Supported Pixel Type | Multithreaded
+| Nearest Neighbour | All | No
+| Bilinear (Integer Arithmetics) | All | No
+| Bicubic (Integer Arithmetics) | All | No
+| Bicubic (Float Arithmetics) | RGB888 | No
|=============================================================================
.Rotation and mirroring
[width="100%",options="header"]
|=============================================================================
-| Filter Name | Supported Pixel Type | Multithreaded
-| Rotate 90 | All | No
-| Rotate 180 | All | No
-| Rotate 270 | All | No
-| Mirror Vertically | All | No
-| Mirror Horizontally | All | No
+| Filter Name | Supported Pixel Type | Multithreaded
+| Rotate 90 | All | No
+| Rotate 180 | All | No
+| Rotate 270 | All | No
+| Mirror Vertically | All | No
+| Mirror Horizontally | All | No
|=============================================================================
.Misc filters
[width="100%",options="header"]
|=============================================================================
-| Filter Name | Supported Pixel Type | Multithreaded
-| Histogram | All | No
-| Additive Gaussian Noise | All | No
-| Median | RGB888 | No
-| Weighted Median | RGB888 | No
-| Sigma Lee | RGB888 | No
+| Filter Name | Supported Pixel Type | Multithreaded
+| Histogram | All | No
+| Additive Gaussian Noise | All | No
+| Median | RGB888 | No
+| Weighted Median | RGB888 | No
+| Sigma Lee | RGB888 | No
|=============================================================================
Backends
-----------------------------------------------------------------------
Summary of changes:
doc/general.txt | 52 ++++++++++++++++++++++++++--------------------------
1 files changed, 26 insertions(+), 26 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 d20e72b9039d42747114efd7fa188d9ae416ab4a (commit)
via a7351900dbacf08c27745b443dbac747f82112fd (commit)
from 3b3c1affc1f82aacdad1116ab6838aea6dd18a7a (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/d20e72b9039d42747114efd7fa188d9ae416…
commit d20e72b9039d42747114efd7fa188d9ae416ab4a
Author: Tomas Gavenciak <gavento(a)ucw.cz>
Date: Sat Apr 20 01:05:01 2013 +0200
pytest: fix AA test parameters (float->fixpoint)
diff --git a/tests/pylib/test_gfx.py b/tests/pylib/test_gfx.py
index 9b854cb..ac5ec2c 100644
--- a/tests/pylib/test_gfx.py
+++ b/tests/pylib/test_gfx.py
@@ -30,24 +30,24 @@ gfx_params = {
'FillEllipse': 'IIIIP',
'FillPolygon': ([(0,0),(1,1),(1,0)], 0, {}),
'FillRect': 'IIIIP',
- 'FillRect_AA': 'FFFFP',
+ 'FillRect_AA': 'IIIIP', # Fixpoint, originally 'FFFFP'
'FillRing': 'IIIIP',
'FillSymbol': '0IIIIP',
'FillTetragon': 'IIIIIIIIP',
'FillTriangle': 'IIIIIIP',
'HLine': 'IIIP',
- 'HLineAA': 'FFFP',
+ 'HLineAA': 'IIIP', # Fixpoint, originally 'FFFP'
'Line': 'IIIIP',
- 'LineAA': 'FFFFP',
+ 'LineAA': 'IIIIP', # Fixpoint, originally 'FFFFP'
'Polygon': ([(0,0),(1,1),(1,0)], 0, {}),
- 'PutPixelAA': 'FFP',
+ 'PutPixelAA': 'IIP', # Fixpoint, originally 'FFP'
'Rect': 'IIIIP',
'Ring': 'IIIIP',
'Symbol': '0IIIIP',
'Tetragon': 'IIIIIIIIP',
'Triangle': 'IIIIIIP',
'VLine': 'IIIP',
- 'VLineAA': 'FFFP',
+ 'VLineAA': 'IIIP', # Fixpoint, originally 'FFFP'
}
http://repo.or.cz/w/gfxprim.git/commit/a7351900dbacf08c27745b443dbac747f821…
commit a7351900dbacf08c27745b443dbac747f82112fd
Author: Tomas Gavenciak <gavento(a)ucw.cz>
Date: Sat Apr 20 01:04:11 2013 +0200
pytest: Fix Blit with alpha channel test
diff --git a/tests/pylib/test_core.py b/tests/pylib/test_core.py
index 80d0408..894695a 100644
--- a/tests/pylib/test_core.py
+++ b/tests/pylib/test_core.py
@@ -104,6 +104,12 @@ def test_blit_vs_convert_to_RGB888(t):
raise SkipTest("Palette conversions are TODO")
c = ContextRand(42, 43, t, seed=0)
c2a = ContextRand(c.w, c.h, core.C.PIXEL_RGB888, seed=42)
+ if 'A' in t.name:
+ try:
+ import gfxprim.gfx
+ except ImportError:
+ raise SkipTest("Could not import gfx for core test")
+ c2a.gfx.Fill(0)
c2b = c.Convert(core.C.PIXEL_RGB888)
c.Blit(0, 0, c2a, 0, 0, w=c.w, h=c.h)
assert c2a == c2b
-----------------------------------------------------------------------
Summary of changes:
tests/pylib/test_core.py | 6 ++++++
tests/pylib/test_gfx.py | 10 +++++-----
2 files changed, 11 insertions(+), 5 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 3b3c1affc1f82aacdad1116ab6838aea6dd18a7a (commit)
from 93fe2dde68b7eb9a2d22c4006e5c9d03c4e2485c (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/3b3c1affc1f82aacdad1116ab6838aea6dd1…
commit 3b3c1affc1f82aacdad1116ab6838aea6dd18a7a
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Sat Apr 20 00:48:35 2013 +0200
build: Revert the python suffix back to .so
Fixes build for python2.7
Signed-off-by: Cyril Hrubis <metan(a)ucw.cz>
diff --git a/pywrap.mk b/pywrap.mk
index 1cd89e5..9b4fcba 100644
--- a/pywrap.mk
+++ b/pywrap.mk
@@ -6,7 +6,8 @@ ifdef SWIG
ifdef PYTHON_CONFIG
INCLUDES+=$(addprefix -I$(TOPDIR)/include/, $(INCLUDE))
-PY_SUFFIX=$(shell $(PYTHON_CONFIG) --extension-suffix)
+#PY_SUFFIX=$(shell $(PYTHON_CONFIG) --extension-suffix)
+PY_SUFFIX=.so
SWIG_SRC=$(LIBNAME).i
SWIG_C=$(LIBNAME)_wrap.c
-----------------------------------------------------------------------
Summary of changes:
pywrap.mk | 3 ++-
1 files changed, 2 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.")