1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 11:50:51 -08:00
Commit graph

9647 commits

Author SHA1 Message Date
Richard M. Stallman
affb929948 paths.h and paths.in renamed to epaths.h and epaths.in. 1999-02-26 11:39:47 +00:00
Richard M. Stallman
77e544a4cd (get_boot_time): Use WTMP_FILE for file name.
(WTMP_FILE): Default definition in case not defined.
(get_boot_time_1): Test that file exists before trying to read it.
1999-02-26 10:47:36 +00:00
Andreas Schwab
7c9cd4467d (main) [DOUG_LEA_MALLOC]: Work around a bug in glibc's
malloc.
1999-02-26 09:23:52 +00:00
Richard M. Stallman
53fe786d1f (syms_of_buffer): Doc fix for enable-multibyte-characters. 1999-02-26 07:07:13 +00:00
Kenichi Handa
d3c004965b (push_key_description): If enable-multibyte-characters
is nil and C is single byte, push C as is.
1999-02-25 08:43:17 +00:00
Kenichi Handa
9fb7129305 (push_key_description): If enable-multibyte-characters
is non-nil, try to convert unibyte character to multibyte.  For
invalid multibyte character, show all bits by octal form.
(Fsingle_key_description): Check the varidity of charset for a
generic character.
1999-02-24 02:31:57 +00:00
Karl Heuer
4cd8344ad3 (Ffile_regular_p): Undo previous change. 1999-02-23 22:28:55 +00:00
Karl Heuer
701b1ec29a (Fdefconst): Doc fix. 1999-02-23 22:23:57 +00:00
Karl Heuer
8e339303f4 (get_boot_time): Don't use BUFSIZ. 1999-02-23 22:09:47 +00:00
Karl Heuer
bf7ce02180 Initial revision 1999-02-22 20:56:34 +00:00
Andrew Innes
69bd9c93b7 (EXTRA_LINK): Do version test with strings. 1999-02-22 12:46:52 +00:00
Andrew Innes
312ae6bf9a ($(BLD)\w32bdf.obj): Add missing continuation character. 1999-02-22 12:05:01 +00:00
Andreas Schwab
915b831236 (Fbase64_encode_string): Fix last change. 1999-02-22 10:45:53 +00:00
Andreas Schwab
b9818d1929 (event_kind): Add user_signal. 1999-02-22 10:07:06 +00:00
Andreas Schwab
5bf68f6e34 (Qusr1_signal, Qusr2_signal): New variables.
(syms_of_keyboard): Initialize them.
(lispy_user_signals): New variable.
(make_lispy_event): Handle user_signal event type.
1999-02-22 10:05:43 +00:00
Andreas Schwab
e2fa15ffaa Don't define Qusr1_signal and Qusr2_signal.
(syms_of_emacs): Don't initialize them.
(handle_USR1_signal, handle_USR2_signal): Set event type to
user_signal instead of non_ascii_keystroke, and use plain integers
as code instead of Lisp symbols.
1999-02-22 10:04:28 +00:00
Richard M. Stallman
e9f22ced2f (get_boot_time_1): Put this in #ifdef BOOT_TIME. 1999-02-21 19:57:34 +00:00
Richard M. Stallman
8c29413d71 (print_error_message): Don't crash if (cdr data) is not a list. 1999-02-21 19:56:08 +00:00
Eli Zaretskii
8f6df9b587 (lstat) [!S_ISLNK]: Use stat instead of lstat. 1999-02-21 16:36:07 +00:00
Andrew Innes
b78e8d0afb (memory_warnings) [WINDOWSNT]: Reset lim_data on each
run, since size can vary from run to run.
1999-02-20 20:50:20 +00:00
Andrew Innes
2b9a4fe9b8 (EXTRA_LINK, LINK_FLAGS): Ensure base relocation
data is included, to enable profiling.
($(EMACS)): Map file not needed for emacs.exe.
1999-02-20 20:48:10 +00:00
Andrew Innes
f5a3c8c45d (main): [!SYSTEM_MALLOC]: Call realloc and free as well
as malloc before calling uninterrupt_malloc, for consistency.
This also enables profiling to work on WINDOWSNT.
1999-02-20 20:43:58 +00:00
Richard M. Stallman
b81ea5ef1d (syms_of_process): defsubr it.
(Fprocess_running_child_p): New function.

