1. 08 Jun, 2010 3 commits
  2. 07 Jun, 2010 2 commits
  3. 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
  4. 05 Jun, 2010 1 commit
    • Juanma Barranquero's avatar
      Remove obsolete macro BASE_LEADING_CODE_P. · 409f2919
      Juanma Barranquero authored
      * character.h (BASE_LEADING_CODE_P): Remove.
      * regex.c [!emacs] (BASE_LEADING_CODE_P): Remove.
      * buffer.c (Fset_buffer_multibyte):
      * indent.c (scan_for_column, compute_motion):
      * insdel.c (count_combining_before, count_combining_after):
        Use LEADING_CODE_P instead of BASE_LEADING_CODE_P.
      409f2919
  5. 04 Jun, 2010 1 commit
    • Juanma Barranquero's avatar
      Turn `directory-sep-char' into a noop. · 087fc47a
      Juanma Barranquero authored
      * lisp/subr.el (directory-sep-char): Move from fileio.c and make a defconst.
      
      * src/emacs.c (decode_env_path): Don't check DIRECTORY_SEP,
        call dostounix_filename directly.
      
      * src/fileio.c (CORRECT_DIR_SEPS): Remove.
        (Ffile_name_directory, directory_file_name, Fexpand_file_name)
        (Fsubstitute_in_file_name): Use dostounix_filename instead.
        (file_name_as_directory): Use dostounix_filename, DIRECTORY_SEP.
        (syms_of_fileio) <directory-sep-char>: Move to subr.el.
      
      * src/lisp.h [WINDOWSNT] (Vdirectory_sep_char): Don't declare.
        (DIRECTORY_SEP): Define unconditionally.
      
      * src/w32proc.c (CORRECT_DIR_SEPS): Remove.
        (Fw32_short_file_name, Fw32_long_file_name): Use dostounix_filename.
      
      * src/s/ms-w32.h (DIRECTORY_SEP): Remove.
      087fc47a
  6. 03 Jun, 2010 7 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
    • Juanma Barranquero's avatar
      Remove obsolete pre-unicode2 macros. · aa3830c4
      Juanma Barranquero authored
      * character.h (MULTIBYTE_FORM_LENGTH, PARSE_MULTIBYTE_SEQ): Remove.
      * composite.c (composition_reseat_it):
      * data.c (Faset):
      * fns.c (Ffillarray):
      * regex.c (re_search_2): Use BYTES_BY_CHAR_HEAD.
        [!emacs] (BYTES_BY_CHAR_HEAD): Define instead of MULTIBYTE_FORM_LENGTH.
      aa3830c4
    • Juri Linkov's avatar
      * src/buffer.c (Fother_buffer): Add CHECK_FRAME. · d234d13e
      Juri Linkov authored
      (Fswitch_to_buffer): Remove unused variable `err'.
      d234d13e
    • Glenn Morris's avatar
      Remove NO_SOCK_SIGIO references. · e23dc1e2
      Glenn Morris authored
      * src/m/template.h (NO_SOCK_SIGIO): Remove, no longer used.
      
      * nextstep/DEV-NOTES: Remove out-of-date information.
      e23dc1e2
    • Glenn Morris's avatar
      m/hp800.h simplification. · 05b09564
      Glenn Morris authored
      * src/m/hp800.h (alloca) [__NetBSD__ && __GNUC__]: No need to define it,
      now that AH_BOTTOM does it.
      05b09564
    • 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
  7. 02 Jun, 2010 4 commits
  8. 01 Jun, 2010 1 commit
  9. 31 May, 2010 2 commits
  10. 30 May, 2010 2 commits
  11. 29 May, 2010 1 commit
  12. 28 May, 2010 4 commits
  13. 27 May, 2010 4 commits
    • Chong Yidong's avatar
      Change delete-by-moving-to-trash so Lisp calls explicitly request trashing. · f1a5d776
      Chong Yidong authored
      * src/fileio.c (Fdelete_file): Change meaning of optional arg to mean
      whether to trash.
      (internal_delete_file, Frename_file): Callers changed.
      (delete_by_moving_to_trash): Doc fix.
      (Fdelete_directory_internal): Don't move to trash.
      
      * src/callproc.c (delete_temp_file):
      * src/buffer.c (Fkill_buffer): Callers changed.
      
      * src/lisp.h: Update prototype.
      
      * lisp/diff.el (diff-sentinel):
      * lisp/epg.el (epg--make-temp-file, epg-decrypt-string)
      (epg-verify-string, epg-sign-string, epg-encrypt-string):
      * lisp/jka-compr.el (jka-compr-partial-uncompress)
      (jka-compr-call-process, jka-compr-write-region):
      * lisp/server.el (server-sentinel): Remove optional arg from
      delete-file, reverting 2010-05-03 change.
      
      * lisp/dired.el (dired-delete-file): New arg TRASH.
      (dired-internal-do-deletions): New arg TRASH.  Use progress
      reporter.
      (dired-do-flagged-delete, dired-do-delete): Use trash.
      
      * lisp/files.el (delete-directory): New arg TRASH.
      
      * lisp/speedbar.el (speedbar-item-delete): Allow trashing.
      
      * lisp/net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
      (ange-ftp-rename-remote-to-remote)
      (ange-ftp-rename-local-to-remote)
      (ange-ftp-rename-remote-to-local, ange-ftp-load)
      (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
      `delete-file'.
      (ange-ftp-delete-directory): Add optional arg to `delete-file', to
      allow trashing.
      
      * lisp/net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
      handle new TRASH arg of `delete-file'.
      
      * lisp/net/tramp-fish.el (tramp-fish-handle-delete-directory)
      (tramp-fish-handle-delete-file)
      (tramp-fish-handle-make-symbolic-link)
      (tramp-fish-handle-process-file): Use null TRASH arg in
      `tramp-compat-delete-file' call.
      
      * lisp/net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
      arg in `tramp-compat-delete-file' call.
      
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
      (tramp-gvfs-handle-write-region): Use null TRASH arg in
      `tramp-compat-delete-file' call.
      
      * lisp/net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
      (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
      `tramp-compat-delete-file' call.
      
      * lisp/net/tramp-smb.el (tramp-smb-handle-copy-file)
      (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
      (tramp-smb-handle-write-region): Use null TRASH arg in
      tramp-compat-delete-file call.
      (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
      (tramp-smb-handle-delete-file): Rename arg.
      
      * lisp/net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
      (tramp-handle-make-symbolic-link, tramp-handle-load)
      (tramp-do-copy-or-rename-file-via-buffer)
      (tramp-do-copy-or-rename-file-directly)
      (tramp-do-copy-or-rename-file-out-of-band)
      (tramp-handle-process-file, tramp-handle-call-process-region)
      (tramp-handle-shell-command, tramp-handle-file-local-copy)
      (tramp-handle-insert-file-contents, tramp-handle-write-region)
      (tramp-delete-temp-file-function): Use null TRASH arg in
      tramp-compat-delete-file call.
      f1a5d776
    • Chong Yidong's avatar
      Fix redisplay crash (Bug#6177). · f44a59e6
      Chong Yidong authored
      * xdisp.c (redisplay_window): After redisplay, check if point is
      still valid before setting it (Bug#6177).
      f44a59e6
    • Chong Yidong's avatar
      * xdisp.c (redisplay_window): After redisplay, check if point is · 5ca3929b
      Chong Yidong authored
      still valid before setting it (Bug#6177).
      5ca3929b
    • Glenn Morris's avatar
      Do not preprocess src/Makefile.in. · 81ac4f35
      Glenn Morris authored
      * configure.in: Do not preprocess src/Makefile.in.
      (cpp_undefs, CPP_NEED_TRADITIONAL): Remove.
      (AC_EGREP_CPP): Test no longer needed.
      * configure: Regenerate.
      
      * config.bat: Do not preprocess src/Makefile.in.
      
      * make-dist: No more Makefile.c files.
      
      * INSTALL, src/README: Makefiles are not preprocessed.
      
      * src/Makefile.in, src/autodeps.mk, src/deps.mk, src/ns.mk:
      Convert comments to Makefile format.
      
      * lib-src/Makefile.in (distclean): No more Makefile.c.
      * src/Makefile.in (bootstrap-clean): No more Makefile.c.
      
      * admin/notes/cpp: Remove file.
      
      * admin/quick-install-emacs (AVOID): No more Makefile.c files.
      
      * etc/PROBLEMS, etc/MACHINES: Remove details of cpp problems which can
      no longer occur.
      81ac4f35
  14. 26 May, 2010 3 commits
    • Glenn Morris's avatar
      Replace YMF_PASS_LDFLAGS with autoconf. · 90278cb6
      Glenn Morris authored
      * configure.in (YMF_PASS_LDFLAGS): Remove.
      (PRE_EDIT_LDFLAGS, POST_EDIT_LDFLAGS): New output variables.
      * configure: Regenerate.
      
      * src/Makefile.in (YMF_PASS_LDFLAGS): Remove.
      (temacs${EXEEXT}): Use PRE_EDIT_LDFLAGS, POST_EDIT_LDFLAGS.
      
      * msdos/sed1v2.inp (@PRE_EDIT_LDFLAGS@, @POST_EDIT_LDFLAGS@): Edit to nothing.
      90278cb6
    • Glenn Morris's avatar
      Remove some NS_IMPL_GNUSTEP build dead code. · ccd89fb3
      Glenn Morris authored
      * configure.in (NS_IMPL_GNUSTEP_INC, NS_IMPL_GNUSTEP_TEMACS_LDFLAGS)
      (GNUSTEP_MAKEFILES): Remove.
      (LD_SWITCH_SYSTEM_TEMACS): Move NS_IMPL_GNUSTEP_TEMACS_LDFLAGS
      stuff to here.
      
      * src/Makefile.in (NS_IMPL_GNUSTEP_INC, NS_IMPL_GNUSTEP_TEMACS_LDFLAGS):
      Remove.
      (TEMACS_LDFLAGS): Do not use NS_IMPL_GNUSTEP_TEMACS_LDFLAGS.
      
      * msdos/sed1v2.inp (NS_IMPL_GNUSTEP_INC, NS_IMPL_GNUSTEP_TEMACS_LDFLAGS):
      No longer present.
      
      Comments:
      See http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00846.html.
      Nothing from gui.make was used at all in src/Makefile.in.  The only
      thing used from base.make was $CONFIG_SYSTEM_LIBS, but because we only
      set shared _after_ sourcing base.make, it was always empty.  We can
      move the remaining flags, set in configure, to the standard variable
      LD_SWITCH_SYSTEM_TEMACS.
      ccd89fb3
    • Kenichi Handa's avatar
      Fix for finding a static composition. · b7050583
      Kenichi Handa authored
      b7050583
  15. 25 May, 2010 4 commits
    • Glenn Morris's avatar
      Relocate NS_IMPL_GNUSTEP_TEMACS_LDFLAGS. · c345fe90
      Glenn Morris authored
      * src/Makefile.in (@NS_IMPL_GNUSTEP_INC@, NS_IMPL_GNUSTEP_TEMACS_LDFLAGS):
      Move before TEMACS_LDFLAGS.
      (TEMACS_LDFLAGS): Use $NS_IMPL_GNUSTEP_TEMACS_LDFLAGS.
      (temacs${EXEEXT}): Do not use $NS_IMPL_GNUSTEP_TEMACS_LDFLAGS.
      c345fe90
    • Glenn Morris's avatar
      Do not include config.h in src/Makefile.in. · 2e0689ab
      Glenn Morris authored
      * src/Makefile.in (NOT_C_CODE): No longer define.
      (config.h): No longer include.
      2e0689ab
    • Glenn Morris's avatar
      Move some stuff from LD_SWITCH_SYSTEM to LD_SWITCH_SYSTEM_TEMACS. · 8009a5e8
      Glenn Morris authored
      * configure.in (LD_SWITCH_SYSTEM): Move some gnu-linux stuff...
      (LD_SWITCH_SYSTEM_TEMACS): ... to here.
      
      * src/Makefile.in (LD_SWITCH_SYSTEM_TEMACS): Move definition after some
      variables it may reference.
      8009a5e8
    • Glenn Morris's avatar
      Remove LD_SWITCH_SYSTEM_EXTRA. · e5458003
      Glenn Morris authored
      * configure.in (LD_SWITCH_SYSTEM_EXTRA): Remove.
      (LD_SWITCH_SYSTEM_TEMACS): Put darwin stuff from LD_SWITCH_SYSTEM_EXTRA
      here instead.
      
      * src/Makefile.in (LD_SWITCH_SYSTEM_EXTRA): Remove.
      (TEMACS_LDFLAGS): Remove LD_SWITCH_SYSTEM_EXTRA.
      
      * msdos/sed1v2.inp (LD_SWITCH_SYSTEM_EXTRA): No longer present.
      e5458003