aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorJoakim Verona2013-05-27 23:14:19 +0200
committerJoakim Verona2013-05-27 23:14:19 +0200
commit5cf62a1639c5993c1fd6b532f92325b28a13ee79 (patch)
treed67d1c7c583947f164ee7494601d5c9decbd6b0f /src/ChangeLog
parent3b2a9bcfc08c74d95f46d634fadc758decb1c2b0 (diff)
parent6ef3db10430c653e302ca5983ade6f8eaa186f85 (diff)
downloademacs-5cf62a1639c5993c1fd6b532f92325b28a13ee79.tar.gz
emacs-5cf62a1639c5993c1fd6b532f92325b28a13ee79.zip
Merge remote-tracking branch 'origin/trunk' into xwidget
Conflicts: ChangeLog lisp/ChangeLog lisp/progmodes/octave.el src/Makefile.in
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog411
1 files changed, 411 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4245a1f0256..b1f13e62b40 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,413 @@
12013-05-27 Eli Zaretskii <eliz@gnu.org>
2
3 * xdisp.c (pos_visible_p): When CHARPOS is displayed frrom a
4 display vector, and we backtrack, handle the case that the
5 previous character position is also displayed from a display
6 vector or covered by a display string or image. (Bug#14476)
7
82013-05-25 Jan Djärv <jan.h.d@swipnet.se>
9
10 * xfns.c (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): Remove.
11 (struct MonitorInfo, free_monitors): Remove.
12 (x_make_monitor_attribute_list): Call make_monitor_attribute_list.
13 (Fx_display_monitor_attributes_list): Call make_monitor_attribute_list.
14 (syms_of_xfns): Remove DEFSYM for Qgeometry, Qworkarea, Qmm_size,
15 Qframes, Qsource.
16
17 * nsfns.m (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): Remove.
18 (struct MonitorInfo, free_monitors): Remove.
19 (ns_screen_name): Make static.
20 (ns_make_monitor_attribute_list): Call make_monitor_attribute_list.
21 (syms_of_nsfns): Remove DEFSYM for Qgeometry, Qworkarea, Qmm_size,
22 Qframes, Qsource.
23
24 * frame.h (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): Declare.
25 (struct MonitorInfo): New struct.
26 (free_monitors, make_monitor_attribute_list): Declare.
27
28 * frame.c (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): New
29 Lisp_Object:s.
30 (free_monitors, make_monitor_attribute_list): New functions.
31 (syms_of_frame): DEFSYM Qgeometry, Qworkarea, Qmm_size, Qframes,
32 Qsource.
33
342013-05-25 Xue Fuqiao <xfq.free@gmail.com>
35
36 * callproc.c (call_process): Refine the doc string. (Bug#14045)
37
382013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
39
40 * keyboard.c: Apply keyboard decoding only to events that come directly
41 from the tty, not from unread-command-events (bug#14368).
42 (read_event_from_main_queue): New function, extracted from read_char).
43 (read_decoded_char): Remove.
44 (read_decoded_event_from_main_queue): New function to replace it.
45 (read_char): Use it.
46 (read_key_sequence): Use read_char rather than read_decoded_char.
47
48 * keyboard.c (read_decoded_char): Don't decode under w32 (bug#14403).
49
502013-05-22 Barry OReilly <gundaetiapo@gmail.com> (tiny change)
51
52 * casetab.c (init_casetab_once): Fix last change (bug#14424).
53
542013-05-22 Kenichi Handa <handa@gnu.org>
55
56 The following changes are to fix the setting of
57 buffer-file-coding-system on, for instance, C-x RET c unix RET
58 _FILE_OF_DOS_EOL_TYPE_ RET.
59
60 * coding.h (struct coding_system): New member detected_utf8_chars.
61
62 * coding.c (detect_coding_utf_8): Count characters and check EOL
63 format. Include CATEGORY_MASK_UTF_8_AUTO in detect_info->found if
64 BOM is there.
65 (setup_coding_system): Do not initialize coding->head_ascii.
66 (check_ascii): Do not set coding->eol_seen but update it. Do not
67 call adjust_coding_eol_type here.
68 (detect_coding): Fix detection of BOM for utf-8 and utf-16.
69 If the eol-type of CODING is already specified, adjust the eol type
70 of the found coding-system.
71 (decode_coding_gap): Cancel previous change. Utilize the
72 character numbers counted by detect_coding_utf_8. Fix detection
73 of BOM for utf-8.
74
752013-05-21 Barry OReilly <gundaetiapo@gmail.com> (tiny change)
76
77 * search.c (looking_at_1): Only set last_thing_searched if the match
78 changed the match-data (bug#14281).
79
802013-05-21 Dmitry Antipov <dmantipov@yandex.ru>
81
82 * xdisp.c (reseat_at_previous_visible_line_start):
83 Already declared in dispextern.h, so remove it here.
84 (move_it_vertically_backward): Likewise.
85
862013-05-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
87
88 * xfns.c (check_x_display_info): Don't use XINT for terminal object.
89 (Fx_display_pixel_width, Fx_display_pixel_height)
90 (Fx_display_mm_width, Fx_display_mm_height):
91 Mention `display-monitor-attributes-list' in docstrings.
92
93 * nsfns.m (ns_get_screen): Remove function. All uses removed.
94 (check_ns_display_info): Sync with check_x_display_info in xfns.c.
95 (Fx_server_max_request_size, Fx_server_vendor, Fx_server_version)
96 (Fx_display_screens, Fx_display_mm_width, Fx_display_mm_height)
97 (Fx_display_backing_store, Fx_display_visual_class)
98 (Fx_display_save_under, Fx_close_connection, Fxw_display_color_p)
99 (Fx_display_grayscale_p, Fx_display_pixel_width)
100 (Fx_display_pixel_height, Fx_display_planes)
101 (Fx_display_color_cells): Sync args and docstrings with xfns.c.
102 (Fx_display_screens): Don't confuse X11 screens with NS screens.
103 (Fx_display_mm_width, Fx_display_mm_height)
104 (Fx_display_pixel_width, Fx_display_pixel_width): Return width or
105 height for all physical monitors as in X11.
106
107 * nsterm.m (x_display_pixel_width, x_display_pixel_height):
108 Return pixel width or height for all physical monitors as in X11.
109
1102013-05-18 Paul Eggert <eggert@cs.ucla.edu>
111
112 Port --enable-gcc-warnings to clang.
113 * bytecode.c (exec_byte_code):
114 * regex.c:
115 Redo diagnostic pragmas to pacify clang, too.
116 * dbusbind.c (xd_retrieve_arg): Do not use uninitialized variable.
117 * editfns.c (Fencode_time):
118 * fileio.c (file_accessible_directory_p):
119 * font.c (font_unparse_xlfd):
120 Use '&"string"[index]' instead of '"string" + (index)'.
121 * undo.c (user_error): Remove; unused.
122
1232013-05-16 Eli Zaretskii <eliz@gnu.org>
124
125 * insdel.c (insert_1_both): Document the arguments, instead of
126 referring to insert_1, which no longer exists.
127
128 * xdisp.c (message_dolog): If the *Messages* buffer is shown in
129 some window, increment windows_or_buffers_changed, so that
130 *Messages* display in that window is updated. (Bug#14408)
131
132 * w32.c: Include epaths.h.
133 (init_environment): Use cmdproxy.exe without leading directories.
134 Support emacs.exe in src; point SHELL to cmdproxy in ../nt in that
135 case.
136 (gettimeofday): Adjust signature and return value to Posix
137 expectations.
138
139 * unexw32.c (open_output_file): Delete the existing emacs.exe
140 before creating it, to break the hard link to the versioned
141 executable.
142
143 * Makefile.in (EMACS_MANIFEST, CM_OBJ, TEMACS_POST_LINK)
144 (ADDSECTION, EMACS_HEAPSIZE, MINGW_TEMACS_POST_LINK)
145 (FIRSTFILE_OBJ): New variables.
146 (W32_RES): Rename to EMACSRES. All users changed.
147 (base_obj): Use $(CM_OBJ).
148 (ALLOBJS): Use $(FIRSTFILE_OBJ).
149 (emacs$(EXEEXT)): Depend on $(ADDSECTION).
150 (temacs$(EXEEXT)): Use $(TEMACS_POST_LINK), and move
151 $(W32_RES_LINK) before $(LIBES).
152 (emacs.res): Depend on $(EMACS_MANIFEST). Put emacs.rc in nt.
153
1542013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
155
156 * makefile.w32-in (DOC): Use just "DOC".
157
158 * Makefile.in (bootstrap-clean): DOC-* doesn't exist any more.
159
160 * process.c: Export default filters and sentinels to Elisp.
161 (Qinternal_default_process_sentinel, Qinternal_default_process_filter):
162 New constants.
163 (pset_filter, pset_sentinel, make_process, Fset_process_filter)
164 (Fset_process_sentinel, Fformat_network_address):
165 Default to them instead of nil.
166 (server_accept_connection): Sentinels can't be nil any more.
167 (read_and_dispose_of_process_output): New function, extracted from
168 read_process_output.
169 (read_process_output): Use it; filters can't be nil.
170 (Finternal_default_process_filter): New function, extracted from
171 read_process_output.
172 (exec_sentinel_unwind): Remove function.
173 (exec_sentinel): Don't zilch sentinel while running.
174 (status_notify): Sentinels can't be nil.
175 (Finternal_default_process_sentinel): New function extracted from
176 status_notify.
177 (setup_process_coding_systems): Default filter is not nil any more.
178 (syms_of_process): Export new Elisp functions and initialize
179 new constants.
180 * lisp.h (make_lisp_proc): New function.
181
1822013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
183
184 * regex.c (regex_compile) [\=, \>, \<]: Don't forget to set laststart.
185
1862013-05-14 Eli Zaretskii <eliz@gnu.org>
187
188 * w32fns.c (w32_wnd_proc): Don't call WINDOW_HEADER_LINE_HEIGHT
189 unless we know that the window w is a leaf window.
190 Another attempt at solving bug#14062.
191
1922013-05-14 Jan Djärv <jan.h.d@swipnet.se>
193
194 * nsfont.m (ns_spec_to_descriptor): Retain and autorelease
195 fdesc (Bug#14375).
196
1972013-05-12 Paul Eggert <eggert@cs.ucla.edu>
198
199 * image.c (gif_load): Check that subimages fit (Bug#14345).
200
2012013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
202
203 * lread.c (skip_dyn_eof): New function.
204 (read1): Use it to skip the end of a file in response to #@00.
205
206 * doc.c (get_doc_string): Slightly relax the sanity checking.
207
2082013-05-09 Jan Djärv <jan.h.d@swipnet.se>
209
210 * nsfns.m: Include IOGraphicsLib.h if Cocoa.
211 (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): Declare.
212 (MonitorInfo): New struct.
213 (free_monitors, ns_screen_name, ns_make_monitor_attribute_list)
214 (Fns_display_monitor_attributes_list): New functions.
215 (display-usable-bounds): Remove.
216 (syms_of_nsfns): DEFSYM Qgeometry, Qworkarea, Qmm_size, Qframes and
217 Qsource.
218
2192013-05-09 Paul Eggert <eggert@cs.ucla.edu>
220
221 * xterm.h (GTK_PREREQ): Remove, replacing with GTK_CHECK_VERSION.
222 (GTK_CHECK_VERSION): New macro, if not already defined.
223 All uses of GTK_PREREQ, GTK_MAJOR_VERSION, etc.
224 replaced by GTK_CHECK_VERSION.
225
2262013-05-08 Paul Eggert <eggert@cs.ucla.edu>
227
228 * xterm.h (GTK_PREREQ): New macro.
229 All simple uses of GTK_MAJOR_VERSION and GTK_MINOR_VERSION changed
230 to use this macro instead, for consistency and clarity.
231
2322013-05-08 Eli Zaretskii <eliz@gnu.org>
233
234 * xdisp.c (row_for_charpos_p): New function, with code of
235 cursor_row_p, but accepts an additional argument CHARPOS instead
236 of using a hardcoded PT.
237 (cursor_row_p): Call row_for_charpos_p with 2nd argument PT.
238 (row_containing_pos): Call row_for_charpos_p instead of partially
239 doing the same. Fixes cursor positioning under longlines-mode
240 when longlines-show-effect includes more than one newline, when
241 moving the cursor vertically up.
242
2432013-05-08 Juanma Barranquero <lekktu@gmail.com>
244
245 * makefile.w32-in (ACL_H): New macro.
246 ($(BLD)/fileio.$(O)): Update dependencies.
247
2482013-05-07 Paul Eggert <eggert@cs.ucla.edu>
249
250 Use Gnulib ACL implementation, for benefit of Solaris etc. (Bug#14295)
251 * Makefile.in (LIB_ACL): New macro.
252 (LIBACL_LIBS): Remove.
253 (LIBES): Use LIB_ACL, not LIBACL_LIBS.
254 * fileio.c: Include <acl.h>.
255 Use HAVE_ACL_SET_FILE rather than HAVE_POSIX_ACL.
256 (ACL_NOT_WELL_SUPPORTED): Remove. All uses replaced by
257 !acl_errno_valid.
258 (Fcopy_file) [!WINDOWSNT]: Use qcopy_acl instead of rolling
259 it ourselves.
260
261 * unexelf.c: Don't assume ElfW (Half) fits in int.
262 (entry_address, find_section, unexec): Use ptrdiff_t, not int,
263 when dealing with ElfW (Half) values, since they can exceed 2**31
264 on 64-bit OpenBSD hosts. Problem reported privately by Han Boetes.
265 (entry_address): Omit unused NUM arg. All uses changed.
266
2672013-05-07 Juri Linkov <juri@jurta.org>
268
269 * callint.c (Fcall_interactively): Set `visargs[i]' for code 'n'
270 to the string converted from number with `Fnumber_to_string'.
271 (Bug#14254)
272
2732013-05-07 Paul Eggert <eggert@cs.ucla.edu>
274
275 * xfns.c (x_get_net_workarea): Define only if !GTK || GTK<3.4.
276 This fixes a problem introduced by my previous change.
277
2782013-05-07 Glenn Morris <rgm@gnu.org>
279
280 * lread.c (readchar): Don't read from a dead buffer. (Bug#14280)
281
2822013-05-07 Jan Djärv <jan.h.d@swipnet.se>
283
284 * xfns.c: Move misplaced ifndef USE_GTK from previous checkin.
285
2862013-05-07 Paul Eggert <eggert@cs.ucla.edu>
287
288 Static checking by GCC 4.8.0.
289 * xfns.c (x_get_net_workarea, struct MonitorInfo, free_monitors)
290 (x_get_monitor_for_frame, x_make_monitor_attribute_list)
291 (x_get_monitor_attributes_fallback)
292 (x_get_monitor_attributes_xinerama)
293 (x_get_monitor_attributes_xrandr, x_get_monitor_attributes):
294 Define only if USE_GTK.
295 (free_monitors): Define only if HAVE_XINERAMA || HAVE_XRANDR.
296 (x_get_monitor_attributes_fallback): Omit unused locals.
297 (x_get_monitor_attributes_xinerama, Fx_display_monitor_attributes_list):
298 Use double, not float, to avoid mixed-mode floating point arithmetic.
299
3002013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
301 Jan Djärv <jan.h.d@swipnet.se>
302
303 * Makefile.in (XRANDR_LIBS, XRANDR_CFLAGS, XINERAMA_LIBS)
304 (XINERAMA_CFLAGS): New macros.
305 (ALL_CFLAGS, LIBES): Use them.
306
307 * xfns.c: Include <X11/extensions/Xrandr.h> if HAVE_XRANDR, and
308 include <X11/extensions/Xinerama.h> if HAVE_XINERAMA.
309 (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): New variables.
310 (syms_of_xfns): DEFSYM them.
311 (struct MonitorInfo): New struct.
312 (x_get_net_workarea, free_monitors, x_get_monitor_for_frame)
313 (x_make_monitor_attribute_list, x_get_monitor_attributes_fallback)
314 (x_get_monitor_attributes_xrandr, x_get_monitor_attributes)
315 (x_get_monitor_attributes_xinerama): New functions.
316 (Fx_display_monitor_attributes_list): New primitive.
317 (syms_of_xfns): Defsubr it.
318
319 * xterm.h (x_display_info): Add Xatom_net_workarea and
320 Xatom_net_current_desktop.
321
322 * xterm.c (x_term_init): Initialize dpyinfo->Xatom_net_workarea
323 and dpyinfo->Xatom_net_current_desktop.
324
3252013-05-06 Eli Zaretskii <eliz@gnu.org>
326
327 * xdisp.c (pos_visible_p): Use the special code for finding the
328 beginning of a display property or overlay for any "replacing"
329 display property, not just for display strings. This solves
330 incorrect reporting of position by posn-at-point. (Bug#14241)
331
3322013-05-06 Paul Eggert <eggert@cs.ucla.edu>
333
334 * unexelf.c: Fix some 32-bit integer problems, notably when debugging.
335 Include <limits.h>, <stdbool.h>, <intprops.h>, <verify.h>.
336 Verify that ElfW (Half) fits in int.
337 (fatal): Use same signature as lisp.h.
338 (UNEXELF_DEBUG): New macro, replacing DEBUG, so that people can
339 configure and build with -DUNEXELF_DEBUG without worrying about
340 other modules that use DEBUG.
341 (DEBUG_LOG) [UNEXELF_DEBUG]: New macro. All debug code that prints
342 possibly-wide integers now uses it instead of plain fprintf.
343 (entry_address): New function, which avoids problems with 32-bit
344 overflow on 64-bit hosts.
345 (OLD_SECTION_H, NEW_SECTION_H, NEW_PROGRAM_H): Use it.
346 (round_up): Don't assume the remainder fits in int.
347 (find_section): Use bool for boolean. Simplify debug code.
348 (unexec): Don't assume file sizes fit in int or size_t.
349 Omit unnecessary trailing newline in 'fatal' format.
350 Use strerror rather than outputting decimal error number.
351 Remove unused code when emacs is not defined;
352 this file relies on Emacs now.
353 Don't assume e_phnum and e_shnum are positive.
354
355 * regex.c: Fix problems when DEBUG is defined.
356 (extract_number, extract_number_and_incr): Define regardless of
357 whether DEBUG is defined; that's simpler and makes the code less
358 likely to go stale in the normal case when DEBUG is not defined.
359 Return int rather than taking an int * arg. All callers changed.
360 (DEBUG_PRINT1, DEBUG_PRINT2, DEBUG_PRINT3, DEBUG_PRINT4):
361 Remove, replacing with ...
362 (DEBUG_PRINT): New macro. All callers changed.
363 (DEBUG_COMPILES_ARGUMENTS): New macro.
364 (print_fastmap, print_partial_compiled_pattern) [DEBUG]:
365 (print_compiled_pattern, print_double_string) [DEBUG]:
366 Use prototype rather than old-style definition.
367 (print_partial_compiled_pattern, print_compiled_pattern) [DEBUG]:
368 (ENSURE_FAIL_STACK, PUSH_FAILURE_REG) [DEBUG]:
369 (POP_FAILURE_REG_OR_COUNT, PUSH_FAILURE_POINT) [DEBUG]:
370 (POP_FAILURE_POINT, re_match_2_internal) [DEBUG]:
371 Don't assume ptrdiff_t, size_t, and long are the same width as int.
372 (POINTER_TO_OFFSET): Return ptrdiff_t, not regoff_t.
373 This matters only when DEBUG is defined.
374
3752013-05-05 Eli Zaretskii <eliz@gnu.org>
376
377 * xdisp.c (set_iterator_to_next): Set the
378 ignore_overlay_strings_at_pos_p flag only if we are _really_
379 iterating over an overlay string, as indicated by the
380 current.overlay_string_index member. (Bug#14306)
381
3822013-05-05 Jan Djärv <jan.h.d@swipnet.se>
383
384 * nsmenu.m (ns_update_menubar): Move initialization of submenuTitle
385 to where it is used, to avoid autorelease issues (Bug#14050).
386
3872013-05-05 Paul Eggert <eggert@cs.ucla.edu>
388
389 `write-region-inhibit-fsync' defaults to noninteractive (Bug#14273).
390 * fileio.c (syms_of_fileio): Implement this.
391 * filelock.c (create_lock_file): If symbolic links don't work, so
392 we use a regular file as a lock file, do not fsync the lock file;
393 it's not needed.
394
3952013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
396
397 * minibuf.c (Fread_minibuffer, Feval_minibuffer): Move to Elisp.
398 (syms_of_minibuf): Adjust accodingly.
399 * lread.c (Fread):
400 * callint.c (Fcall_interactively): Adjust calls accordingly.
401
4022013-05-04 Eli Zaretskii <eliz@gnu.org>
403
404 * dispextern.h (WINDOW_WANTS_HEADER_LINE_P): Verify that
405 w->contents is a buffer before computing everything else.
406 Use parentheses to disambiguate last part of the condition.
407
408 * w32fns.c (w32_wnd_proc): Remove temporary code used to trap
409 assertion violations. (Bug#14062)
410
12013-05-01 David Reitter <david.reitter@gmail.com> 4112013-05-01 David Reitter <david.reitter@gmail.com>
2 412
3 * nsfns.m (ns_tooltip): Initialize. 413 * nsfns.m (ns_tooltip): Initialize.
@@ -35,6 +445,7 @@
35 size. 445 size.
36 446
372013-04-26 Paul Eggert <eggert@cs.ucla.edu> 4472013-04-26 Paul Eggert <eggert@cs.ucla.edu>
448
38 Port better to AIX (Bug#14258). 449 Port better to AIX (Bug#14258).
39 * lisp.h (ENUM_BF) [__IBMC__]: Make it 'unsigned int' here, too, 450 * lisp.h (ENUM_BF) [__IBMC__]: Make it 'unsigned int' here, too,
40 to pacify AIX xlc. 451 to pacify AIX xlc.