1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-16 13:11:14 -08:00
Commit graph

12455 commits

Author SHA1 Message Date
Dave Love
f5533b6358 *** empty log message *** 2000-10-06 22:55:11 +00:00
Dave Love
937b143207 (ospeed): Don't declare. 2000-10-06 22:53:30 +00:00
Dave Love
789cf80815 Don't include string.h.
(h_errno): Declare conditional also on TRY_AGAIN.
2000-10-06 22:51:10 +00:00
Dave Love
0c59a1b7f5 (Ffind_charset_string): Doc fix. 2000-10-06 22:47:22 +00:00
Dave Love
a90e80bfa2 (Fbase64_encode_region, Fbase64_encode_string)
(Fbase64_decode_region, Fbase64_decode_string): More explicit
error messages.
2000-10-06 22:42:46 +00:00
Dave Love
2b06561ab5 (Fx_popup_menu, Fx_popup_dialog): Check for tool-bar
position like menu-bar.
2000-10-05 21:18:30 +00:00
Gerd Moellmann
ca839c85be (merge_face_heights): Use safe_call instead of
call_function.
2000-10-05 19:30:21 +00:00
Gerd Moellmann
116d6f5cae (handle_single_display_prop): Use safe_call1.
(safe_call): Renamed from call_function.
(safe_call1): New function.
(handle_fontified_prop): Use safe_call1 instead of call1.
(safe_eval): Renamed from eval_form.
(safe_eval_handler): Renamed from eval_handler.
(handle_single_display_prop, display_mode_element): Use safe_eval
instead of eval_form.
2000-10-05 19:29:05 +00:00
Gerd Moellmann
1db0076e78 (Frecursive_edit): Make sure redisplay can happen.
(show_help_echo): Use safe_call instead of
call_function; use safe_eval instead of eval_form.
2000-10-05 19:27:17 +00:00
Gerd Moellmann
a18c0a477e (safe_call): Renamed from call_function.
(safe_eval): Renamed from eval_form.
(safe_call1): Add prototype.
2000-10-05 19:26:09 +00:00
Miles Bader
a3489ecece *** empty log message *** 2000-10-05 06:07:38 +00:00
Miles Bader
3694cb3fde (image_ascent): Rearrange ascent calculation for the has-a-font case. 2000-10-05 05:21:13 +00:00
Stefan Monnier
35810b6fff (Fwhere_is_internal): Ignore menu-bar' and tool-bar'.
(where_is_internal_1): Don't bother ignoring menu-items any more.
2000-10-04 23:16:46 +00:00
Gerd Moellmann
3dc78168e1 *** empty log message *** 2000-10-04 19:05:33 +00:00
Gerd Moellmann
3626fb1aea (update_menu_bindings): New variable.
(parse_menu_item): Use AREF.  If update_menu_bindings
is 0, don't update menu bindings.
(syms_of_keyboard): New Lisp variable `update-menu-bindings'.
2000-10-04 19:00:10 +00:00
Eli Zaretskii
1efc2bb9c8 (Fgarbage_collect): Prevent compiler warning for a call
to `mark_object'.
2000-10-03 12:47:31 +00:00
Stefan Monnier
3f679f55a2 (prev_char_comstart_first): Remove.
(back_comment): Check two-char comment markers more carefully
to better handle overlapping cases like *//* or /* */* */ ...
Match nestedness of ender/starter.
2000-10-02 22:15:27 +00:00
Stefan Monnier
abf8a9ffcc (forw_comment): Match nestedness of ender/starter.
(Fforward_comment): Treat an unmatched \n comment-ender as whitespace.
2000-10-02 21:59:00 +00:00
Dave Love
ae71142392 (HAVE_GAI_STRERROR): Undef. 2000-10-02 16:44:59 +00:00
Dave Love
2021ab61cb *** empty log message *** 2000-10-02 16:44:14 +00:00
Dave Love
f6270f62c2 (Fopen_network_stream): Use HAVE_GAI_STRERROR. 2000-10-02 16:42:47 +00:00
Dave Love
6708b99c5d (NO_REMAP): Don't define. 2000-10-02 14:30:39 +00:00
Gerd Moellmann
64e6cc18e6 *** empty log message *** 2000-10-02 11:19:01 +00:00
Gerd Moellmann
9402dba525 (error): Prevent compiler warning. 2000-10-02 11:11:52 +00:00
Gerd Moellmann
834168efd8 (wrong_type_argument): Remove NO_RETURN, the function can
return with a string converted to an integer or vice versa when
Vmocklisp_arguments is t.
(Fsignal): Likewise.  The function can return for `quit'.
(struct gcpro): Declare member `var' to point to a volatile
Lisp_Object.
2000-10-02 11:11:12 +00:00
Stefan Monnier
b1904cd946 (keymap_memberp): New function.
(Fset_keymap_parent): Use it.
(fix_submap_inheritance): Use get_keyelt, get_keymap_1 and KEYMAPP.
Use keymap_memberp to avoid creating cycles.
(access_keymap): Use KEYMAPP.
2000-09-30 17:00:32 +00:00
Gerd Moellmann
71c9ec5139 *** empty log message *** 2000-09-30 14:35:11 +00:00
Gerd Moellmann
70dbdb363e (Fopen_network_stream) [HAVE_GETADDRINFO]: Use
gai_strerror.  Make sure xerrno is set if connect fails.  Improve
error recovery.
2000-09-30 13:51:15 +00:00
Jason Rumney
264f0aa7ed (search_file_line): Fix skipping of whitespace.
(get_quoted_string): Fix limit on memchr search.
(set_bdf_font_info): Use unsigned chars. Negate yoffset.
(w32_init_bdf_font): Initialize codepoint and bitmap heaps.
(w32_free_bdf_font): Free bitmaps and codepoints on heaps.
(get_cached_font_char, cache_char_offset): Use macro
BDF_CODEPOINT_RANGE_COVER_P.
(cache_char_offset): Use HeapAlloc to allocate codepoints on own heap.
(clear_cached_bitmap_slots): New function.
(GET_HEX_VALUE): G-Z, g-z are not hex.
(w32_get_bdf_glyph): Convert to DIB format. Return bytes read.
(get_bitmap_with_cache): Use new cache implementation.
(create_offscreen_bitmap): New function.
(w32_BDF_TextOut): Use it. Draw glyphs as DIBs.
2000-09-29 21:23:10 +00:00
Jason Rumney
ebbf77eacd (glyph_struct, cache_bitmap): Cache bitmap data, not GDI object which
is a scarce resource.
2000-09-29 21:21:54 +00:00
Jason Rumney
9127e20e66 (w32_char_font_type, w32_encode_char, x_produce_glyphs): Distinguish
single and multibyte BDF fonts.
(w32_bdf_per_char_metric): New function.
(w32_per_char_metric): Use it.
(x_draw_glyph_string_background): Always draw background for BDF glyphs.

