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 9616b4dac5b3d857003e4be82328b689b4d5194d (commit)
from c4b2c1ed8cf06687ca6a06ab796b7a46ca77208d (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/9616b4dac5b3d857003e4be82328b689b4d5…
commit 9616b4dac5b3d857003e4be82328b689b4d5194d
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Sun Apr 7 23:33:50 2013 +0200
build: Update list of loaders symbols.
Signed-off-by: Cyril Hrubis <metan(a)ucw.cz>
diff --git a/build/syms/Loaders_symbols.txt b/build/syms/Loaders_symbols.txt
index 5d56104..683c410 100644
--- a/build/syms/Loaders_symbols.txt
+++ b/build/syms/Loaders_symbols.txt
@@ -1,3 +1,6 @@
+GP_FWrite
+GP_FRead
+
GP_MatchJPG
GP_OpenJPG
GP_ReadJPG
@@ -18,6 +21,7 @@ GP_MatchBMP
GP_OpenBMP
GP_LoadBMP
GP_ReadBMP
+GP_SaveBMP
GP_MatchPSP
GP_OpenPSP
-----------------------------------------------------------------------
Summary of changes:
build/syms/Loaders_symbols.txt | 4 ++++
1 files changed, 4 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 c4b2c1ed8cf06687ca6a06ab796b7a46ca77208d (commit)
via 029a50e8bb82d282b92f16a123eb1529455bbf89 (commit)
from 3ae34478305da75d4c561719c3f458a6814a8b78 (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/c4b2c1ed8cf06687ca6a06ab796b7a46ca77…
commit c4b2c1ed8cf06687ca6a06ab796b7a46ca77208d
Merge: 3ae3447 029a50e
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Sun Apr 7 22:50:17 2013 +0200
Merge ssh://192.168.1.100/home/metan/Devel/gfxprim
http://repo.or.cz/w/gfxprim.git/commit/029a50e8bb82d282b92f16a123eb1529455b…
commit 029a50e8bb82d282b92f16a123eb1529455bbf89
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Sun Apr 7 22:37:42 2013 +0200
doc: general: Update supported image formats.
Signed-off-by: Cyril Hrubis <metan(a)ucw.cz>
diff --git a/doc/general.txt b/doc/general.txt
index 34bc888..260e186 100644
--- a/doc/general.txt
+++ b/doc/general.txt
@@ -89,6 +89,12 @@ images into various standard formats (PNG, JPEG, GIF, BMP, PNM, etc...).
| BMP | |
[green]*Yes* |
[green]#RLE and RGB Bitfields not implemented# |
+ [green]#RGB888 only#
+
+| TIFF |
+ Tagged Image File Format |
+ [green]*Yes* |
+ [gray]#Not finished# |
[black]*No*
| PSP |
-----------------------------------------------------------------------
Summary of changes:
doc/general.txt | 6 ++++++
1 files changed, 6 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 3ae34478305da75d4c561719c3f458a6814a8b78 (commit)
from c23cf7d15a7d1535d837b81022cc9d41ac095f2f (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/3ae34478305da75d4c561719c3f458a6814a…
commit 3ae34478305da75d4c561719c3f458a6814a8b78
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Sun Apr 7 19:47:32 2013 +0200
libs: loaders: GP_Load() Fix.
Return NULL when extension loader failed and signature loader matches
the extension loader.
This fixes the wrong extension warning once for all.
Signed-off-by: Cyril Hrubis <metan(a)ucw.cz>
diff --git a/libs/loaders/GP_Loader.c b/libs/loaders/GP_Loader.c
index f084576..07ef69c 100644
--- a/libs/loaders/GP_Loader.c
+++ b/libs/loaders/GP_Loader.c
@@ -277,15 +277,15 @@ GP_Context *GP_LoadImage(const char *src_path, GP_ProgressCallback *callback)
return img;
}
+ sig_load = loader_by_signature(src_path);
+
/*
- * Avoid further work if signature was correct but the loader issued
- * ENOSYS or ECANCELED.
+ * Avoid further work if extension matches the signature but image
+ * couldn't be loaded. Probably unimplemented format or damaged file.
*/
- if (ext_load != NULL && (errno == ENOSYS || errno == ECANCELED))
+ if (ext_load == sig_load)
return NULL;
- sig_load = loader_by_signature(src_path);
-
if (ext_load && sig_load) {
GP_WARN("File '%s': Extension says %s but signature %s",
src_path, ext_load->fmt_name, sig_load->fmt_name);
-----------------------------------------------------------------------
Summary of changes:
libs/loaders/GP_Loader.c | 10 +++++-----
1 files changed, 5 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 4a5f6e9c0502172948711721b8b455f0a0d0baec (commit)
via 8399da4d8c0369435e60b0b1bd9cef99e34e558e (commit)
from 223fd9830a04557d0efe63b9d3df692867532af0 (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/4a5f6e9c0502172948711721b8b455f0a0d0…
commit 4a5f6e9c0502172948711721b8b455f0a0d0baec
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Sun Apr 7 10:34:29 2013 +0200
backends: FB: Remove invalid close()
The file descriptor is not open if open() has failed.
Signed-off-by: Cyril Hrubis <metan(a)ucw.cz>
diff --git a/libs/backends/GP_LinuxFB.c b/libs/backends/GP_LinuxFB.c
index 38d9ae4..54516d9 100644
--- a/libs/backends/GP_LinuxFB.c
+++ b/libs/backends/GP_LinuxFB.c
@@ -92,7 +92,6 @@ static int allocate_console(struct fb_priv *fb, int flag)
if (fd < 0) {
GP_DEBUG(1, "Opening console %s failed: %s",
buf, strerror(errno));
- close(fd);
return -1;
}
http://repo.or.cz/w/gfxprim.git/commit/8399da4d8c0369435e60b0b1bd9cef99e34e…
commit 8399da4d8c0369435e60b0b1bd9cef99e34e558e
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Sun Apr 7 10:33:16 2013 +0200
backends: BackendInit: Don't set errno on all failures.
This makes possible to propagate the errno from backends.
Signed-off-by: Cyril Hrubis <metan(a)ucw.cz>
diff --git a/libs/backends/GP_BackendInit.c b/libs/backends/GP_BackendInit.c
index 5ae1615..1234a1c 100644
--- a/libs/backends/GP_BackendInit.c
+++ b/libs/backends/GP_BackendInit.c
@@ -64,6 +64,7 @@ static int sdl_params_to_flags(const char *param, GP_Size *w, GP_Size *h,
}
backend_sdl_help(help, "SDL: Invalid parameters");
+ errno = EINVAL;
return 1;
}
@@ -181,6 +182,7 @@ static int x11_params_to_flags(const char *param, GP_Size *w, GP_Size *h,
}
backend_x11_help(help, "X11: Invalid parameters");
+ errno = EINVAL;
return 1;
}
@@ -284,9 +286,6 @@ static GP_Backend *init_backend(const char *name, char *params,
ret = backend_inits[i](params, caption, help);
- if (ret == NULL)
- errno = EINVAL;
-
return ret;
}
-----------------------------------------------------------------------
Summary of changes:
libs/backends/GP_BackendInit.c | 5 ++---
libs/backends/GP_LinuxFB.c | 1 -
2 files changed, 2 insertions(+), 4 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 223fd9830a04557d0efe63b9d3df692867532af0 (commit)
from f8f30d3d8fef42b8abac47b127f1daa9ca4ac80f (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/223fd9830a04557d0efe63b9d3df69286753…
commit 223fd9830a04557d0efe63b9d3df692867532af0
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Sun Apr 7 00:35:16 2013 +0200
pywrap: backends: Fix the typemap BackendInit() hack.
Signed-off-by: Cyril Hrubis <metan(a)ucw.cz>
diff --git a/pylib/gfxprim/backends/backends.i b/pylib/gfxprim/backends/backends.i
index f8ef6d4..6e5dc44 100644
--- a/pylib/gfxprim/backends/backends.i
+++ b/pylib/gfxprim/backends/backends.i
@@ -67,15 +67,15 @@ ERROR_ON_NULL(GP_BackendLinuxX11Init);
return NULL;
}
- $1 = fdopen(fd, "w");
+ $1 = fdopen(dup(fd), "w");
}
}
%exception GP_BackendInit {
$action
- //HACK: free the FILE*
- free(arg3);
+ //HACK: fclose the FILE*
+ fclose(arg3);
if (result == NULL)
return PyErr_SetFromErrno(PyExc_OSError);
-----------------------------------------------------------------------
Summary of changes:
pylib/gfxprim/backends/backends.i | 6 +++---
1 files changed, 3 insertions(+), 3 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.")