1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-16 08:10:43 -08:00
Commit graph

12168 commits

Author SHA1 Message Date
Kenichi Handa
1848e3a5ab (internal_self_insert): Delete '#ifdef HAVE_FACES' and
the corresponding '#endif'.
2000-08-26 05:56:50 +00:00
Kenichi Handa
d10dfeef97 *** empty log message *** 2000-08-26 05:56:05 +00:00
Miles Bader
2d73e8d3a2 *** empty log message *** 2000-08-26 05:53:18 +00:00
Miles Bader
2c20458f58 (QCinherit):
New variable.
(syms_of_xfaces):
  Initialize it.
(LFACE_INHERIT):
  New macro.
(Finternal_get_lisp_face_attribute, merge_face_vector_with_property)
(Finternal_set_lisp_face_attribute):
  Deal with :inherit attribute.
(check_lface_attrs):
  Allow new types of face height.  Check inherit attribute.
(CYCLE_CHECK):
  New macro.
(merge_face_inheritance):
  New function.
(merge_face_vectors):
  Merge inherited faces too.  Add F and CYCLE_CHECK arguments.
(merge_face_vector_with_property, Finternal_merge_in_global_face)
(lookup_named_face, lookup_derived_face, realize_named_face)
(face_at_string_position, face_at_buffer_position):
  Supply new F and CYCLE_CHECK arguments to merge_face_vectors.
(merge_face_heights):
  New function.
(merge_face_vectors, merge_face_vector_with_property)
(Finternal_set_lisp_face_attribute):
  Call merge_face_heights to handle relative face heights.
(lface_same_font_attributes_p):
  Compare heights using EQ.
