1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 11:21:04 -08:00
Commit graph

9774 commits

Author SHA1 Message Date
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
Andrew Innes
1c885fe1ad (x_to_w32_charset): Fix typo: want to map all Japanese
charsets to the standard Windows charset for Japanese.
1999-05-04 08:57:08 +00:00
Kenichi Handa
74848a963c (x_load_font): Fix typo (>' -> ='). 1999-05-04 05:45:36 +00:00
Kenichi Handa
e05645eeb8 (struct ccl_program): New member stack_idx. 1999-05-04 05:43:41 +00:00
Kenichi Handa
c13362d808 (ccl_prog_stack_struct): Declare it as static.
(ccl_driver): Setup stack_idx and ccl_prog correctly.  Update them
before returing.
(setup_ccl_program): Initialize ccl->stack_idx to 0.
1999-05-04 05:42:55 +00:00
Andrew Innes
e3e0e526a7 (dumpglyphs): Always fill background for italic fonts. 1999-05-03 22:27:11 +00:00
Andrew Innes
e5124be7f7 (make_time): Make argument type be time_t. 1999-05-03 22:01:09 +00:00
Andrew Innes
68026917ff (unibyte_display_via_language_environment): Add extern. 1999-05-02 11:02:11 +00:00
Andrew Innes
86e8618142 (unibyte_display_via_language_environment):
Variable moved to xdisp.c.
(syms_of_w32fns): Don't set up Lisp var here.
1999-05-02 10:58:11 +00:00
Andrew Innes
e16bf4949f (unibyte_display_via_language_environment):
Variable moved to xdisp.c.
(syms_of_msdos): Don't set up Lisp var here.
1999-05-02 10:56:26 +00:00