NEWS (9565B)
1 -*- org -*- 2 * Version 1.2.0 (Under Development) 3 * Version 1.1.0 4 ** Improve overall user experience 5 - Make ~selection-style~ configurable when selecting text, via ~pdf-view-selection-style~ @hrdl-github #73 6 + This feature enabled us to change the default ~selection-style~ used in ~pdf-tools~ from =GLYPH= to =WORD=. 7 + The change makes highlighting / selecting text *much* snappier. If you want to go back to the old behaviour of selecting by glyph instead of word, or if you want to select a whole line instead, customize ~pdf-view-selection-style~ 8 9 - Track rotation of pages and add a command to make rotation of pages easy @vizs #165 10 + The new command is bound to =R= in ~pdf-view-mode-map~. 11 12 - Add support for maintaining hue in ~pdf-view-midnight-minor-mode~ using the OKLab color space @smithzvk #69 #197 13 + This inversion method is now enabled by default and can be controlled by the ~pdf-view-midnight-invert~ variable. Check out the images in the PR for how beautiful the colors look in midnight mode now. 14 + Also thanks to @Atreyagaurav for pushing fixes which improved this feature. 15 16 ** Functionality fixes and improvements 17 - Fix: Saving a PDF when ~buffer-file-name~ is missing will now prompt for a filename (eg: in EWW) @akater #178 18 - Fix: Ensure ~pixel-scroll-precision-mode~ is deactivated correctly @mssdvd #206 19 20 ** Installation and Platform Compatibility improvements 21 Please note: as of this release, users are not expected to manually set anything on their machines during installation. (for example: ~$PKG_CONFIG_PATH~). The installation should *just work*. If it does not, please open a ticket so that we can track it. 22 23 - Add ~cairo-devel~ to Void Linux package list @crzjp #203 24 25 * Version 1.0.0 26 From this version onward, we will follow Semantic Versioning for new ~pdf-tools~ releases. 27 28 ** Breaking changes: 29 *** Raise the minimum supported version of Emacs to 26.3 #26 30 Drop support for Emacs 24 and 25. This allows for some code cleanup. *This is a major breaking change*. 31 *** Change the default value of pdf-view-use-scaling #133 32 ~pdf-view-use-scaling~ is now true by default, leading to rendering of crisp images on high-resolution screens. This should not cause problems on low-resolution screen (other than taking up more cache space / increasing rendering time), but if it does, please ~(setq pdf-view-use-scaling nil)~ in your configuration. 33 34 ** Improve overall user experience 35 - Set ~pdf-annot-list-highlight-type~ to true by default. 36 + Show annotation color when listing them by default, allow the user to turn them off if need be. 37 38 ** Make changes required by newer versions of Emacs 39 - Emacs 29 introduces ~pixel-scroll-precision-mode~, which interferes with ~pdf-view~ scrolling. This is fixed in #124 40 41 ** Functionality fixes and improvements 42 - Fix ~revert-buffer~ to correctly work over Tramp #128 43 - Fix sorting by date in ~pdf-annot-list-mode~ #75 44 45 * Version 0.91 46 ** Change the keybindings for traversing history 47 This is a minor but *breaking change*. ~l~ (backward) and ~r~ (forward) are the conventional bindings for history navigation in Emacs, but ~pdf-tools~ uses ~B~ and ~N~. The previous keybindings are kept as-is for people who were used to it, while introducing ~l~ and ~r~ keybindings as well. 48 49 This is a breaking change because ~r~ was previously bound to ~revert-buffer~. However, ~g~ is also bound to ~revert-buffer~ and is the conventional binding for ~revert~ so this should be okay. 50 51 ** Make changes required by newer versions of Emacs 52 A number of changes are made to support new elisp / package changes. There is no impact of this on existing users. 53 - Emacs 27, Emacs 28 and Emacs 29 are supported now. 54 - Synctex 1.21 is supported now. 55 ** Improve overall install experience 56 Running ~M-x pdf-tools-install~ should _just work_ now. 57 ** Add support for high-resolution displays (Retina display on Mac) 58 Setting ~pdf-view-use-scaling~ to a non-nil value now renders crisp images on high-resolution displays. 59 * Version 0.90 60 ** The displayed columns when listing annotations is now customizable 61 See variable ~pdf-annot-list-format~ and ~pdf-annot-list-highlight-type~. 62 ** Improved handling of default annotation properties 63 A new variable ~pdf-annot-default-annotation-properties~ was introduced, subsuming and obsoleting ~pdf-annot-default-text-annotation-properties~ and ~pdf-annot-default-markup-annotation-properties~. The new variable lets the user choose default properties, e.g. a color, for all supported annotations separately. 64 ** Provide a faster "boot-loader" 65 The autoloaded function ~pdf-loader-install~ acts as a replacement for ~pdf-tools-install~ and makes Emacs load and use PDF Tools as soon as a PDF file is opened, but not sooner. 66 ** Improved the process of (re)compiling the server 67 This obsoletes the variable ~pdf-tools-handle-upgrades~, which does nothing anymore. 68 * Version 0.80 69 ** Tablist package 70 The files ~tablist.el~ and ~tablist-filter.el~ are no longer part of ~pdf-tools~, but continue to live on in the ~tablist~ package, on which ~pdf-tools~ now depends on. 71 ** View 72 *** Encrypted files 73 When encountering an encrypted file, query for a password and attempt to decrypt it. 74 *** Backward sync from isearch 75 In ~isearch~, press ~M-s s~ to visit the source of the current match. 76 *** Disable unicode in mode-line 77 New variable ~pdf-view-use-unicode-lighter~ which allows for disabling the use of unicode in the mode-line. 78 * Version 0.70 79 ** View 80 *** Register integration 81 The keys ~m~ and ~'~ now set respectively to jump to a register corresponding to a position in the PDF. Also ~''~ is handled special: It jumps to the position before the last register-jump. 82 *** Export parts of a page as an image 83 See ~pdf-view-extract-region-image~. 84 ** Info 85 *** Interface changes 86 The return value of many pdf-info-* functions was changed in order to prefer alists over other data-structures (indexed lists, trees). 87 ** Virtual PDF 88 A virtual PDF is a collection of pages (or parts thereof) of arbitrary documents, which appear to the rest of ~pdf-tools~ as one big PDF, though they are always read-only. 89 90 * Version 0.60 91 ** Regexp support 92 You may now search for perl-compatible regular expressions (PCRE) in PDF documents, both via Isearch and Occur. If that scares you, customize the variable ~pdf-occur-prefer-string-search~. 93 ** Occur 94 *** Asynchronous search 95 Searching is performed asynchronously in a private server instance, i.e. it doesn't block neither ordinary editing nor ~pdf-view-mode~. 96 *** Moccur 97 Added the ability to search multiple documents in one occur buffer. 98 ** Isearch 99 *** Occur Integration 100 ~M-s o~ now starts occur, while keeping the isearch session, like it is in text-buffers. 101 *** Word search 102 ~M-s w~ now does a word search, which will also find hyphenated words (as determined by ~pdf-isearch-hyphenation-character~), though not at page boundaries. 103 ** View 104 *** Navigate by pagelabels 105 ~M-g l~ may be used to jump to a page by label, i.e. its displayed number. 106 *** Rendering 107 Added the ability to display the page as it would be printed (e.g. w/o annotations) via ~pdf-view-printer-minor-mode~ and to apply a color filter via ~pdf-view-midnight-minor-mode~. 108 ** Outline 109 New option ~pdf-outline-display-labels~, determining whether to display labels instead of plain page-numbers. 110 * Version 0.50 111 ** PDF Tools is now available on MELPA. 112 ** SyncTeX 113 *** File name handling 114 SyncTeX is pretty picky about source filenames. So instead of trying various filenames and hoping for best, we find it by directly inspecting the database. 115 *** Heuristic backward search 116 Backward searching now tries to find the exact position in the LaTeX buffer. This may be disabled by setting ~pdf-sync-backward-use-heuristic~ to ~nil~. 117 *** Renamed most variables/functions/commands. 118 The old ones are still there but declared obsolete. 119 ** Compatible with Emacs 24.3 120 ** Integrate with bookmark.el 121 ** Compiling on OSX 122 PDF Tools should now compile on OSX, though it is unsupported. 123 ** MELPA 124 Try to handle an update via MELPA by ~package.el~ by shutting down the server, recompiling and restarting it. This may be deactivated by setting ~pdf-tools-handle-upgrades~ to nil. 125 ** Auto slicing 126 A new minor mode which will automatically slice the page according to its bounding box. 127 * Version 0.40 128 I basically reimplemented the whole thing. (Not really, but a lot has changed.) 129 ** Displaying PDF Files. 130 Rendering is now done almost completely in ~libpoppler~ (no convert anymore), while PNG images are kept in memory and files are solely used as a means of exchange between Emacs and ~epdfinfo~. In essence, display should be much faster. 131 *** New Major Mode pdf-view 132 Hacking up ~doc-view.el~ to support a server-based *rendering engine* would have been to awkward. So a new major-mode was needed : ~pdf-view-mode~. Both are very similar regarding user-interface. Some differences are: 133 + Setting the width to ~fit-width~, ~fit-height~ or ~fit-page~ keeps up with window-size changes. 134 + The values of the slice are relative, i.e. independent of the ~image-size~. 135 *** PNG Image Cache 136 Image data is cached, in order to keep the time it needs to display a page low. Some pages are pre-loaded for the same reason, while idling. The number of cached images per buffer may be customized using ~pdf-cache-image-limit~. 137 ** Annotations 138 *** New supported types 139 Provided ~epdfinfo~ was build with a recent version of ~libpoppler~, you may now create and modify the following markup annotation types: highlight, squiggly, underline and strike-out. 140 ** Various 141 *** You may now select extended regions with C-mouse-1. 142 *** Numerous other changes