<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pdf-tools.git/test, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/'/>
<entry>
<title>test: add pdf-roll tests and fix defcustom bug</title>
<updated>2025-12-31T17:31:15+00:00</updated>
<author>
<name>Vedang Manerikar</name>
<email>ved.manerikar@gmail.com</email>
</author>
<published>2025-12-31T08:21:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=b3437f9b188919e925be82c89381bfa8c7c09594'/>
<id>b3437f9b188919e925be82c89381bfa8c7c09594</id>
<content type='text'>
Add automated tests for pdf-roll functionality:
- pdf-roll-page-to-pos utility function
- pdf-roll-page-at-current-pos with various positions
- Customization defaults
- Symbol properties
- Minor mode keymap existence

Fix bug in pdf-roll-margin-color defcustom where the :set
function didn't actually set the variable value.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add automated tests for pdf-roll functionality:
- pdf-roll-page-to-pos utility function
- pdf-roll-page-at-current-pos with various positions
- Customization defaults
- Symbol properties
- Minor mode keymap existence

Fix bug in pdf-roll-margin-color defcustom where the :set
function didn't actually set the variable value.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(pdf-view): replace obsolete registerv-make with cl-defstruct</title>
<updated>2025-12-31T03:02:12+00:00</updated>
<author>
<name>Vedang Manerikar</name>
<email>ved.manerikar@gmail.com</email>
</author>
<published>2025-12-30T15:49:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=804d183c59c7804f94fab652658fa7d4c4fd6ca0'/>
<id>804d183c59c7804f94fab652658fa7d4c4fd6ca0</id>
<content type='text'>
The registerv-make function was deprecated in Emacs 27.1. Replace it
with a proper cl-defstruct (pdf-view-register) and cl-defmethod
implementations for register-val-jump-to, register-val-describe,
and register-val-insert.

Add tests for the register API used by pdf-view:
- pdf-view-registerv-make-creates-register: verifies register creation
- pdf-view-register-val-insert: verifies insert method works
- pdf-view-position-to-register-stores-position: verifies store/retrieve

Fixes: #333
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The registerv-make function was deprecated in Emacs 27.1. Replace it
with a proper cl-defstruct (pdf-view-register) and cl-defmethod
implementations for register-val-jump-to, register-val-describe,
and register-val-insert.

Add tests for the register API used by pdf-view:
- pdf-view-registerv-make-creates-register: verifies register creation
- pdf-view-register-val-insert: verifies insert method works
- pdf-view-position-to-register-stores-position: verifies store/retrieve

Fixes: #333
</pre>
</div>
</content>
</entry>
<entry>
<title>Make selection style configurable by introducing a new variable</title>
<updated>2023-01-16T18:27:08+00:00</updated>
<author>
<name>lennonhill</name>
<email>@</email>
</author>
<published>2022-01-19T22:20:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=8ddf4c709829ea0225771891a7b404900768d9f1'/>
<id>8ddf4c709829ea0225771891a7b404900768d9f1</id>
<content type='text'>
Make selection-style configurable via `pdf-view-selection-style`. A
default value of `word` might be desirable, as selection is usually
intended to select entire words is perceptually faster than
glyph-based selection.

This affects selections and highlights, but not search.

Limitation:
The selection type is fixed for all currently selected regions.
Selecting multiple regions with different selection styles at the same
time would require storing the selection style for every region and
replacing the protocol for `cmd_addannot` with a more flexible one,
e.g. the keyword-based one used by `cmd_renderpage`.

Closes: #73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make selection-style configurable via `pdf-view-selection-style`. A
default value of `word` might be desirable, as selection is usually
intended to select entire words is perceptually faster than
glyph-based selection.

This affects selections and highlights, but not search.

Limitation:
The selection type is fixed for all currently selected regions.
Selecting multiple regions with different selection styles at the same
time would require storing the selection style for every region and
replacing the protocol for `cmd_addannot` with a more flexible one,
e.g. the keyword-based one used by `cmd_renderpage`.

Closes: #73
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove guards in `pdf-virtual` tests and code.</title>
<updated>2022-10-10T10:09:23+00:00</updated>
<author>
<name>Vedang Manerikar</name>
<email>ved.manerikar@gmail.com</email>
</author>
<published>2022-10-03T09:12:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=365d2d8e8ed45c4358ff767a40fdc184746e043b'/>
<id>365d2d8e8ed45c4358ff767a40fdc184746e043b</id>
<content type='text'>
This is dead-code for supporting Emacs &lt;26.3

Relates to: #26
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is dead-code for supporting Emacs &lt;26.3

