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

9753 commits

Author SHA1 Message Date
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
Andrew Innes
2c088c9835 (unibyte_display_via_language_environment):
Variable moved to xdisp.c.
(syms_of_xfns): Don't set up Lisp var here.
1999-05-02 10:54:36 +00:00
Andrew Innes
7bbe686fb2 (display_text_line): Convert unibyte char to multibyte
if unibyte_display_via_language_environment is set.
(unibyte_display_via_language_environment):
Variable moved from xfns.c and elsewhere.
(syms_of_xfns): Set up Lisp var.
1999-05-02 10:51:03 +00:00
Andrew Innes
a5a7d30fe9 (HAVE_FSYNC): New macro.
(fsync): Map to _commit.
(ftruncate): Map to _chsize.
1999-05-02 10:36:23 +00:00
Andrew Innes
e12ca9c2ec [andrewi]
(dumpglyphs): On Windows NT, do output in Unicode even
for ASCII, if enabled, to avoid memory allocation overhead for
implicit Unicode conversion.  Also, recognize that ASCII and
Latin-1 have a trivial conversion to Unicode, so x_2byte_buffer
lready contains the Unicode characters in that case.
(construct_drag_n_drop): Remove old code that was
trashing the drop location.

[jasonr]
(w32_write_glyphs, w32_clear_end_of_line,
w32_clear_frame, clear_cursor, x_display_bar_cursor,
x_display_box_cursor, x_set_window_size): Use phys_cursor_on
field in frame.
(do_line_dance): Updated WRT xterm.c. Use macros where possible.
(dumprectangle): Take into account the width of a left-side
scroll bar.
1999-05-02 10:34:21 +00:00
Andrew Innes
43df7d0b43 (Fw32_set_clipboard_data): Undo last change to add
nlines to encoding_buffer_size (real bug was in a ccl program in
lisp/international/coding.el).
1999-05-02 10:30:22 +00:00
Andrew Innes
49fb6381ca (w32_get_string_resource): Check for name in current
user area, and if not found look in the local machine area.
1999-05-02 10:28:55 +00:00
Andrew Innes
f446016fdb (sys_kill): Attach to current foreground thread
when grabbing focus; necessary on NT 5.0.
1999-05-02 10:27:27 +00:00
Andrew Innes
55dcfc1588 [andrewi]
(w32_list_bdf_fonts): Initialize n_fonts.
(Fw32_shell_execute): New function; used to support browse-url.
(syms_of_w32fns): Register it.
(w32_load_system_font): Force max width to be average
char width for fixed-pitch fonts, to avoid unnecessary redisplay
slowdown.
(x_to_w32_charset): Define VIETNAMESE_CHARSET if not
already defined.
(syms_of_w32fns): Set Vw32_phantom_key_code to 255.

[jasonr]
(w32_wnd_proc) [WM_PAINT]: Use rectangle from
GetUpdateRect rather than BeginPaint.
(w32_wnd_proc): Attach to current foreground thread
when grabbing focus; necessary on NT 5.0.
(w32_wnd_proc) [W32_DEBUG_DISPLAY]: Add output for
debugging display messages.
(w32_to_x_charset): Put wildcard last in unknown charsets to avoid
false matching.
1999-05-02 10:23:06 +00:00
Andrew Innes
e3ddd18c28 (get_section_info): Dump back the entire EMDATA
section if we can put Emacs' initialized data in a separate
section, otherwise use the my_begdata/my_edata method.
1999-05-02 10:13:08 +00:00
Andrew Innes
9551468ff4 ($(BLD)\w32term.obj): Add dependency on w32heap.h. 1999-05-02 10:11:35 +00:00
Andrew Innes
716e0b0ab9 [andrewi]
(decode_eol): Set produced/consumed values to zero if
src_bytes is <= 0 on entry.

[handa]
(setup_raw_text_coding_system): Call
setup_coding_system to initialize the fields of struct
coding_system correctly.
1999-05-02 10:05:22 +00:00
Karl Heuer
003a7eaa31 Comment fix. 1999-04-28 16:41:08 +00:00
Karl Heuer
53ca46578b (x_list_fonts): Fix previous change. 1999-04-26 06:02:19 +00:00
Karl Heuer
f1b6f8a157 (HAVE_LIBXP): Add #undef. 1999-04-26 05:22:32 +00:00
Karl Heuer
6389f670f9 (LIB_MOTIF_EXTRA): Check HAVE_LIBXP. 1999-04-26 05:22:16 +00:00
Kenichi Handa
17d85edc86 Trap X errors so that Emacs doesn't die
by them.
1999-04-13 00:51:52 +00:00
Karl Heuer
165e2d55b4 (BSD_SYSTEM): Define for FreeBSD 4 as with FreeBSD 3. 1999-04-12 18:23:41 +00:00
Kenichi Handa
b550eb05f7 (Fset_fontset_font): Fix previous change. 1999-04-12 01:26:06 +00:00
Kenichi Handa
79091e9c64 (Fquery_fontset): Check for fontset aliases here.
(Fnew_fontset, Fset_fontset_font): Don't check for them here.
1999-04-10 02:21:00 +00:00
Richard M. Stallman
f87740dccb (do_autoload): Preserve match data. 1999-04-09 19:21:52 +00:00
Richard M. Stallman
abc9d9597c (Fmake_indirect_buffer): Copy multibyte status from the base buffer.
(Fset_buffer_multibyte): Copy new multibyte status
into the buffer's indirect buffers.
1999-04-09 19:20:26 +00:00