aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-01-08README: Mention GNU ELPA repositoryDaniel Mendler
2023-01-08README: The mirror is outdatedDaniel Mendler
2023-01-08compat-25: Small fix to the last commitDaniel Mendler
2023-01-08compat-25: Optimize sort, improve testDaniel Mendler
O(n²) -> O(nlogn)
2023-01-08compat-29: Add test for key-parseDaniel Mendler
2023-01-07Version 29.1.1.029.1.1.0Daniel Mendler
2023-01-07compat-29: Drop with-buffer-unmodified-if-unchangedDaniel Mendler
2023-01-07Declare pos-bol and pos-eol as side-effect-freeDaniel Mendler
2023-01-07compat-29: Add pos-bol and pos-eolDaniel Mendler
2023-01-07compat-27: Add test for recenterDaniel Mendler
2023-01-07compat-tests: Fix and test read-multiple-choiceDaniel Mendler
2023-01-07compat-tests: Fix and test image-property getter/setterDaniel Mendler
2023-01-07compat-28: Fix and test with-existing-directoryDaniel Mendler
2023-01-07Update newsDaniel Mendler
2023-01-07Update newsDaniel Mendler
2023-01-07compat-28: Drop make-directory-autoloadsDaniel Mendler
This command has been added in 28.1 and deprecated in 29.1. It was untested in compat.el all along.
2023-01-07compat-tests: Add test for with-environment-variablesDaniel Mendler
2023-01-07CI: Test against 28.2Daniel Mendler
2023-01-07Update NEWSDaniel Mendler
2023-01-07compat-29: Fixes to buffer-match-pDaniel Mendler
- not clause adjusted to recent updates in emacs-29 branch - and clause had a bug
2023-01-07compat-29: Drop broken string-limitDaniel Mendler
2023-01-07compat-29: Drop broken string-pixel-width and window-pixel-width (Fix #8)Daniel Mendler
These functions seem to hangup from time to time on 28.2 (seagle0128/doom-modeline#601). By dropping the functions the hangup in doom-modeline is resolved, since doom-modeline contains a runtime check for string-pixel-width. The compatibility function implementations do not contain any loops, this means there is an underlying bug in `window-text-pixel-size' in 28.2 exposed by the compatibility function. Either the compatibility function must be written in a different form or we cannot provide them at all.
2023-01-07compat-29: Add test for function-alias-pDaniel Mendler
2023-01-07Explicit functions: Mention reason of existence in the docstringDaniel Mendler
Replicating the docstring of the original function is not needed.
2023-01-07compat.el: Add missing compat-declare-versionDaniel Mendler
2023-01-06Update newsDaniel Mendler
2023-01-06Move json functions to compat.elDaniel Mendler
These functions are defined conditionally. Therefore they must not be part of the versioned files. Conditionally-defined functions are a special complicated edge case, which need more testing. Therefore the json functions are currently marked as UNTESTED.
2023-01-06compat-tests: Test that no unnecessary compat-* files are loadedDaniel Mendler
2023-01-06Add UNTESTED labelsDaniel Mendler
2023-01-06Only require Compat libraries which are neededDaniel Mendler
2023-01-06compat--alist-get gv expander: Evaluate check at compile timeDaniel Mendler
2023-01-06Remove :realnameDaniel Mendler
2023-01-06compat-26: Only define gv expanders if neededDaniel Mendler
compat--alist-get is only defined on Emacs < 26.
2023-01-06Treat byte compilation warnings as errorsDaniel Mendler
Except on the snapshot version since new warnings may get introduced there. As soon as a new Emacs version is released, it will also checked for warnings.
2023-01-06compat-tests: Suppress warning for `string-to-multibyte' on 26Daniel Mendler
2023-01-06compat--function-definition: Do not use hashed symbolDaniel Mendler
The hashed symbol leads to a bytecompiler warning (false positive).
2023-01-06compat-defalias: Add missing debug declareDaniel Mendler
2023-01-06compat--function-definition: Add declare-functionDaniel 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-06compat-macs: Restore runtime checksDaniel 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-06compat-tests: Use uniform naming conventionDaniel Mendler
2023-01-06Add runtime version checkDaniel Mendler
We must make sure that we don't load Compat in an incompatible Emacs version.
2023-01-06Use basic alist-get definition in 25Daniel Mendler
In compat-26 we provide the alist-get variant with the additional TESTFN argument.
2023-01-06Rework the macros in compat-macsDaniel 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-06Remove deprecated featuresDaniel Mendler
2023-01-06Remove deprecated prefixed compatibility functionsDaniel 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-06Set new development version 29.1.1.0-gitDaniel Mendler
2023-01-05Version 29.1.0.129.1.0.1Daniel Mendler
2023-01-05Hotfix, add missing version checkDaniel Mendler
2023-01-05Version 29.1.0.029.1.0.0Daniel Mendler
2023-01-05compat-macs: Fix docstringsDaniel Mendler