1. 27 Aug, 2014 4 commits
    • Paul Eggert's avatar
      Improve robustness of new string-collation code. · 110d87a1
      Paul Eggert authored
      * configure.ac (newlocale): Check for this, not for uselocale.
      * src/sysdep.c (LC_COLLATE, LC_COLLATE_MASK, freelocale, locale_t)
      (newlocale, wcscoll_l): Define substitutes for platforms that
      lack them, so as to simplify the mainline code.
      (str_collate): Simplify the code by assuming the above definitions.
      Use wcscoll_l, not uselocale, as uselocale is too fragile.  For
      example, the old version left the Emacs in the wrong locale if
      wcscoll reported an error.  Use 'int', not ptrdiff_t, for the int
      result.  Report an error if newlocale fails.
      Fixes: debbugs:18051
    • Michael Albinus's avatar
      * lisp.h (str_collate): · 17d94f1b
      Michael Albinus authored
      * sysdep.c (str_collate): Return int.
      (str_collate) [__STDC_ISO_10646__]: Propagate error of wcscoll.
    • Dmitry Antipov's avatar
      * src/keyboard.c (Vtop_level_message): Rename to · 28e0124d
      Dmitry Antipov authored
      Vinternal__top_level_message, as suggested by Stefan Monnier in
      All related users changed.
      * lisp/startup.el (normal-top-level): Now use internal--top-level-message.
      * doc/lispref/eval.texi (Eval): Mention possible recovery from stack overflow.
    • Dmitry Antipov's avatar
      Fix some glitches in previous change. · 7fb78a08
      Dmitry Antipov authored
      * sysdep.c (stack_direction): Replace stack_grows_down
      to simplify calculation of stack boundaries.
      (handle_sigsegv): Check whether we really crash somewhere near
      to stack boundary, and handle fatal signal as usual if not.
      (init_sigsegv): Adjust accordingly.
  2. 26 Aug, 2014 7 commits
  3. 25 Aug, 2014 11 commits
  4. 24 Aug, 2014 4 commits
    • Alan Mackenzie's avatar
      Handle C++11's "auto" and "decltype" constructions. · 4031fb7b
      Alan Mackenzie authored
      cc-engine.el (c-forward-type): Enhance to recognise and return 'decltype.
      (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
      prev-kwd-sym, new-style-auto.  Enhance to handle the new "auto" keyword.
      cc-fonts.el (c-font-lock-declarations): Handle the "decltype" keyword.
      (c-font-lock-c++-new): Handle "decltype" constructions.
      cc-langs.el (c-auto-ops, c-auto-ops-re): New c-lang-defconsts/defvars.
      (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
      (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
      (c-typeless-decl-kwds): Append "auto" onto the C++ value.
      (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
    • Alan Mackenzie's avatar
      Make ">>" act as double template ender in C++ Mode. · 66bb9533
      Alan Mackenzie authored
      cc-langs.el (c->-op-cont-tokens): New lang-const split off from
      (c->-op-cont-tokens): Change to use the above.
      (c->-op-without->-cont-regexp): New lang-const.
      cc-engine.el (c-forward-<>-arglist-recur): Use
      c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
    • Michael Albinus's avatar
    • Michael Albinus's avatar
      Add string collation. · 07b47905
      Michael Albinus authored
      * configure.ac: Check also for the uselocale function. 
      * src/fns.c (Fstring_collate_lessp, Fstring_collate_equalp): New DEFUNs.
      * src/sysdep.c (str_collate): New function.  (Bug#18051)
  5. 23 Aug, 2014 3 commits
  6. 21 Aug, 2014 4 commits
  7. 20 Aug, 2014 3 commits
  8. 19 Aug, 2014 2 commits
  9. 18 Aug, 2014 2 commits