1. 17 Oct, 2013 7 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.
      3d798ba7
    • Stefan Monnier's avatar
      * lisp/skeleton.el (skeleton-newline): Remove. · 921c1d62
      Stefan Monnier authored
      (skeleton-internal-1): Use (insert "\n") instead.
      921c1d62
    • Stefan Monnier's avatar
      e333fb10
    • Stefan Monnier's avatar
      * lisp/progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's · 85527ff3
      Stefan Monnier authored
      forward-sexp-function while we redo its job.
      
      Fixes: debbugs:15613
      85527ff3
    • Jay Belanger's avatar
      * calc/calc-comb.el (math-prime-test): Don't assume large integers are · c8722a97
      Jay Belanger authored
        represented by lists.
      
      * doc/misc/calc.el (Data Type Formats): Don't specify the size at
        which integers begin to be represented by lists.
      c8722a97
    • Paul Eggert's avatar
      Make VALMASK visible to GDB even if clang is used. · bb9937df
      Paul Eggert authored
      * 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
      bb9937df
    • Paul Eggert's avatar
      bool vector int width fixes · f2752e01
      Paul Eggert authored
      * 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.
      f2752e01
  2. 16 Oct, 2013 15 commits
  3. 15 Oct, 2013 10 commits
  4. 14 Oct, 2013 8 commits
    • Xue Fuqiao's avatar
    • Xue Fuqiao's avatar
      Comment · c463be09
      Xue Fuqiao authored
      c463be09
    • Dima Kogan's avatar
      * lisp/progmodes/subword.el (subword-capitalize): Be careful when · c2de5588
      Dima Kogan authored
      the search for [[:alpha:]] fails.
      
      Fixes: debbugs:15580
      c2de5588
    • 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.
      279066b2
    • 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.
      ccd4a783
    • Dmitry Antipov's avatar
      * termhooks.h (FRAME_MUST_WRITE_SPACES, FRAME_LINE_INS_DEL_OK) · 77e3b1b7
      Dmitry Antipov authored
      (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.
      77e3b1b7
    • Dmitry Antipov's avatar
      * xfaces.c (PT_PER_INCH): Remove unused macro. · e558436b
      Dmitry Antipov authored
      * 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.
      e558436b
    • Glenn Morris's avatar
      Auto-commit of generated files. · 3083cf62
      Glenn Morris authored
      3083cf62