ChangeLog 429 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
2014-05-28  Dmitry Antipov  <dmantipov@yandex.ru>

	On X, always make pointer visible when deleting frame (Bug#17609).
	* frame.c (frame_make_pointer_visible, frame_make_pointer_invisible):
	Pass frame as arg.
	* frame.h (frame_make_pointer_visible, frame_make_pointer_invisible):
	Adjust prototypes.
	* cmds.c (Fself_insert_command): Use SELECTED_FRAME.
	* keyboard.c (gobble_input): If there is no terminal input error,
	make sure the pointer is visible for all frames on this terminal.
	* xterm.c (x_free_frame_resources): Always enable pointer visibility.

13 14 15 16 17 18 19 20 21 22 23 24 25
2014-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* data.c (Fzerop): Move to Elisp.
	(syms_of_data): Don't defsubr it.
	* keyboard.c (echo_keystrokes_p): New function.
	(read_char, record_menu_key, read_key_sequence): Use it.

	* callint.c (Qfuncall_interactively): New var.
	(Qcall_interactively): Remove.
	(Ffuncall_interactively): New function.
	(Fcall_interactively): Use it.
	(syms_of_callint): Defsubr it.

26 27 28 29 30
2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* bytecode.c (FETCH) [BYTE_CODE_SAFE]: Check the bytecode wasn't
	relocated from under us.

31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
2014-05-27  Fabrice Popineau  <fabrice.popineau@gmail.com>

	* Makefile.in (C_HEAP_SWITCH): Get the predefined heap size from
	configure.
	(ADDSECTION, MINGW_TEMACS_POST_LINK): Remove, no longer used.

	* lisp.h (NONPOINTER_BITS): Modify the condition to define to zero
	for MinGW, since it no longer uses gmalloc.

	* buffer.c: Do not define mmap allocations functions for Windows.
	Remove mmap_find which is unused. Remove mmap_set_vars which does
	nothing useful.
	[WINDOWSNT]: Include w32heap.h.
	(init_buffer): Always allocate new memory for buffers.

	* emacs.c: Remove mmap_set_vars calls.

	* image.c (free_image): Undef free for Windows because it is
	redirected to our private version.

	* unexw32.c (COPY_PROC_CHUNK): Use %p format for 64bits
	compatibility.
	(copy_executable_and_dump_data): Remove dumping the heap section.
	(unexec): Restore using_dynamic_heap after dumping.

	* w32heap.c (dumped_data_commit, malloc_after_dump)
	(malloc_before_dump, realloc_after_dump, realloc_before_dump)
	(free_after_dump, free_before_dump, mmap_alloc, mmap_realloc)
	(mmap_free): New functions.

	* w32heap.h: Declare dumped_data and mmap_* function prototypes.

63 64
2014-05-27  Paul Eggert  <eggert@cs.ucla.edu>

65 66 67 68
	* image.c (imagemagick_load_image): Use MagickRealType for local
	'color_scale', instead of double, to avoid a GCC warning about
	double promotion.

69 70
	* xfns.c (Fx_window_property): Remove unused local.

71 72 73 74 75 76 77
	Don't kill already-reaped process (Bug#17561).
	* process.c (process_send_signal): Fix race condition where a
	subprocess was reaped by a signal handler between the check for
	liveness and calling 'kill', which meant that Emacs could in
	theory kill an innocent bystander process.  Do the fix by blocking
	SIGCHLD in a critical section that checks liveness before killing.

78 79 80 81 82
2014-05-26  Eli Zaretskii  <eliz@gnu.org>

	* w32.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Define only if
	undefined.

83 84 85 86 87
2014-05-26  Ken Brown  <kbrown@cornell.edu>

	* w32term.c (x_delete_display): Don't free dpyinfo->w32_id_name,
	even if !CYGWIN (see bug#17510).

88 89
2014-05-26  Jan Djärv  <jan.h.d@swipnet.se>

90 91 92
	* nsfns.m (Fns_do_applescript): Surround NSApp run
	with calls to ns_init_events, ns_finish_events (Bug#17424).

93 94 95 96 97 98 99 100
	* nsterm.h (ns_init_events, ns_finish_events): Declare.

	* nsterm.m (ns_init_events, ns_finish_events): New functions.
	(ns_read_socket, ns_select): Call ns_init_events, ns_finish_events.

	* nsfns.m (ns_do_applescript): Surround executeAndReturnError
	with calls to ns_init_events, ns_finish_events (Bug#17424).

101
2014-05-26  Eli Zaretskii  <eliz@gnu.org>
102 103 104 105 106

	* xdisp.c (move_it_in_display_line_to): Don't record wrap position
	if we are iterating over an object that generates glyphs for
	marginal areas.  (Bug#17585)

107
2014-05-26  Paul Eggert  <eggert@cs.ucla.edu>
108 109 110

	* xdisp.c (safe__call1, safe__eval): Now static.

111
2014-05-26  Eli Zaretskii  <eliz@gnu.org>
112 113 114 115 116

	* xdisp.c (safe__call): Accept va_list argument instead of '...'.
	(safe_call, safe__call1): Construct a va_list argument for safe_call.
	(safe_call1): Call safe_call instead of safe__call directly.

117
2014-05-26  Ken Brown  <kbrown@cornell.edu>
118 119 120 121 122

	* w32term.c (x_delete_display) [CYGWIN]: Don't free
	dpyinfo->w32_id_name, to make sure it doesn't get freed more than
	once.  (Bug#17510)

123
2014-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
124 125 126 127 128 129 130

	* xdisp.c: Bind inhibit-quit during pre-redisplay-function.
	(safe__call, safe__call1, safe__eval): New functions.
	(safe_call): Use it.
	(prepare_menu_bars): Use it for pre-redisplay-function (bug#17577).
	(display_mode_element): Same for `:eval'.

131
2014-05-26  Paul Eggert  <eggert@cs.ucla.edu>
Paul Eggert's avatar
Paul Eggert committed
132 133 134 135 136 137

	Fix port to 32-bit AIX (Bug#17540).
	* unexaix.c (copy_text_and_data): Don't add text_scnptr to ptr
	twice.  _text already includes this offset.
	(unrelocate_symbols): Don't cast 64-bit integer to pointer.

138
2014-05-26  Eli Zaretskii  <eliz@gnu.org>
139 140 141 142 143

	* xdisp.c (move_it_in_display_line_to): Avoid infinite recursion:
	when closest_pos is identical to to_charpos, don't recurse, since
	we already tried that, and failed.  (Bug#17539)

144 145 146 147 148 149
	* w32fns.c (unwind_create_frame) [GLYPH_DEBUG]: If we are
	unwinding when frame's faces were not initialized yet, increment
	the frame's image-cache reference count before calling
	x_free_frame_resources.  Don't dereference
	dpyinfo->terminal->image_cache if it is NULL.  (Bug#17524)

150 151 152 153 154 155 156 157 158 159 160
2014-05-25  Jan Djärv  <jan.h.d@swipnet.se>

	* nsfont.m (nsfont_draw): Simplify as arguments are adjusted in
	nsterm.m now.

	* nsterm.m (ns_draw_glyph_string): Move isComposite and end from
	macfont.m, call draw with adjusted arguments so font drivers
	don't need to do that.

	* macfont.m (macfont_draw): Merge changes from Macport.

161 162 163 164 165 166 167 168 169 170 171 172 173 174 175
2014-05-24  Eli Zaretskii  <eliz@gnu.org>

	* alloc.c (garbage_collect_1): New function, with all of the guts
	of Fgarbage_collect.
	(mark_stack): Accept an argument END and don't mark Lisp objects
	on the stack beyond the address given by END.  Calculation of END
	was moved to Fgarbage_collect.
	(Fgarbage_collect): Calculate the end address of the stack portion
	that needs to be examined by mark_stack, and pass that address to
	garbage_collect_1, which will pass it to mark_stack. See
	http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00270.html
	for more details about the underlying problems.  In particular,
	this avoids dumping Emacs with the large hash-table whose value is
	held in purify-flag for most of the time loadup.el runs.

176 177 178 179 180 181 182 183
2014-05-24  Jan Djärv  <jan.h.d@swipnet.se>

	* xfns.c (x_window_property_intern): New function (code from
	x_window_property).
	(Fx_window_property): Call x_window_property_intern.  If property
	not found and NILP (source) and outer window != inner window,
	check outer window for property (Bug#17537).

184 185 186 187 188 189 190 191 192 193 194 195
2014-05-22  Paul Eggert  <eggert@cs.ucla.edu>

	Supply malloc and alloc_size attributes for extern allocators.
	This documents the C API, and helps GCC generate a bit better code.
	* conf_post.h (ATTRIBUTE_MALLOC, ATTRIBUTE_ALLOC_SIZE)
	(ATTRIBUTE_MALLOC_SIZE): New macros.
	* gmalloc.c (malloc, realloc, calloc):
	* gtkutil.h (malloc_widget_value):
	* lisp.h (ralloc, r_re_alloc, xmalloc, xzalloc, xrealloc, xnmalloc)
	(xnrealloc, xstrdup, xlispstrdup, record_xmalloc):
	Use them.

196 197 198 199 200 201
2014-05-21  Paul Eggert  <eggert@cs.ucla.edu>

	Don't assume that ImageMagick uses a 16-bit quantum (Bug#17519).
	* image.c (imagemagick_load_image): Port to hosts that do not use
	a 16-bit quantum, i.e., QuantumRange does not equal 65535.

202 203 204 205
2014-05-21  Leo Liu  <sdl.web@gmail.com>

	* fns.c (Fnreverse): Accept strings for SEQ and update doc-string.

206 207 208 209
2014-05-20  Michael Albinus  <michael.albinus@gmx.de>

	* dbusbind.c (xd_signature): Revert last 2 patches.

210 211 212 213 214 215 216 217 218 219 220
2014-05-19  Paul Eggert  <eggert@cs.ucla.edu>

	Allow any non-nil value to count as true in bool-vector.
	Likewise for xd_signature in dbusbind.c.
	This is more consistent with the usual practice in Emacs, which is
	that any non-nil value counts as true.
	* alloc.c (Fbool_vector): Don't require args to be t or nil.
	* dbusbind.c (xd_signature): Likewise, for booleans.
	* data.c, lisp.h (Qbooleanp):
	* lisp.h (CHECK_BOOLEAN): Remove.  All uses removed.

221 222 223 224 225 226 227 228 229
2014-05-19  Dmitry Antipov  <dmantipov@yandex.ru>

	* lisp.h (CHECK_BOOLEAN): New function.
	* alloc.c (Fbool_vector): New function.
	(syms_of_alloc): Defsubr it.
	* data.c (Qbooleanp): New symbol.
	(syms_of_data): DEFSYM it.
	* dbusbind.c (xd_signature): Use CHECK_BOOLEAN.

230 231 232
	* font.c (font_matching_entity): Extract font-entity object
	from the vector of matching entities (Bug#17486).

Paul Eggert's avatar
Paul Eggert committed
233 234 235 236 237 238 239 240 241 242
2014-05-17  Paul Eggert  <eggert@cs.ucla.edu>

	Assume C99 or later (Bug#17487).
	* bytecode.c (B__dummy__): Remove.
	* conf_post.h (bool_bf) [!NS_IMPL_GNUSTEP]: Use bool.
	(FLEXIBLE_ARRAY_MEMBER): Now always empty.
	* dbusbind.c (XD_DEBUG_MESSAGE) [!DBUS_DEBUG]:
	* regex.c (DEBUG_PRINT): Assume varargs macros.
	* lisp.h (DEFUN_FUNCTION_INIT): Remove.  All uses now assume C99.

243 244 245 246 247
2014-05-17  Fabrice Popineau  <fabrice.popineau@gmail.com>

	* buffer.c (init_buffer) [USE_MMAP_FOR_BUFFERS]: Always map new
	memory for every buffer that was dumped.

248 249 250
2014-05-15  Dmitry Antipov  <dmantipov@yandex.ru>

	* fns.c (Freverse): Allow vectors, bool vectors and strings.
251
	(Fnreverse): Allow vectors and bool vectors.
252

253 254 255 256 257 258 259 260 261 262 263 264
2014-05-14  Dmitry Antipov  <dmantipov@yandex.ru>

	Minor cleanup for terminal setup.
	* termhooks.h (create_terminal): Adjust prototype.
	* terminal.c (create_terminal): Pass output method and RIF as args.
	(init_initial_terminal):
	* nsterm.m (ns_create_terminal):
	* term.c (init_tty):
	* w32term.c (w32_create_terminal):
	* xterm.c (x_create_terminal): Adjust users.
	Avoid redundant NULL initializers and add comments.

265 266 267 268
2014-05-13  Paul Eggert  <eggert@cs.ucla.edu>

	* keyboard.c (Qdeactivate_mark): Now static.

269 270 271 272 273 274 275 276 277 278 279 280 281
2014-05-13  Dmitry Antipov  <dmantipov@yandex.ru>

	If available, use Xfixes extension to do pointer blanking.
	* Makefile.in (XFIXES_CFLAGS, XFIXES_LIBS): New var.
	* xfns.c (x_set_mouse_color): Do not call make_invisible_cursor here.
	(make_invisible_cursor): Move to...
	* xterm.c (make_invisible_cursor): ...here.
	(x_probe_xfixes_extension, xfixes_toggle_visible_pointer)
	(x_toggle_visible_pointer, x_setup_pointer_blanking): New functions.
	(x_term_init): Call to x_setup_pointer_blanking.
	(XTtoggle_invisible_pointer): Use blanking specific to this display.
	* xterm.h (struct x_display_info): New member toggle_visible_pointer.

282 283 284 285
2014-05-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* xdisp.c (draw_glyphs): Set clipping to highlight boundaries.

286
2014-05-12  Glenn Morris  <rgm@gnu.org>
287 288 289

	* fileio.c (Ffile_executable_p): Doc tweak.

290
2014-05-12  Jan Djärv  <jan.h.d@swipnet.se>
291 292 293 294

	* xsettings.c (init_gsettings): Use g_settings_schema_source_lookup
	instead of deprecated g_settings_list_schemas if possible (Bug#17434).

295
2014-05-08  Paul Eggert  <eggert@cs.ucla.edu>
296 297 298

	* minibuf.c (read_minibuf): Avoid C99ism in previous patch (Bug#17430).

299
2014-05-08  Jarek Czekalski  <jarekczek@poczta.onet.pl>
300 301 302 303 304

	Fix initialization of minibuffer history variable (Bug#17430).
	* minibuf.c (read_minibuf): Initialize histval to Qnil if unbound.
	Move the initialization up to prevent any "value void" message.

305
2014-05-08  Samuel Bronson  <naesten@gmail.com>
306 307 308 309

	* keyboard.c (Frecursive_edit): Ensure inc&dec of command_loop_level
	are matched (bug#17413).

310
2014-05-08  Jarek Czekalski  <jarekczek@poczta.onet.pl>
311 312 313 314 315

	Stop tooltips pulling Emacs window to front (Bug#17408).
	* w32fns.c (Fx_show_tip): Add SWP_NOOWNERZORDER flag to
	SetWindowPos invocations.

316
2014-05-08  Jan Djärv  <jan.h.d@swipnet.se>
317 318 319 320

	* nsselect.m (Fx_selection_exists_p): Just return Qnil if window system
	not initialized (Bug#17398).

321 322 323 324
2014-05-07  Paul Eggert  <eggert@cs.ucla.edu>

	* image.c: Include <png.h> before <setjmp.h> (Bug#17429).

325 326 327 328 329 330 331 332
2014-05-06  Paul Eggert  <eggert@cs.ucla.edu>

	* image.c: Do not use libpng if HAVE_NS, as NS does its own thing.
	[HAVE_NS]: Do not include png.h.
	(x_query_frame_background_color): New function.
	(png_load_body, imagemagick_load_image, svg_load_image): Use it.
	(png_load_body): Coalesce duplicate code.

Paul Eggert's avatar
Paul Eggert committed
333 334
2014-05-04  Paul Eggert  <eggert@cs.ucla.edu>

335 336 337 338 339
	Consult libpng-config more consistently (Bug#17339).
	* Makefile.in (PNG_CFLAGS): New var.
	(ALL_CFLAGS): Use it.
	* image.c [HAVE_PNG]: Don't worry about <libpng/png.h>, as
	CFLAGS now handles this.
Paul Eggert's avatar
Paul Eggert committed
340

341 342 343 344 345 346 347
2014-05-03  Paul Eggert  <eggert@cs.ucla.edu>

	Handle systems without WCONTINUED consistently.  (Bug#15110, 17339)
	* process.c (handle_child_signal): Remove WCONTINUED ifdef,
	because WCONTINUED is always defined now.
	* syswait.h (WCONTINUED): Move here from ../lib-src/emacsclient.c.

Eli Zaretskii's avatar
Eli Zaretskii committed
348 349 350 351
2014-05-03  Eli Zaretskii  <eliz@gnu.org>

	* buffer.c (overlay_strings): Fix the wording of the commentary.

Glenn Morris's avatar
Glenn Morris committed
352 353 354 355 356
2014-05-01  Glenn Morris  <rgm@gnu.org>

	* floatfns.c (Fisnan):
	* profiler.c (Fprofiler_cpu_running_p): Doc fix (replace `iff').

357 358 359 360 361
2014-05-01  Eli Zaretskii  <eliz@gnu.org>

	* term.c (tty_menu_activate): A better initialization for cursor
	coordinates.

362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377
2014-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>

	* intervals.c: Tighten assertions.
	(create_root_interval): Make sure the interval is not empty.
	(intervals_equal): Use booleans.
	(rotate_right, rotate_left): Check LENGTHs rather than TOTAL_LENGTH.
	(balance_an_interval): Sanity check LENGTHs and TOTAL_LENGTHs.
	(balance_possible_root_interval): Simplify and use booleans.
	(split_interval_right, split_interval_left): Check LENGTH, and remove
	now redundant assertion.
	(adjust_intervals_for_insertion): Remove now redundant assertions.
	(delete_node, interval_deletion_adjustment)
	(adjust_intervals_for_deletion, merge_interval_right)
	(merge_interval_left): Check LENGTH rather than TOTAL_LENGTH.
	(reproduce_interval): Make sure the interval is not empty.

378 379 380 381 382 383
2014-04-30  Paul Eggert  <eggert@cs.ucla.edu>

	* term.c (tty_menu_activate): Don't assume row and col are initialized.
	GCC 4.9.0 warned about this, and I couldn't easily prove to my own
	satisfaction that they would always be initialized.

384
2014-04-30  Eli Zaretskii  <eliz@gnu.org>
385

386
	* term.c (tty_menu_display): Move the cursor to the active menu item.
387
	(tty_menu_activate): Return the cursor to the active menu item
388 389
	after displaying the menu and after displaying help-echo.
	See http://lists.gnu.org/archive/html/emacs-devel/2014-04/msg00402.html
390 391 392
	for the details of why this is needed by screen readers and
	Braille displays.

393
2014-04-30  Glenn Morris  <rgm@gnu.org>
394 395 396 397

	* process.c (handle_child_signal):
	Handle systems without WCONTINUED.  (Bug#15110, 17339)

398 399 400 401 402 403
2014-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>

	* window.c (struct saved_window): Remove mark.
	(Fset_window_configuration, save_window_save)
	(compare_window_configurations): Don't touch marks any more.

404 405
2014-04-28  Paul Eggert  <eggert@cs.ucla.edu>

Paul Eggert's avatar
Paul Eggert committed
406 407 408 409 410 411
	Use bits_word for gcmarkbits.
	* alloc.c (struct cons_block, struct float_block): On 64-bit hosts,
	bits_word is typically a tad more efficient for mark bits than
	unsigned is, so use bits_word.  All uses changed.
	* lisp.h (BITS_PER_INT): Remove; no longer used.

412 413 414 415 416 417 418 419 420 421
	Avoid undefined behavior in signed left shift.
	This ports to GCC 4.9.0 with -fsanitize=undefined.
	* alloc.c (bool_vector_fill, SETMARKBIT, UNSETMARKBIT):
	* data.c (Fash):
	* regex.c (extract_number):
	* lisp.h (make_number, XINT):
	Do not shift a 1 bit left into a sign bit.
	* alloc.c (struct cons_block, struct float_block): Use unsigned,
	not int, for gcmarkbits.  All uses changed.

422
2014-04-25  Eli Zaretskii  <eliz@gnu.org>
423 424

	* search.c (Fnewline_cache_check): Don't try to count newlines
425
	outside the buffer's restriction, as find_newline doesn't support that.
426

427 428 429 430 431 432 433 434 435 436
2014-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* window.c (Fset_window_configuration): Deactivate the mark before
	unsetting the mark.
	(set_window_buffer): Ignore window_initialized.
	(window_initialized): Remove.
	* keyboard.c (Qdeactivate_mark): Not static any more.
	* buffer.c (buffer_local_value): Rename from buffer_local_value_1.
	Update all callers.

437 438 439 440 441 442 443
2014-04-23  Paul Eggert  <eggert@cs.ucla.edu>

	* conf_post.h (ADDRESS_SANITIZER_WORKAROUND): Port to GCC 4.9.0
	and to clang 3.4, which have fixed the bug.  This should let us
	run a bit faster on these platforms when address sanitization is
	in effect.

444 445
2014-04-22  Paul Eggert  <eggert@cs.ucla.edu>

446 447 448 449 450 451
	Port to GCC 4.9.0 with --enable-gcc-warnings.
	* image.c (struct my_jpeg_error_mgr) [lint]: Remove member fp.
	All uses removed.
	(jpeg_load_body) [lint]: Add a 'volatile' to pacify a buggy GCC in
	a way that also works with GCC 4.9.0.

452 453
	* search.c (Fnewline_cache_check): Remove unused locals.

454 455 456 457 458 459
2014-04-22  Eli Zaretskii  <eliz@gnu.org>

	* search.c (find_newline1): New subroutine.
	(Fnewline_cache_check): New function.
	(syms_of_search): Defsubr it.

460
2014-04-22  Jarek Czekalski  <jarekczek@poczta.onet.pl>
461 462 463 464 465

	Fix freezing with scroll bars of GTK3 Toolkit (bug#15801).
	* keyboard.c (unblock_input): Add comment.
	* xgselect.c (xg_select): Prevent Glib main loop recursion.

466 467 468 469 470 471 472 473
2014-04-22  Daniel Colascione  <dancol@dancol.org>

	* lread.c (readevalloop_eager_expand_eval): New function
	that can recurse into toplevel forms.
	(readevalloop): Call it.
	* lisp.h: Declare Qprogn.
	* callint.c (Qprogn): No longer static.

474 475 476 477 478 479
2014-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* intervals.c (rotate_right, rotate_left): Fix up length computation.
	Also change identifiers to match the comments, and add more assertions
	(bug#16234).

480 481 482 483
2014-04-18  Paul Eggert  <eggert@cs.ucla.edu>

	* emacs.c (close_output_streams): Don't clear and restore errno.

484
2014-04-18  Jan Djärv  <jan.h.d@swipnet.se>
485 486 487 488

	* xterm.c (x_make_frame_visible): Prevent endless loop when frame
	never becomes visible, i.e. using XMonad  (Bug#17237).

489
2014-04-18  Eli Zaretskii  <eliz@gnu.org>
490

491 492 493 494
	* xdisp.c (insert_left_trunc_glyphs): Ensure the left truncation
	glyph is written to TEXT_AREA of the temporary glyph_row.  (Bug#17288)
	(Fline_pixel_height): Don't assume that the current buffer and the
	selected window's buffer are one and the same.  (Bug#17281)
495

496 497 498
	* insdel.c (invalidate_buffer_caches): Invalidate the bidi
	paragraph-start cache before the newline cache.  (Bug#17269)

499 500 501 502 503 504 505
2014-04-17  Paul Eggert  <eggert@cs.ucla.edu>

	* term.c (tty_send_additional_strings): No need to fflush here,
	as callers fflush.
	(tty_set_terminal_modes): fflush after sending additional strings,
	not before.

506 507
2014-04-17  Daniel Colascione  <dancol@dancol.org>

508 509
	* term.c (Qtty_mode_set_strings, Qtty_mode_reset_strings):
	New symbols.
510 511 512 513 514
	(tty_send_additional_strings): New function.
	(tty_set_terminal_modes, tty_reset_terminal_modes): Use it.
	(syms_of_term): Intern tty-mode-set-strings and
	tty-mode-reset-strings.

515 516 517 518 519 520 521
2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* window.c (save_window_save): Lookup window_point_insertion_type in
	the right buffer (bug#15457).
	(Qwindow_point_insertion_type): New var.
	(syms_of_window): Initialize it.

Eli Zaretskii's avatar
Eli Zaretskii committed
522 523
2014-04-16  Eli Zaretskii  <eliz@gnu.org>

524
	Fix the MSDOS build.
Eli Zaretskii's avatar
Eli Zaretskii committed
525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550
	* unexcoff.c [MSDOS]: Include libc/atexit.h.
	(copy_text_and_data): Zero out the atexit chain pointer before
	dumping Emacs.

	* termhooks.h (encode_terminal_code): Update prototype.

	* term.c (encode_terminal_code) [DOS_NT]: Make it externally
	visible for all DOS_NT ports, not just WINDOWSNT.
	(syms_of_term) [!MSDOS]: Don't define 'tty-menu-*' symbols on MSDOS.

	* sysdep.c (emacs_sigaction_init, init_signals): Don't use SIGCHLD
	unless it is defined.
	(emacs_pipe) [MSDOS]: Redirect to 'pipe'.

	* process.c (close_on_exec, accept4, process_socket): Move into
	the "ifdef subprocesses" part.
	(catch_child_signal): Condition by "ifdef subprocesses".
	(syms_of_process) <Qinternal_default_process_sentinel>
	<Qinternal_default_process_filter>: Condition by "ifdef subprocesses".

	* msdos.h: Add prototypes for new functions.
	(EINPROGRESS): Define.
	(O_CLOEXEC): Define to zero.

	* msdos.c (check_window_system): Remove unnecessary an
	incompatible duplicate function.
551 552
	(sys_opendir, readlinkat, faccessat, fstatat, unsetenv):
	New functions in support of new functionality.
Eli Zaretskii's avatar
Eli Zaretskii committed
553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581

	* menu.c (single_menu_item): Add visual indication  of submenu
	also for menus on MSDOS frames.
	(Fx_popup_menu) [!MSDOS]: Do not call tty_menu_show on MSDOS.

	* lisp.h (CHECK_PROCESS) [!subprocesses]: Do not define
	when async subprocesses aren't supported.

	* font.h (FONT_WIDTH) [MSDOS]: MSDOS-specific definition.

	* emacs.c (close_output_streams): Zero out errno before calling
	close_stream.

	* dired.c [MSDOS]: Include msdos.h.

	* conf_post.h (opendir) [MSDOS]: Redirect to sys_opendir.
	(DATA_START) [MSDOS]: Define.
	(SYSTEM_PURESIZE_EXTRA) [MSDOS]: Enlarge by 25K.

	* callproc.c (block_child_signal, unblock_child_signal) [MSDOS]:
	Ifdef away for MSDOS.
	(record_kill_process) [MSDOS]: Ifdef away the entire body for MSDOS.
	(call_process_cleanup) [MSDOS]: Ifdef away portions not relevant
	for MSDOS.
	(call_process) [MSDOS]: Fix call sequence of dostounix_filename.
	Use temporary file template that is compatible with mkostemp.
	Move vfork-related portions under #ifndef MSDOS.
	(syms_of_callproc): Unify templates of MSDOS and WINDOWSNT.

582
2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
583 584 585

	* buffer.c (Foverlays_at): Add argument `sorted'.

586
2014-04-16  Eli Zaretskii  <eliz@gnu.org>
587 588 589 590 591

	* insdel.c (invalidate_buffer_caches): When deleting or replacing
	text, invalidate the bidi_paragraph_cache upto and including the
	preceding newline.

592
2014-04-16  Paul Eggert  <eggert@cs.ucla.edu>
Paul Eggert's avatar
Paul Eggert committed
593 594 595 596 597 598

	Port to IRIX 6.5 (Bug#9684).
	* conf_post.h (INET6) [IRIX6_5]: Define.
	(HAVE_GETADDRINFO) [IRIX6_5]: Undef.
	* data.c (BITS_PER_ULL): Don't assume ULLONG_MAX is defined.

599
2014-04-16  Eli Zaretskii  <eliz@gnu.org>
600

601 602 603
	* keyboard.c (Fopen_dribble_file): Encode the dribble file-name
	before passing it to system APIs.

604
2014-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
605 606 607 608

	* bytecode.c (exec_byte_code): Rework the volatiles.  Most importantly,
	make sure stack.byte_string_start is not de-adjusted by pushhandler.

609
2014-04-16  Paul Eggert  <eggert@cs.ucla.edu>
610 611 612

	* keyboard.c (Fopen_dribble_file): Avoid some races.  (Bug#17187)

Paul Eggert's avatar
Paul Eggert committed
613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632
2014-04-15  Paul Eggert  <eggert@cs.ucla.edu>

	Remove DATA_SEG_BITS.
	The DATA_SEG_BITS hack was needed for older 32 bit platforms.
	As a result of this change, Emacs won't work on IRIX 6.5 with IRIX
	cc, but that platform is so old that SGI itself stopped supporting
	it in December 2013.  If you still need Emacs on IRIX, please
	either compile with GCC and port the undumping code, or run
	'./configure --with-wide-int'.
	* alloc.c (gdb_make_enums_visible): Update to match lisp.h.
	* lisp.h (GCTYPEBITS): Move definition up, and switch to the
	DEFINE_GDB_SYMBOL_START way to define it.
	(NONPOINTER_BITS): New macro.
	(EMACS_INT): Use it.
	[!USE_LSB_TAG && !WIDE_EMACS_INT]: Fail, and suggest reporting
	the problem and/or configuring --with-wide-int.
	(USE_LSB_TAG): Simplify, based on above changes.
	(gdb_DATA_SEG_BITS): Remove.  All uses removed.
	* vm-limit.c (exceeds_lisp_ptr): Remove.  All uses removed.

633 634 635 636 637 638 639 640 641 642
2014-04-12  Eli Zaretskii  <eliz@gnu.org>

	* xdisp.c (move_it_by_lines): If a large portion of buffer text is
	covered by a display string that ends in a newline, and that cases
	going back by DVPOS lines to hit the search limit, lift the limit
	and go back until DVPOS is reached.  (Bug#17244)

	* indent.c (Fvertical_motion): Handle correctly the case when the
	display string is preceded by an empty line.

643 644 645
	* w32.c (sys_umask) <WRITE_USER>: Remove redundant constant, and
	use S_IWRITE instead.

646 647 648 649
2014-04-11  Glenn Morris  <rgm@gnu.org>

	* keyboard.c (Fopen_dribble_file): Make file private.  (Bug#17187)

650
2014-04-11  Ken Brown  <kbrown@cornell.edu>
651 652 653

	* Makefile.in (EMACS_MANIFEST): Revert last change.

Daniel Colascione's avatar
Daniel Colascione committed
654 655 656 657
2014-04-10  Daniel Colascione  <dancol@dancol.org>

	* puresize.h (BASE_PURESIZE): Increase.

658 659
2014-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>

660 661
	* keyboard.c (syms_of_keyboard): Make deactivate-mark buffer-local.

662 663 664 665 666
	* insdel.c (prepare_to_modify_buffer_1): Cancel lock-file checks and
	region handling (and don't call signal_before_change) if
	inhibit_modification_hooks is set.
	(signal_before_change): Don't check inhibit_modification_hooks any more.

Daniel Colascione's avatar
Daniel Colascione committed
667
2014-04-08  Daniel Colascione  <dancol@dancol.org>
668

Daniel Colascione's avatar
Daniel Colascione committed
669 670 671
	* alloc.c (sweep_symbols, mark_object): Assert that symbol
	function cells contain valid lisp objects.  (Modified version of
	patch from Dmitry).
672 673 674 675 676

	* alloc.c (detect_suspicious_free): Split actual stack capturing
	out into new function for easier breakpoint setting.
	(note_suspicious_free): New function.

677 678 679 680 681 682 683 684 685 686 687 688 689 690 691
2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp.h (struct Lisp_Symbol): New bitfield `pinned'.

	* alloc.c: Keep track of symbols referenced from pure space (bug#17168).
	(symbol_block_pinned): New var.
	(Fmake_symbol): Initialize `pinned'.
	(purecopy): New function, extracted from Fpurecopy.  Mark symbols as
	pinned and signal an error for un-purifiable objects.
	(pure_cons): Use it.
	(Fpurecopy): Use it, except for objects that can't be purified.
	(mark_pinned_symbols): New function.
	(Fgarbage_collect): Use it.
	(gc_sweep): Remove hack made unnecessary.

Glenn Morris's avatar
Glenn Morris committed
692
2014-04-07  Glenn Morris  <rgm@gnu.org>
693 694 695

	* keyboard.c (Fopen_dribble_file): Doc tweak.

Glenn Morris's avatar
Glenn Morris committed
696
2014-04-07  Ken Brown  <kbrown@cornell.edu>
697 698 699

	* Makefile.in (EMACS_MANIFEST): Update comment.  (Bug#17176)

700 701 702 703 704 705 706
2014-04-07  Paul Eggert  <eggert@cs.ucla.edu>

	* alloc.c: Simplify by removing use of HAVE_EXECINFO_H.
	We have a substitute execinfo.h on hosts that lack it.
	(suspicious_free_history): Make it EXTERNALLY_VISIBLE so it
	isn't optimized away.

707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723
2014-04-05  Paul Eggert  <eggert@cs.ucla.edu>

	Prefer 'ARRAYELTS (x)' to 'sizeof x / sizeof *x'.
	* alloc.c (memory_full):
	* charset.c (syms_of_charset):
	* doc.c (Fsnarf_documentation):
	* emacs.c (main):
	* font.c (BUILD_STYLE_TABLE):
	* keyboard.c (make_lispy_event):
	* profiler.c (setup_cpu_timer):
	* xgselect.c (xg_select):
	* xterm.c (record_event, STORE_KEYSYM_FOR_DEBUG):
	Use ARRAYELTS.
	* font.c (FONT_PROPERTY_TABLE_SIZE): Remove.
	Replace the only use with ARRAYELTS (font_property_table).
	* xfaces.c (DIM): Remove.  All uses replaced by ARRAYELTS.

724 725
2014-04-03  Daniel Colascione  <dancol@dancol.org>

Glenn Morris's avatar
Glenn Morris committed
726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751
	* xterm.c (x_term_init):
	* xfns.c (best_xim_style):
	* xfaces.c (Fdump_colors):
	* w32fns.c (w32_default_color_map):
	* w32.c (init_environment, N_ENV_VARS):
	* unexcw.c (read_exe_header):
	* term.c (term_get_fkeys_1):
	* sysdep.c (init_baud_rate):
	* nsterm.m (ns_convert_key):
	* nsfns.m (get_geometry_from_preferences):
	* msdos.c (dos_set_window_size, init_environment):
	* macfont.m (mac_font_get_glyph_for_cid)
	(macfont_store_descriptor_attributes)
	(macfont_create_attributes_with_spec, mac_ctfont_get_glyph_for_cid):
	* keyboard.c (command_loop_1, read_menu_command, make_lispy_event)
	(NUM_MOD_NAMES, read_key_sequence_vs, Fcurrent_input_mode)
	(syms_of_keyboard):
	* image.c (xpm_str_to_color_key):
	* fringe.c (MAX_STANDARD_FRINGE_BITMAPS):
	* frame.c (x_set_frame_parameters):
	* fileio.c (Ffile_selinux_context):
	* emacs.c (sort_args):
	* dosfns.c (msdos_stdcolor_name):
	* dired.c (file_attributes):
	* chartab.c (uniprop_decoder_count, uniprop_encode_count):
	Change expressions of the form sizeof(arr) / sizeof(arr[0])
752
	to ARRAYELTS (arr).
753 754 755

2014-04-02  Daniel Colascione  <dancol@dancol.org>

756 757 758
	* data.c (Ffset): Abort if we're trying to set a function call to
	a dead lisp object.

759
	* lisp.h (ARRAYELTS): New macro.
760

761 762 763
	* alloc.c: Include execinfo.h if available.
	(SUSPICIOUS_OBJECT_CHECKING): New macro; define unconditionally.
	(suspicious_free_record): New structure.
764 765 766 767
	(suspicious_objects, suspicious_object_index)
	(suspicious_free_history, suspicious_free_history_index):
	New variables.
	(find_suspicious_object_in_range, detect_suspicious_free)
768 769 770
	(Fsuspicious_object): New functions.
	(cleanup_vector): Call find_suspicious_object_in_range.

771 772 773 774 775
2014-04-02  Martin Rudalics  <rudalics@gmx.at>

	* xterm.c (x_new_font): Don't calculate non-toolkit scrollbar
	width from font width (Bug#17163).

776 777 778 779
	* frame.c (x_set_frame_parameters): Calculate default values of
	new frame sizes only after all other frame parameters have been
	processed (Bug#17142).

780
2014-04-02  Ken Brown  <kbrown@cornell.edu>
781 782 783 784

	* conf_post.h (SYSTEM_PURESIZE_EXTRA) [CYGWIN]: Set to 10000.
	(Bug#17112)

785
2014-04-02  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
786 787 788 789

	* xterm.c (x_draw_image_glyph_string): Adjust image background
	width accordingly when its x position is adjusted.  (Bug#17115)

790 791 792 793 794 795
2014-04-02  Dmitry Antipov  <dmantipov@yandex.ru>

	* font.c (font_list_entities): Do not add empty vector to font cache.
	(font_matching_entity): Likewise.  If matching entity is found, insert
	1-item vector with this entity instead of entity itself (Bug#17125).

796 797
	* xterm.c (x_term_init) [USE_LUCID]: Fix minor memory leak.

798 799 800 801 802 803 804 805 806 807
2014-04-01  Paul Eggert  <eggert@cs.ucla.edu>

	* fns.c (validate_subarray): Rename from validate_substring,
	since it works for vectors too.  New arg ARRAY.  Optimize for the
	non-nil case.  Instead of returning bool, throw an error if out of
	range, so that the caller needn't do that.  All uses changed.
	Report original values if out of range.
	(Fsubstring, Fsubstring_no_properties, secure_hash):
	Also optimize the case where FROM is 0 or TO is the size.

808 809 810 811 812
2014-03-31  Dmitry Antipov  <dmantipov@yandex.ru>

	* search.c (Freplace_match): Use make_specified_string.
	* xterm.c, w32term.c (x_set_glyph_string_gc): Use emacs_abort
	to catch bogus override face of glyph strings.
813 814 815
	* fns.c (Fsubstring, Fsubstring_no_properties, secure_hash):
	Move common substring range checking code to...
	(validate_substring): ...this function.
816

817 818 819 820
2014-03-31  Jan Djärv  <jan.h.d@swipnet.se>

	* nsmenu.m (free_frame_tool_bar): Set wait_for_tool_bar = NO (Bug#16976)

821 822 823 824 825 826 827 828 829 830 831
2014-03-30  Jan Djärv  <jan.h.d@swipnet.se>

	* nsterm.m (updateFrameSize:): If waiting for the tool bar and tool
	bar is zero height, just return (Bug#16976).
	(initFrameFromEmacs:): Initialize wait_for_tool_bar.

	* nsterm.h (EmacsView): Add wait_for_tool_bar.

	* nsmenu.m (update_frame_tool_bar): Return early if view or toolbar
	is nil.  If waiting for toolbar to complete, force a redraw.

832 833
2014-03-28  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
834 835 836 837 838
	* emacs.c (emacs_version): Use PACKAGE_VERSION rather than VERSION.
	(emacs_bugreport): New variable.
	(usage_message): Use PACKAGE_BUGREPORT.
	(syms_of_emacs) <report-emacs-bug-address>: New variable.

839 840
	* emacs.c (syms_of_emacs) <system-configuration-features>: New var.

841 842 843 844 845 846 847 848
2014-03-27  Paul Eggert  <eggert@cs.ucla.edu>

	Port recent signal-related changes to FreeBSD.
	Problem reported by Herbert J. Skuhra.
	* lisp.h (block_tty_out_signal, unblock_tty_out_signal):
	Move decls from here ...
	* syssignal.h: ... to here, so that lisp.h doesn't depend on signal.h.

849 850 851 852 853 854
2014-03-27  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* w32term.c (x_draw_image_glyph_string): Fix computation of height
	and width of image background when it is displayed with a 'box'
	face.  (Bug#17115)

855
2014-03-27  Paul Eggert  <eggert@penguin.cs.ucla.edu>
856 857 858 859

	More backward-compatible fix to char-equal core dump (Bug#17011).
	* editfns.c (Fchar_equal): In unibyte buffers, assume values in
	range 128-255 are raw bytes.  Suggested by Eli Zaretskii.
860

861 862 863 864 865 866
2014-03-27  Juanma Barranquero  <lekktu@gmail.com>

	* image.c (init_svg_functions): When loading SVG-related libraries,
	free already loaded libraries if the initialization fails.
	(rsvg_handle_set_size_callback): Remove declaration, unused.

867 868
2014-03-26  Paul Eggert  <eggert@cs.ucla.edu>

Paul Eggert's avatar
Paul Eggert committed
869 870 871 872 873
	Fix core dump in char-equal (Bug#17011).
	* editfns.c (Fchar_equal): Do not use MAKE_CHAR_MULTIBYTE in
	unibyte buffers, as we can't tell whether the characters are
	actually unibyte.

874 875
	* insdel.c (adjust_markers_for_delete): Remove unused local.

876
2014-03-26  Barry O'Reilly  <gundaetiapo@gmail.com>
877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894

	Have (MARKER . ADJUSTMENT) undo records always be immediately
	after their corresponding (TEXT . POS) record in undo list.
	(Bug#16818)
	* lisp.h (record-delete): New arg record_markers.
	(record_marker_adjustment): No longer needed outside undo.c.
	* insdel.c (adjust_markers_for_delete): Move calculation of marker
	adjustments to undo.c's record_marker_adjustments.  Note that
	fileio.c's decide_coding_unwind is another caller to
	adjust_markers_for_delete.  Because it has undo list bound to t,
	it does not rely on adjust_markers_for_delete to record marker
	adjustments.
	(del_range_2): Swap call to record_delete and
	adjust_markers_for_delete so as undo marker adjustments are
	recorded before current deletion's adjustments, as before.
	(adjust_after_replace):
	(replace_range): Pass value for new record_markers arg to
	delete_record.
895
	* undo.c (record_marker_adjustment): Rename to
896 897 898 899 900 901 902 903
	record_marker_adjustments and made static.
	(record_delete): Check record_markers arg and call
	record_marker_adjustments.
	(record_change): Pass value for new record_markers arg to
	delete_record.
	(record_point): at_boundary calculation no longer needs to account
	for marker adjustments.

904
2014-03-26  Martin Rudalics  <rudalics@gmx.at>
905 906 907 908

	* w32term.c (x_set_window_size): Refine fix from 2014-03-14
	(Bug#17077).

909
2014-03-26  Glenn Morris  <rgm@gnu.org>
910 911 912

	* fileio.c (Ffile_symlink_p): Doc fix. (Bug#17073)

913
2014-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
914 915 916 917 918

	* buffer.c (struct sortvec): Add field `spriority'.
	(compare_overlays): Use it.
	(sort_overlays): Set it.

919
2014-03-26  Eli Zaretskii  <eliz@gnu.org>
920 921 922

	* xdisp.c (redisplay_window): If all previous attempts to find the
	cursor row failed, try a few alternatives before falling back to
923
	the top-most row of the window.  Use row_containing_pos.  (Bug#17047)
924

925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946
2014-03-26  Juanma Barranquero  <lekktu@gmail.com>

	* image.c (x_bitmap_height, x_bitmap_width) [HAVE_X_WINDOWS]:
	* sysdep.c (reset_sigio) [!DOS_NT]: Declare conditionally.

	* keyboard.c (read_decoded_event_from_main_queue): #ifdef out
	variables on Windows.

	* w32fns.c (Ffile_system_info): Use parenthesis in and/or expression.

	* w32.c (unsetenv): Remove unused var `retval'.
	(emacs_gnutls_pull): Remove unused vars `fdset' and `timeout'.

	* w32notify.c (watch_worker): Remove unnecesary var sleep_result.
	(start_watching): Remove unused var `thr'.

	* w32proc.c (sys_spawnve): Comment out unused vars `first', `last'.
	(find_child_console): Remove unnecesary var `thread_id'.

	* w32term.c (w32_read_socket): Comment out unused vars `row', `columns'.
	(x_focus_frame): #ifdef 0 unused variable `dpyinfo'.

947 948
2014-03-26  Glenn Morris  <rgm@gnu.org>

949 950
	* filelock.c (Flock_buffer): Doc tweak.

951 952 953 954 955 956 957
	* buffer.c (Frestore_buffer_modified_p, Fkill_buffer):
	* emacs.c (shut_down_emacs):
	* fileio.c (Finsert_file_contents, write_region):
	* filelock.c (top-level, syms_of_filelock):
	* insdel.c (prepare_to_modify_buffer_1):
	CLASH_DETECTION is always defined now.

958 959 960 961 962
2014-03-25  Eli Zaretskii  <eliz@gnu.org>

	* w32.c (w32_delayed_load): Call DisableThreadLibraryCalls on the
	DLL handle, to speed up thread startup.

963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984
2014-03-25  Paul Eggert  <eggert@cs.ucla.edu>

	Handle sigmask better with nested signal handlers  (Bug#15561).
	* atimer.c (sigmask_atimers): Remove.
	Remaining use rewritten to use body of this function.
	* atimer.c (block_atimers, unblock_atimers):
	* callproc.c (block_child_signal, unblock_child_signal):
	* sysdep.c (block_tty_out_signal, unblock_tty_out_signal):
	New arg OLDSET.  All callers changed.
	* atimer.c (block_atimers, unblock_atimers):
	* callproc.c (block_child_signal, unblock_child_signal):
	* keyboard.c (handle_interrupt):
	* sound.c (vox_configure, vox_close):
	Restore the old signal mask rather than unilaterally clearing bits
	from the mask, in case a handler is running within another
	handler.  All callers changed.
	* lisp.h, process.c, process.h, term.c:
	Adjust decls and callers to match new API.
	* sysdep.c (emacs_sigaction_init): Don't worry about masking SIGFPE;
	signal handlers aren't supposed to use floating point anyway.
	(handle_arith_signal): Unblock just SIGFPE rather than clearing mask.

Daniel Colascione's avatar
Daniel Colascione committed
985 986 987 988 989
2014-03-23  Daniel Colascione  <dancol@dancol.org>

	Split gc_sweep into discrete functions for legibility and better
	stack traces.

990
	* alloc.c (sweep_strings, sweep_vectors): Add NO_INLINE
Daniel Colascione's avatar
Daniel Colascione committed
991
	(sweep_vectors): Fix typo in comment.
992 993
	(sweep_conses, sweep_floats, sweep_intervals)
	(sweep_symbols, sweep_misc, sweep_buffers): New functions.
Daniel Colascione's avatar
Daniel Colascione committed
994 995 996 997
	(gc_sweep): Call new functions, to which existing functionality is
	moved.
	* fns.c (sweep_weak_hash_tables): Add NO_INLINE.

998 999 1000 1001
2014-03-23  Juanma Barranquero  <lekktu@gmail.com>

	* w32fns.c (Fw32_shell_execute): Declare `result' only on Cygwin.

1002 1003
2014-03-23  Daniel Colascione  <dancol@dancol.org>

Daniel Colascione's avatar
Daniel Colascione committed
1004 1005
	* xfns.c (create_frame_xic): Pass XNStatusAttributes to XCreateIC
	only if xic_style calls for it.  This change allows Emacs to work
1006 1007
	with ibus.  Also, don't leak resources if create_frame_xic fails,
	and stop caching xic_style across different displays.
Daniel Colascione's avatar
Daniel Colascione committed
1008 1009 1010 1011
	(supported_xim_styles): Make const.
	(best_xim_style): Remove first parameter: it's always just
	supported_xim_styles.  Change to look at supported_xim_styles
	directly.
1012

1013 1014 1015 1016 1017
2014-03-23  Daniel Colascione  <dancol@dancol.org>

	* term.c (init_tty): Rearrange condition for clarity; print
	appropriate diagnostic.

1018 1019 1020 1021 1022
2014-03-23  Daniel Colascione  <dancol@dancol.org>

	* process.c (DATAGRAM_CONN_P): Don't underflow datagram_address
	array.  (ASAN caught.)

Glenn Morris's avatar
Glenn Morris committed
1023 1024 1025 1026
2014-03-22  Glenn Morris  <rgm@gnu.org>

	* callproc.c (init_callproc): In etc, look for NEWS rather than GNU.

1027 1028 1029
2014-03-22  Daniel Colascione  <dancol@dancol.org>

	* process.c (conv_sockaddr_to_lisp): When extracting the string
Glenn Morris's avatar
Glenn Morris committed
1030
	names of AF_LOCAL sockets, stop before reading uninitialized memory.
1031

1032 1033 1034 1035 1036 1037
2014-03-21  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	Fix regression introduced by patch for Bug#10500.
	* xterm.c (x_draw_image_relief): Respect Vtool_bar_button_margin.
	* w32term.c (x_draw_image_relief): Likewise.

1038 1039 1040 1041 1042 1043
2014-03-21  Martin Rudalics  <rudalics@gmx.at>

	* w32fns.c (w32_wnd_proc): For WM_WINDOWPOSCHANGING don't
	constrain frame size in SW_SHOWMAXIMIZED case so we can truly
	maximize a frame for odd default fonts.

1044 1045 1046 1047
2014-03-21  Glenn Morris  <rgm@gnu.org>

	* minibuf.c (history-length): Increase default from 30 to 100.

1048 1049
2014-03-21  Daniel Colascione  <dancol@dancol.org>

Daniel Colascione's avatar
Daniel Colascione committed
1050 1051 1052
	* xterm.c (x_bitmap_icon): Stop reading the icon bitmap from disk
	every time we switch to minibuffer.

1053 1054
	* alloc.c (lisp_align_malloc, allocate_string_data)
	(allocate_vectorlike): Allow mmap allocation of lisp objects.
1055
	(pointers_fit_in_lispobj_p, mmap_lisp_allowed_p): New functions.
1056

1057 1058 1059 1060 1061
2014-03-21  Eli Zaretskii  <eliz@gnu.org>

	* w32fns.c (Fw32_shell_execute) [!CYGWIN]: Use ShellExecuteEx, to
	support more "verbs".

1062 1063 1064 1065 1066 1067 1068 1069 1070
2014-03-21  Daniel Colascione  <dancol@dancol.org>

	Always prohibit dumping a dumped Emacs.

	* emacs.c (might_dump): New variable.
	(Fdump_emacs): Always prohibit dumping of dumped Emacs.
	* lisp.h (might_dump): Declare.
	* unexcw.c (unexec): Remove now-redundant multiple-dump detection code.

1071 1072 1073 1074
2014-03-20  Paul Eggert  <eggert@cs.ucla.edu>

	* doc.c (store_function_docstring): Fix pointer signedness mismatch.

1075 1076
2014-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>

1077 1078 1079 1080 1081 1082
	* doc.c (store_function_docstring): Warn when we don't know where to
	put a docstring.
	(Fsubstitute_command_keys): Don't advertise the fact that
	text-properties are dropped, since we think it's a bug that we'll fix
	in 24.5.

1083 1084 1085 1086
	* frame.h (SET_FRAME_VISIBLE): Keep frame_garbaged up to date.
	* xterm.c (handle_one_xevent) <MapNotify>: Don't garbage the frame.
	* frame.c (frame_garbaged): Make "docstring" more precise.

1087 1088 1089 1090 1091
2014-03-20  Glenn Morris  <rgm@gnu.org>

	* charset.c (init_charset): When we cannot find the charsets directory,
	mention if EMACSDATA is set.

1092 1093
2014-03-19  Paul Eggert  <eggert@cs.ucla.edu>

1094 1095
	* fns.c (Frandom): Fix rare bug where the result isn't random.

1096 1097 1098 1099 1100
	Fix porting inconsistency about rounding to even.
	* floatfns.c (emacs_rint) [!HAVE_RINT]: Round to even.
	This way, the unusual !HAVE_RINT case acts like the usual
	HAVE_RINT case, and we can fix the documentation accordingly.

1101 1102 1103 1104 1105 1106
2014-03-19  Eli Zaretskii  <eliz@gnu.org>

	* w32fns.c (reset_modifiers): Zero out keystate[] before using it.
	(w32_wnd_proc): Initialize the dwHoverTime member of
	TRACKMOUSEEVENT structure.

1107 1108 1109 1110
2014-03-17  Teodor Zlatanov  <tzz@lifelogs.com>

	* gnutls.c (Fgnutls_boot): Fix case of :verify-error = t.

1111 1112 1113
2014-03-16  Eli Zaretskii  <eliz@gnu.org>

	* search.c (find_newline): Speed up the function when using the
1114
	newline cache, by halving the number of calls to
1115 1116
	region_cache_forward and region_cache_backward.  (Bug#16830)

1117 1118 1119 1120
2014-03-15  Juanma Barranquero  <lekktu@gmail.com>

	* buffer.c (Fset_buffer): Document return value (bug#17015).

1121 1122 1123 1124 1125 1126
2014-03-14  Martin Rudalics  <rudalics@gmx.at>

	* w32term.c (x_set_window_size): When frame-resize-pixelwise is
	nil, always resize character wise to avoid potential loss of the
	mode line (Bug#16923 related).

1127 1128 1129 1130 1131
2014-03-12  Martin Rudalics  <rudalics@gmx.at>

	* frame.c (x_set_frame_parameters): Always calculate new sizes
	pixelwise to avoid potential loss when rounding.

1132 1133 1134 1135 1136
2014-03-11  Dmitry Antipov  <dmantipov@yandex.ru>

	* xfns.c (x_set_mouse_color): Recolor vertical_drag_cursor.
	* xterm.c (x_free_frame_resources): Free all allocated cursors.

1137 1138 1139 1140 1141 1142
2014-03-10  Eli Zaretskii  <eliz@gnu.org>

	* w32.c (fstatat): Don't add an extra slash if the argument ends
	with a slash: this fails the subsequent call to stat_worker on
	Windows 9X.  Reported by oslsachem <oslsachem@gmail.com>.

1143 1144 1145 1146
2014-03-09  Martin Rudalics  <rudalics@gmx.at>

	* xdisp.c (Fwindow_text_pixel_size): Adjust doc-string.

1147 1148 1149 1150
2014-03-08  Jan Djärv  <jan.h.d@swipnet.se>

	* nsterm.h (MAC_OS_X_VERSION_10_9): Add.

1151 1152
	* nsterm.m (constrainFrameRect:toScreen:): Constrain normally
	when frame is only on one screen (Bug#14713).
1153

1154 1155 1156 1157 1158 1159 1160 1161 1162
2014-03-08  Eli Zaretskii  <eliz@gnu.org>

	* xdisp.c (move_it_in_display_line_to): If word-wrap is ON, and
	there's a valid wrap point in the display line, the last glyph
	cannot "just barely fit" on this row, because display_line doesn't
	let it.  Instead, proceed as if the last glyph didn't fit, so that
	we eventually back up the iterator to the wrap point.  This avoids
	delusional behavior of move_it_to, whereby it proceeds to the next
	display line, but sets current_x to zero for all the glyphs that
1163 1164
	without word-wrap would fit on the previous display line.
	One result was that visual-order cursor movement behaved erratically
1165 1166 1167 1168
	under word-wrap.
	(Fmove_point_visually): Add code to find the x coordinate of the
	last character before wrap point, under word-wrap on a TTY.

1169 1170 1171 1172 1173 1174 1175
2014-03-07  Eli Zaretskii  <eliz@gnu.org>

	* xdisp.c (Fmove_point_visually): When under word-wrap, accept
	also return value of MOVE_POS_MATCH_OR_ZV from
	move_it_in_display_line_to, when moving from beginning of line to
	point's position.  (Bug#16961)

1176 1177 1178 1179 1180 1181
2014-03-07  Martin Rudalics  <rudalics@gmx.at>

	* buffer.c (Vbuffer_list_update_hook): Doc-string fix.
	* window.c (Fselect_window): Explain NORECORD and
	`buffer-list-update-hook' in doc-string.

1182 1183 1184 1185 1186
2014-03-06  Martin Rudalics  <rudalics@gmx.at>

	* window.c (Fother_window_for_scrolling): Check that
	Vother_window_scroll_buffer is a buffer.

1187 1188 1189 1190 1191 1192 1193 1194 1195
2014-03-06  Dmitry Antipov  <dmantipov@yandex.ru>

	* xterm.c (xim_initialize): Always pass a copy of resource name
	to XRegisterIMInstantiateCallback and eassert whether return
	value is True.  Passing copy is important because Xlib doesn't
	make its own copy and resource name argument usually points to
	SSDATA (Vx_resource_name), which may be changed from Lisp.
	(xim_close_display): For XUnregisterIMInstantiateCallback,
	always eassert return value and pass exactly the same values
1196 1197
	as were used for XRegisterIMInstantiateCallback.
	Otherwise XUnregisterIMInstantiateCallback will always fail.  See Xlib
1198 1199
	sources to check why if you are interested.

1200 1201 1202 1203 1204 1205 1206
2014-03-05  Martin Rudalics  <rudalics@gmx.at>

	* dispnew.c (change_frame_size_1): Add new_lines instead of
	new_height, the latter may be still zero if passed as such.
	* window.c (Fwindow_pixel_height): Mention bottom divider in
	doc-string.

1207 1208
2014-03-05  Paul Eggert  <eggert@cs.ucla.edu>

1209 1210
	Fix "resource temporarily unavailable" with xgselect
	(Bug#16925).
1211 1212 1213
	* xgselect.c: Include <stdbool.h>.
	(xg_select) [!USE_GTK]: Don't lose track of errno.

1214 1215 1216 1217
	Fix minor --enable-gcc-warnings issues.
	* widget.c (update_various_frame_slots, EmacsFrameResize):
	Avoid unused locals.  Prefer 'if' to '#if' when either will do.

1218 1219 1220 1221 1222
2014-03-04  Ken Brown  <kbrown@cornell.edu>

	* gmalloc.c (aligned_alloc): Clarify the code by making `adj'
	represent the actual adjustment needed for alignment.

1223 1224 1225 1226 1227 1228
2014-03-04  Eli Zaretskii  <eliz@gnu.org>

	* gmalloc.c (aligned_alloc): Don't allocate more memory than
	needed, and don't reallocate if the initial allocation already
	fits the bill.  Suggested by Ken Brown <kbrown@cornell.edu>.

1229 1230 1231 1232 1233
2014-03-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* xterm.c (x_draw_stretch_glyph_string): Reset clipping.
	(Bug#16932)

1234 1235 1236 1237 1238
2014-03-04  Michal Nazarewicz  <mina86@mina86.com>

	* cmds.c (delete-char): Update docstring pointing out that the
	function ignores `delete-active-region' and `overwrite-mode'.

1239 1240
2014-03-03  Eli Zaretskii  <eliz@gnu.org>

1241 1242
	* font.c (Fframe_font_cache): Fix last change.  (Bug#16930)

1243 1244 1245 1246 1247 1248 1249 1250
	* gmalloc.c (aligned_alloc): Fix adjustment of size of the
	allocated buffer due to alignment.
	(freehook): If the block to be freed was allocated by
	'aligned_alloc', find its real pointer before calling 'free'.
	(Bug#16901)
	(mabort) [emacs]: Call 'emacs_abort', not 'abort', to provide a
	backtrace.

1251 1252 1253 1254 1255 1256 1257 1258
2014-03-03  Dmitry Antipov  <dmantipov@yandex.ru>

	* font.c (toplevel): Adjust comment about font cache layout.
	(font_clear_cache): Fix to match real font cache layout.
	Suggested by <namespace_collision@yahoo.com> in Bug#16069.
	(Fframe_font_cache) [FONT_DEBUG]: New function.
	(syms_of_font) [FONT_DEBUG]: Defsubr it.

1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272
	Avoid crashes when X fonts are erroneously freed on reused X
	'Display *' connection data (Bug#16069).  Note that X font
	resources still may be leaked, but currently there is no way
	to completely avoid it.
	* xterm.h (struct x_display_info): New member x_id.  Add comments.
	* xterm.c (x_display_id): New variable.
	(x_term_init): Assign identifier to each opened X connection.
	* xfont.c (struct xfont): New member x_display_id.
	(xfont_open): Initialize it with frame's display id.
	(xfont_close): Check whether font's display id matches the one
	recorded for the given display.  Adjust comment.
	* xftfont.c (struct xftfont_info):
	(xftfont_open, xftfont_close): Exactly as above with xfont stuff.

1273 1274 1275 1276 1277 1278 1279
2014-03-01  Martin Rudalics  <rudalics@gmx.at>

	Consider Vother_window_scroll_buffer valid iff it's a live buffer.
	* window.c (Fother_window_for_scrolling): Don't try to scroll a
	killed Vother_window_scroll_buffer.
	(Vother_window_scroll_buffer): Fix doc-string accordingly.

1280 1281 1282 1283 1284
2014-03-01  Eli Zaretskii  <eliz@gnu.org>

	* fileio.c (Fexpand_file_name) [WINDOWSNT]: Don't treat file names
	that start with more than 2 slashes as UNCs.  (Bug#16751)

1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296
2014-02-28  Paul Eggert  <eggert@penguin.cs.ucla.edu>

	Fix a few crashes and leaks when cloning C strings.
	* alloc.c, lisp.h (dupstring): New function.
	* gtkutil.c (xg_get_font):
	* term.c (tty_default_color_capabilities):
	* xsettings.c (store_monospaced_changed)
	(store_font_name_changed, parse_settings)
	(read_and_apply_settings, init_gsettings, init_gconf): Use it.
	This avoids some unlikely crashes due to accessing freed storage,
	and avoids some minor memory leaks in the more-typical case.

1297 1298 1299 1300 1301
2014-02-28  Martin Rudalics  <rudalics@gmx.at>

	* xdisp.c (note_mode_line_or_margin_highlight): Don't show drag
	cursor when modeline can't be dragged (Bug#16647).

1302 1303 1304 1305 1306
2014-02-28  Glenn Morris  <rgm@gnu.org>

	* doc.c (Fsnarf_documentation): Snarf not-yet-bound variables
	from custom-delayed-init-variables.  (Bug#11565)

1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324
2014-02-27  Martin Rudalics  <rudalics@gmx.at>

	More fixes for mouse glyph calculations (Bug#16647).
	* window.c (coordinates_in_window): In intersection of
	horizontal and vertical window dividers prefer the horizontal
	one.  Add some extra parens to last fix.
	(window_relative_x_coord): Return x-coordinate for header and
	mode line too.
	* xdisp.c (remember_mouse_glyph): In text area don't extend
	glyph into mode line to show the vertical drag cursor there
	immediately.  Subdivide mouse glyphs in right fringes to show a
	horizontal drag cursor as soon as we enter the "grabbable width"
	portion.  Handle vertical border case separately.  Do not
	subdivide window divider areas.
	(note_mouse_highlight): On bottom divider of bottommost windows
	show vertical drag cursor only when the minibuffer window can be
	resized.

1325 1326 1327 1328 1329 1330 1331 1332 1333
2014-02-27  Eli Zaretskii  <eliz@gnu.org>

	* xdisp.c (pop_it): Restore the it->face_box_p flag which could be
	reset by the face of the object just displayed.  See also bug#76.
	(get_next_display_element): If the string came from a display
	property, examine the box face attribute at it->position, not at
	it->current.pos, since the latter was not updated yet.  (Bug#16870)
	(handle_face_prop): Improve commentary.

1334 1335 1336 1337 1338
2014-02-27  Michael Albinus  <michael.albinus@gmx.de>

	* dbusbind.c (Fdbus__init_bus, Qdbus__init_bus, Sdbus__init_bus):
	Rename from Fdbus_init_bus_1, Qdbus_init_bus_1, Sdbus_init_bus_1.

Martin Rudalics's avatar
Martin Rudalics committed
1339 1340 1341 1342 1343 1344 1345 1346 1347
2014-02-26  Martin Rudalics  <rudalics@gmx.at>

	Fixes around Bug#16647.
	* xdisp.c (remember_mouse_glyph): Handle ON_RIGHT_DIVIDER and
	ON_BOTTOM_DIVIDER cases.
	* window.c (coordinates_in_window): Return ON_VERTICAL_BORDER
	only if the window has no right divider.
	(Fcoordinates_in_window_p): Fix doc-string.

1348 1349 1350 1351
2014-02-25  Juanma Barranquero  <lekktu@gmail.com>

	* lread.c (Funintern): Fix doc to match advertised calling convention.

Daniel Colascione's avatar
Daniel Colascione committed
1352 1353 1354 1355
2014-02-24  Daniel Colascione  <dancol@dancol.org>

	* keyboard.c (read_char): Close race that resulted in lost events.

1356 1357
2014-02-22  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
1358 1359 1360
	* frame.c (frame-alpha-lower-limit, frame-resize-pixelwise):
	* window.c (window-resize-pixelwise): Doc fixes.

1361 1362 1363
	* process.c (Finternal_default_process_filter)
	(Finternal_default_process_sentinel): Doc tweaks.

1364 1365 1366 1367 1368 1369
2014-02-21  Glenn Morris  <rgm@gnu.org>

	* process.c (Fprocess_buffer, Faccept_process_output)
	(Finternal_default_process_filter, Finternal_default_process_sentinel):
	Doc fixes.

1370 1371 1372 1373
2014-02-21  Martin Rudalics  <rudalics@gmx.at>

	* window.c (Fwindow_scroll_bar_width): New function.

1374 1375 1376 1377 1378 1379
2014-02-21  Paul Eggert  <eggert@cs.ucla.edu>

	Pacify GCC when configuring with --enable-gcc-warnings.
	* xdisp.c (move_it_in_display_line_to) [lint]:
	Initialize recently-added local.

1380 1381 1382 1383
2014-02-21  Daniel Colascione  <dancol@dancol.org>

	* dbusbind.c: Rename dbus-init-bus to dbus-init-bus-1.

1384 1385 1386 1387
2014-02-20  Eli Zaretskii  <eliz@gnu.org>

	* xdisp.c (init_iterator): Don't dereference a bogus face
	pointer.  (Bug#16819)
1388 1389 1390
	(try_cursor_movement): Don't use cursor position if
	set_cursor_from_row failed to compute it.  This avoids assertion
	violations in MATRIX_ROW.
1391 1392 1393 1394 1395 1396
	(move_it_in_display_line_to): Save the iterator state in ppos_it
	only once per call.  Reimplement the method used to return to the
	best candidate position if all the positions found in display line
	are beyond TO_CHARPOS.  This cuts down the number of calls to
	bidi_shelve_cache, which moves a lot of stuff when lines are long
	and include bidirectional text.  (Bug#15555)
1397

1398 1399 1400 1401
2014-02-20  Glenn Morris  <rgm@gnu.org>

	* data.c (Fdefalias): Doc fix.

1402 1403
2014-02-19  Eli Zaretskii  <eliz@gnu.org>

1404 1405 1406 1407 1408
	* xdisp.c (display_line): Fix horizontal scrolling of large images
	when fringes are turned off.  This comes at a price of not
	displaying the truncation/continuation glyphs in this case.
	(Bug#16806)

1409 1410 1411 1412 1413 1414 1415
	* image.c (x_create_x_image_and_pixmap) [HAVE_NTGUI]: If
	CreateDIBSection returns an error indication, zero out *ximg after
	destroying the image.  This avoids crashes in memory allocations
	due to the fact that some of the callers also call
	x_destroy_x_image, which will attempt to free an already free'd
	block of memory.

1416 1417 1418 1419 1420
2014-02-18  Martin Rudalics  <rudalics@gmx.at>

	* widget.c (update_various_frame_slots): Don't set
	FRAME_PIXEL_HEIGHT and FRAME_PIXEL_WIDTH here (Bug#16736).

1421 1422 1423 1424
2014-02-18  Michael Albinus  <michael.albinus@gmx.de>

	* dbusbind.c (xd_close_bus): Apply proper check on busobj.

Paul Eggert's avatar
Paul Eggert committed
1425 1426 1427 1428 1429 1430
2014-02-17  Paul Eggert  <eggert@cs.ucla.edu>

	temacs --daemon fix (Bug#16599).
	* emacs.c (main): Initialize daemon_pipe[1] here ...
	(syms_of_emacs): ... instead of here.

1431
2014-02-16  Anders Lindgern  <andlind@gmail.com>
1432 1433 1434 1435

	* nsterm.m (keyDown:): Check for normal key even if NSNumericPadKeyMask
	is set (Bug#16505).

1436 1437 1438 1439 1440 1441 1442 1443
2014-02-16  Daniel Colascione  <dancol@dancol.org>

	* dbusbind.c (xd_lisp_dbus_to_dbus): New function.
	(xd_get_connection_address): Use it.
	(xd_close_bus): Use xd_lisp_dbus_to_dbus to instead of
	xd_get_connection_address because the latter signals if the bus
	we're trying to close is already disconnected.

1444 1445 1446 1447 1448 1449
2014-02-13  Eli Zaretskii  <eliz@gnu.org>

	* w32proc.c (start_timer_thread): Pass a non-NULL pointer as last
	argument to CreateThread.  This avoids segfaults on Windows 9X.
	Reported by oslsachem <oslsachem@gmail.com>.

1450 1451 1452 1453 1454 1455 1456 1457 1458 1459
2014-02-13  Paul Eggert  <eggert@cs.ucla.edu>

	Fix subspace record bug on HP-UX 10.20 (Bug#16717).
	* unexhp9k800.c (unexec_error): New function, to simplify the code.
	(check_lseek): New function, to report lseek errors.
	(save_data_space, update_file_ptrs, read_header, write_header)
	(copy_file, copy_rest, unexec): Use these news functions.
	(update_file_ptrs): Don't assume wraparound behavior when
	converting a large size_t value to off_t.

1460 1461 1462 1463
2014-02-13  Dmitry Antipov  <dmantipov@yandex.ru>

	* composite.c (fill_gstring_header): Pass positions as C integers
	and move parameters checking to...
Dmitry Antipov's avatar
Dmitry Antipov committed
1464 1465 1466
	(Fcomposition_get_gstring): ...this function.  Handle case when
	buffer positions are in reversed order and avoid crash (Bug#16739).
	Adjust docstring.
1467 1468
	* buffer.c (validate_region): Mention current buffer in error message.

Juanma Barranquero's avatar
Juanma Barranquero committed
1469
2014-02-12  Marcus Karlsson  <mk@acc.umu.se>  (tiny change)
1470 1471 1472

	* image.c (pbm_load): Set to NO_PIXMAP on error (Bug#16683).

1473 1474 1475 1476
2014-02-12  Lars Ingebrigtsen  <larsi@gnus.org>

	* buffer.c (syms_of_buffer): Doc clarification (bug#9981).

1477 1478 1479 1480 1481
2014-02-11  Glenn Morris  <rgm@gnu.org>

	* nsfns.m (ns_display_info_for_name, Fx_open_connection):
	Replace refs to "OpenStep" in messages.

1482 1483 1484 1485 1486 1487 1488 1489 1490 1491
2014-02-10  Paul Eggert  <eggert@cs.ucla.edu>

	Avoid "." at end of error diagnostics.
	* cmds.c (Fself_insert_command): Reword and avoid "." at end.
	* font.c (Ffont_at):
	* nsfns.m (ns_display_info_for_name):
	* nsselect.m (Fx_own_selection_internal):
	* nsterm.m (performDragOperation:):
	Remove "." from end of diagnostic.

1492 1493 1494 1495
2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>

	* fns.c (Fmaphash): Say what `maphash' returns, since it may be
	unintuitive (bug#15824).