aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ; * src/lisp.h (DEFSYM): Fix inaccurate comment.Eli Zaretskii2019-05-061-1/+1
|
* * src/macfont.m (macfont_shape): Use convenient LGLYPH_NEW.YAMAMOTO Mitsuharu2019-04-291-1/+1
|
* Check if mouse_face_overlay was deleted (Bug#35273)Noam Postavsky2019-04-281-1/+3
| | | | | | * 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.
* Use pkg-config to find lcms2 CFLAGS and LIBS (Bug#30346)Noam Postavsky2019-04-211-3/+4
| | | | | | | | | * 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/emacs.c: Fix typo in comment (Bug#35320).Noam Postavsky2019-04-191-1/+1
|
* Fix the MSDOS build when running under CWSDPMIEli Zaretskii2019-04-154-0/+6
| | | | | | | | | | * 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.
* Backport: Plug memory leak in GTK x-display-monitor-attributes-listAlexander Gramiak2019-04-142-3/+8
| | | | | | | | | * 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.
* Improve documentation of 'read-command'Eli Zaretskii2019-04-111-1/+2
| | | | | | | | * 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)
* Fix an outdated URL in a commentEli Zaretskii2019-04-111-2/+7
| | | | | * src/emacs.c: Fix reference to Cocoa CoreFoundation Release Notes. (Bug#35225)
* * src/editfns.c (Fnarrow_to_region): Doc fix. (Bug#35163)Eli Zaretskii2019-04-081-2/+3
|
* Improve documentation of set-window-startEli Zaretskii2019-04-061-1/+6
| | | | | | | * 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/fontset.c (set-fontset-font): Use uppercase arg in docstringAlexander Gramiak2019-04-041-1/+1
|
* Document restrictions when setting window margins, fringes or scroll barsMartin Rudalics2019-03-131-2/+9
| | | | | | | | | | | * 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.
* More improvements for 'read-buffer's doc stringEli Zaretskii2019-03-101-7/+7
| | | | | * src/minibuf.c (Fread_buffer): Further improve the doc string. (Bug#347694)
* * src/minibuf.c (Fread_buffer): Minor doc fixes. (Bug#34749)Eli Zaretskii2019-03-091-2/+3
|
* Warn against recursive invocations of 'buffer-list-update-hook' (Bug#34765)Martin Rudalics2019-03-081-3/+5
| | | | | | * 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/image.c (imagemagick_load, svg_load): Fix typos in comments.Eli Zaretskii2019-02-231-4/+4
|
* Fix input after setting x-wait-for-event-timeout nilEli Zaretskii2019-02-191-0/+3
| | | | | * src/w32term.c (x_make_frame_visible): Call unblock_input before returning early. (Bug#34575)
* Avoid crashes upon C-g in nested invocations of 'read_char'Eli Zaretskii2019-02-131-5/+11
| | | | | | | | | | | | * 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)
* * src/data.c (Fmake_local_variable): Fix bug#34318Stefan Monnier2019-02-121-0/+10
| | | | | | | Revert part of ed962f2b8a. * test/src/data-tests.el (data-tests-make-local-forwarded-var): Add corresponding test.
* Minor improvements to do strings in callproc.cEli Zaretskii2019-02-081-2/+3
| | | | | | * src/callproc.c (Fcall_process, Fcall_process_region): Minor fixes to doc strings. Suggested by Nicholas Drozd <nicholasdrozd@gmail.com>. (Bug#34274)
* Fix process-thread docstringRobert Pluim2019-02-081-1/+1
| | | | * src/process.c (Fprocess_thread): Correct docstring.
* ; * src/coding.h (struct coding_system): Fix a typo in a comment.Eli Zaretskii2019-02-061-1/+1
|
* Fix process-contact bug with TCP connectionsPaul Eggert2019-01-301-4/+10
| | | | | | | | This fixes a regression from Emacs 25.3 (Bug#34134). * src/process.c (server_accept_connection): Set host correctly, fixing a bug introduced in 2017-09-16T21:29:18Z!eggert@cs.ucla.edu when working around a GCC bug.
* Prevent redrawing if frame is garbagedAlan Third2019-01-152-13/+9
| | | | | | | * src/nsterm.m ([EmacsView viewWillDraw]): Cancel drawing if the frame has been garbaged. * src/xdisp.c (expose_window_tree, expose_frame): Remove NS only exceptions.
* Attempt to fix hangs on MS-Windows due to C-gEli Zaretskii2019-01-142-13/+24
| | | | | | | | | | | | * src/w32uniscribe.c (uniscribe_otf_capability): Set inhibit-quit around calls to otf_features, because the latter cons Lisp data structures while we are in a critical section. * src/xdisp.c (ALLOCATE_HDC) [HAVE_NTGUI]: Set inhibit-quit. (RELEASE_HDC) [HAVE_NTGUI]: Restore inhibit-quit. (OPTIONAL_HDC, DECLARE_HDC): Remove macros, their job is now done by ALLOCATE_HDC and by a single #ifdef. (draw_glyphs): Adapt to the above changes in macros. (Bug#34059)
* ; Fix some trivial doc typosGlenn Morris2019-01-122-2/+2
|
* Improve GC+Cairo workaroundPaul Eggert2019-01-053-8/+20
| | | | | | | | | Suggested by Eli Zaretskii (Bug#20890#31). * src/font.h (font_data_structures_may_be_ill_formed): New function. * src/ftfont.c (ftfont_close): * src/ftcrfont.c (ftcrfont_close): Use it. (cherry picked from commit d02fd482fbeaf6ed551e78223b538495cb0c3541)
* Work around GC+Cairo bugPaul Eggert2019-01-051-0/+6
| | | | | | Workaround suggested by Robert Pluim (Bug#20890#13). * src/ftfont.c (ftfont_close) [USE_CAIRO]: Do nothing if GC is in progress.
* Improve commentary in font.hEli Zaretskii2019-01-051-30/+33
| | | | | * src/font.h (struct font, struct font_driver): Fix typos and wording in comments. Document all driver methods.
* Fix definition of Qwindow_point_insertion_type (Bug#33871)Martin Rudalics2019-01-041-1/+1
| | | | | * src/window.c (Qwindow_point_insertion_type): Fix definition (Bug#33871).
* Update copyright year to 2019Paul Eggert2019-01-01215-215/+215
| | | | Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
* Fix NS fringe bitmap drawing bug (bug#33864)Alan Third2018-12-281-1/+1
| | | | | * src/nsterm.m (ns_draw_fringe_bitmap): Check the rectangle to clear correctly.
* Fix commentary in dispnew.cEli Zaretskii2018-12-281-3/+5
| | | | | * src/dispnew.c (buffer_posn_from_coords): Fix inaccuracies in the commentary.
* Improve accept-process-process docPaul Eggert2018-12-271-3/+4
| | | | | | | | * doc/lispref/processes.texi (Accepting Output): * src/process.c (Faccept_process_output): Document that (accept-process-output P) can return non-nil even after P has exited, and that it can return nil even if P is still running (Bug#33839).
* Improve process doc. with respect to handling of large input (Bug#33191)Charles A. Roelli2018-12-221-6/+9
| | | | | | | | | | | * src/process.c (Fprocess_send_region, Fprocess_send_string): Document that process input longer than the process input buffer may be split into bunches. Remove an outdated reference to a 500 character split boundary. * doc/lispref/processes.texi (Asynchronous Processes): Remove mention of "stray character injections" in PTY processes. See also the comment about ICANON in src/sysdep.c, function child_setup_tty.
* Backport: Handle unread-command-events consistently (bug#23980)Chris Feng2018-12-191-0/+3
| | | | | | | | | * src/keyboard.c (read_char): Events put into `unread-command-events' with the form (t . EVENT) should always have the t stripped when read out. * test/src/keyboard-tests.el: New tests for `unread-command-events'. (cherry picked from commit 1f3f4b1296613b8cdc0632a68fde86e86ddad866)
* More porting to GCC 8 of --enable-gcc-warningsPaul Eggert2018-12-171-0/+5
| | | | | | | | | | Backport from master. I ran into this when building Emacs 26 with GCC 8 on Fedora 29 x86. * lwlib/lwlib-Xaw.h (xaw_update_one_value, xaw_popup_menu): * lwlib/lwlib-Xlw.h (xlw_update_one_value, xlw_pop_instance): * lwlib/lwlib.h (lw_allow_resizing, lw_set_main_areas) [!USE_MOTIF]: No longer const. * src/emacs-module.c: Ignore -Wcast-function-type.
* Document font structure layout constraintsRobert Pluim2018-12-141-2/+4
| | | | | | This has to be the same as in src/ftcrfont.c and src/ftfont.c * src/xftfont.c (struct xftfont_info): Document layout constraints.
* Document font structure layout constraintsRobert Pluim2018-12-142-4/+6
| | | | | | | | | The layout of the initial members of ftcrfont_info must match ftfont_info * src/ftcrfont.c (struct ftcrfont_info): Likewise. * src/ftfont.c (struct ftfont_info): Document layout constraints.
* Fix display of line numbers in empty lines beyond EOBEli Zaretskii2018-12-141-1/+4
| | | | | | | * src/xdisp.c (maybe_produce_line_number): When the current line is at EOB, use the 'line-number-current-line' face only on that single line, but not on the rest of empty lines beyond EOB. (Bug#33732)
* Fix redisplay when a window's scroll bar or fringes are changedEli Zaretskii2018-12-111-0/+11
| | | | | | | * src/window.c (set_window_fringes, set_window_scroll_bars): Set windows_or_buffers_changed flag to cause immediate thorough redisplay of a window when scroll bars or fringes are changed. (Bug#33694)
* Fix cairo scrolling for side-by-side windowsAri Roponen2018-12-101-2/+3
| | | | | | | | | Backport: Fixes Bug#33442. * src/xterm.c (x_scroll_run) [USE_CAIRO]: Fix scrolling for side-by-side split windows. (Bug#31288) (cherry picked from commit 6e362a32bc9d21f73a0f29ca6f45481edeea6f29)
* ; * src/xterm.c (x_update_begin): Fix whitespace.Eli Zaretskii2018-12-081-1/+1
|
* Fix scaling problem in Cairo buildsAri Roponen2018-12-081-4/+10
| | | | | | * src/xterm.c (x_begin_cr_clip) [USE_GTK]: (x_update_begin) [USE_CAIRO && USE_GTK]: Support scaling. (Bug#33442)
* A few further fixes of window internals descriptionMartin Rudalics2018-12-031-60/+82
| | | | | * doc/lispref/internals.texi (Window Internals): Add a few more items and clarify description of some others.
* Revert "Revert "Fix infloop in GC mark_kboards""Eli Zaretskii2018-12-021-1/+6
| | | | | | | This reverts commit c418c85617babbe7b63730fefb71e2c87a0141af. This reinstates the original fix, as it had nothing to do with the behavior reported in bug#33571, which seems to be the expected behavior.
* Revert "Fix infloop in GC mark_kboards"Eli Zaretskii2018-12-021-6/+1
| | | | | | This reverts commit af914fc26db273d8788e7efa57c569f0f778d037, since it caused unintended adverse effects on echoing of keys. (Bug#33571)
* Fix infloop in GC mark_kboardsPaul Eggert2018-12-011-1/+6
| | | | | Do not merge to master, as I have a more systematic fix there. * src/keyboard.c (mark_kboards): Fix infloop (Bug#33547).
* Fix macOS run-time feature checkAlan Third2018-12-011-2/+2
| | | | | * src/nsterm.m (x_set_parent_frame) [NS_IMPL_COCOA]: Fix run-time feature check.