1. 25 Aug, 2014 6 commits
    • Eli Zaretskii's avatar
      Implement locale-sensitive string collation for MS-Windows. (Bug#18051) · 015ea0ff
      Eli Zaretskii authored
       src/w32proc.c (get_lcid_callback, get_lcid, w32_compare_strings):
       New functions.
       src/w32.h (w32_compare_strings): Add prototype.
       src/w32.c <g_b_init_compare_string_w>: New global flag.
       (globals_of_w32): Initialize it.
       src/sysdep.c (str_collate) [WINDOWSNT]: Implementation for MS-Windows.
       src/fns.c (Fstring_collate_lessp, Fstring_collate_equalp)
       [WINDOWSNT]: Call str_collate on MS-Windows.
      
       etc/NEWS: Mention that string-collate-* functions are supported on
       MS-Windows as well.
      015ea0ff
    • Dmitry Antipov's avatar
      One more minor cleanup of font subsystem. · 8661ebaa
      Dmitry Antipov authored
      * font.h (struct font_driver): Convert text_extents to
      return void because returned value is never actually used.
      * macfont.c (macfont_text_extents):
      * w32font.c (w32font_text_extents):
      * xftfont.c (xftfont_text_extents): Adjust to return void
      and assume that 'metrics' argument is always non-NULL.
      * ftfont.c (ftfont_text_extents):
      * xfont.c (xfont_text_extents): Likewise.  Avoid redundant memset.
      8661ebaa
    • Paul Eggert's avatar
      Minor cleanups of str_collate fix. · 90c5c877
      Paul Eggert authored
      * fns.c (str_collate): Move decl from here ...
      * lisp.h (str_collate): ... to here.
      * sysdep.c (str_collate): Prune away some of the forest of ifdefs.
      Remove unnecessary casts.  Use SAFE_NALLOCA to avoid
      potential problems with integer overflow.  Don't assume
      setlocale succeeds.  Remove unnecessary test before restoring
      locale via setlocale, and free the copied setlocale string
      when done with it.
      
      Fixes: debbugs:18051
      90c5c877
    • Christoph Scholtes's avatar
      Fix docstring of `remq' · d7455355
      Christoph Scholtes authored
      * lisp/subr.el (remq): Fix docstring.
      
      Fixes: debbugs:18253
      d7455355
    • Christoph Scholtes's avatar
      * lisp/replace.el (query-replace): Fix typo in docstring. · f71da895
      Christoph Scholtes authored
      Fixes: debbugs:18320
      f71da895
    • Christoph Scholtes's avatar
      Remove reference to obsolete configure scripts · d2a633e4
      Christoph Scholtes authored
      * INSTALL.REPO: Remove reference to obsolete configure scripts
      on non-Posix platforms.
      
      Fixes: debbugs:18323
      d2a633e4
  2. 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.
      4031fb7b
    • 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-re.
      (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.
      66bb9533
    • 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)
      07b47905
  3. 23 Aug, 2014 3 commits
  4. 21 Aug, 2014 4 commits
  5. 20 Aug, 2014 3 commits
  6. 19 Aug, 2014 2 commits
  7. 18 Aug, 2014 2 commits
  8. 17 Aug, 2014 1 commit
    • Eli Zaretskii's avatar
      Avoid overwriting the reversed_p flags in the glyph matrices. · 39125b22
      Eli Zaretskii authored
       Avoid overwriting the reversed_p flags in the glyph matrices when
       init_iterator or start_display are called.
      
       src/xdisp.c (init_iterator): Don't initialize the reversed_p flag of
       the glyph row here.
       (tool_bar_height, redisplay_tool_bar, try_window)
       (try_window_reusing_current_matrix, try_window_id)
       (get_overlay_arrow_glyph_row, display_menu_bar): Initialize the
       reversed_p flag of the iterator's glyph row where the glyph row
       is going to be redrawn.
      39125b22
  9. 16 Aug, 2014 4 commits
  10. 15 Aug, 2014 2 commits
  11. 14 Aug, 2014 3 commits
  12. 13 Aug, 2014 6 commits