Commit graph

12719 commits

Author SHA1 Message Date
Gerd Moellmann
5f0c971db7 (Fpos_visible_in_window_p): Call pos_visible with
extra argument.
2000-11-14 05:44:18 +00:00
Gerd Moellmann
04612a647f (current_mode_line_height, current_header_line_height):
New variables.
(init_xdisp): Initialize them.
(pos_visible_p): Add parameter EXACT_MODE_LINE_HEIGHTS_P.  Compute
and use exact mode line heights if it is set.
2000-11-14 05:43:18 +00:00
Gerd Moellmann
d7652128aa (pos_visible_p): Change prototype. 2000-11-14 05:41:41 +00:00
Gerd Moellmann
e9e32f4643 (CURRENT_MODE_LINE_HEIGHT)
(CURRENT_HEADER_LINE_HEIGHT):  Look at current_mode_line_height
and current_header_line_height first.
(current_mode_line_height, current_header_line_height): Declare
extern.
2000-11-14 05:41:13 +00:00
Miles Bader
d7361edf01 (x_alloc_lighter_color): Use real brightness calculation.
Just use FACTOR/2 instead of HIGHLIGHT_COLOR_DARK_BOOST.
(HIGHLIGHT_COLOR_DARK_BOOST): Macro removed.
2000-11-14 01:45:45 +00:00
Eli Zaretskii
7758f1c149 In the entry for config.in from 2000-11-07, change HAVE_MKDIR
to HAVE_MKSTEMP.
2000-11-13 16:30:33 +00:00
Eli Zaretskii
67526daf21 Fix a typo in a comment. 2000-11-13 16:27:47 +00:00
Miles Bader
ee5e440abe *** empty log message *** 2000-11-13 15:57:21 +00:00
Miles Bader
6d8b0acd4a (x_alloc_lighter_color): Include an additive component too for dark
colors, because FACTOR isn't enough.
(HIGHLIGHT_COLOR_DARK_BOOST, HIGHLIGHT_COLOR_DARK_BOOST_LIMIT):
  New macros.
