(pbm_load): Allow color values up to 65535.
[bpt/emacs.git] / src / ChangeLog
index ceea594..b0a9402 100644 (file)
@@ -1,3 +1,171 @@
+2008-03-28  Jason Rumney  <jasonr@gnu.org>
+
+       * image.c (pbm_load): Allow color values up to 65535.
+       Throw an error if max_color_idx is outside the supported range.
+       Report an error when image size is invalid.
+       Read two bytes at a time when raw images have max_color_idx above 255.
+
+2008-03-26  Alexandre Oliva  <aoliva@redhat.com>  (tiny change)
+
+       * regex.c (EXTEND_BUFFER): Change order of pointer addition
+       operations, to avoid having the difference between pointers
+       overflow.
+
+2008-03-26  Eli Zaretskii  <eliz@gnu.org>
+
+       * w32.c (readdir): If FindFirstFile/FindNextFile return in
+       cFileName a file name that includes `?' characters, use the 8+3
+       alias in cAlternateFileName instead.
+
+2008-03-26  Chong Yidong  <cyd@stupidchicken.com>
+
+       * Version 22.2 released.
+
+2008-03-10  Kenichi Handa  <handa@ni.aist.go.jp>
+
+       * fileio.c (Finsert_file_contents): Don't make CCL program to
+       append "CCL: Quitted" when the decoding is quitted, but just
+       signal `quit'.
+
+       * ccl.c (ccl_driver): If ccl->quit_silently is nonzero, don't
+       append "CCL: Quitted" when the CCL program is quitted.
+       (setup_ccl_program): Initialize ccl->quit_silently to zero.
+
+       * ccl.h (struct ccl_program): New member quit_silently.
+
+2008-03-08  Andreas Schwab  <schwab@suse.de>
+
+       * process.h (struct Lisp_Process): Declare bit field as unsigned.
+
+2008-03-07  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * fileio.c (Fsubstitute_in_file_name): Fix up computation of maximum
+       size of resulting string.
+
+2008-03-05  Jason Rumney  <jasonr@gnu.org>
+
+       * dispnew.c (adjust_glyph_matrix): Initialize window_height.
+
+2008-03-03  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * xdisp.c (handle_single_display_spec): Undo 2007-10-16 changes.
+       Don't pretend as if characters with display property haven't been
+       consumed for string-replacing-string case.
+
+2008-02-29  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xdisp.c (get_overlay_strings_1): Add missing argument type.
+
+2008-02-27  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * m/intel386.h [MAC_OSX || DARWIN]: Define NO_ARG_ARRAY if _LP64.
+
+2008-02-27  Chong Yidong  <cyd@stupidchicken.com>
+
+       * process.c (wait_reading_process_output): Check for window
+       changes caused by timers.
+       Suggested by Johan Bockg\e,Ae\e(Brd.
+
+2008-02-26  Chong Yidong  <cyd@stupidchicken.com>
+
+       * editfns.c (Fformat): Doc fix.
+
+2008-02-25  Chong Yidong  <cyd@stupidchicken.com>
+
+       * keyboard.c (command_loop_1): Revert 2006-10-09 change.
+
+2008-02-24  Jason Rumney  <jasonr@gnu.org>
+
+       * w32fns.c (enum_font_cb2): Don't use raster fonts for Unicode.
+
+2008-02-24  Ulrich Neumerkel  <ulrich@complang.tuwien.ac.at>  (tiny change)
+
+       * xterm.c (x_set_offset): Don't change the gravity if
+       CHANGE_GRAVITY is -1.
+
+2008-02-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * intervals.h (INT_LISPLIKE): Remove.  It may misfire.
+       (NULL_INTERVAL_P, SET_INTERVAL_PARENT): Don't use it.
+
+2008-02-18  Jason Rumney  <jasonr@gnu.org>
+
+       * w32fns.c (Fw32_shell_execute): Encode parameters.
+
+2008-02-15  Jason Rumney  <jasonr@gnu.org>
+
+       * w32term.c (x_draw_glyph_string_background): Clear the background
+       manually when cleartype is in use.
+       (x_draw_glyph_string_foreground): Draw text transparently when
+       cleartype is in use.
+
+2008-02-09  Eli Zaretskii  <eliz@gnu.org>
+
+       * fileio.c (syms_of_fileio) <insert-default-directory>: Doc fix.
+
+2008-02-05  Jason Rumney  <jasonr@gnu.org>
+
+       * w32term.c (w32_read_socket) <WM_CHAR>: Use locale-coding-system
+       instead of using mule-unicode-* charsets directly.
+
+2008-02-05  Juanma Barranquero  <lekktu@gmail.com>
+
+       * unexec.c (make_hdr):
+       * unexhp9k800.c (read_header): Replace `legal' with `valid'.
+
+2008-02-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.c [MAC_OSX] (fn_keycode_to_keycode_table): Add more entries
+       that ignore kEventKeyModifierFnMask.
+       (XTread_socket) [MAC_OSX]: Move code for ignoring
+       kEventKeyModifierFnMask for some keys ...
+       (mac_mapped_modifiers) [MAC_OSX]: ... to here.  Add argument KEY_CODE.
+       All callers changed.
+       (mac_to_emacs_modifiers): New argument UNMAPPED_MODS.
+       All callers changed.
+       (mac_quit_char_key_p, XTread_socket): Get Emacs modifiers from
+       mapped modifiers together with original ones.
+
+2008-02-01  Kenichi Handa  <handa@ni.aist.go.jp>
+
+       * ccl.c (CCL_WRITE_CHAR): Fix overflow checking.
+       (CCL_WRITE_MULTIBYTE_CHAR): Likewise.
+
+2008-01-31  Kenichi Handa  <handa@ni.aist.go.jp>
+
+       * keyboard.c (make_ctrl_char): If C is a multibyte character, just
+       return it ORed with ctrl_modifier.
+
+2008-01-26  Thien-Thi Nguyen  <ttn@gnuvola.org>
+
+       * fns.c (Fclrhash): Return TABLE.
+
+2008-01-21  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.c (x_scroll_bar_create): Initialize bar->redraw_needed_p.
+       (XTset_vertical_scroll_bar): Redraw scroll bar if bar->redraw_needed_p
+       is set even without positional changes.
+       (x_scroll_bar_clear): Set bar->redraw_needed_p.
+
+       * macterm.h (struct scroll_bar): New member `redraw_needed_p'.
+
+2008-01-19  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (detect_coding_iso2022): New arg latin_extra_code_state.
+       Allow Latin extra codes only when *latin_extra_code_state is nonzero.
+       (detect_coding_mask): If there is a NULL byte, detect the encoding
+       as UTF-16 or binary.  If Latin extra codes exist, detect the encoding
+       as ISO-2022 only when no other proper encoding is found.
+
+2008-01-17  Jason Rumney  <jasonr@gnu.org>
+
+       * xterm.c (handle_one_xevent): Revert to counting chars not bytes.
+
+       * w32term.c (w32_read_socket) <WM_CHAR>: Decode characters outside
+       the unicode range available in MULE by locale-coding-system.
+       Improve dbcs lead byte detection.  Set event timestamp and modifiers
+       earlier.
+
 2008-01-17  Glenn Morris  <rgm@gnu.org>
 
        * m/ibms390x.h (START_FILES, LIB_STANDARD): Adjust value according
@@ -7,7 +175,7 @@
 
        * mac.c (mac_emacs_pid) [MAC_OSX]: New variable.
        [MAC_OSX] (init_mac_osx_environment): Initialize it.
-       [MAC_OSX] (mac_try_close_socket) [SELECT_USE_CFSOCKET]: Return 0
+       [MAC_OSX] (mac_try_close_socket) [SELECT_USE_CFSOCKET]: Return 0
        when used on child processes.
 
 2008-01-10  Chong Yidong  <cyd@stupidchicken.com>
 2007-11-22  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
 
        * gtkutil.c (update_frame_tool_bar): Don't call x-gtk-map-stock if
-        file for image is nil.
+       file for image is nil.
 
 2007-11-19  Jason Rumney  <jasonr@gnu.org>
 
 
        * macterm.c (Qmac_ready_for_drag_n_drop, Qapplication, Qabout)
        (Qpreferences): Remove variables.
-       (syms_of_macterm) : Don't initialize them.
+       (syms_of_macterm): Don't initialize them.
        (Qhicommand) [USE_CARBON_EVENTS]: New variable.
        (syms_of_macterm) [USE_CARBON_EVENTS]: Initialize it.
        (init_required_apple_events, do_ae_open_application)