1. 11 Jul, 2012 5 commits
  2. 04 Jul, 2012 1 commit
    • Juanma Barranquero's avatar
      Remove obsolete configuration options (Windows port). · 95f61aa2
      Juanma Barranquero authored
      * admin/CPP-DEFINES (LISP_FLOAT_TYPE): Remove, obsolete.
      
      * nt/config.nt (LISP_FLOAT_TYPE, HAVE_XFREE386, USE_TEXT_PROPERTIES)
      (GSSAPI, HAVE_LIBINTL, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI)
      (HAVE_GSSAPI_H, HAVE_LIBXBD, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET)
      (HAVE_MEMCMP): Remove, obsolete.
      
      * src/s/ms-w32.h (LISP_FLOAT_TYPE, HAVE_MEMCMP, HAVE_MEMCPY)
      (HAVE_MEMMOVE, HAVE_MEMSET): Don't set, obsolete.
      95f61aa2
  3. 22 Jun, 2012 1 commit
  4. 13 Jun, 2012 3 commits
    • Glenn Morris's avatar
      Remove some unused definitions from src/s · 16192a57
      Glenn Morris authored
      * src/s/bsd-common.h (BSD4_3):
      * src/s/usg5-4-common.h (USG5_4): No longer define; unused.
      
      * admin/CPP-DEFINES, src/s/template.h: Related edits.
      16192a57
    • Andreas Schwab's avatar
      Use a simple struct to implement compile time checks for the Lisp_Object type · 646b5f55
      Andreas Schwab authored
      * configure.in: Rename --enable-use-lisp-union-type to
      --enable-check-lisp-object-type and define CHECK_LISP_OBJECT_TYPE
      instead of USE_LISP_UNION_TYPE.
      
      * admin/make-emacs: Rename --union-type to --check-lisp-type.  Define
      CHECK_LISP_OBJECT_TYPE insted of USE_LISP_UNION_TYPE.
      * admin/CPP-DEFINES (DEBUG_LISP_OBJECT_TYPE): Renamed from
      USE_LISP_UNION_TYPE.
      
      * src/lisp.h (Lisp_Object) [CHECK_LISP_OBJECT_TYPE]: Define as struct
      instead of union.
      (XLI, XIL): Define.
      (XHASH, XTYPE, XINT, XUINT, make_number, XSET, XPNTR, XUNTAG): Use
      them.
      * src/emacs.c (gdb_use_struct): Renamed from gdb_use_union.
      * src/.gdbinit: Check gdb_use_struct instead of gdb_use_union.
      * src/alloc.c (widen_to_Lisp_Object): Removed.
      (mark_memory): Use XIL instead of widen_to_Lisp_Object.
      * src/frame.c (delete_frame): Remove outdated comment.
      * src/w32fns.c (Fw32_register_hot_key): Use XLI instead of checking
      USE_LISP_UNION_TYPE.
      (Fw32_unregister_hot_key): Likewise.
      (Fw32_toggle_lock_key): Likewise.
      * src/w32menu.c (add_menu_item): Likewise.
      (w32_menu_display_help): Use XIL instead of checking
      USE_LISP_UNION_TYPE.
      * src/w32heap.c (allocate_heap): Don't check USE_LISP_UNION_TYPE.
      (init_heap): Likewise.
      * src/w32term.c (w32_read_socket): Update comment.
      646b5f55
    • Glenn Morris's avatar
      Remove HAVE_SYSV_SIGPAUSE unused remnants · c62ff706
      Glenn Morris authored
      * src/s/usg5-4-common.h, src/s/unixware.h:
      Remove define/undef of HAVE_SYSV_SIGPAUSE (not used since 2010-05-04).
      
      * admin/CPP-DEFINES: Remove HAVE_SYSV_SIGPAUSE.
      c62ff706
  5. 28 May, 2012 1 commit
    • Paul Eggert's avatar
      Make 'configure' a bit smaller and faster. · 0e7a053e
      Paul Eggert authored
      * configure.in (INSTALL_INFO): Set it with one call to
      AC_PATH_PROG, not three.
      (PKG_CONFIG): Hoist this out of PKG_CHECK_MODULES, since it's
      so likely that it'll be needed.
      (AC_CHECK_HEADERS_ONCE): Prefer to AC_CHECK_HEADERS where either works.
      (AC_PROG_MAKE_SET): Remove; Automake does this.
      (sysinfo): Do not check for this function, as it's never used.
      (tzset): Check for this function just once.
      * admin/CPP-DEFINES: Remove HAVE_SYSINFO.
      * m4/manywarnings.m4: Sync from gnulib, incorporating the following:
      2012-05-27 manywarnings: remove duplicate -Wmultichar entry
      0e7a053e
  6. 22 May, 2012 1 commit
    • Paul Eggert's avatar
      Remove src/m/*. · 34374650
      Paul Eggert authored
      * configure.in: Remove all mention of src/m/*.
      (machine, machfile, M_FILE, config_machfile, and_machfile): Remove.
      All uses removed.
      (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG)
      (BITS_PER_LONG_LONG): Move to src/lisp.h.
      * lib/makefile.w32-in: Remove dependencies on
      $(EMACS_ROOT)/src/m/intel386.h.
      * make-dist: Don't make links to src/m.
      * admin/CPP-DEFINES: Do not mention src/m/*.h.
      (BITS_PER_EMACS_INT, BITS_PER_LONG, BITS_PER_CHAR)
      (BITS_PER_SHORT, BITS_PER_INT): Remove.
      * admin/MAINTAINERS: Remove src/m/.
      * lib-src/makefile.w32-in: Remove dependencies on
      $(EMACS_ROOT)/src/m/intel386.h.
      * msdos/mainmake.v2 (TAGS tags): Don't look at $(CURDIR)/src/m/intel386.h.
      * nt/config.nt: Do not include "m/intel386.h"; file was removed.
      (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
      Move to src/lisp.h.
      (EMACS_INT_MAX): New macro.
      This directory predates autoconf and is no longer needed nowadays.
      Move its few remaining bits of functionality to where they're needed.
      * src/m/README, src/m/alpha.h, src/m/amdx86-64.h, src/m/ia64.h, src/m/ibmrs6000.h:
      * src/m/ibms390x.h, src/m/intel386.h, src/m/m68k.h, src/m/macppc.h:
      * src/m/sparc.h, src/m/template.h: Remove.
      * src/Makefile.in (M_FILE): Remove.  All uses removed.
      * src/alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS):
      * src/lisp.h (USE_LSB_TAG):
      * src/mem-limits.h (EXCEEDS_LISP_PTR):
      Use VAL_MAX, not VALBITS, in #if.
      * src/lisp.h (EMACS_INT_MAX): New macro, useful in #if.
      (EMACS_UINT): Define unconditionally now.
      (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG)
      (BITS_PER_EMACS_INT): New constants, replacing
      what used to be in config.h, but not useful in #if.
      (GCTYPEBITS, VALBITS): Define unconditionally, since m/* files don't
      define them any more.
      (VAL_MAX): New macro.
      (VALMASK): Use it.
      * src/puresize.h (PURESIZE_RATIO): Use EMACS_INT_MAX, not
      BITS_PER_EMACS_INT, in #if.
      * src/s/aix4-2.h (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGPTY)
      (BROKEN_SIGPOLL): Move here from m/ibmrs6000.h, which was removed.
      * src/s/gnu-linux.h (ULIMIT_BREAK_VALUE) [__i386__]:
      * src/s/ms-w32.h (DATA_START):
      Move here from removed file m/intel386.h.
      * src/s/gnu.h (NLIST_STRUCT): Remove undef; 'configure' does this.
      * src/s/irix6-5.h (_LP64): Remove; lisp.h no longer needs this.
      34374650
  7. 21 May, 2012 1 commit
    • Paul Eggert's avatar
      Assume C89 or later. · 261cb4bb
      Paul Eggert authored
      * configure.in (AC_C_PROTOTYPES, AC_C_VOLATILE, AC_C_CONST)
      (POINTER_TYPE, PROTOTYPES): Remove.
      * admin/CPP-DEFINES: Remove NULL, const.
      * lib-src/etags.c (static, const): Remove macros.
      (PTR): Remove; all uses replaced with void *.  Omit needless casts.
      * src/alloc.c, src/buffer.c, lisp.h: Replace POINTER_TYPE with void.
      * alloc.c (overrun_check_malloc, overrun_check_realloc, xmalloc)
      (xrealloc):
      * buffer.c (mmap_free_1, mmap_enlarge): Omit needless casts.
      * editfns.c, fns.c, gmalloc.c, insdel.c, sysdep.c, termcap.c (NULL):
      * textprop.c, tparam.c (NULL): Remove.
      * ralloc.c, vm-limit.c (POINTER): Assume void * works.
      * regex.c (SIGN_EXTEND_CHAR): Assume signed char works.
      * regex.h (_RE_ARGS): Remove.  All uses rewritten to use prototypes.
      * unexelf.c (ElfBitsW): Assume c89 preprocessor or better.
      * xterm.c (input_signal_count): Assume volatile works.
      261cb4bb
  8. 19 May, 2012 2 commits
    • Paul Eggert's avatar
      Remove unused HAVE_* symbols for functions. · 9232a6d9
      Paul Eggert authored
      * configure.in (AC_CHECK_FUNCS): Remove XSetWMProtocols,
      getdomainname, mblen (twice), mbrlen (twice), mbsinit, ualarm,
      getsockopt, setsockopt, mremap, mempcpy.
      * admin/CPP-DEFINES (HAVE_GETDOMAINNAME): Remove.
      * msdos/sed2v2.inp (HAVE_MBLEN): Remove.
      * msdos/sed2x.inp (HAVE_XSETWMPROTOCOLS): Remove.
      * nt/config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS)
      (HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed.
      * src/s/ms-w32.h (HAVE_GETDOMAINNAME): Remove; not needed.
      9232a6d9
    • Paul Eggert's avatar
      Remove no-longer-used macro HAVE_FTIME. · 003fdae2
      Paul Eggert authored
      * configure.in (machine): Do not set to 'vax', since src/m/vax.h
      is being removed.
      (AC_CHECK_FUNCS): Remove ftime.
      * admin/CPP-DEFINES (HAVE_FTIME): Remove.
      * nt/config.nt (HAVE_FTIME): Remove undef; not needed.
      * src/m/vax.h: Remove; no longer needed since HAVE_FTIME is being removed.
      * src/s/ms-w32.h (HAVE_FTIME): Remove; not needed.
      003fdae2
  9. 20 Nov, 2011 2 commits
  10. 15 Jun, 2011 1 commit
  11. 27 Mar, 2011 1 commit
    • Glenn Morris's avatar
      Remove (RET)SIGTYPE; it is identical to void on all supported systems. · 9af30bdf
      Glenn Morris authored
      Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg01068.html
      
      * configure.in (AC_TYPE_SIGNAL): Remove obsolete macro.
      (AH_BOTTOM): Do not define SIGTYPE.
      
      * lib-src/emacsclient.c: Replace SIGTYPE with void.
      
      * nt/config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).
      
      * src/syssignal.h: Replace RETSIGTYPE with void.
      
      * src/atimer.c, src/data.c, src/dispnew.c, src/emacs.c, src/floatfns.c:
      * src/keyboard.c, src/keyboard.h, src/lisp.h, src/process.c, src/sysdep.c:
      * src/xterm.c: Replace SIGTYPE with void everywhere.
      
      * src/s/template.h (SIGTYPE): Remove commented out definition.
      * src/s/usg5-4-common.h (SIGTYPE): Remove definition.
      
      * admin/CPP-DEFINES: Remove SIGTYPE.
      9af30bdf
  12. 16 Feb, 2011 1 commit
  13. 10 Feb, 2011 1 commit
    • Paul Eggert's avatar
      [admin/ChangeLog] · 90e04ea2
      Paul Eggert authored
      Remove no-longer needed getloadavg symbols.
      * CPP-DEFINES (LOAD_AVE_CVT, LOAD_AVE_TYPE, FSCALE, KERNEL_FILE):
      (LDAV_SYMBOL): Remove.
      [src/ChangeLog]
      Remove no-longer needed getloadavg symbols.
      * m/alpha.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
      * m/amdx86-64.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
      * m/ia64.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
      * m/ibms390.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
      * m/macppc.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
      * m/sparc.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
      * m/template.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
      * m/vax.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
      * s/aix4-2.h (KERNEL_FILE, LDAV_SYMBOL): Remove.
      * s/bsd-common.h (KERNEL_FILE, LDAV_SYMBOL): Remove #undef.
      * s/hpux10-20.h (KERNEL_FILE, LOAD_AVE_TYPE, LOAD_AVE_CVT):
      (LDAV_SYMBOL): Remove.
      * s/unixware.h (LOAD_AVE_TYPE, LOAD_AVE_CVT, FSCALE): Remove.
      * s/usg5-4-common.h (KERNEL_FILE, LDAV_SYMBOL): Remove.
      90e04ea2
  14. 15 Jan, 2011 1 commit
  15. 03 Dec, 2010 3 commits
    • Andreas Schwab's avatar
      Remove EXPLICIT_SIGN_EXTEND. · 201ef780
      Andreas Schwab authored
      * lisp.h (union Lisp_Object): Explicitly declare signedness of
      bit-field.
      (XINT): Remove variant for EXPLICIT_SIGN_EXTEND.
      * m/alpha.h (EXPLICIT_SIGN_EXTEND): Don't define.
      * m/amdx86-64.h (EXPLICIT_SIGN_EXTEND): Likewise.
      * m/ia64.h (EXPLICIT_SIGN_EXTEND): Likewise.
      * m/ibms390.h (EXPLICIT_SIGN_EXTEND): Likewise.
      * m/ibms390x.h (EXPLICIT_SIGN_EXTEND): Likewise.
      * m/iris4d.h (EXPLICIT_SIGN_EXTEND): Likewise.
      * m/m68k.h (EXPLICIT_SIGN_EXTEND): Likewise.
      * m/sparc.h (EXPLICIT_SIGN_EXTEND): Likewise.
      * m/template.h (EXPLICIT_SIGN_EXTEND): Likewise.
      * m/hp800.h: Remove file.
      * m/mips.h: Remove file.
      201ef780
    • Chong Yidong's avatar
      90365353
    • Andreas Schwab's avatar
      Remove EXPLICIT_SIGN_EXTEND. · e5bd1670
      Andreas Schwab authored
      * lisp.h (union Lisp_Object): Explicitly declare signedness of
      bit-field.
      (XINT): Remove variant for EXPLICIT_SIGN_EXTEND.
      * m/alpha.h (EXPLICIT_SIGN_EXTEND): Don't define.
      * m/amdx86-64.h (EXPLICIT_SIGN_EXTEND): Likewise.
      * m/ia64.h (EXPLICIT_SIGN_EXTEND): Likewise.
      * m/ibms390.h (EXPLICIT_SIGN_EXTEND): Likewise.
      * m/ibms390x.h (EXPLICIT_SIGN_EXTEND): Likewise.
      * m/iris4d.h (EXPLICIT_SIGN_EXTEND): Likewise.
      * m/m68k.h (EXPLICIT_SIGN_EXTEND): Likewise.
      * m/sparc.h (EXPLICIT_SIGN_EXTEND): Likewise.
      * m/template.h (EXPLICIT_SIGN_EXTEND): Likewise.
      * m/hp800.h: Remove file.
      * m/mips.h: Remove file.
      
      * CPP-DEFINES (EXPLICIT_SIGN_EXTEND): Remove.
      e5bd1670
  16. 09 Aug, 2010 1 commit
    • Andreas Schwab's avatar
      Use autoconf determined WORDS_BIGENDIAN instead of hardcoded definition. · 671d409f
      Andreas Schwab authored
      * m/alpha.h: Don't define/undef WORDS_BIG_ENDIAN.
      * m/amdx86-64.h: Likewise.
      * m/arm.h: Likewise.
      * m/hp800.h: Likewise.
      * m/ia64.h: Likewise.
      * m/ibmrs6000.h: Likewise.
      * m/ibms390.h: Likewise.
      * m/intel386.h: Likewise.
      * m/iris4d.h: Likewise.
      * m/m68k.h: Likewise.
      * m/macppc.h: Likewise.
      * m/mips.h: Likewise.
      * m/sh3.h: Likewise.
      * m/sparc.h: Likewise.
      * m/template.h: Likewise.
      * m/vax.h: Likewise.
      * m/xtensa.h: Likewise.
      * fringe.c (init_fringe_bitmap): Test WORDS_BIGENDIAN instead of
      WORDS_BIG_ENDIAN.
      * lisp.h: Likewise.
      * md5.c: Likewise.
      * sound.c (le2hl, le2hs, be2hl, be2hs): Likewise.
      
      * CPP-DEFINES (WORDS_BIG_ENDIAN): Remove.
      
      * configure.in: Add AC_C_BIGENDIAN.
      671d409f
  17. 08 Aug, 2010 1 commit
  18. 29 Jul, 2010 1 commit
    • Dan Nicolaescu's avatar
      Clean up unexec.c, remove references to unused code. · 76fd1ee9
      Dan Nicolaescu authored
      * nt/config.nt: Remove code referring to NO_REMAP, unused.
      
      * src/unexec.c (make_hdr): Remove references to NO_REMAP, COFF,
      SEGMENT_MASK, SECTION_ALIGNMENT, ADJUST_EXEC_HEADER.
      * src/s/usg5-4.h (COFF):
      * src/s/template.h:
      * src/s/msdos.h (COFF, NO_REMAP):
      * src/s/ms-w32.h (NO_REMAP):
      * src/s/hpux10-20.h (NO_REMAP):
      * src/m/sparc.h (SEGMENT_MASK):
      * src/m/m68k.h (NO_REMAP):
      * src/m/intel386.h (SEGMENT_MASK):
      * src/m/arm.h (NO_REMAP):
      * src/m/alpha.h (COFF):
      * src/m/template.h: Remove references to unused defines.
      76fd1ee9
  19. 11 Jul, 2010 1 commit
    • Andreas Schwab's avatar
      Use strchr, strrchr instead of index, rindex · 8966b757
      Andreas Schwab authored
      * callint.c (Fcall_interactively): Use strchr, strrchr instead of
      index, rindex.
      * doc.c (get_doc_string, Fsnarf_documentation): Likewise.
      * editfns.c (Fuser_full_name, Fformat): Likewise.
      * emacs.c (argmatch, sort_args, decode_env_path): Likewise.
      * fileio.c (Ffile_symlink_p): Likewise.
      * filelock.c (current_lock_owner): Likewise.
      * font.c (font_parse_name, font_parse_family_registry): Likewise.
      * fontset.c (fontset_pattern_regexp): Likewise.
      * lread.c (read1): Likewise.
      * sysdep.c (init_system_name): Likewise.
      * xfns.c (select_visual): Likewise.
      * s/hpux10-20.h (index, rindex): Don't define.
      * s/ms-w32.h (index): Likewise.
      * s/usg5-4.h: Likewise.
      
      * sed2v2.inp (HAVE_INDEX, HAVE_RINDEX): Don't edit.
      (HAVE_STRCHR, HAVE_STRRCHR): Edit to 1.
      
      * emacsclient.c (set_local_socket): Use strchr, strrchr instead of
      index, rindex.
      * movemail.c (mail_spool_name, popmail): Likewise.
      * pop.c (pop_list): Likewise.
      
      * CPP-DEFINES (HAVE_INDEX, HAVE_RINDEX): Remove.
      
      * configure.in: Don't check for index and rindex, check for strchr
      and strrchr.  Define strchr and strrchr as index and rindex,
      resp., in src/config.h if not available.
      8966b757
  20. 08 Jul, 2010 1 commit
    • Dan Nicolaescu's avatar
      Simplify start_of_data, start_of_text and related code. · 313d9eb2
      Dan Nicolaescu authored
      * src/mem-limits.h: Remove !emacs and _LIBC conditional code.
      (start_of_data): Merge into start_of_data function.
      * src/sysdep.c (start_of_text): Remove.  Move simplified versions of
      it in the only users: src/unexaix.c and unexec.c.
      (read_input_waiting): Remove local declaration of quit_char.
      (start, etext): Remove declarations.
      (start_of_data): Merge with the version in mem-limits.h and move
      to vm-limits.c.
      * src/vm-limit.c (start_of_data): Merged and simplified version of the
      code formerly in mem-limits.h and sysdep.c.
      * src/unexec.c (start): New declaration, moved from sysdep.c.
      (start_of_text): Simplified version of the code formerly in sysdep.c.
      * unexaix.c (start_of_text): Simplified version of the code
      formerly in sysdep.c.
      * src/m/alpha.h (HAVE_TEXT_START): Remove.
      (TEXT_START): Move ...
      * src/unexalpha.c (TEXT_START): ... here.
      * src/s/hpux10-20.h (TEXT_START): Remove.
      * src/s/darwin.h (TEXT_START):
      * src/m/mips.h (TEXT_START):
      * src/m/macppc.h (HAVE_TEXT_START):
      * src/m/m68k.h (TEXT_START):
      * src/m/iris4d.h (TEXT_START):
      * src/m/intel386.h (TEXT_START):
      * src/m/ibmrs6000.h (TEXT_START):
      * src/m/ia64.h (HAVE_TEXT_START):
      * src/s/msdos.h (TEXT_START): Likewise.
      313d9eb2
  21. 07 Jul, 2010 1 commit
    • Andreas Schwab's avatar
      Replace bcopy, bzero, bcmp by memcpy, memmove, memset, memcmp · 72af86bd
      Andreas Schwab authored
      * alloc.c (overrun_check_malloc, overrun_check_realloc)
      (overrun_check_free, xstrdup, allocate_string)
      (allocate_string_data, compact_small_strings, Fmake_string)
      (make_unibyte_string, make_multibyte_string)
      (make_string_from_bytes, make_specified_string, make_float)
      (Fcons, allocate_terminal, allocate_frame, make_pure_string)
      (Fgarbage_collect): Replace bcopy, safe_bcopy, bzero, bcmp by
      memcpy, memmove, memset, memcmp.
      * atimer.c (start_atimer, set_alarm): Likewise.
      * buffer.c (clone_per_buffer_values, report_overlay_modification)
      (mmap_realloc, init_buffer_once): Likewise.
      * callint.c (Fcall_interactively): Likewise.
      * callproc.c (Fcall_process, Fcall_process_region, child_setup)
      (getenv_internal_1): Likewise.
      * casefiddle.c (casify_object): Likewise.
      * ccl.c (ccl_driver): Likewise.
      * character.c (str_as_multibyte, str_to_multibyte): Likewise.
      * charset.c (load_charset_map_from_file)
      (load_charset_map_from_file, load_charset_map_from_vector)
      (Fdefine_charset_internal): Likewise.
      * cm.c (Wcm_clear): Likewise.
      * coding.c (decode_eol, decode_coding_object)
      (Fset_coding_system_priority, make_subsidiaries): Likewise.
      * data.c (Faset): Likewise.
      * dired.c (directory_files_internal, file_name_completion_stat):
      Likewise.
      * dispnew.c (new_glyph_matrix, adjust_glyph_matrix)
      (clear_glyph_row, copy_row_except_pointers)
      (copy_glyph_row_contents, new_glyph_pool, realloc_glyph_pool)
      (save_current_matrix, restore_current_matrix)
      (build_frame_matrix_from_leaf_window, mirrored_line_dance)
      (mirror_line_dance, scrolling_window): Likewise.
      * doc.c (Fsnarf_documentation, Fsubstitute_command_keys):
      Likewise.
      * doprnt.c (doprnt): Likewise.
      * editfns.c (Fuser_full_name, make_buffer_string_both)
      (Fmessage_box, Fformat, Ftranspose_regions): Likewise.
      * emacs.c (sort_args): Likewise.
      * eval.c (Fapply, Ffuncall): Likewise.
      * fileio.c (Ffile_name_directory, make_temp_name)
      (Fexpand_file_name, search_embedded_absfilename)
      (Fsubstitute_in_file_name, Ffile_symlink_p, Finsert_file_contents)
      (auto_save_error): Likewise.
      * fns.c (Fstring_equal, Fcopy_sequence, concat)
      (string_to_multibyte, Fstring_as_unibyte, Fstring_as_multibyte)
      (internal_equal, Fclear_string, larger_vector, copy_hash_table)
      (Fmake_hash_table): Likewise.
      * fringe.c (Fdefine_fringe_bitmap): Likewise.
      * ftfont.c (ftfont_text_extents): Likewise.
      * getloadavg.c (getloadavg): Likewise.
      * image.c (define_image_type, make_image, make_image_cache)
      (x_create_x_image_and_pixmap, xbm_image_p)
      (w32_create_pixmap_from_bitmap_data, xbm_load, xpm_lookup_color)
      (xpm_image_p, x_create_bitmap_from_xpm_data, xpm_load)
      (init_color_table, x_build_heuristic_mask, pbm_image_p, pbm_load)
      (png_image_p, png_read_from_memory, png_load, jpeg_image_p)
      (tiff_image_p, tiff_read_from_memory, gif_image_p)
      (gif_read_from_memory, gif_load, svg_image_p, gs_image_p):
      Likewise.
      * indent.c (scan_for_column, compute_motion): Likewise.
      * insdel.c (gap_left, gap_right, make_gap_smaller, copy_text)
      (insert_1_both, insert_from_gap, replace_range_2): Likewise.
      * intervals.c (reproduce_tree, reproduce_tree_obj): Likewise.
      * keyboard.c (echo_char, save_getcjmp, restore_getcjmp)
      (kbd_buffer_store_event_hold, apply_modifiers_uncached)
      (store_user_signal_events, menu_bar_items, tool_bar_items)
      (process_tool_bar_item, append_tool_bar_item)
      (read_char_minibuf_menu_prompt, read_key_sequence)
      (Fread_key_sequence, Fread_key_sequence_vector, Frecent_keys):
      Likewise.
      * keymap.c (current_minor_maps, Fdescribe_buffer_bindings):
      Likewise.
      * lisp.h (STRING_COPYIN): Likewise.
      * lread.c (Fload, read1, oblookup): Likewise.
      * msdos.c (Frecent_doskeys): Likewise.
      * nsfns.m (Fx_create_frame): Likewise.
      * nsfont.m (nsfont_open, nsfont_text_extents, ns_glyph_metrics):
      Likewise.
      * nsimage.m (EmacsImage-initFromSkipXBM:width:height:)
      (EmacsImage-initForXPMWithDepth:width:height:flip:length:):
      Likewise.
      * nsmenu.m (ns_update_menubar): Likewise.
      * nsterm.m (ns_draw_fringe_bitmap, ns_term_init): Likewise.
      * print.c (print_unwind, printchar, strout, print_string)
      (print_error_message): Likewise.
      * process.c (conv_lisp_to_sockaddr, set_socket_option)
      (Fmake_network_process, Fnetwork_interface_list)
      (Fnetwork_interface_info, read_process_output, Fprocess_send_eof)
      (init_process): Likewise.
      * ralloc.c (resize_bloc, r_alloc_sbrk, r_alloc_init): Likewise.
      * regex.c (init_syntax_once, regex_compile, re_compile_fastmap):
      Likewise.
      * scroll.c (do_scrolling, do_direct_scrolling)
      (scrolling_max_lines_saved): Likewise.
      * search.c (search_buffer, wordify, Freplace_match): Likewise.
      * sound.c (wav_init, au_init, Fplay_sound_internal): Likewise.
      * syntax.c (skip_chars, skip_syntaxes): Likewise.
      * sysdep.c (child_setup_tty, sys_subshell, emacs_get_tty)
      (emacs_set_tty): Likewise.
      * term.c (encode_terminal_code, calculate_costs)
      (produce_special_glyphs, create_tty_output, init_tty, delete_tty):
      Likewise.
      * termcap.c (tgetst1, gobble_line): Likewise.
      * termhooks.h (EVENT_INIT): Likewise.
      * tparam.c (tparam1): Likewise.
      * unexalpha.c (unexec): Likewise.
      * unexec.c (write_segment): Likewise.
      * unexmacosx.c (unexec_write_zero): Likewise.
      * w32fns.c (w32_wnd_proc, Fx_create_frame, x_create_tip_frame)
      (Fx_file_dialog, Fsystem_move_file_to_trash): Likewise.
      * w32font.c (w32font_list_family, w32font_text_extents)
      (w32font_list_internal, w32font_match_internal)
      (w32font_open_internal, compute_metrics, Fx_select_font):
      Likewise.
      * w32menu.c (set_frame_menubar, add_menu_item)
      (w32_menu_display_help, w32_free_submenu_strings): Likewise.
      * w32term.c (XCreateGC, w32_initialize_display_info): Likewise.
      * w32uniscribe.c (uniscribe_list_family): Likewise.
      * w32xfns.c (get_next_msg, post_msg, prepend_msg): Likewise.
      * window.c (make_window, replace_window, set_window_buffer)
      (Fsplit_window): Likewise.
      * xdisp.c (init_iterator, RECORD_OVERLAY_STRING, reseat_to_string)
      (add_to_log, message3, x_consider_frame_title)
      (append_space_for_newline, extend_face_to_end_of_line)
      (decode_mode_spec_coding, init_glyph_string): Likewise.
      * xfaces.c (x_create_gc, get_lface_attributes_no_remap)
      (Finternal_copy_lisp_face, Finternal_merge_in_global_face)
      (face_attr_equal_p, make_realized_face, make_face_cache)
      (free_realized_faces, lookup_named_face, smaller_face)
      (face_with_height, lookup_derived_face)
      (x_supports_face_attributes_p, Finternal_set_font_selection_order)
      (Finternal_set_font_selection_order, realize_default_face)
      (compute_char_face, face_at_buffer_position)
      (face_for_overlay_string, face_at_string_position, merge_faces):
      Likewise.
      * xfns.c (xic_create_fontsetname, Fx_create_frame)
      (Fx_window_property, x_create_tip_frame)
      (Fx_backspace_delete_keys_p): Likewise.
      * xfont.c (xfont_list, xfont_match, xfont_list_family)
      (xfont_text_extents): Likewise.
      * xmenu.c (set_frame_menubar, xmenu_show): Likewise.
      * xrdb.c (magic_file_p, x_get_resource): Likewise.
      * xselect.c (x_queue_event, x_get_window_property)
      (receive_incremental_selection): Likewise.
      * xsmfns.c (x_session_check_input): Likewise.
      * xterm.c (x_send_scroll_bar_event, SET_SAVED_MENU_EVENT)
      (handle_one_xevent, x_check_errors, xim_initialize, x_term_init):
      Likewise.
      * character.h (BCOPY_SHORT): Removed.
      * config.in: Regenerate.
      * dispnew.c (safe_bcopy): Only define as dummy if PROFILING.
      * emacs.c (main) [PROFILING]: Don't declare
      dump_opcode_frequencies.
      * lisp.h (safe_bcopy): Remove declaration.
      (memset) [!HAVE_MEMSET]: Declare.
      (memcpy) [!HAVE_MEMCPY]: Likewise.
      (memmove) [!HAVE_MEMMOVE]: Likewise.
      (memcmp) [!HAVE_MEMCMP]: Likewise.
      * s/ms-w32.h (bzero, bcopy, bcmp, GAP_USE_BCOPY)
      (BCOPY_UPWARD_SAFE, BCOPY_DOWNWARD_SAFE, HAVE_BCOPY, HAVE_BCMP):
      Don't define.
      (HAVE_MEMCMP, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET): Define.
      * s/msdos.h (GAP_USE_BCOPY, BCOPY_UPWARD_SAFE)
      (BCOPY_DOWNWARD_SAFE): Don't define.
      * sysdep.c (memset) [!HAVE_MEMSET]: Define.
      (memcpy) [!HAVE_MEMCPY]: Define.
      (memmove) [!HAVE_MEMMOVE]: Define.
      (memcmp) [!HAVE_MEMCMP]: Define.
      
      * config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
      (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
      
      * sed2v2.inp (HAVE_MEMCPY, HAVE_MEMSET): Edit to 1.
      (HAVE_BZERO): Don't edit.
      
      * lwlib.c (lwlib_memset, lwlib_bcopy): Remove.
      (malloc_widget_value, free_widget_info, allocate_widget_instance)
      (lw_separator_p): Replace lwlib_memset, lwlib_bcopy, bzero, bcmp by
      memset, memcpy, memcmp.
      * lwlib-utils.c (XtApplyToWidgets): Likewise.
      * xlwmenu.c (XlwMenuInitialize): Likewise.
      * lwlib.h (lwlib_bcopy): Remove declaration.
      
      * ebrowse.c (add_sym, make_namespace): Replace bcopy, bzero by
      memcpy, memmove, memset.
      * pop.c (pop_retrieve, socket_connection, pop_getline): Likewise.
      
      * CPP-DEFINES (BCOPY_DOWNWARD_SAFE, BCOPY_UPWARD_SAFE)
      (GAP_USE_BCOPY, HAVE_BCMP, HAVE_BCOPY, bcmp, bcopy, bzero):
      Remove.
      
      * configure.in: Don't check for bcopy, bcmp, bzero.  Don't include
      <strings.h> and don't define bcopy, bzero, BCMP in config.h.
      72af86bd
  22. 30 Jun, 2010 2 commits
    • Glenn Morris's avatar
      * configure.in (HAVE_SOUND, HAVE_X_I18N, HAVE_X11R6_XIM): · a46007e9
      Glenn Morris authored
      Set with AC_DEFINE rather than AH_BOTTOM.
      
      * src/s/sol2-6.h (INHIBIT_X11R6_XIM): Remove, handled by configure now.
      
      * admin/CPP-DEFINES: Remove INHIBIT_X11R6_XIM.
      
      * configure, src/config.in: Regenerate.
      a46007e9
    • Glenn Morris's avatar
      Remove some cpp that is internal to configure.in. · 6259c2ec
      Glenn Morris authored
      * configure.in (C_OPTIMIZE_SWITCH, CANNOT_DUMP, SYSTEM_MALLOC):
      (USE_MMAP_FOR_BUFFERS, C_WARNING_SWITCH): Set with shell, not cpp.
      (LIBX): Remove, just use -lX11 in the one place this was used.
      (cannot_dump): Replace with CANNOT_DUMP.
      
      * src/Makefile.in (CANNOT_DUMP): Update for configure name change.
      
      * src/s/freebsd.h (USE_MMAP_FOR_BUFFERS):
      * src/s/irix6-5.h (USE_MMAP_FOR_BUFFERS):
      * src/s/darwin.h (SYSTEM_MALLOC):
      * src/s/sol2-10.h (SYSTEM_MALLOC): Move to configure.
      
      * src/m/alpha.h: Remove old comment.
      * src/s/aix4-2.h: Update comment.
      * src/s/template.h: Remove USE_MMAP_FOR_BUFFERS.
      
      * msdos/sed1v2.inp (CANNOT_DUMP): Update for configure name change.
      
      * admin/CPP-DEFINES: Remove USE_MMAP_FOR_BUFFERS, CANNOT_DUMP.
      
      * etc/DEBUG: Update SYSTEM_MALLOC and CANNOT_DUMP references.
      Some re-filling.
      6259c2ec
  23. 06 Jun, 2010 1 commit
    • Dan Nicolaescu's avatar
      Remove BSTRING related code, all platforms define it. · 3085237c
      Dan Nicolaescu authored
      * src/s/usg5-4.h (BSTRING): Remove definition.
      * src/s/template.h (BSTRING):
      * src/s/msdos.h (BSTRING):
      * src/s/ms-w32.h (BSTRING):
      * src/s/hpux10-20.h (BSTRING):
      * src/s/gnu-linux.h (BSTRING):
      * src/s/darwin.h (BSTRING):
      * src/s/cygwin.h (BSTRING):
      * src/s/bsd-common.h (BSTRING):
      * src/s/aix4-2.h (BSTRING): Likewise.
      * src/sysdep.c: Remove code depending on BSTRING not being defined.
      
      * configure.in: Remove code dealing with BSTRING.
      
      * lib-src/ntlib.h: Remove code dealing with BSTRING.
      
      * nt/config.nt: Remove code depending on BSTRING.
      3085237c
  24. 03 Jun, 2010 3 commits
    • Dan Nicolaescu's avatar
      Move UNEXEC definition to autoconf. · eb697db5
      Dan Nicolaescu authored
      * configure.in (unxec): Do not define and substitute.
      (UNEXEC_OBJ): New output variable, replaces cpp UNEXEC.
      
      * msdos/sed1v2.inp (UNEXEC_OBJ): Use UNEXEC_OBJ instead of unexec.
      
      * src/s/usg5-4.h (UNEXEC): Remove, move to configure.in.
      * src/s/sol2-10.h (UNEXEC):
      * src/s/irix6-5.h (UNEXEC):
      * src/s/hpux10-20.h (UNEXEC):
      * src/s/gnu-linux.h (UNEXEC):
      * src/s/darwin.h (UNEXEC):
      * src/s/cygwin.h (UNEXEC):
      * src/s/bsd-common.h (UNEXEC):
      * src/s/aix4-2.h (UNEXEC):
      * src/m/alpha.h (UNEXEC): Likewise.
      * src/Makefile.in (UNEXEC_OBJ): Define using @UNEXEC_OBJ@.
      eb697db5
    • Glenn Morris's avatar
      HAVE_ALLOCA not needed since alloca.s was removed. · 824e2978
      Glenn Morris authored
      * src/m/hp800.h (HAVE_ALLOCA):
      * src/m/ibms390x.h (HAVE_ALLOCA): Do not define, no longer needed.
      
      * msdos/sed2v2.inp: Do not edit HAVE_ALLOCA.
      
      * admin/CPP-DEFINES: Remove HAVE_ALLOCA.
      824e2978
    • Glenn Morris's avatar
      NOT_C_CODE is always true now. · 0d4bcf4d
      Glenn Morris authored
      * configure.in (AH_BOTTOM): Remove NOT_C_CODE test, it is always true.
      
      * m/ia64.h, s/gnu-linux.h, s/gnu.h, s/netbsd.h, s/usg5-4.h:
      Remove NOT_C_CODE tests, it is always true now.
      
      * nt/config.nt: Remove NOT_C_CODE tests, it is always true now.
      
      * admin/CPP-DEFINES: Remove NOT_C_CODE.
      0d4bcf4d
  25. 15 May, 2010 1 commit
  26. 14 May, 2010 2 commits