Commit graph

12120 commits

Author SHA1 Message Date
Gerd Moellmann
acb7cc8983 (find_field): Formatting changes.
(toplevel): Some old-style function forward declarations
changed to prototypes, some new protypes added, some functions
made static.
2000-08-21 19:48:17 +00:00
Gerd Moellmann
9a4f9d3026 (set_time_zone_rule): Add prototype.
(use_dialog_box): External declaration.
2000-08-21 19:47:02 +00:00
Gerd Moellmann
0bbfdc25a0 (gen_help_event): Add parameter SIZE.
(kbd_buffer_events_waiting): Slightly rewritten.
(clear_event): New function.
(kbd_buffer_get_event): Use it, and clear the input_events of
HELP_EVENTs.
(init_keyboard): Remove duplicate creation of kbd_buffer_gcpro and
don't fill the newly created array with nils.
(toplevel): Convert some old-style function forward declarations
to prototypes.
2000-08-21 18:59:19 +00:00
Gerd Moellmann
2ed8e984db (gen_help_event): Change prototype. 2000-08-21 18:58:30 +00:00
Gerd Moellmann
5ab2570dea (XTread_socket): Change calls to gen_help_event. 2000-08-21 18:58:17 +00:00
Gerd Moellmann
b41653141d (w32_read_socket): Change calls to gen_help_event. 2000-08-21 18:57:13 +00:00
Gerd Moellmann
6917e6bbc9 *** empty log message *** 2000-08-21 11:44:42 +00:00
Gerd Moellmann
80c05374a4 (Fmacroexpand): Doc fix. 2000-08-21 11:39:17 +00:00
Kenichi Handa
6922b01802 *** empty log message *** 2000-08-21 01:39:25 +00:00
Jason Rumney
e5cd3d111a (keymap_panes): Pass the keymap's prompt as the pane name to
single_keymap_panes.
(w32_menu_show): Set wv->title when dealing with titles.
(w32_menu_display_help): Call show_help_echo with OBJECT and POS.
2000-08-20 21:14:08 +00:00
Jason Rumney
158cba563f (help_echo_window): New variable.
(syms_of_w32term): staticpro it.
(note_mode_line_highlight): Set it.
(XTextExtents16): Removed as there is no equivalent on W32.
(x_compute_glyph_string_overhangs): Incomplete body removed, as
the X way of doing this will not work for W32.
(w32_intersect_rectangles): Removed. Use IntersectRect API call.
(x_draw_image_foreground):  Avoid drawing outside of the clip area
when image doesn't have a mask.
(note_mouse_highlight): Process overlays in the right order of
priority. Set help_echo_window.
(x_draw_bar_cursor): If cursor is on an image, draw a box cursor
because that's more visible for large images.
2000-08-20 21:08:43 +00:00
Jason Rumney
5a7ab57adc (x_display_info_for_display): Remove as this function does not exist on W32. 2000-08-20 20:47:43 +00:00
Dave Love
dcd465573f (Fread): Doc fix. 2000-08-20 19:06:50 +00:00
Miles Bader
6e69ab8c7b (do_completion): Try again if we rewrite the input string, but no
completion was done, so that any completion message will be correct.
2000-08-20 17:12:03 +00:00
Gerd Moellmann
511bd4eb0b *** empty log message *** 2000-08-20 13:29:38 +00:00
Gerd Moellmann
ae4b4ba5df (lface_equal_p): Compare strings differently.
(Qtty_color_alist, Vtty_defined_color_alist): New variables.
(realize_tty_face): Use them.
(syms_of_xfaces): Initialize new variables.
(map_tty_color): New function, extracted from realize_tty_face.
(map_tty_color) [MSDOS || WINDOWSNT]: If using the frame's default
foreground or background color, store the new color name in the
realized face; previous code trying to do this had no effect.
(realize_tty_face): Use map_tty_color.
(Fclear_face_cache): Set face_change_count and ensure thorough
redisplay.
2000-08-20 13:23:01 +00:00
Gerd Moellmann
1433385feb *** empty log message *** 2000-08-19 12:35:17 +00:00
Gerd Moellmann
2f33f38ac4 (record_first_change, record_marker_adjustment): Don'use
XBUFFER on last_undo_buffer which might not be a buffer.
2000-08-19 12:33:00 +00:00
Kenichi Handa
13004bef1e (encode_coding_string): Fix previous change. 2000-08-18 10:48:26 +00:00
Kenichi Handa
2391eaa401 (decode_coding_string): Set members consumed,
consumed_char, produced, produced_char of *coding correctly.  If
decode_coding doesn't consume any byte, don't try anymore.
(encode_coding_string): Likewise.
2000-08-18 06:41:15 +00:00
Kenichi Handa
419ac0a216 *** empty log message *** 2000-08-18 06:39:31 +00:00
Gerd Moellmann
7eb9e30d9d (CHECK) [ENABLE_CHECKING]: Make both side of the
conditional have void type, for standard C compilers.
2000-08-18 05:18:44 +00:00
Gerd Moellmann
97a36635d1 (redisplay_internal): Compare windows for equality with
EQ, instead of applying XWINDOW to something that might not
be a window.
2000-08-18 05:16:45 +00:00
Kenichi Handa
851ab85e39 (Finternal_char_font): Search only the selected frame for a window of
the current buffer.
2000-08-18 05:05:39 +00:00
Kenichi Handa
dd34a73507 *** empty log message *** 2000-08-18 05:05:08 +00:00
Gerd Moellmann
01cce3e757 (do_completion): Use EQ instead of != to compare
Lisp_Objects.
2000-08-18 04:55:28 +00:00
Gerd Moellmann
385ff9e36d *** empty log message *** 2000-08-18 03:48:49 +00:00
Gerd Moellmann
e4457b09c8 (kbd_buffer_get_event): Handle the case that the
second half of a HELP_EVENT is found at the start of kbd_buffer.
2000-08-18 03:13:27 +00:00
Miles Bader
4618074a71 (Lisp_String): Replace DECLARE_INTERVALS with real decl. 2000-08-18 03:07:07 +00:00
Miles Bader
d6abb4c767 (save_restriction_save): Rewrite to use markers.
(save_restriction_restore): Rewrite to understand new form of data
  saved by save_restriction_save.