(x_produce_glyphs):  If the distance from the current position to the
next tab stop is less than a canonical character width, use the tab
stop after that.
(x_draw_glyphs): Handle case START and END are out of bounds more carefully.
(x_clear_mouse_face): Block/unblock input.
(x_display_and_set_cursor): Don't show a hollow box cursor for buffers
whose cursor_type is nil.
2000-09-29 21:20:59 +00:00
Jason Rumney
c70c6b58c0 *** empty log message *** 2000-09-29 21:18:19 +00:00
Dave Love
dc3cd20f61 *** empty log message *** 2000-09-29 13:37:08 +00:00
Gerd Moellmann
fe01239f47 (updating_frame): Declare extern. 2000-09-29 13:21:16 +00:00
Gerd Moellmann
ccba751c45 (x_set_tool_bar_lines): Clear frame when tool bar
disappears.
2000-09-29 13:18:44 +00:00
Andreas Schwab
e7c52f1fc4 . 2000-09-29 13:02:32 +00:00
Andreas Schwab
9bb7794e97 Remove hack of not prototyping bcopy, etc. 2000-09-29 13:00:37 +00:00
Gerd Moellmann
25126faa09 (menu_bar_one_keymap): If KEYMAP is a symbol,
use its function definition.
(tool_bar_items): Likewise.
2000-09-29 12:42:01 +00:00
Gerd Moellmann
de6e1f7cde *** empty log message *** 2000-09-29 09:01:41 +00:00
Gerd Moellmann
07cd5d9c7a (fatal): Declare NO_RETURN. 2000-09-29 09:01:16 +00:00
Kenichi Handa
6f5ac60d61 Remove the line "#undef NULL". 2000-09-29 06:47:05 +00:00
Kenichi Handa
454ee39bde *** empty log message *** 2000-09-29 06:46:42 +00:00
Dave Love
5979523a64 (USE_MMAP_FOR_BUFFERS): Define. 2000-09-28 21:49:46 +00:00
Dave Love
c71ea23121 (xreload): Note its need on GNU/Linux. 2000-09-28 19:16:27 +00:00
Dave Love
ecb8b666aa *** empty log message *** 2000-09-28 19:09:34 +00:00
Gerd Moellmann
96301c5f5a *** empty log message *** 2000-09-28 14:46:35 +00:00
Gerd Moellmann
31be92510e (x_make_frame_visible): Try harder to make the frame
visible.
2000-09-28 14:00:51 +00:00
Dave Love
2a620aaa63 Define REL_ALLOC_MMAP, not REL_ALLOC_MMAP. 2000-09-28 09:41:28 +00:00
Dave Love
efffeeb43e *** empty log message *** 2000-09-28 09:34:54 +00:00
Dave Love
73d2741753 (XUINT) [REL_ALLOC && _MALLOC_INTERNAL]: Don't declare
r_alloc, r_alloc_free.
2000-09-28 09:29:02 +00:00