1. 28 Oct, 2013 1 commit
    • Dmitry Antipov's avatar
      * dispextern.h (struct face): Use bitfields for 'underline_type' · 5d3311e5
      Dmitry Antipov authored
      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.
  2. 27 Oct, 2013 1 commit
  3. 26 Oct, 2013 2 commits
  4. 25 Oct, 2013 4 commits
  5. 24 Oct, 2013 3 commits
  6. 23 Oct, 2013 4 commits
    • Dmitry Antipov's avatar
      Fix ChangeLog entry. · 66b238df
      Dmitry Antipov authored
    • Dmitry Antipov's avatar
      Tweak last font-related changes to fix bug#15686. · df24a230
      Dmitry Antipov authored
      * alloc.c (mark_object) [HAVE_WINDOW_SYSTEM]: If marked frame
      is a live window system frame, mark it's default font too.
    • Glenn Morris's avatar
      Make building in directories with whitespace possible · b8e3b0a9
      Glenn Morris authored
      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)
      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
    • Paul Eggert's avatar
      Port to Solaris 10 and its bundled GCC. · e4ea223d
      Paul Eggert authored
      Problem reported by Timothy C. Burt.
      * floatfns.c (isfinite, isnan): Redefine unconditionally.
  7. 21 Oct, 2013 1 commit
    • Dmitry Antipov's avatar
      Do not allow font caches to grow too large. · fc54bdd5
      Dmitry Antipov authored
      * 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.
  8. 20 Oct, 2013 3 commits
  9. 18 Oct, 2013 3 commits
    • Eli Zaretskii's avatar
      Fix clicks on the menu bar when GPM mouse is in use. · c4e3099f
      Eli Zaretskii authored
       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
       for the details of the problem with the menu bar this fixes.
    • Dmitry Antipov's avatar
      Remove port-specific display name lists to avoid extra · d141d701
      Dmitry Antipov authored
      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.
    • Barry O'Reilly's avatar
      Don't run timers in input-pending-p. Its new check-timers param · ef566920
      Barry O'Reilly authored
      provides the prior behavior..
      * src/keyboard.c (Finput_pending_p): Accept optional check-timers
      * 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
  10. 17 Oct, 2013 3 commits
    • Paul Eggert's avatar
      Make some functions static in non-Microsoft builds. · 3d798ba7
      Paul Eggert authored
      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.
    • Paul Eggert's avatar
      Make VALMASK visible to GDB even if clang is used. · bb9937df
      Paul Eggert authored
      * emacs.c (MAIN_PROGRAM): New macro.
      Fixes: debbugs:15574
    • Paul Eggert's avatar
      bool vector int width fixes · f2752e01
      Paul Eggert authored
      * data.c (bool_vector_spare_mask, Fbool_vector_count_matches)
      Use EMACS_INT, not ptrdiff_t, to record bit counts, as a bit count
      can exceed PTRDIFF_MAX, at least in theory.
      Use int, not ptrdiff_t, to record a value that can't exceed INT_MAX.
  11. 16 Oct, 2013 6 commits
  12. 15 Oct, 2013 7 commits
  13. 14 Oct, 2013 2 commits
    • Eli Zaretskii's avatar
      Attempt to fix time_t related problems with MinGW 4.0 runtime. · 279066b2
      Eli Zaretskii authored
       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.
    • Eli Zaretskii's avatar
      Implement scrolling of TTY menus when the screen is too short. · ccd4a783
      Eli Zaretskii authored
       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.