| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* src/xdisp.c: Add to the commentary the description of
stop_charpos, and how it is used during iteration.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
pending_signals is often set if no quit is pending. This results in
bugs in module code if the module returns but no quit is actually
pending.
* src/emacs-module.c (module_should_quit): Use QUITP macro to check
whether the caller should quit.
* src/eval.c: Remove obsolete comment.
|
|
|
|
|
|
|
|
|
|
|
| |
* src/process.c (Fset_process_filter): Call add_process_read_fd
according to the state of process filter before it's updated. This
restores the correct functioning as it was before 2016-02-16 "Allow
setting the filter masks later". Inline the set_process_filter_masks
call instead of fixing it that function, because it is also called
from connect_network_socket, and we don't want to change the behavior
of that function so close to release.
* test/src/process-tests.el (set-process-filter-t): New test.
|
| |
|
|
|
|
|
| |
* src/buffer.c (syms_of_buffer) <bidi-display-reordering>:
Further doc fix.
|
|
|
|
|
|
|
|
|
|
| |
This explanation was given by Eli Zaretskii on emacs-devel.
For discussion, see:
https://lists.gnu.org/archive/html/emacs-devel/2019-07/msg00294.html
* src/buffer.c (syms_of_buffer): Add warning to doc string of
bidi-display-reordering to explain that it should only be used for
debugging.
|
| |
|
| |
|
|
|
|
|
|
| |
* src/macfont.m (macfont_supports_charset_and_languages_p)
(macfont_has_char): Don't pass integers outside the Unicode codespace to
CFCharacterSetIsLongCharacterMember. Do not merge to master.
|
|
|
|
| |
* src/fileio.c (Ffile_exists_p): Fix typo in doc string.
|
|
|
|
|
| |
* src/fileio.c (Fmake_symbolic_link): Fix docstring.
* doc/lispref/files.texi (Changing Files): Doc fix.
|
|
|
|
|
|
|
|
|
|
|
|
| |
The length of the data returned by sysctl can be zero, which was not
checked for. This could cause crashes, e.g. when querying
non-existent processes. (Bug#36279)
* src/sysdep.c (list_system_processes) [DARWIN_OS || __FreeBSD__]:
(system_process_attributes) [__FreeBSD__]:
(system_process_attributes) [DARWIN_OS]:
* src/filelock.c (get_boot_time) [CTL_KERN && KERN_BOOTTIME]: Check
for zero length data returned by sysctl.
|
|
|
|
|
|
|
|
|
| |
* src/thread.c (unmark_main_thread): New function.
* src/lisp.h (unmark_main_thread): Prototype it.
* src/alloc.c (garbage_collect_1): Call it after sweeping.
(Bug#33073)
* test/src/thread-tests.el (threads-test-bug33073): New test.
|
|
|
|
| |
This reverts commit 1877b7b4d79b3434379fd5a4abd85906c25df00c.
|
|
|
|
| |
* thread.c (mark_threads_callback): Don't mark main_thread.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* src/gmalloc.c (_fraghead) [!HYBRID_MALLOC]:
Make it static in this case, too. This avoids having both
‘extern struct list _fraghead[];’ and
‘static struct list _fraghead[BLOCKLOG];’, which
GCC 9 complains about.
|
|
|
|
|
|
| |
* src/image.c (svg_load_image): Pacify librsvg 2.45.1 and later,
and add a FIXME comment about the deprecated librsvg functions.
Backport from master.
|
|
|
|
|
|
| |
* src/dbusbind.c (xd_signature): Use simpler way to set up
the subsignature. This also pacifies GCC 9 on Fedora 30 x86-64.
Backport from master.
|
|
|
|
| |
* src/unexelf.c (unexec): Pacify GCC 9.
|
|
|
|
|
|
|
|
|
| |
* doc/lispref/nonascii.texi (Explicit Encoding): Document what
happens when DESTINATION of decoding is a unibyte buffer.
* src/coding.c (Fdecode_coding_region)
(Fdecode_coding_string): Document what happens if DESTINATION
is a unibyte buffer.
|
| |
|
|
|
|
|
| |
* src/window.c (Fforce_window_update): Do nothing for deleted
windows (Bug#35784).
|
|
|
|
|
|
|
| |
* src/search.c (search_buffer): Remove obsolete text from a
comment.
* src/fns.c (Fstring_make_unibyte): Remove obsolete text from
a doc string.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The GCC + valgrind fix caused the m68k build to fail (Bug#35711).
Simplify string allocation a bit to make similar problems less
likely in the future.
* src/alloc.c (sdata, SDATA_NBYTES, SDATA_DATA) [GC_CHECK_STRING_BYTES]:
Use the same implementation as with !GC_CHECK_STRING_BYTES,
as the special case is no longer needed.
(SDATA_ALIGN): New constant.
(SDATA_SIZE): Remove this macro, replacing with ...
(sdata_size): ... this new function. All uses changed.
Properly account for sizes and alignments even in the m68k case,
and even if GC_CHECK_STRING_BYTES is not defined.
|
|
|
|
|
|
|
| |
Don't merge to master, this has already been fixed there by 2019-01-15
"Fix unlikely races with GnuTLS, datagrams".
* src/gnutls.c (emacs_gnutls_read): Similar to emacs_gnutls_write,
when gnutls_record_recv returns GNUTLS_E_AGAIN set errno to EGAIN.
|
|
|
|
|
|
|
|
| |
This fixes bug #35647. State that when indent-tabs-mode is non-nil, spaces
are inserted before the tab rather than the tab being replaced by spaces.
* doc/lispref/text.texi (columns)
* src/indent.c (move-to-column): Make the above documentation amendment.
|
| |
|
| |
|
|
|
|
|
|
| |
* src/xdisp.c (note_mouse_highlight): Check if the mouse_face_overlay
actually points to a buffer, before calling
mouse_face_overlay_overlaps on it.
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Use EMACS_CHECK_MODULES fors LCMS2 rather than
AC_SEARCH_LIBS.
* src/Makefile.in: Get LCMS2_LIBS and LCMS2_CFLAGS from configure,
instead of just LIBLCMS2.
(cherry picked from commit cb3863370cbe574810f796726faa39ba0de0a429)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* src/msdos.c (the_only_tty_output): Define.
* src/msdos.h (the_only_tty_output): Declare.
* src/frame.c (make_terminal_frame) [MSDOS]:
* src/dispnew.c (init_display) [MSDOS]: Set up
f->output_data.tty pointer using the_only_tty_output, before
dereferencing the pointer. This prevents crashes with DPMI
servers that provide NULL pointer protection.
|
|
|
|
|
|
|
|
|
| |
* src/frame.c (free_monitors) [USE_GTK]: Define in the GTK case as
well.
* src/xfns.c (x-display-monitor-attributes-list) [USE_GTK]: Plug
memory leak. Use dupstring over xstrdup as gdk_monitor_get_model may
return NULL.
|
|
|
|
|
|
|
|
| |
* src/minibuf.c (Fread_command): Document the return value
when DEFAULT-VALUE is nil and the user enters nothing.
* doc/lispref/minibuf.texi (High-Level Completion): Document
the printed representation of a symbol whose name is empty.
(Bug#3522)
|
|
|
|
|
| |
* src/emacs.c: Fix reference to Cocoa CoreFoundation Release
Notes. (Bug#35225)
|
| |
|
|
|
|
|
|
|
| |
* doc/lispref/windows.texi (Window Start and End):
* src/window.c (Fset_window_start): Document that reliable
setting of a window start position requires to adjust point to
be visible. (Bug#34038)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* src/window.c (Fset_window_margins, Fset_window_fringes)
(Fset_window_scroll_bars): In doc-strings tell that a window
must be large enough to accommodate fringes, sroll bars and
margins of the desired size.
* doc/lispref/display.texi (Fringe Size/Pos, Scroll Bars)
(Display Margins): Tell that windows must be large enough to
accommodate fringes, sroll bars and margins of the desired
size.
|
|
|
|
|
| |
* src/minibuf.c (Fread_buffer): Further improve the doc
string. (Bug#347694)
|
| |
|
|
|
|
|
|
| |
* src/buffer.c (Vbuffer_list_update_hook):
* doc/lispref/buffers.texi (Buffer List): Warn against
recursive invocations of 'buffer-list-update-hook' (Bug#34765).
|
| |
|
|
|
|
|
| |
* src/w32term.c (x_make_frame_visible): Call unblock_input
before returning early. (Bug#34575)
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/keyboard.c (read_char, read_event_from_main_queue):
Ensure the global value of getcjmp is restored when the stack
is unwound by the likes of 'throw', by calling
record_unwind_protect_ptr instead of restoring the value
manually. (Bug#34394)
(restore_getcjmp): Argument is now 'void *', to match the
signature of record_unwind_protect_ptr.
(cherry picked from commit 10527fca66e39d7067986904161fa33741abcd26)
|
|
|
|
|
|
|
| |
Revert part of ed962f2b8a.
* test/src/data-tests.el (data-tests-make-local-forwarded-var):
Add corresponding test.
|
|
|
|
|
|
| |
* src/callproc.c (Fcall_process, Fcall_process_region): Minor
fixes to doc strings. Suggested by Nicholas Drozd
<nicholasdrozd@gmail.com>. (Bug#34274)
|