Commit Graph

168 Commits

Author SHA1 Message Date
Moritz Lipp
b40f06261c Version 0.0.6 2010-06-06 20:14:01 +02:00
Moritz Lipp
f3e57c633d Prevent buffer overflow in realpath
This patch prevents a buffer overflow in the
realpath function.

Thanks to Abel Abraham Camarillo Ojeda
2010-06-06 19:27:10 +02:00
Moritz Lipp
62937222af Updated print command 2010-06-03 20:05:17 +02:00
Moritz Lipp
a6849fbba4 Updated manpage 2010-06-03 18:16:32 +02:00
Moritz Lipp
6f6478b0ad Added reload shortcut 2010-06-03 18:12:45 +02:00
Moritz Lipp
2efdabc6a0 Use GFileMonitor instead of inotify 2010-06-03 18:05:34 +02:00
Moritz Lipp
46e1a7c155 Fix toggle index 2010-06-03 17:11:49 +02:00
Moritz Lipp
036a3c83e1 Fixed page-list in print command 2010-06-02 10:59:44 +02:00
Moritz Lipp
84fd43f67c Update manpage 2010-05-28 00:03:15 +02:00
Moritz Lipp
9eb5eb599a Version 0.0.5 2010-05-25 20:35:40 +02:00
Moritz Lipp
9a5f94df41 Free some strings 2010-05-25 20:16:12 +02:00
Moritz Lipp
7a4c105705 Fixed off-by-one error 2010-05-25 09:03:02 +02:00
Moritz Lipp
fab51efea3 Enter password dialog
If the user tries to open an encrypted file, zathura aks for the password
in form of a dialog.
2010-05-24 21:26:40 +02:00
Moritz Lipp
b6f367612b Fixed cmd_open 2010-05-24 17:25:12 +02:00
Moritz Lipp
b2a6e8f0c6 Update manpage 2010-05-24 17:21:22 +02:00
Moritz Lipp
9936e31095 Added fullscreen mode for special shortcuts 2010-05-24 11:41:08 +02:00
Moritz Lipp
ecfe451807 Fullscreen
It is now possible to enable a fullscreen mode.
2010-05-24 09:38:54 +02:00
Moritz Lipp
f0c0c7b8ee Fixed search result highlighting 2010-05-19 12:13:28 +02:00
Moritz Lipp
eadca8d216 Scroll after switching page 2010-05-18 23:11:38 +02:00
Moritz Lipp
b5531fed3e Fixed redrawing search result 2010-05-18 22:24:15 +02:00
Moritz Lipp
e97a48211a Version 0.0.4 2010-05-18 20:43:20 +02:00
Moritz Lipp
3a99754333 Updated manpage 2010-05-18 20:35:49 +02:00
Moritz Lipp
742f687da6 Merge branch 'mouse' of 93.90.177.129:zathura into mouse
Conflicts:
	config.def.h
	zathura.c
