1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-21 12:03:55 -08:00
Commit graph

9764 commits

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