aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjave2015-01-04 09:09:36 +0100
committerjave2015-01-04 09:09:36 +0100
commita7e2c92ddf6c27b2cfcc9782fd71f15d36162cce (patch)
tree7e092998b7e6956f311a169e0d87254ef87703e3 /src
parentdb4613576d3115aa320f0293d081ce98baa06acd (diff)
parentfec9b792f543c35b1a635b3a3326d496e3ca9012 (diff)
downloademacs-a7e2c92ddf6c27b2cfcc9782fd71f15d36162cce.tar.gz
emacs-a7e2c92ddf6c27b2cfcc9782fd71f15d36162cce.zip
merge master
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog44
-rw-r--r--src/Makefile.in2
-rw-r--r--src/fileio.c6
-rw-r--r--src/frame.c2
-rw-r--r--src/term.c2
-rw-r--r--src/xterm.c2
6 files changed, 51 insertions, 7 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 7b286ccb8bf..b503a40640f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,29 @@
12015-01-04 Paul Eggert <eggert@cs.ucla.edu>
2
3 Less 'make' chatter for lisp dir
4 * Makefile.in (%.elc): Adjust to compile-onefile change in
5 ../lisp/Makefile.in.
6
7 batch write-region no longer says "Wrote FOO"
8 This cuts down on 'make' chatter a bit.
9 * fileio.c (Fwrite_region):
10 Don't output "Wrote /whatever/foo.elc" if noninteractive.
11
122015-01-03 Paul Eggert <eggert@cs.ucla.edu>
13
14 Revert previous change to produce_composite_glyph
15 * term.c (produce_composite_glyph): Revert previous change (Bug#19496).
16
17 Pacify gcc -Wparentheses
18 * frame.c (x_set_frame_parameters): Add parens (Bug#19428).
19
202015-01-03 Martin Rudalics <rudalics@gmx.at>
21
22 * frame.c (x_set_frame_parameters): Call Fset_frame_size only if
23 f->can_x_set_window_size is true.
24 * xterm.c (x_set_window_size_1): Call change_frame_size with
25 text sizes instead of pixel sizes (Bug#19428).
26
12015-01-01 Eli Zaretskii <eliz@gnu.org> 272015-01-01 Eli Zaretskii <eliz@gnu.org>
2 28
3 * xdisp.c (pos_visible_p): Fix up the X coordinate for 29 * xdisp.c (pos_visible_p): Fix up the X coordinate for
@@ -21,6 +47,24 @@
21 * sysdep.c [WINDOWSNT]: Include sys/socket.h, without which this 47 * sysdep.c [WINDOWSNT]: Include sys/socket.h, without which this
22 file doesn't compile on MS-Windows. 48 file doesn't compile on MS-Windows.
23 49
502014-12-29 Paul Eggert <eggert@cs.ucla.edu>
51
52 Allow return value of system-name to vary. (Bug#19438)
53 * filelock.c (current_lock_owner):
54 * xrdb.c (get_environ_db):
55 * xterm.c (same_x_server):
56 * xterm.c (x_term_init):
57 Prefer (system-name) to system-name, and avoid naming
58 locals 'system-name'.
59 * editfns.c (cached_system_name): New static var.
60 (init_and_cache_system_name): New function.
61 (init_editfns, Fsystem_name): Use it.
62 (syms_of_editfns): Initialize it and Vsystem_name to the same value.
63 * sysdep.c [HAVE_SOCKETS]: Don't include <sys/socket.h>, <netdb.h>.
64 (h_errno) [TRY_AGAIN && !HAVE_H_ERRNO]: Remove decl.
65 (init_system_name) [HAVE_SOCKETS]: Don't canonicalize the name.
66 Don't create a new string if the current value is already correct.
67
242014-12-28 Paul Eggert <eggert@cs.ucla.edu> 682014-12-28 Paul Eggert <eggert@cs.ucla.edu>
25 69
26 Fix produce_composite_width typo 70 Fix produce_composite_width typo
diff --git a/src/Makefile.in b/src/Makefile.in
index e73a4054191..9bd86d54793 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -646,7 +646,7 @@ tags: TAGS ../lisp/TAGS $(lwlibdir)/TAGS
646## bootstrap-emacs$(EXEEXT) as an order-only prerequisite. 646## bootstrap-emacs$(EXEEXT) as an order-only prerequisite.
647 647
648%.elc: %.el | bootstrap-emacs$(EXEEXT) 648%.elc: %.el | bootstrap-emacs$(EXEEXT)
649 @$(MAKE) -C ../lisp compile-onefile THEFILE=$< EMACS="$(bootstrap_exe)" 649 @$(MAKE) -C ../lisp EMACS="$(bootstrap_exe)" THEFILE=$< $<c
650 650
651## VCSWITNESS points to the file that holds info about the current checkout. 651## VCSWITNESS points to the file that holds info about the current checkout.
652## We use it as a heuristic to decide when to rebuild loaddefs.el. 652## We use it as a heuristic to decide when to rebuild loaddefs.el.
diff --git a/src/fileio.c b/src/fileio.c
index b04d99809a6..0f0fd1a5c8d 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -4741,8 +4741,8 @@ Optional fifth argument VISIT, if t or a string, means
4741If VISIT is a string, it is a second file name; 4741If VISIT is a string, it is a second file name;
4742 the output goes to FILENAME, but the buffer is marked as visiting VISIT. 4742 the output goes to FILENAME, but the buffer is marked as visiting VISIT.
4743 VISIT is also the file name to lock and unlock for clash detection. 4743 VISIT is also the file name to lock and unlock for clash detection.
4744If VISIT is neither t nor nil nor a string, 4744If VISIT is neither t nor nil nor a string, or if Emacs is in batch mode,
4745 that means do not display the \"Wrote file\" message. 4745 do not display the \"Wrote file\" message.
4746The optional sixth arg LOCKNAME, if non-nil, specifies the name to 4746The optional sixth arg LOCKNAME, if non-nil, specifies the name to
4747 use for locking and unlocking, overriding FILENAME and VISIT. 4747 use for locking and unlocking, overriding FILENAME and VISIT.
4748The optional seventh arg MUSTBENEW, if non-nil, insists on a check 4748The optional seventh arg MUSTBENEW, if non-nil, insists on a check
@@ -5109,7 +5109,7 @@ write_region (Lisp_Object start, Lisp_Object end, Lisp_Object filename,
5109 return Qnil; 5109 return Qnil;
5110 } 5110 }
5111 5111
5112 if (!auto_saving) 5112 if (!auto_saving && !noninteractive)
5113 message_with_string ((NUMBERP (append) 5113 message_with_string ((NUMBERP (append)
5114 ? "Updated %s" 5114 ? "Updated %s"
5115 : ! NILP (append) 5115 : ! NILP (append)
diff --git a/src/frame.c b/src/frame.c
index 13b05c6b0fd..5a0d142afbb 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -3219,7 +3219,7 @@ x_set_frame_parameters (struct frame *f, Lisp_Object alist)
3219 3219
3220 if ((width_change && width != FRAME_TEXT_WIDTH (f)) 3220 if ((width_change && width != FRAME_TEXT_WIDTH (f))
3221 || (height_change && height != FRAME_TEXT_HEIGHT (f)) 3221 || (height_change && height != FRAME_TEXT_HEIGHT (f))
3222 || f->new_height || f->new_width) 3222 || (f->can_x_set_window_size && (f->new_height || f->new_width)))
3223 { 3223 {
3224 /* If necessary provide default values for HEIGHT and WIDTH. Do 3224 /* If necessary provide default values for HEIGHT and WIDTH. Do
3225 that here since otherwise a size change implied by an 3225 that here since otherwise a size change implied by an
diff --git a/src/term.c b/src/term.c
index 74879ecc3f5..48447bce5fd 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1736,7 +1736,7 @@ produce_composite_glyph (struct it *it)
1736 { 1736 {
1737 struct composition *cmp = composition_table[it->cmp_it.id]; 1737 struct composition *cmp = composition_table[it->cmp_it.id];
1738 1738
1739 it->pixel_width = cmp->pixel_width; 1739 it->pixel_width = cmp->width;
1740 } 1740 }
1741 else 1741 else
1742 { 1742 {
diff --git a/src/xterm.c b/src/xterm.c
index 88962f640d5..14d04b8f671 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -9557,7 +9557,7 @@ x_set_window_size_1 (struct frame *f, bool change_gravity,
9557 x_wait_for_event (f, ConfigureNotify); 9557 x_wait_for_event (f, ConfigureNotify);
9558 else 9558 else
9559 { 9559 {
9560 change_frame_size (f, pixelwidth, pixelheight, false, true, false, true); 9560 change_frame_size (f, width, height, false, true, false, true);
9561 x_sync (f); 9561 x_sync (f);
9562 } 9562 }
9563} 9563}