From: auroux
Date: Mon, 3 Sep 2007 14:24:35 +0000 (+0000)
Subject: Release 0.4.0.1: GTK+ 2.11 bugfix
X-Git-Url: https://git.donarmstrong.com/?p=xournal.git;a=commitdiff_plain;h=df97d601288155de0c4cf7fc9b3eb5e128cc9ff8
Release 0.4.0.1: GTK+ 2.11 bugfix
---
diff --git a/ChangeLog b/ChangeLog
index 641b1e0..89fe6c1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+Version 0.4.0.1 (Sep 3, 2007):
+ - bugfixes for GTK+ 2.11 behavior (thanks to everyone who reported bugs)
+
Version 0.4 (Aug 15, 2007):
- text tool (handles most TrueType and Type1 fonts)
- font selection dialog and button
diff --git a/NEWS b/NEWS
index 85f413e..db0d707 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-Version 0.4 (August 15, 2007)
+Version 0.4.0.1 (September 3, 2007)
Installation: see INSTALL
User's manual: see html-doc/manual.html
diff --git a/README b/README
index 85f413e..db0d707 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-Version 0.4 (August 15, 2007)
+Version 0.4.0.1 (September 3, 2007)
Installation: see INSTALL
User's manual: see html-doc/manual.html
diff --git a/configure.in b/configure.in
index e0b42ab..f5c9a72 100644
--- a/configure.in
+++ b/configure.in
@@ -1,7 +1,7 @@
dnl Process this file with autoconf to produce a configure script.
AC_INIT(configure.in)
-AM_INIT_AUTOMAKE(xournal, 0.4)
+AM_INIT_AUTOMAKE(xournal, 0.4.0.1)
AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE
diff --git a/html-doc/manual.html b/html-doc/manual.html
index 6c5fad8..8e7a14a 100644
--- a/html-doc/manual.html
+++ b/html-doc/manual.html
@@ -24,7 +24,7 @@
Xournal User's Manual
- Version 0.4
+ Version 0.4.0.1
@@ -555,6 +555,12 @@ Bug reports and suggestions can also be submitted on Xournal's
Version history
+Version 0.4.0.1 (September 3, 2007):
+
+ - bugfixes for GTK+ 2.11 behavior (thanks to everyone who reported bugs)
+
+
+
Version 0.4 (August 15, 2007):
- text tool (handles most TrueType and Type1 fonts)
diff --git a/src/TODO b/src/TODO
index bb8f696..dc0975c 100644
--- a/src/TODO
+++ b/src/TODO
@@ -1,8 +1,10 @@
List of features to be implemented (not in any particular order)
----------------------------------------------------------------
+- hand tool bug: upon page change, keeps scrolling till end of document
- paste text directly into xournal, from xournal?
- (instead of starting a text item and pasting into it)
+ (instead of starting a text item and pasting into/from it)
- internationalization / translation of interface
+- fix: & in bgpdf file name must be quoted to & in save_journal()
- integration into desktop environment (document icons/previews?
mime type? click on xoj opens it? list app in start menu?)
- rewrite printing using GtkPrint + Cairo as GnomePrint replacement
@@ -15,6 +17,7 @@ List of features to be implemented (not in any particular order)
- load PDF pages only on demand (create empty pixmaps at first if can
parse PDF geometry ourselves, else try pdfinfo ??)
(and config option to limit total memory usage for PDF bitmaps)
+ --- switch to poppler lib instead of pdftoppm
- lasso selection tool (see shoffsta patch)
(http://shoffsta.afraid.org/Projects/Xournal/)
- flatten (incl undo/redo...) - enabled only if nlayers>1
@@ -62,3 +65,14 @@ List of features to be implemented (not in any particular order)
- EPOS: Cut and Paste into OpenOffice applications and the GIMP (as bitmap??)
- EPOS: Export pages to pictures in the Jpg and Png formats.
- EPOS: Rotate Ink in custom angle.
+- option: export to PDF with incremental pages for successive layers
+ (for presentations) (Daniel Brugarth 8/18/07)
+- render page to bitmap: for export, preview, and copy-paste
+- cut-and-paste of selection into other apps (as bitmap)
+- Lukasz Kaiser 8/15/07 shapes patch (approximate stroke by geometric shapes)
+ (make it an optional mode of the pen, like the ruler)
+ (rewrite without gsl dependency?)
+ (config file should be in share/...)
+ (disconnected shapes: add timestamps to strokes?)
+- Samuel Hoffstaetter: lasso, gettext localization, sidebar thumbnails, ...
+- left-hand patch: Uwe Winter 8/27/07 (xournal-lefthand.patch)
diff --git a/src/xo-misc.c b/src/xo-misc.c
index 619ab17..fe866da 100644
--- a/src/xo-misc.c
+++ b/src/xo-misc.c
@@ -349,10 +349,9 @@ void fix_xinput_coords(GdkEvent *event)
}
else return; // nothing we know how to do
- gdk_window_get_origin(event->any.window, &wx, &wy);
- // somehow, behavior changed starting with GTK+ 2.11.0
- if (!gtk_check_version(2, 11, 0)) sx = sy = 0;
- else gnome_canvas_get_scroll_offsets(canvas, &sx, &sy);
+ // use canvas window, not event window (else get GTK+ 2.11 bugs!)
+ gdk_window_get_origin(GTK_WIDGET(canvas)->window, &wx, &wy);
+ gnome_canvas_get_scroll_offsets(canvas, &sx, &sy);
axis_width = device->axes[0].max - device->axes[0].min;
if (axis_width>EPSILON)