diff src/ChangeLog @ 5922:4b055de36bb9 cygwin

merging heads 2
author Henry Thompson <ht@markup.co.uk>
date Fri, 27 Feb 2015 17:47:15 +0000
parents 69f9e31c9ccf
children e9bb3688e654 750fab17b299
line wrap: on
line diff
--- a/src/ChangeLog	Wed Apr 23 22:22:37 2014 +0100
+++ b/src/ChangeLog	Fri Feb 27 17:47:15 2015 +0000
@@ -1,3 +1,278 @@
+2015-01-08  Stephen J. Turnbull  <stephen@xemacs.org>
+
+	Fix progress bar crashes.
+	Thanks to Ralf Soergel for diagnosis and a patch.
+
+	* config.h.in (HAVE_ATHENA_I18N): New #define.
+
+2014-12-13  Marcus Crestani  <crestani@xemacs.org>
+
+	* dumper.c (pdump_register_sub): Don't leave fields uninitialized.
+
+2014-12-13  Marcus Crestani  <crestani@xemacs.org>
+
+	* dumper.c (pdump_align_stream):
+	* dumper.c (pdump): Check return value of fseek.
+
+2014-12-13  Marcus Crestani  <crestani@xemacs.org>
+
+	* dumper.c (pdump_file_get): Check return value of lseek.
+
+2014-12-13  Marcus Crestani  <crestani@xemacs.org>
+
+	* dumper.c (pdump): fdopen returns NULL when it fails.
+
+2014-12-05  Jerry James  <james@xemacs.org>
+
+	* src/fileio.c (Ffile_truename): Fix off-by-one error.
+
+2014-11-23  Michael Sperber  <mike@xemacs.org>
+
+	* font-mgr.c (Ffc_name_unparse): Do the previous change to this
+	file right and parse the pattern sans the charset.
+
+2014-11-06  Vin Shelton  <acs@xemacs.org>
+
+	* sysdep.c (set_descriptor_non_blocking): Don't call ioctl() on
+	Windows native builds.
+	* emacs.c (main_1): Conditionalize tls variables and initialization.
+	* number.h: Elide Visual Studio warnings on NUMBER_TYPES expansion.
+
+2014-11-05  Jerry James  <james@xemacs.org>
+
+	* ExternalClient-Xlib.c (ExternalClientEventHandler): Cast integer
+	to long before casting to XPointer, which may be larger than int.
+	* database.c: Use BEGIN_C_DECLS/END_C_DECLS around dbm definitions.
+	* lisp.h (ALLOCA): Use NULL instead of (void) 0 to placate g++.
+	(MALLOC_OR_ALLOCA): Ditto.
+	(XSTRING_LENGTH): Use an explicit temporary with NEW_GC so g++ 4.8
+	won't create an uninitialized anonymous temporary.
+	(XSTRING_DATA): Ditto.
+	* sysdll.c: Check whether HAVE_LTDL is defined, not its value.
+	* tls.c (tls_open): Add typecast to xmalloc call in the nss,
+	gnutls, and openssl versions to satisfy g++.  In the gnutls version,
+	use gnutls_certificate_type_t appropriately.
+
+2014-10-25  Michael Sperber  <mike@xemacs.org>
+
+	* fontcolor-x.c (x_font_instance_truename): 
+	* font-mgr.c (Ffc_name_unparse): 
+	* font-mgr.h (PRINT_XFT_PATTERN): Don't modify
+	fontconfig pattern passed in in place.
+
+2014-10-18  Aidan Kehoe  <kehoea@parhasard.net>
+
+	Some changes to eliminate warnings with Apple clang version 1.7.
+	* cm.c (send_string_to_tty_console):
+	* doprnt.c (doprnt_2):
+	* doprnt.c (parse_off_posnum):
+	* event-stream.c (dribble_out_event):
+	Cast various calls to Lstream_putc() to void when the result isn't
+	being used, for the sake of clang.
+	* lisp.h:
+	Declare #'replace here too, it's used in event-stream.c.
+	* lisp.h (ALLOCA):
+	* lisp.h (MALLOC_OR_ALLOCA):
+	Cast a couple of zeros in the context of the ternary operator to
+	void to prevent unused value warnings with clang.
+	* sysdep.c (child_setup_tty):
+	* text.h (ASSERT_ASCTEXT_ASCII_LEN):
+	Use DO_NOTHING in these files to quieten the compiler.
+
+2014-10-18  Stephen J. Turnbull  <stephen@xemacs.org>
+
+	* fontcolor-xlike-inc.c (xft_find_charset_font):
+	* fontcolor-x.c (x_font_instance_truename):
+	* font-mgr.h (PRINT_XFT_PATTERN):
+	* font-mgr.c (Ffc_name_unparse):
+	Protect Ffc_name_unparse from FcNameUnparse crash on charset property.
+
+2014-10-08  Jerry James  <james@xemacs.org>
+
+	* tls.c (init_tls): Remove blatant Fedoraism from the OpenSSL version.
+	* tls.h (tls_open):
+	(make_tls_input_stream):
+	(make_tls_output_stream):
+	(tls_get_fd): Fix build failures in the !WITH_TLS case.
+
+2014-10-07  Jerry James  <james@xemacs.org>
+
+	* Makefile.in.in: Add tls.o to the link.
+	* config.h.in: Add TLS symbols (WITH_TLS, etc.).
+	* emacs.c (main_1): Call new functions in tls.c.
+	* events.h (STREAM_USE_TLS): New macro.
+	* lisp.h (Ffill): Export for nss_pk11_password.
+	* lstream.c (Lstream_tls_p): New function.
+	(Lstream_tls_negotiate): New function.
+	(struct filedesc_stream): Add tls_state member.
+	(make_filedesc_stream_1): Add state parameter.  Use tls_get_fd.
+	(make_filedesc_input_stream): Add state parameter.
+	(make_filedesc_output_stream): Ditto.
+	(filedesc_reader): Use tls_read if tls_state is non-null.
+	(filedesc_writer): Use tls_write if tls_state is non-null.
+	(filedesc_closer): Use tls_close if tls_state is non-null.
+	(filedesc_tls_p): New function.
+	(fildesc_tls_negotiater): New function.
+	* lstream.h (Lstream_implementation): Add tls_p and tls_negotiater
+	members.
+	* process-nt.c (nt_open_network_stream): Add tls parameter.
+	* process-unix.c (unix_open_network_stream): Ditto.  Call TLS
+	functions to set up the socket, if requested.
+	* process.c (tls_connection_p): New function.
+	(print_process): Use it.
+	(Fopen_network_stream_internal): Add optional tls argument.
+	(Ftls_negotiate): New function.
+	* tls.c: New file, with NSS, gnutls, and OpenSSL implementations.
+	* tls.h: New file.
+
+	* console-tty.c (tty_init_console):
+	* doc.c (extract_object_file_name):
+	(unparesseuxify_doc_string):
+	* event-stream.c (Fopen_dribble_file):
+	* event-unixoid.c (event_stream_unixoid_create_io_streams):
+	* file-coding.c (Ffind_coding_system_magic_cookie_in_file):
+	* fileio.c (Finsert_file_contents_internal):
+	(Fwrite_region_internal):
+	* gpmevent.c (tty_get_foreign_selection):
+	* lread.c (Fload_internal): Supply new tls arg to
+	make_filedesc_input_stream and make_filedesc_output_stream.
+
+2014-09-30  Marcus Crestani  <crestani@informatik.uni-tuebingen.de>
+
+	* editfns.c (Fencode_time): Switch signs when calculating the time
+	zone string. (The offset indicates the value one must add to the
+	local time to arrive at UTC.)
+
+2014-09-23  Jerry James  <james@xemacs.org>
+
+	* floatfns.c (round_two_bignum_1): Fix memory leak.
+	(round_two_bigfloat): Ditto.
+
+2014-09-06  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* select-x.c (Fx_store_cutbuffer_internal):
+	Correct the order of XSTRING_{DATA,LENGTH} vs. CHECK_STRING, make
+	sure the former is after the latter, avoiding crashes when passing
+	in arguments of the wrong type, or when ERROR_CHECK_STRUCTURES is
+	defined.
+
+2014-08-03  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* event-stream.c (allocate_command_builder):
+	* event-stream.c (Fnext_event):
+	Use #'make-string rather than make_uninit_string() when allocating
+	the command builder's echo_buf, avoiding having octets in the
+	string that do not correspond to valid internal-format text.
+	* buffer.c (finish_init_buffer):
+	Pass a character as the second argument to #'make-string, not a
+	fixnum.
+
+2014-07-14  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* event-stream.c:
+	* event-stream.c (mark_command_builder):
+	* event-stream.c (finalize_command_builder): Removed.
+	* event-stream.c (allocate_command_builder):
+	* event-stream.c (free_command_builder): Removed. Use
+	free_normal_lisp_object() instead.
+	* event-stream.c (echo_key_event):
+	* event-stream.c (regenerate_echo_keys_from_this_command_keys):
+	Detach all extents here.
+	* event-stream.c (maybe_echo_keys):
+	* event-stream.c (reset_key_echo):
+	* event-stream.c (execute_help_form):
+	* event-stream.c (Fnext_event):
+	* event-stream.c (command_builder_find_leaf_no_jit_binding):
+	* event-stream.c (command_builder_find_leaf):
+	* event-stream.c (lookup_command_event):
+	* events.h (struct command_builder):
+	Move the command builder's echo_buf to being a Lisp string rather
+	than a malloced Ibyte array. This allows passing through extent
+	information, which was previously dropped. It also simplifies the
+	allocation and release code for the command builder.
+	Rename echo_buf_index to echo_buf_fill_pointer, better reflecting
+	its function.
+	Don't rely on zero-termination (something not particularly
+	compatible with Lisp-level code) when showing a substring of
+	echo_buf that differs from that designated by
+	echo_buf_fill_pointer, keep a separate counter instead and use
+	that.
+	* minibuf.c:
+	* minibuf.c (echo_area_append):
+	Use the new START and END keyword arguments to #'append-message,
+	rather than consing a new string for basically every #'next-event
+	prompt displayed.
+	
+2014-07-02  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* keymap.c (Fkeymapp):
+	Autoload within this, as documented. Our callers are not prepared
+	to do the intelligent thing if a symbol that is fboundp to an
+	autoloaded keymap, is not itself #'keymapp.
+
+2014-07-02  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* event-stream.c (Fnext_command_event):
+	Only snooze displaying keystrokes if PROMPT is nil. If prompt is
+	non-nil, our callers want to see it.
+
+2014-06-19  Stephen J. Turnbull  <stephen@xemacs.org>
+
+	* buffer.c (case_fold_search): Improve docstring.
+
+2014-06-18  Aidan Kehoe  <kehoea@parhasard.net>
+
+	Correct a couple of things in my last change.
+	* extents.h:
+	Make #'delete-extent available.
+	* window.c:
+	* window.c (delete_saved_point): New.
+	* window.c (Fdelete_window): Delete the saved point extents on
+	deletion of the window, since otherwise they will only be
+	garbage-collected when the buffer is.
+	* window.c (Fset_window_buffer): Correct a thinko here, use a
+	saved point when it *hasn't* been detached.
+
+2014-06-17  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* extents.h:
+	* window.c:
+	* window.c (unshow_buffer):
+	* window.c (Fset_window_buffer):
+	Use extents, rather than markers, for the window buffer point
+	cache, so that when the text containing that window buffer point
+	is deleted, the window display code uses the buffer's actual point
+	instead of the position that the marker had been moved to.
+	Fixes Michael Heinrich's problem of
+	http://mid.gmane.org/6zr42uxtf5.fsf@elektra.science-computing.de ,
+	introduced by Ben's patch of
+	https://bitbucket.org/xemacs/xemacs/commits/047d37eb70d70f43803 . 
+
+2014-05-08  Jerry James  <james@xemacs.org>
+
+	* print.c (struct debug_bindings): Add print_circle field.
+	(debug_print_exit): Restore print_circle.
+	(debug_print_enter): Save print_circle binding and set it.
+
+2014-05-06  Jerry James  <james@xemacs.org>
+
+	* file-coding.c (encode_decode_coding_region): Signal an error if
+	Lstream_read encounters an error (returns -1).
+	(detect_coding_type): Ditto.  Add an argument for the stream error.
+	(look_for_coding_system_magic_cookie): Ditto.
+	(determine_real_coding_system): Pass new stream error argument.
+	(undecided_convert): Ditto.
+	(Ffind_coding_system_magic_cookie_in_file): Ditto.
+	* lstream.c (Lstream_errno): New function.
+	(struct filedesc_stream): Add saved_errno member.
+	(make_filedesc_stream_1): Initialize it.
+	(filedesc_reader): Set it.
+	(filedesc_writer): Set it.
+	(filedesc_error): New function.
+	(lstream_type_create): Record that filedesc has an error method.
+	* lstream.h (struct lstream_implementation): Add error member.
+	(Lstream_errno): Declare.
+
 2014-01-27  Michael Sperber  <mike@xemacs.org>
 
 	* symbols.c (Fdefine_function): Allow optional `docstring'