aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | * syntax.c (back_comment): Use more-natural location for label.Paul Eggert2014-07-091-0/+2
| |
* | * font.c, font.h (font_unparse_fcname): Now static.Paul Eggert2014-07-091-0/+5
| | | | | | | | Define only if HAVE_XFT || HAVE_FREETYPE || HAVE_NS.
* | * coding.c (ALLOC_CONVERSION_WORK_AREA): Prefer ptrdiff_t to int andDmitry Antipov2014-07-091-0/+3
| | | | | | | | so avoid integer overflow if decoded gap size exceeds INT_MAX bytes.
* | Next minor cleanup of font subsystem.Dmitry Antipov2014-07-091-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * font.h (enum font_property_index): Remove FONT_ENTITY_INDEX (no users) and FONT_FORMAT_INDEX (set by a few font drivers but never really used). (FONT_ENTITY_NOT_LOADABLE, FONT_ENTITY_SET_NOT_LOADABLE): Remove; unused. * ftfont.h (ftfont_font_format): Remove prototype. * ftfont.c (ftfont_font_format): Remove; now unused. (ftfont_open): * nsfont.m (nsfont_open): * w32font.c (w32font_open_internal): * w32uniscribe.c (uniscribe_open): * xfont.c (xfont_open): * xftfont.c (xftfont_open): All users changed.
* | Merge from emacs-24; up to 2014-06-19T14:03:45Z!monnier@iro.umontreal.caGlenn Morris2014-07-081-0/+34
|\ \ | |/
| * Fix bug #17969 with vertical-motion through continuation lines with TABs.Eli Zaretskii2014-07-081-0/+6
| | | | | | | | | | | | 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.
| * Fix bug #17944 with pos-visible-in-window-p when there's image at window start.Eli Zaretskii2014-07-051-0/+2
| | | | | | | | | | src/xdisp.c (pos_visible_p): Fix condition for finding CHARPOS by the first call to move_it_to.
| * A better fix for bug #17942.Eli Zaretskii2014-07-051-3/+3
| | | | | | | | | | | | 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.
| * Fix bug #17942 with pos-visible-in-window-p and image and BOB.Eli Zaretskii2014-07-051-0/+6
| | | | | | | | | | | | 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.
| * * src/syntax.c (find_defun_start): Try the cache evenStefan Monnier2014-07-041-2/+8
| | | | | | | | | | | | | | | | 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
| * Backport from trunk.Jan Djärv2014-07-041-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * Fix bug #17905 with display of point in partially visible line at end of window.Eli Zaretskii2014-07-041-0/+10
| | | | | | | | | | | | | | | | | | | | | | 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.
| * src/w32.c (network_interface_info): Make sure the argument is a Lisp string.Eli Zaretskii2014-07-041-0/+5
| |
* | * process.c (read_and_dispose_of_process_output): Fix typoPaul Eggert2014-07-081-0/+5
| | | | | | | | in previous patch: we want nonnegative fds, not nonzero fds.
* | * font.c (font_build_object) [HAVE_XFT || HAVE_FREETYPE || HAVE_NS]:Dmitry Antipov2014-07-081-0/+9
| | | | | | | | | | | | | | | | | | | | New function, with an intention to avoid code duplication between a few font drivers. * font.h (font_build_object) [HAVE_XFT || HAVE_FREETYPE || HAVE_NS]: Add prototype. * ftfont.c (ftfont_open): * macfont.m (macfont_open): * xftfont.c (xftfont_open): Use it.
* | * nsfont.m (nsfont_close): Free glyphs and metrics arrays as well.Dmitry Antipov2014-07-081-0/+1
| |
* | * chartab.c (char_table_translate): Move to...Dmitry Antipov2014-07-081-0/+8
| | | | | | | | | | | | | | * character.h (char_table_translate): ... inline function here. Avoid Faref and assume that args are always valid. This helps to speedup search, which is especially important for a huge buffers. * lisp.h (char_table_translate): Remove prototype.
* | * process.c: Add sanity checks for file descriptors.Paul Eggert2014-07-071-0/+9
| | | | | | | | | | | | | | | | | | | | (wait_reading_process_output, Fprocess_filter_multibyte_p): Check that infd is nonnegative before using it as an fd. (read_and_dispose_of_process_output, Fprocess_send_eof): Likewise, for outfd. (wait_reading_process_output): Omit unnecessary check of infd. Fixes: debbugs:17844
* | Minor fixups related to usage of the 'long' type.Paul Eggert2014-07-071-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnutls.c (emacs_gnutls_handshake): * xfaces.c (dump_realized_face): Work even if 'long' is narrower than 'void *'. * termcap.c (scan_file): * xselect.c (x_decline_selection_request) (x_reply_selection_request, x_get_window_property): * xterm.c (x_set_frame_alpha): Remove unnecessary 'L' suffixes of integer constants. * xfns.c (hack_wm_protocols): * xselect.c (x_fill_property_data): * xterm.c (x_set_offset, x_set_window_size_1, x_make_frame_invisible): Remove unnecessary casts to 'long'. (set_machine_and_pid_properties): Don't assume pid_t fits in 32 bits.
* | Minor ImageMagick safety fixes.Paul Eggert2014-07-071-0/+9
| | | | | | | | | | | | | | | | * image.c (imagemagick_compute_animated_image): Remove useless assignment to local. Avoid problems if dest_width is 0. (imagemagick_load_image): Use int for pixel counts that can't exceed INT_MAX. Avoid problem if PixelGetNextIteratorRow returns a row width greater than the image width (or greater than LONG_MAX!).
* | merge trunkKenichi Handa2014-07-051-3/+94
|\ \
| * | * font.h (struct font_driver): Remove get_outline and free_outline;Dmitry Antipov2014-07-041-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not used by any font driver. * ftfont.c (ftfont_driver): * macfont.m (macfont_driver): * nsfont.m (nsfont_driver): * w32font.c (w32font_driver): * w32uniscribe.c (uniscribe_font_driver): * xfont.c (xfont_driver): Related users changed. * xselect.c (x_get_window_property): Use convenient xmalloc. Call to xfree only if some data was really allocated.
| * | On MS-Windows, display busy cursor on all GUI frames.Dmitry Antipov2014-07-031-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is similar to what we have on X. Quickly tested by Dani Moncayo. * w32fns.c (toplevel): Remove hourglass_hwnd; no longer used. (w32_show_hourglass, w32_hide_hourglass, w32_note_current_window): Likewise. (hide_hourglass, show_hourglass): Redesign to match X counterparts. * xdisp.c (start_hourglass): Remove Windows-specific bits.
| * | Use convenient alists to manage per-frame font driver-specific data.Dmitry Antipov2014-07-031-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * frame.h (struct frame): Rename font_data_list to... [HAVE_XFT || HAVE_FREETYPE]: ... font_data, which is a Lisp_Object now. * font.h (struct font_data_list): Remove; no longer need a special data type. (font_put_frame_data, font_get_frame_data) [HAVE_XFT || HAVE_FREETYPE]: Adjust prototypes. * font.c (font_put_frame_data, font_get_frame_data) [HAVE_XFT || HAVE_FREETYPE]: Prefer alist functions to ad-hoc list management. * xftfont.c (xftfont_get_xft_draw, xftfont_end_for_frame): Related users changed. * ftxfont.c (ftxfont_get_gcs, ftxfont_end_for_frame): Likewise. Prefer convenient xmalloc and xfree.
| * | Merge from emacs-24; up to 2014-06-15T04:52:34Z!eli@barzilay.orgGlenn Morris2014-07-021-0/+25
| |\ \ | | |/
| | * Fix bug #17892 with mode/header line and display margins.Eli Zaretskii2014-07-011-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * Fix ChangeLog entryDmitry Antipov2014-07-011-1/+1
| | |
| | * * menu.c (Fx_popup_dialog): Set Vmenu_updating_frame to avoid crashDmitry Antipov2014-07-011-0/+2
| | | | | | | | | | | | caused by xw_popup_dialog in daemon mode (Bug#17891).
| | * * xfaces.c (init_frame_faces): Always realize basic faces (#Bug17889).Dmitry Antipov2014-07-011-0/+4
| | |
| | * Fix bug #17875 with changing TTY frame size, then selecting new frame.Eli Zaretskii2014-06-301-0/+6
| | | | | | | | | | | | | | | | | | 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.
| * | * lisp.h (toplevel): Add compile-time assert to verify suitable member layoutDmitry Antipov2014-07-021-0/+2
| | | | | | | | | | | | in Lisp_Sub_Char_Table.
| * | * print.c (print_object): Adjust to match new layout of sub char-tableDmitry Antipov2014-07-021-0/+1
| | | | | | | | | | | | (Bug#17898).
| * | Shrink Lisp_Sub_Char_Table by preferring C integers to Lisp_Objects.Dmitry Antipov2014-07-021-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp.h (struct Lisp_Sub_Char_Table): Use C integers for depth and min_char slots. Adjust comment. (enum char_table_specials): Rename from CHAR_TABLE_STANDARD_SLOTS. Add SUB_CHAR_TABLE_OFFSET member. (make_uninit_sub_char_table): New function. * alloc.c (mark_char_table): Add extra argument to denote char table subtype. Adjust to match new layout of sub char-table. (mark_object): Always mark sub char-tables with mark_char_table. * chartab.c (make_sub_char_table, copy_sub_char_table) (sub_char_table_ref, sub_char_table_ref_and_range, sub_char_table_set) (sub_char_table_set_range, optimize_sub_char_table, map_sub_char_table) (map_sub_char_table_for_charset, uniprop_table_uncompress): All related users changed. * lread.c (read1): Adjust to match new layout of sub char-table.
| * | * doc/lispref/keymaps.texi (Key Lookup): Remove mention of indirect entries.Stefan Monnier2014-07-011-2/+7
| | | | | | | | | | | | | | | | | | | | | (Scanning Keymaps): Reword the `noindirect' argument. * src/keymap.c (get_keyelt): Simplify. (copy_keymap_item): Remove left-over code for when we had key-shortcut caches.
* | | merge trunkKenichi Handa2014-07-021-0/+45
|\ \ \ | |/ /
| * | Fix use of deallocated memory.Jan Djärv2014-06-301-0/+7
| | | | | | | | | | | | | | | | | | | | | * nsterm.h (EmacsScroller): Remove dealloc. * nsterm.m (judge): EmacsScroller: Move dealloc code here. (dealloc): Remove for EmacsScroller.
| * | Fix bug #17881 with infloop in decoding emacs-mule encoded text.Eli Zaretskii2014-06-301-0/+4
| | | | | | | | | | | | src/coding.c (MIN_CHARBUF_SIZE): Enlarge to 32.
| * | Remove unnecessary redisplays in NS port.Jan Djärv2014-06-301-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * nsmenu.m (update_frame_tool_bar): Set wait_for_tool_bar to NO when setNeedsDisplay is called so we don't trigger redisplay for every tool bar update. * nsterm.m (any_help_event_p): New variable. (mouseMoved:): Set any_help_event_p to YES if help event is generated. Remove else with empty help event that triggered redisplay for every mouse move. (windowDidResignKey:): If any_help_event_p, generate empty help event.
| * | * xfns.c (Qsuppress_icon): Remove; no real users.Dmitry Antipov2014-06-291-0/+7
| | | | | | | | | | | | | | | | | | (syms_of_xfns): Don't DEFSYM it. Remove ancient comments. * w32fns.c (Qsuppress_icon): Remove, for the same reason. (syms_of_w32fns): Don't DEFSYM it.
| * | * src/Makefile.in (ns-app): Mark as PHONY.Glenn Morris2014-06-281-0/+4
| | |
| * | * src/Makefile.in ($(lwlibdir)/liblw.a, $(oldXMenudir)/libXMenu11.a):Glenn Morris2014-06-281-4/+2
| | | | | | | | | | | | Fully revert earlier dumbness.
| * | Small cleanup for src/Makefile liblw.a, libXMenu11.a rulesGlenn Morris2014-06-281-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | * src/Makefile.in ($(lwlibdir)/liblw.a, $(oldXMenudir)/libXMenu11.a): Remove prerequisites, sub-makes will figure it out. (FORCE): Remove. (mostlyclean): There are no libXMenu11.a, liblw.a in this directory. * oldXMenu/deps.mk (${OBJS}): Depend on ../src/config.h.
| * | Merge from emacs-24; up to 2014-06-12T14:55:48Z!monnier@iro.umontreal.caGlenn Morris2014-06-281-0/+5
| |\ \ | | |/
| | * Fixes: debbugs:17865Andreas Schwab2014-06-281-0/+5
| | | | | | | | | | | | | | | * coding.c (encode_coding_utf_8): Correctly count produced_chars also in unibyte case.
| | * ChangeLog fixGlenn Morris2014-06-251-1/+1
| | |
| | * * src/puresize.h (BASE_PURESIZE): Bump by another 1K.Glenn Morris2014-06-251-0/+4
| | | | | | | | | | | | Fixes: debbugs:17846
* | | * coding.c (MIN_CHARBUF_SIZE): Delete it.Kenichi Handa2014-07-021-0/+6
|/ / | | | | | | | | (MAX_CHARBUF_EXTRA_SIZE): New macro. (ALLOC_CONVERSION_WORK_AREA): Use MAX_CHARBUF_EXTRA_SIZE.
* | * coding.c (MAX_CHARBUF_SIZE): Renamed from CHARBUF_SIZE.Kenichi Handa2014-06-281-0/+6
| | | | | | | | | | (MIN_CHARBUF_SIZE): New macro. (ALLOC_CONVERSION_WORK_AREA): New arg SIZE. Callers changed.
* | Replace BOOTSTRAPEMACS with an order-only dependence on bootstrap-emacsGlenn Morris2014-06-261-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (src): No more need to pass BOOTSTRAPEMACS. * src/Makefile.in (.el.elc): Replace suffix rule with pattern rule. (%.elc): New pattern rule, with order-only prerequisite. ($(lisp)): No more need to depend on BOOTSTRAPEMACS. ($(lispsource)/loaddefs.el): Use an order-only prerequisite in place of BOOTSTRAPEMACS. Fixes: debbugs:2151
* | * src/fns.c (Fcompare_strings): Use FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE.Dmitry Antipov2014-06-261-0/+4
| | | | | | | | | | | | * lisp/calc/calc-alg.el (math-beforep): * lisp/progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style): Simplify because string-lessp can accept symbols as args.