1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-18 00:50:44 -08:00
Commit graph

10633 commits

Author SHA1 Message Date
Richard M. Stallman
3ca702ec5a Delete HAVE_X11 conditionals. 1994-10-15 23:51:54 +00:00
Richard M. Stallman
78c3981da6 (x_display): Changed icon_bitmap_flag to icon_bitmap. 1994-10-15 22:19:05 +00:00
Richard M. Stallman
203c1d73bb (x_set_icon_type): If icon-type is a string, then use
bitmap from that file.
(Fx_create_frame): Set icon_bitmap field to -1.
(struct x_bitmap_record): New structure type.
(x_bitmaps, x_bitmaps_size, x_bitmaps_last, x_bitmaps_free): New variables.
(x_allocate_bitmap_record): New function.
(x_reference_bitmap, x_create_bitmap, x_create_bitmap_from_file)
(x_destroy_bitmap, x_lookup_pixmap): New functions.
1994-10-15 22:17:15 +00:00
Richard M. Stallman
7f2ae03622 (x_bitmap_icon): Allow bitmap to come from file.
(x_wm_set_icon_pixmap): Second arg is now pixmap_id;
call x_lookup_pixmap.
(x_text_icon): Call x_destroy_bitmap.
1994-10-15 22:01:22 +00:00
Richard M. Stallman
919fa9cbf0 (Fset_text_properties): Special case for getting
rid of all properties of a string.
1994-10-15 21:29:19 +00:00
Karl Heuer
58769bee4d (stuffline, scraplines): Functions deleted.
(line_dance, line_dance_len, line_dance_in_progress): New vars.
(XTins_del_lines): Don't do any X calls; just update the array.
(do_line_dance): New function.  Do the X calls here.
(XTupdate_end, XTwrite_glyphs): Call do_line_dance.
1994-10-15 04:49:14 +00:00
Richard M. Stallman
bd513d9d32 (read_input_waiting): Set e.frame_or_window w/ XSETFRAME. 1994-10-14 09:33:49 +00:00
Richard M. Stallman
463f6b91cf (redisplay): Call clear_face_cache instead
of clear_face_vector.  Do it at most once per 1000 redisplays.
1994-10-14 05:20:15 +00:00
Richard M. Stallman
42120bc769 Eliminate the "display faces"; store GCs in the "computed faces".
(face_vector, nfaces, nfaces_allocated): Vars deleted.
(free_frame_faces): Free GCs in the computed faces.
Free the computed faces themselves.
(clear_face_cache): Renamed from clear_face_vector
and completely rewritten to free GCs in the computed faces.
(get_cached_face): Function deleted.
(build_face): Function deleted; code moved into intern_face.
(intern_face): Don't treat default and modeline faces specially.
(recompute_basic_faces): Call intern_face, not build_face.

