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

10633 commits

Author SHA1 Message Date
Richard M. Stallman
b537a6c701 (Fread_file_name): Check type of DEFAULT_FILENAME. 1999-07-01 14:15:48 +00:00
Richard M. Stallman
ac1f48a4dc (x_make_gc): Turn off GCStipple when setting up cursor_gc. 1999-07-01 00:24:55 +00:00
Karl Heuer
b67792520c [DOUG_LEA_MALLOC] (malloc_initialize_hook):
Move the handling of MALLOC_CHECK_ envvar here.
(main): Moved from here.

[DOUG_LEA_MALLOC] (malloc_initialize_hook): New
function, assigned to the global __malloc_initialize_hook pointer.
(main): Move malloc_set_state call into malloc_initialize_hook
so that it happens as early as possible.
1999-06-29 17:14:31 +00:00
Karl Heuer
3bd0dffb71 (read_key_sequence): Properly reinitialize
fkey_map after translating thru Vkey_translation_map.
After translating thru Vfunction_key_map, don't reset
keytrans-start to 0.
1999-06-27 21:21:31 +00:00
Geoff Voelker
354350d51c w32heap.h (osinfo_cache): Declare. 1999-06-24 22:05:46 +00:00
Geoff Voelker
b9cad9c16e w32heap.c (osinfo_cache): New variable.
(cache_system_info): Initialize osinfo_cache.
1999-06-24 22:05:35 +00:00
Geoff Voelker
c5247da267 (get_emacs_configuration): Use GetVersionEx to
handle NT5.0 correctly.  Include build number in configuration.
w32heap.c (osinfo_cache): New variable.
1999-06-24 22:05:14 +00:00
Karl Heuer
f16d510603 (casify_object): Use make_multibyte_string
if we casify a multibyte string.
1999-06-24 18:01:32 +00:00
Kenichi Handa
427f5aab9d (Finsert_file_contents): In the case of REPALCE, call
del_range_byte instead off del_range_1, set `inserted' to the
number of characters actually inserted.
1999-06-22 23:25:16 +00:00
Kenichi Handa
5e34de1585 (decode_coding_sjis_big5): Avoid compiler warning. 1999-06-18 06:11:29 +00:00
Paul Eggert
a48de9b290 (BOOT_TIME_FILE): New macro.
(get_boot_time): Use it instead of hardwiring the file name.
Check BOOT_TIME_FILE only after inspecting the kernel directly.
1999-06-18 05:49:18 +00:00
Karl Heuer
6693a99a2c (invalid_eol_type): Make it unsigned. 1999-06-17 22:57:01 +00:00
Karl Heuer
9660863d1e (send_process): Delete unsafe/redundant assignment. 1999-06-17 22:52:23 +00:00
Jason Rumney
daffac2fba Handle wide characters properly. 1999-06-17 08:45:30 +00:00
Andrew Innes
a14724c880 (strerror): Override the default implementation of
strerror, so we can map winsock error codes.
1999-06-16 20:02:55 +00:00
Andrew Innes
d8fcc1b984 (sys_strerror): New function. 1999-06-16 20:00:19 +00:00
Andrew Innes
03f8fb34a1 (w32_to_x_weight): Return "demibold" instead of "semibold". 1999-06-16 19:58:02 +00:00
Kenichi Handa
36bb26f758 (syms_of_buffer): Don't make
enable-multibyte-characters customizable.
1999-06-16 02:33:32 +00:00
Karl Heuer
016c8f3fc1 (Fuser_full_name): Doc fix. 1999-06-15 05:30:07 +00:00
Karl Heuer
914eeff99a (unexec): Dump the .rodata section from memory
under IRIX6.5 in order to be able to unexec with gcc.
1999-06-13 22:48:46 +00:00
Jason Rumney
9c332a804d (clear_cached_bitmap_slots): Remove.
(get_bitmap_with_cache): Check if CreateBitmap failed.
Adjust cache size dynamically so cache is never larger than the
system limit of GDI resources.
Do cache clearing inline.  Move global variables to local scope.
1999-06-13 17:49:12 +00:00
Karl Heuer
a9a679b70e (compute_motion): Fix boundary case. 1999-06-12 03:50:37 +00:00
Karl Heuer
31d4844a6a (cancel_mouse_face): new function. See equiv
changes to xterm.c on 1996-10-31.
(x_set_window_size): use cancel_mouse_face.
(w32_read_socket): use cancel_mouse_face.
Update frame position when size is restored.
1999-06-12 03:44:31 +00:00
Kenichi Handa
d6bd663cc1 (ENCODE_SJIS_BIG5_CHARACTER): Encode charset
japanese-jisx0208-1978 correctly.
1999-06-08 00:26:51 +00:00
Karl Heuer
4116ab9feb (Vuser_init_file): New variable.
(syms_of_lread): Set up Lisp variable.
(Fload): Store the file name there, if var was t before.
1999-06-05 01:15:26 +00:00
Karl Heuer
445ebb943f (get_boot_time): Don't look at /proc/uptime; it
doesn't work if the system date is changed, or if the system
is suspended.  Look at the last-modified time of
/var/run/random-seed instead.
1999-06-05 01:13:36 +00:00
Andrew Innes
972ee7e089 (get_section_info) [_ALPHA_]: Force as much bss data
as possible to be dumped, for safety.
1999-06-03 21:00:10 +00:00
Kenichi Handa
497ee4fb44 (ENCODE_SJIS_BIG5_CHARACTER): Encode charset
latin-jisx0201 correctly.
1999-06-02 23:44:53 +00:00
Kenichi Handa
0c01c27ea5 Fix previous change. 1999-05-26 08:03:16 +00:00
Kenichi Handa
28d0c844b2 (Vcharset_table): Comment fixed. 1999-05-26 07:15:39 +00:00
Richard M. Stallman
cfc01fa742 (lock_if_free): After deleting a stale lock,
try again to lock the file.
1999-05-24 09:19:06 +00:00
Richard M. Stallman
940daec19b (syms_of_buffer): Doc fix. 1999-05-24 09:03:05 +00:00
Richard M. Stallman
928aedd8b4 (syms_of_coding): Doc fix. 1999-05-24 09:02:41 +00:00
Andrew Innes
b7b978978c (maybe_generate_resize_event): Detect changes in the
console window size.
(w32_console_read_socket): Call maybe_generate_resize_event
whenever input events are received, since we don't get told when
the window size changes (as opposed to the buffer size, which we
don't care about).
1999-05-22 17:38:01 +00:00
Andrew Innes
a5404e3acf (clear_frame): Remember that the window width might
be smaller than the screen buffer width.
(write_glyphs): Remove redundant variable attrs.  Use
FillConsoleOutputAttribute instead of WriteConsoleOutputAttribute.
1999-05-22 17:37:18 +00:00
Andrew Innes
08712a41ef (w32_read_socket): Reset the grabbed flag when a frame gains or
loses focus.
1999-05-20 20:46:01 +00:00
Andrew Innes
487163ac86 (w32_wnd_proc): Ensure mouse capture is released if
frame loses focus, and that mouse button state is reset.  Ditto
when the menu bar is activated.
1999-05-20 20:42:58 +00:00
Richard M. Stallman
92a581153d Comment change. 1999-05-19 02:27:09 +00:00
Richard M. Stallman
b97771fc17 Fix performance bug on hosts with large
/var/adm/wtmp files with no boot records.

(boot_time_initialized): New var.
(init_filelock): Initialize it.
(get_boot_time): Use it, instead of nonzero boot_time,
to test whether boot_time is initialized.
Don't invoke utmp routines when dumping.

(get_boot_time): First, try to get the boot time from the
current utmp file, as this can be much faster.  Don't try to
get the boot time from utmp and/or wtmp more than once.

(get_boot_time_1): When passed null pointer, don't invoke utmpname.
New arg LATEST.  All uses changed.
1999-05-19 01:30:15 +00:00
Richard M. Stallman
ea02eb562d (Fdefine_abbrev): Doc fix. 1999-05-18 04:47:26 +00:00
Andrew Innes
b1ae662fa6 (dumpglyphs): Use correct colours for drawing rectangles in place of
missing fonts, and make them the right size.
1999-05-15 17:39:26 +00:00
Dave Love
0beaf54f1d (Fparse_partial_sexp): Correct test for element 8 to be
non-nil.
1999-05-14 09:51:02 +00:00
Andrew Innes
ce6059daf3 (x_to_w32_charset): Reinstall VIETNAMESE_CHARSET
definition.
(w32_wnd_proc): Reinstall debugging output.
(w32_wnd_proc): Reinstall SetForegroundWindow change.
(syms_of_w32fns): Reinstall new initializer for
Vw32_phantom_key_code.

(x_to_w32_charset): Do partial matching of charset
names for most non-European charsets, to cope with wildcards or
missing spec dates.
(Fw32_send_sys_command): Post WM_SYSCOMMAND rather than sending it
to avoid deadlock when activating the menu bar.
1999-05-11 13:38:10 +00:00
Kenichi Handa
6397418aa1 (boyer_moore): Get charset base value of `untranslated'
by masking by ~CHAR_FIELD3_MASK (instead of ~0xff).
1999-05-11 01:34:28 +00:00
Andreas Schwab
8d6d9fefe0 (Fread_file_name): Correct handling of dollars in file
names.  Protect dollars in strings put on the file-name-history.
Substitute homedir by `~' also in default_filename.
1999-05-10 12:57:15 +00:00
Andreas Schwab
daa3df262c (try_window_id): Fix computation of tab_offset when
backing up over a character that is splitted across lines.
1999-05-10 12:53:07 +00:00
Kenichi Handa
38edf7d458 (code_convert_region): If eol format is inconsistent,
change coding->symbol to the sibling coding system of Unix like
eol format.
1999-05-10 01:04:01 +00:00
Karl Heuer
c6fd1dc43d (get_boot_time): Handle NO_WTMP_FILE. 1999-05-09 17:57:03 +00:00
Karl Heuer
d9db7b7b0e (NO_WTMP_FILE): Define it. 1999-05-09 17:56:43 +00:00
Andrew Innes
c0611964e9 (w32_strict_painting): New variable.
(w32_wnd_proc): Use it to select repaint rules.
(syms_of_w32fns): Defvar it.
1999-05-05 11:18:31 +00:00