Commit f7ff1b0f authored by Glenn Morris's avatar Glenn Morris

Merge from emacs-23; up to 2010-06-10T05:17:21Z!rgm@gnu.org.

parents 9869b3ae 9bb095f4
......@@ -15,11 +15,7 @@ You can narrow news to a specific version by calling `view-emacs-news'
with a prefix argument or by typing C-u C-h C-n.
* Installation Changes in Emacs 23.3
** New configure option --with-crt-dir specifies the location of your
crt*.o files, if they are in a non-standard location. This is only
used on x86-64 and s390x GNU/Linux architectures.
* Installation Changes in Emacs 23.4
** The MS-Windows build prefers libpng version 1.14 or later.
Versions of libpng before 1.14 had security issues, so we now
......@@ -28,6 +24,21 @@ require version 1.14 or later. See README.W32 and nt/INSTALL for
details and pointers to URLs where the latest libpng can be
downloaded.
* Changes in Emacs 23.4 on non-free operating systems
** The MS-Windows port can now use more than 500MB of heap.
Depending on the available virtual memory, Emacs on Windows can now
have up to 2GB of heap space. This allows, e.g., to visit several
large (> 256MB) files in the same session.
* Installation Changes in Emacs 23.3
** New configure option --with-crt-dir specifies the location of your
crt*.o files, if they are in a non-standard location. This is only
used on x86-64 and s390x GNU/Linux architectures.
* Changes in Emacs 23.3
** The last-resort backup file `%backup%~' is now written to
......
2011-05-05 Eli Zaretskii <eliz@gnu.org>
* quail/latin-ltx.el <\beth, \gimel, \daleth>: Produce
corresponding symbols rather than Hebrew letters. (Bug#8563)
* quail/latin-ltx.el <\aleph>: Produce ALEF SYMBOL instead of
HEBREW LETTER ALEF. (Bug#8563)
2011-03-23 Glenn Morris <rgm@gnu.org>
* Makefile.in (install): Use `install-sh -d' rather than mkinstalldirs.
......
......@@ -498,7 +498,7 @@ system, including many technical ones. Examples:
("\\Vert" ?)
("\\Vvdash" ?)
("\\Xi" ?Ξ)
("\\aleph" ?א)
("\\aleph" ?)
("\\alpha" ?α)
("\\amalg" ?)
("\\angle" ?)
......@@ -515,7 +515,7 @@ system, including many technical ones. Examples:
("\\barwedge" ?)
("\\because" ?)
("\\beta" ?β)
("\\beth" ?ב)
("\\beth" ?)
("\\between" ?)
("\\bigcap" ?)
("\\bigcirc" ?)
......@@ -569,7 +569,7 @@ system, including many technical ones. Examples:
("\\dag" ?)
("\\dagger" ?)
("\\daleth" ?ד)
("\\daleth" ?)
("\\dashv" ?)
("\\ddag" ?)
("\\ddagger" ?)
......@@ -626,7 +626,7 @@ system, including many technical ones. Examples:
("\\gets" ?)
("\\gg" ?)
("\\ggg" ?)
("\\gimel" ?ג)
("\\gimel" ?)
("\\gnapprox" ?)
("\\gneq" ?)
("\\gneqq" ?)
......
2011-05-05 Daniel Colascione <dan.colascione@gmail.com>
* progmodes/cc-engine.el (c-forward-decl-or-cast-1): Use
correct match group (bug#8438).
2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
Fix earlier half-done eieio-defmethod change (bug#8338).
......
2011-05-05 Eli Zaretskii <eliz@gnu.org>
* w32heap.c (allocate_heap) [USE_LISP_UNION_TYPE || USE_LSB_TAG]:
New version that can reserve upto 2GB of heap space.
2011-05-05 Chong Yidong <cyd@stupidchicken.com>
* nsfns.m (Fns_read_file_name): Doc fix (Bug#8534).
2011-05-05 Teodor Zlatanov <tzz@lifelogs.com>
* gnutls.c (fn_gnutls_certificate_set_x509_key_file): Add alias to
......
......@@ -1416,9 +1416,10 @@ Turn the input menu (an NSMenu) into a lisp list for tracking on lisp side
DEFUN ("ns-read-file-name", Fns_read_file_name, Sns_read_file_name, 1, 4, 0,
doc: /* Use a graphical panel to read a file name, using prompt PROMPT.
Optional arg DIR, if non-nil, supplies a default directory.
Optional arg ISLOAD, if non-nil, means read a file name for saving.
Optional arg MUSTMATCH, if non-nil, means the returned file or
directory must exist.
Optional arg INIT, if non-nil, provides a default file name to use. */)
(Lisp_Object prompt, Lisp_Object dir, Lisp_Object isLoad, Lisp_Object init)
(Lisp_Object prompt, Lisp_Object dir, Lisp_Object mustmatch, Lisp_Object init)
{
static id fileDelegate = nil;
int ret;
......@@ -1443,7 +1444,7 @@ Turn the input menu (an NSMenu) into a lisp list for tracking on lisp side
if ([dirS characterAtIndex: 0] == '~')
dirS = [dirS stringByExpandingTildeInPath];
panel = NILP (isLoad) ?
panel = NILP (mustmatch) ?
(id)[EmacsSavePanel savePanel] : (id)[EmacsOpenPanel openPanel];
[panel setTitle: promptS];
......@@ -1457,7 +1458,7 @@ Turn the input menu (an NSMenu) into a lisp list for tracking on lisp side
panelOK = 0;
BLOCK_INPUT;
if (NILP (isLoad))
if (NILP (mustmatch))
{
ret = [panel runModalForDirectory: dirS file: initS];
}
......
......@@ -114,6 +114,7 @@ get_data_end (void)
return data_region_end;
}
#if !defined (USE_LISP_UNION_TYPE) && !defined (USE_LSB_TAG)
static char *
allocate_heap (void)
{
......@@ -140,9 +141,31 @@ allocate_heap (void)
return ptr;
}
#else /* USE_LISP_UNION_TYPE || USE_LSB_TAG */
static char *
allocate_heap (void)
{
unsigned long size = 0x80000000; /* start by asking for 2GB */
void *ptr = NULL;
while (!ptr && size > 0x00100000)
{
reserved_heap_size = size;
ptr = VirtualAlloc (NULL,
get_reserved_heap_size (),
MEM_RESERVE,
PAGE_NOACCESS);
size -= 0x00800000; /* if failed, decrease request by 8MB */
}
return ptr;
}
#endif /* USE_LISP_UNION_TYPE || USE_LSB_TAG */
/* Emulate Unix sbrk. */
/* Emulate Unix sbrk. Note that ralloc.c expects the return value to
be the address of the _start_ (not end) of the new block in case of
success, and zero (not -1) in case of failure. */
void *
sbrk (unsigned long increment)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment