aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorFabrice Popineau2014-05-27 20:31:17 +0300
committerEli Zaretskii2014-05-27 20:31:17 +0300
commit587fd086a045f715932f886ecf31015932464ce6 (patch)
treed8c647af107ef94318fd920a05da09af654ef1c9 /src/ChangeLog
parent0da7d35c6754b44d1ef4383e4a8ba9b98afc3a4c (diff)
downloademacs-587fd086a045f715932f886ecf31015932464ce6.tar.gz
emacs-587fd086a045f715932f886ecf31015932464ce6.zip
Use mmap(2) emulation for buffer text on MS-Windows.
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.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4378cfce5d3..959f29a2675 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,35 @@
12014-05-27 Fabrice Popineau <fabrice.popineau@gmail.com>
2
3 * Makefile.in (C_HEAP_SWITCH): Get the predefined heap size from
4 configure.
5 (ADDSECTION, MINGW_TEMACS_POST_LINK): Remove, no longer used.
6
7 * lisp.h (NONPOINTER_BITS): Modify the condition to define to zero
8 for MinGW, since it no longer uses gmalloc.
9
10 * buffer.c: Do not define mmap allocations functions for Windows.
11 Remove mmap_find which is unused. Remove mmap_set_vars which does
12 nothing useful.
13 [WINDOWSNT]: Include w32heap.h.
14 (init_buffer): Always allocate new memory for buffers.
15
16 * emacs.c: Remove mmap_set_vars calls.
17
18 * image.c (free_image): Undef free for Windows because it is
19 redirected to our private version.
20
21 * unexw32.c (COPY_PROC_CHUNK): Use %p format for 64bits
22 compatibility.
23 (copy_executable_and_dump_data): Remove dumping the heap section.
24 (unexec): Restore using_dynamic_heap after dumping.
25
26 * w32heap.c (dumped_data_commit, malloc_after_dump)
27 (malloc_before_dump, realloc_after_dump, realloc_before_dump)
28 (free_after_dump, free_before_dump, mmap_alloc, mmap_realloc)
29 (mmap_free): New functions.
30
31 * w32heap.h: Declare dumped_data and mmap_* function prototypes.
32
12014-05-27 Paul Eggert <eggert@cs.ucla.edu> 332014-05-27 Paul Eggert <eggert@cs.ucla.edu>
2 34
3 * image.c (imagemagick_load_image): Use MagickRealType for local 35 * image.c (imagemagick_load_image): Use MagickRealType for local