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 2a5a7b89fa7ccb27b25011cc0d1c7456832db0b0 (commit) via b8d50356877fa333d66f8c1b1383d66ab1e75b27 (commit) via e27171add7b10d809d604f695d2f9a07f7b178b4 (commit) from f8594e7a88faed4ad18a511ce7e814963dbc50e9 (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/2a5a7b89fa7ccb27b25011cc0d1c7456832db...
commit 2a5a7b89fa7ccb27b25011cc0d1c7456832db0b0 Author: Cyril Hrubis metan@ucw.cz Date: Tue Dec 24 15:47:50 2013 +0100
GFXprim 1.0.0-rc1
Signed-off-by: Cyril Hrubis metan@ucw.cz
diff --git a/doc/Makefile b/doc/Makefile index 2b0721b..05ae191 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -5,7 +5,7 @@ SOURCES=index.html about.txt context.txt loaders.txt filters.txt get_put_pixel.txt blits.txt progress_callback.txt text.txt event_queue.txt compilation.txt filters_resize.txt filters_dithering.txt filters_python.txt spiv.txt core_common.txt - convert.txt + convert.txt news_1_0_0-rc1.txt
SOURCES+=core_python.txt gfx_python.txt loaders_python.txt backends_python.txt
diff --git a/doc/asciidoc.conf b/doc/asciidoc.conf index 1191a13..4cca66e 100644 --- a/doc/asciidoc.conf +++ b/doc/asciidoc.conf @@ -77,7 +77,7 @@ ifdef::toc2[<link rel="stylesheet" href="{stylesdir=.}/toc2.css" type="text/css" </div> <div> </div> <div id="footer"> - Current release is <em>1.0.0-rc0</em>. + Current release is <em>1.0.0-rc1</em>. </div> </div> </div> diff --git a/doc/index.txt b/doc/index.txt index 4c3dff5..cb3302b 100644 --- a/doc/index.txt +++ b/doc/index.txt @@ -40,8 +40,22 @@ https://github.com/gfxprim/gfxprim/issues%5Bissue tracker]. News ----
-The GFXprim version 1.0.0-rc0 has been released! -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +The GFXprim 1.0.0-rc1 has been released! +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +See what is link:news_1_0_0-rc1.html[new]. + +Download the +http://gfxprim.ucw.cz/releases/gfxprim_1.0.0-rc1.tar.bz2%5B1.0.0-rc1] tarball (without docs). + +Get rpm packages (for RedHat and SUSE) from +https://build.opensuse.org/package/show/home:metan/gfxprim%5Bbuildservice]. + +Or download prebuild Debian +http://gfxprim.ucw.cz/packages/debian/wheezy/%5Bamd64 Wheezy packages]. + +The GFXprim 1.0.0-rc1 has been released! +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Download http://gfxprim.ucw.cz/releases/gfxprim_1.0.0-rc0.tar.bz2%5B1.0.0-rc0] tarball (without docs). diff --git a/doc/news_1_0_0-rc1.txt b/doc/news_1_0_0-rc1.txt new file mode 100644 index 0000000..f07240b --- /dev/null +++ b/doc/news_1_0_0-rc1.txt @@ -0,0 +1,74 @@ +News for 1.0.0-rc1 +------------------ + +General changes +~~~~~~~~~~~~~~~ + +* 333 patches since 1.0.0-rc0 +* Plenty of bugfixes +* New pages and nearly finished documentation +* More automatic testcases +* Initial debian packaging + (thanks to Petr Baudis) + +Core +~~~~ + +* Added support for CMYK and 16 bit Grayscale bitmaps + +Loaders +~~~~~~~ + +* LineConvert was written for automatic conversions of pixel types + with exacly same channels but different orgaization + (such as between RGB888, BGR888 and xRGB888). +* BMP loader gained support for less common formats such as RGB555, RLE8 +* PNM loaders were rewritten from scratch +* PNG loader gained support for 16 bit Grayscale + +New loaders +^^^^^^^^^^^ +* TIFF loader and saver +* JPEG 2000 loader +* CBZ loader (more general ZIP container) + +Filters +~~~~~~~ + +* Most of the filters are now templatized and build for all configured pixel +types. +* Point filters were reimplemented to be simpler, more generic and faster. + +Backends +~~~~~~~~ + +* Backends now support link:backends.html#Timers[timers] +* X11 and SDL video backends are now thread safe and deadlock free (hopefully) +* Linux framebuffer backend was improved +* Basic AALib backend was written (which is not much usefull but it brings + warm memories). + +Python bindings +~~~~~~~~~~~~~~~ + +* Python bindings were updated and polished +* Python arrays are converted to C arrays before passing to filters + (for example when passed as a convolution kernel) +* All functions with callback parameter can now pass + link:core_python.html#Progress_Callback[python function] + as a callback +* Documentation and examples were greatly improved + +spiv +~~~~ + +The image viewer build on the top of the library has became full featured +application. The user interface is still a bit clunky (you can help to make it +better too) but apart from that it's fast and stable now. + +Among other things following was added: + +- feh like actions +- a man page +- different zoom and window modes +- configuration file diff --git a/include/core/GP_Version.h b/include/core/GP_Version.h index cb7c944..110e18c 100644 --- a/include/core/GP_Version.h +++ b/include/core/GP_Version.h @@ -38,6 +38,6 @@
#define GP_VER_STR GP_STRX(GP_VER_MAJOR) "." GP_STRX(GP_VER_MINOR) "." - GP_STRX(GP_VER_MICRO) "-rc0" + GP_STRX(GP_VER_MICRO) "-rc1"
#endif /* CORE_GP_VERSION_H */
http://repo.or.cz/w/gfxprim.git/commit/b8d50356877fa333d66f8c1b1383d66ab1e75...
commit b8d50356877fa333d66f8c1b1383d66ab1e75b27 Author: Cyril Hrubis metan@ucw.cz Date: Tue Dec 24 16:12:09 2013 +0100
demos: c_simple: Small cleanup.
Signed-off-by: Cyril Hrubis metan@ucw.cz
diff --git a/demos/c_simple/SDL_glue.c b/demos/c_simple/SDL_glue.c index 2260c22..a613159 100644 --- a/demos/c_simple/SDL_glue.c +++ b/demos/c_simple/SDL_glue.c @@ -19,7 +19,7 @@ * Copyright (C) 2009-2010 Jiri "BlueBear" Dluhos * * jiri.bluebear.dluhos@gmail.com * * * - * Copyright (C) 2009-2012 Cyril Hrubis metan@ucw.cz * + * Copyright (C) 2009-2013 Cyril Hrubis metan@ucw.cz * * * *****************************************************************************/
@@ -49,6 +49,9 @@ void redraw_screen(void)
GP_Fill(&context, black_pixel);
+ GP_Text(&context, NULL, W/2, 20, GP_ALIGN_CENTER | GP_VALIGN_BELOW, + darkgray_pixel, black_pixel, "GFXprim SDL Demo"); + GP_Line(&context, 0, 0, W-1, H-1, darkgray_pixel); GP_Line(&context, 0, H-1, W-1, 0, darkgray_pixel);
@@ -93,7 +96,8 @@ int main(void)
if (display == NULL) { fprintf(stderr, "Could not open display: %sn", SDL_GetError()); - goto fail; + SDL_Quit(); + return 1; }
GP_ContextFromSDLSurface(&context, display); @@ -108,9 +112,5 @@ int main(void)
SDL_Quit(); return 0; - -fail: - SDL_Quit(); - return 1; }
diff --git a/demos/c_simple/backend_example.c b/demos/c_simple/backend_example.c index 6bb97f1..651ffff 100644 --- a/demos/c_simple/backend_example.c +++ b/demos/c_simple/backend_example.c @@ -26,6 +26,7 @@
*/
+#include <stdio.h> #include <GP.h>
static void redraw(GP_Backend *self) @@ -65,9 +66,6 @@ int main(int argc, char *argv[]) } }
- /* Turn on debug messages */ - GP_SetDebugLevel(10); - backend = GP_BackendInit(backend_opts, "Backend Example");
if (backend == NULL) { diff --git a/demos/c_simple/backend_timers_example.c b/demos/c_simple/backend_timers_example.c index 8a592be..8d860e5 100644 --- a/demos/c_simple/backend_timers_example.c +++ b/demos/c_simple/backend_timers_example.c @@ -26,6 +26,7 @@
*/
+#include <stdio.h> #include <GP.h>
static void redraw(GP_Backend *self) diff --git a/demos/c_simple/blittest.c b/demos/c_simple/blittest.c index 02b374b..c6cd275 100644 --- a/demos/c_simple/blittest.c +++ b/demos/c_simple/blittest.c @@ -23,6 +23,7 @@ * * *****************************************************************************/
+#include <stdio.h> #include <GP.h>
static GP_Pixel black; diff --git a/demos/c_simple/convolution.c b/demos/c_simple/convolution.c index e0acd17..213baf8 100644 --- a/demos/c_simple/convolution.c +++ b/demos/c_simple/convolution.c @@ -76,22 +76,21 @@ int main(int argc, char *argv[])
printf("n");
- float box_kernel[] = { - 0.0, 0.1, 1.0, 0.1, 0.0, - 0.1, 0.5, 1.0, 0.5, 0.1, - 1.0, 1.0, 1.0, 1.0, 1.0, - 0.1, 0.5, 1.0, 0.5, 0.1, - 0.0, 0.1, 1.0, 0.1, 0.0, - };
GP_FilterKernel2D box = { .w = 5, .h = 5, .div = 11.8, - .kernel = box_kernel, + .kernel = (float[]) { + 0.0, 0.1, 1.0, 0.1, 0.0, + 0.1, 0.5, 1.0, 0.5, 0.1, + 1.0, 1.0, 1.0, 1.0, 1.0, + 0.1, 0.5, 1.0, 0.5, 0.1, + 0.0, 0.1, 1.0, 0.1, 0.0, + } };
- priv.op = "Box Linear Convolution"; + priv.op = "Linear Convolution";
/* * Blur in-place, inner rectangle of the image. diff --git a/demos/c_simple/debug_handler.c b/demos/c_simple/debug_handler.c index f514769..1744b04 100644 --- a/demos/c_simple/debug_handler.c +++ b/demos/c_simple/debug_handler.c @@ -26,6 +26,7 @@
*/
+#include <stdio.h> #include <GP.h>
static char level_to_c(int level) diff --git a/demos/c_simple/fonttest.c b/demos/c_simple/fonttest.c index fb888e2..4e33020 100644 --- a/demos/c_simple/fonttest.c +++ b/demos/c_simple/fonttest.c @@ -263,8 +263,6 @@ int main(int argc, char *argv[])
print_instructions();
- GP_SetDebugLevel(10); - if (argc > 1) { font_path = argv[1]; fprintf(stderr, "nLoading font '%s'n", argv[1]); diff --git a/demos/c_simple/showimage.c b/demos/c_simple/showimage.c index 14873d0..c78cff0 100644 --- a/demos/c_simple/showimage.c +++ b/demos/c_simple/showimage.c @@ -37,8 +37,6 @@ int main(int argc, char *argv[]) GP_Backend *backend; GP_Context *image;
- GP_SetDebugLevel(10); - if (argc != 2) { fprintf(stderr, "Takes image as an argumentn"); return 1; @@ -47,7 +45,7 @@ int main(int argc, char *argv[]) /* Load image */ image = GP_LoadImage(argv[1], NULL);
- if (image == NULL) { + if (!image) { fprintf(stderr, "Failed to load bitmap: %sn", strerror(errno)); return 1; } @@ -55,7 +53,7 @@ int main(int argc, char *argv[]) /* Initalize backend */ backend = GP_BackendX11Init(NULL, 0, 0, image->w, image->h, argv[1], 0);
- if (backend == NULL) { + if (!backend) { fprintf(stderr, "Failed to initalize backendn"); return 1; } diff --git a/demos/c_simple/v4l2_grab.c b/demos/c_simple/v4l2_grab.c index c43cc32..6498fb8 100644 --- a/demos/c_simple/v4l2_grab.c +++ b/demos/c_simple/v4l2_grab.c @@ -28,6 +28,7 @@
#include <string.h> #include <errno.h> +#include <stdio.h>
#include <GP.h>
diff --git a/demos/c_simple/v4l2_show.c b/demos/c_simple/v4l2_show.c index f11fb83..97467b5 100644 --- a/demos/c_simple/v4l2_show.c +++ b/demos/c_simple/v4l2_show.c @@ -28,6 +28,7 @@
#include <errno.h> #include <string.h> +#include <stdio.h>
#include <GP.h>
diff --git a/demos/c_simple/x11_windows.c b/demos/c_simple/x11_windows.c index 39252ed..fa52cc2 100644 --- a/demos/c_simple/x11_windows.c +++ b/demos/c_simple/x11_windows.c @@ -26,6 +26,7 @@
*/
+#include <stdio.h> #include <GP.h>
static void redraw(struct GP_Context *context)
http://repo.or.cz/w/gfxprim.git/commit/e27171add7b10d809d604f695d2f9a07f7b17...
commit e27171add7b10d809d604f695d2f9a07f7b178b4 Author: Cyril Hrubis metan@ucw.cz Date: Tue Dec 24 15:36:50 2013 +0100
build: Change library names GP -> gfxprim
Don't forget to rerun configure
Signed-off-by: Cyril Hrubis metan@ucw.cz
diff --git a/build/Makefile b/build/Makefile index 36c797a..b6cd8cb 100644 --- a/build/Makefile +++ b/build/Makefile @@ -6,7 +6,7 @@ TOPDIR=../ include $(TOPDIR)/config.mk include $(TOPDIR)/libver.mk
-LIB_NAME=libGP +LIB_NAME=libgfxprim
STATIC_LIB=$(LIB_NAME).$(LIB_VERSION).a DYNAMIC_LIB=$(LIB_NAME).so.$(LIB_VERSION).$(LIB_RELEASE) diff --git a/build/check_symbols.sh b/build/check_symbols.sh index cbf7960..61be791 100755 --- a/build/check_symbols.sh +++ b/build/check_symbols.sh @@ -61,15 +61,15 @@ do_check() rm $SYMTMPFILE }
-do_check libGP.so syms/Core_symbols.txt syms/Input_symbols.txt - syms/Filters_symbols.txt syms/GFX_symbols.txt - syms/Text_symbols.txt +do_check libgfxprim.so syms/Core_symbols.txt syms/Input_symbols.txt + syms/Filters_symbols.txt syms/GFX_symbols.txt + syms/Text_symbols.txt
-do_check libGP_backends.so syms/Backend_symbols.txt +do_check libgfxprim-backends.so syms/Backend_symbols.txt
-do_check libGP_grabbers.so syms/Grabbers_symbols.txt +do_check libgfxprim-grabbers.so syms/Grabbers_symbols.txt
-do_check libGP_loaders.so syms/Loaders_symbols.txt +do_check libgfxprim-loaders.so syms/Loaders_symbols.txt
if [ -n "$FOUND" ]; then echo diff --git a/configure b/configure index ac35338..200bfc7 100755 --- a/configure +++ b/configure @@ -278,17 +278,17 @@ def write_gfxprim_config(cfg, libs): f.write('t--list-modules) echo "%s"; exit 0;;n' % ' '.join(modules)) f.write('t--cflags) echo -n "-I/usr/include/GP/%s";;n' % libs.get_cflags('core')) - f.write('t--libs) echo -n "-lGP -lrt -lm %s ";;n' % libs.get_linker_flags('core')) + f.write('t--libs) echo -n "-lgfxprim -lrt -lm %s ";;n' % libs.get_linker_flags('core'))
# ldflags for specific modules for i in modules: ldflags = '' if i == 'backends': - ldflags += '-lGP_backends ' + ldflags += '-lgfxprim-backends ' if i == 'grabbers': - ldflags += '-lGP_grabbers ' + ldflags += '-lgfxprim-grabbers ' if i == 'loaders': - ldflags += '-lGP_loaders ' + ldflags += '-lgfxprim-loaders ' ldflags += libs.get_linker_flags(i) f.write('t--libs-%s) echo -n "%s ";;n' % (i, ldflags))
diff --git a/doc/grabbers.txt b/doc/grabbers.txt index 86bf056..06ff791 100644 --- a/doc/grabbers.txt +++ b/doc/grabbers.txt @@ -5,7 +5,7 @@ Grabber is an abstraction for a device whose output is a stream of images.
There is currently V4L2 driver that implements a grabber.
-Link with +-lGP_grabbers+ or better +`gfxprim-config --libs-grabbers`+. +Link with +-lgfxprim-grabbers+ or better +`gfxprim-config --libs-grabbers`+.
TIP: For example usage see grabber link:example_v4l2.html[examples].
diff --git a/lib.mk b/lib.mk index b8e4a20..ff44945 100644 --- a/lib.mk +++ b/lib.mk @@ -1,6 +1,6 @@ # # Most of the libraries just generate object files that -# are later linked in build into the libGP.so +# are later linked in build into the libgfxprim.so # ifndef LIBNAME $(error LIBNAME not defined, fix your library Makefile) @@ -9,12 +9,12 @@ endif ifeq ($(BUILDLIB),yes) # # Rules for single library, applied only when objects -# are not linked to the libGP.so. This generates libGP_$(LIBNAME). +# are not linked to the libgfxprim.so. This generates libgfxprim_$(LIBNAME). #
include $(TOPDIR)/libver.mk
-LIB_NAME=libGP_$(LIBNAME) +LIB_NAME=libgfxprim-$(LIBNAME) BUILD_DIR=$(TOPDIR)/build/
STATIC_LIB=$(LIB_NAME).$(LIB_VERSION).a diff --git a/tests/drivers/Makefile b/tests/drivers/Makefile index 3a028d8..12fef24 100644 --- a/tests/drivers/Makefile +++ b/tests/drivers/Makefile @@ -2,7 +2,7 @@ TOPDIR=../..
CSOURCES=$(shell echo *.c)
-LDLIBS+=-lGP -lGP_backends -L$(TOPDIR)/build/ +LDLIBS+=-lgfxprim -lgfxprim-backends -L$(TOPDIR)/build/
APPS=$(CSOURCES:.c=)
-----------------------------------------------------------------------
Summary of changes: build/Makefile | 2 +- build/check_symbols.sh | 12 +++--- configure | 8 ++-- demos/c_simple/SDL_glue.c | 12 +++--- demos/c_simple/backend_example.c | 4 +- demos/c_simple/backend_timers_example.c | 1 + demos/c_simple/blittest.c | 1 + demos/c_simple/convolution.c | 17 +++---- demos/c_simple/debug_handler.c | 1 + demos/c_simple/fonttest.c | 2 - demos/c_simple/showimage.c | 6 +-- demos/c_simple/v4l2_grab.c | 1 + demos/c_simple/v4l2_show.c | 1 + demos/c_simple/x11_windows.c | 1 + doc/Makefile | 2 +- doc/asciidoc.conf | 2 +- doc/grabbers.txt | 2 +- doc/index.txt | 18 +++++++- doc/news_1_0_0-rc1.txt | 74 +++++++++++++++++++++++++++++++ include/core/GP_Version.h | 2 +- lib.mk | 6 +- tests/drivers/Makefile | 2 +- 22 files changed, 132 insertions(+), 45 deletions(-) create mode 100644 doc/news_1_0_0-rc1.txt
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.