1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-17 16:41:17 -08:00
Commit graph

171804 commits

Author SHA1 Message Date
Gerd Möllmann
ea29f0f2eb Use PVEC_MODULE_GLOBAL_REFERENCE instead of PVEC_OTHER 2024-04-26 16:30:25 +02:00
Gerd Möllmann
446c0cb139 Fixes for weak-ref in non-MPS build 2024-04-26 16:29:15 +02:00
Gerd Möllmann
deac56f158 Fix new warnings in nsterm.m from clang/HEAD 2024-04-26 16:27:10 +02:00
Gerd Möllmann
1913bc6461 fix_other for struct module_global_reference 2024-04-26 12:47:17 +02:00
Eli Zaretskii
2c126e3b57 * src/igc (fix_frame): Fix last change. 2024-04-26 13:37:35 +03:00
Helmut Eller
6b204cab9a Fix some crashes in redisplay
* src/igc.c (fix_frame): Scan frame fonts.
2024-04-26 10:35:36 +03:00
Eli Zaretskii
10dde7db29 Avoid compiler warning in igc.c
* src/igc.c (fix_weak_ref): Avoid compiler warning about
dereferencing type-punned pointer, which breaks strict-aliasing
rules.
2024-04-26 10:24:36 +03:00
Eli Zaretskii
74635ca430 ; * src/igc.c: Don't unnecessarily us non-ASCII characters. 2024-04-25 16:44:37 +03:00
Eli Zaretskii
8976e7a4ae * src/igc.c (to_bytes): Fix for architectures other than 64 bit.
Patch from Helmut Eller <eller.helmut@gmail.com>.
2024-04-25 13:23:28 +03:00
Helmut Eller
0a2e5933f1 Experimental weak-ref objects 2024-04-24 22:40:33 +02:00
Gerd Möllmann
e2ed2a2a3b Fix tbreak for LLDB
* lisp/progmodes/gud.el (lldb): Use _regexp-tbreak command.
2024-04-24 20:56:17 +02:00
Gerd Möllmann
98b9f58f5f Don't use Flength in GC thread 2024-04-24 20:10:45 +02:00
Eli Zaretskii
9c3d5812fe Fix compilation warnings in MinGW build
* src/igc.c (finalize_ts_parser, finalize_ts_query)
(finalize_module_function, finalize_comp_unit, finalize_subr):
Define only if the corresponding features are available, to avoid
compiler warnings when they are not.
(alloc): Ifdef away an assertion redundant on 32-bit
architectures.
(Figc_roots): Fix casting pointer to integers.
(dflt_pad): Change type of 2nd arg according to typedef in mps.h,
to avoid compiler warning.
(scan_pure): Remove unneeded declaration of
'pure_bytes_used_lisp'.
* src/lisp.h (pure_bytes_used_lisp): Move out of the HAVE_MODULES
conditional.
* src/alloc.c [HAVE_MPS]: Ignore -Wunused-macros.
2024-04-24 17:46:30 +03:00
Gerd Möllmann
3d5eba9d5b fix_native_cu 2024-04-23 17:56:03 +02:00
Gerd Möllmann
db883bf642 Use igc_hash in json.c 2024-04-23 16:45:00 +02:00
Helmut Eller
20f0385bc6 Allow compilation with X.
* src/igc: Turn the error about text conversion into a warning.
  (Figc_roots): Initialize the result.

* src/gtkutil.c (xg_mark_data)
* src/xselect.c (mark_xselect)
* src/xterm.c (mark_xterm): Don't define marking functions when
  compiling with MPS.
