Moritz Lipp
2534c7abc2
Fix t
2012-04-20 23:41:10 +02:00
Moritz Lipp
4cd4638fd8
Allow to zoom in n times
2012-04-20 23:39:34 +02:00
Sebastian Ramacher
ace9718f75
Add option to advance the number of pages per row. ( Closes : #167 )
2012-04-10 17:40:29 +02:00
Moritz Lipp
97247f41ca
Unhitch zathura_t from document_t/page_t/plugin_manager_t
2012-04-03 09:02:45 +02:00
Moritz Lipp
ab4c364e56
Update document information plugin api
2012-03-30 18:24:00 +02:00
Moritz Lipp
9cdd963784
Auto-adjust on rotate / Update sc_adjust_window
2012-03-28 17:26:20 +02:00
Moritz Lipp
334b4fbb95
Introduce and use zathura_document wrapper functions
2012-03-27 21:59:35 +02:00
Moritz Lipp
fa40facc71
Begin to introduce types.h
2012-03-27 11:19:39 +02:00
Moritz Lipp
5bf32f33a5
Rename page_get_id to page_get_index
2012-03-26 15:30:58 +02:00
Moritz Lipp
efc108fbe2
Introduced page.h
2012-03-26 14:44:56 +02:00
Moritz Lipp
90796b5b5c
Added :offset command and some style updates
2012-03-24 18:27:10 +01:00
Moritz Lipp
defbf056c1
Update style
2012-03-24 17:56:23 +01:00
Moritz Lipp
42d3373558
Update sc_goto
2012-03-24 17:45:25 +01:00
Sebastian Ramacher
6cdc2b1974
Add argument to rotate to support counter-clockwise rotation ( Closes : #154 )
2012-03-19 11:43:07 +01:00
Felix Herrmann
d4b92610de
readjust view in sc_adjust_window (to keep position)
2012-03-19 11:22:01 +01:00
Sebastian Ramacher
9fe03f72e2
Allow page-padding to be changed.
2012-03-16 15:47:30 +01:00
Sebastian Ramacher
66bc63f5a7
Rename page_widget to page-widget.
2012-03-16 14:37:54 +01:00
Moritz Lipp
1028d90e6c
Re-render all pages when calling cb_color_change
2012-03-14 18:09:00 +01:00
Moritz Lipp
0474235483
Added 'scroll-wrap' for sc_navigate
2012-03-14 17:44:36 +01:00
Moritz Lipp
9265c9473a
Add 'recolor' setting
2012-03-14 17:33:35 +01:00
Moritz Lipp
7271166b20
Update style
2012-03-09 08:05:48 +01:00
Sebastian Ramacher
ec2ec61463
Keep the current page in sc_toogle_fullscreen ( Closes : #134 )
2012-03-08 19:12:27 +01:00
Moritz Lipp
6b042b17b5
Show error message if no index exists
2012-03-08 18:37:51 +01:00
Moritz Lipp
e73ca51d05
Disable fullscreen mode if no document has been opened
2012-03-07 01:08:17 +01:00
Géraud Le Falher
ead85e28f1
add the ability to horizontally scroll half or full screen
2012-03-02 14:03:38 +01:00
Moritz Lipp
be8b8f3bb7
Revert latest commit
2012-02-25 23:54:38 +01:00
Moritz Lipp
6eb9db6cb6
Use update_page_number instead of setting it directly
2012-02-25 23:48:52 +01:00
Moritz Lipp
21856c0061
Iterate through all search results correctly
2012-02-25 16:56:11 +01:00
Moritz Lipp
a4b4c91dae
Calculate current page number only if scrolling
2012-02-21 20:39:42 +01:00
Moritz Lipp
ffd2da55bd
Style changes and additional parseable arguments
2012-02-21 17:11:59 +01:00
Vicky Chijwani
6aced3f870
add EXPAND_ALL and COLLAPSE_ALL shortcuts to index
2012-02-21 16:59:23 +01:00
Moritz Lipp
b6f1868e7f
Fix automatic file reloading
2012-02-20 20:07:24 +01:00
Moritz Lipp
d8bc9fefac
Implement sc_focus_inputbar with possible APPEND_FILEPATH parameter
2012-02-20 16:33:59 +01:00
Moritz Lipp
eac3cbd904
Consider page padding in sc_scroll
2012-02-20 09:33:18 +01:00
Moritz Lipp
65d2241e06
Simplify sc_mouse_scroll
2012-02-15 11:48:28 +01:00
Moritz Lipp
b815fa6ecf
Update to new girara event definitions
2012-02-15 00:21:51 +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
392275eed3
Resolve sc_follow issue
2012-02-12 11:16:10 +01:00
Moritz Lipp
2adb25223c
Options for zoom_min/zoom_max
2012-02-09 18:30:36 +01:00
Moritz Lipp
851ef7cd7b
Adjust on resize / Adjust on open
2012-02-09 01:46:51 +01:00
Moritz Lipp
1ff8f6eb22
Use correct dimensions for sc_adjust_window
2012-02-09 01:20:42 +01:00
Moritz Lipp
d2fc051f36
Pan by using mouse button 2
2012-02-09 01:07:25 +01:00
Moritz Lipp
8fad2ae7d0
Update mouse event configuration
2012-02-09 00:36:41 +01:00
Moritz Lipp
954ace7a76
Resolve SIGSEGV in sc_abort
2012-02-08 23:42:09 +01:00
Moritz Lipp
70dbf39184
Merge branch 'develop' of pwmt.org:zathura into develop
...
Conflicts:
document.c
2012-02-08 23:23:42 +01:00
Moritz Lipp
1d606ef027
Ask for password if file is encrypted
2012-02-08 23:21:27 +01:00
Sebastian Ramacher
e513cb5579
store rotation in history
2012-02-08 22:23:45 +01:00
Sebastian Ramacher
aebab3e73c
at least stay on the same page after the rotation
2012-02-08 22:06:33 +01:00
Sebastian Ramacher
a51183cd66
keep position while zooming
2012-02-08 21:39:44 +01:00
Sebastian Ramacher
fea48f3438
Merge branch 'develop' of pwmt.org:zathura into develop
2012-02-08 21:37:08 +01:00
Sebastian Ramacher
c6403ec097
wrap gtk_adjustment_set_value
2012-02-08 21:34:53 +01:00
Moritz Lipp
5c93ebcb8c
Add numeric prefix to sc_zoom
...
One can zoom to a specific zoom value (between 10% and 1000%) by passing a
number before the = sign
Fixes : #105
2012-02-08 21:02:07 +01:00
Moritz Lipp
9d87451389
Update sc_follow
2012-02-08 00:19:35 +01:00
Moritz Lipp
c6d06f7c87
Merge branch 'develop' of pwmt.org:zathura into develop
2012-02-07 21:13:41 +01:00
Moritz Lipp
626fd50e32
Introduced zathura_plugin_error_t
2012-02-07 21:10:59 +01:00
Sebastian Ramacher
4e6d73a912
Merge branch 'develop' of pwmt.org:zathura into develop
2012-02-07 20:29:33 +01:00
Sebastian Ramacher
dd73d0e39d
jump to search results
2012-02-07 20:29:29 +01:00
Moritz Lipp
c42a72f996
Remove debug statement
2012-02-07 19:48:38 +01:00
Moritz Lipp
d8473e6cdc
Call girara_sc_abort in sc_abort
2012-02-07 19:36:49 +01:00
Sebastian Ramacher
d2fa39884b
Merge branch 'develop' of pwmt.org:zathura into develop
2012-02-07 19:15:05 +01:00
Sebastian Ramacher
b60804ef78
implement search forward and backward
2012-02-07 19:15:01 +01:00
Moritz Lipp
90f6f5dd6e
Mouse scroll events
2012-02-07 18:34:39 +01:00
Moritz Lipp
21a65cbe34
Rename PageViewWidget to PageWidget
2012-02-07 18:30:46 +01:00
Moritz Lipp
0b88e118a5
Evaluate sc_follow input correctly
2012-02-07 18:00:47 +01:00
Sebastian Ramacher
65f41bb440
Merge branch 'develop' of pwmt.org:zathura into develop
2012-02-07 17:32:11 +01:00
Sebastian Ramacher
460b517998
drop unnecessary calls
2012-02-07 17:32:03 +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
Moritz Lipp
ab03d2dd0b
Merge branch 'develop' of pwmt.org:zathura into develop
2012-02-07 16:30:55 +01:00
Moritz Lipp
0363495151
Implemented sc_mouse_scroll
2012-02-07 15:13:36 +01:00
Sebastian Ramacher
c2b9d22ad1
don't search on hidden pages
2012-02-07 15:05:22 +01:00
Sebastian Ramacher
57291989c5
calculate visible pages and update current page number
2012-02-07 14:56:58 +01:00
Sebastian Ramacher
81bec2e528
draw highlights in the page view widget
2012-02-05 22:55:30 +01:00
Sebastian Ramacher
62708d3d44
fix some mem leaks in sc_follow
2012-02-05 21:17:59 +01:00
Sebastian Ramacher
083a40f447
adopt to changes from girara
2012-02-03 22:15:29 +01:00
Sebastian Ramacher
5fc885a66c
Reset zoom level after quiting fullscreen.
2012-02-01 18:00:34 +01:00
Sebastian Ramacher
7c2d6718f0
return values from girara_settings_get have to be g_freed
2012-01-31 19:19:10 +01:00
Moritz Lipp
226dfae14c
Update shortcuts
2012-01-24 01:34:09 +01:00
Moritz Lipp
3311038681
Begin to draw sc_follow results
2012-01-19 00:49:08 +01:00
Sebastian Ramacher
c75eaf4c43
center the pages ( Closes : #85 , #87 )
2012-01-13 17:39:46 +01:00
Moritz Lipp
6d1240d796
Evaluate number of calls in sc_navigate
2012-01-11 16:38:50 +01:00
Sebastian Ramacher
fa6bc5a2e8
set default values before loading the first config file
2011-12-11 00:19:46 +01:00
Sebastian Ramacher
31563e6fa6
need to use g_free here
2011-11-25 11:44:03 +01:00
Moritz Lipp
ab60625531
Update sc_toggle_fullscreen
2011-10-26 20:46:59 +02:00
Sebastian Ramacher
911d84c908
update includes due to girara restructuring
2011-10-23 17:01:15 +02:00
Sebastian Ramacher
cd842a8f48
Don't break backwards compatibility of the settings names
2011-10-21 15:37:59 +02:00
Sebastian Ramacher
d31a350f23
readd scroll-step
2011-10-21 15:34:06 +02:00
Sebastian Ramacher
7a5dd056fd
g_free return values of girara_setting_get
2011-10-21 15:32:50 +02:00
Pavel Borzenkov
721d566881
Fix warnings reported by Clang Analyzer
...
Clang Analyzer reports:
shortcuts.c:238:11: warning: Value stored to 'new_value' during its initialization is never read
gdouble new_value = value;
^ ~~~~~
completion.c:163:50: warning: Null pointer passed as an argument to a 'nonnull' parameter
if (input_length <= strlen(bookmark->id) && !strncmp(input, bookmark->id, input_length)) {
^ ~~~~~
Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-10-19 09:44:51 +02:00
Sebastian Ramacher
370aa11c4b
call gtk_main_quit in cb_destroy
2011-10-16 20:59:25 +02:00
Moritz Lipp
908e06de16
Fix sc_goto
2011-10-13 12:15:21 +02:00
Moritz Lipp
9f1a3c6c62
Some style updates
2011-10-12 16:18:40 +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
2c5eb04f4f
Merge branch 'develop' of pwmt.org:zathura into develop
2011-10-03 17:13:40 +02:00
Sebastian Ramacher
4239d9652f
just do nothing if no document is open
2011-10-03 17:13:33 +02:00
Moritz Lipp
8b762ddcb3
Implemented sc_reload
2011-10-01 17:47:51 +02:00
Moritz Lipp
9d13c75153
Fit page to width / bestfit
2011-10-01 09:40:44 +02:00
Moritz Lipp
05311ca020
Implemented sc_navigate_index
2011-09-29 18:17:03 +02:00
Sebastian Ramacher
a8389ad2b1
align page number to the right
2011-09-29 17:35:00 +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
Pavel Borzenkov
2b4f5d1823
Use girara's focus_inputbar function
...
zathura's focus_inputbar function is a duplicate of girara's one.
This patch removes it.
Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-09-21 09:18:27 +02:00
Moritz Lipp
a6268788c0
Resolve warnings caused by -Wextra
2011-09-21 00:46:03 +02:00
Pavel Borzenkov
48448c6507
Hide notification area in sc_focus_inputbar
...
Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
2011-09-02 16:46:55 +02:00
Sebastian Ramacher
87aa9b9a46
implement :write and :write!
2011-09-01 11:51:49 +02:00
Moritz Lipp
48c2d01bef
Use giraras toggle functions
2011-06-23 14:31:41 +02:00
Moritz Lipp
3c9e1f6e55
Use gtk_widget_get_visible instead of deprecated macro
2011-05-27 12:42:37 +02:00
Moritz Lipp
17b4972683
Update modes
2011-05-07 22:00:52 +02:00
Moritz Lipp
00589a7295
Implemented recoloring
2011-04-30 13:27:27 +02:00
Moritz Lipp
8de7969b2d
Drop sc_change_buffer
2011-04-27 20:41:02 +02:00
Moritz Lipp
40ae60ea42
Updated page_set function
2011-04-27 20:32:57 +02:00
Moritz Lipp
4a8f4df2db
Updated commands/render/shortcuts/utils for zathura object
2011-04-18 18:29:50 +02:00
Moritz Lipp
9026f92469
Updated shortcuts.c
2011-04-18 17:55:50 +02:00
Moritz Lipp
dd97387715
Began to implement dual/multiple view
2011-03-18 18:40:20 +01:00
Moritz Lipp
d56b79b3c0
Little fix in sc_toggle_index
2011-03-06 15:21:38 +01:00
Moritz Lipp
1fbe59aabf
Implemented sc_rotate
2011-03-06 14:49:44 +01:00
Moritz Lipp
31027cbaad
Began to implement the index view
2011-02-10 11:33:28 +08:00
Moritz Lipp
c41f945994
Implemented toggle inputbar/statusbar
2011-02-10 10:10:58 +08:00
Moritz Lipp
9c27ab49e8
Implemented sc_toggle_fullscreen
2011-02-10 10:06:13 +08:00
Moritz Lipp
dbb304af35
Experimental implementation of sc_zoom
2011-02-10 04:28:36 +08:00
Moritz Lipp
498a1c31e4
Experimental implementation of sc_goto
2011-02-10 00:12:09 +08:00
Moritz Lipp
a97cda9176
Update shortcuts function to girara interface
2011-02-09 23:53:18 +08:00
Moritz Lipp
5e7a774101
Updated coding standard
2011-02-09 19:44:48 +08:00
Moritz Lipp
93e2edf4c9
sc_scroll
2011-01-24 19:54:20 +08:00
Moritz Lipp
890d6b3299
Update coding standard
2010-12-26 01:12:20 +01:00
Moritz Lipp
3d027dd773
Set page
2010-12-12 22:04:42 +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
9348a128ff
Add default shortcuts
2010-11-13 10:05:28 +01:00
Moritz Lipp
98d42ed3ce
Begin to test config structure
2010-11-12 13:48:18 +01:00
Moritz Lipp
6046fc71fb
Include guards and shortcut definitions
2010-11-10 20:47:53 +01:00
Moritz Lipp
38ec3eea66
New file structure
2010-11-10 19:18:01 +01:00