| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-01-06 | compat-defalias: Add missing debug declare | Daniel Mendler | |
| 2023-01-06 | compat--function-definition: Add declare-function | Daniel Mendler | |
| The functions are declared in order to avoid bytecompiler warnings about missing definitions at runtime. These warnings may be generated due to the dynamic unless fboundp check, which ensures that existing functions are not overridden. | |||
| 2023-01-06 | compat-macs: Restore runtime checks | Daniel Mendler | |
| Compat uses runtime checks (boundp, fboundp) to ensure that existing definitions are never overridden, when Compat is loaded on a newer Emacs than it was compiled on. | |||
| 2023-01-06 | Add runtime version check | Daniel Mendler | |
| We must make sure that we don't load Compat in an incompatible Emacs version. | |||
| 2023-01-06 | Rework the macros in compat-macs | Daniel Mendler | |
| - New macro compat--guarded-definition, which handles the generic feature and version checks (:feature, :min-version, :max-version). - compat--function-definition: Use compat--guarded-definition. - compat-defun, compat-defmacro: Use compat--function-definition. - compat-defvar: Use compat--guarded-definition. - compat-defalias: Use compat--guarded-definition. - compat--format-docstring: New helper function to format the compatibility docstring. Used by compat-defvar and compat-defun. - compat--condition-satisfied: New helper function which performs the version constraint checks. Used by compat--guarded-definition. - compat--check-attributes: New helper function which checks the attribute plists for validity. Used by compat--guarded-definition. | |||
| 2023-01-06 | Remove deprecated prefixed compatibility functions | Daniel Mendler | |
| These functions are only used by exactly two packages: Consult 0.30 (released) and Magit 3.4.0 (unreleased development version). Both packages have been updated to use compat-call. | |||
| 2023-01-05 | Hotfix, add missing version check | Daniel Mendler | |
| 2023-01-05 | compat-macs: Fix docstrings | Daniel Mendler | |
| 2023-01-05 | Exclusive bounds for :max-version | Daniel Mendler | |
| 2023-01-05 | Simplify macros | Daniel Mendler | |
| 2023-01-05 | Remove version check | Daniel Mendler | |
| 2023-01-05 | Remove :version key | Daniel Mendler | |
| 2023-01-05 | Add string-split | Daniel Mendler | |
| 2023-01-04 | compat-macs: Require subr-x | Daniel Mendler | |
| 2023-01-04 | Use with-eval-after-load (24.4) | Daniel Mendler | |
| 2023-01-04 | Mark tested functions | Daniel Mendler | |
| 2023-01-04 | Rename | Daniel Mendler | |
| 2023-01-04 | Add UNTESTED labels behind compat-defuns for greppability | Daniel Mendler | |
| 2023-01-04 | Update version number | Daniel Mendler | |
| 2023-01-04 | Run all checks at compile time | Daniel Mendler | |
| 2023-01-04 | Revert "Add compat-feature macro" | Daniel Mendler | |
| This reverts commit de7346396aab592610e05990aab154a02b73f46d. | |||
| 2023-01-04 | Add compat-feature macro | Daniel Mendler | |
| 2023-01-04 | Always require subr-x at compile time | Daniel Mendler | |
| 2023-01-04 | Require features at compile time | Daniel Mendler | |
| 2023-01-04 | Simplify the test suite | Daniel Mendler | |
| 2023-01-04 | Ensure that realname is always bound | Daniel Mendler | |
| 2023-01-03 | Rename compat-funcall to compat-call | Daniel Mendler | |
| See the discussion with @tarsius in https://github.com/magit/magit/issues/4836 | |||
| 2023-01-03 | Move functions from compat--explicit- to compat-- | Daniel Mendler | |
| 2023-01-03 | Minor cleanup | Daniel Mendler | |
| 2023-01-03 | Execute check inside of with-eval-after-load block | Daniel Mendler | |
| 2023-01-03 | compat-macs: Rename :prefix to :explicit | Daniel Mendler | |
| 2023-01-03 | Deprecate all prefixed functions | Daniel Mendler | |
| 2023-01-03 | compat-macs: Minor simplification | Daniel Mendler | |
| 2023-01-03 | Disallow :realname to equal compat--<name> | Daniel Mendler | |
| I plan to use the naming convention compat--<name> for the compat-funcall and compat-function macros in the future. Intentionally use ugly compat--internal-* names. I hope we can remove some of those. | |||
| 2023-01-03 | Add compat--with-feature helper | Daniel Mendler | |
| 2023-01-03 | Minor simplification | Daniel Mendler | |
| 2023-01-03 | Remove :no-highlight from docstring | Daniel Mendler | |
| 2023-01-03 | Minor simplification - remove type argument from compat--generate-function | Daniel Mendler | |
| 2023-01-03 | Disallow :prefix and :realname for compat-defvar | Daniel Mendler | |
| 2023-01-03 | Update docstrings | Daniel Mendler | |
| 2023-01-03 | Minor simplification, remove advice remnants | Daniel Mendler | |
| 2023-01-03 | Remove :note support | Daniel Mendler | |
| 2023-01-03 | compact-macs: Remove the advice mechanism | Daniel Mendler | |
| 2023-01-03 | Remove compat--ignore | Daniel Mendler | |
| 2023-01-03 | Make some compat-macs functions private | Daniel Mendler | |
| 2023-01-03 | Avoid duplicating the package information in the header | Daniel Mendler | |
| 2023-01-03 | Rename compat-current-version to compat--current-version | Daniel Mendler | |
| 2023-01-03 | Always load prefixed definitions | Daniel Mendler | |
| We will move away from prefixed definitions later on and introduce `compat-function' and `compat-funcall' macros. These macros make it possible to call compatibility functions with different calling conventions. The prefixed definitions will be deprecated. The problem with the prefixed definitions is two-fold: 1. They pollute the namespace and the API surface of Compat will become larger and larger with every version. 2. Since Compat is not part of Emacs itself, the prefixed definitions cannot be used by :core packages. By adding the `compat-funcall' and `compat-function' macro to the core itself, which is a minimal addition, using compatibility function with modified calling convention becomes possible. | |||
| 2023-01-03 | Merge branch 'emacs-29.1' | Philip Kaludercic | |
| 2023-01-03 | Update copyright years | Philip Kaludercic | |
