ChangeLog 1.06 MB
Newer Older
1 2 3 4 5 6 7 8
2011-02-21  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in ($(BLD)/filemode.$(O)): Move recipe to
	lib/makefilw.w32-in.
	($(BLD)/dired.$(O)): Depend on $(EMACS_ROOT)/lib/filemode.h.
	(GLOBAL_SOURCES): Remove filemode.c.
	(OBJ1): Remove $(BLD)/filemode.$(O).

9 10 11 12 13 14 15 16 17 18
2011-02-21  Paul Eggert  <eggert@cs.ucla.edu>

	Import filemode module from gnulib.
	* Makefile.in (base_obj): Remove filemode.o, as it's now in ../lib.
	* deps.mk (dired.o): Depend on ../lib/filemode.h, too.
	(filemode.o): Remove; this is now in ../lib.
	* dired.c: Include <filemode.h>.
	(filemodestring): Remove now-redundant decl.
	* config.in: Regenerate.

19 20 21 22 23 24 25 26 27 28 29
2011-02-20  Eli Zaretskii  <eliz@gnu.org>

	* makefile.w32-in ($(BLD)/fns.$(O)): Depend on
	$(EMACS_ROOT)/lib/md5.h and on stamp_BLD.

2011-02-20  Christoph Scholtes <cschol2112@gmail.com>

	* makefile.w32-in: Remove md5.$(O).
	($(BLD)/md5.$(O)): Remove prerequisites, moved to
	lib/makefile.w32-in.

30
2011-02-20  Paul Eggert  <eggert@cs.ucla.edu>
31

32 33 34 35 36 37 38 39
	Import crypto/md5 and stdint modules from gnulib.
	* Makefile.in (base_obj): Remove md5.o, since this file
	is in lib now.
	* config.in: Regenerate.
	* md5.h, md5.h: Move to ../lib.
	* deps.mk (md5.o): Remove.
	(fns.o): Depend on ../lib/md5.h, not md5.h.

40 41
2011-02-19  Eli Zaretskii  <eliz@gnu.org>

42 43
	* termcap.c (tputs): Don't declare baud_rate.

44 45
	* s/msdos.h (strtold): Define to _strtold.

46 47
2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>

48 49 50 51 52 53
	* process.c (Fstart_process, Fmake_serial_process)
	(Fmake_network_process, server_accept_connection):
	Use empty_unibyte_string.

	* alloc.c (make_unibyte_string): Don't SET_UNIBYTE redundantly.

54 55 56 57
	* lread.c (Qdir_ok): New constant.
	(syms_of_lread): Initialize it.
	(openp): Don't ignore directories if the predicate returns dir-ok.

58 59
2011-02-18  Eli Zaretskii  <eliz@gnu.org>

60 61
	* xdisp.c (display_line): Fix the change made for bug#7939.