(process_send_signal): If CURRENT_GROUP is `lambda'
then don't send the signal if the shell owns the terminal.
(Finterrupt_process): Doc change.
1999-02-19 01:39:27 +00:00
Richard M. Stallman
a028e993f8 (emacs.o): Depend on termhooks.h.
(filelock.o): Depend on systime.h.
1999-02-19 01:37:28 +00:00
Richard M. Stallman
9177d97852 (within_one_second): New function.
(current_lock_owner): Use that.
(get_boot_time): Use /proc/uptime if available.
Otherwise, if nothing found in wtmp, try wtmp.1.gz and so on.
(get_boot_time_1): New subroutine taken from get_boot_time.
1999-02-19 01:36:29 +00:00
Richard M. Stallman
5bda49c640 (Qusr1_signal, Qusr2_signal): New variables.
(syms_of_emacs): Init and staticpro them.
(handle_USR1_signal): Don't run any code, just queue up an event.
(handle_USR2_signal): Likewise.
1999-02-19 01:34:48 +00:00
Kenichi Handa
9da8350f2e (Fdecode_sjis_char): In case of error, use %x for
formatting error message.
(Fdecode_big5_char): Likewise.
1999-02-18 12:52:07 +00:00
Richard M. Stallman
c8a3c7eb27 (adjust_markers_for_replace): When doing an insertion
(replacing a region of zero length), handle markers at the
insertion point properly.
1999-02-18 05:40:34 +00:00
Andrew Innes
7d08135584 (Vw32_quit_key): New variable.
(post_character_message): Use it.
(syms_of_w32fns): DEFVAR it.
1999-02-17 12:47:59 +00:00
Kenichi Handa
c22554ac39 (Fbase64_encode_string): New optional argument `NO_LINE_BREAK'. 1999-02-17 08:12:31 +00:00
Eli Zaretskii
cb1846b412 (Ffile_attributes): If the file's size doesn't fit in
an integer, return it as a float.  Doc string fixed.
1999-02-16 08:25:51 +00:00
Kenichi Handa
c28a9453f6 (Fdecode_sjis_char, Fencode_sjis_char): Hanlde
ASCII correctly.  Signal error on invalid characters.
(Fdecode_big5_char, Fencode_big5_char): Likewise.
1999-02-16 01:38:01 +00:00
Eli Zaretskii
cc6d8c5b60 (get_clipboard_data): Work around a bug in Windows95
DOS box which doubles the reported size of text in the clipboard.
1999-02-15 15:14:47 +00:00
Kenichi Handa
a63063ae57 (decode_coding_iso2022): Don't set coding->composed_chars to 0 here.
(setup_coding_system): Set coding->composed_chars to 0 here.
1999-02-15 10:47:36 +00:00
Richard M. Stallman
5057be3e8c (Ffile_regular_p): Use lstat. 1999-02-13 16:36:24 +00:00
Richard M. Stallman
72443547c2 (HAS_SBSS_SECTION): Define this in some cases.
(unexec): Test this instead of specific systems.
1999-02-10 03:02:01 +00:00
Dave Love
0c6ca44b7a (Fyes_or_no_p, Fy_or_n_p): Doc fix. 1999-02-08 13:59:24 +00:00
Kenichi Handa
489427668f (ccl_coding_driver): On encoding, coding->produced_char
should be set to coding->produced.
1999-02-08 11:06:56 +00:00
Paul Fisher
9a092df081 (IS_BASE64_IGNORABLE, READ_QUADRUPLET_BYTE): New macros.
(base64_decode_1): Use READ_QUADRUPLET_BYTE.
1999-02-07 23:58:09 +00:00
Richard M. Stallman
d6c0ea9945 (Fformat): Doc fix. 1999-02-07 06:28:54 +00:00
Andrew Innes
fb9cc9cc6e (construct_drag_n_drop): Call DraqQueryPoint before
recording drop position.
1999-02-05 17:49:04 +00:00
Kenichi Handa
f3ac545f7d (encode_terminal_code): Fix previous change. 1999-02-05 05:40:27 +00:00
Kenichi Handa
3efbce959e (encode_coding_iso2022): Before writing out an invalid
code, reset glaphic planes and registers if necessary.
1999-02-05 05:39:58 +00:00
Eli Zaretskii
5033894e97 (last_clipboard_text, clipboard_storage_size): New
static variables.
(set_clipboard_data): Save a copy of the text we put into
clipboard in last_clipboard_text.
(get_clipboard_data): If the clipboard text is identical to what
last_clipboard_text holds, pretend there's no data in the
clipboard.
1999-02-04 15:53:37 +00:00
Richard M. Stallman
fc9b48d7f3 (NLIST_STRUCT): Add #undef. 1999-02-04 04:48:24 +00:00
Eli Zaretskii
ba92a4701a Fix last change. 1999-02-03 16:40:32 +00:00
Eli Zaretskii
c759462781 (Fw16_set_clipboard_data): When the text needs to be
encoded, set its pointer and size as returned by encode_coding.
1999-02-03 14:53:47 +00:00
Kenichi Handa
2db66414f1 (Fset_char_table_default): To handle the case that CH is
an ASCII char, use SPLIT_CHAR instead of SPLIT_NON_ASCII_CHAR.
1999-02-03 02:20:53 +00:00
Andrew Innes
247be83704 (syms_of_w32fns): Change default value of w32-mouse-move-interval to
0, so that the mouse wheel/rocker on some mice works properly.
1999-02-02 14:03:10 +00:00
Eli Zaretskii
0236e3f151 (set_clipboard_data): Correctly null-terminate the
string to be put into the Windows clipboard.  Use xbuf_addr.
1999-02-02 13:43:14 +00:00