Commit Graph

177 Commits

Author SHA1 Message Date
Moritz Lipp
db76477a18 Add, save and open bookmarks
It is now possible to save bookmarks with a specific names for a
document, so you can jump easily to important sections of the pdf
later on.
2010-01-31 21:07:27 +01:00
Moritz Lipp
539331a084 Save last viewed page in bookmark file 2010-01-31 12:35:49 +01:00
Moritz Lipp
f3858ac26e Open (and create) key file 2010-01-31 11:44:33 +01:00
Moritz Lipp
31672cd0ba Create zathura directory 2010-01-31 02:03:28 +01:00
Moritz Lipp
8d449e3ff7 Added support for markers
It is now possible to add markers by using "m" followed by the id key
that should identify the marker. To jump back to the page that is
represented by the marker "'" is used. To toggle between the latest
positions the command "''" is used.
2010-01-30 23:48:36 +01:00
Moritz Lipp
acf114b2ec Delete last character of the buffer
It is now possible to delete the last character of the buffer using the
backspace key
2010-01-29 13:42:24 +01:00
Moritz Lipp
7b17a793c7 Scroll buffer command
Added a buffer command to move to a specific percental
value of the alighment of the view window. E.g.: 25%
2010-01-29 13:18:25 +01:00
Moritz Lipp
c7ebceb83a SF in set function
The function now checks if a parameter is given or not
2010-01-29 11:10:49 +01:00
Moritz Lipp
ad897d2c65 Mistake in the search function
Corrected a little mistake in the search function so that it does not
start the search on the current page
2010-01-28 23:35:42 +01:00
Moritz Lipp
c7ae813201 Autoadjust size on startup 2010-01-28 14:14:01 +01:00
Moritz Lipp
d0190bdac6 Adjust width
Implemented the function to adjust the page size to the width or fit
best in the given window area.
2010-01-28 14:06:27 +01:00
Moritz Lipp
e0f8bdc3b4 Added zoom buffer command
Now you can adjust the zoom level by typing commands like
"25Z" etc.
2010-01-28 13:57:54 +01:00
Moritz Lipp
a7ebea0a10 Create new page in the search function 2010-01-21 11:36:13 +01:00
Moritz Lipp
23f89868ec Remove mutex_unlock
Why has it exist anyway?
2010-01-21 11:07:08 +01:00
Moritz Lipp
acb11bda4b Update README
It seems that you have tu use newer versions of the libraries
2010-01-21 10:57:49 +01:00
Moritz Lipp
488b7f1c33 Cancel the search thread
Do not cancel the search thread if it is not possible
2010-01-21 01:46:53 +01:00
Moritz Lipp
5b918ca16e Removed render thread
This commit removes the render thread and provides one global
drawing area that is used to show the pages.
2010-01-20 23:46:13 +01:00
Moritz Lipp
bc329b0601 Save images and attachments 2010-01-03 16:49:50 +01:00
Moritz Lipp
8521a5a99d Added export function and export completion 2010-01-03 16:25:51 +01:00
Moritz Lipp
15d38f10cc Check strlen in search function 2010-01-03 16:18:36 +01:00
Moritz Lipp
22aa388349 Updated rectangle calculation 2010-01-02 23:34:34 +01:00
Moritz Lipp
3972302569 Search thread 2010-01-02 16:31:25 +01:00
Moritz Lipp
b21afc6319 } 2010-01-02 14:24:44 +01:00
Moritz Lipp
47905807ca Began highlighting search results 2010-01-02 14:23:49 +01:00
Moritz Lipp
2aef3f259c Show document information 2010-01-02 02:04:43 +01:00
Moritz Lipp
16467e74af Lock each page 2010-01-02 00:45:16 +01:00
Moritz Lipp
77d23a847f Implemented cmd_print 2010-01-02 00:36:32 +01:00
Moritz Lipp
6d1d3901c6 cc_print
List all printers, not the best way
2010-01-02 00:25:18 +01:00
Moritz Lipp
c55ca998d3 Show index if possible 2010-01-01 22:52:45 +01:00
Moritz Lipp
2e6d6ccc17 Replace ~ with $HOME 2010-01-01 20:56:31 +01:00
Moritz Lipp
50b1c1b4c8 Close command 2010-01-01 20:46:07 +01:00
Moritz Lipp
372b55bc5d Render thread lock 2010-01-01 20:26:31 +01:00
Moritz Lipp
7661efbe47 Fix cc_set 2010-01-01 20:00:56 +01:00
Moritz Lipp
e2b72b4a1d Added settings and set function
Added an array to define settings and an function ":set" to
set them
2010-01-01 19:52:20 +01:00
Moritz Lipp
c4a3b60d53 Rotate mutex 2010-01-01 17:18:48 +01:00
Moritz Lipp
6d2b0cf61d Revert video option 2010-01-01 15:34:01 +01:00
Moritz Lipp
7f17e9dccb Viewing mode 2010-01-01 15:11:43 +01:00
Moritz Lipp
c009a94cf8 Begin re-rendering on current page 2010-01-01 14:33:25 +01:00
Moritz Lipp
229ebe0a29 Added mutex for scale variable 2010-01-01 14:18:09 +01:00
Moritz Lipp
e4abffa259 Open file via parameter 2010-01-01 13:54:21 +01:00
Moritz Lipp
2d13e10898 Jump to begin/end/page 2009-12-30 00:55:03 +01:00
Moritz Lipp
85beb0d242 Hide/Show scrollbar switch 2009-12-30 00:47:29 +01:00
Moritz Lipp
33343cd52b Show PDF pages 2009-12-30 00:44:14 +01:00
Moritz Lipp
2c0e28e877 Added scrolling 2009-12-30 00:21:29 +01:00
Moritz Lipp
343328740c Show page 2009-12-29 23:48:28 +01:00
Moritz Lipp
c2a30db881 Added own viewport to change the views content 2009-12-29 22:33:40 +01:00
Moritz Lipp
9cf5ec8e06 Added function to switch view 2009-12-28 21:42:55 +01:00
Moritz Lipp
1d59480faa callback for drawing 2009-12-28 21:18:54 +01:00
Moritz Lipp
be0445110d Render pages in a thread 2009-12-28 20:10:47 +01:00
Moritz Lipp
852868a462 Fixed scale 2009-12-28 20:02:07 +01:00
Moritz Lipp
b7ef4a3ab8 Added rendering function 2009-12-28 19:50:30 +01:00
Moritz Lipp
663d0ba8c0 Update scale variable 2009-12-28 19:24:15 +01:00
Moritz Lipp
c99a94125b Show scale status 2009-12-28 19:03:26 +01:00
Moritz Lipp
af83daf16f Implemented buffer commands goto and zoom 2009-12-28 18:34:00 +01:00
Moritz Lipp
92c59f4548 Fixed path completion 2009-12-28 17:14:23 +01:00
Moritz Lipp
414d3304d1 File completion
Began to implement the file completion
2009-12-28 00:59:06 +01:00
Moritz Lipp
0fd6fe4f67 Navigate through pages 2009-12-26 18:16:51 +01:00
Moritz Lipp
14aa29201a Fix warning 2009-12-26 17:57:46 +01:00
Moritz Lipp
488fb4aefb Set page and update status 2009-12-26 17:44:13 +01:00
Moritz Lipp
0f2e9508ef Updated error handling 2009-12-26 17:18:45 +01:00
Moritz Lipp
ce374f34eb Add struct for PDF functioanlity 2009-12-26 16:08:33 +01:00
Moritz Lipp
9733722509 Toggle status/inputbar 2009-12-26 16:05:03 +01:00
Moritz Lipp
f3925c266c Added commands and function
Added commands to zathura without any functionality
and edited the current configuration
2009-12-26 15:55:32 +01:00
Moritz Lipp
d1ee4e0689 Updated interface from zjui project
The whole project files have been replaced by the first version
of zjui, a side project for the user interface. Additionally there
has been an update of the Makefile and the configuration.

