1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-23 08:20:41 -08:00
Commit graph

27817 commits

Author SHA1 Message Date
Kenichi Handa
6ecb43cedf (Fx_create_frame): Don't cal fs_register_fontset.
(x_create_tip_frame): Likewise.
(Fx_close_connection): Free full_name of font_info.
2000-03-21 00:42:32 +00:00
Kenichi Handa
980806b6cf (charset_at_position): Function removed.
(init_iterator): Don't set member charset of struct `it'.
(handle_face_prop, reseat_to_string, set_iterator_to_next,
next_element_from_display_vector, insert_left_trunc_glyphs):
Likewise.
(face_before_or_after_it_pos): Call FACE_FOR_CHAR, not
FACE_FOR_CHARSET.
(get_next_display_element, append_space,
extend_face_to_end_of_line): Likewise.
2000-03-21 00:41:41 +00:00
Kenichi Handa
b8c434926b (XMenuActivate): Args to lookup_derived_face changed. 2000-03-21 00:40:54 +00:00
Kenichi Handa
45a962e0d5 (struct frame): Member `fontset_data' removed.
(FRAME_FONTSET_DATA): Macro removed.
2000-03-21 00:39:29 +00:00
Kenichi Handa
c08758e259 (make_frame): Don't allocate f->fontset_data.
(Fdelete_frame): Don't free f->fontset_data.
2000-03-21 00:39:10 +00:00
Kenichi Handa
1afa4408c0 (FONT_NOT_OPENED, FONT_NOT_FOUND): Macros removed.
(struct fontset_info, struct fontset_data): Structs removed.
(allloc_fontset_data, free_fontset_data, fs_regiser_fontset,
Vglobale_fontset_alist, font_idx_temp): Externs removed.
(fs_load_font, fs_query_fontset): Adjusted for new argument.
(fs_free_face_fontset, fontset_font_pattern,
face_suitable_for_char_p, face_for_char,
make_fontset_for_ascii_face): Extern them.
(FS_LOAD_FONT): Adjusted for the change of fontset implementation.
(FS_LOAD_FACE_FONT): New macro.
2000-03-21 00:38:44 +00:00
Kenichi Handa
0d407d7782 All codes rewritten or adjusted for the change of
fontset implementation.  Now fontset is represented by char table.
(Vglobal_fontset_alist, font_idx_temp, my_strcasetbl): Variables
removed.
(my_strcasecmp): Function removed.
(Vfontset_table, next_fontset_id, Vdefault_fontset): New
variables.
(AREF, ASIZE): New macros.
(FONTSET_FROM_ID, FONTSET_ID, FONTSET_NAME, FONTSET_FRAME,
FONTSET_ASCII, FONTSET_BASE, BASE_FONTSET_P, FONTSET_REF,
FONTSET_REF_VIA_BASE, FONTSET_SET): New macros.
(fontset_ref, fontset_ref_via_base, fontset_set, make_fontset,
fontset_id_valid_p, font_family_registry, fontset_name,
fontset_ascii, free_face_fontset, face_suitable_for_char_p,
face_for_char, make_fontset_for_ascii_face, fontset_font_pattern):
New functions.
(fs_load_font): New arg FACE.  Caller changed.
(fs_query_fontset): Argument changed.  Caller changed.
(Fquery_fontset): call fs_query_fontset.
(fs_register_fontset, alloc_fontset_data, free_fontset_data):
Functions removed.
(clear_fontset_elements, check_registry_encoding,
check_fontset_name): New functions.
(syms_of_fontset): Set char-table-extra-slots property of fontset
to 3.  Staticpro and initialize Vfontset_table and
Vdefault_fontset.  Defsubr fontset_font and fontset_list.
2000-03-21 00:38:14 +00:00
Kenichi Handa
52ef6c896e (optimize_sub_char_table): New function.
(Foptimize_char_table): New function.
(syms_of_fns): Defsubr Soptimize_char_table.
2000-03-21 00:37:25 +00:00
Kenichi Handa
b3091a2388 (struct glyph): New member glyph_not_available_p.
Use 22 bits for face_id.
(enum lface_attribute_index): Add LFACE_FONT_INDEX.
(struct face): Delete member registry, new member ascii_face.
(FACE_SUITABLE_FOR_CHAR_P): Renamed from
FACE_SUITABLE_FOR_CHARSET_P.  Caller changed.
(FACE_FOR_CHAR): Renamed from FACE_FOR_CHARSET.  Caller changed.
(struct it): Delete member charset, new member
glyph_not_available_p.
2000-03-21 00:36:45 +00:00
Kenichi Handa
9170cbcc18 (mark_face_cache): Don't mark face->registry. 2000-03-21 00:36:12 +00:00
Kenichi Handa
9111d4b571 Fontsets related initialization is simplified. 2000-03-21 00:34:45 +00:00
Kenichi Handa
ee5f768d2f (describe-font): Don't refer to
global-fontset-alist, instead call font-list.
(describe-fontset, list-fontsets, mule-diag): Likewise.
(print-fontset): Adjusted for the change of fontset
implementation.
2000-03-21 00:32:34 +00:00
Kenichi Handa
6eca8d93cf (x-charset-registries): Variable
removed, instead the corresponding data is stored in the default
fontset.
(register-alternate-fontnames): Function removed.
(resolved-ascii-font): Variable removed.
(x-compose-font-name): Ignore the second argument REDOCE.
(x-complement-fontset-spec): Complement only an ASCII font and
element for those charsets than can use that ASCII font.
(generate-fontset-menu): Don't refer to global-fontset-alist,
instead call fontset-list.
(uninstantiated-fontset-alist): Variable removed.
(x-style-funcs-alist): Likewise.
(fontset-default-styles): Likewise.
(x-modify-font-name): Function removed.
(create-fontset-from-fontset-spec): Ignore the argument
STYLE-VARIANT.
(create-fontset-from-ascii-font): Docsting adjusted for the above
change.
(instantiate-fontset, resolve-fontset-name): Functions removed.
(fontset-list): Now implemented by C code.
2000-03-21 00:32:06 +00:00
Kenichi Handa
b32631c868 (read-face-font): Fix TABLE arg to completing-read.
(describe-face): Include `font' attribute in the description.
2000-03-21 00:31:38 +00:00
Kenichi Handa
91e947ce52 (quail-set-keyboard-layout): Typo fixed. 2000-03-20 23:44:27 +00:00
Gerd Moellmann
a25bbe00cb *** empty log message *** 2000-03-20 14:08:44 +00:00
Gerd Moellmann
a1cc310c2b Moved to net subdir. 2000-03-20 13:12:47 +00:00
Gerd Moellmann
8749abea43 Moved here from lisp. 2000-03-20 13:12:14 +00:00
Gerd Moellmann
b33dd3b087 *** empty log message *** 2000-03-20 12:34:21 +00:00
Gerd Moellmann
7ff02969b8 (with-buffer-prepared-for-font-lock): Add comment
about behavior of set-buffer-modified-p wrt redisplay.
2000-03-20 12:30:55 +00:00
Gerd Moellmann
8ec01c70fa (Fset_buffer_modified_p): Set update_mode_lines
only if buffer is displayed in some window.
2000-03-20 12:24:57 +00:00
Gerd Moellmann
15e26c76c9 (handle_single_display_prop): Initialize local `value'.
(try_window_reusing_current_matrix): Don't call scroll run
function if run's current and desired position are the same;
this prevents cursor flickering.
2000-03-20 12:24:13 +00:00
Richard M. Stallman
35a2a6a0d0 *** empty log message *** 2000-03-20 01:41:48 +00:00
Stefan Monnier
4e8a913269 (RE_STRING_CHAR): New macro.
(GET_CHAR_AFER_2): Remove.
(RE_TRANSLATE, RE_TRANSLATE_P): New macros moved from regex.h.
(enum re_opcode_t): Remove on_failure_jump_exclusive.
(print_partial_compiled_pattern, re_compile_fastmap)
(re_match_2_internal): Remove on_failure_jump_exclusive.
(regex_compile): Turn optimizable P+ loops into PP*, so that the
optimization only need to work for * (ie. can use of_keep_string_jump).
Remove the special case for .*\n since it is now covered by the general
optimization.
(re_search_2): Don't bother with `room'.
(skip_one_char): New function.
(skip_noops): Simplify since `memory' is not needed any more.
(mutually_exclusive_p): Restructure slightly to use `switch' and
add handling for "all" remaining cases.
(re_match_2_internal): Change on_failure_jump_smart to use
on_failure_keep_string_jump (and redirect the end-of-loop jump)
rather than on_failure_jump_exclusive.
2000-03-19 23:23:50 +00:00
Stefan Monnier
fc4e96c8e8 (RE_TRANSLATE. RE_TRANSLATE_P): Moved to regex.c. 2000-03-19 23:21:42 +00:00
Gerd Moellmann
2136fdd4f5 (calculate_costs): Remove code dealing with X frames. 2000-03-19 17:04:41 +00:00
Gerd Moellmann
94ac875b41 * xfns.c (select_visual): Don't set dpyinfo->n_planes to the
number of bits per RGB because it's everywhere used as the depth
of the visual.
2000-03-19 17:00:51 +00:00
Richard M. Stallman
b75c9917df (view-mode-disable): Kill local binding of view-read-only. 2000-03-19 15:56:40 +00:00
Richard M. Stallman
e53ae11c20 *** empty log message *** 2000-03-19 15:56:23 +00:00
Richard M. Stallman
afdca07054 (syms_of_lread): Doc fix for load-convert-to-unibyte. 2000-03-19 15:45:02 +00:00
Gerd Moellmann
1594f400a4 *** empty log message *** 2000-03-18 12:23:59 +00:00
Gerd Moellmann
d7b511c441 *** empty log message *** 2000-03-18 01:42:31 +00:00
Gerd Moellmann
f1a9c7b94a (syntax-code-table, syntax-flag-table): New variables.
(string-to-syntax): New function.
2000-03-18 01:33:56 +00:00
Gerd Moellmann
bdb25c9734 (font-lock-apply-syntactic-highlight): if VALUE
is a string, convert it to a syntax cell using string-to-syntax.
2000-03-18 01:33:13 +00:00
Gerd Moellmann
525371f138 (ange-ftp-try-passive-mode): New user-option.
(ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
try to use poassive ftp mode.
2000-03-18 01:06:46 +00:00
Gerd Moellmann
b632fa48b1 (read_integer): Unread the last char not consumed. 2000-03-18 01:04:28 +00:00
Gerd Moellmann
998ecc60fc *** empty log message *** 2000-03-17 22:46:46 +00:00
Gerd Moellmann
e1abf2bb09 (awk-font-lock-keywords): All `else'. 2000-03-17 22:34:05 +00:00
Gerd Moellmann
c069a4804f (append-to-buffer): Update point of windows after
insertion.
2000-03-17 22:33:28 +00:00
Gerd Moellmann
466840685f (inverse-add-abbrev): Identify word by first moving
forward then moving backward.  Reindent.
2000-03-17 22:32:39 +00:00
Dave Love
235d682111 *** empty log message *** 2000-03-17 21:29:09 +00:00
Gerd Moellmann
16b5d424a7 (x_update_window_cursor): Don't update in frames
who are in the process of being deleted.
2000-03-17 21:12:54 +00:00
Gerd Moellmann
5b6200124e (other-frame): Call x-focus-frame only if
focus-follows-mouse is off.
2000-03-17 20:54:41 +00:00
Stefan Monnier
af59544485 (rmail-summary-font-lock-keywords): Make sure the
regexp for labels cannot span several lines.
2000-03-17 20:05:14 +00:00
Stefan Monnier
a29a2cd183 (cl-do-arglist): Don't add (setq :<key> ':<key>). 2000-03-17 19:35:23 +00:00
Dave Love
b42f693ccb (cvs-strings->string): Rename
replace-regexps-in-string.
2000-03-17 10:07:00 +00:00
Gerd Moellmann
83488cce94 *** empty log message *** 2000-03-16 23:14:29 +00:00
Gerd Moellmann
3320cc503c (mostlyclean): Add `*.core'.
(clean): Add `bootstrap-emacs'.
2000-03-16 22:55:31 +00:00
Dave Love
a9be284341 *** empty log message *** 2000-03-16 22:18:59 +00:00
Gerd Moellmann
16b20ed921 (custom-variable-tag-face): Handle case that
default face's height is not a number.
(custom-face-tag-face, custom-group-tag-face-1)
(custom-group-tag-face): Ditto.
(custom-group-tag-face-1): Add :group.
2000-03-16 22:15:26 +00:00