Commit Graph

18 Commits

Author SHA1 Message Date
Pavel Borzenkov
8608823613 Get file info earlier
We need to know the document's 'scale' value earlier (before cairo
surfaces are created). Otherwise, cairo surfaces will be re-created and
wrong page will be rendered (since zoom doesn't preserve page number).

Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-10-20 18:28:12 +02:00
Pavel Borzenkov
88be07272f There is no need to check return value of g_malloc()
It never returns NULL. If this function fails, the application is
terminated.

Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-10-20 18:27:56 +02:00
Sebastian Ramacher
2a35825247 fix 'path may be used unitialized' 2011-10-16 23:01:25 +02:00
Sebastian Ramacher
712e4bd408 use the correct sorting function 2011-10-15 18:42:30 +02:00
Sebastian Ramacher
14535b8f41 use a sorted list for bookmarks 2011-10-15 18:26:04 +02:00
Moritz Lipp
a0aa0d44b7 Write and read file history 2011-10-11 23:18:21 +02:00
Sebastian Ramacher
84ae796405 Merge branch 'develop' of pwmt.org:zathura into develop 2011-10-11 16:00:17 +02:00
Moritz Lipp
5ac40104a4 Add database-plain.c 2011-10-11 15:59:36 +02:00
Sebastian Ramacher
e6d1cffce0 Merge branch 'develop' of pwmt.org:zathura into develop 2011-10-10 23:49:31 +02:00
Moritz Lipp
8061236e4e Added structure for plain database 2011-10-10 23:46:50 +02:00
Sebastian Ramacher
bbb08b17be g_object_ref the print settings (as seen in the GTK+ documentation) 2011-10-10 19:58:48 +02:00
Sebastian Ramacher
b843331afc +1/-1 when storing/loading pages 2011-10-06 18:33:23 +02:00
Sebastian Ramacher
b34d21afaf implement content type support 2011-09-29 15:23:13 +02:00
Sebastian Ramacher
13eeebc9c8 fix build error 2011-09-29 11:48:23 +02:00
Sebastian Ramacher
9b633f70a5 implement zathura_db_get_fileinfo 2011-09-22 15:47:58 +02:00
Sebastian Ramacher
320063f69e fix PRIMARY KEY in bookmarks and some work on fileinfo 2011-09-21 18:31:12 +02:00
Pavel Borzenkov
24081171db Coding style fixes
No functional changes.

Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-09-21 09:22:52 +02:00
Sebastian Ramacher
6f567a6264 some initial work on the sqlite database backend 2011-09-02 20:46:16 +02:00