+2014-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * xterm.c (x_draw_stretch_glyph_string): Reset clipping.
+ (Bug#16932)
+
+2014-03-04 Michal Nazarewicz <mina86@mina86.com>
+
+ * cmds.c (delete-char): Update docstring pointing out that the
+ function ignores `delete-active-region' and `overwrite-mode'.
+
+2014-03-03 Eli Zaretskii <eliz@gnu.org>
+
+ * font.c (Fframe_font_cache): Fix last change. (Bug#16930)
+
+ * gmalloc.c (aligned_alloc): Fix adjustment of size of the
+ allocated buffer due to alignment.
+ (freehook): If the block to be freed was allocated by
+ 'aligned_alloc', find its real pointer before calling 'free'.
+ (Bug#16901)
+ (mabort) [emacs]: Call 'emacs_abort', not 'abort', to provide a
+ backtrace.
+
+2014-03-03 Dmitry Antipov <dmantipov@yandex.ru>
+
+ * font.c (toplevel): Adjust comment about font cache layout.
+ (font_clear_cache): Fix to match real font cache layout.
+ Suggested by <namespace_collision@yahoo.com> in Bug#16069.
+ (Fframe_font_cache) [FONT_DEBUG]: New function.
+ (syms_of_font) [FONT_DEBUG]: Defsubr it.
+
+ Avoid crashes when X fonts are erroneously freed on reused X
+ 'Display *' connection data (Bug#16069). Note that X font
+ resources still may be leaked, but currently there is no way
+ to completely avoid it.
+ * xterm.h (struct x_display_info): New member x_id. Add comments.
+ * xterm.c (x_display_id): New variable.
+ (x_term_init): Assign identifier to each opened X connection.
+ * xfont.c (struct xfont): New member x_display_id.
+ (xfont_open): Initialize it with frame's display id.
+ (xfont_close): Check whether font's display id matches the one
+ recorded for the given display. Adjust comment.
+ * xftfont.c (struct xftfont_info):
+ (xftfont_open, xftfont_close): Exactly as above with xfont stuff.
+
+2014-03-01 Martin Rudalics <rudalics@gmx.at>
+
+ Consider Vother_window_scroll_buffer valid iff it's a live buffer.
+ * window.c (Fother_window_for_scrolling): Don't try to scroll a
+ killed Vother_window_scroll_buffer.
+ (Vother_window_scroll_buffer): Fix doc-string accordingly.
+
+2014-03-01 Eli Zaretskii <eliz@gnu.org>
+
+ * fileio.c (Fexpand_file_name) [WINDOWSNT]: Don't treat file names
+ that start with more than 2 slashes as UNCs. (Bug#16751)
+
+2014-02-28 Paul Eggert <eggert@penguin.cs.ucla.edu>
+
+ Fix a few crashes and leaks when cloning C strings.
+ * alloc.c, lisp.h (dupstring): New function.
+ * gtkutil.c (xg_get_font):
+ * term.c (tty_default_color_capabilities):
+ * xsettings.c (store_monospaced_changed)
+ (store_font_name_changed, parse_settings)
+ (read_and_apply_settings, init_gsettings, init_gconf): Use it.
+ This avoids some unlikely crashes due to accessing freed storage,
+ and avoids some minor memory leaks in the more-typical case.
+
+2014-02-28 Martin Rudalics <rudalics@gmx.at>
+
+ * xdisp.c (note_mode_line_or_margin_highlight): Don't show drag
+ cursor when modeline can't be dragged (Bug#16647).
+
+2014-02-28 Glenn Morris <rgm@gnu.org>
+
+ * doc.c (Fsnarf_documentation): Snarf not-yet-bound variables
+ from custom-delayed-init-variables. (Bug#11565)
+
+2014-02-27 Martin Rudalics <rudalics@gmx.at>
+
+ More fixes for mouse glyph calculations (Bug#16647).
+ * window.c (coordinates_in_window): In intersection of
+ horizontal and vertical window dividers prefer the horizontal
+ one. Add some extra parens to last fix.
+ (window_relative_x_coord): Return x-coordinate for header and
+ mode line too.
+ * xdisp.c (remember_mouse_glyph): In text area don't extend
+ glyph into mode line to show the vertical drag cursor there
+ immediately. Subdivide mouse glyphs in right fringes to show a
+ horizontal drag cursor as soon as we enter the "grabbable width"
+ portion. Handle vertical border case separately. Do not
+ subdivide window divider areas.
+ (note_mouse_highlight): On bottom divider of bottommost windows
+ show vertical drag cursor only when the minibuffer window can be
+ resized.
+
+2014-02-27 Eli Zaretskii <eliz@gnu.org>
+
+ * xdisp.c (pop_it): Restore the it->face_box_p flag which could be
+ reset by the face of the object just displayed. See also bug#76.
+ (get_next_display_element): If the string came from a display
+ property, examine the box face attribute at it->position, not at
+ it->current.pos, since the latter was not updated yet. (Bug#16870)
+ (handle_face_prop): Improve commentary.
+
+2014-02-27 Michael Albinus <michael.albinus@gmx.de>
+
+ * dbusbind.c (Fdbus__init_bus, Qdbus__init_bus, Sdbus__init_bus):
+ Rename from Fdbus_init_bus_1, Qdbus_init_bus_1, Sdbus_init_bus_1.
+
+2014-02-26 Martin Rudalics <rudalics@gmx.at>
+
+ Fixes around Bug#16647.
+ * xdisp.c (remember_mouse_glyph): Handle ON_RIGHT_DIVIDER and
+ ON_BOTTOM_DIVIDER cases.
+ * window.c (coordinates_in_window): Return ON_VERTICAL_BORDER
+ only if the window has no right divider.
+ (Fcoordinates_in_window_p): Fix doc-string.
+
+2014-02-25 Juanma Barranquero <lekktu@gmail.com>
+
+ * lread.c (Funintern): Fix doc to match advertised calling convention.
+
+2014-02-24 Daniel Colascione <dancol@dancol.org>
+
+ * keyboard.c (read_char): Close race that resulted in lost events.
+
+2014-02-22 Glenn Morris <rgm@gnu.org>
+
+ * frame.c (frame-alpha-lower-limit, frame-resize-pixelwise):
+ * window.c (window-resize-pixelwise): Doc fixes.
+
+ * process.c (Finternal_default_process_filter)
+ (Finternal_default_process_sentinel): Doc tweaks.
+
+2014-02-21 Glenn Morris <rgm@gnu.org>
+
+ * process.c (Fprocess_buffer, Faccept_process_output)
+ (Finternal_default_process_filter, Finternal_default_process_sentinel):
+ Doc fixes.
+
+2014-02-21 Martin Rudalics <rudalics@gmx.at>
+
+ * window.c (Fwindow_scroll_bar_width): New function.
+
+2014-02-21 Paul Eggert <eggert@cs.ucla.edu>
+
+ Pacify GCC when configuring with --enable-gcc-warnings.
+ * xdisp.c (move_it_in_display_line_to) [lint]:
+ Initialize recently-added local.
+
+2014-02-21 Daniel Colascione <dancol@dancol.org>
+
+ * dbusbind.c: Rename dbus-init-bus to dbus-init-bus-1.
+
+2014-02-20 Eli Zaretskii <eliz@gnu.org>
+
+ * xdisp.c (init_iterator): Don't dereference a bogus face
+ pointer. (Bug#16819)
+ (try_cursor_movement): Don't use cursor position if
+ set_cursor_from_row failed to compute it. This avoids assertion
+ violations in MATRIX_ROW.
+ (move_it_in_display_line_to): Save the iterator state in ppos_it
+ only once per call. Reimplement the method used to return to the
+ best candidate position if all the positions found in display line
+ are beyond TO_CHARPOS. This cuts down the number of calls to
+ bidi_shelve_cache, which moves a lot of stuff when lines are long
+ and include bidirectional text. (Bug#15555)
+
+2014-02-20 Glenn Morris <rgm@gnu.org>
+
+ * data.c (Fdefalias): Doc fix.
+
+2014-02-19 Eli Zaretskii <eliz@gnu.org>
+
+ * xdisp.c (display_line): Fix horizontal scrolling of large images
+ when fringes are turned off. This comes at a price of not
+ displaying the truncation/continuation glyphs in this case.
+ (Bug#16806)
+
+ * image.c (x_create_x_image_and_pixmap) [HAVE_NTGUI]: If
+ CreateDIBSection returns an error indication, zero out *ximg after
+ destroying the image. This avoids crashes in memory allocations
+ due to the fact that some of the callers also call
+ x_destroy_x_image, which will attempt to free an already free'd
+ block of memory.
+
+2014-02-18 Martin Rudalics <rudalics@gmx.at>
+
+ * widget.c (update_various_frame_slots): Don't set
+ FRAME_PIXEL_HEIGHT and FRAME_PIXEL_WIDTH here (Bug#16736).
+
+2014-02-18 Michael Albinus <michael.albinus@gmx.de>
+
+ * dbusbind.c (xd_close_bus): Apply proper check on busobj.
+
+2014-02-17 Paul Eggert <eggert@cs.ucla.edu>
+
+ temacs --daemon fix (Bug#16599).
+ * emacs.c (main): Initialize daemon_pipe[1] here ...
+ (syms_of_emacs): ... instead of here.
+
+2014-02-16 Anders Lindgern <andlind@gmail.com>
+
+ * nsterm.m (keyDown:): Check for normal key even if NSNumericPadKeyMask
+ is set (Bug#16505).
+
+2014-02-16 Daniel Colascione <dancol@dancol.org>
+
+ * dbusbind.c (xd_lisp_dbus_to_dbus): New function.
+ (xd_get_connection_address): Use it.
+ (xd_close_bus): Use xd_lisp_dbus_to_dbus to instead of
+ xd_get_connection_address because the latter signals if the bus
+ we're trying to close is already disconnected.
+
+2014-02-13 Eli Zaretskii <eliz@gnu.org>
+
+ * w32proc.c (start_timer_thread): Pass a non-NULL pointer as last
+ argument to CreateThread. This avoids segfaults on Windows 9X.
+ Reported by oslsachem <oslsachem@gmail.com>.
+
+2014-02-13 Paul Eggert <eggert@cs.ucla.edu>
+
+ Fix subspace record bug on HP-UX 10.20 (Bug#16717).
+ * unexhp9k800.c (unexec_error): New function, to simplify the code.
+ (check_lseek): New function, to report lseek errors.
+ (save_data_space, update_file_ptrs, read_header, write_header)
+ (copy_file, copy_rest, unexec): Use these news functions.
+ (update_file_ptrs): Don't assume wraparound behavior when
+ converting a large size_t value to off_t.
+
+2014-02-13 Dmitry Antipov <dmantipov@yandex.ru>
+
+ * composite.c (fill_gstring_header): Pass positions as C integers
+ and move parameters checking to...
+ (Fcomposition_get_gstring): ...this function. Handle case when
+ buffer positions are in reversed order and avoid crash (Bug#16739).
+ Adjust docstring.
+ * buffer.c (validate_region): Mention current buffer in error message.
+
+2014-02-12 Marcus Karlsson <mk@acc.umu.se> (tiny change)
+
+ * image.c (pbm_load): Set to NO_PIXMAP on error (Bug#16683).
+
+2014-02-12 Lars Ingebrigtsen <larsi@gnus.org>
+
+ * buffer.c (syms_of_buffer): Doc clarification (bug#9981).
+
+2014-02-11 Glenn Morris <rgm@gnu.org>
+
+ * nsfns.m (ns_display_info_for_name, Fx_open_connection):
+ Replace refs to "OpenStep" in messages.
+
+2014-02-10 Paul Eggert <eggert@cs.ucla.edu>
+
+ Avoid "." at end of error diagnostics.
+ * cmds.c (Fself_insert_command): Reword and avoid "." at end.
+ * font.c (Ffont_at):
+ * nsfns.m (ns_display_info_for_name):
+ * nsselect.m (Fx_own_selection_internal):
+ * nsterm.m (performDragOperation:):
+ Remove "." from end of diagnostic.
+
+2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
+
+ * fns.c (Fmaphash): Say what `maphash' returns, since it may be
+ unintuitive (bug#15824).
+ (Fyes_or_no_p): Doc fix (bug#15456).
+
+2014-02-10 Dmitry Antipov <dmantipov@yandex.ru>
+
+ * cmds.c (Fself_insert_command): Respect the width of EMACS_INT
+ and avoid warning.
+ * eval.c (call_debugger): When exiting the debugger, do not allow
+ max_specpdl_size less than actual binding depth (Bug#16603).
+ (syms_of_eval): Adjust docstring.
+
+2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
+
+ * cmds.c (Fself_insert_command): Output a clearer error message on
+ negative repetitions (bug#9476).
+
+ * macros.c (Fexecute_kbd_macro): Doc fix (bug#14206).
+
+2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
+
+ * syntax.c (Fskip_syntax_backward): Doc clarification (bug#15115).
+
+ * minibuf.c (Fread_string): Doc clarification (bug#15422).
+
+ * buffer.c (Fmake_overlay): Doc clarification (bug#15489).
+
+2014-02-08 Juanma Barranquero <lekktu@gmail.com>
+
+ * keyboard.c (Frecursive_edit): Fix typo in docstring.
+
+2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
+
+ * xdisp.c (syms_of_xdisp): Doc clarification (bug#15657).
+
+ * keyboard.c (Frecursive_edit): Say more precicely how throwing
+ `exit' works (bug#15865).
+
+2014-02-07 Martin Rudalics <rudalics@gmx.at>
+
+ Constrain window box/body sizes and margin widths (Bug#16649).
+ * xdisp.c (window_box_width): Don't return less than zero.
+ (window_box_left_offset, window_box_right_offset): Don't return
+ more than the window's pixel width.
+ * window.c (window_body_height, window_body_width): Don't return
+ negative value.
+ (window_resize_apply): Adjust margin width, if necessary.
+
+2014-02-07 Glenn Morris <rgm@gnu.org>
+
+ * nsterm.m (syms_of_nsterm): Doc fix.
+
+2014-02-06 Eli Zaretskii <eliz@gnu.org>
+
+ * w32.c (pMultiByteToWideChar, pWideCharToMultiByte):
+ New variables: pointers through which to call the respective APIs.
+ (filename_to_utf16, filename_from_utf16, filename_to_ansi)
+ (filename_from_ansi, sys_link, check_windows_init_file):
+ Call MultiByteToWideChar and WideCharToMultiByte through pointers.
+ This is required on Windows 9X, where we dynamically load
+ UNICOWS.DLL which has their non-stub implementations.
+ (maybe_load_unicows_dll): Assign addresses to these 2 function
+ pointers after loading UNICOWS.DLL.
+
+ * w32fns.c (Fx_file_dialog, Fw32_shell_execute) [!CYGWIN]: Call
+ MultiByteToWideChar and WideCharToMultiByte through function
+ pointers.
+
+ * w32.h (pMultiByteToWideChar, pWideCharToMultiByte):
+ New declarations.
+
+2014-02-06 Jan Djärv <jan.h.d@swipnet.se>
+
+ * nsterm.m (toggleFullScreen:): Hide menubar on secondary monitor
+ for OSX >= 10.9 if separate spaces are used.
+ (toggleFullScreen:): Use screen of w instead of fw (Bug#16659).
+
+2014-02-06 Glenn Morris <rgm@gnu.org>
+
+ * buffer.c (cache-long-scans): Doc fix.
+
+2014-02-05 Eli Zaretskii <eliz@gnu.org>
+
+ * w32fns.c (Fw32_shell_execute): Doc fix.
+
+2014-02-05 Bastien Guerry <bzg@gnu.org>
+
+ * syntax.c (Fforward_word): Call Fconstrain_to_field with
+ ESCAPE-FROM-EDGE set to `nil' (Bug#16453).
+
+2014-02-05 Martin Rudalics <rudalics@gmx.at>
+
+ * fringe.c (draw_fringe_bitmap_1): Don't draw a fringe if it's
+ outside the window (Bug#16649).
+
+ * xdisp.c (note_mouse_highlight): When entering a margin area show
+ a non-text cursor (Bug#16647).
+
+2014-02-04 Paul Eggert <eggert@cs.ucla.edu>
+
+ * menu.c (Fx_popup_dialog): Remove label 'dialog_via_menu'.
+ It prompted a compile-time diagnostic on GNU/Linux.
+ Simplify to remove the need for the label.
+
+2014-02-04 Eli Zaretskii <eliz@gnu.org>
+
+ * w32menu.c (w32_popup_dialog): Don't condition the whole function
+ on HAVE_DIALOGS. If the dialog is "simple", pop up a message box
+ to show it; otherwise return 'unsupported--w32-dialog' to signal
+ to the caller that emulation with menus is necessary.
+ This resurrects code inadvertently deleted by the 2013-10-08 commit.
+ (Bug#16636)
+ (syms_of_w32menu): DEFSYM Qunsupported__w32_dialog.
+
+ * w32term.h (w32_popup_dialog): Prototype is no longer conditioned
+ by HAVE_DIALOGS.
+
+ * menu.c (Fx_popup_dialog): Don't condition the call to
+ w32_popup_dialog on HAVE_DIALOGS. If w32_popup_dialog returns a
+ special symbol 'unsupported--w32-dialog', emulate the dialog with
+ a menu by calling x-popup-menu.
+
+ * menu.h (Qunsupported__w32_dialog): New extern variable.
+
+2014-02-04 Michael Albinus <michael.albinus@gmx.de>
+
+ * keyboard.c (kbd_buffer_get_event): Read file notification events
+ also in batch mode.
+
+ * xgselect.c (xg_select): Read glib events in any case, even if
+ there are no file descriptors to watch for. (Bug#16519)
+
+2014-02-03 Martin Rudalics <rudalics@gmx.at>
+
+ * dispextern.h (face_id): Add WINDOW_DIVIDER_FIRST_PIXEL_FACE_ID
+ and WINDOW_DIVIDER_LAST_PIXEL_FACE_ID.
+ * w32term.c (w32_draw_window_divider): Handle first and last
+ pixels specially.
+ * w32term.h (w32_fill_area_abs): New function.
+ * xdisp.c (x_draw_right_divider): Don't draw over bottom
+ divider.
+ * xfaces.c (realize_basic_faces): Handle new face ids.
+ * xfns.c (Fx_create_frame): Call x_default_parameter for right
+ and bottom divider width.
+ * xterm.c (x_draw_window_divider): Handle first and last pixels
+ specially.
+
+2014-02-03 Dmitry Antipov <dmantipov@yandex.ru>
+
+ * print.c (Fexternal_debugging_output): Add cast to pacify
+ --enable-gcc-warnings.
+ * eval.c (call_debugger): Grow specpdl if the debugger was
+ entered due to specpdl overflow (Bug#16603) and allow more
+ specpdl space for the debugger itself.
+
+2014-02-02 Martin Rudalics <rudalics@gmx.at>
+
+ * w32fns.c (Fx_create_frame): Process frame alpha earlier.
+ (Bug#16619)
+
+2014-02-01 Eli Zaretskii <eliz@gnu.org>
+
+ * w32fns.c (Ffile_system_info): Use WINAPI in the function
+ pointers that get the address of GetDiskFreeSpaceEx. (Bug#16615)
+
+ * print.c (Fexternal_debugging_output): If the argument character
+ is non-ASCII, encode it with the current locale's encoding before
+ writing the result to the terminal. (Bug#16448)
+
+ * w32fns.c (Fw32_shell_execute): Don't call file-exists-p for
+ DOCUMENT that is a "remote" file name, i.e. a file-handler exists
+ for it. (Bug#16558)
+
+2014-01-30 Andreas Schwab <schwab@linux-m68k.org>
+
+ * process.c (create_process): Reset SIGPROF handler in the child.
+ * callproc.c (call_process): Likewise.
+
+2014-01-29 Paul Eggert <eggert@cs.ucla.edu>
+
+ * xmenu.c (create_and_show_popup_menu): Port comment to C89.
+
+2014-01-29 Eli Zaretskii <eliz@gnu.org>
+
+ * .gdbinit (xprintstr, xprintbytestr): Don't use repetition count
+ of zero to print strings, GDB doesn't like it.
+
+ * print.c (print_object): Use FETCH_STRING_CHAR_ADVANCE, not
+ STRING_CHAR_AND_LENGTH, so that if the string is relocated by GC,
+ we still use correct addresses. (Bug#16576)
+
+2014-01-27 K. Handa <handa@gnu.org>
+
+ Fix bug#16286 by a different method from 2014-01-26T00:32:30Z!eggert@cs.ucla.edu,
+ to preserve the code detection behavior of 24.3.
+ * coding.h (struct coding_system): New member detected_utf8_bytes.
+ * coding.c (detect_coding_utf_8): Set coding->detected_utf8_bytes.
+ (decode_coding_gap): Use short cut for UTF-8 file reading only
+ when coding->detected_utf8_bytes equals to coding->src_bytes.
+ * fileio.c (Finsert_file_contents): Cancel the previous change.
+
+2014-01-29 Martin Rudalics <rudalics@gmx.at>
+
+ * w32fns.c (x_set_tool_bar_lines): Don't clear area on frames
+ that are not visible.
+
+2014-01-29 Jan Djärv <jan.h.d@swipnet.se>
+
+ * xmenu.c (create_and_show_popup_menu): Handle case when no key
+ is grabbed (Bug#16565).
+
+2014-01-28 Martin Rudalics <rudalics@gmx.at>
+
+ * xdisp.c (last_max_ascent): Re-remove after erroneously
+ reintroducing it on 2013-11-30 and abolishing Dmitry's removal
+ from 2013-03-29.
+ (move_it_to): Re-remove reference to last_max_ascent.
+ (Fwindow_text_pixel_size): Add iterator's max_ascent and
+ max_descent here instead of calling line_bottom_y.
+ Fix doc-string.
+
2014-01-28 Dmitry Antipov <dmantipov@yandex.ru>
* terminal.c (initial_free_frame_resources): New function.
2014-01-24 Dmitry Antipov <dmantipov@yandex.ru>
- * xdisp.c (reseat_1, Fcurrent_bidi_paragraph_direction): Avoid
- undefined behavior by initializing display property bit of a
+ * xdisp.c (reseat_1, Fcurrent_bidi_paragraph_direction):
+ Avoid undefined behavior by initializing display property bit of a
string processed by the bidirectional iterator. For details, see
<http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01920.html>.
2014-01-13 Daniel Colascione <dancol@dancol.org>
- * textprop.c (Fremove_list_of_text_properties): Correctly
- handle reaching the end of the interval tree. (Bug#15344)
+ * textprop.c (Fremove_list_of_text_properties):
+ Correctly handle reaching the end of the interval tree. (Bug#15344)
2014-01-13 Martin Rudalics <rudalics@gmx.at>
* macfont.m: Include termchar.h.
(CG_SET_FILL_COLOR_WITH_FACE_FOREGROUND)
(CG_SET_FILL_COLOR_WITH_FACE_BACKGROUND)
- (CG_SET_STROKE_COLOR_WITH_FACE_FOREGROUND): Modified from
+ (CG_SET_STROKE_COLOR_WITH_FACE_FOREGROUND): Modify from
*_WITH_GC_* to take face and f as parameters.
(macfont_draw): Check for DRAW_MOUSE_FACE and set face accordingly.
Use *_WITH_FACE_*, and pass face as parameter (Bug#16425).
* gtkutil.h (xg_have_tear_offs): Add frame parameter
* gtkutil.c (xg_have_tear_offs): Count the global menu as a
tear-off.
- (xg_update_menubar,xg_update_menu_item): Call g_object_notify when
+ (xg_update_menubar, xg_update_menu_item): Call g_object_notify when
updating menus; explain why.
(xg_update_frame_menubar): Remove the 23px hack: I can't repro the
problem it's supposed to solve and it interferes with detecting
2014-01-10 Martin Rudalics <rudalics@gmx.at>
Fix handling of internal borders (Bug#16348).
- * dispnew.c (adjust_frame_glyphs_for_window_redisplay): Remove
- internal border width from pixel width of windows.
+ * dispnew.c (adjust_frame_glyphs_for_window_redisplay):
+ Remove internal border width from pixel width of windows.
(change_frame_size_1): Don't return early when frame's pixel
size changes - we still have to record the new sizes in the
frame structure.
* window.c (check_frame_size): Include internal_border_width in
check.
* xdisp.c (Ftool_bar_height): Fix doc-string typo.
- * xfns.c (x_set_menu_bar_lines, x_set_tool_bar_lines): In
- non-toolkit/non-GTK version clear internal border.
+ * xfns.c (x_set_menu_bar_lines, x_set_tool_bar_lines):
+ In non-toolkit/non-GTK version clear internal border.
* xterm.c (x_clear_under_internal_border): New function for
non-toolkit/non-GTK version.
(x_after_update_window_line): In non-toolkit/non-GTK version
don't do that.
- (handle_one_xevent, x_set_window_size): Call
- x_clear_under_internal_border in non-toolkit/non-GTK version.
+ (handle_one_xevent, x_set_window_size):
+ Call x_clear_under_internal_border in non-toolkit/non-GTK version.
* xterm.h (x_clear_under_internal_border): Extern it.
2014-01-07 Paul Eggert <eggert@cs.ucla.edu>
2014-01-02 Martin Rudalics <rudalics@gmx.at>
Further adjust frame/window scrollbar width calculations.
- * window.c (apply_window_adjustment): Set
- windows_or_buffers_changed.
+ * window.c (apply_window_adjustment):
+ Set windows_or_buffers_changed.
(Fwindow_scroll_bars): Return actual scrollbar width.
* xfns.c (x_set_scroll_bar_default_width): Rename wid to unit.
For non-toolkit builds again use 14 as minimum width and set
(globals_of_w32): Initialize them to zero.
(set_named_security_info): Set them to non-zero if the
corresponding API is available.
- (SetNamedSecurityInfoW_Proc, SetNamedSecurityInfoA_Proc): New
- function typedefs.
+ (SetNamedSecurityInfoW_Proc, SetNamedSecurityInfoA_Proc):
+ New function typedefs.
2013-12-31 Martin Rudalics <rudalics@gmx.at>
2013-12-25 Chong Yidong <cyd@gnu.org>
- * keyboard.c (Voverriding_terminal_local_map):
+ * keyboard.c (Voverriding_terminal_local_map)
(Voverriding_local_map): Doc fix.
* keymap.c (Vemulation_mode_map_alists): Doc fix.
2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
* gnutls.c (Fgnutls_boot): Use `Flistp' instead of
- `CHECK_LIST_CONS`.
+ `CHECK_LIST_CONS'.
2013-12-16 Martin Rudalics <rudalics@gmx.at>
(decode_coding_c_string):
* composite.h (COMPOSITION_DECODE_REFS, COMPOSITION_DECODE_RULE):
* conf_post.h (has_attribute):
- * dispextern.h (trace_redisplay_p):
+ * dispextern.h (trace_redisplay_p)
(INC_TEXT_POS, DEC_TEXT_POS, SET_GLYPH_FROM_GLYPH_CODE)
(SET_CHAR_GLYPH, SET_CHAR_GLYPH_FROM_GLYPH)
- (SET_GLYPH_FROM_CHAR_GLYPH):
+ (SET_GLYPH_FROM_CHAR_GLYPH)
(WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P)
(FACE_SUITABLE_FOR_ASCII_CHAR_P, FACE_SUITABLE_FOR_CHAR_P)
(PRODUCE_GLYPHS, reset_mouse_highlight, in_display_vector_p)
(FONT_SET_STYLE, CHECK_FONT, CHECK_FONT_SPEC, CHECK_FONT_ENTITY)
(CHECK_FONT_OBJECT, CHECK_FONT_GET_OBJECT, FONT_ADD_LOG)
(FONT_DEFERRED_LOG):
- * frame.h (FRAME_W32_P, FRAME_MSDOS_P, FRAME_WINDOW_P):
+ * frame.h (FRAME_W32_P, FRAME_MSDOS_P, FRAME_WINDOW_P)
(FRAME_EXTERNAL_TOOL_BAR, FRAME_EXTERNAL_MENU_BAR, FOR_EACH_FRAME)
(FRAME_MOUSE_UPDATE):
* fringe.c (Fdefine_fringe_bitmap):
* conf_post.h: Include <stdbool.h>.
(bool_bf): New type.
* dispextern.h (TRACE, PREPARE_FACE_FOR_DISPLAY):
- * intervals.h (RESET_INTERVAL, COPY_INTERVAL_CACHE, MERGE_INTERVAL_CACHE)
- Surround statement macro with proper 'do { ... } while (false)' brackets.
+ * intervals.h (RESET_INTERVAL, COPY_INTERVAL_CACHE)
+ (MERGE_INTERVAL_CACHE): Surround statement macro with proper
+ 'do { ... } while (false)' brackets.
* dispextern.h (IF_DEBUG): Properly parenthesize and convert to void.
Args must now be expressions; all callers changed.
(SET_MATRIX_ROW_ENABLED_P): Assume 2nd arg is bool.
ANSI and Unicode APIs. Use the latter if w32_unicode_filenames is
non-zero, else the former.
(codepage_for_filenames, filename_to_utf16, )
- (filename_from_utf16, filename_to_ansi, filename_from_ansi): New
- functions.
+ (filename_from_utf16, filename_to_ansi, filename_from_ansi):
+ New functions.
(init_user_info): Allow $HOME and $SHELL to include non-ANSI
characters.
(normalize_filename): Lose the DBCS code, now works on UTF-8.
* xterm.c (x_make_frame_visible): Restore hack which is needed when
input polling is used. This is still meaningful for Cygwin, see
http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00351.html.
- * keyboard.c (poll_for_input_1, input_polling_used): Define
- unconditionally.
+ * keyboard.c (poll_for_input_1, input_polling_used):
+ Define unconditionally.
* dispextern.h (FACE_SUITABLE_FOR_CHAR_P): Remove unused macro.
(FACE_FOR_CHAR): Simplify because face_for_char does the same.
* fontset.c (face_suitable_for_char_p) [0]: Remove unused function.
* msdos.c (x_set_menu_bar_lines): Delete unused function.
- * menu.h (tty_menu_show, menu_item_width): provide prototypes.
+ * menu.h (tty_menu_show, menu_item_width): Provide prototypes.
* menu.c (have_boxes): New function.
(single_keymap_panes): Use it instead of a compile-time
2013-10-08 Jan Djärv <jan.h.d@swipnet.se>
- * nsterm.m (windowDidExitFullScreen:):
+ * nsterm.m (windowDidExitFullScreen:)
(toggleFullScreen:): Change NS_IMPL_COCOA to HAVE_NATIVE_FS.
2013-10-08 Paul Eggert <eggert@cs.ucla.edu>
2013-09-26 Barry O'Reilly <gundaetiapo@gmail.com>
Signal error when reading an empty byte-code object (Bug#15405)
- * lread.c (read1): signal error
- * alloc.c (make_byte_code): eassert header size
- (sweep_vectors): change an int to size_t
+ * lread.c (read1): Signal error.
+ * alloc.c (make_byte_code): eassert header size.
+ (sweep_vectors): Change an int to size_t.
2013-09-24 Paul Eggert <eggert@cs.ucla.edu>
* process.c (wait_reading_process_output): Change int pnamelen to
socklen_t.
- * nsterm.m (setMarkedText:selectedRange:):
- (deleteWorkingText):
+ * nsterm.m (setMarkedText:selectedRange:, deleteWorkingText):
* nsmenu.m (addDisplayItemWithImage:idx:tag:helpText:enabled:):
* nsfont.m (ns_get_covering_families, ns_findfonts): Cast NSLog
argument to unsigned long to avoid warning.
2013-08-29 Dmitry Antipov <dmantipov@yandex.ru>
* xterm.c (x_clear_area): Lost 7th arg because it is always False.
- (x_after_update_window_line, x_scroll_bar_create):
- (x_scroll_bar_set_handle, XTset_vertical_scroll_bar):
+ (x_after_update_window_line, x_scroll_bar_create)
+ (x_scroll_bar_set_handle, XTset_vertical_scroll_bar)
(handle_one_xevent, x_clear_frame_area):
* gtkutil.c (xg_clear_under_internal_border, xg_update_scrollbar_pos):
* xfns.c (x_set_menu_bar_lines, x_set_tool_bar_lines): Adjust users.
(menubar_selection_callback, menu_position_func)
(popup_selection_callback, create_and_show_popup_menu)
(dialog_selection_callback, create_and_show_dialog):
- * xrdb.c (x_get_string_resource):
+ * xrdb.c (x_get_string_resource)
(main) [TESTRM]:
* xsmfns.c (x_session_check_input):
* xterm.c (x_draw_glyphless_glyph_string_foreground)
Fix last font-related change.
* w32font.h (w32font_list_internal, w32font_match_internal):
Fix prototype.
- * w32uniscribe.c (uniscribe_list, uniscribe_match):
+ * w32uniscribe.c (uniscribe_list, uniscribe_match)
(uniscribe_list_family): Adjust to match font API change.
MS-Windows breakage reported by Juanma Barranquero <lekktu@gmail.com>
at http://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00006.html.
functions to accept struct frame * as first arg.
* font.c (font_score, font_compare, font_sort_entities):
Remove prototypes.
- (font_sort_entities, font_list_entities, font_select_entity):
+ (font_sort_entities, font_list_entities, font_select_entity)
(font_find_for_lface, Flist_fonts, Ffont_family_list): Adjust to
match font API change.
* xfont.c (xfont_list, xfont_match, xfont_list_family):
* ftxfont.c (ftxfont_list, ftxfont_match):
* xftfont.c (xftfont_list, xftfont_match):
* nsfont.m (nsfont_list, nsfont_match, nsfont_list_family):
- * w32font.c (w32font_list, w32font_match, w32font_list):
+ * w32font.c (w32font_list, w32font_match, w32font_list)
(w32font_list_internal, w32_font_match_internal): Likewise.
* xfaces.c (Fx_family_fonts): Adjust user.
have more than one X frame on the same X display.
(any_help_event_p, x_draw_glyph_string_background, x_display_ok):
Use bool for booleans.
- (x_draw_glyph_string_background, cvt_string_to_pixel):
+ (x_draw_glyph_string_background, cvt_string_to_pixel)
(cvt_pixel_dtor): Drop unnecessary prototypes.
* xterm.h (x_display_ok): Adjust prototype.
(close_on_exec, accept4, process_socket) [!SOCK_CLOEXEC]:
New functions.
(socket) [!SOCK_CLOEXEC]: Supply a substitute.
- (Fmake_network_process, Fnetwork_interface_list):
+ (Fmake_network_process, Fnetwork_interface_list)
(Fnetwork_interface_info, server_accept_connection):
Make newly-created socket close-on-exec.
* sysdep.c (emacs_open, emacs_fopen):
* image.c (gif_load): Assume pass < 3 to pacify GCC.
* process.c (Fset_process_datagram_address)
(Fmake_network_process): Check get_lisp_to_sockaddr_size return value.
- * xdisp.c (get_char_face_and_encoding):
+ * xdisp.c (get_char_face_and_encoding)
(get_glyph_face_and_encoding): Ensure that *CHAR2B is initialized.
(get_glyph_face_and_encoding): Prepare face before possibly using it.
(get_per_char_metric): Don't use CHAR2B if it might not be initialized.