2000-11-13 15:47:32 +00:00
Gerd Moellmann
5ca020fca3 (show_help_echo): Call message3_nolog with number of
bytes in the help string as 2nd parameter, instead of the number
of characters.
2000-11-13 13:39:21 +00:00
Miles Bader
9d34829472 *** empty log message *** 2000-11-13 12:25:59 +00:00
Miles Bader
939d6465fc (x_create_bitmap_from_file, x_find_image_file): Use new openp return protocol. 2000-11-13 12:24:15 +00:00
Miles Bader
96dc0f4e12 (openp): Return -2 instead of 0 for the `remote file' case.
(Fload): Use new openp return protocol.  Don't try to use
Vload_source_file_function to load .elc files.
2000-11-13 12:18:37 +00:00
Kenichi Handa
4e677396de Pay attention to BROKEN_SIGAIO and BROKEN_SIGPTY. 2000-11-11 01:07:33 +00:00
Kenichi Handa
0a95681a61 (BROKEN_SIGAIO, BROKEN_SIGPTY, BROKEN_SIGPOLL):
Defined these macros.
(NLIST_STRUCT): Avoid re-defining it.
2000-11-11 01:05:49 +00:00
Kenichi Handa
050c9c6849 (C_SWITCH_X_SYSTEM): Include -I/usr/include/X11R6 and
-I/usr/contrib/X11R6/include.
(LD_SWITCH_X_DEFAULT): Include -L/usr/lib/X11R6.
2000-11-11 00:31:37 +00:00
Kenichi Handa
1729bb9a0e *** empty log message *** 2000-11-11 00:31:13 +00:00
Jason Rumney
a82fe213e7 *** empty log message *** 2000-11-10 22:19:12 +00:00
Jason Rumney
6205b7cebc (CP_8BIT, CP_UNICODE, CP_INVALID): New pseudo-codepages. 2000-11-10 22:17:41 +00:00
Jason Rumney
767b1ff036 (Qw32_charset_hangeul): Rename to match w32 headers.
(Qw32_charset_vietnamese): New symbol.
(xlfd_charset_of_font): New function.
(w32_load_system_font): Use it.
(x_to_w32_charset): Use Fassoc to find charset info. Special case
when Vw32_charset_info_alist is nil to ensure default face always
has font. Use Fcar and Fcdr for safety.
(w32_to_x_charset): Use Vw32_charset_info_alist for mappings.
(w32_codepage_for_font): Use xlfd_charset_of_font.  Use new
pseudo-codepages for special cases.
(w32_to_x_font): New parameter to allow charset portion to be
specified where there is many to one mapping.  Callers changed.
(w32_list_fonts): Avoid listing fonts that won't display.
2000-11-10 22:15:52 +00:00
Jason Rumney
02f593f3d0 (w32_encode_char): Handle CP_UNICODE specially.
(w32_use_unicode_for_codepage): Use new pseudo-codepages.
2000-11-10 22:11:25 +00:00
Gerd Moellmann
52d898940b *** empty log message *** 2000-11-10 15:00:47 +00:00
Gerd Moellmann
32fcc231a0 (Vface_alternative_font_registry_alist): New variable.
(font_list_1): Renamed from font_list.
(font_list): New function, trying alternative registries from
Vface_alternative_font_registry_alist.
(Finternal_set_alternative_font_registry_alist): New function.
(syms_of_xfaces): Initialize and Staticpro
Vface_alternative_font_registry_alist.  Defsubr
Finternal_set_alternative_font_registry_alist.
2000-11-10 14:40:10 +00:00
Ken Raeburn
651cd3dae2 * lisp.h (Flooking_at): Declare. 2000-11-09 22:30:39 +00:00
Gerd Moellmann
778fbc46c6 *** empty log message *** 2000-11-09 16:11:52 +00:00
Gerd Moellmann
cb1544262a (directory_files_internal): Fix a braino. 2000-11-09 15:42:35 +00:00
Gerd Moellmann
388ac09889 (directory_files_internal): Add missing GCPRO's.
Some cleanup.
2000-11-09 14:48:39 +00:00
Gerd Moellmann
f7eb32aaa3 *** empty log message *** 2000-11-08 17:41:22 +00:00
Gerd Moellmann
6422c1d71f (syms_of_xdisp): Change doc of max-mini-window-height.
(resize_mini_window): Return quickly if Vresize_mini_window is
nil.  Don't return if Vmax_mini_window_height is nil.

(Vresize_mini_window, Qgrow_only): New variables.
(syms_of_xdisp): Initialize them.
(resize_mini_window): Act according to the setting of
Vresize_mini_window.
(syms_of_xdisp): Initialize Vmenu_bar_update_hook to nil.
2000-11-08 17:40:50 +00:00
Gerd Moellmann
5d16e624fd *** empty log message *** 2000-11-08 15:57:52 +00:00
Gerd Moellmann
ecaedde19e *** empty log message *** 2000-11-08 15:46:45 +00:00
Gerd Moellmann
fa2dfc3000 (x_scroll_bar_create) [USE_TOOLKIT_SCROLL_BARS]: Map the
scroll bar widget after configuring it, so that it will appear at
the right position from the start.
(XTredeem_scroll_bar): Cleaned up.
2000-11-08 15:45:40 +00:00
Kenichi Handa
458f45fad3 (VCENTER_BASELINE_OFFSET): Fix previous change. If the
font is taller than the frame line, we don't have to vias the
division by two.
2000-11-08 00:53:11 +00:00
Kenichi Handa
3747ef2c89 *** empty log message *** 2000-11-08 00:52:25 +00:00
Dave Love
033914205a *** empty log message *** 2000-11-07 18:13:46 +00:00
Dave Love
1ddc85a489 (Fcall_process_region): Use HAVE_MKSTEMP. 2000-11-07 18:12:12 +00:00
Dave Love
cb6cf843f6 (HAVE_MKDIR): Add. 2000-11-07 18:10:05 +00:00
Gerd Moellmann
acad3c0b5a *** empty log message *** 2000-11-07 17:33:35 +00:00
Gerd Moellmann
c428070566 (Fset_window_configuration): Don't try to preserve
point in the current buffer, if that buffer is displayed in more
than one window.
2000-11-07 16:39:24 +00:00
Gerd Moellmann
b5de343d74 (lookup_named_face): If default face isn't realized,
try to realize it.  Return -1 if not successful.
(Fx_list_fonts): Handle case that face cannot be determined.
(Fface_font): Likewise.
2000-11-07 13:18:15 +00:00
Gerd Moellmann
cdb1fe495d (displayed_window_lines): Detect partially
visible lines at the bottom correctly.
2000-11-06 15:48:27 +00:00
Stefan Monnier
d3a67486af (Fwrite_region): Use visiting' rather than visit'
when ensuring we don't do visit in indirect buffer.
2000-11-06 14:34:09 +00:00
Kenichi Handa
ff8dd5d53b *** empty log message *** 2000-11-06 12:40:14 +00:00
Kenichi Handa
35bc588759 (x_encode_text): Suppress producing escape sequences for composition. 2000-11-06 12:36:06 +00:00
Kenichi Handa
0caef0ecf7 Include composite.h.
(selection_data_to_lisp_data): Call compose_chars_in_text on STR.
2000-11-06 12:35:44 +00:00
Kenichi Handa
40add26d11 (Vcomposition_function_table): New variable.
(Qcomposition_function_table): New variable.
(run_composition_function): Call
Vcompose_chars_after_function with three arguments.
(compose_chars_in_text): New function.
(syms_of_composite): Modified the doc-string of
Vcompose_chars_after_function.  Declare composition-function-table
as a lisp variable, and initialize it.
2000-11-06 12:35:27 +00:00
Kenichi Handa
c9a7baeea1 (compose_chars_in_text): Add prototype. 2000-11-06 12:35:06 +00:00
Andrew Innes
d1145f85c3 *** empty log message *** 2000-11-05 21:45:50 +00:00
Andrew Innes
1521ce96f5 (x_produce_glyphs): Fix typo in enum name. 2000-11-05 21:44:19 +00:00
Andrew Innes
ce424b260c (read_input_waiting): Remove extraneous argument to
read_socket_hook.
2000-11-05 21:42:41 +00:00