aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorJoakim Verona2012-05-21 00:37:29 +0200
committerJoakim Verona2012-05-21 00:37:29 +0200
commit74f082445c1dd0c92d5bb187db0d50287e3a7bae (patch)
tree48e3d8fd9df3876665654eab9bcf96ec492a31e9 /src/ChangeLog
parent52862ad482e030e4d54cd7d6e250d76e59ee0554 (diff)
parent1b170bc63c2f3a3fbe6ba6996d5a015e82634909 (diff)
downloademacs-74f082445c1dd0c92d5bb187db0d50287e3a7bae.tar.gz
emacs-74f082445c1dd0c92d5bb187db0d50287e3a7bae.zip
upstream, fix conflicts
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog572
1 files changed, 571 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 0fa21336900..ea898893073 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,575 @@
12012-05-20 Ken Brown <kbrown@cornell.edu>
2
3 * gmalloc.c (_free_internal_nolock, _realloc_internal_nolock)
4 [CYGWIN]: Cast ptr to (char *) before comparing to _heapbase.
5
62012-05-19 Ken Brown <kbrown@cornell.edu>
7
8 * xfns.c (x_in_use): Remove `static' qualifier.
9 * xterm.h (x_in_use): Declare.
10 * xgselect.c: Include xterm.h.
11 (xg_select): Test `x_in_use' instead of `inhibit_window_system'
12 and `display_arg' (bug#9754).
13
142012-05-19 Paul Eggert <eggert@cs.ucla.edu>
15
16 * s/ms-w32.h (HAVE_GETDOMAINNAME): Remove; not needed.
17
18 * m/vax.h: Remove; no longer needed since HAVE_FTIME is being removed.
19 * s/ms-w32.h (HAVE_FTIME): Remove; not needed.
20
212012-05-18 Eli Zaretskii <eliz@gnu.org>
22
23 Fix compilation with -DGLYPH_DEBUG=1 on MS-Windows.
24
25 * w32term.c [GLYPH_DEBUG]: Add prototype for x_check_font.
26 (x_check_font) [GLYPH_DEBUG]: New function, copied from xterm.c
27
28 * w32fns.c (unwind_create_frame) [GLYPH_DEBUG]: Fix broken
29 reference to image_cache->refcount.
30 (x_create_tip_frame): Fix broken use of FRAME_IMAGE_CACHE.
31
322012-05-17 Juri Linkov <juri@jurta.org>
33
34 * search.c (Fword_search_regexp, Fword_search_backward)
35 (Fword_search_forward, Fword_search_backward_lax)
36 (Fword_search_forward_lax): Move functions to isearch.el
37 (bug#10145, bug#11381).
38
392012-05-16 Paul Eggert <eggert@cs.ucla.edu>
40
41 * xgselect.c (xg_select): Just invoke 'select' if -nw (Bug#9754).
42
432012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
44
45 * lread.c (init_obarray): Declare Qt and Qnil as special.
46
472012-05-14 Glenn Morris <rgm@gnu.org>
48
49 * nsterm.m (ns_init_paths): Fix typo ("libexec" not "lib-exec").
50 Put "libexec" before "bin", for the sake of init_callproc_1.
51
522012-05-14 Paul Eggert <eggert@cs.ucla.edu>
53
54 * keyboard.c (kbd_buffer_get_event) [!HAVE_DBUS]: Omit unused local.
55
56 * unexaix.c: Port to more-recent AIX compilers.
57 (report_error, report_error_1, make_hdr, copy_sym)
58 (mark_x, adjust_lnnoptrs, unrelocate_symbols):
59 Make arguments const char *, not char *, to avoid violations of C
60 standard and to fix some AIX warnings reported by Gilles Pion.
61
622012-05-14 Eli Zaretskii <eliz@gnu.org>
63
64 * xdisp.c (handle_stop): Don't call get_overlay_strings_1 if we
65 already have overlays loaded.
66 (handle_single_display_spec): Before returning without displaying
67 fringe bitmap, synchronize the bidi iterator with the main display
68 iterator, by calling iterate_out_of_display_property.
69 (iterate_out_of_display_property): Detect buffer iteration by
70 testing that it->string is a Lisp string.
71 (get_next_display_element): When the current object is exhausted,
72 and there's something on it->stack, call set_iterator_to_next to
73 proceed with what's on the stack, instead of returning zero.
74 (set_iterator_to_next): If called at the end of a Lisp string,
75 proceed to consider_string_end without incrementing string
76 position. Don't increment display vector index past the end of
77 the display vector. (Bug#11417)
78 (pos_visible_p): Don't report a position visible when move_it_to
79 stopped at the last line of window, which happens to be scanned
80 backwards by the bidi iteration. (Bug#11464)
81
822012-05-14 Eli Zaretskii <eliz@gnu.org>
83
84 * xdisp.c (handle_single_display_spec): Return 1 for left-margin
85 and right-margin display specs even if the spec is invalid or we
86 are on a TTY, and thus unable to display on the fringes. That's
87 because the text with the property will not be displayed anyway,
88 so we need to signal to the caller that this is a "replacing"
89 display spec. This fixes display when the spec is invalid or we
90 are on a TTY.
91
922012-05-14 Paul Eggert <eggert@cs.ucla.edu>
93
94 * unexaix.c (make_hdr): Fix typo in prototype.
95 This bug broke the build on AIX. Problem reported by Gilles Pion.
96
972012-05-14 Michael Albinus <michael.albinus@gmx.de>
98
99 * keyboard.c (kbd_buffer_get_event): Read special events also in
100 batch mode. (Bug#11415)
101
1022012-05-12 Glenn Morris <rgm@gnu.org>
103
104 * ns.mk: Update for ns_appbindir no longer having trailing "/".
105
1062012-05-12 Eli Zaretskii <eliz@gnu.org>
107
108 * lisp.mk (lisp): Add newcomment.elc.
109
1102012-05-12 Glenn Morris <rgm@gnu.org>
111
112 * Makefile.in (MKDIR_P): New, set by configure.
113 * ns.mk (${ns_appdir}, ${ns_appbindir}Emacs): Use $MKDIR_P.
114
1152012-05-11 Paul Eggert <eggert@cs.ucla.edu>
116
117 Remove unused function hourglass_started.
118 * dispextern.h (hourglass_started):
119 * w32fns.c (hourglass_started):
120 * xdisp.c (hourglass_started): Remove.
121
1222012-05-10 Juanma Barranquero <lekktu@gmail.com>
123
124 * makefile.w32-in ($(BLD)/gmalloc.$(O), $(BLD)/w32menu.$(O)):
125 Update dependencies.
126
1272012-05-10 Paul Eggert <eggert@cs.ucla.edu>
128
129 * xgselect.c (xg_select): Put maxfds+1 into a var.
130 This is slightly clearer, and pacifies Ubuntu 12.04 gcc.
131
132 * sound.c (DEFAULT_ALSA_SOUND_DEVICE): Define only if HAVE_ALSA.
133
1342012-05-10 Dave Abrahams <dave@boostpro.com>
135
136 * filelock.c (syms_of_filelock): New boolean create-lockfiles.
137 (lock_file): If create_lockfiles is 0, do nothing. (Bug#11227)
138
1392012-05-09 Michael Albinus <michael.albinus@gmx.de>
140
141 * dbusbind.c (xd_registered_buses): New internal Lisp object.
142 Rename all occurences of Vdbus_registered_buses to xd_registered_buses.
143 (syms_of_dbusbind): Remove declaration of Vdbus_registered_buses.
144 Initialize xd_registered_buses.
145
1462012-05-09 Paul Eggert <eggert@cs.ucla.edu>
147
148 Untag more efficiently if USE_LSB_TAG.
149 This is based on a proposal by YAMAMOTO Mitsuharu in
150 <http://lists.gnu.org/archive/html/emacs-devel/2008-01/msg01876.html>.
151 For an admittedly artificial (nth 8000 longlist) benchmark on
152 Fedora 15 x86-64, this yields a 25% CPU speedup. Also, it shrinks
153 Emacs's overall text size by 1%.
154 * lisp.h (XUNTAG): New macro.
155 (XCONS, XVECTOR, XSTRING, XSYMBOL, XFLOAT, XMISC, XPROCESS, XWINDOW)
156 (XTERMINAL, XSUBR, XBUFFER, XCHAR_TABLE, XSUB_CHAR_TABLE, XBOOL_VECTOR)
157 (XSETTYPED_PSEUDOVECTOR, XHASH_TABLE, TYPED_PSEUDOVECTORP): Use it.
158 * eval.c (Fautoload):
159 * font.h (XFONT_SPEC, XFONT_ENTITY, XFONT_OBJECT):
160 * frame.h (XFRAME): Use XUNTAG.
161
162 Port recent dbusbind.c changes to 32-bit --with-wide-int.
163 * dbusbind.c (xd_append_arg, xd_retrieve_arg, Fdbus_message_internal):
164 Remove unportable assumptions about print widths of types like
165 dbus_uint32_t.
166 (xd_get_connection_address, Fdbus_init_bus): Cast Emacs integer to
167 intptr_t when converting between pointer and integer, to avoid GCC
168 warnings about wrong width.
169
1702012-05-09 Eli Zaretskii <eliz@gnu.org>
171
172 * w32proc.c (new_child): Force Windows to reserve only 64KB of
173 stack for each reader_thread, instead of defaulting to 8MB
174 determined by the linker. This avoids failures in creating
175 subprocesses on Windows 7, see the discussion in this thread:
176 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00119.html.
177
1782012-05-07 Jérémy Compostella <jeremy.compostella@gmail.com>
179
180 Fix up display of the *Minibuf-0* buffer in the mini window.
181 * keyboard.c (read_char): Don't clear the echo area if there's no
182 message to clear.
183 * xdisp.c (redisplay_internal): Redisplay the mini window (with the
184 contents of *Minibuf-0*) if there's no message displayed in its stead.
185
1862012-05-07 Michael Albinus <michael.albinus@gmx.de>
187
188 * dbusbind.c (XD_DEBUG_MESSAGE): Don't print message twice in
189 batch mode.
190
1912012-05-06 Chong Yidong <cyd@gnu.org>
192
193 * lisp.mk (lisp): Update.
194
1952012-05-05 Jim Meyering <meyering@redhat.com>
196
197 * w32font.c (fill_in_logfont): NUL-terminate a string (Bug#11372).
198
1992012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
200
201 * data.c (PUT_ERROR): New macro.
202 (syms_of_data): Use it. Add new error type `user-error'.
203 * undo.c (user_error): New function.
204 (Fprimitive_undo): Use it.
205 * print.c (print_error_message): Adjust print style for `user-error'.
206 * keyboard.c (user_error): New function.
207 (Fexit_recursive_edit, Fabort_recursive_edit): Use it.
208
2092012-05-03 Paul Eggert <eggert@cs.ucla.edu>
210
211 Do not limit current-time-string to years 1000..9999.
212 * editfns.c (TM_YEAR_IN_ASCTIME_RANGE): Remove.
213 (Fcurrent_time_string): Support any year that is supported by the
214 underlying localtime representation. Don't use asctime, as it
215 has undefined behavior for years outside the range -999..9999.
216
2172012-05-02 Paul Eggert <eggert@cs.ucla.edu>
218
219 Fix race conditions involving setenv, gmtime, localtime, asctime.
220 Without this fix, interrupts could mess up code that uses these
221 nonreentrant functions, since setting TZ invalidates existing
222 tm_zone or tzname values, and since most of these functions return
223 pointers to static storage.
224 * editfns.c (format_time_string, Fdecode_time, Fencode_time)
225 (Fcurrent_time_string, Fcurrent_time_zone, Fset_time_zone_rule):
226 Grow the critical sections to include not just invoking
227 localtime/gmtime, but also accessing these functions' results
228 including their tm_zone values if any, and any related TZ setting.
229 (format_time_string): Last arg is now struct tm *, not struct tm **,
230 so that the struct tm is saved in the critical section.
231 All callers changed. Simplify allocation of initial buffer, partly
232 motivated by the fact that memory allocation needs to be outside
233 the critical section.
234
2352012-05-02 Dmitry Antipov <dmantipov@yandex.ru>
236
237 * intervals.c (adjust_intervals_for_insertion): Initialize `newi'
238 with RESET_INTERVAL.
239
240 * buffer.c (Fget_buffer_create, Fmake_indirect_buffer):
241 Remove duplicated buffer name initialization.
242
2432012-05-02 Jim Meyering <jim@meyering.net>
244
245 * xterm.c (x_term_init): Use memcpy instead of strncpy (Bug#11373).
246
247 * xfns.c (x_window): Use xstrdup (Bug#11375).
248
2492012-05-02 Eli Zaretskii <eliz@gnu.org>
250
251 * xdisp.c (pos_visible_p): If already at a newline from the
252 display string before the 'while' loop, don't walk back the glyphs
253 from it3.glyph_row. Solves assertion violation when the display
254 string begins with a newline (egg.el). (Bug#11367)
255
2562012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
257
258 * keyboard.c (Fexecute_extended_command, Vsuggest_key_bindings):
259 Move to simple.el.
260
2612012-05-01 Glenn Morris <rgm@gnu.org>
262
263 * syssignal.h: Remove reference to BROKEN_SIGINFO (last used in
264 s/ptx4.h), BROKEN_SIGTSTP (last used in m/ustation.h, m/dpx2.h),
265 and BROKEN_SIGURG (was in s/gnu-linux.h prior to 2008-02-10).
266 All were removed before 23.1.
267
268 * dispnew.c: Remove HAVE_LIBNCURSES test;
269 it is always true on relevant platforms.
270
271 * Makefile.in (LD_SWITCH_X_SITE_RPATH):
272 Rename from LD_SWITCH_X_SITE_AUX_RPATH.
273
274 * Makefile.in (LD_SWITCH_X_SITE_AUX): Remove; no longer used.
275
2762012-04-30 Andreas Schwab <schwab@linux-m68k.org>
277
278 * .gdbinit (xpr): Remove checks for no longer existing misc types.
279 (xintfwd, xboolfwd, xobjfwd, xbufobjfwd, xkbobjfwd, xbuflocal):
280 Remove.
281
2822012-04-28 Paul Eggert <eggert@cs.ucla.edu>
283
284 Do not avoid creating empty evaporating overlays (Bug#9642).
285 * buffer.c (Fmove_overlay): Revert the change of 2012-04-23.
286 That is, do not delete an evaporating overlay if it becomes
287 empty after its bounds are adjusted to fit within its buffer.
288 This fix caused other problems, and I'm reverting it until we get
289 to the bottom of them.
290
2912012-04-27 Chong Yidong <cyd@gnu.org>
292
293 * xselect.c (x_convert_selection): Initialize a pointer (Bug#11315).
294
2952012-04-27 Eli Zaretskii <eliz@gnu.org>
296
297 * xdisp.c (pos_visible_p): If the window start position is beyond
298 ZV, start the display from buffer beginning. Prevents assertion
299 violation in init_iterator when the minibuffer window is scrolled
300 via the scroll bar.
301
302 * window.c (window_scroll_pixel_based): Likewise.
303
3042012-04-27 Chong Yidong <cyd@gnu.org>
305
306 * keymap.c (where_is_internal): Doc fix (Bug#10872).
307
3082012-04-27 Glenn Morris <rgm@gnu.org>
309
310 * fileio.c (Fcopy_file, Fset_file_selinux_context):
311 Ignore ENOTSUP failures from setfilecon functions. (Bug#11245)
312
3132012-04-27 Eli Zaretskii <eliz@gnu.org>
314
315 * dispnew.c (swap_glyph_pointers, copy_row_except_pointers):
316 Don't overrun array limits of glyph row's used[] array. (Bug#11288)
317
3182012-04-26 Eli Zaretskii <eliz@gnu.org>
319
320 * xdisp.c (IT_DISPLAYING_WHITESPACE): In addition to the loaded
321 display element, check also the underlying string or buffer
322 character. (Bug#11341)
323
324 * w32menu.c: Include w32heap.h.
325 (add_menu_item): If the call to AppendMenuW (via
326 unicode_append_menu) fails, disable Unicode menus only if we are
327 running on Windows 9X/Me.
328
3292012-04-24 Andreas Schwab <schwab@linux-m68k.org>
330
331 * .gdbinit (xpr): Handle USE_2_TAGS_FOR_INTS.
332 (xgetint): Add missing shift for LSB tags.
333
3342012-04-24 Martin Rudalics <rudalics@gmx.at>
335
336 * keyboard.c (read_char): Don't wipe echo area for select window
337 events: These might get delayed via `mouse-autoselect-window'
338 (Bug#11304).
339
3402012-04-24 Juanma Barranquero <lekktu@gmail.com>
341
342 * gnutls.c (init_gnutls_functions): Protect against (unlikely)
343 manipulation of :loaded-from data.
344
3452012-04-23 Juanma Barranquero <lekktu@gmail.com>
346
347 * gnutls.c (init_gnutls_functions): The value of :loaded-from is
348 now a cons (bug#11311).
349
3502012-04-23 Paul Eggert <eggert@cs.ucla.edu>
351
352 Do not create empty overlays with the evaporate property (Bug#9642).
353 * buffer.c (Fmove_overlay): Delete an evaporating overlay
354 if it becomes empty after its bounds are adjusted to fit within
355 its buffer. Without this fix, in a nonempty buffer (let ((o
356 (make-overlay 1 2))) (overlay-put o 'evaporate t) (move-overlay o 0 1))
357 yields an empty overlay that has the evaporate property, which is
358 not supposed to happen.
359
360 Fix minor GTK3 problems found by static checking.
361 * emacsgtkfixed.c (EMACS_TYPE_FIXED, EMACS_FIXED, EmacsFixed)
362 (EmacsFixedPrivate, EmacsFixedClass, struct _EmacsFixed)
363 (struct _EmacsFixedClass, emacs_fixed_get_type):
364 Move decls here from emacsgtkfixed.h, since they needn't be public.
365 (emacs_fixed_get_type): Now static.
366 (emacs_fixed_class_init): Omit unused local.
367 (emacs_fixed_child_type): Remove; unused.
368 * emacsgtkfixed.h (EMACS_TYPE_FIXED, EMACS_FIXED, EmacsFixed)
369 (EmacsFixedPrivate, EmacsFixedClass, struct _EmacsFixed)
370 (struct _EmacsFixedClass): Move to emacsgtkfixed.c.
371 (EMACS_FIXED_CLASS, EMACS_IS_FIXED, EMACS_IS_FIXED_CLASS)
372 (EMACS_FIXED_GET_CLASS): Remove; unused.
373 * gtkutil.c (xg_create_frame_widgets) [!HAVE_GTK3]: Omit unused local.
374
375 * keyboard.c (handle_async_input): Define only if SYNC_INPUT || SIGIO.
376 Problem reported by Juanma Barranquero for Windows -Wunused-function.
377
3782012-04-22 Paul Eggert <eggert@cs.ucla.edu>
379
380 Modernize and clean up gmalloc.c to assume C89 (Bug#9119).
381 * gmalloc.c: (_MALLOC_INTERNAL, _MALLOC_H, _PP, __ptr_t)
382 (__malloc_size_t, __malloc_ptrdiff_t):
383 Remove. All uses removed, replaced by the definiens if needed,
384 since we can assume C89 or better now.
385 Include <stdint.h>, for PTRDIFF_MAX, uintptr_t.
386 (protect_malloc_state, align, get_contiguous_space)
387 (malloc_atfork_handler_prepare, malloc_atfork_handler_parent)
388 (malloc_atfork_handler_child, malloc_enable_thread)
389 (malloc_initialize_1, __malloc_initialize, morecore_nolock)
390 (_malloc_internal_nolock, _malloc_internal, malloc, _malloc)
391 (_free, _realloc, _free_internal_nolock, _free_internal, free, cfree)
392 (special_realloc, _realloc_internal_nolock, _realloc_internal)
393 (realloc, calloc, __default_morecore, memalign, valloc, checkhdr)
394 (freehook, mallochook, reallochook, mabort, mcheck, mprobe):
395 Define using prototypes, not old style.
396 (align, _malloc_internal_nolock, _free_internal_nolock, memalign):
397 Don't assume ptrdiff_t and uintptr_t are no wider than unsigned long.
398 (align): Don't assume that signed integer overflow wraps around.
399 Omit unused local var.
400 (malloc_initialize_1, morecore_nolock, _malloc_internal_nolock)
401 (_free_internal_nolock, memalign, mallochook, reallochook):
402 Omit no-longer-needed casts.
403 (valloc): Use getpagesize, not __getpagesize.
404 (MAGICWORD, MAGICFREE): Now randomish size_t values, not 32-bit.
405 (struct hdr): The 'magic' member is now size_t, not unsigned long.
406
407 * dbusbind.c (XD_DBUS_VALIDATE_OBJECT): Define only if needed.
408
4092012-04-22 Michael Albinus <michael.albinus@gmx.de>
410
411 Move functions from C to Lisp. Make non-blocking method calls
412 the default. Implement further D-Bus standard interfaces.
413
414 * dbusbind.c (DBUS_NUM_MESSAGE_TYPES): Declare.
415 (QCdbus_request_name_allow_replacement)
416 (QCdbus_request_name_replace_existing)
417 (QCdbus_request_name_do_not_queue)
418 (QCdbus_request_name_reply_primary_owner)
419 (QCdbus_request_name_reply_in_queue)
420 (QCdbus_request_name_reply_exists)
421 (QCdbus_request_name_reply_already_owner): Move to dbus.el.
422 (QCdbus_registered_serial, QCdbus_registered_method)
423 (QCdbus_registered_signal): New Lisp objects.
424 (XD_DEBUG_MESSAGE): Use sizeof.
425 (XD_MESSAGE_TYPE_TO_STRING, XD_OBJECT_TO_STRING)
426 (XD_DBUS_VALIDATE_BUS_ADDRESS, XD_DBUS_VALIDATE_OBJECT)
427 (XD_DBUS_VALIDATE_BUS_NAME, XD_DBUS_VALIDATE_PATH)
428 (XD_DBUS_VALIDATE_INTERFACE, XD_DBUS_VALIDATE_MEMBER): New macros.
429 (XD_CHECK_DBUS_SERIAL): Rename from CHECK_DBUS_SERIAL_GET_SERIAL.
430 (xd_signature, xd_append_arg): Allow float for integer types.
431 (xd_get_connection_references): New function.
432 (xd_get_connection_address): Rename from xd_initialize.
433 Return cached address.
434 (xd_remove_watch): Do not unset $DBUS_SESSION_BUS_ADDRESS.
435 (xd_close_bus): Rename from Fdbus_close_bus. Not needed on Lisp
436 level.
437 (Fdbus_init_bus): New optional arg PRIVATE. Cache address.
438 Return number of refcounts.
439 (Fdbus_get_unique_name): Make stronger parameter check.
440 (Fdbus_message_internal): New defun.
441 (Fdbus_call_method, Fdbus_call_method_asynchronously)
442 (Fdbus_method_return_internal, Fdbus_method_error_internal)
443 (Fdbus_send_signal, Fdbus_register_service)
444 (Fdbus_register_signal, Fdbus_register_method): Move to dbus.el.
445 (xd_read_message_1): Obey new structure of Vdbus_registered_objects.
446 (xd_read_queued_messages): Obey new structure of Vdbus_registered_buses.
447 (Vdbus_compiled_version, Vdbus_runtime_version)
448 (Vdbus_message_type_invalid, Vdbus_message_type_method_call)
449 (Vdbus_message_type_method_return, Vdbus_message_type_error)
450 (Vdbus_message_type_signal): New defvars.
451 (Vdbus_registered_buses, Vdbus_registered_objects_table):
452 Adapt docstring.
453
4542012-04-22 Paul Eggert <eggert@cs.ucla.edu>
455
456 Fix GC_MALLOC_CHECK debugging output on 64-bit hosts.
457 * alloc.c (emacs_blocked_malloc) [GC_MALLOC_CHECK]:
458 Do not assume ptrdiff_t is the same width as 'int'.
459
460 * alloc.c: Handle unusual debugging option combinations.
461 (GC_CHECK_MARKED_OBJECTS): Undef if ! GC_MARK_STACK,
462 since the two debugging options are incompatible.
463 (GC_MALLOC_CHECK): Similarly, undef if GC_CHECK_MARKED_OBJECTS
464 is defined.
465 (mem_init, mem_insert, mem_insert_fixup):
466 Define if GC_MARK_STACK || GC_MALLOC_CHECK.
467 (NEED_MEM_INSERT): Remove; no longer needed.
468
4692012-04-22 Leo Liu <sdl.web@gmail.com>
470
471 * sysdep.c (list_system_processes): Support Darwin (Bug#5725).
472
4732012-04-22 Paul Eggert <eggert@cs.ucla.edu>
474
475 * sysdep.c [__FreeBSD__]: Minor cleanups.
476 (list_system_processes, system_process_attributes) [__FreeBSD__]:
477 Use Emacs indenting style more consistently. Avoid some casts.
478 Use 'double' consistently rather than mixing 'float' and 'double'.
479
4802012-04-21 Eduard Wiebe <usenet@pusto.de>
481
482 * sysdep.c (list_system_processes, system_process_attributes):
483 Add implementation for FreeBSD (Bug#5243).
484
4852012-04-21 Andreas Schwab <schwab@linux-m68k.org>
486
487 * lisp.mk (lisp): Update.
488
4892012-04-20 Paul Eggert <eggert@cs.ucla.edu>
490
491 * keyboard.c (process_pending_signals): Define only if SYNC_INPUT.
492 It is never used otherwise.
493
4942012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
495
496 * print.c (print_preprocess): Only check print_depth if print-circle
497 is nil.
498 (print_object): Check for cycles even when print-circle is nil and
499 print-gensym is t, but only check print_depth if print-circle is nil.
500
5012012-04-20 Chong Yidong <cyd@gnu.org>
502
503 * process.c (wait_reading_process_output): If EIO occurs on a pty,
504 set the status to "failed" and ensure that sentinel is run.
505
5062012-04-20 Glenn Morris <rgm@gnu.org>
507
508 * process.c (Fset_process_inherit_coding_system_flag)
509 (Fset_process_query_on_exit_flag): Doc fix (mention return value).
510 (Fmake_network_process, Fmake_serial_process): Doc fix.
511
5122012-04-20 Eli Zaretskii <eliz@gnu.org>
513
514 * xdisp.c (string_buffer_position_lim): Limit starting position to
515 BEGV.
516 (set_cursor_from_row): If called for a mode-line or header-line
517 row, return zero immediately.
518 (try_cursor_movement): If inside continuation line, don't back up
519 farther than the first row after the header line, if any.
520 Don't consider the header-line row as "partially visible", even if
521 MATRIX_ROW_PARTIALLY_VISIBLE_P returns non-zero. (Bug#11261)
522
5232012-04-20 Atsuo Ohki <ohki@gssm.otsuka.tsukuba.ac.jp> (tiny change)
524
525 * lread.c (lisp_file_lexically_bound_p): Fix hang at ";-*-\n"
526 (bug#11238).
527
5282012-04-20 Teodor Zlatanov <tzz@lifelogs.com>
5292012-04-18 Paul Eggert <eggert@cs.ucla.edu>
530
531 configure: new option --enable-gcc-warnings (Bug#11207)
532 * Makefile.in (C_WARNINGS_SWITCH): Remove.
533 (WARN_CFLAGS, WERROR_CFLAGS): New macros.
534 (ALL_CFLAGS): Use new macros rather than old.
535 * process.c: Ignore -Wstrict-overflow to work around GCC bug 52904.
536 * regex.c: Ignore -Wstrict-overflow. If !emacs, also ignore
537 -Wunused-but-set-variable, -Wunused-function, -Wunused-macros,
538 -Wunused-result, -Wunused-variable. This should go away once
539 the Emacs and Gnulib regex code is merged.
540 (xmalloc, xrealloc): Now static.
541
5422012-04-17 Paul Eggert <eggert@cs.ucla.edu>
543
544 * dired.c (Fsystem_groups): Remove unused local.
545
5462012-04-17 Glenn Morris <rgm@gnu.org>
547
548 * dired.c (Fsystem_users): Doc fix.
549
5502012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
551
552 * dired.c (Fsystem_users, Fsystem_groups): New functions. (Bug#7900)
553 (syms_of_dired): Add them.
554
12012-04-16 Paul Eggert <eggert@cs.ucla.edu> 5552012-04-16 Paul Eggert <eggert@cs.ucla.edu>
2 556
557 Fix minor alloc.c problems found by static checking.
558 * alloc.c (_malloc_internal, _free_internal) [!DOUG_LEA_MALLOC]:
559 New extern decls, to avoid calling undeclared functions.
560 (dont_register_blocks): Define if ((!SYSTEM_MALLOC && !SYNC_INPUT)
561 && GC_MALLOC_CHECK), not if ((GC_MARK_STACK || defined
562 GC_MALLOC_CHECK) && GC_MALLOC_CHECK), to match when it's used.
563 (NEED_MEM_INSERT): New macro.
564 (mem_insert, mem_insert_fixup) [!NEED_MEM_INSERT]: Remove; unused.
565 Remove one incorrect comment and fix another.
566
567 Fix minor ralloc.c problems found by static checking.
568 See http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html
569 * ralloc.c (ALIGNED, ROUND_TO_PAGE, HEAP_PTR_SIZE)
570 (r_alloc_size_in_use, r_alloc_freeze, r_alloc_thaw): Remove; unused.
571 (r_alloc_sbrk): Now static.
572
3 Improve ralloc.c interface checking. 573 Improve ralloc.c interface checking.
4 See http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html 574 See http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html
5 * buffer.c (ralloc_reset_variable, r_alloc, r_re_alloc) 575 * buffer.c (ralloc_reset_variable, r_alloc, r_re_alloc)
@@ -22,7 +592,7 @@
22 (union aligned_Lisp_Misc): Define. 592 (union aligned_Lisp_Misc): Define.
23 (MARKER_BLOCK_SIZE, struct marker_block): Use union 593 (MARKER_BLOCK_SIZE, struct marker_block): Use union
24 aligned_Lisp_Misc instead of union Lisp_Misc. 594 aligned_Lisp_Misc instead of union Lisp_Misc.
25 (Fmake_symbol, allocate_misc, gc_sweep): Adjust 595 (Fmake_symbol, allocate_misc, gc_sweep): Adjust.
26 596
272012-04-14 Paul Eggert <eggert@cs.ucla.edu> 5972012-04-14 Paul Eggert <eggert@cs.ucla.edu>
28 598