2000-08-26 05:36:17 +00:00
Miles Bader
cd68bbe836 (enum lface_attribute_index): Add LFACE_INHERIT_INDEX. 2000-08-26 05:33:29 +00:00
Kenichi Handa
6ce974d452 *** empty log message *** 2000-08-26 01:08:44 +00:00
Kenichi Handa
0e235b7e3a (char_to_string): Check the character validity.
(char_valid_p): If C is not less than MAX_CHAR, be sure to return 0.
2000-08-26 01:07:49 +00:00
Stefan Monnier
dc1e502dd9 (PUSH_FAILURE_COUNT): New macro.
(POP_FAILURE_REG_OR_COUNT): Renamed from POP_FAILURE_REG.
Handle popping of a register's or a counter's data.
(POP_FAILURE_POINT): Use the new name.
(re_match_2_internal): Push counter data on the stack for succeed_n,
jump_n and set_number_at and remove misleading dead code in succeed_n.
2000-08-25 14:35:12 +00:00
Gerd Moellmann
bd9d0f3f80 (redisplay_internal): If considering all windows on all
frames, update the display for each frame as soon as possible,
instead of first building all desired matrices for all frames, and
then updating them all.
(try_cursor_movement): Handle case that last_cursor.vpos is -1.
2000-08-25 13:21:46 +00:00
Gerd Moellmann
17494071e6 *** empty log message *** 2000-08-24 11:42:48 +00:00
Gerd Moellmann
dff13d039c (mark_byte_stack): Add a comment. 2000-08-24 11:42:33 +00:00
Gerd Moellmann
aa5b8e155d (FRAME_FLAGS_AREA_COLS, FRAME_FLAGS_AREA_WIDTH)
(FRAME_LEFT_FLAGS_AREA_WIDTH): Return 0 unless frame is
a graphical frame.
2000-08-24 11:06:09 +00:00
Andrew Innes
280d77218f New file. 2000-08-24 11:05:18 +00:00
Kenichi Handa
7892a68b98 (do_completion): Always use compare-string, not string-equal because
the latter doesn't pay attention to multibyteness of strings.
2000-08-24 03:24:13 +00:00
Kenichi Handa
d246d5f583 *** empty log message *** 2000-08-24 03:23:37 +00:00
Kenichi Handa
c543db811f *** empty log message *** 2000-08-24 02:09:20 +00:00
Kenichi Handa
278bfdd615 (create_process): Don't setup raw-text coding here.
(Fopen_network_stream): Don't set coding->src_multibyte and
coding->dst_multibyte here.
(read_process_output): For process filter, return unibyte string
if default-enable-multibyte-characters is nil.
(send_process): If OBJECT is multibyte text, be sure to encoded it
by the specified coding system for the process.  Otherwise, setup
raw-text coding.
(init_process): Don't initialize default-process-coding-system
here.
2000-08-24 02:06:43 +00:00
Eli Zaretskii
9b47cfe0f3 (syms_of_buffer) <scroll-up-aggressively>: Doc fix.
<scroll-down-aggressively>: Likewise.
2000-08-23 11:54:24 +00:00
Kenichi Handa
78a629d2f5 (encode_eol): Fix bug for the case of dst_bytes being zero. Set
coding->produced_char correctly.
2000-08-23 02:47:42 +00:00
Kenichi Handa
f5a3696054 *** empty log message *** 2000-08-23 02:46:43 +00:00
Andrew Innes
69a7ffa7ec *** empty log message *** 2000-08-23 00:02:40 +00:00
Andrew Innes
bfba227f39 (malloc, free, realloc, calloc): Rename if
USE_CRT_DLL is defined, so Emacs can use GNU malloc even though it
cannot override the CRT malloc.
(_WINSOCK_H): Define to prevent normal winsock
definitions from being used.
(sys_nerr): Provide default definition.
(strdup, strupr, strnicmp, stricmp, tzset, tzname): Map to same
name with _ prepended.
(NSIG): Define if not known.
(get_emacs_configuration): Provide extern declaration.
(get_emacs_configuration_options): Provide extern declaration.
(EMACS_CONFIG_OPTIONS): Call get_emacs_configuration_options.
2000-08-22 23:55:09 +00:00
Andrew Innes
546a4f000d Include keyboard.h before frame.h.
Separate GLYPH_DEBUG and DEBUG_TRACE_MOVE.
2000-08-22 23:53:39 +00:00
Andrew Innes
3e4731a35a Include keyboard.h before frame.h. 2000-08-22 23:45:16 +00:00
Andrew Innes
38006079e4 Include keyboard.h before frame.h.
[USE_CRT_DLL]: Remove unnecessary extern, which screws
up dllimport attributes.
(x_update_window_end): Update prototype.
2000-08-22 23:43:25 +00:00
Andrew Innes
42c95ffbe9 (IsValidLocale): Extern missing from mingw32 headers.
(compare_env):
(find_child_console): Fix compile warning.
(create_child): Remove reference to security
descriptor, which isn't needed and doesn't compile with mingw32.
2000-08-22 23:39:00 +00:00
Andrew Innes
15d36dee8f Include keyboard.h before frame.h. Fix compile
warnings.
2000-08-22 23:37:05 +00:00
Andrew Innes
690e96a310 Include keyboard.h before frame.h.
(MOUSE_MOVED): Define if not known.
2000-08-22 23:33:55 +00:00
Andrew Innes
c86a406437 Undefine min, max. 2000-08-22 23:32:51 +00:00
Andrew Innes
2e4f647777 [!USE_CRT_DLL]: Don't define _heap_init and _heap_term
unless we are linking with a static CRT.
(RVA_TO_PTR): Cast result to unsigned char*.
2000-08-22 23:31:00 +00:00
Andrew Innes
71eab8d17d (max): Define macro.
(JOHAB_CHARSET): Define if not known.
(MOD_ALT, MOD_CONTROL, MOD_SHIFT, MOD_WIN): Define if not known.
(Fx_show_tip): Synch with X version.
2000-08-22 23:00:51 +00:00
Andrew Innes
84f5bd8132 (min): Define macro.
(clear_frame, write_glyphs): Fix compile warning.
2000-08-22 22:53:00 +00:00
Andrew Innes
cc26af7500 (search_file_line):
(set_bdf_font_info):
(seek_char):
(w32_get_bdf_glyph):
(w32_BDF_to_x_font): Fix compile warnings.
2000-08-22 22:50:55 +00:00
Stefan Monnier
2506008079 *** empty log message *** 2000-08-22 22:49:36 +00:00
Andrew Innes
a302c7ae2b (GetCachedVolumeInformation): Use xmalloc, xfree and xstrdup.
(add_volume_info): Use xstrdup.
(init_environment): Call _access.
(check_windows_init_file): Call _close.
(init_user_info): Call _putenv.
(init_environment): Call _putenv and _strdup.
(init_ntproc): Reset volume info cache on startup.
(unc_volume_file_attributes):
(open_unc_volume): Make arg const.
(gettimeofday): Use struct timeb, not struct _timeb.
(map_w32_filename, read_unc_volume): Fix compile warning.
(sys_strerror): Use sys_nerr instead of _sys_nerr.  Use
sys_errlist instead of _sys_errlist.
(get_emacs_configuration_options): New function.
2000-08-22 22:49:27 +00:00
Stefan Monnier
739cc39175 (Vcompletion_auto_help): Renamed from `auto_help'.
(do_completion, Fminibuffer_complete_word): Use it.
(syms_of_minibuf): Turn completion-auto-help into a proper Lisp
var so it can take non-boolean values.
2000-08-22 22:49:22 +00:00
Andrew Innes
49dc9682b7 Change PUCHAR to PCHAR.
(PTR_TO_OFFSET): Cast ptr to unsigned char *.
(relocate_offset):
(get_section_info):
(copy_executable_and_dump_data): Remove unnecessary static defs.
(copy_executable_and_dump_data): Fix compile warnings.
(unexec): Ignore old_name, and use the actual location
of the current executable instead.  Base new_name on this.
2000-08-22 22:44:39 +00:00
Andrew Innes
a5e73edce6 (write_segment) [USE_CRT_DLL]: Remove unnecessary
extern, which screws up dllimport attributes.
2000-08-22 22:41:55 +00:00
Andrew Innes
2538fae4f8 Include keyboard.h before frame.h. 2000-08-22 22:41:00 +00:00
Andrew Innes
e36ec798cc Include keyboard.h before frame.h.
(NULL) [WINDOWSNT]: Define NULL if not defined.
[USE_CRT_DLL]: Remove unnecessary extern, which screws
up dllimport attributes.
2000-08-22 22:40:16 +00:00
Andrew Innes
03695acef7 [USE_CRT_DLL]: Remove unnecessary extern, which
screws up dllimport attributes.
2000-08-22 22:38:05 +00:00
Andrew Innes
3ec68006ee Include keyboard.h before frame.h.
[USE_CRT_DLL]: Remove unnecessary extern, which screws
up dllimport attributes.
(create_process) [USE_CRT_DLL]: Remove unnecessary extern, which
screws up dllimport attributes.
2000-08-22 22:36:52 +00:00
Andrew Innes
43e5817fd1 (LOCAL_FLAGS): Define USE_CRT_DLL if requested.
(LINK_FLAGS): Append to original value of LINK_FLAGS.
2000-08-22 22:32:56 +00:00
Andrew Innes
473ddaa924 [WINDOWSNT]: Don't declare externs for getenv, ctime and getwd. 2000-08-22 22:26:04 +00:00
Andrew Innes
026396097f Include keyboard.h before frame.h.
[USE_CRT_DLL]: Remove unnecessary extern, which
screws up dllimport attributes.
2000-08-22 22:23:58 +00:00
Andrew Innes
f12ef5ebfd [USE_CRT_DLL]: Remove unnecessary extern, which screws
up dllimport attributes.
2000-08-22 22:19:26 +00:00
Andrew Innes
1f9c3929c5 (malloc_initialize_hook) [USE_CRT_DLL]: Remove
unnecessary extern, which screws up dllimport attributes.
(main): Ditto.
2000-08-22 22:16:41 +00:00
Andrew Innes
d43721a22e Include keyboard.h before frame.h.
(window_change_signal) [USE_CRT_DLL]: Remove
unnecessary extern, which screws up dllimport attributes.
2000-08-22 22:14:00 +00:00
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