Mercurial > hg > xemacs-beta
comparison src/ChangeLog @ 412:697ef44129c6 r21-2-14
Import from CVS: tag r21-2-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:20:41 +0200 |
parents | de805c49cfc1 |
children | da8ed4261e83 |
comparison
equal
deleted
inserted
replaced
411:12e008d41344 | 412:697ef44129c6 |
---|---|
1 2000-07-19 Martin Buchholz <martin@xemacs.org> | 1 1999-05-14 XEmacs Build Bot <builds@cvs.xemacs.org> |
2 | 2 |
3 * XEmacs 21.2.35 is released. | 3 * XEmacs 21.2.14 is released |
4 | 4 |
5 2000-07-19 Martin Buchholz <martin@xemacs.org> | 5 1999-05-12 Andy Piper <andy@xemacs.org> |
6 | 6 |
7 * select-x.c (x_handle_selection_request): | 7 * ntproc.c (sys_spawnve): kludge argv[0] in a MS compatible way. |
8 Text selected in xemacs and pasted into xterm failed to appear. | 8 |
9 Spelling fixes and cosmetic changes. | 9 1999-05-11 Gunnar Evermann <ge204@eng.cam.ac.uk> |
10 | 10 |
11 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | 11 * emacs.c (Frun_emacs_from_temacs): (re)alloc natgs+2 entries for |
12 | 12 run_temacs_argv array -- fixes random memory corruption crash |
13 * event-msw.c (mswindows_drain_windows_queue): Correctly check for | 13 |
14 XEmacs frame (fix for doubling chars in dialog boxes). | 14 1999-05-12 Jan Vroonhof <vroonhof@math.ethz.ch> |
15 | 15 |
16 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net> | 16 * window.c (Fcurrent_window_configuration): |
17 | 17 Save minibuffer height; |
18 * select.c (select_convert_in, select_convert_out): | 18 |
19 Don't call intern() every time. | 19 * window.c (set_window_configuration): use it. |
20 | 20 |
21 * select.c (Qselect_convert_in, Qselect_convert_out): New. | 21 1999-05-10 Robert Pluim <rpluim@bigfoot.com> |
22 * select.c (vars_of_select): Initialise them. | 22 |
23 | 23 * lisp.h (NNUNGCPRO): fix typo in name of DEBUG_GCPRO version |
24 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net> | 24 |
25 | 25 1999-04-21 Jan Vroonhof <vroonhof@math.ethz.ch> |
26 * select.c (selection-coercible-types): New. | 26 |
27 | 27 * redisplay.c (redisplay_window): Do not put data |
28 * select.c (own-selection-internal): | 28 in the line start cache if it is not guaranteed to be correct |
29 * select.c (get-selection-internal): | 29 |
30 MULE bug fix - these should default to COMPOUND_TEXT and not | 30 1999-04-02 Jan Vroonhof <vroonhof@math.ethz.ch> |
31 STRING for MULE. I think. | 31 |
32 | 32 * window.c (struct window_config): Removed frame |
33 * select.c (select_convert_out): Use selection-coercible-types | 33 size members. |
34 to find types that we can attempt to perform coercions on. | 34 (window_config_equal): No longer compare frame sizes. |
35 | 35 (Fset_window_configuration): Resize old top window to fit in the |
36 2000-07-18 Martin Buchholz <martin@xemacs.org> | 36 current frame directly, no longer use a fake frame resize. |
37 | 37 (Fcurrent_window_configuration): No longer save frame size |
38 * mule-wnnfns.c: | 38 |
39 * mule-canna.c: | 39 1999-05-11 Andy Piper <andy@xemacs.org> |
40 Add coding: cookie to identify encoding. | 40 |
41 | 41 * ntproc.c (sys_spawnve): actually assign argv[0] instead of the |
42 * mule-canna.c (CANNA_mode_keys): make static. | 42 first character. |
43 Use proper prototypes, even for functions of no arguments. | 43 |
44 Remove external prototype for Fding(). | 44 1999-05-10 Hrvoje Niksic <hniksic@srce.hr> |
45 | 45 |
46 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn. | 46 * sysdep.c (init_system_name): If gethostname gives a proper |
47 | 47 domain name, don't look further for one. |
48 * select.c (syms_of_select): Add missing DEFSUBR. | 48 |
49 | 49 1999-05-09 Hrvoje Niksic <hniksic@srce.hr> |
50 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net> | 50 |
51 | 51 * symbols.c (Fintern): Avoid frequent XSYMBOL (foo). |
52 * select.c (get_selection_internal, own_selection_internal): | 52 (Fintern_soft): Accept a symbol argument. |
53 Make the type default to STRING, rather than placing a nil type | 53 |
54 into Vselection_alist. | 54 1999-05-06 Hrvoje Niksic <hniksic@srce.hr> |
55 | 55 |
56 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net> | 56 * symbols.c (Fintern): ...do it here. |
57 | 57 |
58 * gpmevent.c (tty_selection_exists_p): | 58 * lread.c (read_atom): Don't handle keywords here. |
59 * gpmevent.c (tty_own_selection): | 59 |
60 Updated parameter lists. | 60 1999-05-06 Hrvoje Niksic <hniksic@srce.hr> |
61 | 61 |
62 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net> | 62 * symbols.c (reject_constant_symbols): Just use SYMBOL_IS_KEYWORD. |
63 | 63 |
64 * select.h (selection-alist): Removed declaration. | 64 1999-05-03 Olivier Galibert <galibert@pobox.com> |
65 | 65 |
66 * select.h (get_local_selection): | 66 * lisp.h (SYMBOL_IS_KEYWORD): A symbol can be a keyword only if it |
67 * select.c (get_local_selection): | 67 is interned in the main obarray. |
68 Made static. | 68 |
69 | 69 1999-04-23 Gunnar Evermann <ge204@eng.cam.ac.uk> |
70 * select.h (convert_selection): Removed declaration. | 70 |
71 * select.c (convert_selection): Removed. | 71 * menubar-x.c (pre_activate_callback): set accelerator field in |
72 This function belongs in Lisp. | 72 "No menu" entries to nil. Avoid crash in |
73 | 73 command_builder_operate_menu_accelerator |
74 * select.h (select_convert_in): Declare. | 74 |
75 * select.h (select_convert_out): Declare. | 75 1999-05-03 Olivier Galibert <galibert@pobox.com> |
76 * select.c (select_convert_in): New. | 76 |
77 * select.c (select_convert_out): New. | 77 * symeval.h (symbol_value_forward_lheader_initializer): Ditto. |
78 New conversion functions for other files to call. | 78 |
79 | 79 * lisp.h (DEFUN): Fix lrecord header initialisation. |
80 * select.h (select_notify_buffer_kill): Declare. | 80 |
81 * select.c (select_notify_buffer_kill): New. | 81 1999-05-02 Andy Piper <andy@xemacs.org> |
82 New functions that get called from kill-buffer. | 82 |
83 | 83 * objects-msw.c (mswindows_font_instance_truename): add a ';'. |
84 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than | 84 |
85 X-specific lisp code. | 85 * ntproc.c (sys_kill): cast using MS mandated defines. |
86 | 86 |
87 * select.h: Declare some of the lisp-visible functions for | 87 1999-04-29 Andy Piper <andy@xemacs.org> |
88 external use. | 88 |
89 | 89 * m/intel386.h: remove redundant definitions. |
90 * select.c (clean_local_selection_data): Removed. This was | 90 |
91 a disgusting function, and previously should have been in | 91 * s/mingw32.h: new header for mingw32. |
92 select-x.c in any case. The functionality is now provided | |
93 in select-convert-from-integer (select.el). | |
94 | |
95 * select.c (available-selection-types): Fixed stupidity where | |
96 INTEGER and ATOM got added twice. Also add STRING when we see an | |
97 extent. | |
98 | |
99 * select.c (get-selection-internal): Removed symbol stripping. No | |
100 longer causes conversion when data comes from the internal cache. | |
101 | |
102 * select.c (syms_of_select): Added new functions. | |
103 | |
104 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote | |
105 error checking - previously this called abort! | |
106 | 92 |
107 * select-x.c (x_own_selection): Changed comment. | 93 * unexnt.c: (open_input_file): function moved to nt.c. |
94 (close_file_data): ditto. | |
95 (rva_to_section): function moved to ntproc. | |
96 | |
97 * symsinit.h: declare syms_of_ntproc(); | |
108 | 98 |
109 * select-x.c (x_handle_selection_request): Use select_convert_out. | 99 * objects-msw.c (mswindows_font_instance_truename): new function. |
110 Don't mess with selection-alist; it's an internal variable of select.c. | 100 |
101 * ntproc.c: remove many warnings. | |
102 (_sys_read_ahead): moved from nt.c and made static. | |
103 (rva_to_section): moved from unexnt.c but not defined under | |
104 mingw32. | |
105 (win32_executable_type): implement what we can for mingw32 | |
106 headers. | |
107 (sys_spawnve): fix bad MULE/GCPRO bug in filename handling. | |
108 | |
109 * ntheap.h: remove declarations of functions that are now static. | |
111 | 110 |
112 * select-x.c (x_get_foreign_selection): Use select_convert_in. | 111 * ntheap.c: support static heap. |
112 | |
113 * nt.h: conditionalise X_OK definition. | |
114 | |
115 * nt.c: eliminate many warnings and support mingw32. | |
116 (open_input_file): function moved from unexnt.c and made static | |
117 (close_file_data): ditto. | |
118 (_sys_read_ahead): moved to ntproc.c | |
119 | |
120 * emacs.c: make sure syms_of_ntptroc gets called under windows. | |
113 | 121 |
114 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp, | 122 * console-msw.h: support mingw32. |
115 rather than messing with selection-alist. | 123 * getloadavg.c: ditto. |
124 * ntplay.c: ditto. | |
125 * sysdep.c: ditto. | |
126 * sysdir.h: ditto. | |
127 * systime.h: ditto. | |
128 * systty.h: ditto. | |
129 | |
130 * config.h.in: dont turn on DEBUG_ENCAPSULATION by default because | |
131 some systems don't have all of the encapsulated system calls. | |
116 | 132 |
117 * select-msw.c (mswindows_get_foreign_selection): | 133 * callproc.c: warning elimination. |
118 Use TO_INTERNAL_FORMAT rather than hacking. | 134 * dired-msw.c: ditto. |
119 | 135 * process-nt.c: ditto. |
120 2000-07-14 Martin Buchholz <martin@xemacs.org> | 136 * realpath.c: ditto. |
121 | |
122 * process-unix.c (unix_open_multicast_group): | |
123 (unix_open_multicast_group): Remove useless casts. | |
124 | |
125 2000-07-13 Martin Buchholz <martin@xemacs.org> | |
126 | |
127 * sound.c (Fplay_sound): Fix `unused variable' warning. | |
128 | |
129 * emacs.c (main): Use correct type for _environ on SCO5. | |
130 | |
131 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net> | |
132 | |
133 * console.h (own_selection_method): | |
134 * console.h (selection_exists_p_method): | |
135 * console.h (available_selection_types_method): New. | |
136 * console.h (register_selection_data_type_method): New. | |
137 * console.h (selection_data_type_name): New. | |
138 | 137 |
139 * console-msw.h (mswindows_destroy_selection): Declare it. New | 138 * Makefile.in.in: tweak : and ; for building under mswindows. |
140 function & alist to track GlobalAlloc()'d handles that need | |
141 releasing when the clipboard data gets replaced or emptied. | |
142 | |
143 * event-msw.c (mswindows_wnd_proc): Call it. | |
144 | |
145 * lisp.h, general.c (Qappend): New symbol representing a | |
146 `how-to-add' mode. | |
147 | 139 |
148 * select.c (own-selection-internal): | 140 1999-04-26 Michael Harnois <mharnois@willinet.net> |
149 * select.c (selection-exists-p): | 141 |
150 * select.c (available-selection-types): New. | 142 * eldap.c (allocate_ldap): Adapt to the new semantics of |
151 * select.c (register-selection-data-type): New. | 143 alloc_lcrecord_type(). |
152 * select.c (selection-data-type-name): New. New functions to deal | 144 |
153 with device-specific selection data formats. | 145 1999-03-16 MORIOKA Tomohiko <tomo@etl.go.jp> |
154 * select.c (selection-converter-out-alist): Renamed. | 146 |
155 * select.c (selection-converter-in-alist): New. | 147 * file-coding.c (DECODE_HANDLE_END_OF_CONVERSION): fixed. |
156 * select.c (selection-appender-alist): New. Added new alists. | 148 |
157 * select.c (syms_of_select, vars_of_select): Added new symbols & | 149 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp> |
158 variables. | 150 |
159 * select.c (get_local_selection): Split. | 151 * Delete mule-coding.c and mule-coding.h because they are not |
160 * select.c: Removed spurious type checking - selections may now be | 152 used. |
161 of any type, not just strings. | 153 |
162 * select.c (own-selection-internal): | 154 1999-04-22 Gunnar Evermann <ge204@eng.cam.ac.uk> |
163 | 155 |
164 * select.h, select.c (convert_selection): New. Created | 156 * objects.c (print_font_instance): Check for NILP(f->device), |
165 convert_selection() function based on get_local_selection(). | 157 i.e. Vthe_null_font_instance. |
166 * select.h, select.c (QCF_*): New symbols representing mswindows | 158 (font_instance_truename_internal): ditto. |
167 clipboard formats. | 159 (Ffont_instance_properties): ditto. |
168 * select.h, select.c (Qreplace_all, Qreplace_existing): New | 160 |
169 symbols representing `how-to-add' modes. | 161 1999-04-22 Olivier Galibert <galibert@pobox.com> |
170 | 162 |
171 * select-msw.c (x_sym_p): New. | 163 * lrecord.h (DECLARE_LRECORD): lrecord_implementation isn't an |
172 * select-msw.c (symbol_to_ms_cf): New. | 164 array anymore. |
173 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with | 165 |
174 symbols & clipboard formats. Can also handle string names. | 166 1999-04-22 Hrvoje Niksic <hniksic@srce.hr> |
175 * select-msw.c (mswindows_own_selection): | 167 |
176 * select-msw.c (mswindows_selection_exists_p): | 168 * Makefile.in.in (tests): Don't mention tests explicitly -- makes |
177 Added `data-type' parameter. Use it. | 169 it easier to add new ones. |
178 * select-msw.c (mswindows_available_selection_types): New. | 170 |
179 * select-msw.c (mswindows_register_selection_data_type): New. | 171 1999-04-22 Hrvoje Niksic <hniksic@srce.hr> |
180 * select-msw.c (mswindows_selection_data_type_name): New. | 172 |
181 * select-msw.c (mswindows_own_selection): | 173 * symbols.c (reject_constant_symbols): Ditto. |
182 * select-msw.c (mswindows_get_foreign_selection): | 174 (init_symbols_once_early): Ditto. |
183 * select-msw.c (mswindows_selection_exists_p): Rewrote. | 175 |
184 * select-msw.c (console_create_select_mswindows): Added new methods. | 176 * print.c (print_symbol): Don't use ->obarray. |
185 * select-msw.c (mswindows_destroy_selection): New. | 177 |
186 * select-msw.c (Vhandle_alist): New list. | 178 * symbols.c (Funintern): Ditto. |
187 * select-msw.c (mswindows_own_selection): | 179 |
188 | 180 * alloc.c (Fmake_symbol): Don't set ->obarray. |
189 * select-x.c (x_own_selection): | 181 |
190 * select-x.c (x_selection_exists_p): | 182 * lisp.h (struct Lisp_Symbol): Removed .obarray field. |
191 * select-x.c: Added some comments about maybe using new | 183 |
192 functionality. | 184 * symbols.c (init_symbols_once_early): Removed |
193 * select-x.c (x_own_selection): | 185 Vpure_uninterned_symbol_table. |
194 | 186 (Fintern): Don't store to ->obarray field. |
195 * specifier.c: Remove definition of Qappend (now in general.c) | 187 |
196 * specifier.c (syms_of_specifier): Remove Qappend. | 188 1999-04-22 Hrvoje Niksic <hniksic@srce.hr> |
197 | 189 |
198 2000-07-12 Martin Buchholz <martin@xemacs.org> | 190 * data.c (vars_of_data): Default debug_issue_ebola_notices to 0. |
199 | 191 (eq_with_ebola_notice): Remove abracadabra support. |
200 * config.h.in: Add socklen_t. | 192 |
201 | 193 1999-04-11 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> |
202 * s/decosf4-0.h: No special compiler flags needed or desired. | 194 |
203 In particular, undefine _BSD for DEC OSF 4.0. | 195 * eldap.c (Fldap_search_internal): Add a new parameter `withdn' to |
204 | 196 retrieve the distinguished names of entries |
205 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | 197 |
206 | 198 1999-03-08 Martin Buchholz <martin@xemacs.org> |
207 * redisplay-msw.c (msprinter_frame_output_end): Added. | 199 |
208 (console_type_create_redisplay_mswindows): Referred the above. | 200 * lread.c (read_escape): Make hex escapes read only two hex digits. |
209 | 201 |
210 * frame.c (setup_frame_without_minibuffer): Do not create a | 202 1999-04-05 Olivier Galibert <galibert@pobox.com> |
211 default minibuffer frame on a printer device. | 203 |
212 | 204 * Makefile.in.in: Remove puresize-adjust.h and recursive makes. |
213 * frame-msw.c (apply_dc_geometry): Added. | 205 * make-src-depend: Remove puresize-adjust.h. |
214 (msprinter_start_page): | 206 * src-headers: Remove puresize-adjust.h. |
215 (msprinter_init_frame_3): | 207 * config.h.in: Kill everything purespace/gung-ho related. |
216 (msprinter_eject_page): Use it. | 208 |
217 | 209 * dbxrc: Make gung-ho mandatory. |
218 * console-msw.h (struct msprinter_frame): Added pix_left and top, | 210 * gdbinit: Ditto. |
219 and removed residual duplex and orientation properties. | 211 |
220 | 212 * lrecord.h: Make gung-ho mandatory. Remove pure flag and add |
221 2000-07-11 Martin Buchholz <martin@xemacs.org> | 213 c_readonly and lisp_readonly. Remove implementation arrays. |
222 | 214 (C_READONLY_RECORD_HEADER_P): Added. |
223 * eval.c (function_argcount): Work around a DEC CC compiler bug. | 215 (LISP_READONLY_RECORD_HEADER_P): Added. |
224 | 216 (SET_C_READONLY_RECORD_HEADER): Added. |
225 * unexalpha.c: Remove system prototypes from C sources! | 217 (SET_LISP_READONLY_RECORD_HEADER): Added. |
226 | 218 |
227 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com> | 219 * lisp.h: Kill everything purespace/non gung-ho related. |
228 | 220 (CHECK_C_WRITEABLE): Added. |
229 * eval.c: Remove references to M-x edit-options in DEFUNs for | 221 (CHECK_LISP_WRITEABLE): Added. |
230 `defvar' and `defconst'. | 222 (C_READONLY): Added. |
231 | 223 (LISP_READONLY): Added. |
232 2000-07-09 Martin Buchholz <martin@xemacs.org> | 224 |
233 | 225 * lisp-union.h: Make gung-ho mandatory. |
234 * config.h.in: Remove SMART_INCLUDE hackery. | 226 * lisp-disunion.h: Ditto. |
227 | |
228 * alloc.c: Kill everything purespace/non gung-ho related. Fix all | |
229 set_lheader_implementation calls. | |
230 (c_readonly): Added. | |
231 (lisp_readonly): Added. | |
232 (make_string_nocopy): Added. | |
233 (Fpurecopy): Changed to do nothing. Kept the old documentation | |
234 for reference purposes for the next patches. | |
235 (sweep_lcrecords_1): Don't free C readonly lcrecords. | |
236 (sweep_bit_vectors_1): Don't free C readonly bitvectors. | |
237 (SWEEP_FIXED_TYPE_BLOCK): Don't free C readonly lrecords. | |
238 | |
239 * fns.c: Make gung-ho mandatory. | |
240 (Fput): CHECK_IMPURE -> CHECK_LISP_WRITEABLE. | |
241 (Fremprop): Ditto. | |
242 (Ffillarray): Ditto. | |
243 | |
244 * data.c: Make gung-ho mandatory. | |
245 (pure_write_error): Removed. | |
246 (c_write_error): Added. | |
247 (lisp_write_error): Added. | |
248 (Fsetcar): CHECK_IMPURE -> CHECK_LISP_WRITEABLE. | |
249 (Fsetcdr): Ditto. | |
250 (Faset): Ditto. | |
251 | |
252 * symbols.c: Make gung-ho mandatory. make_pure_pname -> | |
253 make_string or make_string_nocopy. Fix various | |
254 alloc_lcrecord_type. | |
235 | 255 |
236 PostgreSQL hacking: | 256 * lread.c: Remove everything purespace related. |
237 * config.h.in: Don't use SMART_INCLUDE. | 257 (Flocate_file_clear_hashing): purified -> c_readonly. |
238 | 258 (locate_file): Ditto. |
239 * postgresql.h: Include libpq-fe.h here. Fix typo. | 259 (read_atom): make_pure_pname -> make_string. |
240 * inline.c: Simply #include "postgresql.h" | 260 |
241 * postgresql.c: | 261 * emacs.c (Frun_emacs_from_temacs): Remove purespace stats |
242 - Don't use SMART_INCLUDE | 262 reporting. |
243 - Use simply "const". | 263 (Fdump_emacs): Ditto. |
244 - Use standard doc string conventions. | 264 |
245 - Use correct type for result of PQstatus. | 265 * print.c (print_internal): Make gung-ho mandatory. |
246 | 266 * ntheap.c (sbrk): Ditto. |
247 2000-07-09 Martin Buchholz <martin@xemacs.org> | 267 * mem-limits.h (EXCEEDS_LISP_PTR): Ditto |
248 | 268 * symeval.h (symbol_value_forward_lheader_initializer): Ditto. |
249 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings. | 269 |
250 | 270 * sheap.c (more_static_core): Remove puresize-adjust.h from |
251 C++ compilation changes. | 271 message. |
252 * config.h.in (EXTERN_C): Define. | 272 |
253 * config.h.in (not): This is also a C++ keyword. | 273 * syntax.c (complex_vars_of_syntax): make_pure_string -> |
254 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation. | 274 make_string_nocopy. |
255 * cm.c: Use EXTERN_C. | 275 * keymap.c (make_keymap): Fix alloc_lcrecord_type. |
256 * redisplay-tty.c: Use EXTERN_C. | 276 (vars_of_keymap): make_pure_string -> make_string_nocopy. |
257 * sysdep.c: Use EXTERN_C. Remove Gould support. | 277 * events.c (deinitialize_event): Fix set_lheader_implementation. |
258 | 278 (zero_event): Ditto. |
259 2000-07-09 Martin Buchholz <martin@xemacs.org> | 279 * specifier.c (make_specifier_internal): Fix alloc_lcrecord. |
260 | 280 * menubar-x.c (set_frame_menubar): Fix alloc_lcrecord_type. |
261 * general.c: Remove duplicate definition for Qfunction. | 281 * mule-charset.c (make_charset): Ditto. |
262 | 282 * console.c (allocate_console): Ditto. |
263 2000-07-08 Ben Wing <ben@xemacs.org> | 283 (complex_vars_of_console): Ditto. |
264 | 284 * file-coding.c (allocate_coding_system): Ditto. |
265 * device-msw.c (msprinter_init_device): | 285 * device.c (allocate_device): Ditto |
266 * device-msw.c (sync_printer_with_devmode): | 286 * gui-x.c (gcpro_popup_callbacks): Ditto. |
267 * device-msw.c (handle_devmode_changes): | 287 * extents.c (allocate_extent_auxiliary): Ditto. |
268 * device-msw.c (print_dialog_worker): | 288 (allocate_extent_info): Ditto. |
269 * device-msw.c (Fmsprinter_apply_settings): | 289 (copy_extent): Ditto. |
270 * device-msw.c (hash_devmode): | 290 * glyphs.c (allocate_image_instance): Ditto. |
271 * device-msw.c (Fmsprinter_settings_despecialize): | 291 (allocate_glyph): Ditto. |
272 use Qmswindows_tstr, not Qctext. | 292 * frame.c (allocate_frame_core): Ditto. |
273 | 293 * database.c (allocate_database): Ditto. |
274 * vm-limit.c (check_memory_limits): | 294 * tooltalk.c (make_tooltalk_message): Ditto. |
275 avoid infinite loop printing warning messages. | 295 (make_tooltalk_pattern): Ditto. |
276 | 296 * rangetab.c (Fmake_range_table): Ditto. |
277 2000-07-05 Craig Lanning <lanning@scra.org> | 297 (Fcopy_range_table): Ditto. |
278 | 298 * process.c (make_process_internal): Ditto. |
279 * Makefile.in.in: Add support for including the Windows resources | 299 * chartab.c (Fmake_char_table): Ditto. |
280 when building with the cygwin and mingw targets. | 300 (make_char_table_entry): Ditto. |
281 | 301 (copy_char_table_entry): Ditto. |
282 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either | 302 (Fcopy_char_table): Ditto. |
283 not set or not correct. | 303 * elhash.c (make_general_lisp_hash_table): Ditto. |
284 (directory_is_current_directory): Don't compile for WIN32_NATIVE. | 304 (Fcopy_hash_table): Ditto. |
285 (init_initial_directory): Don't try to use $PWD on the | 305 * buffer.c (allocate_buffer): Ditto. |
286 WIN32_NATIVE target. | 306 (complex_vars_of_buffer): Ditto. |
287 | 307 * event-stream.c (allocate_command_builder): Ditto. |
288 * s\cygwin32.h: | 308 * objects.c (Fmake_color_instance): Ditto. |
289 [[Add -mwindows to eliminate console window.]] not required --ben | 309 (Fmake_font_instance): Ditto. |
290 (HAVE_NATIVE_SOUND): removed; now handled by configure. | 310 (vars_of_objects): Ditto. |
291 (MAIL_USE_POP): removed; now handled by configure. | 311 * toolbar.c (update_toolbar_button): Ditto. |
292 | 312 * window.c (allocate_window): Ditto. |
293 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in | 313 (make_dummy_parent): Ditto. |
294 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben | 314 (Fcurrent_window_configuration): Fix alloc_lcrecord. |
295 (HAVE_NATIVE_SOUND): removed; now handled by configure. | 315 (vars_of_window): Fix make_lcrecord_list. |
296 (MAIL_USE_POP): removed; now handled by configure. | 316 * faces.c (allocate_face): Fix alloc_lcrecord_type. pure_list -> |
297 (ENCAPSULATE_STAT): from Dan Holmsand, added. | 317 Flist. |
298 (ENCAPSULATE_FSTAT): from Dan Holmsand, added. | 318 * lstream.c (Lstream_new): Fix make_lcrecord_list. |
299 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of | 319 * opaque.c (make_opaque): Fix alloc_lrecord. |
300 constant string. | 320 (make_opaque_list): Fix alloc_lrecord_type. |
301 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked | 321 |
302 up from <winsock.h> via systime.h. | 322 1999-04-19 Hrvoje Niksic <hniksic@srce.hr> |
303 (HAVE_GETPAGESIZE): from Dan Holmsand, added. | 323 |
304 (getpagesize): from Dan Holmsand, added. | 324 * process.c (Fstart_process_internal): Ditto. |
305 Added #endif which was left dangling by Ben's mega patch; added | 325 |
306 comment to help prevent this in the future. | 326 * ntproc.c (sys_spawnve): Use Vlisp_EXEC_SUFFIXES when calling |
307 | 327 locate_file(). |
308 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case. | 328 |
309 | 329 * glyphs-x.c (x_locate_pixmap_file): Ditto. |
310 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | 330 |
311 | 331 * glyphs-msw.c (mswindows_locate_pixmap_file): Fix call to |
312 * console-msw.h (struct mswindows_device): Removed unnecessary | 332 locate_file(). |
313 cached device geometry values. | 333 |
314 Added update_tick and an accessor macro. | 334 * emodules.c (vars_of_module): New variable Vmodule_extensions. |
315 (Lisp_Devmode): Added lrecord declaration. | 335 (emodules_load): Use it when calling locate_file(). |
316 (struct msprinter_device): Contain devmode as a Lisp object. | 336 |
317 Added mswindows_get_selected_frame_hwnd(); | 337 * emacs.c (main_1): Use Vlisp_EXEC_SUFFIXES when calling |
318 | 338 locate_file(). |
319 * console.h (struct console_methods): Indentation nitpicking. | 339 |
320 | 340 * callproc.c: Vlisp_EXEC_SUFFIXES: New variable. |
321 * device-msw.c (mswindows_init_device): Do not initialize geometry | 341 (vars_of_callproc): Initialize it. |
322 cache. Initialize update tick. | 342 (Fcall_process_internal): Use it when calling locate_file(). |
323 (mswindows_device_system_metrics): Ask the device for its geometry. | 343 |
324 (global_free_2_maybe): | 344 * alloc.c (disksave_object_finalization): Use |
325 (devmode_to_hglobal): | 345 Flocate_file_clear_hashing(). |
326 (handle_printer_changes): | 346 |
327 (ensure_not_printing): | 347 * lread.c (Flocate_file_clear_hashing): Clear all hasing when |
328 (print_dialog_worker): | 348 given `t' as argument. |
329 (Fmsprinter_print_setup_dialog): | 349 |
330 (Fmsprinter_print_dialog): | 350 1999-04-18 Hrvoje Niksic <hniksic@srce.hr> |
331 (plist_get_margin): | 351 |
332 (plist_set_margin): | 352 * lread.c (locate_file): Expand `pathel' when appropriate. |
333 (Fmsprinter_page_setup_dialog): Added functions. | 353 (Flocate_file_clear_hashing): Expand path elements. |
334 (sync_printer_with_devmode): | 354 (Flocate_file_clear_hashing): Use Vlocate_file_hash_table. |
335 (handle_devmode_changes): | 355 |
336 (Fmsprinter_get_settings): | 356 * dired.c (make_directory_hash_table): Create the hash-table only |
337 (Fmsprinter_select_settings): | 357 if the directory open is successful. |
338 (Fmsprinter_apply_settings): | 358 |
339 (allocate_devmode): | 359 * lread.c (decode_mode_1): New function. |
340 (Fmsprinter_settings_copy): | 360 (decode_mode): Ditto. |
341 (Fmsprinter_settings_despecialize): | 361 (Flocate_file): Use them. |
342 (print_devmode): | 362 (Flocate_file): Expand FILENAME. |
343 (finalize_devmode): | 363 (locate_file_map_suffixes): New function. |
344 (equal_devmode): | 364 (locate_file_in_directory_mapper): New function. |
345 (hash_devmode): Added functions | 365 (locate_file_in_directory): Use locate_file_in_directory_mapper() |
346 (syms_of_device_mswindows): Init devmode lrecord class. | 366 and locate_file_map_suffixes(). |
347 | 367 (locate_file_construct_suffixed_files): Use |
348 * device.h: Added an exfun for find-device. | 368 locate_file_map_suffixes(). |
349 | 369 (locate_file_without_hash): Don't GCPRO path. |
350 * event-msw.c (mswindows_wnd_proc): Do not update the cached | 370 (Flocate_file_clear_hashing): Use EXTERNAL_LIST_LOOP. |
351 geometry; although, recreate the device compatible DC. | 371 (syms_of_lread): Remove Qlocate_file_hash_table. |
352 | 372 (locate_file_find_directory_hash_table): Use |
353 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added. | 373 Vlocate_file_hash_table. |
354 (msprinter_init_frame_3): | 374 (locate_file_refresh_hashing): Ditto. |
355 (msprinter_frame_property): | 375 |
356 (msprinter_internal_frame_property_p): | 376 * lread.c: Renamed read_objects to Vread_objects. |
357 (msprinter_frame_properties): | 377 |
358 (msprinter_set_frame_properties): Removed 'orientation and 'duplex | 378 1999-04-16 Olivier Galibert <galibert@pobox.com> |
359 print job properties (will move to device settings). | 379 |
360 | 380 * mule-charset.c: Generally resync with fsf 20.3 charset |
361 * lisp.h: Added symbols. | 381 interface. |
362 | 382 (make_charset): Add long and short name. Use id instead of |
363 * general.c (syms_of_general): Declared them. | 383 leading byte. |
364 | 384 (Fmake_charset): Ditto. |
365 * hash.c (string_hash): Added. | 385 (Fmake_reverse_direction_charset): Ditto. |
366 | 386 (Fcharset_property): Ditto. |
367 * lrecord.h (lrecord_type): Added devmode lrecord type. | 387 (Fcharset_short_name): Added. |
368 | 388 (Fcharset_long_name): Added. |
369 2000-07-02 Mike Sperber <mike@xemacs.org> | 389 (Fcharset_description): Renamed from charset-doc-string. |
370 | 390 (syms_of_mule_charset): Synced symbols. |
371 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on | 391 (complex_vars_of_mule_charset): Synced charsets. |
372 FreeBSD 4.0. | 392 |
373 | 393 * mule-charset.h: Removed leading byte (uses id instead), added |
374 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp> | 394 short and long name. |
375 | 395 |
376 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative | 396 1999-04-15 Hrvoje Niksic <hniksic@srce.hr> |
377 integer. | 397 |
378 | 398 * file-coding.c (Fdefine_coding_system_alias): New function. |
379 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org> | 399 |
380 | 400 1999-04-08 Olivier Galibert <galibert@pobox.com> |
381 * data.c (Fstring_to_number): Don't recognize floating point if | 401 |
382 base is not 10. | 402 * mule-charset.c (complex_vars_of_mule_charset): Allow all iso8859 |
383 | 403 and -ascii fonts for displaying ascii instead of iso8859-1 only. |
384 2000-06-22 Martin Buchholz <martin@xemacs.org> | 404 |
385 | 405 1998-12-14 Hrvoje Niksic <hniksic@srce.hr> |
386 * glyphs-widget.c (tab_control_query_geometry): | 406 |
387 (widget_query_geometry): | 407 * extents.c (set_extent_glyph_1): Make sure that the glyph we |
388 (button_query_geometry): | 408 attach to the extent is valid. |
389 * glyphs.c (text_query_geometry): | 409 |
390 Enforce type correctness. | 410 1998-12-12 Hrvoje Niksic <hniksic@srce.hr> |
391 | 411 |
392 2000-06-18 Martin Buchholz <martin@xemacs.org> | 412 * dired.c (user_name_completion): Mule-ize. |
393 | 413 (user_name_completion): Use xmalloc/xrealloc/xfree. |
394 * s/decosf4-0.h (_etext): Use portable _etext instead of etext. | 414 (user_name_completion): Use DO_REALLOC. |
395 * s/decosf4-0.h (_edata): Use portable _edata instead of edata. | 415 (user_name_completion): Cut down the number of static variables; |
396 | 416 use a structure. |
397 2000-06-17 Martin Buchholz <martin@xemacs.org> | 417 (user_name_completion): Username completion is always |
398 | 418 case-sensitive. |
399 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this | 419 |
400 conflicts with gcc's fixincluded version of FOO.h. | 420 1998-12-06 Hrvoje Niksic <hniksic@srce.hr> |
401 | 421 |
402 * glyphs.h (image_instance_geometry): Remove trailing `,' | 422 * fns.c (base64_decode_1): Remove COUNTER. |
403 | 423 (base64_decode_1): Accept CRLF in addition to CR. |
404 2000-06-08 Mike Alexander <mta@arbortext.com> | 424 (base64_decode_1): Disallow a stray character after final EOF; the |
405 | 425 check was probably a remnant of buggy recode code. |
406 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size | 426 |
407 (shove_thread): Don't write the same output twice | 427 1998-12-05 Hrvoje Niksic <hniksic@srce.hr> |
408 (make_ntpipe_output_stream): Increase priority of shove thread | 428 |
409 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a | 429 * fns.c (init_provide_once): Provide `base64'. |
410 chance to run | 430 |
411 (ntpipe_shove_closer): Don't delete the pipe until we're done with | 431 1998-12-04 Hrvoje Niksic <hniksic@srce.hr> |
412 it. | 432 |
413 | 433 * fns.c (XMALLOC_UNBIND): Include SPECCOUNT argument, for clarity. |
414 2000-06-12 Ben Wing <ben@xemacs.org> | 434 (Fbase64_encode_region): If buffer is read-only, bail out early. |
415 | 435 (Fbase64_decode_region): Ditto. |
416 * s\mingw32.h (sigset): | 436 (Fbase64_encode_region): Initialize SPECCOUNT to pacify the |
417 * s\windowsnt.h (sigset): | 437 compiler. |
418 rename msw_ to mswindows_ for consistency with general convention. | 438 (Fbase64_encode_string): Ditto. |
419 | 439 (Fbase64_decode_region): Ditto. |
420 2000-06-12 Ben Wing <ben@xemacs.org> | 440 (Fbase64_decode_string): Ditto. |
421 | 441 |
422 * console-msw.c: | 442 1998-11-25 Hrvoje Niksic <hniksic@srce.hr> |
423 * console-msw.c (mswindows_get_console_hwnd): | 443 |
424 * console-msw.c (mswindows_ensure_console_allocated): | 444 * dired.c (Fdirectory_files): Remove redundant code. |
425 * console-msw.c (mswindows_hide_console): | 445 |
426 * console-msw.c (mswindows_show_console): | 446 1999-03-05 Philip Aston <philipa@parallax.co.uk> |
427 * console-msw.c (mswindows_ensure_console_buffered): | 447 |
428 * console-msw.c (mswindows_output_console_string): | 448 * frame-msw.c Make raise-frame restore minimised windows. |
429 * console-msw.c (mswindows_windows9x_p): | 449 |
430 * console-msw.h: | 450 1999-03-05 Philip Aston <philipa@parallax.co.uk> |
431 * device-msw.c (mswindows_get_workspace_coords): | 451 |
432 * device-msw.c (mswindows_device_system_metrics): | 452 * device-msw.c: Fix DEFVAR format - Death to phantom quote, and |
433 * dialog-msw.c (mswindows_popup_dialog_box): | 453 add magic newline. |
454 | |
455 1999-03-05 Philip Aston <philipa@parallax.co.uk> | |
456 | |
457 * toolbar-msw.c Consider captions when deciding whether to rebuild | |
458 toolbar. This fixes the initial toolbar display for those of us | |
459 who don't like captions. These patches applied by Andy Piper. | |
460 | |
461 1999-03-12 XEmacs Build Bot <builds@cvs.xemacs.org> | |
462 | |
463 * XEmacs 21.2.13 is released | |
464 | |
465 1999-03-12 SL Baur <steve@xemacs.org> | |
466 | |
467 * file-coding.c: Guard ucs table initialization with ifdef MULE. | |
468 | |
469 1999-03-10 Stephen J. Turnbull <turnbull@sk.tsukuba.ac.jp> | |
470 | |
471 * file-coding.c: docstring and comment improvements. | |
472 (decode_ucs4) flag possible data loss with comment. | |
473 | |
474 1999-03-10 Martin Buchholz <martin@xemacs.org> | |
475 | |
476 * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR | |
477 (ucs_to_char): | |
478 (Fucs_char): | |
479 (Fset_char_ucs): | |
480 (decode_coding_ucs4): | |
481 (encode_coding_ucs4): | |
482 (detect_coding_utf8): | |
483 (decode_coding_utf8): | |
484 (encode_utf8): | |
485 (encode_coding_utf8): | |
486 Add CHECK_* macros where needed to avoid crashes. | |
487 #ifdef out all composite character support using | |
488 #ifdef ENABLE_COMPOSITE_CHARS | |
489 Use normal XEmacs coding standards. | |
490 Fix docstrings. | |
491 Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE. | |
492 | |
493 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp> | |
494 | |
495 * file-coding.c (make-coding-system): Add description about | |
496 `ucs-4' and `utf-8'. | |
497 (detection_state): Modify to implement ucs-4 and utf-8. | |
498 (detect_coding_type): Likewise. | |
499 (detect_coding_ucs4): New implementation. | |
500 (detect_coding_utf8): New implementation. | |
501 (encode_utf8): fixed. | |
502 (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and | |
503 `utf-8'. | |
504 | |
505 1998-09-08 MORIOKA Tomohiko <morioka@jaist.ac.jp> | |
506 | |
507 * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO | |
508 2022 registry to private area. | |
509 | |
510 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp> | |
511 | |
512 * file-coding.c (encode_utf8): New function. | |
513 (encode_coding_utf8): New implementation. | |
514 | |
515 1998-09-07 MORIOKA Tomohiko <morioka@jaist.ac.jp> | |
516 | |
517 * file-coding.c (ucs_to_mule_table): New variable; abolish | |
518 `Vucs_to_mule_table' | |
519 (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'. | |
520 (set-ucs-char): New function. | |
521 (ucs_to_char): New function. | |
522 (ucs-char): New function. | |
523 (set-char-ucs): New function. | |
524 (char-ucs): New function. | |
525 (decode_ucs4): Use `ucs_to_char'. | |
526 (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and | |
527 `mule-to-ucs-table'. | |
528 | |
529 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp> | |
530 | |
531 * chartab.h: EXFUN `Fget_char_table'. | |
532 | |
533 * file-coding.c (encode_ucs4): New function. | |
534 (encode_coding_ucs4): Use `encode_ucs4'. | |
535 | |
536 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp> | |
537 | |
538 * file-coding.c (decode_coding_ucs4): New implementation. | |
539 | |
540 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp> | |
541 | |
542 * file-coding.c (decode_coding_ucs4): fixed. | |
543 | |
544 * file-coding.c (Vmule_to_ucs_table): New variable. | |
545 (mule_char_to_ucs4): New function. | |
546 (encode_coding_ucs4): New implementation. | |
547 (complex_vars_of_mule_coding): Define variable | |
548 `mule-to-ucs-table'. | |
549 | |
550 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp> | |
551 | |
552 * file-coding.c (decode_coding_utf8): New implementation. | |
553 | |
554 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp> | |
555 | |
556 * file-coding.c (decode_coding_utf8): fixed. | |
557 | |
558 1998-09-06 MORIOKA Tomohiko <morioka@jaist.ac.jp> | |
559 | |
560 * file-coding.c (Vucs_to_mule_table): New variable. | |
561 (decode_ucs4): Refer `Vucs_to_mule_table'. | |
562 (complex_vars_of_mule_coding): Define variable | |
563 `ucs-to-mule-table'. | |
564 | |
565 1998-09-04 MORIOKA Tomohiko <morioka@jaist.ac.jp> | |
566 | |
567 * file-coding.c (detect_coding_ucs4): New function (not | |
568 implemented yet). | |
569 (decode_coding_ucs4): New function. | |
570 (encode_coding_ucs4): New function (not implemented yet). | |
571 (detect_coding_utf8): New function (not implemented yet). | |
572 (decode_coding_utf8): New function. | |
573 (encode_coding_utf8): New function (not implemented yet). | |
574 (make-coding-system): New type `ucs4' and `utf8'. | |
575 (coding-system-type): Likewise. | |
576 (detection_state): Add `ucs4' and `utf8'. | |
577 (detect_coding_type): Likewise. | |
578 (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'. | |
579 (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'. | |
580 (decode_ucs4): New function (very incomplete). | |
581 (syms_of_mule_coding): Add `ucs4' and `utf8'. | |
582 | |
583 * file-coding.h: Add definitions for UCS-4 and UTF-8. | |
584 | |
585 1999-03-08 Martin Buchholz <martin@xemacs.org> | |
586 | |
587 * mule-charset.c: | |
588 (non_ascii_valid_char_p): | |
589 (lookup_composite_char): | |
590 (composite_char_string): | |
591 (make-composite-char): | |
592 (composite-char-string): | |
593 (syms_of_mule_charset): | |
594 (complex_vars_of_mule_charset): | |
595 * mule-charset.h (LEADING_BYTE_COMPOSITE): | |
596 (CHAR_LEADING_BYTE): | |
597 (MAKE_CHAR): | |
598 * file-coding.h (CODING_STATE_COMPOSITE): | |
599 (CODING_STATE_ISO2022_LOCK): | |
600 (iso_esc_flag): | |
601 (LEADING_BYTE_COMPOSITE): | |
602 * file-coding.c (struct iso2022_decoder): | |
603 (decoding_closer): | |
604 (reset_iso2022): | |
605 (parse_iso2022_esc): | |
606 (encode_coding_iso2022): | |
607 #ifdef out all composite character support using | |
608 #ifdef ENABLE_COMPOSITE_CHARS | |
609 | |
610 * alloc.c: Define lrecord_coding_system only if ! FILE_CODING | |
611 | |
612 1999-03-04 Takeshi YAMADA <yamada@cslab.kecl.ntt.co.jp> | |
613 | |
614 * fns.c (Fbase64_encode_string): Calculate `allength' in the same | |
615 way of `Fbase64_encode_region'. | |
616 | |
617 1999-02-18 Katsumi Yamaoka <yamaoka@jpl.org> | |
618 | |
619 * fns.c (base64_encode_1): Don't add a newline at the tail. | |
620 | |
621 1999-03-08 Andy Piper <andy@xemacs.org> | |
622 | |
623 * menubar-msw.c (displayable_menu_item): correct off-by-one & | |
624 handling. | |
625 | |
626 1999-03-07 Martin Buchholz <martin@xemacs.org> | |
627 | |
628 * console-stream.h (struct stream_console): | |
629 * event-unixoid.c (event_stream_unixoid_select_console): | |
630 (event_stream_unixoid_unselect_console): | |
631 * print.c (Fexternal_debugging_output): | |
632 * sysdep.c (reset_one_device): | |
633 * console-stream.c (stream_init_console): | |
634 (stream_delete_console): | |
635 (allocate_stream_console_struct): move into stream_init_console. | |
636 (free_stream_console_struct): move into stream_delete_console. | |
637 Use `fd' only for file descriptors. | |
638 Therefore, rename members of struct stream_console. | |
639 | |
640 * systime.h: Unix98 says sys/time.h should define select(), but | |
641 some systems define that in unistd.h. So include that file always. | |
642 | |
643 * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid | |
644 multiple evaluation of first arg. Do proper do {} while (0) wrapping. | |
645 (HAS_IIFORMAT_METH_P): Prevent macro from being used in | |
646 non-boolean context | |
647 (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention. | |
648 | |
649 * EmacsShell.c: | |
650 * balloon_help.c: | |
651 Add #include <stdio.h>. | |
652 Some versions of assert.h use printf() without #include'ing stdio.h | |
653 | |
654 * free-hook.c (blocktype): Add gcpro5_type to blocktype. | |
655 (log_gcpro): Remove unused variable FRAME. | |
656 (show_gcprohist): Ansify. | |
657 Comment the #endif's | |
658 | |
659 * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f) | |
660 after it's just been XtDestroy'ed! | |
661 | |
662 1999-02-18 Martin Buchholz <martin@xemacs.org> | |
663 | |
664 * opaque.c (print_opaque): | |
665 (sizeof_opaque): | |
666 (equal_opaque): | |
667 (hash_opaque): | |
668 Egcs 1.1.1 seems to have a bug where | |
669 INTP (p->size_or_chain) | |
670 will crash XEmacs. Fix by introducing intermediate variable. | |
671 | |
672 * sound.c (Fdevice_sound_enabled_p): Fix compiler warning. | |
673 | |
674 * dired.c (Fdirectory_files): | |
675 (Ffile_name_completion): | |
676 (Ffile_name_all_completions): | |
677 (file_name_completion): | |
678 - Use `directory' instead of `dirname' to sync with FSF Emacs and | |
679 avoid compiler warnings. | |
680 - Fix up docstrings so that C variables match documentation. | |
681 | |
682 1999-03-05 Martin Buchholz <martin@xemacs.org> | |
683 | |
684 * alloc.c: (garbage_collect_1): Reorg code to make scope of local | |
685 variables as small as possible to help out the compiler and the maintainer. | |
686 | |
687 * alloc.c: (disksave_object_finalization): | |
688 Set all the *-load-path variables to | |
689 nil, not just load-path itself. This gets the locate-file hash | |
690 tables garbage collected BEFORE dump, and has the side effect of | |
691 preventing crashes on OSF4.0+egcs. | |
692 | |
693 * alloc.c: | |
694 * gdbinit: | |
695 * dbxrc: | |
696 - Clean up gdb/dbx debugging support. | |
697 - Storing an EMACS_INT in an enum is not 64-bit clean! | |
698 - So change the enum to a set of separate variables. | |
699 - Add test cases to help debug the debugging support! | |
700 - Add `lisp-shadows' and `run-temacs' targets for dbx. | |
701 - Both dbx and gdb have been tested now. | |
702 | |
703 1999-03-05 XEmacs Build Bot <builds@cvs.xemacs.org> | |
704 | |
705 * XEmacs 21.2.12 is released | |
706 | |
707 1999-02-16 Kazuyuki IENAGA <ienaga@jsys.co.jp> | |
708 | |
709 * device-x.c: Support to find best visual without flashing. | |
710 | |
711 1999-03-02 Paul Keusemann <pkeusem@visi.com> | |
712 | |
713 * database.c (berkdb_map): Add flags argument to cursor call (must | |
714 be 0 according to docs) required for Berkeley DB 2.6.4 and later. | |
715 | |
716 1999-03-03 Martin Buchholz <martin@xemacs.org> | |
717 | |
718 * hash.c: | |
719 * hash.h: | |
720 General cleanup. Get free-hook.c working again. | |
721 Remove unused functions: | |
722 make_strings_hash_table, copy_hash, expand_hash_table. | |
723 | |
724 * malloc.c: | |
725 * mem-limits.h: | |
726 Always use new ANSI-style function prototypes. | |
727 | |
728 * unexalpha.c (unexec): Never use implicit int. | |
729 | |
730 * sgiplay.c (close_sound_file): | |
731 (play_sound_file): | |
732 (restore_audio_port): | |
733 (play_sound_data): | |
734 (audio_initialize): | |
735 (play_internal): | |
736 (drain_audio_port): | |
737 (write_mulaw_8_chunk): | |
738 (write_linear_chunk): | |
739 (write_linear_32_chunk): | |
740 (initialize_audio_port): | |
741 (open_audio_port): | |
742 (set_channels): | |
743 (set_output_format): | |
744 (adjust_audio_volume): | |
745 (get_current_volumes): | |
746 (parse_snd_header): | |
747 Always use new ANSI-style function prototypes. | |
748 Use unistd.h for missing prototypes. | |
749 | |
750 * unexelfsgi.c (round_up): | |
751 (find_section): | |
752 (unexec): Always use new ANSI-style function prototypes | |
753 | |
754 * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio | |
755 | |
756 * console.h (struct console_methods): Always use full ANSI prototypes | |
757 | |
758 * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes | |
759 | |
760 1999-03-02 Andy Piper <andy@xemacs.org> | |
761 | |
762 * event-stream.c (init_event_stream): make sure native mswindows | |
763 gets an appropriate event loop. | |
764 | |
765 1999-02-22 Andy Piper <andy@xemacs.org> | |
766 | |
767 * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather | |
768 than SW_SHOWNORMAL to prevent resizing of maximised frames. | |
769 (mswindows_raise_frame): remove comment. | |
770 | |
771 1999-03-01 XEmacs Build Bot <builds@cvs.xemacs.org> | |
772 | |
773 * XEmacs 21.2.11 is released | |
774 | |
775 1999-02-25 SL Baur <steve@xemacs.org> | |
776 | |
777 * mule-charset.c (Qleading_byte): New variable to implement | |
778 charset-leading-byte function. | |
779 (Fcharset_property): Use it. | |
780 (syms_of_mule_charset): Initialize it. | |
781 From Kazuyuki IENAGA <ienaga@jsys.co.jp> | |
782 | |
783 1999-02-17 Kazuo Oishi <oishi@ae.agr.yamaguchi-u.ac.jp> | |
784 | |
785 * glyphs-x.c (cononvert_EImage_to_XImage): correct | |
786 bytes per pixel counting. | |
787 | |
788 1999-02-15 Andy Piper <andy@xemacs.org> | |
789 | |
790 * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes | |
791 major lockups. | |
792 | |
793 1999-02-16 MORIOKA Tomohiko <morioka@jaist.ac.jp> | |
794 | |
795 * fns.c (Fbase64_encode_string): New optional argument | |
796 `NO_LINE_BREAK'. | |
797 | |
798 1999-02-16 Martin Buchholz <martin@xemacs.org> | |
799 | |
800 * gdbinit: Fix up commands to run temacs. Add lisp-shadows command. | |
801 * alloc.c (xcalloc): undef xcalloc, just like xmalloc | |
802 | |
803 1999-02-10 Martin Buchholz <martin@xemacs.org> | |
804 | |
805 * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0. | |
806 * xintrinsic.h: Redo CONST support for X11 R4 compatibility. | |
807 | |
808 1999-02-05 XEmacs Build Bot <builds@cvs.xemacs.org> | |
809 | |
810 * XEmacs 21.2.10 is released | |
811 | |
812 1999-02-02 Gleb Arshinov <gleb@cs.stanford.edu> | |
813 | |
814 * process-nt.c (nt_send_process): | |
815 Fix for process-send-region/process-send-string breaking when size | |
816 of the input > 128 chars: change maximum chunk size for process | |
817 stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer | |
818 succeeds. | |
819 | |
820 1999-02-02 XEmacs Build Bot <builds@cvs.xemacs.org> | |
821 | |
822 * XEmacs 21.2.9 is released | |
823 | |
824 1999-01-30 Martin Buchholz <martin@xemacs.org> | |
825 | |
826 * bytecode.c (funcall_compiled_function): Call | |
827 UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY. | |
828 | |
829 * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY): | |
830 #ifdef 0 out unused macro. | |
831 | |
832 1999-01-27 Martin Buchholz <martin@xemacs.org> | |
833 | |
834 * gui.c (gui_parse_item_keywords_internal): Make static. | |
835 | |
836 1999-01-21 Andy Piper <andy@xemacs.org> | |
837 | |
838 * glyphs-msw.c: add xface support. | |
839 (mswindows_xface_instantiate): new function copied from glyphs-x.c | |
840 (image_instantiator_format_create_glyphs_mswindows): do device | |
841 specific initialisation for xfaces. | |
842 (xbm_create_bitmap_from_data): line data must be padded to a word | |
843 boundary. | |
844 | |
845 * glyphs-x.c (xface_validate): moved to glyphs.c | |
846 (xface_normalize): ditto. | |
847 (xface_possible_dest_types): ditto. | |
848 (image_instantiator_format_create_glyphs_x): do device specific | |
849 initialisation for xfaces. | |
850 | |
851 * glyphs.h: declare xface symbol. | |
852 | |
853 * glyphs.c: move generic xface support here. | |
854 (xface_validate): moved from glyphs-x.c | |
855 (xface_normalize): ditto. | |
856 (xface_possible_dest_types): ditto. | |
857 (image_instantiator_format_create): xface declarations moved from | |
858 glyphs-x.c. | |
859 | |
860 1999-01-14 Adrian Aichner <aichner@ecf.teradyne.com> | |
861 | |
862 * event-stream.c (vars_of_event_stream): Fixing documentation. | |
863 | |
864 1999-01-17 Gunnar Evermann <ge204@eng.cam.ac.uk> | |
865 | |
866 * glyphs-eimage.c (gif_instantiate): Correct handling of | |
867 interlaced gifs to avoid writing past the end of the eimage | |
868 buffer. | |
869 | |
870 1999-01-13 Hrvoje Niksic <hniksic@srce.hr> | |
871 | |
872 * search.c (Freplace_match): Handle single backslash at end of | |
873 NEWTEXT correctly. | |
874 | |
875 1999-01-12 William M. Perry <wmperry@aventail.com> | |
876 | |
877 * eldap.c (Fldap_open): slow down interrupts around ldap_open to | |
878 avoid connection errors. | |
879 | |
880 1999-01-12 Andy Piper <andy@xemacs.org> | |
881 | |
882 * redisplay-output.c (redisplay_update_line): backout change that | |
883 shouldn't have gone ine. | |
884 | |
885 1999-01-09 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> | |
886 | |
887 * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may | |
888 collide with ldap.el | |
889 | |
890 1999-01-11 Andy Piper <andy@xemacs.org> | |
891 | |
892 * redisplay.h (DISPLAY_LINE_HEIGHT): new macro. | |
893 (DISPLAY_LINE_YPOS): new macro. | |
894 | |
895 * redisplay-msw.c (mswindows_output_string): use it. | |
896 (mswindows_output_pixmap): ditto. | |
897 (mswindows_output_display_block): ditto. | |
898 | |
899 * redisplay-output.c (redisplay_output_display_block): new | |
900 function. just call the devmeth, maybe insert some generic code | |
901 here later. | |
902 (compare_display_blocks): use it. | |
903 (output_display_line): ditto. | |
904 (redisplay_unmap_subwindows_maybe): new function. potentially | |
905 unmap subwindows in the given area. | |
906 | |
907 * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are | |
908 resetting. | |
909 | |
910 1999-01-10 J. Kean Johnston <jkj@sco.com> | |
911 | |
912 * Makefile.in.in: Set value of moduledir | |
913 - Changed DUMPENV to include $(MODULEPATH) | |
914 - Added install rule to install header files for use by ellcc. | |
915 | |
916 * config.h.in: Added INHIBIT_SITE_MODULES | |
917 - Added HAVE__DLERROR | |
918 - Added HAVE_DLFCN_H | |
919 - Added DLSYM_NEEDS_UNDERSCORE | |
920 | |
921 * dll.c: Removed. | |
922 | |
923 * emodules.c: New file containing dynamic loading code. | |
924 | |
925 * emodules.h: New file. | |
926 | |
927 * emacs.c: Added variables Vmodule_directory, | |
928 Vsite_module_directory, Vconfigure_module_directory and | |
929 Vconfigure_site_module_directory. | |
930 - (main_1): Added new variable inhibit_site_modules and command | |
931 line options `-no-site-modules' and `--no-site-modules'. | |
932 - (main_1): Call syms_of_module() instead of syms_of_dll(). | |
933 - (main_1): Call vars_of_module(). | |
934 - (vars_of_emacs): Introduce inhibit-site-modules, | |
935 module-directory, configure-module-directory, | |
936 site-module-directory, and configure-site-module-directory to the | |
937 Lisp reader. | |
938 | |
939 * lisp.h: Declare load_module and list_modules, as well as | |
940 Vmodule_directory, Vsite_module_directory, | |
941 Vconfigure_module_directory and Vconfigure_site_module_directory. | |
942 | |
943 * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES. | |
944 - Added correct support for site-lisp directory. | |
945 | |
946 * symbols.c (defsubr): Modified to allow modules to add new subrs | |
947 after dump time. | |
948 - (defsubr_macro): Same. | |
949 - (defvar_magick): Only use purespace when not initialized, so | |
950 that loaded modules can still add symbols. | |
951 | |
952 * symsinit.h: Add definitions for syms_of_module(), | |
953 vars_of_module(). Removed syms_of_dll(). | |
954 | |
955 * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined. | |
956 - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account. | |
957 - (dll_error): use _dlerror() if HAVE__DLERROR is defined. | |
958 | |
959 * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and | |
960 explicitly pass -belf for native cc. | |
961 | |
962 * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of | |
963 hard-coding the library name. | |
964 | |
965 1999-01-01 <martin@xemacs.org> | |
966 | |
967 * device-x.c (Fx_set_font_path): | |
968 Add proper cast to permit compilation under C++. | |
969 | |
970 * buffer.c (directory_is_current_directory): | |
971 Add proper casts to permit compilation under C++. | |
972 | |
973 1998-12-30 Damon Lipparelli <lipp@primus.com> | |
974 | |
434 * event-msw.c (mswindows_wnd_proc): | 975 * event-msw.c (mswindows_wnd_proc): |
435 * frame-msw.c (mswindows_size_frame_internal): | 976 Fixed failure when building with MSVC 5. |
436 * menubar-msw.c (mswindows_translate_menu_or_dialog_item): | 977 |
978 1998-12-29 Martin Buchholz <martin@xemacs.org> | |
979 | |
980 * file-coding.c (decode_coding_iso2022): | |
981 - Prevent crash when decoding ISO7/Lock detected files | |
982 - the usual martin fiddling | |
983 | |
984 1998-12-29 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
985 | |
986 * event-msw.c: | |
987 glyphs-msw.c: | |
988 Fixed failures when building with MSVC. | |
989 * unexnt.c (dump_bss_and_heap): | |
990 Removed compiler warning by removing bss_data variable. | |
991 | |
992 1998-12-18 Jim Radford <radford@robby.caltech.edu> | |
993 | |
994 * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions | |
995 so that packages that distribute their own fonts can access them. | |
996 | |
997 1998-12-28 Andy Piper <andy@xemacs.org> | |
998 | |
999 * glyphs-msw.c (mswindows_button_instantiate): cope with buttons | |
1000 that have an image provided. | |
1001 | |
1002 * glyphs.h: add Q_image decl. | |
1003 | |
1004 * glyphs-widget.c new functionality allowing images in | |
1005 widgets. | |
1006 (check_valid_glyph_or_image): new function to validate | |
1007 glyphs passed in through :image. | |
1008 (widget_normalize): new function. convert :image parameters into | |
1009 real glyphs if not already so. | |
1010 (widget_instantiate_1): mess with size parameters to be similar to | |
1011 :image if provided. | |
1012 (syms_of_glyphs_widget): new keyword :image. | |
1013 (image_instantiator_format_create_glyphs_widget): normalize | |
1014 buttons and allow :image. | |
1015 | |
1016 1998-12-27 Andy Piper <andy@xemacs.org> | |
1017 | |
1018 * frame-msw.c (mswindows_init_frame_1): warning elimination. | |
1019 | |
1020 * glyphs-widget.c (check_valid_anything): no-op function. | |
1021 (check_valid_callback): check callbacks in gui_items. | |
1022 (check_valid_symbol): as it sounds. | |
1023 (check_valid_string_or_vector): ditto. | |
1024 (widget_validate): modified for descriptors that are vectors or | |
1025 sequences of keyword/val pairs. | |
1026 (widget_instantiate_1): ditto. | |
1027 (image_instantiator_format_create_glyphs_widget): allow gui_item | |
1028 keywords in the instantiator. | |
1029 | |
1030 * gui.c (gui_parse_item_keywords_internal): renamed from | |
1031 gui_parse_item_keywords but taking error behaviour. | |
1032 (gui_parse_item_keywords): use it. | |
1033 (gui_parse_item_keywords_no_errors): ditto. | |
1034 (gui_item_add_keyval_pair): add Error_behavior flag and only | |
1035 signal invalid keywords if required. | |
1036 | |
1037 * gui.h: new gui signatures. | |
1038 | |
1039 * menubar.c (menu_parse_submenu_keywords): use new | |
1040 gui_item_add_keyval_pair signature. | |
1041 | |
1042 * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings. | |
1043 | |
1044 1998-12-28 Martin Buchholz <martin@xemacs.org> | |
1045 | |
1046 * XEmacs 21.2.8 is released. | |
1047 | |
1048 1998-12-28 Martin Buchholz <martin@xemacs.org> | |
1049 | |
1050 * editfns.c (get_home_directory): | |
1051 (user-home-directory): Simplify. | |
1052 | |
1053 | |
1054 * callproc.c (child_setup): | |
1055 - Environment variables were being passed to inferior processes | |
1056 using internal encoding. | |
1057 - Convert to external encoding. | |
1058 - Rename local var `tem' to better name `tail'. | |
1059 - Use Flength instead of `manual' calculation. | |
1060 | |
1061 * buffer.c (kill-buffer): | |
1062 (record-buffer): | |
1063 (set-buffer-major-mode): | |
1064 (current-buffer): | |
1065 - Fix up parameter names to correspond to docstrings. | |
1066 - Don't use `bufname' when a buffer will do as well. | |
1067 - Remove one unneeded GCPRO. | |
1068 | |
1069 * buffer.h (initial_directory): | |
1070 * buffer.c (init_initial_directory): | |
1071 - use correct conversions between internal and external format. | |
1072 (directory_is_current_directory): new function | |
1073 (init_buffer): convert initial_directory to internal format. | |
1074 - solve crashes when current working directory is non-ASCII. | |
1075 | |
1076 * alloc.c (xmalloc): | |
1077 (xcalloc): | |
1078 (xrealloc): | |
1079 - remove stupid casts, since XEmacs requires an ANSI C system. | |
1080 (lrecord_type_index): replace abort() with more readable assert(). | |
1081 | |
1082 (reset_lcrecord_stats): remove. | |
1083 (sweep_lcrecords_1): | |
1084 - replace call to reset_lcrecord_stats() with call to xzero(). | |
1085 | |
1086 1998-12-27 Martin Buchholz <martin@xemacs.org> | |
1087 | |
1088 * process-unix.c (unix_create_process): | |
1089 - Fix crash invoking program with non-ASCII name. | |
1090 Try invoking xemacs with SHELL=/bin/sh, then M-x shell. | |
1091 - Remove unused variable `env'. | |
1092 - Rename `temp' to better name `save_errno'. | |
1093 - Reorganize code for clarity. But still too chicken to nuke the | |
1094 BSD 4.2 support. | |
1095 | |
1096 1998-12-24 Martin Buchholz <martin@xemacs.org> | |
1097 | |
1098 * XEmacs 21.2.7 is released. | |
1099 | |
1100 1998-12-23 Martin Buchholz <martin@xemacs.org> | |
1101 | |
1102 * glyphs.c (decode_device_ii_format): | |
1103 - Fix indentation. | |
1104 - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *. | |
1105 | |
1106 * glyphs-x.c (x_subwindow_instantiate): | |
1107 - A image instance mask was being assigned to a image instance type! | |
1108 - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++. | |
1109 | |
1110 * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance): | |
1111 Fix indentation. | |
1112 * glyphs-x.h: Make indentation consistent. | |
1113 | |
1114 * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts. | |
1115 | |
1116 * glyphs-widget.c (check_valid_glyph): Warning suppression. | |
1117 - Make it static | |
1118 - #ifdef it out, since it's not actually used yet (FIX THIS!) | |
1119 | |
1120 * glyphs-widget.c: | |
1121 * glyphs.h: | |
1122 Move declarations of decode_device_ii_format and | |
1123 decode_image_instantiator_format into glyphs.h where they belong. | |
1124 | |
1125 1998-12-22 Martin Buchholz <martin@xemacs.org> | |
1126 | |
1127 * frame-x.c (x_delete_frame): Revert part of my changes at the | |
1128 suggestion of Gunnar Evermann - unfortunately no one really | |
1129 understands this code. | |
1130 | |
1131 * callproc.c (init_callproc): code cleanup. | |
1132 | |
1133 * free-hook.c (malloc): | |
1134 (check_malloc): | |
1135 (__free_hook): | |
1136 (__malloc_hook): | |
1137 (__realloc_hook): | |
1138 (block_input_malloc): | |
1139 (block_input_realloc): | |
1140 * device-x.c (x_delete_device): | |
1141 * emacs.c (voodoo_free_hook): | |
1142 * events.c (print_event): | |
1143 (CHECK_EVENT_TYPE): | |
1144 (CHECK_EVENT_TYPE2): | |
1145 (CHECK_EVENT_TYPE3): | |
1146 Use proper prototypes. | |
1147 Make C_E_T macros a little faster. | |
1148 Pedantic fiddly little changes. You really don't care. | |
1149 | |
1150 1998-12-22 Andy Piper <andy@xemacs.org> | |
1151 | |
1152 * redisplay-output.c (redisplay_clear_region): make sure that | |
1153 fg/bg colors get set even when we are in the border area. | |
1154 | |
1155 1998-12-13 Martin Buchholz <martin@xemacs.org> | |
1156 | |
1157 * console-msw.c: Function definitions follow coding standards | |
1158 - This prevents e.g. find-tag on Lisp_Event finding DEVENT | |
1159 | |
1160 1998-12-11 Martin Buchholz <martin@xemacs.org> | |
1161 | |
1162 * events.h (struct timeout_data): | |
1163 * event-tty.c (tty_timeout_to_emacs_event): | |
1164 * event-msw.c (mswindows_wm_timer_callback): | |
1165 * event-Xt.c (Xt_timeout_to_emacs_event): | |
1166 * event-msw.c (mswindows_cancel_dispatch_event): | |
1167 Make sure Lisp_Objects inside events are initialized to Qnil, not | |
1168 Qnull_pointer, which is now illegal. | |
1169 | |
1170 1998-12-10 Martin Buchholz <martin@xemacs.org> | |
1171 | |
1172 * lisp.h: Fix up prototypes to match alloc.c | |
1173 | |
1174 1998-12-08 Martin Buchholz <martin@xemacs.org> | |
1175 | |
1176 * windowsnt.h: Remove `support' for using index and rindex | |
1177 | |
1178 * filelock.c (current_lock_owner): | |
1179 - Change uses of index -> strchr, rindex -> strrchr | |
1180 | |
1181 1998-12-07 Martin Buchholz <martin@xemacs.org> | |
1182 | |
1183 * sysdep.c (set_descriptor_non_blocking): | |
1184 Since O_NONBLOCK is now always #defined, make use of fcntl | |
1185 conditional on F_SETFL being defined. | |
1186 | |
1187 * console-msw.c (DHEADgER): | |
1188 (DOPAQUE_DATA): | |
1189 (DEVENT): | |
1190 (DCONS): | |
1191 (DCONSCDR): | |
1192 (DSTRING): | |
1193 (DVECTOR): | |
1194 (DSYMBOL): | |
1195 (DSYMNAME): | |
1196 - max_align_t should not be visible to the user of the | |
1197 XOPAQUE_DATA macro. | |
1198 - use Bufbyte instead of char | |
1199 - parens around (FOOP (obj)) are always redundant. | |
1200 If they were necessary, we should fix the macro instead. | |
1201 - Always use string_data(foo) instead of foo->data. | |
1202 | |
1203 | |
1204 1998-12-06 Martin Buchholz <martin@xemacs.org> | |
1205 | |
1206 * frame-msw.c (mswindows_init_frame_1): | |
1207 - use make_lisp_hash_table, not Fmake_hash_table | |
1208 - include elhash.h | |
1209 | |
1210 * lisp.h: | |
1211 * alloc.c (make_vector): remove travesty | |
1212 (Fmake_vector): | |
1213 (make_pure_vector): | |
1214 (pure_cons): | |
1215 (make_bit_vector_internal): | |
1216 (make_bit_vector): | |
1217 (make_bit_vector_from_byte_vector): | |
1218 (Fmake_bit_vector): | |
1219 - make vector_equal a little faster. | |
1220 - Don't use variable name `new'. | |
1221 - Use size_t instead of EMACS_INT. | |
1222 - usual Martin-style pointless bit-twiddling. | |
1223 | |
1224 * fns.c (mapcar1): | |
1225 (Fmapconcat): | |
1226 (Fmapcar): | |
1227 (Fmapvector): | |
1228 Make mapcar faster. In particular, make | |
1229 (mapc #'identity long-string) | |
1230 MUCH faster under Mule. | |
1231 * tests/automated/lisp-tests.el: Test 'em! | |
1232 | |
1233 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded | |
1234 bytecode. | |
1235 | |
1236 1998-12-01 Martin Buchholz <martin@xemacs.org> | |
1237 | |
1238 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use | |
1239 Qnil, not NULL, to initialize `null' Lisp_Objects. | |
1240 | |
1241 1998-11-29 Hrvoje Niksic <hniksic@srce.hr> | |
1242 | |
1243 * specifier.c (display_table_validate): Update. | |
1244 | |
1245 * redisplay.c (create_text_block): Use them. | |
1246 | |
1247 * glyphs.c (display_table_entry): New function. | |
1248 (get_display_tables): Ditto. | |
1249 | |
1250 1998-12-15 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> | |
1251 | |
1252 * eldap.c (toplevel): Mention that eldap.c compiles with | |
1253 OpenLDAP libs | |
1254 (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA' | |
1255 (Fldap_search_internal): Ditto | |
1256 | |
1257 1998-12-11 Martin Buchholz <martin@xemacs.org> | |
1258 | |
1259 * event-msw.c (mswindows_cancel_dispatch_event): | |
1260 Gratuitous code prettification | |
1261 | |
1262 | |
1263 1998-12-07 Hrvoje Niksic <hniksic@srce.hr> | |
1264 | |
1265 * fns.c (Fnconc): Fix use of wrong_type_argument(). | |
1266 | |
1267 * floatfns.c (Ffloat): Fix docstring. | |
1268 (Ffloat): Fix use of wrong_type_argument(). | |
1269 (Fabs): Ditto. | |
1270 (extract_float): Ditto. | |
1271 (Fceiling): Ditto. | |
1272 (Fround): Ditto. | |
1273 (Ftruncate): Ditto. | |
1274 | |
1275 1998-12-06 Martin Buchholz <martin@xemacs.org> | |
1276 | |
1277 * frame-msw.c (mswindows_init_frame_1): | |
1278 - use make_lisp_hash_table, not Fmake_hash_table | |
1279 - include elhash.h | |
1280 | |
1281 * lisp.h: | |
1282 * alloc.c (make_vector): remove travesty | |
1283 (Fmake_vector): | |
1284 (make_pure_vector): | |
1285 (pure_cons): | |
1286 (make_bit_vector_internal): | |
1287 (make_bit_vector): | |
1288 (make_bit_vector_from_byte_vector): | |
1289 (Fmake_bit_vector): | |
1290 - make vector_equal a little faster. | |
1291 - Don't use variable name `new'. | |
1292 - Use size_t instead of EMACS_INT. | |
1293 - usual Martin-style pointless bit-twiddling. | |
1294 | |
1295 * fns.c (mapcar1): | |
1296 (Fmapconcat): | |
1297 (Fmapcar): | |
1298 (Fmapvector): | |
1299 Make mapcar faster. In particular, make | |
1300 (mapc #'identity long-string) | |
1301 MUCH faster under Mule. | |
1302 * tests/automated/lisp-tests.el: Test 'em! | |
1303 | |
1304 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded | |
1305 bytecode. | |
1306 | |
1307 1998-12-02 Didier Verna <verna@inf.enst.fr> | |
1308 | |
1309 * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the | |
1310 accelerator field to nil for labels. | |
1311 | |
1312 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
1313 | |
437 * menubar-msw.c (displayable_menu_item): | 1314 * menubar-msw.c (displayable_menu_item): |
438 * menubar-msw.c (mswindows_char_is_accelerator): | 1315 Escape occurrences of '&' and support occurrences of the |
439 * nt.c: | 1316 '%_' accelerator indicator in menus. |
440 * nt.c (mswindows_sigset): | 1317 |
441 * nt.c (mswindows_sigrelse): | 1318 1998-11-26 Didier Verna <verna@inf.enst.fr> |
442 * nt.c (mswindows_sigpause): | 1319 |
443 * nt.c (mswindows_raise): | 1320 * dired.c (Fdirectory_files): use make_string instead of |
444 * nt.c (timer_proc): | 1321 make_ext_string on the filename. The conversion external->internal |
445 * ntproc.c: | 1322 format is already done in sys_readdir. |
446 * ntproc.c (find_child_console): | 1323 |
447 * ntproc.c (sys_kill): | 1324 1998-12-15 Gunnar Evermann <ge204@eng.cam.ac.uk> |
448 * print.c: | 1325 |
449 * print.c (std_handle_out_external): | 1326 * glyphs.c (normalize_image_instantiator): GCPRO instantiator |
450 * process-nt.c (find_child_console): | 1327 |
451 * process-nt.c (send_signal_the_95_way): | 1328 1998-12-16 Jonathan Harris <jhar@tardis.ed.ac.uk> |
452 * process-nt.c (ensure_console_window_exists): | 1329 |
453 * process-nt.c (nt_create_process): | 1330 * event-msw.c |
454 * syssignal.h: | 1331 (Belatedly) added Kirill to list of file's authors. |
455 rename msw_ to mswindows_ for consistency with general convention. | 1332 emacs_mswindows_quit_p: Don't process WM_PAINT messages in |
456 | 1333 quit checking. WM_PAINT messages cause redisplay, but |
457 * emacs.c: | 1334 windows' states are not necessarily stable when this function |
458 * dumper.c: | 1335 gets called. |
459 include nt.h, not syswindows.h. | 1336 |
460 | 1337 1998-12-17 Andy Piper <andy@xemacs.org> |
461 * nt.c (mswindows_fstat): | 1338 |
462 * nt.c (mswindows_stat): | 1339 * strftime.c (zone_name): CONSTify. |
463 prefix mswindows_ instead of attempting to directly override the | 1340 |
464 library functions. fix declarations. | 1341 1998-12-15 Andy Piper <andy@xemacs.org> |
465 | 1342 |
466 * nt.h: | 1343 * glyphs-msw.c (mswindows_combo_instantiate): ditto. |
467 include syswindows.h. move some sysdep.h stuff here. | 1344 (mswindows_widget_property): return Qunbound when no property available. |
468 | 1345 (mswindows_button_property): ditto. |
469 * ntheap.h: | 1346 (mswindows_combo_property): ditto. |
470 include syswindows.h, not <windows.h>. | 1347 (mswindows_widget_set_property): ditto. |
471 | 1348 |
472 * ntplay.c: | 1349 * glyphs-widget.c (check_valid_item_list): use properties. |
473 clean up headers. | 1350 |
474 | 1351 * glyphs.h (struct Lisp_Image_Instance): we have properties now. |
475 * sysdep.c: | 1352 |
476 clean up headers. | 1353 * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties. |
477 | 1354 (Fimage_instance_property): ditto. |
478 * sysdep.c (sys_fstat): | 1355 * glyphs-widget.c (widget_property): ditto. |
479 * sysdep.c (sys_stat): | 1356 (widget_set_property): ditto. |
480 call mswindows versions when appropriate. | 1357 |
481 | 1358 * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well |
482 * sysdep.h: | 1359 as setting the class cursor so that GC actually changes the |
483 move mswin decls to nt.h. | 1360 cursor. |
484 | 1361 |
485 * syswindows.h: | 1362 * config.h: don't undef MAIL_USE_POP. |
486 add long comment describing appropriate use of the various windows | 1363 |
487 headers. | 1364 1998-12-13 Andy Piper <andy@xemacs.org> |
488 | 1365 |
489 2000-06-11 Ben Wing <ben@xemacs.org> | 1366 * glyphs-msw.c |
490 | 1367 (image_instantiator_format_create_glyphs_mswindows): line -> |
491 * device-x.c: Correct doc string for sixth arg of x-get-resource. | 1368 label. |
492 | 1369 (mswindows_label_instantiate): ditto. Play with window flags. |
493 2000-06-10 Ben Wing <ben@xemacs.org> | 1370 (image_instantiator_format_create_glyphs_mswindows): ditto. |
494 | 1371 (vars_of_glyphs_mswindows): provide Qlabel as we support it now. |
495 * Makefile.in.in (release): | 1372 |
496 Correction to make sure xemacs.exe always dumped when correct. | 1373 * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to |
497 | 1374 cope with lines and labels. |
498 * alloca.c: | 1375 (static_instantiate): use widget_instantiate_1. |
499 * balloon_help.c: | 1376 line -> label. |
500 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT. | 1377 (image_instantiator_format_create_glyphs_widget): ditto. |
501 | 1378 |
502 * buffer.c (set_buffer_internal): | 1379 1998-12-10 Andy Piper <andy@xemacs.org> |
503 [[[[2]]]]: Remove HAVE_FEP code. | 1380 |
504 | 1381 * Makefile.in.in (objs): add gui.o |
505 * buffer.c (init_initial_directory): | 1382 |
506 [3]. | 1383 1998-12-10 Andy Piper <andy@xemacs.org> |
507 | 1384 |
508 * bytecode.c: | 1385 * gui.c: adjust defines of HAVE_POPUPS so that we can build with |
509 [[[[4]]]]: limits.h standardly included in lisp.h; remove from | 1386 no window system. |
510 individual files. | 1387 |
511 | 1388 1998-12-09 Andy Piper <andy@xemacs.org> |
512 * callproc.c: | 1389 |
513 * callproc.c (call_process_cleanup): | 1390 * glyphs.c (finalize_image_instance): mark glyphs changed when an |
514 * callproc.c (Fold_call_process_internal): | 1391 image instance is removed so that the subwindow cache gets reset |
515 * callproc.c (child_setup): | 1392 and thus destroyed images get GC'd. |
516 * callproc.c (getenv_internal): | 1393 |
517 * callproc.c (init_callproc): | 1394 1998-12-08 Andy Piper <andy@xemacs.org> |
518 * callproc.c (vars_of_callproc): | 1395 |
519 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE. | 1396 * gui-msw.c (mswindows_handle_gui_wm_command): call |
520 __CYGWIN32__ -> CYGWIN. | 1397 MARK_SUBWINDOWS_CHANGED. |
521 DOS_NT -> WIN32_NATIVE. | 1398 |
522 Remove MSDOS support/references, converting to WIN32_NATIVE | 1399 * glyphs-msw.c (mswindows_finalize_image_instance): make sure |
523 where correct. | 1400 subwindows really get deleted. |
524 __MINGW32__ -> MINGW. | 1401 |
525 Fix windows.h includes. | 1402 * redisplay.c: new variable subwindows_changed[_set]. |
526 Remove bogus HAVE_NTGUI. | 1403 (redisplay_window): use it. |
527 | 1404 (redisplay_frame): ditto. |
528 * config.h.in: | 1405 (redisplay_device): ditto. |
529 [2]. | 1406 (redisplay_without_hooks): ditto. |
530 | 1407 |
531 * console-msw.c: | 1408 * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for |
532 mswindows_message_outputted added for use in allowing startup | 1409 subwindows redisplay as per glyphs equivalent. |
533 errors on the console to be seen. | 1410 * redisplay.h: ditto. |
534 | 1411 (MARK_SUBWINDOWS_CHANGED): ditto. |
535 * console-msw.c (msw_ensure_console_allocated): | 1412 (RESET_CHANGED_SET_FLAGS): ditto. |
536 * console-msw.c (msw_output_console_string): | 1413 * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto. |
537 * console-msw.c (DHEADER): | 1414 |
538 * console-msw.c (DOPAQUE_DATA): | 1415 1998-12-07 Andy Piper <andy@xemacs.org> |
539 * console-msw.c (DEVENT): | 1416 |
540 * console-msw.c (DCONS): | 1417 * frame.c (Fmake_frame): reset subwindow cachels on non-stream |
541 * console-msw.c (DCONSCDR): | 1418 frames. |
542 * console-msw.c (DSTRING): | 1419 |
543 * console-msw.c (DVECTOR): | 1420 * redisplay.c (redisplay_frame): invalidate subwindow cachels. |
544 * console-msw.c (DSYMBOL): | 1421 |
545 * console-msw.c (DSYMNAME): | 1422 * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR* |
546 Fix warnings. | 1423 messages and paint widget glyphs as appropriate with their face fg |
547 | 1424 & bg. |
548 * console-stream.c (stream_init_console): | 1425 |
549 Fix text/binary problems. | 1426 1998-12-06 Andy Piper <andy@xemacs.org> |
550 | 1427 |
551 * device-msw.c: | 1428 * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types |
552 * device-msw.c (mswindows_finish_init_device): | 1429 here rather than in glyphs-widget - do this because we only want |
553 * device-msw.c (mswindows_delete_device): | 1430 to provide what is really available. |
554 [1]. | 1431 |
555 | 1432 * glyphs.c (Fimage_instance_property): new function to get the |
556 * device.c (handle_asynch_device_change): | 1433 properties of image instances. wires through to console specific |
557 [3]. | 1434 methods and then to widget specific methods. |
558 | 1435 (Fset_image_instance_property): ditto but for setting widget properties. |
559 * dgif_lib.c: | 1436 (check_valid_face): make extern so that it can be used elsewhere. |
560 * dgif_lib.c (DGifOpenFileName): | 1437 |
561 * dgif_lib.c (DGifOpenFileHandle): | 1438 * glyphs-widget.c (widget_property): new function. gets the |
562 * dgif_lib.c (DGifGetLine): | 1439 properties of widgets in general and wires the function through to |
563 * dgif_lib.c (DGifGetPixel): | 1440 widget specific ones. |
564 Added config.h/lisp.h, fix up includes. | 1441 (widget_set_property): ditto but for setting widget properties. |
565 [1]. | 1442 |
566 | 1443 * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to |
567 * dired-msw.c: | 1444 add items to the list. Play with window styles a bit to get the |
568 [4]. | 1445 desired effect. |
569 | 1446 (mswindows_widget_property): break out specific widget properties. |
570 * dired.c: | 1447 (mswindows_button_property): new function. gets the checked state |
571 * dired.c (file_name_completion): | 1448 of a button. |
572 * dired.c (Ffile_attributes): | 1449 (mswindows_combo_property): new function. gets the current |
573 * dired.c (syms_of_dired): | 1450 selection in the combo box. |
574 [1]. | 1451 (mswindows_widget_set_property): new function. sets specific |
575 | 1452 properties of specific widgets. |
576 * dumper.c: | 1453 |
577 * dumper.c (pdump_file_unmap): | 1454 * glyphs-widget.c (check_valid_item_list): new function. check |
578 * dumper.c (pdump_load): | 1455 that items for a combo-box are just a list of strings. |
579 [1]. | 1456 (combo_validate): new function. check there is an item list. |
580 | 1457 (widget_instantiate_1): new function. renamed from |
581 * editfns.c: | 1458 widget_instantiate so that we can do slightly different things for |
582 * editfns.c (Ftemp_directory): | 1459 other widgets. |
583 * editfns.c (user_login_name): | 1460 (widget_instantiate): call widget_instantiate_1. |
584 * editfns.c (Fuser_real_login_name): | 1461 (combo_instantiate): new function to instantiate combo boxes, |
585 * editfns.c (get_home_directory): | 1462 defaults height to the pixel height of the number of items in the |
586 [1]. | 1463 box. |
587 | 1464 (syms_of_glyphs_widget): move widget keywords here. |
588 * elhash.c (finish_marking_weak_hash_tables): | 1465 (image_instantiator_format_create_glyphs_widget): use new combo |
589 [[[[5]]]]: Fix GCC warnings. | 1466 functions. |
590 | 1467 |
591 * emacs.c: | 1468 1998-12-04 Andy Piper <andy@xemacs.org> |
592 * emacs.c (mswindows_handle_hardware_exceptions): | 1469 |
593 * emacs.c (make_arg_list_1): | 1470 * event-msw.c (mswindows_wnd_proc): mule-ize. |
594 * emacs.c (main_1): | 1471 |
595 * emacs.c (Fkill_emacs): | 1472 * glyphs.c (pixmap_to_lisp_data): mule-ize. |
596 * emacs.c (Fdump_emacs): | 1473 |
597 [1]. | 1474 * glyphs-msw.c (extract_xpm_color_names): mule-ize. |
598 Fix problems with nested crashes, add long comment. | 1475 (resource_name_to_resource): ditto. |
599 | 1476 (mswindows_resource_instantiate): ditto. |
600 * event-Xt.c (init_event_Xt_late): | |
601 [1]. | |
602 | |
603 * event-msw.c: | |
604 * event-msw.c (mswindows_dde_callback): | |
605 * event-msw.c (mswindows_handle_sticky_modifiers): | |
606 * event-msw.c (mswindows_wnd_proc): | |
607 [1]. | |
608 [5]. | |
609 | |
610 * events.c (character_to_event): | |
611 [1]. | |
612 | |
613 * fileio.c: | |
614 * fileio.c (Ffile_name_directory): | |
615 * fileio.c (Ffile_name_nondirectory): | |
616 * fileio.c (directory_file_name): | |
617 * fileio.c (Fexpand_file_name): | |
618 * fileio.c (Fsubstitute_in_file_name): | |
619 * fileio.c (Ffile_name_absolute_p): | |
620 * fileio.c (check_executable): | |
621 * fileio.c (Ffile_readable_p): | |
622 * fileio.c (Ffile_accessible_directory_p): | |
623 * fileio.c (Ffile_modes): | |
624 * fileio.c (Funix_sync): | |
625 * fileio.c (vars_of_fileio): | |
626 [1]. [4]. | |
627 | |
628 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h. | |
629 | |
630 Expand getdefdir defn. | |
631 Fix bogus rename() comment. | |
632 | |
633 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt | |
634 to use standard XEmacs include files, e.g. sysfile.h, rather | |
635 than system-specific includes. | |
636 | |
637 * fns.c: | |
638 * fns.c (Fsubseq): | |
639 [5]. [6]. | |
640 | |
641 * frame.c (vars_of_frame): | |
642 [1]. | |
643 | |
644 * getloadavg.c: | |
645 * getloadavg.c (getloadavg): | |
646 [1]. [6]. | |
647 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it. | |
648 (We don't use it elsewhere in the code; just add a comment.) | |
649 | |
650 * gif_io.c: | |
651 [6]. | |
652 Add config.h. | |
653 | |
654 * glyphs-msw.c: | |
655 * glyphs-msw.c (mswindows_resource_instantiate): | |
656 [1]. | |
657 | |
658 * glyphs-x.c (x_native_layout_instantiate): | |
659 [5]. | |
660 | |
661 * gui-msw.c (Fmswindows_shell_execute): | |
662 [1]. | |
663 | |
664 * insdel.c: | |
665 [4]. | |
666 | |
667 * lisp.h: | |
668 [4]. [5]. | |
669 | |
670 * lread.c (locate_file_in_directory_mapper): | |
671 [1]. | |
672 | |
673 * lstream.c: | |
674 [4]. | |
675 | |
676 * mem-limits.h: | |
677 * mem-limits.h (get_lim_data): | |
678 [1]. | |
679 | |
680 * menubar-msw.c: | |
681 [4]. | |
682 | |
683 * ndir.h: | |
684 [1]. | |
685 | |
686 * nt.c: | |
687 * nt.c (getwd): | |
688 * nt.c (closedir): | |
689 * nt.c (rva_to_section): | |
690 * nt.c (mswindows_executable_type): | |
691 [1]. [6]. | |
692 Fix closedir() defn. | |
693 | |
694 * nt.h: | |
695 [[[[8]]]]: *_OK defs moved to sysfile.h. | |
696 | |
697 * ntproc.c: | |
698 [6]. [7]. | |
699 | |
700 * objects-x.c: | |
701 [4]. | |
702 | |
703 * print.c: | |
704 * print.c (std_handle_out_external): | |
705 [1]. [4]. | |
706 | |
707 * process-nt.c: | |
708 * process-nt.c (nt_create_process): | |
709 [6]. | |
710 try to fix process quoting somewhat. | |
711 | |
712 * process-unix.c (unix_create_process): | |
713 [1]. | |
714 | |
715 * process.c: | |
716 * process.c (vars_of_process): | |
717 Add Vnull_device. | |
718 | |
719 * process.h: | |
720 [1]. | |
721 | |
722 * realpath.c: | |
723 * realpath.c (xrealpath): | |
724 [1]. | |
725 | |
726 * redisplay-tty.c (init_tty_for_redisplay): | |
727 [3]. | |
728 | |
729 * redisplay.c: | |
730 [4]. [6]. | |
731 | |
732 * scrollbar-msw.c: | |
733 [4]. | |
734 | |
735 * sheap.c: | |
736 * sheap.c (more_static_core): | |
737 * sheap.c (report_sheap_usage): | |
738 [5]. [6]. | |
739 | |
740 * signal.c: | |
741 * signal.c (alarm_signal): | |
742 [1]. [6]. | |
743 | |
744 * sound.c: | |
745 [6]. | |
746 | |
747 * strftime.c: | |
748 * strftime.c (zone_name): | |
749 [1]. [5]. | |
750 | |
751 * symsinit.h (init_sunpro): | |
752 [1]. | |
753 | |
754 * syscommctrl.h: | |
755 commctrl.h not in Cygwin b20.1. | |
756 | |
757 * sysdep.c: | |
758 * sysdep.c (endif): | |
759 * sysdep.c (sys_subshell): | |
760 * sysdep.c (init_baud_rate): | |
761 * sysdep.c (emacs_get_tty): | |
762 * sysdep.c (emacs_set_tty): | |
763 * sysdep.c (tty_init_sys_modes_on_device): | |
764 * sysdep.c (init_system_name): | |
765 * sysdep.c (sys_open): | |
766 * sysdep.c (interruptible_open): | |
767 * sysdep.c (sys_fopen): | |
768 * sysdep.c (sys_mkdir): | |
769 * sysdep.c (sys_rename): | |
770 * sysdep.c (get_process_times_1): | |
771 [1]. [6]. | |
772 | |
773 * sysdep.h: | |
774 [1]. | |
775 | |
776 * sysdir.h: | |
777 * sysdir.h (DIRENTRY_NONEMPTY): | |
778 [1]. [6]. | |
779 | |
780 * sysdll.c (dll_init): | |
781 * sysdll.h: | |
782 [1]. | |
783 | |
784 * sysfile.h: | |
785 [1]. [6]. [8]. | |
786 added text/binary defs. | |
787 | |
788 * sysfloat.h: | |
789 [1]. | |
790 | |
791 * sysproc.h: | |
792 * sysproc.h (EDESTADDRREQ): | |
793 * sysproc.h (poll_fds_for_input): | |
794 [1]. [6]. | |
795 | |
796 * syspwd.h: | |
797 [6]. | |
798 | |
799 * syssignal.h: | |
800 [1]. | |
801 | |
802 * systime.h: | |
803 [1]. [6]. | |
804 | |
805 * systty.h: | |
806 [1]. | |
807 | |
808 * syswindows.h: | |
809 [1]. | |
810 Always define WIN32_LEAN_AND_MEAN. | |
811 | |
812 * unexcw.c (unexec): | |
813 [5]. | |
814 | |
815 * unexec.c: | |
816 * unexec.c (copy_text_and_data): | |
817 * unexec.c (adjust_lnnoptrs): | |
818 [1]. | |
819 | |
820 * unexnt.c: | |
821 * unexnt.c (_start): | |
822 [1]. | |
823 | |
824 2000-06-07 Ben Wing <ben@xemacs.org> | |
825 | |
826 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that | |
827 was used only as a model. We've long since extracted any useful | |
828 logic or code out of this. (I just did an exhaustive search.) | |
829 | |
830 * s\msdos.h: Removed. | |
831 | |
832 * s\windows95.h: Removed. | |
833 | |
834 2000-06-10 Ben Wing <ben@xemacs.org> | |
835 | |
836 * s\cygwin32.h: | |
837 [1]. [5]. | |
838 Don't use extern with fun defs. | |
839 | |
840 * s\mingw32.h: | |
841 [1]. [7]. | |
842 Remove nt\inc include. | |
843 Remove getdisk, getdefdir. (The former is unused, the latter | |
844 expanded in fileio.h.) | |
845 | |
846 * s\windowsnt.h: | |
847 * s\windowsnt.h (WIN32_NATIVE): | |
848 * s\windowsnt.h (HAVE_STRCASECMP): | |
849 [1]. [7]. | |
850 Add long comment about preprocessor changes. | |
851 Remove getdisk, getdefdir. (The former is unused, the latter | |
852 expanded in fileio.h.) | |
853 | |
854 2000-06-10 Ben Wing <ben@xemacs.org> | |
855 | |
856 * m\arm.h: | |
857 * m\delta.h: | |
858 * m\intel386.h: | |
859 * m\sequent.h: | |
860 * m\template.h: | |
861 * m\windowsnt.h: | |
862 [1]. | |
863 Remove bogus/unused NO_SOCK_SIGIO. | |
864 | |
865 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr> | |
866 | |
867 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte, | |
868 not an Emchar. | |
869 | |
870 2000-06-04 Mike Sperber <mike@xemacs.org> | |
871 | |
872 * casetab.c (set_case_table): For `set-standard-case-table', | |
873 actually deposit the new case tables where the rest of XEmacs can | |
874 see them. | |
875 | |
876 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org> | |
877 | |
878 * data.c (Faset): Don't cast XCHAR() to unsigned char. | |
879 | |
880 2000-06-05 Ben Wing <ben@xemacs.org> | |
881 | |
882 * callproc.c (child_setup): Don't do close_load_descs() under | |
883 MS Windows. Put in a comment explaining why. | |
884 | |
885 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com> | |
886 | |
887 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS | |
888 Toolkit shell" which breaks `kill-compilation' on Windows NT | |
889 native, retaining STDERR handling improvements. | |
890 | |
891 2000-06-01 Andreas Jaeger <aj@suse.de> | |
892 | |
893 * s/s390.h: Support for S390, based on a patch by Martin | |
894 Schwidefsky <schwidefsky@de.ibm.com>. | |
895 | |
896 2000-05-30 Andy Piper <andy@xemacs.org> | |
897 | |
898 * window.c (allocate_window): | |
899 (make_dummy_parent): | |
900 (Fset_window_configuration): use new hashtable type. | |
901 | |
902 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY): | |
903 (struct image_instantiator_methods): | |
904 (struct Lisp_Image_Instance): make instance geometry signed. | |
905 | |
906 * glyphs.c (instantiate_image_instantiator): | |
907 (image_instance_query_geometry): | |
908 (image_instance_layout): | |
909 (image_instance_layout): | |
910 (query_string_geometry): | |
911 (text_query_geometry): | |
912 (image_instantiate): | |
913 (image_instantiate): | |
914 (cache_subwindow_instance_in_frame_maybe): | |
915 (subwindow_query_geometry): make instance geometry signed. | |
916 | |
917 * glyphs-widget.c (widget_query_geometry): | |
918 (widget_layout): | |
919 (button_query_geometry): | |
920 (tree_view_query_geometry): | |
921 (tab_control_query_geometry): | |
922 (layout_query_geometry): | |
923 (layout_layout): | |
924 (native_layout_layout): make instance geometry signed. | |
925 | |
926 2000-05-29 Olivier Galibert <galibert@pobox.com> | |
927 | |
928 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC | |
929 constant. | |
930 | |
931 * general.c (syms_of_general): Add Qfull_assoc symbol. | |
932 | |
933 * data.c (finish_marking_weak_lists): Mark full-assoc lists | |
934 correctly. | |
935 (decode_weak_list_type): Decode full-assoc type. | |
936 (encode_weak_list_type): Encode full-assoc type. | |
937 (Fmake_weak_list): Update doc string. | |
938 | |
939 2000-05-30 Andy Piper <andy@xemacs.org> | |
940 | |
941 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable. | |
942 | |
943 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable. | |
944 (decode_hash_table_weakness): ditto. | |
945 (Fhash_table_weakness): ditto. | |
946 (Fhash_table_type): ditto. | |
947 (finish_marking_weak_hash_tables): ditto. | |
948 (hash_table_weakness_validate): ditto. | |
949 (syms_of_elhash): ditto. | |
950 | |
951 2000-05-28 Martin Buchholz <martin@xemacs.org> | |
952 | |
953 * XEmacs 21.2.34 is released. | |
954 | |
955 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch> | |
956 | |
957 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line | |
958 start cache. | |
959 (updating_line_start_cache): Gone. | |
960 (regenerate_window): Replace resetting of VERTICAL_CLIP by | |
961 generic code to force a minimum of 1 line laid out in the | |
962 CMOTION_DISP case. | |
963 | |
964 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch> | |
965 | |
966 * glyphs.c (instantiate_image_instantiator): Check for initialized | |
967 height & width no longer special cases IMAGE_NOTHING. | |
968 (nothing_instantiate): Set height and width of instance. | |
969 | |
970 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org> | |
971 | |
972 * unexelf.c (unexec): Search for ".data" section. | |
973 Initialize new_data2_offset from old_data_index. | |
974 Remove redundant check for ElfW. | |
975 | |
976 2000-05-23 Andy Piper <andy@xemacs.org> | |
977 | |
978 * glyphs.c (get_image_instantiator_governing_domain): allow more | |
979 specific domains as the governing domain rather than expecting an | |
980 exact match. This fixes problems with layouts. | |
981 | |
982 2000-05-22 Andy Piper <andy@xemacs.org> | |
983 | |
984 * redisplay-output.c (compare_runes): check for non-images | |
985 | |
986 * glyphs.c (set_glyph_dirty_p): ditto. | |
987 (update_glyph_cachel_data): ditto. | |
988 | |
989 * glyphs-widget.c (layout_post_instantiate): ditto. | |
990 (layout_post_instantiate): ditto. | |
991 | |
992 * event-msw.c (mswindows_wnd_proc): warning removal. | |
993 | |
994 2000-05-12 Craig Lanning <CraigL@DyCon.com> | |
995 | |
996 * s\mingw32.h: Added #undef for CLASH_DETECTION. | |
997 | |
998 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h. | |
999 | |
1000 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h. | |
1001 | |
1002 * nt.c (rva_to_section): mingw32 needs rva_to_section. | |
1003 (mswindows_executable_type): mingw32 now has enough headers for | |
1004 this to work. | |
1005 | |
1006 2000-05-20 Andy Piper <andy@xemacs.org> | |
1007 | |
1008 * console-msw.c (mswindows_output_last_error): ; -> , | |
1009 | |
1010 2000-05-12 Andy Piper <andy@xemacs.org> | |
1011 | |
1012 * console-msw.c (FROB): compare ints with ints. | |
1013 | |
1014 2000-05-11 Andy Piper <andy@xemacs.org> | |
1015 | |
1016 * glyphs-x.c (x_finalize_image_instance): make minimal build | |
1017 happy. | |
1018 | |
1019 2000-05-20 Ben Wing <ben@xemacs.org> | |
1020 | |
1021 * event-Xt.c: | |
1022 * event-Xt.c (vars_of_event_Xt): | |
1023 move modifier-keys-are-sticky to event-stream.c. | |
1024 | |
1025 * event-msw.c: | |
1026 * event-msw.c (mswindows_enqueue_mouse_button_event): | |
1027 * event-msw.c (key_needs_default_processing_p): | |
1028 * event-msw.c (XEMSW_LCONTROL): | |
1029 * event-msw.c (mswindows_handle_sticky_modifiers): | |
1030 * event-msw.c (FROB): | |
1031 * event-msw.c (clear_sticky_modifiers): | |
1032 * event-msw.c (output_modifier_keyboard_state): | |
1033 * event-msw.c (output_alt_keyboard_state): | |
1034 * event-msw.c (mswindows_wnd_proc): | |
1035 * event-msw.c (mswindows_modifier_state): | |
1036 * event-msw.c (emacs_mswindows_handle_magic_event): | |
1037 implement sticky modifiers. | |
1038 | |
1039 * event-stream.c: | |
1040 * event-stream.c (vars_of_event_stream): | |
1041 move modifier-keys-are-sticky here. | |
1042 | |
1043 * lisp.h: | |
1044 add CHECK_FUNCTION. | |
1045 | |
1046 * rangetab.c: | |
1047 implement map-range-table. | |
1048 | |
1049 | |
1050 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org> | |
1051 | |
1052 * redisplay-tty.c (reset_tty_modes): | |
1053 (tty_redisplay_shutdown): Adjust argument type to | |
1054 tty_frame_output_end. | |
1055 | |
1056 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org> | |
1057 | |
1058 * eval.c (Fbacktrace): Don't output a line with only right | |
1059 parenthesis. | |
1060 | |
1061 2000-05-17 Kenji Itoh <keit@tpj.co.jp> | |
1062 | |
1063 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'. | |
1064 (Fpq_reset_poll): Ditto. | |
1065 | |
1066 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org> | |
1067 | |
1068 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end. | |
1069 | |
1070 2000-05-16 Ben Wing <ben@xemacs.org> | |
1071 | |
1072 * buffer.c: | |
1073 * buffer.c (dfc_convert_to/from_internal_format): | |
1074 * buffer.c (reinit_vars_of_buffer): | |
1075 Fix conversion functions to allow reentrancy. | |
1076 | |
1077 * console-msw.c: | |
1078 * console-msw.c (mswindows_output_last_error): | |
1079 New fun, generally useful -- output a human-readable | |
1080 version of GetLastError() on the console. | |
1081 | |
1082 * console-msw.h: | |
1083 * console-msw.h (struct mswindows_frame): | |
1084 Changes for DeferWindowPos. Declare mswindows_output_last_error(). | |
1085 | |
1086 * console-stream.c (stream_output_begin): | |
1087 * console-stream.c (stream_output_end): | |
1088 * console-stream.c (stream_output_vertical_divider): | |
1089 * console-stream.c (stream_clear_region): | |
1090 * console-stream.c (stream_flash): | |
1091 * console-stream.c (console_type_create_stream): | |
1092 Delete blank stream methods, not needed. | |
1093 | |
1094 * console.h (struct console_methods): | |
1095 Split begin/end methods into window and frame. | |
1096 | |
1097 * event-msw.c: | |
1098 * event-msw.c (mswindows_handle_paint): | |
1099 * event-msw.c (output_alt_keyboard_state): | |
1100 * event-msw.c (mswindows_wnd_proc): | |
1101 * event-msw.c (vars_of_event_mswindows): | |
1102 Comment about problems with ignored-expose. | |
1103 Define mswindows-debug-events; not really implemented. | |
1104 | |
1105 * frame-msw.c (mswindows_init_frame_1): | |
1106 random cleanups. | |
1107 | |
1108 * glyphs-msw.c: | |
1109 * glyphs-msw.c (begin_defer_window_pos): | |
1110 * glyphs-msw.c (mswindows_unmap_subwindow): | |
1111 * glyphs-msw.c (mswindows_map_subwindow): | |
1112 * glyphs-msw.c (mswindows_resize_subwindow): | |
1113 Use DeferWindowPos to reduce flashing when mapping/unmapping. | |
1114 | |
1115 * glyphs.c (make_image_instance_1): | |
1116 Fix crash. | |
1117 | |
1118 * gutter.c (Fredisplay_gutter_area): | |
1119 Use new begin/end methods. | |
1120 | |
1121 * lisp.h (Dynarr_new2): | |
1122 New creation fun. | |
1123 | |
1124 * redisplay-msw.c: | |
1125 * redisplay-msw.c (mswindows_frame_output_begin): | |
1126 * redisplay-msw.c (mswindows_frame_output_end): | |
1127 * redisplay-msw.c (console_type_create_redisplay_mswindows): | |
1128 New begin/end methods -- handle DeferWindowPos. | |
1129 | |
1130 * redisplay-output.c (redisplay_move_cursor): | |
1131 * redisplay-output.c (redraw_cursor_in_window): | |
1132 * redisplay-output.c (redisplay_update_line): | |
1133 * redisplay-output.c (redisplay_output_window): | |
1134 New begin/end methods. | |
1135 | |
1136 * redisplay-tty.c: | |
1137 * redisplay-tty.c (tty_frame_output_begin): | |
1138 * redisplay-tty.c (tty_frame_output_end): | |
1139 * redisplay-tty.c (console_type_create_redisplay_tty): | |
1140 New begin/end methods. | |
1141 | |
1142 * redisplay-x.c: | |
1143 * redisplay-x.c (x_window_output_begin): | |
1144 * redisplay-x.c (x_window_output_end): | |
1145 * redisplay-x.c (console_type_create_redisplay_x): | |
1146 New begin/end methods. | |
1147 | |
1148 * redisplay.c (redisplay_frame): | |
1149 * redisplay.c (Fredisplay_echo_area): | |
1150 New begin/end methods. | |
1151 use MAYBE_DEVMETH for clear_frame; it may not exist. | |
1152 | |
1153 * window.h (WINDOW_XFRAME): | |
1154 WINDOW_XFOO macros -- get locale and decode struct pointer. | |
1155 | |
1156 | |
1157 2000-05-12 Ben Wing <ben@xemacs.org> | |
1158 | |
1159 * emacs.c: | |
1160 * emacs.c (ensure_no_quitting_from_now_on): | |
1161 * emacs.c (fatal_error_signal): | |
1162 * emacs.c (mswindows_handle_hardware_exceptions): | |
1163 * emacs.c (main): | |
1164 * emacs.c (Fkill_emacs): | |
1165 * emacs.c (shut_down_emacs): | |
1166 * emacs.c (assert_failed): | |
1167 various improvements in fatal error handling. | |
1168 | |
1169 * eval.c: | |
1170 move preparing_for_armageddon to emacs.c. | |
1171 | |
1172 * lisp.h: | |
1173 declare fatal_error_in_progress. | |
1174 | |
1175 * print.c: | |
1176 * print.c (std_handle_out_external): | |
1177 * print.c (std_handle_out_va): | |
1178 * print.c (stderr_out): | |
1179 * print.c (stdout_out): | |
1180 use console under mswin when no standard output. | |
1181 don't do code conversion during fatal error. | |
1182 | |
1183 * scrollbar.c (Fscrollbar_page_up): | |
1184 * scrollbar.c (Fscrollbar_page_down): | |
1185 fix missing else. reindent. | |
1186 | |
1187 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch> | |
1188 | |
1189 Emergency fix. | |
1190 | |
1191 * glyphs.h (GLYPH_CACHEL_DESCENT): | |
1192 (GLYPH_CACHEL_DESCENT): | |
1193 (GLYPH_CACHEL_DESCENT): | |
1194 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables | |
1195 used in case these are inline functions. | |
1196 Use more absurd values to error check. | |
1197 | |
1198 include window.h for error check functions. | |
1199 | |
1200 2000-05-11 Ben Wing <ben@xemacs.org> | |
1201 | |
1202 * cmdloop.c (Freally_early_error_handler): | |
1203 Display message box under windows; otherwise, message will disappear | |
1204 before it can be viewed. | |
1205 | |
1206 * console-msw.c: | |
1207 * console-msw.c (Fmswindows_message_box): | |
1208 * console-msw.c (FROB): | |
1209 * console-msw.c (syms_of_console_mswindows): | |
1210 Define new fun `mswindows-message-box'. | |
1211 #### I will merge this into `popup-dialog-box'; just give me | |
1212 a bit of time. | |
1213 | |
1214 * general.c: | |
1215 * general.c (syms_of_general): | |
1216 Some new symbols used in `mswindows-message-box'. | |
1217 | |
1218 * glyphs.c: | |
1219 * glyphs.c (Fset_image_instance_property): | |
1220 put warning in this fun. | |
1221 | |
1222 * glyphs.h: | |
1223 * glyphs.h (GLYPH_CACHEL_WIDTH): | |
1224 * glyphs.h (GLYPH_CACHEL_ASCENT): | |
1225 * glyphs.h (GLYPH_CACHEL): | |
1226 * glyphs.h (GLYPH_CACHEL_GLYPH): | |
1227 define error-checking versions to try to catch a bug i've seen -- | |
1228 redisplay gets in an infinite loop because the glyph width of the | |
1229 continuation glyph is 65535. | |
1230 | |
1231 * lisp.h: | |
1232 Extern message-box stuff. | |
1233 | |
1234 * window.c (allocate_window): | |
1235 * window.c (make_dummy_parent): | |
1236 * window.c (Fset_window_configuration): | |
1237 Use EQUAL not EQ for subwindow caches to make them work a bit | |
1238 better. (Something is still very broken.) | |
1239 | |
1240 | |
1241 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org> | |
1242 | |
1243 * glyphs.c (image_instantiate): Suppress gcc warnings. | |
1244 (Fmake_image_instance): Fix doc string. | |
1245 * specifier.c (Fmake_specifier): Ditto. | |
1246 | |
1247 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org> | |
1248 | |
1249 * paths.h.in (PATH_LOCK): Removed. | |
1250 * config.h.in (LOCKDIR_USER_DEFINED): Removed. | |
1251 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory. | |
1252 | |
1253 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org> | |
1254 | |
1255 * fns.c (Ffeaturep): Update e-mail address in doc-string. | |
1256 Document (featurep '(and xemacs 21.02)). | |
1257 | |
1258 2000-05-09 Ben Wing <ben@xemacs.org> | |
1259 | |
1260 * buffer.c (complex_vars_of_buffer): | |
1261 update modeline-format doc. | |
1262 | |
1263 * device.h: | |
1264 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE. | |
1265 | |
1266 * emacs.c: | |
1267 timeline of all released versions of Emacs, for use in creating | |
1268 authorship comments and in synching up. | |
1269 | |
1270 * glyphs-widget.c (image_instantiator_buttons): | |
1271 * glyphs-widget.c (image_instantiator_edit_fields): | |
1272 * glyphs-widget.c (image_instantiator_combo_box): | |
1273 * glyphs-widget.c (image_instantiator_scrollbar): | |
1274 * glyphs-widget.c (image_instantiator_progress_guage): | |
1275 * glyphs-widget.c (image_instantiator_tree_view): | |
1276 * glyphs-widget.c (image_instantiator_tab_control): | |
1277 * glyphs-widget.c (image_instantiator_labels): | |
1278 * glyphs-widget.c (image_instantiator_layout): | |
1279 * glyphs-widget.c (image_instantiator_native_layout): | |
1280 rename decode_domain method to governing_domain. | |
1281 | |
1282 * glyphs.c: | |
1283 * glyphs.c (Fvalid_image_instantiator_format_p): doc update. | |
1284 * glyphs.c (add_entry_to_device_ii_format_list): | |
1285 make sure we don't put an entry more than once into the list. | |
1286 * glyphs.c (check_instance_cache_mapper): | |
1287 ************************************************************* | |
1288 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE | |
1289 HAVE BEEN GETTING. | |
1290 ************************************************************* | |
1291 * glyphs.c (get_image_instantiator_governing_domain): | |
1292 clean up, expand on new concept of governing domain. | |
1293 * glyphs.c (instantiate_image_instantiator): | |
1294 * glyphs.c (allocate_image_instance): | |
1295 use governing_domain instead of cache_domain in naming. | |
1296 * glyphs.c (Fvalid_image_instance_type_p): fix docs. | |
1297 * glyphs.c (make_image_instance_1): | |
1298 * glyphs.c (Fmake_image_instance): | |
1299 allow for any domain (not just device), and process the | |
1300 governing domain correctly. very big doc fix. | |
1301 * glyphs.c (Fimage_instance_domain): | |
1302 new primitive, to retrieve the governing domain of an image instance. | |
1303 * glyphs.c (image_instantiate): | |
1304 use new governing_domain stuff. this fixes a crash you could get | |
1305 by instantiating certain widget glyphs in frame locales. (should | |
1306 signal an error instead of crashing.) | |
1307 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier. | |
1308 * glyphs.c (Fglyphp): clean up doc. | |
1309 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain. | |
1310 * glyphs.c (syms_of_glyphs): | |
1311 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p. | |
1312 * glyphs.c (image_instantiator_format_create): add some comments about | |
1313 bogus code. | |
1314 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string | |
1315 for current-display-table. (Apparently Hrjove implemented in 1998 a | |
1316 design I wrote up in 1996, but didn't update the doc string.) | |
1317 | |
1318 * glyphs.h: clean up a doc string. | |
1319 * glyphs.h (governing_domain): | |
1320 * glyphs.h (struct image_instantiator_methods): | |
1321 changes for governing_domain stuff. | |
1322 | |
1323 * gutter.c: | |
1324 * gutter.c (Fgutter_specifier_p): | |
1325 * gutter.c (Fgutter_size_specifier_p): | |
1326 * gutter.c (Fgutter_visible_specifier_p): | |
1327 * objects.c: | |
1328 * objects.c (Fcolor_specifier_p): | |
1329 * objects.c (Ffont_specifier_p): | |
1330 * objects.c (Fface_boolean_specifier_p): | |
1331 doc strings moved to make-*-specifier. | |
1332 | |
1333 * redisplay.c (add_disp_table_entry_runes_1): | |
1334 * redisplay.c (generate_fstring_runes): | |
1335 * redisplay.c (screen): | |
1336 add random comments and doc strings. | |
1337 | |
1338 * specifier.c: | |
1339 * specifier.c (Fmake_specifier): | |
1340 major overhaul of this doc string. | |
1341 | |
1342 * specifier.c (Fvalid_specifier_domain_p): | |
1343 comment about the bogosity of image instances being domains. | |
1344 * specifier.c (decode_domain): | |
1345 now non-static, used in glyphs.c. | |
1346 * specifier.c (specifier_instance): | |
1347 comment about the bogosity of image instances being domains. | |
1348 * specifier.c (Fgeneric_specifier_p): | |
1349 move doc string to make-generic-specifier. | |
1350 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P): | |
1351 rebackslashify. | |
1352 | |
1353 * specifier.h: | |
1354 * specifier.h (DOMAIN_FRAME): | |
1355 * specifier.h (DOMAIN_LIVE_P): | |
1356 * specifier.h (DOMAIN_XDEVICE): | |
1357 rebackslashify. | |
1358 add comments about problems with these macros. | |
1359 prototype for decode_domain. | |
1360 | |
1361 * toolbar.c: | |
1362 * toolbar.c (Ftoolbar_specifier_p): | |
1363 move doc string to `make-toolbar-specifier'. | |
1364 | |
1365 * window.c (window_unmap_subwindows_cache_mapper): | |
1366 ************************************************************* | |
1367 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE | |
1368 HAVE BEEN GETTING. | |
1369 ************************************************************* | |
1370 | |
1371 2000-05-09 Andy Piper <andy@xemacs.org> | |
1372 | |
1373 * glyphs.h: declare reset_frame_subwindow_instance_cache. | |
1374 | |
1375 * window.c (Fset_window_configuration): reset the frame subwindow | |
1376 cache and re-initialize the window subwindow caches. | |
1377 | |
1378 * glyphs.c (reset_frame_subwindow_instance_cache): new function. | |
1379 | |
1380 2000-05-09 Ben Wing <ben@xemacs.org> | |
1381 | |
1382 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to | |
1383 DWORD. | |
1384 | |
1385 2000-04-26 Mike Woolley <mike@bulsara.com> | |
1386 | |
1387 * ntheap.c: Changed recreate_heap to limit the amount reserved | |
1388 for the heap to that which is actually available. Also now | |
1389 displays a message box (with some dignostics) in the event that | |
1390 it still can't start. | |
1391 | |
1392 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch> | |
1393 | |
1394 * callproc.c (Fold_call_process_internal): GCPRO path | |
1395 | |
1396 2000-05-08 Jan Vroonhof <jan@xemacs.org> | |
1397 | |
1398 Patch by Bill Perry. | |
1399 | |
1400 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call | |
1401 back data instead of #ifdef. | |
1402 (Fscrollbar_page_down): ditto. | |
1403 | |
1404 2000-05-07 Ben Wing <ben@xemacs.org> | |
1405 | |
1406 * buffer.h: | |
1407 Kludge for defining Qmswindows_tstr. | |
1408 | |
1409 * nt.c: | |
1410 * nt.c (open_input_file): | |
1411 * nt.c (open_output_file): | |
1412 * nt.c (rva_to_section): | |
1413 * nt.c (mswindows_executable_type): | |
1414 Move all memory-mapped-file routines here (some were in unexnt.c, | |
1415 which is bad because they are used by process-nt.c, and unexnt | |
1416 won't be around when portable dumping). Synched the above routines | |
1417 with FSF 20.6. | |
1418 | |
1419 * nt.h: | |
1420 Removed ifdef'd out bogus code. | |
1421 Fixed some prototypes. | |
1422 | |
1423 * nt.h (file_data): | |
1424 * nt.h (OFFSET_TO_RVA): | |
1425 * nt.h (RVA_TO_OFFSET): | |
1426 * nt.h (RVA_TO_PTR): | |
1427 Moved the memory-mapped-file structures, macros and prototypes | |
1428 here, to parallel nt.c. ntheap.h should really be removed | |
1429 entirely, and it's a non-portable-dumper specific file. | |
1430 | |
1431 * ntheap.h (round_to_next): | |
1432 Moved the memory-mapped-file structures, macros and prototypes | |
1433 to nt.h. | |
1434 | |
1435 * ntproc.c (compare_env): | |
1436 Moved rva_to_section and mswindows_executable_type to nt.c. | |
1437 Moved compare_env to process-nt.c. | |
1438 ntproc.c will die, one day. | |
1439 | |
1440 * ntproc.c (sys_spawnve): | |
1441 Account for win32_ -> mswindows_. | |
1442 | |
1443 * process-nt.c: | |
1444 * process-nt.c (struct nt_process_data): | |
1445 * process-nt.c (ensure_console_window_exists): | |
1446 * process-nt.c (compare_env): | |
1447 * process-nt.c (nt_create_process): | |
1448 * process-nt.c (nt_kill_process_by_pid): | |
1449 * process-nt.c (syms_of_process_nt): | |
1450 * process-nt.c (vars_of_process_nt): | |
1451 Introduce variable `mswindows-quote-process-args', from FSF 20.6. | |
1452 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization | |
1453 changes). Eliminate our old `nt-quote-process-args' mechanism. | |
1454 Synch up nt_create_process with FSF 20.6 sys_spawnve. | |
1455 Move compare_env here from ntproc.c. | |
1456 | |
1457 * process.c (Fprocess_send_region): | |
1458 Takes an optional fourth argument, BUFFER, which should fix some | |
1459 problems with call-process. | |
1460 | |
1461 * syscommctrl.h: | |
1462 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning. | |
1463 | |
1464 * syswindows.h: | |
1465 Move ICC_BAR_CLASSES to syscommctrl.h. | |
1466 Add preliminary macros for MSWindows/Mule. More to come. | |
1467 | |
1468 * unexnt.c: | |
1469 * unexnt.c (unexec): | |
1470 open_output_file moved to nt.c. | |
1471 | |
1472 | |
1473 2000-05-05 Andy Piper <andy@xemacs.org> | |
1474 | |
1475 * window.c (window_unmap_subwindows_cache_mapper): remove the dead | |
1476 instance from the frame cache also since GC may catch up too late | |
1477 to make frame deletion sane. | |
1478 | |
1479 2000-05-04 Andy Piper <andy@xemacs.org> | |
1480 | |
1481 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks. | |
1482 (x_finalize_image_instance): ungcpro on deletion. | |
1483 | |
1484 * glyphs.c (image_instantiator_format_create): give pointers a | |
1485 query geometry method so that the geometry is at least set. | |
1486 | |
1487 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only | |
1488 initialize layouts if using widgets. | |
1489 | |
1490 2000-05-03 Andy Piper <andy@xemacs.org> | |
1491 | |
1492 * nt.c: remove bogus reference to sysmmsystem.h | |
1493 | |
1494 * gui-x.c (popup_selection_callback): fix no selection abort. | |
1495 | |
1496 2000-05-02 Andy Piper <andy@xemacs.org> | |
1497 | |
1498 * glyphs-msw.c (mswindows_update_widget): cope with nil text. | |
1499 (mswindows_widget_instantiate): ditto. | 1477 (mswindows_widget_instantiate): ditto. |
1500 | 1478 (mswindows_widget_set_property): ditto. |
1501 * glyphs-widget.c (initialize_widget_image_instance): initialize | 1479 |
1502 children correctly. | 1480 * redisplay-output.c (redisplay_output_subwindow): don't show |
1503 (widget_instantiate): cope with children and items in the same | 1481 subwindows if they are obscured at the edge of the frame, emacs |
1504 instance. | 1482 gets into some sort of redisplay loop otherwise. |
1505 | 1483 |
1506 * glyphs.c (mark_image_instance): cope with children as a first | 1484 * gui.h: prototype gui_item_selected_p. |
1507 class member. | 1485 |
1508 (image_instance_equal): ditto. | 1486 * gui.c (gui_item_selected_p): new function to determine the |
1509 (image_instance_hash): ditto. | 1487 selected state of a gui_item. |
1510 (image_instance_changed): ditto. | 1488 |
1511 | 1489 * frame.h (struct frame): add subwindows_changed flag. |
1512 2000-04-30 Andy Piper <andy@xemacs.org> | 1490 |
1513 | 1491 * redisplay.c (redisplay_frame): call update_frame_subwindows (). |
1514 * glyphs.c (subwindow_query_geometry): new function. Return some | 1492 |
1515 defaults. | 1493 * glyphs.c (update_subwindow): new function to update a |
1516 (subwindow_instantiate): don't assign dimensions if none have been | 1494 subwindow's state. |
1517 given. | 1495 (update_frame_subwindows): new function to update all the |
1518 (image_instantiator_format_create): add subwindow_query_geometry. | 1496 subwindows on a frame. |
1519 (print_image_instance): cope with layouts as widgets. | 1497 |
1520 | 1498 * console.h (struct console_methods): add update_subwindow. |
1521 2000-04-29 Andy Piper <andy@xemacs.org> | 1499 |
1522 | 1500 * glyphs-msw.c (mswindows_widget_property): return selected state |
1523 * frame.c (delete_frame_internal): call | 1501 for selected property. |
1524 free_frame_subwindow_instance_cache so that all subwindows are | 1502 (mswindows_update_subwindow): new function. updates widget glyphs |
1525 finalized before their parent. | 1503 in redisplay as per menubars or toolbars e.g. selected state. |
1526 (mark_frame): remove subwindow_cachels. | 1504 (console_type_create_glyphs_mswindows): add update_subwindow. |
1527 (Fmake_frame): remove subwindow_cachel manipulation. | 1505 |
1528 (allocate_frame_core): subwindow_instance_cache is a weak list. | 1506 1998-12-03 Andy Piper <andy@xemacs.org> |
1529 (delete_frame_internal): set subwindow_instance_cache to nil. | 1507 |
1530 | 1508 * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since |
1531 * glyphs-msw.c (mswindows_finalize_image_instance): make double | 1509 tty coding system things are such. |
1532 finalization safe. | 1510 |
1533 (mswindows_finalize_image_instance): use the device | 1511 * glyphs-widget.c (widget_face_font_info): new function for |
1534 not the domain as the domain may have died already. | 1512 pulling out height and width metrics for a widget's face. |
1535 | 1513 (widget_text_to_pixel_conversion): calculate pixel sizes of text |
1536 * glyphs-x.c (x_finalize_image_instance): ditto. | 1514 for widgets. |
1537 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH & | 1515 |
1538 HEIGHT. | 1516 * event-msw.c (mswindows_drain_windows_queue): translate messages |
1539 | 1517 that are destined for subwindows. This makes edit fields interact |
1540 * redisplay-output.c (redisplay_unmap_subwindows): update for | 1518 with the keyboard correctly. |
1541 subwindow instance cache as a weak list. | 1519 nuke warnings by #ifndef'ing out stuff not required by msg select(). |
1542 (redisplay_unmap_subwindows_maybe): ditto. | 1520 |
1543 (redisplay_unmap_subwindows_except_us): ditto. | 1521 * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new |
1544 | 1522 macro defining the iiforma without the symbol required by widget. |
1545 * glyphs.c (unmap_subwindow): error checking will check the domain | 1523 (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it. |
1546 so don't deal with it here. Don't use cachels anymore. | 1524 |
1547 (map_subwindow): ditto. | 1525 * general.c (syms_of_general): add Qwidget, Qselected. |
1548 (update_subwindow_cachel_data): remove old accessor names. | 1526 |
1549 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT. | 1527 * faces.c (complex_vars_of_faces): add widget face inheriting from |
1550 (Fresize_subwindow): don't update cachel. | 1528 gui-element face. |
1551 (mark_subwindow_cachels): | 1529 |
1552 (update_subwindow_cachel_data): | 1530 1998-11-09 Andy Piper <andy@xemacs.org> |
1553 (add_subwindow_cachel): | 1531 |
1554 (get_subwindow_cachel_index): | 1532 * window.h (struct window): add a cache of subwindows on a |
1555 (update_subwindow_cachel): | 1533 per-window basis. |
1556 (reset_subwindow_cachels): | 1534 |
1557 (mark_subwindow_cachels_as_not_updated): deleted. | 1535 * window.c (mark_window): mark the subwindow_instance_cache. |
1558 (cache_subwindow_instance_in_frame_maybe): new function. Add a | 1536 (allocate_window): initialise the subwindow instance_cache. |
1559 subwindow instance to the frame cache. | 1537 |
1560 (find_matching_subwindow): update for subwindow instance cache as | 1538 * toolbar-x.c (x_output_toolbar): call redisplay_clear_region |
1561 a weak list. | 1539 instead of the devmeth. |
1562 (update_widget_instances): ditto. | 1540 (x_clear_toolbar): ditto. |
1563 (image_instance_type_to_mask):inlined. | 1541 |
1564 (free_frame_subwindow_instance_cache): new function. finalize all | 1542 * redisplay-x.c (x_output_display_block): call |
1565 subwindows that are instantiated. | 1543 redisplay_output_subwindow for subwindows and widgets. |
1566 | 1544 |
1567 * glyphs.h (struct Lisp_Image_Instance): add display_data instead | 1545 * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to |
1568 of cachel information. | 1546 types to do nothing for. |
1569 (IMAGE_INSTANCE_DISPLAY_X): | 1547 |
1570 (IMAGE_INSTANCE_DISPLAY_Y): | 1548 * lisp.h: declare new widget/subwindow symbols. |
1571 (IMAGE_INSTANCE_DISPLAY_WIDTH): | 1549 |
1572 (IMAGE_INSTANCE_DISPLAY_HEIGHT): | 1550 * glyphs.c (image_instantiate): cache subwindows on a per-window |
1573 (XIMAGE_INSTANCE_DISPLAY_X): | 1551 basis. |
1574 (XIMAGE_INSTANCE_DISPLAY_Y): | 1552 (subwindow_possible_dest_types): new function for subwindow dest |
1575 (XIMAGE_INSTANCE_DISPLAY_WIDTH): | 1553 types. |
1576 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors. | 1554 (subwindow_instantiate): generic instantiation of a |
1577 remove subwindow_cachel structure and function references. | 1555 subwindow. specialised by device multi-methods. |
1578 (image_instance_type_to_mask): inline from glyphs.c | 1556 (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based |
1579 | 1557 subwindows. |
1580 * redisplay.c (redisplay_frame): remove subwindow_cachel | 1558 (Fimage_instance_subwindow_id): ditto. |
1581 references. | 1559 (Fresize_subwindow): ditto. |
1582 | 1560 (Fforce_subwindow_map): ditto. |
1583 * frame.h (struct frame): remove subwindow_cachels. | 1561 |
1584 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache. | 1562 * glyphs-x.c (x_print_image_instance): remove subwindow |
1585 | 1563 stuff. Handled genrically in glyphs.c. |
1586 * frameslots.h: add subwindow_instance_cache. | 1564 (x_image_instance_equal): ditto. |
1587 | 1565 (x_image_instance_hash): ditto. |
1588 * window.c (replace_window): check subwindow cache of replacement. | 1566 (x_finalize_image_instance): delete subwindows when required. |
1589 (window_unmap_subwindows_cache_mapper): | 1567 (mark_subwindow) (print_subwindow) (finalize_subwindow) |
1590 (window_unmap_subwindows): new functions. Unmap all subwindows | 1568 (subwindow_hash) (Fmake_subwindow): deleted because of new, |
1591 cached on this window. | 1569 glyph-based, subwindow implementation. |
1592 (mark_window_as_deleted): unmap all subwindows. | 1570 (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased |
1593 | 1571 in glyphs.el |
1594 2000-04-27 Andy Piper <andy@xemacs.org> | 1572 (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to |
1595 | 1573 glyphs.c. |
1596 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths. | 1574 (x_unmap_subwindow): new function to unmap X subwindows. |
1597 | 1575 (x_map_subwindow): new function to map X subwindows. |
1598 * glyphs-widget.c (widget_layout): return something. | 1576 (x_subwindow_instantiate): new function to instantiate X |
1599 (layout_layout): return something. Fail if not intialized. | 1577 subwindows. |
1600 (layout_query_geometry): ditto. | 1578 (x_resize_subwindow): new function to resize X subwindows. |
1601 (image_instantiator_native_layout): new function. Initialized the | 1579 (console_type_create_glyphs_x): add subwindow functions. |
1602 native layout type. | 1580 (image_instantiator_format_create_glyphs_x): add device |
1603 (widget_instantiate): don't do layout stuff here. | 1581 multi-methods for xpm, xbm and subwindow. |
1604 | 1582 |
1605 * glyphs.c (instantiate_image_instantiator): reorded calling or | 1583 * glyphs.el (subwindow-xid): old alias for new subwindow functions. |
1606 instantiate and post_instantiate with layout in between. | 1584 (subwindow-width): ditto. |
1607 (image_instance_layout): be more selective about deciding whether | 1585 (subwindow-height): ditto. |
1608 the layout has been done or not. | 1586 |
1609 | 1587 * glyphs-msw.c (mswindows_widget_instantiate): new function for |
1610 * glyphs.h (struct image_instantiator_methods): return a value | 1588 generally instantiating ms subwindows. Used by |
1611 from layout_method. | 1589 mswindows_*_instantiate. |
1612 | 1590 (mswindows_edit_instantiate): instantiate an edit field on a |
1613 2000-04-26 Andy Piper <andy@xemacs.org> | 1591 mswindows frame. |
1614 | 1592 |
1615 * glyphs.c (allocate_image_instance): make initial width and | 1593 1998-11-04 Andy Piper <andy@xemacs.org> |
1616 height unspecified. Set initialized to 0. | 1594 |
1617 | 1595 * symsinit.h: declare new functions. |
1618 * syscommctrl.h new file. Encapsulates commctrl.h. | 1596 |
1619 | 1597 * redisplay.h: declare new functions. |
1620 * syswindows.h new file. Encapsulates windows.h. | 1598 |
1621 | 1599 * redisplay-x.c (x_output_display_block): call |
1622 * ntplay.c: use new syswindows.h and syscommctrl.h header. | 1600 redisplay_clear_region rather than x_clear_region. |
1623 * nt.c: ditto. | 1601 (x_output_string): ditto. |
1624 * console-msw.h: ditto. | 1602 (x_output_pixmap): ditto. |
1625 | 1603 (x_clear_to_window_end): ditto. |
1626 * redisplay-tty.c (tty_output_display_block): remove layout references. | 1604 (x_output_eol_cursor): ditto. |
1627 | 1605 (x_clear_region): only do X specific things. other duties handled |
1628 * glyphs-msw.c (mswindows_widget_instantiate): use the domain | 1606 in redisplay_clear_region. |
1629 window handle rather than just the frame. | 1607 |
1630 | 1608 * redisplay-tty.c (tty_clear_region): do tty specific things - some |
1631 * glyphs.c (mark_image_instance): remove layout references. | 1609 duties moved to redisplay_clear_region. |
1610 | |
1611 * redisplay-output.c (clear_left_border): use | |
1612 redisplay_clear_region instead of device method. | |
1613 (clear_right_border): ditto. | |
1614 (output_display_line): ditto. | |
1615 (redisplay_output_subwindow): ditto. | |
1616 (redisplay_clear_top_of_window): ditto. | |
1617 (redisplay_clear_region): perform duties previously handled by | |
1618 device methods. call the appropriate device method at the | |
1619 end. unmap subwindows if necessary. | |
1620 | |
1621 * redisplay-msw.c (mswindows_output_string): use | |
1622 redisplay_clear_region instead of mswindows_clear_region. | |
1623 (mswindows_clear_to_window_end): ditto. | |
1624 (mswindows_output_display_block): output subwindows when required. | |
1625 (mswindows_clear_region): only do mswindows specific things, | |
1626 everything else is now handled in redisplay_clear_region. | |
1627 | |
1628 * gui.h: add item id hash defines and declare function prototypes. | |
1629 | |
1630 * gui.c (mark_gui_item): new function for marking gui_items. | |
1631 (gui_item_hash): generic hash function for generating command ids | |
1632 for gui_items. | |
1633 | |
1634 * gui-msw.c: new file. | |
1635 (mswindows_handle_gui_wm_command): new function to handle widget | |
1636 callbacks. | |
1637 | |
1638 * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device | |
1639 multi-methods. | |
1640 (IIFORMAT_HAS_SHARED_METHOD): ditto. | |
1641 (DEFINE_DEVICE_IIFORMAT): ditto. | |
1642 (INITIALIZE_DEVICE_IIFORMAT): ditto. | |
1643 (struct Lisp_Image_Instance): add widget and subwindow data plus | |
1644 appropriate access functions. | |
1645 | |
1646 * glyphs.c (decode_device_ii_format): new function for decoding | |
1647 image instantiator functions based on a device type as well as an | |
1648 image format. | |
1649 (decode_image_instantiator_format): just call | |
1650 decode_device_ii_format with nil device. | |
1651 (add_entry_to_device_ii_format_list): new function for per device | |
1652 method instances. | |
1653 (add_entry_to_image_instantiator_format_list): just call | |
1654 add_entry_to_device_ii_format_list with nil device. | |
1655 (check_valid_vector): new function. | |
1656 (instantiate_image_instantiator): instantiate using per-format | |
1657 method and then per-format-per-device method (device | |
1658 multi-methods). signal an error if neither is possible. | |
1659 (mark_image_instance): cope with subwindows and widgets. | |
1632 (print_image_instance): ditto. | 1660 (print_image_instance): ditto. |
1633 (image_instance_equal): ditto. | 1661 (image_instance_equal): ditto. |
1634 (image_instance_hash): ditto. | 1662 (image_instance_hash): ditto. |
1635 (decode_image_instance_type): ditto. | |
1636 (encode_image_instance_type): ditto. | |
1637 (image_instantiate): ditto. | |
1638 (allocate_glyph): ditto. | 1663 (allocate_glyph): ditto. |
1639 (Fimage_instance_height): ditto. | 1664 (glyph_width): ditto. |
1640 (Fimage_instance_width): ditto. | 1665 (glyph_height_internal): ditto. |
1641 (update_subwindow): ditto. | 1666 (xpm_instantiate): removed because of device multi-methods. |
1642 | 1667 (mark_subwindow_cachels): new cachel functions for caching |
1643 * redisplay-x.c (x_output_display_block): recode for layouts as | 1668 instantiated subwindows on a per-frame basis. mostly copied from |
1644 widgets. | 1669 glyph cachel functions. |
1645 | 1670 (update_subwindow_cachel_data): ditto. |
1646 * redisplay-output.c (redisplay_output_layout): recode for layouts | 1671 (add_subwindow_cachel): ditto. |
1647 as widgets. | 1672 (get_subwindow_cachel_index): ditto. |
1648 (compare_runes): remove layout references. | 1673 (reset_subwindow_cachels): ditto. |
1649 | 1674 (mark_subwindow_cachels_as_not_updated): ditto. |
1650 * redisplay-msw.c (mswindows_output_display_block): recode for | 1675 (unmap_subwindow): generic unmapping of subwindows based on cachel |
1651 layouts as widgets. | 1676 data. |
1652 | |
1653 * glyphs-widget.c (image_instantiator_layout): remove | |
1654 layout_possible_dest_types. | |
1655 (layout_possible_dest_types): deleted. | |
1656 | |
1657 * glyphs.h (image_instance_type): remove layout references. | |
1658 (struct Lisp_Image_Instance): ditto. Add initialized flag. | |
1659 (IMAGE_INSTANCE_INITIALIZED): new accessor. | |
1660 (XIMAGE_INSTANCE_INITIALIZED): ditto. | |
1661 | |
1662 2000-04-25 Andy Piper <andy@xemacs.org> | |
1663 | |
1664 * glyphs-widget.c (image_instantiator_buttons): | |
1665 (image_instantiator_edit_fields): | |
1666 (image_instantiator_combo_box): | |
1667 (image_instantiator_scrollbar): | |
1668 (image_instantiator_progress_guage): | |
1669 (image_instantiator_tree_view): | |
1670 (image_instantiator_tab_control): | |
1671 (image_instantiator_labels): | |
1672 (image_instantiator_layout): call default post_instantiate method. | |
1673 (widget_post_instantiate): new function. Simply lays out the | |
1674 widgets. | |
1675 | |
1676 * glyphs.h (struct image_instantiator_methods): add | |
1677 post_instantiate method. | |
1678 | |
1679 * glyphs.c (instantiate_image_instantiator): add post_instantiate | |
1680 method calls. | |
1681 | |
1682 2000-04-23 Andy Piper <andy@xemacs.org> | |
1683 | |
1684 * glyphs.h (struct image_instantiator_methods): add | |
1685 decode_domain_method. | |
1686 (struct Lisp_Image_Instance): remove subwindow frame - it can be | |
1687 derived from the domain. | |
1688 (IMAGE_INSTANCE_FRAME): new accessor. | |
1689 (XIMAGE_INSTANCE_FRAME): ditto. | |
1690 | |
1691 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME | |
1692 instead of _SUBWINDOW_FRAME. | |
1693 (finalize_image_instance): ditto. | |
1694 (Fimage_instance_foreground): ditto. | |
1695 (Fimage_instance_background): ditto. | |
1696 (image_instantiate): ditto. | |
1697 (update_subwindow_cachel): ditto. | |
1698 (update_subwindow): ditto. | |
1699 (unmap_subwindow): ditto. | |
1700 (map_subwindow): ditto | |
1701 (subwindow_instantiate): ditto. | |
1702 * glyphs-msw.c (mswindows_update_widget): ditto. | |
1703 (mswindows_progress_gauge_instantiate): ditto. | |
1704 (mswindows_tab_control_update): ditto. | |
1705 * glyphs-x.c (x_update_widget): ditto. | |
1706 (x_widget_instantiate): ditto. | |
1707 (x_tab_control_instantiate): ditto. | |
1708 (x_tab_control_update): ditto. | |
1709 * event-msw.c (mswindows_wnd_proc): ditto | |
1710 | |
1711 * glyphs-widget.c (image_instantiator_layout): use | |
1712 subwindow_decode_domain. | |
1713 (image_instantiator_buttons): ditto. | |
1714 (image_instantiator_edit_fields): ditto. | |
1715 (image_instantiator_combo_box): ditto. | |
1716 (image_instantiator_scrollbar): ditto. | |
1717 (image_instantiator_progress_guage): ditto. | |
1718 (image_instantiator_tree_view): ditto. | |
1719 (image_instantiator_tab_control): ditto. | |
1720 (image_instantiator_labels): ditto. | |
1721 (image_instantiator_layout): ditto. | |
1722 | |
1723 * glyphs.c: add instance error checking to many functions. | |
1724 (instantiate_image_instantiator): decode device from cache_domain. | |
1725 (image_instantiate): partially rewrite by using | |
1726 decode_image_instantiator_domain to determine what domain the | |
1727 instance needs to be cached in. | |
1728 (decode_image_instantiator_domain): new function. Determine what | |
1729 domain the image needs to be cached in. | |
1730 (check_window_subwindow_cache): new error checking function. | |
1731 (check_instance_cache_mapper): ditto. | |
1732 (check_image_instance_structure): ditto. | |
1733 (subwindow_decode_domain): new function. Encodes a window as a | |
1734 subwindow's cache domain. | |
1735 (image_instantiator_format_create): use it for text and | |
1736 subwindows. | |
1737 | |
1738 2000-04-21 Andy Piper <andy@xemacs.org> | |
1739 | |
1740 * glyphs.c (image_instance_device): new function. | |
1741 (image_instance_frame): new function. | |
1742 (image_instance_window): new function. | |
1743 (image_instance_live_p): new function. | |
1744 | |
1745 * window.c (mark_window_as_deleted): reset the subwindow_instance_ | |
1746 cache to nil. | |
1747 | |
1748 * glyphs.h (struct Lisp_Image_Instance): device->domain. | |
1749 (IMAGE_INSTANCE_DOMAIN): new accessor. | |
1750 (XIMAGE_INSTANCE_DOMAIN): ditto. | |
1751 | |
1752 * glyphs-x.c (x_finalize_image_instance): device->domain. | |
1753 | |
1754 * glyphs-msw.c (init_image_instance_geometry): device->domain. | |
1755 (mswindows_finalize_image_instance): ditto. | |
1756 | |
1757 * glyphs-eimage.c (jpeg_instantiate): device->domain. | |
1758 (gif_instantiate): ditto. | |
1759 (png_instantiate): ditto. | |
1760 (tiff_instantiate): ditto. | |
1761 | |
1762 * glyphs.c (instantiate_image_instantiator): use domain rather | |
1763 than device. | |
1764 (mark_image_instance): device -> domain. | |
1765 (print_image_instance): ditto. | |
1766 (finalize_image_instance): ditto. | |
1767 (image_instance_equal): ditto. | |
1768 (allocate_image_instance): ditto. | |
1769 (Fcolorize_image_instance): ditto. | |
1770 (query_string_geometry): ditto. | |
1771 (image_instantiate): ditto | |
1772 (query_string_font): ditto. | |
1773 (image_instantiate): ditto. | |
1774 (update_subwindow): ditto. | |
1775 (unmap_subwindow): ditto. | |
1776 (map_subwindow): ditto. | 1677 (map_subwindow): ditto. |
1777 (subwindow_instantiate): ditto. | 1678 (initialize_subwindow_image_instance): generic initialisation of |
1778 | 1679 subwindow data. |
1779 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder. | 1680 (syms_of_glyphs): add widget keywords. |
1780 (DOMAIN_FRAME): ditto. | 1681 |
1781 (DOMAIN_WINDOW): ditto. | 1682 * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to |
1782 (DOMAIN_LIVE_P): ditto. | 1683 x_subwindow_data. |
1783 (XDOMAIN_DEVICE): ditto. | 1684 |
1784 (XDOMAIN_FRAME): ditto. | 1685 1998-11-04 Andy Piper <andy@xemacs.org> |
1785 (XDOMAIN_WINDOW): ditto. | 1686 |
1786 | 1687 * glyphs-widget.c: new file for instantiating widget type glyphs. |
1787 * specifier.c (Fvalid_specifier_domain_p): add image instances as | 1688 (widget_possible_dest_types): new general dest type function for |
1788 a valid specifier domain. | 1689 widgets. |
1789 | 1690 (widget_validate): ditto. |
1790 2000-04-19 Andy Piper <andy@xemacs.org> | 1691 (initialize_widget_image_instance): ditto |
1791 | 1692 (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing |
1792 * glyphs-widget.c (syms_of_glyphs_widget): remove | 1693 before handing on control to device multi-methods. |
1793 widget-callback-current-channel. | 1694 (syms_of_glyphs_widget): new function. |
1794 (vars_of_glyphs_widget): ditto. | 1695 (image_instantiator_format_create_glyphs_widget): new function, |
1795 * glyphs.h: ditto | 1696 added placeholders for button, edit, combo, scrollbar |
1796 | 1697 (vars_of_glyphs_widget): new function. |
1797 * gui.c (get_gui_callback): revert to previous behaviour. | 1698 |
1798 | 1699 * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for |
1799 2000-04-18 Andy Piper <andy@xemacs.org> | 1700 storing window ids of widgets. |
1800 | 1701 |
1801 * glyphs.h (struct Lisp_Image_Instance): add margin_width. | 1702 * glyphs-msw.c (mswindows_finalize_image_instance): cope with |
1802 (IMAGE_INSTANCE_MARGIN_WIDTH): new. | 1703 deletion of widget and subwindow glyphs. |
1803 (XIMAGE_INSTANCE_MARGIN_WIDTH): new. | 1704 (mswindows_unmap_subwindow): new device function for unmapping |
1804 | 1705 subwindows on a msw frame. |
1805 * glyphs.c (image_instance_equal): add margin_width. | 1706 (mswindows_map_subwindow): ditto. |
1806 (image_instance_hash): ditto. | 1707 (mswindows_register_image_instance): register instantiated widgets |
1807 | 1708 with the widget hastable. |
1808 * glyphs-widget.c (widget_instantiate): deal with margin-width. | 1709 (mswindows_button_instantiate): instantiate a button type widget |
1809 (layout_query_geometry): ditto. | 1710 on an msw frame. |
1810 (layout_layout): ditto. | 1711 (mswindows_subwindow_instantiate): instanttiate a subwindow on a |
1811 (syms_of_glyphs_widget): add margin-width. | 1712 mswindows frame. |
1812 (image_instantiator_layout): allow margin-width. | 1713 (image_instantiator_format_create_glyphs_mswindows): add device |
1813 | 1714 multi-methods for xbm, xpm, subwindow, edit and button. |
1814 * glyphs.c (update_widget_instances): make a normal function. | 1715 |
1815 (syms_of_glyphs): remove Qupdate_widget_instances. | 1716 * frame.h (struct frame): add subwindow_cachels dynarr for caching |
1816 * glyphs.h: ditto. | 1717 information about subwindows visible on the current frame. used by |
1817 | 1718 redisplay_clear_region to unmap subwindows as required. |
1818 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event | 1719 |
1819 so that we don't corrupt ideas about the last event or | 1720 * frame.c (mark_frame): mark subwindow_cachels. |
1820 command. Remove widget-callback-current-channel fiddling. | 1721 (allocate_frame_core): instantiate subwindow_cachels. |
1821 * gui-msw.c (mswindows_handle_gui_wm_command): ditto. | 1722 |
1822 | 1723 * frame-msw.c (mswindows_init_frame_1): instntiate and mark the |
1823 2000-05-01 Martin Buchholz <martin@xemacs.org> | 1724 widget hashtable. |
1824 | 1725 |
1825 * XEmacs 21.2.33 is released. | 1726 * event-msw.c (mswindows_wnd_proc): add call to |
1826 | 1727 mswindows_handle_gui_wm_command to handle widget callbacks. |
1827 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org> | 1728 |
1828 | 1729 * emacs.c (main_1): add calls to glyphs-widget initialisation |
1829 * make-src-depend: Allow dots in header file name. | 1730 routines. |
1830 | 1731 |
1831 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org> | 1732 * console.h (struct console_methods): add |
1832 | 1733 unmap/map_subwindow_method for use be redisplay_clear_region to |
1833 * mule-charset.h (struct charset_lookup): Add | 1734 map and unmap subwindows. Remove xpm and xbm stuff - now dealt |
1834 next_allocated_1_byte_leading_byte and | 1735 with by image instantiator multi-methods. Add |
1835 next_allocated_2_byte_leading_byte. | 1736 resize_subwindow_method. |
1836 * mule-charset.c: Move above two variables so that those values | 1737 |
1837 will be dumped. | 1738 * console-stream.c (stream_clear_region): change signature to |
1838 | 1739 match new generic clear region function. |
1839 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org> | 1740 |
1840 | 1741 * Makefile.in.in: add glyphs-widget.o to list of objects. |
1841 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii | 1742 |
1842 when string length is zero. | 1743 * console-msw.h (struct mswindows_frame): add widget hashtable for |
1843 (find_charsets_in_emchar_string): Ditto. | 1744 wiring command ids to callbacks. |
1844 | 1745 |
1845 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se> | 1746 1998-12-16 Andy Piper <andy@xemacs.org> |
1846 | 1747 |
1847 * lisp.h: extern Qdialog and Qmenubar. | 1748 * XEmacs 21.2.6 is released |
1848 | 1749 |
1849 * gui-x.c: added events.h. | 1750 1998-12-08 Hrvoje Niksic <hniksic@srce.hr> |
1850 also fixed typo which made the file uncompilable. | 1751 |
1851 | 1752 * md5.c (Fmd5): Correctly initiate string input stream. |
1852 * general.c: Added Qmenubar and Qdialog | 1753 |
1853 | 1754 * Makefile.in.in (tests): Add md5-tests.el. |
1854 2000-04-28 Ben Wing <ben@xemacs.org> | 1755 |
1756 1998-12-06 Martin Buchholz <martin@xemacs.org> | |
1757 | |
1758 * lisp.h: | |
1759 * alloc.c (make_vector): remove travesty | |
1760 (Fmake_vector): | |
1761 (make_pure_vector): | |
1762 (pure_cons): | |
1763 (make_bit_vector_internal): | |
1764 (make_bit_vector): | |
1765 (make_bit_vector_from_byte_vector): | |
1766 (Fmake_bit_vector): | |
1767 - make vector_equal a little faster. | |
1768 - Don't use variable name `new'. | |
1769 - Use size_t instead of EMACS_INT. | |
1770 - usual Martin-style pointless bit-twiddling. | |
1771 | |
1772 * fns.c (mapcar1): | |
1773 (Fmapconcat): | |
1774 (Fmapcar): | |
1775 (Fmapvector): | |
1776 Make mapcar faster. In particular, make | |
1777 (mapc #'identity long-string) | |
1778 MUCH faster under Mule. | |
1779 * tests/automated/lisp-tests.el: Test 'em! | |
1780 | |
1781 1998-12-06 Martin Buchholz <martin@xemacs.org> | |
1782 | |
1783 * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded | |
1784 bytecode. | |
1785 | |
1786 1998-12-13 Martin Buchholz <martin@xemacs.org> | |
1787 | |
1788 * console-msw.c: Function definitions follow coding standards | |
1789 - This prevents e.g. find-tag on Lisp_Event finding DEVENT | |
1790 | |
1791 1998-12-11 Martin Buchholz <martin@xemacs.org> | |
1792 | |
1793 * events.h (struct timeout_data): | |
1794 * event-tty.c (tty_timeout_to_emacs_event): | |
1795 * event-msw.c (mswindows_wm_timer_callback): | |
1796 * event-Xt.c (Xt_timeout_to_emacs_event): | |
1797 * event-msw.c (mswindows_cancel_dispatch_event): | |
1798 Make sure Lisp_Objects inside events are initialized to Qnil, not | |
1799 Qnull_pointer, which is now illegal. | |
1800 | |
1801 1998-12-10 Martin Buchholz <martin@xemacs.org> | |
1802 | |
1803 * lisp.h: Fix up prototypes to match alloc.c | |
1804 | |
1805 1998-12-09 Andy Piper <andy@xemacs.org> | |
1806 | |
1807 * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use | |
1808 XSETINT for assigning lisp objects. | |
1809 | |
1810 1998-12-07 Martin Buchholz <martin@xemacs.org> | |
1811 | |
1812 * opaque.h: | |
1813 * console-msw.c (DHEADER): | |
1814 (DOPAQUE_DATA): | |
1815 (DEVENT): | |
1816 (DCONS): | |
1817 (DCONSCDR): | |
1818 (DSTRING): | |
1819 (DVECTOR): | |
1820 (DSYMBOL): | |
1821 (DSYMNAME): | |
1822 - max_align_t should not be visible to the user of the | |
1823 XOPAQUE_DATA macro. | |
1824 - use Bufbyte instead of char | |
1825 - parens around (FOOP (obj)) are always redundant. | |
1826 If they were necessary, we should fix the macro instead. | |
1827 - Always use string_data(foo) instead of foo->data. | |
1828 | |
1829 1998-12-07 Martin Buchholz <martin@xemacs.org> | |
1830 | |
1831 * sysdep.c (set_descriptor_non_blocking): | |
1832 Since O_NONBLOCK is now always #defined, make use of fcntl | |
1833 conditional on F_SETFL being defined. | |
1834 | |
1835 1998-12-09 Andy Piper <andy@xemacs.org> | |
1836 | |
1837 * menubar-msw.c (mswindows_handle_wm_command): add back in checks | |
1838 that got removed in the merge | |
1839 | |
1840 1998-11-30 Greg Klanderman <greg@alphatech.com> | |
1841 | |
1842 * dired.c (vars_of_dired): bugfix for previous conditionalization | |
1843 of user-name-completion on non- Windows NT. | |
1844 | |
1845 1998-12-08 Martin Buchholz <martin@xemacs.org> | |
1846 | |
1847 * windowsnt.h: Remove `support' for using index and rindex | |
1848 | |
1849 * filelock.c (current_lock_owner): | |
1850 - Change uses of index -> strchr, rindex -> strrchr | |
1851 | |
1852 1998-12-06 Martin Buchholz <martin@xemacs.org> | |
1855 | 1853 |
1856 * frame-msw.c (mswindows_init_frame_1): | 1854 * frame-msw.c (mswindows_init_frame_1): |
1857 * frame-msw.c (mswindows_mark_frame): | 1855 - use make_lisp_hash_table, not Fmake_hash_table |
1858 * event-msw.c (mswindows_enqueue_dispatch_event): | 1856 - include elhash.h |
1859 * console-msw.h: | 1857 |
1858 1998-12-05 XEmacs Build Bot <builds@cvs.xemacs.org> | |
1859 | |
1860 * XEmacs 21.2.5 is released | |
1861 | |
1862 1998-11-30 Martin Buchholz <martin@xemacs.org> | |
1863 | |
1864 * xselect.c (receive_incremental_selection): | |
1865 * xselect.c (x_get_window_property): | |
1866 * xmu.c (XmuReadBitmapDataFromFile): | |
1867 * xmu.c (XmuCursorNameToIndex): | |
1868 * xgccache.c (describe_gc_cache): | |
1869 * xgccache.c (gc_cache_lookup): | |
1870 * xgccache.c (free_gc_cache): | |
1871 * xgccache.c (make_gc_cache): | |
1872 * window.h: | |
1873 * window.c (map_windows_1): | |
1874 * window.c (Fother_window_for_scrolling): | |
1875 * window.c (window_scroll): | |
1876 * window.c (change_window_height): | |
1877 * window.c (Fsplit_window): | |
1878 * window.c (window_left_gutter_width): | |
1879 * window.c (window_modeline_height): | |
1880 * window.c (invalidate_vertical_divider_cache_in_window): | |
1881 * window.c (window_needs_vertical_divider_1): | |
1882 * window.c (update_mirror_internal): | |
1883 * window.c (SET_LAST_FACECHANGE): | |
1884 * widget.c (Fwidget_plist_member): | |
1885 * unexec.c (copy_text_and_data): | |
1886 * unexcw.c (copy_executable_and_dump_data_section): | |
1887 * tooltalk.doc: | |
1888 * tooltalk.c (struct Lisp_Tooltalk_Pattern): | |
1889 * tooltalk.c (struct Lisp_Tooltalk_Message): | |
1890 * toolbar.h (struct toolbar_button): | |
1891 * toolbar.c (default_toolbar_visible_p_changed_in_window): | |
1892 * toolbar.c (recompute_overlaying_specifier): | |
1893 * toolbar.c (toolbar_validate): | |
1894 * toolbar.c (toolbar_button_at_pixpos): | |
1895 * toolbar.c (get_toolbar_coords): | |
1896 * toolbar.c (update_frame_toolbars): | |
1897 * toolbar-x.c: | |
1898 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): | |
1899 * toolbar-msw.c (mswindows_find_toolbar_pos): | |
1900 * toolbar-msw.c (mswindows_output_toolbar): | |
1901 * toolbar-msw.c (mswindows_clear_toolbar): | |
1902 * toolbar-msw.c: | |
1903 * systty.h: | |
1904 * syssignal.h: | |
1905 * sysproc.h: | |
1906 * sysfile.h: | |
1907 * sysdll.c: | |
1908 * sysdep.h: | |
1909 * sysdep.c (rmdir): | |
1910 * sysdep.c (sys_fopen): | |
1911 * sysdep.c (sys_open): | |
1912 * sysdep.c (tty_init_sys_modes_on_device): | |
1913 * sysdep.c (get_eof_char): | |
1914 * sysdep.c (child_setup_tty): | |
1915 * sysdep.c (set_descriptor_non_blocking): | |
1916 * syntax.h: | |
1917 * syntax.c (scan_words): | |
1918 * syntax.c: | |
1919 * symsinit.h: | |
1920 * symeval.h (struct symbol_value_varalias): | |
1921 * symeval.h (struct symbol_value_forward): | |
1922 * symbols.c (syms_of_symbols): | |
1923 * symbols.c (init_symbols_once_early): | |
1924 * symbols.c (Fbuilt_in_variable_type): | |
1925 * symbols.c (Fsymbol_value_in_buffer): | |
1926 * symbols.c (default_value): | |
1927 * symbols.c (Fset): | |
1928 * symbols.c (find_symbol_value_quickly): | |
1929 * symbols.c (store_symval_forwarding): | |
1930 * symbols.c (set_default_console_slot_variable): | |
1931 * symbols.c (set_default_buffer_slot_variable): | |
1932 * symbols.c (verify_ok_for_buffer_local): | |
1933 * symbols.c (symbol_is_constant): | |
1934 * symbols.c (oblookup): | |
1935 * symbols.c (Funintern): | |
1936 * symbols.c (Fintern): | |
1937 * symbols.c (check_obarray): | |
1938 * sunplay.c: | |
1939 * specifier.h (struct specifier_methods): | |
1940 * specifier.h: | |
1941 * specifier.c (specifier_instance): | |
1942 * specifier.c (specifier_instance_from_inst_list): | |
1943 * specifier.c (decode_locale_type): | |
1944 * specifier.c (specifier_equal): | |
1945 * specifier.c (finalize_specifier): | |
1946 * specifier.c (prune_specifiers): | |
1947 * specifier.c (kill_specifier_buffer_locals): | |
1948 * sound.c (init_native_sound): | |
1949 * sound.c: | |
1950 * signal.c (alarm): | |
1951 * search.c (Fmatch_data): | |
1952 * search.c (match_limit): | |
1953 * search.c (Freplace_match): | |
1954 * search.c (skip_chars): | |
1955 * search.c (scan_buffer): | |
1956 * search.c: | |
1957 * scrollbar.c (specifier_vars_of_scrollbar): | |
1958 * scrollbar.c (Fscrollbar_set_hscroll): | |
1959 * scrollbar.c (vertical_scrollbar_changed_in_window): | |
1960 * scrollbar.c (release_window_mirror_scrollbars): | |
1961 * scrollbar.c (free_scrollbar_instance): | |
1962 * scrollbar-x.c: | |
1963 * scrollbar-msw.c: | |
1964 * s/msdos.h (O_BINARY): | |
1965 * s/linux.h: | |
1966 * s/freebsd.h (LIBS_TERMCAP): | |
1967 * regex.c (re_match_2_internal): | |
1968 * regex.c (compile_extended_range): | |
1969 * regex.c (POP_FAILURE_POINT): | |
1970 * regex.c (PUSH_FAILURE_POINT): | |
1971 * redisplay.h (RESET_CHANGED_SET_FLAGS): | |
1972 * redisplay.h: | |
1973 * redisplay.h (struct display_line): | |
1974 * redisplay.h (struct rune): | |
1975 * redisplay.c (vars_of_redisplay): | |
1976 * redisplay.c (redisplay_variable_changed): | |
1977 * redisplay.c (UPDATE_CACHE_RETURN): | |
1978 * redisplay.c (validate_line_start_cache): | |
1979 * redisplay.c (mark_redisplay_structs): | |
1980 * redisplay.c (mark_glyph_block_dynarr): | |
1981 * redisplay.c (window_line_number): | |
1982 * redisplay.c (redisplay_frame): | |
1983 * redisplay.c (redisplay_window): | |
1984 * redisplay.c (generate_modeline): | |
1985 * redisplay.c (create_right_glyph_block): | |
1986 * redisplay.c (create_left_glyph_block): | |
1987 * redisplay.c (create_text_block): | |
1988 * redisplay.c: | |
1989 * redisplay-x.c (x_output_hline): | |
1990 * redisplay-x.c (x_output_vertical_divider): | |
1991 * redisplay-tty.c (tty_output_display_block): | |
1992 * redisplay-output.c (output_display_line): | |
1993 * redisplay-output.c: | |
1994 * redisplay-msw.c (mswindows_output_vertical_divider): | |
1995 * redisplay-msw.c (mswindows_ring_bell): | |
1996 * redisplay-msw.c (mswindows_output_cursor): | |
1997 * redisplay-msw.c: | |
1998 * rangetab.c: | |
1999 * ralloc.c: | |
2000 * puresize.h (RAW_PURESIZE): | |
2001 * profile.c (syms_of_profile): | |
2002 * profile.c (Fstart_profiling): | |
2003 * profile.c (sigprof_handler): | |
2004 * profile.c: | |
2005 * procimpl.h: | |
2006 * process.c (vars_of_process): | |
2007 * process.c (read_process_output): | |
2008 * process.c (get_process): | |
2009 * process.c: | |
2010 * process-unix.c (unix_open_multicast_group): | |
2011 * process-unix.c (unix_get_tty_name): | |
2012 * process-unix.c (unix_send_process): | |
2013 * process-unix.c (unix_reap_exited_processes): | |
2014 * process-unix.c (unix_create_process): | |
2015 * process-unix.c (unix_init_process_io_handles): | |
2016 * process-unix.c (allocate_pty): | |
2017 * process-unix.c: | |
2018 * process-nt.c (nt_open_network_stream): | |
2019 * process-nt.c (nt_update_status_if_terminated): | |
2020 * process-nt.c (nt_finalize_process_data): | |
2021 * process-nt.c: | |
2022 * print.c (debug_short_backtrace): | |
2023 * print.c (debug_backtrace): | |
2024 * print.c (print_symbol): | |
2025 * print.c (print_internal): | |
2026 * print.c (print_cons): | |
2027 * print.c (Fwrite_char): | |
2028 * print.c (print_prepare): | |
2029 * print.c (canonicalize_printcharfun): | |
2030 * print.c (output_string): | |
2031 * print.c: | |
2032 * opaque.h: | |
2033 * opaque.c (allocate_managed_opaque): | |
2034 * opaque.c: | |
2035 * offix.c (DndSetData): | |
2036 * objects.c (face_boolean_create): | |
2037 * objects.c (font_instantiate): | |
2038 * objects.c (font_create): | |
2039 * objects.c (color_create): | |
2040 * objects.c (finalize_font_instance): | |
2041 * objects.c (finalize_color_instance): | |
2042 * objects.c: | |
2043 * objects-x.c (x_font_instance_truename): | |
2044 * objects-x.c: | |
2045 * objects-x.c (x_initialize_font_instance): | |
2046 * objects-x.c (allocate_nearest_color): | |
2047 * objects-tty.c (tty_initialize_font_instance): | |
2048 * objects-tty.c (tty_initialize_color_instance): | |
2049 * objects-msw.c (mswindows_initialize_color_instance): | |
2050 * ntproc.c (syms_of_ntproc): | |
2051 * ntproc.c (Fwin32_set_process_priority): | |
2052 * ntproc.c (sys_spawnve): | |
2053 * ntproc.c: | |
2054 * ntheap.c (get_data_end): | |
2055 * nt.c (period): | |
2056 * nt.c: | |
2057 * nt.c (stat): | |
2058 * nt.c (generate_inode_val): | |
2059 * nt.c (sys_rename): | |
2060 * nas.c: | |
2061 * mule-wnnfns.c (Fwnn_hinsi_number): | |
2062 * mule-wnnfns.c (Fwnn_yuragi): | |
2063 * mule-wnnfns.c (Fwnn_common_learn): | |
2064 * mule-wnnfns.c (Fwnn_suffix_learn): | |
2065 * mule-wnnfns.c (Fwnn_prefix_learn): | |
2066 * mule-wnnfns.c (Fwnn_okuri_learn): | |
2067 * mule-wnnfns.c (Fwnn_complex_conv): | |
2068 * mule-wnnfns.c (Fwnn_last_is_first): | |
2069 * mule-wnnfns.c (Fwnn_bmodify_dict_add): | |
2070 * mule-wnnfns.c (Fwnn_notrans_dict_add): | |
2071 * mule-wnnfns.c (Fwnn_fiusr_dict_add): | |
2072 * mule-wnnfns.c (Fwnn_fisys_dict_add): | |
2073 * mule-wnnfns.c (Fwnn_hinsi_list): | |
2074 * mule-wnnfns.c (Fwnn_fuzokugo_set): | |
2075 * mule-wnnfns.c (Fwnn_dict_search): | |
2076 * mule-wnnfns.c (Fwnn_word_toroku): | |
2077 * mule-wnnfns.c (Fwnn_hindo_update): | |
2078 * mule-wnnfns.c (Fwnn_bunsetu_henkou): | |
2079 * mule-wnnfns.c (Fwnn_kakutei): | |
2080 * mule-wnnfns.c (Fwnn_begin_henkan): | |
2081 * mule-wnnfns.c (Fwnn_dict_comment): | |
2082 * mule-wnnfns.c (Fwnn_dict_add): | |
2083 * mule-wnnfns.c (Fwnn_open): | |
2084 * mule-mcpath.c (mc_getcwd): | |
2085 * mule-coding.c (vars_of_mule_coding): | |
2086 * mule-coding.c (convert_to_external_format): | |
2087 * mule-coding.c (encoding_marker): | |
2088 * mule-coding.c (decoding_marker): | |
2089 * mule-coding.c (Fcopy_coding_system): | |
2090 * mule-coding.c (Fmake_coding_system): | |
2091 * mule-coding.c (Fcoding_system_list): | |
2092 * mule-coding.c (Ffind_coding_system): | |
2093 * mule-coding.c (symbol_to_eol_type): | |
2094 * mule-coding.c: | |
2095 * mule-charset.c (complex_vars_of_mule_charset): | |
2096 * mule-charset.c (vars_of_mule_charset): | |
2097 * mule-charset.c (Fset_charset_ccl_program): | |
2098 * mule-charset.c (struct charset_list_closure): | |
2099 * mule-charset.c (Ffind_charset): | |
2100 * mule-charset.c (make_charset): | |
2101 * mule-charset.c (non_ascii_valid_char_p): | |
2102 * mule-charset.c: | |
2103 * mule-ccl.c (ccl_driver): | |
2104 * mule-canna.c (c2mu): | |
2105 * mule-canna.c (Fcanna_henkan_begin): | |
2106 * mule-canna.c (Fcanna_parse): | |
2107 * mule-canna.c (Fcanna_store_yomi): | |
2108 * mule-canna.c (Fcanna_touroku_string): | |
2109 * mule-canna.c (Fcanna_initialize): | |
2110 * minibuf.c: | |
2111 * menubar.c (menu_parse_submenu_keywords): | |
2112 * menubar-x.c (make_dummy_xbutton_event): | |
2113 * menubar-x.c (set_frame_menubar): | |
2114 * menubar-x.c (menu_item_descriptor_to_widget_value_1): | |
2115 * menubar-x.c: | |
2116 * menubar-msw.h: | |
2117 * menubar-msw.c (mswindows_popup_menu): | |
2118 * menubar-msw.c (mswindows_update_frame_menubars): | |
2119 * menubar-msw.c (mswindows_handle_wm_command): | |
2120 * menubar-msw.c (unsafe_handle_wm_initmenu_1): | |
2121 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): | |
2122 * menubar-msw.c (update_frame_menubar_maybe): | |
2123 * menubar-msw.c (populate_or_checksum_helper): | |
2124 * menubar-msw.c (empty_menu): | |
2125 * menubar-msw.c: | |
2126 * md5.c: | |
2127 * marker.c (set_marker_internal): | |
2128 * marker.c (print_marker): | |
2129 * malloc.c: | |
2130 * make-src-depend: | |
2131 * lstream.c (lisp_buffer_rewinder): | |
2132 * lstream.c (mark_lstream): | |
2133 * lrecord.h: | |
2134 * lrecord.h (struct lrecord_header): | |
2135 * lread.c (readevalloop): | |
2136 * lread.c (locate_file): | |
2137 * lread.c (locate_file_in_directory): | |
2138 * lread.c (Flocate_file): | |
2139 * lread.c (load_force_doc_string_unwind): | |
2140 * lread.c (ebolify_bytecode_constants): | |
2141 * lread.c: | |
2142 * lisp.h: | |
2143 * lisp-union.h: | |
2144 * lisp-disunion.h: | |
2145 * linuxplay.c (linux_play_data_or_file): | |
2146 * linuxplay.c (audio_init): | |
2147 * line-number.c: | |
2148 * keymap.h: | |
2149 * keymap.c (describe_map): | |
2150 * keymap.c (describe_map_mapper): | |
2151 * keymap.c (Fdescribe_bindings_internal): | |
2152 * keymap.c (Fsingle_key_description): | |
2153 * keymap.c (map_keymap_sorted): | |
2154 * keymap.c (get_relevant_keymaps): | |
2155 * keymap.c (Flookup_key): | |
2156 * keymap.c (raw_lookup_key_mapper): | |
2157 * keymap.c (Fdefine_key): | |
2158 * keymap.c (Fevent_matches_key_specifier_p): | |
2159 * keymap.c (key_desc_list_to_event): | |
2160 * keymap.c (define_key_parser): | |
2161 * keymap.c (define_key_check_and_coerce_keysym): | |
2162 * keymap.c (keymap_submaps): | |
2163 * keymap.c (keymap_store_internal): | |
2164 * keymap.c (keymap_delete_inverse_internal): | |
2165 * keymap.c (keymap_store_inverse_internal): | |
2166 * keymap.c (print_keymap): | |
2167 * keymap.c (Lisp_Keymap): | |
2168 * keymap.c: | |
2169 * intl.c: | |
2170 * insdel.c (convert_bufbyte_string_into_emchar_dynarr): | |
2171 * insdel.c (make_gap): | |
2172 * input-method-xlib.c (get_XIM_input): | |
2173 * input-method-xlib.c (XIM_init_frame): | |
2174 * imgproc.c: | |
2175 * hash.h: | |
2176 * hash.c: | |
2177 * gui.c: | |
2178 * gui-x.c (button_item_to_widget_value): | |
2179 * gui-x.c (popup_selection_callback): | |
2180 * glyphs.h (struct image_instantiator_methods): | |
2181 * glyphs.c (mark_glyph_cachels): | |
2182 * glyphs.c (Fglyph_type): | |
2183 * glyphs.c (image_instantiate): | |
2184 * glyphs.c (image_create): | |
2185 * glyphs.c (make_image_instance_1): | |
2186 * glyphs.c (finalize_image_instance): | |
2187 * glyphs.c: | |
2188 * glyphs-x.c (finalize_subwindow): | |
2189 * glyphs-x.c (xface_validate): | |
2190 * glyphs-x.c (x_locate_pixmap_file): | |
2191 * glyphs-x.c (convert_EImage_to_XImage): | |
2192 * glyphs-msw.c: | |
2193 * glyphs-msw.c (mswindows_resource_instantiate): | |
2194 * glyphs-msw.c (xpm_to_eimage): | |
2195 * glyphs-msw.c (convert_EImage_to_DIBitmap): | |
2196 * glyphs-eimage.c (tiff_instantiate): | |
2197 * glyphs-eimage.c (png_instantiate): | |
2198 * glyphs-eimage.c (struct png_error_struct): | |
2199 * glyphs-eimage.c (gif_memory_storage): | |
2200 * glyphs-eimage.c: | |
2201 * gifrlib.h: | |
2202 * getloadavg.c (getloadavg): | |
2203 * getloadavg.c: | |
2204 * gdbinit: | |
2205 * free-hook.c (log_gcpro): | |
2206 * free-hook.c (check_malloc): | |
2207 * free-hook.c (check_free): | |
2208 * free-hook.c (ROUND_UP_TO_PAGE): | |
2209 * free-hook.c: | |
2210 * frame.h (struct frame): | |
2211 * frame.h: | |
2212 * frame.c (change_frame_size_1): | |
2213 * frame.c (allocate_frame_core): | |
2214 * frame.c: | |
2215 * frame-x.c (x_focus_on_frame): | |
2216 * frame-x.c (x_init_frame_2): | |
2217 * frame-x.c (x_popup_frame): | |
2218 * frame-x.c (xemacs_XtPopup): | |
2219 * frame-x.c: | |
2220 * frame-x.c (Foffix_start_drag_internal): | |
2221 * frame-x.c (x_cde_destroy_callback): | |
2222 * frame-x.c (x_wm_hack_wm_protocols): | |
2223 * frame-tty.c (tty_frame_visible_p): | |
2224 * frame-msw.c (mswindows_make_frame_invisible): | |
2225 * frame-msw.c (mswindows_after_init_frame): | |
2226 * frame-msw.c (mswindows_init_frame_1): | |
2227 * fns.c (syms_of_fns): | |
2228 * fns.c (Fbase64_decode_string): | |
2229 * fns.c (Fnconc): | |
2230 * fns.c (Ffillarray): | |
2231 * fns.c (Fobject_plist): | |
2232 * fns.c (Fget): | |
2233 * fns.c (Fcanonicalize_lax_plist): | |
2234 * fns.c (Fcanonicalize_plist): | |
2235 * fns.c (Fplist_remprop): | |
2236 * fns.c (Fplist_get): | |
2237 * fns.c (advance_plist_pointers): | |
2238 * fns.c (internal_plist_put): | |
2239 * fns.c (Fnreverse): | |
2240 * fns.c (Fremassq): | |
2241 * fns.c (Felt): | |
2242 * fns.c (Fsubstring): | |
2243 * fns.c (Fbvconcat): | |
2244 * fns.c (Flength): | |
2245 * fns.c (length_with_bytecode_hack): | |
2246 * fns.c (print_bit_vector): | |
2247 * fns.c: | |
2248 * floatfns.c (Ffloor): | |
2249 * floatfns.c: | |
2250 * floatfns.c (in_float_error): | |
2251 * fileio.c (Ffile_modes): | |
2252 * fileio.c (Fexpand_file_name): | |
2253 * fileio.c (Fmake_temp_name): | |
2254 * fileio.c (Ffile_name_nondirectory): | |
2255 * fileio.c (Ffile_name_directory): | |
2256 * file-coding.h: | |
2257 * file-coding.c (vars_of_mule_coding): | |
2258 * file-coding.c (convert_to_external_format): | |
2259 * file-coding.c (encoding_marker): | |
2260 * file-coding.c (decoding_marker): | |
2261 * file-coding.c (Fcopy_coding_system): | |
2262 * file-coding.c (Fmake_coding_system): | |
2263 * file-coding.c (struct coding_system_list_closure): | |
2264 * file-coding.c (Ffind_coding_system): | |
2265 * file-coding.c (symbol_to_eol_type): | |
2266 * file-coding.c: | |
2267 * faces.h (struct face_cachel): | |
2268 * faces.c (vars_of_faces): | |
2269 * faces.c (face_property_was_changed): | |
2270 * faces.c (mark_face_cachels): | |
2271 * faces.c (temporary_faces_list): | |
2272 * faces.c (struct face_list_closure): | |
2273 * faces.c: | |
2274 * extents.h (struct extent): | |
2275 * extents.c (vars_of_extents): | |
2276 * extents.c (struct copy_string_extents_1_arg): | |
2277 * extents.c (add_string_extents_mapper): | |
2278 * extents.c (Fextent_property): | |
2279 * extents.c (Fset_extent_property): | |
2280 * extents.c (symbol_to_glyph_layout): | |
2281 * extents.c (properties_equal): | |
2282 * extents.c (print_extent): | |
2283 * extents.c (print_extent_1): | |
2284 * extents.c (extent_in_region_p): | |
2285 * extents.c (gap_array_make_gap): | |
2286 * extents.c: | |
2287 * events.h (struct Lisp_Event): | |
2288 * events.h: | |
2289 * events.c (Fevent_properties): | |
2290 * events.c (format_event_object): | |
2291 * events.c (Fmake_event): | |
2292 * events.c (event_equal): | |
2293 * events.c (print_event): | |
2294 * events.c (mark_event): | |
2295 * event-stream.c ((read-char) | |
2296 * event-stream.c (vars_of_event_stream): | |
2297 * event-stream.c (syms_of_event_stream): | |
2298 * event-stream.c (Fset_recent_keys_ring_size): | |
2299 * event-stream.c (Fsit_for): | |
2300 * event-stream.c (Fnext_event): | |
2301 * event-stream.c (execute_help_form): | |
2302 * event-stream.c (maybe_kbd_translate): | |
2303 * event-stream.c: | |
2304 * event-msw.c (vars_of_event_mswindows): | |
2305 * event-msw.c (mswindows_wnd_proc): | |
2306 * event-msw.c (mswindows_need_event): | |
2307 * event-msw.c (mswindows_drain_windows_queue): | |
2308 * event-msw.c (mswindows_pump_outstanding_events): | |
2309 * event-msw.c: | |
2310 * event-msw.c (slurp_thread): | |
2311 * event-msw.c (struct ntpipe_slurp_stream): | |
2312 * event-msw.c (HANDLE_TO_USID): | |
2313 * event-Xt.c (emacs_Xt_handle_magic_event): | |
2314 * event-Xt.c (x_event_to_emacs_event): | |
2315 * event-Xt.c (x_reset_modifier_mapping): | |
2316 * event-Xt.c (x_reset_key_mapping): | |
2317 * event-Xt.c: | |
2318 * eval.c (syms_of_eval): | |
2319 * eval.c (warn_when_safe): | |
2320 * eval.c (warn_when_safe_lispobj): | |
2321 * eval.c (Fbacktrace_frame): | |
2322 * eval.c (Fbacktrace): | |
2323 * eval.c (top_level_set): | |
2324 * eval.c (unbind_to_hairy): | |
2325 * eval.c (specbind_magic): | |
2326 * eval.c (specbind_unwind_wasnt_local): | |
2327 * eval.c (call2_trapping_errors): | |
2328 * eval.c (call1_trapping_errors): | |
2329 * eval.c (catch_them_squirmers_call2): | |
2330 * eval.c (call0_trapping_errors): | |
2331 * eval.c (run_hook_trapping_errors): | |
2332 * eval.c (catch_them_squirmers_eval_in_buffer): | |
2333 * eval.c (call4_in_buffer): | |
2334 * eval.c (call3_in_buffer): | |
2335 * eval.c (call2_in_buffer): | |
2336 * eval.c (call1_in_buffer): | |
2337 * eval.c (call0_in_buffer): | |
2338 * eval.c (run_hook): | |
2339 * eval.c (run_hook_with_args_in_buffer): | |
2340 * eval.c (Fapply): | |
2341 * eval.c (Feval): | |
2342 * eval.c (do_autoload): | |
2343 * eval.c (un_autoload): | |
2344 * eval.c (Fautoload): | |
2345 * eval.c (Finteractive_p): | |
2346 * eval.c (Fcommand_execute): | |
2347 * eval.c (signal_quit): | |
2348 * eval.c (call_with_suspended_errors): | |
2349 * eval.c (signal_error): | |
2350 * eval.c (return_from_signal): | |
2351 * eval.c (Fcall_with_condition_handler): | |
2352 * eval.c (run_condition_case_handlers): | |
2353 * eval.c (condition_case_1): | |
2354 * eval.c (Funwind_protect): | |
2355 * eval.c (unwind_to_catch): | |
2356 * eval.c (internal_catch): | |
2357 * eval.c (Fmacroexpand_internal): | |
2358 * eval.c (Fuser_variable_p): | |
2359 * eval.c (Fdefconst): | |
2360 * eval.c (Fdefvar): | |
2361 * eval.c (Ffunction): | |
2362 * eval.c (signal_call_debugger): | |
2363 * eval.c (call_debugger): | |
2364 * eval.c: | |
2365 * emacs.c (main): | |
2366 * emacs.c (sort_args): | |
2367 * emacs.c (main_1): | |
2368 * elhash.h: | |
2369 * elhash.c: | |
2370 * editfns.c (Fencode_time): | |
2371 * editfns.c (Fdecode_time): | |
2372 * editfns.c (Fuser_full_name): | |
2373 * editfns.c: | |
2374 * editfns.c (save_excursion_restore): | |
2375 * ecrt0.c: | |
2376 * dynarr.c: | |
2377 * doprnt.c (emacs_doprnt_1): | |
2378 * doc.c (verify_doc_mapper): | |
2379 * doc.c (Fsnarf_documentation): | |
2380 * doc.c (Fdocumentation): | |
2381 * dll.c: | |
2382 * dired.c (user_name_completion): | |
2383 * dired.c (Fdirectory_files): | |
2384 * dialog-x.c: | |
2385 * dialog-msw.c: | |
2386 * dgif_lib.c (FreeSavedImages): | |
2387 * dgif_lib.c (DGifGetImageDesc): | |
2388 * device.h: | |
2389 * device.h (struct device): | |
2390 * device.c (Fselect_device): | |
2391 * device.c (allocate_device): | |
2392 * device.c: | |
2393 * device-x.c (Fx_keysym_on_keyboard_p): | |
2394 * device-x.c (Fx_valid_keysym_name_p): | |
2395 * device-x.c (x_IO_error_handler): | |
2396 * device-x.c (x_delete_device): | |
2397 * device-x.c (x_finish_init_device): | |
2398 * device-x.c (x_init_device): | |
2399 * device-x.c: | |
2400 * device-msw.c (mswindows_init_device): | |
2401 * dbxrc: | |
2402 * database.c (vars_of_database): | |
2403 * database.c (Fput_database): | |
2404 * database.c (Fopen_database): | |
2405 * database.c (berkdb_remove): | |
2406 * database.c (berkdb_put): | |
2407 * database.c (Fdatabasep): | |
2408 * database.c (print_database): | |
2409 * database.c: | |
2410 * data.c (vars_of_data): | |
2411 * data.c (syms_of_data): | |
2412 * data.c (init_errors_once_early): | |
2413 * data.c (prune_weak_lists): | |
2414 * data.c (finish_marking_weak_lists): | |
2415 * data.c (print_weak_list): | |
2416 * data.c (Fmod): | |
2417 * data.c (Fstring_to_number): | |
2418 * data.c (Fnumber_to_string): | |
2419 * data.c (Findirect_function): | |
2420 * data.c (Fsetcdr): | |
2421 * data.c (Ffloatp): | |
2422 * data.c (Fsubr_interactive): | |
2423 * data.c (Farrayp): | |
2424 * data.c (Fkeywordp): | |
2425 * data.c (Fnull): | |
2426 * data.c: | |
2427 * console.h (CONSOLE_NAME): | |
2428 * console.h: | |
2429 * console.c (vars_of_console): | |
2430 * console.c (Fselect_console): | |
2431 * console.c: | |
2432 * console-x.h (DEVICE_X_COLORMAP): | |
2433 * console-x.h (struct x_device): | |
2434 * console-x.c (x_device_to_console_connection): | |
2435 * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y): | |
2436 * console-tty.c (tty_init_console): | |
2437 * console-tty.c: | |
1860 * console-msw.h (struct mswindows_frame): | 2438 * console-msw.h (struct mswindows_frame): |
1861 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1): | 2439 * conslots.h: |
1862 there are now three hash tables for callbacks. | 2440 * config.h.in: |
1863 mswindows_enqueue_dispatch_event is no longer static. | 2441 * cmds.c (internal_self_insert): |
1864 | 2442 * cmds.c (Fforward_line): |
1865 * dialog-x.c (maybe_run_dbox_text_callback): | 2443 * cmds.c (Fforward_char): |
1866 * dialog-x.c (dbox_descriptor_to_widget_value): | 2444 * cmds.c: |
1867 switch to new cons3 form for callbacks. | 2445 * cmdloop.c: |
1868 | 2446 * chartab.c (mark_char_table_entry): |
1869 * glyphs-msw.c (mswindows_register_gui_item): | 2447 * chartab.c: |
1870 * glyphs-msw.c (mswindows_widget_instantiate): | 2448 * casefiddle.c (casify_word): |
1871 * glyphs-msw.c (add_tree_item): | 2449 * callproc.c (child_setup): |
1872 * glyphs-msw.c (add_tab_item): | 2450 * callproc.c (Fcall_process_internal): |
1873 new image instance parameter, so it can be passed to callback-ex. | 2451 * callproc.c: |
1874 respect :callback-ex as well as :callback. | 2452 * callint.c (Fcall_interactively): |
1875 | 2453 * bytecode.h: |
1876 * glyphs-widget.c (VALID_GUI_KEYWORDS): | 2454 * bytecode.c (execute_rare_opcode): |
1877 add :callback-ex. | 2455 * bytecode.c (execute_optimized_program): |
1878 | 2456 * bytecode.c: |
1879 * glyphs.c (print_image_instance): | 2457 * bufslots.h: |
1880 prettify, e.g. now prints widget type. | 2458 * buffer.h (BUFFER_REALLOC): |
1881 | 2459 * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA): |
1882 * gui-x.h: | 2460 * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA): |
1883 certain funs have new image instance parameter. | 2461 * buffer.h: |
1884 | 2462 * buffer.h (MAP_INDIRECT_BUFFERS): |
1885 * gui.c: | 2463 * buffer.h (CHECK_LIVE_BUFFER): |
1886 * gui.c (get_gui_callback): | 2464 * buffer.c (init_initial_directory): |
1887 * gui.c (gui_item_add_keyval_pair): | 2465 * buffer.c (complex_vars_of_buffer): |
1888 * gui.c (gui_item_init): | 2466 * buffer.c (vars_of_buffer): |
1889 * gui.c (gui_add_item_keywords_to_plist): | 2467 * buffer.c (finish_init_buffer): |
1890 * gui.c (mark_gui_item): | 2468 * buffer.c (Fget_file_buffer): |
1891 * gui.c (gui_item_hash): | 2469 * buffer.c (Fbuffer_list): |
1892 * gui.c (gui_item_equal): | 2470 * buffer.c (mark_buffer): |
1893 * gui.c (copy_gui_item): | 2471 * balloon_help.c (balloon_help_move_to_pointer): |
1894 * gui.c (syms_of_gui): | 2472 * balloon_help.c (show_help): |
1895 recognize callback-ex in a number of places. | 2473 * balloon_help.c: |
1896 also, fix the annoying "can't get out of yes-no dialog" bug. | 2474 * backtrace.h: |
1897 | 2475 * alloc.c (garbage_collect_1): |
1898 * gui.h: | 2476 * alloc.c (sweep_strings): |
1899 * gui.h (struct Lisp_Gui_Item): | 2477 * alloc.c (sweep_compiled_functions): |
1900 recognize callback-ex in a number of places. | 2478 * alloc.c (sweep_bit_vectors_1): |
1901 | 2479 * alloc.c (sweep_vectors_1): |
1902 * menubar-x.c (menu_item_descriptor_to_widget_value_1): | 2480 * alloc.c (sweep_lcrecords_1): |
1903 new parameter in button_item_to_widget_value. | 2481 * alloc.c (tick_lcrecord_stats): |
1904 | 2482 * alloc.c (pure_string_sizeof): |
1905 * glyphs-x.c (x_update_widget): | 2483 * alloc.c (mark_conses_in_list): |
1906 * glyphs-x.c (x_button_instantiate): | 2484 * alloc.c (mark_object): |
1907 * glyphs-x.c (x_button_update): | 2485 * alloc.c (report_pure_usage): |
1908 * glyphs-x.c (x_progress_gauge_instantiate): | 2486 * alloc.c (make_pure_float): |
1909 * glyphs-x.c (x_edit_field_instantiate): | 2487 * alloc.c (make_pure_string): |
1910 * glyphs-x.c (x_combo_box_instantiate): | 2488 * alloc.c (free_managed_lcrecord): |
1911 * glyphs-x.c (x_tab_control_instantiate): | 2489 * alloc.c (mark_string): |
1912 * glyphs-x.c (x_label_instantiate): | 2490 * alloc.c (noseeum_make_marker): |
1913 new image instance parameter in various places. | 2491 * alloc.c (allocate_event): |
1914 | 2492 * alloc.c (Fbit_vector): |
1915 * event-Xt.c: | 2493 * alloc.c (Fvector): |
1916 * event-Xt.c (enqueue_Xt_dispatch_event): | 2494 * alloc.c (make_float): |
1917 this fun gets exported. | 2495 * alloc.c (Fmake_list): |
1918 | 2496 * alloc.c (Flist): |
1919 * gui-msw.c: | 2497 * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC): |
1920 * gui-msw.c (mswindows_handle_gui_wm_command): | 2498 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): |
1921 handle both :callback and :callback-ex, and generate our own | 2499 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): |
1922 event because it's one of the callback-ex arguments. | 2500 * alloc.c (dbg_constants): |
1923 | 2501 * alloc.c (gc_record_type_p): |
1924 * gui-x.c: | 2502 * alloc.c (free_lcrecord): |
1925 * gui-x.c (popup_selection_callback): | 2503 * alloc.c (xmalloc): |
1926 handle both :callback and :callback-ex, and generate our own | 2504 * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER): |
1927 event because it's one of the callback-ex arguments. | 2505 * abbrev.c: |
1928 * gui-x.c (button_item_to_widget_value): | 2506 * Makefile.in.in (mostlyclean): |
1929 * gui-x.c (gui_items_to_widget_values_1): | 2507 * Makefile.in.in (external_client_xlib_objs_nonshared): |
1930 * gui-x.c (gui_item_children_to_widget_values): | 2508 * Makefile.in.in (temacs_link_args): |
1931 * gui-x.c (gui_items_to_widget_values): | 2509 * Makefile.in.in (release): |
1932 new image instance parameter in various places. | 2510 * Makefile.in.in (dnd_objs): |
1933 | 2511 * Makefile.in.in (objs): |
1934 * fns.c (Freplace_list): | 2512 * Makefile.in.in (PROGNAME): |
1935 fix small typo in doc string. | 2513 * EmacsShell.c: cast strings to (XtPointer) |
1936 | 2514 * EmacsFrame.c: cast strings to (XtPointer) |
1937 * lisp.h: | 2515 - mega patch |
1938 declare enqueue_Xt_dispatch_event. | 2516 - rewrite basic lisp functions for speed |
1939 | 2517 - rewrite bytecode interpreter for speed |
1940 2000-04-28 Ben Wing <ben@xemacs.org> | 2518 - rewrite list looping constructs for speed and safety using |
2519 tortoise/hare. | |
2520 - use size_t where appropriate. | |
2521 - new hashtable implementation | |
2522 - cleanup implementation of opaques | |
2523 - opaques can now be purecopy'ed | |
2524 - move some cl functionality into C for speed. | |
2525 - remove last remaining VMS support | |
2526 - spelling fixes | |
2527 - improve gdb/dbx debugger support | |
2528 - move pure.c back into alloc.c for performance | |
2529 - enable report_pure_usage() if --memory-usage-stats | |
2530 - remove remnants of Energize support (EMACS_BTL, cadillac...) | |
2531 - don't use symbols with leading `_' or embedded `__' | |
2532 - globally cleanup duplicated semicolons `;;' | |
2533 - I give in on %p vs %lx - we use printf("%lx",(long) p) | |
2534 globally. | |
2535 - globally replace O_NDELAY with O_NONBLOCK. | |
2536 - globally replace CDISABLE with _POSIX_VDISABLE. | |
2537 - use O_RDONLY and O_RDWR instead of magic `0' and `2'. | |
2538 - define (and maybe use!) STDERR_FILENO and friends. | |
2539 - add support for macros defined in C | |
2540 - `when', `unless', `not' and `defalias' now defined in C, | |
2541 so that they are universally available. | |
2542 - rename defvar_mumble to defvar_magic | |
2543 - rename RETURN__ to RETURN_SANS_WARNINGS | |
2544 - use consistent style of initial caps in error messages | |
2545 - implement last, butlast, nbutlast, copy-list in C. | |
2546 - provide typedefs for all struct Lisp_foo types | |
2547 - Lisp_Objects must be initialized to Qnil rather than 0. | |
2548 - make sure XEmacs runs (slowly) with always_gc == 1; | |
2549 - fast and safe LOOP_* macros | |
2550 - change calls to XSETOBJ to XSETFOO | |
2551 - replace calls to XSETINT by make_int() | |
2552 - plug up memory leaks | |
2553 - use style markobj (foo), not silly ((markobj) (foo)) | |
2554 - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj)) | |
2555 | |
2556 1998-12-02 P. E. Jareth Hein <jareth@camelot.co.jp> | |
2557 | |
2558 * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0 | |
2559 | |
2560 1998-11-28 SL Baur <steve@altair.xemacs.org> | |
2561 | |
2562 * XEmacs 21.2-beta4 is released. | |
2563 | |
2564 1998-11-27 SL Baur <steve@altair.xemacs.org> | |
2565 | |
2566 * mule-charset.c (complex_vars_of_mule_charset): Fix graphic | |
2567 property in control-1 charset. | |
2568 From Julian Bradfield <jcb@daimi.au.dk> | |
2569 | |
2570 1998-11-26 Jan Vroonhof <vroonhof@math.ethz.ch> | |
2571 | |
2572 * gui-x.c (button_item_to_widget_value): Ignore :key-sequence | |
2573 keyword. | |
2574 Add stub for :label. | |
2575 | |
2576 * gui.c (gui_item_add_keyval_pair): ditto. | |
2577 | |
2578 * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore | |
2579 :key-sequence keyword. | |
2580 Add stub for:label. | |
2581 Support :active for submenus like the Windows code and FSF Emacs. | |
2582 | |
2583 1998-11-27 Hrvoje Niksic <hniksic@srce.hr> | |
2584 | |
2585 * dired.c (make_directory_hash_table): make_string() is OK because | |
2586 readdir() Mule-encapsulates. | |
2587 | |
2588 1998-11-26 Hrvoje Niksic <hniksic@srce.hr> | |
2589 | |
2590 * fns.c (Fbase64_encode_string): Fix docstring. | |
2591 (Fbase64_decode_string): Ditto. | |
2592 | |
2593 1998-11-26 Hrvoje Niksic <hniksic@srce.hr> | |
2594 | |
2595 * editfns.c (Ftranslate_region): Use | |
2596 convert_bufbyte_string_into_emchar_string(). | |
2597 | |
2598 1998-11-25 Hrvoje Niksic <hniksic@srce.hr> | |
2599 | |
2600 * editfns.c (Ftranslate_region): Accept vectors and char-tables as | |
2601 well as strings. | |
2602 (Ftranslate_region): Turn table into an array of Emchars for | |
2603 larger regions. | |
2604 | |
2605 1998-11-25 Hrvoje Niksic <hniksic@srce.hr> | |
2606 | |
2607 * chartab.c (Freset_char_table): Fix wrong placement of #endif. | |
2608 | |
2609 1998-11-24 Hrvoje Niksic <hniksic@srce.hr> | |
2610 | |
2611 * chartab.c (Freset_char_table): Don't blindly fill chartables of | |
2612 type `char' with nils. | |
2613 | |
2614 * chartab.c (canonicalize_char_table_value): Coerce ints to chars | |
2615 for tables of type `char'. | |
2616 | |
2617 1998-11-26 Didier Verna <verna@inf.enst.fr> | |
2618 | |
2619 * input-method-xlib.c (Initialize_Locale): don't call | |
2620 XtSetLanguageProc. We've done the whole work here. | |
2621 * input-method-xfs.c (Initialize_Locale): ditto. | |
2622 * input-method-motif.c (Initialize_Locale): ditto. | |
2623 | |
2624 1998-11-26 Didier Verna <verna@inf.enst.fr> | |
2625 | |
2626 * process-unix.c (unix_create_process): handle properly | |
2627 Vfile_name_coding_system for converting the program and directory | |
2628 names. | |
2629 | |
2630 1998-11-27 SL Baur <steve@altair.xemacs.org> | |
2631 | |
2632 * m/arm.h: New file. | |
2633 From James LewisMoss <dres@ioa.com> | |
2634 | |
2635 1998-11-27 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp> | |
2636 | |
2637 * m/mips-nec.h: | |
2638 Fix the realpath() problem of UnixWare2.1.3. | |
2639 Patches for NEC's sysv4.2 machine. | |
2640 | |
2641 1998-11-25 Hrvoje Niksic <hniksic@srce.hr> | |
2642 | |
2643 * dired.c (Fdirectory_files): Remove redundant code. | |
2644 | |
2645 1998-11-25 Hrvoje Niksic <hniksic@srce.hr> | |
2646 | |
2647 * fns.c (free_malloced_ptr): New function. | |
2648 (XMALLOC_OR_ALLOCA): New macro. | |
2649 (XMALLOC_UNBIND): Ditto. | |
2650 (Fbase64_encode_region): Use malloc() for large blocks; arrange it | |
2651 to be freed in case of non-local exit. | |
2652 (Fbase64_encode_string): Ditto. | |
2653 (Fbase64_decode_region): Ditto. | |
2654 (Fbase64_decode_string): Ditto. | |
2655 (STORE_BYTE): New macro. | |
2656 (base64_decode_1): Use it. | |
2657 | |
2658 1998-11-25 Hrvoje Niksic <hniksic@srce.hr> | |
2659 | |
2660 * fns.c (base64_value_to_char): Base64 stuff. | |
2661 | |
2662 1998-11-24 Hrvoje Niksic <hniksic@srce.hr> | |
2663 | |
2664 * editfns.c (Fbuffer_substring): New function. | |
2665 | |
2666 * lisp.h: Declare make_string_from_buffer_no_extents(). | |
2667 | |
2668 * insdel.c (make_string_from_buffer_1): New function. | |
2669 (make_string_from_buffer_no_extents): Ditto. | |
2670 | |
2671 1998-11-15 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> | |
2672 | |
2673 * linuxplay.c: Including <fcntl.h> instead of <sys/fcntl.h> makes | |
2674 sound work on AIX with OSS installed. Linux should still work. | |
2675 | |
2676 1998-11-03 Andy Piper <andyp@parallax.co.uk> | |
2677 | |
2678 * config.h.in: name change for cygwin/version.h | |
2679 | |
2680 * configure.in: check for cygwin/version.h now. | |
2681 | |
2682 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR -> | |
2683 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20. | |
2684 move cygwin32/version.h to cygwin/version.h | |
2685 | |
2686 1998-11-03 Olivier Galibert <galibert@pobox.com> | |
2687 | |
2688 * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from | |
2689 int to long. | |
2690 | |
2691 1998-10-22 Andy Piper <andyp@parallax.co.uk> | |
2692 | |
2693 * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR -> | |
2694 CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20. | |
2695 enable BROKEN_SIGIO under b20 to make QUIT work. | |
2696 | |
2697 1998-10-22 Andy Piper <andyp@parallax.co.uk> | |
2698 | |
2699 * frame-msw.c (mswindows_size_frame_internal): force frame sizing | |
2700 to fit within the constraints of the screen size. I.e. make the | |
2701 frame small enough to fit and move it if some of it will be | |
2702 off-screen. | |
2703 | |
2704 1998-10-19 Greg Klanderman <greg@alphatech.com> | |
2705 | |
2706 * dired.c: conditionalize inclusion of user-name-completion | |
2707 primitives on non-Windows NT. The needed functions don't exist on NT. | |
2708 | |
2709 1998-11-24 SL Baur <steve@altair.xemacs.org> | |
2710 | |
2711 * gifrlib.h: Clean up types for 64 bit compile. | |
2712 * dgif_lib.c (DGifInitRead): Ditto. | |
2713 (MakeSavedImage): Ditto. | |
2714 * emacs.c (decode_path): Ditto. | |
2715 From Steve Carney <carney@pa.dec.com> | |
2716 | |
2717 1998-10-16 William M. Perry <wmperry@aventail.com> | |
2718 | |
2719 * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps | |
2720 (cehckboxes instead of checkboxes). | |
2721 | |
2722 1998-10-15 SL Baur <steve@altair.xemacs.org> | |
2723 | |
2724 * XEmacs 21.2-beta3 is released. | |
2725 | |
2726 1998-10-13 Raymond Toy <toy@rtp.ericsson.se> | |
2727 | |
2728 * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run | |
2729 gnuclient. Otherwise, we run xemacs as we always did. This gets | |
2730 rid of the annoying DOS window when running gnuclient. | |
2731 | |
2732 1998-10-13 Andy Piper <andyp@parallax.co.uk> | |
2733 | |
2734 * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS -> | |
2735 HAVE_MS_WINDOWS typo. | |
2736 | |
2737 1998-10-13 SL Baur <steve@altair.xemacs.org> | |
2738 | |
2739 * process-unix.c (unix_send_process): Set closed flag on writable | |
2740 pipe after SIGPIPE is received and before we call deactivate_process. | |
2741 | |
2742 1998-10-03 Gunnar Evermann <ge204@eng.cam.ac.uk> | |
2743 | |
2744 * window.c (Fset_window_start): respect narrowing when | |
2745 checking wheter start is at the beginning of a line. | |
2746 (Fset_window_buffer): Ditto | |
2747 Fixes repeatable crash in VM. | |
2748 | |
2749 1998-10-09 SL Baur <steve@altair.xemacs.org> | |
2750 | |
2751 * window.c (specifier_vars_of_window): Set default vertical | |
2752 divider width to 1 on ttys. | |
2753 | |
2754 1998-10-08 Martin Buchholz <martin@xemacs.org> | |
2755 | |
2756 * alloc.c: | |
2757 * unexec.c: | |
2758 * malloc.c: | |
2759 Add <stddef.h> to get ptrdiff_t declaration | |
2760 | |
2761 1998-10-07 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
2762 | |
2763 * scrollbar-msw.c: Use the same vertical scrollbar drag hack as | |
2764 is used for Motif or Lucid scrollbars under X. | |
2765 | |
2766 1998-10-08 Pierre Wendling <pw@ebc.vbe.dec.com> | |
2767 | |
2768 * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running | |
2769 `configure' | |
2770 | |
2771 1998-10-06 Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp> | |
2772 | |
2773 * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget. | |
2774 | |
2775 1998-10-05 Andy Piper <andyp@parallax.co.uk> | |
2776 | |
2777 * s/cygwin32.h: more cygwin b20 reorganisation. | |
2778 | |
2779 1998-10-01 Raymond Toy <toy@rtp.ericsson.se> | |
2780 | |
2781 * nas.c: Added necessary support functions to be able to handle | |
2782 WAVE files in memory, just like the support for SND files in | |
2783 memory. | |
2784 | |
2785 1998-09-30 SL Baur <steve@altair.xemacs.org> | |
2786 | |
2787 * callproc.c (child_setup): Fix spelling typo. | |
2788 | |
2789 1998-09-29 SL Baur <steve@altair.xemacs.org> | |
2790 | |
2791 * XEmacs 21.2-beta2 is released. | |
2792 | |
2793 1998-09-27 P. E. Jareth Hein <jareth@camelot.co.jp> | |
2794 | |
2795 * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg | |
2796 to prevent memory corruption in the case of jumping out of a series of | |
2797 nested match patterns. This is a rather brute force approach, though. | |
2798 | |
2799 1998-09-02 Andy Piper <andyp@parallax.co.uk> | |
2800 | |
2801 * config.h.in: ditto. | |
2802 | |
2803 * s/cygwin32.h: rearrange declarations to cope with cygwin | |
2804 b20. Include cygwin32/version.h if it exists. | |
2805 | |
2806 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
2807 | |
2808 * device-msw.c (mswindows_init_device): Call new | |
2809 mswindows_enumerate_fonts() function in objects-msw.c instead | |
2810 of font_enum_callback_1() to enumerate fonts. | |
2811 | |
2812 font_enum_callback_1() and _2() moved to objects-msw.c. | |
2813 | |
2814 * faces.c (complex_vars_of_faces): Make the mswindows default | |
2815 face font fully specified and provide some fallbacks. | |
2816 | |
2817 * objects-msw.c: font_enum_callback_1() and _2() moved here | |
2818 from objects-msw.c. Obtain the enumerated font's character | |
2819 sets by table lookup instead of using the locale-specific | |
2820 string provided by Windows. | |
2821 | |
2822 New public non-method mswindows_enumerate_fonts() that fills | |
2823 in the supplied mswindows device's font list. | |
2824 | |
2825 mswindows_initialize_font_instance: Use the supplied name | |
2826 variable instead of f->name when signalling errors. Match font | |
2827 weights and character sets using lookup tables which handle | |
2828 spaces instead of by frobbing. | |
2829 | |
2830 1998-09-20 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
2831 | |
2832 * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE, | |
2833 on the size of code fragments passed to run_in_other_process. | |
2834 | |
2835 run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine | |
2836 the amount of memory to allocate in the other process. | |
2837 | |
2838 Removed sigkill_code_end(), sigint_code_end() and | |
2839 sig_enable_code_end() since they are now redundant. | |
2840 | |
2841 send_signal() and enable_child_signals(): Don't try to work | |
2842 out the end of the code fragments passed to | |
2843 run_in_other_process() | |
2844 | |
2845 1998-09-10 Kazuyuki IENAGA <ienaga@jsys.co.jp> | |
2846 | |
2847 * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for | |
2848 FreeBSD-current. | |
2849 | |
2850 * src/unexelf.c: Partially synched with FSF's 20.3. | |
2851 | |
2852 1998-09-10 Hrvoje Niksic <hniksic@srce.hr> | |
2853 | |
2854 * insdel.c (signal_after_change): Map across indirect buffers | |
2855 here, and not in the upper-level functions. | |
2856 (signal_first_change): Don't check for Armageddon. | |
2857 (signal_before_change): Map across indirect buffers here. | |
2858 (prepare_to_modify_buffer): ...and here. | |
2859 | |
2860 1998-09-09 Hrvoje Niksic <hniksic@srce.hr> | |
2861 | |
2862 * insdel.c (signal_after_change): Add return value. | |
2863 (buffer_insert_string_1): Use it. | |
2864 (buffer_delete_range): Ditto. | |
2865 (buffer_replace_char): Ditto. | |
2866 (cancel_multiple_change): Map the indirect buffers. | |
2867 | |
2868 1998-09-06 Hrvoje Niksic <hniksic@srce.hr> | |
2869 | |
2870 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter. | |
2871 (uninit_buffer_text): Ditto. | |
2872 | |
2873 * buffer.c (Fmake_indirect_buffer): Implement stricter | |
2874 error-checking. | |
2875 | |
2876 1998-09-04 Hrvoje Niksic <hniksic@srce.hr> | |
2877 | |
2878 * insdel.c (change_function_restore): Reverse order of | |
2879 function-call and assignment. | |
2880 (first_change_hook_restore): Ditto. | |
2881 | |
2882 * extents.c (mark_extent_auxiliary): Mark them. | |
2883 (Fset_extent_property): Set them. | |
2884 (Fextent_property): Get them. | |
2885 (Fextent_properties): Ditto. | |
2886 (vars_of_extents): Set their default. | |
2887 | |
2888 * extents.h (struct extent_auxiliary): Add before_change_functions | |
2889 and after_change_functions. | |
2890 | |
2891 * insdel.c (signal_before_change): Use it. | |
2892 (signal_after_change): Ditto. | |
2893 | |
2894 * extents.c (report_extent_modification): New function. | |
2895 | |
2896 * insdel.c (signal_before_change): Don't check for Armageddon. | |
2897 (signal_after_change): Ditto. | |
2898 | |
2899 1998-09-11 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de> | |
2900 | |
2901 * redisplay.c (redisplay_window): make sure a new starting point | |
2902 is chosen if it somehow got moved from the beginning of the line | |
2903 -- this can happen because Fwiden was called recently. | |
2904 | |
2905 * window.c (Fset_window_start): set start_at_line_beg correctly | |
2906 (Fset_window_buffer): Ditto | |
2907 | |
2908 1998-09-06 Hrvoje Niksic <hniksic@srce.hr> | |
2909 | |
2910 * insdel.c (init_buffer_text): Remove INDIRECT_P parameter. | |
2911 (uninit_buffer_text): Ditto. | |
2912 | |
2913 * buffer.c (Fmake_indirect_buffer): Implement stricter | |
2914 error-checking. | |
2915 | |
2916 1998-05-14 Jan Vroonhof <vroonhof@math.ethz.ch> | |
2917 | |
2918 * emacs.c (main_1): Removed references to *vars_of_filelock. | |
2919 | |
2920 * lisp.h: Added Fsystem_name. | |
2921 | |
2922 * filelock.c: Replaced by version from FSF 20.2. Now implements | |
2923 locking by using symlinks which is NFS safe. However keep the | |
2924 GCPRO's in lock_file and the calls to callx_in_buffer like our old | |
2925 version (and of course use ansi C, acessor macros, etc). | |
2926 | |
2927 1998-09-06 Jan Vroonhof <vroonhof@math.ethz.ch> | |
2928 | |
2929 * process-unix.c (unix_create_process): Reset SIGHUP handler to | |
2930 SIG_DFL. We now try to conserve any inherted SIG_IGN settings | |
2931 in init_signals_very_early. However these should not be passed | |
2932 on to children attached to the new pty. | |
2933 | |
2934 1998-08-28 Andy Piper <andyp@parallax.co.uk> | |
2935 | |
2936 * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use. | |
2937 | |
2938 1998-09-07 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
2939 | |
2940 * fileio.c (file-name-directory, file_name_as_directory): | |
2941 Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT. | |
2942 | |
2943 1998-09-02 Andy Piper <andyp@parallax.co.uk> | |
2944 | |
2945 * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC | |
2946 | |
2947 * ralloc.c: uncomment __morecore. | |
2948 | |
2949 1998-09-92 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
2950 | |
2951 * event-msw.c(winsock_writer): Supply a dummy 4th argument to | |
2952 WriteFile() to fix a winsock 1.x bug on Win95. | |
2953 | |
2954 1998-08-28 Hrvoje Niksic <hniksic@srce.hr> | |
2955 | |
2956 * event-Xt.c (emacs_Xt_mapping_action): Check for device being | |
2957 deleted. | |
2958 (x_event_to_emacs_event): Ditto. | |
2959 (emacs_Xt_handle_focus_event): Ditto. | |
2960 (emacs_Xt_handle_magic_event): Ditto. | |
2961 | |
2962 * console-x.h (struct x_device): New flag being_deleted. | |
2963 (DEVICE_X_BEING_DELETED): New macro. | |
2964 | |
2965 * device-x.c (x_IO_error_handler): Throw to top-level instead of | |
2966 returning. Before doing that, set the being_deleted flag on the | |
2967 device. | |
2968 | |
2969 1998-08-27 Hrvoje Niksic <hniksic@srce.hr> | |
2970 | |
2971 * device-x.c (x-seppuku-on-epipe): Removed. | |
2972 | |
2973 1998-08-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de> | |
2974 | |
2975 * frame-x.c (x_delete_frame): Flush the X output buffer after | |
2976 calling XtDestroyWidget to ensure that the windows are really | |
2977 killed right now. | |
2978 | |
2979 1998-08-26 Hrvoje Niksic <hniksic@srce.hr> | |
2980 | |
2981 * menubar-x.c (my_run_hook): New unused function. | |
2982 (pre_activate_callback): Use run_hook for Qactivate_menubar_hook, | |
2983 since we ignore the results of the contained functions anyway. | |
2984 | |
2985 1998-08-26 P. E. Jareth Hein <jareth@camelot.co.jp> | |
2986 | |
2987 * glyphs-eimage.c (gif_instantiate): Fix a crash in handling | |
2988 interlaced GIF files that are smaller than 4 lines high... | |
2989 | |
2990 1998-08-31 Hrvoje Niksic <hniksic@srce.hr> | |
2991 | |
2992 * buffer.c (map_over_sharing_buffers): Deleted. | |
2993 | |
2994 * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h. | |
2995 | |
2996 * buffer.c (Fkill_buffer): Keep indirect_children updated while | |
2997 killing them. | |
2998 | |
2999 1998-08-31 Hrvoje Niksic <hniksic@srce.hr> | |
3000 | |
3001 * insdel.c (buffer_insert_string_1): Advance the point bytind in | |
3002 all the buffers. | |
3003 (buffer_delete_range): Ditto. | |
3004 | |
3005 * marker.c (init_buffer_markers): Set point-marker to the value of | |
3006 point in an indirect buffer. | |
3007 | |
3008 1998-08-30 Hrvoje Niksic <hniksic@srce.hr> | |
3009 | |
3010 * undo.c (undo_prelude): Test last-undo-buffer against base | |
3011 buffer. | |
3012 | |
3013 * insdel.c (MAP_INDIRECT_BUFFERS): Use it. | |
3014 | |
3015 * buffer.h (BUFFER_BASE_BUFFER): New macro. | |
3016 | |
3017 1998-08-30 Hrvoje Niksic <hniksic@srce.hr> | |
3018 | |
3019 * insdel.c (init_buffer_text): Initialize it here. | |
3020 | |
3021 * line-number.c: Address line_number_cache through buffer->text. | |
3022 | |
3023 * buffer.c (mark_buffer): Mark line number cache. | |
3024 | |
3025 * bufslots.h (line_number_cache): Move to struct buffer_text. | |
3026 | |
3027 * insdel.c (buffer_insert_string_1): Propagate signals and changes | |
3028 across the children buffers. | |
3029 (buffer_delete_range): Ditto. | |
3030 (buffer_replace_char): Ditto. | |
3031 (gap_left): Ditto. | |
3032 (gap_right): Ditto. | |
3033 | |
3034 * insdel.c (MAP_INDIRECT_BUFFERS): New macro. | |
3035 | |
3036 * buffer.c (Fmake_indirect_buffer): Uncomment. | |
3037 | |
3038 1998-08-31 Hrvoje Niksic <hniksic@srce.hr> | |
3039 | |
3040 * macros.c (Fend_kbd_macro): Remove trailing period from error | |
3041 message. | |
3042 (Fexecute_kbd_macro): Ditto. | |
3043 | |
3044 1998-08-21 Greg Klanderman <greg@alphatech.com> | |
3045 | |
3046 * dired.c (Fuser_name_completion): remove optional 2nd argument. | |
3047 (Fuser_name_completion_1): new function to return uniqueness | |
3048 indication in addition to the user name completion. | |
3049 (user_name_completion): change type of `uniq' argument. | |
3050 | |
3051 1998-08-19 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> | |
3052 | |
3053 * lread.c (vars_of_lread): Removed `source-directory' variable. | |
3054 | |
3055 1998-08-22 Hrvoje Niksic <hniksic@srce.hr> | |
3056 | |
3057 * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to | |
3058 Cygwin. | |
3059 | |
3060 1998-08-19 SL Baur <steve@altair.xemacs.org> | |
3061 | |
3062 * dired.c (vars_of_dired): Fix misapplied patch. | |
3063 | |
3064 1998-08-16 Martin Buchholz <martin@xemacs.org> | |
3065 | |
3066 * fns.c (Fremrassq, remrassq_no_quit): | |
3067 A XCAR that should have been an XCDR turned Fremrassq into Fremassq | |
3068 | |
3069 1998-07-17 Didier Verna <verna@inf.enst.fr> | |
3070 | |
3071 * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill | |
3072 style as foreground GC for faces that have the `dim' property. | |
3073 (x_output_string): when the `dim' face property is set, | |
3074 ensure the gray pixmap has been created, and get a proper | |
3075 foreground GC to draw the text. | |
3076 | |
3077 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
3078 | |
3079 * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug: | |
3080 Manually track the state of the left and right Ctrl and Alt | |
3081 modifiers. | |
3082 | |
3083 1998-08-07 Matt Stupple <matts@tibco.com> | |
3084 | |
3085 * ntproc.c: don't wait on char_consumed at thread entry. | |
3086 Additionally, to get the 'process' marked as finished, ensure | |
3087 that the CHILD_ACTIVE macro returns false, so before exiting | |
3088 close char_avail and set it to NULL, and close other handles | |
3089 to reduce handle leak problems. | |
3090 | |
3091 1998-08-09 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
3092 | |
3093 * menubar-msw.c (displayable_menu_item): take account of menu | |
3094 depth when deciding whether to try to display accelerators. | |
3095 | |
3096 1998-08-04 Andy Piper <andyp@parallax.co.uk> | |
3097 | |
3098 * event-msw.c: use MsgWaitForMultipleObjects if there are no | |
3099 subprocesses. | |
3100 | |
3101 * glyphs-msw.c: fix a couple of potential handle leaks. | |
3102 | |
3103 1998-08-04 P. E. Jareth Hein <jareth@camelot.co.jp> | |
3104 | |
3105 * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF | |
3106 *decoding ONLY* back into the core. | |
3107 * glyphs-eimage.c: Change referenced header file for GIF | |
3108 reading to point to the incore version. | |
3109 | |
3110 1998-07-20 Martin Buchholz <martin@xemacs.org> | |
3111 | |
3112 * casefiddle.c (casify_object): | |
3113 Change algorithm from O(N**2) to O(N). | |
3114 Code cleanup. | |
3115 Doc string cleanup. | |
3116 | |
3117 1998-07-22 Greg Klanderman <greg@alphatech.com> | |
3118 | |
3119 * dired.c (file_name_completion_unwind): don't leak the cons. | |
3120 | |
3121 1998-07-20 Greg Klanderman <greg@alphatech.com> | |
3122 | |
3123 * dired.c (Fuser_name_completion): new function. | |
3124 (Fuser_name_all_completions): new function. | |
3125 (user_name_completion): new function. | |
3126 (syms_of_dired): 2 new DEFSUBRs. | |
3127 (vars_of_dired): initialize user name cache vars. | |
3128 | |
3129 1998-07-29 P. E. Jareth Hein <jareth@camelot.co.jp> | |
3130 | |
3131 * glyphs-eimage.c (png_instantiate): Add proper handling for background | |
3132 colors taken from the default face. Also correct a thinko in | |
3133 transparency (not alpha) handling. | |
3134 | |
3135 1998-07-23 Martin Buchholz <martin@xemacs.org> | |
3136 | |
3137 * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap. | |
3138 * unexalpha.c: ANSI C-ize. Clean compiler warnings. | |
3139 * lread.c (Fload_internal): Be very careful with printfs of | |
3140 size_t's | |
3141 * gui-x.c (menu_name_to_accelerator): tolower wants an `int' | |
3142 argument. | |
3143 | |
3144 1998-07-27 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de> | |
3145 | |
3146 * callint.c (Fcall_interactively): GCPRO prompt string before | |
3147 passing it to Fread_key_sequence | |
3148 | |
3149 1998-07-27 SL Baur <steve@altair.xemacs.org> | |
3150 | |
3151 * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and | |
3152 Vvertical_divider_map. | |
3153 | |
3154 * mule-canna.c (vars_of_mule_canna): Initialize every symbol to | |
3155 Qnil or 0, none were initialized prior to this change. | |
3156 | |
3157 Rename misnamed `V' prefixed integer variables: | |
3158 Vcanna_empty_info, Vcanna_through_info, Vcanna_underline, | |
3159 Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos, | |
3160 Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos, | |
3161 Vcanna_ichiran_revLen. | |
3162 | |
3163 Rename misnamed `V' prefixed integer variables and initialize | |
3164 properly in the vars_of routine. | |
3165 Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode, | |
3166 Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode, | |
3167 Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode, | |
3168 Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode, | |
3169 Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode, | |
3170 Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode, | |
3171 Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode, | |
3172 Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode, | |
3173 Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode, | |
3174 Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode, | |
3175 Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode, | |
3176 Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode, | |
3177 Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode, | |
3178 Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode, | |
3179 Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode, | |
3180 Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode, | |
3181 Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode, | |
3182 Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode, | |
3183 Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode, | |
3184 Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert, | |
3185 Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode, | |
3186 Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward, | |
3187 Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine, | |
3188 Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious, | |
3189 Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei, | |
3190 Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu, | |
3191 Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu, | |
3192 Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku, | |
3193 Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper, | |
3194 Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana, | |
3195 Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana, | |
3196 Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku, | |
3197 Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei, | |
3198 Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle, | |
3199 Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle, | |
3200 Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward, | |
3201 Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode, | |
3202 Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark, | |
3203 Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer, | |
3204 Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down, | |
3205 Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown, | |
3206 Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key, | |
3207 Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up, | |
3208 Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down, | |
3209 Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up, | |
3210 Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down | |
3211 | |
3212 1998-07-16 Jan Vroonhof <vroonhof@math.ethz.ch> | |
3213 | |
3214 * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms. | |
3215 (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier | |
3216 keys thus no longer considering all keysyms on a key. | |
3217 | |
3218 1998-07-19 SL Baur <steve@altair.xemacs.org> | |
3219 | |
3220 * XEmacs 21.2-beta1 is released. | |
3221 | |
3222 1998-07-12 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> | |
3223 | |
3224 * eldap.c (Fldap_search_internal): When converting the list of | |
3225 attributes to search Copy the final 0 from Lisp strings to C | |
3226 strings. | |
3227 Check base, not Vldap_default_base as a a string | |
3228 | |
3229 1998-07-13 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
3230 | |
3231 * nt.c: Remove Vstdio_str; already defined in console-stream.c. | |
3232 | |
3233 * unexnt.c: Unconditionally define bss_start and bss_size, and | |
3234 ensure that they don't go in the .bss section. | |
3235 | |
3236 1998-07-17 Olivier Galibert <galibert@pobox.com> | |
3237 | |
3238 * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv | |
3239 byte order is dependant of the local byte order). | |
3240 From Takeshi Hagiwara <hagiwara@ie.niigata-u.ac.jp> | |
3241 | |
3242 1998-07-18 SL Baur <steve@altair.xemacs.org> | |
3243 | |
3244 * glyphs-msw.c (mswindows_resource_normalize): Qresource -> | |
3245 Qmswindows_resource. | |
3246 From Jonathan Harris <jhar@tardis.ed.ac.uk> | |
3247 | |
3248 1998-07-12 SL Baur <steve@altair.xemacs.org> | |
3249 | |
3250 * general.c (syms_of_general): Add defsymbol for Qresource. | |
3251 | |
3252 * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to | |
3253 Qmswindows_resource. | |
3254 (TopLevel): Rename 'resource image format to 'mswindows_resource. | |
3255 (mswindows_resource_validate): Rename. | |
3256 (mswindows_resource_normalize): Rename. | |
3257 (mswindows_resource_possible_dest_types): Rename. | |
3258 (mswindows_resource_instantiate): Rename. | |
3259 (image_instantiator_format_create_glyphs_mswindows): Replace | |
3260 `resource' with `mswindows.resource'. | |
3261 | |
3262 * XEmacs 21.0-pre5 is released. | |
3263 | |
3264 1998-07-10 SL Baur <steve@altair.xemacs.org> | |
3265 | |
3266 * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn | |
3267 server type in environment. | |
3268 Use alloca-ed strings instead of tiny fixed size ones. | |
3269 | |
3270 1998-07-09 SL Baur <steve@altair.xemacs.org> | |
3271 | |
3272 * XEmacs 21.0-pre4 is released. | |
3273 | |
3274 1998-07-01 James N. Potts <jnpotts@plutonium.net> | |
3275 | |
3276 * fileio.c: (expand_file_name): under win32: Don't treat names | |
3277 as UNC names if a drive letter has been specified. If a drive | |
3278 has been specified, strip out extra directory-seperators that | |
3279 reportedly cause problems under Win95. | |
3280 | |
3281 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
3282 | |
3283 * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with | |
3284 MSVC >= 5.0. Put emacs init and zero-init data in a special | |
3285 section of the executable when this is defined. | |
3286 | |
3287 * unexnt.c, ntheap.h: | |
3288 Removed unused find_section() and get_section_size(). | |
3289 | |
3290 * unexnt.c: | |
3291 Fix up the executable's checksum after dumping otherwise the | |
3292 profiler complains. | |
3293 When DUMP_SEPARATE_SECTION is defined, don't need to dump | |
3294 zero-init data separately from init data. Dump emacs data | |
3295 into a special section of the executable. | |
3296 When DUMP_SEPARATE_SECTION not defined, dump .bss up to | |
3297 my_ebss instead of up to the end of bss. | |
3298 | |
3299 1998-07-09 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
3300 | |
3301 * filelock.c: Removed Vconfigure_lock_directory - already | |
3302 defined in emacs.c. | |
3303 | |
3304 * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already | |
3305 defined in frame.c and general.c respectively. | |
3306 | |
3307 * glyphs-msw.c: Removed Qresource - already defined in | |
3308 general.c. | |
3309 | |
3310 1998-07-05 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> | |
3311 | |
3312 * eldap.c (Fldap_search_internal): Docstring fixes | |
3313 | |
3314 1998-07-04 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
3315 | |
3316 * nt.c (init_environment): Removed unused PRELOAD_WINSOCK, | |
3317 EMACSDOC and TERM variables. Added EMACSDEBUGPATHS, | |
3318 EMACSPACKAGEPATH and INFOPATH variables. | |
3319 Removed unused get_emacs_configuration function. | |
3320 | |
3321 * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because | |
3322 it is now defined at build-time by the makefile. | |
3323 | |
3324 1998-07-01 James N. Potts <jnpotts@plutonium.net> | |
3325 | |
3326 * fileio.c: (expand_file_name): under win32: Don't treat names as | |
3327 UNC names if a drive letter has been specified. If a drive has | |
3328 been specified, strip out extra directory-seperators that | |
3329 reportedly cause problems under Win95. | |
3330 | |
3331 1998-07-05 Andy Piper <andyp@parallax.co.uk> | |
3332 | |
3333 * faces.c (complex_vars_of_faces): for the gui-element face don't | |
3334 fallback to the default face, instead provide reasonable default | |
3335 fallbacks that were previously hardcoded elsewhere. | |
3336 | |
3337 1998-07-06 Olivier Galibert <galibert@pobox.com> | |
3338 | |
3339 * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem | |
3340 when the X server endianness is different than the client's one. | |
3341 | |
3342 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com> | |
3343 | |
3344 * eval.c (run_hook_with_args_in_buffer): Check | |
3345 default (non-buffer-local) value of hook for | |
3346 nil before treating it as a function. Don't initialize | |
3347 the `globals' variable twice. | |
3348 | |
3349 1998-06-24 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
3350 | |
3351 * fileio.c: Don't do directory seperator canonicalisation in | |
3352 substitute-in-file-name because we don't know that the | |
3353 filename refers to a local file. | |
3354 | |
3355 1998-06-24 Adrian Aichner <aichner@ecf.teradyne.com> | |
3356 | |
3357 * process-nt.c (nt_create_process): Try appending the standard | |
3358 executable file extensions to the filename if none supplied. | |
3359 | |
3360 1998-06-29 SL Baur <steve@altair.xemacs.org> | |
3361 | |
3362 * fileio.c (Fsubstitute_in_file_name): Enable double slash notation | |
3363 for cygwin32. | |
3364 From Keisuke Mori <ksk@ntts.com> | |
3365 | |
3366 1998-06-24 Andy Piper <andyp@parallax.co.uk> | |
3367 | |
3368 * toolbar-msw.c (mswindows_output_toolbar): only enable masked | |
3369 images if we have masks. This handles the xbm case (have masks) | |
3370 and avoids overuse of resources in the xpm case (generally no masks). | |
3371 Don't output small toolbars. | |
3372 | |
3373 1998-06-29 Kyle Jones <kyle_jones@wonderworks.com> | |
3374 | |
3375 * eval.c (run_hook_with_args_in_buffer): Don't treat | |
3376 the default value of a buffer local hook as a list of | |
3377 hooks unless it is both a cons and the car of that cons | |
3378 is not Qlambda. | |
3379 | |
3380 1998-06-29 SL Baur <steve@altair.xemacs.org> | |
3381 | |
3382 * extents.c: Email address for Ben Wing is ben@xemacs.org. | |
3383 * process-unix.c: Ditto. | |
3384 * mule-coding.h: Ditto. | |
3385 * mule-coding.c: Ditto. | |
3386 * mule-charset.c: Ditto. | |
3387 * mule-charset.h: Ditto. | |
3388 * file-coding.c: Ditto. | |
3389 * file-coding.h: Ditto. | |
3390 | |
3391 1998-06-22 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
3392 | |
3393 * event-msw.c: Guard against recursion when freeing | |
3394 FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing. | |
3395 | |
3396 * frame-msw.c: Don't set WS_VISIBLE attribute on first frame. | |
3397 Call ShowWindow twice in init_frame_3 to get round runemacs | |
3398 weirdness. | |
3399 | |
3400 1998-06-27 Hrvoje Niksic <hniksic@srce.hr> | |
3401 | |
3402 * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto. | |
3403 | |
3404 * winslots.h: Rename. | |
3405 | |
3406 * window.c (specifier_vars_of_window): Renamed | |
3407 vertical-divider-draggable-p to vertical-divider-always-visible-p, | |
3408 as suggested by Ben Wing. | |
3409 (specifier_vars_of_window): Fix docstrings. | |
3410 | |
3411 1998-06-22 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> | |
3412 | |
3413 * unexaix.c: Line number information works correctly again. | |
3414 | |
3415 1998-06-22 Olivier Galibert <galibert@pobox.com> | |
3416 | |
3417 * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry. | |
3418 | |
3419 1998-06-21 Martin Buchholz <martin@xemacs.org> | |
3420 | |
3421 * editfns.c (get_home_directory): ANSIfy. | |
3422 XEmacs is compilable under C *and* C++. | |
3423 It's XEmacs, not Xemacs! | |
3424 | |
3425 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
3426 | |
3427 * console-msw.h: added a list of fonts to device data. | |
3428 | |
3429 * device-msw.c: enumerate list of available fonts in | |
3430 mswindows_init_device. Free list in mswindows_delete_device. | |
3431 | |
3432 * objects-msw.c: Added helper function match_font used by | |
3433 mswindows_initialize_font_instance and mswindows_list_fonts. | |
3434 Allow a charset to be specified in a font string, even if | |
3435 previous fields havn't been specified. | |
3436 | |
3437 1998-06-23 Greg Klanderman <greg@alphatech.com> | |
3438 | |
3439 * indent.c (column_at_point): column cache bugfix. | |
3440 Set last_known_column_point to the buffer position for | |
3441 which the column was requested, not buffer's point. | |
3442 | |
3443 * redisplay.c (decode_mode_spec): for current-column, show | |
3444 window's point's column, not buffer's point's column. | |
3445 | |
3446 1998-06-23 Andy Piper <andyp@parallax.co.uk> | |
3447 | |
3448 * menubar-msw.c (mswindows_handle_wm_command): use | |
3449 enqueue_misc_user event rather than | |
3450 mswindows_enqueue_msic_user_event to fix customize problems. Add some | |
3451 checks that X does. | |
3452 | |
3453 * console-msw.h: declare mswindows_enqueue_magic_event. | |
3454 | |
3455 * event-msw.c (mswindows_enqueue_magic_event): make global. | |
3456 | |
3457 1998-06-24 Hrvoje Niksic <hniksic@srce.hr> | |
3458 | |
3459 * line-number.c (LINE_NUMBER_FAR): Reverted to 16384. | |
3460 (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS. | |
3461 (add_position_to_cache): Use EMACS_INT instead of int. | |
3462 | |
3463 1998-06-21 Olivier Galibert <galibert@pobox.com> | |
3464 | |
3465 * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something | |
3466 suitable for an int used as a boolean (btw, C sucks.). | |
3467 | |
3468 1998-06-18 Andy Piper <andyp@parallax.co.uk> | |
3469 | |
3470 * object-msw.c: remove warnings. | |
3471 | |
3472 * device-msw.c: #define wrongly named cygwin structure elements. | |
3473 | |
3474 * s/cygwin32.h: define DEMI_BOLD | |
3475 | |
3476 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
3477 | |
3478 * redisplay-msw.c: new function mswindows_apply_face_effects. | |
3479 This is called by output_string and output_cursor to display | |
3480 underline and strikeout on faces. | |
3481 | |
3482 1998-06-19 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
3483 | |
3484 * console-msw.h: added a list of fonts to device data. | |
3485 | |
3486 * device-msw.c: enumerate list of available fonts in | |
3487 mswindows_init_device. Free list in mswindows_delete_device. | |
3488 | |
3489 * objects-msw.c: Added helper function match_font used by | |
3490 mswindows_initialize_font_instance and mswindows_list_fonts. | |
3491 Allow a charset to be specified in a font string, even if | |
3492 previous fields havn't been specified. | |
3493 | |
3494 1998-06-15 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
3495 | |
3496 * objects-msw.c: | |
3497 Removed compilation warnings from mswindows_string_to_color. | |
3498 mswindows_list_fonts returns a more general bogus font. | |
3499 New lisp-visible function mswindows-color-list. | |
3500 | |
3501 1998-06-19 David Bush <david.bush@adn.alcatel.com> | |
3502 | |
3503 * editfns.c (Fuser_login_name): Modify to user new function | |
3504 user_login_name. | |
3505 (user_login_name): C only function to avoid Lisp object overhead | |
3506 Returns "unknown" instead of nil in Cygwin environment | |
3507 | |
3508 * fileio.c (Fexpand_file_name): Treat "~" and "~user" as | |
3509 equivalent for current user in Cygwin environment. Use new | |
3510 function user_login_name to get username. | |
3511 | |
3512 * lisp.h: Declare user_login_name | |
3513 | |
3514 1998-06-18 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> | |
3515 | |
3516 * unexaix.c (make_hdr): Fixed bias computations so debugging info | |
3517 works again. | |
3518 Some other insignificant nitpicks. | |
3519 | |
3520 1998-06-18 Andy Piper <andyp@parallax.co.uk> | |
3521 | |
3522 * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when | |
3523 creating the image list and make sure he bk color is transparent. | |
3524 | |
3525 1998-06-18 Jan Vroonhof <vroonhof@math.ethz.ch> | |
3526 | |
3527 * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from | |
3528 completed_timeouts. The timer could have expired. | |
3529 | |
3530 1998-06-17 Andy Piper <andyp@parallax.co.uk> | |
3531 | |
3532 * console-msw.h: move XEMACS_RECT_WH inside frame | |
3533 parameters. define macors to access it. | |
3534 | |
3535 * frame-msw.c (mswindows_init_frame_1): use new target_rect | |
3536 parameter to intialise desired sizing. (mswindows_init_frame_2): | |
3537 enable and size the frame to something sensible when we get | |
3538 here. (mswindows_set_frame_properites): use new | |
3539 mswindows_size_frame_internal function and size frame if frame | |
3540 parameters not just if init is finished - WM_SIZE happens too | |
3541 early for some specs. (mswindows_size_frame_internal): new | |
3542 function abstracted from mswindows_set_frame_properties. | |
3543 (Vmswindows_use_system_frame_size_defaults): | |
3544 new variable controls whether to allow the system to pick frame | |
3545 size defaults, defaults to nil. | |
3546 | |
3547 * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather | |
3548 than duplicated code. | |
3549 | |
3550 1998-06-15 Colin Rafferty <colin@xemacs.org> | |
3551 | |
3552 * Makefile.in.in: Made EXTW_LINK expand properly. | |
3553 | |
3554 1998-06-12 Martin Buchholz <martin@xemacs.org> | |
3555 | |
3556 * redisplay.c (vars_of_redisplay): default value of | |
3557 column-number-start-at-one should be NIL! | |
3558 | |
3559 1998-06-11 Martin Buchholz <martin@xemacs.org> | |
3560 | |
3561 * casefiddle.c: | |
3562 (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar" | |
3563 | |
3564 1998-06-05 Hrvoje Niksic <hniksic@srce.hr> | |
3565 | |
3566 * eldap.c (Fldap_search_internal): Use build_ext_string instead of | |
3567 build_string to avoid crashes under Mule. | |
3568 | |
3569 1998-06-13 Andy Piper <andyp@parallax.co.uk> | |
3570 | |
3571 * ntplay.c (play_sound_data_1): don't delete the sound data until | |
3572 the next sound is played and the previous one finished. | |
3573 | |
3574 1998-06-10 Samuel Mikes <smikes@alumni.hmc.edu> | |
3575 | |
3576 * fileio.c (directory-sep-char): Escape backslashes. | |
3577 | |
3578 1998-06-10 Hrvoje Niksic <hniksic@srce.hr> | |
3579 | |
3580 * event-stream.c: Fix docstring reference. | |
3581 | |
3582 1998-06-12 Hrvoje Niksic <hniksic@srce.hr> | |
3583 | |
3584 * alloc.c (make_float): Remove useless initialization of `next' | |
3585 field. | |
3586 (make_pure_float): Ditto. | |
3587 | |
3588 * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'. | |
3589 | |
3590 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru> | |
3591 | |
3592 * fileio.c (Fmake_directory_internal): Remove conditionals | |
3593 on WINDOWSNT when calling mkdir. | |
3594 | |
3595 * ntproc.c: Deleted the following unused functions: | |
3596 register_child, reap_subprocess, sys_wait. | |
3597 | |
3598 * nt.c (sys_rename): Ifzeroed this implementation. | |
3599 Deleted the following unused functions: | |
3600 sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir, | |
3601 sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2, | |
3602 sys_read, sys_write. | |
3603 Merger sys_fopen and sys_open with sysdep.c implementation. | |
3604 | |
3605 * sysdep.c: Removed MS-DOS code. | |
3606 (sys_rename): Deal with Microsoft rename weirdness. | |
3607 (sys_open): Implemented for Windows. | |
3608 (sys_fopen): Ditto. | |
3609 (sys_mkdir): Ditto. | |
3610 | |
3611 1998-06-08 Kirill M. Katsnelson <kkm@kis.ru> | |
3612 | |
3613 * buffer.c (complex_vars_of_buffer): Removed %t description from | |
3614 the docstring. | |
3615 | |
3616 1998-06-04 Rick Rankin <Rick_Rankin-P15254@email.mot.com> | |
3617 | |
3618 * scrollbar-msw.c: initialize the cbSize element of the | |
3619 SCROLLINFO struct before calling SetScrollInfo. WinNT seems | |
3620 to ignore the value of cbSize, but Win95 (and I presume Win98) | |
3621 appear to want it set to sizeof(SCROLLINFO). | |
3622 | |
3623 1998-06-04 Kirill M. Katsnelson <kkm@kis.ru> | |
3624 | |
3625 * event-stream.c: Defined Qcancel_mode_internal. | |
3626 (syms_of_event_stream): defsymbol'ed it. | |
3627 | |
3628 * events.h: Externed it. | |
3629 | |
3630 * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler. | |
3631 | |
3632 1998-06-04 Oliver Graf <ograf@fga.de> | |
3633 | |
3634 * frame-x.c (x_cde_destroy_callback): free the data | |
3635 (cde-start-drag-internal) corrected root position, 21.1 needs this | |
3636 hardcoded in Button events | |
3637 (offix-start-drag-internal) corrected root position | |
3638 | |
3639 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru> | |
3640 | |
3641 * process-nt.c (signal_cannot_launch): Use signal_simple_error() | |
3642 instead of error(). | |
3643 | |
3644 1998-06-03 Kirill M. Katsnelson <kkm@kis.ru> | |
3645 | |
3646 * dialog-msw.c (button_width): Removed `inline' from the function | |
3647 declaration. | |
3648 | |
3649 1998-06-03 Rick Rankin <Rick_Rankin-P15254@email.mot.com> | |
3650 | |
3651 * frame-msw.c: add WS_VISIBLE flag to the first frame created. | |
3652 Note that adding this flag to subsequent frames causes problems. | |
3653 | |
3654 1998-06-03 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de> | |
3655 | |
3656 * glyphs-eimage.c (png_instantiate) move 'struct | |
3657 png_memory_storage tbr' out of nested block to avoid dangling | |
3658 reference | |
3659 | |
3660 1998-06-02 Andy Piper <andyp@parallax.co.uk> | |
3661 | |
3662 * faces.h: | |
3663 * faces.c: rename 3d-object -> gui-element. add toolbar face which | |
3664 inherits from gui-element. | |
3665 | |
3666 * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent | |
3667 with existing code, generate masks correctly. | |
3668 | |
3669 1998-06-03 P. E. Jareth Hein <jareth@camelot-soft.com> | |
3670 | |
3671 * glyphs-eimage.c: Changed included header for gifs to use | |
3672 Gifreader instead of giflib. | |
3673 | |
3674 * glyphs-x.c: removed the image-related functions that were | |
3675 moved into glyphs-eimage. | |
3676 | |
3677 1998-06-02 David Bush <david.bush@adnb.alcatel.com> | |
3678 | |
3679 * glyphs.c (bitmap_to_lisp_data) Define XFree to be free | |
3680 if built without X Windows support. | |
3681 | |
3682 1998-06-02 Hrvoje Niksic <hniksic@srce.hr> | |
3683 | |
3684 * fns.c (Fconcat): Synch docstring with new reality. | |
3685 | |
3686 1998-06-03 SL Baur <steve@altair.xemacs.org> | |
3687 | |
3688 * frame.c: Remove reference to msdos.h (which is going away). | |
3689 Suggested by Hrvoje Niksic and Kirill Katsnelson. | |
3690 | |
3691 1998-06-02 P. E. Jareth Hein <jareth@camelot-soft.com> | |
3692 | |
3693 * glyphs-eimage.c (jpeg_instantiate): Fix handling of | |
3694 grayscale images/ | |
3695 | |
3696 | |
3697 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru> | |
3698 | |
3699 * events.h: Fixed commentary about misc-user scrollbar events. | |
3700 | |
3701 * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame | |
3702 object as an event channel, instead of window object. | |
3703 (x_update_horizontal_scrollbar_callback): Ditto. | |
3704 | |
3705 1998-05-29 Andy Piper <andyp@parallax.co.uk> | |
3706 | |
3707 * ntplay.c (play_sound_data_1) new function. convert alloca data | |
3708 to malloc if necessary. | |
3709 (play_sound_file): if the file is not in our path then convert to | |
3710 data and play. | |
3711 | |
3712 1998-06-01 SL Baur <steve@altair.xemacs.org> | |
3713 | |
3714 * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy. | |
3715 * msdos.c (Frecent_doskeys): Ditto. | |
3716 | |
3717 * unexalpha.c (unexec): Reverse parameters in call to memcpy. | |
3718 Suggested by Reggie Perry <perry@zso.dec.com> | |
3719 | |
3720 * buffer.h: Eliminate size in declaration. | |
3721 | |
3722 1998-06-01 Olivier Galibert <galibert@pobox.com> | |
3723 | |
3724 * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge. | |
3725 | |
3726 1998-06-01 Kirill M. Katsnelson <kkm@kis.ru> | |
3727 | |
3728 * gui.c (gui_item_init): Changed the default value for config member | |
3729 from Qunbound to Qnil. | |
3730 | |
3731 1998-06-01 Greg Klanderman <greg@alphatech.com> | |
3732 | |
3733 * indent.c (vmotion_pixels): Don't #define abs(). | |
3734 | |
3735 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru> | |
3736 | |
3737 * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose | |
3738 respectively. | |
3739 | |
3740 1998-05-30 Andy Piper <andyp@parallax.co.uk> | |
3741 | |
3742 * glyphs.h: add xbm declarations. | |
3743 | |
3744 * console.h: add xbm_instantiate_method device method. | |
3745 | |
3746 * glyphs.c (check_valid_xbm_inline) (xbm_validate) | |
3747 (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize) | |
3748 (xbm_possible_dest_types): moved here from glyphs-x.c. use | |
3749 locate_pixmap_file device method and read_bitmap_data_from_file | |
3750 instead of XmuReadBitmapDataFromFile. | |
3751 (xbm_instatntiate): make a device method. | |
3752 | |
3753 * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file) | |
3754 new function that just calls XmuReadBitmapDataFromFile. | |
3755 (x_xbm_instatntiate): device method from xbm_instantiate. | |
3756 | |
3757 * glyphs-msw.c (read_bitmap_data) (NextInt) | |
3758 (read_bitmap_data_from_file): new functions copied from Xmu | |
3759 sources. | |
3760 (xbm_create_bitmap_from_data) from Ben <ben@666.com> convert | |
3761 inline data to an mswindows bitmap. | |
3762 (init_image_instance_from_xbm_inline) (xbm_instantiate_1) | |
3763 (mswindows_xbm_instantiate): mswindows-ized versions of the X | |
3764 functions. | |
3765 | |
3766 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru> | |
3767 | |
3768 * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to | |
3769 `modeline-visible-p'. | |
3770 Declared specifier lisp variables at the beginning oh the file | |
3771 as static. | |
3772 | |
3773 * procimpl.h (struct process_methods): Changed semantics of | |
3774 create_process method so it accepts lisp strings instead of | |
3775 char pointers. | |
3776 | |
3777 * process.c (Fstart_process_internal): Moved building of | |
3778 unix style argv from here to process-unix.c, ... | |
3779 | |
3780 * process-unix.c (unix_create_process): ... right here. | |
3781 | |
3782 * process-nt.c (nt_create_process): Changed this function to | |
3783 support new semantics, so avoided a GC problem. | |
3784 | |
3785 * events.c (Fmake_event): Document misc-user events properties. | |
3786 (Fmake_event): Do not allow arbitrary objects for channel property | |
3787 of misc-user events. | |
3788 (Fmake_event): Change misc-user event validation: it is function | |
3789 which is required, not button. | |
3790 | |
3791 * event-msw.c (mswindows_user_event_p): Recognize misc user events as | |
3792 user events. | |
3793 (mswindows_enqueue_misc_user_event): Added function. | |
3794 (mswindows_bump_queue): Removed function. | |
3795 (mswindows_enqueue_magic_event): Support NULL HWND parameter. | |
3796 (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event(). | |
3797 (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto. | |
3798 (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing | |
3799 really nothing, which is my personal favorite thing. | |
3800 | |
3801 * console-msw.h: Removed prototype for mswindows_bump_queue(). | |
3802 Added prototype for mswindows_enqueue_misc_user_event(). | |
3803 | |
3804 * menubar-msw.c (mswindows_handle_wm_command): Use | |
3805 mswindows_enqueue_misc_user_event(). | |
3806 | |
3807 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto. | |
3808 | |
3809 * dialog-msw.c (dialog_proc): Ditto. | |
3810 | |
3811 * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto. | |
3812 (mswindows_handle_scrollbar_event): Use frame, not window, for misc | |
3813 user events channel. | |
3814 | |
3815 1998-05-29 Greg Klanderman <greg@alphatech.com> | |
3816 | |
3817 * window.c (Fwindow_displayed_text_pixel_height): was relying on | |
3818 incorrect semantics of vmotion_pixels which has been fixed. don't | |
3819 use it anymore as it can't easily be used. | |
3820 | |
3821 * indent.c (vmotion_pixels): fix off by one bug moving up. also | |
3822 the motion was reported incorrectly if you tried to go past end of | |
3823 buffer. | |
3824 | |
3825 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru> | |
3826 | |
3827 * toolbar.h: Removed misleading commentary, as Martin suggested. | |
3828 | |
3829 1998-05-30 Kirill M. Katsnelson <kkm@kis.ru> | |
3830 | |
3831 * lisp.h: Extern Qactivate_menubar_hook. | |
3832 | |
3833 * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to | |
3834 run_hook (). | |
3835 | |
3836 1998-05-29 Andy Piper <andyp@parallax.co.uk> | |
3837 | |
3838 * glyphs-msw.c: use BPLINE macro. | |
3839 | |
3840 * select-msw.c (mswindows-selection-exists-p) | |
3841 (mswindows-delete-selection): doc string fixes. | |
3842 | |
3843 * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons | |
3844 unpressable. warning elimination. | |
3845 | |
3846 1998-05-28 Martin Buchholz <martin@xemacs.org> | |
3847 | |
3848 * alloc.c (dbg_constants): | |
3849 * dbxrc: | |
3850 * gdbinit: | |
3851 Remove toolbar_data debugging code, since that lrecord has | |
3852 also been removed. | |
3853 | |
3854 Wed May 27, 1998 Darryl Okahata <darrylo@sr.hp.com> | |
3855 | |
3856 * alloc.c: zap cached value of (user-home-directory), so that | |
3857 it's not undumped. | |
3858 | |
3859 * buffer.c: From init_buffer(), separated out code that | |
3860 determined the initial directory for the *scratch* buffer, and | |
3861 put them into a function called "init_initial_directory()". | |
3862 The initial directory is now available as a global "char *" | |
3863 called initial_directory. | |
3864 | |
3865 * buffer.h: Added extern entries for initial_directory[] and | |
3866 init_initial_directory(). | |
3867 | |
3868 * editfns.c: added new elisp function "user-home-directory", | |
3869 which basically returns getenv("HOME"), but attempts to use | |
3870 other values if $HOME isn't set.This may have to be tweaked in | |
3871 the future as, under Unix, "/" is used if $HOME isn't set (this | |
3872 probably should be set to the current directory). To support | |
3873 this, a new C function, "get_home_directory()", now exists, | |
3874 which returns the "home directory", as a "char *" string. | |
3875 | |
3876 * emacs.c: Rearrange NT initialization order so that | |
3877 environment/registry variables will be properly entered into | |
3878 Vprocess_enviroment. | |
3879 | |
3880 * fileio.c: replaced egetenv("HOME") with calls to the new | |
3881 get_home_directory(). | |
3882 | |
3883 * lisp.h: Added function prototypes for uncache_home_directory() | |
3884 and get_home_directory(), along with lisp prototypes for | |
3885 Fuser_home_directory() and friends. | |
3886 | |
3887 * nt.c: replaced getenv("HOME") with calls to the new | |
3888 get_home_directory(). | |
3889 | |
3890 * sysfile.h: for WINDOWSNT, #include <direct.h>, to suppress | |
3891 warnings about getcwd(), etc. not having prototypes. | |
3892 | |
3893 1998-05-28 Kirill M. Katsnelson <kkm@kis.ru> | |
3894 | |
3895 * process-nt.c (send_signal): Emulate SIGHUP. | |
3896 (validate_signal_number): Ditto. | |
3897 | |
3898 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally | |
3899 remove MOD_SHIFT from ASCII characters. | |
3900 (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when | |
3901 F10 is pressed. | |
3902 | |
3903 1998-05-24 Oliver Graf <ograf@fga.de> | |
3904 | |
3905 * frame-x.c (cde-start-drag-internal): added filename and multi- | |
3906 data transfers | |
3907 (x_cde_convert_callback) dito | |
3908 | |
3909 1998-05-26 Oliver Graf <ograf@fga.de> | |
3910 | |
3911 * frame-x.c: include event-mod.h also with CDE | |
3912 (x_cde_convert_callback) made the thing working | |
3913 (cde-start-drag-internal) also debugging | |
3914 | |
3915 1998-05-25 Hans Guenter Weigand <hgweigand@wiesbaden.netsurf.de> | |
3916 | |
3917 * m/sparc.h: | |
3918 * getloadavg.c: | |
3919 * malloc.c: | |
3920 * unexec.c: | |
3921 * mem-limits.h: | |
3922 - add __OpenBSD__ where __NetBSD__ was found. | |
3923 - TODO: replace platform-specific conditional compilation by | |
3924 feature tests in configure.in. | |
3925 | |
3926 1998-05-15 Greg Klanderman <greg@alphatech.com> | |
3927 | |
3928 * window.c (Fwindow_displayed_text_pixel_height): New function. | |
3929 (syms_of_window): DEFSUBR it. | |
3930 | |
3931 * indent.c (Fvertical_motion_pixels): New function - request | |
3932 movement in pixels. | |
3933 (vmotion_pixels): helper. | |
3934 (syms_of_indent): DEFSUBR. | |
3935 * lisp.h: declaration for vmotion_pixels(). | |
3936 | |
3937 * indent.c (Fvertical_motion): Add optional third argument PIXELS, | |
3938 to request returning motion in pixels. | |
3939 (Fvertical_motion_pixels): Remove, functionality merged into | |
3940 Fvertical_motion. | |
3941 * window.c (window_scroll): call Fvertical_motion with 3 arguments. | |
3942 (Fmove_to_window_line): ditto. | |
3943 * lisp.h: Change declaration for Fvertical_motion. | |
3944 | |
3945 * window.c: rename window-text-pixel-{height,width,edges} to | |
3946 window-text-area-pixel-*. | |
3947 | |
3948 1998-05-26 Gunnar Evermann <Gunnar.Evermann@nats.informatik.uni-hamburg.de> | |
3949 | |
3950 * tooltalk.c (vars_of_tooltalk) added staticpro for | |
3951 Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str | |
3952 | |
3953 1998-05-27 Andy Piper <andyp@parallax.co.uk> | |
3954 | |
3955 * faces.c: create a new 3d_object_face, make modeline and | |
3956 vertical_divider faces fallback to this rather than the default. | |
3957 | |
3958 1998-05-21 Andy Piper <andyp@parallax.co.uk> | |
3959 | |
3960 * s/cygwin32.h: define charsets for cygwin. | |
3961 | |
3962 1998-05-25 Andy Piper <andyp@parallax.co.uk> | |
3963 | |
3964 * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes | |
3965 and coordinates. resize bitmaps if we have already settled on a | |
3966 different size. | |
3967 | |
3968 * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler. | |
3969 | |
3970 1998-05-25 Hrvoje Niksic <hniksic@srce.hr> | |
3971 | |
3972 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto. | |
3973 | |
3974 * menubar-msw.c (mswindows_handle_wm_command): Ditto. | |
3975 | |
3976 * gui.h: Ditto. | |
3977 | |
3978 * gui-x.c (popup_selection_callback): Ditto. | |
3979 | |
3980 * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback. | |
3981 | |
3982 * gui.c (get_callback): Renamed to get_gui_callback. | |
3983 | |
3984 1998-05-17 Martin Buchholz <martin@xemacs.org> | |
3985 | |
3986 * glyphs.h: order rearrangement. | |
3987 | |
3988 * device-tty.c (tty_asynch_device_change): Warning suppression. | |
3989 * device-x.c (x_device_system_metrics): Warning suppression. | |
3990 Make Doc strings consistent with coding standards. | |
3991 | |
3992 1998-05-24 Martin Buchholz <martin@xemacs.org> | |
3993 | |
3994 * general.c: multiple definition of `Qicon'. general.c seems | |
3995 like a good home for Qicon. | |
3996 | |
3997 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru> | |
3998 | |
3999 * This patch is to fix compilation warnings under Windows. | |
4000 | |
4001 * s/windowsnt.h: Encapsulate getpid with sys_getpid. | |
4002 Added prototypes for FSF inherited functions, with which XEmacs is | |
4003 sprinkled thoroughly. | |
4004 Removed some #if 0 code. Bracketed some more definitions, probably | |
4005 related to Visual C versions prior to 4 (we do not support them). | |
4006 | |
4007 * sysfloat.h (logb): Finally, get logb() prototyped. | |
4008 | |
4009 * sysfile.h: Added Windows specific includes. | |
4010 Removed old Windows specific code bracketed with #if 0. | |
4011 | |
4012 * sysdep.h: Added prototype for xrealpath(). | |
4013 | |
4014 * sysdep.c (sys_getpid): Added function, to support '95 negative pids. | |
4015 | |
4016 * symsinit.h: Added prototypes for syms_of_dired_mswindows, | |
4017 vars_of_dired_mswindows and init_ntproc (Grrr). | |
4018 | |
4019 * realpath.c: Added Windows specific include files. | |
4020 (xrealpath): Conditionalized declaration of some auto variables on | |
4021 S_IFLNK, to avoid warnings. | |
4022 | |
4023 * ntproc.c: Disabled some compiler warnings. This file is going to | |
4024 die, so I have not cleaned it up much. | |
4025 (set_process_dir): Const parameter. | |
4026 (Fwin32_short_file_name): Down CHECK_* macros to one argument. | |
4027 (Fwin32_long_file_name): Ditto. | |
4028 (Fwin32_set_process_priority): Ditto. Why didn't I remove these | |
4029 three functions? | |
4030 | |
4031 * nt.h: Added prototypes for set_process_dir and convert_time. | |
4032 | |
4033 * nt.c: More include files. | |
4034 (getpwnam): Consted char* argument. | |
4035 (get_emacs_configuration): Const return value. | |
4036 (opendir): Const argument. | |
4037 (stat): Casted converstion long->short. | |
4038 (stat): Removed ad hoc and questionable support for non-MSC compile. | |
4039 (sys_pipe): Removed unused auto variable. | |
4040 (_sys_read_ahead): Removed calls to DebPrint. | |
4041 (sys_read): Ditto, in 2 places. | |
4042 (term_ntproc): Added unused int parameter to signal handler, to | |
4043 avoid a warning when compiling a call to signal(). | |
4044 (msw_sigset): Properly return old signandler or NULL instead of void. | |
4045 | |
4046 * floatfns.c (Flogb): Casted arguments to unary minus to signed. | |
4047 | |
4048 * gmalloc.c (morecore): Ditto. | |
4049 (_free_internal): Ditto. | |
4050 | |
4051 * lread.c (parse_integer): Ditto. | |
4052 | |
4053 * dired-msw.c: Added several include files. | |
4054 | |
4055 * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List | |
4056 of Compilers to Shut Up. | |
4057 | |
4058 * callproc.c: Added #includes to suppress warnings under Windows. | |
4059 (init_callproc): Removed #if0'ed code and unused variables. | |
4060 | |
4061 1998-05-25 Andy Piper <andyp@parallax.co.uk> | |
4062 | |
4063 * device-msw.c (mswindows_device_system_metrics): do planes in a | |
4064 way consistent with X. | |
4065 | |
4066 * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't | |
4067 use SetPixel, use DIBits functions. | |
4068 (xpm_to_eimage): frob colors more closely like xpm deos. | |
4069 | |
4070 * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look | |
4071 to be closer to X version. | |
4072 | |
4073 * event-msw.c: use tooltip string directly. | |
4074 | |
4075 * redisplay-msw.c: reinstate Kirill's bg pixmap change. | |
4076 | |
4077 * objects-msw.c: frob rgb colors that only Kyle uses. | |
4078 | |
4079 * dialog-msw.c (button_width): INLINE -> inline. | |
4080 | |
4081 1998-05-23 SL Baur <steve@altair.xemacs.org> | |
4082 | |
4083 * getloadavg.c (getloadavg): Fix typo. | |
4084 | |
4085 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru> | |
4086 | |
4087 * objects-msw.c (mswindows_initialize_font_instance): Added support | |
4088 for font character sets. | |
4089 Replaced 'XXX' with '####' in comments throughout the file. | |
4090 | |
4091 1998-05-23 Kirill M. Katsnelson <kkm@kis.ru> | |
4092 | |
4093 * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and | |
4094 console_type_create_dialog_mswindows(), to initialize Windows dialog | |
4095 support. | |
4096 | |
4097 * symsinit.h: Prototyped the above functions. | |
4098 | |
4099 * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency | |
4100 checks to dialog.c... | |
4101 | |
4102 * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a | |
4103 device must support dialog boxes, and the descriptor must supply at | |
4104 least one button. | |
4105 | |
4106 * dialog-msw.c: New file, dialogs for Windows. | |
4107 | |
4108 1998-05-21 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> | |
4109 | |
4110 * eldap.c (ldap_search_unwind): Return Qnil instead of nothing | |
4111 (Fldap_search_internal): Removed unused variable `err' | |
4112 | |
4113 * eldap.h: Moved Lisp_LDAP declaration here instead of using a | |
4114 forward declaration | |
4115 | |
4116 1998-05-17 Martin Buchholz <martin@xemacs.org> | |
4117 | |
4118 * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is | |
4119 defined. Therefore there is no need to handle the case when | |
4120 HAVE_LDAP is undefined. Similarily, there is no reason to have | |
4121 any code wrapped within `#ifdef emacs', since this code is only | |
4122 useful within an emacs. This simplifies the code significantly. | |
4123 | |
4124 * inline.c: Include eldap.h only if HAVE_LDAP. | |
4125 * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h | |
4126 already does that. | |
4127 | |
4128 1998-05-21 Kirill M. Katsnelson <kkm@kis.ru> | |
4129 | |
4130 * unexnt.c (copy_executable_and_dump_data_section): Suppress | |
4131 printing dump stats when building without DEBUG_XEMACS. | |
4132 (dump_bss_and_heap): Ditto. | |
4133 | |
4134 1998-05-21 Andy Piper <andyp@parallax.co.uk> | |
4135 | |
4136 * gnuclient.c: don't suppress window system if there is no display | |
4137 and we are running under mswindows. send 'mswindows device type if | |
4138 we are in this situation. | |
4139 | |
4140 1998-05-20 Andy Piper <andyp@parallax.co.uk> | |
4141 | |
4142 * general.c: | |
4143 * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c. | |
4144 | |
4145 * glyphs-msw.c: change cursor imgae type name to resource. Fix | |
4146 some nits. | |
4147 | |
4148 1998-05-20 Kirill M. Katsnelson <kkm@kis.ru> | |
4149 | |
4150 * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for | |
4151 {top,bottom}-{left,right} values in addition to | |
4152 {top,bottom}_{left,right}. | |
4153 | |
4154 1998-05-18 Hrvoje Niksic <hniksic@srce.hr> | |
4155 | |
4156 * fileio.c (Fmake_temp_name): Remove unreached code. | |
4157 | |
4158 * process-nt.c (validate_signal_number): Use | |
4159 signal_simple_error(). | |
4160 | |
4161 1998-05-19 Martin Buchholz <martin@xemacs.org> | |
4162 | |
4163 * unexhp9k800.c: | |
4164 * sound.c (vars_of_sound): | |
4165 * sysdep.c (reset_sigio_on_device): | |
4166 * window.c (window_bottom_gutter_height): | |
4167 unexhp9k800.c:258: warning: implicit declaration of function | |
4168 `calculate_checksum' | |
4169 sound.c:604: warning: implicit declaration of function `vars_of_hpplay' | |
4170 sysdep.c:1012: warning: unused variable `owner' | |
4171 window.c:993: warning: `window_right_toolbar_width' defined but not used | |
4172 | |
4173 1998-05-19 Andy Piper <andyp@parallax.co.uk> | |
4174 | |
4175 * glyphs-msw.c (mswindows_create_resized_mask) | |
4176 (mswindows_create_resized_bitmap): new funnctions split out from | |
4177 mswindows_resize_dibitmap_instance. | |
4178 | |
4179 * glyphs-msw.h: declare new resize functions. | |
4180 | |
4181 * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize | |
4182 functions so that the original bitmaps are preserved. | |
4183 | |
4184 * sheap.c: fixup static heap exhausted error to avoid FAQs. | |
4185 | |
4186 * redisplay-msw.c (mswindows_output_blank): fixup brush from bg | |
4187 color if we are trying to output 0 depth bg pixmap. | |
4188 | |
4189 * scrollbar-msw.c: warning elimination. | |
4190 | |
4191 1998-05-18 Martin Buchholz <martin@xemacs.org> | |
4192 | |
4193 * frame-x.c (x_update_frame_external_traits): Start preprocessor | |
4194 directives in column 1. | |
4195 | |
4196 * search.c (skip_chars): Avoid using xzero with arrays, since some | |
4197 compilers get confused by the construct &array. | |
4198 | |
4199 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru> | |
4200 | |
4201 * objects-msw.h: | |
4202 * objects-msw.c: Changed the charset value for a new font from | |
4203 "don't care" to "ansi". | |
4204 | |
4205 * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix. | |
4206 | |
4207 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru> | |
4208 | |
4209 * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift | |
4210 modifier on control chars. | |
4211 Use IsCharAlpha() instead of isaplha(). | |
4212 | |
4213 1998-05-19 Kazuyuki IENAGA <ienaga@jsys.co.jp> | |
4214 | |
4215 * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, ""). | |
4216 | |
4217 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru> | |
4218 | |
4219 * objects-msw.c (mswindows_initialize_font_instance): Use ANSI | |
4220 charset when creating font. | |
4221 (mswindows_initialize_color_instance): Do not create brush along | |
4222 with a color. | |
4223 (mswindows_finalize_color_instance): Do not delete it then. | |
4224 | |
4225 * objects-msw.h (struct mswindows_color_instance_data): Removed | |
4226 brush slot, and corresponding accessor macro. | |
4227 | |
4228 1998-05-18 Kirill M. Katsnelson <kkm@kis.ru> | |
4229 | |
4230 * toolbar.c: Removed toolbar_data lrecord implementation. | |
4231 (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data | |
4232 with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS). | |
4233 (compute_frame_toolbar_buttons): Ditto. | |
4234 (CHECK_TOOLBAR): Ditto. | |
4235 (set_frame_toolbar): Removed allocation of toolbar_data lrecord. | |
4236 (update_frame_toolbars): Do not check for changed buffer | |
4237 here. Toolbar information is provided by cached specs in | |
4238 windows. The check for buffer is eliminated becuase toolbars are | |
4239 marked changed in set_frame_selected_window() in frame.c | |
4240 Added check for changed toolbars geometry. | |
4241 (compute_frame_toolbars_data): Removed unused second parameter; | |
4242 Adjusted callers of this static function throughout the file. | |
4243 (init_frame_toolbars): Initialize current_toolbar_size. | |
4244 (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of | |
4245 what is its current expansion, for clarity. | |
4246 (init_frame_toolbars): Ditto. | |
4247 (init_device_toolbars): Ditto. | |
4248 (init_global_toolbars): Ditto. | |
4249 | |
4250 * toolbar.h: Removed definition of toolbar_data lrecord. | |
4251 Added accessor macros FRAME_TOOLBAR_BUTTONS and | |
4252 FRAME_CURRENT_TOOLBAR_SIZE. | |
4253 Added macro DEVICE_SUPPORTS_TOOLBARS_P. | |
4254 | |
4255 * toolbar-x.c (x_output_toolbar): The same change as in | |
4256 toolbar-msw.c | |
4257 (x_output_toolbar): Ditto. | |
4258 (x_redraw_exposed_toolbar): Ditto. | |
4259 | |
4260 * toolbar-msw.c (mswindows_output_toolbar): Retrieve current | |
4261 buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro. | |
4262 (mswindows_output_toolbar): Ditto. | |
4263 (mswindows_output_toolbar): Ditto. | |
4264 | |
4265 * frame.c (mark_frame): Removed marking of arrays, according to | |
4266 frameslots.h change. | |
4267 (nuke_all_frame_slots): Ditto. | |
4268 (set_frame_selected_window): Mark toolbars changed when | |
4269 last_nonminibuf_window changes. | |
4270 | |
4271 * frame.h (struct frame): Moved some slots to frameslots.h. | |
4272 Added current_toolbar_size array. | |
4273 Changed references from toolbar_data to toolbar_buttons in macros | |
4274 FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE, | |
4275 FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and | |
4276 FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH. | |
4277 | |
4278 * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h | |
4279 Moved arrays of lisp objects here from frame.h: toolbar_size, | |
4280 toolbar_visible_p, toolbar_border_width. | |
4281 Removed toolbar_data slot and added toolbar_buttons. | |
4282 | |
4283 1998-05-17 Kirill M. Katsnelson <kkm@kis.ru> | |
4284 | |
4285 * symsinit.h: Externed syms_of_process_nt() | |
4286 | |
4287 * emacs.c (main_1): Call syms_of_process_nt() | |
4288 | |
4289 * process-nt.c: Quote process arguments by a call to Lisp function | |
4290 `nt-quote-process-args'. | |
4291 (syms_of_process_nt): New function. | |
4292 (nt_send_process): Flush data stream after each write, to avoid | |
4293 leaving buffered data. | |
4294 (nt_send_process): When blocked on process output, wait for | |
4295 process to slurp more for progressively increasing time intervals. | |
4296 | |
4297 1998-05-17 Martin Buchholz <martin@xemacs.org> | |
4298 | |
4299 * window.c (have_undivided_common_edge): Make file-local function | |
4300 static. | |
4301 (map_windows): Return 0 if all map functions successful. | |
4302 Fix typos. | |
4303 | |
4304 * winslots.h: Use unlikely names for local variables in macros to | |
4305 avoid shadowing warnings. | |
4306 | |
4307 1998-05-17 Andy Piper <andyp@parallax.co.uk> | |
4308 | |
4309 * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width | |
4310 so that we re-output if the toolbar size has changed. | |
4311 | |
4312 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> | |
4313 | |
4314 * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c. | |
4315 | |
4316 * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c. | |
4317 | |
4318 * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully | |
4319 greater). | |
4320 | |
4321 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru> | |
4322 | |
4323 * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to | |
4324 get bitmap manifest constants defined. | |
4325 | |
4326 * console-msw.h: Include system files in angle brackets, not in | |
4327 quotes. | |
4328 | |
4329 * window.c (specifier_vars_of_window): Fixed a typo in | |
4330 `vertical-divider-line-width' docstirng. | |
4331 | |
4332 1998-05-16 Olivier Galibert <galibert@pobox.com> | |
4333 | |
4334 * line-number.c (delete_invalidate_line_number_cache): Use an | |
4335 EMACS_INT. | |
4336 (buffer_line_number): Remove dangerous, plain wrong when using | |
4337 64bits emacs ints, cast. | |
4338 | |
4339 * insdel.c (buffer_delete_range): Use an EMACS_INT. | |
4340 | |
4341 * cmds.c (Fforward_line): Use EMACS_INTs. | |
4342 | |
4343 * search.c (bi_scan_buffer): Change to use EMACS_INTs. | |
4344 (scan_buffer): Ditto. | |
4345 (bi_find_next_newline_no_quit): Remove useless cast. | |
4346 (find_next_newline_no_quit): Ditto. | |
4347 (find_next_newline): Ditto. | |
4348 (find_before_next_newline): Use an EMACS_INT. | |
4349 | |
4350 * lisp.h: Change scan_buffer to pass EMACS_INTs. | |
4351 | |
4352 1998-05-16 Hrvoje Niksic <hniksic@srce.hr> | |
4353 | |
4354 * menubar-msw.c (mswindows_handle_wm_command): Ditto. | |
4355 | |
4356 * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto. | |
4357 | |
4358 * gui-x.c (popup_selection_callback): Use it. | |
4359 | |
4360 * gui.h (get_callback): Declare it. | |
4361 | |
4362 * gui.c (get_callback): New function. | |
4363 | |
4364 1998-05-15 SL Baur <steve@altair.xemacs.org> | |
4365 | |
4366 * window.c (have_undivided_common_edge): Guard scrollbar specific | |
4367 stuff. | |
4368 (window_needs_vertical_divider_1): Ditto. | |
4369 | |
4370 1998-05-16 Hrvoje Niksic <hniksic@srce.hr> | |
4371 | |
4372 * emacs.c (decode_path): Eliminate compiler warning. | |
4373 (Fdecode_path): Renamed to Fsplit_path. | |
4374 (Fsplit_string_by_char): New function. | |
4375 | |
4376 1998-05-14 Damon Lipparelli <lipp@primus.com> | |
4377 | |
4378 * winslots.h: close comment | |
4379 | |
4380 1998-05-16 Kirill M. Katsnelson <kkm@kis.ru> | |
4381 | |
4382 * callproc.c: Removed declared and unused variable Qbuffer_file_type. | |
4383 | |
4384 * bufslots.h: Removed buffer_file_type slot. | |
4385 | |
4386 * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from | |
4387 buffer local flags. | |
4388 (complex_vars_of_buffer): Removed buffer-file-type variable and | |
4389 its default reference. | |
4390 | |
4391 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru> | |
4392 | |
4393 * faces.c (complex_vars_of_faces): Defined | |
4394 Vvertical_divider_face. | |
4395 (vars_of_faces): Staticpro it. | |
4396 | |
4397 * faces.h: Externed Vvertical_divider_face. | |
4398 | |
4399 * redisplay-x.c (x_output_vertical_divider): Use | |
4400 Vvertical_divider_face to draw the divider instead of modeline | |
4401 face. | |
4402 | |
4403 * redisplay-msw.c (mswindows_output_vertical_divider): Draw | |
4404 divider face using Vvertical_divider_face background. | |
4405 Fix drawing spacing gaps around the divider. | |
4406 | |
4407 1998-05-14 Didier Verna <verna@inf.enst.fr> | |
4408 | |
4409 * redisplay-x.c (x_output_vertical_divider): removed hard-wired | |
4410 values for the vertical divider line width and spacing. Use the | |
4411 cached values from the window structure instead. | |
4412 (x_divider_width): ditto. | |
4413 | |
4414 * window.c (specifier_vars_of_window): new specifiers: | |
4415 vertical-divier -line-width and -spacing. | |
4416 (vertical_divider_global_width_changed): formerly known as | |
4417 vertical_divider_shadow_thickness_changed. | |
4418 | |
4419 * winslots.h: new slots: vertical_specifier _line_width and | |
4420 _spacing. Plus corrected a comment typo. | |
4421 | |
4422 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru> | |
4423 | |
4424 * window.h: Declared window_divider_width(). | |
4425 | |
4426 * console-stream.c (stream_divider_width): Removed method. | |
4427 (console_type_create_stream): And declaration for it. | |
4428 | |
4429 * redisplay.c (pixel_to_glyph_translation): Use | |
4430 window_divider_width() instead of divider_width redisplay method. | |
4431 (pixel_to_glyph_translation): Fix top divider edge calculation | |
4432 when scrollbar is on top. | |
4433 | |
4434 * window.c (window_divider_width): New function, an outphaser for | |
4435 divider_width redisplay method. | |
4436 (window_right_gutter_width): Use it. | |
4437 (specifier_vars_of_window): For vertical-divider-{spacing,line-width} | |
4438 specifiers, set fallback values differently on TTYs, and document | |
4439 the behavior of these on TTYs in the docstrings. | |
4440 | |
4441 * scrollbar.c (update_scrollbar_instance): Use | |
4442 window_divider_width() instead of divider_width redisplay method. | |
4443 | |
4444 * console.h (struct console_methods): Removed divider_width_method. | |
4445 | |
4446 * redisplay-tty.c (tty_divider_width): Removed device method. | |
4447 (console_type_create_redisplay_tty): Removed definition for it. | |
4448 (tty_output_vertical_divider): Respect the value returned by | |
4449 window_divider_width thus divider line width specification. | |
4450 | |
4451 * redisplay-msw.c (mswindows_divider_width): Removed device method. | |
4452 (console_type_create_redisplay_mswindows): Removed definition for it. | |
4453 (mswinodws_output_vertical_divider): Respect the value returned by | |
4454 window_divider_width thus divider line width specification. | |
4455 | |
4456 1998-05-15 Andy Piper <andyp@parallax.co.uk> | |
4457 | |
4458 * toolbar-msw.c: guess toolbar frame size a bit more accurately. | |
4459 | |
4460 1998-05-15 Andy Piper <andyp@parallax.co.uk> | |
4461 | |
4462 * glyphs-msw.c: resource loading implementation. | |
4463 (cursor_normalize): new function. | |
4464 (cursor_validate): ditto. | |
4465 (cursor_instantiate): ditto. | |
4466 (cursor_name_to_resource): ditto. | |
4467 (cursor_possible_dest_types): ditto. | |
4468 (check_valid_symbol): ditto. | |
4469 (check_valid_string_or_int): ditto. | |
4470 | |
4471 1998-05-14 Martin Buchholz <martin@xemacs.org> | |
4472 | |
4473 * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like | |
4474 VINTR and VQUIT. | |
4475 | |
4476 * process-unix.c (process_signal_char): Use VSUSP instead of | |
4477 non-standard VSWTCH. Always prefer VSUSP to VSWTCH. | |
4478 | |
4479 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru> | |
4480 | |
4481 * specifier.c (specifier_instance): Change locale precedence of | |
4482 instantiation so window locale has higher priority than buffer | |
4483 locale. | |
4484 (Fspecifier_instance): Reflect this in docstring. | |
4485 (Fadd_spec_list_to_specifier): Ditto. | |
4486 (Fadd_spec_to_specifier): Ditto. | |
4487 (Fremove_specifier): Ditto. | |
4488 | |
4489 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru> | |
4490 | |
4491 ** Dialog separation into a device method from Andy Piper | |
4492 | |
4493 * emacs.c (main_1): Call console_type_create_dialog_x(). | |
4494 | |
4495 * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted | |
4496 into this device method. | |
4497 (console_type_create_dialog_x): New function. | |
4498 | |
4499 * dialog.c (Fpopup_dialog_box): New function. | |
4500 (syms_of_dialog): Defsubr it. | |
4501 | |
4502 * console.h (struct console_methods): Declared | |
4503 popup_dialog_box_method(). | |
4504 | |
4505 * symsinit.h: Defined console_type_create_dialog_{x,mswindows} | |
4506 | |
4507 1998-05-14 Oliver Graf <ograf@fga.de> | |
4508 | |
4509 * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created | |
4510 * frame-x.c (x_cde_transfer_callback): checked for merge errors | |
4511 | |
4512 1998-05-13 Oliver Graf <ograf@fga.de> | |
4513 | |
4514 * dragdrop.c (vars_of_dragdrop): provide dragdrop-api | |
4515 | |
4516 1998-05-15 Kirill M. Katsnelson <kkm@kis.ru> | |
4517 | |
4518 * console.h (device_metrics): Removed dbcs, input-method-editor | |
4519 and right-to-left metrics. | |
4520 | |
4521 * device.c (Fdevice_system_metric): Ditto. | |
4522 (Fdevice_system_metrics): Ditto. | |
4523 (syms_of_device): Ditto. | |
4524 (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back | |
4525 again. | |
4526 | |
4527 1998-05-14 Hrvoje Niksic <hniksic@srce.hr> | |
4528 | |
4529 * line-number.h (mark_line_number_cache): Remove unused | |
4530 declaration. | |
4531 | |
4532 * line-number.c (LINE_NUMBER_FAR): Increase to 32768. | |
4533 (get_nearest_line_number): Simplify. | |
4534 (add_position_to_cache): Make the old marker point nowhere. | |
4535 | |
4536 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru> | |
4537 | |
4538 ** Renamed window-divider-map => vertical-divider-map | |
4539 and event-over-divider-p => event-over-vertical-divider-p, | |
4540 in the following files/functions: | |
4541 * events.h: | |
4542 * events.c (Fevent_over_divider_p): | |
4543 * keymap.c (get_relevant_keymaps): | |
4544 (vars_of_keymap): | |
4545 | |
4546 * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER. | |
4547 | |
4548 * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER. | |
4549 | |
4550 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru> | |
4551 | |
4552 * window.c (vertical_divider_changed_in_window): Renamed so. | |
4553 (specifier_vars_of_window): Defined Vvertical_divider_draggable_p. | |
4554 (window_needs_vertical_divider_1): Decide whether we need it based | |
4555 on the value of the above specifier. If separators are unwanted, | |
4556 put them only if there's no scrollbar between this window and its | |
4557 right neighbor. | |
4558 (have_undivided_common_edge): New function, helper for the above. | |
4559 (window_needs_vertical_divider): Return either a cached value, | |
4560 or clauclate and cache one. | |
4561 (invalidate_vertical_divider_cache_in_window): Implemented. | |
4562 (map_windows): Changed return type to int, return the value from | |
4563 MAPFUN. | |
4564 | |
4565 * window.h: Prototype invalidate_vertical_divider_cache_in_window. | |
4566 (struct window): Added need_vertical_divider_p and | |
4567 need_vertical_divider_valid_p. | |
4568 | |
4569 * winslots.h: Added vertical_divider_draggable_p slot. | |
4570 | |
4571 * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented. | |
4572 (specifier_vars_of_scrollbar): Used it in all vertical specifiers. | |
4573 | |
4574 * frame.c (invalidate_vertical_divider_cache_in_frame): New function. | |
4575 | |
4576 * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call | |
4577 invalidate_vertical_divider_cache_in_frame(). | |
4578 Prototype it. | |
4579 | |
4580 1998-05-14 Andy Piper <andyp@parallax.co.uk> | |
4581 | |
4582 * toolbar-msw.c: provide correct parameters to TB_SETROWS. | |
4583 | |
4584 * glyphs-msw.c (mswindows_initialize_image_instance_mask): size | |
4585 masks correctly and don't select 0. | |
4586 | |
4587 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru> | |
4588 | |
4589 * winslots.h: New file, declaration of some struct window and | |
4590 struct saved_window members. | |
4591 | |
4592 * window.h (struct window): Include it, with required preprocessor | |
4593 magic. | |
4594 | |
4595 * window.c (mark_window): Ditto. | |
4596 (allocate_window): Ditto. | |
4597 (struct saved_window): Ditto. | |
4598 (mark_window_config): Ditto. | |
4599 (saved_window_equal): Ditto. | |
4600 (Fset_window_configuration): Ditto. | |
4601 | |
4602 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru> | |
4603 | |
4604 * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix. | |
4605 | |
4606 1998-05-12 Didier Verna <verna@inf.enst.fr> | |
4607 | |
4608 * redisplay-x.c (x_output_vertical_divider): draw shadows around | |
4609 the divider line. The shadow thickness is currently | |
4610 hard-wired. This will probably be turned into a specifier soon. | |
4611 | |
4612 1998-05-12 Didier Verna <verna@inf.enst.fr> | |
4613 | |
4614 * console.h (struct console_methods): the divider_width console | |
4615 method now requires a struct window * argument. | |
4616 | |
4617 * redisplay-x.c (x_divider_width): ditto. Plus remove | |
4618 X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS. | |
4619 (x_output_vertical_divider): give a depressed look when the shadow | |
4620 thickness is negative. | |
4621 | |
4622 * console-stream.c (stream_divider_width): pass a struct window * | |
4623 argument. | |
4624 | |
4625 * redisplay-tty.c (tty_divider_width): ditto. | |
4626 | |
4627 * window.c (window_right_gutter_width): totdi. | |
4628 | |
4629 * redisplay.c (generate_modeline): ittod. | |
4630 | |
4631 * scrollbar.c (update_scrollbar_instance): ttido. | |
4632 | |
4633 * redisplay-msw.c (mswindows_divider_width): ottid. | |
4634 WARNING: this enables to compile, but the feature is not functional. | |
4635 | |
4636 * window.h (struct window): new field | |
4637 vertical_divider_shadow_thickness. | |
4638 | |
4639 * window.c (specifier_vars_of_window): new specifier | |
4640 vertical-divider-shadow-thickness. | |
4641 (vertical_divider_shadow_thickness_changed): new function to | |
4642 inform redisplay that the window has changed. | |
4643 (mark_window): handle new field vertical_divider_shadow_thickness | |
4644 from struct window. | |
4645 (allocate_window): ditto. | |
4646 (saved_window_equal): toddi. | |
4647 (Fset_window_configuration): totid. | |
4648 (save_window_save): ttdio. | |
4649 (struct saved_window): new field vertical_divider_shadow_thickness. | |
4650 | |
4651 1998-05-14 Kirill M. Katsnelson <kkm@kis.ru> | |
4652 | |
4653 * device-msw.c (mswindows_device_system_metrics): Support a deluge | |
4654 of metrics. | |
4655 | |
4656 1998-05-12 Oliver Graf <ograf@fga.de> | |
4657 | |
4658 * frame-x.c (x_cde_transfer_callback): fixed for the new protocol | |
4659 * event-Xt.c (x_event_to_emacs_event): C++ compability | |
4660 | |
4661 1998-05-14 Hrvoje Niksic <hniksic@srce.hr> | |
4662 | |
4663 * emacs.c (Fdecode_path): Default SEPCHAR to value of | |
4664 path-separator. | |
4665 | |
4666 1998-05-14 Hrvoje Niksic <hniksic@srce.hr> | |
4667 | |
4668 * emacs.c (vars_of_emacs): Do it here; change the meaning of | |
4669 Vpath_separator. | |
4670 | |
4671 * fileio.c (vars_of_fileio): Don't define Vpath_separator here. | |
4672 | |
4673 1998-05-14 Hrvoje Niksic <hniksic@srce.hr> | |
4674 | |
4675 * emacs.c (decode_path_1): New function. | |
4676 (decode_path): Use it. | |
4677 (Fdecode_path): Renamed from Fdecode_path_internal; use | |
4678 decode_path_1. | |
4679 | |
4680 1998-05-12 Hrvoje Niksic <hniksic@srce.hr> | |
4681 | |
4682 * macros.c (Fzap_last_kbd_macro_event): New function. | |
4683 (Fend_kbd_macro): Remove REMOVE_LAST kludge. | |
4684 | |
4685 1998-05-10 Andy Piper <andyp@parallax.co.uk> | |
4686 | |
4687 * redisplay-msw.c (mswindows_output_dibitmap_region): make sure | |
4688 multiple bitmaps are output vertically as well as horizontally. | |
4689 * (mswindows_output_dibitmap): don't cope with bitmap boundaries | |
4690 crossing lines this is handled by | |
4691 mswindows_output_dibitmap_region. | |
4692 | |
4693 1998-05-12 Martin Buchholz <martin@xemacs.org> | |
4694 | |
4695 * inline.c: Include eldap.h | |
4696 | |
4697 * menubar-x.c (x_update_frame_menubar_internal): | |
4698 Remove: unused variable `container' | |
4699 | |
4700 1998-05-11 Martin Buchholz <martin@xemacs.org> | |
4701 | |
4702 * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly. | |
4703 Unfortunately, the resulting temacs still cannot dump. | |
4704 | |
4705 * symbols.c (symbol_is_constant): | |
4706 (verify_ok_for_buffer_local): | |
4707 -Wswitch Warning suppression - add default case to switches. | |
4708 | |
4709 * redisplay.c (decode_mode_spec): Remove unused variables, | |
4710 Replace Fcoding_system_property (codesys, Qmnemonic) with | |
4711 XCODING_SYSTEM_MNEMONIC (codesys); | |
4712 Fcoding_system_property is for users. | |
1941 | 4713 |
1942 * buffer.c: | 4714 * buffer.c: |
1943 * buffer.c (Frecord_buffer): | |
1944 * buffer.c (syms_of_buffer): | |
1945 delete record-buffer-hook. | |
1946 | |
1947 * fns.c: | |
1948 * fns.c (Freplace_list): | |
1949 * fns.c (syms_of_fns): | |
1950 new primitive replace-list. | |
1951 | |
1952 * frameslots.h: | |
1953 slot for old buffer-alist. | |
1954 | |
1955 * lisp.h: | |
1956 exfun replace-list. | |
1957 | |
1958 * redisplay.c: | |
1959 * redisplay.c (redisplay_frame): | |
1960 * redisplay.c (syms_of_redisplay): | |
1961 * redisplay.c (vars_of_redisplay): | |
1962 new hook buffer-list-changed-hook. | |
1963 call it. | |
1964 | |
1965 2000-04-27 Ben Wing <ben@xemacs.org> | |
1966 | |
1967 * extents.h: extern in_modeline_generation. | |
1968 | |
1969 * redisplay.c (generate_formatted_string_db): set | |
1970 in_modeline_generation. | |
1971 | |
1972 * extents.c (extent_changed_for_redisplay): don't mark redisplay | |
1973 flags if in modeline generation. otherwise frame-modified-tick | |
1974 is ticked far too often. | |
1975 Declare in_modeline_generation. | |
1976 | |
1977 2000-04-26 Ben Wing <ben@xemacs.org> | |
1978 | |
1979 * emacs.c (vars_of_emacs): document quick-build "error-checking" | |
1980 option. | |
1981 (vars_of_emacs): add quick-build as an error-checking option. | |
1982 A bit kludgy, but there doesn't seem much point in creating | |
1983 a real var for this. | |
1984 | |
1985 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE. | |
1986 | |
1987 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org> | |
1988 | |
1989 * redisplay.h (struct display_line): Add a new variable, | |
1990 line_continuation. | |
1991 | |
1992 * redisplay.c (create_text_block): Set dl->line_continuation if | |
1993 the line continues. | |
1994 (create_string_text_block): Ditto. | |
1995 (regenerate_window_incrementally): Use line_continuation instead | |
1996 of searching continuation glyph. | |
1997 (add_margin_runes): Call add_glyph_rune. | |
1998 (add_glyph_rune): Handle margin glyph. | |
1999 | |
2000 2000-04-20 Martin Buchholz <martin@xemacs.org> | |
2001 | |
2002 * filelock.c (fill_in_lock_file_name): | |
2003 ANSIfy. | |
2004 Check for IS_ANY_SEP instead of '/'. | |
2005 (lock_file_1): | |
2006 Avoid generating gratuitous garbage. Call user_login_name() directly. | |
2007 Never check errno without first seeing that system call failed. | |
2008 (unlock_file): Add GCPRO. | |
2009 (Flock_buffer): Fix docstring. | |
2010 (Ffile_locked_p): Fix docstring. Add GCPRO. | |
2011 | |
2012 2000-04-19 Martin Buchholz <martin@xemacs.org> | |
2013 | |
2014 * sysdep.c (get_pty_max_bytes): | |
2015 Fix hangs on DEC OSF 4.0 when (process-send-string) sends | |
2016 strings longer than 252 bytes. | |
2017 | |
2018 * md5.c: Unconditionally include ANSI header <limits.h> | |
2019 | |
2020 * glyphs-x.c (convert_EImage_to_XImage): | |
2021 * lisp-union.h (union Lisp_Object): | |
2022 Use consistently the syntax #ifdef FEATURE, not #if FEATURE. | |
2023 | |
2024 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org> | |
2025 | |
2026 * filelock.c (current_lock_owner): Remove unused variable o, p. | |
2027 | |
2028 2000-04-17 Norbert Koch <n.koch@eai-delta.de> | |
2029 | |
2030 * callint.c: Remove multiply defined symbol Qlet | |
2031 (syms_of_callint): ditto. | |
2032 | |
2033 2000-04-14 Andy Piper <andy@xemacs.org> | |
2034 | |
2035 * general.c (syms_of_general): add last-command, this-command, let | |
2036 and funcall. | |
2037 | |
2038 * lisp.h: declare various symbols. | |
2039 | |
2040 * glyphs.h: declare Qwidget_callback_current_channel; | |
2041 | |
2042 * glyphs-widget.c (syms_of_glyphs_widget): add | |
2043 Qgui_callback_current_channel. | |
2044 (vars_of_glyphs_widget): add Vgui_callback_current_channel. | |
2045 | |
2046 * gui-msw.c (mswindows_handle_gui_wm_command): bind | |
2047 widget-callback-current-channel when invoking the interactive | |
2048 arg. Also bind last-command and next-command when invoking the | |
2049 widget updates. | |
2050 * gui-x.c (popup_selection_callback): ditto. | |
2051 | |
2052 * gui.c (get_gui_callback): massage args so that we are always | |
2053 calling eval. This allows us to add our own variable bindings | |
2054 outside. | |
2055 | |
2056 * glyphs-x.c (x_button_instantiate): use | |
2057 gui_items_to_widget_values since this is GC safe. | |
2058 (x_progress_gauge_instantiate): ditto. | |
2059 (x_edit_field_instantiate): ditto. | |
2060 (x_label_instantiate): ditto. | |
2061 | |
2062 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs. | |
2063 (emacs_Xt_event_widget_focus_out): new function | |
2064 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard | |
2065 focus. | |
2066 (emacs_Xt_event_add_widget_actions): new function. add focus | |
2067 functions as actions. | |
2068 (init_event_Xt_late): use it. | |
2069 | |
2070 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr> | |
2071 | |
2072 * event-stream.c (Fdispatch_event): Doc fix. | |
2073 | |
2074 2000-03-29 SL Baur <steve@musashimaru.m17n.org> | |
2075 | |
2076 * postgresql.c: Remove all references to PQsetenv*. | |
2077 | |
2078 * postgresql.h: Remove references to PGsetenvHandler object. | |
2079 * lrecord.h (lrecord_type): Ditto. | |
2080 | |
2081 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | |
2082 | |
2083 * glyphs-msw.h (struct mswindows_image_instance_data): Added | |
2084 real_heigh and real_width members, and accessor macros for these. | |
2085 | |
2086 * glyphs-msw.c (init_image_instance_geometry): New function. | |
2087 (init_image_instance_from_dibitmap): Use it. | |
2088 (mswindows_resource_instantiate): Use it. | |
2089 (init_image_instance_from_xbm_inline): Use it. | |
2090 (mswindows_initialize_image_instance_mask): Use real bitmap | |
2091 geometry. | |
2092 (mswindows_create_resized_bitmap): Ditto. | |
2093 (mswindows_create_resized_mask): Ditto. | |
2094 | |
2095 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask | |
2096 and bitmap to their surface size. | |
2097 | |
2098 2000-04-11 Jan Vroonhof <jan@xemacs.org> | |
2099 | |
2100 * process-unix.c (unix_send_process): Guard against process MIA | |
2101 after Faccept_process_output. | |
2102 | |
2103 2000-04-11 Ben Wing <ben@xemacs.org> | |
2104 | |
2105 * eval.c (unbind_to_hairy): fix brokenness introduced by | |
2106 nanosecond speed improvements. | |
2107 | |
2108 2000-04-07 Raymond Toy <toy@rtp.ericsson.se> | |
2109 | |
2110 * sunplay.c (init_device): To play sounds correctly, the device | |
2111 apparently needs to be initialized at least once by XEmacs. Make | |
2112 it so. | |
2113 | |
2114 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org> | |
2115 | |
2116 * redisplay.c (add_margin_runes): Add text image glyph | |
2117 handling. | |
2118 | |
2119 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org> | |
2120 | |
2121 * lisp.h (DOESNT_RETURN): Don't declare as volatile when | |
2122 gcc is newer than 2.5. | |
2123 | |
2124 2000-04-06 Colin Rafferty <colin@xemacs.org> | |
2125 | |
2126 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created. | |
2127 | |
2128 * fns.c (size_bit_vector): | |
2129 * alloc.c (size_vector): | |
2130 (make_vector_internal): | |
2131 (make_bit_vector_internal): | |
2132 (sweep_bit_vectors_1): | |
2133 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro. | |
2134 | |
2135 2000-04-06 Andy Piper <andy@xemacs.org> | |
2136 | |
2137 * gmalloc.c (malloc): undo previous change. | |
2138 (malloc): ditto. | |
2139 (free): ditto. | |
2140 (realloc): ditto. | |
2141 | |
2142 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org> | |
2143 | |
2144 * line-number.c (buffer_line_number): Revert to former version. | |
2145 | |
2146 2000-04-06 Andy Piper <andy@xemacs.org> | |
2147 | |
2148 * gmalloc.c (malloc): add error checking. | |
2149 (malloc): ditto. | |
2150 (free): ditto. | |
2151 (realloc): ditto. | |
2152 | |
2153 * dialog-x.c (dbox_descriptor_to_widget_value): add extra | |
2154 button_item_to_widget_value arg. | |
2155 | |
2156 * glyphs-x.c (x_button_instantiate): add extra | |
2157 button_item_to_widget_value arg. | |
2158 (x_progress_gauge_instantiate): ditto. | |
2159 (x_edit_field_instantiate): ditto. | |
2160 (x_label_instantiate): ditto. | |
2161 | |
2162 * gui-x.c (gui_items_to_widget_values_1): add extra | |
2163 button_item_to_widget_value arg. | |
2164 (button_item_to_widget_value): add extra menu_item_p arg. | |
2165 | |
2166 * gui-x.h: change signature of button_item_to_widget_value. | |
2167 | |
2168 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra | |
2169 button_item_to_widget_value arg. | |
2170 | |
2171 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org> | |
2172 | |
2173 * buffer.h (struct buffer): auto_save_modified should be long. | |
2174 | |
2175 2000-04-05 Andy Piper <andy@xemacs.org> | |
2176 | |
2177 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight | |
2178 type. | |
2179 (button_query_geometry): give a little more room so that athena | |
2180 buttons fit. | |
2181 | |
2182 2000-04-05 Andy Piper <andy@xemacs.org> | |
2183 | |
2184 * faces.c (complex_vars_of_faces): The widget face should inherit | |
2185 the font of the gui-element face. | |
2186 | |
2187 2000-04-04 Andy Piper <andy@xemacs.org> | |
2188 | |
2189 * glyphs-x.c (x_button_update): new function. unconditionally | |
2190 update a button's state when the instance is dirty. | |
2191 (image_instantiator_format_create_glyphs_x): add x_button_update. | |
2192 (x_widget_instantiate): remove old resize cruft. | |
2193 | |
2194 2000-04-02 Andy Piper <andy@xemacs.org> | |
2195 | |
2196 * frame.c (change_frame_size_1): The introduction of gutters means | |
2197 that we need to allow 0 as a potential frame dimension. | |
2198 | |
2199 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org> | |
2200 | |
2201 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text | |
2202 image glyph if allow_cursor. | |
2203 (add_hscroll_rune): Don't allow cursor to border glyph. | |
2204 (create_text_block): Ditto. | |
2205 | |
2206 * redisplay-output.c (redisplay_move_cursor): Do nothing even if | |
2207 text not in buffer. | |
2208 (redisplay_output_layout): Call ensure_face_cachel_complete for | |
2209 text image glyph. | |
2210 | |
2211 | |
2212 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org> | |
2213 | |
2214 * redisplay.c (add_glyph_rune): Adding text image as text runes. | |
2215 | |
2216 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text | |
2217 not in buffer | |
2218 | |
2219 * redisplay-tty.c (tty_output_display_block): Delete the routine | |
2220 for text image glyph | |
2221 * redisplay-x.c (x_output_display_block): ditto | |
2222 * redisplay-msw.c (mswindows_output_display_block): ditto | |
2223 | |
2224 2000-02-02 Mike Alexander <mta@arbortext.com> | |
2225 | |
2226 Note: Some of these were committed by accident as part of other | |
2227 patches. | |
2228 | |
2229 * regex.c (regex_compile): Avoid compiler warnings. | |
2230 | |
2231 * ntproc.c (sys_spawnve): Avoid compiler warnings. | |
2232 | |
2233 * nt.h: Declare term_ntproc correctly. | |
2234 | |
2235 * nt.c: Remove incorrect declaration of get_home_directory which | |
2236 is declared correctly in lisp.h. | |
2237 | |
2238 * keymap.c (get_keyelt): Avoid compiler warnings. | |
2239 (raw_lookup_key_mapper): Avoid compiler warnings. | |
2240 | |
2241 * gutter.c (gutter_was_visible): Add return statement to avoid warning. | |
2242 | |
2243 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings. | |
2244 | |
2245 * filemode.c (mode_string): Avoid compiler warnings. | |
2246 | |
2247 * file-coding.c (Fcoding_system_aliasee): Add return statement to | |
2248 avoid warning. | |
2249 | |
2250 * events-mod.h: Undef some things that winuser.h defines differently. | |
2251 | |
2252 * data.c (Faset): Avoid compiler warnings. | |
2253 | |
2254 * alloc.c (Fmake_byte_code): Avoid compiler warnings. | |
2255 | |
2256 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch> | |
2257 | |
2258 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts. | |
2259 Fall through to simple beep on error. | |
2260 Replace "extern" by real header file. | |
2261 | |
2262 * linuxplay.c: Use nativesound.h | |
2263 (play_sound_data): Return error code. Be less verbose on error. | |
2264 | |
2265 * sunplay.c: Use nativesound.h | |
2266 (play_sound_data): Return error code. Be less verbose on error. | |
2267 | |
2268 * ntplay.c: Use nativesound.h | |
2269 (play_sound_data): Return fake error code | |
2270 | |
2271 * sgiplay.c: Use nativesound.h | |
2272 (play_sound_data): Return error code | |
2273 | |
2274 * hpplay.c: Use nativesound.h, partially implement | |
2275 new error code. Break compilation until finished. | |
2276 (play_sound_data): error code. | |
2277 | |
2278 * nativesound.h (play_sound_file): | |
2279 (play_sound_data): Prototype in new header. | |
2280 | |
2281 2000-03-31 Andy Piper <andy@xemacs.org> | |
2282 | |
2283 * glyphs-widget.c: (button_query_geometry): new function. Adjust | |
2284 for toggle and radio buttons. | |
2285 (image_instantiator_buttons): use it. | |
2286 | |
2287 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch> | |
2288 | |
2289 * scrollbar-x.c (x_update_vertical_scrollbar_callback): | |
2290 (x_update_horizontal_scrollbar_callback): Return if no mirror was | |
2291 found. Scrollbar event probably belonged to some old config. | |
2292 | |
2293 2000-03-31 Andy Piper <andy@xemacs.org> | |
2294 | |
2295 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather | |
2296 than 1. | |
2297 (initialize_widget_image_instance): default layout to | |
2298 LAYOUT_HORIZONTAL rather than 0. | |
2299 (widget_instantiate): reverse the item list at the end rather than | |
2300 every iteration. | |
2301 (layout_layout): re-code for the border text at the front of the | |
2302 item list rather than at the end. | |
2303 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes | |
2304 provided by the user. | |
2305 (widget_query_geometry): comment. | |
2306 | |
2307 2000-03-30 Andy Piper <andy@xemacs.org> | |
2308 | |
2309 * glyphs-widget.c (image_instantiator_layout): allow standard | |
2310 widget keywords in layouts. | |
2311 | |
2312 * gutter.c (output_gutter): cope with nil gutter contents. | |
2313 | |
2314 * frame.c (Fset_frame_properties): add gutter docs. | |
2315 | |
2316 2000-03-29 Andy Piper <andy@xemacs.org> | |
2317 | |
2318 * toolbar-msw.c (TBSTYLE_FLAT): add. | |
2319 (mswindows_output_toolbar): minor fiddling. | |
2320 | |
2321 2000-03-29 Andy Piper <andy@xemacs.org> | |
2322 | |
2323 * gutter.c (output_gutter): force gutter size recalculation if | |
2324 what we are trying to display won't fit. | |
2325 (update_gutter_geometry): new function. A per-gutter version of | |
2326 update_frame_gutter_geometry. | |
2327 (update_frame_gutter_geometry): use it. | |
2328 (redraw_exposed_gutter): add extra debugging output. | |
2329 | |
2330 2000-03-28 Mike Alexander <mta@arbortext.com> | |
2331 | |
2332 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only) | |
2333 (pdump_file_unmap): Implement it on Windows | |
2334 (pdump_file_get): Save alocated handles for pdump_file_unmap | |
2335 | |
2336 2000-03-28 Andy Piper <andy@xemacs.org> | |
2337 | |
2338 * gui.c (get_gui_callback): treat Quit specially. | |
2339 | |
2340 2000-03-27 Andy Piper <andy@xemacs.org> | |
2341 | |
2342 * glyphs.c (image_instantiate): be careful to check in the same | |
2343 way we assigned. | |
2344 | |
2345 2000-03-27 Didier Verna <didier@xemacs.org> | |
2346 | |
2347 * config.h.in: define the proper SMART_INCLUDE macro. | |
2348 handle renaming of `foo_h_path' to `foo_h_file'. | |
2349 | |
2350 * database.c: ditto. | |
2351 | |
2352 * emacs.c: ditto. | |
2353 | |
2354 * linuxplay.c: ditto. | |
2355 | |
2356 * terminfo.c: ditto. | |
2357 | |
2358 * tooltalk.h: ditto. | |
2359 | |
2360 2000-03-27 Andy Piper <andy@xemacs.org> | |
2361 | |
2362 * glyphs-msw.c (mswindows_update_widget): make sure the widget | |
2363 gets updated whenever the face might have changed. | |
2364 | |
2365 2000-03-26 Mike Alexander <mta@arbortext.com> | |
2366 | |
2367 * dumper.c (pdump_resource_free): Fix the comment. | |
2368 | |
2369 2000-03-21 Olivier Galibert <galibert@pobox.com> | |
2370 | |
2371 * input-method-xlib.c (XIM_init_frame): Remove painful warning. | |
2372 | |
2373 2000-03-22 Mike Alexander <mta@arbortext.com> | |
2374 | |
2375 * dumper.c: Include Windows headers on Windows | |
2376 (pdump_resource_free): Add a body to the function | |
2377 (pdump_load): exe_name -> exe_path and add some comments. | |
2378 | |
2379 2000-03-25 Mike Alexander <mta@arbortext.com> | |
2380 | |
2381 * gui.c (copy_gui_item_tree): Return a value in all cases | |
2382 | |
2383 2000-03-21 Didier Verna <didier@xemacs.org> | |
2384 | |
2385 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from | |
2386 lwlib/config.h.in. | |
2387 (SMART_INCLUDE): new macro. | |
2388 (POSTGRES_INCLUDE): new macro to include postgresql headers from | |
2389 the proper location. | |
2390 | |
2391 * postgresql.c: use it. | |
2392 | |
2393 * inline.c: ditto. | |
2394 | |
2395 2000-03-24 Andy Piper <andy@xemacs.org> | |
2396 | |
2397 * gutter.c (redraw_exposed_gutters): must be "in display" when we | |
2398 do this. | |
2399 | |
2400 2000-03-24 Andy Piper <andy@xemacs.org> | |
2401 | |
2402 * redisplay-output.c (compare_runes): use image_instance_changed | |
2403 to detect changes. Do not depend on glyphs_changed, only depend on | |
2404 dirtiness. | |
2405 (redisplay_output_layout): add debug messages. | |
2406 (compare_runes): ditto. | |
2407 | |
2408 * glyphs.h: declare new functions. | |
2409 (struct Lisp_Image_Instance): remove percent and associated | |
2410 accessors. | |
2411 | |
2412 * gui.h: declare new copying functions. | |
2413 | |
2414 * gui.c (copy_gui_item_tree): new function. | |
2415 (copy_gui_item): new function. | |
2416 (gui_item_id_hash): revert to standard hash. | |
2417 (gui_item_hash): ditto. | |
2418 (gui_item_hash_internal): deleted. | |
2419 (mark_gui_item): mark value. | |
2420 (gui_item_add_keyval_pair): add value. | |
2421 (gui_item_init): ditto. | |
2422 (gui_add_item_keywords_to_plist): ditto. | |
2423 (gui_item_equal): ditto. | |
2424 (syms_of_gui): add Q_value. | |
2425 | |
2426 * glyphs-x.c (x_progress_gauge_update): use pending items and | |
2427 value for setting the state. | |
2428 (x_update_widget): don't set items from pending here. | |
2429 | |
2430 * glyphs-widget.c (update_widget): update items here. | |
2431 (progress_gauge_set_property): use items for storing value. Put | |
2432 new value in pending items. | |
2433 | |
2434 * glyphs-msw.c (mswindows_progress_gauge_update): use pending | |
2435 items for new value. Convert percent -> value. | |
2436 (mswindows_tab_control_update): don't update items here. | |
2437 | |
2438 * glyphs.c (Fupdate_widget_instances): use image_instance_changed. | |
2439 (update_subwindow): ditto. | |
2440 (image_instance_changed): new function. Compare hash values and | |
2441 past and present widget items. | |
2442 (image_instantiate): We more careful about where we instantiate | |
2443 things. | |
2444 (image_instantiate): add error checking. | |
2445 | |
2446 * gutter.c (syms_of_gutter): use -hook. | |
2447 | |
2448 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org> | |
2449 | |
2450 * console-tty.c (Fset_console_tty_input_coding_system): Use | |
2451 Qkeyboard. | |
2452 (Fset_console_tty_output_coding_system): Use Qterminal. | |
2453 (tty_init_console): Use Qkeyboard and Qterminal. | |
2454 | |
2455 2000-03-21 Ben Wing <ben@xemacs.org> | |
2456 | |
2457 * ntproc.c (create_child): remove bogus HAVE_NTGUI's. | |
2458 From Mike Alexander <mta@arbortext.com>. | |
2459 | |
2460 2000-03-21 Ben Wing <ben@xemacs.org> | |
2461 | |
2462 * event-msw.c (mswindows_need_event): Horrible kludge to fix | |
2463 process brokenness. Proper implementation to come. | |
2464 * callproc.c: | |
2465 Rename call-process-internal to old-call-process-internal. | |
2466 New impl. in process.el. | |
2467 | |
2468 2000-03-21 Martin Buchholz <martin@xemacs.org> | |
2469 | |
2470 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments. | |
2471 | |
2472 2000-03-20 Andy Piper <andy@xemacs.org> | |
2473 | |
2474 * glyphs.c (full_list_hash): make hashes of the same elements in | |
2475 different orders return different values. | |
2476 | |
2477 2000-03-20 Martin Buchholz <martin@xemacs.org> | |
2478 | |
2479 * XEmacs 21.2.32 is released. | |
2480 | |
2481 2000-03-20 Martin Buchholz <martin@xemacs.org> | |
2482 | |
2483 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA): | |
2484 (DFC_MALLOC_USE_CONVERTED_DATA): | |
2485 Add aliasing-safe casts to allow use with char* or unsigned char* | |
2486 lvalues. | |
2487 | |
2488 * eldap.c (Fldap_open): | |
2489 (Fldap_search_basic): | |
2490 (Fldap_add): | |
2491 (Fldap_modify): | |
2492 Make C++-compilable. | |
2493 Make sure GCPRO'ed variables are initialized. | |
2494 Use temp variables to avoid repeated calls to Flength. | |
2495 | |
2496 2000-03-16 Martin Buchholz <martin@xemacs.org> | |
2497 | |
2498 * sysfile.h: | |
2499 Make sure PATH_MAX is always defined. | |
2500 Include limits.h for PATH_MAX. | |
2501 Deprecate use of MAXPATHLEN. | |
2502 | |
2503 2000-03-10 Martin Buchholz <martin@xemacs.org> | |
2504 | |
2505 * emacs.c: Add reinit_vars_of_fileio. | |
2506 * symsinit.h: Add reinit_vars_of_fileio. | |
2507 * fileio.c (reinit_vars_of_fileio): New. | |
2508 * fileio.c (Fmake_temp_name): | |
2509 Initialize temp_name random number from microseconds to make | |
2510 collisions even less likely. Initialize always at process startup | |
2511 time. (make-temp-name) used to return the same file name twice in | |
2512 a row when PDUMP. | |
2513 Random stylistic fiddling. | |
2514 Comment fixes. | |
2515 | |
2516 2000-03-20 Andy Piper <andy@xemacs.org> | |
2517 | |
2518 * glyphs.c (image_instantiate): allow text glyphs to be | |
2519 instantiated in the minibuffer window. | |
2520 | |
2521 2000-03-19 Andy Piper <andy@xemacs.org> | |
2522 | |
2523 * glyphs.c (image_instance_hash): be careful about which items we | |
2524 hash on. | |
2525 | |
2526 * glyphs-widget.c (tab_control_set_property): record into pending | |
2527 items rather than the actual items. | |
2528 | |
2529 * glyphs-x.c (x_update_widget): use pending items to update with. | |
2530 | |
2531 * glyphs-msw.c (mswindows_tab_control_update): use pending items | |
2532 to update with. | |
2533 | |
2534 * glyphs.c (mark_image_instance): mark pending items. | |
2535 | |
2536 * window.c (Fset_window_configuration): record the buffer. | |
2537 (Fselect_window): totally revert previous change which breaks many | |
2538 things. | |
2539 | |
2540 2000-03-18 Andy Piper <andy@xemacs.org> | |
2541 | |
2542 * glyphs-msw.c (mswindows_tab_control_update): force selected | |
2543 item. | |
2544 | |
2545 * glyphs.c (image_instantiate): don't allow the minibuffer as a | |
2546 window domain cache, otherwise we get inconsistencies at | |
2547 startup. There is something fishy at startup which can lead to the | |
2548 minibuffer being the selected window when the gutter content is | |
2549 instantiated. | |
2550 | |
2551 * gui.c (parse_gui_item_tree_list): add probably unneccessary | |
2552 gcpros. | |
2553 (parse_gui_item_tree_children): ditto. | |
2554 (parse_gui_item_tree_item): ditto. | |
2555 | |
2556 * glyphs.c (Fupdate_widget_instances): return something. | |
2557 | |
2558 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org> | |
2559 | |
2560 * window.c (Fselect_window): Undo 2000-03-17 change. | |
2561 | |
2562 2000-03-17 SL Baur <steve@musashimaru.m17n.org> | |
2563 | |
2564 * postgresql.c (Fpq_setenv): Remove this turkey when linking | |
2565 against v7.0 libraries. Insta-coredump city until the postgres | |
2566 folks fix it. | |
2567 | |
2568 2000-03-17 Andy Piper <andy@xemacs.org> | |
2569 | |
2570 * faces.c (complex_vars_of_faces): don't give the widget face an | |
2571 inherited background pixmap. | |
2572 | |
2573 * glyphs-msw.c (mswindows_tab_control_instantiate): select the | |
2574 selected item. | |
2575 | |
2576 * event-stream.c (Fdispatch_non_command_events): return something. | |
2577 | |
2578 * gutter.c (output_gutter): use widget face. | |
2579 (clear_gutter): ditto. | |
2580 | |
2581 * NEWS: adjust again. | |
2582 | |
2583 * window.c (Fselect_window): make sure this runs to completion to | |
2584 avoid oddities with Fset_window_configuration. | |
2585 (Fcurrent_window_configuration): in general do not save the | |
2586 minibuffer as the selected window. | |
2587 | |
2588 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase. | |
2589 | |
2590 2000-03-16 Olivier Galibert <galibert@pobox.com> | |
2591 | |
2592 * emacs.c (Frunning_temacs_p): Revert previous patch. | |
2593 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds. | |
2594 | |
2595 2000-03-16 Andy Piper <andy@xemacs.org> | |
2596 | |
2597 * glyphs-x.c (x_tab_control_update): if no widget values then | |
2598 return. | |
2599 | |
2600 * NEWS: update for new features. | |
2601 | |
2602 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a | |
2603 synthetic event to the native system. | |
2604 (reinit_vars_of_event_Xt): set force_event_pending to | |
2605 emacs_Xt_force_event_pending. | |
2606 | |
2607 * events.h (struct event_stream): add force_event_pending. | |
2608 | |
2609 * specifier.c (recompute_one_cached_specifier_in_window): add | |
2610 comment. | |
2611 | |
2612 * redisplay.c (redisplay_frame): don't call | |
2613 update_frame_subwindows. Reset subwindow cachels when | |
2614 subwindows_changed, removing this was an optimization too far. | |
2615 | |
2616 * redisplay-output.c (compare_runes): reorganize so that we catch | |
2617 glyph changes when we want them. Set optimize_output when this | |
2618 would help layouts. | |
2619 (redisplay_output_layout): remove frame_really_changed, use | |
2620 optimize_output instead. | |
2621 | |
2622 * redisplay-msw.c (mswindows_output_display_block): reset | |
2623 optimize_output after outputting a glyph. | |
2624 * redisplay-x.c (x_output_display_block): ditto. | |
2625 * redisplay-tty.c (tty_output_display_block): ditto. | |
2626 | |
2627 * gutter.c: (specifier_vars_of_gutter): use new spec changed | |
2628 functions. | |
2629 (gutter_specs_changed): do specific gutter positions. | |
2630 (top_gutter_specs_changed): new function. Only update the | |
2631 specified gutter specs. | |
2632 (bottom_gutter_specs_changed): ditto. | |
2633 (left_gutter_specs_changed): ditto. | |
2634 (right_gutter_specs_changed): ditto. | |
2635 | |
2636 * gui.c (gui_item_hash_internal): new function, does a real hash. | |
2637 (gui_item_id_hash): use it. | |
2638 (gui_item_hash): hash the eval'ed gui_item. | |
2639 | |
2640 * gui-x.c (popup_selection_callback): send an eval event to call | |
2641 Fupdate_widget_instances. | |
2642 | |
2643 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event | |
2644 to call Fupdate_widget_instances. | |
2645 | |
2646 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag. | |
2647 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it. | |
2648 | |
2649 * glyphs.c: (update_frame_subwindows): deleted. | |
2650 (Fupdate_widget_instances): new function for updating the dirty | |
2651 state of widgets that might have changed. | |
2652 (syms_of_glyphs): add Qupdate_widget_instances. | |
2653 (full_list_hash): hash a list completely. | |
2654 (image_instance_hash): use it for items and properties. | |
2655 | |
2656 * frame-msw.c (mswindows_size_frame_internal): remove unused | |
2657 variable. | |
2658 | |
2659 * faces.h (struct face_cachel): fix comment. | |
2660 | |
2661 * event-stream.c (Fdispatch_non_command_events): new | |
2662 function. Process non-command events, forcing an event cycle | |
2663 beforehand. | |
2664 (syms_of_event_stream): declare. | |
2665 (event_stream_force_event_pending): new function. Force an event | |
2666 on the native event queue so that an event cycle will occur next | |
2667 time we check. | |
2668 | |
2669 * event-msw.c: | |
2670 (struct ntpipe_shove_stream): | |
2671 (mswindows_enqueue_dispatch_event): | |
2672 (mswindows_dequeue_dispatch_event): | |
2673 (mswindows_cancel_dispatch_event): | |
2674 (mswindows_pump_outstanding_events): | |
2675 (mswindows_drain_windows_queue): | |
2676 (mswindows_handle_paint): | |
2677 (mswindows_wnd_proc): | |
2678 (mswindows_key_to_emacs_keysym): | |
2679 (get_process_input_waitable): | |
2680 (emacs_mswindows_delete_stream_pair): re-indent file. | |
2681 (mswindows_need_event): do not process further fds if the windows | |
2682 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This | |
2683 fixes the 100% cpu problem. | |
2684 (reinit_vars_of_event_mswindows): set force_event_pending to 0. | |
2685 | |
2686 2000-03-15 Olivier Galibert <galibert@pobox.com> | |
2687 | |
2688 * alloc.h: New. | |
2689 * dumper.h: New. | |
2690 * dumper.c: New. | |
2691 | |
2692 * emacs.c: Moved dump file searching to dumper.c. | |
2693 (Frunning_temacs_p): Fixed. | |
2694 | |
2695 * alloc.c: Moved everything pdump-related to dumper.c. Removed | |
2696 last_lrecord_type_index_assigned. | |
2697 | |
2698 2000-02-20 Olivier Galibert <galibert@pobox.com> | |
2699 | |
2700 * symsinit.h: Added reinit parameter to init_console_stream | |
2701 declaration. | |
2702 | |
2703 * lisp.h: Added file parameter to pdump_load declaration. | |
2704 | |
2705 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id | |
2706 support. Added dump file searching. | |
2707 | |
2708 * config.h.in: Added EMACS_PROGNAME. | |
2709 | |
2710 * console-stream.c (init_console_stream): Fix reinitialisation | |
2711 when running from temacs. | |
2712 | |
2713 * alloc.c (pdump): Add id support. | |
2714 (pdump_load): Add file parameter and signature/id support. | |
2715 | |
2716 * Makefile.in.in: Add full pdump support. | |
2717 | |
2718 2000-03-15 SL Baur <steve@musashimaru.m17n.org> | |
2719 | |
2720 * postgresql.c: Update documentation to reflect latest code | |
2721 status. | |
2722 (print_result): Show tuple counts in printed representation when | |
2723 appropriate. | |
2724 (Fpq_put_nbytes): MULE-ize. | |
2725 (Fpq_get_line_async): Ditto. | |
2726 | |
2727 2000-03-14 SL Baur <steve@musashimaru.m17n.org> | |
2728 | |
2729 * postgresql.c (Fpq_lo_import): Fix return value. | |
2730 Suggested by: Kenji Itoh <keit@tpj.co.jp>. | |
2731 | |
2732 2000-03-13 Ben Wing <ben@xemacs.org> | |
2733 | |
2734 * alloc.c (pdump_load): | |
2735 Fix compile warning under mswin. | |
2736 | |
2737 2000-03-14 SL Baur <steve@musashimaru.m17n.org> | |
2738 | |
2739 * postgresql.c: Mule-ization, bug fixes. | |
2740 Use PG_CODING to encapsulate coding system name changes. | |
2741 Backport a version of TO_EXTERNAL format for 21.1/InfoDock. | |
2742 (pg-coding-system): Create. | |
2743 | |
2744 (Fpq_conn_defaults): Mule-ize. | |
2745 (Fpq_connectdb): Mule-ize & bug fix. | |
2746 (Fpq_connect_start): Mule-ize. | |
2747 (Fpq_set_client_encoding): Mule-ize. | |
2748 (Fpq_finish): Document `DEAD' connection status. | |
2749 (Fpq_clear): Ditto. | |
2750 (Fpq_pgconn): Mule-ize. | |
2751 (Fpq_exec): Mule-ize & bug fix. | |
2752 (Fpq_send_query): Ditto. | |
2753 (Fpq_get_result): Ditto. | |
2754 (Fpq_res_status): Mule-ize. | |
2755 (Fpq_result_error_message): Mule-ize. | |
2756 (Fpq_ntuples): fix comments. | |
2757 (Fpq_fname): Mule-ize. | |
2758 (Fpq_fnumber): Mule-ize. | |
2759 (Fpq_ftype): fix comments. | |
2760 (Fpq_get_value): Mule-ize. | |
2761 (Fpq_cmd_status): Ditto. | |
2762 (Fpq_cmd_tuples): Ditto. | |
2763 (Fpq_oid_value): Ditto. | |
2764 (Fpq_notifies): Ditto. | |
2765 (Fpq_lo_import): Ditto. | |
2766 (Fpq_lo_export): Ditto. | |
2767 (Fpq_get_line): Ditto. | |
2768 (Fpq_put_line): Mule-ize and bug fix. | |
2769 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system. | |
2770 | |
2771 2000-03-10 SL Baur <steve@musashimaru.m17n.org> | |
2772 | |
2773 * postgresql.c (vars_of_postgresql): Mule-ize. | |
2774 (Fpq_conn_defaults): Ditto. | |
2775 | |
2776 2000-03-12 Ben Wing <ben@xemacs.org> | |
2777 | |
2778 * alloc.c (Fmake_byte_code): | |
2779 * alloc.c (debug_string_purity_print): | |
2780 * alloc.c (pdump_backtrace): | |
2781 * alloc.c (pdump_get_indirect_count): | |
2782 * alloc.c (pdump_register_sub): | |
2783 * alloc.c (pdump_register_object): | |
2784 * alloc.c (pdump_register_struct): | |
2785 * alloc.c (pdump_dump_data): | |
2786 * alloc.c (pdump_reloc_one): | |
2787 Minor cleanups. | |
2788 | |
2789 * console-msw.c: | |
2790 * console-msw.c (GetConsoleHwnd): | |
2791 * console-msw.c (msw_hide_console): | |
2792 * console-msw.c (msw_show_console): | |
2793 * console-msw.c (msw_ensure_console_buffered): | |
2794 * console-msw.c (msw_output_console_string): | |
2795 * console-msw.c (console_type_create_mswindows): | |
2796 | |
2797 a) Added functions to manipulate the console window for use with | |
2798 shell support. | |
2799 | |
2800 b) Added support for writing text to the console, which is now | |
2801 used under Windows when xemacs is not being run non-interactively, | |
2802 to write text that would otherwise be destined for stdout because | |
2803 under these circumstances, text written to stdout tends to | |
2804 disappear and not be seen. | |
2805 | |
2806 * console-msw.h: | |
2807 * event-Xt.c: | |
2808 * event-Xt.c (x_event_to_emacs_event): | |
2809 * event-Xt.c (describe_event_window): | |
2810 * events-mod.h (XEMACS_MOD_CONTROL): | |
2811 * events.c: | |
2812 * events.c (Fmake_event): | |
2813 * events.c (character_to_event): | |
2814 * events.c (event_to_character): | |
2815 * events.c (format_event_object): | |
2816 * events.c (Fevent_modifiers): | |
2817 * events.h: | |
2818 * events.h (struct key_data): | |
2819 * events.h (struct button_data): | |
2820 * events.h (struct misc_user_data): | |
2821 * frame-x.c (Fcde_start_drag_internal): | |
2822 * frame-x.c (Foffix_start_drag_internal): | |
2823 * gpmevent.c (Freceive_gpm_event): | |
2824 * keymap.c: | |
2825 * keymap.c (bucky_sym_to_bucky_bit): | |
2826 * keymap.c (control_meta_superify): | |
2827 * keymap.c (make_key_description): | |
2828 * keymap.c (keymap_lookup_directly): | |
2829 * keymap.c (create_bucky_submap): | |
2830 * keymap.c (keymap_store): | |
2831 * keymap.c (define_key_check_and_coerce_keysym): | |
2832 * keymap.c (define_key_parser): | |
2833 * keymap.c (define_key_alternate_name): | |
2834 * keymap.c (Fdefine_key): | |
2835 * keymap.c (raw_lookup_key_mapper): | |
2836 * keymap.c (struct map_keymap_unsorted_closure): | |
2837 * keymap.c (map_keymap_unsorted_mapper): | |
2838 * keymap.c (map_keymap_sort_predicate): | |
2839 * keymap.c (map_keymap_sorted): | |
2840 * keymap.c (accessible_keymaps_mapper_1): | |
2841 * keymap.c (where_is_recursive_mapper): | |
2842 * keymap.c (describe_map_mapper): | |
2843 * keymap.c (describe_map_sort_predicate): | |
2844 * keymap.c (describe_map): | |
2845 * keymap.c (complex_vars_of_keymap): | |
2846 And a number of other files, the key modifier preprocessor | |
2847 constants that xemacs uses have names that conflict with constants | |
2848 defined under MS Windows for other purposes, so they were renamed | |
2849 to begin with the prefix XEMACS_. The variables that hold such | |
2850 modifiers were changed to consistently be of type int to fix | |
2851 various compile warnings. | |
2852 | |
2853 * console.c (complex_vars_of_console): | |
2854 * device.c: | |
2855 * device-msw.c: | |
2856 * device-msw.c (mswindows_finish_init_device): | |
2857 * device-msw.c (msw_get_workspace_coords): | |
2858 * device-msw.c (mswindows_device_system_metrics): | |
2859 and various other files, added support for a new | |
2860 device property called offset-workspace which returns the position | |
2861 of the upper left corner of the workspace area and goes along with | |
2862 the existing size-workspace property. | |
2863 | |
2864 * dialog-msw.c: | |
2865 * dialog-msw.c (push_bufbyte_string_as_unicode): | |
2866 * dialog-msw.c (mswindows_popup_dialog_box): | |
2867 Added support for XEmacs-style accelerator specifications in | |
2868 button text. Note: I didn't add support for this under X Windows, | |
2869 and somebody needs to do this. | |
2870 | |
2871 * dialog.c: | |
2872 * dialog.c (Fpopup_dialog_box): | |
2873 Documented the support for accelerators that was just mentioned. | |
2874 | |
2875 editfns.c (get_home_directory): Changed behavior under Windows | |
2876 when HOME not defined; former behavior was irretrievably broken. | |
2877 | |
2878 * emacs.c: | |
2879 * emacs.c (main_1): | |
2880 * emacs.c (main): | |
2881 * minibuf.c (clear_echo_area_internal): | |
2882 * minibuf.c (echo_area_append): | |
2883 * print.c: | |
2884 * print.c (std_handle_out_external): | |
2885 * print.c (std_handle_out_va): | |
2886 * print.c (fatal): | |
2887 * print.c (write_string_to_stdio_stream): | |
2888 * print.c (output_string): | |
2889 * print.c (debug_print): | |
2890 * print.c (debug_backtrace): | |
2891 * print.c (debug_short_backtrace): | |
2892 Cleaned up the code that prints text to stdout so that this can be | |
2893 changed to output into a console window instead under MS Windows, | |
2894 as described above. | |
2895 | |
2896 * eval.c: | |
2897 * eval.c (DEFEND_AGAINST_THROW_RECURSION): | |
2898 * eval.c (internal_catch): | |
2899 * eval.c (unwind_to_catch): | |
2900 * eval.c (throw_or_bomb_out): | |
2901 * eval.c (condition_case_1): | |
2902 * eval.c (signal_1): | |
2903 * eval.c (check_error_state_sanity): | |
2904 * eval.c (call_with_suspended_errors_1): | |
2905 * eval.c (call_with_suspended_errors): | |
2906 * eval.c (reinit_vars_of_eval): | |
2907 Added code to catch throw loops and check for a pesky bug that may | |
2908 be gone now. | |
2909 | |
2910 * event-msw.c: | |
2911 * event-msw.c (key_needs_default_processing_p): | |
2912 * event-msw.c (mswindows_wnd_proc): | |
2913 * event-msw.c (mswindows_modifier_state): | |
2914 * event-msw.c (emacs_mswindows_quit_p): | |
2915 * event-msw.c (vars_of_event_mswindows): | |
2916 a) Added support for using the alt key to select menu items as is | |
2917 standard under MS Windows. This is controlled using the variable | |
2918 menu-accelerator-enabled, just like under X Windows. There is an | |
2919 option on the options menu to turn this support on. I really | |
2920 think that it should be on by default under Windows, but I'm not | |
2921 going to make this change yet. | |
2922 | |
2923 b) Added support for dynamic display size changes under Windows. | |
2924 | |
2925 * event-stream.c: | |
2926 * event-stream.c (maybe_echo_keys): | |
2927 * event-stream.c (Fnext_event): | |
2928 * event-stream.c (command_builder_find_leaf): | |
2929 * event-stream.c (lookup_command_event): | |
2930 * event-stream.c (execute_command_event): | |
2931 * event-stream.c (pre_command_hook): | |
2932 * event-stream.c (post_command_hook): | |
2933 * event-stream.c (syms_of_event_stream): | |
2934 * event-stream.c (vars_of_event_stream): | |
2935 * event-stream.c (complex_vars_of_event_stream): | |
2936 * events.h (struct command_builder): | |
2937 | |
2938 a) Tried to clean up a little bit the horribly written x-specific | |
2939 accelerator code that crept into this file. I moved this code | |
2940 into menubar-x.c where it belongs. I also needed to move the | |
2941 command builder structure into the file events.h because it is | |
2942 accessed directly by this accelerator code. What I didn't do, but | |
2943 which should be done at some point, is to properly abstract this | |
2944 code using device methods instead of the kludgy way that it | |
2945 currently hooks into the event code. | |
2946 | |
2947 b) Added the lisp variables this-command-properties and | |
2948 last-command- properties, which should be used to synchronize two | |
2949 adjacent commands in preference to playing games with the variable | |
2950 this-command, which is typically what happens. | |
2951 | |
2952 c) Added some slightly nasty code to hook into the lisp support | |
2953 for shifted- motion-key selection. This is actually necessary for | |
2954 somewhat complicated reasons, which are described in | |
2955 simple.el. (NB: I think the proper thing would be to have the code | |
2956 that calls the pre and post command hooks also call out to generic | |
2957 lisp functions in simple.el, where all built-in stuff could be | |
2958 added. I will think about this more.) | |
2959 | |
2960 * event-unixoid.c (poll_fds_for_input): | |
2961 * lread.c (readchar): | |
2962 * redisplay-tty.c (tty_clear_frame): | |
2963 * redisplay-x.c (x_get_gc): | |
2964 * signal.c (interrupt_signal): | |
2965 And a whole bunch of other files: fixed up places that printed | |
2966 directly to stderr to instead call the function stderr_out so that | |
2967 the changes I made under Windows work correctly. | |
2968 | |
2969 * filemode.c (mode_string): | |
2970 Warning fixes. | |
2971 | |
2972 * frame-msw.c: | |
2973 * frame-msw.c (mswindows_size_frame_internal): | |
2974 Fixed the computation of frame size and position to keep the frame | |
2975 within the workspace area, rather than within the physical | |
2976 dimensions of the screen, so that the frame doesn't overlap window | |
2977 manager decorations, such as the start menu and toolbar, typically | |
2978 at the bottom of the screen. | |
2979 | |
2980 * frame.c (vars_of_frame): | |
2981 Changed the default frame title format under MS Windows to consist | |
2982 of buffername-XEmacs, which is standard under MS Windows. I think | |
2983 it might be a good idea to change this everywhere because I think | |
2984 it is superior to the current frame title format, but this is the | |
2985 kind of change that is likely to cause some people to get annoyed, | |
2986 so I'm not making it. | |
2987 | |
2988 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings. | |
2989 | |
2990 * gui-msw.c (mswindows_handle_gui_wm_command): | |
2991 Fixed compile warnings. | |
2992 | |
2993 * gui-x.c: | |
2994 * gui-x.c (strdup_and_add_accel): | |
2995 * gui-x.c (button_item_to_widget_value): | |
2996 * gui-x.h: | |
2997 Added code to automatically put an accelerator onto the beginning | |
2998 of menu items that don't have one as is now the standard, and is | |
2999 described more later. Also fixed things so that the menu item | |
3000 name can be an evaluated expression, again a new standard. | |
3001 | |
3002 * gui.c: | |
3003 * gui.c (gui_item_add_keyval_pair): | |
3004 * gui.c (make_gui_item_from_keywords_internal): | |
3005 * gui.c (gui_add_item_keywords_to_plist): | |
3006 * gui.c (gui_item_accelerator): | |
3007 * gui.c (gui_name_accelerator): | |
3008 * gui.c (gui_item_included_p): | |
3009 * gui.c (gui_item_display_flush_left): | |
3010 * gui.c (gui_item_display_flush_right): | |
3011 * gui.c (parse_gui_item_tree_item): | |
3012 * gui.c (parse_gui_item_tree_children): | |
3013 * gui.c (parse_gui_item_tree_list): | |
3014 Mule-ized. Cleanup. GCPRO addition. | |
3015 | |
3016 * line-number.c (buffer_line_number): | |
3017 * lisp.h: | |
3018 * lisp.h (EMACS_INT_MAX): | |
3019 Added the manifest constant EMACS_INT_MIN corresponding to the | |
3020 existing constant EMACS_INT_MAX. This is partially to fix compile | |
3021 warnings under Windows, and partly for cleanliness. | |
3022 | |
3023 * menubar-msw.c: | |
3024 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH): | |
3025 * menubar-msw.c (msw_translate_menu_or_dialog_item): | |
3026 * menubar-msw.c (displayable_menu_item): | |
3027 * menubar-msw.c (populate_menu_add_item): | |
3028 * menubar-msw.c (populate_or_checksum_helper): | |
3029 * menubar-msw.c (populate_menu): | |
3030 * menubar-msw.c (update_frame_menubar_maybe): | |
3031 * menubar-msw.c (prune_menubar): | |
3032 * menubar-msw.c (msw_char_is_accelerator): | |
3033 * menubar-msw.c (unsafe_handle_wm_initmenu_1): | |
3034 * menubar-msw.c (mswindows_handle_wm_command): | |
3035 * menubar-msw.c (mswindows_handle_wm_initmenupopup): | |
3036 * menubar-msw.c (mswindows_handle_wm_initmenu): | |
3037 * menubar-msw.c (mswindows_update_frame_menubars): | |
3038 * menubar-msw.c (mswindows_free_frame_menubars): | |
3039 * menubar-msw.c (mswindows_popup_menu): | |
3040 Fixed a bug in handling accelerators where an extra character | |
3041 would be displayed in the menu item. Also generalized the | |
3042 function displayable_menu_item because it is now used by the | |
3043 dialog box code as well. And finally, added code in the functions | |
3044 that create the menubar to extract a list of accelerators for the | |
3045 top level menubar, which is used in the event code to determine | |
3046 whether a particular alt-key combination should be used to invoke | |
3047 a menu item, or should be passed through to access the standard | |
3048 XEmacs keymap binding for this key combination. | |
3049 | |
3050 Much needed GCPROing. | |
3051 | |
3052 * menubar-x.c: | |
3053 * menubar-x.c (menu_item_descriptor_to_widget_value_1): | |
3054 * menubar-x.c (menu_item_descriptor_to_widget_value): | |
3055 * menubar-x.c (restore_in_menu_callback): | |
3056 * menubar-x.c (x_popup_menu): | |
3057 * menubar-x.c (menu_move_up): | |
3058 * menubar-x.c (menu_move_down): | |
3059 * menubar-x.c (menu_move_left): | |
3060 * menubar-x.c (menu_move_right): | |
3061 * menubar-x.c (menu_select_item): | |
3062 * menubar-x.c (command_builder_operate_menu_accelerator): | |
3063 * menubar-x.c (menu_accelerator_junk_on_error): | |
3064 * menubar-x.c (command_builder_find_menu_accelerator): | |
3065 * menubar-x.c (Faccelerate_menu): | |
3066 * menubar.h: | |
3067 Moved a whole bunch of code here that was previously in | |
3068 event-stream.c as described above. There is also code connected | |
3069 to the new standard of adding an accelerator to the beginning of | |
3070 menu items that don't have one as described above and below. | |
3071 | |
3072 * menubar.c: | |
3073 * menubar.c (menu_parse_submenu_keywords): | |
3074 * menubar.c (Fmenu_find_real_submenu): | |
3075 * menubar.c (Fnormalize_menu_item_name): | |
3076 * menubar.c (syms_of_menubar): | |
3077 * menubar.c (vars_of_menubar): | |
3078 * menubar.c (complex_vars_of_menubar): | |
3079 | |
3080 a) Cleaned up a bunch of documentation and improved it. | |
3081 | |
3082 b) XEmacs now automatically adds an accelerator onto the beginning | |
3083 of any menu items that don't have one. I did this because there | |
3084 will inevitably be some menu items on the main menubar that don't | |
3085 have accelerators on them because the package that adds that | |
3086 particular menu item hasn't yet been fixed up to have accelerators | |
3087 in them and it looked rather strange to have some items with and | |
3088 some items without accelerators, especially since even in items | |
3089 without accelerators, you can, at least under windows, still | |
3090 access the item through an accelerator corresponding to the first | |
3091 character in the item's name. If people don't like this behavior, | |
3092 I can add a variable to turn it off optionally, but I'm not sure | |
3093 this is a good idea because we really do need to have accelerators | |
3094 on all of the menu items, and if a package doesn't like the | |
3095 accelerators being put on the first character, then it should put | |
3096 the accelerators where they belong. | |
3097 | |
3098 c) I made a behavior change, which is that the descriptor that | |
3099 specifies the text of the menu item, which formerly was just a | |
3100 string, can now also be an evaluated expression. This makes this | |
3101 descriptor parallel with all of the others, which could also be | |
3102 evaluated expressions. This also obviates the need for the | |
3103 keyword :label, which was previously listed in the documentation | |
3104 as unimplemented, and which was for the same purpose. | |
3105 | |
3106 d) GCPROing. | |
3107 | |
3108 * ntproc.c: | |
3109 * ntproc.c (new_child): | |
3110 * ntproc.c (sys_spawnve): | |
3111 * ntproc.c (find_child_console): | |
3112 * ntproc.c (sys_kill): | |
3113 Fixed compile warnings. By the way, this file should really go | |
3114 away entirely, and this will happen as soon as Kirill makes his | |
3115 final round of process cleanups, which affect the function | |
3116 call-process. | |
3117 | |
3118 * process-nt.c: | |
3119 * process-nt.c (struct nt_process_data): | |
3120 * process-nt.c (find_process_from_pid): | |
3121 * process-nt.c (send_signal_the_nt_way): | |
3122 * process-nt.c (enable_child_signals): | |
3123 * process-nt.c (find_child_console): | |
3124 * process-nt.c (send_signal_the_95_way): | |
3125 * process-nt.c (nt_finalize_process_data): | |
3126 * process-nt.c (ensure_console_window_exists): | |
3127 * process-nt.c (nt_create_process): | |
3128 * process-nt.c (nt_kill_child_process): | |
3129 * process-nt.c (nt_kill_process_by_pid): | |
3130 * process-nt.c (nt_open_network_stream): | |
3131 * process-nt.c (vars_of_process_nt): | |
3132 Copied over code from Emacs 20.5 to correctly send signals to sub- | |
3133 processes under Windows 95. Also added code to automatically | |
3134 create and hide console window when a sub-process is created under | |
3135 Windows 95, which obviates the need for the separate runemacs.exe | |
3136 executable, and finally implemented some variables that were | |
3137 implemented in Emacs 20.5, but previously not in XEmacs. These | |
3138 include mswindows- start-process-share-console and | |
3139 mswindows-start-process-inherit-error-mode. (Both of these only | |
3140 apply to Windows 95.) | |
3141 | |
3142 * regex.c (regex_compile): Fixed a compile warning. | |
3143 | |
3144 * select-msw.c: | |
3145 * select-msw.c (mswindows_own_selection): | |
3146 * select-msw.c (mswindows_get_foreign_selection): | |
3147 * select-msw.c (mswindows_disown_selection): | |
3148 * select-msw.c (console_type_create_select_mswindows): | |
3149 * select-msw.c (syms_of_select_mswindows): | |
3150 Cleaned up the file and implemented the device method | |
3151 selection_exists_p, which had accidentally been left out. Also | |
3152 removed four lisp functions that were remnants from before the | |
3153 time when the selection code was properly device abstracted. | |
3154 These functions are no longer needed because there are generic | |
3155 equivalents, and because they were added recently and don't exist | |
3156 in FSF Emacs, I don't think there's any problem with just deleting | |
3157 them. | |
3158 | |
3159 * sysdep.c: | |
3160 * sysdep.c (sys_subshell): | |
3161 Fixed a compile warning, although in this case there's probably | |
3162 something wrong with this code, and it ought to be looked into | |
3163 more thoroughly by somebody who understands it. | |
3164 | |
3165 * window.c: | |
3166 * window.c (Fwindow_text_area_height): | |
3167 * window.c (Fwindow_width): | |
3168 * window.c (Fwindow_full_width): | |
3169 * window.c (Fwindow_pixel_width): | |
3170 * window.c (debug_print_window): | |
3171 * window.c (syms_of_window): | |
3172 Added functions window-text-area-height and window-full-width, | |
3173 which are functions for returning various width and height | |
3174 characteristics of a window. (One of these functions is necessary | |
3175 for making the file dialog box work correctly, and the other one | |
3176 was added for completeness.) Also added a table to the | |
3177 documentation for window-height which describes the entire scheme | |
3178 for accessing width and height characteristics of a window. | |
3179 | |
3180 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | |
3181 | |
3182 * nt.c (fstat): Added a comment for another problem with | |
3183 non-encapsulated [f]stat(), reported by Adrian Aichner | |
3184 <aichner@ecf.teradyne.com>. | |
3185 | |
3186 2000-03-11 Andy Piper <andy@xemacs.org> | |
3187 | |
3188 * window.c (make_dummy_parent): initialize subwindow instance | |
3189 cache. | |
3190 (Fset_window_configuration): zero extent_modiff. | |
3191 | |
3192 2000-03-10 Andy Piper <andy@xemacs.org> | |
3193 | |
3194 * redisplay.c (Fredraw_frame): reset the changed_set flags so that | |
3195 more changes can be triggered. | |
3196 (Fredisplay_frame): ditto. | |
3197 (Fredraw_device): ditto. | |
3198 (Fredisplay_device): ditto. | |
3199 (redisplay_frame): make non-static. | |
3200 (redisplay_frame): call update_frame_gutter_geometry outside of | |
3201 display proper. | |
3202 | |
3203 * gutter.h: declare update_frame_gutter_geometry. | |
3204 | |
3205 * redisplay.h: declare redisplay_frame. | |
3206 | |
3207 * gutter.c (update_frame_gutter_geometry): move geometry changes | |
3208 in update_frame_gutters here. Geometry changes can only occur | |
3209 outside of redisplay. | |
3210 (update_frame_gutters): remove geometry change code. | |
3211 (Fredisplay_gutter_area): make sure that we are in display when we | |
3212 update and that we have flushed any size changes. | |
3213 | |
3214 2000-03-11 Andy Piper <andy@xemacs.org> | |
3215 | |
3216 * alloc.c (pdump_dump_data): remove i & count shadows. | |
3217 | |
3218 2000-02-27 Mike Alexander <mta@arbortext.com> | |
3219 | |
3220 * sysdep.h: Declare pdump_read_file | |
3221 | |
3222 * sysdep.c (pdump_read_file): New function | |
3223 | |
3224 * alloc.c (pdump_load): Call pdump_read_file to get the portable | |
3225 dump data | |
3226 | |
3227 2000-03-10 SL Baur <steve@musashimaru.m17n.org> | |
3228 | |
3229 * lrecord.h: add `lrecord_type_pgsetenv'. | |
3230 | |
3231 2000-03-08 SL Baur <steve@musashimaru.m17n.org> | |
3232 | |
3233 * symsinit.h: declare (vars|syms)_of* functions. | |
3234 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'. | |
3235 | |
3236 2000-03-06 SL Baur <steve@musashimaru.m17n.org> | |
3237 | |
3238 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7 | |
3239 | |
3240 * inline.c: Include postgresql.h lrecord stuffs to placate buggy | |
3241 GCCs. | |
3242 | |
3243 * emacs.c (main_1): Call postgres initialization code. | |
3244 | |
3245 * postgresql.h: New file. PostgreSQL RDBMS support. | |
3246 * postgresql.c: New file. | |
3247 | |
3248 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org> | |
3249 | |
3250 * redisplay-output.c (redisplay_output_display_block): Disable | |
3251 redundant code. | |
3252 | |
3253 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org> | |
3254 | |
3255 * mule-canna.c (Fcanna_henkan_region): Translate doc-string. | |
3256 (Fcanna_henkan_next): Ditto. | |
3257 (Fcanna_bunsetu_henkou): Ditto. | |
3258 (Fcanna_henkan_kakutei): Ditto. | |
3259 (Fcanna_henkan_end): Ditto. | |
3260 (Fcanna_henkan_quit): Ditto. | |
3261 (Fcanna_henkan_next): Set retun value correctly. | |
3262 (c2mu): Use unsigned char instead of signed char. | |
3263 | |
3264 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org> | |
3265 | |
3266 * emacs.c (main_1): Always call syms_of_gui. | |
3267 * inline.c: include gui.h | |
3268 | |
3269 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org> | |
3270 | |
3271 * redisplay.c (Vvisible_bell): Renamed from visible_bell and | |
3272 converted to Lisp_Object. | |
3273 (Qtop_bottom): New variable. | |
3274 (syms_of_redisplay): Initialize it. | |
3275 * redisplay.h (Vvisible_bell): Ditto. | |
3276 * sound.c (ding): Ditto and check if Vvisible_bell is nil. | |
3277 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom, | |
3278 only flash top and bottom. | |
3279 | |
3280 2000-03-08 Andy Piper <andy@xemacs.org> | |
3281 | |
3282 * buffer.c (Frename_buffer): record new buffer name the right way. | |
3283 | |
3284 2000-03-08 Andy Piper <andy@xemacs.org> | |
3285 | |
3286 * glyphs.c (update_subwindow): increase hash depth so that widget | |
3287 items get picked up properly. | |
3288 | |
3289 * redisplay-output.c (compare_runes): increase hash depth so that | |
3290 widget items get picked up properly. | |
3291 | |
3292 2000-03-08 Andy Piper <andy@xemacs.org> | |
3293 | |
3294 * gutter.c (output_gutter): add some debug. | |
3295 | |
3296 * glyphs.h (struct Lisp_Image_Instance): add display_hash. | |
3297 (IMAGE_INSTANCE_DISPLAY_HASH): new macro. | |
3298 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto. | |
3299 | |
3300 * redisplay-output.c (compare_runes): use display_hash to | |
3301 determine if glyphs really are not the same. | |
3302 | |
3303 * glyphs.c (update_subwindow): check display_hash to see if | |
3304 anything really needs to be updated. If not then do | |
3305 nothing. Record the display_hash after updating. | |
3306 (image_instance_equal): compare the image_instance face also. | |
3307 | |
3308 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org> | |
3309 | |
3310 * redisplay.h: Fix comment style. | |
3311 | |
3312 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
3313 | |
3314 * consle-msw.h (struct mswindows_frame): | |
3315 Added new member paint_pending to indicate whether a WM_PAINT | |
3316 magic event has been queued for this frame. | |
3317 | |
3318 * event-msw.c (mswindows_drain_windows_queue): | |
3319 Don't queue a WM_PAINT magic event if one is already queued. | |
3320 (emacs_mswindows_handle_magic_event): clear paint_pending flag. | |
3321 | |
3322 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag. | |
3323 | |
3324 2000-03-07 Didier Verna <didier@xemacs.org> | |
3325 | |
3326 * dired.c: #include `regex.h' after `sysfile.h'. | |
3327 | |
3328 2000-03-06 Martin Buchholz <martin@xemacs.org> | |
3329 | |
3330 * sound.c (init_nas_sound): Fix compiler warning. | |
3331 | |
3332 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New. | |
3333 (FREE_STRUCT_P): | |
3334 (MARK_STRUCT_AS_FREE): | |
3335 (MARK_STRUCT_AS_NOT_FREE): | |
3336 Make `gcc -fstrict-aliasing' work properly. | |
3337 | |
3338 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
3339 | |
3340 * device-msw.c (mswindows_finish_init_device): Call CoInitialize(). | |
3341 (mswindows_delete_device): Call CoUnnitialize(). | |
3342 | |
3343 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts. | |
3344 | |
3345 2000-02-25 <CraigL@DyCon.com> | |
3346 | |
3347 * process-nt.c: MinGW now has <shellapi.h>, but still needs | |
3348 <errno.h>. | |
3349 | |
3350 * sysdep.c: This extern declaration for environ prevents MinGW | |
3351 from finding the variable in CRTDLL.DLL. | |
3352 | |
3353 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's | |
3354 windows headers. | |
3355 (SHGFI_EXETYPE): .. | |
3356 (WM_MOUSEWHEEL): .. | |
3357 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL | |
3358 definitions. | |
3359 (MMRESULT): Removed, now defined in cygwin's windows headers. | |
3360 (TIMECAPS): .. | |
3361 (uid_t,gid_t,pid_t,ssize_t): .. | |
3362 (_timeb): Removed, MinGW defines both _timeb and timeb. | |
3363 (HAVE_H_ERRNO): Added. | |
3364 (HAVE_TZNAME): Added, configure is not detecting this. | |
3365 | |
3366 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org> | |
3367 | |
3368 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro. | |
3369 * syntax.c (syntax_match): Use it. | |
3370 | |
3371 * cmds.c: Import auto-fill-chars from FSF Emacs. | |
3372 (Vauto_fill_chars): New variables. | |
3373 (internal_self_insert): Check Vauto_fill_chars. | |
3374 (vars_of_cmds): | |
3375 Declare auto-fill-chars as a Lisp variable and initialize it. | |
3376 | |
3377 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
3378 | |
3379 * fileio.c (Fmake_symbolic_link): | |
3380 (Ffile_symlink_p): | |
3381 Run handlers even if local machine doesn't have symlinks. | |
3382 | |
3383 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
3384 | |
3385 * event-msw.c (mswindows_drain_windows_queue): | |
3386 Don't generate paint magic events for non-XEmacs frames. | |
3387 | |
3388 2000-03-05 Andy Piper <andy@xemacs.org> | |
3389 | |
3390 * redisplay.c (redisplay_frame): generate_displayable_area and | |
3391 friends assumes that we are not in GC, we therefore have to make | |
3392 sure that this doesn't happen. | |
3393 | |
3394 * gutter.c (calculate_gutter_size): generate_displayable_area | |
3395 assumes that we are not in GC, we therefore have to make sure that | |
3396 this doesn't happen. | |
3397 | |
3398 2000-03-05 Martin Buchholz <martin@xemacs.org> | |
3399 | |
3400 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr | |
3401 | |
3402 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch> | |
3403 | |
3404 * redisplay.c (regenerate_window): Make sure we set a sane value | |
3405 for end_pos even if we jump out of the loop. | |
3406 (regenerate_window): Answer Ben's question :-). | |
3407 (start_end_of_last_line): Add may_error argument. | |
3408 (start_of_last_line): | |
3409 (end_of_last_line): Pass may_error = 0. | |
3410 (end_of_last_line_may_error): New function. | |
3411 (pixel_to_glyph_translation): Use it, so we don't crash in | |
3412 event_to_glyph. | |
3413 | |
3414 2000-03-04 Andy Piper <andy@xemacs.org> | |
3415 | |
3416 * window.h (struct window): add gutter_extent_modiff. | |
3417 | |
3418 * window.c (allocate_window): zero out gutter_extent_modiff. | |
3419 | |
3420 * redisplay.h: declare sync_display_line_structs. | |
3421 | |
3422 * redisplay.c (add_glyph_rune): add a better comment. | |
3423 | |
3424 * redisplay-output.c (sync_display_line_structs): made non-static. | |
3425 (compare_runes): remove unneccesary glyph cachel access. | |
3426 | |
3427 * gutter.h: declare gutter_extent_signal_changed_region_maybe. | |
3428 | |
3429 * gutter.c (output_gutter): don't output the gutter if extent | |
3430 changes only involve extents in buffers. use 4 sets of display | |
3431 lines. | |
3432 (gutter_extent_signal_changed_region_maybe): new function. Mark | |
3433 extents in gutters as changed. | |
3434 (update_frame_gutters): use 4 sets of display lines. | |
3435 (reset_gutter_display_lines): ditto. | |
3436 (free_frame_gutters): ditto. | |
3437 (redraw_exposed_gutter): force output of gutters. | |
3438 | |
3439 * frame.h (struct frame): add 4 sets of gutter display lines. | |
3440 | |
3441 * extents.c: (extent_changed_for_redisplay): signal changes to | |
3442 extents in strings in the gutter as well as extents in buffers. | |
3443 | |
3444 2000-03-02 Andy Piper <andy@xemacs.org> | |
3445 | |
3446 * gutter.c (specifier_vars_of_gutter): cosmetic changes. | |
3447 | |
3448 * frame.c (Fmake_frame): make sure the gutters get initialized | |
3449 after the frame is visible. | |
3450 (set_frame_selected_window): re-arrange compilation macros a | |
3451 little. | |
3452 (change_frame_size_1): mark gutters changed. | |
3453 | |
3454 * device.c (Fset_device_class): mark gutters changed. | |
3455 | |
3456 2000-03-01 Andy Piper <andy@xemacs.org> | |
3457 | |
3458 * window.c (window_top_frame_gutter_height): deleted. | |
3459 (window_bottom_frame_gutter_height): ditto. | |
3460 (window_left_frame_gutter_height): ditto. | |
3461 (window_right_frame_gutter_height): ditto. | |
3462 (window_top_gutter_height): don't use them. | |
3463 (window_bottom_gutter_height): ditto. | |
3464 (window_left_gutter_width): ditto. | |
3465 (window_right_gutter_width): ditto. | |
3466 (Fsplit_window): ditto. | |
3467 (Fwindow_pixel_edges): don't use border dimensions here. | |
3468 | |
3469 * scrollbar.c (update_scrollbar_instance): don't take gutters into account. | |
3470 (update_scrollbar_instance): ditto. | |
3471 | |
3472 * redisplay.c (generate_modeline): don't take gutters into account. | |
3473 (generate_modeline): ditto. | |
3474 (redisplay_frame): small gutter display optimisation. | |
3475 | |
3476 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account. | |
3477 | |
3478 * redisplay-msw.c (mswindows_output_vertical_divider): don't take | |
3479 gutters into account. | |
3480 | |
3481 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks | |
3482 for window position and type. | |
3483 | |
3484 * gutter.c (get_gutter_coords): fix for frame gutters. | |
3485 (update_frame_gutters): update frame geometry if the gutters have | |
3486 changed. | |
3487 (init_frame_gutters): record current gutter geometries. | |
3488 | |
3489 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused | |
3490 var. | |
3491 (mswindows_widget_instantiate): ditto. | |
3492 | |
3493 * frame.h (struct frame): add current_gutter_bounds. | |
3494 | |
3495 * frame.c (change_frame_size_1): position window and minibuffer | |
3496 appropriately taking into account the frame gutters. | |
3497 | |
3498 * frame-x.c: (x_initialize_frame_size): take into account the | |
3499 frame gutters. | |
3500 | |
3501 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org> | |
3502 | |
3503 * emacs.c (data-directory): Xref `locate-data-file' in docstring. | |
3504 | |
3505 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org> | |
3506 | |
3507 * alloc.c (dumpopaquevec): Increase dimension for --with-canna. | |
3508 | |
3509 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp> | |
3510 | |
3511 * file-coding.c (reset_decoding_stream): Clear previous | |
3512 detection state when autodetect. | |
3513 | |
3514 2000-02-29 Didier Verna <didier@xemacs.org> | |
3515 | |
3516 * extents.c (set_extent_glyph_1): don't require extents to be | |
3517 attached. | |
3518 | |
3519 2000-02-27 Andy Piper <andy@xemacs.org> | |
3520 | |
3521 * gutter.c (Fset_default_gutter_position): don't default left and | |
3522 right gutter visibility to t. | |
3523 (Fset_default_gutter_position): run | |
3524 default-gutter-position-changed-hook. | |
3525 (syms_of_gutter): add default-gutter-position-changed-hook. | |
3526 | |
3527 2000-02-26 Andy Piper <andy@xemacs.org> | |
3528 | |
3529 * specifier.c (Fmake_specifier): add gutter references. | |
3530 | |
3531 * gutter.h (RAW_WINDOW_GUTTER): new macro. | |
3532 | |
3533 * lisp.h: declare Fvalid_plist_p. | |
3534 | |
3535 * gutter.c (gutter_geometry_changed_in_window): mark the modeline | |
3536 as changed. | |
3537 (default_gutter_visible_p_changed_in_window): invalidate gutter as | |
3538 well as its visibility so that it gets reconstructed. | |
3539 (construct_window_gutter_spec): new function. Construct a string | |
3540 to be displayed in the gutter from a plist of strings. Take care | |
3541 to only use elements that are declared as visible. | |
3542 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of | |
3543 WINDOW_GUTTER. | |
3544 (gutter_validate): allow plists of strings in the specifier. | |
3545 (gutter_specs_changed): construct the real_gutter from the gutter | |
3546 specs using construct_window_gutter_spec. | |
3547 (gutter_visible_validate): gutter-visible is a new specifier type. | |
3548 (Fgutter_visible_specifier_p): new function for the new specifier. | |
3549 (syms_of_gutter): declare gutter-visible and | |
3550 Fgutter_visible_specifier_p. | |
3551 (specifier_type_create_gutter): intitalize new gutter-visible | |
3552 specifier. | |
3553 (reinit_specifier_type_create_gutter): ditto. | |
3554 (specifier_vars_of_gutter): use new specifier type for gutter | |
3555 visibility. | |
3556 (init_frame_gutters): construct real_gutter correctly. | |
3557 (Fgutter_specifier_p): beef up documentation. | |
3558 (Fgutter_size_specifier_p): ditto. | |
3559 | |
3560 * winslots.h: add real_gutter slots. | |
3561 | |
3562 2000-02-25 Andy Piper <andy@xemacs.org> | |
3563 | |
3564 * device-msw.c: Be kind to older cygwin versions. From Raymond | |
3565 Toy <toy@rtp.ericsson.se>. | |
3566 | |
3567 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to | |
3568 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>. | |
3569 | |
3570 2000-02-25 Martin Buchholz <martin@xemacs.org> | |
3571 | |
3572 * elhash.c (MARK_OBJ): Practice macro hygiene. | |
3573 | |
3574 2000-02-24 Martin Buchholz <martin@xemacs.org> | |
3575 | |
3576 * miscplay.c: s/__inline__/inline/g; | |
3577 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline | |
3578 (get_device_compdc): INLINE ==> static inline | |
3579 * *.[ch]: Change INLINE to INLINE_HEADER globally. | |
3580 find -name '*.h' | \ | |
3581 xargs global-replace \ | |
3582 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g' | |
3583 | |
3584 2000-02-25 Andy Piper <andy@xemacs.org> | |
3585 | |
3586 * window.c (window_top_frame_gutter_height): new function. | |
3587 (window_top_window_gutter_height): ditto. | |
3588 (window_top_gutter_height): use them. | |
3589 (window_bottom_frame_gutter_height): new function. | |
3590 (window_bottom_window_gutter_height): ditto. | |
3591 (window_bottom_gutter_height): use them. | |
3592 (window_left_window_gutter_width): new function. | |
3593 (window_left_frame_gutter_width): ditto. | |
3594 (window_left_gutter_width): use them. | |
3595 (window_right_window_gutter_width): new function. | |
3596 (window_right_frame_gutter_width): ditto. | |
3597 (window_right_gutter_width): use them. | |
3598 (window_pixel_height): new function. calulate window pixel height | |
3599 with frame gutter involvement. | |
3600 (Fsplit_window): calculate new sizes taking frame gutters into | |
3601 account. | |
3602 (window_char_height_to_pixel_height): don't include frame gutters. | |
3603 (window_char_height): use window_pixel_height. | |
3604 (window_pixheight): rename from window_pixel_height. | |
3605 (change_window_height): use it. | |
3606 (window_pixel_height_to_char_height): don't include frame gutters. | |
3607 (window_char_width_to_pixel_width): ditto. | |
3608 | |
3609 2000-02-25 Andy Piper <andy@xemacs.org> | |
3610 | |
3611 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash | |
3612 if it is. | |
3613 | |
3614 2000-02-24 Martin Buchholz <martin@xemacs.org> | |
3615 | |
3616 * alloc.c (staticpro): | |
3617 (staticpro_nodump): | |
3618 (dumpstruct): | |
3619 (dumpopaque): | |
3620 (pdump_wire): | |
3621 (pdump_wire_list): | |
3622 (compact_string_chars): | |
3623 (pdump_dump_wired): | |
3624 Convert: if (foo) abort(); ==> assert (! foo); | |
3625 | |
3626 * eldap.c (Fldap_search_basic): | |
3627 (Fldap_add): | |
3628 (Fldap_modify): | |
3629 (Fldap_delete): | |
3630 Fix compiler warnings, and possible crashes if (random) return | |
3631 value were to be used. | |
3632 | |
3633 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | |
3634 | |
3635 * device-msw.c: Workaround ResetDC failure. | |
3636 | |
3637 * frame-msw.c (msprinter_init_frame_3): Added an assertion before | |
3638 applying a devmode. | |
3639 | |
3640 * redisplay-msw.c (get_frame_dc): Added start_page_p. | |
3641 (mswindows_text_width): Do not start printer page. | |
3642 | |
3643 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends. | |
3644 | |
3645 * glyphs-msw.c: Added image methods to msprinter console and | |
3646 msprinter-specific image instantiation. | |
3647 | |
3648 2000-02-20 Mike Alexander <mta@arbortext.com> | |
3649 | |
3650 * select-msw.c (Fmswindows_set_clipboard): GC protect more things | |
3651 to avoid crashes when selection-sets-clipboard is on | |
3652 (mswindows_own_selection): ditto | |
3653 | |
3654 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | |
3655 | |
3656 * glyphs-msw.c: | |
3657 * redisplay-msw.c (get_frame_dc): | |
3658 (get_frame_compdc): | |
3659 * console-msw.h: | |
3660 * device-msw.c (mswindows_init_device): | |
3661 (mswindows_delete_device): | |
3662 (msprinter_init_device): | |
3663 (msprinter_delete_device): | |
3664 * frame-msw.c (mswindows_init_frame_1): | |
3665 (mswindows_delete_frame): | |
3666 (msprinter_init_frame_3): | |
3667 (msprinter_delete_frame): Move compatible DC to device object from | |
3668 frame object, for both mswindows and msprinter. Only one at a time | |
3669 is needed, it is a real waste to have one per frame! | |
3670 | |
3671 2000-02-23 Andy Piper <andy@xemacs.org> | |
3672 | |
3673 * glyphs.c: add dynamic width and height elements. | |
3674 (image_instance_equal): ditto. | |
3675 | |
3676 * glyphs-widget.c (widget_query_geometry): calculate width and | |
3677 height dynamically if required. | |
3678 (initialize_widget_image_instance): initialize dynamic dimensions. | |
3679 (widget_instantiate): pick-up dynamic dimensions. | |
3680 | |
3681 * glyphs.h (struct Lisp_Image_Instance): add width and height for | |
3682 dynamic determination. Add appropriate macros. | |
3683 | |
3684 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer | |
3685 dimensions safe. | |
3686 (WINDOW_GUTTER_SIZE): ditto. | |
3687 (WINDOW_GUTTER_SIZE_INTERNAL): ditto. | |
3688 | |
3689 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this | |
3690 inline. | |
3691 (get_frame_dc): ditto. | |
3692 | |
3693 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces | |
3694 here. | |
3695 | |
3696 2000-02-23 Martin Buchholz <martin@xemacs.org> | |
3697 | |
3698 * XEmacs 21.2.31 is released. | |
3699 | |
3700 2000-02-22 Ben Wing <ben@xemacs.org> | |
3701 | |
3702 * ntheap.c (allocate_heap): Make sure `ptr' is initialized. | |
3703 | |
3704 2000-02-22 Andy Piper <andy@xemacs.org> | |
3705 | |
3706 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here. | |
3707 | |
3708 2000-02-21 Mike Sperber <mike@xemacs.org> | |
3709 | |
3710 * .dbxrc: | |
3711 * .gdbinit: | |
3712 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment | |
3713 variables. | |
3714 | |
3715 2000-02-21 Mike Sperber <mike@xemacs.org> | |
3716 | |
3717 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is. | |
3718 | |
3719 2000-02-21 Martin Buchholz <martin@xemacs.org> | |
3720 | |
3721 * XEmacs 21.2.30 is released. | |
3722 | |
3723 2000-02-20 Martin Buchholz <martin@xemacs.org> | |
3724 | |
3725 Performance hacking. | |
3726 * *.c (syms_of_*): | |
3727 Add INIT_LRECORD_IMPLEMENTATION macros, paired with | |
3728 DEFINE_LRECORD_IMPLEMENTATION macros in the same file. | |
3729 * emacs.c (main_1): | |
3730 * lisp.h (DEFUN): | |
3731 * console.c (DEFVAR_CONSOLE_LOCAL_1): | |
3732 * buffer.c (DEFVAR_BUFFER_LOCAL_1): | |
3733 * symeval.h (DEFVAR_SYMVAL_FWD): | |
3734 * symbols.c (guts_of_unbound_marker): | |
3735 Make all c_readonly objects also lisp_readonly and marked for life. | |
3736 * lrecord.h (struct lrecord_implementation): | |
3737 Document flags better. | |
3738 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS): | |
3739 * lrecord.h (DECLARE_LRECORD): | |
3740 * lrecord.h (XSETRECORD): | |
3741 * lrecord.h (RECORDP): | |
3742 * lrecord.h (RECORD_TYPEP): | |
3743 * lrecord.h (RECORD_MARKER): New. | |
3744 * lrecord.h (error_check_*): | |
3745 * lrecord.h (CONCHECK_NONRECORD): | |
3746 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION): | |
3747 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New. | |
3748 * lrecord.h (set_lheader_implementation): | |
3749 * lrecord.h (enum lrecord_type): New. | |
3750 * symeval.h (SYMBOL_VALUE_MAGIC_P): | |
3751 * alloc.c (disksave_object_finalization_1): | |
3752 * alloc.c (mark_object): | |
3753 * alloc.c (lrecord_type_index): | |
3754 * alloc.c (tick_lcrecord_stats): | |
3755 * alloc.c (Fgarbage_collect): | |
3756 * alloc.c (init_alloc_once_early): | |
3757 * alloc.c (pdump_load): | |
3758 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New. | |
3759 * alloc.c (lrecord_type_index): Delete. | |
3760 Make lisp object type indexes be constant. | |
3761 Makes (byte-compile) 5% faster. | |
3762 Put all marker functions into their own array. | |
3763 Makes (garbage-collect) 5% faster. | |
3764 Optimize SYMBOL_VALUE_MAGIC_P. | |
3765 Makes (byte-compile) 2-3% faster. | |
3766 * config.h.in (gc_checking_assert): New. | |
3767 * alloc.c: Use gc_checking_assert(). | |
3768 * .dbxrc: Make compatible with new object type implementation. | |
3769 * .gdbinit: Make compatible with new object type implementation. | |
3770 * alloc.c: Delete all symbols defined only for debugging, such as | |
3771 Lisp_Type_Vector and lrecord_charset. | |
3772 | |
3773 2000-02-21 Andy Piper <andy@xemacs.org> | |
3774 | |
3775 * gui-msw.c (Fmswindows_shell_execute): fix file location | |
3776 problems. | |
3777 | |
3778 * buffer.c (Fkill_buffer): remove buffer from alist buffer | |
3779 unshowing so that set_window_buffer doesn't undo | |
3780 kill_buffer_hook's hard work. | |
3781 | |
3782 * glyphs-widget.c (tab_control_query_geometry): don't count the | |
3783 first item when calculating geometry. | |
3784 | |
3785 * glyphs.c (map_subwindow): remove redundant code. | |
3786 (update_frame_subwindows): be more circumspect about when to | |
3787 update subwindows. | |
3788 | |
3789 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug | |
3790 when items haven't changed. Update faces if faces have changed as | |
3791 well as just the widget face. | |
3792 (x_tab_control_update): Update faces if faces have changed as well | |
3793 as just the widget face. | |
3794 | |
3795 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
3796 | |
3797 * device-msw.c: (mswindows_delete_device): Remove redundant DDE | |
3798 registration. | |
3799 (build_syscolor_string): Use mswindows_color_to_string to try to | |
3800 get a named color. | |
3801 (mswindows_device_system_metrics): Reverse the foreground and | |
3802 background colors so that they match the documentation. | |
3803 | |
3804 * objects-msw.c: (mswindows_X_color_map): tweak some values so | |
3805 they match the default Windows palette. | |
3806 (mswindows_color_to_string): New function. | |
3807 | |
3808 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
3809 | |
3810 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6. | |
3811 | |
3812 2000-02-18 Olivier Galibert <galibert@pobox.com> | |
3813 | |
3814 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS, | |
3815 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND. | |
3816 | |
3817 * symbols.c (init_symbols_once_early): Removed obsolete | |
3818 DATA_SEG_BITS related kludge. | |
3819 (defvar_magic): Ditto. | |
3820 | |
3821 * malloc.c: Removed obsolete DATA_SEG_BITS | |
3822 * ralloc.c: Ditto. | |
3823 * mem-limits.h: Ditto. | |
3824 | |
3825 * Makefile.in.in: Removed obsolete HAVE_SHM | |
3826 * emacs.c: Ditto. | |
3827 | |
3828 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
3829 | |
3830 * device-msw.c (mswindows_delete_device): Free DDE string | |
3831 handles. | |
3832 | |
3833 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | |
3834 | |
3835 * keymap.c (get_keyelt): | |
3836 * unexnt.c (unexec): | |
3837 * vm-limit.c (memory_warnings): | |
3838 * ntheap.c (recreate_heap): | |
3839 * ntheap.h (UNINIT_PTR): | |
3840 * select-msw.c (Fmswindows_get_clipboard): | |
3841 (Fmswindows_set_clipboard): | |
3842 * objects-msw.h (MSWINDOWS_BAD_HFONT): | |
3843 * objects-msw.c: | |
3844 * menubar-msw.c (displayable_menu_item): | |
3845 * glyphs-msw.c: | |
3846 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK): | |
3847 * sysdep.c (sys_subshell): | |
3848 * process-nt.c (nt_create_process): | |
3849 * nt.c (normalize_filename): | |
3850 (dostounix_filename): | |
3851 (unixtodos_filename): | |
3852 * ntproc.c (win32_executable_type): | |
3853 * ntplay.c (play_sound_data_1): | |
3854 (play_sound_file): | |
3855 * editfns.c (get_home_directory): | |
3856 * event-msw.c (struct winsock_stream): | |
3857 (mswindows_dde_callback): | |
3858 * device-msw.c (msprinter_init_device): | |
3859 (msprinter_get_devmode_copy): Frobbed syntax frivolities. | |
3860 | |
3861 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to | |
3862 mswindows_clear_toolbar were swapped! | |
3863 | |
3864 * objects-msw.c:(colormap_t): | |
3865 (fontmap_t): | |
3866 * emacs.c (struct standard_args): Fixed const jumble. | |
3867 | |
3868 * glyphs-widget.c (update_widget): Fixed comparison notation. | |
3869 | |
3870 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'. | |
3871 | |
3872 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC | |
3873 __declspec(noreturn) syntax. | |
3874 | |
3875 2000-02-19 Martin Buchholz <martin@xemacs.org> | |
3876 | |
3877 * eldap.c (Fldap_open): | |
3878 (Fldap_search_basic): | |
3879 (Fldap_add): | |
3880 (Fldap_modify): | |
3881 Use new coding system conversion macros. | |
3882 | |
3883 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp> | |
3884 | |
3885 * console-tty.c (tty_init_console): Change MULE to FILE_CODING. | |
3886 | |
3887 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> | |
3888 | |
3889 * eldap.h (Fldap_search) Renamed from Fldap_search_internal: | |
3890 (Fldap_add, Fldap_modify, Fldap_delete): New functions | |
3891 | |
3892 * eldap.c (Qadd, Qreplace): New constant symbols | |
3893 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid | |
3894 interruptions by XEmacs signals | |
3895 Remove unnecessary calls to slow_down_interrupts and | |
3896 speed_up_interrupts | |
3897 (Fldap_search_basic): Renamed from Fldap_search_internal | |
3898 Added new optional parameter VERBOSE that triggers the | |
3899 display of progress messages | |
3900 Remove unnecessary calls to slow_down_interrupts and | |
3901 speed_up_interrupts | |
3902 LDAP result code analysis rewritten | |
3903 (Fldap_add, Fldap_modify, Fldap_delete): New functions | |
3904 (syms_of_eldap): Define the new symbols and functions | |
3905 | |
3906 | |
3907 2000-02-17 Martin Buchholz <martin@xemacs.org> | |
3908 | |
3909 * realpath.c: Determine PATH_MAX maximally portably. | |
3910 | |
3911 * insdel.c (bytecount_to_charcount): Optimize. | |
3912 The function used to be optimized for entirely ASCII sequences. | |
3913 Now it is optimized for successive characters from the same | |
3914 charset. This also wins big for _mostly_ ASCII sequences. | |
3915 | |
3916 * fileio.c (Ffile_truename): convert return from realpath() using | |
3917 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks. | |
3918 - Rewrite GCPROing slightly. | |
3919 | |
3920 * sysdep.c (sys_open): Do filename conversion, like all other | |
3921 sys_* functions. Fixes bug: | |
3922 (let ((file-name-coding-system 'iso-8859-2)) | |
3923 (write-region x y latin2-name)) | |
3924 ==> writes filename using internal encoding. | |
3925 | |
3926 2000-02-18 Martin Buchholz <martin@xemacs.org> | |
3927 | |
3928 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const. | |
3929 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const. | |
3930 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const. | |
3931 * eval.c (lrecord_subr): Remove this_one_is_unmarkable. | |
3932 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable. | |
3933 * symbols.c (guts_of_unbound_marker): Turn on c_readonly. | |
3934 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete. | |
3935 (CONST_IF_NOT_DEBUG): Delete. | |
3936 * alloc.c (this_one_is_unmarkable): Delete. | |
3937 (mark_object): Don't check for this_one_is_unmarkable. Use the | |
3938 c_readonly flag instead. | |
3939 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly. | |
3940 | |
3941 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
3942 | |
3943 * event-msw.c (mswindows_drain_windows_queue): | |
3944 (emacs_mswindows_handle_magic_event): Remove attempt to optimise | |
3945 away redundant repaint events. | |
3946 | |
3947 2000-02-17 Andy Piper <andy@xemacs.org> | |
3948 | |
3949 * redisplay.h: declare mark_redisplay_structs. | |
3950 | |
3951 * redisplay.c (redisplay_window): | |
3952 (redisplay_frame): don't check subwindows_state_changed. | |
3953 (mark_redisplay): mark gutters here. | |
3954 | |
3955 * glyphs.c: (instantiate_image_instantiator): always layout if we | |
3956 haven't done so already. | |
3957 (allocate_image_instance): don't mark as dirty. | |
3958 (update_subwindow): bind inhibit_quit. | |
3959 | |
3960 * gutter.c (mark_gutters): new function. | |
3961 | |
3962 * glyphs-x.c (x_update_widget): Always resize to get round a | |
3963 widget bug. | |
3964 | |
3965 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was | |
3966 breaking absolutely everything. | |
3967 | |
3968 * gutter.h: declare mark_gutters. | |
3969 | |
3970 2000-02-16 Martin Buchholz <martin@xemacs.org> | |
3971 | |
3972 * XEmacs 21.2.29 is released. | |
3973 | |
3974 2000-02-15 Olivier Galibert <galibert@pobox.com> | |
3975 | |
3976 * fns.c (size_bit_vector): Fix computation of the size. | |
3977 | |
3978 2000-02-15 Martin Buchholz <martin@xemacs.org> | |
3979 | |
3980 * *.[ch]: Change CONST to const globally. | |
3981 find -name '*.[ch]' | \ | |
3982 xargs global-replace \ | |
3983 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g' | |
3984 - Remove vestigial references to CONST_IS_LOSING | |
3985 | |
3986 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
3987 | |
3988 * event-msw.c (mswindows_drain_windows_queue): Remove hack to | |
3989 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic | |
3990 events instead of dispatching them directly. | |
3991 (mswindows_handle_paint): New function to do repainting. | |
3992 (mswindows_wnd_proc): | |
3993 (emacs_mswindows_handle_magic_event): Call above function. | |
3994 | |
3995 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk> | |
3996 | |
3997 * objects-msw.c (mswindows_create_font_variant): Return the new | |
3998 font handle. | |
3999 (initialize_font_instance): Get font metrics from the underlined | |
4000 variant of the font to cope with the case where the underlined | |
4001 font has a bigger descent. | |
4002 | |
4003 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp> | |
4004 | |
4005 * gui.c (gui_item_accelerator): Return the first underlined | |
4006 character in item name. | |
4007 | |
4008 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | |
4009 | |
4010 * lisp.h: Added Qprinter. | |
4011 | |
4012 * general.c (syms_of_general): Initialized it. | |
4013 | |
4014 * redisplay-msw.c (get_frame_dc): Conditionally start a new page. | |
4015 (get_frame_dc): | |
4016 (get_frame_compdc): Made inline. | |
4017 | |
4018 * console.h (struct console_methods): Added eject_page method. | |
4019 | |
4020 * frame.h: Added FRAME_DISPLAY_P and friends. | |
4021 Aligned backslahes in many macros in more readable fashion. | |
4022 Added page_number to struct frame, and an accessor macro | |
4023 for it. | |
4024 | |
4025 * defice.h: Added DEVICE_DISPLAY_P and friends. | |
4026 | |
4027 * device.c (Fdevice_printer_p): Used these. | |
4028 | |
4029 * frame.c (allocate_frame_core): Initialize page number. | |
4030 (Fprint_job_page_number): | |
4031 (Fprint_job_eject_page): Implemented. | |
4032 | |
4033 * frame-msw.c (msprinter_eject_page): Added method. | |
4034 (msprinter_start_page): Added. | |
4035 | |
4036 * window.c (Fwindow_truncated_p): Fixed docstring. | |
4037 (Fwindow_last_line_visible_height): Implemented. | |
4038 | |
4039 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org> | |
4040 | |
4041 * frame.c (change_frame_size_1): Undo 2000-02-03 change. | |
4042 | |
4043 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp> | |
4044 | |
4045 * syntax.c (scan_words): Always advance at least one character. | |
4046 | |
4047 2000-02-13 Andy Piper <andy@xemacs.org> | |
4048 | |
4049 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here | |
4050 to make sure the glyph is in the cachels. | |
4051 | |
4052 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a | |
4053 global image instance flag. | |
4054 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro. | |
4055 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto. | |
4056 | |
4057 * glyphs.c (allocate_image_instance): set dirty bits correctly. | |
4058 (Fset_image_instance_property): mark layout as changed. | |
4059 (invalidate_glyph_geometry_maybe): mark layout as changed. | |
4060 (glyph_width): use new NEEDS_LAYOUT macro. | |
4061 (glyph_ascent): ditto. | |
4062 (glyph_descent): ditto. | |
4063 (glyph_height): ditto. | |
4064 (image_instance_layout): mark layout as clean after laying out. | |
4065 (update_subwindow): don't mark layout as clean here. | |
4066 | |
4067 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they | |
4068 should no longer be needed. | |
4069 | |
4070 * glyphs-x.c (x_update_widget): sanitize asserts. | |
4071 (x_finalize_image_instance): sanitize assignment to widgets. | |
4072 | |
4073 * glyphs-widget.c (widget_instantiate): don't need to clear the | |
4074 layout flag here. | |
4075 | |
4076 2000-02-13 Martin Buchholz <martin@xemacs.org> | |
4077 | |
4078 * sysdep.c (getcwd): Use standard prototype. | |
4079 * sysdep.h (getcwd): Use standard prototype. | |
4080 | |
4081 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp | |
4082 (sequence, start, end). | |
4083 Remove redundant type checking. | |
4084 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in | |
4085 view of `caller-protects') to avoid a crash where the real fix was | |
4086 found elsewhere. | |
4087 | |
4088 2000-02-12 Martin Buchholz <martin@xemacs.org> | |
4089 | |
4090 * glyphs-x.c (x_finalize_image_instance): Compile error fixes. | |
4091 | |
4092 * s/sol2.h: Remove feature macro initialization. | |
4093 | |
4094 * alloc.c (alloc_lcrecord): Add more type checking assertions. | |
4095 (vector_hash): New. Code from internal_hash. | |
4096 * lrecord.h: | |
4097 Fix up allocation subsystem comments. | |
4098 | |
4099 * config.h.in: Add __EXTENSIONS__ for Solaris. | |
4100 | |
4101 * systime.h (EMACS_GETTIMEOFDAY): New. | |
4102 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY. | |
4103 Remove Solaris-specific code. | |
4104 Use void* for the (ignored) second arg for gettimeofday(). | |
4105 | |
4106 * elhash.c (hash_table_hash): Implement it, finally. | |
4107 * elhash.c: Use hashcode_t. | |
4108 | |
4109 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE. | |
4110 * sunplay.c (sighandler): Fix prototype to use SIGTYPE. | |
4111 | |
4112 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete. | |
4113 * fns.c (size_bit_vector): | |
4114 * alloc.c (size_vector): | |
4115 (make_vector_internal): | |
4116 (make_bit_vector_internal): | |
4117 (sweep_bit_vectors_1): | |
4118 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression. | |
4119 | |
4120 2000-02-10 Martin Buchholz <martin@xemacs.org> | |
4121 | |
4122 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't. | |
4123 Include strings.h to avoid warnings for bzero and strcasecmp. | |
4124 | |
4125 2000-02-10 Olivier Galibert <galibert@pobox.com> | |
4126 | |
4127 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here... | |
4128 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here | |
4129 | |
4130 * fns.c (size_bit_vector): New. Declare bit vectors as a | |
4131 sequence. | |
4132 | |
4133 2000-02-10 Olivier Galibert <galibert@pobox.com> | |
4134 | |
4135 * symeval.h (struct symbol_value_magic): Remove "next" kludge and | |
4136 use a value field instead. | |
4137 (symbol_value_forward_forward): Use value field. | |
4138 (DEFVAR_SYMVAL_FWD): Use value field. | |
4139 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque. | |
4140 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT. | |
4141 (DEFVAR_CONST_INT): Ditto. | |
4142 (DEFVAR_BOOL): Ditto. | |
4143 (DEFVAR_CONST_BOOL): Ditto. | |
4144 (DEFVAR_INT_MAGIC): Ditto. | |
4145 (DEFVAR_BOOL_MAGIC): Ditto. | |
4146 | |
4147 * symbols.c (guts_of_unbound_marker): Use value field. | |
4148 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto. | |
4149 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto. | |
4150 | |
4151 * lisp.h: Declare dumpopaque and noninteractive1. | |
4152 | |
4153 * alloc.c (dumpopaque): Added. | |
4154 (pdump_dump_opaquevec): Added. | |
4155 (pdump): Call pdump_dump_opaquevec to dump opaque data. | |
4156 (pdump_load): Reload opaque data. Sync noninteractive1 with | |
4157 noninteractive. | |
4158 | |
4159 2000-02-10 Andy Piper <andy@xemacs.org> | |
4160 | |
4161 * glyphs.c (image_instance_layout): if the size changes, mark it | |
4162 as such. | |
4163 | |
4164 * redisplay-output.c (redisplay_output_layout): Update the | |
4165 subwindow here. | |
4166 (redisplay_output_subwindow): ditto. | |
4167 | |
4168 * glyphs.c (update_subwindow): make sure we reset flags for | |
4169 layouts as well as everything else. | |
4170 | |
4171 * glyphs-widget.c (layout_layout): don't need to set the instances | |
4172 dimensions here. | |
4173 | |
4174 2000-02-09 Martin Buchholz <martin@xemacs.org> | |
4175 | |
4176 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB, | |
4177 not HAVE_DLOPEN, which is a lower-level thing. | |
4178 | |
4179 * .cvsignore: Ignore gmon.out | |
4180 | |
4181 2000-02-09 Hamish Macdonald <hamishm@lucent.com> | |
4182 | |
4183 * .cvsignore: Ignore portable dumper xemacs.dmp file | |
4184 | |
4185 2000-02-09 Andy Piper <andy@xemacs.org> | |
4186 | |
4187 * redisplay-output.c (redisplay_output_layout): be more clever | |
4188 about when we output based on the changed flags. | |
4189 | |
4190 * glyphs.h (struct image_instantiator_methods): add update_method. | |
4191 (struct Lisp_Image_Instance): add changed flags. Declare new | |
4192 macros for manipulating them. | |
4193 | |
4194 * glyphs.c (allocate_image_instance): renamed glyph -> parent. | |
4195 (image_instance_parent_glyph): find an image_instance's parent | |
4196 glyph or image_instance. | |
4197 (image_instance_layout): mark the size as changed. | |
4198 (set_image_instance_dirty_p): new function. mark an image | |
4199 instance, plus all of its parents, as dirty. | |
4200 (Fset_image_instance_property): use it. | |
4201 (Fglyph_animated_timeout_handler): use it. | |
4202 (update_subwindow): call update_widget and device methods for | |
4203 update_subwindow. Mark all changed flags as clean. | |
4204 (Fresize_subwindow): mark size as changed. | |
4205 | |
4206 * glyphs-x.c (x_finalize_image_instance): try and detect gc | |
4207 failures. | |
4208 (x_update_subwindow): only resize subwindows here. | |
4209 (x_update_widget): new function. Update all changed properties of | |
4210 a widget. | |
4211 (x_resize_subwindow): deleted. | |
4212 (x_widget_set_property): deleted. | |
4213 (x_progress_gauge_set_property): deleted. | |
4214 (x_progress_gauge_update): new function. Implement recorded | |
4215 changes. | |
4216 (x_tab_control_update): ditto. | |
4217 (x_tab_control_set_property): deleted. | |
4218 (console_type_create_glyphs_x): declare new functions. | |
4219 (image_instantiator_format_create_glyphs_x): ditto. | |
4220 | |
4221 * glyphs-widget.c (widget_set_property): mark text changed. | |
4222 (update_widget): new function. Update properties of a widget. | |
4223 (widget_instantiate): for layouts make sure we set their | |
4224 children's parent correctly. | |
4225 (tab_control_set_property): new function. Record changes that will | |
4226 take place under redisplay's control. | |
4227 (progress_gauge_set_property): ditto. | |
4228 (image_instantiator_progress_guage): declare new functions. | |
4229 (image_instantiator_tab_control): ditto. | |
4230 | |
4231 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here | |
4232 now. | |
4233 (mswindows_update_widget): new function. Update all properties on | |
4234 a widget that have changed. | |
4235 (mswindows_button_update): new function. Update a button's set | |
4236 state. | |
4237 (mswindows_tab_control_update): new function. Update the items in | |
4238 a tab. | |
4239 (mswindows_tab_control_set_property): deleted. | |
4240 (mswindows_progress_gauge_update): new function. Update the | |
4241 progress gauge's progress. | |
4242 (mswindows_widget_set_property): deleted. This is all done | |
4243 asynchronously now. | |
4244 (mswindows_progress_gauge_set_property): ditto. | |
4245 (console_type_create_glyphs_mswindows): declare new methods. | |
4246 (image_instantiator_format_create_glyphs_mswindows): ditto. | |
4247 | |
4248 * frame-msw.c (msprinter_init_frame_1): Remove unused variables. | |
4249 (msprinter_set_frame_properties): ditto. | |
4250 | |
4251 * console.h (struct console_methods): Add update_widget_method. | |
4252 | |
4253 2000-02-09 Andy Piper <andy@xemacs.org> | |
4254 | |
4255 * gui-msw.c (Fmswindows_shell_execute): Make | |
4256 mswindows-shell-execute industrial strength. | |
4257 | |
4258 2000-02-08 Martin Buchholz <martin@xemacs.org> | |
4259 | |
4260 * lrecord.h: Make macro argument `props' match member function `plist'. | |
4261 * fns.c (Fget): | |
4262 * fns.c (Fput): | |
4263 * fns.c (Fremprop): | |
4264 * fns.c (Fobject_plist): | |
4265 * alloc.c: | |
4266 * symbols.c: | |
4267 Object property list frobbing cleanup. | |
4268 - Allow any lisp object (compared with `eq'), not just symbols, as | |
4269 keys in object plists. | |
4270 - Move symbol plist frobbing into symbols.c, where it belongs. | |
4271 - Move string plist frobbing into alloc.c, where it belongs. | |
4272 - Everything's an lrecord now, so no need to test for symbolp, etc. | |
4273 - Fix up doc strings to refer to PROPERTY, not PROPNAME. | |
4274 | |
4275 * extents.c: Reorder code to remove declarations. | |
4276 | |
4277 * frame.h (store_in_alist): Remove useless declaration. | |
4278 | |
4279 2000-02-07 Martin Buchholz <martin@xemacs.org> | |
4280 | |
4281 * event-Xt.c (x_has_keysym): Use XConvertCase only if available. | |
4282 * config.h.in: Add HAVE_XCONVERTCASE. | |
4283 | |
4284 2000-02-07 Andy Piper <andy@xemacs.org> | |
4285 | |
4286 * glyphs.c (image_instance_layout): undo 2000-01-29 change since | |
4287 it breaks many things. | |
4288 | |
4289 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch> | |
4290 | |
4291 * src/syntax.h (SYNTAX_START_P): Check whether the two chars | |
4292 actually can start a common comment type. | |
4293 * src/syntax.h (SYNTAX_END_P): ditto for end. | |
4294 | |
4295 2000-02-07 Martin Buchholz <martin@xemacs.org> | |
4296 | |
4297 * XEmacs 21.2.28 is released. | |
4298 | |
4299 2000-02-06 Martin Buchholz <martin@xemacs.org> | |
4300 | |
4301 * event-Xt.c (x_keysym_to_character): New. | |
4302 (maybe_define_x_key_as_self_inserting_character): New. | |
4303 (x_has_keysym): New. | |
4304 Auto-define all keys on the keyboard as self-insert-key. | |
4305 | |
4306 2000-02-02 Martin Buchholz <martin@xemacs.org> | |
4307 | |
4308 * menubar.c (vars_of_menubar): A small code simplification. | |
4309 | |
4310 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug | |
4311 | |
4312 * ExternalShell.c: | |
4313 * ExternalClient.c: | |
4314 * EmacsShell-sub.c: | |
4315 * EmacsManager.c: | |
4316 * EmacsFrame.c: | |
4317 Use consistent style for specifying X resources. | |
4318 | |
4319 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC. | |
4320 This makes (dontusethis-set-symbol-value-handler) actually usable. | |
4321 | |
4322 * lrecord.h (lrecord_decription_type): | |
4323 * alloc.c (pdump_register_sub): | |
4324 (pdump_dump_data): | |
4325 (pdump_reloc_one): | |
4326 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects. | |
4327 Comply with XEmacs coding style. | |
4328 All lrecord descriptions updated to use XD_LISP_OBJECT with 2 | |
4329 args, and XD_LISP_OBJECT_ARRAY with 3 args. | |
4330 | |
4331 * keymap.c (Faccessible_keymaps): | |
4332 Make (accessible-keymaps map "\C-h") do the Right Thing. | |
4333 Make (accessible-keymaps map []) do the Right Thing. | |
4334 Make (accessible-keymaps map "") do the Right Thing. | |
4335 (check_keymap_definition_loop): New function. | |
4336 (keymap_store_internal): Keep luser from shooting self in foot, | |
4337 via (define-key ctl-x-4-map "p" global-map). | |
4338 Remove fullness slot from struct Lisp_Keymap, since hash tables | |
4339 are now reliable. | |
4340 (print_keymap): Remove 'Yuck' factor by simply printing "size %d". | |
4341 | |
4342 2000-01-30 Martin Buchholz <martin@xemacs.org> | |
4343 | |
4344 * redisplay.c (init_redisplay): Fix small memory leak. | |
4345 * elhash.h: | |
4346 * elhash.c (pdump_reorganize_hash_table): | |
4347 Rename from reorganize_hash_table. Change prototype. | |
4348 Reuse the original memory for hentries. Save 100k. | |
4349 * alloc.c (PDUMP_READ): new macro. | |
4350 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros. | |
4351 * alloc.c: No need to #ifndef before #undef. | |
4352 | |
4353 * print.c: Allow debug_print() to print readably by modifying | |
4354 debug_print_readably. Use consistent variable names. | |
4355 | |
4356 * .dbxrc: Try to get things to work even if stopped in a function | |
4357 without source available by explicitly specifying source files. | |
4358 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | |
4359 | |
4360 * unexnt.c (_start): Removed bogus code which caused loading heap | |
4361 from differrent executable file. | |
4362 Removed bogus assignment to _fmode, which caused inconsistencies. | |
4363 | |
4364 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | |
4365 | |
4366 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage. | |
4367 Have spawnve encapsulation regard DONT_ENCAPSULATE. | |
4368 Do not preliminary `#define signal sigset'. | |
4369 | |
4370 * systime.h: Do not prototype environ on windows nt and cygwin, | |
4371 this conflicts with system header. | |
4372 | |
4373 * syssignal.h: Use correct define for WINDOWSNT | |
4374 | |
4375 * sysdep.h: Do not prototype environ on windows nt, this conflicts | |
4376 with system header. | |
4377 | |
4378 * sysdep.c (near start of file): Fixed commentary and rearranged | |
4379 ifdefs in readable order. | |
4380 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing. | |
4381 (start_of_text): | |
4382 (end_of_text): | |
4383 (end_of_data): Do not compile in if using PDUMP. | |
4384 | |
4385 * symsinit.h: Protptyped vars_of_nt(). | |
4386 | |
4387 * ntproc.c (windows9x_p): Added, instead of os_subtype. | |
4388 (find_child_console): Use it. | |
4389 (sys_kill): Use it. | |
4390 | |
4391 * ntheap.h: Do not extern os_subtype. | |
4392 | |
4393 * ntheap.c (cache_system_info): Do not cache unneeded: | |
4394 nt_major_version, nt_minor_version and os_subtype. | |
4395 (recreate_heap): Do not compile in when PDUMPing. | |
4396 | |
4397 * nt.c (geteuid and friends): Use the new varibale | |
4398 nt_fake_unix_uid, instead of hashing fake uid out of NT RID. | |
4399 (init_user_info): Removed the above mentioned hackery. | |
4400 (fstat, stat): Do not compile in if using MSVC 5.0 and above - | |
4401 stat has been fixed in the C runtime. | |
4402 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there. | |
4403 | |
4404 * file-coding.c (struct file_coding_dump): Do not define | |
4405 ucs_to_mule_table in the struct if not MULE. | |
4406 (struct struct lrecord_description fcd_description_1): Do not dump | |
4407 the above. | |
4408 | |
4409 * emacs.c (main_1): Call vars_of_nt(). | |
4410 (right before Fdump_emacs_data): Don't need lastfile if using both | |
4411 portabe dumper and system malloc. | |
4412 | |
4413 * alloc.c (Fmemory_limit): Conditionalized out. | |
4414 (pdump): Use OPEN_BINARY for the portable dump file. | |
4415 (pdump_load): Ditto. | |
4416 | |
4417 2000-02-02 Mike Alexander <mta@arbortext.com> | |
4418 | |
4419 * nt.c (convert_time): Set tm_isdst before calling mktime and | |
4420 avoid calling it at all if the compiler supports 64 bit integers. | |
4421 Also initialize utc_base_ft before using it. | |
4422 | |
4423 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp> | |
4424 | |
4425 * frame.c (change_frame_size_1): Take f->internal_border_width | |
4426 into consideration when calculating the width of the frame. | |
4427 | |
4428 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | |
4429 | |
4430 * window.c (frame_min_height): | |
4431 (frame_size_valid_p): | |
4432 (frame_pixsize_valid_p): Added. | |
4433 (check_frame_size): Generalized. | |
4434 | |
4435 * window.h: Prototyped the above. | |
4436 | |
4437 * lisp.h: | |
4438 * general.c: Added Qbottom_margin, Qduplex, Qlandscape, | |
4439 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin. | |
4440 Deleted Vwin32_* and Vbinary_process_* unused variables. | |
4441 | |
4442 * device-msw.c (msprinter_init_device): Do not get printer font | |
4443 list; Added DEVMODE functions. | |
4444 | |
4445 * frame-msw.c: Added lots of printer code. | |
4446 | |
4447 * faces.c: Moved 'left-margin and 'right-margin defsymbols to | |
4448 general.c. | |
4449 | |
4450 * console-msw.h: Added more msprinter device private slots. | |
4451 | |
4452 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | |
4453 | |
4454 * event-msw.c (key_needs_default_processing_p): Added. | |
4455 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it. | |
4456 | |
4457 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | |
4458 | |
4459 * glyphs.c (image_instance_layout): Mark image instance as clean | |
4460 after layout. | |
4461 (glyph_dirty_p): Removed redundant function. | |
4462 (invalidate_glyph_geometry_maybe): Added. | |
4463 (update_glyph_cachel_data): Call it. | |
4464 | |
4465 * glyphs.h: Prototyped it. | |
4466 | |
4467 * redisplay.c (add_glyph_rune): Call it. | |
4468 (redisplay_window): Reset glyphs cachels when frame faces has | |
4469 changed, thus forcing recomputation of built-in border glyphs. | |
4470 | |
4471 2000-01-30 Martin Buchholz <martin@xemacs.org> | |
4472 | |
4473 * Makefile.in.in: Make portable dumper and purify play well together. | |
4474 Add imperfect, but better than nothing, support for pdump. | |
4475 Remove xemacs.dmp when temacs is re-generated. | |
4476 Don't ignore errors when dumping xemacs. | |
4477 | |
4478 * symbols.c (maybe_call_magic_handler): Remove one magic number. | |
4479 | |
4480 2000-01-28 Andy Piper <andy@xemacs.org> | |
4481 | |
4482 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature. | |
4483 (setup_normal_frame): ditto. | |
4484 (setup_frame_without_minibuffer): ditto. | |
4485 (setup_minibuffer_frame): ditto. | |
4486 (delete_frame_internal): ditto. | |
4487 (Fmake_frame_invisible): ditto. | |
4488 (Ficonify_frame): ditto. | |
4489 | |
4490 * window.h: change Fset_window_buffer signature. | |
4491 | |
4492 * window.c (Fsplit_window): Use new Fset_window_buffer signature. | |
4493 (Fset_window_buffer): allow recording of buffer if the window is | |
4494 the selected window. | |
4495 (window_loop): Use new Fset_window signature. | |
4496 | |
4497 2000-01-23 Daniel Pittman <daniel@danann.net> | |
4498 | |
4499 * config.h.in: Added template for `HAVE_ATHENA_3D' | |
4500 | |
4501 2000-01-29 Andy Piper <andy@xemacs.org> | |
4502 | |
4503 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes. | |
4504 | |
4505 * gutter.c (output_gutter): Don't output if the window isn't live. | |
4506 | |
4507 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | |
4508 | |
4509 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch | |
4510 of 01/12/00: Moved SetFocus back here where it belongs. | |
4511 | |
4512 2000-01-23 Andy Piper <andy@xemacs.org> | |
4513 | |
4514 * s/cygwin32.h: declare printer things. | |
4515 | |
4516 2000-01-26 Andy Piper <andy@xemacs.org> | |
4517 | |
4518 * select.c (Fown_selection_internal): GCPRO bug fix from Mike | |
4519 Alexander. | |
4520 | |
4521 2000-01-24 Andy Piper <andy@xemacs.org> | |
4522 | |
4523 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename. | |
4524 (mswindows_button_instantiate): Make sure glyph is a pixmap. | |
4525 | |
4526 * glyphs-widget.c (widget_instantiate): Avoid shadows. | |
4527 | |
4528 * frame-msw.c (msprinter_init_frame_3): Nuke warning. | |
4529 | |
4530 * glyphs-msw.c: (mswindows_string_to_color): remove declaration. | |
4531 | |
4532 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows. | |
4533 (mswindows_output_display_block): Avoid local shadows. | |
4534 | |
4535 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows. | |
4536 (mswindows_enqueue_mouse_button_event): ditto. | |
4537 (mswindows_handle_gui_wm_command): remove declaration. | |
4538 | |
4539 * console-msw.c (mswindows_canonicalize_console_connection): Avoid | |
4540 warnings. | |
4541 | |
4542 * console-msw.h: Avoid shadows. | |
4543 (mswindows_get_toolbar_button_text): | |
4544 (emacs_mswindows_create_stream_pair): | |
4545 (emacs_mswindows_delete_stream_pair): | |
4546 (mswindows_handle_toolbar_wm_command): declare. | |
4547 | |
4548 * device-msw.c (build_syscolor_string): Avoid shadows. | |
4549 | |
4550 2000-01-23 Andy Piper <andy@xemacs.org> | |
4551 | |
4552 * glyphs-widget.c (widget_instantiate): reverse the items for | |
4553 layouts so that children are in the expected order. | |
4554 | |
4555 2000-01-28 Martin Buchholz <martin@xemacs.org> | |
4556 | |
4557 * ralloc.c: safe_bcopy ==> memmove | |
4558 * gmalloc.c: Remove MEMMOVE_MISSING conditional code. | |
4559 * s/msdos.h: Remove BCOPY macros. | |
4560 * insdel.c (gap_right): Remove BCOPY conditional code. | |
4561 * insdel.c (gap_left): Remove BCOPY conditional code. | |
4562 XEmacs demands a working ANSI C compiler - hence memmove. | |
4563 | |
4564 * regex.c (regex_compile): Remove accidental use of trigraphs. | |
4565 | |
4566 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | |
4567 | |
4568 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize | |
4569 event timestamp. | |
4570 | |
4571 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | |
4572 | |
4573 * event-msw.c (mswindows_drain_windows_queue): Added the | |
4574 parameter. | |
4575 (mswindows_need_event): Commented the call to | |
4576 mswindows_drain_windows_queue(). | |
4577 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages | |
4578 only. | |
4579 | |
4580 * console-msw.h: Moved a few function prototypes here from | |
4581 event-msw.c. | |
4582 | |
4583 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID | |
4584 parameter from unsigned short to unsigned long. | |
4585 (Fmswindows_shell_execute): Added return value. | |
4586 | |
4587 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp> | |
4588 | |
4589 * sysdep.c (init_system_name): | |
4590 process-unix.c (unix_canonicalized_host_name): | |
4591 Don't call freeaddrinfo() if getaddrinfo() fails. | |
4592 | |
4593 * process-unix.c (unix_open_unix_network_stream): | |
4594 Moved the code to get a port # into address loop. | |
4595 | |
4596 2000-01-27 Martin Buchholz <martin@xemacs.org> | |
4597 | |
4598 * buffer.c (reinit_vars_of_buffer): | |
4599 The right place to initialize conversion_in_dynarr and | |
4600 conversion_out_dynarr. | |
4601 | |
4602 * alloc.c (pdump): Use the real open() till sys_open() is functional. | |
4603 | |
4604 * process-unix.c (unix_canonicalize_host_name): Muleize. | |
4605 (unix_open_network_stream): Muleize. | |
4606 | |
4607 * buffer.h: Fix up prototypes for ralloc.c functions. | |
4608 | |
4609 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp> | |
4610 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO | |
4611 * sysdep.c: In init_system_name(), add code to use getaddrinfo() | |
4612 instead of gethostbyname() | |
4613 * process-unix.c: In unix_canonicalize_host_name() and | |
4614 unix_open_network_stream(), add code to use getaddrinfo() | |
4615 instead of gethostbyname(). | |
4616 | |
4617 2000-01-27 Daniel Pittman <daniel@danann.net> | |
4618 | |
4619 * device-x.c (x_init_device): Warn at run-time if using Athena 3d | |
4620 libs when built with flat Athena. | |
4621 | |
4622 2000-01-27 Martin Buchholz <martin@xemacs.org> | |
4623 | |
4624 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t. | |
4625 Use coding standards for function prototypes. | |
4626 | |
4627 2000-01-25 Martin Buchholz <martin@xemacs.org> | |
4628 | |
4629 * dialog-msw.c (push_lisp_string_as_unicode): | |
4630 * doc.c (unparesseuxify_doc_string): | |
4631 * dired.c (Fuser_name_completion_1): | |
4632 * dired.c (Fuser_name_all_completions): | |
4633 * dired.c (free_user_cache): | |
4634 * dired.c (user_name_completion): | |
4635 * console-x.c (get_display_arg_connection): | |
4636 * minibuf.c (clear_echo_area_internal): | |
4637 * minibuf.c (echo_area_append): | |
4638 * eldap.c (Fldap_open): | |
4639 * eldap.c (Fldap_search_internal): | |
4640 * frame-x.c (x_set_frame_text_value): | |
4641 * frame-x.c (x_set_frame_properties): | |
4642 * frame-x.c (x_create_widgets): | |
4643 * redisplay-tty.c (term_get_fkeys_1): | |
4644 * objects-x.c (x_parse_nearest_color): | |
4645 * objects-x.c (x_valid_color_name_p): | |
4646 * objects-x.c (x_initialize_font_instance): | |
4647 * objects-x.c (x_list_fonts): | |
4648 * objects-x.c (x_find_charset_font): | |
4649 * tooltalk.c (Fadd_tooltalk_message_arg): | |
4650 * tooltalk.c (Fadd_tooltalk_pattern_attribute): | |
4651 * tooltalk.c (Fadd_tooltalk_pattern_arg): | |
4652 * process-unix.c (unix_create_process): | |
4653 * ntproc.c (sys_spawnve): | |
4654 * sound.c (Fplay_sound_file): | |
4655 * sound.c (Fplay_sound): | |
4656 * buffer.c (init_initial_directory): | |
4657 * buffer.c (init_buffer): | |
4658 * editfns.c (init_editfns): | |
4659 * editfns.c (Ftemp_directory): | |
4660 * editfns.c (Fuser_full_name): | |
4661 * editfns.c (uncache_home_directory): | |
4662 * editfns.c (get_home_directory): | |
4663 * editfns.c (Fuser_home_directory): | |
4664 * editfns.c (Fformat_time_string): | |
4665 * editfns.c (Fcurrent_time_string): | |
4666 * gui-x.c (button_item_to_widget_value): | |
4667 * database.c (Fopen_database): | |
4668 * event-Xt.c (x_to_emacs_keysym): | |
4669 * event-Xt.c (x_event_to_emacs_event): | |
4670 * event-Xt.c (describe_event_window): | |
4671 * event-msw.c (mswindows_wnd_proc): | |
4672 * glyphs-eimage.c (jpeg_instantiate): | |
4673 * glyphs-eimage.c (gif_instantiate): | |
4674 * glyphs-eimage.c (png_instantiate): | |
4675 * glyphs-eimage.c (tiff_instantiate): | |
4676 * glyphs-x.c (xbm_instantiate_1): | |
4677 * glyphs-x.c (x_xbm_instantiate): | |
4678 * glyphs-x.c (x_xface_instantiate): | |
4679 * glyphs-x.c (autodetect_instantiate): | |
4680 * glyphs-x.c (cursor_font_instantiate): | |
4681 * glyphs-x.c (x_widget_instantiate): | |
4682 * glyphs-x.c (x_widget_set_property): | |
4683 * glyphs-x.c (x_widget_property): | |
4684 * glyphs-x.c (BUILD_GLYPH_INST): | |
4685 * print.c (write_string_to_stdio_stream): | |
4686 * print.c (output_string): | |
4687 * print.c (Falternate_debugging_output): | |
4688 * print.c (Fexternal_debugging_output): | |
4689 * glyphs-msw.c (extract_xpm_color_names): | |
4690 * glyphs-msw.c (mswindows_xpm_instantiate): | |
4691 * glyphs-msw.c (bmp_instantiate): | |
4692 * glyphs-msw.c (resource_name_to_resource): | |
4693 * glyphs-msw.c (mswindows_resource_instantiate): | |
4694 * glyphs-msw.c (xbm_instantiate_1): | |
4695 * glyphs-msw.c (mswindows_xbm_instantiate): | |
4696 * glyphs-msw.c (mswindows_xface_instantiate): | |
4697 * glyphs-msw.c (mswindows_widget_instantiate): | |
4698 * glyphs-msw.c (add_tree_item): | |
4699 * glyphs-msw.c (add_tab_item): | |
4700 * glyphs-msw.c (mswindows_combo_box_instantiate): | |
4701 * glyphs-msw.c (mswindows_widget_property): | |
4702 * glyphs-msw.c (mswindows_combo_box_property): | |
4703 * glyphs-msw.c (mswindows_widget_set_property): | |
4704 * console.c (stuff_buffered_input): | |
4705 * objects-msw.c (mswindows_initialize_color_instance): | |
4706 * objects-msw.c (mswindows_valid_color_name_p): | |
4707 * objects-msw.c (mswindows_list_fonts): | |
4708 * objects-msw.c (mswindows_font_instance_truename): | |
4709 * bytecode.c (optimize_compiled_function): | |
4710 * select-x.c (symbol_to_x_atom): | |
4711 * select-x.c (x_atom_to_symbol): | |
4712 * select-x.c (hack_motif_clipboard_selection): | |
4713 * select-x.c (selection_data_to_lisp_data): | |
4714 * select-x.c (lisp_data_to_selection_data): | |
4715 * select-x.c (Fx_get_cutbuffer_internal): | |
4716 * select-x.c (Fx_store_cutbuffer_internal): | |
4717 * buffer.h (TO_EXTERNAL_FORMAT): New function. | |
4718 * buffer.h (TO_INTERNAL_FORMAT): New function. | |
4719 * emacs.c (make_arg_list_1): | |
4720 * emacs.c (make_argc_argv): | |
4721 * emacs.c (main_1): | |
4722 * emacs.c (Fdump_emacs): | |
4723 * emacs.c (split_string_by_emchar_1): | |
4724 * file-coding.h: | |
4725 * lisp.h: | |
4726 * lstream.h: | |
4727 * symsinit.h: | |
4728 * device-x.c (x_init_device): | |
4729 * device-x.c (Fx_valid_keysym_name_p): | |
4730 * device-x.c (Fx_get_font_path): | |
4731 * device-x.c (Fx_set_font_path): | |
4732 * glyphs.c (bitmap_to_lisp_data): | |
4733 * glyphs.c (pixmap_to_lisp_data): | |
4734 * alloc.c (make_ext_string): Use coding system arguments. Update | |
4735 all callers. | |
4736 * alloc.c (build_string): | |
4737 * callproc.c (child_setup): | |
4738 * callproc.c (init_callproc): | |
4739 * fileio.c (lisp_strerror): | |
4740 * fileio.c (directory_file_name): | |
4741 * fileio.c (Fexpand_file_name): | |
4742 * fileio.c (Ffile_truename): | |
4743 * fileio.c (Fsysnetunam): | |
4744 * fileio.c (Fdo_auto_save): | |
4745 * sysdep.c (sys_readdir): | |
4746 * tests.c: New file. Allow adding C tests. | |
4747 Replace GET_* macros with a more comprehensible and flexible | |
4748 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT(). | |
4749 Modify all calls. | |
4750 Any coding system can be used to do format conversion. | |
4751 Eliminate enum external_data_format. | |
4752 Eliminate convert_to_external_format. | |
4753 Eliminate convert_to_internal_format. | |
4754 Make sure file-name, keyboard, terminal, and ctext are always | |
4755 defined as coding systems or aliases. Make | |
4756 file-name-coding-system, terminal-coding-system, and | |
4757 keyboard-coding-system magical variables that are equivalent to | |
4758 defining the corresponding coding system aliases. | |
4759 | |
4760 * file-coding.c (Fcoding_system_canonical_name_p): New function. | |
4761 * file-coding.c (Fcoding_system_alias_p): New function. | |
4762 * file-coding.c (Fcoding_system_aliasee): New function. | |
4763 * file-coding.c (append_suffix_to_symbol): New function. | |
4764 * file-coding.c (dangling_coding_system_alias_p): New function. | |
4765 * file-coding.c (Ffind_coding_system): | |
4766 * file-coding.c (Fcopy_coding_system): | |
4767 * file-coding.c (encode_coding_no_conversion): | |
4768 * file-coding.c (syms_of_file_coding): | |
4769 * file-coding.c (vars_of_file_coding): | |
4770 Rewrite coding system alias code. | |
4771 Allow nested aliases, like symbolic links. | |
4772 Allow redefinition of coding system aliases. | |
4773 Prevent existence of dangling coding system aliases. | |
4774 | |
4775 * dired.c (Fuser_name_completion_1): | |
4776 * dired.c (Fuser_name_all_completions): | |
4777 A crash would happen if user did QUIT in the middle of building | |
4778 user_name_cache. Remove redundant code in mainline and unwind_protect. | |
4779 | |
4780 * lisp.h: | |
4781 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8. | |
4782 | |
4783 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not | |
4784 an unsigned char *. Update all callers. | |
4785 | |
4786 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | |
4787 | |
4788 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output. | |
4789 | |
4790 2000-01-25 Martin Buchholz <martin@xemacs.org> | |
4791 | |
4792 * elhash.c (hentry_description): Use more portable definition. | |
4793 (resize_hash_table): Initialize new hentries using | |
4794 xnew_array_and_zero, thereby simplifying the code. | |
4795 | |
4796 * mule-charset.c (make_charset): Make sure entire object is | |
4797 intialized, to avoid Purify warnings. | |
4798 | |
4799 * alloc.c (resize_string): Fix unlikely crash with big strings. | |
4800 | |
4801 2000-01-24 Martin Buchholz <martin@xemacs.org> | |
4802 | |
4803 * realpath.c (xrealpath): | |
4804 Don't call getwd(). | |
4805 | |
4806 2000-01-25 Martin Buchholz <martin@xemacs.org> | |
4807 | |
4808 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors. | |
4809 | |
4810 1999-12-28 Max Matveev <max@melbourne.sgi.com> | |
4811 | |
4812 * unexelfsgi.c (unexec): Change the way we decide which segment | |
4813 should be extended. | |
4814 | |
4815 Assumption that .bss section should be outside the PT_LOADable | |
4816 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if | |
4817 it's present) is inside the 'data' segment. This would fail the | |
4818 test which was used to find a segment to grow and cover new | |
4819 heap. Instead of this assumption, I created another one - on IRIX | |
4820 the segment to grow should start below .bss and it's address | |
4821 should extent above the end of .bss. Once this segment is | |
4822 identified, it's grown to accommodate the new heap and new | |
4823 zero-length .bss section is added at the end of .data2. | |
4824 | |
4825 2000-01-25 Martin Buchholz <martin@xemacs.org> | |
4826 | |
4827 * eval.c (Feval): Wrong number of arguments should use original | |
4828 function, not the indirect_function version of it. | |
4829 | |
4830 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org> | |
4831 | |
4832 * glyphs-x.c (x_button_instantiate): Don't add image if | |
4833 it is not a pixmap. | |
4834 (x_locate_pixmap_file): Call Fexpand_file_name when file name | |
4835 is relative. | |
4836 | |
4837 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org> | |
4838 | |
4839 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro | |
4840 declaration. | |
4841 (DEFVAR_INT_MAGIC): Ditto. | |
4842 (DEFVAR_BOOL_MAGIC): Ditto. | |
4843 * glyphs.h: Reindent backslash. | |
4844 | |
4845 2000-01-24 Martin Buchholz <martin@xemacs.org> | |
4846 | |
4847 * glyphs-widget.c (layout_query_geometry): | |
4848 (layout_layout): Use correct types for gheight, gwidth. | |
4849 | |
4850 2000-01-24 Martin Buchholz <martin@xemacs.org> | |
4851 | |
4852 * EmacsManager.c (QueryGeometry): Purified. | |
4853 | |
4854 2000-01-23 Martin Buchholz <martin@xemacs.org> | |
4855 | |
4856 * alloc.c (make_float): Make sure entire object is intialized, to | |
4857 avoid Purify warnings. | |
4858 (pdump_register_sub): Remove useless assignment. | |
4859 (pdump): Use xmalloc, not malloc. | |
4860 (pdump_load): Use xmalloc, not malloc. | |
4861 | |
4862 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | |
4863 | |
4864 * callproc.c: | |
4865 * dired-msw.c: | |
4866 * fileio.c: | 4715 * fileio.c: |
4867 * process-nt.c: | 4716 * lread.c: |
4868 * redisplay-msw.c: | 4717 * xselect.c: |
4869 * sysdep.c: Removed redundant #include <windows.h> | 4718 Change empty docstrings into no doc strings at all. |
4870 | 4719 Fix bogus FSF-format docstrings. |
4871 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | 4720 |
4872 | 4721 * extents.c: |
4873 * frame.c (delete_frame_internal): Do not delete device when its | 4722 Standardize docstrings. |
4874 implementation so declares. | 4723 |
4875 (delete_frame_internal): Set device selected frame to nil when | 4724 * floatfns.c: |
4876 last frame goes away. | 4725 Explain problems with matherr. |
4877 | 4726 |
4878 * device-msw.c (msprinter_device_system_metrics): Implemented. | 4727 * glyphs.c: make DEFUNs etags-readable, i.e. single-line |
4879 (mswindows_device_system_metrics): Added 'device-dpi property. | 4728 |
4880 | 4729 * syssignal.h: |
4881 * device.c: (Fdevice_printer_p): Added. | 4730 if BROKEN_SIGIO, then SIGIO wants to be undefined. |
4882 Added 'offset-workspace device metric. | 4731 if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\ |
4883 | 4732 Fix the weird resultant interaction (causes windows problems) |
4884 * console.h (device_metrics): Declared DM_offset_workspace. | 4733 |
4885 | 4734 * gdbinit: |
4886 2000-01-23 Martin Buchholz <martin@xemacs.org> | 4735 * dbxrc: |
4887 | 4736 Take new EMACSBOOTSTRAPLOADPATH into account. |
4888 * fileio.c (Ffile_truename): Remove pointless and confusing | 4737 Update documentation strings |
4889 initialization of elen. | 4738 |
4890 | 4739 * Makefile.in.in: |
4891 * glyphs-widget.c: Compiler warning fixes. | 4740 - Adjust for luser's CDPATH being set to something weird. |
4892 | 4741 - Take into account bash 2.02's tendency to print the cwd when |
4893 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk> | 4742 using CDPATH. Always use `cd ./foo' instead of `cd foo'. |
4894 | 4743 - fix the run-temacs target to use $(DUMPENV) |
4895 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process | 4744 - fix the run-puremacs target to use $(DUMPENV) |
4896 instead of a Lisp_Object as argument to make it consistent with | 4745 - fix the `depend' target to properly $(RM) the right files |
4897 the other LIVE_P macros. | 4746 - Generate a better TAGS file for XEmacs' lisp code using |
4898 (CHECK_LIVE_PROCESS): New macro. | 4747 hand-crafted regexps. |
4899 | 4748 - Use standard coding conventions for modules/Makefile.in |
4900 * process.c: Declare Qprocess_live_p. | 4749 |
4901 (Fprocess_live_p): New function. | 4750 1998-05-12 Didier Verna <verna@inf.enst.fr> |
4902 (create_process): Use PROCESS_LIVE_P. | 4751 |
4903 (read_process_output): Ditto. | 4752 * redisplay.c: removed the scrolling modeline code that didn't |
4904 (set_process_filter): Ditto. | 4753 make it for 21.0. To be continued ... |
4905 (Fdelete_process): Ditto. | 4754 |
4906 (kill_buffer_processes): Ditto | 4755 1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> |
4907 (process_send_signal): Use CHECK_LIVE_PROCESS. | 4756 |
4908 (Fprocess_input_coding_system): Check whether process is still | 4757 * emacs.c (Fdecode_path_internal): Removed bogus handling of nil |
4909 alive (fix PR#1061). | 4758 and empty string inputs. |
4910 (Fprocess_output_coding_system): Ditto. | 4759 |
4911 (Fprocess_coding_system): Ditto. | 4760 1998-05-12 Hrvoje Niksic <hniksic@srce.hr> |
4912 (Fset_process_input_coding_system): Ditto. | 4761 |
4913 (Fset_process_output_coding_system): Ditto. | 4762 * redisplay-x.c (x_output_vertical_divider): Fixed typo. |
4914 | 4763 |
4915 2000-01-23 Andy Piper <andy@xemacs.org> | 4764 1998-05-10 Oliver Graf <ograf@fga.de> |
4916 | 4765 |
4917 * glyphs.h (struct Lisp_Image_Instance): change format by unifying | 4766 * event-stream.c (enqueue_misc_user_event_pos): created |
4918 layout and widget. | 4767 * lisp.h (enqueue_misc_user_event_pos): prototype added |
4919 | 4768 * frame-x.c (x_cde_transfer_callback): debug code plus API changes |
4920 * glyphs.c (mark_image_instance): take into account changed | 4769 * emacs.c: call vars_of_dragdrop |
4921 image_instance format. | 4770 * dragdrop.c (vars_of_dragdrop): provide dragdrop |
4922 (image_instance_equal): ditto. | 4771 |
4923 (image_instance_hash): ditto. | 4772 1998-05-11 Oliver Graf <ograf@fga.de> |
4924 | 4773 |
4925 * glyphs-widget.c (widget_instantiate): Incorporate layout | 4774 * frame-x.c (x_cde_transfer_callback): return at correct pos |
4926 instantiation here. Delay layout of the layout until later. | 4775 * event-Xt.c (x_event_to_emacs_event): changed format of drop |
4927 (layout_instantiate): deleted. | 4776 object for MIME (see comment in dragdrop.c) |
4928 (layout_query_geometry): new function. get the geometry of a | 4777 * dragdrop.c: API change documented in comment |
4929 layout. | 4778 removed provide of dragdrop [is provided by dragdrop.el] |
4930 (layout_layout): layout a layout dynamically. | 4779 |
4931 (image_instantiator_widget): New function - splitting up | 4780 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru> |
4932 image_instantiator_format_create_glyphs_widget for netwinder | 4781 |
4933 compilation. | 4782 * window.c (window_needs_vertical_divider): Enable vertical |
4934 (image_instantiator_buttons): | 4783 dividers for every non-rightmost window. |
4935 (image_instantiator_edit_fields): | 4784 (window_left_gutter_width): Left gutter consists of mythical |
4936 (image_instantiator_combo_box): | 4785 toolbar and a virtual scrollbar. |
4937 (image_instantiator_scrollbar): | 4786 (window_right_gutter_width): The right one may have a divider |
4938 (image_instantiator_progress_guage): | 4787 also. |
4939 (image_instantiator_tree_view): | 4788 |
4940 (image_instantiator_tab_control): | 4789 * scrollbar.c (update_scrollbar_instance): Position vertical |
4941 (image_instantiator_labels): | 4790 scrollbar left to divider if the latter present. |
4942 (image_instantiator_layout): ditto. | 4791 |
4943 (image_instantiator_format_create_glyphs_widget): Call preceeding | 4792 * redisplay.h: Declared OVER_DIVIER constant. |
4944 functions. | 4793 |
4945 | 4794 * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER |
4946 2000-01-22 Martin Buchholz <martin@xemacs.org> | 4795 case. |
4947 | 4796 |
4948 * process.c (Fset_process_coding_system): | 4797 * redisplay-x.c (x_output_vertical_divider): Output divider along |
4949 * device-x.c (Fx_keysym_hash_table): | 4798 the right side of the window, down to window bottom. Swapped |
4950 Docstring fixes. | 4799 foreground and background colors so it is visible by default. |
4951 | 4800 |
4952 * lstream.c (Lstream_write): Return documented value, not 0. | 4801 * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally |
4953 | 4802 stick the divider to the right window side. |
4954 * fileio.c (directory_file_name): | 4803 |
4955 (Fsubstitute_in_file_name): | 4804 * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed |
4956 (Fsubstitute_insert_file_contents_internal): | 4805 deadbox painting. |
4957 (Fwrite_region_internal): | 4806 (mswindows_divider_width): Ask system for user preferred value. |
4958 * emacs.c: | 4807 (mswindows_output_vertical_divider): Always output the divider on |
4959 * sysdep.c: | 4808 the right side of a window, down to bottom. |
4960 * getloadavg.c: | 4809 |
4961 * systty.h: | 4810 * keymap.c (get_relevant_keymaps): Route mouse button events which |
4962 Remove vestigial APOLLO-conditional code. | 4811 happened over a window divider through window-divider-map. |
4963 | 4812 (Fkey_binding): Documented that in the docstring. |
4964 2000-01-21 Martin Buchholz <martin@xemacs.org> | 4813 Defined the variable Vwindow_divider_map. |
4965 | 4814 |
4966 * getpagesize.h: Add guard macros. | 4815 * events.c (Fevent_over_divider_p): Added this function. |
4967 * libsst.h: Add guard macros. | 4816 |
4968 * libst.h: Add guard macros. | 4817 * events.h: EXFUNed it. |
4969 * line-number.h: Add guard macros. | 4818 |
4970 * ndir.h: Add guard macros. | 4819 1998-05-12 Kirill M. Katsnelson <kkm@kis.ru> |
4971 * sysfloat.h: Add guard macros. | 4820 |
4972 * sysfile.h: Add guard macros. | 4821 * toolbar.c (update_frame_toolbars): Re-layout frame windows if |
4973 * sysproc.h: Add guard macros. | 4822 toolbar geometry is suspected to change. |
4974 * syswait.h: Add guard macros. | 4823 |
4975 * xintrinsic.h: Add guard macros. | 4824 1998-05-11 Jonathan Harris <jhar@tardis.ed.ac.uk> |
4976 * xintrinsicp.h: Add guard macros. | 4825 |
4977 * xmmanager.h: Add guard macros. | 4826 * src/device-msw.c |
4978 * xmmanagerp.h: Add guard macros. | 4827 * src/event-msw.c |
4979 * xmprimitive.h: Add guard macros. | 4828 Condition dnd and dde code on HAVE_DRAGNDROP. |
4980 * xmu.h: Add guard macros. | 4829 |
4981 * gpmevent.h: Add copyright statement. Add guard macros. | 4830 1998-05-11 Hrvoje Niksic <hniksic@srce.hr> |
4982 * miscplay.h: Add guard macros. | 4831 |
4983 * *.h: Use consistent C-standards-approved guard macro names. | 4832 * events.c (format_event_object): Print space as SPC etc. |
4984 | 4833 |
4985 * opaque.c (make_opaque): Switch parameter order. | 4834 1998-05-11 Hrvoje Niksic <hniksic@srce.hr> |
4986 * opaque.h (make_opaque): Switch parameter order. | 4835 |
4987 Update all callers. | 4836 * print.c (print_internal): In the default case, abort() if |
4988 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR. | 4837 ERROR_CHECK_TYPECHECK. |
4989 | 4838 |
4990 * config.h.in (type_checking_assert): Added. | 4839 * fileio.c (Fmake_temp_name): Doc fix. |
4991 (bufpos_checking_assert): Added. | 4840 |
4992 | 4841 1998-05-10 Hrvoje Niksic <hniksic@srce.hr> |
4993 2000-01-21 Martin Buchholz <martin@xemacs.org> | 4842 |
4994 | 4843 * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS. |
4995 * alloc.c: Harmless pdump changes. | 4844 |
4996 - Use countof(). | 4845 * undo.c (Fprimitive_undo): Fixed typo. |
4997 - spell alignment correctly. | 4846 |
4998 * sysdep.c: Use countof() | 4847 1998-05-11 Hrvoje Niksic <hniksic@srce.hr> |
4999 | 4848 |
5000 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | 4849 * fns.c (concat): Signal error on integer argument. |
5001 | 4850 |
5002 * console.c (create_console): Use CONMETH_OR_GIVEN when calling | 4851 1998-05-10 Kirill M. Katsnelson <kkm@kis.ru> |
5003 initially_selected_for_input() console method, default to 0. | 4852 |
5004 (semi_canonicalize_console_connection): Try to delegate to | 4853 * console.h (device_metrics): Prefixed each constatnt with DM_ |
5005 canonicalize_console_connection if no such console method. | 4854 |
5006 (canonicalize_console_connection): Vice versa. | 4855 * device.c: (Fdevice_system_metric): Renamed so from plural form |
5007 (print_console): Do not print nil connection. | 4856 (metrics); Changed parameters order and added DEFAULT parameter; |
5008 | 4857 Unabbreviated some metric constants; Fixed and untabified doc string. |
5009 * console.h (XDEVIMPF_IS_A_PRINTER): Added. | 4858 (Fdevice_system_metrics): Added. Returns a plist of all provided |
5010 (XDEVIMPF_NO_AUTO_REDISPLAY): Added. | 4859 metrics. |
5011 (XDEVIMPF_FRAMELESS_OK): Added. | 4860 |
5012 (CONSOLE_INHERITS_METHOD): Added. | 4861 * device-msw.c (mswindows_device_system_metrics): Renamed |
5013 | 4862 device_metrics enum constants. |
5014 * console-msw.c (mswindows_canonicalize_console_connection): | 4863 Return Qunbound instead of Qnil. |
5015 Added. | 4864 |
5016 (mswindows_canonicalize_device_connection): Added. | 4865 * device-tty.c (tty_device_system_metrics): Ditto. |
5017 | 4866 |
5018 * console-msw.h (struct msprinter_device): Added this struct and | 4867 * device-x.c (x_device_system_metrics): Ditto. |
5019 accessor macros. | 4868 |
5020 (mswindows_device): Made fontlist a lisp object. | 4869 1998-05-10 Andy Piper <andyp@parallax.co.uk> |
5021 | 4870 |
5022 * device.c (semi_canonicalize_device_connection): Try to delegate | 4871 * redisplay-msw.c: implement background pixmaps (really!). Make |
5023 to canonicalize_device_connection if no such console method. | 4872 sure bg color is transparent if we have bg pmaps. |
5024 (canonicalize_device_connection): Vice versa. | 4873 * (mswindows_output_string) (mswindows_clear_region): output bg |
5025 (print_device): Do not print nil connection. | 4874 pmap if required. |
5026 | 4875 * (mswindows_output_dibitmap_region): new function. |
5027 * device-msw.c (mswindows_init_device): Call InitCommonControls | 4876 * (mswindows_output_dibitmap): output offset pixmaps, blt masks in |
5028 when have widgets. | 4877 the bg color rather than transparently. |
5029 (mswindows_delete_device): Removed fontlist deallocation. | 4878 |
5030 (mswindows_mark_device): Added. | 4879 * toolbar-msw.c: use masks if they exist. |
5031 | 4880 |
5032 * events.c (event_equal): Added abort() at unreached code. | 4881 * glyphs-msw.c: set up masks correctly. |
5033 (event_hash): Ditto. | 4882 |
5034 | 4883 * event-msw.c: typedef SOCKET if cygwin and not msg select(). |
5035 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of | 4884 |
5036 fallback tags of Windows devices. | 4885 1998-05-10 Hrvoje Niksic <hniksic@srce.hr> |
5037 | 4886 |
5038 * general.c (syms_of_general): Initialized Qmsprinter. | 4887 * regex.c (re_match_2_internal): Check for quit. |
5039 | 4888 |
5040 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list | 4889 1998-05-10 Hrvoje Niksic <hniksic@srce.hr> |
5041 of fallback tags of Windows devices. | 4890 |
5042 | 4891 * frame.c (Ffocus_frame): New function. |
5043 * lisp.h: Declared Qmsprinter. | 4892 |
5044 | |
5045 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list | |
5046 of strings. | |
5047 (mswindows_list_fonts): Ditto. | |
5048 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so | |
5049 that it can be used by both mswindows and msprinter devices. | |
5050 (initialize_font_instance): Added. | |
5051 (mswindows_initialize_font_instance): Use it. | |
5052 (msprinter_initialize_font_instance): Added. | |
5053 | |
5054 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC | |
5055 and implementation flags check. | |
5056 (redisplay_without_hooks): Changed the call to the above. | |
5057 (Fredraw_device): Ditto. | |
5058 (Fredisplay_device): Ditto. | |
5059 | |
5060 * redisplay-msw.c (get_frame_dc): Implemented. | |
5061 (get_frame_compdc): Implemented. | |
5062 (many functions): Use the two functions above to get device | |
5063 contexts, ether for a window or a printer. | |
5064 | |
5065 2000-01-21 Olivier Galibert <galibert@pobox.com> | |
5066 | |
5067 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer | |
5068 initialization here. | |
5069 (init_symbols_once_early): Call it. | |
5070 * emacs.c (main_1): Call it. | |
5071 * symsinit.h: Declare it. | |
5072 | |
5073 2000-01-19 Olivier Galibert <galibert@pobox.com> | |
5074 | |
5075 * alloc.c: Use a lrecord_header * in the backtrace instead of a | |
5076 Lisp_Object. | |
5077 (pdump_backtrace): Ditto. | |
5078 (pdump_register_object): Ditto. Cleanup use of the pointers. | |
5079 (pdump_get_entry): Abort if trying to register a null pointer. | |
5080 (pdump_dump_data): Cleanup types when relocating. | |
5081 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table. | |
5082 (pdump_dump_rtables): Remove bad casts. | |
5083 (pdump_load): Cleanup relocation w.r.t union type. Use a | |
5084 Lisp_Object instead of a EMACS_INT for the hashtable | |
5085 reorganization. | |
5086 | |
5087 2000-01-20 Martin Buchholz <martin@xemacs.org> | |
5088 | |
5089 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness. | |
5090 | |
5091 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity. | |
5092 | |
5093 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity. | |
5094 | |
5095 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch] | |
5096 | |
5097 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | |
5098 | |
5099 * faces.h (FACE_STRIKETHRU_P): Added. | |
5100 | |
5101 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care | |
5102 of font variants. | |
5103 | |
5104 * redisplay-msw.c (mswindows_apply_face_effects): Deleted. | |
5105 (mswindows_set_dc_font): New function, aware of font variants, | |
5106 separated from mswindows_update_dc. | |
5107 | |
5108 * objects-msw.h (struct mswindows_font_instance_data): Added | |
5109 definition. | |
5110 | |
5111 * objects-msw.c (mswindows_finalize_font_instance): Delete all | |
5112 cached fonts and the data structure. | |
5113 (mswindows_initialize_font_instance): Added creation of font data | |
5114 structure. | |
5115 (mswindows_print_font_instance): Print at least something. | |
5116 (mswindows_create_font_variant): Implemented. | |
5117 (mswindows_get_hfont): Implemented. | |
5118 | |
5119 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr> | |
5120 | |
5121 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of | |
5122 prototyping problem with msvc. | |
5123 | |
5124 * emacs.c (main_1): added syms_of_gui_mswindows() call | |
5125 | |
5126 * gui-msw.c: added "mswindows-shell-execute" lisp subr and | |
5127 syms_of_gui_mswindows() function | |
5128 | |
5129 * symsinit.h: added the prototype for syms_of_gui_mswindows() | |
5130 | |
5131 2000-01-18 Martin Buchholz <martin@xemacs.org> | |
5132 | |
5133 * XEmacs 21.2.27 is released. | |
5134 | |
5135 2000-01-18 Martin Buchholz <martin@xemacs.org> | |
5136 | |
5137 * glyphs-eimage.c (struct tiff_error_struct): | |
5138 (tiff_error_func): | |
5139 (tiff_warning_func): | |
5140 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF | |
5141 | |
5142 * unexmips.c: | |
5143 * unexhp9k3.c: | |
5144 * unexfreebsd.c: | |
5145 * unexec.c: Remove vestigial Lucid C code. | |
5146 * unexalpha.c: | |
5147 * unexaix.c: | |
5148 * termcap.c: | |
5149 * libsst.c: Ansify. | |
5150 Remove declarations of errno and strerror(). | |
5151 | |
5152 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring. | |
5153 | |
5154 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@". | |
5155 | |
5156 2000-01-16 Martin Buchholz <martin@xemacs.org> | |
5157 | |
5158 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999. | |
5159 Optimize. | |
5160 | |
5161 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp> | |
5162 | |
5163 * md5.c: | |
5164 * file-coding.c: | |
5165 * file-coding.h: | |
5166 Change enum eol_type to eol_type_t. | |
5167 | |
5168 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp> | |
5169 | |
5170 * gui.c (get_gui_callback): Check cons before accessing car. | |
5171 | |
5172 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp> | |
5173 | |
5174 * specifier.h (XSPECIFIER_TYPE): Add error checking version. | |
5175 (XSETSPECIFIER_TYPE): Ditto. | |
5176 | |
5177 2000-01-17 Didier Verna <didier@xemacs.org> | |
5178 | |
5179 * redisplay.c (generate_fstring_runes): compute string size in | |
5180 characters, not bytes. | |
5181 | |
5182 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr> | |
5183 | |
5184 * window.c (Fwindow_minibuffer_p): Make WINDOW optional. | |
5185 | |
5186 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr> | |
5187 | |
5188 * print.c (print_error_message): Call print_prepare(). | |
5189 | |
5190 2000-01-14 Martin Buchholz <martin@xemacs.org> | |
5191 | |
5192 * .dbxrc: Renamed from dbxrc. | |
5193 | |
5194 * events.c (event_to_character): | |
5195 Use `assert (foo)' instead of `if (!foo) abort()' | |
5196 | |
5197 * .gdbinit (xtype): Add documentation. | |
5198 * .gdbinit (check-temacs): New function. | |
5199 * .gdbinit (check-xemacs): New function. | |
5200 * dbxrc (check-xemacs): New function. | |
5201 * dbxrc (check-xemacs): New function. | |
5202 | |
5203 2000-01-14 Andy Piper <andy@xemacs.org> | |
5204 | |
5205 * glyphs-widget.c (widget_query_geometry): Make sure that we | |
5206 calculate default dimensions correctly. | |
5207 | |
5208 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | |
5209 | |
5210 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows. | |
5211 | |
5212 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped | |
5213 pdump_wire'd variable. | |
5214 | |
5215 * emacs.c: (main_1): Conditionalized calls to | |
5216 reinit_vars_of_scrollbar_x and reinit_vars_of_module. | |
5217 | |
5218 2000-01-13 Martin Buchholz <martin@xemacs.org> | |
5219 | |
5220 * window.c (Fset_window_configuration): | |
5221 * sysdep.c (_start): | |
5222 * input-method-motif.c (res): | |
5223 * event-Xt.c (Xt_process_to_emacs_event): | |
5224 Simple compiler warning fixes. | |
5225 | |
5226 * bytecode.c (funcall_compiled_function): Use the original | |
5227 function symbol on the backtrace list in preference to the | |
5228 compiled_function object in error messages. | |
5229 | |
5230 2000-01-13 Andy Piper <andy@xemacs.org> | |
5231 | |
5232 * glyphs-x.c (update_widget_face): Make sure we update the widget | |
5233 background as well as foreground. | |
5234 | |
5235 2000-01-13 Andy Piper <andy@xemacs.org> | |
5236 | |
5237 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient | |
5238 fields to subwindow. | |
5239 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro. | |
5240 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto. | |
5241 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto. | |
5242 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto. | |
5243 | |
5244 * glyphs-widget.c (check_valid_tab_orientation): new function. | |
5245 (initialize_widget_image_instance): zero orientation and | |
5246 justification. | |
5247 (widget_instantiate): pick up orientation. | |
5248 (tab_control_query_geometry): return appropriate values for | |
5249 vertical tabs. | |
5250 | |
5251 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign | |
5252 appropriate creation flags for left, right and bottom tabs. | |
5253 | |
5254 * s/cygwin32.h: add tab definitions. | |
5255 | |
5256 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com> | |
5257 | |
5258 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the | |
5259 frame upon hiding a subwindow. | |
5260 (mswindows_button_instantiate): Changed the push button style to | |
5261 BS_PUSHBUTTON. | |
5262 (mswindows_button_instantiate): Removed button BS_NOTIFY | |
5263 style. | |
5264 (mswindows_button_instantiate): Removed redundant check for | |
5265 a disabled gui item. | |
5266 (mswindows_button_instantiate): Made use of WS_TABSTOP | |
5267 consistent: "operable" controls (edit, button, tree, scroll) have | |
5268 this style, "display-only" ones (static, progress gauge) do | |
5269 not. This style is currently ignored by XEmacs though. Also, | |
5270 removed the WS_EX_CONTROLPARENT style - it is not for children, | |
5271 it is for their parents! | |
5272 (mswindows_edit_field_instantiate): Ditto. | |
5273 (mswindows_progress_gauge_instantiate): Ditto. | |
5274 (mswindows_tree_view_instantiate): Ditto. | |
5275 (mswindows_tab_control_instantiate): Ditto. | |
5276 (mswindows_scrollbar_instantiate): Ditto. | |
5277 (mswindows_combo_box_instantiate): Ditto. | |
5278 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT | |
5279 style to the "clip" window. | |
5280 (mswindows_button_instantiate): Removed compilation warning by | |
5281 equally typing terms of the ?: operator. | |
5282 | |
5283 2000-01-12 Didier Verna <didier@xemacs.org> | |
5284 | |
5285 * redisplay.c (generate_fstring_runes): new parameter holding the | |
5286 last modeline-format extent. | |
5287 (add_glyph_to_fstring_db_runes): new parameter holding the glyph | |
5288 extent, fill the glyph block with it. | |
5289 (generate_fstring_runes): handle these parameters. | |
5290 (generate_formatted_string_db): ditto. | |
5291 | |
5292 * keymap.c (get_relevant_keymaps): retreive the keymaps from the | |
5293 glyphs'extents in the modeline. | |
5294 | |
5295 1999-01-11 Mike Woolley <mike@bulsara.com> | |
5296 | |
5297 * ntheap.c: Reduced the reserved heap space from 1Gb down to | |
5298 256Mb, as a workaround for the non-starting problem many people | |
5299 have experienced. | |
5300 | |
5301 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp> | |
5302 | |
5303 * console-tty.c (Fset_console_tty_output_coding_system): | |
5304 Force redrawing tty frame. | |
5305 | |
5306 2000-01-10 Didier Verna <didier@xemacs.org> | |
5307 | |
5308 * redisplay.c (generate_fstring_runes): fix size computation bug. | |
5309 | |
5310 2000-01-09 William M. Perry <wmperry@aventail.com> | |
5311 | |
5312 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function. | |
5313 | |
5314 2000-01-09 Andy Piper <andy@xemacs.org> | |
5315 | |
5316 * glyphs-msw.c: index -> i to avoid shadows. | |
5317 (xbm_create_bitmap_from_data): make static. | |
5318 (check_valid_string_or_int): deleted. | |
5319 (mswindows_control_wnd_proc): message -> msg to avoid shadows. | |
5320 | |
5321 * glyphs-x.c (x_update_subwindow): remove unused args. | |
5322 | |
5323 * glyphs.c (glyph_image_instance): return the thing. Don't set the | |
5324 back pointer - this is done in allocate_image_instance. | |
5325 (query_string_font): return Qnil to make the compiler happy. | |
5326 (unmap_subwindow): set to ~0 to make the compiler happy. | |
5327 (glyph_query_geometry): comment out until used. | |
5328 (glyph_layout): ditto. | |
5329 | |
5330 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr> | |
5331 | |
5332 * insdel.c (signal_after_change): Remove extraneous unbind_to(). |