1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-26 07:00:35 -08:00
Commit graph

12159 commits

Author SHA1 Message Date
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
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