aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix cl-intern/cl-unintern testspkgStefan Kangas2022-10-211-2/+13
| | | | | * test/src/pkg-tests.el (pkg-tests-cl-intern) (pkg-tests-cl-unintern): Fix tests.
* * src/lisp.h (pkg_error): Fix GCC warning in declaration.Stefan Kangas2022-10-211-1/+1
|
* Work on Lisp interfaceGerd Möllmann2022-10-211-49/+25
|
* Handle keywords in image specsGerd Möllmann2022-10-201-3/+5
| | | | | * src/image.c (parse_image_spec): Don't assume that keywords have a ':' in their symbol name.
* Remove a call to pkg_breakGerd Möllmann2022-10-201-3/+0
|
* Add pkg_set_status and Lisp defun for itGerd Möllmann2022-10-202-62/+176
|
* Fix completion for new symbol table layoutGerd Möllmann2022-10-201-8/+26
|
* De-duplicate packages for mapatomsGerd Möllmann2022-10-201-7/+20
|
* Introduce PACKAGE_NAMEXGerd Möllmann2022-10-203-7/+12
| | | | PACKAGE_NAME Is already taken :-(.
* Some cleanup in pkg.c and lisp.hGerd Möllmann2022-10-202-86/+113
|
* Intrdduce pkg_find_symbolGerd Möllmann2022-10-203-25/+27
|
* Print package prefixes rightGerd Möllmann2022-10-201-13/+14
|
* Remove Lisp_Symbol::externalGerd Möllmann2022-10-204-12/+0
|
* Remove unused function prototype from lisp.hGerd Möllmann2022-10-201-1/+0
|
* Change package symbol table layoutGerd Möllmann2022-10-203-184/+150
| | | | | | | The symbol table now stored symbol as key, and symbol status (:internal, :external) as values. Quite some changes due to that.
* Fix some warningsGerd Möllmann2022-10-191-8/+9
|
* hash_remove_from_table returns boolGerd Möllmann2022-10-192-2/+6
| | | | | | * src/fns.c (hash_remove_from_table): Return true if something was deleted. * src/lisp.h: Change declaration.
* Fix intern-softGerd Möllmann2022-10-191-28/+8
| | | | | | * src/pkg.c (conflicting_package): Remove unused function. (pkg_emacs_intern_soft): If checking a symbol, return non-nil only if we found exactly that symbol.
* Fix missing ')'Gerd Möllmann2022-10-191-2/+1
|
* Restore obarray.el to return vectorsGerd Möllmann2022-10-191-5/+8
|
* New predefined hash table test for string-equalGerd Möllmann2022-10-191-1/+30
| | | | | | | | * src/fns.c (cmpfn_string_equal): New. (hashfn_string_equal): New. (hashtest_string_equal): New. (Fmake_hash_table): Recognize test type Qstring_equal. (syms_of_fns): DEFSYM Qstring_qual.
* Move more package stuff to LispGerd Möllmann2022-10-194-410/+155
|
* Move make-package to LispGerd Möllmann2022-10-183-262/+228
| | | | | | * lisp/emacs-lisp/pkg.el: Implement make-package. * lisp/obarray.el (obarray-make): Use make-%package. * src/pkg.c: Various changes to move make-package to Lisp.
* Make faces work with keywords not having : in symbol namesGerd Möllmann2022-10-181-8/+7
| | | | | | | * src/xfaces.c (set_lface_from_font): Use LISP_SYMBOL_NAME. (merge_face_vectors): Use LISP_SYMBOL_NAME. (merge_face_ref): Use SYMBOL_KEYWORD_P instead of checking ':'. (gui_supports_face_attributes_p): Use LISP_SYMBOL_NAME.
* Add amcros for keyword symbolsGerd Möllmann2022-10-183-2/+16
| | | | | | | * src/lisp.h (SYMBOL_KEYWORD_P): Returns true if symbol is a keyword. (LISP_SYMBOL_NAME): Basically the same as Fsymbol_name, a shortcut. * src/data.c (Fsymbol_name): Use SYMBOL_KEYWORD_P. * src/pkg.c (pkg_intern_keyword): Use SYMBOL_KEYWORD_P.
* Make internals of Lisp_Package visible to LispGerd Möllmann2022-10-182-15/+93
| | | | | | | | | | | | | | | | | Done to be able to do as much as possible from Lisp. * src/lisp.h (Lisp_Package): Rename used_packages to use_list. * src/pkg.c: Rename used_packages to use_list. (Fpackage_percent_name): (Fpackage_percent_set_name): (Fpackage_percent_nicknames): (Fpackage_percent_set_nicknames): (Fpackage_percent_use_list): (Fpackage_percent_set_use_list): (Fpackage_percent_shadowing_symbols): (Fpackage_percent_set_shadowing_symbols): (Fpackage_percent_symbols): New functions for getting and setting internals of Lisp_Package. (syms_of_pkg): defsubr them.
* Work on defpackageGerd Möllmann2022-10-181-0/+260
|
* Increase default symbol-table sizesGerd Möllmann2022-10-181-2/+11
| | | | | | * src/pkg.c (Fpackage_symbols): New function. (syms_of_pkg): defsubr it. (init_pkg_once): Up symbol table sizes.
* DEFVAR some variablesGerd Möllmann2022-10-182-27/+16
| | | | | | | * src/lisp.h: Remove extern declarations for some vars. * src/pkg.c (syms_of_pkg): DEFVAR_LISP_NOPRO some variables. *package*, *package-registry*, *emacs-package*, *keyword-package*, package-prefixes
* Support specifying package sizeGerd Möllmann2022-10-181-13/+21
|
* Revert some unimportant changesGerd Möllmann2022-10-183-4/+1
|
* Partially revert "Remove obarrays"Gerd Möllmann2022-10-181-1/+1
|
* More scribblingGerd Möllmann2022-10-181-50/+62
|
* Revert "Dpn't assume symbol-name of keywords starts with colon"Gerd Möllmann2022-10-181-1/+1
| | | | This reverts commit bb6b5db2b7af3f1aaf8866d4dd6ce944d10244f8.
* Add cö-symbol-nameGerd Möllmann2022-10-181-0/+9
|
* Revert "Use make-package instead of make-vector"Gerd Möllmann2022-10-181-1/+1
| | | | This reverts commit 072e89afa119c0e35321edfb8bc0dfff89b6960d.
* Fix printing uninterned symbolsGerd Möllmann2022-10-181-5/+8
|
* symbol-name returning ':' for keywordsGerd Möllmann2022-10-181-4/+3
| | | | | * src/data.c (Fsymbol_name): Return a name starting with ':' for keywords.
* Recognize vectors as obarraysGerd Möllmann2022-10-171-3/+4
| | | | | | * lisp/obarray.el (obarray-make): Ignore parameter. (obarray-size): Ignore parameter. (obarrayp): Accept vectors.
* Fix printing symbolsGerd Möllmann2022-10-171-5/+7
|
* Fake obarraysGerd Möllmann2022-10-171-41/+74
|
* Fix printing of confusing symbol namesGerd Möllmann2022-10-171-2/+16
|
* Merge remote-tracking branch 'origin/master' into pkgGerd Möllmann2022-10-1764-147/+250
|\
| * ; * lisp/battery.el (battery-bsd-apm): No need for `executable-find'.Manuel Giraud2022-10-061-4/+2
| |
| * Pass correct environment name to `reftex-label'Arash Esbati2022-10-061-1/+1
| | | | | | | | | | | | * lisp/textmodes/tex-mode.el (latex-block-body-alist): Pass "figure" to `reftex-label' when inserting a figure float. (bug#58329)
| * etc/NEWS: Fix typo in seq-keep entry.Lars Ingebrigtsen2022-10-061-2/+2
| |
| * Replace aging OpenPGP artifacts in gnus' mml-sec tests.Justus Winter2022-10-0651-43/+163
| | | | | | | | | | | | | | | | | | This replaces the old OpenPGPv4 keys that are used in the test suite with more modern OpenPGPv4 keys. Having old cryptographic artifacts in the test suite presents a problem once the old algorithms are rejected by contemporary implementations (bug#58301).
| * Replace aging OpenPGP artifacts in the package-resources tests.Justus Winter2022-10-065-31/+28
| | | | | | | | | | | | | | | | | | | | | | This replaces the old OpenPGPv4 key that is used in the test suite with a more modern OpenPGPv4 key. The key is the Alice key from https://datatracker.ietf.org/doc/draft-bre-openpgp-samples/. All cryptographic artifacts in the test suite are updated accordingly. Having old cryptographic artifacts in the test suite presents a problem once the old algorithms are rejected by contemporary implementations.
| * Replace aging OpenPGP artifacts in the epg tests.Justus Winter2022-10-063-57/+33
| | | | | | | | | | | | | | | | | | | | | | This replaces the old OpenPGPv4 key that is used in the test suite with a more modern OpenPGPv4 key. The key is the Alice key from https://datatracker.ietf.org/doc/draft-bre-openpgp-samples/. All cryptographic artifacts in the test suite are updated accordingly. Having old cryptographic artifacts in the test suite presents a problem once the old algorithms are rejected by contemporary implementations.
| * Fix epg's reliance on an implicit GnuPG command.Justus Winter2022-10-061-6/+2
| | | | | | | | | | | | Previously, epg invoked GnuPG without an explicit command to verify signatures. Make that operation explicit. Happily, this aligns how gpg and gpgsm is invoked, so it actually makes the code simpler.