Commit Graph

133 Commits

Author SHA1 Message Date
Sebastian Ramacher
24345dafba Check the right coordinates in cb_view_vadjustment_value_changed. 2012-03-08 23:27:56 +01:00
Moritz Lipp
593d8063fe Close open document in cb_destroy 2012-03-07 01:11:18 +01:00
Sebastian Ramacher
b7a20a5e2b Make all strings passed to girara_notify translateable. 2012-03-04 18:45:58 +01:00
Moritz Lipp
737fb386ae Style update 2012-03-04 01:30:27 +01:00
Moritz Lipp
a4b4c91dae Calculate current page number only if scrolling 2012-02-21 20:39:42 +01:00
Sebastian Ramacher
98755c7c90 Merge branch 'develop' of pwmt.org:zathura into develop
Conflicts:
	callbacks.c
2012-02-20 20:18:12 +01:00
Sebastian Ramacher
fcca562280 use gdk_threads_enter and leave in file monitor callbacks 2012-02-20 20:17:16 +01:00
Moritz Lipp
b6f1868e7f Fix automatic file reloading 2012-02-20 20:07:24 +01:00
Sebastian Ramacher
0251fb75dd use gdk_threads_add_idle instead of g_idle_add 2012-02-16 16:18:12 +01:00
Sebastian Ramacher
e7f0e30d99 only call sc_adjust_window if the allocation of the window really changed 2012-02-14 15:53:04 +01:00
Moritz Lipp
5c09bdd5e2 Fix segmentation fault in cb_pages_per_row_value_changed 2012-02-12 15:34:05 +01:00
Sebastian Ramacher
95c8510118 Stay on the same page on :set pages-per-row (Closes: ##108) 2012-02-10 14:13:08 +01:00
Moritz Lipp
851ef7cd7b Adjust on resize / Adjust on open 2012-02-09 01:46:51 +01:00
Moritz Lipp
8f83192d74 Feedback on incorrect password 2012-02-09 00:01:35 +01:00
Moritz Lipp
3212d52406 Ask for password if input has been incorrect 2012-02-08 23:50:55 +01:00
Moritz Lipp
1d606ef027 Ask for password if file is encrypted 2012-02-08 23:21:27 +01:00
Moritz Lipp
2669ed43a8 Renamed buffer_changed function 2012-02-08 15:19:51 +01:00
Moritz Lipp
9d87451389 Update sc_follow 2012-02-08 00:19:35 +01:00
Moritz Lipp
30f62a1f3a Implemented auto reload basics 2012-02-07 19:25:47 +01:00
Moritz Lipp
21a65cbe34 Rename PageViewWidget to PageWidget 2012-02-07 18:30:46 +01:00
Moritz Lipp
76323a4c3e Remove debug output 2012-02-07 18:23:09 +01:00
Moritz Lipp
82a6caa211 Merge branch 'develop' of pwmt.org:zathura into develop 2012-02-07 18:00:51 +01:00
Moritz Lipp
0b88e118a5 Evaluate sc_follow input correctly 2012-02-07 18:00:47 +01:00
Sebastian Ramacher
762f3819d4 add zathura_link_free 2012-02-07 17:41:40 +01:00
Sebastian Ramacher
86ce201ec9 off by one 2012-02-07 17:37:41 +01:00
Moritz Lipp
3547f80af9 Follow links with sc_follow 2012-02-07 17:31:47 +01:00
Moritz Lipp
d3967d9bde Save links in page_view_widget 2012-02-07 16:39:02 +01:00
Sebastian Ramacher
751c0980de remove debug output 2012-02-07 15:13:03 +01:00
Sebastian Ramacher
57291989c5 calculate visible pages and update current page number 2012-02-07 14:56:58 +01:00
Sebastian Ramacher
a1cdb48921 Create a page view widget (Closes: #90).
Add a widget derived from GtkDrawingArea that handles the drawing. It
automaticaly requests rerendering of the page if necessary (i.e on a scroll and
rotate).

This should solve all the rendering issues.
2012-02-05 11:24:34 +01:00
Moritz Lipp
226dfae14c Update shortcuts 2012-01-24 01:34:09 +01:00
Moritz Lipp
85290d1463 Coding standard 2012-01-22 12:30:25 +01:00
Sebastian Ramacher
a284f75ce9 use girara_xdg_open 2012-01-21 22:03:08 +01:00
Sebastian Ramacher
9ae81c0000 need G_SPAWN_SEARCH_PATH here 2012-01-13 19:35:38 +01:00
Sebastian Ramacher
daf418bbb7 open external links with xdg-open 2012-01-13 19:33:37 +01:00
Sebastian Ramacher
2cb31a61ea reuse GIRARA_UNUSED 2011-12-09 14:50:35 +01:00
Sebastian Ramacher
f8f48dcc7d adopt to latest girara changes 2011-11-20 11:32:34 +01:00
Sebastian Ramacher
911d84c908 update includes due to girara restructuring 2011-10-23 17:01:15 +02:00
Sebastian Ramacher
370aa11c4b call gtk_main_quit in cb_destroy 2011-10-16 20:59:25 +02:00
Sebastian Ramacher
88c4dd6bbe load file info on start and jump to last seen page 2011-10-06 17:48:17 +02:00
Moritz Lipp
bd458048c3 Include math.h in render.c 2011-09-29 18:51:24 +02:00
Sebastian Ramacher
72ebb3bc13 fix page_set call in cb_index_row_activated 2011-09-29 18:39:40 +02:00
Moritz Lipp
88e31c0c24 Merge branch 'develop' of pwmt.org:zathura into develop
Conflicts:
	callbacks.c
2011-09-29 18:17:38 +02:00
Moritz Lipp
05311ca020 Implemented sc_navigate_index 2011-09-29 18:17:03 +02:00
Sebastian Ramacher
b719e8701c get rid of warnings 2011-09-29 18:08:37 +02:00
Sebastian Ramacher
1e18d7f3ea display page in index 2011-09-29 17:28:09 +02:00
Moritz Lipp
a94cc260a2 Implemented cb_index_row_activated 2011-09-29 17:06:51 +02:00
Sebastian Ramacher
b34d21afaf implement content type support 2011-09-29 15:23:13 +02:00
Moritz Lipp
a6268788c0 Resolve warnings caused by -Wextra 2011-09-21 00:46:03 +02:00
Moritz Lipp
e20f425128 Some style updates 2011-09-21 00:25:41 +02:00
Sebastian Ramacher
8cee01a4d9 #include "..." 2011-08-31 14:35:53 +02:00
Moritz Lipp
686abbf588 Update coding standard 2011-07-21 14:48:48 +02:00
Pavel Borzenkov
32d90379bc Allow changing of "pages-per-row" variable at runtime 2011-07-21 14:47:24 +02:00
Moritz Lipp
5c5df5bf82 Fixed rendering 2011-04-19 21:42:18 +02:00
Moritz Lipp
752ca8ec11 Destroy surface if page is not visible 2011-04-19 20:46:33 +02:00
Sebastian Ramacher
09328e8e89 use GtkTable for page layout 2011-04-19 20:41:16 +02:00
Moritz Lipp
222bd718e4 Simplify offset calculation 2011-04-19 20:23:58 +02:00
Sebastian Ramacher
a415666cc1 zathura_page_t: replace rendered by visible 2011-04-19 18:33:28 +02:00
Moritz Lipp
8bcb79ea94 Update 2011-04-18 21:22:35 +02:00
Moritz Lipp
daa523aaf5 Updated callbacks.c 2011-04-18 17:37:03 +02:00
Moritz Lipp
8960b6e83d Updated zathura.h/zathura.c 2011-04-18 17:27:49 +02:00
Moritz Lipp
c5491675aa Update rendering 2011-03-20 02:09:04 +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
5e7a774101 Updated coding standard 2011-02-09 19:44:48 +08:00
Moritz Lipp
056269fcae Renamed search to render 2011-01-24 20:18:40 +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
a819cf5126 Fixed some memory leaks 2011-01-06 11:54:31 +01:00
Moritz Lipp
88d4766a75 Render page when needed 2011-01-06 09:01:33 +01:00
Moritz Lipp
0398692705 Detect which page should be rendered 2010-12-29 11:46:13 +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
b8aa82b4b1 Render (does not work yet) 2010-12-26 02:22:08 +01:00
Moritz Lipp
ca35db2dc9 Added drawing area 2010-12-26 01:52:17 +01:00
Moritz Lipp
890d6b3299 Update coding standard 2010-12-26 01:12:20 +01:00
Moritz Lipp
2cfe3f86b8 Complete printer list and execute command 2010-11-29 14:58:56 +01:00
Moritz Lipp
ff2b588ea5 Statusbar entries 2010-11-18 21:22:43 +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
d51bd2bbe6 Updated file structure 2010-11-10 20:31:15 +01:00
Moritz Lipp
38ec3eea66 New file structure 2010-11-10 19:18:01 +01:00