Relates to: #26
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't depend on gcc when building with `nix-shell` (#135)</title>
<updated>2022-08-22T06:38:50+00:00</updated>
<author>
<name>Mario Rodas</name>
<email>marsam@users.noreply.github.com</email>
</author>
<published>2022-08-22T06:38:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=c3d227c11bbeb18ea494fa832d0f23f71ccf9a9d'/>
<id>c3d227c11bbeb18ea494fa832d0f23f71ccf9a9d</id>
<content type='text'>
* Use `--run` flag to execute nix-shell

The `--command` flag is only required to spawn a interactive shell.

* Do not require gcc to build with nix-shell

`nix-shell` already sets CC with a C compiler, for instance Clang on darwin.

* Remove outdated require in test-helper

`f.el` is not needed anywhere.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Use `--run` flag to execute nix-shell

The `--command` flag is only required to spawn a interactive shell.

* Do not require gcc to build with nix-shell

`nix-shell` already sets CC with a C compiler, for instance Clang on darwin.

* Remove outdated require in test-helper

`f.el` is not needed anywhere.</pre>
</div>
</content>
</entry>
<entry>
<title>Indentation and code-quality fixes</title>
<updated>2021-12-31T04:16:00+00:00</updated>
<author>
<name>Vedang Manerikar</name>
<email>ved.manerikar@gmail.com</email>
</author>
<published>2021-12-28T17:06:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=c5e6be69086b45af05b2f58f6df23167b6a5da79'/>
<id>c5e6be69086b45af05b2f58f6df23167b6a5da79</id>
<content type='text'>
- Remove :group arguments from `defcustom` declarations
  - `defcustom` picks up `defgroup` names from the same file, so
    specifying the group is not necessary
- Ensure that all function-names are properly quoted using #'
- Add an explicit header-option setting lexical-binding to t
- Ensure that cl-check-type uses `satisfies` for filenames
- Replace all `defadvice` with `advice-add`
- Replace `(list ...)` patterns with `\`(...)` patterns

Fixes: #62
Fixes: #32
Partially Fixes: #24
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Remove :group arguments from `defcustom` declarations
  - `defcustom` picks up `defgroup` names from the same file, so
    specifying the group is not necessary
- Ensure that all function-names are properly quoted using #'
- Add an explicit header-option setting lexical-binding to t
- Ensure that cl-check-type uses `satisfies` for filenames
- Replace all `defadvice` with `advice-add`
- Replace `(list ...)` patterns with `\`(...)` patterns

Fixes: #62
Fixes: #32
Partially Fixes: #24
</pre>
</div>
</content>
</entry>
<entry>
<title>Add test for `pdf-cache-get-image`</title>
<updated>2019-01-12T02:11:56+00:00</updated>
<author>
<name>Nathaniel Nicandro</name>
<email>nathanielnicandro@gmail.com</email>
</author>
<published>2019-01-12T02:06:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=35931ad415adcb0085c6e8cdf52d3988311c3d9b'/>
<id>35931ad415adcb0085c6e8cdf52d3988311c3d9b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add tests for pdf-loader.el</title>
<updated>2018-10-20T15:42:10+00:00</updated>
<author>
<name>Andreas Politz</name>
<email>politza@hochschule-trier.de</email>
</author>
<published>2018-10-20T15:42:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=14de101171d7bfdb0f741c6878f2f048d1f6ee88'/>
<id>14de101171d7bfdb0f741c6878f2f048d1f6ee88</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not provide the test-helper feature</title>
<updated>2017-09-14T16:43:38+00:00</updated>
<author>
<name>Jonas Bernoulli</name>
<email>jonas@bernoul.li</email>
</author>
<published>2017-09-14T16:43:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=d11ce467b81c16471ee10f03d4121fb2b415305f'/>
<id>d11ce467b81c16471ee10f03d4121fb2b415305f</id>
<content type='text'>
"test-helper.el" isn't a library intended to be loaded with `require`.
Instead it is loaded with `load` by `ert-runner` itself.  Because of
that, it is confusing to provide a feature using `provide`.  It also
isn't possible to use `require' to load `test-helper` because that
might, depending on the order of `load-path` load the "test-helper.el"
of another package that used `ert-runner`.

This is also discussed at rejeep/ert-runner.el#38.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"test-helper.el" isn't a library intended to be loaded with `require`.
Instead it is loaded with `load` by `ert-runner` itself.  Because of
that, it is confusing to provide a feature using `provide`.  It also
isn't possible to use `require' to load `test-helper` because that
might, depending on the order of `load-path` load the "test-helper.el"
of another package that used `ert-runner`.

This is also discussed at rejeep/ert-runner.el#38.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request 174</title>
<updated>2017-09-12T14:11:21+00:00</updated>
<author>
<name>Andreas Politz</name>
<email>politza@hochschule-trier.de</email>
</author>
<published>2017-09-12T13:42:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.tews.dev/cgit/pdf-tools.git/commit/?id=8041fff63d092bc88765089c8a6dbc3b288f9fa0'/>
<id>8041fff63d092bc88765089c8a6dbc3b288f9fa0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
