comparison src/ChangeLog @ 863:42375619fa45

[xemacs-hg @ 2002-06-04 06:03:59 by andyp] merge 21.4 windows changes, minimally tested
author andyp
date Tue, 04 Jun 2002 06:05:53 +0000
parents 278c743f1578
children 613552a02607
comparison
equal deleted inserted replaced
862:278c743f1578 863:42375619fa45
1 2002-06-03 Andy Piper <andy@xemacs.org>
2
3 * frame.c (frame_conversion_internal): add conversion appropriate
4 for setting frame dimensions in pixels.
5
6 * console.h (struct console_methods): add device-specific widget
7 layout functions.
8
9 * emacs.c (main_1): initialize glyph vars.
10
11 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
12 (handle_focus_event_2): new function. Allow focus to
13 be set to a particular window and widget.
14 (enqueue_focus_event): new function. Create a
15 synthetic focus event.
16 (emacs_Xt_handle_magic_event): call
17 handle_focus_event_2.
18
19 * frame.c (Fset_frame_pixel_height): new function. Allow
20 pixel-based sizing. Does the right thing on character-oriented
21 displays.
22 (Fset_frame_pixel_width): ditto.
23 (Fset_frame_pixel_size): ditto.
24 (syms_of_frame): declare.
25
26 * general-slots.h: add :vertically-justify and
27 :horizontally-justify.
28
29 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
30 (mswindows_widget_border_width): new function.
31 (mswindows_combo_box_instantiate): set border widths.
32 (console_type_create_glyphs_mswindows): declare.
33
34 * glyphs-widget.c:
35 (check_valid_justification): allow vertical and horizontal
36 justification.
37 (widget_border_width): new function. Call device methods.
38 (widget_instance_border_width): ditto.
39 (logical_unit_height): new function. Determine the height of a
40 logical-unit. Logical units are intended to provide grid-like
41 layout for subcontrols in a layout. If the layout is
42 :vertically-justify top then subcontrols will be positioned on
43 logical-unit boundaries, thus allowing adjacent subcontrols to
44 line up.
45 (widget_logical_unit_height): ditto for widgets.
46 (redisplay_widget): misc cleanup.
47 (widget_spacing): new function. Call device specific
48 methods. Intended to be the default gap between adjacent widgets.
49 (widget_query_geometry): use new spacing functions to determine
50 appropriate geometry.
51 (initialize_widget_image_instance): initialize horizontal and
52 vertical justification.
53 (widget_instantiate): use logica-units where appropriate for
54 sizing large widgets.
55 (button_query_geometry): use widget_instance_border_width.
56 (tree_view_query_geometry): ditto.
57 (tab_control_query_geometry): ditto.
58 (edit_field_query_geometry): new function.
59 (layout_update): pick up :justify, :horizontally-justify and
60 :vertically-justify none of which worked previously. :justify is
61 used as a fallback for both horizontal and vertical justification.
62 (layout_query_geometry): use logical units to size appropriately.
63 (layout_layout): ditto.
64 (Fwidget_logical_to_character_width): new function. Allow users to
65 convert from logical units to characters so that frame sizes can
66 be set appropriately.
67 (Fwidget_logical_to_character_height): ditto.
68 (syms_of_glyphs_widget): declare.
69 (image_instantiator_edit_fields): add edit_field_query_geometry.
70 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
71 :horizontally-justify.
72 (specifier_vars_of_glyphs_widget): new function. Declare
73 Vwidget_border_width which is not yet used.
74
75 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
76 (x_widget_border_width): new function.
77 (x_widget_instantiate): create a sensible name for widgets.
78 (console_type_create_glyphs_x): declare x_widget_border_width.
79
80 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
81 (struct Lisp_Image_Instance): add :vertically-justify and
82 :horizontally-justify.
83 (LAYOUT_JUSTIFY_TOP): new.
84 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
85 (ROUND_UP): new macro. Round argument up to next integral
86 interval.
87
88 * redisplay-output.c (redisplay_output_layout): misc formatting.
89
90 * symsinit.h: declare specifier_vars_of_glyphs_widget.
91
92 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
93
94 * sysdep.c (sys_rename): Make sys_rename work for the case where
95 Windows rename sets errno to EACCES if target file exists.
96
97 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
98
99 * device-msw.c (mswindows_handle_page_setup_dialog_box):
100 Fix detection of metric units to work on Win95
101
102 2002-05-25 Andy Piper <andy@xemacs.org>
103
104 * select-x.c (vars_of_select_x): Fix docstring of
105 x-selection-strict-motif-ownership
106
107 2002-05-07 Nix <nix@esperi.demon.co.uk>
108
109 Supersedes 2002-04-17 patch.
110
111 * process.h (PROCESS_LIVE_P): Use the process status as
112 evidence of health, not the state of the input stream.
113 (PROCESS_READABLE_P): Say if the process is readable
114 from. (It may be dead nonetheless.)
115 (CHECK_READABLE_PROCESS): Test for that condition.
116
117 * process.c (create_process): Use PROCESS_READABLE_P.
118 (read_process_output, set_process_filter): Likewise.
119
120 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
121 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
122
123 This code is #if 0'd, this is not the time to add new functions:
124
125 * process.c (Fprocess_readable_p): Report readability status.
126 * process.c (Qprocess_readable_p): New, associated symbol...
127 * process.c (syms_of_process): ... initialize it.
128
129 2002-05-06 Andy Piper <andy@xemacs.org>
130
131 * process.h (PROCESS_LIVE_P): revert previous change because of
132 tty problems.
133
134 2002-04-27 Andy Piper <andy@xemacs.org>
135
136 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
137
138 2002-04-26 Andy Piper <andy@xemacs.org>
139
140 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
141 behavior.
142
143 * config.h.in: pull in 21.5.x change to stop alloca warnings under
144 cygwin.
145
1 2002-06-02 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> 146 2002-06-02 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
2 147
3 * process.c (remove_process): Don't invalidate the process marker 148 * process.c (remove_process): Don't invalidate the process marker
4 after the process has died to make point synchronization in 149 after the process has died to make point synchronization in
5 `call-process-internal' possible. 150 `call-process-internal' possible.
1665 * win32.c (mswindows_lisp_error_1): 1810 * win32.c (mswindows_lisp_error_1):
1666 * win32.c (Fmswindows_shell_execute): 1811 * win32.c (Fmswindows_shell_execute):
1667 * window.c (print_window): 1812 * window.c (print_window):
1668 * window.c (print_window_config): 1813 * window.c (print_window_config):
1669 * window.c (Fcurrent_pixel_column): 1814 * window.c (Fcurrent_pixel_column):
1670
1671 Another big Ben patch. 1815 Another big Ben patch.
1672 1816
1673 -- FUNCTIONALITY CHANGES: 1817 -- FUNCTIONALITY CHANGES:
1674 1818
1675 add partial support for 8-bit-fixed, 16-bit-fixed, and 1819 add partial support for 8-bit-fixed, 16-bit-fixed, and
1765 BYTE_BIG5* -> byte_big5* 1909 BYTE_BIG5* -> byte_big5*
1766 REP_BYTES_BY_FIRST_BYTE -> rep_bytes_by_first_byte 1910 REP_BYTES_BY_FIRST_BYTE -> rep_bytes_by_first_byte
1767 char_to_unicode -> emchar_to_unicode 1911 char_to_unicode -> emchar_to_unicode
1768 valid_char_p -> valid_emchar_p 1912 valid_char_p -> valid_emchar_p
1769 1913
1914 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
1915
1916 * sysdep.c (sys_siglist): change "signum" to "signal"
1917
1918 2001-04-21 Martin Buchholz <martin@xemacs.org>
1919
1920 * s/darwin.h: New file.
1921 Thanks to Greg Parker <gparker@cs.stanford.edu>.
1922
1923 2002-04-23 Andreas Jaeger <aj@suse.de>
1924
1925 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
1926 which use lib64 for 64-bit libs.
1927 (START_FILES): Likewise.
1928
1929 2002-02-11 Mike Sperber <mike@xemacs.org>
1930
1931 * device-x.c:
1932 (x_IO_error_handler):
1933 (x_init_device): Temporarily keep device in static variable
1934 `device_being_initialized' so we can recover gracefully from
1935 internal XOpenDevice failure. (XOpenDevice is documented to
1936 return NULL on failure, but sometimes calls the IO error handler
1937 instead.)
1938
1939 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
1940
1941 * dired.c (Ffile_name_all_completions): Change documentation --
1942 remove reference to completion-ignored-extensions.
1943 * dired.c (vars_of_dired): Change documentation for
1944 completion-ignored-extensions -- remove reference to
1945 file-name-all-completions.
1946
1947 2002-03-06 Jerry James <james@xemacs.org>
1948
1949 * emodules.c (emodules_load): Fix multiple loading of same module.
1950
1951 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
1952 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
1953 RTLD_LAZY to avoid incorrect symbol binding when using nested
1954 shared libraries on Solaris.
1955
1956 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
1957
1958 * fileio.c (Ffind_file_name_handler): Improve docstring.
1959
1960 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
1961
1962 * fns.c (Fmapconcat): Improve docstring.
1963
1964 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
1965
1966 * device-gtk.c: Add prototype for
1967 emacs_gtk_selection_clear_event_handle.
1968 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
1969 selection. Setup signal handler for "selection_clear_event"
1970 (emacs_gtk_selection_clear_event_handle).
1971
1972 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
1973 other applications owning the clipboard (based on
1974 x_handle_selection_clear).
1975
1976 2001-12-23 William M. Perry <wmperry@gnu.org>
1977
1978 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
1979
1980 2002-01-04 Martin Buchholz <martin@xemacs.org>
1981
1982 * keymap.c (define_key_alternate_name): Parenthesize EQ.
1983
1984 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
1985
1986 * XEmacs 21.4.6 "Common Lisp" is released.
1987
1770 Change intbyte_strcmp -> qxestrcmp_c (duplicated functionality). 1988 Change intbyte_strcmp -> qxestrcmp_c (duplicated functionality).
1771 1989
1772 -- INTERFACE CHANGES AFFECTING LESS CODE: 1990 -- INTERFACE CHANGES AFFECTING LESS CODE:
1773 1991
1774 use DECLARE_INLINE_HEADER in various places. 1992 use DECLARE_INLINE_HEADER in various places.
1894 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if 2112 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
1895 we did in fact enqueue the XM_MAPFRAME event. 2113 we did in fact enqueue the XM_MAPFRAME event.
1896 2114
1897 2002-02-06 Adrian Aichner <adrian@xemacs.org> 2115 2002-02-06 Adrian Aichner <adrian@xemacs.org>
1898 2116
2117 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
2118 operation.
2119 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
2120 before replacing them.
2121
1899 * redisplay.c (mark_redisplay): Remove call to 2122 * redisplay.c (mark_redisplay): Remove call to
1900 update_frame_window_mirror. 2123 update_frame_window_mirror.
2124
2125 * src/window.c (undedicate_windows): Use it.
2126 * src/window.h: Add prototype.
1901 2127
1902 2002-01-03 Andy Piper <andy@xemacs.org> 2128 2002-01-03 Andy Piper <andy@xemacs.org>
1903 2129
1904 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive 2130 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
1905 letters. 2131 letters.
11136 11362
11137 * m\powerpc.h: removed stray NO_ARG_ARRAY. 11363 * m\powerpc.h: removed stray NO_ARG_ARRAY.
11138 11364
11139 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org> 11365 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
11140 11366
11141 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground 11367 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
11142 color if the image is a mono pixmap. 11368 color if the image is a mono pixmap.
11143 11369
11144 2000-07-30 Ben Wing <ben@xemacs.org> 11370 2000-07-30 Ben Wing <ben@xemacs.org>
11145 11371
11146 * Makefile.in.in (release): 11372 * Makefile.in.in (release):
11147 Remove stray @. 11373 Remove stray @.
11784 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp. 12010 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
11785 12011
11786 * buffer.c (Fget_file_buffer): 12012 * buffer.c (Fget_file_buffer):
11787 Fixed GCPRO problem. 12013 Fixed GCPRO problem.
11788 12014
11789 * buffer.c (get_truename_buffer): 12015 * glyphs-msw.c (bmp_normalize):
11790 Fixed comment about GC checking. 12016 (mswindows_resource_normalize): add dest_mask so that it can be
12017 proprogated by layout_normalize.
12018 (begin_defer_window_pos): make optional because it may not be the
12019 right thing to do and it introduces differences with X.
12020 (mswindows_unmap_subwindow): ditto.
12021 (mswindows_map_subwindow): ditto.
12022 (mswindows_redisplay_subwindow): renamed from
12023 mswindows_update_subwindow.
12024 (mswindows_redisplay_widget): ditto.
12025 (mswindows_button_redisplay): renamed from
12026 mswindows_button_update. Update is now what the instantiation
12027 function does for a changed instantiator.
12028 (mswindows_progress_gauge_instantiate): set the progress value
12029 here if appropriate.
12030 (mswindows_tab_control_redisplay): cope with re-ordering of the
12031 members of the tab widget by simply selecting the new top
12032 widget. This makes things appear ok if you click on a tab.
12033 (mswindows_combo_box_instantiate): image_instance_layout now takes
12034 position as well as size.
12035 (mswindows_progress_gauge_redisplay): renamed from
12036 mswindows_progress_gauge_update.
12037 (console_type_create_glyphs_mswindows): fix update -> redisplay.
12038 (image_instantiator_format_create_glyphs_mswindows): ditto.
12039
12040 * glyphs-eimage.c (jpeg_normalize):
12041 (gif_normalize):
12042 (png_normalize):
12043 (tiff_normalize): add dest_mask so that it can be proprogated by
12044 layout_normalize.
12045
12046 * elhash.c:
12047 (print_hash_table):
12048 (hash_table_weakness_validate):
12049 (decode_hash_table_weakness):
12050 (Fhash_table_weakness):
12051 (Fhash_table_type):
12052 (syms_of_elhash): use Ben's naming scheme for hashtable types..
12053
12054 * console.h (struct console_methods): move update_* to
12055 redisplay_*.
12056
12057 2000-07-20 Ben Wing <ben@xemacs.org>
12058
12059 * *.[ch] (XSETOBJ): remove unused middle argument.
12060 lisp-disunion.h: correct wrap_object() to one argument.
12061
12062 2000-07-15 Ben Wing <ben@xemacs.org>
12063
12064 * s/cygwin32.h:
12065 * s/cygwin32.h (CYGWIN_CONV_PATH):
12066 Add missing logb prototype for v1.1.
12067 Use post-b20 names and alias to pre-b20 names when pre-b20.
12068
12069 * s/windowsnt.h: [5].
12070
12071 2000-07-15 Ben Wing <ben@xemacs.org>
12072
12073 * Makefile.in.in (x_objs):
12074 * Makefile.in.in (sheap_objs):
12075 * Makefile.in.in (objs):
12076 added win32.o, cosmetic cleanups.
12077
12078 * alloc.c (Fmake_byte_code):
12079 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
12080 etc. macros which declare their own args now.
12081
12082 * alloc.c (syms_of_alloc):
12083 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
12084
12085 * buffer.c:
12086 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
12087
12088 * buffer.c (Fget_file_buffer):
12089 Fixed GCPRO problem.
12090
12091 * buffer.c (get_truename_buffer):
12092 Fixed comment about GC checking.
12093
12094 * buffer.c (syms_of_buffer):
12095 Undeclared those dedicated frame funs.
12096 [2].
12097
12098 * buffer.h:
12099 Define convenience macros for internal/external conversions.
12100 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
12101 and Qenvironment_variable_encoding for cleaner code.
12102
12103 * bufslots.h:
12104 Remove dedicated-frame; in lisp.
12105
12106 * bytecode.c (funcall_compiled_function):
12107 [1].
12108
12109 * bytecode.c (syms_of_bytecode):
12110 [2].
12111
12112 * console-msw.c:
12113 * console-msw.c (mswindows_show_console): Rewrote.
12114
12115 * console-msw.c (Fmswindows_debugging_output): New.
12116 Sends to OutputDebugString (special MSWin debugger interface).
12117
12118 * console-msw.c (Fmswindows_message_box):
12119 Fixed stupid bugs so it works when called from kill-emacs.
12120
12121 * console-msw.c (syms_of_console_mswindows):
12122 Declare Fmswindows_debugging_output.
12123
12124 * console-msw.h:
12125 New MSWin prototypes.
12126
12127 * console-msw.h (struct mswindows_frame):
12128 New entry last-click-mods for improved button-modifier support.
12129
12130 * console-msw.h (FRAME_MSWINDOWS_POPUP):
12131 New struct entry `popup' with corresponding accessor.
12132
12133 * console-x.c:
12134 * console-x.c (split_up_display_spec):
12135 * console-x.c (get_display_arg_connection):
12136 * console-x.c (x_semi_canonicalize_console_connection):
12137 * console-x.c (x_canonicalize_device_connection):
12138 [[[6]]]: Change char to more specific type.
12139 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
12140
12141 * console-x.c (x_semi_canonicalize_console_connection):
12142 * console-x.c (x_canonicalize_device_connection):
12143 [[[9]]]: Fix up error signalling to use new structured error system.
12144
12145 * console-x.h:
12146 [[[4]]]: Define codesys aliases:
12147 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
12148 Qx_color_name_encoding, Qx_display_name_encoding.
12149
12150 * console.h (struct console_methods):
12151 New method make_dialog_box_internal supersedes older
12152 popup_dialog_box method.
12153
12154 * data.c:
12155 Define many new errors, part of new structured errors.
12156
12157 * data.c (init_errors_once_early):
12158 * data.c (syms_of_data):
12159 [2].
12160
12161 * device-msw.c (mswindows_init_device):
12162 [[[5]]]: Cleanup to support NT 3.51.
12163
12164 * device-msw.c (decode_devmode): Cleanup.
12165
12166 * device-msw.c (mswindows_handle_print_setup_dialog_box):
12167 * device-msw.c (mswindows_handle_print_dialog_box):
12168 * device-msw.c (mswindows_handle_page_setup_dialog_box):
12169 * device-msw.c (syms_of_device_mswindows):
12170 Delete the dialog box primitives recently introduced by Kirill and
12171 instead interface to general dialog box interface.
12172
12173 * device-x.c:
12174 * device-x.c (compute_x_app_name):
12175 * device-x.c (x_init_device):
12176 * device-x.c (Fx_valid_keysym_name_p):
12177 * device-x.c (Fx_set_font_path):
12178 [6].
12179 [7].
12180
12181 * device.h (wrap_device): New.
12182 First of its kind; meant to replace XSETDEVICE.
12183
12184 * dialog-msw.c: Many file-dialog symbols.
12185
12186 * dialog-msw.c (mswindows_register_popup_frame): New.
12187 * dialog-msw.c (mswindows_is_dialog_msg): New.
12188 For supporting kbd traversal in dialog boxes.
12189
12190 * dialog-msw.c (dialog_proc):
12191 Support hitting ESC in dialogs.
12192
12193 * dialog-msw.c (struct):
12194 Common dialog box errors.
12195
12196 * dialog-msw.c (handle_file_dialog_box): New.
12197 Add file dialog code.
12198
12199 * dialog-msw.c (handle_question_dialog_box):
12200 Redo existing code to support new question dialog syntax.
12201
12202 * dialog-msw.c (console_type_create_dialog_mswindows):
12203 We support new dialog console method.
12204
12205 * dialog-msw.c (syms_of_dialog_mswindows):
12206 * dialog-msw.c (vars_of_dialog_mswindows):
12207 New file dialog symbols, vars.
12208
12209 * dialog-x.c:
12210 * dialog-x.c (maybe_run_dbox_text_callback):
12211 * dialog-x.c (dbox_descriptor_to_widget_value):
12212 * dialog-x.c (x_make_dialog_box_internal):
12213 * dialog-x.c (console_type_create_dialog_x):
12214 Mule-ize entire file.
12215 Redo to support question dialog syntax.
12216 [6].
12217
12218 * dialog.c:
12219 * dialog.c (Fmake_dialog_box_internal):
12220 * dialog.c (syms_of_dialog):
12221 Kill old popup-dialog-box, replace with new primitive.
12222 Just call device method or signal error.
12223
12224 * eldap.c (Fldap_open):
12225 * eldap.c (Fldap_search_basic):
12226 * eldap.c (Fldap_add):
12227 * eldap.c (Fldap_modify):
12228 [1].
12229 [7].
12230
12231 * emacs.c:
12232 * emacs.c (make_arg_list_1):
12233 * emacs.c (make_arg_list):
12234 Mule-ize call to dll_init().
12235 [6].
12236 [8].
12237
12238 * emacs.c (make_argc_argv):
12239 * emacs.c (free_argc_argv):
12240 * emacs.c (init_cmdargs):
12241 * emacs.c (main_1):
12242 * emacs.c (Fkill_emacs):
12243 * emacs.c (Fdump_emacs):
12244 Update comments about what can be used in syms_* etc.
12245 Call init_win32() when necessary.
12246 Fix up MS Win dialog box in kill-buffer to actually work right.
12247 [7].
12248
12249 * eval.c:
12250 * eval.c (For):
12251 * eval.c (Fand):
12252 * eval.c (Fprogn):
12253 * eval.c (Fprog1):
12254 * eval.c (Fprog2):
12255 * eval.c (FletX):
12256 * eval.c (Flet):
12257 * eval.c (condition_case_3):
12258 * eval.c (Feval):
12259 * eval.c (function_argcount):
12260 * eval.c (funcall_lambda):
12261 [1].
12262
12263 * eval.c (type_error): New.
12264 * eval.c (maybe_type_error): New.
12265 * eval.c (continuable_type_error): New.
12266 * eval.c (maybe_continuable_type_error): New.
12267 * eval.c (type_error_with_frob): New.
12268 * eval.c (maybe_type_error_with_frob): New.
12269 * eval.c (continuable_type_error_with_frob): New.
12270 * eval.c (maybe_continuable_type_error_with_frob): New.
12271 New functions for use with structured errors.
12272
12273 * event-Xt.c:
12274 * event-Xt.c (x_event_to_emacs_event):
12275 Buttons are now modifiers too.
12276
12277 * event-Xt.c (emacs_Xt_current_event_timestamp):
12278 Implement new event method.
12279 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
12280
12281 * event-msw.c:
12282 * event-msw.c (ntpipe_shove_writer): [5].
12283 * event-msw.c (mswindows_enqueue_mouse_button_event):
12284 * event-msw.c (mswindows_drain_windows_queue):
12285 * event-msw.c (mswindows_wnd_proc): [7].
12286 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
12287 * event-msw.c (mswindows_modifier_state):
12288 Throughout: support new button modifiers.
12289
12290 * event-msw.c (emacs_mswindows_current_event_timestamp):
12291 Implement new event method.
12292 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
12293
12294 * event-stream.c:
12295 * event-stream.c (event_stream_current_event_timestamp): New.
12296 * event-stream.c (maybe_kbd_translate): New functionality.
12297 * event-stream.c (vars_of_event_stream):
12298 Document new kbd-translate-table functionality.
12299
12300 * event-stream.c (Fcurrent_event_timestamp): New.
12301 New primitive for use in fabricated events.
12302 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
12303
12304 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
12305
12306 * events.c:
12307 * events.c (Fmake_event):
12308 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
12309 [1].
12310 [9].
12311
12312 * events.c (format_event_object): fix gcc warnings.
12313
12314 * events.c (Fevent_timestamp): Document new primitives.
12315
12316 * events.c (TIMESTAMP_HALFSPACE): New.
12317
12318 * events.c (Fevent_timestamp_lessp): New. New primitive for
12319 comparing timestamps correctly (half-space algorithm).
12320
12321 * events.c (Fevent_modifier_bits): Doc fix.
12322
12323 * buffer.c (get_truename_buffer): Fixed comment about GC
12324 checking.
12325
12326 * events.c (Fevent_modifiers): Major doc addition.
12327 * events.c (event_x_y_pixel_internal): Typo fix.
12328 * events.c (syms_of_events): Declare new primitives.
11791 12329
11792 * buffer.c (syms_of_buffer): 12330 * buffer.c (syms_of_buffer):
11793 Undeclared those dedicated frame funs. 12331 Undeclared those dedicated frame funs.
11794 [2]. 12332 [2].
11795 12333
12220 Add new types for char to indicate usage. 12758 Add new types for char to indicate usage.
12221 Delete symbols auto-generated from general-slots.h. 12759 Delete symbols auto-generated from general-slots.h.
12222 Add prototypes for structured error functions. 12760 Add prototypes for structured error functions.
12223 Add long comments describing looping macros and change interface 12761 Add long comments describing looping macros and change interface
12224 so that lvalues are automatically declared. 12762 so that lvalues are automatically declared.
12763
12764 * events.h:
12765 Update long comment for button modifiers, timestamps.
12766
12767 * events.h (struct event_stream):
12768 New current_event_timestamp method.
12769
12770 * extents.c:
12771 * extents.c (extent_in_region_p):
12772 * extents.c (decode_extent):
12773 * extents.c (Fset_extent_parent):
12774 * extents.c (decode_map_extents_flags):
12775 Fix gcc warnings.
12776 [9].
12777
12778 * extents.c (struct extent_at_arg):
12779 * extents.c (decode_extent_at_flag):
12780 * extents.c (extent_at_mapper):
12781 * extents.c (extent_at_bytind):
12782 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
12783 * extents.c (Fextents_at): New primitive. [9].
12784 * extents.c (symbol_to_glyph_layout): [9].
12785 Support new primitive `extents-at'.
12786
12787
12788 * extents.c (get_text_property_bytind):
12789 extent_at_bytind has another arg.
12790 [9].
12791
12792 * extents.c (syms_of_extents): New primitive.
12793
12794 * file-coding.c (Fmake_coding_system): [1].
12795 * file-coding.c (subsidiary_coding_system): fix gcc warning
12796 * file-coding.c (syms_of_file_coding): [2].
12797
12798 * fileio.c (Fexpand_file_name):
12799 * fileio.c (Fsysnetunam):
12800 * fileio.c (Ffile_exists_p):
12801 * fileio.c (Ffile_executable_p):
12802 * fileio.c (Fverify_visited_file_modtime):
12803 Clean up GCPROing.
12804
12805 * fileio.c (syms_of_fileio): [2].
12806
12807 * filelock.c (lock_file_1):
12808 * filelock.c (current_lock_owner):
12809 * filelock.c (lock_if_free):
12810 * filelock.c (lock_file):
12811 * filelock.c (unlock_file):
12812 Clean up GCPROing.
12813
12814 * fns.c (concat): Fix gcc warning.
12815
12816 * fns.c (Fmember):
12817 * fns.c (Fold_member):
12818 * fns.c (Fmemq):
12819 * fns.c (Fold_memq):
12820 * fns.c (memq_no_quit):
12821 * fns.c (Fassoc):
12822 * fns.c (Fold_assoc):
12823 * fns.c (Fassq):
12824 * fns.c (Fold_assq):
12825 * fns.c (assq_no_quit):
12826 * fns.c (Frassoc):
12827 * fns.c (Fold_rassoc):
12828 * fns.c (Frassq):
12829 * fns.c (Fold_rassq):
12830 * fns.c (rassq_no_quit):
12831 * fns.c (Fdelete):
12832 * fns.c (Fold_delete):
12833 * fns.c (Fdelq):
12834 * fns.c (Fold_delq):
12835 * fns.c (delq_no_quit):
12836 * fns.c (Fremassoc):
12837 * fns.c (Fremassq):
12838 * fns.c (remassq_no_quit):
12839 * fns.c (Fremrassoc):
12840 * fns.c (Fremrassq):
12841 * fns.c (remrassq_no_quit):
12842 * fns.c (Freverse):
12843 * fns.c (mapcar1):
12844 [1].
12845
12846 * frame-msw.c (mswindows_init_frame_1):
12847 * frame-msw.c (mswindows_delete_frame):
12848 Register popups with dialog code so keyboard traversing works.
12849
12850 * frame-tty.c (tty_raise_frame_no_select): [1].
12851
12852 * frame-x.c:
12853 * frame-x.c (x_set_frame_text_value):
12854 * frame-x.c (x_set_frame_properties):
12855 * frame-x.c (x_create_widgets):
12856 [7].
12857
12858 * frame.c:
12859 * frame.c (Fmouse_pixel_position): Minor doc fixes.
12860
12861 * frame.h (wrap_frame): New.
12862 Macro like wrap_device.
12863
12864 * general.c:
12865 * general.c (SYMBOL):
12866 * general.c (syms_of_general):
12867 Major reorg. This is now just a wrapper and symbols themselves
12868 are listed in general-slots.h.
12869
12870 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
12871 * glyphs-msw.c (mswindows_resource_instantiate): [5].
12872
12873 * glyphs-msw.c (mswindows_native_layout_instantiate):
12874 Add DS_CONTROL so keyboard traversal will work.
12875
12876 * glyphs-widget.c:
12877 * glyphs-widget.c (syms_of_glyphs_widget):
12878 Move some symbols to general-slots.h.
12879
12880 * glyphs-x.c:
12881 * glyphs-x.c (xbm_instantiate_1):
12882 * glyphs-x.c (x_xbm_instantiate):
12883 * glyphs-x.c (x_xface_instantiate):
12884 * glyphs-x.c (autodetect_instantiate):
12885 * glyphs-x.c (cursor_font_instantiate):
12886 * glyphs-x.c (x_update_widget):
12887 * glyphs-x.c (x_widget_instantiate):
12888 * glyphs.c (bitmap_to_lisp_data):
12889 * glyphs.c (pixmap_to_lisp_data):
12890 [7].
12891
12892 * glyphs.c (syms_of_glyphs):
12893 [2].
12894
12895 * gui-x.c:
12896 * gui-x.c (print_widget_value):
12897 * gui-x.c (menu_separator_style_and_to_external):
12898 * gui-x.c (add_accel_and_to_external):
12899 * gui-x.c (button_item_to_widget_value):
12900 * gui-x.c (gui_items_to_widget_values_1):
12901 * gui-x.c (gui_items_to_widget_values):
12902 * gui-x.c (syms_of_gui_x):
12903 * gui-x.c (vars_of_gui_x):
12904 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
12905 [9].
12906
12907 * gui-x.h:
12908 Muleize, prototype changes matching gui-x.c.
12909
12910 * gui.c:
12911 * gui.c (separator_string_p):
12912 * gui.c (gui_item_add_keyval_pair):
12913 * gui.c (make_gui_item_from_keywords_internal):
12914 * gui.c (signal_too_long_error):
12915 * gui.c (parse_gui_item_tree_item):
12916 * gui.c (syms_of_gui):
12917 * gui.c (vars_of_gui):
12918 * gui.h:
12919 menu-no-selection-hook moved here (used by MSWin).
12920 Move some symbols to general-slots.h.
12921 [6].
12922 [9].
12923
12924 * insdel.c (get_buffer_pos_char):
12925 * insdel.c (get_buffer_range_char):
12926 Add GC comments.
12927
12928 * keymap.c (keymap_lookup_directly):
12929 * keymap.c (keymap_store):
12930 * keymap.c (ensure_meta_prefix_char_keymapp):
12931 * keymap.c (describe_map):
12932 * keymap.h:
12933 Support new button modifiers.
12934
12935 * lisp-disunion.h (wrap_object):
12936 * lisp-disunion.h (XSETOBJ):
12937 Rename make_obj to wrap_object.
12938
12939 * lisp-union.h:
12940 * lisp-union.h (make_int):
12941 * lisp-union.h (make_char):
12942 Support wrap_object.
12943
12944 * lisp.h:
12945 * lisp.h (LIST_LOOP):
12946 * lisp.h (EXTERNAL_LIST_LOOP):
12947 * lisp.h (LIST_LOOP_2):
12948 * lisp.h (EXTERNAL_LIST_LOOP_1):
12949 * lisp.h (EXTERNAL_LIST_LOOP_2):
12950 * lisp.h (EXTERNAL_LIST_LOOP_3):
12951 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
12952 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
12953 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
12954 * lisp.h (EXTERNAL_ALIST_LOOP_5):
12955 * lisp.h (EXTERNAL_ALIST_LOOP_6):
12956 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
12957 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
12958 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
12959 * lisp.h (struct Lisp_Symbol):
12960 * lisp.h (maybe_continuable_error_with_frob):
12961 Fix up section comments.
12962 Add new types for char to indicate usage.
12963 Delete symbols auto-generated from general-slots.h.
12964 Add prototypes for structured error functions.
12965 Add long comments describing looping macros and change interface
12966 so that lvalues are automatically declared.
12225 Add NO_DECLARE macro in case callers want to declare lvalues 12967 Add NO_DECLARE macro in case callers want to declare lvalues
12226 themselves. 12968 themselves.
12227 12969
12228 * lread.c (read_syntax_error): 12970 * lread.c (read_syntax_error):
12229 * lread.c (continuable_read_syntax_error): 12971 * lread.c (continuable_read_syntax_error):
12230 * lread.c (read_structure): 12972 * lread.c (read_structure):
12231 * lread.c (sequence_reader): 12973 * lread.c (sequence_reader):
12232 * lread.c (read_list_conser): 12974 * lread.c (read_list_conser):
12233 * lread.c (read_compiled_function): 12975 * lread.c (read_compiled_function):
12234 Rename syntax_error and continuable_syntax_error to avoid clash 12976 Rename syntax_error and continuable_syntax_error to avoid clash
12235 with same-named structured error functions. 12977 with same-named structured error functions.
12236 12978
12237 * menubar-msw.c (mswindows_translate_menu_or_dialog_item): 12979 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12238 * menubar-msw.c (populate_menu_add_item): 12980 * menubar-msw.c (populate_menu_add_item):
12239 * menubar-msw.c (populate_or_checksum_helper): 12981 * menubar-msw.c (populate_or_checksum_helper):
12240 [5]. 12982 [5].
12241 [9]. 12983 [9].
12242 12984
12243 * menubar-x.c: 12985 * menubar-x.c:
12244 * menubar-x.c (menu_item_descriptor_to_widget_value_1): 12986 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12245 Mule-ize whole file. 12987 Mule-ize whole file.
12246 12988
12247 * menubar.c (Fnormalize_menu_item_name): Add optimization. 12989 * menubar.c (Fnormalize_menu_item_name): Add optimization.
12248 12990
12249 * mule-charset.c (Fmake_charset): 12991 * mule-charset.c (Fmake_charset):
12250 * mule-wnnfns.c (Fwnn_set_param): 12992 * mule-wnnfns.c (Fwnn_set_param):
12251 [1]. 12993 [1].
12252 12994
12253 * ntproc.c (create_child): 12995 * ntproc.c (create_child):
12254 * ntproc.c (Fwin32_set_current_locale): 12996 * ntproc.c (Fwin32_set_current_locale):
12255 Add comments portending doom. 12997 Add comments portending doom.
12256 12998
12257 * objects-msw.c: 12999 * objects-msw.c:
12258 * objects-msw.c (old_font_enum_callback_2): 13000 * objects-msw.c (old_font_enum_callback_2):
12259 * objects-msw.c (font_enum_callback_1): 13001 * objects-msw.c (font_enum_callback_1):
12260 * objects-msw.c (mswindows_enumerate_fonts): 13002 * objects-msw.c (mswindows_enumerate_fonts):
12261 [5]. 13003 [5].
12262 13004
12263 * objects-x.c: 13005 * objects-x.c:
12264 * objects-x.c (allocate_nearest_color): 13006 * objects-x.c (allocate_nearest_color):
12265 * objects-x.c (x_parse_nearest_color): 13007 * objects-x.c (x_parse_nearest_color):
12266 * objects-x.c (x_initialize_color_instance): 13008 * objects-x.c (x_initialize_color_instance):
12267 * objects-x.c (x_print_color_instance): 13009 * objects-x.c (x_print_color_instance):
12268 * objects-x.c (x_finalize_color_instance): 13010 * objects-x.c (x_finalize_color_instance):
12269 * objects-x.c (x_valid_color_name_p): 13011 * objects-x.c (x_valid_color_name_p):
12270 * objects-x.c (x_initialize_font_instance): 13012 * objects-x.c (x_initialize_font_instance):
12271 * objects-x.c (x_print_font_instance): 13013 * objects-x.c (x_print_font_instance):
12272 * objects-x.c (valid_x_font_name_p): 13014 * objects-x.c (valid_x_font_name_p):
12273 * objects-x.c (truename_via_FONT_prop): 13015 * objects-x.c (truename_via_FONT_prop):
12274 * objects-x.c (truename_via_random_props): 13016 * objects-x.c (truename_via_random_props):
12275 * objects-x.c (truename_via_XListFonts): 13017 * objects-x.c (truename_via_XListFonts):
12276 * objects-x.c (x_font_truename): 13018 * objects-x.c (x_font_truename):
12277 * objects-x.c (x_font_instance_truename): 13019 * objects-x.c (x_font_instance_truename):
12278 * objects-x.c (x_font_instance_properties): 13020 * objects-x.c (x_font_instance_properties):
12279 * objects-x.c (x_list_fonts): 13021 * objects-x.c (x_list_fonts):
12280 * objects-x.c (x_find_charset_font): 13022 * objects-x.c (x_find_charset_font):
12281 Mule-ize entire file. 13023 Mule-ize entire file.
12282 [7]. 13024 [7].
12283 13025
12284 * objects-x.h: 13026 * objects-x.h:
12285 Mule-verify. 13027 Mule-verify.
12286 13028
12287 * print.c: 13029 * print.c:
12288 * print.c (std_handle_out_external): 13030 * print.c (std_handle_out_external):
12289 * print.c (debug_print_no_newline): 13031 * print.c (debug_print_no_newline):
12290 * print.c (syms_of_print): 13032 * print.c (syms_of_print):
12291 Output to all debugger kinds in debug-print. 13033 Output to all debugger kinds in debug-print.
12292 Fix console-output code under MSWin to actually work. 13034 Fix console-output code under MSWin to actually work.
12293 13035
12294 * process-nt.c (send_signal): 13036 * process-nt.c (send_signal):
12295 * process-nt.c (nt_create_process): 13037 * process-nt.c (nt_create_process):
12296 Use newer Unicode macros. 13038 Use newer Unicode macros.
12297 13039
12298 * process-unix.c (unix_create_process): 13040 * process-unix.c (unix_create_process):
12299 * process-unix.c (unix_canonicalize_host_name): 13041 * process-unix.c (unix_canonicalize_host_name):
12300 * process-unix.c (unix_open_network_stream): 13042 * process-unix.c (unix_open_network_stream):
12301 [7]. 13043 [7].
12302 13044
12303 * scrollbar-x.c: 13045 * scrollbar-x.c:
12304 Mule-verify. 13046 Mule-verify.
12305 13047
12306 * search.c (syms_of_search): 13048 * search.c (syms_of_search):
12307 [2]. 13049 [2].
12308 13050
12309 * select-msw.c (mswindows_destroy_selection): 13051 * select-msw.c (mswindows_destroy_selection):
12310 Use LIST_LOOP_2. 13052 Use LIST_LOOP_2.
12311 13053
12312 * select-x.c (symbol_to_x_atom): 13054 * select-x.c (symbol_to_x_atom):
12313 [7]. 13055 [7].
12314 13056
12315 * select.c (syms_of_select): 13057 * select.c (syms_of_select):
12316 [2]. 13058 [2].
12317 13059
12318 * sound.c (Fplay_sound_file): 13060 * sound.c (Fplay_sound_file):
12319 [7]. 13061 [7].
12320 13062
12321 * specifier.c: 13063 * specifier.c:
12322 * specifier.c (decode_specifier_type): 13064 * specifier.c (decode_specifier_type):
12323 * specifier.c (Fvalid_specifier_locale_type_p): 13065 * specifier.c (Fvalid_specifier_locale_type_p):
12324 * specifier.c (check_valid_locale_or_locale_type): 13066 * specifier.c (check_valid_locale_or_locale_type):
12325 * specifier.c (decode_locale): 13067 * specifier.c (decode_locale):
12326 * specifier.c (decode_locale_type): 13068 * specifier.c (decode_locale_type):
12327 * specifier.c (decode_locale_list): 13069 * specifier.c (decode_locale_list):
12328 * specifier.c (check_valid_domain): 13070 * specifier.c (check_valid_domain):
12329 * specifier.c (decode_specifier_tag_set): 13071 * specifier.c (decode_specifier_tag_set):
12330 * specifier.c (Fcanonicalize_tag_set): 13072 * specifier.c (Fcanonicalize_tag_set):
12331 * specifier.c (Fdefine_specifier_tag): 13073 * specifier.c (Fdefine_specifier_tag):
12332 * specifier.c (Fspecifier_tag_predicate): 13074 * specifier.c (Fspecifier_tag_predicate):
12333 * specifier.c (check_valid_inst_list): 13075 * specifier.c (check_valid_inst_list):
12334 * specifier.c (check_valid_spec_list): 13076 * specifier.c (check_valid_spec_list):
12335 * specifier.c (decode_how_to_add_specification): 13077 * specifier.c (decode_how_to_add_specification):
12336 * specifier.c (check_modifiable_specifier): 13078 * specifier.c (check_modifiable_specifier):
12337 * specifier.c (specifier_add_spec): 13079 * specifier.c (specifier_add_spec):
12338 * specifier.c (boolean_validate): 13080 * specifier.c (boolean_validate):
12339 * specifier.c (display_table_validate): 13081 * specifier.c (display_table_validate):
12340 [9]. 13082 [9].
12341 13083
12342 * specifier.c (syms_of_specifier): 13084 * specifier.c (syms_of_specifier):
12343 Move some symbols to general-slots.h. 13085 Move some symbols to general-slots.h.
12344 [2]. 13086 [2].
12345 13087
12346 * symbols.c: 13088 * symbols.c:
12347 * symbols.c (Fmapatoms): 13089 * symbols.c (Fmapatoms):
12348 * symbols.c (Fapropos_internal): 13090 * symbols.c (Fapropos_internal):
12349 Add GCPROs. 13091 Add GCPROs.
12350 13092
12351 * symbols.c (set_default_buffer_slot_variable): 13093 * symbols.c (set_default_buffer_slot_variable):
12352 * symbols.c (set_default_console_slot_variable): 13094 * symbols.c (set_default_console_slot_variable):
12353 [1]. 13095 [1].
12354 13096
12355 * symbols.c (defsymbol_massage_name_1): 13097 * symbols.c (defsymbol_massage_name_1):
12356 * symbols.c (defkeyword_massage_name): 13098 * symbols.c (defkeyword_massage_name):
12357 * symbols.c (deferror_1): 13099 * symbols.c (deferror_1):
12358 * symbols.c (deferror): 13100 * symbols.c (deferror):
12359 * symbols.c (deferror_massage_name_and_message): 13101 * symbols.c (deferror_massage_name_and_message):
12360 * symeval.h: 13102 * symeval.h:
12361 * symeval.h (DEFSYMBOL): 13103 * symeval.h (DEFSYMBOL):
12362 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR 13104 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12363 13105
12364 * symbols.c (syms_of_symbols): 13106 * symbols.c (syms_of_symbols):
12365 [2]. 13107 [2].
12366 13108
12367 * symsinit.h: 13109 * symsinit.h:
12368 * symsinit.h (init_win32): New. 13110 * symsinit.h (init_win32): New.
12369 Also new is syms_of_dialog_mswindows. 13111 Also new is syms_of_dialog_mswindows.
12370 13112
12371 * syswindows.h: 13113 * syswindows.h:
12372 Add new Unicode macros, missing Cygwin wide-char functions, 13114 Add new Unicode macros, missing Cygwin wide-char functions,
12373 convenience conversion macros for Qmswindows_tstr, macros for 13115 convenience conversion macros for Qmswindows_tstr, macros for
12374 encapsulating required MSWin <-> Cygwin filename conversions, 13116 encapsulating required MSWin <-> Cygwin filename conversions,
12375 prototype for dynamically-extracted (not in NT 3.51) functions. 13117 prototype for dynamically-extracted (not in NT 3.51) functions.
12376 13118
12377 * toolbar-x.c: 13119 * toolbar-x.c:
12378 Mule-verify. 13120 Mule-verify.
12379 13121
12380 * tooltalk.c (Fadd_tooltalk_message_arg): 13122 * tooltalk.c (Fadd_tooltalk_message_arg):
12381 * tooltalk.c (Fadd_tooltalk_pattern_attribute): 13123 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12382 * tooltalk.c (Fadd_tooltalk_pattern_arg): 13124 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12383 [7]. 13125 [7].
12384 13126
12385 * tooltalk.c (syms_of_tooltalk): 13127 * tooltalk.c (syms_of_tooltalk):
12386 [2]. 13128 [2].
12387 13129
12388 * unexnt.c: 13130 * unexnt.c:
12389 * unexnt.c (unexec): 13131 * unexnt.c (unexec):
12390 Fix up headers, declaration of unexec() to be more standard. 13132 Fix up headers, declaration of unexec() to be more standard.
12391 13133
12392 2000-07-20 Martin Buchholz <martin@xemacs.org> 13134 2000-07-20 Martin Buchholz <martin@xemacs.org>
12393 13135
12394 * offix.h: Revert change to guard macros - they're used in offix.c! 13136 * offix.h: Revert change to guard macros - they're used in offix.c!
12395 13137
12683 * vm-limit.c (check_memory_limits): 13425 * vm-limit.c (check_memory_limits):
12684 avoid infinite loop printing warning messages. 13426 avoid infinite loop printing warning messages.
12685 13427
12686 2000-07-05 Craig Lanning <lanning@scra.org> 13428 2000-07-05 Craig Lanning <lanning@scra.org>
12687 13429
12688 * Makefile.in.in: Add support for including the Windows resources 13430 * Makefile.in.in: Add support for including the Windows resources
12689 when building with the cygwin and mingw targets. 13431 when building with the cygwin and mingw targets.
12690 13432
12691 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either 13433 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
12692 not set or not correct. 13434 not set or not correct.
12693 (directory_is_current_directory): Don't compile for WIN32_NATIVE. 13435 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
12694 (init_initial_directory): Don't try to use $PWD on the 13436 (init_initial_directory): Don't try to use $PWD on the
12695 WIN32_NATIVE target. 13437 WIN32_NATIVE target.
12696 13438
12697 * s\cygwin32.h: 13439 * s\cygwin32.h:
12698 [[Add -mwindows to eliminate console window.]] not required --ben 13440 [[Add -mwindows to eliminate console window.]] not required --ben
12699 (HAVE_NATIVE_SOUND): removed; now handled by configure. 13441 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12700 (MAIL_USE_POP): removed; now handled by configure. 13442 (MAIL_USE_POP): removed; now handled by configure.
12701 13443
12702 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in 13444 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
12703 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben 13445 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
12704 (HAVE_NATIVE_SOUND): removed; now handled by configure. 13446 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12705 (MAIL_USE_POP): removed; now handled by configure. 13447 (MAIL_USE_POP): removed; now handled by configure.
12706 (ENCAPSULATE_STAT): from Dan Holmsand, added. 13448 (ENCAPSULATE_STAT): from Dan Holmsand, added.
12707 (ENCAPSULATE_FSTAT): from Dan Holmsand, added. 13449 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
12708 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of 13450 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
12709 constant string. 13451 constant string.
12710 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked 13452 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
12711 up from <winsock.h> via systime.h. 13453 up from <winsock.h> via systime.h.
12712 (HAVE_GETPAGESIZE): from Dan Holmsand, added. 13454 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
12713 (getpagesize): from Dan Holmsand, added. 13455 (getpagesize): from Dan Holmsand, added.
12714 Added #endif which was left dangling by Ben's mega patch; added 13456 Added #endif which was left dangling by Ben's mega patch; added
12715 comment to help prevent this in the future. 13457 comment to help prevent this in the future.
12716 13458
12717 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case. 13459 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
12718 13460
12719 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com> 13461 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12720 13462
12721 * console-msw.h (struct mswindows_device): Removed unnecessary 13463 * console-msw.h (struct mswindows_device): Removed unnecessary
12722 cached device geometry values. 13464 cached device geometry values.
12810 13552
12811 * glyphs.h (image_instance_geometry): Remove trailing `,' 13553 * glyphs.h (image_instance_geometry): Remove trailing `,'
12812 13554
12813 2000-06-08 Mike Alexander <mta@arbortext.com> 13555 2000-06-08 Mike Alexander <mta@arbortext.com>
12814 13556
12815 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size 13557 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
12816 (shove_thread): Don't write the same output twice 13558 (shove_thread): Don't write the same output twice
12817 (make_ntpipe_output_stream): Increase priority of shove thread 13559 (make_ntpipe_output_stream): Increase priority of shove thread
12818 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a 13560 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
12819 chance to run 13561 chance to run
12820 (ntpipe_shove_closer): Don't delete the pipe until we're done with 13562 (ntpipe_shove_closer): Don't delete the pipe until we're done with
12821 it. 13563 it.
12822 13564
12823 2000-06-12 Ben Wing <ben@xemacs.org> 13565 2000-06-12 Ben Wing <ben@xemacs.org>
12824 13566
12825 * s\mingw32.h (sigset): 13567 * s\mingw32.h (sigset):
12826 * s\windowsnt.h (sigset): 13568 * s\windowsnt.h (sigset):
14607 15349
14608 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org> 15350 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
14609 15351
14610 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text 15352 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
14611 image glyph if allow_cursor. 15353 image glyph if allow_cursor.
14612 (add_hscroll_rune): Don't allow cursor to border glyph. 15354 (add_hscroll_rune): Don't allow cursor to border glyph.
14613 (create_text_block): Ditto. 15355 (create_text_block): Ditto.
14614 15356
14615 * redisplay-output.c (redisplay_move_cursor): Do nothing even if 15357 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
14616 text not in buffer. 15358 text not in buffer.
14617 (redisplay_output_layout): Call ensure_face_cachel_complete for 15359 (redisplay_output_layout): Call ensure_face_cachel_complete for
14618 text image glyph. 15360 text image glyph.
14619 15361
14620 15362
14621 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org> 15363 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
14622 15364
15191 * alloc.c (pdump_register_sub): 15933 * alloc.c (pdump_register_sub):
15192 * alloc.c (pdump_register_object): 15934 * alloc.c (pdump_register_object):
15193 * alloc.c (pdump_register_struct): 15935 * alloc.c (pdump_register_struct):
15194 * alloc.c (pdump_dump_data): 15936 * alloc.c (pdump_dump_data):
15195 * alloc.c (pdump_reloc_one): 15937 * alloc.c (pdump_reloc_one):
15196 Minor cleanups. 15938 Minor cleanups.
15197 15939
15198 * console-msw.c: 15940 * console-msw.c:
15199 * console-msw.c (GetConsoleHwnd): 15941 * console-msw.c (GetConsoleHwnd):
15200 * console-msw.c (msw_hide_console): 15942 * console-msw.c (msw_hide_console):
15201 * console-msw.c (msw_show_console): 15943 * console-msw.c (msw_show_console):
15202 * console-msw.c (msw_ensure_console_buffered): 15944 * console-msw.c (msw_ensure_console_buffered):
15203 * console-msw.c (msw_output_console_string): 15945 * console-msw.c (msw_output_console_string):
15204 * console-msw.c (console_type_create_mswindows): 15946 * console-msw.c (console_type_create_mswindows):
15205 15947
15206 a) Added functions to manipulate the console window for use with 15948 a) Added functions to manipulate the console window for use with
15207 shell support. 15949 shell support.
15208 15950
15209 b) Added support for writing text to the console, which is now 15951 b) Added support for writing text to the console, which is now
15210 used under Windows when xemacs is not being run non-interactively, 15952 used under Windows when xemacs is not being run non-interactively,
15211 to write text that would otherwise be destined for stdout because 15953 to write text that would otherwise be destined for stdout because
15212 under these circumstances, text written to stdout tends to 15954 under these circumstances, text written to stdout tends to
15213 disappear and not be seen. 15955 disappear and not be seen.
15214 15956
15215 * console-msw.h: 15957 * console-msw.h:
15216 * event-Xt.c: 15958 * event-Xt.c:
15217 * event-Xt.c (x_event_to_emacs_event): 15959 * event-Xt.c (x_event_to_emacs_event):
15218 * event-Xt.c (describe_event_window): 15960 * event-Xt.c (describe_event_window):
15219 * events-mod.h (XEMACS_MOD_CONTROL): 15961 * events-mod.h (XEMACS_MOD_CONTROL):
15220 * events.c: 15962 * events.c:
15264 * device-msw.c: 16006 * device-msw.c:
15265 * device-msw.c (mswindows_finish_init_device): 16007 * device-msw.c (mswindows_finish_init_device):
15266 * device-msw.c (msw_get_workspace_coords): 16008 * device-msw.c (msw_get_workspace_coords):
15267 * device-msw.c (mswindows_device_system_metrics): 16009 * device-msw.c (mswindows_device_system_metrics):
15268 and various other files, added support for a new 16010 and various other files, added support for a new
15269 device property called offset-workspace which returns the position 16011 device property called offset-workspace which returns the position
15270 of the upper left corner of the workspace area and goes along with 16012 of the upper left corner of the workspace area and goes along with
15271 the existing size-workspace property. 16013 the existing size-workspace property.
15272 16014
15273 * dialog-msw.c: 16015 * dialog-msw.c:
15274 * dialog-msw.c (push_bufbyte_string_as_unicode): 16016 * dialog-msw.c (push_bufbyte_string_as_unicode):
15275 * dialog-msw.c (mswindows_popup_dialog_box): 16017 * dialog-msw.c (mswindows_popup_dialog_box):
15276 Added support for XEmacs-style accelerator specifications in 16018 Added support for XEmacs-style accelerator specifications in
15277 button text. Note: I didn't add support for this under X Windows, 16019 button text. Note: I didn't add support for this under X Windows,
15278 and somebody needs to do this. 16020 and somebody needs to do this.
15279 16021
15280 * dialog.c: 16022 * dialog.c:
15281 * dialog.c (Fpopup_dialog_box): 16023 * dialog.c (Fpopup_dialog_box):
15282 Documented the support for accelerators that was just mentioned. 16024 Documented the support for accelerators that was just mentioned.
15283 16025
15284 editfns.c (get_home_directory): Changed behavior under Windows 16026 editfns.c (get_home_directory): Changed behavior under Windows
15285 when HOME not defined; former behavior was irretrievably broken. 16027 when HOME not defined; former behavior was irretrievably broken.
15286 16028
15287 * emacs.c: 16029 * emacs.c:
15296 * print.c (write_string_to_stdio_stream): 16038 * print.c (write_string_to_stdio_stream):
15297 * print.c (output_string): 16039 * print.c (output_string):
15298 * print.c (debug_print): 16040 * print.c (debug_print):
15299 * print.c (debug_backtrace): 16041 * print.c (debug_backtrace):
15300 * print.c (debug_short_backtrace): 16042 * print.c (debug_short_backtrace):
15301 Cleaned up the code that prints text to stdout so that this can be 16043 Cleaned up the code that prints text to stdout so that this can be
15302 changed to output into a console window instead under MS Windows, 16044 changed to output into a console window instead under MS Windows,
15303 as described above. 16045 as described above.
15304 16046
15305 * eval.c: 16047 * eval.c:
15306 * eval.c (DEFEND_AGAINST_THROW_RECURSION): 16048 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15307 * eval.c (internal_catch): 16049 * eval.c (internal_catch):
15308 * eval.c (unwind_to_catch): 16050 * eval.c (unwind_to_catch):
15320 * event-msw.c (key_needs_default_processing_p): 16062 * event-msw.c (key_needs_default_processing_p):
15321 * event-msw.c (mswindows_wnd_proc): 16063 * event-msw.c (mswindows_wnd_proc):
15322 * event-msw.c (mswindows_modifier_state): 16064 * event-msw.c (mswindows_modifier_state):
15323 * event-msw.c (emacs_mswindows_quit_p): 16065 * event-msw.c (emacs_mswindows_quit_p):
15324 * event-msw.c (vars_of_event_mswindows): 16066 * event-msw.c (vars_of_event_mswindows):
15325 a) Added support for using the alt key to select menu items as is 16067 a) Added support for using the alt key to select menu items as is
15326 standard under MS Windows. This is controlled using the variable 16068 standard under MS Windows. This is controlled using the variable
15327 menu-accelerator-enabled, just like under X Windows. There is an 16069 menu-accelerator-enabled, just like under X Windows. There is an
15328 option on the options menu to turn this support on. I really 16070 option on the options menu to turn this support on. I really
15329 think that it should be on by default under Windows, but I'm not 16071 think that it should be on by default under Windows, but I'm not
15330 going to make this change yet. 16072 going to make this change yet.
15331 16073
15332 b) Added support for dynamic display size changes under Windows. 16074 b) Added support for dynamic display size changes under Windows.
15333 16075
15334 * event-stream.c: 16076 * event-stream.c:
15335 * event-stream.c (maybe_echo_keys): 16077 * event-stream.c (maybe_echo_keys):
15336 * event-stream.c (Fnext_event): 16078 * event-stream.c (Fnext_event):
15337 * event-stream.c (command_builder_find_leaf): 16079 * event-stream.c (command_builder_find_leaf):
15342 * event-stream.c (syms_of_event_stream): 16084 * event-stream.c (syms_of_event_stream):
15343 * event-stream.c (vars_of_event_stream): 16085 * event-stream.c (vars_of_event_stream):
15344 * event-stream.c (complex_vars_of_event_stream): 16086 * event-stream.c (complex_vars_of_event_stream):
15345 * events.h (struct command_builder): 16087 * events.h (struct command_builder):
15346 16088
15347 a) Tried to clean up a little bit the horribly written x-specific 16089 a) Tried to clean up a little bit the horribly written x-specific
15348 accelerator code that crept into this file. I moved this code 16090 accelerator code that crept into this file. I moved this code
15349 into menubar-x.c where it belongs. I also needed to move the 16091 into menubar-x.c where it belongs. I also needed to move the
15350 command builder structure into the file events.h because it is 16092 command builder structure into the file events.h because it is
15351 accessed directly by this accelerator code. What I didn't do, but 16093 accessed directly by this accelerator code. What I didn't do, but
15352 which should be done at some point, is to properly abstract this 16094 which should be done at some point, is to properly abstract this
15353 code using device methods instead of the kludgy way that it 16095 code using device methods instead of the kludgy way that it
15354 currently hooks into the event code. 16096 currently hooks into the event code.
15355 16097
15356 b) Added the lisp variables this-command-properties and 16098 b) Added the lisp variables this-command-properties and
15357 last-command- properties, which should be used to synchronize two 16099 last-command- properties, which should be used to synchronize two
15358 adjacent commands in preference to playing games with the variable 16100 adjacent commands in preference to playing games with the variable
15359 this-command, which is typically what happens. 16101 this-command, which is typically what happens.
15360 16102
15361 c) Added some slightly nasty code to hook into the lisp support 16103 c) Added some slightly nasty code to hook into the lisp support
15362 for shifted- motion-key selection. This is actually necessary for 16104 for shifted- motion-key selection. This is actually necessary for
15363 somewhat complicated reasons, which are described in 16105 somewhat complicated reasons, which are described in
15364 simple.el. (NB: I think the proper thing would be to have the code 16106 simple.el. (NB: I think the proper thing would be to have the code
15365 that calls the pre and post command hooks also call out to generic 16107 that calls the pre and post command hooks also call out to generic
15366 lisp functions in simple.el, where all built-in stuff could be 16108 lisp functions in simple.el, where all built-in stuff could be
15367 added. I will think about this more.) 16109 added. I will think about this more.)
15368 16110
15369 * event-unixoid.c (poll_fds_for_input): 16111 * event-unixoid.c (poll_fds_for_input):
15370 * lread.c (readchar): 16112 * lread.c (readchar):
15371 * redisplay-tty.c (tty_clear_frame): 16113 * redisplay-tty.c (tty_clear_frame):
15372 * redisplay-x.c (x_get_gc): 16114 * redisplay-x.c (x_get_gc):
15373 * signal.c (interrupt_signal): 16115 * signal.c (interrupt_signal):
15374 And a whole bunch of other files: fixed up places that printed 16116 And a whole bunch of other files: fixed up places that printed
15375 directly to stderr to instead call the function stderr_out so that 16117 directly to stderr to instead call the function stderr_out so that
15378 * filemode.c (mode_string): 16120 * filemode.c (mode_string):
15379 Warning fixes. 16121 Warning fixes.
15380 16122
15381 * frame-msw.c: 16123 * frame-msw.c:
15382 * frame-msw.c (mswindows_size_frame_internal): 16124 * frame-msw.c (mswindows_size_frame_internal):
15383 Fixed the computation of frame size and position to keep the frame 16125 Fixed the computation of frame size and position to keep the frame
15384 within the workspace area, rather than within the physical 16126 within the workspace area, rather than within the physical
15385 dimensions of the screen, so that the frame doesn't overlap window 16127 dimensions of the screen, so that the frame doesn't overlap window
15386 manager decorations, such as the start menu and toolbar, typically 16128 manager decorations, such as the start menu and toolbar, typically
15387 at the bottom of the screen. 16129 at the bottom of the screen.
15388 16130
15389 * frame.c (vars_of_frame): 16131 * frame.c (vars_of_frame):
15390 Changed the default frame title format under MS Windows to consist 16132 Changed the default frame title format under MS Windows to consist
15391 of buffername-XEmacs, which is standard under MS Windows. I think 16133 of buffername-XEmacs, which is standard under MS Windows. I think
15392 it might be a good idea to change this everywhere because I think 16134 it might be a good idea to change this everywhere because I think
15393 it is superior to the current frame title format, but this is the 16135 it is superior to the current frame title format, but this is the
15394 kind of change that is likely to cause some people to get annoyed, 16136 kind of change that is likely to cause some people to get annoyed,
15395 so I'm not making it. 16137 so I'm not making it.
15396 16138
15397 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings. 16139 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
15398 16140
15399 * gui-msw.c (mswindows_handle_gui_wm_command): 16141 * gui-msw.c (mswindows_handle_gui_wm_command):
15400 Fixed compile warnings. 16142 Fixed compile warnings.
15401 16143
15402 * gui-x.c: 16144 * gui-x.c:
15403 * gui-x.c (strdup_and_add_accel): 16145 * gui-x.c (strdup_and_add_accel):
15404 * gui-x.c (button_item_to_widget_value): 16146 * gui-x.c (button_item_to_widget_value):
15405 * gui-x.h: 16147 * gui-x.h:
15406 Added code to automatically put an accelerator onto the beginning 16148 Added code to automatically put an accelerator onto the beginning
15407 of menu items that don't have one as is now the standard, and is 16149 of menu items that don't have one as is now the standard, and is
15408 described more later. Also fixed things so that the menu item 16150 described more later. Also fixed things so that the menu item
15409 name can be an evaluated expression, again a new standard. 16151 name can be an evaluated expression, again a new standard.
15410 16152
15411 * gui.c: 16153 * gui.c:
15412 * gui.c (gui_item_add_keyval_pair): 16154 * gui.c (gui_item_add_keyval_pair):
15413 * gui.c (make_gui_item_from_keywords_internal): 16155 * gui.c (make_gui_item_from_keywords_internal):
15414 * gui.c (gui_add_item_keywords_to_plist): 16156 * gui.c (gui_add_item_keywords_to_plist):
15423 Mule-ized. Cleanup. GCPRO addition. 16165 Mule-ized. Cleanup. GCPRO addition.
15424 16166
15425 * line-number.c (buffer_line_number): 16167 * line-number.c (buffer_line_number):
15426 * lisp.h: 16168 * lisp.h:
15427 * lisp.h (EMACS_INT_MAX): 16169 * lisp.h (EMACS_INT_MAX):
15428 Added the manifest constant EMACS_INT_MIN corresponding to the 16170 Added the manifest constant EMACS_INT_MIN corresponding to the
15429 existing constant EMACS_INT_MAX. This is partially to fix compile 16171 existing constant EMACS_INT_MAX. This is partially to fix compile
15430 warnings under Windows, and partly for cleanliness. 16172 warnings under Windows, and partly for cleanliness.
15431 16173
15432 * menubar-msw.c: 16174 * menubar-msw.c:
15433 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH): 16175 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
15434 * menubar-msw.c (msw_translate_menu_or_dialog_item): 16176 * menubar-msw.c (msw_translate_menu_or_dialog_item):
15435 * menubar-msw.c (displayable_menu_item): 16177 * menubar-msw.c (displayable_menu_item):
15444 * menubar-msw.c (mswindows_handle_wm_initmenupopup): 16186 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
15445 * menubar-msw.c (mswindows_handle_wm_initmenu): 16187 * menubar-msw.c (mswindows_handle_wm_initmenu):
15446 * menubar-msw.c (mswindows_update_frame_menubars): 16188 * menubar-msw.c (mswindows_update_frame_menubars):
15447 * menubar-msw.c (mswindows_free_frame_menubars): 16189 * menubar-msw.c (mswindows_free_frame_menubars):
15448 * menubar-msw.c (mswindows_popup_menu): 16190 * menubar-msw.c (mswindows_popup_menu):
15449 Fixed a bug in handling accelerators where an extra character 16191 Fixed a bug in handling accelerators where an extra character
15450 would be displayed in the menu item. Also generalized the 16192 would be displayed in the menu item. Also generalized the
15451 function displayable_menu_item because it is now used by the 16193 function displayable_menu_item because it is now used by the
15452 dialog box code as well. And finally, added code in the functions 16194 dialog box code as well. And finally, added code in the functions
15453 that create the menubar to extract a list of accelerators for the 16195 that create the menubar to extract a list of accelerators for the
15454 top level menubar, which is used in the event code to determine 16196 top level menubar, which is used in the event code to determine
15455 whether a particular alt-key combination should be used to invoke 16197 whether a particular alt-key combination should be used to invoke
15456 a menu item, or should be passed through to access the standard 16198 a menu item, or should be passed through to access the standard
15457 XEmacs keymap binding for this key combination. 16199 XEmacs keymap binding for this key combination.
15458 16200
15459 Much needed GCPROing. 16201 Much needed GCPROing.
15460 16202
15461 * menubar-x.c: 16203 * menubar-x.c:
15462 * menubar-x.c (menu_item_descriptor_to_widget_value_1): 16204 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
15471 * menubar-x.c (command_builder_operate_menu_accelerator): 16213 * menubar-x.c (command_builder_operate_menu_accelerator):
15472 * menubar-x.c (menu_accelerator_junk_on_error): 16214 * menubar-x.c (menu_accelerator_junk_on_error):
15473 * menubar-x.c (command_builder_find_menu_accelerator): 16215 * menubar-x.c (command_builder_find_menu_accelerator):
15474 * menubar-x.c (Faccelerate_menu): 16216 * menubar-x.c (Faccelerate_menu):
15475 * menubar.h: 16217 * menubar.h:
15476 Moved a whole bunch of code here that was previously in 16218 Moved a whole bunch of code here that was previously in
15477 event-stream.c as described above. There is also code connected 16219 event-stream.c as described above. There is also code connected
15478 to the new standard of adding an accelerator to the beginning of 16220 to the new standard of adding an accelerator to the beginning of
15479 menu items that don't have one as described above and below. 16221 menu items that don't have one as described above and below.
15480 16222
15481 * menubar.c: 16223 * menubar.c:
15482 * menubar.c (menu_parse_submenu_keywords): 16224 * menubar.c (menu_parse_submenu_keywords):
15483 * menubar.c (Fmenu_find_real_submenu): 16225 * menubar.c (Fmenu_find_real_submenu):
15484 * menubar.c (Fnormalize_menu_item_name): 16226 * menubar.c (Fnormalize_menu_item_name):
15485 * menubar.c (syms_of_menubar): 16227 * menubar.c (syms_of_menubar):
15486 * menubar.c (vars_of_menubar): 16228 * menubar.c (vars_of_menubar):
15487 * menubar.c (complex_vars_of_menubar): 16229 * menubar.c (complex_vars_of_menubar):
15488 16230
15489 a) Cleaned up a bunch of documentation and improved it. 16231 a) Cleaned up a bunch of documentation and improved it.
15490 16232
15491 b) XEmacs now automatically adds an accelerator onto the beginning 16233 b) XEmacs now automatically adds an accelerator onto the beginning
15492 of any menu items that don't have one. I did this because there 16234 of any menu items that don't have one. I did this because there
15493 will inevitably be some menu items on the main menubar that don't 16235 will inevitably be some menu items on the main menubar that don't
15494 have accelerators on them because the package that adds that 16236 have accelerators on them because the package that adds that
15495 particular menu item hasn't yet been fixed up to have accelerators 16237 particular menu item hasn't yet been fixed up to have accelerators
15496 in them and it looked rather strange to have some items with and 16238 in them and it looked rather strange to have some items with and
15497 some items without accelerators, especially since even in items 16239 some items without accelerators, especially since even in items
15498 without accelerators, you can, at least under windows, still 16240 without accelerators, you can, at least under windows, still
15499 access the item through an accelerator corresponding to the first 16241 access the item through an accelerator corresponding to the first
15500 character in the item's name. If people don't like this behavior, 16242 character in the item's name. If people don't like this behavior,
15501 I can add a variable to turn it off optionally, but I'm not sure 16243 I can add a variable to turn it off optionally, but I'm not sure
15502 this is a good idea because we really do need to have accelerators 16244 this is a good idea because we really do need to have accelerators
15503 on all of the menu items, and if a package doesn't like the 16245 on all of the menu items, and if a package doesn't like the
15504 accelerators being put on the first character, then it should put 16246 accelerators being put on the first character, then it should put
15505 the accelerators where they belong. 16247 the accelerators where they belong.
15506 16248
15507 c) I made a behavior change, which is that the descriptor that 16249 c) I made a behavior change, which is that the descriptor that
15508 specifies the text of the menu item, which formerly was just a 16250 specifies the text of the menu item, which formerly was just a
15509 string, can now also be an evaluated expression. This makes this 16251 string, can now also be an evaluated expression. This makes this
15510 descriptor parallel with all of the others, which could also be 16252 descriptor parallel with all of the others, which could also be
15511 evaluated expressions. This also obviates the need for the 16253 evaluated expressions. This also obviates the need for the
15512 keyword :label, which was previously listed in the documentation 16254 keyword :label, which was previously listed in the documentation
15513 as unimplemented, and which was for the same purpose. 16255 as unimplemented, and which was for the same purpose.
15514 16256
15515 d) GCPROing. 16257 d) GCPROing.
15516 16258
15517 * ntproc.c: 16259 * ntproc.c:
15518 * ntproc.c (new_child): 16260 * ntproc.c (new_child):
15519 * ntproc.c (sys_spawnve): 16261 * ntproc.c (sys_spawnve):
15520 * ntproc.c (find_child_console): 16262 * ntproc.c (find_child_console):
15521 * ntproc.c (sys_kill): 16263 * ntproc.c (sys_kill):
15522 Fixed compile warnings. By the way, this file should really go 16264 Fixed compile warnings. By the way, this file should really go
15523 away entirely, and this will happen as soon as Kirill makes his 16265 away entirely, and this will happen as soon as Kirill makes his
15524 final round of process cleanups, which affect the function 16266 final round of process cleanups, which affect the function
15525 call-process. 16267 call-process.
15526 16268
15527 * process-nt.c: 16269 * process-nt.c:
15528 * process-nt.c (struct nt_process_data): 16270 * process-nt.c (struct nt_process_data):
15529 * process-nt.c (find_process_from_pid): 16271 * process-nt.c (find_process_from_pid):
15530 * process-nt.c (send_signal_the_nt_way): 16272 * process-nt.c (send_signal_the_nt_way):
15536 * process-nt.c (nt_create_process): 16278 * process-nt.c (nt_create_process):
15537 * process-nt.c (nt_kill_child_process): 16279 * process-nt.c (nt_kill_child_process):
15538 * process-nt.c (nt_kill_process_by_pid): 16280 * process-nt.c (nt_kill_process_by_pid):
15539 * process-nt.c (nt_open_network_stream): 16281 * process-nt.c (nt_open_network_stream):
15540 * process-nt.c (vars_of_process_nt): 16282 * process-nt.c (vars_of_process_nt):
15541 Copied over code from Emacs 20.5 to correctly send signals to sub- 16283 Copied over code from Emacs 20.5 to correctly send signals to sub-
15542 processes under Windows 95. Also added code to automatically 16284 processes under Windows 95. Also added code to automatically
15543 create and hide console window when a sub-process is created under 16285 create and hide console window when a sub-process is created under
15544 Windows 95, which obviates the need for the separate runemacs.exe 16286 Windows 95, which obviates the need for the separate runemacs.exe
15545 executable, and finally implemented some variables that were 16287 executable, and finally implemented some variables that were
15546 implemented in Emacs 20.5, but previously not in XEmacs. These 16288 implemented in Emacs 20.5, but previously not in XEmacs. These
15547 include mswindows- start-process-share-console and 16289 include mswindows- start-process-share-console and
15548 mswindows-start-process-inherit-error-mode. (Both of these only 16290 mswindows-start-process-inherit-error-mode. (Both of these only
15549 apply to Windows 95.) 16291 apply to Windows 95.)
15550 16292
15551 * regex.c (regex_compile): Fixed a compile warning. 16293 * regex.c (regex_compile): Fixed a compile warning.
15552 16294
15553 * select-msw.c: 16295 * select-msw.c:
15554 * select-msw.c (mswindows_own_selection): 16296 * select-msw.c (mswindows_own_selection):
15555 * select-msw.c (mswindows_get_foreign_selection): 16297 * select-msw.c (mswindows_get_foreign_selection):
15556 * select-msw.c (mswindows_disown_selection): 16298 * select-msw.c (mswindows_disown_selection):
15557 * select-msw.c (console_type_create_select_mswindows): 16299 * select-msw.c (console_type_create_select_mswindows):
15558 * select-msw.c (syms_of_select_mswindows): 16300 * select-msw.c (syms_of_select_mswindows):
15559 Cleaned up the file and implemented the device method 16301 Cleaned up the file and implemented the device method
15560 selection_exists_p, which had accidentally been left out. Also 16302 selection_exists_p, which had accidentally been left out. Also
15561 removed four lisp functions that were remnants from before the 16303 removed four lisp functions that were remnants from before the
15562 time when the selection code was properly device abstracted. 16304 time when the selection code was properly device abstracted.
15563 These functions are no longer needed because there are generic 16305 These functions are no longer needed because there are generic
15564 equivalents, and because they were added recently and don't exist 16306 equivalents, and because they were added recently and don't exist
15565 in FSF Emacs, I don't think there's any problem with just deleting 16307 in FSF Emacs, I don't think there's any problem with just deleting
15566 them. 16308 them.
15567 16309
15568 * sysdep.c: 16310 * sysdep.c:
15569 * sysdep.c (sys_subshell): 16311 * sysdep.c (sys_subshell):
15570 Fixed a compile warning, although in this case there's probably 16312 Fixed a compile warning, although in this case there's probably
15571 something wrong with this code, and it ought to be looked into 16313 something wrong with this code, and it ought to be looked into
15572 more thoroughly by somebody who understands it. 16314 more thoroughly by somebody who understands it.
15573 16315
15574 * window.c: 16316 * window.c:
15575 * window.c (Fwindow_text_area_height): 16317 * window.c (Fwindow_text_area_height):
15576 * window.c (Fwindow_width): 16318 * window.c (Fwindow_width):
15577 * window.c (Fwindow_full_width): 16319 * window.c (Fwindow_full_width):
15578 * window.c (Fwindow_pixel_width): 16320 * window.c (Fwindow_pixel_width):
15579 * window.c (debug_print_window): 16321 * window.c (debug_print_window):
15580 * window.c (syms_of_window): 16322 * window.c (syms_of_window):
15581 Added functions window-text-area-height and window-full-width, 16323 Added functions window-text-area-height and window-full-width,
15582 which are functions for returning various width and height 16324 which are functions for returning various width and height
15583 characteristics of a window. (One of these functions is necessary 16325 characteristics of a window. (One of these functions is necessary
15584 for making the file dialog box work correctly, and the other one 16326 for making the file dialog box work correctly, and the other one
15585 was added for completeness.) Also added a table to the 16327 was added for completeness.) Also added a table to the
15586 documentation for window-height which describes the entire scheme 16328 documentation for window-height which describes the entire scheme
15587 for accessing width and height characteristics of a window. 16329 for accessing width and height characteristics of a window.
15588 16330
15589 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com> 16331 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15590 16332
15591 * nt.c (fstat): Added a comment for another problem with 16333 * nt.c (fstat): Added a comment for another problem with
15592 non-encapsulated [f]stat(), reported by Adrian Aichner 16334 non-encapsulated [f]stat(), reported by Adrian Aichner