Kenichi Handa [Thu, 24 Aug 2000 02:06:43 +0000 (02:06 +0000)]
(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.
Andrew Innes [Tue, 22 Aug 2000 23:55:09 +0000 (23:55 +0000)]
(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.
Andrew Innes [Tue, 22 Aug 2000 23:43:25 +0000 (23:43 +0000)]
Include keyboard.h before frame.h.
[USE_CRT_DLL]: Remove unnecessary extern, which screws
up dllimport attributes.
(x_update_window_end): Update prototype.
Andrew Innes [Tue, 22 Aug 2000 23:39:00 +0000 (23:39 +0000)]
(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.
Andrew Innes [Tue, 22 Aug 2000 23:00:51 +0000 (23:00 +0000)]
(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.
Andrew Innes [Tue, 22 Aug 2000 22:49:27 +0000 (22:49 +0000)]
(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.
Stefan Monnier [Tue, 22 Aug 2000 22:49:22 +0000 (22:49 +0000)]
(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.
Andrew Innes [Tue, 22 Aug 2000 22:44:39 +0000 (22:44 +0000)]
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.
Andrew Innes [Tue, 22 Aug 2000 22:40:16 +0000 (22:40 +0000)]
Include keyboard.h before frame.h.
(NULL) [WINDOWSNT]: Define NULL if not defined.
[USE_CRT_DLL]: Remove unnecessary extern, which screws
up dllimport attributes.
Andrew Innes [Tue, 22 Aug 2000 22:36:52 +0000 (22:36 +0000)]
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.
Miles Bader [Tue, 22 Aug 2000 10:09:56 +0000 (10:09 +0000)]
(comint-output-filter):
Compare end of comint-last-output-overlay with the start of the newly
inserted text, not the end, when deciding whether to extend it.
Set saved-point's insertion type to advance after insertion.