Commit graph

8750 commits

Author SHA1 Message Date
Richard M. Stallman
89cddd35e9 Initial revision 1998-04-18 01:29:57 +00:00
Richard M. Stallman
e7a9e1c3d4 (syms_of_emacs): Fix patching error in previous change. 1998-04-17 23:58:44 +00:00
Richard M. Stallman
3c32996351 (read1): Compute NaN and infinities using 0.0 in a
variable, to cope with compilers that think they are smarter than us.
1998-04-17 23:36:34 +00:00
Richard M. Stallman
5ae0761326 (readchar): Find the previous byte's address properly
for the buffer case, as for the marker case.
1998-04-17 23:35:14 +00:00
Richard M. Stallman
168afdaa0e (Fcall_process_region): Unbind coding-system-for-write
after calling Fwrite_region.
1998-04-17 07:08:02 +00:00
Geoff Voelker
b3e1cb05b4 (reset_terminal_modes): Only invoke hook if defined. 1998-04-17 05:25:48 +00:00
Geoff Voelker
4a3bf56545 * lastfile.c (_my_endbss, my_endbss_static): New variables. 1998-04-17 05:25:35 +00:00
Geoff Voelker
074a066b07 (Vpath_separator): New variable. 1998-04-17 05:25:19 +00:00
Geoff Voelker
614c350cac (WM_EMACS_SETFOREGROUND, WM_EMACS_SETLOCALE):
New message macros.
1998-04-17 05:12:27 +00:00
Geoff Voelker
ef0e360fdc (Vw32_recognize_altgr): New variable.
(dumpglyphs): Update from xterm.c.
(w32_ring_bell): Flash window, don't just reset its state.
(dumprectangle, show_mouse_face, x_draw_single_glyph): Use new
args to dumpglyphs.
(my_set_foreground_window): New function.
(w32_condemn_scroll_bars): Mark all as condemned scroll bars.
(w32_redeem_scroll_bar): Look through all scroll bars.
(w32_judge_scroll_bars): Don't clear out condemned list.
(w32_read_socket): Clip window after frame has been restored.
(x_focus_on_frame, x_raise_frame): Use my_set_foreground_window.
(syms_of_w32term): Define Vw32_recognize_altgr.
1998-04-17 05:11:31 +00:00
Geoff Voelker
ef79fbba2f (w32_executable_type): Properly cast dos_header when
making size comparison.
(sys_spawnve): Update comments.
(sys_select): Ignore children dead children with pending input.
Delay sending SIGCHLD until all output has been read.
(sys_kill): Sleep to allow focus change events to propagate.
Use TerminateProcess on Win95.
(int_from_hex, enum_locale_fn, Fw32_get_valid_locale_ids):
New functions.
(Vw32_valid_locale_ids): New variable.
(Fw32_set_current_locale): Send message to input thread.
(syms_of_ntproc): defsubr Sw32_get_valid_locale_ids.
1998-04-17 05:10:29 +00:00
Geoff Voelker
c886965532 (Vmenu_updating_frame): New variable.
(Fx_popup_menu, set_frame_menubar): Record frame whose menu is
being updated.
(syms_of_w32menu): Define Vmenu_updating_frame.
1998-04-17 05:09:51 +00:00
Geoff Voelker
c0f1b02e2b (Vw32_recognize_altgr): Declare.
(w32_kbd_mods_to_emacs): Obey Vw32_recognize_altgr.
Add more keys for Vw32_capslock_is_shiftlock.
(w32_kbd_patch_key): Obey Vw32_recognize_altgr.
(map_virt_key): Brazilian keyboards use 0xc1 for /(?) key.
1998-04-17 05:09:29 +00:00
Geoff Voelker
3f3e462972 * w32heap.h (w32_fatal_reload_error): Declare. 1998-04-17 05:09:06 +00:00
Geoff Voelker
a1b8f90f30 (recreate_heap): Invoke w32_fatal_reload_error upon error. 1998-04-17 05:08:51 +00:00
Geoff Voelker
dfdb404753 (w32_msg_pump): Handle WM_EMACS_SETLOCALE.
(w32_wnd_proc): Handle WM_EMACS_SETFOREGROUND.
1998-04-17 05:08:23 +00:00
Geoff Voelker
8be05193e8 (Qforeground_color, Qbackground_color): Declare.
(compute_char_face, merge_face_list): Update from xterm.c.
1998-04-17 05:08:02 +00:00
Geoff Voelker
ead2be985a (FILE_SEND_SIGCHLD): New macro. 1998-04-17 05:07:51 +00:00
Geoff Voelker
f52eb3efc4 (sys_read): Clear carriage return flag.
Report normal EOF when read fails if nothing in buffer.
Only read more if more remaining.
(check_windows_init_file): New function.
(term_ntproc): Invoke check_windows_init_file.
1998-04-17 05:07:15 +00:00
Geoff Voelker
9c8056fe19 (my_begbss_static, my_endbss_static): Declare.
(get_bss_info_from_map_file): Only define if SEPARATE_BSS_SECTION.
(get_section_info): Use my_begbss_static, my_endbss_static to
determine bounds of bss.
(w32_fatal_reload_error): New function.
(read_in_bss, map_in_heap): Invoke w32_fatal_reload_error upon error.
1998-04-17 05:06:37 +00:00
Geoff Voelker
b2140d4b79 (HAVE_STRING_H, HAVE_STRFTIME): Define macros.
(SYSTEM_PURESIZE_EXTRA): Increase to handle more dumped lisp files.
1998-04-17 05:06:20 +00:00
Geoff Voelker
032f460725 (LINK_TYPE): Do not include debug info in optimized
binary.
(LIBS): Include mpr.lib.
(clean): Delete patch generated files, optimized build directory.
1998-04-17 05:05:40 +00:00
Richard M. Stallman
4e30630835 (Fcatch): Doc fix. 1998-04-17 01:53:31 +00:00
Richard M. Stallman
00df1bdfb3 (Fml_if): Initialize val. 1998-04-17 01:49:33 +00:00
Richard M. Stallman
002ae4f99c (standard_args): Add --no-unibyte.
(main): Recognize --no-unibyte to inhibit EMACS_UNIBYTE.

