- Add *.elc to gitignore - In tests/director.el, rename :run property key to :eval
Fix unexpected top space height change when echo area height changes (#…
…18) - Change default value for `topspace-autocenter-buffers` to `topspace-default-autocenter-buffers` function - Add condition to `topspace-default-autocenter-buffers` so that it returns nil if user has scrolled buffer in the selected window before. - Move default function values for some defcust's to User functions section
Remove Emacs 25.1 test untill coveralls reporting error is debugged
Internal optimizations and refactoring
- Reduce number of cases that `topspace--count-lines` must be used in `topspace--filter-args-scroll-down` - replace instances of `topsapce--height` with `topspace-height`
Internal optimizations and refactoring
- Remove uneeded `topspace--count-lines` call in `topspace--filter-args-scroll-down` - Make `topspace--count-lines` more accurate by not adding extra 1 to value - Increase test coverage - Make tests run in workflow only when a src file is changed - Add supported Emacs versions badge to readme
- Rename `topspace-height-to-make-buffer-centered` back to `topspace--height-to-make-buffer-centered` from when it was accidentally renamed in commit 15ac6c9
Add topspace-set-height, enhance topspace-center-position (#19)
- Add `topspace-set-height` to allow users and external packages to update the top space height.
- Increase flexibility of `topspace-center-position` by allowing it to also be an integer or function as follows:
If a float, it represents the position to center buffers as a ratio of
frame height, and can be a value from 0.0 to 1.0 where lower values center
buffers higher up in the screen.
If a positive or negative integer value, buffers will be centered by putting
their center line at a distance of `topspace-center-position' lines away
from the top of the selected window when positive, or from the bottom
of the selected window when negative.
The distance will be in units of lines with height `default-line-height',
and the value should be less than the height of the window.
If a function, the same rules above apply to the functions' return value.
- Add `topspace-default-active` and set `topspace-active` default value to it, which makes topspace
not active in child frames by default
- Add `topspace-buffer-was-scrolled-p` which is used in `topspace-default-autocenter-buffers`
- Internal refactoring and updating of docstringsInternal refactoring and performance optimizations
- `topspace--count-pixel-height` was causing large performance overhead when opening large buffers, this is now resolved - `topspace--count-pixel-height` performance was increased by about 50% overall
- Undo commit e046ab3 because the underlying issue it fixed was that `window-end` needed to be updated when first centering new buffers. - Update `window-end` now every time its used - Add more comments for clarifications - Remove some unnecessary uses of `float` - Make sure `topspace-height` always returns a float - Refactor `topspace--text` to be more clear - Refactor `topspace--count-lines` to fix some corner cases - Use `window-text-height` instead of `window-screen-lines` - Update docstrings
- Improve performance of `topspace--post-command` by also only counting lines when point moved past previous line
Prepare topspace for inclusion in GNU ELPA
Other changes not related to preparing for GNU ELPA: - Add comment to `topspace--post-command` for clarification - Change CI name from Test to CI and test.yml to ci.yml - Bump version 0.2.1 -> 0.3.0