X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/273f164cc4d8c1ad649442f6459c698ccdde3c3c..decb374a426c8d095d144829791305d91a26b7b7:/src/ChangeLog diff --git a/src/ChangeLog b/src/ChangeLog index 859409092b..4ba46df0f2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,397 @@ +2007-10-14 Juanma Barranquero + + * w32term.c (w32_font_is_double_byte, my_create_scrollbar): Make static. + (syms_of_w32term) : Fix typo in docstring. + +2007-10-14 Stefan Monnier + + * buffer.c (Fmake_indirect_buffer): Set the buffer's tag. + +2007-10-14 Juanma Barranquero + + * eval.c (do_autoload): Don't save autoloads. + + * data.c (Ffset): Save autoload of the function being set. + +2007-10-07 John Paul Wallington + + * xfns.c (x_create_tip_frame): Set the `display-type' frame + parameter before setting up faces. + +2007-10-13 Eli Zaretskii + + * ccl.c (Fregister_code_conversion_map): + * keyboard.c (append_tool_bar_item): Reformat last change. + + * lisp.h (eabs): Rename from `abs'. All callers changed. + +2007-10-05 Dmitry Antipov + + * buffer.c (add_overlay_mod_hooklist): + * ccl.c (Fregister_ccl_program, Fregister_code_conversion_map): + * fontset.c (make_fontset): + * keyboard.c (GROW_RAW_KEYBUF, menu_bar_items, menu_bar_item) + (append_tool_bar_item): + * macmenu.c (grow_menu_items): + * w32menu.c (grow_menu_items): + * xmenu.c (grow_menu_items): Use larger_vector. + +2007-10-13 Eli Zaretskii + + * msdos.c (dos_rawgetc): Undo last change (there's no ``leaving + selected frame'' on MSDOS). + +2007-10-10 Patrick Mahan (tiny change) + + * macfns.c (x_create_tip_frame): Set terminal for frame. + +2007-10-10 Stefan Monnier + + * frame.c (Qenvironment): Remove. + (syms_of_frame) : Don't initialize. + (Fdelete_frame): Don't treat the `environment' param specially. + * frame.h (Qenvironment): Don't declare. + * callproc.c (set_initial_environment): Don't set unused frame param. + + * frame.c (Fframe_with_environment): Remove. + (syms_of_frame) : Don't declare. + + * lisp.h (Fframe_with_environment): Don't declare. + +2007-10-10 Juanma Barranquero + + * indent.c (indent_tabs_mode, last_known_column) + (last_known_column_modified): Make static. + (syms_of_indent) : Remove redundant info in docstring. + +2007-10-10 Katsumi Yamaoka + + * puresize.h (BASE_PURESIZE): Increase to 1170000. + +2007-10-08 Martin Rudalics + + * keyboard.c (kbd_buffer_get_event): Break loop waiting for input + when there's an unread command event. + + * frame.c (focus_follows_mouse): Move here from frame.el to allow + window autoselection act appropriately when leaving selected frame. + (syms_of_frame): Initialize focus_follows_mouse. + * frame.h (focus_follows_mouse): Extern it. + * macterm.c (XTread_socket): When focus_follows_mouse is nil + make SELECT_WINDOW_EVENT only if we don't leave the selected frame. + * msdos.c (dos_rawgetc): Likewise. + * w32term.c (w32_read_socket): Likewise. + * xterm.c (handle_one_xevent): Likewise. + * xdisp.c (syms_of_xdisp): In doc-string of + mouse-autoselect-window mention focus-follows-mouse. + +2007-10-08 YAMAMOTO Mitsuharu + + * macterm.c (mac_load_query_font): Fix missing return value. + [USE_CG_DRAWING] (mac_define_fringe_bitmap, mac_destroy_fringe_bitmap): + Add BLOCK_INPUT. + +2007-10-08 Richard Stallman + + * xdisp.c (get_window_cursor_type): Implement documented behavior + for cursor-in-non-selected-windows = t. + +2007-10-08 Jason Rumney + + * w32.c (w32_get_resource): Always close registry keys. + +2007-10-08 Jason Rumney + + * makefile.w32-in (LIBS): Add COMCTL32. + + * w32fns.c (globals_of_w32fns): Init common controls. + +2007-10-08 Richard Stallman + + * image.c (our_memory_buffer): Rename from omfib_buffer. + +2007-10-08 Richard Stallman + + * buffer.c (Foverlays_at): Doc fix. + +2007-10-08 Stefan Monnier + + * fns.c (Fplist_put): Preserve uneven tail data. + +2007-10-08 Peter O'Gorman (tiny change) + + * termhooks.h (enum event_kind): Remove trailing comma. + + * frame.h (enum): Remove trailing comma. + +2007-10-08 Dhuvra Krishnamurthy (tiny change) + + * w32proc.c (delete_child): Don't terminate threads of zombies. + +2007-10-08 Martin Rudalics + + * keyboard.h (struct kboard): New elt Vlast_repeatable_command. + + * keyboard.c (syms_of_keyboard): Set up new Lisp variable + last-repeatable-command. + (init_kboard): Initialize Vlast_repeatable_command. + (command_loop_1): Set it to real_this_command unless that was + bound to an input event. + (mark_kboards): Mark it. + +2007-10-08 Richard Stallman + + * eval.c (condition-case): Doc fix. + +2007-10-08 Masatake YAMATO + + * xfaces.c (tty_supports_face_attributes_p): Fix code + for LFACE_INVERSE_INDEX and LFACE_BACKGROUND_INDEX; code + was copied and not edited. + +2007-10-09 Stefan Monnier + + Add new `input-decode-map' keymap and use it for terminal + escape sequences. + * keyboard.h (struct kboard): Add Vinput_decode_map. + Remove Vlocal_key_translation_map. + * keyboard.c (read_key_sequence): Add support for input-decode-map. + (init_kboard): Init input-decode-map. + Replace local-key-translation-map back with key-translation-map. + (syms_of_keyboard): Declare input-decode-map. + Remove local-key-translation-map. Update docstrings. + (mark_kboards): Mark Vinput_decode_map. + Don't mark Vlocal_key_translation_map. + * keymap.c (Fdescribe_buffer_bindings): Describe input-decode-map. + Replace local-key-translation-map back with key-translation-map. + * term.c (term_get_fkeys_1, CONDITIONAL_REASSIGN): + Bind in input-decode-map rather than function-key-map. + + * lisp.h (XSETPSEUDOVECTOR): Don't set the tag anymore. + This was made redundant by the previous introduction of XSETPVECTYPE. + +2007-10-09 Richard Stallman + + * image.c (free_bitmap_record): Rename from Free_Bitmap_Record. + +2007-09-29 Richard Stallman + + * eval.c (internal_condition_case_2, internal_condition_case_1) + (internal_condition_case): Reenable abort if x_catching_errors () + to see if that really happens and why. + +2007-10-06 Andreas Schwab + + * fileio.c (Fwrite_region): Ignore EINVAL error from fsync. + +2007-10-04 Juanma Barranquero + + * image.c (syms_of_image) : Fix typo in docstring. + +2007-10-03 Stefan Monnier + + * frame.h (struct frame): Don't try to GC-mark menu_bar_items_used. + +2007-10-02 Stefan Monnier + + * window.h (struct window): + * window.c (struct save_window_data, struct saved_window): + * termhooks.h (struct terminal): + * process.h (struct Lisp_Process): + * frame.h (struct frame): + * buffer.h (struct buffer): + * lisp.h (struct Lisp_Vector, struct Lisp_Char_Table) + (struct Lisp_Bool_Vector, struct Lisp_Subr, struct Lisp_Hash_Table): + The size field of (pseudo)vectors is now unsigned. + (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG): Simplify accordingly. + + * lisp.h (struct Lisp_Hash_Table): Move non-traced elements at the end. + Turn `count' into an integer. + + * fns.c (make_hash_table, hash_put, hash_remove, hash_clear) + (sweep_weak_table, sweep_weak_hash_tables, Fhash_table_count): + * print.c (print_object) : `count' is an int. + * alloc.c (allocate_hash_table): Use ALLOCATE_PSEUDOVECTOR. + (mark_object) : Use mark_vectorlike. + + * alloc.c (allocate_pseudovector): New fun. + (ALLOCATE_PSEUDOVECTOR): New macro. + (allocate_window, allocate_terminal, allocate_frame) + (allocate_process): Use it. + (mark_vectorlike): New function. + (mark_object) : Use it. + (mark_terminals): Use it. + (Fmake_bool_vector, Fmake_char_table, make_sub_char_table) + (Fmake_byte_code): Use XSETPVECTYPE. + + * frame.c (Fframe_parameters): Minor simplification. + + * insdel.c (adjust_markers_for_insert): Generalize assertion checks. + + * marker.c (Fmarker_buffer): Make test for odd case into a failure. + + * buffer.c (Fget_buffer_create, init_buffer_once): + * lread.c (defsubr): + * window.c (Fcurrent_window_configuration): Use XSETPVECTYPE. + + * lisp.h (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG): Don't let them be + defined differently in the m/*.h files. + (XCHAR_TABLE, XBOOL_VECTOR): Add assertion checking. + (XSETPVECTYPE): New macro. + (XSETPSEUDOVECTOR): Use it. + + * buffer.c (syms_of_buffer) : Move from abbrev.c. + (DEFVAR_PER_BUFFER, defvar_per_buffer): Move from lisp.h and lread.c. + + * lisp.h (defvar_per_buffer, DEFVAR_PER_BUFFER): + * lread.c (defvar_per_buffer): + * abbrev.c (syms_of_abbrev) : Move to buffer.c. + + * window.c (candidate_window_p): Only consider as visible frames that + are on the same terminal. + + * m/ibms390x.h (MARKBIT): Remove unused macro. + +2007-10-01 Juanma Barranquero + + * lread.c (Fload): Fix typo in docstring. + +2007-10-01 Micha,Ak(Bl Cadilhac + + * floatfns.c (Fexpt): Manually check for overflows, so that a power + of a non-zero value can't yield zero. + +2007-09-29 Stefan Monnier + + * term.c (term_clear_mouse_face, term_mouse_highlight) + (tty_write_glyphs_with_face): Only define is HAVE_GPM. + + * print.c (safe_debug_print): Use XHASH. + + * lisp.h (DECL_ALIGN, USE_LSB_TAG): Move logic to before definition of + Lisp elements such as tags. + (XHASH): New macro. + (EQ): Use it. + (SREF, SSET, STRING_COPYIN): Use SDATA. + (VOID_TO_LISP, CVOID_TO_LISP, LISP_TO_VOID, LISP_TO_CVOID): Remove. + + * alloc.c (mark_terminal): Remove left-over declaration. + (enum mem_type): Replace all vector subtypes -> MEM_TYPE_VECTORLIKE. + (allocate_vectorlike): Remove type argument. Adjust callers. + (live_vector_p, mark_maybe_pointer, valid_lisp_object_p): + Only handle the one remaining MEM_TYPE_VECTORLIKE. + + * alloc.c (MALLOC_BLOCK_INPUT, MALLOC_UNBLOCK_INPUT): New macros + to avoid unnecessary BLOCK_INPUTs when SYNC_INPUT is used. + (xmalloc, xrealloc, xfree, lisp_malloc, lisp_free, lisp_align_malloc) + (lisp_align_free, make_interval, allocate_string, allocate_string_data) + (make_float, Fcons, allocate_vectorlike, Fmake_symbol, allocate_misc): + Use them. + + * xfaces.c (load_face_font, free_realized_face, clear_face_gcs): + Don't let signal handlers run when a GC is freed but not yet NULL'ed. + (x_free_gc): Remove BLOCK_INPUT since it's now redundant. + +2007-09-28 Dan Nicolaescu + + * Makefile.in (lisp, shortlisp): Delete server.elc, it is not + loaded by default. + +2007-09-28 Stefan Monnier + + * term.c (Fgpm_mouse_start): Don't signal an error if already activated + on this tty. + (Fgpm_mouse_stop): Only deactivate if it was activated on this tty. + + * term.c (mouse_face_window): Rename from Qmouse_face_window. + Update all users. + (handle_one_term_event): Use Gpm_DrawPointer. + (Fgpm_mouse_start): Rename from Fterm_open_connection. + Signal errors instead of returning nil. Always return nil. + (Fgpm_mouse_stop): Rename from Fterm_close_connection. + Make it a noop if gpm-mouse was not activated. + (syms_of_term): Update names. + +2007-09-27 Stefan Monnier + + * sysdep.c (narrow_foreground_group, widen_foreground_group): Static. + (init_sys_modes): Check that gpm_tty is the current tty. + + * alloc.c (allocate_terminal): Set the vector size to only count the + lisp fields. Initialize those to nil. + (mark_object): Don't treat terminals specially. + (mark_terminal): Remove. + (mark_terminals): Use mark_object instead. + + * termhooks.h (struct terminal): Move all Lisp_Object fields traced by + the GC to the beginning. + + * indent.h: + * indent.c: Use EMACS_INT for ints coming from Elisp data. + + * indent.c (Fmove_to_column): Use EMACS_INT for buffer positions. + +2007-09-25 Jason Rumney + + * frame.c (make_terminal_frame): Remove special case for WINDOWSNT. + + * w32console.c (create_w32cons_output): Remove. + + * term.c (init_tty): Call init_sys_modes on WINDOWSNT also. + + * sysdep.c (init_sys_modes): Use set_terminal_modes_hook. + (reset_sys_modes): Use reset_terminal_modes_hook. + +2007-09-24 Stefan Monnier + + * eval.c (do_autoload): Don't output any message. + +2007-09-24 Juri Linkov + + * emacs.c (standard_args): Change priority of "--no-splash" + from 40 to 3. Add "--no-desktop" with the same priority. + +2007-09-23 Dmitry Antipov + + * alloc.c (gc_sweep): Check cons cell mark bits word by word + and optimize the case where they are all 1. + +2007-09-23 Johannes Weiner + + * lisp.h (abs): Define if not defined. + * keyboard.c, sound.c, w32term.c, xfaces.c, xterm.c: + Don't define `abs', since it's defined in lisp.h. + +2007-09-22 Eli Zaretskii + + * term.c (DEV_TTY): New macro. Provide a definition for MS-Windows. + (FRAME_TERMCAP_P) [WINDOWSNT]: Don't define to zero. + (Fcontrolling_tty_p, Fresume_tty, dissociate_if_controlling_tty) + (init_tty): Use DEV_TTY instead of "/dev/tty". + [WINDOWSNT]: No need to protect from NAME arg being null. + +2007-09-21 Dan Nicolaescu + + * term.c (Fsuspend_tty): Run suspend-tty-functions before cleaning + up the tty state. + +2007-09-21 Stefan Monnier + + * termhooks.h (term_gpm): Delete. Use gpm_tty's NULLness instead. + (gpm_tty): Change its type. + * term.c (term_gpm): Delete. Use gpm_tty's NULLness instead. + (gpm_tty): Change its type and initialize it. + (Fterm_open_connection): Check the frame is indeed a tty. + Use the new gpm_tty. + (Fterm_close_connection): Use the new gpm_tty. + * keyboard.c (tty_read_avail_input): Use the new gpm_tty. + * sysdep.c (init_sys_modes): term_gpm -> gpm_tty. + +2007-09-21 Juanma Barranquero + + * w32term.c (x_draw_glyph_string): Use strike_through_color, not + underline_color, to draw strike-through. + 2007-09-21 Stefan Monnier * lisp.h (allocate_terminal): Declare. @@ -434,7 +828,7 @@ * keyboard.c (restore_kboard_configuration): Only define when MULTI_KBOARD defined. - * makefile.w32-in: Update dependancies from Makefile.in + * makefile.w32-in: Update dependancies from Makefile.in. (OBJ1): Add terminal.$(O) * term.c (dissociate_if_controlling_tty) [WINDOWSNT]: @@ -984,7 +1378,7 @@ 2007-08-24 YAMAMOTO Mitsuharu - * mac.c [MAC_OSX] (select_and_poll_event, sys_select): Fix last changes. + * mac.c [MAC_OSX] (select_and_poll_event, sys_select): Fix last changes. 2007-08-24 Martin Rudalics @@ -1378,6 +1772,10 @@ customizable variable. Rather explicitly check whether the height of the window that shall be splitted is at least as large as split_height_threshold. + (Fwindow_full_width_p): New defun. + (syms_of_window): Defsubr it. + + * window.h: Add EXFUN for Fwindow_full_width_p. 2007-07-14 Jason Rumney @@ -1869,6 +2267,229 @@ * window.c (Fshrink_window): Reflow docstring. +2007-06-02 Chong Yidong + + * Version 22.1 released. + +2007-06-01 Richard Stallman + + * xfns.c (x_encode_text): Add GCPRO. + +2007-06-01 YAMAMOTO Mitsuharu + + * xfns.c (x_set_name_internal): Save encoded name before + x_encode_text in case string data is relocated. + +2007-05-31 Richard Stallman + + * buffer.c (syms_of_buffer): Doc fix. + +2007-05-30 Nick Roberts + + * sysdep.c (init_sys_modes): Add rather than replace with + O_NONBLOCK. + + * frame.c [HAVE_GPM] (Fset_mouse_pixel_position): Add call to + term_mouse_moveto. + + * termhooks.h (term_mouse_moveto): New extern. + + * term.c (mouse_face_window): Rename... + (Qmouse_face_window): ...to this. + (term_show_mouse_face, term_clear_mouse_face) + (term_mouse_highlight): Use Qmouse_face_window. + (term_mouse_moveto): New function. + (term_mouse_position): Make it work. + (syms_of_term): Uncomment assignment to mouse_position_hook. + Staticpro Qmouse_face_window. + +2007-05-28 YAMAMOTO Mitsuharu + + * xdisp.c (redisplay_internal): Bind inhibit-point-motion-hooks to t + around current_column call. + +2007-05-26 Dan Nicolaescu + + * xfaces.c (syms_of_xfaces): Delete stray semicolon. + * xdisp.c (next_element_from_buffer): + * window.c (delete_window): + * term.c (term_mouse_highlight): + * msdos.c (getdefdir): + * macterm.c (mac_create_bitmap_from_bitmap_data) + (init_font_name_table): + * fns.c (Fsxhash): + * data.c (Fmake_local_variable): + * ccl.c (ccl_driver): Likewise. + +2007-05-24 YAMAMOTO Mitsuharu + + * macterm.c [USE_CARBON_EVENTS] (mac_handle_window_event): + Call mac_wakeup_from_rne on window size change. + +2007-05-25 Chong Yidong + + * image.c (uncache_image): Fix typo. + +2007-05-23 Johannes Weiner (tiny change) + + * keyboard.c (make_lispy_movement): Condition on HAVE_GPM too. + +2007-05-22 Richard Stallman + + * xterm.c (x_connection_closed): Remove NO_RETURN. + +2007-05-22 Martin Rudalics + + * syntax.c (scan_words): Fix arg to UPDATE_SYNTAX_TABLE_BACKWARD. + +2007-05-21 Chong Yidong + + * image.c (uncache_image): New function. + (Fimage_refresh): New function. + +2007-05-20 Jan Dj,Ad(Brv + + * Makefile.in: Move GPM check outside HAVE_X_WINDOWS. + +2007-05-20 Nick Roberts + + * config.in, keyboard.c, Makefile.in, sysdep.c, term.c, + * termhooks.h: Use HAVE_GPM instead of HAVE_GPM_H. + +2007-05-20 Nick Roberts + + * keyboard.c (make_lispy_event): Make case GPM_CLICK_EVENT + conditional on [HAVE_GPM_H]. + +2007-05-19 Stefan Monnier + + * syntax.c (skip_chars): Update syntax-table only after we checked that + the new location is valid. + +2007-05-19 YAMAMOTO Mitsuharu + + * macterm.c (x_calc_absolute_position): Add BLOCK_INPUT around + mac_get_window_bounds. + +2007-05-20 Nick Roberts + + * Makefile.in (LIBGPM): Allow it to be set from configure. + If set then link Emacs with it. + + * config.in: Regenerate. + + * lisp.h (add_gpm_wait_descriptor, delete_gpm_wait_descriptor): + New externs. + + * termhooks.h [HAVE_GPM_H] (enum event_kind): Add GPM_CLICK_EVENT. + Include gpm.h. + (handle_one_term_event, term_gpm): New externs. + + * sysdep.c [HAVE_GPM_H] (init_sys_modes): Make gpm_fd nonblocking + and allow it to be interrupted by SIGIO. + + * process.c (gpm_wait_mask, max_gpm_desc): New variables. + (wait_reading_process_output): Wait on gpm_fd too. + (add_gpm_wait_descriptor, delete_gpm_wait_descriptor)): New functions. + (add_gpm_wait_descriptor_called_flag): New variable. + (delete_keyboard_wait_descriptor): Check gpm_wait_mask. + + * keyboard.c [HAVE_GPM_H] (Qmouse_fixup_help_message) + (make_lispy_movement, tracking_off, Ftrack_mouse, some_mouse_moved) + (show_help_echo, readable_events, kbd_buffer_get_event, init_keyboard): + Extend HAVE_MOUSE ifdefs to HAVE_GPM_H. + (make_lispy_event): Add case GPM_CLICK_EVENT. + (read_avail_input): Handle mouse input. + + * term.c (write_glyphs_with_face): New function. + [HAVE_GPM_H]: Include buffer.h, sys/fcntl.h. + (mouse_face_beg_row, mouse_face_beg_col, mouse_face_end_row) + (mouse_face_end_col, mouse_face_past_end, mouse_face_window) + (mouse_face_face_id, term_gpm, pos_x, pos_y) + (last_mouse_x, last_mouse_y): New variables. + (term_show_mouse_face, term_clear_mouse_face, fast_find_position) + (term_mouse_highlight, term_mouse_movement, term_mouse_position) + (term_mouse_click, handle_one_term_event, Fterm_open_connection) + (Fterm_close_connection): New functions. + (term_init): Initialise mouse_face_window. + +2007-05-19 Chong Yidong + + * xdisp.c (redisplay_window): If first window line is a + continuation line, recompute the new window start instead of + recentering. + +2007-05-18 Glenn Morris + + * m/alpha.h (ORDINARY_LINK): No longer define on OpenBSD. + Suggested by Alfred M. Szmidt . + +2007-05-17 Glenn Morris + + * m/macppc.h (ORDINARY_LINK): No longer define on OpenBSD. + +2007-05-16 YAMAMOTO Mitsuharu + + * macterm.c [USE_CARBON_EVENTS] (mac_convert_event_ref): Also convert + dead key repeat and up events. + +2007-05-14 Chong Yidong + + * image.c (pbm_load): Check image size for monochrome pbm. + +2007-05-13 Chong Yidong + + * xterm.c (XTread_socket): Revert last change. + +2007-05-12 Chong Yidong + + * image.c (pbm_load): Correctly check image size for greyscale pbm. + + * xterm.c (XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC). + +2007-05-07 Stefan Monnier + + * editfns.c (Ftranspose_regions): Yet another int/Lisp_Object + mixup (YAILOM). + +2007-05-07 Andreas Schwab + + * keymap.c (Flookup_key): Fix typo in last change. + +2007-05-07 Stefan Monnier + + * keymap.c (Fdefine_key, Flookup_key): Only do the 0x80->meta_modifier + mapping for unibyte strings. + +2007-05-01 YAMAMOTO Mitsuharu + + * macmenu.c (mac_dialog_show): Apply 2007-04-27 change for xmenu.c. + (Fx_popup_dialog) [MAC_OSX]: Likewise. + +2007-04-29 Richard Stallman + + * insdel.c (replace_range): For undo, record insertion first. + +2007-04-29 Andreas Schwab + + * lisp.h (VECSIZE): Use OFFSETOF. + +2007-04-29 YAMAMOTO Mitsuharu + + * xdisp.c (try_window_reusing_current_matrix): Fix number of + disabled lines. + +2007-04-28 Richard Stallman + + * lread.c (read_escape): In a string, \s is always space. + +2007-04-27 Jan Dj,Ad(Brv + + * xmenu.c (xdialog_show): Call Fredisplay before showing the dialog. + + * gtkutil.c (xg_update_menubar, create_menus): Create empty + submenu for menu bar items. + See ChangeLog.10 for earlier changes. ;; Local Variables: