summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* ; Fix doc typos related to indefinite articlesGlenn Morris2018-02-1611-11/+11
|
* Avoid aborts in cm.c due to too small TTY frameEli Zaretskii2018-02-121-8/+23
| | | | | | | * src/frame.c (frame_windows_min_size): Limit TTY frames to a minimum height large enough to allow for a menu bar, the mode line, one text line and one echo-area line. This avoids aborts in cm.c:cmcheckmagic. (Bug#30320)
* Clarify that text-quoting-style doesn't affect *Info* (Bug#24519)Noam Postavsky2018-02-081-2/+2
| | | | | * src/doc.c (syms_of_doc) <text-quoting-style>: Clarify that info manual display is unaffected.
* Fix --no-build-details for w32 and macOSNoam Postavsky2018-02-081-4/+9
| | | | | | * src/w32term.c (w32_initialize_display_info): Handle nil system-name. * lisp/term/ns-win.el (window-system-initialization): Don't pass nil to `x-open-connection'.
* Fix crashes when run with --no-build-detailsPaul Eggert2018-02-082-13/+22
| | | | | | * src/xrdb.c (get_environ_db): * src/xterm.c (same_x_server, x_term_init): Don’t assume Fsystem_name returns a string.
* Doc fixes for process functions (Bug#30349)Noam Postavsky2018-02-071-10/+8
| | | | | | | | | | | | * doc/lispref/processes.texi (Asynchronous Processes): Explain what the 'stopped' state means for a pipe process. * src/process.c (Fmake_process, Fmake_pipe_process) (Fmake_serial_process, Fmake_network_process): * lisp/subr.el (start-process): * lisp/net/tls.el (open-tls-stream): * lisp/net/starttls.el (starttls-open-stream): * lisp/net/gnutls.el (open-gnutls-stream): Remove meaningless phrase "specify an output stream" phrase from docstring.
* Update xdisp.c commentaryEli Zaretskii2018-02-031-14/+29
| | | | | * src/xdisp.c: Update commentary regarding "asynchronous" entry into redisplay. (Bug#30182)
* Document external-debugging-output in the Elisp Manual (Bug#24051)Noam Postavsky2018-01-301-1/+1
| | | | | | | * doc/lispref/streams.texi (Output Streams): List external-debugging-output. * src/print.c (Fexternal_debugging_output): Quote `print' in docstring.
* Fix scroll-margin docstring (Bug#13791)Noam Postavsky2018-01-301-2/+2
| | | | | | * src/xdisp.c (syms_of_xdisp) <scroll-margin>: Explain that entering the margin may trigger any sort of auto scrolling, not recentering specifically.
* Clarify effect of print-gensym (Bug#27776)Noam Postavsky2018-01-301-4/+4
| | | | | * src/print.c (syms_of_print) <print-gensym>: Clarify that use of #N# and #N= constructs depends on the value of `print-circle'.
* Revert "Signal error for symbol names with strange quotes (Bug#2967)"Noam Postavsky2018-01-281-18/+0
| | | | | | | | | | That commit did not make the corresponding change to printing, thus breaking the (eq (read (prin1-to-string SYM)) SYM) invariant for those symbols. It's too late in the release cycle to change printing behavior, therefore revert the reader change. Don't merge to master, the print function will be updated there (see "Fix round tripping of read->print for symbols with strange quotes").
* * src/indent.c (Findent_to): Doc fix. (Bug#30260)Eli Zaretskii2018-01-271-1/+1
|
* * src/syntax.c (char-syntax): Warn about ignoring text properties (Bug#22765).Noam Postavsky2018-01-261-1/+6
|
* ; * src/process.c (Fprocess_contact): Fix docstring typo.Noam Postavsky2018-01-261-1/+1
|
* Fix a few issues with latest GTK scaling changesRobert Pluim2018-01-242-2/+4
| | | | | | | * src/xfns.c (Fx_display_monitor_attributes_list): Call gdk_screen_get_monitor_scale_factor only for GTK versions 3.10..3.21. * src/xterm.c (x_set_offset): Call xg_get_scale for GTK only.
* Use scaled coordinates when calling into GTKRobert Pluim2018-01-242-7/+13
| | | | | | | | | | | This is part two of a two part fix for the GTK scaling problems. See the thread starting at http://lists.gnu.org/archive/html/emacs-devel/2018-01/msg00372.html for an explanation of why it has been added to Emacs 26. * src/gtkutil.c (xg_set_geometry): Scale down the coordinates that we pass to gtk_window_move and to gtk_window_parse_geometry. * src/xterm.c (x_set_offset): Likewise.
* Scale monitor dimensions obtained from GTKRobert Pluim2018-01-241-0/+11
| | | | | | | | | | | This is part one of a two part fix for the GTK scaling problems. See the thread starting at http://lists.gnu.org/archive/html/emacs-devel/2018-01/msg00372.html for an explanation of why it has been added to Emacs 26. * src/xfns.c (Fx_display_monitor_attributes_list): Take scaling factor into account when using GTK to query the monitor dimensions, which allows frameset-restore to position frames correctly.
* Don't unnecessarily use non-ASCII characters in C sourcesEli Zaretskii2018-01-194-5/+5
| | | | | | | | * src/xwidget.c (webkit_javascript_finished_cb): * src/gtkutil.c (xg_check_special_colors): * src/emacs-module.c (module_make_string): * src/alloc.c (SET_STACK_TOP_ADDRESS): Don't use non-ASCII quote characters.
* An overdue update of src/emacs-icon.hGlenn Morris2018-01-141-288/+289
| | | | | * src/emacs-icon.h: Update to the Emacs 25 icon. (Bug#30047) Converted from hicolor/scalable/apps/emacs.svg using Gimp.
* In nsterm.m use FRAME_NS_P instead of FRAME_X_P (Bug#30019)Martin Rudalics2018-01-131-1/+1
| | | | | * src/nsterm.m (x_set_parent_frame): Call FRAME_NS_P instead of FRAME_X_P (Bug#30019).
* Inherit query-on-exit flag to stderr process (Bug#30031)Philipp Stephani2018-01-101-2/+6
| | | | | | | * src/process.c (Fmake_process): Have the pipe process honor the parent's query-on-exit flag. * test/src/process-tests.el (make-process/noquery-stderr): New test.
* Fix child frame placement issues (bug#29953)Alan Third2018-01-062-19/+33
| | | | | | | | | | | * src/nsterm.h (NS_PARENT_WINDOW_LEFT_POS): (NS_PARENT_WINDOW_TOP_POS): Get the parent frame through the frame struct as invisible child windows are detached from their parents in NS. * src/nsterm.m (x_set_offset): Offscreen frames have `nil' screen value, so handle that gracefully. Child frames with negative left and top should be positioned relative to the bottom right of the parent frame.
* Fix valgrind report in call-interactivelyEli Zaretskii2018-01-061-4/+17
| | | | | * src/callint.c (Fcall_interactively): Don't try to access more bytes than are available in the interactive spec. (Bug#30004)
* * src/editfns.c (Fsave_excursion): Doc fix. (Bug#30001)Eli Zaretskii2018-01-061-1/+1
|
* Fix Dired display and operations on file names with raw bytesEli Zaretskii2018-01-061-3/+16
| | | | | | * src/coding.c (decode_coding): When flushing remaining raw bytes from multibyte text, copy 2-byte forms of eight-bit-* characters as single characters, not as 2 raw bytes. (Bug#29189)
* ; Comments related to src/termcap.cGlenn Morris2018-01-052-1/+4
|
* Fix menu keyboard shortcuts on macOS (Bug#29595)Alan Third2018-01-011-6/+15
| | | | | | * src/nsmenu.m (addItemWithWidgetValue)[NS_IMPL_COCOA]: It looks like macOS 10.13 no longer ignores long modifier strings, so explicitly use an empty string.
* Update copyright year to 2018Paul Eggert2018-01-01215-215/+215
| | | | Run admin/update-copyright.
* Fix subtle problem with scroll-down when scroll-margin is nonzeroEli Zaretskii2017-12-291-2/+3
| | | | | | | | * src/window.c (window_scroll_pixel_based): Account for scroll-margin when scrolling down, i.e. moving window-start towards the beginning of the buffer. Reported by zhang cc <ccsmile2008@outlook.com> in http://lists.gnu.org/archive/html/emacs-devel/2017-12/msg00894.html.
* * src/buffer.c (Frestore_buffer_modified_p): Fix bug#29846Stefan Monnier2017-12-281-9/+11
| | | | | Don't mess with the lock file when inhibit_modification_hooks is set, just like we do in prepare_to_modify_buffer_1.
* Improve documentation of 'inhibit-modification-hooks' and friendsEli Zaretskii2017-12-282-3/+14
| | | | | | | | * src/buffer.c (Fset_buffer_modified_p) (Frestore_buffer_modified_p): Doc fixes. * src/insdel.c (syms_of_insdel) <inhibit-modification-hooks>: Document in the doc string that this variable also inhibits file locks and active region handling. (Bug#29846)
* Fix doc string of 'enable-recursive-minibuffers'David Pathakjee2017-12-281-1/+1
| | | | | | | * src/minibuf.c (syms_of_minibuf) <enable-recursive-minibuffers>: Doc fix. (Bug#29873) Copyright-paperwork-exempt: yes
* Avoid crashes when ':eval' deletes our frameEli Zaretskii2017-12-231-0/+8
| | | | | | * src/xdisp.c (display_mode_element): Signal an error if ':eval' somehow deletes the frame whose window we are redisplaying. (Bug#29726)
* ; * src/xdisp.c (extend_face_to_end_of_line): Fix last change.Eli Zaretskii2017-12-211-4/+6
|
* Prevent infloop in redisplay on TTY framesEli Zaretskii2017-12-211-0/+2
| | | | | | * src/xdisp.c (extend_face_to_end_of_line): Avoid infloop when filling up display margins with the default face's background. (Bug#29789)
* Special-case %DUMBFW for GnuTLS between 3.2.5 and 3.5.1Ted Zlatanov2017-12-201-0/+8
| | | | | * src/gnutls.c: Introduce HAVE_GNUTLS_EXT__DUMBFW for GnuTLS >= 3.2.5. (Fgnutls_available_p): Use it.
* Work around GnuTLS version issues with %DUMBFW (tiny change)Andy Moreton2017-12-201-11/+30
| | | | | | * src/gnutls.c: Introduce HAVE_GNUTLS_EXT_GET_NAME and use it. (init_gnutls_functions): Use it. (Fgnutls_available_p): Use it (Bug#25061). Fix Vlibrary_cache bug.
* Fix updating scrollbar sizes when scaling is in effectRobert Pluim2017-12-201-1/+7
| | | | | | | * src/gtkutil.c (xg_update_scrollbar_pos): Update width of scrollbar when scaling is in effect. (xg_update_horizontal_scrollbar_pos): Update scrollbar size when scaling is in effect.
* Collect GnuTLS extensions and use them to set %DUMBFW if supportedTed Zlatanov2017-12-191-1/+13
| | | | | | | | | * lisp/net/gnutls.el (gnutls-boot-parameters): Use it to set %DUMBFW only when it's supported as "ClientHello Padding" (Bug#25061). * src/gnutls.c (Fgnutls_available_p): Get extension names and put them in the GnuTLS capabilities, using a hard-coded limit of 100 since GnuTLS MAX_EXT_TYPES is not exported.
* Improve documentation of 'invisible-p'Eli Zaretskii2017-12-161-11/+17
| | | | | | | | * doc/lispref/display.texi (Invisible Text): Document the return value of 'invisible-p'. * src/xdisp.c (Finvisible_p): Rename the argument POS. Doc fix. (Bug#29721)
* Remove one more check that Vframe_list is non-nilMartin Rudalics2017-12-161-3/+2
| | | | | | * src/dispnew.c (check_glyph_memory): Remove no-longer-needed check that Vframe_list is non-nil, as FOR_EACH_FRAME no longer assumes that.
* FOR_EACH_FRAME no longer assumes frame-listPaul Eggert2017-12-152-8/+10
| | | | | | | | | | | | This cleans up a recent fix related to Bug#29661. Suggested by Stefan Monnier in: https://lists.gnu.org/r/emacs-devel/2017-12/msg00544.html * src/frame.c (next_frame, prev_frame, delete_frame): Restore debugging checks that Vframe_list is non-nil, as FOR_EACH_FRAME no longer has these checks. (delete_frame): Remove no-longer-needed checks that Vframe_list is non-nil, as FOR_EACH_FRAME no longer assumes that. * src/frame.h (FOR_EACH_FRAME): Do not assume Vframe_list is non-nil.
* * src/font.c (Ffont_info): Doc fix. (Bug#29682)Eli Zaretskii2017-12-151-5/+5
|
* Don't run FOR_EACH_FRAME when there's no frame left (Bug#29961)Martin Rudalics2017-12-152-5/+8
| | | | | | | | | This does not fix Bug#29961 but avoids that Emacs segfaults when trying to shut down because it lost connection to the X server. * src/dispnew.c (check_glyph_memory): * src/frame.c (delete_frame): Don't run FOR_EACH_FRAME when there's no frame left (Bug#29961).
* * src/data.c (Fadd_variable_watcher): Doc fix.Charles A. Roelli2017-12-141-1/+1
|
* Fix doc-string of Fbuffer_listMartin Rudalics2017-12-141-3/+3
| | | | * src/buffer.c (Fbuffer_list): Fix doc-string.
* Remove ObjC blocks (Bug#23753)Alan Third2017-12-121-73/+55
| | | | | | | * src/macfont.m (macfont_get_glyph_for_character): (mac_font_get_glyphs_for_variants): Inline Objective-C blocks. (cherry picked from commit 4590f1d768adbb2120a2b02c614f7ed3b21a4a3e)
* Import the latest IVD_Sequences.txtEli Zaretskii2017-12-121-880/+883
| | | | | | | | * admin/unidata/IVD_Sequences.txt: New version from http://www.unicode.org/ivd/, the 2017-12-12 version of the Unicode Ideographic Variation Database. * src/macuvs.h: Regenerated.
* Avoid crashes in 'font-at' after 'set-fontset-font'Eli Zaretskii2017-12-101-0/+4
| | | | | | | * src/fontset.c (free_realized_fontsets): Call recompute_basic_faces, so that the basic faces are available to any Lisp that calls this function, e.g. via set-fontset-font. (Bug#29632)
* Fix tool-tip display when display margins are non-zero by defaultEli Zaretskii2017-12-094-3/+26
| | | | | | | | | * src/buffer.h (bset_left_margin_cols, bset_right_margin_cols): New inline functions. * src/xfns.c (Fx_show_tip): * src/w32fns.c (Fx_show_tip): Force display margins of the tip buffer to zero, as it will be displayed in a pseudo-window, which doesn't support display margins. (Bug#29627)