(Fdefine_charset_internal): Change the way of
[bpt/emacs.git] / src / ChangeLog
index 9d496f4..907f2c6 100644 (file)
@@ -1,5 +1,206 @@
+2008-03-27  Kenichi Handa  <handa@ni.aist.go.jp>
+
+       * charset.c (Fdefine_charset_internal): Change the way of
+       registering charsets in Vcharset_order_list.
+       (syms_of_charset): Make the charset `eight-bit' supplementary.
+
+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  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * indent.c (check_display_width): New fun.
+       (scan_for_column): Use it.
+
+       * data.c (syms_of_data): Mark most-positive-fixnum and
+       most-negative-fixnum as constants.
+
+       * xdisp.c (redisplay_internal): Reset selected_frame earlier.
+
+       * indent.c (scan_for_column): Extract from current_column_1.
+       Merge with the same code from Fmove_to_column.
+       (current_column_1, Fmove_to_column): Use it.
+
+2008-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * keymap.c (map_keymap_internal): New fun.
+       (map_keymap): Use it.
+       (Fmap_keymap_internal): New fun.
+       (Fmap_keymap): Remove left-out test from before make_save_value.
+
+       * keymap.c (Fmap_keymap): Use `map-keymap-sorted.
+
+       * frame.c (Fmodify_frame_parameters, x_set_frame_parameters):
+       Use XCAR/XCDR.
+
+       * process.h (struct Lisp_Process): Remove filter_multibyte.
+       * process.c (QCfilter_multibyte): Remove.
+       (setup_process_coding_systems): Don't use filter_multibyte.
+       (Fstart_process, Fmake_network_process): Don't set filter_multibyte.
+       (read_process_output): Don't adjust multibyteness to filter_multibyte.
+       (Fset_process_filter_multibyte): Change the coding-system to
+       approximate the previous behavior.
+       (Fprocess_filter_multibyte_p): Get the multibyteness straight from the
+       coding-system.
+
+       * coding.c (decode_coding_object): When not decoding into a buffer,
+       obey the coding system's preference of (uni|multi)byte.
+
+2008-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * casefiddle.c (casify_object): Avoid pathological N^2 worst case if
+       every char is changed and has a different byte-length.
+       (Fupcase_word, Fdowncase_word, Fcapitalize_word, operate_on_word):
+       Fix int -> EMACS_INT.
+
+2008-03-23  David Hansen  <david.hansen@gmx.net>  (tiny change)
+
+       * dbusbind.c (xd_read_message): Remove extra copying of message
+       strings.  Check for NULL `interface' or `member'.
+
+2008-03-22  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-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * buffer.c (enlarge_buffer_text): Fix int -> EMACS_INT.
+
+2008-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * intervals.c (temp_set_point, temp_set_point_both): Use EMACS_INT.
+       (set_point, set_point_both): Use EMACS_INT.  Remove `buffer' arg,
+       work on current_buffer only instead (that was already the case
+       for some of the code anyway).
+       * buffer.h (set_point, set_point_both): Remove buffer arg, use long int.
+       (temp_set_point, temp_set_point_both): Use EMACS_INT.
+       (SET_PT, SET_PT_BOTH): Adjust.
+       * intervals.h (set_point, temp_set_point, set_point_both)
+       (temp_set_point_both): Remove redundant declarations.
+
+2008-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * fileio.c (Finsert_file_contents):
+       * lread.c (Feval_buffer): Use BUF_TEMP_SET_PT.
+       * buffer.h (BUF_SET_PT): Remove.  set_point_both doesn't work right
+       when buffer != current_buffer anyway.
+
+2008-03-20  Andreas Schwab  <schwab@suse.de>
+
+       * callint.c (Fcall_interactively) [case 'B']: Use other-buffer
+       as default.
+
+2008-03-19  Jason Rumney  <jasonr@gnu.org>
+
+       * w32fns.c (hourglass_timer, hourglass_hwnd): New variables.
+       (syms_of_w32fns): Initialize them.
+       (HOURGLASS_ID): New constant.
+       (x_window_to_frame): Don't check hourglass_window.
+       (w32_wnd_proc) <WM_TIMER>: Handle hourglass_timer.
+       (w32_wnd_proc) <WM_EXITMENULOOP>: Set pending hourglass cursor.
+       (w32_wnd_proc) <WM_SETCURSOR>: Set the hourglass or current cursor.
+       (w32_wnd_proc) <WM_EMACS_SETCURSOR>: Set frame's current_cursor.
+       Only change the cursor if hourglass is not active.
+       (Fx_create_frame): Initialize frame's current_cursor.
+       (hourglass_atimer): Remove.
+       (hourglass_started): New function.
+       (start_hourglass, cancel_hourglass, hide_hourglass): Adapt to w32.
+       (show_hourglass): Adapt to w32, changing argument to frame.
+
+       * w32term.h (struct w32_output): Remove hourglass_window.
+       Add current_cursor.
+
+       * eval.c (call_debugger, Fsignal):
+       * keyboard.c (recursive_edit_1, cmd_error, Ftop_level)
+       (command_loop_1, Fread_key_sequence, Fread_key_sequence_vector)
+       (Fexecute_extended_command, cancel_hourglass_unwind):
+       * minibuf.c (read_minibuf):
+       * fns.c (Fy_or_n_p): Enable hourglass when HAVE_WINDOW_SYSTEM.
+
+2008-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * window.c (run_funs): New fun.
+       (run_window_configuration_change_hook): Use it to run the buffer-local
+       and the global part of the hook.
+
+       * xdisp.c (format_mode_line_unwind_data): Add window argument.
+       (unwind_format_mode_line): Restore selected window.
+       (x_consider_frame_title, Fformat_mode_line): Set selected window.
+
+2008-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * editfns.c (Fchar_equal): Check they are valid characters.
+
+       * buffer.h (Fbuffer_list): Declare (for use in callint.c).
+
+2008-03-17  Andreas Schwab  <schwab@suse.de>
+
+       * regex.c (re_match_2_internal): Properly match raw 8-bit bytes
+       against a charset.
+
+       * lisp.h (Fbuffer_list): Declare.
+
+2008-03-17  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (free_frame_tool_bar): Only call gtk_container_remove if
+       handlebox_widget is != 0.
+
+2008-03-16  Juri Linkov  <juri@jurta.org>
+
+       * callint.c (Fcall_interactively): For interactive code letters
+       'b' and 'B' put the buffer list into the list of default "future"
+       values of the minibuffer.
+
+2008-03-16  Andreas Schwab  <schwab@suse.de>
+
+       * keyboard.c (read_key_sequence): Fix downcasing of letters with
+       modifiers.
+
+       * regex.c (re_match_2_internal): Correct matching of a charset
+       against latin-1 characters.
+
+2008-03-16  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (CHAR_STRING_ADVANCE_NO_UNIFY)
+       (STRING_CHAR_ADVANCE_NO_UNIFY): New macros.
+       (coding_alloc_by_making_gap): Fix the way to preserve data in the gap.
+       (alloc_destination): Fix the 2nd arg to coding_alloc_by_making_gap.
+       (encode_coding_utf_8): Use CHAR_STRING_ADVANCE_NO_UNIFY instead of
+       CHAR_STRING_ADVANCE.
+       (produce_chars): Fix for the case that the source and the
+       destination are the same buffer.  Use CHAR_STRING_ADVANCE_NO_UNIFY
+       instead of CHAR_STRING_ADVANCE.
+       (consume_chars): Use STRING_CHAR_ADVANCE_NO_UNIFY instead of
+       STRING_CHAR_ADVANCE.
+
+2008-03-15  Andreas Schwab  <schwab@suse.de>
+
+       * regex.c (re_match_2_internal): Correct matching of eight bit
+       characters in unibyte strings.
+
+2008-03-15  Martin Rudalics  <rudalics@gmx.at>
+
+       * buffer.c (overlays_in, Foverlays_in): Include empty overlays
+       at end of range when it coincides with the end of the buffer.
+
+2008-03-14  Eli Zaretskii  <eliz@gnu.org>
+
+       * dired.c (Ffile_attributes) [WINDOWSNT]: Force inode be positive.
+
+       * w32fns.c (globals_of_w32fns, Fx_create_frame): Fix last change.
+
 2008-03-14  Jason Rumney  <jasonr@gnu.org>
 
+       * editfns.c (initial_tz): New variable.
+       (syms_of_editfns): Initialize it.
+       (Fset_time_zone_rule): Set it when first called.
+       Use it when TZSTRING is nil.
+
        * w32fns.c (MONITOR_DEFAULT_TO_NEAREST, struct MONITOR_INFO)
        (MonitorFromPoint_Proc, GetMonitorInfo_Proc): New definitions.
        (monitor_from_point_fn, get_monitor_info_fn): New globals.
 
        * buffer.c (Fswitch_to_buffer): Fall back on pop-to-buffer.
 
-2008-03-11  Jan Dj\e$(Q)Z\e(Brv  <jan.h.d@swipnet.se>
+2008-03-11  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xterm.c (x_connection_closed): For GTK: If this is the last
        terminal just exit without closing the display.
        (w32font_coverage_ok): New function.
        (add_font_entity_to_list): Use it to filter unsuitable fonts.
 
+2008-03-05  Kenichi Handa  <handa@ni.aist.go.jp>
+
+       * lread.c (Fread_char): Resolve modifiers.
+       (Fread_char_exclusive): Likewise.
+
+       * character.c (char_resolve_modifier_mask): New function.
+       (char_string): Use char_resolve_modifier_mask.
+       (Fchar_resolve_modifiers): New function.
+       (syms_of_character): Declare Fchar_resolve_modifiers as Lisp
+       function.
+
 2008-03-04  Jason Rumney  <jasonr@gnu.org>
 
        * makefile.w32-in: Always include w32font.c in the build.
 
        * font.c (font_unparse_fcname): Increase len when style is a symbol.
 
-2008-03-01  Jan Dj\e$(Q)Z\e(Brv  <jan.h.d@swipnet.se>
+2008-03-01  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xterm.c (handle_one_xevent): For Gtk+ and ConfigureNotify, call
        xg_frame_resized when the event is for the edit widget.
 
        * process.c (wait_reading_process_output): Check for window
        changes caused by timers.
-       Suggested by Johan Bockg\e,Ae\e(Brd.
+       Suggested by Johan Bockgård.
 
 2008-02-27  Glenn Morris  <rgm@gnu.org>
 
 
        * font.c (font_unparse_xlfd): Don't ignore integer pixel size specs.
 
-2008-02-18  Jan Dj\e$(Q)Z\e(Brv  <jan.h.d@swipnet.se>
+2008-02-18  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xfns.c (Fx_show_tip): Set string to " " if empty.
 
        * emacs.c (USAGE3): Add --parent-id
        (standard_args): Ditto.
 
-2008-02-07  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2008-02-07  Jan Djärv  <jan.h.d@swipnet.se>
 
        * coding.c (DECODE_EMACS_MULE_COMPOSITION_CHAR): Use "do...while (0)".
 
        * ftfont.c (ftfont_list): Fix typo.
        (ftfont_build_basic_charsets): Don't include letters with diacritics.
 
-2008-02-01  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2008-02-01  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xfaces.c (realize_non_ascii_face): Set face->extra to NULL.
 
        * xftfont.c (xftfont_done_face): Call XftDrawDestroy only if
        xftface_info is non-NULL.
 
-2008-02-01  Kenichi Handa  <handa@m17n.org>
-
-       * ftfont.c (ftfont_list): Fix typo.
-       (ftfont_build_basic_charsets): Don't include letters with diactrics.
-
-2008-02-01  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2008-02-01  Jan Djärv  <jan.h.d@swipnet.se>
 
        * ftfont.c (ftfont_list): Move misplaced #endif.
 
        * xftfont.c (xftfont_open): For generating a name, start from
        96-byte buffer.
 
-2008-02-01  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2008-02-01  Jan Djärv  <jan.h.d@swipnet.se>
 
        * frame.h (x_new_fontset2): Fix prototype.
 
 
        * coding.c (detect_coding_mask): Fix previous change.
 
-2008-01-10  Chong Yidong  <cyd@stupidchicken.com>
-
-       * process.c (wait_reading_process_output): Check for window
-       changes caused by timers.
-
 2008-01-09  Kenichi Handa  <handa@ni.aist.go.jp>
 
        * coding.c (detect_coding_iso2022): New arg
        Rewrite in order to manage registered functions by hash table
        Vdbus_registered_functions_table.
 
-2007-12-03  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-12-03  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xterm.c: Update URL to Window Manager Specification in comment.
 
        * keymap.c (Fsingle_key_description): Likewise.
        * print.c (print_object): Likewise.
 
-2007-11-22  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-11-22  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gtkutil.c (update_frame_tool_bar): Don't call x-gtk-map-stock if
        file for image is nil.
        * fns.c (Fmd5): Use find_symbol_value rather than SYMBOL_VALUE
        Since we do not want to see internal Lisp_*fwd objects here.
 
-2007-11-18  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-11-18  Jan Djärv  <jan.h.d@swipnet.se>
 
        * sysdep.c (init_system_name): Use getaddrinfo if available.
 
 
        * s/windows95.h: Remove.
 
-2007-11-06  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-11-06  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gtkutil.c (xg_tool_bar_menu_proxy): Handle GTK_IMAGE_ICON_NAME and
        abort with a message on unhandled store_type values.
 
-2007-11-01  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-11-01  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xterm.c, xfns.c, xselect.c, xterm.h, s/msdos.h, s/sco4.h, s/sco5.h:
        Remove HAVE_X11R5 and HAVE_X11R4.
 
        * Makefile.in: Remove references to sunfns.c and sunfns.o.
 
-2007-11-01  Johan Bockg\e,Ae\e(Brd  <bojohan@gnu.org>
+2007-11-01  Johan Bockgård  <bojohan@gnu.org>
 
        * macterm.c, w32term.c, xterm.c (x_draw_stretch_glyph_string):
        Don't set s->stippled_p here, since it has already been set by
 
        * lread.c (Fload): Fix typo in docstring.
 
-2007-10-01  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
+2007-10-01  Michaël Cadilhac  <michael@cadilhac.name>
 
        * floatfns.c (Fexpt): Manually check for overflows, so that a power
        of a non-zero value can't yield zero.
 
        * dispextern.h (w32_init_fringe, mac_init_fringe): Declare rif argument.
 
-2007-09-19  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
+2007-09-19  Michaël Cadilhac  <michael@cadilhac.name>
 
        * coding.c (detect_eol_type, detect_eol_type_in_2_octet_form):
        Fix a C warning regarding variable constness.
 
        * w32fns.c (Fx_focus_frame): Rename from Fw32_focus_frame.
 
-2007-09-17  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-09-17  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gtkutil.c (gdpy_def): New variable.
        (xg_initialize): Initialize gdpy_def.
        (xg_display_close): If no other display exists, set gdpy_def to a
        new connection.
 
-2007-09-16  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-09-16  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gtkutil.c (xg_get_image_for_pixmap): Always create a GdkPixbuf
        when we have no file name for the icon.
 
        * s/hpux.h: No longer define `static' as nothing.
 
-2007-09-13  Johan Bockg\e,Ae\e(Brd  <bojohan@gnu.org>
+2007-09-13  Johan Bockgård  <bojohan@gnu.org>
 
        * callint.c (Fcall_interactively): Remove unused var `fun'.
 
 
        * xterm.c (x_term_init): Give error if can't open DISPLAY_NAME.
 
-2007-09-10  Micha\e,Ak\e(Bl Cadilhac  <michael@cadilhac.name>
+2007-09-10  Michaël Cadilhac  <michael@cadilhac.name>
 
        * lisp.h (struct Lisp_Subr): Rename `prompt' field to `intspec'.
        (DEFUN): Document `intspec', use it instead of `prompt'.
        and resume-tty-function to resume-tty-hook.
        (Fsuspend_tty, Fresume_tty): Use new names.
 
-2007-09-02  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-09-02  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gtkutil.c (update_frame_tool_bar): Handle stock name as a named icon
        if it starts with "n:".
 
-2007-08-31  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-08-31  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gtkutil.c (update_frame_tool_bar): Initialize wbutton to NULL.
 
 
        * term.c (tty_insert_glyphs): Add missing first parameter.
 
-2007-08-29  K\e,Aa\e(Broly L\e$,1 q\e(Brentey  <karoly@lorentey.hu>
+2007-08-29  Károly Lőrentey  <karoly@lorentey.hu>
 
        * buffer.c (Fbuffer_list, Fbury_buffer):
        Take frame->buried_buffer_list into account.
        (tty_delete_glyphs, tty_ins_del_lines, turn_on_face): Update for
        renames.
 
-2007-08-28  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-08-28  Jan Djärv  <jan.h.d@swipnet.se>
 
        * keyboard.c: Qrtl is new.
        (parse_tool_bar_item): Handle :rtl keyword.
 
        * alloc.c (pure): Round PURESIZE up.
 
-2007-08-17  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-08-17  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xterm.c (handle_one_xevent): Remove check that mouse click is in
        active frame.
        * term.c (tty_default_color_capabilities): Declare static
        variables in file scope, to avoid HPUX compiler problem.
 
-2007-08-13  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-08-13  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gtkutil.c (update_frame_tool_bar): Use -1 as index
        to gtk_toolbar_insert.
        (Fx_selection_owner_p): Don't use get_scrap_private_timestamp.
        Detect ownership change with OWNERSHIP-INFO in Vselection_alist instead.
 
-2007-08-04  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-08-04  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gtkutil.c (xg_tool_bar_callback): Generate two TOOL_BAR_EVENT:s,
        add comment explaining why.
 
        * lread.c (readevalloop, read1): Treat NBSP as whitespace.
 
-2007-07-29  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-07-29  Jan Djärv  <jan.h.d@swipnet.se>
 
        * gmalloc.c (__malloc_initialize): Remove pthread_once.  Not needed.
 
 
        * coding.c (Ffind_operation_coding_system):
        * eval.c (For, Fand): Doc fixes.
-       Reported by Johan Bockg\e,Ae\e(Brd.
+       Reported by Johan Bockgård.
 
-2007-07-18  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-07-18  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xfns.c (Fx_focus_frame): Call x_ewmh_activate_frame.
 
        * image.c (uncache_image): New function.
        (Fimage_refresh): New function.
 
-2007-05-20  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-05-20  Jan Djärv  <jan.h.d@swipnet.se>
 
        * Makefile.in: Move GPM check outside HAVE_X_WINDOWS.
 
 
        * lread.c (read_escape): In a string, \s is always space.
 
-2007-04-27  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+2007-04-27  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xmenu.c (xdialog_show): Call Fredisplay before showing the dialog.
 
 See ChangeLog.10 for earlier changes.
 
 ;; Local Variables:
-;; coding: iso-2022-7bit
+;; coding: utf-8
 ;; add-log-time-zone-rule: t
 ;; End: