+2009-08-13 Chong Yidong <cyd@stupidchicken.com>
+
+ * image.c (xbm_read_bitmap_data): New arg inhibit_image_error.
+ (xbm_load_image): Caller changed.
+ (xbm_file_p): Avoid signalling an image_error (Bug#4107).
+
+2009-08-13 Nick Roberts <nickrob@snap.net.nz>
+
+ * process.c (create_pty): New function.
+ (Fstart_process): Use it to allow Emacs to just associate a pty
+ with the buffer. See associated change in gdb-mi.el.
+ (list_processes_1): Deal with no program name.
+ (start_process_unwind): Use pid == -2 to mean no process.
+
+2009-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * cmds.c (nonundocount): New global variable.
+ (keys_of_cmds): Initialize it.
+ (Fself_insert_command): Use it to combine upto 20 sequential chars
+ into a single undo entry, just like the Qself_insert_command code in
+ keyboard.c does.
+ Call frame_make_pointer_invisible, also like the Qself_insert_command
+ code in keyboard.c does.
+ * keyboard.c (command_loop_1): Use the new global nonundocount rather
+ than its own local replacement for it.
+
+2009-08-10 Ken Raeburn <raeburn@raeburn.org>
+
+ * fns.c (concat): Don't re-set string length to its current value.
+
+ * coding.h (decode_coding_string, encode_coding_string):
+ Use SBYTES macro.
+
+ * doprnt.c (doprnt_lisp): Delete unused function.
+ (doprnt): Merge with doprnt1, discarding lispstrings code.
+ * lisp.h (doprnt_lisp): Don't declare.
+
+2009-08-07 Juri Linkov <juri@jurta.org>
+
+ * puresize.h (BASE_PURESIZE): Increase to 1270000.
+
+2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * print.c (syms_of_print): Undo previous change.
+
+2009-08-05 Teodor Zlatanov <tzz@lifelogs.com>
+
+ * lread.c (read1, syms_of_lread): Read hashtables back from the
+ readable format.
+
+ * print.c (print_preprocess, print_object): Print hashtables fully
+ and readably.
+ (syms_of_print): Provide 'hashtable-print-readable.
+
+2009-08-02 Adrian Robert <Adrian.B.Robert@gmail.com>
+
+ * nsfont.m (ns_descriptor_to_entity): Handle case when descriptor has
+ no family set.
+ (nsfont_open): Handle case when entity has no family.
+
+2009-07-29 Adrian Robert <Adrian.B.Robert@gmail.com>
+
+ * nsfont.m (ns_findfonts): Fix 2009-07-24 change to return only one
+ element, not a list, for match case.
+
+2009-07-28 Kenichi Handa <handa@m17n.org>
+
+ * font.c (font_parse_xlfd): Check DPI and AVGWIDTH properties more
+ rigidly.
+
+ * xfont.c (xfont_list_pattern): Don't ignore the return value of
+ font_parse_xlfd. Check font properties more rigidly.
+
+2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * s/netbsd.h (SIGNALS_VIA_CHARACTERS): Remove, already defined in bsd-common.h
+
+2009-07-27 Kenichi Handa <handa@m17n.org>
+
+ * xfaces.c (face_with_height): Call font_clear_prop.
+
+2009-07-26 Chong Yidong <cyd@stupidchicken.com>
+
+ * dispnew.c (init_display): Use Qx, Qw32, and Qns.
+
+ * xterm.c (x_term_init): Use Qx.
+
+ * nsfont.m (nsfont_draw): Revert 2009-07-15 change.
+
+ * nsterm.m (ns_maybe_dumpglyphs_background): Revert 2009-07-15 change.
+ (ns_get_color): Revert 2009-07-16 change.
+
+2009-07-25 Eli Zaretskii <eliz@gnu.org>
+
+ * lread.c (syms_of_lread) <force_load_messages>: New variable.
+ (Fload): Use it to force load messages, even if NOMESSAGES is non-nil.
+
+2009-07-25 Ken Raeburn <raeburn@raeburn.org>
+
+ * coding.h (decode_coding_string, encode_coding_string):
+ Use SCHARS macro.
+
+ * lread.c: Rewrite 2009-07-21 changes.
+ (load_depth): Delete.
+ (Qload_in_progress): New variable.
+ (load_unwind): Don't reference load_depth or load_in_progress.
+ (Fload): Likewise; specbind Qload_in_progress instead.
+ (init_lread): Don't initialize load_depth.
+ (syms_of_lread): Initialize and protect Qload_in_progress.
+
+2009-07-24 Adrian Robert <Adrian.B.Robert@gmail.com>
+
+ * nsfont.m (ns_findfonts): Correctly return fallback in match case.
+
+2009-07-23 Yavor Doganov <yavor@gnu.org>
+
+ * nsfont.m (NSFontDescriptor.h): Explicitly include under GNUstep.
+
+2009-07-23 Adrian Robert <Adrian.B.Robert@gmail.com>
+
+ * nsterm.m (EmacsView-keyUp:): Only act when running under Tiger.
+ Bugs 3792, 3720, 2402.
+ (ns_lookup_indexed_color): Check for bad index.
+ (ns_index_color): Init unused slot to 0.
+ (ns_dumpglyphs_box_or_relief): Replace useless xassert with an if().
+ Bug 3714, possibly 3082.
+
+2009-07-22 Jason Rumney <jasonr@gnu.org>
+
+ * w32fns.c (w32_wnd_proc) [WM_IME_STARTCOMPOSITION]:
+ Position IME window at cursor (Bug#2570).
+ (w32_wnd_proc) [WM_IME_CHAR]: Release context when finished.
+ (globals_of_w32fns): Dynamically load functions required above.
+
+ * w32term.c (w32_draw_window_cursor): Send message to reposition
+ any IME window.
+
+2009-07-21 Chong Yidong <cyd@stupidchicken.com>
+
+ * fileio.c: Revert 2009-07-16 changes.
+ (Vauto_save_include_big_deletions): New variable.
+ (Fdo_auto_save): Disable auto-save only if
+ auto-save-include-big-deletions is nil.
+
+2009-07-21 Chong Yidong <cyd@stupidchicken.com>
+
+ * xdisp.c (move_it_to): For continued lines ending in a tab, take
+ the overflowed pixels into account (Bug#3879).
+
+2009-07-21 Ken Raeburn <raeburn@raeburn.org>
+
+ * lread.c (load_depth): New variable.
+ (Fload, load_unwind, init_lread): Set it to the load recursion
+ depth; set load_in_progress as a simple boolean based on the
+ current load_depth. (Bug#3892)
+
+2009-07-20 Adrian Robert <Adrian.B.Robert@gmail.com>
+
+ * nsfont.m (ns_has_attribute): Remove.
+ (ns_findfonts, nsfont_open): Use ns_attribute_fvalue() instead.
+
+2009-07-18 Juri Linkov <juri@jurta.org>
+
+ * process.c (Fset_process_query_on_exit_flag): Mention killing
+ a buffer in docstring.
+
+2009-07-17 Kenichi Handa <handa@m17n.org>
+
+ * casetab.c (shuffle): Fix the logic of setting up the cycle.
+
+2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * nsfns.m (Fns_set_alpha): Remove function.
+ (syms_of_nsfns): Don't defsubr it.
+
+ * nsterm.m (ns_get_color): Remove incompatible color formats.
+ (ns_color_to_lisp): Generate #rrggbb color format string.
+
+2009-07-16 Richard Stallman <rms@gnu.org>
+
+ * fileio.c (Fwrite_region, Fdo_auto_save): Handle save_length = -2.
+ (Fset_buffer_auto_saved): Handle save_length = -2.
+
+2009-07-16 Chong Yidong <cyd@stupidchicken.com>
+
+ * xterm.c (Qx_gtk_map_stock): New var.
+
+ * gtkutil.c (update_frame_tool_bar): Use Qx_gtk_map_stock instead
+ of calling intern each time.
+
+2009-07-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * nsfont.m (nsfont_draw): Remove code for stippling, which actually
+ does tiling.
+
+ * nsterm.m (ns_maybe_dumpglyphs_background): Likewise.
+
+2009-07-14 Kenichi Handa <handa@m17n.org>
+
+ * font.c (font_vconcat_entity_vectors): New function.
+ (struct font_sort_data): New member font_driver_preference.
+ (font_compare): Check font_driver_preference.
+ (font_sort_entities): The format of the first argument changed.
+ (font_delete_unmatched): Likewise.
+ (font_list_entities): The return type changed.
+ (font_select_entity): The format of the second argument changed.
+ (font_find_for_lface): Adjuste for the above changes.
+ Don't suppress the checking of C even if the repertory supports it.
+ (Flist_fonts): Adjust for the above changes.
+
+ * ftfont.c (ftfont_spec_pattern): New arg langname. Change caller.
+ (ftfont_list): Adjust for the change of ftfont_spec_pattern.
+ Reject a font who has adstyle property that is different from a
+ langname derived from registry property.
+ (ftfont_match): Adjust for the change of ftfont_spec_pattern.
+
+2009-07-13 Eli Zaretskii <eliz@gnu.org>
+
+ * dired.c (directory_files_internal) [WINDOWSNT]: Don't make a
+ local copy of dirfilename.
+
+2009-07-13 Kenichi Handa <handa@m17n.org>
+
+ * chartab.c (sub_char_table_ref_and_range): Fix the range check
+ against max_char.
+
+ * cmds.c (internal_self_insert): Check sym by SYMBOLP before
+ calling XSYMBOL (sym).
+
+2009-07-11 Eli Zaretskii <eliz@gnu.org>
+
+ * dired.c (directory_files_internal_w32_unwind) [WINDOWSNT]:
+ New function.
+ (directory_files_internal) [WINDOWSNT]:
+ Bind w32-get-true-file-attributes to either t or nil, depending whether
+ the filesystem of the directory is fast or slow.
+
+ * w32.c (logon_network_drive): Don't assume PATH is an absolute
+ file name.
+ (is_slow_fs): New function.
+ (stat): Use it to determine whether to issue more system calls to
+ get accurate file attributes, when w32-get-true-file-attributes is
+ `local'.
+
+2009-07-10 Jan Djärv <jan.h.d@swipnet.se>
+
+ * xfns.c (Fx_select_font): Remember last font selected in
+ x_last_font_name and use that the next time. Also try the frame
+ parameter font-parameter as default to the font dialog.
+
+2009-07-10 Kenichi Handa <handa@m17n.org>
+
+ * xftfont.c (xftfont_open): Fix typo: FC_RGBA->FC_HINT_STYLE.
+
+2009-07-09 Eli Zaretskii <eliz@gnu.org>
+
+ * w32proc.c (syms_of_ntproc) <w32-get-true-file-attributes>: Doc fix.
+
+ * w32.c (stat): Treat UNC file names as residing on remote
+ drives. (Bug#3542)
+
+2009-07-09 Kenichi Handa <handa@m17n.org>
+
+ * fontset.c (fontset_find_font): Fix previous change.
+
+2009-07-08 Michael Albinus <michael.albinus@gmx.de>
+
+ * dbusbind.c (xd_initialize, Fdbus_call_method, xd_read_message)
+ (Fdbus_register_signal, Fdbus_register_method): Cleanup memory of
+ error flag.
+
+2009-07-08 Kenichi Handa <handa@m17n.org>
+
+ * fontset.c (fontset_find_font): Fix the logic of handling
+ charset_matched.
+ (font_for_char): Delete unused var.
+ (generate_ascii_font_name): Delete it.
+
+ * coding.h (JIS_TO_SJIS2): Fix the code range check.
+
+ * coding.c (detect_coding_sjis): Handle shift_jis-2004 correctly.
+ (encode_coding_sjis): Fix the code range check.
+
+2009-07-07 Chong Yidong <cyd@stupidchicken.com>
+
+ * fileio.c (Fsubstitute_in_file_name, Ffile_name_directory)
+ (Fexpand_file_name): Copy string data properly (Bug#3772).
+
+2009-07-07 Jan Djärv <jan.h.d@swipnet.se>
+
+ * xterm.c (handle_one_xevent): Only call x_check_fullscreen on the
+ first MapNotify.
+
+2009-07-07 Kenichi Handa <handa@m17n.org>
+
+ * character.h (unibyte_has_multibyte_table): Delete extern.
+ (UNIBYTE_CHAR_HAS_MULTIBYTE_P): Delete it.
+
+ * charset.c (Fset_charset_priority): Update charset_unibyte.
+ (syms_of_charset): Initialize charset_unibyte.
+
+ * character.c (unibyte_has_multibyte_table): Delete it.
+ (multibyte_char_to_unibyte): Use CHAR_TO_BYTE8 instead of checking
+ charset_unibyte.
+ (multibyte_char_to_unibyte_safe): Likewise.
+ (Funibyte_char_to_multibyte): Don't check charset_unibyte.
+
+ * xdisp.c (get_next_display_element): Decode it->c by charset_unibyte.
+ (x_produce_glyphs): Likewise.
+
+ * .gdbinit (xcharset): Fix the treating $arg0.
+
+2009-07-04 Eli Zaretskii <eliz@gnu.org>
+
+ Emulation of `getloadavg' on MS-Windows.
+ * w32.c: Include float.h
+ (g_b_init_get_native_system_info, g_b_init_get_system_times)
+ (GetNativeSystemInfo_Proc, GetSystemTimes_Proc): Declare.
+ (get_native_system_info, get_system_times): New functions.
+ (buf_next, buf_prev, sample_system_load, getavg): New subroutines.
+ (getloadavg): Rewrite using GetSystemTimes and GetNativeSystemInfo.
+ (globals_of_w32): Initialize g_b_init_get_native_system_info,
+ g_b_init_get_system_times, and num_of_processors.
+
+2009-07-03 Jason Rumney <jasonr@gnu.org>
+
+ * w32term.c (w32_initialize): Use standard types.
+
+2009-07-03 Eli Zaretskii <eliz@gnu.org>
+
+ * dired.c (Ffile_attributes): Decode user and group names by the
+ locale's encoding. (Bug#3443)
+
+2009-07-03 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * sysdep.c (sys_suspend): Remove USG_JOBCTRL #ifdef, unused.
+ (mkdir): Remove MKDIR_PROTOTYPE #ifdef, unused.
+
+ * callproc.c (child_setup): Use #else instead of a separate #ifdef.
+
+ * term.c (init_tty): Remove spurious #ifdef.
+
+ * m/mips.h: Mention this file is also used for netbsd.
+ * m/pmax.h: Remove file.
+
+2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
+
+ * xterm.h (struct x_display_info): Add invisible_cursor.
+ (struct x_output): Add current_cursor.
+
+ * xterm.c (XTtoggle_invisible_pointer): New function.
+ (x_define_frame_cursor): Don't define cursor if invisible or the
+ same as before. Set current_cursor.
+ (x_create_terminal): Set toggle_invisible_pointer_hook.
+
+ * xfns.c (make_invisible_cursor): New function.
+ (x_set_mouse_color): Call make_invisible_cursor.
+ Set current_cursor.
+ (x_window): Set current_cursor.
+
+ * termhooks.h (struct terminal): Add toggle_invisible_pointer_hook.
+
+ * keyboard.c (command_loop_1): Call frame_make_pointer_invisible after
+ inserting a character.
+ (read_avail_input): Call frame_make_pointer_visible.
+
+ * frame.c (Vmake_pointer_invisible): New variable.
+ (frame_make_pointer_invisible, frame_make_pointer_visible):
+ New functions.
+ (syms_of_frame): DEFVAR make-pointer-invisible, initialize to Qt.
+
+ * frame.h: Declare frame_make_pointer_invisible and
+ frame_make_pointer_visible.
+ (struct frame): Add pointer_invisible.
+
+2009-07-02 Jan Djärv <jan.h.d@swipnet.se>
+
+ * gtkutil.c (xg_frame_set_char_size): Do set width/height if the
+ frame isn't visible.
+ (xg_frame_resized): If width/height is -1, get size of window
+ from X server.
+
+ * xterm.c (handle_one_xevent): Call xg_frame_resized for USE_GTK
+ for MapNotify.
+
+ * gtkutil.c (xg_frame_set_char_size): Do not set pixel width/height
+ here or call change_frame_size. Just call flush_and_sync.
+ (flush_and_sync): Reintroduce.
+