(intern_face, clear_face_vector, load_font, unload_font)
(load_color, free_frame_faces, recompute_basic_faces): Use FRAME_X_DISPLAY.
1994-10-14 05:19:13 +00:00
Richard M. Stallman
8e3d10a987 (Fx_create_frame): Init the FRAME_X_SCREEN as soon as can be done. 1994-10-14 05:18:22 +00:00
Richard M. Stallman
8ed24d5a14 (x_new_font): Don't keep looping after the FONT property. 1994-10-14 04:45:04 +00:00
Karl Heuer
0a7f697a8d (term_get_fkeys_1): Workaround for IBM's dialect of terminfo. 1994-10-14 02:43:58 +00:00
Richard M. Stallman
f8a0e364da (Fuser_login_name, Fuser_real_login_name):
Call init_editfns now if it was not done before.
1994-10-13 18:21:25 +00:00
Richard M. Stallman
ec2970a281 entered into RCS 1994-10-13 09:19:26 +00:00
Richard M. Stallman
d184839e4e (BASE_PURESIZE): Incremented. 1994-10-13 08:18:10 +00:00
Richard M. Stallman
5b658538e7 (Funhandled_file_name_directory): Declared. 1994-10-13 06:21:23 +00:00
Richard M. Stallman
92b522930e Include config.h. 1994-10-13 03:41:14 +00:00
Richard M. Stallman
a4af9799a8 (LD_SWITCH_SYSTEM): New definition. 1994-10-12 23:28:02 +00:00
Richard M. Stallman
cea00ac381 Comment changes. 1994-10-12 21:28:00 +00:00
Richard M. Stallman
5a28e48c70 (scan_sexps_forward): At startincomment,
do notice a 2-char comment ender that straddles FROM.
1994-10-12 08:24:47 +00:00
Karl Heuer
61b9bf7b2c (Fbyte_code): Skip optimization for all Lisp_Misc types. 1994-10-12 05:17:52 +00:00
Karl Heuer
1a0f90f7f9 (defvar_int, defvar_bool, defvar_lisp, defvar_lisp_nopro, defvar_per_buffer):
Use the new substructure.
1994-10-12 05:16:00 +00:00
Karl Heuer
46b2ac21f0 (do_symval_forwarding, store_symval_forwarding, find_symbol_value, Fset,
default_value, Fset_default, Fkill_local_variable): Use the new substructure.
(store_symval_forwarding): Change args to buffer_slot_type_mismatch.
1994-10-12 05:15:21 +00:00
Karl Heuer
54dfdeb04f (buffer_slot_type_mismatch): Take just the offset as argument. Only check
against types that are actually used.
1994-10-12 05:14:30 +00:00
Karl Heuer
c86160562a (mark_object): Use the new substructure. 1994-10-12 05:14:11 +00:00
Karl Heuer
ee4c9ce4d7 (enum Lisp_Misc_Type): Add new enumerations Lisp_Misc_Intfwd,
Lisp_Misc_Boolfwd, Lisp_Misc_Objfwd, Lisp_Misc_Buffer_Objfwd.
(enum Lisp_Type): Delete the corresponding enumerations from here.
(struct Lisp_Buffer_Objfwd): New structure.
(struct Lisp_Intfwd, struct Lisp_Boolfwd, struct Lisp_Objfwd): Ditto.
(XINTFWD, XBOOLFWD, XOBJFWD, XBUFFER_OBJFWD): Access the new structure.
(INTFWDP, BOOLFWDP, OBJFWDP, BUFFER_OBJFWDP): Ditto.
(XSETINTFWD, XSETBOOLFWD, XSETOBJFWD, XSETBUFFER_OBJFWD): Deleted.
(union Lisp_Misc): Add new members.
(allocate_misc): Declare this function.
(XINTPTR): Deleted.
1994-10-12 05:13:45 +00:00
Karl Heuer
9bdff5c5c7 (verify_interval_modification): Fix comment. 1994-10-12 02:11:34 +00:00
Karl Heuer
44472c88f5 (test_completion): Fix reversed condition. 1994-10-12 01:39:10 +00:00
Karl Heuer
e429caa215 Install Hiroshi Nakano's rewrite to allow multiple heaps, for implementations
where the C library makes calls to sbrk directly.
1994-10-12 00:48:03 +00:00
Jim Blandy
cbe0db0d89 (scan_buffer): After temporarily turning immediate_quit off, turn it
back on by setting it to allow_quit, never 1.

