+2013-10-29 Dmitry Antipov <dmantipov@yandex.ru>
+
+ * xterm.h (struct x_output): For 'black_relief' and 'white_relief'
+ fields, drop 'allocated_p' member and use -1 for uninitialized value.
+ * w32term.h (struct w32_output): Similarly but do not use -1 because...
+ * xfaces.c (unload_color) [HAVE_X_WINDOWS]: ...this function is a no-op
+ on MS-Windows anyway.
+ (free_face_colors): Define only if HAVE_X_WINDOWS and...
+ (free_realized_face): ...adjust user.
+ * xfns.c (Fx_create_frame, x_create_tip_frame): Initialize black and
+ white relief pixels to -1.
+ * xterm.c (x_setup_relief_color, x_free_frame_resources): Adjust users.
+ * w32term.c (w32_setup_relief_color, x_free_frame_resources): Likewise.
+ * dispextern.h (unload_color): Move prototype under HAVE_X_WINDOWS.
+
+2013-10-28 Paul Eggert <eggert@cs.ucla.edu>
+
+ * dispextern.h, image.c (x_bitmap_height, x_bitmap_width): Now static.
+ * xfaces.c (load_pixmap): Omit last two args, which are always NULL
+ in practice now. All callers changed.
+
+2013-10-28 Dmitry Antipov <dmantipov@yandex.ru>
+
+ * dispextern.h (struct face): Use bitfields for 'underline_type'
+ and 'box' members. Remove set-but-unused members 'pixmap_w' and
+ 'pixmap_h'. If not HAVE_WINDOW_SYSTEM, also remove dummy
+ 'stipple' member. Move 'lface' member up to help...
+ * xfaces.c (make_realized_face): ...this function to find and
+ clear just the members that need clearing.
+ (load_face_colors, realize_x_face):
+ * xdisp.c (extend_face_to_end_of_line): Adjust user.
+
+2013-10-27 Dmitry Antipov <dmantipov@yandex.ru>
+
+ * xftfont.c (struct xftfont_info): Remove set-but-unused
+ 'screen' member.
+ (xftfont_open): Adjust user.
+ (xftfont_get_colors): Remove useless prototype.
+
+2013-10-26 Eli Zaretskii <eliz@gnu.org>
+
+ * emacs.c (Fdump_emacs): Encode FILENAME and SYMFILE arguments
+ before passing them to 'unexec'. (Bug#15260)
+
+2013-10-26 Xue Fuqiao <xfq.free@gmail.com>
+
+ * fringe.c (set_fringe_bitmap_face): Add usage note from lispref.
+
+2013-10-25 Eli Zaretskii <eliz@gnu.org>
+
+ * w32uniscribe.c (uniscribe_close): Adjust the argument list to
+ the changed signature of the font driver's 'close' method.
+
+ * w32font.h (w32font_close): Adjust the prototype to the change in
+ function definition.
+
+ * w32font.c (w32font_close): Reintroduce deleted declaration of i.
+
+ * w32uniscribe.c (uniscribe_close): Adapt the call to
+ w32font_close to its new prototype.
+
+2013-10-25 Dmitry Antipov <dmantipov@yandex.ru>
+
+ Omit unused frame argument of font API's close function.
+ * font.h (struct font): Drop frame argument. Adjust comment.
+ * font.c (font_clear_cache, font_close_object): Adjust users.
+ * ftfont.c (ftfont_close):
+ * ftxfont.c (ftxfont_close):
+ * macfont.m (macfont_close):
+ * nsfont.m (nsfont_close):
+ * w32font.c (w32font_close):
+ * xfont.c (xfont_close):
+ * xftfont.c (xftfont_close): Adjust driver-specific close functions,
+ tweak comments and make functions safe if called more than once for
+ the same font object.
+
+ Perform font-specific cleanup when font object is swept by GC. See
+ http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00740.html.
+ * alloc.c (cleanup_vector): New function.
+ (sweep_vector): Call it for each reclaimed vector object.
+ * font.h (struct font): Adjust comment.
+
+2013-10-24 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (abs_top_srcdir): New, set by configure.
+
+2013-10-23 Dmitry Antipov <dmantipov@yandex.ru>
+
+ Adjust recent font-related changes to fix bug#15686.
+ * alloc.c (mark_object) [HAVE_WINDOW_SYSTEM]: If marked frame
+ is a live window system frame, mark its default font too.
+
+2013-10-23 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (RUN_TEMACS): Make relative (again).
+ ($(leimdir)/leim-list.el, .el.elc, $(lispsource)/loaddefs.el)
+ (bootstrap-emacs$(EXEEXT)):
+ Quote entities that might contain whitespace.
+
+2013-10-23 Paul Eggert <eggert@cs.ucla.edu>
+
+ Port to Solaris 10 and its bundled GCC.
+ Problem reported by Timothy C. Burt.
+ * floatfns.c (isfinite, isnan): Redefine unconditionally.
+
+2013-10-21 Dmitry Antipov <dmantipov@yandex.ru>
+
+ Do not allow font caches to grow too large.
+ * alloc.c (compact_font_cache_entry, compact_font_caches):
+ New functions or stub if not HAVE_WINDOW_SYSTEM.
+ (compact_undo_list): Factor out from Fgarbage_collect.
+ Add comment.
+ (mark_face_cache): Mark face font. Move down to avoid
+ extra prototypes.
+ (mark_terminals): Do not mark font cache here.
+ (Fgarbage_collect): Call compaction functions described
+ above. Adjust comment.
+
+2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
+
+ * emacs.c (main): On Cocoa, if GUI session and 0 is not a tty,
+ chdir to HOME (bug#15607).
+
+ * nsterm.m (Qcocoa, Qgnustep): New variables.
+ (syms_of_nsterm): Defsym Qcocoa, Qgnustep. Fprovide appropriate one.
+ (ns_get_color): Make selection color work for GNUStep also.
+
+2013-10-18 Eli Zaretskii <eliz@gnu.org>
+
+ * keyboard.c (make_lispy_event): Remove GPM-specific code that
+ handles mouse clicks. Instead, let GPM use the same code as all
+ the other mice use. See the discussion starting at
+ http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00521.html
+ for the details of the problem with the menu bar this fixes.
+
+2013-10-18 Dmitry Antipov <dmantipov@yandex.ru>
+
+ Remove port-specific display name lists to avoid extra
+ complexity and data duplication with display info lists.
+ * xterm.h (x_display_name_list): Remove declaration.
+ * xterm.c (x_display_name_list): Remove.
+ (x_term_init, x_delete_display, syms_of_xterm): Adjust users.
+ * xfns.c (x_display_info_for_name, Fx_display_list):
+ Likewise. Use x_display_list where appropriate.
+ * w32term.h (w32_display_name_list): Remove declaration.
+ * w32term.c (w32_display_name_list): Remove.
+ (w32_initialize_display_info, x_delete_display, syms_of_w32term):
+ Adjust users.
+ * w32fns.c (x_display_info_for_name, Fx_display_list):
+ Likewise. Use x_display_list where appropriate.
+ * nsterm.h (ns_display_name_list): Remove declaration.
+ * nsterm.m (ns_display_name_list): Remove.
+ (ns_term_init, syms_of_nsterm): Adjust users.
+ * nsfns.m (ns_display_info_for_name, Fx_display_list):
+ Likewise. Use x_display_list where appropriate.
+ * termhooks.h (TERMINAL_FONT_CACHE): New macro.
+ * alloc.c (toplevel) [HAVE_WINDOW_SYSTEM]: Include TERM_HEADER.
+ (mark_terminals): Mark per-terminal font cache.
+
+2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
+
+ Don't run timers in input-pending-p. Its new check-timers param
+ provides the prior behavior. (Bug#15045).
+ * src/keyboard.c (Finput_pending_p): Accept optional check-timers
+ param.
+
+2013-10-17 Paul Eggert <eggert@cs.ucla.edu>
+
+ Make some functions static in non-Microsoft builds.
+ On my platform (Fedora 19 x86-64), this shrinks the
+ Emacs executable (text+data) by 0.25%.
+ * dispextern.h (erase_phys_cursor) [!WINDOWSNT]:
+ (load_color) [!MSDOS]:
+ * gnutls.h (emacs_gnutls_transport_set_errno) [!WINDOWSNT]:
+ * keyboard.h (make_ctrl_char) [!WINDOWSNT]:
+ * lisp.h (check_existing):
+ * process.h (conv_sockaddr_to_lisp, network_interface_list)
+ (network_interface_info) [!WINDOWSNT]:
+ * termhooks.h (encode_terminal_code) [!WINDOWSNT]:
+ Remove extern decls.
+ * fileio.c (check_existing):
+ * keyboard.c (make_ctrl_char) [!WINDOWSNT]:
+ * process.c (conv_sockaddr_to_lisp, network_interface_list)
+ (network_interface_info) [!WINDOWSNT]:
+ * term.c (encode_terminal_code) [!WINDOWSNT]:
+ * xdisp.c (erase_phys_cursor) [!WINDOWSNT]:
+ * xfaces.c (load_color) [!MSDOS]:
+ Now static.
+ * fileio.c (check_existing, check_executable, check_writable):
+ * process.c (network_interface_list, network_interface_info):
+ Move earlier, so that we don't need forward decls.
+ * gnutls.c (fn_gnutls_transport_set_errno)
+ (emacs_gnutls_transport_set_errno) [!WINDOWNT]:
+ Remove; unused.
+ * w32.c (init_environment): Use faccessat rather than
+ check_existing, partly for consistency with the rest of the code
+ in this file, partly so that check_existing can be static.
+
+ Make VALMASK visible to GDB even if clang is used (Bug#15574).
+ * emacs.c (MAIN_PROGRAM): New macro.
+ * lisp.h (DEFINE_GDB_SYMBOL_BEGIN, DEFINE_GDB_SYMBOL_END): New macros.
+ (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Use them.
+
+ bool vector int width fixes
+ * data.c (bool_vector_spare_mask, Fbool_vector_count_matches)
+ (Fbool_vector_count_matches_at):
+ Use EMACS_INT, not ptrdiff_t, to record bit counts, as a bit count
+ can exceed PTRDIFF_MAX, at least in theory.
+ (Fbool_vector_count_matches_at):
+ Use int, not ptrdiff_t, to record a value that can't exceed INT_MAX.
+
+2013-10-16 Paul Eggert <eggert@cs.ucla.edu>
+
+ * process.h (conv_sockaddr_to_lisp): New decl, for newly-extern func.
+ (struct sockaddr): Add forward decl, for platforms that lack it.
+
+2013-10-16 Jan Djärv <jan.h.d@swipnet.se>
+
+ * nsselect.m (ns_string_from_pasteboard): Remove Fquit, just return
+ Qnil (Bug#15628).
+
+2013-10-16 Eli Zaretskii <eliz@gnu.org>
+
+ * w32.c (network_interface_get_info, network_interface_list)
+ (network_interface_info): New functions. (Bug#15610)
+ (GetAdaptersInfo_Proc): New typedef.
+ (get_adapters_info): New wrapper function.
+ (globals_of_w32): Initialize g_b_init_get_adapters_info.
+
+ * process.h (network_interface_list, network_interface_info): New
+ prototypes.
+
+ * process.c (conv_sockaddr_to_lisp): Now externally-visible.
+ (Fnetwork_interface_list, Fnetwork_interface_info): Define for
+ all systems. Return non-nil for systems that HAVE_NET_IF_H and
+ for WINDOWSNT. Doc fix.
+ (syms_of_process): Defsubr Snetwork_interface_list and
+ Snetwork_interface_info unconditionally.
+
+ * menu.c (have_boxes): Fix redundant simulation of radio buttons
+ in NS GUI sessions. (Bug#15629)
+
+2013-10-16 Dmitry Antipov <dmantipov@yandex.ru>
+
+ * fns.c (Fstring_as_unibyte): Use xlispstrdup.
+
+2013-10-15 Paul Eggert <eggert@cs.ucla.edu>
+
+ * print.c (print_object): Print " ..." when truncating bool vectors.
+
+2013-10-15 Eli Zaretskii <eliz@gnu.org>
+
+ * w32inevt.c (do_mouse_event): Support mouse wheel and all the 5
+ standard mouse buttons.
+
+ * termhooks.h (struct input_event): Remove incorrect commentary.
+
+2013-10-15 Paul Eggert <eggert@cs.ucla.edu>
+
+ Disallow bool vector operations on mixed-length operands.
+ The old behavior left garbage in the result vector sometimes,
+ and didn't seem to be useful.
+ * data.c (Qwrong_length_argument): New static var.
+ (wrong_length_argument): New function.
+ (bool_vector_binop_driver): Check that args agree in length.
+
+ * keyboard.c, keyboard.h (all_kboards): Now static.
+
2013-10-15 Xue Fuqiao <xfq.free@gmail.com>
* buffer.c (syms_of_buffer) <buffer-invisibility-spec>: Add usage
* keyboard.c (read_decoded_char): Don't decode under w32 (bug#14403).
-2013-05-22 Barry OReilly <gundaetiapo@gmail.com> (tiny change)
+2013-05-22 Barry O'Reilly <gundaetiapo@gmail.com>
* casetab.c (init_casetab_once): Fix last change (bug#14424).
character numbers counted by detect_coding_utf_8. Fix detection
of BOM for utf-8.
-2013-05-21 Barry OReilly <gundaetiapo@gmail.com> (tiny change)
+2013-05-21 Barry O'Reilly <gundaetiapo@gmail.com>
* search.c (looking_at_1): Only set last_thing_searched if the match
changed the match-data (bug#14281).