- 03 Aug, 2014 1 commit
-
-
Dmitry Antipov authored
* xfns.c (Fx_create_frame): Move call to change_frame_size to a section where Lisp evaluation is disabled. This way a pointer to uninitialized frame is not accessible from Lisp, which becomes critical if following call to x_figure_window_size throws an error.
-
- 02 Aug, 2014 2 commits
-
-
Paul Eggert authored
* src/dired.c (directory_files_internal): Use a volatile variable to prevent the compiler from optimizing away all copies of a local. I wonder how many other GC-related bugs like this lurk elsewhere? Fixes: debbugs:16986
-
Paul Eggert authored
* src/xterm.h (struct x_display_info): New member 'connection'. * src/xterm.c (x_term_init, x_delete_terminal): Set and use it, so that x_delete_terminal has a file descriptor to pass to delete_keyboard_wait_descriptor. Fixes: debbugs:17691
-
- 01 Aug, 2014 1 commit
-
-
Eli Zaretskii authored
See http://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00476.html for the details. src/xdisp.c (extend_face_to_end_of_line): If the last glyph of an R2L row is visible only partially, give the row a negative x offset. (display_line): Fix the calculation of the glyph whose pixel width is used to decide whether the last produced glyph fits on the line. When the last glyph fits only partially, give the row a negative x offset.
-
- 29 Jul, 2014 2 commits
-
-
Eli Zaretskii authored
src/xdisp.c (append_stretch_glyph): In a R2L glyph row, decrease the pixel width of the first glyph that is hscrolled from display. (display_line): In R2L glyph rows, don't give a negative offset to row->x when the first glyph begins before first_visible_x.
-
Andreas Schwab authored
* macros.c (Fstart_kbd_macro): Initialize kbd_macro_ptr and kbd_macro_end together with kbd_macro_buffer.
-
- 28 Jul, 2014 3 commits
-
-
Eli Zaretskii authored
src/xdisp.c (display_line): If called with iterator set up to write to a marginal area, delay the call to handle_line_prefix until we switch back to the text area.
-
Eli Zaretskii authored
-
Eli Zaretskii authored
src/.gdbinit (xwindow): The members total_cols, total_lines, left_col, and top_line are C integers (and has been so for the last 1.5 years).
-
- 20 Jul, 2014 1 commit
-
-
Jan Djärv authored
* macfont.m (macfont_update_antialias_threshold): Remove static. * nsterm.h (EmacsApp): Add antialiasThresholdDidChange. * nsterm.m (applicationDidFinishLaunching:): Call antialiasThresholdDidChange, register for antialias changes. (antialiasThresholdDidChange:): New method for EmacsApp. Fixes: debbugs:17534
-
- 17 Jul, 2014 4 commits
-
-
Eli Zaretskii authored
-
Eli Zaretskii authored
src/w32select.c (setup_windows_coding_system): Apply CODING_ANNOTATION_MASK to the common_flags member of struct coding_system. Reported by Martin Rudalics <rudalics@gmx.at>. src/w16select.c (Fw16_get_clipboard_data): Apply CODING_ANNOTATION_MASK to the common_flags member of struct coding_system.
-
Eli Zaretskii authored
src/xdisp.c (hscroll_window_tree): Don't try hscrolling windows whose cursor row has zero buffer position as their start position. Reported by Martin Rudalics <rudalics@gmx.at>.
-
Eli Zaretskii authored
src/xdisp.c (init_iterator): Initialize it->stop_charpos to the buffer position where we are to start the iteration. (handle_invisible_prop): Record in it->stop_charpos the position where the invisible text ends.
-
- 16 Jul, 2014 1 commit
-
-
Eli Zaretskii authored
src/xdisp.c (move_it_vertically_backward, move_it_by_lines): Prevent infinite looping in redisplay when display lines don't have enough space to display even a single character.
-
- 13 Jul, 2014 1 commit
-
-
Eli Zaretskii authored
src/xdisp.c (decode_mode_spec): Call file-remote-p on the current buffer's default-directory only if it is a string. lisp/bindings.el (mode-line-remote): If default-directory is not a string, don't call file-remote-p on it; instead state in the help-echo that it is nil.
-
- 12 Jul, 2014 2 commits
-
-
Eli Zaretskii authored
src/xdisp.c (display_line): Don't call FETCH_BYTE with argument less than 1.
-
Eli Zaretskii authored
etc/PROBLEMS: Mention the problem from bug #17950. src/w32fns.c (Fx_file_dialog): Mention in the doc string the behavior on Windows 7 and later when the function is repeatedly invoked with the same value of DIR. src/xfns.c (Fx_file_dialog) [USE_MOTIF, USE_GTK]: Update the doc string to match the one in w32fns.c.
-
- 08 Jul, 2014 1 commit
-
-
Eli Zaretskii authored
src/xdisp.c (move_it_to): Adjust calculation of line_start_x to what x_produce_glyphs does when it generates a stretch glyph that represents a TAB.
-
- 05 Jul, 2014 4 commits
-
-
Eli Zaretskii authored
src/xdisp.c (pos_visible_p): Fix condition for finding CHARPOS by the first call to move_it_to.
-
Eli Zaretskii authored
src/xdisp.c (pos_visible_p): If CHARPOS is at beginning of window, and there is a display property at that position, don't call move_it_to to move to a position before window start.
-
Eli Zaretskii authored
src/xdisp.c (pos_visible_p): If CHARPOS is at BEGV, and there is a display property at BEGV, don't call move_it_to to move to a position before BEGV.
-
Stefan Monnier authored
if !open_paren_in_column_0_is_defun_start. (back_comment): If find_defun_start was pessimistic, use the scan_sexps_forward result to improve the cache. Fixes: debbugs:16526
-
- 04 Jul, 2014 3 commits
-
-
Jan Djärv authored
* xfns.c (create_frame_xic): Pass XNStatusAttributes to XCreateIC only if xic_style calls for it. This change allows Emacs to work with ibus. Also, don't leak resources if create_frame_xic fails, and stop caching xic_style across different displays. (supported_xim_styles): Make const. (best_xim_style): Remove first parameter: it's always just supported_xim_styles. Change to look at supported_xim_styles directly. Fixes: debbugs:17928
-
Eli Zaretskii authored
src/xdisp.c (redisplay_window): If redisplay of a window ends up with point in a partially visible line at end of the window, make sure the amended position of point actually has smaller Y coordinate; if not, give up and scroll the display. src/window.c (window_scroll_pixel_based): When point ends up at the last fully visible line, don't let move_it_to stop at the left edge of the line and dupe us into thinking point is inside the scroll margin.
-
Eli Zaretskii authored
-
- 01 Jul, 2014 4 commits
-
-
Eli Zaretskii authored
src/dispnew.c (prepare_desired_row): Accept 2 additional arguments: the window whose glyph row is being prepared and a flag whether it is for mode/header line. Make sure the glyph row's marginal areas are in sync with what the window wants. src/xdisp.c (display_line, display_mode_line): Call prepare_desired_row with additional arguments, as appropriate. src/dispextern.h (prepare_desired_row): Adjust prototype. src/window.h: Improve commentary of the marginal columns.
-
Dmitry Antipov authored
-
Dmitry Antipov authored
caused by xw_popup_dialog in daemon mode (Bug#17891).
-
Dmitry Antipov authored
-
- 30 Jun, 2014 1 commit
-
-
Eli Zaretskii authored
src/frame.c (do_switch_frame): When switching to another TTY frame, make sure FrameCols and FrameRows are in sync with the new frame's data.
-
- 28 Jun, 2014 1 commit
-
-
Andreas Schwab authored
* coding.c (encode_coding_utf_8): Correctly count produced_chars also in unibyte case.
-
- 25 Jun, 2014 2 commits
-
-
Glenn Morris authored
-
Glenn Morris authored
Fixes: debbugs:17846
-
- 21 Jun, 2014 3 commits
-
-
Eli Zaretskii authored
src/indent.c (Fvertical_motion): Move to the goal column, if any, with a single call to move_it_in_display_line, not in two calls. Doing this with two calls causes move_it_in_display_line apply the line-prefix handling twice instead of just once.
-
Eli Zaretskii authored
src/indent.c (Fvertical_motion): Doc fix. doc/lispref/positions.texi (Screen Lines): Clarify how columns are counted by vertical-motion.
-
Paul Eggert authored
* fileio.c (Ffile_acl): Port to OS X, where acl_get_file (..., ACL_TYPE_ACCESS) doesn't work. Fixes: debbugs:17810
-
- 19 Jun, 2014 2 commits
-
-
Stefan Monnier authored
before checking key-translation-map. Fixes: debbugs:17659
-
Dmitry Antipov authored
crash GC (Bug#17771).
-
- 18 Jun, 2014 1 commit
-
-
Eli Zaretskii authored
src/image.c [5 < GIFLIB_MAJOR + (1 <= GIFLIB_MINOR)]: Declare the prototype of DGifCloseFile as appropriate for older and newer versions of giflib. (gif_close): New function, encapsulates the differences in the calling sequence of DGifCloseFile before v5.1.0 and after it. (gif_load): Call gif_close instead of DGifCloseFile. Divulge the error string where appropriate. lisp/term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0 and later.
-