aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorEli Zaretskii2013-05-15 19:15:07 +0300
committerEli Zaretskii2013-05-15 19:15:07 +0300
commitd14365f9411ab4b20db6c455aa9cf24ce6a0bcb1 (patch)
treef547c3f203c903b118348061eb0fd2359c94d324 /src/ChangeLog
parentf94b5742a3e9bc7114c6e2cd85a2371381cba4d3 (diff)
parente3772e9833f971a450562350dc233bf00be7c5eb (diff)
downloademacs-d14365f9411ab4b20db6c455aa9cf24ce6a0bcb1.tar.gz
emacs-d14365f9411ab4b20db6c455aa9cf24ce6a0bcb1.zip
Merge from trunk, configury not fixed yet.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog230
1 files changed, 230 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4245a1f0256..0b4ccb0708a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,232 @@
12013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * regex.c (regex_compile) [\=, \>, \<]: Don't forget to set laststart.
4
52013-05-14 Eli Zaretskii <eliz@gnu.org>
6
7 * w32fns.c (w32_wnd_proc): Don't call WINDOW_HEADER_LINE_HEIGHT
8 unless we know that the window w is a leaf window.
9 Another attempt at solving bug#14062.
10
112013-05-14 Jan Djärv <jan.h.d@swipnet.se>
12
13 * nsfont.m (ns_spec_to_descriptor): Retain and autorelease
14 fdesc (Bug#14375).
15
162013-05-12 Paul Eggert <eggert@cs.ucla.edu>
17
18 * image.c (gif_load): Check that subimages fit (Bug#14345).
19
202013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
21
22 * lread.c (skip_dyn_eof): New function.
23 (read1): Use it to skip the end of a file in response to #@00.
24
25 * doc.c (get_doc_string): Slightly relax the sanity checking.
26
272013-05-09 Jan Djärv <jan.h.d@swipnet.se>
28
29 * nsfns.m: Include IOGraphicsLib.h if Cocoa.
30 (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): Declare.
31 (MonitorInfo): New struct.
32 (free_monitors, ns_screen_name, ns_make_monitor_attribute_list)
33 (Fns_display_monitor_attributes_list): New functions.
34 (display-usable-bounds): Remove.
35 (syms_of_nsfns): DEFSYM Qgeometry, Qworkarea, Qmm_size, Qframes and
36 Qsource.
37
382013-05-09 Paul Eggert <eggert@cs.ucla.edu>
39
40 * xterm.h (GTK_PREREQ): Remove, replacing with GTK_CHECK_VERSION.
41 (GTK_CHECK_VERSION): New macro, if not already defined.
42 All uses of GTK_PREREQ, GTK_MAJOR_VERSION, etc.
43 replaced by GTK_CHECK_VERSION.
44
452013-05-08 Paul Eggert <eggert@cs.ucla.edu>
46
47 * xterm.h (GTK_PREREQ): New macro.
48 All simple uses of GTK_MAJOR_VERSION and GTK_MINOR_VERSION changed
49 to use this macro instead, for consistency and clarity.
50
512013-05-08 Eli Zaretskii <eliz@gnu.org>
52
53 * xdisp.c (row_for_charpos_p): New function, with code of
54 cursor_row_p, but accepts an additional argument CHARPOS instead
55 of using a hardcoded PT.
56 (cursor_row_p): Call row_for_charpos_p with 2nd argument PT.
57 (row_containing_pos): Call row_for_charpos_p instead of partially
58 doing the same. Fixes cursor positioning under longlines-mode
59 when longlines-show-effect includes more than one newline, when
60 moving the cursor vertically up.
61
622013-05-08 Juanma Barranquero <lekktu@gmail.com>
63
64 * makefile.w32-in (ACL_H): New macro.
65 ($(BLD)/fileio.$(O)): Update dependencies.
66
672013-05-07 Paul Eggert <eggert@cs.ucla.edu>
68
69 Use Gnulib ACL implementation, for benefit of Solaris etc. (Bug#14295)
70 * Makefile.in (LIB_ACL): New macro.
71 (LIBACL_LIBS): Remove.
72 (LIBES): Use LIB_ACL, not LIBACL_LIBS.
73 * fileio.c: Include <acl.h>.
74 Use HAVE_ACL_SET_FILE rather than HAVE_POSIX_ACL.
75 (ACL_NOT_WELL_SUPPORTED): Remove. All uses replaced by
76 !acl_errno_valid.
77 (Fcopy_file) [!WINDOWSNT]: Use qcopy_acl instead of rolling
78 it ourselves.
79
80 * unexelf.c: Don't assume ElfW (Half) fits in int.
81 (entry_address, find_section, unexec): Use ptrdiff_t, not int,
82 when dealing with ElfW (Half) values, since they can exceed 2**31
83 on 64-bit OpenBSD hosts. Problem reported privately by Han Boetes.
84 (entry_address): Omit unused NUM arg. All uses changed.
85
862013-05-07 Juri Linkov <juri@jurta.org>
87
88 * callint.c (Fcall_interactively): Set `visargs[i]' for code 'n'
89 to the string converted from number with `Fnumber_to_string'.
90 (Bug#14254)
91
922013-05-07 Paul Eggert <eggert@cs.ucla.edu>
93
94 * xfns.c (x_get_net_workarea): Define only if !GTK || GTK<3.4.
95 This fixes a problem introduced by my previous change.
96
972013-05-07 Glenn Morris <rgm@gnu.org>
98
99 * lread.c (readchar): Don't read from a dead buffer. (Bug#14280)
100
1012013-05-07 Jan Djärv <jan.h.d@swipnet.se>
102
103 * xfns.c: Move misplaced ifndef USE_GTK from previous checkin.
104
1052013-05-07 Paul Eggert <eggert@cs.ucla.edu>
106
107 Static checking by GCC 4.8.0.
108 * xfns.c (x_get_net_workarea, struct MonitorInfo, free_monitors)
109 (x_get_monitor_for_frame, x_make_monitor_attribute_list)
110 (x_get_monitor_attributes_fallback)
111 (x_get_monitor_attributes_xinerama)
112 (x_get_monitor_attributes_xrandr, x_get_monitor_attributes):
113 Define only if USE_GTK.
114 (free_monitors): Define only if HAVE_XINERAMA || HAVE_XRANDR.
115 (x_get_monitor_attributes_fallback): Omit unused locals.
116 (x_get_monitor_attributes_xinerama, Fx_display_monitor_attributes_list):
117 Use double, not float, to avoid mixed-mode floating point arithmetic.
118
1192013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
120 Jan Djärv <jan.h.d@swipnet.se>
121
122 * Makefile.in (XRANDR_LIBS, XRANDR_CFLAGS, XINERAMA_LIBS)
123 (XINERAMA_CFLAGS): New macros.
124 (ALL_CFLAGS, LIBES): Use them.
125
126 * xfns.c: Include <X11/extensions/Xrandr.h> if HAVE_XRANDR, and
127 include <X11/extensions/Xinerama.h> if HAVE_XINERAMA.
128 (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): New variables.
129 (syms_of_xfns): DEFSYM them.
130 (struct MonitorInfo): New struct.
131 (x_get_net_workarea, free_monitors, x_get_monitor_for_frame)
132 (x_make_monitor_attribute_list, x_get_monitor_attributes_fallback)
133 (x_get_monitor_attributes_xrandr, x_get_monitor_attributes)
134 (x_get_monitor_attributes_xinerama): New functions.
135 (Fx_display_monitor_attributes_list): New primitive.
136 (syms_of_xfns): Defsubr it.
137
138 * xterm.h (x_display_info): Add Xatom_net_workarea and
139 Xatom_net_current_desktop.
140
141 * xterm.c (x_term_init): Initialize dpyinfo->Xatom_net_workarea
142 and dpyinfo->Xatom_net_current_desktop.
143
1442013-05-06 Eli Zaretskii <eliz@gnu.org>
145
146 * xdisp.c (pos_visible_p): Use the special code for finding the
147 beginning of a display property or overlay for any "replacing"
148 display property, not just for display strings. This solves
149 incorrect reporting of position by posn-at-point. (Bug#14241)
150
1512013-05-06 Paul Eggert <eggert@cs.ucla.edu>
152
153 * unexelf.c: Fix some 32-bit integer problems, notably when debugging.
154 Include <limits.h>, <stdbool.h>, <intprops.h>, <verify.h>.
155 Verify that ElfW (Half) fits in int.
156 (fatal): Use same signature as lisp.h.
157 (UNEXELF_DEBUG): New macro, replacing DEBUG, so that people can
158 configure and build with -DUNEXELF_DEBUG without worrying about
159 other modules that use DEBUG.
160 (DEBUG_LOG) [UNEXELF_DEBUG]: New macro. All debug code that prints
161 possibly-wide integers now uses it instead of plain fprintf.
162 (entry_address): New function, which avoids problems with 32-bit
163 overflow on 64-bit hosts.
164 (OLD_SECTION_H, NEW_SECTION_H, NEW_PROGRAM_H): Use it.
165 (round_up): Don't assume the remainder fits in int.
166 (find_section): Use bool for boolean. Simplify debug code.
167 (unexec): Don't assume file sizes fit in int or size_t.
168 Omit unnecessary trailing newline in 'fatal' format.
169 Use strerror rather than outputting decimal error number.
170 Remove unused code when emacs is not defined;
171 this file relies on Emacs now.
172 Don't assume e_phnum and e_shnum are positive.
173
174 * regex.c: Fix problems when DEBUG is defined.
175 (extract_number, extract_number_and_incr): Define regardless of
176 whether DEBUG is defined; that's simpler and makes the code less
177 likely to go stale in the normal case when DEBUG is not defined.
178 Return int rather than taking an int * arg. All callers changed.
179 (DEBUG_PRINT1, DEBUG_PRINT2, DEBUG_PRINT3, DEBUG_PRINT4):
180 Remove, replacing with ...
181 (DEBUG_PRINT): New macro. All callers changed.
182 (DEBUG_COMPILES_ARGUMENTS): New macro.
183 (print_fastmap, print_partial_compiled_pattern) [DEBUG]:
184 (print_compiled_pattern, print_double_string) [DEBUG]:
185 Use prototype rather than old-style definition.
186 (print_partial_compiled_pattern, print_compiled_pattern) [DEBUG]:
187 (ENSURE_FAIL_STACK, PUSH_FAILURE_REG) [DEBUG]:
188 (POP_FAILURE_REG_OR_COUNT, PUSH_FAILURE_POINT) [DEBUG]:
189 (POP_FAILURE_POINT, re_match_2_internal) [DEBUG]:
190 Don't assume ptrdiff_t, size_t, and long are the same width as int.
191 (POINTER_TO_OFFSET): Return ptrdiff_t, not regoff_t.
192 This matters only when DEBUG is defined.
193
1942013-05-05 Eli Zaretskii <eliz@gnu.org>
195
196 * xdisp.c (set_iterator_to_next): Set the
197 ignore_overlay_strings_at_pos_p flag only if we are _really_
198 iterating over an overlay string, as indicated by the
199 current.overlay_string_index member. (Bug#14306)
200
2012013-05-05 Jan Djärv <jan.h.d@swipnet.se>
202
203 * nsmenu.m (ns_update_menubar): Move initialization of submenuTitle
204 to where it is used, to avoid autorelease issues (Bug#14050).
205
2062013-05-05 Paul Eggert <eggert@cs.ucla.edu>
207
208 `write-region-inhibit-fsync' defaults to noninteractive (Bug#14273).
209 * fileio.c (syms_of_fileio): Implement this.
210 * filelock.c (create_lock_file): If symbolic links don't work, so
211 we use a regular file as a lock file, do not fsync the lock file;
212 it's not needed.
213
2142013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
215
216 * minibuf.c (Fread_minibuffer, Feval_minibuffer): Move to Elisp.
217 (syms_of_minibuf): Adjust accodingly.
218 * lread.c (Fread):
219 * callint.c (Fcall_interactively): Adjust calls accordingly.
220
2212013-05-04 Eli Zaretskii <eliz@gnu.org>
222
223 * dispextern.h (WINDOW_WANTS_HEADER_LINE_P): Verify that
224 w->contents is a buffer before computing everything else.
225 Use parentheses to disambiguate last part of the condition.
226
227 * w32fns.c (w32_wnd_proc): Remove temporary code used to trap
228 assertion violations. (Bug#14062)
229
12013-05-01 David Reitter <david.reitter@gmail.com> 2302013-05-01 David Reitter <david.reitter@gmail.com>
2 231
3 * nsfns.m (ns_tooltip): Initialize. 232 * nsfns.m (ns_tooltip): Initialize.
@@ -35,6 +264,7 @@
35 size. 264 size.
36 265
372013-04-26 Paul Eggert <eggert@cs.ucla.edu> 2662013-04-26 Paul Eggert <eggert@cs.ucla.edu>
267
38 Port better to AIX (Bug#14258). 268 Port better to AIX (Bug#14258).
39 * lisp.h (ENUM_BF) [__IBMC__]: Make it 'unsigned int' here, too, 269 * lisp.h (ENUM_BF) [__IBMC__]: Make it 'unsigned int' here, too,
40 to pacify AIX xlc. 270 to pacify AIX xlc.