1. 28 May, 2014 6 commits
  2. 27 May, 2014 9 commits
    • Stefan Monnier's avatar
      * src/bytecode.c (FETCH) [BYTE_CODE_SAFE]: Check the bytecode wasn't · 9da43ddc
      Stefan Monnier authored
      relocated from under us.
      9da43ddc
    • Fabrice Popineau's avatar
      Use mmap(2) emulation for buffer text on MS-Windows. · 587fd086
      Fabrice Popineau authored
       src/Makefile.in (C_HEAP_SWITCH): Get the predefined heap size from
       configure.
       (ADDSECTION, MINGW_TEMACS_POST_LINK): Remove, no longer used.
       src/lisp.h (NONPOINTER_BITS): Modify the condition to define to zero
       for MinGW, since it no longer uses gmalloc.
       src/buffer.c: Do not define mmap allocations functions for Windows.
       Remove mmap_find which is unused. Remove mmap_set_vars which does
       nothing useful.
       [WINDOWSNT]: Include w32heap.h.
       (init_buffer): Always allocate new memory for buffers.
       src/emacs.c: Remove mmap_set_vars calls.
       src/image.c (free_image): Undef free for Windows because it is
       redirected to our private version.
       src/unexw32.c (COPY_PROC_CHUNK): Use %p format for 64bits
       compatibility.
       (copy_executable_and_dump_data): Remove dumping the heap section.
       (unexec): Restore using_dynamic_heap after dumping.
       src/w32heap.c (dumped_data_commit, malloc_after_dump)
       (malloc_before_dump, realloc_after_dump, realloc_before_dump)
       (free_after_dump, free_before_dump, mmap_alloc, mmap_realloc)
       (mmap_free): New functions.
       src/w32heap.h: Declare dumped_data and mmap_* function prototypes.
      
       nt/inc/ms-w32.h: Switch to the system heap allocation scheme
       instead of GNU malloc and ralloc.
       nt/inc/sys/mman.h: New file.
       nt/INSTALL: Update for the new build requirements.
      
       etc/NEWS: Mention build changes on MS-Windows.
      
       configure.ac (C_HEAP_SWITCH) define for different values of
       dumped heap size depending on 32/64bits arch on Windows.
       Don't check for pthreads.h on MinGW32/64, it gets in the way.
       Use mmap(2) for buffers and system malloc for MinGW32/64.
      587fd086
    • Stefan Monnier's avatar
      * lisp/register.el (register-read-with-preview): Don't burp on · 0da7d35c
      Stefan Monnier authored
      frame switches (e.g. due to the frame we just popped).
      0da7d35c
    • Stefan Monnier's avatar
      * test/indent/ps-mode.ps: New file. · c435f506
      Stefan Monnier authored
      * test/automated/core-elisp-tests.el
      (core-elisp-test-window-configurations): New test.
      * test/indent/octave.m: Add a few more tests.
      * test/indent/ruby.rb: Add one more test.
      c435f506
    • Paul Eggert's avatar
      * image.c (imagemagick_load_image): Use MagickRealType for local · c24163d4
      Paul Eggert authored
      'color_scale', instead of double, to avoid a GCC warning about
      double promotion.
      c24163d4
    • Paul Eggert's avatar
      1ad913a1
    • Paul Eggert's avatar
      Merge from gnulib. · c3e7b943
      Paul Eggert authored
      This incorporates:
      2014-05-21 fchdir: port 'open' and 'close' redefinitions to AIX 7.1
      * doc/misc/texinfo.tex, lib/openat-proc.c: Update from gnulib.
      c3e7b943
    • Stefan Monnier's avatar
      * lisp/mouse.el (mouse-set-region): Handle spurious drag events. · a366fbe2
      Stefan Monnier authored
      (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
      
      Fixes: debbugs:17562
      a366fbe2
    • Paul Eggert's avatar
      Don't kill already-reaped process. · ca0279be
      Paul Eggert authored
      * process.c (process_send_signal): Fix race condition where a
      subprocess was reaped by a signal handler between the check for
      liveness and calling 'kill', which meant that Emacs could in
      theory kill an innocent bystander process.  Do the fix by blocking
      SIGCHLD in a critical section that checks liveness before killing.
      
      Fixes: debbugs:17561
      ca0279be
  3. 26 May, 2014 8 commits
  4. 25 May, 2014 11 commits
  5. 24 May, 2014 6 commits