1. 28 Aug, 2014 7 commits
    • Ken Brown's avatar
      Add support for HYBRID_MALLOC, allowing the use of gmalloc before · ea652500
      Ken Brown authored
      dumping and the system malloc after dumping.  (Bug#18222)
      
      * configure.ac (HYBRID_MALLOC): New macro; define to use gmalloc
      before dumping and the system malloc after dumping.  Define on Cygwin.
      * src/conf_post.h (malloc, realloc, calloc, free) [HYBRID_MALLOC]:
      Define as macros, expanding to hybrid_malloc, etc.
      (HYBRID_GET_CURRENT_DIR_NAME): New macro.
      (get_current_dir_name) [HYBRID_GET_CURRENT_DIR_NAME]: Define as
      macro.
      * src/gmalloc.c: Set up the infrastructure for HYBRID_MALLOC, with a
      full implementation on Cygwin.  Remove Cygwin-specific code that
      is no longer needed.
      (malloc, realloc, calloc, free, aligned_alloc) [HYBRID_MALLOC]:
      Redefine as macros expanding to gmalloc, grealloc, etc.
      (DUMPED, ALLOCATED_BEFORE_DUMPING) [CYGWIN]: New macros.
      (get_current_dir_name) [HYBRID_GET_CURRENT_DIR_NAME]: Undefine.
      (USE_PTHREAD, posix_memalign) [HYBRID_MALLOC]: Don't define.
      (hybrid_malloc, hybrid_calloc, hybrid_free, hybrid_realloc)
      [HYBRID_MALLOC]:
      (hybrid_get_current_dir_name) [HYBRID_GET_CURRENT_DIR_NAME]:
      (hybrid_aligned_alloc) [HYBRID_MALLOC && (HAVE_ALIGNED_ALLOC ||
      HAVE_POSIX_MEMALIGN)]: New functions.
      * src/alloc.c (aligned_alloc) [HYBRID_MALLOC && (ALIGNED_ALLOC ||
      HAVE_POSIX_MEMALIGN)]: Define as macro expanding to
      hybrid_aligned_alloc; declare.
      (USE_ALIGNED_ALLOC) [HYBRID_MALLOC && (ALIGNED_ALLOC ||
      HAVE_POSIX_MEMALIGN)]: Define.
      (refill_memory_reserve) [HYBRID_MALLOC]: Do nothing.
      * src/sysdep.c (get_current_dir_name) [HYBRID_GET_CURRENT_DIR_NAME]:
      Define as macro, expanding to gget_current_dir_name, and define
      the latter.
      * src/emacs.c (main) [HYBRID_MALLOC]: Don't call memory_warnings() or
      malloc_enable_thread().  Don't initialize malloc.
      * src/lisp.h (NONPOINTER_BITS) [CYGWIN]: Define (because GNU_MALLOC is
      no longer defined on Cygwin).
      (refill_memory_reserve) [HYBRID_MALLOC]: Don't declare.
      * src/sheap.c (bss_sbrk_buffer_end): New variable.
      * src/unexcw.c (__malloc_initialized): Remove variable.
      * src/ralloc.c: Throughout, treat HYBRID_MALLOC the same as
      SYSTEM_MALLOC.
      * src/xdisp.c (decode_mode_spec) [HYBRID_MALLOC]: Don't check
      	Vmemory_full.
      ea652500
    • Martin Rudalics's avatar
      Some fixes for scroll bar code. · a7ef7a0e
      Martin Rudalics authored
      * w32term.c (w32_horizontal_scroll_bar_handle_click): In
      `event->y' return entire range (the size of the scroll bar minus
      that of the thumb).
      * xterm.c (xm_scroll_callback, xaw_jump_callback): In `whole'
      return entire range (the scaled size of the scroll bar minus
      that of the slider).  In `portion' return the scaled position of
      the slider.
      (xaw_jump_callback): Restore part of code for vertical scroll
      bar broken in change from 2014-07-27.
      (xaw_scroll_callback): Provide incremental scrolling with
      horizontal scroll bars.
      (x_scroll_bar_handle_click): Fix typo introduced in change from
      2014-07-27.
      * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
      interpretation of `portion-whole'.
      a7ef7a0e
    • Glenn Morris's avatar
      Add install/uninstall rules for etc/emacs.appdata.xml · f1fdf67b
      Glenn Morris authored
      * Makefile.in (appdatadir): New variable.
      (install-etc, uninstall, clean): Handle etc/emacs.appdata.xml.
      f1fdf67b
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      * lisp/subr.el (remq): Revert 2014-08-25 doc change (not always true). · 93b31b57
      Glenn Morris authored
      See the interminable bug discussion if you have nothing better to do.
      93b31b57
    • Glenn Morris's avatar
      * etc/emacs.appdata.xml: New file · b62da77c
      Glenn Morris authored
      Ref: http://people.freedesktop.org/~hughsient/appdata/
      
      The description is adapted from the Emacs homepage.
      b62da77c
    • Paul Eggert's avatar
      * sysdep.c (LC_COLLATE, LC_COLLATE_MASK): Give individual defaults. · cbe070d1
      Paul Eggert authored
      Fixes: debbugs:18051
      cbe070d1
  2. 27 Aug, 2014 9 commits
  3. 26 Aug, 2014 7 commits
  4. 25 Aug, 2014 13 commits
  5. 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