2010-05-18 01:09:59 +02:00
Moritz Lipp
af4a487da7 Rebase from master 2010-05-18 01:01:52 +02:00
Moritz Lipp
b33e33fd36 Custom selection style 2010-05-18 00:59:50 +02:00
Moritz Lipp
c38d89bb15 Select right text in rectangle
With this commit zathura selects the text in the selected
rectangle and copies it to the clipboard.
2010-05-18 00:59:23 +02:00
Moritz Lipp
ca9a381bb0 Calculate drawing rectangle and copy text to cb
This commit calculates the rectangle that will be drawn
correctly. Now the mapped rectangle is calculated wrong,
but it gets the text of the document and copies it to
the clipboard.
2010-05-18 00:59:23 +02:00
Moritz Lipp
6e0616d35b Draw marked area
This commit draws an rectangle in the marked area.
2010-05-18 00:58:25 +02:00
Moritz Lipp
7007394634 Added GtkEventBox to catch mouse events
This commited introduces a GtkEventBox called document
that is responsible for catching all mouse events like
"released" or "motion".
2010-05-18 00:58:12 +02:00
Moritz Lipp
742c9770a2 Implemented scrolling 2010-05-18 00:57:37 +02:00
Moritz Lipp
6b852bec6d Scroll and click event callbacks defined
Two callbacks for "scroll" and "click" events
has been defined and connected to the view.
2010-05-18 00:57:37 +02:00
Moritz Lipp
d2973805c0 Custom selection style 2010-05-18 00:48:46 +02:00
Moritz Lipp
ee182e035a Select right text in rectangle
With this commit zathura selects the text in the selected
rectangle and copies it to the clipboard.
2010-05-18 00:22:42 +02:00
int3
bb774d8c4f Suppress warnings of zero-length format strings (caused by previous fix) 2010-05-14 17:30:35 +08:00
int3
ac0445457c Fix leak in State.pages 2010-05-14 17:30:00 +08:00
Moritz Lipp
1192099f65 Do not redraw search results 2010-05-13 11:39:20 +02:00
Moritz Lipp
5d7f332909 Fixed sc_follow 2010-05-13 11:36:05 +02:00
Moritz Lipp
fe3de42925 Merge branch 'master' of 93.90.177.129:zathura 2010-05-13 11:31:45 +02:00
Moritz Lipp
b2e511692d Highlight results: Wrong coordinates
This patch fixes the wrong re-recalculation of the
search item - rectangles.
2010-05-13 11:31:02 +02:00
int3
2cb8b250fa Fix some locking issues
Replaced document_lock with a more general pdf_obj_lock
2010-05-12 18:27:15 +08:00
Moritz Lipp
ebf76efdd6 Removed unnecessary check 2010-05-11 22:06:07 +02:00
Moritz Lipp
88d76762f5 Fixed typo on mutex 2010-05-11 20:55:21 +02:00
Moritz Lipp
5a0e067dce Highlight search results again
This commit is a incomplete patch to highlight the search
results again.
2010-05-11 20:45:47 +02:00
Moritz Lipp
bdc6f33325 Escape filenames 2010-05-11 20:09:20 +02:00
Moritz Lipp
473e51b8dc Fix document update feature 2010-05-09 22:28:25 +02:00
Moritz Lipp
0b2c7c3a12 Activate label mode only when reasonable
This patch checks while opening the pdf document
if it is reasonable to activate the goto label mode:
Sometimes all labels match their page number and then
the label goto mode will slow the navigation down.
2010-05-06 20:31:53 +02:00
Moritz Lipp
63c0312b57 Optional page offset mode
This commit is build on the idea of Renato Florentino to be able to
correct the page offset that some documents have. His patch, where
most of the code has been adapted to this commit ( thanks! ), made
it able to correct the current page and automatically calculate the
correct page offset. Now this patch will introduce a third mode to
the bcmd_goto command: You are now able to set the page directly,
calculate it over the offset or search the labels for it.
2010-05-05 20:05:06 +02:00
Moritz Lipp
5e45c8d608 Use labels in buffered goto command
The page labels are now used in the buffered command bcmd_goto, so
if this option is enabled and you try to reach page number 20, zathura
first seraches for a label named like that and moves to that page instead
of moving to page 20 in the document.
2010-05-05 12:51:18 +02:00
Moritz Lipp
52b4eb464f Added page labels
With this commit it is possible to show and use the labels of a page,
which makes it possible to use a page offset. E.g.: Sometimes the page
numbers written on the page in the document differ from the order in the
file, which can be annoying by e.g. trying to go to the page number >20<
that is instead page number >24< in the document.
2010-05-05 12:36:14 +02:00
Moritz Lipp
e4f80b864b Keyboard navigation for the index
This patch provides the functionality to browse through the index
via the keyboard hence the mouse is not needed anymore. The original
author of this patch is int3 <jezreel@gmail.com>, in addition there
has been introduced a fix solving problems with named destinations.
2010-04-27 16:07:49 +02:00