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 d87921f9670a726993a5bfd756e3ae09a3ba83ed (commit)
from 75851e6234cc1c67c2c0bf730ef434ebf43227fe (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/d87921f9670a726993a5bfd756e3ae09a3ba…
commit d87921f9670a726993a5bfd756e3ae09a3ba83ed
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Thu Nov 22 17:38:24 2012 +0100
loaders: Avoid further work when loader issued ENOSYS.
diff --git a/libs/loaders/GP_Loader.c b/libs/loaders/GP_Loader.c
index 3d626a6..4966757 100644
--- a/libs/loaders/GP_Loader.c
+++ b/libs/loaders/GP_Loader.c
@@ -255,6 +255,13 @@ GP_Context *GP_LoadImage(const char *src_path, GP_ProgressCallback *callback)
return img;
}
+ /*
+ * Avoid further work if signature was correct but the loader issued
+ * ENOSYS.
+ */
+ if (errno == ENOSYS)
+ return NULL;
+
sig_load = loader_by_signature(src_path);
if (ext_load && sig_load) {
-----------------------------------------------------------------------
Summary of changes:
libs/loaders/GP_Loader.c | 7 +++++++
1 files changed, 7 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 75851e6234cc1c67c2c0bf730ef434ebf43227fe (commit)
from 9d337186e86fbed784c7a616d9a41c969c079e61 (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/75851e6234cc1c67c2c0bf730ef434ebf432…
commit 75851e6234cc1c67c2c0bf730ef434ebf43227fe
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Wed Nov 21 23:43:54 2012 +0100
gfx: Fix "no newline at the end of file" warnings.
diff --git a/include/gfx/GP_AngleUtils.h b/include/gfx/GP_AngleUtils.h
index f896b37..6d8bd67 100644
--- a/include/gfx/GP_AngleUtils.h
+++ b/include/gfx/GP_AngleUtils.h
@@ -27,4 +27,4 @@
double GP_NormalizeAngle(double phi);
int GP_AngleInRange(double angle, double start, double end);
-#endif
No newline at end of file
+#endif
diff --git a/libs/gfx/GP_AngleUtils.c b/libs/gfx/GP_AngleUtils.c
index f1c279b..67911b4 100644
--- a/libs/gfx/GP_AngleUtils.c
+++ b/libs/gfx/GP_AngleUtils.c
@@ -46,4 +46,4 @@ int GP_AngleInRange(double angle, double start, double end)
return (angle >= start && angle <= 2*M_PI)
|| (angle >= 0 && angle <= end);
}
-}
No newline at end of file
+}
-----------------------------------------------------------------------
Summary of changes:
include/gfx/GP_AngleUtils.h | 2 +-
libs/gfx/GP_AngleUtils.c | 2 +-
2 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 9d337186e86fbed784c7a616d9a41c969c079e61 (commit)
from 253ef469ede882b4b2bea7d25661d50fdda8d767 (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/9d337186e86fbed784c7a616d9a41c969c07…
commit 9d337186e86fbed784c7a616d9a41c969c079e61
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Wed Nov 21 23:39:49 2012 +0100
tests: framework: Silence stderr when lscpu is not found.
diff --git a/tests/framework/tst_log.c b/tests/framework/tst_log.c
index 9daec17..cc86b6f 100644
--- a/tests/framework/tst_log.c
+++ b/tests/framework/tst_log.c
@@ -444,7 +444,7 @@ static void write_system_info_json(FILE *f)
fprintf(f, "tt"CPU": {");
/* lscpu is part of reasonably new util-linux */
- FILE *cmd = popen("lscpu", "r");
+ FILE *cmd = popen("lscpu 2> /dev/null", "r");
if (cmd != NULL) {
char id[256], val[1024];
-----------------------------------------------------------------------
Summary of changes:
tests/framework/tst_log.c | 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 253ef469ede882b4b2bea7d25661d50fdda8d767 (commit)
from 22301c3c370f269b10b84582ee524b46abf70019 (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/253ef469ede882b4b2bea7d25661d50fdda8…
commit 253ef469ede882b4b2bea7d25661d50fdda8d767
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Wed Nov 21 23:32:14 2012 +0100
tests: Remove forgotten -lSDL
diff --git a/tests/drivers/Makefile b/tests/drivers/Makefile
index c2d2679..3a028d8 100644
--- a/tests/drivers/Makefile
+++ b/tests/drivers/Makefile
@@ -2,7 +2,7 @@ TOPDIR=../..
CSOURCES=$(shell echo *.c)
-LDLIBS+=-lGP -lGP_backends -lSDL -L$(TOPDIR)/build/
+LDLIBS+=-lGP -lGP_backends -L$(TOPDIR)/build/
APPS=$(CSOURCES:.c=)
-----------------------------------------------------------------------
Summary of changes:
tests/drivers/Makefile | 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 22301c3c370f269b10b84582ee524b46abf70019 (commit)
from ec5c8093c73872736480da4c97cbce5245fd6dc5 (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/22301c3c370f269b10b84582ee524b46abf7…
commit 22301c3c370f269b10b84582ee524b46abf70019
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Wed Nov 21 23:29:15 2012 +0100
loaders: Provide GP_MatchXXX ENOSYS stubs.
diff --git a/libs/loaders/GP_GIF.c b/libs/loaders/GP_GIF.c
index c4e2d2e..8eba747 100644
--- a/libs/loaders/GP_GIF.c
+++ b/libs/loaders/GP_GIF.c
@@ -358,6 +358,12 @@ GP_Context *GP_LoadGIF(const char *src_path, GP_ProgressCallback *callback)
#else
+int GP_MatchGIF(const void GP_UNUSED(*buf))
+{
+ errno = ENOSYS;
+ return -1;
+}
+
int GP_OpenGIF(const char GP_UNUSED(*src_path),
void GP_UNUSED(**f))
{
diff --git a/libs/loaders/GP_JPG.c b/libs/loaders/GP_JPG.c
index bc47c4b..0e04ce6 100644
--- a/libs/loaders/GP_JPG.c
+++ b/libs/loaders/GP_JPG.c
@@ -407,6 +407,12 @@ err0:
#else
+int GP_MatchJPG(const void GP_UNUSED(*buf))
+{
+ errno = ENOSYS;
+ return -1;
+}
+
int GP_OpenJPG(const char GP_UNUSED(*src_path), FILE GP_UNUSED(**f))
{
errno = ENOSYS;
diff --git a/libs/loaders/GP_PNG.c b/libs/loaders/GP_PNG.c
index 275d4be..87d9eca 100644
--- a/libs/loaders/GP_PNG.c
+++ b/libs/loaders/GP_PNG.c
@@ -551,6 +551,12 @@ err0:
#else
+int GP_MatchPNG(const void GP_UNUSED(*buf))
+{
+ errno = ENOSYS;
+ return -1;
+}
+
int GP_OpenPNG(const char GP_UNUSED(*src_path),
FILE GP_UNUSED(**f))
{
-----------------------------------------------------------------------
Summary of changes:
libs/loaders/GP_GIF.c | 6 ++++++
libs/loaders/GP_JPG.c | 6 ++++++
libs/loaders/GP_PNG.c | 6 ++++++
3 files changed, 18 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 ec5c8093c73872736480da4c97cbce5245fd6dc5 (commit)
from a1c7fb9eab833787770f97497d38a17799d490c8 (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/ec5c8093c73872736480da4c97cbce5245fd…
commit ec5c8093c73872736480da4c97cbce5245fd6dc5
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Wed Nov 21 23:16:29 2012 +0100
filters: Silence wrongly generated warnings.
Some older gcc wrongly thinks that x and y
are used uninitialized. Silence the warning
by initializing them to 0.
diff --git a/include/filters/GP_HilbertCurve.h b/include/filters/GP_HilbertCurve.h
index fecac22..f5283c8 100644
--- a/include/filters/GP_HilbertCurve.h
+++ b/include/filters/GP_HilbertCurve.h
@@ -55,7 +55,11 @@ static inline void GP_HilbertCurveInit(struct GP_CurveState *state, int n)
static inline void GP_HilbertCurveGetXY(struct GP_CurveState *state)
{
int sa, sb;
- unsigned int i, temp, x, y;
+ /*
+ * Older gcc thinks that x and y are used uninitialized that is not
+ * true so we silence the warning by initializing them.
+ */
+ unsigned int i, temp, x = 0, y = 0;
for (i = 0; i < 2 * state->n; i += 2) {
sa = (state->s >> (i+1)) & 0x01;
-----------------------------------------------------------------------
Summary of changes:
include/filters/GP_HilbertCurve.h | 6 +++++-
1 files changed, 5 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 a1c7fb9eab833787770f97497d38a17799d490c8 (commit)
via 6a14d2a8a7056ffdf6ed6ee04b2a441795d38b5f (commit)
from d2cdbe621395f3e2f5cf5f814491a33f814bb4eb (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/a1c7fb9eab833787770f97497d38a17799d4…
commit a1c7fb9eab833787770f97497d38a17799d490c8
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Wed Nov 21 23:08:36 2012 +0100
tests: framework: Include correct header for malloc
diff --git a/tests/framework/tst_alloc_barriers.c b/tests/framework/tst_alloc_barriers.c
index c5aa7ad..315480e 100644
--- a/tests/framework/tst_alloc_barriers.c
+++ b/tests/framework/tst_alloc_barriers.c
@@ -22,7 +22,7 @@
#include <stdio.h>
#include <sys/mman.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <unistd.h>
#include "tst_alloc_barriers.h"
http://repo.or.cz/w/gfxprim.git/commit/6a14d2a8a7056ffdf6ed6ee04b2a441795d3…
commit 6a14d2a8a7056ffdf6ed6ee04b2a441795d38b5f
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Wed Nov 21 23:07:35 2012 +0100
core: Remove unused include endian.h
diff --git a/include/core/GP_WritePixel.h b/include/core/GP_WritePixel.h
index 18a4ef6..0d1a875 100644
--- a/include/core/GP_WritePixel.h
+++ b/include/core/GP_WritePixel.h
@@ -26,7 +26,6 @@
#ifndef GP_WRITEPIXEL_H
#define GP_WRITEPIXEL_H
-#include <endian.h>
#include <stdint.h>
#include <unistd.h>
-----------------------------------------------------------------------
Summary of changes:
include/core/GP_WritePixel.h | 1 -
tests/framework/tst_alloc_barriers.c | 2 +-
2 files changed, 1 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.")