(Fsave_restriction): Remove cautionary note in doc-string.
2000-08-18 00:43:52 +00:00
Gerd Moellmann
a7b2852367 *** empty log message *** 2000-08-17 20:27:27 +00:00
Gerd Moellmann
532ed66155 (build_annotations): Add a comment explaining the
return value of format-annotate-function.  Replace a spurios call
to Flength with a CONSP test.  Call format-annotate-function with
a fifth arg specifying how many times the function has been called
in a row, to let it choose temporary buffers appropriately.
2000-08-17 20:25:50 +00:00
Dave Love
03c9ed7793 Remove DECLARE_INTERVALS, INITIALIZE_INTERVAL. Don't
declare make_temp_name twice.
2000-08-17 14:17:37 +00:00
Dave Love
232ccf275f Prototype readevalloop, load_unwind,
load_descriptor_unwind.
(unreadpure): Give it an arg.
2000-08-17 14:11:00 +00:00
Dave Love
3fb21e7ab8 Prototype fatal_unexec, mark_x, update_dynamic_symbols. Declare
unexec as void.
2000-08-17 14:07:15 +00:00
Dave Love
87dc6c9eca [HAVE_TERMCAP_H]: Include <termcap.h>.
[!HAVE_TERMCAP_H]: Prototype tputs, tgoto.
2000-08-17 14:04:16 +00:00
Dave Love
b3303f7468 (lisp_malloc): Declare with POINTER_TYPE.
[SYSTEM_MALLOC]: Make decls in malloc.h conditional on
DOUG_LEA_MALLOC.
2000-08-17 14:01:09 +00:00
Dave Love
29f4bda5cf Use #error.
[POINTER_TYPE]: Use it.
2000-08-17 13:57:01 +00:00
Dave Love
77d2026234 (Fdefvar): Doc fix. 2000-08-17 13:54:16 +00:00
Dave Love
a9800ae8a9 (Fget_buffer_create, Fmake_indirect_buffer): Avoid
INITIALIZE_INTERVAL.
2000-08-17 13:51:37 +00:00
Dave Love
bb4fee022a Avoid DECLARE_INTERVALS. 2000-08-17 13:48:48 +00:00
Dave Love
9d8cf732e6 Add size_t. 2000-08-17 13:45:46 +00:00
Eli Zaretskii
aae41d97a4 (set_clipboard_data): If there's not enough memory
to put text into clipboard, return 1, as Fw16_set_clipboard_data
expects.  In case of other failures, return 3.
(system_error_msg): New error message.
(Fw16_set_clipboard_data): If set_clipboard_data returns 3, print
system_error_msg.
2000-08-17 06:11:09 +00:00
Dave Love
ed1f9d49ba (ccl-program-p): Fix doc string. 2000-08-16 15:17:24 +00:00
Gerd Moellmann
65aa5e85fa (write_glyphs): Also turn off inverse video after turning
off other appearances in case TS_exit_attribute_mode is not equal
to TS_end_standout_mode.
(insert_glyphs): Turn inverse video on/off for each run of glyphs
with the same face.
(turn_off_face): Reset standout_mode only if
TS_exit_attribute_mode has been output and TS_exit_attribute_mode
is equal to TS_end_standout_mode.
2000-08-16 12:14:15 +00:00
Kenichi Handa
bb10be8b6f (encode_coding): Fix the bug of not flushing ISO escape sequence at
the end of the source block.
2000-08-16 11:19:34 +00:00
Kenichi Handa
9d7bcb2ee8 *** empty log message *** 2000-08-16 11:17:37 +00:00
Kenichi Handa
c7c386ad47 (Fccl_program_p): Docstring modified.
(Fccl_execute): Likewise.
(Fccl_execute_on_string): Likewise.
2000-08-16 10:49:31 +00:00
Kenichi Handa
ece23901b5 *** empty log message *** 2000-08-16 10:48:41 +00:00
Eli Zaretskii
5e30eaa296 (IT_write_glyphs): Convert cbp to unsigned char *. 2000-08-16 05:22:00 +00:00