62 63 64 65
	* terminal.c (create_terminal): Use default-keyboard-coding-system
	and default-terminal-coding-system to initialize coding systems of
	the new terminal.  (Bug#7840)

66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lisp.h (BYTE_MARK_STACK): New macro.
	(mark_byte_stack): Only declare if BYTE_MARK_STACK is set.

	* bytecode.c (BYTE_MAINTAIN_TOP): New macros.
	(struct byte_stack): Only define `top' and `bottom' if used.
	(mark_byte_stack): Only define if used.
	(BEFORE_POTENTIAL_GC, AFTER_POTENTIAL_GC): Nullify if BYTE_MAINTAIN_TOP
	is not set.
	(Fbyte_code): Don't set `bottom' unless BYTE_MAINTAIN_TOP is set.

	* term.c (OUTPUT_IF): Use OUTPUT.

	* alloc.c (Fgarbage_collect): When using stack scanning, don't
	redundantly scan byte-code stacks, catchlist, and handlerlist.

Jan Djärv's avatar
Jan Djärv committed
83 84 85 86 87 88 89
2011-02-17  Jan Djärv  <jan.h.d@swipnet.se>

	* nsfns.m (Fx_create_frame, ns_set_name_as_filename)
	(Fns_read_file_name): Replace B_ with BVAR.

	* nsterm.m (ns_term_init): Use KVAR.

90 91
2011-02-16  Eli Zaretskii  <eliz@gnu.org>

Eli Zaretskii's avatar
Eli Zaretskii committed
92 93
	* msdos.c (internal_terminal_init): Use KVAR.

94 95 96 97 98
	* w32fns.c (Fx_create_frame): Use KVAR.

	* w32term.c (w32_create_terminal): Use KVAR.

	* s/ms-w32.h (MODE_LINE_BINARY_TEXT): Remove.
99
	(getloadavg): Declare prototype which was removed from lisp.h.
100 101 102

	* xdisp.c (decode_mode_spec): Don't use MODE_LINE_BINARY_TEXT.

103 104
	* fileio.c (Finsert_file_contents, Fwrite_region):
	Remove references to buffer_file_type.
105 106 107 108 109 110 111 112 113 114 115 116 117
	(syms_of_fileio): Don't intern and staticpro
	find-buffer-file-type.

	* callproc.c (syms_of_callproc): Remove references to
	buffer_file_type.

	* buffer.c (reset_buffer_local_variables): Don't set
	buffer_file_type.
	(init_buffer_once): Likewise.
	(syms_of_buffer): Don't define buffer-file-type.

	* buffer.h (struct buffer): Remove buffer_file_type.

118 119
2011-02-16  Tom Tromey  <tromey@parfait>

120 121 122
	* callint.c (Fcall_interactively): Update for change to field names.
	* doc.c (Fsubstitute_command_keys): Update for change to field names.
	* cmds.c (Fself_insert_command): Update for change to field names.
123
	* keymap.c (Fcurrent_active_maps, Fkey_binding)
124
	(Fdescribe_buffer_bindings): Update for change to field names.
125 126
	* macros.c (Fstart_kbd_macro, end_kbd_macro, Fend_kbd_macro)
	(store_kbd_macro_char, Fcall_last_kbd_macro, Fexecute_kbd_macro):
127
	Update for change to field names.
128 129 130 131 132 133
	* keyboard.c (echo_char, echo_dash, echo_now, cancel_echoing)
	(echo_length, echo_truncate, cmd_error, command_loop_1)
	(read_char, kbd_buffer_store_event_hold, make_lispy_event)
	(menu_bar_items, tool_bar_items, read_char_minibuf_menu_prompt)
	(read_key_sequence, Fcommand_execute, Fexecute_extended_command)
	(Fdiscard_input, init_kboard, init_keyboard, mark_kboards):
134 135 136 137
	Update for change to field names.
	* xfns.c (Fx_create_frame): Update for change to field names.
	* xterm.c (x_connection_closed, x_term_init): Update for change to
	field names.
138
	* term.c (term_get_fkeys_1, CONDITIONAL_REASSIGN, init_tty):
139
	Update for change to field names.
140
	* window.c (window_scroll_pixel_based, window_scroll_line_based):
141
	Update for change to field names.
142
	* frame.c (make_frame_without_minibuffer, Fhandle_switch_frame)
143
	(delete_frame): Update for change to field names.
144 145 146 147
	* lisp.h (DEFVAR_KBOARD): Update for change to field names.
	* keyboard.h (struct kboard): Rename all Lisp_Object fields.
	(KBOARD_INTERNAL_FIELD, KVAR): New macros.

148 149 150 151
2011-02-16  Tom Tromey  <tromey@redhat.com>

	* lisp.h (DEFVAR_BUFFER_DEFAULTS): Use BVAR.

Tom Tromey's avatar
Tom Tromey committed
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196
2011-02-16  Tom Tromey  <tromey@parfait>

	* xfns.c (x_create_tip_frame, Fx_show_tip): Replace B_ with BVAR.
	* xfaces.c (compute_char_face): Replace B_ with BVAR.
	* xdisp.c (pos_visible_p, init_iterator, reseat_1)
	(message_dolog, update_echo_area, ensure_echo_area_buffers)
	(with_echo_area_buffer, setup_echo_area_for_printing)
	(set_message_1, update_menu_bar, update_tool_bar)
	(text_outside_line_unchanged_p, redisplay_internal)
	(try_scrolling, try_cursor_movement, redisplay_window)
	(try_window_reusing_current_matrix, row_containing_pos)
	(try_window_id, get_overlay_arrow_glyph_row, display_line)
	(Fcurrent_bidi_paragraph_direction, display_mode_lines)
	(decode_mode_spec_coding, decode_mode_spec, display_count_lines)
	(get_window_cursor_type, note_mouse_highlight): Replace B_ with
	BVAR.
	* window.c (window_display_table, unshow_buffer, window_loop)
	(window_min_size_2, set_window_buffer, Fset_window_buffer)
	(select_window, Fforce_window_update, temp_output_buffer_show)
	(Fset_window_configuration, save_window_save): Replace B_ with
	BVAR.
	* w32fns.c (x_create_tip_frame, Fx_show_tip, Fw32_shell_execute):
	Replace B_ with BVAR.
	* undo.c (record_point, record_insert, record_delete)
	(record_marker_adjustment, record_first_change)
	(record_property_change, Fundo_boundary, truncate_undo_list)
	(Fprimitive_undo): Replace B_ with BVAR.
	* syntax.h (Vstandard_syntax_table, CURRENT_SYNTAX_TABLE)
	(SETUP_BUFFER_SYNTAX_TABLE): Replace B_ with BVAR.
	* syntax.c (update_syntax_table, dec_bytepos, Fsyntax_table)
	(Fset_syntax_table, Fmodify_syntax_entry, skip_chars)
	(skip_syntaxes, scan_lists): Replace B_ with BVAR.
	* search.c (compile_pattern_1, compile_pattern, looking_at_1)
	(string_match_1, fast_looking_at, newline_cache_on_off)
	(search_command, search_buffer, simple_search, boyer_moore)
	(Freplace_match): Replace B_ with BVAR.
	* process.c (get_process, list_processes_1, Fstart_process)
	(Fmake_serial_process, Fmake_network_process)
	(read_process_output, send_process, exec_sentinel)
	(status_notify, setup_process_coding_systems): Replace B_ with
	BVAR.
	* print.c (PRINTDECLARE, PRINTPREPARE, PRINTFINISH, printchar)
	(strout, print_string, temp_output_buffer_setup, print_object):
	Replace B_ with BVAR.
	* msdos.c (IT_frame_up_to_date): Replace B_ with BVAR.
197 198
	* minibuf.c (read_minibuf, get_minibuffer, Fread_buffer):
	Replace B_ with BVAR.
Tom Tromey's avatar
Tom Tromey committed
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297
	* marker.c (Fmarker_buffer, Fset_marker, set_marker_restricted)
	(set_marker_both, set_marker_restricted_both, unchain_marker):
	Replace B_ with BVAR.
	* lread.c (readchar, unreadchar, openp, readevalloop)
	(Feval_buffer, Feval_region): Replace B_ with BVAR.
	* lisp.h (DOWNCASE_TABLE, UPCASE_TABLE): Replace B_ with BVAR.
	* keymap.c (Flocal_key_binding, Fuse_local_map)
	(Fcurrent_local_map, push_key_description)
	(Fdescribe_buffer_bindings): Replace B_ with BVAR.
	* keyboard.c (command_loop_1, read_char_minibuf_menu_prompt)
	(read_key_sequence): Replace B_ with BVAR.
	* intervals.h (TEXT_PROP_MEANS_INVISIBLE): Replace B_ with BVAR.
	* intervals.c (set_point_both, get_local_map): Replace B_ with
	BVAR.
	* insdel.c (check_markers, insert_char, insert_1_both)
	(insert_from_string_1, insert_from_gap, insert_from_buffer_1)
	(adjust_after_replace, replace_range, del_range_2)
	(modify_region, prepare_to_modify_buffer)
	(Fcombine_after_change_execute): Replace B_ with BVAR.
	* indent.c (buffer_display_table, recompute_width_table)
	(width_run_cache_on_off, current_column, scan_for_column)
	(Findent_to, position_indentation, compute_motion, vmotion):
	Replace B_ with BVAR.
	* fringe.c (get_logical_cursor_bitmap)
	(get_logical_fringe_bitmap, update_window_fringes): Replace B_
	with BVAR.
	* frame.c (make_frame_visible_1): Replace B_ with BVAR.
	* font.c (font_at): Replace B_ with BVAR.
	* fns.c (Fbase64_encode_region, Fbase64_decode_region, Fmd5):
	Replace B_ with BVAR.
	* filelock.c (unlock_all_files, Flock_buffer, Funlock_buffer)
	(unlock_buffer): Replace B_ with BVAR.
	* fileio.c (Fexpand_file_name, Ffile_directory_p)
	(Ffile_regular_p, Ffile_selinux_context)
	(Fset_file_selinux_context, Ffile_modes, Fset_file_modes)
	(Fset_file_times, Ffile_newer_than_file_p, decide_coding_unwind)
	(Finsert_file_contents, choose_write_coding_system)
	(Fwrite_region, build_annotations, Fverify_visited_file_modtime)
	(Fset_visited_file_modtime, auto_save_error, auto_save_1)
	(Fdo_auto_save, Fset_buffer_auto_saved): Replace B_ with BVAR.
	* editfns.c (region_limit, Fmark_marker, save_excursion_save)
	(save_excursion_restore, Fprevious_char, Fchar_before)
	(general_insert_function, Finsert_char, Finsert_byte)
	(make_buffer_string_both, Finsert_buffer_substring)
	(Fcompare_buffer_substrings, subst_char_in_region_unwind)
	(subst_char_in_region_unwind_1, Fsubst_char_in_region)
	(Ftranslate_region_internal, save_restriction_restore)
	(Fchar_equal): Replace B_ with BVAR.
	* dispnew.c (Fframe_or_buffer_changed_p): Replace B_ with BVAR.
	* dispextern.h (WINDOW_WANTS_MODELINE_P)
	(WINDOW_WANTS_HEADER_LINE_P): Replace B_ with BVAR.
	* dired.c (directory_files_internal): Replace B_ with BVAR.
	* data.c (swap_in_symval_forwarding, set_internal)
	(Fmake_local_variable, Fkill_local_variable, Flocal_variable_p):
	Replace B_ with BVAR.
	* composite.c (fill_gstring_header)
	(composition_compute_stop_pos, composition_adjust_point)
	(Ffind_composition_internal): Replace B_ with BVAR.
	* coding.c (decode_coding, encode_coding)
	(make_conversion_work_buffer, decode_coding_gap)
	(decode_coding_object, encode_coding_object)
	(Fdetect_coding_region, Ffind_coding_systems_region_internal)
	(Funencodable_char_position, Fcheck_coding_systems_region):
	Replace B_ with BVAR.
	* cmds.c (Fself_insert_command, internal_self_insert): Replace B_
	with BVAR.
	* charset.c (Ffind_charset_region): Replace B_ with BVAR.
	* character.h (FETCH_CHAR_ADVANCE, INC_BOTH, DEC_BOTH)
	(ASCII_CHAR_WIDTH): Replace B_ with BVAR.
	* character.c (chars_in_text, Fget_byte): Replace B_ with BVAR.
	* category.h (Vstandard_category_table): Replace B_ with BVAR.
	* category.c (check_category_table, Fcategory_table)
	(Fset_category_table, char_category_set): Replace B_ with BVAR.
	* casetab.c (Fcurrent_case_table, set_case_table): Replace B_ with
	BVAR.
	* casefiddle.c (casify_object, casify_region): Replace B_ with
	BVAR.
	* callproc.c (Fcall_process, Fcall_process_region): Replace B_
	with BVAR.
	* callint.c (check_mark, Fcall_interactively): Replace B_ with
	BVAR.
	* bytecode.c (Fbyte_code): Replace B_ with BVAR.
	* buffer.h (FETCH_CHAR, FETCH_CHAR_AS_MULTIBYTE, BVAR): Replace B_
	with BVAR.
	* buffer.c (Fbuffer_live_p, Fget_file_buffer)
	(get_truename_buffer, Fget_buffer_create)
	(clone_per_buffer_values, Fmake_indirect_buffer, reset_buffer)
	(reset_buffer_local_variables, Fbuffer_name, Fbuffer_file_name)
	(Fbuffer_local_value, buffer_lisp_local_variables)
	(Fset_buffer_modified_p, Frestore_buffer_modified_p)
	(Frename_buffer, Fother_buffer, Fbuffer_enable_undo)
	(Fkill_buffer, Fset_buffer_major_mode, set_buffer_internal_1)
	(set_buffer_temp, Fset_buffer, set_buffer_if_live)
	(Fbarf_if_buffer_read_only, Fbury_buffer, Ferase_buffer)
	(Fbuffer_swap_text, swapfield_, Fbuffer_swap_text)
	(Fset_buffer_multibyte, swap_out_buffer_local_variables)
	(record_overlay_string, overlay_strings, init_buffer_once)
	(init_buffer, syms_of_buffer): Replace B_ with BVAR.

298
2011-02-16  Eli Zaretskii  <eliz@gnu.org>
299 300 301 302 303

	* xdisp.c (redisplay_internal): Resynchronize `w' if the selected
	window is changed inside calls to do_pending_window_change.
	(Bug#8020)

304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329
2011-02-16  Paul Eggert  <eggert@cs.ucla.edu>

	Remove no-longer needed getloadavg symbols.
	* m/alpha.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
	* m/amdx86-64.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
	* m/ia64.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
	* m/ibms390.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
	* m/macppc.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
	* m/sparc.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
	* m/template.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
	* m/vax.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
	* s/aix4-2.h (KERNEL_FILE, LDAV_SYMBOL): Remove.
	* s/bsd-common.h (KERNEL_FILE, LDAV_SYMBOL): Remove #undef.
	* s/hpux10-20.h (KERNEL_FILE, LOAD_AVE_TYPE, LOAD_AVE_CVT):
	(LDAV_SYMBOL): Remove.
	* s/unixware.h (LOAD_AVE_TYPE, LOAD_AVE_CVT, FSCALE): Remove.
	* s/usg5-4-common.h (KERNEL_FILE, LDAV_SYMBOL): Remove.

	Import getloadavg module from gnulib.
	* deps.mk (getloadavg.o): Remove; gnulib now does this.
	* lisp.h (getloadavg) [!defined HAVE_GETLOADAVG]: Remove; gnulib
	now does this.
	* src/s/freebsd.h (HAVE_GETLOADAVG): Remove; gnulib now does this.
	* src/s/netbsd.h (HAVE_GETLOADAVG): Likewise.
	* config.in: Regenerate.

330 331 332 333
2011-02-15  Eli Zaretskii  <eliz@gnu.org>

	* nsfns.m (ns_set_name_as_filename, Fns_read_file_name): Use B_.

334 335 336 337 338
2011-02-14  Michael Welsh Duggan  <md5i@md5i.com>

	* print.c (float_to_string): Ensure that a decimal point is
	printed if using dtoastr (Bug#8033).

339 340
2011-02-14  Eli Zaretskii  <eliz@gnu.org>

341
	* msdos.c (IT_frame_up_to_date):
342 343
	* s/msdos.h (MODE_LINE_BINARY_TEXT): Use B_ for the MS-DOS build.

344 345 346 347 348 349 350 351
	* dired.c (directory_files_internal):
	* fileio.c (Finsert_file_contents):
	* insdel.c (prepare_to_modify_buffer):
	* xdisp.c (pos_visible_p):
	* s/ms-w32.h (MODE_LINE_BINARY_TEXT):
	* w32fns.c (Fw32_shell_execute, Fx_show_tip, x_create_tip_frame):
	Use B_ for the MS-Windows build.

352 353 354 355 356 357 358 359
2011-02-14  Jan Djärv  <jan.h.d@swipnet.se>

	* xrdb.c (x_load_resources): For LUCID and XFT, don't put a
	resource that specifies helvetica for menus and dialogs.

	* xmenu.c (apply_systemfont_to_dialog): Apply to *dialog.font.
	(apply_systemfont_to_menu): Set resources *menubar*font and
	*popup*font.  Remove defflt.
360 361
	(set_frame_menubar, create_and_show_popup_menu):
	Call apply_systemfont_to_menu before lw_create_widget.
362

363 364
2011-02-14  Tom Tromey  <tromey@redhat.com>

365 366
	* buffer.c (init_buffer_once, syms_of_buffer): Use B_ in DOS_NT case.

367 368
	* keyboard.h: Remove obsolete comment.

369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389
2011-02-14  Tom Tromey  <tromey@parfait>

	* composite.c (fill_gstring_header)
	(composition_compute_stop_pos, composition_adjust_point)
	(Ffind_composition_internal): Use B_.
	* intervals.c (set_point_both, get_local_map): Use B_.
	* callproc.c (Fcall_process, Fcall_process_region): Use B_.
	* process.c (get_process, list_processes_1, Fstart_process)
	(Fmake_serial_process, Fmake_network_process)
	(read_process_output, send_process, exec_sentinel)
	(status_notify, setup_process_coding_systems): Use B_.
	* bytecode.c (Fbyte_code): Use B_.
	* syntax.c (update_syntax_table, dec_bytepos, Fsyntax_table)
	(Fset_syntax_table, Fmodify_syntax_entry, skip_chars)
	(skip_syntaxes, scan_lists): Use B_.
	* lread.c (readchar, unreadchar, openp, readevalloop)
	(Feval_buffer, Feval_region): Use B_.
	* print.c (printchar, strout, print_string, PRINTDECLARE)
	(PRINTPREPARE, PRINTFINISH, temp_output_buffer_setup)
	(print_object): Use B_.
	* font.c (font_at): Use B_.
390 391
	* fns.c (Fbase64_encode_region, Fbase64_decode_region, Fmd5):
	Use B_.
392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413
	* callint.c (check_mark, Fcall_interactively): Use B_.
	* editfns.c (region_limit, Fmark_marker, save_excursion_save)
	(save_excursion_restore, Fprevious_char, Fchar_before)
	(general_insert_function, Finsert_char, Finsert_byte)
	(make_buffer_string_both, Finsert_buffer_substring)
	(Fcompare_buffer_substrings, subst_char_in_region_unwind)
	(subst_char_in_region_unwind_1, Fsubst_char_in_region)
	(Ftranslate_region_internal, save_restriction_restore)
	(Fchar_equal): Use B_.
	* data.c (swap_in_symval_forwarding, set_internal)
	(Fmake_local_variable, Fkill_local_variable, Flocal_variable_p):
	Use B_.
	* undo.c (record_point, record_insert, record_delete)
	(record_marker_adjustment, record_first_change)
	(record_property_change, Fundo_boundary, truncate_undo_list)
	(Fprimitive_undo): Use B_.
	* search.c (compile_pattern_1, compile_pattern, looking_at_1)
	(string_match_1, fast_looking_at, newline_cache_on_off)
	(search_command, search_buffer, simple_search, boyer_moore)
	(Freplace_match): Use B_.
	* indent.c (buffer_display_table, recompute_width_table)
	(width_run_cache_on_off, current_column, scan_for_column)
414 415
	(Findent_to, position_indentation, compute_motion, vmotion):
	Use B_.
416 417 418 419 420 421 422 423 424 425 426 427 428
	* casefiddle.c (casify_object, casify_region): Use B_.
	* casetab.c (Fcurrent_case_table, set_case_table): Use B_.
	* cmds.c (Fself_insert_command, internal_self_insert): Use B_.
	* fileio.c (Fexpand_file_name, Ffile_directory_p)
	(Ffile_regular_p, Ffile_selinux_context)
	(Fset_file_selinux_context, Ffile_modes, Fset_file_modes)
	(Fset_file_times, Ffile_newer_than_file_p, decide_coding_unwind)
	(Finsert_file_contents, choose_write_coding_system)
	(Fwrite_region, build_annotations, Fverify_visited_file_modtime)
	(Fset_visited_file_modtime, auto_save_error, auto_save_1)
	(Fdo_auto_save, Fset_buffer_auto_saved): Use B_.
	* minibuf.c (read_minibuf, get_minibuffer, Fread_buffer): Use B_.
	* marker.c (Fmarker_buffer, Fset_marker, set_marker_restricted)
429 430
	(set_marker_both, set_marker_restricted_both, unchain_marker):
	Use B_.
431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453
	* insdel.c (check_markers, insert_char, insert_1_both)
	(insert_from_string_1, insert_from_gap, insert_from_buffer_1)
	(adjust_after_replace, replace_range, del_range_2)
	(modify_region, prepare_to_modify_buffer)
	(Fcombine_after_change_execute): Use B_.
	* filelock.c (unlock_all_files, Flock_buffer, Funlock_buffer)
	(unlock_buffer): Use B_.
	* keymap.c (Flocal_key_binding, Fuse_local_map)
	(Fcurrent_local_map, push_key_description)
	(Fdescribe_buffer_bindings): Use B_.
	* keyboard.c (command_loop_1, read_char_minibuf_menu_prompt)
	(read_key_sequence): Use B_.
	* fringe.c (get_logical_cursor_bitmap)
	(get_logical_fringe_bitmap, update_window_fringes): Use B_.
	* xfns.c (x_create_tip_frame, Fx_show_tip): Use B_.
	* xfaces.c (compute_char_face): Use B_.
	* character.c (chars_in_text, Fget_byte): Use B_.
	* category.c (check_category_table, Fcategory_table)
	(Fset_category_table, char_category_set): Use B_.
	* coding.c (decode_coding, encode_coding)
	(make_conversion_work_buffer, decode_coding_gap)
	(decode_coding_object, encode_coding_object)
	(Fdetect_coding_region, Ffind_coding_systems_region_internal)
454 455
	(Funencodable_char_position, Fcheck_coding_systems_region):
	Use B_.
456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505
	* charset.c (Ffind_charset_region): Use B_.
	* window.c (window_display_table, unshow_buffer, window_loop)
	(window_min_size_2, set_window_buffer, Fset_window_buffer)
	(select_window, Fforce_window_update, temp_output_buffer_show)
	(Fset_window_configuration, save_window_save): Use B_.
	* xdisp.c (pos_visible_p, init_iterator, reseat_1)
	(message_dolog, update_echo_area, ensure_echo_area_buffers)
	(with_echo_area_buffer, setup_echo_area_for_printing)
	(set_message_1, update_menu_bar, update_tool_bar)
	(text_outside_line_unchanged_p, redisplay_internal)
	(try_scrolling, try_cursor_movement, redisplay_window)
	(try_window_reusing_current_matrix, row_containing_pos)
	(try_window_id, get_overlay_arrow_glyph_row, display_line)
	(Fcurrent_bidi_paragraph_direction, display_mode_lines)
	(decode_mode_spec_coding, decode_mode_spec, display_count_lines)
	(get_window_cursor_type, note_mouse_highlight): Use B_.
	* frame.c (make_frame_visible_1): Use B_.
	* dispnew.c (Fframe_or_buffer_changed_p): Use B_.
	* dispextern.h (WINDOW_WANTS_HEADER_LINE_P)
	(WINDOW_WANTS_MODELINE_P): Use B_.
	* syntax.h (Vstandard_syntax_table): Update.
	(CURRENT_SYNTAX_TABLE, SETUP_BUFFER_SYNTAX_TABLE): Use B_.
	* intervals.h (TEXT_PROP_MEANS_INVISIBLE): Update.
	(TEXT_PROP_MEANS_INVISIBLE): Use B_.
	* character.h (FETCH_CHAR_ADVANCE): Update.
	(INC_BOTH, ASCII_CHAR_WIDTH, DEC_BOTH): Use B_.
	* category.h (Vstandard_category_table): Update.
	* lisp.h (DEFVAR_BUFFER_DEFAULTS): Update for change to field
	names.
	(DOWNCASE_TABLE, UPCASE_TABLE): Use B_.
	* buffer.c (swapfield_): New macro.
	(Fbuffer_swap_text): Use swapfield_ where appropriate.
	(Fbuffer_live_p, Fget_file_buffer, get_truename_buffer)
	(Fget_buffer_create, clone_per_buffer_values)
	(Fmake_indirect_buffer, reset_buffer)
	(reset_buffer_local_variables, Fbuffer_name, Fbuffer_file_name)
	(Fbuffer_local_value, buffer_lisp_local_variables)
	(Fset_buffer_modified_p, Frestore_buffer_modified_p)
	(Frename_buffer, Fother_buffer, Fbuffer_enable_undo)
	(Fkill_buffer, Fset_buffer_major_mode, set_buffer_internal_1)
	(set_buffer_temp, Fset_buffer, set_buffer_if_live)
	(Fbarf_if_buffer_read_only, Fbury_buffer, Ferase_buffer)
	(Fbuffer_swap_text, Fset_buffer_multibyte)
	(swap_out_buffer_local_variables, record_overlay_string)
	(overlay_strings, init_buffer_once, init_buffer, syms_of_buffer):
	Use B_.
	* buffer.h (struct buffer): Rename all Lisp_Object fields.
	(BUFFER_INTERNAL_FIELD, B_): New macro.
	(FETCH_CHAR, FETCH_CHAR_AS_MULTIBYTE): Use B_.

506 507 508 509 510
2011-02-14  Jan Djärv  <jan.h.d@swipnet.se>

	* gtkutil.c (xg_tool_bar_menu_proxy): Handle case when tool bar label
	is null.

Jan D's avatar
Jan D committed
511 512 513 514 515 516
2011-02-13  Jan Djärv  <jan.h.d@swipnet.se>

	* callproc.c (Fcall_process):
	* process.c (create_process): Replace Gtk with GConf in SIGPIPE
	comment.

517
2011-02-12  Martin Rudalics  <rudalics@gmx.at>
Martin Rudalics's avatar
Martin Rudalics committed
518 519 520 521

	* window.c (select_window): Check inhibit_point_swap argument when
	deciding whether to return immediately.

522
2011-02-12  Jan Djärv  <jan.h.d@swipnet.se>
523 524 525 526

	* nsterm.m (setFrame, initFrame): Make sure pixel_height doesn't become
	zero (Bug#7348).

527 528 529 530 531 532 533
2011-02-12  Chong Yidong  <cyd@stupidchicken.com>

	* config.in (TERMINFO): New definition.

	* s/netbsd.h: Use it to choose between terminfo and termcap
	(Bug#7642).

534 535 536 537 538 539 540
2011-02-12  Paul Eggert  <eggert@cs.ucla.edu>

	* md5.c (md5_process_bytes): Use sizeof, not __alignof__.
	The difference doesn't matter here, in practice, and sizeof is
	more portable to non-GCC compilers.  Also, this makes the code
	match the already-existing comment.

541 542 543 544 545
2011-02-12  Andreas Schwab  <schwab@linux-m68k.org>

	* process.c (create_process): Reset SIGPIPE handler in the child.
	* callproc.c (Fcall_process): Likewise.  (Bug#5238)

546 547 548 549 550 551 552 553 554
2011-02-12  Eli Zaretskii  <eliz@gnu.org>

	* xdisp.c <this_line_min_pos>: New variable.
	(move_it_in_display_line_to): Record in this_line_min_pos the
	smallest position iterated across.
	(display_line): Use this_line_min_pos to record the smallest
	position in the line even if it is not displayed due to
	hscrolling.  (Bug#7939)

555 556
2011-02-12  Paul Eggert  <eggert@cs.ucla.edu>

557 558 559 560
	Port to Sun C 5.11, which has __attribute__ ((__aligned (N))).
	* md5.h (ATTRIBUTE_ALIGNED): New macro.
	(struct md5_ctx): Use it.

561 562 563 564 565 566
	Port to Solaris 10, which doesn't support FC_HINT_STYLE.
	* xftfont.c (FC_HINT_STYLE): #define to "hintstyle" if not
	defined.
	* xsettings.c (parse_settings, apply_xft_settings): Don't assume
	FC_HINT_STYLE is supported.

567 568 569 570 571
2011-02-11  Jan Djärv  <jan.h.d@swipnet.se>

	* xterm.c (x_set_frame_alpha): Access data before it is free:d.
	Make sure we don't do x_catch_errors twice.

572 573 574 575
2011-02-10  Glenn Morris  <rgm@gnu.org>

	* Makefile.in (really-lwlib): Depend on globals.h, for parallel builds.

576 577
2011-02-09  Eli Zaretskii  <eliz@gnu.org>

578 579
	* makefile.w32-in (GLOBAL_SOURCES, SOME_MACHINE_OBJECTS, obj):
	New macros.
580 581 582
	(globals.h, gl-stamp): New targets.
	(clean): Clean gl-stamp and globals.h.

583 584 585 586 587 588
2011-02-09  Andreas Schwab  <schwab@linux-m68k.org>

	* Makefile.in (gl-stamp): Create globals.h here.
	(globals.h): Don't do it here.
	(mostlyclean): Clean globals.h and gl-stamp.

589 590 591 592 593 594
2011-02-09  Paul Eggert  <eggert@cs.ucla.edu>

	* Makefile.in ($(otherobj)): Depend on globals.h.
	Otherwise 'make -j10' failed on my host, because the build lacked
	necessary dependencies, e.g., vm-limit.o depends on globals.h.

Tom Tromey's avatar
Tom Tromey committed
595 596 597 598 599 600 601 602 603 604 605 606 607 608
2011-02-08  Tom Tromey  <tromey@redhat.com>

	* Makefile.in (NS_OBJC_OBJ): New variable.
	(base_obj): Rename from 'obj'.
	(obj): New variable.
	(globals.h, gl-stamp, $(obj)): New targets.
	(GLOBAL_SOURCES): New variable.
	* globals.h: Remove.
	* nsselect.m (Vselection_alist): Define.  Reverts part of
	2011-01-19T22:11:33Z!jan.h.d@swipnet.se.
	* buffer.c: Don't use "no_cell" for name of kill-buffer-hook's
	variable.
	* xselect.c (Vselection_alist): Define.  Reverts part of 2011-01-19T23:32:42Z!eggert@cs.ucla.edu.

609 610 611 612
2011-02-08  Kenichi Handa  <handa@m17n.org>

	* font.c (Ffont_get): Do not cache :otf value.

613 614 615 616 617 618 619
2011-02-07  Paul Eggert  <eggert@cs.ucla.edu>

	conform to C89 pointer rules

	* dired.c (scmp, file_name_completion):
	Change types between char * and unsigned char *, to satisfy C89
	rules about pointer type compatibility.
620
	* casefiddle.c (casify_object, casify_region): Likewise.
621
	* search.c (Freplace_match, Fregexp_quote): Likewise.
622 623
	* alloc.c (make_string, make_specified_string, make_pure_string):
	Likewise.
624
	* data.c (Fstring_to_number): Likewise.
625 626
	* print.c (float_to_string, PRINTFINISH, printchar, strout):
	(print_object): Likewise.
627 628 629
	* editfns.c (init_editfns, Fchar_to_string, Fbyte_to_string):
	(Fuser_full_name, Fsubst_char_in_region, Ftranslate_region_internal):
	(Fformat): Likewise.
630
	* callint.c (Fcall_interactively): Likewise.
631 632 633 634
	* fns.c (string_make_multibyte, string_to_multibyte):
	(string_make_unibyte, Fstring_as_unibyte, Fstring_to_unibyte):
	(Fbase64_encode_region, base64_encode_1, Fbase64_decode_region, Fmd5):
	Likewise.
635
	* lread.c (read1, hash_string): Likewise.
636 637
	* process.c (read_process_output, send_process, Fprocess_send_region):
	Likewise.
638
	* callproc.c (Fcall_process): Likewise.
639 640
	* doprnt.c (doprnt): Likewise.
	* indent.c (compute_motion): Likewise.
641
	* xfont.c (xfont_decode_coding_xlfd): Likewise.
642
	* ralloc.c (resize_bloc): Likewise.
643
	* image.c (tiff_load): Likewise.
644
	* xml.c (make_dom, parse_region): Likewise.
645 646 647
	* character.c (strwidth): Make its argument const char *, not const
	unsigned char *, since more callers prefer it that way.  All callers
	changed.
648

649 650
2011-02-06  Paul Eggert  <eggert@cs.ucla.edu>

651 652 653 654
	* xterm.c (x_alloc_nearest_color_1): Avoid unportable int assumption.
	Emacs assumes two's complement elsewhere, but the assumption is
	easy to remove here, and this suppresses a warning with Sun C 5.8.

655 656 657 658
	conform to C89 pointer rules

	* xterm.c (x_draw_fringe_bitmap, handle_one_xevent, x_bitmap_icon):
	(same_x_server, x_term_init):
659 660
	Change types between char * and unsigned char *, to satisfy C89
	rules about pointer type compatibility.
661 662
	* doc.c (get_doc_string, Fsnarf_documentation):
	(Fsubstitute_command_keys): Likewise.
663 664
	* xfns.c (Fx_open_connection, Fx_window_property): Likewise.
	* bitmaps/gray.xbm (gray_bits): Likewise.
665
	* image.c (xbm_read_bitmap_data, xbm_load_image, xbm_load): Likewise.
666 667
	* keyboard.c (echo_char, MULTI_LETTER_MOD, tty_read_avail_input):
	Likewise.
668
	* keymap.c (Ftext_char_description): Likewise.
669
	* minibuf.c (Fread_buffer): Likewise.
670 671 672 673 674 675 676 677 678
	* fileio.c (IS_DRIVE) [defined WINDOWSNT]:
	(DRIVE_LETTER) [defined DOS_NT]:
	(report_file_error, Ffile_name_directory, Ffile_name_nondirectory):
	(make_temp_name, Fexpand_file_name, file_name_absolute_p):
	(search_embedded_absfilename, Fsubstitute_in_file_name):
	(barf_or_query_if_file_exists, Fmake_directory_internal):
	(Fdelete_directory_internal, Ffile_name_absolute_p, read_non_regular):
	(Finsert_file_contents, Fwrite_region):
	Likewise.
679 680 681 682 683 684 685
	* insdel.c (insert, insert_and_inherit, insert_before_markers):
	(insert_before_markers_and_inherit, insert_1, insert_1_both):
	Likewise.  This changes these functions' signatures, which is
	more convenient since most callers use char *.  All remaining
	callers changed.
	* editfns.c (general_insert_function): Change signature to
	match changes to insert functions' signatures.
686 687
	* keymap.c (map_keymap_char_table_item, map_keymap_internal):
	Use explicit cast when converting between void * and function pointer
688
	types, as C89 requires this.
689

Paul Eggert's avatar
Paul Eggert committed
690 691 692 693 694 695 696 697 698 699 700
2011-02-05  Paul Eggert  <eggert@cs.ucla.edu>

	don't ignore chdir failure
	* sysdep.c (sys_subshell) [!defined DOS_NT]: Diagnose chdir
	failure and exit.
	(sys_subshell) [defined DOS_NT]: Mark with a FIXME the two
	remaining unchecked chdir calls in this function; some DOS/NT
	expert needs to fix them.
	* emacs.c (main): Mark with a FIXME the unchecked chdir calls
	in this function; some NextStep expert needs to fix them.

701
2011-02-05  Glenn Morris  <rgm@gnu.org>
702 703 704 705

	* xfaces.c (Finternal_set_lisp_face_attribute):
	Try to clarify some error messages.  (Bug#2659)

706
2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
707 708 709 710

	* editfns.c (save_restriction_restore): Don't forget to invalidate the
	current_column cache (bug#7946).

711
2011-02-05  Kenichi Handa  <handa@m17n.org>
712 713 714 715 716

	* ftfont.c (ftfont_open): Use FC_DUAL only when it is defined.

	* xftfont.c (xftfont_open): Likewise.

717
2011-02-05  Andreas Schwab  <schwab@linux-m68k.org>
718 719 720

	* window.c (Fselect_window): Add missing return value.

721 722
2011-02-05  Paul Eggert  <eggert@cs.ucla.edu>

723 724 725 726 727
	xstrcasecmp: conform to C89 pointer rules
	* xfaces.c (xstrcasecmp): Change args from const unsigned char *
	to const char *, since they're usually low-level C strings, and
	this stays compatible with C89 pointer rules.  All callers changed.

728 729 730
	* charset.c: conform to C89 pointer rules
	(define_charset_internal): Switch between char * and unsigned char *.

731 732 733 734
	* xmenu.c: conform to C89 const rules
	(xmenu_show, xdialog_show): Declare local var as char *, not
	const char *, to stay compatible with C89 const rules.

735 736 737 738 739 740 741 742
	* xdisp.c: conform to C89 pointer rules
	(store_mode_line_noprop, display_string, reseat_to_string):
	(c_string_pos, number_of_chars, message_dolog):
	(message_log_check_duplicate, set_message_1, store_mode_line_noprop):
	(display_mode_element, display_string):
	Switch between char * and unsigned char * to stay compatible wth
	C89 pointer rules.

743 744 745 746 747
	* regex.c: conform to C89 pointer rules
	(re_wctype): Add cast, as C89 does not allow assigning between
	char * and unsigned char *.
	(regex_compile): Likewise.

748 749 750
	sync from gnulib to remove HAVE_STDBOOL_H
	* config.in: Regenerate.

751 752
2011-02-04  Eli Zaretskii  <eliz@gnu.org>

753 754 755 756 757 758
	* makefile.w32-in (LISP_H, PROCESS_H): New variables.
	Replace all uses of lisp.h with $(LISP_H), and all uses of
	process.h with $(PROCESS_H).
	($(BLD)/editfns.$(O)): Depend on ../lib/strftime.h.
	($(BLD)/print.$(O)): Depend on ../lib/ftoastr.h and ../lib/intprops.h.

759 760 761
	* deps.mk: Update for recent changes: gnutls support, gnulib
	imports, addition of globals.h.

762 763
	* makefile.w32-in ($(BLD)/sysdep.$(O)): Depend on
	../lib/ignore-value.h.
764

765 766 767 768 769 770 771 772 773 774 775 776 777
2011-02-03  Paul Eggert  <eggert@cs.ucla.edu>

	allow C code to suppress warnings about ignored return values

	We need to go through the code and for each such warning, either
	fix the code to pay attention to the returned value, or tell GCC
	that we really do want to ignore the returned value.  Here is one
	example of how to do the latter.
	* sysdep.c: Include <ignore-value.h>.
	(sys_subshell): Suppress an undesirable warning about not checking
	the returned value of 'write', as there's nothing useful one can
	do with that returned value.

778 779 780 781 782
2011-02-03  Jan Djärv  <jan.h.d@swipnet.se>

	* xterm.c (x_connection_closed): Remove all calls that calls
	XSync (Bug#7949).

783 784 785 786 787
2011-02-01  Eli Zaretskii  <eliz@gnu.org>

	* image.c (tiff_load): Avoid compiler warning in 2nd arg to
	TIFFClientOpen.

788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803
2011-02-01  Jan Djärv  <jan.h.d@swipnet.se>

	* xsmfns.c (ice_connection_closed): Call delete_read_fd.
	(x_session_check_input): Change args and return type so it can be used
	as argument to add_read_fd.  Make static.  Remove call to select.
	Call kbd_buffer_store_event for emacs_event.
	(smc_save_yourself_CB): Also store initial argv to SmRestartCommand.
	(ice_conn_watch_CB): Call add_read_fd.

	* xterm.c (XTread_socket): Remove HAVE_X_SM block with call to
	x_session_check_input.
	(x_session_initialized): Remove definition.
	(x_initialize): Remove setting of x_session_initialized.

	* xterm.h (x_session_check_input): Remove declaration.

804 805 806
2011-02-01  Paul Eggert  <eggert@cs.ucla.edu>

	format-time-string now supports subsecond time stamp resolution
807
	* editfns.c (emacs_nmemftime): Rename from emacs_memftimeu,
808 809 810 811 812 813
	for consistency with its new argument and with gnulib nstrftime.
	All callers changed.  New argument NS.
	(Fformat_time_string): Check that the time argument's microseconds
	component, if any, is in range; this avoids integer overflow and
	also nstrftime needs this.  Document %N.

814
2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
815 816 817 818 819 820

	* image.c (DEF_IMGLIB_FN): Add parameter rettype, use it instead
	of int.  All uses adjusted.
	(PNG_JMPBUF, png_load, jpeg_load, tiff_load, gif_load)
	(svg_load_image): Remove casts.

821
2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
822 823 824 825 826 827 828

	* image.c (fn_png_longjmp, fn_png_set_longjmp_fn): New png
	function definitions for compiling with libpng-1.5.
	(PNG_LONGJMP, PNG_JMPBUF): New macros for libpng-1.5.
	(my_png_error, png_load): Use them.  Suggested by Thomas Klausner
	(Bug#7908).

829 830
2011-01-31  Eli Zaretskii  <eliz@gnu.org>

831 832
	* s/ms-w32.h (HAVE_STRFTIME): Don't define.

833 834 835
	* makefile.w32-in (OBJ2): Remove strftime.$(O).
	($(BLD)/strftime.$(O)): Remove prerequisites.

836 837 838 839 840 841
2011-01-31  Paul Eggert  <eggert@cs.ucla.edu>

	src/emacs.c now gets version number from configure.in
	* emacs.c (emacs_version): Set to VERSION so that it
	is determined automatically from ../configure.in.

842 843 844 845 846
2011-01-31  Jim Meyering  <meyering@redhat.com>

	* charset.c (load_charset_map): Don't deref NULL on failed malloc.
	Use xmalloc rather than malloc.

847 848
2011-01-30  Paul Eggert  <eggert@cs.ucla.edu>

Paul Eggert's avatar
Paul Eggert committed
849 850 851 852 853 854 855 856 857 858
	strftime: import from gnulib
	* Makefile.in (obj): Remove strftime.o, as gnulib now does this for us.
	* deps.mk (strftime.o): Remove.
	* editfns.c: Include <strftime.h>, supplied by gnulib.
	(emacs_strftimeu): Remove decl.
	(emacs_memftimeu): Use nstrftime (the gnulib name) rather than
	emacs_strftimeu.
	* config.in: Regenerate.
	* strftime.c: Remove; we now use strftime from gnulib.

859 860 861 862 863 864 865 866 867
	Use SSDATA when the context wants char *.
	* alloc.c, buffer.c, bytecode.c, callproc.c, dired.c:
	* dispnew.c, doc.c, editfns.c, emacs.c, fileio.c, filelock.c:
	* fns.c, font.c, frame.c, image.c, indent.c, keyboard.c:
	* lread.c, minibuf.c, print.c, process.c, search.c, widget.c:
	* xdisp.c, xfaces.c, xfns.c, xml.c, xselect.c, xterm.c:
	Use SSDATA (not SDATA) when the context of the expression wants
	char * (not unsigned char *).

868 869 870 871
2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>

	* .gdbinit: Read global lisp variables as globals.f_V*.

872 873 874 875 876 877
2011-01-30  Andreas Schwab  <schwab@linux-m68k.org>

	* font.c (PROP_MATCH): Remove parameter N and use strlen instead.
	All uses changed.
	(PROP_SAVE): Likewise.

878 879 880 881 882
2011-01-29  Chong Yidong  <cyd@stupidchicken.com>

	* keyboard.c (make_lispy_position): Fix typo in last change
	(Bug#7935).

883 884 885 886 887 888 889 890 891 892
2011-01-29  Eli Zaretskii  <eliz@gnu.org>

	* s/ms-w32.h (HAVE_MKTIME): Remove.

	* makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
	(GNULIB): New variable.
	(LIBS): Add $(GNULIB).
	$(TEMACS): Depend on $(GNULIB).
	<top-level>: Fix font-lock disrupted by a lone `"'.

893 894 895 896 897 898 899
2011-01-29  Jan Djärv  <jan.h.d@swipnet.se>

	* nsselect.m (ns_string_from_pasteboard): Get length of string
	and use make_string instead of build_string (Bug#7934).
	(ns_string_to_pasteboard_internal): Use initWithBytesNoCopy
	instead of stringWithUTF8String  (Bug#7934).

900 901 902 903 904
2011-01-29  Anders Lindgren  <andlind@gmail.com> (tiny change)

        * nsfont.m (nsfont_open): Ensure that fonts with inexact
        descenders would not become one pixel too tall (Bug#7887).

905 906 907 908 909 910
2011-01-28  Chong Yidong  <cyd@stupidchicken.com>

	* keyboard.c (make_lispy_position): For clicks on right fringe or
	margin, compute text position using the X coordinate relative to
	the left of the text area (Bug#7839).

911 912 913 914 915
2011-01-28  Kenichi Handa  <handa@m17n.org>

	* ftfont.c (ftfont_spec_pattern): Check each extra property
	value.

916 917 918 919
2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>

	* xdisp.c (safe_eval_handler): Distinguish symbols and strings.

920 921 922 923
2011-01-27  Chong Yidong  <cyd@stupidchicken.com>

	* font.c (font_parse_fcname): Undefine a temporary macro.

924 925 926 927 928 929 930 931 932 933 934 935
2011-01-26  Stefan Monnier  <monnier@iro.umontreal.ca>

	Let the debugger continue to the normal handler (bug#7825).
	* eval.c (maybe_call_debugger): Declare before new use.
	(find_handler_clause): Don't call debugger any more.
	Ignore Vstack_trace_on_error.
	Use XCAR/XCDR.
	(syms_of_eval): Remove Vstack_trace_on_error.
	(Fsignal): Only modify handlerlist when we know we need to do it.
	Call the debugger when necessary.
	* globals.h (Vstack_trace_on_error): Remove.

936 937 938 939
2011-01-26  Chong Yidong  <cyd@stupidchicken.com>

	* font.c (font_parse_fcname): Rewrite GTK font name parser.

Glenn Morris's avatar
Glenn Morris committed
940
2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
941 942 943 944

	* xdisp.c (handle_fontified_prop): Be careful with font-lock changing
	the buffer's point-max (bug#7876).

Glenn Morris's avatar
Glenn Morris committed
945
2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
946 947

	* lisp.h (XPNTR): Obey DATA_SEG_BITS in all non-USE_LSB_TAG cases.
Glenn Morris's avatar
Glenn Morris committed
948
	Remove unused case (Bug#6811).
949

950 951 952 953 954
2011-01-23  Jan Djärv  <jan.h.d@swipnet.se>

	* nsterm.m (x_set_offset): Set dont_constrain to 0 so the call to
	setFrameTopLeftPoint is constrained.

955 956
2011-01-23  Paul Eggert  <eggert@cs.ucla.edu>

957 958 959 960 961
	Check return values of some library calls.
	* emacs.c (main): Check dup result.
	* frame.c: Include <limits.h>, for INT_MIN and INT_MAX.
	(frame_name_fnn_p): Check strtol result.

962
	* image.c (x_create_bitmap_from_xpm_data): Add cast to fix type clash
963 964
	when calling XpmCreatePixmapFromData.

965 966 967 968 969 970 971
	Promote SSDATA macro from gtkutil.c and xsmfns.c to lisp.h.
	* lisp.h (SSDATA): New macro.
	All uses of (char *) SDATA (x) replaced with SSDATA (x),
	and all uses of (unsigned char *) SDATA (x) replaced with SDATA (x).
	* gtkutil.c (SSDATA): Remove, as lisp.h now defines this.
	* xsmfns.c (SSDATA): Likewise.

972 973 974 975 976 977 978
2011-01-22  Martin Rudalics  <rudalics@gmx.at>

	* window.c (select_window): New function.
	(Fselect_window): Call it.
	(inhibit_point_swap): Variable deleted.
	(Fset_window_configuration): Call select_window directly.

979 980 981 982
2011-01-22  Jan Djärv  <jan.h.d@swipnet.se>

	* nsterm.m (constrainFrameRect): Only constrain the first time called.

983 984
2011-01-21  Jan Djärv  <jan.h.d@swipnet.se>

985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002
	* nsterm.m (x_set_offset, windowDidMove): When calculating y, use first
	screen, not the window screen.
	(x_set_window_size): Remove constraints.
	Calculate origin.y only if zooming is 0 and without referring to a
	screen.
	(windowWillResize): Don't modify frameSize.
	(windowDidBecomeKey, mouseDown): Set dont_constrain to 1.
	(initFrameFromEmacs): Initialize ns_userRect.
	(windowShouldZoom): Set zooming to one.  Remove all other code.
	(windowWillUseStandardFrame): Move static ns_userRect to EmacsView.
	Zero it after restore.
	(constrainFrameRect): New method for EmacsWindow.
	(mouseDragged): Always post NSWindowDidResizeNotification after call to
	windowWillResize.

	* nsterm.h (ns_output): Add dont_constrain and zooming.
	(EmacsView): Add ns_userRect.

1003 1004 1005
	* nsterm.m (keyDown): If ns_right_alternate_modifier is Qleft, check
	if ns_alternate_modifier is none.

1006 1007 1008 1009
2011-01-20  Jan Djärv  <jan.h.d@swipnet.se>

	* unexmacosx.c: Add comment about include order.

1010 1011
2011-01-20  Glenn Morris  <rgm@gnu.org>

1012 1013 1014 1015
	* minibuf.c (syms_of_minibuf) <read-expression-history>:
	Give it a doc string.
	* globals.h: Add Vread_expression_history.

1016 1017 1018 1019
	* macros.c (syms_of_macros) <kbd-macro-termination-hook>:
	Give it a doc string.
	* globals.h: Add Vkbd_macro_termination_hook.

1020 1021 1022 1023
2011-01-20  Chong Yidong  <cyd@stupidchicken.com>

	* fns.c (Fyes_or_no_p): Revert 2011-01-07 change, removing ARGS.

Paul Eggert's avatar
Paul Eggert committed
1024 1025 1026 1027 1028 1029 1030 1031
2011-01-19  Paul Eggert  <eggert@cs.ucla.edu>

	Fix X11 compilation failure.
	* globals.h (struct emacs_globals): Document f_Vselection_alist.
	* xselect.c (Vselection_alist): Remove declaration, moving its
	documentation to globals.h.  This fixes a compilation failure
	induced by the earlier change to globals.h today.

1032 1033
2011-01-19  Jan Djärv  <jan.h.d@swipnet.se>

1034 1035
	* unexmacosx.c: Include config.h before unistd.h (Bug#7859).

1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074
	* nsterm.m (ns_input_file, ns_input_font, ns_input_fontsize)
	(ns_input_line, ns_input_color, ns_input_text, ns_working_text)
	(ns_input_spi_name, ns_input_spi_arg)
	(ns_alternate_modifier, ns_right_alternate_modifier)
	(ns_command_modifier, ns_right_command_modifier, ns_control_modifier)
	(ns_right_control_modifier, ns_function_modifier)
	(ns_antialias_text, ns_confirm_quit): Move to globals.h.
	(Vx_toolkit_scroll_bars, x_use_underline_position_properties)
	(x_underline_at_descent_line): Remove declaration.
	(syms_of_nsterm): Remove & from DEFVAR_LISP and DEFVAR_BOOL.

	* nsselect.m (Vns_sent_selection_hooks, Vns_lost_selection_hooks
	(Vselection_alist, Vselection_converter_alist): Move to globals.h.
	(syms_of_nsselect): Remove & from DEFVAR_LISP.

	* nsmenu.m (Voverriding_local_map, Voverriding_local_map_menu_flag):
	Remove declaration.

	* nsfont.m (Vns_reg_to_script, ns_antialias_text): Move to
	globals.h.
	(syms_of_nsfont): Remove & from DEFVAR_LISP.

	* nsfns.m (Vmenu_bar_mode, Vtool_bar_mode): Remove declaration.
	(Vns_icon_type_alist, Vns_version_string): Move to globals.h.
	(syms_of_nsfns): Remove & from DEFVAR_LISP calls.

	* globals.h (struct emacs_globals): Add f_ns_input_file,
	f_ns_input_font, f_ns_input_fontsize, f_ns_input_line,
	f_ns_input_color, f_ns_input_text, f_ns_working_text,
	f_ns_input_spi_name, f_ns_input_spi_arg, f_ns_alternate_modifier,
	f_ns_right_alternate_modifier, f_ns_command_modifier,
	f_ns_right_command_modifier, f_ns_control_modifier,
	f_ns_right_control_modifier, f_ns_function_modifier,
	f_ns_antialias_text, f_ns_confirm_quit, f_Vns_icon_type_alist,
	f_Vns_version_string, f_Vns_sent_selection_hooks,
	f_Vns_lost_selection_hooks, f_Vselection_alist, f_Vns_reg_to_script
	and corresponding defines.


1075 1076 1077 1078
2011-01-19  Sam Steingold  <sds@gnu.org>

	* w32.c (check_windows_init_file): Remove declarations of
	Vwindow_system, Vload_path, Qfile_exists_p to fix compilation.
1079
	* w32fns.c: Fix an error introduced by the previous patch.
1080

1081 1082 1083 1084
2011-01-19  Tom Tromey  <tromey@redhat.com>

	* window.c: Fix error introduced by previous patch.

1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136
2011-01-18  Tom Tromey  <tromey@parfait>

	* globals.h: New file.
	* xterm.h (Vx_pixel_size_width_font_regexp): Remove declaration.
	* window.h (Vinitial_window_system, Vminibuf_scroll_window)
	(Vwindow_system_version): Remove declaration.
	* w32term.h (Vw32_enable_palette)
	(Vx_pixel_size_width_font_regexp): Remove declaration.
	* w32menu.c (Voverriding_local_map)
	(Voverriding_local_map_menu_flag): Remove declaration.
	* w32inevt.c (Vw32_alt_is_meta, Vw32_apps_modifier)
	(Vw32_capslock_is_shiftlock, Vw32_enable_caps_lock)
	(Vw32_enable_num_lock, Vw32_lwindow_modifier)
	(Vw32_pass_lwindow_to_system, Vw32_pass_rwindow_to_system)
	(Vw32_phantom_key_code, Vw32_recognize_altgr)
	(Vw32_rwindow_modifier, Vw32_scroll_lock_modifier)
	(w32_use_full_screen_buffer): Remove declaration.
	* w32.c (Vsystem_configuration, Vw32_downcase_file_names)
	(Vw32_generate_fake_inodes, Vw32_get_true_file_attributes)
	(w32_num_mouse_buttons, w32_pipe_read_delay): Remove declaration.
	* termopts.h (Vtruncate_partial_width_windows, inverse_video)
	(no_redraw_on_reenter, visible_bell): Remove declaration.
	* sysdep.c (Vsystem_name): Remove declaration.
	* syntax.h (parse_sexp_lookup_properties): Remove declaration.
	* menu.h (Vmenu_updating_frame): Remove declaration.
	* macros.h (Vexecuting_kbd_macro, executing_kbd_macro_index):
	Remove declaration.
	* lisp.h (Vafter_init_time, Vafter_load_alist)
	(Vauto_save_list_file_name, Vbefore_init_time, Vcommand_history)
	(Vcompletion_regexp_list, Vcurrent_load_list)
	(Vcurrent_prefix_arg, Vdata_directory, Vdebug_on_error)
	(Vdoc_directory, Vdoc_file_name, Vdynamic_library_alist)
	(Vexec_directory, Vexec_path, Vexec_suffixes)
	(Vface_font_rescale_alist, Vface_ignored_fonts, Vfeatures)
	(Vhelp_form, Vhistory_length, Vinhibit_field_text_motion)
	(Vinhibit_quit, Vinhibit_read_only, Vinhibit_redisplay)
	(Vinstallation_directory, Vinvocation_directory)
	(Vinvocation_name, Vload_file_rep_suffixes, Vload_history)
	(Vload_suffixes, Vmark_even_if_inactive, Vmemory_full)
	(Vmessage_log_max, Vobarray, Vprint_length, Vprint_level)
	(Vpurify_flag, Vquit_flag, Vsaved_region_selection)
	(Vscalable_fonts_allowed, Vselect_active_regions)
	(Vshell_file_name, Vstandard_input, Vstandard_output)
	(Vsystem_name, Vtemporary_file_directory, Vthrow_on_input)
	(Vtop_level, Vtty_erase_char, Vundo_outer_limit)
	(Vuser_login_name, Vwindow_scroll_functions)
	(Vwindow_system_version, Vx_no_window_manager)
	(Vx_resource_class, Vx_resource_name, baud_rate)
	(completion_ignore_case, debug_on_next_call, gc_cons_threshold)
	(history_delete_duplicates, inhibit_x_resources)
	(last_nonmenu_event, load_in_progress, max_specpdl_size)
	(minibuffer_auto_raise, print_escape_newlines, scroll_margin)
1137 1138
	(use_dialog_box, use_file_dialog): Remove declaration.
	Include globals.h.
1139
	* keymap.h (Voverriding_local_map)
1140 1141
	(Voverriding_local_map_menu_flag, meta_prefix_char):
	Remove declaration.
1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158
	* keyboard.h (Vdouble_click_time, Vfunction_key_map)
	(Vinput_method_function, Vkey_translation_map)
	(Vlucid_menu_bar_dirty_flag, Vthis_original_command)
	(do_mouse_tracking, extra_keyboard_modifiers)
	(num_nonmacro_input_events): Remove declaration.
	* intervals.h (Vchar_property_alias_alist)
	(Vdefault_text_properties, Vinhibit_point_motion_hooks)
	(Vtext_property_default_nonsticky): Remove declaration.
	* gtkutil.h (x_gtk_file_dialog_help_text)
	(x_gtk_show_hidden_files, x_gtk_use_old_file_dialog)
	(x_gtk_whole_detached_tool_bar): Remove declaration.
	* frame.h (Vdefault_frame_alist, Vframe_alpha_lower_limit)
	(Vmenu_bar_mode, Vmouse_highlight, Vterminal_frame)
	(Vtool_bar_mode, Vx_resource_class, Vx_resource_name)
	(focus_follows_mouse): Remove declaration.
	* fontset.h (Valternate_fontname_alist, Vfontset_alias_alist)
	(Vignore_relative_composition, Votf_script_alist)
1159 1160
	(Vuse_default_ascent, Vvertical_centering_font_regexp):
	Remove declaration.
1161 1162 1163 1164
	* font.h (Vfont_log): Remove declaration.
	* dosfns.h (Vdos_display_scancodes, Vdos_version)
	(Vdos_windows_version, dos_codepage, dos_country_code)
	(dos_decimal_point, dos_hyper_key, dos_keyboard_layout)
1165 1166 1167 1168
	(dos_keypad_mode, dos_super_key, dos_timezone_offset):
	Remove declaration.
	* disptab.h (Vglyph_table, Vstandard_display_table):
	Remove declaration.
1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195
	* dispextern.h (Vface_remapping_alist, Vglyphless_char_display)
	(Vmouse_autoselect_window, Voverflow_newline_into_fringe)
	(Vshow_trailing_whitespace, Vtool_bar_button_margin)
	(Vtool_bar_style, cursor_in_echo_area, display_hourglass_p)
	(inverse_video, mode_line_in_non_selected_windows)
	(tool_bar_button_relief, tool_bar_max_label_size)
	(underline_minimum_offset)
	(unibyte_display_via_language_environment, x_stretch_cursor_p):
	Remove declaration.
	* composite.h (Vauto_composition_function)
	(Vcomposition_function_table): Remove declaration.
	* commands.h (Vexecuting_kbd_macro)
	(Vminibuffer_local_completion_map)
	(Vminibuffer_local_filename_completion_map)
	(Vminibuffer_local_filename_must_match_map)
	(Vminibuffer_local_map, Vminibuffer_local_must_match_map)
	(Vminibuffer_local_ns_map, Vthis_command)
	(Vunread_command_events, cursor_in_echo_area)
	(last_command_event, last_nonmenu_event, unread_command_char):
	Remove declaration.
	* coding.h (Vcoding_system_for_read, Vcoding_system_for_write)
	(Vdefault_file_name_coding_system)
	(Vdefault_process_coding_system, Vfile_name_coding_system)
	(Vlast_coding_system_used, Vlocale_coding_system)
	(Vselect_safe_coding_system_function)
	(Vtranslation_table_for_input, coding_system_require_warning)
	(eol_mnemonic_dos, eol_mnemonic_mac, eol_mnemonic_undecided)
1196 1197 1198 1199
	(eol_mnemonic_unix, inherit_process_coding_system):
	Remove declaration.
	* charset.h (Vcharset_list, Vcurrent_iso639_language):
	Remove declaration.
1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313
	* character.h (Vauto_fill_chars, Vchar_direction_table)
	(Vchar_script_table, Vchar_width_table, Vprintable_chars)
	(Vscript_representative_chars, Vtranslation_table_vector)
	(Vunicode_category_table): Remove declaration.
	* ccl.h (Vfont_ccl_encoder_alist): Remove declaration.
	* buffer.h (Vafter_change_functions, Vbefore_change_functions)
	(Vdeactivate_mark, Vfirst_change_hook, Vtransient_mark_mode)
	(inhibit_modification_hooks): Remove declaration.
	* xterm.c (syms_of_xterm): Update.
	(Vx_alt_keysym, Vx_hyper_keysym, Vx_keysym_table)
	(Vx_meta_keysym, Vx_super_keysym, Vx_toolkit_scroll_bars)
	(x_mouse_click_focus_ignore_position)
	(x_underline_at_descent_line)
	(x_use_underline_position_properties): Remove.
	* xsmfns.c (syms_of_xsmfns): Update.
	(Vx_session_id, Vx_session_previous_id): Remove.
	* xsettings.c (syms_of_xsettings): Update.
	(Vxft_settings, use_system_font): Remove.
	* xselect.c (syms_of_xselect): Update.
	(Vselection_converter_alist, Vx_lost_selection_functions)
	(Vx_sent_selection_functions, x_selection_timeout): Remove.
	* xfns.c (syms_of_xfns): Update.
	(Vgtk_version_string, Vmotif_version_string)
	(Vx_cursor_fore_pixel, Vx_hourglass_pointer_shape)
	(Vx_max_tooltip_size, Vx_mode_pointer_shape)
	(Vx_no_window_manager, Vx_nontext_pointer_shape)
	(Vx_pixel_size_width_font_regexp, Vx_pointer_shape)
	(Vx_sensitive_text_pointer_shape)
	(Vx_window_horizontal_drag_shape, x_gtk_file_dialog_help_text)
	(x_gtk_show_hidden_files, x_gtk_use_old_file_dialog)
	(x_gtk_use_system_tooltips, x_gtk_whole_detached_tool_bar):
	Remove.
	* xfaces.c (syms_of_xfaces): Update.
	(Vface_default_stipple, Vface_font_rescale_alist)
	(Vface_ignored_fonts, Vface_new_frame_defaults)
	(Vface_remapping_alist, Vfont_list_limit)
	(Vscalable_fonts_allowed, Vtty_defined_color_alist): Remove.
	* xdisp.c (syms_of_xdisp): Update.
	(Vauto_resize_tool_bars, Vblink_cursor_alist)
	(Vdisplay_pixels_per_inch, Vfontification_functions)
	(Vframe_title_format, Vglobal_mode_string)
	(Vglyphless_char_display, Vhourglass_delay, Vhscroll_step)
	(Vicon_title_format, Vinhibit_redisplay)
	(Vline_number_display_limit, Vline_prefix)
	(Vmax_mini_window_height, Vmenu_bar_update_hook)
	(Vmenu_updating_frame, Vmessage_log_max)
	(Vmouse_autoselect_window, Vnobreak_char_display)
	(Voverlay_arrow_position, Voverlay_arrow_string)
	(Voverlay_arrow_variable_list, Vredisplay_end_trigger_functions)
	(Vresize_mini_windows, Vshow_trailing_whitespace)
	(Vtool_bar_border, Vtool_bar_button_margin, Vtool_bar_style)
	(Vtruncate_partial_width_windows, Vvoid_text_area_pointer)
	(Vwindow_scroll_functions, Vwindow_size_change_functions)
	(Vwindow_text_change_functions, Vwrap_prefix)
	(auto_raise_tool_bar_buttons_p, automatic_hscrolling_p)
	(debug_end_pos, display_hourglass_p, emacs_scroll_step)
	(highlight_nonselected_windows, hscroll_margin)
	(inhibit_eval_during_redisplay, inhibit_free_realized_faces)
	(inhibit_menubar_update, inhibit_try_cursor_movement)
	(inhibit_try_window_id, inhibit_try_window_reusing)
	(line_number_display_limit_width)
	(make_cursor_line_fully_visible_p, message_truncate_lines)
	(mode_line_inverse_video, multiple_frames, overline_margin)
	(scroll_conservatively, scroll_margin, tool_bar_button_relief)
	(tool_bar_max_label_size, underline_minimum_offset)
	(unibyte_display_via_language_environment, x_stretch_cursor_p):
	Remove.
	* window.c (syms_of_window): Update.
	(Vminibuf_scroll_window, Vother_window_scroll_buffer)
	(Vrecenter_redisplay, Vscroll_preserve_screen_position)
	(Vtemp_buffer_show_function, Vwindow_configuration_change_hook)
	(Vwindow_point_insertion_type, auto_window_vscroll_p)
	(mode_line_in_non_selected_windows, next_screen_context_lines)
	(window_min_height, window_min_width): Remove.
	(scroll_margin): Remove declaration.
	* w32term.c (syms_of_w32term): Update.
	(Vw32_capslock_is_shiftlock, Vw32_grab_focus_on_raise)
	(Vw32_recognize_altgr, Vw32_swap_mouse_buttons)
	(Vx_toolkit_scroll_bars, w32_num_mouse_buttons)
	(w32_use_visible_system_caret, x_underline_at_descent_line)
	(x_use_underline_position_properties): Remove.
	(Vcommand_line_args, Vsystem_name, extra_keyboard_modifiers):
	Remove declaration.
	* w32select.c (syms_of_w32select): Update.
	(Vnext_selection_coding_system, Vselection_coding_system): Remove.
	* w32proc.c (syms_of_ntproc): Update.
	(Vw32_downcase_file_names, Vw32_generate_fake_inodes)
	(Vw32_get_true_file_attributes, Vw32_quote_process_args)
	(Vw32_start_process_inherit_error_mode)
	(Vw32_start_process_share_console)
	(Vw32_start_process_show_window, w32_pipe_read_delay): Remove.
	(Vsystem_name): Remove declaration.
	* w32font.c (syms_of_w32font): Update.
	(Vw32_charset_info_alist): Remove.
	* w32fns.c (globals_of_w32fns, syms_of_w32fns): Update.
	(Vw32_alt_is_meta, Vw32_apps_modifier, Vw32_bdf_filename_alist)
	(Vw32_color_map, Vw32_enable_caps_lock, Vw32_enable_num_lock)
	(Vw32_enable_palette, Vw32_lwindow_modifier)
	(Vw32_pass_alt_to_system, Vw32_pass_lwindow_to_system)
	(Vw32_pass_rwindow_to_system, Vw32_phantom_key_code)
	(Vw32_rwindow_modifier, Vw32_scroll_lock_modifier)
	(Vx_cursor_fore_pixel, Vx_hourglass_pointer_shape)
	(Vx_max_tooltip_size, Vx_mode_pointer_shape)
	(Vx_no_window_manager, Vx_nontext_pointer_shape)
	(Vx_pixel_size_width_font_regexp, Vx_pointer_shape)
	(Vx_sensitive_text_pointer_shape)
	(Vx_window_horizontal_drag_shape, w32_ansi_code_page)
	(w32_enable_synthesized_fonts, w32_mouse_button_tolerance)
	(w32_mouse_move_interval)
	(w32_pass_extra_mouse_buttons_to_system)
	(w32_pass_multimedia_buttons_to_system, w32_quit_key)
	(w32_strict_fontnames, w32_strict_painting): Remove.
	(Vhourglass_delay, Vmenu_bar_mode, Vtool_bar_mode)
	(Vw32_recognize_altgr, Vwindow_system_version)
1314 1315
	(w32_num_mouse_buttons, w32_use_visible_system_caret):
	Remove declaration.
1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563
	* w32console.c (syms_of_ntterm): Update.
	(w32_use_full_screen_buffer): Remove.
	(Vtty_defined_color_alist): Remove declaration.
	* w16select.c (syms_of_win16select): Update.
	(Vnext_selection_coding_system, Vselection_coding_system): Remove.
	* undo.c (syms_of_undo): Update.
	(Vundo_outer_limit, Vundo_outer_limit_function)
	(undo_inhibit_record_point, undo_limit, undo_strong_limit):
	Remove.
	* textprop.c (syms_of_textprop): Update.
	(Vchar_property_alias_alist, Vdefault_text_properties)
	(Vinhibit_point_motion_hooks, Vtext_property_default_nonsticky):
	Remove.
	* terminal.c (syms_of_terminal): Update.
	(Vdelete_terminal_functions, Vring_bell_function): Remove.
	* term.c (syms_of_term): Update.
	(Vresume_tty_functions, Vsuspend_tty_functions)
	(no_redraw_on_reenter, system_uses_terminfo, visible_cursor):
	Remove.
	* syntax.c (syms_of_syntax): Update.
	(Vfind_word_boundary_function_table, multibyte_syntax_as_symbol)
	(open_paren_in_column_0_is_defun_start)
	(parse_sexp_ignore_comments, parse_sexp_lookup_properties)
	(words_include_escapes): Remove.
	* search.c (syms_of_search): Update.
	(Vinhibit_changing_match_data, Vsearch_spaces_regexp): Remove.
	* process.c (syms_of_process): Update.
	(Vprocess_adaptive_read_buffering, Vprocess_connection_type)
	(delete_exited_processes): Remove.
	* print.c (syms_of_print): Update.
	(Vfloat_output_format, Vprint_charset_text_property)
	(Vprint_circle, Vprint_continuous_numbering, Vprint_gensym)
	(Vprint_length, Vprint_level, Vprint_number_table)
	(Vstandard_output, print_escape_multibyte)
	(print_escape_newlines, print_escape_nonascii, print_quoted):
	Remove.
	* msdos.c (syms_of_msdos): Update.
	(Vdos_unsupported_char_glyph): Remove.
	(unibyte_display_via_language_environment): Remove declaration.
	* minibuf.c (syms_of_minibuf): Update.
	(Vcompletion_regexp_list, Vhistory_add_new_input)
	(Vhistory_length, Vminibuffer_completing_file_name)
	(Vminibuffer_completion_confirm)
	(Vminibuffer_completion_predicate, Vminibuffer_completion_table)
	(Vminibuffer_exit_hook, Vminibuffer_help_form)
	(Vminibuffer_history_position, Vminibuffer_history_variable)
	(Vminibuffer_prompt_properties, Vminibuffer_setup_hook)
	(Vread_buffer_function, Vread_expression_map)
	(completion_ignore_case, enable_recursive_minibuffers)
	(history_delete_duplicates, minibuffer_allow_text_properties)
	(minibuffer_auto_raise, read_buffer_completion_ignore_case):
	Remove.
	* marker.c (syms_of_marker): Update.
	(byte_debug_flag): Remove.
	* macros.c (syms_of_macros): Update.
	(Vexecuting_kbd_macro, executing_kbd_macro_index): Remove.
	* lread.c (syms_of_lread): Update.
	(Vafter_load_alist, Vbyte_boolean_vars)
	(Vbytecomp_version_regexp, Vcurrent_load_list)
	(Veval_buffer_list, Vload_file_name, Vload_file_rep_suffixes)
	(Vload_history, Vload_path, Vload_read_function)
	(Vload_source_file_function, Vload_suffixes, Vobarray)
	(Vold_style_backquotes, Vpreloaded_file_list, Vread_circle)
	(Vread_symbol_positions_list, Vread_with_symbol_positions)
	(Vsource_directory, Vstandard_input, Vuser_init_file, Vvalues)
	(force_load_messages, load_convert_to_unibyte)
	(load_dangerous_libraries, load_force_doc_strings)
	(load_in_progress): Remove.
	* keymap.c (syms_of_keymap): Update.
	(Vdefine_key_rebound_commands, Vemulation_mode_map_alists)
	(Vminibuffer_local_completion_map)
	(Vminibuffer_local_filename_completion_map)
	(Vminibuffer_local_filename_must_match_map)
	(Vminibuffer_local_map, Vminibuffer_local_must_match_map)
	(Vminibuffer_local_ns_map, Vminor_mode_map_alist)
	(Vminor_mode_overriding_map_alist, Vwhere_is_preferred_modifier):
	Remove.
	* keyboard.c (syms_of_keyboard): Update.
	(Vauto_save_timeout, Vcommand_error_function)
	(Vcommand_hook_internal, Vdeactivate_mark)
	(Vdeferred_action_function, Vdeferred_action_list)
	(Vdisable_point_adjustment, Vdouble_click_time)
	(Vecho_keystrokes, Venable_disabled_menus_and_buttons)
	(Vfunction_key_map, Vglobal_disable_point_adjustment)
	(Vhelp_char, Vhelp_event_list, Vhelp_form)
	(Vinput_method_function, Vinput_method_previous_message)
	(Vkey_translation_map, Vlast_event_frame)
	(Vlucid_menu_bar_dirty_flag, Vmenu_bar_final_items)
	(Vminibuffer_message_timeout, Voverriding_local_map)
	(Voverriding_local_map_menu_flag, Vpost_command_hook)
	(Vpre_command_hook, Vprefix_help_command)
	(Vsaved_region_selection, Vselect_active_regions)
	(Vshow_help_function, Vspecial_event_map, Vsuggest_key_bindings)
	(Vthis_command, Vthis_command_keys_shift_translated)
	(Vthis_original_command, Vthrow_on_input, Vtimer_idle_list)
	(Vtimer_list, Vtool_bar_separator_image_expression, Vtop_level)
	(Vtty_erase_char, Vunread_command_events)
	(Vunread_input_method_events, Vunread_post_input_method_events)
	(auto_save_interval, cannot_suspend, do_mouse_tracking)
	(double_click_fuzz, extra_keyboard_modifiers)
	(inhibit_local_menu_bar_menus, last_command_event)
	(last_input_event, last_nonmenu_event, menu_prompt_more_char)
	(menu_prompting, meta_prefix_char, num_input_keys)
	(num_nonmacro_input_events, polling_period, unread_command_char):
	Remove.
	* insdel.c (syms_of_insdel): Update.
	(Vcombine_after_change_calls, check_markers_debug_flag): Remove.
	* indent.c (syms_of_indent): Update.
	(indent_tabs_mode): Remove.
	* image.c (syms_of_image): Update.
	(Vimage_cache_eviction_delay, Vimage_types)
	(Vimagemagick_render_type, Vmax_image_size, Vx_bitmap_file_path)
	(cross_disabled_images): Remove.
	* fringe.c (syms_of_fringe): Update.
	(Vfringe_bitmaps, Voverflow_newline_into_fringe): Remove.
	* frame.c (syms_of_frame): Update.
	(Vdefault_frame_alist, Vdefault_frame_scroll_bars)
	(Vdelete_frame_functions, Vframe_alpha_lower_limit)
	(Vmake_pointer_invisible, Vmenu_bar_mode, Vmouse_highlight)
	(Vmouse_position_function, Vterminal_frame, Vtool_bar_mode)
	(Vx_resource_class, Vx_resource_name, focus_follows_mouse):
	Remove.
	* fontset.c (syms_of_fontset): Update.
	(Valternate_fontname_alist, Vfont_encoding_charset_alist)
	(Vfontset_alias_alist, Vignore_relative_composition)
	(Votf_script_alist, Vuse_default_ascent)
	(Vvertical_centering_font_regexp): Remove.
	* font.c (syms_of_font): Update.
	(Vfont_encoding_alist, Vfont_log, Vfont_slant_table)
	(Vfont_weight_table, Vfont_width_table): Remove.
	* fns.c (syms_of_fns): Update.
	(Vfeatures, use_dialog_box, use_file_dialog): Remove.
	* filelock.c (syms_of_filelock): Update.
	(Vtemporary_file_directory): Remove.
	* fileio.c (syms_of_fileio): Update.
	(Vafter_insert_file_functions, Vauto_save_include_big_deletions)
	(Vauto_save_list_file_name, Vauto_save_visited_file_name)
	(Vdefault_file_name_coding_system, Vfile_name_coding_system)
	(Vfile_name_handler_alist, Vinhibit_file_name_handlers)
	(Vinhibit_file_name_operation, Vset_auto_coding_function)
	(Vwrite_region_annotate_functions)
	(Vwrite_region_annotations_so_far)
	(Vwrite_region_post_annotation_function)
	(delete_by_moving_to_trash, write_region_inhibit_fsync): Remove.
	(Vw32_get_true_file_attributes): Remove declaration.
	* eval.c (syms_of_eval): Update.
	(Vdebug_ignored_errors, Vdebug_on_error, Vdebug_on_signal)
	(Vdebugger, Vinhibit_quit, Vmacro_declaration_function)
	(Vquit_flag, Vsignal_hook_function, Vstack_trace_on_error)
	(debug_on_next_call, debug_on_quit, debugger_may_continue)
	(max_lisp_eval_depth, max_specpdl_size): Remove.
	* emacs.c (syms_of_emacs): Update.
	(Vafter_init_time, Vbefore_init_time, Vcommand_line_args)
	(Vdynamic_library_alist, Vemacs_copyright, Vemacs_version)
	(Vinstallation_directory, Vinvocation_directory)
	(Vinvocation_name, Vkill_emacs_hook, Vpath_separator)
	(Vprevious_system_messages_locale, Vprevious_system_time_locale)
	(Vsystem_configuration, Vsystem_configuration_options)
	(Vsystem_messages_locale, Vsystem_time_locale, Vsystem_type)
	(inhibit_x_resources, noninteractive1): Remove.
	* editfns.c (syms_of_editfns): Update.
	(Vbuffer_access_fontified_property)
	(Vbuffer_access_fontify_functions, Vinhibit_field_text_motion)
	(Voperating_system_release, Vsystem_name, Vuser_full_name)
	(Vuser_login_name, Vuser_real_login_name): Remove.
	* dosfns.c (syms_of_dosfns): Update.
	(Vdos_display_scancodes, Vdos_version, Vdos_windows_version)
	(dos_codepage, dos_country_code, dos_decimal_point)
	(dos_hyper_key, dos_keyboard_layout, dos_keypad_mode)
	(dos_super_key, dos_timezone_offset): Remove.
	* doc.c (syms_of_doc): Update.
	(Vbuild_files, Vdoc_file_name): Remove.
	* dispnew.c (syms_of_display): Update.
	(Vglyph_table, Vinitial_window_system)
	(Vredisplay_preemption_period, Vstandard_display_table)
	(Vwindow_system_version, baud_rate, cursor_in_echo_area)
	(inverse_video, redisplay_dont_pause, visible_bell): Remove.
	* dired.c (syms_of_dired): Update.
	(Vcompletion_ignored_extensions): Remove.
	(Vw32_get_true_file_attributes): Remove declaration.
	* dbusbind.c (syms_of_dbusbind): Update.
	(Vdbus_debug, Vdbus_registered_buses)
	(Vdbus_registered_objects_table): Remove.
	* data.c (syms_of_data): Update.
	(Vmost_negative_fixnum, Vmost_positive_fixnum): Remove.
	* composite.c (syms_of_composite): Update.
	(Vauto_composition_function, Vauto_composition_mode)
	(Vcompose_chars_after_function, Vcomposition_function_table):
	Remove.
	* coding.c (syms_of_coding): Update.
	(Vcharset_revision_table, Vcoding_category_list)
	(Vcoding_system_alist, Vcoding_system_for_read)
	(Vcoding_system_for_write, Vcoding_system_list)
	(Vdefault_process_coding_system, Venable_character_translation)
	(Vfile_coding_system_alist, Vlast_code_conversion_error)
	(Vlast_coding_system_used, Vlatin_extra_code_table)
	(Vlocale_coding_system, Vnetwork_coding_system_alist)
	(Vprocess_coding_system_alist)
	(Vselect_safe_coding_system_function)
	(Vstandard_translation_table_for_decode)
	(Vstandard_translation_table_for_encode)
	(Vtranslation_table_for_input, coding_system_require_warning)
	(eol_mnemonic_dos, eol_mnemonic_mac, eol_mnemonic_undecided)
	(eol_mnemonic_unix, inherit_process_coding_system)
	(inhibit_eol_conversion, inhibit_iso_escape_detection)
	(inhibit_null_byte_detection): Remove.
	* cmds.c (syms_of_cmds): Update.
	(Vpost_self_insert_hook): Remove.
	* charset.c (syms_of_charset): Update.
	(Vcharset_list, Vcharset_map_path, Vcurrent_iso639_language)
	(inhibit_load_charset_map): Remove.
	* character.c (syms_of_character): Update.
	(Vauto_fill_chars, Vchar_direction_table, Vchar_script_table)
	(Vchar_width_table, Vprintable_chars)
	(Vscript_representative_chars, Vtranslation_table_vector)
	(Vunicode_category_table): Remove.
	* ccl.c (syms_of_ccl): Update.
	(Vcode_conversion_map_vector, Vfont_ccl_encoder_alist)
	(Vtranslation_hash_table_vector): Remove.
	* category.c (syms_of_category): Update.
	(Vword_combining_categories, Vword_separating_categories): Remove.
	* callproc.c (syms_of_callproc): Update.
	(Vconfigure_info_directory, Vdata_directory, Vdoc_directory)
	(Vexec_directory, Vexec_path, Vexec_suffixes)
	(Vinitial_environment, Vprocess_environment)
	(Vshared_game_score_directory, Vshell_file_name): Remove.
	* callint.c (syms_of_callint): Update.
	(Vcommand_debug_status, Vcommand_history, Vcurrent_prefix_arg)
	(Vmark_even_if_inactive, Vmouse_leave_buffer_hook): Remove.
	* bytecode.c (syms_of_bytecode): Update.
	(Vbyte_code_meter, byte_metering_on): Remove.
	* buffer.c (syms_of_buffer): Update.
	(Vafter_change_functions, Vbefore_change_functions)
	(Vchange_major_mode_hook, Vfirst_change_hook)
	(Vinhibit_read_only, Vkill_buffer_query_functions)
	(Vtransient_mark_mode, inhibit_modification_hooks): Remove.
	* alloc.c (syms_of_alloc): Update.
	(Vgc_cons_percentage, Vgc_elapsed, Vmemory_full)
	(Vmemory_signal_data, Vpost_gc_hook, Vpurify_flag)
	(cons_cells_consed, floats_consed, garbage_collection_messages)
	(gc_cons_threshold, gcs_done, intervals_consed)
	(misc_objects_consed, pure_bytes_used, string_chars_consed)
	(strings_consed, symbols_consed, vector_cells_consed): Remove.

	* lisp.h (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL)
	(DEFVAR_INT): Assume global is in `globals'.
	* alloc.c (globals): Define.

1564 1565 1566 1567 1568
2011-01-18  Tom Tromey  <tromey@redhat.com>

	* image.c (Vimagemagick_render_type): Remove redundant
	definition.

1569 1570 1571 1572 1573 1574 1575
2011-01-18  Tom Tromey  <tromey@redhat.com>

	* xdisp.c (emacs_scroll_step): Rename from scroll_step.
	(try_scrolling): Rename argument to 'arg_scroll_conservatively'.
	(redisplay_window): Update.
	(syms_of_xdisp): Update.

1576 1577 1578 1579 1580 1581 1582 1583 1584
2011-01-18  Tom Tromey  <tromey@redhat.com>

	* gtkutil.h (x_gtk_use_old_file_dialog, x_gtk_show_hidden_files)
	(x_gtk_file_dialog_help_text, x_gtk_whole_detached_tool_bar):
	Declare.
	* gtkutil.c (xg_uses_old_file_dialog):
	(xg_get_file_with_chooser):
	(xg_tool_bar_detach_callback): Don't redeclare globals.

1585 1586 1587 1588 1589
2011-01-18  Tom Tromey  <tromey@redhat.com>

	* lisp.h (DEFVAR_BUFFER_DEFAULTS): New macro.
	* buffer.c (syms_of_buffer): Use DEFVAR_BUFFER_DEFAULTS.

1590 1591 1592 1593 1594 1595 1596 1597
2011-01-18  Paul Eggert  <eggert@cs.ucla.edu>

	* lisp.h (DECL_ALIGN): Define if HAVE_ATTRIBUTE_ALIGNED, not if
	defined __GNUC__.  ../configure now checks for this GCC feature,
	which is now also supported by IBM and Oracle compilers.
	(USE_LSB_TAG) [defined DECL_ALIGN]: Also define if defined __sun,
	since Solaris malloc returns mult-of-8.

1598
2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1599 1600 1601

	* image.c (syms_of_image): Don't access XSYMBOL's internals directly.

Paul Eggert's avatar
Paul Eggert committed
1602
2011-01-17  Paul Eggert  <eggert@cs.ucla.edu>
Paul Eggert's avatar
Paul Eggert committed
1603

1604 1605 1606 1607 1608
	Give a name FLOAT_TO_STRING_BUFSIZE to the constant 350.
	* lisp.h (FLOAT_TO_STRING_BUFSIZE): New macro.
	* data.c (Fnumber_to_string): Use it.
	* print.c (float_to_string, print_object): Likewise.

Paul Eggert's avatar
Paul Eggert committed
1609 1610 1611 1612 1613 1614 1615 1616 1617 1618
	Include <unistd.h> unilaterally.
	* alloc.c, atimer.c, buffer.c, callproc.c, dired.c, dispnew.c, doc.c:
	* doprnt.c, editfns.c, emacs.c, fileio.c, filelock.c, fns.c:
	* getloadavg.c, getpagesize.h, gmalloc.c, image.c, keyboard.c:
	* lread.c, process.c, process.h, ralloc.c, regex.c, sysdep.c:
	* systty.h, term.c, termcap.c, xfns.c, xrdb.c, xselect.c, xsmfns.c:
	* xterm.c:
	Include <unistd.h> without worrying about HAVE_UNISTD_H, since
	unistd.h is always present now, possibly supplied by gnulib.

1619 1620
	* mktime.c: Remove; moving to ../lib.

Paul Eggert's avatar
Paul Eggert committed
1621 1622 1623
	Use gnulib's mktime module.
	* deps.mk (mktime.o): Remove rule.

Paul Eggert's avatar
Paul Eggert committed
1624 1625 1626 1627 1628 1629 1630
	Use gnulib's ftoastr module.
	* print.c: Include ftoastr.h.
	(FLT_RADIX, DBL_MANT_DIG, DBL_DIG, DBL_MIN, DOUBLE_DIGITS_BOUND):
	Remove; no longer needed.
	(float_to_string): Use dtoastr rather than rolling our own code,
	which had an off-by-one bug on non-IEEE hosts.

Paul Eggert's avatar
Paul Eggert committed
1631 1632 1633 1634 1635 1636
	Automate syncing from gnulib.
	* Makefile.in (lib): New macro.
	(ALL_CFLAGS): Add -I$(lib) -I$(srcdir)/../lib.
	($(lib)/libgnu.a): New rule.
	(temacs$(EXEEXT)): Also link $(lib)/libgnu.a.

1637 1638 1639 1640
	* xfns.c (x_real_positions): Fix signedness of local var 'ign'.
	XGetGeometry wants unsigned int *, not int *, for its last 4 args,
	so change the type of 'ign' to unsigned int from int.

1641 1642
	* regex.c (analyse_first): Remove unreachable 'continue' statement.

1643 1644 1645 1646
	* xterm.h (struct x_display_info): Remove stray semicolon.
	The extra semicolon didn't conform to the C standard.
	Problem reported by Sun cc.

1647 1648 1649 1650 1651 1652 1653
	* lisp.h: Redo flags and XSET slightly to avoid overflow diagnostics.
	These changes make compilation easier to follow with Sun cc.
	(ARRAY_MARK_FLAG): Make it signed, so that it can be assigned to
	EMACS_INT values without provoking overflow diagnostics.
	(PSEUDOVECTOR_FLAG): Likewise, for consistency.
	(XSET) [! USE_LSB_TAG]: Use unsigned left shift to avoid overflow
	diagnostic with signed left shift.
1654

1655 1656
	* fileio.c (make_temp_name): Remove unreachable code.

1657 1658 1659 1660
	* fontset.c (free_realized_fontset): Mark unreachable code with if (0).
	Previously it was marked by preceding it with "return;", but
	Sun cc complains about this.

1661 1662 1663 1664
	* coding.c (decode_coding_emacs_mule): Remove unreachable code.
	This is a typo left over from 2009-03-06T07:51:52Z!handa@m17n.org,
	which fixed Bug#2370.  Caught by Sun cc.

1665 1666 1667 1668 1669