1. 15 Jan, 2020 1 commit
    • Stefan Kangas's avatar
      Remove unused ftx font backend driver · 576dfc8a
      Stefan Kangas authored
      * src/ftxfont.c: Remove file.
      * admin/notes/font-backend:
      * configure.ac:
      * src/Makefile.in:
      * src/deps.mk (ftxfont.o):
      * src/font.c (syms_of_font):
      * src/font.h (top-level, font_property_index):
      * src/xfns.c (Fx_create_frame, x_create_tip_frame): Remove unused ftx
      font backend driver.  Thanks to Glenn Morris for pointing out that it
      can be removed.  (Bug#34663)
      576dfc8a
  2. 01 Jan, 2020 1 commit
  3. 01 Jan, 2019 1 commit
  4. 06 Aug, 2018 1 commit
    • Paul Eggert's avatar
      Rename src/regex.c to src/regex-emacs.c. · e5652268
      Paul Eggert authored
      This is in preparation for using Gnulib regex for etags,
      to avoid collisions in include directives.
      * src/regex-emacs.c: Rename from src/regex.c.
      * src/regex-emacs.h: Rename from src/regex.h.  All uses changed.
      * test/src/regex-emacs-tests.el: Rename from test/src/regex-tests.el.
      e5652268
  5. 01 Jan, 2018 1 commit
  6. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      Most of this change is to boilerplate commentary such as license URLs.
      This change was prompted by ftp://ftp.gnu.org's going-away party,
      planned for November.  Change these FTP URLs to https://ftp.gnu.org
      instead.  Make similar changes for URLs to other organizations moving
      away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
      fsf.org when this works, as this will further help defend against
      man-in-the-middle attacks (for this part I omitted the MS-DOS and
      MS-Windows sources and the test tarballs to keep the workload down).
      HTTPS is not fully working to lists.gnu.org so I left those URLs alone
      for now.
      bc511a64
  7. 01 Jan, 2017 1 commit
  8. 30 Apr, 2016 1 commit
    • Eli Zaretskii's avatar
      Fix the MSDOS build · ccdaf04c
      Eli Zaretskii authored
      * config.bat:
      * msdos/sedlisp.inp:
      * msdos/sedlibmk.inp:
      * msdos/sedleim.inp:
      * msdos/sedadmin.inp:
      * msdos/sed6.inp:
      * msdos/sed3v2.inp:
      * msdos/sed2v2.inp:
      * msdos/sed1v2.inp: Adapt to Emacs 25.
      
      * src/process.c (remove_slash_colon): Move out of "#ifdef
      subprocesses" block, as it its called unconditionally.  Move
      ADD_SUBFEATURE calls into "#ifdef subprocesses" block, as they
      reference variables only defined in that block.
      * src/msdos.h: Provide prototypes for IT_set_frame_parameters,
      faccessat, msdos_fatal_signal, syms_of_msdos, pthread_sigmask,
      dos_keysns, dos_keyread, run_msdos_command, and
      syms_of_win16select, to avoid compiler warnings.
      * src/msdos.c (SYS_ENVIRON): Define to either '_environ' or
      'environ', depending on the DJGPP version.
      Remove declarations of externally-visible Lisp objects, like
      Qbackground_color and Qreverse.
      (run_msdos_command): First argument is not signed, not unsigned.
      Use SYS_ENVIRON.
      (sys_select): Use 'timespec_cmp' instead of 'timespec_sign', as
      the latter doesn't work when 'time_t' is an unsigned data type.
      This caused idle timers to behave incorrectly: they only fired
      after a keyboard input event.
      * src/frame.c (adjust_frame_size) [MSDOS]: Account for
      FRAME_TOP_MARGIN that isn't counted in the frame's number of
      lines, but dos_set_window_size needs it to be added.
      * src/lread.c (INFINITY, NAN) [DJGPP < 2.05]: Provide definitions.
      * src/fns.c (sort_vector_copy) [__GNUC__ < 4]: Provide a prototype
      that works around compilation errors with older GCC versions.
      * src/w16select.c: Don't declare QCLIPBOARD and QPRIMARY as Lisp
      Objects.
      * src/filelock.c [MSDOS]: Ifdef away most of the code.  Provide
      no-op implementations for 'lock_file' and 'unlock_file'.
      (Ffile_locked_p) [MSDOS]: Always return nil.  This avoids multiple
      ifdefs in all users of filelock.c functionality.
      * src/conf_post.h (EOVERFLOW, SIZE_MAX) [DJGPP < 2.04]: Define.
      * src/emacs.c [MSDOS]: Include dosfns.h, to avoid compiler
      warnings.
      * src/dosfns.h: Provide prototypes for dos_cleanup,
      syms_of_dosfns, and init_dosfns.
      * src/deps.mk (atimer.o): Depend on msdos.h.
      (emacs.o): Depend on dosfns.h.
      * src/atimer.c [MSDOS]: Include msdos.h, to avoid compiler
      warnings.
      
      * lisp/window.el (window--adjust-process-windows): Skip the body
      if 'process-list' is not available.  This avoids failure to start
      up on MS-DOS.
      * lisp/vc/diff.el (diff-no-select): Test 'make-process', not
      'start-process', as the latter is now available on all platforms.
      * lisp/textmodes/ispell.el (ispell-async-processp): Replace
      'start-process' with 'make-process' in a comment.
      * lisp/term/internal.el (IT-unicode-translations): Modify and add
      a few translations to display Info files with Unicode markup.  Fix
      an ancient off-by-one mismatch error with Unicode codepoints.
      * lisp/progmodes/compile.el (compilation-start): Test
      'make-process', not 'start-process', as the latter is now
      available on all platforms.
      * lisp/man.el (Man-build-man-command, Man-getpage-in-background):
      Test 'make-process', not 'start-process', as the latter is now
      available on all platforms.
      * lisp/international/mule-cmds.el (set-coding-system-map): Test
      'make-process', not 'start-process', as the latter is now
      available on all platforms.
      * lisp/eshell/esh-cmd.el (eshell-do-pipelines-synchronously): Doc
      fix.
      (eshell-execute-pipeline): Test 'make-process', not
      'start-process', as the latter is now available on all platforms.
      ccdaf04c
  9. 01 Jan, 2016 1 commit
  10. 16 May, 2015 1 commit
    • Glenn Morris's avatar
      Replace AC_SUBST_FILE in configure with include in Makefiles. · 48e384d7
      Glenn Morris authored
      * configure.ac (DEPDIR, MKDEPDIR, deps_frag, lwlib_deps_frag)
      (oldxmenu_deps_frag, lisp_frag): Remove output variables/files.
      (AUTO_DEPEND): New output variable.
      * lwlib/Makefile.in (AUTO_DEPEND): New, set by configure.
      (DEPFLAGS, MKDEPDIR): Set directly via conditional.
      (lwlib_deps_frag): Replace by conditional include.
      * lwlib/autodeps.mk: Remove file.
      * oldXMenu/Makefile.in (AUTO_DEPEND): New, set by configure.
      (DEPFLAGS, MKDEPDIR): Set directly via conditional.
      (oldxmenu_deps_frag): Replace by conditional include.
      * oldXMenu/autodeps.mk: Remove file.
      * src/Makefile.in (AUTO_DEPEND): New, set by configure.
      (DEPFLAGS, MKDEPDIR): Set directly via conditional.
      (lisp_frag): Replace by an include.
      (deps_frag): Replace by conditional include.
      * src/autodeps.mk: Remove file.
      48e384d7
  11. 01 Jan, 2015 2 commits
  12. 28 Jun, 2014 1 commit
    • Glenn Morris's avatar
      Use gcc auto-dependency information for lwlib and oldXMenu · 93160ec3
      Glenn Morris authored
      * configure.ac (lwlib_deps_frag, oldxmenu_deps_frag): New output files.
      
      * make-dist (lwlib, oldXMenu): Distribute *.mk.
      
      * lwlib/Makefile.in: Move old dependency information to new file deps.mk.
      (MKDIR_P, DEPFLAGS, MKDEPDIR, lwlib_deps_frag):
      New, set by configure.
      (DEPDIR): New variable.
      (ALL_CFLAGS): Add DEPFLAGS.
      (.c.o): Add MKDEPDIR.
      (clean, mostlyclean): Delete DEPDIR.
      
      * lwlib/deps.mk, lwlib/autodeps.mk: New files.
      
      * oldXMenu/Makefile.in: Move old dependency information to new file deps.mk.
      (MKDIR_P, DEPFLAGS, MKDEPDIR, oldxmenu_deps_frag):
      New, set by configure.
      (DEPDIR): New variable.
      (ALL_CFLAGS): Add DEPFLAGS.
      (.c.o): Add MKDEPDIR.
      (clean, mostlyclean): Delete DEPDIR.
      
      * oldXMenu/deps.mk, oldXMenu/autodeps.mk: New files.
      
      * src/deps.mk: Comment update.
      
      * .bzrignore: Ignore lwlib/deps, oldXMenu/deps.
      93160ec3
  13. 01 Jan, 2014 1 commit
  14. 13 Jul, 2013 1 commit
  15. 25 Feb, 2013 1 commit
    • Paul Eggert's avatar
      Simplify data_start configuration. · 1ddc2bd6
      Paul Eggert authored
      This is a followon simplification to the fix for Bug#13650.
      * admin/CPP-DEFINES (DATA_START, ORDINARY_LINK): Remove.
      * configure.ac (CRT_DIR, LIB_STANDARD, START_FILES, DATA_START)
      (LD_FIRSTFLAG, ORDINARY_LINK, LIB_GCC): Remove.
      (AC_CHECK_HEADERS_ONCE): Remove sys/resource.h, as it's
      not always needed.
      (HAVE_DATA_START): New macro.
      * etc/PROBLEMS (LIBS_SYSTEM, LIBS_MACHINE, LIBS_STANDARD): Remove.
      Remove legacy-systems section, as this stuff is no longer
      applicable with current linking strategies.
      * src/Makefile.in (LD_FIRSTFLAG, LIB_GCC, CRT_DIR, LIB_STANDARD)
      (START_FILES): Remove.  All uses removed.
      (otherobj): Remove $(VMLIMIT_OBJ), as it's now first.
      (ALLOBJS): Move here from autodeps.mk, and with VMLIMITS_OBJ first.
      (buildobj.h): Use it.
      ($(ALLOBJS)): Depend on globals.h.
      (temacs$(EXEEXT)): Use $(ALLOBJS).
      * src/autodeps.mk (ALLOBJS): Move to Makefile.in.
      * src/deps.mk (vm-limit.o):
      * src/makefile.w32-in ($(BLD)/vm-limit.$(O)):
      Do not depend on mem-limits.h.
      * src/emacs.c (__do_global_ctors, __do_global_ctors_aux)
      (__do_global_dtors, __CTOR_LIST__, __DTOR_LIST__)
      [__GNUC__ && !ORDINARY_LINK]: Remove.
      * src/mem-limits.h, src/pre-crt0.c: Remove.
      * src/unexaix.c, src/unexcoff.c: Don't include mem-limits.h.
      * src/unexcoff.c (etext): New decl.
      (make_hdr): Use it instead of start_of_data.
      * src/vm-limit.c: Move most of mem-limits.h's contents here.
      (data_start): New decl.  It's OK if this is approximate,
      so simplify-away some unnecessary exactness.
      (POINTER): Remove; all uses removed.
      (data_space_start): Now char *, to avoid casts.
      (exceeds_lisp_ptr): New function, replacing the old
      EXCEEDS_LISP_PTR macro.  All uses changed.
      (check_memory_limits): Simplify and remove casts.
      (start_of_data) [!CANNOT_DUMP || !SYSTEM_MALLOC]: Remove.
      (memory_warnings): Use data_start instead of start_of_data.
      
      Fixes: debbugs:13783
      1ddc2bd6
  16. 01 Jan, 2013 1 commit
  17. 10 Dec, 2012 1 commit
  18. 05 Jan, 2012 1 commit
  19. 15 Aug, 2011 1 commit
    • Eli Zaretskii's avatar
      Use uniprop tables instead of biditype.h and bidimirror.h. · 474a8465
      Eli Zaretskii authored
       src/bidi.c (bidi_initialize): Use uniprop_table instead of including
       biditype.h and bidimirror.h.
       src/biditype.h: File removed.
       src/bidimirror.h: File removed.
       src/deps.mk (bidi.o): Remove biditype.h and
       bidimirror.h.
       src/makefile.w32-in ($(BLD)/bidi.$(O)): Remove biditype.h and
       bidimirror.h.
       src/dispextern.h: Fix a typo in the comment to bidi_type_t.
       src/chartab.c: Improve commentary for the uniprop_table API.
      
       admin/unidata/bidimirror.awk: File removed.
       admin/unidata/biditype.awk: File removed.
       admin/unidata/makefile.w32-in (all): Remove src/biditype.h and
       src/bidimirror.h.
       (../../src/biditype.h, ../../src/bidimirror.h): Deleted.
       admin/unidata/Makefile.in (all): Remove src/biditype.h and
       src/bidimirror.h.
       (../../src/biditype.h, ../../src/bidimirror.h): Deleted.
      474a8465
  20. 21 Jun, 2011 1 commit
  21. 24 May, 2011 1 commit
  22. 23 Apr, 2011 1 commit
    • Eli Zaretskii's avatar
      Fix doprnt so it could be used safely in `verror'. (Bug#8435) · e6c3da20
      Eli Zaretskii authored
       src/doprnt.c: Include limits.h.
       (SIZE_MAX): New macro.
       (doprnt): Return a size_t value.  2nd arg is now size_t.  Many
       local variables are now size_t instead of int or unsigned.
       Improve overflow protection.  Support `l' modifier for integer
       conversions.  Support %l conversion.  Don't assume an EMACS_INT
       argument for integer conversions and for %c.
       src/lisp.h (doprnt): Restore prototype.
       src/makefile.w32-in ($(BLD)/callint.$(O)): Depend on
       $(SRC)/character.h.
       src/Makefile.in (base_obj): Add back doprnt.o.
       src/deps.mk (doprnt.o): Add back prerequisites.
       (callint.o): Depend on character.h.
       src/eval.c (internal_lisp_condition_case): Include the handler
       representation in the error message.
       (verror): Call doprnt instead of vsnprintf.  Fix an off-by-one bug
       when breaking from the loop.
       src/xdisp.c (vmessage): Call doprnt instead of vsnprintf.
       src/callint.c (Fcall_interactively): When displaying error message
       about invalid control letter, pass the character's codepoint, not
       a pointer to its multibyte form.  Improve display of the character
       in octal and display also its hex code.
       src/character.c (char_string): Use %x to display the (unsigned)
       codepoint of an invalid character, to avoid displaying a bogus
       negative value.
       src/font.c (check_otf_features): Pass SDATA of SYMBOL_NAME to
       `error', not SYMBOL_NAME itself.
       src/coding.c (Fencode_sjis_char, Fencode_big5_char): Use %c for
       character arguments to `error'.
       src/charset.c (check_iso_charset_parameter): Fix incorrect argument
       to `error' in error message about FINAL_CHAR argument.  Make sure
       FINAL_CHAR is a character, and use %c when it is passed as
       argument to `error'.
      e6c3da20
  23. 07 Apr, 2011 1 commit
  24. 01 Apr, 2011 1 commit
  25. 19 Mar, 2011 1 commit
    • Paul Eggert's avatar
      Make tparam.h and terminfo.c consistent. · af8a867c
      Paul Eggert authored
      * cm.c (tputs, tgoto, BC, UP): Remove extern decls.  Include
      tparam.h instead, since it declares them.
      * cm.h (PC): Remove extern decl; tparam.h now does this.
      * deps.mk (cm.o, terminfo.o): Depend on tparam.h.
      * terminfo.c: Include tparam.h, to check interfaces.
      (tparm): Make 1st arg a const pointer in decl.  Put it at top level.
      (tparam): Adjust signature to match interface in tparam.h;
      this removes some undefined behavior.  Check that outstring and len
      are zero, which they always are with Emacs.
      * tparam.h (PC, BC, UP): New extern decls.
      af8a867c
  26. 17 Mar, 2011 1 commit
  27. 16 Mar, 2011 1 commit
    • Paul Eggert's avatar
      New file unexec.h, the (simple) interface for unexec. · ce701a33
      Paul Eggert authored
      * deps.mk (emacs.o, unexaix.o, unexcw.o, unexcoff.o, unexelf.o):
      (unexhp9k800.o, unexmacosx.o, unexsol.o, unexw32.o):
      Depend on unexec.h.
      * emacs.c [!defined CANNOT_DUMP]: Include unexec.h.
      * unexaix.c, unexcoff.c, unexcw.c, unexelf.c, unexhp9k800.c:
      * unexmacosx.c, unexsol.c, unexw32.c: Include unexec.h.
      ce701a33
  28. 12 Mar, 2011 2 commits
    • Eli Zaretskii's avatar
      Make termcap.c implementations consistent with tparam.h prototypes. · 058e5dad
      Eli Zaretskii authored
       src/termcap.c [MSDOS]: Include "msdos.h.
       (find_capability, tgetnum, tgetflag, tgetstr, tputs, tgetent):
       Constify `char *' arguments and their references according to
       prototypes in tparam.h.
       src/deps.mk (termcap.o): Depend on tparam.h and msdos.h.
      058e5dad
    • Paul Eggert's avatar
      Improve quality of tests for time stamp overflow. For example, · b8d9bd41
      Paul Eggert authored
      without this patch (encode-time 0 0 0 1 1 1152921504606846976)
      returns the obviously-bogus value (-948597 62170) on my RHEL 5.5
      x86-64 host.  With it, it reports time overflow.
      * deps.mk (editfns.o): Depend on ../lib/intprops.h.
      * editfns.c: Include limits.h and intprops.h.
      (TIME_T_MIN, TIME_T_MAX): New macros.
      (time_overflow): Move earlier, to before first use.
      (hi_time, lo_time): New functions, for an accurate test for
      out-of-range times.
      (Fcurrent_time, Fget_internal_run_time, make_time): Use them.
      (Fget_internal_run_time): Don't assume time_t fits in int.
      (make_time): Use list2 instead of Fcons twice.
      (Fdecode_time): More accurate test for out-of-range times.
      (check_tm_member): New function.
      (Fencode_time): Use it, to test for out-of-range times.
      b8d9bd41
  29. 08 Mar, 2011 1 commit
    • Paul Eggert's avatar
      * tparam.h: New file. · 50938595
      Paul Eggert authored
      * term.c, tparam.h: Include it.
      * deps.mk (term.o, tparam.o): Depend on tparam.h.
      * term.c (tputs, tgetent, tgetflag, tgetnum, tparam, tgetstr):
      Move these decls to tparam.h, and make them agree with what
      is actually in tparam.c.  The previous trick of using incompatible
      decls in different modules does not conform to the C standard.
      All callers of tparam changed to use tparam's actual API.
      * tparam.c (tparam1, tparam, tgoto):
      Use const pointers where appropriate.
      50938595
  30. 20 Feb, 2011 1 commit
    • Paul Eggert's avatar
      Import filemode module from gnulib. · cfd812fa
      Paul Eggert authored
      * Makefile.in (base_obj): Remove filemode.o, as it's now in ../lib.
      * deps.mk (dired.o): Depend on ../lib/filemode.h, too.
      (filemode.o): Remove; this is now in ../lib.
      * dired.c: Include <filemode.h>.
      (filemodestring): Remove now-redundant decl.
      * config.in: Regenerate.
      
      2011-02-20  Paul Eggert  <eggert@cs.ucla.edu>
      cfd812fa
  31. 19 Feb, 2011 2 commits
  32. 18 Feb, 2011 1 commit
    • Paul Eggert's avatar
      Import crypto/md5 module from gnulib. · 942f733f
      Paul Eggert authored
      * Makefile.in (MAKEFILE_MODULES): Add crypto/md5.
      * admin/notes/copyright: Remove src/md5.c and src/md5.h as
      special cases.
      * src/Makefile.in (base_obj): Remove md5.o, since this file
      is in lib now.
      * src/deps.mk (md5.o): Remove.
      * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4:
      Regenerate.
      * lib/md5.c: Regenerate.  This renames the file from src/md5.c,
      and adds some porting improvements from gnulib.
      * lib/md5.h: Regenerate, likwise; rename from src/md5.h.
      * m4/md5.m4: New file, from gnulib.
      
      2011-02-18  Paul Eggert  <eggert@cs.ucla.edu>
      942f733f
  33. 16 Feb, 2011 1 commit
  34. 08 Feb, 2011 1 commit
  35. 04 Feb, 2011 1 commit
  36. 30 Jan, 2011 1 commit
  37. 25 Jan, 2011 1 commit