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
Geoff Voelker
e6c0f51910
Use full path to temacs.exe when dumping.
1999-02-02 02:59:29 +00:00
Richard M. Stallman
6e553d5e6c
(Fset_buffer_multibyte): Error if buffer is multibyte.
1999-02-01 11:17:41 +00:00
Andrew Innes
7fef47a389
(ROUND_UP_DST_AND_ZERO): New macro.
...
(copy_executable_and_dump_data): Use it to ensure alignment slop
is zeroed.
1999-01-31 21:53:14 +00:00
Richard M. Stallman
e90c4fe62a
(Fset_window_point): If WINDOW is selected but the
...
current buffer is not its buffer, don't use Fgoto_char.
1999-01-30 23:45:54 +00:00
Andrew Innes
aa7b87b0b2
(init_environment): Change argv[0] to contain the full path to Emacs.
1999-01-30 18:48:57 +00:00
Andrew Innes
a3a58294d8
(main): Pass argv to init_environment.
1999-01-30 18:47:52 +00:00
Kenichi Handa
d5749adb29
(x_load_font): For the height of font, if normarl ascent and
...
descent value are larger than those in max_bounds field, use the
former.
1999-01-30 02:37:14 +00:00
Kenichi Handa
715a159be2
(x_new_fontset): For ASCII font, don't use the font name
...
returned by x_new_font (the resolved one) but use the font name
set in the fontset specification.
1999-01-30 01:46:35 +00:00
Eli Zaretskii
302f2b38d0
(decode_mode_spec_coding): Fix previous change.
1999-01-28 16:30:23 +00:00
Geoff Voelker
5ca0cd71d3
(w32_load_system_font): Do not load unlisted fonts if
...
list was reliable.
(enum_fontex_cb1, enum_fontex_cb2): New functions.
(w32_list_bdf_fonts): New parameter; max_names. Callers updated.
(w32_list_synthesized_fonts): New function.
(w32_list_fonts): Use maxnames. Use EnumFontFamiliesEx when
available instead of EnumFontFamilies. List synthesized fonts if
Vw32_enable_italics is non-nil.
1999-01-28 04:52:02 +00:00