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 179ad0f8718479d653783f56c3128ef4cad8d880 (commit)
from e418052b3d66f20cca5780f21f9c493a37f3d5af (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/179ad0f8718479d653783f56c3128ef4cad8…
commit 179ad0f8718479d653783f56c3128ef4cad8d880
Author: Cyril Hrubis <metan(a)ucw.cz>
Date: Wed May 9 01:28:29 2012 +0200
backends: X11 fix off-by-one.
diff --git a/libs/backends/GP_X11.c b/libs/backends/GP_X11.c
index 02137bd..af98a67 100644
--- a/libs/backends/GP_X11.c
+++ b/libs/backends/GP_X11.c
@@ -69,7 +69,7 @@ static void x11_update_rect(GP_Backend *self, GP_Coord x0, GP_Coord y0,
XLockDisplay(x11->dpy);
XPutImage(x11->dpy, x11->win, DefaultGC(x11->dpy, x11->scr),
- x11->img, x0, y0, x0, y0, x1-x0, y1-y0);
+ x11->img, x0, y0, x0, y0, x1-x0+1, y1-y0+1);
XFlush(x11->dpy);
x11->resized_flag = 0;
@@ -117,8 +117,8 @@ static void x11_poll(GP_Backend *self)
break;
x11_update_rect(self, ev.xexpose.x, ev.xexpose.y,
- ev.xexpose.x + ev.xexpose.width,
- ev.xexpose.y + ev.xexpose.height);
+ ev.xexpose.x + ev.xexpose.width - 1,
+ ev.xexpose.y + ev.xexpose.height - 1);
break;
case ConfigureNotify:
if (ev.xconfigure.width == (int)self->context->w &&
-----------------------------------------------------------------------
Summary of changes:
libs/backends/GP_X11.c | 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.")
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 d64232857f0895b73f637f3985442a2cda23da72 (commit)
from 7e9e270e7fb4be007cd4027fa7130ac079bc8fd2 (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/d64232857f0895b73f637f3985442a2cda23…
commit d64232857f0895b73f637f3985442a2cda23da72
Author: Jiri BlueBear Dluhos <jiri.bluebear.dluhos(a)gmail.com>
Date: Mon May 7 18:21:52 2012 +0200
Added the "doc" target to the main Makefile.
diff --git a/post.mk b/post.mk
index bafd7fb..84ef703 100644
--- a/post.mk
+++ b/post.mk
@@ -5,7 +5,7 @@ ifndef SUBDIRS
SUBDIRS=
endif
-.PHONY: $(SUBDIRS) all clean rebuild help
+.PHONY: $(SUBDIRS) all clean rebuild help doc
all: $(SUBDIRS)
clean: $(SUBDIRS)
@@ -16,6 +16,8 @@ help:
@echo ""
@echo "help: prints this help"
@echo ""
+ @echo "doc: builds (only) the documentation"
+ @echo ""
@echo "clean: cleans current directory and all subdirectories"
@echo ""
@echo "all: make current directory and all subdirectories"
@@ -26,6 +28,9 @@ help:
@echo "'VERBOSE' shell variable as 'VERBOSE=1 make'"
@echo ""
+doc:
+ cd doc && make
+
#
# Determine mode (eg do not generate anything if not in compile mode
#
-----------------------------------------------------------------------
Summary of changes:
post.mk | 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 7e9e270e7fb4be007cd4027fa7130ac079bc8fd2 (commit)
from 4224d32b5a4eddd8751d8fd7fbc02dab74df125f (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/7e9e270e7fb4be007cd4027fa7130ac079bc…
commit 7e9e270e7fb4be007cd4027fa7130ac079bc8fd2
Author: Jiri BlueBear Dluhos <jiri.bluebear.dluhos(a)gmail.com>
Date: Mon May 7 17:54:10 2012 +0200
Added new color values to the docs.
diff --git a/doc/basic_types.txt b/doc/basic_types.txt
index cab5435..f02688a 100644
--- a/doc/basic_types.txt
+++ b/doc/basic_types.txt
@@ -32,17 +32,24 @@ The 'GP_Color' enum is defined as follows:
--------------------------------------------------------------------------------
typedef enum GP_Color {
GP_COL_INVALID = -1,
+
+ /* full-intensity RGB and CMYK */
GP_COL_BLACK,
GP_COL_RED,
GP_COL_GREEN,
GP_COL_BLUE,
GP_COL_YELLOW,
+ GP_COL_CYAN,
+ GP_COL_MAGENTA,
+
+ /* various common mixes */
GP_COL_BROWN,
GP_COL_ORANGE,
- GP_COL_GRAY_DARK,
+ GP_COL_GRAY_DARK, /* exactly half RGB values of white */
GP_COL_GRAY_LIGHT,
GP_COL_PURPLE,
- GP_COL_WHITE,
+
+ GP_COL_WHITE, /* full-intensity white */
GP_COL_MAX,
} GP_Color;
--------------------------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
doc/basic_types.txt | 11 +++++++++--
1 files changed, 9 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.")