1. 31 Jul, 2012 12 commits
  2. 30 Jul, 2012 26 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
    • Paul Eggert's avatar
      Do not overwrite config.status while executing it. · 8f25abd3
      Paul Eggert authored
      * Makefile.in (MAKEFILE_NAME): New macro.
      ($(MAKEFILE_NAME)): Rename rule from Makefile.
      * configure.ac (epaths): Set MAKEFILE_NAME to a bogus value,
      so that GNU 'make' isn't tempted to make the Makefile and then
      regenerate config.status while config.status is running.
      
      Fixes: debbugs:11214
      8f25abd3
    • 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
    • Stefan Merten's avatar
      Silence `checkdoc-ispell'. · 1f45e27e
      Stefan Merten authored
      (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
      (rst-official-version, rst-official-cvs-rev)
      (rst-package-emacs-version-alist): Update to upstream V1.3.1.
      (rst-mode-map): New key binding.
      1f45e27e
    • 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
    • Glenn Morris's avatar
      Auto-commit of generated files. · 259a4178
      Glenn Morris authored
      259a4178
    • Julien Danjou's avatar
    • Jan Djärv's avatar
      847bb9eb
    • 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
    • Glenn Morris's avatar
      * s/aix4-2.h (sigmask): No need to undefine it. · 7b8a48e4
      Glenn Morris authored
      (syssignal.h does that unconditionally)
      7b8a48e4
    • Glenn Morris's avatar
      * configure.ac (opsysfile): Tweak message for null case. · abc7ec54
      Glenn Morris authored
      (The autoconf manual says this is portable.)
      abc7ec54
    • Glenn Morris's avatar
      Remove some empty src/s files. · d34d6ffc
      Glenn Morris authored
      * configure.ac (opsysfile): Set to empty on freebsd, gnu-linux,
      gnu-kfreebsd; and to usg5-4-common.h on sol2*, unixware.
      
      * src/s/freebsd.h, src/s/gnu-linux.h, src/s/sol2-6.h, src/s/unixware.h:
      Remove empty files.
      d34d6ffc
    • Paul Eggert's avatar
      Merge from gnulib, incorporating: · dc5493f1
      Paul Eggert authored
      * doc/misc/texinfo.tex: Update to 2012-07-29.17 version.
      dc5493f1
    • Paul Eggert's avatar
      Export to GDB most of lisp.h's remaining object-like macros. · 03a660a6
      Paul Eggert authored
      * lisp.h (min, max): Move earlier, because they're used earlier now.
      (INTMASK, ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK)
      (CHAR_TABLE_STANDARD_SLOTS, CHARTAB_SIZE_BITS_0)
      (CHARTAB_SIZE_BITS_1, CHARTAB_SIZE_BITS_2, CHARTAB_SIZE_BITS_3)
      (DEFAULT_HASH_SIZE, COMPILED_ARGLIST, COMPILED_BYTECODE)
      (COMPILED_CONSTANTS, COMPILED_STACK_DEPTH, COMPILED_DOC_STRING)
      (COMPILED_INTERACTIVE, CHAR_ALT, CHAR_SUPER, CHAR_HYPER, CHAR_SHIFT)
      (CHAR_CTL, CHAR_META, CHAR_MODIFIER_MASK, CHARACTERBITS)
      (MANY, UNEVALLED, FLOAT_TO_STRING_BUFSIZE, MAX_ALLOCA):
      Now constants, for GDB.  They need not be macros.
      (MOST_POSITIVE_FIXNUM, MOST_NEGATIVE_FIXNUM, STRING_BYTES_BOUND):
      Now constants, for GDB, as well as macros, for static initializers.
      (CHAR_TABLE_STANDARD_SLOTS, CHAR_TABLE_EXTRA_SLOTS):
      Move to after the definition of struct Lisp_Char_Table,
      since the former now needs that type defined.
      (enum CHARTAB_SIZE_BITS, enum CHAR_TABLE_STANDARD_SLOTS)
      (enum DEFAULT_HASH_SIZE, enum Lisp_Compiled, enum char_bits)
      (enum maxargs, enum FLOAT_TO_STRING_BUFSIZE, enum MAX_ALLOCA):
      New enums, for gdb_make_enums_visible.
      (GLYPH_MODE_LINE_FACE): Remove; unused.
      * alloc.c (STRING_BYTES_MAX): Now a constant, now a macro.
      (gdb_make_enums_visible): Add enum CHARTAB_SIZE_BITS, enum
      CHAR_TABLE_STANDARD_SLOTS, enum char_bits, enum DEFAULT_HASH_SIZE,
      enum FLOAT_TO_STRING_BUFSIZE, enum Lisp_Bits, enum Lisp_Compiled,
      enum maxargs, enum MAX_ALLOCA.
      (ARRAY_MARK_FLAG_VAL, PSEUDOVECTOR_FLAG_VAL, VALMASK_VAL): Remove.
      (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Remove;
      no longer needed, now that they are done in lisp.h.
      03a660a6
    • Dmitry Antipov's avatar
      Cleanup string bytes checking. · e499d0ee
      Dmitry Antipov authored
      * alloc.c (GC_STRING_BYTES, CHECK_STRING_BYTES): Remove.  Convert
      all users to STRING_BYTES or string_bytes if GC_CHECK_STRING_BYTES.
      (check_string_bytes): Define to empty if not GC_CHECK_STRING_BYTES.
      (check_sblock, compact_small_strings): Simplify.
      e499d0ee
    • Jay Belanger's avatar
      doc/misc/calc.texi (Getting Started, Tutorial): Change simulated · d2bd74ff
      Jay Belanger authored
      Calc output to match actual output.
      (Simplifying Formulas): Mention that algebraic simplification is now
      the default.
      d2bd74ff
    • Jay Belanger's avatar
      calc/calc-mode.el (calc-alg-simplify-mode): Remove function. · 4514c252
      Jay Belanger authored
      (calc-limited-simplify-mode): Renamed from calc-lim-simplify-mode.
      calc/calc-ext.el (calc-init-extensions): Fix bindings for
      `calc-limited-simplify-mode'.
      4514c252
  3. 29 Jul, 2012 2 commits