comparison src/ChangeLog.7 @ 75621:5aaeaf94d0ef

*** empty log message ***
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 02 Feb 2007 19:18:09 +0000
parents a841ab247b63
children 92a0e87ff562
comparison
equal deleted inserted replaced
75620:21a4140779c2 75621:5aaeaf94d0ef
318 Fupdate_iso_coding_systems. 318 Fupdate_iso_coding_systems.
319 (syms_of_coding): Change property char-table-extra-slot of 319 (syms_of_coding): Change property char-table-extra-slot of
320 translation-table to 1. Initialize and static pro Qvalid_codes. 320 translation-table to 1. Initialize and static pro Qvalid_codes.
321 321
322 * coding.h (CODING_CATEGORY_IDX_CCL): New macro. 322 * coding.h (CODING_CATEGORY_IDX_CCL): New macro.
323 (CODING_CATEGORY_IDX_BIG5, CODING_CATEGORY_IDX_RAW_TEXT, 323 (CODING_CATEGORY_IDX_BIG5, CODING_CATEGORY_IDX_RAW_TEXT)
324 CODING_CATEGORY_IDX_BINARY, CODING_CATEGORY_IDX_MAX): Increased by 324 (CODING_CATEGORY_IDX_BINARY, CODING_CATEGORY_IDX_MAX): Increased by one.
325 one.
326 (CODING_CATEGORY_MASK_CCL): New macro. 325 (CODING_CATEGORY_MASK_CCL): New macro.
327 (CODING_CATEGORY_MASK_ANY): Include CODING_CATEGORY_MASK_CCL. 326 (CODING_CATEGORY_MASK_ANY): Include CODING_CATEGORY_MASK_CCL.
328 327
329 * insdel.c (copy_text): In multibyte to unibyte conversion, take 328 * insdel.c (copy_text): In multibyte to unibyte conversion, take
330 nonascii-translation-table and nonascii-insert-offset into 329 nonascii-translation-table and nonascii-insert-offset into
420 * w32menu.c (add_menu_item): Draw menu items like titles if 419 * w32menu.c (add_menu_item): Draw menu items like titles if
421 call_data is 0. 420 call_data is 0.
422 421
423 1998-07-13 Eli Zaretskii <eliz@mescaline.gnu.org> 422 1998-07-13 Eli Zaretskii <eliz@mescaline.gnu.org>
424 423
425 * w16select.c (set_clipboard_data, get_clipboard_data, 424 * w16select.c (set_clipboard_data, get_clipboard_data)
426 Fw16_set_clipboard_data, Fw16_get_clipboard_data, 425 (Fw16_set_clipboard_data, Fw16_get_clipboard_data)
427 Fx_selection_exists_p): Use CF_OEMTEXT instead of CF_TEXT. 426 (Fx_selection_exists_p): Use CF_OEMTEXT instead of CF_TEXT.
428 427
429 1998-07-12 Andrew Innes <andrewi@delysid.gnu.org> 428 1998-07-12 Andrew Innes <andrewi@delysid.gnu.org>
430 429
431 * w32select.c: (Fw32_set_clipboard_data): Set Vlast_coding_system_used. 430 * w32select.c (Fw32_set_clipboard_data): Set Vlast_coding_system_used.
432 (Fw32_get_clipboard_data): Likewise. 431 (Fw32_get_clipboard_data): Likewise.
433 432
434 1998-07-12 Richard Stallman <rms@psilocin.ai.mit.edu> 433 1998-07-12 Richard Stallman <rms@psilocin.ai.mit.edu>
435 434
436 * marker.c (Fcopy_marker): Make return from wrong_type_argument 435 * marker.c (Fcopy_marker): Make return from wrong_type_argument
548 appending if not a regular file. 547 appending if not a regular file.
549 548
550 1998-07-03 Kenichi Handa <handa@etl.go.jp> 549 1998-07-03 Kenichi Handa <handa@etl.go.jp>
551 550
552 * editfns.c (Finsert): Typo in doc-string fixed. 551 * editfns.c (Finsert): Typo in doc-string fixed.
553 (Finsert_and_inherit, Finsert_before_markers, 552 (Finsert_and_inherit, Finsert_before_markers)
554 Finsert_and_inherit_before_markers): Likewize. 553 (Finsert_and_inherit_before_markers): Likewise.
555 554
556 1998-07-02 Ken'ichi Handa <handa@melange.gnu.org> 555 1998-07-02 Ken'ichi Handa <handa@melange.gnu.org>
557 556
558 * fileio.c (Finsert_file_contents): Do not set Vlast_coding_system 557 * fileio.c (Finsert_file_contents): Do not set Vlast_coding_system
559 if inserted bytes is zero. 558 if inserted bytes is zero.
735 734
736 * casefiddle.c (casify_object): Cope with modifier bits in character. 735 * casefiddle.c (casify_object): Cope with modifier bits in character.
737 736
738 1998-06-17 Geoff Voelker <voelker@cs.washington.edu> 737 1998-06-17 Geoff Voelker <voelker@cs.washington.edu>
739 738
740 * w32.c (is_unc_volume, open_unc_volume, read_unc_volume, 739 * w32.c (is_unc_volume, open_unc_volume, read_unc_volume)
741 close_unc_volume, unc_volume_file_attributes): New functions. 740 (close_unc_volume, unc_volume_file_attributes): New functions.
742 (wnet_enum_handle): New variable. 741 (wnet_enum_handle): New variable.
743 (opendir, readdir, closedir, sys_access, stat): Handle UNC volumes. 742 (opendir, readdir, closedir, sys_access, stat): Handle UNC volumes.
744 743
745 1998-06-16 Kenichi Handa <handa@etl.go.jp> 744 1998-06-16 Kenichi Handa <handa@etl.go.jp>
746 745
1648 1647
1649 1998-04-29 David Mosberger-Tang <David.Mosberger@acm.org> 1648 1998-04-29 David Mosberger-Tang <David.Mosberger@acm.org>
1650 1649
1651 * unexelf.c [__alpha__ && !__NetBSD__ && !__OpenBSD__]: 1650 * unexelf.c [__alpha__ && !__NetBSD__ && !__OpenBSD__]:
1652 Include definition of HDRR structure that used to be in sym.h, 1651 Include definition of HDRR structure that used to be in sym.h,
1653 instead of sym.h 1652 instead of sym.h.
1654 1653
1655 1998-04-29 Andreas Schwab <schwab@delysid.gnu.org> 1654 1998-04-29 Andreas Schwab <schwab@delysid.gnu.org>
1656 1655
1657 * xfns.c: Fix -Wimplicit warnings. 1656 * xfns.c: Fix -Wimplicit warnings.
1658 1657
1715 1714
1716 * fns.c [HAVE_MENUS]: Include xterm.h only if HAVE_X_WINDOWS. 1715 * fns.c [HAVE_MENUS]: Include xterm.h only if HAVE_X_WINDOWS.
1717 1716
1718 1998-04-28 Eli Zaretskii <eliz@mescaline.gnu.org> 1717 1998-04-28 Eli Zaretskii <eliz@mescaline.gnu.org>
1719 1718
1720 * Makefile.in (callproc.o, print.o, cmds.o, dispnew.o, fileio.o, 1719 * Makefile.in (callproc.o, print.o, cmds.o, dispnew.o, fileio.o)
1721 frame.o, keyboard.o, minibuf.o, process.o, scroll.o, sysdep.o, 1720 (frame.o, keyboard.o, minibuf.o, process.o, scroll.o, sysdep.o)
1722 term.o, w16select.o, window.o, xdisp.o, xfaces.o, lread.o): Depend 1721 (term.o, w16select.o, window.o, xdisp.o, xfaces.o, lread.o):
1723 on msdos.h. 1722 Depend on msdos.h.
1724 (print.o): Depend on dispextern.h. 1723 (print.o): Depend on dispextern.h.
1725 1724
1726 1998-04-28 Andreas Schwab <schwab@delysid.gnu.org> 1725 1998-04-28 Andreas Schwab <schwab@delysid.gnu.org>
1727 1726
1728 * process.c (Fset_process_inherit_coding_system_flag): 1727 * process.c (Fset_process_inherit_coding_system_flag):
1747 * fns.c [HAVE_MENUS]: Include xterm.h only if HAVE_WINDOW_SYSTEM 1746 * fns.c [HAVE_MENUS]: Include xterm.h only if HAVE_WINDOW_SYSTEM
1748 is defined. 1747 is defined.
1749 1748
1750 * callproc.c, fileio.c: Include msdos.h after lisp.h. 1749 * callproc.c, fileio.c: Include msdos.h after lisp.h.
1751 1750
1752 * msdos.c (IT_ring_bell, IT_write_glyphs, IT_clear_end_of_line, 1751 * msdos.c (IT_ring_bell, IT_write_glyphs, IT_clear_end_of_line)
1753 IT_clear_screen, IT_clear_to_end, IT_clear_to_end, IT_cursor_to, 1752 (IT_clear_screen, IT_clear_to_end, IT_clear_to_end, IT_cursor_to)
1754 IT_cmgoto, IT_reassert_line_highlight, IT_change_line_highlight, 1753 (IT_cmgoto, IT_reassert_line_highlight, IT_change_line_highlight)
1755 IT_update_begin, IT_update_end, IT_set_terminal_modes, 1754 (IT_update_begin, IT_update_end, IT_set_terminal_modes)
1756 IT_reset_terminal_modes, IT_set_terminal_window, 1755 (IT_reset_terminal_modes, IT_set_terminal_window)
1757 pixel_to_glyph_coords, IT_menu_display): Bring definitions in 1756 (pixel_to_glyph_coords, IT_menu_display): Bring definitions in
1758 accordance with prototype declarations. 1757 accordance with prototype declarations.
1759 1758
1760 * msdos.h [!HAVE_X_WINDOWS]: Add a dummy typedef for XRectangle 1759 * msdos.h [!HAVE_X_WINDOWS]: Add a dummy typedef for XRectangle
1761 and prototypes for external functions. 1760 and prototypes for external functions.
1762 1761
1851 1850
1852 * w32proc.c (sys_kill): Fix indenting. 1851 * w32proc.c (sys_kill): Fix indenting.
1853 1852
1854 1998-04-23 Inge Frick <inge@nada.kth.se> 1853 1998-04-23 Inge Frick <inge@nada.kth.se>
1855 1854
1856 * keyboard.c: (parse_menu_item): Support keywords :keys and 1855 * keyboard.c (parse_menu_item): Support keywords :keys and
1857 :key-sequence. Some changes to provide GC-protection. Some 1856 :key-sequence. Some changes to provide GC-protection. Some
1858 cosmetic changes. 1857 cosmetic changes.
1859 (syms_of_keyboard): Define new symbols `:keys' and `:key-sequence'. 1858 (syms_of_keyboard): Define new symbols `:keys' and `:key-sequence'.
1860 1859
1861 1998-04-23 Richard Stallman <rms@psilocin.gnu.org> 1860 1998-04-23 Richard Stallman <rms@psilocin.gnu.org>
1893 1892
1894 1998-04-22 Eli Zaretskii <eliz@delysid.gnu.org> 1893 1998-04-22 Eli Zaretskii <eliz@delysid.gnu.org>
1895 1894
1896 * w16select.c (Fwin16_set_clipboard_data): Call UNBLOCK_INPUT 1895 * w16select.c (Fwin16_set_clipboard_data): Call UNBLOCK_INPUT
1897 before calling sit_for. 1896 before calling sit_for.
1898 (Fwin16_get_clipboard_data, Fwin16_set_clipboard_data): Balance 1897 (Fwin16_get_clipboard_data, Fwin16_set_clipboard_data): Balance
1899 the calls to BLOCK_INPUT and UNBLOCK_INPUT. 1898 the calls to BLOCK_INPUT and UNBLOCK_INPUT.
1900 (alloc_xfer_buf): If want_size is more than 1MB, return 1899 (alloc_xfer_buf): If want_size is more than 1MB, return
1901 immediately with failure. 1900 immediately with failure.
1902 (Fw16_set_clipboard_data, Fw16_get_clipboard_data): Replace win16 1901 (Fw16_set_clipboard_data, Fw16_get_clipboard_data): Replace win16
1903 with w16. 1902 with w16.
1977 1998-04-19 Eli Zaretskii <eliz@delysid.gnu.org> 1976 1998-04-19 Eli Zaretskii <eliz@delysid.gnu.org>
1978 1977
1979 * process.h (struct Lisp_Process): Add inherit_coding_system_flag 1978 * process.h (struct Lisp_Process): Add inherit_coding_system_flag
1980 member. 1979 member.
1981 1980
1982 * process.c (Fset_process_inherit_coding_system_flag, 1981 * process.c (Fset_process_inherit_coding_system_flag)
1983 Fprocess_inherit_coding_system_flag): New functions. 1982 (Fprocess_inherit_coding_system_flag): New functions.
1984 (syms_of_process): Defsubr them. 1983 (syms_of_process): Defsubr them.
1985 (Fstart_process, Fopen_network_stream): Initialize 1984 (Fstart_process, Fopen_network_stream): Initialize
1986 inherit_coding_system_flag. 1985 inherit_coding_system_flag.
1987 (read_process_output): If the process buffer isn't dead, call 1986 (read_process_output): If the process buffer isn't dead, call
1988 after-insert-file-set-buffer-file-coding-system. 1987 after-insert-file-set-buffer-file-coding-system.
2036 (get_section_info): Use my_begbss_static, my_endbss_static to 2035 (get_section_info): Use my_begbss_static, my_endbss_static to
2037 determine bounds of bss. 2036 determine bounds of bss.
2038 (w32_fatal_reload_error): New function. 2037 (w32_fatal_reload_error): New function.
2039 (read_in_bss, map_in_heap): Invoke w32_fatal_reload_error upon error. 2038 (read_in_bss, map_in_heap): Invoke w32_fatal_reload_error upon error.
2040 2039
2041 * w32.c (sys_read): Clear carriage return flag. 2040 * w32.c (sys_read): Clear carriage return flag.
2042 Report normal EOF when read fails if nothing in buffer. 2041 Report normal EOF when read fails if nothing in buffer.
2043 Only read more if more remaining. 2042 Only read more if more remaining.
2044 (check_windows_init_file): New function. 2043 (check_windows_init_file): New function.
2045 (term_ntproc): Invoke check_windows_init_file. 2044 (term_ntproc): Invoke check_windows_init_file.
2046 2045
2239 * indent.c (indented_beyond_p): Fix mixing of Lisp_Object and int. 2238 * indent.c (indented_beyond_p): Fix mixing of Lisp_Object and int.
2240 2239
2241 * frame.c (Fset_mouse_position, Fset_mouse_pixel_position): Fix 2240 * frame.c (Fset_mouse_position, Fset_mouse_pixel_position): Fix
2242 mixing of Lisp_Object and int. 2241 mixing of Lisp_Object and int.
2243 2242
2244 * fns.c (Fsubstring, substring_both, Fchar_table_range, 2243 * fns.c (Fsubstring, substring_both, Fchar_table_range)
2245 Fset_char_table_range): Fix mixing of Lisp_Object and int. 2244 (Fset_char_table_range): Fix mixing of Lisp_Object and int.
2246 2245
2247 * fileio.c (Fwrite_region): Fix mixing of Lisp_Object and int. 2246 * fileio.c (Fwrite_region): Fix mixing of Lisp_Object and int.
2248 2247
2249 * editfns.c (Fchar_after, Fchar_before): Fix mixing of Lisp_Object 2248 * editfns.c (Fchar_after, Fchar_before): Fix mixing of Lisp_Object
2250 and int 2249 and int
2258 int. 2257 int.
2259 2258
2260 * cm.h: Update return types of declarations. 2259 * cm.h: Update return types of declarations.
2261 2260
2262 * xterm.h, puresize.h, termhooks.h, lisp.h, keyboard.h, 2261 * xterm.h, puresize.h, termhooks.h, lisp.h, keyboard.h,
2263 intervals.h, dispextern.h, blockinput.h, coding.h: Add more 2262 * intervals.h, dispextern.h, blockinput.h, coding.h:
2264 prototypes. 2263 Add more prototypes.
2265 2264
2266 * xterm.c, xselect.c, xrdb.c, xmenu.c, xdisp.c, window.c, 2265 * xterm.c, xselect.c, xrdb.c, xmenu.c, xdisp.c, window.c,
2267 widget.c, undo.c, terminfo.c, term.c, sysdep.c, syntax.c, 2266 * widget.c, undo.c, terminfo.c, term.c, sysdep.c, syntax.c,
2268 search.c, scroll.c, process.c, print.c, mocklisp.c, prefix-args.c, 2267 * search.c, scroll.c, process.c, print.c, mocklisp.c, prefix-args.c,
2269 marker.c, keymap.c, keyboard.c, intervals.c, insdel.c, indent.c, 2268 * marker.c, keymap.c, keyboard.c, intervals.c, insdel.c, indent.c,
2270 frame.c, fontset.c, fns.c, floatfns.c, filelock.c, fileio.c, 2269 * frame.c, fontset.c, fns.c, floatfns.c, filelock.c, fileio.c,
2271 eval.c, emacs.c, editfns.c, doprnt.c, doc.c, dispnew.c, dired.c, 2270 * eval.c, emacs.c, editfns.c, doprnt.c, doc.c, dispnew.c, dired.c,
2272 data.c, coding.c, cmds.c, cm.c, charset.c, ccl.c, category.c, 2271 * data.c, coding.c, cmds.c, cm.c, charset.c, ccl.c, category.c,
2273 casetab.c, casefiddle.c, callproc.c, callint.c, bytecode.c, 2272 * casetab.c, casefiddle.c, callproc.c, callint.c, bytecode.c,
2274 buffer.c, alloc.c, abbrev.c: Fix -Wimplicit warnings. 2273 * buffer.c, alloc.c, abbrev.c: Fix -Wimplicit warnings.
2275 2274
2276 * buffer.c (Fset_buffer_multibyte): Do nothing if nothing actually 2275 * buffer.c (Fset_buffer_multibyte): Do nothing if nothing actually
2277 changes. 2276 changes.
2278 2277
2279 * coding.c (code_convert_region): Call adjust_after_insert also 2278 * coding.c (code_convert_region): Call adjust_after_insert also
2475 2474
2476 * intervals.c (set_intervals_multibyte): 2475 * intervals.c (set_intervals_multibyte):
2477 Function moved after set_intervals_multibyte_1. 2476 Function moved after set_intervals_multibyte_1.
2478 2477
2479 * xdisp.c (redisplay_window): If updating mode line, 2478 * xdisp.c (redisplay_window): If updating mode line,
2480 temporarily change selected_frame 2479 temporarily change selected_frame.
2481 2480
2482 1998-04-02 Dave Love <fx@gnu.org> 2481 1998-04-02 Dave Love <fx@gnu.org>
2483 2482
2484 * emacs.c (main): Add [--unibyte] to usage. 2483 * emacs.c (main): Add [--unibyte] to usage.
2485 2484
2668 2667
2669 * search.c (Fregexp_quote): Use make_specified_string. 2668 * search.c (Fregexp_quote): Use make_specified_string.
2670 2669
2671 * xselect.c (selection_data_to_lisp_data): Use make_string_from_bytes. 2670 * xselect.c (selection_data_to_lisp_data): Use make_string_from_bytes.
2672 2671
2673 * insdel.c: (insert_from_string_1, replace_range): 2672 * insdel.c (insert_from_string_1, replace_range):
2674 Use STRING_MULTIBYTE to determine whether string is multibyte. 2673 Use STRING_MULTIBYTE to determine whether string is multibyte.
2675 2674
2676 * editfns.c: Use STRING_BYTES and SET_STRING_BYTES. 2675 * editfns.c: Use STRING_BYTES and SET_STRING_BYTES.
2677 2676
2678 (Ftranspose_regions): Try to handle combining bytes. 2677 (Ftranspose_regions): Try to handle combining bytes.
2679 2678
2680 * alloc.c, xterm.c, xselect.c, xmenu.c, xfns.c, xdisp.c, search.c, 2679 * alloc.c, xterm.c, xselect.c, xmenu.c, xfns.c, xdisp.c, search.c,
2681 process.c, print.c, lread.c, keymap.c, insdel.c, keyboard.c, 2680 * process.c, print.c, lread.c, keymap.c, insdel.c, keyboard.c,
2682 frame.c, fns.c, filelock.c, doc.c, dispnew.c, data.c, coding.c, 2681 * frame.c, fns.c, filelock.c, doc.c, dispnew.c, data.c, coding.c,
2683 charset.c, ccl.c, category.c, casefiddle.c, callproc.c, callint.c, 2682 * charset.c, ccl.c, category.c, casefiddle.c, callproc.c, callint.c,
2684 bytecode.c, abbrev.c, minibuf.c, buffer.c, fileio.c: Use 2683 * bytecode.c, abbrev.c, minibuf.c, buffer.c, fileio.c:
2685 STRING_BYTES and SET_STRING_BYTES. 2684 Use STRING_BYTES and SET_STRING_BYTES.
2686 2685
2687 * xmenu.c: Don't include puresize.h any more as code that needs it 2686 * xmenu.c: Don't include puresize.h any more as code that needs it
2688 has moved to keyboard.c. 2687 has moved to keyboard.c.
2689 (menu_item_equiv_key, menu_item_enabled_p_1, menu_item_enabled_p): 2688 (menu_item_equiv_key, menu_item_enabled_p_1, menu_item_enabled_p):
2690 Functions deleted; code moved to parse_menu_item in keyboard.c. 2689 Functions deleted; code moved to parse_menu_item in keyboard.c.
2712 * insdel.c (replace_range): New arg NOMARKERS. 2711 * insdel.c (replace_range): New arg NOMARKERS.
2713 2712
2714 1998-03-21 Richard Stallman <rms@psilocin.gnu.org> 2713 1998-03-21 Richard Stallman <rms@psilocin.gnu.org>
2715 2714
2716 * dired.c (Fdirectory_files): In FULL case, 2715 * dired.c (Fdirectory_files): In FULL case,
2717 compute number of characters 2716 compute number of characters.
2718 2717
2719 * insdel.c (insert_from_string_1, replace_range): 2718 * insdel.c (insert_from_string_1, replace_range):
2720 Use STRING_MULTIBYTE to determine whether string is multibyte. 2719 Use STRING_MULTIBYTE to determine whether string is multibyte.
2721 2720
2722 * lisp.h: Declarations changed. 2721 * lisp.h: Declarations changed.
2794 1998-03-20 Inge Frick <inge@nada.kth.se> 2793 1998-03-20 Inge Frick <inge@nada.kth.se>
2795 2794
2796 * keyboard.h (item_properties): New variable. 2795 * keyboard.h (item_properties): New variable.
2797 (ITEM_PROPERTY_...): New macros. 2796 (ITEM_PROPERTY_...): New macros.
2798 2797
2799 * keymap.c (fix_submap_inheritance, get_keyelt, store_in_keymap, 2798 * keymap.c (fix_submap_inheritance, get_keyelt, store_in_keymap)
2800 copy-keymap, where_is_internal_1): Support new format for menu items. 2799 (copy-keymap, where_is_internal_1): Support new format for menu items.
2801 (syms_of_keymap): New symbol `menu-item'. 2800 (syms_of_keymap): New symbol `menu-item'.
2802 2801
2803 * keyboard.c: Include puresize.h for CHECK_IMPURE. 2802 * keyboard.c: Include puresize.h for CHECK_IMPURE.
2804 (parse_menu_item): New function. 2803 (parse_menu_item): New function.
2805 (menu_item_eval_property_1, menu_item_eval_property) New suroutines. 2804 (menu_item_eval_property_1, menu_item_eval_property) New suroutines.
3327 (str_cmpchar_id): Likewise. 3326 (str_cmpchar_id): Likewise.
3328 (non_ascii_char_to_string): Call invalid_character. 3327 (non_ascii_char_to_string): Call invalid_character.
3329 (Fchar_direction): Likewise. 3328 (Fchar_direction): Likewise.
3330 3329
3331 * coding.c (decode_coding_iso2022): Update coding->fake_multibyte. 3330 * coding.c (decode_coding_iso2022): Update coding->fake_multibyte.
3332 (ENCODE_SINGLE_SHIFT_2, ENCODE_SINGLE_SHIFT_3, 3331 (ENCODE_SINGLE_SHIFT_2, ENCODE_SINGLE_SHIFT_3)
3333 encode_coding_iso2022, decode_coding_sjis_big5, 3332 (encode_coding_iso2022, decode_coding_sjis_big5)
3334 encode_coding_sjis_big5, decode_eol, encode_eol, decode_coding, 3333 (encode_coding_sjis_big5, decode_eol, encode_eol, decode_coding)
3335 encode_coding): Likewise. 3334 (encode_coding): Likewise.
3336 (shrink_decoding_region, shrink_encoding_region): Do not skip 3335 (shrink_decoding_region, shrink_encoding_region): Do not skip
3337 non-ASCII code in any cases. Bug fix for getting starting address 3336 non-ASCII code in any cases. Bug fix for getting starting address
3338 from BEG. 3337 from BEG.
3339 (code_convert_region): Sync character positions correctly by 3338 (code_convert_region): Sync character positions correctly by
3340 paying attention to coding->fake_multibyte. 3339 paying attention to coding->fake_multibyte.
3560 Allow a charset name symbol to designate a range. 3559 Allow a charset name symbol to designate a range.
3561 3560
3562 * callproc.c (Fcall_process): Allow creating a new buffer 3561 * callproc.c (Fcall_process): Allow creating a new buffer
3563 for the output. 3562 for the output.
3564 3563
3565 1998-01-30 Kenichi Handa Kenichi Handa <handa@etl.go.jp> 3564 1998-01-30 Kenichi Handa <handa@etl.go.jp>
3566 3565
3567 * coding.c (ENCODE_ISO_CHARACTER): Pay attention to 3566 * coding.c (ENCODE_ISO_CHARACTER): Pay attention to
3568 CODING_FLAG_ISO_USE_ROMAN and CODING_FLAG_ISO_USE_OLDJIS. 3567 CODING_FLAG_ISO_USE_ROMAN and CODING_FLAG_ISO_USE_OLDJIS.
3569 (code_convert_region1): New function. 3568 (code_convert_region1): New function.
3570 (Fdecode_coding_region): Call code_convert_region1. 3569 (Fdecode_coding_region): Call code_convert_region1.
3676 (CODING_MODE_XXX): New macros. 3675 (CODING_MODE_XXX): New macros.
3677 (struct coding_system): New member mode, category_idx, 3676 (struct coding_system): New member mode, category_idx,
3678 heading_ascii. Deleted members last_block, direction, selective, 3677 heading_ascii. Deleted members last_block, direction, selective,
3679 carryover, carryover_size. 3678 carryover, carryover_size.
3680 (CODING_MAY_REQUIRE_DECODING): New macro. 3679 (CODING_MAY_REQUIRE_DECODING): New macro.
3681 (CODING_CATEGORY_MASK_ISO_7BIT, CODING_CATEGORY_MASK_ISO_8BIT, 3680 (CODING_CATEGORY_MASK_ISO_7BIT, CODING_CATEGORY_MASK_ISO_8BIT)
3682 CODING_CATEGORY_MASK_ISO_SHIFT, CODING_CATEGORY_MASK_ISO): New 3681 (CODING_CATEGORY_MASK_ISO_SHIFT, CODING_CATEGORY_MASK_ISO):
3683 macros. 3682 New macros.
3684 (Qraw_text): Extern it. 3683 (Qraw_text): Extern it.
3685 3684
3686 * coding.c (DECODE_CHARACTER_ASCII): Update coding->produced_char; 3685 * coding.c (DECODE_CHARACTER_ASCII): Update coding->produced_char;
3687 (DECODE_CHARACTER_DIMENSION1): Likewise. 3686 (DECODE_CHARACTER_DIMENSION1): Likewise.
3688 (Qraw_text, Qcoding_category): New variables. 3687 (Qraw_text, Qcoding_category): New variables.
3801 3800
3802 * coding.h (CODING_FLAG_ISO_DESIGNATION): New macro. 3801 * coding.h (CODING_FLAG_ISO_DESIGNATION): New macro.
3803 (struct iso2022_spec): New member. 3802 (struct iso2022_spec): New member.
3804 last_invalid_designation_register. 3803 last_invalid_designation_register.
3805 (struct coding_system): New member inhibit_inconsistent_eol_type. 3804 (struct coding_system): New member inhibit_inconsistent_eol_type.
3806 (CODING_CATEGORY_IDX_ISO_7_TIGHT, 3805 (CODING_CATEGORY_IDX_ISO_7_TIGHT, CODING_CATEGORY_MASK_ISO_7_TIGHT):
3807 CODING_CATEGORY_MASK_ISO_7_TIGHT): New macros. 3806 New macros.
3808 (CODING_CATEGORY_MASK_ANY): Include 3807 (CODING_CATEGORY_MASK_ANY): Include CODING_CATEGORY_MASK_ISO_7_TIGHT.
3809 CODING_CATEGORY_MASK_ISO_7_TIGHT.
3810 (coding_category_table, coding_category_name): Extern deleted. 3808 (coding_category_table, coding_category_name): Extern deleted.
3811 (Vselect_safe_coding_system_function): Extern it. 3809 (Vselect_safe_coding_system_function): Extern it.
3812 3810
3813 * charset.h (MAX_CHAR_COMPOSITION): New macro. 3811 * charset.h (MAX_CHAR_COMPOSITION): New macro.
3814 (CHAR_CHARSET): Check more strictly. 3812 (CHAR_CHARSET): Check more strictly.
3815 (CODING_FLAG_ISO_DESIGNATION): New macro. 3813 (CODING_FLAG_ISO_DESIGNATION): New macro.
3816 3814
3817 1998-01-21 Kenichi Handa <handa@etl.go.jp> 3815 1998-01-21 Kenichi Handa <handa@etl.go.jp>
3818 3816
3819 * ccl.h: (struct ccl_program): New member private_state. 3817 * ccl.h (struct ccl_program): New member private_state.
3820 3818
3821 * ccl.c (Vccl_translation_table_vector, Qccl_program, 3819 * ccl.c (Vccl_translation_table_vector, Qccl_program)
3822 Qccl_translation_table, Qccl_translation_table_id): New variables. 3820 (Qccl_translation_table, Qccl_translation_table_id): New variables.
3823 append new symbols. Qccl_translation_table and 3821 Append new symbols. Qccl_translation_table and
3824 Qccl_translation_table_id. 3822 Qccl_translation_table_id.
3825 (CCL_Call): Fix the comment. 3823 (CCL_Call): Fix the comment.
3826 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter, 3824 (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter)
3827 CCL_UnifyCharacter, CCL_UnifyCharacterConstTbl, 3825 (CCL_UnifyCharacter, CCL_UnifyCharacterConstTbl)
3828 CCL_IterateMultipleMap, CCL_TranslateMultipleMap): New macros for 3826 (CCL_IterateMultipleMap, CCL_TranslateMultipleMap):
3829 CCL Commands. 3827 New macros for CCL Commands.
3830 (EXCMD): New macro. 3828 (EXCMD): New macro.
3831 (ccl_driver): New case lable `CCL_Extention'. 3829 (ccl_driver): New case lable `CCL_Extention'.
3832 (setup_ccl_program): Initialize the member `private_state' of CCL. 3830 (setup_ccl_program): Initialize the member `private_state' of CCL.
3833 (Fregister_ccl_program): Delete unused variable IDX. 3831 (Fregister_ccl_program): Delete unused variable IDX.
3834 (Fregister_ccl_translation_table): New function. 3832 (Fregister_ccl_translation_table): New function.
3875 3873
3876 * xdisp.c (message_dolog): Use unibyte_char_to_multibyte. 3874 * xdisp.c (message_dolog): Use unibyte_char_to_multibyte.
3877 Pass different args to scan_newline. 3875 Pass different args to scan_newline.
3878 Properly compare oldpoint with Z. 3876 Properly compare oldpoint with Z.
3879 3877
3880 * syntax.c (skip_chars): Use unibyte_char_to_multibyte, 3878 * syntax.c (skip_chars): Use unibyte_char_to_multibyte.
3881 3879
3882 * fns.c (concat): Use unibyte_char_to_multibyte. 3880 * fns.c (concat): Use unibyte_char_to_multibyte.
3883 3881
3884 * charset.c (unibyte_char_to_multibyte): New function. 3882 * charset.c (unibyte_char_to_multibyte): New function.
3885 (DEFAULT_NONASCII_INSERT_OFFSET): New macro definition. 3883 (DEFAULT_NONASCII_INSERT_OFFSET): New macro definition.
4396 1997-12-30 Richard Stallman <rms@psilocin.gnu.org> 4394 1997-12-30 Richard Stallman <rms@psilocin.gnu.org>
4397 4395
4398 * xdisp.c (redisplay_internal): Use scan_newline. 4396 * xdisp.c (redisplay_internal): Use scan_newline.
4399 (display_text_line, try_window_id): Use scan_newline. 4397 (display_text_line, try_window_id): Use scan_newline.
4400 4398
4401 * xdisp.c (pos_tab_indent): Moved from indent,c. Now static. 4399 * xdisp.c (pos_tab_indent): Moved from indent.c. Now static.
4402 Take POS in bytes and chars. Callers changed. 4400 Take POS in bytes and chars. Callers changed.
4403 4401
4404 * indent.c (Fcurrent_indentation): Use scan_newline and SET_PT_BOTH. 4402 * indent.c (Fcurrent_indentation): Use scan_newline and SET_PT_BOTH.
4405 (indented_beyond_p, current_column_1): Likewise. 4403 (indented_beyond_p, current_column_1): Likewise.
4406 4404
4813 (record_change, record_first_change, record_property_change): 4811 (record_change, record_first_change, record_property_change):
4814 Return void. 4812 Return void.
4815 4813
4816 1997-11-27 Ken'ichi Handa <handa@delysid.gnu.org> 4814 1997-11-27 Ken'ichi Handa <handa@delysid.gnu.org>
4817 4815
4818 * undo.c (record_change, record_first_change, 4816 * undo.c (record_change, record_first_change, record_property_change):
4819 record_property_change): Declare them as void. 4817 Declare them as void.
4820 (record_delete, record_marker_adjustment): Declare them as void. 4818 (record_delete, record_marker_adjustment): Declare them as void.
4821 4819
4822 * indent.c (invalidate_current_column): Declare it as void. 4820 * indent.c (invalidate_current_column): Declare it as void.
4823 4821
4824 * fileio.c (report_file_error): Declare it as void. 4822 * fileio.c (report_file_error): Declare it as void.
4825 4823
4826 * filelock.c (unlock_buffer): Declare it as void. 4824 * filelock.c (unlock_buffer): Declare it as void.
4827 4825
4828 * buffer.c (nsberror, record_buffer, validate_region, 4826 * buffer.c (nsberror, record_buffer, validate_region)
4829 fix_overlay_before): Declare them as void. 4827 (fix_overlay_before): Declare them as void.
4830 4828
4831 * sysdep.c (discard_tty_input, init_baud_rate, 4829 * sysdep.c (discard_tty_input, init_baud_rate, wait_for_termination)
4832 wait_for_termination, flush_pending_output, child_setup_tty, 4830 (flush_pending_output, child_setup_tty, sys_suspend, sys_subshell)
4833 sys_suspend, sys_subshell, init_sigio, request_sigio, 4831 (init_sigio, request_sigio, unrequest_sigio, init_sys_modes)
4834 unrequest_sigio, init_sys_modes, get_frame_size, reset_sys_modes, 4832 (get_frame_size, reset_sys_modes, setup_pty): Declare them as void.
4835 setup_pty): Declare them as void.
4836 4833
4837 * keymap.c (describe_vector): Declaration fixed (delete `.' at the 4834 * keymap.c (describe_vector): Declaration fixed (delete `.' at the
4838 tail of type `void'. 4835 tail of type `void'.
4839 (fix_submap_inheritance): Declare it as void. 4836 (fix_submap_inheritance): Declare it as void.
4840 4837
4841 * keyboard.c (echo_now, record_auto_save, cmd_error_internal, 4838 * keyboard.c (echo_now, record_auto_save, cmd_error_internal)
4842 start_polling, stop_polling, bind_polling_period, 4839 (start_polling, stop_polling, bind_polling_period, timer_start_idle)
4843 timer_start_idle, timer_stop_idle, gobble_input, 4840 (timer_stop_idle, gobble_input, record_asynch_buffer_change)
4844 record_asynch_buffer_change, clear_input_pending, 4841 (clear_input_pending, stuff_buffered_input, clear_waiting_for_input)
4845 stuff_buffered_input, clear_waiting_for_input, 4842 (quit_throw_to_read_char): Declare these as void.
4846 quit_throw_to_read_char): Declare these as void.
4847 (Fsuspend_emacs): Delete unnecessary extern declaration for 4843 (Fsuspend_emacs): Delete unnecessary extern declaration for
4848 init_sys_mode. 4844 init_sys_mode.
4849 (Fexecute_extended_command): Give Voverriding_local_map as the 4845 (Fexecute_extended_command): Give Voverriding_local_map as the
4850 first arg to Faref. 4846 first arg to Faref.
4851 4847
4896 * src/config.in (HAVE_STRFTIME): New undef. 4892 * src/config.in (HAVE_STRFTIME): New undef.
4897 * src/editfns.c (emacs_strftime): New decl. 4893 * src/editfns.c (emacs_strftime): New decl.
4898 (Fformat_time_string): Doc fix: %b, %h, %B, %a, %A, and %p depend on 4894 (Fformat_time_string): Doc fix: %b, %h, %B, %a, %A, and %p depend on
4899 locale; don't use actual chars to describe %n and %t. 4895 locale; don't use actual chars to describe %n and %t.
4900 4896
4901 * src/Makefile.in (strftime.o), src/makefile.nt ($(BLD)\strftime.obj): 4897 * src/Makefile.in (strftime.o):
4898 * src/makefile.nt ($(BLD)\strftime.obj):
4902 No need to compile with -Dstrftime=emacs_strftime any more. 4899 No need to compile with -Dstrftime=emacs_strftime any more.
4903 4900
4904 1997-11-22 Richard Stallman <rms@gnu.org> 4901 1997-11-22 Richard Stallman <rms@gnu.org>
4905 4902
4906 * syntax.c (back_comment): Handle 2-char comment starts 4903 * syntax.c (back_comment): Handle 2-char comment starts
5022 (syms_of_xdisp): Set up Lisp var. 5019 (syms_of_xdisp): Set up Lisp var.
5023 (redisplay_window): Scroll minibuffer in a special way. 5020 (redisplay_window): Scroll minibuffer in a special way.
5024 5021
5025 * xdisp.c (display_text_line): Make decision about which windows 5022 * xdisp.c (display_text_line): Make decision about which windows
5026 highlight the region in just once place. 5023 highlight the region in just once place.
5027 When minibuffer is selected, show the region in the previous window, 5024 When minibuffer is selected, show the region in the previous window.
5028 5025
5029 * charset.h (ASCII_BYTE_P): New macro. 5026 * charset.h (ASCII_BYTE_P): New macro.
5030 5027
5031 * indent.c (position_indentation): Detect non-breaking space, 5028 * indent.c (position_indentation): Detect non-breaking space,
5032 in either single-byte form or multibyte form (using category ' '). 5029 in either single-byte form or multibyte form (using category ' ').
5039 (selection_data_to_lisp_data, Fx_get_cut_buffer_internal): Ditto. 5036 (selection_data_to_lisp_data, Fx_get_cut_buffer_internal): Ditto.
5040 5037
5041 1997-11-10 Eli Zaretskii <eliz@is.elta.co.il> 5038 1997-11-10 Eli Zaretskii <eliz@is.elta.co.il>
5042 5039
5043 * msdos.c: Support for Japanese display on DOS/V systems. 5040 * msdos.c: Support for Japanese display on DOS/V systems.
5044 (screen_old_address, screen_virtual_segment, 5041 (screen_old_address, screen_virtual_segment, screen_virtual_offset):
5045 screen_virtual_offset): New variables. 5042 New variables.
5046 (dosv_refresh_virtual_screen): New function. 5043 (dosv_refresh_virtual_screen): New function.
5047 (dos_direct_output, dos_set_window_size, IT_write_glyphs, 5044 (dos_direct_output, dos_set_window_size, IT_write_glyphs)
5048 IT_clear_end_of_line, IT_clear_screen, IT_display_cursor, 5045 (IT_clear_end_of_line, IT_clear_screen, IT_display_cursor)
5049 IT_reset_terminal_modes, XMenuActivate, abort): Call 5046 (IT_reset_terminal_modes, XMenuActivate, abort): Call
5050 dosv_refresh_virtual_screen if under DOS/V. 5047 dosv_refresh_virtual_screen if under DOS/V.
5051 (IT_set_terminal_modes): If under DOS/V, update the address of 5048 (IT_set_terminal_modes): If under DOS/V, update the address of
5052 primary screen buffer. 5049 primary screen buffer.
5053 (internal_terminal_init): Zero out screen_old_address, in case 5050 (internal_terminal_init): Zero out screen_old_address, in case
5054 Emacs was dumped under DOS/V. 5051 Emacs was dumped under DOS/V.
5067 instead of require_flushing member of `*coding'. 5064 instead of require_flushing member of `*coding'.
5068 (code_convert_region): Fix previous change. 5065 (code_convert_region): Fix previous change.
5069 5066
5070 * coding.h (struct coding_system): Add member common_flags, delete 5067 * coding.h (struct coding_system): Add member common_flags, delete
5071 member require_flushing. 5068 member require_flushing.
5072 (CODING_REQUIRE_FLUSHING_MASK, CODING_REQUIRE_DECODING_MASK, 5069 (CODING_REQUIRE_FLUSHING_MASK, CODING_REQUIRE_DECODING_MASK)
5073 CODING_REQUIRE_ENCODING_MASK, CODING_REQUIRE_DETECTION_MASK): New 5070 (CODING_REQUIRE_ENCODING_MASK, CODING_REQUIRE_DETECTION_MASK):
5074 macros. 5071 New macros.
5075 (CODING_REQUIRE_NO_CONVERSION, CODING_MAY_REQUIRE_NO_CONVERSION): 5072 (CODING_REQUIRE_NO_CONVERSION, CODING_MAY_REQUIRE_NO_CONVERSION):
5076 These macros deleted. 5073 These macros deleted.
5077 (CODING_REQUIRE_FLUSHING, CODING_REQUIRE_DECODING, 5074 (CODING_REQUIRE_FLUSHING, CODING_REQUIRE_DECODING)
5078 CODING_REQUIRE_ENCODING, CODING_REQUIRE_DETECTION): New macros. 5075 (CODING_REQUIRE_ENCODING, CODING_REQUIRE_DETECTION): New macros.
5079 5076
5080 * editfns.c (Fsref): If IDX points an 8-bit code which is not part 5077 * editfns.c (Fsref): If IDX points an 8-bit code which is not part
5081 of multibyte characters, return it. Pay attention to 5078 of multibyte characters, return it. Pay attention to
5082 enable-multibyte-characters. 5079 enable-multibyte-characters.
5083 5080
5624 * w32.h: Remove debugging macros. 5621 * w32.h: Remove debugging macros.
5625 (child_process): Remove is_dos_process field, add hwnd handle field. 5622 (child_process): Remove is_dos_process field, add hwnd handle field.
5626 (FILE_LAST_CR): New macro. 5623 (FILE_LAST_CR): New macro.
5627 (w32_get_long_filename): Declare extern. 5624 (w32_get_long_filename): Declare extern.
5628 5625
5629 * w32console.c: (DebPrint, reset_kbd, unset_kbd, take_console): 5626 * w32console.c (DebPrint, reset_kbd, unset_kbd, take_console):
5630 Delete functions. 5627 Delete functions.
5631 (keyboard_init_hook): Delete variable. 5628 (keyboard_init_hook): Delete variable.
5632 (prev_console_cursor) [! USE_SEPARATE_SCREEN]: New variable. 5629 (prev_console_cursor) [! USE_SEPARATE_SCREEN]: New variable.
5633 (reset_terminal_modes) [! USE_SEPARATE_SCREEN]: Reset cursor info. 5630 (reset_terminal_modes) [! USE_SEPARATE_SCREEN]: Reset cursor info.
5634 (initialize_w32_display) [USE_SEPARATE_SCREEN]: Create separate 5631 (initialize_w32_display) [USE_SEPARATE_SCREEN]: Create separate
5639 Don't reset cursor or clear frame. 5636 Don't reset cursor or clear frame.
5640 5637
5641 * w32fns.c: Include limits.h and errno.h. 5638 * w32fns.c: Include limits.h and errno.h.
5642 Declare externs from other files. 5639 Declare externs from other files.
5643 (w32_in_use): New variable. 5640 (w32_in_use): New variable.
5644 (check_w32, have_menus_p, x_set_title, w32_msg_worker, 5641 (check_w32, have_menus_p, x_set_title, w32_msg_worker)
5645 find_deferred_msg, send_deferred_msg, complete_deferred_msg, 5642 (find_deferred_msg, send_deferred_msg, complete_deferred_msg)
5646 Fw32_focus_frame, W32-send-sys-command): New functions. 5643 (Fw32_focus_frame, W32-send-sys-command): New functions.
5647 (last_mouse_movement_time): Delete variable. 5644 (last_mouse_movement_time): Delete variable.
5648 5645
5649 (x_frame_parms): Alphabetize. Add title parm. 5646 (x_frame_parms): Alphabetize. Add title parm.
5650 (x_set_icon_name): Use title if set. 5647 (x_set_icon_name): Use title if set.
5651 (x_set_menu_bar_lines): Ensure client area remains the same. 5648 (x_set_menu_bar_lines): Ensure client area remains the same.
5702 * w32menu.c (init_menu_items): Disable code. 5699 * w32menu.c (init_menu_items): Disable code.
5703 (x_activate_menubar): New function. 5700 (x_activate_menubar): New function.
5704 (initialize_frame_menubar): Pass in new param to set_frame_menubar. 5701 (initialize_frame_menubar): Pass in new param to set_frame_menubar.
5705 5702
5706 * w32proc.c: Include w32heap.h. 5703 * w32proc.c: Include w32heap.h.
5707 (Vw32_start_process_share_console, Vw32_generate_fake_inodes, 5704 (Vw32_start_process_share_console, Vw32_generate_fake_inodes)
5708 Vw32_get_true_file_attributes, Qhigh, Qlow, process_dir): 5705 (Vw32_get_true_file_attributes, Qhigh, Qlow, process_dir):
5709 New variables. 5706 New variables.
5710 (find_child_console, set_process_dir, Fw32_short_file_name, 5707 (find_child_console, set_process_dir, Fw32_short_file_name)
5711 Fw32_long_file_name, Fw32_set_process_priority, Fw32_get_locale_info, 5708 (Fw32_long_file_name, Fw32_set_process_priority, Fw32_get_locale_info)
5712 Fw32_get_current_locale_id, Fw32_get_default_local_id, 5709 (Fw32_get_current_locale_id, Fw32_get_default_local_id)
5713 Fw32_set_current_locale): New functions. 5710 (Fw32_set_current_locale): New functions.
5714 (CORRECT_DIR_SEPS): New macro. 5711 (CORRECT_DIR_SEPS): New macro.
5715 (create_child): Create a new console if subprocs don't share parent's. 5712 (create_child): Create a new console if subprocs don't share parent's.
5716 (reap_subprocess): Don't check for dos subprocesses. 5713 (reap_subprocess): Don't check for dos subprocesses.
5717 Add debug support. 5714 Add debug support.
5718 (sys_wait): Ignore socket child_procs. 5715 (sys_wait): Ignore socket child_procs.
5732 (syms_of_ntproc): Intern new symbols. defsubr new functions. 5729 (syms_of_ntproc): Intern new symbols. defsubr new functions.
5733 DEFVAR new variables. 5730 DEFVAR new variables.
5734 5731
5735 * w32term.c (SIF_*): Win95 macros defined for NT. 5732 * w32term.c (SIF_*): Win95 macros defined for NT.
5736 (struct tagSCROLLINFO): Win95 struct defined for NT. 5733 (struct tagSCROLLINFO): Win95 struct defined for NT.
5737 (vertical_scroll_bar_min_handle, vertical_scroll_bar_top_border, 5734 (vertical_scroll_bar_min_handle, vertical_scroll_bar_top_border)
5738 vertical_scroll_bar_bottom_border, last_scroll_bar_drag_pos, 5735 (vertical_scroll_bar_bottom_border, last_scroll_bar_drag_pos)
5739 Vw32_gab_focus_on_raise, Vw32_capslock_is_shiftlock): New 5736 (Vw32_gab_focus_on_raise, Vw32_capslock_is_shiftlock):
5740 variables. 5737 New variables.
5741 (w32_frame_up_to_date): Block input. 5738 (w32_frame_up_to_date): Block input.
5742 (do_line_dance): Use DC while erasing, release at end. 5739 (do_line_dance): Use DC while erasing, release at end.
5743 (show_mouse_face): Use column and endcolumn calculated at start of 5740 (show_mouse_face): Use column and endcolumn calculated at start of
5744 loop. 5741 loop.
5745 (my_create_scrollbar, my_show_window, my_set_window_pos, 5742 (my_create_scrollbar, my_show_window, my_set_window_pos, my_set_focus)
5746 my_set_focus) [! ATTACH_THREADS]: Send message to window instead 5743 [! ATTACH_THREADS]: Send message to window instead of invoking
5747 of invoking Windows procedure. 5744 Windows procedure.
5748 (x_scroll_bar_create, x_scroll_bar_move, x_scroll_bar_handle_click, 5745 (x_scroll_bar_create, x_scroll_bar_move, x_scroll_bar_handle_click)
5749 x_scroll_bar_report_motion): Use SCROLLINFO for proportional handle. 5746 (x_scroll_bar_report_motion): Use SCROLLINFO for proportional handle.
5750 (x_scroll_bar_set_handle): Create proportional sized scroll handle. 5747 (x_scroll_bar_set_handle): Create proportional sized scroll handle.
5751 (w32_set_vertical_scroll_bar): Size handle according to how much 5748 (w32_set_vertical_scroll_bar): Size handle according to how much
5752 is showing in window. 5749 is showing in window.
5753 (x_scroll_bar_set_report_motion): Use top_range, calculated above. 5750 (x_scroll_bar_set_report_motion): Use top_range, calculated above.
5754 (x_scroll_bar_clear): Hide scroll bar until ready to repaint. 5751 (x_scroll_bar_clear): Hide scroll bar until ready to repaint.
5814 Capture and handle WM_EMACS_TRACKPOPUPMENU events. 5811 Capture and handle WM_EMACS_TRACKPOPUPMENU events.
5815 Allow a dragged selection from a popup menu started up 5812 Allow a dragged selection from a popup menu started up
5816 by a mouse down event. 5813 by a mouse down event.
5817 (x_to_win32_color): Support for X Windows RGB string specifications. 5814 (x_to_win32_color): Support for X Windows RGB string specifications.
5818 5815
5819 * w32menu.c (get_frame_menubar_event): Check for the possibility 5816 * w32menu.c (get_frame_menubar_event): Check for the possibility
5820 of a menu-bar button. A menu-bar button is a caption on the menu 5817 of a menu-bar button. A menu-bar button is a caption on the menu
5821 bar with no submenu. 5818 bar with no submenu.
5822 (set_frame_menubar): Correctly handle menu-bar buttons. 5819 (set_frame_menubar): Correctly handle menu-bar buttons.
5823 (add_menu_item): Equiv parameter send and paid attention to. 5820 (add_menu_item): Equiv parameter send and paid attention to.
5824 (keymap_panes, list_of_panes): Use CreatePopupMenu. 5821 (keymap_panes, list_of_panes): Use CreatePopupMenu.
5836 (list_of_panes): Only bring up one pane if the length of the list 5833 (list_of_panes): Only bring up one pane if the length of the list
5837 of panes is one. 5834 of panes is one.
5838 5835
5839 1997-09-02 Nico Francois <nico.francois@scala.nl> 5836 1997-09-02 Nico Francois <nico.francois@scala.nl>
5840 5837
5841 * w32menu.c (single_keymap_panes): Fixed problem with 'descrip' 5838 * w32menu.c (single_keymap_panes): Fixed problem with 'descrip'
5842 lisp object not being protected properly (GCPRO). 5839 lisp object not being protected properly (GCPRO).
5843 (get_single_keymap_event): Fixed problem with 'descrip' lisp 5840 (get_single_keymap_event): Fixed problem with 'descrip' lisp
5844 object not being protected properly (GCPRO). 5841 object not being protected properly (GCPRO).
5845 (name_is_separator): New function. 5842 (name_is_separator): New function.
5846 (list_of_panes): If a pane's name is empty ("") items are now 5843 (list_of_panes): If a pane's name is empty ("") items are now
5847 placed in the main popup instead of a blank-named submenu. This 5844 placed in the main popup instead of a blank-named submenu. This
5848 seems to be an undocumented feature of x-popup-menu. 5845 seems to be an undocumented feature of x-popup-menu.
5849 (list_of_items): New argument HMENU. 5846 (list_of_items): New argument HMENU.
5850 Use 1 and 0 instead of Qt and Qnil for enable in add_menu_item 5847 Use 1 and 0 instead of Qt and Qnil for enable in add_menu_item
5851 5848
5852 1997-09-02 Geoff Voelker <voelker@cs.washington.edu> 5849 1997-09-02 Geoff Voelker <voelker@cs.washington.edu>
5853 5850
5854 * w32.c (init_environment): Don't look for INFOPATH. 5851 * w32.c (init_environment): Don't look for INFOPATH.
5858 * w32heap.c: Don't use data_seg pragma here. 5855 * w32heap.c: Don't use data_seg pragma here.
5859 (_heap_init, _heap_term) [_MSC_VER >= 1000]: New functions that 5856 (_heap_init, _heap_term) [_MSC_VER >= 1000]: New functions that
5860 override CRT routines. 5857 override CRT routines.
5861 5858
5862 * w32inevt.c (key_event): New parameter isdead. Set isdead if the 5859 * w32inevt.c (key_event): New parameter isdead. Set isdead if the
5863 key press was done using a dead key. 5860 key press was done using a dead key.
5864 5861
5865 * w32term.c (w32_read_socket): Pass in new parameter to key_event. 5862 * w32term.c (w32_read_socket): Pass in new parameter to key_event.
5866 Let key_event determine whether key is dead. 5863 Let key_event determine whether key is dead.
5867 For MOVE, use x_real_positions to map to client coords. 5864 For MOVE, use x_real_positions to map to client coords.
5868 (x_set_mouse_pixel_position): Offset to use client area as origin. 5865 (x_set_mouse_pixel_position): Offset to use client area as origin.
6071 (Fread_command): Call Fcompleting_read with INHERIT_INPUT_METHOD nil. 6068 (Fread_command): Call Fcompleting_read with INHERIT_INPUT_METHOD nil.
6072 (Fread_function, Fread_variable, Fread_buffer): Likewise 6069 (Fread_function, Fread_variable, Fread_buffer): Likewise
6073 (Fcompleting_read): New argument INHERIT_INPUT_METHOD. 6070 (Fcompleting_read): New argument INHERIT_INPUT_METHOD.
6074 6071
6075 * lisp.h (DEFUN_ARGS_8): New macro. 6072 * lisp.h (DEFUN_ARGS_8): New macro.
6076 (Fcompleting_read, Fread_from_minibuffer, Fread_string, 6073 (Fcompleting_read, Fread_from_minibuffer, Fread_string)
6077 Fread_no_blanks_input): Number of arguments fixed. 6074 (Fread_no_blanks_input): Number of arguments fixed.
6078 6075
6079 * eval.c (Feval): Handle a subr which takes 8 arguments. 6076 * eval.c (Feval): Handle a subr which takes 8 arguments.
6080 (Ffuncall): Likewise. 6077 (Ffuncall): Likewise.
6081 6078
6082 * coding.c (Fread_non_nil_coding_system): Supply the arg 6079 * coding.c (Fread_non_nil_coding_system): Supply the arg
6276 6273
6277 1997-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 6274 1997-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
6278 6275
6279 * emacs.c (main): Fix previous change. 6276 * emacs.c (main): Fix previous change.
6280 6277
6281 1997-08-11 +03 Eli Zaretskii <eliz@is.elta.co.il> 6278 1997-08-11 Eli Zaretskii <eliz@is.elta.co.il>
6282 6279
6283 * dosfns.c (init_dosfns): Avoid calling DOS memory-allocation 6280 * dosfns.c (init_dosfns): Avoid calling DOS memory-allocation
6284 service, NT DPMI server will crash Emacs in DOS box, if we do. 6281 service, NT DPMI server will crash Emacs in DOS box, if we do.
6285 6282
6286 * msdos.c (IT_set_frame_parameters): Actually store the frame 6283 * msdos.c (IT_set_frame_parameters): Actually store the frame
6610 1997-07-25 Ken'ichi Handa <handa@psilocin.gnu.ai.mit.edu> 6607 1997-07-25 Ken'ichi Handa <handa@psilocin.gnu.ai.mit.edu>
6611 6608
6612 * fontset.c (syms_of_fontset): Set Vhighlight_wrong_size_font to 6609 * fontset.c (syms_of_fontset): Set Vhighlight_wrong_size_font to
6613 Qnil. 6610 Qnil.
6614 6611
6615 * coding.h (CODING_REQUIRE_TEXT_CONVERSION, 6612 * coding.h (CODING_REQUIRE_TEXT_CONVERSION)
6616 CODING_REQUIRE_EOL_CONVERSION, CODING_REQUIRE_CONVERSION): Deleted. 6613 (CODING_REQUIRE_EOL_CONVERSION, CODING_REQUIRE_CONVERSION): Deleted.
6617 (CODING_REQUIRE_NO_CONVERSION): New macro. 6614 (CODING_REQUIRE_NO_CONVERSION): New macro.
6618 (CODING_MAY_REQUIRE_NO_CONVERSION): New macro. 6615 (CODING_MAY_REQUIRE_NO_CONVERSION): New macro.
6619 6616
6620 * fileio.c (Finsert_file_contents): Use new macros 6617 * fileio.c (Finsert_file_contents): Use new macros
6621 CODING_MAY_REQUIRE_NO_CONVERSION and 6618 CODING_MAY_REQUIRE_NO_CONVERSION and
7098 1997-07-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 7095 1997-07-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7099 7096
7100 * editfns.c (Fformat): Add second argument in call to Ftruncate. 7097 * editfns.c (Fformat): Add second argument in call to Ftruncate.
7101 7098
7102 * alloc.c, buffer.c, casefiddle.c, casetab.c, category.c, 7099 * alloc.c, buffer.c, casefiddle.c, casetab.c, category.c,
7103 category.h, ccl.c, coding.c, editfns.c, fileio.c, fns.c, indent.c, 7100 * category.h, ccl.c, coding.c, editfns.c, fileio.c, fns.c, indent.c,
7104 intervals.c, intervals.h, keymap.c, lisp.h, minibuf.c, print.c, 7101 * intervals.c, intervals.h, keymap.c, lisp.h, minibuf.c, print.c,
7105 syntax.c, syntax.h, sysdep.c, textprop.c, xfns.c: Fix numerous 7102 * syntax.c, syntax.h, sysdep.c, textprop.c, xfns.c: Fix numerous
7106 bugs with inappropriate mixing of Lisp_Object with int. 7103 bugs with inappropriate mixing of Lisp_Object with int.
7107 * config.in (RE_TRANSLATE): Define to extract integers from 7104 * config.in (RE_TRANSLATE): Define to extract integers from
7108 array of Lisp_Objects. 7105 array of Lisp_Objects.
7109 7106
7110 1997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 7107 1997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
7182 * charset.c (Fchar_width): Check if the current buffer has display 7179 * charset.c (Fchar_width): Check if the current buffer has display
7183 table. 7180 table.
7184 7181
7185 * fileio.c (Finsert_file_contents): Doc-string fixed. Call 7182 * fileio.c (Finsert_file_contents): Doc-string fixed. Call
7186 Ffind_operation_coding_system. 7183 Ffind_operation_coding_system.
7187 (Fwrite_region): Call Ffind_operation_coding_system. 7184 (Fwrite_region): Call Ffind_operation_coding_system.
7188 7185
7189 * callproc.c: Call Ffind_operation_coding_system. 7186 * callproc.c: Call Ffind_operation_coding_system.
7190 7187
7191 * process.c (Fstart_process): Call Ffind_operation_coding_system. 7188 * process.c (Fstart_process): Call Ffind_operation_coding_system.
7192 (Fopen_network_stream): Likewise. 7189 (Fopen_network_stream): Likewise.
7227 7224
7228 * makefile.nt (OBJ2): Include new source files. 7225 * makefile.nt (OBJ2): Include new source files.
7229 7226
7230 * s/ms-w32.h: Duplicate undefs from config.in to check completeness. 7227 * s/ms-w32.h: Duplicate undefs from config.in to check completeness.
7231 (STDC_HEADERS, HAVE_TZNAME, HAVE_MKTIME): Define to have a value. 7228 (STDC_HEADERS, HAVE_TZNAME, HAVE_MKTIME): Define to have a value.
7232 (HAVE_GETPAGESIZE, HAVE_SETLOCALE, HAVE_SHUTDOWN, HAVE_TZSET, 7229 (HAVE_GETPAGESIZE, HAVE_SETLOCALE, HAVE_SHUTDOWN, HAVE_TZSET)
7233 HAVE_LIMITS_H, HAVE_STRERROR): Define. 7230 (HAVE_LIMITS_H, HAVE_STRERROR): Define.
7234 [HAVE_NTGUI] (HAVE_MENUS): Define. 7231 [HAVE_NTGUI] (HAVE_MENUS): Define.
7235 (SYSTEM_PURESIZE_EXTRA): Increase value. 7232 (SYSTEM_PURESIZE_EXTRA): Increase value.
7236 7233
7237 * unexw32.c, w32heap.c: Add pragma to force zero initialized 7234 * unexw32.c, w32heap.c: Add pragma to force zero initialized
7238 data into .data segment. 7235 data into .data segment.
7501 7498
7502 * buffer.h (struct buffer): New member buffer_file_coding_system. 7499 * buffer.h (struct buffer): New member buffer_file_coding_system.
7503 7500
7504 * coding.c (Vcoding_system_alist): Deleted. 7501 * coding.c (Vcoding_system_alist): Deleted.
7505 (Qcoding_system_spec): Renamed from Qcoding_system_vector. 7502 (Qcoding_system_spec): Renamed from Qcoding_system_vector.
7506 (Vdefault_process_coding_system, Vfile_coding_system_alist, 7503 (Vdefault_process_coding_system, Vfile_coding_system_alist)
7507 Vprocess_coding_system_alist, Vnetwork_coding_system_alist): New 7504 (Vprocess_coding_system_alist, Vnetwork_coding_system_alist):
7508 variables. 7505 New variables.
7509 (Ffind_coding_system): Adjusted for the above change. 7506 (Ffind_coding_system): Adjusted for the above change.
7510 (syms_of_coding): Declare them as lisp variables. 7507 (syms_of_coding): Declare them as lisp variables.
7511 (Fcheck_coding_system): Pass list as DATA argument to Fsignal. 7508 (Fcheck_coding_system): Pass list as DATA argument to Fsignal.
7512 7509
7513 * coding.h (Vdefault_process_coding_system): Extern it. 7510 * coding.h (Vdefault_process_coding_system): Extern it.
7955 7952
7956 * charset.c (non_ascii_char_to_string): Signal error if the 7953 * charset.c (non_ascii_char_to_string): Signal error if the
7957 argument C is an invalid character code. 7954 argument C is an invalid character code.
7958 (Fconcat_chars): Use alloca instead of malloc. 7955 (Fconcat_chars): Use alloca instead of malloc.
7959 7956
7960 * charset.h (CHAR_STRING): Comment reflect the above change. 7957 * charset.h (CHAR_STRING): Comment reflect the above change.
7961 7958
7962 * coding.h: Name change through the code: 7959 * coding.h: Name change through the code:
7963 coding-category-internal => coding-category-emacs-mule, 7960 coding-category-internal => coding-category-emacs-mule,
7964 XXX_coding_internal => XXX_coding_emacs_mule, 7961 XXX_coding_internal => XXX_coding_emacs_mule,
7965 coding_type_internal => coding_type_emacs_mule, 7962 coding_type_internal => coding_type_emacs_mule,
8040 * fns.c (map_char_table): New arg SUBTABLE. Callers changed. 8037 * fns.c (map_char_table): New arg SUBTABLE. Callers changed.
8041 Pass the whole chartable to C_FUNCTION. 8038 Pass the whole chartable to C_FUNCTION.
8042 Pass index character as a Lisp_Object. 8039 Pass index character as a Lisp_Object.
8043 8040
8044 * keymap.c (Fmake_keymap): Make a char-table. 8041 * keymap.c (Fmake_keymap): Make a char-table.
8045 (access_keymap, store_in_keymap): Likewise, 8042 (access_keymap, store_in_keymap): Likewise.
8046 (describe_map, Fset_keymap_parent, Faccessible_keymaps): Likewise. 8043 (describe_map, Fset_keymap_parent, Faccessible_keymaps): Likewise.
8047 (Fwhere_is_internal, Fcopy_keymap): Handle a char-table. 8044 (Fwhere_is_internal, Fcopy_keymap): Handle a char-table.
8048 (copy_keymap_1, accessible_keymaps_char_table): New subroutines. 8045 (copy_keymap_1, accessible_keymaps_char_table): New subroutines.
8049 (where_is_internal_1, where_is_internal_2): New functions. 8046 (where_is_internal_1, where_is_internal_2): New functions.
8050 (syms_of_keymap): Set up Qchar_table_extra_slots prop on Qkeymap. 8047 (syms_of_keymap): Set up Qchar_table_extra_slots prop on Qkeymap.
8066 (Ffind_charset_string): Likewise. 8063 (Ffind_charset_string): Likewise.
8067 8064
8068 * charset.h (unify_char): Extern it. 8065 * charset.h (unify_char): Extern it.
8069 8066
8070 * coding.c (Valternate_charset_table): The variable deleted. 8067 * coding.c (Valternate_charset_table): The variable deleted.
8071 (Venable_character_unification, 8068 (Venable_character_unification)
8072 Vstandard_character_unification_table_for_read, 8069 (Vstandard_character_unification_table_for_read)
8073 Vstandard_character_unification_table_for_write, 8070 (Vstandard_character_unification_table_for_write)
8074 Qcharacter_unification_table): New variables. 8071 (Qcharacter_unification_table): New variables.
8075 (syms_of_coding): Initialize and declare them. 8072 (syms_of_coding): Initialize and declare them.
8076 (DECODE_ISO_CHARACTER): Modified to handle a character unification 8073 (DECODE_ISO_CHARACTER): Modified to handle a character unification
8077 table instead of Valternate_charset_table. 8074 table instead of Valternate_charset_table.
8078 (DECODE_DESIGNATION): Delete handling of Valternate_charset_table. 8075 (DECODE_DESIGNATION): Delete handling of Valternate_charset_table.
8079 (decode_coding_iso2022): Handle a character unification table. 8076 (decode_coding_iso2022): Handle a character unification table.
8398 8395
8399 * syntax.h (enum syntaxcode): 8396 * syntax.h (enum syntaxcode):
8400 New members Scomment_fence, Sstring_fence. 8397 New members Scomment_fence, Sstring_fence.
8401 (SYNTAX_ENTRY): Depending on the value of SYNTAX_ENTRY_VIA_PROPERTY 8398 (SYNTAX_ENTRY): Depending on the value of SYNTAX_ENTRY_VIA_PROPERTY
8402 may do a lookup for syntax table in gl_state. 8399 may do a lookup for syntax table in gl_state.
8403 (UPDATE_SYNTAX_TABLE_FORWARD, UPDATE_SYNTAX_TABLE_BACKWARD, 8400 (UPDATE_SYNTAX_TABLE_FORWARD, UPDATE_SYNTAX_TABLE_BACKWARD)
8404 UPDATE_SYNTAX_TABLE, SETUP_SYNTAX_TABLE, 8401 (UPDATE_SYNTAX_TABLE, SETUP_SYNTAX_TABLE)
8405 SETUP_SYNTAX_TABLE_FOR_OBJECT): New macros. 8402 (SETUP_SYNTAX_TABLE_FOR_OBJECT): New macros.
8406 (struct gl_state_s): New struct. 8403 (struct gl_state_s): New struct.
8407 8404
8408 * textprop.c: Style of comments corrected. 8405 * textprop.c: Style of comments corrected.
8409 (interval_of): New function. 8406 (interval_of): New function.
8410 8407
8521 8518
8522 * category.c (category-table-p): Check only type and purpose. 8519 * category.c (category-table-p): Check only type and purpose.
8523 (copy_category_table, Fmodify_category_entry): Adjusted for the 8520 (copy_category_table, Fmodify_category_entry): Adjusted for the
8524 new structure of Lisp_Char_Table. 8521 new structure of Lisp_Char_Table.
8525 8522
8526 * ccl.c: (ccl_driver): Fix bug of the case CCL_WriteArrayReadJump. 8523 * ccl.c (ccl_driver): Fix bug of the case CCL_WriteArrayReadJump.
8527 8524
8528 * charset.h (CHARSET_TABLE_ENTRY): Handle ASCII charset correctly. 8525 * charset.h (CHARSET_TABLE_ENTRY): Handle ASCII charset correctly.
8529 (SPLIT_NON_ASCII_CHAR, SPLIT_CHAR): Return -1 in C2 for DIMENSION1 8526 (SPLIT_NON_ASCII_CHAR, SPLIT_CHAR): Return -1 in C2 for DIMENSION1
8530 characters. 8527 characters.
8531 8528
8532 * charset.c (non_ascii_char_to_string, update_charset_table, 8529 * charset.c (non_ascii_char_to_string, update_charset_table)
8533 Fsplit_char): Adjusted for the above change. 8530 (Fsplit_char): Adjusted for the above change.
8534 8531
8535 * coding.c (detect_coding_iso2022, detect_coding_mask): Ignore 8532 * coding.c (detect_coding_iso2022, detect_coding_mask): Ignore
8536 invalid ESC sequence for ISO 2022. 8533 invalid ESC sequence for ISO 2022.
8537 (Fencode_sjis_char, Fencode_big5_char): Adjusted for the change of 8534 (Fencode_sjis_char, Fencode_big5_char): Adjusted for the change of
8538 SPLIT_CHAR. 8535 SPLIT_CHAR.
8544 (DISP_CHAR_VECTOR): Handle multibyte characters. 8541 (DISP_CHAR_VECTOR): Handle multibyte characters.
8545 8542
8546 * fns.c (copy_sub_char_table): New function. 8543 * fns.c (copy_sub_char_table): New function.
8547 (Fcopy_sequence): Call copy_sub_char_table for copying a sub char 8544 (Fcopy_sequence): Call copy_sub_char_table for copying a sub char
8548 table. 8545 table.
8549 (Fchar_table_range, Fset_char_table_range, map_char_table, 8546 (Fchar_table_range, Fset_char_table_range, map_char_table)
8550 Fmap_char_table): Handle multibyte characters correctly. 8547 (Fmap_char_table): Handle multibyte characters correctly.
8551 8548
8552 * fontset.c (Vhighlight_wrong_size_font, Vclip_large_size_font): 8549 * fontset.c (Vhighlight_wrong_size_font, Vclip_large_size_font):
8553 New variables. 8550 New variables.
8554 (syms_of_fontset): Declare them as Lisp variables. 8551 (syms_of_fontset): Declare them as Lisp variables.
8555 8552
8771 8768
8772 * coding.c (decode_eol): Fix bug of converting CRLF to LF. 8769 * coding.c (decode_eol): Fix bug of converting CRLF to LF.
8773 8770
8774 1997-03-05 NIIBE Yutaka <gniibe@mri.co.jp> 8771 1997-03-05 NIIBE Yutaka <gniibe@mri.co.jp>
8775 8772
8776 * indent.c: (compute_motion): When POS >= TO, don't call 8773 * indent.c (compute_motion): When POS >= TO, don't call
8777 find_before_next_newline as it assumes POS < TO. 8774 find_before_next_newline as it assumes POS < TO.
8778 8775
8779 1997-03-02 Ken'ichi Handa <handa@etl.go.jp> 8776 1997-03-02 Ken'ichi Handa <handa@etl.go.jp>
8780 8777
8781 * category.h (CATEGORY_SET): Cast arg C to 8778 * category.h (CATEGORY_SET): Cast arg C to
8862 with the change of charsets to symbols. 8859 with the change of charsets to symbols.
8863 8860
8864 * keymap.c (describe_vector): Do not describe deeper char-table if 8861 * keymap.c (describe_vector): Do not describe deeper char-table if
8865 enable-multibyte-characters is nil. 8862 enable-multibyte-characters is nil.
8866 8863
8867 * process.c (proc_decode_coding_system, 8864 * process.c (proc_decode_coding_system, proc_encode_coding_system):
8868 proc_encode_coding_system): Changed to array of pointers to struct 8865 Changed to array of pointers to struct coding_system to reduce the
8869 coding_system to reduce the size of dumped Emacs. 8866 size of dumped Emacs.
8870 (create_process, Fopen_network_stream): Allocate them dynamically. 8867 (create_process, Fopen_network_stream): Allocate them dynamically.
8871 (init_process): Initialize these pointers to NULL. 8868 (init_process): Initialize these pointers to NULL.
8872 (Fstart_process, Fopen_network_stream): Do not perform character 8869 (Fstart_process, Fopen_network_stream): Do not perform character
8873 code conversion if enable-multibyte-characters is nil. 8870 code conversion if enable-multibyte-characters is nil.
8874 8871
8913 8910
8914 1997-02-27 Erik Naggum <erik@naggum.no> 8911 1997-02-27 Erik Naggum <erik@naggum.no>
8915 8912
8916 * lread.c (Fload): Call Vload_source_file_function with 4 args. 8913 * lread.c (Fload): Call Vload_source_file_function with 4 args.
8917 8914
8918 1997-02-22 Tsugutomo ENAMI <enami@ba2.so-net.or.jp> 8915 1997-02-22 Tsugutomo ENAMI <enami@ba2.so-net.or.jp>
8919 8916
8920 * regex.c: Include charset.h and category.h 8917 * regex.c: Include charset.h and category.h
8921 8918
8922 [!emacs] (BASE_LEADING_CODE_P, WORD_BOUNDARY_P, CHAR_HEAD_P, 8919 [!emacs] (BASE_LEADING_CODE_P, WORD_BOUNDARY_P, CHAR_HEAD_P)
8923 SINGLE_BYTE_CHAR_P, SAME_CHARSET_P, MULTIBYTE_FORM_LENGTH, 8920 (SINGLE_BYTE_CHAR_P, SAME_CHARSET_P, MULTIBYTE_FORM_LENGTH)
8924 STRING_CHAR_AND_LENGTH, GET_CHAR_AFTER_2, GET_CHAR_BEFORE_2): 8921 (STRING_CHAR_AND_LENGTH, GET_CHAR_AFTER_2, GET_CHAR_BEFORE_2):
8925 New dummy macros. 8922 New dummy macros.
8926 8923
8927 (enum re_opcode_t): New member categoryspec and 8924 (enum re_opcode_t): New member categoryspec and
8928 notcategoryspec. 8925 notcategoryspec.
8929 8926
8930 (STORE_CHARACTER_AND_INCR, EXTRACT_CHARACTER, 8927 (STORE_CHARACTER_AND_INCR, EXTRACT_CHARACTER)
8931 CHARSET_LOOKUP_RANGE_TABLE_WITH_COUNT, 8928 (CHARSET_LOOKUP_RANGE_TABLE_WITH_COUNT)
8932 CHARSET_LOOKUP_RANGE_TABLE, CHARSET_BITMAP_SIZE, 8929 (CHARSET_LOOKUP_RANGE_TABLE, CHARSET_BITMAP_SIZE)
8933 CHARSET_RANGE_TABLE_EXISTS_P, CHARSET_RANGE_TABLE 8930 (CHARSET_RANGE_TABLE_EXISTS_P, CHARSET_RANGE_TABL)
8934 CHARSET_PAST_RANGE_TABLE): New macros. 8931 (CHARSET_PAST_RANGE_TABLE): New macros.
8935 8932
8936 (TRANSLATE): Cast return value to unsigned char, not char. 8933 (TRANSLATE): Cast return value to unsigned char, not char.
8937 8934
8938 (struct range_table_work_area): New structure. 8935 (struct range_table_work_area): New structure.
8939 8936
8940 (EXTEND_RANGE_TABLE_WORK_AREA, SET_RANGE_TABLE_WORK_AREA, 8937 (EXTEND_RANGE_TABLE_WORK_AREA, SET_RANGE_TABLE_WORK_AREA)
8941 FREE_RANGE_TABLE_WORK_AREA, CLEAR_RANGE_TABLE_WORK_USED, 8938 (FREE_RANGE_TABLE_WORK_AREA, CLEAR_RANGE_TABLE_WORK_USED)
8942 RANGE_TABLE_WORK_USED, RANGE_TABLE_WORK_ELT): New macros. 8939 (RANGE_TABLE_WORK_USED, RANGE_TABLE_WORK_ELT): New macros.
8943 (FREE_STACK_RETURN): Call FREE_RANGE_TABLE_WORK_AREA. 8940 (FREE_STACK_RETURN): Call FREE_RANGE_TABLE_WORK_AREA.
8944 8941
8945 (regex_compile): Declare `c' and `c1' as int to store 8942 (regex_compile): Declare `c' and `c1' as int to store
8946 multibyte characters. 8943 multibyte characters.
8947 Declare range_table_work and initialize it. 8944 Declare range_table_work and initialize it.
8948 Initialize bufp->multibyte to 0 if not emacs. 8945 Initialize bufp->multibyte to 0 if not emacs.
8949 For case '[' and `default', code re-written to handle 8946 For case '[' and `default', code re-written to handle
8950 multibyte characters. 8947 multibyte characters.
8951 Add code for case 'c' and 'C' to handle category spec. 8948 Add code for case 'c' and 'C' to handle category spec.
8952 8949
9031 * indent.h (struct position): New member tab_offset to accumulate 9028 * indent.h (struct position): New member tab_offset to accumulate
9032 tab offset. 9029 tab offset.
9033 9030
9034 * xdisp.c (try_window): Change the way of calculation of tab 9031 * xdisp.c (try_window): Change the way of calculation of tab
9035 offset. We now use val.tab_offset to maintain tab offset. 9032 offset. We now use val.tab_offset to maintain tab offset.
9036 Removed local variable tab_offset. 9033 Removed local variable tab_offset.
9037 (try_window_id): Likewise. 9034 (try_window_id): Likewise.
9038 9035
9039 * indent.c: Include "charset.h". 9036 * indent.c: Include "charset.h".
9040 (compute_motion): Remove the variable PREV_VPOS. 9037 (compute_motion): Remove the variable PREV_VPOS.
9041 Introduce new local variables (multibyte, wide_column, prev_pos, 9038 Introduce new local variables (multibyte, wide_column, prev_pos,
9083 (regex.o, search.o, syntax.o): Depend on charset.h and category.h. 9080 (regex.o, search.o, syntax.o): Depend on charset.h and category.h.
9084 (fontset.o): Depend on charset.h and fontset.h. 9081 (fontset.o): Depend on charset.h and fontset.h.
9085 (xterm.o): Depend on charset.h, ccl.h, and fontset.h. 9082 (xterm.o): Depend on charset.h, ccl.h, and fontset.h.
9086 (category.o, ccl.o, charset.o, coding.o, fontset.o): New targets. 9083 (category.o, ccl.o, charset.o, coding.o, fontset.o): New targets.
9087 9084
9088 * alloc.c (Fmake_char_table): Typo in doc-string fixed. Handle 9085 * alloc.c (Fmake_char_table): Typo in doc-string fixed.
9089 the case that PURPOSE is nil (in a deeper char-table). 9086 Handle the case that PURPOSE is nil (in a deeper char-table).
9090 (Fmake_bool_vector): Make correct size of Lisp_Object for 9087 (Fmake_bool_vector): Make correct size of Lisp_Object for
9091 bool-vector. 9088 bool-vector.
9092 9089
9093 * buffer.c: Include charset.h. 9090 * buffer.c: Include charset.h.
9094 (Fget_buffer_create): Allocate an extra byte for a buffer, and 9091 (Fget_buffer_create): Allocate an extra byte for a buffer, and
9531 * w32console.c (initialize_w32_display): Renamed from 9528 * w32console.c (initialize_w32_display): Renamed from
9532 initialize_win_nt_display. 9529 initialize_win_nt_display.
9533 * term.c (term_init): Use new name initialize_w32_display. 9530 * term.c (term_init): Use new name initialize_w32_display.
9534 9531
9535 * w32.c, w32console.c, w32faces.c, w32fns.c, w32heap.c, 9532 * w32.c, w32console.c, w32faces.c, w32fns.c, w32heap.c,
9536 w32inevt.c, w32menu.c, w32proc.c, w32select.c, w32term.c, 9533 * w32inevt.c, w32menu.c, w32proc.c, w32select.c, w32term.c,
9537 w32xfns.c, win32.h, w32inevt.h, w32term.h: Change all uses of win95, 9534 * w32xfns.c, win32.h, w32inevt.h, w32term.h: Change all uses of win95,
9538 winnt, and win32 into Windows 95, Windows NT, and W32, respectively. 9535 winnt, and win32 into Windows 95, Windows NT, and W32, respectively.
9539 Expand "win" substring in variables referring to Microsoft Windows 9536 Expand "win" substring in variables referring to Microsoft Windows
9540 constructs into "windows". 9537 constructs into "windows".
9541 Canonicalize header comments to use same terminology. 9538 Canonicalize header comments to use same terminology.
9542 9539
9554 coordinates. 9551 coordinates.
9555 9552
9556 1997-01-15 Eli Zaretskii <eliz@is.elta.co.il> 9553 1997-01-15 Eli Zaretskii <eliz@is.elta.co.il>
9557 9554
9558 * keyboard.c (interrupt_signal): Make emergency exit work on MSDOS 9555 * keyboard.c (interrupt_signal): Make emergency exit work on MSDOS
9559 frames. Block further SIGINTs while `interrupt_signal' runs. 9556 frames. Block further SIGINTs while `interrupt_signal' runs.
9560 9557
9561 * msdos.c (sigprocmask, sig_suspender): New functions, implement 9558 * msdos.c (sigprocmask, sig_suspender): New functions, implement
9562 signal blocking on MSDOS. 9559 signal blocking on MSDOS.
9563 9560
9564 1997-01-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 9561 1997-01-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
9731 (record_menu_key): New subroutine. 9728 (record_menu_key): New subroutine.
9732 9729
9733 * xmenu.c (single_keymap_panes): New arg DEPTH. 9730 * xmenu.c (single_keymap_panes): New arg DEPTH.
9734 Cut off recursion at that depth. Callers changed. 9731 Cut off recursion at that depth. Callers changed.
9735 9732
9736 1996-12-23 +02 Eli Zaretskii <eliz@is.elta.co.il> 9733 1996-12-23 Eli Zaretskii <eliz@is.elta.co.il>
9737 9734
9738 * msdos.c (dos_set_keyboard): Test whether KEYB.COM is installed 9735 * msdos.c (dos_set_keyboard): Test whether KEYB.COM is installed
9739 for international keyboard support. 9736 for international keyboard support.
9740 (dos_get_modifiers): If international keyboard support is NOT 9737 (dos_get_modifiers): If international keyboard support is NOT
9741 required, make both Right and Left Alt key behave like Meta key. 9738 required, make both Right and Left Alt key behave like Meta key.
9950 * Makefile.in, callproc.c, makefile.nt: Use new names for w32 files. 9947 * Makefile.in, callproc.c, makefile.nt: Use new names for w32 files.
9951 9948
9952 1996-11-18 Geoff Voelker <voelker@cs.washington.edu> 9949 1996-11-18 Geoff Voelker <voelker@cs.washington.edu>
9953 9950
9954 * emacs.c, frame.c, frame.h, keyboard.c, nt.c, nt.h, 9951 * emacs.c, frame.c, frame.h, keyboard.c, nt.c, nt.h,
9955 ntheap.c, ntheap.h, ntinevt.c, ntinevt.h, ntproc.c, ntterm.c, 9952 * ntheap.c, ntheap.h, ntinevt.c, ntinevt.h, ntproc.c, ntterm.c,
9956 termhooks.h, unexnt.c, w32faces.c, w32fns.c, w32menu.c, w32reg.c, 9953 * termhooks.h, unexnt.c, w32faces.c, w32fns.c, w32menu.c, w32reg.c,
9957 w32select.c, w32term.c, w32term.h, w32xfns.c, s/windowsnt.h: 9954 * w32select.c, w32term.c, w32term.h, w32xfns.c, s/windowsnt.h:
9958 Change identifiers of the form win32* to w32*. 9955 Change identifiers of the form win32* to w32*.
9959 9956
9960 * window.c (special-display-p, same-window-p): Add missing 9957 * window.c (special-display-p, same-window-p): Add missing
9961 newlines and backslashes in help strings. 9958 newlines and backslashes in help strings.
9962 9959
10097 1996-10-31 Erik Naggum <erik@naggum.no> 10094 1996-10-31 Erik Naggum <erik@naggum.no>
10098 10095
10099 Reorganize function definitions so etags finds them. 10096 Reorganize function definitions so etags finds them.
10100 * abbrev.c (Finsert_abbrev_table_description). 10097 * abbrev.c (Finsert_abbrev_table_description).
10101 * editfns.c (Finsert_and_inherit_before_markers). 10098 * editfns.c (Finsert_and_inherit_before_markers).
10102 * eval.c (Frun_hook_with_args, Frun_hook_with_args_until_success, 10099 * eval.c (Frun_hook_with_args, Frun_hook_with_args_until_success)
10103 Frun_hook_with_args_until_failure). 10100 (Frun_hook_with_args_until_failure).
10104 * window.c (Fcurrent_window_configuration). 10101 * window.c (Fcurrent_window_configuration).
10105 * xselect.c (Fx_own_selection_internal, Fx_get_selection_internal, 10102 * xselect.c (Fx_own_selection_internal, Fx_get_selection_internal)
10106 Fx_disown_selection_internal). 10103 (Fx_disown_selection_internal).
10107 10104
10108 1996-10-30 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 10105 1996-10-30 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
10109 10106
10110 * emacs.c (main): Clear out *Messages* before init_callproc. 10107 * emacs.c (main): Clear out *Messages* before init_callproc.
10111 10108
10209 (Fdisplay_buffer): Use them, instead of doing the work here. 10206 (Fdisplay_buffer): Use them, instead of doing the work here.
10210 (syms_of_window): Defsubr them. 10207 (syms_of_window): Defsubr them.
10211 10208
10212 1996-10-05 Marcus G. Daniels <marcus@coulee.tdb.com> 10209 1996-10-05 Marcus G. Daniels <marcus@coulee.tdb.com>
10213 10210
10214 * xfns.c (x_set_internal_border_width): Only change 10211 * xfns.c (x_set_internal_border_width): Only change
10215 an edit_widget's internal_border_width for the toolkit case. 10212 an edit_widget's internal_border_width for the toolkit case.
10216 10213
10217 1996-10-04 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> 10214 1996-10-04 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
10218 10215
10219 * lread.c (openp): Omit /: from start of file name. 10216 * lread.c (openp): Omit /: from start of file name.
10494 (update_frame): For determining when to wrap the cursor, use the 10491 (update_frame): For determining when to wrap the cursor, use the
10495 new macro FRAME_WINDOW_WIDTH instead of FRAME_WIDTH; they aren't 10492 new macro FRAME_WINDOW_WIDTH instead of FRAME_WIDTH; they aren't
10496 necessarily the same any more. 10493 necessarily the same any more.
10497 (change_frame_size_1): Use FRAME_WINDOW_WIDTH to check for changes. 10494 (change_frame_size_1): Use FRAME_WINDOW_WIDTH to check for changes.
10498 Give `set_window_width' the window width value. 10495 Give `set_window_width' the window width value.
10499 Use new macro SET_FRAME_WIDTH. 10496 Use new macro SET_FRAME_WIDTH.
10500 10497
10501 * xterm.h (VERTICAL_SCROLL_BAR_INSIDE_WIDTH): Add frame as an 10498 * xterm.h (VERTICAL_SCROLL_BAR_INSIDE_WIDTH): Add frame as an
10502 argument, and use it to decrease the width in the case of a 10499 argument, and use it to decrease the width in the case of a
10503 left-side scroll bar; this prevents the bar and adjacent text 10500 left-side scroll bar; this prevents the bar and adjacent text
10504 from scrunching together. 10501 from scrunching together.
10693 (syms_of_lread): staticpro read_objects, the list of read objects. 10690 (syms_of_lread): staticpro read_objects, the list of read objects.
10694 10691
10695 * print.c: Add #n=object, #n#, and #:symbol constructs to printer. 10692 * print.c: Add #n=object, #n#, and #:symbol constructs to printer.
10696 (PRINTDECLARE): New macro to declare required variables. 10693 (PRINTDECLARE): New macro to declare required variables.
10697 (PRINTPREPARE, PRINTFINISH): Set printed_genyms to nil. 10694 (PRINTPREPARE, PRINTFINISH): Set printed_genyms to nil.
10698 (Fwrite_char, write_string, write_string_1, Fterpri, Fprin1, 10695 (Fwrite_char, write_string, write_string_1, Fterpri, Fprin1)
10699 Fprin1_to_string, Fprinc, Fprint): Use new macro PRINTDECLARE. 10696 (Fprin1_to_string, Fprinc, Fprint): Use new macro PRINTDECLARE.
10700 (print): Print uninterned symbols readable. 10697 (print): Print uninterned symbols readable.
10701 (syms_of_print): Defvar `print-gensym', staticpro printed_gensyms. 10698 (syms_of_print): Defvar `print-gensym', staticpro printed_gensyms.
10702 10699
10703 1996-09-05 Karl Heuer <kwzh@gnu.ai.mit.edu> 10700 1996-09-05 Karl Heuer <kwzh@gnu.ai.mit.edu>
10704 10701
10808 10805
10809 1996-09-03 Paul Eggert <eggert@twinsun.com> 10806 1996-09-03 Paul Eggert <eggert@twinsun.com>
10810 10807
10811 * config.in (mktime): Define to emacs_mktime if we are using our own 10808 * config.in (mktime): Define to emacs_mktime if we are using our own
10812 mktime, since Nextstep doesn't let Emacs redefine the builtin mktime. 10809 mktime, since Nextstep doesn't let Emacs redefine the builtin mktime.
10813 * Makefile.in (MKTIME_OBJ): Use our mktime instead of NEXTSTEP's, 10810 * Makefile.in (MKTIME_OBJ): Use our mktime instead of NEXTSTEP's,
10814 since NEXTSTEP's wrongly ignores TZ. 10811 since NEXTSTEP's wrongly ignores TZ.
10815 (mktime): #undef, to avoid messing up the file name mktime.c. 10812 (mktime): #undef, to avoid messing up the file name mktime.c.
10816 * editfns.c (Fencode_time): Remove NEXTSTEP workaround; 10813 * editfns.c (Fencode_time): Remove NEXTSTEP workaround;
10817 we now use our mktime instead. 10814 we now use our mktime instead.
10818 10815
10819 1996-09-03 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> 10816 1996-09-03 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
10820 10817
10821 * process.c (create_process): Undo previous change. 10818 * process.c (create_process): Undo previous change.