(find_before_next_newline): Declare the arguments' types explicitly;
don't let them default to int.
1994-10-11 19:44:27 +00:00
Jim Blandy
ae474ea9cf (display_scan_buffer): Pass the correct number of arguments to
scan_buffer.
1994-10-11 19:39:03 +00:00
Richard M. Stallman
bdcd49ba41 (x_term_init): Call XtSetLanguageProc or XSetLocaleModifiers.
(x_make_frame_visible, x_iconify_frame):
Call x_bitmap_icon if frame wants a bitmap icon.
1994-10-11 09:27:47 +00:00
Richard M. Stallman
00a78037a8 (read_key_sequence): The output of function-key-map
goes to key-translation-map, but not vice versa.
Don't exit if either of them is a possibility.
1994-10-11 09:22:44 +00:00
Karl Heuer
777aaffcb8 (print): Check the substructure. 1994-10-11 07:46:50 +00:00
Karl Heuer
7f064f5c1a (internal_equal): Check the substructure. 1994-10-11 07:46:34 +00:00
Karl Heuer
c51e6d8c26 (buffer_slot_type_mismatch): Test against Lisp_Misc. 1994-10-11 07:46:22 +00:00
Karl Heuer
a0a38eb79f (MARKER_BLOCK_SIZE, marker_block, marker_free_list): Now refers to the
superset type, not just markers.
(allocate_misc): New function, extracted from Fmake_marker.
(Fpurecopy): Check the substructure.
(clear_marks, mark_object, gc_sweep): Likewise.
1994-10-11 07:46:01 +00:00
Karl Heuer
e11a302f26 (OVERLAY_POSITION): Marker assert now tests substructure. 1994-10-11 07:45:41 +00:00
Karl Heuer
84d1833ed8 (Lisp_Misc): new type code, replacing Lisp_Marker (and soon to replace other
type codes as well).
(XMARKER, SETMARKER, MARKERP): Check/set the new type field.
(XMISC, SETMISC, MISCP): New accessor macros for the superset type.
(struct Lisp_Free): New structure.
(Lisp_Misc_Free): Type code for that structure.
1994-10-11 07:45:20 +00:00
Richard M. Stallman
1d3395a615 (list_buffers_1): Fix indentation in header lines. 1994-10-11 05:29:55 +00:00
Karl Heuer
0e7e7a58b7 (sys_subshell): Use NILP macro directly, not its expansion. Previous code was
leftover from when NULL was a bad word.
1994-10-11 01:47:06 +00:00
David J. MacKenzie
1da3ef65ff entered into RCS 1994-10-10 21:35:16 +00:00
Richard M. Stallman
6f27fa9b16 (redisplay_window): Fix Oct 1 change:
don't call cancel_my_columns unless we will call try_window.
1994-10-10 21:30:56 +00:00
Jim Blandy
f0c5b7125a (syms_of_buffer): Doc fix for cache-long-line-scans. 1994-10-10 16:01:58 +00:00
Jim Blandy
f4faa47c56 * xdisp.c (redisplay_window): Invalidate width_run_cache, if the
buffer's display table doesn't match the width table the cache was
built for.
(display_text_line): Use compute_motion to skip forward to the
left edge of the window when the window is hscrolled; this is
faster than rendering all the characters into the bit bucket when
the hscroll is large.
Doc fixes.
(display_count_lines): Call scan_buffer with new args.
1994-10-08 22:16:04 +00:00
Jim Blandy
be5357e28e * syntax.c (find_defun_start): Call scan_buffer with new args. 1994-10-08 22:15:36 +00:00
Jim Blandy
9169c321e5 * search.c: #include "region-cache.h".
(max, min): Make these functions, not macros; we'd like to pass
them arguments that would be bad to evaluate more than once.
(newline_cache_on_off): New function.
(scan_buffer): New argument END.  Call newline_cache_on_off.  If
this buffer's newline cache is enabled, consult it to see if we
need to scan a region for newlines, and store information in the
cache after doing so.
(find_next_newline): Pass new arg to scan_buffer.
(find_before_next_newline): New function.
1994-10-08 22:15:15 +00:00
Jim Blandy
56e1065ec3 * insdel.c (prepare_to_modify_buffer): Invalidate width run and
newline caches, if they exist.
1994-10-08 22:14:58 +00:00
Jim Blandy
63dec5bd9d * indent.h (disptab_matches_widthtab, recompute_width_table): New
declarations.
1994-10-08 22:14:35 +00:00
Jim Blandy
0aa01123ca * indent.c: #include "region-cache.h".
(character_width, disptab_matches_widthtab, recompute_width_table,
width_run_cache_on_off): New functions.
(compute_motion): Call width_run_cache_on_off.  If this buffer's
width run cache is enabled, consult it to see if we need to
traverse a region character-by-character; store information in the
cache after doing so.  Call find_before_next_newline instead of
writing out an equivalent loop explicitly, to take advantage of
the newline cache.
Doc fixes.
1994-10-08 22:14:04 +00:00