Mentionable features:
  * Buffered commands
  * Statusbar
  * Advanced completion
  * Notification system
  * Modes and mode-depending shortcuts
2009-12-26 14:42:57 +01:00
Moritz Lipp
58dcfb001d Page wrap on scroll, Centered PDF
Added following functionality:
  * Center the PDF within the window
  * Jump to next/previous page if you scroll of the end/beginning
    of the page

Fixes and other changes:
  * Auto-adjust zoom when the page was rotated

Important note:
Above changes have been provided by sykora: Thank you very much
for your effort!
2009-10-30 00:16:43 +01:00
Moritz Lipp
b87a5725f9 Show document index
Added fowolling functionality:
  * Document index
2009-09-20 16:25:56 +02:00
Moritz Lipp
8f8ffb5e9d Command history
Added following functionality:
  * Command history

Fixes and other changes:
  * Reduced the toggle inputbar code
2009-09-19 15:53:35 +02:00
Moritz Lipp
582f926b82 Multiple printer support, destination links
Added following functionality:
  * Multiple printer can be set in the configuration file or a new
    one can be named while executing the print command
  * It is possible to use ~ in the open and export command
  * Clicking on destination links works now
  * Show/Hide inputbar

Fixes and other changes:
  * Updated the dependencies to the right versions
  * Switched j/k in the scrolling command
  * Added command shortcuts
  * Fixed the rotation
  * Link command is for the preset only for showing external
    links
  * Added some command explanation in the man page
  * Adjust window on startup
