aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2011-05-04 21:00:38 -0700
committerGlenn Morris2011-05-04 21:00:38 -0700
commitf7ff1b0f0792f1f870778404531e68e77832c4a1 (patch)
tree23cb550bdd3313df9b9b21a39a1a6c37c3258eec
parent9869b3ae6b4dc59d522f80b405250139e49cc9b9 (diff)
parent9bb095f46e44b642d3420a5f3b8d1443dab1b016 (diff)
downloademacs-f7ff1b0f0792f1f870778404531e68e77832c4a1.tar.gz
emacs-f7ff1b0f0792f1f870778404531e68e77832c4a1.zip
Merge from emacs-23; up to 2010-06-10T05:17:21Z!rgm@gnu.org.
-rw-r--r--etc/NEWS.2321
-rw-r--r--leim/ChangeLog8
-rw-r--r--leim/quail/latin-ltx.el8
-rw-r--r--lisp/ChangeLog5
-rw-r--r--src/ChangeLog9
-rw-r--r--src/nsfns.m9
-rw-r--r--src/w32heap.c25
7 files changed, 71 insertions, 14 deletions
diff --git a/etc/NEWS.23 b/etc/NEWS.23
index 458e2bb3d32..5b170231bbd 100644
--- a/etc/NEWS.23
+++ b/etc/NEWS.23
@@ -15,11 +15,7 @@ You can narrow news to a specific version by calling `view-emacs-news'
15with a prefix argument or by typing C-u C-h C-n. 15with a prefix argument or by typing C-u C-h C-n.
16 16
17 17
18* Installation Changes in Emacs 23.3 18* Installation Changes in Emacs 23.4
19
20** New configure option --with-crt-dir specifies the location of your
21crt*.o files, if they are in a non-standard location. This is only
22used on x86-64 and s390x GNU/Linux architectures.
23 19
24** The MS-Windows build prefers libpng version 1.14 or later. 20** The MS-Windows build prefers libpng version 1.14 or later.
25Versions of libpng before 1.14 had security issues, so we now 21Versions 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
28details and pointers to URLs where the latest libpng can be 24details and pointers to URLs where the latest libpng can be
29downloaded. 25downloaded.
30 26
27
28* Changes in Emacs 23.4 on non-free operating systems
29
30** The MS-Windows port can now use more than 500MB of heap.
31Depending on the available virtual memory, Emacs on Windows can now
32have up to 2GB of heap space. This allows, e.g., to visit several
33large (> 256MB) files in the same session.
34
35
36* Installation Changes in Emacs 23.3
37
38** New configure option --with-crt-dir specifies the location of your
39crt*.o files, if they are in a non-standard location. This is only
40used on x86-64 and s390x GNU/Linux architectures.
41
31* Changes in Emacs 23.3 42* Changes in Emacs 23.3
32 43
33** The last-resort backup file `%backup%~' is now written to 44** The last-resort backup file `%backup%~' is now written to
diff --git a/leim/ChangeLog b/leim/ChangeLog
index b344659d00e..fdc54fd475c 100644
--- a/leim/ChangeLog
+++ b/leim/ChangeLog
@@ -1,3 +1,11 @@
12011-05-05 Eli Zaretskii <eliz@gnu.org>
2
3 * quail/latin-ltx.el <\beth, \gimel, \daleth>: Produce
4 corresponding symbols rather than Hebrew letters. (Bug#8563)
5
6 * quail/latin-ltx.el <\aleph>: Produce ALEF SYMBOL instead of
7 HEBREW LETTER ALEF. (Bug#8563)
8
12011-03-23 Glenn Morris <rgm@gnu.org> 92011-03-23 Glenn Morris <rgm@gnu.org>
2 10
3 * Makefile.in (install): Use `install-sh -d' rather than mkinstalldirs. 11 * Makefile.in (install): Use `install-sh -d' rather than mkinstalldirs.
diff --git a/leim/quail/latin-ltx.el b/leim/quail/latin-ltx.el
index b3cc647737c..cc3be3a44c6 100644
--- a/leim/quail/latin-ltx.el
+++ b/leim/quail/latin-ltx.el
@@ -498,7 +498,7 @@ system, including many technical ones. Examples:
498 ("\\Vert" ?‖) 498 ("\\Vert" ?‖)
499 ("\\Vvdash" ?⊪) 499 ("\\Vvdash" ?⊪)
500 ("\\Xi" ?Ξ) 500 ("\\Xi" ?Ξ)
501 ("\\aleph" ?א) 501 ("\\aleph" ?)
502 ("\\alpha" ?α) 502 ("\\alpha" ?α)
503 ("\\amalg" ?∐) 503 ("\\amalg" ?∐)
504 ("\\angle" ?∠) 504 ("\\angle" ?∠)
@@ -515,7 +515,7 @@ system, including many technical ones. Examples:
515 ("\\barwedge" ?⊼) 515 ("\\barwedge" ?⊼)
516 ("\\because" ?∵) 516 ("\\because" ?∵)
517 ("\\beta" ?β) 517 ("\\beta" ?β)
518 ("\\beth" ?ב) 518 ("\\beth" ?)
519 ("\\between" ?≬) 519 ("\\between" ?≬)
520 ("\\bigcap" ?⋂) 520 ("\\bigcap" ?⋂)
521 ("\\bigcirc" ?◯) 521 ("\\bigcirc" ?◯)
@@ -569,7 +569,7 @@ system, including many technical ones. Examples:
569 569
570 ("\\dag" ?†) 570 ("\\dag" ?†)
571 ("\\dagger" ?†) 571 ("\\dagger" ?†)
572 ("\\daleth" ?ד) 572 ("\\daleth" ?)
573 ("\\dashv" ?⊣) 573 ("\\dashv" ?⊣)
574 ("\\ddag" ?‡) 574 ("\\ddag" ?‡)
575 ("\\ddagger" ?‡) 575 ("\\ddagger" ?‡)
@@ -626,7 +626,7 @@ system, including many technical ones. Examples:
626 ("\\gets" ?←) 626 ("\\gets" ?←)
627 ("\\gg" ?≫) 627 ("\\gg" ?≫)
628 ("\\ggg" ?⋙) 628 ("\\ggg" ?⋙)
629 ("\\gimel" ?ג) 629 ("\\gimel" ?)
630 ("\\gnapprox" ?⋧) 630 ("\\gnapprox" ?⋧)
631 ("\\gneq" ?≩) 631 ("\\gneq" ?≩)
632 ("\\gneqq" ?≩) 632 ("\\gneqq" ?≩)
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7a491bd8fa0..f1376884e9d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12011-05-05 Daniel Colascione <dan.colascione@gmail.com>
2
3 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Use
4 correct match group (bug#8438).
5
12011-05-05 Stefan Monnier <monnier@iro.umontreal.ca> 62011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 Fix earlier half-done eieio-defmethod change (bug#8338). 8 Fix earlier half-done eieio-defmethod change (bug#8338).
diff --git a/src/ChangeLog b/src/ChangeLog
index 6819a76f028..b6e30ab817c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,12 @@
12011-05-05 Eli Zaretskii <eliz@gnu.org>
2
3 * w32heap.c (allocate_heap) [USE_LISP_UNION_TYPE || USE_LSB_TAG]:
4 New version that can reserve upto 2GB of heap space.
5
62011-05-05 Chong Yidong <cyd@stupidchicken.com>
7
8 * nsfns.m (Fns_read_file_name): Doc fix (Bug#8534).
9
12011-05-05 Teodor Zlatanov <tzz@lifelogs.com> 102011-05-05 Teodor Zlatanov <tzz@lifelogs.com>
2 11
3 * gnutls.c (fn_gnutls_certificate_set_x509_key_file): Add alias to 12 * gnutls.c (fn_gnutls_certificate_set_x509_key_file): Add alias to
diff --git a/src/nsfns.m b/src/nsfns.m
index d4445d1d627..cdf350066be 100644
--- a/src/nsfns.m
+++ b/src/nsfns.m
@@ -1416,9 +1416,10 @@ DEFUN ("ns-popup-color-panel", Fns_popup_color_panel, Sns_popup_color_panel,
1416DEFUN ("ns-read-file-name", Fns_read_file_name, Sns_read_file_name, 1, 4, 0, 1416DEFUN ("ns-read-file-name", Fns_read_file_name, Sns_read_file_name, 1, 4, 0,
1417 doc: /* Use a graphical panel to read a file name, using prompt PROMPT. 1417 doc: /* Use a graphical panel to read a file name, using prompt PROMPT.
1418Optional arg DIR, if non-nil, supplies a default directory. 1418Optional arg DIR, if non-nil, supplies a default directory.
1419Optional arg ISLOAD, if non-nil, means read a file name for saving. 1419Optional arg MUSTMATCH, if non-nil, means the returned file or
1420directory must exist.
1420Optional arg INIT, if non-nil, provides a default file name to use. */) 1421Optional arg INIT, if non-nil, provides a default file name to use. */)
1421 (Lisp_Object prompt, Lisp_Object dir, Lisp_Object isLoad, Lisp_Object init) 1422 (Lisp_Object prompt, Lisp_Object dir, Lisp_Object mustmatch, Lisp_Object init)
1422{ 1423{
1423 static id fileDelegate = nil; 1424 static id fileDelegate = nil;
1424 int ret; 1425 int ret;
@@ -1443,7 +1444,7 @@ Optional arg INIT, if non-nil, provides a default file name to use. */)
1443 if ([dirS characterAtIndex: 0] == '~') 1444 if ([dirS characterAtIndex: 0] == '~')
1444 dirS = [dirS stringByExpandingTildeInPath]; 1445 dirS = [dirS stringByExpandingTildeInPath];
1445 1446
1446 panel = NILP (isLoad) ? 1447 panel = NILP (mustmatch) ?
1447 (id)[EmacsSavePanel savePanel] : (id)[EmacsOpenPanel openPanel]; 1448 (id)[EmacsSavePanel savePanel] : (id)[EmacsOpenPanel openPanel];
1448 1449
1449 [panel setTitle: promptS]; 1450 [panel setTitle: promptS];
@@ -1457,7 +1458,7 @@ Optional arg INIT, if non-nil, provides a default file name to use. */)
1457 1458
1458 panelOK = 0; 1459 panelOK = 0;
1459 BLOCK_INPUT; 1460 BLOCK_INPUT;
1460 if (NILP (isLoad)) 1461 if (NILP (mustmatch))
1461 { 1462 {
1462 ret = [panel runModalForDirectory: dirS file: initS]; 1463 ret = [panel runModalForDirectory: dirS file: initS];
1463 } 1464 }
diff --git a/src/w32heap.c b/src/w32heap.c
index bbdabd23502..477c11a5160 100644
--- a/src/w32heap.c
+++ b/src/w32heap.c
@@ -114,6 +114,7 @@ get_data_end (void)
114 return data_region_end; 114 return data_region_end;
115} 115}
116 116
117#if !defined (USE_LISP_UNION_TYPE) && !defined (USE_LSB_TAG)
117static char * 118static char *
118allocate_heap (void) 119allocate_heap (void)
119{ 120{
@@ -140,9 +141,31 @@ allocate_heap (void)
140 141
141 return ptr; 142 return ptr;
142} 143}
144#else /* USE_LISP_UNION_TYPE || USE_LSB_TAG */
145static char *
146allocate_heap (void)
147{
148 unsigned long size = 0x80000000; /* start by asking for 2GB */
149 void *ptr = NULL;
150
151 while (!ptr && size > 0x00100000)
152 {
153 reserved_heap_size = size;
154 ptr = VirtualAlloc (NULL,
155 get_reserved_heap_size (),
156 MEM_RESERVE,
157 PAGE_NOACCESS);
158 size -= 0x00800000; /* if failed, decrease request by 8MB */
159 }
160
161 return ptr;
162}
163#endif /* USE_LISP_UNION_TYPE || USE_LSB_TAG */
143 164
144 165
145/* Emulate Unix sbrk. */ 166/* Emulate Unix sbrk. Note that ralloc.c expects the return value to
167 be the address of the _start_ (not end) of the new block in case of
168 success, and zero (not -1) in case of failure. */
146void * 169void *
147sbrk (unsigned long increment) 170sbrk (unsigned long increment)
148{ 171{