Fix the ccl encoder for the case that the output buffer is fullfilled.
[bpt/emacs.git] / src / ChangeLog
index 2a32635..2f237de 100644 (file)
@@ -1,3 +1,261 @@
+2010-03-16  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (decode_coding_ccl): Fix previous change for the
+       multibyte case.
+       (encode_coding_ccl): Don't setup ccl program here.  Fix for the
+       case that the output buffer is fullfilled.
+       (encode_coding): Setup ccl program here.
+
+2010-03-15  Andreas Politz  <politza@fh-trier.de>  (tiny change)
+
+       * editfns.c (Fformat): Account for string precision when computing
+       field width (Bug#5710).
+
+2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Make it possible to C-g in a tight bytecode loop again (bug#5680).
+       * lisp.h (ELSE_PENDING_SIGNALS): New macro.
+       (QUIT): Use it to consolidate code and remove redundancy.
+       * bytecode.c (BYTE_CODE_QUIT): Use it as well.
+
+       * regex.c (regex_compile): Setup gl_state as well.
+
+       * syntax.c (skip_chars): Setup gl_state (bug#3823).
+       (in_classes): Use CONSP before XCAR/XCDR.
+
+2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
+
+       * keymap.c (Fwhere_is_internal): Use Fequal to compare
+       definitions, so that keyboard macros are correctly handled
+       (Bug#5481).
+
+2010-03-02  Eli Zaretskii  <eliz@gnu.org>
+
+       * coding.c (decode_coding_emacs_mule): Fixup pointers to buffer
+       text that could be relocated inside the call to emacs_mule_char.
+       (emacs_mule_char): Use CODING_DECODE_CHAR instead of DECODE_CHAR.
+       (CODING_DECODE_CHAR): Add a comment describing its purpose.
+
+2010-03-02  Kenichi Handa  <handa@m17n.org>
+
+       * character.c (parse_str_as_multibyte): Fix handling of the
+       multibyte form of raw-bytes.
+       (str_as_multibyte): Likewise.
+
+       * buffer.c (Fset_buffer_multibyte): Fix handling of the multibyte
+       form of raw-bytes.
+
+2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
+
+       * charset.c (load_charset_map_from_file)
+       (load_charset_map_from_vector): Zero out allocated
+       charset_map_entries before using them.
+
+2010-02-27  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * w32uniscribe.c (uniscribe_check_otf): Fix length check.
+
+2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
+
+       * font.c (font_parse_fcname): Recognize "Book", "Condensed",
+       "Medium", and "Semi-Condensed" keywords in GTK names (Bug#5646).
+
+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
        * 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.
+       this.  Bug #3643.
 
 2010-01-15  Kenichi Handa  <handa@m17n.org>
 
 
 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):
        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.