aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * nsfns.m (ns_set_doc_edited): Do all logic (check frames) hereJan Djärv2014-10-301-0/+8
| | | | | | | | | instead of in xdisp.c, function now takes void. * nsterm.h (ns_set_doc_edited): Declare taking no args. * xdisp.c (prepare_menu_bars): Remove HAVE_NS code. (redisplay_internal): Call ns_set_doc_edited if HAVE_NS (Bug#18884).
* * nsfns.m (x_icon): icon_top/left is int.Jan Djärv2014-10-301-0/+14
| | | | | | | | | | | | | | * nsterm.h (EmacsScroller): Replace Lisp_Object win with struct window*. Remove getMouseMotionPart. (ns_output): Make icon_top/left int. * nsterm.m (ns_mouse_position): Remove unused code. (initFrame:window:, dealloc): Use window instead of win. (getMouseMotionPart:window:x:y:): Remove, unused. (sendScrollEventAtLoc:fromEvent:): Make Lisp_Object win from window. Fixes: debbugs:18889
* * src/unexmacosx.c (copy_data_segment): Port to GCC 4.6+ (backport)Samuel Bronson2014-10-291-0/+4
| | | | Fixes: debbugs:9927
* Fix bug #18873 with non-ASCII characters in user's HOME directory.Eli Zaretskii2014-10-281-0/+5
| | | | | src/fileio.c (Fexpand_file_name): Use make_unibyte_string, not build_string, when importing a home directory.
* Fix bug #18839 with incorrect image size returned by posn-at-point.Eli Zaretskii2014-10-261-0/+6
| | | | | | src/dispnew.c (buffer_posn_from_coords): Use WINDOW_WANTS_HEADER_LINE_P, not WINDOW_WANTS_MODELINE_P, to account for the header-line height.
* * xdisp.c (erase_phys_cursor): Fix confusion between window-relative and ↵YAMAMOTO Mitsuharu2014-10-221-0/+2
| | | | text area-relative x-coordinates. [Backport]
* * xdisp.c (draw_glyphs): Set clipping to highlight boundaries. [Backport]YAMAMOTO Mitsuharu2014-10-221-0/+5
|
* * src/minibuf.c (history-length): Increase default from 30 to 100.Glenn Morris2014-10-201-2/+6
| | | | * lisp/cus-start.el (history-length): Bump :version. [Backport]
* * src/xdisp.c (redisplay_window): Re-run pre-redisplay-function after weStefan Monnier2014-10-201-19/+23
| | | | move point.
* Add 24.4 release ChangeLog entriesemacs-24.4Glenn Morris2014-10-201-0/+4
|
* Fix display on X of 1-pixel R2L characters.Eli Zaretskii2014-10-171-0/+7
| | | | | | | src/xterm.c (x_draw_hollow_cursor): Fix display of hollow cursor on 1-pixel R2L characters. Reported by Dmitry Antipov <dmantipov@yandex.ru>, see http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00518.html.
* Fix port to Debian GNU/kFreeBSD 7 (wheezy).Paul Eggert2014-10-101-0/+5
| | | | | | * process.c (accept4) [!HAVE_ACCEPT4]: New macro. Fixes: debbugs:18666
* * src/frame.c (Fmouse_pixel_position): Call Vmouse_position_function.Stefan Monnier2014-10-091-0/+5
| | | | Fixes: debbugs:18638
* Fix bug #18610 with crashes when visiting files with ESC and 8-bit bytes.Kenichi Handa2014-10-081-0/+5
| | | | | | | src/coding.c (detect_coding_iso_2022): Set coding->rejected correctly when an invalid escape sequence is found. Backported from trunk.
* * 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.
* 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
* 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.
* On OSX, do not free font-specific data more than once (Bug#18501).Dmitry Antipov2014-09-221-0/+6
| | | | | * macfont.m (macfont_close): Release and free font-specific data only if it wasn't previously freed.
* * configure.ac: Increase headerpad_extra to 1000, update the commentDavid Caldwell2014-09-211-0/+4
| | | | | | | | about load commands. * src/unexmacosx.c (dump_it): Improve error message. Fixes: debbugs:18505
* * src/image.c (imagemagick_load_image): Add delay to imagemagick metadata.Juri Linkov2014-09-181-0/+5
| | | | (Bug#10747, bug#18334)
* Clarify the doc strings of mouse-position and set-mouse-position.Eli Zaretskii2014-09-181-0/+3
| | | | | src/frame.c (Fmouse_position, Fset_mouse_position): Clarify the units in which the position is measured. (Bug#18493)
* Fix bug #18490 with redisplay of other windows showing a narrowed buffer.Eli Zaretskii2014-09-181-0/+5
| | | | | src/xdisp.c (redisplay_internal): Force redisplay of all windows that show a buffer whose narrowing has changed.
* Fix display of hollow-box and hbar cursors on r2L lines.Eli Zaretskii2014-09-161-0/+6
| | | | | | | | src/xterm.c (x_draw_hollow_cursor, x_draw_bar_cursor): src/w32term.c (x_draw_hollow_cursor, x_draw_bar_cursor): In R2L lines, draw the hollow-box and hbar cursors on the right side of cursor-glyph. Thanks to Martin Rudalics <rudalics@gmx.at> for testing on X.
* Fix block cursor display in R2L lines.Eli Zaretskii2014-09-161-0/+8
| | | | | | | | src/xterm.c (x_draw_stretch_glyph_string): src/w32term.c (x_draw_stretch_glyph_string): Fix a thinko that caused the block cursor to disappear on a TAB in R2L lines in every window except the leftmost one. Reported by Martin Rudalics <rudalics@gmx.at>.
* Prefer ptrdiff_t to int and avoid integer overflows.Dmitry Antipov2014-09-161-0/+6
| | | | | | | * fileio.c (make_temp_name): * font.c (font_parse_family_registry): Avoid integer overflow on string size calculation. * data.c (Faset): Likewise for byte index.
* Always use matched specpdl entry to record call arguments (Bug#18473).Dmitry Antipov2014-09-161-0/+11
| | | | | | | | | | * lisp.h (record_in_backtrace): Adjust prototype. * eval.c (record_in_backtrace): Return current specpdl level. (set_backtrace_args, set_backtrace_nargs): Merge. Adjust all users. (eval_sub, Ffuncall): Record call arguments in matched specpdl entry and use that entry in call to backtrace_debug_on_exit. (apply_lambda): Likewise. Get current specpdl level as 3rd arg. (do_debug_on_call): Get current specpdl level as 2nd arg.
* Fix display of R2L lines in partial-width windows.Eli Zaretskii2014-09-151-0/+14
| | | | | | | | | | | | | src/xdisp.c (init_iterator): Don't use it->bidi_p before it is assigned the correct value. (extend_face_to_end_of_line): Account for truncation and continuation glyphs in R2L rows when one of the fringes is not displayed. (display_line): Don't assign negative X offset to a row if we are going to produce a truncation glyph for it. When handling truncated R2L rows, consider the width of the left fringe instead of the right one. (produce_special_glyphs): Fix bogus assignments.
* Fix bug #18420 with deadlocks communicating with subprocess on MS-Windows.Eli Zaretskii2014-09-141-0/+9
| | | | | | | | | src/w32.c (fcntl): Support O_NONBLOCK fcntl on the write side of pipes. (sys_write): When a write to a non-blocking pipe returns ENOSPC, set errno to EAGAIN instead, to allow the caller to retry the write after some waiting. Fixes deadlocks when Emacs exchanges a lot of data through the pipe.
* Fix expansion and encoding of sound file names on MS-Windows.Eli Zaretskii2014-09-131-0/+13
| | | | | | | | | | | | src/sound.c (Fplay_sound_internal): Encode the sound file name in the ANSI codepage. Expand it against data-directory, as per docs, not against the current directory. No need to make a local copy of the file name; pass the encoded file name directly to do_play_sound. (Bug#18463) src/w32.c (ansi_encode_filename): If w32_get_short_filename returns NULL, and the file name is not encodable in ANSI codepage, return the string with "?" replacement characters, which will fail the caller. This avoids returning a random value in that case.
* In Fresize_mini_window_internal set w->total_lines from w->pixel_height ↵Martin Rudalics2014-09-111-0/+5
| | | | | | | (Bug#18422). * window.c (Fresize_mini_window_internal): Set w->total_lines from w->pixel_height (Bug#18422).
* * nsterm.m (updateFrameSize:, initFrameFromEmacs:)Jan Djärv2014-09-091-0/+6
| | | | | | | (toggleFullScreen:): Take frame_resize_pixelwise into account when setting resize increments. Fixes: debbugs:18435
* Fix the row number mistakenly reported by pos_visible_p in rare cases.Eli Zaretskii2014-09-091-0/+7
| | | | | | | src/xdisp.c (pos_visible_p): Properly save and restore the iterator state around the call to line_bottom, since it can move the iterator to another screen line. This fixes off-by-one errors in the reported row in some rare cases.
* Fix bug #18419 with disappearing line numbers when minibuffer is resized.Eli Zaretskii2014-09-071-0/+6
| | | | | | src/dispnew.c (prepare_desired_row): When MODE_LINE_P is zero, always make sure the marginal areas of the row are in sync with what the window wants.
* Fix bug #18331 with "C-h k C-g" not showing documentation on Windows.Eli Zaretskii2014-09-041-0/+6
| | | | | | src/data.c (set_internal): Use assq_no_quit, not Fassq, to find an existing binding of a variable, to avoid silently aborting commands that use specbind.
* Fix bug #18384 with incorrect reporting of row number by posn-col-row.Eli Zaretskii2014-09-021-0/+7
| | | | | | | | | | | | | | lisp/subr.el (posn-col-row): Revert the change from commit 2010-11-13T21:07:58Z!eliz@gnu.org, which was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca, and introduced an off-by-one error in the reported row when there is a header line. src/dispnew.c (buffer_posn_from_coords): Fix an off-by-one error in the reported row in the case of a window with a header line, by improving on the fix committed in 2011-10-08T10:58:50Z!eliz@gnu.org eliz@gnu.org-20111008105850-ht4tvsayohvr1kjc.
* * eval.c (internal_lisp_condition_case): Don't overrun the stackPaul Eggert2014-09-011-0/+5
| | | | when configured --with-wide-int on typical 32-bit platforms.
* Fix cursor display on the fringe of R2L screen lines.Eli Zaretskii2014-08-311-0/+6
| | | | | | src/xdisp.c (display_and_set_cursor): Call erase_phys_cursor also when HPOS is negative, for the benefit of R2L glyph rows whose newline overflows into the fringe.
* * src/conf_post.h (strnicmp) [CYGWIN && HAVE_NTGUI]: Define. (Bug#18366)Ken Brown2014-08-301-0/+5
|
* Fix bug #18339 with segfault when $ is typed into empty LaTeX buffer.Eli Zaretskii2014-08-281-0/+5
| | | | | | Back-ported from trunk revision-id: 2014-08-27T19:40:54Z!eliz@gnu.org src/syntax.c (scan_lists): Don't examine positions before BEGV.
* Fix unoptimized build on MSDOS.Eli Zaretskii2014-08-251-0/+4
| | | | | | | msdos/sedlibmk.inp (gl_LIBOBJS): Add execinfo.o. Reported by Juan Manuel Guerrero <juan.guerrero@gmx.de>. src/conf_post.h (_GL_EXECINFO_INLINE) [MSDOS]: Don't define.
* src/xdisp.c (handle_stop): Improve commentary.Eli Zaretskii2014-08-181-0/+2
|
* Fix bug #18276 with vertical motion through a display property.Eli Zaretskii2014-08-181-0/+5
| | | | | src/indent.c (Fvertical_motion): Fix vertical motion up through a display property after a newline.
* Avoid inflooping in redisplay caused by hscrolled R2L lines.Eli Zaretskii2014-08-171-0/+7
| | | | | | | | | src/xdisp.c (display_line): Don't assume that the call to reseat_at_next_visible_line_start ends up at a character immediately following the newline on the previous line. Avoids setting the ends_at_zv_p flag on screen lines that are not at or beyond ZV, which causes infloop in redisplay. For the details, see http://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00368.html.
* Fix bug #18277 with mouse clicks on R2L lines.Eli Zaretskii2014-08-171-0/+5
| | | | | src/dispnew.c (buffer_posn_from_coords): Fix mirroring of X coordinate for hscrolled R2L screen lines.
* * src/gmalloc.c (_malloc_mutex, _aligned_blocks_mutex) [CYGWIN]: Use ↵Ken Brown2014-08-111-0/+5
| | | | ERRORCHECK mutexes. (Bug#18222)