X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/913645cd75fa063e918fc33f7b0d091769cecc3d..ed0218e288bdea1e0cfb17f20660667b746ced93:/src/ChangeLog diff --git a/src/ChangeLog b/src/ChangeLog index 75a0dcc589..e4ee3182c6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,385 @@ +2006-02-17 Kenichi Handa + + * xdisp.c (display_mode_element): Call display_string with correct + PREC arg (which must be a number of characters, not column width). + +2006-02-15 YAMAMOTO Mitsuharu + + * frame.c (x_get_arg): Clear out PARAM in ALIST also on Mac. + + * macfns.c (x_set_menu_bar_lines): Menu bar is always shown on Mac. + + * macmenu.c (set_frame_menubar): Don't call DrawMenuBar. + +2006-02-14 Richard M. Stallman + + * frame.c (x_get_arg): Clear out all occurrences of PARAM in ALIST. + + * m/ibms390x.h: New file. + +2006-02-14 Jan Dj,Ad(Brv + + * gtkutil.c (xg_tool_bar_detach_callback): Set show-arrow to the + value of x-gtk-whole-detached-tool-bar. + (xg_tool_bar_attach_callback): Set show-arrow to TRUE. + + * xfns.c (syms_of_xfns): New variable: x-gtk-whole-detached-tool-bar. + +2006-02-14 Jan Dj,Ad(Brv + + * xterm.c (x_x_to_emacs_modifiers): Make non-static. + + * xterm.h: Declare x_x_to_emacs_modifiers. + + * gtkutil.c (xg_tool_bar_button_cb): New function. + (xg_tool_bar_callback): Call x_x_to_emacs_modifiers to + store modifiers in event. + (update_frame_tool_bar): Connect button-release-event to + xg_tool_bar_button_cb. + +2006-02-13 Richard M. Stallman + + * .gdbinit (xwindow): Update the code to show the window box. + +2006-02-13 Jan Dj,Ad(Brv + + * xterm.c (note_mouse_movement): Check for NULL FRAME_X_OUTPUT (frame). + +2006-02-12 Richard M. Stallman + + * cmds.c (internal_self_insert): Handle weird auto-fill-function. + +2006-02-11 Eli Zaretskii + + * keyboard.c (Venable_disabled_menus_and_buttons): New variable. + (syms_of_keyboard): DEVFAR_LISP and initialize it. + (parse_tool_bar_item, parse_menu_item): If that variable is + non-nil, don't disable menu items and tool-bar buttons. + +2006-02-11 Juanma Barranquero + + * doc.c (Fsubstitute_command_keys): Doc fix. + +2006-02-10 Thien-Thi Nguyen + + * data.c (Findirect_function): Rewrite docstring. + Fix omission bug: Declare new arg NOERROR. + +2006-02-10 YAMAMOTO Mitsuharu + + * macfns.c (x_set_mouse_color): Don't call rif->define_frame_cursor + if window_desc is not set yet. + (Fx_create_frame): Remove variable x_frame_name. Apply 2005-12-07 + and 2006-01-26 changes for xfns.c. Call x_iconify_frame if frame + parameter `visibility' is `icon'. + (Fx_create_frame, x_create_tip_frame): Use "fontset-standard" + instead of "fontset-mac". + (Fx_focus_frame): New defun. + (syms_of_macfns): Defsubr it. + + * macterm.c (mac_define_frame_cursor): Don't change pointer shape + for unfocused frame. + (x_raise_frame): Call BringToFront instead of SelectWindow. + (x_lower_frame): Use NULL instead of nil. + (x_make_frame_visible): Don't call SelectWindow. + (XTread_socket): Increment handling_signal at the start, decrement + it at the end. + [USE_CG_TEXT_DRAWING] (init_cg_text_anti_aliasing_threshold): Use + CFPreferencesGetAppIntegerValue instead of Fmac_get_preference. + +2006-02-10 Kim F. Storm + + * data.c (Findirect_function): Add NOERROR arg. All callers changed + to pass Qnil for NOERROR. + + * keymap.c (current_minor_maps_error): Remove. + (current_minor_maps): Pass Qt for NOERROR to Findirect_function + instead of using internal_condition_case_1+current_minor_maps_error. + +2006-02-09 Jan Dj,Ad(Brv + + * xterm.c (handle_one_xevent): Must note mouse movement even for nil + frames for GTK, in that case it is the tool bar. This is so that + highlighted text get reset properly. + +2006-02-09 Juanma Barranquero + + * alloc.c (Fmake_bool_vector, Fpurecopy): Doc fixes. + +2006-02-08 Jan Dj,Ad(Brv + + * window.c (adjust_window_trailing_edge): Check that shrinking + does not set a window to size zero or less. + +2006-02-08 Miles Bader + + * editfns.c (Fconstrain_to_field): Use Fget_char_property instead + of Fget_text_property (other field functions work with overlays as + well as text-properties). + +2006-02-07 Kenichi Handa + + * dispextern.h (unibyte_display_via_language_environment): Extern it. + + * xterm.h (unibyte_display_via_language_environment): + * w32term.h (unibyte_display_via_language_environment): + * macterm.h (unibyte_display_via_language_environment): Delete extern. + +2006-02-07 Kenichi Handa + + * term.c (append_glyph): Refer to it->char_to_display instead of it->c. + (produce_glyphs): Set the character to print in + it->char_to_display. Handle unibyte-display-via-language-environment. + (produce_stretch_glyph): Set character to print in it->char_to_display. + +2006-02-06 Kenichi Handa + + * lread.c (openp): Initialize encoded_fn before GCPRO it. + +2006-02-05 Ken Raeburn + + * editfns.c (Fconstrain_to_field): Fix int/Lisp_Object mixup. + + * lisp.h (XPNTR) [!NO_UNION_TYPE && !HAVE_SHM && !DATA_SEG_BITS]: + Cast bitfield value to EMACS_INT, to suppress gcc warning. + + * xrdb.c (malloc, realloc, free) [emacs]: Undefine macros before + defining. + +2006-02-03 Kim F. Storm + + * xdisp.c: Cache last merged escape glyph face. + (last_escape_glyph_frame, last_escape_glyph_face_id) + (last_escape_glyph_merged_face_id): New variables. + (get_next_display_element): Use/update them. + (redisplay_internal): Reset them before redisplay. + + * xdisp.c (set_iterator_to_next): Optimize 2004-12-13 fix. + Only recheck faces after displaying ellipsis. + +2006-02-02 Kenichi Handa + + * coding.c (decode_composition_emacs_mule): Fix handling of + incorrect format data. + +2006-01-31 Jan Dj,Ad(Brv + + * gtkutil.c (update_frame_tool_bar): Use new tool bar functions + (gtk_toolbar_insert) so we can have tool bars of different sizes. + +2006-01-30 Luc Teirlinck + + * data.c (Flistp): Doc fix. + +2006-01-30 Juanma Barranquero + + * window.c (Fother_window, Fwindow_vscroll, Fset_window_vscroll): + Fix typos in docstrings. + +2006-01-28 Luc Teirlinck + + * data.c (Fcar, Fcdr): Add links to Elisp manual to the docstrings. + +2006-01-27 Chong Yidong + + * alloc.c (make_interval, allocate_string) + (allocate_string_data, make_float, Fcons, allocate_vectorlike) + (Fmake_symbol, allocate_misc): Use BLOCK_INPUT when accessing + global variables. + +2006-01-27 Eli Zaretskii + + * dired.c (DIRENTRY_NONEMPTY) [__CYGWIN__]: Don't use d_ino; use + the MSDOS definition. + +2006-01-26 Richard M. Stallman + + * alloc.c (check_pure_size): Make overflow message an "error message". + + * keymap.c (Fmap_keymap): Doc fix. + + * xfns.c (Fx_create_frame): Put all specified parms into f->param_alist + unless they were cleared out. + + * frame.c (x_get_arg): "Clear out" the parm in ALIST if found there. + +2006-01-26 L$,1 q(Brentey K,Aa(Broly + + * editfns.c (Fconstrain_to_field): Fix behaviour on field boundaries. + (find_field): Set before_field to after_field when pos is at BEGV. + (Fline_beginning_position, Fline_end_position): Clarify + confusing doc string. + + * cmds.c (Fbeginning_of_line, Fend_of_line): Clarify confusing doc + string. + +2006-01-26 Kenichi Handa + + * callproc.c (Fcall_process): GCPRO error_file. Encode infile, + current_dir, and error_file. On reporting an error, decode them + back. + +2006-01-24 Stefan Monnier + + * regex.c (IMMEDIATE_QUIT_CHECK): Use it with SYNC_INPUT as well. + (re_match_2_internal) : + Don't check for quit, since any loop will go through fail or jump. + +2006-01-24 Chong Yidong + + * alloc.c (allocate_string_data): Update next_free immediately, to + reduce risk of memory clobberage. + +2006-01-24 L$,1 q(Brentey K,Aa(Broly + + * xdisp.c (handle_invisible_prop): Set it->position to fix cursor + display when point moves across an ellipsis. If there are + adjacent invisible texts, don't lose the second one's ellipsis. + (x_produce_glyphs): Doc fix. + +2006-01-23 Stefan Monnier + + * xterm.c (x_catch_errors_unwind): Yet another int/Lisp_Object mixup. + +2006-01-23 Kim F. Storm + + * xdisp.c (handle_single_display_spec): Fix handling of space + property on char from string: set *position rather than + it->current.pos. + (produce_stretch_glyph): Reduce width of stretch glyphs so they + don't get wider than the window (unless truncate-lines is on). + +2006-01-22 Stefan Monnier + + * xterm.c: Avoid allocating Lisp data from a signal handler. + (x_error_message): New var to replace x_error_message_string. + (x_error_catcher, x_catch_errors, x_catch_errors_unwind) + (x_check_errors, x_had_errors_p, x_clear_errors, x_error_handler) + (syms_of_xterm): Use it instead of x_error_message_string. + + * alloc.c (lisp_align_free): Add an assertion. + (make_interval, allocate_string, make_float, Fcons, Fmake_symbol) + (allocate_misc): If ENABLE_CHECKING is on, check we're not called from + a signal handler. + +2006-01-21 Luc Teirlinck + + * dired.c (syms_of_dired) : Doc fix. + +2006-01-21 Romain Francoise + + * xdisp.c (get_window_cursor_type): Fix last change. + Update copyright year. + +2006-01-20 Eli Zaretskii + + * lread.c (Fload): Don't leak the file descriptor returned by + openp if we are going to signal an error. + + * w32.c (sys_close): If FD is outside [0..MAXDESC) limits, pass it + directly to _close. + (sys_dup): Protect against new_fd larger than fd_info[] can handle. + (sys_read): If FD is outside [0..MAXDESC) limits, pass it directly + to _read. + (sys_write): If FD is outside [0..MAXDESC) limits, pass it + directly to _write. + + * .gdbinit: Don't dereference Vsystem_type's Lisp_Symbol pointer + if it is NULL. + +2006-01-20 Kenichi Handa + + * puresize.h (BASE_PURESIZE): Increment to 1190000. + +2006-01-19 Chong Yidong + + * xdisp.c (get_window_cursor_type): Use cursor type specified by + the selected buffer for the echo area too. + +2006-01-19 Richard M. Stallman + + * keymap.c (Fmap_keymap): Doc fix. + + * s/irix6-5.h (GC_SETJMP_WORKS, GC_MARK_STACK): New definitions. + + * keyboard.c (echo_char): Don't omit the space between first two + echoed chars. + + * minibuf.c (read_minibuf): Fix previous change. + +2006-01-19 Kenichi Handa + + * xterm.c (handle_one_xevent): Handle keysyms 0x1000000..0x10000FF. + +2006-01-17 Richard M. Stallman + + * frame.c (x_frame_get_and_record_arg): Don't record Qunbound + value in f->param_alist. + +2006-01-15 Andreas Schwab + + * search.c (Freplace_match): Use UPPERCASEP instead of !NOCASEP. + +2006-01-13 Richard M. Stallman + + * Makefile.in: Define new macro WINDOW_SUPPORT. + (lisp): Use it. + (SOME_MACHINE_LISP): Add conditionally loaded files. + +2006-01-12 YAMAMOTO Mitsuharu + + * macterm.c [USE_ATSUI] (atsu_get_text_layout_with_text_ptr) + [MAC_OS_X_VERSION_MAX_ALLOWED >= 1020]: Specify kATSLineUseQDRendering. + (XLoadQueryFont) [USE_ATSUI]: Display diacritical marks in + decomposed form. + + * process.c [HAVE_INTTYPES_H]: Include inttypes.h. + (ifflag_table): Fix typo (IFF_OACTIV -> IFF_OACTIVE). + (Fnetwork_interface_info): Use HAVE_STRUCT_IFREQ_IFR_NETMASK + macro. Also try member ifr_addr when getting netmask. + +2006-01-10 Stefan Monnier + + * fileio.c (Fexpand_file_name): Remove redundant tests. + Fix elimination of // so that it doesn't prevent elimination of an + immediately following /. or /.. + +2006-01-09 Jan Dj,Ad(Brv + + * gtkutil.c (xg_toggle_notify_cb): New function. + (xg_toggle_visibility_cb): Move setting of x_gtk_show_hidden_files to + xg_toggle_notify_cb. + (xg_get_file_with_chooser): Add callback to xg_toggle_notify_cb when + parameter value changes so the toggle button gets updated. + +2006-01-06 Nick Roberts + + * .gdbinit: Fix typo. + +2006-01-05 Eli Zaretskii + + * .gdbinit: Fix last change. + +2006-01-05 Kim F. Storm + + * process.c (Fmake_network_process): Use AF_INET instead of + AF_UNSPEC when AF_INET6 is not defined. + +2006-01-05 YAMAMOTO Mitsuharu + + * mac.c (mac_coerce_file_name_ptr, mac_coerce_file_name_desc): + Don't check that the other type is known file-related one. + + * macfns.c (Fx_server_version): Use gestaltSystemVersionMajor, + gestaltSystemVersionMinor, and gestaltSystemVersionBugFix on Mac + OS X 10.4 and later. + +2006-01-04 Jan Dj,Ad(Brv + + * gtkutil.c (xg_get_image_for_pixmap): If the image is from a file, + let GTK do all image processing. Importing Emacs own pixmaps to GTK + looks bad for inactive tool bar items with some Gnome themes. + 2006-01-04 Eli Zaretskii * .gdbinit: Avoid a warning message when x_error_quitter is not @@ -498,7 +880,7 @@ * w32fns.c (w32_abort) [__GNUC__]: Add instructions for attaching GDB to the abort dialog. -2005-12-09 Kyotaro HORIGUCHI (tiny change) +2005-12-09 Kyotaro HORIGUCHI (tiny change) * indent.c (Fvertical_motion): Force move if starting on stretch glyph. @@ -752,7 +1134,7 @@ * s/darwin.h (LIBS_CARBON) [!HAVE_CARBON]: Remove `-framework Carbon'. -2005-11-11 David Reitter +2005-11-11 David Reitter * macterm.c (syms_of_macterm): Remove macCtrlKey, macShiftKey, macMetaKey, macAltKey. Introduce Qctrl, Qmeta, @@ -784,7 +1166,7 @@ ignore_overlay_strings_at_pos_p if dpvec came from an overlay string, so we skip those overlay strings at current pos. -2005-11-10 Lars Hansen +2005-11-10 Lars Hansen * fileio.c (file-regular-p): Doc fix. @@ -895,7 +1277,7 @@ * xdisp.c (display_line): Restore it->current_x and call extend_face_to_end_of_line when last glyph doesn't fit on line. - (set_glyph_string_background_width): Remove specific tests here + (set_glyph_string_background_width): Remove specific tests here to see if face background should extend to end of line. Simplify. 2005-10-30 Richard M. Stallman @@ -1497,7 +1879,7 @@ * dispextern.h (fatal): Delete prototype. - * systime.h: (make_time): Prototype moved from ... + * systime.h (make_time): Prototype moved from ... * editfns.c (make_time): ... here. * editfns.c: Move systime.h include after lisp.h. @@ -1731,9 +2113,9 @@ get_current_dir_name. (get_current_dir_name): Remove prototype. - * xsmfns.c: (get_current_dir_name): Remove prototype. + * xsmfns.c (get_current_dir_name): Remove prototype. - * lisp.h: (get_current_dir_name) [!HAVE_GET_CURRENT_DIR_NAME]: + * lisp.h (get_current_dir_name) [!HAVE_GET_CURRENT_DIR_NAME]: Add prototype. * sysdep.c [WINDOWSNT]: Add prototype for getwd. @@ -2424,7 +2806,7 @@ * window.c (window_scroll_pixel_based, window_scroll_line_based): Handle `scroll-preserve-screen-position' non-nil, non-t specially. - (syms_of_window): : Doc fix. + (syms_of_window) : Doc fix. 2005-07-02 Juri Linkov @@ -7052,7 +7434,7 @@ * config.in: Rebuild. - * Makefile.in: Run setarch i386 ./temacs if exec-shield is present. + * Makefile.in: Run setarch i386 ./temacs if exec-shield is present. 2004-09-18 Stefan Monnier @@ -7632,7 +8014,7 @@ * buffer.c (Fswitch_to_buffer, Fpop_to_buffer): Doc fixes. - * window.c (Fwindow_buffer, Fother_window, Fget_lru_window) + * window.c (Fwindow_buffer, Fother_window, Fget_lru_window) (Fget_largest_window, Fget_buffer_window, Fdelete_windows_on) (Freplace_buffer_in_windows, Fset_window_buffer) (Fselect-window, Fdisplay-buffer, Fsplit_window): Doc fixes. @@ -9285,7 +9667,7 @@ (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) (make_image, free_image, prepare_image_for_display, image_ascent) (four_corners_best, image_background, image_background_transparent) - (x_clear_image_1, x_clear_image, x_alloc_image_color) + (x_clear_image_1, x_clear_image, x_alloc_image_color) (make_image_cache, free_image_cache, clear_image_cache) (Fclear_image_cache, postprocess_image, lookup_image, cache_image) (forall_images_in_image_cache, x_create_x_image_and_pixmap) @@ -9323,7 +9705,7 @@ (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) (make_image, free_image, prepare_image_for_display, image_ascent) (four_corners_best, image_background, image_background_transparent) - (x_clear_image_1, x_clear_image, x_alloc_image_color) + (x_clear_image_1, x_clear_image, x_alloc_image_color) (make_image_cache, free_image_cache, clear_image_cache) (Fclear_image_cache, postprocess_image, lookup_image, cache_image) (forall_images_in_image_cache, x_create_x_image_and_pixmap) @@ -9355,7 +9737,7 @@ (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) (make_image, free_image, prepare_image_for_display, image_ascent) (four_corners_best, image_background, image_background_transparent) - (x_clear_image_1, x_clear_image, x_alloc_image_color) + (x_clear_image_1, x_clear_image, x_alloc_image_color) (make_image_cache, free_image_cache, clear_image_cache) (Fclear_image_cache, postprocess_image, lookup_image, cache_image) (forall_images_in_image_cache, x_create_x_image_and_pixmap) @@ -9385,7 +9767,7 @@ (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) (make_image, free_image, prepare_image_for_display, image_ascent) (four_corners_best, image_background, image_background_transparent) - (x_clear_image_1, x_clear_image, x_alloc_image_color) + (x_clear_image_1, x_clear_image, x_alloc_image_color) (make_image_cache, free_image_cache, clear_image_cache) (Fclear_image_cache, postprocess_image, lookup_image, cache_image) (forall_images_in_image_cache, x_create_x_image_and_pixmap) @@ -10160,7 +10542,7 @@ (Fx_change_window_property): Add declaration of parameters type and format. Remove unused variable cons. - * xselect.c: Include stdio,h. + * xselect.c: Include stdio.h. 2004-02-05 Kenichi Handa @@ -11793,7 +12175,7 @@ 2003-07-13 Terje Rosten - * xterm.c (x_bitmap_icon,x_wm_set_icon_pixmap): Modify to add mask, + * xterm.c (x_bitmap_icon, x_wm_set_icon_pixmap): Modify to add mask, and use the Gtk+ function gtk_window_icon_from_file if available. * xfns.c (x_bitmap_mask, x_create_bitmap_mask): New functions to @@ -16372,7 +16754,7 @@ 2002-09-08 Kim F. Storm * macros.c (executing_macro_index): Change type to EMACS_INT. - (syms_of_macros): DEFVAR_INT it (needed by kmacro). + (syms_of_macros): DEFVAR_INT it (needed by kmacro). * macros.h (executing_macro_index): Change type to EMACS_INT. @@ -18860,10 +19242,10 @@ Intern and staticpro QCtype and Qdatagram. (syms_of_process) [!subprocess]: Intern and staticpro QCtype. - * xfns.c: (QCtype): Remove duplicate declaration and + * xfns.c (QCtype): Remove duplicate declaration and initialization (is now declared in process.c). - * w32fns.c: (QCtype): Remove duplicate declaration and + * w32fns.c (QCtype): Remove duplicate declaration and initialization (is now declared in process.c). 2002-03-21 Richard M. Stallman @@ -18978,7 +19360,7 @@ Doc fix: Member kill_without_query is inverse of query-on-exit flag. * process.c (Qlocal, QCname, QCbuffer, QChost, QCservice, QCfamily) - (QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery,QCstop) + (QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery, QCstop) (QCcoding, QCoptions, QCfilter, QCsentinel, QClog, QCfeature): New variables. (NETCONN1_P): New macro. @@ -19308,7 +19690,7 @@ 2002-02-28 Kim F. Storm - * window.c: (minibuf_selected_window): Renamed from + * window.c (minibuf_selected_window): Renamed from Vminibuf_selected_window. Users changed. (syms_of_window): Staticpro it. @@ -19318,14 +19700,14 @@ which is similar to Vminibuf_scroll_window, but which is only set on entry to the minibuffer (from a non-minibuffer window): - * window.c: (Vminibuf_selected_window): New variable. + * window.c (Vminibuf_selected_window): New variable. (struct save_window_data): New member minibuf_selected_window. (Fset_window_configuration): Restore Vminibuf_selected_window. (Fcurrent_window_configuration): Save Vminibuf_selected_window. Set minibuf_scroll_window member to nil if minibuf_level is 0. (compare_window_configurations): Compare minibuf_selected_window. - * window.h: (Vminibuf_selected_window): Declare extern. + * window.h (Vminibuf_selected_window): Declare extern. * minibuf.c (read_minibuf): Set Vminibuf_selected_window on first entry to minibuffer or on entry from a non-minibuffer window. @@ -19451,7 +19833,7 @@ 2002-02-22 Eli Zaretskii - Support for ICCCM Extended Segments in X selections: + Support for ICCCM Extended Segments in X selections: * xselect.c : New variable. (syms_of_xselect): Intern and staticpro it. @@ -19605,7 +19987,7 @@ 2002-02-13 Kim F. Storm - * window.c: (Vmode_line_in_non_selected_windows): Removed. + * window.c (Vmode_line_in_non_selected_windows): Removed. (mode_line_in_non_selected_windows): New variable. (syms_of_window): DEFVAR_BOOL it. @@ -19636,7 +20018,7 @@ 2002-02-11 Kim F. Storm - * window.c: (Vmode_line_in_non_selected_windows): New variable. + * window.c (Vmode_line_in_non_selected_windows): New variable. (syms_of_window): DEFVAR_LISP it. * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): New macro. @@ -22165,7 +22547,8 @@ See ChangeLog.9 for earlier changes. ;; coding: iso-2022-7bit ;; End: - Copyright (C) 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 2001, 2002, 2003, 2004, 2005, + 2006 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted provided the copyright notice and this notice are preserved.