aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *** empty log message ***Gerd Moellmann1999-12-251-0/+5
|
* (looking_at_1): Reset immediate_quit before modifyingGerd Moellmann1999-12-251-1/+2
| | | | global data.
* (read_process_output): Fix the arg FROM toKenichi Handa1999-12-241-1/+1
| | | | update_compositions.
* *** empty log message ***Kenichi Handa1999-12-241-0/+5
|
* (Freplace_match): For nonliteral replacement,Richard M. Stallman1999-12-231-14/+53
| | | | construct all the new text first, then insert all at once.
* *** empty log message ***Dave Love1999-12-221-0/+4
|
* (Fx_show_tip): Gcpro `timeout' too.Dave Love1999-12-221-2/+2
|
* (Fx_create_frame): Move x_default_parameter calls thatGerd Moellmann1999-12-222-3/+6
| | | | lead to size changes to after the X window has been created.
* (realize_x_face): Don't use uninitialized localGerd Moellmann1999-12-222-3/+3
| | | | variable in xassert.
* (clear_font_table): Don't use uninitialized localGerd Moellmann1999-12-222-2/+7
| | | | variable in xassert.
* (face_color_supported_p): Check by tty_defined_colorKenichi Handa1999-12-222-9/+14
| | | | only when the frame is not window.
* *** empty log message ***Gerd Moellmann1999-12-221-0/+3
|
* (Fset_buffer_multibyte): Arrange for a thoroughGerd Moellmann1999-12-221-2/+10
| | | | redisplay after changing the multibyteness of a buffer.
* (XTread_socket): At the beginning of the loop, pass theGerd Moellmann1999-12-222-9/+18
| | | | | | | frame's X window to XFilterEvent instead of None because that's the X window for which the IC was created. This makes dead accents work when the pointer is not in Emacs' frame. (XTread_socket) <KeyPress>: Don't call XFilterEvent here.
* (Fx_show_tip): Add missing UNGCPRO.Dave Love1999-12-202-1/+6
|
* (Fcompleting_read): Rename arg INIT to INITIAL_INPUT.Richard M. Stallman1999-12-191-3/+5
|
* *** empty log message ***Gerd Moellmann1999-12-191-0/+6
|
* (debugger_may_continue): New variable.Gerd Moellmann1999-12-191-1/+15
| | | | | (syms_of_eval): Add a DEFVAR_BOOL for it. (call_debugger): Bind it.
* (IT_set_face): Don't swap face colors when highlight orEli Zaretskii1999-12-192-29/+48
| | | | | | | | | | fp->tty_reverse_p is set, unless the computed colors are identical to frame colors. Print both original and computed colors to termscript file. (IT_write_glyphs): Track the changes in handling of composite characters. (IT_set_frame_parameters): Don't set frame colors from unspecified-fg and unspecified-bg pseudo-colors.
* *** empty log message ***Dave Love1999-12-171-0/+5
|
* (Fkeywordp): New function.Dave Love1999-12-171-1/+20
| | | | (syms_of_data): Install it.
* (tty_defined_color): Fix last change.Eli Zaretskii1999-12-162-1/+5
|
* (BUILD_GLYPH_STRINGS): For pcc, remove continuation in arg list.Dave Love1999-12-151-2/+1
|
* (redisplay_window) <optional new window start>: CheckGerd Moellmann1999-12-152-1/+8
| | | | that window start is in [BEGV..ZV].
* Copyright up-date.Dave Love1999-12-151-1/+1
|
* 1999-12-15 Kenichi Handa <handa@etl.go.jp>Dave Love1999-12-151-5/+46
| | | | | | | | | | | | | | * regex.c (regex_compile): Adjusted for the change of CHAR_STRING. 1999-12-04 Stefan Monnier <monnier@cs.yale.edu> * regex.c (regex_compile): Recognize *?, +? and ?? as non-greedy operators and handle them properly. * regex.h (RE_ALL_GREEDY): New option. (RE_UNMATCHED_RIGHT_PAREN_ORD): Moved to the end where alphabetic sorting would put it. (RE_SYNTAX_AWK, RE_SYNTAX_GREP, RE_SYNTAX_EGREP) (_RE_SYNTAX_POSIX_COMMON): Use the new option to keep old behavior.
* Changes for separate unspecified foreground and background colorsEli Zaretskii1999-12-157-29/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on character terminals: * dispextern.h (FACE_TTY_DEFAULT_FG_COLOR) (FACE_TTY_DEFAULT_BG_COLOR): New macros. * xfaces.c (Qunspecified_fg, Qunspecified_bg): New variables. (syms_of_xfaces): Initialize and staticpro them. (tty_defined_color): If the color name is unspecified-fg or unspecified-bg, return FACE_TTY_DEFAULT_FG_COLOR and FACE_TTY_DEFAULT_BG_COLOR, respectively, as the pixel value. (tty_color_name): If the color pixel value is either FACE_TTY_DEFAULT_FG_COLOR or FACE_TTY_DEFAULT_BG_COLOR, return Qunspecified_fg or Qunspecified_bg, respectively. (Finternal_set_lisp_face_attribute): Allow values Qunspecified_fg and Qunspecified_bg for foreground and background colors. (realize_default_face): If the foreground and background colors are not specified, default to Qunspecified_fg and Qunspecified_bg. (realize_tty_face): By default, set the face colors to FACE_TTY_DEFAULT_FG_COLOR and FACE_TTY_DEFAULT_BG_COLOR. [MSDOS]: Handle FACE_TTY_DEFAULT_FG_COLOR and FACE_TTY_DEFAULT_BG_COLOR when face colors are not defined. Reverse the colors if the default colors were reversed. * dispnew.c (init_display): Initialize the frame pixels of the initial frame to FACE_TTY_DEFAULT_FG_COLOR and FACE_TTY_DEFAULT_BG_COLOR. * term.c (turn_on_face): If the default fore- and background colors are reversed, enter inverse video mode. Don't send color escape sequences for unspecified foreground and background colors. (turn_off_face): Handle unspecified-fg and unspecified-bg colors. * dosfns.c (unspecified_colors): New variable. (msdos_stdcolor_idx): Handle unspecified-fg and unspecified-bg color names, return FACE_TTY_DEFAULT_FG_COLOR and FACE_TTY_DEFAULT_BG_COLOR, respectively. (msdos_stdcolor_name): Handle FACE_TTY_DEFAULT_FG_COLOR and FACE_TTY_DEFAULT_BG_COLOR, return Qunspecified_fg and Qunspecified_bg, respectively. * msdos.c (IT_set_face): Support FACE_TTY_DEFAULT_FG_COLOR and FACE_TTY_DEFAULT_BG_COLOR as pixel values. * faces.el (face-read-integer, read-face-attribute) (color-defined-p, color-values): Allow color values unspecified-fg and unspecified-bg, handle them as unspecified.
* (code_convert_region): Fix the secoding arg toKenichi Handa1999-12-152-1/+6
| | | | update_compositions.
* *** empty log message ***Kenichi Handa1999-12-151-0/+347
|
* (x_append_glyph): Setup members of struct glyph properlyKenichi Handa1999-12-151-395/+549
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for composition. (x_append_composite_glyph): New function. (VCENTER_BASELINE_OFFSET): New macro. (x_produce_glyphs): If it->what == IT_COMPOSITION, setup members of struct it for the composition. Cache pixel offsets in the struct composition. Delete codes for a composite character. Handle Vignore_relative_composition in composition code. (struct glyph_string): Delete member cmpcharp, add new member cmp. (x_set_cursor_gc): Check s->cmp, not s->cmpcharp. (x_compute_glyph_string_overhangs): Likewise. (x_get_glyph_overhangs): Delete codes for a composite character. (x_right_overwritten): Check s->cmp, not s->cmpcharp. (x_draw_glyph_string_background): Likewise. Delete codes for checking s->gidx for a composition. (x_draw_glyph_string_foreground): Delete code for a composite character. (x_draw_composite_glyph_string_foreground): New function. (x_draw_glyph_string_box): Check s->cmp, not s->cmpcharp. (x_draw_glyph_string): Handle the case of COMPOSITE_GLYPH. (struct work): Deleted. (x_fill_composite_glyph_string): Argument changed. Mostly rewritten for that. (x_fill_glyph_string): Don't check CHARSET_COMPOSITION. (BUILD_CHAR_GLYPH_STRINGS): Don't handle composition here. (BUILD_COMPOSITE_GLYPH_STRING): New macro. (BUILD_GLYPH_STRINGS): For composition, call BUILD_COMPOSITE_GLYPH_STRING. (x_new_font): Initialize f->output_data.x->baseline_offset, not f->output_data.x->font_baseline.
* (struct x_output): Change member font_baseline toKenichi Handa1999-12-151-2/+2
| | | | baseline_offset.
* (lisp_data_to_selection_data): Adjusted for the changeKenichi Handa1999-12-151-1/+1
| | | | for find_charset_in_str.
* Include intervals.h.Kenichi Handa1999-12-151-0/+6
| | | | (syms_of_xfns): Make `display' property nonsticky by default.
* (choose_face_fontset_font): Delete codes for aKenichi Handa1999-12-151-28/+18
| | | | | | composite character. (realize_x_face): Likewise. Change a place to set local variable `f' to avoid a bug of GCC 2.8.1 on Solaris.
* (it_props): Add an entry for composition.Kenichi Handa1999-12-151-22/+181
| | | | | | | | | | | | | | | | | | | (face_before_or_after_it_pos): For composition, check face of a character after the composition. (handle_composition_prop): New function. (get_next_display_element): Adjusted for the change of CHAR_STRING. (set_iterator_to_next): Handle the case that it->method == next_element_from_composition. (next_element_from_composition): New function. (message_dolog): Adjusted for the change of CHAR_STRING. (set_message_1): Likewise. (check_point_in_composition): New function. (reconsider_clip_changes): If point moved into or out of composition, set b->clip_changed to 1 to force updating of the screen. (disp_char_vector): Delete codes for a composite character. (decode_mode_spec_coding): Adjusted for the change of CHAR_STRING.
* (Frecenter): Clear all caches of compositions.Kenichi Handa1999-12-151-0/+5
|
* (Vtext_property_default_nonsticky): New variableKenichi Handa1999-12-151-0/+12
| | | | (syms_of_textprop): Declare it as a Lisp variable.
* (encode_terminal_code): Delete codes for a compositeKenichi Handa1999-12-151-21/+17
| | | | | | character. Adjusted for the change of CHAR_STRING. (produce_glyphs): When called, it->what can be IT_COMPOSITION. Delete codes for a composite character.
* (SYNTAX_ENTRY_INT): Delete codes for a compositeKenichi Handa1999-12-151-8/+6
| | | | character.
* (search_buffer): Adjusted for the change of CHAR_STRING.Kenichi Handa1999-12-151-5/+3
|
* Include composite.h.Kenichi Handa1999-12-151-0/+2
| | | | (read_process_output): Call update_compositions.
* (printchar): Adjusted for the change of CHAR_STRING.Kenichi Handa1999-12-151-3/+3
|
* (readchar): Adjusted for the change of CHAR_STRING.Kenichi Handa1999-12-151-67/+8
| | | | | | | | | | Delete a code that handles an invalid too-long multibyte sequence because we are now sure that we never encounter with such a sequence. (read_multibyte): Use macro MAX_MULTIBYTE_LENGTH, not MAX_LENGTH_OF_MULTI_BYTE_FORM. (init_obarray): Likewise. (read1): Likewise. Adjusted for the change of CHAR_STRING.
* (QCtest, QCweakness, Qequal): Extern them.Kenichi Handa1999-12-151-2/+5
| | | | | | (hash_put): Adjusted for the change of the definition. (signal_after_change): Likewise. (check_point_in_composition): Extern it.
* (push_key_description): Adjusted for the change ofKenichi Handa1999-12-151-10/+9
| | | | | CHAR_STRING. (Ftext_char_description): Likewise.
* (Vdisable_point_adjustment): New variable.Kenichi Handa1999-12-151-0/+93
| | | | | | | | (Vglobal_disable_point_adjustment): New variable. (syms_of_keyboard): Declare them as Lisp variables. (command_loop_1): Check them and call adjust_point_for_property if necessary. (adjust_point_for_property): New function.
* (adjust_intervals_for_insertion): To check stickinesKenichi Handa1999-12-151-29/+140
| | | | | | of properties, pay attention to text-property-default-nonsticky. (merge_properties_sticky): Likewise. (get_property_and_range): New function.
* Include composite.h.Kenichi Handa1999-12-151-0/+7
| | | | | (get_property_and_range): Extern it. (Vtext_property_default_nonsticky): Extern it.
* (copy_text): Adjusted for the change of CHAR_STRING.Kenichi Handa1999-12-151-49/+17
| | | | | | | | | | | | | | | | | | | (insert_char): Likewise. (insert): Call update_compositions. (insert_and_inherit): Likewise. (insert_before_markers): Likewise. (insert_before_markers_and_inherit): Likewise. (insert_from_string): Likewise. (insert_from_string_before_markers): Likewise. (insert_from_buffer): Likewise. (replace_range): Likewise. (count_combining_composition): Deleted. (count_combining_before): Delete codes for a composite character. (count_combining_after): Likewise. (del_range_1): Call update_compositions. (del_range_byte): Likewise. (del_range_both): Likewise. (Fcombine_after_change_execute): Likewise.
* (check_composition): New function.Kenichi Handa1999-12-151-17/+84
| | | | | | | | (MULTIBYTE_BYTES_WIDTH): Call STRING_CHAR_AND_LENGTH with MAX_MULTIBYTE_LENGTH, not MAX_LENGTH_OF_MULTI_BYTE_FORM. (current_column_1): Handle new way of composition. (Fmove_to_column): Likewise. (compute_motion): Likewise.