aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | * xftfont.c (struct xftfont_info): Remove set-but-unusedDmitry Antipov2013-10-271-0/+7
| | | | | | | | | | | | 'screen' member. (xftfont_open): Adjust user. (xftfont_get_colors): Remove useless prototype.
* | Fix part of bug #15260 with from directory with a non-ASCII name.Eli Zaretskii2013-10-261-0/+5
| | | | | | | | | | src/emacs.c (Fdump_emacs): Encode FILENAME and SYMFILE arguments before passing them to 'unexec'.
* | Doc fix for set-fringe-bitmap-face.Xue Fuqiao2013-10-261-0/+4
| | | | | | | | * src/fringe.c (set_fringe_bitmap_face): Add usage note from lispref.
* | Another fix for the MS-Windows build broken 4 revisions ago.Eli Zaretskii2013-10-251-0/+3
| | | | | | | | | | src/w32uniscribe.c (uniscribe_close): Adjust the argument list to the changed signature of the font driver's 'close' method.
* | Fix the MS-Windows build broken 2013-10-25T04:35:56Z!dgutov@yandex.ru.Eli Zaretskii2013-10-251-0/+10
| | | | | | | | | | | | | | | | src/w32font.h (w32font_close): Adjust the prototype to the change in function definition. src/w32font.c (w32font_close): Reintroduce deleted declaration of i. src/w32uniscribe.c (uniscribe_close): Adapt the call to w32font_close to its new prototype.
* | Perform font-specific cleanup when font object is swept by GC. SeeDmitry Antipov2013-10-251-3/+9
| | | | | | | | | | | | | | 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.
* | Omit unused frame argument of font API's close function.Dmitry Antipov2013-10-251-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | ChangeLog fixesGlenn Morris2013-10-241-2/+2
| |
* | Attempt at a fix for mingw CPPFLAGSGlenn Morris2013-10-231-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (CPPFLAGS) [mingw32]: Use abs_top_srcdir. * Makefile.in (abs_top_srcdir): * lib-src/Makefile.in (abs_top_srcdir): * lwlib/Makefile.in (abs_top_srcdir): * nt/Makefile.in (abs_top_srcdir): * oldXMenu/Makefile.in (abs_top_srcdir): * src/Makefile.in (abs_top_srcdir): New, set by configure.
* | Fix ChangeLog entry.Dmitry Antipov2013-10-231-2/+2
| |
* | Tweak last font-related changes to fix bug#15686.Dmitry Antipov2013-10-231-0/+6
| | | | | | | | | | * alloc.c (mark_object) [HAVE_WINDOW_SYSTEM]: If marked frame is a live window system frame, mark it's default font too.
* | Make building in directories with whitespace possibleGlenn Morris2013-10-221-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make has trouble with targets containing whitespace, http://savannah.gnu.org/bugs/?712, so the general approach is to use relative paths where possible. It's generally only Emacs itself that needs absolute paths, eg in src/epaths.h. * configure.ac (srcdir): Don't make it absolute - abs_srcdir exists. * Makefile.in (abs_srcdir): New, set by configure. (buildlisppath): Use abs_srcdir. (install-arch-indep, install-etcdoc, install-info, install-man) (install-etc): Quote entities that might contain whitespace. * admin/unidata/Makefile.in (emacs, ${DSTDIR}/charprop.el): Quote entities that might contain whitespace. * leim/Makefile.in (abs_srcdir): New, set by configure. (buildlisppath): Use abs_srcdir. (RUN_EMACS, .el.elc, changed.tit, changed.misc, leim-list.el) ($(srcdir)/ja-dic/ja-dic.el, setwins, distclean, check-declare): Quote entities that might contain whitespace. * lib-src/Makefile.in ($(DESTDIR)${archlibdir}): Quote entities that might contain whitespace. * lisp/Makefile.in (abs_srcdir, abs_lisp): New, set by configure. (emacs, compile, compile-always): Quote entities that might contain whitespace. (custom-deps, finder-data, autoloads): Use abs_lisp. ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el) ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el) ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name. * nextstep/Makefile.in (${ns_check_file} ${ns_appdir}): Quote entities that might contain whitespace. * nt/Makefile.in ($(DESTDIR)${archlibdir}): Quote entities that might contain whitespace. * src/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. * test/automated/Makefile.in (abs_top_srcdir, top_builddir): New, set by configure. (top_srcdir): Remove. (abs_test, abs_lispsrc): New. (lisp): No longer absolute. (emacs, lisp-compile, compile, compile-always): Quote entities that might contain whitespace. Fixes: debbugs:15675
* | Port to Solaris 10 and its bundled GCC.Paul Eggert2013-10-221-0/+6
| | | | | | | | | | Problem reported by Timothy C. Burt. * floatfns.c (isfinite, isnan): Redefine unconditionally.
* | Do not allow font caches to grow too large.Dmitry Antipov2013-10-211-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | * emacs.c (main): On Cocoa, if GUI session and 0 is not a tty,Jan Djärv2013-10-201-0/+3
| | | | | | | | | | | | chdir to HOME. Fixes: debbugs:15607
* | * src/nsterm.m (ns_get_color): Make selection color work for GNUStep also.Jan Djärv2013-10-201-0/+1
| |
* | Fix GNUStep specific menu items.Jan Djärv2013-10-201-0/+5
| | | | | | | | | | | | | | | | | | * lisp/menu-bar.el: Move GNUStep specific menus... * lisp/term/ns-win.el (ns-initialize-window-system): ... to here. * src/nsterm.m (Qcocoa, Qgnustep): New variables. (syms_of_nsterm): Defsym Qcocoa, Qgnustep. Fprovide appropriate one.
* | Fix clicks on the menu bar when GPM mouse is in use.Eli Zaretskii2013-10-181-0/+8
| | | | | | | | | | | | | | | | src/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.
* | Remove port-specific display name lists to avoid extraDmitry Antipov2013-10-181-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Don't run timers in input-pending-p. Its new check-timers paramBarry O'Reilly2013-10-181-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | provides the prior behavior.. * src/keyboard.c (Finput_pending_p): Accept optional check-timers param. * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave as before. * test/automated/timer-tests.el: New file. Tests that (sit-for 0) allows another timer to run. Fixes: debbugs:15045
* | Make some functions static in non-Microsoft builds.Paul Eggert2013-10-161-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.Paul Eggert2013-10-161-0/+5
| | | | | | | | | | | | | | | | * 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. Fixes: debbugs:15574
* | bool vector int width fixesPaul Eggert2013-10-161-0/+10
| | | | | | | | | | | | | | | | | | * 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.
* | * process.h (conv_sockaddr_to_lisp): New decl, for newly-extern func.Paul Eggert2013-10-161-0/+5
| | | | | | | | (struct sockaddr): Add forward decl, for platforms that lack it.
* | * nsselect.m (ns_string_from_pasteboard): Remove Fquit, just returnJan Djärv2013-10-161-0/+5
| | | | | | | | | | | | Qnil. Fixes: debbugs:15628
* | Implement network-interface-* functions for MS-Windows (bug #15610).Eli Zaretskii2013-10-161-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/w32.c (network_interface_get_info, network_interface_list) (network_interface_info): New functions. (GetAdaptersInfo_Proc): New typedef. (get_adapters_info): New wrapper function. (globals_of_w32): Initialize g_b_init_get_adapters_info. src/process.h (network_interface_list, network_interface_info): New prototypes. src/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.
* | Fix bug #15629 with GUI menus on NS.Eli Zaretskii2013-10-161-0/+5
| | | | | | | | | | src/menu.c (have_boxes): Fix redundant simulation of radio buttons in NS GUI sessions.
* | * fns.c (Fstring_as_unibyte): Use xlispstrdup.Dmitry Antipov2013-10-161-0/+4
| |
* | * print.c (print_object): Print " ..." when truncating bool vectors.Paul Eggert2013-10-151-0/+4
| |
* | Support mouse wheel on MS-Windows text-mode console.Eli Zaretskii2013-10-151-0/+7
| | | | | | | | | | | | src/w32inevt.c (do_mouse_event): Support mouse wheel and all the 5 standard mouse buttons. src/termhooks.h (struct input_event): Remove incorrect commentary.
* | Disallow bool vector operations on mixed-length operands.Paul Eggert2013-10-151-0/+7
| | | | | | | | | | | | | | | | 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.Paul Eggert2013-10-151-0/+4
| |
* | Add usage note of buffer-invisibility-spec.Xue Fuqiao2013-10-151-0/+5
| | | | | | | | | | * src/buffer.c (syms_of_buffer) <buffer-invisibility-spec>: Add usage note from the lispref.
* | Space after comma in ChangeLogs.Paul Eggert2013-10-141-11/+11
| |
* | * nsterm.h (struct ns_display_info): Remove set-but-unusedDmitry Antipov2013-10-151-0/+7
| | | | | | | | | | | | member image_cache (image caches are per-terminal anyway). (FRAME_X_IMAGE_CACHE): Remove. * nsterm.m (ns_initialize_display_info): Adjust user.
* | Attempt to fix time_t related problems with MinGW 4.0 runtime.Eli Zaretskii2013-10-141-0/+4
| | | | | | | | | | | | | | | | nt/inc/mingw_time.h: New file. nt/inc/ms-w32.h: Include mingw_time.h instead of doing its job. src/w32proc.c: Include mingw_time.h. src/w32.c: Include mingw_time.h.
* | Implement scrolling of TTY menus when the screen is too short.Eli Zaretskii2013-10-141-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/term.c (tty_menu_display): Accept an additional argument, the menu item from which to start displaying the menu. Account for the value of Y when limiting the menu to the number of available screen lines. (mi_result): New enumeration. (read_menu_input): Return enumerated value. When the y coordinate hits min_y or max_y, return scroll indication instead of wrapping around the menu. (tty_menu_activate): Handle the scrolling indications from read_menu_input. Compute the first menu item to display and pass it to tty_menu_display. lisp/menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks to commands that scroll the menu.
* | * termhooks.h (FRAME_MUST_WRITE_SPACES, FRAME_LINE_INS_DEL_OK)Dmitry Antipov2013-10-141-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (FRAME_CHAR_INS_DEL_OK, FRAME_SCROLL_REGION_OK) (FRAME_SCROLL_REGION_COST, FRAME_MEMORY_BELOW_FRAME): Adjust to match the change described below. (struct terminal): Move must_write_spaces, line_ins_del_ok, char_ins_del_ok, scroll_region_ok, scroll_region_cost and memory_below_frame members to... * termchar.h (struct tty_display_info): ...here because they're relevant only on TTYs. Prefer unsigned bitfield where appropriate. * term.c (init_tty): * nsterm.m (ns_create_terminal): * w32term.c (w32_create_terminal): * xterm.c (x_create_terminal): Adjust users. * dispnew.c (line_hash_code, line_draw_cost): Pass frame arg to filter out non-TTY frames. Adjust comment. (scrolling): Adjust user. Prefer eassert for debugging check.
* | * xfaces.c (PT_PER_INCH): Remove unused macro.Dmitry Antipov2013-10-141-0/+11
| | | | | | | | | | | | | | | | | | | | * termhooks.h (struct terminal): Remove set-but-unused member fast_clear_end_of_line. (FRAME_FAST_CLEAR_END_OF_LINE): Remove. * nsterm.m (ns_create_terminal): * term.c (init_tty): * w32term.c (w32_create_terminal): * xterm.c (x_create_terminal): Adjust users.
* | * lisp.h (bool_vector_size): New function.Paul Eggert2013-10-141-0/+9
| | | | | | | | | | | | | | | | All uses of XBOOL_VECTOR (x)->size changed to bool_vector_size (x). * data.c (bool_vector_spare_mask, bool_vector_binop_driver) (Fbool_vector_not, Fbool_vector_count_matches_at): Remove uses of 'eassume' that should no longer be needed, because they are subsumed by the 'eassume' in bool_vector_size.
* | ChangeLog fixes prompted by M-x authorsGlenn Morris2013-10-121-1/+1
| |
* | Avoid compilation warnings in image.c.Eli Zaretskii2013-10-121-0/+6
| | | | | | | | | | | | src/image.c (GIFLIB_MAJOR, GIFLIB_MINOR, GIFLIB_RELEASE): Move back after inclusion of gif_lib.h, thus fixing compiler warnings caused by 2013-10-10T19:15:33Z!eggert@cs.ucla.edu.
* | Support frame dimension changes while TTY menus are displayed.Eli Zaretskii2013-10-111-0/+10
| | | | | | | | | | | | | | | | | | | | src/xdisp.c (deep_copy_glyph_row): Handle the case that FROM and TO have different dimensions. src/dispnew.c (fill_up_frame_row_with_spaces): Now has external visibility. src/dispextern.h (fill_up_frame_row_with_spaces): Add prototype. Fixes: debbugs:15575
* | * term.c (tty_menu_show): Never return with unbalancedDmitry Antipov2013-10-111-0/+5
| | | | | | | | specpdl. Use eassert for debugging check. Adjust style.
* | Menu item selection on TTYs is now cyclical.Eli Zaretskii2013-10-111-0/+6
| | | | | | | | | | | | src/term.c (read_menu_input): Make selection of menu items cyclical. Suggested by Dmitry Antipov <dmantipov@yandex.ru>. (tty_menu_activate): Fix off-by-one error when computing max_y.
* | Support GnuTLS v3 and set up its audit logging properly.Ted Zlatanov2013-10-111-0/+5
| | | | | | | | | | | | | | * configure.ac: Define HAVE_GNUTLS3 if GnuTLS v3 is found. * src/gnutls.c (gnutls_audit_log_function): Add function for GnuTLS audit logging (only used with GnuTLS 3.x) and enable it.
* | * dispnew.c (redraw_frame): Remove useless #ifdef becauseDmitry Antipov2013-10-111-0/+7
| | | | | | | | | | | | FRAME_MSDOS_P is a compile-time zero everywhere except MS-DOS. Also, move TTY fflush to... * term.c (tty_update_end): ...this function.
* | Fix bug #15575 with crashes in TTY menus.Eli Zaretskii2013-10-111-0/+12
| | | | | | | | | | | | | | | | | | | | | | src/xdisp.c (display_tty_menu_item): Make sure we never write beyond the end of the frame's glyph matrix. src/term.c (tty_menu_display): Don't move cursor while overwriting frame's glyphs with menu items. Limit the number of items displayed to what can be shown on the available screen lines, excluding the echo area. (tty_menu_activate): Limit the Y coordinate allowed by read_menu_input to the last screen line used for menu display.
* | * lisp.h (eassume): New macro.Paul Eggert2013-10-101-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, include <verify.h>, for 'assume'. * alloc.c (bool_vector_payload_bytes, Fmake_bool_vector) (vroundup, vector_nbytes): * data.c (bool_vector_spare_mask, bool_vector_binop_driver) (Fbool_vector_not, Fbool_vector_count_matches) (Fbool_vector_count_matches_at): Use eassume, not eassert. * casetab.c (set_identity, shuffle): * composite.c (composition_gstring_put_cache): * dispnew.c (update_frame_1): * ftfont.c (ftfont_shape_by_flt): * image.c (gif_load): * intervals.c (offset_intervals): * macfont.m (macfont_shape): Remove calls to 'assume' that are no longer needed, because --enable-gcc-warnings no longer generates bogus warnings when these calls are removed.
* | * xdisp.c (deep_copy_glyph_row): Remove unused locals.Dmitry Antipov2013-10-111-0/+4
| |