1. 01 Jan, 2019 1 commit
  2. 01 Jan, 2018 1 commit
  3. 30 Sep, 2017 1 commit
  4. 01 Jan, 2017 1 commit
  5. 10 Mar, 2016 1 commit
    • Paul Eggert's avatar
      Rework C source files to avoid ^( · 7352c6c6
      Paul Eggert authored
      Work around Bug#22884 by rewording comments and strings to avoid ‘(’
      at the start of a line unless it starts a function.  This change
      is a short-term hack; in the longer run we plan to fix cc-mode’s
      performance for C files that have ‘(’ at the start of a line in a
      comment or string.
      7352c6c6
  6. 01 Jan, 2016 1 commit
  7. 01 Jan, 2015 2 commits
  8. 16 Apr, 2014 1 commit
    • Eli Zaretskii's avatar
      Fix the MSDOS build. · bf6b4923
      Eli Zaretskii authored
       src/unexcoff.c [MSDOS]: Include libc/atexit.h.
       (copy_text_and_data): Zero out the atexit chain pointer before
       dumping Emacs.
       src/termhooks.h (encode_terminal_code): Update prototype.
       src/term.c (encode_terminal_code) [DOS_NT]: Make it externally
       visible for all DOS_NT ports, not just WINDOWSNT.
       (syms_of_term) [!MSDOS]: Don't define 'tty-menu-*' symbols on MSDOS.
       src/sysdep.c (emacs_sigaction_init, init_signals): Don't use SIGCHLD
       unless it is defined.
       (emacs_pipe) [MSDOS]: Redirect to 'pipe'.
       src/process.c (close_on_exec, accept4, process_socket): Move into
       the "ifdef subprocesses" part.
       (catch_child_signal): Condition by "ifdef subprocesses".
       (syms_of_process) <Qinternal_default_process_sentinel>
       <Qinternal_default_process_filter>: Condition by "ifdef subprocesses".
       src/msdos.h: Add prototypes for new functions.
       (EINPROGRESS): Define.
       (O_CLOEXEC): Define to zero.
       src/msdos.c (check_window_system): Remove unnecessary an
       incompatible duplicate function.
       (sys_opendir, readlinkat, faccessat, fstatat, unsetenv): New
       functions in support of new functionality.
       src/menu.c (single_menu_item): Add visual indication  of submenu
       also for menus on MSDOS frames.
       (Fx_popup_menu) [!MSDOS]: Do not call tty_menu_show on MSDOS.
       src/lisp.h (CHECK_PROCESS) [!subprocesses]: Do not define
       when async subprocesses aren't supported.
       src/font.h (FONT_WIDTH) [MSDOS]: MSDOS-specific definition.
       src/emacs.c (close_output_streams): Zero out errno before calling
       close_stream.
       src/dired.c [MSDOS]: Include msdos.h.
       src/conf_post.h (opendir) [MSDOS]: Redirect to sys_opendir.
       (DATA_START) [MSDOS]: Define.
       (SYSTEM_PURESIZE_EXTRA) [MSDOS]: Enlarge by 25K.
       src/callproc.c (block_child_signal, unblock_child_signal) [MSDOS]:
       Ifdef away for MSDOS.
       (record_kill_process) [MSDOS]: Ifdef away the entire body for MSDOS.
       (call_process_cleanup) [MSDOS]: Ifdef away portions not relevant
       for MSDOS.
       (call_process) [MSDOS]: Fix call sequence of dostounix_filename.
       Use temporary file template that is compatible with mkostemp.
       Move vfork-related portions under #ifndef MSDOS.
       (syms_of_callproc): Unify templates of MSDOS and WINDOWSNT.
      
       lisp/term/pc-win.el (x-list-fonts, x-get-selection-value): Provide
       doc strings, as required by snarf-documentation.
      
       msdos/sedlisp.inp:
       msdos/sedlibmk.inp:
       msdos/sedleim.inp:
       msdos/sed3v2.inp:
       msdos/sed2v2.inp:
       msdos/sed1v2.inp: Update Sed scripts for Emacs 24.4.
       msdos/inttypes.h: Add PRIdMAX.
       msdos/INSTALL: Update for Emacs 24.4.
       msdos/sedadmin.inp: New file.
      bf6b4923
  9. 10 Jan, 2014 1 commit
    • Paul Eggert's avatar
      Spelling fixes. · 06827ec8
      Paul Eggert authored
      * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
      * woman.el (woman-mark-horizontal-position):
      Rename from woman-mark-horizonal-position.  Use changed.
      06827ec8
  10. 01 Jan, 2014 1 commit
  11. 01 Jan, 2013 1 commit
  12. 30 Jun, 2012 1 commit
    • Eli Zaretskii's avatar
      Adapt the MS-DOS build to the latest changes. · 0d23c240
      Eli Zaretskii authored
       msdos/mainmake.v2 (bootstrap-clean): Do a maintainer-clean in lib, not
       bootstrap-clean (which doesn't exist).
       msdos/inttypes.h (PRIuMAX) [__DJGPP__ < 2.04]: Define to "llu".
       msdos/sedleim.inp (MKDIR_P): Edit to DOS "md" command.
       msdos/sed1v2.inp: (LIB_CLOCK_GETTIME): Edit to empty.
       Remove lines that invoke PAXCTL.
       (clean): Fix recipe not to run Unixy shell commands.
       msdos/sed2v2.inp (GETTIMEOFDAY_TIMEZONE): Edit to 'struct timezone'.
       (HAVE_STRNCASECMP): Edit to 1.
       msdos/sed3v2.inp (LIB_CLOCK_GETTIME): Edit to empty.
       (C_SWITCH_SYSTEM): Add "-I../msdos".
       msdos/sedlibmk.inp (GNULIB_GETTIMEOFDAY, GNULIB_PSELECT)
       (GNULIB_SELECT, HAVE_STRUCT_TIMEVAL, HAVE_SYS_SELECT_H)
       (HAVE_SYS_TIME_H, NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H)
       (NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H, NEXT_SYS_SELECT_H)
       (NEXT_SYS_TIME_H, REPLACE_GETTIMEOFDAY, REPLACE_PSELECT)
       (REPLACE_STRUCT_TIMEVAL): Edit to appropriate values.
       (BUILT_SOURCES): Edit out sys/select.h and sys/time.h.
       (mostlyclean-local, distclean-generic): Fix recipe not to run
       Unixy shell commands.
      
       src/sysselect.h [DOS_NT]: Don't include sys/select.h.
       src/s/ms-w32.h (select, pselect): Don't define here, they are
       defined in sysselect.h
       src/sysselect.h (pselect) [!HAVE_PSELECT]: Redirect to sys_select.
       src/sysdep.c: Don't include dos.h and dosfns.h.
       src/process.c (sys_select):
       src/msdos.c (sys_select): Accept one more argument and ignore it.
       src/msdos.c (event_timestamp, sys_select): Use gnulib's gettime;
       adapt data types and code to that.
       src/dosfns.c:
       src/msdos.c (gettime, settime): Define away the prototypes in dos.h,
       which clashes with the gnulib function of the same name.
      
       lisp/emacs-lisp/timer.el (timer-until): Subtract results of
       float-time, instead of taking float-time of the result of
       time-subtract, since float-time signals an error for negative time
       arguments.
      0d23c240
  13. 05 Jan, 2012 1 commit
  14. 29 Sep, 2011 1 commit
    • Eli Zaretskii's avatar
      Fix the MSDOS build. · 31bed486
      Eli Zaretskii authored
       msdos/mainmake.v2 (boot): Condition the value on the existence of
       autogen/README, not admin/admin.el, since the latter is now part
       of the release tarball.
       (install): Don't copy lib-src/fns.el, as that file is no longer
       generated in that directory.
       msdos/sed1v2.inp (LIB_PTHREAD, LIB_PTHREAD_SIGMASK): Edit to empty.
       (SETTINGS_CFLAGS, SETTINGS_LIBS): Edit these instead of
       GCONF_CFLAGS and GCONF_LIBS.
       msdos/sedlibmk.inp (ALLOCA_H, AR, ARFLAGS, GNULIB_CHDIR, GNULIB_DUP)
       (GNULIB_FDATASYNC, GNULIB_FDOPEN, GNULIB_FSTAT, GNULIB_PCLOSE)
       (GNULIB_PTHREAD_SIGMASK, GNULIB_RAISE, GNULIB_SIGACTION)
       (GNULIB_SIGPROCMASK, GNULIB_SIGNAL_H_SIGPIPE, HAVE_FDATASYNC)
       (HAVE_PCLOSE, HAVE_POPEN, HAVE_POSIX_SIGNALBLOCKING)
       (HAVE_PTHREAD_SIGMASK, HAVE_RAISE, HAVE_SIGACTION)
       (HAVE_SIGHANDLER_T, HAVE_SIGINFO_T, HAVE_SIGSET_T)
       (HAVE_STRUCT_SIGACTION_SA_SIGACTION)
       (HAVE_TYPE_VOLATILE_SIG_ATOMIC_T, LIB_PTHREAD)
       (LIB_PTHREAD_SIGMASK, NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H)
       (NEXT_SIGNAL_H, REPLACE_FDOPEN, REPLACE_PTHREAD_SIGMASK)
       (REPLACE_RAISE): New edits.
       (gl_LIBOBJS): Remove md5.o, filemode.o, and sha1.o.  Add
       pthread_sigmask.o.
       (@GL_GENERATE_ALLOCA_H_TRUE@, @GL_GENERATE_ALLOCA_H_FALSE@): Edit
       to comment out unneeded lines.
       (warn-on-use.h): Edit the recipe commands to work with DJGPP
       without requiring a Unixy shell.
       msdos/inttypes.h (strtoimax) [DJGPP < 2.04]: New macro.
       msdos/sed2v2.inp (HAVE_ALLOCA, HAVE_DECL_STRTOLL, HAVE_DECL_STRTOIMAX)
       (HAVE_STRTOLL, HAVE_SIGSET_T, HAVE_SNPRINTF): New edits.
      
       .bzrignore: Add ./GNUMakefile.unix.
       config.bat: Rename GNUMakefile, so it is not run on MS-DOS.
       Rename signal.in.h and alloca.in.h.
      
       src/sysdep.c (snprintf) [EOVERFLOW]: If EOVERFLOW is not defined,
       use EDOM.
      31bed486
  15. 07 May, 2011 1 commit
    • Eli Zaretskii's avatar
      Adapt MS-DOS configury to latest changes. · 75c0d28a
      Eli Zaretskii authored
       msdos/inttypes.h: Include stdint.h.
       (uintmax_t): Don't define, it is defined in stdint.h.
       msdos/sedlibmk.inp (am__append_1): Edit to comment out.
       (am__append_2): Edit to expose.
       (NEXT_AS_FIRST_DIRECTIVE_STDARG_H, NEXT_STDARG_H, STDARG_H): Edit
       to empty.
       (@GL_GENERATE_STDARG_H_TRUE@, @GL_GENERATE_STDARG_H_FALSE@): Edit
       to comment out corresponding lines.
      75c0d28a
  16. 30 Apr, 2011 1 commit
    • Eli Zaretskii's avatar
      Adapt the MSDOS build to latest changes. · 8db90b73
      Eli Zaretskii authored
       msdos/inttypes.h: New file.
       msdos/sed2v2.inp (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
       (HAVE_STRTOULL, HAVE_STRTOULL): Define to 1.
       src/sedlibmk.inp (BUILT_SOURCES): Edit out inttypes.h.
       src/sed1v2.inp (CPPFLAGS): Edit to "-I../msdos".
       Add ../msdos/inttypes.h to prerequisites of lread.o.
       src/dosfns.c (Fint86, Fdos_memget, Fdos_memput): Use `ASIZE (FOO)'
       rather than `XVECTOR (FOO)->size'.
      8db90b73
  17. 27 Apr, 2011 1 commit
  18. 25 Jan, 2011 1 commit
  19. 15 Jan, 2011 1 commit
  20. 02 Jan, 2011 1 commit
  21. 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
  22. 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
  23. 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
  24. 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
  25. 12 May, 2010 1 commit
  26. 13 Jan, 2010 1 commit
  27. 08 Jan, 2009 1 commit
  28. 16 Jul, 2008 2 commits
    • Dan Nicolaescu's avatar
      * m/m68k.h (linux): Use GNU_LINUX instead. · 7ab56cc4
      Dan Nicolaescu authored
      Remove boilerplate comments.
      
      * m/intel386.h: Undo reactoring from previous change.
      (LIB_STANDARD): All systems that define USG define LIB_STANDARD
      too, remove dead code.
      (linux): Use GNU_LINUX instead.
      7ab56cc4
    • Dan Nicolaescu's avatar
      * m/ibms390.h: · dc89925b
      Dan Nicolaescu authored
      * m/intel386.h:
      * m/m68k.h:
      * s/bsd-common.h:
      * s/cygwin.h:
      * s/darwin.h:
      * s/freebsd.h:
      * s/gnu.h:
      * s/msdos.h: Remove boilerplate comments.
      dc89925b
  29. 11 Jul, 2008 1 commit
    • Dan Nicolaescu's avatar
      * lisp.h: · 6e5cb96f
      Dan Nicolaescu authored
      * w32heap.c:
      * emacs.c:
      * alloc.c: Replace all references of NO_UNION_TYPE with
      USE_LISP_UNION_TYPE.
      
      * m/xtensa.h (NO_UNION_TYPE):
      * m/vax.h (NO_UNION_TYPE):
      * m/template.h (NO_UNION_TYPE):
      * m/sparc.h (NO_UNION_TYPE):
      * m/mips.h (NO_UNION_TYPE):
      * m/macppc.h (NO_UNION_TYPE):
      * m/m68k.h (NO_UNION_TYPE):
      * m/iris4d.h (NO_UNION_TYPE):
      * m/intel386.h (NO_UNION_TYPE):
      * m/ibms390x.h (NO_UNION_TYPE):
      * m/ibms390.h (NO_UNION_TYPE):
      * m/ibmrs6000.h (NO_UNION_TYPE):
      * m/ia64.h (NO_UNION_TYPE):
      * m/hp800.h (NO_UNION_TYPE):
      * m/arm.h (NO_UNION_TYPE):
      * m/amdx86-64.h (NO_UNION_TYPE):
      * m/alpha.h (NO_UNION_TYPE): Remove definition, all platform were
      defining it the same.
      6e5cb96f
  30. 10 Jul, 2008 1 commit
    • Dan Nicolaescu's avatar
      * m/template.h: · ad76189a
      Dan Nicolaescu authored
      * m/sparc.h:
      * m/mips.h:
      * m/m68k.h:
      * m/iris4d.h:
      * m/intel386.h:
      * m/ibms390x.h:
      * m/ibms390.h:
      * m/ia64.h:
      * m/hp800.h:
      * m/arm.h:
      * m/amdx86-64.h: Remove dead code and references to unused
      and compiler defined symbols.
      ad76189a
  31. 07 May, 2008 1 commit
  32. 08 Jan, 2008 1 commit
  33. 08 Aug, 2007 1 commit
  34. 25 Jul, 2007 1 commit
  35. 14 Jan, 2007 1 commit
  36. 06 Feb, 2006 1 commit