+2009-06-10 Kenichi Handa <handa@m17n.org>
+
+ * font.c (font_parse_family_registry): Fix for one-char foundry.
+ (font_sort_entities): Initialize prefer_prop[FONT_AVGWIDTH_INDEX].
+
+2009-06-09 Dmitry Dzhus <dima@sphinx.net.ru> (tiny change)
+
+ * process.c (status_message): Fix handling of multibyte signal
+ string (Bug#3499).
+
+2009-06-09 Jim Meyering <meyering@redhat.com>
+
+ * xfaces.c (Fx_load_color_file): Avoid array bounds error if the
+ color name is missing.
+
+2009-06-09 Kenichi Handa <handa@m17n.org>
+
+ * charset.c (Fmap_charset_chars): In docstring, state clearly that
+ FROM-CODE and TO-CODE are codepoints of CHARSET.
+
+2009-06-08 Adrian Robert <Adrian.B.Robert@gmail.com>
+
+ * nsterm.m (ns_use_system_highlight_color): Drop, unused.
+
+2009-06-08 Adrian Robert <Adrian.B.Robert@gmail.com>
+
+ Changes to support :script/:lang/:otf in NS font driver.
+ * nsfont.m (nsfont_escape_name, nsfont_unescape_name)
+ (nsfont_get_family, nsfont_char_width): Rename to ns_ prefix to
+ indicate not part of font driver interface, and change callers.
+ (ns_get_family): Remove pointless null check.
+ (nsfont_spec_to_traits, nsfont_fmember_to_entity): Replace with
+ ns_spec_to_descriptor, ns_descriptor_to_entity.
+ (nsfont_trait_distance, nsfont_make_fontset_for_font): Remove.
+ (ns_attribute_value, ns_attribute_fvalue, ns_has_attribute)
+ (ns_spec_to_descriptor, ns_descriptor_to_entity)
+ (ns_charset_covers, ns_lang_to_script, ns_otf_to_script)
+ (ns_get_req_script, ns_accumulate_script_ranges)
+ (ns_script_to_charset, ns_get_covering_families, ns_findfonts):
+ New functions.
+ (nsfont_list, nsfont_match): Use ns_findfonts.
+ (nsfont_open): Use font descriptor instead of traits.
+ (nsfont_draw): Handle "automatic" (lookup-table) compositions.
+ (dump_glyphstring): Rename to ns_dump_glyphstring.
+
+ * nsterm.h (dump_glyphstring): Rename to ns_dump_glyphstring.
+
+ * nsfns.m (Fns_popup_font_panel): Use shared font manager.
+
+ * fontset.c (fontset_from_font): Remove NS-specific code.
+
+2009-06-08 Peter Jones <pjones@pmade.com> (tiny change)
+
+ * nsterm.m (ns_draw_window_cursor): Respect cursor_type for
+ nonactive windows.
+
+2009-06-08 Felix Mueller <felix@enqueue.eu> (tiny change)
+
+ * nsterm.m (ns_init_paths): Append path separator to INFOPATH
+ variable.
+
+2009-06-08 Wolfgang Lux <wolfgang.lux@gmail.com>
+
+ * keyboard.c (kbd_buffer_get_event): Null-check used_mouse_menu.
+
+2009-06-07 Chong Yidong <cyd@stupidchicken.com>
+
+ * xdisp.c (move_it_in_display_line_to): On text-only terminals,
+ account for the overflowing of newlines into the last glyph on the
+ display line (Bug#3482).
+
+2009-06-05 David Reitter <david.reitter@gmail.com>
+
+ * nsselect.m (Fx_own_selection_internal, Fx_selection_exists_p,
+ Fx_selection_owner_p): rename from Fns_own_selection_internal,
+ Fns_selection_exists_p, Fns_selection_owner_p.
+
+2009-06-03 Jason Rumney <jasonr@gnu.org>
+
+ * w32fns.c (x_create_tip_frame): Use the uniscribe font backend if
+ available. (Bug#3379)
+
+2009-05-29 Kenichi Handa <handa@m17n.org>
+
+ * coding.c (get_translation_table): Check
+ Venable_character_translation.
+
+2009-05-25 David Reitter <david.reitter@gmail.com>
+
+ * nsterm.m (ns_raise_frame): only raise frame if visible.
+ (x_make_frame_visible): move frame to front rather than calling
+ ns_raise_frame().
+ (keyDown:) do not swallow events that aren't re-sent if frame
+ isn't key window.
+ (drawRect:) do not set visibility/iconified flags because
+ drawRect may be called by NSView even if the frame is hidden.
+
+ * nsfns.m (Fx_create_frame): follow other ports in
+ determining visibility; default to t. Ensure async_visible is set.
+
+2009-05-23 Eli Zaretskii <eliz@gnu.org>
+
+ * dired.c (Ffile_attributes): Doc fix.
+
+2009-05-22 Chong Yidong <cyd@stupidchicken.com>
+
+ * m/mips.h [GNU_LINUX]: Don't define DATA_START (Bug#2685).
+
+2009-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * xfont.c (xfont_list_pattern): Don't initialize xfont_scripts_cache
+ and xfont_scratch_props.
+ (syms_of_xfont): Do it here instead.
+ (xfont_find_ccl_program): Delete, unused.
+ (xfont_open): Delete unused var `i'.
+
+2009-05-21 Kenichi Handa <handa@m17n.org>
+
+ * fontset.c (Qlatin): Don't make it static.
+
+ * xfont.c (xfont_chars_supported, xfont_supported_scripts):
+ New functions.
+ (xfont_scripts_cache, xfont_scratch_props): New variables.
+ (Qlatin, Vscalable_fonts_allowed): Extern it.
+ (xfont_list_pattern): Argument changed. Callers changed.
+ Check Vscalable_fonts_allowed. Check the support of a script.
+ (xfont_list): Don't reject a font spec with :script property.
+ (xfont_has_char): Fix setting of encoding.
+ (syms_of_xfont): Staticpro and initialize xfont_scripts_cache and
+ xfont_scratch_props.
+
+2009-05-19 Kenichi Handa <handa@m17n.org>
+
+ * font.c (font_sort_entities): Rename from font_sort_entites.
+ Callers changed.
+
+2009-05-18 Kenichi Handa <handa@m17n.org>
+
+ * font.c (font_find_for_lface): Copy SPEC's FONT_TYPE too.
+
+2009-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * frame.c (do_switch_frame) [NS_IMPL_COCOA]: Don't raise any window.
+ (delete_frame) [NS_IMPL_COCOA]: Instead, do it here.
+
+2009-05-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * xterm.c (x_delete_display): Don't call XrmDestroyDatabase here.
+ (x_delete_terminal): Dissociate resource database from display and
+ then call XrmDestroyDatabase before closing display.
+
+2009-05-18 Adrian Robert <Adrian.B.Robert@gmail.com>
+
+ * nsterm.m (ns_read_socket): Remove unused variable.
+ * frame.c (do_switch_frame): Under NS_IMPL_COCOA section, check
+ whether selected frame is viable before raising it (based on patch
+ by David Reitter), and improve commentary.
+ * nsfont.m (nsfont_make_fontset_for_font): Avoid a compiler warning.
+
+2009-05-15 Kenichi Handa <handa@m17n.org>
+
+ * font.c (Ffont_spec): Check arguments.
+
+2009-05-14 Chong Yidong <cyd@stupidchicken.com>
+
+ * xfaces.c (tty_supports_face_attributes_p): Recognize unspecified
+ weight when testing attributes (Bug#3282).
+
+2009-05-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * gtkutil.c (xg_frame_set_char_size): Set frame pixel width/height to
+ what we expect to get in the next ConfigureNotify event.
+
+ * xftfont.c (xftfont_open): Make sure that Xrender extension is added
+ before Xft one (Bug#1696).
+
+2009-05-07 David Reitter <david.reitter@gmail.com>
+
+ * nsfns.m (Fx_display_planes): Compute bitplanes using
+ NSBitsPerPixelFromDepth (Bug#3207).
+
+2009-05-10 Chong Yidong <cyd@stupidchicken.com>
+
+ * editfns.c (Ftranspose_regions): Doc fix (Bug#3248).
+
+2009-05-10 Ulrich Mueller <ulm@gentoo.org>
+
+ * s/gnu-linux.h: Make GCPROs and UNGCPRO no-ops also on SuperH.
+
+2009-05-07 David Reitter <david.reitter@gmail.com>
+
+ * nsterm.m (ns_dumpglyphs_stretch,ns_dumpglyphs_image):
+ respect mouse face background.
+
+2009-05-07 David Reitter <david.reitter@gmail.com>
+
+ * nsterm.m (note_mouse_movement,ns_frame_up_to_date):
+ mouse movement/highlight: bracket drawing operations
+ in ns_update_begin and ns_update_end.
+
+2009-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * nsfns.m (ns_get_screen): Rewrite.
+ Don't presume selected-frame is of type `ns'.
+
+ * font.c (font_update_drivers): Sanity fallback to avoid disabling
+ all drivers.
+
+ * nsterm.m (-windowDidResize:): Avoid inf-loop under GNUStep.
+
+2009-05-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * keyboard.h (add_user_signal): Fix typo in extern.
+
+ * lisp.h (add_user_signal): Remove extern.
+
+ * unexelf.c (unexec): Consider a section to precede the .bss section
+ if its addresses overlap that of .bss.
+ (unexec) [NS_IMPL_GNUSTEP]: Copy ObjC-related data from old file
+ instead of dumping process.
+
+2009-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * keyboard.c (syms_of_keyboard): Staticpro pending_funcalls.
+
+2009-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * Makefile.in (ctagsfiles1, ctagsfiles2): Include ObjC files in TAGS.
+
+2009-05-02 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * xterm.c (x_handle_net_wm_state): Move declaration of lval before
+ any statements.
+
+2009-05-02 Andreas Schwab <schwab@linux-m68k.org>
+
+ * process.c (read_process_output): Make sure the current buffer is
+ always restored.
+
+ * coding.c (record_conversion_result): Don't modify
+ Vlast_code_conversion_error for successful result.
+ (alloc_destination): Don't clobber conversion result. (Bug#1650)
+
+2009-05-01 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
+
+ * charset.c (load_charset): Reformat X==Y==Z to (X==Y)==Z.
+ (load_charset_map): Remove unnecessary code.
+
+2009-04-30 David Reitter <david.reitter@gmail.com>
+
+ * nsterm.m (convert_ns_to_X_keysym): Define function keys f16
+ through f24.
+
+2009-04-30 Chong Yidong <cyd@stupidchicken.com>
+
+ * xfaces.c (face_at_buffer_position): New arg base_face_id.
+
+ * xdisp.c (handle_face_prop): Pass base_face_id of iterator to
+ face_at_buffer_position.
+ (face_before_or_after_it_pos, get_next_display_element)
+ (note_mouse_highlight): Update face_at_buffer_position call.
+
+ * term.c (term_mouse_highlight):
+ * msdos.c (IT_note_mouse_highlight):
+ * fontset.c (Finternal_char_font):
+ * font.c (font_at, font_range): Update face_at_buffer_position call.
+
+ * dispextern.h (face_at_buffer_position): Update prototype.
+
+2009-04-30 Kenichi Handa <handa@m17n.org>
+
+ * fontset.c (fontset_find_font): Check if rfont_def is Qnil or not.
+
+2009-04-29 Andreas Schwab <schwab@linux-m68k.org>
+
+ * callproc.c (Fcall_process): Fix GC protection. Make sure
+ current buffer is always restored.
+
+2009-04-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * atimer.c (init_atimer): Also clear stopped_atimers.
+
+ * keyboard.c (init_keyboard) [POLL_FOR_INPUT]: Reset poll_timer.
+
+ * process.c (create_process): Clean up merger residues of
+ 2008-07-17 change.
+
+2009-04-29 Ulrich Mueller <ulm@gentoo.org>
+
+ * lread.c (Vread_circle): New variable.
+ (read1): Disable recursive read if Vread_circle is nil.
+
+2009-04-29 Kenichi Handa <handa@m17n.org>
+
+ * fontset.h (set_default_ascii_font): Delete extern.
+
+ * fontset.c (set_default_ascii_font): Delete this unused function.
+
+ * frame.c (x_set_font): When ARG is a font-object, check if the
+ font-object matches with the ASCII font-spec of the frame's
+ fontset. If not, create a new fontset for the frame. (Bug #3075)
+
+2009-04-28 Andreas Schwab <schwab@linux-m68k.org>
+
+ * fns.c (Flocale_info): Protect vector from GC during decoding.
+
+ * process.c (Fstart_process): Protect argv strings from GC during
+ encoding.
+
+2009-04-27 Andreas Schwab <schwab@linux-m68k.org>
+
+ * sysdep.c: Include <ctype.h>.
+
+2009-04-27 David Reitter <david.reitter@gmail.com>
+
+ * nsfont.m (nsfont_open): Remove unused variable shrink.
+ Remove commented-out code.
+
+2009-04-26 Johan Bockgård <bojohan@gnu.org>
+
+ * keyboard.c (syms_of_keyboard) <input-decode-map>: Doc fix.
+
+2009-04-25 Jason Rumney <jasonr@gnu.org>
+
+ * w32font.c (clear_cached_metrics): Remove, unused since 2008-08-02.
+
+2009-04-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * fringe.c (init_fringe_bitmap) [HAVE_X_WINDOWS && WORDS_BIG_ENDIAN]:
+ Swap bytes in short integer if fringe bitmap width > 8.
+
+2009-04-23 Kenichi Handa <handa@m17n.org>
+
+ * xfaces.c (Fx_list_fonts): If a font size is specified in
+ PATTERN, set it in returned scalable fonts.
+
+2009-04-22 Chong Yidong <cyd@stupidchicken.com>
+
+ * keyboard.c (Fset_input_meta_mode): Doc fix.
+
+ * dispnew.c (Fsend_string_to_terminal): Doc fix.
+
+ * data.c (Fterminal_local_value, Fset_terminal_local_value): Doc
+ fixes.
+
+ * coding.c (Fterminal_coding_system): Doc fix.
+
+ * xfns.c (Fx_display_grayscale_p, Fx_display_pixel_width)
+ (Fx_display_pixel_height, Fx_display_planes)
+ (Fx_display_color_cells, Fx_server_max_request_size)
+ (Fx_server_vendor, Fx_server_version, Fx_display_screens)
+ (Fx_display_mm_height, Fx_display_mm_width)
+ (Fx_display_backing_store, Fx_display_visual_class)
+ (Fx_display_save_under, Fx_close_connection, Fx_synchronize): Doc
+ fixes, replacing "terminal id" with "terminal object".
+ (check_x_display_info): Handle terminal objects instead of
+ terminal ids.
+
+ * term.c (Ftty_display_color_p, Ftty_display_color_cells)
+ (Ftty_type, Fcontrolling_tty_p, Ftty_no_underline, Fsuspend_tty)
+ (Fresume_tty, Vsuspend_tty_functions, Vresume_tty_functions): Doc
+ fixes, replacing "terminal id" with "terminal object".
+
+2009-04-21 Kenichi Handa <handa@m17n.org>
+
+ * font.c (font_load_for_lface): Cancel previous change (bug#2994).
+ (font_score): Check AVGWIDTH too.
+
+ * coding.c (decode_coding_utf_16): Reduce charbuf_end for the
+ worst case.
+ (decode_coding_emacs_mule, decode_coding_iso_2022)
+ (decode_coding_sjis, decode_coding_big5, decode_coding_charset):
+ Likewise.
+
+2009-04-19 Jason Rumney <jasonr@gnu.org>
+
+ The following changes fix Bug#3005 for wide glyphs on each platform,
+ without reintroducing Bug#1258 for stretch glyphs.
+
+ * xterm.c (x_draw_bar_cursor): Limit cursor width differently for
+ BAR_CURSOR and HBAR_CURSOR. Calculate width of HBAR_CURSOR using
+ get_phys_cursor_geometry.
+
+ * w32term.c (x_draw_bar_cursor): Limit cursor width differently
+ for BAR_CURSOR and HBAR_CURSOR. Calculate width of HBAR_CURSOR
+ using get_phys_cursor_geometry.
+
+ * nsterm.m (ns_draw_window_cursor): HBAR_CURSOR width already
+ correctly calculated.
+
+2009-04-19 Jan Djärv <jan.h.d@swipnet.se>
+
+ * gtkutil.c (xg_tool_bar_menu_proxy, update_frame_tool_bar): Use
+ G_CALLBACK instead of GTK_SIGNAL_FUNC which is deprecated.
+ (xg_initialize): Use g_type_class_ref instead of gtk_type_class which
+ is deprecated.
+
+2009-04-18 Andreas Schwab <schwab@linux-m68k.org>
+
+ * font.c (font_put_frame_data): Use xfree instead of free.
+
+2009-04-17 Juanma Barranquero <lekktu@gmail.com>
+
+ * w32font.c (Qja, Qko): Remove declarations.
+ (syms_of_w32font): Don't DEFSYM them.
+
+2009-04-17 Chong Yidong <cyd@stupidchicken.com>
+
+ * font.c (Qja, Qko): Move definitions here from ftfont.c.
+
+ * font.h (Qja, Qko): Extern them.
+
+ * ftfont.c (Qja, Qko): Remove declarations.
+
+ * xfont.c (Qja, Qko): Remove declarations.
+
+2009-04-17 Kenichi Handa <handa@m17n.org>
+
+ * editfns.c (Ftranslate_region_internal): Use Fconcat to make a
+ string from a vector to handle Latin-1 characters correctly.
+
+ * ftfont.c (ftfont_pattern_entity): Return a newly allocated
+ entity even if the cache hits.
+
+2009-04-16 Andreas Schwab <schwab@linux-m68k.org>
+
+ * search.c (boyer_moore): Use zero as marker value for a possible
+ match instead of depending on overflow behavior. (Bug#2844)
+
+ * search.c: Use EMACS_INT for buffer positions. Add prototypes.
+ * lisp.h: Adjust prototypes.
+
+2009-04-16 Chong Yidong <cyd@stupidchicken.com>
+
+ * keyboard.c (adjust_point_for_property): Disable 2009-02-12
+ change (Bug#3003).
+
+2009-04-16 Kenichi Handa <handa@m17n.org>
+
+ * xfont.c (xfont_has_char): Special handling of `ja' and `ko'
+ adstyle.
+
+ * xftfont.c (xftfont_has_char): Special handling of `ja' and `ko'
+ adstyle.
+
+ * ftfont.c (Qja, Qko): Don't make them static.
+ (enum ftfont_cache_for): New enum.
+ (fc_charset_table): Undo the previous change.
+ (ftfont_get_latin1_charset): Delete it.
+ (ftfont_pattern_entity): Check cache by ftfont_lookup_cache. Set
+ FONT_SIZE_INDEX of the entity to 0 for a scalable font. For a
+ non-scarable font, try to get AVERAGE_WIDTH.
+ (ftfont_lookup_cache): Argument FOR-FACE is changed to CACHE_FOR.
+ Change ft_face_cache from a list of a hash-table. Don't check
+ `ja' and `ko' adstyle here.
+ (ftfont_get_fc_charset): Call ftfont_lookup_cache with
+ FTFONT_CACHE_FOR_CHARET.
+ (ftfont_get_charset): Undo the previous change.
+ (ftfont_open): Call ftfont_lookup_cache with
+ FTFONT_CACHE_FOR_FACE.
+ (ftfont_close): Likewise.
+ (ftfont_has_char): Special handling of `ja' and `ko' adstyle.
+
+ * font.c (font_sort_entites): Change the meaning of the arg
+ BEST-ONLY. Don't optimize for VEC of lenght 1.
+ (font_select_entity): Just return the value of font_sort_entites.
+
+ * xfaces.c (merge_face_vectors): Reflect font properties in
+ to[LFACE_FONT_INDEX] to the other face attributes. Don't call
+ font_clear_prop if a face attribute doesn't change.
+
+ * charset.h (charset_ksc5601): Extern it.
+
+ * charset.c (charset_ksc5601): New variable.
+ (Fdefine_charset_internal): Set charset_ksc5601.
+ (init_charset_once): Initialize charset_ksc5601 to -1.
+
+2009-04-15 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * fileio.c (history_delete_duplicates): Remove unused declaration.
+
+ * callint.c (history_delete_duplicates): New declaration.
+ (Fcall_interactively): Remove command history duplicates when
+ history_delete_duplicates is true.
+
2009-04-14 Eli Zaretskii <eliz@gnu.org>
* buffer.c (syms_of_buffer) <line-spacing>: Doc fix.
(ns_get_color): Use unsigned long long for scanned hex string value.
(ns_term_shutdown): Abort on non SIGTERM signals.
(EmacsPrefsController-setDefaultFont:,-setColors:): Raise the frame.
- (EmacsPrefsController-setPanelFromDefaultValues) New function.
+ (EmacsPrefsController-setPanelFromDefaultValues): New function.
(EmacsPrefsController-resetToDefaults:): Use it. (Bug#1801)
(ns_font_to_xlfd, ns_fontname_to_xlfd): Remove, unused.
(ns_defined_color): Fix settings of the XColor variable fields:
* image.c (x_clear_image_1): Under NS, call ns_free_indexed_color with
correct arguments.
- * menu.c (find_and_return_menu_selection) Add cast.
+ * menu.c (find_and_return_menu_selection): Add cast.
2008-10-03 Glenn Morris <rgm@gnu.org>
New functions.
* w32.c (_sys_read_ahead, sys_read, sys_write): Modify to handle
serial ports.
- (serial_open, serial_configure) New functions.
+ (serial_open, serial_configure): New functions.
* w32.h: Add FILE_SERIAL.
(struct _child_process): Add ovl_read, ovl_write.