1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 18:40:39 -08:00
Commit graph

174161 commits

Author SHA1 Message Date
Gerd Möllmann
7525048285 igc-root-stats WIP 2024-06-28 10:31:05 +02:00
Gerd Möllmann
4674ca443a igc-root-stats WIP 2024-06-28 10:31:05 +02:00
Gerd Möllmann
e7c6fdea26 Improve root info
* src/igc.c (struct igc): Add label.
(register_root): Store debug label in igc_root.
(igc--roots): Renamed from igc-roots
2024-06-28 10:31:05 +02:00
Gerd Möllmann
4472a1cec9 Add emacs-lisp/igc.el 2024-06-28 07:57:33 +02:00
Gerd Möllmann
beff880005 Some renamings to make things easier to follow 2024-06-27 22:02:13 +02:00
Gerd Möllmann
a4f286d022 Remove unneeded debugging code 2024-06-27 21:30:21 +02:00
Helmut Eller
6d4d8a8f0d Fix scrollbars for pgtk
* src/pgtkterm.c (xg_scroll_callback, xg_end_scroll_callback)[HAVE_MPS]:
Load the scroll-bar from the cell.
2024-06-27 21:18:48 +02:00
Helmut Eller
1dbf0407d3 Make tty_list a root
* src/igc.c (scan_tty_list, root_create_tty_list): New.
(make_igc): Make tty_list an exact root.
2024-06-27 21:18:48 +02:00
Gerd Möllmann
7fcf70e89a Free root for ephemeral objects after top_level_run 2024-06-27 16:07:37 +02:00
Gerd Möllmann
6ce5d4cfc1 On NS, view of frame can be null 2024-06-27 15:27:17 +02:00
Gerd Möllmann
ca09ebb509 Fix last change 2024-06-27 14:29:46 +02:00
Gerd Möllmann
e44eb88589 More refactoring 2024-06-27 12:19:15 +02:00
Gerd Möllmann
6255102540 Refactor 2024-06-27 12:19:15 +02:00
Gerd Möllmann
0d34f29212 Remove igc::rdstack_root 2024-06-27 11:32:12 +02:00
Gerd Möllmann
11df086dca Remove a FIXME/igc 2024-06-27 11:32:12 +02:00
Gerd Möllmann
f0c297b4bb More FIXME/igc 2024-06-27 10:05:04 +02:00
Eli Zaretskii
46a73a8183 ; * src/print.c (pp_stack_push_values): Fix formatting. 2024-06-27 10:28:13 +03:00
Gerd Möllmann
6be44f7d23 Make FIXMEs for igc easier to find by using FIXME/igc 2024-06-27 09:20:24 +02:00
Helmut Eller
e67c5699cc Fix lread-tests
* src/print.c (pp_stack_pop): Pop values from left to right.
2024-06-27 09:04:46 +02:00
Helmut Eller
2928b004e6 Small fixes for dumper
* src/pdumper.c (dump_subr): Use dump_field_lv for command_modes.
(dump_igc_start_obj): DUMP_ALIGNMENT seems more appropriate than
igc_header_size.
2024-06-27 09:04:45 +02:00
Jeff Walsh
7057c3562f * src/pgtkterm.c (mark_pgtkterm): Exclude from MPS builds. 2024-06-27 09:10:58 +03:00
Gerd Möllmann
c749037ace Fix fix_subr 2024-06-26 21:59:59 +02:00
Gerd Möllmann
561e2d72f2 Nicer make_realized_face for the MPS case 2024-06-26 16:43:07 +02:00
Andrea Corallo
8e77325174 * src/igc.c (alloc_impl): Silence warning. 2024-06-26 15:21:51 +02:00
Andrea Corallo
9b22e6f4fa * src/xterm.c (syms_of_xterm): Fix --with-x-toolkit=no build. 2024-06-26 11:01:33 +01:00
Andrea Corallo
75626169f9 Remove a warning on non mps build
* src/gtkutil.c (xg_gtk_scroll_free_scroll_bar_cell): Remove warning.
2024-06-26 10:55:20 +02:00
Gerd Möllmann
20dc46838a Fix a comment 2024-06-26 10:42:28 +02:00
Gerd Möllmann
b4de2ae861 Walk MPS after loading dump if IGC_DEBUG 2024-06-26 10:26:58 +02:00
Gerd Möllmann
5364678d24 Simplify igc_on_idle and handle state changes 2024-06-26 10:26:58 +02:00
Andrea Corallo
162f6802e8 * src/thread.c (run_thread): Fix --with-mps build. 2024-06-26 10:01:50 +02:00
Helmut Eller
0490c0e348 Only GUI versions have images caches
* src/igc.c (fix_frame) [HAVE_WINDOW_SYSTEM]: Avoid compilation errors
in non-GUI configurations.
2024-06-25 22:11:07 +02:00
Helmut Eller
440af585f6 Support dumping native subrs
* src/pdumber.c (dump_cold_native_subr): Emit headers.
(dump_do_dump_relocation): Copy the C strings out of the dump.
(dump_igc_start_obj): Check alignment.
2024-06-25 22:11:07 +02:00
Helmut Eller
55747796ea Add some checks when dumping and when loading the dump
* src/igc.h (igc_dump_check_object_starts): New.
* src/igc.c (igc_dump_check_object_starts): Implementation.
(check_dump): New.
(igc_on_pdump_loaded): Use it.
* src/pdumper.c (dump_igc_check_object_starts): New.
(Fdump_emacs_portable): Use it.
2024-06-25 22:11:07 +02:00
Gerd Möllmann
ea9f09e7d3 Further WIP on error handling 2024-06-25 19:44:44 +02:00
Gerd Möllmann
57a7a081e3 Change IGC_STATEs a bit 2024-06-25 15:21:30 +02:00
Gerd Möllmann
1459b82aec Remove a FIXME commnet 2024-06-25 10:56:49 +02:00
Gerd Möllmann
4b006157ab Add fix_ts_parser 2024-06-25 10:24:52 +02:00
Gerd Möllmann
544e031805 Implement fix_xwidget, fix_xwidget_view 2024-06-24 18:48:19 +02:00
Helmut Eller
910eeec454 In pop_handler, clear references in the dropped handler
* src/eval.c (pop_handler): Set the val and tag_or_ch fields to nil.
Without this, the referenced objects can't be collected until a new
handler is pushed.
2024-06-24 18:10:41 +02:00
Helmut Eller
489d4711a8 Move the Lisp_Fwd.bufoffset field back to the union
* src/lisp.h (struct Lisp_Fwd): With the predicate enum, we can now pack
the offset and the predicate into a one-word struct.
(XBUFFER_OFFSET): Use the new field name.
* src/buffer.c (DEFVAR_PER_BUFFER): Create the one-word struct.
* src/data.c (store_symval_forwarding): Use the new field name.
2024-06-24 18:10:41 +02:00
Gerd Möllmann
bfa50ee159 Fix build when configured --with-xwidgets 2024-06-24 16:41:42 +02:00
Eli Zaretskii
c5f180ff59 Merge branch 'scratch/igc' of git.savannah.gnu.org:/srv/git/emacs into scratch/igc 2024-06-24 16:23:06 +03:00
Gerd Möllmann
b15ca0ec0e Fix some typos, comments, refactoring 2024-06-24 15:11:57 +02:00
Eli Zaretskii
4b847eabde Merge branch 'scratch/igc' of git.savannah.gnu.org:/srv/git/emacs into scratch/igc 2024-06-24 15:02:10 +03:00
Gerd Möllmann
fda51e77bc WIP error handling 2024-06-24 10:23:48 +02:00
Gerd Möllmann
3558fda426 WIP: xzalloc as fallback in alloc_impl 2024-06-24 09:39:00 +02:00
Gerd Möllmann
caa03aa68e WIP error handling 2024-06-24 08:29:31 +02:00
Gerd Möllmann
86cb69612b Add an assertion of dflt_skip 2024-06-24 07:57:02 +02:00
Gerd Möllmann
a843b03c8e Replace igc_static_assert with static_assert 2024-06-24 05:54:18 +02:00
Helmut Eller
2ef995c591 Introduce an enum Lisp_Fwd_Predicate
Using an enum instead of a symbol makes it obvious that this field is
of no concern to the GC.

* src/lisp.h (enum Lisp_Fwd_Predicate): New.
(struct Lisp_Fwd): Use it instead of a symbol.
* src/buffer.c (DEFVAR_PER_BUFFER): Create the necessary enum constant
instead of a symbol.
* src/data.c (check_fwd_predicate, check_choice): New helpers.
(store_symval_forwarding): Use it.
2024-06-24 05:32:53 +02:00