2009-09-19 13:35:14 +02:00
Moritz Lipp
96b0393531 Search fix, overworked Makefile
A little fix that solves the forwards, backwards searching problem
and an overworked, cleaned up Makefile
2009-09-12 11:52:32 +02:00
Moritz Lipp
864c7dc29d Form refresh
A little fix that refreshes the page after the form show command
has been executed
2009-09-11 21:03:33 +02:00
Moritz Lipp
113767476a Edit form fields and export PDF
Added following functionality:
  * Save the PDF file
  * Show and edit form fields

Fixes and other changes:
  * Fixed internal saved file path

Other:
  * Added manpage
2009-09-10 23:46:40 +02:00
Moritz Lipp
e77e8764cb Filepath
Using realpath() to get and use the actual absolute path
of the given file
2009-08-30 23:27:22 +02:00
Moritz Lipp
54149584f1 Printing, Image and attachment export
Added following functionality:
  * Save images
  * Save attachments
  * Simple printing support

Fixes and other changes:
  * Additional rectangle calculation function
  * Search and link clicking fix

Other:
  * Added license file
2009-08-29 20:29:13 +02:00
Moritz Lipp
01e613adc0 Highlight search results, Clickable links, ...
Added following functionality:
  * Highlight search results
  * Markup possibility for notification
  * Show PDF information
  * Show links on page
  * Click and open link in browser

In progress and todo:
  * Search function in a own thread
  * Export command: Export images, attachments

Fixes and other changes:
  * Set default background to drawing area and removed border
  * Set default window width and height
2009-08-15 12:35:07 +02:00
Moritz Lipp
1789541e78 Advanced notification - Basic search function
Added following functionality:
  * Notification via vanishing pop-ups, different
    notification levels and changeable text2
  * Basic search function
  * Check file existence
  * Scroll to begin or bottom of a page

Fixes and other changes:
  * Fixed unnecessary high processor load
  * Fixed update status
  * Added variable for number of pages
2009-08-13 22:55:36 +02:00
Moritz Lipp
2754798c73 Basic PDF functionality
With this commit Zathura gains PDF refered functionality and
therefore several shortcuts and commands

Added following functionality:
  * Open PDF file (via command or argument)
  * Scroll on the current page
  * Thumb through the PDF file
  * Rotate PDF page
  * Zoom in and out

In progess:
  * Search PDF
  * Better notification system
2009-08-12 21:52:10 +02:00
Moritz Lipp
0eeb457bea Initial commit 2009-08-11 23:18:50 +02:00