comparison src/ChangeLog @ 5923:61d7d7bcbe76 cygwin

merged heads after pull -u
author Henry Thompson <ht@markup.co.uk>
date Thu, 05 Feb 2015 17:19:05 +0000
parents 69f9e31c9ccf
children e9bb3688e654 750fab17b299
comparison
equal deleted inserted replaced
5921:68639fb08af8 5923:61d7d7bcbe76
1 2015-01-08 Stephen J. Turnbull <stephen@xemacs.org>
2
3 Fix progress bar crashes.
4 Thanks to Ralf Soergel for diagnosis and a patch.
5
6 * config.h.in (HAVE_ATHENA_I18N): New #define.
7
8 2014-12-13 Marcus Crestani <crestani@xemacs.org>
9
10 * dumper.c (pdump_register_sub): Don't leave fields uninitialized.
11
12 2014-12-13 Marcus Crestani <crestani@xemacs.org>
13
14 * dumper.c (pdump_align_stream):
15 * dumper.c (pdump): Check return value of fseek.
16
17 2014-12-13 Marcus Crestani <crestani@xemacs.org>
18
19 * dumper.c (pdump_file_get): Check return value of lseek.
20
21 2014-12-13 Marcus Crestani <crestani@xemacs.org>
22
23 * dumper.c (pdump): fdopen returns NULL when it fails.
24
25 2014-12-05 Jerry James <james@xemacs.org>
26
27 * src/fileio.c (Ffile_truename): Fix off-by-one error.
28
29 2014-11-23 Michael Sperber <mike@xemacs.org>
30
31 * font-mgr.c (Ffc_name_unparse): Do the previous change to this
32 file right and parse the pattern sans the charset.
33
34 2014-11-06 Vin Shelton <acs@xemacs.org>
35
36 * sysdep.c (set_descriptor_non_blocking): Don't call ioctl() on
37 Windows native builds.
38 * emacs.c (main_1): Conditionalize tls variables and initialization.
39 * number.h: Elide Visual Studio warnings on NUMBER_TYPES expansion.
40
41 2014-11-05 Jerry James <james@xemacs.org>
42
43 * ExternalClient-Xlib.c (ExternalClientEventHandler): Cast integer
44 to long before casting to XPointer, which may be larger than int.
45 * database.c: Use BEGIN_C_DECLS/END_C_DECLS around dbm definitions.
46 * lisp.h (ALLOCA): Use NULL instead of (void) 0 to placate g++.
47 (MALLOC_OR_ALLOCA): Ditto.
48 (XSTRING_LENGTH): Use an explicit temporary with NEW_GC so g++ 4.8
49 won't create an uninitialized anonymous temporary.
50 (XSTRING_DATA): Ditto.
51 * sysdll.c: Check whether HAVE_LTDL is defined, not its value.
52 * tls.c (tls_open): Add typecast to xmalloc call in the nss,
53 gnutls, and openssl versions to satisfy g++. In the gnutls version,
54 use gnutls_certificate_type_t appropriately.
55
56 2014-10-25 Michael Sperber <mike@xemacs.org>
57
58 * fontcolor-x.c (x_font_instance_truename):
59 * font-mgr.c (Ffc_name_unparse):
60 * font-mgr.h (PRINT_XFT_PATTERN): Don't modify
61 fontconfig pattern passed in in place.
62
63 2014-10-18 Aidan Kehoe <kehoea@parhasard.net>
64
65 Some changes to eliminate warnings with Apple clang version 1.7.
66 * cm.c (send_string_to_tty_console):
67 * doprnt.c (doprnt_2):
68 * doprnt.c (parse_off_posnum):
69 * event-stream.c (dribble_out_event):
70 Cast various calls to Lstream_putc() to void when the result isn't
71 being used, for the sake of clang.
72 * lisp.h:
73 Declare #'replace here too, it's used in event-stream.c.
74 * lisp.h (ALLOCA):
75 * lisp.h (MALLOC_OR_ALLOCA):
76 Cast a couple of zeros in the context of the ternary operator to
77 void to prevent unused value warnings with clang.
78 * sysdep.c (child_setup_tty):
79 * text.h (ASSERT_ASCTEXT_ASCII_LEN):
80 Use DO_NOTHING in these files to quieten the compiler.
81
82 2014-10-18 Stephen J. Turnbull <stephen@xemacs.org>
83
84 * fontcolor-xlike-inc.c (xft_find_charset_font):
85 * fontcolor-x.c (x_font_instance_truename):
86 * font-mgr.h (PRINT_XFT_PATTERN):
87 * font-mgr.c (Ffc_name_unparse):
88 Protect Ffc_name_unparse from FcNameUnparse crash on charset property.
89
90 2014-10-08 Jerry James <james@xemacs.org>
91
92 * tls.c (init_tls): Remove blatant Fedoraism from the OpenSSL version.
93 * tls.h (tls_open):
94 (make_tls_input_stream):
95 (make_tls_output_stream):
96 (tls_get_fd): Fix build failures in the !WITH_TLS case.
97
98 2014-10-07 Jerry James <james@xemacs.org>
99
100 * Makefile.in.in: Add tls.o to the link.
101 * config.h.in: Add TLS symbols (WITH_TLS, etc.).
102 * emacs.c (main_1): Call new functions in tls.c.
103 * events.h (STREAM_USE_TLS): New macro.
104 * lisp.h (Ffill): Export for nss_pk11_password.
105 * lstream.c (Lstream_tls_p): New function.
106 (Lstream_tls_negotiate): New function.
107 (struct filedesc_stream): Add tls_state member.
108 (make_filedesc_stream_1): Add state parameter. Use tls_get_fd.
109 (make_filedesc_input_stream): Add state parameter.
110 (make_filedesc_output_stream): Ditto.
111 (filedesc_reader): Use tls_read if tls_state is non-null.
112 (filedesc_writer): Use tls_write if tls_state is non-null.
113 (filedesc_closer): Use tls_close if tls_state is non-null.
114 (filedesc_tls_p): New function.
115 (fildesc_tls_negotiater): New function.
116 * lstream.h (Lstream_implementation): Add tls_p and tls_negotiater
117 members.
118 * process-nt.c (nt_open_network_stream): Add tls parameter.
119 * process-unix.c (unix_open_network_stream): Ditto. Call TLS
120 functions to set up the socket, if requested.
121 * process.c (tls_connection_p): New function.
122 (print_process): Use it.
123 (Fopen_network_stream_internal): Add optional tls argument.
124 (Ftls_negotiate): New function.
125 * tls.c: New file, with NSS, gnutls, and OpenSSL implementations.
126 * tls.h: New file.
127
128 * console-tty.c (tty_init_console):
129 * doc.c (extract_object_file_name):
130 (unparesseuxify_doc_string):
131 * event-stream.c (Fopen_dribble_file):
132 * event-unixoid.c (event_stream_unixoid_create_io_streams):
133 * file-coding.c (Ffind_coding_system_magic_cookie_in_file):
134 * fileio.c (Finsert_file_contents_internal):
135 (Fwrite_region_internal):
136 * gpmevent.c (tty_get_foreign_selection):
137 * lread.c (Fload_internal): Supply new tls arg to
138 make_filedesc_input_stream and make_filedesc_output_stream.
139
140 2014-09-30 Marcus Crestani <crestani@informatik.uni-tuebingen.de>
141
142 * editfns.c (Fencode_time): Switch signs when calculating the time
143 zone string. (The offset indicates the value one must add to the
144 local time to arrive at UTC.)
145
146 2014-09-23 Jerry James <james@xemacs.org>
147
148 * floatfns.c (round_two_bignum_1): Fix memory leak.
149 (round_two_bigfloat): Ditto.
150
151 2014-09-06 Aidan Kehoe <kehoea@parhasard.net>
152
153 * select-x.c (Fx_store_cutbuffer_internal):
154 Correct the order of XSTRING_{DATA,LENGTH} vs. CHECK_STRING, make
155 sure the former is after the latter, avoiding crashes when passing
156 in arguments of the wrong type, or when ERROR_CHECK_STRUCTURES is
157 defined.
158
159 2014-08-03 Aidan Kehoe <kehoea@parhasard.net>
160
161 * event-stream.c (allocate_command_builder):
162 * event-stream.c (Fnext_event):
163 Use #'make-string rather than make_uninit_string() when allocating
164 the command builder's echo_buf, avoiding having octets in the
165 string that do not correspond to valid internal-format text.
166 * buffer.c (finish_init_buffer):
167 Pass a character as the second argument to #'make-string, not a
168 fixnum.
169
170 2014-07-14 Aidan Kehoe <kehoea@parhasard.net>
171
172 * event-stream.c:
173 * event-stream.c (mark_command_builder):
174 * event-stream.c (finalize_command_builder): Removed.
175 * event-stream.c (allocate_command_builder):
176 * event-stream.c (free_command_builder): Removed. Use
177 free_normal_lisp_object() instead.
178 * event-stream.c (echo_key_event):
179 * event-stream.c (regenerate_echo_keys_from_this_command_keys):
180 Detach all extents here.
181 * event-stream.c (maybe_echo_keys):
182 * event-stream.c (reset_key_echo):
183 * event-stream.c (execute_help_form):
184 * event-stream.c (Fnext_event):
185 * event-stream.c (command_builder_find_leaf_no_jit_binding):
186 * event-stream.c (command_builder_find_leaf):
187 * event-stream.c (lookup_command_event):
188 * events.h (struct command_builder):
189 Move the command builder's echo_buf to being a Lisp string rather
190 than a malloced Ibyte array. This allows passing through extent
191 information, which was previously dropped. It also simplifies the
192 allocation and release code for the command builder.
193 Rename echo_buf_index to echo_buf_fill_pointer, better reflecting
194 its function.
195 Don't rely on zero-termination (something not particularly
196 compatible with Lisp-level code) when showing a substring of
197 echo_buf that differs from that designated by
198 echo_buf_fill_pointer, keep a separate counter instead and use
199 that.
200 * minibuf.c:
201 * minibuf.c (echo_area_append):
202 Use the new START and END keyword arguments to #'append-message,
203 rather than consing a new string for basically every #'next-event
204 prompt displayed.
205
206 2014-07-02 Aidan Kehoe <kehoea@parhasard.net>
207
208 * keymap.c (Fkeymapp):
209 Autoload within this, as documented. Our callers are not prepared
210 to do the intelligent thing if a symbol that is fboundp to an
211 autoloaded keymap, is not itself #'keymapp.
212
213 2014-07-02 Aidan Kehoe <kehoea@parhasard.net>
214
215 * event-stream.c (Fnext_command_event):
216 Only snooze displaying keystrokes if PROMPT is nil. If prompt is
217 non-nil, our callers want to see it.
218
219 2014-06-19 Stephen J. Turnbull <stephen@xemacs.org>
220
221 * buffer.c (case_fold_search): Improve docstring.
222
223 2014-06-18 Aidan Kehoe <kehoea@parhasard.net>
224
225 Correct a couple of things in my last change.
226 * extents.h:
227 Make #'delete-extent available.
228 * window.c:
229 * window.c (delete_saved_point): New.
230 * window.c (Fdelete_window): Delete the saved point extents on
231 deletion of the window, since otherwise they will only be
232 garbage-collected when the buffer is.
233 * window.c (Fset_window_buffer): Correct a thinko here, use a
234 saved point when it *hasn't* been detached.
235
236 2014-06-17 Aidan Kehoe <kehoea@parhasard.net>
237
238 * extents.h:
239 * window.c:
240 * window.c (unshow_buffer):
241 * window.c (Fset_window_buffer):
242 Use extents, rather than markers, for the window buffer point
243 cache, so that when the text containing that window buffer point
244 is deleted, the window display code uses the buffer's actual point
245 instead of the position that the marker had been moved to.
246 Fixes Michael Heinrich's problem of
247 http://mid.gmane.org/6zr42uxtf5.fsf@elektra.science-computing.de ,
248 introduced by Ben's patch of
249 https://bitbucket.org/xemacs/xemacs/commits/047d37eb70d70f43803 .
250
251 2014-05-08 Jerry James <james@xemacs.org>
252
253 * print.c (struct debug_bindings): Add print_circle field.
254 (debug_print_exit): Restore print_circle.
255 (debug_print_enter): Save print_circle binding and set it.
256
257 2014-05-06 Jerry James <james@xemacs.org>
258
259 * file-coding.c (encode_decode_coding_region): Signal an error if
260 Lstream_read encounters an error (returns -1).
261 (detect_coding_type): Ditto. Add an argument for the stream error.
262 (look_for_coding_system_magic_cookie): Ditto.
263 (determine_real_coding_system): Pass new stream error argument.
264 (undecided_convert): Ditto.
265 (Ffind_coding_system_magic_cookie_in_file): Ditto.
266 * lstream.c (Lstream_errno): New function.
267 (struct filedesc_stream): Add saved_errno member.
268 (make_filedesc_stream_1): Initialize it.
269 (filedesc_reader): Set it.
270 (filedesc_writer): Set it.
271 (filedesc_error): New function.
272 (lstream_type_create): Record that filedesc has an error method.
273 * lstream.h (struct lstream_implementation): Add error member.
274 (Lstream_errno): Declare.
275
1 2014-01-27 Michael Sperber <mike@xemacs.org> 276 2014-01-27 Michael Sperber <mike@xemacs.org>
2 277
3 * symbols.c (Fdefine_function): Allow optional `docstring' 278 * symbols.c (Fdefine_function): Allow optional `docstring'
4 argument, as in GNU Emacs. 279 argument, as in GNU Emacs.
5 280