Commit graph

11741 commits

Author SHA1 Message Date
Andrew Innes
dccfb97995 (internal_condition_case): Comment out abort if
interrupt_input_blocked is not zero.
2000-07-05 15:40:14 +00:00
Stefan Monnier
f4d195451a * w32menu.c (w32_menu_display_help):
* xmenu.c (menu_help_callback): Use show_help_echo.
2000-07-05 14:08:03 +00:00
Stefan Monnier
c2092eba48 (show_help_echo): Declare. 2000-07-05 14:05:05 +00:00
Stefan Monnier
31f84d0328 (show_help_echo): New function, extracted from read_char.
Feval its `msg' argument if it's a cons cell.
(read_char): Use it.
(follow_key): Pass `autoload' to get_keyelt.
2000-07-05 14:01:15 +00:00
Stefan Monnier
b7e804134a * xterm.c (note_mode_line_highlight, note_mouse_highlight)
(note_tool_bar_highlight, XTread_socket):
* msdos.c (IT_note_mode_line_highlight, IT_note_mouse_highlight)
(dos_rawgetc):
* w32term.c (note_mode_line_highlight, note_mouse_highlight)
(note_tool_bar_highlight, w32_read_socket):
Do not gratuitously ignore non-string `help-echo' properties.
2000-07-05 13:41:00 +00:00
Gerd Moellmann
969f7e79eb *** empty log message *** 2000-07-05 13:14:36 +00:00
Gerd Moellmann
cadf6ba27c (Feval): Put check for interrupt_input_block in #if 0. 2000-07-05 12:36:14 +00:00
Gerd Moellmann
71201b0094 *** empty log message *** 2000-07-05 11:54:50 +00:00
Gerd Moellmann
acf7084012 (delete_all_subwindows): Reset Vwindow_list. 2000-07-05 11:53:35 +00:00
Gerd Moellmann
88d757306e (x_append_glyph, x_append_composite_glyph)
(x_produce_image_glyph, x_append_stretch_glyph): Accomodate to
changes in struct glyph starting 1999-12-27.  Some bit-fields of
struct glyph were not set, which made glyphs unequal when compared
with GLYPH_EQUAL_P.  Redisplay outputs such glyphs, and flickering
effects were the result.  This also depended on the contents of
memory returned by xmalloc.  If flickering happens again, activate
the code in clear_glyph_row that's in #if 0.  If the flickering is
gone with that, chances are that it is caused by something
similar.
2000-07-05 11:41:01 +00:00
Gerd Moellmann
45560b1ad4 (clear_glyph_row): Add debug code in #if 0. 2000-07-05 11:39:35 +00:00
Gerd Moellmann
827503c645 Add some comments. 2000-07-05 11:39:10 +00:00
Gerd Moellmann
212116d675 (add_window_to_list): Add parameter LIST.
(window_list): Order list so that, for each frame, windows are
in canonical order, and so that frames appear in the list in
the order given by Vframe_list.
(next_window): Reverse the handling of NEXT_P.
2000-07-05 11:38:42 +00:00
Gerd Moellmann
87efd256ba *** empty log message *** 2000-07-04 19:01:01 +00:00
Gerd Moellmann
6749220013 (Vwindow_list): New variable.
(make_window, delete_window): Set Vwindow_list to nil.
(check_window_containing): New function.
(window_from_coordinates): Rewritten.
(add_window_to_list, window_list, candidate_window_p)
(decode_next_window_args, next_window): New functions.
(Fnext_window, Fprevious_window): Rewritten in terms of
next_window.
(Fwindow_list): New function.
(Fother_window): Cleaned up.
(foreach_window): Add a longer "variable argument list".  Let
callback function return 0 to indicate that cycling over windows
should stop.
(foreach_window_1): Likewise.
(freeze_window_start): Return int.
(init_window): New function.
(syms_of_window): Staticpro Vwindow_list and defsubr Swindow_list.
2000-07-04 18:58:02 +00:00
Gerd Moellmann
75816372d2 (handle_USR1_signal, handle_USR2_signal) Clear
input_event with bzero.
(main): Call init_window.
2000-07-04 18:57:38 +00:00
Andrew Innes
4954f4b075 [emacs]: Include lisp.h (needed by atimer.h included
here via blockinput.h).
2000-07-04 13:06:30 +00:00
Gerd Moellmann
5365473301 (get_keyelt): Temporarily inhibit GC while evaluating
a menu filter.
2000-07-04 12:08:25 +00:00
Kenichi Handa
4a8c194f05 (make_composition_value_copy): Extern it. 2000-07-04 07:40:23 +00:00
Kenichi Handa
33f3782446 (concat): While copying text properties, make each composition
property value a copy.
2000-07-04 07:38:15 +00:00
Kenichi Handa
be17069b71 (Fformat): While copying text properties, make each composition
property value a copy.
2000-07-04 07:37:30 +00:00
Kenichi Handa
c1361885c5 (make_composition_value_copy): New function. 2000-07-04 07:36:58 +00:00
Gerd Moellmann
2f51694043 *** empty log message *** 2000-07-03 13:49:08 +00:00
Gerd Moellmann
2c8a6e9e96 (LINKER, LD_SWITCH_MACHINE) [LINUX]: Define. 2000-07-03 13:48:21 +00:00
Gerd Moellmann
aee625fa34 (sweep_weak_table): Mark only objects that are not
marked already.
2000-07-03 12:29:36 +00:00
Gerd Moellmann
831a6cb01c *** empty log message *** 2000-07-03 07:51:52 +00:00
Gerd Moellmann
551645f885 (next_frame, prev_frame): If MINIBUF is a window,
include those frames as candidates which have their focus
redirected to the minibuffer frame.
2000-07-03 07:51:18 +00:00
Stefan Monnier
d9c4f922fb (Fputhash): Return `value' rather than nil. 2000-07-03 06:59:05 +00:00
Gerd Moellmann
97d176db6b *** empty log message *** 2000-06-30 20:23:44 +00:00
Gerd Moellmann
3780bc2227 (next_frame): Don't check frame-focus redirection in
case MINIBUF is a window.  Doing so excludes frames using MINIBUF
unless their focus is redirected, which contradicts the
specification of next-frame, and leads to infinite loops in
certain situations when cycling through windows with next-window.
2000-06-30 19:21:04 +00:00
Gerd Moellmann
bb6677a88c *** empty log message *** 2000-06-30 10:00:58 +00:00
Kenichi Handa
4956c22544 (code_convert_region): Even if the length of text is
zero, try to convert it if coding->type is coding_type_ccl.
(decode_coding_string, encode_coding_string): Likewise.
2000-06-30 02:56:45 +00:00
Kenichi Handa
dca9961d81 *** empty log message *** 2000-06-30 02:56:11 +00:00
Gerd Moellmann
af5c25e198 *** empty log message *** 2000-06-28 20:31:48 +00:00
Gerd Moellmann
d18354b656 (try_window_reusing_current_matrix): Don't try to reuse
the display if windows_or_buffers_changed.
2000-06-28 20:29:56 +00:00
Gerd Moellmann
6df5d75f4a (struct row_entry): New structure.
(row_entry_pool, row_entry_pool_size, row_entry_idx, row_table)
(row_table_size, old_lines, new_lines, old_lines_size)
(new_lines_size, run_pool, runs_size, runs): New variables.
(add_row_entry): New function.
(scrolling_window): Use data structures allocated with xmalloc and
held in global variables, instead of allocing them with alloca and
holding them in local variables.  Use a larger hash table whose
size depends on glyph matrix sizes.  Don't use bzero to clear the
hash table; instead, clear used slots only.
2000-06-28 20:28:50 +00:00
Gerd Moellmann
6e509e80cb (next_almost_prime): Make it externally visible. 2000-06-28 20:28:21 +00:00
Gerd Moellmann
1a7ad14fd0 (next_almost_prime): Add prototype. 2000-06-28 20:28:02 +00:00
Gerd Moellmann
d5483ab1aa *** empty log message *** 2000-06-28 11:59:30 +00:00
Gerd Moellmann
0b81c94077 (sigunblock): Define. 2000-06-28 11:51:19 +00:00
Dave Love
93e40f4000 (C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED)
(sys_siglist, NSIG): Definitions moved here from osf1.h.
2000-06-27 16:28:35 +00:00
Dave Love
a61f217b5b (C_SWITCH_SYSTEM, LIBS_SYSTEM): Revert last change (moved to osf5-0.h).
[!NOT_C_CODE]: Protect string.h stuff.
2000-06-27 16:24:16 +00:00
Gerd Moellmann
3c4b768559 (resize_mini_window): Subract the extra line spacing
below the last line from the needed window height.
2000-06-27 15:36:01 +00:00
Stefan Monnier
32cad0aaca *** empty log message *** 2000-06-26 21:58:11 +00:00
Stefan Monnier
a52548173c (Fplist_member): Renamed from Fwidget_plist_member.
(Fwidget_get): Use it.
(syms_of_fns): Defsubr it.
2000-06-26 21:53:57 +00:00
Gerd Moellmann
1d36487c5e *** empty log message *** 2000-06-26 15:40:38 +00:00
Gerd Moellmann
287f7dd64f (xim_initialize) [!USE_XIM]: Don't set up the
display info for XIM.
(xim_open_dpy): Likewise.
(xim_close_dpy): Don't free the display info's XIM.
2000-06-26 15:39:55 +00:00
Gerd Moellmann
4bd777b857 (x_window) [!USE_XIM]: Don't call create_frame_ic. 2000-06-26 15:39:25 +00:00
Gerd Moellmann
5b01f1a918 (USE_XIM): New define. 2000-06-26 15:39:03 +00:00
Gerd Moellmann
3fc720e4bd (get_keyelt): For menu-items containing a `:filter
FILTER', apply FILTER to the menu-item's definition to get the
real definition to use.
2000-06-26 15:05:03 +00:00