1. 01 Aug, 2012 7 commits
    • 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
  2. 31 Jul, 2012 20 commits
  3. 30 Jul, 2012 13 commits
    • 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
    • Jan Djärv's avatar
      Don't open files from Cocoa-parsed command line. · adff3182
      Jan Djärv authored
      --eval '(whatever)' will open '(whatever)' if --eval is the last option.
      
      * src/nsterm.m (ns_do_open_file): New variable.
      (ns_term_init): Set ns_do_open_file to NO after run returns.
      (openFile, openTempFile, openFileWithoutUI, openFiles): Open
      files only if ns_do_open_file.
      adff3182
    • Paul Eggert's avatar
      * lisp.h (SWITCH_ENUM_CAST): Remove. All uses removed. · 7393bcbb
      Paul Eggert authored
      This no-op macro hasn't been needed for many years.
      * src/regex.c (SWITCH_ENUM_CAST) [!emacs]: Likewise.
      7393bcbb
    • Paul Eggert's avatar
      Export DIRECTORY_SEP, TYPEMASK, VALMASK to GDB. · c32af1e4
      Paul Eggert authored
      * alloc.c (gdb_make_enums_visible) [USE_LSB_TAG]: Add lsb_bits.
      * lisp.h (enum lsb_bits) [USE_LSB_TAG]: New enum, for
      gdb_make_enums_visible.
      (TYPEMASK, VALMASK) [USE_LSB_TAGS]: Now enum constants, not macros.
      (DIRECTORY_SEP): Now a constant, not a macro.
      c32af1e4
    • Eli Zaretskii's avatar
      Fix bug #12082 with input of Meta-non-ASCII-characters on MS-Windows. · 302fc036
      Eli Zaretskii authored
       src/w32fns.c (w32_wnd_proc): Pass w32_keyboard_codepage to
       w32_kbd_patch_key as the 2nd arg.
       src/w32term.c <w32_keyboard_codepage>: Renamed from
       keyboard_codepage and now external.  All users changed.
       src/w32term.h: Add declaration of w32_keyboard_codepage.
       src/w32inevt.c (w32_kbd_patch_key): Accept an additional argument --
       the codepage to translate keys to Unicode.  If this argument is
       -1, use the value returned by GetConsoleCP.  All callers changed.
      302fc036
    • Paul Eggert's avatar
      Update .PHONY listings in makefiles. · 0aee6912
      Paul Eggert authored
      0aee6912
    • Paul Eggert's avatar
      * lisp.h (STRING_BYTES_BOUND): Cast entire result to ptrdiff_t. · 88fb40b4
      Paul Eggert authored
      This is a bit clearer.  Fix some commentary typos.
      88fb40b4
    • Glenn Morris's avatar
      Move TIOCSIGSEND from src/s to configure · b65e7c46
      Glenn Morris authored
      * configure.ac (TIOCSIGSEND): Move here from src/s.
      
      * src/s/usg5-4-common.h (TIOCSIGSEND): Let configure set it.
      * src/s/irix6-5.h (TIOCSIGSEND): No more need to undefine.
      b65e7c46
    • Glenn Morris's avatar
      Empty src/s/netbsd.h and remove the file · 32bac6d6
      Glenn Morris authored
      * configure.ac (SIGNAL_H_AHB): New hack macro.
      (opsysfile): Set to empty on netbsd, openbsd.
      (AH_BOTTOM): Include signal.h if SIGNAL_H_AHB is defined.
      
      * src/s/netbsd.h: Let configure include signal.h if needed.
      Remove file, which is now empty.
      32bac6d6
    • Glenn Morris's avatar
      Move _longjmp, _setjmp from src/s to configure · 0a763bd1
      Glenn Morris authored
      * configure.ac (_longjmp, _setjmp): Move here from src/s.
      
      * src/s/usg5-4-common.h (_longjmp, _setjmp): Let configure set them.
      * src/s/irix6-5.h (_longjmp, _setjmp): No more need to undefine.
      0a763bd1
    • Andreas Schwab's avatar
      Fixes: debbugs:12090 · 169304bd
      Andreas Schwab authored
      * keymap.c (Fkey_description): Don't remove 0x80 bit from
      non-single-byte char when adding meta modifier.
      169304bd
    • Dmitry Antipov's avatar
      Convert safe_call to use variable number of arguments. · 6cd7a139
      Dmitry Antipov authored
      * xdisp.c (safe_call): Convert to use varargs.  Adjust users.
      (safe_call2): Fix comment.
      * lisp.h (safe_call): Adjust prototype.
      * coding.c (encode_coding_object): Change to use safe_call2.
      * xfaces.c (merge_face_heights): Change to use safe_call1.
      6cd7a139
    • Glenn Morris's avatar
      Remove s/aix4-2.h · 227f5bd0
      Glenn Morris authored
      * configure.ac (opsysfile): Set to empty on aix4-2.
      
      * src/s/aix4-2.h: Remove empty file.
      227f5bd0