"Fossies" - the Fresh Open Source Software Archive

Member "emacs-25.3/src/ChangeLog.11" (14 Apr 2017, 1120146 Bytes) of package /linux/misc/emacs-25.3.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "ChangeLog.11": 25.1_vs_25.2.

    1 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
    2 
    3 	* Version 23.3 released.
    4 
    5 2011-03-07  Ben Key  <bkey76@gmail.com>
    6 
    7 	* w32fns.c (FILE_NAME_COMBO_BOX, FILE_NAME_LIST): Define.
    8 	(file_dialog_callback): Fix locating the window handle of the File Name
    9 	text field.  After disabling it, set focus on the list control.
   10 	(Fx_file_dialog): If only_dir_p is non-nil, set the text of the File
   11 	Name text field to "Current Directory" if it does not already have
   12 	another value.  (Bug#8181)
   13 
   14 2011-03-07  Adrian Robert  <Adrian.B.Robert@gmail.com>
   15 
   16 	* nsterm.m (ns_draw_window_cursor): Fix handling of "cursor_width"
   17 	parameter for hbar cursors.  Based on a patch by Ben Key
   18 	<bkey76@gmail.com>.
   19 
   20 2011-03-06  Chong Yidong  <cyd@stupidchicken.com>
   21 
   22 	* xdisp.c (redisplay_window): Revert incorrect logic in 2011-03-06
   23 	change.
   24 
   25 2011-03-06  Paul Eggert  <eggert@cs.ucla.edu>
   26 
   27 	current_column: Now returns EMACS_INT, fixing some iftc
   28 	that was introduced in the 2002-06-02 change "temporarily"; see
   29 	<http://lists.gnu.org/archive/html/emacs-devel/2002-06/msg00039.html>.
   30 	* bytecode.c (Fbyte_code): Don't cast current_column () to int.
   31 	* cmds.c (internal_self_insert): Likewise.
   32 	* indent.c (Fcurrent_column): Likewise.
   33 	* keymap.c (describe_command): Likewise.
   34 	* minibuf.c (read_minibuf): Likewise.
   35 	* indent.c (Fcurrent_indentation): Don't cast position_indentation ()
   36 	to int.
   37 	* xdisp.c (redisplay_internal, redisplay_window, decode_mode_spec):
   38 	Likewise.
   39 	* cmds.c (internal_self_insert): Declare locals to be EMACS_INT,
   40 	not int or double, if they might contain a column number.
   41 	* indent.c (current_column, Findent_to, indented_beyond_p):
   42 	(compute_motion, vmotion): Likewise.
   43 	* keymap.c (describe_command): Likewise.
   44 	* xdisp.c (pint2str): Likewise.
   45 	* indent.c (last_known_column): Now EMACS_INT, not int.
   46 	* minibuf.c (minibuf_prompt_width): Likewise.
   47 	* indent.c (current_column, current_column_1, position_indentation):
   48 	Return EMACS_INT, not double.
   49 	* lisp.h (current_column): Likewise.
   50 	* indent.c (indented_beyond_p): Last arg is now EMACS_INT, not double.
   51 	All callers changed.
   52 	* lisp.h (indented_beyond_p): Likewise.
   53 
   54 	* minibuf.c (minibuf_prompt, minibuf_prompt_width): Move here
   55 	from xdisp.c, and make static, since these are used only here.
   56 	* window.h, xdisp.c (minibuf_prompt, minibuf_prompt_width):
   57 	Remove decls.
   58 
   59 	* cmds.c (internal_self_insert): Reindent to match Emacs style.
   60 	* xdisp.c (redisplay_window): Likewise.
   61 
   62 	* xdisp.c: Rename or move local decls to avoid shadowing.
   63 	(init_iterator, handle_fontified_prop, handle_single_display_spec):
   64 	(message_dolog, message_with_string, redisplay_internal):
   65 	(redisplay_window, try_window_reusing_current_matrix, try_window_id):
   66 	(compute_line_metrics, highlight_trailing_whitespace, cursor_row_p):
   67 	(display_line, display_string, rows_from_pos_range):
   68 	(mouse_face_from_buffer_pos, note_mouse_highlight, expose_frame):
   69 	Rename or move local decls.
   70 	* xdisp.c (BUILD_GLYPHLESS_GLYPH_STRING): Omit unused local var.
   71 	(produce_glyphless_glyph): Make a pointer "const"
   72 	since it might point to immutable storage.
   73 	(update_window_cursor): Now static, since it's not used elsewhere.
   74 	(SKIP_GLYPHS): Remove unused macro.
   75 
   76 2011-03-06  Michael Shields  <shields@msrl.com>  (tiny change)
   77 
   78 	* window.c (Fnext_window): Doc fix.  (Bug#5567)
   79 
   80 2011-03-05  Chong Yidong  <cyd@stupidchicken.com>
   81 
   82 	* nsterm.m (ns_draw_window_cursor): Fix typo in 2011-02-23 commit.
   83 
   84 2011-03-02  Ken Brown  <kbrown@cornell.edu>
   85 
   86 	* sheap.c (STATIC_HEAP_SIZE): Increase to 13MB.
   87 
   88 2011-03-02  Paul Eggert  <eggert@cs.ucla.edu>
   89 
   90 	Work around some portability problems with symlinks.
   91 
   92 	* fileio.c (Fmake_symbolic_link): Treat ENOSYS specially, and
   93 	generate a special message for it.  Suggested by Eli Zaretskii in
   94 	<http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00995.html>.
   95 	(Frename_file, Fmake_symbolic_link, Ffile_symlink_p):
   96 	Simplify the code by assuming that the readlink and symlink calls
   97 	exist, even if they always fail on this host.
   98 	(Ffile_readable_p): Likewise, for fifos.
   99 	* config.in: Regenerate.
  100 
  101 2011-02-27  Chong Yidong  <cyd@stupidchicken.com>
  102 
  103 	* frame.c (store_frame_param): Don't store value directly in
  104 	buffer_list and buried_buffer_list; copy the list and remove dead
  105 	buffers (Bug#7898).
  106 
  107 2011-02-27  Eli Zaretskii  <eliz@gnu.org>
  108 
  109 	* msdos.c (readlink) [DJGPP < 2.04]: New stub function.
  110 
  111 	* msdos.h (readlink) [DJGPP < 2.04]: Declare prototype.
  112 
  113 	* w32.c (symlink, readlink): New stub functions.
  114 
  115 2011-02-27  Paul Eggert  <eggert@cs.ucla.edu>
  116 
  117 	* scroll.c (CHECK_BOUNDS): #define only if GLYPH_DEBUG.
  118 	This avoids a gcc warning in some configurations.
  119 
  120 	* frame.c (x_set_screen_gamma): Rename local to avoid shadowing.
  121 
  122 	* frame.h: Avoid gcc -Wmissing-prototypes diagnostics.
  123 	(set_menu_bar_lines, x_get_resource_string): New decls.
  124 	* msdos.c (set_menu_bar_lines): Omit decl.
  125 
  126 	* dispextern.h (struct glyph): Make u.img_id int, not unsigned.
  127 	It's always given int values and used as an int.  This suppresses
  128 	a gcc "comparison of unsigned expression >= 0" warning in some
  129 	configurations.
  130 
  131 	* dispnew.c: Rename locals to avoid shadowing.
  132 	(update_text_area, scrolling_window, update_frame_1): Rename locals.
  133 
  134 2011-02-26  Paul Eggert  <eggert@cs.ucla.edu>
  135 
  136 	* dispnew.c: Fix problems uncovered by gcc -Wstrict-prototypes.
  137 	(copy_glyph_row_contents): Remove; not used.
  138 	(frame_row_to_window, check_current_matrix_flags):
  139 	(window_change_signal): Now static, since they're not used elsewhere.
  140 	(check_current_matrix_flags): Surround with "#if 0", since its
  141 	only use is in a comment.  Maybe both the comment and the "#if 0"
  142 	stuff should be removed?
  143 
  144 	* dispnew.c: Fix problem uncovered by gcc -Wunused-variable.
  145 	(adjust_frame_glyphs_for_window_redisplay): Make 'w' local to the
  146 	contexts that actually need it.
  147 
  148 2011-02-26  Eli Zaretskii  <eliz@gnu.org>
  149 
  150 	* s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
  151 	(lstat): Define for DJGPP < 2.04.
  152 
  153 2011-02-25  Paul Eggert  <eggert@cs.ucla.edu>
  154 
  155 	* dired.c (Ffile_attributes): Increase size of modes from 10 to 12
  156 	as per recent filemodestring API change.  Reported by Jonas Öster in
  157 	<http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg01069.html>.
  158 
  159 2011-02-23  Ben Key  <bkey76@gmail.com>
  160 
  161 	* nsterm.m (ns_draw_window_cursor): Obey the cursor_width argument
  162 	directly, for bar cursors.
  163 
  164 2011-02-23  Chong Yidong  <cyd@stupidchicken.com>
  165 
  166 	* xdisp.c (set_frame_cursor_types): Don't write an undefined value
  167 	into the frame's cursor_width.
  168 
  169 2011-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
  170 
  171 	* print.c (print_object): Never print old-style backquotes.
  172 	Obey escapeflag for hash tables as well.
  173 
  174 2011-02-23  Kenichi Handa  <handa@m17n.org>
  175 
  176 	* font.c (font_open_entity): Be sure to set scaled_pixel_size.
  177 	(font_find_for_lface): Check if attrs[LFACE_HEIGHT_INDEX] is integer.
  178 
  179 2011-02-22  Paul Eggert  <eggert@cs.ucla.edu>
  180 
  181 	* dired.c (Ffile_attributes): Simplify and avoid #ifdef.
  182 
  183 2011-02-22  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
  184 
  185 	* lread.c (openp): Correct Boolean typo in last commit.
  186 
  187 2011-02-22  Adrian Robert  <Adrian.B.Robert@gmail.com>
  188 
  189 	* nsterm.m (EmacsView-keyDown:): Don't pass shift-only-modified
  190 	key to Emacs, treat as unmodified (go to input manager processing).
  191 
  192 2011-02-22  Paul Eggert  <eggert@cs.ucla.edu>
  193 
  194 	Assume S_ISLNK etc. work, since gnulib supports this.
  195 	* config.in: Regenerate.
  196 	* dired.c (lstat): Remove.
  197 	(file_name_completion): Assume S_ISDIR works.
  198 	(file_name_completion_stat): Assume S_ISLNK works.
  199 	Do not bother calling stat unless lstat says it's a symlink.
  200 	* fileio.c (S_ISLNK, S_ISFIFO, S_ISREG, lstat): Remove.
  201 	(Fcopy_file): Assume S_ISREG and S_ISLNK work.
  202 	(check_writable, Ffile_writable_p, Fset_file_times):
  203 	Assume S_ISDIR works.
  204 	(Ffile_readable_p): Use S_IFIFO, not S_ISFIFO, to guess whether
  205 	fifos exist.
  206 	(Ffile_regular_p, Finsert_file_contents): Assume S_ISREG works.
  207 	* filelock.c (S_ISLNK): Remove.
  208 	* lread.c (openp): Assume S_ISDIR works.
  209 	* xrdb.c (S_ISDIR): Remove.
  210 
  211 2011-02-21  Eli Zaretskii  <eliz@gnu.org>
  212 
  213 	* makefile.w32-in ($(BLD)/filemode.$(O)): Move recipe to
  214 	lib/makefile.w32-in.
  215 	($(BLD)/dired.$(O)): Depend on $(EMACS_ROOT)/lib/filemode.h.
  216 	(GLOBAL_SOURCES): Remove filemode.c.
  217 	(OBJ1): Remove $(BLD)/filemode.$(O).
  218 
  219 2011-02-21  Paul Eggert  <eggert@cs.ucla.edu>
  220 
  221 	Import filemode module from gnulib.
  222 	* Makefile.in (base_obj): Remove filemode.o, as it's now in ../lib.
  223 	* deps.mk (dired.o): Depend on ../lib/filemode.h, too.
  224 	(filemode.o): Remove; this is now in ../lib.
  225 	* dired.c: Include <filemode.h>.
  226 	(filemodestring): Remove now-redundant decl.
  227 	* config.in: Regenerate.
  228 
  229 2011-02-20  Eli Zaretskii  <eliz@gnu.org>
  230 
  231 	* makefile.w32-in ($(BLD)/fns.$(O)): Depend on
  232 	$(EMACS_ROOT)/lib/md5.h and on stamp_BLD.
  233 
  234 2011-02-20  Christoph Scholtes  <cschol2112@gmail.com>
  235 
  236 	* makefile.w32-in: Remove md5.$(O).
  237 	($(BLD)/md5.$(O)): Remove prerequisites, moved to
  238 	lib/makefile.w32-in.
  239 
  240 2011-02-20  Paul Eggert  <eggert@cs.ucla.edu>
  241 
  242 	Import crypto/md5 and stdint modules from gnulib.
  243 	* Makefile.in (base_obj): Remove md5.o, since this file
  244 	is in lib now.
  245 	* config.in: Regenerate.
  246 	* md5.h, md5.h: Move to ../lib.
  247 	* deps.mk (md5.o): Remove.
  248 	(fns.o): Depend on ../lib/md5.h, not md5.h.
  249 
  250 2011-02-19  Eli Zaretskii  <eliz@gnu.org>
  251 
  252 	* termcap.c (tputs): Don't declare baud_rate.
  253 
  254 	* s/msdos.h (strtold): Define to _strtold.
  255 
  256 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
  257 
  258 	* process.c (Fstart_process, Fmake_serial_process)
  259 	(Fmake_network_process, server_accept_connection):
  260 	Use empty_unibyte_string.
  261 
  262 	* alloc.c (make_unibyte_string): Don't SET_UNIBYTE redundantly.
  263 
  264 	* lread.c (Qdir_ok): New constant.
  265 	(syms_of_lread): Initialize it.
  266 	(openp): Don't ignore directories if the predicate returns dir-ok.
  267 
  268 2011-02-18  Eli Zaretskii  <eliz@gnu.org>
  269 
  270 	* xdisp.c (display_line): Fix the change made for bug#7939.
  271 
  272 	* terminal.c (create_terminal): Use default-keyboard-coding-system
  273 	and default-terminal-coding-system to initialize coding systems of
  274 	the new terminal.  (Bug#7840)
  275 
  276 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
  277 
  278 	* lisp.h (BYTE_MARK_STACK): New macro.
  279 	(mark_byte_stack): Only declare if BYTE_MARK_STACK is set.
  280 
  281 	* bytecode.c (BYTE_MAINTAIN_TOP): New macros.
  282 	(struct byte_stack): Only define `top' and `bottom' if used.
  283 	(mark_byte_stack): Only define if used.
  284 	(BEFORE_POTENTIAL_GC, AFTER_POTENTIAL_GC): Nullify if BYTE_MAINTAIN_TOP
  285 	is not set.
  286 	(Fbyte_code): Don't set `bottom' unless BYTE_MAINTAIN_TOP is set.
  287 
  288 	* term.c (OUTPUT_IF): Use OUTPUT.
  289 
  290 	* alloc.c (Fgarbage_collect): When using stack scanning, don't
  291 	redundantly scan byte-code stacks, catchlist, and handlerlist.
  292 
  293 2011-02-17  Jan Djärv  <jan.h.d@swipnet.se>
  294 
  295 	* nsfns.m (Fx_create_frame, ns_set_name_as_filename)
  296 	(Fns_read_file_name): Replace B_ with BVAR.
  297 
  298 	* nsterm.m (ns_term_init): Use KVAR.
  299 
  300 2011-02-16  Eli Zaretskii  <eliz@gnu.org>
  301 
  302 	* msdos.c (internal_terminal_init): Use KVAR.
  303 
  304 	* w32fns.c (Fx_create_frame): Use KVAR.
  305 
  306 	* w32term.c (w32_create_terminal): Use KVAR.
  307 
  308 	* s/ms-w32.h (MODE_LINE_BINARY_TEXT): Remove.
  309 	(getloadavg): Declare prototype which was removed from lisp.h.
  310 
  311 	* xdisp.c (decode_mode_spec): Don't use MODE_LINE_BINARY_TEXT.
  312 
  313 	* fileio.c (Finsert_file_contents, Fwrite_region):
  314 	Remove references to buffer_file_type.
  315 	(syms_of_fileio): Don't intern and staticpro
  316 	find-buffer-file-type.
  317 
  318 	* callproc.c (syms_of_callproc): Remove references to
  319 	buffer_file_type.
  320 
  321 	* buffer.c (reset_buffer_local_variables): Don't set
  322 	buffer_file_type.
  323 	(init_buffer_once): Likewise.
  324 	(syms_of_buffer): Don't define buffer-file-type.
  325 
  326 	* buffer.h (struct buffer): Remove buffer_file_type.
  327 
  328 2011-02-16  Tom Tromey  <tromey@parfait>
  329 
  330 	* callint.c (Fcall_interactively): Update for change to field names.
  331 	* doc.c (Fsubstitute_command_keys): Update for change to field names.
  332 	* cmds.c (Fself_insert_command): Update for change to field names.
  333 	* keymap.c (Fcurrent_active_maps, Fkey_binding)
  334 	(Fdescribe_buffer_bindings): Update for change to field names.
  335 	* macros.c (Fstart_kbd_macro, end_kbd_macro, Fend_kbd_macro)
  336 	(store_kbd_macro_char, Fcall_last_kbd_macro, Fexecute_kbd_macro):
  337 	Update for change to field names.
  338 	* keyboard.c (echo_char, echo_dash, echo_now, cancel_echoing)
  339 	(echo_length, echo_truncate, cmd_error, command_loop_1)
  340 	(read_char, kbd_buffer_store_event_hold, make_lispy_event)
  341 	(menu_bar_items, tool_bar_items, read_char_minibuf_menu_prompt)
  342 	(read_key_sequence, Fcommand_execute, Fexecute_extended_command)
  343 	(Fdiscard_input, init_kboard, init_keyboard, mark_kboards):
  344 	Update for change to field names.
  345 	* xfns.c (Fx_create_frame): Update for change to field names.
  346 	* xterm.c (x_connection_closed, x_term_init): Update for change to
  347 	field names.
  348 	* term.c (term_get_fkeys_1, CONDITIONAL_REASSIGN, init_tty):
  349 	Update for change to field names.
  350 	* window.c (window_scroll_pixel_based, window_scroll_line_based):
  351 	Update for change to field names.
  352 	* frame.c (make_frame_without_minibuffer, Fhandle_switch_frame)
  353 	(delete_frame): Update for change to field names.
  354 	* lisp.h (DEFVAR_KBOARD): Update for change to field names.
  355 	* keyboard.h (struct kboard): Rename all Lisp_Object fields.
  356 	(KBOARD_INTERNAL_FIELD, KVAR): New macros.
  357 
  358 2011-02-16  Tom Tromey  <tromey@redhat.com>
  359 
  360 	* lisp.h (DEFVAR_BUFFER_DEFAULTS): Use BVAR.
  361 
  362 2011-02-16  Tom Tromey  <tromey@parfait>
  363 
  364 	* xfns.c (x_create_tip_frame, Fx_show_tip): Replace B_ with BVAR.
  365 	* xfaces.c (compute_char_face): Replace B_ with BVAR.
  366 	* xdisp.c (pos_visible_p, init_iterator, reseat_1)
  367 	(message_dolog, update_echo_area, ensure_echo_area_buffers)
  368 	(with_echo_area_buffer, setup_echo_area_for_printing)
  369 	(set_message_1, update_menu_bar, update_tool_bar)
  370 	(text_outside_line_unchanged_p, redisplay_internal)
  371 	(try_scrolling, try_cursor_movement, redisplay_window)
  372 	(try_window_reusing_current_matrix, row_containing_pos)
  373 	(try_window_id, get_overlay_arrow_glyph_row, display_line)
  374 	(Fcurrent_bidi_paragraph_direction, display_mode_lines)
  375 	(decode_mode_spec_coding, decode_mode_spec, display_count_lines)
  376 	(get_window_cursor_type, note_mouse_highlight): Replace B_ with
  377 	BVAR.
  378 	* window.c (window_display_table, unshow_buffer, window_loop)
  379 	(window_min_size_2, set_window_buffer, Fset_window_buffer)
  380 	(select_window, Fforce_window_update, temp_output_buffer_show)
  381 	(Fset_window_configuration, save_window_save): Replace B_ with
  382 	BVAR.
  383 	* w32fns.c (x_create_tip_frame, Fx_show_tip, Fw32_shell_execute):
  384 	Replace B_ with BVAR.
  385 	* undo.c (record_point, record_insert, record_delete)
  386 	(record_marker_adjustment, record_first_change)
  387 	(record_property_change, Fundo_boundary, truncate_undo_list)
  388 	(Fprimitive_undo): Replace B_ with BVAR.
  389 	* syntax.h (Vstandard_syntax_table, CURRENT_SYNTAX_TABLE)
  390 	(SETUP_BUFFER_SYNTAX_TABLE): Replace B_ with BVAR.
  391 	* syntax.c (update_syntax_table, dec_bytepos, Fsyntax_table)
  392 	(Fset_syntax_table, Fmodify_syntax_entry, skip_chars)
  393 	(skip_syntaxes, scan_lists): Replace B_ with BVAR.
  394 	* search.c (compile_pattern_1, compile_pattern, looking_at_1)
  395 	(string_match_1, fast_looking_at, newline_cache_on_off)
  396 	(search_command, search_buffer, simple_search, boyer_moore)
  397 	(Freplace_match): Replace B_ with BVAR.
  398 	* process.c (get_process, list_processes_1, Fstart_process)
  399 	(Fmake_serial_process, Fmake_network_process)
  400 	(read_process_output, send_process, exec_sentinel)
  401 	(status_notify, setup_process_coding_systems): Replace B_ with
  402 	BVAR.
  403 	* print.c (PRINTDECLARE, PRINTPREPARE, PRINTFINISH, printchar)
  404 	(strout, print_string, temp_output_buffer_setup, print_object):
  405 	Replace B_ with BVAR.
  406 	* msdos.c (IT_frame_up_to_date): Replace B_ with BVAR.
  407 	* minibuf.c (read_minibuf, get_minibuffer, Fread_buffer):
  408 	Replace B_ with BVAR.
  409 	* marker.c (Fmarker_buffer, Fset_marker, set_marker_restricted)
  410 	(set_marker_both, set_marker_restricted_both, unchain_marker):
  411 	Replace B_ with BVAR.
  412 	* lread.c (readchar, unreadchar, openp, readevalloop)
  413 	(Feval_buffer, Feval_region): Replace B_ with BVAR.
  414 	* lisp.h (DOWNCASE_TABLE, UPCASE_TABLE): Replace B_ with BVAR.
  415 	* keymap.c (Flocal_key_binding, Fuse_local_map)
  416 	(Fcurrent_local_map, push_key_description)
  417 	(Fdescribe_buffer_bindings): Replace B_ with BVAR.
  418 	* keyboard.c (command_loop_1, read_char_minibuf_menu_prompt)
  419 	(read_key_sequence): Replace B_ with BVAR.
  420 	* intervals.h (TEXT_PROP_MEANS_INVISIBLE): Replace B_ with BVAR.
  421 	* intervals.c (set_point_both, get_local_map): Replace B_ with
  422 	BVAR.
  423 	* insdel.c (check_markers, insert_char, insert_1_both)
  424 	(insert_from_string_1, insert_from_gap, insert_from_buffer_1)
  425 	(adjust_after_replace, replace_range, del_range_2)
  426 	(modify_region, prepare_to_modify_buffer)
  427 	(Fcombine_after_change_execute): Replace B_ with BVAR.
  428 	* indent.c (buffer_display_table, recompute_width_table)
  429 	(width_run_cache_on_off, current_column, scan_for_column)
  430 	(Findent_to, position_indentation, compute_motion, vmotion):
  431 	Replace B_ with BVAR.
  432 	* fringe.c (get_logical_cursor_bitmap)
  433 	(get_logical_fringe_bitmap, update_window_fringes): Replace B_
  434 	with BVAR.
  435 	* frame.c (make_frame_visible_1): Replace B_ with BVAR.
  436 	* font.c (font_at): Replace B_ with BVAR.
  437 	* fns.c (Fbase64_encode_region, Fbase64_decode_region, Fmd5):
  438 	Replace B_ with BVAR.
  439 	* filelock.c (unlock_all_files, Flock_buffer, Funlock_buffer)
  440 	(unlock_buffer): Replace B_ with BVAR.
  441 	* fileio.c (Fexpand_file_name, Ffile_directory_p)
  442 	(Ffile_regular_p, Ffile_selinux_context)
  443 	(Fset_file_selinux_context, Ffile_modes, Fset_file_modes)
  444 	(Fset_file_times, Ffile_newer_than_file_p, decide_coding_unwind)
  445 	(Finsert_file_contents, choose_write_coding_system)
  446 	(Fwrite_region, build_annotations, Fverify_visited_file_modtime)
  447 	(Fset_visited_file_modtime, auto_save_error, auto_save_1)
  448 	(Fdo_auto_save, Fset_buffer_auto_saved): Replace B_ with BVAR.
  449 	* editfns.c (region_limit, Fmark_marker, save_excursion_save)
  450 	(save_excursion_restore, Fprevious_char, Fchar_before)
  451 	(general_insert_function, Finsert_char, Finsert_byte)
  452 	(make_buffer_string_both, Finsert_buffer_substring)
  453 	(Fcompare_buffer_substrings, subst_char_in_region_unwind)
  454 	(subst_char_in_region_unwind_1, Fsubst_char_in_region)
  455 	(Ftranslate_region_internal, save_restriction_restore)
  456 	(Fchar_equal): Replace B_ with BVAR.
  457 	* dispnew.c (Fframe_or_buffer_changed_p): Replace B_ with BVAR.
  458 	* dispextern.h (WINDOW_WANTS_MODELINE_P)
  459 	(WINDOW_WANTS_HEADER_LINE_P): Replace B_ with BVAR.
  460 	* dired.c (directory_files_internal): Replace B_ with BVAR.
  461 	* data.c (swap_in_symval_forwarding, set_internal)
  462 	(Fmake_local_variable, Fkill_local_variable, Flocal_variable_p):
  463 	Replace B_ with BVAR.
  464 	* composite.c (fill_gstring_header)
  465 	(composition_compute_stop_pos, composition_adjust_point)
  466 	(Ffind_composition_internal): Replace B_ with BVAR.
  467 	* coding.c (decode_coding, encode_coding)
  468 	(make_conversion_work_buffer, decode_coding_gap)
  469 	(decode_coding_object, encode_coding_object)
  470 	(Fdetect_coding_region, Ffind_coding_systems_region_internal)
  471 	(Funencodable_char_position, Fcheck_coding_systems_region):
  472 	Replace B_ with BVAR.
  473 	* cmds.c (Fself_insert_command, internal_self_insert): Replace B_
  474 	with BVAR.
  475 	* charset.c (Ffind_charset_region): Replace B_ with BVAR.
  476 	* character.h (FETCH_CHAR_ADVANCE, INC_BOTH, DEC_BOTH)
  477 	(ASCII_CHAR_WIDTH): Replace B_ with BVAR.
  478 	* character.c (chars_in_text, Fget_byte): Replace B_ with BVAR.
  479 	* category.h (Vstandard_category_table): Replace B_ with BVAR.
  480 	* category.c (check_category_table, Fcategory_table)
  481 	(Fset_category_table, char_category_set): Replace B_ with BVAR.
  482 	* casetab.c (Fcurrent_case_table, set_case_table): Replace B_ with
  483 	BVAR.
  484 	* casefiddle.c (casify_object, casify_region): Replace B_ with
  485 	BVAR.
  486 	* callproc.c (Fcall_process, Fcall_process_region): Replace B_
  487 	with BVAR.
  488 	* callint.c (check_mark, Fcall_interactively): Replace B_ with
  489 	BVAR.
  490 	* bytecode.c (Fbyte_code): Replace B_ with BVAR.
  491 	* buffer.h (FETCH_CHAR, FETCH_CHAR_AS_MULTIBYTE, BVAR): Replace B_
  492 	with BVAR.
  493 	* buffer.c (Fbuffer_live_p, Fget_file_buffer)
  494 	(get_truename_buffer, Fget_buffer_create)
  495 	(clone_per_buffer_values, Fmake_indirect_buffer, reset_buffer)
  496 	(reset_buffer_local_variables, Fbuffer_name, Fbuffer_file_name)
  497 	(Fbuffer_local_value, buffer_lisp_local_variables)
  498 	(Fset_buffer_modified_p, Frestore_buffer_modified_p)
  499 	(Frename_buffer, Fother_buffer, Fbuffer_enable_undo)
  500 	(Fkill_buffer, Fset_buffer_major_mode, set_buffer_internal_1)
  501 	(set_buffer_temp, Fset_buffer, set_buffer_if_live)
  502 	(Fbarf_if_buffer_read_only, Fbury_buffer, Ferase_buffer)
  503 	(Fbuffer_swap_text, swapfield_, Fbuffer_swap_text)
  504 	(Fset_buffer_multibyte, swap_out_buffer_local_variables)
  505 	(record_overlay_string, overlay_strings, init_buffer_once)
  506 	(init_buffer, syms_of_buffer): Replace B_ with BVAR.
  507 
  508 2011-02-16  Eli Zaretskii  <eliz@gnu.org>
  509 
  510 	* xdisp.c (redisplay_internal): Resynchronize `w' if the selected
  511 	window is changed inside calls to do_pending_window_change.
  512 	(Bug#8020)
  513 
  514 2011-02-16  Paul Eggert  <eggert@cs.ucla.edu>
  515 
  516 	Remove no-longer needed getloadavg symbols.
  517 	* m/alpha.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
  518 	* m/amdx86-64.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
  519 	* m/ia64.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
  520 	* m/ibms390.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
  521 	* m/macppc.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
  522 	* m/sparc.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
  523 	* m/template.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
  524 	* m/vax.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Remove.
  525 	* s/aix4-2.h (KERNEL_FILE, LDAV_SYMBOL): Remove.
  526 	* s/bsd-common.h (KERNEL_FILE, LDAV_SYMBOL): Remove #undef.
  527 	* s/hpux10-20.h (KERNEL_FILE, LOAD_AVE_TYPE, LOAD_AVE_CVT):
  528 	(LDAV_SYMBOL): Remove.
  529 	* s/unixware.h (LOAD_AVE_TYPE, LOAD_AVE_CVT, FSCALE): Remove.
  530 	* s/usg5-4-common.h (KERNEL_FILE, LDAV_SYMBOL): Remove.
  531 
  532 	Import getloadavg module from gnulib.
  533 	* deps.mk (getloadavg.o): Remove; gnulib now does this.
  534 	* lisp.h (getloadavg) [!defined HAVE_GETLOADAVG]: Remove; gnulib
  535 	now does this.
  536 	* s/freebsd.h (HAVE_GETLOADAVG): Remove; gnulib now does this.
  537 	* s/netbsd.h (HAVE_GETLOADAVG): Likewise.
  538 	* config.in: Regenerate.
  539 
  540 2011-02-15  Eli Zaretskii  <eliz@gnu.org>
  541 
  542 	* nsfns.m (ns_set_name_as_filename, Fns_read_file_name): Use B_.
  543 
  544 2011-02-14  Michael Welsh Duggan  <md5i@md5i.com>
  545 
  546 	* print.c (float_to_string): Ensure that a decimal point is
  547 	printed if using dtoastr (Bug#8033).
  548 
  549 2011-02-14  Eli Zaretskii  <eliz@gnu.org>
  550 
  551 	* msdos.c (IT_frame_up_to_date):
  552 	* s/msdos.h (MODE_LINE_BINARY_TEXT): Use B_ for the MS-DOS build.
  553 
  554 	* dired.c (directory_files_internal):
  555 	* fileio.c (Finsert_file_contents):
  556 	* insdel.c (prepare_to_modify_buffer):
  557 	* xdisp.c (pos_visible_p):
  558 	* s/ms-w32.h (MODE_LINE_BINARY_TEXT):
  559 	* w32fns.c (Fw32_shell_execute, Fx_show_tip, x_create_tip_frame):
  560 	Use B_ for the MS-Windows build.
  561 
  562 2011-02-14  Jan Djärv  <jan.h.d@swipnet.se>
  563 
  564 	* xrdb.c (x_load_resources): For LUCID and XFT, don't put a
  565 	resource that specifies helvetica for menus and dialogs.
  566 
  567 	* xmenu.c (apply_systemfont_to_dialog): Apply to *dialog.font.
  568 	(apply_systemfont_to_menu): Set resources *menubar*font and
  569 	*popup*font.  Remove defflt.
  570 	(set_frame_menubar, create_and_show_popup_menu):
  571 	Call apply_systemfont_to_menu before lw_create_widget.
  572 
  573 2011-02-14  Tom Tromey  <tromey@redhat.com>
  574 
  575 	* buffer.c (init_buffer_once, syms_of_buffer): Use B_ in DOS_NT case.
  576 
  577 	* keyboard.h: Remove obsolete comment.
  578 
  579 2011-02-14  Tom Tromey  <tromey@parfait>
  580 
  581 	* composite.c (fill_gstring_header)
  582 	(composition_compute_stop_pos, composition_adjust_point)
  583 	(Ffind_composition_internal): Use B_.
  584 	* intervals.c (set_point_both, get_local_map): Use B_.
  585 	* callproc.c (Fcall_process, Fcall_process_region): Use B_.
  586 	* process.c (get_process, list_processes_1, Fstart_process)
  587 	(Fmake_serial_process, Fmake_network_process)
  588 	(read_process_output, send_process, exec_sentinel)
  589 	(status_notify, setup_process_coding_systems): Use B_.
  590 	* bytecode.c (Fbyte_code): Use B_.
  591 	* syntax.c (update_syntax_table, dec_bytepos, Fsyntax_table)
  592 	(Fset_syntax_table, Fmodify_syntax_entry, skip_chars)
  593 	(skip_syntaxes, scan_lists): Use B_.
  594 	* lread.c (readchar, unreadchar, openp, readevalloop)
  595 	(Feval_buffer, Feval_region): Use B_.
  596 	* print.c (printchar, strout, print_string, PRINTDECLARE)
  597 	(PRINTPREPARE, PRINTFINISH, temp_output_buffer_setup)
  598 	(print_object): Use B_.
  599 	* font.c (font_at): Use B_.
  600 	* fns.c (Fbase64_encode_region, Fbase64_decode_region, Fmd5):
  601 	Use B_.
  602 	* callint.c (check_mark, Fcall_interactively): Use B_.
  603 	* editfns.c (region_limit, Fmark_marker, save_excursion_save)
  604 	(save_excursion_restore, Fprevious_char, Fchar_before)
  605 	(general_insert_function, Finsert_char, Finsert_byte)
  606 	(make_buffer_string_both, Finsert_buffer_substring)
  607 	(Fcompare_buffer_substrings, subst_char_in_region_unwind)
  608 	(subst_char_in_region_unwind_1, Fsubst_char_in_region)
  609 	(Ftranslate_region_internal, save_restriction_restore)
  610 	(Fchar_equal): Use B_.
  611 	* data.c (swap_in_symval_forwarding, set_internal)
  612 	(Fmake_local_variable, Fkill_local_variable, Flocal_variable_p):
  613 	Use B_.
  614 	* undo.c (record_point, record_insert, record_delete)
  615 	(record_marker_adjustment, record_first_change)
  616 	(record_property_change, Fundo_boundary, truncate_undo_list)
  617 	(Fprimitive_undo): Use B_.
  618 	* search.c (compile_pattern_1, compile_pattern, looking_at_1)
  619 	(string_match_1, fast_looking_at, newline_cache_on_off)
  620 	(search_command, search_buffer, simple_search, boyer_moore)
  621 	(Freplace_match): Use B_.
  622 	* indent.c (buffer_display_table, recompute_width_table)
  623 	(width_run_cache_on_off, current_column, scan_for_column)
  624 	(Findent_to, position_indentation, compute_motion, vmotion):
  625 	Use B_.
  626 	* casefiddle.c (casify_object, casify_region): Use B_.
  627 	* casetab.c (Fcurrent_case_table, set_case_table): Use B_.
  628 	* cmds.c (Fself_insert_command, internal_self_insert): Use B_.
  629 	* fileio.c (Fexpand_file_name, Ffile_directory_p)
  630 	(Ffile_regular_p, Ffile_selinux_context)
  631 	(Fset_file_selinux_context, Ffile_modes, Fset_file_modes)
  632 	(Fset_file_times, Ffile_newer_than_file_p, decide_coding_unwind)
  633 	(Finsert_file_contents, choose_write_coding_system)
  634 	(Fwrite_region, build_annotations, Fverify_visited_file_modtime)
  635 	(Fset_visited_file_modtime, auto_save_error, auto_save_1)
  636 	(Fdo_auto_save, Fset_buffer_auto_saved): Use B_.
  637 	* minibuf.c (read_minibuf, get_minibuffer, Fread_buffer): Use B_.
  638 	* marker.c (Fmarker_buffer, Fset_marker, set_marker_restricted)
  639 	(set_marker_both, set_marker_restricted_both, unchain_marker):
  640 	Use B_.
  641 	* insdel.c (check_markers, insert_char, insert_1_both)
  642 	(insert_from_string_1, insert_from_gap, insert_from_buffer_1)
  643 	(adjust_after_replace, replace_range, del_range_2)
  644 	(modify_region, prepare_to_modify_buffer)
  645 	(Fcombine_after_change_execute): Use B_.
  646 	* filelock.c (unlock_all_files, Flock_buffer, Funlock_buffer)
  647 	(unlock_buffer): Use B_.
  648 	* keymap.c (Flocal_key_binding, Fuse_local_map)
  649 	(Fcurrent_local_map, push_key_description)
  650 	(Fdescribe_buffer_bindings): Use B_.
  651 	* keyboard.c (command_loop_1, read_char_minibuf_menu_prompt)
  652 	(read_key_sequence): Use B_.
  653 	* fringe.c (get_logical_cursor_bitmap)
  654 	(get_logical_fringe_bitmap, update_window_fringes): Use B_.
  655 	* xfns.c (x_create_tip_frame, Fx_show_tip): Use B_.
  656 	* xfaces.c (compute_char_face): Use B_.
  657 	* character.c (chars_in_text, Fget_byte): Use B_.
  658 	* category.c (check_category_table, Fcategory_table)
  659 	(Fset_category_table, char_category_set): Use B_.
  660 	* coding.c (decode_coding, encode_coding)
  661 	(make_conversion_work_buffer, decode_coding_gap)
  662 	(decode_coding_object, encode_coding_object)
  663 	(Fdetect_coding_region, Ffind_coding_systems_region_internal)
  664 	(Funencodable_char_position, Fcheck_coding_systems_region):
  665 	Use B_.
  666 	* charset.c (Ffind_charset_region): Use B_.
  667 	* window.c (window_display_table, unshow_buffer, window_loop)
  668 	(window_min_size_2, set_window_buffer, Fset_window_buffer)
  669 	(select_window, Fforce_window_update, temp_output_buffer_show)
  670 	(Fset_window_configuration, save_window_save): Use B_.
  671 	* xdisp.c (pos_visible_p, init_iterator, reseat_1)
  672 	(message_dolog, update_echo_area, ensure_echo_area_buffers)
  673 	(with_echo_area_buffer, setup_echo_area_for_printing)
  674 	(set_message_1, update_menu_bar, update_tool_bar)
  675 	(text_outside_line_unchanged_p, redisplay_internal)
  676 	(try_scrolling, try_cursor_movement, redisplay_window)
  677 	(try_window_reusing_current_matrix, row_containing_pos)
  678 	(try_window_id, get_overlay_arrow_glyph_row, display_line)
  679 	(Fcurrent_bidi_paragraph_direction, display_mode_lines)
  680 	(decode_mode_spec_coding, decode_mode_spec, display_count_lines)
  681 	(get_window_cursor_type, note_mouse_highlight): Use B_.
  682 	* frame.c (make_frame_visible_1): Use B_.
  683 	* dispnew.c (Fframe_or_buffer_changed_p): Use B_.
  684 	* dispextern.h (WINDOW_WANTS_HEADER_LINE_P)
  685 	(WINDOW_WANTS_MODELINE_P): Use B_.
  686 	* syntax.h (Vstandard_syntax_table): Update.
  687 	(CURRENT_SYNTAX_TABLE, SETUP_BUFFER_SYNTAX_TABLE): Use B_.
  688 	* intervals.h (TEXT_PROP_MEANS_INVISIBLE): Update.
  689 	(TEXT_PROP_MEANS_INVISIBLE): Use B_.
  690 	* character.h (FETCH_CHAR_ADVANCE): Update.
  691 	(INC_BOTH, ASCII_CHAR_WIDTH, DEC_BOTH): Use B_.
  692 	* category.h (Vstandard_category_table): Update.
  693 	* lisp.h (DEFVAR_BUFFER_DEFAULTS): Update for change to field
  694 	names.
  695 	(DOWNCASE_TABLE, UPCASE_TABLE): Use B_.
  696 	* buffer.c (swapfield_): New macro.
  697 	(Fbuffer_swap_text): Use swapfield_ where appropriate.
  698 	(Fbuffer_live_p, Fget_file_buffer, get_truename_buffer)
  699 	(Fget_buffer_create, clone_per_buffer_values)
  700 	(Fmake_indirect_buffer, reset_buffer)
  701 	(reset_buffer_local_variables, Fbuffer_name, Fbuffer_file_name)
  702 	(Fbuffer_local_value, buffer_lisp_local_variables)
  703 	(Fset_buffer_modified_p, Frestore_buffer_modified_p)
  704 	(Frename_buffer, Fother_buffer, Fbuffer_enable_undo)
  705 	(Fkill_buffer, Fset_buffer_major_mode, set_buffer_internal_1)
  706 	(set_buffer_temp, Fset_buffer, set_buffer_if_live)
  707 	(Fbarf_if_buffer_read_only, Fbury_buffer, Ferase_buffer)
  708 	(Fbuffer_swap_text, Fset_buffer_multibyte)
  709 	(swap_out_buffer_local_variables, record_overlay_string)
  710 	(overlay_strings, init_buffer_once, init_buffer, syms_of_buffer):
  711 	Use B_.
  712 	* buffer.h (struct buffer): Rename all Lisp_Object fields.
  713 	(BUFFER_INTERNAL_FIELD, B_): New macro.
  714 	(FETCH_CHAR, FETCH_CHAR_AS_MULTIBYTE): Use B_.
  715 
  716 2011-02-14  Jan Djärv  <jan.h.d@swipnet.se>
  717 
  718 	* gtkutil.c (xg_tool_bar_menu_proxy): Handle case when tool bar label
  719 	is null.
  720 
  721 2011-02-13  Jan Djärv  <jan.h.d@swipnet.se>
  722 
  723 	* callproc.c (Fcall_process):
  724 	* process.c (create_process): Replace Gtk with GConf in SIGPIPE
  725 	comment.
  726 
  727 2011-02-12  Martin Rudalics  <rudalics@gmx.at>
  728 
  729 	* window.c (select_window): Check inhibit_point_swap argument when
  730 	deciding whether to return immediately.
  731 
  732 2011-02-12  Jan Djärv  <jan.h.d@swipnet.se>
  733 
  734 	* nsterm.m (setFrame, initFrame): Make sure pixel_height doesn't become
  735 	zero (Bug#7348).
  736 
  737 2011-02-12  Chong Yidong  <cyd@stupidchicken.com>
  738 
  739 	* config.in (TERMINFO): New definition.
  740 
  741 	* s/netbsd.h: Use it to choose between terminfo and termcap
  742 	(Bug#7642).
  743 
  744 2011-02-12  Paul Eggert  <eggert@cs.ucla.edu>
  745 
  746 	* md5.c (md5_process_bytes): Use sizeof, not __alignof__.
  747 	The difference doesn't matter here, in practice, and sizeof is
  748 	more portable to non-GCC compilers.  Also, this makes the code
  749 	match the already-existing comment.
  750 
  751 2011-02-12  Andreas Schwab  <schwab@linux-m68k.org>
  752 
  753 	* process.c (create_process): Reset SIGPIPE handler in the child.
  754 	* callproc.c (Fcall_process): Likewise.  (Bug#5238)
  755 
  756 2011-02-12  Eli Zaretskii  <eliz@gnu.org>
  757 
  758 	* xdisp.c <this_line_min_pos>: New variable.
  759 	(move_it_in_display_line_to): Record in this_line_min_pos the
  760 	smallest position iterated across.
  761 	(display_line): Use this_line_min_pos to record the smallest
  762 	position in the line even if it is not displayed due to
  763 	hscrolling.  (Bug#7939)
  764 
  765 2011-02-12  Paul Eggert  <eggert@cs.ucla.edu>
  766 
  767 	Port to Sun C 5.11, which has __attribute__ ((__aligned (N))).
  768 	* md5.h (ATTRIBUTE_ALIGNED): New macro.
  769 	(struct md5_ctx): Use it.
  770 
  771 	Port to Solaris 10, which doesn't support FC_HINT_STYLE.
  772 	* xftfont.c (FC_HINT_STYLE): #define to "hintstyle" if not
  773 	defined.
  774 	* xsettings.c (parse_settings, apply_xft_settings): Don't assume
  775 	FC_HINT_STYLE is supported.
  776 
  777 2011-02-11  Jan Djärv  <jan.h.d@swipnet.se>
  778 
  779 	* xterm.c (x_set_frame_alpha): Access data before it is free:d.
  780 	Make sure we don't do x_catch_errors twice.
  781 
  782 2011-02-10  Glenn Morris  <rgm@gnu.org>
  783 
  784 	* Makefile.in (really-lwlib): Depend on globals.h, for parallel builds.
  785 
  786 2011-02-09  Eli Zaretskii  <eliz@gnu.org>
  787 
  788 	* makefile.w32-in (GLOBAL_SOURCES, SOME_MACHINE_OBJECTS, obj):
  789 	New macros.
  790 	(globals.h, gl-stamp): New targets.
  791 	(clean): Clean gl-stamp and globals.h.
  792 
  793 2011-02-09  Andreas Schwab  <schwab@linux-m68k.org>
  794 
  795 	* Makefile.in (gl-stamp): Create globals.h here.
  796 	(globals.h): Don't do it here.
  797 	(mostlyclean): Clean globals.h and gl-stamp.
  798 
  799 2011-02-09  Paul Eggert  <eggert@cs.ucla.edu>
  800 
  801 	* Makefile.in ($(otherobj)): Depend on globals.h.
  802 	Otherwise 'make -j10' failed on my host, because the build lacked
  803 	necessary dependencies, e.g., vm-limit.o depends on globals.h.
  804 
  805 2011-02-08  Tom Tromey  <tromey@redhat.com>
  806 
  807 	* Makefile.in (NS_OBJC_OBJ): New variable.
  808 	(base_obj): Rename from 'obj'.
  809 	(obj): New variable.
  810 	(globals.h, gl-stamp, $(obj)): New targets.
  811 	(GLOBAL_SOURCES): New variable.
  812 	* globals.h: Remove.
  813 	* nsselect.m (Vselection_alist): Define.  Reverts part of
  814 	2011-01-19T22:11:33Z!jan.h.d@swipnet.se.
  815 	* buffer.c: Don't use "no_cell" for name of kill-buffer-hook's
  816 	variable.
  817 	* xselect.c (Vselection_alist): Define.  Reverts part of 2011-01-19T23:32:42Z!eggert@cs.ucla.edu.
  818 
  819 2011-02-08  Kenichi Handa  <handa@m17n.org>
  820 
  821 	* font.c (Ffont_get): Do not cache :otf value.
  822 
  823 2011-02-07  Paul Eggert  <eggert@cs.ucla.edu>
  824 
  825 	conform to C89 pointer rules
  826 
  827 	* dired.c (scmp, file_name_completion):
  828 	Change types between char * and unsigned char *, to satisfy C89
  829 	rules about pointer type compatibility.
  830 	* casefiddle.c (casify_object, casify_region): Likewise.
  831 	* search.c (Freplace_match, Fregexp_quote): Likewise.
  832 	* alloc.c (make_string, make_specified_string, make_pure_string):
  833 	Likewise.
  834 	* data.c (Fstring_to_number): Likewise.
  835 	* print.c (float_to_string, PRINTFINISH, printchar, strout):
  836 	(print_object): Likewise.
  837 	* editfns.c (init_editfns, Fchar_to_string, Fbyte_to_string):
  838 	(Fuser_full_name, Fsubst_char_in_region, Ftranslate_region_internal):
  839 	(Fformat): Likewise.
  840 	* callint.c (Fcall_interactively): Likewise.
  841 	* fns.c (string_make_multibyte, string_to_multibyte):
  842 	(string_make_unibyte, Fstring_as_unibyte, Fstring_to_unibyte):
  843 	(Fbase64_encode_region, base64_encode_1, Fbase64_decode_region, Fmd5):
  844 	Likewise.
  845 	* lread.c (read1, hash_string): Likewise.
  846 	* process.c (read_process_output, send_process, Fprocess_send_region):
  847 	Likewise.
  848 	* callproc.c (Fcall_process): Likewise.
  849 	* doprnt.c (doprnt): Likewise.
  850 	* indent.c (compute_motion): Likewise.
  851 	* xfont.c (xfont_decode_coding_xlfd): Likewise.
  852 	* ralloc.c (resize_bloc): Likewise.
  853 	* image.c (tiff_load): Likewise.
  854 	* xml.c (make_dom, parse_region): Likewise.
  855 	* character.c (strwidth): Make its argument const char *, not const
  856 	unsigned char *, since more callers prefer it that way.  All callers
  857 	changed.
  858 
  859 2011-02-06  Paul Eggert  <eggert@cs.ucla.edu>
  860 
  861 	* xterm.c (x_alloc_nearest_color_1): Avoid unportable int assumption.
  862 	Emacs assumes two's complement elsewhere, but the assumption is
  863 	easy to remove here, and this suppresses a warning with Sun C 5.8.
  864 
  865 	conform to C89 pointer rules
  866 
  867 	* xterm.c (x_draw_fringe_bitmap, handle_one_xevent, x_bitmap_icon):
  868 	(same_x_server, x_term_init):
  869 	Change types between char * and unsigned char *, to satisfy C89
  870 	rules about pointer type compatibility.
  871 	* doc.c (get_doc_string, Fsnarf_documentation):
  872 	(Fsubstitute_command_keys): Likewise.
  873 	* xfns.c (Fx_open_connection, Fx_window_property): Likewise.
  874 	* bitmaps/gray.xbm (gray_bits): Likewise.
  875 	* image.c (xbm_read_bitmap_data, xbm_load_image, xbm_load): Likewise.
  876 	* keyboard.c (echo_char, MULTI_LETTER_MOD, tty_read_avail_input):
  877 	Likewise.
  878 	* keymap.c (Ftext_char_description): Likewise.
  879 	* minibuf.c (Fread_buffer): Likewise.
  880 	* fileio.c (IS_DRIVE) [defined WINDOWSNT]:
  881 	(DRIVE_LETTER) [defined DOS_NT]:
  882 	(report_file_error, Ffile_name_directory, Ffile_name_nondirectory):
  883 	(make_temp_name, Fexpand_file_name, file_name_absolute_p):
  884 	(search_embedded_absfilename, Fsubstitute_in_file_name):
  885 	(barf_or_query_if_file_exists, Fmake_directory_internal):
  886 	(Fdelete_directory_internal, Ffile_name_absolute_p, read_non_regular):
  887 	(Finsert_file_contents, Fwrite_region):
  888 	Likewise.
  889 	* insdel.c (insert, insert_and_inherit, insert_before_markers):
  890 	(insert_before_markers_and_inherit, insert_1, insert_1_both):
  891 	Likewise.  This changes these functions' signatures, which is
  892 	more convenient since most callers use char *.  All remaining
  893 	callers changed.
  894 	* editfns.c (general_insert_function): Change signature to
  895 	match changes to insert functions' signatures.
  896 	* keymap.c (map_keymap_char_table_item, map_keymap_internal):
  897 	Use explicit cast when converting between void * and function pointer
  898 	types, as C89 requires this.
  899 
  900 2011-02-05  Paul Eggert  <eggert@cs.ucla.edu>
  901 
  902 	don't ignore chdir failure
  903 	* sysdep.c (sys_subshell) [!defined DOS_NT]: Diagnose chdir
  904 	failure and exit.
  905 	(sys_subshell) [defined DOS_NT]: Mark with a FIXME the two
  906 	remaining unchecked chdir calls in this function; some DOS/NT
  907 	expert needs to fix them.
  908 	* emacs.c (main): Mark with a FIXME the unchecked chdir calls
  909 	in this function; some NextStep expert needs to fix them.
  910 
  911 2011-02-05  Glenn Morris  <rgm@gnu.org>
  912 
  913 	* xfaces.c (Finternal_set_lisp_face_attribute):
  914 	Try to clarify some error messages.  (Bug#2659)
  915 
  916 2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
  917 
  918 	* editfns.c (save_restriction_restore): Don't forget to invalidate the
  919 	current_column cache (bug#7946).
  920 
  921 2011-02-05  Kenichi Handa  <handa@m17n.org>
  922 
  923 	* ftfont.c (ftfont_open): Use FC_DUAL only when it is defined.
  924 
  925 	* xftfont.c (xftfont_open): Likewise.
  926 
  927 2011-02-05  Andreas Schwab  <schwab@linux-m68k.org>
  928 
  929 	* window.c (Fselect_window): Add missing return value.
  930 
  931 2011-02-05  Paul Eggert  <eggert@cs.ucla.edu>
  932 
  933 	xstrcasecmp: conform to C89 pointer rules
  934 	* xfaces.c (xstrcasecmp): Change args from const unsigned char *
  935 	to const char *, since they're usually low-level C strings, and
  936 	this stays compatible with C89 pointer rules.  All callers changed.
  937 
  938 	* charset.c: Conform to C89 pointer rules.
  939 	(define_charset_internal): Switch between char * and unsigned char *.
  940 
  941 	* xmenu.c: Conform to C89 const rules.
  942 	(xmenu_show, xdialog_show): Declare local var as char *, not
  943 	const char *, to stay compatible with C89 const rules.
  944 
  945 	* xdisp.c: Conform to C89 pointer rules.
  946 	(store_mode_line_noprop, display_string, reseat_to_string):
  947 	(c_string_pos, number_of_chars, message_dolog):
  948 	(message_log_check_duplicate, set_message_1, store_mode_line_noprop):
  949 	(display_mode_element, display_string):
  950 	Switch between char * and unsigned char * to stay compatible wth
  951 	C89 pointer rules.
  952 
  953 	* regex.c: Conform to C89 pointer rules.
  954 	(re_wctype): Add cast, as C89 does not allow assigning between
  955 	char * and unsigned char *.
  956 	(regex_compile): Likewise.
  957 
  958 	sync from gnulib to remove HAVE_STDBOOL_H
  959 	* config.in: Regenerate.
  960 
  961 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
  962 
  963 	* makefile.w32-in (LISP_H, PROCESS_H): New variables.
  964 	Replace all uses of lisp.h with $(LISP_H), and all uses of
  965 	process.h with $(PROCESS_H).
  966 	($(BLD)/editfns.$(O)): Depend on ../lib/strftime.h.
  967 	($(BLD)/print.$(O)): Depend on ../lib/ftoastr.h and ../lib/intprops.h.
  968 
  969 	* deps.mk: Update for recent changes: GnuTLS support, gnulib
  970 	imports, addition of globals.h.
  971 
  972 	* makefile.w32-in ($(BLD)/sysdep.$(O)): Depend on
  973 	../lib/ignore-value.h.
  974 
  975 2011-02-03  Paul Eggert  <eggert@cs.ucla.edu>
  976 
  977 	allow C code to suppress warnings about ignored return values
  978 
  979 	We need to go through the code and for each such warning, either
  980 	fix the code to pay attention to the returned value, or tell GCC
  981 	that we really do want to ignore the returned value.  Here is one
  982 	example of how to do the latter.
  983 	* sysdep.c: Include <ignore-value.h>.
  984 	(sys_subshell): Suppress an undesirable warning about not checking
  985 	the returned value of 'write', as there's nothing useful one can
  986 	do with that returned value.
  987 
  988 2011-02-03  Jan Djärv  <jan.h.d@swipnet.se>
  989 
  990 	* xterm.c (x_connection_closed): Remove all calls that calls
  991 	XSync (Bug#7949).
  992 
  993 2011-02-01  Eli Zaretskii  <eliz@gnu.org>
  994 
  995 	* image.c (tiff_load): Avoid compiler warning in 2nd arg to
  996 	TIFFClientOpen.
  997 
  998 2011-02-01  Jan Djärv  <jan.h.d@swipnet.se>
  999 
 1000 	* xsmfns.c (ice_connection_closed): Call delete_read_fd.
 1001 	(x_session_check_input): Change args and return type so it can be used
 1002 	as argument to add_read_fd.  Make static.  Remove call to select.
 1003 	Call kbd_buffer_store_event for emacs_event.
 1004 	(smc_save_yourself_CB): Also store initial argv to SmRestartCommand.
 1005 	(ice_conn_watch_CB): Call add_read_fd.
 1006 
 1007 	* xterm.c (XTread_socket): Remove HAVE_X_SM block with call to
 1008 	x_session_check_input.
 1009 	(x_session_initialized): Remove definition.
 1010 	(x_initialize): Remove setting of x_session_initialized.
 1011 
 1012 	* xterm.h (x_session_check_input): Remove declaration.
 1013 
 1014 2011-02-01  Paul Eggert  <eggert@cs.ucla.edu>
 1015 
 1016 	format-time-string now supports subsecond time stamp resolution
 1017 	* editfns.c (emacs_nmemftime): Rename from emacs_memftimeu,
 1018 	for consistency with its new argument and with gnulib nstrftime.
 1019 	All callers changed.  New argument NS.
 1020 	(Fformat_time_string): Check that the time argument's microseconds
 1021 	component, if any, is in range; this avoids integer overflow and
 1022 	also nstrftime needs this.  Document %N.
 1023 
 1024 2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
 1025 
 1026 	* image.c (DEF_IMGLIB_FN): Add parameter rettype, use it instead
 1027 	of int.  All uses adjusted.
 1028 	(PNG_JMPBUF, png_load, jpeg_load, tiff_load, gif_load)
 1029 	(svg_load_image): Remove casts.
 1030 
 1031 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
 1032 
 1033 	* image.c (fn_png_longjmp, fn_png_set_longjmp_fn): New png
 1034 	function definitions for compiling with libpng-1.5.
 1035 	(PNG_LONGJMP, PNG_JMPBUF): New macros for libpng-1.5.
 1036 	(my_png_error, png_load): Use them.  Suggested by Thomas Klausner
 1037 	(Bug#7908).
 1038 
 1039 2011-01-31  Eli Zaretskii  <eliz@gnu.org>
 1040 
 1041 	* s/ms-w32.h (HAVE_STRFTIME): Don't define.
 1042 
 1043 	* makefile.w32-in (OBJ2): Remove strftime.$(O).
 1044 	($(BLD)/strftime.$(O)): Remove prerequisites.
 1045 
 1046 2011-01-31  Paul Eggert  <eggert@cs.ucla.edu>
 1047 
 1048 	src/emacs.c now gets version number from configure.in
 1049 	* emacs.c (emacs_version): Set to VERSION so that it
 1050 	is determined automatically from ../configure.in.
 1051 
 1052 2011-01-31  Jim Meyering  <meyering@redhat.com>
 1053 
 1054 	* charset.c (load_charset_map): Don't deref NULL on failed malloc.
 1055 	Use xmalloc rather than malloc.
 1056 
 1057 2011-01-30  Paul Eggert  <eggert@cs.ucla.edu>
 1058 
 1059 	strftime: import from gnulib
 1060 	* Makefile.in (obj): Remove strftime.o, as gnulib now does this for us.
 1061 	* deps.mk (strftime.o): Remove.
 1062 	* editfns.c: Include <strftime.h>, supplied by gnulib.
 1063 	(emacs_strftimeu): Remove decl.
 1064 	(emacs_memftimeu): Use nstrftime (the gnulib name) rather than
 1065 	emacs_strftimeu.
 1066 	* config.in: Regenerate.
 1067 	* strftime.c: Remove; we now use strftime from gnulib.
 1068 
 1069 	Use SSDATA when the context wants char *.
 1070 	* alloc.c, buffer.c, bytecode.c, callproc.c, dired.c:
 1071 	* dispnew.c, doc.c, editfns.c, emacs.c, fileio.c, filelock.c:
 1072 	* fns.c, font.c, frame.c, image.c, indent.c, keyboard.c:
 1073 	* lread.c, minibuf.c, print.c, process.c, search.c, widget.c:
 1074 	* xdisp.c, xfaces.c, xfns.c, xml.c, xselect.c, xterm.c:
 1075 	Use SSDATA (not SDATA) when the context of the expression wants
 1076 	char * (not unsigned char *).
 1077 
 1078 2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>
 1079 
 1080 	* .gdbinit: Read global lisp variables as globals.f_V*.
 1081 
 1082 2011-01-30  Andreas Schwab  <schwab@linux-m68k.org>
 1083 
 1084 	* font.c (PROP_MATCH): Remove parameter N and use strlen instead.
 1085 	All uses changed.
 1086 	(PROP_SAVE): Likewise.
 1087 
 1088 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
 1089 
 1090 	* keyboard.c (make_lispy_position): Fix typo in last change
 1091 	(Bug#7935).
 1092 
 1093 2011-01-29  Eli Zaretskii  <eliz@gnu.org>
 1094 
 1095 	* s/ms-w32.h (HAVE_MKTIME): Remove.
 1096 
 1097 	* makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
 1098 	(GNULIB): New variable.
 1099 	(LIBS): Add $(GNULIB).
 1100 	$(TEMACS): Depend on $(GNULIB).
 1101 	<top-level>: Fix font-lock disrupted by a lone `"'.
 1102 
 1103 2011-01-29  Jan Djärv  <jan.h.d@swipnet.se>
 1104 
 1105 	* nsselect.m (ns_string_from_pasteboard): Get length of string
 1106 	and use make_string instead of build_string (Bug#7934).
 1107 	(ns_string_to_pasteboard_internal): Use initWithBytesNoCopy
 1108 	instead of stringWithUTF8String  (Bug#7934).
 1109 
 1110 2011-01-29  Anders Lindgren  <andlind@gmail.com>  (tiny change)
 1111 
 1112 	* nsfont.m (nsfont_open): Ensure that fonts with inexact
 1113 	descenders would not become one pixel too tall (Bug#7887).
 1114 
 1115 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
 1116 
 1117 	* keyboard.c (make_lispy_position): For clicks on right fringe or
 1118 	margin, compute text position using the X coordinate relative to
 1119 	the left of the text area (Bug#7839).
 1120 
 1121 2011-01-28  Kenichi Handa  <handa@m17n.org>
 1122 
 1123 	* ftfont.c (ftfont_spec_pattern): Check each extra property
 1124 	value.
 1125 
 1126 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
 1127 
 1128 	* xdisp.c (safe_eval_handler): Distinguish symbols and strings.
 1129 
 1130 2011-01-27  Chong Yidong  <cyd@stupidchicken.com>
 1131 
 1132 	* font.c (font_parse_fcname): Undefine a temporary macro.
 1133 
 1134 2011-01-26  Stefan Monnier  <monnier@iro.umontreal.ca>
 1135 
 1136 	Let the debugger continue to the normal handler (bug#7825).
 1137 	* eval.c (maybe_call_debugger): Declare before new use.
 1138 	(find_handler_clause): Don't call debugger any more.
 1139 	Ignore Vstack_trace_on_error.
 1140 	Use XCAR/XCDR.
 1141 	(syms_of_eval): Remove Vstack_trace_on_error.
 1142 	(Fsignal): Only modify handlerlist when we know we need to do it.
 1143 	Call the debugger when necessary.
 1144 	* globals.h (Vstack_trace_on_error): Remove.
 1145 
 1146 2011-01-26  Chong Yidong  <cyd@stupidchicken.com>
 1147 
 1148 	* font.c (font_parse_fcname): Rewrite GTK font name parser.
 1149 
 1150 2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
 1151 
 1152 	* xdisp.c (handle_fontified_prop): Be careful with font-lock changing
 1153 	the buffer's point-max (bug#7876).
 1154 
 1155 2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
 1156 
 1157 	* lisp.h (XPNTR): Obey DATA_SEG_BITS in all non-USE_LSB_TAG cases.
 1158 	Remove unused case (Bug#6811).
 1159 
 1160 2011-01-23  Jan Djärv  <jan.h.d@swipnet.se>
 1161 
 1162 	* nsterm.m (x_set_offset): Set dont_constrain to 0 so the call to
 1163 	setFrameTopLeftPoint is constrained.
 1164 
 1165 2011-01-23  Paul Eggert  <eggert@cs.ucla.edu>
 1166 
 1167 	Check return values of some library calls.
 1168 	* emacs.c (main): Check dup result.
 1169 	* frame.c: Include <limits.h>, for INT_MIN and INT_MAX.
 1170 	(frame_name_fnn_p): Check strtol result.
 1171 
 1172 	* image.c (x_create_bitmap_from_xpm_data): Add cast to fix type clash
 1173 	when calling XpmCreatePixmapFromData.
 1174 
 1175 	Promote SSDATA macro from gtkutil.c and xsmfns.c to lisp.h.
 1176 	* lisp.h (SSDATA): New macro.
 1177 	All uses of (char *) SDATA (x) replaced with SSDATA (x),
 1178 	and all uses of (unsigned char *) SDATA (x) replaced with SDATA (x).
 1179 	* gtkutil.c (SSDATA): Remove, as lisp.h now defines this.
 1180 	* xsmfns.c (SSDATA): Likewise.
 1181 
 1182 2011-01-22  Martin Rudalics  <rudalics@gmx.at>
 1183 
 1184 	* window.c (select_window): New function.
 1185 	(Fselect_window): Call it.
 1186 	(inhibit_point_swap): Variable deleted.
 1187 	(Fset_window_configuration): Call select_window directly.
 1188 
 1189 2011-01-22  Jan Djärv  <jan.h.d@swipnet.se>
 1190 
 1191 	* nsterm.m (constrainFrameRect): Only constrain the first time called.
 1192 
 1193 2011-01-21  Jan Djärv  <jan.h.d@swipnet.se>
 1194 
 1195 	* nsterm.m (x_set_offset, windowDidMove): When calculating y, use first
 1196 	screen, not the window screen.
 1197 	(x_set_window_size): Remove constraints.
 1198 	Calculate origin.y only if zooming is 0 and without referring to a
 1199 	screen.
 1200 	(windowWillResize): Don't modify frameSize.
 1201 	(windowDidBecomeKey, mouseDown): Set dont_constrain to 1.
 1202 	(initFrameFromEmacs): Initialize ns_userRect.
 1203 	(windowShouldZoom): Set zooming to one.  Remove all other code.
 1204 	(windowWillUseStandardFrame): Move static ns_userRect to EmacsView.
 1205 	Zero it after restore.
 1206 	(constrainFrameRect): New method for EmacsWindow.
 1207 	(mouseDragged): Always post NSWindowDidResizeNotification after call to
 1208 	windowWillResize.
 1209 
 1210 	* nsterm.h (ns_output): Add dont_constrain and zooming.
 1211 	(EmacsView): Add ns_userRect.
 1212 
 1213 	* nsterm.m (keyDown): If ns_right_alternate_modifier is Qleft, check
 1214 	if ns_alternate_modifier is none.
 1215 
 1216 2011-01-20  Jan Djärv  <jan.h.d@swipnet.se>
 1217 
 1218 	* unexmacosx.c: Add comment about include order.
 1219 
 1220 2011-01-20  Glenn Morris  <rgm@gnu.org>
 1221 
 1222 	* minibuf.c (syms_of_minibuf) <read-expression-history>:
 1223 	Give it a doc string.
 1224 	* globals.h: Add Vread_expression_history.
 1225 
 1226 	* macros.c (syms_of_macros) <kbd-macro-termination-hook>:
 1227 	Give it a doc string.
 1228 	* globals.h: Add Vkbd_macro_termination_hook.
 1229 
 1230 2011-01-20  Chong Yidong  <cyd@stupidchicken.com>
 1231 
 1232 	* fns.c (Fyes_or_no_p): Revert 2011-01-07 change, removing ARGS.
 1233 
 1234 2011-01-19  Paul Eggert  <eggert@cs.ucla.edu>
 1235 
 1236 	Fix X11 compilation failure.
 1237 	* globals.h (struct emacs_globals): Document f_Vselection_alist.
 1238 	* xselect.c (Vselection_alist): Remove declaration, moving its
 1239 	documentation to globals.h.  This fixes a compilation failure
 1240 	induced by the earlier change to globals.h today.
 1241 
 1242 2011-01-19  Jan Djärv  <jan.h.d@swipnet.se>
 1243 
 1244 	* unexmacosx.c: Include config.h before unistd.h (Bug#7859).
 1245 
 1246 	* nsterm.m (ns_input_file, ns_input_font, ns_input_fontsize)
 1247 	(ns_input_line, ns_input_color, ns_input_text, ns_working_text)
 1248 	(ns_input_spi_name, ns_input_spi_arg)
 1249 	(ns_alternate_modifier, ns_right_alternate_modifier)
 1250 	(ns_command_modifier, ns_right_command_modifier, ns_control_modifier)
 1251 	(ns_right_control_modifier, ns_function_modifier)
 1252 	(ns_antialias_text, ns_confirm_quit): Move to globals.h.
 1253 	(Vx_toolkit_scroll_bars, x_use_underline_position_properties)
 1254 	(x_underline_at_descent_line): Remove declaration.
 1255 	(syms_of_nsterm): Remove & from DEFVAR_LISP and DEFVAR_BOOL.
 1256 
 1257 	* nsselect.m (Vns_sent_selection_hooks, Vns_lost_selection_hooks)
 1258 	(Vselection_alist, Vselection_converter_alist): Move to globals.h.
 1259 	(syms_of_nsselect): Remove & from DEFVAR_LISP.
 1260 
 1261 	* nsmenu.m (Voverriding_local_map, Voverriding_local_map_menu_flag):
 1262 	Remove declaration.
 1263 
 1264 	* nsfont.m (Vns_reg_to_script, ns_antialias_text): Move to
 1265 	globals.h.
 1266 	(syms_of_nsfont): Remove & from DEFVAR_LISP.
 1267 
 1268 	* nsfns.m (Vmenu_bar_mode, Vtool_bar_mode): Remove declaration.
 1269 	(Vns_icon_type_alist, Vns_version_string): Move to globals.h.
 1270 	(syms_of_nsfns): Remove & from DEFVAR_LISP calls.
 1271 
 1272 	* globals.h (struct emacs_globals): Add f_ns_input_file,
 1273 	f_ns_input_font, f_ns_input_fontsize, f_ns_input_line,
 1274 	f_ns_input_color, f_ns_input_text, f_ns_working_text,
 1275 	f_ns_input_spi_name, f_ns_input_spi_arg, f_ns_alternate_modifier,
 1276 	f_ns_right_alternate_modifier, f_ns_command_modifier,
 1277 	f_ns_right_command_modifier, f_ns_control_modifier,
 1278 	f_ns_right_control_modifier, f_ns_function_modifier,
 1279 	f_ns_antialias_text, f_ns_confirm_quit, f_Vns_icon_type_alist,
 1280 	f_Vns_version_string, f_Vns_sent_selection_hooks,
 1281 	f_Vns_lost_selection_hooks, f_Vselection_alist, f_Vns_reg_to_script
 1282 	and corresponding defines.
 1283 
 1284 2011-01-19  Sam Steingold  <sds@gnu.org>
 1285 
 1286 	* w32.c (check_windows_init_file): Remove declarations of
 1287 	Vwindow_system, Vload_path, Qfile_exists_p to fix compilation.
 1288 	* w32fns.c: Fix an error introduced by the previous patch.
 1289 
 1290 2011-01-19  Tom Tromey  <tromey@redhat.com>
 1291 
 1292 	* window.c: Fix error introduced by previous patch.
 1293 
 1294 2011-01-18  Tom Tromey  <tromey@parfait>
 1295 
 1296 	* globals.h: New file.
 1297 	* xterm.h (Vx_pixel_size_width_font_regexp): Remove declaration.
 1298 	* window.h (Vinitial_window_system, Vminibuf_scroll_window)
 1299 	(Vwindow_system_version): Remove declaration.
 1300 	* w32term.h (Vw32_enable_palette)
 1301 	(Vx_pixel_size_width_font_regexp): Remove declaration.
 1302 	* w32menu.c (Voverriding_local_map)
 1303 	(Voverriding_local_map_menu_flag): Remove declaration.
 1304 	* w32inevt.c (Vw32_alt_is_meta, Vw32_apps_modifier)
 1305 	(Vw32_capslock_is_shiftlock, Vw32_enable_caps_lock)
 1306 	(Vw32_enable_num_lock, Vw32_lwindow_modifier)
 1307 	(Vw32_pass_lwindow_to_system, Vw32_pass_rwindow_to_system)
 1308 	(Vw32_phantom_key_code, Vw32_recognize_altgr)
 1309 	(Vw32_rwindow_modifier, Vw32_scroll_lock_modifier)
 1310 	(w32_use_full_screen_buffer): Remove declaration.
 1311 	* w32.c (Vsystem_configuration, Vw32_downcase_file_names)
 1312 	(Vw32_generate_fake_inodes, Vw32_get_true_file_attributes)
 1313 	(w32_num_mouse_buttons, w32_pipe_read_delay): Remove declaration.
 1314 	* termopts.h (Vtruncate_partial_width_windows, inverse_video)
 1315 	(no_redraw_on_reenter, visible_bell): Remove declaration.
 1316 	* sysdep.c (Vsystem_name): Remove declaration.
 1317 	* syntax.h (parse_sexp_lookup_properties): Remove declaration.
 1318 	* menu.h (Vmenu_updating_frame): Remove declaration.
 1319 	* macros.h (Vexecuting_kbd_macro, executing_kbd_macro_index):
 1320 	Remove declaration.
 1321 	* lisp.h (Vafter_init_time, Vafter_load_alist)
 1322 	(Vauto_save_list_file_name, Vbefore_init_time, Vcommand_history)
 1323 	(Vcompletion_regexp_list, Vcurrent_load_list)
 1324 	(Vcurrent_prefix_arg, Vdata_directory, Vdebug_on_error)
 1325 	(Vdoc_directory, Vdoc_file_name, Vdynamic_library_alist)
 1326 	(Vexec_directory, Vexec_path, Vexec_suffixes)
 1327 	(Vface_font_rescale_alist, Vface_ignored_fonts, Vfeatures)
 1328 	(Vhelp_form, Vhistory_length, Vinhibit_field_text_motion)
 1329 	(Vinhibit_quit, Vinhibit_read_only, Vinhibit_redisplay)
 1330 	(Vinstallation_directory, Vinvocation_directory)
 1331 	(Vinvocation_name, Vload_file_rep_suffixes, Vload_history)
 1332 	(Vload_suffixes, Vmark_even_if_inactive, Vmemory_full)
 1333 	(Vmessage_log_max, Vobarray, Vprint_length, Vprint_level)
 1334 	(Vpurify_flag, Vquit_flag, Vsaved_region_selection)
 1335 	(Vscalable_fonts_allowed, Vselect_active_regions)
 1336 	(Vshell_file_name, Vstandard_input, Vstandard_output)
 1337 	(Vsystem_name, Vtemporary_file_directory, Vthrow_on_input)
 1338 	(Vtop_level, Vtty_erase_char, Vundo_outer_limit)
 1339 	(Vuser_login_name, Vwindow_scroll_functions)
 1340 	(Vwindow_system_version, Vx_no_window_manager)
 1341 	(Vx_resource_class, Vx_resource_name, baud_rate)
 1342 	(completion_ignore_case, debug_on_next_call, gc_cons_threshold)
 1343 	(history_delete_duplicates, inhibit_x_resources)
 1344 	(last_nonmenu_event, load_in_progress, max_specpdl_size)
 1345 	(minibuffer_auto_raise, print_escape_newlines, scroll_margin)
 1346 	(use_dialog_box, use_file_dialog): Remove declaration.
 1347 	Include globals.h.
 1348 	* keymap.h (Voverriding_local_map)
 1349 	(Voverriding_local_map_menu_flag, meta_prefix_char):
 1350 	Remove declaration.
 1351 	* keyboard.h (Vdouble_click_time, Vfunction_key_map)
 1352 	(Vinput_method_function, Vkey_translation_map)
 1353 	(Vlucid_menu_bar_dirty_flag, Vthis_original_command)
 1354 	(do_mouse_tracking, extra_keyboard_modifiers)
 1355 	(num_nonmacro_input_events): Remove declaration.
 1356 	* intervals.h (Vchar_property_alias_alist)
 1357 	(Vdefault_text_properties, Vinhibit_point_motion_hooks)
 1358 	(Vtext_property_default_nonsticky): Remove declaration.
 1359 	* gtkutil.h (x_gtk_file_dialog_help_text)
 1360 	(x_gtk_show_hidden_files, x_gtk_use_old_file_dialog)
 1361 	(x_gtk_whole_detached_tool_bar): Remove declaration.
 1362 	* frame.h (Vdefault_frame_alist, Vframe_alpha_lower_limit)
 1363 	(Vmenu_bar_mode, Vmouse_highlight, Vterminal_frame)
 1364 	(Vtool_bar_mode, Vx_resource_class, Vx_resource_name)
 1365 	(focus_follows_mouse): Remove declaration.
 1366 	* fontset.h (Valternate_fontname_alist, Vfontset_alias_alist)
 1367 	(Vignore_relative_composition, Votf_script_alist)
 1368 	(Vuse_default_ascent, Vvertical_centering_font_regexp):
 1369 	Remove declaration.
 1370 	* font.h (Vfont_log): Remove declaration.
 1371 	* dosfns.h (Vdos_display_scancodes, Vdos_version)
 1372 	(Vdos_windows_version, dos_codepage, dos_country_code)
 1373 	(dos_decimal_point, dos_hyper_key, dos_keyboard_layout)
 1374 	(dos_keypad_mode, dos_super_key, dos_timezone_offset):
 1375 	Remove declaration.
 1376 	* disptab.h (Vglyph_table, Vstandard_display_table):
 1377 	Remove declaration.
 1378 	* dispextern.h (Vface_remapping_alist, Vglyphless_char_display)
 1379 	(Vmouse_autoselect_window, Voverflow_newline_into_fringe)
 1380 	(Vshow_trailing_whitespace, Vtool_bar_button_margin)
 1381 	(Vtool_bar_style, cursor_in_echo_area, display_hourglass_p)
 1382 	(inverse_video, mode_line_in_non_selected_windows)
 1383 	(tool_bar_button_relief, tool_bar_max_label_size)
 1384 	(underline_minimum_offset)
 1385 	(unibyte_display_via_language_environment, x_stretch_cursor_p):
 1386 	Remove declaration.
 1387 	* composite.h (Vauto_composition_function)
 1388 	(Vcomposition_function_table): Remove declaration.
 1389 	* commands.h (Vexecuting_kbd_macro)
 1390 	(Vminibuffer_local_completion_map)
 1391 	(Vminibuffer_local_filename_completion_map)
 1392 	(Vminibuffer_local_filename_must_match_map)
 1393 	(Vminibuffer_local_map, Vminibuffer_local_must_match_map)
 1394 	(Vminibuffer_local_ns_map, Vthis_command)
 1395 	(Vunread_command_events, cursor_in_echo_area)
 1396 	(last_command_event, last_nonmenu_event, unread_command_char):
 1397 	Remove declaration.
 1398 	* coding.h (Vcoding_system_for_read, Vcoding_system_for_write)
 1399 	(Vdefault_file_name_coding_system)
 1400 	(Vdefault_process_coding_system, Vfile_name_coding_system)
 1401 	(Vlast_coding_system_used, Vlocale_coding_system)
 1402 	(Vselect_safe_coding_system_function)
 1403 	(Vtranslation_table_for_input, coding_system_require_warning)
 1404 	(eol_mnemonic_dos, eol_mnemonic_mac, eol_mnemonic_undecided)
 1405 	(eol_mnemonic_unix, inherit_process_coding_system):
 1406 	Remove declaration.
 1407 	* charset.h (Vcharset_list, Vcurrent_iso639_language):
 1408 	Remove declaration.
 1409 	* character.h (Vauto_fill_chars, Vchar_direction_table)
 1410 	(Vchar_script_table, Vchar_width_table, Vprintable_chars)
 1411 	(Vscript_representative_chars, Vtranslation_table_vector)
 1412 	(Vunicode_category_table): Remove declaration.
 1413 	* ccl.h (Vfont_ccl_encoder_alist): Remove declaration.
 1414 	* buffer.h (Vafter_change_functions, Vbefore_change_functions)
 1415 	(Vdeactivate_mark, Vfirst_change_hook, Vtransient_mark_mode)
 1416 	(inhibit_modification_hooks): Remove declaration.
 1417 	* xterm.c (syms_of_xterm): Update.
 1418 	(Vx_alt_keysym, Vx_hyper_keysym, Vx_keysym_table)
 1419 	(Vx_meta_keysym, Vx_super_keysym, Vx_toolkit_scroll_bars)
 1420 	(x_mouse_click_focus_ignore_position)
 1421 	(x_underline_at_descent_line)
 1422 	(x_use_underline_position_properties): Remove.
 1423 	* xsmfns.c (syms_of_xsmfns): Update.
 1424 	(Vx_session_id, Vx_session_previous_id): Remove.
 1425 	* xsettings.c (syms_of_xsettings): Update.
 1426 	(Vxft_settings, use_system_font): Remove.
 1427 	* xselect.c (syms_of_xselect): Update.
 1428 	(Vselection_converter_alist, Vx_lost_selection_functions)
 1429 	(Vx_sent_selection_functions, x_selection_timeout): Remove.
 1430 	* xfns.c (syms_of_xfns): Update.
 1431 	(Vgtk_version_string, Vmotif_version_string)
 1432 	(Vx_cursor_fore_pixel, Vx_hourglass_pointer_shape)
 1433 	(Vx_max_tooltip_size, Vx_mode_pointer_shape)
 1434 	(Vx_no_window_manager, Vx_nontext_pointer_shape)
 1435 	(Vx_pixel_size_width_font_regexp, Vx_pointer_shape)
 1436 	(Vx_sensitive_text_pointer_shape)
 1437 	(Vx_window_horizontal_drag_shape, x_gtk_file_dialog_help_text)
 1438 	(x_gtk_show_hidden_files, x_gtk_use_old_file_dialog)
 1439 	(x_gtk_use_system_tooltips, x_gtk_whole_detached_tool_bar):
 1440 	Remove.
 1441 	* xfaces.c (syms_of_xfaces): Update.
 1442 	(Vface_default_stipple, Vface_font_rescale_alist)
 1443 	(Vface_ignored_fonts, Vface_new_frame_defaults)
 1444 	(Vface_remapping_alist, Vfont_list_limit)
 1445 	(Vscalable_fonts_allowed, Vtty_defined_color_alist): Remove.
 1446 	* xdisp.c (syms_of_xdisp): Update.
 1447 	(Vauto_resize_tool_bars, Vblink_cursor_alist)
 1448 	(Vdisplay_pixels_per_inch, Vfontification_functions)
 1449 	(Vframe_title_format, Vglobal_mode_string)
 1450 	(Vglyphless_char_display, Vhourglass_delay, Vhscroll_step)
 1451 	(Vicon_title_format, Vinhibit_redisplay)
 1452 	(Vline_number_display_limit, Vline_prefix)
 1453 	(Vmax_mini_window_height, Vmenu_bar_update_hook)
 1454 	(Vmenu_updating_frame, Vmessage_log_max)
 1455 	(Vmouse_autoselect_window, Vnobreak_char_display)
 1456 	(Voverlay_arrow_position, Voverlay_arrow_string)
 1457 	(Voverlay_arrow_variable_list, Vredisplay_end_trigger_functions)
 1458 	(Vresize_mini_windows, Vshow_trailing_whitespace)
 1459 	(Vtool_bar_border, Vtool_bar_button_margin, Vtool_bar_style)
 1460 	(Vtruncate_partial_width_windows, Vvoid_text_area_pointer)
 1461 	(Vwindow_scroll_functions, Vwindow_size_change_functions)
 1462 	(Vwindow_text_change_functions, Vwrap_prefix)
 1463 	(auto_raise_tool_bar_buttons_p, automatic_hscrolling_p)
 1464 	(debug_end_pos, display_hourglass_p, emacs_scroll_step)
 1465 	(highlight_nonselected_windows, hscroll_margin)
 1466 	(inhibit_eval_during_redisplay, inhibit_free_realized_faces)
 1467 	(inhibit_menubar_update, inhibit_try_cursor_movement)
 1468 	(inhibit_try_window_id, inhibit_try_window_reusing)
 1469 	(line_number_display_limit_width)
 1470 	(make_cursor_line_fully_visible_p, message_truncate_lines)
 1471 	(mode_line_inverse_video, multiple_frames, overline_margin)
 1472 	(scroll_conservatively, scroll_margin, tool_bar_button_relief)
 1473 	(tool_bar_max_label_size, underline_minimum_offset)
 1474 	(unibyte_display_via_language_environment, x_stretch_cursor_p):
 1475 	Remove.
 1476 	* window.c (syms_of_window): Update.
 1477 	(Vminibuf_scroll_window, Vother_window_scroll_buffer)
 1478 	(Vrecenter_redisplay, Vscroll_preserve_screen_position)
 1479 	(Vtemp_buffer_show_function, Vwindow_configuration_change_hook)
 1480 	(Vwindow_point_insertion_type, auto_window_vscroll_p)
 1481 	(mode_line_in_non_selected_windows, next_screen_context_lines)
 1482 	(window_min_height, window_min_width): Remove.
 1483 	(scroll_margin): Remove declaration.
 1484 	* w32term.c (syms_of_w32term): Update.
 1485 	(Vw32_capslock_is_shiftlock, Vw32_grab_focus_on_raise)
 1486 	(Vw32_recognize_altgr, Vw32_swap_mouse_buttons)
 1487 	(Vx_toolkit_scroll_bars, w32_num_mouse_buttons)
 1488 	(w32_use_visible_system_caret, x_underline_at_descent_line)
 1489 	(x_use_underline_position_properties): Remove.
 1490 	(Vcommand_line_args, Vsystem_name, extra_keyboard_modifiers):
 1491 	Remove declaration.
 1492 	* w32select.c (syms_of_w32select): Update.
 1493 	(Vnext_selection_coding_system, Vselection_coding_system): Remove.
 1494 	* w32proc.c (syms_of_ntproc): Update.
 1495 	(Vw32_downcase_file_names, Vw32_generate_fake_inodes)
 1496 	(Vw32_get_true_file_attributes, Vw32_quote_process_args)
 1497 	(Vw32_start_process_inherit_error_mode)
 1498 	(Vw32_start_process_share_console)
 1499 	(Vw32_start_process_show_window, w32_pipe_read_delay): Remove.
 1500 	(Vsystem_name): Remove declaration.
 1501 	* w32font.c (syms_of_w32font): Update.
 1502 	(Vw32_charset_info_alist): Remove.
 1503 	* w32fns.c (globals_of_w32fns, syms_of_w32fns): Update.
 1504 	(Vw32_alt_is_meta, Vw32_apps_modifier, Vw32_bdf_filename_alist)
 1505 	(Vw32_color_map, Vw32_enable_caps_lock, Vw32_enable_num_lock)
 1506 	(Vw32_enable_palette, Vw32_lwindow_modifier)
 1507 	(Vw32_pass_alt_to_system, Vw32_pass_lwindow_to_system)
 1508 	(Vw32_pass_rwindow_to_system, Vw32_phantom_key_code)
 1509 	(Vw32_rwindow_modifier, Vw32_scroll_lock_modifier)
 1510 	(Vx_cursor_fore_pixel, Vx_hourglass_pointer_shape)
 1511 	(Vx_max_tooltip_size, Vx_mode_pointer_shape)
 1512 	(Vx_no_window_manager, Vx_nontext_pointer_shape)
 1513 	(Vx_pixel_size_width_font_regexp, Vx_pointer_shape)
 1514 	(Vx_sensitive_text_pointer_shape)
 1515 	(Vx_window_horizontal_drag_shape, w32_ansi_code_page)
 1516 	(w32_enable_synthesized_fonts, w32_mouse_button_tolerance)
 1517 	(w32_mouse_move_interval)
 1518 	(w32_pass_extra_mouse_buttons_to_system)
 1519 	(w32_pass_multimedia_buttons_to_system, w32_quit_key)
 1520 	(w32_strict_fontnames, w32_strict_painting): Remove.
 1521 	(Vhourglass_delay, Vmenu_bar_mode, Vtool_bar_mode)
 1522 	(Vw32_recognize_altgr, Vwindow_system_version)
 1523 	(w32_num_mouse_buttons, w32_use_visible_system_caret):
 1524 	Remove declaration.
 1525 	* w32console.c (syms_of_ntterm): Update.
 1526 	(w32_use_full_screen_buffer): Remove.
 1527 	(Vtty_defined_color_alist): Remove declaration.
 1528 	* w16select.c (syms_of_win16select): Update.
 1529 	(Vnext_selection_coding_system, Vselection_coding_system): Remove.
 1530 	* undo.c (syms_of_undo): Update.
 1531 	(Vundo_outer_limit, Vundo_outer_limit_function)
 1532 	(undo_inhibit_record_point, undo_limit, undo_strong_limit):
 1533 	Remove.
 1534 	* textprop.c (syms_of_textprop): Update.
 1535 	(Vchar_property_alias_alist, Vdefault_text_properties)
 1536 	(Vinhibit_point_motion_hooks, Vtext_property_default_nonsticky):
 1537 	Remove.
 1538 	* terminal.c (syms_of_terminal): Update.
 1539 	(Vdelete_terminal_functions, Vring_bell_function): Remove.
 1540 	* term.c (syms_of_term): Update.
 1541 	(Vresume_tty_functions, Vsuspend_tty_functions)
 1542 	(no_redraw_on_reenter, system_uses_terminfo, visible_cursor):
 1543 	Remove.
 1544 	* syntax.c (syms_of_syntax): Update.
 1545 	(Vfind_word_boundary_function_table, multibyte_syntax_as_symbol)
 1546 	(open_paren_in_column_0_is_defun_start)
 1547 	(parse_sexp_ignore_comments, parse_sexp_lookup_properties)
 1548 	(words_include_escapes): Remove.
 1549 	* search.c (syms_of_search): Update.
 1550 	(Vinhibit_changing_match_data, Vsearch_spaces_regexp): Remove.
 1551 	* process.c (syms_of_process): Update.
 1552 	(Vprocess_adaptive_read_buffering, Vprocess_connection_type)
 1553 	(delete_exited_processes): Remove.
 1554 	* print.c (syms_of_print): Update.
 1555 	(Vfloat_output_format, Vprint_charset_text_property)
 1556 	(Vprint_circle, Vprint_continuous_numbering, Vprint_gensym)
 1557 	(Vprint_length, Vprint_level, Vprint_number_table)
 1558 	(Vstandard_output, print_escape_multibyte)
 1559 	(print_escape_newlines, print_escape_nonascii, print_quoted):
 1560 	Remove.
 1561 	* msdos.c (syms_of_msdos): Update.
 1562 	(Vdos_unsupported_char_glyph): Remove.
 1563 	(unibyte_display_via_language_environment): Remove declaration.
 1564 	* minibuf.c (syms_of_minibuf): Update.
 1565 	(Vcompletion_regexp_list, Vhistory_add_new_input)
 1566 	(Vhistory_length, Vminibuffer_completing_file_name)
 1567 	(Vminibuffer_completion_confirm)
 1568 	(Vminibuffer_completion_predicate, Vminibuffer_completion_table)
 1569 	(Vminibuffer_exit_hook, Vminibuffer_help_form)
 1570 	(Vminibuffer_history_position, Vminibuffer_history_variable)
 1571 	(Vminibuffer_prompt_properties, Vminibuffer_setup_hook)
 1572 	(Vread_buffer_function, Vread_expression_map)
 1573 	(completion_ignore_case, enable_recursive_minibuffers)
 1574 	(history_delete_duplicates, minibuffer_allow_text_properties)
 1575 	(minibuffer_auto_raise, read_buffer_completion_ignore_case):
 1576 	Remove.
 1577 	* marker.c (syms_of_marker): Update.
 1578 	(byte_debug_flag): Remove.
 1579 	* macros.c (syms_of_macros): Update.
 1580 	(Vexecuting_kbd_macro, executing_kbd_macro_index): Remove.
 1581 	* lread.c (syms_of_lread): Update.
 1582 	(Vafter_load_alist, Vbyte_boolean_vars)
 1583 	(Vbytecomp_version_regexp, Vcurrent_load_list)
 1584 	(Veval_buffer_list, Vload_file_name, Vload_file_rep_suffixes)
 1585 	(Vload_history, Vload_path, Vload_read_function)
 1586 	(Vload_source_file_function, Vload_suffixes, Vobarray)
 1587 	(Vold_style_backquotes, Vpreloaded_file_list, Vread_circle)
 1588 	(Vread_symbol_positions_list, Vread_with_symbol_positions)
 1589 	(Vsource_directory, Vstandard_input, Vuser_init_file, Vvalues)
 1590 	(force_load_messages, load_convert_to_unibyte)
 1591 	(load_dangerous_libraries, load_force_doc_strings)
 1592 	(load_in_progress): Remove.
 1593 	* keymap.c (syms_of_keymap): Update.
 1594 	(Vdefine_key_rebound_commands, Vemulation_mode_map_alists)
 1595 	(Vminibuffer_local_completion_map)
 1596 	(Vminibuffer_local_filename_completion_map)
 1597 	(Vminibuffer_local_filename_must_match_map)
 1598 	(Vminibuffer_local_map, Vminibuffer_local_must_match_map)
 1599 	(Vminibuffer_local_ns_map, Vminor_mode_map_alist)
 1600 	(Vminor_mode_overriding_map_alist, Vwhere_is_preferred_modifier):
 1601 	Remove.
 1602 	* keyboard.c (syms_of_keyboard): Update.
 1603 	(Vauto_save_timeout, Vcommand_error_function)
 1604 	(Vcommand_hook_internal, Vdeactivate_mark)
 1605 	(Vdeferred_action_function, Vdeferred_action_list)
 1606 	(Vdisable_point_adjustment, Vdouble_click_time)
 1607 	(Vecho_keystrokes, Venable_disabled_menus_and_buttons)
 1608 	(Vfunction_key_map, Vglobal_disable_point_adjustment)
 1609 	(Vhelp_char, Vhelp_event_list, Vhelp_form)
 1610 	(Vinput_method_function, Vinput_method_previous_message)
 1611 	(Vkey_translation_map, Vlast_event_frame)
 1612 	(Vlucid_menu_bar_dirty_flag, Vmenu_bar_final_items)
 1613 	(Vminibuffer_message_timeout, Voverriding_local_map)
 1614 	(Voverriding_local_map_menu_flag, Vpost_command_hook)
 1615 	(Vpre_command_hook, Vprefix_help_command)
 1616 	(Vsaved_region_selection, Vselect_active_regions)
 1617 	(Vshow_help_function, Vspecial_event_map, Vsuggest_key_bindings)
 1618 	(Vthis_command, Vthis_command_keys_shift_translated)
 1619 	(Vthis_original_command, Vthrow_on_input, Vtimer_idle_list)
 1620 	(Vtimer_list, Vtool_bar_separator_image_expression, Vtop_level)
 1621 	(Vtty_erase_char, Vunread_command_events)
 1622 	(Vunread_input_method_events, Vunread_post_input_method_events)
 1623 	(auto_save_interval, cannot_suspend, do_mouse_tracking)
 1624 	(double_click_fuzz, extra_keyboard_modifiers)
 1625 	(inhibit_local_menu_bar_menus, last_command_event)
 1626 	(last_input_event, last_nonmenu_event, menu_prompt_more_char)
 1627 	(menu_prompting, meta_prefix_char, num_input_keys)
 1628 	(num_nonmacro_input_events, polling_period, unread_command_char):
 1629 	Remove.
 1630 	* insdel.c (syms_of_insdel): Update.
 1631 	(Vcombine_after_change_calls, check_markers_debug_flag): Remove.
 1632 	* indent.c (syms_of_indent): Update.
 1633 	(indent_tabs_mode): Remove.
 1634 	* image.c (syms_of_image): Update.
 1635 	(Vimage_cache_eviction_delay, Vimage_types)
 1636 	(Vimagemagick_render_type, Vmax_image_size, Vx_bitmap_file_path)
 1637 	(cross_disabled_images): Remove.
 1638 	* fringe.c (syms_of_fringe): Update.
 1639 	(Vfringe_bitmaps, Voverflow_newline_into_fringe): Remove.
 1640 	* frame.c (syms_of_frame): Update.
 1641 	(Vdefault_frame_alist, Vdefault_frame_scroll_bars)
 1642 	(Vdelete_frame_functions, Vframe_alpha_lower_limit)
 1643 	(Vmake_pointer_invisible, Vmenu_bar_mode, Vmouse_highlight)
 1644 	(Vmouse_position_function, Vterminal_frame, Vtool_bar_mode)
 1645 	(Vx_resource_class, Vx_resource_name, focus_follows_mouse):
 1646 	Remove.
 1647 	* fontset.c (syms_of_fontset): Update.
 1648 	(Valternate_fontname_alist, Vfont_encoding_charset_alist)
 1649 	(Vfontset_alias_alist, Vignore_relative_composition)
 1650 	(Votf_script_alist, Vuse_default_ascent)
 1651 	(Vvertical_centering_font_regexp): Remove.
 1652 	* font.c (syms_of_font): Update.
 1653 	(Vfont_encoding_alist, Vfont_log, Vfont_slant_table)
 1654 	(Vfont_weight_table, Vfont_width_table): Remove.
 1655 	* fns.c (syms_of_fns): Update.
 1656 	(Vfeatures, use_dialog_box, use_file_dialog): Remove.
 1657 	* filelock.c (syms_of_filelock): Update.
 1658 	(Vtemporary_file_directory): Remove.
 1659 	* fileio.c (syms_of_fileio): Update.
 1660 	(Vafter_insert_file_functions, Vauto_save_include_big_deletions)
 1661 	(Vauto_save_list_file_name, Vauto_save_visited_file_name)
 1662 	(Vdefault_file_name_coding_system, Vfile_name_coding_system)
 1663 	(Vfile_name_handler_alist, Vinhibit_file_name_handlers)
 1664 	(Vinhibit_file_name_operation, Vset_auto_coding_function)
 1665 	(Vwrite_region_annotate_functions)
 1666 	(Vwrite_region_annotations_so_far)
 1667 	(Vwrite_region_post_annotation_function)
 1668 	(delete_by_moving_to_trash, write_region_inhibit_fsync): Remove.
 1669 	(Vw32_get_true_file_attributes): Remove declaration.
 1670 	* eval.c (syms_of_eval): Update.
 1671 	(Vdebug_ignored_errors, Vdebug_on_error, Vdebug_on_signal)
 1672 	(Vdebugger, Vinhibit_quit, Vmacro_declaration_function)
 1673 	(Vquit_flag, Vsignal_hook_function, Vstack_trace_on_error)
 1674 	(debug_on_next_call, debug_on_quit, debugger_may_continue)
 1675 	(max_lisp_eval_depth, max_specpdl_size): Remove.
 1676 	* emacs.c (syms_of_emacs): Update.
 1677 	(Vafter_init_time, Vbefore_init_time, Vcommand_line_args)
 1678 	(Vdynamic_library_alist, Vemacs_copyright, Vemacs_version)
 1679 	(Vinstallation_directory, Vinvocation_directory)
 1680 	(Vinvocation_name, Vkill_emacs_hook, Vpath_separator)
 1681 	(Vprevious_system_messages_locale, Vprevious_system_time_locale)
 1682 	(Vsystem_configuration, Vsystem_configuration_options)
 1683 	(Vsystem_messages_locale, Vsystem_time_locale, Vsystem_type)
 1684 	(inhibit_x_resources, noninteractive1): Remove.
 1685 	* editfns.c (syms_of_editfns): Update.
 1686 	(Vbuffer_access_fontified_property)
 1687 	(Vbuffer_access_fontify_functions, Vinhibit_field_text_motion)
 1688 	(Voperating_system_release, Vsystem_name, Vuser_full_name)
 1689 	(Vuser_login_name, Vuser_real_login_name): Remove.
 1690 	* dosfns.c (syms_of_dosfns): Update.
 1691 	(Vdos_display_scancodes, Vdos_version, Vdos_windows_version)
 1692 	(dos_codepage, dos_country_code, dos_decimal_point)
 1693 	(dos_hyper_key, dos_keyboard_layout, dos_keypad_mode)
 1694 	(dos_super_key, dos_timezone_offset): Remove.
 1695 	* doc.c (syms_of_doc): Update.
 1696 	(Vbuild_files, Vdoc_file_name): Remove.
 1697 	* dispnew.c (syms_of_display): Update.
 1698 	(Vglyph_table, Vinitial_window_system)
 1699 	(Vredisplay_preemption_period, Vstandard_display_table)
 1700 	(Vwindow_system_version, baud_rate, cursor_in_echo_area)
 1701 	(inverse_video, redisplay_dont_pause, visible_bell): Remove.
 1702 	* dired.c (syms_of_dired): Update.
 1703 	(Vcompletion_ignored_extensions): Remove.
 1704 	(Vw32_get_true_file_attributes): Remove declaration.
 1705 	* dbusbind.c (syms_of_dbusbind): Update.
 1706 	(Vdbus_debug, Vdbus_registered_buses)
 1707 	(Vdbus_registered_objects_table): Remove.
 1708 	* data.c (syms_of_data): Update.
 1709 	(Vmost_negative_fixnum, Vmost_positive_fixnum): Remove.
 1710 	* composite.c (syms_of_composite): Update.
 1711 	(Vauto_composition_function, Vauto_composition_mode)
 1712 	(Vcompose_chars_after_function, Vcomposition_function_table):
 1713 	Remove.
 1714 	* coding.c (syms_of_coding): Update.
 1715 	(Vcharset_revision_table, Vcoding_category_list)
 1716 	(Vcoding_system_alist, Vcoding_system_for_read)
 1717 	(Vcoding_system_for_write, Vcoding_system_list)
 1718 	(Vdefault_process_coding_system, Venable_character_translation)
 1719 	(Vfile_coding_system_alist, Vlast_code_conversion_error)
 1720 	(Vlast_coding_system_used, Vlatin_extra_code_table)
 1721 	(Vlocale_coding_system, Vnetwork_coding_system_alist)
 1722 	(Vprocess_coding_system_alist)
 1723 	(Vselect_safe_coding_system_function)
 1724 	(Vstandard_translation_table_for_decode)
 1725 	(Vstandard_translation_table_for_encode)
 1726 	(Vtranslation_table_for_input, coding_system_require_warning)
 1727 	(eol_mnemonic_dos, eol_mnemonic_mac, eol_mnemonic_undecided)
 1728 	(eol_mnemonic_unix, inherit_process_coding_system)
 1729 	(inhibit_eol_conversion, inhibit_iso_escape_detection)
 1730 	(inhibit_null_byte_detection): Remove.
 1731 	* cmds.c (syms_of_cmds): Update.
 1732 	(Vpost_self_insert_hook): Remove.
 1733 	* charset.c (syms_of_charset): Update.
 1734 	(Vcharset_list, Vcharset_map_path, Vcurrent_iso639_language)
 1735 	(inhibit_load_charset_map): Remove.
 1736 	* character.c (syms_of_character): Update.
 1737 	(Vauto_fill_chars, Vchar_direction_table, Vchar_script_table)
 1738 	(Vchar_width_table, Vprintable_chars)
 1739 	(Vscript_representative_chars, Vtranslation_table_vector)
 1740 	(Vunicode_category_table): Remove.
 1741 	* ccl.c (syms_of_ccl): Update.
 1742 	(Vcode_conversion_map_vector, Vfont_ccl_encoder_alist)
 1743 	(Vtranslation_hash_table_vector): Remove.
 1744 	* category.c (syms_of_category): Update.
 1745 	(Vword_combining_categories, Vword_separating_categories): Remove.
 1746 	* callproc.c (syms_of_callproc): Update.
 1747 	(Vconfigure_info_directory, Vdata_directory, Vdoc_directory)
 1748 	(Vexec_directory, Vexec_path, Vexec_suffixes)
 1749 	(Vinitial_environment, Vprocess_environment)
 1750 	(Vshared_game_score_directory, Vshell_file_name): Remove.
 1751 	* callint.c (syms_of_callint): Update.
 1752 	(Vcommand_debug_status, Vcommand_history, Vcurrent_prefix_arg)
 1753 	(Vmark_even_if_inactive, Vmouse_leave_buffer_hook): Remove.
 1754 	* bytecode.c (syms_of_bytecode): Update.
 1755 	(Vbyte_code_meter, byte_metering_on): Remove.
 1756 	* buffer.c (syms_of_buffer): Update.
 1757 	(Vafter_change_functions, Vbefore_change_functions)
 1758 	(Vchange_major_mode_hook, Vfirst_change_hook)
 1759 	(Vinhibit_read_only, Vkill_buffer_query_functions)
 1760 	(Vtransient_mark_mode, inhibit_modification_hooks): Remove.
 1761 	* alloc.c (syms_of_alloc): Update.
 1762 	(Vgc_cons_percentage, Vgc_elapsed, Vmemory_full)
 1763 	(Vmemory_signal_data, Vpost_gc_hook, Vpurify_flag)
 1764 	(cons_cells_consed, floats_consed, garbage_collection_messages)
 1765 	(gc_cons_threshold, gcs_done, intervals_consed)
 1766 	(misc_objects_consed, pure_bytes_used, string_chars_consed)
 1767 	(strings_consed, symbols_consed, vector_cells_consed): Remove.
 1768 
 1769 	* lisp.h (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL)
 1770 	(DEFVAR_INT): Assume global is in `globals'.
 1771 	* alloc.c (globals): Define.
 1772 
 1773 2011-01-18  Tom Tromey  <tromey@redhat.com>
 1774 
 1775 	* image.c (Vimagemagick_render_type): Remove redundant
 1776 	definition.
 1777 
 1778 2011-01-18  Tom Tromey  <tromey@redhat.com>
 1779 
 1780 	* xdisp.c (emacs_scroll_step): Rename from scroll_step.
 1781 	(try_scrolling): Rename argument to 'arg_scroll_conservatively'.
 1782 	(redisplay_window): Update.
 1783 	(syms_of_xdisp): Update.
 1784 
 1785 2011-01-18  Tom Tromey  <tromey@redhat.com>
 1786 
 1787 	* gtkutil.h (x_gtk_use_old_file_dialog, x_gtk_show_hidden_files)
 1788 	(x_gtk_file_dialog_help_text, x_gtk_whole_detached_tool_bar):
 1789 	Declare.
 1790 	* gtkutil.c (xg_uses_old_file_dialog):
 1791 	(xg_get_file_with_chooser):
 1792 	(xg_tool_bar_detach_callback): Don't redeclare globals.
 1793 
 1794 2011-01-18  Tom Tromey  <tromey@redhat.com>
 1795 
 1796 	* lisp.h (DEFVAR_BUFFER_DEFAULTS): New macro.
 1797 	* buffer.c (syms_of_buffer): Use DEFVAR_BUFFER_DEFAULTS.
 1798 
 1799 2011-01-18  Paul Eggert  <eggert@cs.ucla.edu>
 1800 
 1801 	* lisp.h (DECL_ALIGN): Define if HAVE_ATTRIBUTE_ALIGNED, not if
 1802 	defined __GNUC__.  ../configure now checks for this GCC feature,
 1803 	which is now also supported by IBM and Oracle compilers.
 1804 	(USE_LSB_TAG) [defined DECL_ALIGN]: Also define if defined __sun,
 1805 	since Solaris malloc returns mult-of-8.
 1806 
 1807 2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
 1808 
 1809 	* image.c (syms_of_image): Don't access XSYMBOL's internals directly.
 1810 
 1811 2011-01-17  Paul Eggert  <eggert@cs.ucla.edu>
 1812 
 1813 	Give a name FLOAT_TO_STRING_BUFSIZE to the constant 350.
 1814 	* lisp.h (FLOAT_TO_STRING_BUFSIZE): New macro.
 1815 	* data.c (Fnumber_to_string): Use it.
 1816 	* print.c (float_to_string, print_object): Likewise.
 1817 
 1818 	Include <unistd.h> unilaterally.
 1819 	* alloc.c, atimer.c, buffer.c, callproc.c, dired.c, dispnew.c, doc.c:
 1820 	* doprnt.c, editfns.c, emacs.c, fileio.c, filelock.c, fns.c:
 1821 	* getloadavg.c, getpagesize.h, gmalloc.c, image.c, keyboard.c:
 1822 	* lread.c, process.c, process.h, ralloc.c, regex.c, sysdep.c:
 1823 	* systty.h, term.c, termcap.c, xfns.c, xrdb.c, xselect.c, xsmfns.c:
 1824 	* xterm.c:
 1825 	Include <unistd.h> without worrying about HAVE_UNISTD_H, since
 1826 	unistd.h is always present now, possibly supplied by gnulib.
 1827 
 1828 	* mktime.c: Remove; moving to ../lib.
 1829 
 1830 	Use gnulib's mktime module.
 1831 	* deps.mk (mktime.o): Remove rule.
 1832 
 1833 	Use gnulib's ftoastr module.
 1834 	* print.c: Include ftoastr.h.
 1835 	(FLT_RADIX, DBL_MANT_DIG, DBL_DIG, DBL_MIN, DOUBLE_DIGITS_BOUND):
 1836 	Remove; no longer needed.
 1837 	(float_to_string): Use dtoastr rather than rolling our own code,
 1838 	which had an off-by-one bug on non-IEEE hosts.
 1839 
 1840 	* config.in: Regenerate.
 1841 
 1842 	Automate syncing from gnulib.
 1843 	* Makefile.in (lib): New macro.
 1844 	(ALL_CFLAGS): Add -I$(lib) -I$(srcdir)/../lib.
 1845 	($(lib)/libgnu.a): New rule.
 1846 	(temacs$(EXEEXT)): Also link $(lib)/libgnu.a.
 1847 
 1848 	* xfns.c (x_real_positions): Fix signedness of local var 'ign'.
 1849 	XGetGeometry wants unsigned int *, not int *, for its last 4 args,
 1850 	so change the type of 'ign' to unsigned int from int.
 1851 
 1852 	* regex.c (analyse_first): Remove unreachable 'continue' statement.
 1853 
 1854 	* xterm.h (struct x_display_info): Remove stray semicolon.
 1855 	The extra semicolon didn't conform to the C standard.
 1856 	Problem reported by Sun cc.
 1857 
 1858 	* lisp.h: Redo flags and XSET slightly to avoid overflow diagnostics.
 1859 	These changes make compilation easier to follow with Sun cc.
 1860 	(ARRAY_MARK_FLAG): Make it signed, so that it can be assigned to
 1861 	EMACS_INT values without provoking overflow diagnostics.
 1862 	(PSEUDOVECTOR_FLAG): Likewise, for consistency.
 1863 	(XSET) [! USE_LSB_TAG]: Use unsigned left shift to avoid overflow
 1864 	diagnostic with signed left shift.
 1865 
 1866 	* fileio.c (make_temp_name): Remove unreachable code.
 1867 
 1868 	* fontset.c (free_realized_fontset): Mark unreachable code with if (0).
 1869 	Previously it was marked by preceding it with "return;", but
 1870 	Sun cc complains about this.
 1871 
 1872 	* coding.c (decode_coding_emacs_mule): Remove unreachable code.
 1873 	This is a typo left over from 2009-03-06T07:51:52Z!handa@m17n.org,
 1874 	which fixed Bug#2370.  Caught by Sun cc.
 1875 
 1876 2011-01-15  Martin Rudalics  <rudalics@gmx.at>
 1877 
 1878 	* window.c (inhibit_point_swap): New variable.
 1879 	(Fselect_window): If inhibit_point_swap is nonzero, avoid swapping
 1880 	point this time.
 1881 	(Fset_window_configuration): Set inhibit_point_swap to 1 instead
 1882 	of setting selected_window to nil (Bug#7728).
 1883 
 1884 2011-01-11  Tassilo Horn  <tassilo@member.fsf.org>
 1885 
 1886 	* image.c (imagemagick_load_image, Finit_image_library):
 1887 	Free intermediate image after creating a MagickWand from it.
 1888 	Terminate MagickWand environment after image loading.
 1889 
 1890 2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
 1891 
 1892 	* dbusbind.c (Fdbus_register_service): Raise an error in case of
 1893 	unexpected return values.
 1894 	(Fdbus_register_method): Remove connection initialization.
 1895 
 1896 2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
 1897 
 1898 	* dbusbind.c (QCdbus_request_name_allow_replacement): New symbol;
 1899 	used by Fdbus_register_service.
 1900 	(QCdbus_request_name_replace_existing): Likewise.
 1901 	(QCdbus_request_name_do_not_queue): Likewise.
 1902 	(QCdbus_request_name_reply_primary_owner): Likewise.
 1903 	(QCdbus_request_name_reply_in_queue): Likewise.
 1904 	(QCdbus_request_name_reply_exists): Likewise.
 1905 	(QCdbus_request_name_reply_already_owner): Likewise.
 1906 	(Fdbus_register_service): New function.
 1907 	(Fdbus_register_method): Use Fdbus_register_service to do the name
 1908 	registration.
 1909 	(syms_of_dbusbind): Add symbols dbus-register-service,
 1910 	:allow-replacement, :replace-existing, :do-not-queue,
 1911 	:primary-owner, :existing, :in-queue and :already-owner.
 1912 
 1913 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
 1914 
 1915 	* gtkutil.c (update_frame_tool_bar): Don't advance tool-bar index
 1916 	when removing extra buttons.
 1917 
 1918 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
 1919 
 1920 	* fns.c (Fyes_or_no_p): Doc fix.
 1921 
 1922 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
 1923 
 1924 	* fns.c (Fyes_or_no_p): Add usage.
 1925 
 1926 2011-01-08  Glenn Morris  <rgm@gnu.org>
 1927 
 1928 	* makefile.w32-in ($(EMACS)):
 1929 	* Makefile.in (emacs$(EXEEXT)): -batch implies -q.
 1930 
 1931 	* xdisp.c (syms_of_xdisp) <Qrisky_local_variable>: Move from here...
 1932 	* emacs.c (syms_of_emacs) <Qrisky_local_variable>: ...to here.
 1933 
 1934 2011-01-07  Andreas Schwab  <schwab@linux-m68k.org>
 1935 
 1936 	* image.c (imagemagick_load_image): Fix some resource leaks and
 1937 	error handling.
 1938 
 1939 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
 1940 
 1941 	* fns.c (Fyes_or_no_p): Accept format string args.
 1942 
 1943 2011-01-07  Glenn Morris  <rgm@gnu.org>
 1944 
 1945 	* emacs.c (no_site_lisp): New int.
 1946 	(USAGE1): Add --no-site-lisp, mention -Q uses it.
 1947 	(main): Set no_site_lisp.
 1948 	(standard_args): Add --no-site-lisp.
 1949 	* lisp.h (no_site_lisp): New int.
 1950 	* lread.c (init_lread): If no_site_lisp, don't re-add site-lisp
 1951 	directories to Vload_path.
 1952 
 1953 2011-01-05  Andreas Schwab  <schwab@linux-m68k.org>
 1954 
 1955 	* alloc.c (mark_stack): Use __builtin_unwind_init if available.
 1956 
 1957 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
 1958 
 1959 	* dbusbind.c (Fdbus_register_method): Add optional parameter
 1960 	dont_register_service.  Updated docstring accordingly.
 1961 
 1962 2011-01-04  Glenn Morris  <rgm@gnu.org>
 1963 
 1964 	* emacs.c (emacs_copyright): Update short copyright year to 2011.
 1965 
 1966 2011-01-03  Eli Zaretskii  <eliz@gnu.org>
 1967 
 1968 	* image.c (png_jmpbuf): Remove definition.
 1969 	(my_png_error, png_load): Don't use png_jmpbuf.
 1970 
 1971 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
 1972 
 1973 	* keyboard.c (Vselect_active_regions): Doc fix.  (Bug#7702)
 1974 
 1975 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
 1976 
 1977 	* image.c <Qlibpng_version>: New variable.
 1978 	(syms_of_image): Intern and staticpro it.  Set its value to the
 1979 	version of PNG library we were compiled with.
 1980 	(my_png_error, png_load): Avoid GCC warnings about direct access
 1981 	to png_ptr->jmpbuf.  (Bug#7716)
 1982 	(png_jmpbuf): New macro.
 1983 	(my_png_error, png_load): Use it instead of #ifdef'ing according
 1984 	to PNG_LIBPNG_VER_MAJOR and PNG_LIBPNG_VER_MINOR.
 1985 
 1986 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
 1987 
 1988 	* .gdbinit (xgetptr): Fix the union+lsb case.
 1989 	(xbacktrace): Fix the union case.
 1990 
 1991 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
 1992 
 1993 	* window.c (Fmove_to_window_line): Avoid abort when called in a buffer
 1994 	different from selected-window's.
 1995 
 1996 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
 1997 
 1998 	* keyboard.c (parse_menu_item): Prepend "  " to the key sequence
 1999 	equivalent of a menu item when the key sequence is given by the
 2000 	`:keys' attribute.  (Bug#7662)
 2001 
 2002 	* xdisp.c (Fformat_mode_line): Doc fix: no need to state that only
 2003 	the basic faces are supported.
 2004 
 2005 2011-01-02  Jan Djärv  <jan.h.d@swipnet.se>
 2006 
 2007 	* xterm.c (x_check_fullscreen): Fix pixel/character mixup.
 2008 
 2009 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
 2010 
 2011 	* xdisp.c (Fformat_mode_line): Fix last change.
 2012 
 2013 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
 2014 
 2015 	* xdisp.c (Fformat_mode_line): Restrict the FACE argument to basic
 2016 	faces (Bug#7587).
 2017 
 2018 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
 2019 
 2020 	* fileio.c (Fexpand_file_name): One more doc fix.
 2021 
 2022 2011-01-01  Chong Yidong  <cyd@stupidchicken.com>
 2023 
 2024 	* gtkutil.c (xg_get_tool_bar_widgets): Use NULL for a missing
 2025 	image or label in the container.
 2026 	(xg_make_tool_item): Replace VERT_ONLY arg with HORIZ, TEXT_IMAGE.
 2027 	(xg_show_toolbar_item): Function deleted.
 2028 	(xg_tool_item_stale_p): New function.
 2029 	(update_frame_tool_bar): Calculate tool-bar style once per call.
 2030 	Instead of hiding text labels, omit them.  Don't use
 2031 	xg_show_toolbar_item; create new GtkToolItems from scratch if
 2032 	necessary, instead of trying to re-use them.  This avoids an
 2033 	annoying animation when changing tool-bars.
 2034 
 2035 2010-12-31  Jan Djärv  <jan.h.d@swipnet.se>
 2036 
 2037 	* nsfns.m (ns_set_name_as_filename): Always use buffer name for
 2038 	title and buffer filename only for RepresentedFilename.
 2039 	Handle bad UTF-8 in buffer name (Bug#7517).
 2040 
 2041 2010-12-30  Jan Djärv  <jan.h.d@swipnet.se>
 2042 
 2043 	* coding.h (ENCODE_UTF_8): Remove "Used by ..." comment.
 2044 
 2045 	* nsfns.m (ns_set_name_iconic): Remove.
 2046 	(ns_set_name_internal): New function (Bug#7517).
 2047 	(Vicon_title_format): Extern declare.
 2048 	(ns_set_name): Call ns_set_name_internal.
 2049 	(x_explicitly_set_name): Remove call to ns_set_name_iconic.
 2050 	(x_implicitly_set_name): Ditto.
 2051 	(x_set_title): Remove commet about EXPLICIT.  Call ns_set_name_internal.
 2052 	(ns_set_name_as_filename): Encode name with ENCODE_UTF_8 (Bug#7517).
 2053 
 2054 2010-12-29  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
 2055 
 2056 	* window.c (syms_of_window): Add missing defsubr for
 2057 	window-use-time.
 2058 
 2059 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
 2060 
 2061 	* xterm.h (x_alloc_lighter_color_for_widget): Restore declaration.
 2062 	* xterm.c (x_alloc_lighter_color_for_widget): Restore.
 2063 
 2064 2010-12-27  Andreas Schwab  <schwab@linux-m68k.org>
 2065 
 2066 	* buffer.c: Remove unused declarations.
 2067 	* buffer.h: Likewise.
 2068 	* charset.h: Likewise.
 2069 	* composite.h: Likewise.
 2070 	* dispextern.h: Likewise.
 2071 	* dispnew.c: Likewise.
 2072 	* font.h: Likewise.
 2073 	* fontset.c: Likewise.
 2074 	* fontset.h: Likewise.
 2075 	* intervals.h: Likewise.
 2076 	* keymap.h: Likewise.
 2077 	* lisp.h: Likewise.
 2078 	* syntax.c: Likewise.
 2079 	* syntax.h: Likewise.
 2080 	* termhooks.h: Likewise.
 2081 	* window.h: Likewise.
 2082 	* xsettings.h: Likewise.
 2083 	* xterm.c: Likewise.
 2084 	* xterm.h: Likewise.
 2085 
 2086 	* chartab.c (sub_char_table_ref): Make static.
 2087 	* dispnew.c (line_hash_code, required_matrix_height)
 2088 	(required_matrix_width): Likewise.
 2089 	* eval.c (interactive_p, apply_lambda): Likewise.
 2090 	* fns.c (string_make_multibyte, copy_hash_table, hash_clear):
 2091 	Likewise.
 2092 	* font.c (QCadstyle, QCregistry, font_make_spec)
 2093 	(font_parse_fcname, font_encode_char, font_at): Likewise.
 2094 	* frame.c (x_frame_get_arg): Likewise.
 2095 	* keymap.c (get_keyelt): Likewise.
 2096 	* lread.c (read_filtered_event): Likewise.
 2097 	* print.c (write_string_1): Likewise.
 2098 	* window.c (delete_window, window_height, window_width)
 2099 	(foreach_window): Likewise.
 2100 	* xrdb.c (x_get_customization_string, x_get_resource): Likewise.
 2101 	* xterm.c (x_scroll_bar_clear, xembed_set_info)
 2102 	(xembed_send_message): Likewise.
 2103 
 2104 	* eval.c (run_hook_list_with_args): Delete.
 2105 	* font.c (font_unparse_gtkname, font_update_lface): Likewise.
 2106 	* terminal.c (get_terminal_param): Likewise.
 2107 	* xterm.c (x_alloc_lighter_color_for_widget): Likewise.
 2108 
 2109 	* scroll.c: Fix comment.
 2110 
 2111 	* dispnew.c (add_window_display_history)
 2112 	(add_frame_display_history, glyph_row_slice_p)
 2113 	(find_glyph_row_slice, flush_stdout)
 2114 	(check_matrix_pointer_lossage, matrix_row)
 2115 	(check_matrix_invariants, check_window_matrix_pointers)
 2116 	(check_matrix_pointers, window_to_frame_vpos)
 2117 	(window_to_frame_hpos): Prototize.
 2118 	* textprop.c (erase_properties): Likewise.
 2119 
 2120 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
 2121 
 2122 	* print.c (PRINT_NUMBER_OBJECT, PRINT_NUMBER_STATUS): Remove.
 2123 	(print_preprocess): Fix handling of uninterned symbols in last change.
 2124 
 2125 	* print.c (print, print_preprocess, print_object): Use a hash table
 2126 	rather than a linear table for Vprint_number_table.
 2127 
 2128 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
 2129 
 2130 	* frame.c (focus_follows_mouse): Default to 0 (Bug#7269).
 2131 
 2132 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
 2133 
 2134 	* keyboard.c (Vtool_bar_separator_image_expression): New variable.
 2135 	(parse_tool_bar_item): Use it to obtain image separators for
 2136 	displays not using native tool-bar separators.
 2137 
 2138 	* xdisp.c (build_desired_tool_bar_string): Don't handle separators
 2139 	specially, since this is now done in parse_tool_bar_item.
 2140 
 2141 2010-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 2142 
 2143 	Minor clean up to silence some gcc warnings.
 2144 	* window.c (Fset_window_buffer):
 2145 	* xterm.c (x_set_frame_alpha): Restructure code to silence
 2146 	compiler warning.
 2147 	(handle_one_xevent): Remove unused var `p'.
 2148 	(do_ewmh_fullscreen): Remove unused var `lval'.
 2149 	(xembed_set_info): Remove unused var `atom'.
 2150 	* textprop.c (Fremove_list_of_text_properties): Add braces to silence
 2151 	compiler warning.
 2152 	* fontset.c (fontset_id_valid_p, dump_fontset):
 2153 	* ftfont.c (ftfont_drive_otf): Modernize k&r declaration.
 2154 	* eval.c (Feval, Ffuncall): Avoid unneeded gotos.
 2155 	* dispnew.c (update_frame, update_frame_1): Compile the `do_pause'
 2156 	label only when it's used.
 2157 	* image.c (x_create_bitmap_from_xpm_data):
 2158 	* dispextern.h (x_create_bitmap_from_xpm_data): Use const char** like
 2159 	its callers.
 2160 	* coding.c (detect_coding_utf_16): Remove unused vars `src_base' and
 2161 	`consumed_chars'.
 2162 	(DECODE_EMACS_MULE_21_COMPOSITION): Remove unused var `charbuf_base'.
 2163 	(decode_coding_emacs_mule): Remove unused label `retry'.
 2164 	(detect_eol): Add parens to silence compiler warning.
 2165 	* alloc.c (bytes_used_when_reconsidered): Move to the #ifdef where
 2166 	it's used to silence the compiler.
 2167 	(make_number): Modernize k&r declaration.
 2168 	(mark_char_table): Add parens to silence compiler warning.
 2169 
 2170 2010-12-17  Chong Yidong  <cyd@stupidchicken.com>
 2171 
 2172 	* keyboard.c (parse_tool_bar_item): Allow menu separators in
 2173 	tool-bar maps.
 2174 	(menu_separator_name_p): New function, from gtkutil.c.
 2175 	(separator_names): Move from gtkutil.c.
 2176 
 2177 	* keyboard.h (menu_separator_name_p): Add prototype.
 2178 
 2179 	* gtkutil.c (XG_BIN_CHILD): New macro.
 2180 	(xg_get_menu_item_label, xg_update_menubar)
 2181 	(xg_update_menu_item, xg_tool_bar_menu_proxy)
 2182 	(xg_show_toolbar_item, update_frame_tool_bar): Use it.
 2183 	(separator_names, xg_separator_p): Move to keyboard.c.
 2184 	(create_menus, xg_update_submenu, update_frame_tool_bar):
 2185 	Use menu_separator_name_p.
 2186 
 2187 	* nsmenu.m (name_is_separator): Function deleted.
 2188 	(addItemWithWidgetValue): Use menu_separator_name_p.
 2189 
 2190 	* w32menu.c (name_is_separator): Function deleted.
 2191 	(add_menu_item): Use menu_separator_name_p.
 2192 
 2193 2010-12-16  Jan Djärv  <jan.h.d@swipnet.se>
 2194 
 2195 	* nsterm.m (ns_draw_window_cursor): If the cursor color is the
 2196 	same as the background, use the face foreground as cursor.
 2197 
 2198 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
 2199 
 2200 	* fileio.c (Fexpand_file_name): Doc fix.  (Bug#7617)
 2201 
 2202 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
 2203 
 2204 	* xdisp.c (string_pos_nchars_ahead, c_string_pos)
 2205 	(face_before_or_after_it_pos, next_element_from_string)
 2206 	(next_element_from_c_string, produce_stretch_glyph): Remove unused
 2207 	calculations of maximum string length before calling
 2208 	string_char_and_length and STRING_CHAR_AND_LENGTH.
 2209 	(string_char_and_length): Update commentary: MAXLEN is no longer
 2210 	needed.
 2211 
 2212 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
 2213 
 2214 	* keyboard.c (kbd_buffer_get_event): Construct SAVE_SESSION_EVENT
 2215 	as (Qsave_session arg).
 2216 
 2217 	* xsmfns.c (smc_interact_CB): Set arg to Qnil.
 2218 	(smc_die_CB): Make an event with arg Qt.
 2219 	(Fhandle_save_session): If event has Qt as argument,
 2220 	call Fkill_emacs (Bug#7552).
 2221 
 2222 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
 2223 
 2224 	* buffer.c (transient-mark-mode): Doc fix (Bug#7465).
 2225 
 2226 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
 2227 
 2228 	* xsmfns.c (smc_die_CB): Call Fkill_emacs (Bug#7552).
 2229 
 2230 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
 2231 
 2232 	* dispextern.h (struct it): New member overlay_strings_charpos.
 2233 
 2234 	* xdisp.c (next_overlay_string, load_overlay_strings): Record the
 2235 	charpos where we computed n_overlay_strings.
 2236 	(next_overlay_string): Load overlay strings at recorded position,
 2237 	which may not be the same as the iterator's charpos (Bug#7016).
 2238 
 2239 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
 2240 
 2241 	* xdisp.c (try_scrolling): Avoid infloop if the first line is
 2242 	obscured due to a vscroll (Bug#7537).
 2243 
 2244 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
 2245 
 2246 	* nsterm.h (FRAME_NS_TOOLBAR_HEIGHT): Rename to FRAME_TOOLBAR_HEIGHT.
 2247 
 2248 	* nsterm.m (x_set_window_size, windowWillResize, initFrameFromEmacs):
 2249 	Use FRAME_TOOLBAR_HEIGHT.
 2250 	(x_set_offset): Handle XNegative and YNegative in
 2251 	f->size_hint_flags (Bug#7510).
 2252 
 2253 2010-12-11  Eli Zaretskii  <eliz@gnu.org>
 2254 
 2255 	* w32fns.c (Fx_show_tip): Call try_window with last argument
 2256 	TRY_WINDOW_IGNORE_FONTS_CHANGE.  Delete the TODO ifdef: problem
 2257 	solved.  Round up the tip height to an integral multiple of the
 2258 	frame's line height.  Add FRAME_COLUMN_WIDTH to the tip width.
 2259 	(Bug#7398)
 2260 
 2261 2010-12-08  Glenn Morris  <rgm@gnu.org>
 2262 
 2263 	* fileio.c (Fverify_visited_file_modtime): Default to current buffer.
 2264 
 2265 2010-12-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 2266 
 2267 	* xml.c (parse_region): Ignore blank HTML nodes.
 2268 	(make_dom): Return CDATA sections (like <style>foo</style>) as
 2269 	text nodes.
 2270 
 2271 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
 2272 
 2273 	* lread.c (read1): Allow newstyle unquote outside of backquote.
 2274 	Disallow old-style backquotes inside new-style backquotes.
 2275 	Don't count unquotes to figure out when we're "syntactically inside
 2276 	but semantically outside of a backquote" any more.
 2277 	Extend the restriction no-unescaped-commas-and-backquotes-in-symbols
 2278 	to all contexts.
 2279 
 2280 2010-12-05  Chong Yidong  <cyd@stupidchicken.com>
 2281 
 2282 	* process.c: Remove checks for HAVE_SYS_IOCTL_H (Bug#7484).
 2283 
 2284 2010-12-04  Andreas Schwab  <schwab@linux-m68k.org>
 2285 
 2286 	* Makefile.in (M_FILE): Substitute @M_FILE@ instead of @machfile@.
 2287 	(S_FILE): Substitute @S_FILE@ instead of @opsysfile@.
 2288 	* m/arm.h, m/sh3.h, m/xtensa.h: Remove files.
 2289 
 2290 2010-12-03  Andreas Schwab  <schwab@linux-m68k.org>
 2291 
 2292 	* lisp.h (union Lisp_Object): Explicitly declare signedness of
 2293 	bit-field.
 2294 	(XINT): Remove variant for EXPLICIT_SIGN_EXTEND.
 2295 	* m/alpha.h (EXPLICIT_SIGN_EXTEND): Don't define.
 2296 	* m/amdx86-64.h (EXPLICIT_SIGN_EXTEND): Likewise.
 2297 	* m/ia64.h (EXPLICIT_SIGN_EXTEND): Likewise.
 2298 	* m/ibms390.h (EXPLICIT_SIGN_EXTEND): Likewise.
 2299 	* m/ibms390x.h (EXPLICIT_SIGN_EXTEND): Likewise.
 2300 	* m/iris4d.h (EXPLICIT_SIGN_EXTEND): Likewise.
 2301 	* m/m68k.h (EXPLICIT_SIGN_EXTEND): Likewise.
 2302 	* m/sparc.h (EXPLICIT_SIGN_EXTEND): Likewise.
 2303 	* m/template.h (EXPLICIT_SIGN_EXTEND): Likewise.
 2304 	* m/hp800.h: Remove file.
 2305 	* m/mips.h: Remove file.
 2306 
 2307 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
 2308 
 2309 	* nsterm.m (ns_dumpglyphs_image): If drawing cursor, fill background
 2310 	with cursor color and draw a rectangle around the image (Bug#7412).
 2311 
 2312 2010-12-03  Andreas Schwab  <schwab@linux-m68k.org>
 2313 
 2314 	* frame.c (x_set_font): Remove unused variable.
 2315 
 2316 2010-12-02  Jan Djärv  <jan.h.d@swipnet.se>
 2317 
 2318 	* nsmenu.m (update_frame_tool_bar): Remove NSLog on invalid image.
 2319 
 2320 	* nsterm.m (ns_draw_glyph_string): Switch fore- and background if
 2321 	drawing text under filled box cursor (Bug#7479).
 2322 
 2323 2010-11-27  Kenichi Handa  <handa@m17n.org>
 2324 
 2325 	* charset.c (emacs_mule_charset): Make it an array of charset ID;
 2326 	i.e. integer.
 2327 	(Fdefine_charset_internal): Adjust for the above change.
 2328 	(init_charset_once): Likewise.
 2329 
 2330 	* charset.h (emacs_mule_charset): Adjust the prototype.
 2331 	Delete duplicated extern.
 2332 
 2333 	* coding.c (emacs_mule_char): Adjust for the change of
 2334 	emacs_mule_charset.
 2335 
 2336 	* lread.c (read_emacs_mule_char): Adjust for the change of
 2337 	emacs_mule_charset.
 2338 
 2339 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
 2340 
 2341 	* w32.c (_PROCESS_MEMORY_COUNTERS_EX): Don't define with versions
 2342 	of w32api >= 3.15.  (Bug#6989)  (Bug#7452)
 2343 
 2344 2010-11-27  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 2345 
 2346 	* alloc.c (mark_terminals): Ensure that the image cache is marked
 2347 	even if the terminal object was marked earlier (Bug#6301).
 2348 
 2349 2010-11-21  Chong Yidong  <cyd@stupidchicken.com>
 2350 
 2351 	* editfns.c (Fbyte_to_string): Signal an error arg is not a byte.
 2352 
 2353 2010-11-27  Jan Djärv  <jan.h.d@swipnet.se>
 2354 
 2355 	* gtkutil.c (menubar_map_cb): New function (Bug#7425).
 2356 	(xg_update_frame_menubar): Connect signal map to menubar_map_cb.
 2357 	Use 23 as menubar height if 0.  (Bug#7425).
 2358 
 2359 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
 2360 
 2361 	* xdisp.c (set_message_1): Force paragraph direction in echo area
 2362 	be left-to-right.
 2363 
 2364 	* keyboard.c (make_lispy_position): Put a meaningful value in yret
 2365 	when the click is on the header or mode line.
 2366 
 2367 2010-11-25  Eli Zaretskii  <eliz@gnu.org>
 2368 
 2369 	* xdisp.c (set_cursor_from_row): Don't forget to consider the
 2370 	`cursor' property of the first character in overlay strings.
 2371 	(Bug#7474)  (Bug#7481)
 2372 
 2373 2010-11-24  Jan Djärv  <jan.h.d@swipnet.se>
 2374 
 2375 	* nsterm.m (NSLeftControlKeyMask, NSLeftCommandKeyMask)
 2376 	(NSLeftAlternateKeyMask): New defines.
 2377 	(keyDown): Parse left and right keys separately (Bug#7458).
 2378 	Compare Left key masks exactly (Bug#7458).
 2379 
 2380 2010-11-23  Eli Zaretskii  <eliz@gnu.org>
 2381 
 2382 	* intervals.c (temp_set_point_both): Define before calling, to
 2383 	avoid GCC warnings.
 2384 
 2385 2010-11-23  Dan Nicolaescu  <dann@ics.uci.edu>
 2386 
 2387 	* nsmenu.m: Use #include <config.h> instead of "config.h".
 2388 
 2389 	* term.c (Qglyphless_char,last_glyphless_glyph_frame)
 2390 	(last_glyphless_glyph_face_id, last_glyphless_glyph_merged_face_id):
 2391 	Move declarations ...
 2392 	* lisp.h (Qglyphless_char,last_glyphless_glyph_frame)
 2393 	(last_glyphless_glyph_face_id, last_glyphless_glyph_merged_face_id):
 2394 	... here.
 2395 
 2396 	* emacs.c (gdb_use_union, gdb_valbits,gdb_gctypebits)
 2397 	(gdb_data_seg_bits, gdb_array_mark_flag, PVEC_FLAG)
 2398 	(gdb_pvec_type):
 2399 	* print.c (print_output_debug_flag):
 2400 	* lisp.h (debug_print): Mark as EXTERNALLY_VISIBLE.
 2401 	(safe_debug_print): New declaration.
 2402 
 2403 	* xterm.c:
 2404 	* systty.h:
 2405 	* sound.c: Include <sys/ioctl.h> unconditionally.
 2406 
 2407 2010-11-22  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 2408 
 2409 	* alloc.c (mark_maybe_object): Return early if given a Lisp
 2410 	integer (Bug#6301).
 2411 
 2412 2010-11-21  Ken Brown  <kbrown@cornell.edu>
 2413 
 2414 	* sheap.c (STATIC_HEAP_SIZE): Revert previous change.
 2415 
 2416 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
 2417 
 2418 	* nsterm.m (ns_right_command_modifier, ns_right_control_modifier):
 2419 	Define (Bug#7458).
 2420 	(NSRightCommandKeyMask, NSRightControlKeyMask): Define (Bug#7458).
 2421 	(EV_MODIFIERS): Check for NSRightCommandKeyMask and
 2422 	NSRightControlKeyMask also (Bug#7458).
 2423 	(keyDown): Ditto (Bug#7458).
 2424 	(syms_of_nsterm): Defvar ns-right-command-modifier and
 2425 	ns-right-control-modifier (Bug#7458).
 2426 
 2427 2010-11-21  Dan Nicolaescu  <dann@ics.uci.edu>
 2428 
 2429 	* sysdep.c (sys_subshell): Remove SET_EMACS_PRIORITY.
 2430 	* emacs.c (emacs_priority, syms_of_emacs): Remove emacs_priority.
 2431 
 2432 	* intervals.h (temp_set_point, temp_set_point_both):
 2433 	* buffer.h (offset_intervals, copy_intervals): Remove INLINE.
 2434 
 2435 2010-11-20  Ken Brown  <kbrown@cornell.edu>
 2436 
 2437 	* sheap.c (STATIC_HEAP_SIZE): Increase to 13MB.
 2438 
 2439 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
 2440 
 2441 	* term.c (produce_glyphless_glyph): Use \uNNNN, \UNNNNNN, or
 2442 	\xNNNNNN for hex-code display of glyphless characters.
 2443 
 2444 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
 2445 
 2446 	* gtkutil.c (xg_make_tool_item): Take vert_only as argument.
 2447 	Set important to ! vert_only.
 2448 	(xg_show_toolbar_item): Don't show label horizontally if
 2449 	tool item isn't important.
 2450 	(update_frame_tool_bar): Get TOOL_BAR_ITEM_VERT_ONLY and pass it to
 2451 	xg_make_tool_item, or update important on existing tool item.
 2452 
 2453 	* keyboard.c (QCvert_only): New variable.
 2454 	(parse_tool_bar_item): Check for QCvert_only.
 2455 	(syms_of_keyboard): Initialize QCvert_only.
 2456 
 2457 	* dispextern.h (tool_bar_item_idx): Add TOOL_BAR_ITEM_VERT_ONLY.
 2458 
 2459 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
 2460 
 2461 	* msdos.c (dos_rawgetc): Use gen_help_event, instead of doing the
 2462 	same in-line.
 2463 
 2464 2010-11-20  Andreas Schwab  <schwab@linux-m68k.org>
 2465 
 2466 	* xfaces.c (lookup_face): Make static.
 2467 	* dispnew.c (copy_row_except_pointers): Likewise.
 2468 	* syntax.c (dec_bytepos): Likewise.
 2469 	(inc_bytepos): Remove.
 2470 	* dispextern.h (lookup_face): Remove declaration.
 2471 
 2472 2010-11-19  Eli Zaretskii  <eliz@gnu.org>
 2473 
 2474 	* xdisp.c (set_cursor_from_row): Display cursor after all the
 2475 	glyphs that come from an overlay.  Don't overstep the last glyph
 2476 	when skipping glyphs from an overlay.  (Bug#6687)
 2477 
 2478 2010-11-18  Dan Nicolaescu  <dann@ics.uci.edu>
 2479 
 2480 	* alloc.c (refill_memory_reserve): Move declaration ...
 2481 	* lisp.h (refill_memory_reserve): ... here.
 2482 
 2483 	* strftime.c (_strftime_copytm): Add declaration.
 2484 
 2485 	* callproc.c (syms_of_callproc): Use intern_c_string.
 2486 
 2487 	Move declarations from .c files to .h files.
 2488 	* process.c (timers_run):
 2489 	* minibuf.c (quit_char):
 2490 	* lread.c (read_emacs_mule_char):
 2491 	* keyboard.c (minibuf_level, message_enable_multibyte)
 2492 	(pending_malloc_warning):
 2493 	* insdel.c (Vselect_active_regions, Vsaved_region_selection)
 2494 	(Qonly): Remove declarations.
 2495 	* lisp.h (pending_malloc_warning, Vsaved_region_selection)
 2496 	(Vselect_active_regions):
 2497 	* keyboard.h (timers_run): Add declarations.
 2498 
 2499 	* strftime.c (my_strftime_gmtime_r, my_strftime_localtime_r)
 2500 	(tm_diff): Convert definitions to standard C.
 2501 	(extra_args_spec_iso): Remove, unused.
 2502 
 2503 2010-11-18  Jan Djärv  <jan.h.d@swipnet.se>
 2504 
 2505 	* xsettings.c (init_gconf): Check HAVE_G_TYPE_INIT.
 2506 
 2507 	* config.in (HAVE_G_TYPE_INIT): New symbol.
 2508 
 2509 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
 2510 
 2511 	* lread.c (Fload): Mention `load-in-progress' and
 2512 	`load-file-name'.  (Bug#7346)
 2513 
 2514 	* keyboard.c (kbd_buffer_nr_stored): Define only ifdef subprocesses.
 2515 	(kbd_buffer_store_event_hold, kbd_buffer_get_event)
 2516 	(tty_read_avail_input): Call kbd_buffer_nr_stored only ifdef
 2517 	subprocesses.  Use buffer_free only ifdef subprocesses.
 2518 
 2519 	* process.c (init_process) [subprocesses]: Init kbd_is_on_hold in
 2520 	the subprocesses version, not in the non-subprocesses one.
 2521 
 2522 	* Makefile.in: Don't use ## comment, it breaks the MSDOS build.
 2523 
 2524 2010-11-17  Eli Zaretskii  <eliz@gnu.org>
 2525 
 2526 	* xdisp.c (set_cursor_from_row): Fix cursor positioning in empty
 2527 	lines on text-mode terminals.  (bug#7417)
 2528 
 2529 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
 2530 
 2531 	* xterm.c (get_current_wm_state): Rename from get_current_vm_state.
 2532 	(do_ewmh_fullscreen, x_handle_net_wm_state): Update callers.
 2533 
 2534 2010-11-17  Kenichi Handa  <handa@m17n.org>
 2535 
 2536 	* coding.c (Fset_terminal_coding_system_internal): Fix previous
 2537 	change (set charset-ID list instead of charset-symbol list).
 2538 
 2539 2010-11-16  Chong Yidong  <cyd@stupidchicken.com>
 2540 
 2541 	* keyboard.c (make_lispy_position): For text area clicks, record Y
 2542 	pixel position relative to the text area, excluding header line.
 2543 	Also change X and Y to Lisp_Objects, not pointers; don't return
 2544 	coordinate values via pointers.  Pass ON_TEXT_AREA coordinate to
 2545 	buffer_posn_from_coords counting from the start of the text area.
 2546 	(Fposn_at_x_y, make_lispy_event): Callers changed.
 2547 
 2548 	* window.c (coordinates_in_window): Change X and Y to ints rather
 2549 	than pointers; don't return coordinates via pointers.
 2550 	(struct check_window_data): Change X and Y from pointers to ints.
 2551 	(window_from_coordinates): Remove args WX and WY; don't return
 2552 	coordinates via pointers.
 2553 	(Fcoordinates_in_window_p, window_from_coordinates):
 2554 	(check_window_containing, Fwindow_at): Callers changed.
 2555 	(window_relative_x_coord): New function.
 2556 
 2557 	* window.h (window_from_coordinates, window_relative_x_coord):
 2558 	Update prototypes.
 2559 
 2560 	* dispnew.c (buffer_posn_from_coords): Assume that X counts from
 2561 	the start of the text area.
 2562 
 2563 	* xdisp.c (remember_mouse_glyph): Change window_from_coordinates
 2564 	call.  Use window_relative_x_coord.
 2565 	(note_mouse_highlight): Change window_from_coordinates call.
 2566 
 2567 	* w32term.c (w32_read_socket):
 2568 	* msdos.c (dos_rawgetc):
 2569 	* xterm.c (handle_one_xevent): Likewise.
 2570 
 2571 2010-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
 2572 
 2573 	* strftime.c (LOCALE_PARAM_DECL): Update for standard C.
 2574 	(LOCALE_PARAM, LOCALE_PARAM_PROTO): Remove, unused.
 2575 	(memcpy_lowcase, so_week_days, extra_args_spec, emacs_strftimeu):
 2576 	Convert definitions to standard C.
 2577 	* regex.c: Do not include <stdlib.h>, config.h does it.
 2578 	Include unistd.h.
 2579 	(xrealloc, init_syntax_once, re_match, regcomp, regexec)
 2580 	(regerror, regfree): Convert definitions to standard C.
 2581 	* mktime.c (my_mktime_localtime_r, ydhms_tm_diff, ranged_convert)
 2582 	(__mktime_internal): Convert definitions to standard C.
 2583 
 2584 2010-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
 2585 
 2586 	* w32proc.c:
 2587 	* w32inevt.c:
 2588 	* w32heap.c:
 2589 	* w32.c: Remove config.h include guards.
 2590 
 2591 	* callproc.c (child_setup): Reorder code to simplify #ifdefs.
 2592 	No code changes.
 2593 
 2594 	* process.c: Include <sys/ioctl.h> unconditionally,
 2595 	keyboard.c already does it.
 2596 
 2597 	* keyboard.c (pending_malloc_warning): Add const to match
 2598 	definition in alloc.c.
 2599 	(Fset_input_interrupt_mode): Simplify #ifdefs.
 2600 
 2601 2010-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
 2602 
 2603 	Clean up systty.h macros.
 2604 	* systty.h (EMACS_GET_TTY_PGRP, EMACS_SET_TTY_PGRP, EMACS_GET_TTY)
 2605 	(EMACS_SET_TTY): Remove unneeded abstraction, instead inline the
 2606 	definition in all uses.
 2607 	(EMACS_TTY_TABS_OK): Remove, it has a single user.
 2608 	* sysdep.c (discard_tty_input, child_setup_tty)
 2609 	(init_sys_modes, tabs_safe_p, reset_sys_modes):
 2610 	* emacs.c (shut_down_emacs):
 2611 	* callproc.c (child_setup):
 2612 	* term.c (dissociate_if_controlling_tty): Inline removed macros.
 2613 
 2614 	* data.c (sign_extend_temp, sign_extend_lisp_int): Remove, unused.
 2615 
 2616 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
 2617 
 2618 	* w32fns.c (Fx_create_frame):
 2619 	* nsfns.m (Fx_create_frame): Don't check for the cursorColor
 2620 	resource here; it's now done at startup.
 2621 
 2622 2010-11-14  Jan Djärv  <jan.h.d@swipnet.se>
 2623 
 2624 	* xterm.c (set_wm_state): Add Qnil to final cons.
 2625 
 2626 	* xselect.c (x_send_client_event): Remove unused variables cons and
 2627 	size.
 2628 
 2629 2010-11-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 2630 
 2631 	* keyboard.c (modify_event_symbol): Add const to array elements of
 2632 	arg NAME_TABLE.
 2633 	(lispy_accent_keys, lispy_function_keys, lispy_multimedia_keys)
 2634 	(lispy_kana_keys, iso_lispy_function_keys, lispy_wheel_names)
 2635 	(lispy_wheel_names, lispy_drag_n_drop_names, modifier_names):
 2636 	Add const to array elements.
 2637 	(scroll_bar_parts): Make static.  Fix position of const.
 2638 
 2639 	* w32fns.c (lispy_function_keys): Add const to extern.
 2640 
 2641 	* w32inevt.c (lispy_function_keys): Likewise.
 2642 
 2643 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
 2644 
 2645 	* xfns.c (Fx_create_frame): Don't check for the cursorColor
 2646 	resource here; it's now done at startup.
 2647 
 2648 2010-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
 2649 
 2650 	* xmenu.c: Make it clear that ../lwlib/lwlib.h is only needed for Motif.
 2651 
 2652 	Fix compilation on Solaris.
 2653 	* sysdep.c: Do not #include <term.h>.
 2654 	(tputs): Add declaration, similar to what cm.c does.  (Bug#7178)
 2655 
 2656 	* s/ms-w32.h (HAVE_TERMIOS_H): Do not undef, not used anymore.
 2657 
 2658 2010-11-13  Jan Djärv  <jan.h.d@swipnet.se>
 2659 
 2660 	* xterm.c (set_wm_state): Don't put Atom in cons, call
 2661 	make_fixnum_or_float on them first.
 2662 	(x_term_init): Initialize Xatom_net_supporting_wm_check and
 2663 	Xatom_net_supported correctly.
 2664 
 2665 	* xselect.c (x_send_client_event): Move CHECK_STRING ...
 2666 	(Fx_send_client_event): to here.
 2667 
 2668 2010-11-13  Martin Rudalics  <rudalics@gmx.at>
 2669 
 2670 	* window.c (Fwindow_use_time): New function.
 2671 
 2672 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
 2673 
 2674 	* xdisp.c (set_cursor_from_row): Fix cursor positioning on
 2675 	zero-width characters.
 2676 
 2677 	* .gdbinit (pgx): Adapt to latest changes in `struct glyph'.
 2678 
 2679 	* w32term.c (x_draw_glyphless_glyph_string_foreground): Draw the
 2680 	box before drawing the glyphs inside it.
 2681 
 2682 	* xdisp.c (syms_of_xdisp) <glyphless-char-display>: Doc fix.
 2683 
 2684 	* dispextern.h (enum glyphless_display_method):
 2685 	Rename GLYPHLESS_DISPLAY_HEXA_CODE to GLYPHLESS_DISPLAY_HEX_CODE.
 2686 	All users changed.
 2687 
 2688 	* term.c (append_glyphless_glyph, produce_glyphless_glyph):
 2689 	Fix comments.
 2690 	(produce_glyphless_glyph): Enclose "U+nnnn" and "empty box"
 2691 	whitespace in "[]", to simulate a box.  Don't use uninitialized
 2692 	variable `width'.
 2693 
 2694 2010-11-11  Julien Danjou  <julien@danjou.info>
 2695 
 2696 	* xsettings.c (init_xsettings): Use already fetch atoms.
 2697 
 2698 	* xsmfns.c (create_client_leader_window): Use SM_CLIENT_ID atom
 2699 	from dpyinfo.
 2700 
 2701 	* xselect.c (Fx_send_client_event): Split and create
 2702 	x_send_client_event.
 2703 
 2704 	* lisp.h: Do not EXFUN Fx_send_client_event.
 2705 
 2706 	* xterm.c (x_set_frame_alpha): Use _NET_WM_WINDOW_OPACITY atom
 2707 	from dpyinfo.
 2708 	(wm_supports): Use atoms from dpyinfo.
 2709 	(do_ewmh_fullscreen): Use atoms from dpyinfo.
 2710 	(x_ewmh_activate_frame): Use atoms from dpyinfo.
 2711 	(xembed_set_info): Use atoms from dpyinfo.
 2712 	(x_term_init): Fetch _XEMBED_INFO, _NET_SUPPORTED,
 2713 	_NET_SUPPORTING_WM_CHECK, _NET_WM_WINDOW_OPACITY and
 2714 	_NET_ACTIVE_WINDOW, XSETTINGS  atoms.
 2715 	Get all atoms in one round-trip.
 2716 	(set_wm_state): Use x_send_client_event rather than
 2717 	Fx_send_client_event, using Atom directly.
 2718 	(x_ewmh_activate_frame): Ditto.
 2719 	(x_set_sticky): Pass atoms to set_wm_state.
 2720 	(do_ewmh_fullscreen): Ditto.
 2721 
 2722 	* xterm.h (x_display_info): Add Xatom_net_supported,
 2723 	Xatom_net_supporting_wm_check, Xatom_net_active_window,
 2724 	Xatom_net_wm_window_opacity, Xatom_XEMBED_INFO, SM_CLIENT_ID.
 2725 
 2726 	* xfns.c (Fx_show_tip): Fix typo in docstring.
 2727 
 2728 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 2729 
 2730 	* cmds.c (Fself_insert_command): Don't call XFASTINT without checking
 2731 	it's not negative.
 2732 
 2733 2010-11-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 2734 
 2735 	* font.c (font_filter_properties): Add const to array elements of
 2736 	properties args.
 2737 
 2738 	* font.h (font_filter_properties): Likewise.
 2739 
 2740 	* ftfont.c (ftfont_booleans, ftfont_non_booleans): Add const to array
 2741 	elements.
 2742 
 2743 	* w32font.c (w32font_booleans, w32font_non_booleans): Likewise.
 2744 
 2745 2010-11-10  Michael Albinus  <michael.albinus@gmx.de>
 2746 
 2747 	* dbusbind.c (QCdbus_type_unix_fd): New Lisp object.
 2748 	(XD_BASIC_DBUS_TYPE, xd_symbol_to_dbus_type, xd_signature)
 2749 	(xd_append_arg, xd_retrieve_arg): Support DBUS_TYPE_UNIX_FD.
 2750 	(Fdbus_call_method): Add DBUS_TYPE_UNIX_FD type mapping to doc string.
 2751 	(syms_of_dbusbind): Initialize QCdbus_type_unix_fd).
 2752 
 2753 2010-11-10  Glenn Morris  <rgm@gnu.org>
 2754 
 2755 	* emacs.c (syms_of_emacs) <system-type>: Doc fix.
 2756 
 2757 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
 2758 
 2759 	* xfns.c (x_real_positions): Fix declaration-after-statement problem.
 2760 
 2761 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
 2762 
 2763 	* image.c (free_image): Don't garbage the frame here, since this
 2764 	function can be called while redisplaying (Bug#7210).
 2765 	(uncache_image): Garbage the frame here (Bug#6426).
 2766 
 2767 2010-11-09  Jan Djärv  <jan.h.d@swipnet.se>
 2768 
 2769 	* xfns.c (x_real_positions): Only use _NET_FRAME_EXTENTS if our
 2770 	parent is the root window.  Check this after traversing window tree.
 2771 
 2772 	* xterm.c (x_term_init): Initialize Xatom_net_frame_extents.
 2773 
 2774 	* xterm.h (struct x_display_info): Xatom_net_frame_extents is new.
 2775 
 2776 	* xfns.c (x_real_positions): Try to get _NET_FRAME_EXTENTS first
 2777 	before traversing window tree (Bug#5721).
 2778 
 2779 2010-11-07  Jan Djärv  <jan.h.d@swipnet.se>
 2780 
 2781 	* xfns.c (set_machine_and_pid_properties): Let X set WM_CLIENT_MACHINE.
 2782 
 2783 	* xdisp.c (note_mode_line_or_margin_highlight):
 2784 	Initialize Cursor to No_Cursor for HAVE_WINDOW_SYSTEM also.
 2785 
 2786 2010-11-06  Eli Zaretskii  <eliz@gnu.org>
 2787 
 2788 	* xfns.c (Fx_show_tip): If any of the tool-tip text lines is R2L,
 2789 	adjust width of tool-tip frame to the width of text, excluding the
 2790 	stretch glyph at the beginning of R2L glyph rows.
 2791 
 2792 	* w32fns.c (Fx_show_tip): Likewise.
 2793 
 2794 2010-11-06  Jan Djärv  <jan.h.d@swipnet.se>
 2795 
 2796 	* nsfont.m: Include termchar for new mouse-highlight.
 2797 	(nsfont_draw): Use MOUSE_HL_INFO.
 2798 
 2799 2010-11-05  Eli Zaretskii  <eliz@gnu.org>
 2800 
 2801 	Unify mouse-highlight code for all GUI and TTY sessions.
 2802 
 2803 	* term.c: Remove static mouse_face_* variables.  All users
 2804 	changed.
 2805 	(term_show_mouse_face, term_clear_mouse_face)
 2806 	(fast_find_position, term_mouse_highlight): Functions deleted.
 2807 	(tty_draw_row_with_mouse_face): New function.
 2808 	(term_mouse_movement): Call note_mouse_highlight instead of
 2809 	term_mouse_highlight.
 2810 
 2811 	* nsterm.m (ns_update_window_begin, ns_update_window_end)
 2812 	(ns_update_end, x_destroy_window, ns_frame_up_to_date)
 2813 	(ns_dumpglyphs_box_or_relief, ns_maybe_dumpglyphs_background)
 2814 	(ns_dumpglyphs_image, ns_dumpglyphs_stretch)
 2815 	(ns_initialize_display_info, keyDown, mouseMoved, mouseExited):
 2816 	Replace Display_Info with Mouse_HLInfo everywhere where
 2817 	mouse_face_* members were accessed for mouse highlight purposes.
 2818 
 2819 	* xterm.c (x_update_window_begin, x_update_window_end)
 2820 	(x_update_end, XTframe_up_to_date, x_set_mouse_face_gc)
 2821 	(handle_one_xevent, x_free_frame_resources, x_term_init):
 2822 	Replace Display_Info with Mouse_HLInfo everywhere where mouse_face_*
 2823 	members were accessed for mouse highlight purposes.
 2824 
 2825 	* w32term.c (x_update_window_begin, x_update_window_end)
 2826 	(x_update_end, w32_read_socket, x_free_frame_resources)
 2827 	(w32_initialize_display_info): Replace Display_Info with
 2828 	Mouse_HLInfo everywhere where mouse_face_* members were accessed
 2829 	for mouse highlight purposes.
 2830 
 2831 	* xdisp.c (show_mouse_face, note_mode_line_or_margin_highlight)
 2832 	(note_mouse_highlight) [HAVE_WINDOW_SYSTEM]: Don't run GUI code
 2833 	unless the frame is on a window-system.
 2834 	(get_tool_bar_item, handle_tool_bar_click)
 2835 	(note_tool_bar_highlight, draw_glyphs, erase_phys_cursor)
 2836 	(show_mouse_face, clear_mouse_face, coords_in_mouse_face_p)
 2837 	(note_mode_line_or_margin_highlight, note_mouse_highlight)
 2838 	(x_clear_window_mouse_face, cancel_mouse_face, expose_frame):
 2839 	Replace Display_Info with Mouse_HLInfo everywhere where
 2840 	mouse_face_* members were accessed for mouse highlight purposes.
 2841 	(coords_in_mouse_face_p): Move prototype out of the
 2842 	HAVE_WINDOW_SYSTEM conditional.
 2843 	(x_y_to_hpos_vpos, frame_to_window_pixel_xy): Move out of the
 2844 	HAVE_WINDOW_SYSTEM block.
 2845 	(try_window_id) [HAVE_GPM || MSDOS]:
 2846 	Call x_clear_window_mouse_face.
 2847 	(draw_row_with_mouse_face): Implementation for HAVE_WINDOW_SYSTEM
 2848 	systems.  Call tty_draw_row_with_mouse_face for TTY systems.
 2849 	(show_mouse_face): Call draw_row_with_mouse_face, instead of
 2850 	calling draw_glyphs directly.
 2851 	(show_mouse_face, clear_mouse_face, coords_in_mouse_face_p)
 2852 	(cursor_in_mouse_face_p, rows_from_pos_range)
 2853 	(mouse_face_from_buffer_pos, mouse_face_from_string_pos)
 2854 	(note_mode_line_or_margin_highlight, note_mouse_highlight)
 2855 	(x_clear_window_mouse_face, cancel_mouse_face): Move out of the
 2856 	HAVE_WINDOW_SYSTEM block.  Ifdef away window-system specific
 2857 	fragments.
 2858 	(note_mouse_highlight): Call popup_activated for MSDOS as well.
 2859 	Clear mouse highlight if pointer is over glyphs whose OBJECT is an
 2860 	integer.
 2861 	(mouse_face_from_buffer_pos): Add parentheses around && within ||.
 2862 	(x_consider_frame_title, tool_bar_lines_needed):
 2863 	Move prototypes to HAVE_WINDOW_SYSTEM-only part.
 2864 	(get_window_cursor_type): Move inside a HAVE_WINDOW_SYSTEM-only
 2865 	part.  Remove "#ifdef HAVE_WINDOW_SYSTEM" from body of function.
 2866 	(null_glyph_slice): Move declaration into HAVE_WINDOW_SYSTEM-only
 2867 	part.
 2868 
 2869 	* dispnew.c (mirror_make_current): Set Y coordinate of the
 2870 	mode-line and header-line rows.
 2871 	(init_display): Setup initial frame's output_data for text
 2872 	terminal frames.
 2873 
 2874 	* xmenu.c (popup_activated): Don't define on MSDOS, which now has
 2875 	its own definition on msdos.c.
 2876 
 2877 	* msdos.c (show_mouse_face, clear_mouse_face)
 2878 	(fast_find_position, IT_note_mode_line_highlight)
 2879 	(IT_note_mouse_highlight): Functions deleted.
 2880 	(IT_frame_up_to_date, dos_rawgetc): Call note_mouse_highlight
 2881 	instead of IT_note_mouse_highlight.
 2882 	(draw_row_with_mouse_face, popup_activated): New functions.
 2883 	(dos_set_window_size, draw_row_with_mouse_face, IT_update_begin)
 2884 	(IT_update_end, IT_frame_up_to_date, internal_terminal_init)
 2885 	(dos_rawgetc): Replace Display_Info with Mouse_HLInfo everywhere
 2886 	where mouse_face_* members were accessed for mouse highlight
 2887 	purposes.
 2888 
 2889 	* msdos.h (initialize_msdos_display): Add prototype.
 2890 
 2891 	* frame.h (MOUSE_HL_INFO): New macro.
 2892 
 2893 	* lisp.h (Mouse_HLInfo): New data type.
 2894 
 2895 	* xterm.h (struct x_display_info):
 2896 	* w32term.h (struct w32_display_info):
 2897 	* nsterm.h (struct ns_display_info):
 2898 	* termchar.h (struct tty_display_info): Use it instead of
 2899 	mouse_face_* members.
 2900 
 2901 	* dispextern.h (show_mouse_face, clear_mouse_face): Update type of
 2902 	1st argument.
 2903 	(frame_to_window_pixel_xy, note_mouse_highlight)
 2904 	(x_clear_window_mouse_face, cancel_mouse_face, clear_mouse_face)
 2905 	(show_mouse_face, cursor_in_mouse_face_p): Move prototypes out of
 2906 	HAVE_WINDOW_SYSTEM conditional.
 2907 	(draw_row_with_mouse_face): Declare prototype.
 2908 	(tty_draw_row_with_mouse_face): Declare prototype.
 2909 
 2910 2010-11-05  Eli Zaretskii  <eliz@gnu.org>
 2911 
 2912 	* term.c (append_glyphless_glyph, produce_glyphless_glyph):
 2913 	Remove unused variables.
 2914 
 2915 2010-11-05  Adrian Robert  <Adrian.B.Robert@gmail.com>
 2916 
 2917 	* nsterm.m (EmacsView-mouseExited:): Correct error in conditional
 2918 	logic pointed out by Eli Zaretskii.
 2919 
 2920 2010-11-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 2921 
 2922 	* coding.c (coding-category-list): Refer to set-coding-system-priority
 2923 	instead of the obsolete set-coding-priority in the doc string.
 2924 
 2925 2010-11-04  Adrian Robert  <Adrian.B.Robert@gmail.com>
 2926 
 2927 	* nsfont.m (nsfont_draw): Correct previous patch to return
 2928 	correct value.
 2929 	* nsimage.m (EmacsImage-setXBMColor:): Correct previous patch:
 2930 	don't change the method signature, change the return.
 2931 
 2932 2010-11-04  İsmail Dönmez  <ismail@namtrac.org>  (tiny change)
 2933 
 2934 	* nsfont.m (nsfont_draw)
 2935 	* nsimage.m (EmacsImage-setXBMColor:)
 2936 	* nsterm.m (EmacsView-performDragOperation:): Correct empty return.
 2937 
 2938 2010-11-03  Julien Danjou  <julien@danjou.info>
 2939 
 2940 	* image.c (gif_load): Add support for transparency and specified
 2941 	:background.
 2942 
 2943 2010-11-01  Kenichi Handa  <handa@m17n.org>
 2944 
 2945 	* dispextern.h (lookup_glyphless_char_display): Extern it.
 2946 
 2947 	* termhooks.h (struct terminal): New member charset_list.
 2948 
 2949 	* coding.c (Fset_terminal_coding_system_internal): Set the
 2950 	`charset_list' member of struct terminal.
 2951 
 2952 	* term.c (produce_glyphs): Handle the case it->what == IT_GLYPHLESS.
 2953 	(append_glyphless_glyph, produce_glyphless_glyph): New functions.
 2954 
 2955 	* xdisp.c (lookup_glyphless_char_display): Make it non-static.
 2956 	(lookup_glyphless_char_display): Set it->what at the end.
 2957 	(last_glyphless_glyph_frame, last_glyphless_glyph_face_id)
 2958 	(last_glyphless_glyph_merged_face_id): Make them non-static.
 2959 
 2960 	* w32term.c (x_draw_glyphless_glyph_string_foreground):
 2961 	Fix the arg with_background for font->driver->draw.
 2962 
 2963 2010-11-01  Kenichi Handa  <handa@m17n.org>
 2964 
 2965 	* w32gui.h (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2):
 2966 	Surround chp by parentheses.
 2967 
 2968 2010-11-01  Kenichi Handa  <handa@m17n.org>
 2969 
 2970 	Implement various display methods for glyphless characters.
 2971 
 2972 	* xdisp.c (Qglyphless_char, Vglyphless_char_display)
 2973 	(Qglyphless_char_display, Qhexa_code, Qempty_box, Qthin_space)
 2974 	(Qzero_width): New variables.
 2975 	(THIN_SPACE_WIDTH): New macro.
 2976 	(lookup_glyphless_char_display): New function.
 2977 	(last_glyphless_glyph_frame, last_glyphless_glyph_face_id)
 2978 	(last_glyphless_glyph_merged_face_id): New variables.
 2979 	(get_next_display_element): Check glyphless characters.
 2980 	(redisplay_internal): Initialize last_glyphless_glyph_frame and
 2981 	last_glyphless_glyph_face_id.
 2982 	(fill_glyphless_glyph_string): New function.
 2983 	(BUILD_GLYPHLESS_GLYPH_STRING): New macro.
 2984 	(BUILD_GLYPH_STRINGS): Handle the case GLYPHLESS_GLYPH.
 2985 	(append_glyphless_glyph, produce_glyphless_glyph): New functions.
 2986 	(x_produce_glyphs): If a suitable font is not found, produce a
 2987 	glyphless glyph.  Handle the case it->what == IT_GLYPHLESS.
 2988 	(syms_of_xdisp): Intern and staticpro Qglyphless_char,
 2989 	Qglyphless_char_display, Qhexa_code, Qempty_box, Qthin_space, and
 2990 	Qzero_width.
 2991 	(Vglyphless_char_display): Declare it as a Lisp variable.
 2992 
 2993 	* dispextern.h (enum glyph_type): Add GLYPHLESS_GLYPH.
 2994 	(struct glyph): Change the size of the member "type" to 3.
 2995 	Add glyphless to the union slice and u.
 2996 	(enum display_element_type): Add IT_GLYPHLESS.
 2997 	(enum glyphless_display_method): New enum.
 2998 	(struct it): New member glyphless_method.
 2999 	(Vglyphless_char_display): Extern it.
 3000 
 3001 	* xterm.c (x_draw_glyphless_glyph_string_foreground): New function.
 3002 	(x_draw_glyph_string): Handle the case GLYPHLESS_GLYPH.
 3003 
 3004 	* w32term.c (x_draw_glyphless_glyph_string_foreground): New function.
 3005 	(x_draw_glyph_string): Handle the case GLYPHLESS_GLYPH.
 3006 
 3007 	* nsterm.m (ns_draw_glyph_string): Handle the case
 3008 	GLYPHLESS_GLYPH (the detail is not yet implemented).
 3009 
 3010 2010-10-31  Glenn Morris  <rgm@gnu.org>
 3011 
 3012 	* xterm.c (x_connection_closed) [USE_X_TOOLKIT]: Fix merge, maybe.
 3013 
 3014 	* frame.c (syms_of_frame) <tool-bar-mode>:
 3015 	Default to nil if !HAVE_WINDOW_SYSTEM.  (Bug#7299)
 3016 
 3017 2010-10-31  Chong Yidong  <cyd@stupidchicken.com>
 3018 
 3019 	* xterm.c (x_connection_closed): Print informative error message
 3020 	when aborting on GTK.  This requires using shut_down_emacs
 3021 	directly instead of Fkill_emacs.
 3022 
 3023 2010-10-29  Eli Zaretskii  <eliz@gnu.org>
 3024 
 3025 	* emacs.c (main): Call syms_of_filelock unconditionally.
 3026 
 3027 	* filelock.c (syms_of_filelock): Move out of #ifdef CLASH_DETECTION
 3028 	clause, but keep part of it conditioned on CLASH_DETECTION.
 3029 
 3030 2010-10-29  Glenn Morris  <rgm@gnu.org>
 3031 
 3032 	* nsfns.m (Fx-display-save-under, Fx-open-connection)
 3033 	(Fxw-color-defined-p, Fxw-display-color-p, Fx-show-tip):
 3034 	* w32fns.c (Fxw_color_defined_p, Fx_open_connection):
 3035 	* xfns.c (Fxw_color_defined_p, Fx_open_connection):
 3036 	Sync docs between X, W32, NS.
 3037 
 3038 	* buffer.c (syms_of_buffer) <abbrev-mode, transient-mark-mode>:
 3039 	* frame.c (syms_of_frame) <tool-bar-mode>: Move doc here from Lisp.
 3040 
 3041 2010-10-26  Juanma Barranquero  <lekktu@gmail.com>
 3042 
 3043 	* eval.c (init_eval_once): Set max_lisp_eval_depth to 600;
 3044 	otherwise, bootstrapping on Windows fails to compile macroexp.el.
 3045 
 3046 2010-10-26  Eli Zaretskii  <eliz@gnu.org>
 3047 
 3048 	* cmds.c (internal_self_insert): Don't insert if argument N is
 3049 	zero or negative.  (Bug#7281)
 3050 
 3051 2010-10-26  Jan Djärv  <jan.h.d@swipnet.se>
 3052 
 3053 	* gtkutil.c (qttip_cb): Set title to empty for ATK (Bug#7278).
 3054 
 3055 2010-10-25  Glenn Morris  <rgm@gnu.org>
 3056 
 3057 	* Makefile.in (SOME_MACHINE_LISP): Remove easymenu.elc.
 3058 
 3059 2010-10-24  Glenn Morris  <rgm@gnu.org>
 3060 
 3061 	* w32fns.c (Fx_synchronize, Fx_change_window_property)
 3062 	(Fx_window_property, Fx_file_dialog):
 3063 	* xfns.c (Fx_synchronize, Fx_change_window_property)
 3064 	(Fx_window_property, Fx_file_dialog): Sync docs between w32 and X.
 3065 
 3066 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
 3067 
 3068 	* xterm.c (x_connection_closed): Kill Emacs unconditionally.
 3069 
 3070 2010-10-24  Eli Zaretskii  <eliz@gnu.org>
 3071 
 3072 	* frame.c (Fframep, Fwindow_system): Deprecate use as a predicate.
 3073 
 3074 	* dispnew.c (syms_of_display) <initial-window-system, window-system>:
 3075 	Deprecate use as a boolean flag.
 3076 
 3077 2010-10-24  Jim Meyering  <jim@meyering.net>
 3078 
 3079 	* emacs.c (argmatch): Don't treat "--" as "--chdir".
 3080 
 3081 2010-10-24  Glenn Morris  <rgm@gnu.org>
 3082 
 3083 	* w16select.c (syms_of_win16select) <selection-coding-system>:
 3084 	<next-selection-coding-system>:
 3085 	* w32select.c (syms_of_w32select) <selection-coding-system>:
 3086 	<next-selection-coding-system>:
 3087 	Sync docs with select.el.
 3088 
 3089 	* xfaces.c (syms_of_xfaces) <tty-defined-color-alist>: Sync doc with
 3090 	Lisp version.
 3091 
 3092 	* w32term.c (syms_of_w32term) <x-use-underline-position-properties>:
 3093 	Sync doc with the xterm.c version.
 3094 
 3095 	* w32term.c (syms_of_w32term) <x-toolkit-scroll-bars>:
 3096 	* xterm.c (syms_of_xterm) <x-toolkit-scroll-bars>: Sync docs.
 3097 
 3098 2010-10-23  Glenn Morris  <rgm@gnu.org>
 3099 
 3100 	* buffer.c (syms_of_buffer) <cursor-in-non-selected-windows>:
 3101 	* frame.c (syms_of_frame) <menu-bar-mode>:
 3102 	* xdisp.c (syms_of_xdisp) <auto-hscroll-mode, display-hourglass>:
 3103 	<hourglass-delay>: Sync docs with Lisp.
 3104 
 3105 2010-10-23  Eli Zaretskii  <eliz@gnu.org>
 3106 
 3107 	Implement mouse highlight for bidi-reordered lines.
 3108 
 3109 	* xdisp.c (fast_find_string_pos): #ifdef away, not used anymore.
 3110 	(mouse_face_from_string_pos): New function, replaces
 3111 	fast_find_string_pos.
 3112 	(note_mouse_highlight): Call it instead of fast_find_string_pos.
 3113 	(note_mode_line_or_margin_highlight): Support bidi-reordered
 3114 	strings and R2L glyph rows.  Fix comments.
 3115 	(note_mouse_highlight): When bidi reordering is turned on in a
 3116 	buffer, call next-single-property-change and
 3117 	previous-single-property-change with last argument nil.
 3118 	Clear mouse highlight when mouse pointer is in a R2L row on the stretch
 3119 	glyph that stands for no text beyond the line end.
 3120 	(row_containing_pos): Don't return too early when CHARPOS is in a
 3121 	bidi-reordered continued line.  Return immediately when the first
 3122 	hit is found in a line that is not continued, or when an exact
 3123 	match for CHARPOS is found.
 3124 	(rows_from_pos_range): New function.
 3125 	(mouse_face_from_buffer_pos): Use it instead of calling
 3126 	row_containing_pos for START_CHARPOS and END_CHARPOS.  Rewrite the
 3127 	function to support mouse highlight in bidi-reordered lines and
 3128 	not to assume that START_CHARPOS is always in mouse_face_beg_row.
 3129 	If necessary, swap mouse_face_beg_row and mouse_face_end_row so
 3130 	that the former is always above the latter or identical to it.
 3131 	(show_mouse_face): Support drawing highlighted R2L lines.
 3132 	(coords_in_mouse_face_p): New function, bidi-aware.
 3133 	(cursor_in_mouse_face_p, note_mouse_highlight, erase_phys_cursor):
 3134 	Call it instead of comparing with mouse-face members of dpyinfo.
 3135 	(note_mode_line_or_margin_highlight): Fix confusingly swapped
 3136 	usage of hpos and vpos.
 3137 
 3138 2010-10-22  Jan Djärv  <jan.h.d@swipnet.se>
 3139 
 3140 	* xrdb.c: Include keyboard.h for MOTIF.
 3141 
 3142 	* xmenu.c: Revert 2010-07-27 change: lwlib.h is needed for
 3143 	MOTIF (Bug#7263).
 3144 
 3145 	* xfns.c: Include Xm/TextF and Xm/List.
 3146 	(file_dialog_cb, file_dialog_unmap_cb, clean_up_file_dialog):
 3147 	Make ANSI prototypes.
 3148 
 3149 2010-10-22  Glenn Morris  <rgm@gnu.org>
 3150 
 3151 	* Makefile.in (SOME_MACHINE_LISP): Add w32-vars.
 3152 	Remove ccl and duplicate mouse.
 3153 
 3154 2010-10-21  Chong Yidong  <cyd@stupidchicken.com>
 3155 
 3156 	* insdel.c (prepare_to_modify_buffer): Don't set
 3157 	saved-region-selection if modification hooks are disabled.
 3158 
 3159 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
 3160 
 3161 	* cmds.c (Fdelete_char): Doc fix.
 3162 
 3163 2010-10-19  Ken Brown  <kbrown@cornell.edu>
 3164 
 3165 	* s/cygwin.h (SIGNALS_VIA_CHARACTERS): New define (bug#7225).
 3166 
 3167 2010-10-19  Kenichi Handa  <handa@m17n.org>
 3168 
 3169 	Fix incorrect font metrics when the same font is opened with
 3170 	different pixelsizes.
 3171 
 3172 	* xftfont.c: Include composite.h.
 3173 	(xftfont_shape): New function.
 3174 	(syms_of_xftfont): Set xftfont_driver.shape.
 3175 
 3176 2010-10-18  Julien Danjou  <julien@danjou.info>
 3177 
 3178 	* frame.c (Fframe_pointer_visible_p):
 3179 	Add `frame-pointer-visible-p' to get the pointer visibility.
 3180 
 3181 2010-10-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 3182 
 3183 	* gnutls.c (emacs_gnutls_read): Return 0 if we get a
 3184 	non-"EAGAIN"-like error to signal to Emacs that the socket should
 3185 	be closed.
 3186 
 3187 2010-10-15  Eli Zaretskii  <eliz@gnu.org>
 3188 
 3189 	* unexcoff.c (make_hdr): Fix prototype according to changes in
 3190 	2010-10-03T13:59:56Z!dann@ics.uci.edu.
 3191 
 3192 	* image.c (tiff_load): Cast 3rd argument to avoid compiler warning.
 3193 
 3194 2010-10-15  Tassilo Horn  <tassilo@member.fsf.org>
 3195 
 3196 	* Makefile.in (really-oldXMenu): Fix typo in variable name that
 3197 	made building the X menu fail.
 3198 	(really-oldXMenu): Fix my previous fix.
 3199 
 3200 2010-10-14  Damyan Pepper  <damyanp@gmail.com>
 3201 
 3202 	Fix handling of font properties on Windows (bug#6303).
 3203 	* font.c (font_filter_properties): New function, refactored from
 3204 	ftfont_filter_properties.
 3205 	* font.h (font_filter_properties): Declare.
 3206 	* ftfont.c (ftfont_filter_properties): Use font_filter_properties.
 3207 	* w32font.c (w32font_booleans, w32font_non_booleans): New variables.
 3208 	(w32font_filter_properties): New function.
 3209 	(w32font_driver): Add w32font_filter_properties.
 3210 
 3211 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
 3212 
 3213 	* font.c (Ffont_variation_glyphs):
 3214 	* ccl.c (Fccl_execute_on_string): Fix typo in docstring.
 3215 
 3216 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
 3217 
 3218 	* w32fns.c (w32_wnd_proc, file_dialog_callback):
 3219 	* w32font.c (w32_generic_family):
 3220 	* w32inevt.c (key_event):
 3221 	* w32menu.c (fill_in_menu):
 3222 	* w32proc.c (reader_thread, w32_executable_type, compare_env)
 3223 	(merge_and_sort_env, int_from_hex, enum_locale_fn, enum_codepage_fn):
 3224 	* w32term.c (w32_read_socket): Make static.
 3225 
 3226 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
 3227 
 3228 	* image.c (DEF_IMGLIB_FN): Add argument to adapt to strict
 3229 	prototypes; all callers changed.
 3230 
 3231 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
 3232 
 3233 	* makefile.w32-in (TLIB2): Rename from TLIBW32.
 3234 	(OBJ2): New macro.
 3235 	(WIN32OBJ, FONTOBJ): Remove.
 3236 	(OBJ1): Redistribute object files with OBJ2.
 3237 	(LIBS, $(TEMACS)): Use TLIB2.
 3238 	(make-buildobj-CMD, make-buildobj-SH): Use OBJ2.
 3239 	($(TLIB2), TAGS, TAGS-LISP, TAGS-gmake): Depend on OBJ2.
 3240 
 3241 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
 3242 
 3243 	* emacs.c (Vdynamic_library_alist)
 3244 	(syms_of_emacs) <dynamic-library-alist>: Move from image.c and rename.
 3245 	Doc fix.
 3246 
 3247 	* lisp.h (Vdynamic_library_alist): Declare extern.
 3248 
 3249 	* image.c (Vimage_library_alist)
 3250 	(syms_of_image) <image-library-alist>: Move to emacs.c and rename.
 3251 	(lookup_image_type): Use Vdynamic_library_alist.
 3252 	(Finit_image_library): Doc fix.
 3253 
 3254 2010-10-12  Dan Nicolaescu  <dann@ics.uci.edu>
 3255 
 3256 	* Makefile.in (lispsource, libsrc, etc, oldxmenudir, lwlibdir)
 3257 	(lispdir): Remove trailing /, update all uses.
 3258 
 3259 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
 3260 
 3261 	* nsterm.m (Qleft): Declare.
 3262 	(ns_right_alternate_modifier): New variable.
 3263 	(NSRightAlternateKeyMask): New define.
 3264 	(EV_MODIFIERS): Parse NSRightAlternateKeyMask if
 3265 	ns_right_alternate_modifier isn't Qleft.
 3266 	(keyDown): If ns_right_alternate_modifier isn't Qleft, use it
 3267 	as emacs modifier for NSRightAlternateKeyMask.
 3268 	(syms_of_nsterm): DEFVAR_LISP ns-right-alternate-modifier.
 3269 
 3270 2010-10-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 3271 
 3272 	* gnutls.c (emacs_gnutls_write): If we're trying to write before
 3273 	GnuTLS is ready, return EAGAIN as the errno.
 3274 
 3275 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
 3276 
 3277 	* vm-limit.c:
 3278 	* unexhp9k800.c:
 3279 	* unexelf.c:
 3280 	* unexaix.c:
 3281 	* termcap.c: Remove #ifdef emacs / #ifndef emacs code, unused.
 3282 
 3283 	* Makefile.in (temacs): Use $(ALL_CFLAGS) on the link line.
 3284 	(PROFILING_LDFLAGS): Remove, not needed anymore.
 3285 
 3286 	* Makefile.in: Use $(...) everywhere instead of ${...}.
 3287 	(CRT_DIR): Move near potential user.
 3288 	(START_FILE): Move near CRT_DIR, it might use it.
 3289 
 3290 	* sysdep.c (LPASS8): Remove, unused.
 3291 	(emacs_ospeed): Change from being a global to a local in the only
 3292 	user: init_baud_rate.
 3293 
 3294 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 3295 
 3296 	* gnutls.c (syms_of_gnutls): All the bootprops are keywords.
 3297 	(emacs_gnutls_write): Remove the debuggin fsync call.
 3298 	(emacs_gnutls_read): Return -1 if we got an error from
 3299 	gnutls_read.  This allows us to actually read lots of data from
 3300 	the GnuTLS stream.
 3301 	(emacs_gnutls_write): Check for GNUTLS_E_AGAIN and not EINTR.
 3302 	According to the documentation, this is correct, and it seems to
 3303 	make things work.
 3304 
 3305 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
 3306 
 3307 	* xterm.c (x_draw_relief_rect): Clear corner pixels.
 3308 
 3309 2010-10-08  Michael Albinus  <michael.albinus@gmx.de>
 3310 
 3311 	* keyboard.c: Revert last change; it was not intended to be
 3312 	synchronized with the trunk.
 3313 
 3314 2010-10-08  Kenichi Handa  <handa@m17n.org>
 3315 
 3316 	* coding.c (complement_process_encoding_system): Fix previous change.
 3317 
 3318 2010-10-08  Michael Albinus  <michael.albinus@gmx.de>
 3319 
 3320 	* dbusbind.c (syms_of_dbusbind): Move putenv call ...
 3321 	(Fdbus_init_bus): ... here.  (Bug#7113)
 3322 
 3323 2010-10-08  Glenn Morris  <rgm@gnu.org>
 3324 
 3325 	* buffer.c (before-change-functions, after-change-functions):
 3326 	Three-year overdue doc fix following 2007-08-13 change.
 3327 
 3328 2010-10-08  Kenichi Handa  <handa@m17n.org>
 3329 
 3330 	* coding.c (coding_inherit_eol_type): If parent doesn't specify
 3331 	eol-format, inherit from the system's default.
 3332 	(complement_process_encoding_system): Make a new coding system
 3333 	inherit the original eol-format.
 3334 
 3335 2010-10-08  Kenichi Handa  <handa@m17n.org>
 3336 
 3337 	* coding.c (complement_process_encoding_system): New function.
 3338 
 3339 	* coding.h (complement_process_encoding_system): Extern it.
 3340 
 3341 	* callproc.c (Fcall_process): Complement the coding system for
 3342 	encoding arguments.
 3343 	(Fcall_process_region): Complement the coding system for encoding
 3344 	the input to the process.
 3345 
 3346 	* process.c (Fstart_process): Complement the coding system for
 3347 	encoding arguments.
 3348 	(send_process): Complement the coding system for encoding what
 3349 	sent to the process.
 3350 
 3351 2010-10-08  Kenichi Handa  <handa@m17n.org>
 3352 
 3353 	* xfont.c (xfont_open): Fix setting of font->average_width from
 3354 	:avgwidth property (Bug#7123).
 3355 
 3356 2010-10-08  Michael Albinus  <michael.albinus@gmx.de>
 3357 
 3358 	* dbusbind.c (syms_of_dbusbind): Use putenv instead of setenv, it
 3359 	is more portable.
 3360 
 3361 	* keyboard.c (gobble_input): Move call of xd_read_queued_messages ...
 3362 	(kbd_buffer_get_event): ... here.  This is needed for cygwin, which
 3363 	has not defined SIGIO.
 3364 
 3365 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
 3366 
 3367 	* xterm.c (x_draw_relief_rect): If box width is larger than 1,
 3368 	draw the outermost line using the black relief, for legibility.
 3369 	Omit drawing the four corner pixels.
 3370 
 3371 2010-10-04  Chong Yidong  <cyd@stupidchicken.com>
 3372 
 3373 	* keyboard.c (echo_prompt): Function moved into read_key_sequence.
 3374 	(read_key_sequence): Inline echo_prompt.
 3375 	(echo_dash): Add a dash only if key is continued (Bug#7137).
 3376 
 3377 2010-10-04  Dan Nicolaescu  <dann@ics.uci.edu>
 3378 
 3379 	Remove O_RDONLY, O_WRONLY definitions, not needed.
 3380 	* unexcoff.c:
 3381 	* lread.c:
 3382 	* fileio.c:
 3383 	* doc.c:
 3384 	* callproc.c:
 3385 	* alloc.c:
 3386 	* termcap.c: Remove O_RDONLY O_WRONLY definitions.
 3387 
 3388 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
 3389 
 3390 	* gnutls.h (GNUTLS_LOG2): Convenience macro.
 3391 
 3392 	* gnutls.c: Add property list symbol holders.
 3393 	(emacs_gnutls_handshake): Clarify how sockets are passed to
 3394 	GnuTLS.
 3395 	(gnutls_log_function2): Convenience function using GNUTLS_LOG2.
 3396 	(Fgnutls_boot): Get all parameters from a plist.  Require trustfiles
 3397 	and keyfiles to be a list of file names.  Default to "NORMAL" for
 3398 	the priority string.  Improve logging.
 3399 
 3400 2010-10-03  Glenn Morris  <rgm@gnu.org>
 3401 
 3402 	* fileio.c (Vdirectory_sep_char): Remove.
 3403 
 3404 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
 3405 
 3406 	* termhooks.h: Remove #ifdef CONSP.
 3407 
 3408 	* xterm.c (NO_INLINE, noinline): Move definitions to ../configure.in.
 3409 
 3410 	Include <fcntl.h> unconditionally.
 3411 	* termcap.c:
 3412 	* sysdep.c:
 3413 	* lread.c:
 3414 	* keyboard.c:
 3415 	* filelock.c:
 3416 	* fileio.c:
 3417 	* doc.c:
 3418 	* callproc.c:
 3419 	* alloc.c: Remove include guards for <fcntl.h>, process.c already
 3420 	does it.
 3421 
 3422 	* process.c: Do not include <sys/wait.h>, syswait.h does it.
 3423 
 3424 	* sysdep.c (flush_pending_output): Remove code, does not do
 3425 	anything on any platform.
 3426 
 3427 	Remove unused code.
 3428 	* sysdep.c (select_alarm, sys_select, read_input_waiting):
 3429 	Remove select emulation, all systems support select.
 3430 	(set_exclusive_use): Remove, the only user is in an #if 0 block.
 3431 	* process.c (create_process): Remove #if 0 code.
 3432 
 3433 	Remove unused arguments for unexec.
 3434 	The third one is never used, and the last two are always passed as zero.
 3435 	* emacs.c (unexec): Add declaration.
 3436 	(Fdump_emacs): Only pass the first two arguments to unexec.
 3437 	Simplify #ifdef.
 3438 	* unexw32.c (unexec):
 3439 	* unexsol.c (unexec):
 3440 	* unexhp9k800.c (unexec):
 3441 	* unexcw.c (unexec): Remove the last 3 arguments, unused.
 3442 	* unexelf.c (unexec): Remove the last 3 arguments, unused.
 3443 	(find_section): Use const.
 3444 	* unexmacosx.c (unexec): Remove the last 3 arguments, unused.
 3445 	(unexec_error): Declare it NO_RETURN.
 3446 	* unexcoff.c (make_hdr): Assume bss_start is always zero, remove
 3447 	it as an argument, remove data_start and entry_address arguments, unused.
 3448 	(unexec): Remove bss_start, data_start and
 3449 	entry_address arguments.
 3450 	* unexaix.c (make_hdr): Assume bss_start is always zero, remove
 3451 	it as an argument, remove data_start and entry_address arguments, unused.
 3452 	(unexec): Remove bss_start, data_start and
 3453 	entry_address arguments.
 3454 
 3455 2010-10-03  Juanma Barranquero  <lekktu@gmail.com>
 3456 
 3457 	* makefile.w32-in (TAGS, TAGS-LISP, TAGS-gmake): Add $(FONTOBJ).
 3458 
 3459 	* gnutls.c (emacs_gnutls_handshake, gnutls_make_error)
 3460 	(gnutls_emacs_global_init, gnutls_emacs_global_deinit): Make static.
 3461 	(Fgnutls_get_initstage, Fgnutls_deinit, Fgnutls_boot, Fgnutls_bye):
 3462 	Fix typos in docstrings.
 3463 	(Fgnutls_error_fatalp, Fgnutls_error_string): Doc fixes.
 3464 	(Fgnutls_errorp): Doc fix; use ERR for the argument name.
 3465 
 3466 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
 3467 
 3468 	* keyboard.c (command_loop_1): Make sure the mark is really alive
 3469 	before using it (Bug#7044).
 3470 
 3471 2010-10-02  Juanma Barranquero  <lekktu@gmail.com>
 3472 
 3473 	* makefile.w32-in (tags): Rename target to full-tags.
 3474 
 3475 2010-10-02  Eli Zaretskii  <eliz@gnu.org>
 3476 
 3477 	* emacs.c (main): Remove !WINDOWSNT conditional.
 3478 	(Fkill_emacs): Don't mention exemption on MS-Windows.
 3479 
 3480 2010-10-02  Glenn Morris  <rgm@gnu.org>
 3481 
 3482 	* character.c (Fchar_bytes): Remove obsolete function.
 3483 	(syms_of_character): Remove Schar_bytes.
 3484 
 3485 	* emacs.c (fatal_error_signal): Also run Fkill_emacs on SIGINT.
 3486 	(main) [!WINDOWSNT]: Handle SIGINT with fatal_error_signal
 3487 	in batch-mode.
 3488 	(Fkill_emacs): Doc fix.  Also run the hook in batch mode.
 3489 	(kill-emacs-hook): Doc fix.
 3490 
 3491 2010-10-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 3492 
 3493 	* xml.c (Flibxml_parse_xml_region, Flibxml_parse_html_region)
 3494 	(parse_region): Rework to take regions instead of strings, and
 3495 	renamed to reflect that these are the libxml functions.
 3496 
 3497 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
 3498 
 3499 	* term.c (init_tty) [DOS_NT]: Don't call Wcm_clear after setting
 3500 	screen dimensions in tty->Wcm.
 3501 
 3502 	* xdisp.c (set_cursor_from_row): When the row is truncated and
 3503 	point is outside the range of displayed characters, position the
 3504 	cursor inside the scroll margin.  (Bug#6349)
 3505 
 3506 2010-10-01  Dan Nicolaescu  <dann@ics.uci.edu>
 3507 
 3508 	Do not include stdlib.h and string.h, config.h does it.
 3509 	* xfont.c:
 3510 	* w32term.c:
 3511 	* w32reg.c:
 3512 	* w32inevt.c:
 3513 	* w32heap.c:
 3514 	* w32console.c:
 3515 	* w16select.c:
 3516 	* unexsol.c:
 3517 	* term.c:
 3518 	* sound.c:
 3519 	* scroll.c (m):
 3520 	* gtkutil.c:
 3521 	* font.c:
 3522 	* filelock.c:
 3523 	* fileio.c:
 3524 	* dosfns.c:
 3525 	* dbusbind.c:
 3526 	* bidi.c:
 3527 	* callproc.c:
 3528 	* process.c:
 3529 	* msdos.c:
 3530 	* charset.c: Do not include stdlib.h and string.h, config.h does it.
 3531 
 3532 	* callproc.c (SIGCHLD): Remove conditional definition, syssignal.h
 3533 	defines it.
 3534 
 3535 	* process.c: Move #include <pty.h> earlier.
 3536 	(SIGCHLD): Remove conditional definition, syssignal.h defines it.
 3537 	(pty_name): Move definition later.
 3538 
 3539 	* nsselect.m (syms_of_nsselect):
 3540 	* nsmenu.m (syms_of_nsmenu):
 3541 	* nsfns.m (syms_of_nsfns):
 3542 	* msdos.c (syms_of_msdos):
 3543 	* image.c (syms_of_image):
 3544 	* charset.c (syms_of_charset): Use intern_c_string instead of intern.
 3545 
 3546 	* point.h: Remove, unused.
 3547 
 3548 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
 3549 
 3550 	* makefile.w32-in (TAGS, frc, TAGS-LISP, ../nt/TAGS, tags)
 3551 	(TAGS-gmake, TAGS-nmake, TAGS-LISP-gmake, TAGS-LISP-nmake)
 3552 	(nt-TAGS-gmake, nt-TAGS-nmake): New targets.
 3553 
 3554 2010-09-30  Dan Nicolaescu  <dann@ics.uci.edu>
 3555 
 3556 	* xml.c (parse_string): Use const.
 3557 
 3558 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 3559 
 3560 	* eval.c (Fbacktrace): Don't overwrite print-level on exit.
 3561 	Also only override Vprint_level if it isn't already bound, and increase
 3562 	the level to 8 to produce more useful backtraces for bug reports.
 3563 
 3564 2010-09-30  Dan Nicolaescu  <dann@ics.uci.edu>
 3565 
 3566 	* Makefile.in: ecrt0.c does not exist anymore, do not mention it.
 3567 
 3568 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
 3569 
 3570 	* w32console.c (vga_stdcolor_name): Remove unused function;
 3571 	presumed dead after 2007-11-30T13:57:21Z!jasonr@gnu.org.
 3572 
 3573 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 3574 
 3575 	* gnutls.c (emacs_gnutls_handshake): Made into internal function.
 3576 	(Fgnutls_boot): Start the handshake.
 3577 	(emacs_gnutls_read): Perform the handshake from the reader loop.
 3578 	(Fgnutls_boot): Remove some debugging messages.
 3579 	Change indentation throughout to use the Emacs style.
 3580 	(emacs_gnutls_handshake): Cast the fds to something that's
 3581 	possibly the expected length.
 3582 	(emacs_gnutls_write): Return -1 if we try to write before handshake.
 3583 
 3584 	* process.h (Lisp_Process): Add a gnutls_p field to Lisp_Process.
 3585 
 3586 	* process.c (make_process): Set the gnutls_p field to zero by
 3587 	default.
 3588 	(read_process_output): Always call the gnutls_read function if the
 3589 	stream is a GnuTLS stream.
 3590 	(send_process): Ditto for writes.
 3591 
 3592 	* gnutls.c (emacs_gnutls_write, emacs_gnutls_read): Refuse to read
 3593 	or write anything until the state is GNUTLS_STAGE_READY.
 3594 	(Fgnutls_boot): Mark the stream as being a GnuTLS stream.
 3595 
 3596 2010-09-29  Eli Zaretskii  <eliz@gnu.org>
 3597 
 3598 	* xdisp.c (reseat_1): Initialize bidi_it.paragraph_dir to
 3599 	NEUTRAL_DIR.
 3600 	(handle_invisible_prop, iterate_out_of_display_property)
 3601 	(next_element_from_buffer): If bidi_it.first_elt is set, call
 3602 	bidi_paragraph_init with NO_DEFAULT_P argument non-zero.
 3603 	(Bug#7128)
 3604 
 3605 	* print.c (print_object): Fix format string and argument types for
 3606 	printing a Lisp_Misc_Marker.
 3607 
 3608 	* xdisp.c (pos_visible_p, c_string_pos, number_of_chars)
 3609 	(load_overlay_strings, get_overlay_strings_1)
 3610 	(get_overlay_strings, forward_to_next_line_start)
 3611 	(back_to_previous_visible_line_start, reseat, reseat_to_string)
 3612 	(get_next_display_element, next_element_from_string)
 3613 	(next_element_from_c_string, next_element_from_buffer)
 3614 	(move_it_vertically_backward, move_it_by_lines, add_to_log)
 3615 	(message_dolog, message_log_check_duplicate, message2_nolog)
 3616 	(message3, message3_nolog, vmessage, set_message, set_message_1)
 3617 	(hscroll_window_tree, text_outside_line_unchanged_p)
 3618 	(set_cursor_from_row, set_vertical_scroll_bar, redisplay_window)
 3619 	(find_last_unchanged_at_beg_row)
 3620 	(find_first_unchanged_at_end_row, row_containing_pos)
 3621 	(trailing_whitespace_p, display_mode_element, decode_mode_spec)
 3622 	(display_count_lines, x_produce_glyphs, note_mouse_highlight):
 3623 	Use EMACS_INT for buffer and string positions.
 3624 
 3625 	* dispextern.h (struct it) <string_nchars>: Declare EMACS_INT.
 3626 	(row_containing_pos): Adjust prototype.
 3627 
 3628 	* lisp.h (pos_visible_p, message2, message2_nolog, message3)
 3629 	(message2_nolog, set_message): Adjust prototypes.
 3630 
 3631 2010-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
 3632 
 3633 	* gnutls.c (Fgnutls_boot): Remove unused vars `data' and `srp_cred'.
 3634 	(Fgnutls_boot): Use SDATA.
 3635 	(Fgnutls_handshake): Remove unused var `max_log_level'.
 3636 
 3637 2010-09-27  Michael Albinus  <michael.albinus@gmx.de>
 3638 
 3639 	* dbusbind.c (syms_of_dbusbind): Set $DBUS_FATAL_WARNINGS to "0".
 3640 	(Bug#7113)
 3641 
 3642 2010-09-27  Jan Djärv  <jan.h.d@swipnet.se>
 3643 
 3644 	* xgselect.c (xg_select): Clear file descriptors not set from
 3645 	rfds and wfds.
 3646 
 3647 	* process.c (wait_reading_process_output): Add missing FD_CLR
 3648 	for write_mask (must mirror connect_wait_mask).
 3649 
 3650 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
 3651 
 3652 	* gnutls.c (gnutls_log_function): Show level and "gnutls.c"
 3653 	prefix.
 3654 	(Fgnutls_boot): Use changed process members.  Use log level with a
 3655 	function parameter to set it.  Bring back Emacs-level debugging
 3656 	messages at log level 1 and 2.
 3657 
 3658 	* process.c (make_process): Initialize gnutls_log_level.
 3659 
 3660 	* process.h: Add gnutls_log_level and rename x509_cred and
 3661 	anon_cred to have the gnutls_ prefix for consistency.
 3662 
 3663 	* gnutls.h (GNUTLS_LOG): Add convenience macro.
 3664 
 3665 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
 3666 
 3667 	* w32.c (g_b_init_get_sid_identifier_authority)
 3668 	(GetSidIdentifierAuthority_Proc, get_sid_identifier_authority):
 3669 	Remove, not used.
 3670 	(globals_of_w32): Don't set g_b_init_get_sid_identifier_authority.
 3671 	(init_winsock): Remove useless assignment.
 3672 	(open_process_token, get_token_information, lookup_account_sid)
 3673 	(get_sid_sub_authority, get_sid_sub_authority_count, get_file_security)
 3674 	(get_security_descriptor_owner, get_security_descriptor_group)
 3675 	(is_valid_sid, equal_sid, get_length_sid, copy_sid)
 3676 	(get_native_system_info, get_system_times, init_user_info, crlf_to_lf)
 3677 	(is_unc_volume, GetCachedVolumeInformation, get_volume_info)
 3678 	(is_fat_volume, open_unc_volume, read_unc_volume, close_unc_volume)
 3679 	(unc_volume_file_attributes, convert_from_time_t)
 3680 	(create_toolhelp32_snapshot, process32_first, process32_next)
 3681 	(open_thread_token, impersonate_self, revert_to_self)
 3682 	(get_process_memory_info, get_process_working_set_size)
 3683 	(global_memory_status, global_memory_status_ex, socket_to_fd)
 3684 	(shutdown_handler): Make static.
 3685 
 3686 2010-09-27  Michael Albinus  <michael.albinus@gmx.de>
 3687 
 3688 	* dbusbind.c (dbus_fd_cb, xd_get_dispatch_status)
 3689 	(xd_pending_messages): Functions removed.
 3690 	(xd_read_queued_messages): Add parameters fd, *data, for_read in
 3691 	order to be compatible with add_read_fd.  Determine bus from data,
 3692 	and call xd_read_message just for this bus.
 3693 	(xd_add_watch): Use xd_read_queued_messages as callback function.
 3694 	Add data.
 3695 
 3696 	* lisp.h (xd_pending_messages, xd_read_queued_messages): Remove.
 3697 
 3698 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 3699 
 3700 	* gnutls.c (gnutls_log_function): Add more debugging.
 3701 	(emacs_gnutls_read): Don't infloop while reading.
 3702 
 3703 2010-09-27  Kenichi Handa  <handa@m17n.org>
 3704 
 3705 	These changes are to remove restriction on the number of glyphs in
 3706 	one composition.
 3707 
 3708 	* dispextern.h (struct glyph): Change the member "slice" to union.
 3709 	Remove u.cmp.from and u.cmp.to.  Give more bits to u.cmp.id.
 3710 	(GLYPH_SLICE_EQUAL_P): Adjust for the above change.
 3711 
 3712 	* dispnew.c (buffer_posn_from_coords): Use glyph->slice.img
 3713 	instead of glyph->slice.
 3714 	(marginal_area_string): Likewise.
 3715 
 3716 	* term.c (encode_terminal_code): Use glyph->slice.cmp instead of
 3717 	glyph->u.cmp.
 3718 	(append_composite_glyph): Likewise.
 3719 
 3720 	* xdisp.c (dump_glyph): Use glyph->slice.cmp instead of
 3721 	glyph->u.cmp.
 3722 	(fill_gstring_glyph_string, x_get_glyph_overhangs)
 3723 	(append_composite_glyph): Likewise.
 3724 	(fill_image_glyph_string): Use glyph->slice.img instead of
 3725 	glyph->slice.
 3726 	(append_glyph, produce_image_glyph, append_stretch_glyph)
 3727 	(note_mouse_highlight): Likewise.
 3728 
 3729 2010-09-26  Jan Djärv  <jan.h.d@swipnet.se>
 3730 
 3731 	* process.c (add_keyboard_wait_descriptor)
 3732 	(delete_keyboard_wait_descriptor): Reinstate ifdef subprocesses.
 3733 	(wait_reading_process_output): Don't pass write_mask to select
 3734 	if SELECT_CANT_DO_WRITE_MASK is defined.
 3735 	(SELECT_CANT_DO_WRITE_MASK): Define if SELECT_CANT_DO_WRITE_MASK.
 3736 
 3737 	* process.h (add_read_fd, delete_read_fd, add_write_fd)
 3738 	(delete_write_fd): Declare.
 3739 
 3740 	* process.c (gpm_wait_mask, max_gpm_desc): Remove.
 3741 	(write_mask): New variable.
 3742 	(max_input_desc): Rename from max_keyboard_desc.
 3743 	(fd_callback_info): New variable.
 3744 	(add_read_fd, delete_read_fd, add_write_fd, delete_write_fd):
 3745 	New functions.
 3746 	(Fmake_network_process): FD_SET write_mask.
 3747 	(deactivate_process): FD_CLR write_mask.
 3748 	(wait_reading_process_output): Connecting renamed to Writeok.
 3749 	check_connect removed.  check_write is new.  Remove references to gpm.
 3750 	Use Writeok/check_write unconditionally (i.e. no #ifdef
 3751 	NON_BLOCKING_CONNECT) instead of Connecting.
 3752 	Loop over file descriptors and call callbacks in fd_callback_info
 3753 	if file descriptor is ready for I/O.
 3754 	(add_gpm_wait_descriptor): Just call add_keyboard_wait_descriptor.
 3755 	(delete_gpm_wait_descriptor): Just call delete_keyboard_wait_descriptor.
 3756 	(keyboard_bit_set): Use max_input_desc.
 3757 	(add_keyboard_wait_descriptor, delete_keyboard_wait_descriptor):
 3758 	Remove #ifdef subprocesses.  Use max_input_desc.
 3759 	(init_process): Initialize write_mask and fd_callback_info.
 3760 
 3761 	* keyboard.c (readable_events, gobble_input): Remove DBUS code.
 3762 
 3763 	* dbusbind.c: Include process.h.
 3764 	(dbus_fd_cb, xd_find_watch_fd, xd_toggle_watch)
 3765 	(xd_read_message_1): New functions.
 3766 	(xd_add_watch, xd_remove_watch): Call xd_find_watch_fd.
 3767 	Handle watch for both read and write.
 3768 	(Fdbus_init_bus): Also register xd_toggle_watch.
 3769 	(Fdbus_call_method_asynchronously, Fdbus_method_return_internal)
 3770 	(Fdbus_method_error_internal, Fdbus_send_signal): Remove call
 3771 	to dbus_connection_flush.
 3772 	(xd_read_message): Move most of the code to xd_read_message_1.
 3773 	Call xd_read_message_1 until status is COMPLETE.
 3774 
 3775 2010-09-26  Dan Nicolaescu  <dann@ics.uci.edu>
 3776 
 3777 	* term.c: Do not include sys/ioctl.h, not needed.
 3778 	(init_tty): Reorder code to reduce the number of #ifdefs.
 3779 	No code changes.
 3780 
 3781 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
 3782 
 3783 	* process.h: Set up GnuTLS support.
 3784 
 3785 	* process.c (make_process, Fstart_process)
 3786 	(read_process_output, send_process): Set up GnuTLS support for
 3787 	process input/output file descriptors.
 3788 
 3789 	* gnutls.h: The GnuTLS glue for Emacs, macros and enums.
 3790 
 3791 	* gnutls.c: The source code for GnuTLS support in Emacs.
 3792 
 3793 	* emacs.c: Set up GnuTLS support and call syms_of_gnutls.
 3794 
 3795 	* config.in: Set up GnuTLS support.
 3796 
 3797 	* Makefile.in (LIBGNUTLS_LIBS, LIBGNUTLS_CFLAGS, ALL_CFLAGS)
 3798 	(obj, LIBES): Set up GnuTLS support.
 3799 
 3800 2010-09-26  Juanma Barranquero  <lekktu@gmail.com>
 3801 
 3802 	* w32.c (get_emacs_configuration_options): Fix previous change.
 3803 
 3804 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
 3805 
 3806 	* insdel.c (prepare_to_modify_buffer): Ensure the mark marker is
 3807 	alive before using it (Bug#6977).
 3808 
 3809 2010-09-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 3810 
 3811 	* xdisp.c (face_before_or_after_it_pos): EMACS_INT/int fixup.
 3812 
 3813 	* dispextern.h: EMACS_INT/int fixup.
 3814 
 3815 	* xdisp.c (string_pos_nchars_ahead, init_iterator): EMACS_INT/int
 3816 	fixup.
 3817 
 3818 	* xrdb.c (magic_file_p): EMACS_INT/int fixup.
 3819 
 3820 2010-09-25  Eli Zaretskii  <eliz@gnu.org>
 3821 
 3822 	* window.c (Fpos_visible_in_window_p, Fdelete_other_windows)
 3823 	(Fselect_window, window_scroll_pixel_based)
 3824 	(window_scroll_line_based, Frecenter, Fset_window_configuration):
 3825 	Use EMACS_INT for buffer positions.
 3826 
 3827 	* textprop.c (validate_interval_range, interval_of)
 3828 	(property_change_between_p, Fadd_text_properties)
 3829 	(set_text_properties_1, Fremove_text_properties)
 3830 	(Fremove_list_of_text_properties, Ftext_property_any)
 3831 	(Ftext_property_not_all, copy_text_properties)
 3832 	(text_property_list, extend_property_ranges)
 3833 	(verify_interval_modification): Use EMACS_INT for buffer
 3834 	positions.
 3835 
 3836 	* term.c (fast_find_position, term_mouse_highlight): Use EMACS_INT
 3837 	for buffer positions.
 3838 
 3839 	* process.c (read_process_output, send_process)
 3840 	(Fprocess_send_region, status_notify): Use EMACS_INT for buffer
 3841 	and string positions and size.
 3842 
 3843 	* print.c (print_object, print_string, strout): Use EMACS_INT for
 3844 	string indices.
 3845 
 3846 	* minibuf.c (string_to_object): Use EMACS_INT for string position
 3847 	and size.
 3848 
 3849 	* marker.c (verify_bytepos): Use EMACS_INT for buffer positions.
 3850 
 3851 	* lread.c <read_from_string_index, read_from_string_index_byte>
 3852 	<read_from_string_limit, readchar_count>: Define EMACS_INT.
 3853 	(readchar, unreadchar, read_internal_start): Use EMACS_INT for
 3854 	buffer positions and string length.
 3855 
 3856 	* keyboard.c <last_point_position, last_non_minibuf_size>: Declare
 3857 	EMACS_INT.
 3858 	(echo_truncate, adjust_point_for_property, read_char)
 3859 	(gen_help_event, make_lispy_event, modify_event_symbol)
 3860 	(Fexecute_extended_command, stuff_buffered_input): Use EMACS_INT
 3861 	for buffer positions and string length.
 3862 
 3863 	* keyboard.h (gen_help_event): Adjust prototype.
 3864 
 3865 	* termhooks.h <struct input_event>: Make `code' member EMACS_INT.
 3866 
 3867 	* commands.h <last_point_position>: Declare EMACS_INT.
 3868 
 3869 	* xdisp.c <help_echo_pos>: Define as EMACS_INT.
 3870 	(truncate_echo_area): Accept EMACS_INT argument.
 3871 
 3872 	* dispextern.h <help_echo_pos>: Declare EMACS_INT.
 3873 
 3874 	* lisp.h (truncate_echo_area): Adjust prototype.
 3875 
 3876 	* composite.c (composition_adjust_point): Return EMACS_INT.
 3877 
 3878 	* composite.h (composition_adjust_point): Adjust prototype.
 3879 
 3880 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
 3881 
 3882 	* process.c (Fmake_network_process): When arg :host is 'local,
 3883 	use address 127.0.0.1, not name "localhost".  (Bug#6781)
 3884 
 3885 2010-09-24  Eli Zaretskii  <eliz@gnu.org>
 3886 
 3887 	* indent.c (Fcurrent_indentation, indented_beyond_p)
 3888 	(compute_motion): Use EMACS_INT for buffer position variables.
 3889 
 3890 	* lisp.h (indented_beyond_p): Adjust prototype.
 3891 
 3892 	* buffer.c (overlay_strings): Return EMACS_INT.
 3893 
 3894 	* buffer.h (overlay_strings): Adjust prototype.
 3895 
 3896 	* region-cache.c (pp_cache): Adjust format to arguments.
 3897 
 3898 	* eval.c <specpdl_size, lisp_eval_depth>: Declare EMACS_INT.
 3899 	(call_debugger): Use EMACS_INT for specpdl_size related variables.
 3900 	(verror): Use EMACS_INT for size of allocated buffer.
 3901 
 3902 	* keyboard.c (make_lispy_position): Use EMACS_INT for buffer
 3903 	positions.
 3904 
 3905 	* xdisp.c (redisplay_internal, try_window_id)
 3906 	(set_cursor_from_row, find_first_unchanged_at_end_row):
 3907 	Use EMACS_INT for buffer positions.
 3908 
 3909 	* dispextern.h (set_cursor_from_row): Adjust prototype.
 3910 
 3911 	* dispnew.c (increment_matrix_positions)
 3912 	(increment_row_positions, copy_glyph_row_contents)
 3913 	(mode_line_string, marginal_area_string): Use EMACS_INT for buffer
 3914 	positions.
 3915 
 3916 	* dispextern.h (mode_line_string, marginal_area_string)
 3917 	(increment_matrix_positions, increment_row_positions):
 3918 	Adjust prototypes.
 3919 
 3920 	* data.c (Faref, Faset): Use EMACS_INT for string length and
 3921 	positions.
 3922 
 3923 	* cmds.c (internal_self_insert): Use EMACS_INT for the count of
 3924 	characters to insert.
 3925 
 3926 	* ccl.c (Fccl_execute_on_string): Use EMACS_INT for string
 3927 	position and size.
 3928 
 3929 	* syntax.c (scan_words, update_syntax_table)
 3930 	(prev_char_comend_first, back_comment, skip_chars)
 3931 	(skip_syntaxes, Fforward_comment, Fbackward_prefix_chars):
 3932 	Use EMACS_INT for buffer and string positions.
 3933 
 3934 	* syntax.h (scan_words, update_syntax_table): Adjust prototypes.
 3935 
 3936 	* casefiddle.c (operate_on_word): Use EMACS_INT for buffer
 3937 	positions.
 3938 
 3939 2010-09-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 3940 
 3941 	* scroll.c (calculate_scrolling, line_ins_del)
 3942 	(calculate_direct_scrolling, scroll_cost): Fix EMACS_INT/int
 3943 	conversion.
 3944 
 3945 	* region-cache.c (move_cache_gap, set_cache_region, pp_cache)
 3946 	(region_cache_backward, region_cache_forward)
 3947 	(revalidate_region_cache, set_cache_region): FIX EMACS_INT/int
 3948 	conversion.
 3949 
 3950 	* xdisp.c (message_dolog): Fix EMACS_INT/int conversion.
 3951 
 3952 	* eval.c (verror): Fix EMACS_INT/int conversion.
 3953 
 3954 	* print.c (PRINTDECLARE, PRINTPREPARE, strout, print_string)
 3955 	(print_preprocess, print_check_string_charset_prop)
 3956 	(print_object): Fix EMACS_INT/int conversion.
 3957 
 3958 	* xdisp.c (message_dolog): Fix EMACS_INT/int conversion.
 3959 
 3960 2010-09-24  Eli Zaretskii  <eliz@gnu.org>
 3961 
 3962 	* callproc.c (Fcall_process): Use EMACS_INT for count of
 3963 	characters read from the subprocess.
 3964 
 3965 	* bidi.c (struct bidi_paragraph_info): Use EMACS_INT for buffer
 3966 	positions.
 3967 	(bidi_cache_search, bidi_cache_find): Use EMACS_INT for buffer
 3968 	positions.
 3969 
 3970 	* buffer.c (struct sortvec): Use EMACS_INT for buffer positions.
 3971 	(struct sortstrlist, overlay_str_len): Use EMACS_INT for string
 3972 	length.
 3973 	(advance_to_char_boundary, Fset_buffer_multibyte)
 3974 	(overlays_at, overlays_in, mouse_face_overlay_overlaps)
 3975 	(overlay_touches_p, record_overlay_string, overlay_strings)
 3976 	(recenter_overlay_lists, fix_start_end_in_overlays)
 3977 	(modify_overlay, Fmove_overlay, report_overlay_modification)
 3978 	(evaporate_overlays): Use EMACS_INT for buffer positions.
 3979 
 3980 	* lisp.h (fix_start_end_in_overlays, overlay_touches_p):
 3981 	Adjust prototypes.
 3982 
 3983 	* dispextern.h (struct bidi_saved_info): Use EMACS_INT for buffer
 3984 	positions.
 3985 
 3986 	* fns.c (Fcompare_strings, Fstring_lessp, concat)
 3987 	(string_make_unibyte, Fstring_as_unibyte, Fsubstring)
 3988 	(Fsubstring_no_properties, substring_both, Ffillarray)
 3989 	(Fclear_string, mapcar1, Fmapconcat, Fmapcar, Fmapc)
 3990 	(Fbase64_encode_region, Fbase64_encode_string, base64_encode_1)
 3991 	(Fbase64_decode_region, Fbase64_decode_string, base64_decode_1)
 3992 	(Fmd5): Use EMACS_INT for buffer and string positions and length
 3993 	variables and arguments.
 3994 
 3995 	* lisp.h (substring_both): Adjust prototype.
 3996 
 3997 2010-09-24  Juanma Barranquero  <lekktu@gmail.com>
 3998 
 3999 	Remove Windows API function pointer unused since 2005-02-15 (revno
 4000 	2005-02-15T23:19:26Z!jasonr@gnu.org).
 4001 	* w32fns.c (clipboard_sequence_fn): Don't declare.
 4002 	(globals_of_w32fns): Don't initialize it.
 4003 
 4004 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
 4005 
 4006 	* syntax.c (back_comment): Detect the case where a 1-char comment
 4007 	starter is also the 2nd char of a 2-char comment ender.
 4008 
 4009 2010-09-23  Jan Djärv  <jan.h.d@swipnet.se>
 4010 
 4011 	* gtkutil.c (xg_tool_bar_menu_proxy): Set gtk-menu-items to TRUE.
 4012 
 4013 2010-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 4014 
 4015 	* eval.c (verror): EMACS_INT/int cleanup.
 4016 
 4017 	* lisp.h (SPECPDL_INDEX): Cast to int, since we're not going to
 4018 	unwind_protect more than 2GB worth of functions.
 4019 
 4020 	* editfns.c (Finsert_char): EMACS_INT/int cleanup.
 4021 
 4022 	* lisp.h: Have oblookup take EMACS_INT to allow interning big
 4023 	string and avoid compiler warnings.
 4024 	(USE_SAFE_ALLOCA): Cast to int to avoid compilation warnings in
 4025 	all users.
 4026 
 4027 	* lread.c (oblookup): EMACS_INT/int cleanup.
 4028 
 4029 	* cmds.c (Fforward_line, Fdelete_char): EMACS_INT/int cleanup.
 4030 
 4031 2010-09-23  Eli Zaretskii  <eliz@gnu.org>
 4032 
 4033 	* editfns.c (clip_to_bounds): Return an EMACS_INT value.
 4034 
 4035 	* lisp.h (clip_to_bounds): Adjust prototype.
 4036 
 4037 	* intervals.c (adjust_for_invis_intang): Return EMACS_INT value.
 4038 
 4039 2010-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 4040 
 4041 	* lisp.h: doprnt.c EMACS_INT/int cleanup.
 4042 
 4043 	* doprnt.c (doprnt): EMACS_INT/int cleanup.
 4044 
 4045 	* doc.c (Fsnarf_documentation, get_doc_string): EMACS_INT/int
 4046 	cleanup.
 4047 
 4048 	* lisp.h: Change the definition of all marker.c functions that
 4049 	take and return buffer stuff to be EMACS_INT instead of int.
 4050 
 4051 	* marker.c (buf_charpos_to_bytepos, CONSIDER, set_marker_both)
 4052 	(buf_charpos_to_bytepos, bytepos_to_charpos)
 4053 	(buf_bytepos_to_charpos, Fbuffer_has_markers_at)
 4054 	(set_marker_restricted, set_marker_both): Convert int to EMACS_INT
 4055 	for all buffer positions.
 4056 
 4057 2010-09-23  Chong Yidong  <cyd@stupidchicken.com>
 4058 
 4059 	* intervals.c (traverse_intervals, rotate_right, rotate_left)
 4060 	(split_interval_right, find_interval, next_interval)
 4061 	(delete_node, delete_interval, interval_deletion_adjustment)
 4062 	(adjust_intervals_for_deletion, merge_interval_right)
 4063 	(merge_interval_left, graft_intervals_into_buffer)
 4064 	(copy_intervals): Convert EMACS_UINTs to EMACS_INT.
 4065 
 4066 	* intervals.h (traverse_intervals): Update prototype.
 4067 
 4068 2010-09-23  Eli Zaretskii  <eliz@gnu.org>
 4069 
 4070 	* indent.c (compute_motion): Use EMACS_INT for arguments to
 4071 	region_cache_forward.
 4072 
 4073 	* region-cache.c (struct boundary, struct region_cache):
 4074 	Use EMACS_INT for positions.
 4075 	(find_cache_boundary, move_cache_gap, insert_cache_boundary)
 4076 	(delete_cache_boundaries, set_cache_region)
 4077 	(invalidate_region_cache, know_region_cache)
 4078 	(region_cache_forward, region_cache_backward, pp_cache):
 4079 	Use EMACS_INT for buffer positions.
 4080 
 4081 	* region-cache.h (know_region_cache, invalidate_region_cache)
 4082 	(region_cache_forward, region_cache_backward): Adjust prototypes.
 4083 
 4084 	* search.c (string_match_1, fast_c_string_match_ignore_case)
 4085 	(looking_at_1, scan_buffer, scan_newline)
 4086 	(find_next_newline_no_quit, find_before_next_newline)
 4087 	(search_command, trivial_regexp_p, search_buffer, simple_search)
 4088 	(boyer_moore, wordify, Freplace_match): Use EMACS_INT for buffer
 4089 	and string positions and length.
 4090 
 4091 	* lisp.h (scan_buffer, scan_newline, find_next_newline_no_quit)
 4092 	(find_before_next_newline): Adjust prototypes.
 4093 
 4094 	* editfns.c (transpose_markers, update_buffer_properties)
 4095 	(buildmark, clip_to_bounds, Fgoto_char, overlays_around)
 4096 	(get_pos_property, Fconstrain_to_field)
 4097 	(Fline_beginning_position, Fline_end_position, Fprevious_char)
 4098 	(Fchar_after, Fchar_before, Finsert_char)
 4099 	(Finsert_buffer_substring, Fcompare_buffer_substrings)
 4100 	(Fsubst_char_in_region, Fformat, Ftranspose_regions):
 4101 	Use EMACS_INT for buffer and string position variables.
 4102 	(Finsert_char): Protect against too large insertions.
 4103 
 4104 	* lisp.h (clip_to_bounds): Adjust prototype.
 4105 
 4106 	* intervals.c (traverse_intervals, rotate_right, rotate_left)
 4107 	(balance_an_interval, split_interval_right, split_interval_left)
 4108 	(find_interval, next_interval, update_interval)
 4109 	(adjust_intervals_for_insertion, delete_node, delete_interval)
 4110 	(interval_deletion_adjustment, adjust_intervals_for_deletion)
 4111 	(offset_intervals, merge_interval_right, merge_interval_left)
 4112 	(graft_intervals_into_buffer, adjust_for_invis_intang)
 4113 	(move_if_not_intangible, get_local_map, copy_intervals)
 4114 	(copy_intervals_to_string, compare_string_intervals)
 4115 	(set_intervals_multibyte_1): Use EMACS_INT for buffer positions
 4116 	and for interval tree size.
 4117 
 4118 	* intervals.h (traverse_intervals, split_interval_right)
 4119 	(split_interval_left, find_interval, offset_intervals)
 4120 	(graft_intervals_into_buffer, copy_intervals)
 4121 	(copy_intervals_to_string, move_if_not_intangible, get_local_map)
 4122 	(update_interval): Adjust prototypes.
 4123 
 4124 	* xdisp.c (check_point_in_composition, reconsider_clip_changes):
 4125 	Use EMACS_INT for buffer position variables and arguments.
 4126 
 4127 	* composite.c (get_composition_id, find_composition)
 4128 	(run_composition_function, compose_text)
 4129 	(composition_gstring_width, autocmp_chars)
 4130 	(composition_update_it, Ffind_composition_internal): Use EMACS_INT
 4131 	for buffer positions and string length variables and arguments.
 4132 
 4133 	* composite.h (get_composition_id, find_composition, compose_text)
 4134 	(composition_gstring_width): Adjust prototypes.
 4135 
 4136 	* editfns.c (Fformat): Use EMACS_INT for string size variables.
 4137 
 4138 	* xdisp.c (store_mode_line_noprop, display_mode_element):
 4139 	Use EMACS_INT for string positions.
 4140 
 4141 	* intervals.c (get_property_and_range): Use EMACS_INT for buffer
 4142 	position arguments.
 4143 
 4144 	* intervals.h (get_property_and_range): Adjust prototype.
 4145 
 4146 	* character.c (parse_str_as_multibyte, str_as_multibyte)
 4147 	(parse_str_to_multibyte, str_to_multibyte, str_as_unibyte)
 4148 	(string_count_byte8, string_escape_byte8, c_string_width)
 4149 	(strwidth, lisp_string_width, multibyte_chars_in_text):
 4150 	Use EMACS_INT for string length variables and arguments.
 4151 
 4152 	* character.h (parse_str_as_multibyte, str_as_multibyte)
 4153 	(parse_str_to_multibyte, str_to_multibyte, str_as_unibyte)
 4154 	(c_string_width, strwidth, lisp_string_width):
 4155 	Adjust prototypes.
 4156 
 4157 	* font.c (font_intern_prop): Use EMACS_INT for string length
 4158 	variables.
 4159 
 4160 	* font.c (font_intern_prop): Use EMACS_INT for string length
 4161 	variables.
 4162 
 4163 	* fns.c (Fstring_as_multibyte): Use EMACS_INT for string length
 4164 	variables.
 4165 
 4166 	* alloc.c <total_string_size>: Declare as EMACS_INT, not int.
 4167 	(Fmake_string): Protect against too large strings.
 4168 	(live_string_p, live_cons_p, live_symbol_p, live_float_p)
 4169 	(live_misc_p): Use ptrdiff_t instead of int for pointer
 4170 	differences.
 4171 	(string_bytes, check_sblock, check_string_free_list)
 4172 	(allocate_string_data, compact_small_strings, Fmake_string)
 4173 	(Fmake_bool_vector, make_string, make_unibyte_string)
 4174 	(make_multibyte_string, make_string_from_bytes)
 4175 	(make_specified_string_string, Fmake_list, Fmake_vector):
 4176 	Use EMACS_INT for string length variables and arguments.
 4177 	(find_string_data_in_pure, make_pure_string, make_pure_c_string)
 4178 	(Fpurecopy): Use EMACS_INT for string size.
 4179 	(mark_vectorlike, mark_char_table, mark_object): Use EMACS_UINT
 4180 	for vector size.
 4181 
 4182 	* lisp.h (make_string, make_unibyte_string, make_multibyte_string)
 4183 	(make_string_from_bytes, make_specified_string_string)
 4184 	(make_pure_string, string_bytes, check_point_in_composition):
 4185 	Adjust prototypes.
 4186 
 4187 2010-09-22  Eli Zaretskii  <eliz@gnu.org>
 4188 
 4189 	* editfns.c (Fsubst_char_in_region, Ftranslate_region_internal)
 4190 	(check_translation): Use EMACS_INT for buffer positions and
 4191 	length.
 4192 
 4193 	* undo.c (record_marker_adjustment, record_delete)
 4194 	(record_change, record_point, record_insert)
 4195 	(record_property_change, Fprimitive_undo): Use EMACS_INT for
 4196 	buffer positions.
 4197 
 4198 	* lisp.h (record_marker_adjustment, record_delete)
 4199 	(record_change, record_point, record_insert)
 4200 	(record_property_change, Fprimitive_undo): Adjust prototypes.
 4201 
 4202 2010-09-22  Juanma Barranquero  <lekktu@gmail.com>
 4203 	    Eli Zaretskii  <eliz@gnu.org>
 4204 
 4205 	* w32.c (get_emacs_configuration_options): Fix buffer overrun.
 4206 
 4207 2010-09-22  Eli Zaretskii  <eliz@gnu.org>
 4208 
 4209 	* minibuf.c (Fminibuffer_contents)
 4210 	(Fminibuffer_contents_no_properties)
 4211 	(Fminibuffer_completion_contents): Use EMACS_INT for minibuffer
 4212 	positions.
 4213 
 4214 	* keyboard.c (command_loop_1): Use EMACS_INT to compare point with
 4215 	mark.
 4216 
 4217 	* alloc.c (make_uninit_string, make_uninit_multibyte_string)
 4218 	(allocate_string_data): Accept EMACS_INT for string length.
 4219 
 4220 	* editfns.c (Ffield_string, Ffield_string_no_properties)
 4221 	(make_buffer_string, make_buffer_string_both, Fbuffer_substring)
 4222 	(Fbuffer_substring_no_properties, find_field, Fdelete_field)
 4223 	(Ffield_string, Ffield_string_no_properties, Ffield_beginning)
 4224 	(Ffield_end): Use EMACS_INT for buffer positions.
 4225 
 4226 	* insdel.c (prepare_to_modify_buffer): Use EMACS_INT to compare
 4227 	point with mark.
 4228 
 4229 	* lisp.h (allocate_string_data, make_uninit_string)
 4230 	(make_uninit_multibyte_string, make_buffer_string)
 4231 	(make_buffer_string_both): Adjust prototypes.
 4232 
 4233 2010-09-22  Chong Yidong  <cyd@stupidchicken.com>
 4234 
 4235 	* xml.c: Switch to GNU indentation.
 4236 	(make_dom): Change parse tree format to match xml.el.
 4237 	(Fxml_parse_html_string_internal): Rename from html-parse-string.
 4238 	(Fxml_parse_string_internal): Rename from xml-parse-string.
 4239 
 4240 2010-09-22  Kenichi Handa  <handa@m17n.org>
 4241 
 4242 	* xdisp.c (compute_stop_pos): Call composition_compute_stop_pos
 4243 	only if we are not at a composition.
 4244 	(set_iterator_to_next): Give it->end_charpos to
 4245 	composition_compute_stop_pos.
 4246 	(set_iterator_to_next, next_element_from_buffer): Likewise.
 4247 
 4248 	* dispnew.c (buffer_posn_from_coords): Fix position when the
 4249 	current display element is a grapheme cluster in bidi-reordered
 4250 	region.
 4251 
 4252 2010-09-21  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
 4253 
 4254 	* doc.c (Fsnarf_documentation): Use memmove instead of memcpy as
 4255 	the regions may overlap.
 4256 
 4257 2010-09-21  Juanma Barranquero  <lekktu@gmail.com>
 4258 
 4259 	* makefile.w32-in ($(BLD)/sysdep.$(O)): Update dependencies.
 4260 
 4261 2010-09-21  Dan Nicolaescu  <dann@ics.uci.edu>
 4262 
 4263 	* emacs.c: Do not include sys/ioctl.h, not needed.
 4264 
 4265 	* doprnt.c: Do not include stdlib.h, config.h does it.
 4266 	Move #include before macro definition.
 4267 
 4268 2010-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
 4269 
 4270 	* Makefile.in (temacs): Link using $(CC) not $(LD).
 4271 	(LD_FIRSTFLAG): Define using autoconf.
 4272 	(LD): Remove.
 4273 
 4274 	Remove HAVE_TERMIOS definitions.
 4275 	* s/usg5-4-common.h (HAVE_TERMIOS):
 4276 	* s/template.h (HAVE_TERMIOS):
 4277 	* s/gnu-linux.h (HAVE_TERMIOS):
 4278 	* s/darwin.h (HAVE_TERMIOS):
 4279 	* s/cygwin.h (HAVE_TERMIOS):
 4280 	* s/bsd-common.h (HAVE_TERMIOS):
 4281 	* s/aix4-2.h (HAVE_TERMIOS):
 4282 	* s/hpux10-20.h (HAVE_TERMIOS): Do not define, it is assumed
 4283 	defined on all non-MS platforms.
 4284 	(HAVE_PSTAT_GETDYNAMIC): Do not define, autoconf does it.
 4285 
 4286 	* xterm.c (xt_action_hook): Use const.
 4287 
 4288 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
 4289 
 4290 	Don't make W32 code conditional on HAVE_SOCKETS, it's always defined.
 4291 	* w32.c: Remove top-level uses of #ifdef HAVE_SOCKETS.
 4292 	(gethostname) [!HAVE_SOCKETS]: Remove.
 4293 	(SOCK_REPLACE_HANDLE): Remove macro.
 4294 	(socket_to_fd, sys_close, _sys_read_ahead, sys_read, sys_write)
 4295 	(term_ntproc, init_ntproc): Don't conditionalize on HAVE_SOCKETS.
 4296 	* w32proc.c: Remove top-level uses of #ifdef HAVE_SOCKETS.
 4297 	(syms_of_ntproc): Don't conditionalize on HAVE_SOCKETS.
 4298 
 4299 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
 4300 
 4301 	* deps.mk (xml.o): Add dependencies.
 4302 
 4303 	* xdisp.c (Fcurrent_bidi_paragraph_direction):
 4304 	Call bidi_paragraph_init with NO_DEFAULT_P non-zero.  (Bug#7038)
 4305 
 4306 	* bidi.c (bidi_paragraph_init): Accept an additional argument
 4307 	NO_DEFAULT_P; all callers changed.  If NO_DEFAULT_P is non-zero,
 4308 	search back until a paragraph with a strong directional character
 4309 	is found, and use that to determine paragraph's base direction.
 4310 
 4311 	* dispextern.h (bidi_paragraph_init): Update prototype.
 4312 
 4313 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
 4314 
 4315 	* w32.c (_PROCESS_MEMORY_COUNTERS_EX): Don't define with versions
 4316 	of w32api >= 3.15.  (Bug#6989)
 4317 
 4318 2010-09-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 4319 
 4320 	* process.c (wait_reading_process_output): Don't message about
 4321 	accept-process-output unless the time limit really is zero.
 4322 
 4323 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
 4324 
 4325 	* frame.c (Ftool_bar_pixel_width): YAILOM (Yet another
 4326 	int/Lisp_Object mixup).
 4327 
 4328 2010-09-17  Jan Djärv  <jan.h.d@swipnet.se>
 4329 
 4330 	* keyboard.c (parse_tool_bar_item): For QClabel, set TOOL_BAR_ITEM_LABEL
 4331 	not HELP.
 4332 
 4333 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
 4334 
 4335 	* frame.c (Ftool_bar_pixel_width): New function to expose tool
 4336 	bar's pixel width to Lisp (Bug#7048).
 4337 
 4338 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
 4339 
 4340 	* cmds.c (syms_of_cmds) <post-self-insert-hook>: Fix typos in docstring.
 4341 
 4342 2010-09-17  Jan Djärv  <jan.h.d@swipnet.se>
 4343 
 4344 	* gtkutil.c (xg_pack_tool_bar): Call gtk_handle_box_set_handle_position
 4345 	with argument top/left if tool bar is vertical/horizontal (Bug#7051).
 4346 
 4347 2010-09-17  Kenichi Handa  <handa@m17n.org>
 4348 
 4349 	* ftfont.c (ftfont_check_otf): Fix previous change.
 4350 
 4351 2010-09-14  Kenichi Handa  <handa@m17n.org>
 4352 
 4353 	* ftfont.c (ftfont_check_otf): Fix the case of checking just
 4354 	existence of GSUB or GPOS.
 4355 
 4356 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
 4357 
 4358 	* cmds.c (syms_of_cmds) <post-self-insert-hook>: Fix typos in docstring.
 4359 
 4360 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 4361 
 4362 	* xml.c (parse_buffer): Rename to parse_string(), since that's
 4363 	what it does.
 4364 	(parse_string): Return nil when the document can't be parsed.
 4365 
 4366 2010-09-14  Jan Djärv  <jan.h.d@swipnet.se>
 4367 
 4368 	* xterm.c (get_current_vm_state): New function.
 4369 	(do_ewmh_fullscreen): Call get_current_vm_state and compare with
 4370 	want_fullscreen so set_wm_state calls are few (Bug#7013).
 4371 	(x_handle_net_wm_state): Move code to get_current_vm_state and
 4372 	call that function.
 4373 
 4374 2010-09-14  Courtney Bane  <emacs-bugs-7626@cbane.org>  (tiny change)
 4375 
 4376 	* term.c (tty_set_terminal_modes): Don't initialize twice (bug#7002).
 4377 
 4378 2010-09-14  Kenichi Handa  <handa@m17n.org>
 4379 
 4380 	* coding.c (encode_coding_iso_2022): Don't optimize for ASCII if
 4381 	we may use designation or locking-shift.
 4382 
 4383 2010-09-14  Kenichi Handa  <handa@m17n.org>
 4384 
 4385 	* coding.c (detect_coding_emacs_mule): Fix checking of multibyte
 4386 	sequence when the source is multibyte.
 4387 
 4388 2010-09-14  Andreas Schwab  <schwab@linux-m68k.org>
 4389 
 4390 	* xml.c (Fxml_parse_string, Fxml_parse_string): Revert last change.
 4391 	Don't make first argument optional.  Doc fix.
 4392 
 4393 2010-09-14  Leo Liu  <sdl.web@gmail.com>  (tiny change)
 4394 
 4395 	* xml.c (Fxml_parse_string, Fhtml_parse_string): Fix up the
 4396 	parameters for the doc string.
 4397 
 4398 2010-09-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 4399 
 4400 	* xml.c (Fhtml_parse_string, Fxml_parse_string): Mention BASE-URL.
 4401 
 4402 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 4403 
 4404 	* fns.c (Fy_or_n_p): Move to lisp/subr.el.
 4405 	(syms_of_fns): Don't defsubr Sy_or_n_p.
 4406 	* lisp.h: Don't declare Fy_or_n_p.
 4407 	* fileio.c (barf_or_query_if_file_exists): Fy_or_n_p -> y-or-n-p.
 4408 
 4409 2010-09-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 4410 
 4411 	* xml.c (Fxml_parse_buffer): New function to parse XML files.
 4412 
 4413 2010-09-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 4414 
 4415 	* xml.c: New file.
 4416 	(Fhtml_parse_buffer): New function to interface to the libxml2
 4417 	html parsing function.
 4418 
 4419 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
 4420 
 4421 	* biditype.h: Regenerate.
 4422 
 4423 2010-09-04  Andreas Schwab  <schwab@linux-m68k.org>
 4424 
 4425 	* nsimage.m (ns_load_image): Check argument types.
 4426 
 4427 	* image.c: Remove all uses of gcpro.
 4428 	(xpm_load): Check all lisp types.
 4429 	(pbm_load): Likewise.
 4430 	(png_load): Likewise.
 4431 	(jpeg_load): Likewise.
 4432 	(tiff_load): Likewise.
 4433 	(gif_load): Likewise.
 4434 	(imagemagick_load_image): Likewise.
 4435 	(imagemagick_load): Likewise.
 4436 	(svg_load): Likewise.
 4437 	(gs_load): Likewise.
 4438 
 4439 2010-09-04  Eli Zaretskii  <eliz@gnu.org>
 4440 
 4441 	* w32uniscribe.c (uniscribe_shape): Update commentary.
 4442 	Don't try to reorder grapheme clusters, since LGSTRING should always
 4443 	hold them in the logical order.
 4444 	(uniscribe_encode_char, uniscribe_shape): Force ScriptShape to
 4445 	return glyph codes in the logical order.
 4446 
 4447 2010-09-04  Andreas Schwab  <schwab@linux-m68k.org>
 4448 
 4449 	* image.c (imagemagick_image_p): Replace bcopy by memcpy.
 4450 	(imagemagick_load_image): Fix type mismatch.
 4451 	(Fimagemagick_types): Likewise.  Doc fix.
 4452 
 4453 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
 4454 
 4455 	* xterm.h (struct dpyinfo): Remove cut_buffers_initialized.
 4456 
 4457 	* xterm.c (x_term_init): Don't set dpyinfo->cut_buffers_initialized.
 4458 
 4459 	* xselect.c: Remove declaration of cut-buffer objects and functions.
 4460 	(symbol_to_x_atom): Remove mapping to XA_CUT_BUFFERn.
 4461 	(x_atom_to_symbol): Remove mapping to QCUT_BUFFERn.
 4462 	(Fx_get_cut_buffer_internal, Fx_store_cut_buffer_internal)
 4463 	(Fx_rotate_cut_buffers_internal): Remove.
 4464 	(syms_of_xselect): Remove defsubr of above.
 4465 	Remove intern of QCUT_BUFFERn.
 4466 
 4467 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
 4468 
 4469 	* cmds.c (Vblink_paren_function): Remove.
 4470 	(internal_self_insert): Make it insert N chars at a time.
 4471 	Don't call blink-paren-function.
 4472 	(Fself_insert_command): Adjust accordingly.
 4473 	(syms_of_cmds): Don't declare blink-paren-function.
 4474 
 4475 2010-08-31  Kenichi Handa  <handa@m17n.org>
 4476 
 4477 	* dispextern.h (FACE_FOR_CHAR): Use an ASCII face for 8-bit
 4478 	characters.
 4479 
 4480 	* term.c (encode_terminal_code): Fix the previous change.
 4481 	(produce_glyphs): Don't set it->char_to_display here.
 4482 	Don't handle unibyte-display-via-language-environment here.
 4483 	(produce_special_glyphs): Set temp_it.char_to_display before
 4484 	calling produce_glyphs.
 4485 
 4486 	* xdisp.c (get_next_display_element): Set it->char_to_display
 4487 	here.  Convert all 8-bit bytes from unibyte buffer/string to 8-bit
 4488 	characters.
 4489 	(get_overlay_arrow_glyph_row): Set it.char_to_display too before
 4490 	calling PRODUCE_GLYPHS.
 4491 	(append_space_for_newline): Save and store it->char_to_display.
 4492 	Set it->char_to_display before calling PRODUCE_GLYPHS.
 4493 	(extend_face_to_end_of_line): Set it->char_to_display before
 4494 	calling PRODUCE_GLYPHS.
 4495 	(get_glyph_face_and_encoding): Set the glyph code an 8-bit
 4496 	character to its byte value.
 4497 	(get_char_glyph_code): New function.
 4498 	(produce_stretch_glyph): Set it2.char_to_display too before
 4499 	calling x_produce_glyphs.
 4500 	(x_produce_glyphs): Simplify by using the same code for ASCII and
 4501 	non-ASCII characters.  Don't set it->char_to_display here.
 4502 	Don't handle unibyte-display-via-language-environment here.  For a
 4503 	character of no glyph, use font->space_width instead of FONT_WIDTH.
 4504 
 4505 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
 4506 
 4507 	* keyboard.c (Fwindow_system): Fix compilation for USE_LISP_UNION_TYPE.
 4508 
 4509 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
 4510 
 4511 	* keyboard.c (command_loop_1): Don't call x-set-selection on tty.
 4512 
 4513 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
 4514 
 4515 	* marker.c (Fcopy_marker): Make the first arg optional.
 4516 
 4517 2010-08-30  Kenichi Handa  <handa@m17n.org>
 4518 
 4519 	* composite.c (composition_update_it): Fix computing of
 4520 	cmp_it->width.
 4521 
 4522 2010-08-29  Kenichi Handa  <handa@m17n.org>
 4523 
 4524 	* term.c (encode_terminal_code): Encode byte chars to the
 4525 	corresponding bytes.
 4526 
 4527 2010-08-29  Jan Djärv  <jan.h.d@swipnet.se>
 4528 
 4529 	* nsterm.m (ns_draw_window_cursor): Draw BAR_CURSOR correct for R2L.
 4530 
 4531 2010-08-26  Kenichi Handa  <handa@m17n.org>
 4532 
 4533 	* xdisp.c (compute_stop_pos): Pay attention to bidi scan direction
 4534 	on calling composition_compute_stop_pos.
 4535 
 4536 2010-08-25  Kenichi Handa  <handa@m17n.org>
 4537 
 4538 	* fontset.c (reorder_font_vector): Prefer a font-spec specifying
 4539 	:otf.
 4540 
 4541 	* composite.c (composition_compute_stop_pos): Don't break
 4542 	composition at PT.
 4543 	(composition_reseat_it): Likewise.  Fix calculation of character
 4544 	position starting a composition.
 4545 	(Fcomposition_get_gstring): Don't limit the number of components
 4546 	for automatic composition.
 4547 
 4548 2010-08-25  Kenichi Handa  <handa@m17n.org>
 4549 
 4550 	* composite.c (composition_compute_stop_pos): In forward search,
 4551 	pay attention to the possibility that some character after ENDPOS
 4552 	will be composed with characters before ENDPOS.
 4553 
 4554 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
 4555 
 4556 	* keyboard.c (command_loop_1): Don't clobber primary selection
 4557 	during handle-switch-frame (Bug#6872).
 4558 
 4559 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
 4560 
 4561 	* dbusbind.c: Accept UNIX domain sockets as bus address.
 4562 	(Fdbus_close_bus): New function.
 4563 	(Vdbus_registered_buses): New variable.
 4564 	(xd_initialize): Implement string as bus address.
 4565 	(Fdbus_init_bus): Add bus to Vdbus_registered_buses).
 4566 	(Fdbus_get_unique_name, Fdbus_call_method)
 4567 	(Fdbus_call_method_asynchronously, Fdbus_method_return_internal)
 4568 	(Fdbus_method_error_internal, Fdbus_send_signal)
 4569 	(Fdbus_register_signal, Fdbus_register_method): Remove bus type
 4570 	check.  This is done in xd_initialize_bus.  Adapt doc string, if
 4571 	necessary.
 4572 	(xd_pending_messages, xd_read_queued_messages): Loop over buses in
 4573 	Vdbus_registered_buses.
 4574 	(Vdbus_registered_objects_table): Create hash.
 4575 
 4576 2010-08-22  Juri Linkov  <juri@jurta.org>
 4577 
 4578 	* keyboard.c (Fexecute_extended_command): Move reading a command name
 4579 	with `completing-read' to a new Elisp function `read-extended-command'.
 4580 	Call it to read a command to `function'  (bug#5364, bug#5214).
 4581 
 4582 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
 4583 
 4584 	* emacs.c (main): Remove handling of --unibyte arg (Bug#6886).
 4585 
 4586 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
 4587 
 4588 	* eval.c (Flet, Feval, Fapply, apply_lambda): Use SAFE_ALLOCA_LISP
 4589 	instead of SAFE_ALLOCA.
 4590 
 4591 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
 4592 
 4593 	* eval.c (Flet, Feval, Fapply, apply_lambda): Use SAFE_ALLOCA
 4594 	(Bug#6214).
 4595 
 4596 2010-08-22  Jan Djärv  <jan.h.d@swipnet.se>
 4597 
 4598 	* doc.c (Fsnarf_documentation): Set skip_file only if p[1] is S.
 4599 
 4600 2010-08-22  Jan Djärv  <jan.h.d@swipnet.se>
 4601 
 4602 	* doc.c (Fsnarf_documentation): Initialize skip_file before
 4603 	build-files test.
 4604 
 4605 2010-08-22  Peter O'Gorman  <pogma@thewrittenword.com>  (tiny change)
 4606 
 4607 	* s/hpux10-20.h (HAVE_TERMIOS, NO_TERMIO, ORDINARY_LINK):
 4608 	New definitions.
 4609 	(HAVE_TERMIO): Remove.
 4610 
 4611 2010-08-22  Eli Zaretskii  <eliz@gnu.org>
 4612 
 4613 	* deps.mk (sysdep.o, msdos.o): Depend on sysselect.h.
 4614 
 4615 	* sysselect.h [WINDOWSNT]: Don't define the FD_* and select stuff
 4616 	for w32.
 4617 
 4618 	* s/ms-w32.h (HAVE_SYS_TIMEB_H): Don't #undef HAVE_SYS_SELECT_H,
 4619 	it's done in nt/config.nt.
 4620 
 4621 	* makefile.w32-in ($(BLD)/sysdep.$(O)): Depend on sysselect.h.
 4622 
 4623 	* unexcoff.c (report_error, make_hdr, write_segment)
 4624 	(copy_text_and_data, copy_sym, mark_x, adjust_lnnoptrs, unexec):
 4625 	Convert argument lists and prototypes to ANSI C.
 4626 	(make_hdr, write_segment): Remove unused variables.
 4627 	(unexec): Remove commented-out line.  Initialize `new' to shut up
 4628 	compiler warnings.
 4629 
 4630 2010-08-22  Dan Nicolaescu  <dann@ics.uci.edu>
 4631 
 4632 	Simplify termio code.
 4633 	All non-MSDOS non-WINDOWSNT platforms define HAVE_TERMIOS, so
 4634 	HAVE_TERMIO code is obsolete.
 4635 	Replace HAVE_TERMIOS conditionals with !DOS_NT.
 4636 	* systty.h: Do not define HAVE_TCATTR.
 4637 	Remove HAVE_TERMIO, HAVE_LTCHARS and HAVE_TCHARS code.
 4638 	Do not define EMACS_HAVE_TTY_PGRP.  Only define
 4639 	EMACS_GET_TTY_PGRP for !DOS_NT.
 4640 	* sysdep.c: Include sysselect.h unconditionally.  Do not include
 4641 	sys/ioctl.h and termios.h, systty.h does it.
 4642 	Use HAVE_SYS_UTSNAME_H instead of USG as an include guard.
 4643 	(init_baud_rate): Remove HAVE_TERMIO code.
 4644 	(child_setup_tty): Remove HAVE_TERMIO code.
 4645 	(emacs_get_tty, emacs_set_tty): Remove HAVE_TERMIO, HAVE_TCHARS
 4646 	and HAVE_LTCHARS code.  Use !DOS_NT instead of HAVE_TCATTR.
 4647 	(new_ltchars, new_tchars): Remove, unused.
 4648 	(init_sys_modes): Remove HAVE_TERMIO, HAVE_TCHARS and HAVE_LTCHARS
 4649 	code.  Remove special casing for __mips__, it was a no-op.
 4650 	Remove HAVE_TCATTR conditional, it is implied by HAVE_TERMIOS.
 4651 	(init_sys_modes): Remove HPUX special case.
 4652 	* process.c: Include stdlib.h unconditionally.  Do not include
 4653 	fcntl.h, systty.h does it.  Remove conditional code for
 4654 	HAVE_SERIAL, it is always true.
 4655 	(process_send_signal): Remove HAVE_TERMIOS conditional, it's
 4656 	always true when SIGNALS_VIA_CHARACTERS is true.
 4657 	(Fcontinue_process, Fprocess_send_eof): Simplify conditionals:
 4658 	!WINDOWSNT means HAVE_TERMIOS.
 4659 	(create_process): Remove HAVE_TERMIOS, it's inside a HAVE_PTYS
 4660 	conditional, which is true for all HAVE_TERMIOS systems.
 4661 	* keyboard.c (init_keyboard): Do not use HAVE_TERMIO, use !DOS_NT
 4662 	instead of HAVE_TERMIOS.
 4663 	* emacs.c (shut_down_emacs): Use !defined DOS_NT instead of
 4664 	EMACS_HAVE_TTY_PGRP.
 4665 	* callproc.c (child_setup): Move EMACS_SET_TTY_PGRP use to the
 4666 	non-MSDOS, non-WINDOWSNT code, it's only defined for such systems
 4667 	anyway.
 4668 
 4669 2010-08-21  Eli Zaretskii  <eliz@gnu.org>
 4670 
 4671 	* dispnew.c (buffer_posn_from_coords): Fix off-by-one error in
 4672 	mirroring pixel positions.
 4673 
 4674 2010-08-20  Dan Nicolaescu  <dann@ics.uci.edu>
 4675 
 4676 	* alloc.c (malloc_sbrk_used, malloc_sbrk_unused): Remove,
 4677 	write only.
 4678 	(init_alloc_once): Remove writes to malloc_sbrk_unused, and
 4679 	malloc_sbrk_used, nothing uses them.
 4680 
 4681 	* puresize.h: Remove code assuming PNTR_COMPARISON_TYPE is not
 4682 	defined, unconditionally defined in lisp.h.
 4683 
 4684 	* term.c: Do not include <termios.h>, systty.h does it.
 4685 
 4686 	* s/unixware.h (HAVE_TCATTR):
 4687 	* s/aix4-2.h (HAVE_TCATTR): Remove definitions, not needed.
 4688 	systty.h defines it when HAVE_TERMIOS is defined.
 4689 
 4690 2010-08-20  Eli Zaretskii  <eliz@gnu.org>
 4691 
 4692 	* dispnew.c (buffer_posn_from_coords): Fix last change for text
 4693 	terminals: add one-character offset for R2L lines.
 4694 
 4695 	* emacs.c <emacs_version>: Add a comment regarding
 4696 	msdos/mainmake.v2's dependency on the syntax of this declaration.
 4697 
 4698 2010-08-20  Eli Zaretskii  <eliz@gnu.org>
 4699 
 4700 	* dispnew.c (buffer_posn_from_coords): Fix calculation of buffer
 4701 	position for R2L lines by mirroring the pixel position wrt the
 4702 	text are box.  Improve commentary.
 4703 
 4704 2010-08-20  Andreas Schwab  <schwab@linux-m68k.org>
 4705 
 4706 	* image.c (imagemagick_clear_image): Remove debugging output.
 4707 
 4708 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 4709 
 4710 	* cmds.c (Vself_insert_face, Vself_insert_face_command): Remove.
 4711 	(Qpost_self_insert_hook, Vpost_self_insert_hook): New vars.
 4712 	(internal_self_insert): Run Qpost_self_insert_hook rather than handle
 4713 	self-insert-face.
 4714 	(syms_of_cmds): Initialize the new vars.
 4715 
 4716 2010-08-19  Jason Rumney  <jasonr@gnu.org>
 4717 
 4718 	* w32menu.c (set_frame_menubar): Remove call to undefined function.
 4719 
 4720 	* w32fns.c (w32_wnd_proc): Don't check context before initializing.
 4721 
 4722 2010-08-19  Jan Djärv  <jan.h.d@swipnet.se>
 4723 
 4724 	* nsselect.m (nxatoms_of_nsselect): Use "Selection" and "Secondary".
 4725 
 4726 2010-08-18  Eli Zaretskii  <eliz@gnu.org>
 4727 
 4728 	* xterm.c (x_draw_bar_cursor):
 4729 	* w32term.c (x_draw_bar_cursor): If the character under cursor is
 4730 	R2L, draw the bar cursor on its right rather than on its left.
 4731 
 4732 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
 4733 
 4734 	* eval.c (Fdefmacro): Only obey one declaration.
 4735 
 4736 	* casefiddle.c (casify_region): Setup gl_state.
 4737 
 4738 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
 4739 
 4740 	* nsterm.m (ns_define_frame_cursor): Call x_update_cursor (Bug#6868).
 4741 
 4742 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
 4743 
 4744 	* gtkutil.c (update_frame_tool_bar): Literal strings are const char*.
 4745 
 4746 2010-08-18  David De La Harpe Golden  <david@harpegolden.net>
 4747 
 4748 	* nsselect.m (QCLIPBOARD, NXPrimaryPboard): Define.
 4749 	(symbol_to_nsstring): Map QCLIPBOARD => NSGeneralPboard,
 4750 	QPRIMARY => NXPrimaryPboard.
 4751 	(ns_string_to_symbol): NSGeneralPboard => QCLIPBOARD,
 4752 	NXPrimaryPboard => QPRIMARY.
 4753 	(nxatoms_of_nsselect): NXPrimaryPboard = PrimarySelection,
 4754 	NXSecondaryPboard = SecondarySelection.
 4755 	(syms_of_nsselect): Intern QCLIPBOARD (Bug#6677).
 4756 
 4757 2010-08-18  Joakim Verona  <joakim@verona.se>
 4758 
 4759 	* image.c: Add support for ImageMagick.  When HAVE_IMAGEMAGICK is
 4760 	defined:
 4761 	(imagemagick_image_p): New function to test for ImageMagic image.
 4762 	(imagemagick_load): New function to load ImageMagick image.
 4763 	(imagemagick_load_image): New function, helper for imagemagick_load.
 4764 	(imagemagick-types): New function.
 4765 	(Qimagemagick): New Lisp_object.
 4766 	(imagemagick-render-type): New variable, decides which renderer to use.
 4767 
 4768 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
 4769 
 4770 	* gtkutil.c (update_frame_tool_bar): Don't assume TOOL_BAR_ITEM_LABEL
 4771 	is a string.
 4772 
 4773 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
 4774 
 4775 	* nsfns.m (ns_frame_parm_handlers): Add a slot for the
 4776 	x_set_tool_bar_position handler.
 4777 
 4778 2010-08-17  Eli Zaretskii  <eliz@gnu.org>
 4779 
 4780 	* w32fns.c <w32_frame_parm_handlers>: Add a slot for the
 4781 	x_set_tool_bar_position handler, needed to support changes from
 4782 	2010-07-29T16:49:59Z!jan.h.d@swipnet.se for positioning the tool bar.  (Bug#6796)
 4783 
 4784 2010-08-16  Jan Djärv  <jan.h.d@swipnet.se>
 4785 
 4786 	* nsselect.m: Include keyboard.h for QPRIMARY, remove its
 4787 	declaration (Bug#6863).
 4788 	(syms_of_nsselect): Don't intern QPRIMARY.
 4789 
 4790 	* xselect.c: Remove declaration of QPRIMARY (Bug#6864).
 4791 
 4792 	* keyboard.h (QPRIMARY): Declare (Bug#6864).
 4793 
 4794 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
 4795 
 4796 	* keyboard.c (command_loop_1): Avoid setting selection twice,
 4797 	since it's done in deactivate-mark as well.
 4798 	(Vselect_active_regions): Change default to t.  Replace `lazy'
 4799 	with non-default value `only', meaning only set PRIMARY for
 4800 	temporarily active regions.
 4801 
 4802 	* insdel.c (prepare_to_modify_buffer): Handle `only' value of
 4803 	select-active-regions.
 4804 
 4805 2010-08-15  Jan Djärv  <jan.h.d@swipnet.se>
 4806 
 4807 	* keyboard.c (parse_tool_bar_item): Put in a bad label if :label
 4808 	isn't a string.
 4809 
 4810 2010-08-15  Andreas Schwab  <schwab@linux-m68k.org>
 4811 
 4812 	* keyboard.c (parse_tool_bar_item): Avoid excessive use of strlen.
 4813 
 4814 2010-08-15  Jan Djärv  <jan.h.d@swipnet.se>
 4815 
 4816 	* keyboard.c (parse_tool_bar_item): malloc buf.
 4817 	Set TOOL_BAR_ITEM_LABEL to empty string if not set to
 4818 	new_lbl (Bug#6855).
 4819 
 4820 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
 4821 
 4822 	* xterm.c (x_draw_stretch_glyph_string):
 4823 	* w32term.c (x_draw_stretch_glyph_string): In R2L rows, display
 4824 	the cursor on the right edge of the stretch glyph.
 4825 
 4826 	* xdisp.c (window_box_right_offset, window_box_right):
 4827 	Fix commentary.
 4828 
 4829 	* xdisp.c (Fcurrent_bidi_paragraph_direction): Fix paragraph
 4830 	direction when point is inside a run of whitespace characters.
 4831 
 4832 	* bidi.c (bidi_at_paragraph_end): Remove obsolete comment.
 4833 
 4834 2010-08-14  Jason Rumney  <jasonr@gnu.org>
 4835 
 4836 	* keyboard.c (lispy_function_keys): Do not define VK_PACKET (bug#4836)
 4837 
 4838 2010-08-14  Chong Yidong  <cyd@stupidchicken.com>
 4839 
 4840 	* fns.c (Fmake_hash_table): Doc fix (Bug#6851).
 4841 
 4842 2010-08-13  Jason Rumney  <jasonr@gnu.org>
 4843 
 4844 	* w32menu.c (simple_dialog_show): Use Unicode message box if available.
 4845 	(MessageBoxW_Proc): New function typedef.
 4846 	(unicode-message-box): New function pointer.
 4847 	(globals_of_w32menu): Import it from user32.dll.  (Bug#5629)
 4848 
 4849 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
 4850 
 4851 	* frame.h (Qtool_bar_position): Declare.
 4852 
 4853 	* xfns.c (Fx_create_frame): Call x_default_parameter for
 4854 	Qtool_bar_position.
 4855 
 4856 2010-08-13  Eli Zaretskii  <eliz@gnu.org>
 4857 
 4858 	* unexcoff.c: Remove the parts used when "emacs" is not defined.
 4859 	(report_error, report_error_1): Ditto.
 4860 	(write_segment): Remove "#if 0" unused code.
 4861 	(make_hdr): Remove code that was "#ifndef NO_REMAP" before
 4862 	NO_REMAP was removed (in 2010-07-29T03:25:08Z!dann@ics.uci.edu).
 4863 	(start_of_text): Remove unused function (was used only if NO_REMAP
 4864 	was NOT defined).
 4865 
 4866 	* msdos.c (IT_set_face): Fix format string to match argument
 4867 	types.
 4868 	(IT_write_glyphs, IT_note_mode_line_highlight)
 4869 	(IT_set_frame_parameters): Remove unused variables.
 4870 	(x_set_menu_bar_lines): Declare set_menu_bar_lines.
 4871 	(IT_set_terminal_modes): Disambiguate expression in if clause.
 4872 	(Fmsdos_remember_default_colors): Return Qnil.
 4873 	(IT_set_frame_parameters): Add parens to disambiguate boolean
 4874 	expression for logging the cursor type to termscript.
 4875 	(keyboard_layout_list, keypad_translate_map)
 4876 	(grey_key_translate_map): Add braces in inner initializers.
 4877 	(dos_rawgetc): Add parens in condition for mouse-3 button-press.
 4878 	(dos_rawgetc): Remove unused label.
 4879 	(XMenuActivate): Add braces to remove ambiguous `else'.
 4880 	(dos_ttraw): Always return a value.
 4881 	(spawnve): Declare.
 4882 	(run_msdos_command): Cast 3rd arg of spawnve to "char **".
 4883 
 4884 	* dosfns.h (x_set_title): Declare.
 4885 
 4886 	* w16select.c (Fw16_set_clipboard_data, Fw16_get_clipboard_data):
 4887 	Remove unused variables.
 4888 
 4889 	* dosfns.c (Fint86, Fdos_memget, Fdos_memput): Remove unused
 4890 	variables.
 4891 	(init_dosfns): Declare get_lim_data.
 4892 	(system_process_attributes): Declare Fget_internal_run_time.
 4893 
 4894 	* xmenu.c (xmenu_show) [!USE_X_TOOLKIT && !USE_GTK]: Fix argument
 4895 	list to be consistent with menu.h.
 4896 
 4897 	* w32menu.c (add_menu_item, name_is_separator): Shut up compiler
 4898 	warnings due to mixing of "char *" and "const char *".
 4899 
 4900 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 4901 
 4902 	Introduce a new comment style "c" flag.
 4903 	* syntax.c (SYNTAX_FLAGS_COMMENT_STYLEB)
 4904 	(SYNTAX_FLAGS_COMMENT_STYLEC): New macros.
 4905 	(SYNTAX_FLAGS_COMMENT_STYLE): Use them, add an argument.
 4906 	(syntax_prefix_flag_p): New function.
 4907 	(Fstring_to_syntax): Understand new "c" flag.
 4908 	(Finternal_describe_syntax_value): Recognize new flag; use the
 4909 	SYNTAX_FLAGS_* macros.
 4910 	(scan_sexps_forward, Fparse_partial_sexp): Change representation of
 4911 	comment style to accommodate the new styles.
 4912 	(back_comment, forw_comment, Fforward_comment, scan_lists)
 4913 	(scan_sexps_forward): Update code to obey the new comment style flag.
 4914 
 4915 	* syntax.h: Move SYNTAX_FLAGS_FOO() macros to syntax.c.
 4916 
 4917 	* casefiddle.c (casify_region): Use the new syntax_prefix_flag_p.
 4918 
 4919 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
 4920 
 4921 	* xfns.c (x_defined_color): If USE_GTK, call xg_check_special_colors
 4922 	first.
 4923 	(Fx_hide_tip): Check FRAME_LIVE_P (f) before calling xg_hide_tooltip.
 4924 
 4925 	* gtkutil.h (xg_check_special_colors): Declare.
 4926 
 4927 	* gtkutil.c (xg_check_special_colors, style_changed_cb): New functions.
 4928 	(xg_create_frame_widgets): Connect theme name changes to
 4929 	style_changed_cb.
 4930 
 4931 	* xterm.c (emacs_class): New char[] for EMACS_CLASS.
 4932 	(xim_open_dpy, xim_initialize, xim_close_dpy): Use emacs_class.
 4933 	(x_term_init): Use char[] display_opt and name_opt instead of
 4934 	string literal.  file is const char*.
 4935 
 4936 	* xsmfns.c (NOSPLASH_OPT): Change to char[].
 4937 	(smc_save_yourself_CB): Do xstrdup on all ->type and ->name for
 4938 	props.  Free them at the end.
 4939 
 4940 	* xselect.c (Fx_get_atom_name): Use char empty[] instead of literal "".
 4941 
 4942 	* xrdb.c (get_system_app): Make path const and use char *p for
 4943 	non-const char.
 4944 
 4945 	* xmenu.c (Fx_popup_dialog): error_name is const char*.
 4946 	(xmenu_show): error parameter is const char **.  pane_string is const
 4947 	char *.
 4948 	(button_names): Is const char *.
 4949 	(xdialog_show): error_name and pane_string is const.
 4950 
 4951 	* process.h (synch_process_death): Is const char*.
 4952 
 4953 	* w32menu.c (w32_menu_show):
 4954 	* nsmenu.m (ns_menu_show): error parameter is const char **.
 4955 
 4956 	* menu.h (w32_menu_show, ns_menu_show, xmenu_show): error parameter
 4957 	is const char **.
 4958 
 4959 	* menu.c (Fx_popup_menu): error_name is const.
 4960 
 4961 	* keyboard.h (_widget_value): Add defined USE_GTK.  Replace Boolean
 4962 	with unsigned char and XtPointer with void *.
 4963 
 4964 	* gtkutil.h: Replace widget_value with struct _widget_value.
 4965 	(enum button_type, struct _widget_value): Remove and use the one from
 4966 	keyboard.h.
 4967 
 4968 	* gtkutil.c (get_utf8_string): Always return an allocated string.
 4969 	Parameter is const.
 4970 	(create_dialog, xg_create_one_menuitem, create_menus)
 4971 	(xg_item_label_same_p, xg_update_menu_item): Free result from
 4972 	get_utf8_string.
 4973 	(xg_separator_p, xg_item_label_same_p): label is const.
 4974 
 4975 	* font.h (font_open_by_name): Make name const.
 4976 
 4977 	* font.c (font_open_by_name): Make name const.
 4978 
 4979 	* floatfns.c (matherr): Use a const char* variable for x->name.
 4980 
 4981 	* emacs.c (main): Pass char[] to putenv instead of literal.
 4982 
 4983 	* callproc.c (synch_process_death): Make const.
 4984 	(Fcall_process): Make signame const.
 4985 
 4986 	* nsterm.h (parseKeyEquiv, addSubmenuWithTitle)
 4987 	(addDisplayItemWithImage): Use const char*.
 4988 
 4989 	* nsmenu.m (parseKeyEquiv, addSubmenuWithTitle)
 4990 	(addDisplayItemWithImage, update_frame_tool_bar): Use const char*.
 4991 
 4992 	* nsfont.m (ns_descriptor_to_entity): Use const char*.
 4993 
 4994 	* keyboard.h (_widget_value): name, value and key are const char*.
 4995 
 4996 	* unexmacosx.c (unexec_error): Use const char *.
 4997 
 4998 2010-08-09  Dan Nicolaescu  <dann@ics.uci.edu>
 4999 
 5000 	* font.h (font_parse_xlfd, font_parse_fcname, font_unparse_fcname)
 5001 	(font_parse_name, font_open_by_name):
 5002 	* font.c (font_parse_xlfd, font_parse_fcname, font_unparse_fcname)
 5003 	(font_parse_name, font_open_by_name): Remove const.
 5004 
 5005 2010-08-09  Andreas Schwab  <schwab@linux-m68k.org>
 5006 
 5007 	Use autoconf determined WORDS_BIGENDIAN instead of hardcoded
 5008 	definition.
 5009 
 5010 	* m/alpha.h: Don't define/undef WORDS_BIG_ENDIAN.
 5011 	* m/amdx86-64.h: Likewise.
 5012 	* m/arm.h: Likewise.
 5013 	* m/hp800.h: Likewise.
 5014 	* m/ia64.h: Likewise.
 5015 	* m/ibmrs6000.h: Likewise.
 5016 	* m/ibms390.h: Likewise.
 5017 	* m/intel386.h: Likewise.
 5018 	* m/iris4d.h: Likewise.
 5019 	* m/m68k.h: Likewise.
 5020 	* m/macppc.h: Likewise.
 5021 	* m/mips.h: Likewise.
 5022 	* m/sh3.h: Likewise.
 5023 	* m/sparc.h: Likewise.
 5024 	* m/template.h: Likewise.
 5025 	* m/vax.h: Likewise.
 5026 	* m/xtensa.h: Likewise.
 5027 	* fringe.c (init_fringe_bitmap): Test WORDS_BIGENDIAN instead of
 5028 	WORDS_BIG_ENDIAN.
 5029 	* lisp.h: Likewise.
 5030 	* md5.c: Likewise.
 5031 	* sound.c (le2hl, le2hs, be2hl, be2hs): Likewise.
 5032 
 5033 2010-08-09  Dan Nicolaescu  <dann@ics.uci.edu>
 5034 
 5035 	Use const char* instead of char*.
 5036 	Reduce the number of warnings with -Wwrite-strings.
 5037 	* xrdb.c (get_environ_db, get_system_name):
 5038 	* unexelf.c (find_section):
 5039 	* term.c (string_cost, string_cost_one_line, per_line_cost)
 5040 	(get_named_tty, init_tty):
 5041 	* sysdep.c (sys_subshell):
 5042 	* sound.c (sound_perror, sound_warning, vox_open, vox_init)
 5043 	(alsa_sound_perror, alsa_open, alsa_configure, alsa_init):
 5044 	* search.c (Freplace_match):
 5045 	* process.c (Fmake_network_process, send_process, init_process):
 5046 	* lread.c (Fload, init_lread):
 5047 	* keymap.c (Fdescribe_buffer_bindings, describe_map_tree):
 5048 	* keyboard.c (parse_tool_bar_item, struct event_head):
 5049 	* gtkutil.h (xg_get_font_name):
 5050 	* gtkutil.c (get_dialog_title, create_dialog, xg_get_font_name)
 5051 	(make_widget_for_menu_item, make_menu_item, create_menus)
 5052 	(xg_make_tool_item):
 5053 	* font.c (parse_matrix, font_parse_name):
 5054 	* floatfns.c (rounding_driver, float_error_fn_name):
 5055 	* filelock.c (get_boot_time_1, lock_file_1):
 5056 	* fileio.c (barf_or_query_if_file_exists, check_writable):
 5057 	* editfns.c (get_system_name, get_operating_system_release)
 5058 	(Fencode_time, Fset_time_zone_rule):
 5059 	* dispextern.h (string_cost, per_line_cost, get_named_tty, init_tty):
 5060 	* buffer.c (defvar_per_buffer): Use const.
 5061 
 5062 2010-08-08  Kenichi Handa  <handa@m17n.org>
 5063 
 5064 	* charset.c: Include <stdlib.h>.
 5065 	(struct charset_sort_data): New struct.
 5066 	(charset_compare): New function.
 5067 	(Fsort_charsets): New function.
 5068 	(syms_of_charset): Declare Fsort_charsets as a Lisp function.
 5069 
 5070 	* coding.c (decode_coding_iso_2022): Fix checking of dimension
 5071 	number in CTEXT extended segment.
 5072 
 5073 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
 5074 
 5075 	* w32fns.c (syms_of_w32fns) <x-max-tooltip-size>: Fix typo in docstring.
 5076 	* xfns.c (syms_of_xfns) <x-max-tooltip-size>: Reflow docstring.
 5077 
 5078 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
 5079 
 5080 	* fns.c (Fsubstring_no_properties, Fnthcdr, Ffeaturep)
 5081 	(Fhash_table_size): Fix typos in docstrings.
 5082 	(Fmake_hash_table): Doc fix.
 5083 
 5084 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
 5085 
 5086 	* minibuf.c (syms_of_minibuf) <read-buffer-function>:
 5087 	Doc fix (bug#5625).
 5088 
 5089 2010-08-08  Ken Brown  <kbrown@cornell.edu>
 5090 
 5091 	* dired.c (DIRENTRY_NONEMPTY) [cygwin]: Use d_ino instead of
 5092 	the MSDOS definition.
 5093 
 5094 2010-08-08  Dan Nicolaescu  <dann@ics.uci.edu>
 5095 
 5096 	Use const char* instead of char*.
 5097 	* xterm.c (x_create_toolkit_scroll_bar):
 5098 	* xfont.c (xfont_list_pattern):
 5099 	* xfns.c (x_default_scroll_bar_color_parameter)
 5100 	(xic_create_fontsetname, x_default_font_parameter)
 5101 	(x_screen_planes):
 5102 	* xdisp.c (c_string_pos, number_of_chars, reseat_to_string)
 5103 	(store_mode_line_string, decode_mode_spec, display_string):
 5104 	* menu.c (digest_single_submenu):
 5105 	* keymap.h (initial_define_key, initial_define_lispy_key):
 5106 	* keymap.c (initial_define_key, initial_define_lispy_key):
 5107 	* image.c (image_error, image_keyword):
 5108 	* gtkutil.h (xg_create_widget, xg_create_scroll_bar):
 5109 	* gtkutil.c (xg_create_widget, xg_create_scroll_bar):
 5110 	* ftfont.c (struct fc_charset_table, ftfont_spec_pattern)
 5111 	(ftfont_list, ftfont_match):
 5112 	* frame.c (frame_parm_table):
 5113 	* font.h (font_intern_prop, font_parse_xlfd, font_parse_fcname)
 5114 	(font_unparse_fcname, font_unparse_fcname, font_open_by_name)
 5115 	(font_add_log, font_deferred_log):
 5116 	* font.c (font_intern_prop, font_parse_xlfd, font_parse_fcname)
 5117 	(font_unparse_fcname, font_unparse_fcname, font_open_by_name)
 5118 	(font_add_log, font_deferred_log):
 5119 	* emacs.c (argmatch):
 5120 	* dispextern.h (struct it):
 5121 	* coding.c (ENCODE_DESIGNATION):
 5122 	* charset.c (define_charset_internal): Use const.
 5123 
 5124 	* s/freebsd.h (DECLARE_GETPWUID_WITH_UID_T): Remove, unused.
 5125 
 5126 	* xrdb.c: Remove include guard.
 5127 	Remove DECLARE_GETPWUID_WITH_UID_T conditional it had no effect.
 5128 	Remove #if 0 code.  Replace malloc->xmalloc, free->xfree,
 5129 	realloc->xrealloc instead of using #defines.
 5130 
 5131 2010-08-08  Eli Zaretskii  <eliz@gnu.org>
 5132 
 5133 	* cmds.c (Fforward_line, Fbeginning_of_line, Fend_of_line):
 5134 	* editfns.c (Fline_beginning_position, Fline_end_position):
 5135 	State in the doc strings that start and end of line are in the
 5136 	logical order.
 5137 
 5138 	* xdisp.c (display_line): Move the handling of overlay arrow after
 5139 	the call to find_row_edges.  (Bug#6699)
 5140 
 5141 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
 5142 
 5143 	* keyboard.c (command_loop_1):
 5144 	* insdel.c (prepare_to_modify_buffer): Don't call validate_region.
 5145 
 5146 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
 5147 
 5148 	* insdel.c (prepare_to_modify_buffer): Save active region text to
 5149 	Vsaved_region_selection.
 5150 
 5151 	* xselect.c (QPRIMARY): Move to keyboard.c.
 5152 
 5153 	* keyboard.c (Vselect_active_regions): Move from simple.el.
 5154 	(Vsaved_region_selection, Qx_set_selection, QPRIMARY, Qlazy): New vars.
 5155 	(command_loop_1): Set window selection prior to deactivating the mark.
 5156 
 5157 2010-08-07  Juanma Barranquero  <lekktu@gmail.com>
 5158 
 5159 	* alloc.c (lisp_malloc):
 5160 	* buffer.c (set_buffer_internal, set_buffer_internal_1):
 5161 	* charset.h (emacs_mule_charset):
 5162 	* dispextern.h (inhibit_free_realized_faces, redraw_frame)
 5163 	(redraw_garbaged_frames, scroll_cost, update_frame, scrolling)
 5164 	(bitch_at_user):
 5165 	* lisp.h (Fcheck_coding_system, Fget_text_property)
 5166 	(Qfunction, Qcompletion_ignore_case, QCwidth, QCsize):
 5167 	Remove duplicate declarations.
 5168 
 5169 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
 5170 
 5171 	* process.c: Simplify include logic.
 5172 
 5173 	* keyboard.h (quit_char): Add declaration.
 5174 	* process.h (QCport, QCspeed, QCprocess, QCbytesize, QCstopbits)
 5175 	(QCparity, Qodd, Qeven, QCflowcontrol, Qhw, Qsw, QCsummary):
 5176 	Add declarations.
 5177 	* sysdep.c:
 5178 	* w32.c: Remove the above declarations.
 5179 
 5180 	Remove extern declarations in .c files, .h files have them.
 5181 	* xterm.c:
 5182 	* xdisp.c:
 5183 	* msdos.c:
 5184 	* image.c:
 5185 	* gtkutil.c:
 5186 	* fileio.c:
 5187 	* eval.c: Remove declarations.
 5188 
 5189 	* frame.c (frame_params): Make const.
 5190 
 5191 	* lisp.h (fatal_error_signal, emacs_root_dir): Add declaration.
 5192 
 5193 	* emacs.c (emacs_copyright, emacs_version): Make static.
 5194 	(Vinitial_window_system, Vauto_save_list_file_name)
 5195 	(Vinhibit_redisplay): Remove declarations.
 5196 	(main): Remove HAVE_SHM code, unused.  Remove _I386 conditional
 5197 	for AIX.
 5198 
 5199 	Use const for some arrays and functions.
 5200 	* xterm.h (xg_set_icon_from_xpm_data):
 5201 	* xfns.c (xg_set_icon_from_xpm_data):
 5202 	* term.c (fkeys):
 5203 	* keyboard.c (lispy_accent_keys, lispy_function_keys)
 5204 	(lispy_multimedia_keys, lispy_kana_keys, iso_lispy_function_keys)
 5205 	(lispy_drag_n_drop_names, scroll_bar_parts, modify_event_symbol)
 5206 	(frame.c frame_parms):
 5207 	* emacs-icon.h (gnu_xpm_bits):
 5208 	* callint.c (callint_argfuns): Use const.
 5209 
 5210 2010-08-06  Jan Djärv  <jan.h.d@swipnet.se>
 5211 
 5212 	* sysdep.c: Move include term.h last of includes (Bug#6812).
 5213 
 5214 2010-08-06  Eli Zaretskii  <eliz@gnu.org>
 5215 
 5216 	* dispnew.c (realloc_glyph_pool): Zero out newly allocated glyphs.
 5217 
 5218 	* msdos.c (IT_display_cursor): Log cursor position on termscript.
 5219 
 5220 	* .gdbinit (pgx): Display the avoid_cursor_p flag.
 5221 
 5222 2010-08-06  Juanma Barranquero  <lekktu@gmail.com>
 5223 
 5224 	* makefile.w32-in ($(BLD)/xdisp.$(O)): Update dependencies.
 5225 
 5226 2010-08-06  Jan Djärv  <jan.h.d@swipnet.se>
 5227 
 5228 	* xterm.h (x_get_focus_frame): Declare.
 5229 
 5230 	* keyboard.h (poll_for_input_1): Unconditionally declare.
 5231 
 5232 	* nsterm.h (x_set_menu_bar_lines): Declare.
 5233 
 5234 	* window.c: Don't include menu.h, it depends on lots of other .h-files.
 5235 
 5236 	* xfaces.c (x_create_gc, x_free_gc): Convert to ANSI C prototypes.
 5237 
 5238 	* window.c: Include menu.h.
 5239 
 5240 	* unexmacosx.c (print_region_list, print_regions)
 5241 	(build_region_list, find_emacs_zone_regions)
 5242 	(unexec_regions_merge, read_load_commands, dump_it)
 5243 	(unexec_init_emacs_zone): Convert to ANSI C prototypes.
 5244 
 5245 	* term.c: Check HAVE_SYS_IOCTL_H.
 5246 
 5247 	* sysdep.c: Check HAVE_TERM_H.
 5248 
 5249 	* process.c: Check HAVE_UTIL_H.  Include nsterm.h if HAVE_NS.
 5250 
 5251 	* nsterm.m (ns_init_paths, ns_alloc_autorelease_pool)
 5252 	(ns_ring_bell, ns_defined_color, hide_hourglass)
 5253 	(x_display_pixel_height, x_display_pixel_width, syms_of_nsterm):
 5254 	Convert to ANSI C prototypes.
 5255 	(x_set_window_size, ns_draw_fringe_bitmap, judge): Move declarations
 5256 	before code.
 5257 
 5258 	* nsterm.h: Include sysselect.h.
 5259 	(x_sync, x_get_focus_frame, x_set_mouse_position)
 5260 	(x_set_mouse_pixel_position, x_make_frame_visible)
 5261 	(x_make_frame_invisible, x_iconify_frame, x_char_width, x_char_height)
 5262 	(x_pixel_width, x_pixel_height, x_set_frame_alpha, x_set_tool_bar_lines)
 5263 	(x_activate_menubar, free_frame_menubar, ns_init_paths, ns_select)
 5264 	(syms_of_nsterm, syms_of_nsfns, syms_of_nsmenu, syms_of_nsselect):
 5265 	Declare.
 5266 
 5267 	* nsmenu.m (popup_activated, name_is_separator)
 5268 	(syms_of_nsmenu): Convert to ANSI C prototypes.
 5269 	(runMenuAt): Prototypes and move declarations before code.
 5270 
 5271 	* nsimage.m (ns_load_image): Move NSTRACE after declarations.
 5272 
 5273 	* nsfont.m (ns_fallback_entity, syms_of_nsfont): Convert to ANSI C
 5274 	prototypes.
 5275 
 5276 	* nsfns.m (have_menus_p, ns_display_info_for_name)
 5277 	(x_set_cursor_type, ns_appkit_version_str)
 5278 	(ns_appkit_version_int, ns_do_applescript)
 5279 	(x_set_scroll_bar_default_width, x_sync, compute_tip_xy)
 5280 	(syms_of_nsfns): Convert to ANSI C prototypes.
 5281 
 5282 	* menu.h (x_set_menu_bar_line): Declare.
 5283 	(free_menubar_widget_value_tree et.al): Add HAVE_NS for these functions.
 5284 
 5285 	* lisp.h (fmod_float): Declare.
 5286 
 5287 	* image.c (xpm_scan, xpm_make_color_table_v)
 5288 	(xpm_put_color_table_v, xpm_get_color_table_v)
 5289 	(xpm_make_color_table_h, xpm_put_color_table_h)
 5290 	(xpm_get_color_table_h, xpm_str_to_color_key, xpm_load_image)
 5291 	(xpm_load): Convert to ANSI C prototypes.
 5292 
 5293 	* emacs.c: Include nsterm.h if HAVE_NS.
 5294 
 5295 	* bidi.c (bidi_dump_cached_states): Fix fprintf warning.
 5296 
 5297 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
 5298 
 5299 	* process.c: Remove HAVE_SOCKETS #ifdefs inside #ifdef
 5300 	subprocesses, only MSDOS does not define HAVE_SOCKETS.
 5301 	(socket_options): Use const char* for name.
 5302 
 5303 2010-08-06  Juanma Barranquero  <lekktu@gmail.com>
 5304 
 5305 	Fix changes in 2010-08-05T23:15:24Z!dann@ics.uci.edu..2010-08-05T23:34:12Z!dann@ics.uci.edu for Windows build.
 5306 
 5307 	* xmenu.c [USE_X_TOOLKIT || USE_GTK]:
 5308 	Don't declare xmalloc_widget_value and digest_single_submenu.
 5309 
 5310 	* w32font.c (Qlatin): Remove declaration.
 5311 
 5312 	* menu.h (xmalloc_widget_value, digest_single_submenu): Declare.
 5313 
 5314 	* dired.c (compile_pattern): Restore declaration.
 5315 
 5316 2010-08-05  Dan Nicolaescu  <dann@ics.uci.edu>
 5317 
 5318 	Remove extern declarations in .c files, .h files have them.
 5319 	* data.c:
 5320 	* dired.c:
 5321 	* editfns.c:
 5322 	* filelock.c:
 5323 	* fns.c:
 5324 	* font.c:
 5325 	* fontset.c:
 5326 	* frame.c:
 5327 	* fringe.c:
 5328 	* ftfont.c:
 5329 	* gtkutil.c:
 5330 	* indent.c:
 5331 	* keyboard.c:
 5332 	* keymap.c:
 5333 	* lread.c:
 5334 	* menu.c:
 5335 	* print.c:
 5336 	* search.c:
 5337 	* sound.c:
 5338 	* window.c:
 5339 	* xdisp.c:
 5340 	* xfaces.c:
 5341 	* xfns.c:
 5342 	* xfont.c:
 5343 	* xftfont.c:
 5344 	* xmenu.c:
 5345 	* xterm.c: Remove declarations.
 5346 
 5347 	Cleanup syssignal.h.
 5348 	* syssignal.h (sighold, sigrelse, RETSIGTYPE): Remove, unused.
 5349 	(main_thread): Move down to remove #ifdef.
 5350 	(SIGMASKTYPE, SIGEMPTYMASK, SIGFULLMASK, sigmask, sigunblock):
 5351 	Remove conditional definition following unconditional ones.
 5352 
 5353 	* lisp.h: Remove HAVE_SHM code, unused.
 5354 	(QCmap, QCrehash_size, QCrehash_threshold, QCsize, QCtest)
 5355 	(QCweakness, Qabove_handle, Qbackquote, Qbar, Qbelow_handle)
 5356 	(Qborder, Qbottom, Qbox, Qcircular_list, Qcomma, Qcomma_at)
 5357 	(Qcomma_dot, Qcursor, Qdefault, Qdown, Qend_scroll, Qeq, Qeql)
 5358 	(Qequal, Qfile_exists_p, Qfont_param, Qfringe, Qfunction)
 5359 	(Qfunction_documentation, Qhandle, Qhbar, Qheader_line, Qhollow)
 5360 	(Qidentity, Qleft_margin, Qmenu, Qmenu_bar_update_hook)
 5361 	(Qmode_line_inactive, Qmouse, Qoverriding_local_map)
 5362 	(Qoverriding_terminal_local_map, Qratio, Qregion, Qright_margin)
 5363 	(Qscroll_bar, Qtool_bar, Qtop, Qup, Qvertical_border, Qwhen)
 5364 	(Qwindow_scroll_functions, Vafter_load_alist)
 5365 	(Vauto_save_list_file_name, Vface_alternative_font_family_alist)
 5366 	(Vface_alternative_font_registry_alist, Vface_font_rescale_alist)
 5367 	(Vface_ignored_fonts, Vinhibit_redisplay, Vminibuffer_list)
 5368 	(Vprint_length, Vprint_level, Vscalable_fonts_allowed)
 5369 	(Vshell_file_name, Vsystem_name, Vwindow_scroll_functions)
 5370 	(Vwindow_system_version, Vx_no_window_manager, initial_argc)
 5371 	(initial_argv, last_nonmenu_event, load_in_progress)
 5372 	(noninteractive_need_newline, scroll_margin): Add declarations.
 5373 
 5374 	* keyboard.h (xmalloc_widget_value, digest_single_submenu):
 5375 	Remove declarations, menu.h has them.
 5376 	(QCbutton, QCtoggle, QCradio, QClabel, extra_keyboard_modifiers)
 5377 	(Vinput_method_function, Qinput_method_function)
 5378 	(Qevent_symbol_element_mask, last_event_timestamp):
 5379 	* dispextern.h (Voverflow_newline_into_fringe):
 5380 	* font.h (QCantialias, Qp, syms_of_ftfont, syms_of_xfns)
 5381 	(syms_of_ftxfont, syms_of_xftfont, syms_of_bdffont)
 5382 	(syms_of_w32font, syms_of_nsfont):
 5383 	* fontset.h (find_font_encoding, Qlatin):
 5384 	* frame.h (Qtooltip, Qrun_hook_with_args, Vmenu_bar_mode)
 5385 	(Vtool_bar_mode, set_frame_menubar):
 5386 	* ftfont.h (ftfont_font_format, ftfont_get_fc_charset):
 5387 	* xterm.h (Qx_gtk_map_stock):
 5388 	* keymap.h (meta_prefix_char): Add declarations.
 5389 
 5390 	* term.c: Remove dead code.
 5391 
 5392 	Fix emacs -Q -f server-start & emacsclient -t on GNU/Linux.
 5393 	* term.c (dissociate_if_controlling_tty): Use USG5 instead of
 5394 	USG.  This is equivalent to defined (USG) && !defined (BSD_PGRPS),
 5395 	which is what was there before BSD_PGRPS was removed.
 5396 
 5397 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
 5398 
 5399 	* deps.mk (unexcoff.o): Rename unexec.[co] => unexcoff.[co].
 5400 
 5401 	* unexcoff.c: Renamed from unexec.c.
 5402 
 5403 2010-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
 5404 
 5405 	* sysdep.c (child_setup_tty): Comment-out left-over non-ICANON code.
 5406 
 5407 2010-08-03  Johan Bockgård  <bojohan@gnu.org>
 5408 
 5409 	* data.c (Flocal_variable_p): Handle variable aliases correctly.
 5410 	(Bug#6744)
 5411 
 5412 2010-08-02  Jan Djärv  <jan.h.d@swipnet.se>
 5413 
 5414 	* xterm.c (x_create_toolkit_scroll_bar): Only set XtNbeNiceToColormap
 5415 	to TRUE if depth of screen is < 16.
 5416 
 5417 	* gtkutil.c (hierarchy_ch_cb, qttip_cb): Do not define unless
 5418 	USE_GTK_TOOLTIP.
 5419 	(xg_prepare_tooltip): Return 0 unless USE_GTK_TOOLTIP.
 5420 	(xg_show_tooltip, xg_hide_tooltip): Do nothing unless USE_GTK_TOOLTIP.
 5421 	(xg_create_frame_widgets): Surround tooltip-related code with ifdef
 5422 	USE_GTK_TOOLTIP.
 5423 	(xg_free_frame_widgets): Don't delete ttip_* unless USE_GTK_TOOLTIP.
 5424 
 5425 	* xterm.h (USE_GTK_TOOLTIP): New define.
 5426 	(struct x_output): Put ttip_* inside ifdef USE_GTK_TOOLTIP.
 5427 
 5428 	* sysdep.c (child_setup_tty): Enable ICANON in lflags and set VEOF
 5429 	to Control-D (Bug#6771).
 5430 
 5431 2010-08-02  Juanma Barranquero  <lekktu@gmail.com>
 5432 
 5433 	* editfns.c (Fregion_beginning, Fregion_end): Doc fixes (bug#6493).
 5434 	Wording by Drew Adams <drew.adams@oracle.com>.
 5435 
 5436 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
 5437 
 5438 	* xterm.h (struct x_output): Add ttip_widget, ttip_window and
 5439 	ttip_lbl.
 5440 
 5441 	* xterm.c (x_clear_frame): Check FRAME_GTK_WIDGET (f) before
 5442 	calling gtk_widget_queue_draw.
 5443 	(x_free_frame_resources): Call xg_free_frame_widgets.
 5444 
 5445 	* xfns.c (x_gtk_use_system_tooltips): New variable.
 5446 	(Fx_show_tip): If USE_GTK and x_gtk_use_system_tooltips, call
 5447 	new gtkutil tooltip functions to show the tooltip.
 5448 	(Fx_hide_tip): Call xg_hide_tooltip.
 5449 	(syms_of_xfns): Defvar x-gtk-use-system-tooltips.
 5450 
 5451 	* gtkutil.h (xg_free_frame_widgets, xg_prepare_tooltip)
 5452 	(xg_show_tooltip, xg_hide_tooltip): Declare.
 5453 
 5454 	* gtkutil.c (hierarchy_ch_cb, qttip_cb, xg_prepare_tooltip)
 5455 	(xg_show_tooltip, xg_hide_tooltip, xg_free_frame_widgets):
 5456 	New functions.
 5457 	(xg_create_frame_widgets): Set ttip_* to 0.  Set a dummy tooltip
 5458 	text so qttip_cb is called.  Connect query-tooltip to qttip_cb.
 5459 	Remove code that is commented out.
 5460 
 5461 2010-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
 5462 
 5463 	* keymap.c (Fdefine_key, Flookup_key): Say what event is invalid.
 5464 
 5465 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
 5466 
 5467 	* xselect.c (x_own_selection): Use list4.
 5468 
 5469 2010-07-30  Dan Nicolaescu  <dann@ics.uci.edu>
 5470 
 5471 	* buffer.c (Qwindow): Do not define, already defined in data.c.
 5472 	(syms_of_buffer): Do not intern and staticpro Qwindow.  (Bug#6760)
 5473 
 5474 2010-07-29  Chad Brown  <yandros@mit.edu>
 5475 
 5476 	Replace tests for SYSV_SYSTEM_DIR with HAVE_DIRENT_H, set via autoconf.
 5477 	* dired.c, sysdep.c: Test HAVE_DIRENT_H instead of SYSV_SYSTEM_DIR.
 5478 	* config.in: Undef HAVE_DIRENT_H.
 5479 	* s/aix4-2.h, s/bsd-common.h, s/cygwin.h, s/gnu-linux.h,
 5480 	* s/msdos.h, s/usg5-4.h: Don't define SYSV_SYSTEM_DIR.
 5481 
 5482 2010-07-29  Dan Nicolaescu  <dann@ics.uci.edu>
 5483 
 5484 	Rename s/usg5-4.h -> s/usg5-4-common.h.
 5485 	* s/usg5-4.h: Rename file to ...
 5486 	* s/usg5-4-common.h: ... this for consistency with what we do for BSD.
 5487 	* s/unixware.h:
 5488 	* s/sol2-6.h:
 5489 	* s/irix6-5.h: Update includes accordingly.
 5490 
 5491 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
 5492 
 5493 	* xfns.c (x_set_tool_bar_position): Remove debug fprintf.
 5494 
 5495 	* xterm.h (struct x_output): Add toolbar_top_height,
 5496 	toolbar_bottom_height, toolbar_left_width, toolbar_right_width.
 5497 	Remove toolbar_height.
 5498 	If USE_GTK: Add hbox_widget and toolbar_in_hbox.
 5499 	(FRAME_TOOLBAR_TOP_HEIGHT, FRAME_TOOLBAR_BOTTOM_HEIGHT)
 5500 	(FRAME_TOOLBAR_LEFT_WIDTH, FRAME_TOOLBAR_RIGHT_WIDTH): New macros.
 5501 	(FRAME_TOOLBAR_HEIGHT): Is now TOP_HEIGHT + BOTTOM_HEIGHT.
 5502 
 5503 	* xterm.c (x_set_window_size_1): Add FRAME_TOOLBAR_WIDTH to pixelwidth.
 5504 
 5505 	* xfns.c (x_set_tool_bar_position): New function.
 5506 	(xic_set_statusarea): Use FRAME_TOOLBAR_TOP_HEIGHT.
 5507 	(x_frame_parm_handlers): Add x_set_tool_bar_position.
 5508 	(syms_of_xfns): If USE_GTK, provide move-toolbar.
 5509 
 5510 	* window.c (calc_absolute_offset): Check for FRAME_TOOLBAR_TOP_HEIGHT
 5511 	and FRAME_TOOLBAR_LEFT_WIDTH.
 5512 
 5513 	* gtkutil.h (xg_change_toolbar_position): Declare.
 5514 
 5515 	* gtkutil.c (FRAME_TOTAL_PIXEL_WIDTH): New macro.
 5516 	(xg_frame_set_char_size): Add FRAME_TOOLBAR_WIDTH to pixelwidth.
 5517 	(xg_height_or_width_changed): Use FRAME_TOTAL_PIXEL_WIDTH.
 5518 	(xg_create_frame_widgets): Create a hobox for placing widgets
 5519 	vertically.  Use gtk_box_pack_start.
 5520 	(xg_height_or_width_changed): Rename from xg_height_changed.
 5521 	(x_wm_set_size_hint): Add FRAME_TOOLBAR_WIDTH to base_width.
 5522 	(xg_update_frame_menubar, free_frame_menubar): Change to
 5523 	xg_height_or_width_changed.
 5524 	(xg_tool_bar_detach_callback): Update left/right/top/bottom tool bar
 5525 	size correctly.  Remove hardcoded 4, instead use handlebox size -
 5526 	toolbar size.
 5527 	(xg_tool_bar_attach_callback): Update left/right/top/bottom tool bar
 5528 	size correctly.  Use handlebox size + toolbar size as additional size.
 5529 	(xg_pack_tool_bar): POS is a new parameter.
 5530 	Set orientation of tool bar based on pos.
 5531 	Only make handlebox_widget if NULL.
 5532 	Check if tool bar goes to vbox or hbox depending on pos.
 5533 	(xg_update_tool_bar_sizes): New function.
 5534 	(update_frame_tool_bar): Remove old_req, new_req.  Do not get tool bar
 5535 	height, call xg_update_tool_bar_sizes instead.
 5536 	(free_frame_tool_bar): Remove from hbox or vbox depending on
 5537 	toolbar_in_hbox.  Set all FRAME_TOOLBAR_*_(WIDTH|HEIGHT) to zero.
 5538 	(xg_change_toolbar_position): New function.
 5539 
 5540 	* frame.h (struct frame): Add tool_bar_position.
 5541 	(Qbottom): Declare.
 5542 
 5543 	* frame.c (Qtool_bar_position): New variable.
 5544 	(make_frame): Set tool_bar_position to Qtop.
 5545 	(frame_parms): Add tool-bar-position.
 5546 	(x_report_frame_params): Store tool_bar_position.
 5547 	(x_set_fringe_width): Reset wm size hint after fringe changes.
 5548 
 5549 2010-07-29  Dan Nicolaescu  <dann@ics.uci.edu>
 5550 
 5551 	Make lisp_time_argument declaration work on all systems.
 5552 	* lisp.h (lisp_time_argument): Move declaration ...
 5553 	* systime.h (lisp_time_argument): ... here
 5554 	* editfns.c (lisp_time_argument): Remove declaration.  (Bug#6751)
 5555 
 5556 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
 5557 
 5558 	* vm-limit.c (POINTER): Add typedef for it.
 5559 	(start_of_data): Change return type from POINTER to char *.
 5560 
 5561 	* frame.h (Qtty_color_mode): Move declaration out of ifdef
 5562 	HAVE_WINDOW_SYSTEM.
 5563 
 5564 2010-07-29  Dan Nicolaescu  <dann@ics.uci.edu>
 5565 
 5566 	* vm-limit.c: Do not include sys/resource.h, mem-limits.h does it.
 5567 	Remove reference to __osf__, unused.
 5568 
 5569 	* mem-limits.h: Remove duplicated includes.
 5570 	(NULL): Remove definition, unused.
 5571 	(POINTER): Remove definition.
 5572 	(start_of_data): Use char* in prototype, as the function
 5573 	definition does.
 5574 
 5575 	Remove extern declarations from .c files, and them to .h files.
 5576 	* keyboard.h (Qhelp_echo, waiting_for_input)
 5577 	(input_available_clear_time, ignore_mouse_drag_p)
 5578 	(Vdouble_click_time, real_this_command, Vthis_original_command):
 5579 	* keymap.h (Qremap, Qmenu_item, Voverriding_local_map)
 5580 	(Voverriding_local_map_menu_flag):
 5581 	* lisp.h (Qinteractive_form, use_file_dialog)
 5582 	(Qcursor_in_echo_area, QCascent, QCmargin, QCrelief, Qcount)
 5583 	(Qextension_data, QCconversion, QCcolor_symbols, QCheuristic_mask)
 5584 	(QCindex, QCmatrix, QCcolor_adjustment, QCmask)
 5585 	(Qrisky_local_variable, map_char_table_for_charset, Vprint_level)
 5586 	(Qfunction, debug_on_next_call, Qfield)
 5587 	(Vinhibit_field_text_motion, Vuser_login_name, lisp_time_argument)
 5588 	(Qpriority, Qwindow, Qevaporate, Qbefore_string, Qafter_string)
 5589 	(Qfile_directory_p, Qinsert_file_contents)
 5590 	(Qcompletion_ignore_case, Qcompletion_ignore_case)
 5591 	(Vcompletion_regexp_list, Vhistory_length, completion_ignore_case)
 5592 	(history_delete_duplicates, minibuffer_auto_raise, Qonly)
 5593 	(Qfile_name_handler_alist, Qfront_sticky, Qrear_nonsticky)
 5594 	(Qminibuffer_prompt)
 5595 	(Vtemporary_file_directory,char_ins_del_vector, Qface):
 5596 	* xterm.h (gray_bitmap_width, gray_bitmap_height)
 5597 	(gray_bitmap_bits, xic_create_fontsetname):
 5598 	* coding.h (Vtranslation_table_for_input): Add extern declarations.
 5599 
 5600 	* xsmfns.c (Vuser_login_name):
 5601 	* xrdb.c (Vdouble_click_time):
 5602 	* xfaces.c (xic_create_fontsetname):
 5603 	* w32select.c (waiting_for_input):
 5604 	* print.c (minibuffer_auto_raise):
 5605 	* msdos.c (Qhelp_echo):
 5606 	* macros.c (real_this_command):
 5607 	* keymap.c (Voverriding_local_map):
 5608 	* xterm.c (poll_for_input_1, gray_bitmap_width)
 5609 	(gray_bitmap_height, gray_bitmap_bits;
 5610 	* xmenu.c ( Voverriding_local_map)
 5611 	(Voverriding_local_map_menu_flag; Qmenu_item; use_dialog_box)
 5612 	(use_file_dialog, Xt_app_con):
 5613 	* xdisp.c (minibuffer_auto_raise, Voverriding_local_map)
 5614 	(Voverriding_local_map_menu_flag, Qmenu_item, Qface, Qinvisible)
 5615 	(Qwidth, Qinvisible, Qwindow, Qpriority, Qtool_bar_lines)
 5616 	(Qtool_bar_lines, ignore_mouse_drag_p):
 5617 	* minibuf.c (Voverriding_local_map, Qfield, Qfront_sticky)
 5618 	(Qrear_nonsticky, nconc2):
 5619 	* keyboard.c (current_global_map, minibuf_level, Qmenu_item)
 5620 	(Vhistory_length, Vtranslation_table_for_input, Qcomposition)
 5621 	(Qdisplay, Qafter_string, Qbefore_string, Qundefined):
 5622 	* fileio.c (use_dialog_box, use_file_dialog, Vuser_login_name)
 5623 	(minibuf_level, minibuffer_auto_raise, lisp_time_argument):
 5624 	* eval.c (Qinteractive_form, Qrisky_local_variable, Qfunction)
 5625 	(gc_in_progress):
 5626 	* doc.c (Voverriding_local_map, Qremap):
 5627 	* dired.c (completion_ignore_case, Qcompletion_ignore_case)
 5628 	(Vcompletion_regexp_list):
 5629 	* coding.c (Qmac, Qinsert_file_contents, Qwrite_region)
 5630 	(Qcompletion_ignore_case):
 5631 	* callint.c (Qcursor_in_echo_area, Qfile_directory_p, Qonly)
 5632 	(Vhistory_length, Vthis_original_command, real_this_command)
 5633 	(Qface, Qminibuffer_prompt, history_delete_duplicates):
 5634 	* image.c (Qrisky_local_variable):
 5635 	* fontset.c (QCname):
 5636 	* fns.c (minibuffer_auto_raise, QCname):
 5637 	* dispnew.c (char_ins_del_cost):
 5638 	* composite.c (font_fill_lglyph_metrics):
 5639 	* cmds.c (Qface, Vtranslation_table_for_input):
 5640 	* charset.c (map_char_table_for_charset, Qfile_name_handler_alist):
 5641 	* ccl.c (charset_unicode):
 5642 	* callproc.c (Vtemporary_file_directory):
 5643 	* buffer.c (emacs_strerror): Remove extern declarations.
 5644 
 5645 	* data.c (Qwindow): Make non-static, used from other files too.
 5646 	* frame.c (validate_x_resource_name): Remove shadow definition for i.
 5647 
 5648 	* unexec.c (make_hdr): Remove references to NO_REMAP, COFF,
 5649 	SEGMENT_MASK, SECTION_ALIGNMENT, ADJUST_EXEC_HEADER.
 5650 	* s/usg5-4.h (COFF):
 5651 	* s/template.h:
 5652 	* s/msdos.h (COFF, NO_REMAP):
 5653 	* s/ms-w32.h (NO_REMAP):
 5654 	* s/hpux10-20.h (NO_REMAP):
 5655 	* m/sparc.h (SEGMENT_MASK):
 5656 	* m/m68k.h (NO_REMAP):
 5657 	* m/intel386.h (SEGMENT_MASK):
 5658 	* m/arm.h (NO_REMAP):
 5659 	* m/alpha.h (COFF):
 5660 	* m/template.h: Remove references to unused defines.
 5661 
 5662 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
 5663 
 5664 	* xsettings.c (Ftool_bar_get_system_style): Also check for
 5665 	Qtext_image_horiz.
 5666 
 5667 	* xdisp.c (Qtext_image_horiz): Define.
 5668 	(syms_of_xdisp): Initialize Qtext_image_horiz.  Add text-image-horiz
 5669 	to documentation of tool-bar-style.
 5670 
 5671 	* lisp.h (Qtext_image_horiz): Declare.
 5672 
 5673 	* gtkutil.c (xg_make_tool_item, xg_show_toolbar_item): Handle tool bar
 5674 	style text_image_horiz.
 5675 
 5676 2010-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
 5677 
 5678 	* emacs.c (Fkill_emacs): Remove return statement.
 5679 
 5680 	* term.c (Qspace, QCalign_to, QCwidth): Remove declarations.
 5681 	(encode_terminal_code, produce_composite_glyph): Remove unused variables.
 5682 	(set_tty_color_mode, term_mouse_highlight, term_get_fkeys):
 5683 	Remove local extern declarations.
 5684 
 5685 	* xmenu.c: Do not included lwlib.h, not needed.
 5686 
 5687 	* m/iris4d.h (XUINT, XSET): Remove, not needed.
 5688 
 5689 	* process.c: Move definitions earlier to minimize #ifdefs.
 5690 
 5691 	* xterm.h (x_get_customization_string, x_load_resources)
 5692 	(x_get_resource, x_text_icon, x_text_icon, x_check_errors)
 5693 	(x_check_errors, x_property_data_to_lisp, defined_color)
 5694 	(xic_set_xfontset, x_defined_color): Use const.
 5695 
 5696 	* xterm.c (xlwmenu_window_p, xlwmenu_redisplay): Remove declarations.
 5697 	(x_text_icon, x_check_errors, x_connection_closed): Use const.
 5698 
 5699 	* xselect.c (selection_data_to_lisp_data)
 5700 	(x_property_data_to_lisp):
 5701 	* xrdb.c (x_get_string_resource, file_p)
 5702 	(x_get_customization_string, magic_file_p, search_magic_path)
 5703 	(get_system_app, get_user_app, x_load_resources, x_get_resource)
 5704 	(x_get_string_resource): Use const.
 5705 
 5706 	* xfns.c: Include xlwmenu.h when USE_LUCID.
 5707 	(x_defined_color, xic_set_xfontset): Use const.
 5708 	(Fx_hide_tip): Remove local extern declaration.
 5709 
 5710 	* xfaces.c (Qmouse_face): Remove declaration.
 5711 	(face_color_gray_p, tty_defined_color, defined_color)
 5712 	(face_color_gray_p, face_color_supported_p): Add const.
 5713 
 5714 	* xdisp.c (do_mouse_tracking): Remove declaration.
 5715 	(add_to_log): Use const.
 5716 
 5717 	* minibuf.c (Qmouse_face): Remove declaration.
 5718 
 5719 	* msdos.c (IT_note_mouse_highlight): Remove local extern declaration.
 5720 
 5721 	* keyboard.h (do_mouse_tracking): Add declaration.
 5722 
 5723 	* image.c (QCwidth, QCheight, QCforeground, QCbackground, QCfile)
 5724 	(QCdata, QCtype, Qcenter): Remove declarations.
 5725 
 5726 	* frame.c (x_get_resource_string, x_get_string_resource)
 5727 	(x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg)
 5728 	(x_default_parameter): Use const.
 5729 
 5730 	* font.c (Qnormal, QCtype, QCfamily, QCweight, QCslant, QCwidth)
 5731 	(QCheight, QCsize, QCname): Remove declarations.
 5732 
 5733 	* emacs.c (main): Remove local extern declaration.
 5734 
 5735 	* editfns.c (region_limit, syms_of_editfns): Remove local extern
 5736 	declarations.
 5737 
 5738 	* dispnew.c: Remove duplicate #include <unistd.h>.
 5739 	(update_window, update_frame_1, init_display): Remove local extern
 5740 	declarations.
 5741 
 5742 	* dispextern.h (add_to_log): Remove declaration.
 5743 	(x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg)
 5744 	(x_frame_get_and_record_arg, x_default_parameter): Add const.
 5745 
 5746 	* dired.c (scmp): Add const.
 5747 	(directory_files_internal): Remove local extern declaration.
 5748 
 5749 	* data.c (Finteractive_form): Use const.
 5750 
 5751 	* composite.c (syms_of_composite): Remove local extern declarations.
 5752 
 5753 	* charset.c (add_to_log): Remove declaration.
 5754 
 5755 	* character.c (strwidth, parse_str_to_multibyte): Add const.
 5756 
 5757 	* character.h (strwidth, parse_str_to_multibyte): Likewise.
 5758 
 5759 	* buffer.c (Fset_buffer_multibyte): Remove local extern declaration.
 5760 
 5761 	* lisp.h (Fkill_emacs): Mark as NO_RETURN.
 5762 	(Lisp_Subr): Make doc and intspec constant.
 5763 	(QCsize, Qspace, Qcenter, QCalign_to, QCdata, QCfile, QCtype)
 5764 	(Qlocal, Qapply, Qnormal, QCfamily, QCweight, QCslant, QCwidth)
 5765 	(QCheight, QCsize, QCname, QCwidth, QCforeground)
 5766 	(QCbackground, add_to_log, stack_base, Vmark_even_if_inactive)
 5767 	(display_arg): Add declarations.
 5768 
 5769 2010-07-27  Christoph Scholtes  <cschol2112@gmail.com>
 5770 
 5771 	* minibuf.c (Fread_buffer): Doc fix (bug#6528).
 5772 
 5773 	* window.c (Fwindow_height): Doc fix (bug#6518).
 5774 
 5775 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
 5776 
 5777 	* buffer.c (syms_of_buffer) <fringe-indicator-alist>: Doc fix.
 5778 
 5779 2010-07-26  Dan Nicolaescu  <dann@ics.uci.edu>
 5780 
 5781 	* keyboard.c (Ftop_level, Fexit_recursive_edit)
 5782 	(Fabort_recursive_edit): Remove return statements in NO_RETURN
 5783 	functions.
 5784 
 5785 	* frame.h (Qtty_color_mode): Add declaration.
 5786 
 5787 	* lisp.h (Ftop_level, Fexit_recursive_edit)
 5788 	(Fabort_recursive_edit): Mark as NO_RETURN.
 5789 
 5790 2010-07-26  Kenichi Handa  <handa@m17n.org>
 5791 
 5792 	* font.c (Ffont_shape_gstring): Terminate GSTRING by nil if the
 5793 	number of glyphs gets smaller than the original length.  (Bug#6621)
 5794 
 5795 2010-07-26  Juanma Barranquero  <lekktu@gmail.com>
 5796 
 5797 	* lread.c (unreadpure, mapatoms_1): Make static.
 5798 
 5799 2010-07-25  Juanma Barranquero  <lekktu@gmail.com>
 5800 
 5801 	* terminfo.c (tparam): Fix prototype of tparm.
 5802 
 5803 2010-07-25  Andreas Schwab  <schwab@linux-m68k.org>
 5804 
 5805 	* emacs.c (main) [PROFILING]: Use __executable_start if defined to
 5806 	find start of text segment.
 5807 	* dispnew.c (safe_bcopy): Don't define if HAVE___EXECUTABLE_START
 5808 	is defined.
 5809 
 5810 	* callproc.c (set_initial_environment): Avoid unbalanced braces.
 5811 
 5812 2010-07-25  Ken Brown  <kbrown@cornell.edu>
 5813 
 5814 	* vm-limit.c (check_memory_limits): Fix previous change;
 5815 	accidentally reverted an earlier change.
 5816 
 5817 2010-07-25  Ken Brown  <kbrown@cornell.edu>
 5818 
 5819 	* mem-limits.h (BSD4_2) [cygwin]: Don't define here; instead...
 5820 	* vm-limit.c: ...add 'defined (CYGWIN)' here (Bug#6715).
 5821 
 5822 2010-07-25  Juanma Barranquero  <lekktu@gmail.com>
 5823 
 5824 	* callproc.c (relocate_fd): Set inside #ifndef WINDOWSNT.
 5825 	* dired.c (opendir, readdir): Fix prototypes.
 5826 	* editfns.c (w32_get_internal_run_time): Fix prototypes.
 5827 	* keyboard.c (input_available_signal): Declare inside #ifdef SIGIO.
 5828 	* ndir.h (opendir, readdir, seekdir, closedir): Fix prototypes.
 5829 	(telldir): Remove declaration.
 5830 	* ralloc.c (real_morecore, __morecore): Fix prototypes.
 5831 	* sound.c (alsa_sound_perror): Declare inside #ifdef HAVE_ALSA.
 5832 	* syssignal.h (strsignal): Fix prototype.
 5833 	* term.c (tparam): Fix prototype.
 5834 	(term_get_fkeys_address, term_get_fkeys_kboard, term_get_fkeys_1)
 5835 	(term_get_fkeys): Set inside "#ifndef DOS_NT".
 5836 	* vm-limit.c (check_memory_limits): Fix prototypes of real_morecore
 5837 	and __morecore.
 5838 	* w32gui.h (XParseGeometry): Fix prototype.
 5839 	* w32heap.h (get_data_start, get_data_end, init_heap): Fix prototypes.
 5840 	* w32term.c (my_set_focus): Declare inside #if 0.
 5841 	* w32term.h (x_window_to_frame, x_display_info_for_name, w32_term_init)
 5842 	(w32_fill_rect, w32_clear_window, init_crit, delete_crit, signal_quit)
 5843 	(drain_message_queue, get_next_msg, post_msg, parse_button)
 5844 	(ClipboardSequence_Proc): Fix prototypes.
 5845 	(wait_for_sync): Remove declaration.
 5846 
 5847 2010-07-24  Juanma Barranquero  <lekktu@gmail.com>
 5848 
 5849 	* w32fns.c (w32_to_x_color): Remove, unused.
 5850 
 5851 2010-07-24  Andreas Schwab  <schwab@linux-m68k.org>
 5852 
 5853 	* lisp.h: Remove leftover P_.
 5854 
 5855 2010-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
 5856 
 5857 	* ecrt0.c, unexalpha.c: Remove files, unused.
 5858 
 5859 2010-07-24  Andreas Schwab  <schwab@linux-m68k.org>
 5860 
 5861 	* cmds.c (internal_self_insert): Make static.
 5862 	* lisp.h (internal_self_insert): Remove declaration.
 5863 
 5864 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
 5865 
 5866 	* alloc.c (free_float):
 5867 	* font.c [ENABLE_CHECKING] (font_match_xlfd, font_check_xlfd_parse):
 5868 	* frame.c (delete_frame_handler):
 5869 	* ralloc.c (reorder_bloc):
 5870 	* w32menu.c (menubar_id_to_frame, add_left_right_boundary):
 5871 	Remove unused static functions.
 5872 
 5873 	* menu.c (cleanup_popup_menu): Set inside "#ifdef HAVE_NS";
 5874 	it is called only from NS code.
 5875 
 5876 	* w32term.c (my_set_focus): #ifdef away; it is called only from
 5877 	"#ifdef 0" code.
 5878 
 5879 	* w32fns.c (x_edge_detection):
 5880 	* xfaces.c (may_use_scalable_font_p):
 5881 	Remove obsolete static declarations.
 5882 
 5883 2010-07-20  Juanma Barranquero  <lekktu@gmail.com>
 5884 
 5885 	* alloc.c (emacs_blocked_free, emacs_blocked_malloc)
 5886 	(emacs_blocked_realloc, uninterrupt_malloc):
 5887 	* fringe.c (w32_reset_fringes):
 5888 	* image.c (convert_mono_to_color_image, lookup_rgb_color)
 5889 	(init_color_table, XPutPixel, jpeg_resync_to_restart_wrapper):
 5890 	* sound.c (be2hs, do_play_sound):
 5891 	* vm-limit.c (get_lim_data, ret_lim_data):
 5892 	* w32term.c (x_free_frame_resources):
 5893 	* xfaces.c (x_create_gc, x_free_gc):
 5894 	Convert definitions to standard C.
 5895 
 5896 2010-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
 5897 
 5898 	* eval.c (Feval, Ffuncall): Use the new names.
 5899 
 5900 	* lisp.h (struct Lisp_Subr): Rename `am' to aMANY and add aUNEVALLED.
 5901 	(DEFUN): Add braces around the union initialization and use ## to
 5902 	specify the right union alternative and avoid a cast.
 5903 
 5904 2010-07-18  Juanma Barranquero  <lekktu@gmail.com>
 5905 
 5906 	* makefile.w32-in ($(BLD)/keyboard.$(O)): Update dependencies.
 5907 
 5908 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
 5909 
 5910 	* frame.c (make_initial_frame): Use set_menu_bar_lines (Bug#6660).
 5911 
 5912 2010-07-17  Jan Djärv  <jan.h.d@swipnet.se>
 5913 
 5914 	* gtkutil.c (xg_event_is_for_menubar): Also check that event window
 5915 	is related to the menu bar (Bug#6499).
 5916 	(xg_frame_resized): GTK_IS_MAPPED => gtk_widget_get_mapped, for Gtk 3.0.
 5917 
 5918 2010-07-16  Jan Djärv  <jan.h.d@swipnet.se>
 5919 
 5920 	* xterm.h (x_menubar_window_to_frame): Second parameter is XEvent*.
 5921 
 5922 	* xterm.c (handle_one_xevent): Pass event to x_menubar_window_to_frame.
 5923 
 5924 	* xmenu.c (x_activate_menubar): Revert previous fix for Bug#6499,
 5925 	i.e. don't put back ButtonRelease (Bug#6608).
 5926 
 5927 	* xfns.c (x_menubar_window_to_frame): Take XEvent as second parameter
 5928 	instead of Window.  Call xg_event_is_for_menubar when
 5929 	USE_GTK (Bug#6499).
 5930 
 5931 	* gtkutil.h (xg_event_is_for_menubar): Declare.
 5932 
 5933 	* gtkutil.c (xg_event_is_for_menubar): New function (Bug#6499).
 5934 
 5935 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
 5936 
 5937 	* w32fns.c (x_set_foreground_color): Fix setting the cursor color
 5938 	when it's the same as the old foreground.  (Bug#6609)
 5939 
 5940 2010-07-16  Jan Djärv  <jan.h.d@swipnet.se>
 5941 
 5942 	* xmenu.c (free_frame_menubar): Only call x_set_window_size if
 5943 	widget is non-null (Bug#6645).
 5944 
 5945 2010-07-15  Andreas Schwab  <schwab@linux-m68k.org>
 5946 
 5947 	* xterm.c (x_fully_uncatch_errors, x_trace_wire, x_check_font):
 5948 	Convert old-style definition.
 5949 
 5950 	* xmenu.c (create_and_show_popup_menu, xmenu_show): Fix type of
 5951 	timestamp argument.
 5952 
 5953 2010-07-15  Eli Zaretskii  <eliz@gnu.org>
 5954 
 5955 	* fringe.c (update_window_fringes): Restore mistakenly reverted
 5956 	code from 2010-04-17T12:33:05Z!eliz@gnu.org merged in 2010-04-20T13:31:28Z!eliz@gnu.org.
 5957 
 5958 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
 5959 
 5960 	* xterm.c (xm_scroll_callback, x_process_timeouts): K&R => prototype.
 5961 	(SET_SAVED_KEY_EVENT): Remove (not used).
 5962 	(SET_SAVED_MENU_EVENT): Rename to SET_SAVED_BUTTON_EVENT and
 5963 	remove size parameter.
 5964 	(handle_one_xevent): Check popup_activated () for menu for Xt also.
 5965 	Remove #ifdef USE_GTK around finish = X_EVENT_DROP.
 5966 	Remove #ifdef USE_MOTIF code that did SET_SAVED_BUTTON_EVENT for
 5967 	ButtonRelease.
 5968 	(x_set_window_size_1): scroll_bar_actual_width is always
 5969 	SCROLL_BAR_COLS * COLUMN_WIDTH for the purpose of frame sizing.
 5970 
 5971 	* xdisp.c (pending_menu_activation): Remove extern declaration.
 5972 	(prepare_menu_bars): Remove setting of pending_menu_activation.
 5973 
 5974 	* xmenu.c (pending_menu_activation): Remove.
 5975 	(x_activate_menubar): Set popup_activated_flag for Xt also.
 5976 	Remove setting of pending_menu_activation.
 5977 	(set_frame_menubar): Remove check of pending_menu_activation.
 5978 	Declare menubar_size before code.  Correct spelling in comment.
 5979 
 5980 2010-07-14  Kenichi Handa  <handa@m17n.org>
 5981 
 5982 	* font.c (font_open_entity): Cancel previous change.
 5983 	(Ffont_get): Don't check FONT_ENTITY_INDEX of a font-object.
 5984 
 5985 2010-07-13  Eli Zaretskii  <eliz@gnu.org>
 5986 
 5987 	Remove subprocesses #ifdefs.
 5988 	* process.c <inhibit_sentinels>: Move to the common part.
 5989 	(Fwaiting_for_user_input_p): Move to the common part; return nil
 5990 	if async subprocesses aren't supported.
 5991 	* sysdep.c (wait_for_termination) [!MSDOS]: Don't compile on
 5992 	MS-DOS.  Remove "#ifdef subprocesses".
 5993 	(sys_subshell, sys_select): Remove "#ifdef subprocesses".
 5994 	(gettimeofday): Remove "#ifdef subprocesses".
 5995 	(wait_without_blocking): Remove function.
 5996 	(flush_pending_output, child_setup_tty): Don't compile on MS-DOS.
 5997 	Remove "#ifdef subprocesses".
 5998 	(child_setup_tty): Use WINDOWSNT instead of DOS_NT, since not
 5999 	compiled on MS-DOS.
 6000 	* callproc.c (Fcall_process) [!MSDOS]: Don't call
 6001 	wait_for_termination on MS-DOS.
 6002 	* emacs.c (shut_down_emacs): Remove "#ifndef subprocesses" from
 6003 	initialization of inhibit_sentinels.
 6004 	* keyboard.c (record_asynch_buffer_change): Remove "#ifdef
 6005 	subprocesses" conditional.
 6006 	* callproc.c (Fcall_process) [!subprocesses]: Don't call
 6007 	wait_for_termination, since `buffer' cannot be an integer when
 6008 	async subprocesses are not supported
 6009 	* xdisp.c (decode_mode_spec): Use `MSDOS' instead of `subprocesses'
 6010 	for ifdefing away the call to Fprocess_status.
 6011 
 6012 	* process.c (add_keyboard_wait_descriptor) [!subprocesses]: Ifdef
 6013 	away the entire body of the function.
 6014 
 6015 2010-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
 6016 
 6017 	Remove subprocesses #ifdefs from term.c.
 6018 	* process.c (add_keyboard_wait_descriptor)
 6019 	(delete_keyboard_wait_descriptor): Move to common section, do
 6020 	nothing when subprocesses is not defined.
 6021 	* term.c (Fsuspend_tty, Fresume_tty, init_tty):
 6022 	Remove subprocesses #ifdefs.
 6023 
 6024 	Convert maybe_fatal to standard C.
 6025 	* lisp.h (verror): Declare.
 6026 	* eval.c (verror): New function containing the code from ...
 6027 	(error): ... this.  Call verror.
 6028 	* term.c (vfatal): New function containing the code from ...
 6029 	(fatal): ... this.  Call vfatal.
 6030 	(maybe_fatal): Convert to standard C, use variable number of
 6031 	arguments.  Declare as non-return.
 6032 	(init_tty): Fix maybe_fatal call.
 6033 
 6034 2010-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
 6035 
 6036 	* xterm.c (x_scroll_bar_set_handle, x_scroll_bar_expose)
 6037 	(_scroll_bar_note_movement): Convert definitions to standard C.
 6038 	* xmenu.c (menu_help_callback, pop_down_menu, xmenu_show):
 6039 	* xfns.c (hack_wm_protocols, x_window, x_window): Likewise.
 6040 
 6041 2010-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
 6042 
 6043 	* xterm.c (x_frame_of_widget, x_alloc_nearest_color_for_widget)
 6044 	(x_alloc_lighter_color_for_widget, cvt_string_to_pixel)
 6045 	(cvt_pixel_dtor, x_window_to_menu_bar, xt_action_hook)
 6046 	(xaw_jump_callback, xaw_scroll_callback)
 6047 	(x_create_toolkit_scroll_bar, x_set_toolkit_scroll_bar_thumb)
 6048 	(x_wm_set_size_hint, x_activate_timeout_atimer):
 6049 	Convert definitions to standard C.
 6050 	* xmenu.c (menubar_id_to_frame, popup_get_selection)
 6051 	(popup_activate_callback, popup_deactivate_callback)
 6052 	(menu_highlight_callback, menubar_selection_callback)
 6053 	(apply_systemfont_to_dialog, apply_systemfont_to_menu)
 6054 	(free_frame_menubar, popup_selection_callback, as)
 6055 	(create_and_show_popup_menu, dialog_selection_callback)
 6056 	(create_and_show_dialog):
 6057 	* xfns.c (hack_wm_protocols, x_window):
 6058 	* xfaces.c (x_update_menu_appearance):
 6059 	* widget.c (get_default_char_pixel_size, pixel_to_char_size)
 6060 	(char_to_pixel_size, round_size_to_char, get_wm_shell)
 6061 	(set_frame_size, update_wm_hints, setup_frame_gcs)
 6062 	(update_various_frame_slots, update_from_various_frame_slots)
 6063 	(EmacsFrameInitialize, EmacsFrameRealize, EmacsFrameResize)
 6064 	(EmacsFrameSetValues, EmacsFrameQueryGeometry)
 6065 	(EmacsFrameSetCharSize, widget_store_internal_border): Likewise.
 6066 
 6067 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
 6068 
 6069 	* dbusbind.c (xd_initialize): Don't compare boolean with a constant.
 6070 
 6071 2010-07-12  Eli Zaretskii  <eliz@gnu.org>
 6072 
 6073 	* process.c (setup_process_coding_systems): Move to the part
 6074 	shared by non-subprocesses systems, and make its body empty when
 6075 	subprocesses is not defined.
 6076 	(close_process_descs): Move to the part shared by non-subprocesses
 6077 	systems.
 6078 	(wait_reading_process_output) [!subprocesses]: Convert arg list to
 6079 	ANSI C.
 6080 
 6081 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
 6082 
 6083 	* editfns.c (transpose_markers): Convert old-style definition.
 6084 	* emacs.c (abort, shut_down_emacs, fixup_locale)
 6085 	(synchronize_system_time_locale)
 6086 	(synchronize_system_messages_locale, syms_of_emacs): Likewise.
 6087 	* floatfns.c (extract_float, matherr, init_floatfns)
 6088 	(syms_of_floatfns): Likewise.
 6089 	* fns.c (make_hash_table): Likewise.
 6090 	* ftfont.c (ftfont_get_otf, ftfont_otf_features)
 6091 	(ftfont_otf_capability, ftfont_get_glyph_id, ftfont_get_metrics)
 6092 	(ftfont_drive_otf, ftfont_shape_by_flt, ftfont_shape)
 6093 	(ftfont_variation_glyphs): Likewise.
 6094 	* gtkutil.c (xg_create_widget, xg_modify_menubar_widgets): Likewise.
 6095 	* keymap.c (describe_map_tree, describe_map, describe_vector): Likewise.
 6096 	* lread.c (read_filtered_event): Likewise.
 6097 	* minibuf.c (read_minibuf_noninteractive, read_minibuf): Likewise.
 6098 	* process.c (wait_reading_process_output): Likewise.
 6099 	* scroll.c (do_line_insertion_deletion_costs): Likewise.
 6100 	* search.c (search_buffer, boyer_moore): Likewise.
 6101 	* syntax.c (scan_sexps_forward): Likewise.
 6102 	* xdisp.c (try_scrolling): Likewise.
 6103 	* xfaces.c (face_at_buffer_position, face_for_overlay_string)
 6104 	(face_at_string_position): Likewise.
 6105 	* xfns.c (x_default_scroll_bar_color_parameter): Likewise.
 6106 	* xselect.c (x_get_window_property, receive_incremental_selection)
 6107 	(x_get_window_property_as_lisp_data, lisp_data_to_selection_data):
 6108 	Likewise.
 6109 	* xterm.c (x_draw_relief_rect, x_draw_box_rect): Likewise.
 6110 
 6111 2010-07-12  Dan Nicolaescu  <dann@ics.uci.edu>
 6112 
 6113 	* callproc.c (child_setup): Remove subprocesses conditional.
 6114 	Remove code dealing with SET_EMACS_PRIORITY, unused.
 6115 
 6116 	* buffer.c (Fset_buffer_multibyte): Remove subprocesses conditional.
 6117 	* process.c (close_process_descs): Use DOS_NT instead of WINDOWSNT.
 6118 
 6119 	* emacs.c (__do_global_ctors, __do_global_ctors_aux)
 6120 	(__do_global_dtors, __main): Use void in definition.
 6121 	(main): Remove code dealing with SET_EMACS_PRIORITY, unused.
 6122 	Remove SYMS_MACHINE code, unused.  Remove SYMS_SYSTEM, inline
 6123 	the only users from ...
 6124 	* s/ms-w32.h (SYMS_SYSTEM): ... here and ...
 6125 	* s/msdos.h (SYMS_SYSTEM): ... here.  Remove.
 6126 	(HAVE_VOLATILE): Remove, unused.
 6127 
 6128 	Convert more function definitions to standard C.
 6129 	* xdisp.c (window_box_edges, handle_single_display_spec)
 6130 	(display_string): Convert definition to standard C.
 6131 	* scroll.c (do_direct_scrolling, scrolling_1):
 6132 	* dispnew.c (allocate_matrices_for_frame_redisplay)
 6133 	(mirrored_line_dance):
 6134 	* coding.c (code_convert_string):
 6135 	* charset.c (map_charset_chars):
 6136 	* ccl.c (Fccl_program_p, Fccl_execute, Fccl_execute_on_string)
 6137 	(Fregister_ccl_program, Fregister_code_conversion_map):
 6138 	* keyboard.c (kbd_buffer_nr_stored): Likewise.
 6139 	(head_table): Make static and const.
 6140 
 6141 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
 6142 
 6143 	* Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
 6144 	(PROFILING_LDFLAGS): Set from substitution.
 6145 	(ALL_CFLAGS): Add C_WARNINGS_SWITCH and PROFILING_CFLAGS, put
 6146 	CFLAGS last.
 6147 
 6148 2010-07-12  Kenichi Handa  <handa@m17n.org>
 6149 
 6150 	* Makefile.in (lisp): Change hebrew.el to hebrew.elc.
 6151 	(shortlisp): Likewise.
 6152 
 6153 	* font.h (enum font_property_index): New member FONT_ENTITY_INDEX.
 6154 
 6155 	* font.c (font_open_entity): Record ENTITY in FONT_OBJECT's slot
 6156 	of FONT_ENTITY_INDEX.
 6157 	(Ffont_get): If KEY is :otf and the font-object doesn't have the
 6158 	property, get the property value dynamically.
 6159 	(Ffont_put): Accept font-entity and font-object too.
 6160 	(Ffont_get_glyhphs): Rename from Fget_font_glyphs.  Arguments and
 6161 	return value changed.
 6162 	(syms_of_font): Adjust for the above change.
 6163 
 6164 2010-07-11  Andreas Schwab  <schwab@linux-m68k.org>
 6165 
 6166 	* blockinput.h: Remove obsolete comment.
 6167 
 6168 	* lisp.h: Include <stddef.h>.
 6169 	(OFFSETOF): Don't define.
 6170 	(VECSIZE): Use offsetof instead of OFFSETOF.
 6171 	(PSEUDOVECSIZE): Likewise.
 6172 	* process.c (conv_sockaddr_to_lisp): Likewise.
 6173 	* alloc.c: Don't include <stddef.h>.
 6174 	* buffer.h (PER_BUFFER_VAR_OFFSET): Use offsetof.
 6175 
 6176 	* process.c: Remove obsolete comment.
 6177 
 6178 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
 6179 
 6180 	* xfaces.c (Vface_remapping_alist): Doc fix (Bug#6091).
 6181 
 6182 2010-07-11  Andreas Schwab  <schwab@linux-m68k.org>
 6183 
 6184 	* callint.c (Fcall_interactively): Use strchr, strrchr instead of
 6185 	index, rindex.
 6186 	* doc.c (get_doc_string, Fsnarf_documentation): Likewise.
 6187 	* editfns.c (Fuser_full_name, Fformat): Likewise.
 6188 	* emacs.c (argmatch, sort_args, decode_env_path): Likewise.
 6189 	* fileio.c (Ffile_symlink_p): Likewise.
 6190 	* filelock.c (current_lock_owner): Likewise.
 6191 	* font.c (font_parse_name, font_parse_family_registry): Likewise.
 6192 	* fontset.c (fontset_pattern_regexp): Likewise.
 6193 	* lread.c (read1): Likewise.
 6194 	* sysdep.c (init_system_name): Likewise.
 6195 	* xfns.c (select_visual): Likewise.
 6196 	* s/hpux10-20.h (index, rindex): Don't define.
 6197 	* s/ms-w32.h (index): Likewise.
 6198 	* s/usg5-4.h: Likewise.
 6199 
 6200 	* callproc.c (relocate_fd): Use F_DUPFD if defined.
 6201 
 6202 	* alloc.c (pending_malloc_warning, malloc_warning): Add const.
 6203 	* callproc.c (relocate_fd, getenv_internal_1, getenv_internal)
 6204 	(egetenv): Likewise.
 6205 	* doprnt.c (doprnt): Likewise.
 6206 	* editfns.c (set_time_zone_rule, format2): Likewise.
 6207 	* emacs.c (decode_env_path): Likewise.
 6208 	* eval.c (signal_error, error): Likewise.
 6209 	* insdel.c (replace_range_2): Likewise.
 6210 	* keyboard.c (cmd_error_internal): Likewise.
 6211 	* lread.c (isfloat_string, make_symbol, dir_warning): Likewise.
 6212 	* print.c (write_string, write_string_1, print_error_message):
 6213 	Likewise.
 6214 	* vm-limit.c (warn_function, memory_warnings): Likewise.
 6215 	* xdisp.c (message1, message1_nolog, message_with_string)
 6216 	(vmessage, message, message_nolog): Likewise.
 6217 	* emacs.c: Remove duplicate declaration.
 6218 	* keyboard.h: Likewise.
 6219 	* lisp.h: Update prototypes.
 6220 
 6221 	* eval.c: Fix indentation problem.
 6222 
 6223 	* keyboard.c: Include "process.h".
 6224 
 6225 	* eval.c: Remove obsolete noinline declaration.
 6226 	* fns.c: Likewise.
 6227 
 6228 2010-07-11  Ken Raeburn  <raeburn@raeburn.org>
 6229 
 6230 	* doprnt.c (doprnt): Take a va_list argument instead of count and
 6231 	pointer.
 6232 	* eval.c (error): Change to a standard-C variadic function.
 6233 	* xdisp.c (vmessage): Rename from message, made static, and
 6234 	changed to take a va_list argument.
 6235 	(message): New variadic wrapper.
 6236 	(message_nolog): Now a variadic function, calling vmessage.
 6237 	* lisp.h: Include stdarg.h for va_list.
 6238 	(doprnt, error, message, message_nolog): Decls updated.
 6239 
 6240 2010-07-11  Eli Zaretskii  <eliz@gnu.org>
 6241 
 6242 	* process.c (syms_of_process) <delete-exited-processes>: Define
 6243 	even if !subprocesses.
 6244 	(delete_exited_processes): Ditto.
 6245 
 6246 	* msdos.c (syms_of_msdos) <delete-exited-processes>: Remove DEFVAR.
 6247 	(delete_exited_processes): Don't define.
 6248 
 6249 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
 6250 
 6251 	* frame.c (make_frame): Initialize menu_bar_lines and
 6252 	tool_bar_lines members.
 6253 	(make_initial_frame, make_terminal_frame):
 6254 	Initialize menu_bar_lines using value of menu-bar-mode.
 6255 
 6256 	* msdos.c (IT_set_frame_parameters): Don't set menu-bar-lines.
 6257 
 6258 2010-07-10  Eli Zaretskii  <eliz@gnu.org>
 6259 
 6260 	* process.c: Reshuffle #include's.  Condition some of the global
 6261 	and static variables on `subprocesses'.
 6262 	(hold_keyboard_input, unhold_keyboard_input, kbd_on_hold_p):
 6263 	Leave only one implementation.
 6264 	(Fget_buffer_process, Fprocess_inherit_coding_system_flag)
 6265 	(kill_buffer_processes, Flist_system_processes)
 6266 	(Fprocess_attributes, init_process, syms_of_process): Unify the
 6267 	implementations for with subprocesses and without them.
 6268 
 6269 2010-07-09  Jan Djärv  <jan.h.d@swipnet.se>
 6270 
 6271 	* xmenu.c (set_frame_menubar): Must realize menubar_widget to get the
 6272 	correct size for Motif.
 6273 	(free_frame_menubar): Call x_set_window_size to update frame size.
 6274 
 6275 	* xfns.c (x_window): Set borderWidth to 0 for pane and
 6276 	EmacsFrame.  Frame size calculation is wrong otherwise.
 6277 
 6278 2010-07-09  Michael Albinus  <michael.albinus@gmx.de>
 6279 
 6280 	* dbusbind.c (xd_initialize): Add new argument RAISE_ERROR, which
 6281 	allows to suppress errors when polling in Emacs' main loop.
 6282 	(Fdbus_init_bus, Fdbus_get_unique_name, Fdbus_call_method)
 6283 	(Fdbus_call_method_asynchronously, Fdbus_method_return_internal)
 6284 	(Fdbus_method_error_internal, Fdbus_send_signal)
 6285 	(xd_get_dispatch_status, xd_read_message, Fdbus_register_signal)
 6286 	(Fdbus_register_method): Use it.  (Bug#6579)
 6287 
 6288 2010-07-08  Dan Nicolaescu  <dann@ics.uci.edu>
 6289 
 6290 	* alloc.c: Convert DEFUNs to standard C.
 6291 	* buffer.c:
 6292 	* bytecode.c:
 6293 	* callint.c:
 6294 	* callproc.c:
 6295 	* casefiddle.c:
 6296 	* casetab.c:
 6297 	* category.c:
 6298 	* character.c:
 6299 	* charset.c:
 6300 	* chartab.c:
 6301 	* cmds.c:
 6302 	* coding.c:
 6303 	* composite.c:
 6304 	* data.c:
 6305 	* dbusbind.c:
 6306 	* dired.c:
 6307 	* dispnew.c:
 6308 	* doc.c:
 6309 	* dosfns.c:
 6310 	* editfns.c:
 6311 	* emacs.c:
 6312 	* eval.c:
 6313 	* fileio.c:
 6314 	* filelock.c:
 6315 	* floatfns.c:
 6316 	* fns.c:
 6317 	* font.c:
 6318 	* fontset.c:
 6319 	* frame.c:
 6320 	* fringe.c:
 6321 	* image.c:
 6322 	* indent.c:
 6323 	* insdel.c:
 6324 	* keyboard.c:
 6325 	* keymap.c:
 6326 	* lread.c:
 6327 	* macros.c:
 6328 	* marker.c:
 6329 	* menu.c:
 6330 	* minibuf.c:
 6331 	* msdos.c:
 6332 	* nsfns.m:
 6333 	* nsmenu.m:
 6334 	* nsselect.m:
 6335 	* print.c:
 6336 	* process.c:
 6337 	* search.c:
 6338 	* sound.c:
 6339 	* syntax.c:
 6340 	* term.c:
 6341 	* terminal.c:
 6342 	* textprop.c:
 6343 	* undo.c:
 6344 	* w16select.c:
 6345 	* w32console.c:
 6346 	* w32fns.c:
 6347 	* w32font.c:
 6348 	* w32menu.c:
 6349 	* w32proc.c:
 6350 	* w32select.c:
 6351 	* window.c:
 6352 	* xdisp.c:
 6353 	* xfaces.c:
 6354 	* xfns.c:
 6355 	* xmenu.c:
 6356 	* xselect.c:
 6357 	* xsettings.c:
 6358 	* xsmfns.c: Likewise.
 6359 
 6360 2010-07-08  Eli Zaretskii  <eliz@gnu.org>
 6361 
 6362 	* process.c (kbd_is_on_hold, hold_keyboard_input)
 6363 	(unhold_keyboard_input, kbd_on_hold_p) [!subprocesses]: Define.
 6364 
 6365 2010-07-08  Jan Djärv  <jan.h.d@swipnet.se>
 6366 
 6367 	* xmenu.c (set_frame_menubar, create_and_show_popup_menu)
 6368 	(create_and_show_dialog): Don't call apply_systemfont_to_(menu|dialog)
 6369 	unless USE_LUCID.
 6370 
 6371 2010-07-08  Dan Nicolaescu  <dann@ics.uci.edu>
 6372 
 6373 	* xdisp.c (store_mode_line_noprop_char): Remove K&R alternative
 6374 	declaration.
 6375 
 6376 	Clean up include guards.
 6377 	* tparam.c: Remove include guards for config.h, string.h and code
 6378 	that assumes #ifndef emacs.
 6379 	* termcap.c:
 6380 	* unexalpha.c:
 6381 	* sysdep.c:
 6382 	* filemode.c:
 6383 	* filelock.c:
 6384 	* bidi.c: Likewise.
 6385 
 6386 	Remove prefix-args.c
 6387 	* prefix-args.c: Remove file.
 6388 	* autodeps.mk (ALLOBJS): Remove reference to prefix-args.
 6389 	* Makefile.in (temacs${EXEEXT}): Remove references to
 6390 	PRE_EDIT_LDFLAGS and POST_EDIT_LDFLAGS.
 6391 	(mostlyclean): Remove reference to prefix-args.
 6392 	(prefix-args): Remove.
 6393 
 6394 	Simplify cstart_of_data, start_of_code and related code.
 6395 	* mem-limits.h: Remove !emacs and _LIBC conditional code.
 6396 	(start_of_data): Merge into start_of_data function.
 6397 	* sysdep.c (start_of_text): Remove.  Move simplified versions of
 6398 	it in the only users: unexaix.c and unexec.c.
 6399 	(read_input_waiting): Remove local declaration of quit_char.
 6400 	(start, etext): Remove declarations.
 6401 	(start_of_data): Merge with the version in mem-limits.h and move
 6402 	to vm-limits.c.
 6403 	* vm-limit.c (start_of_data): Merged and simplified version of the
 6404 	code formerly in mem-limits.h and sysdep.c.
 6405 	* unexec.c (start): New declaration, moved from sysdep.c.
 6406 	(start_of_text): Simplified version of the code formerly in sysdep.c.
 6407 	* unexaix.c (start_of_text): Simplified version of the code
 6408 	formerly in sysdep.c.
 6409 	* m/alpha.h (HAVE_TEXT_START): Remove.
 6410 	(TEXT_START): Move ...
 6411 	* unexalpha.c (TEXT_START): ... here.
 6412 	* s/hpux10-20.h (TEXT_START): Remove.
 6413 	* s/darwin.h (TEXT_START):
 6414 	* m/mips.h (TEXT_START):
 6415 	* m/macppc.h (HAVE_TEXT_START):
 6416 	* m/m68k.h (TEXT_START):
 6417 	* m/iris4d.h (TEXT_START):
 6418 	* m/intel386.h (TEXT_START):
 6419 	* m/ibmrs6000.h (TEXT_START):
 6420 	* m/ia64.h (HAVE_TEXT_START):
 6421 	* s/msdos.h (TEXT_START): Likewise.
 6422 
 6423 2010-07-07  Andreas Schwab  <schwab@linux-m68k.org>
 6424 
 6425 	* alloc.c (overrun_check_malloc, overrun_check_realloc)
 6426 	(overrun_check_free, xstrdup, allocate_string)
 6427 	(allocate_string_data, compact_small_strings, Fmake_string)
 6428 	(make_unibyte_string, make_multibyte_string)
 6429 	(make_string_from_bytes, make_specified_string, make_float)
 6430 	(Fcons, allocate_terminal, allocate_frame, make_pure_string)
 6431 	(Fgarbage_collect): Replace bcopy, safe_bcopy, bzero, bcmp by
 6432 	memcpy, memmove, memset, memcmp.
 6433 	* atimer.c (start_atimer, set_alarm): Likewise.
 6434 	* buffer.c (clone_per_buffer_values, report_overlay_modification)
 6435 	(mmap_realloc, init_buffer_once): Likewise.
 6436 	* callint.c (Fcall_interactively): Likewise.
 6437 	* callproc.c (Fcall_process, Fcall_process_region, child_setup)
 6438 	(getenv_internal_1): Likewise.
 6439 	* casefiddle.c (casify_object): Likewise.
 6440 	* ccl.c (ccl_driver): Likewise.
 6441 	* character.c (str_as_multibyte, str_to_multibyte): Likewise.
 6442 	* charset.c (load_charset_map_from_file)
 6443 	(load_charset_map_from_file, load_charset_map_from_vector)
 6444 	(Fdefine_charset_internal): Likewise.
 6445 	* cm.c (Wcm_clear): Likewise.
 6446 	* coding.c (decode_eol, decode_coding_object)
 6447 	(Fset_coding_system_priority, make_subsidiaries): Likewise.
 6448 	* data.c (Faset): Likewise.
 6449 	* dired.c (directory_files_internal, file_name_completion_stat):
 6450 	Likewise.
 6451 	* dispnew.c (new_glyph_matrix, adjust_glyph_matrix)
 6452 	(clear_glyph_row, copy_row_except_pointers)
 6453 	(copy_glyph_row_contents, new_glyph_pool, realloc_glyph_pool)
 6454 	(save_current_matrix, restore_current_matrix)
 6455 	(build_frame_matrix_from_leaf_window, mirrored_line_dance)
 6456 	(mirror_line_dance, scrolling_window): Likewise.
 6457 	* doc.c (Fsnarf_documentation, Fsubstitute_command_keys):
 6458 	Likewise.
 6459 	* doprnt.c (doprnt): Likewise.
 6460 	* editfns.c (Fuser_full_name, make_buffer_string_both)
 6461 	(Fmessage_box, Fformat, Ftranspose_regions): Likewise.
 6462 	* emacs.c (sort_args): Likewise.
 6463 	* eval.c (Fapply, Ffuncall): Likewise.
 6464 	* fileio.c (Ffile_name_directory, make_temp_name)
 6465 	(Fexpand_file_name, search_embedded_absfilename)
 6466 	(Fsubstitute_in_file_name, Ffile_symlink_p, Finsert_file_contents)
 6467 	(auto_save_error): Likewise.
 6468 	* fns.c (Fstring_equal, Fcopy_sequence, concat)
 6469 	(string_to_multibyte, Fstring_as_unibyte, Fstring_as_multibyte)
 6470 	(internal_equal, Fclear_string, larger_vector, copy_hash_table)
 6471 	(Fmake_hash_table): Likewise.
 6472 	* fringe.c (Fdefine_fringe_bitmap): Likewise.
 6473 	* ftfont.c (ftfont_text_extents): Likewise.
 6474 	* getloadavg.c (getloadavg): Likewise.
 6475 	* image.c (define_image_type, make_image, make_image_cache)
 6476 	(x_create_x_image_and_pixmap, xbm_image_p)
 6477 	(w32_create_pixmap_from_bitmap_data, xbm_load, xpm_lookup_color)
 6478 	(xpm_image_p, x_create_bitmap_from_xpm_data, xpm_load)
 6479 	(init_color_table, x_build_heuristic_mask, pbm_image_p, pbm_load)
 6480 	(png_image_p, png_read_from_memory, png_load, jpeg_image_p)
 6481 	(tiff_image_p, tiff_read_from_memory, gif_image_p)
 6482 	(gif_read_from_memory, gif_load, svg_image_p, gs_image_p):
 6483 	Likewise.
 6484 	* indent.c (scan_for_column, compute_motion): Likewise.
 6485 	* insdel.c (gap_left, gap_right, make_gap_smaller, copy_text)
 6486 	(insert_1_both, insert_from_gap, replace_range_2): Likewise.
 6487 	* intervals.c (reproduce_tree, reproduce_tree_obj): Likewise.
 6488 	* keyboard.c (echo_char, save_getcjmp, restore_getcjmp)
 6489 	(kbd_buffer_store_event_hold, apply_modifiers_uncached)
 6490 	(store_user_signal_events, menu_bar_items, tool_bar_items)
 6491 	(process_tool_bar_item, append_tool_bar_item)
 6492 	(read_char_minibuf_menu_prompt, read_key_sequence)
 6493 	(Fread_key_sequence, Fread_key_sequence_vector, Frecent_keys):
 6494 	Likewise.
 6495 	* keymap.c (current_minor_maps, Fdescribe_buffer_bindings):
 6496 	Likewise.
 6497 	* lisp.h (STRING_COPYIN): Likewise.
 6498 	* lread.c (Fload, read1, oblookup): Likewise.
 6499 	* msdos.c (Frecent_doskeys): Likewise.
 6500 	* nsfns.m (Fx_create_frame): Likewise.
 6501 	* nsfont.m (nsfont_open, nsfont_text_extents, ns_glyph_metrics):
 6502 	Likewise.
 6503 	* nsimage.m (EmacsImage-initFromSkipXBM:width:height:)
 6504 	(EmacsImage-initForXPMWithDepth:width:height:flip:length:):
 6505 	Likewise.
 6506 	* nsmenu.m (ns_update_menubar): Likewise.
 6507 	* nsterm.m (ns_draw_fringe_bitmap, ns_term_init): Likewise.
 6508 	* print.c (print_unwind, printchar, strout, print_string)
 6509 	(print_error_message): Likewise.
 6510 	* process.c (conv_lisp_to_sockaddr, set_socket_option)
 6511 	(Fmake_network_process, Fnetwork_interface_list)
 6512 	(Fnetwork_interface_info, read_process_output, Fprocess_send_eof)
 6513 	(init_process): Likewise.
 6514 	* ralloc.c (resize_bloc, r_alloc_sbrk, r_alloc_init): Likewise.
 6515 	* regex.c (init_syntax_once, regex_compile, re_compile_fastmap):
 6516 	Likewise.
 6517 	* scroll.c (do_scrolling, do_direct_scrolling)
 6518 	(scrolling_max_lines_saved): Likewise.
 6519 	* search.c (search_buffer, wordify, Freplace_match): Likewise.
 6520 	* sound.c (wav_init, au_init, Fplay_sound_internal): Likewise.
 6521 	* syntax.c (skip_chars, skip_syntaxes): Likewise.
 6522 	* sysdep.c (child_setup_tty, sys_subshell, emacs_get_tty)
 6523 	(emacs_set_tty): Likewise.
 6524 	* term.c (encode_terminal_code, calculate_costs)
 6525 	(produce_special_glyphs, create_tty_output, init_tty, delete_tty):
 6526 	Likewise.
 6527 	* termcap.c (tgetst1, gobble_line): Likewise.
 6528 	* termhooks.h (EVENT_INIT): Likewise.
 6529 	* tparam.c (tparam1): Likewise.
 6530 	* unexalpha.c (unexec): Likewise.
 6531 	* unexec.c (write_segment): Likewise.
 6532 	* unexmacosx.c (unexec_write_zero): Likewise.
 6533 	* w32fns.c (w32_wnd_proc, Fx_create_frame, x_create_tip_frame)
 6534 	(Fx_file_dialog, Fsystem_move_file_to_trash): Likewise.
 6535 	* w32font.c (w32font_list_family, w32font_text_extents)
 6536 	(w32font_list_internal, w32font_match_internal)
 6537 	(w32font_open_internal, compute_metrics, Fx_select_font):
 6538 	Likewise.
 6539 	* w32menu.c (set_frame_menubar, add_menu_item)
 6540 	(w32_menu_display_help, w32_free_submenu_strings): Likewise.
 6541 	* w32term.c (XCreateGC, w32_initialize_display_info): Likewise.
 6542 	* w32uniscribe.c (uniscribe_list_family): Likewise.
 6543 	* w32xfns.c (get_next_msg, post_msg, prepend_msg): Likewise.
 6544 	* window.c (make_window, replace_window, set_window_buffer)
 6545 	(Fsplit_window): Likewise.
 6546 	* xdisp.c (init_iterator, RECORD_OVERLAY_STRING, reseat_to_string)
 6547 	(add_to_log, message3, x_consider_frame_title)
 6548 	(append_space_for_newline, extend_face_to_end_of_line)
 6549 	(decode_mode_spec_coding, init_glyph_string): Likewise.
 6550 	* xfaces.c (x_create_gc, get_lface_attributes_no_remap)
 6551 	(Finternal_copy_lisp_face, Finternal_merge_in_global_face)
 6552 	(face_attr_equal_p, make_realized_face, make_face_cache)
 6553 	(free_realized_faces, lookup_named_face, smaller_face)
 6554 	(face_with_height, lookup_derived_face)
 6555 	(x_supports_face_attributes_p, Finternal_set_font_selection_order)
 6556 	(Finternal_set_font_selection_order, realize_default_face)
 6557 	(compute_char_face, face_at_buffer_position)
 6558 	(face_for_overlay_string, face_at_string_position, merge_faces):
 6559 	Likewise.
 6560 	* xfns.c (xic_create_fontsetname, Fx_create_frame)
 6561 	(Fx_window_property, x_create_tip_frame)
 6562 	(Fx_backspace_delete_keys_p): Likewise.
 6563 	* xfont.c (xfont_list, xfont_match, xfont_list_family)
 6564 	(xfont_text_extents): Likewise.
 6565 	* xmenu.c (set_frame_menubar, xmenu_show): Likewise.
 6566 	* xrdb.c (magic_file_p, x_get_resource): Likewise.
 6567 	* xselect.c (x_queue_event, x_get_window_property)
 6568 	(receive_incremental_selection): Likewise.
 6569 	* xsmfns.c (x_session_check_input): Likewise.
 6570 	* xterm.c (x_send_scroll_bar_event, SET_SAVED_MENU_EVENT)
 6571 	(handle_one_xevent, x_check_errors, xim_initialize, x_term_init):
 6572 	Likewise.
 6573 	* character.h (BCOPY_SHORT): Remove.
 6574 	* config.in: Regenerate.
 6575 	* dispnew.c (safe_bcopy): Only define as dummy if PROFILING.
 6576 	* emacs.c (main) [PROFILING]: Don't declare
 6577 	dump_opcode_frequencies.
 6578 	* lisp.h (safe_bcopy): Remove declaration.
 6579 	(memset) [!HAVE_MEMSET]: Declare.
 6580 	(memcpy) [!HAVE_MEMCPY]: Likewise.
 6581 	(memmove) [!HAVE_MEMMOVE]: Likewise.
 6582 	(memcmp) [!HAVE_MEMCMP]: Likewise.
 6583 	* s/ms-w32.h (bzero, bcopy, bcmp, GAP_USE_BCOPY)
 6584 	(BCOPY_UPWARD_SAFE, BCOPY_DOWNWARD_SAFE, HAVE_BCOPY, HAVE_BCMP):
 6585 	Don't define.
 6586 	(HAVE_MEMCMP, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET): Define.
 6587 	* s/msdos.h (GAP_USE_BCOPY, BCOPY_UPWARD_SAFE)
 6588 	(BCOPY_DOWNWARD_SAFE): Don't define.
 6589 	* sysdep.c (memset) [!HAVE_MEMSET]: Define.
 6590 	(memcpy) [!HAVE_MEMCPY]: Define.
 6591 	(memmove) [!HAVE_MEMMOVE]: Define.
 6592 	(memcmp) [!HAVE_MEMCMP]: Define.
 6593 
 6594 2010-07-07  Jan Djärv  <jan.h.d@swipnet.se>
 6595 
 6596 	* process.c (kbd_is_on_hold): New variable.
 6597 	(hold_keyboard_input, unhold_keyboard_input, kbd_on_hold_p):
 6598 	New functions.
 6599 	(wait_reading_process_output): If kbd_on_hold_p returns non-zero,
 6600 	select on empty input mask.
 6601 	(init_process): Initialize kbd_is_on_hold to 0.
 6602 
 6603 	* process.h (hold_keyboard_input, unhold_keyboard_input)
 6604 	(kbd_on_hold_p): Declare.
 6605 
 6606 	* keyboard.c (input_available_signal): Declare.
 6607 	(kbd_buffer_nr_stored): New function.
 6608 	(kbd_buffer_store_event_hold): If kbd_buffer_nr_stored returns
 6609 	more than KBD_BUFFER_SIZE/2, stop reading input (Bug#6571).
 6610 	(kbd_buffer_get_event): If input is suspended and kbd_buffer_nr_stored
 6611 	returns less than KBD_BUFFER_SIZE/4, resume reading input (Bug#6571).
 6612 	(tty_read_avail_input): If input is on hold, return.
 6613 	Don't read more that free slots in kbd_buffer (Bug#6571).
 6614 
 6615 2010-07-07  Eli Zaretskii  <eliz@gnu.org>
 6616 
 6617 	* msdos.h:
 6618 	* msdos.c:
 6619 	* dosfns.c:
 6620 	* w16select.c: Convert function definitions to ANSI C.
 6621 
 6622 	* msdos.h (ctrl_break_func, install_ctrl_break_check):
 6623 	Remove unused prototypes.
 6624 
 6625 2010-07-07  Juanma Barranquero  <lekktu@gmail.com>
 6626 
 6627 	* coding.c, sysdep.c: Convert some more functions to standard C.
 6628 
 6629 2010-07-07  Juanma Barranquero  <lekktu@gmail.com>
 6630 
 6631 	* coding.c (decode_coding_gap, encode_coding_gap, decode_coding_object)
 6632 	(encode_coding_object): Use SPECPDL_INDEX.
 6633 	(syms_of_coding): Use DOS_NT.
 6634 
 6635 2010-07-07  Dan Nicolaescu  <dann@ics.uci.edu>
 6636 
 6637 	* intervals.h (interval): Use EMACS_UINT instead of unsigned EMACS_INT.
 6638 
 6639 	Make the function member of Lisp_Subr use standard C prototypes.
 6640 	* lisp.h (struct Lisp_Subr): Use a union for the function member.
 6641 	(DECL_ALIGN): Add a cast for the function.
 6642 	* eval.c (Feval, Ffuncall): Use the proper type for each type
 6643 	function call.
 6644 
 6645 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
 6646 
 6647 	* fringe.c (draw_fringe_bitmap_1): Use lookup_named_face to get
 6648 	fringe face id, so face-remapping-alist works (Bug#6091).
 6649 
 6650 2010-07-06  Juanma Barranquero  <lekktu@gmail.com>
 6651 
 6652 	* w32.c, w32console.c, w32fns.c, w32font.c, w32heap.c, w32inevt.c
 6653 	* w32menu.c, w32proc.c, w32reg.c, w32select.c, w32term.c
 6654 	* w32uniscribe.c, w32xfns.c: Convert function definitions to standard C.
 6655 
 6656 2010-07-06  Andreas Schwab  <schwab@linux-m68k.org>
 6657 
 6658 	* xterm.c (x_get_keysym_name): Change type of parameter to int.
 6659 	* lisp.h: Declare x_get_keysym_name.
 6660 	* keyboard.c (modify_event_symbol): Don't declare
 6661 	x_get_keysym_name here.
 6662 
 6663 2010-07-06  Dan Nicolaescu  <dann@ics.uci.edu>
 6664 
 6665 	* ecrt0.c: Revert conversion to standard C.
 6666 
 6667 2010-07-05  Dan Nicolaescu  <dann@ics.uci.edu>
 6668 
 6669 	* vm-limit.c (memory_warnings):
 6670 	* keyboard.c (modify_event_symbol):
 6671 	* floatfns.c (rounding_driver, ceiling2, floor2, truncate2)
 6672 	(round2, emacs_rint):
 6673 	* process.c (send_process, old_sigpipe): Convert function
 6674 	definitions and declarations to standard C.
 6675 
 6676 2010-07-05  Juanma Barranquero  <lekktu@gmail.com>
 6677 
 6678 	* buffer.c, cm.c, eval.c, keyboard.c, process.c, term.c, vm-limit.c,
 6679 	* xdisp.c: Convert function definitions to standard C.
 6680 
 6681 	* cm.c (cmputc): Arg C is now int, not char.
 6682 	* process.c (Fmake_network_process): Cast sockaddr_in* to sockaddr*.
 6683 
 6684 2010-07-05  James Cloos  <cloos@jhcloos.com>
 6685 
 6686 	* xterm.h (Xatom_net_wm_name, Xatom_net_wm_icon_name): New.
 6687 
 6688 	* xterm.c (x_term_init): Intern the _NET_WM_NAME and
 6689 	_NET_WM_ICON_NAME atoms.
 6690 
 6691 	* xfns.c (x_set_name_internal): Set the EWMH _NET_WM_NAME
 6692 	and _NET_WM_ICON_NAME properties, too, matching what is
 6693 	done in the Gtk+ case.
 6694 
 6695 2010-07-05  Jan Djärv  <jan.h.d@swipnet.se>
 6696 
 6697 	* xterm.c (XTring_bell, XTset_terminal_window): Fix wrong prototype.
 6698 
 6699 	* xsmfns.c (SSDATA): New macro.
 6700 	(smc_save_yourself_CB, x_session_initialize): Use SSDATA for strings
 6701 	passed to strlen/strcpy/strcat.
 6702 	(create_client_leader_window): Surround with #ifndef USE_GTK.
 6703 	Cast 7:th arg to XChangeProperty to (unsigned char *).
 6704 
 6705 	* xsettings.c (something_changedCB, parse_settings)
 6706 	(apply_xft_settings): Reformat prototype.
 6707 	(something_changedCB, init_gconf): Remove unused variable i.
 6708 	(read_settings): Remove unused variable long_len.
 6709 
 6710 	* gtkutil.c (xg_get_pixbuf_from_pix_and_mask)
 6711 	(xg_get_image_for_pixmap, create_dialog)
 6712 	(xg_get_file_with_selection, xg_get_file_name, update_cl_data)
 6713 	(menuitem_highlight_callback, make_menu_item)
 6714 	(xg_create_one_menuitem, create_menus, xg_update_menu_item)
 6715 	(xg_create_scroll_bar, xg_update_scrollbar_pos)
 6716 	(xg_set_toolkit_scroll_bar_thumb, xg_tool_bar_button_cb)
 6717 	(xg_tool_bar_proxy_help_callback, xg_tool_bar_detach_callback)
 6718 	(xg_tool_bar_attach_callback, xg_tool_bar_help_callback)
 6719 	(xg_tool_bar_item_expose_callback): Reformat prototype.
 6720 	(xg_update_menubar): GList *group => GSList *group.
 6721 	(xg_modify_menubar_widgets): Initialize witem to 0, check witem != 0
 6722 	before use.
 6723 	(update_frame_tool_bar): 4:th param to xg_get_image_for_pixmap changed
 6724 	to GTK_IMAGE (wimage).
 6725 
 6726 2010-07-05  Dan Nicolaescu  <dann@ics.uci.edu>
 6727 
 6728 	* atimer.c: Use "" instead of <> for local includes for
 6729 	consistency with the rest of the code.
 6730 
 6731 	* xsmfns.c (smc_save_yourself_CB, smc_error_handler):
 6732 	* xrdb.c (get_system_name):
 6733 	* window.c (shrink_windows):
 6734 	* syntax.c (forw_comment):
 6735 	* scroll.c (calculate_scrolling, calculate_direct_scrolling)
 6736 	(ins_del_costs):
 6737 	* mem-limits.h (start_of_data):
 6738 	* lread.c (readevalloop):
 6739 	* gtkutil.c (xg_dialog_response_cb, xg_get_file_with_chooser)
 6740 	(xg_get_file_with_selection, xg_update_menubar, xg_update_submenu):
 6741 	* frame.c (x_get_focus_frame):
 6742 	* floatfns.c (fmod_float):
 6743 	* fileio.c (choose_write_coding_system):
 6744 	* emacs.c (fatal_error_signal, init_cmdargs, argmatch)
 6745 	(malloc_initialize_hook, sort_args, synchronize_locale):
 6746 	* doprnt.c (doprnt):
 6747 	* dired.c (compile_pattern):
 6748 	* data.c (fmod_float):
 6749 	* chartab.c (map_sub_char_table, map_sub_char_table_for_charset)
 6750 	(map_char_table_for_charset):
 6751 	* charset.c (define_charset_internal):
 6752 	* alloc.c (Fgarbage_collect): Convert declarations or definitions
 6753 	to standard C.
 6754 
 6755 2010-07-04  Tetsurou Okazaki  <okazaki@be.to>  (tiny change)
 6756 	    Stefan Monnier  <monnier@iro.umontreal.ca>
 6757 
 6758 	* lread.c (read1): Fix up last change to not mess up `c'.
 6759 
 6760 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
 6761 
 6762 	* strftime.c: Revert conversion to standard C (2010-07-04T07:50:25Z!dann@ics.uci.edu).
 6763 
 6764 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
 6765 
 6766 	Fix prototypes.
 6767 
 6768 	* atimer.c (start_atimer): Use EMACS_TIME, not struct timeval.
 6769 	* dired.c (file_name_completion_stat): Use DIRENTRY, not struct dirent.
 6770 	* fileio.c (read_non_regular, read_non_regular_quit): Add Lisp_Object
 6771 	arg, as required by internal_condition_case_1.
 6772 	* print.c (strout): Use const char* for arg PTR.
 6773 	* regex.c (bcmp_translate): Use RE_TRANSLATE_TYPE, not Lisp_Object.
 6774 	(analyse_first): Fix "const const".
 6775 	* sysdep.c (set_file_times): Use EMACS_TIME, not struct timeval.
 6776 	* unexelf.c (round_up, find_section): Use ElfW macro for arguments.
 6777 	* xgselect.c (xg_select): Use SELECT_TYPE, EMACS_TIME.
 6778 
 6779 2010-07-04  Dan Nicolaescu  <dann@ics.uci.edu>
 6780 
 6781 	* alloc.c: Convert function definitions to standard C.
 6782 	* atimer.c:
 6783 	* bidi.c:
 6784 	* bytecode.c:
 6785 	* callint.c:
 6786 	* callproc.c:
 6787 	* casefiddle.c:
 6788 	* casetab.c:
 6789 	* category.c:
 6790 	* ccl.c:
 6791 	* character.c:
 6792 	* charset.c:
 6793 	* chartab.c:
 6794 	* cmds.c:
 6795 	* coding.c:
 6796 	* composite.c:
 6797 	* data.c:
 6798 	* dbusbind.c:
 6799 	* dired.c:
 6800 	* dispnew.c:
 6801 	* doc.c:
 6802 	* doprnt.c:
 6803 	* ecrt0.c:
 6804 	* editfns.c:
 6805 	* fileio.c:
 6806 	* filelock.c:
 6807 	* filemode.c:
 6808 	* fns.c:
 6809 	* font.c:
 6810 	* fontset.c:
 6811 	* frame.c:
 6812 	* fringe.c:
 6813 	* ftfont.c:
 6814 	* ftxfont.c:
 6815 	* gtkutil.c:
 6816 	* indent.c:
 6817 	* insdel.c:
 6818 	* intervals.c:
 6819 	* keymap.c:
 6820 	* lread.c:
 6821 	* macros.c:
 6822 	* marker.c:
 6823 	* md5.c:
 6824 	* menu.c:
 6825 	* minibuf.c:
 6826 	* prefix-args.c:
 6827 	* print.c:
 6828 	* ralloc.c:
 6829 	* regex.c:
 6830 	* region-cache.c:
 6831 	* scroll.c:
 6832 	* search.c:
 6833 	* sound.c:
 6834 	* strftime.c:
 6835 	* syntax.c:
 6836 	* sysdep.c:
 6837 	* termcap.c:
 6838 	* terminal.c:
 6839 	* terminfo.c:
 6840 	* textprop.c:
 6841 	* tparam.c:
 6842 	* undo.c:
 6843 	* unexelf.c:
 6844 	* window.c:
 6845 	* xfaces.c:
 6846 	* xfns.c:
 6847 	* xfont.c:
 6848 	* xftfont.c:
 6849 	* xgselect.c:
 6850 	* xmenu.c:
 6851 	* xrdb.c:
 6852 	* xselect.c:
 6853 	* xsettings.c:
 6854 	* xsmfns.c:
 6855 	* xterm.c: Likewise.
 6856 
 6857 2010-07-03  Eli Zaretskii  <eliz@gnu.org>
 6858 
 6859 	* msdos.c (IT_set_frame_parameters): Fix setting of colors in
 6860 	frames other than the initial one.  Fix reversal of colors when
 6861 	`reverse' is specified in the frame parameters.
 6862 	Call update_face_from_frame_parameter instead of
 6863 	internal-set-lisp-face-attribute.  Initialize screen colors from
 6864 	initial_screen_colors[] when f->default_face_done_p is zero,
 6865 	instead of depending on being called with default-frame-alist as
 6866 	the alist argument.
 6867 
 6868 	* xfaces.c (update_face_from_frame_parameter): Move out of
 6869 	HAVE_WINDOW_SYSTEM portion.  Condition window-system only parts
 6870 	with HAVE_WINDOW_SYSTEM.
 6871 
 6872 	* msdos.c (IT_set_frame_parameters): Set menu-bar-lines according
 6873 	to menu-bar-mode, if not set in the frame parameters or in
 6874 	default-frame-alist.
 6875 
 6876 	* w32console.c (sys_tputs): Adjust argument list to prototype in
 6877 	term.c.
 6878 
 6879 2010-07-03  Juanma Barranquero  <lekktu@gmail.com>
 6880 
 6881 	* lisp.h (memory_warnings): Fix prototype.
 6882 
 6883 	* cm.h (evalcost): Fix prototype.
 6884 
 6885 	* cm.c (evalcost): Fix arg type.
 6886 
 6887 2010-07-02  Dan Nicolaescu  <dann@ics.uci.edu>
 6888 
 6889 	* term.c (term_clear_mouse_face, Fidentity):
 6890 	* syssignal.h (signal_handler_t):
 6891 	* lisp.h (memory_warnings):
 6892 	* coding.h (preferred_coding_system):
 6893 	* cm.h (evalcost):
 6894 	* blockinput.h (reinvoke_input_signal): Convert to standard C prototypes.
 6895 
 6896 2010-07-02  Eli Zaretskii  <eliz@gnu.org>
 6897 
 6898 	* dosfns.h (msdos_stdcolor_idx, msdos_stdcolor_name): Remove P_
 6899 	from prototypes.
 6900 
 6901 	* msdos.h (load_pixmap): Don't define away.
 6902 
 6903 2010-07-02  Jan Djärv  <jan.h.d@swipnet.se>
 6904 
 6905 	* lisp.h:
 6906 	* atimer.h: Remove define for P_.
 6907 
 6908 	* alloc.c: Remove __P and P_ from .c and .m files.
 6909 	* atimer.c:
 6910 	* buffer.c:
 6911 	* callint.c:
 6912 	* category.c:
 6913 	* charset.c:
 6914 	* chartab.c:
 6915 	* cm.c:
 6916 	* coding.c:
 6917 	* composite.c:
 6918 	* data.c:
 6919 	* dired.c:
 6920 	* dispnew.c:
 6921 	* doc.c:
 6922 	* editfns.c:
 6923 	* emacs.c:
 6924 	* eval.c:
 6925 	* fileio.c:
 6926 	* filelock.c:
 6927 	* fns.c:
 6928 	* font.c:
 6929 	* fontset.c:
 6930 	* frame.c:
 6931 	* ftfont.c:
 6932 	* ftxfont.c:
 6933 	* gmalloc.c:
 6934 	* gtkutil.c:
 6935 	* image.c:
 6936 	* indent.c:
 6937 	* intervals.c:
 6938 	* keyboard.c:
 6939 	* keymap.c:
 6940 	* lread.c:
 6941 	* marker.c:
 6942 	* menu.c:
 6943 	* minibuf.c:
 6944 	* print.c:
 6945 	* process.c:
 6946 	* scroll.c:
 6947 	* search.c:
 6948 	* sound.c:
 6949 	* strftime.c:
 6950 	* syntax.c:
 6951 	* sysdep.c:
 6952 	* term.c:
 6953 	* terminal.c:
 6954 	* textprop.c:
 6955 	* unexalpha.c:
 6956 	* w32console.c:
 6957 	* w32fns.c:
 6958 	* w32font.c:
 6959 	* w32menu.c:
 6960 	* w32term.c:
 6961 	* w32uniscribe.c:
 6962 	* window.c:
 6963 	* xdisp.c:
 6964 	* xfaces.c:
 6965 	* xfns.c:
 6966 	* xfont.c:
 6967 	* xftfont.c:
 6968 	* xmenu.c:
 6969 	* xselect.c:
 6970 	* xterm.c: Likewise.
 6971 
 6972 	Remove P_ and __P macros.
 6973 	* atimer.h: Remove P_ and __P macros.
 6974 	* buffer.h:
 6975 	* category.h:
 6976 	* ccl.h:
 6977 	* character.h:
 6978 	* charset.h:
 6979 	* cm.h:
 6980 	* coding.h:
 6981 	* composite.h:
 6982 	* dispextern.h:
 6983 	* disptab.h:
 6984 	* dosfns.h:
 6985 	* font.h:
 6986 	* fontset.h:
 6987 	* frame.h:
 6988 	* gtkutil.h:
 6989 	* indent.h:
 6990 	* intervals.h:
 6991 	* keyboard.h:
 6992 	* keymap.h:
 6993 	* lisp.h:
 6994 	* macros.h:
 6995 	* md5.h:
 6996 	* menu.h:
 6997 	* msdos.h:
 6998 	* nsterm.h:
 6999 	* puresize.h:
 7000 	* region-cache.h:
 7001 	* syntax.h:
 7002 	* syssignal.h:
 7003 	* systime.h:
 7004 	* termhooks.h:
 7005 	* w32font.h:
 7006 	* w32term.h:
 7007 	* widget.h:
 7008 	* window.h:
 7009 	* xgselect.h:
 7010 	* xsettings.h:
 7011 	* xterm.h: Likewise.
 7012 
 7013 2010-07-02  Dan Nicolaescu  <dann@ics.uci.edu>
 7014 
 7015 	* lisp.h: Document that USE_LISP_UNION_TYPE is now enabled using autoconf.
 7016 
 7017 	Cleanup old code.
 7018 	* dired.c (BSD4_3): Remove all uses, redundant with BSD4_2.
 7019 	* syssignal.h: Remove code for Lynx, not supported anymore.
 7020 	* vm-limit.c: Remove unused code the depends on emacs not being
 7021 	defined and NO_LIM_DATA being defined.
 7022 	* mem-limits.h: Remove dead code.
 7023 
 7024 2010-07-01  Jan Djärv  <jan.h.d@swipnet.se>
 7025 
 7026 	* window.c (Fwindow_absolute_pixel_edges): Doc fix.
 7027 
 7028 	* window.c (calc_absolute_offset, Fwindow_absolute_pixel_edges)
 7029 	(Fwindow_inside_absolute_pixel_edges): New functions (bug#5721).
 7030 
 7031 	* nsfns.m (compute_tip_xy): Do not convert coordinates from frame
 7032 	parameters, they are already absolute.
 7033 
 7034 	* nsterm.m (x_set_window_size, initFrameFromEmacs):
 7035 	Rename FRAME_NS_TOOLBAR_HEIGHT to FRAME_TOOLBAR_HEIGHT.
 7036 
 7037 	* nsterm.h (FRAME_NS_TOOLBAR_HEIGHT): Rename to FRAME_TOOLBAR_HEIGHT.
 7038 
 7039 	* nsmenu.m (update_frame_tool_bar, free_frame_tool_bar):
 7040 	Update FRAME_TOOLBAR_HEIGHT.
 7041 
 7042 	* nsmenu.m (free_frame_tool_bar, update_frame_tool_bar):
 7043 	Add BLOCK/UNBLOCK_INPUT so asserts don't trigger.
 7044 
 7045 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
 7046 
 7047 	* frame.c (get_future_frame_param, Fmake_terminal_frame):
 7048 	Don't check default-frame-alist.
 7049 
 7050 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
 7051 
 7052 	* process.c (create_process): Avoid using invalid file descriptors.
 7053 
 7054 	* callproc.c (child_setup): Avoid closing a file descriptor twice.
 7055 
 7056 2010-06-30  Jan Djärv  <jan.h.d@swipnet.se>
 7057 
 7058 	* xsettings.c (Ffont_get_system_normal_font, Ffont_get_system_font):
 7059 	Improve documentation.  Return font regardless of use_system_font.
 7060 	(syms_of_xsettings): Improve documentation for font-use-system-font.
 7061 
 7062 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
 7063 
 7064 	* xfaces.c (realize_face): Garbage the frame if a face is removed
 7065 	(Bug#6593).
 7066 
 7067 2010-07-05  Andreas Schwab  <schwab@linux-m68k.org>
 7068 
 7069 	* keyboard.c: Remove duplicate <setjmp.h>.
 7070 	(read_key_sequence): Remove volatile qualifiers.
 7071 
 7072 2010-07-05  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 7073 
 7074 	* dispextern.h (FRINGE_HEIGHT_BITS): New define.
 7075 	(struct glyph_row): New members left_fringe_offset and
 7076 	right_fringe_offset.
 7077 
 7078 	* xterm.c (x_draw_fringe_bitmap): Don't clip bottom aligned bitmap
 7079 	specially.
 7080 	* w32term.c (w32_draw_fringe_bitmap): Likewise.
 7081 	* nsterm.m (ns_draw_fringe_bitmap): Likewise.
 7082 
 7083 	* fringe.c (draw_fringe_bitmap_1): Don't clip bitmap here.
 7084 	Take account of bitmap offset.
 7085 	(draw_window_fringes): Take account of window vscroll.
 7086 	(update_window_fringes): Likewise.  Extend top-aligned top indicator
 7087 	or bottom-aligned bottom indicator to adjacent rows if it doesn't fit
 7088 	in one row.  Don't set redraw_fringe_bitmaps_p outside row comparison.
 7089 	Set left_fringe_offset and right_fringe_offset (Bug#5634, Bug#6325).
 7090 
 7091 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
 7092 
 7093 	* w32fns.c (Qtooltip): Declare.
 7094 	Suggested by Andy Moreton <andrewjmoreton@gmail.com>.
 7095 
 7096 2010-07-03  Jan Djärv  <jan.h.d@swipnet.se>
 7097 
 7098 	* xmenu.c (x_activate_menubar): Send Press/Release for Gtk+ to avoid
 7099 	grab on just Press (Bug#6499).
 7100 
 7101 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
 7102 
 7103 	* frame.c (Qtooltip): New var.
 7104 	(delete_frame): Use it.  Fix faulty if statement.  Don't update
 7105 	mode line for tooltip frames.  Suggested by Martin Rudalics.
 7106 
 7107 	* xfns.c (x_create_tip_frame):
 7108 	* w32fns.c (x_create_tip_frame): Use it.
 7109 
 7110 2010-06-17  Naohiro Aota  <naota@elisp.net>  (tiny change)
 7111 
 7112 	* xftfont.c (xftfont_open): Check font width one by one also when
 7113 	spacing is dual.
 7114 
 7115 	* ftfont.c (ftfont_open): Ditto.
 7116 
 7117 2010-06-30  Glenn Morris  <rgm@gnu.org>
 7118 
 7119 	* s/sol2-6.h (INHIBIT_X11R6_XIM): Remove, handled by configure now.
 7120 
 7121 	* Makefile.in (CANNOT_DUMP): Update for configure name change.
 7122 
 7123 	* s/freebsd.h (USE_MMAP_FOR_BUFFERS):
 7124 	* s/irix6-5.h (USE_MMAP_FOR_BUFFERS):
 7125 	* s/darwin.h (SYSTEM_MALLOC):
 7126 	* s/sol2-10.h (SYSTEM_MALLOC): Move to configure.
 7127 
 7128 2010-06-29  Jan Djärv  <jan.h.d@swipnet.se>
 7129 
 7130 	* nsfns.m: extern declare Vmenu_bar_mode, Vtool_bar_mode.
 7131 	(ns_get_screen): Don't assign integer to f.
 7132 	(Fx_display_color_cells): Declarations before statements.
 7133 
 7134 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
 7135 
 7136 	* xfns.c (x_default_font_parameter): Remove got_from_system
 7137 	(Bug#6526).
 7138 
 7139 	* xterm.h (gtk_widget_get_window, gtk_widget_get_mapped)
 7140 	(gtk_adjustment_get_page_size, gtk_adjustment_get_upper):
 7141 	New defines based on what configure finds.
 7142 
 7143 	* xterm.c (XTflash): Use gtk_widget_get_window.
 7144 	(xg_scroll_callback): Use gtk_adjustment_get_upper and
 7145 	gtk_adjustment_get_page_size.
 7146 	(handle_one_xevent): Use gtk_widget_get_mapped.
 7147 	(x_term_init): Remove HAVE_GTK_MULTIDISPLAY and associated error
 7148 	messages.
 7149 
 7150 	* xmenu.c (create_and_show_popup_menu): Call gtk_widget_get_mapped.
 7151 
 7152 	* gtkutil.h: Replace HAVE_GTK_FILE_BOTH with
 7153 	HAVE_GTK_FILE_SELECTION_NEW.
 7154 
 7155 	* gtkutil.c (xg_display_open, xg_display_close):
 7156 	Remove HAVE_GTK_MULTIDISPLAY, it is always defined.
 7157 	(xg_display_open): Return type is void.
 7158 	(gtk_widget_set_has_window)
 7159 	(gtk_dialog_get_action_area, gtk_dialog_get_content_area)
 7160 	(gtk_widget_get_sensitive, gtk_adjustment_set_page_size)
 7161 	(gtk_adjustment_set_page_increment)
 7162 	(gtk_adjustment_get_step_increment): #define these if not found
 7163 	by configure.
 7164 	(remove_submenu): New define based on Gtk+ version.
 7165 	(xg_set_cursor, xg_frame_resized, xg_event_is_for_scrollbar):
 7166 	Use gtk_widget_get_window.
 7167 	(xg_frame_resized, xg_update_frame_menubar): Use gtk_widget_get_mapped.
 7168 	(xg_create_frame_widgets): Use gtk_widget_set_has_window.
 7169 	(create_dialog): Use gtk_dialog_get_action_area and
 7170 	gtk_dialog_get_content_area.
 7171 	(xg_uses_old_file_dialog, xg_get_file_name): Remove HAVE_GTK_FILE_BOTH
 7172 	and HAVE_GTK_FILE_CHOOSER_DIALOG_NEW.  File chooser is always
 7173 	available, so checking for HAVE_GTK_FILE_SELECTION_NEW is enough.
 7174 	(xg_update_menubar, xg_update_submenu, xg_show_toolbar_item):
 7175 	Use g_object_ref and g_object_unref.
 7176 	(xg_update_menu_item, xg_tool_bar_menu_proxy):
 7177 	Use gtk_widget_get_sensitive.
 7178 	(xg_update_submenu): Use remove_submenu.
 7179 	(xg_update_scrollbar_pos): Don't use GtkFixedChild, use child
 7180 	properties instead to get old x and y position.
 7181 	(xg_set_toolkit_scroll_bar_thumb): Use gtk_adjustment_get_page_size,
 7182 	gtk_adjustment_get_step_increment, gtk_adjustment_set_page_size,
 7183 	gtk_adjustment_set_step_increment and gtk_adjustment_set_page_increment.
 7184 	(xg_get_tool_bar_widgets): New function.
 7185 	(xg_tool_bar_menu_proxy, xg_show_toolbar_item)
 7186 	(update_frame_tool_bar): Call xg_get_tool_bar_widgets.
 7187 	(toolbar_set_orientation): New #define based on if configure
 7188 	finds gtk_orientable_set_orientation.
 7189 	(xg_create_tool_bar): Call toolbar_set_orientation.
 7190 	(xg_make_tool_item, xg_show_toolbar_item): Call gtk_box_pack_start
 7191 	instead of gtk_box_pack_start_defaults.
 7192 
 7193 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
 7194 
 7195 	* cmds.c (Fdelete_backward_char): Move into Lisp.
 7196 
 7197 2010-06-27  Dan Nicolaescu  <dann@ics.uci.edu>
 7198 
 7199 	* s/freebsd.h (BSD4_2): Remove redundant definition.
 7200 	bsd-common.h defines it already.
 7201 
 7202 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
 7203 
 7204 	* xfns.c (Fx_create_frame): Don't consult X resources when setting
 7205 	menu-bar-lines and tool-bar-lines.  Use menu-bar-mode and
 7206 	tool-bar-mode, which are now set using these X resources at
 7207 	startup, to determine the defaults (Bug#2249).
 7208 
 7209 	* w32fns.c (Fx_create_frame):
 7210 	* nsfns.m (Fx_create_frame): Likewise.
 7211 
 7212 	* frame.c (Vmenu_bar_mode, Vtool_bar_mode): New vars.
 7213 
 7214 2010-06-24  Juanma Barranquero  <lekktu@gmail.com>
 7215 
 7216 	* gtkutil.c (xg_update_scrollbar_pos):
 7217 	Avoid C99 mid-block variable declaration.
 7218 
 7219 2010-06-22  Jan Djärv  <jan.h.d@swipnet.se>
 7220 
 7221 	* xterm.c (x_scroll_bar_create): Remove call to xg_show_scroll_bar.
 7222 
 7223 	* gtkutil.h (xg_show_scroll_bar): Remove.
 7224 
 7225 	* gtkutil.c (xg_update_scrollbar_pos): Show/hide scroll bar as needed
 7226 	if height is less than scroll bar min size.
 7227 	(xg_show_scroll_bar): Remove, show moved to xg_update_scrollbar_pos.
 7228 
 7229 	* xfns.c (x_default_font_parameter): Try to open font from system
 7230 	before using it (bug#6478).  Rename got_from_gconf to got_from_system.
 7231 
 7232 2010-06-22  Keith Packard  <keithp@keithp.com>  (tiny change)
 7233 
 7234 	* font.c (font_parse_fcname): Allow . for sizes like 7.5 (bug#6437).
 7235 
 7236 2010-06-20  Eli Zaretskii  <eliz@gnu.org>
 7237 
 7238 	* xdisp.c (try_scrolling): When scroll-conservatively is set to
 7239 	most-positive-fixnum, be extra accurate when scrolling window
 7240 	start, to avoid missing the cursor line.
 7241 
 7242 2010-06-19  Eli Zaretskii  <eliz@gnu.org>
 7243 
 7244 	* xdisp.c (try_scrolling): Compute the limit for searching point
 7245 	in forward scroll from scroll_max, instead of an arbitrary limit
 7246 	of 10 screen lines.
 7247 	See http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00766.html
 7248 	and
 7249 	http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00773.html
 7250 	for details.
 7251 
 7252 2010-06-16  Glenn Morris  <rgm@gnu.org>
 7253 
 7254 	* editfns.c (Fbyte_to_string): Pacify compiler.
 7255 
 7256 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
 7257 
 7258 	* lread.c (read1): Phase out old-style backquotes a bit more.
 7259 
 7260 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
 7261 
 7262 	* makefile.w32-in ($(BLD)/bidi.$(O)): Depend on biditype.h and
 7263 	bidimirror.h.
 7264 
 7265 	* deps.mk (bidi.o): Depend on biditype.h and bidimirror.h.
 7266 
 7267 	* bidi.c (bidi_initialize): Remove explicit initialization of
 7268 	bidi_type_table; include biditype.h instead.  Don't support
 7269 	entries whose second codepoint is zero.  Initialize bidi_mirror_table.
 7270 	(bidi_mirror_char): Use bidi_mirror_table.
 7271 
 7272 	* biditype.h: New file.
 7273 
 7274 	* bidimirror.h: New file.
 7275 
 7276 	* window.c (syms_of_window): Doc fix (bug#6409).
 7277 
 7278 2010-06-12  Romain Francoise  <romain@orebokech.com>
 7279 
 7280 	* Makefile.in (lisp, shortlisp): Use new location of vc-hooks and
 7281 	ediff-hook.
 7282 
 7283 2010-06-10  Glenn Morris  <rgm@gnu.org>
 7284 
 7285 	* editfns.c (Fbyte_to_string): Pacify compiler.
 7286 
 7287 	* m/ibms390x.h: Rather than duplicating ibms390.h, just include it.
 7288 
 7289 2010-06-26  Andreas Schwab  <schwab@linux-m68k.org>
 7290 
 7291 	* alloc.c (Fmake_byte_code): Don't access undefined argument
 7292 	(Bug#6517).
 7293 
 7294 2010-06-25  Chong Yidong  <cyd@stupidchicken.com>
 7295 
 7296 	* xdisp.c (next_element_from_image): Ensure that after-strings are
 7297 	read the next time we hit handle_stop (Bug#1336).
 7298 
 7299 2010-06-23  Andreas Schwab  <schwab@linux-m68k.org>
 7300 
 7301 	* lread.c (read1): Signal error if #s is not followed by paren.
 7302 
 7303 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
 7304 
 7305 	* image.c (free_image): Mark frame as garbaged (Bug#6426).
 7306 
 7307 	* keymap.c (Fdefine_key): Doc fix (Bug#6460).
 7308 
 7309 2010-06-15  Glenn Morris  <rgm@gnu.org>
 7310 
 7311 	* editfns.c (Fbyte_to_string): Pacify compiler.
 7312 
 7313 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
 7314 
 7315 	* dbusbind.c (xd_append_arg): Don't "make-unibyte" the string.
 7316 	Check `object's type before accessing its guts.
 7317 
 7318 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
 7319 
 7320 	* s/usg5-4.h: Fix previous change.
 7321 	Suggested by Lawrence Mitchell <wence@gmx.li>
 7322 
 7323 2010-06-08  Andreas Schwab  <schwab@linux-m68k.org>
 7324 
 7325 	* minibuf.c (Fall_completions): Add more checks.
 7326 
 7327 2010-06-08  Juanma Barranquero  <lekktu@gmail.com>
 7328 
 7329 	* minibuf.c (Fall_completions): Check COLLECTION's size (bug#6378).
 7330 
 7331 2010-06-08  Dan Nicolaescu  <dann@ics.uci.edu>
 7332 
 7333 	* lread.c (X_OK): Remove, unused.
 7334 
 7335 	* dispnew.c: Remove obsolete comment.
 7336 
 7337 	Remove INCLUDED_FCNTL.
 7338 	* xterm.c (INCLUDED_FCNTL):
 7339 	* callproc.c (INCLUDED_FCNTL):
 7340 	* alloc.c (INCLUDED_FCNTL):
 7341 	* systty.h (INCLUDED_FCNTL): Remove all uses, not needed anymore.
 7342 	(emacs_get_tty, emacs_set_tty): Declare unconditionally.
 7343 
 7344 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
 7345 
 7346 	* window.c (Fselect_window): Move `record_buffer' up to the
 7347 	beginning of this function, so the buffer gets recorded
 7348 	even if the selected window does not change.
 7349 	http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00137.html
 7350 
 7351 2010-06-07  Juanma Barranquero  <lekktu@gmail.com>
 7352 
 7353 	* cmds.c (Fforward_char, Fbackward_char): Fix typos in docstrings.
 7354 	(Fforward_line, Fbeginning_of_line): Reflow docstrings.
 7355 
 7356 2010-06-06  Dan Nicolaescu  <dann@ics.uci.edu>
 7357 
 7358 	Remove BSTRING related code, all platforms define it.
 7359 	* s/usg5-4.h (BSTRING): Remove definition.
 7360 	* s/template.h (BSTRING):
 7361 	* s/msdos.h (BSTRING):
 7362 	* s/ms-w32.h (BSTRING):
 7363 	* s/hpux10-20.h (BSTRING):
 7364 	* s/gnu-linux.h (BSTRING):
 7365 	* s/darwin.h (BSTRING):
 7366 	* s/cygwin.h (BSTRING):
 7367 	* s/bsd-common.h (BSTRING):
 7368 	* s/aix4-2.h (BSTRING): Likewise.
 7369 	* sysdep.c: Remove code depending on BSTRING not being defined.
 7370 
 7371 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
 7372 
 7373 	Remove obsolete macro BASE_LEADING_CODE_P.
 7374 	* character.h (BASE_LEADING_CODE_P): Remove.
 7375 	* regex.c [!emacs] (BASE_LEADING_CODE_P): Remove.
 7376 	* buffer.c (Fset_buffer_multibyte):
 7377 	* indent.c (scan_for_column, compute_motion):
 7378 	* insdel.c (count_combining_before, count_combining_after):
 7379 	Use LEADING_CODE_P instead of BASE_LEADING_CODE_P.
 7380 
 7381 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
 7382 
 7383 	Turn `directory-sep-char' into a noop.
 7384 
 7385 	* lisp.h [WINDOWSNT] (Vdirectory_sep_char): Don't declare.
 7386 	(DIRECTORY_SEP): Define unconditionally.
 7387 
 7388 	* s/ms-w32.h (DIRECTORY_SEP): Remove.
 7389 
 7390 	* emacs.c (decode_env_path): Don't check DIRECTORY_SEP,
 7391 	call dostounix_filename directly.
 7392 
 7393 	* fileio.c (CORRECT_DIR_SEPS): Remove.
 7394 	(Ffile_name_directory, directory_file_name, Fexpand_file_name)
 7395 	(Fsubstitute_in_file_name): Use dostounix_filename instead.
 7396 	(file_name_as_directory): Use dostounix_filename, DIRECTORY_SEP.
 7397 	(syms_of_fileio) <directory-sep-char>: Move to subr.el.
 7398 
 7399 	* w32proc.c (CORRECT_DIR_SEPS): Remove.
 7400 	(Fw32_short_file_name, Fw32_long_file_name): Use dostounix_filename.
 7401 
 7402 2010-06-03  Andreas Schwab  <schwab@linux-m68k.org>
 7403 
 7404 	* process.c (conv_lisp_to_sockaddr): Fix conversion of IPv4 address.
 7405 	(Bug#6346)
 7406 
 7407 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
 7408 
 7409 	* ccl.c (Fccl_program_p): Fix typo in docstring.
 7410 
 7411 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
 7412 
 7413 	Move UNEXEC definition to autoconf.
 7414 	* s/usg5-4.h (UNEXEC): Remove, move to configure.in.
 7415 	* s/sol2-10.h (UNEXEC):
 7416 	* s/irix6-5.h (UNEXEC):
 7417 	* s/hpux10-20.h (UNEXEC):
 7418 	* s/gnu-linux.h (UNEXEC):
 7419 	* s/darwin.h (UNEXEC):
 7420 	* s/cygwin.h (UNEXEC):
 7421 	* s/bsd-common.h (UNEXEC):
 7422 	* s/aix4-2.h (UNEXEC):
 7423 	* m/alpha.h (UNEXEC): Likewise.
 7424 	* Makefile.in (UNEXEC_OBJ): Define using @UNEXEC_OBJ@.
 7425 
 7426 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
 7427 
 7428 	Remove obsolete pre-unicode2 macros.
 7429 	* character.h (MULTIBYTE_FORM_LENGTH, PARSE_MULTIBYTE_SEQ): Remove.
 7430 	* composite.c (composition_reseat_it):
 7431 	* data.c (Faset):
 7432 	* fns.c (Ffillarray):
 7433 	* regex.c (re_search_2): Use BYTES_BY_CHAR_HEAD.
 7434 	[!emacs] (BYTES_BY_CHAR_HEAD): Define instead of MULTIBYTE_FORM_LENGTH.
 7435 
 7436 2010-06-03  Juri Linkov  <juri@jurta.org>
 7437 
 7438 	* buffer.c (Fother_buffer): Add CHECK_FRAME.
 7439 	(Fswitch_to_buffer): Remove unused variable `err'.
 7440 
 7441 2010-06-03  Glenn Morris  <rgm@gnu.org>
 7442 
 7443 	* m/template.h (NO_SOCK_SIGIO): Remove, no longer used.
 7444 
 7445 	* m/hp800.h (alloca) [__NetBSD__ && __GNUC__]: No need to define it,
 7446 	now that AH_BOTTOM does it.
 7447 
 7448 	* m/hp800.h (HAVE_ALLOCA):
 7449 	* m/ibms390x.h (HAVE_ALLOCA): Do not define, no longer needed.
 7450 
 7451 	* m/ia64.h, s/gnu-linux.h, s/gnu.h, s/netbsd.h, s/usg5-4.h:
 7452 	Remove NOT_C_CODE tests, it is always true now.
 7453 
 7454 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
 7455 
 7456 	Fix config.h includes.
 7457 	* xsettings.c:
 7458 	* xgselect.c:
 7459 	* nsterm.m:
 7460 	* nsselect.m:
 7461 	* nsimage.m:
 7462 	* nsfont.m:
 7463 	* nsfns.m:
 7464 	* dbusbind.c: Use #include <config.h> instead of "config.h" as all
 7465 	other files do.
 7466 
 7467 	* gmalloc.c: Remove BROKEN_PROTOTYPES reference, unused.
 7468 
 7469 	* s/sol2-6.h: Remove obsolete comments.
 7470 
 7471 	Remove unnecessary alloca.h includes.
 7472 	* keymap.c: Do not include alloca.h, config.h does that.
 7473 	* sysdep.c: Likewise.  Do not define fwrite, not used.
 7474 
 7475 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
 7476 
 7477 	* sysdep.c (child_setup_tty): Move the non-canonical initialization to
 7478 	the HAVE_TERMIO where it belongs (bug#6149).
 7479 
 7480 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
 7481 
 7482 	* keymap.c (Fwhere_is_internal): Fix handling of remapping (in thread
 7483 	of bug#6305).
 7484 
 7485 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
 7486 
 7487 	* bidi.c (bidi_move_to_visually_next): Make sure the sentinel
 7488 	state is always cached (bug#6306).
 7489 
 7490 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
 7491 
 7492 	Fix cursor motion in bidi-reordered continued lines.
 7493 	* xdisp.c (try_cursor_movement): Backup to non-continuation line
 7494 	only after finding point's row.  Fix the logic.  Rewrite the loop
 7495 	over continuation lines in bidi-reordered buffers.
 7496 	Return CURSOR_MOVEMENT_MUST_SCROLL upon failure to find a suitable row,
 7497 	rather than CURSOR_MOVEMENT_CANNOT_BE_USED.
 7498 
 7499 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
 7500 
 7501 	* fileio.c (Fdelete_file): Pass TRASH arg to handler call.
 7502 
 7503 2010-05-28  Kenichi Handa  <handa@m17n.org>
 7504 
 7505 	* font.c (font_delete_unmatched): Check Vface_ignored_fonts.
 7506 	Don't sheck SPEC if it is nil.
 7507 	(font_list_entities): Call font_delete_unmatched if
 7508 	Vface_ignored_fonts is non-nil.  (Bug#6287)
 7509 
 7510 2010-05-28  Glenn Morris  <rgm@gnu.org>
 7511 
 7512 	* Makefile.in (LIBES): Remove $LOADLIBES, it is never set.
 7513 
 7514 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
 7515 
 7516 	* fileio.c (Fdelete_file): Change meaning of optional arg to mean
 7517 	whether to trash.
 7518 	(internal_delete_file, Frename_file): Callers changed.
 7519 	(delete_by_moving_to_trash): Doc fix.
 7520 	(Fdelete_directory_internal): Don't move to trash.
 7521 
 7522 	* callproc.c (delete_temp_file):
 7523 	* buffer.c (Fkill_buffer): Callers changed.
 7524 
 7525 	* lisp.h: Update prototype.
 7526 
 7527 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
 7528 
 7529 	* xdisp.c (redisplay_window): After redisplay, check if point is
 7530 	still valid before setting it (Bug#6177).
 7531 
 7532 2010-05-27  Glenn Morris  <rgm@gnu.org>
 7533 
 7534 	* Makefile.in, autodeps.mk, deps.mk, ns.mk:
 7535 	Convert comments to Makefile format.
 7536 
 7537 	* Makefile.in (bootstrap-clean): No more Makefile.c.
 7538 
 7539 2010-05-26  Glenn Morris  <rgm@gnu.org>
 7540 
 7541 	* Makefile.in (YMF_PASS_LDFLAGS): Remove.
 7542 	(temacs${EXEEXT}): Use PRE_EDIT_LDFLAGS, POST_EDIT_LDFLAGS.
 7543 
 7544 	* Makefile.in (NS_IMPL_GNUSTEP_INC, NS_IMPL_GNUSTEP_TEMACS_LDFLAGS):
 7545 	Remove.
 7546 	(TEMACS_LDFLAGS): Do not use NS_IMPL_GNUSTEP_TEMACS_LDFLAGS.
 7547 
 7548 2010-05-26  Kenichi Handa  <handa@m17n.org>
 7549 
 7550 	* composite.c (composition_compute_stop_pos): Fix condition for
 7551 	backward scanning.
 7552 
 7553 2010-05-25  Glenn Morris  <rgm@gnu.org>
 7554 
 7555 	* Makefile.in (@NS_IMPL_GNUSTEP_INC@, NS_IMPL_GNUSTEP_TEMACS_LDFLAGS):
 7556 	Move before TEMACS_LDFLAGS.
 7557 	(TEMACS_LDFLAGS): Use $NS_IMPL_GNUSTEP_TEMACS_LDFLAGS.
 7558 	(temacs${EXEEXT}): Do not use $NS_IMPL_GNUSTEP_TEMACS_LDFLAGS.
 7559 
 7560 	* Makefile.in (NOT_C_CODE): No longer define.
 7561 	(config.h): No longer include.
 7562 
 7563 	* Makefile.in (LD_SWITCH_SYSTEM_TEMACS): Move definition after some
 7564 	variables it may reference.
 7565 
 7566 	* Makefile.in (LD_SWITCH_SYSTEM_EXTRA): Remove.
 7567 	(TEMACS_LDFLAGS): Remove LD_SWITCH_SYSTEM_EXTRA.
 7568 
 7569 2010-05-25  Kenichi Handa  <handa@m17n.org>
 7570 
 7571 	* dispextern.h (struct composition_it): New members rule_idx and
 7572 	charpos.
 7573 
 7574 	* xdisp.c (set_iterator_to_next): While scanning backward, assume
 7575 	that the character positions of IT point the last character of the
 7576 	current grapheme cluster.
 7577 	(next_element_from_composition): Don't change character positions
 7578 	of IT.
 7579 	(append_composite_glyph): Set glyph->charpos to
 7580 	it->cmp_it.charpos.
 7581 
 7582 	* composite.c (autocmp_chars): Change the first argument to RULE,
 7583 	and try composition with RULE only.
 7584 	(composition_compute_stop_pos): Record the index number of the
 7585 	composition rule in CMP_IT->rule_idx.
 7586 	(composition_reseat_it): Call autocmp_chars repeatedly until the
 7587 	correct rule of the composition is found.
 7588 	(composition_update_it): Set CMP_IT->charpos.  Assume the CHARPOS
 7589 	is at the last character of the current grapheme cluster when
 7590 	CMP_IT->reversed_p is nonzero.
 7591 
 7592 2010-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
 7593 
 7594 	* editfns.c (Fbyte_to_string): New function.
 7595 
 7596 2010-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
 7597 
 7598 	* process.c (Fmake_network_process): Set :host to nil if it's not used.
 7599 	Suggested by Masatake YAMATO <yamato@redhat.com>.
 7600 
 7601 2010-05-23  Eli Zaretskii  <eliz@gnu.org>
 7602 
 7603 	* dispextern.h (init_iterator): Sync prototype with changed definition.
 7604 
 7605 2010-05-20  enami tsugutomo  <tsugutomo.enami@jp.sony.com>
 7606 
 7607 	* s/netbsd.h: If terminfo is found, use it in preference to
 7608 	termcap.  (Bug#6190)  [Backport from trunk]
 7609 
 7610 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
 7611 
 7612 	Redesign and reimplement bidi-aware edge positions of glyph rows.
 7613 
 7614 	* dispextern.h (struct glyph_row): New members minpos and maxpos.
 7615 	(MATRIX_ROW_START_CHARPOS, MATRIX_ROW_START_BYTEPOS)
 7616 	(MATRIX_ROW_END_CHARPOS, MATRIX_ROW_END_BYTEPOS): Reference minpos
 7617 	and maxpos members instead of start.pos and end.pos, respectively.
 7618 
 7619 	* xdisp.c (display_line): Compare IT_CHARPOS with the position in
 7620 	row->start.pos, rather than with MATRIX_ROW_START_CHARPOS.
 7621 	(cursor_row_p): Use row->end.pos rather than MATRIX_ROW_END_CHARPOS.
 7622 	(try_window_reusing_current_matrix, try_window_id):
 7623 	Use ROW->minpos rather than ROW->start.pos.
 7624 	(init_from_display_pos, init_iterator): Use EMACS_INT for
 7625 	character and byte positions.
 7626 	(find_row_edges): Rename from find_row_end.  Accept additional
 7627 	arguments for minimum and maximum buffer positions seen by
 7628 	display_line for this row.  Don't use iterator to find the
 7629 	position following the maximum one; instead, increment the
 7630 	position found by display_line directly.  Fix logic; eol_pos
 7631 	should be tested before the rest.  Handle the case of characters
 7632 	delivered from display vector (bug#6036).  Fix tests related to
 7633 	it->method.  Handle the truncated_on_right_p rows.
 7634 	(RECORD_MAX_MIN_POS): New macro.
 7635 	(display_line): Use it to record the minimum and maximum buffer
 7636 	positions for glyphs in the row being assembled.  Record the
 7637 	position of the newline that terminates the line.  If word wrap is
 7638 	in effect, restore minimum and maximum positions seen up to the
 7639 	wrap point, when iterator returns to it.
 7640 	(try_window_reusing_current_matrix): Give up if in bidi-reordered
 7641 	row and cursor not already at point.  Restore original pre-bidi
 7642 	code for unidirectional buffers.
 7643 
 7644 	* dispnew.c (increment_row_positions, check_matrix_invariants):
 7645 	Increment and check row->start.pos and row->end.pos, in addition
 7646 	to MATRIX_ROW_START_CHARPOS and MATRIX_ROW_END_CHARPOS.
 7647 
 7648 	* .gdbinit (prowlims): Display row->minpos and row->maxpos.
 7649 	Display truncated_on_left_p and truncated_on_right_p flags.
 7650 	Formatting fixes.
 7651 	(pmtxrows): Display the ordinal number of each row.  Don't display
 7652 	rows beyond the last one.
 7653 
 7654 	* bidi.c (bidi_cache_iterator_state): Don't zero out new_paragraph:
 7655 	it is not copied by bidi_copy_it.
 7656 
 7657 2010-05-22  Eli Zaretskii  <eliz@gnu.org>
 7658 
 7659 	* w32.c (sys_write): Break writes into chunks smaller than 32MB.
 7660 	(Bug#6237)
 7661 
 7662 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
 7663 
 7664 	* image.c (Fimage_flush): Rename from image-refresh.
 7665 
 7666 2010-05-21  Chong Yidong  <cyd@stupidchicken.com>
 7667 
 7668 	* xdisp.c (redisplay_internal): Clear caches even if redisplaying
 7669 	just one window.
 7670 
 7671 	* image.c (Vimage_cache_eviction_delay): Decrease to 300.
 7672 	(clear_image_cache): If the number of cached images is unusually
 7673 	large, decrease the cache eviction delay (Bug#6230).
 7674 
 7675 2010-05-21  Glenn Morris  <rgm@gnu.org>
 7676 
 7677 	* Makefile.in (${ns_appdir}, ${ns_appbindir}Emacs, ns-app):
 7678 	Move these rules to ns.mk.
 7679 	* ns.mk: New file.
 7680 
 7681 	* Makefile.in (../src/$(OLDXMENU), $(OLDXMENU)): Always define rules.
 7682 
 7683 	* Makefile.in (CANNOT_DUMP): New, set by configure.
 7684 	(emacs${EXEEXT}, bootstrap-emacs${EXEEXT}): Use $CANNOT_DUMP.
 7685 
 7686 2010-05-20  Juri Linkov  <juri@jurta.org>
 7687 
 7688 	* fileio.c (Fdelete_file): Change interactive spec to use
 7689 	`read-file-name' like in `find-file-read-args' where the default
 7690 	value is `default-directory' instead of `buffer-file-name'.
 7691 	http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00533.html
 7692 
 7693 2010-05-20  Kevin Ryde  <user42@zip.com.au>
 7694 
 7695 	* keyboard.c (Vlast_command, Vkeyboard_translate_table)
 7696 	(Voverriding_terminal_local_map, Vsystem_key_alist)
 7697 	(Vlocal_function_key_map): Fix manual link in docstring (Bug#6224).
 7698 
 7699 2010-05-20  Glenn Morris  <rgm@gnu.org>
 7700 
 7701 	* Makefile.in (DEPDIR): New constant.
 7702 	(DEPFLAGS): Set with configure, not cpp.
 7703 	(MKDEPDIR): New, set by configure.
 7704 	(.c.o, .m.o, ecrt0.o): Use $MKDEPDIR.
 7705 	(clean): Use $DEPDIR.
 7706 	(deps_frag): Include from configure.
 7707 	Move static/dynamic dependency stuff to deps.mk/autodeps.mk.
 7708 	* deps.mk, autodeps.mk: New files, extracted from Makefile.in.
 7709 
 7710 	* bidi.c (bidi_cache_shrink, bidi_cache_iterator_state):
 7711 	Fix reallocation of the cache.  (Bug#6210)
 7712 
 7713 2010-05-19  Glenn Morris  <rgm@gnu.org>
 7714 
 7715 	* s/msdos.h (ORDINARY_LINK): Move to sed2v2.inp.
 7716 
 7717 	* Makefile.in (LD, YMF_PASS_LDFLAGS): Set with configure, not cpp.
 7718 	(GNULIB_VAR): Remove.
 7719 	(LIBES): Use LIB_GCC instead of GNULIB_VAR.
 7720 
 7721 	* m/ibms390x.h (LINKER):
 7722 	* m/macppc.h (LINKER) [GNU_LINUX]:
 7723 	* s/aix4-2.h (ORDINARY_LINK):
 7724 	* s/cygwin.h (LINKER):
 7725 	* s/darwin.h (ORDINARY_LINK):
 7726 	* s/gnu.h (ORDINARY_LINK):
 7727 	* s/netbsd.h (LINKER):
 7728 	* s/usg5-4.h (ORDINARY_LINK):
 7729 	Move to configure.
 7730 
 7731 	* s/aix4-2.h (LINKER): Remove; this file sets ORDINARY_LINK.
 7732 
 7733 2010-05-18  Chong Yidong  <cyd@stupidchicken.com>
 7734 
 7735 	* character.c (Fstring, Funibyte_string): Use SAFE_ALLOCA to
 7736 	prevent stack overflow if number of arguments is too large
 7737 	(Bug#6214).
 7738 
 7739 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
 7740 
 7741 	* charset.c (load_charset_map_from_file): Don't call close after fclose.
 7742 
 7743 2010-05-18  Glenn Morris  <rgm@gnu.org>
 7744 
 7745 	* s/gnu-linux.h: Combine two conditionals.
 7746 
 7747 	* Makefile.in (otherobj): Include $(VMLIMIT_OBJ) separately from
 7748 	$(POST_ALLOC_OBJ).
 7749 
 7750 	* Makefile.in (RALLOC_OBJ): New, set by configure.
 7751 	(rallocobj): Replace with the previous variable.
 7752 	(otherobj): Use $RALLOC_OBJ.
 7753 
 7754 	* s/gnu.h (REL_ALLOC) [DOUG_LEA_MALLOC]:
 7755 	* s/gnu-linux.h (REL_ALLOC) [DOUG_LEA_MALLOC]: Move undef to configure.
 7756 
 7757 	* Makefile.in (GMALLOC_OBJ, VMLIMIT_OBJ): New, set by configure.
 7758 	(gmallocobj, vmlimitobj): Replace with previous two variables.
 7759 	(otherobj): Use $GMALLOC_OBJ, $VMLIMIT_OBJ.
 7760 
 7761 2010-05-17  Glenn Morris  <rgm@gnu.org>
 7762 
 7763 	* Makefile.in (OLDXMENU_DEPS): New, set by configure.
 7764 	(stamp-oldxmenu): Use $OLDXMENU_DEPS.
 7765 
 7766 2010-05-16  Glenn Morris  <rgm@gnu.org>
 7767 
 7768 	* Makefile.in (${ns_appbindir}Emacs, ns-app): Always define these rules.
 7769 
 7770 	* Makefile.in (clean): Get rid of HAVE_NS conditional.
 7771 
 7772 	* Makefile.in (ns_appdir, ns_appbindir): Now configure adds the
 7773 	trailing "/".
 7774 
 7775 	* Makefile.in (TEMACS_LDFLAGS2): New, set by configure.
 7776 	(temacs${EXEEXT}): Combine the NS_IMPL_GNUSTEP case with the default.
 7777 
 7778 	* Makefile.in (GNUSTEP_SYSTEM_LIBRARIES): Remove, unused.
 7779 	(NS_IMPL_GNUSTEP_TEMACS_LDFLAGS): New, set by configure.
 7780 	(LD) [NS_IMPL_GNUSTEP]: Set to $(CC) -rdynamic.
 7781 	(temacs${EXEEXT}): Remove $LOCALCPP, never defined or referenced.
 7782 	Make most of the NS_IMPL_GNUSTEP case the same as the default case.
 7783 
 7784 	* Makefile.in (temacs${EXEEXT}) [!NS_IMPL_GNUSTEP]:
 7785 	Remove ${STARTFLAGS}, nothing ever sets it.
 7786 
 7787 2010-05-16  Dan Nicolaescu  <dann@ics.uci.edu>
 7788 
 7789 	* m/ia64.h (UNEXEC): Remove, set in s/*.h.
 7790 
 7791 2010-05-16  Glenn Morris  <rgm@gnu.org>
 7792 
 7793 	* Makefile.in (LIBX_BASE): Always define.
 7794 
 7795 	* Makefile.in (LIBX_OTHER): Move out of cpp section.
 7796 
 7797 	* Makefile.in (LIBXT): Always define.
 7798 
 7799 2010-05-15  Glenn Morris  <rgm@gnu.org>
 7800 
 7801 	* Makefile.in (OLDXMENU, LIBXMENU, LIBX_OTHER): Always define.
 7802 
 7803 	* Makefile.in (FONT_DRIVERS): Remove, replace with $FONT_OBJ.
 7804 	(obj, SOME_MACHINE_OBJECTS): Use $FONT_OBJ.
 7805 
 7806 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
 7807 
 7808 	* lisp.h (XFLOAT_DATA): Use "0?x:x" to generate an rvalue.  (Bug#5916)
 7809 	(LISP_MAKE_RVALUE) [!USE_LISP_UNION_TYPE && !__GNUC__]: Likewise.
 7810 
 7811 	* emacs.c (main): Initialize initial-environment and
 7812 	process-environment before generating from env, not after.
 7813 
 7814 	Handle --version reasonably in CANNOT_DUMP configuration.
 7815 	* emacs.c (emacs_version, emacs_copyright): New string variables.
 7816 	(Vemacs_version, Vemacs_copyright): New Lisp_Object variables.
 7817 	(syms_of_emacs): Defvar them, and initialize them from the C
 7818 	string variables.
 7819 	(main): If initialization hasn't been done, print initial version
 7820 	info from the C strings, instead of starting an interactive session.
 7821 
 7822 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
 7823 
 7824 	* bidi.c (bidi_paragraph_init): Don't leave alone garbage values
 7825 	of bidi_it->paragraph_dir.  Call bidi_initialize if needed.
 7826 	(bidi_paragraph_init): Remove redundant assertion that we are at
 7827 	the beginning of a line after call to bidi_find_paragraph_start.
 7828 
 7829 	* xdisp.c (Fcurrent_bidi_paragraph_direction): New function.
 7830 	(syms_of_xdisp): Defsubr it.
 7831 
 7832 	* cmds.c (Fforward_char, Fbackward_char): Doc fix.
 7833 
 7834 	* Makefile.in: Fix MSDOS-related comments.
 7835 
 7836 2010-05-15  Glenn Morris  <rgm@gnu.org>
 7837 
 7838 	* Makefile.in (OLDXMENU_TARGET): New, set by configure.
 7839 	(really-lwlib, really-oldXMenu): Always define.
 7840 	($OLDXMENU): Depend on $OLDXMENU_TARGET.
 7841 
 7842 	* Makefile.in: Simplify cpp conditional.
 7843 
 7844 	* Makefile.in (${ns_appdir}): Simplify using umask.
 7845 
 7846 	* Makefile.in (${ns_appdir}): Remove references to CVS-related files.
 7847 
 7848 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
 7849 
 7850 	* eval.c (specbind): Remove left-over duplicate test.
 7851 	Disallow let-binding frame-local vars.  Add comment.
 7852 
 7853 2010-05-14  Eli Zaretskii  <eliz@gnu.org>
 7854 
 7855 	Make the cache of bidi iterator states dynamically allocated.
 7856 	* bidi.c (bidi_cache_shrink): New function.
 7857 	(bidi_init_it): Call it.
 7858 	(bidi_cache_iterator_state): Enlarge the cache if needed.
 7859 
 7860 	* bidi.c (bidi_move_to_visually_next): Rename from
 7861 	bidi_get_next_char_visually.  All callers changed.
 7862 
 7863 2010-05-14  Kenichi Handa  <handa@m17n.org>
 7864 
 7865 	* dispextern.h (struct composition_it): New member reversed_p.
 7866 
 7867 	* composite.c (composition_compute_stop_pos): Search backward if
 7868 	ENDPOS < CHARPOS.
 7869 	(composition_reseat_it): Handle the case that ENDPOS < CHARPOS.
 7870 	Set CMP_IT->reversed_p.
 7871 	(composition_update_it): Pay attention to CMP_IT->reversed_p.
 7872 
 7873 	* xdisp.c (set_iterator_to_next):
 7874 	Call composition_compute_stop_pos with negative ENDPOS if we are
 7875 	scanning backward.  Call composition_compute_stop_pos if scan
 7876 	direction is changed.
 7877 	(next_element_from_buffer): Call composition_compute_stop_pos with
 7878 	negative ENDPOS if we are scanning backward.
 7879 	(next_element_from_composition): Pay attention to
 7880 	IT->cmp_it.reversed_p.
 7881 
 7882 2010-05-14  Kenichi Handa  <handa@m17n.org>
 7883 
 7884 	* font.c (font_range): Return the range for the font found at first.
 7885 
 7886 2010-05-14  Glenn Morris  <rgm@gnu.org>
 7887 
 7888 	* Makefile.in (ns_appdir, ns_appbindir, ns_appsrc): Always define.
 7889 
 7890 	* Makefile.in (mktime, X11, register): Move undefs to configure.
 7891 
 7892 	* Makefile.in (MSDOS_OBJ): Default to empty, let msdos scripts set it.
 7893 	(MSDOS_X_OBJ): New variable.
 7894 	(MSDOS_SUPPORT_REAL): New constant.
 7895 	(MSDOS_SUPPORT): Set as a variable, not with cpp.
 7896 	(obj): Use MSDOS_X_OBJ.
 7897 	(lisp): Use MSDOS_SUPPORT as a variable.
 7898 
 7899 	* Makefile.in (REAL_MOUSE_SUPPORT): New constant.
 7900 	(GPM_MOUSE_SUPPORT): Now it's a constant.
 7901 	(MOUSE_SUPPORT, TOOLTIP_SUPPORT, WINDOW_SUPPORT): Set with configure,
 7902 	not cpp.
 7903 
 7904 	* Makefile.in (@NS_IMPL_GNUSTEP_INC@): Use in place of #ifdef.
 7905 	(ns_appresdir): Remove, unused.
 7906 
 7907 	* Makefile.in (SHELL): Move outside cpp section.
 7908 
 7909 	* s/netbsd.h (AMPERSAND_FULL_NAME): Remove (defined in AH_BOTTOM).
 7910 
 7911 2010-05-13  Glenn Morris  <rgm@gnu.org>
 7912 
 7913 	* Makefile.in (FONT_DRIVERS): Place with other HAVE_X_WINDOWS stuff.
 7914 	(TOOLTIP_SUPPORT): Place with other HAVE_WINDOW_SYSTEM stuff.
 7915 
 7916 	* Makefile.in (FONT_DRIVERS): If HAVE_X_WINDOWS is defined,
 7917 	HAVE_WINDOW_SYSTEM must be too.
 7918 
 7919 	* Makefile.in (WINNT_SUPPORT): Remove, nt build does not use this file.
 7920 	(lisp): Remove WINNT_SUPPORT.
 7921 
 7922 	* Makefile.in (OLDXMENU, LIBXMENU) [!HAVE_MENUS]:
 7923 	Let configure set these variables (to empty) in this case as well.
 7924 
 7925 	* Makefile.in (LD_SWITCH_X_SITE): Define as a variable, not via cpp.
 7926 	(LIBX_BASE): Use $LD_SWITCH_X_SITE.
 7927 
 7928 	* Makefile.in (C_SWITCH_X_SYSTEM, C_SWITCH_X_SITE, LIB_STANDARD)
 7929 	(LIB_MATH, FONTCONFIG_CFLAGS, FONTCONFIG_LIBS, FREETYPE_CFLAGS)
 7930 	(FREETYPE_LIBS, LIBOTF_CFLAGS, LIBOTF_LIBS, M17N_FLT_CFLAGS)
 7931 	(M17N_FLT_LIBS, GNU_OBJC_CFLAGS, GNUSTEP_SYSTEM_LIBRARIES, LIBGPM)
 7932 	(LIBRESOLV, UNEXEC_OBJ): For clarity, define variables to hold
 7933 	the values output by configure.
 7934 	(ALL_CFLAGS, obj, LIBES, temacs${EXEEXT}): Use the above variables.
 7935 
 7936 2010-05-12  Glenn Morris  <rgm@gnu.org>
 7937 
 7938 	* Makefile.in (YMF_PASS_LDFLAGS, LD, LINKER): Simplify the logic.
 7939 	(LINKER_WAS_SPECIFIED): Remove.
 7940 
 7941 	* Makefile.in (LIB_GCC): Set using configure, not cpp.
 7942 	(GNULIB_VAR) [!ORDINARY_LINK]: Always set to $LIB_GCC.
 7943 	* m/arm.h (LIB_GCC) [GNU_LINUX]:
 7944 	* s/cygwin.h (LIB_GCC):
 7945 	* s/freebsd.h (LIB_GCC):
 7946 	* s/gnu-linux.h (LIB_GCC):
 7947 	* s/msdos.h (LIB_GCC):
 7948 	* s/netbsd.h (LIB_GCC):
 7949 	Move to configure.
 7950 
 7951 2010-05-11  Karel Klíč  <kklic@redhat.com>
 7952 
 7953 	* ftfont.c: Fix incorrect parentheses of #if condition for
 7954 	defining M17N_FLT_USE_NEW_FEATURE.
 7955 
 7956 2010-05-11  Glenn Morris  <rgm@gnu.org>
 7957 
 7958 	* Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
 7959 	* s/msdos.h (MSDOS_LIBS_SYSTEM): Remove.
 7960 
 7961 2010-05-10  Eli Zaretskii  <eliz@gnu.org>
 7962 
 7963 	* xdisp.c (init_iterator): Don't turn on bidi reordering in
 7964 	unibyte buffers.  See
 7965 	http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00263.html.
 7966 
 7967 2010-05-10  Glenn Morris  <rgm@gnu.org>
 7968 
 7969 	* Makefile.in (LIBS_SYSTEM): Set using configure, not cpp.
 7970 	(LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
 7971 	(LIBES): Use LIBS_SYSTEM as a variable.
 7972 	* s/msdos.h (LIBS_SYSTEM): Rename to MSDOS_LIBS_SYSTEM.  Always define.
 7973 	* s/aix4-2.h (LIBS_SYSTEM):
 7974 	* s/freebsd.h (LIBS_SYSTEM):
 7975 	* s/hpux10-20.h (LIBS_SYSTEM):
 7976 	* s/sol2-6.h (LIBS_SYSTEM):
 7977 	* s/unixware.h (LIBS_SYSTEM):
 7978 	Move to configure.
 7979 
 7980 	* s/aix4-2.h (MAIL_USE_LOCKF):
 7981 	* s/bsd-common.h (MAIL_USE_FLOCK):
 7982 	* s/darwin.h (MAIL_USE_FLOCK):
 7983 	* s/gnu-linux.h (MAIL_USE_FLOCK):
 7984 	* s/irix6-5.h (MAIL_USE_FLOCK):
 7985 	* s/template.h (MAIL_USE_FLOCK):
 7986 	Move to configure.
 7987 
 7988 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
 7989 
 7990 	* Version 23.2 released.
 7991 
 7992 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
 7993 
 7994 	* composite.c (autocmp_chars): Save point as marker before calling
 7995 	auto-composition-function (Bug#5984).
 7996 
 7997 	* lisp.h (restore_point_unwind): Add prototype.
 7998 
 7999 	* fileio.c (restore_point_unwind): Remove static attribute.
 8000 
 8001 2010-05-08  Kenichi Handa  <handa@m17n.org>
 8002 
 8003 	* ftfont.c (M17N_FLT_USE_NEW_FEATURE): Define it if we can use the
 8004 	new feature of libotf and m17n-flt.
 8005 	(ftfont_check_otf) [M17N_FLT_USE_NEW_FEATURE]:
 8006 	Call OTF_check_features even if no specific feature is given.
 8007 	(PACK_OTF_TAG) [M17N_FLT_USE_NEW_FEATURE]: New macro.
 8008 	(ftfont_drive_otf) [M17N_FLT_USE_NEW_FEATURE]: Handle the case
 8009 	that OUT is NULL.  Use OTF_drive_gsub_with_log and
 8010 	OTF_drive_gpos_with_log instead of OTF_drive_gsub and
 8011 	OTF_drive_gpos.
 8012 	(ftfont_try_otf) [M17N_FLT_USE_NEW_FEATURE]: New function.
 8013 	(ftfont_shape_by_flt) [M17N_FLT_USE_NEW_FEATURE]:
 8014 	Setup mflt_enable_new_feature and mflt_try_otf.
 8015 
 8016 2010-05-08  Jan Djärv  <jan.h.d@swipnet.se>
 8017 
 8018 	* xsettings.c (Ftool_bar_get_system_style): Correct comment.
 8019 
 8020 	* gtkutil.c (xg_pack_tool_bar): Change show_all to show for handle
 8021 	box and toolbar (Bug #6139).
 8022 	(xg_create_tool_bar): Remove comment (Bug #6139).
 8023 	(xg_make_tool_item): Remove gtk_widget_show_all (Bug #6139).
 8024 	(xg_show_toolbar_item): Add gtk_widget_show for weventbox (Bug #6139).
 8025 
 8026 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
 8027 
 8028 	* makefile.w32-in ($(BLD)/eval.$(O), $(BLD)/w32fns.$(O)):
 8029 	Update dependencies.
 8030 
 8031 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
 8032 
 8033 	* fringe.c (update_window_fringes): Set up truncation bitmaps for
 8034 	R2L lines.
 8035 
 8036 2010-05-08  Glenn Morris  <rgm@gnu.org>
 8037 
 8038 	* Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
 8039 
 8040 	* Makefile.in (LIBS_TERMCAP): Set with configure, not cpp.
 8041 	(TERMCAP_OBJ): New, set by configure, replacing termcapobj.
 8042 	(termcapobj): Replace with TERMCAP_OBJ.
 8043 	(otherobj): Use $TERMCAP_OBJ instead of $termcapobj.
 8044 	(LIBES): Use LIBS_TERMCAP as a variable.
 8045 
 8046 	* s/freebsd.h (osreldate.h): No longer include, since this file
 8047 	does not use __FreeBSD_version any more.
 8048 
 8049 	* s/aix4-2.h (TERMINFO):
 8050 	* s/cygwin.h (TERMINFO):
 8051 	* s/darwin.h (TERMINFO, LIBS_TERMCAP) [HAVE_LIBNCURSES]:
 8052 	* s/freebsd.h (TERMINFO, LIBS_TERMCAP):
 8053 	* s/gnu-linux.h (TERMINFO, LIBS_TERMCAP) [HAVE_LIBNCURSES]:
 8054 	* s/gnu.h (TERMINFO, LIBS_TERMCAP) [HAVE_LIBNCURSES]:
 8055 	* s/hpux10-20.h (TERMINFO, LIBS_TERMCAP):
 8056 	* s/irix6-5.h (TERMINFO):
 8057 	* s/netbsd.h (LIBS_TERMCAP):
 8058 	* s/openbsd.h (TERMINFO, LIBS_TERMCAP):
 8059 	* s/sol2-6.h (LIBS_TERMCAP) [!TERMINFO]:
 8060 	* s/usg5-4.h (TERMINFO):
 8061 	Move to configure.
 8062 
 8063 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
 8064 
 8065 	* eval.c (unbind_to): Don't unbind a local binding into the global
 8066 	binding when the local binding disappeared.  Inversely, don't unbind
 8067 	a global binding into a newly created local binding.
 8068 	* data.c (set_internal): Make its `buf' arg into a `where' arg so we
 8069 	can specify the frame to use, when applicable.  Adjust callers.
 8070 
 8071 2010-05-07  Vincent Belaïche  <vincent.belaiche@gmail.com>
 8072 	    Stefan Monnier  <monnier@iro.umontreal.ca>
 8073 
 8074 	* floatfns.c (Fisnan, Fcopysign, Ffrexp, Fldexp): New functions.
 8075 
 8076 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
 8077 
 8078 	* w32fns.c: Include w32.h.
 8079 	(Fw32_shell_execute): Decode the error message before passing it
 8080 	to `error'.  (Bug#6126)
 8081 
 8082 	* msdos.c (dos_set_window_size):
 8083 	* w16select.c (Fx_selection_exists_p): Use `Fsymbol_value (foo)'
 8084 	instead of `XSYMBOL (foo)->value'.
 8085 
 8086 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
 8087 
 8088 	Fix the MS-DOS build, broken by autoconfiscation.
 8089 
 8090 	* Makefile.in: Don't use Make-style comments past the "start of
 8091 	cpp stuff" line.
 8092 	(MSDOS_OBJ): Remove xmenu.o (it is now defined by XMENU_OBJ).
 8093 
 8094 	* s/msdos.h (UNEXEC): Don't define (@unexec@ in Makefile.in is
 8095 	edited directly by msdos/sed1v2.inp).
 8096 
 8097 2010-05-07  Glenn Morris  <rgm@gnu.org>
 8098 
 8099 	* Makefile.in (LD_SWITCH_SYSTEM): Set with configure, not cpp.
 8100 	(LD_SWITCH_SYSTEM_EXTRA): New variable, set by configure.
 8101 	(TEMACS_LDFLAGS): Use $LD_SWITCH_SYSTEM and $LD_SWITCH_SYSTEM_EXTRA,
 8102 	move out of cpp section.
 8103 	* s/freebsd.h (LD_SWITCH_SYSTEM):
 8104 	* s/gnu-linux.h (LD_SWITCH_SYSTEM):
 8105 	* s/netbsd.h (LD_SWITCH_SYSTEM):
 8106 	* s/openbsd.h (LD_SWITCH_SYSTEM): Move to configure.in.
 8107 
 8108 2010-05-07  Dan Nicolaescu  <dann@ics.uci.edu>
 8109 
 8110 	Define LIB_STANDARD and START_FILES using autoconf.
 8111 	* s/usg5-4.h (LIB_STANDARD):
 8112 	* s/netbsd.h (START_FILES):
 8113 	* s/irix6-5.h (LIB_STANDARD):
 8114 	* s/hpux10-20.h (LIB_STANDARD, START_FILES):
 8115 	* s/gnu-linux.h (START_FILES, LIB_STANDARD):
 8116 	* s/freebsd.h (START_FILES):
 8117 	* s/darwin.h (START_FILES):
 8118 	* s/cygwin.h (START_FILES):
 8119 	* s/aix4-2.h (LIB_STANDARD):
 8120 	* m/ibmrs6000.h (START_FILES): Remove, move logic to configure.in.
 8121 	* Makefile.in (STARTFILES): Rename to START_FILES, define using
 8122 	autoconf, not cpp.
 8123 
 8124 2010-05-06  Dan Nicolaescu  <dann@ics.uci.edu>
 8125 
 8126 	Remove NEED_BSDTTY and NEED_UNISTD_H.
 8127 	* s/hpux10-20.h (NEED_BSDTTY): Remove.
 8128 	* s/aix4-2.h (NEED_UNISTD_H): Remove.
 8129 	* systty.h: Simplify conditionals for including <sys/bsdtty.h>,
 8130 	<sys/ptyio.h> and <unistd.h>.
 8131 
 8132 	* emacs.c (main): Remove NO_DIR_LIBRARY conditional, unused.
 8133 
 8134 	* Makefile.in (STARTFILES): Conditionally define to make the usage clear.
 8135 	* s/gnu.h (START_FILES): Remove empty definition.
 8136 
 8137 2010-05-06  Jan Djärv  <jan.h.d@swipnet.se>
 8138 
 8139 	* xterm.c (x_draw_image_relief): Move declaration of extra to beginning.
 8140 
 8141 2010-05-06  Glenn Morris  <rgm@gnu.org>
 8142 
 8143 	* Makefile.in (CPP, LN_S): Remove unused variables.
 8144 
 8145 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
 8146 
 8147 	* syntax.c (Fchar_syntax): Check the arg is a character (bug#6080).
 8148 
 8149 2010-05-05  Lawrence Mitchell  <wence@gmx.li>
 8150 
 8151 	* m/sparc.h: Fix typo in earlier change.
 8152 
 8153 2010-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
 8154 
 8155 	Misc tweaks.
 8156 	* eval.c (Fdefvaralias): Remove unintended nested if.
 8157 	(internal_condition_case_2, internal_condition_case_n): Use ANSI type.
 8158 
 8159 2010-05-04  Bernhard Herzog  <bh@intevation.de>  (tiny change)
 8160 
 8161 	* xsmfns.c (smc_save_yourself_CB): strlen(client_id) => strlen(cwd).
 8162 
 8163 2010-05-04  Dan Nicolaescu  <dann@ics.uci.edu>
 8164 
 8165 	Remove BSD_PGRPS.
 8166 	* s/bsd-common.h (BSD_PGRPS): Remove undef.
 8167 	* s/gnu-linux.h (BSD_PGRPS): Remove.
 8168 	* term.c (dissociate_if_controlling_tty):
 8169 	* sysdep.c (narrow_foreground_group, widen_foreground_group)
 8170 	(init_sys_modes, reset_sys_modes):
 8171 	* emacs.c (main):
 8172 	* callproc.c (Fcall_process, child_setup): Remove code depending
 8173 	on BSD_PGRPS.
 8174 
 8175 	Remove POSIX_SIGNALS.
 8176 	* s/usg5-4.h (POSIX_SIGNALS):
 8177 	* s/netbsd.h (POSIX_SIGNALS):
 8178 	* s/msdos.h (POSIX_SIGNALS):
 8179 	* s/ms-w32.h (POSIX_SIGNALS):
 8180 	* s/hpux11.h (POSIX_SIGNALS):
 8181 	* s/gnu.h (POSIX_SIGNALS):
 8182 	* s/gnu-linux.h (POSIX_SIGNALS):
 8183 	* s/freebsd.h (POSIX_SIGNALS):
 8184 	* s/darwin.h (POSIX_SIGNALS):
 8185 	* s/cygwin.h (POSIX_SIGNALS):
 8186 	* s/aix4-2.h (POSIX_SIGNALS): Remove definition.
 8187 	* s/unixware.h:
 8188 	* s/sol2-6.h: Remove comments on POSIX_SIGNALS.
 8189 	* process.c (create_process):
 8190 	* syssignal.h:
 8191 	* sysdep.c (wait_for_termination, init_signals):
 8192 	* process.c (create_process):
 8193 	* msdos.c: POSIX_SIGNALS is always defined on all platforms,
 8194 	remove all code that assumes the contrary.
 8195 
 8196 2010-05-04  Glenn Morris  <rgm@gnu.org>
 8197 
 8198 	* s/gnu-linux.h (LD_SWITCH_SYSTEM): Use LD_SWITCH_X_SITE_AUX as a shell
 8199 	variable.
 8200 	* s/netbsd.h (LD_SWITCH_SYSTEM_tmp): Remove.
 8201 	(LD_SWITCH_SYSTEM): Use $LD_SWITCH_X_SITE_AUX_RPATH.
 8202 	* s/openbsd.h (LD_SWITCH_SYSTEM_tmp): Remove.
 8203 	(LD_SWITCH_SYSTEM): Use $LD_SWITCH_X_SITE_AUX_RPATH instead of
 8204 	LD_SWITCH_SYSTEM_tmp.
 8205 	* Makefile.in (LD_SWITCH_X_SITE_AUX, LD_SWITCH_X_SITE_AUX_RPATH):
 8206 	New variables, set by configure.
 8207 
 8208 	* s/aix4-2.h (LD_SWITCH_SYSTEM_TEMACS): Move to configure.in.
 8209 	* s/darwin.h (HEADERPAD_EXTRA, LIBS_NSGUI): Remove.
 8210 	(LD_SWITCH_SYSTEM_TEMACS): Move to configure.in.
 8211 	* Makefile.in (LD_SWITCH_SYSTEM_TEMACS): New variable, set by configure.
 8212 	(TEMACS_LDFLAGS): Use $LD_SWITCH_SYSTEM_TEMACS.
 8213 
 8214 	* s/aix4-2.h (C_SWITCH_SYSTEM):
 8215 	* m/alpha.h (C_SWITCH_MACHINE):
 8216 	Move to configure.in.
 8217 	* Makefile.in (C_SWITCH_MACHINE, C_SWITCH_SYSTEM):
 8218 	New variables, set by configure.
 8219 	(ALL_CFLAGS): Use $C_SWITCH_MACHINE and $C_SWITCH_SYSTEM in place of
 8220 	$c_switch_machine and $c_switch_system.
 8221 
 8222 2010-05-04  Dan Nicolaescu  <dann@ics.uci.edu>
 8223 
 8224 	* s/hpux10-20.h (LIB_STANDARD): New definition.
 8225 	* Makefile.in (ORDINARY_LINK): Remove setting LIB_STANDARD based
 8226 	on it, not used anymore.
 8227 
 8228 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
 8229 
 8230 	* eval.c (internal_condition_case_n): Rename from
 8231 	internal_condition_case_2.
 8232 	(internal_condition_case_2): New function.
 8233 
 8234 	* xdisp.c (safe_call): Use internal_condition_case_n.
 8235 
 8236 	* fileio.c (Fdelete_file, internal_delete_file): New arg FORCE.
 8237 	(internal_delete_file, Frename_file): Callers changed.
 8238 
 8239 	* buffer.c (Fkill_buffer):
 8240 	* callproc.c (delete_temp_file): Callers changed (Bug#6070).
 8241 
 8242 	* lisp.h: Update prototypes.
 8243 
 8244 2010-05-03  Glenn Morris  <rgm@gnu.org>
 8245 
 8246 	* Makefile.in (LIBX_EXTRA, LIBX_BASE): New variables.
 8247 	(LIBXT_OTHER, LIBX_OTHER): New, set by configure.
 8248 	(LIBXT): Set with configure, not cpp.
 8249 	(LIBX): Remove.
 8250 	(LIBES): Replace $LIBX with $LIBX_BASE and $LIBX_OTHER.
 8251 
 8252 2010-05-02  Dan Nicolaescu  <dann@ics.uci.edu>
 8253 
 8254 	* m/amdx86-64.h (START_FILES, LIB_STANDARD): Remove.
 8255 	The FreeBSD is not needed, the default works, Solaris version is
 8256 	not needed, and the remaining case is not supported by configure.
 8257 
 8258 2010-05-02  Jan Djärv  <jan.h.d@swipnet.se>
 8259 
 8260 	* xsmfns.c (CHDIR_OPT): New define.
 8261 	(smc_save_yourself_CB): Add CHDIR_OPT to options to use when
 8262 	restarting emacs.
 8263 
 8264 	* xterm.c (x_connection_closed): Call Fkill_emacs instead of
 8265 	shut_down_emacs.
 8266 
 8267 	* emacs.c (USAGE1): Mention --chdir.
 8268 	(main): Handle --chdir.
 8269 	(standard_args): Add --chdir.
 8270 	(fatal_error_signal): Call Fkill_emacs for SIGTERM and SIGHUP (Bug
 8271 	#5552).
 8272 
 8273 2010-05-01  Dan Nicolaescu  <dann@ics.uci.edu>
 8274 
 8275 	Remove LD_SWITCH_MACHINE.
 8276 	* Makefile.in (LD_SWITCH_MACHINE): Remove definition, unused.
 8277 	(TEMACS_LDFLAGS): Do not use LD_SWITCH_MACHINE.
 8278 
 8279 	Clean up IRIX code.
 8280 	* m/iris4d.h (TERMINFO, FIRST_PTY_LETTER): Move definitions ...
 8281 	* s/irix6-5.h (TERMINFO, FIRST_PTY_LETTER): ... here.
 8282 
 8283 	Clean up AIX code.
 8284 	* m/ibmrs6000.inp: Remove file, unused.
 8285 	* m/ibmrs6000.h (IBMR2AIX): Remove, unused.
 8286 	(LD_SWITCH_MACHINE): Rename to LD_SWITCH_SYSTEM_TEMACS, and move
 8287 	definition ...
 8288 	* s/aix4-2.h (LD_SWITCH_SYSTEM_TEMACS): ... here.
 8289 
 8290 	* sysdep.c (child_setup_tty, init_sys_modes): Remove !IBMR2AIX code,
 8291 	unused.
 8292 
 8293 2010-05-01  Eli Zaretskii  <eliz@gnu.org>
 8294 
 8295 	Emulate POSIX_SIGNALS on MS-Windows.
 8296 
 8297 	* s/ms-w32.h (POSIX_SIGNALS, struct sigaction, SIG_BLOCK)
 8298 	(SIG_SETMASK, SIG_UNBLOCK): Define.
 8299 
 8300 	* sysdep.c (sys_signal) [WINDOWSNT]: #ifdef away.
 8301 	(wait_for_termination) [WINDOWSNT]: Move MS-Windows specific code
 8302 	from non-POSIX_SIGNALS section to POSIX_SIGNALS section.
 8303 
 8304 	* w32.c (sigemptyset, sigaddset, sigfillset, sigprocmask):
 8305 	New stubs.
 8306 
 8307 	Miscellaneous fixes of bidi display.
 8308 
 8309 	* xdisp.c (find_row_end): New function, refactored from display_line.
 8310 	(display_line): Use it.
 8311 	(extend_face_to_end_of_line): In almost-filled rows, extend only
 8312 	if the row is R2L and not continued.
 8313 	(display_line): Fix prepending of truncation glyphs to R2L rows.
 8314 	Preserve overlay and string info in row->end.
 8315 	(insert_left_trunc_glyphs): Support addition of left truncation
 8316 	glyphs to R2L rows.
 8317 	(set_cursor_from_row): Don't place cursor on the vertical border
 8318 	glyph between adjacent windows.  Fix a crash when a display string
 8319 	is continued to the next line.  Don't return zero if cursor was
 8320 	found by `cursor' property of a display string.
 8321 	(try_cursor_movement): Don't assume that row->end == (row+1)->start,
 8322 	test for that explicitly.
 8323 
 8324 2010-05-01  Glenn Morris  <rgm@gnu.org>
 8325 
 8326 	* Makefile.in (gmallocobj, rallocobj, vmlimitobj): Initialize to null,
 8327 	for clarity.
 8328 	(OTHER_OBJ): Remove.
 8329 	(PRE_ALLOC_OBJ, POST_ALLOC_OBJ): New, set by configure.
 8330 	(otherobj): Use PRE_ALLOC_OBJ, POST_ALLOC_OBJ rather than OTHER_OBJ.
 8331 
 8332 2010-05-01  Karel Klíč  <kklic@redhat.com>
 8333 
 8334 	* fileio.c (Ffile_selinux_context): Context functions may return null.
 8335 
 8336 2010-04-30  Dan Nicolaescu  <dann@ics.uci.edu>
 8337 
 8338 	* s/gnu.h (POSIX_SIGNALS, START_FILES): New definitions.
 8339 
 8340 2010-04-30  Glenn Morris  <rgm@gnu.org>
 8341 
 8342 	* Makefile.in (vmlimitobj) [!SYSTEM_MALLOC]: New variable.  (Bug#6065)
 8343 	(OTHER_OBJ): Define as a separate variable, for clarity.
 8344 
 8345 2010-04-30  Jan Djärv  <jan.h.d@swipnet.se>
 8346 
 8347 	* xsettings.c: Include limits.h and update file comment.
 8348 
 8349 2010-04-30  Glenn Morris  <rgm@gnu.org>
 8350 
 8351 	* Makefile.in (OLDXMENU, LIBXMENU) [HAVE_MENUS]:
 8352 	Set with configure, not cpp.
 8353 	(LIBW): Remove, replace with $TOOLKIT_LIBW.
 8354 
 8355 	* Makefile.in (mallocobj): Remove.
 8356 	(otherobj): Simplify using @OTHER_OBJ@.
 8357 
 8358 	* Makefile.in (dispnew.o, frame.o, fringe.o, font.o, fontset.o)
 8359 	(keyboard.o, window.o, xdisp.o, xfaces.o, menu.o):
 8360 	Don't bother making nsgui.h dependency platform-specific.
 8361 
 8362 	* Makefile.in (nsfns.o): Remove duplicate nsgui.h dependency.
 8363 
 8364 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
 8365 
 8366 	* process.c (read_process_output, exec_sentinel): Don't burp if the
 8367 	sentinel/filter kills the current buffer (bug#6060).
 8368 
 8369 	Fix wrong-docstring problem introduced with hash-consing.  (Bug#6008)
 8370 	* eval.c (Fautoload): Set doc to a unique number rather than to 0.
 8371 	Remove unused var `args'.
 8372 	* lisp.h (XSETCARFASTINT, XSETCDRFASTINT): Remove.
 8373 	(LOADHIST_ATTACH): Wrap with do...while to avoid surprises for callers.
 8374 	* doc.c (store_function_docstring): Use XSETCAR.
 8375 
 8376 2010-04-28  Glenn Morris  <rgm@gnu.org>
 8377 
 8378 	* Makefile.in (BASE_WINDOW_SUPPORT, X_WINDOW_SUPPORT): New variables.
 8379 	(WINDOW_SUPPORT) [HAVE_WINDOW_SYSTEM]: Use them.
 8380 
 8381 	* Makefile.in (CYGWIN_OBJ): Set with configure, not cpp.
 8382 
 8383 	* Makefile.in (GPM_MOUSE_SUPPORT): New, set by configure.
 8384 	(MOUSE_SUPPORT) [!HAVE_MOUSE]: Use $GPM_MOUSE_SUPPORT.
 8385 
 8386 	* Makefile.in (FONT_OBJ): New, set by configure.
 8387 	(FONT_DRIVERS): Use $FONT_OBJ.
 8388 
 8389 	* Makefile.in (LIBXMU): Set with configure, not cpp.
 8390 	* s/aix4-2.h (LIBXMU):
 8391 	* s/hpux10-20.h (LIBXMU):
 8392 	Remove definition, now set in configure.
 8393 
 8394 	* Makefile.in (NS_OBJ, NS_SUPPORT): Set with configure, not cpp.
 8395 
 8396 	* m/amdx86-64.h [i386]: Move this test to configure.in.
 8397 
 8398 2010-04-27  Glenn Morris  <rgm@gnu.org>
 8399 
 8400 	* Makefile.in (LIBXTR6): Set with configure, not cpp.
 8401 	* s/unixware.h (NEED_LIBW): Remove definition.
 8402 
 8403 	* Makefile.in (LUCID_LIBW, MOTIF_LIBW): Remove, replacing by...
 8404 	(TOOLKIT_LIBW): New, set by configure.
 8405 	(@X_TOOLKIT_TYPE@): No longer define it.
 8406 
 8407 	* Makefile.in (LIBXP): Remove, since included in MOTIF_LIBW.
 8408 	(MOTIF_LIBW): Set with configure, not cpp.
 8409 	* s/aix4-2.h (LIB_MOTIF):
 8410 	* s/gnu-linux.h (LIB_MOTIF):
 8411 	* s/unixware.h (LIB_MOTIF): Move to configure.in.
 8412 
 8413 2010-04-27  Dan Nicolaescu  <dann@ics.uci.edu>
 8414 
 8415 	Reduce CPP usage.
 8416 	* Makefile.in (LIB_X11_LIB): Remove, inline in the only user.
 8417 	(obj): Use autoconf for unexec instead of cpp.
 8418 	(C_SWITCH_SYSTEM, C_SWITCH_MACHINE, C_SWITCH_X_SITE):
 8419 	Remove definitions and undefs.  Inline definitions in the only user.
 8420 	(ALL_CFLAGS): Substitute C_SWITCH_X_SYSTEM using autoconf.
 8421 
 8422 2010-04-27  Glenn Morris  <rgm@gnu.org>
 8423 
 8424 	* m/amdx86-64.h (START_FILES, LIB_STANDARD): Change the logic around,
 8425 	since the defaults (set by the system file) are fine in most cases.
 8426 	[GNU_LINUX, __OpenBSD__, __NetBSD__, __APPLE__]: Remove sections.
 8427 	* m/ibms390x.h (START_FILES, LIB_STANDARD):
 8428 	* m/macppc.h (START_FILES, LIB_STANDARD) [GNU_LINUX]:
 8429 	* m/sparc.h (START_FILES, LIB_STANDARD) [__linux__]:
 8430 	Remove definitions, since they are set correctly in s/gnu-linux.h.
 8431 	* s/freebsd.h (START_FILES, LIB_STANDARD):
 8432 	* s/gnu-linux.h (START_FILES, LIB_STANDARD):
 8433 	* s/hpux10-20.h (START_FILES):
 8434 	* s/netbsd.h (START_FILES, LIB_STANDARD, START_FILES_1, END_FILES_1):
 8435 	Use $CRT_DIR in place of fixed /usr/lib, /lib directories.
 8436 
 8437 	* Makefile.in (LIBXP, LUCID_LIBW, WIDGET_OBJ): Set via configure.
 8438 	(MOTIF_LIBW): Use $LIBXP.
 8439 	(otherobj): Use $WIDGET_OBJ.
 8440 
 8441 2010-04-26  Dan Nicolaescu  <dann@ics.uci.edu>
 8442 
 8443 	* Makefile.in (LIBS_MACHINE): Remove, unused.
 8444 
 8445 	Use autoconf instead of cpp for LIB_MATH.
 8446 	* s/darwin.h (LIB_MATH): Do not define here, move to configure.
 8447 	* s/cygwin.h (LIB_MATH): Likewise.
 8448 	* Makefile.in (LIB_MATH): Do not define with cpp.
 8449 	(LIBES): Use autoconf for LIB_MATH.
 8450 
 8451 2010-04-26  Kenichi Handa  <handa@m17n.org>
 8452 
 8453 	* composite.c (Ffind_composition_internal): Fix the return value
 8454 	for an automatic composition.
 8455 
 8456 2010-04-25  Dan Nicolaescu  <dann@ics.uci.edu>
 8457 
 8458 	Remove all NO_ARG_ARRAY uses.
 8459 	* fns.c (concat2, concat3, nconc2):
 8460 	* eval.c (apply1, call1, call2, call3, call4, call5, call6)
 8461 	(call7): Remove NO_ARG_ARRAY usage, assume it's always true.
 8462 	* m/xtensa.h (NO_ARG_ARRAY):
 8463 	* m/template.h (NO_ARG_ARRAY):
 8464 	* m/sparc.h (NO_ARG_ARRAY):
 8465 	* m/sh3.h (NO_ARG_ARRAY):
 8466 	* m/mips.h (NO_ARG_ARRAY):
 8467 	* m/macppc.h (NO_ARG_ARRAY):
 8468 	* m/iris4d.h (NO_ARG_ARRAY):
 8469 	* m/intel386.h (NO_ARG_ARRAY):
 8470 	* m/ibms390x.h (NO_ARG_ARRAY):
 8471 	* m/ibms390.h (NO_ARG_ARRAY):
 8472 	* m/ibmrs6000.h (NO_ARG_ARRAY):
 8473 	* m/ia64.h (NO_ARG_ARRAY):
 8474 	* m/hp800.h (NO_ARG_ARRAY):
 8475 	* m/arm.h (NO_ARG_ARRAY):
 8476 	* m/amdx86-64.h (NO_ARG_ARRAY):
 8477 	* m/alpha.h (NO_ARG_ARRAY): Remove definition.
 8478 
 8479 2010-04-25  Eli Zaretskii  <eliz@gnu.org>
 8480 
 8481 	* xdisp.c (display_line): Don't assume 2nd call to
 8482 	get_next_display_element cannot return zero.  (Bug#6030)
 8483 	(iterate_out_of_display_property): New function, body from pop_it.
 8484 	(pop_it): Use it.
 8485 
 8486 2010-04-24  Glenn Morris  <rgm@gnu.org>
 8487 
 8488 	* m/amdx86-64.h (START_FILES, LIB_STANDARD) [__OpenBSD__]:
 8489 	For clarity, revert to using fixed /usr/lib rather than $CRT_DIR.
 8490 	(START_FILES, LIB_STANDARD) [__FreeBSD__]: Merge into the generic case,
 8491 	since CRT_DIR defaults to /usr/lib.  Suggested by Dan Nicolaescu.
 8492 
 8493 2010-04-24  Eli Zaretskii  <eliz@gnu.org>
 8494 
 8495 	* xdisp.c (display_line): Use `reseat' instead of `reseat_1', and
 8496 	use `get_next_display_element' and `set_iterator_to_next' to
 8497 	advance to the next character, when looking for the character that
 8498 	begins the next row.
 8499 
 8500 	* .gdbinit: Add a "set Fmake_symbol" line to force GDB to load the
 8501 	definition of "struct Lisp_Symbol".
 8502 
 8503 2010-04-24  Glenn Morris  <rgm@gnu.org>
 8504 
 8505 	* Makefile.in (CRT_DIR): New variable, set by configure.
 8506 	* m/amdx86-64.h, m/ibms390x.h (START_FILES, LIB_STANDARD):
 8507 	Use $CRT_DIR rather than HAVE_LIB64_DIR.  (Bug#5655)
 8508 
 8509 2010-04-23  Dan Nicolaescu  <dann@ics.uci.edu>
 8510 
 8511 	* Makefile.in: Remove C_SWITCH_X_MACHINE, unused.
 8512 
 8513 	* s/cygwin.h (LIBS_DEBUG): Remove, unused.
 8514 
 8515 	Remove redundant flags.
 8516 	* s/freebsd.h (C_SWITCH_SYSTEM):
 8517 	* s/hpux10-20.h (C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
 8518 	* s/netbsd.h (C_SWITCH_SYSTEM):
 8519 	* s/openbsd.h (LD_SWITCH_X_DEFAULT): Remove, configure takes care
 8520 	of these.
 8521 
 8522 	Simplify m/intel386.h.
 8523 	* m/intel386.h (CRT0_DUMMIES): Remove, inline value in the only
 8524 	user: ecrt0.c.
 8525 	(SOLARIS2): Remove LOAD_AVE_TYPE, LOAD_AVE_CVT, LIBS_MACHINE, unused.
 8526 	(USG5_4): Move LOAD_AVE_TYPE, LOAD_AVE_CVT, FSCALE definitions to
 8527 	the only user: s/unixware.h.
 8528 	* ecrt0.c: Remove #ifndef static.  Inline CRT0_DUMMIES definition
 8529 	from m/intel386.h.
 8530 	* s/unixware.h (LOAD_AVE_TYPE, LOAD_AVE_CVT, FSCALE):
 8531 	Definitions moved here from m/intel386.h.
 8532 
 8533 	* m/mips.h: Remove #if 0 code.
 8534 
 8535 2010-04-23  Eli Zaretskii  <eliz@gnu.org>
 8536 
 8537 	Fix display of composed characters from L2R scripts in bidi buffers.
 8538 	* xdisp.c (set_iterator_to_next, next_element_from_composition):
 8539 	After advancing IT past the composition, resync the bidi iterator
 8540 	with IT's position.  (Bug#5977)
 8541 
 8542 2010-04-23  Dan Nicolaescu  <dann@ics.uci.edu>
 8543 
 8544 	* Makefile.in (LD_SWITCH_MACHINE_TEMACS): Remove, unused.
 8545 	(TEMACS_LDFLAGS): Don't use LD_SWITCH_SYSTEM_TEMACS.
 8546 
 8547 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
 8548 
 8549 	* gtkutil.c: Include xsettings.h for Ftool_bar_get_system_style.
 8550 
 8551 2010-04-23  Eli Zaretskii  <eliz@gnu.org>
 8552 
 8553 	Support `display' text properties and overlay strings in bidi buffers.
 8554 	* xdisp.c (pop_it): When the stack is popped after displaying
 8555 	from a string, bidi-iterate to exit from the text portion covered
 8556 	by the `display' property or overlay.  (Bug#5988, bug#5920)
 8557 
 8558 2010-04-23  Dan Nicolaescu  <dann@ics.uci.edu>
 8559 
 8560 	* m/macppc.h (LD_SWITCH_SYSTEM_TEMACS): Remove #undef.
 8561 	(LD_SWITCH_MACHINE_TEMACS): Remove, configure sets nocombreloc.
 8562 
 8563 	* s/netbsd.h (LD_SWITCH_SYSTEM_TEMACS): Remove, configure sets nocombreloc.
 8564 	* s/openbsd.h (LD_SWITCH_SYSTEM_TEMACS): Remove.
 8565 
 8566 	Simplify STARTFILES definition.
 8567 	* s/hpux10-20.h (START_FILES): Explicitly define here instead of
 8568 	relying on Makefile.in to define it.
 8569 	* s/cygwin.h (START_FILES): Likewise.
 8570 	* Makefile.in (STARTFILES): Remove conditional code, not needed anymore.
 8571 
 8572 	Clean up Solaris code.
 8573 	* s/sol2-6.h (LD_SWITCH_SYSTEM_TEMACS, C_SWITCH_X_SYSTEM)
 8574 	(LIB_MOTIF): Remove, configure takes care of this.
 8575 	(NOT_USING_MOTIF): Remove, unused.
 8576 	* xrdb.c: Remove #if 0-ed #include.
 8577 	(SYSV): Remove conditional for old SysV.
 8578 	* sysdep.c (closedir): Remove conditional code for Solaris,
 8579 	Solaris has closedir.
 8580 
 8581 2010-04-22  Jan Djärv  <jan.h.d@swipnet.se>
 8582 
 8583 	* xsettings.c (read_and_apply_settings): Check if current_font is
 8584 	NULL before strcmp (Bug#6001).
 8585 
 8586 2010-04-21  Dan Nicolaescu  <dann@ics.uci.edu>
 8587 
 8588 	Clean up HP-UX files.
 8589 	* m/hp800.h (NO_REMAP, VIRT_ADDR_VARIES, DATA_SEG_BITS)
 8590 	(DATA_START, TEXT_START, LOAD_AVE_TYPE, LOAD_AVE_CVT)
 8591 	(LDAV_SYMBOL, index, rindex): Move definitions only used in HP-UX ...
 8592 	* s/hpux10-20.h: ... to the only user, here.
 8593 
 8594 2010-04-21  Eli Zaretskii  <eliz@gnu.org>
 8595 
 8596 	* bidi.c (bidi_find_paragraph_start, bidi_at_paragraph_end): Don't
 8597 	use buffer-local values of paragraph-start and paragraph-separate.
 8598 	<paragraph_start_re, paragraph_separate_re>: Rename from
 8599 	fallback_paragraph_start_re and fallback_paragraph_separate_re.
 8600 	(Bug#5992)
 8601 
 8602 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
 8603 
 8604 	* xsettings.c: Qmonospace_font_name, Qtool_bar_style and
 8605 	current_tool_bar_style are new.
 8606 	(store_config_changed_event): Rename from store_font_changed_event.
 8607 	(XSETTINGS_TOOL_BAR_STYLE): New define.
 8608 	(SEEN_FONT, SEEN_TB_STYLE): New enum values.
 8609 	(struct xsettings): Add font and tb_style, set xft stuff inside #ifdef
 8610 	HAVE_XFT.
 8611 	(something_changedCB): store_font_changed_event is now
 8612 	store_config_changed_event.
 8613 	(parse_settings): Rename from parse_xft_settings.
 8614 	Read non-xft xsettings outside #ifdef HAVE_XFT.
 8615 	(read_settings): Rename from read_xft_settings.
 8616 	(apply_xft_settings): Take current settings as parameter.  Do not
 8617 	call read_(xft)_settings.
 8618 	(read_and_apply_settings): New function.
 8619 	(xft_settings_event): Do non-xft stuff out of HAVE_XFT.
 8620 	Call read_and_apply_settings if there are settings to be read.
 8621 	(init_xsettings): Rename from init_xfd_settings.
 8622 	Call read_and_apply_settings unconditionally.
 8623 	(xsettings_initialize): Call init_xsettings.
 8624 	(Ftool_bar_get_system_style): New function.
 8625 	(syms_of_xsettings): Define Qmonospace_font_name and
 8626 	Qtool_bar_style.  Initialize current_tool_bar_style to nil.
 8627 	defsubr Stool_bar_get_system_style.  Fprovide on
 8628 	dynamic-setting.
 8629 	Move misplaced HAVE_GCONF.
 8630 
 8631 	* xsettings.h (Ftool_bar_get_system_style): Declare.
 8632 
 8633 	* xdisp.c: Vtool_bar_style, tool_bar_max_label_size,
 8634 	Qtext, Qboth, Qboth_horiz are new.
 8635 	(syms_of_xdisp): Intern Qtext, Qboth, Qboth_horiz, DEFVAR
 8636 	Vtool_bar_style, tool_bar_max_label_size.
 8637 
 8638 	* lisp.h: Extern declare Qtext, Qboth, Qboth_horiz.
 8639 
 8640 	* keyboard.c: QClabel is new.
 8641 	(parse_tool_bar_item): Take out QClabel from tool bar items.
 8642 	Try to construct a label if ther is no QClabel.
 8643 	(syms_of_keyboard): Intern :label as QClabel.
 8644 
 8645 	* dispextern.h (tool_bar_item_idx): TOOL_BAR_ITEM_LABEL is new.
 8646 	(Vtool_bar_style, tool_bar_max_label_size, DEFAULT_TOOL_BAR_LABEL_SIZE):
 8647 	New.
 8648 
 8649 	* Makefile.in (SOME_MACHINE_LISP): font-setting.el renamed to
 8650 	dynamic-setting.el.
 8651 
 8652 	* gtkutil.c (xg_tool_bar_menu_proxy): Handle label in tool bar item.
 8653 	(xg_make_tool_item, xg_show_toolbar_item): New function.
 8654 	(update_frame_tool_bar): Take label from TOOL_BAR_ITEM_LABEL.
 8655 	Call xg_make_tool_item to make a tool bar item.
 8656 	Call xg_show_toolbar_item.  Use wtoolbar instead of x->toolbar_widget.
 8657 
 8658 	* xterm.c (x_draw_image_relief): Take Vtool_bar_button_margin
 8659 	into account for toolbars.
 8660 
 8661 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
 8662 
 8663 	* data.c (make_blv): Declarations before code (Bug#5993).
 8664 
 8665 2010-04-21  Glenn Morris  <rgm@gnu.org>
 8666 
 8667 	* Makefile.in (DBUS_OBJ, GTK_OBJ, XMENU_OBJ, XOBJ):
 8668 	Define using autoconf, not cpp.
 8669 	(LIBXSM): New variable, set by autoconf.
 8670 	(LIBXT): Use $LIBXSM.
 8671 
 8672 2010-04-21  Dan Nicolaescu  <local_user@dannlt>
 8673 
 8674 	Remove NOMULTIPLEJOBS, unused.
 8675 	* s/template.h (NOMULTIPLEJOBS):
 8676 	* s/msdos.h (NOMULTIPLEJOBS): Remove, unused.
 8677 
 8678 	Simplify LD_SWITCH_SYSTEM_TEMACS usage.
 8679 	* s/freebsd.h (LD_SWITCH_SYSTEM_TEMACS):
 8680 	* s/gnu-linux.h (LD_SWITCH_SYSTEM_TEMACS): Remove, configure
 8681 	detects -znocombreloc and passes it to the linker
 8682 	* s/hpux10-20.h (LD_SWITCH_SYSTEM_TEMACS): Remove, empty.
 8683 
 8684 2010-04-21  Glenn Morris  <rgm@gnu.org>
 8685 
 8686 	* Makefile.in (LIBSELINUX_LIBS): Move out of #ifdef.
 8687 
 8688 2010-04-21  Karel Klíč  <kklic@redhat.com>
 8689 
 8690 	* Makefile.in (LIBSELINUX_LIBS): New.
 8691 	(LIBES): Add $LIBSELINUX_LIBS.
 8692 	* eval.c, lisp.h (call7): New function.
 8693 	* fileio.c [HAVE_LIBSELINUX]: Include selinux headers.
 8694 	(Ffile_selinux_context, Fset_file_selinux_context):
 8695 	New functions.
 8696 	(Fcopy_file): New parameter preserve-selinux-context.
 8697 	(Frename_file): Preserve selinux context when renaming by copy-file.
 8698 
 8699 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
 8700 	    Eli Zaretskii  <eliz@gnu.org>
 8701 
 8702 	Don't depend on cm.c or termcap.c on Windows, use stubs.
 8703 	* makefile.w32-in (OBJ1): Remove cm.$(O) and termcap.$(O).
 8704 	($(BLD)/cm.$(O), $(BLD)/termcap.$(O)): Remove.
 8705 	* w32console.c (current_tty, cost): New vars; lifted from cm.c.
 8706 	(evalcost, cmputc, cmcheckmagic, cmcostinit, cmgoto, Wcm_clear)
 8707 	(sys_tputs, sys_tgetstr): New stubs.
 8708 	* s/ms-w32.h (chcheckmagic, cmcostinit, cmgoto, cmputc, Wcm_clear)
 8709 	(tputs, tgetstr): New; define to sys_*.
 8710 
 8711 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
 8712 
 8713 	* buffer.c (syms_of_buffer) <bidi-display-reordering>: Doc fix.
 8714 
 8715 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
 8716 
 8717 	* data.c (Fmake_variable_buffer_local, Fmake_local_variable):
 8718 	Just signal a warning rather than an error when inside a let.
 8719 	(Fmake_variable_frame_local): Add the same test.
 8720 
 8721 	* font.c (syms_of_font): Make the style table vars read-only.
 8722 
 8723 	* buffer.h (struct buffer): Remove unused var `direction_reversed'.
 8724 	* buffer.c (init_buffer_once, syms_of_buffer): Remove its initialization.
 8725 
 8726 	* bidi.c (bidi_initialize): Simplify fallback_paragraph_*_re init.
 8727 
 8728 2010-04-20  Eli Zaretskii  <eliz@gnu.org>
 8729 
 8730 	Fix R2L paragraph display on TTY.
 8731 
 8732 	* xdisp.c (unproduce_glyphs): New function.
 8733 	(display_line): Use it when produced glyphs are discarded from R2L
 8734 	glyph rows.
 8735 	(append_composite_glyph): In R2L rows, prepend the glyph rather
 8736 	than appending it.
 8737 
 8738 	* term.c (append_composite_glyph): In R2L rows, prepend the glyph
 8739 	rather than append it.  Set up the resolved_level and bidi_type
 8740 	attributes of the appended glyph.
 8741 	(produce_special_glyphs): Mirror the backslash continuation
 8742 	character in R2L lines.
 8743 
 8744 	Implement display of R2L paragraphs in GUI sessions.
 8745 
 8746 	* xdisp.c [HAVE_WINDOW_SYSTEM]: Add prototype for
 8747 	append_stretch_glyph.
 8748 	(set_cursor_from_row) <cursor_x>: Remove unused variable.
 8749 	Fix off-by-one error in computing x at end of text in the row.
 8750 	(append_stretch_glyph): In reversed row, prepend the glyph rather
 8751 	than append it.  Set resolved_level and bidi_type of the glyph.
 8752 	(extend_face_to_end_of_line): If the row is reversed, prepend a
 8753 	stretch glyph whose width is such that the rightmost glyph will be
 8754 	drawn at the right margin of the window.  Fix off-by-one error on
 8755 	TTY frames in testing whether a line needs face extension.
 8756 	Fix face extension at ZV.  If this is the last glyph row, use
 8757 	DEFAULT_FACE_ID, to avoid painting the rest of the window with the
 8758 	region face.
 8759 	(set_cursor_from_row, display_line):
 8760 	Use MATRIX_ROW_CONTINUATION_LINE_P instead of testing value of
 8761 	row->continuation_lines_width.
 8762 	(next_element_from_buffer): Don't call bidi_paragraph_init if we
 8763 	are at ZV.  Fixes a crash when reseated to ZV by
 8764 	try_window_reusing_current_matrix.
 8765 	(display_and_set_cursor, erase_phys_cursor): Handle negative HPOS,
 8766 	which happens with R2L glyph rows.  Fixes a crash when inserting a
 8767 	character at end of an R2L line.
 8768 	(set_cursor_from_row): Don't be fooled by truncated rows: don't
 8769 	treat them as having zero-width characters.  Improve comments.
 8770 	Don't reverse pos_before and pos_after for reversed glyph rows.
 8771 	Set cursor.x to negative value when the cursor might be on the
 8772 	left fringe.
 8773 	(IT_OVERFLOW_NEWLINE_INTO_FRINGE): For R2L lines, consider the
 8774 	left fringe, not the right one.
 8775 	(notice_overwritten_cursor, draw_phys_cursor_glyph)
 8776 	(erase_phys_cursor): For reversed cursor_row, support cursor on
 8777 	the left fringe.
 8778 
 8779 	* fringe.c (update_window_fringes): For R2L rows, swap the bitmaps
 8780 	of continuation indicators on the fringes.
 8781 	(draw_fringe_bitmap): For reversed glyph rows, allow cursor on the
 8782 	left fringe.
 8783 
 8784 	* w32term.c (w32_draw_window_cursor): For reversed glyph rows,
 8785 	draw cursor on the left fringe.
 8786 
 8787 	* xterm.c (x_draw_window_cursor): For reversed glyph rows, draw
 8788 	cursor on the left fringe.
 8789 
 8790 	* dispnew.c (update_text_area): Handle reversed desired rows when
 8791 	the cursor is on the left fringe.
 8792 	(set_window_cursor_after_update): Limit cursor's hpos by -1 from
 8793 	below, not by 0, for when the cursor is on the left fringe.
 8794 
 8795 2010-04-20  Jan Djärv  <jan.h.d@swipnet.se>
 8796 
 8797 	* gtkutil.c (xg_event_is_for_scrollbar): Check if grabbed
 8798 	widget is a scrollbar.
 8799 
 8800 2010-04-20  Kenichi Handa  <handa@m17n.org>
 8801 
 8802 	* charset.c (char_charset): Consider Vcharset_non_preferred_head
 8803 	only when the arg CHARSET_LIST is nil.
 8804 
 8805 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
 8806 
 8807 	Make variable forwarding explicit rather the using special values.
 8808 	Basically, this makes the structure of buffer-local values and object
 8809 	forwarding explicit in the type of Lisp_Symbols rather than use
 8810 	special Lisp_Objects for that.  This tends to lead to slightly more
 8811 	verbose code, but is more C-like, simpler, and makes it easier to make
 8812 	sure we handled all cases, among other things by letting the compiler
 8813 	help us check it.
 8814 	* lisp.h (enum Lisp_Misc_Type, union Lisp_Misc):
 8815 	Removing forwarding objects.
 8816 	(enum Lisp_Fwd_Type, enum symbol_redirect, union Lisp_Fwd): New types.
 8817 	(struct Lisp_Symbol): Make the various forms of variable-forwarding
 8818 	explicit rather than hiding them inside Lisp_Object "values".
 8819 	(XFWDTYPE): New macro.
 8820 	(XINTFWD, XBOOLFWD, XOBJFWD, XKBOARD_OBJFWD): Redefine.
 8821 	(XBUFFER_LOCAL_VALUE): Remove.
 8822 	(SYMBOL_VAL, SYMBOL_ALIAS, SYMBOL_BLV, SYMBOL_FWD, SET_SYMBOL_VAL)
 8823 	(SET_SYMBOL_ALIAS, SET_SYMBOL_BLV, SET_SYMBOL_FWD): New macros.
 8824 	(SYMBOL_VALUE, SET_SYMBOL_VALUE): Remove.
 8825 	(struct Lisp_Intfwd, struct Lisp_Boolfwd, struct Lisp_Objfwd)
 8826 	(struct Lisp_Buffer_Objfwd, struct Lisp_Kboard_Objfwd):
 8827 	Remove the Lisp_Misc_* header.
 8828 	(struct Lisp_Buffer_Local_Value): Redefine.
 8829 	(BLV_FOUND, SET_BLV_FOUND, BLV_VALUE, SET_BLV_VALUE): New macros.
 8830 	(struct Lisp_Misc_Any): Add filler to get the right size.
 8831 	(struct Lisp_Free): Use struct Lisp_Misc_Any rather than struct
 8832 	Lisp_Intfwd.
 8833 	(DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL, DEFVAR_INT)
 8834 	(DEFVAR_KBOARD): Allocate a forwarding object.
 8835 	* data.c (do_blv_forwarding, store_blv_forwarding): New macros.
 8836 	(let_shadows_global_binding_p): New function.
 8837 	(union Lisp_Val_Fwd): New type.
 8838 	(make_blv): New function.
 8839 	(swap_in_symval_forwarding, indirect_variable, do_symval_forwarding)
 8840 	(store_symval_forwarding, swap_in_global_binding, Fboundp)
 8841 	(swap_in_symval_forwarding, find_symbol_value, Fset)
 8842 	(let_shadows_buffer_binding_p, set_internal, default_value)
 8843 	(Fset_default, Fmake_variable_buffer_local, Fmake_local_variable)
 8844 	(Fkill_local_variable, Fmake_variable_frame_local)
 8845 	(Flocal_variable_p, Flocal_variable_if_set_p)
 8846 	(Fvariable_binding_locus):
 8847 	* xdisp.c (select_frame_for_redisplay):
 8848 	* lread.c (Fintern, Funintern, init_obarray, defvar_int)
 8849 	(defvar_bool, defvar_lisp_nopro, defvar_lisp, defvar_kboard):
 8850 	* frame.c (store_frame_param):
 8851 	* eval.c (Fdefvaralias, Fuser_variable_p, specbind, unbind_to):
 8852 	* bytecode.c (Fbyte_code) <varref, varset>: Adapt to the new symbol
 8853 	value structure.
 8854 	* buffer.c (PER_BUFFER_SYMBOL): Move from buffer.h.
 8855 	(clone_per_buffer_values): Only adjust markers into the current buffer.
 8856 	(reset_buffer_local_variables): PER_BUFFER_IDX is never -2.
 8857 	(Fbuffer_local_value, set_buffer_internal_1)
 8858 	(swap_out_buffer_local_variables):
 8859 	Adapt to the new symbol value structure.
 8860 	(DEFVAR_PER_BUFFER): Allocate a Lisp_Buffer_Objfwd object.
 8861 	(defvar_per_buffer): Take a new arg for the fwd object.
 8862 	(buffer_lisp_local_variables): Return a proper alist (different fix
 8863 	for bug#4138).
 8864 	* alloc.c (Fmake_symbol): Use SET_SYMBOL_VAL.
 8865 	(Fgarbage_collect): Don't handle buffer_defaults specially.
 8866 	(mark_object): Handle new symbol value structure rather than the old
 8867 	special Lisp_Misc_* objects.
 8868 	(gc_sweep) <symbols>: Free also the buffer-local-value objects.
 8869 	* term.c (set_tty_color_mode):
 8870 	* bidi.c (bidi_initialize): Don't access the ->value field directly.
 8871 	* buffer.h (PER_BUFFER_VAR_OFFSET): Don't bother with
 8872 	a buffer_local_flags.
 8873 	* print.c (print_object): Get rid of impossible forwarding objects.
 8874 
 8875 2010-04-19  Eli Zaretskii  <eliz@gnu.org>
 8876 
 8877 	* bidi.c (bidi_get_type, bidi_get_category)
 8878 	(bidi_at_paragraph_end, bidi_resolve_weak, bidi_resolve_neutral)
 8879 	(bidi_type_of_next_char, bidi_level_of_next_char):
 8880 	Declare static.  Use `INLINE' rather than `inline'.
 8881 
 8882 2010-04-19  Juanma Barranquero  <lekktu@gmail.com>
 8883 
 8884 	* dired.c (Ffile_attributes): Fix typo in docstring.
 8885 
 8886 2010-04-19  Adrian Robert  <Adrian.B.Robert@gmail.com>
 8887 
 8888 	* nsmenu.m (EmacsDialog-runDialogAt:): Declare ret as
 8889 	NSInteger (Bug#5811).
 8890 
 8891 2010-04-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 8892 
 8893 	* s/darwin.h (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF)
 8894 	(PTY_OPEN): New defines.  Use openpty (Bug#726, Bug#5819).
 8895 
 8896 2010-04-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 8897 
 8898 	* frame.h (FRAME_LINE_TO_PIXEL_Y): Add missing parenthesis.
 8899 
 8900 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
 8901 
 8902 	* xdisp.c (prepare_menu_bars): Don't call ns_set_doc_edited for
 8903 	terminal frames (Bug#5837).
 8904 
 8905 2010-04-19  Eli Zaretskii  <eliz@gnu.org>
 8906 
 8907 	* .gdbinit (xsubchartable): New command.
 8908 
 8909 2010-04-19  Eli Zaretskii  <eliz@gnu.org>
 8910 
 8911 	* xdisp.c (display_line): Don't write beyond the last glyph row in
 8912 	the desired matrix.  Fixes a crash in "emacs -nw" (bug#5972), see
 8913 	http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00075.html
 8914 	and
 8915 	http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00213.html
 8916 
 8917 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
 8918 
 8919 	* alloc.c (Fpurecopy): Hash-cons if requested.
 8920 	(syms_of_alloc): Update purify-flag docstring.
 8921 
 8922 2010-04-18  Jan Djärv  <jan.h.d@swipnet.se>
 8923 
 8924 	* gtkutil.c (xg_set_geometry): Set size in geometry string also.
 8925 	(x_wm_set_size_hint): Set USER_POS in hint_flags (Bug#5968).
 8926 
 8927 2010-04-17  Eli Zaretskii  <eliz@gnu.org>
 8928 
 8929 	Fix a crash when an NSM character is inserted at BEGV.
 8930 
 8931 	* bidi.c (bidi_init_it): Fix initialization of bidi_it->prev.
 8932 	(bidi_resolve_weak): Don't use prev.type_after_w1 if it is
 8933 	NEUTRAL_B or UNKNOWN_BT.
 8934 
 8935 2010-04-16  Eli Zaretskii  <eliz@gnu.org>
 8936 
 8937 	* xdisp.c (set_cursor_from_row): Don't consider possibility of
 8938 	other rows with cursor unless they are different from this row and
 8939 	this row is part of a continued line.  (Bug#5943)
 8940 
 8941 2010-04-16  Dan Nicolaescu  <dann@ics.uci.edu>
 8942 
 8943 	* s/freebsd.h: Restore osreldate.h include.
 8944 	Suggested by Naohiro Aota.
 8945 
 8946 2010-04-16  Jan Djärv  <jan.h.d@swipnet.se>
 8947 
 8948 	* xmenu.c (apply_systemfont_to_menu): *childs was incorrectly used.
 8949 
 8950 2010-04-16  Ken Brown  <kbrown@cornell.edu>  (tiny change)
 8951 
 8952 	* s/cygwin.h: Avoid linking against static libgcc.
 8953 
 8954 2010-04-15  Juri Linkov  <juri@jurta.org>
 8955 
 8956 	* window.c: Add Qscroll_command.
 8957 	Remove Vscroll_preserve_screen_position_commands.
 8958 	(window_scroll_pixel_based, window_scroll_line_based): Check the
 8959 	`scroll-command' property on the last command instead of searching
 8960 	the last command in Vscroll_preserve_screen_position_commands.
 8961 	(syms_of_window): Initialize and staticpro `Qscroll_command'.
 8962 	Put Qscroll_command property on Qscroll_up and Qscroll_down.
 8963 	(scroll-preserve-screen-position): Doc fix.
 8964 	(Vscroll_preserve_screen_position_commands): Remove variable.
 8965 
 8966 2010-04-15  Dan Nicolaescu  <dann@ics.uci.edu>
 8967 
 8968 	* xdisp.c (message): Do not use NO_ARG_ARRAY.
 8969 
 8970 2010-04-14  Dan Nicolaescu  <dann@ics.uci.edu>
 8971 
 8972 	Reduce cpp use in Makefile.in.
 8973 	* Makefile.in (DBUS_CFLAGS, DBUS_LIBS, GCONF_CFLAGS, GCONF_LIBS)
 8974 	(LIBSOUND, CFLAGS_SOUND, RSVG_LIBS, RSVG_CFLAGS, INTERVALS_H)
 8975 	(GETLOADAVG_LIBS, RUN_TEMACS): Move to the autoconf section.
 8976 	(ORDINARY_LINK): Remove, defined in s/gnu.h.
 8977 	(CRT0_COMPILE): Remove, inline it in the only user.
 8978 
 8979 2010-04-14  Juri Linkov  <juri@jurta.org>
 8980 
 8981 	* window.c (keys_of_window): Rebind `C-v' from `scroll-up' to
 8982 	`scroll-up-command' and `M-v' from `scroll-down' to
 8983 	`scroll-down-command'.
 8984 
 8985 2010-04-14  Juri Linkov  <juri@jurta.org>
 8986 
 8987 	* window.c (Vscroll_preserve_screen_position_commands): New variable
 8988 	with the default value as the list of Qscroll_down and Qscroll_up.
 8989 	(window_scroll_pixel_based, window_scroll_line_based): Search the
 8990 	last command in the list Vscroll_preserve_screen_position_commands
 8991 	instead of comparing with Qscroll_up and Qscroll_down.
 8992 
 8993 2010-04-13  Jan Djärv  <jan.h.d@swipnet.se>
 8994 
 8995 	* gtkutil.c (xg_set_geometry): Set geometry for PPosition also.
 8996 	(x_wm_set_size_hint): Don't set position flags,
 8997 	gtk_window_parse_geometry does that.
 8998 
 8999 	* xfns.c (Fx_create_frame, x_create_tip_frame): Set default border width
 9000 	to zero.
 9001 
 9002 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
 9003 
 9004 	* term.c (init_tty): Move common text outside of #ifdef TERMINFO.
 9005 
 9006 	Try to solve the problem of spurious EOF chars in long lines of text
 9007 	sent to interactive subprocesses.
 9008 	* sysdep.c (child_setup_tty): Do not enable ICANON any more.
 9009 	(system_process_attributes): Remove unused var `ttotal'.
 9010 	* process.c (send_process): Don't bother breaking long line with EOF
 9011 	chars when talking to ttys any more.
 9012 	(wait_reading_process_output): Output a warning when called in such
 9013 	a way that it could block without being interruptible.
 9014 
 9015 	Try to detect file modification within the same second.
 9016 	* buffer.h (struct buffer): New field modtime_size.
 9017 	* buffer.c (reset_buffer): Initialize it.
 9018 	* fileio.c (Finsert_file_contents, Fwrite_region): Set it.
 9019 	(Fverify_visited_file_modtime): Check it.
 9020 	(Fclear_visited_file_modtime, Fset_visited_file_modtime): Clear it.
 9021 	(Fset_visited_file_modtime): Set (or clear) it.
 9022 
 9023 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 9024 
 9025 	* process.c (status_notify): Remove unused var `ro'.
 9026 
 9027 2010-04-12  Jan Djärv  <jan.h.d@swipnet.se>
 9028 
 9029 	* xfns.c (select_visual): Don't call error if XGetVisualInfo returns
 9030 	more than one visual (Bug#5938).
 9031 
 9032 2010-04-12  Dan Nicolaescu  <dann@ics.uci.edu>
 9033 
 9034 	* Makefile.in (C_SWITCH_SYSTEM,C_SWITCH_MACHINE,C_SWITCH_X_SITE):
 9035 	Undefine.
 9036 
 9037 2010-04-11  Dan Nicolaescu  <dann@ics.uci.edu>
 9038 
 9039 	Remove C_SWITCH_SYSTEM_TEMACS.
 9040 	* s/darwin.h (C_SWITCH_SYSTEM_TEMACS): Remove.
 9041 	(malloc, realloc, free): Use emacs, not temacs for conditional
 9042 	definition.
 9043 
 9044 	* Makefile.in (C_SWITCH_SYSTEM_TEMACS): Remove.
 9045 	(ALL_CFLAGS): Do not use C_SWITCH_SYSTEM_TEMACS.
 9046 
 9047 	Use autoconf, not cpp for some variables.
 9048 	* Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE)
 9049 	(C_SWITCH_X_SITE): Define using autoconf, not cpp.
 9050 	(ALL_CFLAGS): Use them as make variables.
 9051 	(really-lwlib, really-oldXMenu): Do not pass them.
 9052 
 9053 2010-04-11  Jan Djärv  <jan.h.d@swipnet.se>
 9054 
 9055 	* xmenu.c (apply_systemfont_to_dialog): New.
 9056 	(create_and_show_dialog): Call apply_systemfont_to_dialog if HAVE_XFT.
 9057 
 9058 2010-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 9059 
 9060 	* process.c (exec_sentinel): Preserve current-buffer.
 9061 
 9062 	* process.c (read_process_output): Move the save-current-buffer to
 9063 	apply to both the filter and the non-filter branches.
 9064 
 9065 2010-04-10  Dan Nicolaescu  <dann@ics.uci.edu>
 9066 
 9067 	* s/msdos.h (UNEXEC): New definition.
 9068 
 9069 2010-04-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 9070 
 9071 	* dispextern.h (TRY_WINDOW_CHECK_MARGINS)
 9072 	(TRY_WINDOW_IGNORE_FONTS_CHANGE): New defines.
 9073 
 9074 	* xdisp.c (try_window): Change arg from CHECK_MARGINS to FLAGS.
 9075 	Don't abort with fonts change if TRY_WINDOW_IGNORE_FONTS_CHANGE is
 9076 	set in FLAGS.  Callers with non-zero CHECK_MARGINS changed to use
 9077 	TRY_WINDOW_CHECK_MARGINS.
 9078 
 9079 	* xfns.c (Fx_show_tip): Undo last change.  Call try_window with
 9080 	TRY_WINDOW_IGNORE_FONTS_CHANGE (Bug#2423).  Subtract last glyph's
 9081 	width only when it is for padding.
 9082 
 9083 2010-04-09  Jan Djärv  <jan.h.d@swipnet.se>
 9084 
 9085 	* xfns.c (Fx_show_tip): Call try_window in a loop until
 9086 	fonts_changed_p is zero (Bug#2423).
 9087 
 9088 2010-04-08  Eli Zaretskii  <eliz@gnu.org>
 9089 
 9090 	* xdisp.c (set_cursor_from_row): Don't dereference glyphs beyond
 9091 	the end of TEXT_AREA.  (Bug#5856)
 9092 
 9093 2010-04-08  Jan Djärv  <jan.h.d@swipnet.se>
 9094 
 9095 	* xsettings.c (XSETTINGS_FONT_NAME): Move XSETTINGS_FONT_NAME out of
 9096 	HAVE_GCONF.
 9097 
 9098 2010-04-08  Eli Zaretskii  <eliz@gnu.org>
 9099 
 9100 	* bidi.c (bidi_resolve_weak): Use prev.type_after_w1, instead of
 9101 	prev.orig_type, for resolving type of NSM.  (Bug#5858)
 9102 
 9103 2010-04-08  Jan Djärv  <jan.h.d@swipnet.se>
 9104 
 9105 	* xsettings.c (current_font, SYSTEM_FONT, XSETTINGS_FONT_NAME): New.
 9106 	(parse_xft_settings): Also check for XSETTINGS_FONT_NAME and save that
 9107 	in current_font.
 9108 	(init_gconf): Read value of SYSTEM_FONT and save it in current_font.
 9109 	(Ffont_get_system_normal_font, xsettings_get_system_normal_font):
 9110 	New functions.
 9111 	(syms_of_xsettings): Initialize current_font.
 9112 	defsubr Sfont_get_system_normal_font.
 9113 
 9114 	* xsettings.h (Ffont_get_system_normal_font)
 9115 	(xsettings_get_system_normal_font): Declare.
 9116 
 9117 	* xfns.c (extern xlwmenu_default_font): Remove.
 9118 	(Fx_create_frame): Remove setting of xlwmenu_default_font, moved
 9119 	to xlwmenu.c.
 9120 
 9121 	* menu.c (digest_single_submenu): If USE_LUCID and HAVE_XFT, encode
 9122 	menu items in UTF-8.
 9123 
 9124 	* xmenu.c: Include xsettings.h and xlwmenu.h if USE_LUCID.
 9125 	(apply_systemfont_to_menu): New function.
 9126 	(set_frame_menubar, create_and_show_popup_menu):
 9127 	Call apply_systemfont_to_menu.
 9128 
 9129 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
 9130 
 9131 	* frame.h (FRAME_TEXT_LINES_TO_PIXEL_HEIGHT): Don't use
 9132 	FRAME_LINE_TO_PIXEL_Y.
 9133 
 9134 	* xterm.c (x_set_window_size_1): Don't add border_width/height to
 9135 	pixelwidth/height.
 9136 
 9137 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
 9138 
 9139 	Simplify code for HP machines.
 9140 	* m/hp800.h (LOAD_AVE_TYPE, LOAD_AVE_CVT, NO_REMAP): Do not define
 9141 	for GNU_LINUX, not needed.
 9142 	(UNEXEC, NEED_BSDTTY): Move definitions...
 9143 	* s/hpux10-20.h (UNEXEC, NEED_BSDTTY): ... here.
 9144 
 9145 	* m/iris4d.h (UNEXEC): Move definition ...
 9146 	* s/irix6-5.h (UNEXEC): ... here.
 9147 
 9148 2010-04-04  Jan Djärv  <jan.h.d@swipnet.se>
 9149 
 9150 	* xfns.c (set_machine_and_pid_properties): New function.
 9151 	(Fx_create_frame): Call set_machine_and_pid_properties.
 9152 
 9153 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
 9154 
 9155 	* bidi.c (bidi_resolve_explicit, bidi_level_of_next_char):
 9156 	Check bidi_it->bytepos against ZV_BYTE instead of bidi_it->ch against
 9157 	BIDI_EOB.  Fixes infloop with vertical cursor motion at ZV.
 9158 
 9159 	* w32fns.c (x_create_tip_frame): Copy `parms' before we modify it
 9160 	in this function.  (Bug#5703)
 9161 
 9162 2010-04-03  Chong Yidong  <cyd@stupidchicken.com>
 9163 
 9164 	* nsterm.h: Fix last change.
 9165 
 9166 2010-04-03  Dan Nicolaescu  <dann@ics.uci.edu>
 9167 
 9168 	* m/intel386.h (NO_REMAP): Move definition ...
 9169 	* s/msdos.h (NO_REMAP): ... here.
 9170 
 9171 	* m/vax.h (CRT0_DUMMIES): Remove, unused.
 9172 
 9173 	* ecrt0.c: Remove MSDOS, m68k and __sparc__ conditionals, file not
 9174 	used on those platforms.
 9175 
 9176 2010-04-02  Dan Nicolaescu  <dann@ics.uci.edu>
 9177 
 9178 	Remove extern errno declarations.
 9179 	* xterm.c:
 9180 	* xrdb.c:
 9181 	* w32term.c:
 9182 	* unexec.c:
 9183 	* unexaix.c:
 9184 	* sysdep.c:
 9185 	* process.c:
 9186 	* lread.c:
 9187 	* keyboard.c:
 9188 	* floatfns.c:
 9189 	* filelock.c:
 9190 	* fileio.c:
 9191 	* emacs.c (main):
 9192 	* ecrt0.c:
 9193 	* dispnew.c:
 9194 	* callproc.c:
 9195 	* buffer.c: Remove errno extern declarations.
 9196 	* s/netbsd.h (NEED_ERRNO): Remove.
 9197 
 9198 2010-04-01  Dan Nicolaescu  <dann@ics.uci.edu>
 9199 
 9200 	Remove all uses of LIBX11_SYSTEM.
 9201 	* Makefile.in (LIBX11_SYSTEM): Remove.
 9202 	* s/msdos.h (LIBX11_SYSTEM): Do not define, define LIBS_SYSTEM
 9203 	instead.
 9204 
 9205 2010-04-01  Eli Zaretskii  <eliz@gnu.org>
 9206 
 9207 	Remove support for DJGPP v1.x (bug#5813).
 9208 
 9209 	* w16select.c (__dpmi_int): Remove DJGPP v1.x compatibility.
 9210 	* s/msdos.h:
 9211 	* unexec.c (make_hdr, copy_text_and_data):
 9212 	* sysdep.c (wait_for_termination, sys_subshell):
 9213 	* msdos.c (dos_set_window_size, msdos_set_cursor_shape)
 9214 	(IT_set_terminal_modes, __write, _rename, gethostname)
 9215 	(gettimeofday, alarm, fork, kill, dos_ttraw, dos_ttcooked)
 9216 	(run_msdos_command, abort): Remove DJGPP v1.x code and tests of
 9217 	the value of __DJGPP__.
 9218 	(nice, pause, sigsetmask, sigblock): Remove DJGPP v1.x
 9219 	compatibility code.
 9220 	* lread.c:
 9221 	* gmalloc.c (memalign):
 9222 	* fileio.c (Fcopy_file, check_executable, Ffile_modes):
 9223 	* emacs.c (main):
 9224 	* dosfns.c (init_dosfns):
 9225 	* dired.c (file_name_completion_stat): Remove tests of __DJGPP__.
 9226 
 9227 2010-04-01  Eli Zaretskii  <eliz@gnu.org>
 9228 
 9229 	* xdisp.c (set_cursor_from_row): Fix cursor positioning when the
 9230 	string with `cursor' property comes from an `after-string'
 9231 	overlay.  (Bug#5816)
 9232 
 9233 2010-04-01  Glenn Morris  <rgm@gnu.org>
 9234 
 9235 	* Makefile.in (LIBTIFF, LIBJPEG, LIBPNG, LIBGIF, LIBXPM, XFT_LIBS):
 9236 	Define as Makefile variables.
 9237 	(LIBX): Use above variables rather than directly using autoconf.
 9238 
 9239 2010-03-31  Dan Nicolaescu  <dann@ics.uci.edu>
 9240 
 9241 	Clean up BSD_SYSTEM use.
 9242 	* xterm.c:
 9243 	* process.c:
 9244 	* emacs.c: Use HAVE_SYS_IOCTL_H instead of BSD_SYSTEM as a guard
 9245 	for including <sys/ioctl.h>.
 9246 	* sysdep.c (wait_without_blocking): Remove BSD_SYSTEM case, this
 9247 	code is only used for MSDOS.
 9248 
 9249 2010-03-31  Juri Linkov  <juri@jurta.org>
 9250 
 9251 	* image.c: Add `Qextension_data'.
 9252 	(syms_of_image): Initialize and staticpro `Qextension_data'.
 9253 	(Fimage_metadata): Rename from `Fimage_extension_data'.
 9254 	(gif_load): Put GIF extension data to the property
 9255 	`Qextension_data'.
 9256 
 9257 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
 9258 
 9259 	* nsfns.m (ns_set_doc_edited): Remove unused arg OLDVAL.
 9260 	* nsterm.h: Fix prototype.
 9261 
 9262 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
 9263 
 9264 	* xdisp.c (highlight_trailing_whitespace): Support highlight of
 9265 	trailing whitespace in right-to-left rows.
 9266 
 9267 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
 9268 
 9269 	Get rid of the direct_output optimizations.
 9270 	* keyboard.c (nonundocount): Remove extern declaration.
 9271 	(command_loop_1): Remove brittle optimization for cheap and
 9272 	common operations.
 9273 	* xdisp.c (redisplay_internal): Don't bother checking
 9274 	redisplay_performed_directly_p any more.
 9275 	* sysdep.c (init_sys_modes): Don't call direct_output_forward_char
 9276 	any more.
 9277 	* dispnew.c (redisplay_performed_directly_p)
 9278 	(direct_output_for_insert, direct_output_forward_char):
 9279 	* dispextern.h (redisplay_performed_directly_p)
 9280 	(direct_output_for_insert, direct_output_forward_char): Remove.
 9281 	* cmds.c (nonundocount): Make it static.
 9282 
 9283 2010-03-31  Bernhard Herzog  <bh@intevation.de>  (tiny change)
 9284 
 9285 	* menu.c (Fx_popup_menu): Use last_event_timestamp (Bug#4930).
 9286 
 9287 2010-03-31  Jan Djärv  <jan.h.d@swipnet.se>
 9288 
 9289 	* xdisp.c (note_mouse_highlight): Don't do highlight if pointer is
 9290 	invisible (Bug#5766).
 9291 
 9292 2010-03-31  Adrian Robert  <adrian.b.robert@gmail.com>
 9293 
 9294 	* xdisp.c (x_consider_frame_title, update_window_cursor):
 9295 	Remove HAVE_NS conditionals.
 9296 	(prepare_menu_bars) [HAVE_NS]: Call ns_set_doc_edited.
 9297 
 9298 	* nsfns.m (x_implicitly_set_name): If frame-title-format is t, use
 9299 	filename for the title.
 9300 	(ns_set_doc_edited): Do nothing if the selected window is a
 9301 	minibuffer window.
 9302 
 9303 	* nsterm.h: Add prototypes for ns_set_name_as_filename and
 9304 	ns_set_doc_edited.
 9305 
 9306 	* nsterm.m: Remove unneeded prototype.
 9307 
 9308 2010-03-31  Glenn Morris  <rgm@gnu.org>
 9309 
 9310 	* Makefile.in (SOME_MACHINE_OBJECTS): Ensure dbus stuff is always
 9311 	in the DOC file.  (Bug#5336)
 9312 
 9313 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
 9314 
 9315 	* xdisp.c (pos_visible_p): Revert 2008-01-25 change (Bug#5730).
 9316 
 9317 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
 9318 
 9319 	* window.c (keys_of_window): Remove redundant/overridden bindings.
 9320 
 9321 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
 9322 
 9323 	* xdisp.c (BUFFER_POS_REACHED_P, move_it_in_display_line_to):
 9324 	Restore original behavior when the iterator is not bidi_p.
 9325 
 9326 2010-03-30  Dan Nicolaescu  <dann@ics.uci.edu>
 9327 
 9328 	* xdisp.c (syms_of_xdisp): Use intern_c_string instead of intern.
 9329 
 9330 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
 9331 
 9332 	* bidi.c (bidi_cache_iterator_state): Invalidate the cache if we
 9333 	are outside the range of cached character positions.
 9334 
 9335 2010-03-30  Juanma Barranquero  <lekktu@gmail.com>
 9336 
 9337 	* makefile.w32-in ($(BLD)/bidi.$(O)): Add dependency on w32gui.h.
 9338 
 9339 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
 9340 
 9341 	Initial support for bidirectional editing.
 9342 
 9343 	* Makefile.in (obj): Include bidi.o.
 9344 	(bidi.o): New target.
 9345 
 9346 	* makefile.w32-in (OBJ1): Add $(BLD)/bidi.$(O).
 9347 	($(BLD)/bidi.$(O)): New target.
 9348 
 9349 	* bidi.c: New file.
 9350 
 9351 	* buffer.h (struct buffer): New members bidi_display_reordering
 9352 	and bidi_paragraph_direction.
 9353 
 9354 	* buffer.c (init_buffer_once): Initialize bidi_display_reordering
 9355 	and bidi_paragraph_direction.
 9356 	(syms_of_buffer): Declare Lisp variables bidi-display-reordering
 9357 	and bidi-paragraph-direction.
 9358 	(Fbuffer_swap_text): Swap the values of
 9359 	bidi_display_reordering and bidi_paragraph_direction.
 9360 
 9361 	* dispextern.h (BIDI_MAXLEVEL, BIDI_AT_BASE_LEVEL): New macros.
 9362 	(bidi_type_t, bidi_dir_t): New types.
 9363 	(bidi_saved_info, bidi_stack, bidi_it): New structures.
 9364 	(struct it): New members bidi_p, bidi_it, paragraph_embedding,
 9365 	prev_stop, base_level_stop, and eol_pos.
 9366 	(bidi_init_it, bidi_get_next_char_visually): New prototypes.
 9367 	(IT_STACK_SIZE): Enlarge to 5.
 9368 	(struct glyph_row): New member reversed_p.
 9369 	<string_buffer_position>: Update prototype.
 9370 	(PRODUCE_GLYPHS): Set the reversed_p flag in the iterator's
 9371 	glyph_row if bidi_it.paragraph_dir == R2L.
 9372 	(struct glyph): New members resolved_level and bidi_type.
 9373 
 9374 	* dispnew.c (direct_output_forward_char): Give up if we need bidi
 9375 	processing or buffer's direction is right-to-left.
 9376 	(prepare_desired_row): Preserve the reversed_p flag.
 9377 	(row_equal_p): Compare the reversed_p attributes as well.
 9378 
 9379 	* xdisp.c (init_iterator): Initialize it->bidi_p.
 9380 	Call bidi_init_it and set it->paragraph_embedding from the current
 9381 	buffer's value of bidi_paragraph_direction.
 9382 	(reseat_1): Initialize bidi_it.first_elt.
 9383 	(set_iterator_to_next, next_element_from_buffer): Use the value of
 9384 	paragraph_embedding to determine the paragraph direction.
 9385 	(set_iterator_to_next): Under bidi reordering, call
 9386 	bidi_get_next_char_visually.  Call bidi_paragraph_init if the
 9387 	new_paragraph flag is set in the bidi iterator.
 9388 	(next_element_from_buffer): If bidi_it.first_elt is set,
 9389 	initialize paragraph direction and find the first character to
 9390 	display in the visual order.  If reseated to a middle of a line,
 9391 	prime the bidi iterator starting at the line's beginning.
 9392 	Handle the situation where we overstepped stop_charpos due to
 9393 	non-linearity of the bidi iteration.  Likewise for when we back up
 9394 	beyond the previous stop_charpos.  When moving across stop_charpos,
 9395 	record it in prev_stop.
 9396 	(display_line): Set row->end and it->start for the next row to the
 9397 	next character in logical order.  Always extend reversed_p rows to
 9398 	the end of line, even if they end at ZV.  Copy the reversed_p flag
 9399 	to the next glyph row.  Keep calling set_cursor_from_row for
 9400 	bidi-reordered rows even if we already have a possible candidate
 9401 	for cursor position.  Set row_end after all the row's glyphs have
 9402 	been produced, by looping over the glyphs.  Record the position
 9403 	after EOL in it->eol_pos, and use it to set end_pos of the last
 9404 	row produced for a continued line.
 9405 	<Qright_to_left, Qleft_to_right>: New variables.
 9406 	(syms_of_xdisp): Initialize and staticpro them.
 9407 	(string_buffer_position_lim): New function.
 9408 	(string_buffer_position): Most of code moved to
 9409 	string_buffer_position_lim.  Last argument and return value are
 9410 	now EMACS_INT; all callers changed.
 9411 	(set_cursor_from_row): Rewritten to support bidirectional text and
 9412 	reversed glyph rows.
 9413 	(text_outside_line_unchanged_p, try_window_id):
 9414 	Disable optimizations if we are reordering bidirectional text and the
 9415 	paragraph direction can be affected by the change.
 9416 	(append_glyph, append_composite_glyph)
 9417 	(produce_image_glyph, append_stretch_glyph): Set the
 9418 	resolved_level and bidi_type members of each glyph.
 9419 	(append_glyph): If the glyph row is reversed, prepend the glyph
 9420 	rather than appending it.
 9421 	(handle_stop_backwards): New function.
 9422 	(reseat_1, pop_it, push_it): Set prev_stop and base_level_stop.
 9423 	(reseat): Call handle_stop_backwards to recompute prev_stop and
 9424 	base_level_stop for the new position.
 9425 	(handle_invisible_prop): Under bidi iteration, skip invisible text
 9426 	using bidi_get_next_char_visually.  If we are `reseat'ed, init the
 9427 	paragraph direction.  Update IT->prev_stop after skipping
 9428 	invisible text.
 9429 	(move_it_in_display_line_to): New variables prev_method
 9430 	and prev_pos.  Compare for strict equality in
 9431 	BUFFER_POS_REACHED_P.
 9432 	(try_cursor_movement): Examine all the candidate rows that occlude
 9433 	point, to return the best match.  If rows are bidi-reordered
 9434 	and point moved backwards, back up to the row that is not a
 9435 	continuation line, and start looking for a suitable row from
 9436 	there.
 9437 
 9438 	* term.c (append_glyph): Reverse glyphs by pre-pending them,
 9439 	rather than appending, if the glyph_row's reversed_p flag is set.
 9440 	Set the resolved_level and bidi_type members of each glyph.
 9441 
 9442 	* .gdbinit (pbiditype): New command.
 9443 	(pgx): Use it to display bidi level and type of the glyph.
 9444 	(pitx): Display some bidi information about the iterator.
 9445 	(prowlims, pmtxrows): New commands.
 9446 
 9447 2010-03-30  Dan Nicolaescu  <dann@ics.uci.edu>
 9448 
 9449 	Remove all uses of C_DEBUG_SWITCH and LIBS_DEBUG.
 9450 	* s/usg5-4.h (LIBS_DEBUG):
 9451 	* s/irix6-5.h (C_DEBUG_SWITCH):
 9452 	* s/gnu-linux.h (LIBS_DEBUG):
 9453 	* s/darwin.h (LIBS_DEBUG):
 9454 	* s/bsd-common.h (LIBS_DEBUG):
 9455 	* s/aix4-2.h (LIBS_DEBUG, C_DEBUG_SWITCH):
 9456 	* m/iris4d.h (LIBS_DEBUG):
 9457 	* m/hp800.h (LIBS_DEBUG): Remove definitions.
 9458 
 9459 	* Makefile.in (LIBES): Remove reference to LIBS_DEBUG.
 9460 	(LIBS_DEBUG): Remove definition.
 9461 
 9462 2010-03-27  Chong Yidong  <cyd@stupidchicken.com>
 9463 
 9464 	* process.c (Fmake_network_process): Don't apply Bug#5173 fix for
 9465 	Windows.
 9466 
 9467 2010-03-25  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 9468 
 9469 	* process.c (Fmake_network_process): Don't call turn_on_atimers around
 9470 	`connect' (Bug#5723).
 9471 
 9472 2010-03-25  Helmut Eller  <eller.helmut@gmail.com>
 9473 
 9474 	* process.c (Fmake_network_process): Call `select' for interrupted
 9475 	`connect' rather than creating new socket (Bug#5173).
 9476 
 9477 2010-03-24  Jan Djärv  <jan.h.d@swipnet.se>
 9478 
 9479 	* frame.c (x_get_arg): Handle RES_TYPE_BOOLEAN_NUMBER (bug #5736).
 9480 
 9481 	* xfns.c (Fx_create_frame): Make menuBar a RES_TYPE_BOOLEAN_NUMBER.
 9482 
 9483 	* dispextern.h (resource_types): RES_TYPE_BOOLEAN_NUMBER is new.
 9484 
 9485 2010-03-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 9486 
 9487 	* xfns.c (Fx_create_frame) [USE_LUCID]: Add BLOCK_INPUT around
 9488 	XLoadQueryFont.
 9489 
 9490 2010-03-24  Kenichi Handa  <handa@m17n.org>
 9491 
 9492 	* coding.c (decode_coding_ccl): Fix previous change for the
 9493 	multibyte case.
 9494 	(encode_coding_ccl): Don't setup ccl program here.  Fix for the
 9495 	case that the output buffer is fullfilled.
 9496 	(encode_coding): Setup ccl program here.
 9497 
 9498 2010-03-23  Dan Nicolaescu  <dann@ics.uci.edu>
 9499 
 9500 	* s/gnu-linux.h (LIBS_SYSTEM): Remove, same as default.
 9501 
 9502 	Simplify LIBS_MACHINE definitions.
 9503 	* m/hp800.h (LIBS_MACHINE): Remove, same as default.
 9504 	* m/iris4d.h (LIBS_MACHINE): Likewise.
 9505 	* m/ibmrs6000.h (LIBS_MACHINE): Rename to LIBS_SYSTEM and move ...
 9506 	* s/aix4-2.h (LIBS_SYSTEM): ... here.
 9507 	* s/netbsd.h: Remove commented out code.
 9508 
 9509 2010-03-22  Dan Nicolaescu  <dann@ics.uci.edu>
 9510 
 9511 	Remove dead code dealing with POSIX_SIGNALS.
 9512 	* atimer.c (set_alarm): Remove dead code, all USG systems define
 9513 	POSIX_SIGNALS.
 9514 	* data.c (arith_error): Likewise.
 9515 	* keyboard.c (input_available_signal, handle_user_signal)
 9516 	(interrupt_signal): Likewise.
 9517 	* process.c (sigchld_handler): Likewise.
 9518 	(create_process): Remove if 0 code.  Remove HPUX conditional when
 9519 	!defined (POSIX_SIGNALS), it cannot be true.
 9520 	* syssignal.h: Remove USG5_4 and USG conditionals when
 9521 	!POSIX_SIGNALS, they cannot be true.
 9522 
 9523 	* keyboard.c (Fset_input_interrupt_mode): Remove code depending on
 9524 	NO_SOCK_SIGIO, not used anymore.
 9525 
 9526 2010-03-21  Dan Nicolaescu  <dann@ics.uci.edu>
 9527 
 9528 	* m/vax.h (BSD_SYSTEM, BSD4_2): Remove conditionals, we only
 9529 	support vax on BSDs.
 9530 
 9531 	* m/ibmrs6000.h (ORDINARY_LINK): Move definition ...
 9532 	* s/aix4-2.h (ORDINARY_LINK): ... here.
 9533 
 9534 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
 9535 
 9536 	* Makefile.in (abs_builddir): Define.
 9537 	(bootstrap_exe): Use it.
 9538 	(VPATH): Use $(srcdir) instead of @srcdir@.
 9539 
 9540 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
 9541 
 9542 	* Makefile.in (bootstrap_exe): Use an absolute name.
 9543 
 9544 2010-03-20  Dan Nicolaescu  <dann@ics.uci.edu>
 9545 
 9546 	Remove support for old GNU/Linux using libc version 5.
 9547 	* m/alpha.h (LINUX_SBRK_BUG): Remove definition.
 9548 	* emacs.c (main): Remove code depending on LINUX_SBRK_BUG.
 9549 
 9550 	Consolidate redundant definitions in s/bsd-common.h.
 9551 	* s/bsd-common.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO)
 9552 	(LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS)
 9553 	(LDAV_SYMBOL, KERNEL_FILE): Define (or undefine) here instead of
 9554 	doing it in all files that include this one.
 9555 	* s/gnu.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO)
 9556 	(LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS)
 9557 	(LDAV_SYMBOL, KERNEL_FILE): Remove.
 9558 	* s/freebsd.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO)
 9559 	(LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS)
 9560 	(LDAV_SYMBOL, KERNEL_FILE): Remove.
 9561 	* s/netbsd.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO)
 9562 	(LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS)
 9563 	(LDAV_SYMBOL, KERNEL_FILE): Remove.
 9564 
 9565 	Consolidate redundant definitions.
 9566 	* s/usg5-4.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not define,
 9567 	it's undefined in all files that include this one.
 9568 	(POSIX_SIGNALS): Define here instead of doing it in all files that
 9569 	include this one.
 9570 	* s/irix6-5.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not undef.
 9571 	(POSIX_SIGNALS): Do not define.
 9572 	* s/sol2-6.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not undef.
 9573 	(POSIX_SIGNALS): Do not define.
 9574 	* s/unixware.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not undef.
 9575 	(POSIX_SIGNALS): Do not define.
 9576 
 9577 	Remove support for old UNIX System V systems.
 9578 	* s/unixware.h: Add the contents of s/usg5-4-2.h.
 9579 	* s/usg5-4-2.h: Remove.
 9580 
 9581 	Remove support for Solaris on PPC and for old versions.
 9582 	* s/sol2-6.h: Add the contents of s/sol-2.3.h, s/sol-2.4.h, s/sol-2.5.h.
 9583 	(LD_SWITCH_SYSTEM, USE_MMAP_FOR_BUFFERS): Remove #defines/#undef
 9584 	that cancel each other.
 9585 	* s/sol2-3.h:
 9586 	* s/sol2-4.h:
 9587 	* s/sol2-5.h: Remove.
 9588 	* m/ibmrs6000.h: Remove code for USG5_4, this file is only used on AIX.
 9589 	(NO_REMAP): Remove, unused.
 9590 	(UNEXEC): Move definition ...
 9591 	* s/aix4-2.h (UNEXEC): ... here.
 9592 
 9593 	* s/openbsd.h: Remove support for non-ELF and for systems that do
 9594 	not support shared libraries.
 9595 	* s/netbsd.h:
 9596 	* s/freebsd.h: Likewise.
 9597 
 9598 2010-03-20  Dan Nicolaescu  <dann@ics.uci.edu>
 9599 
 9600 	Remove non-working support for lynxos 3.0.
 9601 	* s/lynxos.h: Remove file.
 9602 
 9603 	* unexec.c (unexec, adjust_lnnoptrs): Do not depend on
 9604 	COFF_BSD_SYMBOLS, nothing defines it anymore.
 9605 
 9606 2010-03-20  Dan Nicolaescu  <dann@ics.uci.edu>
 9607 
 9608 	Remove obsolete uses of HAVE_SHM.
 9609 	* emacs.c (standard_args):
 9610 	(Fdump_emacs):
 9611 	(syms_of_emacs): Remove code depending on HAVE_SHM.
 9612 
 9613 	* alloc.c: Remove HAVE_SHM dependent definition.
 9614 
 9615 	* Makefile.in (RUN_TEMACS): Do not depend on HAVE_SHM.
 9616 
 9617 2010-03-18  Glenn Morris  <rgm@gnu.org>
 9618 
 9619 	* emacs.c (USAGE4): Hard-code bug address.
 9620 	(REPORT_EMACS_BUG_ADDRESS, REPORT_EMACS_BUG_PRETEST_ADDRESS): Remove.
 9621 	(bug_reporting_address): Remove.
 9622 	(main): Don't call bug_reporting_address.
 9623 
 9624 	* Makefile.in (XFT_LIBS, LIBXPM, LIBJPEG, LIBPNG, LIBTIFF, LIBGIF)
 9625 	(LIBGPM, LIBRESOLV): Set using autoconf rather than cpp.
 9626 
 9627 2010-03-15  Chong Yidong  <cyd@stupidchicken.com>
 9628 
 9629 	* xfns.c (Fx_create_frame):
 9630 	* frame.c (Vdefault_frame_scroll_bars): Put non-GTK X scroll-bars
 9631 	on left.
 9632 
 9633 2010-03-13  Andreas Politz  <politza@fh-trier.de>
 9634 
 9635 	* editfns.c (Fformat): Account for string precision when computing
 9636 	field width (Bug#5710).
 9637 
 9638 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
 9639 
 9640 	* xfns.c (Fx_create_frame): Set default to Qright.
 9641 
 9642 	* frame.c (Vdefault_frame_scroll_bars): Set default to Qright for
 9643 	all window systems.
 9644 
 9645 2010-03-12  Eli Zaretskii  <eliz@gnu.org>
 9646 
 9647 	These changes remove termcap.c from the build on POSIX platforms.
 9648 	* Makefile.in (termcapobj): Move termcap.o from here...
 9649 	(MSDOS_OBJ): ...to here.
 9650 	(termcapobj) [!LIBS_TERMCAP]: Remove specialized value, as it is
 9651 	now identical to when LIBS_TERMCAP is defined.
 9652 
 9653 	* term.c: Remove (ifdef'ed away) inclusion of termcap.h.
 9654 
 9655 	* cm.c: Remove (ifdef'ed away) inclusion of termcap.h.
 9656 
 9657 	* config.in: Regenerated.  (See top-level ChangeLog.)
 9658 
 9659 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
 9660 
 9661 	* Branch for 23.2.
 9662 
 9663 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
 9664 
 9665 	Cleanup setup of gl_state in various parts of the code.
 9666 	* syntax.h (SETUP_BUFFER_SYNTAX_TABLE): New macro.
 9667 	(SETUP_SYNTAX_TABLE, SETUP_SYNTAX_TABLE_FOR_OBJECT):
 9668 	* syntax.c (find_defun_start, Fchar_syntax, Fmatching_paren)
 9669 	(skip_chars):
 9670 	* regex.c (regex_compile): Use it.
 9671 	(re_compile_pattern): Don't set gl_state.current_syntax_table since
 9672 	it's now set in regex_compile when/if we need it.
 9673 
 9674 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
 9675 
 9676 	Make it possible to C-g in a tight bytecode loop again (bug#5680).
 9677 	* lisp.h (ELSE_PENDING_SIGNALS): New macro.
 9678 	(QUIT): Use it to consolidate code and remove redundancy.
 9679 	* bytecode.c (BYTE_CODE_QUIT): Use it as well.
 9680 
 9681 	* regex.c (regex_compile): Setup gl_state as well.
 9682 
 9683 	* syntax.c (skip_chars): Setup gl_state (bug#3823).
 9684 	(in_classes): Use CONSP before XCAR/XCDR.
 9685 
 9686 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
 9687 
 9688 	* keymap.c (Fwhere_is_internal): Use Fequal to compare
 9689 	definitions, so that keyboard macros are correctly handled
 9690 	(Bug#5481).
 9691 
 9692 2010-03-02  Eli Zaretskii  <eliz@gnu.org>
 9693 
 9694 	* coding.c (decode_coding_emacs_mule): Fixup pointers to buffer
 9695 	text that could be relocated inside the call to emacs_mule_char.
 9696 	(emacs_mule_char): Use CODING_DECODE_CHAR instead of DECODE_CHAR.
 9697 	(CODING_DECODE_CHAR): Add a comment describing its purpose.
 9698 
 9699 2010-03-02  Kenichi Handa  <handa@m17n.org>
 9700 
 9701 	* character.c (parse_str_as_multibyte): Fix handling of the
 9702 	multibyte form of raw-bytes.
 9703 	(str_as_multibyte): Likewise.
 9704 
 9705 	* buffer.c (Fset_buffer_multibyte): Fix handling of the multibyte
 9706 	form of raw-bytes.
 9707 
 9708 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
 9709 
 9710 	* charset.c (load_charset_map_from_file)
 9711 	(load_charset_map_from_vector): Zero out allocated
 9712 	charset_map_entries before using them.
 9713 
 9714 2010-02-27  Andreas Schwab  <schwab@linux-m68k.org>
 9715 
 9716 	* w32uniscribe.c (uniscribe_check_otf): Fix length check.
 9717 
 9718 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
 9719 
 9720 	* font.c (font_parse_fcname): Recognize "Book", "Condensed",
 9721 	"Medium", and "Semi-Condensed" keywords in GTK names (Bug#5646).
 9722 
 9723 2010-02-26  Kenichi Handa  <handa@m17n.org>
 9724 
 9725 	* ftfont.c (ftfont_get_open_type_spec): Fix parsing of otf_spec.
 9726 
 9727 	* xdisp.c (reseat_to_string): Fix previous change.
 9728 
 9729 2010-02-26  David Reitter  <david.reitter@gmail.com>
 9730 
 9731 	* nsfont.m (nsfont_draw): ns_antialias_text should be a
 9732 	Lisp_Object (Bug#4736).
 9733 
 9734 2010-02-25  Kenichi Handa  <handa@m17n.org>
 9735 
 9736 	* xdisp.c (reseat_to_string): Fix previous change (bug#5609).
 9737 
 9738 2010-02-24  Jan Djärv  <jan.h.d@swipnet.se>
 9739 
 9740 	* xterm.c (XTflash): Move declarations before statements.
 9741 
 9742 	* gtkutil.c (xg_get_gdk_display): Remove (unused).
 9743 	(xg_get_pixbuf_from_pix_and_mask, xg_create_frame_widgets)
 9744 	(xg_toggle_notify_cb, xg_set_toolkit_scroll_bar_thumb)
 9745 	(xg_create_tool_bar): Remove unused variables.
 9746 	(x_wm_set_size_hint): Move declarations before statements.
 9747 	(xg_create_frame_widgets): Remove variable grav.
 9748 
 9749 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
 9750 
 9751 	* m/arm.h: Define the LIB_GCC flag to be -lgcc_s (Bug#5518).
 9752 
 9753 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
 9754 
 9755 	* term.c (fatal): Add a final \n if needed (bug#5596).
 9756 
 9757 2010-02-18  Chong Yidong  <cyd@stupidchicken.com>
 9758 
 9759 	* nsterm.m (ns_ring_bell): Revert last change (Bug#5569).
 9760 
 9761 2010-02-18  Glenn Morris  <rgm@gnu.org>
 9762 
 9763 	* callint.c (Finteractive): Doc fix.
 9764 
 9765 2010-02-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
 9766 
 9767 	* coding.c (record_conversion_result):
 9768 	Handle CODING_RESULT_INSUFFICIENT_DST.
 9769 	(decode_coding_object): Record CODING_RESULT_INSUFFICIENT_MEM on
 9770 	memory allocation error.
 9771 
 9772 2010-02-17  Kenichi Handa  <handa@m17n.org>
 9773 
 9774 	* coding.c (decode_coding_ccl): Don't setup ccl program here.
 9775 	Fix for the case that the output buffer is fullfilled.
 9776 	(decode_coding): Setup ccl program here.  Keep looping when the
 9777 	decoder stopped because the output buffer is
 9778 	fullfilled (bug#5534).
 9779 
 9780 	* ccl.c (ccl_driver): Never reset ic to CCL_HEADER_MAIN.
 9781 
 9782 2010-02-13  Jan Djärv  <jan.h.d@swipnet.se>
 9783 
 9784 	* xterm.c (x_clear_frame_area): Call gtk_widget_queue_draw if USE_GTK,
 9785 	bug #5571.
 9786 	(XTflash): Use Gdk-routines if USE_GTK so scroll bars don't get
 9787 	overdrawn.
 9788 
 9789 2010-02-10  Jan Djärv  <jan.h.d@swipnet.se>
 9790 
 9791 	* xsmfns.c (x_session_initialize): Move initialization of ice_fd and
 9792 	doing_interact here.
 9793 	(ice_connection_closed): New function.
 9794 	(x_session_check_input, smc_die_CB, ice_io_error_handler)
 9795 	(ice_conn_watch_CB, x_session_close): Call ice_connection_closed.
 9796 	(x_session_check_input): Call IceCloseConnection if IceProcessMessages
 9797 	returns I/O error.
 9798 	(ice_conn_watch_CB): Call add_keyboard_wait_descriptor on ice_fd,
 9799 	bug #5512.
 9800 
 9801 2010-02-08  Francis Devereux  <francis@devrx.org>  (tiny change)
 9802 
 9803 	* nsfont.m (nsfont_open): The system's value for the font descent
 9804 	is negative, so round it down to avoid clipping.
 9805 
 9806 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
 9807 
 9808 	* charset.c (load_charset_map_from_file)
 9809 	(load_charset_map_from_vector): Fix last change to use SAFE_ALLOCA
 9810 	instead of xmalloc (Bug#5526).  Suggested by Vivek Dasmohapatra.
 9811 
 9812 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
 9813 
 9814 	* charset.c (load_charset_map_from_file): Allocate large
 9815 	charset_map_entries structure on the heap rather than the stack.
 9816 	(Bug#5526).
 9817 
 9818 2010-01-31  Kenichi Handa  <handa@m17n.org>
 9819 
 9820 	* font.c (font_parse_xlfd): If FONT is a font-entity and pixel
 9821 	size in NAME is invalid, return -1 (Bug#5396).
 9822 
 9823 2010-01-31  Chong Yidong  <cyd@stupidchicken.com>
 9824 
 9825 	* nsterm.m (ns_defined_color): Block input.  Suggested by Mike
 9826 	<deactivated@gmail.com> (Bug#3605).
 9827 
 9828 2010-01-31  David De La Harpe Golden  <david@harpegolden.net>
 9829 
 9830 	* fileio.c (Frename_file): Correctly rename symlinks to
 9831 	directories (Bug#5496).
 9832 
 9833 2010-01-31  Filipe Cabecinhas  <filcab@gmail.com>  (tiny change)
 9834 
 9835 	* nsterm.m (ns_ring_bell): Handle visible bell like X.
 9836 
 9837 2010-01-30  Andreas Schwab  <schwab@linux-m68k.org>
 9838 
 9839 	* character.h (CHAR_PRINTABLE_P): Reparenthesize to avoid warning.
 9840 
 9841 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
 9842 
 9843 	* frame.c (DEFAULT_ROWS): Change default to 35.
 9844 
 9845 	* xfns.c (x_default_font_parameter): Change default XFT font to
 9846 	monospace-10 (Bug#3643).
 9847 
 9848 2010-01-29  Eli Zaretskii  <eliz@gnu.org>
 9849 
 9850 	* w32inevt.c (key_event): Remove unnecessary comparison of
 9851 	event->uChar.AsciiChar with 128.
 9852 
 9853 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
 9854 
 9855 	* fileio.c (Frename_file): Fix last change (Bug#5487).
 9856 
 9857 	* m/mips.h: Remove DATA_START.  Suggested by Dan Nicolaescu.
 9858 
 9859 	* m/alpha.h: Don't define DATA_START on NetBSD (Bug#4629).
 9860 
 9861 2010-01-28  Jan Djärv  <jan.h.d@swipnet.se>
 9862 
 9863 	* xfns.c (Fx_create_frame): Remove window size matching code from
 9864 	2010-01-15.
 9865 	(x_get_current_desktop, x_get_desktop_workarea): Remove.
 9866 
 9867 2010-01-27  Jason Rumney  <jasonr@gnu.org>
 9868 
 9869 	* w32inevt.c (w32_kbd_patch_key): Save the Unicode character.
 9870 	(key_event): Use Unicode for characters 128 and higher (Bug#4567).
 9871 
 9872 2010-01-27  Kenichi Handa  <handa@m17n.org>
 9873 
 9874 	* regex.c (analyse_first): Fix setting of fastmap for unibyte
 9875 	pattern string (Bug#4209).
 9876 
 9877 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
 9878 
 9879 	* fileio.c (Frename_file): Call copy-directory and
 9880 	delete-directory for directories, in order to handle cross-device
 9881 	renaming (Bug#3353).
 9882 
 9883 2010-01-25  Jan Djärv  <jan.h.d@swipnet.se>
 9884 
 9885 	* xfns.c (Fx_create_frame): If frame height is too big, try
 9886 	sizes 24 and 10.  Bug #3643.
 9887 
 9888 2010-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
 9889 
 9890 	Try and fix bug#788, hopefully for real this time.
 9891 	* keymap.c (shadow_lookup): Add `remap' arg.
 9892 	(describe_map, describe_vector): Update calls to shadow_lookup.
 9893 	(Fwhere_is_internal): Fix up handling of `remapped_sequences' and
 9894 	`remapped' so this flag is applicable to `sequence'.  Be careful to
 9895 	perform remapping during shadow_lookup check of remapped_sequences.
 9896 
 9897 2010-01-24  Eric Bélanger  <snowmaniscool@gmail.com>  (tiny change)
 9898 
 9899 	* image.c (png_load): Use png_sig_cmp instead of the obsolete
 9900 	png_check_sig, which has been removed in libpng 1.4.
 9901 
 9902 2010-01-23  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
 9903 
 9904 	* filelock.c: Include utmp.h only when HAVE_UTMP_H (FreeBSD 9.x
 9905 	lacks this header file).
 9906 
 9907 2010-01-23  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 9908 
 9909 	* xdisp.c (draw_glyphs): Update `start' for left_overwritten case
 9910 	as in Emacs 22.
 9911 
 9912 2010-01-22  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 9913 
 9914 	* lisp.h (make_pure_string): String pointer arg now points to const.
 9915 
 9916 	* alloc.c (find_string_data_in_pure, make_pure_string): String pointer
 9917 	args now point to const.
 9918 
 9919 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
 9920 
 9921 	* lread.c (Fload): Don't treat files without .elc extension as
 9922 	byte-compiled if they are ``magic'', i.e. `openp' returned -2 for
 9923 	them.  (bug#5303)
 9924 
 9925 2010-01-20  Kenichi Handa  <handa@m17n.org>
 9926 
 9927 	* coding.c (consume_chars): If ! multibyte and the encoder is ccl,
 9928 	treat the source as actual byte sequence.
 9929 
 9930 2010-01-19  Alan Mackenzie  <acm@muc.de>
 9931 
 9932 	Fix spurious before-change-functions invocation from (insert ?\n).
 9933 	* textprop.c (set_text_properties): Rename parameter
 9934 	`signal_after_change_p' to `coherent_change_p', and make the
 9935 	invocation of `modify_region' conditional on it.
 9936 
 9937 2010-01-19  Jan Djärv  <jan.h.d@swipnet.se>
 9938 
 9939 	* xsettings.c (apply_xft_settings): Save settings in Vxft_settings
 9940 	for debug purpose.
 9941 	(syms_of_xsettings): Declare xft-settings.
 9942 
 9943 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
 9944 
 9945 	* editfns.c (Fcurrent_time_string): Doc fix (Bug#5408).
 9946 
 9947 2010-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
 9948 
 9949 	* xterm.c (event_handler_gdk): Block input (Bug#5037).
 9950 
 9951 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
 9952 
 9953 	* emacs.c (standard_args): Adjust arg priorities to reflect how
 9954 	they are processed in startup.el.
 9955 
 9956 2010-01-16  Andreas Schwab  <schwab@linux-m68k.org>
 9957 
 9958 	* Makefile.in (lisp, shortlisp): Update.
 9959 
 9960 2010-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
 9961 
 9962 	* xterm.c (x_term_init): Instead of inhibiting GC while running Lisp
 9963 	code, link the new kboard into all_kboard before running Lisp code,
 9964 	and protect the new terminal with GCPRO (Bug#5365).
 9965 	(x_term_init): Remove unused var `atom'.
 9966 	(x_delete_display, x_delete_terminal): Remove unused var `i'.
 9967 
 9968 2010-01-15  Jan Djärv  <jan.h.d@swipnet.se>
 9969 
 9970 	* xfns.c (x_get_current_desktop, x_get_desktop_workarea): New functions.
 9971 	(Fx_create_frame): Call x_get_current_desktop and x_get_desktop_workarea
 9972 	to find out usable size of the desktop.  Don't make frames larger than
 9973 	this.  Bug #3643.
 9974 
 9975 2010-01-15  Kenichi Handa  <handa@m17n.org>
 9976 
 9977 	* xdisp.c (CHAR_COMPOSED_P): New arg END_CHARPOS.  Callers changed.
 9978 
 9979 2010-01-15  Chong Yidong  <cyd@stupidchicken.com>
 9980 
 9981 	* nsterm.m (Qnone): Define.
 9982 
 9983 	* nsfns.m (Qnone): Move definition to nsterm.m.
 9984 
 9985 2010-01-14  Kenichi Handa  <handa@m17n.org>
 9986 
 9987 	* coding.c (detect_coding_iso_2022): Fix handling of euc-xx coding
 9988 	systems.
 9989 
 9990 2010-01-14  Kenichi Handa  <handa@m17n.org>
 9991 
 9992 	Make auto-composition work on all buffers even if they are
 9993 	fundamental mode.
 9994 
 9995 	* composite.c (Vauto_composition_mode): New variable.
 9996 	(composition_compute_stop_pos): Check Vauto_composition_mode
 9997 	instead of Vauto_composition_function.
 9998 	(composition_adjust_point, Ffind_composition_internal): Likewise.
 9999 	(syms_of_composite): Declare Lisp variable
10000 	"auto-composition-mode" here.
10001 
10002 2010-01-13  Chong Yidong  <cyd@stupidchicken.com>
10003 
10004 	* xterm.c (x_term_init): Avoid garbage-collecting the new terminal
10005 	during call to vendor-specific-keysyms (Bug#5365).
10006 
10007 2010-01-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
10008 
10009 	* keyboard.c (input_available_signal) [SYNC_INPUT]:
10010 	Call SIGNAL_THREAD_CHECK (Bug#5333).
10011 
10012 	* atimer.c (alarm_signal_handler) [!SYNC_INPUT]:
10013 	Call SIGNAL_THREAD_CHECK.
10014 
10015 2010-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10016 
10017 	Try to fix bug#5314.  This is probably not the final word, tho.
10018 	* buffer.c (Fset_buffer_modified_p): Try and be careful not to modify
10019 	recent-auto-save-p as a side-effect.
10020 	* buffer.h (BUF_AUTOSAVE_MODIFF): New macro.
10021 	* buffer.c (Fkill_buffer, reset_buffer):
10022 	* editfns.c (Fsubst_char_in_region):
10023 	* fileio.c (Finsert_file_contents, Fdo_auto_save)
10024 	(Fset_buffer_auto_saved, Frecent_auto_save_p): Use it.
10025 
10026 2010-01-13  Kenichi Handa  <handa@m17n.org>
10027 
10028 	Display buffer name, etc. in mode line by composing correctly.
10029 
10030 	* xdisp.c (reseat_to_string): Call composition_compute_stop_pos if
10031 	STRING is not nil.
10032 	(display_mode_element): Adjust for the change of
10033 	decode_mode_spec and display_line.
10034 	(decode_mode_spec): Change arg MULTIBYTE to STRING.
10035 	(display_string): Handle the case that STRING is non-null and
10036 	LISP_STRING is not nil.
10037 
10038 	* xterm.c (x_draw_composite_glyph_string_foreground):
10039 	Pay attention to s->face->overstrike.
10040 
10041 	* composite.c (composition_reseat_it): Don't check PT if STRING is
10042 	non nil.
10043 
10044 2010-01-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
10045 
10046 	* keyboard.c (read_char): Don't apply previous change when current
10047 	buffer is unchanged by command execution.
10048 
10049 2010-01-12  Jan Djärv  <jan.h.d@swipnet.se>
10050 
10051 	* keyboard.c (read_char): Return after executing from special map.
10052 
10053 2010-01-12  Glenn Morris  <rgm@gnu.org>
10054 
10055 	* emacs.c (REPORT_EMACS_BUG_PRETEST_ADDRESS): Set it to
10056 	bug-gnu-emacs rather than emacs-pretest-bug.
10057 
10058 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
10059 
10060 	* nsterm.m (syms_of_nsterm): Initialize Qcontrol etc. before
10061 	initializing the Lisp variables that depend on them.
10062 
10063 2010-01-11  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
10064 
10065 	* xfns.c (x_set_menu_bar_lines) [!USE_X_TOOLKIT && !USE_GTK]:
10066 	Clear areas that will not be updated after change of menu bar lines.
10067 	Clear the menu bar window's current matrix when the window gets empty.
10068 
10069 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
10070 
10071 	* intervals.h, textprop.c (extend_property_ranges): Return value
10072 	and args changed.  Discard properties that begin at or after the
10073 	new end (Bug#5306).
10074 
10075 	* editfns.c (Fformat): Caller changed.
10076 
10077 	* nsterm.m (ns_set_default_prefs): Delete function.
10078 	(syms_of_nsterm): Initialize ns_command_modifier,
10079 	ns_control_modifier, ns_function_modifier, ns_antialias_text, and
10080 	ns_antialias_threshold here, not in ns_term_init (Bug#4113).
10081 
10082 	* xdisp.c (pos_visible_p): Check for invisible text at the correct
10083 	position (Bug#4040).
10084 
10085 2010-01-09  Eli Zaretskii  <eliz@gnu.org>
10086 
10087 	* editfns.c (Ffloat_time): Doc fix.
10088 
10089 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
10090 
10091 	* xfns.c (Fx_create_frame): Don't create frame larger than display
10092 	by default bug#3643.
10093 
10094 2010-01-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
10095 
10096 	* frame.h (FRAME_TOP_MARGIN_HEIGHT): New macro.
10097 	(FRAME_LINE_TO_PIXEL_Y, FRAME_PIXEL_Y_TO_LINE): Take account of pseudo
10098 	windows above internal border.
10099 
10100 	* window.h (WINDOW_MENU_BAR_P, WINDOW_TOOL_BAR_P): New macros.
10101 	(WINDOW_TOP_EDGE_Y, WINDOW_BOTTOM_EDGE_Y): Take account of pseudo
10102 	windows above internal border.
10103 
10104 	* xdisp.c (get_glyph_string_clip_rects, init_glyph_string): Don't treat
10105 	tool bar windows specially.
10106 
10107 	* xfns.c (x_set_tool_bar_lines): Take account of menu bar height.
10108 
10109 	* xterm.c (x_after_update_window_line): Don't treat tool bar windows
10110 	specially.
10111 	(XTflash): Take account of menu bar height.
10112 
10113 	* w32term.c (x_after_update_window_line): Don't treat tool bar windows
10114 	specially.
10115 
10116 2010-01-08  Jan Djärv  <jan.h.d@swipnet.se>
10117 
10118 	* dispnew.c (change_frame_size_1): newwidth == FRAME_COLS (f) must
10119 	also be true before we can return early (bug #5339).
10120 
10121 2010-01-06  David Reitter  <david.reitter@gmail.com>
10122 
10123 	* nsfns.m (ns_get_screen): Rewrite, returning NULL for non-NS.
10124 	(Fns_display_usable_bounds): Rewrite, computing bounds properly
10125 	(Bug#3233).
10126 
10127 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
10128 
10129 	* font.c (font_open_entity): Enable chache and call cached_font_ok
10130 	for the driver if defined.
10131 	(QCuser_spec): New symbol.
10132 	(font_spec_from_name): Save name as user-spec.
10133 	(font_load_for_lface): Keep user-spec instead of name.
10134 	(font_open_by_name): Save name as user-spec.
10135 	(syms_of_font): Initialize QCuser_spec.
10136 	(font_clear_prop): Clear name if it exists in font (bug#5157).
10137 
10138 	* xftfont.c (xftfont_open): Call xftfont_add_rendering_parameters.
10139 	(xftfont_add_rendering_parameters, xftfont_cached_font_ok): New.
10140 	(syms_of_xftfont): Initialize xftfont_driver.cached_font_ok.
10141 
10142 	* font.h (struct font_driver): Add cached_font_ok.
10143 
10144 	* xterm.c (x_clear_frame): Queue draw for scroll bars.
10145 
10146 2010-01-05  Jan Djärv  <jan.h.d@swipnet.se>
10147 
10148 	* xterm.c (x_new_font): Move code for setting rows/cols before
10149 	resizing ...
10150 	(x_set_window_size): ... to here.  Bug #2568.
10151 
10152 	* gtkutil.c (xg_clear_under_internal_border): New function.
10153 	(xg_frame_resized, xg_frame_set_char_size):
10154 	Call xg_clear_under_internal_border.
10155 	(xg_update_scrollbar_pos): Clear under old scroll bar position.
10156 
10157 2010-01-05  Chong Yidong  <cyd@stupidchicken.com>
10158 
10159 	* keyboard.c (read_key_sequence): Catch keyboard switch after
10160 	making a new tty frame (Bug#5095).
10161 
10162 2010-01-05  Kenichi Handa  <handa@m17n.org>
10163 
10164 	* fontset.c (fontset_find_font): Fix getting the frame pointer.
10165 
10166 2010-01-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10167 
10168 	* dbusbind.c (xd_remove_watch): Avoid trying to convert a void* to
10169 	Lisp_Object, preferring to convert a lisp_Object to a void* instead.
10170 	(Fdbus_init_bus): Use XHASH to get a scalar value from a Lisp_Object.
10171 
10172 2010-01-03  Michael Albinus  <michael.albinus@gmx.de>
10173 
10174 	* dbusbind.c (xd_add_watch): Improve debug message.
10175 	(xd_remove_watch): Improve debug message.  If DATA is the session
10176 	bus, unset D-Bus session environment.
10177 	(Fdbus_init_bus): Pass the bus as argument to
10178 	dbus_connection_set_watch_functions.  (Bug#5283)
10179 
10180 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
10181 
10182 	* nsterm.m (ns_get_color): Fix buffer overflow (Bug#4763).
10183 
10184 	* lread.c (syms_of_lread): Make it clearer that these are the
10185 	names of loaded files (Bug#5068).
10186 
10187 	* eval.c (run_hook_with_args): Handle the case where the global
10188 	value has the obsolete single-function form (Bug#5026).
10189 
10190 2009-12-27  Chong Yidong  <cyd@stupidchicken.com>
10191 
10192 	* minibuf.c (Fall_completions): Minor optimization.
10193 
10194 2009-12-26  Eli Zaretskii  <eliz@gnu.org>
10195 
10196 	* .gdbinit (pgx): Fix display of composite glyphs.
10197 	Display cmp.from and cmp.to as well.
10198 	(pitx): Fix last change.
10199 
10200 2009-12-25  Kenichi Handa  <handa@m17n.org>
10201 
10202 	* composite.h (composition_adjust_point): Update prototype.
10203 
10204 	* composite.c (composition_reseat_it): Don't make a composition
10205 	spanning over point.
10206 	(CHAR_COMPOSABLE_P): Treat U+200C (ZWNJ) and U+200D (ZWJ) as
10207 	composable characters.
10208 	(composition_adjust_point): New arg NEW_PT.  Callers changed.
10209 
10210 	* keyboard.c (command_loop_1): Force redisplay if the last point
10211 	was within a composition.
10212 	(adjust_point_for_property): Don't adjust point for automatic
10213 	composition when called after buffer modification.
10214 
10215 2009-12-19  Eli Zaretskii  <eliz@gnu.org>
10216 
10217 	* .gdbinit (pitx): Don't use enum names, use their values.
10218 	Remove reference to non-existing value GET_FROM_COMPOSITION.
10219 	(pgx): Don't use enum names, use their values.
10220 	(pitmethod): New helper command.
10221 	(pitx): Use it to display iteration method.
10222 	(pgrowit): New command.
10223 
10224 	* makefile.w32-in ($(BLD)/cmds.$(O)): Depend on frame.h.
10225 
10226 	Update dependencies in Makefile.in.
10227 
10228 	* Makefile.in (alloc.o): Depend on termhooks.h.
10229 	(atimer.o): Depend on blockinput.h.
10230 	(buffer.o): Depend on indent.h, keyboard.h, coding.h, keymap.h,
10231 	and frame.h.
10232 	(callint.o): Depend on systime.h, coding.h, and composite.h.
10233 	(callproc.o): Depend on buffer.h.
10234 	(casefiddle.o): Don't depend on charset.h.
10235 	(casetab.o): Depend on character.h.
10236 	(ccl.o): Depend on composite.h.
10237 	(chartab.o): Depend on ccl.h.
10238 	(cm.o): Depend on dispextern.h.
10239 	(cmds.o): Depend on systime.h, coding.h, frame.h, and composite.h.
10240 	(coding.o): Don't depend on $(INTERVALS_H).
10241 	(composite.o): Don't depend on dispextern.h explicitly (it's in
10242 	$(INTERVALS_H)).  Depend on ccl.h.
10243 	(data.o): Depend on systime.h, coding.h, composite.h,
10244 	dispextern.h, font.h, and ccl.h.
10245 	(dired.o): Depend on composite.h.
10246 	(dispnew.o): Depend on coding.h.  Don't depend explicitly on
10247 	composite.h (it's in $(INTERVALS_H)).
10248 	(doc.o): Depend on systime.h, coding.h, and composite.h.
10249 	(editfns.o): Don't depend explicitly on dispextern.h.
10250 	(emacs.o): Depend on frame.h and coding.h.
10251 	(eval.o): Depend on coding.h, composite.h, and xterm.h.
10252 	(fileio.o): Depend on frame.h and commands.h.  Don't depend
10253 	explicitly on dispextern.h.
10254 	(filelock.o): Don't depend on epaths.h and charset.h.  Depend on
10255 	composite.h.
10256 	(fns.o): Don't depend on termhooks.h.
10257 	(font.o): Depend on buffer.h, composite.h, fontset.h, and xterm.h.
10258 	(fontset.o): Depend on blockinput.h, atimer.h, systime.h,
10259 	coding.h, $(INTERVALS_H), window.h, xterm.h.
10260 	(frame.o): Depend on coding.h, composite.h, termhooks.h, and ccl.h.
10261 	(fringe.o): Depend on blockinput.h, atimer.h, and systime.h.
10262 	(ftfont.o): Depend on blockinput.h, atimer.h, systime.h, coding.h,
10263 	fontset.h, ccl.h, and ftfont.h.
10264 	(ftxfont.o): Depend on atimer.h, systime.h, fontset.h, and ccl.h.
10265 	(gtkutil.o): Depend on dispextern.h and composite.h.
10266 	(image.o): Depend on epaths.h, character.h, coding.h, composite.h,
10267 	termhooks.h, and ccl.h.
10268 	(indent.o): Depend on systime.h, coding.h, and $(INTERVALS_H).
10269 	(intervals.o): Depend on systime.h and coding.h.
10270 	(keyboard.o): Depend on composite.h and coding.h.
10271 	(keymap.o): Depend on coding.h and frame.h.
10272 	(lread.o): Depend on systime.h, frame.h, blockinput.h, and atimer.h.
10273 	(macros.o): Depend on systime.h, coding.h, and composite.h.
10274 	(menu.o): Depend on systime.h, coding.h, composite.h, window.h,
10275 	and atimer.h.
10276 	(minibuf.o): Depend on systime.h and coding.h.  Don't depend on
10277 	dispextern.h explicitly.
10278 	(print.o): Depend on termhooks.h, coding.h, and ccl.h.
10279 	Don't depend explicitly on dispextern.h and composite.h.
10280 	(process.o): Depend on character.h, xgselect.h, and sysselect.h.
10281 	(regex.o): Don't depend on charset.h.
10282 	(scroll.o): Depend on systime.h, coding.h, composite.h, and window.h.
10283 	(search.o): Don't depend explicitly on composite.h.
10284 	(sound.o): Depend on atimer.h and systime.h.
10285 	(syntax.o): Don't depend explicitly on composite.h.
10286 	(sysdep.o): Depend on coding.h and composite.h.
10287 	(term.o): Depend on xterm.h and buffer.h.
10288 	(terminal.o): Depend on dispextern.h, composite.h, and systime.h.
10289 	(textprop.o): Don't depend on dispextern.h explicitly.
10290 	(undo.o): Depend on dispextern.h.
10291 	(window.o): Depend on coding.h and termhooks.h.  Don't depend on
10292 	dispextern.h and composite.h explicitly.
10293 	(xdisp.o): Depend on ccl.h.
10294 	(xfaces.o): Depend on coding.h and ccl.h.
10295 	(xfns.o): Depend on $(INTERVALS_H) and ccl.h.
10296 	(xfont.o): Depend on atimer.h, systime.h, fontset.h, and ccl.h.
10297 	(xftfont.o): Depend on atimer.h, systime.h, fontset.h, ccl.h, and
10298 	ftfont.h.
10299 	(xgselect.o): New dependency.
10300 	(xmenu.o): Depend on composite.h, keymap.h, and sysselect.h.
10301 	(xselect.o): Depend on keyboard.h, coding.h, and composite.h.
10302 	(xsettings.o): Depend on dispextern.h, keyboard.h, systime.h,
10303 	coding.h, composite.h, blockinput.h, atimer.h, and termopts.h.
10304 	(xsmfns.o): Depend on frame.h and dispextern.h.
10305 	(xterm.o): Depend on intervals.h, keymap.h, xgselect.h, and
10306 	sysselect.h.
10307 
10308 2009-12-19  Andreas Schwab  <schwab@linux-m68k.org>
10309 
10310 	* font.c (Fclear_font_cache): Pass correct cache argument to
10311 	font_clear_cache.
10312 
10313 2009-12-16  Andreas Schwab  <schwab@linux-m68k.org>
10314 
10315 	* Makefile.in (prefix-args${EXEEXT}): Don't compile prefix-args.c
10316 	twice.
10317 
10318 2009-12-15  Chong Yidong  <cyd@stupidchicken.com>
10319 
10320 	* xdisp.c (decode_mode_spec): Inhibit garbage collection when
10321 	calling file-remote-p.  Reported by Jim Meyering.
10322 
10323 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
10324 
10325 	* dbusbind.c (xd_retrieve_arg): Reorder declarations in order to
10326 	avoid compiler warnings.  (Bug #5217)
10327 
10328 2009-12-14  Kenichi Handa  <handa@m17n.org>
10329 
10330 	* coding.c (decode_coding_iso_2022): Ignore ISO_CODE_SS2_7 (0x19)
10331 	in 8-bit encoding.
10332 
10333 2009-12-13  Pat Thoyts  <patthoyts@users.sourceforge.net>  (tiny change)
10334 
10335 	* xfns.c (x_create_tip_frame): Set the extended window manager hint for
10336 	tooltip windows.
10337 
10338 2009-12-13  Jan Djärv  <jan.h.d@swipnet.se>
10339 
10340 	* xterm.h (struct x_display_info): Add Xatom_net_window_type_tooltip and
10341 	Xatom_net_window_type.
10342 
10343 	* xterm.c (x_term_init): Initialize Xatom_net_window_type_tooltip and
10344 	Xatom_net_window_type.
10345 
10346 	* xterm.c (my_log_handler): New function.
10347 	(x_term_init): Set my_log_handler as log handler during gtk_init
10348 	so we can filter out buggy messages.  (Bug #5120).
10349 
10350 	* xterm.c (xg_scroll_callback): Parameter list changed,
10351 	use parameter GtkScrollType to determine scroll/line/page.
10352 	Only allow dragging if a button < 4 is grabbed (bug #5177).
10353 	(xg_end_scroll_callback): New function.
10354 	(x_create_toolkit_scroll_bar): Pass xg_end_scroll_callback to
10355 	xg_create_scroll_bar.
10356 
10357 	* gtkutil.c (xg_gtk_scroll_destroy): Remove XG_LAST_SB_DATA handling.
10358 	(scroll_end_callback): Remove.
10359 	(xg_create_scroll_bar): Add parameter end_callback, bind it to
10360 	button-release-event.  Replace value-changed event with change-value,
10361 	bug #5177.
10362 	(xg_event_is_for_scrollbar): Only return true if button is less than 4,
10363 	bug #5177.
10364 
10365 	* gtkutil.h (XG_LAST_SB_DATA): Remove.
10366 	(xg_create_scroll_bar): Add GCallback end_callback.
10367 
10368 	* xftfont.c (QClcdfilter): New variable.
10369 	(xftfont_open): Parse constant names for RGBA, HINT_STYLE and LCDFILTER.
10370 	(syms_of_xftfont): Initialize QClcdfilter.
10371 
10372 2009-12-12  Jan Djärv  <jan.h.d@swipnet.se>
10373 
10374 	* xsettings.c (struct xsettings): Add member seen.
10375 	(parse_xft_settings): Update member seen with what we have read.
10376 	Return non-zero if Xft-settings have been parsed, 0 otherwise.
10377 	(apply_xft_settings): Only update Xft settings with what member seen
10378 	indicates as new.
10379 
10380 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
10381 
10382 	* dispextern.h (struct text_pos): Use EMACS_INT.
10383 	(struct glyph): Use EMACS_INT for charpos.
10384 	(struct it): Use EMACS_INT for stop_charpos, end_charpos,
10385 	region_beg_charpos, region_end_charpos,
10386 	redisplay_end_trigger_charpos, and also for
10387 	iterator_stack_entry.end_charpos and
10388 	iterator_stack_entry.stop_charpos.
10389 
10390 2009-12-12  Jan Djärv  <jan.h.d@swipnet.se>
10391 
10392 	* gtkutil.c (scroll_end_callback): New function (bug #5177).
10393 	(xg_create_scroll_bar): Call scroll_end_callback on button release
10394 	event (bug #5177).
10395 	(xg_event_is_for_scrollbar): != replaced with ==.
10396 
10397 2009-12-12  Kenichi Handa  <handa@m17n.org>
10398 
10399 	* ftfont.c (struct ftfont_info): New member matrix.
10400 	(ftfont_open): Setup xftfont_info->matrix.
10401 	(MFLTFontFT): New member matrix.
10402 	(FLOOR, CEIL, ROUND): New macros.
10403 	(ftfont_get_metrics): Handle matrix transformation.
10404 	(ftfont_shape_by_flt): New arg matrix.  Callers changed.
10405 
10406 	* xftfont.c (struct xftfont_info): New member matrix.
10407 	(xftfont_open): Setup xftfont_info->matrix.
10408 
10409 2009-12-10  Kenichi Handa  <handa@m17n.org>
10410 
10411 	* xdisp.c (append_space_for_newline): Consider face-remapping.
10412 
10413 2009-12-09  Andreas Schwab  <schwab@linux-m68k.org>
10414 
10415 	* xsettings.c: Include "keyboard.h".
10416 
10417 	* gtkutil.c (xg_tool_bar_proxy_help_callback): Fix missing return.
10418 
10419 	Fix implicit function declarations.
10420 	* cmds.c: Include "frame.h".
10421 	* frame.c: Include "font.h" also if !HAVE_WINDOW_SYSTEM.
10422 	* frame.h: Move declaration of delete_frame outside of
10423 	HAVE_WINDOW_SYSTEM.
10424 
10425 2009-12-09  Ken Brown  <kbrown@cornell.edu>  (tiny change)
10426 
10427 	* s/cygwin.h (G_SLICE_ALWAYS_MALLOC): New variable.
10428 
10429 	* emacs.c (main): Set the G_SLICE environment variable for Cygwin
10430 	GTK builds.
10431 
10432 2009-12-07  Andreas Schwab  <schwab@linux-m68k.org>
10433 
10434 	* unexelf.c (unexec): Don't search for .data twice.
10435 
10436 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
10437 
10438 	* xdisp.c (push_display_prop): Don't set avoid_cursor_p.  Return 0
10439 	if push failed.
10440 	(handle_line_prefix): Set avoid_cursor_p here.  Check return value
10441 	of push_display_prop (Bug#5000).
10442 
10443 	* xfaces.c (Fx_family_fonts): Handle 2009-07-14 change to return
10444 	value of font_list_entities (Bug#5085).
10445 
10446 2009-12-04  Juanma Barranquero  <lekktu@gmail.com>
10447 
10448 	Fix `string-to-number' to deal consistently with integers and floats.
10449 	* lread.c (isfloat_string): New argument ignore_trailing to accept all
10450 	trailing characters, not just whitespace.
10451 	(read1): Pass new arg 0 to keep old behavior.
10452 	* data.c (Fstring_to_number): Pass 1 to isfloat_string to ignore
10453 	trailing chars, as it is already done for integers.  Doc fixes.
10454 	* lisp.h (isfloat_string): Add new arg to declaration of isfloat_string.
10455 
10456 2009-12-04  Eli Zaretskii  <eliz@gnu.org>
10457 
10458 	* dispextern.h (enum prop_idx) <AUTO_COMPOSED_PROP_IDX>:
10459 	Delete unused enumeration value.
10460 
10461 2009-12-03  Eli Zaretskii  <eliz@gnu.org>
10462 
10463 	* Makefile.in (lisp, shortlisp): Replace indian.el with indian.elc.
10464 
10465 2009-12-03  Daniel Hackney  <dan@haxney.org>  (tiny change)
10466 
10467 	* process.c (Fmake_network_process): Fix up the tests for
10468 	"connectionless socket", so they DTRT for seqpacket sockets as well.
10469 
10470 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10471 
10472 	* process.c (Qseqpacket): New symbol.
10473 	(HAVE_SEQPACKET): New macro.
10474 	(Fmake_network_process): Accept new :type `seqpacket'.
10475 	(init_process): Add `seqpacket' feature when applicable.
10476 	(syms_of_process): Initialize Qseqpacket.
10477 
10478 2009-12-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
10479 
10480 	* font.c (font_load_for_lface, font_open_by_name): Don't store name
10481 	if entity is Qnil.
10482 
10483 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10484 
10485 	* print.c (print_preprocess): Preprocess the key_and_value table of
10486 	hashtables, even tho they're "hidden" (bug#5082).
10487 
10488 2009-11-29  Jan Djärv  <jan.h.d@swipnet.se>
10489 
10490 	* frame.c (frame_make_pointer_invisible)
10491 	(frame_make_pointer_visible): Declare f before statements.
10492 
10493 2009-11-28  Eli Zaretskii  <eliz@gnu.org>
10494 
10495 	* Makefile.in [!AUTO_DEPEND]: Remove outdated comment about
10496 	omitted dependencies on lisp.h.
10497 
10498 2009-11-27  Jan Djärv  <jan.h.d@swipnet.se>
10499 
10500 	* xftfont.c (xftfont_end_for_frame): Just return if dpyinfo->display
10501 	is NULL.
10502 
10503 	* xterm.c (x_delete_terminal): Set dpyinfo->display to NULL.
10504 
10505 	* frame.c (frame_make_pointer_invisible)
10506 	(frame_make_pointer_visible): Just return if there isn't any selected
10507 	frame.
10508 
10509 	* search.c (simple_search): Remove warning by making *p const.
10510 
10511 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
10512 
10513 	* xdisp.c (power_letter): Remove duplicate const.
10514 
10515 2009-11-25  Jan Djärv  <jan.h.d@swipnet.se>
10516 
10517 	* term.c (delete_tty): Remove check for last terminal (bug#4970).
10518 
10519 	* xsettings.c: Revert changes from 2009-11-23.  Just use Xft
10520 	defaults (bug #5025).
10521 
10522 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10523 
10524 	* insdel.c (adjust_markers_for_delete): Move it in the
10525 	right direction!  (bug#4803)
10526 
10527 2009-11-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
10528 
10529 	* font.c (font_open_entity): Don't use ASET if font_object is Qnil.
10530 
10531 	* xterm.c (x_new_font): Update f->scroll_bar_actual_width.
10532 
10533 2009-11-24  Glenn Morris  <rgm@gnu.org>
10534 
10535 	* frame.c (focus-follows-mouse): Mention mouse-autoselect-window.
10536 
10537 2009-11-23  Jan Djärv  <jan.h.d@swipnet.se>
10538 
10539 	* Makefile.in: Must create deps for ecrt0.o in its rule.
10540 
10541 	* xfns.c (Fx_select_font): Try to convert Fontconfig name to Gtk name
10542 	because that is what Gtk+ font dialog understands.
10543 
10544 	* font.c (font_make_object, Fcopy_font_spec): Use Fcopy_alist instead
10545 	of Fcopy_sequence.
10546 	(font_open_by_name): Put name given into QCname for font-object returned.
10547 
10548 	* frame.c (x_set_font): Save original font name as frame parameter
10549 	font-parameter.
10550 
10551 	* xsettings.c (set_default_xft_settings): New function.
10552 	(init_xfd_settings): Call set_default_xft_settings if no XSETTINGS window
10553 	is found.
10554 
10555 2009-11-22  Andreas Schwab  <schwab@linux-m68k.org>
10556 
10557 	* search.c (simple_search): Avoid CHAR_TO_BYTE in inner loop when
10558 	searching backwards through multibyte buffer.
10559 
10560 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
10561 
10562 	* xterm.c: #include xgselect.h.
10563 	(x_initialize): Call xgselect_initialize.
10564 
10565 	* xsettings.c (something_changedCB): C++ comments => C comments.
10566 	(init_gconf): Do not deal with any GLib file descriptors, xg_select
10567 	does that now.
10568 
10569 	* gtkutil.c (xg_timer, xg_process_timeouts, xg_start_timer)
10570 	(xg_stop_timer, menu_grab_callback_cnt, menu_grab_callback)
10571 	(scroll_bar_button_cb): Remove.
10572 	(create_menus): C++ comments => C comments.  Don't bind grab-notify
10573 	event.
10574 	(xg_create_scroll_bar): Don't bind button-press-event and
10575 	button-release-event.
10576 
10577 	* process.c: Include xgselect.h if defined (USE_GTK) ||
10578 	defined (HAVE_GCONF).
10579 	(wait_reading_process_output): Call xg_select for the same condition.
10580 
10581 	* xgselect.c (xg_select): New function to better integrate with
10582 	GLib/Gtk event handling.  Needed if GConf daemon dies/restarts.
10583 
10584 	* xgselect.h: New file, declare xg_select, xgselect_initialize.
10585 
10586 	* Makefile.in (XOBJ): Add xgselect.o.
10587 
10588 2009-11-21  Andreas Schwab  <schwab@linux-m68k.org>
10589 
10590 	* character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH):
10591 	Remove ignored second argument.  All callers changed.
10592 	* regex.c (STRING_CHAR, STRING_CHAR_AND_LENGTH, RE_STRING_CHAR)
10593 	(RE_STRING_CHAR_AND_LENGTH): Likewise.
10594 	* xdisp.c (string_char_and_length): Likewise.
10595 
10596 2009-11-21  Dan Nicolaescu  <dann@ics.uci.edu>
10597 
10598 	* xterm.c (x_new_font):
10599 	* print.c (print_object):
10600 	* cmds.c (Fself_insert_command): Move declarations before statements.
10601 
10602 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
10603 
10604 	* s/cygwin.h: Remove unneeded linker flags.
10605 
10606 2009-11-20  Jan Djärv  <jan.h.d@swipnet.se>
10607 
10608 	* xfns.c (x_default_font_parameter): Call xsettings_get_system_font.
10609 
10610 	* xsettings.h: Declare xsettings_get_system_font.
10611 
10612 	* xsettings.c (xsettings_get_system_font): New function.
10613 	(init_gconf): No use initiating gconf unless we have Xft also.
10614 	(syms_of_xsettings): Only provide system-font-setting if HAVE_XFT and
10615 	HAVE_GCONF.
10616 
10617 	* gtkutil.c (xg_modify_menubar_widgets): If menubar is totally empty
10618 	add a blank entry so it doesn't collapse into nothing.
10619 
10620 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10621 
10622 	* lread.c (Funintern): Comment out last change.
10623 
10624 2009-11-19  Richard Stallman  <rms@gnu.org>
10625 
10626 	* lread.c (Funintern): Error if symbol is t or nil.
10627 
10628 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10629 
10630 	* insdel.c (make_gap_larger): Don't make as many assumptions about the
10631 	representation of Lisp integers.
10632 	Reported by MJ Chan <mjchan.inbox@gmail.com>.
10633 
10634 2009-11-17  Andreas Schwab  <schwab@linux-m68k.org>
10635 
10636 	* lisp.h: Remove declaration of Ffont_get_system_font.
10637 	* xfns.c: Move include of "xsettings.h".
10638 	* xsettings.h: Use EXFUN to declare Ffont_get_system_font.
10639 
10640 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
10641 
10642 	* xsettings.c (something_changedCB, Ffont_get_system_font):
10643 	Check use_system_font.
10644 	(syms_of_xsettings): DEFVAR font-use-system-font.
10645 
10646 2009-11-17  Andreas Schwab  <schwab@linux-m68k.org>
10647 
10648 	* xfns.c (x_default_font_parameter): Remove dead assignment.
10649 
10650 	* lisp.h (Fbyteorder, init_font, Ffont_get_system_font): Declare.
10651 
10652 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
10653 
10654 	* xftfont.c (xftfont_fix_match): Older versions of fontconfig do
10655 	not have FC_LCD_*.  #define them if not there.
10656 
10657 	* xsettings.c (parse_xft_settings, apply_xft_settings): Ditto.
10658 
10659 	* xterm.h (struct x_display_info): Add atoms and Window for xsettings.
10660 
10661 	* xterm.c (handle_one_xevent): Call xft_settings_event for
10662 	ClientMessage, PropertyNotify and DestroyNotify.
10663 	(x_term_init): If we have XFT, get DPI from Xft.dpi.
10664 	Call xsettings_initialize.
10665 
10666 	* xftfont.c (xftfont_fix_match): New function.
10667 	(xftfont_open): Call XftDefaultSubstitute before XftFontMatch.
10668 	Call xftfont_fix_match after XftFontMatch.
10669 
10670 	* xfont.c (xfont_driver): Initialize all members.
10671 
10672 	* xfns.c (x_default_font_parameter):
10673 	Try font from Ffont_get_system_font.
10674 	Do not get font from x_default_parameter if we got one from
10675 	Ffont_get_system_font.
10676 	(Fx_select_font): Get the defaut font name from :name of FRAME_FONT(f).
10677 
10678 	* w32font.c (w32font_driver): Initialize all members.
10679 
10680 	* termhooks.h (enum event_kind): CONFIG_CHANGED_EVENT is new.
10681 
10682 	* lisp.h: Declare syms_of_xsettings.
10683 
10684 	* keyboard.c (kbd_buffer_get_event, make_lispy_event):
10685 	Handle CONFIG_CHANGED_EVENT.
10686 
10687 	* ftfont.c (ftfont_filter_properties): New function.
10688 
10689 	* frame.c (x_set_font): Remove unused variable lval.
10690 
10691 	* font.h (struct font_driver): Add filter_properties.
10692 
10693 	* font.c (font_put_extra): Don't return if val is nil, it means
10694 	boolean option is off.
10695 	(font_parse_fcname): Collect all extra properties in extra_props
10696 	and call filter_properties for all drivers with extra_props and
10697 	font as parameter.
10698 	(font_open_entity): Do not use cache, it does not pick up new
10699 	fontconfig settings like hinting.
10700 	(font_load_for_lface): If spec had a name in it, store it in entity.
10701 
10702 	* emacs.c (main): Call syms_of_xsettings.
10703 
10704 	* config.in: HAVE_GCONF is new.
10705 
10706 	* Makefile.in (GCONF_CFLAGS, GCONF_LIBS): New variables for HAVE_GCONF.
10707 	xsettings.o is new.
10708 
10709 2009-11-17  Kenichi Handa  <handa@m17n.org>
10710 
10711 	* xdisp.c (x_produce_glyphs): Consider face-remapping when falling
10712 	back to the default font in case that no suitable font is found.
10713 
10714 2009-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10715 
10716 	* menu.c (Fx_popup_menu) [HAVE_NS]: Use generic code for window edge.
10717 	Suggested by Chad Brown <yandros@mit.edu>.
10718 	(push_menu_item): Use MENU_ITEMS_ITEM_* names.
10719 
10720 2009-11-16  Jan Djärv  <jan.h.d@swipnet.se>
10721 
10722 	* xmenu.c (x_menu_wait_for_event): Call XFlush before select.
10723 
10724 2009-11-14  Andreas Schwab  <schwab@linux-m68k.org>
10725 
10726 	* Makefile.in: Ignore errors from mkdir when creating deps directory.
10727 
10728 2009-11-14  Jan Djärv  <jan.h.d@swipnet.se>
10729 
10730 	* gtkutil.c (xg_update_frame_menubar): Do nothing if menubar already
10731 	has a parent.
10732 
10733 	* Makefile.in: If AUTO_DEPEND is defined, make gcc generate
10734 	dependency files in deps/.  Include those files into Makefile.
10735 
10736 	* config.in: Generated (AUTO_DEPEND).
10737 
10738 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
10739 
10740 	* dbusbind.c (Vdbus_registered_objects_table): Rename from
10741 	Vdbus_registered_functions_table, because it contains also
10742 	properties.  Fix docstring.
10743 	(Fdbus_call_method, Fdbus_call_method_asynchronously): Fix docstring.
10744 
10745 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10746 
10747 	* alloc.c (mark_object): Don't reprocess marked strings.
10748 	Check vector's markbit earlier.  Adjust calls to mark_vectorlike.
10749 	(mark_vectorlike, mark_char_table): Assume the object is unmarked.
10750 
10751 2009-11-13  Kenichi Handa  <handa@m17n.org>
10752 
10753 	* category.c (word_boundary_p): Adjust for the change of the
10754 	semantics of Vword_combining_categories.
10755 	(Vword_combining_categories): Describe the slight change of the
10756 	semantics.
10757 
10758 2009-11-13  Eli Zaretskii  <eliz@gnu.org>
10759 
10760 	* menu.c (Fx_popup_menu): Call Fx_hide_tip only if HAVE_WINDOW_SYSTEM.
10761 
10762 	* s/msdos.h (SYSTEM_PURESIZE_EXTRA): Revert last change.
10763 
10764 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10765 
10766 	* xdisp.c (syms_of_xdisp): Fix typo in last change.
10767 
10768 2009-11-12  Juanma Barranquero  <lekktu@gmail.com>
10769 
10770 	* makefile.w32-in: Update dependencies; add dependencies to lisp.h.
10771 
10772 2009-11-11  David Reitter  <david.reitter@gmail.com>
10773 
10774 	* menu.c (Fx_popup_menu): Remove left-over debugging code and rename
10775 	variables to fix 2009-11-09 change.
10776 
10777 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
10778 
10779 	* process.c (ifflag_def): Make flag_sym constant.
10780 	(Fnetwork_interface_info): Use a constant pointer.
10781 	(ifflag_table):
10782 	* xfns.c (cursor_bits):
10783 	* xdisp.c (power_letter):
10784 	* termcap.c (speeds, esctab):
10785 	* sysdep.c (baud_convert):
10786 	* keyboard.c (lispy_accent_codes, modifier_names):
10787 	* image.c (xbm_format, xpm_format, pbm_format, png_format)
10788 	(jpeg_format, tiff_format, gif_format, svg_format)
10789 	(interlace_start, interlace_increment, gs_format):
10790 	* gtkutil.c (separator_names):
10791 	* fringe.c (swap_nibble):
10792 	* fns.c (base64_value_to_char, base64_char_to_value):
10793 	* fileio.c (make_temp_name_tbl):
10794 	* coding.c (suffixes): Make constant.
10795 
10796 	* frame.c (make_initial_frame):
10797 	* buffer.c (init_buffer_once): Use make_pure_c_string instead of
10798 	build_string.
10799 	* alloc.c (syms_of_alloc): Build Vmemory_signal_data in pure memory.
10800 
10801 	* s/freebsd.h:
10802 	* s/netbsd.h: Remove code referring to non-existent file: unexsunos4.o.
10803 
10804 	* Makefile.in: Add dependencies to lisp.h.  Remove dependencies
10805 	for non-existent files: unexmips.c, unexnext.c, abbrev.c, malloc.c.
10806 
10807 	* xfns.c (syms_of_xfns): Use make_pure_string instead of build_string.
10808 	* xterm.c (syms_of_xterm):
10809 	* xfaces.c (syms_of_xfaces):
10810 	* xdisp.c (syms_of_xdisp):
10811 	* lread.c (syms_of_lread):
10812 	* keyboard.c (syms_of_keyboard): Use make_pure_c_string instead of
10813 	build_string.
10814 
10815 	* doc.c (Fsnarf_documentation): Purecopy Vbuild_files.
10816 
10817 2009-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10818 
10819 	* fns.c (Fplist_get): Merge the active and the commented out code.
10820 
10821 2009-11-10  Jan Djärv  <jan.h.d@swipnet.se>
10822 
10823 	* keyboard.h: Declare timer_check.
10824 
10825 	* keyboard.c (timer_check_2): New function that does what the old
10826 	timer_check did.
10827 	(timer_check): Call timer_check_2 until -1 or a non-zero time is
10828 	returned, i.e. don't return -1 with timers pending.
10829 
10830 	* process.c: Remove extern declaration of timer_check.
10831 
10832 	* xmenu.c (x_menu_wait_for_event): Remove code that did a timeout
10833 	even if timer_check returned -1.
10834 
10835 	* gtkutil.c (xg_dialog_response_cb): Data is now a struct
10836 	xg_dialog_data.
10837 	(pop_down_dialog): Destroy widget (if any), cancel timer and unref
10838 	the event loop.
10839 	(xg_maybe_add_timer, xg_dialog_run): New functions (bug #4574).
10840 	(xg_get_file_name, xg_get_font_name): Call xg_dialog_run (bug #4574).
10841 	Destroy the dialog after xg_dialog_run.
10842 
10843 2009-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10844 
10845 	* menu.c (Fx_popup_menu) [HAVE_NS]: Remove unused vars.
10846 
10847 2009-11-10  Jan Djärv  <jan.h.d@swipnet.se>
10848 
10849 	* xmenu.c (xmenu_show): Must not be static after 2009-11-09 changes.
10850 
10851 2009-11-09  Juanma Barranquero  <lekktu@gmail.com>
10852 
10853 	* menu.c [HAVE_NTGUI]: Declare current_popup_menu.
10854 
10855 2009-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10856 
10857 	* menu.c (Fx_popup_menu): Consolidate versions from xmenu.c,
10858 	w32menu.c, and nsmenu.m.
10859 	Simplify the obsolete case where position is nil.
10860 	(cleanup_popup_menu): New function, moved from nsmenu.m.
10861 	(struct skp): Remove slot `notreal'.
10862 	(single_keymap_panes, keymap_panes): Remove arg `notreal' and
10863 	adjust callers.
10864 	(single_menu_item): Adjust call to parse_menu_item.
10865 	(syms_of_menu): Defsubr x-popup-menu.
10866 	* menu.h (Vmenu_updating_frame): Consolidate declarations from *menu.c.
10867 	(keymap_panes): Don't export any more.
10868 	(mouse_position_for_popup, w32_menu_show, ns_menu_show)
10869 	(xmenu_show): Declare.
10870 	* keyboard.c (parse_menu_item): Remove arg `notreal'.
10871 	(menu_bar_item, read_char_minibuf_menu_prompt): Adjust callers.
10872 	* keyboard.h (parse_menu_item): Update declaration.
10873 	* xmenu.c (Fx_popup_menu): Remove.
10874 	(syms_of_xmenu): Don't defsubr x-popup-menu.
10875 	* w32menu.c (Fx_popup_menu): Remove.
10876 	(syms_of_w32menu): Don't defsubr x-popup-menu.
10877 	* nsmenu.m (cleanup_popup_menu): Remove.
10878 	(ns_menu_show): Rename from ns_popup_menu and remove all the code
10879 	moved to menu.c's Fx_popup_menu.
10880 	(Fx_popup_menu): Remove.
10881 	(syms_of_nsmenu): Don't defsubr x-popup-menu, and don't initialize
10882 	menu_items (it's done in menu.c already).
10883 
10884 2009-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10885 
10886 	* keyboard.c (parse_menu_item): Handle `notreal' a bit earlier.
10887 	Use `tem' less.  Make sure KEYEQ holds a string or nil (bug#4879).
10888 
10889 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
10890 
10891 	* xmenu.c (Fx_popup_menu): Extract event timestamp.  Pass it to
10892 	xmenu_show.  Hide any tooltip before opening a menu.
10893 	(xmenu_show): New arg.  Pass it to create_and_show_popup_menu.
10894 	(create_and_show_popup_menu): New arg.  Pass it to gtk_menu_popup.
10895 
10896 2009-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10897 
10898 	Let integers use up 2 tags to give them one extra bit and thus double
10899 	their range.
10900 	* lisp.h (USE_2_TAGS_FOR_INTS): New macro.
10901 	(LISP_INT_TAG, case_Lisp_Int, LISP_STRING_TAG, LISP_INT_TAG_P):
10902 	New macros.
10903 	(enum Lisp_Type): Use them.  Give explicit values.
10904 	(Lisp_Type_Limit): Remove.
10905 	(XINT, XUINT, make_number) [!USE_LISP_UNION_TYPE]:
10906 	(MOST_NEGATIVE_FIXNUM, MOST_POSITIVE_FIXNUM, INTMASK):
10907 	Pay attention to USE_2_TAGS_FOR_INTS.
10908 	(INTEGERP): Use LISP_INT_TAG_P.
10909 	* fns.c (internal_equal): Simplify the default case.
10910 	(sxhash): Use case_Lisp_Int.
10911 	* data.c (wrong_type_argument): Don't check against Lisp_Type_Limit
10912 	any more.
10913 	(Ftype_of): Use case_Lisp_Int.
10914 	(store_symval_forwarding): Take into account the fact that Ints can
10915 	now have more than one tag.
10916 	* buffer.c (syms_of_buffer): Use LISP_INT_TAG.
10917 	(buffer_slot_type_mismatch):
10918 	* xfaces.c (face_attr_equal_p):
10919 	* print.c (print_object):
10920 	* alloc.c (mark_maybe_object, mark_object, survives_gc_p):
10921 	Use case_Lisp_Int.
10922 
10923 2009-11-06  Eli Zaretskii  <eliz@gnu.org>
10924 
10925 	* s/msdos.h (SYSTEM_PURESIZE_EXTRA): Reduce by further 30K.
10926 
10927 	* alloc.c (make_pure_c_string): Fix last change to avoid compiler
10928 	warning.
10929 
10930 2009-11-06  Jan Djärv  <jan.h.d@swipnet.se>
10931 
10932 	* gtkutil.c (xg_event_is_for_scrollbar): New function (bug#4870).
10933 
10934 	* gtkutil.h: Declare xg_event_is_for_scrollbar (bug#4870).
10935 
10936 	* xterm.c (handle_one_xevent): Call xg_event_is_for_scrollbar for
10937 	ButtonPressRelease and MotionNotify (bug#4870).
10938 
10939 2009-11-06  Dan Nicolaescu  <dann@ics.uci.edu>
10940 
10941 	* keymap.c (syms_of_keymap): Construct exclude_keys in pure memory.
10942 
10943 	* xterm.c (syms_of_xterm):
10944 	* xselect.c (syms_of_xselect):
10945 	* xmenu.c (syms_of_xmenu):
10946 	* xfns.c (syms_of_xfns):
10947 	* xfaces.c (syms_of_xfaces):
10948 	* xdisp.c (syms_of_xdisp):
10949 	* window.c (syms_of_window):
10950 	* w32fns.c (syms_of_w32fns):
10951 	* undo.c (syms_of_undo):
10952 	* textprop.c (syms_of_textprop):
10953 	* terminal.c (syms_of_terminal):
10954 	* syntax.c (syms_of_syntax):
10955 	* sound.c (syms_of_sound):
10956 	* search.c (syms_of_search):
10957 	* print.c (syms_of_print):
10958 	* minibuf.c (syms_of_minibuf):
10959 	* macros.c (syms_of_macros):
10960 	* keymap.c (syms_of_keymap, initial_define_key)
10961 	(initial_define_lispy_key):
10962 	* keyboard.c (syms_of_keyboard):
10963 	* insdel.c (syms_of_insdel):
10964 	* image.c (syms_of_image):
10965 	* fringe.c (syms_of_fringe):
10966 	* frame.c (syms_of_frame):
10967 	* fontset.c (syms_of_fontset):
10968 	* fns.c (syms_of_fns):
10969 	* fns.c (syms_of_fns):
10970 	* fileio.c (syms_of_fileio):
10971 	* fileio.c (syms_of_fileio):
10972 	* eval.c (syms_of_eval):
10973 	* doc.c (syms_of_doc):
10974 	* dispnew.c (syms_of_display):
10975 	* dired.c (syms_of_dired):
10976 	* dbusbind.c (syms_of_dbusbind):
10977 	* data.c (syms_of_data):
10978 	* composite.c (syms_of_composite):
10979 	* coding.c (syms_of_coding):
10980 	* cmds.c (syms_of_cmds):
10981 	* charset.c (define_charset_internal, syms_of_character):
10982 	* ccl.c (syms_of_ccl):
10983 	* category.c (syms_of_category, init_category_once):
10984 	* casetab.c (syms_of_casetab):
10985 	* casefiddle.c (syms_of_casefiddle):
10986 	* callint.c (syms_of_callint):
10987 	* bytecode.c (syms_of_bytecode):
10988 	* buffer.c (keys_of_buffer, syms_of_buffer):
10989 	* alloc.c (syms_of_alloc):
10990 	* process.c (syms_of_process, init_process):
10991 	* lread.c (syms_of_lread, init_obarray):
10992 	* font.c (build_style_table):
10993 	* emacs.c (syms_of_emacs, main): Replace calls to intern with
10994 	intern_c_string, calls to make_pure_string with
10995 	make_pure_c_string.  Use pure_cons instead of Fcons.
10996 
10997 	* process.c (socket_options): Make it const.
10998 	(set_socket_option, init_process): Use a const pointer.
10999 
11000 	* lread.c (intern_c_string): New function.
11001 	(defvar_kboard, defvar_lisp, defvar_lisp_nopro, defvar_bool)
11002 	(defvar_int): Uset it.  Make the name const char*.
11003 
11004 	* lisp.h (defvar_kboard, defvar_lisp, defvar_lisp_nopro, defvar_bool)
11005 	(defvar_int): Update prototypes.
11006 	(DEFUN, EXFUN): Support for prototypes is now required.
11007 	(intern_c_string): New prototype.
11008 	(struct Lisp_Subr): Make symbol_name constant.
11009 
11010 	* font.c (struct table_entry): Remove unused member.  Make NAMES
11011 	constant.
11012 	(weight_table, slant_table, width_table): Make constant.
11013 
11014 	* emacs.c (struct standard_args): Make name and longname constant.
11015 
11016 	* character.h (DEFSYM): Use intern_c_string.
11017 
11018 2009-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11019 
11020 	* alloc.c (make_pure_c_string): New function.
11021 
11022 	* eval.c (Fautoload): Purecopy all arguments.
11023 
11024 2009-11-05  Kenichi Handa  <handa@m17n.org>
11025 
11026 	* fileio.c (Finsert_file_contents): Be sure set coding-system of
11027 	the buffer in case of replace.
11028 
11029 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
11030 
11031 	* puresize.h (BASE_PURESIZE): Increase to 1620000.
11032 
11033 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11034 
11035 	* editfns.c (save_restriction_restore): Update the (pt/begv/vz)_markers
11036 	when applicable (bug#4851).
11037 
11038 	* lisp.h: Make USE_LSB_TAG work with USE_LISP_UNION_TYPE.
11039 	(P_): Support for prototypes is now required.
11040 
11041 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
11042 
11043 	* frame.c (Fmake_frame_invisible, Fframe_visible_p): Doc fix
11044 	(Bug#4827).
11045 
11046 2009-10-30  Eli Zaretskii  <eliz@gnu.org>
11047 
11048 	* s/msdos.h (SYSTEM_PURESIZE_EXTRA): Redefine to waste less pure space.
11049 
11050 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
11051 
11052 	* puresize.h (BASE_PURESIZE): Increase to 1470000.
11053 
11054 	* lread.c (Fload): Purecopy the file name when building
11055 	Vpreloaded_file_list.
11056 
11057 2009-10-29  Jason Rumney  <jasonr@wanchan.jasonrumney.net>
11058 
11059 	* w32fns.c (syms_of_w32fns): Change default value of
11060 	w32-scroll-lock-modifier to nil.  (Bug#2827)
11061 
11062 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
11063 
11064 	* minibuf.c (Fall_completions): Fix typos in docstring.
11065 
11066 2009-10-26  Andreas Schwab  <schwab@redhat.com>
11067 
11068 	* puresize.h (PURESIZE_RATIO): Increase back to 10/6.
11069 
11070 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
11071 
11072 	* window.c (grow_mini_window): Comment out "delta >= 0" assertion.
11073 	For delta < 0, skip check that only makes sense when the mini-window
11074 	is going to be enlarged.  (Bug#4534)
11075 
11076 2009-10-25  Chong Yidong  <cyd@stupidchicken.com>
11077 
11078 	* keyboard.c (read_char_x_menu_prompt): Don't demand a prompt
11079 	string in menu maps (Bug#4471).
11080 
11081 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
11082 
11083 	* nsfns.m (ns_set_name, ns_set_name_as_filename): Don't call
11084 	FRAME_NS_VIEW on terminal frames (Bug#4765).
11085 
11086 2009-10-24  Andreas Schwab  <schwab@linux-m68k.org>
11087 
11088 	* dbusbind.c (xd_retrieve_arg): Handle DBUS_TYPE_INTnn and
11089 	DBUS_TYPE_UINTnn separately to get proper sign extension.
11090 
11091 	* dired.c (Ffile_attributes): Simplify now that FIXNUM_OVERFLOW_P
11092 	can properly handle unsigned types.
11093 	(make_uid, make_gid): Remove.
11094 
11095 	* lisp.h (FIXNUM_OVERFLOW_P): Fix last change to handle unsigned
11096 	types again.
11097 
11098 	* sysdep.c (procfs_ttyname): Fix sprintf format to match argument type.
11099 	(system_process_attributes): Likewise.
11100 
11101 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
11102 
11103 	* keymap.c (Fmake_sparse_keymap): Purecopy the name.
11104 
11105 	* eval.c (Fautoload): Purecopy the filename.  Simplify.
11106 
11107 	* category.c (Fdefine_category): Purecopy docstring.
11108 
11109 2009-10-23  Andreas Schwab  <schwab@linux-m68k.org>
11110 
11111 	* lisp.h (FIXNUM_OVERFLOW_P): Remove cast to avoid overflow.
11112 
11113 	* puresize.h (PURESIZE_RATIO): Decrease to 11/7.
11114 
11115 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
11116 
11117 	* window.c (Fwindow_edges, Fwindow_pixel_edges)
11118 	(Fwindow_inside_edges, Fwindow_inside_pixel_edges): Doc fix
11119 	(Bug#4775).
11120 
11121 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11122 
11123 	* fileio.c (syms_of_fileio): Initialize Vdirectory_sep_char.
11124 	(init_fileio_once):
11125 	* lisp.h (init_fileio_once): Remove.
11126 	* emacs.c (main): Don't call init_fileio_once.
11127 
11128 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
11129 
11130 	* puresize.h (BASE_PURESIZE): Increase to 1430000.
11131 
11132 2009-10-21  Andreas Schwab  <schwab@linux-m68k.org>
11133 
11134 	* doprnt.c (doprnt): Fix overflow check.
11135 
11136 2009-10-21  Jan Djärv  <jan.h.d@swipnet.se>
11137 
11138 	* xterm.c (x_term_init): Remove XSynchronize call done for debugging.
11139 
11140 	* xterm.h (x_wait_for_event): Declare it.
11141 
11142 	* xterm.c (pending_event_wait): New variable.
11143 	(handle_one_xevent): Set pending_event_wait.eventtype to 0 if we
11144 	see pending_event_wait.eventtype.
11145 	(handle_one_xevent): Don't change gravity when parent changes.
11146 	(x_new_font): Call change_frame_size with new rows/columns before we
11147 	try to resize the frame.
11148 	(x_wait_for_event): New function.
11149 	(x_set_window_size_1): Don't change gravity unless change_gravity
11150 	is set.
11151 	Call XResizeWindow with FRAME_OUTER_WINDOW.  If we are visible,
11152 	don't change frame size, instead wait for the ConfigureNotify.
11153 	(x_set_window_size): Call x_set_window_size_1 for USE_X_TOOLKIT also.
11154 	(x_wm_set_size_hint): Remove ifdefs for USE_X_TOOLKIT.
11155 	(x_initialize): Initialize pending_event_wait.
11156 
11157 	* xmenu.c (set_frame_menubar): Add internal border width to menu bar
11158 	size.
11159 
11160 	* widget.c (EmacsFrameSetValues): Add comment.
11161 	(EmacsFrameSetCharSize): Just call x_set_window_size.
11162 
11163 	* gtkutil.c (xg_frame_set_char_size): Flush events and call
11164 	x_wait_for_event.
11165 	(flush_and_sync): Remove again.
11166 	(xg_get_font_name): Suggest monospace if no previous font is known.
11167 
11168 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11169 
11170 	* character.c (char_resolve_modifier_mask): Don't resolve meta to the
11171 	8th bit, since that only made sense in the ASCII world (bug#4751).
11172 
11173 2009-10-20  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
11174 
11175 	* xterm.c (XTread_socket) [!USE_GTK && HAVE_X_I18N]: Don't quit
11176 	processing pending events when event is filtered for input method.
11177 	(Bug#3681)
11178 
11179 2009-10-20  Juanma Barranquero  <lekktu@gmail.com>
11180 
11181 	* fns.c: Add #endif accidentally removed in previous change.
11182 
11183 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
11184 
11185 	* fns.c: Remove code for unsupported system: MAC_OS.
11186 	* image.c: Likewise.  Include setjmp.h.
11187 
11188 2009-10-19  Jan Djärv  <jan.h.d@swipnet.se>
11189 
11190 	* xterm.c (x_create_toolkit_scroll_bar): Don't allocate color for
11191 	pixel -1 (bug #4742).
11192 
11193 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
11194 
11195 	* process.c (create_pty): Remove conditionals for no longer
11196 	supported systems: UNIPLUS and RTU.
11197 
11198 	* xterm.c:
11199 	* xfns.c: Remove always true condition: XtSpecificationRelease >= 5.
11200 
11201 	* alloc.c: Do not define struct catchtag.
11202 	* eval.c: Move struct catchtag definition ...
11203 	* lisp.h: ... here.
11204 
11205 	* image.c: Move png.h #include earlier to avoid warnings.
11206 
11207 	* xterm.c:
11208 	* xsmfns.c:
11209 	* xselect.c:
11210 	* xrdb.c:
11211 	* xmenu.c:
11212 	* xftfont.c:
11213 	* xfont.c:
11214 	* xfns.c:
11215 	* xfaces.c:
11216 	* xdisp.c:
11217 	* window.c:
11218 	* widget.c:
11219 	* w32xfns.c:
11220 	* w32uniscribe.c:
11221 	* w32term.c:
11222 	* w32select.c:
11223 	* w32reg.c:
11224 	* w32proc.c:
11225 	* w32menu.c:
11226 	* w32inevt.c:
11227 	* w32heap.c:
11228 	* w32font.c:
11229 	* w32fns.c:
11230 	* w32console.c:
11231 	* w32.c:
11232 	* w16select.c:
11233 	* vm-limit.c:
11234 	* unexsol.c:
11235 	* unexec.c:
11236 	* unexcw.c:
11237 	* unexaix.c:
11238 	* undo.c:
11239 	* tparam.c:
11240 	* textprop.c:
11241 	* terminfo.c:
11242 	* terminal.c:
11243 	* termcap.c:
11244 	* term.c:
11245 	* syntax.c:
11246 	* sound.c:
11247 	* sheap.c:
11248 	* search.c:
11249 	* scroll.c:
11250 	* region-cache.c:
11251 	* regex.c:
11252 	* ralloc.c:
11253 	* process.c:
11254 	* print.c:
11255 	* nsterm.m:
11256 	* nsselect.m:
11257 	* nsmenu.m:
11258 	* nsimage.m:
11259 	* nsfont.m:
11260 	* nsfns.m:
11261 	* msdos.c:
11262 	* minibuf.c:
11263 	* menu.c:
11264 	* marker.c:
11265 	* macros.c:
11266 	* keymap.c:
11267 	* keyboard.c:
11268 	* intervals.c:
11269 	* insdel.c:
11270 	* indent.c:
11271 	* gtkutil.c:
11272 	* ftxfont.c:
11273 	* ftfont.c:
11274 	* fringe.c:
11275 	* frame.c:
11276 	* fontset.c:
11277 	* font.c:
11278 	* fns.c:
11279 	* floatfns.c:
11280 	* filelock.c:
11281 	* fileio.c:
11282 	* emacs.c:
11283 	* editfns.c:
11284 	* dosfns.c:
11285 	* doprnt.c:
11286 	* doc.c:
11287 	* dispnew.c:
11288 	* dired.c:
11289 	* dbusbind.c:
11290 	* data.c:
11291 	* composite.c:
11292 	* coding.c:
11293 	* cmds.c:
11294 	* cm.c:
11295 	* chartab.c:
11296 	* charset.c:
11297 	* character.c:
11298 	* ccl.c:
11299 	* category.c:
11300 	* casetab.c:
11301 	* casefiddle.c:
11302 	* callproc.c:
11303 	* callint.c:
11304 	* bytecode.c:
11305 	* buffer.c:
11306 	* atimer.c: Include setjmp.h.  (Bug#4643)
11307 
11308 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11309 
11310 	Remove leftover table unibyte_to_multibyte_table.
11311 	* character.c (unibyte_to_multibyte_table): Remove.
11312 	(Funibyte_char_to_multibyte): Use MAKE_CHAR_MULTIBYTE.
11313 	* charset.c (init_charset_once): Don't init unibyte_to_multibyte_table.
11314 	* character.h (UNIBYTE_TO_CHAR): New macro.
11315 	(MAKE_CHAR_MULTIBYTE): Use it.
11316 	(unibyte_to_multibyte_table, unibyte_char_to_multibyte): Remove.
11317 	* xdisp.c (get_next_display_element): USE ASCII_CHAR_P.
11318 	(message_dolog, set_message_1):
11319 	* search.c (Freplace_match):
11320 	* editfns.c (Fcompare_buffer_substrings):
11321 	* fns.c (Fcompare_strings): Use MAKE_CHAR_MULTIBYTE.
11322 	(concat):
11323 	* insdel.c (copy_text, count_size_as_multibyte):
11324 	Use ASCII_CHAR_P and BYTE8_TO_CHAR.
11325 	* term.c (produce_glyphs):
11326 	* syntax.c (skip_chars): Use BYTE8_TO_CHAR.
11327 	* regex.c (RE_CHAR_TO_MULTIBYTE):
11328 	* cmds.c (internal_self_insert):
11329 	* buffer.h (FETCH_CHAR_AS_MULTIBYTE): Use UNIBYTE_TO_CHAR.
11330 
11331 	* cmds.c (internal_self_insert): `c' is already in "multibyte" form.
11332 
11333 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
11334 
11335 	* puresize.h (BASE_PURESIZE): Increase to 1310000.
11336 
11337 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
11338 
11339 	* buffer.c (Fbuffer_name): Doc fix.  (Bug#4728)
11340 
11341 2009-10-15  Adrian Robert  <Adrian.B.Robert@gmail.com>
11342 
11343 	* nsterm.h (NS_HAVE_NSINTEGER): Back out and augment with CGFloat,
11344 	still needed under Tiger.
11345 
11346 	* nsterm.m (EmacsView-conversationIdentifier): Arg is long.
11347 
11348 	* m/amdx86-64.h: Don't set LIB_STANDARD and START_FILES under
11349 	__Apple__.
11350 
11351 	* m/intel386.h: Remove DARWIN_OS/_LP64 special case.
11352 
11353 2009-10-15  Kenichi Handa  <handa@m17n.org>
11354 
11355 	* print.c (print_object): Escape a symbol like "2E10" too.
11356 
11357 2009-10-11  Adrian Robert  <Adrian.B.Robert@gmail.com>
11358 
11359 	Cleanups and changes for 64-bit compile under Snow Leopard.
11360 	Based on suggestions by Erik Charlebois.
11361 
11362 	* nsfns.m (xw-color-values): Use CGFloat where appropriate.
11363 
11364 	* nsfont.m (ns_char_width): Replace deprecated call.
11365 	(ns_findfonts, nsfont_list_family): Use long format in printf, and
11366 	cast argument.
11367 	(nsfont_open): Use ns_char_width() everywhere.
11368 	(ns_uni_to_glyphs, NSGlyphStorage): Use NS[U]Integer where appropriate.
11369 
11370 	* nsgui.h (NSPoint, NSSize) [!__OBJC__]: Define and use CGFloat.
11371 
11372 	* nsimage.m (EmacsImage-setXBMColor:,-getPixelAtX:Y:): Use CGFloat
11373 	where appropriate.
11374 
11375 	* nsmenu.m (EmacsMenu-addItemWithWidgetValue:): Use NSInteger
11376 	where appropriate.
11377 	(EmacsToolbar-addDisplayItemWithImage:idx:helpText:enabled:):
11378 	Use stringWithUTF8String.
11379 	(EmacsDialogPanel-initWithContentRect:styleMask:): Fix signature.
11380 
11381 	* nsterm.h (EmacsView, EmacsMenu, EmacsToolbar, EmacsTooltip):
11382 	Add formal protocol mention to inheritance.
11383 	[NS_HAVE_NSINTEGER]: Drop conditional and contents.
11384 
11385 	* nsterm.m (ns_color_to_lisp): Use CGFloat where appropriate.
11386 	Fix printf format.
11387 	(ns_query_color): Use CGFloat where appropriate.
11388 	(EmacsView<NSTextInput>, EmacsScroller): Fix method signatures.
11389 	(EmacsScroller-mouseDown:): Use long format in printf, and cast
11390 	argument.
11391 
11392 	* config.in (NS_HAVE_NSINTEGER): Drop.
11393 
11394 	* dbusbind.c (dbus-method-return-internal)
11395 	(dbus-method-error-internal): Use long format in printf, and cast
11396 	argument.
11397 
11398 	* font.c (font_unparse_xlfd, font_unparse_fcname): Use long format
11399 	in printf, and cast argument.
11400 
11401 	* process.c (list_processes_1): Use long format in printf, and
11402 	cast argument.
11403 
11404 2009-10-11  Glenn Morris  <rgm@gnu.org>
11405 
11406 	* frame.c (Fframe_pixel_height): Doc fix.  (Bug#4535)
11407 
11408 2009-10-08  Jan Djärv  <jan.h.d@swipnet.se>
11409 
11410 	* gtkutil.c (create_menus): Call gtk_widget_set_size_request for
11411 	menu bar with a small width so it doesn't enlarge the frame.
11412 
11413 2009-10-08  Juanma Barranquero  <lekktu@gmail.com>
11414 
11415 	* fontset.c (Fset_fontset_font): Fix typos in error messages.
11416 
11417 2009-10-06  Glenn Morris  <rgm@gnu.org>
11418 
11419 	* Makefile.in (emacs${EXEEXT}): Remove direct dependence on
11420 	SOME_MACHINE_LISP (this enters indirectly via DOC).
11421 
11422 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
11423 
11424 	* dired.c (Ffile_attributes): Doc fix.  (Bug#4638)
11425 
11426 2009-10-04  Eli Zaretskii  <eliz@gnu.org>
11427 
11428 	* xdisp.c (syms_of_xdisp) <unibyte-display-via-language-environment>:
11429 	Doc fix.
11430 
11431 2009-10-03  Martin Rudalics  <rudalics@gmx.at>
11432 
11433 	* window.c (Fdelete_window): Check WINDOW argument.  (Bug#4618)
11434 
11435 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
11436 
11437 	* lisp.h (Qdelete_directory_internal): Remove, because it is not
11438 	used anymore outside fileio.c.
11439 
11440 	* w32fns.c (Fsystem_move_file_to_trash): Use delete-directory.
11441 
11442 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
11443 
11444 	* lisp.h (Qdelete_directory_internal):
11445 	Declare, instead of Qdelete_directory.
11446 
11447 	* w32fns.c (Fsystem_move_file_to_trash): Use it.
11448 
11449 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11450 
11451 	* eval.c (Fcalled_interactively_p): Add `kind' argument.
11452 
11453 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
11454 
11455 	* fileio.c (Fdelete_directory_internal): Rename from
11456 	Fdelete_directory.  It is not a command anymore.  It has no file
11457 	name handler.
11458 
11459 2009-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11460 
11461 	* xdisp.c (get_next_display_element): Use an enum in last change.
11462 
11463 2009-09-28  Kenichi Handa  <handa@m17n.org>
11464 
11465 	* xdisp.c (get_next_display_element): Pay attention to
11466 	unibyte_display_via_language_environment in handling
11467 	Vnobreak_char_display.
11468 
11469 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
11470 
11471 	* nsterm.h (ns_app_name): New extern variable.
11472 
11473 	* nsterm.m (ns_app_name): New variable.
11474 	(ns_term_init): Set and use it.
11475 	(ns_term_shutdown): Use it.
11476 
11477 	* nsmenu.m (ns_update_menubar): Use ns_app_name.  Sync with xmenu.c.
11478 	(EmacsMenu-clear:, ns_popup_dialog): Use ns_app_name.
11479 
11480 	* nsfns.m (ns_set_name_iconic, ns_set_name)
11481 	(ns_set_name_as_filename, x-create-frame, ns-get-resource)
11482 	(ns-set-resource): Use ns_app_name instead of NSProcessInfo call.
11483 
11484 	* menu.c (find_and_return_menu_selection) [HAVE_NS]:
11485 	Remove double-casting in client_data comparison.
11486 
11487 2009-09-27  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
11488 
11489 	* keyboard.c (make_lispy_event): Remember last wheel direction.
11490 	(syms_of_keyboard) <wheel_syms>: Compute array size at compile time.
11491 
11492 2009-09-26  Glenn Morris  <rgm@gnu.org>
11493 
11494 	* Makefile.in (MSDOS_SUPPORT) [MSDOS]: Remove unneeded '/' in
11495 	internal.elc.  Add term/pc-win.elc.
11496 	(WINDOW_SUPPORT) [HAVE_X_WINDOWS]: Add term/common-win.elc and
11497 	term/x-win.elc.
11498 	(WINNT_SUPPORT) [WINDOWSNT]: Add term/common-win.elc and
11499 	term/w32-win.elc.
11500 	(NS_SUPPORT): New.
11501 	(lisp): Add NS_SUPPORT.
11502 	(SOME_MACHINE_LISP): Add term/w32-win.elc and emacs-lisp/easymenu.elc.
11503 
11504 2009-09-25  David Reitter  <david.reitter@gmail.com>
11505 
11506 	* nsmenu.m (EmacsMenu-clear): Recognize application menu
11507 	on Mac OS X 10.6+ (bug#4513).
11508 
11509 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
11510 
11511 	* frame.c (xrdb_get_resource): Return nil for empty string resources;
11512 	some parts of Emacs code (like font selection) don't grok them.
11513 	See http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00528.html
11514 
11515 2009-09-24  Andreas Schwab  <schwab@redhat.com>
11516 
11517 	* coding.c (decode_coding_iso_2022): Fix operator precedence.
11518 
11519 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
11520 
11521 	* dired.c (Fdirectory_files): Fix typo in docstring.
11522 
11523 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
11524 
11525 	* nsterm.m (EV_TIMESTAMP, x_set_window_size)
11526 	(EmacsApp-application:openFiles:): Remove GNUstep conditionals.
11527 	(EmacsScroller-setPosition:portion:whole:): Remove -display call
11528 	under GNUstep.
11529 	(EmacsView-initFrameFromEmacs:): Set autoresizing mask.
11530 
11531 	* nsfont.m (ns_glyph_metrics): Remove GNUstep conditional for
11532 	glyph advancement.
11533 
11534 2009-09-22  Adrian Robert  <Adrian.B.Robert@gmail.com>
11535 
11536 	* nsterm.m (CGContextSetFontRenderingMode): Drop declaration.
11537 	(EmacsScroller-mouseDown:): Use SCROLL_BAR_FIRST_DELAY.
11538 
11539 	* nsmenu.m (EmacsMenu-menuNeedsUpdate): Ignore if frame has been
11540 	deleted (bug #4492).
11541 
11542 	* nsfont.m (Vns_reg_to_script): New lisp variable.
11543 	(syms_of_nsfont): Declare it.
11544 	(ns_registry_to_script): New function.
11545 	(ns_get_req_script): Call it.
11546 	(ns_findfonts): Don't give up on non-Unicode registry.
11547 
11548 	* font.c (DEFAULT_ENCODING) [HAVE_NS]: Remove special case.
11549 
11550 2009-09-20  Tom Tromey  <tromey@redhat.com>
11551 
11552 	* eval.c (find_handler_clause): Make stack-trace-on-error work in
11553 	batch mode (bug#4228).
11554 
11555 2009-09-18  Rob Christie  <robchristie@gmail.com>  (tiny change)
11556 
11557 	* nsmenu.m (EmacsMenu-parseKeyEquiv:): Parse key equivalent more
11558 	carefully.  (Bug #4339)
11559 
11560 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
11561 
11562 	* syntax.c (Fchar_syntax): Minor doc fix (Bug#4400).
11563 
11564 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
11565 
11566 	* emacs.c (inhibit_x_resources): Update doc string for NS.
11567 	(main) [HAVE_NS]: Don't process --no-init-file option.
11568 	Remove legacy code for -NXHost.  Fix error printf in daemon case.
11569 
11570 	* nsterm.h (ns_no_defaults): Remove.
11571 
11572 	* nsterm.m (ns_no_defaults): Remove.
11573 	(ns_term_init): Switch ns_no_defaults -> inhibit_x_resources.
11574 	(ns_use_qd_smoothing): Remove legacy variable.
11575 	(EmacsView-windowShouldZoom:): Set frame left_pos, top_pos and
11576 	don't update the NSWindow itself.
11577 	(EmacsView-windowWillUseStandardFrame:defaultFrame:):
11578 	Improve state detection and store user rect ourselves.  (Bug #3581)
11579 
11580 	* nsfont.m (nsfont_draw) [NS_IMPL_COCOA]: Don't use
11581 	ns_use_qd_smoothing.
11582 
11583 	* nsfns.m (x_get_string_resource): Ape just-previous changes to other
11584 	platform versions.  Drop support for emacs-20-style face specs.
11585 	(x-close-connection): Drop PSFlush() under OS X.
11586 	(x-focus-frame): Activate the app first.  (Bug #4180)
11587 
11588 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
11589 
11590 	* emacs.c (inhibit_x_resources): New variable.
11591 	(main) [HAVE_NS]: Don't process --quick command line option.
11592 	(syms_of_emacs) <inhibit-x-resources>: DEFVAR_BOOL it.
11593 
11594 	* lisp.h (inhibit_x_resources): Declare it extern.
11595 
11596 	* w32reg.c (x_get_string_resource):
11597 	* xrdb.c (x_get_string_resource): Obey inhibit_x_resources.
11598 
11599 2009-09-17  Eli Zaretskii  <eliz@gnu.org>
11600 
11601 	* Makefile.in (MSDOS_SUPPORT, SOME_MACHINE_LISP):
11602 	Add lisp/term/internal.elc.
11603 
11604 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11605 
11606 	* frame.c (x_get_resource_string): Re-add for non-toolkit builds
11607 	(bug#4461).
11608 
11609 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
11610 
11611 	* puresize.h (BASE_PURESIZE): Increase to 1290000.
11612 
11613 	* Makefile.in (OTHER_FILES): Define using autoconf, not cpp.
11614 	(OBJECTS_MACHINE): Remove, unused.
11615 
11616 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11617 
11618 	* frame.c (x_get_resource_string): Remove unused.
11619 
11620 2009-09-15  Jan Djärv  <jan.h.d@swipnet.se>
11621 
11622 	* xterm.c (x_new_font): Call change_frame_size before calling
11623 	x_set_window_size, in case frame size won't change.
11624 
11625 	* frame.c (x_set_font): Remove dead code.
11626 
11627 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11628 
11629 	* lread.c (Fload): Also run do-after-load-evaluation while dumping.
11630 
11631 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11632 
11633 	* lread.c (Fload): Don't output a message after loading an obsolete
11634 	package any more (done in Lisp now).
11635 
11636 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
11637 
11638 	* fns.c (syms_of_fns): Doc fix (Bug#4227).
11639 
11640 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11641 
11642 	* keymap.c (Fwhere_is_internal): Use nconc2.
11643 
11644 2009-09-11  Alan Mackenzie  <acm@muc.de>
11645 
11646 	* dispnew.c (Fsend_string_to_terminal): Amend doc string to cover
11647 	batch mode.
11648 
11649 2009-09-11  Andreas Schwab  <schwab@linux-m68k.org>
11650 
11651 	* xdisp.c (display_mode_element): Detect cycles.
11652 
11653 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11654 
11655 	* keymap.c (where_is_internal): Don't erroneously return nil right after
11656 	filling the cache.
11657 	(where_is_internal_1): Fix up typo.
11658 
11659 2009-09-11  Glenn Morris  <rgm@gnu.org>
11660 
11661 	* frame.c (Fx_parse_geometry): Unify the X and NS versions so that they
11662 	share a common doc-string.
11663 
11664 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11665 
11666 	* keymap.c (get_keymap): Return the actual keymap symbol rather than
11667 	t for autoloaded keymaps when autoloading is not allowed (bug#4393).
11668 
11669 	* keymap.c (QCadvertised_binding): New constant.
11670 	(syms_of_keymap): Initialize it.
11671 	(Fwhere_is_internal): Try and use bindings from :advertised-binding
11672 	if applicable.
11673 
11674 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11675 
11676 	* keyboard.c (Qmenu_alias, Vdefine_key_rebound_commands): Remove.
11677 	(parse_menu_item): Streamline since bindings are recomputed all the
11678 	time anyway.  Don't bother checking Vdefine_key_rebound_commands any
11679 	more and don't support lmenu's menu-alias any more either.
11680 
11681 	* keymap.c (where_is_internal_data): Make noindirect a boolean.
11682 	(where_is_internal): Strip it down to only traverse the keymaps.
11683 	Move the cache handling from Fwhere_is_internal to here.
11684 	(Fwhere_is_internal): Move the handling of remapping and the choice of
11685 	the best binding from where_is_internal to here.
11686 	Unify the cached/noncached paths, so remapping is also handled
11687 	correctly when the cache is used, and so the cache can be used to
11688 	speed up remap-handling when applicable.
11689 	Give preference to non-remapped bindings.
11690 	* doc.c (Fsubstitute_command_keys): Let Fwhere_is_internal's prefer
11691 	non-remapped bindings.
11692 	* keyboard.c (parse_menu_item): Let Fwhere_is_internal handle
11693 	command remapping.
11694 
11695 	* xdisp.c (display_mode_element): Move list length limit from 50 to
11696 	5000 (see thread starting with <xbaik5174uqu.fsf@cam.ac.uk>).
11697 
11698 2009-09-09  Adrian Robert  <Adrian.B.Robert@gmail.com>
11699 
11700 	* nsfont.m (ns_get_family): Don't force first letter to uppercase.
11701 
11702 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11703 
11704 	* xdisp.c (Vtruncate_partial_width_windows): Improve docstring.
11705 	(Bug#4334)
11706 
11707 	* keymap.c (where_is_internal): Filter out shadowed remappings.
11708 	Assume that where_is_internal returns unshadowed bindings to simplify
11709 	the code and get rid of the gotos.  Use ASIZE.
11710 
11711 2009-09-04  Jan Djärv  <jan.h.d@swipnet.se>
11712 
11713 	* xterm.c (x_focus_changed): If we get a focusout and pointer
11714 	is invisible, make it visible.
11715 
11716 	* xterm.h: Remove condition for declaration of
11717 	x_*_window_to_frame.
11718 
11719 2009-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11720 
11721 	* dispnew.c (Fsend_string_to_terminal): Make it work again on the
11722 	initial terminal as well.
11723 
11724 2009-09-02  Jan Djärv  <jan.h.d@swipnet.se>
11725 
11726 	* xterm.h: Rename x_non_menubar_window_to_frame to
11727 	x_menubar_window_to_frame.
11728 
11729 	* xterm.c: Remove declarations also in xterm.h.
11730 	(XTmouse_position): Do not return valid positions
11731 	for clicks in the menubar and the toolbar for Gtk+.
11732 
11733 	* xfns.c (x_any_window_to_frame): Assume less about Gtk+ internals,
11734 	if the widget for the event has the same top level as a frame,
11735 	return the frame.
11736 	(x_menubar_window_to_frame): Detect menu bar even with Gtk+
11737 	internal windows, bug #4122.
11738 	(x_non_menubar_window_to_frame): Remove.
11739 
11740 2009-09-02  Glenn Morris  <rgm@gnu.org>
11741 
11742 	* buffer.c (default-major-mode): Move most of the doc from here...
11743 	(major-mode): ... to here.
11744 
11745 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
11746 
11747 	* process.c (wait_reading_process_output): Keep the descriptor
11748 	when pty is used by a non-child process, e.g., in I/O buffer of
11749 	GDB this allows inferior to be restarted.
11750 
11751 2009-08-29  Eli Zaretskii  <eliz@gnu.org>
11752 
11753 	* xdisp.c (redisplay_internal): Remove redundant test and collapse
11754 	both branches into one.
11755 
11756 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11757 
11758 	* emacs.c (USAGE1): Remove --(no-)multibyte, --(no-)unibyte.
11759 	(main): Use enable-multibyte-characters rather than
11760 	default-enable-multibyte-characters.  Output a warning message when
11761 	running a unibyte session.
11762 
11763 2009-08-28  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
11764 
11765 	* unexmacosx.c (print_load_command_name) [LC_DYLD_INFO]: Add cases
11766 	LC_DYLD_INFO and LC_DYLD_INFO_ONLY.
11767 	(copy_data_segment): Also copy __program_vars section.
11768 	(copy_dyld_info) [LC_DYLD_INFO]: New function.
11769 	(dump_it) [LC_DYLD_INFO]: Use it.
11770 
11771 	* s/darwin.h [temacs]: Undef HAVE_POSIX_MEMALIGN.
11772 
11773 2009-08-28  Eli Zaretskii  <eliz@gnu.org>
11774 
11775 	* makefile.w32-in ($(BLD)/doc.$(O)): Depend on buildobj.h, not on
11776 	$(SRC)/buildobj.h.
11777 	(buildobj.h): Rename from $(SRC)/buildobj.h.
11778 	(make-buildobj-CMD, make-buildobj-SH): Create buildobj.h, not
11779 	$(SRC)/buildobj.h.
11780 	(clean): Add buildobj.h.
11781 
11782 2009-08-28  Teodor Zlatanov  <tzz@lifelogs.com>
11783 
11784 	* print.c (print_object): Set escapeflag to 1 when printing
11785 	hashtable keys and values.
11786 
11787 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11788 
11789 	* lread.c (read_integer): Use doubles (and potentially return a float
11790 	number) as we do in string-to-number.
11791 	(read1): Use strtol to read integers, signal errors on strtol's
11792 	overflow and use floats if strtol's output is too large for
11793 	Elisp integers.
11794 
11795 2009-08-27  Eli Zaretskii  <eliz@gnu.org>
11796 
11797 	* makefile.w32-in ($(SRC)/buildobj.h, make-buildobj-CMD)
11798 	(make-buildobj-SH): Fix last change.
11799 	(SRC): Move to before where it's first used.
11800 
11801 2009-08-27  Kenichi Handa  <handa@m17n.org>
11802 
11803 	* process.c (send_process): Use encode_coding_object instead of
11804 	encode_coding_string to perform eol-conversion even if the string
11805 	is unibyte.
11806 
11807 	* coding.c (encode_coding_utf_16): Fix checking of a Unicode
11808 	character.
11809 
11810 	* cmds.c (Fself_insert_command): Avoid unnecessary
11811 	unibyte->multibyte conversion.  (Bug#4240)  (Bug#4037)
11812 
11813 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
11814 
11815 	* callproc.c (Fcall_process): Remove always true #if.
11816 
11817 	* lisp.h: Replace #if 0 code for checking with text pointing to
11818 	the --enable-checking configure flag.
11819 
11820 	* emacs.c (main): Mention the --enable-profiling configure flag
11821 	instead of using CFLAGS.
11822 
11823 2009-08-26  Ken Raeburn  <raeburn@raeburn.org>
11824 
11825 	* Makefile.in (buildobj.h): New target.
11826 	(doc.o): Depend on it.
11827 	(temacs${EXEEXT}): Don't generate buildobj.lst.
11828 	(mostlyclean): Delete buildobj.h, not buildobj.lst.
11829 	* makefile.w32-in ($(SRC)/buildobj.h): New target.
11830 	($(BLD)/doc.$(O)): Depend on it.
11831 	(make-buildobj-CMD, make-buildobj-SH): New targets.  (Syntax help
11832 	provided by Eli Zaretskii.)
11833 	($(TEMACS)): Don't generate buildobj.lst.
11834 	* doc.c: Include buildobj.h.
11835 	(buildobj): New static variable.
11836 	(Fsnarf_documentation): Use it, instead of opening and reading
11837 	buildobj.lst.
11838 
11839 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
11840 
11841 	* dbusbind.c (Fdbus_call_method)
11842 	(Fdbus_call_method_asynchronously): Use English numeric format for
11843 	timeout values in doc string.
11844 
11845 2009-08-25  Kenichi Handa  <handa@m17n.org>
11846 
11847 	* alloc.c (mark_char_table): New function.
11848 	(mark_object): Use mark_char_table for a char-table.
11849 
11850 	* lisp.h (CHAR_TABLE_REF_ASCII): New macro.
11851 	(CHAR_TABLE_REF): Use it.
11852 
11853 2009-08-23  Ken Raeburn  <raeburn@raeburn.org>
11854 
11855 	* Makefile.in (emacs${EXEEXT}) [CANNOT_DUMP]: Set EMACSLOADPATH
11856 	before invoking the newly build emacs to check for load-path
11857 	shadowing.
11858 
11859 2009-08-22  Glenn Morris  <rgm@gnu.org>
11860 
11861 	* Makefile.in (bootstrap_exe): New variable.
11862 	(.el.elc, ${lispsource}loaddefs.el, bootstrap-emacs${EXEEXT}):
11863 	Use ${bootstrap_exe}.
11864 
11865 2009-08-22  Eli Zaretskii  <eliz@gnu.org>
11866 
11867 	* coding.h (encode_coding_string): Don't encode unibyte strings.
11868 	(Bug#4047)
11869 
11870 2009-08-22  Michael Albinus  <michael.albinus@gmx.de>
11871 
11872 	* config.in (HAVE_DBUS_WATCH_GET_UNIX_FD): Add.
11873 
11874 	* dbusbind.c (XD_WITH_DBUS_WATCH_GET_UNIX_FD): Remove.  It was
11875 	intended as hotfix only.
11876 	(xd_add_watch, xd_remove_watch): Use HAVE_DBUS_WATCH_GET_UNIX_FD.
11877 
11878 2009-08-21  Adrian Robert  <Adrian.B.Robert@gmail.com>
11879 
11880 	* nsterm.m (ns_get_color): Update documentation properly for last
11881 	change, and clean up loose ends in the code left by it.
11882 	Fix longstanding bug with 16-bit hex parsing, and add support for
11883 	yet another X11 format (rgb:r/g/b) for compatibility.
11884 	* nsfns.m (EmacsDialogPanel-runDialogAt): Add declaration of
11885 	timer_check() to avoid crash on Leopard/PPC.  Bug #2154.
11886 
11887 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11888 
11889 	* eval.c (init_eval_once): Bump max_lisp_eval_depth to 500 for js.el.
11890 
11891 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
11892 
11893 	* dbusbind.c (XD_WITH_DBUS_WATCH_GET_UNIX_FD): New macro.
11894 	(xd_add_watch, xd_remove_watch): Use it.  Print debug messages.
11895 	(xd_initialize, xd_pending_messages): Check, whether
11896 	$DBUS_SESSION_BUS_ADDRESS is set.
11897 
11898 2009-08-20  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
11899 
11900 	* nsfns.m (Fxw_color_values): Return 3-element list.  Doc fix.
11901 
11902 	* nsterm.m (ns_get_color): Remove incompatible color formats again.
11903 
11904 2009-08-20  Glenn Morris  <rgm@gnu.org>
11905 
11906 	* emacs.c (system-type): Doc fix.
11907 
11908 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11909 
11910 	* keyboard.c (syms_of_keyboard): Default to 5 buttons, which should be
11911 	enough for the most common situations.  Avoid SET_SYMBOL_VALUE.
11912 
11913 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
11914 
11915 	* dbusbind.c (xd_add_watch, xd_remove_watch, Fdbus_init_bus):
11916 	New functions.
11917 	(xd_initialize): Revert change from 2009-08-16.
11918 
11919 2009-08-18  Kenichi Handa  <handa@m17n.org>
11920 
11921 	* fontset.c (Ffontset_font): If a nil element is found in a
11922 	font-group vector, return nil.
11923 
11924 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
11925 
11926 	* process.c (status_notify): Don't perform redisplay.
11927 	(Fdelete_process, list_processes_1, process_send_signal):
11928 	Explicitly perform redisplay.
11929 	(wait_reading_process_output): Always check process status, but
11930 	don't perform redisplay unless DO_DISPLAY is non-zero (Bug#2930).
11931 
11932 2009-08-17  Ken Raeburn  <raeburn@raeburn.org>
11933 
11934 	* lisp.h (XFLOAT_DATA): Produce an rvalue by adding 0 to the value.
11935 	(XFLOAT_INIT): New macro for storing a float value.
11936 	* alloc.c (make_float, make_pure_float): Use XFLOAT_INIT.
11937 	* fns.c (sxhash): Copy out the value of a float in order to
11938 	examine its bytes.
11939 	* dbusbind.c (xd_append_arg): Likewise.
11940 
11941 	* emacs.c (main): Don't call syms_of_data twice.
11942 
11943 2009-08-16  Michael Albinus  <michael.albinus@gmx.de>
11944 
11945 	* dbusbind.c (xd_initialize): Add connection file descriptor to
11946 	input_wait_mask, in order to let select() detect, whether a new
11947 	message has been arrived.
11948 	(Fdbus_call_method_asynchronously): Allow nil HANDLER.
11949 
11950 2009-08-15  Michael Albinus  <michael.albinus@gmx.de>
11951 
11952 	* dbusbind.c (xd_get_dispatch_status, xd_pending_messages):
11953 	New functions.
11954 
11955 	* lisp.h (xd_pending_messages): Declare.
11956 
11957 	* keyboard.c (readable_events): Call xd_pending_messages.
11958 
11959 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
11960 
11961 	* eval.c (Fcalled_interactively_p, Finteractive_p): Doc fix (Bug#3936).
11962 
11963 	* xdisp.c (pop_it): Don't pop into a display vector (Bug#4131).
11964 
11965 	* buffer.c (set_buffer_internal_1)
11966 	(swap_out_buffer_local_variables): Check for unbound local
11967 	variables (Bug#4138).
11968 
11969 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
11970 
11971 	* process.c (create_pty): Fix last change.
11972 
11973 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
11974 
11975 	* image.c (xbm_read_bitmap_data): New arg inhibit_image_error.
11976 	(xbm_load_image): Caller changed.
11977 	(xbm_file_p): Avoid signaling an image_error (Bug#4107).
11978 
11979 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
11980 
11981 	* process.c (create_pty): New function.
11982 	(Fstart_process): Use it to allow Emacs to just associate a pty
11983 	with the buffer.  See associated change in gdb-mi.el.
11984 	(list_processes_1): Deal with no program name.
11985 	(start_process_unwind): Use pid == -2 to mean no process.
11986 
11987 2009-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11988 
11989 	* cmds.c (nonundocount): New global variable.
11990 	(keys_of_cmds): Initialize it.
11991 	(Fself_insert_command): Use it to combine upto 20 sequential chars
11992 	into a single undo entry, just like the Qself_insert_command code in
11993 	keyboard.c does.
11994 	Call frame_make_pointer_invisible, also like the Qself_insert_command
11995 	code in keyboard.c does.
11996 	* keyboard.c (command_loop_1): Use the new global nonundocount rather
11997 	than its own local replacement for it.
11998 
11999 2009-08-10  Ken Raeburn  <raeburn@raeburn.org>
12000 
12001 	* fns.c (concat): Don't re-set string length to its current value.
12002 
12003 	* coding.h (decode_coding_string, encode_coding_string):
12004 	Use SBYTES macro.
12005 
12006 	* doprnt.c (doprnt_lisp): Delete unused function.
12007 	(doprnt): Merge with doprnt1, discarding lispstrings code.
12008 	* lisp.h (doprnt_lisp): Don't declare.
12009 
12010 2009-08-07  Juri Linkov  <juri@jurta.org>
12011 
12012 	* puresize.h (BASE_PURESIZE): Increase to 1270000.
12013 
12014 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
12015 
12016 	* print.c (syms_of_print): Undo previous change.
12017 
12018 2009-08-05  Teodor Zlatanov  <tzz@lifelogs.com>
12019 
12020 	* lread.c (read1, syms_of_lread): Read hashtables back from the
12021 	readable format.
12022 
12023 	* print.c (print_preprocess, print_object): Print hashtables fully
12024 	and readably.
12025 	(syms_of_print): Provide 'hashtable-print-readable.
12026 
12027 2009-08-02  Adrian Robert  <Adrian.B.Robert@gmail.com>
12028 
12029 	* nsfont.m (ns_descriptor_to_entity): Handle case when descriptor has
12030 	no family set.
12031 	(nsfont_open): Handle case when entity has no family.
12032 
12033 2009-07-29  Adrian Robert  <Adrian.B.Robert@gmail.com>
12034 
12035 	* nsfont.m (ns_findfonts): Fix 2009-07-24 change to return only one
12036 	element, not a list, for match case.
12037 
12038 2009-07-28  Kenichi Handa  <handa@m17n.org>
12039 
12040 	* font.c (font_parse_xlfd): Check DPI and AVGWIDTH properties more
12041 	rigidly.
12042 
12043 	* xfont.c (xfont_list_pattern): Don't ignore the return value of
12044 	font_parse_xlfd.  Check font properties more rigidly.
12045 
12046 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
12047 
12048 	* s/netbsd.h (SIGNALS_VIA_CHARACTERS): Remove, already defined in
12049 	bsd-common.h.
12050 
12051 2009-07-27  Kenichi Handa  <handa@m17n.org>
12052 
12053 	* xfaces.c (face_with_height): Call font_clear_prop.
12054 
12055 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
12056 
12057 	* dispnew.c (init_display): Use Qx, Qw32, and Qns.
12058 
12059 	* xterm.c (x_term_init): Use Qx.
12060 
12061 	* nsfont.m (nsfont_draw): Revert 2009-07-15 change.
12062 
12063 	* nsterm.m (ns_maybe_dumpglyphs_background): Revert 2009-07-15 change.
12064 	(ns_get_color): Revert 2009-07-16 change.
12065 
12066 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
12067 
12068 	* lread.c (syms_of_lread) <force_load_messages>: New variable.
12069 	(Fload): Use it to force load messages, even if NOMESSAGES is non-nil.
12070 
12071 2009-07-25  Ken Raeburn  <raeburn@raeburn.org>
12072 
12073 	* coding.h (decode_coding_string, encode_coding_string):
12074 	Use SCHARS macro.
12075 
12076 	* lread.c: Rewrite 2009-07-21 changes.
12077 	(load_depth): Delete.
12078 	(Qload_in_progress): New variable.
12079 	(load_unwind): Don't reference load_depth or load_in_progress.
12080 	(Fload): Likewise; specbind Qload_in_progress instead.
12081 	(init_lread): Don't initialize load_depth.
12082 	(syms_of_lread): Initialize and protect Qload_in_progress.
12083 
12084 2009-07-24  Adrian Robert  <Adrian.B.Robert@gmail.com>
12085 
12086 	* nsfont.m (ns_findfonts): Correctly return fallback in match case.
12087 
12088 2009-07-23  Yavor Doganov  <yavor@gnu.org>
12089 
12090 	* nsfont.m (NSFontDescriptor.h): Explicitly include under GNUstep.
12091 
12092 2009-07-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
12093 
12094 	* nsterm.m (EmacsView-keyUp:): Only act when running under Tiger.
12095 	Bugs 3792, 3720, 2402.
12096 	(ns_lookup_indexed_color): Check for bad index.
12097 	(ns_index_color): Init unused slot to 0.
12098 	(ns_dumpglyphs_box_or_relief): Replace useless xassert with an if().
12099 	Bug 3714, possibly 3082.
12100 
12101 2009-07-22  Jason Rumney  <jasonr@gnu.org>
12102 
12103 	* w32fns.c (w32_wnd_proc) [WM_IME_STARTCOMPOSITION]:
12104 	Position IME window at cursor (Bug#2570).
12105 	(w32_wnd_proc) [WM_IME_CHAR]: Release context when finished.
12106 	(globals_of_w32fns): Dynamically load functions required above.
12107 
12108 	* w32term.c (w32_draw_window_cursor): Send message to reposition
12109 	any IME window.
12110 
12111 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
12112 
12113 	* fileio.c: Revert 2009-07-16 changes.
12114 	(Vauto_save_include_big_deletions): New variable.
12115 	(Fdo_auto_save): Disable auto-save only if
12116 	auto-save-include-big-deletions is nil.
12117 
12118 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
12119 
12120 	* xdisp.c (move_it_to): For continued lines ending in a tab, take
12121 	the overflowed pixels into account (Bug#3879).
12122 
12123 2009-07-21  Ken Raeburn  <raeburn@raeburn.org>
12124 
12125 	* lread.c (load_depth): New variable.
12126 	(Fload, load_unwind, init_lread): Set it to the load recursion
12127 	depth; set load_in_progress as a simple boolean based on the
12128 	current load_depth.  (Bug#3892)
12129 
12130 2009-07-20  Adrian Robert  <Adrian.B.Robert@gmail.com>
12131 
12132 	* nsfont.m (ns_has_attribute): Remove.
12133 	(ns_findfonts, nsfont_open): Use ns_attribute_fvalue() instead.
12134 
12135 2009-07-18  Juri Linkov  <juri@jurta.org>
12136 
12137 	* process.c (Fset_process_query_on_exit_flag): Mention killing
12138 	a buffer in docstring.
12139 
12140 2009-07-17  Kenichi Handa  <handa@m17n.org>
12141 
12142 	* casetab.c (shuffle): Fix the logic of setting up the cycle.
12143 
12144 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12145 
12146 	* nsfns.m (Fns_set_alpha): Remove function.
12147 	(syms_of_nsfns): Don't defsubr it.
12148 
12149 	* nsterm.m (ns_get_color): Remove incompatible color formats.
12150 	(ns_color_to_lisp): Generate #rrggbb color format string.
12151 
12152 2009-07-16  Richard Stallman  <rms@gnu.org>
12153 
12154 	* fileio.c (Fwrite_region, Fdo_auto_save): Handle save_length = -2.
12155 	(Fset_buffer_auto_saved): Handle save_length = -2.
12156 
12157 2009-07-16  Chong Yidong  <cyd@stupidchicken.com>
12158 
12159 	* xterm.c (Qx_gtk_map_stock): New var.
12160 
12161 	* gtkutil.c (update_frame_tool_bar): Use Qx_gtk_map_stock instead
12162 	of calling intern each time.
12163 
12164 2009-07-15  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12165 
12166 	* nsfont.m (nsfont_draw): Remove code for stippling, which actually
12167 	does tiling.
12168 
12169 	* nsterm.m (ns_maybe_dumpglyphs_background): Likewise.
12170 
12171 2009-07-14  Kenichi Handa  <handa@m17n.org>
12172 
12173 	* font.c (font_vconcat_entity_vectors): New function.
12174 	(struct font_sort_data): New member font_driver_preference.
12175 	(font_compare): Check font_driver_preference.
12176 	(font_sort_entities): The format of the first argument changed.
12177 	(font_delete_unmatched): Likewise.
12178 	(font_list_entities): The return type changed.
12179 	(font_select_entity): The format of the second argument changed.
12180 	(font_find_for_lface): Adjuste for the above changes.
12181 	Don't suppress the checking of C even if the repertory supports it.
12182 	(Flist_fonts): Adjust for the above changes.
12183 
12184 	* ftfont.c (ftfont_spec_pattern): New arg langname.  Change caller.
12185 	(ftfont_list): Adjust for the change of ftfont_spec_pattern.
12186 	Reject a font who has adstyle property that is different from a
12187 	langname derived from registry property.
12188 	(ftfont_match): Adjust for the change of ftfont_spec_pattern.
12189 
12190 2009-07-13  Eli Zaretskii  <eliz@gnu.org>
12191 
12192 	* dired.c (directory_files_internal) [WINDOWSNT]: Don't make a
12193 	local copy of dirfilename.
12194 
12195 2009-07-13  Kenichi Handa  <handa@m17n.org>
12196 
12197 	* chartab.c (sub_char_table_ref_and_range): Fix the range check
12198 	against max_char.
12199 
12200 	* cmds.c (internal_self_insert): Check sym by SYMBOLP before
12201 	calling XSYMBOL (sym).
12202 
12203 2009-07-11  Eli Zaretskii  <eliz@gnu.org>
12204 
12205 	* dired.c (directory_files_internal_w32_unwind) [WINDOWSNT]:
12206 	New function.
12207 	(directory_files_internal) [WINDOWSNT]:
12208 	Bind w32-get-true-file-attributes to either t or nil, depending whether
12209 	the filesystem of the directory is fast or slow.
12210 
12211 	* w32.c (logon_network_drive): Don't assume PATH is an absolute
12212 	file name.
12213 	(is_slow_fs): New function.
12214 	(stat): Use it to determine whether to issue more system calls to
12215 	get accurate file attributes, when w32-get-true-file-attributes is
12216 	`local'.
12217 
12218 2009-07-10  Jan Djärv  <jan.h.d@swipnet.se>
12219 
12220 	* xfns.c (Fx_select_font): Remember last font selected in
12221 	x_last_font_name and use that the next time.  Also try the frame
12222 	parameter font-parameter as default to the font dialog.
12223 
12224 2009-07-10  Kenichi Handa  <handa@m17n.org>
12225 
12226 	* xftfont.c (xftfont_open): Fix typo: FC_RGBA->FC_HINT_STYLE.
12227 
12228 2009-07-09  Eli Zaretskii  <eliz@gnu.org>
12229 
12230 	* w32proc.c (syms_of_ntproc) <w32-get-true-file-attributes>: Doc fix.
12231 
12232 	* w32.c (stat): Treat UNC file names as residing on remote
12233 	drives.  (Bug#3542)
12234 
12235 2009-07-09  Kenichi Handa  <handa@m17n.org>
12236 
12237 	* fontset.c (fontset_find_font): Fix previous change.
12238 
12239 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
12240 
12241 	* dbusbind.c (xd_initialize, Fdbus_call_method, xd_read_message)
12242 	(Fdbus_register_signal, Fdbus_register_method): Cleanup memory of
12243 	error flag.
12244 
12245 2009-07-08  Kenichi Handa  <handa@m17n.org>
12246 
12247 	* fontset.c (fontset_find_font): Fix the logic of handling
12248 	charset_matched.
12249 	(font_for_char): Delete unused var.
12250 	(generate_ascii_font_name): Delete it.
12251 
12252 	* coding.h (JIS_TO_SJIS2): Fix the code range check.
12253 
12254 	* coding.c (detect_coding_sjis): Handle shift_jis-2004 correctly.
12255 	(encode_coding_sjis): Fix the code range check.
12256 
12257 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
12258 
12259 	* fileio.c (Fsubstitute_in_file_name, Ffile_name_directory)
12260 	(Fexpand_file_name): Copy string data properly (Bug#3772).
12261 
12262 2009-07-07  Jan Djärv  <jan.h.d@swipnet.se>
12263 
12264 	* xterm.c (handle_one_xevent): Only call x_check_fullscreen on the
12265 	first MapNotify.
12266 
12267 2009-07-07  Kenichi Handa  <handa@m17n.org>
12268 
12269 	* character.h (unibyte_has_multibyte_table): Delete extern.
12270 	(UNIBYTE_CHAR_HAS_MULTIBYTE_P): Delete it.
12271 
12272 	* charset.c (Fset_charset_priority): Update charset_unibyte.
12273 	(syms_of_charset): Initialize charset_unibyte.
12274 
12275 	* character.c (unibyte_has_multibyte_table): Delete it.
12276 	(multibyte_char_to_unibyte): Use CHAR_TO_BYTE8 instead of checking
12277 	charset_unibyte.
12278 	(multibyte_char_to_unibyte_safe): Likewise.
12279 	(Funibyte_char_to_multibyte): Don't check charset_unibyte.
12280 
12281 	* xdisp.c (get_next_display_element): Decode it->c by charset_unibyte.
12282 	(x_produce_glyphs): Likewise.
12283 
12284 	* .gdbinit (xcharset): Fix the treating $arg0.
12285 
12286 2009-07-04  Eli Zaretskii  <eliz@gnu.org>
12287 
12288 	Emulation of `getloadavg' on MS-Windows.
12289 	* w32.c: Include float.h.
12290 	(g_b_init_get_native_system_info, g_b_init_get_system_times)
12291 	(GetNativeSystemInfo_Proc, GetSystemTimes_Proc): Declare.
12292 	(get_native_system_info, get_system_times): New functions.
12293 	(buf_next, buf_prev, sample_system_load, getavg): New subroutines.
12294 	(getloadavg): Rewrite using GetSystemTimes and GetNativeSystemInfo.
12295 	(globals_of_w32): Initialize g_b_init_get_native_system_info,
12296 	g_b_init_get_system_times, and num_of_processors.
12297 
12298 2009-07-03  Jason Rumney  <jasonr@gnu.org>
12299 
12300 	* w32term.c (w32_initialize): Use standard types.
12301 
12302 2009-07-03  Eli Zaretskii  <eliz@gnu.org>
12303 
12304 	* dired.c (Ffile_attributes): Decode user and group names by the
12305 	locale's encoding.  (Bug#3443)
12306 
12307 2009-07-03  Dan Nicolaescu  <dann@ics.uci.edu>
12308 
12309 	* sysdep.c (sys_suspend): Remove USG_JOBCTRL #ifdef, unused.
12310 	(mkdir): Remove MKDIR_PROTOTYPE #ifdef, unused.
12311 
12312 	* callproc.c (child_setup): Use #else instead of a separate #ifdef.
12313 
12314 	* term.c (init_tty): Remove spurious #ifdef.
12315 
12316 	* m/mips.h: Mention this file is also used for netbsd.
12317 	* m/pmax.h: Remove file.
12318 
12319 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
12320 
12321 	* xterm.h (struct x_display_info): Add invisible_cursor.
12322 	(struct x_output): Add current_cursor.
12323 
12324 	* xterm.c (XTtoggle_invisible_pointer): New function.
12325 	(x_define_frame_cursor): Don't define cursor if invisible or the
12326 	same as before.  Set current_cursor.
12327 	(x_create_terminal): Set toggle_invisible_pointer_hook.
12328 
12329 	* xfns.c (make_invisible_cursor): New function.
12330 	(x_set_mouse_color): Call make_invisible_cursor.
12331 	Set current_cursor.
12332 	(x_window): Set current_cursor.
12333 
12334 	* termhooks.h (struct terminal): Add toggle_invisible_pointer_hook.
12335 
12336 	* keyboard.c (command_loop_1): Call frame_make_pointer_invisible after
12337 	inserting a character.
12338 	(read_avail_input): Call frame_make_pointer_visible.
12339 
12340 	* frame.c (Vmake_pointer_invisible): New variable.
12341 	(frame_make_pointer_invisible, frame_make_pointer_visible):
12342 	New functions.
12343 	(syms_of_frame): DEFVAR make-pointer-invisible, initialize to Qt.
12344 
12345 	* frame.h: Declare frame_make_pointer_invisible and
12346 	frame_make_pointer_visible.
12347 	(struct frame): Add pointer_invisible.
12348 
12349 2009-07-02  Jan Djärv  <jan.h.d@swipnet.se>
12350 
12351 	* gtkutil.c (xg_frame_set_char_size): Do set width/height if the
12352 	frame isn't visible.
12353 	(xg_frame_resized): If width/height is -1, get size of window
12354 	from X server.
12355 
12356 	* xterm.c (handle_one_xevent): Call xg_frame_resized for USE_GTK
12357 	for MapNotify.
12358 
12359 	* gtkutil.c (xg_frame_set_char_size): Do not set pixel width/height
12360 	here or call change_frame_size.  Just call flush_and_sync.
12361 	(flush_and_sync): Reintroduce.
12362 
12363 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
12364 
12365 	* xterm.h (struct x_display_info): Add Xatom_net_wm_state_sticky.
12366 
12367 	* xterm.c (x_handle_net_wm_state): Also look for sticky.
12368 	(x_term_init): Initialize Xatom_net_wm_state_sticky.
12369 
12370 	* frame.h: Declare Qsticky.
12371 
12372 	* w32fns.c (w32_frame_parm_handlers): Set 0 for sticky.
12373 
12374 	* nsfns.m (ns_frame_parm_handlers): Ditto.
12375 
12376 	* frame.c: Declare Qsticky.
12377 	(frame_parms): Add sticky.
12378 
12379 	* xfns.c (x_frame_parm_handlers): Let x_set_sticky handle sticky.
12380 
12381 	* xterm.h: Declare x_set_sticky.
12382 
12383 	* xterm.c (x_set_sticky): New function.
12384 
12385 	* gtkutil.c (xg_tool_bar_proxy_help_callback): New function.
12386 	(xg_tool_bar_menu_proxy): Attach enter/leave events to
12387 	xg_tool_bar_proxy_help_callback.
12388 
12389 	* emacs.c (USAGE3, standard_args): Add -mm and --maximized.
12390 
12391 	* frame.c: Qmaximized is new.
12392 	(x_set_frame_parameters): Do not handle fullscreen specially.
12393 	Only set width and height if explicitly set.
12394 	(x_set_fullscreen): Handle Qmaximized.
12395 	(x_set_font, x_figure_window_size): Do not handle fullscreen specially.
12396 	(syms_of_frame): Initialize Qmaximized.
12397 
12398 	* frame.h (fullscreen_type): Add FULLSCREEN_MAXIMIZED.
12399 	Declare Qfullwidth, Qfullheight, Qfullboth, Qmaximized.
12400 
12401 	* xterm.c (handle_one_xevent): Remove call to x_check_fullscreen
12402 	for Expose event.  Add call to x_check_fullscreen for MapNotify event.
12403 	Remove all code w.r.t. fullscreen from ConfigureNotify event.  Do not
12404 	set gravity to NorthWestGravity when USE_GTK.
12405 	(set_wm_state): New function.
12406 	(do_ewmh_fullscreen): Use set_wm_state.  Also handle FULLSCREEN_MAXIMIZED.
12407 	(x_handle_net_wm_state): Handle FULLSCREEN_MAXIMIZED.
12408 	(x_check_fullscreen): Simplify so we only handle EMWH type of fullscreen
12409 	or the case when no window manager is running.  That means remove calls
12410 	to x_real_positions and x_fullscreen_adjust.
12411 
12412 	* gtkutil.c (flush_and_sync, x_wm_size_hint_off): Remove.
12413 	(xg_frame_set_char_size): Remove calls to x_wm_size_hint_off and
12414 	flush_and_sync.
12415 	(xg_height_changed): New function.
12416 	(xg_create_frame_widgets): Remove call to gtk_widget_set_size_request
12417 	and gtk_window_set_policy.  Set frame gravity after parsing the
12418 	geometry string.
12419 	(xg_update_frame_menubar, free_frame_menubar)
12420 	(xg_tool_bar_detach_callback, xg_tool_bar_attach_callback)
12421 	(update_frame_tool_bar, free_frame_tool_bar): Call xg_height_changed.
12422 	Remove calls to xg_frame_set_char_size.
12423 
12424 2009-07-01  Kenichi Handa  <handa@m17n.org>
12425 
12426 	* keyboard.c (decode_keyboard_code): New function.
12427 	(tty_read_avail_input): Decode the input bytes if necessary.
12428 
12429 	* coding.c (setup_coding_system):
12430 	Initialize coding->carryover_bytes to 0.
12431 	(Fset_keyboard_coding_system_internal): If CODING-SYSTEM is nil,
12432 	use Qno_conversion.
12433 
12434 2009-07-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12435 
12436 	* Makefile.in (SOME_MACHINE_LISP): Add ../lisp/term/common-win.elc.
12437 
12438 2009-06-30  Chong Yidong  <cyd@stupidchicken.com>
12439 
12440 	* xftfont.c (xftfont_open): Avoid passing NULL argument to XftLockFace.
12441 
12442 2009-06-30  Jason Rumney  <jasonr@gnu.org>
12443 
12444 	* w32term.c (w32_initialize): Use GetModuleHandle for library that
12445 	is already loaded.
12446 	Set user model ID if supported (bug#1849).
12447 
12448 2009-06-29  Jim Meyering  <meyering@redhat.com>
12449 
12450 	Remove useless if-before-xfree test.
12451 	* nsfont.m (nsfont_close): Remove useless test.
12452 	* term.c (delete_tty): Likewise.
12453 	* w32.c (system_process_attributes): Likewise.
12454 	* w32font.c (w32font_close): Likewise.
12455 	* xfaces.c (x_free_gc): Likewise.
12456 	* xselect.c (buffer): Likewise.
12457 
12458 2009-06-28  Andreas Schwab  <schwab@linux-m68k.org>
12459 
12460 	* process.c (send_process): Keep decoded string in a local
12461 	variable and protect it from GC.  (Bug#3521)
12462 
12463 2009-06-28  Eli Zaretskii  <eliz@gnu.org>
12464 
12465 	* term.c (create_tty_output) [MSDOS]: #ifdef away.
12466 	(tty_free_frame_resources) [MSDOS]: Add a DOS-specific version.
12467 
12468 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
12469 
12470 	* xdisp.c (start_display, handle_face_prop)
12471 	(move_it_vertically_backward, cursor_row_fully_visible_p)
12472 	(redisplay_window, try_window_id, produce_image_glyph):
12473 	Delete some #ifdef-ed out code chunks that are now obsolete.
12474 
12475 	* xterm.c (x_update_window_begin, x_new_focus_frame)
12476 	(x_scroll_bar_handle_click, handle_one_xevent)
12477 	(handle_one_xevent, XTread_socket, x_focus_on_frame)
12478 	(x_make_frame_visible, x_make_frame_invisible)
12479 	(x_wm_set_icon_pixmap, x_initialize): Delete some #ifdef-ed out
12480 	code chunks that are now obsolete.
12481 
12482 2009-06-28  Michael Albinus  <michael.albinus@gmx.de>
12483 
12484 	* dbusbind.c (XD_SYMBOL_TO_DBUS_TYPE): Convert macro into function
12485 	xd_symbol_to_dbus_type.  With Solaris 2.11, it was said to compile
12486 	for hours, when optimization is enabled.
12487 	(xd_signature, xd_append_arg, xd_retrieve_arg, xd_initialize)
12488 	(xd_read_message): Make them static.
12489 
12490 2009-06-27  Chuck Blake  <cblake@pdos.csail.mit.edu>  (tiny change)
12491 
12492 	* term.c (turn_on_face): Allow simultaneously bold and dim
12493 	terminal faces (Bug#3530).
12494 
12495 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
12496 
12497 	* frame.c (x_get_arg): Check if dpyinfo is non-NULL.
12498 
12499 	* xdisp.c (mouse_face_from_buffer_pos): Fix detection of
12500 	truncation glyphs (Bug#3686).
12501 
12502 2009-06-27  Glenn Morris  <rgm@gnu.org>
12503 
12504 	* m/pmax.h: Restore file, with only netbsd portions.
12505 
12506 2009-06-26  David Reitter  <david.reitter@gmail.com>
12507 
12508 	* nsterm.m (keydown): Avoid infinite loop.
12509 
12510 2009-06-26  Peter Jolly  <peter@jollys.org>  (tiny change)
12511 
12512 	* ftfont.c (get_adstyle_property): Call font_intern_prop with 1 as
12513 	the arg FORCE_SYMBOL.
12514 
12515 2009-06-25  Kenichi Handa  <handa@m17n.org>
12516 
12517 	* fontset.c (fontset_find_font): When a usable rfont_def is found
12518 	in a fallback font-group, make it the first element of the group.
12519 
12520 2009-06-24  Chong Yidong  <cyd@stupidchicken.com>
12521 
12522 	* emacs-icon.h: Always define gnu_xpm_bits on GTK (bug#3671).
12523 
12524 2009-06-24  Kenichi Handa  <handa@m17n.org>
12525 
12526 	* fontset.c (fontset_get_font_group): Return 0 if no font-group is
12527 	set for C.
12528 	(fontset_font): Record the availability of a font for C both in
12529 	the realized fontsets of the current one and the default one.
12530 
12531 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
12532 
12533 	* sysdep.c (child_setup_tty): Remove SIGNALS_VIA_CHARACTERS
12534 	conditional, it is always defined on AIX.
12535 
12536 2009-06-23  Miles Bader  <miles@gnu.org>
12537 
12538 	* window.c (Vrecenter_redisplay): New variable.
12539 	(syms_of_window): Initialize it.
12540 	(Qtty): New extern declaration.
12541 	(Frecenter): Only do redisplay if Vrecenter_redisplay requests it.
12542 
12543 2009-06-23  Jim Meyering  <meyering@redhat.com>
12544 
12545 	* ftfont.c (setup_otf_gstring, ftfont_shape_by_flt):
12546 	Use xmalloc and xrealloc (not malloc and realloc), so subsequent heap
12547 	pointer dereferences are guaranteed to be valid.
12548 
12549 2009-06-23  Kenichi Handa  <handa@m17n.org>
12550 
12551 	* emacs.c (main): Call init_font ().
12552 
12553 	* font.h (Vfont_log): Extern it.
12554 	(FONT_ADD_LOG, FONT_DEFERRED_LOG): New macros.
12555 
12556 	* font.c (font_sort_entities, font_list_entities)
12557 	(font_matching_entity, font_open_entity)
12558 	(font_close_object): Change font_add_log to FONT_ADD_LOG.
12559 	(Vfont_log): Delete static.
12560 	(font_log_env_checked): Delete this variable.
12561 	(font_add_log): Don't check font_log_env_checked.
12562 	(font_deferred_log): Check Vfont_log.
12563 	(init_font): New function.
12564 
12565 	* ftfont.c: Change font_add_log to FONT_ADD_LOG.
12566 
12567 	* w32font.c: Change font_add_log to FONT_ADD_LOG.
12568 
12569 	* w32uniscribe.c: Change font_add_log to FONT_ADD_LOG.
12570 
12571 	* xfont.c: Change font_add_log to FO