Mercurial > emacs
annotate src/ChangeLog @ 32562:d531dc7c269a
(term.o): Depend on dispextern.h.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 17 Oct 2000 02:53:36 +0000 |
parents | 83ec4f5321d6 |
children | 40cebc20f02c |
rev | line source |
---|---|
32561 | 1 2000-10-17 Kenichi Handa <handa@etl.go.jp> |
2 | |
3 * Makefile.in (term.o): Depend on dispextern.h. | |
4 | |
32560
aaa33e5bc33b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32556
diff
changeset
|
5 2000-10-16 Stefan Monnier <monnier@cs.yale.edu> |
aaa33e5bc33b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32556
diff
changeset
|
6 |
aaa33e5bc33b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32556
diff
changeset
|
7 * keymap.c (keymap_memberp): Ensure that nil is not a member. |
aaa33e5bc33b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32556
diff
changeset
|
8 |
32550 | 9 2000-10-16 Gerd Moellmann <gerd@gnu.org> |
10 | |
32555 | 11 * xdisp.c (set_iterator_to_next): Reset box start and end flags of |
12 the iterator at the beginning, so that they can be set later on, | |
32556 | 13 for instance in reseat_at_next_visible_line_start, without being |
32554 | 14 overwritten. |
15 | |
32550 | 16 * xfns.c (pbm_format): Add :foreground and :background keywords. |
17 (PBM_FOREGROUND, PBM_BACKGROUND): New enumerators. | |
32555 | 18 (xbm_load): Recognize foreground and background color |
32550 | 19 specifications. |
20 | |
32548 | 21 2000-10-16 Eli Zaretskii <eliz@is.elta.co.il> |
22 | |
23 * dispextern.h (unspecified_fg, unspecified_bg): Declare. | |
24 | |
25 * dosfns.c (unspecified_fg, unspecified_bg): Remove extern | |
26 declaration. | |
27 | |
28 * msdos.c (IT_set_face): Compare highlighted face with the default | |
29 face, and invert colors if these faces' colors are identical. | |
30 (Fmsdos_remember_default_colors): Don't swap foreground and | |
31 background colors in initial_colors[]. | |
32 (IT_set_frame_parameters): Don't swap frame's foreground and | |
33 background pixels. If ALIST includes "(reverse . t)", swap | |
34 foreground-color and background-color properties in frame's | |
35 param_alist. If the original frame's param_alist doesn't specify | |
36 the colors, store unspecified-fg and unspecified-bg, reversed if | |
37 required. | |
38 | |
39 * frame.c (Fframe_parameters): If a tty's frame's param_alist says | |
40 the colors are unspecified and reversed, reverse fore- and back- | |
41 ground in the returned value. | |
42 (Fframe_parameter): Ditto. | |
43 | |
32535 | 44 2000-10-16 Gerd Moellmann <gerd@gnu.org> |
45 | |
32541 | 46 * xdisp.c (find_last_unchanged_at_beg_row): Renamed from |
47 get_last_unchanged_at_beg_row. | |
48 (find_first_unchanged_at_end_row): Renamed from | |
49 get_first_unchanged_at_end_row. | |
50 (find_first_unchanged_at_end_row): Convert assertions to | |
51 unconditional tests which abort. When looking for a row in | |
52 unchanged text, don't go further back than first_text_row. | |
53 | |
32535 | 54 * xdisp.c (try_scrolling) <cursor in scroll margin at the bottom>: |
55 Don't add in the last line's height when deciding if the new | |
56 position is below the scroll margin. | |
57 | |
32525 | 58 2000-10-16 Miles Bader <miles@gnu.org> |
32518 | 59 |
60 * editfns.c (Fconstrain_to_field): Check carefully for field | |
61 boundaries if either OLD_POS or NEW_POS has a non-nil field | |
62 property, even if they're the same. | |
63 | |
32512 | 64 2000-10-16 Kenichi Handa <handa@etl.go.jp> |
65 | |
66 * xterm.c (x_draw_box_rect): Fix the calculation of width and | |
67 height for XFillRectangle. | |
68 | |
32510
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
69 2000-10-15 Stefan Monnier <monnier@cs.yale.edu> |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
70 |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
71 * syntax.c (Fstring_to_syntax): New function extracted from |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
72 Fmodify_syntax_entry. |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
73 (Fmodify_syntax_entry): Use it and document the ! and | fences. |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
74 (skip_chars, Fforward_comment): Remove unused variables. |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
75 (syms_of_syntax): Add defsubr for string-to-syntax. |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
76 (describe_syntax): Add code for comment and string fences. |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
77 |
32477
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
78 2000-10-14 Stefan Monnier <monnier@cs.yale.edu> |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
79 |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
80 * keymap.c (access_keymap): Add AUTOLOAD parameter. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
81 Do the meta->esc mapping. Call get_keyelt before returning. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
82 Start scanning from the second element (the first is always `keymap') |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
83 to make it easier to detect when we reach a parent map. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
84 Handle the case of inheriting from a symbol whose function is a map. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
85 (Fkeymap_parent): Also handle the `inherit from symbol' case. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
86 (fix_submap_inheritance, Fdefine_key): Update call to access_keymap. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
87 (get_keyelt, Flookup_key): Update call to access_keymap. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
88 Remove the meta->esc mappings. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
89 (define_as_prefix): Delete old disabled code. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
90 (menu_item_p): New function. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
91 (where_is_internal_1): Skip over the few remaining menu items. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
92 * lisp.h (access_keymap): Update prototype. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
93 * keyboard.c (read_char, menu_bar_items, tool_bar_items): |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
94 Update call to access_keymap. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
95 (follow_key, read_key_sequence): Update calls to access_keymap. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
96 Remove the meta->esc mappings. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
97 |
32461 | 98 2000-10-13 Gerd Moellmann <gerd@gnu.org> |
99 | |
32469 | 100 * dispnew.c (direct_output_for_insert): Call set_iterator_to_next |
101 with additional argument. | |
102 | |
32461 | 103 * xdisp.c (cursor_row_p): New function. |
104 (try_cursor_movement, display_line): Use it. | |
105 | |
106 * xdisp.c (append_space): Also save/restore iterator's current | |
107 character and its length. | |
108 | |
109 * xdisp.c (init_from_display_pos): Add an assertion. | |
110 (handle_stop): Don't set iterator's add_overlay_start. | |
111 (handle_invisible_prop): Likewise. | |
112 (load_overlay_strings): If text under an overlay is invisible, | |
113 take both before- and after-strings into account when the iterator | |
114 is positioned either at the start or at the end of the overlay. | |
115 (forward_to_next_line_start): Rewritten. | |
116 (reseat_at_next_visible_line_start): Rewritten. | |
117 (set_iterator_to_next): Add parameter RESEAT_P. | |
118 | |
119 * dispextern.h (struct it): Remove member add_overlay_start. | |
120 (set_iterator_to_next): Change prototype. | |
121 | |
32442 | 122 2000-10-13 Kenichi Handa <handa@etl.go.jp> |
123 | |
124 * coding.c (code_convert_region): Be sure to initialize | |
125 coding->category_idx. | |
32444 | 126 (decode_coding_string): Set coding->src_multibyte and |
127 coding->dst_multibyte before using CODING_REQUIRE_DECODING. | |
128 (encode_coding_string): Set coding->src_multibyte and | |
129 coding->dst_multibyte before using CODING_REQUIRE_ENCODING. | |
32442 | 130 |
32434
2c839d052cbd
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32427
diff
changeset
|
131 2000-10-12 Stefan Monnier <monnier@cs.yale.edu> |
2c839d052cbd
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32427
diff
changeset
|
132 |
2c839d052cbd
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32427
diff
changeset
|
133 * xfns.c (Fx_create_frame): Don't bother calling |
2c839d052cbd
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32427
diff
changeset
|
134 face-set-after-frame-default since the caller does it for us anyway. |
2c839d052cbd
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32427
diff
changeset
|
135 |
32427 | 136 2000-10-12 Eli Zaretskii <eliz@is.elta.co.il> |
137 | |
138 * window.c (coordinates_in_window): Fix detection of vertical line | |
139 on character terminals. | |
140 | |
32421 | 141 2000-10-12 Gerd Moellmann <gerd@gnu.org> |
142 | |
143 * editfns.c (save_excursion_save): Additionally record the | |
144 selected window. | |
145 (save_excursion_restore): If buffer was visible in a window, and a | |
146 different window was selected, and the old selected window is | |
147 still live, restore point in that window. | |
148 | |
32397 | 149 2000-10-12 Kenichi Handa <handa@etl.go.jp> |
150 | |
32400 | 151 * xterm.c (x_produce_glyphs): Handle |
152 unibyte_display_via_language_environment correctly. | |
153 | |
32398 | 154 * regex.c (regex_compile): Change the way of handling a range from |
155 unibyte char to multibyte char. | |
156 | |
157 * syntax.c (skip_chars): Change the way of handling a range from | |
158 unibyte char to multibyte char. | |
159 | |
32397 | 160 * process.c (read_process_output): Cancel previous change. |
161 | |
32381 | 162 2000-10-11 Eli Zaretskii <eliz@is.elta.co.il> |
163 | |
32388 | 164 * search.c (Fsearch_backward, Fsearch_forward): Doc fix. |
165 | |
32381 | 166 * charset.c (Ffind_charset_string): Doc fix. |
167 (Ffind_charset_region): Doc fix. | |
168 | |
32369 | 169 2000-10-11 Kenichi Handa <handa@mule.m17n.org> |
170 | |
32370 | 171 * process.c (read_process_output): Fix previous change. Adjust |
172 multibyteness of text to insert in a buffer by | |
32372 | 173 string_make_unibyte/multibyte instead of |
32370 | 174 Fstring_as_unibyte/multibyte. |
32369 | 175 |
32361 | 176 2000-10-10 Andreas Schwab <schwab@suse.de> |
177 | |
178 * alloc.c (mark_object): Remove all workarounds installed on | |
179 1993-08-08. | |
180 | |
32352 | 181 2000-10-10 Kenichi Handa <handa@etl.go.jp> |
182 | |
183 * fns.c (READ_QUADRUPLET_BYTE): Set *NCHARS_RETURN before | |
184 returning. | |
185 (base64_encode_1): Make it work for a text of multibyte form. | |
186 (Fbase64_decode_region): Allocate sufficient memory for multibyte | |
187 case. Don't call str_to_multibyte because base64_decode_1 | |
188 produces correct multibyte form for eight-bit codes. | |
189 (Fbase64_decode_string): Adjusted for the change of | |
190 base64_decode_1. | |
191 (base64_decode_1): New args MULTIBYTE and NCHARS_RETURN. If | |
192 MULTIBYTE is nonzero, produce correct multibyte form for eight-bit | |
193 codes. | |
194 | |
195 * charset.h (CHAR_STRING): Optimized for single byte characters. | |
196 | |
32342 | 197 2000-10-09 Andreas Schwab <schwab@suse.de> |
198 | |
199 * process.c (Fopen_network_stream) [HAVE_GETADDRINFO]: Reset S to | |
200 -1 after socket is closed, to fall through to error processing. | |
201 | |
32336 | 202 2000-10-09 Eli Zaretskii <eliz@is.elta.co.il> |
203 | |
204 * msdos.c (IT_set_frame_parameters): Don't initialize Lisp_Object | |
32381 | 205 variables. If ALIST includes foreground-color or |
32336 | 206 background-color, change also the colors of the default face for |
207 this frame. | |
208 | |
32273 | 209 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il> |
210 | |
211 * msdos.c (top-level) <Qbackground_color, Qforeground_color>: Make | |
212 them extern (they are defined on xfaces.c). | |
213 (syms_of_msdos): Don't intern and don't staticpro | |
214 Qbackground_color and Qforeground_color. | |
215 | |
32255 | 216 2000-10-07 Eli Zaretskii <eliz@is.elta.co.il> |
217 | |
218 * frame.c (Fframe_parameter): For non-windowed frames, if | |
219 f->param_alist says foreground or background color is unspecified, | |
220 call tty_color_name to return the color name computed from the | |
221 frame's current colors. | |
222 | |
32238 | 223 2000-10-06 Dave Love <fx@gnu.org> |
224 | |
225 * terminfo.c (ospeed): Don't declare. | |
226 | |
227 * sysdep.c: Don't include string.h. | |
228 (h_errno): Declare conditional also on TRY_AGAIN. | |
229 | |
230 * charset.c (Ffind_charset_string): Doc fix. | |
231 | |
232 * fns.c (Fbase64_encode_region, Fbase64_encode_string) | |
233 (Fbase64_decode_region, Fbase64_decode_string): More explicit | |
234 error messages. | |
235 | |
32180 | 236 2000-10-05 Dave Love <fx@gnu.org> |
237 | |
238 * xmenu.c (Fx_popup_menu, Fx_popup_dialog): Check for tool-bar | |
239 position like menu-bar. | |
240 | |
32177 | 241 2000-10-05 Gerd Moellmann <gerd@gnu.org> |
242 | |
243 * keyboard.c (Frecursive_edit): Make sure redisplay can happen. | |
244 | |
245 * xdisp.c (handle_single_display_prop): Use safe_call1. | |
246 (safe_call): Renamed from call_function. | |
247 (safe_call1): New function. | |
248 (handle_fontified_prop): Use safe_call1 instead of call1. | |
249 (safe_eval): Renamed from eval_form. | |
250 (safe_eval_handler): Renamed from eval_handler. | |
251 (handle_single_display_prop, display_mode_element): Use safe_eval | |
252 instead of eval_form. | |
253 | |
254 * xfaces.c (merge_face_heights): Use safe_call instead of | |
255 call_function. | |
256 | |
257 * keyboard.c (show_help_echo): Use safe_call instead of | |
258 call_function; use safe_eval instead of eval_form. | |
259 | |
260 * lisp.h (safe_call): Renamed from call_function. | |
261 (safe_eval): Renamed from eval_form. | |
262 (safe_call1): Add prototype. | |
263 | |
32165 | 264 2000-10-05 Miles Bader <miles@lsi.nec.co.jp> |
265 | |
266 * xfns.c (image_ascent): Rearrange ascent calculation for the | |
267 has-a-font case. | |
268 | |
32146
e5229d4b9f90
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32142
diff
changeset
|
269 2000-10-04 Stefan Monnier <monnier@cs.yale.edu> |
e5229d4b9f90
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32142
diff
changeset
|
270 |
e5229d4b9f90
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32142
diff
changeset
|
271 * keymap.c (Fwhere_is_internal): Ignore `menu-bar' and `tool-bar'. |
e5229d4b9f90
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32142
diff
changeset
|
272 (where_is_internal_1): Don't bother ignoring menu-items any more. |
e5229d4b9f90
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32142
diff
changeset
|
273 |
32142 | 274 2000-10-04 Gerd Moellmann <gerd@gnu.org> |
275 | |
276 * keyboard.c (update_menu_bindings): New variable. | |
277 (parse_menu_item): Use AREF. If update_menu_bindings | |
278 is 0, don't update menu bindings. | |
279 (syms_of_keyboard): New Lisp variable `update-menu-bindings'. | |
280 | |
32100 | 281 2000-10-03 Eli Zaretskii <eliz@is.elta.co.il> |
282 | |
283 * alloc.c (Fgarbage_collect): Prevent compiler warning for a call | |
284 to `mark_object'. | |
285 | |
32088
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
286 2000-10-02 Stefan Monnier <monnier@cs.yale.edu> |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
287 |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
288 * syntax.c (forw_comment): Match nestedness of ender/starter. |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
289 (Fforward_comment): Treat an unmatched \n comment-ender as whitespace. |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
290 (prev_char_comstart_first): Remove. |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
291 (back_comment): Check two-char comment markers more carefully |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
292 to better handle overlapping cases like *//* or /* */* */ ... |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
293 Match nestedness of ender/starter. |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
294 |
32075 | 295 2000-10-02 Dave Love <fx@gnu.org> |
296 | |
297 * config.in (HAVE_GAI_STRERROR): Add undef. | |
298 | |
299 * process.c (Fopen_network_stream): Use it. | |
300 | |
301 * m/alpha.h (NO_REMAP): Don't define. | |
302 | |
32068 | 303 2000-10-02 Gerd Moellmann <gerd@gnu.org> |
304 | |
305 * lisp.h (wrong_type_argument): Remove NO_RETURN, the function can | |
306 return with a string converted to an integer or vice versa when | |
307 Vmocklisp_arguments is t. | |
308 (Fsignal): Likewise. The function can return for `quit'. | |
309 (struct gcpro): Declare member `var' to point to a volatile | |
310 Lisp_Object. | |
311 | |
312 * eval.c (error): Prevent compiler warning. | |
313 | |
32039
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
314 2000-09-30 Stefan Monnier <monnier@cs.yale.edu> |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
315 |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
316 * keymap.c (keymap_memberp): New function. |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
317 (Fset_keymap_parent): Use it. |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
318 (fix_submap_inheritance): Use get_keyelt, get_keymap_1 and KEYMAPP. |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
319 Use keymap_memberp to avoid creating cycles. |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
320 (access_keymap): Use KEYMAPP. |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
321 |
32034 | 322 2000-09-30 Gerd Moellmann <gerd@gnu.org> |
323 | |
324 * process.c (Fopen_network_stream) [HAVE_GETADDRINFO]: Use | |
32068 | 325 gai_strerror. Make sure xerrno is set if connect fails. Improve |
326 error recovery. | |
32034 | 327 |
32021 | 328 2000-09-29 Jason Rumney <jasonr@gnu.org> |
329 | |
330 * w32term.c (w32_char_font_type, w32_encode_char) | |
331 (x_produce_glyphs): Distinguish single and multibyte BDF fonts. | |
332 (w32_bdf_per_char_metric): New function. | |
333 (w32_per_char_metric): Use it. | |
334 (x_draw_glyph_string_background): Always draw background for BDF | |
335 glyphs. | |
336 | |
337 * w32bdf.h (glyph_struct, cache_bitmap): Cache bitmap data, not | |
338 GDI object which is a scarce resource. | |
339 | |
340 * w32bdf.c (search_file_line): Fix skipping of whitespace. | |
341 (get_quoted_string): Fix limit on memchr search. | |
342 (set_bdf_font_info): Use unsigned chars. Negate yoffset. | |
343 (w32_init_bdf_font): Initialize codepoint and bitmap heaps. | |
344 (w32_free_bdf_font): Free bitmaps and codepoints on heaps. | |
345 (get_cached_font_char, cache_char_offset): Use macro | |
346 BDF_CODEPOINT_RANGE_COVER_P. | |
347 (cache_char_offset): Use HeapAlloc to allocate codepoints on own heap. | |
348 (clear_cached_bitmap_slots): New function. | |
349 (GET_HEX_VALUE): G-Z, g-z are not hex. | |
350 (w32_get_bdf_glyph): Convert to DIB format. Return bytes read. | |
351 (get_bitmap_with_cache): Use new cache implementation. | |
352 (create_offscreen_bitmap): New function. | |
353 (w32_BDF_TextOut): Use it. Draw glyphs as DIBs. | |
354 | |
355 * w32term.c (x_produce_glyphs): If the distance from the current | |
356 position to the next tab stop is less than a canonical character | |
357 width, use the tab stop after that. | |
358 (x_draw_glyphs): Handle case START and END are out of bounds more | |
359 carefully. | |
360 (x_clear_mouse_face): Block/unblock input. | |
361 (x_display_and_set_cursor): Don't show a hollow box cursor for | |
362 buffers whose cursor_type is nil. | |
363 | |
32001 | 364 2000-09-29 Gerd Moellmann <gerd@gnu.org> |
365 | |
366 * xfns.c (x_set_tool_bar_lines): Clear frame when tool bar | |
367 disappears. | |
368 | |
369 * dispextern.h (updating_frame): Declare extern. | |
370 | |
31998 | 371 2000-09-29 Andreas Schwab <schwab@suse.de> |
372 | |
373 * m/ia64.h: Remove hack of not prototyping bcopy, etc. | |
374 | |
31992 | 375 2000-09-29 Gerd Moellmann <gerd@gnu.org> |
376 | |
31996 | 377 * keyboard.c (menu_bar_one_keymap): If KEYMAP is a symbol, |
378 use its function definition. | |
379 (tool_bar_items): Likewise. | |
380 | |
31992 | 381 * lisp.h (fatal): Declare NO_RETURN. |
382 | |
31988 | 383 2000-09-29 Kenichi Handa <handa@etl.go.jp> |
384 | |
385 * keymap.c: Remove the line "#undef NULL". | |
386 | |
31953 | 387 2000-09-28 Gerd Moellmann <gerd@gnu.org> |
388 | |
389 * xterm.c (x_make_frame_visible): Try harder to make the frame | |
390 visible. | |
391 | |
31946 | 392 2000-09-28 Dave Love <fx@gnu.org> |
393 | |
31959 | 394 * s/osf5-0.h: Define USE_MMAP_FOR_BUFFERS, not REL_ALLOC_MMAP. |
395 | |
32002 | 396 * s/sunos413.h (USE_MMAP_FOR_BUFFERS): Define. |
397 | |
398 * .gdbinit (xreload): Note its need on GNU/Linux. | |
399 | |
31946 | 400 * m/alpha.h (XUINT) [REL_ALLOC && _MALLOC_INTERNAL]: Don't declare |
401 r_alloc, r_alloc_free. | |
402 | |
31943 | 403 2000-09-28 Kenichi Handa <handa@etl.go.jp> |
404 | |
405 * syntax.c (skip_chars): Handle negation correctly. | |
406 | |
31936 | 407 2000-09-27 Gerd Moellmann <gerd@gnu.org> |
408 | |
31941 | 409 * xfaces.c (realize_default_face): Call set_lface_from_font_name |
410 with non-zero FORCE_P argument. | |
411 | |
31936 | 412 * dispnew.c (adjust_glyph_matrix, enable_glyph_matrix_rows): |
413 Add assertions. | |
414 | |
415 * xdisp.c (window_box_height): Add an assertion. | |
416 | |
417 * xfns.c (x_set_tool_bar_lines): Don't use more lines for the | |
418 tool-bar than is available. | |
419 (x_change_window_heights): Renamed from x_set_menu_bar_lines_1. | |
420 | |
31926 | 421 2000-09-27 Dave Love <fx@gnu.org> |
422 | |
31946 | 423 * s/irix6-5.h: Now works 64-bit. Tidied. |
31926 | 424 |
31898 | 425 2000-09-26 Gerd Moellmann <gerd@gnu.org> |
426 | |
31908 | 427 * lisp.h (XINT) [EXPLICIT_SIGN_EXTEND]: Use BITS_PER_EMACS_INT |
428 instead of BITS_PER_INT. | |
429 (XINT, XUINT) [NO_UNION_TYPE]: Cast result to EMACS_INT and | |
430 EMACS_UINT, respectively. | |
431 (NO_UNION_TYPE) [USE_LISP_UNION_TYPE]: Undefine. | |
432 | |
433 * m/sparc.h (BITS_PER_EMACS_INT) [__arch64__]: Don't define. | |
434 | |
435 * unexelf.c (ELFSIZE) [__NetBSD__ && __sparc_v9__]: Define to 64. | |
436 | |
31904 | 437 * window.c (freeze_window_starts): Construct last argument for |
438 foreach_window differently. | |
439 | |
440 * xfns.c (x_decode_color): Don't return a Lisp_Object. | |
441 | |
442 * lisp.h (union Lisp_Object) [!NO_UNION_TYPE]: Use EMACS_INT and | |
443 EMACS_UINT instead of `int' and `unsigned int'. | |
444 (XSET) [EXPLICIT_SIGN_EXTEND]: Use EMACS_INT instead of `int'. | |
445 | |
446 * frame.h (struct frame): Make the `nothing' member of union | |
447 output_data an EMACS_INT. | |
448 | |
31898 | 449 * alloc.c (GC_CHECK_STRING_BYTES): Temporarily define, for bug |
450 hunting. | |
451 (struct sdata) [GC_CHECK_STRING_BYTES]: Always record the string's | |
452 size in the sdata structure. | |
453 (SDATA_NBYTES, SDATA_DATA): New macros. | |
454 (SDATA_OF_STRING, SDATA_SIZE) [GC_CHECK_STRING_BYTES]: Define | |
455 differently for the different layout of the sdata structure. | |
456 (allocate_string_data) [GC_CHECK_STRING_BYTES]: Record string size | |
457 in sdata. | |
458 (sweep_strings, compact_small_strings) [GC_CHECK_STRING_BYTES]: | |
459 Check that size recorded in the string size and size recorded in | |
460 the sdata structure agree. | |
461 | |
31893 | 462 2000-09-25 Dave Love <fx@gnu.org> |
463 | |
464 * buffer.c: Include stdio.h. | |
465 | |
466 Partly suggested by Eduardo Horvath <eeh@netbsd.org>. | |
467 | |
468 * ralloc.c (__malloc_extra_blocks): Declare as __malloc_size_t. | |
469 | |
470 * alloc.c (__malloc_size_t) [DOUG_LEA_MALLOC]: Don't redefine it. | |
471 (__malloc_size_t) [!DOUG_LEA_MALLOC]: Define unconditionally as | |
472 size_t. | |
473 (__malloc_extra_blocks): Declare as __malloc_size_t. | |
474 | |
31867 | 475 2000-09-25 Gerd Moellmann <gerd@gnu.org> |
476 | |
31890 | 477 * alloc.c (mark_image): Use GC_NILP instead of NILP. |
478 | |
31881 | 479 * keyboard.c (show_help_echo): Set help_echo_showing_p. |
480 (read_char): If help-echo is showing, preserve the echo area | |
481 when redisplaying. | |
482 | |
483 * xdisp.c (help_echo_showing_p): New variable. | |
484 (set_message): Reset it to 0. | |
485 (init_xdisp): Initialize help_echo_showing_p. | |
486 | |
487 * dispextern.h (help_echo_showing_p): Declare extern. | |
488 | |
489 * config.in: Fix typo in __GNUC_MINOR__. | |
490 | |
491 * keyboard.h (quit_throw_to_read_char): Declare NO_RETURN. | |
492 | |
31872 | 493 * s/freebsd.h (POSIX_SIGNALS): Define. |
494 | |
31867 | 495 * xterm.c (x_clear_mouse_face): Block/unblock input. |
496 | |
31866 | 497 2000-09-24 Dave Love <fx@gnu.org> |
498 | |
499 * fns.c (base64_encode_1): Fix last change. | |
500 | |
31851 | 501 2000-09-22 Gerd Moellmann <gerd@gnu.org> |
502 | |
503 * dispnew.c (enable_glyph_matrix_rows): Remove xasserts. | |
504 | |
505 * xdisp.c (try_window_reusing_current_matrix): More fixes | |
506 for the case window has a header-line. | |
507 | |
31843 | 508 2000-09-22 Dave Love <fx@gnu.org> |
509 | |
31848 | 510 * xdisp.c (syms_of_xdisp): Defvar Vmenu_bar_update_hook to provide |
511 a doc string. | |
512 | |
513 * xterm.c [SOLARIS2]: Remove redundant include of string.h. | |
514 | |
31843 | 515 * fns.c (Fstring_as_unibyte, Fstring_as_multibyte): Doc fix. |
516 | |
31805 | 517 2000-09-21 Gerd Moellmann <gerd@gnu.org> |
518 | |
31848 | 519 * config.in (NO_RETURN): Define as `__attribute__((__noreturn__))' |
31834 | 520 for GCC >= 2.5. |
521 | |
522 * lisp.h (wrong_type_argument, Fthrow, Fsignal, error): Declare | |
523 NO_RETURN. | |
524 | |
31831 | 525 * window.c, term.c, xmenu.c, xrdb.c, emacs.c, macros.c, |
526 * keymap.c, insdel.c, marker.c, minibuf.c, fileio.c, dired.c, | |
527 * indent.c, search.c, alloc.c, data.c: Avoid some more compiler | |
528 warnings. | |
529 | |
530 * marker.c (byte_char_debug_check): Return void. | |
531 | |
31827 | 532 * xfns.c (Fx_create_frame): Set default frame parameter value |
533 for tool-bar-lines to 1. | |
534 | |
535 * dispnew.c (scrolling_window): Compare y-positions of rows | |
536 equal at the start. Some simplification. | |
537 | |
538 * xdisp.c (try_window_reusing_current_matrix): Fix computation of | |
539 reused rows' y-position in the case window has a header-line, and | |
540 new window start is greater than old window start. | |
541 | |
31807 | 542 * process.c (process_sent_to): New variable. |
543 (send_process): Workaround for a crash on sparc-sun-solaris-2.6 | |
544 with GCC 2.95.2 caused by a parameter being clobbered by longjmp. | |
545 Declare more parameters volatile. | |
546 | |
31805 | 547 * lread.c (Vrecursive_load_depth_limit): New variable. |
548 (Fload): Check recursive loads whose recursion depth exceeds | |
549 Vrecursive_load_depth_limit. | |
550 (syms_of_lread): DERFAR_LISP recursive-load-depth-limit. | |
551 | |
31763 | 552 2000-09-20 Gerd Moellmann <gerd@gnu.org> |
553 | |
31776 | 554 * fileio.c (Fread_file_name): Doc fix. |
555 | |
556 * editfns.c (Fmessage_or_box): Doc fix. | |
557 | |
558 * fns.c (Fy_or_n_p, Fyes_or_no_p): Doc fix. | |
559 | |
31770 | 560 * xfns.c (xbm_scan): Allow C-style comments. |
561 | |
31763 | 562 * xfns.c (xpm_init_color_cache) [ALLOC_XPM_COLORS]: If color |
563 symbols are specified, add color translations to the cache. | |
564 (xpm_color_bucket, xpm_cache_color) [ALLOC_XPM_COLORS]: New | |
565 functions. | |
566 (xpm_lookup_color) [ALLOC_XPM_COLORS]: Use xpm_color_bucket and | |
567 xpm_cache_color. | |
568 (xpm_load) [ALLOC_XPM_COLORS]: Pass frame and XPM attributes | |
569 structures to xpm_init_color_cache. | |
570 | |
31733 | 571 2000-09-19 Gerd Moellmann <gerd@gnu.org> |
572 | |
573 * dispnew.c (update_window_line): Make sure to always draw | |
574 mode-lines. | |
575 | |
31713 | 576 2000-09-19 Andrew Innes <andrewi@gnu.org> |
577 | |
578 * makefile.nt (bootstrap-emacs): Don't change directory. | |
579 | |
31701 | 580 2000-09-19 Kenichi Handa <handa@etl.go.jp> |
581 | |
31704 | 582 * charset.h (UNIBYTE_STR_AS_MULTIBYTE_P): Fix previous change. |
583 | |
31701 | 584 * ccl.c (Fccl_execute_on_string): Make multibyte string correctly. |
585 If output buffer is too small, signal an appropriated error. | |
586 | |
31698 | 587 2000-09-18 Dave Love <fx@gnu.org> |
588 | |
589 * keyboard.c (menu_bar_items, tool_bar_items) | |
590 (current_active_maps): Remove redundant get_local_map call. | |
591 | |
31687 | 592 2000-09-18 Gerd Moellmann <gerd@gnu.org> |
593 | |
31700 | 594 * xterm.c (x_display_and_set_cursor): Don't show a hollow box |
595 cursor for buffers whose cursor_type is nil. | |
596 | |
31696 | 597 * xterm.c (x_draw_image_glyph_string): Remove a comment describing |
598 a feature to implement that is already implemented. | |
599 (note_mouse_highlight, x_find_ccl_program): Avoid some compiler | |
600 warnings. | |
601 | |
602 * xfns.c (x_clear_image_1): New function. | |
603 (x_clear_image): Use it. | |
604 (x_from_xcolors): Use x_clear_image_1; don't free the image's | |
605 mask. | |
606 | |
31692 | 607 * dispnew.c (update_window): Move test for invisible lines |
608 at the top to update_window_line. | |
609 (update_window_line): Handle invisible lines here. | |
610 | |
31689 | 611 * xfns.c (clear_image_cache): Clear current matrices of all |
612 frames sharing an image cache. Block input while freeing | |
613 images. Fix timestamp comparison. | |
614 (x_clear_image): Also free the mask. | |
615 | |
31687 | 616 * xfns.c (lookup_image): Block input while loading the image so |
617 that we won't get interrupted in a state where the image isn't yet | |
618 set up completely. | |
619 (xbm_load_image, xbm_load, xpm_load, xpm_load, lookup_rgb_color) | |
620 (lookup_pixel_color, x_to_xcolors, x_from_xcolors) | |
621 (x_disable_image, x_build_heuristic_mask, pbm_load, png_load) | |
622 (jpeg_load, tiff_load, gif_load, gs_load): Don't block/unblock | |
623 input. | |
624 | |
31654 | 625 2000-09-16 Gerd Moellmann <gerd@gnu.org> |
626 | |
627 * dispnew.c (update_window): Make sure to make desired rows | |
628 current even if they are completely invisible at the top | |
629 of a window. | |
630 | |
31636 | 631 2000-09-15 Gerd Moellmann <gerd@gnu.org> |
632 | |
31652 | 633 * xfns.c (lookup_image): Build mask before applying an algorithm. |
634 Recognize algorithm `disabled'. | |
635 (cross_disabled_images): New variable. | |
636 (COLOR_INTENSITY): New macro. | |
637 (x_detect_edges): Use COLOR_INTENSITY. | |
638 (x_disable_image): New function. | |
639 (syms_of_xfns): DEFVAR_BOOL cross_disabled_images. | |
640 | |
641 * xdisp.c (build_desired_tool_bar_string): For a toolbar item in | |
642 disabled state, don't apply an image transformation algorithm if | |
643 the user specified an image for the disabled state. Use | |
31687 | 644 `:algorithm disabled' for creating a disabled item's image if the |
31652 | 645 user hasn't specified an image. |
646 | |
31639 | 647 * xfns.c (ALLOC_XPM_COLORS): Define if we can use Emacs' color |
648 allocation functions with the XPM lib. | |
649 (struct xpm_cached_color) [ALLOC_XPM_COLORS]: New structure. | |
650 (XPM_COLOR_CACHE_BUCKETS) [ALLOC_XPM_COLORS]: New macro. | |
651 (xpm_color_cache) [ALLOC_XPM_COLORS]: New variable. | |
652 (xpm_init_color_cache, xpm_free_color_cache, xpm_lookup_color) | |
653 (xpm_alloc_color, xpm_free_colors) [ALLOC_XPM_COLORS]: New | |
654 functions. | |
655 (xpm_load) [ALLOC_XPM_COLORS]: Use Emacs' own color allocation | |
656 functions, if possible, because these handle color allocation | |
657 failure more gracefully. | |
658 (Fimage_mask_p): New function. | |
659 | |
31636 | 660 * xfns.c (QCmatrix, QCcolor_adjustment, QCmask, Qemboss) |
661 (Qedge_detection, Qheuristic): New symbols. | |
662 (syms_of_xfns): Initialize new symbols. | |
663 (lookup_image): Handle `:mask X', `:algorithm emboss', and | |
664 `algorithm (edge-detection ...)'. | |
665 (xbm_format, xpm_format, pbm_format, png_format, jpeg_format): | |
666 (tiff_format, gif_format, gs_format): Add `:mask'. | |
667 (XBM_MASK, XPM_MASK, PBM_MASK, PNG_MASK, JPEG_MASK, TIFF_MASK) | |
668 (GIF_MASK, GS_MASK): New enumerators. | |
669 (x_laplace_read_row, x_laplace_write_row): Functions removed. | |
670 (emboss_matrix, laplace_matrix): New variables. | |
671 (x_to_xcolors, x_from_xcolors, x_detect_edges, x_emboss) | |
672 (x_edge_detection): New functions. | |
673 (x_laplace): Rewritten in terms of x_detect_edges. | |
674 (x_build_heuristic_mask): If image has a mask, free it. | |
675 | |
31632 | 676 2000-09-14 Andrew Innes <andrewi@gnu.org> |
677 | |
678 * makefile.w32-in: Revert to Unix line endings. | |
679 | |
31630 | 680 2000-09-14 Andrew Innes <andrewi@gnu.org> |
681 | |
682 * makefile.w32-in: Standardize indentation somewhat. | |
683 (bootstrap-temacs): Use $(ARGQUOTE) instead of literal quotes, to | |
684 cater for differences between shells. | |
685 | |
686 * w32term.c (w32_per_char_metric): Handle non-TrueType fonts. | |
687 | |
31615 | 688 2000-09-14 Gerd Moellmann <gerd@gnu.org> |
689 | |
690 * xterm.c (x_produce_glyphs): If the distance from the current | |
691 position to the next tab stop is less than a canonical character | |
692 width, use the tab stop after that. | |
693 | |
31613 | 694 2000-09-14 Dave Love <fx@gnu.org> |
695 | |
696 * buffer.c (alloc_buffer_text): Fix xmalloc call. | |
697 | |
31607 | 698 2000-09-14 Gerd Moellmann <gerd@gnu.org> |
699 | |
31611 | 700 * xdisp.c (handle_fontified_prop): While running fontification |
701 functions, bind `fontification-functions' and | |
702 `after-change-functions' to nil. | |
703 | |
31607 | 704 * s/freebsd.h, s/irix-5.0.h, s/sol2.h, s/template.h |
705 (USE_MMAP_FOR_BUFFERS): Define instead of REL_ALLOC_MMAP. | |
706 | |
707 * Makefile.in (mallocobj) [SYSTEM_MALLOC]: Don't add ralloc.o. | |
708 | |
709 * emacs.c: Change conditional compilation on REL_ALLOC_MMAP to | |
710 USE_MMAP_FOR_BUFFERS. | |
711 | |
712 * insdel.c (make_gap): Use enlarge_buffer_text. | |
713 | |
714 * buffer.c: Move allocation with mmap here, from ralloc.c. Change | |
715 conditional compilation on REL_ALLOC_MMAP to USE_MMAP_FOR_BUFFERS. | |
716 (mmap_alloc, mmap_free, mmap_realloc) [REL_ALLOC_MMAP]: Renamed | |
717 from former r_alloc_* functions in ralloc.c. | |
718 (mmap_page_size, mmap_initialized_p) [REL_ALLOC_MMAP]: New | |
719 variables. | |
720 (MEM_ALIGN) [REL_ALLOC_MMAP]: New macro. | |
721 (mmap_init) [REL_ALLOC_MMAP]: New function. | |
722 (alloc_buffer_text, enlarge_buffer_text, free_buffer_text): New | |
723 functions replacing macros BUFFER_ALLOC, BUFFER_REALLOC, and | |
724 BUFFER_FREE. | |
725 | |
726 * buffer.h (BUFFER_ALLOC, BUFFER_REALLOC, BUFFER_FREE): Removed. | |
727 (enlarge_buffer_text): Add prototype. | |
728 | |
729 * ralloc.c: Remove everything having to do with the use of mmap. | |
730 | |
31577 | 731 2000-09-13 Gerd Moellmann <gerd@gnu.org> |
732 | |
31588 | 733 * sound.c (Fplay_sound): Doc fix. |
734 | |
31580 | 735 * keyboard.c: Avoid some more compiler warnings. |
736 (parse_tool_bar_item): Ignore cached key bindings. | |
737 | |
31577 | 738 * alloc.c: Add some comments about DOUG_LEA_MALLOC's use of mmap |
739 and allocation of Lisp data. | |
740 | |
31555 | 741 2000-09-12 Gerd Moellmann <gerd@gnu.org> |
742 | |
31571 | 743 * xfaces.c: Remove conditional compilation on SCALABLE_FONTS. |
744 (Finternal_set_lisp_face_attribute): If frame is 0, set new frame | |
745 defaults first. | |
746 | |
31555 | 747 * lread.c (Fload): Put code checking for recursive loads in #if 0. |
748 | |
31550 | 749 2000-09-12 Miyashita Hisashi <himi@meadowy.org> |
750 | |
751 * ccl.c: Comment fixed. | |
752 (MAX_MAP_SET_LEVEL): Increased to 30. | |
753 (PUSH_MAPPING_STACK): Enclose with do-while block. | |
754 (POP_MAPPING_STACK): Likewise. | |
755 (stack_idx_of_map_multiple): New variable. | |
756 (CCL_CALL_FOR_MAP_INSTRUCTION): New macro. | |
757 (ccl_driver) <CCL_IterateMultipleMap>: If the content is a symbol, | |
758 call the corresponding CCL program by | |
759 CCL_CALL_FOR_MAP_INSTRUCTION. | |
760 (ccl_driver) <CCL_MapSingle>: Likewise. | |
761 (ccl_driver) <CCL_MapMultiple>: Rewritten to fix many bugs, deal | |
762 with the case where looking up process reaches to the end of | |
763 map-set, and call CCL programs as the above change. | |
764 | |
31535 | 765 2000-09-11 Gerd Moellmann <gerd@gnu.org> |
766 | |
31544 | 767 * xfns.c (png_load, jpeg_load): Declare some variables volatile |
768 that might be clobbered by longjmp. | |
769 (check_x_display_info, x_decode_color, create_frame_xic) | |
770 (Fx_display_backing_store, Fx_display_visual_class) | |
771 (x_build_heuristic_mask, pbm_scan_number): Avoid compiler | |
772 warnings. | |
773 | |
31537 | 774 * lread.c (init_lread): Set Vloads_in_progress to nil. |
775 (Fload): Show list of recursively loaded files, when signaling an | |
776 error. | |
777 | |
31535 | 778 * lread.c (Vloads_in_progress): New variable. |
779 (record_load_unwind): New function. | |
780 (Fload): Check for recursive loads. | |
781 (syms_of_lread): Initialize Vloads_in_progress. | |
782 (read_integer, read1): Avoid some compiler warnings. | |
783 | |
784 * fns.c (concat, Fsubstring, internal_equal, Fnconc): Avoid some | |
785 compiler warnings. | |
786 | |
31532 | 787 2000-09-11 Miles Bader <miles@gnu.org> |
788 | |
789 * editfns.c (Fbuffer_string): Doc fix. | |
790 | |
31526 | 791 2000-09-10 Gerd Moellmann <gerd@gnu.org> |
792 | |
793 * ralloc.c (mmap_enlarge): Don't return 0 if successful. | |
794 | |
31524
3935d834ff04
s/netbsd.h: NO_C_SOURCE->NOT_C_CODE
Ken Raeburn <raeburn@raeburn.org>
parents:
31523
diff
changeset
|
795 2000-09-09 Ken Raeburn <raeburn@gnu.org> |
3935d834ff04
s/netbsd.h: NO_C_SOURCE->NOT_C_CODE
Ken Raeburn <raeburn@raeburn.org>
parents:
31523
diff
changeset
|
796 |
3935d834ff04
s/netbsd.h: NO_C_SOURCE->NOT_C_CODE
Ken Raeburn <raeburn@raeburn.org>
parents:
31523
diff
changeset
|
797 * s/netbsd.h: Use NOT_C_CODE, not NO_C_SOURCE, when deciding |
3935d834ff04
s/netbsd.h: NO_C_SOURCE->NOT_C_CODE
Ken Raeburn <raeburn@raeburn.org>
parents:
31523
diff
changeset
|
798 whether to include other header files. |
3935d834ff04
s/netbsd.h: NO_C_SOURCE->NOT_C_CODE
Ken Raeburn <raeburn@raeburn.org>
parents:
31523
diff
changeset
|
799 |
31523 | 800 2000-09-09 Gerd Moellmann <gerd@gnu.org> |
801 | |
802 * xfaces.c (CYCLE_CHECK): Don't use the Lisp_Object returned | |
31527 | 803 by Fmemq as a boolean. |
31523 | 804 |
31521
8fa910d9155b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31516
diff
changeset
|
805 2000-09-08 Stefan Monnier <monnier@cs.yale.edu> |
8fa910d9155b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31516
diff
changeset
|
806 |
8fa910d9155b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31516
diff
changeset
|
807 * xfaces.c (Finternal_set_lisp_face_attribute): Minor thinko. |
8fa910d9155b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31516
diff
changeset
|
808 |
31490 | 809 2000-09-08 Gerd Moellmann <gerd@gnu.org> |
810 | |
31516 | 811 * ralloc.c (mmap_fd): Remove initializer which can make it |
812 read-only in a dumped Emacs. | |
813 (mmap_fd_1): New variable. | |
814 (mmap_set_vars): Remove local `fd'. Save mmap_fd in mmap_fd_1, | |
815 restore it from there. | |
816 (r_alloc, r_re_alloc, r_alloc_free): Call r_alloc_init | |
817 unconditionally so that mmap_fd can be initialized there. | |
818 (r_alloc_init_fd): Open-coded in r_alloc_init; function removed. | |
819 (r_alloc_init) [REL_ALLOC_MMAP && !MAP_ANON]: Open /dev/zero. | |
820 (r_alloc_init) [REL_ALLOC_MMAP && MAP_ANON]: Set mmap_fd to -1. | |
821 | |
31508 | 822 * xfaces.c (Finternal_merge_in_global_face): Return a Lisp object. |
823 | |
824 * xdisp.c (dump_glyph_row): Fix printf format string. | |
825 (display_line, move_it_in_display_line_to): Avoid compiler | |
826 warnings. | |
827 | |
31502 | 828 * s/freebsd.h (GC_MARK_STACK, REL_ALLOC_MMAP): Define. |
829 | |
31497 | 830 * keymap.c (Fset_keymap_parent): Check for cycles in keymap |
831 inheritance. | |
832 | |
31494 | 833 * xdisp.c (try_window_id): When trying to locate cursor in |
834 unchanged rows at the top, handle the case that we can't find it. | |
835 | |
31490 | 836 * xterm.c (x_draw_glyphs): Handle case START and END are out |
837 of bounds more carefully. | |
838 | |
31488 | 839 2000-09-08 Dave Love <fx@gnu.org> |
840 | |
31505 | 841 * s/sol2.h (REL_ALLOC_MMAP): Define. |
842 * s/irix5-0.h (REL_ALLOC_MMAP): Likewise. | |
843 | |
844 * ralloc.c: Don't include string.h (redundant). | |
845 (MAP_ANON) [REL_ALLOC_MMAP]: Ensure it's defined. | |
846 [!MAP_ANON]: Include fcntl.h. | |
847 (mmap_fd) [REL_ALLOC_MMAP]: New variable. | |
848 (r_alloc, r_re_alloc, r_alloc_free) | |
849 (mmap_enlarge, mmap_set_vars): Use it. | |
850 (r_alloc_init_fd): New function. | |
851 (__morecore) [SYSTEM_MALLOC]: Don't declare. | |
852 (r_alloc_init): Call r_alloc_init_fd. Conditionalize stuff on | |
853 malloc type. | |
854 | |
855 * Makefile.in (allocaobj) [!SYSTEM_MALLOC && REL_ALLOC_MMAP]: | |
856 Remove vm-limit.o. | |
857 | |
31488 | 858 * unexelf.c (SHT_MIPS_DEBUG, HDRR) [__mips__]: Really confine last |
859 change to __NetBSD__. | |
860 | |
31485 | 861 2000-09-08 Kenichi Handa <handa@etl.go.jp> |
862 | |
863 * search.c (compile_pattern): Check the multibyteness of cached | |
864 string and PATTERN. | |
865 | |
31484 | 866 2000-09-08 Miles Bader <miles@gnu.org> |
867 | |
868 * xfaces.c (default_face_vector): Function removed. | |
869 (Finternal_merge_in_global_face): Restore old global/local | |
870 attribute override order. Use inline loop instead of calling | |
871 default_face_vector. | |
872 | |
31474 | 873 2000-09-07 Gerd Moellmann <gerd@gnu.org> |
874 | |
875 * ralloc.c (obtain, relinquish, relinquish, r_alloc_size_in_use) | |
876 (get_bloc, relocate_blocs, update_heap_bloc_correspondence) | |
877 (resize_bloc, r_alloc_sbrk, r_alloc_init): Add casts to `char *' | |
878 where necessary, in case POINTER_TYPE is `void'. | |
879 | |
31472 | 880 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il> |
881 | |
882 * frame.c (make_terminal_frame): Initialize frame foreground and | |
883 background colors to unspecified, for the initial instance of an | |
884 MSDOS frame. | |
885 | |
31467 | 886 2000-09-07 Gerd Moellmann <gerd@gnu.org> |
887 | |
31469 | 888 * ralloc.c (mmap_find): Fix overlap computation. |
889 (mmap_enlarge): Compute nbytes before trying to find an | |
890 overlapping region. | |
891 | |
31467 | 892 * xfaces.c (smaller_face): Compare font heights with `<' and `>' |
893 instead of `!='. | |
894 | |
895 * lread.c (syms_of_lread): Change value of regexp | |
896 Vbytecomp_version_regexp to not match some XEmacs-compiled files. | |
897 | |
898 * xmenu.c (xdialog_show): When looking up the selection in | |
899 menu_items, take `quote' boundaries into account; this corresponds | |
900 to a nil ITEM in x-popup-dialog. | |
901 | |
31454 | 902 2000-09-07 Kenichi Handa <handa@etl.go.jp> |
903 | |
31459 | 904 * charset.h (MIN_CHARSET_OFFICIAL_DIMENSION1): Define it as 0x80, |
905 not 0x81. | |
906 (MIN_CHAR_OFFICIAL_DIMENSION1): Define it as ((0x81 - 0x70) << 7). | |
907 | |
31454 | 908 * coding.c (encode_coding_sjis_big5): Use translation table for |
31456 | 909 encoding, not decoding. Fix the handling of latin-jisx0201. |
910 Check for the charset katakana-jisx0201 too. | |
31454 | 911 (ONE_MORE_CHAR): Call translate_char with CHARSET arg -1. |
31467 | 912 (detect_coding_sjis): Check the byte sequence more rigidly. |
31454 | 913 |
31441 | 914 2000-09-07 Gerd Moellmann <gerd@gnu.org> |
915 | |
31452 | 916 * xfaces.c (Vparam_value_alist): New variable. |
917 (syms_of_xfaces): Initialize it. | |
918 (Finternal_set_lisp_face_attribute): Avoid more consing. | |
919 | |
920 * frame.c (Fframe_parameter): Handle `name' and `background-mode' | |
921 specially. | |
922 (Fframe_parameter) [HAVE_X_WINDOWS]: Handle `display' specially. | |
923 (Qbackground_mode): New variable. | |
924 (syms_of_frame_1): Initialize Qbackground_mode. | |
925 | |
926 * lisp.h (Qdisplay): Declare extern. | |
31444 | 927 |
31441 | 928 * xfaces.c (Finternal_set_lisp_face_attribute): If FRAME is 0, |
929 change face on all frames, and change the default for new frames. | |
930 | |
31438 | 931 2000-09-07 Dave Love <fx@gnu.org> |
932 | |
933 * Makefile.in [!SYSTEM_MALLOC && REL_ALLOC_MMAP]: Set mallocobj. | |
934 | |
31418 | 935 2000-09-07 Kenichi Handa <handa@etl.go.jp> |
936 | |
31433 | 937 * charset.h (MAKE_CHAR): Be sure to set MSB of C1 to 0. |
938 | |
31432 | 939 * charset.c: Include composite.h |
940 (lisp_string_width): New function. | |
941 (Fstring_width): Call lisp_string_width instead of strwidth. | |
942 | |
943 * Makefile.in (charset.o): Depends on composite.h. | |
944 | |
31418 | 945 * process.c (read_process_output): Before inserting the decoded |
946 text in the buffer, adjust the multibyteness. | |
947 | |
31409 | 948 2000-09-06 Gerd Moellmann <gerd@gnu.org> |
949 | |
31417 | 950 * buffer.c (set_buffer_internal_1) [REL_ALLOC_MMAP]: If |
951 buffer's text buffer is null, map new memory. | |
952 | |
31415 | 953 * ralloc.c (POINTER, SIZE) [emacs]: Define in terms of |
954 POINTER_TYPE and size_t. | |
955 (struct mmap_region) [REL_ALLOC_MMAP]: New structure. | |
956 (mmap_regions, mmap_regions_1) [REL_ALLOC_MMAP]: New variables. | |
957 (ROUND, MMAP_REGION_STRUCT_SIZE, MMAP_REGION, MMAP_USER_AREA) | |
958 [REL_ALLOC_MMAP]: New macros. | |
959 (mmap_find, mmap_free, mmap_enlarge, mmap_set_vars) | |
960 (mmap_mapped_bytes, r_alloc, r_re_alloc, r_alloc_free) | |
961 [REL_ALLOC_MMAP]: New functions. | |
962 | |
963 * emacs.c (Fdump_emacs) [REL_ALLOC_MMAP]: Call mmap_set_vars | |
964 before and after unexec. | |
965 | |
966 * buffer.c (init_buffer) [REL_ALLOC_MMAP]: Map new buffer | |
967 text buffers if necessary. | |
968 | |
969 * buffer.h (R_ALLOC_DECLARE): Removed because unused. | |
970 (r_alloc, r_re_alloc, r_alloc_free): Use POINTER_TYPE and size_t | |
971 in prototypes. | |
972 | |
31409 | 973 * config.in (HAVE_MMAP): Add #undef. |
974 | |
31394 | 975 2000-09-05 Gerd Moellmann <gerd@gnu.org> |
976 | |
31402 | 977 * frame.c (Qdisplay_type): New variable. |
978 (syms_of_frame_1): Initialize it. | |
979 (Fframe_parameter): New function that avoids consing. | |
980 (syms_of_frame): Defsubr it. | |
981 | |
31396 | 982 * buffer.c (Fother_buffer): Consider buffers as invisible when |
983 they are displayed in a window on an invisible frame. | |
984 | |
31394 | 985 * window.c (window_loop) <GET_LARGEST_WINDOW>: Fix bug making |
986 get-largest-window always return nil. | |
987 | |
31368 | 988 2000-09-04 Gerd Moellmann <gerd@gnu.org> |
989 | |
990 * lread.c (syms_of_lread): Make Vbytecomp_version_regexp a Lisp | |
991 variable; recognize Emacs 19 elc files. | |
992 | |
31366 | 993 2000-09-04 Miles Bader <miles@gnu.org> |
994 | |
995 * xmenu.c (xmenu_show): Call x_set_menu_resources_from_menu_face | |
996 before initially popping up the menu, so the menu doesn't flash | |
997 when the face settings are significantly different from the | |
998 defaults. | |
999 | |
31360
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1000 2000-09-04 Stefan Monnier <monnier@cs.yale.edu> |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1001 |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1002 * regex.c (WIDE_CHAR_SUPPORT): New macro. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1003 (btowc, iswctype, wctype) [_LIBC]: Redefine to __<fun>. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1004 (BIT_ALPHA, BIT_ALNUM, BIT_ASCII, BIT_NONASCII, BIT_GRAPH, BIT_PRINT) |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1005 (BIT_UNIBYTE): Remove. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1006 (re_match_2_internal): Delete corresponding code and streamline the |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1007 BIT_MULTIBYTE case to not bother checking ISUNIBYTE. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1008 (CHAR_CLASS_MAX_LENGTH) [!WIDE_CHAR_SUPPORT]: Set to 9 rather than 6. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1009 (re_wctype_t): New type. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1010 (re_wctype, re_iswctype, re_wctype_to_bit): New functions. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1011 (regex_compile): Use them and fix handling of overly long char classes. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
1012 |
31352 | 1013 2000-09-03 Andrew Innes <andrewi@gnu.org> |
1014 | |
31359 | 1015 * makefile.w32-in: Change to DOS line endings. |
1016 | |
31352 | 1017 * s/ms-w32.h (ORDINARY_LINK): New define. |
1018 | |
1019 * w32.c (_ANONYMOUS_UNION) [__GNUC__]: New define | |
1020 (_ANONYMOUS_STRUCT) [__GNUC__]: New define. | |
1021 | |
1022 * makefile.w32-in (clean): Don't delete config.h and epaths.h. | |
1023 (distclean): Delete them here instead. | |
1024 | |
31355 | 1025 * w32proc.c (compare_env): Convert to uppercase for comparison, |
1026 not lowercase, to match how the native Windows shell works. | |
1027 | |
31346 | 1028 2000-09-03 Jason Rumney <jasonr@gnu.org> |
1029 | |
1030 * ChangeLog: Remove -unix from coding. Let Emacs autodetect, as | |
1031 CVS changes the line-ends when checking in/out on DOS/Windows. | |
1032 | |
1033 * makefile.nt (emacs): Do not change directory to run temacs, as | |
1034 the load-path is set relative to current directory. | |
1035 | |
31342 | 1036 2000-09-03 Miles Bader <miles@gnu.org> |
1037 | |
1038 * xterm.c (x_alloc_lighter_color_for_widget): New function. | |
1039 | |
31333 | 1040 2000-09-02 Gerd Moellmann <gerd@gnu.org> |
1041 | |
31339 | 1042 * xdisp.c (redisplay_mode_lines): New function. |
1043 (display_mode_lines): Return number of mode lines displayed. | |
1044 (echo_area_display): Use redisplay_mode_lines to draw garbaged | |
1045 mode lines. Don't temporarily bind redisplay-dont-pause to t. | |
1046 | |
31337 | 1047 * emacs.c, callint.c, doc.c, editfns.c: Remove includes of |
1048 string.h and strings.h. | |
1049 (index) [HAVE_INDEX]: Add prototype. | |
1050 | |
31333 | 1051 * unexelf.c (SHT_PROGBITS) [__NetBSD__ && !PT_LOAD]: Don't define. |
1052 (SHT_MIPS_DEBUG, HDRR) [__NetBSD__ && __mips__]: Define. | |
1053 | |
1054 * s/netbsd.h [!NO_C_SOURCE]: Include <signal.h>. | |
1055 (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
1056 | |
31316 | 1057 2000-09-01 Gerd Moellmann <gerd@gnu.org> |
1058 | |
1059 * lread.c (read1): Accept `?' as symbol constituent, for | |
1060 compatiblity with XEmacs. | |
1061 | |
31312
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1062 2000-08-31 Stefan Monnier <monnier@cs.yale.edu> |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1063 |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1064 * regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag. |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1065 (struct re_pattern_buffer): Remove newline_anchor. |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1066 * regex.c: Keep namespace clean for GNU libc by renaming <fun> |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1067 to __<fun> and using `weak_alias (__<fun>, <fun>)'. |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1068 (re_max_failures, fail_stack): Use size_t rather than unsigned. |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1069 (regex_compile): For ^ and $, choose between buffer and line (beg|end) |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1070 depending on the new RE_NO_NEWLINE_ANCHOR syntax flag. |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1071 (print_compiled_pattern, re_search_2, mutually_exclusive_p) |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1072 (re_match_2_internal, re_compile_pattern, re_comp, regcomp): |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1073 Get rid of references to newline_anchor. |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1074 (regcomp): Allocate and precompute a fastmap. |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
1075 |
31308 | 1076 2000-08-31 Gerd Moellmann <gerd@gnu.org> |
1077 | |
1078 * lread.c (openp): GCPRO local variable `filename'. | |
1079 | |
31300
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1080 2000-08-30 Stefan Monnier <monnier@cs.yale.edu> |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1081 |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1082 * regex.h (struct re_pattern_buffer): Use size_t for used/allocated. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1083 |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1084 * regex.c: Merge some changes from GNU libc. Add prototypes. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1085 (bcopy, bcmp, REGEX_REALLOCATE, re_match_2_internal): |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1086 Use memcmp and memcpy instead of bcopy and bcmp. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1087 (init_syntax_once): Use ISALNUM. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1088 (PUSH_FAILURE_POINT, re_match_2_internal): Remove failure_id. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1089 (REG_UNSET_VALUE): Remove. Use NULL instead. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1090 (REG_UNSET, re_match_2_internal): Use NULL. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1091 (SET_HIGH_BOUND, MOVE_BUFFER_POINTER, ELSE_EXTEND_BUFFER_HIGH_BOUND): |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1092 New macros. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1093 (EXTEND_BUFFER): Use them (to work with BOUNDED_POINTERS). |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1094 (GET_UNSIGNED_NUMBER): Don't use ISDIGIT. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1095 (regex_compile): In handle_interval, return an error rather than try to |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1096 unfetch the interval if we can't find the closing brace. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1097 Obey the RE_NO_GNU_OPS syntax bit. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1098 (TOLOWER): New macro. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1099 (regcomp): Use it. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1100 (regexec): Allocate regs.start and regs.end as one block. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1101 |
31293 | 1102 2000-08-30 Gerd Moellmann <gerd@gnu.org> |
1103 | |
31296 | 1104 * xdisp.c (echo_area_display): Check display_completed instead |
1105 of calling detect_input_pending. | |
1106 | |
31297 | 1107 * dispnew.c (update_frame): Only set display_completed here; move |
31296 | 1108 the update_begin and update_end calls here from update_frame_1. |
1109 (update_frame_1): Don't set display_completed here, don't call | |
1110 update_begin/update_end. | |
1111 | |
31293 | 1112 * xfaces.c (set_font_frame_param): Use Fmodify_frame_parameters |
1113 instead of store_frame_param. | |
1114 | |
31272 | 1115 2000-08-29 Gerd Moellmann <gerd@gnu.org> |
1116 | |
1117 * dispnew.c (build_frame_matrix_from_leaf_window): If a row of a | |
1118 desired window matrix hasn't been displayed, use the current row | |
1119 instead. Make sure that only those frame rows are updated for | |
1120 which there exists a corresponding enabled desired row. | |
1121 | |
31263 | 1122 2000-08-29 Miles Bader <miles@gnu.org> |
1123 | |
1124 * xfaces.c (default_face_vector): New function. | |
1125 (Finternal_merge_in_global_face): Use it instead of merge_face_vectors. | |
1126 | |
31256 | 1127 2000-08-29 Gerd Moellmann <gerd@gnu.org> |
1128 | |
1129 * lread.c (openp): Prevent temporary string passed to | |
1130 Ffile_readable_p from being garbage collected. | |
1131 | |
31234 | 1132 2000-08-28 Dave Love <fx@gnu.org> |
1133 | |
1134 * keymap.c (store_in_keymap): Add `static' to declaration. | |
1135 | |
31229 | 1136 2000-08-28 Gerd Moellmann <gerd@gnu.org> |
1137 | |
1138 * emacs.c, callint.c, doc.c, editfns.c | |
1139 (toplevel) [HAVE_STRING_H]: Include string.h. | |
1140 (toplevel) [HAVE_STRINGS_H]: Include strings.h. | |
1141 (index): Remove prototypes which might conflict with non-standard | |
1142 definitions of index/strchr. | |
1143 | |
1144 * s/usg5-3.h (index): Define only if not HAVE_INDEX. | |
1145 (rindex): Define only if !HAVE_RINDEX. | |
1146 | |
1147 * s/sco5.h (bcopy, bzero, bcmp): Don't define. | |
1148 | |
1149 * config.in (HAVE_INDEX, HAVE_RINDEX, HAVE_STRINGS_H): Add undefs. | |
1150 | |
31222 | 1151 2000-08-28 Miles Bader <miles@gnu.org> |
1152 | |
1153 * xfaces.c (merge_face_vectors): Clear TO's :font attribute if | |
1154 made inconsistent by a font-related attribute in FROM. | |
1155 (merge_face_inheritance): Add function comment. | |
1156 | |
31216 | 1157 2000-08-28 Kenichi Handa <handa@etl.go.jp> |
1158 | |
1159 * keyboard.c (read_char_minibuf_menu_prompt): Call read_char with | |
1160 the 4th arg (PREV_EVENT) Qt to suppress input method. | |
1161 | |
31210
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1162 2000-08-27 Stefan Monnier <monnier@cs.yale.edu> |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1163 |
31214
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1164 * regex.c: Indent cpp directives and remove parens after `defined'. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1165 (PTR_TO_OFFSET, POS_AS_IN_BUFFER): Move to a better place. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1166 (ISDIGIT, ISCNTRL, ISXDIGIT) [!emacs]: Remove duplicate definition. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1167 (regex_compile): Use RE_FRUGAL instead of RE_ALL_GREEDY. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1168 (re_compile_pattern): Use size_t for length. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1169 (init_syntax_once): Move to a better place. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1170 * regex.h: Merge changes from GNU libc. Indent cpp directives. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1171 (RE_FRUGAL): Replaces RE_ALL_GREEDY (inverted meaning). |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1172 |
31210
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1173 * syntax.c (back_comment): Detect cases where a comment-starter is |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1174 actually inside another comment as in: /* a // b */ c // d \n. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1175 Make it clear that `comstart_pos' is unused for nested comments. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1176 |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1177 * keymap.c (store_in_keymap, fix_submap_inheritance): New prototypes. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1178 (KEYMAPP): New macro. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1179 (Fkeymap_parent, Fset_keymap_parent): Use it. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1180 (fix_submap_inheritance): Mark it static. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1181 (define_as_prefix, describe_buffer_bindings, describe_command) |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1182 (describe_translation, describe_map): Complete prototypes. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1183 |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1184 * lisp.h (store_in_keymap, fix_submap_inheritance): Remove. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1185 |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1186 * keyboard.c (menu_bar_item): Detect duplicate entries for all items |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1187 to better match the key-lookup behavior. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1188 |
31203 | 1189 2000-08-27 Gerd Moellmann <gerd@gnu.org> |
1190 | |
1191 * xfaces.c (lface_fully_specified_p): Handle :inherit. | |
1192 (Finternal_set_lisp_face_attribute): Fix typo in error message. | |
1193 | |
31200 | 1194 2000-08-27 Eli Zaretskii <eliz@is.elta.co.il> |
1195 | |
1196 * Makefile.in (dispnew.o, indent.o, fontset.o, minibuf.o) | |
1197 (process.o, scroll.o, sysdep.o): Depend on keyboard.h. | |
1198 (xterm.o): Depend on coding.h | |
1199 | |
31181 | 1200 2000-08-26 Kenichi Handa <handa@etl.go.jp> |
1201 | |
1202 * cmds.c (internal_self_insert): Delete '#ifdef HAVE_FACES' and | |
1203 the corresponding '#endif'. | |
1204 | |
31180 | 1205 2000-08-26 Miles Bader <miles@gnu.org> |
1206 | |
1207 * dispextern.h (enum lface_attribute_index): Add LFACE_INHERIT_INDEX. | |
1208 * xfaces.c (QCinherit): New variable. | |
1209 (syms_of_xfaces): Initialize it. | |
1210 (LFACE_INHERIT): New macro. | |
1211 (Finternal_get_lisp_face_attribute) | |
1212 (merge_face_vector_with_property) | |
1213 (Finternal_set_lisp_face_attribute): Deal with :inherit attribute. | |
1214 (check_lface_attrs): Allow new types of face height. Check | |
1215 inherit attribute. | |
1216 (CYCLE_CHECK): New macro. | |
1217 (merge_face_inheritance): New function. | |
1218 (merge_face_vectors): Merge inherited faces too. Add F and | |
1219 CYCLE_CHECK arguments. | |
1220 (merge_face_vector_with_property, Finternal_merge_in_global_face) | |
1221 (lookup_named_face, lookup_derived_face, realize_named_face) | |
1222 (face_at_string_position, face_at_buffer_position): Supply | |
1223 new F and CYCLE_CHECK arguments to merge_face_vectors. | |
1224 (merge_face_heights): New function. | |
1225 (merge_face_vectors, merge_face_vector_with_property) | |
1226 (Finternal_set_lisp_face_attribute): Call merge_face_heights to | |
1227 handle relative face heights. | |
1228 (lface_same_font_attributes_p): Compare heights using EQ. | |
1229 | |
31176 | 1230 2000-08-26 Kenichi Handa <handa@etl.go.jp> |
1231 | |
1232 * charset.c (char_to_string): Check the character validity. | |
1233 (char_valid_p): If C is not less than MAX_CHAR, be sure to return | |
1234 0. | |
1235 | |
31172
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1236 2000-08-25 Stefan Monnier <monnier@cs.yale.edu> |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1237 |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1238 * regex.c (PUSH_FAILURE_COUNT): New macro. |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1239 (POP_FAILURE_REG_OR_COUNT): Renamed from POP_FAILURE_REG. |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1240 Handle popping of a register's or a counter's data. |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1241 (POP_FAILURE_POINT): Use the new name. |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1242 (re_match_2_internal): Push counter data on the stack for succeed_n, |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1243 jump_n and set_number_at and remove misleading dead code in succeed_n. |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1244 |
31171 | 1245 2000-08-25 Gerd Moellmann <gerd@gnu.org> |
1246 | |
1247 * xdisp.c (redisplay_internal): If considering all windows on all | |
1248 frames, update the display for each frame as soon as possible, | |
1249 instead of first building all desired matrices for all frames, and | |
1250 then updating them all. | |
1251 (try_cursor_movement): Handle case that last_cursor.vpos is -1. | |
1252 | |
31148 | 1253 2000-08-24 Gerd Moellmann <gerd@gnu.org> |
1254 | |
31153 | 1255 * bytecode.c (mark_byte_stack): Add a comment. |
1256 | |
31148 | 1257 * frame.h (FRAME_FLAGS_AREA_COLS, FRAME_FLAGS_AREA_WIDTH) |
1258 (FRAME_LEFT_FLAGS_AREA_WIDTH): Return 0 unless frame is | |
1259 a graphical frame. | |
1260 | |
31137 | 1261 2000-08-24 Kenichi Handa <handa@etl.go.jp> |
1262 | |
31139 | 1263 * minibuf.c (do_completion): Always use compare-string, not |
1264 string-equal because the latter doesn't pay attention to | |
1265 multibyteness of strings. | |
1266 | |
31137 | 1267 * process.c (create_process): Don't setup raw-text coding here. |
1268 (Fopen_network_stream): Don't set coding->src_multibyte and | |
1269 coding->dst_multibyte here. | |
1270 (read_process_output): For process filter, return unibyte string | |
1271 if default-enable-multibyte-characters is nil. | |
1272 (send_process): If OBJECT is multibyte text, be sure to encoded it | |
1273 by the specified coding system for the process. Otherwise, setup | |
1274 raw-text coding. | |
1275 (init_process): Don't initialize default-process-coding-system | |
1276 here. | |
1277 | |
31129 | 1278 2000-08-23 Eli Zaretskii <eliz@is.elta.co.il> |
1279 | |
1280 * buffer.c (syms_of_buffer) <scroll-up-aggressively>: Doc fix. | |
1281 <scroll-down-aggressively>: Likewise. | |
1282 | |
31121 | 1283 2000-08-23 Kenichi Handa <handa@etl.go.jp> |
1284 | |
31122 | 1285 * coding.c (encode_eol): Fix bug for the case of dst_bytes being |
1286 zero. Set coding->produced_char correctly. | |
31121 | 1287 |
31120 | 1288 2000-08-22 Andrew Innes <andrewi@gnu.org> |
1289 | |
1290 * makefile.w32-in: New file. | |
1291 | |
1292 * unexw32.c (unexec): Ignore old_name, and use the actual location | |
1293 of the current executable instead. Base new_name on this. | |
1294 | |
1295 * w32proc.c (create_child): Remove reference to security | |
1296 descriptor, which isn't needed and doesn't compile with mingw32. | |
1297 | |
1298 * w32term.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1299 up dllimport attributes. | |
1300 (x_update_window_end): Update prototype. | |
1301 | |
1302 * unexec.c (write_segment) [USE_CRT_DLL]: Remove unnecessary | |
1303 extern, which screws up dllimport attributes. | |
1304 | |
1305 * sysdep.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1306 up dllimport attributes. | |
1307 | |
1308 * strftime.c [USE_CRT_DLL]: Remove unnecessary extern, which | |
1309 screws up dllimport attributes. | |
1310 | |
1311 * process.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1312 up dllimport attributes. | |
1313 (create_process) [USE_CRT_DLL]: Remove unnecessary extern, which | |
1314 screws up dllimport attributes. | |
1315 | |
1316 * lread.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1317 up dllimport attributes. | |
1318 | |
1319 * keyboard.c [USE_CRT_DLL]: Remove unnecessary extern, which | |
1320 screws up dllimport attributes. | |
1321 | |
1322 * floatfns.c [USE_CRT_DLL]: Remove unnecessary extern, which | |
1323 screws up dllimport attributes. | |
1324 | |
1325 * fileio.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1326 up dllimport attributes. | |
1327 | |
1328 * emacs.c (malloc_initialize_hook) [USE_CRT_DLL]: Remove | |
1329 unnecessary extern, which screws up dllimport attributes. | |
1330 (main): Ditto. | |
1331 | |
1332 * editfns.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1333 up dllimport attributes. | |
1334 | |
1335 * dispnew.c (window_change_signal) [USE_CRT_DLL]: Remove | |
1336 unnecessary extern, which screws up dllimport attributes. | |
1337 | |
1338 * callproc.c [USE_CRT_DLL]: Remove unnecessary extern, which | |
1339 screws up dllimport attributes. | |
1340 | |
1341 * buffer.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1342 up dllimport attributes. | |
1343 | |
1344 * w32proc.c (IsValidLocale): Extern missing from mingw32 headers. | |
1345 | |
1346 * w32bdf.c (search_file_line): | |
1347 (set_bdf_font_info): | |
1348 (seek_char): | |
1349 (w32_get_bdf_glyph): | |
1350 (w32_BDF_to_x_font): Fix compile warnings. | |
1351 | |
1352 * w32menu.c: Include keyboard.h before frame.h. Fix compile | |
1353 warnings. | |
1354 | |
1355 * w32select.c: Include keyboard.h before frame.h. | |
1356 | |
1357 * w32fns.c (max): Define macro. | |
1358 (JOHAB_CHARSET): Define if not known. | |
1359 (MOD_ALT, MOD_CONTROL, MOD_SHIFT, MOD_WIN): Define if not known. | |
1360 (Fx_show_tip): Synch with X version. | |
1361 | |
1362 * w32xfns.c: Include keyboard.h before frame.h. | |
1363 | |
1364 * w32fns.c: Include keyboard.h before frame.h. | |
1365 | |
1366 * w32term.c: Include keyboard.h before frame.h. | |
1367 | |
1368 * fontset.c: Include keyboard.h before frame.h. | |
1369 | |
1370 * w32inevt.c: Include keyboard.h before frame.h. | |
1371 (MOUSE_MOVED): Define if not known. | |
1372 | |
1373 * minibuf.c: Include keyboard.h before frame.h. | |
1374 | |
1375 * keyboard.c: Include keyboard.h before frame.h. | |
1376 | |
1377 * indent.c: Include keyboard.h before frame.h. | |
1378 | |
1379 * dispnew.c: Include keyboard.h before frame.h. | |
1380 | |
1381 * buffer.c: Include keyboard.h before frame.h. | |
1382 | |
1383 * alloc.c: Include keyboard.h before frame.h. | |
1384 | |
1385 * print.c: Include keyboard.h before frame.h. | |
1386 | |
1387 * process.c: Include keyboard.h before frame.h. | |
1388 | |
1389 * scroll.c: Include keyboard.h before frame.h. | |
1390 | |
1391 * sysdep.c: Include keyboard.h before frame.h. | |
1392 | |
1393 * term.c: Include keyboard.h before frame.h. | |
1394 | |
1395 * window.c: Include keyboard.h before frame.h. | |
1396 | |
1397 * xdisp.c: Include keyboard.h before frame.h. | |
1398 Separate GLYPH_DEBUG and DEBUG_TRACE_MOVE. | |
1399 | |
1400 * frame.c: Include keyboard.h before frame.h. | |
1401 | |
1402 * w32heap.h: Undefine min, max. | |
1403 | |
1404 * w32gui.h: Undefine min, max. | |
1405 | |
1406 * unexw32.c: Change PUCHAR to PCHAR. | |
1407 (PTR_TO_OFFSET): Cast ptr to unsigned char *. | |
1408 (relocate_offset): | |
1409 (get_section_info): | |
1410 (copy_executable_and_dump_data): Remove unnecessary static defs. | |
1411 (copy_executable_and_dump_data): Fix compile warnings. | |
1412 | |
1413 * sysdep.c (NULL) [WINDOWSNT]: Define NULL if not defined. | |
1414 | |
1415 * w32console.c (min): Define macro. | |
1416 (clear_frame, write_glyphs): Fix compile warning. | |
1417 | |
1418 * w32proc.c (compare_env): | |
1419 (find_child_console): Fix compile warning. | |
1420 | |
1421 * w32.c (sys_strerror): Use sys_nerr instead of _sys_nerr. Use | |
1422 sys_errlist instead of _sys_errlist. | |
1423 (get_emacs_configuration_options): New function. | |
1424 | |
1425 * s/ms-w32.h (sys_nerr): Provide default definition. | |
1426 (strdup, strupr, strnicmp, stricmp, tzset, tzname): Map to same | |
1427 name with _ prepended. | |
1428 (NSIG): Define if not known. | |
1429 (get_emacs_configuration): Provide extern declaration. | |
1430 (get_emacs_configuration_options): Provide extern declaration. | |
1431 (EMACS_CONFIG_OPTIONS): Call get_emacs_configuration_options. | |
1432 | |
1433 * w32.c (gettimeofday): Use struct timeb, not struct _timeb. | |
1434 (map_w32_filename): | |
1435 (read_unc_volume): Fix compile warning. | |
1436 | |
1437 * s/ms-w32.h (_WINSOCK_H): Define to prevent normal winsock | |
1438 definitions from being used. | |
1439 | |
1440 * lisp.h [WINDOWSNT]: Don't declare externs for getenv, ctime and getwd. | |
1441 | |
1442 * w32.c (unc_volume_file_attributes): | |
1443 (open_unc_volume): Make arg const. | |
1444 | |
1445 * sysdep.c [WINDOWSNT]: Remove extern decl of errno. | |
1446 (read_input_waiting): Remove excess parameter. | |
1447 | |
1448 * w32.c (init_environment): Call _access. | |
1449 (check_windows_init_file): Call _close. | |
1450 (init_user_info): Call _putenv. | |
1451 (init_environment): Call _putenv and _strdup. | |
1452 (init_ntproc): Reset volume info cache on startup. | |
1453 | |
1454 * s/ms-w32.h (malloc, free, realloc, calloc): Rename if | |
1455 USE_CRT_DLL is defined, so Emacs can use GNU malloc even though it | |
1456 cannot override the CRT malloc. | |
1457 | |
1458 * makefile.nt (LOCAL_FLAGS): Define USE_CRT_DLL if requested. | |
1459 (LINK_FLAGS): Append to original value of LINK_FLAGS. | |
1460 | |
1461 * w32heap.c [!USE_CRT_DLL]: Don't define _heap_init and _heap_term | |
1462 unless we are linking with a static CRT. | |
1463 (RVA_TO_PTR): Cast result to unsigned char*. | |
1464 | |
1465 * w32.c (GetCachedVolumeInformation): Use xmalloc, xfree and xstrdup. | |
1466 (add_volume_info): Use xstrdup. | |
1467 | |
31107
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1468 2000-08-22 Stefan Monnier <monnier@cs.yale.edu> |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1469 |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1470 * minibuf.c (Vcompletion_auto_help): Renamed from `auto_help'. |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1471 (do_completion, Fminibuffer_complete_word): Use it. |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1472 (syms_of_minibuf): Turn completion-auto-help into a proper Lisp |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1473 var so it can take non-boolean values. |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1474 |
31004 | 1475 2000-08-21 Gerd Moellmann <gerd@gnu.org> |
1476 | |
31017 | 1477 * editfns.c (find_field): Formatting changes. |
1478 (toplevel): Some old-style function forward declarations | |
1479 changed to prototypes, some new protypes added, some functions | |
1480 made static. | |
1481 | |
1482 * lisp.h (set_time_zone_rule): Add prototype. | |
1483 (use_dialog_box): External declaration. | |
1484 | |
31014 | 1485 * keyboard.c (gen_help_event): Add parameter SIZE. |
1486 (kbd_buffer_events_waiting): Slightly rewritten. | |
1487 (clear_event): New function. | |
1488 (kbd_buffer_get_event): Use it, and clear the input_events of | |
1489 HELP_EVENTs. | |
1490 (init_keyboard): Remove duplicate creation of kbd_buffer_gcpro and | |
1491 don't fill the newly created array with nils. | |
1492 (toplevel): Convert some old-style function forward declarations | |
1493 to prototypes. | |
1494 | |
1495 * keyboard.h (gen_help_event): Change prototype. | |
1496 | |
1497 * xterm.c (XTread_socket): Change calls to gen_help_event. | |
1498 | |
1499 * w32term.c (w32_read_socket): Change calls to gen_help_event. | |
1500 | |
31004 | 1501 * eval.c (Fmacroexpand): Doc fix. |
1502 | |
30990 | 1503 2000-08-20 Jason Rumney <jasonr@gnu.org> |
1504 | |
1505 * w32term.h (x_display_info_for_display): Remove as this function | |
1506 does not exist on W32. | |
1507 | |
1508 * w32term.c (help_echo_window): New variable. | |
1509 (syms_of_w32term): staticpro it. | |
1510 (note_mode_line_highlight): Set it. | |
1511 (XTextExtents16): Removed as there is no equivalent on W32. | |
1512 (x_compute_glyph_string_overhangs): Incomplete body removed, as | |
1513 the X way of doing this will not work for W32. | |
1514 (w32_intersect_rectangles): Removed. Use IntersectRect API call. | |
1515 (x_draw_image_foreground): Avoid drawing outside of the clip area | |
1516 when image doesn't have a mask. | |
1517 (note_mouse_highlight): Process overlays in the right order of | |
1518 priority. Set help_echo_window. | |
1519 (x_draw_bar_cursor): If cursor is on an image, draw a box cursor | |
1520 because that's more visible for large images. | |
1521 | |
1522 * w32menu.c (keymap_panes): Pass the keymap's prompt as the pane | |
1523 name to single_keymap_panes. | |
1524 (w32_menu_show): Set wv->title when dealing with titles. | |
1525 (w32_menu_display_help): Call show_help_echo with OBJECT and POS. | |
1526 | |
30977 | 1527 2000-08-21 Miles Bader <miles@gnu.org> |
1528 | |
1529 * minibuf.c (do_completion): Try again if we rewrite the input | |
1530 string, but no completion was done, so that any completion message | |
1531 will be correct. | |
1532 | |
30975 | 1533 2000-08-20 Gerd Moellmann <gerd@gnu.org> |
1534 | |
1535 * xfaces.c (lface_equal_p): Compare strings differently. | |
1536 (Qtty_color_alist, Vtty_defined_color_alist): New variables. | |
1537 (realize_tty_face): Use them. | |
1538 (syms_of_xfaces): Initialize new variables. | |
1539 (map_tty_color): New function, extracted from realize_tty_face. | |
1540 (map_tty_color) [MSDOS || WINDOWSNT]: If using the frame's default | |
1541 foreground or background color, store the new color name in the | |
1542 realized face; previous code trying to do this had no effect. | |
1543 (realize_tty_face): Use map_tty_color. | |
1544 (Fclear_face_cache): Set face_change_count and ensure thorough | |
1545 redisplay. | |
1546 | |
30963 | 1547 2000-08-19 Gerd Moellmann <gerd@gnu.org> |
1548 | |
30975 | 1549 * undo.c (record_first_change, record_marker_adjustment): Don't |
1550 use XBUFFER on last_undo_buffer which might not be a buffer. | |
30963 | 1551 |
30949 | 1552 2000-08-18 Kenichi Handa <handa@etl.go.jp> |
1553 | |
1554 * coding.c (decode_coding_string): Set members consumed, | |
1555 consumed_char, produced, produced_char of *coding correctly. If | |
1556 decode_coding doesn't consume any byte, don't try anymore. | |
1557 (encode_coding_string): Likewise. | |
1558 | |
30944 | 1559 2000-08-18 Gerd Moellmann <gerd@gnu.org> |
1560 | |
30975 | 1561 * lisp.h (CHECK) [ENABLE_CHECKING]: Make both sides of the |
1562 conditional have void type, for Standard C compilers. | |
30944 | 1563 |
1564 * xdisp.c (redisplay_internal): Compare windows for equality with | |
1565 EQ, instead of applying XWINDOW to something that might not | |
1566 be a window. | |
1567 | |
30940 | 1568 2000-08-18 Kenichi Handa <handa@etl.go.jp> |
1569 | |
1570 * fontset.c (Finternal_char_font): Search only the selected frame | |
1571 for a window of the current buffer. | |
1572 | |
30937 | 1573 2000-08-18 Gerd Moellmann <gerd@gnu.org> |
1574 | |
30975 | 1575 * minibuf.c (do_completion): Use EQ instead of `!=' to compare |
30939 | 1576 Lisp_Objects. |
1577 | |
30937 | 1578 * keyboard.c (kbd_buffer_get_event): Handle the case that the |
1579 second half of a HELP_EVENT is found at the start of kbd_buffer. | |
1580 | |
30932 | 1581 2000-08-18 Miles Bader <miles@gnu.org> |
1582 | |
30935 | 1583 * lisp.h (Lisp_String): Replace DECLARE_INTERVALS with real decl. |
1584 | |
30932 | 1585 * editfns.c (save_restriction_save): Rewrite to use markers. |
1586 (save_restriction_restore): Rewrite to understand new form of data | |
1587 saved by save_restriction_save. | |
1588 (Fsave_restriction): Remove cautionary note in doc-string. | |
1589 | |
30928 | 1590 2000-08-17 Gerd Moellmann <gerd@gnu.org> |
1591 | |
1592 * fileio.c (build_annotations): Add a comment explaining the | |
1593 return value of format-annotate-function. Replace a spurious call | |
1594 to Flength with a CONSP test. Call format-annotate-function with | |
1595 a fifth arg specifying how many times the function is been called | |
1596 in a row, to let it choose temporary buffers appropriately. | |
1597 | |
30919 | 1598 2000-08-17 Dave Love <fx@gnu.org> |
1599 | |
1600 * lisp.h: Remove DECLARE_INTERVALS, INITIALIZE_INTERVAL. Don't | |
1601 declare make_temp_name twice. | |
1602 | |
1603 * lread.c: Prototype readevalloop, load_unwind, | |
1604 load_descriptor_unwind. | |
1605 (unreadpure): Give it an arg. | |
1606 | |
1607 * unexalpha.c: Prototype fatal_unexec, mark_x, | |
1608 update_dynamic_symbols. Declare unexec as void. | |
1609 | |
1610 * cm.c [HAVE_TERMCAP_H]: Include <termcap.h>. | |
1611 [!HAVE_TERMCAP_H]: Prototype tputs, tgoto. | |
1612 | |
1613 * alloc.c (lisp_malloc): Declare with POINTER_TYPE. | |
1614 [SYSTEM_MALLOC]: Make decls in malloc.h conditional on | |
1615 DOUG_LEA_MALLOC. | |
1616 | |
1617 * alloca.c: Use #error. | |
1618 [POINTER_TYPE]: Use it. | |
1619 | |
1620 * eval.c (Fdefvar): Doc fix. | |
1621 | |
1622 * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Avoid | |
1623 INITIALIZE_INTERVAL. | |
1624 | |
1625 * buffer.h: Avoid DECLARE_INTERVALS. | |
1626 | |
1627 * config.in: Add size_t. | |
1628 | |
30901 | 1629 2000-08-17 Eli Zaretskii <eliz@is.elta.co.il> |
1630 | |
1631 * w16select.c (set_clipboard_data): If there's not enough memory | |
1632 to put text into clipboard, return 1, as Fw16_set_clipboard_data | |
1633 expects. In case of other failures, return 3. | |
1634 (system_error_msg): New error message. | |
1635 (Fw16_set_clipboard_data): If set_clipboard_data returns 3, print | |
1636 system_error_msg. | |
1637 | |
30849 | 1638 2000-08-16 Gerd Moellmann <gerd@gnu.org> |
1639 | |
1640 * term.c (write_glyphs): Also turn off inverse video after turning | |
1641 off other appearances in case TS_exit_attribute_mode is not equal | |
1642 to TS_end_standout_mode. | |
1643 (insert_glyphs): Turn inverse video on/off for each run of glyphs | |
1644 with the same face. | |
1645 (turn_off_face): Reset standout_mode only if | |
1646 TS_exit_attribute_mode has been output and TS_exit_attribute_mode | |
1647 is equal to TS_end_standout_mode. | |
1648 | |
30843 | 1649 2000-08-16 Kenichi Handa <handa@etl.go.jp> |
1650 | |
30846 | 1651 * coding.c (encode_coding): Fix the bug of not flushing ISO escape |
1652 sequence at the end of the source block. | |
1653 | |
30843 | 1654 * ccl.c (Fccl_program_p): Docstring modified. |
1655 (Fccl_execute): Likewise. | |
1656 (Fccl_execute_on_string): Likewise. | |
1657 | |
30841 | 1658 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il> |
1659 | |
1660 * msdos.c (IT_write_glyphs): Convert cbp to unsigned char *. | |
1661 | |
30830 | 1662 2000-08-16 Kenichi Handa <handa@etl.go.jp> |
1663 | |
1664 The following changes are mainly to fix bugs of | |
1665 encode/decode-coding-string failing if encoding/decoding return | |
1666 CODING_FINISH_INSUFFICIENT_DST. In addition, delete the global | |
1667 variable conversion_buffer. | |
1668 | |
1669 * ccl.c (CCL_WRITE_CHAR): If CH is eight-bit-control char, | |
1670 decrement dst_end to avoid buffer overflow in the later call of | |
1671 string_as_multibyte | |
1672 | |
1673 * coding.h (conversion_buffer_size, conversion_buffer) | |
1674 (get_conversion_buffer): Extern deleted. | |
1675 | |
1676 * coding.c (MINIMUM_CONVERSION_BUFFER_SIZE): Macro deleted. | |
1677 (conversion_buffer, conversion_buffer_size): Variables deleted. | |
1678 (get_conversion_buffer): Function deleted. | |
1679 (struct conversion_buffer): New structure. | |
1680 (MAX_ALLOCA): New macro. | |
1681 (allocate_conversion_buffer): New macro. | |
1682 (extend_conversion_buffer, free_conversion_buffer): New functions. | |
1683 (ccl_coding_driver): Set coding->result. | |
1684 (decode_coding): Set coding->result to CODING_FINISH_NORMAL if | |
1685 this is the last block of source. | |
1686 (encode_coding): Likewise. Handle the source block as the last | |
1687 one only when the whole source text is consumed. | |
1688 (decode_coding_string): Handle the case that the output buffer is | |
1689 too small to decode the whole source text. Use | |
1690 allocate_conversion_buffer, extend_conversion_buffer and | |
1691 free_conversion_buffer, not get_conversion_buffer. | |
1692 (encode_coding_string): Likewise. | |
1693 (init_coding): Function deleted. | |
1694 (init_coding_once): Delete code to initialize | |
1695 conversion_buffer_size. | |
1696 | |
1697 * emacs.c (main): Don't call init_coding. | |
1698 | |
1699 * msdos.c (IT_write_glyphs): Use a locally declared | |
1700 conversion_buffer. | |
1701 | |
1702 * term.c (write_glyphs): Use a locally declared conversion_buffer. | |
1703 (insert_glyphs): Likewise. | |
1704 | |
1705 * w32console.c (write_glyphs): Use a locally declared | |
1706 conversion_buffer. | |
1707 | |
30827 | 1708 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il> |
1709 | |
1710 * msdos.c (IT_update_begin): Don't crash if mouse_face_mouse_frame | |
1711 member of display_info is NULL. | |
1712 | |
30822 | 1713 2000-08-15 Gerd Moellmann <gerd@gnu.org> |
1714 | |
30825 | 1715 * alloc.c (compact_small_strings): Use safe_bcopy, add an |
1716 assertion. | |
1717 | |
30822 | 1718 * term.c (turn_off_face): Reset standout_mode when resetting |
30825 | 1719 appearances with capability `me'. |
30822 | 1720 (write_glyphs): Switch on inverse video before each face change. |
1721 | |
30785 | 1722 2000-08-14 Dave Love <fx@gnu.org> |
1723 | |
1724 * alloc.c [HAVE_UNISTD_H]: Include unistd.h; don't declare sbrk. | |
1725 [!HAVE_UNISTD_H]: Use POINTER_TYPE to declare sbrk. | |
1726 (lisp_free): Declare and make static. | |
1727 | |
1728 * window.c: Fix embedded comment. | |
1729 (syms_of_window): Fix doc string. | |
1730 | |
30781 | 1731 2000-08-14 Gerd Moellmann <gerd@gnu.org> |
1732 | |
1733 * keymap.c (push_key_description): If C without modifiers is < 32, | |
1734 make sure to print `C-' before `M-', like in the manual. | |
1735 | |
30762 | 1736 2000-08-11 Gerd Moellmann <gerd@gnu.org> |
1737 | |
1738 * fns.c (hashfn_eq, hashfn_eql): Don't handle strings specially | |
1739 since they aren't relocated anymore. | |
1740 (sxhash_string): Make sure returned hash code fits in a Lisp | |
1741 integer. | |
1742 | |
1743 * xdisp.c (try_cursor_movement): Fix handling of cursor in | |
1744 partially visible line which is smaller than the window's | |
1745 height. | |
1746 | |
30753 | 1747 2000-08-11 Kenichi Handa <handa@etl.go.jp> |
1748 | |
1749 * ccl.c (CCL_READ_CHAR): If source is multibyte, pay attention to | |
1750 the multibyte form of eight-bit-control characters. | |
1751 (Fccl_execute_on_string): Initialize ccl->multibyte. | |
1752 | |
1753 * ccl.h (struct ccl_program): New member multibyte. | |
1754 | |
1755 * coding.c (ccl_coding_driver): Initialize ccl->multibyte. | |
1756 | |
30751 | 1757 2000-08-11 Kenichi Handa <handa@etl.go.jp> |
1758 | |
1759 * regex.c (regex_compile) <normal_char>: Pay attention to | |
1760 multibyteness. | |
1761 (analyse_first) <exactn>: Setup fastmap correctly for | |
1762 eight-bit-control characters. | |
1763 | |
1764 2000-08-11 Kenichi Handa <handa@etl.go.jp> | |
1765 | |
1766 * termhooks.h (enum event_kind): New member | |
1767 multibyte_char_keystroke. | |
1768 | |
1769 * keyboard.c (make_lispy_event): Handle the new event type | |
1770 multibyte_char_keystroke. | |
1771 | |
1772 * xterm.c: Include coding.h. | |
1773 (XTread_socket): Work around a bug of XmbLookupString. If the | |
1774 input is from XIM, decode it according to the current locale. In | |
1775 that case, generate multibyte_char_keystroke events. | |
1776 | |
30746 | 1777 2000-08-11 Kenichi Handa <handa@etl.go.jp> |
1778 | |
1779 * xdisp.c (TRACE_MOVE) [GLYPH_DEBUG]: Delete the last semicolon. | |
1780 (TRACE_MOVE) [not GLYPH_DEBUG]: Define dummy. | |
1781 | |
30745 | 1782 2000-08-10 Gerd Moellmann <gerd@gnu.org> |
1783 | |
1784 * xdisp.c (trace_move) [GLYPH_DEBUG]: New variable. | |
1785 (TRACE_MOVE) [GLYPH_DEBUG]: New macro. | |
1786 (move_it_in_display_line_to): Record iterator's ascent and descent | |
1787 before producing glyphs, and restore them when we know the glyph | |
1788 doesn't fit on the line. | |
1789 (move_it_to): Restructured so that it's easier to debug. If | |
1790 moving to a vpos, and not moving to an x or character position, | |
1791 stop as soon as the specified vpos is reached; don't move further | |
1792 into that line because that might change the computed line height. | |
1793 (try_cursor_movement): New function, extracted from the cursor | |
1794 movement branch of redisplay_window. If ending on a partially | |
1795 visible line, don't try to scroll if the cursor line is taller | |
1796 than the window. | |
1797 (redisplay_window): Use try_cursor_movement. | |
1798 | |
1799 * window.c (Fwindow_end): Rewritten to not use Fvertical_motion, | |
1800 because that function doesn't cope with variable-height lines. | |
1801 | |
1802 * xterm.c (x_draw_bar_cursor): If cursor is on an image, draw a | |
1803 box cursor because that's better visible for large images. | |
1804 | |
30737 | 1805 2000-08-10 Miles Bader <miles@gnu.org> |
1806 | |
1807 * w32term.c (note_mouse_highlight): Update calls to overlays_at. | |
1808 | |
30729 | 1809 2000-08-10 Gerd Moellmann <gerd@gnu.org> |
1810 | |
1811 * xdisp.c (Vmessages_buffer_name): New variable. | |
1812 (message_dolog): Use it. | |
1813 (syms_of_xdisp): Initialize it. | |
1814 | |
30726 | 1815 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il> |
1816 | |
1817 * msdos.c (IT_note_mouse_highlight): Update the calls to | |
1818 overlays_at. | |
1819 (toplevel) <kbd_buffer_store_event>: Remove prototype, it's | |
1820 redundant now that keyboard.h is included. | |
1821 | |
30715 | 1822 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il> |
1823 | |
1824 * keyboard.c (kbd_buffer_events_waiting): New function. | |
1825 | |
1826 * keyboard.h (kbd_buffer_events_waiting): Add prototype. | |
1827 | |
1828 * msdos.c: Include keyboard.h. | |
1829 (XMenuActivate): Empty no_event events from the event buffer. If | |
1830 no events are left after that, call clear_input_pending. | |
1831 (mouse_clear_clicks): New function, code moved from mouse_init. | |
1832 (mouse_init, XMenuActivate): Call mouse_clear_clicks to force the | |
1833 mouse driver to ``forget'' any past clicks. | |
1834 | |
1835 * Makefile.in (msdos.o): Depend on keyboard.h. | |
1836 | |
30708 | 1837 2000-08-09 Gerd Moellmann <gerd@gnu.org> |
1838 | |
30724 | 1839 * lisp.h (input_pending): External declaration. |
1840 | |
1841 * dispextern.h (Qredisplay_dont_pause): Declare extern. | |
1842 | |
1843 * xdisp.c (echo_area_display): Display thoroughly if input is | |
1844 pending. Bind redisplay-dont-pause to t during the redisplay. | |
1845 in case input is pending. | |
1846 | |
1847 * dispnew.c (Qredisplay_dont_pause): New variable. | |
1848 (syms_of_display): Initialize and staticpro it. | |
1849 (update_frame_1): Don't interrupt the display for pending input if | |
1850 redisplay_dont_pause is set. | |
1851 | |
30714 | 1852 * dispnew.c (mode_line_string): Declare parameter MODE_LINE_P. |
1853 | |
30708 | 1854 * xfaces.c (Ftty_suppress_bold_inverse_default_colors): Doc fix. |
1855 | |
30702 | 1856 2000-08-09 Miles Bader <miles@lsi.nec.co.jp> |
1857 | |
1858 * callproc.c (Fcall_process): Terminate the unwind-protect around | |
1859 the post-read-conversion of coding system. | |
1860 | |
30701 | 1861 * buffer.c (overlays_at): Add CHANGE_REQ parameter. |
1862 (Foverlays_at, Fnext_overlay_change, Fprevious_overlay_change): Use it. | |
1863 * buffer.h (overlays_at): Update prototype. | |
1864 * xdisp.c (next_overlay_change): Update call to overlays_at. | |
1865 * xfaces.c (face_at_buffer_position): Likewise. | |
1866 * textprop.c (Fget_char_property): Likewise. | |
1867 * xterm.c (note_mouse_highlight): Likewise. | |
1868 | |
30685 | 1869 * minibuf.c (do_completion): Don't consider a simple change of |
1870 case as `completion'. | |
1871 | |
30674
9aad40936cfe
*coding.c (find_safe_codings): CHAR_TABLE_SET index must be a lisp object.
Ken Raeburn <raeburn@raeburn.org>
parents:
30672
diff
changeset
|
1872 2000-08-08 Ken Raeburn <raeburn@gnu.org> |
9aad40936cfe
*coding.c (find_safe_codings): CHAR_TABLE_SET index must be a lisp object.
Ken Raeburn <raeburn@raeburn.org>
parents:
30672
diff
changeset
|
1873 |
30683
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1874 * keyboard.c (syms_of_keyboard): Initialize |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1875 last_point_position_buffer. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1876 * undo.c (record_delete): Make sure last_point_position_buffer is |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1877 a buffer before comparing pointers. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1878 |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1879 * coding.h (decode_coding_string): Declare. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1880 |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1881 * intervals.h (Fprevious_single_char_property_change): Declare. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1882 |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1883 * textprop.c (Fprevious_single_char_property_change): Don't do |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1884 arithmetic directly on lisp objects. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1885 |
30693 | 1886 * editfns.c (find_field): Use EQ, not ==, to compare Lisp |
30683
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1887 objects. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1888 |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1889 * keyboard.h (menu_item_eval_property): Declare. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1890 |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1891 * xdisp.c (message_dolog): Save and protect string "*Messages*" to |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1892 reuse as buffer name, instead of recreating (and discarding) every |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1893 time a message is logged. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1894 (with_echo_area_buffer): Make callback arg A2 a lisp object. |
30693 | 1895 (current_message_1, truncate_message_1, set_message_1) |
1896 (display_echo_area_1, resize_mini_window_1): Signatures changed. | |
1897 (current_message, truncate_echo_area, display_echo_area) | |
1898 (resize_echo_area_axactly): Changed calls. | |
30683
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1899 |
30674
9aad40936cfe
*coding.c (find_safe_codings): CHAR_TABLE_SET index must be a lisp object.
Ken Raeburn <raeburn@raeburn.org>
parents:
30672
diff
changeset
|
1900 * coding.c (find_safe_codings): CHAR_TABLE_SET index must be a |
30693 | 1901 Lisp object. |
30674
9aad40936cfe
*coding.c (find_safe_codings): CHAR_TABLE_SET index must be a lisp object.
Ken Raeburn <raeburn@raeburn.org>
parents:
30672
diff
changeset
|
1902 (Ffind_coding_systems_region_internal): First argument to Fappend |
30693 | 1903 must be an integer, not a Lisp object. |
30674
9aad40936cfe
*coding.c (find_safe_codings): CHAR_TABLE_SET index must be a lisp object.
Ken Raeburn <raeburn@raeburn.org>
parents:
30672
diff
changeset
|
1904 |
30672 | 1905 2000-08-08 Kenichi Handa <handa@etl.go.jp> |
1906 | |
1907 * charset.c (Fchar_width): Doc fix. | |
1908 | |
30671 | 1909 2000-08-08 Gerd Moellmann <gerd@gnu.org> |
1910 | |
1911 * charset.c (Fstring_width): Doc fix. | |
1912 | |
30632 | 1913 2000-08-07 Gerd Moellmann <gerd@gnu.org> |
1914 | |
30708 | 1915 * xdisp.c (start_display): When starting display on a continuation |
30654 | 1916 line, clear ascent and descent members of the iterator structure; |
1917 the height of the continued line does not affect the height of the | |
1918 continuation line. | |
1919 (make_cursor_line_fully_visible): Do nothing if cursor is on a | |
1920 line taller than the window. | |
1921 (redisplay_window) <forced window start>: Handle case that the | |
1922 middle of the window is not found in any row. | |
1923 (dump_glyph_row): Show more information. | |
1924 (compute_line_metrics): Use MATRIX_FIRST_TEXT_ROW to determine the | |
1925 first text line in a glyph matrix. | |
1926 | |
1927 * xterm.c (x_draw_image_foreground): Avoid drawing outside | |
1928 of the clip area when image doesn't have a mask. | |
1929 | |
30639 | 1930 * fns.c (sweep_weak_table): Fix survival conditions for |
1931 key-or-value and key-and-value weakness. | |
1932 | |
1933 * .gdbinit (xhashtable): New command. | |
1934 | |
30635 | 1935 * fns.c (sweep_weak_hash_tables): Fix the code taking unmarked |
1936 tables out of the list of all weak hash tables. | |
1937 | |
30632 | 1938 * xdisp.c (ensure_echo_area_buffers): If a buffer was killed, and |
30633 | 1939 a new buffer is created, make sure echo_area_buffer[] references |
1940 the new buffer. | |
30632 | 1941 |
30629 | 1942 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il> |
1943 | |
1944 * msdos.c (Fmsdos_set_mouse_buttons): Add missing backslashes in | |
1945 the doc string. | |
1946 | |
30625 | 1947 2000-08-07 Kenichi Handa <handa@etl.go.jp> |
1948 | |
1949 * syntax.c (skip_chars): Fix previous change. Make the handling | |
1950 of unibyte string consistent with that of regex search. | |
1951 | |
30603 | 1952 2000-08-05 Gerd Moellmann <gerd@gnu.org> |
1953 | |
30614 | 1954 * xmenu.c (popup_get_selection): Use xfree instead of free. |
1955 | |
1956 * fileio.c (Finsert_file_contents): Use xfree instead of free. | |
1957 | |
1958 * editfns.c (Ftranspose_regions): Use xfree instead of free. | |
1959 | |
1960 * callproc.c (child_setup): Use xfree instead of free. | |
1961 | |
1962 * sysdep.c (opendir, GetTempDirName, run_mac_command): Use xmalloc | |
1963 instead of malloc. | |
1964 (run_mac_command, closedir): Use `xfree' instead of `free'. | |
1965 | |
1966 * keymap.c (current_minor_maps): Use xmalloc instead of malloc. | |
1967 | |
1968 * eval.c (error): Use xfree instead of free. | |
1969 | |
30603 | 1970 * xfaces.c, xfns.c, w32fns.c: Replace `illegal' with `invalid'. |
1971 | |
1972 * fns.c: Replace `illegal' with `invalid'. | |
30614 | 1973 (Fmake_hash_table, make_hash_table): Allow table size of 0. |
30603 | 1974 |
30596
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
1975 2000-08-05 Kenichi Handa <handa@etl.go.jp> |
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
1976 |
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
1977 * syntax.c (skip_chars): Fix handling of multibyte<->unibyte |
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
1978 conversion. |
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
1979 |
30598
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
1980 2000-08-04 Noah Friedman <friedman@splode.com> |
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
1981 |
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
1982 * fns.c (Fmake_hash_table): Add missing `\n\' to end of line in |
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
1983 docstring. |
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
1984 |
30595 | 1985 2000-08-04 Gerd Moellmann <gerd@gnu.org> |
1986 | |
1987 * syntax.c (skip_chars): Fix typo in error message. | |
1988 | |
30588
bfbe4e93bdcf
*** empty log message ***
Andreas Schwab <schwab@suse.de>
parents:
30582
diff
changeset
|
1989 2000-08-04 Andreas Schwab <schwab@suse.de> |
bfbe4e93bdcf
*** empty log message ***
Andreas Schwab <schwab@suse.de>
parents:
30582
diff
changeset
|
1990 |
bfbe4e93bdcf
*** empty log message ***
Andreas Schwab <schwab@suse.de>
parents:
30582
diff
changeset
|
1991 * m/ia64.h: Moved from s/ia64.h. |
bfbe4e93bdcf
*** empty log message ***
Andreas Schwab <schwab@suse.de>
parents:
30582
diff
changeset
|
1992 |
30577 | 1993 2000-08-04 Kenichi Handa <handa@etl.go.jp> |
1994 | |
30582 | 1995 * process.c (read_process_output): Big simplification. Handle |
1996 composition and post-read-conversion of coding system correctly. | |
1997 (send_process): Handle composition correctly. | |
1998 | |
1999 * callproc.c (Fcall_process): Handle post-read-conversion of | |
2000 coding system if any. | |
2001 | |
30577 | 2002 * coding.c (decode_coding_iso2022): More strict check for handling |
2003 single shifting. | |
30582 | 2004 (coding_restore_composition): Pay attention to the case that |
2005 cmp_data is not set properly (because of invalid code in the | |
2006 source text). | |
2007 (run_pre_post_conversion_on_str): Include text properties in the | |
2008 resulting string. | |
2009 (decode_coding_string): Set members of coding correctly. | |
30577 | 2010 |
30576 | 2011 2000-08-03 Gerd Moellmann <gerd@gnu.org> |
2012 | |
2013 * s/ia64.h: New file. | |
2014 | |
2015 * widget.c (set_frame_size, update_wm_hints, EmacsFrameSetValues): | |
2016 Use NULL instead of 0 at the end of variable argument list of | |
2017 XtVaGetValues and XtVaSetValues, because 0 fails on systems where | |
2018 sizeof (int) < sizeof (void *). | |
2019 | |
2020 * xmenu.c (update_frame_menubar): Use NULL instead of 0 at the end | |
2021 of variable argument lists of XtVaGetValues and XtVaSetValues. | |
2022 | |
2023 * xfns.c (Fx_file_dialog): Use NULL instead of 0 at the end of | |
2024 variable argument lists of XtVaGetValues and XtVaSetValues. | |
2025 | |
30564 | 2026 2000-08-02 Gerd Moellmann <gerd@gnu.org> |
2027 | |
2028 * alloc.c (lisp_malloc, lisp_free): Use size_t and POINTER_TYPE. | |
2029 (xrealloc, xmalloc): Use size_t. Some callers adjusted. | |
2030 | |
2031 * lisp.h (Fsingle_key_description, xmalloc, xrealloc): Change | |
2032 prototype. | |
2033 | |
2034 * keyboard.c (read_char_minibuf_menu_prompt): Add new parameter | |
2035 in call to Fsingle_key_description. | |
2036 | |
2037 * keymap.c (Fsingle_key_description): Add parameter NO_ANGLES. | |
2038 Callers changed. | |
2039 | |
2040 2000-08-02 Colin Walters <walters@cis.ohio-state.edu> | |
2041 | |
2042 * window.c (display_buffer_reuse_frames): New variable. | |
2043 (Fdisplay_buffer): If display_buffer_reuse_frames is set, reuse | |
2044 frames displaying BUFFER. | |
2045 (syms_of_window): Define Lisp variable | |
2046 display-buffer-reuse-frames. | |
2047 | |
30551 | 2048 2000-08-01 Miles Bader <miles@gnu.org> |
2049 | |
2050 * editfns.c (Fconstrain_to_field): Fix the conditions for deciding | |
2051 when to constrain NEW_POS (they were pretty screwed up before). | |
2052 | |
30531 | 2053 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il> |
2054 | |
2055 * msdos.c (run_msdos_command): Save and restore the master | |
2056 environment, for the case that child_setup signals an error. | |
2057 When mirroring slashes in DOS shell commands, don't fail when | |
2058 argv[2] has embedded blanks. | |
30533 | 2059 (Fmsdos_set_mouse_buttons, mouse_setup_buttons): New functions. |
2060 (syms_of_msdos): Defsubr Fmsdos_set_mouse_buttons. | |
2061 (dos_ttraw): Call mouse_setup_buttons. | |
30531 | 2062 |
2063 * callproc.c (child_setup) [MSDOS]: malloc pwd_var instead of | |
2064 using alloca; free it after run_msdos_command returns. | |
2065 | |
30507 | 2066 2000-07-27 Dave Love <fx@gnu.org> |
2067 | |
2068 * s/irix6-5.h (IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't | |
2069 define. | |
2070 [_MIPS_SZLONG == 64]: Set up for 64-bit mode -- not currently | |
2071 working. | |
2072 | |
2073 * m/iris4d.h (XUINT, XSET, XUNMARK) [_LP64]: Don't define. | |
2074 | |
30504 | 2075 2000-07-27 Eli Zaretskii <eliz@is.elta.co.il> |
2076 | |
2077 * editfns.c (lisp_time_argument): Fix last change. | |
2078 | |
30502 | 2079 2000-07-27 Gerd Moellmann <gerd@gnu.org> |
2080 | |
30511 | 2081 * fns.c (Fdelete): Make it work on vectors and strings in addition |
2082 to lists. | |
2083 | |
30502 | 2084 * fns.c (Qkey_or_value, Qkey_and_value): New variables. |
2085 (syms_of_fns): Initialize new variables. | |
2086 (sweep_weak_table): Handle weakness `key-or-value' and | |
2087 `key-and-value'. | |
2088 (Fmake_hash_table): Recognize `key-and-value' and `key-or-value' | |
2089 weakness, with t meaning the same as `key-and-value'. | |
2090 | |
30490 | 2091 2000-07-27 Kenichi Handa <handa@etl.go.jp> |
2092 | |
2093 * coding.h (struct coding_system): Member safe_charset deleted. | |
2094 | |
2095 * coding.c (Qsafe_charsets): This variable deleted. | |
2096 (Qsafe_chars, Vchar_coding_system_table, Qchar_coding_system): New | |
2097 variables. | |
2098 (coding_safe_chars): New function. | |
2099 (CODING_SAFE_CHAR_P): New macro. | |
2100 (CHARSET_OK): New arg C. Call CODING_SAFE_CHAR_P instead of | |
2101 checking safe_charsets member of the coding system. Caller | |
2102 changed. | |
2103 (detect_coding_iso2022): New local variable safe_chars. | |
2104 (DECODE_DESIGNATION): Call CODING_SAFE_CHAR_P instead of checking | |
2105 safe_charsets member of the coding system. | |
2106 (decode_coding_iso2022): New local variable safe_chars. | |
2107 (ENCODE_ISO_CHARACTER_DIMENSION1): Don't check unsafe chars here. | |
2108 (ENCODE_ISO_CHARACTER_DIMENSION2): Likewise. | |
2109 (ENCODE_ISO_CHARACTER): Arguments changed. Caller changed. | |
2110 (ENCODE_UNSAFE_CHARACTER): New macro. | |
2111 (encode_coding_iso2022): New local variable safe_chars. Check | |
2112 unsafe chars. | |
2113 (setup_coding_system): Delete the code to initialize | |
2114 coding->safe_charses | |
2115 (intersection, find_safe_codings): New functions. | |
2116 (Ffind_coding_systems_region_internal): New function. | |
2117 (syms_of_coding): Defsubr it. Initialize Qsafe_chars, | |
2118 Qsafe_cding_system. Make Vchar_coding_system_table a Lisp | |
2119 variable and initialize it. | |
2120 | |
2121 * fns.c (char_table_ref_and_index): New function. | |
2122 | |
2123 * lisp.h (char_table_ref_and_index): Add prototype. | |
2124 | |
30480 | 2125 2000-07-26 Sam Steingold <sds@gnu.org> |
2126 | |
2127 * editfns.c (lisp_time_argument): Added third argument `usec'. | |
30511 | 2128 (Ffloat_time): New built-in Lisp function. |
30480 | 2129 |
30473 | 2130 2000-07-26 Gerd Moellmann <gerd@gnu.org> |
2131 | |
30477 | 2132 * dispextern.h (GLYPH_FROM_CHAR_GLYPH): Use CHARACTERBITS bits |
2133 for the character code. | |
2134 | |
2135 * config.in (HAVE_SOUND): Define only for FreeBSD, NetBSD and | |
2136 GNU/Linux. | |
2137 | |
30473 | 2138 * xmenu.c (menu_highlight_callback): Call show_help_echo directly |
2139 if called for a popup menu. | |
2140 (xmenu_show): Store help string in widget values. | |
2141 | |
30466 | 2142 2000-07-26 Dave Love <fx@gnu.org> |
2143 | |
2144 * syswait.h: Move some definitions. | |
2145 (HAVE_SYS_WAIT_H): Undef for HPUX7, Convex. | |
2146 [!HAVE_SYS_WAIT_H]: Define things unconditionally. More | |
2147 perspicuous definitions. | |
2148 (WTERMSIG): Fix bit pattern used. | |
2149 | |
30460 | 2150 2000-07-26 Kenichi Handa <handa@etl.go.jp> |
2151 | |
2152 * print.c (print_object): If vector printing is truncated, print | |
2153 "..." to indicate it as well as the case of list printing. | |
2154 | |
30444 | 2155 2000-07-25 Gerd Moellmann <gerd@gnu.org> |
2156 | |
30449 | 2157 * xdisp.c (next_element_from_display_vector): Improve comments. |
2158 | |
2159 * lisp.h (GLYPH_MASK_CHAR, GLYPH_MASK_FACE): Use 19 bits | |
2160 for the character code, and the rest for the face id as in 20.x. | |
2161 (FAST_GLYPH_FACE, FAST_MAKE_GLYPH): Changed accordingly. | |
2162 | |
2163 * window.c (window_display_table): Cleaned up. | |
2164 | |
30444 | 2165 * syntax.c (Fforward_word): Add last arg nil in call of |
2166 Fconstrain_to_field. | |
2167 | |
30442 | 2168 2000-07-25 Eli Zaretskii <eliz@is.elta.co.il> |
2169 | |
30449 | 2170 * fileio.c (Frename_file) [DOS_NT]: If the file names are |
30442 | 2171 identical but for the letter-case, don't call |
2172 barf_or_query_if_file_exists. | |
2173 | |
30438 | 2174 2000-07-25 Miles Bader <miles@gnu.org> |
2175 | |
2176 * editfns.c (find_field): Honor special `boundary' fields. | |
2177 (Qboundary): New variables. | |
2178 (syms_of_editfns): Initialize Qboundary. | |
2179 (Fconstrain_to_field): Add the INHIBIT-CAPTURE-PROPERTY argument. | |
2180 Use scan_buffer instead of find_before_next_newline, because it | |
2181 allows us to detect the boundary case where there's a newline at | |
2182 the search limit. | |
2183 * lisp.h (Fconstrain_to_field): Update external declaration. | |
2184 | |
30433 | 2185 2000-07-24 Gerd Moellmann <gerd@gnu.org> |
2186 | |
2187 * print.c (temp_output_buffer_setup): Don't call1 Vrun_hooks | |
2188 if that is nil. | |
30438 | 2189 |
30431 | 2190 2000-07-24 Dave Love <fx@gnu.org> |
2191 | |
2192 * s/sunos4-0.h, s/sol2.h: | |
2193 (LIBS_TERMCAP): Move from m/sparc.h. | |
2194 | |
2195 * m/sparc.h (TERMINFO): Moved to system files (probably only | |
2196 relevant for sunos4 judging by its vintage). | |
2197 (BITS_PER_LONG, BITS_PER_EMACS_INT, _LP64): Define conditional on | |
2198 __arch64__. | |
2199 | |
30424 | 2200 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il> |
2201 | |
2202 * xmenu.c (keymap_panes): Pass the keymap's prompt as the pane | |
2203 name to single_keymap_panes. | |
2204 | |
30418 | 2205 2000-07-24 Andreas Schwab <schwab@suse.de> |
2206 | |
2207 * fns.c (Fmakehash): Pass Qeql to Fmake_hash_table if TEST is nil. | |
2208 | |
30415 | 2209 2000-07-24 Gerd Moellmann <gerd@gnu.org> |
2210 | |
2211 * xdisp.c (with_echo_area_buffer): Take additional EMACS_INT | |
2212 parameters instead of using int parameters. Expect FN to accept | |
2213 EMACS_INT parameters. | |
2214 (display_echo_area, resize_echo_area_axactly, current_message) | |
2215 (truncate_echo_area, set_message_1): Call with_echo_area_buffer | |
2216 with new argument list. | |
2217 (resize_mini_window_1): New callback function. | |
2218 (current_message_1, truncate_message_1, set_message_1): Change | |
2219 parameter lists to the new format expected by | |
2220 with_echo_area_buffer. | |
2221 | |
30397 | 2222 2000-07-24 Kenichi Handa <handa@etl.go.jp> |
2223 | |
2224 * fontset.c (fontset_ref): Remove INLINE declaration. | |
2225 (fontset_ref_via_base): Likewise. | |
2226 (Fset_fontset_font): Convert FAMILY and REGISTRY specifications | |
2227 to downcase. | |
2228 | |
30382 | 2229 2000-07-23 Eli Zaretskii <eliz@is.elta.co.il> |
2230 | |
2231 * msdos.c (IT_note_mouse_highlight): Process overlays in the | |
2232 correct order of priority. If help echo was found in an overlay, | |
2233 use that overlay as the object in which the help echo was found. | |
2234 | |
30378 | 2235 2000-07-22 Miles Bader <miles@gnu.org> |
2236 | |
2237 * textprop.c (Fprevious_single_char_property_change): The initial | |
2238 property value should be from the position preceding POSITION, not | |
2239 following it. | |
2240 | |
30377 | 2241 2000-07-22 Eli Zaretskii <eliz@is.elta.co.il> |
2242 | |
2243 * coding.c (syms_of_coding): Doc fix for | |
2244 inhibit-iso-escape-detection. | |
2245 | |
30364 | 2246 2000-07-21 Gerd Moellmann <gerd@gnu.org> |
2247 | |
30372 | 2248 * xterm.c (note_mouse_highlight): Process overlays in the right |
2249 order of priority. | |
30480 | 2250 |
30370 | 2251 * keyboard.c (show_help_echo, gen_help_event): Extend comments. |
2252 | |
2253 * xterm.c (note_mouse_highlight): If help-echo was found in an | |
2254 overlay, use that overlay as the object in which the help was | |
2255 found. | |
2256 | |
30367 | 2257 * window.c (foreach_window_1): Fix typo reversing an if-condition. |
30480 | 2258 |
30364 | 2259 * window.c (foreach_window): Instead of a fake variable argument |
2260 list, take one USER_DATA argument. | |
2261 (foreach_window_1): Likewise, and call callback functions with two | |
2262 args, the window and USER_DATA. | |
2263 (struct check_window_data): New struct. | |
2264 (check_window_containing): Use it. | |
2265 (window_from_coordinates): Set up a struct check_window_data for | |
2266 foreach_window. | |
2267 (add_window_to_list, freeze_window_start): Change parameters | |
2268 according to new calling convention. | |
2269 | |
2270 * window.h (foreach_window): Change prototype. | |
2271 | |
2272 * buffer.c (Fprevious_overlay_change): Avoid memory leak. | |
2273 | |
2274 2000-07-21 Eli Zaretskii <eliz@is.elta.co.il> | |
2275 | |
2276 * xmenu.c (menu_help_callback): Call show_help_echo with | |
2277 additional arguments OBJECT and POS. | |
2278 | |
30355 | 2279 2000-07-21 Kenichi Handa <handa@etl.go.jp> |
2280 | |
30357 | 2281 * data.c (Faset): Allow storing any multibyte character in a |
2282 string. Convert unibyte string to multibyte if necessary. | |
2283 | |
30355 | 2284 * xfns.c (x_encode_text): New function. |
2285 (x_set_name): Use x_encode_text. | |
2286 (x_set_title): Likewise. | |
2287 | |
2288 * xselect.c (lisp_data_to_selection_data): Use x_encode_text. | |
2289 | |
2290 * xterm.h (x_encode_text): Add prototype. | |
2291 | |
30346 | 2292 2000-07-20 Dave Love <fx@gnu.org> |
2293 | |
2294 * ccl.c (Fccl_execute_on_string): Don't check xmalloc return. Use | |
2295 xfree, not free. | |
2296 | |
30342 | 2297 2000-07-20 Eli Zaretskii <eliz@is.elta.co.il> |
2298 | |
2299 * msdos.c (help_echo_window): New variable. | |
2300 (syms_of_msdos): Initialize and staticpro it. | |
2301 (IT_note_mode_line_highlight): Set help_echo_window. | |
2302 (IT_note_mouse_highlight): Ditto. | |
2303 (dos_rawgetc): Store help_echo_window in the second event produced | |
2304 for HELP_EVENTs. | |
2305 | |
2306 * msdos.c (IT_note_mode_line_highlight, IT_note_mouse_highlight): | |
2307 Record the object that generated the help echo and the position of | |
2308 that object in help_echo_object and help_echo_pos. Record that | |
2309 some glyphs in a row are displayed in mouse-face. | |
2310 (IT_update_begin): Don't clear mouse highlight unless one of the | |
2311 enabled glyph rows is marked as being displayed in mouse-face. | |
2312 (dos_rawgetc): Generate 2 events for HELP_EVENT. Pass the object | |
2313 and position recorded in help_echo_object and help_echo_pos to the | |
2314 event queue. | |
2315 (IT_menu_display): Accept a new argument PN: the pane number of | |
2316 the current menu pane. Record the pane number and the item | |
2317 number of the item which has associated help string. | |
2318 (XMenuActivate): Update the prototype for help_callback in | |
2319 function declaration. Call IT_menu_display with the current menu | |
2320 pane number as an additional argument. Call help_callback with | |
2321 two additional arguments: the pane number and the item number of | |
2322 the menu item associated with the help text. | |
2323 (help_echo_object, help_echo_pos): New variables. | |
2324 (syms_of_msdos): Initialize them and staticpro help_echo_object. | |
2325 | |
2326 * msdos.h (XMenuActivate): Update prototype. | |
2327 | |
30318 | 2328 2000-07-19 Gerd Moellmann <gerd@gnu.org> |
2329 | |
30329 | 2330 * xdisp.c (with_echo_area_buffer): Call FN with more arguments. |
2331 Add some more prototypes. | |
2332 | |
2333 * xterm.c, xterm.h: Add some more prototypes. | |
2334 | |
2335 * lisp.h (Fnext_single_char_property_change): Add prototype. | |
2336 | |
2337 * dispnew.c (direct_output_for_insert): Remove confusing | |
2338 outer local variable mouse_face_overwritten_p. | |
2339 (glyph_row_slice_p): Put in #ifdef GLYPH_DEBUG. | |
2340 | |
30318 | 2341 * alloc.c (allocate_string_data): Don't copy old string contents. |
2342 | |
30314 | 2343 2000-07-19 Kenichi Handa <handa@etl.go.jp> |
2344 | |
2345 * coding.c (code_convert_region): Delete text properties before | |
2346 shrinking the conversion region. | |
2347 | |
30303 | 2348 2000-07-18 Gerd Moellmann <gerd@gnu.org> |
2349 | |
30308 | 2350 * dispnew.c (update_text_area): Write the whole row if it |
2351 has mouse-face in it. | |
2352 | |
30305 | 2353 * xfaces.c (face-alternative-font-family-alist): Remove |
2354 DEFVAR_LISP; staticpro instead. | |
2355 | |
30480 | 2356 * xmenu.c (menu_help_callback): Call show_help_echo with |
30303 | 2357 new arguments. |
2358 | |
2359 * keyboard.c (show_help_echo): Add parameter WINDOW. | |
2360 (read_char): Call show_help_echo with window extracted from Lisp | |
2361 help event. | |
2362 (gen_help_event): Add parameter WINDOW. | |
2363 | |
2364 * keyboard.h (show_help_echo, gen_help_event): Change prototypes. | |
2365 | |
2366 * xterm.c (help_echo_window): New variable. | |
2367 (note_mouse_highlight, note_tool_bar_highlight): Set | |
2368 help_echo_window. | |
2369 (XTread_socket): Pass help_echo_window to gen_help_event. | |
2370 (syms_of_xterm): Initialize and staticpro help_echo_window. | |
2371 | |
30298 | 2372 2000-07-18 Dave Love <fx@gnu.org> |
2373 | |
2374 * Makefile.in: Fix dependencies of blockinput.h on atimer.h, | |
2375 systime.h. | |
2376 | |
30290 | 2377 2000-07-18 Gerd Moellmann <gerd@gnu.org> |
2378 | |
30296 | 2379 * alloc.c (allocate_string_data): If string had already data |
2380 assigned, copy old contents to new string data. | |
2381 | |
2382 * coding.c (syms_of_coding): Fix typo in spelling of variable | |
2383 `inhibit-iso-escape-detection'. | |
2384 | |
30290 | 2385 * alloca.c (free) [emacs && EMACS_FREE]: Define as EMACS_FREE. |
2386 | |
2387 * Makefile.in: Add dependencies on dispextern.h. | |
2388 (alloca.o): Don't define malloc and define EMACS_FREE instead of | |
2389 `free'; both can conflict with system header files. | |
2390 | |
30281 | 2391 2000-07-18 Kenichi Handa <handa@etl.go.jp> |
2392 | |
2393 * charset.h (MAKE_CHAR): Return reasonable code even if CHARSET is | |
2394 undefined. | |
2395 | |
30266 | 2396 2000-07-18 Dave Love <fx@gnu.org> |
2397 | |
2398 * window.c (Fwindow_list): Declare arg `window'. | |
2399 | |
30262 | 2400 2000-07-18 Kenichi Handa <handa@etl.go.jp> |
2401 | |
2402 * coding.c (setup_coding_system): Don't override the explicitly | |
2403 specified designations. | |
2404 | |
30245 | 2405 2000-07-15 Miles Bader <miles@gnu.org> |
2406 | |
2407 * editfns.c (char_property_eq, char_property_stickiness): Renamed | |
2408 from `text_property_eq' and `text_property_stickiness', respectively. | |
2409 (find_field, Fconstrain_to_field, char_property_eq) | |
2410 (char_property_stickiness): Changed to call char-property functions | |
2411 instead of text-property-only ones. | |
2412 | |
2413 * textprop.c (Fnext_single_char_property_change): Made a subr (was | |
2414 `next_single_char_property_change'). Do more error checking, and | |
2415 cleanup limit behavior. | |
2416 (Fprevious_single_char_property_change): New function. | |
2417 (syms_of_textprop): Initialize new subrs. | |
2418 | |
2419 * xdisp.c (display_prop_end, invisible_text_between_p): | |
2420 Call Fnext_single_char_property_change instead of | |
2421 next_single_char_property_change. | |
2422 | |
30241 | 2423 2000-07-15 Jason Rumney <jasonr@gnu.org> |
2424 | |
2425 * w32menu.c (w32_menu_show): Call free_menubar_widget_value_tree | |
2426 after menu is finished with. | |
2427 (add_menu_item): Only consider wv->title as a menu title. | |
2428 (w32_menu_display_help): Add OBJECT and POS to show_help_echo. | |
2429 | |
2430 * w32fns.c (w32_wnd_proc) [WM_DRAW_ITEM]: Do not try to draw a | |
2431 null title. | |
2432 (FONT_REGEXP): Remove unused macro, and its sub-components. | |
2433 (syms_of_w32fns): Replace underscore in w32-enable-synthesized-fonts. | |
2434 | |
2435 * w32term.c (help_echo_object, help_echo_pos): New variables. | |
2436 (note_mode_line_highlight): Store additional information about the | |
2437 help-echo in help_echo_object and help_echo_pos. Check both | |
2438 `local-map' and `keymap' properties for changing the cursor | |
2439 (note_mouse_highlight): Store additional information about the | |
2440 help-echo in help_echo_object and help_echo_pos. | |
2441 (note_tool_bar_highlight): Set help_echo_object to nil and | |
2442 help_echo_pos to -1. | |
2443 (w32_read_socket): Use gen_help_event instead of filling | |
2444 input_events manually. | |
2445 (syms_of_w32term): Staticpro help_echo_object. | |
2446 (x_update_window_end): Add parameter MOUSE_FACE_OVERWRITTEN_P. If | |
2447 set, arrange for a mouse-highlight redisplay in | |
2448 XTframe_up_to_date. | |
2449 (x_clear_mouse_face): New function. | |
2450 (w32_redisplay_interface): Add pointer to x_clear_mouse_face. | |
2451 (x_update_window_begin): No need to turn off the mouse | |
2452 highlight here. | |
2453 (show_mouse_face): Set the mouse_face_p flag of glyph rows | |
2454 depending on whether they contain glyphs highlighted in | |
2455 mouse-face. | |
2456 (x_fill_stretch_glyph_string): Consume runs of stretch | |
2457 glyphs instead of a single one. | |
2458 (BUILD_STRETCH_GLYPH_STRING): Call x_fill_stretch_glyph_string | |
2459 with new argument list. | |
2460 (x_set_glyph_string_gc): Make sure the face's GC is valid. | |
2461 (x_append_glyph, x_append_composite_glyph) | |
2462 (x_produce_image_glyph, x_append_stretch_glyph): Accomodate to | |
2463 changes in struct glyph starting 1999-12-27. See comments for | |
2464 xterm.c on 2000-07-05. | |
2465 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2466 2000-07-14 Sam Steingold <sds@gnu.org> |
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2467 |
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2468 * xfaces.c (realize_x_face): Fix the last patch: |
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2469 check `default_face' before dereferencing. |
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2470 |
30229 | 2471 2000-07-14 Dave Love <fx@gnu.org> |
2472 | |
30266 | 2473 * syntax.c (back_comment): Add null default in switch (for pcc). |
30229 | 2474 |
30206 | 2475 2000-07-14 Kenichi Handa <handa@etl.go.jp> |
2476 | |
30210 | 2477 * xfaces.c (realize_x_face): Make fontset using the base of the |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2478 default_face's fontset, not using the default fontset. |
30210 | 2479 |
30206 | 2480 * coding.c (inhibit_iso_escape_detection): New variable. |
2481 (syms_of_coding): Make it a Lisp variable. | |
2482 (detect_coding_iso2022): If inhibit_iso_escape_detection is | |
2483 nonzero, ignore ISO2022's escape sequence. | |
2484 | |
30203 | 2485 2000-07-14 Gerd Moellmann <gerd@gnu.org> |
2486 | |
30234 | 2487 * alloca.c (malloc) [emacs]: Define as xmalloc. |
2488 | |
30226 | 2489 * xfns.c (Fx_show_tip): If frame parameters contain a position, |
2490 use that instead of the mouse position. Add parameters DX and DY. | |
2491 | |
2492 * dispextern.h (Fx_show_tip): Adjust number of parameters | |
2493 in prototype. | |
2494 | |
30219 | 2495 * keyboard.c (show_help_echo): Add parameters OBJECT and POS. |
2496 if HELP is a function, call it with OBJECT and POS as parameters | |
2497 to get the help to display. | |
2498 (gen_help_event, kbd_buffer_store_help_event): New functions. | |
2499 (kbd_buffer_get_event): Construct the Lisp help-event differently. | |
2500 (read_char): Call show_help_echo with new parameters. | |
2501 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2502 * keyboard.h (gen_help_event, kbd_buffer_store_help_event): |
30219 | 2503 Add prototypes. |
2504 | |
2505 * xterm.c (help_echo_object, help_echo_pos): New variables. | |
2506 (note_mode_line_highlight): Store additional information about the | |
2507 help-echo in help_echo_object and help_echo_pos. Check both | |
2508 `local-map' and `keymap' properties for changing the cursor | |
2509 (note_mouse_highlight): Store additional information about the | |
2510 help-echo in help_echo_object and help_echo_pos. | |
2511 (note_tool_bar_highlight): Set help_echo_object to nil and | |
2512 help_echo_pos to -1. | |
2513 (XTread_socket): Use gen_help_event instead of filling | |
2514 input_events manually. | |
2515 (syms_of_xterm): Staticpro help_echo_object. | |
2516 | |
2517 * xmenu.c (menu_highlight_callback): Use | |
2518 kbd_buffer_store_help_event instead of setting up and input_event | |
2519 structure manually. | |
2520 | |
2521 * xdisp.c (eval_form): GCPRO argument sexpr. | |
2522 (call_function): New function. | |
2523 (handle_single_display_prop): Use call_function and FUNCTIONP | |
2524 instead of checking whether if font_height is a symbol and | |
2525 using eval_form. | |
2526 | |
2527 * eval.c (internal_condition_case_2): New function. | |
2528 | |
2529 * lisp.h (FUNCTIONP): New macro. | |
2530 (internal_condition_case_2, call_function): Add prototypes. | |
2531 | |
30203 | 2532 * xterm.c (construct_mouse_click, x_scroll_bar_to_input_event) |
2533 (x_scroll_bar_handle_click, SET_SAVED_MENU_EVENT, XTread_socket): | |
2534 Always set `arg' member of input_events. | |
2535 (construct_menu_click): Unused function removed. | |
2536 | |
2537 * msdos.c (dos_rawgetc): Always set `arg' member of input_events. | |
2538 | |
2539 * w32term.c (construct_mouse_click, construct_mouse_wheel) | |
2540 (construct_drag_n_drop, x_scroll_bar_handle_click) | |
2541 (w32_read_socket): Always set `arg' member of input_events. | |
2542 | |
2543 * keyboard.c (show_help_echo): Use eval_form. Add comment. | |
2544 | |
2545 * lisp.h (eval_form): Add prototype. | |
2546 | |
2547 * xdisp.c (eval_form): Make it externally visible. | |
2548 | |
30183 | 2549 2000-07-13 Gerd Moellmann <gerd@gnu.org> |
2550 | |
2551 * xterm.c (x_handle_tool_bar_click): Store the frame in the | |
2552 frame_or_window slot of TOOL_BAR_EVENT input events instead of | |
2553 consing. For prefix events, store the frame in the `arg' slot of | |
2554 the event, otherwise store the key there. | |
2555 (XTread_socket): Instead of consing, use the frame_or_window slot | |
2556 of HELP_EVENTs for the frame, and the `arg' slot for the help | |
2557 string. | |
2558 | |
2559 * xmenu.c (menu_highlight_callback): Store help string in the | |
2560 `arg' member of the input event; don't cons. | |
2561 (menubar_selection_callback): Use the `arg' slot of input events | |
2562 to queue additional information, instead of consing. | |
2563 | |
2564 * msdos.c (dos_rawgetc): Adapt to change of HELP_EVENTs. | |
2565 | |
2566 * w32term.c (w32_handle_tool_bar_click): Adapt to changes in | |
2567 TOOL_BAR_EVENTs. | |
2568 (w32_read_socket): Adapt to changes in HELP_EVENTs. | |
2569 | |
2570 * w32menu.c (menubar_selection_callback): Use the `arg' slot of | |
2571 input events to queue additional information, instead of consing. | |
2572 | |
2573 * keyboard.c (kbd_buffer_gcpro): Renamed from | |
2574 kbd_buffer_frame_or_window. Now used for all Lisp objects | |
2575 referenced from the input queue. | |
2576 (kbd_buffer_store_event): Always use structure assignment for | |
2577 copying input events. Record all Lisp objects referenced from | |
2578 events in kbd_buffer_gcpro. | |
2579 (kbd_buffer_get_event): Construct Lisp `help-echo' events | |
2580 differently from input events. Test for prefix menu_bar_events | |
2581 and TOOL_BAR_EVENTs differently. Reset all slots used by an input | |
2582 event in kbd_buffer_gcpro to nil. | |
2583 (make_lispy_event) <TOOL_BAR_EVENT>: Treat an input event whose | |
2584 frame_or_window is equal to its arg member as prefix events. | |
2585 (stuff_buffered_input): Reset all slots in kbd_buffer_gcpro | |
2586 used by an input event to nil. | |
2587 (init_keyboard): Use two times the size of the input queue | |
2588 for kbd_buffer_gcpro. | |
2589 (syms_of_keyboard): Likewise. | |
2590 | |
2591 * emacs.c (handle_USR2_signal, handle_USR1_signal): Use | |
2592 USER_SIGNAL_EVENT. | |
2593 | |
2594 * termhooks.h (struct input_event): Add member `arg'. | |
2595 (MENU_BAR_EVENT): Renamed from menu_bar_event. | |
2596 (USER_SIGNAL_EVENT): Renamed from user_signal. | |
2597 | |
2598 * xfaces.c (ASET): Remove definition. | |
2599 | |
2600 * lisp.h (AREF, ASET, ASIZE): New macros. | |
2601 | |
2602 * fontset.c (AREF, ASIZE): Remove definitions. | |
2603 | |
2604 * fns.c (AREF): Remove definition. | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2605 |
30183 | 2606 * composite.c (AREF): Remove definition. |
2607 | |
30163 | 2608 2000-07-12 Gerd Moellmann <gerd@gnu.org> |
2609 | |
30166 | 2610 * dispnew.c (redraw_overlapped_rows): Add missing local. |
2611 (scrolling_window): Remove debug code. | |
2612 | |
30163 | 2613 * xdisp.c (try_window_reusing_current_matrix, try_window_id): |
2614 Before scrolling, turn off a mouse-highlight in the window | |
2615 being scrolled. | |
2616 | |
2617 * xterm.c (x_update_window_end): Add parameter | |
2618 MOUSE_FACE_OVERWRITTEN_P. If set, arrange for a mouse-highlight | |
2619 redisplay in XTframe_up_to_date. | |
2620 (x_clear_mouse_face): New function. | |
2621 (x_redisplay_interface): Add pointer to x_clear_mouse_face. | |
2622 | |
2623 * dispnew.c (make_current): Preserve the mouse_face_p flag of the | |
2624 current glyph row. | |
2625 (update_window_line): Add parameter MOUSE_FACE_OVERWRITTEN_P. Set | |
2626 it when any row is written to that contains glyphs highlighted in | |
2627 mouse-face. | |
2628 (update_window): Call the window update end hook with new | |
2629 parameter MOUSE_FACE_OVERWRITTEN_P. | |
2630 (direct_output_for_insert): Give up if row contains mouse-face. | |
2631 | |
2632 * dispextern.h (struct redisplay_interface): Add parameter | |
2633 MOUSE_FACE_OVERWRITTEN_P to update_window_end_hook function. | |
2634 (clear_mouse_face): New function pointer member. | |
2635 | |
30157
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2636 2000-07-11 Stefan Monnier <monnier@cs.yale.edu> |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2637 |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2638 * syntax.c (back_comment): Use one switch rather than a few `if's. |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2639 Obey open_paren_in_column_0_is_defun_start. |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2640 When reverting to the `slow' method, try to nicely handle the case |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2641 of nested comments by checking that the comment-starter we found |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2642 does indeed match the comment-ender. |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2643 (scan_sexps_forward, scan_sexps_forward): |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2644 Ignore excessive opening parenthesis rather than throwing an error. |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2645 |
30155 | 2646 2000-07-11 Gerd Moellmann <gerd@gnu.org> |
2647 | |
2648 * doc.c (Fsubstitute_command_keys): Handle case that a GC | |
2649 in Fwhere_is_internal or get_keymap_1 relocates string contents. | |
2650 | |
2651 * dispnew.c (direct_output_forward_char): Give up if currently | |
2652 displaying a message instead of the minibuffer contents. | |
2653 | |
2654 * xterm.c (x_update_window_begin): No need to turn off the mouse | |
2655 highlight here. | |
2656 (show_mouse_face): Set the mouse_face_p flag of glyph rows | |
2657 depending on whether they contain glyphs highlighted in | |
2658 mouse-face. | |
2659 | |
2660 * dispnew.c (row_equal_p): Add parameter MOUSE_FACE_P. If set, | |
2661 compare the mouse_face_p flags of both rows. | |
2662 | |
2663 * dispextern.h (struct glyph_row): Add flag mouse_face_p. | |
2664 | |
30146 | 2665 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il> |
2666 | |
2667 * keyboard.c (show_help_echo): Accept additional parameter | |
2668 ok_to_overwrite_keystroke_echo. | |
2669 (read_char): Call show_help_echo with a zero | |
2670 ok_to_overwrite_keystroke_echo argument. | |
2671 * keyboard.h (show_help_echo): Update prototype of | |
2672 show_help_echo. | |
2673 * xmenu.c (menu_help_callback): Call show_help_echo with non-zero | |
2674 ok_to_overwrite_keystroke_echo argument. | |
2675 * w32menu.c (w32_menu_display_help): Call show_help_echo with | |
2676 non-zero ok_to_overwrite_keystroke_echo argument. | |
2677 | |
30135 | 2678 2000-07-10 Gerd Moellmann <gerd@gnu.org> |
2679 | |
30140 | 2680 * xdisp.c (try_window_id): If changes are all below what is |
2681 displayed in the window, and point is in the window, we still | |
2682 might have to find point on the display. | |
2683 | |
2684 * xterm.c (x_fill_stretch_glyph_string): Consume runs of stretch | |
2685 glyphs instead of a single one. | |
2686 (BUILD_STRETCH_GLYPH_STRING): Call x_fill_stretch_glyph_string | |
2687 with new argument list. | |
2688 (x_set_glyph_string_gc): Make sure the face's GC is valid. | |
2689 | |
30135 | 2690 * keymap.c (get_keymap_1): Add comment that this function can GC. |
2691 (where_is_internal_2, where_is_internal_1): Add GCPROs, add | |
2692 comment that functions can GC. | |
2693 (Fset_keymap_parent): GCPRO arg KEYMAP. | |
2694 | |
30133 | 2695 2000-07-10 Eli Zaretskii <eliz@is.elta.co.il> |
2696 | |
2697 * msdos.c (XMenuActivate): After exiting the menu, restore the | |
2698 echo area message and erase it. | |
2699 | |
30125 | 2700 2000-07-10 Kenichi Handa <handa@etl.go.jp> |
2701 | |
2702 * fontset.c (Ffontset_info): Make the return value more compatible | |
2703 with that of Emacs 20. | |
2704 | |
30107 | 2705 2000-07-07 Gerd Moellmann <gerd@gnu.org> |
2706 | |
2707 * eval.c (Fsignal): Handle case that backtrace_list is null. | |
2708 | |
30104 | 2709 2000-07-07 Kenichi Handa <handa@etl.go.jp> |
2710 | |
2711 * ccl.c (Fccl_execute): Typo fixed. | |
2712 | |
30096 | 2713 2000-07-06 Gerd Moellmann <gerd@gnu.org> |
2714 | |
30103 | 2715 * window.c (window_loop): Add missing gcpro1 local variable. |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2716 |
30096 | 2717 * window.c (Fwindow_list): Reverse list at the end. |
2718 (candidate_window_p): Add parameter OWINDOW. ALL_FRAMES nil | |
2719 means allow windows on OWINDOW's frame, only. | |
2720 (window_loop): Simplified; use Fwindow_list. | |
2721 | |
2722 * Makefile.in (TAGS-LISP): Don't pass `$(lispsource)' to make. | |
2723 | |
30085 | 2724 2000-07-05 Gerd Moellmann <gerd@gnu.org> |
2725 | |
2726 * xterm.c (XTread_socket): Increment handling_signal at the start, | |
2727 decrement it at the end. | |
2728 | |
2729 * eval.c (handling_signal): New variable. | |
2730 (Fsignal): Abort if handling_signal is non-zero. | |
2731 | |
2732 * lisp.h (handling_signal): External declaration. | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2733 |
30085 | 2734 * s/freebsd.h (WAITTYPE, WRETCODE): Put in #if 0. |
2735 | |
30079
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
2736 2000-07-05 Ken Raeburn <raeburn@gnu.org> |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
2737 |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
2738 Sound support for NetBSD through "Linux emulation" support: |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
2739 * config.in (HAVE_SOUNDCARD_H): Undef. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
2740 (HAVE_SOUND): Define if HAVE_SOUNDCARD_H. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
2741 * Makefile.in (LIBSOUND): New variable. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
2742 (LIBES): Include it. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
2743 * sound.c [HAVE_SOUNDCARD_H]: Include <sys/ioctl.h> and |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
2744 <soundcard.h>. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
2745 (DEFAULT_SOUND_DEVICE): Define to "/dev/dsp" if not defined |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
2746 elsewhere. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
2747 (vox_open): Use DEFAULT_SOUND_DEVICE. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
2748 * s/netbsd.h (DEFAULT_SOUND_DEVICE): Define to /dev/audio. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
2749 |
30076 | 2750 2000-07-05 Gerd Moellmann <gerd@gnu.org> |
2751 | |
2752 * print.c (print_error_message): If Vsignaling_function is set, | |
2753 show it in *Messages*. | |
2754 | |
2755 * lisp.h (Vsignaling_function): External declaration. | |
2756 | |
2757 * eval.c (Vsignaling_function): New variable. | |
2758 (Fsignal): Compute it. | |
2759 (syms_of_eval): Staticpro it. | |
2760 | |
30069 | 2761 2000-07-05 Dave Love <fx@gnu.org> |
2762 | |
2763 * syswait.h: Use the autoconf recommended approach. Old code | |
2764 #if'd out in case we need to revert. | |
2765 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2766 * config.in (HAVE_SYS_WAIT_H): Added. |
30069 | 2767 |
30067 | 2768 2000-07-05 Andrew Innes <andrewi@gnu.org> |
2769 | |
2770 * vm-limit.c (check_memory_limits) [REL_ALLOC]: Use real_morecore | |
2771 when non-NULL instead of __morecore, to take account of buffer | |
2772 memory. This also solves a problem with spurious memory warnings | |
2773 on Windows. | |
2774 | |
2775 * ralloc.c: Make real_morecore non-static. | |
2776 | |
2777 * eval.c (internal_condition_case): Comment out abort if | |
2778 interrupt_input_blocked is not zero. | |
2779 | |
2780 * makefile.nt: Add support for `bootstrap' and related targets. | |
2781 Include minimal debug info in emacs.exe in release build. | |
2782 Remove all dependencies on lisp.h, and fixup some others. | |
2783 | |
2784 * w32.c (init_environment): Install code from 20.7 for providing | |
2785 default values for environment variables, based on the | |
2786 executable's own location. | |
2787 (map_w32_filename): Handle filenames that are longer than | |
2788 MAX_PATH. | |
2789 (sys_socket): Install socket inheritance bug fix from 20.7. | |
2790 | |
2791 * alloca.c [emacs]: Include lisp.h (needed by atimer.h included | |
2792 here via blockinput.h). | |
2793 | |
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2794 2000-07-05 Stefan Monnier <monnier@cs.yale.edu> |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2795 |
30098
54ef6ace438d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30096
diff
changeset
|
2796 * w32menu.c (w32_menu_display_help): |
54ef6ace438d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30096
diff
changeset
|
2797 * xmenu.c (menu_help_callback): Use show_help_echo. |
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2798 |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2799 * keyboard.h (show_help_echo): Declare. |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2800 |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2801 * keyboard.c (show_help_echo): New function, extracted from read_char. |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2802 Feval its `msg' argument if it's a cons cell. |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2803 (read_char): Use it. |
30118
67bba9343314
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30107
diff
changeset
|
2804 (follow_key): Pass `autoload' to get_keyelt. |
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2805 |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2806 * xterm.c (note_mode_line_highlight, note_mouse_highlight) |
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2807 (note_tool_bar_highlight, XTread_socket): |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2808 * msdos.c (IT_note_mode_line_highlight, IT_note_mouse_highlight) |
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2809 (dos_rawgetc): |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2810 * w32term.c (note_mode_line_highlight, note_mouse_highlight) |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2811 (note_tool_bar_highlight, w32_read_socket): |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2812 Do not gratuitously ignore non-string `help-echo' properties. |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2813 |
30043 | 2814 2000-07-05 Gerd Moellmann <gerd@gnu.org> |
2815 | |
30049 | 2816 * eval.c (Feval): Put check for interrupt_input_block in #if 0. |
2817 | |
30046 | 2818 * window.c (delete_all_subwindows): Reset Vwindow_list. |
2819 | |
30043 | 2820 * xterm.c (x_append_glyph, x_append_composite_glyph) |
2821 (x_produce_image_glyph, x_append_stretch_glyph): Accomodate to | |
2822 changes in struct glyph starting 1999-12-27. Some bit-fields of | |
2823 struct glyph were not set, which made glyphs unequal when compared | |
2824 with GLYPH_EQUAL_P. Redisplay outputs such glyphs, and flickering | |
2825 effects were the result. This also depended on the contents of | |
2826 memory returned by xmalloc. If flickering happens again, activate | |
2827 the code in clear_glyph_row that's in #if 0. If the flickering is | |
2828 gone with that, chances are that it is caused by something | |
2829 similar. | |
2830 | |
2831 * dispnew.c (clear_glyph_row): Add debug code in #if 0. | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2832 |
30043 | 2833 * dispextern.h: Add some comments. |
2834 | |
2835 * window.c (add_window_to_list): Add parameter LIST. | |
2836 (window_list): Order list so that, for each frame, windows are | |
2837 in canonical order, and so that frames appear in the list in | |
2838 the order given by Vframe_list. | |
2839 (next_window): Reverse the handling of NEXT_P. | |
2840 | |
30031 | 2841 2000-07-04 Gerd Moellmann <gerd@gnu.org> |
2842 | |
30038 | 2843 * window.c (Vwindow_list): New variable. |
2844 (make_window, delete_window): Set Vwindow_list to nil. | |
2845 (check_window_containing): New function. | |
2846 (window_from_coordinates): Rewritten. | |
2847 (add_window_to_list, window_list, candidate_window_p) | |
2848 (decode_next_window_args, next_window): New functions. | |
2849 (Fnext_window, Fprevious_window): Rewritten in terms of | |
2850 next_window. | |
2851 (Fwindow_list): New function. | |
2852 (Fother_window): Cleaned up. | |
2853 (foreach_window): Add a longer "variable argument list". Let | |
2854 callback function return 0 to indicate that cycling over windows | |
2855 should stop. | |
2856 (foreach_window_1): Likewise. | |
2857 (freeze_window_start): Return int. | |
2858 (init_window): New function. | |
2859 (syms_of_window): Staticpro Vwindow_list and defsubr Swindow_list. | |
2860 | |
2861 * emacs.c (handle_USR1_signal, handle_USR2_signal) Clear | |
2862 input_event with bzero. | |
2863 (main): Call init_window. | |
2864 | |
30031 | 2865 * keymap.c (get_keyelt): Temporarily inhibit GC while evaluating |
2866 a menu filter. | |
2867 | |
30026 | 2868 2000-07-04 Kenichi Handa <handa@etl.go.jp> |
2869 | |
2870 * composite.h (make_composition_value_copy): Extern it. | |
2871 | |
2872 * composite.c (make_composition_value_copy): New function. | |
2873 | |
2874 * editfns.c (Fformat): While copying text properties, make each | |
2875 composition property value a copy. | |
2876 | |
2877 * fns.c (concat): While copying text properties, make each | |
2878 composition property value a copy. | |
2879 | |
29996 | 2880 2000-07-03 Gerd Moellmann <gerd@gnu.org> |
2881 | |
30012 | 2882 * m/macppc.h (LINKER, LD_SWITCH_MACHINE) [LINUX]: Define. |
2883 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2884 * fns.c (sweep_weak_table): Mark only objects that are not |
30008 | 2885 marked already. |
2886 | |
29996 | 2887 * frame.c (next_frame, prev_frame): If MINIBUF is a window, |
2888 include those frames as candidates which have their focus | |
2889 redirected to the minibuffer frame. | |
2890 | |
29992
c1a99b7c6085
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29989
diff
changeset
|
2891 2000-07-03 Stefan Monnier <monnier@cs.yale.edu> |
c1a99b7c6085
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29989
diff
changeset
|
2892 |
c1a99b7c6085
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29989
diff
changeset
|
2893 * fns.c (Fputhash): Return `value' rather than nil. |
c1a99b7c6085
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29989
diff
changeset
|
2894 |
29988 | 2895 2000-06-30 Gerd Moellmann <gerd@gnu.org> |
2896 | |
29989 | 2897 * frame.c (next_frame): Don't check focus redirection in case |
2898 MINIBUF is a window. Doing so excludes frames using MINIBUF | |
29988 | 2899 unless their focus is redirected, which contradicts the |
2900 specification of next-frame, and leads to infinite loops in | |
2901 certain situations when cycling through windows with next-window. | |
2902 | |
29983 | 2903 2000-06-30 Kenichi Handa <handa@etl.go.jp> |
2904 | |
29984 | 2905 * coding.c (code_convert_region): Even if the length of text is |
29983 | 2906 zero, try to convert it if coding->type is coding_type_ccl. |
29984 | 2907 (decode_coding_string, encode_coding_string): Likewise. |
29983 | 2908 |
29972 | 2909 2000-06-28 Gerd Moellmann <gerd@gnu.org> |
2910 | |
29982 | 2911 * xdisp.c (try_window_reusing_current_matrix): Don't try to reuse |
29989 | 2912 the display if windows_or_buffers_changed. |
29982 | 2913 |
2914 * dispnew.c (struct row_entry): New structure. | |
2915 (row_entry_pool, row_entry_pool_size, row_entry_idx, row_table) | |
2916 (row_table_size, old_lines, new_lines, old_lines_size) | |
2917 (new_lines_size, run_pool, runs_size, runs): New variables. | |
2918 (add_row_entry): New function. | |
2919 (scrolling_window): Use data structures allocated with xmalloc and | |
29989 | 2920 held in global variables, instead of allocating them with alloca and |
29982 | 2921 holding them in local variables. Use a larger hash table whose |
2922 size depends on glyph matrix sizes. Don't use bzero to clear the | |
2923 hash table; instead, clear used slots only. | |
2924 | |
2925 * fns.c (next_almost_prime): Make it externally visible. | |
2926 | |
2927 * lisp.h (next_almost_prime): Add prototype. | |
2928 | |
29972 | 2929 * s/isc4-0.h (sigunblock): Define. |
2930 | |
2931 * s/sco5.h (sigunblock): Define. | |
2932 | |
29965 | 2933 2000-06-27 Dave Love <fx@gnu.org> |
2934 | |
2935 * s/osf1.h (C_SWITCH_SYSTEM, LIBS_SYSTEM): Revert last change | |
2936 (moved to osf5-0.h). | |
2937 [!NOT_C_CODE]: Protect string.h stuff. | |
2938 | |
2939 * s/osf5-0.h (C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED) | |
2940 (sys_siglist, NSIG): Definitions moved here from osf1.h. | |
2941 | |
29961 | 2942 2000-06-27 Gerd Moellmann <gerd@gnu.org> |
2943 | |
29989 | 2944 * xdisp.c (resize_mini_window): Subtract the extra line spacing |
29961 | 2945 below the last line from the needed window height. |
2946 | |
29955
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
2947 2000-06-26 Stefan Monnier <monnier@cs.yale.edu> |
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
2948 |
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
2949 * fns.c (Fplist_member): Renamed from Fwidget_plist_member. |
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
2950 (Fwidget_get): Use it. |
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
2951 (syms_of_fns): Defsubr it. |
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
2952 |
29939 | 2953 2000-06-26 Gerd Moellmann <gerd@gnu.org> |
2954 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2955 * xterm.c (xim_initialize) [!USE_XIM]: Don't set up the |
29949 | 2956 display info for XIM. |
2957 (xim_open_dpy): Likewise. | |
2958 (xim_close_dpy): Don't free the display info's XIM. | |
2959 | |
2960 * xfns.c (x_window) [!USE_XIM]: Don't call create_frame_ic. | |
2961 | |
2962 * config.in (USE_XIM): New define. | |
2963 | |
29942 | 2964 * keymap.c (get_keyelt): For menu-items containing a `:filter |
2965 FILTER', apply FILTER to the menu-item's definition to get the | |
2966 real definition to use. | |
2967 | |
2968 * lisp.h (QCfilter): External declaration. | |
2969 | |
29939 | 2970 * xfns.c (Fimage_size): New function. |
2971 (syms_of_xfns): Defsubr it. | |
2972 | |
29933 | 2973 2000-06-26 Andreas Schwab <schwab@suse.de> |
2974 | |
2975 * coding.c (decode_coding_string): Re-fetch STRING_BYTES after | |
2976 Fstring_as_unibyte. | |
2977 | |
29930 | 2978 2000-06-25 Dave Love <fx@gnu.org> |
2979 | |
2980 * term.c [!HAVE_TERMCAP_H]: Declare tputs, tgetent, tgetflag, | |
2981 tgetnum. | |
2982 | |
2983 * Makefile.in (blockinput.h): Depend on atimer.h. | |
2984 (atimer.h): Depend on systime.h. | |
2985 | |
2986 * blockinput.h: Protect against multiple inclusion. Include | |
2987 atimer.h. | |
2988 | |
2989 * atimer.h: Protect against multiple inclusion. Include | |
2990 systime.h. | |
2991 | |
2992 * lisp.h (swap_in_global_binding): Declare. | |
2993 | |
29921
8a4552214d84
* process.c (Fopen_network_stream): Turn off atimers for duration of call to
Ken Raeburn <raeburn@raeburn.org>
parents:
29918
diff
changeset
|
2994 2000-06-24 Ken Raeburn <raeburn@gnu.org> |
8a4552214d84
* process.c (Fopen_network_stream): Turn off atimers for duration of call to
Ken Raeburn <raeburn@raeburn.org>
parents:
29918
diff
changeset
|
2995 |
8a4552214d84
* process.c (Fopen_network_stream): Turn off atimers for duration of call to
Ken Raeburn <raeburn@raeburn.org>
parents:
29918
diff
changeset
|
2996 * process.c (Fopen_network_stream): Turn off atimers for duration |
8a4552214d84
* process.c (Fopen_network_stream): Turn off atimers for duration of call to
Ken Raeburn <raeburn@raeburn.org>
parents:
29918
diff
changeset
|
2997 of call to connect. (Patch from Gerd.) |
8a4552214d84
* process.c (Fopen_network_stream): Turn off atimers for duration of call to
Ken Raeburn <raeburn@raeburn.org>
parents:
29918
diff
changeset
|
2998 |
29916 | 2999 2000-06-23 Dave Love <fx@gnu.org> |
3000 | |
29918 | 3001 * ralloc.c: Maybe include unistd.h |
3002 | |
29916 | 3003 * emacs.c (setgrp): Undefine before defining. |
3004 (malloc_warning, set_time_zone_rule, index): Prototype. | |
3005 | |
3006 * systime.h (EMACS_GET_TIME) [!GETTIMEOFDAY_ONE_ARGUMENT]: Use | |
3007 HAVE_STRUCT_TIMEZONE. | |
3008 | |
3009 * s/osf1.h: Move string.h hack here from alpha.h and make it | |
3010 conditional. | |
3011 (C_SWITCH_SYSTEM): Use _OSF_SOURCE, not -BSD, which clashes with | |
3012 _XOPEN_SOURCE. | |
3013 (WAIT_USE_INT, SYS_SIGLIST_DECLARED, sys_siglist, NSIG): Define. | |
3014 (SOCKLEN_TYPE): Don't define. | |
3015 | |
3016 * m/alpha.h: Remove string.h hack. | |
3017 | |
3018 * s/osf5-0.h: New file. | |
3019 | |
3020 * filelock.c: Use feature tests for fcntl.h, string.h. Don't | |
3021 include time.h, done by systime.h. | |
3022 [__FreeBSD__]: Remove redundant includes. | |
3023 | |
29942 | 3024 * callproc.c (setpgrp): Undefine before defining. |
29916 | 3025 (delete_temp_file): Return Qnil to avoid warning. |
3026 | |
3027 * config.in (HAVE_TERM_H, HAVE_STRUCT_TIMEZONE): Add. | |
3028 | |
3029 * xfaces.c: Include fontset.h dependent on HAVE_WINDOW_SYSTEM, not | |
3030 HAVE_X_WINDOWS. | |
3031 | |
3032 * fontset.h (free_face_fontset): Renamed from fs_free_face_fontset. | |
3033 | |
3034 * composite.h (compose_text): Declare. | |
3035 | |
3036 * xterm.c: Don't include sys/types.h unconditionally. Don't | |
3037 protect its inclusion with !USG (following xmenu.c). | |
3038 | |
29888 | 3039 2000-06-23 Gerd Moellmann <gerd@gnu.org> |
3040 | |
3041 * xfns.c (x_create_tip_frame): Initialize frame's colors like | |
3042 in x_create_frame. | |
3043 | |
29878 | 3044 2000-06-23 Eli Zaretskii <eliz@is.elta.co.il> |
3045 | |
3046 * coding.c (decode_eol_post_ccl): Special handling for undecided | |
3047 and inconsistent EOL types. | |
3048 | |
29860 | 3049 2000-06-22 Gerd Moellmann <gerd@gnu.org> |
3050 | |
29868 | 3051 * xrdb.c (x_load_resources): Add default resource for scroll bar's |
3052 trough color and main window's background color. | |
3053 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3054 * xfns.c (Fx_file_dialog) [HAVE_MOTIF_2_1]: Handle events |
29868 | 3055 differently. |
3056 | |
3057 * xterm.h (Xt_app_con): External declaration. | |
3058 | |
3059 * widget.c (EmacsFrameRealize): Fix typo. | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3060 |
29862 | 3061 * widget.c (EmacsFrameRealize): Remove SubstructureRedirectMask. |
3062 | |
29860 | 3063 * xdisp.c (handle_stop): Initialize it->add_overlay_start to zero. |
3064 (handle_invisible_prop): Record the start of invisible text in | |
3065 it->add_overlay_start. | |
3066 (struct overlay_entry): Add member `overlay'. | |
3067 (handle_overlay_change): Simplify. | |
3068 (next_overlay_string): After having processed overlay strings at the | |
3069 end of the buffer, record that fact in | |
3070 it->overlay_strings_at_end_processed_p. | |
3071 (compare_overlay_entries): If before- and after-strings come | |
3072 from the same overlay, let before-strings come first. | |
3073 (RECORD_OVERLAY_STRING): Record the overlay that strings come from. | |
3074 (load_overlay_strings): Take it->add_overlay_start into account | |
3075 when adding overlay strings. | |
3076 | |
3077 * dispextern.h (struct it): Add member add_overlay_start. | |
3078 | |
29852 | 3079 2000-06-22 Dave Love <fx@gnu.org> |
3080 | |
3081 * s/isc3-0.h (C_SWITCH_SYSTEM): Define _XOPEN_SOURCE=500. | |
3082 | |
3083 * s/gnu-linux.h (C_SWITCH_SYSTEM): Don't define _XOPEN_SOURCE here. | |
3084 | |
29846 | 3085 2000-06-22 Kenichi Handa <handa@etl.go.jp> |
3086 | |
3087 * ccl.c (ccl_driver) <CCL_End>: Decrement stack_idx only when it | |
3088 is greater than 0. | |
3089 | |
29843 | 3090 2000-06-21 Dave Love <fx@gnu.org> |
3091 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3092 * Makefile.in (GETLOADAVG_OBJ): Removed -- LIBOBJS does it. |
29843 | 3093 |
29836
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3094 2000-06-21 Stefan Monnier <monnier@cs.yale.edu> |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3095 |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3096 * syntax.c (back_comment): Simplify string-parity counting (with |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3097 the added benefit of handling multiple string-styles as long as |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3098 they are not intertwined). |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3099 Jump to the slow code as soon as a comment starter is found in |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3100 a "string_lossage" position. Fixes the case: " /* " /* " */. |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3101 |
29834 | 3102 2000-06-21 Dave Love <fx@gnu.org> |
3103 | |
3104 * Makefile.in: Use GETLOADAVG_LIBS. | |
3105 | |
3106 * config.in: Add HAVE_FCNTL_H, _FILE_OFFSET_BITS, | |
3107 _LARGEFILE_SOURCE, _LARGE_FILES, _XOPEN_SOURCE. | |
3108 | |
29822
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3109 2000-06-20 Stefan Monnier <monnier@cs.yale.edu> |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3110 |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3111 * syntax.c (describe_syntax): Recognize the `n'estable bit. |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3112 (Fforward_comment, scan_lists): |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3113 Check the comstyle of single-char comment-starters. |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3114 (scan_sexps_forward): Don't try to recognize `half comment-enders' if |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3115 we're just at the beginning of the comment (f.ex with (*) ... (*)). |
29824
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
3116 Check the comstyle of single-char comment-starters. |
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
3117 Clarify control-flow around the Scomment case. |
29822
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3118 |
29815 | 3119 2000-06-20 Dave Love <fx@gnu.org> |
3120 | |
29824
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
3121 * fns.c (make_hash_table, maybe_resize_hash_table): |
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
3122 Cast arg of next_almost_prime. |
29815 | 3123 |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3124 * tparam.c [emacs]: Include lisp.h. |
29815 | 3125 |
3126 * termcap.c [emacs]: Test HAVE_FCNTL_H, not USG5. Include lisp.h | |
3127 and unistd.h. | |
3128 | |
29814 | 3129 2000-06-20 Gerd Moellmann <gerd@gnu.org> |
3130 | |
29820 | 3131 * keyboard.c (adjust_point_for_property): Check if display |
3132 property should be treated as intangible by looking at its | |
3133 value. | |
3134 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3135 * xdisp.c (single_display_prop_intangible_p) |
29820 | 3136 (display_prop_intangible_p): New functions. |
3137 | |
3138 * dispextern.h (display_prop_intangible_p): Add prototype. | |
3139 | |
3140 * xdisp.c (dump_glyph_row): Show type of glyph->object. | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3141 |
29814 | 3142 * s/isc4-0.h (sigblock): Redefined to pass a pointer as second |
3143 argument to sigprocmask. | |
3144 | |
3145 * s/sco5.h (sigblock): Redefined to pass a pointer as second | |
3146 argument to sigprocmask. | |
3147 | |
3148 * syssignal.h (sigblock, sigunblock) [USG5_4]: Set | |
3149 sigprocmask_set, and pass a pointer to it to sigprocmask. | |
3150 | |
3151 * sysdep.c (sigprocmask_set): New variable. | |
3152 | |
3153 * fileio.c (make_temp_name): Don't use `%s' in string passed to | |
3154 report_file_error. | |
3155 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3156 2000-06-20 Sam Steingold <sds@gnu.org> |
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3157 |
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3158 * xrdb.c: Don't declare xmalloc, xrealloc. |
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3159 |
29802
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3160 2000-06-20 Stefan Monnier <monnier@cs.yale.edu> |
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3161 |
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3162 * regex.c (re_match, re_match_2): Protect calls to alloca (0). |
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3163 (re_comp): Cast gettext return value to avoid complaints when |
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3164 !HAVE_LIBINTL. |
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3165 |
29786 | 3166 2000-06-20 Dave Love <fx@gnu.org> |
3167 | |
29796 | 3168 * m/stride.h, m/mips.h: Don't define HAVE_GETWD, |
3169 HAVE_GETTIMEOFDAY. | |
3170 | |
29815 | 3171 * m/ibmrt-aix.h: Don't declare HAVE_GETTIMEOFDAY, HAVE_VFORK. |
29796 | 3172 |
29824
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
3173 * m/ibmrs6000.h, m/ibmps2-aix.h, m/dpx2.h: Don't declare HAVE_GETWD. |
29796 | 3174 |
3175 * m/alpha.h: Don't declare xmalloc, xrealloc. | |
3176 | |
29790 | 3177 * s/ux4800.h: Don't declare GETTIMEOFDAY_ONE_ARGUMENT. |
3178 | |
3179 * s/usg5-4-2.h: Don't declare HAVE_GETWD, VFORK_RETURN_TYPE. | |
3180 | |
3181 * s/umips.h: Don't declare HAVE_GETWD, HAVE_GETTIMEOFDAY. | |
3182 | |
3183 * s/cxux.h, s/gnu-linux.h, s/iris3-6.h, s/irix3-3.h: Don't declare | |
3184 HAVE_GETWD. | |
3185 | |
29786 | 3186 * keyboard.h (poll_for_input_1): Declare. |
3187 | |
3188 * getloadavg.c: Don't define NLIST_STRUCT (handled by configure). | |
3189 | |
3190 * alloc.c (xmalloc, xrealloc, xfree): Define using POINTER_TYPE. | |
3191 | |
3192 * doprnt.c: Don't declare xmalloc, xrealloc. | |
3193 | |
3194 * lisp.h (x_set_tool_bar_lines, free_frame_xic, compose_text) | |
3195 (getenv, ctime, getwd): Removed. | |
3196 (xmalloc, xrealloc, xfree): Declare using POINTER_TYPE. | |
3197 | |
3198 * xterm.h: Remove duplicate prototypes. Declare free_frame_xic, | |
3199 x_set_tool_bar_lines. | |
3200 | |
3201 * config.in: Add HAVE_GETWD. Move some definitions above | |
3202 machine/system includes. | |
3203 | |
29766 | 3204 2000-06-20 Kenichi Handa <handa@etl.go.jp> |
3205 | |
29770 | 3206 * s/bsd386.h (HAVE_GETLOADAVG): Define it as 1. |
3207 | |
29766 | 3208 * xfaces.c (font_list): Handle the case that REGISTRY doesn't |
3209 contain information about ENCODING. | |
3210 | |
3211 * fontset.c (FONTSET_ASCII): Use the first element of char table | |
3212 for an ASCII font, not defalt slot. | |
3213 (fontset_ref_via_base): If FONTSET doesn't contain information for | |
3214 C, try the default fontset. | |
3215 (make_fontset): Don't copy the default fontset. | |
3216 (fontset_font_pattern): Likewise. | |
3217 (accumulate_font_info): If ELT is nil, use the corresponding | |
3218 element in the default fontset. | |
3219 | |
29752 | 3220 2000-06-19 Dave Love <fx@gnu.org> |
3221 | |
29758 | 3222 * syntax.c (Fparse_partial_sexp): Doc fix. |
3223 | |
3224 * regex.h: Test PROTOTYPES as well as __STDC__. | |
3225 | |
29752 | 3226 * unexalpha.c: Include errno.h, string.h, unistd.h. Don't declare |
3227 errno, strerror. Put text after #endif in comment. | |
3228 | |
3229 * xdisp.c (dump_glyph_matrix): Add `static' to declaration (for | |
3230 pcc). | |
3231 | |
3232 * xterm.c (x_frame_of_widget): Likewise. | |
3233 | |
29747 | 3234 2000-06-19 Gerd Moellmann <gerd@gnu.org> |
3235 | |
3236 * abbrev.c (syms_of_abbrev): Set buffer_default's abbrev table | |
3237 to Vfundamental_mode_abbrev_table. | |
3238 | |
3239 * alloc.c (mark_object) [GC_CHECK_MARKED_OBJECTS]: Check that no | |
3240 bogus objects are marked. This slows down GC by ~80 percent, but | |
3241 it might be worth trying when debugging GC-related problems. | |
3242 This feature requires conservative stack marking to be enabled. | |
3243 | |
3244 * xterm.c (XTread_socket) <KeyPress>: In case XmbLookupString | |
3245 returns XLookupChars, reset `modifiers' to zero. | |
3246 | |
29738 | 3247 2000-06-19 Dave Love <fx@gnu.org> |
3248 | |
3249 * mktime.c: Unprotoized. | |
3250 | |
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
3251 2000-06-19 Richard Stallman <rms@gnu.org> |
29736 | 3252 |
3253 * data.c (set_internal): If variable is frame-local, | |
3254 store the new value immediately into the frame parameter alist. | |
3255 | |
29726
c9430bc1c824
* keyboard.c (follow_key, read_key_sequence): Use XUINT on key value, or checks
Ken Raeburn <raeburn@raeburn.org>
parents:
29720
diff
changeset
|
3256 2000-06-19 Ken Raeburn <raeburn@gnu.org> |
c9430bc1c824
* keyboard.c (follow_key, read_key_sequence): Use XUINT on key value, or checks
Ken Raeburn <raeburn@raeburn.org>
parents:
29720
diff
changeset
|
3257 |
29728
f0f1e1365670
fix jpeg error-handling setup
Ken Raeburn <raeburn@raeburn.org>
parents:
29727
diff
changeset
|
3258 * xfns.c (jpeg_load): Fetch error-handling data first, then fill |
f0f1e1365670
fix jpeg error-handling setup
Ken Raeburn <raeburn@raeburn.org>
parents:
29727
diff
changeset
|
3259 in the custom handler pointer. |
f0f1e1365670
fix jpeg error-handling setup
Ken Raeburn <raeburn@raeburn.org>
parents:
29727
diff
changeset
|
3260 |
29726
c9430bc1c824
* keyboard.c (follow_key, read_key_sequence): Use XUINT on key value, or checks
Ken Raeburn <raeburn@raeburn.org>
parents:
29720
diff
changeset
|
3261 * keyboard.c (follow_key, read_key_sequence): Use XUINT on key |
29727
a1a4b7597a40
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
29726
diff
changeset
|
3262 value, or checks for CHAR_META can fail when Lisp_Object is a |
a1a4b7597a40
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
29726
diff
changeset
|
3263 union type. |
29726
c9430bc1c824
* keyboard.c (follow_key, read_key_sequence): Use XUINT on key value, or checks
Ken Raeburn <raeburn@raeburn.org>
parents:
29720
diff
changeset
|
3264 * keymap.c (get_keyelt): Likewise. |
c9430bc1c824
* keyboard.c (follow_key, read_key_sequence): Use XUINT on key value, or checks
Ken Raeburn <raeburn@raeburn.org>
parents:
29720
diff
changeset
|
3265 |
29720 | 3266 2000-06-19 Kenichi Handa <handa@etl.go.jp> |
3267 | |
3268 * ccl.h (struct ccl_program): New member eol_type. | |
3269 (struct ccl_spec): New member cr_carryover. | |
3270 | |
3271 * ccl.c (CCL_WRITE_CHAR): Convert NL according to ccl->eol_type. | |
3272 (setup_ccl_program): Initialize ccl->eol_type to CODING_EOL_LF. | |
3273 | |
3274 * coding.c (setup_coding_system) <4>: Reset member `cr_carryover'. | |
3275 (ccl_coding_driver): On encoding, initialize ccl->eol_type. | |
3276 (decode_eol_post_ccl): New function. | |
3277 (decode_coding): Don't detect EOL format here for CCL based coding | |
3278 systems. | |
3279 (decode_coding) <coding_type_ccl>: Handle carryovered CR. Call | |
3280 decode_eol_post_ccl after running the CCL program. | |
3281 (code_convert_region): Don't detect EOL format here for CCL based | |
3282 coding systems. | |
3283 (decode_coding_string): Likewise. | |
3284 | |
29717
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3285 2000-06-18 Ken Raeburn <raeburn@gnu.org> |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3286 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3287 * charset.c (update_charset_table): Use XINT on "iso_final_char" |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3288 when treating it as an integer. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3289 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3290 * coding.h (encode_coding_string): Declare. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3291 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3292 * keyboard.c (read_key_sequence): Use XINT on "pos" when treating |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3293 it as an integer. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3294 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3295 * keymap.c (Fwhere_is_internal): Rename argument "keymap" to |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3296 "xkeymap" to avoid shadowing the "enum map_type" value that needs |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3297 to be passed to get_local_map. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3298 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3299 * sound.c (Fplay_sound): Don't call make_number on |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3300 Frun_hook_with_args count argument. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3301 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3302 * xterm.c (x_send_scroll_bar_event): Fudge lisp object/integer |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3303 for lisp objects in X event structure data field, when lisp |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3304 objects are represented with unions. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3305 (x_scroll_bar_to_input_event): Ditto. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3306 |
29697
f24d81dfa064
* xdisp.c (decode_mode_spec): In "no_value" case, do NUL termination of string.
Ken Raeburn <raeburn@raeburn.org>
parents:
29696
diff
changeset
|
3307 2000-06-16 Ken Raeburn <raeburn@gnu.org> |
f24d81dfa064
* xdisp.c (decode_mode_spec): In "no_value" case, do NUL termination of string.
Ken Raeburn <raeburn@raeburn.org>
parents:
29696
diff
changeset
|
3308 |
f24d81dfa064
* xdisp.c (decode_mode_spec): In "no_value" case, do NUL termination of string.
Ken Raeburn <raeburn@raeburn.org>
parents:
29696
diff
changeset
|
3309 * xdisp.c (decode_mode_spec): In "no_value" case, do NUL |
29698
9ad6e18de5f7
* xdisp.c (decode_mode_spec): Fix sense of test whether Vline_number_display_limit is an integer.
Ken Raeburn <raeburn@raeburn.org>
parents:
29697
diff
changeset
|
3310 termination of string. Fix sense of test whether |
9ad6e18de5f7
* xdisp.c (decode_mode_spec): Fix sense of test whether Vline_number_display_limit is an integer.
Ken Raeburn <raeburn@raeburn.org>
parents:
29697
diff
changeset
|
3311 Vline_number_display_limit is an integer. |
29697
f24d81dfa064
* xdisp.c (decode_mode_spec): In "no_value" case, do NUL termination of string.
Ken Raeburn <raeburn@raeburn.org>
parents:
29696
diff
changeset
|
3312 |
29688 | 3313 2000-06-16 Gerd Moellmann <gerd@gnu.org> |
3314 | |
29712 | 3315 * xfaces.c (syms_of_xfaces) [DEBUG_X_COLORS]: Defsubr dump_colors |
3316 only if HAVE_X_WINDOWS. | |
3317 | |
29696 | 3318 * keymap.c (describe_buffer_bindings): Add `\f\n' in front |
3319 of titles. | |
3320 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3321 * dispnew.c (update_frame_1): Handle case that cursor vpos is |
29688 | 3322 out of bounds. |
3323 | |
29670 | 3324 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il> |
3325 | |
3326 * unexec.c (toplevel): Fix last change, so as not to deprive MSDOS | |
3327 of its headers. | |
3328 | |
29662 | 3329 2000-06-15 Kenichi Handa <handa@etl.go.jp> |
3330 | |
3331 * coding.c (decode_coding_emacs_mule): Always set src_base at the | |
3332 start of the while loop. | |
3333 | |
29661 | 3334 2000-06-15 Gerd Moellmann <gerd@gnu.org> |
3335 | |
29673 | 3336 * atimer.c (alarm_signal_handler): Add forward declaration. |
3337 | |
29661 | 3338 * data.c (set_internal): Remove debug code. |
3339 | |
29637 | 3340 2000-06-14 Gerd Moellmann <gerd@gnu.org> |
3341 | |
29657 | 3342 * Makefile.in (bootstrap-temacs): Add `-I../src'. |
3343 | |
29654 | 3344 * unexec.c (toplevel) [COFF]: Include coff.h. |
3345 | |
3346 * s/lynxos.h: New file. | |
3347 | |
3348 * keymap.c (Fsingle_key_description): Enclose function key and | |
3349 event symbol names in angle brackets. | |
3350 | |
29644 | 3351 * xdisp.c (setup_echo_area_for_printing): Call |
3352 message_log_maybe_newline if message_buf_print is not set. | |
3353 | |
3354 * print.c (printchar, strout): Don't check message_buf_print | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3355 before calling setup_echo_area_for_printing because that |
29644 | 3356 function does something useful even when message_buf_print is |
3357 already set. | |
3358 | |
29637 | 3359 * xdisp.c (message_truncate_lines, Qmessage_truncate_lines): New |
3360 variables. | |
3361 (ensure_echo_area_buffers): Initialize echo buffer's | |
3362 truncate lines setting to nil. | |
3363 (with_echo_area_buffer): Don't set the echo buffer's truncate | |
3364 lines setting here. | |
29644 | 3365 (set_message_1): Set it here instead, based on the value |
29637 | 3366 of message_truncate_lines. |
3367 (resize_mini_window): Handle case that lines are truncated. | |
3368 (syms_of_xdisp): Initialize Qmessage_truncate_lines. DEFVAR_BOOL | |
3369 message-truncate-lines. | |
3370 | |
3371 * keyboard.c (read_char): Bind message-truncate-lines to t | |
3372 while displaying a help-echo. | |
3373 | |
3374 * lisp.h (Qmessage_truncate_lines): External declaration. | |
3375 | |
29620 | 3376 2000-06-13 Gerd Moellmann <gerd@gnu.org> |
3377 | |
29633 | 3378 * xdisp.c (Vline_number_display_limit): Renamed from |
3379 line_number_display_limit. | |
3380 (syms_of_xdisp): Use DEFVAR_LISP for line-number-display-limit. | |
3381 Extend documentation string. Initialize | |
3382 Vline_number_display_limit to nil meaning no limit. | |
3383 (decode_mode_spec): Use Vline_number_display_limit with its new | |
3384 meaning. | |
3385 | |
29620 | 3386 * xterm.c (x_check_font) [GLYPH_DEBUG]: Add prototype. |
3387 | |
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
3388 2000-06-13 Richard Stallman <rms@gnu.org> |
29620 | 3389 |
3390 * frame.c (Fmodify_frame_parameters): Doc fix. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3391 |
29620 | 3392 * xfns.c (x_set_frame_parameters): Comment fix. |
3393 | |
3394 * frame.c (store_frame_param): Call swap_in_global_binding if the | |
3395 variable's current binding was chosen based on this frame. | |
3396 | |
3397 * data.c (swap_in_global_binding): New function. | |
3398 | |
29615 | 3399 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il> |
3400 | |
3401 * msdos.c (IT_write_glyphs): Don't use CODING_REQUIRE_ENCODING | |
3402 macro, instead AND with CODING_REQUIRE_ENCODING_MASK. | |
3403 | |
29612 | 3404 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il> |
3405 | |
3406 * msdos.h (EMACS_MSDOS_H): Renamed from MSDOS_H_. | |
3407 | |
29606 | 3408 2000-06-12 Jason Rumney <jasonr@gnu.org> |
3409 | |
3410 * w32bdf.h (EMACS_W32BDF_H): Renamed from __W32BDF_H__ | |
3411 | |
3412 * w32.h (EMACS_W32_H): Renamed from _NT_H_ | |
3413 | |
3414 * w32gui.h (EMACS_W32GUI_H): Renamed from __W32GUI_H__ | |
3415 | |
3416 * w32inevt.h (EMACS_W32INEVT_H): Renamed from __NTINEVT_H__ | |
3417 | |
29603 | 3418 2000-06-12 Gerd Moellmann <gerd@gnu.org> |
3419 | |
3420 * xfaces.c (Fdump_colors) [DEBUG_X_COLORS]: New function. | |
3421 (syms_of_xfaces): Defsubr Sdump_colors. | |
3422 (x_free_colors): Don't treat b&w specially on default visual. | |
3423 (x_free_dpy_colors): New function. | |
3424 (free_face_colors): Don't check visual class; it's done | |
3425 in x_free_colors. | |
3426 | |
3427 * xterm.c (x_frame_of_widget): New function. | |
3428 (x_alloc_nearest_color_for_widget): Use it. | |
3429 (x_copy_dpy_color): New function. | |
3430 (x_destroy_window): Free various colors. | |
3431 | |
29574 | 3432 2000-06-12 Kenichi Handa <handa@etl.go.jp> |
3433 | |
3434 * ccl.h (EMACS_CCL_H): Renamed from _CCL_H. | |
3435 | |
3436 * charset.h (EMACS_CHARSET_H): Renamed from _CHARSET_H. | |
3437 | |
3438 * coding.h (EMASC_CODING_H): Renamed from _CODING_H. | |
3439 | |
3440 * composite.h (EMACS_COMPOSITE_H): Renamed from _COMPOSITE_H. | |
3441 | |
3442 * fontset.h (EMACS_FONTSET_H): Renamed from _FONTSET_H. | |
3443 | |
29560 | 3444 2000-06-11 Dave Love <fx@gnu.org> |
3445 | |
3446 * systime.h (EMACS_SYSTIME_H): Renamed from _SYSTIME_H. | |
3447 | |
29558 | 3448 2000-06-11 Eli Zaretskii <eliz@is.elta.co.il> |
3449 | |
3450 * msdos.h: Don't use _MSDOS_H_ as a symbol, use MSDOS_H_ instead. | |
3451 | |
29556 | 3452 2000-06-11 Gerd Moellmann <gerd@gnu.org> |
3453 | |
29603 | 3454 * xmenu.c (xmenu_show): Cast second parameter of lw_popup_menu |
29556 | 3455 to `XEvent *'. |
3456 | |
29537 | 3457 2000-06-10 Kenichi Handa <handa@etl.go.jp> |
3458 | |
29545 | 3459 * regex.c (MAKE_CHAR) [!emacs]: Dummy macro for non-Emacs env. |
3460 (regex_compile): Fix the code for handling the case of single byte | |
3461 char and multibyte char being mixed in a range within [...]. | |
3462 | |
29541 | 3463 * fileio.c (Finsert_file_contents): Be sure to setup src_multibyte |
3464 and dst_multibyte members of coding. | |
3465 | |
29537 | 3466 * charset.c (update_charset_table): Update the table |
3467 bytes_by_char_head. | |
3468 (init_charset_once): Initialize elements of bytes_by_char_head to | |
3469 1 except for leading codes for private charases. | |
3470 | |
3471 * charset.h (CHARSET_8_BIT_GRAPHIC): Define as 0x80. | |
3472 (UNIBYTE_STR_AS_MULTIBYTE_P): Fix for an invalid multibyte | |
3473 sequence. | |
3474 | |
29536
4def8a9e785a
* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
Ken Raeburn <raeburn@raeburn.org>
parents:
29517
diff
changeset
|
3475 2000-06-09 Ken Raeburn <raeburn@gnu.org> |
4def8a9e785a
* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
Ken Raeburn <raeburn@raeburn.org>
parents:
29517
diff
changeset
|
3476 |
4def8a9e785a
* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
Ken Raeburn <raeburn@raeburn.org>
parents:
29517
diff
changeset
|
3477 * xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to |
4def8a9e785a
* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
Ken Raeburn <raeburn@raeburn.org>
parents:
29517
diff
changeset
|
3478 access the data it doesn't point to. |
4def8a9e785a
* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
Ken Raeburn <raeburn@raeburn.org>
parents:
29517
diff
changeset
|
3479 |
29517 | 3480 2000-06-08 Gerd Moellmann <gerd@gnu.org> |
3481 | |
3482 * xterm.c (XTread_socket) <FocusIn>: Queue a FOCUS_IN_EVENT which | |
29556 | 3483 will be translated to a switch-frame event when reading the |
29517 | 3484 event queue. This is necessary because Emacs otherwise won't |
3485 perform a switch-frame to a new frame until some other event, for | |
3486 example a keystroke event, forces it to do so. This has various | |
3487 effects, one visible being that the cursor of a frame created with | |
3488 C-x 5 2 or switched to with a window manager key binding like | |
3489 A-TAB stays hollow because selected_window isn't on the newly | |
3490 focused frame until the switch-frame is performed. | |
3491 | |
3492 * keyboard.c (kbd_buffer_get_event): Handle FOCUS_IN_EVENT by | |
3493 generating a switch-frame event if necessary. | |
3494 | |
3495 * termhooks.h (enum event_kind): Add FOCUS_IN_EVENT. | |
3496 | |
3497 * xdisp.c (handle_fontified_prop): Don't GCPRO local var `pos'; | |
3498 it's an integer. | |
3499 | |
29502 | 3500 2000-06-08 Kenichi Handa <handa@etl.go.jp> |
3501 | |
3502 * fontset.c (Fset_fontset_font): The arg CHARACTER may be a | |
3503 charset. | |
3504 | |
29482 | 3505 2000-06-07 Gerd Moellmann <gerd@gnu.org> |
3506 | |
29489 | 3507 * window.c (displayed_window_lines): Take empty lines at |
3508 the bottom of a window into account. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3509 |
29487 | 3510 * window.c (displayed_window_lines): New function. |
3511 (Fmove_to_window_line): Use displayed_window_lines to determine | |
3512 the number of lines to move, instead of using the window's height. | |
3513 | |
3514 * lread.c (readevalloop): If READCHARFUN sets point to ZV, arrange | |
3515 to stop reading, even if the form read sets point to a different | |
3516 value when evaluated. | |
3517 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3518 * xdisp.c (display_line): Fix code deciding in which line to |
29482 | 3519 put the cursor. |
3520 | |
29479 | 3521 2000-06-07 Kenichi Handa <handa@etl.go.jp> |
3522 | |
3523 * fileio.c (e_write): Free composition data if stored in | |
3524 coding->cmp_data. | |
3525 | |
29460 | 3526 2000-06-06 Gerd Moellmann <gerd@gnu.org> |
3527 | |
29475 | 3528 * xdisp.c (display_line): Set row's and iterator's |
3529 starts_in_middle_of_char_p and ends_in_middle_of_char_p flags. | |
3530 Set cursor even if row ends in the middle of a character. | |
3531 (dump_glyph_row): Print values of new flags. | |
3532 (redisplay_window) <cursor movement in unchanged window>: When | |
3533 point has been moved forward, and PT is at the end of the cursor | |
3534 row, don't place the cursor in the next row if the cursor row ends | |
3535 in the middle of a character or at ZV. | |
3536 | |
3537 * dispextern.h (struct it): Add starts_in_middle_of_char_p. | |
3538 (struct glyph_row): Add starts_in_middle_of_char_p and | |
3539 ends_in_middle_of_char_p. | |
3540 (MATRIX_ROW_ENDS_IN_MIDDLE_OF_CHAR_P): Test row's | |
3541 ends_in_middle_of_char_p flag. | |
3542 (MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P): Likewise. | |
3543 | |
29463 | 3544 * term.c (append_glyph): Revert change of 2000-06-06. |
3545 | |
3546 * xdisp.c (display_line): Revert change of 2000-06-06. Treat | |
3547 padding glyph not fitting on line as whole character not | |
3548 fitting on line. | |
3549 | |
29460 | 3550 * xterm.c (x_produce_glyphs): Don't xassert `it->descent > 0'; |
3551 this isn't true for images with `:ascent 100'. | |
3552 | |
29450 | 3553 2000-06-06 Kenichi Handa <handa@etl.go.jp> |
3554 | |
29457 | 3555 * buffer.c (Fset_buffer_multibyte): Don't make the current buffer |
3556 as modified if it is originally unmodified. | |
3557 | |
29450 | 3558 * term.c (encode_terminal_code): Change the way to check if |
3559 terminal coding does any conversion. | |
3560 (append_glyph): Set glyph->pixel_width correctly. | |
3561 | |
29451 | 3562 * xdisp.c (display_line): While checking line continuation, pay |
3563 attention to a padding glyph. | |
3564 | |
29447 | 3565 2000-06-05 Gerd Moellmann <gerd@gnu.org> |
3566 | |
3567 * xdisp.c (redisplay_window): Always use set_buffer_internal_1. | |
3568 | |
29431 | 3569 2000-06-05 Dave Love <fx@gnu.org> |
3570 | |
29444 | 3571 * xdisp.c: Include fontset.h. |
3572 | |
3573 * xfns.c (x_real_positions): Declare tmp_nchildren as unsigned. | |
3574 | |
3575 * xterm.c (x_calc_absolute_position): Declare nchildren unsigned. | |
3576 | |
3577 * dispnew.c: Conditionally include term.h. | |
3578 | |
3579 * coding.h: Declare code_convert_string_norecord. | |
3580 | |
3581 * frame.h (struct frame): Use volatile unconditionally. | |
3582 | |
3583 * buffer.h: Remove Vbefore_change_function, Vafter_change_function. | |
3584 | |
3585 * xmenu.c (menu_item_selection): Declare volatile unconditionally. | |
3586 | |
3587 * systime.h: Protect against multiple inclusion. | |
3588 (timezone) [USG5_4]: Define as time_t. | |
3589 | |
3590 * lisp.h (DEFUN, EXFUN): Test PROTOTYPES. | |
3591 (Foptimize_char_table, make_temp_name): Declare. | |
3592 | |
3593 * Makefile.in (xdisp.o): Depend on fontset.h. | |
3594 | |
3595 * xterm.c (x_calc_absolute_position): Declare nchildren unsigned. | |
3596 | |
3597 * lisp.h (DEFUN, EXFUN): Test PROTOTYPES. | |
3598 (Foptimize_char_table, make_temp_name): Declare. | |
3599 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3600 * s/irix4-0.h: |
29431 | 3601 * s/irix5-0.h: |
3602 * s/netbsd.h: Don't define autoconfiscated MATHERR. | |
3603 | |
29397 | 3604 2000-06-02 Dave Love <fx@gnu.org> |
3605 | |
3606 * lread.c (_XOPEN_SOURCE, __EXTENSIONS__): Don't define. | |
3607 | |
29395 | 3608 2000-06-02 Gerd Moellmann <gerd@gnu.org> |
3609 | |
3610 * xfaces.c (realize_x_face): When copying BASE_FACE bitwise to the | |
29447 | 3611 result face, set flags in that face indicating that colors may not |
29395 | 3612 be freed. |
3613 | |
3614 * xterm.c (x_set_mouse_face_gc): If first glyph isn't a character | |
3615 glyph, use the ASCII NUL character to determine the face. | |
3616 | |
29388 | 3617 2000-06-02 Dave Love <fx@gnu.org> |
3618 | |
3619 * sysdep.c: Conditionally include stdlib.h, unistd.h. | |
3620 (VFORK_RETURN_TYPE): Remove. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3621 |
29388 | 3622 * config.in: Add NO_MATHERR. |
3623 | |
29368 | 3624 2000-06-01 Dave Love <fx@gnu.org> |
3625 | |
29383 | 3626 * cmds.c (internal_self_insert): Don't check |
3627 Vbefore_change_function, Vafter_change_function. | |
3628 | |
3629 * insdel.c (signal_before_change, signal_after_change): Likewise. | |
3630 | |
3631 * buffer.c (Vbefore_change_function, Vafter_change_function): | |
3632 Variables and their initializations deleted. | |
3633 | |
29372 | 3634 * callint.c (Fcall_interactively): Doc fix. |
3635 | |
29368 | 3636 * terminfo.c (ospeed) [HAVE_SPEED_T]: Don't declare extern. |
3637 | |
29343 | 3638 2000-05-31 Dave Love <fx@gnu.org> |
3639 | |
3640 * textprop.c: Revert last change -- duplicated. | |
3641 | |
29338 | 3642 2000-05-31 Gerd Moellmann <gerd@gnu.org> |
3643 | |
3644 * dispnew.c (find_glyph_row_slice, swap_glyphs_in_rows): Put | |
3645 in #if 0. | |
3646 | |
3647 * lisp.h (eassert) [!ENABLE_CHECKING]: Define as `(void) 0'. | |
3648 | |
29331 | 3649 2000-05-31 Jason Rumney <jasonr@gnu.org> |
3650 | |
29334 | 3651 * search.c (Fre_search_forward, Fre_search_backward) |
3652 (Fposix_search_backward, Fposix_search_forward): Fix newlines in docs. | |
3653 | |
29331 | 3654 * w32select.c (Fw32_set_clipboard_data): Change QNil to Qnil. |
3655 | |
29308 | 3656 2000-05-30 Jason Rumney <jasonr@gnu.org> |
3657 | |
3658 * coding.h (ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: New macros. | |
3659 [WINDOWSNT]: Add extern for Vw32_system_coding_system. | |
3660 | |
3661 * dispextern.h (struct glyph) [WINDOWSNT]: Add w32_font_type | |
3662 member. | |
3663 | |
3664 * fileio.c (Fread_file_name) [HAVE_NTGUI]: Use file dialog. | |
3665 (Fread_file_name) [HAVE_NTGUI, USE_MOTIF]: Do not attempt to | |
3666 expand a nil default_filename. | |
3667 | |
3668 * keyboard.c (make_lispy_event) [WINDOWS_NT]: Pass a window | |
3669 pointer to glyph_to_pixel_coords, not a frame. | |
3670 | |
3671 * makefile.nt (w32fns.obj, w32menu.obj): Add charset.h and | |
3672 coding.h to dependencies. | |
3673 | |
3674 * w32bdf.c (w32_load_bdf_font): Initialize font->double_byte_p. | |
3675 | |
3676 * w32console.c (glyph_to_pixel_coords): Change first parameter to | |
3677 window pointer to be consistent with w32term.c and xterm.c. | |
3678 | |
3679 * w32fns.c: Format and doc changes to bring closer to xfns.c. | |
3680 (VIETNAMESE_CHARSET): Define if not defined in system headers. | |
3681 (Qline_spacing, Qcenter): New variables. | |
3682 (Qw32_charset_*, w32_codepage_for_font): Moved from w32term.c. | |
3683 (x_set_line_spacing): New function. | |
3684 (x_set_frame_parameters): Use FRAME_NEW_WIDTH, FRAME_NEW_HEIGHT | |
3685 macros. | |
3686 (x_specified_cursor_type): New function. | |
3687 (x_set_cursor_type): Use it. | |
3688 (x_set_name, x_set_title): Use ENCODE_SYSTEM to encode titlebar | |
3689 and icon strings. | |
3690 (validate_x_resource_name, x_get_resource_string): Measure lengths | |
3691 of external strings in bytes. | |
3692 (w32_wnd_proc) [WM_MEASURE_ITEM]: Avoid calling | |
3693 GetTextExtentPoint32 with NULL title. | |
3694 (Fx_create_frame): Initialize Qline_spacing. | |
3695 (w32_load_system_font): Initialize font->double_byte_p. | |
3696 (x_to_w32_charset): Use Vw32_charset_info_alist. | |
3697 (Image, busy cursor, tooltip functions): Merged changes from | |
3698 xfns.c. Not yet functional on Windows. | |
3699 | |
3700 * w32gui.h (W32FontStruct): Add double_byte_p member. | |
3701 | |
3702 * w32inevt.c (NUM_TRANSLATED_MOUSE_BUTTONS): New constant. | |
3703 (emacs_button_translation): Use it. | |
3704 (do_mouse_event): Allow up to 32 mouse buttons by allowing any bit | |
3705 in `mask' to be set. | |
3706 | |
3707 * w32menu.c (single_submenu, w32_menu_show): Call ENCODE_SYSTEM on | |
3708 menu strings. | |
3709 | |
3710 * w32term.c: Format and doc changes to bring closer to xterm.c. | |
3711 (w32_char_font_type): New enum. | |
3712 (Qw32_charset_*, w32_codepage_for_font): Moved to w32fns.c. | |
3713 (w32_per_char_metric): Use w32_char_font_type instead of unicode_p. | |
3714 (w32_encode_char): New function. | |
3715 (x_encode_char): Removed. | |
3716 (x_get_glyph_and_face_encoding): Use w32_encode_char in place of | |
3717 x_encode_char and w32_font_is_double_byte. | |
3718 (x_produce_image_glyph): Use image_ascent. | |
3719 (x_produce_glyphs): Use new version of w32_per_char_metric and | |
3720 handle NULL return value. Allow extra line spacing. | |
3721 (W32_TEXTOUT): Distinguish between Unicode and DBCS text. | |
3722 (w32_get_glyph_overhangs): Remove unicode_p param. Use | |
3723 w32_font_type member of glyph instead. | |
3724 (x_draw_glyph_string): Draw underline and strike-out for BDF fonts. | |
3725 (fast_find_position): Make sure not to consider rows not visible | |
3726 in the window. | |
3727 (w32_read_socket) [WM_MENUSELECT]: Cannot call | |
3728 w32_menu_display_help with input blocked, as it can abort. | |
3729 (x_display_and_set_cursor): Choose cursor depending | |
3730 on buffer-local value of cursor_type. | |
3731 (x_draw_bar_cursor): Add parameter WIDTH. | |
3732 | |
3733 * w32term.h (CP_DEFAULT): Define. | |
3734 (Fx_display_color_p, Fx_display_grayscale_p, image_ascent): Declare. | |
3735 | |
29302 | 3736 2000-05-30 Gerd Moellmann <gerd@gnu.org> |
3737 | |
3738 * search.c (Fre_search_forward, Fre_search_backward) | |
3739 (Fposix_search_backward, Fposix_search_forward): Doc fix. | |
3740 | |
29298 | 3741 2000-05-30 Kenichi Handa <handa@etl.go.jp> |
3742 | |
3743 * coding.c (detect_coding_iso2022): Fix code for checking | |
3744 CODING_CATEGORY_MASK_ISO_8_2. | |
3745 | |
29297
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
3746 2000-05-29 Stefan Monnier <monnier@cs.yale.edu> |
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
3747 |
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
3748 * regex.c (PREFETCH_NOLIMIT): New function. |
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
3749 (re_match_2_internal): Use it and adjust the end_match_2 logic. |
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
3750 |
29285 | 3751 2000-05-29 Gerd Moellmann <gerd@gnu.org> |
3752 | |
29295 | 3753 * syntax.c (find_defun_start): Move test for |
3754 open_paren_in_column_0_is_defun_start outside of the loop. | |
3755 | |
29292 | 3756 * xdisp.c (redisplay_window): Really switch buffers when |
3757 displaying mode lines, and temporarily set selected_frame to the | |
3758 frame of the window that's redisplayed. | |
3759 | |
29285 | 3760 * xfaces.c (free_realized_faces): Block/unblock input. |
3761 (free_realized_multibyte_face): Ditto. | |
3762 | |
29283 | 3763 2000-05-29 Dave Love <fx@gnu.org> |
3764 | |
3765 * textprop.c (Qkeymap): New variable. | |
3766 (syms_of_textprop): Intern it. | |
3767 | |
3768 * keymap.c: Include intervals.h. | |
3769 (Fkey_binding, Fwhere_is_internal): Deal with `keymap' property. | |
3770 | |
3771 * Makefile.in (keymap.o): Depend on intervals.h. | |
3772 | |
3773 * keyboard.c (menu_bar_items, tool_bar_items) | |
3774 (Fexecute_extended_command): Deal with `keymap' property. | |
3775 (read_key_sequence): Track map from `keymap' property as well as | |
3776 `local_map'. | |
3777 | |
3778 * intervals.c (get_local_map): Extra arg to allow looking for | |
3779 `keymap' too. | |
3780 | |
3781 * intervals.h (map_property): New enum. | |
3782 (get_local_map): Extra arg using it. | |
3783 (Qkeymap): Declare. | |
3784 | |
29285 | 3785 * lisp.h (get_local_map): Don't declare here. |
29283 | 3786 |
29271 | 3787 2000-05-29 Kenichi Handa <handa@etl.go.jp> |
3788 | |
3789 * Makefile.in (callproc.o): Depend on composite.h. | |
3790 | |
3791 * callproc.c: Include composite.h. | |
3792 (Fcall_process): Handle composition correctly. | |
3793 | |
3794 * coding.h (coding_allocate_composition_data): Extern it. | |
3795 (coding_restore_composition): Likewise. | |
3796 | |
3797 * coding.c (DECODE_COMPOSITION_START): If coding->cmp_data is not | |
3798 yet allocated, finish decoding with result | |
3799 CODING_FINISH_INSUFFICIENT_CMP. | |
3800 (coding_allocate_composition_data): Make it non-static. | |
3801 (coding_restore_composition): Likewise. | |
3802 | |
29270 | 3803 2000-05-29 Eli Zaretskii <eliz@is.elta.co.il> |
3804 | |
3805 * charset.c (syms_of_charset): Revert last change. | |
3806 | |
29264 | 3807 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il> |
3808 | |
3809 * term.c (produce_glyphs): Treat characters from the eight-bit-* | |
30196
52c1b7a2e7a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30183
diff
changeset
|
3810 charsets as unibyte, with 1-column screen width. Sent by Kenichi |
52c1b7a2e7a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30183
diff
changeset
|
3811 Handa. |
29264 | 3812 |
29261 | 3813 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il> |
3814 | |
3815 * charset.c (syms_of_charset): Set width of character sets | |
3816 eight-bit-control and eight-bit-graphic to 1 column. | |
3817 | |
29254 | 3818 2000-05-26 Gerd Moellmann <gerd@gnu.org> |
3819 | |
3820 * config.in (HAVE_SPEED_T): New define. | |
3821 | |
3822 * sysdep.c, terminfo.c (ospeed) [HAVE_SPEED_T]: Declare as | |
3823 `extern speed_t'. | |
3824 | |
29248 | 3825 2000-05-26 Dave Love <fx@gnu.org> |
3826 | |
3827 * coding.c (shrink_decoding_region): Initialize eol_conversion. | |
3828 | |
3829 * data.c (Qsubrp, Qmany, Qunevalled): New variables. | |
3830 (Fsubr_arity): New function. | |
3831 (syms_of_data): Install them. | |
3832 | |
29226 | 3833 2000-05-26 Kenichi Handa <handa@etl.go.jp> |
3834 | |
29235 | 3835 * charset.c (init_charset_once): Set the table bytes_by_char_head |
3836 correctly. | |
3837 | |
29230 | 3838 * fontset.c (syms_of_fontset): Adjust the font name for ascii of |
3839 the default fontset to what Emacs uses by default. | |
29235 | 3840 (check_registry_encoding): This function deleted. |
3841 (Fset_fontset_font): Remove the adhoc condition for the default | |
3842 fontset. Allow cons in FONTNAME. | |
3843 | |
3844 * fns.c (map_char_table): Ignore char-table entries for | |
3845 charsets eight-bit-control and eight-bit-graphic. | |
29226 | 3846 |
29198
b3592c1e9ddb
* emacs.c (main): Initialize keyboard syms before initializing
Ken Raeburn <raeburn@raeburn.org>
parents:
29196
diff
changeset
|
3847 2000-05-25 Ken Raeburn <raeburn@gnu.org> |
b3592c1e9ddb
* emacs.c (main): Initialize keyboard syms before initializing
Ken Raeburn <raeburn@raeburn.org>
parents:
29196
diff
changeset
|
3848 |
b3592c1e9ddb
* emacs.c (main): Initialize keyboard syms before initializing
Ken Raeburn <raeburn@raeburn.org>
parents:
29196
diff
changeset
|
3849 * emacs.c (main): Initialize keyboard syms before initializing |
b3592c1e9ddb
* emacs.c (main): Initialize keyboard syms before initializing
Ken Raeburn <raeburn@raeburn.org>
parents:
29196
diff
changeset
|
3850 window code, so face names are available. |
b3592c1e9ddb
* emacs.c (main): Initialize keyboard syms before initializing
Ken Raeburn <raeburn@raeburn.org>
parents:
29196
diff
changeset
|
3851 |
29195
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
3852 2000-05-25 Stefan Monnier <monnier@cs.yale.edu> |
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
3853 |
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
3854 * regex.c (at_begline_loc_p): Also recognize the \\(?:^ case |
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
3855 of an anchor at the beginning of a shy-group. |
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
3856 |
29193 | 3857 2000-05-25 Gerd Moellmann <gerd@gnu.org> |
3858 | |
3859 * xdisp.c (handle_invisible_prop): Don't try to skip over | |
3860 invisible text if end of text is already reached. | |
3861 | |
29183 | 3862 2000-05-25 Dave Love <fx@gnu.org> |
3863 | |
29186 | 3864 * xdisp.c (Fdump_glyph_matrix): Declare the arg. |
3865 | |
29183 | 3866 * coding.c (encode_eol): Add null statement after label. |
3867 | |
29181 | 3868 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il> |
3869 | |
3870 * w16select.c (Fw16_set_clipboard_data): Fix the change from | |
3871 2000-05-20. | |
3872 | |
29173 | 3873 2000-05-25 Kenichi Handa <handa@etl.go.jp> |
3874 | |
29174 | 3875 * ccl.c (ccl_driver): Fix previous change. |
29173 | 3876 |
29169 | 3877 2000-05-25 Kenichi Handa <handa@etl.go.jp> |
3878 | |
29171 | 3879 * coding.c (run_pre_post_conversion_on_str): Set point to the |
3880 beginning of buffer before calling coding->post_read_conversion. | |
3881 (decode_coding_string): Give correct args to | |
3882 run_pre_post_conversion_on_str. | |
3883 (encode_coding_string): Likewise. | |
3884 | |
29169 | 3885 * ccl.c (ccl_driver) <CCL_ReadMultibyteChar2> |
3886 <CCL_WriteMultibyteChar2>: Handle charsets eight-bit-control and | |
3887 eight-bit-graphic correctly. | |
3888 | |
29153 | 3889 2000-05-24 Kenichi HANDA <handa@etl.go.jp> |
3890 | |
3891 * fileio.c (Finsert_file_contents): Even if a file is not found, | |
3892 execute codes for setting up coding system. Call | |
3893 after-insert-file-functions unconditionally. | |
3894 | |
29151 | 3895 2000-05-24 Gerd Moellmann <gerd@gnu.org> |
3896 | |
3897 * callproc.c, emacs.c, sysdep.c (setpgrp): Don't define if USG and | |
3898 BSD_PGRPS are not defined. | |
3899 | |
29142 | 3900 2000-05-24 Kenichi Handa <handa@etl.go.jp> |
3901 | |
3902 * charset.c (update_charset_table): Accept nil in LONG_NAME and | |
3903 DESCRIPTION. | |
3904 (syms_of_charset): Avoid building same strings. | |
3905 | |
29127 | 3906 2000-05-23 Gerd Moellmann <gerd@gnu.org> |
3907 | |
3908 * lread.c (Fload): Add a comment about the meaning of | |
3909 Vuser_init_file being t. | |
3910 | |
3911 * puresize.h (BASE_PURESIZE): Increase to 675000. | |
3912 | |
3913 * s/gnu-linux.h (setpgrp): Don't define it here because this | |
3914 prevents compilation on GNU/Linux systems with glib 2.2. | |
3915 | |
3916 * callproc.c, emacs.c, sysdep.c (setpgrp) [HAVE_SETPGID]: Define | |
3917 as setpgid. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3918 |
29104 | 3919 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il> |
3920 | |
3921 * Makefile.in (SOME_MACHINE_LISP): Add disp-table.elc, | |
3922 dos-vars.elc, ccl.elc, and codepage.elc, all loaded by the MS-DOS | |
3923 version. | |
3924 (MSDOS_SUPPORT): Add dos-vars.elc, ccl.elc, and codepage.elc. | |
3925 | |
29092 | 3926 2000-05-23 Kenichi Handa <handa@etl.go.jp> |
3927 | |
29100
a941c97dc65b
(skip_chars): FETCH_STRING_CHAR_ADVANCE unconditionally.
Kenichi Handa <handa@m17n.org>
parents:
29096
diff
changeset
|
3928 * syntax.c (skip_chars): Use FETCH_STRING_CHAR_ADVANCE |
a941c97dc65b
(skip_chars): FETCH_STRING_CHAR_ADVANCE unconditionally.
Kenichi Handa <handa@m17n.org>
parents:
29096
diff
changeset
|
3929 unconditionally. |
a941c97dc65b
(skip_chars): FETCH_STRING_CHAR_ADVANCE unconditionally.
Kenichi Handa <handa@m17n.org>
parents:
29096
diff
changeset
|
3930 |
29096 | 3931 * msdos.c (IT_write_glyphs): Set coding->src_multibyte to 1. |
3932 | |
3933 * term.c (encode_terminal_code): Set coding->src_multibyte | |
3934 properly. | |
3935 | |
29092 | 3936 * coding.c (encode_eol): Fix a bug of DOS style EOL encoding. |
3937 | |
29064 | 3938 2000-05-22 Kenichi Handa <handa@etl.go.jp> |
3939 | |
29068
61a23dd336ab
(read_char): Allow character codes 128..255 to be
Kenichi Handa <handa@m17n.org>
parents:
29064
diff
changeset
|
3940 * keyboard.c (read_char): Allow character codes 128..255 to be |
61a23dd336ab
(read_char): Allow character codes 128..255 to be
Kenichi Handa <handa@m17n.org>
parents:
29064
diff
changeset
|
3941 handled by input-method-function. |
61a23dd336ab
(read_char): Allow character codes 128..255 to be
Kenichi Handa <handa@m17n.org>
parents:
29064
diff
changeset
|
3942 |
29064 | 3943 * insdel.c (adjust_markers_for_replace): Fix previous change. |
3944 (adjust_after_replace): If PREV_TEXT is nil, call | |
3945 adjust_markers_for_insert, not adjust_markers_for_replace. | |
3946 | |
29036 | 3947 2000-05-20 NIIBE Yutaka <gniibe@mri.co.jp> |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3948 |
29036 | 3949 * s/gnu-linux.h (UNIX98_PTYS) [HAVE_GRANDPT]: Define. |
3950 (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF) | |
3951 [HAVE_GRANDPT]: Define. | |
3952 (C_SWITCH_SYSTEM): Add -D_XOPEN_SOURCE. | |
3953 | |
3954 * sysdep.c (setup_pty): Treat case that UNIX98_PTYS is defined | |
3955 like SYSV_PTYS. | |
3956 | |
3957 * config.in (HAVE_GRANDPT, HAVE_GETPT): New defines. | |
3958 | |
3959 * process.c (toplevel) [UNIX98_PTYS]: Include stdlib.h. | |
3960 | |
29028 | 3961 2000-05-20 Kenichi Handa <handa@etl.go.jp> |
3962 | |
3963 The following changes are to handle 8-bit characters in a | |
3964 multibyte buffer/string without facing with byte combining | |
3965 problem. Two new charsets eight-bit-control (for 0x80..0x9F) and | |
3966 eight-bit-graphic (for 0xA0..0xFF) are introduced. | |
3967 | |
3968 * Makefile.in (fns.o): Depend on charset.h. | |
3969 | |
3970 * alloc.c (Fmake_byte_code): If BYTECODE-STRING is multibyte, | |
3971 convert it to unibyte. | |
3972 (make_string): Use parse_str_as_multibyte, not chars_in_text. | |
3973 | |
3974 * buffer.c (advance_to_char_boundary): Don't use DEC_POS to find a | |
3975 apparent char boundary. | |
3976 (Fset_buffer_multibyte): Convert 8-bit characters in the range | |
3977 0x80..0x9F to/from multibyte form. | |
3978 | |
3979 * bytecode.c (Fbyte_code): If arg BYTESTR is multibyte, convert it | |
3980 to unibyte. | |
3981 | |
3982 * callproc.c (Fcall_process): Always encode an argument string if | |
3983 it is multibyte. Setup src_multibyte and dst_multibyte members of | |
3984 process_coding properly. | |
29102 | 3985 |
29028 | 3986 * category.c (Fmodify_category_entry): Use SPLIT_CHAR, not |
3987 SPLIT_NON_ASCII_CHAR. | |
3988 | |
3989 * ccl.c (CCL_WRITE_CHAR): Be sure to write single byte characters | |
3990 as is. | |
3991 (CCL_MAKE_CHAR): Use MAKE_CHAR, not MAKE_NON_ASCII_CHAR. | |
3992 | |
3993 * charset.c (Qeight_bit_control, Qeight_bit_graphic): New | |
3994 variables. | |
3995 (SPLIT_CHARACTER_SEQ): This macro deleted. | |
3996 (SPLIT_MULTIBYTE_SEQ): Assume that multibyte sequence at STR is | |
3997 valid. | |
3998 (CHAR_COMPONENTS_VALID_P): Handle new charsets; eight-bit-control | |
3999 and eight-bit-graphic. | |
4000 (char_to_string): Likewise. Signal an error for too large | |
4001 character code. | |
4002 (char_printable_p): Return 0 for 8-bit characters. | |
4003 (update_charset_table): Update iso_charset_table only when a final | |
4004 character is non-negative. | |
4005 (find_charset_in_text): Renamed from find_charset_in_str. | |
4006 Arguments and return value changed. Callers changed. | |
4007 (Fdefine_charset): Args ISO-FINAL-CHAR and ISO-GRAPHIC-PLANE can | |
4008 be -1 if CHARSET is used only internally. | |
4009 (Fmake_char_internal): Handle new charsets; eight-bit-control and | |
4010 eight-bit-graphic. | |
4011 (Fcharset_after): Simplified. | |
4012 (char_valid_p): Use SPLIT_CHAR, not SPLIT_NON_ASCII_CHAR. | |
4013 (char_bytes): Return 2 for chars of the range 0xA0..0xFF. | |
4014 (multibyte_chars_in_text): Simplified by assuming there's no | |
4015 invalid multibyte sequence. | |
4016 (parse_str_as_multibyte, str_as_multibyte, str_to_multibyte, | |
4017 str_as_unibyte): New functions. | |
4018 (Fstring): Simpified by assuming that byte combining never | |
4019 happens. | |
4020 (init_charset_once): Initialization for | |
4021 LEADING_CODE_8_BIT_CONTROL. | |
4022 (syms_of_charset): Intern and staticpro Qeight_bit_control and | |
4023 Qeight_bit_graphic. Include them in Vcharset_list. Make charsets | |
4024 eight-bit-control and eight-bit-graphic. | |
4025 | |
4026 * charset.h (LEADING_CODE_8_BIT_CONTROL, CHARSET_8_BIT_CONTROL, | |
4027 CHARSET_8_BIT_GRAPHIC): New macros. | |
4028 (SINGLE_BYTE_CHAR_P): Make it faster by using casting. | |
4029 (CHARSET_ISO_GRAPHIC_PLANE): Use XINT instead of XFASTINT. | |
4030 (CHARSET_REVERSE_CHARSET): Likewise. | |
4031 (CHARSET_VALID_P): Handle new charsets; eight-bit-control and | |
4032 eight-bit-graphic. | |
4033 (BYTES_BY_CHAR_HEAD, WIDTH_BY_CHAR_HEAD): Optimize for ASCII. | |
4034 (CHAR_CHARSET, MAKE_CHAR, SPLIT_CHAR, CHAR_BYTES): Likewise. | |
4035 (PARSE_MULTIBYTE_SEQ) [BYTE_COMBINING_DEBUG]: Abort if we | |
4036 encounter an invalid multibyte sequence. | |
4037 (PARSE_MULTIBYTE_SEQ) [not BYTE_COMBINING_DEBUG]: Assume multibyte | |
4038 sequence is always valid. | |
4039 (MAKE_NON_ASCII_CHAR, SPLIT_NON_ASCII_CHAR): These macros Deleted. | |
4040 (UNIBYTE_STR_AS_MULTIBYTE_P, MULTIBYTE_STR_AS_UNIBYTE_P): New | |
4041 macros. | |
4042 (CHAR_STRING): For 8-bit characters, call char_to_string. | |
4043 (INC_POS) [not BYTE_COMBINING_DEBUG]: Faster version. Assume | |
4044 multibyte sequence is always valid. | |
4045 (BUF_INC_POS) [not BYTE_COMBINING_DEBUG]: Likewise. | |
4046 (parse_str_as_multibyte, str_as_multibyte, str_to_multibyte, | |
4047 str_as_unibyte): Extern them. | |
4048 (BCOPY_SHORT): Fix a bug. | |
4049 (CHAR_LEN): This macro deleted. Callers changed to use | |
4050 CHAR_BYTES. | |
4051 (FETCH_STRING_CHAR_ADVANCE): Check multibyteness of STRING. | |
4052 (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): New macro. | |
4053 (FETCH_CHAR_ADVANCE): Check multibyteness of the current buffer. | |
4054 | |
29161 | 4055 * coding.c (ONE_MORE_BYTE, TWO_MORE_BYTES): Set coding->result to |
29028 | 4056 CODING_FINISH_INSUFFICIENT_SRC if there's not enough source. |
4057 (ONE_MORE_CHAR, EMIT_CHAR, EMIT_ONE_BYTE, EMIT_TWO_BYTE, | |
4058 EMIT_BYTES): New macros. | |
4059 (THREE_MORE_BYTES, DECODE_CHARACTER_ASCII, | |
4060 DECODE_CHARACTER_DIMENSION1, DECODE_CHARACTER_DIMENSION2): These | |
4061 macros deleted. | |
4062 (CHECK_CODE_RANGE_A0_FF): This macro deleted. | |
4063 (detect_coding_emacs_mule): Use UNIBYTE_STR_AS_MULTIBYTE_P to | |
4064 check the validity of multibyte sequence. | |
4065 (decode_coding_emacs_mule): New function. | |
4066 (encode_coding_emacs_mule): New macro. | |
4067 (detect_coding_iso2022): Use ONE_MORE_BYTE to fetch a byte from | |
4068 the source. | |
4069 (DECODE_ISO_CHARACTER): Just return a character code. | |
4070 (DECODE_COMPOSITION_START): Set coding->result instead of result. | |
4071 (decode_coding_iso2022, decode_coding_sjis_big5, decode_eol): Use | |
4072 EMIT_CHAR to produced decoded characters. Exit the loop only by | |
4073 macros ONE_MORE_BYTE or EMIT_CHAR. Don't handle the case of last | |
4074 block here. | |
4075 (ENCODE_ISO_CHARACTER): Don't translate character here. Produce | |
4076 only position codes for an invalid character. | |
4077 (encode_designation_at_bol): Return new destination pointer. 5th | |
4078 arg DSTP is changed to DST. | |
4079 (encode_coding_iso2022, decode_coding_sjis_big5): Get a character | |
4080 from the source by ONE_MORE_CHAR. Don't handle the case of last | |
4081 block here. | |
4082 (DECODE_SJIS_BIG5_CHARACTER, ENCODE_SJIS_BIG5_CHARACTER): These | |
4083 macros deleted. | |
4084 (detect_coding_sjis, detect_coding_big5, detect_coding_utf_8, | |
4085 detect_coding_utf_16, detect_coding_ccl): Use ONE_MORE_BYTE and | |
4086 TWO_MORE_BYTES to fetch a byte from the source. | |
4087 (encode_eol): Pay attention to coding->src_multibyte. | |
4088 (detect_coding, detect_eol): Preserve members src_multibyte and | |
4089 dst_multibyte. | |
4090 (DECODING_BUFFER_MAG): Return 2 even for coding_type_raw_text. | |
4091 (encoding_buffer_size): Set magnification to 3 for all coding | |
4092 systems that require encoding. | |
4093 (ccl_coding_driver): For decoding, be sure that the result is | |
4094 valid multibyte sequence. | |
4095 (decode_coding): Initialize coding->errors and coding->result. | |
4096 For emacs-mule, call decode_coding_emacs_mule. For no-conversion | |
4097 and raw-text, always call decode_eol. Handle the case of last | |
4098 block here. If not coding->dst_multibyte, convert the resulting | |
4099 sequence to unibyte. | |
4100 (encode_coding): Initialize coding->errors and coding->result. | |
4101 For emacs-mule, call encode_coding_emacs_mule. For no-conversion | |
4102 and raw-text, always call encode_eol. Handle the case of last | |
4103 block here. | |
4104 (shrink_decoding_region, shrink_encoding_region): Detect cases | |
4105 that we can't skip data more rigidly. | |
4106 (code_convert_region): Setup src_multibyte and dst_multibyte | |
4107 members of coding. For decoding, if the buffer is multibyte, | |
4108 convert the source sequence to unibyte in advance. For encoding, | |
4109 if the buffer is multibyte, convert the resulting sequence to | |
4110 multibyte afterward. | |
4111 (run_pre_post_conversion_on_str): New function. | |
4112 (code_convert_string): Deleted and divided into the following two. | |
4113 (decode_coding_string, encode_coding_string): New functions. | |
4114 (code_convert_string1, code_convert_string_norecord): Call one of | |
4115 above. | |
4116 (Fdecode_sjis_char, Fdecode_big5_char): Use MAKE_CHAR instead of | |
4117 MAKE_NON_ASCII_CHAR. | |
4118 (Fset_terminal_coding_system_internal, | |
4119 Fset_safe_terminal_coding_system_internal): Setup src_multibyte | |
4120 and dst_multibyte members. | |
4121 (init_coding_once): Initialize iso_code_class with new enum | |
4122 ISO_control_0 and ISO_control_1. | |
4123 | |
4124 * coding.h (enum iso_code_class_type): Member ISO_control_code is | |
4125 devided into ISO_control_0 and ISO_control_1. | |
4126 (struct coding_system): New members src_multibyte, dst_multibyte, | |
4127 errors, and result. Delete member fake_multibyte. | |
4128 (CODING_REQUIRE_DECODING): Return 1 if coding->dst_multibyte is | |
4129 nonzero. | |
4130 (CODING_REQUIRE_ENCODING): Return 1 if coding->src_multibyte is | |
4131 nonzero. | |
4132 | |
4133 * data.c (Faref): Use SPLIT_CHAR instead of SPLIT_NON_ASCII_CHAR. | |
4134 (Faset): Likewise. | |
4135 | |
4136 * editfns.c (Fformat): Be sure to convert 8-bit characters to | |
4137 multibyte form. | |
4138 (Ftranspose_region) [BYTE_COMBINING_DEBUG]: Abort if byte | |
4139 combining occurs. | |
4140 (Ftranspose_region): Delete codes for handling byte combining. | |
4141 | |
4142 * fileio.c (Finsert_file_contents): Setup src_multibyte and | |
4143 dst_multibyte members of coding. On handling REPLACE on unibyte | |
4144 buffer, convert the result of decode_coding to unibyte. On | |
4145 inserting into a mutibyte buffer, always call code_convert_region. | |
29161 | 4146 (e_write): Setup coding->src_multibyte according to the |
29028 | 4147 multibyteness of the source (buffer or string). |
4148 | |
4149 * fns.c (concat): Handle 8-bit characters correctly. | |
4150 (Fstring_as_unibyte): Be sure to make all 8-bit characters in | |
4151 unibyte in the result. | |
4152 (Fstring_as_multibyte): Be sure to make all 8-bit characters in | |
4153 valid multibyte form in the result. | |
4154 (map_char_table): Use MAKE_CHAR instead of MAKE_NON_ASCII_CHAR. | |
4155 (Fbase64_encode_region, Fbase64_encode_string): If base64_encode_1 | |
4156 return -1, signal an error. | |
4157 (base64_encode_1): New arg MULTIBYTE. Get each character by | |
4158 CHAR_STRING_AND_LENGTH if MULTIBYTE is nonzero. If a multibyte | |
4159 character is found, return -1. | |
4160 (Fbase64_decode_region): Delete codes for handling byte-combining. | |
4161 Treat each decoded byte as a unibyte character. | |
4162 (Fbase64_decode_string): Return unibyte string. | |
4163 (Fcompare_strings, concat, string_byte_to_char): Use | |
4164 FETCH_STRING_CHAR_ADVANCE_NO_CHECK instead off | |
4165 FETCH_STRING_CHAR_ADVANCE. | |
4166 (Fstring_lessp): Use FETCH_STRING_CHAR_ADVANCE unconditionally. | |
4167 (mapcar1): If SEQ is string, always use FETCH_STRING_CHAR_ADVANCE. | |
4168 | |
4169 * fontset.c (fontset_ref): Use SPLIT_CHAR instead of | |
4170 SPLIT_NON_ASCII_CHAR. | |
4171 (fontset_ref_via_base, fontset_set): Likewise | |
4172 | |
4173 * insdel.c (adjust_markers_for_record_delete): Deleted. | |
4174 (adjust_markers_for_insert): Argument changed. Caller changed. | |
4175 (adjust_markers_for_replace): Likewise. | |
4176 (ADJUST_CHAR_POS, combine_bytes, byte_combining_error, | |
4177 CHECK_BYTE_COMBINING_FOR_INSERT): Deleted. | |
4178 (copy_text): Delete unused local varialbe c_save. For converting | |
4179 to multibyte, be sure to make all 8-bit characters in valid | |
4180 multibyte form. | |
4181 (count_size_as_multibyte): Handle 8-bit characters correctly. | |
4182 (insert_1_both, insert_from_string_1, insert_from_buffer_1, | |
4183 adjust_after_replace, replace_range, del_range_2) | |
4184 [BYTE_COMBINING_DEBUG]: Abort if byte combining occurs. | |
4185 (insert_1_both, insert_from_string_1, insert_from_buffer_1, | |
4186 adjust_after_replace, replace_range, del_range_2) Delete codes for | |
4187 handling byte combining. | |
4188 (adjust_before_replace): Deleted. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4189 |
29028 | 4190 * keymap.c (Fsingle_key_description): Use SPLIT_CHAR instead of |
4191 SPLIT_NON_ASCII_CHAR. | |
4192 (describe_vector): Use MAKE_CHAR instead of MAKE_NON_ASCII_CHAR. | |
4193 (Faccessible_keymaps): Use FETCH_STRING_CHAR_ADVANCE | |
4194 unconditionally. | |
4195 (Fkey_description): Likewise. | |
4196 | |
4197 * lread.c (read1): On reading multibyte string, be sure to make | |
4198 all 8-bit chararacters in valid multibyte form. | |
4199 (readchar): Use FETCH_STRING_CHAR_ADVANCE unconditionally. | |
4200 | |
4201 * print.c (print_object): Use FETCH_STRING_CHAR_ADVANCE | |
4202 unconditionally. | |
4203 | |
4204 * process.c (Fstart_process): GCPRO current_dir before calling | |
4205 Ffind_operation_coding_system. Encode arguments here. | |
4206 (create_process): Don't encode arguments here. Setup | |
4207 src_multibyte and dst_multibyte members of struct coding. | |
4208 (read_process_output): Setup src_multibyte and dst_multibyte | |
4209 members of struct coding. If the output is to multibyte buffer, | |
4210 always decode the output of the process. Adjust the | |
4211 representation of 8-bit characters to the multibyteness of the | |
4212 output. | |
4213 (send_process): Setup coding->src_multibyte according to the | |
4214 multibyteness of the source. | |
4215 | |
4216 * search.c (wordify): Use FETCH_STRING_CHAR_ADVANCE | |
4217 unconditionally. | |
4218 (Freplace_match): Use FETCH_STRING_CHAR_ADVANCE and | |
4219 FETCH_STRING_CHAR_ADVANCE_NO_CHECK appropriately. | |
4220 | |
4221 * term.c (produce_special_glyphs): Use CHAR_BYTES instead of | |
4222 CHAR_LEN. | |
4223 | |
4224 * w16select.c (Fw16_set_clipboard_data): Setup members | |
4225 src_multibyte and dst_multibyte of coding. Adjusted for the | |
4226 change for find_charset_in_str. | |
4227 (Fw16_get_clipboard_data): Likewise. | |
4228 | |
4229 * w32fns.c (w32_to_x_font): Setup members src_multibyte and | |
4230 dst_multibyte of coding. | |
4231 (x_to_w32_font): Likewise. | |
4232 | |
4233 * w32select.c (Fw32_set_clipboard_data): Setup members | |
4234 src_multibyte and dst_multibyte of coding. Adjusted for the | |
4235 change for find_charset_in_str. | |
4236 (Fw32_get_clipboard_data): Likewise. | |
4237 | |
4238 * xdisp.c (get_next_display_element): Handle 8-bit characters | |
4239 correctly. | |
4240 (next_element_from_display_vector): Use CHAR_BYTES instead of | |
4241 CHAR_LEN. | |
4242 (disp_char_vector): Use SPLIT_CHAR instead of | |
4243 SPLIT_NON_ASCII_CHAR. | |
4244 | |
4245 * xselect.c (selection_data_to_lisp_data): Setup members | |
4246 src_multibyte and dst_multibyte of coding. Adjusted for the | |
4247 change for find_charset_in_str. | |
4248 (lisp_data_to_selection_data): Likewise. | |
4249 | |
28988 | 4250 2000-05-19 Gerd Moellmann <gerd@gnu.org> |
4251 | |
28993 | 4252 * buffer.c (Fbury_buffer): Avoid trouble from burying a killed |
4253 buffer. | |
4254 | |
28988 | 4255 * dispextern.h (Vimage_types): Add extern declaration. |
4256 | |
4257 * xdisp.c (Vimage_types): Moved here from xfns.c. | |
4258 (syms_of_xdisp): Move `image-types' variable here from xfns.c. | |
4259 | |
4260 * xfns.c (Vimages_types): Moved to xdisp.c. | |
4261 (syms_of_xfns): Move `image-types' to xdisp.c. | |
4262 | |
4263 * w32fns.c (Vimage_types): Removed. | |
4264 (syms_of_w32fns): Remove `image-types'. | |
4265 | |
28965 | 4266 2000-05-18 Kenichi Handa <handa@etl.go.jp> |
4267 | |
4268 * fns.c (map_char_table): Pay attention to character number of | |
4269 charset. Check the validity of charset at the first level. For | |
4270 leaf nodes that has nil value, call C_FUNCTION or FUNCTION with | |
4271 the default value. | |
4272 | |
4273 * fontset.c: Include "buffer.h". | |
4274 (fs_load_font): If the face has fontset, record the face ID in | |
4275 that fontset. | |
4276 (Finternal_char_font): New function. | |
4277 (accumulate_font_info): New function. | |
4278 (Ffontset_info): Rewritten for the new fontset implementation. | |
4279 (syms_of_fontset): Register Vdefault_fontset in the first element | |
4280 of Vfontset_table. Include Vdefault_fontset in | |
4281 Vfontset_alias_alist. Declare `internal-char-font' as a Lisp | |
4282 function. | |
4283 | |
28945 | 4284 2000-05-16 Dave Love <fx@gnu.org> |
4285 | |
4286 * m/iris5d.h: Deleted -- unused. | |
4287 | |
28929 | 4288 2000-05-16 Gerd Moellmann <gerd@gnu.org> |
4289 | |
28939 | 4290 * xdisp.c, w32.c, print.c, msdos.c, emacs.c: Use the term |
4291 `invalid' instead of `illegal'. | |
4292 | |
4293 * indent.c (Fmove_to_column): When ending within a tab, insert | |
4294 spaces first so that markers at the end of the tab get adjusted. | |
4295 | |
28931 | 4296 * frame.c (frames_bury_buffer): Don't add a buffer to the frame's |
4297 buffer list that wasn't selected in that frame. | |
4298 | |
28929 | 4299 * filelock.c (get_boot_time): To obtain an 8 char file name, which |
4300 is needed on mescaline, use a 2 char prefix, and call | |
4301 make_temp_name with second arg non-zero. | |
4302 | |
4303 * fileio.c (make_temp_name): New function, extracted from | |
4304 Fmake_temp_name. | |
4305 (Fmake_temp_name): Use it. | |
4306 | |
28921 | 4307 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il> |
4308 | |
4309 * window.c (coordinates_in_window): Subtract 1 when computing | |
4310 right_x. | |
4311 | |
28919 | 4312 2000-05-15 Gerd Moellmann <gerd@gnu.org> |
4313 | |
4314 * Makefile.in (lisp): Add env.elc. | |
4315 | |
4316 * callproc.c (Fgetenv_internal): Renamed from Fgetenv. | |
4317 | |
28887 | 4318 2000-05-12 Gerd Moellmann <gerd@gnu.org> |
4319 | |
4320 * search.c (Freplace_match): Handle case of `\N' in the | |
4321 replacement when there's no group N. | |
4322 | |
28870 | 4323 2000-05-11 Gerd Moellmann <gerd@gnu.org> |
4324 | |
28877 | 4325 * xdisp.c (add_to_log): Don't pass the terminating NUL byte |
4326 of the message to message_dolog. | |
4327 | |
28872 | 4328 * keyboard.c (read_char): Don't clear current message for help |
4329 events; let the code handling help events handle this. Change | |
4330 code detecting help events that should be ignored. | |
4331 | |
28870 | 4332 * xdisp.c (handle_single_display_prop): Don't try to set PT if |
4333 we're interating over a string. | |
4334 | |
28848 | 4335 2000-05-09 Dave Love <fx@gnu.org> |
4336 | |
4337 * fileio.c (Fwrite_region): If APPEND arg is an integer, seek to | |
4338 that offset before writing. Move gcpro region past call of | |
4339 Ffile_regular_p. | |
4340 | |
28820 | 4341 2000-05-04 Dave Love <fx@gnu.org> |
4342 | |
4343 * buffer.c (syms_of_buffer) [auto-fill-function]: Doc fix. | |
4344 | |
28817 | 4345 2000-05-04 Gerd Moellmann <gerd@gnu.org> |
4346 | |
4347 * insdel.c (insert_from_buffer_1): Adjust FROM position by number | |
4348 of inserted characters when BUF equals the current buffer, and PT | |
4349 is in front of or equal to FROM. | |
4350 | |
28795 | 4351 2000-05-03 Gerd Moellmann <gerd@gnu.org> |
4352 | |
28805 | 4353 * xdisp.c (handle_single_display_prop): If display property value |
4354 is invalid, or something not supported on the frame, restore | |
4355 iterator's position to what it was initially. Make sure to return | |
4356 0 for invalid and unsupported property values. | |
4357 | |
28795 | 4358 * xterm.c (x_produce_glyphs) <composite chars>: Handle case |
4359 that x_per_char_metric returns null. | |
4360 | |
28782 | 4361 2000-05-02 Gerd Moellmann <gerd@gnu.org> |
4362 | |
28789 | 4363 * xterm.h (struct face): Add forward declaration. |
4364 (struct image): Ditto. | |
4365 (image_ascent): Add prototype. | |
4366 | |
4367 * xterm.c (x_produce_image_glyph, x_draw_image_foreground) | |
4368 (x_draw_image_relief, x_draw_image_foreground_1): Call function | |
4369 image_ascent instead of using IMAGE_ASCENT. | |
4370 | |
4371 * dispextern.h (DEFAULT_IMAGE_HEIGHT): New macro. | |
4372 (IMAGE_ASCENT): Removed. | |
4373 | |
4374 * xfns.c (Qcenter): New variable. | |
4375 (enum image_value_type): Add IMAGE_ASCENT_VALUE. | |
4376 (parse_image_spec): Handle IMAGE_ASCENT_VALUE. | |
4377 (image_ascent): New function. | |
4378 (lookup_image): Recognize `:ascent center'. | |
4379 (xbm_format, xpm_format, pbm_format, png_format, jpeg_format) | |
4380 (tiff_format, gif_format, gs_format): Use IMAGE_ASCENT_VALUE. | |
4381 (xbm_load): Don't set image's ascent here. | |
4382 (xbm_image_p, xpm_image_p, pbm_image_p, png_image_p) | |
4383 (jpeg_image_p, tiff_image_p, gif_image_p, gs_image_p): Don't | |
4384 check ascent values here. | |
4385 (Fimagep, Flookup_image [GLYPH_DEBUG]: Removed. | |
4386 (syms_of_xfns) [GLYPH_DEBUG]: Don't defsubr removed functions. | |
4387 (syms_of_xfns): Initialize Qcenter. | |
4388 | |
28782 | 4389 * eval.c (Fsignal): If lisp_eval_depth or spepdl_size are near |
4390 to the limits, increase the limits. | |
4391 | |
28765 | 4392 2000-05-01 Kenichi Handa <handa@etl.go.jp> |
4393 | |
4394 * fontset.c (fs_load_font): By default, use 0x00..0x7f for ASCII. | |
4395 Check Vfont_encoding_alist against the full name of the opened | |
4396 font. | |
4397 | |
28755 | 4398 2000-04-28 Gerd Moellmann <gerd@gnu.org> |
4399 | |
4400 * xdisp.c (make_cursor_line_fully_visible): Handle case of rows | |
4401 taller than the window. | |
4402 | |
28752 | 4403 2000-04-28 Kenichi Handa <handa@etl.go.jp> |
4404 | |
4405 * xfaces.c (realize_x_face): Fix the argument of the second | |
4406 xassert. BASE_FACE may not be a face for ASCII. | |
4407 | |
28734 | 4408 2000-04-27 Gerd Moellmann <gerd@gnu.org> |
4409 | |
28748 | 4410 * print.c (print_object): Treat print-length < 0 as nil. |
4411 | |
4412 * Makefile.in (termcapobj): Don't use TERMCAP_OBJ. | |
4413 | |
4414 * s/freebsd.h (TERMCAP_OBJ): Removed. | |
4415 (LIBS_TERMCAP): Don't define for __FreeBSD_version >= 400000. | |
4416 | |
4417 * lread.c (read1): Don't treat period followed by certain | |
4418 characters as symbol start. | |
4419 | |
4420 * xfns.c (slurp_file): New function. | |
4421 (xbm_image_p): Handle case of in-memory XBM files. | |
4422 (xbm_scan): Rewritten to work on memory buffers instead of files. | |
4423 (xbm_read_bitmap_data): Renamed from xbm_read_bitmap_file_data. | |
4424 Work on memory buffers instead of files. If DATA is null test | |
4425 if buffer looks like an in-memory XBM file. | |
4426 (xbm_load_image): Renamed from xbm_load_image_file. Work on | |
4427 memory buffers instead of files. | |
4428 (xbm_file_p): New function. | |
4429 (xbm_load): Accept :data DATA where DATA is an in-memory XBM file. | |
4430 | |
28734 | 4431 * lread.c (end_of_file_error): New function. |
4432 (read1): Call it instead of signaling `end-of-file' directly. | |
4433 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4434 * print.c (print_error_message): Print data of `end-of-file' |
28734 | 4435 with Fprinc instead of Fprin1. |
4436 | |
28727
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4437 2000-04-26 Ken Raeburn <raeburn@gnu.org> |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4438 |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4439 * window.c (freeze_window_start): Check that minibuffer scroll |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4440 window isn't nil before extracting the window structure pointer |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4441 from it. |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4442 |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4443 * undo.c (record_delete): If we hit the end of the undo list, stop |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4444 picking elements apart. |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4445 |
28724 | 4446 2000-04-26 Gerd Moellmann <gerd@gnu.org> |
4447 | |
4448 * xdisp.c (display_line): If lines are continued, restore | |
4449 iterator's ascent/descent information to the values before the | |
4450 first glyph not fitting on the line. | |
4451 | |
28710 | 4452 2000-04-25 Gerd Moellmann <gerd@gnu.org> |
4453 | |
4454 * xdisp.c (try_window_id) <all changes above window start>: Adjust | |
4455 positions in glyph matrix. Don't compute new window end | |
4456 positions. | |
4457 | |
4458 * dispnew.c (increment_matrix_positions): Renamed from | |
4459 increment_glyph_matrix_buffer_positions. | |
4460 (increment_row_positions): Renamed from | |
4461 increment_glyph_row_buffer_positions. | |
4462 | |
4463 * dispextern.h: Change names of renamed functions from dispnew.c | |
4464 in prototypes. | |
4465 | |
28695 | 4466 2000-04-24 Gerd Moellmann <gerd@gnu.org> |
4467 | |
28699 | 4468 * fileio.c (Fdo_auto_save): Create directories for auto-save |
4469 list file if necessary. | |
4470 | |
28695 | 4471 * xdisp.c (init_iterator): Set iterator's extra_line_spacing |
4472 from buffer or frame. | |
4473 (automatic_hscrolling_p): New variable. | |
4474 (hscroll_windows): Scroll windows horizontally only if automatic | |
4475 hscrolling is allowed. | |
4476 (syms_of_xdisp): New variable `automatic-hscrolling'. | |
4477 | |
4478 * frame.h (struct frame): Add member extra_line_spacing. | |
4479 | |
4480 * xfns.c (x_set_line_spacing): New function. | |
4481 (Fx_create_frame): Set line spacing from resources. | |
4482 (Qline_spacing): New variable. | |
4483 (syms_of_xfns): Initialize Qline_spacing. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4484 |
28695 | 4485 * emacs.c (USAGE2): Add `--line-spacing' and `-lsp'. |
4486 | |
4487 * buffer.c (init_buffer_once): Handle extra_line_spacing. | |
4488 (syms_of_buffer): Add `default-line-spacing' and `line-spacing'. | |
28699 | 4489 (reset_buffer): Don't initialize extra2 and extra3. Initialize |
28695 | 4490 extra_line_spacing from default value. |
4491 (init_buffer_once): Initialize default value of extra_line_spacing. | |
4492 | |
4493 * buffer.h (struct buffer): Add extra_line_spacing, remove extra2 | |
4494 and extra3. | |
4495 | |
4496 * xterm.c (x_produce_glyphs): Remove reference to struct it's | |
4497 prompt_width. Add extra line spacing. | |
4498 | |
4499 * term.c (produce_glyphs): Remove reference to struct it's | |
4500 prompt_width. | |
4501 | |
4502 * dispextern.h (struct it): Remove member prompt_width, add | |
4503 extra_line_spacing. | |
4504 | |
28683 | 4505 2000-04-22 Gerd Moellmann <gerd@gnu.org> |
4506 | |
4507 * dispnew.c (update_frame_line): When writing a whole line, make | |
4508 sure cursor is in the right row afterwards, otherwise a use of | |
4509 capability `ch' in cmgoto might leave the cursor in the row below. | |
4510 | |
28680 | 4511 2000-04-21 Gerd Moellmann <gerd@gnu.org> |
4512 | |
4513 * lisp.h (struct Lisp_Buffer_Cons): Remove. | |
4514 | |
4515 * keyboard.c (timer_check): Fix typo in comment. | |
4516 | |
28675 | 4517 2000-04-21 Kenichi Handa <handa@etl.go.jp> |
4518 | |
4519 * fontset.c (Fset_fontset_font): Fix docstring. Local variable | |
4520 name change: ch -> character. | |
4521 | |
28674 | 4522 2000-04-20 Gerd Moellmann <gerd@gnu.org> |
4523 | |
4524 * keyboard.c (echo_message_buffer): New variable. | |
4525 (echo_now): Set echo_message_buffer to the echo area buffer used | |
4526 to display the echo. | |
4527 (cancel_echoing): Reset echo_message_buffer to nil. | |
4528 (read_char): Code rewritten that handles canceling an echo or | |
4529 echoing a dash, respectively. | |
4530 | |
4531 * fileio.c (Ffile_writable_p) [WINDOWSNT]: Return nil if parent | |
4532 directory doesn't exist. | |
4533 | |
28668 | 4534 2000-04-19 Dave Love <fx@gnu.org> |
4535 | |
4536 * fns.c (syms_of_fns): Defsubr mapc. | |
28756 | 4537 (concat): Don't allow numeric args. |
4538 (Fconcat): Doc change. | |
28668 | 4539 |
28665
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
4540 2000-04-19 Stefan Monnier <monnier@cs.yale.edu> |
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
4541 |
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
4542 * regex.c (re_match_2_internal): Don't shorten the strings anymore, |
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
4543 instead define end_match(1|2) more carefully. |
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
4544 Use GET_CHAR_BEFORE_2 for `begline'. |
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
4545 |
28648 | 4546 2000-04-19 Gerd Moellmann <gerd@gnu.org> |
4547 | |
28653 | 4548 * frame.h (SELECTED_FRAME): Change definition to compile cleanly |
4549 on 64-bit systems where NULL is defined as `0'. | |
4550 | |
4551 * xdisp.c (with_echo_area_buffer): Add more `int' parameters for | |
4552 the `variable argument list' to make it work on Alpha. | |
4553 | |
28648 | 4554 * m/alpha.h (_LP64) [!_LP64]: Define. |
4555 (ORDINARY_LINK): Define for NetBSD. | |
4556 | |
4557 * m/macppc.h (ORDINARY_LINK): Define for NetBSD. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4558 |
28637 | 4559 2000-04-19 Dave Love <fx@gnu.org> |
4560 | |
28644 | 4561 * s/bsd386.h, s/freebsd.h, s/gnu.h, s/netbsd.h: Revert 2000-04-14 |
4562 change. | |
4563 | |
4564 * Makefile.in (LIBS): Don't use. | |
4565 (GETLOADAVG_OBJ): Define again. | |
4566 (otherobj): Add GETLOADAVG_OBJ. | |
4567 | |
28637 | 4568 * buffer.c (Fmake_indirect_buffer): Escape newline in doc. |
4569 | |
28630 | 4570 2000-04-18 Gerd Moellmann <gerd@gnu.org> |
4571 | |
28634 | 4572 * lread.c (read_filtered_event): Cancel and start busy cursor. |
4573 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4574 * xterm.c (x_produce_glyphs) <ASCII chars>: Take into account |
28630 | 4575 that the per-character metrics may be null. |
4576 | |
28621 | 4577 2000-04-17 Gerd Moellmann <gerd@gnu.org> |
4578 | |
28626 | 4579 * buffer.c (clone_per_buffer_values): New function. |
4580 (Fmake_indirect_buffer): Add optional argument CLONE. Call | |
4581 clone_per_buffer_values if CLONE is not nil. | |
4582 | |
28621 | 4583 * xfaces.c (Ftty_suppress_bold_inverse_default_colors): Doc fix. |
4584 | |
28610 | 4585 2000-04-16 Dave Love <fx@gnu.org> |
4586 | |
4587 * Makefile.in: Remove obsolete localcpp stuff. | |
4588 (GETLOADAVG_OBJ): Don't define. | |
4589 (obj): Move LIBOBJS... | |
4590 (otherobj): ... to here. | |
4591 (MSDOS_OBJ): Convert to make variable -- preprocessing zapped | |
4592 whitespace-only lines after the continuation (Irix). | |
4593 | |
28598 | 4594 2000-04-14 Gerd Moellmann <gerd@gnu.org> |
4595 | |
4596 * xfns.c (xpm_load) [DEBUG_X_COLORS]: Register colors. | |
4597 | |
4598 * s/freebsd.h (LD_SWITCH_SYSTEM): Add `-L /usr/local/lib'. | |
4599 | |
28595 | 4600 2000-04-14 Dave Love <fx@gnu.org> |
4601 | |
4602 * s/aix3-1.h, s/bsd4-2.h, s/bsd4-3.h, s/cxux.h, s/dgux.h, s/gnu.h: | |
4603 * s/hpux.h, s/iris3-5.h, s/iris3-6.h, s/irix3-3.h, s/rtu.h: | |
4604 * s/unipl5-0.h, s/unipl5-2.h, s/usg5-0.h, s/usg5-2-2.h, s/usg5-2.h: | |
4605 * s/usg5-3.h, s/xenix.h, s/umax.h: Don't define autoconfiscated | |
4606 NLIST_STRUCT. | |
4607 | |
4608 * s/bsd386.h, s/freebsd.h, s/gnu.h, s/netbsd.h: Don't define | |
4609 autoconfiscated HAVE_GETLOADAVG. | |
4610 | |
4611 * s/nextstep.h, s/sco4.h, s/sco5.h: Don't define autoconfiscated | |
4612 BROKEN_MKTIME. | |
4613 | |
28591 | 4614 2000-04-14 Gerd Moellmann <gerd@gnu.org> |
4615 | |
4616 * filelock.c (MAKE_LOCK_NAME): Allocate 2 more bytes. | |
4617 (fill_in_lock_file_name): Avoid existing files that aren't | |
4618 links. | |
4619 | |
28588 | 4620 2000-04-14 Dave Love <fx@gnu.org> |
4621 | |
28598 | 4622 * Makefile.in (LIBS, LIBOBJS): New variable. |
28588 | 4623 (INTERVAL_SRC): Convert to make variable. |
4624 (INTERVAL_OBJ, MKTIME_OBJ, FLOAT_SUPPORT, FACE_SUPPORT) | |
4625 (HAVE_X_WINDOWS, OBJECTS_SYSTEM): Remove. | |
4626 (obj): Substitute INTERVAL_OBJ, add MKTIME_OBJ, GETLOADAVG_OBJ and | |
4627 add LIBOBJS. | |
4628 (SOME_MACHINE_OBJECTS): Remove interval stuff. | |
4629 (lisp): Substitute FACE_SUPPORT, FLOAT_SUP. | |
4630 (shortlisp): Add facemenu, float-sup, frame. | |
4631 (SOME_MACHINE_LISP): Remove them from here. | |
4632 (LIBES): Change unused LDLIBS to autoconf LIBS. | |
4633 | |
4634 * config.in: Add BROKEN_MKTIME, NLIST_STRUCT, NLIST_NAME_UNION. | |
4635 | |
28579 | 4636 2000-04-14 Kenichi Handa <handa@etl.go.jp> |
4637 | |
28580 | 4638 * composite.c (update_compositions): If FROM and TO are not in a |
28579 | 4639 valid range, do nothing. |
4640 | |
28577 | 4641 2000-04-13 Gerd Moellmann <gerd@gnu.org> |
4642 | |
4643 * tparam.c (tparam1): Abort when encountering an unknown | |
4644 `%'-specifier. | |
4645 | |
4646 * s/freebsd.h (TERMCAP_OBJ) [__FreeBSD__ >= 4]: Define as | |
4647 terminfo.o. | |
4648 | |
4649 * Makefile.in (termcapobj) [LIBS_TERMCAP && TERMCAP_OBJ]: Define | |
4650 as TERMCAP_OBJ. | |
4651 | |
28562 | 4652 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il> |
4653 | |
4654 * fileio.c (a_write): Remove redundant semi-colons. | |
4655 (e_write): Return -1 if failed to write all the data. | |
4656 This fixes the changes made at 1999-12-15. | |
4657 | |
28555
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
4658 2000-04-12 Dave Love <fx@gnu.org> |
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
4659 |
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
4660 * fns.c (mapcar1): Test for null vals to support mapc. |
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
4661 (Fmapc): New function. |
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
4662 |
28554 | 4663 2000-04-12 Eli Zaretskii <eliz@is.elta.co.il> |
4664 | |
4665 * msdos.c (NUM_MOUSE_BUTTONS): Define. | |
4666 (IT_frame_up_to_date): Support the buffer local value of | |
4667 cursor-type, if defined. | |
4668 | |
28547 | 4669 2000-04-10 Dave Love <fx@gnu.org> |
4670 | |
4671 * editfns.c (preceding-char, following-char): Doc fix. | |
4672 | |
28546
74440e467c99
* Makefile.in (temacs): Revert 2000-03-12 change.
Ken Raeburn <raeburn@raeburn.org>
parents:
28543
diff
changeset
|
4673 2000-04-10 Ken Raeburn <raeburn@gnu.org> |
74440e467c99
* Makefile.in (temacs): Revert 2000-03-12 change.
Ken Raeburn <raeburn@raeburn.org>
parents:
28543
diff
changeset
|
4674 |
74440e467c99
* Makefile.in (temacs): Revert 2000-03-12 change.
Ken Raeburn <raeburn@raeburn.org>
parents:
28543
diff
changeset
|
4675 * Makefile.in (temacs): Revert 2000-03-12 change. |
74440e467c99
* Makefile.in (temacs): Revert 2000-03-12 change.
Ken Raeburn <raeburn@raeburn.org>
parents:
28543
diff
changeset
|
4676 |
28543 | 4677 2000-04-10 Jason Rumney <jasonr@gnu.org> |
4678 | |
4679 * xfaces.c (realize_face): Change FRAME_X_P to FRAME_WINDOW_P. | |
4680 | |
28538 | 4681 2000-04-10 Gerd Moellmann <gerd@gnu.org> |
4682 | |
28542 | 4683 * xdisp.c (setup_echo_area_for_printing): Choose an echo |
4684 area buffer, if it's not set up yet. | |
4685 | |
28538 | 4686 * indent.c (compute_motion): Set immediate_quit. |
4687 | |
28523 | 4688 2000-04-09 Gerd Moellmann <gerd@gnu.org> |
4689 | |
28530 | 4690 * xfaces.c (tty_suppress_bold_inverse_default_colors_p): New |
4691 variable. | |
4692 (realize_tty_face): Suppress boldness if colors are the inverse of | |
4693 the default colors, and tty_suppress_bold_inverse_default_colors_p | |
4694 is set. | |
4695 (Ftty_suppress_bold_inverse_default_colors): New function. | |
4696 (syms_of_xfaces): Defsubr it. | |
4697 | |
28523 | 4698 * buffer.c (Frestore_buffer_modified_p): New function. |
4699 (syms_of_buffer): Defsubr it. | |
4700 | |
28514
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
4701 2000-04-08 Ken Raeburn <raeburn@gnu.org> |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
4702 |
28515
75bd73426842
* charset.c (Fmake_char_internal): CHAR_COMPONENTS_VALID_P takes a
Ken Raeburn <raeburn@raeburn.org>
parents:
28514
diff
changeset
|
4703 * charset.c (Fmake_char_internal): CHAR_COMPONENTS_VALID_P takes a |
75bd73426842
* charset.c (Fmake_char_internal): CHAR_COMPONENTS_VALID_P takes a
Ken Raeburn <raeburn@raeburn.org>
parents:
28514
diff
changeset
|
4704 charset id (int) argument, not a charset (Lisp_Object). |
75bd73426842
* charset.c (Fmake_char_internal): CHAR_COMPONENTS_VALID_P takes a
Ken Raeburn <raeburn@raeburn.org>
parents:
28514
diff
changeset
|
4705 |
28514
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
4706 * coding.h (code_convert_string): Declare. |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
4707 * coding.c (code_convert_string_norecord): Pass an int, not a lisp |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
4708 object, as the fourth argument to code_convert_string. |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
4709 |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
4710 * fontset.c (make_fontset_for_ascii_face): Use XINT on return |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
4711 value. |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
4712 (Fset_fontset_font): Use EQ to compare lisp objects. |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
4713 |
28507
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
4714 2000-04-05 Ken Raeburn <raeburn@gnu.org> |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
4715 |
28509
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
4716 * intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for |
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
4717 a pointer that looks like a lisp object. |
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
4718 (SET_INTERVAL_OBJECT): Don't explicitly compare the object with |
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
4719 zero, instead see whether it's an integer object, since they can't |
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
4720 have intervals. |
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
4721 (GET_INTERVAL_OBJECT): Simply assign to the destination. |
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
4722 |
28507
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
4723 * dispnew.c (allocate_matrices_for_frame_redisplay, |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
4724 direct_output_forward_char): Use X(U)INT and make_number as needed |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
4725 to convert between (unsigned) int values and lisp integers. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
4726 * keyboard.c (read_key_sequence): Likewise. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
4727 * lread.c (substitute_object_recurse): Likewise. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
4728 * fns.c (concat, hash_lookup, hash_remove): Likewise. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
4729 * minibuf.c (do_completion, Fminibuffer_complete_word, |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
4730 Fminibuffer_completion_help): Likewise. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
4731 * term.c (produce_special_glyphs): Likewise. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
4732 |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
4733 * fileio.c (Fwrite_region): Use EQ when comparing lisp objects. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
4734 * print.c (print_preprocess, print_object): Likewise. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
4735 |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
4736 * search.c (compile_pattern): Use NILP when checking for nil. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
4737 |
28508
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
4738 * lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && |
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
4739 __OPTIMIZE__]: Provide a GNU C macro version that handles |
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
4740 lisp-object unions. |
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
4741 (XSET) [!NO_UNION_TYPE]: Set the value field first, then the type |
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
4742 field, to better cope with ENABLE_CHECKING and calls that modify a |
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
4743 Lisp_Object using its old value. |
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
4744 |
28499 | 4745 2000-04-04 Gerd Moellmann <gerd@gnu.org> |
4746 | |
28506 | 4747 * window.c (compare_window_configurations): Signal an error |
4748 if parameters C1 or C2 aren't window configurations. | |
4749 | |
28499 | 4750 * bytecode.c (Fbyte_code): Add a bunch of BEFORE_POTENTIAL_GC/ |
4751 AFTER_POTENTIAL_GC calls around calls to functions that can | |
4752 signal an error and thus invoke the debugger. | |
4753 | |
28483 | 4754 2000-04-03 Gerd Moellmann <gerd@gnu.org> |
4755 | |
28496 | 4756 * fns.c (Fbase64_decode_region, Fbase64_decode_string): Signal |
4757 an error if decoding fails. | |
4758 | |
28483 | 4759 * keyboard.c (lispy_mouse_names): Variable removed. |
4760 (Vlispy_mouse_stem): New variable. | |
4761 (syms_of_keyboard): Initialize Vlispy_mouse_stem. | |
4762 (make_lispy_event) <mouse_click, scroll_bar_click>: Don't abort | |
4763 for any mouse button number. Increase size of mouse_syms and | |
4764 button_down_location as needed. Call modify_event_symbol with | |
4765 different arguments. | |
4766 (make_lispy_event) <scroll_bar_click> [USE_TOOLKIT_SCROLL_BARS]: | |
4767 Call modify_event_symbol with different arguments. | |
4768 (make_lispy_event) <w32_scroll_bar_click> [WINDOWSNT]: Don't abort | |
4769 for any button number. Call modify_event_symbol with different | |
4770 arguments. | |
4771 (modify_event_symbol): Rename NAME_ALIST to NAME_ALIST_OR_STEM. | |
4772 Accept a string for NAME_ALIST_OR_STEM. | |
4773 | |
4774 * lisp.h (larger_vector): Add prototype. | |
4775 | |
4776 * fns.c (larger_vector): Make externally visible. | |
4777 | |
4778 * termhooks.h (NUM_MOUSE_BUTTONS): Removed. | |
4779 | |
28473
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4780 2000-04-02 Stefan Monnier <monnier@cs.yale.edu> |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4781 |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4782 * regex.c (PTR_TO_OFFSET) [!emacs]: Remove. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4783 (RE_MULTIBYTE_P, RE_STRING_CHAR_AND_LENGTH): New macros. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4784 (GET_CHAR_BEFORE_2): Moved from charset.h plus fixed minor bug when |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4785 we are between str1 and str2. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4786 (MAX_MULTIBYTE_LENGTH, CHAR_STRING) [!emacs]: Provide trivial default. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4787 (PATFETCH): Use `TRANSLATE'. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4788 (PATFETCH_RAW): Fetch multibyte char if applicable. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4789 (PATUNFETCH): Remove. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4790 (regex_compile): Rely on PATFETCH to do most of the multibyte magic. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4791 When writing a char, write it directly into the pattern buffer rather |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4792 than going needlessly through a temp char-array. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4793 (re_match_2_internal): Similarly, rely on RE_STRING_CHAR to do the |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4794 multibyte magic and remove the useless `#ifdef emacs'. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4795 (bcmp_translate): Don't compare as multibyte chars when in a unibyte |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4796 buffer. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4797 |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4798 * regex.h (struct re_pattern_buffer): Make field `multibyte' |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4799 conditional on `emacs'. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4800 |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4801 * charset.h (GET_CHAR_BEFORE_2): Moved to regex.c. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4802 |
28469
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
4803 2000-04-01 Ken Raeburn <raeburn@gnu.org> |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
4804 |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
4805 * alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
4806 non-union-type versions of XMARK and friends here, because XMARK |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
4807 and friends won't work on an integer field if NO_UNION_TYPE is not |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
4808 defined. |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
4809 (make_number): Define as a function if it's not defined as a |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
4810 macro. |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
4811 |
28472
bae9218986ac
* composite.c (run_composite_function): Use NILP when checking for nil.
Ken Raeburn <raeburn@raeburn.org>
parents:
28471
diff
changeset
|
4812 * composite.c (run_composite_function): Use NILP when checking for |
bae9218986ac
* composite.c (run_composite_function): Use NILP when checking for nil.
Ken Raeburn <raeburn@raeburn.org>
parents:
28471
diff
changeset
|
4813 nil. |
bae9218986ac
* composite.c (run_composite_function): Use NILP when checking for nil.
Ken Raeburn <raeburn@raeburn.org>
parents:
28471
diff
changeset
|
4814 (syms_of_composite): Delete local var NARGS, pass an int as first |
bae9218986ac
* composite.c (run_composite_function): Use NILP when checking for nil.
Ken Raeburn <raeburn@raeburn.org>
parents:
28471
diff
changeset
|
4815 argument to Fmake_hash_table. |
bae9218986ac
* composite.c (run_composite_function): Use NILP when checking for nil.
Ken Raeburn <raeburn@raeburn.org>
parents:
28471
diff
changeset
|
4816 |
28471
f3d784d3eb5d
fix error in last log message
Ken Raeburn <raeburn@raeburn.org>
parents:
28470
diff
changeset
|
4817 * editfns.c (text_property_stickiness): Use NILP to test |
f3d784d3eb5d
fix error in last log message
Ken Raeburn <raeburn@raeburn.org>
parents:
28470
diff
changeset
|
4818 Lisp_Object boolean value. |
f3d784d3eb5d
fix error in last log message
Ken Raeburn <raeburn@raeburn.org>
parents:
28470
diff
changeset
|
4819 (Fmessage_or_box): Don't use NILP to test int variable. |
28470
93996c44b23a
* editfns.c (text_property_stickiness, Fmessage_or_box): Use NILP to test
Ken Raeburn <raeburn@raeburn.org>
parents:
28469
diff
changeset
|
4820 (Fformat): Use a temporary variable to avoid ENABLE_CHECKING |
93996c44b23a
* editfns.c (text_property_stickiness, Fmessage_or_box): Use NILP to test
Ken Raeburn <raeburn@raeburn.org>
parents:
28469
diff
changeset
|
4821 problems reading from and changing the same lisp value in an |
93996c44b23a
* editfns.c (text_property_stickiness, Fmessage_or_box): Use NILP to test
Ken Raeburn <raeburn@raeburn.org>
parents:
28469
diff
changeset
|
4822 XSETSTRING call. |
93996c44b23a
* editfns.c (text_property_stickiness, Fmessage_or_box): Use NILP to test
Ken Raeburn <raeburn@raeburn.org>
parents:
28469
diff
changeset
|
4823 |
28466 | 4824 2000-04-01 Gerd Moellmann <gerd@gnu.org> |
4825 | |
4826 * term.c (TN_no_color_video): New variable. | |
4827 (term_init): Intitialize TN_no_color_video. | |
4828 (enum no_color_bit): New enumeration. | |
4829 (MAY_USE_WITH_COLORS_P): New macro. | |
4830 (turn_on_face): Use it to determine if attributes may be used | |
4831 combined with colors. | |
4832 | |
28463
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
4833 2000-04-01 Ken Raeburn <raeburn@gnu.org> |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
4834 |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
4835 * window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
4836 with int lvalues via casts; instead, just yield lisp object |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
4837 lvalues. |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
4838 (enlarge_window): Variable sizep now points to Lisp_Object. Use |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
4839 proper accessor macros. |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
4840 (shrink_window_lowest_first): w->top is Lisp_Object; use XINT. |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
4841 (grow_mini_window): Fix typo getting int value of root->height. |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
4842 |
28464
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
4843 * xdisp.c (compute_string_pos): Fix order of arguments to |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
4844 string_pos_nchars_ahead. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
4845 (handle_fontified_prop, add_to_log): Pass int, not Lisp_Object, as |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
4846 count arg to variable-arg routines like Frun_hook_with_args and |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
4847 Fformat. |
28483 | 4848 (back_to_previous_visible_line_start) |
4849 (build_desired_tool_bar_string): Pass Lisp_Object, not int, to | |
28464
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
4850 fixed-arg routines like Fget_char_property and Fmake_string. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
4851 (reconsider_clip_changes): Use XINT when comparing integer lisp |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
4852 objects, or passing them as int arguments. |
28483 | 4853 (mark_window_display_accurate, insert_left_trunc_glyphs) |
4854 (append_space, extend_face_to_end_of_line): Use make_number when | |
28464
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
4855 storing or passing integer values as lisp objects. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
4856 (set_cursor_from_row, highlight_trailing_whitespace): Use |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
4857 INTEGERP, not implicit test against zero, for glyph object. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
4858 (try_window_id): Don't use make_number when we want an int value. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
4859 |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
4860 * xfaces.c (xlfd_symbolic_value): Make last argument a |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
4861 Lisp_Object, to be consistent with callers. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
4862 (Fbitmap_spec_p): Use XINT to get numeric value of height. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
4863 (lface_hash): Apply XFASTINT to lisp values before folding in. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
4864 |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
4865 * xfns.c (Fx_show_tip): Use make_number to get lisp objects to |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
4866 fill in window width and height. Pass an int, not a lisp object, |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
4867 as first arg to Finsert. |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
4868 |
28455 | 4869 2000-04-01 Gerd Moellmann <gerd@gnu.org> |
4870 | |
28462 | 4871 * xfaces.c (realize_basic_faces): Block input while realizing |
4872 the faces. | |
4873 | |
28455 | 4874 * keyboard.c (lispy_mouse_names): Add additional mouse names. |
4875 | |
4876 * termhooks.h (NUM_MOUSE_BUTTONS): Increase to 15. | |
4877 | |
28444 | 4878 2000-03-31 Gerd Moellmann <gerd@gnu.org> |
4879 | |
4880 * xterm.c (x_produce_glyphs): When displaying unibyte text | |
28462 | 4881 or ASCII, handle case that per-char metric is null. |
28444 | 4882 |
28417
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4883 2000-03-30 Ken Raeburn <raeburn@gnu.org> |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4884 |
28430
f805ef5a2a03
* lisp.h (NO_UNION_TYPE) [ENABLE_CHECKING]: Undef.
Ken Raeburn <raeburn@raeburn.org>
parents:
28417
diff
changeset
|
4885 * lisp.h (NO_UNION_TYPE) [ENABLE_CHECKING]: Undef. |
f805ef5a2a03
* lisp.h (NO_UNION_TYPE) [ENABLE_CHECKING]: Undef.
Ken Raeburn <raeburn@raeburn.org>
parents:
28417
diff
changeset
|
4886 |
28417
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4887 * lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4888 XSUBR, XBUFFER): Verify correct object type before returning |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4889 pointer, using eassert. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4890 * frame.h (XFRAME): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4891 |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4892 * buffer.c (Frename_buffer, Fset_buffer_multibyte, |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4893 swap_out_buffer_local_variables, Fmove_overlay): Don't apply |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4894 XSYMBOL, XBUFFER, etc, to values that may be nil or of the wrong |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4895 type. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4896 * data.c (set_internal): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4897 * dispextern.h (WINDOW_WANTS_MODELINE_P, |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4898 WINDOW_WANTS_HEADER_LINE_P): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4899 * fileio.c (auto_save_1): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4900 * insdel.c (check_markers): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4901 * marker.c (buf_charpos_to_bytepos, unchain_marker): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4902 * undo.c (record_insert): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4903 * vmsproc.c (child_sig): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4904 * window.c (unshow_buffer, window_loop): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4905 * xterm.c (x_erase_phys_cursor): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4906 |
28415 | 4907 2000-03-30 Gerd Moellmann <gerd@gnu.org> |
4908 | |
4909 * xfns.c (free_image_cache): Free the cache structure itself | |
4910 last, after all its members have been freed. | |
4911 | |
4912 * lisp.h (xstrdup): Add prototype. | |
4913 | |
4914 * alloc.c (xstrdup): Moved here from xfaces.c. | |
4915 (allocating_for_lisp): Variable removed. | |
4916 (lisp_malloc): Block input around the calls to malloc and | |
4917 mem_insert. | |
4918 | |
4919 * xfaces.c (realize_tty_face): Use find_symbol_value instead | |
4920 of Fsymbol_value. | |
4921 (xstrdup): Moved to alloc.c. | |
4922 | |
28406
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4923 2000-03-29 Ken Raeburn <raeburn@gnu.org> |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4924 |
28407
f15029804aba
* scroll.c (CHECK_BOUNDS): Renamed from CHECK.
Ken Raeburn <raeburn@raeburn.org>
parents:
28406
diff
changeset
|
4925 * scroll.c (CHECK_BOUNDS): Renamed from CHECK. |
f15029804aba
* scroll.c (CHECK_BOUNDS): Renamed from CHECK.
Ken Raeburn <raeburn@raeburn.org>
parents:
28406
diff
changeset
|
4926 |
f15029804aba
* scroll.c (CHECK_BOUNDS): Renamed from CHECK.
Ken Raeburn <raeburn@raeburn.org>
parents:
28406
diff
changeset
|
4927 * emacs.c (main): Fix sense of no-loadup test. |
f15029804aba
* scroll.c (CHECK_BOUNDS): Renamed from CHECK.
Ken Raeburn <raeburn@raeburn.org>
parents:
28406
diff
changeset
|
4928 |
28406
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4929 * config.in (ENABLE_CHECKING): Undef. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4930 |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4931 * lisp.h (struct interval): Replace "parent" field with a union of |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4932 interval pointer and Lisp_Object; add new bitfield to use as |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4933 discriminant. Change other flag fields to bitfields. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4934 (CHECK): New macro for consistency checking. If ENABLE_CHECKING |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4935 is defined and the supplied test fails, print a message and |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4936 abort. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4937 (eassert): New macro. Use CHECK to provide an assert-like |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4938 facility. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4939 |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4940 * intervals.h (NULL_INTERVAL_P): Now applies only to real interval |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4941 pointers; abort if the value looks like a lisp object. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4942 (NULL_INTERVAL_P, NULL_PARENT, HAS_PARENT, HAS_OBJECT, SET_PARENT, |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4943 SET_OBJECT, INTERVAL_PARENT, GET_INTERVAL_OBJECT, COPY_PARENT): |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4944 Modify for new interval parent definition. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4945 |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4946 * alloc.c (mark_interval_tree, MARK_INTERVAL_TREE, |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4947 UNMARK_BALANCE_INTERVALS): Update references that need an |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4948 addressable lisp object in the interval structure. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4949 (die): New function. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4950 (suppress_checking): New variable. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4951 |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4952 * intervals.c (interval_start_pos): Just return 0 if there's no |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4953 parent object. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4954 |
28390 | 4955 2000-03-29 Gerd Moellmann <gerd@gnu.org> |
4956 | |
4957 * lread.c (read1): Accept `.' (period) as symbol start like in CL | |
4958 and earlier Emacs versions. | |
4959 | |
4960 * keyboard.c (Ftop_level): Cancel busy-cursor. | |
4961 | |
4962 * eval.c (call_debugger): Cancel busy-cursor. | |
4963 | |
28385 | 4964 2000-03-29 Kenichi Handa <handa@etl.go.jp> |
4965 | |
4966 * search.c (Freplace_match): Adjust multibyteness of the current | |
28386 | 4967 buffer and NEWTEXT. Free allocated memory before signaling an |
4968 error. | |
28385 | 4969 |
28381
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
4970 2000-03-28 Stefan Monnier <monnier@cs.yale.edu> |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
4971 |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
4972 * regex.c (analyse_first): New function obtained by ripping out most |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
4973 of re_compile_fastmap and generalizing it a little bit so that it |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
4974 can also just return whether a given (sub)pattern can match the empty |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
4975 string or not. |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
4976 (regex_compile): Use `analyse_first' to decide whether the loop-check |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
4977 needs to be done or not for *, +, *? and +? (the loop check is costly |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
4978 for non-greedy repetition). |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
4979 (re_compile_fastmap): Delegate the actual work to `analyse_first'. |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
4980 |
28375 | 4981 2000-03-28 Dave Love <fx@gnu.org> |
4982 | |
28379 | 4983 * s/gnu-linux.h (GC_SETJMP_WORKS): Define for i386, sparc, m68k, |
4984 alpha. | |
4985 | |
28375 | 4986 * alloc.c: Include stdio.h. Test STDC_HEADERS, not __STDC__. |
4987 | |
28373
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
4988 2000-03-27 Stefan Monnier <monnier@cs.yale.edu> |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
4989 |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
4990 * regex.c (REGEX_FREE_STACK, RESET_FAIL_STACK): Make them usable as |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
4991 an expression. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
4992 (enum re_opcode_t): Update description of succeed_n. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
4993 (PATFETCH): Always define. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
4994 (regex_compile): Use lookahead rather than PATUNFETCH (for repetition |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
4995 operators, char classes, shy-groups and intervals). |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
4996 Optimize special cases of intervals so as to only use succeed_n and |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
4997 jump_n when really needed. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
4998 (re_compile_fastmap): Simplify handling of jump_n and succeed_n now |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
4999 that we don't have to handle the special cases any more. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5000 Simplify on_failure_jump handling as well. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
5001 |
28371 | 5002 2000-03-28 Jason Rumney <jasonr@gnu.org> |
5003 | |
5004 * lread.c (Fload): Move safe_p definition to above #ifdef DOS_NT. | |
5005 | |
28348 | 5006 2000-03-27 Gerd Moellmann <gerd@gnu.org> |
5007 | |
28366 | 5008 * s/freebsd.h (GC_SETJMP_WORKS): Define. |
5009 | |
5010 * s/msdos.h (GC_SETJMP_WORKS): Define. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5011 |
28366 | 5012 * alloc.c (mark_maybe_object): New function. |
5013 (mark_memory): Use it. | |
5014 (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK): New macros. | |
5015 (setjmp_tested_p, longjmp_done): New variables. | |
5016 (test_setjmp): New function. | |
5017 (mark_stack) [!GC_SETJMP_WORKS]: Call test_setjmp. | |
5018 (init_alloc): Initialize setjmp_tested_p and longjmp_done. | |
5019 | |
28363 | 5020 * xdisp.c (face_before_or_after_it_pos): Pass multibyteness |
5021 to DEC_TEXT_POS and INC_TEXT_POS. | |
5022 | |
5023 * dispnew.c (direct_output_for_insert): Use DEC_TEXT_POS | |
5024 with parameter MULTIBYTE_P. | |
5025 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5026 * dispextern.h (INC_TEXT_POS, DEC_TEXT_POS): Add parameter |
28363 | 5027 MULTIBYTE_P. |
5028 | |
28359 | 5029 * editfns.c (Fsubst_char_in_region): Don't use INC_POS in unibyte |
28366 | 5030 buffers because it looks for multibyte character byte sequences |
5031 which don't exist in unibyte text. | |
28359 | 5032 |
28357 | 5033 * xterm.h (x_specified_cursor_type, x_copy_color): Add prototypes. |
5034 | |
28368 | 5035 * xfaces.c (register_color, unregister_color, unregister_colors) |
28357 | 5036 [DEBUG_X_COLORS]: New functions. |
5037 (x_free_colors) [DEBUG_X_COLORS]: Unregister colors. | |
5038 | |
5039 * xfns.c (x_set_cursor_color): Get color reference counts right. | |
5040 | |
5041 * xterm.c (x_copy_color): New function. | |
5042 (x_alloc_nearest_color) [DEBUG_X_COLORS]: Call register_color. | |
5043 | |
5044 * buffer.h (MAX_PER_BUFFER_VARS): Renamed from MAX_BUFFER_LOCAL_VARS. | |
5045 (PER_BUFFER_VAR_OFFSET): Renamed from BUFFER_LOCAL_VAR_OFFSET. | |
5046 (PER_BUFFER_VAR_IDX): Renamed from BUFFER_LOCAL_VAR_IDX. | |
5047 (PER_BUFFER_VALUE_P): Renamed from BUFFER_HAS_LOCAL_VALUE_P. | |
5048 (SET_PER_BUFFER_VALUE_P): Renamed from SET_BUFFER_HAS_LOCAL_VALUE_P. | |
5049 (PER_BUFFER_IDX): Renamed from BUFFER_LOCAL_IDX. | |
5050 (PER_BUFFER_DEFAULT): Renamed from BUFFER_LOCAL_DEFAULT_VALUE. | |
5051 (PER_BUFFER_VALUE): Renamed from BUFFER_LOCAL_VALUE. | |
5052 (PER_BUFFER_SYMBOL): Renamed from BUFFER_LOCAL_SYMBOL. | |
5053 (PER_BUFFER_TYPE): Renamed from BUFFER_LOCAL_TYPE. | |
5054 | |
28368 | 5055 * category.c, data.c, syntax.c, print.c, lread.c: Use new macro |
5056 names for handling per-buffer variables. | |
28357 | 5057 |
5058 * buffer.c (buffer_permanent_local_flags): Use MAX_PER_BUFFER_VARS | |
5059 instead of MAX_BUFFER_LOCAL_VARS. | |
5060 (last_per_buffer_idx): Renamed from max_buffer_local_idx. | |
5061 | |
5062 * xfaces.c (lookup_face): Don't assert FACE_SUITABLE_FOR_CHAR_P. | |
5063 | |
28348 | 5064 * xfns.c (x_specified_cursor_type): New function. |
5065 (x_set_cursor_type): Use it. | |
5066 | |
5067 * buffer.h (struct buffer): Add cursor_type. | |
5068 | |
28346
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5069 2000-03-26 Stefan Monnier <monnier@cs.yale.edu> |
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5070 |
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5071 * regex.c (enum re_opcode_t): New opcode on_failure_jump_nastyloop. |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5072 (print_partial_compiled_pattern, re_compile_fastmap): Handle new |
28348 | 5073 opcode. |
28346
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5074 (regex_compile): Use on_failure_jump_nastyloop for non-greedy loops. |
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5075 (re_match_2_internal): Add code for on_failure_jump_nastyloop when |
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5076 executing it as well as when popping it off the stack to find infinite |
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5077 loops in non-greedy repetition operators. |
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5078 |
28320 | 5079 2000-03-26 Gerd Moellmann <gerd@gnu.org> |
5080 | |
28335 | 5081 * doc.c (Qfunction_documentation): New variable. |
5082 (syms_of_doc): Initialize Qfunction_documentation. | |
5083 (Fdocumentation): If FUNCTION is a symbol with non-nil | |
5084 `function-documentation' property, return a documentation derived | |
5085 from that. | |
5086 | |
28333 | 5087 * buffer.c (syms_of_buffer): Add default-cursor-type. |
5088 (init_buffer_once): Don't let cursor_type have a local value | |
5089 in every buffer. | |
5090 | |
28323 | 5091 * xterm.c (x_display_and_set_cursor): Choose cursor depending |
5092 on buffer-local value of cursor_type. | |
5093 (x_draw_bar_cursor): Add parameter WIDTH. | |
5094 | |
5095 * buffer.c (reset_buffer): Initialize buffer's cursor_type. | |
5096 (init_buffer_once): Set default cursor_type value to t. | |
5097 Mark cursor_type as local everywhere. | |
5098 (syms_of_buffer): New per-buffer variable cursor-type. | |
5099 | |
28320 | 5100 * buffer.h (struct buffer): Remove member local_var_flags, |
5101 add local_flags. | |
5102 (MAX_BUFFER_LOCAL_VARS): New macro. | |
5103 (BUFFER_LOCAL_VAR_OFFSET, BUFFER_LOCAL_VAR_IDX) | |
5104 (BUFFER_HAS_LOCAL_VALUE_P, SET_BUFFER_HAS_LOCAL_VALUE_P) | |
5105 (BUFFER_LOCAL_IDX, BUFFER_LOCAL_DEFAULT_VALUE, BUFFER_LOCAL_VALUE) | |
5106 (BUFFER_LOCAL_SYMBOL, BUFFER_LOCAL_TYPE): New macros. | |
5107 | |
5108 * print.c (print_object): Use new macros for per-buffer | |
5109 variables. | |
5110 | |
5111 * category.c (Fset_category_table): Use new macros for per-buffer | |
5112 variables. | |
5113 | |
5114 * buffer.c (buffer_permanent_local_flags): Make a char array. | |
5115 (max_buffer_local_idx): New variable. | |
5116 (reset_buffer_local_variables, Fbuffer_local_variables): Rewritten | |
5117 for new handling of per-buffer variables. | |
5118 (buffer_slot_type_mismatch): Use new macros for per-buffer vars. | |
5119 (init_buffer_once): Initialize per-buffer vars differently. | |
5120 Set max_buffer_local_idx. | |
5121 | |
5122 * syntax.c (Fset_syntax_table): Use new macros for per-buffer | |
5123 variables. | |
5124 | |
5125 * lread.c (defvar_per_buffer): Use new macros for per-buffer | |
5126 variables. | |
5127 | |
5128 * data.c (do_symval_forwarding, store_symval_forwarding) | |
5129 (find_symbol_value, set_internal, default_value, Fset_default) | |
5130 (Fkill_local_variable, Flocal_variable_p): Use new macros for | |
5131 per-buffer variables. | |
5132 | |
5133 * Makefile.in (bootstrap-emacs): Use `mv -f' instead of `mv'. | |
5134 | |
28303 | 5135 2000-03-24 Gerd Moellmann <gerd@gnu.org> |
5136 | |
28308 | 5137 * xterm.c (x_term_init): Unblock input around call1 of |
5138 Qvendor_specific_keysyms. | |
5139 | |
28303 | 5140 * syntax.c (open_paren_in_column_0_is_defun_start): New variable. |
5141 (find_defun_start): Consider an open parenthesis in column 0 | |
5142 a defun start only if open_paren_in_column_0_is_defun_start is set. | |
5143 (syms_of_syntax): New variable open-paren-in-column-0-is-defun-start. | |
5144 | |
28298
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
5145 2000-03-24 Stefan Monnier <monnier@cs.yale.edu> |
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
5146 |
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
5147 * eval.c (Fautoload): Add entry in load-history (if after dump). |
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
5148 * lread.c (load-history): Update docstring. |
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
5149 |
28294 | 5150 2000-03-24 Gerd Moellmann <gerd@gnu.org> |
5151 | |
5152 * indent.c (Fvertical_motion): Always use the current buffer. | |
5153 Temporarily change the window's buffer, if necessary. | |
5154 | |
28283 | 5155 2000-03-23 Gerd Moellmann <gerd@gnu.org> |
5156 | |
5157 * xterm.c (fast_find_position): Make sure not to consider rows | |
5158 not visible in the window. | |
5159 | |
28280
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
5160 2000-03-22 Stefan Monnier <monnier@cs.yale.edu> |
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
5161 |
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
5162 * regex.c (enum syntaxcode): Provide default for non-Emacs. |
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
5163 (re_compile_fastmap, re_match_2_internal): Undo Dave's previous fix. |
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
5164 |
28276 | 5165 2000-03-22 Jason Rumney <jasonr@gnu.org> |
5166 | |
5167 * w32menu.c (single_submenu): Set help string to NULL if none. | |
5168 (w32_menu_show): Set help string correctly. | |
5169 (add-menu-item): Set help string in MIIM_DATA for menu item. | |
5170 Load SetMenuItemInfoA explicitly. | |
5171 (w32_menu_display_help): New function. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5172 |
28276 | 5173 * w32fns.c (w32_wnd_proc): Handle WM_MENUSELECT message. |
5174 (QCdata): Moved to xdisp.c. | |
5175 | |
5176 * w32term.c (w32_read_socket): Handle WM_MENUSELECT message. | |
5177 (Vw32_charset_to_codepage_alist): Removed. | |
5178 (Vw32_charset_info_alist): New variable. | |
5179 (Qw32_charset_[ansi, default, symbol, shiftjis, hangul, gb2312, | |
5180 chinesebig5, oem, easteurope, turkish, baltic, russian, arabic, | |
5181 greek, hebrew, thai, johab, mac, unicode]): New symbols. | |
5182 (x_produce_glyphs): Remove out of date #ifdef 0'd section. Replace | |
5183 with TODO comment. | |
5184 (w32_codepage_for_font): Use Vw32_charset_info_alist. | |
5185 (syms_of_w32term): Remove Vw32_charset_to_codepage_alist. | |
5186 Define Vw32_charset_info_alist and w32_charset symbols. | |
5187 | |
5188 2000-03-22 Jason Rumney <jasonr@gnu.org> | |
5189 | |
5190 * makefile.nt (w32bdf.obj): Update dependencies. | |
5191 | |
5192 * w32bdf.c: Include frame.h and dispextern.h before fontset.h. | |
5193 | |
5194 * w32fns.c: Include fontset.h after dispextern.h. | |
5195 (Fx_create_frame): Do not create fontset. | |
5196 (w32_load_system_font): Doc fix. | |
5197 (Fx_close_connection): Free full_name if it is not shared. | |
5198 | |
5199 * w32term.c: Include fontset.h after dispextern.h. | |
5200 (x_get_glyph_face_and_encoding): New parameter two_byte_p. Callers | |
5201 updated. | |
5202 (w32_per_char_metric): If PCM is invalid, delete and return NULL. | |
5203 (x_get_char_and_face_encoding): Use FACE_FOR_CHAR to get face_id. | |
5204 (w32_font_is_double_byte): New function, needs body. | |
5205 (x_append_glyph): Set glyph->glyph_not_available_p. | |
5206 (x_produce_glyphs): Set it->glyph_not_available_p. Don't set | |
5207 it->charset. If it->multibyte_p is zero and it->c is a multibyte | |
5208 character, convert it to a unibyte character. | |
5209 (struct glyph_string): Delete member `charset'. | |
5210 (W32_TEXTOUT): Temporarily remove charset_dim until another way of | |
5211 calculating it is found. | |
5212 (x_set_mouse_face_gc): Call FACE_FOR_CHAR to get face_id. Handle | |
5213 the case that per char metric is not available correctly. | |
5214 (x_fill_glyph_string): Handle the case that the specific glyph is | |
5215 not available correctly. | |
5216 (BUILD_CHAR_GLYPH_STRINGS): Don't set s->charset. | |
5217 (BUILD_COMPOSITE_GLYPH_STRING): Likewise. | |
5218 (x_new_font): Call FS_LOAD_FONT, not fs_load_font. | |
5219 (x_new_fontset): Call fontset_ascii to get ASCII font name of the | |
5220 fontset. Don't call FS_LOAD_FONT. | |
5221 | |
28269
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5222 2000-03-22 Ken Raeburn <raeburn@gnu.org> |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5223 |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5224 * intervals.h (NULL_INTERVAL): Cast to INTERVAL type. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5225 (INT_LISPLIKE): New macro. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5226 (NULL_INTERVAL_P): Use it. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5227 (INTERVAL_HAS_PARENT, INTERVAL_HAS_OBJECT, SET_INTERVAL_PARENT, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5228 SET_INTERVAL_OBJECT, INTERVAL_PARENT, COPY_INTERVAL_PARENT, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5229 GET_INTERVAL_OBJECT, INTERVAL_PARENT_OR_NULL): New macros. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5230 |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5231 * alloc.c (make_interval, gc_sweep): Use new macros; eliminate all |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5232 explicit references to "parent" field of struct interval and |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5233 associated unclean type conversions. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5234 * intervals.c (create_root_interval, root_interval, rotate_right, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5235 rotate_left, balance_possible_root_interval, split_interval_right, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5236 split_interval_left, interval_start_pos, find_interval, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5237 next_interval, previous_interval, update_interval, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5238 adjust_intervals_for_insertion, delete_node, delete_interval, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5239 adjust_intervals_for_deletion, merge_interval_right, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5240 merge_interval_left, reproduce_tree, graft_intervals_into_buffer, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5241 copy_intervals_to_string): Likewise. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5242 * intervals.h (AM_LEFT_CHILD, AM_RIGHT_CHILD, RESET_INTERVAL): |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5243 Likewise. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5244 * syntax.c (update_syntax_table): Likewise. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5245 |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5246 * intervals.c (reproduce_tree_obj): New function, like |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5247 reproduce_tree but takes a Lisp_Object for the parent. Declare |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5248 with prototype. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5249 (graft_intervals_into_buffer): Use it when appropriate. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5250 (reproduce_tree): Declare with prototype. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5251 (balance_possible_root_interval): Check that the parent is a lisp |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5252 object before trying to examine its type. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5253 |
28267 | 5254 2000-03-22 Gerd Moellmann <gerd@gnu.org> |
5255 | |
5256 * xfaces.c (lface_same_font_attributes_p): Compare font attributes | |
5257 as strings only if both are known to be strings. | |
5258 | |
5259 * s/openbsd.h (LIBS_TERMCAP): Undef. | |
5260 | |
28262
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5261 2000-03-21 Stefan Monnier <monnier@cs.yale.edu> |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5262 |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5263 * regex.c (CHAR_CHARSET, CHARSET_LEADING_CODE_BASE): Add default |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5264 definitions for non-Emacs compilation. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5265 (enum re_opcode_t): Remove (not)wordchar and move (not)syntaxspec |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5266 outside of `#ifdef emacs'. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5267 (print_partial_compiled_pattern): Update. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5268 (regex_compile): Use (not)syntaxspec(Sword) instead of (not)wordchar. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5269 (re_compile_fastmap): Merge handling of charset and charset_not (for |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5270 emacs and non-emacs compilation as well). |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5271 Similarly for (not)categoryspec and (not)syntaxspec. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5272 Don't use the fastmap when reaching `anychar' since the added |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5273 complexity is not justified. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5274 (re_match_2_internal): Merge (not)wordchar (emacs and non-emacs) |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5275 and (not)syntaxspec. Merge (not)categoryspec. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5276 |
28253 | 5277 2000-03-22 Kenichi Handa <handa@etl.go.jp> |
5278 | |
28255 | 5279 * dispextern.h [!HAVE_WINDOW_SYSTEM] (FACE_SUITABLE_FOR_CHAR_P, |
5280 FACE_FOR_CHAR): Define them differently for the configuration of | |
5281 --without-x. | |
28253 | 5282 |
28242 | 5283 2000-03-21 Dave Love <fx@gnu.org> |
5284 | |
5285 * fontset.c (Fset_fontset_font, Ffontset_font): Fix newlines in | |
5286 doc string. | |
5287 | |
28238 | 5288 2000-03-21 Gerd Moellmann <gerd@gnu.org> |
5289 | |
5290 * xfaces.c (check_lface_attrs) [GLYPH_DEBUG]: Fix syntax error. | |
5291 (lface_fully_specified_p): Don't check contents of | |
5292 LFACE_FONT_INDEX because that attribute is optional. | |
5293 (realize_x_face): Remove now unwarranted xassert. | |
5294 | |
28218 | 5295 2000-03-21 Kenichi HANDA <handa@etl.go.jp> |
5296 | |
28219 | 5297 The following changes are to make font selection based on |
5298 characters, not charset. In addition, they recover fontset | |
5299 facilities while utilizing the new font selection mechanism. | |
28218 | 5300 |
28233 | 5301 * Makefile.in (fontset.o): Depend on dispextern.h. |
5302 | |
5303 * alloc.c (mark_face_cache): Don't mark face->registry. | |
5304 | |
28218 | 5305 * dispextern.h (struct glyph): New member glyph_not_available_p. |
5306 Use 22 bits for face_id. | |
5307 (enum lface_attribute_index): Add LFACE_FONT_INDEX. | |
5308 (struct face): Delete member registry, new member ascii_face. | |
5309 (FACE_SUITABLE_FOR_CHAR_P): Renamed from | |
5310 FACE_SUITABLE_FOR_CHARSET_P. Caller changed. | |
5311 (FACE_FOR_CHAR): Renamed from FACE_FOR_CHARSET. Caller changed. | |
5312 (struct it): Delete member charset, new member | |
5313 glyph_not_available_p. | |
5314 | |
5315 * fontset.h (FONT_NOT_OPENED, FONT_NOT_FOUND): Macros removed. | |
5316 (struct fontset_info, struct fontset_data): Structs removed. | |
5317 (allloc_fontset_data, free_fontset_data, fs_regiser_fontset, | |
5318 Vglobale_fontset_alist, font_idx_temp): Externs removed. | |
5319 (fs_load_font, fs_query_fontset): Adjusted for new argument. | |
5320 (fs_free_face_fontset, fontset_font_pattern, | |
5321 face_suitable_for_char_p, face_for_char, | |
5322 make_fontset_for_ascii_face): Extern them. | |
5323 (FS_LOAD_FONT): Adjusted for the change of fontset implementation. | |
5324 (FS_LOAD_FACE_FONT): New macro. | |
5325 | |
5326 * fontset.c: All codes rewritten or adjusted for the change of | |
5327 fontset implementation. Now fontset is represented by char table. | |
5328 (Vglobal_fontset_alist, font_idx_temp, my_strcasetbl): Variables | |
5329 removed. | |
5330 (my_strcasecmp): Function removed. | |
5331 (Vfontset_table, next_fontset_id, Vdefault_fontset): New | |
5332 variables. | |
5333 (AREF, ASIZE): New macros. | |
5334 (FONTSET_FROM_ID, FONTSET_ID, FONTSET_NAME, FONTSET_FRAME, | |
5335 FONTSET_ASCII, FONTSET_BASE, BASE_FONTSET_P, FONTSET_REF, | |
5336 FONTSET_REF_VIA_BASE, FONTSET_SET): New macros. | |
5337 (fontset_ref, fontset_ref_via_base, fontset_set, make_fontset, | |
5338 fontset_id_valid_p, font_family_registry, fontset_name, | |
5339 fontset_ascii, free_face_fontset, face_suitable_for_char_p, | |
5340 face_for_char, make_fontset_for_ascii_face, fontset_font_pattern): | |
5341 New functions. | |
5342 (fs_load_font): New arg FACE. Caller changed. | |
5343 (fs_query_fontset): Argument changed. Caller changed. | |
5344 (Fquery_fontset): call fs_query_fontset. | |
5345 (fs_register_fontset, alloc_fontset_data, free_fontset_data): | |
5346 Functions removed. | |
5347 (clear_fontset_elements, check_registry_encoding, | |
5348 check_fontset_name): New functions. | |
5349 (syms_of_fontset): Set char-table-extra-slots property of fontset | |
5350 to 3. Staticpro and initialize Vfontset_table and | |
5351 Vdefault_fontset. Defsubr fontset_font and fontset_list. | |
5352 | |
5353 * frame.h (struct frame): Member `fontset_data' removed. | |
5354 (FRAME_FONTSET_DATA): Macro removed. | |
5355 | |
5356 * frame.c (make_frame): Don't allocate f->fontset_data. | |
5357 (Fdelete_frame): Don't free f->fontset_data. | |
5358 | |
28233 | 5359 * msdos.c (XMenuActivate): Args to lookup_derived_face changed. |
5360 | |
28218 | 5361 * xdisp.c (charset_at_position): Function removed. |
5362 (init_iterator): Don't set member charset of struct `it'. | |
5363 (handle_face_prop, reseat_to_string, set_iterator_to_next, | |
5364 next_element_from_display_vector, insert_left_trunc_glyphs): | |
5365 Likewise. | |
5366 (face_before_or_after_it_pos): Call FACE_FOR_CHAR, not | |
5367 FACE_FOR_CHARSET. | |
5368 (get_next_display_element, append_space, | |
5369 extend_face_to_end_of_line): Likewise. | |
5370 | |
5371 * xfaces.c (Qx_charset_registry, Vface_default_registry): | |
5372 Variables removed. | |
5373 (clear_font_table, frame_update_line_height, load_face_font): | |
5374 Adjusted for the change of fontset implementation. | |
5375 (load_face_fontset_font): Function removed. | |
5376 (pixel_point_size): New function. | |
5377 (font_list): Argument type changed. Caller changed. | |
5378 (LFACE_FONT): New macro. | |
5379 (check_lface_attrs): Check attr[LFACE_FONT_INDEX]. | |
5380 (set_lface_from_font_name): Type of arg FONTNAME is changed to | |
5381 Lisp_Object. Determine the font name by actually loading a font | |
5382 by the specified pattern. Set LFACE_FONT (lface) to the specified | |
5383 pattern. Even if a font is not found, don't try alternatives. | |
5384 (Finternal_set_lisp_face_attribute): Handle `font' slot in lface. | |
5385 (set_font_frame_param): If `font' is specified in lface, use it. | |
5386 (Finternal_get_lisp_face_attribute): Handle `font' slot in lface. | |
5387 (lface_same_font_attributes_p): Likewise. | |
5388 (make_realized_face): Arguent changed. Caller changed. Set | |
5389 face->ascii_face to face itself. | |
5390 (free_realized_face): Free face->fontset if face is for ASCII. | |
5391 (face_suitable_for_iso8859_1_p, face_suitable_for_charset_p, | |
5392 deduce_unibyte_registry, x_charset_registry): Functions removed. | |
5393 (free_realized_multibyte_face): New function. | |
5394 (lookup_face, lookup_named_face, lookup_derived_face): Argument | |
5395 changed. Caller changed. | |
5396 (try_font_list): Argument type changed. | |
5397 (face_fontset): Check `font' slot of ATTRS, not `family' slot. | |
5398 (choose_face_font): Argument changed. Handle fontset properly. | |
5399 (choose_face_fontset_font): Function removed. | |
5400 (realize_default_face, realize_named_face): Don't remove the | |
5401 former face here. | |
5402 (realize_face): Argument changed. Caller changed. Remove face | |
5403 with the arg former_face_id in advance. Load font for the new | |
5404 face. | |
5405 (realize_x_face): Argument changed. Caller changed. For a | |
5406 multibyte character, share fontset with base_face. For a single | |
5407 byte character, make a new realized fontset. Don't load a font | |
5408 here. | |
5409 (realize_tty_face): Argument changed. Caller changed. | |
5410 (compute_char_face): Call FACE_FOR_CHAR, not FACE_FOR_CHARSET. | |
5411 (face_at_buffer_position): Don't check multibyte_p for returning | |
5412 DEFAULT_FACE_ID. | |
5413 (face_at_string_position): Call FACE_SUITABLE_FOR_CHAR_P, not | |
5414 FACE_SUITABLE_FOR_CHARSET_P. | |
5415 (syms_of_xfaces): Remove code for Qx_charset_registry and | |
5416 Vface_default_registry. | |
5417 | |
28233 | 5418 * xterm.c: Include fontset.h after dispextern.h. Undo the changes |
5419 related to PER_CHAR_METRIC done by Gerd on 2000-03-03. | |
28218 | 5420 (x_per_char_metric): Don't try FONT->default_char. Even if |
5421 pcm->width is zero, glyph bits may exist. | |
5422 (x_encode_char): Always initialize char2b->byte1. | |
5423 (x_get_char_face_and_encoding): Call FACE_FOR_CHAR to get face_id. | |
5424 (x_get_glyph_face_and_encoding): New arg two_byte_p. Caller | |
5425 changed. | |
5426 (x_append_glyph): Set glyph->glyph_not_available_p. | |
5427 (x_produce_glyphs): Set it->glyph_not_available_p. Don't set | |
5428 it->charset. Handle the case that per char metric is not | |
5429 available. If it->multibyte_p is zero and it->c is a multibyte | |
5430 character, convert it to a unibyte character. | |
5431 (struct glyph_string): Delete member `charset'. | |
5432 (x_set_mouse_face_gc): Call FACE_FOR_CHAR to get face_id. Handle | |
5433 the case that per char metric is not available correctly. | |
5434 (x_fill_glyph_string): Handle the case that the specific glyph is | |
5435 not available correctly. | |
5436 (BUILD_CHAR_GLYPH_STRINGS): Don't set s->charset. | |
5437 (BUILD_COMPOSITE_GLYPH_STRING): Likewise. | |
5438 (x_new_font): Call FS_LOAD_FONT, not fs_load_font. | |
5439 (x_new_fontset): Call fontset_ascii to get ASCII font name of the | |
5440 fontset. Don't call FS_LOAD_FONT. | |
5441 | |
5442 * xfns.c (Fx_create_frame): Don't cal fs_register_fontset. | |
5443 (x_create_tip_frame): Likewise. | |
5444 (Fx_close_connection): Free full_name of font_info. | |
5445 | |
5446 * fns.c (optimize_sub_char_table): New function. | |
5447 (Foptimize_char_table): New function. | |
5448 (syms_of_fns): Defsubr Soptimize_char_table. | |
5449 | |
28209 | 5450 2000-03-20 Gerd Moellmann <gerd@gnu.org> |
5451 | |
5452 * buffer.c (Fset_buffer_modified_p): Set update_mode_lines | |
5453 only if buffer is displayed in some window. | |
5454 | |
5455 * xdisp.c (handle_single_display_prop): Initialize local `value'. | |
5456 (try_window_reusing_current_matrix): Don't call scroll run | |
5457 function if run's current and desired position are the same; | |
5458 this prevents cursor flickering. | |
5459 | |
28204
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5460 2000-03-19 Stefan Monnier <monnier@cs.yale.edu> |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5461 |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5462 * regex.h (RE_TRANSLATE. RE_TRANSLATE_P): Moved to regex.c. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5463 |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5464 * regex.c (RE_STRING_CHAR): New macro. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5465 (GET_CHAR_AFER_2): Remove. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5466 (RE_TRANSLATE, RE_TRANSLATE_P): New macros moved from regex.h. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5467 (enum re_opcode_t): Remove on_failure_jump_exclusive. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5468 (print_partial_compiled_pattern, re_compile_fastmap) |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5469 (re_match_2_internal): Remove on_failure_jump_exclusive. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5470 (regex_compile): Turn optimizable P+ loops into PP*, so that the |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5471 optimization only need to work for * (ie. can use of_keep_string_jump). |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5472 Remove the special case for .*\n since it is now covered by the general |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5473 optimization. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5474 (re_search_2): Don't bother with `room'. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5475 (skip_one_char): New function. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5476 (skip_noops): Simplify since `memory' is not needed any more. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5477 (mutually_exclusive_p): Restructure slightly to use `switch' and |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5478 add handling for "all" remaining cases. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5479 (re_match_2_internal): Change on_failure_jump_smart to use |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5480 on_failure_keep_string_jump (and redirect the end-of-loop jump) |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5481 rather than on_failure_jump_exclusive. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5482 |
28201 | 5483 2000-03-19 Gerd Moellmann <gerd@gnu.org> |
5484 | |
5485 * xfns.c (select_visual): Don't set dpyinfo->n_planes to the | |
5486 number of bits per RGB because it's everywhere used as the depth | |
5487 of the visual. | |
5488 | |
5489 * term.c (calculate_costs): Remove code dealing with X frames. | |
5490 | |
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
5491 2000-03-19 Richard M. Stallman <rms@gnu.org> |
28197
aaa6448240eb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28194
diff
changeset
|
5492 |
aaa6448240eb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28194
diff
changeset
|
5493 * lread.c (syms_of_lread): Doc fix for load-convert-to-unibyte. |
aaa6448240eb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28194
diff
changeset
|
5494 |
28194 | 5495 2000-03-18 Gerd Moellmann <gerd@gnu.org> |
5496 | |
5497 * lread.c (read_integer): Unread the last char not consumed. | |
5498 | |
28184 | 5499 2000-03-17 Gerd Moellmann <gerd@gnu.org> |
5500 | |
5501 * xterm.c (x_update_window_cursor): Don't update in frames | |
28194 | 5502 which are in the process of being deleted. |
28184 | 5503 |
28166 | 5504 2000-03-16 Gerd Moellmann <gerd@gnu.org> |
5505 | |
28176 | 5506 * Makefile.in (mostlyclean): Add `*.core'. |
5507 (clean): Add `bootstrap-emacs'. | |
5508 | |
28166 | 5509 * lread.c (read_integer): New function. |
5510 (read1): Support read syntax #o, #x, #b, #r. | |
5511 | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5512 2000-03-15 Stefan Monnier <monnier@cs.yale.edu> |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5513 |
28166 | 5514 * regex.c (re_match_2): Fix string shortening (to fit `stop') to |
5515 make sure POINTER_TO_OFFSET gives the same value before and after | |
5516 PREFETCH. Use `dfail' to guarantee "atomic" matching. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5517 (PTR_TO_OFFSET): Use POINTER_TO_OFFSET. |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5518 (debug): Now only active if > 0 rather than if != 0. |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5519 (DEBUG_*): Update for the new meaning of `debug'. |
28166 | 5520 (print_partial_compiled_pattern): Add missing `succeed' case. Use |
5521 CHARSET_* macros in the charset(_not) branch. Fix off-by-two bugs | |
5522 in `succeed_n', `jump_n' and `set_number_at'. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5523 (store_op1, store_op2, insert_op1, insert_op2) |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5524 (at_begline_loc_p, at_endline_loc_p): Add prototype. |
28166 | 5525 (group_in_compile_stack): Move to after its arg's types are |
5526 declared and add a prototype. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5527 (PATFETCH): Define in terms of PATFETCH_RAW. |
28166 | 5528 (GET_UNSIGNED_NUMBER): Add the usual `do { ... } while(0)' |
5529 wrapper. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5530 (QUIT): Redefine as a nop except for NTemacs. |
28166 | 5531 (regex_compile): Handle intervals {,M} as if it was {0,M}. Fix |
5532 indentation of the greedy-op and shy-group code. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5533 (at_(beg|end)line_loc_p): Fix argument's types. |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5534 (re_compile_fastmap): Ifdef out failure_stack_ptr to shut up gcc. |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5535 (re_search_2): Use POS_AS_IN_BUFFER. Simplify `room' computation. |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5536 (MATCHING_IN_FIRST_STRING): Remove. |
28166 | 5537 (re_match_2): Use POS_AS_IN_BUFFER. Ifdef out failure_stack_ptr |
5538 to shut up gcc. Use FIRST_STRING_P and POINTER_TO_OFFSET. Use | |
5539 QUIT unconditionally. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5540 |
28159 | 5541 2000-03-15 Gerd Moellmann <gerd@gnu.org> |
5542 | |
5543 * minibuf.c (Fminibuffer_complete): Set point to ZV if finding | |
5544 a sole completion. | |
5545 | |
5546 * process.c (send_process): Add a hint that the function | |
5547 can call Lisp code to its comment. | |
5548 | |
5549 * lread.c (load_dangerous_libraries): New variable. | |
5550 (Vbytecomp_version_regexp): New variable. | |
5551 (safe_to_load_p): New function. | |
5552 (Fload): Handle files not compiled with Emacs specially. | |
5553 (syms_of_lread): New Lisp variable load-dangerous-libraries. | |
5554 | |
28139 | 5555 2000-03-14 Gerd Moellmann <gerd@gnu.org> |
5556 | |
28147 | 5557 * lisp.h (free_frame_xic) [HAVE_X_I18N]: Add missing semicolon. |
5558 | |
5559 * xterm.c (xim_close_dpy, xim_initialize): Use X11R6-style XIM | |
5560 support functions only if HAVE_X11R6_XIM is defined. | |
5561 (xim_instantiate_callback): Define only if HAVE_X11R6_XIM. | |
5562 | |
5563 * s/sol2.h (INHIBIT_X11R6_XIM): Define. | |
5564 | |
5565 * xfns.c (X_I18N_INHIBITED): Don't define. | |
5566 (create_frame_xic): Remove conditional compilation on | |
5567 X_I18N_INHIBITED. | |
5568 (x_kill_gs_process, x_window): Use FRAME_X_VISUAL. | |
5569 | |
5570 * config.in (HAVE_X_I18N): Moved here from xterm.h. | |
5571 (HAVE_X11R6_XIM): Define. | |
5572 | |
5573 * xterm.h (HAVE_X_I18N) [HAVE_X11R6]: Moved to config.in. | |
5574 | |
28139 | 5575 * xterm.c (x_term_init): Add support for X resource `synchronous'. |
5576 If set, call XSynchronize. | |
5577 | |
28138
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
5578 2000-03-13 Stefan Monnier <monnier@cs.yale.edu> |
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
5579 |
28139 | 5580 * regex.c: Declare a new type `re_char' used throughout the code |
5581 for the string char type. It's `const unsigned char' to match the | |
5582 rest of Emacs. Consistently make sure all pointers to strings use | |
5583 it and make sure all pointers into the pattern use `unsigned | |
5584 char'. | |
28138
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
5585 (re_match_2_internal): Use `PREFETCH+STRING_CHAR' instead of |
28139 | 5586 GET_CHAR_AFTER_2. Also merge wordbound and notwordbound to reduce |
5587 code duplication. | |
28138
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
5588 |
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
5589 * charset.h (GET_CHAR_AFTER_2): Remove. |
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
5590 (GET_CHAR_BEFORE_2): Use unsigned chars, like everywhere else. |
d2e19a90c9ef
* regex.c: Declare a new type `re_char' used throughout the code for the
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28137
diff
changeset
|
5591 |
28133
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
5592 2000-03-12 Ken Raeburn <raeburn@gnu.org> |
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
5593 |
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
5594 * Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary |
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
5595 variable before the invocation of YMF_PASS_LDFLAGS, in case both |
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
5596 of them try to use backquotes. |
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
5597 |
28122 | 5598 2000-03-12 Dave Love <fx@gnu.org> |
5599 | |
5600 * unexelf.c: Restore changes of 1999-10-19. | |
5601 (unexec): Don't adjust bss for sbss type SHT_PROGBITS; otherwise | |
5602 fix its type and alignment; copy it from current process. | |
5603 | |
28098 | 5604 2000-03-12 Gerd Moellmann <gerd@gnu.org> |
5605 | |
28120 | 5606 * atimer.c (cancel_atimer): Break out of the loop as soon as timer |
5607 has been found. Fix bug not computing timer's predecessor. | |
5608 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5609 * fileio.c (Fread_file_name): Handle case that DIR contains a |
28118 | 5610 file name. |
5611 | |
28109 | 5612 * window.c (Fsave_window_excursion): Doc fix. |
5613 | |
28098 | 5614 * xfns.c (x_defined_color): Rewritten to use |
5615 x_allocate_nearest_color. | |
5616 | |
28095 | 5617 2000-03-12 Eli Zaretskii <eliz@is.elta.co.il> |
5618 | |
5619 * msdos.c (vga_installed): New function, code moved from | |
5620 dos_set_window_size. | |
5621 (Qbar, Qcursor_type, outside_cursor): New variables. | |
5622 (syms_of_msdos): Intern and staticpro them. | |
5623 (dos_ttraw) [__DJGPP__ >= 2, !HAVE_X_WINDOWS]: Save the cursor | |
5624 shape used outside Emacs when called for the first time. | |
5625 (dos_ttcooked) [__DJGPP__ >= 2, !HAVE_X_WINDOWS]: Restore the | |
5626 cursor shape used outside Emacs. | |
5627 (msdos_set_cursor_shape, IT_set_cursor_type): New functions. | |
5628 (IT_frame_up_to_date): Call IT_set_cursor_type, in case the cursor | |
5629 type has changed. | |
5630 (IT_set_frame_parameters): Call IT_set_cursor_type if the frame | |
5631 parameters specify the cursor. Make qreverse a global | |
5632 variable (renamed to Qreverse). | |
5633 | |
28073 | 5634 2000-03-09 Gerd Moellmann <gerd@gnu.org> |
5635 | |
5636 * fns.c (Fy_or_n_p): Cancel busy-cursor. | |
5637 | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5638 2000-03-08 Stefan Monnier <monnier@cs.yale.edu> |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5639 |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5640 This is a big redesign of failure-stack and register handling, prompted |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5641 by bugs revealed when trying to add shy-groups. Overall, what happened |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5642 is that loops are now structured a little differently, groups can be |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5643 shy and the code is a little simpler. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5644 |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5645 * regex.h: Update the copyright. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5646 (RE_SHY_GROUPS): New value. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5647 (RE_UNMATCHED_RIGHT_PAREN_ORD): Renumber. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5648 (RE_SYNTAX_EMACS): Add RE_SHY_GROUPS. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5649 |
28073 | 5650 * regex.c (enum re_opcode_t): Remove jump_past_alt, |
5651 maybe_pop_jump, push_dummy_failure and dumy_failure_jump. Add | |
5652 on_failure_jump_(exclusive, loop and smart). Also fix the comment | |
5653 for (start|stop)_memory since they now only take one argument (the | |
5654 second has becomes unnecessary). | |
5655 (print_partial_compiled_pattern): Adjust for changes in | |
5656 re_opcode_t. | |
5657 (print_compiled_pattern): Use %ld to printf long ints and flush to | |
5658 make debugging a little easier. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5659 (union fail_stack_elt): Make the integer unsigned. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5660 (struct fail_stack_type): Add a `frame' element. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5661 (INIT_FAIL_STACK): Init `frame' as well. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5662 (POP_PATTERN_OP): New macro for re_compile_fastmap. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5663 (DEBUG_PUSH, DEBUG_POP): Remove. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5664 (NUM_REG_ITEMS): Remove. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5665 (NUM_NONREG_ITEMS): Adjust. |
28073 | 5666 (FAILURE_PAT, FAILURE_STR, NEXT_FAILURE_HANDLE) |
5667 (TOP_FAILURE_HANDLE): New macros for the cycle detection. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5668 (ENSURE_FAIL_STACK): New macro for PUSH_FAILURE_(REG|POINT). |
28073 | 5669 (PUSH_FAILURE_REG, POP_FAILURE_REG, CHECK_INFINITE_LOOP): New |
5670 macros. | |
5671 (PUSH_FAILURE_POINT): Don't push registers any more. The pattern | |
5672 address pushed is not the destination of the jump but the source | |
5673 of it instead. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5674 (NUM_FAILURE_ITEMS): Remove. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5675 (POP_FAILURE_POINT): Adapt to the new stack structure (i.e. pop |
28073 | 5676 registers before the actual failure point). Don't hardcode any |
5677 meaning for str==NULL anymore. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5678 (union register_info_type, REG_MATCH_NULL_STRING_P, IS_ACTIVE) |
28073 | 5679 (MATCHED_SOMETHING, EVER_MATCHED_SOMETHING, SET_REGS_MATCHED): |
5680 Remove. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5681 (REG_UNSET_VALUE): Use NULL (why not?). |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5682 (compile_range): Remove declaration since it doesn't exist. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5683 (struct compile_stack_elt_t): Remove inner_group_offset. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5684 (old_reg(start|end), reg_info, reg_dummy, reg_info_dummy): Remove. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5685 (regex_grow_registers): Remove dead code. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5686 (FIXUP_ALT_JUMP): New macro. |
28073 | 5687 (regex_compile): Add shy-groups Change loops to use |
5688 on_failure_jump_smart&jump instead of | |
5689 on_failure_jump&maybe_pop_jump. Change + loops to eliminate the | |
5690 initial (dummy_failure_)jump. Remove c1_base (looks like unused | |
5691 variable to me). Use `jump' instead of `jump_past_alt' and don't | |
5692 bother with push_dummy_failure in alternatives since it is now | |
5693 unnecessary. Use FIXUP_ALT_JUMP. Eliminate a useless `#ifdef | |
5694 emacs' for (re)allocating the stack. | |
5695 (re_compile_fastmap): Remove dead variables i and num_regs. Exit | |
5696 from loop when bufp->can_be_null rather than jumping to `done'. | |
5697 Avoid jumping backwards so as to ensure termination. Use | |
5698 PATTERN_STACK_EMPTY and POP_PATTERN_OP. Improved handling of | |
5699 backreferences. Remove dead code in handling of `anychar'. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5700 (skip_noops, mutually_exclusive_p): New functions taken from the |
28073 | 5701 handling of `maybe_pop_jump' in re_match_2_internal. Slightly |
5702 improve mutually_exclusive_p to handle ".+\n". | |
5703 (lowest_active_reg, highest_active_reg, | |
5704 NO_(LOWEST|HIGHEST)_ACTIVE_REG) Remove. | |
5705 (re_match_2_internal): Use %p instead of 0x%x when printf'ing | |
5706 ptrs. Don't SET_REGS_MATCHED anymore. Remove many dead | |
5707 variables. Push register (in `start_memory') on the stack rather | |
5708 than storing it in old_reg(start|end). Remove the cycle detection | |
5709 from `stop_memory', replaced by the use of on_failure_jump_loop | |
5710 for greedy loops. Add code for the new on_failure_jump_<foo>. | |
5711 Remove ad-hoc code in `on_failure_jump' to push more registers in | |
5712 the case of a loop. Take out code from `maybe_pop_jump' into | |
5713 separate functions and adapt it to the semantics of | |
5714 `on_failure_jump_smart'. Remove jump_past_alt, dummy_failure_jump | |
5715 and push_dummy_failure. Remove dummy_failure handling and | |
5716 handling of `failures to jump to on_failure_jump' (this last one | |
5717 was already dead code, it seems). | |
5718 (group_match_null_string_p, alt_match_null_string_p) | |
5719 (common_op_match_null_string_p): Remove. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5720 |
28059 | 5721 2000-03-08 Dave Love <fx@gnu.org> |
5722 | |
28060 | 5723 * config.in: Don't depend on __STDC__ for volatile. |
5724 Add POINTER_TYPE, PTR, PROTOTYPES. | |
5725 | |
28059 | 5726 * hftctl.c, strftime.c: Use PROTOTYPES. |
5727 * eval.c (find_handler_clause): Likewise. | |
5728 | |
5729 * mem-limits.h: Use POINTER_TYPE. | |
5730 | |
5731 * lisp.h (P_): Define based on PROTOTYPES, not __STDC__. | |
5732 (memory_warnings): Declare using POINTER_TYPE. | |
5733 | |
28046 | 5734 2000-03-08 Gerd Moellmann <gerd@gnu.org> |
5735 | |
28051 | 5736 * xfns.c (x_set_cursor_type): If ARG is nil, give frame no cursor. |
5737 | |
28048 | 5738 * xdisp.c (display_echo_area): Temporarily inhibit garbage |
5739 collection. | |
5740 | |
28046 | 5741 * xfns.c: Remove obsolete code in #if 0. |
5742 (Fx_focus_frame): New function. | |
5743 | |
28137 | 5744 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp> |
5745 | |
5746 * coding.c (coding_category_name): Add coding-category-utf-8, | |
5747 coding-category-utf-16-be, coding-category-utf-16-le. | |
5748 (UTF_8_1_OCTET_P, UTF_8_EXTRA_OCTET_P, UTF_8_2_OCTET_LEADING_P, | |
5749 UTF_8_3_OCTET_LEADING_P, UTF_8_4_OCTET_LEADING_P, | |
5750 UTF_8_5_OCTET_LEADING_P, UTF_8_6_OCTET_LEADING_P): New macros. | |
5751 (detect_coding_utf_8): New function. | |
5752 (UTF_16_INVALID_P, UTF_16_HIGH_SURROGATE_P | |
5753 UTF_16_LOW_SURROGATE_P): New macros. | |
5754 (detect_coding_utf_16): New function | |
5755 (detect_coding_mask): When priorities are specified, skip any | |
5756 categories that have `nil' coding-system. Fix bug of returning | |
5757 wrong mask when PRIORITIES is specified and detect_coding_XXX() | |
5758 returns a mask not set in PRIORITIES. | |
5759 (detect_eol_type_in_2_octet_form): New function. | |
5760 (detect_eol): selects detect_eol_type_XXX to call according to | |
5761 cooding->category_idx. | |
5762 (detect_coding_system): Remove `nil' coding-system in the result. | |
5763 (Fupdate_coding_systems_internal): Update all coding-categories. | |
5764 | |
5765 * coding.h (CODING_CATEGORY_IDX_UTF_8, | |
5766 CODING_CATEGORY_IDX_UTF_16_BE, CODING_CATEGORY_IDX_UTF_16_LE): New | |
5767 macros. | |
5768 (CODING_CATEGORY_IDX_RAW_TEXT, CODING_CATEGORY_IDX_BINARY, | |
5769 CODING_CATEGORY_IDX_MAX): Adjusted for the above macros. | |
5770 CODING_CATEGORY_IDX_UTF_16_LE. | |
5771 (CODING_CATEGORY_MASK_UTF_8, CODING_CATEGORY_MASK_UTF_16_BE, | |
5772 CODING_CATEGORY_MASK_UTF_16_LE): New macros. | |
5773 (CODING_CATEGORY_MASK_ANY): Include the above macros. | |
5774 (CODING_CATEGORY_MASK_UTF_16_BE_LE): New macro. | |
5775 | |
28026 | 5776 2000-03-07 Gerd Moellmann <gerd@gnu.org> |
5777 | |
28037 | 5778 * doc.c (Fdocumentation_property): If value is not a string, |
5779 and doesn't refer to etc/DOC, evaluate it to obtain a string. | |
5780 | |
28035 | 5781 * xterm.c (x_connection_closed) [USE_X_TOOLKIT]: Don't try to |
5782 close the display with XtCloseDisplay. This caused a bus error | |
5783 on OpenWindows. | |
5784 | |
28027 | 5785 * minibuf.c (Fminibuffer_complete): Move point to ZV when input is |
5786 complete but not unique. | |
28026 | 5787 |
28011 | 5788 2000-03-06 Gerd Moellmann <gerd@gnu.org> |
5789 | |
28014 | 5790 * process.c (send_process): Remove local variable `procname' that |
5791 might become invalid when a GC happens. Instead, access the | |
5792 process name slot directly. | |
5793 | |
28011 | 5794 * xfns.c (x_set_menu_bar_lines_1): Adjust window's orig_top and |
5795 orig_height if set. | |
5796 | |
5797 * frame.c (set_menu_bar_lines_1): Adjust window's orig_top and | |
5798 orig_height if set. | |
5799 | |
28009 | 5800 2000-03-06 Eli Zaretskii <eliz@is.elta.co.il> |
5801 | |
5802 * msdos.c (IT_note_mouse_highlight): Return immediately if frame's | |
5803 glyph matrices have been freed. | |
5804 | |
27995 | 5805 2000-03-05 Gerd Moellmann <gerd@gnu.org> |
5806 | |
28005 | 5807 * Makefile.in (tags): Include ../lwlib/TAGS in TAGS. |
28007 | 5808 (bootstrap-temacs): Set LC_ALL to C like for temacs. |
28005 | 5809 |
5810 * xfns.c (QCdata): Moved to xdisp.c. | |
5811 | |
5812 * xdisp.c (QCdata): Moved here from xfns.c. | |
5813 (syms_of_xdisp): Initialize QCdata. | |
5814 | |
5815 * frame.h (FRAME_INTERNAL_BORDER_WIDTH) [!HAVE_X_WINDOWS]: Define. | |
5816 | |
5817 * window.c (coordinates_in_window): Use | |
5818 FRAME_INTERNAL_BORDER_WIDTH_SAFE instead of | |
5819 FRAME_INTERNAL_BORDER_WIDTH. | |
5820 | |
27995 | 5821 * xdisp.c (try_window_id): Recompute unchanged information if |
28011 | 5822 it is obviously invalid. |
27995 | 5823 |
5824 * xterm.c (x_term_init): Create a colormap if not using the | |
5825 default visual. | |
5826 | |
5827 * xterm.h (select_visual): Change prototype. | |
5828 | |
5829 * xfns.c (select_visual): Rewritten. Recognize user-specified | |
5830 visual classes. | |
5831 (visual_classes): New variable. | |
5832 | |
27989 | 5833 2000-03-04 Gerd Moellmann <gerd@gnu.org> |
5834 | |
5835 * xfns.c (x_defined_color, x_set_mouse_color, lookup_rgb_color) | |
5836 (lookup_pixel_color, x_laplace, x_build_heuristic_mask) | |
5837 (png_load): Access colormap of frame using FRAME_X_COLORMAP. | |
5838 (x_decode_color): Don't handle allocation of white and black | |
5839 specially. | |
5840 (x_window) [USE_X_TOOLKIT]: Set XtNvisual, XtNdepth, and | |
5841 XtNcolormap resources. | |
5842 (x_window) [!USE_X_TOOLKIT]: Pass colormap to XCreateWindow. | |
5843 (Fx_create_frame): Initialize color members of x_output structure. | |
5844 (xpm_load): Pass colormap to XPM lib. | |
5845 | |
5846 * xfaces.c (x_free_colors): Access colormap of frame using | |
5847 FRAME_X_COLORMAP. Be paranoid about freeing black and white | |
5848 when default colormap is used. | |
5849 | |
5850 * xterm.c (x_term_init): Set Colormap member of x_display_info | |
5851 structure. Copy colormap if resource `privateColormap' is | |
5852 specified (PseudoColor only). | |
5853 (x_setup_relief_color): Access colormap of frame using | |
5854 FRAME_X_COLORMAP. | |
5855 | |
5856 * xterm.h (struct x_display_info): Add Colormap member `cmap'. | |
5857 (FRAME_X_COLORMAP, FRAME_X_VISUAL): New macros. | |
5858 | |
27983 | 5859 2000-03-04 Jason Rumney <jasonr@gnu.org> |
5860 | |
5861 * xfaces.c Change many FRAME_X... macros to FRAME_WINDOW... or | |
5862 other non-platform-specific equivalents. | |
27989 | 5863 [WINDOWSNT]: Include w32term.h, fontset.h and define X |
27983 | 5864 specific functions and macros as their w32 equivalents where |
5865 non-platform-specifics are not available. | |
5866 [HAVE_X_WINDOWS]: Change most of these to HAVE_WINDOW_SYSTEM. | |
5867 (x_create_gc, x_free_gc) [WINDOWSNT]: Add W32 versions. | |
5868 (clear_font_table) [WINDOWSNT]: Call w32_unload_font. | |
5869 (frame_update_line_height): Use macros to access f->output_data. | |
5870 (defined_color): Remove FIXME comments; fixed. | |
5871 (x_face_list_fonts, prepare_face_for_display): Put X specifics | |
5872 into #ifdef blocks. Add WINDOWSNT blocks. | |
5873 (Fx_list_fonts): Use macros for accessing font data. | |
5874 (set_lface_from_font_name): Different default fonts for X and | |
5875 WINDOWSNT. | |
5876 (font_scalable_p) [WINDOWSNT]: Treat wildcard XLFD_AVGWIDTH as | |
5877 scalable for backward compatibility. | |
27989 | 5878 (realize_tty_face) [MSDOS]: Do the same for WINDOWSNT. |
27983 | 5879 (syms_of_xfaces) [WINDOWSNT]: Allow scalable fonts by default. |
5880 | |
27989 | 5881 * emacs.c (main) [HAVE_NTGUI]: Call syms_of_xfaces instead of |
27983 | 5882 syms_of_w32faces. |
5883 | |
5884 * makefile.nt (w32faces.obj): Remove. | |
5885 (xfaces.obj): Add. | |
5886 | |
27978 | 5887 2000-03-03 Jason Rumney <jasonr@gnu.org> |
5888 | |
5889 * keyboard.c (make_lispy_event): Call buffer_posn_from_coords with | |
5890 correct parameters. | |
5891 | |
27977
026eb782382e
* unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
Ken Raeburn <raeburn@raeburn.org>
parents:
27976
diff
changeset
|
5892 2000-03-03 Ken Raeburn <raeburn@gnu.org> |
026eb782382e
* unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
Ken Raeburn <raeburn@raeburn.org>
parents:
27976
diff
changeset
|
5893 |
026eb782382e
* unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
Ken Raeburn <raeburn@raeburn.org>
parents:
27976
diff
changeset
|
5894 * unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide |
026eb782382e
* unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
Ken Raeburn <raeburn@raeburn.org>
parents:
27976
diff
changeset
|
5895 standard ELF definitions here if the system header does not. |
026eb782382e
* unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
Ken Raeburn <raeburn@raeburn.org>
parents:
27976
diff
changeset
|
5896 |
27976 | 5897 2000-03-03 Gerd Moellmann <gerd@gnu.org> |
5898 | |
5899 * xterm.c (PER_CHAR_METRIC): Removed. | |
5900 (x_per_char_metric_1, x_default_char): New functions. | |
5901 (x_per_char_metric): If font's default char is invalid, return | |
5902 metrics of a suitably chosen usable default char. | |
5903 (x_draw_glyph_string_foreground): If font has an invalid default | |
27989 | 5904 char, replace occurrences of unprintable chars with a suitably |
5905 chosen usable default char. | |
27976 | 5906 |
27965 | 5907 2000-03-02 Gerd Moellmann <gerd@gnu.org> |
5908 | |
27969 | 5909 * xterm.c (note_mouse_highlight): Return quickly if frame's |
5910 glyph matrices have been freed. | |
5911 | |
5912 * dispnew.c (free_glyphs): Block input while freeing matrices. | |
5913 | |
27965 | 5914 * xfns.c (x_clear_image, x_kill_gs_process): Use x_free_colors. |
5915 | |
5916 * xterm.c (x_alloc_lighter_color, x_setup_relief_color): Use | |
5917 x_free_colors. | |
5918 | |
5919 * dispextern.h (x_free_colors): Add prototype. | |
5920 | |
5921 * xfaces.c (x_free_colors): New function. | |
5922 (unload_color, free_face_colors): Use it. | |
5923 | |
27958 | 5924 2000-03-02 Eli Zaretskii <eliz@is.elta.co.il> |
5925 | |
5926 * msdos.h (FRAME_INTERNAL_BORDER_WIDTH): Define to zero. | |
5927 | |
5928 * window.c [MSDOS]: Include msdos.h. | |
5929 | |
27954 | 5930 2000-03-02 Dave Love <fx@gnu.org> |
5931 | |
5932 * m/powerpcle.h, m/sparc.h: Don't set C_OPTIMIZE_SWITCH. | |
5933 | |
5934 * m/mips-siemens.h, m/news-r6.h, m/news-risc.h, m/tekxd88.h: Don't | |
5935 set C_OPTIMIZE_SWITCH for gcc. | |
5936 | |
27942 | 5937 2000-03-02 Kenichi Handa <handa@etl.go.jp> |
5938 | |
5939 * coding.c (coding_save_composition): Be sure to allocate | |
5940 composition data area in coding even if there's no composition in | |
5941 the current run. | |
5942 | |
27938 | 5943 2000-03-01 Jason Rumney <jasonr@gnu.org> |
5944 | |
5945 * w32term.c: Equivalent changes to those made to xterm.c on | |
5946 2000-02-25 and 2000-02-24. | |
5947 | |
5948 * w32fns.c: Equivalent changes to those made to xfns.c on | |
5949 2000-02-25 and 2000-02-21. | |
5950 | |
5951 * sysdep.c: [WINDOWSNT]: Use sys_read and sys_write to ensure | |
5952 correct line-end convention is followed. | |
5953 | |
5954 * w32menu.c [HAVE_BOXES]: Remove #undef. | |
5955 (single_keymap_panes): Remove code for simulating checkmarks. | |
5956 (single_menu_item): Remove notbuttons_ptr argument. Callers changed. | |
5957 Remove code for drawing simulated checkmarks. | |
5958 (w32_menu_show): make unibyte help string correctly. | |
5959 (add_menu_item): draw standard Windows checkmarks. Draw radio | |
5960 buttons as radio buttons if possible. | |
5961 | |
27919 | 5962 2000-03-01 Gerd Moellmann <gerd@gnu.org> |
5963 | |
27927 | 5964 * sysdep.c (start_of_text): Don't define this function for NetBSD |
5965 with ELF. | |
5966 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5967 * m/pmax.h (START_FILES, CANNOT_DUMP) [__NetBSD__ || __OpenBSD__]: |
27927 | 5968 Don't define. |
5969 (UNEXEC) [__NetBSD__ || __OpenBSD__]: Define to unexelf.o. | |
5970 (LINKER): Don't undef if __NetBSD__ is defined. | |
5971 | |
5972 * m/mips.h (LINKER) [__NetBSD__ || __OpenBSD__]: Don't define. | |
5973 | |
5974 * fileio.c [__NetBSD__]: Define `unix'. | |
5975 | |
27919 | 5976 * xfns.c (start_busy_cursor): Allow floats for busy-cursor-delay. |
5977 | |
27910 | 5978 2000-02-29 Gerd Moellmann <gerd@gnu.org> |
5979 | |
27914 | 5980 * atimer.c (start_atimer): Don't abort when timers are stopped. |
5981 (append_atimer_lists): New function. | |
5982 (cancel_atimer, stop_other_atimers, run_all_atimers): Handle | |
5983 arbitrary lists of stopped and running atimers. | |
5984 | |
27910 | 5985 * atimer.c (cancel_atimer): Handle canceling an atimer when |
5986 some timers are stopped. | |
5987 | |
5988 * xfns.c (cancel_busy_cursor): Set busy_cursor_atimer to null | |
5989 after canceling it. | |
5990 | |
5991 * fns.c (maybe_resize_hash_table): Handle case of new size | |
5992 coming out as being the same as old size. | |
5993 | |
27898 | 5994 2000-02-27 Jason Rumney <jasonr@gnu.org> |
5995 | |
5996 * makefile.nt: Add atimer.h to dependencies. | |
5997 * w32.c (init_environment): Set Vw32_num_mouse_buttons here. | |
5998 * w32console.c: Only disable window system features for dispextern.h | |
5999 (initialize_w32_display): Build a display info for the console. | |
6000 * w32faces.c (tty_defined_color): Apply xfaces.c change from 02-17. | |
6001 * w32fns.c (w32_wnd_proc) [WM_LBUTTON_DOWN, WM_RBUTTON_DOWN, | |
6002 WM_LBUTTON_UP, WM_RBUTTON_UP]: Do not treat 4 or more button mice | |
6003 as 2 button mice. | |
6004 * w32gui.h (struct W32FontStruct): Revert last change after change | |
6005 to xdisp.c. | |
6006 * w32menu.c (single_submenu): Set up help string. | |
6007 [!HAVE_MULTILINGUAL_MENU]: Don't overwrite item_name with descrip. | |
6008 (w32_dialog_show): Set up help string. | |
6009 * w32term.c (w32_display_info_for_display): Remove unused function. | |
6010 (w32_draw_bitmap): Use pre-built bitmaps. | |
6011 (w32_initialize_display_info): New function to initialize parts of | |
6012 display info that are common to both GUI and console frames. | |
6013 (w32_term_init): Use w32_initialize_display_info. Do not set | |
6014 Vw32_num_mouse_buttons here, as it is not called for console | |
6015 frames. Build bitmaps for indicating truncated lines etc. | |
6016 (x_delete_display): Destroy pre-built bitmaps. | |
6017 * xdisp.c (handle_single_display_prop): Use FONT_HEIGHT macro. | |
6018 (echo_area_display): Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM. | |
6019 | |
27886 | 6020 2000-02-27 Dave Love <fx@gnu.org> |
6021 | |
6022 * lisp.h: Add a bunch of prototypes. | |
6023 | |
27878 | 6024 2000-02-26 Kenichi Handa <handa@etl.go.jp> |
6025 | |
27879 | 6026 * keyboard.c (read_char): Set `usec' correctly. |
27878 | 6027 |
27876 | 6028 2000-02-25 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp> |
6029 | |
6030 * ccl.c (ccl_driver) [CCL_MapMultiple]: When the mapped value is | |
6031 `lambda', set reg[RRR] to the map index. | |
6032 (ccl_driver) [CCL_MapSingle]: When the mapped value is found, set | |
6033 reg[RRR] to 0. Otherwise, set it to -1. | |
6034 | |
27875 | 6035 2000-02-25 Gerd Moellmann <gerd@gnu.org> |
6036 | |
27927 | 6037 * emacs.c (main): Remove code snippet commented out with `//'. |
27875 | 6038 |
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
6039 2000-02-25 Richard M. Stallman <rms@gnu.org> |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6040 |
27873 | 6041 * fileio.c (Ffile_symlink_p): If result starts with a `/' |
6042 and contains a `:', prepend `/:'. | |
6043 | |
6044 * window.c (select_window_1): If selected_window is nil, | |
6045 don't "swap out" the buffer's point. | |
6046 (Fset_window_configuration): Set selected_window to nil | |
6047 before calling Fselect_window. | |
6048 (unshow_buffer): Don't set point in buffer from window's point | |
6049 if another more recently selected window also shows the buffer. | |
6050 | |
27849 | 6051 2000-02-25 Gerd Moellmann <gerd@gnu.org> |
6052 | |
27868 | 6053 * keyboard.c (recursive_edit_1): Cancel busy-cursor. |
6054 | |
27866 | 6055 * xfns.c (inhibit_busy_cursor, busy_count): Removed. |
6056 (Fx_show_busy_cursor, Fx_hide_busy_cursor): Removed. | |
6057 (busy_cursor_atimer, busy_cursor_shown_p, Vbusy_cursor_delay): New | |
6058 variables. | |
6059 (DEFAULT_BUSY_CURSOR_DELAY): New define. | |
6060 (start_busy_cursor, cancel_busy_cursor, show_busy_cursor) | |
6061 (hide_busy_cursor): New functions. | |
6062 (syms_of_xfns): DEFVAR_LISP Vbusy_cursor_delay. | |
6063 | |
6064 * minibuf.c (read_minibuf): Cancel busy-cursor. | |
6065 | |
6066 * keyboard.c (command_loop_1): Call start_busy_cursor before | |
6067 Fcommand_execute and cancel_busy_cursor after it. | |
6068 (timer_check): Remove busy-cursor code. | |
6069 (Fread_key_sequence, Fread_key_sequence_vector): Start/cancel busy | |
6070 cursor timer. | |
6071 | |
6072 * process.c (wait_reading_process_input): Remove busy-cursor code. | |
6073 | |
6074 * eval.c (Fsignal): Call cancel_busy_cursor instead of | |
6075 Fx_hide_busy_cursor. | |
6076 | |
6077 * dispextern.h (Fx_show_busy_cursor, Fx_hide_busy_cursor): | |
6078 Remove prototyoes. | |
6079 (start_busy_cursor, cancel_busy_cursor): Add prototypes. | |
6080 | |
6081 * lisp.h (Fx_hide_busy_cursor): Remove prototype. | |
6082 | |
6083 * xterm.c (XTread_socket): Remove busy-cursor code. | |
6084 | |
27856 | 6085 * dispnew.c (flush_stdout) [GLYPH_DEBUG]: New function. |
6086 (build_frame_matrix_from_leaf_window): Put code handling | |
6087 glyph row's not being a slice of a frame row in #if 0. | |
6088 (sync_window_with_frame_matrix_rows): New function. | |
6089 (frame_row_to_window): New function. | |
6090 (mirror_line_dance): Handle copies between windows. | |
6091 | |
27853 | 6092 * lread.c (Fload): Use `xfree' instead of `free'. |
6093 (init_obarray): Use `xmalloc' instead of `malloc'. | |
6094 | |
27849 | 6095 * window.c (Fset_window_buffer): Set WINDOW to the window |
6096 after decoding. | |
27851 | 6097 (coordinates_in_window): Take frame's internal border width |
6098 into account. | |
27849 | 6099 |
27847 | 6100 2000-02-24 Gerd Moellmann <gerd@gnu.org> |
6101 | |
6102 * xterm.c (x_display_and_set_cursor): Display cursor of | |
6103 non-selected windows depending on the setting of | |
6104 cursor_in_non_selected_windows. | |
6105 | |
6106 * xdisp.c (cursor_in_non_selected_windows): New variable. | |
6107 (syms_of_xdisp): DEFVAR_BOOL it. | |
6108 | |
27820 | 6109 2000-02-23 Gerd Moellmann <gerd@gnu.org> |
6110 | |
27827 | 6111 * data.c (Fstring_to_number): If number is greater than what |
6112 fits into an integer, return a float. | |
6113 | |
27820 | 6114 * eval.c (specbind): Remove references to |
6115 keyword_symbols_constant_flag. | |
6116 | |
6117 * data.c (keyword_symbols_constant_flag): Removed. | |
6118 (Fmakunbound, set_internal, syms_of_data): Remove references to | |
6119 keyword_symbols_constant_flag. | |
6120 | |
6121 * bytecode.c (Fbyte_code): Remove keyword_symbols_constant_flag. | |
6122 | |
27813 | 6123 2000-02-23 Kenichi Handa <handa@etl.go.jp> |
6124 | |
6125 * syntax.c (multibyte_syntax_as_symbol): New variable. | |
6126 (syms_of_syntax): Declare it as a Lisp variable. | |
6127 (SYNTAX_WITH_MULTIBYTE_CHECK): New macro. | |
6128 (scan_lists): If both sexpflag and multibyte_syntax_as_symbol are | |
6129 nonzero, treat all multibyte characters as symbol. | |
27847 | 6130 (init_syntax_once): Give syntax `word' to all multibyte |
27813 | 6131 characters. |
6132 | |
27801 | 6133 2000-02-22 Eli Zaretskii <eliz@is.elta.co.il> |
6134 | |
27853 | 6135 * frame.c (Fdelete_frame): Don't let echo_area_window remain on |
30196
52c1b7a2e7a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30183
diff
changeset
|
6136 a deleted frame. |
27801 | 6137 |
27799 | 6138 2000-02-21 Gerd Moellmann <gerd@gnu.org> |
6139 | |
6140 * frame.c (Fmouse_position): GCPRO retval instead of x and y. | |
6141 | |
6142 * xfns.c (x_window_to_frame, x_any_window_to_frame) | |
6143 (x_non_menubar_window_to_frame): Check the busy-cursor window. | |
6144 | |
27796 | 6145 2000-02-21 Dave Love <fx@gnu.org> |
6146 | |
6147 * frame.c (Vmouse_position_function): New variable. | |
6148 (Fmouse_position): Use it. | |
6149 (syms_of_frame): Install it. | |
6150 | |
6151 * charset.c (find_charset_in_str): Fix use of `c' instead of `c1'. | |
6152 | |
27790 | 6153 2000-02-20 Gerd Moellmann <gerd@gnu.org> |
6154 | |
6155 * fileio.c (Finsert_file_contents): Unbind the binding of | |
6156 standard-output done by temp_output_buffer_setup. | |
27785 | 6157 |
6158 * eval.c (funcall_lambda): Don't bind Qmocklisp_arguments unless | |
6159 Vmocklisp_arguments is nil. Inline Fcar and Fcdr. | |
6160 (specbind, unbind_to): Handle most common case of non-constant | |
6161 symbol with trivial value specially. | |
6162 | |
6163 * bytecode.c (Fbyte_code) <Bvarset>: Inline most common case. | |
6164 | |
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
6165 2000-02-20 Richard M. Stallman <rms@gnu.org> |
27780
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6166 |
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6167 * data.c (Fmake_variable_buffer_local): Doc fix. |
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6168 Init found_for_buffer to 0. |
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6169 (Fmake_variable_frame_local): If the variable has already |
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6170 been buffer-local, set the check_frame field. |
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6171 |
27776 | 6172 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il> |
6173 | |
6174 * msdos.c (IT_write_glyphs): Allocate a larger screen_buf as data | |
6175 produced for CODING_MODE_LAST_BLOCK requires. | |
6176 | |
27767 | 6177 2000-02-18 Dave Love <fx@gnu.org> |
6178 | |
6179 * keyboard.c (echo_keystrokes): Remove declaration. | |
6180 (Vecho_keystrokes) New variable. | |
6181 (read_char, record_menu_key, read_key_sequence): Use it to allow | |
6182 use of float value. | |
6183 (syms_of_keyboard): Change Vecho_keystrokes declaration. | |
6184 | |
6185 * lread.c: Undef feature selection macros before defining. | |
6186 | |
27759 | 6187 2000-02-18 Gerd Moellmann <gerd@gnu.org> |
6188 | |
6189 * data.c (let_shadows_buffer_binding_p): Ignore specbindings | |
6190 for symbols other than the symbol in question. | |
6191 | |
27751 | 6192 2000-02-17 Dave Love <fx@gnu.org> |
6193 | |
6194 * s/sol2.h (C_DEBUG_SWITCH): Define to allow optimization. | |
6195 | |
27747 | 6196 2000-02-17 Gerd Moellmann <gerd@gnu.org> |
6197 | |
27749 | 6198 * emacs.c (main): Use #if GC_MARK_STACK instead of #ifdef. |
6199 | |
27747 | 6200 * alloc.c (enum mem_type): Compile unconditionally. |
6201 | |
27744 | 6202 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il> |
6203 | |
6204 * xfaces.c (tty_defined_color): Don't return faulire indication | |
6205 for unspecified-fg and unspecified-bg pseudo-colors. | |
6206 | |
27726 | 6207 2000-02-17 Gerd Moellmann <gerd@gnu.org> |
6208 | |
27742 | 6209 * alloc.c (mark_object): Don't mark symbol names in pure space. |
6210 (gc_sweep): Don't unmark symbol names in pure space. | |
6211 | |
6212 * lisp.h (GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS) | |
6213 (GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES) | |
6214 [GC_MARK_STACK]: New defines. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6215 (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, UNGCPRO) |
27742 | 6216 [GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS]: Define as no-ops. |
6217 | |
6218 * emacs.c (main) [GC_MARK_STACK]: Initialize stack_base. | |
6219 | |
6220 * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Use | |
6221 allocate_buffer instead of xmalloc. | |
6222 | |
6223 * alloc.c (toplevel): Include setjmp.h. | |
6224 (PURE_POINTER_P): New define. | |
6225 (enum mem_type) [GC_MARK_STACK]: New enumeration. | |
6226 (Vdead) [GC_MARK_STACK]: New variable. | |
6227 (lisp_malloc): Add parameter TYPE, call mem_insert if | |
6228 GC_MARK_STACK is defined. | |
6229 (allocate_buffer): New function. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6230 (lisp_free) [GC_MARK_STACK]: Call mem_delete. |
27742 | 6231 (free_float) [GC_MARK_STACK]: Set type to Vdead. |
6232 (free_cons) [GC_MARK_STACK]: Set car to Vdead. | |
6233 (stack_base, mem_root, mem_z) [GC_MARK_STACK]: New variables. | |
6234 (MEM_NIL) [GC_MARK_STACK]: New define. | |
6235 (struct mem_node) [GC_MARK_STACK]: New structure. | |
6236 (mem_init, mem_find, mem_insert, mem_delete, mem_insert_fixup) | |
6237 (mem_delete_fixup, mem_rotate_left, mem_rotate_right) | |
6238 (live_string_p, live_cons_p, live_symbol_p, live_float_p) | |
6239 (live_misc_p, live_vector_p, live_buffer_p, mark_memory) | |
6240 (mark_stack) [GC_MARK_STACK]: New functions. | |
6241 (Fgarbage_collect) [GC_MARK_STACK]: Call mark_stack. | |
6242 (clear_marks): Removed. | |
6243 (gc_sweep): Set free conses' car, free floats' type, free | |
6244 symbols' function to Vdead. Use lisp_free to free buffers. | |
6245 (init_alloc_once): Initialize Vdead. | |
6246 (survives_gc_p): Return non-zero for pure objects. | |
6247 | |
6248 * alloc.c: Add comments throughout the file. | |
6249 | |
27735 | 6250 * atimer.c (stop_other_atimers): Don't call cancel_atimer because |
6251 that unblocks alarms. | |
6252 | |
27729 | 6253 * alloc.c, bytecode.c, data.c, dispnew.c, ecrt0.c, editfns.c, |
6254 emacs.c, floatfns.c, fns.c, lread.c, print.c, config.in, lisp.h, | |
6255 Makefile.in: Remove `LISP_FLOAT_TYPE' and `standalone'. | |
6256 | |
27726 | 6257 * frame.c (make_frame): Set frame initiallly to `garbaged'. |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6258 |
27720 | 6259 2000-02-17 Kenichi Handa <handa@etl.go.jp> |
6260 | |
27722 | 6261 * xdisp.c (decode_mode_spec_coding): Delete superfluous code to |
27723 | 6262 avoid infinite error signaling. Allocate sufficient memory for |
27722 | 6263 eol_str in the case that eoltype is Lisp_Int. |
27720 | 6264 |
27719
73926d5a4d9f
(Fforward_comment): Undo the previous change, since cc-mode
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27710
diff
changeset
|
6265 2000-02-17 Stefan Monnier <monnier@cs.yale.edu> |
73926d5a4d9f
(Fforward_comment): Undo the previous change, since cc-mode
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27710
diff
changeset
|
6266 |
73926d5a4d9f
(Fforward_comment): Undo the previous change, since cc-mode
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27710
diff
changeset
|
6267 * syntax.c (Fforward_comment): Undo the previous change, since cc-mode |
73926d5a4d9f
(Fforward_comment): Undo the previous change, since cc-mode
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27710
diff
changeset
|
6268 depends on the previous behavior. |
73926d5a4d9f
(Fforward_comment): Undo the previous change, since cc-mode
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27710
diff
changeset
|
6269 |
27710 | 6270 2000-02-16 Gerd Moellmann <gerd@gnu.org> |
6271 | |
6272 * sysdep.c (vfork) [!HAVE_VFORK]: Removed. | |
6273 | |
27707 | 6274 2000-02-15 Gerd Moellmann <gerd@gnu.org> |
6275 | |
6276 * s/freebsd.h (BROKEN_PTY_READ_AFTER_EAGAIN): Define. | |
6277 | |
6278 * process.c (send_process) [BROKEN_PTY_READ_AFTER_EAGAIN]: | |
27710 | 6279 Workaround for FreeBSD bug. Clear output queue after EAGAIN in |
27707 | 6280 write(2). |
6281 | |
27702
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6282 2000-02-15 Richard M. Stallman <rms@gnu.org> |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6283 |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6284 * data.c (set_internal): Don't make variable buffer-local |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6285 if within a let-binding for the same buffer. |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6286 (let_shadows_buffer_binding_p): New function. |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6287 |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6288 * eval.c (specbind): For buffer-local value, |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6289 record the current buffer also. |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6290 (unbind_to): Cope with that change. |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6291 |
27700 | 6292 2000-02-15 Gerd Moellmann <gerd@gnu.org> |
6293 | |
6294 * window.c (Fsave_window_excursion): Doc fix. | |
6295 | |
27698
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6296 2000-02-15 Stefan Monnier <monnier@cs.yale.edu> |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6297 |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6298 * syntax.c (back_comment): Make sure we only consider comment-starters |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6299 of the relevant style and return -1 in case of a failure to find the |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6300 beginning of the comment. |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6301 (Fforward_comment): If back_comment fails, go back to the position just |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6302 after the comment-end. |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6303 (scan_lists): Add comment describing a very minor bug. |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6304 |
27697
409a708c27b3
(Ftry_completion, Fall_completions): Add a reference to
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27696
diff
changeset
|
6305 2000-02-14 Stefan Monnier <monnier@cs.yale.edu> |
409a708c27b3
(Ftry_completion, Fall_completions): Add a reference to
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27696
diff
changeset
|
6306 |
409a708c27b3
(Ftry_completion, Fall_completions): Add a reference to
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27696
diff
changeset
|
6307 * minibuf.c (Ftry_completion, Fall_completions): Add a reference to |
409a708c27b3
(Ftry_completion, Fall_completions): Add a reference to
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27696
diff
changeset
|
6308 `completion-regexp-list' in the docstring. |
409a708c27b3
(Ftry_completion, Fall_completions): Add a reference to
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27696
diff
changeset
|
6309 |
27696 | 6310 2000-02-14 Dave Love <fx@gnu.org> |
6311 | |
6312 * xfaces.c (tty_defined_color): Declare color_idx unsigned long. | |
6313 | |
27692
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6314 2000-02-14 Stefan Monnier <monnier@cs.yale.edu> |
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6315 |
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6316 * regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS |
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6317 to Emacs' syntax. Also fix the comment about set/not-set meanings |
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6318 since Emacs syntax is not the value 0 any more. |
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6319 * search.c (compile_pattern_1): Remove RE_CHAR_CLASSES from the syntax |
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6320 since it's now part of RE_SYNTAX_EMACS. |
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6321 |
27689 | 6322 2000-02-12 Dave Love <fx@gnu.org> |
6323 | |
6324 * frame.h (SELECTED_FRAME): Use NULL, not 0 to avoid warnings on | |
6325 Alpha. | |
6326 | |
27687 | 6327 2000-02-12 Gerd Moellmann <gerd@gnu.org> |
6328 | |
6329 * xdisp.c (syms_of_xdisp): Doc fix for scroll-conservatively. | |
6330 | |
27680 | 6331 2000-02-12 Dave Love <fx@gnu.org> |
6332 | |
6333 * s/aix3-2.h, s/osf-1.h: Define C_DEBUG_SWITCH for non-gcc. | |
6334 | |
6335 * s/ux4800.h, s/umips.h, s/umax.h, s/sol2.h, s/sco5.h, s/rtu.h: | |
27687 | 6336 * s/ptx4.h, s/umax.h, s/dgux.h, s/bsd4-2.h, s/bsd4-3.h: |
6337 * s/hpux.h: Don't define HAVE_VFORK. | |
27680 | 6338 |
6339 * s/gnu-linux.h: Don't define HAVE_VFORK or HAVE_SYS_SIGLIST. | |
6340 | |
6341 * s/nextstep.h: Don't define HAVE_ALLOCA. | |
6342 | |
6343 * config.in: Add vfork bits. | |
6344 | |
27672 | 6345 2000-02-12 Gerd Moellmann <gerd@gnu.org> |
6346 | |
6347 * process.c (Fopen_network_stream) [POLL_FOR_INPUT]: Register | |
6348 unwind function to undo the effect of stopping atimers. | |
6349 | |
6350 * keyboard.c (bind_polling_period): Stop all timers except | |
6351 poll_timer. | |
6352 | |
6353 * atimer.c (stopped_atimers): New variable. | |
6354 (stop_other_atimers, run_all_atimers, unwind_stop_other_atimers): | |
6355 New functions. | |
6356 | |
6357 * atimer.h (stop_other_atimers, run_all_atimers) | |
6358 (unwind_stop_other_atimers): Add function prototypes. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6359 |
27672 | 6360 * s/hpux10.h (HAVE_XRMSETDATABASE): Define if not already defined. |
6361 | |
27665
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
6362 2000-02-11 Ken Raeburn <raeburn@gnu.org> |
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
6363 |
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
6364 * Makefile.in (LIBX): Link in tiff library before jpeg, since tiff |
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
6365 library may depend on jpeg. |
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
6366 (atimer.o): Depends on atimer.c. |
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
6367 |
27663 | 6368 2000-02-11 Kenichi Handa <handa@etl.go.jp> |
6369 | |
6370 * insdel.c (del_range_1): Call update_compositions. | |
6371 (del_range_both): Call update_compositions just once.. | |
6372 | |
27660 | 6373 2000-02-10 Dave Love <fx@gnu.org> |
6374 | |
6375 * xfns.c (create_frame_xic): Fix initialization of automatic | |
6376 aggregates for pcc. | |
6377 | |
27648 | 6378 2000-02-09 Kenichi Handa <handa@etl.go.jp> |
6379 | |
6380 * ccl.c (CCL_MAKE_CHAR): New macro. | |
6381 (ccl_driver) <CCL_TranslateCharacter>: Check the validity of | |
6382 registers by CCL_MAKE_CHAR before calling translate_char. | |
6383 <CCL_TranslateCharacterConstTbl> Likewise. | |
6384 | |
27646 | 6385 2000-02-08 Dave Love <fx@gnu.org> |
6386 | |
6387 * lread.c (__EXTENSIONS__): Define. | |
6388 | |
27644 | 6389 2000-02-08 Gerd Moellmann <gerd@gnu.org> |
6390 | |
6391 * puresize.h (BASE_PURESIZE): Increase to 650000. | |
6392 | |
27641 | 6393 2000-02-07 Eli Zaretskii <eliz@is.elta.co.il> |
6394 | |
6395 * msdos.c (XMenuActivate): Turn off the cursor after displaying | |
6396 the help message. | |
6397 | |
27639 | 6398 2000-02-07 Eli Zaretskii <eliz@is.elta.co.il> |
6399 | |
6400 * s/msdos.h (INTERNAL_TERMINAL): Add capabilities se, so, us, ue, | |
6401 md, mh, mb, mr, and me to the fake termcap entry. | |
6402 | |
27635
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
6403 2000-02-06 Ken Raeburn <raeburn@gnu.org> |
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
6404 |
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
6405 * sound.c (sound_cleanup): Don't call device close routine if the |
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
6406 function pointer is null. |
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
6407 |
27634
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6408 2000-02-06 Andrew Innes <andrewi@gnu.org> |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6409 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6410 * dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM, |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6411 around image definitions and prototypes. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6412 (gamma_correct) [WINDOWSNT]: New prototype. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6413 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6414 * w32term.c (x_make_frame_visible): Replace call to |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6415 input_poll_signal with poll_for_input. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6416 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6417 * window.c [WINDOWSNT]: Include w32term.h. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6418 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6419 * xdisp.c [WINDOWSNT]: Include w32term.h. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6420 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6421 * makefile.nt: Add dependencies on w32gui.h. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6422 (OBJ1): Include atimer.obj. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6423 ($(BLD)\atimer.obj): New dependency rule. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6424 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6425 * w32.c (sigmask): New function (does nothing). |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6426 (sigunblock): Ditto. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6427 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6428 * frame.c [WINDOWSNT]: Include w32term.h. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6429 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6430 * w32gui.h (struct W32FontStruct): Add ascent and descent slots. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6431 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6432 * lread.c (syms_of_lread): Fix literal newlines. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6433 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6434 * emacs.c (USAGE): Split into USAGE1 and USAGE2, to work-around |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6435 the string constant limit (2048 bytes) in MSVC. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6436 (main): Ditto. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6437 |
27620 | 6438 2000-02-05 INOUE Seiichiro <inoue@ainet.or.jp> |
6439 | |
6440 * xterm.c (x_display_and_set_cursor) [HAVE_X_I18N]: Set pre-edit | |
6441 area. | |
6442 (x_display_cursor) [HAVE_X_I18N]: Don't set it here. | |
6443 (XTread_socket) [HAVE_X_I18N]: <KeyPress, KeyRelease>: Don't | |
6444 dispatch the event. | |
6445 | |
27614 | 6446 2000-02-04 Dave Love <fx@gnu.org> |
6447 | |
6448 * fileio.c: Remove some unused vars. | |
6449 (_GNU_SOURCE): Define (for euidaccess). | |
6450 | |
6451 * lread.c (_XOPEN_SOURCE): Declare (for ftello). | |
6452 | |
6453 * minibuf.c (read_minibuf_noninteractive): Remove undeclared | |
6454 gcpro1, gcpro2. | |
6455 (read_minibuf): Deal with allow_props correctly. | |
6456 | |
27594 | 6457 2000-02-03 Eli Zaretskii <eliz@is.elta.co.il> |
6458 | |
6459 * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Enlarge to 60000. | |
6460 | |
27635
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
6461 2000-02-03 Ken Raeburn <raeburn@gnu.org> |
27592
5cd59d1800ad
* search.c (compile_pattern): If a cache entry has a nil regexp, fill in that
Ken Raeburn <raeburn@raeburn.org>
parents:
27591
diff
changeset
|
6462 |
5cd59d1800ad
* search.c (compile_pattern): If a cache entry has a nil regexp, fill in that
Ken Raeburn <raeburn@raeburn.org>
parents:
27591
diff
changeset
|
6463 * search.c (compile_pattern): If a cache entry has a nil regexp, |
5cd59d1800ad
* search.c (compile_pattern): If a cache entry has a nil regexp, fill in that
Ken Raeburn <raeburn@raeburn.org>
parents:
27591
diff
changeset
|
6464 fill in that entry instead of clobbering a previously cached |
5cd59d1800ad
* search.c (compile_pattern): If a cache entry has a nil regexp, fill in that
Ken Raeburn <raeburn@raeburn.org>
parents:
27591
diff
changeset
|
6465 string regexp. |
5cd59d1800ad
* search.c (compile_pattern): If a cache entry has a nil regexp, fill in that
Ken Raeburn <raeburn@raeburn.org>
parents:
27591
diff
changeset
|
6466 |
27635
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
6467 2000-02-02 Ken Raeburn <raeburn@gnu.org> |
27591
459744c91b53
* puresize.h (BASE_PURESIZE): Increase to 610000.
Ken Raeburn <raeburn@raeburn.org>
parents:
27587
diff
changeset
|
6468 |
459744c91b53
* puresize.h (BASE_PURESIZE): Increase to 610000.
Ken Raeburn <raeburn@raeburn.org>
parents:
27587
diff
changeset
|
6469 * puresize.h (BASE_PURESIZE): Increase to 610000. |
459744c91b53
* puresize.h (BASE_PURESIZE): Increase to 610000.
Ken Raeburn <raeburn@raeburn.org>
parents:
27587
diff
changeset
|
6470 |
27587 | 6471 2000-02-02 Gerd Moellmann <gerd@gnu.org> |
6472 | |
6473 * frame.c (Fframe_parameters): Add GCPRO because tty_color_name | |
6474 can GC. | |
6475 | |
27565 | 6476 2000-02-02 Kenichi Handa <handa@etl.go.jp> |
6477 | |
27567 | 6478 * ccl.c (ccl_driver) <CCL_WriteExprRegister>: Set jump_address |
6479 instead of incrementing ic directly. | |
6480 <CCL_WriteExprConst> Likewise. | |
6481 <ccl_set_expr>: Set ic to jump_address. | |
6482 | |
27565 | 6483 * fileio.c (e_write): Fix the handling of |
6484 CODING_FINISH_INSUFFICIENT_SRC. | |
6485 | |
27561 | 6486 2000-02-01 Dave Love <fx@gnu.org> |
6487 | |
6488 * editfns.c (Fpropertize): Doc fix. | |
6489 | |
6490 * process.c (Fstart_process): Doc fix. | |
6491 | |
6492 * eval.c: Fix various doc strings not to duplicate information | |
6493 from help-manyarg-func-alist. | |
6494 | |
6495 * window.c (Fset_window_margins): Don't make interactive. Doc | |
6496 fix. | |
6497 | |
6498 * doc.c (Vhelp_manyarg_func_alist): New variable. | |
6499 (Fdocumentation): Use it. | |
6500 (syms_of_doc): Define it. | |
6501 | |
27531 | 6502 2000-01-31 Gerd Moellmann <gerd@gnu.org> |
6503 | |
27545 | 6504 * xterm.c (xim_open_dpy): Remove unused local variable. |
6505 | |
27541 | 6506 * emacs.c (USAGE): Use term `display options' instead of `X |
6507 options'. | |
6508 | |
6509 * xdisp.c (Ftrace_to_stderr) [GLYPH_DEBUG]: New function. | |
6510 (syms_of_xdisp) [GLYPH_DEBUG]: Defsubr it. | |
6511 | |
27531 | 6512 * fns.c (sweep_weak_table): New function. |
6513 (sweep_weak_hash_tables): Use it. Keep on marking until there | |
6514 is no more change. | |
6515 | |
27527 | 6516 2000-01-30 Gerd Moellmann <gerd@gnu.org> |
6517 | |
6518 * xterm.c (x_delete_display): Update next_noop_dpyinfo to ensure | |
6519 that XTread_socket does not crash by trying to call XNoOp on a | |
6520 closed display. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6521 |
27523 | 6522 2000-01-30 Jason Rumney <jasonr@gnu.org> |
6523 | |
6524 * w32inevt.c (get_frame, w32_console_mouse_position, mouse_moved_to): | |
6525 Change selected_frame to SELECTED_FRAME (). | |
6526 (w32_console_mouse_position): Remove #ifndef MULE from around | |
6527 `insist' parameter. | |
6528 | |
6529 * makefile.nt: Remove dosfns.obj. | |
6530 | |
6531 * term.c (term_init) [WINDOWSNT]: Initialize TN_max_colors. | |
6532 | |
6533 * w32fns.c (w32_defined_color): Check for valid frame before | |
6534 applying gamma correction. Eliminate dependency on frame elsewhere. | |
6535 (w32_load_system_font): Switch FIXED_PITCH and VARIABLE_PITCH. | |
6536 (w32_to_x_font): Use resx and resy not height_in and width_in. | |
6537 (x_to_w32_font): Doc fix. | |
6538 (xlfd_strip_height): New function to strip and return font height. | |
6539 (w32_font_match): Compare height separately from rest of xlfd | |
6540 spec, using xlfd_strip_height. | |
6541 | |
6542 * w32term.c (w32_term_init): Swap resx and height_in, resy and | |
6543 width_in. Use w32_defined_color in place of defined_color. | |
6544 | |
6545 * w32faces.c: Merge more of DOS and X specifics in preparation for | |
6546 merge with xfaces.c. | |
6547 (defined_color): Remove FIXME comment. | |
6548 (tty_color_name): Provide w32-specific function. | |
6549 (realize_tty_face): Handle FACE_TTY_DEFAULT*_COLOR specially. | |
6550 | |
6551 * w32console.c (turn_on_face, turn_off_face): Removed. | |
6552 (w32_face_attributes): New function. | |
6553 (Global_variables): Reduce scope where possible. | |
6554 (clear_frame, ins_del_lines, scroll_line): Use char_attr_normal as | |
6555 fill attribute. | |
6556 (hl_mode): Don't modify text attributes. | |
6557 (write_glyphs): Don't do anything if len <= 0. Use | |
6558 w32_face_attributes to get attributes for drawing. Write | |
6559 terminating codes using char_attr_normal. | |
6560 (reset_terminal_modes, set_terminal_modes): Turn off highlight. | |
6561 (update_begin, update_end): Likewise. | |
6562 (vga_stdcolor_name): New function. | |
6563 (initialize_w32_display): Remove char_attr_reverse and char_attr. | |
6564 (Fset_screen_color): Remove char_attr_reverse. | |
6565 | |
27506 | 6566 2000-01-29 Gerd Moellmann <gerd@gnu.org> |
6567 | |
6568 * xfns.c (xic_set_preeditarea): Take window parameter and | |
6569 window-relative pixel-positions. | |
6570 | |
6571 * xterm.c (x_display_cursor): Set XIC pre-edit area only if window | |
6572 is its frame's selected window. | |
6573 (xim_instantiate_callback): Likewise. | |
6574 | |
6575 * xfns.c (x_create_im): Removed. | |
6576 (DEFAULT_STYLE, DEFAULT_FONT): Removed. | |
6577 (supported_xim_styles): Renamed from supported_styles. | |
6578 (best_xim_style): Renamed from best_style. | |
6579 (create_frame_xic): Renamed from xic_create_frame. | |
6580 (free_frame_xic): Renamed from xic_destroy_frame. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6581 |
27506 | 6582 2000-01-29 INOUE Seiichiro <inoue@ainet.or.jp> |
6583 | |
6584 * xterm.c (XTread_socket) [HAVE_X_I18N]: If event is for none of | |
6585 our frames, call XFilterEvent with 2nd parameter `None'. | |
6586 (XTread_socket) <KeyPress> [HAVE_X_I18N]: Handle XmbLookupString | |
6587 returning XBufferOverflow. | |
6588 (XTread_socket) <ConfigureNotify> [HAVE_X_I18N]: Set XIC status | |
6589 area. | |
6590 (x_display_cursor) [HAVE_X_I18N]: Set XIC pre-edit area. | |
6591 (x_new_fontset) [HAVE_X_I18N]: Create XIC status area fontset. | |
6592 (xim_destroy_callback, xim_open_dpy, xim_instantiate_callback) | |
6593 (xim_initialize, xim_close) | |
6594 [HAVE_X_I18N && HAVE_X11R6]: New functions. | |
6595 (x_destroy_window) [HAVE_X_I18N]: Call xic_destroy_frame. | |
6596 (x_term_init) [HAVE_X_I18N]: Call xim_initialize. | |
6597 (x_delete_display) [HAVE_X_I18N]: Call xim_close. | |
6598 | |
6599 * xterm.h (struct x_display_info) [HAVE_X_I18N]: Add members `xim' | |
6600 and `xim_styles'. | |
6601 (struct x_output) [HAVE_X_I18N]: Remove member `xim', add | |
6602 `xic_style' and `xic_xfs'. | |
6603 (FRAME_MENUBAR_HEIGHT, FRAME_X_XIM, FRAME_X_XIM_STYLES) | |
6604 (FRAME_XIC_STYLE, FRAME_XIC_FONTSET): New macros. | |
6605 (FRAME_XIM): Removed. | |
6606 | |
6607 * xfns.c (supported_styles): New variable. | |
6608 (DEFAULT_STYLE, DEFAULT_FONT): New macros | |
6609 (xic_create_xfontset, best_style, xic_create_frame) | |
6610 (xic_destroy_frame, xic_set_preeditarea, xic_set_statusarea) | |
6611 (xic_set_xfontset): New functions. | |
6612 | |
27491 | 6613 2000-01-28 Dave Love <fx@gnu.org> |
6614 | |
6615 * s/irix6-5.h: Revert last change after change to irix5-0.h. | |
6616 | |
6617 * m/iris4d.h (C_SWITCH_MACHINE): Don't use -G0. | |
6618 | |
27473 | 6619 2000-01-28 Gerd Moellmann <gerd@gnu.org> |
6620 | |
27481 | 6621 * buffer.c (Fother_buffer): Don't call Fset_buffer_major_mode |
6622 for *scratch* if it already existed. | |
6623 | |
27473 | 6624 * emacs.c (USAGE): New macro. |
6625 (main): Use it to display usage information. | |
6626 | |
27464 | 6627 2000-01-27 Eli Zaretskii <eliz@is.elta.co.il> |
6628 | |
6629 Support for the menu-help feature: | |
6630 | |
6631 * msdos.h: Change prototypes of XMenuAddSelection and | |
6632 XMenuActivate. | |
6633 | |
6634 * msdos.c (IT_clear_end_of_line): Print the extent of the cleared | |
6635 part of the line to the termscript file. | |
6636 (IT_clear_to_end): Clear the entire line, not just its beginning. | |
6637 (menu_help_message, prev_menu_help_message): New variables. | |
6638 (IT_menu_make_room): Make room for the help_text member. | |
6639 (IT_menu_display): New argument disp_help; all callers changed. | |
6640 If disp_help is non-zero, store the help text of the active menu | |
6641 item in menu_help_message. | |
6642 (XMenuAddPane): Initialize the help_text member to NULL. | |
6643 (XMenuAddSelection): New argument help_text. Store it in the | |
6644 XMenu structure. | |
6645 (XMenuActivate): New argument help_callback. If the value of | |
6646 menu_help_message has changed since the last time, display the | |
6647 menu help message text while waiting for the mouse to move. Clear | |
6648 the echo area before exiting. | |
6649 (XMenuDestroy): Free the help_text member. | |
6650 | |
27459 | 6651 2000-01-27 Gerd Moellmann <gerd@gnu.org> |
6652 | |
6653 * xmenu.c (xmenu_show) [!USE_X_TOOLKIT]: Pass help to | |
6654 XMenuAddSelection. Pass help callback to XMenuActivate. | |
6655 (menu_help_callback) [!USE_X_TOOLKIT]: New function. | |
6656 | |
27453 | 6657 2000-01-27 Eli Zaretskii <eliz@is.elta.co.il> |
6658 | |
6659 * atimer.c (start_atimer) [!HAVE_SETITIMER]: Use EMACS_SET_SECS | |
6660 and EMACS_SET_USECS. | |
6661 | |
27443 | 6662 2000-01-26 Dave Love <fx@gnu.org> |
6663 | |
27446 | 6664 * editfns.c (Fchar_after, Fchar_before): Doc fix. |
6665 | |
27443 | 6666 * bytecode.c (Fbyte_code): Use {BEFORE,AFTER}_POTENTIAL_GC where |
6667 an error may be signalled. | |
6668 | |
27439 | 6669 2000-01-26 Gerd Moellmann <gerd@gnu.org> |
6670 | |
27441 | 6671 * s/irix6-5.h [__GNUC__ && __GNUC_MINOR__ >= 95]: Undef |
6672 LD_SWITCH_SYSTEM inherited from irix5-0.h. | |
6673 | |
27439 | 6674 * bytecode.c (Fbyte_code) [BYTE_CODE_SAFE]: Fix typo. |
6675 | |
27435 | 6676 2000-01-25 Gerd Moellmann <gerd@gnu.org> |
6677 | |
6678 * charset.c (Fstring): If there is a multibyte char among | |
6679 the args, always return a multibyte string. | |
6680 | |
27433 | 6681 2000-01-25 Gerd Moellmann <gerd@gnu.org> |
6682 | |
6683 * sysdep.c (sys_select): Turn atimers off and on instead of | |
6684 recording and restoring old alarm handler | |
6685 | |
6686 * process.c (toplevel): Include atimer.h. | |
6687 (create_process_1): Rewritten. | |
6688 (create_process): Use atimers instead of alarm. | |
6689 (wait_reading_process_input) [hpux]: Turn atimers off instead | |
6690 of turning off SIGALRM. | |
6691 (wait_reading_process_input): Turn off atimers instead off | |
6692 calling stop_polling. | |
6693 | |
6694 * emacs.c (main): Call init_atimer. | |
6695 | |
6696 * keyboard.c (toplevel): Include systime.h and atimer.h. | |
6697 (polling_for_input): Removed because unused. | |
6698 (input_poll_signal) [POLL_FOR_INPUT]: Removed. | |
6699 (poll_timer): New variable. | |
6700 (poll_for_input, poll_for_input_1): New functions. | |
6701 (start_polling, stop_polling): Rewritten. | |
6702 | |
6703 * keyboard.h (polling_for_input): Removed. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6704 |
27433 | 6705 * atimer.h, atimer.c: New files. |
6706 | |
6707 * Makefile.in (obj): Add atimer.o. | |
6708 (atimer.o): New target. | |
6709 | |
6710 * blockinput.h (pending_atimers): Add extern declaration. | |
6711 (UNBLOCK_INPUT): Rewritten. Handle pending atimers. | |
6712 | |
6713 * lisp.h (popup_activated_flag): Add extern declaration. | |
6714 | |
6715 * xmenu.c (popup_activated_flag): Make externally visible. | |
6716 (popup_activate_callback) [USE_MOTIF]: Increment | |
6717 popup_activated_flag. | |
6718 (popup_deactivate_callback) [USE_MOTIF]: Decrement it. | |
6719 | |
6720 * xterm.c (toplevel): Include atimer.h. | |
6721 (toolkit_scroll_bar_interaction): New variable. | |
6722 (Fxt_process_timeouts): Removed. | |
6723 (x_process_timeouts): New function. | |
6724 (xt_action_hook): Clear toolkit_scroll_bar_interaction. | |
6725 (x_send_scroll_bar_event): Set toolkit_scroll_bar_interaction. | |
6726 (x_make_frame_visible): Call poll_for_input_1 instead of | |
6727 input_poll_signal. Don't call alarm. | |
6728 (x_initialize): Install timer calling x_process_timeouts. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6729 |
27413 | 6730 2000-01-24 Dave Love <fx@gnu.org> |
6731 | |
27446 | 6732 * s/irix5-0.h: Don't set LD_SWITCH_SYSTEM -- we use unexelf now. |
27413 | 6733 Don't use -cckr -- apparently not now necessary. |
6734 | |
27410 | 6735 2000-01-24 Eli Zaretskii <eliz@is.elta.co.il> |
6736 | |
6737 * msdos.c (IT_menu_display): Truncate long menu lines at the right | |
6738 screen boundary. | |
6739 | |
27408 | 6740 2000-01-23 Jason Rumney <jasonr@gnu.org> |
6741 | |
6742 * w32fns.c (w32_defined_color): Apply gamma correction before | |
6743 trying to map to the palette. | |
6744 (w32_wnd_proc) [WM_ERASE_BACKGROUND]: Pass device context of frame | |
6745 to w32_clear_rect. | |
6746 | |
6747 * w32term.c (w32_fill_rect): Do not try to deal with NULL hdc | |
6748 here. Callers changed to always pass real device context. | |
6749 (w32_draw_bitmap): Likewise. | |
6750 (w32_get_glyph_overhangs): Likewise. | |
6751 (w32_draw_box_rect): Make use of s->hdc rather than getting a new | |
6752 one. | |
6753 (w32_set_vertical_scroll_bar): Pass correct HWND parameters to | |
6754 pfnSetScrollInfo and SetScrollRange. | |
6755 (x_get_char_face_and_encoding): Don't turn iso8859-1 characters | |
6756 back into MULE characters after decoding them. | |
6757 (x_get_glyph_face_and_encoding): Likewise. | |
6758 (w32_per_char_metric): Use GetCharExtentPoint32W as fallback when | |
6759 GetCharABCWidthsW fails, since this is defined on Windows 9x. | |
6760 (x_produce_glyphs): Calculate per char metrics for a character | |
6761 that we know exists in default font when font_not_found_p is true. | |
6762 | |
27393 | 6763 2000-01-22 Jason Rumney <jasonr@gnu.org> |
6764 | |
6765 * makefile.nt (intervals.obj, composite.obj): New modules. | |
6766 (composite.h): Added as dependency where appropriate. | |
6767 | |
6768 * w32gui.h (XGCValue): New struct for emulating X GCs. | |
6769 | |
6770 * w32term.h (XCharStruct): New struct for emulating X. | |
6771 | |
6772 * w32console.c (turn_on_face, turn_off_face): New functions. | |
6773 (change_line_highlight): New prototype for new redisplay. | |
6774 (write_glyphs): Support multibyte text. Support faces. | |
6775 | |
6776 * w32faces.c: Complete rewrite for new redisplay based on new | |
6777 xfaces.c. | |
6778 | |
6779 * w32fns.c: Use SELECTED_FRAME macro in place of selected_frame | |
6780 throughout. struct frame * in place of FRAME_PTR. | |
6781 Skeleton support for images, toolbars, tooltips from xfns.c. | |
6782 (Fx_create_frame): Use system default for default scroll bar | |
6783 width. | |
6784 (w32_get_arg): Renamed from x_get_arg. | |
6785 (Fx_file_dialog): New function. | |
6786 (w32_list_fonts): Check cache before asking system. | |
6787 (Vw32_enable_synthesized_fonts): New variable. | |
6788 (Vw32_enable_italics): Obsolete, removed. | |
6789 | |
6790 * w32inevt.c (get_frame, w32_console_mouse_position, mouse_moved_to): | |
6791 Use SELECTED_FRAME macro. | |
6792 | |
6793 * w32menu.c: Add skeleton support for help strings on menus. | |
6794 (add_menu_item): Native checkbox and radio support added, but not | |
6795 yet enabled due to bugs. | |
6796 (push_menu_item): Add parameters type, selection and help. | |
6797 Callers updated. | |
6798 Formatting changes to reduce unnecessary diffs with xmenu.c. | |
6799 | |
6800 * w32select.c (Fw32_set_clipboard_data): Update call to | |
6801 find_charset_in_str. | |
6802 | |
6803 * w32term.c: Complete rewrite for new redisplay based on new | |
6804 xterm.c with necessary sections merged back in from old w32term.c. | |
6805 | |
27702
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6806 2000-01-21 Richard M. Stallman <rms@gnu.org> |
27390
10e53615a9d2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27372
diff
changeset
|
6807 |
10e53615a9d2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27372
diff
changeset
|
6808 * data.c (set_internal): Further fix in same criterion. |
10e53615a9d2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27372
diff
changeset
|
6809 |
27702
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6810 2000-01-20 Richard M. Stallman <rms@gnu.org> |
27372
79d08dbee5fd
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27366
diff
changeset
|
6811 |
79d08dbee5fd
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27366
diff
changeset
|
6812 * data.c (set_internal): Fix the criteria for whether |
79d08dbee5fd
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27366
diff
changeset
|
6813 to swap out the old cached binding. |
79d08dbee5fd
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27366
diff
changeset
|
6814 |
27366 | 6815 2000-01-19 Dave Love <fx@gnu.org> |
6816 | |
6817 * lread.c: (syms_of_lread) [user-init-file]: Doc change. | |
6818 | |
27354 | 6819 2000-01-18 Kenichi Handa <handa@etl.go.jp> |
6820 | |
6821 * regex.c (re_compile_fastmap): While checking a range table for | |
6822 `charset', skip flag bits for a character class correctly. | |
6823 | |
27344 | 6824 2000-01-17 Gerd Moellmann <gerd@gnu.org> |
6825 | |
27347 | 6826 * m/news-risc.h (LD_SWITCH_MACHINE): Define differently for GCC. |
6827 | |
27344 | 6828 * xfns.c (x_window): Call lw_create_widget with new parameter |
6829 list. | |
6830 | |
6831 * widget.c (EmacsFrameSetCharSize): Change size of children first | |
6832 because of problems with main window geometry management under | |
6833 Lesstif. | |
6834 | |
6835 * xmenu.c (enum menu_item_idx): New enumeration replacing defines | |
6836 MENU_ITEMS_ITEM_.*. | |
6837 (MENU_ITEMS_ITEM_HELP): New enumerator. | |
6838 (push_menu_item): Add parameter HELP. Record help in menu_items. | |
6839 (single_menu_item, single_submenu, list_of_items): Call | |
6840 push_menu_item with new parameter. | |
6841 (single_submenu): Set help string in widget value. | |
6842 (menu_highlight_callback): New function. | |
6843 (set_frame_menubar): Call lw_create_widget with new | |
6844 parameter list. | |
6845 (xmenu_show, xdialog_show): Ditto. | |
6846 | |
27316 | 6847 2000-01-13 Gerd Moellmann <gerd@gnu.org> |
6848 | |
6849 * sound.c (Fplay_sound): Improve doc string. | |
6850 | |
27300
baffb2de5ce9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27299
diff
changeset
|
6851 2000-01-11 Richard M. Stallman <rms@gnu.org> |
27299
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
6852 |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
6853 * lisp.h (set_internal): Enter the new arg. |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
6854 |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
6855 * eval.c (specbind): Record buffer-local variables specially, |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
6856 indicating which buffer's binding was saved. |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
6857 (unbind_to): Restore buffer-local variables specially |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
6858 in the proper buffer. |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
6859 |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
6860 * data.c (set_internal): New arg BUF. |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6861 |
27299
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
6862 * eval.c (specbind, unbind_to): Pass new arg to set_internal. |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
6863 * data.c (Fset): Pass new arg to set_internal. |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
6864 * bytecode.c (Fbyte_code): Pass new arg to set_internal. |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6865 |
27291 | 6866 2000-01-11 Gerd Moellmann <gerd@gnu.org> |
6867 | |
6868 * .gdbinit: Adapt to new strings. Add xbacktrace, xreload, | |
6869 xprintsym. | |
6870 | |
27300
baffb2de5ce9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27299
diff
changeset
|
6871 2000-01-11 Richard M. Stallman <rms@gnu.org> |
27283
f3eca57846e3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27276
diff
changeset
|
6872 |
f3eca57846e3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27276
diff
changeset
|
6873 * minibuf.c (Ftry_completion): Doc fix. |
f3eca57846e3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27276
diff
changeset
|
6874 |
27276 | 6875 2000-01-11 Gerd Moellmann <gerd@gnu.org> |
6876 | |
6877 * keyboard.c (Fclear_this_command_keys): Clear recent_keys | |
6878 vector, too. | |
6879 | |
27273 | 6880 2000-01-11 Andreas Schwab <schwab@suse.de> |
6881 | |
6882 * coding.c (code_convert_region): Initialize total_skip. | |
6883 | |
27244 | 6884 2000-01-08 Dave Love <fx@gnu.org> |
6885 | |
6886 * eval.c (Fuser_variable_p): Check customizability too. | |
6887 | |
27237 | 6888 2000-01-07 Gerd Moellmann <gerd@gnu.org> |
6889 | |
6890 * minibuf.c (Fcompleting_read): Doc fix. | |
6891 | |
27158 | 6892 2000-01-05 Gerd Moellmann <gerd@gnu.org> |
6893 | |
27171 | 6894 * s/freebsd.h (C_SWITCH_SYSTEM): Add -I /usr/local/include and |
6895 -L /usr/local/lib. | |
6896 | |
27158 | 6897 * xfns.c (x_create_im): New function to set IM and IC of a frame. |
6898 Check that input style is supported before trying to create an | |
6899 IC for it. | |
6900 (x_window): Call x_create_im. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6901 |
27143 | 6902 2000-01-04 Gerd Moellmann <gerd@gnu.org> |
6903 | |
27155 | 6904 * xfns.c (current_gif_memory_src): New variable. |
6905 (gif_load): Record the address of the current memory source | |
6906 in current_gif_memory_src. | |
6907 (gif_read_from_memory): Use current_gif_memory_src. | |
6908 | |
27150 | 6909 * systime.h (EMACS_GET_TIME, EMACS_ADD_TIME, EMACS_SUB_TIME): Give |
6910 macros statement form. | |
6911 | |
27147 | 6912 * sound.c (struct sound): Renamed from struct sound_file. |
6913 (struct sound): Add members `data' and `header_size'. | |
6914 (enum sound_attr): Add SOUND_DATA. | |
6915 (current_sound, current_sound_device): Variables renamed from | |
6916 sound_file and sound_device. | |
6917 (parse_sound): Parse :data. | |
6918 (parse_sound): Handle sound data in strings. | |
6919 (find_sound_type): Function renamed from find_sound_file_type. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6920 (wav_init, au_init): Fail if sound's header_size is smaller than |
27147 | 6921 needed header size. |
6922 (wav_play, au_play): Play sounds from string data. | |
6923 | |
27143 | 6924 * puresize.h (BASE_PURE_SIZE): Increase to 600000. |
6925 | |
6926 * lisp.h: Add prototype for allocate_string_data. | |
6927 | |
6928 * alloc.c (Fgarbage_collect): Return number of live and free | |
6929 strings. | |
6930 | |
6931 * alloc.c (mark_buffer): Remove code in #if 0. | |
6932 (gc_sweep): Ditto. | |
6933 (UNMARK_BALANCE_INTERVALS): Give the macro statement form. | |
6934 (strings_consed): New variable. | |
6935 (allocate_string): Set it. | |
6936 (syms_of_alloc): Add DEFVAR_INT for strings_consed. | |
6937 (Fmemory_use_counts): Return strings_consed. Use Flist. | |
6938 | |
6939 * alloc.c: General cleanup in comments etc. Remove conditional | |
6940 compilation for `standalone'. | |
6941 | |
6942 * lisp.h (struct Lisp_String): Make DATA member `unsigned char *'. | |
6943 | |
6944 * alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): | |
6945 (GC_STRING_BYTES, GC_STRING_CHARS): New macros. | |
6946 (DONT_COPY_FLAG): Removed. | |
6947 (SBLOCK_SIZE, LARGE_STRING_BYTES): New macros. | |
6948 (struct sdata, struct sblock): New | |
6949 (struct string_block): Rewritten. | |
6950 (STRINGS_IN_STRING_BLOCK): New macro. | |
6951 (oldest_sblock, current_sblock, total_strings, total_free_strings) | |
6952 (large_sblocks, string_blocks, string_free_list): New variables. | |
6953 (NEXT_FREE_LISP_STRING, SDATA_OF_STRING, SDATA_SIZE): New macros. | |
6954 (init_strings): Rewritten. | |
6955 (allocate_string, allocate_string_data, compact_small_strings) | |
6956 (free_large_strings, sweep_strings): New functions. | |
6957 (STRING_BLOCK_SIZE, STRING_BLOCK_OUTSIZE) | |
6958 (struct string_block_head, current_string_block) | |
6959 (first_string_block, large_string_blocks, STRING_FULLSIZE) | |
6960 (STRING_PAD): Removed. | |
6961 (make_uninit_multibyte_string, make_pure_string): Rewritten. | |
6962 (Fgarbage_collect): Don't set mark bit in large strings. | |
6963 (mark_object): Mark strings differently. Mark symbol names | |
6964 differently. | |
6965 (survives_gc_p): Test marked strings differently. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6966 (gc_sweep): Sweep strings differently, unmark strings in |
27143 | 6967 symbol names. |
6968 (compact_strings): Removed. | |
6969 | |
27138 | 6970 2000-01-04 Eli Zaretskii <eliz@is.elta.co.il> |
6971 | |
6972 * xfaces.c (syms_of_xfaces): defsubr Scolor_gray_p and | |
6973 Scolor_supported_p even if HAVE_X_WINDOWS is not defined. | |
6974 | |
27127 | 6975 2000-01-04 Kenichi Handa <handa@etl.go.jp> |
6976 | |
27133 | 6977 * fileio.c (Finsert_file_contents): Signal error if visiting file |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6978 in a non-empty buffer. |
27133 | 6979 |
27130 | 6980 * term.c (encode_terminal_code): Fix the previous change. |
27127 | 6981 |
27122 | 6982 2000-01-03 Gerd Moellmann <gerd@gnu.org> |
6983 | |
6984 * xfaces.c (syms_of_xfaces): Change Sface_color_gray_p to | |
6985 Scolor_gray_p, Sface_color_supported_p to Scolor_supported_p. | |
6986 | |
6987 * s/hpux9.h (NO_EDITRES): Define even if HAVE_LIBXMU. | |
6988 | |
27119 | 6989 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il> |
6990 | |
6991 * xdisp.c (handle_single_display_prop) [HAVE_WINDOW_SYSTEM]: No | |
6992 need to test for MSDOS frames. | |
6993 | |
27116 | 6994 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il> |
6995 | |
6996 * dosfns.c (unspecified_colors): Remove. | |
6997 (msdos_stdcolor_idx): Use global variables unspecified_fg and | |
6998 unspecified_bg. | |
6999 (msdos_stdcolor_name): Return strings for unspecified fore- and | |
7000 back-ground colors. | |
7001 | |
7002 * xfaces.c (Qunspecified_fg, Qunspecified_bg): Remove. | |
27680 | 7003 (syms_of_xfaces): Remove their staticpro's. |
27116 | 7004 (tty_color_name): Return Lisp strings for unspecified fore- and |
7005 back-ground colors. | |
7006 (Finternal_set_lisp_face_attribute): Remove the special treatment | |
7007 for Qunspecified_{f,b}g. | |
7008 (realize_default_face): Replace Qunspecified_{f,b}g with a Lisp | |
7009 string. | |
7010 | |
27112 | 7011 2000-01-03 Gerd Moellmann <gerd@gnu.org> |
7012 | |
7013 * xdisp.c (reseat_at_next_visible_line_start): Position before | |
7014 newline only if ending up on a newline. | |
7015 (next_element_from_ellipsis): Return success. Handle case of | |
7016 displaying no ellipsis. Fix case of ellipsis defined in display | |
7017 table. | |
7018 (next_element_from_buffer): Return 0 if next_element_from_ellipsis | |
7019 returns 0. | |
7020 | |
27102 | 7021 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il> |
7022 | |
7023 * xfaces.c (Fcolor_gray_p): Renamed from face-color-gray-p. | |
7024 (Fcolor_supported_p): Renamed from face-color-supported-p. | |
7025 | |
27091 | 7026 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il> |
7027 | |
7028 * xfaces.c (tty_defined_color): Pass frame to tty-color-desc. The | |
7029 list of colors renamed to tty-defined-color-alist. | |
7030 (tty_color_name): Pass the frame to tty-color-by-index. | |
7031 (realize_tty_face): tty-color-alist is now a function which | |
7032 accepts the frame as argument. | |
7033 | |
7034 * term.c (Ftty_display_color_p): Accept an optional argument | |
7035 FRAME. | |
7036 | |
27086 | 7037 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il> |
7038 | |
7039 * term.c (insert_glyphs): Pass glyph, not &glyph, to | |
7040 encode_terminal_code. | |
7041 | |
27084 | 7042 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il> |
7043 | |
7044 * dispnew.c (mode_line_string): Support termcap frames as well. | |
7045 | |
27067 | 7046 2000-01-01 Gerd Moellmann <gerd@gnu.org> |
7047 | |
27082 | 7048 * syntax.c (Fforward_word): Undo previous change. |
7049 | |
7050 * editfns.c (Fconstrain_to_field): Don't constrain if | |
7051 inhibit-field-text-motion is non-nil. | |
7052 (Fline_beginning_position): Undo previous change. | |
7053 (Fline_end_position): Ditto. | |
7054 | |
7055 * syntax.c (Fforward_word): Notice field boundaries only if | |
7056 inhibit-field-text-motion is nil. | |
7057 | |
7058 * lisp.h: Add extern declaration for Vinhibit_field_text_motion. | |
7059 | |
7060 * editfns.c (Vinhibit_field_text_motion): New variable. | |
7061 (inhibit-field-text-motion): New DEFVAR_LISP. | |
7062 (Fline_beginning_position, Fline_end_position): Notice field | |
7063 boundaries only if inhibit-field-text-motion is nil. | |
7064 | |
27072 | 7065 * xfns.c (x_create_x_image_and_pixmap): Remove parameter FILE. |
7066 All calls adjusted. | |
7067 (x_build_heuristic_mask): Likewise. | |
7068 (xbm_load_image_from_file): Change error output. | |
7069 (xbm_load, xpm_load, pbm_load, png_load, jpeg_load, tiff_load) | |
7070 (gif_load, gs_load, x_kill_gs_process): Ditto. | |
7071 | |
27067 | 7072 * xfns.c (gif_load): Avoid sign extension and thus out of bounds |
7073 color indices when accessing raster pixels. | |
27070 | 7074 (gif_image_p, png_image_p, jpeg_image_p, tiff_image_p): Allow only |
7075 one of :file or :data. | |
7076 (enum pbm_keyword_index): Add PBM_DATA. | |
7077 (pbm_format): Add :data. | |
7078 (pbm_image_p): Allow either :file or :data. | |
7079 (pbm_read_file): New function. | |
7080 (pbm_scan_number): Rewritten to read from string. | |
7081 (pbm_load): Support :data. | |
27067 | 7082 |
30727 | 7083 See ChangeLog.8 for earlier changes. |
30994 | 7084 |
7085 ;; Local Variables: | |
31346 | 7086 ;; coding: iso-2022-7bit |
30994 | 7087 ;; End: |