aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fix disable toolbar for GNUStep.Jan Djärv2014-10-051-0/+3
| | | | | | | | | | | | | | * nsterm.m (updateFrameSize:): Only call update_frame_tool_bar if toolbar is visible. Fixes: debbugs:18345
* | * nsfont.m (nsfont_draw): Use CGFloat for GNUstep newer than 0.23.Jan Djärv2014-10-051-0/+3
| | | | | | | | Fixes: debbugs:18030
* | * nsterm.m (ns_draw_window_cursor): Adjust y for hbar cursor only if smaller ↵Jan Djärv2014-10-051-0/+2
| | | | | | | | | | | | | | | | than line height (Bug#17977). Fixes: debbugs:18345
* | * nsterm.m (ns_select, ns_read_socket): Use unwind_protect to decreaseJan Djärv2014-10-051-0/+2
| | | | | | | | | | | | apploopnr. Fixes: debbugs:18345
* | Add ns-use-fullscreen-animation for non-native fullscreen on NS.Jan Djärv2014-10-051-0/+3
| | | | | | | | | | * nsterm.m (syms_of_nsterm): ns-use-fullscreen-animation is new. (toggleFullScreen:): Use ns-use-fullscreen-animation for animate.
* | Import from macoport 24.3.94.Jan Djärv2014-10-051-0/+9
| | | | | | | | | | | | | | | | | | * macfont.m: Fix indentation and import changes from macport 24.3.94. (macfont_closest_traits_index): New function. (macfont_closest_traits_index_p): Renamed from macfont_closest_traits_index. (macfont_list): Use macfont_closest_traits_index_p.
* | coding.c (detect_coding_iso_2022): Set coding->rejected correctly when an ↵Kenichi Handa2014-10-051-0/+5
| | | | | | | | invalid escape sequence is found (Bug#18610).
* | Fix Gtk+ tearoff not present on Customize Emacs and not at menu top.Jan Djärv2014-10-041-0/+6
| | | | | | | | | | | | * gtkutil.c (create_menus): Only add tearoffs to empty menus. (xg_update_submenu): Remove has_tearoff_p, pass 1 to create_menus for add_tearoff_p.
* | Add documentation for horizontal scroll bars and fix some minor issues.Martin Rudalics2014-10-041-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * buffer.c (scroll_bar_width, scroll_bar_height): Fix doc-strings. * window.c (Fset_window_scroll_bars): Fix doc-string. (Fwindow_scroll_bars): Have it return what the doc-string says. * window.el (window-full-height-p): Make it behave correctly for minibuffer window. (window-current-scroll-bars): Fix code. (fit-frame-to-buffer): Use window-scroll-bar-height instead of window-scroll-bars. * frame.el (frame-current-scroll-bars): Fix doc-string. * scroll-bar.el (toggle-horizontal-scroll-bar): New command. * frames.texi (Scroll Bars): Describe use of horizontal scroll bars. * display.texi (Scroll Bars): Add description of horizontal scroll bars and associated functions. * frames.texi (Layout Parameters): Add horizontal scroll bar entries. Remove paragraph on "combined fringe widths". * windows.texi (Window Sizes): Describe affects of horizontal scroll bars on window layout and sizes. Fix description of window-full-height-p. (Resizing Windows): Mention horizontal scroll bar.
* | ChangeLog merge fixGlenn Morris2014-10-031-6/+0
| | | | | | | | Yet another unlabelled backport.
* | Merge from emacs-24; up to 2014-07-16T17:06:12Z!rgm@gnu.orgGlenn Morris2014-10-031-0/+11
|\ \ | |/
| * * font.c (font_list_entities): Do not add empty vector to font cache.Dmitry Antipov2014-10-031-0/+6
| | | | | | | | | | (font_matching_entity): Likewise. If matching entity is found, insert 1-item vector with this entity instead of an entity itself (Bug#17125).
| * Fix bug #18584 with assertion violations while scrolling.Eli Zaretskii2014-10-021-0/+5
| | | | | | | | | | src/xdisp.c (move_it_by_lines): Call reseat_1 after moving the iterator backwards, to resync the bidi iterator.
* | * fileio.c (emacs_readlinkat, Finsert_file_contents):Dmitry Antipov2014-10-031-0/+3
| | | | | | | | * w32fns.c, xfns.c (x_create_tip_frame): Use AUTO_STRING.
* | Consistently use min and max macros from lisp.h.Dmitry Antipov2014-10-031-0/+11
| | | | | | | | | | | | | | | | | | | | * coding.c (min, max): * font.c (MAX): * unexhp9k800.c (min): * unexw32.c (min, max): Use definitions from lisp.h. * regex.c (MAX, MIN) [!emacs]: Define own max and min as such. Adjust users. * gmalloc.c (min): Tiny style change.
* | Fix x-focus-frame bug with "Not an in-range integer".Paul Eggert2014-10-021-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | * xselect.c (X_SHRT_MAX, X_SHRT_MIN, X_LONG_MAX, X_LONG_MIN) (X_ULONG_MAX): Move these macros to xterm.h. (x_fill_property_data): Be more generous about allowing either signed or unsigned data of the appropriate width. * xterm.h (x_display_set_last_user_time): New function. All setters of last_user_time changd to use this function. If ENABLE_CHECKING, check that the times are in range. Fixes: debbugs:18586
* | src/dispnew.c (adjust_decode_mode_spec_buffer): Use 'int' instead of 'ssize_t'.Eli Zaretskii2014-10-021-0/+5
| | | | | | | | Suggested by Paul Eggert <eggert@cs.ucla.edu>.
* | Merge from emacs-24Stefan Monnier2014-10-021-2/+8
|\ \ | |/
| * ChangeLog whitespace triviaGlenn Morris2014-10-011-2/+2
| |
| * * xfaces.c (Finternal_set_lisp_face_attribute): Added FIXME comment.Jan Djärv2014-10-011-0/+1
| |
| * * xfaces.c (Finternal_set_lisp_face_attribute): Don't try toJan Djärv2014-10-011-0/+5
| | | | | | | | | | | | make a font_object from a tty frame. Fixes: debbugs:18573
* | * alloc.c (mark_overlay): Assume that overlay boundaries areDmitry Antipov2014-10-021-0/+8
| | | | | | | | | | | | | | always markers. Add comment. * lread.c (read_internal_start): Use convenient validate_subarray. Adjust docstring. (Fread_from_string): Adjust docstring.
* | * src/lisp.h: Fix up compilation for USE_STACK_LISP_OBJECTS=false.Stefan Monnier2014-10-021-0/+2
| |
* | Consolidate management/ownership of selections.Stefan Monnier2014-10-011-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/select.el (gui-get-selection-alist): New method. (gui-get-selection): Use it. Rename from x-get-selection. (x-get-selection): Define as obsolete alias. (x-get-clipboard): Mark obsolete. (gui-get-primary-selection): New function. (x-get-selection-value): Mark obsolete. (gui-own-selection-alist, gui-disown-selection-alist) (gui-selection-owner-p-alist): New methods. (gui-set-selection): Use them. Rename from x-set-selection. (x-set-selection): Define as obsolete alias. (gui--valid-simple-selection-p): Rename from x-valid-simple-selection-p. * lisp/w32-common-fns.el (gui-own-selection, gui-disown-selection) (gui-selection-owner-p, gui-get-selection): Define for w32. (w32-get-selection-value): Rename from x-get-selection-value. Use the new gui-last-selected-text. * lisp/term/x-win.el (x-get-selection-value): Remove. (x-clipboard-yank): Declare obsolete. (gui-own-selection, gui-disown-selection, gui-get-selection) (gui-selection-owner-p): Define for x. * lisp/term/w32-win.el (w32-win-suspend-error): Rename from x-win-suspend-error. * lisp/term/pc-win.el (w16-get-selection-value): Rename from x-get-selection-value. (w16-selection-owner-p): Rename from x-selection-owner-p. (gui-own-selection, gui-disown-selection, gui-get-selection) (gui-selection-owner-p): Define for pc. (w16--select-text): New function. * lisp/term/ns-win.el (gui-own-selection, gui-disown-selection) (gui-get-selection, gui-selection-owner-p): Define for ns. * lisp/term.el (term-mouse-paste): * lisp/mouse.el (mouse-yank-primary): Use gui-get-primary-selection. * src/nsselect.m (ns-own-selection-internal, ns-disown-selection-internal): Rename from the "x-" prefix.
* | Commit forgotten ChangeLog filesStefan Monnier2014-10-011-0/+4
| |
* | Don't modify the process's command name passed to start-process on MS-Windows.Eli Zaretskii2014-10-011-0/+6
| | | | | | | | | | | | src/w32proc.c (sys_spawnve): Avoid modification of the CMDNAME argument passed by the caller, when we mirror all slashes into backslashes.
* | Revert the changes in 2014-10-01T02:25:40Z!eggert@cs.ucla.edu.Eli Zaretskii2014-10-011-3/+0
| |
* | * gtkutil.c (xg_set_toolkit_horizontal_scroll_bar_thumb):Dmitry Antipov2014-10-011-0/+5
| | | | | | | | Resurrect old code and fix compilation with GTK < 2.13.6.
* | Use AUTO_CONS instead of SCOPED_CONS, etc.Paul Eggert2014-09-301-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/internals.texi (Stack-allocated Objects): Adjust to match the revised, less error-prone macros. * src/frame.h (AUTO_FRAME_ARG): Rename from FRAME_PARAMETER. * src/lisp.h (AUTO_CONS): Rename from scoped_cons. (AUTO_LIST1): Rename from scoped_list1. (AUTO_LIST2): Rename from scoped_list2. (AUTO_LIST3): Rename from scoped_list3. (AUTO_LIST4): Rename from scoped_list4. (AUTO_STRING): Rename from SCOPED_STRING. * src/frame.h (AUTO_FRAME_ARG): * src/lisp.h (AUTO_CONS, AUTO_LIST1, AUTO_LIST2, AUTO_LIST3) (AUTO_LIST4, AUTO_STRING): Prepend a new argument 'name'. Declare a variable instead of yielding a value. All uses changed. * src/lisp.h (STACK_CONS, AUTO_CONS_EXPR): New internal macros.
* | * dispnew.c (adjust_decode_mode_spec_buffer): Prefer ptrdiff_tPaul Eggert2014-09-301-0/+5
| | | | | | | | to ssize_t since we're not using ssize_t-related syscalls here.
* | Merge from emacs-24Stefan Monnier2014-09-301-0/+40
|\ \ | |/
| * Fix creation of frames on MS-Windows: don't cons Lisp objects in input thread.Eli Zaretskii2014-09-301-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | src/w32fns.c (w32_createwindow): Accept an additional argument, an array of 2 values specifying the coordinates of the frame's top-left corner. Use these values instead of calling x_get_arg, which can cons Lisp objects, and therefore cannot be called except from the main thread. Remove redundant tests for the default values. (my_create_window): Move the calculation of the coordinates of the frame's top-left edge here. Pass them to the input thread via the second parameter of the WM_EMACS_CREATEWINDOW message. See http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00892.html for the details.
| * Fix bug #18545 with lack of scrolling a window when point goes out of view.Eli Zaretskii2014-09-291-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | src/xdisp.c (cursor_row_fully_visible_p): Update commentary. (redisplay_window): Treat the frame's frozen_window_starts flag the same way as the optional_new_start flag for the window: only obey it if the glyph row showing point will be fully visible. Likewise when the window start is in a continuation line. If, after trying everything under the 'force_start' label, point is still not fully visible, give up and scroll the window. Add debugging traces. src/window.c (Frecenter): Set the window's redisplay flag.
| * Fix bug #18528 with crashes at startup during frameset restoration.Eli Zaretskii2014-09-241-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | src/w32term.c (w32_read_socket): Don't use frame dimensions for resizing if GetClientRect returned an empty (0, 0, 0, 0) rectangle. Check the return value of GetClientRect, and don't use the results if it didn't succeed. src/dispnew.c (change_frame_size_1): Recompute the frame dimensions in columns and lines after correcting the pixel dimensions in check_frame_size. (adjust_decode_mode_spec_buffer): Add assertion to avoid passing negative values to xrealloc.
* | * alloc.c: Remove now-unnecessary check.Paul Eggert2014-09-301-0/+4
| | | | | | | | | | Suggested by Dmitry Antipov in: http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00891.html
* | * xterm.c (x_term_init): Allocate temps on stack, not on heap.Paul Eggert2014-09-301-0/+2
| |
* | * frame.c (x_set_frame_parameters): Port --enable-gcc-warningsPaul Eggert2014-09-301-0/+3
| | | | | | | | to Ubuntu 14.04.1 x86-64.
* | Simplify stack-allocated Lisp objects, and make them more portable.Paul Eggert2014-09-291-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The build_local_string macro was used in two ways: (1) string literals for which scoped allocation suffices, and (2) file name components, where it's not safe in general to assume bounded-size ASCII data. Simplify by defining a new macro SCOPED_STRING that allocates a block-scope string, and by using SCOPED_STRING for (1) and build_string for (2). Furthermore, actually use stack allocation only for objects known to have sufficient alignment. This simpler implementation means Emacs can make USE_STACK_LISP_OBJECTS the default unless GC_MARK_STACK != GC_MAKE_GCPROS_NOOPS. * lisp.h (GCALIGNED): Align even if !USE_STACK_LISP_OBJECTS, for fewer differences among implementations. (struct Lisp_String): Now GCALIGNED. (USE_STACK_LISP_OBJECTS): Default to true, since the implementation no longer insists on a nonempty GCALIGNED. But make it false if GC_MARK_STACK != GC_MAKE_GCPROS_NOOPS. (SCOPED_CONS_INITIALIZER): Remove, since it's no longer needed separately. Move definiens to scoped_cons. The old definition was incorrect when GCALIGNED was defined to be empty. (union Aligned_String): New type. (USE_STACK_CONS, USE_STACK_STRING): New constants, so that the implementation ports to compilers that don't align strictly enough. Don't worry about the union sizes; it's not worth bothering about. (scoped_cons, scoped_list1, scoped_list3, scoped_list4): Rewrite using USE_STACK_CONS. (scoped_cons): Assume the use of union Aligned_Cons. (lisp_string_size, make_local_string, build_local_string): Remove. Unless otherwise specified, all callers of build_local_string changed to use SCOPED_STRING. (SCOPED_STRING): New macro. * data.c (wrong_choice): * menu.c (single_menu_item): * process.c (Fformat_network_address): Hoist use of SCOPED_STRING out of a scope, so that its returned object lives long enough. * fileio.c (Fexpand_file_name): Use build_string, not SCOPED_STRING, as the string might be long or might not be ASCII.
* | Follow-up to renaming v24.5 to 25.1.Eli Zaretskii2014-09-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | README: Bump version to 25.0.50. configure.ac (AC_INIT): Bump version to 25.0.50. nt/makefile.w32-in (VERSION): Bump version to 25.0.50. nt/emacsclient.rc: Bump version to 25.0.50. nt/emacs.rc: Bump version to 25.0.50. nt/config.nt (VERSION): Bump version to 25.0.50. msdos/sed2v2.inp: Bump version to 25.0.50. etc/refcards/ru-refcard.tex: Bump version to 25.0.50. etc/refcards/emacsver.tex: Bump version to 25.0.50. src/msdos.c (internal_terminal_init): Bump version to 25. doc/man/emacs.1: Bump version to 25.0.50. doc/emacs/emacsver.texi (EMACSVER): Bump to 20.0.50.
* | Rename 24.5 to 25.1Stefan Monnier2014-09-291-2/+1
| | | | | | | | Except where we expect to backport the corresponding change.
* | Keep stack-allocated Lisp objects fast rather than versatile.Dmitry Antipov2014-09-291-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (HAVE_STATEMENT_EXPRESSIONS): Remove. For USE_STACK_LISP_OBJECTS, we always assume __GNUC__. * lisp.h (union Aligned_Cons) [!GCALIGNED]: Define as such. (SCOPED_CONS_INITIALIZER): New macro. (scoped_cons) [USE_STACK_LISP_OBJECTS]: Use it. (USE_LOCAL_ALLOCA): Remove. (local_cons, local_list1, local_list2, local_list3, local_list4): Remove. Stack overflow checking makes them too slow. (make_local_vector): Likewise. Also we just don't have enough users for it. (enum LISP_STRING_OVERHEAD): Remove. (local_string_init, local_vector_init): Remove prototypes. (make_local_string, build_local_string): Redesign to target short compile-time string constants, fall back to regular string allocation where appropriate. (lisp_string_size): New function. (verify_ascii) [ENABLE_CHECKING]: Add prototype. * alloc.c (local_string_init, local_vector_init): Remove. (verify_ascii) [ENABLE_CHECKING]: New function. * buffer.c, charset.c, chartab.c, data.c, editfns.c, emacs.c, fileio.c: * fns.c, font.c, fontset.c, frame.c, keyboard.c, keymap.c, lread.c: * menu.c, minibuf.c, process.c, textprop.c, xdisp.c, xfns.c, xfont.c: * xselect.c, xterm.c: All related users changed.
* | * src/sheap.c (bss_sbrk_buffer_beg): Remove redundant variable.Ken Brown2014-09-281-0/+5
| | | | | | | | * src/gmalloc.c [CYGWIN]: Adapt to change in sheap.c.
* | Fix implementation of HYBRID_MALLOC on Cygwin.Ken Brown2014-09-271-0/+8
| | | | | | | | | | | | | | * src/sheap.c (bss_sbrk_buffer_end): Cast to void *. (bss_sbrk_buffer_beg): New variable. Use it... * src/gmalloc.c (ALLOCATED_BEFORE_DUMPING) [CYGWIN]: ...here, to fix incorrect definition.
* | * lisp/subr.el (track-mouse): New macro.Stefan Monnier2014-09-271-0/+3
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Remove track-mouse case. * lisp/emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove. * src/keyboard.c (track-mouse): Rename to internal--track-mouse. Make it into a function and change arg to be a function.
* | Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.Stefan Monnier2014-09-261-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode. (eldoc-schedule-timer): Obey it. (eldoc-documentation-function): Default to nil. (eldoc-mode): Don't enable if eldoc-documentation-function is not set. (eldoc-documentation-function-default, eldoc-get-fnsym-args-string) (eldoc-highlight-function-argument, eldoc-get-var-docstring) (eldoc-last-data-store, eldoc-docstring-first-line) (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp) (eldoc-beginning-of-sexp, eldoc-current-symbol) (eldoc-function-argstring): Move to elisp-mode.el. (eldoc-symbol-function): Remove, unused. * lisp/progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*". (elisp-completion-at-point): Rename from lisp-completion-at-point. (elisp--preceding-sexp): Rename from preceding-sexp. * lisp/loadup.el: Load new file progmodes/elisp-mode. * lisp/ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function. * lisp/emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables) (lisp--local-variables-completion-table, lisp--expect-function-p) (lisp--form-quoted-p, lisp--company-doc-buffer) (lisp--company-doc-string, lisp--company-location) (lisp-completion-at-point): Move to elisp-mode.el. * lisp/emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table, extracted from emacs-lisp-mode-syntax-table. (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to elisp-mode.el. (lisp-imenu-generic-expression): Add comments to document what comes from which Lisp dialect. (emacs-lisp-mode-map, emacs-lisp-byte-compile) (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook) (emacs-lisp-mode, emacs-list-byte-code-comment-re) (emacs-lisp-byte-code-comment) (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode) (lisp-interaction-mode-map, lisp-interaction-mode) (eval-print-last-sexp, last-sexp-setup-props) (last-sexp-toggle-display, prin1-char, preceding-sexp) (eval-last-sexp-1, eval-last-sexp-print-value) (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp) (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el. * src/lisp.mk (lisp): Add elisp-mode.elc.
* | * xfns.c (x_default_scroll_bar_color_parameter):Paul Eggert2014-09-261-0/+6
| | | | | | | | | | Use USE_LOCAL_ALLOCA only if USE_TOOLKIT_SCROLL_BARS, to pacify --enable-gcc-warnings in non-scrollbar builds.
* | src/w32term.h (ALIGN_STACK): Fix the cpp condition.Ken Brown2014-09-261-0/+4
| |
* | Don't use USE_STACK_LISP_OBJECTS on Windows with GCC older than 4.2.Eli Zaretskii2014-09-251-0/+3
| | | | | | | | | | | | | | src/lisp.h (USE_STACK_LISP_OBJECTS): Default to false for 32-bit MinGW builds that use GCC before 4.2. Fixes: debbugs:18559
* | Default to stack objects on DOS_NT platforms as well.Eli Zaretskii2014-09-251-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | src/w32term.h (ALIGN_STACK) [__GNUC__]: Define to __attribute__((force_align_arg_pointer)) for GCC 4.2 and later. src/lisp.h (USE_STACK_LISP_OBJECTS): Remove the !DOS_NT condition. src/w32proc.c (enum_locale_fn, enum_codepage_fn): Add the ALIGN_STACK attribute. src/w32fns.c (w32_monitor_enum): Add the ALIGN_STACK attribute. src/w32uniscribe.c (add_opentype_font_name_to_list): Add the ALIGN_STACK attribute. src/w32font.c (add_font_name_to_list, add_font_entity_to_list) (add_one_font_entity_to_list): Add the ALIGN_STACK attribute.
* | Remove code left dead after 2014-07-27 changes.Martin Rudalics2014-09-251-0/+11
| | | | | | | | | | | | | | | | | | | | | | * frame.c (frame_inhibit_resize): * widget.c (EmacsFrameResize): * window.c (resize_frame_windows, Fset_window_configuration): * xdisp.c (expose_frame): * xfns.c (x_change_tool_bar_height): * xmenu.c (update_frame_menubar): * xterm.c (handle_one_xevent, x_new_font, x_set_window_size_1): Remove code left dead after 2014-07-27 changes.