Commit Graph

250 Commits

Author SHA1 Message Date
Moritz Lipp
801fe03009 Changed the strucure a bit 2011-03-20 02:53:24 +01:00
Moritz Lipp
e5d0b6bac0 Remove wrong threads_enter/leave 2011-03-20 01:43:02 +01:00
Moritz Lipp
dd97387715 Began to implement dual/multiple view 2011-03-18 18:40:20 +01:00
Moritz Lipp
52377b994d Plugin register mechanism 2011-03-05 21:00:41 +01:00
Moritz Lipp
7629a30a27 Register document plugin and free registered plugins 2011-03-05 19:46:05 +01:00
Moritz Lipp
31027cbaad Began to implement the index view 2011-02-10 11:33:28 +08:00
Moritz Lipp
5e7a774101 Updated coding standard 2011-02-09 19:44:48 +08:00
Moritz Lipp
4c19c798f7 Add function documentation 2011-02-08 14:51:53 +08:00
Moritz Lipp
55eaca8ec7 Render thread 2011-01-24 19:43:39 +08:00
Moritz Lipp
02f646751d Moved render function 2011-01-07 09:07:02 +01:00
Moritz Lipp
f2b24f75b5 Show page border 2011-01-06 09:40:56 +01:00
Moritz Lipp
88fd3e555a Render first page immediatly 2010-12-29 12:26:47 +01:00
Moritz Lipp
0398692705 Detect which page should be rendered 2010-12-29 11:46:13 +01:00
Moritz Lipp
3f961f6c18 Continuous basics 2010-12-28 09:47:09 +01:00
Moritz Lipp
eebdc8dece Get all pages 2010-12-28 00:47:41 +01:00
Moritz Lipp
19637bcd54 djvu support rotation 2010-12-27 09:44:28 +01:00
Moritz Lipp
14d744befe [testing] Use GdkPixbuf instead of cairo 2010-12-27 09:07:17 +01:00
Moritz Lipp
726766549e Fix segmentation fault if no file has been opened 2010-12-26 11:10:10 +01:00
Moritz Lipp
ca35db2dc9 Added drawing area 2010-12-26 01:52:17 +01:00
Moritz Lipp
f8aa8773f3 Began to add djvu support 2010-12-23 19:41:07 +01:00
Moritz Lipp
3d027dd773 Set page 2010-12-12 22:04:42 +01:00
Moritz Lipp
ff2b588ea5 Statusbar entries 2010-11-18 21:22:43 +01:00
Moritz Lipp
43727a597b Get and free pdf page 2010-11-18 14:51:13 +01:00
Moritz Lipp
4857d62fde Init document, some changes 2010-11-18 02:41:46 +01:00
Moritz Lipp
6d5ac53aa3 Document structure 2010-11-17 22:51:15 +01:00
Moritz Lipp
ade141aadc Update buffer in the statusbar 2010-11-13 12:40:48 +01:00
Moritz Lipp
98d42ed3ce Begin to test config structure 2010-11-12 13:48:18 +01:00
Moritz Lipp
38ec3eea66 New file structure 2010-11-10 19:18:01 +01:00
Sebastian Ramacher
48a2991333 Display scoll percentage in statusbar (Closes #58).
Thank's to acieroid.
2010-11-03 20:33:39 +01:00
Sebastian Ramacher
de0d0fb4e0 Implement wrap-around scrolling (closes #44)
Applied a modified version of raylu's patch. One can enable/disable wrap-around
scrolling with `set scroll_wrap 1/0". It's disabled per default.
2010-10-31 10:11:25 +01:00
Moritz Lipp
012e6de85a Check for ~ in save command 2010-10-30 22:57:39 +02:00
Moritz Lipp
77fb72f509 Reload fix when no file is opened 2010-10-30 10:08:57 +02:00
Moritz Lipp
da344ac8b9 Color window and viewport
Thanks to Strom
2010-10-25 14:10:10 +02:00
Moritz Lipp
da61a695bd Merge branch 'master' of pwmt.org:zathura 2010-10-18 20:16:51 +02:00
Moritz Lipp
d6574f57d1 Open command with appended current filepath
Closes #30

Thanks to thorsten
2010-10-18 20:14:38 +02:00
Sebastian Ramacher
ba11e68e94 Remove those NOTREACHED comments 2010-10-13 09:02:59 +02:00
Sebastian Ramacher
da261141fd Add noreturn attribute to out_of_memory (closes #43)
Add __attribute__((noreturn)) to out_of_memory if supported by the compiler
(gcc, icc and clang).
2010-10-11 19:54:42 +02:00
Sebastian Ramacher
9d00d67ed2 Apply patches from #43
* Protect LENGTH with surrounding parantheses.
* Use foo(void) for functions taking no arguments.
* Remove dead assignments.

Thanks to kaworu.
2010-10-11 19:41:43 +02:00
Sebastian Ramacher
3210e5be28 some error handling and close handle before deleting the temporary file 2010-10-04 10:08:21 +02:00
Sebastian Ramacher
9fa858b2ff don't hardcode stdin fileno 2010-10-04 09:57:46 +02:00
Sebastian Ramacher
ff0adf4ddc correctly define _BSD_SOURCE and _XOPEN_SOURCE macros 2010-10-04 09:55:21 +02:00
Sebastian Ramacher
cd08c8be70 fixes for memory issues
Somes fixes for memory related issues. Makes filename and password handling more
robust.
2010-09-27 18:30:45 +02:00
Sebastian Ramacher
6052169921 fix a memory leak 2010-09-27 18:21:26 +02:00
Sebastian Ramacher
b280852f2d revert last commit ... that didn't fix anything 2010-09-27 18:20:48 +02:00
Sebastian Ramacher
88687c3f0a solution for #6?
This could be a solution for #6 but needs some testing first.
2010-09-27 17:50:59 +02:00
Sebastian Ramacher
3002d8e476 read from stdin: really delete temporary file 2010-09-27 17:19:56 +02:00
Sebastian Ramacher
3017534627 support reading from stdin (closes #32)
This is highly experimental but should work in principal. If there is a better
way to dump the contents of stdin to a temporary file, send me a patch, please.
2010-09-27 17:01:09 +02:00
Sebastian Ramacher
660567e7df add function to get home dir if for some weird reason $HOME is not set 2010-09-27 15:57:29 +02:00
Sebastian Ramacher
f7d6e0e6a9 follow XDG specification (closes #35)
Use XDG_* environment variables to locate the config directory and data
directory. Uses ~/.config/zathura and ~/.local/share/zathura as fallback (the
directories specified in config.h's CONFIG_DIR and DATA_DIR respectively) if the
environment variables are not set.

Uncomment the ZATHURA_NO_XDG define in config.h to always use CONFIG_DIR and
DATA_DIR.

One can specify --config-dir and --data-dir to overwrite the precomputed config
and data location.
2010-09-27 15:22:23 +02:00
Moritz Lipp
8bbc184fd0 Fixed printing 2010-08-01 13:40:04 +02:00