2024-04-23 16:25:33 +02:00
Gerd Möllmann
225ae1582a Make tranfer between my fork and GNU easier 2024-04-23 07:45:11 +02:00
Helmut Eller
4ba6df1664 Small changes need for GCC/Linux.
* emacs.c (main): Call init_signals before init_igc; this avoids
overwriting MPS's SIGSEGV handler.
* fns.c: Remove spurios #include <sys/_types/_size_t.h>
* igc.c: Minor changes to avoid GCC warnings.
(igc_assert_fail): die() is already declared in lisp.h
(igc_assert, IGC_CHECK_RES): Use the do { ... } while(0) idiom to
avoid GCC warnings about empty statements.
(scan_pure): Tell GCC that pure_bytes_used_lisp exists.
(thread_ap): Abort for unhandled cases.
(fix_image, igc_make_image): Add #ifdef HAVE_WINDOW_SYSTEM in
places that need struct image.
2024-04-22 18:26:21 +02:00
Gerd Möllmann
0d80a1ee21 Increase bits for pvec type in header 2024-04-22 06:38:26 +02:00
Gerd Möllmann
e57c6d0aba Staticpro more comp_t members 2024-04-22 06:38:02 +02:00
Gerd Möllmann
edd387468e Run a finalization test only if not MPS 2024-04-21 06:53:50 +02:00
Gerd Möllmann
5a56310e0b Provide "mps" 2024-04-21 06:53:30 +02:00
Gerd Möllmann
6ed50571fa Mention headers in pdump 2024-04-21 06:53:04 +02:00
Gerd Möllmann
e706754c07 Fix a memmove 2024-04-20 10:35:07 +02:00
Gerd Möllmann
4c28de3c25 Handle size 0 allocations 2024-04-20 09:32:40 +02:00
Gerd Möllmann
1570776d13 Fix alloc in sort.c 2024-04-20 08:34:02 +02:00
Gerd Möllmann
402cd805fc Fix cursed window prev_buffers/next_buffers 2024-04-20 07:24:23 +02:00
Gerd Möllmann
8c2ed9a8ee Remove relics 2024-04-20 07:22:27 +02:00
Gerd Möllmann
6cc48eb6cc Fix buffer_text::markers 2024-04-20 07:12:14 +02:00
Gerd Möllmann
d1e0545323 Root for last_nonminibuffer_frame 2024-04-19 15:08:27 +02:00
Gerd Möllmann
9c1e11218e Root for chan_process 2024-04-19 15:06:27 +02:00
Gerd Möllmann
b4c1cc81bf json.c 2024-04-19 10:32:41 +02:00
Gerd Möllmann
7dc7617308 Comment out an expensive assertion 2024-04-18 20:46:25 +02:00
Gerd Möllmann
6eda172bfb Freeing of obarray buckets 2024-04-18 20:44:53 +02:00
Gerd Möllmann
38c1470aea Obarray bucket allocation 2024-04-18 20:26:13 +02:00
Gerd Möllmann
b586ee1b4c finalize_obarray 2024-04-18 20:12:20 +02:00
Gerd Möllmann
46ec734de0 WIP pure space 2024-04-18 18:09:52 +02:00
Gerd Möllmann
29bc3ac755 WIP, pure space 2024-04-18 16:32:32 +02:00
Gerd Möllmann
1c54a7fe59 fix_obarray 2024-04-18 14:29:50 +02:00
Gerd Möllmann
b52af969b3 Make it compile with MPS 2024-04-18 14:14:41 +02:00
Gerd Möllmann
3c933f40a8 Initial result of applying diff 2024-04-18 10:29:02 +02:00
Po Lu
c19b988c29 Correctly verify availability of Android content URIs
* java/org/gnu/emacs/EmacsService.java (checkContentUri): Call
checkUriPermission with IPC-effective PID and UID rather than
checkCallingUriPermission, which never considers permissions of
Emacs itself, and delete the now-redundant workaround.
2024-04-18 10:38:22 +08:00
Augusto Stoffel
3cdd86b8af Propagate 'lexical-binding' value to pp buffers
See bug#70137.

* lisp/emacs-lisp/pp.el (pp-display-expression): Set lexical-binding to
match the value in the calling buffer.
2024-04-17 17:02:11 -04:00
Theodor Thornhill
0dbd9ed046 Document earlier change in eglot-report-progress
* lisp/progmodes/eglot.el (eglot-report-progress): Document the changed
behavior.
* etc/EGLOT-NEWS (https): Mention the change.
2024-04-17 20:42:23 +02:00
Stefan Monnier
c15c9f4de6 (conf-toml-recognize-section): Fix bug#70383
* lisp/textmodes/conf-mode.el (conf-toml-recognize-section): Move
point, like font-lock matchers are expected to do.
2024-04-17 14:30:10 -04:00
Stefan Monnier
fcee1bf07b eglot.el: Remove accidentally included debugging code
* lisp/progmodes/eglot.el (eglot--signal-textDocument/didChange):
Remove leftover debug message.
2024-04-17 14:01:35 -04:00
Juri Linkov
4dd3288569 * lisp/emacs-lisp/icons.el (define-icon): Add 'doc-string' to 'declare'. 2024-04-17 21:01:14 +03:00
Juri Linkov
230eecf12a New keymap tab-line-mode-map and new tab order on tab-line (bug#69993)
* lisp/tab-line.el (tab-line-new-button-functions): New variable.
(tab-line-tabs-function): Change the default value from
'tab-line-tabs-window-buffers' to the new option
'tab-line-tabs-fixed-window-buffers'.
(tab-line-tabs-buffer-group-sort-function): Change the default
value from nil to 'tab-line-tabs-buffer-group-sort-by-name'.
(tab-line-tabs-buffer-group-sort-by-name): New function.
(tab-line-tabs-fixed-window-buffers): New function.
(tab-line-format-template): Use 'tab-line-new-button-functions'.
(tab-line-mode-map, tab-line-switch-repeat-map): New keymaps.
2024-04-17 20:56:10 +03:00
Stephen Berman
91333dacfa Allow tabbing between widgets to skip inactive widgets (bug#70413)
* doc/misc/widget.texi (Widgets and the Buffer, Customization):
Document it.

* etc/NEWS: Announce it.

* lisp/wid-edit.el (widget-skip-inactive): New user option.
(widget-tabable-at): Use it.
2024-04-17 19:33:24 +02:00
Stefan Monnier
523aca13a4 * lisp/emacs-lisp/track-changes.el: Fix trailer 2024-04-17 10:57:11 -04:00