comparison src/ChangeLog @ 4982:3c3c1d139863

Automatic merge
author Ben Wing <ben@xemacs.org>
date Fri, 05 Feb 2010 11:25:00 -0600
parents 4aebb0131297 4234fd5a7b17
children 358aa3bb603f 97c45e3ad810
comparison
equal deleted inserted replaced
4981:4aebb0131297 4982:3c3c1d139863
248 8. Use Ascbyte instead of CIbyte in process-unix.c and maybe one 248 8. Use Ascbyte instead of CIbyte in process-unix.c and maybe one
249 or two other places. 249 or two other places.
250 9. Some code cleanup in copy_in_passwd() in sysdep.c. 250 9. Some code cleanup in copy_in_passwd() in sysdep.c.
251 10. Fix a real bug due to accidental variable shadowing in 251 10. Fix a real bug due to accidental variable shadowing in
252 tstr_to_local_file_format() in win32.c. 252 tstr_to_local_file_format() in win32.c.
253
254 2010-02-05 Ben Wing <ben@xemacs.org>
255
256 * lisp.h:
257 * lisp.h (staticpro_nodump_1):
258 Define staticpro_1 and staticpro_nodump_1 when not XEMACS_DEBUG.
259
260 * symbols.c (defsymbol_massage_name_1):
261 * symbols.c (defsymbol_massage_multiword_predicate):
262 Cosmetic fixes.
263
264 2010-02-05 Ben Wing <ben@xemacs.org>
265
266 * bytecode.c (bytecode_assert):
267 Use 0 instead of x in disabled_assert calls to avoid errors due
268 to using undefined vars/params (they are defined only when
269 ERROR_CHECK_BYTE_CODE, which also turns on/off the asserts).
270
271 2010-02-04 Ben Wing <ben@xemacs.org>
272
273 * alloc.c (release_breathing_space):
274 * alloc.c (resize_string):
275 * alloc.c (sweep_lcrecords_1):
276 * alloc.c (SWEEP_FIXED_TYPE_BLOCK_1):
277 * alloc.c (ADDITIONAL_FREE_compiled_function):
278 * alloc.c (compact_string_chars):
279 * alloc.c (ADDITIONAL_FREE_string):
280 * alloc.c (sweep_strings):
281 * alloca.c (xemacs_c_alloca):
282 * alsaplay.c (alsa_play_sound_file):
283 * buffer.c (init_initial_directory):
284 * buffer.h:
285 * buffer.h (BUFFER_FREE):
286 * console-stream.c (stream_delete_console):
287 * console-tty.c (free_tty_console_struct):
288 * data.c (Fnumber_to_string):
289 * device-gtk.c (gtk_init_device):
290 * device-gtk.c (free_gtk_device_struct):
291 * device-gtk.c (gtk_delete_device):
292 * device-msw.c (mswindows_delete_device):
293 * device-msw.c (msprinter_delete_device):
294 * device-tty.c (free_tty_device_struct):
295 * device-tty.c (tty_delete_device):
296 * device-x.c (x_init_device):
297 * device-x.c (free_x_device_struct):
298 * device-x.c (x_delete_device):
299 * dialog-msw.c (handle_directory_dialog_box):
300 * dialog-x.c (dbox_descriptor_to_widget_value):
301 * dired-msw.c (Fmswindows_insert_directory):
302 * dired.c (free_user_cache):
303 * dired.c (user_name_completion_unwind):
304 * doc.c (unparesseuxify_doc_string):
305 * doc.c (Fsubstitute_command_keys):
306 * doprnt.c (emacs_doprnt_1):
307 * dumper.c (pdump_load_finish):
308 * dumper.c (pdump_file_free):
309 * dumper.c (pdump_file_unmap):
310 * dynarr.c:
311 * dynarr.c (Dynarr_free):
312 * editfns.c (uncache_home_directory):
313 * editfns.c (Fset_time_zone_rule):
314 * elhash.c:
315 * elhash.c (pdump_reorganize_hash_table):
316 * elhash.c (maphash_unwind):
317 * emacs.c (make_arg_list_1):
318 * emacs.c (free_argc_argv):
319 * emacs.c (sort_args):
320 * emacs.c (Frunning_temacs_p):
321 * emodules.c (attempt_module_delete):
322 * eval.c (free_pointer):
323 * event-Xt.c (unselect_filedesc):
324 * event-Xt.c (emacs_Xt_select_process):
325 * event-gtk.c (unselect_filedesc):
326 * event-gtk.c (dragndrop_data_received):
327 * event-msw.c (winsock_closer):
328 * event-msw.c (mswindows_dde_callback):
329 * event-msw.c (mswindows_wnd_proc):
330 * event-stream.c (finalize_command_builder):
331 * event-stream.c (free_command_builder):
332 * extents.c (free_gap_array):
333 * extents.c (free_extent_list):
334 * extents.c (free_soe):
335 * extents.c (extent_fragment_delete):
336 * extents.c (extent_priority_sort_function):
337 * file-coding.c (make_coding_system_1):
338 * file-coding.c (coding_finalizer):
339 * file-coding.c (set_coding_stream_coding_system):
340 * file-coding.c (chain_finalize_coding_stream_1):
341 * file-coding.c (chain_finalize):
342 * file-coding.c (free_detection_state):
343 * file-coding.c (coding_category_symbol_to_id):
344 * fileio.c:
345 * fileio.c (Ffile_name_directory):
346 * fileio.c (if):
347 * fileio.c (Ffile_symlink_p):
348 * filelock.c (FREE_LOCK_INFO):
349 * filelock.c (current_lock_owner):
350 * font-mgr.c (Ffc_name_unparse):
351 * font-mgr.c (Ffc_pattern_duplicate):
352 * frame-gtk.c (gtk_delete_frame):
353 * frame-msw.c (mswindows_delete_frame):
354 * frame-msw.c (msprinter_delete_frame):
355 * frame-x.c (x_cde_destroy_callback):
356 * frame-x.c (Fcde_start_drag_internal):
357 * frame-x.c (x_cde_transfer_callback):
358 * frame-x.c (x_delete_frame):
359 * frame.c (update_frame_title):
360 * frame.c (Fset_frame_pointer):
361 * gc.c (register_for_finalization):
362 * gccache-gtk.c (free_gc_cache):
363 * gccache-gtk.c (gc_cache_lookup):
364 * gccache-x.c (free_gc_cache):
365 * gccache-x.c (gc_cache_lookup):
366 * glyphs-eimage.c:
367 * glyphs-eimage.c (jpeg_instantiate_unwind):
368 * glyphs-eimage.c (gif_instantiate_unwind):
369 * glyphs-eimage.c (png_instantiate_unwind):
370 * glyphs-eimage.c (png_instantiate):
371 * glyphs-eimage.c (tiff_instantiate_unwind):
372 * glyphs-gtk.c (convert_EImage_to_GDKImage):
373 * glyphs-gtk.c (gtk_finalize_image_instance):
374 * glyphs-gtk.c (gtk_init_image_instance_from_eimage):
375 * glyphs-gtk.c (gtk_xpm_instantiate):
376 * glyphs-msw.c (convert_EImage_to_DIBitmap):
377 * glyphs-msw.c (mswindows_init_image_instance_from_eimage):
378 * glyphs-msw.c (mswindows_initialize_image_instance_mask):
379 * glyphs-msw.c (xpm_to_eimage):
380 * glyphs-msw.c (mswindows_xpm_instantiate):
381 * glyphs-msw.c (xbm_create_bitmap_from_data):
382 * glyphs-msw.c (mswindows_finalize_image_instance):
383 * glyphs-x.c (convert_EImage_to_XImage):
384 * glyphs-x.c (x_finalize_image_instance):
385 * glyphs-x.c (x_init_image_instance_from_eimage):
386 * glyphs-x.c (x_xpm_instantiate):
387 * gui-x.c (free_popup_widget_value_tree):
388 * hash.c (free_hash_table):
389 * hash.c (grow_hash_table):
390 * hash.c (pregrow_hash_table_if_necessary):
391 * imgproc.c (build_EImage_quantable):
392 * insdel.c (uninit_buffer_text):
393 * intl-win32.c (convert_multibyte_to_internal_malloc):
394 * intl.c:
395 * intl.c (Fset_current_locale):
396 * keymap.c:
397 * keymap.c (where_is_recursive_mapper):
398 * keymap.c (where_is_internal):
399 * lisp.h:
400 * lisp.h (xfree):
401 * lstream.c (Lstream_close):
402 * lstream.c (resizing_buffer_closer):
403 * mule-coding.c:
404 * mule-coding.c (iso2022_finalize_detection_state):
405 * nt.c:
406 * nt.c (mswindows_get_long_filename):
407 * nt.c (nt_get_resource):
408 * nt.c (init_mswindows_environment):
409 * nt.c (get_cached_volume_information):
410 * nt.c (mswindows_opendir):
411 * nt.c (mswindows_closedir):
412 * nt.c (mswindows_readdir):
413 * nt.c (mswindows_stat):
414 * nt.c (mswindows_getdcwd):
415 * nt.c (Fmswindows_long_file_name):
416 * ntplay.c (nt_play_sound_file):
417 * ntplay.c (play_sound_data_1):
418 * number-gmp.c (gmp_free):
419 * number-gmp.c (init_number_gmp):
420 * number-mp.c (bignum_to_string):
421 * number-mp.c (BIGNUM_TO_TYPE):
422 * number.c (bignum_print):
423 * number.c (bignum_convfree):
424 * number.c (ratio_print):
425 * number.c (bigfloat_print):
426 * number.c (bigfloat_finalize):
427 * objects-gtk.c (gtk_finalize_color_instance):
428 * objects-gtk.c (gtk_finalize_font_instance):
429 * objects-msw.c (mswindows_finalize_color_instance):
430 * objects-msw.c (mswindows_finalize_font_instance):
431 * objects-tty.c (tty_finalize_color_instance):
432 * objects-tty.c (tty_finalize_font_instance):
433 * objects-tty.c (tty_font_list):
434 * objects-x.c (x_finalize_color_instance):
435 * objects-x.c (x_finalize_font_instance):
436 * process.c:
437 * process.c (finalize_process):
438 * realpath.c:
439 * redisplay.c (add_propagation_runes):
440 * regex.c:
441 * regex.c (xfree):
442 * regex.c (REGEX_FREE_STACK):
443 * regex.c (FREE_STACK_RETURN):
444 * regex.c (regex_compile):
445 * regex.c (regexec):
446 * regex.c (regfree):
447 * scrollbar-gtk.c (gtk_free_scrollbar_instance):
448 * scrollbar-gtk.c (gtk_release_scrollbar_instance):
449 * scrollbar-msw.c (mswindows_free_scrollbar_instance):
450 * scrollbar-msw.c (unshow_that_mofo):
451 * scrollbar-x.c (x_free_scrollbar_instance):
452 * scrollbar-x.c (x_release_scrollbar_instance):
453 * select-gtk.c (emacs_gtk_selection_handle):
454 * select-msw.c (mswindows_own_selection):
455 * select-x.c:
456 * select-x.c (x_handle_selection_request):
457 * select-x.c (unexpect_property_change):
458 * select-x.c (x_handle_property_notify):
459 * select-x.c (receive_incremental_selection):
460 * select-x.c (x_get_window_property_as_lisp_data):
461 * select-x.c (Fx_get_cutbuffer_internal):
462 * specifier.c (finalize_specifier):
463 * syntax.c (uninit_buffer_syntax_cache):
464 * sysdep.c (qxe_allocating_getcwd):
465 * sysdep.c (qxe_lstat):
466 * sysdep.c (copy_in_passwd):
467 * sysdep.c (qxe_ctime):
468 * sysdep.c (closedir):
469 * sysdep.c (DIRSIZ):
470 * termcap.c (tgetent):
471 * termcap.c (tprint):
472 * tests.c (Ftest_data_format_conversion):
473 * text.c (new_dfc_convert_copy_data):
474 * text.h (eifree):
475 * text.h (eito_alloca):
476 * text.h (eito_external):
477 * toolbar-msw.c (mswindows_output_toolbar):
478 * ui-gtk.c (CONVERT_RETVAL):
479 * ui-gtk.c (__allocate_object_storage):
480 * unicode.c (free_from_unicode_table):
481 * unicode.c (free_to_unicode_table):
482 * unicode.c (free_charset_unicode_tables):
483 * win32.c (mswindows_read_link_1):
484 Rename: xfree(VAL, TYPE)->xfree(VAL)
485
486 Command used:
487
488 gr 'xfree *\((.*),.*\);' 'xfree (\1);' *.[ch]
489
490 Followed by grepping for 'xfree.*,' and fixing anything left.
491
492 Rationale: Having to specify the TYPE argument is annoying and
493 error-prone. It was originally put in to work around warnings
494 due to strict aliasing but years and years ago I rewrote it
495 in a way that doesn't use the TYPE argument at all and no one
496 has complained since then. (And anyway, XEmacs is far from
497 ever being in compliance with strict aliasing and would require
498 far-reaching changes to get that way.)
499
500 2010-02-04 Ben Wing <ben@xemacs.org>
501
502 * emacs.c (SHEBANG_EXE_PROGNAME_LENGTH):
503 * emacs.c (main_1):
504 Restore old definition of SHEBANG_EXE_PROGNAME_LENGTH; not possible
505 to ANSI-concatenate wide and narrow strings.
506 * print.c (write_msg_istring):
507 * print.c (write_msg_cistring):
508 * print.c (write_msg_ascstring):
509 Can't return a value in a void-declared function.
253 510
254 2010-02-04 Ben Wing <ben@xemacs.org> 511 2010-02-04 Ben Wing <ben@xemacs.org>
255 512
256 * filelock.c: 513 * filelock.c:
257 * filelock.c (fill_in_lock_file_name): 514 * filelock.c (fill_in_lock_file_name):