X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/852eef401e10169543ab8c12a631effe6d6856df..43dc73f18fb590168face8211d9e434455e2df33:/src/ChangeLog diff --git a/src/ChangeLog b/src/ChangeLog index 492b70b3d1..9be130c46f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,602 @@ +2002-05-31 Eli Zaretskii + + * xfns.c (x_encode_text): Return stringp non-NULL if coding_system + is Qcompound_text_with_extensions. + + * xselect.c (lisp_data_to_selection_data): Always set selection + type as string if x_encode_text returns streingp non-NULL. + + * s/netbsd.h: Include /usr/pkg in the run time shared library path. + +2002-05-30 Richard M. Stallman + + * window.c (Fset_window_configuration): Correct the handling + of point in current buffer, to work with multiple windows. + +2002-05-29 Colin Walters + + * lread.c (Fread_from_string): Don't depend on order of evaluation + for C function parameters. + +2002-05-28 Richard M. Stallman + + * xterm.c (x_display_and_set_cursor): Change the cursor in the same + way for blinked-off state and for a nonselected window. + + * window.c (window_scroll_pixel_based): Don't call Fbolp; + instead, see if the new start pos is at beginning of line. + + * fileio.c (Fwrite_region): If START is a string, don't + make any annotations. + + * eval.c (syms_of_eval): Doc fix. + +2002-05-28 Colin Walters + + * emacs.c (USAGE1): Add --no-splash. + (standard_args): Ditto. + +2002-05-28 Colin Walters + + * lread.c (readchar_count): New variable. + (readchar): Increment it. + (unreadchar): Decrement it. + (read_multibyte): Decrement it. + (Vread_with_symbol_positions): New variable. + (Vread_symbol_positions_list): New variable. + (read_internal_start): New function, created from Fread and + Fread_from_string. Handle Vread_symbol_positions_list and + Vread_with_symbol_positions. + (readevalloop, Fread, Fread_from_string): Use it. + (read1): Use readchar_count to add symbol positions to + Vread_symbol_positions_list if Vread_with_symbol_positions is + non-nil. + (syms_of_lread): DEFVAR_LISP and initialize them. + + * lread.c (read0, read1, read_list, read_vector, read_multibyte) + (substitute_object_recurse, substitute_object_in_subtree) + (substitute_in_interval): Prototype. + (read_multibyte): Return c if it's less than zero. + +2002-05-28 Kim F. Storm + + * fileio.c (Fread_file_name_internal): Added brute-force + speed up for using predicate file-directory-p. + +2002-05-28 Kim F. Storm + + * fileio.c (Vread_file_name_function, Vread_file_name_predicate): + New variables. + (syms_of_fileio): DEFVAR_LISP them. + (read_file_name_cleanup): New unwind function. + (Fread_file_name_internal): Only return completions satifying + Vread_file_name_predicate. Temporarily unwind protect and rebind + default-directory while checking completions against the predicate. + (Fread_file_name): Added PREDICATE argument. Specbind it to + Vread_file_name_predicate during completion. + Call Vread_file_name_function to read the file name if non-nil. + + * lisp.h (Fread_file_name): Now has 6 args. + + * callint.c (Fcall_interactively) <"D">: Supply Qfile_directory_p + predicate for Fread_file_name when reading directory name. + Supply Qnil for predicate in other calls to Fread_file_name. + +2002-05-26 Miles Bader + + * term.c (tty_capable_p): New function. + * dispextern.h (tty_capable_p): New function declaration. + (TTY_CAP_INVERSE, TTY_CAP_UNDERLINE, TTY_CAP_BOLD, TTY_CAP_DIM) + (TTY_CAP_BLINK, TTY_CAP_ALT_CHARSET): New macros. + +2002-05-23 Stefan Monnier + + * fileio.c (read_non_regular, Finsert_file_contents): Use BEG_BYTE. + (Finsert_file_contents, build_annotations): Use XCAR, XCDR. + (Vwrite_region_annotate_functions): Docstring fix. + +2002-05-23 Kim F. Storm + + * xterm.c (x_write_glyphs): Clear phys_cursor_on_p if current + phys_cursor's hpos is overwritten. This is still not completely + correct, as it doesn't really make sense to use hpos at all to + get the cursor glyph (as that is relative to the width of the + characters on the line, which may have changed during the update). + +2002-05-22 Jason Rumney + + * w32fns.c (enumfont_t): Remove tail, make pattern a normal + Lisp_Object. + (enum_font_cb2, enum_font_maybe_add_to_list, w32_list_fonts): + Use modified enumfont_t struct. + + * w32term.h (text_cursor_kinds): New enumeration member HBAR_CURSOR. + + * w32term.c (x_draw_bar_cursor): New argument KIND; callers changed. + Handle the `hbar' cursor type. + (x_display_and_set_cursor): Handle the HBAR_CURSOR case. + + * w32fns.c (Qhbar): New variable. + (x_specified_cursor_type): Use it. + +2002-05-21 Ken Raeburn + + * w32fns.c (enum_font_maybe_add_to_list): Use XCDR_AS_LVALUE for + now, when the address is needed. + +2002-05-21 Colin Walters + + * Makefile.in (shortlisp): Add font-core.el. + +2002-05-20 Richard M. Stallman + + * buffer.c (syms_of_buffer) : Doc fix. + + * keyboard.c (read_char_minibuf_menu_prompt): Don't list + equivalent key bindings here. + +2002-05-20 Ken Raeburn + + Change symbol structure to contain a lisp object for the symbol + name: + * lisp.h (struct Lisp_Symbol): Replace field "name" with a lisp + object field named "xname". + (SYMBOL_NAME): New macro. + * abbrev.c (write_abbrev): Use SYMBOL_NAME instead of XSYMBOL and + name field. + * alloc.c (Fmake_symbol): Set symbol xname field instead of name. + (mark_object, gc_sweep): Use symbol xname field and XSTRING + instead of name field. + * buffer.c (buffer_slot_type_mismatch): Use XSTRING and + SYMBOL_NAME instead of XSYMBOL and name field. + * callint.c (Fcall_interactively): Use XSTRING and SYMBOL_NAME + instead of XSYMBOL and name field. + * charset.c (Fdefine_charset, Fdeclare_equiv_charset): Use XSTRING + and SYMBOL_NAME instead of XSYMBOL and name field. + * coding.c (Fread_coding_system, code_convert_region1) + (code_convert_string1, code_convert_string_norecord) + (Ffind_operation_coding_system): Use SYMBOL_NAME instead of + XSYMBOL and name field. + * data.c (Fkeywordp, Fsymbol_name, store_symval_forwarding) + (Fmake_variable_buffer_local, Fmake_local_variable) + (Fmake_variable_frame_local): Use SYMBOL_NAME and XSTRING instead + of XSYMBOL and name field. + * editfns.c (Fformat): Use SYMBOL_NAME and XSTRING instead of + XSYMBOL and name field. + * emacs.c (shut_down_emacs) [#if 0]: Use SYMBOL_NAME and XSTRING + instead of XSYMBOL and name field. + * eval.c (do_autoload): Use SYMBOL_NAME and XSTRING instead of + XSYMBOL and name field. + * fns.c (Fstring_equal, Fstring_lessp, Frequire, sxhash): + Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. + * fontset.c (Fset_fontset_font): Use SYMBOL_NAME and XSTRING + instead of XSYMBOL and name field. + * keyboard.c (echo_char, record_char, parse_modifiers_uncached) + (parse_modifiers, apply_modifiers, Fevent_convert_list) + (parse_solitary_modifier, Fexecute_extended_command): + Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. + * keymap.c (silly_event_symbol_error, Fsingle_key_description) + (Fdescribe_buffer_bindings): Use SYMBOL_NAME and XSTRING instead + of XSYMBOL and name field. + (describe_command, describe_translation): Use SYMBOL_NAME and + assignment instead of XSYMBOL and name field and XSETSTRING. + * lread.c (Fintern_soft, oblookup): Use SYMBOL_NAME and XSTRING + instead of XSYMBOL and name field. + (Funintern): Use SYMBOL_NAME and assignment instead of XSYMBOL and + name field and XSETSTRING. + * macfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead + of XSYMBOL and name field. + * minibuf.c (Fread_command, Fread_variable): Use SYMBOL_NAME and + assignment instead of XSYMBOL and name field and XSETSTRING. + * print.c (print_error_message, print_object): Use SYMBOL_NAME and + XSTRING instead of XSYMBOL and name field. + * process.c (set_socket_options, Fsignal_process): Use SYMBOL_NAME + and XSTRING instead of XSYMBOL and name field. + * w32fns.c (parse_image_spec, w32_parse_hot_key): Use SYMBOL_NAME + and XSTRING instead of XSYMBOL and name field. + * xfaces.c (merge_face_vector_with_property): Use SYMBOL_NAME and + XSTRING instead of XSYMBOL and name field. + * xfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead + of XSYMBOL and name field. + * xselect.c (symbol_to_x_atom, x_get_foreign_selection): + Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. + +2002-05-19 Ken Raeburn + + * lisp.h (LISP_MAKE_RVALUE): Delete disabled version, making XCAR + and XCDR real rvalues in most configurations. + + * buffer.c (fix_overlays_in_range, fix_overlays_before): + Don't take the address of the cdr part of a cons cell; instead, track + the parent cell and call XSETCDR, or set the variable for the head + of the list if we haven't started down the list yet. + +2002-05-19 Richard M. Stallman + + * doc.c (reread_doc_file): Don't ask for confirmation. + +2002-05-18 Jason Rumney + + * w32fns.c (w32_create_pixmap_from_bitmap_data): New function. + (xbm_load_image): Use it. + (xbm_load): Ditto. + (xbm_read_bitmap_data): Reverted to xfns.c version. + From David Ponce . + +2002-05-17 Eli Zaretskii + + * msdos.c (sig_suspender, sigprocmask): Don't define for DJGPP + 2.02 and later. + +2002-05-16 Juanma Barranquero + + * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector): Fix typo. + +2002-05-15 Stefan Monnier + + * keyboard.c (read_char_x_menu_prompt): Use an equivalent but more + meaningful test. + (read_char_minibuf_menu_prompt): Fix typo. + +2002-05-15 Eli Zaretskii + + * eval.c (Fcommandp): Doc fix. + +2002-05-13 Stefan Monnier + + * keymap.c (keymap_parent): New fun, extracted from Fkeymap_parent. + (Fkeymap_parent, keymap_memberp, fix_submap_inheritance): Use it. + (Fset_keymap_parent): Gcpro a bit more. + (access_keymap): Gcpro around meta_map call and around the main loop. + (get_keyelt): Gcpro when following indirect references. + (copy_keymap_item): New fun, extracted from Fcopy_keymap. + (copy_keymap_1, Fcopy_keymap): Use it. Don't copy the parent map. + (Fdefine_key, Flookup_key): Gcpro before calling get_keymap. + Remove useless ad-hoc remap code. + +2002-05-13 Richard M. Stallman + + * search.c (search_buffer): Give up boyer moore search if inverse + translation change charset_base. + +2002-05-12 Eli Zaretskii + + * coding.c (decode_coding) : If a lone CR + characters is carried over from the previous block of text, adjust + coding->produced to account for the extra character. + +2002-05-11 Andreas Schwab + + * coding.c (intersection): Keep the elements of the returned list + in the same order as in the first list. + +2002-05-11 Kim F. Storm + + * keymap.c (current_minor_maps): Fixed resizing of cmm_maps; + only update cmm_size if realloc actually succeeds. + Testing with initial size of 2 elements revealed that using + realloc on GNU/Linux would cause a random trap in xmalloc + later on, so I rewrote the code to use malloc/bcopy/free instead + of realloc. + +2002-05-10 Jason Rumney + + * w32fns.c (enum_font_cb2): Avoid DBCS raster fonts. + +2002-05-10 Eli Zaretskii + + * coding.c (encode_coding_sjis_big5): Enclose bitwise AND in + parens, to ensure correct evaluation order. + +2002-05-10 Kim F. Storm + + * keymap.c (Vemulation_mode_map_alists): New variable. + (syms_of_keymap): DEFVAR_LISP it. + (current_minor_maps): Process keymap alists in that list before + minor-mode-overriding-map-alist and minor-mode-map-alist. + +2002-05-09 Richard M. Stallman + + * search.c (Freplace_match): Doc fix. + +2002-05-09 Kim F. Storm + + * macterm.c (x_draw_image_foreground, x_draw_image_foreground_1): + Enlarge cursor rectangle drawn around image with non-zero relief. + + * w32term.c (x_draw_image_foreground, w32_draw_image_foreground_1): + Enlarge cursor rectangle drawn around image with non-zero relief. + + * xterm.c (x_draw_image_foreground, x_draw_image_foreground_1): + Enlarge cursor rectangle drawn around image with non-zero relief. + +2002-05-07 Eli Zaretskii + + * xselect.c (lisp_data_to_selection_data): Don't set selection + type if comes from the Lisp object's car. If the selection + contains a pure ASCII text, always return QSTRING as its type. + +2002-05-06 Pavel Jan,Bm(Bk + + * mac.c (mac-cut-function): Doc fix. + +2002-05-05 Richard M. Stallman + + * s/gnu.h [DOUG_LEA_MALLOC] (REL_ALLOC): Undefine it. + +2002-05-04 Jason Rumney + + * keyboard.c (make_lispy_event) : Set count to 1 + for event-click-count. + + * process.c (init_process): Only add server subfeature if we can + use non-blocking I/O. + +2002-05-04 Andrew Choi + + * macterm.c (XTread_socket): Call WaitNextEvent once instead of + repeatedly. + +2002-05-03 Jason Rumney + + * process.c (Fmake_network_process): Only support server sockets + when we can make them non-blocking. + + * s/ms-w32.h (HAVE_SELECT): Define. + + * w32.h (FILE_NDELAY): New flag. + + * w32.c (sys_getpeername, fcntl): New functions. + (_sys_read_ahead): Temporarily block on non-blocking sockets. + + * w32proc.c: include sys/file.h. + +2002-05-03 Colin Walters + + * callproc.c (Vgame_score_directory): Renamed to + Vshared_game_score_directory. + +2002-04-30 Richard M. Stallman + + * s/gnu.h [emacs]: Include stdio.h. + (GNU_LIBRARY_PENDING_OUTPUT_COUNT): New definition, conditional. + + * eval.c (do_autoload): Error if called while preparing to dump. + + * fns.c (Frequire): Error if need to load while preparing to dump. + +2002-04-28 Colin Walters + + * callproc.c (Vgame_score_directory) [!HAVE_SHARED_GAME_DIR]: + Default to "~/.emacs.d/games". + +2002-04-29 Stefan Monnier + + * lread.c (openp): Change arg exec_only to predicate. + (build_load_history): Use XCAR/XCDR. + (Flocate_file_internal): New fun. + (syms_of_lread): Defsubr it. + (Fload): Update call to openp. + + * lisp.h (openp): Update prototype. + + * xfns.c (x_create_bitmap_from_file, x_find_image_file): + * w32proc.c (sys_spawnve): + * w32fns.c (x_create_bitmap_from_file, x_find_image_file): + * w32.c (check_windows_init_file): + * sound.c (Fplay_sound_internal): + * process.c (Fstart_process): + * macfns.c (x_create_bitmap_from_file, x_find_image_file): + * mac.c (run_mac_command): + * emacs.c (init_cmdargs): + * callproc.c (Fcall_process): Update call to openp. + + * textprop.c (remove_properties): Don't use XCAR without CONSP. + + * xterm.c (XTread_socket): Disable the Xutf8LookupString code. + +2002-04-29 Pavel Jan,Bm(Bk + + * dispextern.h (DEFAULT_TOOL_BAR_BUTTON_MARGIN) + (DEFAULT_TOOL_BAR_BUTTON_RELIEF): Change default values. + +2002-04-28 Richard M. Stallman + + * minibuf.c (Fall_completions, Ftry_completion): New arg to Fcommandp. + + * eval.c (Fcommandp): New arg for_call_interactively. + * lisp.h (Fcommandp): Declare new arg. + +2002-04-28 Jason Rumney + + * w32proc.c (syms_of_w32proc): Get true file attributes by default. + + * w32.c (stat, fstat): Use file index information to generate + inodes for directories where available. + +2002-04-26 Andrew Choi + + * Makefile.in (C_SWITCH_SYSTEM_TEMACS): Add. + [HAVE_CARBON]: Include Mac object files. + + * alloc.c, callproc.c, dispextern.h, dispnew.c, emacs.c, + fontset.c, frame.c, frame.h, keyboard.c, sysdep.c, term.c, + termcap.c, window.c, xdisp.c, xfaces.c: Use macros MAC_OS8, + MAC_OSX, and MAC_OS instead of macintosh. + + * editfns.c [MAC_OS8]: Include stdio.h. + + * emacs.c [MAC_OS8]: Call mac_initialize instead of x_term_init. + + * fontset.c [MAC_OS]: Set Vdefault_fontset to ETL Fixed instead of + Apple Monaco. + + * process.c: Declare QCfamily and QCfilter as extern. + (wait_reading_process_input) [MAC_OSX]: Clear bit for stdin before + calling select. + + * termcap.c [MAC_OSX]: Don't define tgetnum, PC, tputs, and tgetent. + + * tparam.c [MAC_OSX]: Don't define BC and UP. + + * config.in [HAVE_CARBON]: Add. + + * mac.c, macgui.h, macfns.c, macmenu.c, macterm.c, macterm.h: + Move here from mac/src and mac/inc. + + * s/darwin.h, m/powermac.h, unexmacosx.c: New files. + +2002-04-26 Gerd Moellmann + + * xterm.c (x_draw_phys_cursor_glyph): Undo last change. + Compute phys_cursor_width from the x position returned + by x_draw_glyhs, which is cheaper. + (x_display_and_set_cursor): Compute the buffer-local value + of `cursor-in-non-selected-windows' only when needed. + +2002-04-25 Gerd Moellmann + + * xterm.c (x_draw_phys_cursor_glyph): Take into account that a box + cursor on a stretch glyph has a width that depends on + x_stretch_cursor_p. + +2002-04-25 Pavel Jan,Bm(Bk + + * abbrev.c (abbrev-start-location): Doc fix. + + * indent.c (Fvertical_motion): Fix last change. + +2002-04-25 Gerd Moellmann + + * indent.c (Fvertical_motion): Move to the start of the line + containing PT before moving up or down. + +2002-04-24 Gerd Moellmann + + * dispnew.c (update_text_area): Set phys_cursor_on_p to 0 in the + case of writing a whole row, more or less analogous to the case of + writing only parts of a row. + + * xterm.c (x_display_and_set_cursor): Set phys_cursor_width to + 0 for NO_CURSOR. + + * xterm.c (notice_overwritten_cursor): Fix an off by 1 error. + +2002-04-23 Colin Walters + + * buffer.c (syms_of_buffer): Doc fix. + +2002-04-23 Gerd Moellmann + + * xterm.c (notice_overwritten_cursor): Handle the special case + of the cursor being in the first blank non-text line at the + end of a window. + + * xterm.c (x_draw_hollow_cursor, x_draw_bar_cursor) + (x_draw_phys_cursor_glyph): Set phys_cursor_width here. + (x_display_and_set_cursor): Don't set phys_cursor_width here, for + bar cursors only, to make phys_cursor_width contain what its name + suggests. + (notice_overwritten_cursor): Consider the cursor image erased if + the output area intersects the cursor image in y-direction. + +2002-04-23 Simon Marshall + + * xfns.c (x_set_mouse_color): Change default for cross_cursor + to XC_hand2. + +2002-04-23 Pavel Jan,Bm(Bk + + * xdisp.c: Remove unused global variable `minibuf_prompt_pixel_width'. + +2002-04-22 Kim F. Storm + + * textprop.c (remove_properties): Fixed trap for malformed plist. + +2002-04-22 Richard M. Stallman + + * cmds.c (Fend_of_line): Handle intangible text in mid line. + + * window.c (make_window): Initialize height_fixed_p, + last_cursor_off_p, and p->cursor_off_p slots. + +2002-04-20 Pavel Jan,Bm(Bk + + * fns.c (use-dialog-box): Doc fix. + +2002-04-19 Pavel Jan,Bm(Bk + + * xterm.c (note_mode_line_or_margin_highlight): Remove unused + variables `row', `i' and `area'. + (XTread_socket) : Pass KeyPress events when in menu to + toolkit library. + +2002-04-19 Stefan Monnier + + * xfaces.c (clear_font_table): Don't free the default font of + a frame even if it's on another display. + (Finternal_set_lisp_face_attribute): Don't use XFRAME on something + that could be Qt. + +2002-04-19 Juanma Barranquero + + * indent.c (Fmove_to_column): Remove unused local variable + `next_boundary_byte'. + (current_column_1): Likewise. + +2002-04-19 Eli Zaretskii + + * msdos.c (Qhbar): New variable. + (syms_of_msdos): Intern and staticpro it. + (IT_set_cursor_type, IT_set_frame_parameters): Handle the `hbar' + cursor type. + +2002-04-19 Dave Lambert + + Theses change implement an underscore-like (`hbar') cursor. + + * xterm.h (text_cursor_kinds): New enumeration member HBAR_CURSOR. + + * xterm.c (x_draw_bar_cursor): New argument KIND; callers changed. + Handle the `hbar' cursor type. + (x_display_and_set_cursor): Handle the HBAR_CURSOR case. + + * xfns.c (Qhbar): New variable. + (syms_of_xfns): Intern and staticpro it. + (x_specified_cursor_type): Handle `hbar' cursor. + + * s/sol2-5.h (bcopy, bzero, bcmp): Define only if HAVE_BCOPY is + not defined. + +2002-04-18 Richard M. Stallman + + * textprop.c (remove_properties): New arg LIST allows scanning + either a list or a plist. + (interval_has_some_properties_list): New function, like + interval_has_some_properties using list instead of plist. + All callers changed. + (Fremove_list_of_text_properties): New function. + (syms_of_textprop): Defsubr it. + +2002-04-17 Eli Zaretskii + + * s/sol2.h (HAVE_LIBKSTAT): Define only if not already defined. + +2002-04-17 Juanma Barranquero + + * indent.c (Fmove_to_column): Remove unused local variable `end_byte'. + +2002-04-17 Eli Zaretskii + + * window.c (coordinates_in_window): Don't report on margin area + if its width is zero. + +2002-04-16 Jason Rumney + + * w32fns.c (Fx_file_dialog): Decode file name before using. + + * w32term.c (construct_drag_n_drop): Likewise. + 2002-04-16 Eli Zaretskii * puresize.h (BASE_PURESIZE): Increase to 830000, since we now