]> code.delx.au - gnu-emacs/blobdiff - src/ChangeLog
(decode_coding_object): When not decoding into a buffer,
[gnu-emacs] / src / ChangeLog
index 32c09e17062a4d6f1983676aacdb817629878341..6f65379c23eb149508083b8749a5f431c47898d8 100644 (file)
@@ -1,3 +1,217 @@
+2008-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * 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\e$(Q)Z\e(Brv  <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.
+       (globals_of_w32fns): Initialize them.
+       (compute_tip_xy): Use them to position tooltips.
+
+2008-03-14  Glenn Morris  <rgm@gnu.org>
+
+       * emacs.c (main): Revert previous change.
+       (standard_args): Revert -internal-script back to -scriptload,
+       and remove the long-option form.
+
+2008-03-13  Glenn Morris  <rgm@gnu.org>
+
+       * emacs.c (main, standard_args): Rename -scriptload to -internal-script.
+       Remove option -enable-font-backend.
+
+2008-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * 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>
+
+       * xterm.c (x_connection_closed): For GTK: If this is the last
+       terminal just exit without closing the display.
+
+2008-03-11  Jason Rumney  <jasonr@gnu.org>
+
+       * w32font.c (w32font_full_name): Use floor to round.
+
+2008-03-10  dhruva  <dhruvakm@gmail.com>  (tiny change)
+
+       * sound.c (alsa_configure): Declare vol at beginning of block.
+
+       * fontset.c (Ffontset_info): Remove extra semicolon.
+
+2008-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * fileio.c (Fsubstitute_in_file_name): Fix up computation of maximum
+       size of resulting string.
+
+2008-03-10  Jason Rumney  <jasonr@gnu.org>
+
+       * dispnew.c (adjust_glyph_matrix): Initialize window_height.
+
+2008-03-10  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-03-08  Kim F. Storm  <storm@cua.dk>
+
+       * xdisp.c (GET_NEXT_DISPLAY_ELEMENT): New macro.
+       (get_next_display_element, next_element_from_string)
+       (next_element_from_ellipsis, next_element_from_buffer): Use it.
+
 2008-03-08  Andreas Schwab  <schwab@suse.de>
 
        * process.h (struct Lisp_Process): Declare bit fields as unsigned.
        (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.