1. 02 Aug, 2012 4 commits
    • Glenn Morris's avatar
      * src/s/: Remove empty directory. · d66b744d
      Glenn Morris authored
      * make-dist: Remove src/s.
      d66b744d
    • Glenn Morris's avatar
      Move NT-specific include file to the NT include directory · 837b365b
      Glenn Morris authored
      * nt/inc/ms-w32.h: Move here from ../src/s.
      * nt/config.nt (config_opsysfile): Change to <ms-w32.h>.
      
      * s/ms-w32.h: Move to ../nt/inc.
      * src/makefile.w32-in (TAGS, TAGS-gmake, MS_W32_H):
      Update for new ms-w32.h location.
      
      * lib-src/makefile.w32-in (MS_W32_H): Update for new ms-w32.h location.
      
      * lib/makefile.w32-in (MS_W32_H): Update for new ms-w32.h location.
      
      * lisp/emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
      837b365b
    • Paul Eggert's avatar
      Port to Solaris 8. · 13294f95
      Paul Eggert authored
      Without this change, 'configure' fails because the recently-added
      wait3 prototype in config.h messes up later 'configure' tests.
      Fix this problem by droping wait3 and WRETCODE, as they're
      no longer needed on hosts that are current porting targets.
      * configure.ac (wait3, WRETCODE): Remove, fixing a FIXME.
      All uses changed to waitpid and WEXITSTATUS.
      * src/syswait.h (WRETCODE): Remove, consistently with ../configure.ac.
      13294f95
    • Glenn Morris's avatar
      * src/nsterm.m (ns_exec_path, ns_load_path): Use SEPCHAR · 90df0db3
      Glenn Morris authored
      (rather than hard-coding the path separator).
      90df0db3
  2. 01 Aug, 2012 15 commits
    • Paul Eggert's avatar
      Use "ASET (a, i, v)" rather than "AREF (a, i) = v". · 4939150c
      Paul Eggert authored
      This how ASET and AREF are supposed to work, and makes
      it easier to think about future improvements.  See
      <http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00026.html>.
      * charset.h (set_charset_attr): New function.
      All lvalue-style uses of CHARSET_DECODER etc. changed to use it.
      * lisp.h (ASET): Rewrite so as not to use AREF in an lvalue style.
      (aref_addr): New function.  All uses of &AREF(...) changed.
      (set_hash_key, set_hash_value, set_hash_next, set_hash_hash)
      (set_hash_index): New functions.  All lvalue-style uses of
      HASH_KEY etc. changed.
      * keyboard.c (set_prop): New function.  All lvalue-style uses
      of PROP changed.
      4939150c
    • Alp Aker's avatar
      * nsterm.m (ns_set_vertical_scroll_bar, ns_redeem_scroll_bar) · 947b2afd
      Alp Aker authored
        (EmacsWindow-accessibilityAttributeValue, EmacsScroller-initFrame:)
        (EmacsScroller-dealloc):  Adjust to use WVAR.  (Bug#12114)
      * nsfns.m (ns_set_name_as_filename): Likewise.
      * nsmenu.m (ns_update_menubar): Likewise.
      * nsselect.m (symbol_to_nsstring): Adjust to use SVAR.
      947b2afd
    • Eli Zaretskii's avatar
      Fix typo in src/ChangeLog. · 288479f6
      Eli Zaretskii authored
      288479f6
    • Eli Zaretskii's avatar
      Fix .gdbinit for latest INTERNAL_FIELD uses. · 2008beae
      Eli Zaretskii authored
       src/.gdbinit (xcar, xcdr, xlist, xwindow, nextcons, xprintsym):
       Adapt to latest changes in field names of the corresponding Lisp
       objects.
      2008beae
    • Eli Zaretskii's avatar
      Fix fallout from 2012-08-01T05:11:36Z!dmantipov@yandex.ru that introduced WVAR. · 4f5d0325
      Eli Zaretskii authored
       src/xdisp.c (try_window_id): Use WVAR in IF_DEBUG code.
      4f5d0325
    • Glenn Morris's avatar
      Remove src/s/msdos.h · fe3cc771
      Glenn Morris authored
      * msdos/sed2v2.inp (MSDOS, DOS_NT, FLOAT_CHECK_DOMAIN)
      (HAVE_INVERSE_HYPERBOLIC, DEVICE_SEP, IS_DIRECTORY_SEP, IS_ANY_SEP)
      (INTERNAL_TERMINAL, NULL_DEVICE, SEPCHAR, USER_FULL_NAME)
      (_setjmp, _longjmp): Move here from src/s/msdos.h.
      (config_opsysfile, config_machfile): Remove.
      * msdos/sed1v2.inp (M_FILE, S_FILE): Remove.
      * msdos/mainmake.v2 (TAGS tags): Remove src/s/msdos.h.
      
      * src/s/msdos.h: Remove file.
      * src/conf_post.h [MSDOS]: New section, moved from s/msdos.h.
      * src/Makefile.in (S_FILE): Remove.
      (config_h): Remove S_FILE.
      fe3cc771
    • Juanma Barranquero's avatar
      Sync Windows port with autogen/config.in changes. · c90acc54
      Juanma Barranquero authored
      * nt/config.nt: Sync with autogen/config.in.
      (DEVICE_SEP, FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC)
      (INTERNAL_TERMINAL, IS_ANY_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP):
      New macros.
      
      * src/s/ms-w32.h (DEVICE_SEP, IS_DIRECTORY_SEP, IS_ANY_SEP):
      Remove; moved to nt/config.nt.
      c90acc54
    • Dmitry Antipov's avatar
      Use INTERNAL_FIELD for conses and overlays. · d8a05828
      Dmitry Antipov authored
      * src/lisp.h (struct Lisp_Cons): Use INTERNAL_FIELD.
      Remove obsolete comment.
      (MVAR): New macro.
      (struct Lisp_Overlay): Use INTERNAL_FIELD.
      * src/alloc.c, src/buffer.c, src/buffer.h, src/fns.c: Adjust users.
      * admin/coccinelle/overlay.cocci: Semantic patch to replace direct
      access to Lisp_Object members of struct Lisp_Overlay to MVAR.
      d8a05828
    • Dmitry Antipov's avatar
      Use INTERNAL_FIELD for symbols. · 8271d590
      Dmitry Antipov authored
      * src/lisp.h (SVAR): New macro.  Adjust users.
      * src/alloc.c, src/bytecode.c, src/cmds.c, src/data.c, src/doc.c, src/eval.c:
      * src/fns.c, src/keyboard.c, src/lread.c, src/xterm.c: Users changed.
      * admin/coccinelle/symbol.cocci: Semantic patch to replace direct
      access to Lisp_Object members of struct Lisp_Symbol to SVAR.
      8271d590
    • Dmitry Antipov's avatar
      Use INTERNAL_FIELD for processes. · 3193acd2
      Dmitry Antipov authored
      * src/process.h (PVAR): New macro.  Adjust style.
      (struct Lisp_Process): Change Lisp_Object members to INTERNAL_FIELD.
      * src/print.c, src/process.c, src/sysdep.c, src/w32.c:
      * src/xdisp.c: Users changed.
      * admin/coccinelle/process.cocci: Semantic patch to replace direct
      access to Lisp_Object members of struct Lisp_Process to PVAR.
      3193acd2
    • Dmitry Antipov's avatar
      Use INTERNAL_FIELD for windows. · 3a45383a
      Dmitry Antipov authored
      * src/window.h (WVAR): New macro.
      (struct window): Change Lisp_Object members to INTERNAL_FIELD.
      * src/alloc.c, src/buffer.c, src/composite.c, src/dispextern.h:
      * src/dispnew.c, src/editfns.c, src/fileio.c, src/font.c, src/fontset.c:
      * src/frame.c, src/frame.h, src/fringe.c, src/indent.c, src/insdel.c:
      * src/keyboard.c, src/keymap.c, src/lisp.h, src/minibuf.c, src/nsterm.m:
      * src/print.c, src/textprop.c, src/w32fns.c, src/w32menu.c, src/w32term.c:
      * src/window.c, src/xdisp.c, src/xfaces.c, src/xfns.c, src/xmenu.c:
      * src/xterm.c: Users changed.
      * admin/coccinelle/window.cocci: Semantic patch to replace direct
      access to Lisp_Object members of struct window to WVAR.
      3a45383a
    • Paul Eggert's avatar
    • Glenn Morris's avatar
      ChangeLog fixes · 8d7c7eed
      Glenn Morris authored
      8d7c7eed
    • Glenn Morris's avatar
      Move definitions of directory and device separators to configure · 5c0c0e8a
      Glenn Morris authored
      * configure.ac (DEVICE_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP, IS_ANY_SEP):
      Move here from src/lisp.h.
      
      * src/lisp.h (IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
      Move to configure.ac.
      5c0c0e8a
    • Juanma Barranquero's avatar
      Adapt Windows port to recent changes in autogen/config.in. · 552a99b4
      Juanma Barranquero authored
      * lib-src/makefile.w32-in (CONFIG_H): Update dependencies.
      (CONF_POST_H): New macro.
      
      * lib/makefile.w32-in (CONFIG_H): Update dependencies.
      (CONF_POST_H): New macro.
      
      * nt/config.nt: Sync with autogen/config.in.
      Remove code moved to conf_post.h and include <conf_post.h>
      (NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME)
      (USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros.
      
      * src/makefile.w32-in (CONFIG_H): Update dependencies.
      (CONF_POST_H): New macro.
      
      * src/s/ms-w32.h (SEPCHAR, NULL_DEVICE): Remove; moved to nt/config.nt.
      552a99b4
  3. 31 Jul, 2012 20 commits
  4. 30 Jul, 2012 1 commit
    • Glenn Morris's avatar
      Use an include file in configure.ac's AH_BOTTOM · b429a4ee
      Glenn Morris authored
      * configure.ac (AH_BOTTOM): Use an include file, so that the
      contents do not get processed by autoheader.  Eg this prevents undefs
      being commented out, and is the recommended technique from the
      autoconf manual.
      
      * src/conf_post.h: New, split from configure.ac's AH_BOTTOM.
      
      * src/Makefile.in (config_h): Add conf_post.h.
      * src/makefile.w32-in (CONFIG_H): Add conf_post.h.
      b429a4ee