aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Backport from trunk.Jan Djärv2014-04-041-0/+13
| | | | | | | | | | | | * nsmenu.m (update_frame_tool_bar): Return early if view or toolbar is nil. If waiting for toolbar to complete, force a redraw. (free_frame_tool_bar): Set wait_for_tool_bar = NO * nsterm.h (EmacsView): Add wait_for_tool_bar. * nsterm.m (updateFrameSize:): If waiting for the tool bar and tool bar is zero height, just return (Bug#16976). (initFrameFromEmacs:): Initialize wait_for_tool_bar.
* Don't use manifest on Cygwin. (Bug#17176)Ken Brown2014-04-031-0/+4
| | | | | | | * nt/emacs.rc: Don't use manifest on Cygwin. * configure.ac (EMACS_MANIFEST, UPDATE_MANIFEST): Leave these variables empty on Cygwin. * src/Makefile.in (EMACS_MANIFEST): Update comment.
* * lisp/progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'Stefan Monnier2014-04-021-1/+1
| | | | | | used as a variable. Fixes: debbugs:17174
* In x_new_font don't calculate non-toolkit scrollbar width from font width ↵Martin Rudalics2014-04-021-0/+5
| | | | | | | (Bug#17163). * xterm.c (x_new_font): Don't calculate non-toolkit scrollbar width from font width (Bug#17163).
* In x_set_window_size postpone calculation of default frame sizes (Bug#17142).Martin Rudalics2014-03-301-0/+6
| | | | | | * frame.c (x_set_frame_parameters): Calculate default values of new frame sizes only after all other frame parameters have been processed (Bug#17142).
* * src/conf_post.h (SYSTEM_PURESIZE_EXTRA) [CYGWIN]: Set to 10000. (Bug#17112)Ken Brown2014-03-281-0/+5
|
* Adjust image background width on X11 accordingly when its x position is ↵YAMAMOTO Mitsuharu2014-03-281-0/+5
| | | | adjusted. (Bug#17115)
* Fix bug #17115 with displaying on w32 images that have 'box' face.YAMAMOTO Mitsuharu2014-03-271-0/+6
| | | | | | src/w32term.c (x_draw_image_glyph_string): Fix computation of height and width of image background when it is displayed with a 'box' face.
* More backward-compatible fix to char-equal core dump.Paul Eggert2014-03-261-1/+5
| | | | | | | * editfns.c (Fchar_equal): In unibyte buffers, assume values in range 128-255 are raw bytes. Suggested by Eli Zaretskii. Fixes: debbugs:17011
* Fix core dump in char-equal.Paul Eggert2014-03-251-0/+5
| | | | | | | | * editfns.c (Fchar_equal): Do not use MAKE_CHAR_MULTIBYTE in unibyte buffers, as we can't tell whether the characters are actually unibyte. Fixes: debbugs:17011
* * insdel.c (adjust_markers_for_delete): Remove unused local.Paul Eggert2014-03-251-0/+4
|
* Undo in region after markers in undo history relocatedBarry O'Reilly2014-03-241-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * simple.el (primitive-undo): Only process marker adjustments validated against their corresponding (TEXT . POS). Issue warning for lone marker adjustments in undo history. (Bug#16818) (undo-make-selective-list): Add marker adjustments to selective undo list based on whether their corresponding (TEXT . POS) is in the region. Remove variable adjusted-markers, which was unused and only non nil during undo-make-selective-list. (undo-elt-in-region): Return nil when passed a marker adjustment and explain in function doc. Have (MARKER . ADJUSTMENT) undo records always be immediately after their corresponding (TEXT . POS) record in undo list. (Bug#16818) * lisp.h (record-delete): New arg record_markers. (record_marker_adjustment): No longer needed outside undo.c. * insdel.c (adjust_markers_for_delete): Move calculation of marker adjustments to undo.c's record_marker_adjustments. Note that fileio.c's decide_coding_unwind is another caller to adjust_markers_for_delete. Because it has undo list bound to t, it does not rely on adjust_markers_for_delete to record marker adjustments. (del_range_2): Swap call to record_delete and adjust_markers_for_delete so as undo marker adjustments are recorded before current deletion's adjustments, as before. (adjust_after_replace): (replace_range): Pass value for new record_markers arg to delete_record. * undo.c (record_marker_adjustment): Renamed to record_marker_adjustments and made static. (record_delete): Check record_markers arg and call record_marker_adjustments. (record_change): Pass value for new record_markers arg to delete_record. (record_point): at_boundary calculation no longer needs to account for marker adjustments. * undo-tests.el (undo-test-marker-adjustment-nominal): (undo-test-region-t-marker): New tests of marker adjustments. (undo-test-marker-adjustment-moved): (undo-test-region-mark-adjustment): New tests to demonstrate bug#16818, which fail without the fix. * markers.texi (Moving Marker Positions): The 2014-03-02 doc change mentioning undo's inability to handle relocated markers no longer applies. See bug#16818. * text.texi (Undo): Expand documentation of (TEXT . POS) and (MARKER . ADJUSTMENT) undo elements.
* Refine previous fix of x_set_window_size to handle Bug#17077.Martin Rudalics2014-03-241-0/+5
| | | | | * w32term.c (x_set_window_size): Refine fix from 2014-03-14 (Bug#17077).
* * src/fileio.c (Ffile_symlink_p): Doc fix.Glenn Morris2014-03-231-0/+4
| | | | Fixes: debbugs:17073
* * lisp/simple.el (redisplay-highlight-region-function): Increase priority ofStefan Monnier2014-03-231-0/+6
| | | | | | | | | overlay to make sure boundaries are visible. * src/buffer.c (struct sortvec): Add field `spriority'. (compare_overlays): Use it. (sort_overlays): Set it. Fixes: debbugs:15899
* Fix ChangeLog entry of last commit.Eli Zaretskii2014-03-231-1/+1
|
* Fix bug #17047 with cursor motion when invisible text starts a line.Eli Zaretskii2014-03-231-0/+6
| | | | | | src/xdisp.c (redisplay_window): If all previous attempts to find the cursor row failed, try a few alternatives before falling back to the top-most row of the window. Use row_containing_pos.
* Backport memory fix (2014-03-22T03:04:53Z!dancol@dancol.org) from trunkDaniel Colascione2014-03-221-0/+6
|
* Backport memory fix (2014-03-23T05:15:48Z!dancol@dancol.org) from trunkDaniel Colascione2014-03-221-0/+5
|
* Fix regression introduced by patch for Bug#10500.YAMAMOTO Mitsuharu2014-03-211-0/+6
| | | | | * xterm.c (x_draw_image_relief): Respect Vtool_bar_button_margin. * w32term.c (x_draw_image_relief): Likewise.
* Truly maximize w32 frames with odd fonts and some texi fixes.Martin Rudalics2014-03-211-0/+6
| | | | | | | | | | | * w32fns.c (w32_wnd_proc): For WM_WINDOWPOSCHANGING don't constrain frame size in SW_SHOWMAXIMIZED case so we can truly maximize a frame for odd default fonts. * frames.texi (Size and Position): In `frame-resize-pixelwise' description drop remark about frame maximization. * windows.texi (Display Action Functions): Add description for `display-buffer-no-window' and explain use of `allow-no-window' alist entries.
* Backport doc.c fix from trunk.Paul Eggert2014-03-201-0/+4
| | | | * doc.c (store_function_docstring): Fix pointer signedness mismatch.
* * lisp/emacs-lisp/nadvice.el (advice--make-docstring): Try harder to findStefan Monnier2014-03-201-0/+6
| | | | | | | | | | | the docstring of functions advised before dumping. * src/doc.c (store_function_docstring): Warn when we don't know where to put a docstring. (Fsubstitute_command_keys): Don't advertise the fact that text-properties are dropped, since we think it's a bug that we'll fix in 24.5. Fixes: debbugs:16993
* * src/frame.h (SET_FRAME_VISIBLE): Keep frame_garbaged up to date.Stefan Monnier2014-03-201-4/+10
| | | | | * src/xterm.c (handle_one_xevent) <MapNotify>: Don't garbage the frame. * src/frame.c (frame_garbaged): Make "docstring" more precise.
* * src/charset.c (init_charset): When we cannot find the charsets directory,Glenn Morris2014-03-191-0/+5
| | | | mention if EMACSDATA is set.
* * fns.c (Frandom): Fix rare bug where the result isn't random.Paul Eggert2014-03-191-0/+2
|
* Fix porting inconsistency about rounding to even.Paul Eggert2014-03-191-0/+7
| | | | | | | | * doc/lispref/numbers.texi (Numeric Conversions, Rounding Operations): Document that 'round' and 'fround' round to even. * src/floatfns.c (emacs_rint) [!HAVE_RINT]: Round to even. This way, the unusual !HAVE_RINT case acts like the usual HAVE_RINT case, and we can fix the documentation accordingly.
* Fix minor memory-related problems on MS-Windows revealed by Dr. Memory.Eli Zaretskii2014-03-191-0/+6
| | | | | | src/w32fns.c (reset_modifiers): Zero out keystate[] before using it. (w32_wnd_proc): Initialize the dwHoverTime member of TRACKMOUSEEVENT structure.
* gnutls.c (Fgnutls_boot): Fix case of :verify-error = t.Ted Zlatanov2014-03-171-0/+4
|
* src/ChangeLog: Fix a typo in last commit.Eli Zaretskii2014-03-161-1/+1
|
* Fix bug #16830 with slow search for newlines in forward-line.Eli Zaretskii2014-03-161-0/+6
| | | | | | src/search.c (find_newline): Speed up the function when using the newline cache, by halving the number of calls to region_cache_forward and region_cache_backward.
* src/buffer.c (Fset_buffer): Document return value (bug#17015).Juanma Barranquero2014-03-151-0/+4
|
* Document pixelwise frame resizing and fix related bug on Windows.Martin Rudalics2014-03-141-0/+6
| | | | | | | | | | | * w32term.c (x_set_window_size): When frame-resize-pixelwise is nil, always resize character wise to avoid potential loss of the mode line (Bug#16923 related). * display.texi (Temporary Displays): Say that with-temp-buffer-window makes its buffer current. * frames.texi (Size and Position): Describe new option `frame-resize-pixelwise'. Rewrite descriptions of `set-frame-size', `set-frame-height' and `set-frame-width'.
* Two adjustments in window/frame resizing.Martin Rudalics2014-03-121-0/+5
| | | | | | | * frame.c (x_set_frame_parameters): Always calculate new sizes pixelwise to avoid potential loss when rounding. * window.el (fit-frame-to-buffer): Get maximum width from display's width instead of height.
* * xfns.c (x_set_mouse_color): Recolor vertical_drag_cursor.Dmitry Antipov2014-03-111-0/+5
| | | | * xterm.c (x_free_frame_resources): Free all allocated cursors.
* Revert last change to w32_read_socket.Martin Rudalics2014-03-101-5/+0
|
* Fix an obscure bug in fstatat on Windows 9X.Eli Zaretskii2014-03-101-0/+6
| | | | | | src/w32.c (fstatat): Don't add an extra slash if the argument ends with a slash: this fails the subsequent call to stat_worker on Windows 9X. Reported by oslsachem <oslsachem@gmail.com>.
* Unconditionally set visibility to 1 when restoring frame size (Bug#16967).Martin Rudalics2014-03-101-0/+5
| | | | | * w32term.c (w32_read_socket): In SIZE_RESTORED case unconditionally set visibility of frame to 1.
* Update docs for window dividers and `window-text-pixel-size'.Martin Rudalics2014-03-091-2/+6
| | | | | | | | | | | | | | | | | | * xdisp.c (Fwindow_text_pixel_size): Adjust doc-string. * elisp.texi (Top): Rename section "Width" to "Size of Displayed Text". * text.texi (Primitive Indent): * strings.texi (String Basics): * sequences.texi (Sequence Functions): Update references accordingly. * display.texi (Size of Displayed Text): Rename section from "Width". Add description for `window-text-pixel-size'. (Window Dividers): Reword description of window dividers. * frames.texi (Layout Parameters): Improve description of window divider parameters. * windows.texi (Window Sizes): Add descriptions of `window-mode-line-height' and `window-header-line-height'. (Coordinates and Windows): Mention window dividers.
* * nsterm.h (MAC_OS_X_VERSION_10_9): Add.Jan Djärv2014-03-081-0/+7
| | | | | | | * nsterm.m (constrainFrameRect:toScreen:): Constrain normally when frame is only on one screen. Fixes: debbugs:14713
* Fix more failures of visual-order cursor movement under word-wrap (bug#16961).Eli Zaretskii2014-03-081-0/+15
| | | | | | | | | | | | | | | src/xdisp.c (move_it_in_display_line_to): If word-wrap is ON, and there's a valid wrap point in the display line, the last glyph cannot "just barely fit" on this row, because display_line doesn't let it. Instead, proceed as if the last glyph didn't fit, so that we eventually back up the iterator to the wrap point. This avoids delusional behavior of move_it_to, whereby it proceeds to the next display line, but sets current_x to zero for all the glyphs that without word-wrap would fit on the previous display line. One result was that visual-order cursor movement behaved erratically under word-wrap. (Fmove_point_visually): Add code to find the x coordinate of the last character before wrap point, under word-wrap on a TTY.
* Fix bug #16961 with visual-order cursor movement and word-wrap.Eli Zaretskii2014-03-071-0/+7
| | | | | | | src/xdisp.c (Fmove_point_visually): When under word-wrap, accept also return value of MOVE_POS_MATCH_OR_ZV from move_it_in_display_line_to, when moving from beginning of line to point's position.
* Update docs for select-window and buffer-list-update-hook.Martin Rudalics2014-03-071-0/+6
| | | | | | | | | | | | | | * buffer.c (Vbuffer_list_update_hook): Doc-string fix. * window.c (Fselect_window): Explain NORECORD and `buffer-list-update-hook' in doc-string. * buffers.texi (The Buffer List): Rename node to Buffer List. Describe `buffer-list-update-hook'. * elisp.texi (Top): "The Buffer List" renamed to "Buffer List". Add node for Window Dividers. * hooks.texi (Standard Hooks): Add reference to `buffer-list-update-hook'. * windows.texi (Selecting Windows): Update description of `select-window'.
* More window code related fixes and documentation changes.Martin Rudalics2014-03-061-0/+5
| | | | | | | | | | | | | | | | | | * window.c (Fother_window_for_scrolling): Check that Vother_window_scroll_buffer is a buffer. * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins): Fix doc-strings. (fit-frame-to-buffer): New argument ONLY. Remove dependency on fit-frame-to-buffer variable. Fix doc-string. (fit-window-to-buffer): Set ONLY argument in call of fit-frame-to-buffer. Fix doc-string. * frames.texi (Size and Position): Rewrite entries for `fit-frame-to-buffer' and `fit-frame-to-buffer-margins'. Add description for `fit-frame-to-buffer-sizes'. * windows.texi (Resizing Windows): Add descriptions for pixelwise resizing. Add entries for `window-resize-pixelwise' and `fit-window-to-buffer-horizontally'. Rewrite `fit-window-to-buffer' entry.
* * xterm.c (xim_initialize): Always pass a copy of resource nameDmitry Antipov2014-03-061-0/+13
| | | | | | | | | | | | to XRegisterIMInstantiateCallback and eassert whether return value is True. Passing copy is important because Xlib doesn't make its own copy and resource name argument usually points to SSDATA (Vx_resource_name), which may be changed from Lisp. (xim_close_display): For XUnregisterIMInstantiateCallback, always eassert return value and pass exactly the same values as were used for XRegisterIMInstantiateCallback. Otherwise XUnregisterIMInstantiateCallback will always fail. See Xlib sources to check why if you are interested.
* Various window code related fixes and documentation changes.Martin Rudalics2014-03-051-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | * dispnew.c (change_frame_size_1): Add new_lines instead of new_height, the latter may be still zero if passed as such. * window.c (Fwindow_pixel_height): Mention bottom divider in doc-string. * window.el (window-min-height, window-min-width): Rewrite doc-strings. (window-body-size): Add PIXELWISE argument to make it consistent with its callees. * display.texi (Window Dividers): New section. * frames.texi (Layout Parameters): Add right-divider-width and bottom-divider-width. * windows.texi (Window Sizes): Redraw schematic and rewrite its description. Rewrite descriptions of `window-total-height', `window-total-width', `window-total-size', `window-body-height', `window-body-width' and `window-size-fixed'. Add descriptions for `window-pixel-height', `window-pixel-width', `window-min-height' and `window-min-width'. Remove description of `window-size-fixed-p' moving part of it to that of `window-size-fixed'. (Resizing Windows): Mention dividers when talking about minimum sizes.
* Fix "resource temporarily unavailable" with xgselect.Paul Eggert2014-03-041-0/+4
| | | | | | | * xgselect.c: Include <stdbool.h>. (xg_select) [!USE_GTK]: Don't lose track of errno. Fixes: debbugs:16925
* Fix minor --enable-gcc-warnings issues.Paul Eggert2014-03-041-0/+6
| | | | | * widget.c (update_various_frame_slots, EmacsFrameResize): Avoid unused locals. Prefer 'if' to '#if' when either will do.
* Further follow-up to last change in gmalloc.c.Ken Brown2014-03-041-0/+5
| | | | | * src/gmalloc.c (aligned_alloc): Clarify the code by making `adj' represent the actual adjustment needed for alignment.
* Follow-up improvements for last change in gmalloc.c.Eli Zaretskii2014-03-041-0/+6
| | | | | | | | src/gmalloc.c (aligned_alloc): Don't allocate more memory than needed, and don't reallocate if the initial allocation already fits the bill. Suggested by Ken Brown <kbrown@cornell.edu>. Fixes: debbugs:16901