(main): Fix typo, add --multibyte and --no-multibyte.
(standard_args): Add --multibyte and --no-multibyte.
1998-04-16 21:24:37 +00:00
Eli Zaretskii
03c747598f (it_keyboard): New variable, supports Italian keyboard.
(keyboard_layout_list): Add Italian keyboard.
1998-04-16 09:06:25 +00:00
Richard M. Stallman
49bdcd3e96 (time): Declare it only if not HAVE_UNISTD_H. 1998-04-16 06:21:56 +00:00
Richard M. Stallman
f0c030b36d (Frequire): Doc fix. 1998-04-16 05:38:51 +00:00
Kenichi Handa
83fa074f8d (code_convert_region): If point in the conversion
region, move it to FROM in advance.
1998-04-15 23:49:52 +00:00
Eli Zaretskii
ed29121d27 (syms_of_coding): Declare and define inherit-process-coding-system. 1998-04-15 15:52:41 +00:00
Eli Zaretskii
77a9bc9a3f Declare inherit-process-coding-system. 1998-04-15 15:48:45 +00:00
Eli Zaretskii
3b440bb591 (Fcall_process): Call
after-insert-file-set-buffer-file-coding-system if
inherit-process-coding-system is non-nil.
1998-04-15 15:44:16 +00:00
Eli Zaretskii
7664e30672 (sys_pipe): Use binary pipe I/O unconditionally. 1998-04-15 14:40:43 +00:00
Eli Zaretskii
208a446aa5 Remove binary-process-{in,out}put.
(syms_of_callproc): Likewise.
(Fcall_process, Fcall_process_region): Don't use binary-process-{in,out}put.
1998-04-15 14:36:16 +00:00
Andreas Schwab
7874f8a695 (RE_TRANSLATE_P): Define. 1998-04-15 10:35:44 +00:00
Andreas Schwab
28703c16f3 Use RE_TRANSLATE_P to check whether translation is
needed.
1998-04-15 10:33:18 +00:00
Andreas Schwab
4da4775f0d (RE_TRANSLATE_P): New macro. 1998-04-15 10:32:29 +00:00
Andreas Schwab
64e3c718c6 (realloc) <emacs>: Define to xrealloc. 1998-04-15 09:39:40 +00:00
Kenichi Handa
db6089c5e9 (Fccl_execute_on_string): Put \n\ at eol of docstring. 1998-04-15 07:49:16 +00:00
Kenichi Handa
49965a2998 (x_set_font): Give 2nd arg nil to Fquery_fontset.
(Fx_create_frame): Likewise.
1998-04-15 07:38:29 +00:00
Kenichi Handa
727fb7903d (find_ccl_program_func): New variable.
(fs_load_font): Call a function pointed by find_ccl_program_func
instead of finding CCL program to encode a character by itself.
(Fquery_fontset): New optional 2nd arg REGEXPP.  Callers changed.
1998-04-15 07:12:49 +00:00
Kenichi Handa
c2c8997eb3 (FONT_ENCODING_NOT_DECIDED): The value is changed to 255.
(find_ccl_program_func): Extern it.
(Fquery_fontset): Args number changed to 2.
1998-04-15 07:12:49 +00:00
Kenichi Handa
6ae21908b0 Typo in comments fixed.
(Qccl_program_idx, Qunification_table, Qunification_table_id): New
variables.
(syms_of_ccl): Initialize and staticpro them.
(CCL_ReadMultibyteChar2): Macro name changed from
CCL_ReadMultibyteCharacter.
(CCL_WriteMultibyteChar2): Macro name changed from
CCL_WriteMultibyteChar2.
(CCL_
(MAX_TABLE_SET_LEVEL): New macro.
(tr_stack): New type.
(translate_stack, translate_stack_pointer): New variables.
(PUSH_TRANSLATE_STACK, POP_TRANSLATE_STACK): New macros.
(ccl_driver): Adjusted for the above changes.
(resolve_symbol_ccl_program): New function.
(Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
program.  If CCL-PRGRAM is a vector, convert symbols in it to ID
numbers by resolve_symbol_ccl_program.
(Fccl_execute_on_string): Likewise.
(Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
convert symbols in it to ID numbers by resolve_symbol_ccl_program.
1998-04-15 07:12:49 +00:00
Kenichi Handa
1cfae2bf37 (Vccl_program_table, Qccl_program_idx): Extern them. 1998-04-15 07:12:49 +00:00
Kenichi Handa
bc1958c4cb (syms_of_xfns): Initialize find_ccl_program_func. 1998-04-15 07:12:49 +00:00
Kenichi Handa
a65826769e (x_find_ccl_program): New function. 1998-04-15 07:12:49 +00:00
Kenichi Handa
d7fcdd913e (x_find_ccl_program): Extern it. 1998-04-15 07:12:49 +00:00
Karl Heuer
154a307db3 (file_name_as_directory): For empty arg, return `./'. 1998-04-15 06:12:48 +00:00
Dave Love
055234ef11 Revert erroneous 1998-04-08 change. 1998-04-14 21:02:17 +00:00
Karl Heuer
968b123401 (x_destroy_bitmap): Declare as void, not int.
(x_report_frame_params, x_set_border_pixel): Likewise.
(x_set_internal_border_width): widget_store_internal_border takes
just one arg, not two.
1998-04-14 18:59:48 +00:00