Commit graph

12540 commits

Author SHA1 Message Date
Andrew Innes
ea456eb4e4 [!WINDOWSNT]: Don't apply Solaris 2.5 work-around on
Windows.
(my_strftime) <macro>: Don't use macro arg list when redefining as
_strftime_copytm.
(my_strftime) <function>: Supply 0 as ut argument.
2000-10-20 14:49:19 +00:00
Jason Rumney
e64c3a754a *** empty log message *** 2000-10-19 19:54:58 +00:00
Jason Rumney
0b6bb67088 (add_menu_item): Do not use MF_OWNERDRAW for titles, as it has stopped working.
(Fx_popup_menu, Fx_popup_dialog): Check for tool-bar position like menu-bar.
2000-10-19 19:25:53 +00:00
Jason Rumney
2d0c0bd755 (x_produce_glyphs): Handle unibyte_display_via_language_environment correctly.
(w32_draw_box_rect): Fix the calculation of width and height.
2000-10-19 19:21:07 +00:00
Jason Rumney
1660f34ae4 (Fx_create_frame): Don't bother calling
face-set-after-frame-default since the caller does it for us
anyway. Clean up calls to x_get_arg to be consistent with X.
2000-10-19 19:12:51 +00:00
Jason Rumney
b93b26cbb0 Do not undef HAVE_WINDOW_SYSTEM before
including dispextern.h, as it stops faces from working.
2000-10-19 19:06:38 +00:00
Gerd Moellmann
17401c97e6 (skip_debugger): Prevent a compiler warning.
(Fcondition_case): Likewise.
(Fbacktrace_frame): Use a null interactive spec.
2000-10-19 12:03:08 +00:00
Kenichi Handa
773272d836 *** empty log message *** 2000-10-19 06:58:33 +00:00
Kenichi Handa
9f2feff636 (x_find_ccl_program): Check also fontp->full_name. 2000-10-19 06:55:02 +00:00
Gerd Moellmann
e50517d90e Sync with glibc, file version 1.78.
(my_strftime) [HAVE_TZNAME]: Use `UTC' instead of `GMT' which
should no longer be used according to ISO 8601.
2000-10-18 19:12:39 +00:00
Gerd Moellmann
9035a35ae6 *** empty log message *** 2000-10-18 15:20:26 +00:00
Gerd Moellmann
7396a36c10 (access_keymap): If IDX has a meta prefix, and there's
no map for meta_prefix_char, don't try to use it as a keymap.
Instead, if T_OK is non-zero, look up a default binding, if any,
otherwise, if T_OK is zero, return nil.
2000-10-18 14:20:53 +00:00
Gerd Moellmann
a42943e93e (allocate_string) [GC_CHECK_STRING_BYTES]: Call
check_string_bytes only if not noninteractive, increase count to 50.
2000-10-18 11:59:20 +00:00
Gerd Moellmann
70772ed1ac (struct x_display_info): Add color_cells and ncolor_cells.
(x_query_color, x_query_colors): Add prototype.
2000-10-18 11:58:27 +00:00
Gerd Moellmann
f04e1297ec (x_color_cells, x_query_colors, x_query_color): New
functions.
(x_alloc_nearest_color): Use it to reduce calls to XQueryColors
which can be slow.
(x_copy_color, x_alloc_lighter_color): Likewise.
2000-10-18 11:58:07 +00:00
Gerd Moellmann
a31fedb766 (x_to_xcolors, x_set_mouse_color, lookup_pixel_color)
(x_to_xcolors, png_load): Use x_query_color.
2000-10-18 11:57:35 +00:00
Miles Bader
00de298745 (adjust_markers_for_delete): Handle before-insertion markers correctly. 2000-10-18 06:20:27 +00:00
Gerd Moellmann
1f0b3fd207 (pure_bytes_used): Renamed from pureptr.
(ALIGN): New macro.
(pure_alloc): New function.
(make_pure_string, pure_cons, make_pure_float, make_pure_vector):
Use it.
(Fpurecopy): Use PURE_POINTER_P.
2000-10-17 19:39:17 +00:00
Gerd Moellmann
68c5d1db4a (try_cursor_movement): Use cursor_row_p also when
PT has moved backward.
2000-10-17 19:32:44 +00:00
Gerd Moellmann
9a03888161 (cursor_row_p): Take continued lines into account. 2000-10-17 16:08:57 +00:00
Gerd Moellmann
361b097f3a (mark_object) [GC_CHECK_STRING_BYTES]: Check validity of
string's size_byte.
(check_string_bytes) [GC_CHECK_STRING_BYTES]: New function.
(check_string_bytes_count) [GC_CHECK_STRING_BYTES]: New variable.
(allocate_string) [GC_CHECK_STRING_BYTES]: Call it for every 10th
string allocated.
2000-10-17 15:38:30 +00:00
Gerd Moellmann
54918e2b47 (forward_to_next_line_start): Switch iterator's handling
of selective display off while searching for the next line start.
2000-10-17 14:08:06 +00:00
Jeff Bailey
6a45ac9cbd Remove warning that noone noticed anyway 2000-10-17 06:55:04 +00:00
Kenichi Handa
7dd2a2b276 (term.o): Depend on dispextern.h. 2000-10-17 02:53:36 +00:00
Kenichi Handa
03ed080689 *** empty log message *** 2000-10-17 02:53:19 +00:00
Stefan Monnier
7e05cdaf48 (keymap_memberp): Ensure that nil is not a member. 2000-10-16 21:57:56 +00:00
Gerd Moellmann
483de32b26 (set_iterator_to_next): Reset box start and flags of the
iterator at the beginning, so that they can be set later on, for
instance in reseat_at_next_visible_line_start without being
overwritten.
2000-10-16 21:05:03 +00:00
Gerd Moellmann
a6801fd168 *** empty log message *** 2000-10-16 20:04:39 +00:00
Gerd Moellmann
be0b1fac0a (pbm_format): Add :foreground and :background keywords.
(PBM_FOREGROUND, PBM_BACKGROUND): New enumerators.
(xbm_load): Recoghnize foreground and background color
specifications.
2000-10-16 19:57:04 +00:00
Eli Zaretskii
dbf1fcc120 *** empty log message *** 2000-10-16 19:21:17 +00:00
Eli Zaretskii
546701f50f (IT_set_face): Compare highlighted face with the default
face, and invert colors if these faces' colors are identical.
(Fmsdos_remember_default_colors): Don't swap foreground and
background colors in initial_colors[].
(IT_set_frame_parameters): Don't swap frame's foreground and
background pixels.  If ALIST includes "(reverse . t)", swap
foreground-color and background-color properties in frame's
param_alist.  If the original frame's param_alist doesn't specify
the colors, store unspecified-fg and unspecified-bg, reversed if
required.
2000-10-16 19:16:20 +00:00
Eli Zaretskii
e1d0bbc974 (Fframe_parameters): If a tty's frame's param_alist says
the colors are unspecified and reversed, reverse fore- and back-
ground in the returned value.
(Fframe_parameter): Ditto.
2000-10-16 19:15:09 +00:00
Eli Zaretskii
c3c9847319 (unspecified_fg, unspecified_bg): Remove extern declaration. 2000-10-16 19:14:14 +00:00
Eli Zaretskii
f0ba2d22e1 (unspecified_fg, unspecified_bg): Declare. 2000-10-16 19:13:19 +00:00
Gerd Moellmann
3a6b59d900 *** empty log message *** 2000-10-16 16:01:13 +00:00
Gerd Moellmann
1ec185cb4a (find_last_unchanged_at_beg_row): Renamed from
get_last_unchanged_at_beg_row.
(find_first_unchanged_at_end_row): Renamed from
get_first_unchanged_at_end_row.
(find_first_unchanged_at_end_row): Convert assertions to
unconditional tests which abort.  When looking for a row in
unchanged text, don't go further back than first_text_row.
2000-10-16 15:39:59 +00:00
Miles Bader
ac62982394 *** empty log message *** 2000-10-16 14:55:17 +00:00
Miles Bader
836765981d Revert last change. 2000-10-16 14:45:44 +00:00
Gerd Moellmann
b41fe2c315 *** empty log message *** 2000-10-16 14:22:37 +00:00
Gerd Moellmann
b8a63ccb80 (try_scrolling) <cursor in scroll margin at the bottom>:
Don't add in the last line's height when deciding if the new
position is below the scroll margin.
2000-10-16 13:56:12 +00:00
Miles Bader
9d1af64f7a (xpm_lookup_color):
Make h unsigned to avoid wackiness when the high bit gets set.
2000-10-16 11:48:31 +00:00
Miles Bader
f657bbf68b (Fconstrain_to_field): Check carefully for field boundaries if either
OLD_POS or NEW_POS has a non-nil field property, even if they're the same.
2000-10-16 07:28:24 +00:00
Kenichi Handa
58e4fce895 (x_draw_box_rect): Fix the calculation of width and height for
XFillRectangle.
2000-10-16 04:20:36 +00:00
Kenichi Handa
c412cb7bc6 *** empty log message *** 2000-10-16 04:13:28 +00:00
Stefan Monnier
5586f3ebef *** empty log message *** 2000-10-15 22:27:48 +00:00
Stefan Monnier
d671382e93 (describe_syntax): Add code for comment and string fences. 2000-10-15 22:12:01 +00:00
Stefan Monnier
c65adb44b0 (Fstring_to_syntax): New function extracted from Fmodify_syntax_entry.
(Fmodify_syntax_entry): Use it and document the ! and | fences.
(skip_chars, Fforward_comment): Remove unused variables.
(syms_of_syntax): Add defsubr for string-to-syntax.
2000-10-15 21:42:41 +00:00
Stefan Monnier
a0ad02f7fb (WIDE_CHAR_SUPPORT): Define if _LIBC as well.
Mostly, just a test of the CVS repository.
2000-10-15 16:44:45 +00:00
Eli Zaretskii
ef6d59c99e Fix wording in a comment. 2000-10-15 05:55:40 +00:00
Stefan Monnier
1ed6d8ef37 (Fkeymap_parent): Undefined autoload -> 1. 2000-10-15 03:34:18 +00:00