diff options
| author | Paul Eggert | 2011-04-25 23:17:52 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-25 23:17:52 -0700 |
| commit | 671875dac181f7f1337f21d013a9c3d5f235ddf2 (patch) | |
| tree | 4091c2537439713df8efe8d3376116a6db3eb1c5 /src/ChangeLog | |
| parent | f904488ff40dcee3e340b63a6386dde124d1241c (diff) | |
| parent | 0c6b7b19e52ba18b5d4fd2d4b73b133a0a721603 (diff) | |
| download | emacs-671875dac181f7f1337f21d013a9c3d5f235ddf2.tar.gz emacs-671875dac181f7f1337f21d013a9c3d5f235ddf2.zip | |
Merge from mainline.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 178 |
1 files changed, 171 insertions, 7 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 87e703b3dab..6614375a7c6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | 2011-04-25 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-04-26 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | lisp.h: Fix a problem with aliasing and vector headers. | 3 | lisp.h: Fix a problem with aliasing and vector headers. |
| 4 | GCC 4.6.0 optimizes based on type-based alias analysis. For | 4 | GCC 4.6.0 optimizes based on type-based alias analysis. For |
| @@ -50,12 +50,8 @@ | |||
| 50 | * process.c (Fformat_network_address): Use local var for size, | 50 | * process.c (Fformat_network_address): Use local var for size, |
| 51 | for brevity. | 51 | for brevity. |
| 52 | 52 | ||
| 53 | 2011-04-24 Paul Eggert <eggert@cs.ucla.edu> | ||
| 54 | |||
| 55 | * bytecode.c (exec_byte_code): Don't use XVECTOR before CHECK_VECTOR. | 53 | * bytecode.c (exec_byte_code): Don't use XVECTOR before CHECK_VECTOR. |
| 56 | 54 | ||
| 57 | 2011-04-21 Paul Eggert <eggert@cs.ucla.edu> | ||
| 58 | |||
| 59 | Make the Lisp reader and string-to-float more consistent. | 55 | Make the Lisp reader and string-to-float more consistent. |
| 60 | * data.c (atof): Remove decl; no longer used or needed. | 56 | * data.c (atof): Remove decl; no longer used or needed. |
| 61 | (digit_to_number): Move to lread.c. | 57 | (digit_to_number): Move to lread.c. |
| @@ -86,8 +82,6 @@ | |||
| 86 | so that overflow for non-base-10 numbers is reported only when | 82 | so that overflow for non-base-10 numbers is reported only when |
| 87 | there's no portable and simple way to convert to floating point. | 83 | there's no portable and simple way to convert to floating point. |
| 88 | 84 | ||
| 89 | 2011-04-20 Paul Eggert <eggert@cs.ucla.edu> | ||
| 90 | |||
| 91 | * textprop.c (set_text_properties_1): Rewrite for clarity, | 85 | * textprop.c (set_text_properties_1): Rewrite for clarity, |
| 92 | and to avoid GCC warning about integer overflow. | 86 | and to avoid GCC warning about integer overflow. |
| 93 | 87 | ||
| @@ -188,6 +182,176 @@ | |||
| 188 | alignof(EMACS_INT) < sizeof (EMACS_INT). | 182 | alignof(EMACS_INT) < sizeof (EMACS_INT). |
| 189 | (check_sblock, check_string_bytes, check_string_free_list): Protoize. | 183 | (check_sblock, check_string_bytes, check_string_free_list): Protoize. |
| 190 | 184 | ||
| 185 | 2011-04-25 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 186 | |||
| 187 | * alloc.c (check_sblock, check_string_bytes) | ||
| 188 | (check_string_free_list): Convert to standard C. | ||
| 189 | |||
| 190 | 2011-04-25 Teodor Zlatanov <tzz@lifelogs.com> | ||
| 191 | |||
| 192 | * w32.c (emacs_gnutls_push): Fix typo. | ||
| 193 | |||
| 194 | 2011-04-25 Eli Zaretskii <eliz@gnu.org> | ||
| 195 | |||
| 196 | * gnutls.c (emacs_gnutls_handshake): Avoid compiler warnings about | ||
| 197 | "cast to pointer from integer of different size". | ||
| 198 | |||
| 199 | Improve doprnt and its use in verror. (Bug#8545) | ||
| 200 | * doprnt.c (doprnt): Document the set of format control sequences | ||
| 201 | supported by the function. Use SAFE_ALLOCA instead of always | ||
| 202 | using `alloca'. | ||
| 203 | |||
| 204 | * eval.c (verror): Don't limit the buffer size at size_max-1, that | ||
| 205 | is one byte too soon. Don't use xrealloc; instead xfree and | ||
| 206 | xmalloc anew. | ||
| 207 | |||
| 208 | 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com> | ||
| 209 | |||
| 210 | * gnutls.h: Add GNUTLS_STAGE_CALLBACKS enum to denote we're in the | ||
| 211 | callbacks stage. | ||
| 212 | |||
| 213 | * gnutls.c: Renamed global_initialized to | ||
| 214 | gnutls_global_initialized. Added internals for the | ||
| 215 | :verify-hostname-error, :verify-error, and :verify-flags | ||
| 216 | parameters of `gnutls-boot' and documented those parameters in the | ||
| 217 | docstring. Start callback support. | ||
| 218 | (emacs_gnutls_handshake): Add Woe32 support. Retry handshake | ||
| 219 | unless a fatal error occured. Call gnutls_alert_send_appropriate | ||
| 220 | on error. Return error code. | ||
| 221 | (emacs_gnutls_write): Call emacs_gnutls_handle_error. | ||
| 222 | (emacs_gnutls_read): Likewise. | ||
| 223 | (Fgnutls_boot): Return handshake error code. | ||
| 224 | (emacs_gnutls_handle_error): New function. | ||
| 225 | (wsaerror_to_errno): Likewise. | ||
| 226 | |||
| 227 | * w32.h (emacs_gnutls_pull): Add prototype. | ||
| 228 | (emacs_gnutls_push): Likewise. | ||
| 229 | |||
| 230 | * w32.c (emacs_gnutls_pull): New function for GnuTLS on Woe32. | ||
| 231 | (emacs_gnutls_push): Likewise. | ||
| 232 | |||
| 233 | 2011-04-24 Claudio Bley <claudio.bley@gmail.com> (tiny change) | ||
| 234 | |||
| 235 | * process.c (wait_reading_process_output): Check if GnuTLS | ||
| 236 | buffered some data internally if no FDs are set for TLS | ||
| 237 | connections. | ||
| 238 | |||
| 239 | * makefile.w32-in (OBJ2): Add gnutls.$(O). | ||
| 240 | (LIBS): Link to USER_LIBS. | ||
| 241 | ($(BLD)/gnutls.$(0)): New target. | ||
| 242 | |||
| 243 | 2011-04-24 Eli Zaretskii <eliz@gnu.org> | ||
| 244 | |||
| 245 | * xdisp.c (handle_single_display_spec): Rename the | ||
| 246 | display_replaced_before_p argument into display_replaced_p, to | ||
| 247 | make it consistent with the commentary. Fix typos in the | ||
| 248 | commentary. | ||
| 249 | |||
| 250 | * textprop.c (syms_of_textprop): Remove dead code. | ||
| 251 | (copy_text_properties): Delete obsolete commentary about an | ||
| 252 | interface that was deleted long ago. Fix typos in the description | ||
| 253 | of arguments. | ||
| 254 | |||
| 255 | * msdos.c (XMenuActivate, XMenuAddSelection): Adjust argument list | ||
| 256 | to changes in oldXMenu/XMenu.h from 2011-04-16. | ||
| 257 | <menu_help_message, prev_menu_help_message>: Constify. | ||
| 258 | (IT_menu_make_room): menu->help_text is now `const char **'; | ||
| 259 | adjust. | ||
| 260 | |||
| 261 | * msdos.h (XMenuActivate, XMenuAddSelection): Adjust prototypes | ||
| 262 | to changes in oldXMenu/XMenu.h from 2011-04-16. | ||
| 263 | (struct XMenu): Declare `help_text' `const char **'. | ||
| 264 | |||
| 265 | * xfaces.c <Qunspecified>: Make extern again. | ||
| 266 | |||
| 267 | * syntax.c: Include sys/types.h before including regex.h, as | ||
| 268 | required by Posix. | ||
| 269 | |||
| 270 | * doc.c (get_doc_string): Improve the format passed to `error'. | ||
| 271 | |||
| 272 | * doprnt.c (doprnt): Improve commentary. | ||
| 273 | |||
| 274 | * term.c (init_tty) [MSDOS]: Fix 1st argument to maybe_fatal. | ||
| 275 | |||
| 276 | * Makefile.in (TAGS): Depend on $(M_FILE) and $(S_FILE), and scan | ||
| 277 | them with etags. | ||
| 278 | |||
| 279 | * makefile.w32-in (globals.h): Add a dummy recipe, to make any | ||
| 280 | changes in globals.h immediately force recompilation. | ||
| 281 | (TAGS): Depend on $(CURDIR)/m/intel386.h and | ||
| 282 | $(CURDIR)/s/ms-w32.h. | ||
| 283 | (TAGS-gmake): Scan $(CURDIR)/m/intel386.h and $(CURDIR)/s/ms-w32.h. | ||
| 284 | |||
| 285 | * character.c (Fchar_direction): Function deleted. | ||
| 286 | (syms_of_character): Don't defsubr it. | ||
| 287 | <char-direction-table>: Deleted. | ||
| 288 | |||
| 289 | 2011-04-23 Eli Zaretskii <eliz@gnu.org> | ||
| 290 | |||
| 291 | Fix doprnt so it could be used again safely in `verror'. (Bug#8435) | ||
| 292 | * doprnt.c: Include limits.h. | ||
| 293 | (SIZE_MAX): New macro. | ||
| 294 | (doprnt): Return a size_t value. 2nd arg is now size_t. Many | ||
| 295 | local variables are now size_t instead of int or unsigned. | ||
| 296 | Improve overflow protection. Support `l' modifier for integer | ||
| 297 | conversions. Support %l conversion. Don't assume an EMACS_INT | ||
| 298 | argument for integer conversions and for %c. | ||
| 299 | |||
| 300 | * lisp.h (doprnt): Restore prototype. | ||
| 301 | |||
| 302 | * makefile.w32-in ($(BLD)/callint.$(O)): Depend on | ||
| 303 | $(SRC)/character.h. | ||
| 304 | |||
| 305 | * Makefile.in (base_obj): Add back doprnt.o. | ||
| 306 | |||
| 307 | * deps.mk (doprnt.o): Add back prerequisites. | ||
| 308 | (callint.o): Depend on character.h. | ||
| 309 | |||
| 310 | * eval.c (internal_lisp_condition_case): Include the handler | ||
| 311 | representation in the error message. | ||
| 312 | (verror): Call doprnt instead of vsnprintf. Fix an off-by-one bug | ||
| 313 | when breaking from the loop. | ||
| 314 | |||
| 315 | * xdisp.c (vmessage): Call doprnt instead of vsnprintf. | ||
| 316 | |||
| 317 | * callint.c (Fcall_interactively): When displaying error message | ||
| 318 | about invalid control letter, pass the character's codepoint, not | ||
| 319 | a pointer to its multibyte form. Improve display of the character | ||
| 320 | in octal and display also its hex code. | ||
| 321 | |||
| 322 | * character.c (char_string): Use %x to display the (unsigned) | ||
| 323 | codepoint of an invalid character, to avoid displaying a bogus | ||
| 324 | negative value. | ||
| 325 | |||
| 326 | * font.c (check_otf_features): Pass SDATA of SYMBOL_NAME to | ||
| 327 | `error', not SYMBOL_NAME itself. | ||
| 328 | |||
| 329 | * coding.c (Fencode_sjis_char, Fencode_big5_char): Use %c for | ||
| 330 | character arguments to `error'. | ||
| 331 | |||
| 332 | * charset.c (check_iso_charset_parameter): Fix incorrect argument | ||
| 333 | to `error' in error message about FINAL_CHAR argument. Make sure | ||
| 334 | FINAL_CHAR is a character, and use %c when it is passed as | ||
| 335 | argument to `error'. | ||
| 336 | |||
| 337 | 2011-04-23 Eli Zaretskii <eliz@gnu.org> | ||
| 338 | |||
| 339 | * s/ms-w32.h (localtime): Redirect to sys_localtime. | ||
| 340 | |||
| 341 | * w32.c: Include <time.h>. | ||
| 342 | (sys_localtime): New function. | ||
| 343 | |||
| 344 | 2011-04-23 Chong Yidong <cyd@stupidchicken.com> | ||
| 345 | |||
| 346 | * xdisp.c (init_xdisp): Initialize echo_area_window (Bug#6451). | ||
| 347 | |||
| 348 | * buffer.c (syms_of_buffer): Doc fix (Bug#6902). | ||
| 349 | |||
| 350 | 2011-04-23 Samuel Thibault <sthibault@debian.org> (tiny change) | ||
| 351 | |||
| 352 | * sysdep.c (wait_for_termination): On GNU Hurd, kill returns -1 on | ||
| 353 | zombies (Bug#8467). | ||
| 354 | |||
| 191 | 2011-04-19 Eli Zaretskii <eliz@gnu.org> | 355 | 2011-04-19 Eli Zaretskii <eliz@gnu.org> |
| 192 | 356 | ||
| 193 | * syntax.h (SETUP_SYNTAX_TABLE_FOR_OBJECT): Fix setting of | 357 | * syntax.h (SETUP_SYNTAX_TABLE_FOR_OBJECT): Fix setting of |