Fix Myanmar OTF support
[bpt/emacs.git] / src / ChangeLog
index f52cf8f..f60b400 100644 (file)
@@ -1,3 +1,329 @@
+2010-02-26  Kenichi Handa  <handa@m17n.org>
+
+       * ftfont.c (ftfont_get_open_type_spec): Fix parsing of otf_spec.
+
+       * xdisp.c (reseat_to_string): Fix previous change.
+
+2010-02-26  David Reitter  <david.reitter@gmail.com>
+
+       * nsfont.m (nsfont_draw): ns_antialias_text should be a
+       Lisp_Object (Bug#4736).
+
+2010-02-25  Kenichi Handa  <handa@m17n.org>
+
+       * xdisp.c (reseat_to_string): Fix previous change (bug#5609).
+
+2010-02-24  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xterm.c (XTflash): Move declarations before statements.
+
+       * gtkutil.c (xg_get_gdk_display): Remove (unused).
+       (xg_get_pixbuf_from_pix_and_mask, xg_create_frame_widgets)
+       (xg_toggle_notify_cb, xg_set_toolkit_scroll_bar_thumb)
+       (xg_create_tool_bar): Remove unused variables.
+       (x_wm_set_size_hint): Move declarations before statements.
+       (xg_create_frame_widgets): Remove variable grav,
+
+2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
+
+       * m/arm.h: Define the LIB_GCC flag to be -lgcc_s (Bug#5518).
+
+2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * term.c (fatal): Add a final \n if needed (bug#5596).
+
+2010-02-18  Chong Yidong  <cyd@stupidchicken.com>
+
+       * nsterm.m (ns_ring_bell): Revert last change (Bug#5569).
+
+2010-02-18  Glenn Morris  <rgm@gnu.org>
+
+       * callint.c (Finteractive): Doc fix.
+
+2010-02-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
+
+       * coding.c (record_conversion_result):
+       Handle CODING_RESULT_INSUFFICIENT_DST.
+       (decode_coding_object): Record CODING_RESULT_INSUFFICIENT_MEM on
+       memory allocation error.
+
+2010-02-17  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (decode_coding_ccl): Don't setup ccl program here.
+       Fix for the case that the output buffer is fullfilled.
+       (decode_coding): Setup ccl program here.  Keep looping when the
+       decoder stopped because the output buffer is
+       fullfilled (bug#5534).
+
+       * ccl.c (ccl_driver): Never reset ic to CCL_HEADER_MAIN.
+
+2010-02-13  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xterm.c (x_clear_frame_area): Call gtk_widget_queue_draw if USE_GTK,
+       bug #5571.
+       (XTflash): Use Gdk-routines if USE_GTK so scroll bars don't get
+       overdrawn.
+
+2010-02-10  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xsmfns.c (x_session_initialize): Move initialization of ice_fd and
+       doing_interact here.
+       (ice_connection_closed): New function.
+       (x_session_check_input, smc_die_CB, ice_io_error_handler)
+       (ice_conn_watch_CB, x_session_close): Call ice_connection_closed.
+       (x_session_check_input): Call IceCloseConnection if IceProcessMessages
+       returns I/O error.
+       (ice_conn_watch_CB): Call add_keyboard_wait_descriptor on ice_fd,
+       bug #5512.
+
+2010-02-08  Francis Devereux  <francis@devrx.org>  (tiny change)
+
+       * nsfont.m (nsfont_open): The system's value for the font descent
+       is negative, so round it down to avoid clipping.
+
+2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
+
+       * charset.c (load_charset_map_from_file)
+       (load_charset_map_from_vector): Fix last change to use SAFE_ALLOCA
+       instead of xmalloc (Bug#5526).  Suggested by Vivek Dasmohapatra.
+
+2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
+
+       * charset.c (load_charset_map_from_file): Allocate large
+       charset_map_entries structure on the heap rather than the stack.
+       (Bug#5526).
+
+2010-01-31  Kenichi Handa  <handa@m17n.org>
+
+       * font.c (font_parse_xlfd): If FONT is a font-entity and pixel
+       size in NAME is invalid, return -1 (Bug#5396).
+
+2010-01-31  Chong Yidong  <cyd@stupidchicken.com>
+
+       * nsterm.m (ns_defined_color): Block input.  Suggested by Mike
+       <deactivated@gmail.com> (Bug#3605).
+
+2010-01-31  David De La Harpe Golden  <david@harpegolden.net>
+
+       * fileio.c (Frename_file): Correctly rename symlinks to
+       directories (Bug#5496).
+
+2010-01-31  Filipe Cabecinhas  <filcab@gmail.com>  (tiny change)
+
+       * nsterm.m (ns_ring_bell): Handle visible bell like X.
+
+2010-01-30  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * character.h (CHAR_PRINTABLE_P): Reparenthesize to avoid warning.
+
+2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
+
+       * frame.c (DEFAULT_ROWS): Change default to 35.
+
+       * xfns.c (x_default_font_parameter): Change default XFT font to
+       monospace-10 (Bug#3643).
+
+2010-01-29  Eli Zaretskii  <eliz@gnu.org>
+
+       * w32inevt.c (key_event): Remove unnecessary comparison of
+       event->uChar.AsciiChar with 128.
+
+2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
+
+       * fileio.c (Frename_file): Fix last change (Bug#5487).
+
+       * m/mips.h: Remove DATA_START.  Suggested by Dan Nicolaescu.
+
+       * m/alpha.h: Don't define DATA_START on NetBSD (Bug#4629).
+
+2010-01-28  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xfns.c (Fx_create_frame): Remove window size matching code from
+       2010-01-15.
+       (x_get_current_desktop, x_get_desktop_workarea): Remove
+
+2010-01-27  Jason Rumney  <jasonr@gnu.org>
+
+       * w32inevt.c (w32_kbd_patch_key): Save the unicode character.
+       (key_event): Use unicode for characters 128 and higher (Bug#4567).
+
+2010-01-27  Kenichi Handa  <handa@m17n.org>
+
+       * regex.c (analyse_first): Fix setting of fastmap for unibyte
+       pattern string (Bug#4209).
+
+2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
+
+       * fileio.c (Frename_file): Call copy-directory and
+       delete-directory for directories, in order to handle cross-device
+       renaming (Bug#3353).
+
+2010-01-25  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xfns.c (Fx_create_frame): If frame height is too big, try
+       sizes 24 and 10.  Bug #3643.
+
+2010-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Try and fix bug#788, hopefully for real this time.
+       * keymap.c (shadow_lookup): Add `remap' arg.
+       (describe_map, describe_vector): Update calls to shadow_lookup.
+       (Fwhere_is_internal): Fix up handling of `remapped_sequences' and
+       `remapped' so this flag is applicable to `sequence'.  Be careful to
+       perform remapping during shadow_lookup check of remapped_sequences.
+
+2010-01-24  Eric Bélanger  <snowmaniscool@gmail.com>  (tiny change)
+
+       * image.c (png_load): Use png_sig_cmp instead of the obsolete
+       png_check_sig, which has been removed in libpng 1.4.
+
+2010-01-23  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
+
+       * filelock.c: Include utmp.h only when HAVE_UTMP_H (FreeBSD 9.x
+       lacks this header file).
+
+2010-01-23  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * xdisp.c (draw_glyphs): Update `start' for left_overwritten case
+       as in Emacs 22.
+
+2010-01-22  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * lisp.h (make_pure_string): String pointer arg now points to const.
+
+       * alloc.c (find_string_data_in_pure, make_pure_string): String pointer
+       args now point to const.
+
+2010-01-22  Eli Zaretskii  <eliz@gnu.org>
+
+       * lread.c (Fload): Don't treat files without .elc extension as
+       byte-compiled if they are ``magic'', i.e. `openp' returned -2 for
+       them.  (bug#5303)
+
+2010-01-20  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (consume_chars): If ! multibyte and the encoder is ccl,
+       treat the source as actual byte sequence.
+
+2010-01-19  Alan Mackenzie  <acm@muc.de>
+
+       Fix spurious before-change-functions invocation from (insert ?\n).
+       * textprop.c (set_text_properties): rename parameter
+       `signal_after_change_p' to `coherent_change_p', and make the
+       invocation of `modify_region' conditional on it.
+
+2010-01-19  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xsettings.c (apply_xft_settings): Save settings in Vxft_settings
+       for debug purpose.
+       (syms_of_xsettings): Declare xft-settings.
+
+2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
+
+       * editfns.c (Fcurrent_time_string): Doc fix (Bug#5408).
+
+2010-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * xterm.c (event_handler_gdk): Block input (Bug#5037).
+
+2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
+
+       * emacs.c (standard_args): Adjust arg priorities to reflect how
+       they are processed in startup.el.
+
+2010-01-16  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * Makefile.in (lisp, shortlisp): Update.
+
+2010-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * xterm.c (x_term_init): Instead of inhibiting GC while running Lisp
+       code, link the new kboard into all_kboard before running Lisp code,
+       and protect the new terminal with GCPRO (Bug#5365).
+       (x_term_init): Remove unused var `atom'.
+       (x_delete_display, x_delete_terminal): Remove unused var `i'.
+
+2010-01-15  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xfns.c (x_get_current_desktop, x_get_desktop_workarea): New functions.
+       (Fx_create_frame): Call x_get_current_desktop and x_get_desktop_workarea
+       to find out usable size of the desktop.  Don't make frames larger than
+       this.  Bug #3643.
+
+2010-01-15  Kenichi Handa  <handa@m17n.org>
+
+       * xdisp.c (CHAR_COMPOSED_P): New arg END_CHARPOS.  Callers changed.
+
+2010-01-15  Chong Yidong  <cyd@stupidchicken.com>
+
+       * nsterm.m (Qnone): Define.
+
+       * nsfns.m (Qnone): Move definition to nsterm.m.
+
+2010-01-14  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (detect_coding_iso_2022): Fix handling of euc-xx coding
+       systems.
+
+2010-01-14  Kenichi Handa  <handa@m17n.org>
+
+       Make auto-composition work on all buffers even if they are
+       fundamental mode.
+
+       * composite.c (Vauto_composition_mode): New variable.
+       (composition_compute_stop_pos): Check Vauto_composition_mode
+       instead of Vauto_composition_function.
+       (composition_adjust_point, Ffind_composition_internal): Likewise.
+       (syms_of_composite): Declare Lisp variable
+       "auto-composition-mode" here.
+
+2010-01-13  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xterm.c (x_term_init): Avoid garbage-collecting the new terminal
+       during call to vendor-specific-keysyms (Bug#5365).
+
+2010-01-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * keyboard.c (input_available_signal) [SYNC_INPUT]:
+       Call SIGNAL_THREAD_CHECK (Bug#5333).
+
+       * atimer.c (alarm_signal_handler) [!SYNC_INPUT]:
+       Call SIGNAL_THREAD_CHECK.
+
+2010-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Try to fix bug#5314.  This is probably not the final word, tho.
+       * buffer.c (Fset_buffer_modified_p): Try and be careful not to modify
+       recent-auto-save-p as a side-effect.
+       * buffer.h (BUF_AUTOSAVE_MODIFF): New macro.
+       * buffer.c (Fkill_buffer, reset_buffer):
+       * editfns.c (Fsubst_char_in_region):
+       * fileio.c (Finsert_file_contents, Fdo_auto_save)
+       (Fset_buffer_auto_saved, Frecent_auto_save_p): Use it.
+
+2010-01-13  Kenichi Handa  <handa@m17n.org>
+
+       Display buffer name, etc. in mode line by composing correctly.
+
+       * xdisp.c (reseat_to_string): Call composition_compute_stop_pos if
+       STRING is not nil.
+       (display_mode_element): Adjust for the change of
+       decode_mode_spec and display_line.
+       (decode_mode_spec): Change arg MULTIBYTE to STRING.
+       (display_string): Handle the case that STRING is non-null and
+       LISP_STRING is not nil.
+
+       * xterm.c (x_draw_composite_glyph_string_foreground):
+       Pay attention to s->face->overstrike.
+
+       * composite.c (composition_reseat_it): Don't check PT if STRING is
+       non nil.
+
+2010-01-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * keyboard.c (read_char): Don't apply previous change when current
+       buffer is unchanged by command execution.
+
 2010-01-12  Jan Djärv  <jan.h.d@swipnet.se>
 
        * keyboard.c (read_char): Return after executing from special map.
 
 2010-01-08  Jan Djärv  <jan.h.d@swipnet.se>
 
-       * dispnew.c (change_frame_size_1): newwidth == FRAME_COLS  (f) must
+       * dispnew.c (change_frame_size_1): newwidth == FRAME_COLS (f) must
        also be true before we can return early (bug #5339).
 
 2010-01-06  David Reitter  <david.reitter@gmail.com>
 
        * xterm.c (x_new_font): Move code for setting rows/cols before
        resizing ...
-       (x_set_window_size): ... to here. bug #2568.
+       (x_set_window_size): ... to here.  Bug #2568.
 
        * gtkutil.c (xg_clear_under_internal_border): New function.
-       (xg_frame_resized, xg_frame_set_char_size): Call
-       xg_clear_under_internal_border.
+       (xg_frame_resized, xg_frame_set_char_size):
+       Call xg_clear_under_internal_border.
        (xg_update_scrollbar_pos): Clear under old scroll bar position.
 
 2010-01-05  Chong Yidong  <cyd@stupidchicken.com>
        and atimer.h.
        (minibuf.o): Depend on systime.h and coding.h.  Don't depend on
        dispextern.h explicitly.
-       (print.o): Depend on termhooks.h, coding.h, and ccl.h.  Don't
-       depend explicitly on dispextern.h and composite.h.
+       (print.o): Depend on termhooks.h, coding.h, and ccl.h.
+       Don't depend explicitly on dispextern.h and composite.h.
        (process.o): Depend on character.h, xgselect.h, and sysselect.h.
        (regex.o): Don't depend on charset.h.
        (scroll.o): Depend on systime.h, coding.h, composite.h, and window.h.
 
 2009-12-04  Eli Zaretskii  <eliz@gnu.org>
 
-       * dispextern.h (enum prop_idx) <AUTO_COMPOSED_PROP_IDX>: Delete
-       unused enumeration value.
+       * dispextern.h (enum prop_idx) <AUTO_COMPOSED_PROP_IDX>:
+       Delete unused enumeration value.
 
 2009-12-03  Eli Zaretskii  <eliz@gnu.org>
 
 
 2009-11-21  Andreas Schwab  <schwab@linux-m68k.org>
 
-       * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove
-       ignored second argument.  All callers changed.
+       * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH):
+       Remove ignored second argument.  All callers changed.
        * regex.c (STRING_CHAR, STRING_CHAR_AND_LENGTH, RE_STRING_CHAR)
        (RE_STRING_CHAR_AND_LENGTH): Likewise.
        * xdisp.c (string_char_and_length): Likewise.
        Fix printf format.
        (ns_query_color): Use CGFloat where appropriate.
        (EmacsView<NSTextInput>, EmacsScroller): Fix method signatures.
-       (EmacsScroller-mouseDown:) Use long format in printf, and cast
+       (EmacsScroller-mouseDown:): Use long format in printf, and cast
        argument.
 
        * config.in (NS_HAVE_NSINTEGER): Drop.
 
 2009-02-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 
-       * keyboard.c (adjust_point_for_property): Allow stopping betwen two
+       * keyboard.c (adjust_point_for_property): Allow stopping between two
        invisible areas.
 
 2009-02-12  Jason Rumney  <jasonr@gnu.org>
        (syms_of_xterm): Don't declare it any more.
        (x_draw_glyph_string): Adjust to the new name.
 
-2008-06-10  David De La Harpe Golden  <david@harpegolden.net>  (tiny change)
+2008-06-10  David De La Harpe Golden  <david@harpegolden.net>
 
        * xterm.c (x_underline_minimum_display_offset): New var.
        (x_draw_glyph_string): Use it.