1. 30 Jul, 2012 7 commits
    • 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
  2. 29 Jul, 2012 28 commits
  3. 28 Jul, 2012 5 commits
    • Paul Eggert's avatar
      Use Gnulib stdalign and environ modules (Bug#9772, Bug#9960). · e32a5799
      Paul Eggert authored
      * .bzrignore: Add lib/stdalign.h.
      * config.bat: Do not set NO_DECL_ALIGN; no longer needed.
      Copy lib/stdalign.in.h to lib/stdalign.in-h as needed.
      * configure.ac (HAVE_ATTRIBUTE_ALIGNED): Remove the code that
      fiddles with this, as gnulib now does this for us.
      * admin/merge-gnulib: Add environ, stdalign.
      * m4/environ.m4: New file, from gnulib.
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      * lib/stdalign.in.h, m4/stdalign.m4: New files, from gnulib.
      * sed2v2.inp (HAVE_ATTRIBUTE_ALIGNED): Remove edit.
      * sedlibmk.inp (STDALIGN_H, @GL_GENERATE_STDALIGN_H_TRUE@)
      (GL_GENERATE_STDALIGN_H_FALSE): New edits.
      * nt/config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.
      * src/alloc.c (XMALLOC_BASE_ALIGNMENT, GC_POINTER_ALIGNMENT, pure_alloc):
      Simplify by using alignof.
      (pure_alloc) [! USE_LSB_TAG]: Don't over-align EMACS_INT values.
      * src/lisp.h: Include <stdalign.h>.
      (GCALIGNMENT): New macro and constant.
      (DECL_ALIGN): Remove.  All uses replaced by alignas (GCALIGNMENT).
      (USE_LSB_TAG): ifdef on alignas, not on DECL_ALIGN.
      (stdalign): New macro, if not already defined.
      e32a5799
    • Eli Zaretskii's avatar
      Fix non-ASCII input in non-GUI frames on MS-Windows. (Bug#12055) · 01bd1b0d
      Eli Zaretskii authored
       src/w32inevt.c: Include w32inevt.h.
       (w32_read_console_input): New inline function, calls either
       ReadConsoleInputA or ReadConsoleInputW, depending on the value of
       w32_console_unicode_input.
       (fill_queue): Call w32_read_console_input instead of ReadConsoleInput.
       (w32_kbd_patch_key, key_event): Use the codepage returned by
       GetConsoleCP, rather than the ANSI codepage returned by GetLocaleInfo.
       (key_event): use uChar.UnicodeChar only if
       w32_console_unicode_input is non-zero.
       src/w32console.c: Include w32heap.h.
       <w32_console_unicode_input>: New global variable.
       (initialize_w32_display): Set w32_console_unicode_input to 1 on NT
       family of Windows, zero otherwise.
       src/w32inevt.h: Declare w32_console_unicode_input.
       lisp/international/mule-cmds.el (set-locale-environment): In a
       console session on MS-Windows, set up keyboard and terminal
       encoding from the OEM codepage, not the ANSI codepage.
      01bd1b0d
    • Juanma Barranquero's avatar
      etc/NEWS: Fix typo. · a5c66610
      Juanma Barranquero authored
      a5c66610
    • Chong Yidong's avatar
    • Chong Yidong's avatar
      Fix bogus code in gdb-place-breakpoints. · a55739d3
      Chong Yidong authored
      * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
      gdb-get-location.
      a55739d3