Mercurial > emacs
annotate src/ChangeLog @ 32510:0640dae5f283
*** empty log message ***
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sun, 15 Oct 2000 22:27:48 +0000 |
parents | f68c04b9e4a4 |
children | 76e2488e5600 |
rev | line source |
---|---|
32510
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
1 2000-10-15 Stefan Monnier <monnier@cs.yale.edu> |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
2 |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
3 * syntax.c (Fstring_to_syntax): New function extracted from |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
4 Fmodify_syntax_entry. |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
5 (Fmodify_syntax_entry): Use it and document the ! and | fences. |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
6 (skip_chars, Fforward_comment): Remove unused variables. |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
7 (syms_of_syntax): Add defsubr for string-to-syntax. |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
8 (describe_syntax): Add code for comment and string fences. |
0640dae5f283
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32477
diff
changeset
|
9 |
32477
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
10 2000-10-14 Stefan Monnier <monnier@cs.yale.edu> |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
11 |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
12 * keymap.c (access_keymap): Add AUTOLOAD parameter. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
13 Do the meta->esc mapping. Call get_keyelt before returning. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
14 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
|
15 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
|
16 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
|
17 (Fkeymap_parent): Also handle the `inherit from symbol' case. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
18 (fix_submap_inheritance, Fdefine_key): Update call to access_keymap. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
19 (get_keyelt, Flookup_key): Update call to access_keymap. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
20 Remove the meta->esc mappings. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
21 (define_as_prefix): Delete old disabled code. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
22 (menu_item_p): New function. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
23 (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
|
24 * lisp.h (access_keymap): Update prototype. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
25 * keyboard.c (read_char, menu_bar_items, tool_bar_items): |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
26 Update call to access_keymap. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
27 (follow_key, read_key_sequence): Update calls to access_keymap. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
28 Remove the meta->esc mappings. |
f68c04b9e4a4
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32469
diff
changeset
|
29 |
32461 | 30 2000-10-13 Gerd Moellmann <gerd@gnu.org> |
31 | |
32469 | 32 * dispnew.c (direct_output_for_insert): Call set_iterator_to_next |
33 with additional argument. | |
34 | |
32461 | 35 * xdisp.c (cursor_row_p): New function. |
36 (try_cursor_movement, display_line): Use it. | |
37 | |
38 * xdisp.c (append_space): Also save/restore iterator's current | |
39 character and its length. | |
40 | |
41 * xdisp.c (init_from_display_pos): Add an assertion. | |
42 (handle_stop): Don't set iterator's add_overlay_start. | |
43 (handle_invisible_prop): Likewise. | |
44 (load_overlay_strings): If text under an overlay is invisible, | |
45 take both before- and after-strings into account when the iterator | |
46 is positioned either at the start or at the end of the overlay. | |
47 (forward_to_next_line_start): Rewritten. | |
48 (reseat_at_next_visible_line_start): Rewritten. | |
49 (set_iterator_to_next): Add parameter RESEAT_P. | |
50 | |
51 * dispextern.h (struct it): Remove member add_overlay_start. | |
52 (set_iterator_to_next): Change prototype. | |
53 | |
32442 | 54 2000-10-13 Kenichi Handa <handa@etl.go.jp> |
55 | |
56 * coding.c (code_convert_region): Be sure to initialize | |
57 coding->category_idx. | |
32444 | 58 (decode_coding_string): Set coding->src_multibyte and |
59 coding->dst_multibyte before using CODING_REQUIRE_DECODING. | |
60 (encode_coding_string): Set coding->src_multibyte and | |
61 coding->dst_multibyte before using CODING_REQUIRE_ENCODING. | |
32442 | 62 |
32434
2c839d052cbd
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32427
diff
changeset
|
63 2000-10-12 Stefan Monnier <monnier@cs.yale.edu> |
2c839d052cbd
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32427
diff
changeset
|
64 |
2c839d052cbd
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32427
diff
changeset
|
65 * xfns.c (Fx_create_frame): Don't bother calling |
2c839d052cbd
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32427
diff
changeset
|
66 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
|
67 |
32427 | 68 2000-10-12 Eli Zaretskii <eliz@is.elta.co.il> |
69 | |
70 * window.c (coordinates_in_window): Fix detection of vertical line | |
71 on character terminals. | |
72 | |
32421 | 73 2000-10-12 Gerd Moellmann <gerd@gnu.org> |
74 | |
75 * editfns.c (save_excursion_save): Additionally record the | |
76 selected window. | |
77 (save_excursion_restore): If buffer was visible in a window, and a | |
78 different window was selected, and the old selected window is | |
79 still live, restore point in that window. | |
80 | |
32397 | 81 2000-10-12 Kenichi Handa <handa@etl.go.jp> |
82 | |
32400 | 83 * xterm.c (x_produce_glyphs): Handle |
84 unibyte_display_via_language_environment correctly. | |
85 | |
32398 | 86 * regex.c (regex_compile): Change the way of handling a range from |
87 unibyte char to multibyte char. | |
88 | |
89 * syntax.c (skip_chars): Change the way of handling a range from | |
90 unibyte char to multibyte char. | |
91 | |
32397 | 92 * process.c (read_process_output): Cancel previous change. |
93 | |
32381 | 94 2000-10-11 Eli Zaretskii <eliz@is.elta.co.il> |
95 | |
32388 | 96 * search.c (Fsearch_backward, Fsearch_forward): Doc fix. |
97 | |
32381 | 98 * charset.c (Ffind_charset_string): Doc fix. |
99 (Ffind_charset_region): Doc fix. | |
100 | |
32369 | 101 2000-10-11 Kenichi Handa <handa@mule.m17n.org> |
102 | |
32370 | 103 * process.c (read_process_output): Fix previous change. Adjust |
104 multibyteness of text to insert in a buffer by | |
32372 | 105 string_make_unibyte/multibyte instead of |
32370 | 106 Fstring_as_unibyte/multibyte. |
32369 | 107 |
32361 | 108 2000-10-10 Andreas Schwab <schwab@suse.de> |
109 | |
110 * alloc.c (mark_object): Remove all workarounds installed on | |
111 1993-08-08. | |
112 | |
32352 | 113 2000-10-10 Kenichi Handa <handa@etl.go.jp> |
114 | |
115 * fns.c (READ_QUADRUPLET_BYTE): Set *NCHARS_RETURN before | |
116 returning. | |
117 (base64_encode_1): Make it work for a text of multibyte form. | |
118 (Fbase64_decode_region): Allocate sufficient memory for multibyte | |
119 case. Don't call str_to_multibyte because base64_decode_1 | |
120 produces correct multibyte form for eight-bit codes. | |
121 (Fbase64_decode_string): Adjusted for the change of | |
122 base64_decode_1. | |
123 (base64_decode_1): New args MULTIBYTE and NCHARS_RETURN. If | |
124 MULTIBYTE is nonzero, produce correct multibyte form for eight-bit | |
125 codes. | |
126 | |
127 * charset.h (CHAR_STRING): Optimized for single byte characters. | |
128 | |
32342 | 129 2000-10-09 Andreas Schwab <schwab@suse.de> |
130 | |
131 * process.c (Fopen_network_stream) [HAVE_GETADDRINFO]: Reset S to | |
132 -1 after socket is closed, to fall through to error processing. | |
133 | |
32336 | 134 2000-10-09 Eli Zaretskii <eliz@is.elta.co.il> |
135 | |
136 * msdos.c (IT_set_frame_parameters): Don't initialize Lisp_Object | |
32381 | 137 variables. If ALIST includes foreground-color or |
32336 | 138 background-color, change also the colors of the default face for |
139 this frame. | |
140 | |
32273 | 141 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il> |
142 | |
143 * msdos.c (top-level) <Qbackground_color, Qforeground_color>: Make | |
144 them extern (they are defined on xfaces.c). | |
145 (syms_of_msdos): Don't intern and don't staticpro | |
146 Qbackground_color and Qforeground_color. | |
147 | |
32255 | 148 2000-10-07 Eli Zaretskii <eliz@is.elta.co.il> |
149 | |
150 * frame.c (Fframe_parameter): For non-windowed frames, if | |
151 f->param_alist says foreground or background color is unspecified, | |
152 call tty_color_name to return the color name computed from the | |
153 frame's current colors. | |
154 | |
32238 | 155 2000-10-06 Dave Love <fx@gnu.org> |
156 | |
157 * terminfo.c (ospeed): Don't declare. | |
158 | |
159 * sysdep.c: Don't include string.h. | |
160 (h_errno): Declare conditional also on TRY_AGAIN. | |
161 | |
162 * charset.c (Ffind_charset_string): Doc fix. | |
163 | |
164 * fns.c (Fbase64_encode_region, Fbase64_encode_string) | |
165 (Fbase64_decode_region, Fbase64_decode_string): More explicit | |
166 error messages. | |
167 | |
32180 | 168 2000-10-05 Dave Love <fx@gnu.org> |
169 | |
170 * xmenu.c (Fx_popup_menu, Fx_popup_dialog): Check for tool-bar | |
171 position like menu-bar. | |
172 | |
32177 | 173 2000-10-05 Gerd Moellmann <gerd@gnu.org> |
174 | |
175 * keyboard.c (Frecursive_edit): Make sure redisplay can happen. | |
176 | |
177 * xdisp.c (handle_single_display_prop): Use safe_call1. | |
178 (safe_call): Renamed from call_function. | |
179 (safe_call1): New function. | |
180 (handle_fontified_prop): Use safe_call1 instead of call1. | |
181 (safe_eval): Renamed from eval_form. | |
182 (safe_eval_handler): Renamed from eval_handler. | |
183 (handle_single_display_prop, display_mode_element): Use safe_eval | |
184 instead of eval_form. | |
185 | |
186 * xfaces.c (merge_face_heights): Use safe_call instead of | |
187 call_function. | |
188 | |
189 * keyboard.c (show_help_echo): Use safe_call instead of | |
190 call_function; use safe_eval instead of eval_form. | |
191 | |
192 * lisp.h (safe_call): Renamed from call_function. | |
193 (safe_eval): Renamed from eval_form. | |
194 (safe_call1): Add prototype. | |
195 | |
32165 | 196 2000-10-05 Miles Bader <miles@lsi.nec.co.jp> |
197 | |
198 * xfns.c (image_ascent): Rearrange ascent calculation for the | |
199 has-a-font case. | |
200 | |
32146
e5229d4b9f90
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32142
diff
changeset
|
201 2000-10-04 Stefan Monnier <monnier@cs.yale.edu> |
e5229d4b9f90
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32142
diff
changeset
|
202 |
e5229d4b9f90
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32142
diff
changeset
|
203 * 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
|
204 (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
|
205 |
32142 | 206 2000-10-04 Gerd Moellmann <gerd@gnu.org> |
207 | |
208 * keyboard.c (update_menu_bindings): New variable. | |
209 (parse_menu_item): Use AREF. If update_menu_bindings | |
210 is 0, don't update menu bindings. | |
211 (syms_of_keyboard): New Lisp variable `update-menu-bindings'. | |
212 | |
32100 | 213 2000-10-03 Eli Zaretskii <eliz@is.elta.co.il> |
214 | |
215 * alloc.c (Fgarbage_collect): Prevent compiler warning for a call | |
216 to `mark_object'. | |
217 | |
32088
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
218 2000-10-02 Stefan Monnier <monnier@cs.yale.edu> |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
219 |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
220 * syntax.c (forw_comment): Match nestedness of ender/starter. |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
221 (Fforward_comment): Treat an unmatched \n comment-ender as whitespace. |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
222 (prev_char_comstart_first): Remove. |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
223 (back_comment): Check two-char comment markers more carefully |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
224 to better handle overlapping cases like *//* or /* */* */ ... |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
225 Match nestedness of ender/starter. |
cd19a69a3759
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32075
diff
changeset
|
226 |
32075 | 227 2000-10-02 Dave Love <fx@gnu.org> |
228 | |
229 * config.in (HAVE_GAI_STRERROR): Add undef. | |
230 | |
231 * process.c (Fopen_network_stream): Use it. | |
232 | |
233 * m/alpha.h (NO_REMAP): Don't define. | |
234 | |
32068 | 235 2000-10-02 Gerd Moellmann <gerd@gnu.org> |
236 | |
237 * lisp.h (wrong_type_argument): Remove NO_RETURN, the function can | |
238 return with a string converted to an integer or vice versa when | |
239 Vmocklisp_arguments is t. | |
240 (Fsignal): Likewise. The function can return for `quit'. | |
241 (struct gcpro): Declare member `var' to point to a volatile | |
242 Lisp_Object. | |
243 | |
244 * eval.c (error): Prevent compiler warning. | |
245 | |
32039
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
246 2000-09-30 Stefan Monnier <monnier@cs.yale.edu> |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
247 |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
248 * keymap.c (keymap_memberp): New function. |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
249 (Fset_keymap_parent): Use it. |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
250 (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
|
251 Use keymap_memberp to avoid creating cycles. |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
252 (access_keymap): Use KEYMAPP. |
8c8661e981c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
32034
diff
changeset
|
253 |
32034 | 254 2000-09-30 Gerd Moellmann <gerd@gnu.org> |
255 | |
256 * process.c (Fopen_network_stream) [HAVE_GETADDRINFO]: Use | |
32068 | 257 gai_strerror. Make sure xerrno is set if connect fails. Improve |
258 error recovery. | |
32034 | 259 |
32021 | 260 2000-09-29 Jason Rumney <jasonr@gnu.org> |
261 | |
262 * w32term.c (w32_char_font_type, w32_encode_char) | |
263 (x_produce_glyphs): Distinguish single and multibyte BDF fonts. | |
264 (w32_bdf_per_char_metric): New function. | |
265 (w32_per_char_metric): Use it. | |
266 (x_draw_glyph_string_background): Always draw background for BDF | |
267 glyphs. | |
268 | |
269 * w32bdf.h (glyph_struct, cache_bitmap): Cache bitmap data, not | |
270 GDI object which is a scarce resource. | |
271 | |
272 * w32bdf.c (search_file_line): Fix skipping of whitespace. | |
273 (get_quoted_string): Fix limit on memchr search. | |
274 (set_bdf_font_info): Use unsigned chars. Negate yoffset. | |
275 (w32_init_bdf_font): Initialize codepoint and bitmap heaps. | |
276 (w32_free_bdf_font): Free bitmaps and codepoints on heaps. | |
277 (get_cached_font_char, cache_char_offset): Use macro | |
278 BDF_CODEPOINT_RANGE_COVER_P. | |
279 (cache_char_offset): Use HeapAlloc to allocate codepoints on own heap. | |
280 (clear_cached_bitmap_slots): New function. | |
281 (GET_HEX_VALUE): G-Z, g-z are not hex. | |
282 (w32_get_bdf_glyph): Convert to DIB format. Return bytes read. | |
283 (get_bitmap_with_cache): Use new cache implementation. | |
284 (create_offscreen_bitmap): New function. | |
285 (w32_BDF_TextOut): Use it. Draw glyphs as DIBs. | |
286 | |
287 * w32term.c (x_produce_glyphs): If the distance from the current | |
288 position to the next tab stop is less than a canonical character | |
289 width, use the tab stop after that. | |
290 (x_draw_glyphs): Handle case START and END are out of bounds more | |
291 carefully. | |
292 (x_clear_mouse_face): Block/unblock input. | |
293 (x_display_and_set_cursor): Don't show a hollow box cursor for | |
294 buffers whose cursor_type is nil. | |
295 | |
32001 | 296 2000-09-29 Gerd Moellmann <gerd@gnu.org> |
297 | |
298 * xfns.c (x_set_tool_bar_lines): Clear frame when tool bar | |
299 disappears. | |
300 | |
301 * dispextern.h (updating_frame): Declare extern. | |
302 | |
31998 | 303 2000-09-29 Andreas Schwab <schwab@suse.de> |
304 | |
305 * m/ia64.h: Remove hack of not prototyping bcopy, etc. | |
306 | |
31992 | 307 2000-09-29 Gerd Moellmann <gerd@gnu.org> |
308 | |
31996 | 309 * keyboard.c (menu_bar_one_keymap): If KEYMAP is a symbol, |
310 use its function definition. | |
311 (tool_bar_items): Likewise. | |
312 | |
31992 | 313 * lisp.h (fatal): Declare NO_RETURN. |
314 | |
31988 | 315 2000-09-29 Kenichi Handa <handa@etl.go.jp> |
316 | |
317 * keymap.c: Remove the line "#undef NULL". | |
318 | |
31953 | 319 2000-09-28 Gerd Moellmann <gerd@gnu.org> |
320 | |
321 * xterm.c (x_make_frame_visible): Try harder to make the frame | |
322 visible. | |
323 | |
31946 | 324 2000-09-28 Dave Love <fx@gnu.org> |
325 | |
31959 | 326 * s/osf5-0.h: Define USE_MMAP_FOR_BUFFERS, not REL_ALLOC_MMAP. |
327 | |
32002 | 328 * s/sunos413.h (USE_MMAP_FOR_BUFFERS): Define. |
329 | |
330 * .gdbinit (xreload): Note its need on GNU/Linux. | |
331 | |
31946 | 332 * m/alpha.h (XUINT) [REL_ALLOC && _MALLOC_INTERNAL]: Don't declare |
333 r_alloc, r_alloc_free. | |
334 | |
31943 | 335 2000-09-28 Kenichi Handa <handa@etl.go.jp> |
336 | |
337 * syntax.c (skip_chars): Handle negation correctly. | |
338 | |
31936 | 339 2000-09-27 Gerd Moellmann <gerd@gnu.org> |
340 | |
31941 | 341 * xfaces.c (realize_default_face): Call set_lface_from_font_name |
342 with non-zero FORCE_P argument. | |
343 | |
31936 | 344 * dispnew.c (adjust_glyph_matrix, enable_glyph_matrix_rows): |
345 Add assertions. | |
346 | |
347 * xdisp.c (window_box_height): Add an assertion. | |
348 | |
349 * xfns.c (x_set_tool_bar_lines): Don't use more lines for the | |
350 tool-bar than is available. | |
351 (x_change_window_heights): Renamed from x_set_menu_bar_lines_1. | |
352 | |
31926 | 353 2000-09-27 Dave Love <fx@gnu.org> |
354 | |
31946 | 355 * s/irix6-5.h: Now works 64-bit. Tidied. |
31926 | 356 |
31898 | 357 2000-09-26 Gerd Moellmann <gerd@gnu.org> |
358 | |
31908 | 359 * lisp.h (XINT) [EXPLICIT_SIGN_EXTEND]: Use BITS_PER_EMACS_INT |
360 instead of BITS_PER_INT. | |
361 (XINT, XUINT) [NO_UNION_TYPE]: Cast result to EMACS_INT and | |
362 EMACS_UINT, respectively. | |
363 (NO_UNION_TYPE) [USE_LISP_UNION_TYPE]: Undefine. | |
364 | |
365 * m/sparc.h (BITS_PER_EMACS_INT) [__arch64__]: Don't define. | |
366 | |
367 * unexelf.c (ELFSIZE) [__NetBSD__ && __sparc_v9__]: Define to 64. | |
368 | |
31904 | 369 * window.c (freeze_window_starts): Construct last argument for |
370 foreach_window differently. | |
371 | |
372 * xfns.c (x_decode_color): Don't return a Lisp_Object. | |
373 | |
374 * lisp.h (union Lisp_Object) [!NO_UNION_TYPE]: Use EMACS_INT and | |
375 EMACS_UINT instead of `int' and `unsigned int'. | |
376 (XSET) [EXPLICIT_SIGN_EXTEND]: Use EMACS_INT instead of `int'. | |
377 | |
378 * frame.h (struct frame): Make the `nothing' member of union | |
379 output_data an EMACS_INT. | |
380 | |
31898 | 381 * alloc.c (GC_CHECK_STRING_BYTES): Temporarily define, for bug |
382 hunting. | |
383 (struct sdata) [GC_CHECK_STRING_BYTES]: Always record the string's | |
384 size in the sdata structure. | |
385 (SDATA_NBYTES, SDATA_DATA): New macros. | |
386 (SDATA_OF_STRING, SDATA_SIZE) [GC_CHECK_STRING_BYTES]: Define | |
387 differently for the different layout of the sdata structure. | |
388 (allocate_string_data) [GC_CHECK_STRING_BYTES]: Record string size | |
389 in sdata. | |
390 (sweep_strings, compact_small_strings) [GC_CHECK_STRING_BYTES]: | |
391 Check that size recorded in the string size and size recorded in | |
392 the sdata structure agree. | |
393 | |
31893 | 394 2000-09-25 Dave Love <fx@gnu.org> |
395 | |
396 * buffer.c: Include stdio.h. | |
397 | |
398 Partly suggested by Eduardo Horvath <eeh@netbsd.org>. | |
399 | |
400 * ralloc.c (__malloc_extra_blocks): Declare as __malloc_size_t. | |
401 | |
402 * alloc.c (__malloc_size_t) [DOUG_LEA_MALLOC]: Don't redefine it. | |
403 (__malloc_size_t) [!DOUG_LEA_MALLOC]: Define unconditionally as | |
404 size_t. | |
405 (__malloc_extra_blocks): Declare as __malloc_size_t. | |
406 | |
31867 | 407 2000-09-25 Gerd Moellmann <gerd@gnu.org> |
408 | |
31890 | 409 * alloc.c (mark_image): Use GC_NILP instead of NILP. |
410 | |
31881 | 411 * keyboard.c (show_help_echo): Set help_echo_showing_p. |
412 (read_char): If help-echo is showing, preserve the echo area | |
413 when redisplaying. | |
414 | |
415 * xdisp.c (help_echo_showing_p): New variable. | |
416 (set_message): Reset it to 0. | |
417 (init_xdisp): Initialize help_echo_showing_p. | |
418 | |
419 * dispextern.h (help_echo_showing_p): Declare extern. | |
420 | |
421 * config.in: Fix typo in __GNUC_MINOR__. | |
422 | |
423 * keyboard.h (quit_throw_to_read_char): Declare NO_RETURN. | |
424 | |
31872 | 425 * s/freebsd.h (POSIX_SIGNALS): Define. |
426 | |
31867 | 427 * xterm.c (x_clear_mouse_face): Block/unblock input. |
428 | |
31866 | 429 2000-09-24 Dave Love <fx@gnu.org> |
430 | |
431 * fns.c (base64_encode_1): Fix last change. | |
432 | |
31851 | 433 2000-09-22 Gerd Moellmann <gerd@gnu.org> |
434 | |
435 * dispnew.c (enable_glyph_matrix_rows): Remove xasserts. | |
436 | |
437 * xdisp.c (try_window_reusing_current_matrix): More fixes | |
438 for the case window has a header-line. | |
439 | |
31843 | 440 2000-09-22 Dave Love <fx@gnu.org> |
441 | |
31848 | 442 * xdisp.c (syms_of_xdisp): Defvar Vmenu_bar_update_hook to provide |
443 a doc string. | |
444 | |
445 * xterm.c [SOLARIS2]: Remove redundant include of string.h. | |
446 | |
31843 | 447 * fns.c (Fstring_as_unibyte, Fstring_as_multibyte): Doc fix. |
448 | |
31805 | 449 2000-09-21 Gerd Moellmann <gerd@gnu.org> |
450 | |
31848 | 451 * config.in (NO_RETURN): Define as `__attribute__((__noreturn__))' |
31834 | 452 for GCC >= 2.5. |
453 | |
454 * lisp.h (wrong_type_argument, Fthrow, Fsignal, error): Declare | |
455 NO_RETURN. | |
456 | |
31831 | 457 * window.c, term.c, xmenu.c, xrdb.c, emacs.c, macros.c, |
458 * keymap.c, insdel.c, marker.c, minibuf.c, fileio.c, dired.c, | |
459 * indent.c, search.c, alloc.c, data.c: Avoid some more compiler | |
460 warnings. | |
461 | |
462 * marker.c (byte_char_debug_check): Return void. | |
463 | |
31827 | 464 * xfns.c (Fx_create_frame): Set default frame parameter value |
465 for tool-bar-lines to 1. | |
466 | |
467 * dispnew.c (scrolling_window): Compare y-positions of rows | |
468 equal at the start. Some simplification. | |
469 | |
470 * xdisp.c (try_window_reusing_current_matrix): Fix computation of | |
471 reused rows' y-position in the case window has a header-line, and | |
472 new window start is greater than old window start. | |
473 | |
31807 | 474 * process.c (process_sent_to): New variable. |
475 (send_process): Workaround for a crash on sparc-sun-solaris-2.6 | |
476 with GCC 2.95.2 caused by a parameter being clobbered by longjmp. | |
477 Declare more parameters volatile. | |
478 | |
31805 | 479 * lread.c (Vrecursive_load_depth_limit): New variable. |
480 (Fload): Check recursive loads whose recursion depth exceeds | |
481 Vrecursive_load_depth_limit. | |
482 (syms_of_lread): DERFAR_LISP recursive-load-depth-limit. | |
483 | |
31763 | 484 2000-09-20 Gerd Moellmann <gerd@gnu.org> |
485 | |
31776 | 486 * fileio.c (Fread_file_name): Doc fix. |
487 | |
488 * editfns.c (Fmessage_or_box): Doc fix. | |
489 | |
490 * fns.c (Fy_or_n_p, Fyes_or_no_p): Doc fix. | |
491 | |
31770 | 492 * xfns.c (xbm_scan): Allow C-style comments. |
493 | |
31763 | 494 * xfns.c (xpm_init_color_cache) [ALLOC_XPM_COLORS]: If color |
495 symbols are specified, add color translations to the cache. | |
496 (xpm_color_bucket, xpm_cache_color) [ALLOC_XPM_COLORS]: New | |
497 functions. | |
498 (xpm_lookup_color) [ALLOC_XPM_COLORS]: Use xpm_color_bucket and | |
499 xpm_cache_color. | |
500 (xpm_load) [ALLOC_XPM_COLORS]: Pass frame and XPM attributes | |
501 structures to xpm_init_color_cache. | |
502 | |
31733 | 503 2000-09-19 Gerd Moellmann <gerd@gnu.org> |
504 | |
505 * dispnew.c (update_window_line): Make sure to always draw | |
506 mode-lines. | |
507 | |
31713 | 508 2000-09-19 Andrew Innes <andrewi@gnu.org> |
509 | |
510 * makefile.nt (bootstrap-emacs): Don't change directory. | |
511 | |
31701 | 512 2000-09-19 Kenichi Handa <handa@etl.go.jp> |
513 | |
31704 | 514 * charset.h (UNIBYTE_STR_AS_MULTIBYTE_P): Fix previous change. |
515 | |
31701 | 516 * ccl.c (Fccl_execute_on_string): Make multibyte string correctly. |
517 If output buffer is too small, signal an appropriated error. | |
518 | |
31698 | 519 2000-09-18 Dave Love <fx@gnu.org> |
520 | |
521 * keyboard.c (menu_bar_items, tool_bar_items) | |
522 (current_active_maps): Remove redundant get_local_map call. | |
523 | |
31687 | 524 2000-09-18 Gerd Moellmann <gerd@gnu.org> |
525 | |
31700 | 526 * xterm.c (x_display_and_set_cursor): Don't show a hollow box |
527 cursor for buffers whose cursor_type is nil. | |
528 | |
31696 | 529 * xterm.c (x_draw_image_glyph_string): Remove a comment describing |
530 a feature to implement that is already implemented. | |
531 (note_mouse_highlight, x_find_ccl_program): Avoid some compiler | |
532 warnings. | |
533 | |
534 * xfns.c (x_clear_image_1): New function. | |
535 (x_clear_image): Use it. | |
536 (x_from_xcolors): Use x_clear_image_1; don't free the image's | |
537 mask. | |
538 | |
31692 | 539 * dispnew.c (update_window): Move test for invisible lines |
540 at the top to update_window_line. | |
541 (update_window_line): Handle invisible lines here. | |
542 | |
31689 | 543 * xfns.c (clear_image_cache): Clear current matrices of all |
544 frames sharing an image cache. Block input while freeing | |
545 images. Fix timestamp comparison. | |
546 (x_clear_image): Also free the mask. | |
547 | |
31687 | 548 * xfns.c (lookup_image): Block input while loading the image so |
549 that we won't get interrupted in a state where the image isn't yet | |
550 set up completely. | |
551 (xbm_load_image, xbm_load, xpm_load, xpm_load, lookup_rgb_color) | |
552 (lookup_pixel_color, x_to_xcolors, x_from_xcolors) | |
553 (x_disable_image, x_build_heuristic_mask, pbm_load, png_load) | |
554 (jpeg_load, tiff_load, gif_load, gs_load): Don't block/unblock | |
555 input. | |
556 | |
31654 | 557 2000-09-16 Gerd Moellmann <gerd@gnu.org> |
558 | |
559 * dispnew.c (update_window): Make sure to make desired rows | |
560 current even if they are completely invisible at the top | |
561 of a window. | |
562 | |
31636 | 563 2000-09-15 Gerd Moellmann <gerd@gnu.org> |
564 | |
31652 | 565 * xfns.c (lookup_image): Build mask before applying an algorithm. |
566 Recognize algorithm `disabled'. | |
567 (cross_disabled_images): New variable. | |
568 (COLOR_INTENSITY): New macro. | |
569 (x_detect_edges): Use COLOR_INTENSITY. | |
570 (x_disable_image): New function. | |
571 (syms_of_xfns): DEFVAR_BOOL cross_disabled_images. | |
572 | |
573 * xdisp.c (build_desired_tool_bar_string): For a toolbar item in | |
574 disabled state, don't apply an image transformation algorithm if | |
575 the user specified an image for the disabled state. Use | |
31687 | 576 `:algorithm disabled' for creating a disabled item's image if the |
31652 | 577 user hasn't specified an image. |
578 | |
31639 | 579 * xfns.c (ALLOC_XPM_COLORS): Define if we can use Emacs' color |
580 allocation functions with the XPM lib. | |
581 (struct xpm_cached_color) [ALLOC_XPM_COLORS]: New structure. | |
582 (XPM_COLOR_CACHE_BUCKETS) [ALLOC_XPM_COLORS]: New macro. | |
583 (xpm_color_cache) [ALLOC_XPM_COLORS]: New variable. | |
584 (xpm_init_color_cache, xpm_free_color_cache, xpm_lookup_color) | |
585 (xpm_alloc_color, xpm_free_colors) [ALLOC_XPM_COLORS]: New | |
586 functions. | |
587 (xpm_load) [ALLOC_XPM_COLORS]: Use Emacs' own color allocation | |
588 functions, if possible, because these handle color allocation | |
589 failure more gracefully. | |
590 (Fimage_mask_p): New function. | |
591 | |
31636 | 592 * xfns.c (QCmatrix, QCcolor_adjustment, QCmask, Qemboss) |
593 (Qedge_detection, Qheuristic): New symbols. | |
594 (syms_of_xfns): Initialize new symbols. | |
595 (lookup_image): Handle `:mask X', `:algorithm emboss', and | |
596 `algorithm (edge-detection ...)'. | |
597 (xbm_format, xpm_format, pbm_format, png_format, jpeg_format): | |
598 (tiff_format, gif_format, gs_format): Add `:mask'. | |
599 (XBM_MASK, XPM_MASK, PBM_MASK, PNG_MASK, JPEG_MASK, TIFF_MASK) | |
600 (GIF_MASK, GS_MASK): New enumerators. | |
601 (x_laplace_read_row, x_laplace_write_row): Functions removed. | |
602 (emboss_matrix, laplace_matrix): New variables. | |
603 (x_to_xcolors, x_from_xcolors, x_detect_edges, x_emboss) | |
604 (x_edge_detection): New functions. | |
605 (x_laplace): Rewritten in terms of x_detect_edges. | |
606 (x_build_heuristic_mask): If image has a mask, free it. | |
607 | |
31632 | 608 2000-09-14 Andrew Innes <andrewi@gnu.org> |
609 | |
610 * makefile.w32-in: Revert to Unix line endings. | |
611 | |
31630 | 612 2000-09-14 Andrew Innes <andrewi@gnu.org> |
613 | |
614 * makefile.w32-in: Standardize indentation somewhat. | |
615 (bootstrap-temacs): Use $(ARGQUOTE) instead of literal quotes, to | |
616 cater for differences between shells. | |
617 | |
618 * w32term.c (w32_per_char_metric): Handle non-TrueType fonts. | |
619 | |
31615 | 620 2000-09-14 Gerd Moellmann <gerd@gnu.org> |
621 | |
622 * xterm.c (x_produce_glyphs): If the distance from the current | |
623 position to the next tab stop is less than a canonical character | |
624 width, use the tab stop after that. | |
625 | |
31613 | 626 2000-09-14 Dave Love <fx@gnu.org> |
627 | |
628 * buffer.c (alloc_buffer_text): Fix xmalloc call. | |
629 | |
31607 | 630 2000-09-14 Gerd Moellmann <gerd@gnu.org> |
631 | |
31611 | 632 * xdisp.c (handle_fontified_prop): While running fontification |
633 functions, bind `fontification-functions' and | |
634 `after-change-functions' to nil. | |
635 | |
31607 | 636 * s/freebsd.h, s/irix-5.0.h, s/sol2.h, s/template.h |
637 (USE_MMAP_FOR_BUFFERS): Define instead of REL_ALLOC_MMAP. | |
638 | |
639 * Makefile.in (mallocobj) [SYSTEM_MALLOC]: Don't add ralloc.o. | |
640 | |
641 * emacs.c: Change conditional compilation on REL_ALLOC_MMAP to | |
642 USE_MMAP_FOR_BUFFERS. | |
643 | |
644 * insdel.c (make_gap): Use enlarge_buffer_text. | |
645 | |
646 * buffer.c: Move allocation with mmap here, from ralloc.c. Change | |
647 conditional compilation on REL_ALLOC_MMAP to USE_MMAP_FOR_BUFFERS. | |
648 (mmap_alloc, mmap_free, mmap_realloc) [REL_ALLOC_MMAP]: Renamed | |
649 from former r_alloc_* functions in ralloc.c. | |
650 (mmap_page_size, mmap_initialized_p) [REL_ALLOC_MMAP]: New | |
651 variables. | |
652 (MEM_ALIGN) [REL_ALLOC_MMAP]: New macro. | |
653 (mmap_init) [REL_ALLOC_MMAP]: New function. | |
654 (alloc_buffer_text, enlarge_buffer_text, free_buffer_text): New | |
655 functions replacing macros BUFFER_ALLOC, BUFFER_REALLOC, and | |
656 BUFFER_FREE. | |
657 | |
658 * buffer.h (BUFFER_ALLOC, BUFFER_REALLOC, BUFFER_FREE): Removed. | |
659 (enlarge_buffer_text): Add prototype. | |
660 | |
661 * ralloc.c: Remove everything having to do with the use of mmap. | |
662 | |
31577 | 663 2000-09-13 Gerd Moellmann <gerd@gnu.org> |
664 | |
31588 | 665 * sound.c (Fplay_sound): Doc fix. |
666 | |
31580 | 667 * keyboard.c: Avoid some more compiler warnings. |
668 (parse_tool_bar_item): Ignore cached key bindings. | |
669 | |
31577 | 670 * alloc.c: Add some comments about DOUG_LEA_MALLOC's use of mmap |
671 and allocation of Lisp data. | |
672 | |
31555 | 673 2000-09-12 Gerd Moellmann <gerd@gnu.org> |
674 | |
31571 | 675 * xfaces.c: Remove conditional compilation on SCALABLE_FONTS. |
676 (Finternal_set_lisp_face_attribute): If frame is 0, set new frame | |
677 defaults first. | |
678 | |
31555 | 679 * lread.c (Fload): Put code checking for recursive loads in #if 0. |
680 | |
31550 | 681 2000-09-12 Miyashita Hisashi <himi@meadowy.org> |
682 | |
683 * ccl.c: Comment fixed. | |
684 (MAX_MAP_SET_LEVEL): Increased to 30. | |
685 (PUSH_MAPPING_STACK): Enclose with do-while block. | |
686 (POP_MAPPING_STACK): Likewise. | |
687 (stack_idx_of_map_multiple): New variable. | |
688 (CCL_CALL_FOR_MAP_INSTRUCTION): New macro. | |
689 (ccl_driver) <CCL_IterateMultipleMap>: If the content is a symbol, | |
690 call the corresponding CCL program by | |
691 CCL_CALL_FOR_MAP_INSTRUCTION. | |
692 (ccl_driver) <CCL_MapSingle>: Likewise. | |
693 (ccl_driver) <CCL_MapMultiple>: Rewritten to fix many bugs, deal | |
694 with the case where looking up process reaches to the end of | |
695 map-set, and call CCL programs as the above change. | |
696 | |
31535 | 697 2000-09-11 Gerd Moellmann <gerd@gnu.org> |
698 | |
31544 | 699 * xfns.c (png_load, jpeg_load): Declare some variables volatile |
700 that might be clobbered by longjmp. | |
701 (check_x_display_info, x_decode_color, create_frame_xic) | |
702 (Fx_display_backing_store, Fx_display_visual_class) | |
703 (x_build_heuristic_mask, pbm_scan_number): Avoid compiler | |
704 warnings. | |
705 | |
31537 | 706 * lread.c (init_lread): Set Vloads_in_progress to nil. |
707 (Fload): Show list of recursively loaded files, when signaling an | |
708 error. | |
709 | |
31535 | 710 * lread.c (Vloads_in_progress): New variable. |
711 (record_load_unwind): New function. | |
712 (Fload): Check for recursive loads. | |
713 (syms_of_lread): Initialize Vloads_in_progress. | |
714 (read_integer, read1): Avoid some compiler warnings. | |
715 | |
716 * fns.c (concat, Fsubstring, internal_equal, Fnconc): Avoid some | |
717 compiler warnings. | |
718 | |
31532 | 719 2000-09-11 Miles Bader <miles@gnu.org> |
720 | |
721 * editfns.c (Fbuffer_string): Doc fix. | |
722 | |
31526 | 723 2000-09-10 Gerd Moellmann <gerd@gnu.org> |
724 | |
725 * ralloc.c (mmap_enlarge): Don't return 0 if successful. | |
726 | |
31524
3935d834ff04
s/netbsd.h: NO_C_SOURCE->NOT_C_CODE
Ken Raeburn <raeburn@raeburn.org>
parents:
31523
diff
changeset
|
727 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
|
728 |
3935d834ff04
s/netbsd.h: NO_C_SOURCE->NOT_C_CODE
Ken Raeburn <raeburn@raeburn.org>
parents:
31523
diff
changeset
|
729 * 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
|
730 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
|
731 |
31523 | 732 2000-09-09 Gerd Moellmann <gerd@gnu.org> |
733 | |
734 * xfaces.c (CYCLE_CHECK): Don't use the Lisp_Object returned | |
31527 | 735 by Fmemq as a boolean. |
31523 | 736 |
31521
8fa910d9155b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31516
diff
changeset
|
737 2000-09-08 Stefan Monnier <monnier@cs.yale.edu> |
8fa910d9155b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31516
diff
changeset
|
738 |
8fa910d9155b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31516
diff
changeset
|
739 * xfaces.c (Finternal_set_lisp_face_attribute): Minor thinko. |
8fa910d9155b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31516
diff
changeset
|
740 |
31490 | 741 2000-09-08 Gerd Moellmann <gerd@gnu.org> |
742 | |
31516 | 743 * ralloc.c (mmap_fd): Remove initializer which can make it |
744 read-only in a dumped Emacs. | |
745 (mmap_fd_1): New variable. | |
746 (mmap_set_vars): Remove local `fd'. Save mmap_fd in mmap_fd_1, | |
747 restore it from there. | |
748 (r_alloc, r_re_alloc, r_alloc_free): Call r_alloc_init | |
749 unconditionally so that mmap_fd can be initialized there. | |
750 (r_alloc_init_fd): Open-coded in r_alloc_init; function removed. | |
751 (r_alloc_init) [REL_ALLOC_MMAP && !MAP_ANON]: Open /dev/zero. | |
752 (r_alloc_init) [REL_ALLOC_MMAP && MAP_ANON]: Set mmap_fd to -1. | |
753 | |
31508 | 754 * xfaces.c (Finternal_merge_in_global_face): Return a Lisp object. |
755 | |
756 * xdisp.c (dump_glyph_row): Fix printf format string. | |
757 (display_line, move_it_in_display_line_to): Avoid compiler | |
758 warnings. | |
759 | |
31502 | 760 * s/freebsd.h (GC_MARK_STACK, REL_ALLOC_MMAP): Define. |
761 | |
31497 | 762 * keymap.c (Fset_keymap_parent): Check for cycles in keymap |
763 inheritance. | |
764 | |
31494 | 765 * xdisp.c (try_window_id): When trying to locate cursor in |
766 unchanged rows at the top, handle the case that we can't find it. | |
767 | |
31490 | 768 * xterm.c (x_draw_glyphs): Handle case START and END are out |
769 of bounds more carefully. | |
770 | |
31488 | 771 2000-09-08 Dave Love <fx@gnu.org> |
772 | |
31505 | 773 * s/sol2.h (REL_ALLOC_MMAP): Define. |
774 * s/irix5-0.h (REL_ALLOC_MMAP): Likewise. | |
775 | |
776 * ralloc.c: Don't include string.h (redundant). | |
777 (MAP_ANON) [REL_ALLOC_MMAP]: Ensure it's defined. | |
778 [!MAP_ANON]: Include fcntl.h. | |
779 (mmap_fd) [REL_ALLOC_MMAP]: New variable. | |
780 (r_alloc, r_re_alloc, r_alloc_free) | |
781 (mmap_enlarge, mmap_set_vars): Use it. | |
782 (r_alloc_init_fd): New function. | |
783 (__morecore) [SYSTEM_MALLOC]: Don't declare. | |
784 (r_alloc_init): Call r_alloc_init_fd. Conditionalize stuff on | |
785 malloc type. | |
786 | |
787 * Makefile.in (allocaobj) [!SYSTEM_MALLOC && REL_ALLOC_MMAP]: | |
788 Remove vm-limit.o. | |
789 | |
31488 | 790 * unexelf.c (SHT_MIPS_DEBUG, HDRR) [__mips__]: Really confine last |
791 change to __NetBSD__. | |
792 | |
31485 | 793 2000-09-08 Kenichi Handa <handa@etl.go.jp> |
794 | |
795 * search.c (compile_pattern): Check the multibyteness of cached | |
796 string and PATTERN. | |
797 | |
31484 | 798 2000-09-08 Miles Bader <miles@gnu.org> |
799 | |
800 * xfaces.c (default_face_vector): Function removed. | |
801 (Finternal_merge_in_global_face): Restore old global/local | |
802 attribute override order. Use inline loop instead of calling | |
803 default_face_vector. | |
804 | |
31474 | 805 2000-09-07 Gerd Moellmann <gerd@gnu.org> |
806 | |
807 * ralloc.c (obtain, relinquish, relinquish, r_alloc_size_in_use) | |
808 (get_bloc, relocate_blocs, update_heap_bloc_correspondence) | |
809 (resize_bloc, r_alloc_sbrk, r_alloc_init): Add casts to `char *' | |
810 where necessary, in case POINTER_TYPE is `void'. | |
811 | |
31472 | 812 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il> |
813 | |
814 * frame.c (make_terminal_frame): Initialize frame foreground and | |
815 background colors to unspecified, for the initial instance of an | |
816 MSDOS frame. | |
817 | |
31467 | 818 2000-09-07 Gerd Moellmann <gerd@gnu.org> |
819 | |
31469 | 820 * ralloc.c (mmap_find): Fix overlap computation. |
821 (mmap_enlarge): Compute nbytes before trying to find an | |
822 overlapping region. | |
823 | |
31467 | 824 * xfaces.c (smaller_face): Compare font heights with `<' and `>' |
825 instead of `!='. | |
826 | |
827 * lread.c (syms_of_lread): Change value of regexp | |
828 Vbytecomp_version_regexp to not match some XEmacs-compiled files. | |
829 | |
830 * xmenu.c (xdialog_show): When looking up the selection in | |
831 menu_items, take `quote' boundaries into account; this corresponds | |
832 to a nil ITEM in x-popup-dialog. | |
833 | |
31454 | 834 2000-09-07 Kenichi Handa <handa@etl.go.jp> |
835 | |
31459 | 836 * charset.h (MIN_CHARSET_OFFICIAL_DIMENSION1): Define it as 0x80, |
837 not 0x81. | |
838 (MIN_CHAR_OFFICIAL_DIMENSION1): Define it as ((0x81 - 0x70) << 7). | |
839 | |
31454 | 840 * coding.c (encode_coding_sjis_big5): Use translation table for |
31456 | 841 encoding, not decoding. Fix the handling of latin-jisx0201. |
842 Check for the charset katakana-jisx0201 too. | |
31454 | 843 (ONE_MORE_CHAR): Call translate_char with CHARSET arg -1. |
31467 | 844 (detect_coding_sjis): Check the byte sequence more rigidly. |
31454 | 845 |
31441 | 846 2000-09-07 Gerd Moellmann <gerd@gnu.org> |
847 | |
31452 | 848 * xfaces.c (Vparam_value_alist): New variable. |
849 (syms_of_xfaces): Initialize it. | |
850 (Finternal_set_lisp_face_attribute): Avoid more consing. | |
851 | |
852 * frame.c (Fframe_parameter): Handle `name' and `background-mode' | |
853 specially. | |
854 (Fframe_parameter) [HAVE_X_WINDOWS]: Handle `display' specially. | |
855 (Qbackground_mode): New variable. | |
856 (syms_of_frame_1): Initialize Qbackground_mode. | |
857 | |
858 * lisp.h (Qdisplay): Declare extern. | |
31444 | 859 |
31441 | 860 * xfaces.c (Finternal_set_lisp_face_attribute): If FRAME is 0, |
861 change face on all frames, and change the default for new frames. | |
862 | |
31438 | 863 2000-09-07 Dave Love <fx@gnu.org> |
864 | |
865 * Makefile.in [!SYSTEM_MALLOC && REL_ALLOC_MMAP]: Set mallocobj. | |
866 | |
31418 | 867 2000-09-07 Kenichi Handa <handa@etl.go.jp> |
868 | |
31433 | 869 * charset.h (MAKE_CHAR): Be sure to set MSB of C1 to 0. |
870 | |
31432 | 871 * charset.c: Include composite.h |
872 (lisp_string_width): New function. | |
873 (Fstring_width): Call lisp_string_width instead of strwidth. | |
874 | |
875 * Makefile.in (charset.o): Depends on composite.h. | |
876 | |
31418 | 877 * process.c (read_process_output): Before inserting the decoded |
878 text in the buffer, adjust the multibyteness. | |
879 | |
31409 | 880 2000-09-06 Gerd Moellmann <gerd@gnu.org> |
881 | |
31417 | 882 * buffer.c (set_buffer_internal_1) [REL_ALLOC_MMAP]: If |
883 buffer's text buffer is null, map new memory. | |
884 | |
31415 | 885 * ralloc.c (POINTER, SIZE) [emacs]: Define in terms of |
886 POINTER_TYPE and size_t. | |
887 (struct mmap_region) [REL_ALLOC_MMAP]: New structure. | |
888 (mmap_regions, mmap_regions_1) [REL_ALLOC_MMAP]: New variables. | |
889 (ROUND, MMAP_REGION_STRUCT_SIZE, MMAP_REGION, MMAP_USER_AREA) | |
890 [REL_ALLOC_MMAP]: New macros. | |
891 (mmap_find, mmap_free, mmap_enlarge, mmap_set_vars) | |
892 (mmap_mapped_bytes, r_alloc, r_re_alloc, r_alloc_free) | |
893 [REL_ALLOC_MMAP]: New functions. | |
894 | |
895 * emacs.c (Fdump_emacs) [REL_ALLOC_MMAP]: Call mmap_set_vars | |
896 before and after unexec. | |
897 | |
898 * buffer.c (init_buffer) [REL_ALLOC_MMAP]: Map new buffer | |
899 text buffers if necessary. | |
900 | |
901 * buffer.h (R_ALLOC_DECLARE): Removed because unused. | |
902 (r_alloc, r_re_alloc, r_alloc_free): Use POINTER_TYPE and size_t | |
903 in prototypes. | |
904 | |
31409 | 905 * config.in (HAVE_MMAP): Add #undef. |
906 | |
31394 | 907 2000-09-05 Gerd Moellmann <gerd@gnu.org> |
908 | |
31402 | 909 * frame.c (Qdisplay_type): New variable. |
910 (syms_of_frame_1): Initialize it. | |
911 (Fframe_parameter): New function that avoids consing. | |
912 (syms_of_frame): Defsubr it. | |
913 | |
31396 | 914 * buffer.c (Fother_buffer): Consider buffers as invisible when |
915 they are displayed in a window on an invisible frame. | |
916 | |
31394 | 917 * window.c (window_loop) <GET_LARGEST_WINDOW>: Fix bug making |
918 get-largest-window always return nil. | |
919 | |
31368 | 920 2000-09-04 Gerd Moellmann <gerd@gnu.org> |
921 | |
922 * lread.c (syms_of_lread): Make Vbytecomp_version_regexp a Lisp | |
923 variable; recognize Emacs 19 elc files. | |
924 | |
31366 | 925 2000-09-04 Miles Bader <miles@gnu.org> |
926 | |
927 * xmenu.c (xmenu_show): Call x_set_menu_resources_from_menu_face | |
928 before initially popping up the menu, so the menu doesn't flash | |
929 when the face settings are significantly different from the | |
930 defaults. | |
931 | |
31360
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
932 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
|
933 |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
934 * regex.c (WIDE_CHAR_SUPPORT): New macro. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
935 (btowc, iswctype, wctype) [_LIBC]: Redefine to __<fun>. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
936 (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
|
937 (BIT_UNIBYTE): Remove. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
938 (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
|
939 BIT_MULTIBYTE case to not bother checking ISUNIBYTE. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
940 (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
|
941 (re_wctype_t): New type. |
b8513fe83893
(WIDE_CHAR_SUPPORT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31359
diff
changeset
|
942 (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
|
943 (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
|
944 |
31352 | 945 2000-09-03 Andrew Innes <andrewi@gnu.org> |
946 | |
31359 | 947 * makefile.w32-in: Change to DOS line endings. |
948 | |
31352 | 949 * s/ms-w32.h (ORDINARY_LINK): New define. |
950 | |
951 * w32.c (_ANONYMOUS_UNION) [__GNUC__]: New define | |
952 (_ANONYMOUS_STRUCT) [__GNUC__]: New define. | |
953 | |
954 * makefile.w32-in (clean): Don't delete config.h and epaths.h. | |
955 (distclean): Delete them here instead. | |
956 | |
31355 | 957 * w32proc.c (compare_env): Convert to uppercase for comparison, |
958 not lowercase, to match how the native Windows shell works. | |
959 | |
31346 | 960 2000-09-03 Jason Rumney <jasonr@gnu.org> |
961 | |
962 * ChangeLog: Remove -unix from coding. Let Emacs autodetect, as | |
963 CVS changes the line-ends when checking in/out on DOS/Windows. | |
964 | |
965 * makefile.nt (emacs): Do not change directory to run temacs, as | |
966 the load-path is set relative to current directory. | |
967 | |
31342 | 968 2000-09-03 Miles Bader <miles@gnu.org> |
969 | |
970 * xterm.c (x_alloc_lighter_color_for_widget): New function. | |
971 | |
31333 | 972 2000-09-02 Gerd Moellmann <gerd@gnu.org> |
973 | |
31339 | 974 * xdisp.c (redisplay_mode_lines): New function. |
975 (display_mode_lines): Return number of mode lines displayed. | |
976 (echo_area_display): Use redisplay_mode_lines to draw garbaged | |
977 mode lines. Don't temporarily bind redisplay-dont-pause to t. | |
978 | |
31337 | 979 * emacs.c, callint.c, doc.c, editfns.c: Remove includes of |
980 string.h and strings.h. | |
981 (index) [HAVE_INDEX]: Add prototype. | |
982 | |
31333 | 983 * unexelf.c (SHT_PROGBITS) [__NetBSD__ && !PT_LOAD]: Don't define. |
984 (SHT_MIPS_DEBUG, HDRR) [__NetBSD__ && __mips__]: Define. | |
985 | |
986 * s/netbsd.h [!NO_C_SOURCE]: Include <signal.h>. | |
987 (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
988 | |
31316 | 989 2000-09-01 Gerd Moellmann <gerd@gnu.org> |
990 | |
991 * lread.c (read1): Accept `?' as symbol constituent, for | |
992 compatiblity with XEmacs. | |
993 | |
31312
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
994 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
|
995 |
e6b19a60e035
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31308
diff
changeset
|
996 * 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
|
997 (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
|
998 * 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
|
999 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
|
1000 (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
|
1001 (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
|
1002 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
|
1003 (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
|
1004 (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
|
1005 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
|
1006 (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
|
1007 |
31308 | 1008 2000-08-31 Gerd Moellmann <gerd@gnu.org> |
1009 | |
1010 * lread.c (openp): GCPRO local variable `filename'. | |
1011 | |
31300
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1012 2000-08-30 Stefan Monnier <monnier@cs.yale.edu> |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1013 |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1014 * 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
|
1015 |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1016 * regex.c: Merge some changes from GNU libc. Add prototypes. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1017 (bcopy, bcmp, REGEX_REALLOCATE, re_match_2_internal): |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1018 Use memcmp and memcpy instead of bcopy and bcmp. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1019 (init_syntax_once): Use ISALNUM. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1020 (PUSH_FAILURE_POINT, re_match_2_internal): Remove failure_id. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1021 (REG_UNSET_VALUE): Remove. Use NULL instead. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1022 (REG_UNSET, re_match_2_internal): Use NULL. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1023 (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
|
1024 New macros. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1025 (EXTEND_BUFFER): Use them (to work with BOUNDED_POINTERS). |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1026 (GET_UNSIGNED_NUMBER): Don't use ISDIGIT. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1027 (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
|
1028 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
|
1029 Obey the RE_NO_GNU_OPS syntax bit. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1030 (TOLOWER): New macro. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1031 (regcomp): Use it. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1032 (regexec): Allocate regs.start and regs.end as one block. |
c4d65bb448a6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31297
diff
changeset
|
1033 |
31293 | 1034 2000-08-30 Gerd Moellmann <gerd@gnu.org> |
1035 | |
31296 | 1036 * xdisp.c (echo_area_display): Check display_completed instead |
1037 of calling detect_input_pending. | |
1038 | |
31297 | 1039 * dispnew.c (update_frame): Only set display_completed here; move |
31296 | 1040 the update_begin and update_end calls here from update_frame_1. |
1041 (update_frame_1): Don't set display_completed here, don't call | |
1042 update_begin/update_end. | |
1043 | |
31293 | 1044 * xfaces.c (set_font_frame_param): Use Fmodify_frame_parameters |
1045 instead of store_frame_param. | |
1046 | |
31272 | 1047 2000-08-29 Gerd Moellmann <gerd@gnu.org> |
1048 | |
1049 * dispnew.c (build_frame_matrix_from_leaf_window): If a row of a | |
1050 desired window matrix hasn't been displayed, use the current row | |
1051 instead. Make sure that only those frame rows are updated for | |
1052 which there exists a corresponding enabled desired row. | |
1053 | |
31263 | 1054 2000-08-29 Miles Bader <miles@gnu.org> |
1055 | |
1056 * xfaces.c (default_face_vector): New function. | |
1057 (Finternal_merge_in_global_face): Use it instead of merge_face_vectors. | |
1058 | |
31256 | 1059 2000-08-29 Gerd Moellmann <gerd@gnu.org> |
1060 | |
1061 * lread.c (openp): Prevent temporary string passed to | |
1062 Ffile_readable_p from being garbage collected. | |
1063 | |
31234 | 1064 2000-08-28 Dave Love <fx@gnu.org> |
1065 | |
1066 * keymap.c (store_in_keymap): Add `static' to declaration. | |
1067 | |
31229 | 1068 2000-08-28 Gerd Moellmann <gerd@gnu.org> |
1069 | |
1070 * emacs.c, callint.c, doc.c, editfns.c | |
1071 (toplevel) [HAVE_STRING_H]: Include string.h. | |
1072 (toplevel) [HAVE_STRINGS_H]: Include strings.h. | |
1073 (index): Remove prototypes which might conflict with non-standard | |
1074 definitions of index/strchr. | |
1075 | |
1076 * s/usg5-3.h (index): Define only if not HAVE_INDEX. | |
1077 (rindex): Define only if !HAVE_RINDEX. | |
1078 | |
1079 * s/sco5.h (bcopy, bzero, bcmp): Don't define. | |
1080 | |
1081 * config.in (HAVE_INDEX, HAVE_RINDEX, HAVE_STRINGS_H): Add undefs. | |
1082 | |
31222 | 1083 2000-08-28 Miles Bader <miles@gnu.org> |
1084 | |
1085 * xfaces.c (merge_face_vectors): Clear TO's :font attribute if | |
1086 made inconsistent by a font-related attribute in FROM. | |
1087 (merge_face_inheritance): Add function comment. | |
1088 | |
31216 | 1089 2000-08-28 Kenichi Handa <handa@etl.go.jp> |
1090 | |
1091 * keyboard.c (read_char_minibuf_menu_prompt): Call read_char with | |
1092 the 4th arg (PREV_EVENT) Qt to suppress input method. | |
1093 | |
31210
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1094 2000-08-27 Stefan Monnier <monnier@cs.yale.edu> |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1095 |
31214
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1096 * regex.c: Indent cpp directives and remove parens after `defined'. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1097 (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
|
1098 (ISDIGIT, ISCNTRL, ISXDIGIT) [!emacs]: Remove duplicate definition. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1099 (regex_compile): Use RE_FRUGAL instead of RE_ALL_GREEDY. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1100 (re_compile_pattern): Use size_t for length. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1101 (init_syntax_once): Move to a better place. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1102 * regex.h: Merge changes from GNU libc. Indent cpp directives. |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1103 (RE_FRUGAL): Replaces RE_ALL_GREEDY (inverted meaning). |
09f57791137e
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31210
diff
changeset
|
1104 |
31210
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1105 * 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
|
1106 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
|
1107 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
|
1108 |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1109 * keymap.c (store_in_keymap, fix_submap_inheritance): New prototypes. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1110 (KEYMAPP): New macro. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1111 (Fkeymap_parent, Fset_keymap_parent): Use it. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1112 (fix_submap_inheritance): Mark it static. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1113 (define_as_prefix, describe_buffer_bindings, describe_command) |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1114 (describe_translation, describe_map): Complete prototypes. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1115 |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1116 * lisp.h (store_in_keymap, fix_submap_inheritance): Remove. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1117 |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1118 * 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
|
1119 to better match the key-lookup behavior. |
c45b6e464f4c
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31203
diff
changeset
|
1120 |
31203 | 1121 2000-08-27 Gerd Moellmann <gerd@gnu.org> |
1122 | |
1123 * xfaces.c (lface_fully_specified_p): Handle :inherit. | |
1124 (Finternal_set_lisp_face_attribute): Fix typo in error message. | |
1125 | |
31200 | 1126 2000-08-27 Eli Zaretskii <eliz@is.elta.co.il> |
1127 | |
1128 * Makefile.in (dispnew.o, indent.o, fontset.o, minibuf.o) | |
1129 (process.o, scroll.o, sysdep.o): Depend on keyboard.h. | |
1130 (xterm.o): Depend on coding.h | |
1131 | |
31181 | 1132 2000-08-26 Kenichi Handa <handa@etl.go.jp> |
1133 | |
1134 * cmds.c (internal_self_insert): Delete '#ifdef HAVE_FACES' and | |
1135 the corresponding '#endif'. | |
1136 | |
31180 | 1137 2000-08-26 Miles Bader <miles@gnu.org> |
1138 | |
1139 * dispextern.h (enum lface_attribute_index): Add LFACE_INHERIT_INDEX. | |
1140 * xfaces.c (QCinherit): New variable. | |
1141 (syms_of_xfaces): Initialize it. | |
1142 (LFACE_INHERIT): New macro. | |
1143 (Finternal_get_lisp_face_attribute) | |
1144 (merge_face_vector_with_property) | |
1145 (Finternal_set_lisp_face_attribute): Deal with :inherit attribute. | |
1146 (check_lface_attrs): Allow new types of face height. Check | |
1147 inherit attribute. | |
1148 (CYCLE_CHECK): New macro. | |
1149 (merge_face_inheritance): New function. | |
1150 (merge_face_vectors): Merge inherited faces too. Add F and | |
1151 CYCLE_CHECK arguments. | |
1152 (merge_face_vector_with_property, Finternal_merge_in_global_face) | |
1153 (lookup_named_face, lookup_derived_face, realize_named_face) | |
1154 (face_at_string_position, face_at_buffer_position): Supply | |
1155 new F and CYCLE_CHECK arguments to merge_face_vectors. | |
1156 (merge_face_heights): New function. | |
1157 (merge_face_vectors, merge_face_vector_with_property) | |
1158 (Finternal_set_lisp_face_attribute): Call merge_face_heights to | |
1159 handle relative face heights. | |
1160 (lface_same_font_attributes_p): Compare heights using EQ. | |
1161 | |
31176 | 1162 2000-08-26 Kenichi Handa <handa@etl.go.jp> |
1163 | |
1164 * charset.c (char_to_string): Check the character validity. | |
1165 (char_valid_p): If C is not less than MAX_CHAR, be sure to return | |
1166 0. | |
1167 | |
31172
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1168 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
|
1169 |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1170 * regex.c (PUSH_FAILURE_COUNT): New macro. |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1171 (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
|
1172 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
|
1173 (POP_FAILURE_POINT): Use the new name. |
0ee53ec2081a
(PUSH_FAILURE_COUNT): New macro.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31171
diff
changeset
|
1174 (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
|
1175 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
|
1176 |
31171 | 1177 2000-08-25 Gerd Moellmann <gerd@gnu.org> |
1178 | |
1179 * xdisp.c (redisplay_internal): If considering all windows on all | |
1180 frames, update the display for each frame as soon as possible, | |
1181 instead of first building all desired matrices for all frames, and | |
1182 then updating them all. | |
1183 (try_cursor_movement): Handle case that last_cursor.vpos is -1. | |
1184 | |
31148 | 1185 2000-08-24 Gerd Moellmann <gerd@gnu.org> |
1186 | |
31153 | 1187 * bytecode.c (mark_byte_stack): Add a comment. |
1188 | |
31148 | 1189 * frame.h (FRAME_FLAGS_AREA_COLS, FRAME_FLAGS_AREA_WIDTH) |
1190 (FRAME_LEFT_FLAGS_AREA_WIDTH): Return 0 unless frame is | |
1191 a graphical frame. | |
1192 | |
31137 | 1193 2000-08-24 Kenichi Handa <handa@etl.go.jp> |
1194 | |
31139 | 1195 * minibuf.c (do_completion): Always use compare-string, not |
1196 string-equal because the latter doesn't pay attention to | |
1197 multibyteness of strings. | |
1198 | |
31137 | 1199 * process.c (create_process): Don't setup raw-text coding here. |
1200 (Fopen_network_stream): Don't set coding->src_multibyte and | |
1201 coding->dst_multibyte here. | |
1202 (read_process_output): For process filter, return unibyte string | |
1203 if default-enable-multibyte-characters is nil. | |
1204 (send_process): If OBJECT is multibyte text, be sure to encoded it | |
1205 by the specified coding system for the process. Otherwise, setup | |
1206 raw-text coding. | |
1207 (init_process): Don't initialize default-process-coding-system | |
1208 here. | |
1209 | |
31129 | 1210 2000-08-23 Eli Zaretskii <eliz@is.elta.co.il> |
1211 | |
1212 * buffer.c (syms_of_buffer) <scroll-up-aggressively>: Doc fix. | |
1213 <scroll-down-aggressively>: Likewise. | |
1214 | |
31121 | 1215 2000-08-23 Kenichi Handa <handa@etl.go.jp> |
1216 | |
31122 | 1217 * coding.c (encode_eol): Fix bug for the case of dst_bytes being |
1218 zero. Set coding->produced_char correctly. | |
31121 | 1219 |
31120 | 1220 2000-08-22 Andrew Innes <andrewi@gnu.org> |
1221 | |
1222 * makefile.w32-in: New file. | |
1223 | |
1224 * unexw32.c (unexec): Ignore old_name, and use the actual location | |
1225 of the current executable instead. Base new_name on this. | |
1226 | |
1227 * w32proc.c (create_child): Remove reference to security | |
1228 descriptor, which isn't needed and doesn't compile with mingw32. | |
1229 | |
1230 * w32term.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1231 up dllimport attributes. | |
1232 (x_update_window_end): Update prototype. | |
1233 | |
1234 * unexec.c (write_segment) [USE_CRT_DLL]: Remove unnecessary | |
1235 extern, which screws up dllimport attributes. | |
1236 | |
1237 * sysdep.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1238 up dllimport attributes. | |
1239 | |
1240 * strftime.c [USE_CRT_DLL]: Remove unnecessary extern, which | |
1241 screws up dllimport attributes. | |
1242 | |
1243 * process.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1244 up dllimport attributes. | |
1245 (create_process) [USE_CRT_DLL]: Remove unnecessary extern, which | |
1246 screws up dllimport attributes. | |
1247 | |
1248 * lread.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1249 up dllimport attributes. | |
1250 | |
1251 * keyboard.c [USE_CRT_DLL]: Remove unnecessary extern, which | |
1252 screws up dllimport attributes. | |
1253 | |
1254 * floatfns.c [USE_CRT_DLL]: Remove unnecessary extern, which | |
1255 screws up dllimport attributes. | |
1256 | |
1257 * fileio.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1258 up dllimport attributes. | |
1259 | |
1260 * emacs.c (malloc_initialize_hook) [USE_CRT_DLL]: Remove | |
1261 unnecessary extern, which screws up dllimport attributes. | |
1262 (main): Ditto. | |
1263 | |
1264 * editfns.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1265 up dllimport attributes. | |
1266 | |
1267 * dispnew.c (window_change_signal) [USE_CRT_DLL]: Remove | |
1268 unnecessary extern, which screws up dllimport attributes. | |
1269 | |
1270 * callproc.c [USE_CRT_DLL]: Remove unnecessary extern, which | |
1271 screws up dllimport attributes. | |
1272 | |
1273 * buffer.c [USE_CRT_DLL]: Remove unnecessary extern, which screws | |
1274 up dllimport attributes. | |
1275 | |
1276 * w32proc.c (IsValidLocale): Extern missing from mingw32 headers. | |
1277 | |
1278 * w32bdf.c (search_file_line): | |
1279 (set_bdf_font_info): | |
1280 (seek_char): | |
1281 (w32_get_bdf_glyph): | |
1282 (w32_BDF_to_x_font): Fix compile warnings. | |
1283 | |
1284 * w32menu.c: Include keyboard.h before frame.h. Fix compile | |
1285 warnings. | |
1286 | |
1287 * w32select.c: Include keyboard.h before frame.h. | |
1288 | |
1289 * w32fns.c (max): Define macro. | |
1290 (JOHAB_CHARSET): Define if not known. | |
1291 (MOD_ALT, MOD_CONTROL, MOD_SHIFT, MOD_WIN): Define if not known. | |
1292 (Fx_show_tip): Synch with X version. | |
1293 | |
1294 * w32xfns.c: Include keyboard.h before frame.h. | |
1295 | |
1296 * w32fns.c: Include keyboard.h before frame.h. | |
1297 | |
1298 * w32term.c: Include keyboard.h before frame.h. | |
1299 | |
1300 * fontset.c: Include keyboard.h before frame.h. | |
1301 | |
1302 * w32inevt.c: Include keyboard.h before frame.h. | |
1303 (MOUSE_MOVED): Define if not known. | |
1304 | |
1305 * minibuf.c: Include keyboard.h before frame.h. | |
1306 | |
1307 * keyboard.c: Include keyboard.h before frame.h. | |
1308 | |
1309 * indent.c: Include keyboard.h before frame.h. | |
1310 | |
1311 * dispnew.c: Include keyboard.h before frame.h. | |
1312 | |
1313 * buffer.c: Include keyboard.h before frame.h. | |
1314 | |
1315 * alloc.c: Include keyboard.h before frame.h. | |
1316 | |
1317 * print.c: Include keyboard.h before frame.h. | |
1318 | |
1319 * process.c: Include keyboard.h before frame.h. | |
1320 | |
1321 * scroll.c: Include keyboard.h before frame.h. | |
1322 | |
1323 * sysdep.c: Include keyboard.h before frame.h. | |
1324 | |
1325 * term.c: Include keyboard.h before frame.h. | |
1326 | |
1327 * window.c: Include keyboard.h before frame.h. | |
1328 | |
1329 * xdisp.c: Include keyboard.h before frame.h. | |
1330 Separate GLYPH_DEBUG and DEBUG_TRACE_MOVE. | |
1331 | |
1332 * frame.c: Include keyboard.h before frame.h. | |
1333 | |
1334 * w32heap.h: Undefine min, max. | |
1335 | |
1336 * w32gui.h: Undefine min, max. | |
1337 | |
1338 * unexw32.c: Change PUCHAR to PCHAR. | |
1339 (PTR_TO_OFFSET): Cast ptr to unsigned char *. | |
1340 (relocate_offset): | |
1341 (get_section_info): | |
1342 (copy_executable_and_dump_data): Remove unnecessary static defs. | |
1343 (copy_executable_and_dump_data): Fix compile warnings. | |
1344 | |
1345 * sysdep.c (NULL) [WINDOWSNT]: Define NULL if not defined. | |
1346 | |
1347 * w32console.c (min): Define macro. | |
1348 (clear_frame, write_glyphs): Fix compile warning. | |
1349 | |
1350 * w32proc.c (compare_env): | |
1351 (find_child_console): Fix compile warning. | |
1352 | |
1353 * w32.c (sys_strerror): Use sys_nerr instead of _sys_nerr. Use | |
1354 sys_errlist instead of _sys_errlist. | |
1355 (get_emacs_configuration_options): New function. | |
1356 | |
1357 * s/ms-w32.h (sys_nerr): Provide default definition. | |
1358 (strdup, strupr, strnicmp, stricmp, tzset, tzname): Map to same | |
1359 name with _ prepended. | |
1360 (NSIG): Define if not known. | |
1361 (get_emacs_configuration): Provide extern declaration. | |
1362 (get_emacs_configuration_options): Provide extern declaration. | |
1363 (EMACS_CONFIG_OPTIONS): Call get_emacs_configuration_options. | |
1364 | |
1365 * w32.c (gettimeofday): Use struct timeb, not struct _timeb. | |
1366 (map_w32_filename): | |
1367 (read_unc_volume): Fix compile warning. | |
1368 | |
1369 * s/ms-w32.h (_WINSOCK_H): Define to prevent normal winsock | |
1370 definitions from being used. | |
1371 | |
1372 * lisp.h [WINDOWSNT]: Don't declare externs for getenv, ctime and getwd. | |
1373 | |
1374 * w32.c (unc_volume_file_attributes): | |
1375 (open_unc_volume): Make arg const. | |
1376 | |
1377 * sysdep.c [WINDOWSNT]: Remove extern decl of errno. | |
1378 (read_input_waiting): Remove excess parameter. | |
1379 | |
1380 * w32.c (init_environment): Call _access. | |
1381 (check_windows_init_file): Call _close. | |
1382 (init_user_info): Call _putenv. | |
1383 (init_environment): Call _putenv and _strdup. | |
1384 (init_ntproc): Reset volume info cache on startup. | |
1385 | |
1386 * s/ms-w32.h (malloc, free, realloc, calloc): Rename if | |
1387 USE_CRT_DLL is defined, so Emacs can use GNU malloc even though it | |
1388 cannot override the CRT malloc. | |
1389 | |
1390 * makefile.nt (LOCAL_FLAGS): Define USE_CRT_DLL if requested. | |
1391 (LINK_FLAGS): Append to original value of LINK_FLAGS. | |
1392 | |
1393 * w32heap.c [!USE_CRT_DLL]: Don't define _heap_init and _heap_term | |
1394 unless we are linking with a static CRT. | |
1395 (RVA_TO_PTR): Cast result to unsigned char*. | |
1396 | |
1397 * w32.c (GetCachedVolumeInformation): Use xmalloc, xfree and xstrdup. | |
1398 (add_volume_info): Use xstrdup. | |
1399 | |
31107
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1400 2000-08-22 Stefan Monnier <monnier@cs.yale.edu> |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1401 |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1402 * minibuf.c (Vcompletion_auto_help): Renamed from `auto_help'. |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1403 (do_completion, Fminibuffer_complete_word): Use it. |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1404 (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
|
1405 var so it can take non-boolean values. |
138c4e88e0fe
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
31017
diff
changeset
|
1406 |
31004 | 1407 2000-08-21 Gerd Moellmann <gerd@gnu.org> |
1408 | |
31017 | 1409 * editfns.c (find_field): Formatting changes. |
1410 (toplevel): Some old-style function forward declarations | |
1411 changed to prototypes, some new protypes added, some functions | |
1412 made static. | |
1413 | |
1414 * lisp.h (set_time_zone_rule): Add prototype. | |
1415 (use_dialog_box): External declaration. | |
1416 | |
31014 | 1417 * keyboard.c (gen_help_event): Add parameter SIZE. |
1418 (kbd_buffer_events_waiting): Slightly rewritten. | |
1419 (clear_event): New function. | |
1420 (kbd_buffer_get_event): Use it, and clear the input_events of | |
1421 HELP_EVENTs. | |
1422 (init_keyboard): Remove duplicate creation of kbd_buffer_gcpro and | |
1423 don't fill the newly created array with nils. | |
1424 (toplevel): Convert some old-style function forward declarations | |
1425 to prototypes. | |
1426 | |
1427 * keyboard.h (gen_help_event): Change prototype. | |
1428 | |
1429 * xterm.c (XTread_socket): Change calls to gen_help_event. | |
1430 | |
1431 * w32term.c (w32_read_socket): Change calls to gen_help_event. | |
1432 | |
31004 | 1433 * eval.c (Fmacroexpand): Doc fix. |
1434 | |
30990 | 1435 2000-08-20 Jason Rumney <jasonr@gnu.org> |
1436 | |
1437 * w32term.h (x_display_info_for_display): Remove as this function | |
1438 does not exist on W32. | |
1439 | |
1440 * w32term.c (help_echo_window): New variable. | |
1441 (syms_of_w32term): staticpro it. | |
1442 (note_mode_line_highlight): Set it. | |
1443 (XTextExtents16): Removed as there is no equivalent on W32. | |
1444 (x_compute_glyph_string_overhangs): Incomplete body removed, as | |
1445 the X way of doing this will not work for W32. | |
1446 (w32_intersect_rectangles): Removed. Use IntersectRect API call. | |
1447 (x_draw_image_foreground): Avoid drawing outside of the clip area | |
1448 when image doesn't have a mask. | |
1449 (note_mouse_highlight): Process overlays in the right order of | |
1450 priority. Set help_echo_window. | |
1451 (x_draw_bar_cursor): If cursor is on an image, draw a box cursor | |
1452 because that's more visible for large images. | |
1453 | |
1454 * w32menu.c (keymap_panes): Pass the keymap's prompt as the pane | |
1455 name to single_keymap_panes. | |
1456 (w32_menu_show): Set wv->title when dealing with titles. | |
1457 (w32_menu_display_help): Call show_help_echo with OBJECT and POS. | |
1458 | |
30977 | 1459 2000-08-21 Miles Bader <miles@gnu.org> |
1460 | |
1461 * minibuf.c (do_completion): Try again if we rewrite the input | |
1462 string, but no completion was done, so that any completion message | |
1463 will be correct. | |
1464 | |
30975 | 1465 2000-08-20 Gerd Moellmann <gerd@gnu.org> |
1466 | |
1467 * xfaces.c (lface_equal_p): Compare strings differently. | |
1468 (Qtty_color_alist, Vtty_defined_color_alist): New variables. | |
1469 (realize_tty_face): Use them. | |
1470 (syms_of_xfaces): Initialize new variables. | |
1471 (map_tty_color): New function, extracted from realize_tty_face. | |
1472 (map_tty_color) [MSDOS || WINDOWSNT]: If using the frame's default | |
1473 foreground or background color, store the new color name in the | |
1474 realized face; previous code trying to do this had no effect. | |
1475 (realize_tty_face): Use map_tty_color. | |
1476 (Fclear_face_cache): Set face_change_count and ensure thorough | |
1477 redisplay. | |
1478 | |
30963 | 1479 2000-08-19 Gerd Moellmann <gerd@gnu.org> |
1480 | |
30975 | 1481 * undo.c (record_first_change, record_marker_adjustment): Don't |
1482 use XBUFFER on last_undo_buffer which might not be a buffer. | |
30963 | 1483 |
30949 | 1484 2000-08-18 Kenichi Handa <handa@etl.go.jp> |
1485 | |
1486 * coding.c (decode_coding_string): Set members consumed, | |
1487 consumed_char, produced, produced_char of *coding correctly. If | |
1488 decode_coding doesn't consume any byte, don't try anymore. | |
1489 (encode_coding_string): Likewise. | |
1490 | |
30944 | 1491 2000-08-18 Gerd Moellmann <gerd@gnu.org> |
1492 | |
30975 | 1493 * lisp.h (CHECK) [ENABLE_CHECKING]: Make both sides of the |
1494 conditional have void type, for Standard C compilers. | |
30944 | 1495 |
1496 * xdisp.c (redisplay_internal): Compare windows for equality with | |
1497 EQ, instead of applying XWINDOW to something that might not | |
1498 be a window. | |
1499 | |
30940 | 1500 2000-08-18 Kenichi Handa <handa@etl.go.jp> |
1501 | |
1502 * fontset.c (Finternal_char_font): Search only the selected frame | |
1503 for a window of the current buffer. | |
1504 | |
30937 | 1505 2000-08-18 Gerd Moellmann <gerd@gnu.org> |
1506 | |
30975 | 1507 * minibuf.c (do_completion): Use EQ instead of `!=' to compare |
30939 | 1508 Lisp_Objects. |
1509 | |
30937 | 1510 * keyboard.c (kbd_buffer_get_event): Handle the case that the |
1511 second half of a HELP_EVENT is found at the start of kbd_buffer. | |
1512 | |
30932 | 1513 2000-08-18 Miles Bader <miles@gnu.org> |
1514 | |
30935 | 1515 * lisp.h (Lisp_String): Replace DECLARE_INTERVALS with real decl. |
1516 | |
30932 | 1517 * editfns.c (save_restriction_save): Rewrite to use markers. |
1518 (save_restriction_restore): Rewrite to understand new form of data | |
1519 saved by save_restriction_save. | |
1520 (Fsave_restriction): Remove cautionary note in doc-string. | |
1521 | |
30928 | 1522 2000-08-17 Gerd Moellmann <gerd@gnu.org> |
1523 | |
1524 * fileio.c (build_annotations): Add a comment explaining the | |
1525 return value of format-annotate-function. Replace a spurious call | |
1526 to Flength with a CONSP test. Call format-annotate-function with | |
1527 a fifth arg specifying how many times the function is been called | |
1528 in a row, to let it choose temporary buffers appropriately. | |
1529 | |
30919 | 1530 2000-08-17 Dave Love <fx@gnu.org> |
1531 | |
1532 * lisp.h: Remove DECLARE_INTERVALS, INITIALIZE_INTERVAL. Don't | |
1533 declare make_temp_name twice. | |
1534 | |
1535 * lread.c: Prototype readevalloop, load_unwind, | |
1536 load_descriptor_unwind. | |
1537 (unreadpure): Give it an arg. | |
1538 | |
1539 * unexalpha.c: Prototype fatal_unexec, mark_x, | |
1540 update_dynamic_symbols. Declare unexec as void. | |
1541 | |
1542 * cm.c [HAVE_TERMCAP_H]: Include <termcap.h>. | |
1543 [!HAVE_TERMCAP_H]: Prototype tputs, tgoto. | |
1544 | |
1545 * alloc.c (lisp_malloc): Declare with POINTER_TYPE. | |
1546 [SYSTEM_MALLOC]: Make decls in malloc.h conditional on | |
1547 DOUG_LEA_MALLOC. | |
1548 | |
1549 * alloca.c: Use #error. | |
1550 [POINTER_TYPE]: Use it. | |
1551 | |
1552 * eval.c (Fdefvar): Doc fix. | |
1553 | |
1554 * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Avoid | |
1555 INITIALIZE_INTERVAL. | |
1556 | |
1557 * buffer.h: Avoid DECLARE_INTERVALS. | |
1558 | |
1559 * config.in: Add size_t. | |
1560 | |
30901 | 1561 2000-08-17 Eli Zaretskii <eliz@is.elta.co.il> |
1562 | |
1563 * w16select.c (set_clipboard_data): If there's not enough memory | |
1564 to put text into clipboard, return 1, as Fw16_set_clipboard_data | |
1565 expects. In case of other failures, return 3. | |
1566 (system_error_msg): New error message. | |
1567 (Fw16_set_clipboard_data): If set_clipboard_data returns 3, print | |
1568 system_error_msg. | |
1569 | |
30849 | 1570 2000-08-16 Gerd Moellmann <gerd@gnu.org> |
1571 | |
1572 * term.c (write_glyphs): Also turn off inverse video after turning | |
1573 off other appearances in case TS_exit_attribute_mode is not equal | |
1574 to TS_end_standout_mode. | |
1575 (insert_glyphs): Turn inverse video on/off for each run of glyphs | |
1576 with the same face. | |
1577 (turn_off_face): Reset standout_mode only if | |
1578 TS_exit_attribute_mode has been output and TS_exit_attribute_mode | |
1579 is equal to TS_end_standout_mode. | |
1580 | |
30843 | 1581 2000-08-16 Kenichi Handa <handa@etl.go.jp> |
1582 | |
30846 | 1583 * coding.c (encode_coding): Fix the bug of not flushing ISO escape |
1584 sequence at the end of the source block. | |
1585 | |
30843 | 1586 * ccl.c (Fccl_program_p): Docstring modified. |
1587 (Fccl_execute): Likewise. | |
1588 (Fccl_execute_on_string): Likewise. | |
1589 | |
30841 | 1590 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il> |
1591 | |
1592 * msdos.c (IT_write_glyphs): Convert cbp to unsigned char *. | |
1593 | |
30830 | 1594 2000-08-16 Kenichi Handa <handa@etl.go.jp> |
1595 | |
1596 The following changes are mainly to fix bugs of | |
1597 encode/decode-coding-string failing if encoding/decoding return | |
1598 CODING_FINISH_INSUFFICIENT_DST. In addition, delete the global | |
1599 variable conversion_buffer. | |
1600 | |
1601 * ccl.c (CCL_WRITE_CHAR): If CH is eight-bit-control char, | |
1602 decrement dst_end to avoid buffer overflow in the later call of | |
1603 string_as_multibyte | |
1604 | |
1605 * coding.h (conversion_buffer_size, conversion_buffer) | |
1606 (get_conversion_buffer): Extern deleted. | |
1607 | |
1608 * coding.c (MINIMUM_CONVERSION_BUFFER_SIZE): Macro deleted. | |
1609 (conversion_buffer, conversion_buffer_size): Variables deleted. | |
1610 (get_conversion_buffer): Function deleted. | |
1611 (struct conversion_buffer): New structure. | |
1612 (MAX_ALLOCA): New macro. | |
1613 (allocate_conversion_buffer): New macro. | |
1614 (extend_conversion_buffer, free_conversion_buffer): New functions. | |
1615 (ccl_coding_driver): Set coding->result. | |
1616 (decode_coding): Set coding->result to CODING_FINISH_NORMAL if | |
1617 this is the last block of source. | |
1618 (encode_coding): Likewise. Handle the source block as the last | |
1619 one only when the whole source text is consumed. | |
1620 (decode_coding_string): Handle the case that the output buffer is | |
1621 too small to decode the whole source text. Use | |
1622 allocate_conversion_buffer, extend_conversion_buffer and | |
1623 free_conversion_buffer, not get_conversion_buffer. | |
1624 (encode_coding_string): Likewise. | |
1625 (init_coding): Function deleted. | |
1626 (init_coding_once): Delete code to initialize | |
1627 conversion_buffer_size. | |
1628 | |
1629 * emacs.c (main): Don't call init_coding. | |
1630 | |
1631 * msdos.c (IT_write_glyphs): Use a locally declared | |
1632 conversion_buffer. | |
1633 | |
1634 * term.c (write_glyphs): Use a locally declared conversion_buffer. | |
1635 (insert_glyphs): Likewise. | |
1636 | |
1637 * w32console.c (write_glyphs): Use a locally declared | |
1638 conversion_buffer. | |
1639 | |
30827 | 1640 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il> |
1641 | |
1642 * msdos.c (IT_update_begin): Don't crash if mouse_face_mouse_frame | |
1643 member of display_info is NULL. | |
1644 | |
30822 | 1645 2000-08-15 Gerd Moellmann <gerd@gnu.org> |
1646 | |
30825 | 1647 * alloc.c (compact_small_strings): Use safe_bcopy, add an |
1648 assertion. | |
1649 | |
30822 | 1650 * term.c (turn_off_face): Reset standout_mode when resetting |
30825 | 1651 appearances with capability `me'. |
30822 | 1652 (write_glyphs): Switch on inverse video before each face change. |
1653 | |
30785 | 1654 2000-08-14 Dave Love <fx@gnu.org> |
1655 | |
1656 * alloc.c [HAVE_UNISTD_H]: Include unistd.h; don't declare sbrk. | |
1657 [!HAVE_UNISTD_H]: Use POINTER_TYPE to declare sbrk. | |
1658 (lisp_free): Declare and make static. | |
1659 | |
1660 * window.c: Fix embedded comment. | |
1661 (syms_of_window): Fix doc string. | |
1662 | |
30781 | 1663 2000-08-14 Gerd Moellmann <gerd@gnu.org> |
1664 | |
1665 * keymap.c (push_key_description): If C without modifiers is < 32, | |
1666 make sure to print `C-' before `M-', like in the manual. | |
1667 | |
30762 | 1668 2000-08-11 Gerd Moellmann <gerd@gnu.org> |
1669 | |
1670 * fns.c (hashfn_eq, hashfn_eql): Don't handle strings specially | |
1671 since they aren't relocated anymore. | |
1672 (sxhash_string): Make sure returned hash code fits in a Lisp | |
1673 integer. | |
1674 | |
1675 * xdisp.c (try_cursor_movement): Fix handling of cursor in | |
1676 partially visible line which is smaller than the window's | |
1677 height. | |
1678 | |
30753 | 1679 2000-08-11 Kenichi Handa <handa@etl.go.jp> |
1680 | |
1681 * ccl.c (CCL_READ_CHAR): If source is multibyte, pay attention to | |
1682 the multibyte form of eight-bit-control characters. | |
1683 (Fccl_execute_on_string): Initialize ccl->multibyte. | |
1684 | |
1685 * ccl.h (struct ccl_program): New member multibyte. | |
1686 | |
1687 * coding.c (ccl_coding_driver): Initialize ccl->multibyte. | |
1688 | |
30751 | 1689 2000-08-11 Kenichi Handa <handa@etl.go.jp> |
1690 | |
1691 * regex.c (regex_compile) <normal_char>: Pay attention to | |
1692 multibyteness. | |
1693 (analyse_first) <exactn>: Setup fastmap correctly for | |
1694 eight-bit-control characters. | |
1695 | |
1696 2000-08-11 Kenichi Handa <handa@etl.go.jp> | |
1697 | |
1698 * termhooks.h (enum event_kind): New member | |
1699 multibyte_char_keystroke. | |
1700 | |
1701 * keyboard.c (make_lispy_event): Handle the new event type | |
1702 multibyte_char_keystroke. | |
1703 | |
1704 * xterm.c: Include coding.h. | |
1705 (XTread_socket): Work around a bug of XmbLookupString. If the | |
1706 input is from XIM, decode it according to the current locale. In | |
1707 that case, generate multibyte_char_keystroke events. | |
1708 | |
30746 | 1709 2000-08-11 Kenichi Handa <handa@etl.go.jp> |
1710 | |
1711 * xdisp.c (TRACE_MOVE) [GLYPH_DEBUG]: Delete the last semicolon. | |
1712 (TRACE_MOVE) [not GLYPH_DEBUG]: Define dummy. | |
1713 | |
30745 | 1714 2000-08-10 Gerd Moellmann <gerd@gnu.org> |
1715 | |
1716 * xdisp.c (trace_move) [GLYPH_DEBUG]: New variable. | |
1717 (TRACE_MOVE) [GLYPH_DEBUG]: New macro. | |
1718 (move_it_in_display_line_to): Record iterator's ascent and descent | |
1719 before producing glyphs, and restore them when we know the glyph | |
1720 doesn't fit on the line. | |
1721 (move_it_to): Restructured so that it's easier to debug. If | |
1722 moving to a vpos, and not moving to an x or character position, | |
1723 stop as soon as the specified vpos is reached; don't move further | |
1724 into that line because that might change the computed line height. | |
1725 (try_cursor_movement): New function, extracted from the cursor | |
1726 movement branch of redisplay_window. If ending on a partially | |
1727 visible line, don't try to scroll if the cursor line is taller | |
1728 than the window. | |
1729 (redisplay_window): Use try_cursor_movement. | |
1730 | |
1731 * window.c (Fwindow_end): Rewritten to not use Fvertical_motion, | |
1732 because that function doesn't cope with variable-height lines. | |
1733 | |
1734 * xterm.c (x_draw_bar_cursor): If cursor is on an image, draw a | |
1735 box cursor because that's better visible for large images. | |
1736 | |
30737 | 1737 2000-08-10 Miles Bader <miles@gnu.org> |
1738 | |
1739 * w32term.c (note_mouse_highlight): Update calls to overlays_at. | |
1740 | |
30729 | 1741 2000-08-10 Gerd Moellmann <gerd@gnu.org> |
1742 | |
1743 * xdisp.c (Vmessages_buffer_name): New variable. | |
1744 (message_dolog): Use it. | |
1745 (syms_of_xdisp): Initialize it. | |
1746 | |
30726 | 1747 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il> |
1748 | |
1749 * msdos.c (IT_note_mouse_highlight): Update the calls to | |
1750 overlays_at. | |
1751 (toplevel) <kbd_buffer_store_event>: Remove prototype, it's | |
1752 redundant now that keyboard.h is included. | |
1753 | |
30715 | 1754 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il> |
1755 | |
1756 * keyboard.c (kbd_buffer_events_waiting): New function. | |
1757 | |
1758 * keyboard.h (kbd_buffer_events_waiting): Add prototype. | |
1759 | |
1760 * msdos.c: Include keyboard.h. | |
1761 (XMenuActivate): Empty no_event events from the event buffer. If | |
1762 no events are left after that, call clear_input_pending. | |
1763 (mouse_clear_clicks): New function, code moved from mouse_init. | |
1764 (mouse_init, XMenuActivate): Call mouse_clear_clicks to force the | |
1765 mouse driver to ``forget'' any past clicks. | |
1766 | |
1767 * Makefile.in (msdos.o): Depend on keyboard.h. | |
1768 | |
30708 | 1769 2000-08-09 Gerd Moellmann <gerd@gnu.org> |
1770 | |
30724 | 1771 * lisp.h (input_pending): External declaration. |
1772 | |
1773 * dispextern.h (Qredisplay_dont_pause): Declare extern. | |
1774 | |
1775 * xdisp.c (echo_area_display): Display thoroughly if input is | |
1776 pending. Bind redisplay-dont-pause to t during the redisplay. | |
1777 in case input is pending. | |
1778 | |
1779 * dispnew.c (Qredisplay_dont_pause): New variable. | |
1780 (syms_of_display): Initialize and staticpro it. | |
1781 (update_frame_1): Don't interrupt the display for pending input if | |
1782 redisplay_dont_pause is set. | |
1783 | |
30714 | 1784 * dispnew.c (mode_line_string): Declare parameter MODE_LINE_P. |
1785 | |
30708 | 1786 * xfaces.c (Ftty_suppress_bold_inverse_default_colors): Doc fix. |
1787 | |
30702 | 1788 2000-08-09 Miles Bader <miles@lsi.nec.co.jp> |
1789 | |
1790 * callproc.c (Fcall_process): Terminate the unwind-protect around | |
1791 the post-read-conversion of coding system. | |
1792 | |
30701 | 1793 * buffer.c (overlays_at): Add CHANGE_REQ parameter. |
1794 (Foverlays_at, Fnext_overlay_change, Fprevious_overlay_change): Use it. | |
1795 * buffer.h (overlays_at): Update prototype. | |
1796 * xdisp.c (next_overlay_change): Update call to overlays_at. | |
1797 * xfaces.c (face_at_buffer_position): Likewise. | |
1798 * textprop.c (Fget_char_property): Likewise. | |
1799 * xterm.c (note_mouse_highlight): Likewise. | |
1800 | |
30685 | 1801 * minibuf.c (do_completion): Don't consider a simple change of |
1802 case as `completion'. | |
1803 | |
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
|
1804 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
|
1805 |
30683
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1806 * keyboard.c (syms_of_keyboard): Initialize |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1807 last_point_position_buffer. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1808 * undo.c (record_delete): Make sure last_point_position_buffer is |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1809 a buffer before comparing pointers. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1810 |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1811 * coding.h (decode_coding_string): Declare. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1812 |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1813 * intervals.h (Fprevious_single_char_property_change): Declare. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1814 |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1815 * textprop.c (Fprevious_single_char_property_change): Don't do |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1816 arithmetic directly on lisp objects. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1817 |
30693 | 1818 * editfns.c (find_field): Use EQ, not ==, to compare Lisp |
30683
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1819 objects. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1820 |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1821 * keyboard.h (menu_item_eval_property): Declare. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1822 |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1823 * xdisp.c (message_dolog): Save and protect string "*Messages*" to |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1824 reuse as buffer name, instead of recreating (and discarding) every |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1825 time a message is logged. |
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1826 (with_echo_area_buffer): Make callback arg A2 a lisp object. |
30693 | 1827 (current_message_1, truncate_message_1, set_message_1) |
1828 (display_echo_area_1, resize_mini_window_1): Signatures changed. | |
1829 (current_message, truncate_echo_area, display_echo_area) | |
1830 (resize_echo_area_axactly): Changed calls. | |
30683
386d91b16514
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
30674
diff
changeset
|
1831 |
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
|
1832 * coding.c (find_safe_codings): CHAR_TABLE_SET index must be a |
30693 | 1833 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
|
1834 (Ffind_coding_systems_region_internal): First argument to Fappend |
30693 | 1835 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
|
1836 |
30672 | 1837 2000-08-08 Kenichi Handa <handa@etl.go.jp> |
1838 | |
1839 * charset.c (Fchar_width): Doc fix. | |
1840 | |
30671 | 1841 2000-08-08 Gerd Moellmann <gerd@gnu.org> |
1842 | |
1843 * charset.c (Fstring_width): Doc fix. | |
1844 | |
30632 | 1845 2000-08-07 Gerd Moellmann <gerd@gnu.org> |
1846 | |
30708 | 1847 * xdisp.c (start_display): When starting display on a continuation |
30654 | 1848 line, clear ascent and descent members of the iterator structure; |
1849 the height of the continued line does not affect the height of the | |
1850 continuation line. | |
1851 (make_cursor_line_fully_visible): Do nothing if cursor is on a | |
1852 line taller than the window. | |
1853 (redisplay_window) <forced window start>: Handle case that the | |
1854 middle of the window is not found in any row. | |
1855 (dump_glyph_row): Show more information. | |
1856 (compute_line_metrics): Use MATRIX_FIRST_TEXT_ROW to determine the | |
1857 first text line in a glyph matrix. | |
1858 | |
1859 * xterm.c (x_draw_image_foreground): Avoid drawing outside | |
1860 of the clip area when image doesn't have a mask. | |
1861 | |
30639 | 1862 * fns.c (sweep_weak_table): Fix survival conditions for |
1863 key-or-value and key-and-value weakness. | |
1864 | |
1865 * .gdbinit (xhashtable): New command. | |
1866 | |
30635 | 1867 * fns.c (sweep_weak_hash_tables): Fix the code taking unmarked |
1868 tables out of the list of all weak hash tables. | |
1869 | |
30632 | 1870 * xdisp.c (ensure_echo_area_buffers): If a buffer was killed, and |
30633 | 1871 a new buffer is created, make sure echo_area_buffer[] references |
1872 the new buffer. | |
30632 | 1873 |
30629 | 1874 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il> |
1875 | |
1876 * msdos.c (Fmsdos_set_mouse_buttons): Add missing backslashes in | |
1877 the doc string. | |
1878 | |
30625 | 1879 2000-08-07 Kenichi Handa <handa@etl.go.jp> |
1880 | |
1881 * syntax.c (skip_chars): Fix previous change. Make the handling | |
1882 of unibyte string consistent with that of regex search. | |
1883 | |
30603 | 1884 2000-08-05 Gerd Moellmann <gerd@gnu.org> |
1885 | |
30614 | 1886 * xmenu.c (popup_get_selection): Use xfree instead of free. |
1887 | |
1888 * fileio.c (Finsert_file_contents): Use xfree instead of free. | |
1889 | |
1890 * editfns.c (Ftranspose_regions): Use xfree instead of free. | |
1891 | |
1892 * callproc.c (child_setup): Use xfree instead of free. | |
1893 | |
1894 * sysdep.c (opendir, GetTempDirName, run_mac_command): Use xmalloc | |
1895 instead of malloc. | |
1896 (run_mac_command, closedir): Use `xfree' instead of `free'. | |
1897 | |
1898 * keymap.c (current_minor_maps): Use xmalloc instead of malloc. | |
1899 | |
1900 * eval.c (error): Use xfree instead of free. | |
1901 | |
30603 | 1902 * xfaces.c, xfns.c, w32fns.c: Replace `illegal' with `invalid'. |
1903 | |
1904 * fns.c: Replace `illegal' with `invalid'. | |
30614 | 1905 (Fmake_hash_table, make_hash_table): Allow table size of 0. |
30603 | 1906 |
30596
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
1907 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
|
1908 |
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
1909 * 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
|
1910 conversion. |
48a9e9f4fd9d
(skip_chars): Fix handling of multibyte<->unibyte conversion.
Kenichi Handa <handa@m17n.org>
parents:
30595
diff
changeset
|
1911 |
30598
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
1912 2000-08-04 Noah Friedman <friedman@splode.com> |
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
1913 |
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
1914 * 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
|
1915 docstring. |
e0b06b3efefe
*** empty log message ***
Noah Friedman <friedman@splode.com>
parents:
30596
diff
changeset
|
1916 |
30595 | 1917 2000-08-04 Gerd Moellmann <gerd@gnu.org> |
1918 | |
1919 * syntax.c (skip_chars): Fix typo in error message. | |
1920 | |
30588
bfbe4e93bdcf
*** empty log message ***
Andreas Schwab <schwab@suse.de>
parents:
30582
diff
changeset
|
1921 2000-08-04 Andreas Schwab <schwab@suse.de> |
bfbe4e93bdcf
*** empty log message ***
Andreas Schwab <schwab@suse.de>
parents:
30582
diff
changeset
|
1922 |
bfbe4e93bdcf
*** empty log message ***
Andreas Schwab <schwab@suse.de>
parents:
30582
diff
changeset
|
1923 * m/ia64.h: Moved from s/ia64.h. |
bfbe4e93bdcf
*** empty log message ***
Andreas Schwab <schwab@suse.de>
parents:
30582
diff
changeset
|
1924 |
30577 | 1925 2000-08-04 Kenichi Handa <handa@etl.go.jp> |
1926 | |
30582 | 1927 * process.c (read_process_output): Big simplification. Handle |
1928 composition and post-read-conversion of coding system correctly. | |
1929 (send_process): Handle composition correctly. | |
1930 | |
1931 * callproc.c (Fcall_process): Handle post-read-conversion of | |
1932 coding system if any. | |
1933 | |
30577 | 1934 * coding.c (decode_coding_iso2022): More strict check for handling |
1935 single shifting. | |
30582 | 1936 (coding_restore_composition): Pay attention to the case that |
1937 cmp_data is not set properly (because of invalid code in the | |
1938 source text). | |
1939 (run_pre_post_conversion_on_str): Include text properties in the | |
1940 resulting string. | |
1941 (decode_coding_string): Set members of coding correctly. | |
30577 | 1942 |
30576 | 1943 2000-08-03 Gerd Moellmann <gerd@gnu.org> |
1944 | |
1945 * s/ia64.h: New file. | |
1946 | |
1947 * widget.c (set_frame_size, update_wm_hints, EmacsFrameSetValues): | |
1948 Use NULL instead of 0 at the end of variable argument list of | |
1949 XtVaGetValues and XtVaSetValues, because 0 fails on systems where | |
1950 sizeof (int) < sizeof (void *). | |
1951 | |
1952 * xmenu.c (update_frame_menubar): Use NULL instead of 0 at the end | |
1953 of variable argument lists of XtVaGetValues and XtVaSetValues. | |
1954 | |
1955 * xfns.c (Fx_file_dialog): Use NULL instead of 0 at the end of | |
1956 variable argument lists of XtVaGetValues and XtVaSetValues. | |
1957 | |
30564 | 1958 2000-08-02 Gerd Moellmann <gerd@gnu.org> |
1959 | |
1960 * alloc.c (lisp_malloc, lisp_free): Use size_t and POINTER_TYPE. | |
1961 (xrealloc, xmalloc): Use size_t. Some callers adjusted. | |
1962 | |
1963 * lisp.h (Fsingle_key_description, xmalloc, xrealloc): Change | |
1964 prototype. | |
1965 | |
1966 * keyboard.c (read_char_minibuf_menu_prompt): Add new parameter | |
1967 in call to Fsingle_key_description. | |
1968 | |
1969 * keymap.c (Fsingle_key_description): Add parameter NO_ANGLES. | |
1970 Callers changed. | |
1971 | |
1972 2000-08-02 Colin Walters <walters@cis.ohio-state.edu> | |
1973 | |
1974 * window.c (display_buffer_reuse_frames): New variable. | |
1975 (Fdisplay_buffer): If display_buffer_reuse_frames is set, reuse | |
1976 frames displaying BUFFER. | |
1977 (syms_of_window): Define Lisp variable | |
1978 display-buffer-reuse-frames. | |
1979 | |
30551 | 1980 2000-08-01 Miles Bader <miles@gnu.org> |
1981 | |
1982 * editfns.c (Fconstrain_to_field): Fix the conditions for deciding | |
1983 when to constrain NEW_POS (they were pretty screwed up before). | |
1984 | |
30531 | 1985 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il> |
1986 | |
1987 * msdos.c (run_msdos_command): Save and restore the master | |
1988 environment, for the case that child_setup signals an error. | |
1989 When mirroring slashes in DOS shell commands, don't fail when | |
1990 argv[2] has embedded blanks. | |
30533 | 1991 (Fmsdos_set_mouse_buttons, mouse_setup_buttons): New functions. |
1992 (syms_of_msdos): Defsubr Fmsdos_set_mouse_buttons. | |
1993 (dos_ttraw): Call mouse_setup_buttons. | |
30531 | 1994 |
1995 * callproc.c (child_setup) [MSDOS]: malloc pwd_var instead of | |
1996 using alloca; free it after run_msdos_command returns. | |
1997 | |
30507 | 1998 2000-07-27 Dave Love <fx@gnu.org> |
1999 | |
2000 * s/irix6-5.h (IRIX_FORCE_32_BITS, LD_SWITCH_SYSTEM): Don't | |
2001 define. | |
2002 [_MIPS_SZLONG == 64]: Set up for 64-bit mode -- not currently | |
2003 working. | |
2004 | |
2005 * m/iris4d.h (XUINT, XSET, XUNMARK) [_LP64]: Don't define. | |
2006 | |
30504 | 2007 2000-07-27 Eli Zaretskii <eliz@is.elta.co.il> |
2008 | |
2009 * editfns.c (lisp_time_argument): Fix last change. | |
2010 | |
30502 | 2011 2000-07-27 Gerd Moellmann <gerd@gnu.org> |
2012 | |
30511 | 2013 * fns.c (Fdelete): Make it work on vectors and strings in addition |
2014 to lists. | |
2015 | |
30502 | 2016 * fns.c (Qkey_or_value, Qkey_and_value): New variables. |
2017 (syms_of_fns): Initialize new variables. | |
2018 (sweep_weak_table): Handle weakness `key-or-value' and | |
2019 `key-and-value'. | |
2020 (Fmake_hash_table): Recognize `key-and-value' and `key-or-value' | |
2021 weakness, with t meaning the same as `key-and-value'. | |
2022 | |
30490 | 2023 2000-07-27 Kenichi Handa <handa@etl.go.jp> |
2024 | |
2025 * coding.h (struct coding_system): Member safe_charset deleted. | |
2026 | |
2027 * coding.c (Qsafe_charsets): This variable deleted. | |
2028 (Qsafe_chars, Vchar_coding_system_table, Qchar_coding_system): New | |
2029 variables. | |
2030 (coding_safe_chars): New function. | |
2031 (CODING_SAFE_CHAR_P): New macro. | |
2032 (CHARSET_OK): New arg C. Call CODING_SAFE_CHAR_P instead of | |
2033 checking safe_charsets member of the coding system. Caller | |
2034 changed. | |
2035 (detect_coding_iso2022): New local variable safe_chars. | |
2036 (DECODE_DESIGNATION): Call CODING_SAFE_CHAR_P instead of checking | |
2037 safe_charsets member of the coding system. | |
2038 (decode_coding_iso2022): New local variable safe_chars. | |
2039 (ENCODE_ISO_CHARACTER_DIMENSION1): Don't check unsafe chars here. | |
2040 (ENCODE_ISO_CHARACTER_DIMENSION2): Likewise. | |
2041 (ENCODE_ISO_CHARACTER): Arguments changed. Caller changed. | |
2042 (ENCODE_UNSAFE_CHARACTER): New macro. | |
2043 (encode_coding_iso2022): New local variable safe_chars. Check | |
2044 unsafe chars. | |
2045 (setup_coding_system): Delete the code to initialize | |
2046 coding->safe_charses | |
2047 (intersection, find_safe_codings): New functions. | |
2048 (Ffind_coding_systems_region_internal): New function. | |
2049 (syms_of_coding): Defsubr it. Initialize Qsafe_chars, | |
2050 Qsafe_cding_system. Make Vchar_coding_system_table a Lisp | |
2051 variable and initialize it. | |
2052 | |
2053 * fns.c (char_table_ref_and_index): New function. | |
2054 | |
2055 * lisp.h (char_table_ref_and_index): Add prototype. | |
2056 | |
30480 | 2057 2000-07-26 Sam Steingold <sds@gnu.org> |
2058 | |
2059 * editfns.c (lisp_time_argument): Added third argument `usec'. | |
30511 | 2060 (Ffloat_time): New built-in Lisp function. |
30480 | 2061 |
30473 | 2062 2000-07-26 Gerd Moellmann <gerd@gnu.org> |
2063 | |
30477 | 2064 * dispextern.h (GLYPH_FROM_CHAR_GLYPH): Use CHARACTERBITS bits |
2065 for the character code. | |
2066 | |
2067 * config.in (HAVE_SOUND): Define only for FreeBSD, NetBSD and | |
2068 GNU/Linux. | |
2069 | |
30473 | 2070 * xmenu.c (menu_highlight_callback): Call show_help_echo directly |
2071 if called for a popup menu. | |
2072 (xmenu_show): Store help string in widget values. | |
2073 | |
30466 | 2074 2000-07-26 Dave Love <fx@gnu.org> |
2075 | |
2076 * syswait.h: Move some definitions. | |
2077 (HAVE_SYS_WAIT_H): Undef for HPUX7, Convex. | |
2078 [!HAVE_SYS_WAIT_H]: Define things unconditionally. More | |
2079 perspicuous definitions. | |
2080 (WTERMSIG): Fix bit pattern used. | |
2081 | |
30460 | 2082 2000-07-26 Kenichi Handa <handa@etl.go.jp> |
2083 | |
2084 * print.c (print_object): If vector printing is truncated, print | |
2085 "..." to indicate it as well as the case of list printing. | |
2086 | |
30444 | 2087 2000-07-25 Gerd Moellmann <gerd@gnu.org> |
2088 | |
30449 | 2089 * xdisp.c (next_element_from_display_vector): Improve comments. |
2090 | |
2091 * lisp.h (GLYPH_MASK_CHAR, GLYPH_MASK_FACE): Use 19 bits | |
2092 for the character code, and the rest for the face id as in 20.x. | |
2093 (FAST_GLYPH_FACE, FAST_MAKE_GLYPH): Changed accordingly. | |
2094 | |
2095 * window.c (window_display_table): Cleaned up. | |
2096 | |
30444 | 2097 * syntax.c (Fforward_word): Add last arg nil in call of |
2098 Fconstrain_to_field. | |
2099 | |
30442 | 2100 2000-07-25 Eli Zaretskii <eliz@is.elta.co.il> |
2101 | |
30449 | 2102 * fileio.c (Frename_file) [DOS_NT]: If the file names are |
30442 | 2103 identical but for the letter-case, don't call |
2104 barf_or_query_if_file_exists. | |
2105 | |
30438 | 2106 2000-07-25 Miles Bader <miles@gnu.org> |
2107 | |
2108 * editfns.c (find_field): Honor special `boundary' fields. | |
2109 (Qboundary): New variables. | |
2110 (syms_of_editfns): Initialize Qboundary. | |
2111 (Fconstrain_to_field): Add the INHIBIT-CAPTURE-PROPERTY argument. | |
2112 Use scan_buffer instead of find_before_next_newline, because it | |
2113 allows us to detect the boundary case where there's a newline at | |
2114 the search limit. | |
2115 * lisp.h (Fconstrain_to_field): Update external declaration. | |
2116 | |
30433 | 2117 2000-07-24 Gerd Moellmann <gerd@gnu.org> |
2118 | |
2119 * print.c (temp_output_buffer_setup): Don't call1 Vrun_hooks | |
2120 if that is nil. | |
30438 | 2121 |
30431 | 2122 2000-07-24 Dave Love <fx@gnu.org> |
2123 | |
2124 * s/sunos4-0.h, s/sol2.h: | |
2125 (LIBS_TERMCAP): Move from m/sparc.h. | |
2126 | |
2127 * m/sparc.h (TERMINFO): Moved to system files (probably only | |
2128 relevant for sunos4 judging by its vintage). | |
2129 (BITS_PER_LONG, BITS_PER_EMACS_INT, _LP64): Define conditional on | |
2130 __arch64__. | |
2131 | |
30424 | 2132 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il> |
2133 | |
2134 * xmenu.c (keymap_panes): Pass the keymap's prompt as the pane | |
2135 name to single_keymap_panes. | |
2136 | |
30418 | 2137 2000-07-24 Andreas Schwab <schwab@suse.de> |
2138 | |
2139 * fns.c (Fmakehash): Pass Qeql to Fmake_hash_table if TEST is nil. | |
2140 | |
30415 | 2141 2000-07-24 Gerd Moellmann <gerd@gnu.org> |
2142 | |
2143 * xdisp.c (with_echo_area_buffer): Take additional EMACS_INT | |
2144 parameters instead of using int parameters. Expect FN to accept | |
2145 EMACS_INT parameters. | |
2146 (display_echo_area, resize_echo_area_axactly, current_message) | |
2147 (truncate_echo_area, set_message_1): Call with_echo_area_buffer | |
2148 with new argument list. | |
2149 (resize_mini_window_1): New callback function. | |
2150 (current_message_1, truncate_message_1, set_message_1): Change | |
2151 parameter lists to the new format expected by | |
2152 with_echo_area_buffer. | |
2153 | |
30397 | 2154 2000-07-24 Kenichi Handa <handa@etl.go.jp> |
2155 | |
2156 * fontset.c (fontset_ref): Remove INLINE declaration. | |
2157 (fontset_ref_via_base): Likewise. | |
2158 (Fset_fontset_font): Convert FAMILY and REGISTRY specifications | |
2159 to downcase. | |
2160 | |
30382 | 2161 2000-07-23 Eli Zaretskii <eliz@is.elta.co.il> |
2162 | |
2163 * msdos.c (IT_note_mouse_highlight): Process overlays in the | |
2164 correct order of priority. If help echo was found in an overlay, | |
2165 use that overlay as the object in which the help echo was found. | |
2166 | |
30378 | 2167 2000-07-22 Miles Bader <miles@gnu.org> |
2168 | |
2169 * textprop.c (Fprevious_single_char_property_change): The initial | |
2170 property value should be from the position preceding POSITION, not | |
2171 following it. | |
2172 | |
30377 | 2173 2000-07-22 Eli Zaretskii <eliz@is.elta.co.il> |
2174 | |
2175 * coding.c (syms_of_coding): Doc fix for | |
2176 inhibit-iso-escape-detection. | |
2177 | |
30364 | 2178 2000-07-21 Gerd Moellmann <gerd@gnu.org> |
2179 | |
30372 | 2180 * xterm.c (note_mouse_highlight): Process overlays in the right |
2181 order of priority. | |
30480 | 2182 |
30370 | 2183 * keyboard.c (show_help_echo, gen_help_event): Extend comments. |
2184 | |
2185 * xterm.c (note_mouse_highlight): If help-echo was found in an | |
2186 overlay, use that overlay as the object in which the help was | |
2187 found. | |
2188 | |
30367 | 2189 * window.c (foreach_window_1): Fix typo reversing an if-condition. |
30480 | 2190 |
30364 | 2191 * window.c (foreach_window): Instead of a fake variable argument |
2192 list, take one USER_DATA argument. | |
2193 (foreach_window_1): Likewise, and call callback functions with two | |
2194 args, the window and USER_DATA. | |
2195 (struct check_window_data): New struct. | |
2196 (check_window_containing): Use it. | |
2197 (window_from_coordinates): Set up a struct check_window_data for | |
2198 foreach_window. | |
2199 (add_window_to_list, freeze_window_start): Change parameters | |
2200 according to new calling convention. | |
2201 | |
2202 * window.h (foreach_window): Change prototype. | |
2203 | |
2204 * buffer.c (Fprevious_overlay_change): Avoid memory leak. | |
2205 | |
2206 2000-07-21 Eli Zaretskii <eliz@is.elta.co.il> | |
2207 | |
2208 * xmenu.c (menu_help_callback): Call show_help_echo with | |
2209 additional arguments OBJECT and POS. | |
2210 | |
30355 | 2211 2000-07-21 Kenichi Handa <handa@etl.go.jp> |
2212 | |
30357 | 2213 * data.c (Faset): Allow storing any multibyte character in a |
2214 string. Convert unibyte string to multibyte if necessary. | |
2215 | |
30355 | 2216 * xfns.c (x_encode_text): New function. |
2217 (x_set_name): Use x_encode_text. | |
2218 (x_set_title): Likewise. | |
2219 | |
2220 * xselect.c (lisp_data_to_selection_data): Use x_encode_text. | |
2221 | |
2222 * xterm.h (x_encode_text): Add prototype. | |
2223 | |
30346 | 2224 2000-07-20 Dave Love <fx@gnu.org> |
2225 | |
2226 * ccl.c (Fccl_execute_on_string): Don't check xmalloc return. Use | |
2227 xfree, not free. | |
2228 | |
30342 | 2229 2000-07-20 Eli Zaretskii <eliz@is.elta.co.il> |
2230 | |
2231 * msdos.c (help_echo_window): New variable. | |
2232 (syms_of_msdos): Initialize and staticpro it. | |
2233 (IT_note_mode_line_highlight): Set help_echo_window. | |
2234 (IT_note_mouse_highlight): Ditto. | |
2235 (dos_rawgetc): Store help_echo_window in the second event produced | |
2236 for HELP_EVENTs. | |
2237 | |
2238 * msdos.c (IT_note_mode_line_highlight, IT_note_mouse_highlight): | |
2239 Record the object that generated the help echo and the position of | |
2240 that object in help_echo_object and help_echo_pos. Record that | |
2241 some glyphs in a row are displayed in mouse-face. | |
2242 (IT_update_begin): Don't clear mouse highlight unless one of the | |
2243 enabled glyph rows is marked as being displayed in mouse-face. | |
2244 (dos_rawgetc): Generate 2 events for HELP_EVENT. Pass the object | |
2245 and position recorded in help_echo_object and help_echo_pos to the | |
2246 event queue. | |
2247 (IT_menu_display): Accept a new argument PN: the pane number of | |
2248 the current menu pane. Record the pane number and the item | |
2249 number of the item which has associated help string. | |
2250 (XMenuActivate): Update the prototype for help_callback in | |
2251 function declaration. Call IT_menu_display with the current menu | |
2252 pane number as an additional argument. Call help_callback with | |
2253 two additional arguments: the pane number and the item number of | |
2254 the menu item associated with the help text. | |
2255 (help_echo_object, help_echo_pos): New variables. | |
2256 (syms_of_msdos): Initialize them and staticpro help_echo_object. | |
2257 | |
2258 * msdos.h (XMenuActivate): Update prototype. | |
2259 | |
30318 | 2260 2000-07-19 Gerd Moellmann <gerd@gnu.org> |
2261 | |
30329 | 2262 * xdisp.c (with_echo_area_buffer): Call FN with more arguments. |
2263 Add some more prototypes. | |
2264 | |
2265 * xterm.c, xterm.h: Add some more prototypes. | |
2266 | |
2267 * lisp.h (Fnext_single_char_property_change): Add prototype. | |
2268 | |
2269 * dispnew.c (direct_output_for_insert): Remove confusing | |
2270 outer local variable mouse_face_overwritten_p. | |
2271 (glyph_row_slice_p): Put in #ifdef GLYPH_DEBUG. | |
2272 | |
30318 | 2273 * alloc.c (allocate_string_data): Don't copy old string contents. |
2274 | |
30314 | 2275 2000-07-19 Kenichi Handa <handa@etl.go.jp> |
2276 | |
2277 * coding.c (code_convert_region): Delete text properties before | |
2278 shrinking the conversion region. | |
2279 | |
30303 | 2280 2000-07-18 Gerd Moellmann <gerd@gnu.org> |
2281 | |
30308 | 2282 * dispnew.c (update_text_area): Write the whole row if it |
2283 has mouse-face in it. | |
2284 | |
30305 | 2285 * xfaces.c (face-alternative-font-family-alist): Remove |
2286 DEFVAR_LISP; staticpro instead. | |
2287 | |
30480 | 2288 * xmenu.c (menu_help_callback): Call show_help_echo with |
30303 | 2289 new arguments. |
2290 | |
2291 * keyboard.c (show_help_echo): Add parameter WINDOW. | |
2292 (read_char): Call show_help_echo with window extracted from Lisp | |
2293 help event. | |
2294 (gen_help_event): Add parameter WINDOW. | |
2295 | |
2296 * keyboard.h (show_help_echo, gen_help_event): Change prototypes. | |
2297 | |
2298 * xterm.c (help_echo_window): New variable. | |
2299 (note_mouse_highlight, note_tool_bar_highlight): Set | |
2300 help_echo_window. | |
2301 (XTread_socket): Pass help_echo_window to gen_help_event. | |
2302 (syms_of_xterm): Initialize and staticpro help_echo_window. | |
2303 | |
30298 | 2304 2000-07-18 Dave Love <fx@gnu.org> |
2305 | |
2306 * Makefile.in: Fix dependencies of blockinput.h on atimer.h, | |
2307 systime.h. | |
2308 | |
30290 | 2309 2000-07-18 Gerd Moellmann <gerd@gnu.org> |
2310 | |
30296 | 2311 * alloc.c (allocate_string_data): If string had already data |
2312 assigned, copy old contents to new string data. | |
2313 | |
2314 * coding.c (syms_of_coding): Fix typo in spelling of variable | |
2315 `inhibit-iso-escape-detection'. | |
2316 | |
30290 | 2317 * alloca.c (free) [emacs && EMACS_FREE]: Define as EMACS_FREE. |
2318 | |
2319 * Makefile.in: Add dependencies on dispextern.h. | |
2320 (alloca.o): Don't define malloc and define EMACS_FREE instead of | |
2321 `free'; both can conflict with system header files. | |
2322 | |
30281 | 2323 2000-07-18 Kenichi Handa <handa@etl.go.jp> |
2324 | |
2325 * charset.h (MAKE_CHAR): Return reasonable code even if CHARSET is | |
2326 undefined. | |
2327 | |
30266 | 2328 2000-07-18 Dave Love <fx@gnu.org> |
2329 | |
2330 * window.c (Fwindow_list): Declare arg `window'. | |
2331 | |
30262 | 2332 2000-07-18 Kenichi Handa <handa@etl.go.jp> |
2333 | |
2334 * coding.c (setup_coding_system): Don't override the explicitly | |
2335 specified designations. | |
2336 | |
30245 | 2337 2000-07-15 Miles Bader <miles@gnu.org> |
2338 | |
2339 * editfns.c (char_property_eq, char_property_stickiness): Renamed | |
2340 from `text_property_eq' and `text_property_stickiness', respectively. | |
2341 (find_field, Fconstrain_to_field, char_property_eq) | |
2342 (char_property_stickiness): Changed to call char-property functions | |
2343 instead of text-property-only ones. | |
2344 | |
2345 * textprop.c (Fnext_single_char_property_change): Made a subr (was | |
2346 `next_single_char_property_change'). Do more error checking, and | |
2347 cleanup limit behavior. | |
2348 (Fprevious_single_char_property_change): New function. | |
2349 (syms_of_textprop): Initialize new subrs. | |
2350 | |
2351 * xdisp.c (display_prop_end, invisible_text_between_p): | |
2352 Call Fnext_single_char_property_change instead of | |
2353 next_single_char_property_change. | |
2354 | |
30241 | 2355 2000-07-15 Jason Rumney <jasonr@gnu.org> |
2356 | |
2357 * w32menu.c (w32_menu_show): Call free_menubar_widget_value_tree | |
2358 after menu is finished with. | |
2359 (add_menu_item): Only consider wv->title as a menu title. | |
2360 (w32_menu_display_help): Add OBJECT and POS to show_help_echo. | |
2361 | |
2362 * w32fns.c (w32_wnd_proc) [WM_DRAW_ITEM]: Do not try to draw a | |
2363 null title. | |
2364 (FONT_REGEXP): Remove unused macro, and its sub-components. | |
2365 (syms_of_w32fns): Replace underscore in w32-enable-synthesized-fonts. | |
2366 | |
2367 * w32term.c (help_echo_object, help_echo_pos): New variables. | |
2368 (note_mode_line_highlight): Store additional information about the | |
2369 help-echo in help_echo_object and help_echo_pos. Check both | |
2370 `local-map' and `keymap' properties for changing the cursor | |
2371 (note_mouse_highlight): Store additional information about the | |
2372 help-echo in help_echo_object and help_echo_pos. | |
2373 (note_tool_bar_highlight): Set help_echo_object to nil and | |
2374 help_echo_pos to -1. | |
2375 (w32_read_socket): Use gen_help_event instead of filling | |
2376 input_events manually. | |
2377 (syms_of_w32term): Staticpro help_echo_object. | |
2378 (x_update_window_end): Add parameter MOUSE_FACE_OVERWRITTEN_P. If | |
2379 set, arrange for a mouse-highlight redisplay in | |
2380 XTframe_up_to_date. | |
2381 (x_clear_mouse_face): New function. | |
2382 (w32_redisplay_interface): Add pointer to x_clear_mouse_face. | |
2383 (x_update_window_begin): No need to turn off the mouse | |
2384 highlight here. | |
2385 (show_mouse_face): Set the mouse_face_p flag of glyph rows | |
2386 depending on whether they contain glyphs highlighted in | |
2387 mouse-face. | |
2388 (x_fill_stretch_glyph_string): Consume runs of stretch | |
2389 glyphs instead of a single one. | |
2390 (BUILD_STRETCH_GLYPH_STRING): Call x_fill_stretch_glyph_string | |
2391 with new argument list. | |
2392 (x_set_glyph_string_gc): Make sure the face's GC is valid. | |
2393 (x_append_glyph, x_append_composite_glyph) | |
2394 (x_produce_image_glyph, x_append_stretch_glyph): Accomodate to | |
2395 changes in struct glyph starting 1999-12-27. See comments for | |
2396 xterm.c on 2000-07-05. | |
2397 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2398 2000-07-14 Sam Steingold <sds@gnu.org> |
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2399 |
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2400 * xfaces.c (realize_x_face): Fix the last patch: |
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2401 check `default_face' before dereferencing. |
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2402 |
30229 | 2403 2000-07-14 Dave Love <fx@gnu.org> |
2404 | |
30266 | 2405 * syntax.c (back_comment): Add null default in switch (for pcc). |
30229 | 2406 |
30206 | 2407 2000-07-14 Kenichi Handa <handa@etl.go.jp> |
2408 | |
30210 | 2409 * 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
|
2410 default_face's fontset, not using the default fontset. |
30210 | 2411 |
30206 | 2412 * coding.c (inhibit_iso_escape_detection): New variable. |
2413 (syms_of_coding): Make it a Lisp variable. | |
2414 (detect_coding_iso2022): If inhibit_iso_escape_detection is | |
2415 nonzero, ignore ISO2022's escape sequence. | |
2416 | |
30203 | 2417 2000-07-14 Gerd Moellmann <gerd@gnu.org> |
2418 | |
30234 | 2419 * alloca.c (malloc) [emacs]: Define as xmalloc. |
2420 | |
30226 | 2421 * xfns.c (Fx_show_tip): If frame parameters contain a position, |
2422 use that instead of the mouse position. Add parameters DX and DY. | |
2423 | |
2424 * dispextern.h (Fx_show_tip): Adjust number of parameters | |
2425 in prototype. | |
2426 | |
30219 | 2427 * keyboard.c (show_help_echo): Add parameters OBJECT and POS. |
2428 if HELP is a function, call it with OBJECT and POS as parameters | |
2429 to get the help to display. | |
2430 (gen_help_event, kbd_buffer_store_help_event): New functions. | |
2431 (kbd_buffer_get_event): Construct the Lisp help-event differently. | |
2432 (read_char): Call show_help_echo with new parameters. | |
2433 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2434 * keyboard.h (gen_help_event, kbd_buffer_store_help_event): |
30219 | 2435 Add prototypes. |
2436 | |
2437 * xterm.c (help_echo_object, help_echo_pos): New variables. | |
2438 (note_mode_line_highlight): Store additional information about the | |
2439 help-echo in help_echo_object and help_echo_pos. Check both | |
2440 `local-map' and `keymap' properties for changing the cursor | |
2441 (note_mouse_highlight): Store additional information about the | |
2442 help-echo in help_echo_object and help_echo_pos. | |
2443 (note_tool_bar_highlight): Set help_echo_object to nil and | |
2444 help_echo_pos to -1. | |
2445 (XTread_socket): Use gen_help_event instead of filling | |
2446 input_events manually. | |
2447 (syms_of_xterm): Staticpro help_echo_object. | |
2448 | |
2449 * xmenu.c (menu_highlight_callback): Use | |
2450 kbd_buffer_store_help_event instead of setting up and input_event | |
2451 structure manually. | |
2452 | |
2453 * xdisp.c (eval_form): GCPRO argument sexpr. | |
2454 (call_function): New function. | |
2455 (handle_single_display_prop): Use call_function and FUNCTIONP | |
2456 instead of checking whether if font_height is a symbol and | |
2457 using eval_form. | |
2458 | |
2459 * eval.c (internal_condition_case_2): New function. | |
2460 | |
2461 * lisp.h (FUNCTIONP): New macro. | |
2462 (internal_condition_case_2, call_function): Add prototypes. | |
2463 | |
30203 | 2464 * xterm.c (construct_mouse_click, x_scroll_bar_to_input_event) |
2465 (x_scroll_bar_handle_click, SET_SAVED_MENU_EVENT, XTread_socket): | |
2466 Always set `arg' member of input_events. | |
2467 (construct_menu_click): Unused function removed. | |
2468 | |
2469 * msdos.c (dos_rawgetc): Always set `arg' member of input_events. | |
2470 | |
2471 * w32term.c (construct_mouse_click, construct_mouse_wheel) | |
2472 (construct_drag_n_drop, x_scroll_bar_handle_click) | |
2473 (w32_read_socket): Always set `arg' member of input_events. | |
2474 | |
2475 * keyboard.c (show_help_echo): Use eval_form. Add comment. | |
2476 | |
2477 * lisp.h (eval_form): Add prototype. | |
2478 | |
2479 * xdisp.c (eval_form): Make it externally visible. | |
2480 | |
30183 | 2481 2000-07-13 Gerd Moellmann <gerd@gnu.org> |
2482 | |
2483 * xterm.c (x_handle_tool_bar_click): Store the frame in the | |
2484 frame_or_window slot of TOOL_BAR_EVENT input events instead of | |
2485 consing. For prefix events, store the frame in the `arg' slot of | |
2486 the event, otherwise store the key there. | |
2487 (XTread_socket): Instead of consing, use the frame_or_window slot | |
2488 of HELP_EVENTs for the frame, and the `arg' slot for the help | |
2489 string. | |
2490 | |
2491 * xmenu.c (menu_highlight_callback): Store help string in the | |
2492 `arg' member of the input event; don't cons. | |
2493 (menubar_selection_callback): Use the `arg' slot of input events | |
2494 to queue additional information, instead of consing. | |
2495 | |
2496 * msdos.c (dos_rawgetc): Adapt to change of HELP_EVENTs. | |
2497 | |
2498 * w32term.c (w32_handle_tool_bar_click): Adapt to changes in | |
2499 TOOL_BAR_EVENTs. | |
2500 (w32_read_socket): Adapt to changes in HELP_EVENTs. | |
2501 | |
2502 * w32menu.c (menubar_selection_callback): Use the `arg' slot of | |
2503 input events to queue additional information, instead of consing. | |
2504 | |
2505 * keyboard.c (kbd_buffer_gcpro): Renamed from | |
2506 kbd_buffer_frame_or_window. Now used for all Lisp objects | |
2507 referenced from the input queue. | |
2508 (kbd_buffer_store_event): Always use structure assignment for | |
2509 copying input events. Record all Lisp objects referenced from | |
2510 events in kbd_buffer_gcpro. | |
2511 (kbd_buffer_get_event): Construct Lisp `help-echo' events | |
2512 differently from input events. Test for prefix menu_bar_events | |
2513 and TOOL_BAR_EVENTs differently. Reset all slots used by an input | |
2514 event in kbd_buffer_gcpro to nil. | |
2515 (make_lispy_event) <TOOL_BAR_EVENT>: Treat an input event whose | |
2516 frame_or_window is equal to its arg member as prefix events. | |
2517 (stuff_buffered_input): Reset all slots in kbd_buffer_gcpro | |
2518 used by an input event to nil. | |
2519 (init_keyboard): Use two times the size of the input queue | |
2520 for kbd_buffer_gcpro. | |
2521 (syms_of_keyboard): Likewise. | |
2522 | |
2523 * emacs.c (handle_USR2_signal, handle_USR1_signal): Use | |
2524 USER_SIGNAL_EVENT. | |
2525 | |
2526 * termhooks.h (struct input_event): Add member `arg'. | |
2527 (MENU_BAR_EVENT): Renamed from menu_bar_event. | |
2528 (USER_SIGNAL_EVENT): Renamed from user_signal. | |
2529 | |
2530 * xfaces.c (ASET): Remove definition. | |
2531 | |
2532 * lisp.h (AREF, ASET, ASIZE): New macros. | |
2533 | |
2534 * fontset.c (AREF, ASIZE): Remove definitions. | |
2535 | |
2536 * fns.c (AREF): Remove definition. | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2537 |
30183 | 2538 * composite.c (AREF): Remove definition. |
2539 | |
30163 | 2540 2000-07-12 Gerd Moellmann <gerd@gnu.org> |
2541 | |
30166 | 2542 * dispnew.c (redraw_overlapped_rows): Add missing local. |
2543 (scrolling_window): Remove debug code. | |
2544 | |
30163 | 2545 * xdisp.c (try_window_reusing_current_matrix, try_window_id): |
2546 Before scrolling, turn off a mouse-highlight in the window | |
2547 being scrolled. | |
2548 | |
2549 * xterm.c (x_update_window_end): Add parameter | |
2550 MOUSE_FACE_OVERWRITTEN_P. If set, arrange for a mouse-highlight | |
2551 redisplay in XTframe_up_to_date. | |
2552 (x_clear_mouse_face): New function. | |
2553 (x_redisplay_interface): Add pointer to x_clear_mouse_face. | |
2554 | |
2555 * dispnew.c (make_current): Preserve the mouse_face_p flag of the | |
2556 current glyph row. | |
2557 (update_window_line): Add parameter MOUSE_FACE_OVERWRITTEN_P. Set | |
2558 it when any row is written to that contains glyphs highlighted in | |
2559 mouse-face. | |
2560 (update_window): Call the window update end hook with new | |
2561 parameter MOUSE_FACE_OVERWRITTEN_P. | |
2562 (direct_output_for_insert): Give up if row contains mouse-face. | |
2563 | |
2564 * dispextern.h (struct redisplay_interface): Add parameter | |
2565 MOUSE_FACE_OVERWRITTEN_P to update_window_end_hook function. | |
2566 (clear_mouse_face): New function pointer member. | |
2567 | |
30157
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2568 2000-07-11 Stefan Monnier <monnier@cs.yale.edu> |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2569 |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2570 * 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
|
2571 Obey open_paren_in_column_0_is_defun_start. |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2572 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
|
2573 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
|
2574 does indeed match the comment-ender. |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2575 (scan_sexps_forward, scan_sexps_forward): |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2576 Ignore excessive opening parenthesis rather than throwing an error. |
c0ab9f112c0d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30155
diff
changeset
|
2577 |
30155 | 2578 2000-07-11 Gerd Moellmann <gerd@gnu.org> |
2579 | |
2580 * doc.c (Fsubstitute_command_keys): Handle case that a GC | |
2581 in Fwhere_is_internal or get_keymap_1 relocates string contents. | |
2582 | |
2583 * dispnew.c (direct_output_forward_char): Give up if currently | |
2584 displaying a message instead of the minibuffer contents. | |
2585 | |
2586 * xterm.c (x_update_window_begin): No need to turn off the mouse | |
2587 highlight here. | |
2588 (show_mouse_face): Set the mouse_face_p flag of glyph rows | |
2589 depending on whether they contain glyphs highlighted in | |
2590 mouse-face. | |
2591 | |
2592 * dispnew.c (row_equal_p): Add parameter MOUSE_FACE_P. If set, | |
2593 compare the mouse_face_p flags of both rows. | |
2594 | |
2595 * dispextern.h (struct glyph_row): Add flag mouse_face_p. | |
2596 | |
30146 | 2597 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il> |
2598 | |
2599 * keyboard.c (show_help_echo): Accept additional parameter | |
2600 ok_to_overwrite_keystroke_echo. | |
2601 (read_char): Call show_help_echo with a zero | |
2602 ok_to_overwrite_keystroke_echo argument. | |
2603 * keyboard.h (show_help_echo): Update prototype of | |
2604 show_help_echo. | |
2605 * xmenu.c (menu_help_callback): Call show_help_echo with non-zero | |
2606 ok_to_overwrite_keystroke_echo argument. | |
2607 * w32menu.c (w32_menu_display_help): Call show_help_echo with | |
2608 non-zero ok_to_overwrite_keystroke_echo argument. | |
2609 | |
30135 | 2610 2000-07-10 Gerd Moellmann <gerd@gnu.org> |
2611 | |
30140 | 2612 * xdisp.c (try_window_id): If changes are all below what is |
2613 displayed in the window, and point is in the window, we still | |
2614 might have to find point on the display. | |
2615 | |
2616 * xterm.c (x_fill_stretch_glyph_string): Consume runs of stretch | |
2617 glyphs instead of a single one. | |
2618 (BUILD_STRETCH_GLYPH_STRING): Call x_fill_stretch_glyph_string | |
2619 with new argument list. | |
2620 (x_set_glyph_string_gc): Make sure the face's GC is valid. | |
2621 | |
30135 | 2622 * keymap.c (get_keymap_1): Add comment that this function can GC. |
2623 (where_is_internal_2, where_is_internal_1): Add GCPROs, add | |
2624 comment that functions can GC. | |
2625 (Fset_keymap_parent): GCPRO arg KEYMAP. | |
2626 | |
30133 | 2627 2000-07-10 Eli Zaretskii <eliz@is.elta.co.il> |
2628 | |
2629 * msdos.c (XMenuActivate): After exiting the menu, restore the | |
2630 echo area message and erase it. | |
2631 | |
30125 | 2632 2000-07-10 Kenichi Handa <handa@etl.go.jp> |
2633 | |
2634 * fontset.c (Ffontset_info): Make the return value more compatible | |
2635 with that of Emacs 20. | |
2636 | |
30107 | 2637 2000-07-07 Gerd Moellmann <gerd@gnu.org> |
2638 | |
2639 * eval.c (Fsignal): Handle case that backtrace_list is null. | |
2640 | |
30104 | 2641 2000-07-07 Kenichi Handa <handa@etl.go.jp> |
2642 | |
2643 * ccl.c (Fccl_execute): Typo fixed. | |
2644 | |
30096 | 2645 2000-07-06 Gerd Moellmann <gerd@gnu.org> |
2646 | |
30103 | 2647 * 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
|
2648 |
30096 | 2649 * window.c (Fwindow_list): Reverse list at the end. |
2650 (candidate_window_p): Add parameter OWINDOW. ALL_FRAMES nil | |
2651 means allow windows on OWINDOW's frame, only. | |
2652 (window_loop): Simplified; use Fwindow_list. | |
2653 | |
2654 * Makefile.in (TAGS-LISP): Don't pass `$(lispsource)' to make. | |
2655 | |
30085 | 2656 2000-07-05 Gerd Moellmann <gerd@gnu.org> |
2657 | |
2658 * xterm.c (XTread_socket): Increment handling_signal at the start, | |
2659 decrement it at the end. | |
2660 | |
2661 * eval.c (handling_signal): New variable. | |
2662 (Fsignal): Abort if handling_signal is non-zero. | |
2663 | |
2664 * lisp.h (handling_signal): External declaration. | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2665 |
30085 | 2666 * s/freebsd.h (WAITTYPE, WRETCODE): Put in #if 0. |
2667 | |
30079
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
2668 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
|
2669 |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
2670 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
|
2671 * config.in (HAVE_SOUNDCARD_H): Undef. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
2672 (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
|
2673 * Makefile.in (LIBSOUND): New variable. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
2674 (LIBES): Include it. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
2675 * 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
|
2676 <soundcard.h>. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
2677 (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
|
2678 elsewhere. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
2679 (vox_open): Use DEFAULT_SOUND_DEVICE. |
1572612184fc
Sound support for NetBSD through "Linux emulation" support:
Ken Raeburn <raeburn@raeburn.org>
parents:
30076
diff
changeset
|
2680 * 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
|
2681 |
30076 | 2682 2000-07-05 Gerd Moellmann <gerd@gnu.org> |
2683 | |
2684 * print.c (print_error_message): If Vsignaling_function is set, | |
2685 show it in *Messages*. | |
2686 | |
2687 * lisp.h (Vsignaling_function): External declaration. | |
2688 | |
2689 * eval.c (Vsignaling_function): New variable. | |
2690 (Fsignal): Compute it. | |
2691 (syms_of_eval): Staticpro it. | |
2692 | |
30069 | 2693 2000-07-05 Dave Love <fx@gnu.org> |
2694 | |
2695 * syswait.h: Use the autoconf recommended approach. Old code | |
2696 #if'd out in case we need to revert. | |
2697 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2698 * config.in (HAVE_SYS_WAIT_H): Added. |
30069 | 2699 |
30067 | 2700 2000-07-05 Andrew Innes <andrewi@gnu.org> |
2701 | |
2702 * vm-limit.c (check_memory_limits) [REL_ALLOC]: Use real_morecore | |
2703 when non-NULL instead of __morecore, to take account of buffer | |
2704 memory. This also solves a problem with spurious memory warnings | |
2705 on Windows. | |
2706 | |
2707 * ralloc.c: Make real_morecore non-static. | |
2708 | |
2709 * eval.c (internal_condition_case): Comment out abort if | |
2710 interrupt_input_blocked is not zero. | |
2711 | |
2712 * makefile.nt: Add support for `bootstrap' and related targets. | |
2713 Include minimal debug info in emacs.exe in release build. | |
2714 Remove all dependencies on lisp.h, and fixup some others. | |
2715 | |
2716 * w32.c (init_environment): Install code from 20.7 for providing | |
2717 default values for environment variables, based on the | |
2718 executable's own location. | |
2719 (map_w32_filename): Handle filenames that are longer than | |
2720 MAX_PATH. | |
2721 (sys_socket): Install socket inheritance bug fix from 20.7. | |
2722 | |
2723 * alloca.c [emacs]: Include lisp.h (needed by atimer.h included | |
2724 here via blockinput.h). | |
2725 | |
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2726 2000-07-05 Stefan Monnier <monnier@cs.yale.edu> |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2727 |
30098
54ef6ace438d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30096
diff
changeset
|
2728 * w32menu.c (w32_menu_display_help): |
54ef6ace438d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30096
diff
changeset
|
2729 * xmenu.c (menu_help_callback): Use show_help_echo. |
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2730 |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2731 * keyboard.h (show_help_echo): Declare. |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2732 |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2733 * 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
|
2734 Feval its `msg' argument if it's a cons cell. |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2735 (read_char): Use it. |
30118
67bba9343314
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30107
diff
changeset
|
2736 (follow_key): Pass `autoload' to get_keyelt. |
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2737 |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2738 * xterm.c (note_mode_line_highlight, note_mouse_highlight) |
30059
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2739 (note_tool_bar_highlight, XTread_socket): |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2740 * 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
|
2741 (dos_rawgetc): |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2742 * w32term.c (note_mode_line_highlight, note_mouse_highlight) |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2743 (note_tool_bar_highlight, w32_read_socket): |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2744 Do not gratuitously ignore non-string `help-echo' properties. |
6a413a3c9c25
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
30049
diff
changeset
|
2745 |
30043 | 2746 2000-07-05 Gerd Moellmann <gerd@gnu.org> |
2747 | |
30049 | 2748 * eval.c (Feval): Put check for interrupt_input_block in #if 0. |
2749 | |
30046 | 2750 * window.c (delete_all_subwindows): Reset Vwindow_list. |
2751 | |
30043 | 2752 * xterm.c (x_append_glyph, x_append_composite_glyph) |
2753 (x_produce_image_glyph, x_append_stretch_glyph): Accomodate to | |
2754 changes in struct glyph starting 1999-12-27. Some bit-fields of | |
2755 struct glyph were not set, which made glyphs unequal when compared | |
2756 with GLYPH_EQUAL_P. Redisplay outputs such glyphs, and flickering | |
2757 effects were the result. This also depended on the contents of | |
2758 memory returned by xmalloc. If flickering happens again, activate | |
2759 the code in clear_glyph_row that's in #if 0. If the flickering is | |
2760 gone with that, chances are that it is caused by something | |
2761 similar. | |
2762 | |
2763 * 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
|
2764 |
30043 | 2765 * dispextern.h: Add some comments. |
2766 | |
2767 * window.c (add_window_to_list): Add parameter LIST. | |
2768 (window_list): Order list so that, for each frame, windows are | |
2769 in canonical order, and so that frames appear in the list in | |
2770 the order given by Vframe_list. | |
2771 (next_window): Reverse the handling of NEXT_P. | |
2772 | |
30031 | 2773 2000-07-04 Gerd Moellmann <gerd@gnu.org> |
2774 | |
30038 | 2775 * window.c (Vwindow_list): New variable. |
2776 (make_window, delete_window): Set Vwindow_list to nil. | |
2777 (check_window_containing): New function. | |
2778 (window_from_coordinates): Rewritten. | |
2779 (add_window_to_list, window_list, candidate_window_p) | |
2780 (decode_next_window_args, next_window): New functions. | |
2781 (Fnext_window, Fprevious_window): Rewritten in terms of | |
2782 next_window. | |
2783 (Fwindow_list): New function. | |
2784 (Fother_window): Cleaned up. | |
2785 (foreach_window): Add a longer "variable argument list". Let | |
2786 callback function return 0 to indicate that cycling over windows | |
2787 should stop. | |
2788 (foreach_window_1): Likewise. | |
2789 (freeze_window_start): Return int. | |
2790 (init_window): New function. | |
2791 (syms_of_window): Staticpro Vwindow_list and defsubr Swindow_list. | |
2792 | |
2793 * emacs.c (handle_USR1_signal, handle_USR2_signal) Clear | |
2794 input_event with bzero. | |
2795 (main): Call init_window. | |
2796 | |
30031 | 2797 * keymap.c (get_keyelt): Temporarily inhibit GC while evaluating |
2798 a menu filter. | |
2799 | |
30026 | 2800 2000-07-04 Kenichi Handa <handa@etl.go.jp> |
2801 | |
2802 * composite.h (make_composition_value_copy): Extern it. | |
2803 | |
2804 * composite.c (make_composition_value_copy): New function. | |
2805 | |
2806 * editfns.c (Fformat): While copying text properties, make each | |
2807 composition property value a copy. | |
2808 | |
2809 * fns.c (concat): While copying text properties, make each | |
2810 composition property value a copy. | |
2811 | |
29996 | 2812 2000-07-03 Gerd Moellmann <gerd@gnu.org> |
2813 | |
30012 | 2814 * m/macppc.h (LINKER, LD_SWITCH_MACHINE) [LINUX]: Define. |
2815 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2816 * fns.c (sweep_weak_table): Mark only objects that are not |
30008 | 2817 marked already. |
2818 | |
29996 | 2819 * frame.c (next_frame, prev_frame): If MINIBUF is a window, |
2820 include those frames as candidates which have their focus | |
2821 redirected to the minibuffer frame. | |
2822 | |
29992
c1a99b7c6085
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29989
diff
changeset
|
2823 2000-07-03 Stefan Monnier <monnier@cs.yale.edu> |
c1a99b7c6085
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29989
diff
changeset
|
2824 |
c1a99b7c6085
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29989
diff
changeset
|
2825 * fns.c (Fputhash): Return `value' rather than nil. |
c1a99b7c6085
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29989
diff
changeset
|
2826 |
29988 | 2827 2000-06-30 Gerd Moellmann <gerd@gnu.org> |
2828 | |
29989 | 2829 * frame.c (next_frame): Don't check focus redirection in case |
2830 MINIBUF is a window. Doing so excludes frames using MINIBUF | |
29988 | 2831 unless their focus is redirected, which contradicts the |
2832 specification of next-frame, and leads to infinite loops in | |
2833 certain situations when cycling through windows with next-window. | |
2834 | |
29983 | 2835 2000-06-30 Kenichi Handa <handa@etl.go.jp> |
2836 | |
29984 | 2837 * coding.c (code_convert_region): Even if the length of text is |
29983 | 2838 zero, try to convert it if coding->type is coding_type_ccl. |
29984 | 2839 (decode_coding_string, encode_coding_string): Likewise. |
29983 | 2840 |
29972 | 2841 2000-06-28 Gerd Moellmann <gerd@gnu.org> |
2842 | |
29982 | 2843 * xdisp.c (try_window_reusing_current_matrix): Don't try to reuse |
29989 | 2844 the display if windows_or_buffers_changed. |
29982 | 2845 |
2846 * dispnew.c (struct row_entry): New structure. | |
2847 (row_entry_pool, row_entry_pool_size, row_entry_idx, row_table) | |
2848 (row_table_size, old_lines, new_lines, old_lines_size) | |
2849 (new_lines_size, run_pool, runs_size, runs): New variables. | |
2850 (add_row_entry): New function. | |
2851 (scrolling_window): Use data structures allocated with xmalloc and | |
29989 | 2852 held in global variables, instead of allocating them with alloca and |
29982 | 2853 holding them in local variables. Use a larger hash table whose |
2854 size depends on glyph matrix sizes. Don't use bzero to clear the | |
2855 hash table; instead, clear used slots only. | |
2856 | |
2857 * fns.c (next_almost_prime): Make it externally visible. | |
2858 | |
2859 * lisp.h (next_almost_prime): Add prototype. | |
2860 | |
29972 | 2861 * s/isc4-0.h (sigunblock): Define. |
2862 | |
2863 * s/sco5.h (sigunblock): Define. | |
2864 | |
29965 | 2865 2000-06-27 Dave Love <fx@gnu.org> |
2866 | |
2867 * s/osf1.h (C_SWITCH_SYSTEM, LIBS_SYSTEM): Revert last change | |
2868 (moved to osf5-0.h). | |
2869 [!NOT_C_CODE]: Protect string.h stuff. | |
2870 | |
2871 * s/osf5-0.h (C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED) | |
2872 (sys_siglist, NSIG): Definitions moved here from osf1.h. | |
2873 | |
29961 | 2874 2000-06-27 Gerd Moellmann <gerd@gnu.org> |
2875 | |
29989 | 2876 * xdisp.c (resize_mini_window): Subtract the extra line spacing |
29961 | 2877 below the last line from the needed window height. |
2878 | |
29955
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
2879 2000-06-26 Stefan Monnier <monnier@cs.yale.edu> |
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
2880 |
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
2881 * fns.c (Fplist_member): Renamed from Fwidget_plist_member. |
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
2882 (Fwidget_get): Use it. |
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
2883 (syms_of_fns): Defsubr it. |
7e4b93cdaa3a
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29949
diff
changeset
|
2884 |
29939 | 2885 2000-06-26 Gerd Moellmann <gerd@gnu.org> |
2886 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2887 * xterm.c (xim_initialize) [!USE_XIM]: Don't set up the |
29949 | 2888 display info for XIM. |
2889 (xim_open_dpy): Likewise. | |
2890 (xim_close_dpy): Don't free the display info's XIM. | |
2891 | |
2892 * xfns.c (x_window) [!USE_XIM]: Don't call create_frame_ic. | |
2893 | |
2894 * config.in (USE_XIM): New define. | |
2895 | |
29942 | 2896 * keymap.c (get_keyelt): For menu-items containing a `:filter |
2897 FILTER', apply FILTER to the menu-item's definition to get the | |
2898 real definition to use. | |
2899 | |
2900 * lisp.h (QCfilter): External declaration. | |
2901 | |
29939 | 2902 * xfns.c (Fimage_size): New function. |
2903 (syms_of_xfns): Defsubr it. | |
2904 | |
29933 | 2905 2000-06-26 Andreas Schwab <schwab@suse.de> |
2906 | |
2907 * coding.c (decode_coding_string): Re-fetch STRING_BYTES after | |
2908 Fstring_as_unibyte. | |
2909 | |
29930 | 2910 2000-06-25 Dave Love <fx@gnu.org> |
2911 | |
2912 * term.c [!HAVE_TERMCAP_H]: Declare tputs, tgetent, tgetflag, | |
2913 tgetnum. | |
2914 | |
2915 * Makefile.in (blockinput.h): Depend on atimer.h. | |
2916 (atimer.h): Depend on systime.h. | |
2917 | |
2918 * blockinput.h: Protect against multiple inclusion. Include | |
2919 atimer.h. | |
2920 | |
2921 * atimer.h: Protect against multiple inclusion. Include | |
2922 systime.h. | |
2923 | |
2924 * lisp.h (swap_in_global_binding): Declare. | |
2925 | |
29921
8a4552214d84
* process.c (Fopen_network_stream): Turn off atimers for duration of call to
Ken Raeburn <raeburn@raeburn.org>
parents:
29918
diff
changeset
|
2926 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
|
2927 |
8a4552214d84
* process.c (Fopen_network_stream): Turn off atimers for duration of call to
Ken Raeburn <raeburn@raeburn.org>
parents:
29918
diff
changeset
|
2928 * 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
|
2929 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
|
2930 |
29916 | 2931 2000-06-23 Dave Love <fx@gnu.org> |
2932 | |
29918 | 2933 * ralloc.c: Maybe include unistd.h |
2934 | |
29916 | 2935 * emacs.c (setgrp): Undefine before defining. |
2936 (malloc_warning, set_time_zone_rule, index): Prototype. | |
2937 | |
2938 * systime.h (EMACS_GET_TIME) [!GETTIMEOFDAY_ONE_ARGUMENT]: Use | |
2939 HAVE_STRUCT_TIMEZONE. | |
2940 | |
2941 * s/osf1.h: Move string.h hack here from alpha.h and make it | |
2942 conditional. | |
2943 (C_SWITCH_SYSTEM): Use _OSF_SOURCE, not -BSD, which clashes with | |
2944 _XOPEN_SOURCE. | |
2945 (WAIT_USE_INT, SYS_SIGLIST_DECLARED, sys_siglist, NSIG): Define. | |
2946 (SOCKLEN_TYPE): Don't define. | |
2947 | |
2948 * m/alpha.h: Remove string.h hack. | |
2949 | |
2950 * s/osf5-0.h: New file. | |
2951 | |
2952 * filelock.c: Use feature tests for fcntl.h, string.h. Don't | |
2953 include time.h, done by systime.h. | |
2954 [__FreeBSD__]: Remove redundant includes. | |
2955 | |
29942 | 2956 * callproc.c (setpgrp): Undefine before defining. |
29916 | 2957 (delete_temp_file): Return Qnil to avoid warning. |
2958 | |
2959 * config.in (HAVE_TERM_H, HAVE_STRUCT_TIMEZONE): Add. | |
2960 | |
2961 * xfaces.c: Include fontset.h dependent on HAVE_WINDOW_SYSTEM, not | |
2962 HAVE_X_WINDOWS. | |
2963 | |
2964 * fontset.h (free_face_fontset): Renamed from fs_free_face_fontset. | |
2965 | |
2966 * composite.h (compose_text): Declare. | |
2967 | |
2968 * xterm.c: Don't include sys/types.h unconditionally. Don't | |
2969 protect its inclusion with !USG (following xmenu.c). | |
2970 | |
29888 | 2971 2000-06-23 Gerd Moellmann <gerd@gnu.org> |
2972 | |
2973 * xfns.c (x_create_tip_frame): Initialize frame's colors like | |
2974 in x_create_frame. | |
2975 | |
29878 | 2976 2000-06-23 Eli Zaretskii <eliz@is.elta.co.il> |
2977 | |
2978 * coding.c (decode_eol_post_ccl): Special handling for undecided | |
2979 and inconsistent EOL types. | |
2980 | |
29860 | 2981 2000-06-22 Gerd Moellmann <gerd@gnu.org> |
2982 | |
29868 | 2983 * xrdb.c (x_load_resources): Add default resource for scroll bar's |
2984 trough color and main window's background color. | |
2985 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2986 * xfns.c (Fx_file_dialog) [HAVE_MOTIF_2_1]: Handle events |
29868 | 2987 differently. |
2988 | |
2989 * xterm.h (Xt_app_con): External declaration. | |
2990 | |
2991 * widget.c (EmacsFrameRealize): Fix typo. | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
2992 |
29862 | 2993 * widget.c (EmacsFrameRealize): Remove SubstructureRedirectMask. |
2994 | |
29860 | 2995 * xdisp.c (handle_stop): Initialize it->add_overlay_start to zero. |
2996 (handle_invisible_prop): Record the start of invisible text in | |
2997 it->add_overlay_start. | |
2998 (struct overlay_entry): Add member `overlay'. | |
2999 (handle_overlay_change): Simplify. | |
3000 (next_overlay_string): After having processed overlay strings at the | |
3001 end of the buffer, record that fact in | |
3002 it->overlay_strings_at_end_processed_p. | |
3003 (compare_overlay_entries): If before- and after-strings come | |
3004 from the same overlay, let before-strings come first. | |
3005 (RECORD_OVERLAY_STRING): Record the overlay that strings come from. | |
3006 (load_overlay_strings): Take it->add_overlay_start into account | |
3007 when adding overlay strings. | |
3008 | |
3009 * dispextern.h (struct it): Add member add_overlay_start. | |
3010 | |
29852 | 3011 2000-06-22 Dave Love <fx@gnu.org> |
3012 | |
3013 * s/isc3-0.h (C_SWITCH_SYSTEM): Define _XOPEN_SOURCE=500. | |
3014 | |
3015 * s/gnu-linux.h (C_SWITCH_SYSTEM): Don't define _XOPEN_SOURCE here. | |
3016 | |
29846 | 3017 2000-06-22 Kenichi Handa <handa@etl.go.jp> |
3018 | |
3019 * ccl.c (ccl_driver) <CCL_End>: Decrement stack_idx only when it | |
3020 is greater than 0. | |
3021 | |
29843 | 3022 2000-06-21 Dave Love <fx@gnu.org> |
3023 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3024 * Makefile.in (GETLOADAVG_OBJ): Removed -- LIBOBJS does it. |
29843 | 3025 |
29836
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3026 2000-06-21 Stefan Monnier <monnier@cs.yale.edu> |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3027 |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3028 * syntax.c (back_comment): Simplify string-parity counting (with |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3029 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
|
3030 they are not intertwined). |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3031 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
|
3032 a "string_lossage" position. Fixes the case: " /* " /* " */. |
f3aaf610f8a9
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29834
diff
changeset
|
3033 |
29834 | 3034 2000-06-21 Dave Love <fx@gnu.org> |
3035 | |
3036 * Makefile.in: Use GETLOADAVG_LIBS. | |
3037 | |
3038 * config.in: Add HAVE_FCNTL_H, _FILE_OFFSET_BITS, | |
3039 _LARGEFILE_SOURCE, _LARGE_FILES, _XOPEN_SOURCE. | |
3040 | |
29822
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3041 2000-06-20 Stefan Monnier <monnier@cs.yale.edu> |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3042 |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3043 * syntax.c (describe_syntax): Recognize the `n'estable bit. |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3044 (Fforward_comment, scan_lists): |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3045 Check the comstyle of single-char comment-starters. |
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3046 (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
|
3047 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
|
3048 Check the comstyle of single-char comment-starters. |
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
3049 Clarify control-flow around the Scomment case. |
29822
d24cc3dc6bbc
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29820
diff
changeset
|
3050 |
29815 | 3051 2000-06-20 Dave Love <fx@gnu.org> |
3052 | |
29824
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
3053 * fns.c (make_hash_table, maybe_resize_hash_table): |
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
3054 Cast arg of next_almost_prime. |
29815 | 3055 |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3056 * tparam.c [emacs]: Include lisp.h. |
29815 | 3057 |
3058 * termcap.c [emacs]: Test HAVE_FCNTL_H, not USG5. Include lisp.h | |
3059 and unistd.h. | |
3060 | |
29814 | 3061 2000-06-20 Gerd Moellmann <gerd@gnu.org> |
3062 | |
29820 | 3063 * keyboard.c (adjust_point_for_property): Check if display |
3064 property should be treated as intangible by looking at its | |
3065 value. | |
3066 | |
30235
5a0d447b7eea
check default_face before dereferencing
Sam Steingold <sds@gnu.org>
parents:
30234
diff
changeset
|
3067 * xdisp.c (single_display_prop_intangible_p) |
29820 | 3068 (display_prop_intangible_p): New functions. |
3069 | |
3070 * dispextern.h (display_prop_intangible_p): Add prototype. | |
3071 | |
3072 * 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
|
3073 |
29814 | 3074 * s/isc4-0.h (sigblock): Redefined to pass a pointer as second |
3075 argument to sigprocmask. | |
3076 | |
3077 * s/sco5.h (sigblock): Redefined to pass a pointer as second | |
3078 argument to sigprocmask. | |
3079 | |
3080 * syssignal.h (sigblock, sigunblock) [USG5_4]: Set | |
3081 sigprocmask_set, and pass a pointer to it to sigprocmask. | |
3082 | |
3083 * sysdep.c (sigprocmask_set): New variable. | |
3084 | |
3085 * fileio.c (make_temp_name): Don't use `%s' in string passed to | |
3086 report_file_error. | |
3087 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3088 2000-06-20 Sam Steingold <sds@gnu.org> |
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3089 |
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3090 * xrdb.c: Don't declare xmalloc, xrealloc. |
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3091 |
29802
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3092 2000-06-20 Stefan Monnier <monnier@cs.yale.edu> |
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3093 |
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3094 * 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
|
3095 (re_comp): Cast gettext return value to avoid complaints when |
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3096 !HAVE_LIBINTL. |
41e64655279b
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29796
diff
changeset
|
3097 |
29786 | 3098 2000-06-20 Dave Love <fx@gnu.org> |
3099 | |
29796 | 3100 * m/stride.h, m/mips.h: Don't define HAVE_GETWD, |
3101 HAVE_GETTIMEOFDAY. | |
3102 | |
29815 | 3103 * m/ibmrt-aix.h: Don't declare HAVE_GETTIMEOFDAY, HAVE_VFORK. |
29796 | 3104 |
29824
26ad198aa883
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29822
diff
changeset
|
3105 * m/ibmrs6000.h, m/ibmps2-aix.h, m/dpx2.h: Don't declare HAVE_GETWD. |
29796 | 3106 |
3107 * m/alpha.h: Don't declare xmalloc, xrealloc. | |
3108 | |
29790 | 3109 * s/ux4800.h: Don't declare GETTIMEOFDAY_ONE_ARGUMENT. |
3110 | |
3111 * s/usg5-4-2.h: Don't declare HAVE_GETWD, VFORK_RETURN_TYPE. | |
3112 | |
3113 * s/umips.h: Don't declare HAVE_GETWD, HAVE_GETTIMEOFDAY. | |
3114 | |
3115 * s/cxux.h, s/gnu-linux.h, s/iris3-6.h, s/irix3-3.h: Don't declare | |
3116 HAVE_GETWD. | |
3117 | |
29786 | 3118 * keyboard.h (poll_for_input_1): Declare. |
3119 | |
3120 * getloadavg.c: Don't define NLIST_STRUCT (handled by configure). | |
3121 | |
3122 * alloc.c (xmalloc, xrealloc, xfree): Define using POINTER_TYPE. | |
3123 | |
3124 * doprnt.c: Don't declare xmalloc, xrealloc. | |
3125 | |
3126 * lisp.h (x_set_tool_bar_lines, free_frame_xic, compose_text) | |
3127 (getenv, ctime, getwd): Removed. | |
3128 (xmalloc, xrealloc, xfree): Declare using POINTER_TYPE. | |
3129 | |
3130 * xterm.h: Remove duplicate prototypes. Declare free_frame_xic, | |
3131 x_set_tool_bar_lines. | |
3132 | |
3133 * config.in: Add HAVE_GETWD. Move some definitions above | |
3134 machine/system includes. | |
3135 | |
29766 | 3136 2000-06-20 Kenichi Handa <handa@etl.go.jp> |
3137 | |
29770 | 3138 * s/bsd386.h (HAVE_GETLOADAVG): Define it as 1. |
3139 | |
29766 | 3140 * xfaces.c (font_list): Handle the case that REGISTRY doesn't |
3141 contain information about ENCODING. | |
3142 | |
3143 * fontset.c (FONTSET_ASCII): Use the first element of char table | |
3144 for an ASCII font, not defalt slot. | |
3145 (fontset_ref_via_base): If FONTSET doesn't contain information for | |
3146 C, try the default fontset. | |
3147 (make_fontset): Don't copy the default fontset. | |
3148 (fontset_font_pattern): Likewise. | |
3149 (accumulate_font_info): If ELT is nil, use the corresponding | |
3150 element in the default fontset. | |
3151 | |
29752 | 3152 2000-06-19 Dave Love <fx@gnu.org> |
3153 | |
29758 | 3154 * syntax.c (Fparse_partial_sexp): Doc fix. |
3155 | |
3156 * regex.h: Test PROTOTYPES as well as __STDC__. | |
3157 | |
29752 | 3158 * unexalpha.c: Include errno.h, string.h, unistd.h. Don't declare |
3159 errno, strerror. Put text after #endif in comment. | |
3160 | |
3161 * xdisp.c (dump_glyph_matrix): Add `static' to declaration (for | |
3162 pcc). | |
3163 | |
3164 * xterm.c (x_frame_of_widget): Likewise. | |
3165 | |
29747 | 3166 2000-06-19 Gerd Moellmann <gerd@gnu.org> |
3167 | |
3168 * abbrev.c (syms_of_abbrev): Set buffer_default's abbrev table | |
3169 to Vfundamental_mode_abbrev_table. | |
3170 | |
3171 * alloc.c (mark_object) [GC_CHECK_MARKED_OBJECTS]: Check that no | |
3172 bogus objects are marked. This slows down GC by ~80 percent, but | |
3173 it might be worth trying when debugging GC-related problems. | |
3174 This feature requires conservative stack marking to be enabled. | |
3175 | |
3176 * xterm.c (XTread_socket) <KeyPress>: In case XmbLookupString | |
3177 returns XLookupChars, reset `modifiers' to zero. | |
3178 | |
29738 | 3179 2000-06-19 Dave Love <fx@gnu.org> |
3180 | |
3181 * mktime.c: Unprotoized. | |
3182 | |
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
3183 2000-06-19 Richard Stallman <rms@gnu.org> |
29736 | 3184 |
3185 * data.c (set_internal): If variable is frame-local, | |
3186 store the new value immediately into the frame parameter alist. | |
3187 | |
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
|
3188 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
|
3189 |
29728
f0f1e1365670
fix jpeg error-handling setup
Ken Raeburn <raeburn@raeburn.org>
parents:
29727
diff
changeset
|
3190 * 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
|
3191 in the custom handler pointer. |
f0f1e1365670
fix jpeg error-handling setup
Ken Raeburn <raeburn@raeburn.org>
parents:
29727
diff
changeset
|
3192 |
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
|
3193 * 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
|
3194 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
|
3195 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
|
3196 * 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
|
3197 |
29720 | 3198 2000-06-19 Kenichi Handa <handa@etl.go.jp> |
3199 | |
3200 * ccl.h (struct ccl_program): New member eol_type. | |
3201 (struct ccl_spec): New member cr_carryover. | |
3202 | |
3203 * ccl.c (CCL_WRITE_CHAR): Convert NL according to ccl->eol_type. | |
3204 (setup_ccl_program): Initialize ccl->eol_type to CODING_EOL_LF. | |
3205 | |
3206 * coding.c (setup_coding_system) <4>: Reset member `cr_carryover'. | |
3207 (ccl_coding_driver): On encoding, initialize ccl->eol_type. | |
3208 (decode_eol_post_ccl): New function. | |
3209 (decode_coding): Don't detect EOL format here for CCL based coding | |
3210 systems. | |
3211 (decode_coding) <coding_type_ccl>: Handle carryovered CR. Call | |
3212 decode_eol_post_ccl after running the CCL program. | |
3213 (code_convert_region): Don't detect EOL format here for CCL based | |
3214 coding systems. | |
3215 (decode_coding_string): Likewise. | |
3216 | |
29717
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3217 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
|
3218 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3219 * 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
|
3220 when treating it as an integer. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3221 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3222 * coding.h (encode_coding_string): Declare. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3223 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3224 * 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
|
3225 it as an integer. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3226 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3227 * 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
|
3228 "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
|
3229 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
|
3230 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3231 * 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
|
3232 Frun_hook_with_args count argument. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3233 |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3234 * 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
|
3235 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
|
3236 objects are represented with unions. |
acaa36b47f50
fix up more Lisp_Object/int conversion issues
Ken Raeburn <raeburn@raeburn.org>
parents:
29712
diff
changeset
|
3237 (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
|
3238 |
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
|
3239 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
|
3240 |
f24d81dfa064
* xdisp.c (decode_mode_spec): In "no_value" case, do NUL termination of string.
Ken Raeburn <raeburn@raeburn.org>
parents:
29696
diff
changeset
|
3241 * 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
|
3242 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
|
3243 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
|
3244 |
29688 | 3245 2000-06-16 Gerd Moellmann <gerd@gnu.org> |
3246 | |
29712 | 3247 * xfaces.c (syms_of_xfaces) [DEBUG_X_COLORS]: Defsubr dump_colors |
3248 only if HAVE_X_WINDOWS. | |
3249 | |
29696 | 3250 * keymap.c (describe_buffer_bindings): Add `\f\n' in front |
3251 of titles. | |
3252 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3253 * dispnew.c (update_frame_1): Handle case that cursor vpos is |
29688 | 3254 out of bounds. |
3255 | |
29670 | 3256 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il> |
3257 | |
3258 * unexec.c (toplevel): Fix last change, so as not to deprive MSDOS | |
3259 of its headers. | |
3260 | |
29662 | 3261 2000-06-15 Kenichi Handa <handa@etl.go.jp> |
3262 | |
3263 * coding.c (decode_coding_emacs_mule): Always set src_base at the | |
3264 start of the while loop. | |
3265 | |
29661 | 3266 2000-06-15 Gerd Moellmann <gerd@gnu.org> |
3267 | |
29673 | 3268 * atimer.c (alarm_signal_handler): Add forward declaration. |
3269 | |
29661 | 3270 * data.c (set_internal): Remove debug code. |
3271 | |
29637 | 3272 2000-06-14 Gerd Moellmann <gerd@gnu.org> |
3273 | |
29657 | 3274 * Makefile.in (bootstrap-temacs): Add `-I../src'. |
3275 | |
29654 | 3276 * unexec.c (toplevel) [COFF]: Include coff.h. |
3277 | |
3278 * s/lynxos.h: New file. | |
3279 | |
3280 * keymap.c (Fsingle_key_description): Enclose function key and | |
3281 event symbol names in angle brackets. | |
3282 | |
29644 | 3283 * xdisp.c (setup_echo_area_for_printing): Call |
3284 message_log_maybe_newline if message_buf_print is not set. | |
3285 | |
3286 * 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
|
3287 before calling setup_echo_area_for_printing because that |
29644 | 3288 function does something useful even when message_buf_print is |
3289 already set. | |
3290 | |
29637 | 3291 * xdisp.c (message_truncate_lines, Qmessage_truncate_lines): New |
3292 variables. | |
3293 (ensure_echo_area_buffers): Initialize echo buffer's | |
3294 truncate lines setting to nil. | |
3295 (with_echo_area_buffer): Don't set the echo buffer's truncate | |
3296 lines setting here. | |
29644 | 3297 (set_message_1): Set it here instead, based on the value |
29637 | 3298 of message_truncate_lines. |
3299 (resize_mini_window): Handle case that lines are truncated. | |
3300 (syms_of_xdisp): Initialize Qmessage_truncate_lines. DEFVAR_BOOL | |
3301 message-truncate-lines. | |
3302 | |
3303 * keyboard.c (read_char): Bind message-truncate-lines to t | |
3304 while displaying a help-echo. | |
3305 | |
3306 * lisp.h (Qmessage_truncate_lines): External declaration. | |
3307 | |
29620 | 3308 2000-06-13 Gerd Moellmann <gerd@gnu.org> |
3309 | |
29633 | 3310 * xdisp.c (Vline_number_display_limit): Renamed from |
3311 line_number_display_limit. | |
3312 (syms_of_xdisp): Use DEFVAR_LISP for line-number-display-limit. | |
3313 Extend documentation string. Initialize | |
3314 Vline_number_display_limit to nil meaning no limit. | |
3315 (decode_mode_spec): Use Vline_number_display_limit with its new | |
3316 meaning. | |
3317 | |
29620 | 3318 * xterm.c (x_check_font) [GLYPH_DEBUG]: Add prototype. |
3319 | |
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
3320 2000-06-13 Richard Stallman <rms@gnu.org> |
29620 | 3321 |
3322 * frame.c (Fmodify_frame_parameters): Doc fix. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3323 |
29620 | 3324 * xfns.c (x_set_frame_parameters): Comment fix. |
3325 | |
3326 * frame.c (store_frame_param): Call swap_in_global_binding if the | |
3327 variable's current binding was chosen based on this frame. | |
3328 | |
3329 * data.c (swap_in_global_binding): New function. | |
3330 | |
29615 | 3331 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il> |
3332 | |
3333 * msdos.c (IT_write_glyphs): Don't use CODING_REQUIRE_ENCODING | |
3334 macro, instead AND with CODING_REQUIRE_ENCODING_MASK. | |
3335 | |
29612 | 3336 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il> |
3337 | |
3338 * msdos.h (EMACS_MSDOS_H): Renamed from MSDOS_H_. | |
3339 | |
29606 | 3340 2000-06-12 Jason Rumney <jasonr@gnu.org> |
3341 | |
3342 * w32bdf.h (EMACS_W32BDF_H): Renamed from __W32BDF_H__ | |
3343 | |
3344 * w32.h (EMACS_W32_H): Renamed from _NT_H_ | |
3345 | |
3346 * w32gui.h (EMACS_W32GUI_H): Renamed from __W32GUI_H__ | |
3347 | |
3348 * w32inevt.h (EMACS_W32INEVT_H): Renamed from __NTINEVT_H__ | |
3349 | |
29603 | 3350 2000-06-12 Gerd Moellmann <gerd@gnu.org> |
3351 | |
3352 * xfaces.c (Fdump_colors) [DEBUG_X_COLORS]: New function. | |
3353 (syms_of_xfaces): Defsubr Sdump_colors. | |
3354 (x_free_colors): Don't treat b&w specially on default visual. | |
3355 (x_free_dpy_colors): New function. | |
3356 (free_face_colors): Don't check visual class; it's done | |
3357 in x_free_colors. | |
3358 | |
3359 * xterm.c (x_frame_of_widget): New function. | |
3360 (x_alloc_nearest_color_for_widget): Use it. | |
3361 (x_copy_dpy_color): New function. | |
3362 (x_destroy_window): Free various colors. | |
3363 | |
29574 | 3364 2000-06-12 Kenichi Handa <handa@etl.go.jp> |
3365 | |
3366 * ccl.h (EMACS_CCL_H): Renamed from _CCL_H. | |
3367 | |
3368 * charset.h (EMACS_CHARSET_H): Renamed from _CHARSET_H. | |
3369 | |
3370 * coding.h (EMASC_CODING_H): Renamed from _CODING_H. | |
3371 | |
3372 * composite.h (EMACS_COMPOSITE_H): Renamed from _COMPOSITE_H. | |
3373 | |
3374 * fontset.h (EMACS_FONTSET_H): Renamed from _FONTSET_H. | |
3375 | |
29560 | 3376 2000-06-11 Dave Love <fx@gnu.org> |
3377 | |
3378 * systime.h (EMACS_SYSTIME_H): Renamed from _SYSTIME_H. | |
3379 | |
29558 | 3380 2000-06-11 Eli Zaretskii <eliz@is.elta.co.il> |
3381 | |
3382 * msdos.h: Don't use _MSDOS_H_ as a symbol, use MSDOS_H_ instead. | |
3383 | |
29556 | 3384 2000-06-11 Gerd Moellmann <gerd@gnu.org> |
3385 | |
29603 | 3386 * xmenu.c (xmenu_show): Cast second parameter of lw_popup_menu |
29556 | 3387 to `XEvent *'. |
3388 | |
29537 | 3389 2000-06-10 Kenichi Handa <handa@etl.go.jp> |
3390 | |
29545 | 3391 * regex.c (MAKE_CHAR) [!emacs]: Dummy macro for non-Emacs env. |
3392 (regex_compile): Fix the code for handling the case of single byte | |
3393 char and multibyte char being mixed in a range within [...]. | |
3394 | |
29541 | 3395 * fileio.c (Finsert_file_contents): Be sure to setup src_multibyte |
3396 and dst_multibyte members of coding. | |
3397 | |
29537 | 3398 * charset.c (update_charset_table): Update the table |
3399 bytes_by_char_head. | |
3400 (init_charset_once): Initialize elements of bytes_by_char_head to | |
3401 1 except for leading codes for private charases. | |
3402 | |
3403 * charset.h (CHARSET_8_BIT_GRAPHIC): Define as 0x80. | |
3404 (UNIBYTE_STR_AS_MULTIBYTE_P): Fix for an invalid multibyte | |
3405 sequence. | |
3406 | |
29536
4def8a9e785a
* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
Ken Raeburn <raeburn@raeburn.org>
parents:
29517
diff
changeset
|
3407 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
|
3408 |
4def8a9e785a
* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
Ken Raeburn <raeburn@raeburn.org>
parents:
29517
diff
changeset
|
3409 * 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
|
3410 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
|
3411 |
29517 | 3412 2000-06-08 Gerd Moellmann <gerd@gnu.org> |
3413 | |
3414 * xterm.c (XTread_socket) <FocusIn>: Queue a FOCUS_IN_EVENT which | |
29556 | 3415 will be translated to a switch-frame event when reading the |
29517 | 3416 event queue. This is necessary because Emacs otherwise won't |
3417 perform a switch-frame to a new frame until some other event, for | |
3418 example a keystroke event, forces it to do so. This has various | |
3419 effects, one visible being that the cursor of a frame created with | |
3420 C-x 5 2 or switched to with a window manager key binding like | |
3421 A-TAB stays hollow because selected_window isn't on the newly | |
3422 focused frame until the switch-frame is performed. | |
3423 | |
3424 * keyboard.c (kbd_buffer_get_event): Handle FOCUS_IN_EVENT by | |
3425 generating a switch-frame event if necessary. | |
3426 | |
3427 * termhooks.h (enum event_kind): Add FOCUS_IN_EVENT. | |
3428 | |
3429 * xdisp.c (handle_fontified_prop): Don't GCPRO local var `pos'; | |
3430 it's an integer. | |
3431 | |
29502 | 3432 2000-06-08 Kenichi Handa <handa@etl.go.jp> |
3433 | |
3434 * fontset.c (Fset_fontset_font): The arg CHARACTER may be a | |
3435 charset. | |
3436 | |
29482 | 3437 2000-06-07 Gerd Moellmann <gerd@gnu.org> |
3438 | |
29489 | 3439 * window.c (displayed_window_lines): Take empty lines at |
3440 the bottom of a window into account. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3441 |
29487 | 3442 * window.c (displayed_window_lines): New function. |
3443 (Fmove_to_window_line): Use displayed_window_lines to determine | |
3444 the number of lines to move, instead of using the window's height. | |
3445 | |
3446 * lread.c (readevalloop): If READCHARFUN sets point to ZV, arrange | |
3447 to stop reading, even if the form read sets point to a different | |
3448 value when evaluated. | |
3449 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3450 * xdisp.c (display_line): Fix code deciding in which line to |
29482 | 3451 put the cursor. |
3452 | |
29479 | 3453 2000-06-07 Kenichi Handa <handa@etl.go.jp> |
3454 | |
3455 * fileio.c (e_write): Free composition data if stored in | |
3456 coding->cmp_data. | |
3457 | |
29460 | 3458 2000-06-06 Gerd Moellmann <gerd@gnu.org> |
3459 | |
29475 | 3460 * xdisp.c (display_line): Set row's and iterator's |
3461 starts_in_middle_of_char_p and ends_in_middle_of_char_p flags. | |
3462 Set cursor even if row ends in the middle of a character. | |
3463 (dump_glyph_row): Print values of new flags. | |
3464 (redisplay_window) <cursor movement in unchanged window>: When | |
3465 point has been moved forward, and PT is at the end of the cursor | |
3466 row, don't place the cursor in the next row if the cursor row ends | |
3467 in the middle of a character or at ZV. | |
3468 | |
3469 * dispextern.h (struct it): Add starts_in_middle_of_char_p. | |
3470 (struct glyph_row): Add starts_in_middle_of_char_p and | |
3471 ends_in_middle_of_char_p. | |
3472 (MATRIX_ROW_ENDS_IN_MIDDLE_OF_CHAR_P): Test row's | |
3473 ends_in_middle_of_char_p flag. | |
3474 (MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P): Likewise. | |
3475 | |
29463 | 3476 * term.c (append_glyph): Revert change of 2000-06-06. |
3477 | |
3478 * xdisp.c (display_line): Revert change of 2000-06-06. Treat | |
3479 padding glyph not fitting on line as whole character not | |
3480 fitting on line. | |
3481 | |
29460 | 3482 * xterm.c (x_produce_glyphs): Don't xassert `it->descent > 0'; |
3483 this isn't true for images with `:ascent 100'. | |
3484 | |
29450 | 3485 2000-06-06 Kenichi Handa <handa@etl.go.jp> |
3486 | |
29457 | 3487 * buffer.c (Fset_buffer_multibyte): Don't make the current buffer |
3488 as modified if it is originally unmodified. | |
3489 | |
29450 | 3490 * term.c (encode_terminal_code): Change the way to check if |
3491 terminal coding does any conversion. | |
3492 (append_glyph): Set glyph->pixel_width correctly. | |
3493 | |
29451 | 3494 * xdisp.c (display_line): While checking line continuation, pay |
3495 attention to a padding glyph. | |
3496 | |
29447 | 3497 2000-06-05 Gerd Moellmann <gerd@gnu.org> |
3498 | |
3499 * xdisp.c (redisplay_window): Always use set_buffer_internal_1. | |
3500 | |
29431 | 3501 2000-06-05 Dave Love <fx@gnu.org> |
3502 | |
29444 | 3503 * xdisp.c: Include fontset.h. |
3504 | |
3505 * xfns.c (x_real_positions): Declare tmp_nchildren as unsigned. | |
3506 | |
3507 * xterm.c (x_calc_absolute_position): Declare nchildren unsigned. | |
3508 | |
3509 * dispnew.c: Conditionally include term.h. | |
3510 | |
3511 * coding.h: Declare code_convert_string_norecord. | |
3512 | |
3513 * frame.h (struct frame): Use volatile unconditionally. | |
3514 | |
3515 * buffer.h: Remove Vbefore_change_function, Vafter_change_function. | |
3516 | |
3517 * xmenu.c (menu_item_selection): Declare volatile unconditionally. | |
3518 | |
3519 * systime.h: Protect against multiple inclusion. | |
3520 (timezone) [USG5_4]: Define as time_t. | |
3521 | |
3522 * lisp.h (DEFUN, EXFUN): Test PROTOTYPES. | |
3523 (Foptimize_char_table, make_temp_name): Declare. | |
3524 | |
3525 * Makefile.in (xdisp.o): Depend on fontset.h. | |
3526 | |
3527 * xterm.c (x_calc_absolute_position): Declare nchildren unsigned. | |
3528 | |
3529 * lisp.h (DEFUN, EXFUN): Test PROTOTYPES. | |
3530 (Foptimize_char_table, make_temp_name): Declare. | |
3531 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3532 * s/irix4-0.h: |
29431 | 3533 * s/irix5-0.h: |
3534 * s/netbsd.h: Don't define autoconfiscated MATHERR. | |
3535 | |
29397 | 3536 2000-06-02 Dave Love <fx@gnu.org> |
3537 | |
3538 * lread.c (_XOPEN_SOURCE, __EXTENSIONS__): Don't define. | |
3539 | |
29395 | 3540 2000-06-02 Gerd Moellmann <gerd@gnu.org> |
3541 | |
3542 * xfaces.c (realize_x_face): When copying BASE_FACE bitwise to the | |
29447 | 3543 result face, set flags in that face indicating that colors may not |
29395 | 3544 be freed. |
3545 | |
3546 * xterm.c (x_set_mouse_face_gc): If first glyph isn't a character | |
3547 glyph, use the ASCII NUL character to determine the face. | |
3548 | |
29388 | 3549 2000-06-02 Dave Love <fx@gnu.org> |
3550 | |
3551 * sysdep.c: Conditionally include stdlib.h, unistd.h. | |
3552 (VFORK_RETURN_TYPE): Remove. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3553 |
29388 | 3554 * config.in: Add NO_MATHERR. |
3555 | |
29368 | 3556 2000-06-01 Dave Love <fx@gnu.org> |
3557 | |
29383 | 3558 * cmds.c (internal_self_insert): Don't check |
3559 Vbefore_change_function, Vafter_change_function. | |
3560 | |
3561 * insdel.c (signal_before_change, signal_after_change): Likewise. | |
3562 | |
3563 * buffer.c (Vbefore_change_function, Vafter_change_function): | |
3564 Variables and their initializations deleted. | |
3565 | |
29372 | 3566 * callint.c (Fcall_interactively): Doc fix. |
3567 | |
29368 | 3568 * terminfo.c (ospeed) [HAVE_SPEED_T]: Don't declare extern. |
3569 | |
29343 | 3570 2000-05-31 Dave Love <fx@gnu.org> |
3571 | |
3572 * textprop.c: Revert last change -- duplicated. | |
3573 | |
29338 | 3574 2000-05-31 Gerd Moellmann <gerd@gnu.org> |
3575 | |
3576 * dispnew.c (find_glyph_row_slice, swap_glyphs_in_rows): Put | |
3577 in #if 0. | |
3578 | |
3579 * lisp.h (eassert) [!ENABLE_CHECKING]: Define as `(void) 0'. | |
3580 | |
29331 | 3581 2000-05-31 Jason Rumney <jasonr@gnu.org> |
3582 | |
29334 | 3583 * search.c (Fre_search_forward, Fre_search_backward) |
3584 (Fposix_search_backward, Fposix_search_forward): Fix newlines in docs. | |
3585 | |
29331 | 3586 * w32select.c (Fw32_set_clipboard_data): Change QNil to Qnil. |
3587 | |
29308 | 3588 2000-05-30 Jason Rumney <jasonr@gnu.org> |
3589 | |
3590 * coding.h (ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: New macros. | |
3591 [WINDOWSNT]: Add extern for Vw32_system_coding_system. | |
3592 | |
3593 * dispextern.h (struct glyph) [WINDOWSNT]: Add w32_font_type | |
3594 member. | |
3595 | |
3596 * fileio.c (Fread_file_name) [HAVE_NTGUI]: Use file dialog. | |
3597 (Fread_file_name) [HAVE_NTGUI, USE_MOTIF]: Do not attempt to | |
3598 expand a nil default_filename. | |
3599 | |
3600 * keyboard.c (make_lispy_event) [WINDOWS_NT]: Pass a window | |
3601 pointer to glyph_to_pixel_coords, not a frame. | |
3602 | |
3603 * makefile.nt (w32fns.obj, w32menu.obj): Add charset.h and | |
3604 coding.h to dependencies. | |
3605 | |
3606 * w32bdf.c (w32_load_bdf_font): Initialize font->double_byte_p. | |
3607 | |
3608 * w32console.c (glyph_to_pixel_coords): Change first parameter to | |
3609 window pointer to be consistent with w32term.c and xterm.c. | |
3610 | |
3611 * w32fns.c: Format and doc changes to bring closer to xfns.c. | |
3612 (VIETNAMESE_CHARSET): Define if not defined in system headers. | |
3613 (Qline_spacing, Qcenter): New variables. | |
3614 (Qw32_charset_*, w32_codepage_for_font): Moved from w32term.c. | |
3615 (x_set_line_spacing): New function. | |
3616 (x_set_frame_parameters): Use FRAME_NEW_WIDTH, FRAME_NEW_HEIGHT | |
3617 macros. | |
3618 (x_specified_cursor_type): New function. | |
3619 (x_set_cursor_type): Use it. | |
3620 (x_set_name, x_set_title): Use ENCODE_SYSTEM to encode titlebar | |
3621 and icon strings. | |
3622 (validate_x_resource_name, x_get_resource_string): Measure lengths | |
3623 of external strings in bytes. | |
3624 (w32_wnd_proc) [WM_MEASURE_ITEM]: Avoid calling | |
3625 GetTextExtentPoint32 with NULL title. | |
3626 (Fx_create_frame): Initialize Qline_spacing. | |
3627 (w32_load_system_font): Initialize font->double_byte_p. | |
3628 (x_to_w32_charset): Use Vw32_charset_info_alist. | |
3629 (Image, busy cursor, tooltip functions): Merged changes from | |
3630 xfns.c. Not yet functional on Windows. | |
3631 | |
3632 * w32gui.h (W32FontStruct): Add double_byte_p member. | |
3633 | |
3634 * w32inevt.c (NUM_TRANSLATED_MOUSE_BUTTONS): New constant. | |
3635 (emacs_button_translation): Use it. | |
3636 (do_mouse_event): Allow up to 32 mouse buttons by allowing any bit | |
3637 in `mask' to be set. | |
3638 | |
3639 * w32menu.c (single_submenu, w32_menu_show): Call ENCODE_SYSTEM on | |
3640 menu strings. | |
3641 | |
3642 * w32term.c: Format and doc changes to bring closer to xterm.c. | |
3643 (w32_char_font_type): New enum. | |
3644 (Qw32_charset_*, w32_codepage_for_font): Moved to w32fns.c. | |
3645 (w32_per_char_metric): Use w32_char_font_type instead of unicode_p. | |
3646 (w32_encode_char): New function. | |
3647 (x_encode_char): Removed. | |
3648 (x_get_glyph_and_face_encoding): Use w32_encode_char in place of | |
3649 x_encode_char and w32_font_is_double_byte. | |
3650 (x_produce_image_glyph): Use image_ascent. | |
3651 (x_produce_glyphs): Use new version of w32_per_char_metric and | |
3652 handle NULL return value. Allow extra line spacing. | |
3653 (W32_TEXTOUT): Distinguish between Unicode and DBCS text. | |
3654 (w32_get_glyph_overhangs): Remove unicode_p param. Use | |
3655 w32_font_type member of glyph instead. | |
3656 (x_draw_glyph_string): Draw underline and strike-out for BDF fonts. | |
3657 (fast_find_position): Make sure not to consider rows not visible | |
3658 in the window. | |
3659 (w32_read_socket) [WM_MENUSELECT]: Cannot call | |
3660 w32_menu_display_help with input blocked, as it can abort. | |
3661 (x_display_and_set_cursor): Choose cursor depending | |
3662 on buffer-local value of cursor_type. | |
3663 (x_draw_bar_cursor): Add parameter WIDTH. | |
3664 | |
3665 * w32term.h (CP_DEFAULT): Define. | |
3666 (Fx_display_color_p, Fx_display_grayscale_p, image_ascent): Declare. | |
3667 | |
29302 | 3668 2000-05-30 Gerd Moellmann <gerd@gnu.org> |
3669 | |
3670 * search.c (Fre_search_forward, Fre_search_backward) | |
3671 (Fposix_search_backward, Fposix_search_forward): Doc fix. | |
3672 | |
29298 | 3673 2000-05-30 Kenichi Handa <handa@etl.go.jp> |
3674 | |
3675 * coding.c (detect_coding_iso2022): Fix code for checking | |
3676 CODING_CATEGORY_MASK_ISO_8_2. | |
3677 | |
29297
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
3678 2000-05-29 Stefan Monnier <monnier@cs.yale.edu> |
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
3679 |
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
3680 * regex.c (PREFETCH_NOLIMIT): New function. |
1c3d15e270b6
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29295
diff
changeset
|
3681 (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
|
3682 |
29285 | 3683 2000-05-29 Gerd Moellmann <gerd@gnu.org> |
3684 | |
29295 | 3685 * syntax.c (find_defun_start): Move test for |
3686 open_paren_in_column_0_is_defun_start outside of the loop. | |
3687 | |
29292 | 3688 * xdisp.c (redisplay_window): Really switch buffers when |
3689 displaying mode lines, and temporarily set selected_frame to the | |
3690 frame of the window that's redisplayed. | |
3691 | |
29285 | 3692 * xfaces.c (free_realized_faces): Block/unblock input. |
3693 (free_realized_multibyte_face): Ditto. | |
3694 | |
29283 | 3695 2000-05-29 Dave Love <fx@gnu.org> |
3696 | |
3697 * textprop.c (Qkeymap): New variable. | |
3698 (syms_of_textprop): Intern it. | |
3699 | |
3700 * keymap.c: Include intervals.h. | |
3701 (Fkey_binding, Fwhere_is_internal): Deal with `keymap' property. | |
3702 | |
3703 * Makefile.in (keymap.o): Depend on intervals.h. | |
3704 | |
3705 * keyboard.c (menu_bar_items, tool_bar_items) | |
3706 (Fexecute_extended_command): Deal with `keymap' property. | |
3707 (read_key_sequence): Track map from `keymap' property as well as | |
3708 `local_map'. | |
3709 | |
3710 * intervals.c (get_local_map): Extra arg to allow looking for | |
3711 `keymap' too. | |
3712 | |
3713 * intervals.h (map_property): New enum. | |
3714 (get_local_map): Extra arg using it. | |
3715 (Qkeymap): Declare. | |
3716 | |
29285 | 3717 * lisp.h (get_local_map): Don't declare here. |
29283 | 3718 |
29271 | 3719 2000-05-29 Kenichi Handa <handa@etl.go.jp> |
3720 | |
3721 * Makefile.in (callproc.o): Depend on composite.h. | |
3722 | |
3723 * callproc.c: Include composite.h. | |
3724 (Fcall_process): Handle composition correctly. | |
3725 | |
3726 * coding.h (coding_allocate_composition_data): Extern it. | |
3727 (coding_restore_composition): Likewise. | |
3728 | |
3729 * coding.c (DECODE_COMPOSITION_START): If coding->cmp_data is not | |
3730 yet allocated, finish decoding with result | |
3731 CODING_FINISH_INSUFFICIENT_CMP. | |
3732 (coding_allocate_composition_data): Make it non-static. | |
3733 (coding_restore_composition): Likewise. | |
3734 | |
29270 | 3735 2000-05-29 Eli Zaretskii <eliz@is.elta.co.il> |
3736 | |
3737 * charset.c (syms_of_charset): Revert last change. | |
3738 | |
29264 | 3739 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il> |
3740 | |
3741 * 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
|
3742 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
|
3743 Handa. |
29264 | 3744 |
29261 | 3745 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il> |
3746 | |
3747 * charset.c (syms_of_charset): Set width of character sets | |
3748 eight-bit-control and eight-bit-graphic to 1 column. | |
3749 | |
29254 | 3750 2000-05-26 Gerd Moellmann <gerd@gnu.org> |
3751 | |
3752 * config.in (HAVE_SPEED_T): New define. | |
3753 | |
3754 * sysdep.c, terminfo.c (ospeed) [HAVE_SPEED_T]: Declare as | |
3755 `extern speed_t'. | |
3756 | |
29248 | 3757 2000-05-26 Dave Love <fx@gnu.org> |
3758 | |
3759 * coding.c (shrink_decoding_region): Initialize eol_conversion. | |
3760 | |
3761 * data.c (Qsubrp, Qmany, Qunevalled): New variables. | |
3762 (Fsubr_arity): New function. | |
3763 (syms_of_data): Install them. | |
3764 | |
29226 | 3765 2000-05-26 Kenichi Handa <handa@etl.go.jp> |
3766 | |
29235 | 3767 * charset.c (init_charset_once): Set the table bytes_by_char_head |
3768 correctly. | |
3769 | |
29230 | 3770 * fontset.c (syms_of_fontset): Adjust the font name for ascii of |
3771 the default fontset to what Emacs uses by default. | |
29235 | 3772 (check_registry_encoding): This function deleted. |
3773 (Fset_fontset_font): Remove the adhoc condition for the default | |
3774 fontset. Allow cons in FONTNAME. | |
3775 | |
3776 * fns.c (map_char_table): Ignore char-table entries for | |
3777 charsets eight-bit-control and eight-bit-graphic. | |
29226 | 3778 |
29198
b3592c1e9ddb
* emacs.c (main): Initialize keyboard syms before initializing
Ken Raeburn <raeburn@raeburn.org>
parents:
29196
diff
changeset
|
3779 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
|
3780 |
b3592c1e9ddb
* emacs.c (main): Initialize keyboard syms before initializing
Ken Raeburn <raeburn@raeburn.org>
parents:
29196
diff
changeset
|
3781 * 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
|
3782 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
|
3783 |
29195
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
3784 2000-05-25 Stefan Monnier <monnier@cs.yale.edu> |
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
3785 |
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
3786 * regex.c (at_begline_loc_p): Also recognize the \\(?:^ case |
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
3787 of an anchor at the beginning of a shy-group. |
1da5b007c8c5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
29193
diff
changeset
|
3788 |
29193 | 3789 2000-05-25 Gerd Moellmann <gerd@gnu.org> |
3790 | |
3791 * xdisp.c (handle_invisible_prop): Don't try to skip over | |
3792 invisible text if end of text is already reached. | |
3793 | |
29183 | 3794 2000-05-25 Dave Love <fx@gnu.org> |
3795 | |
29186 | 3796 * xdisp.c (Fdump_glyph_matrix): Declare the arg. |
3797 | |
29183 | 3798 * coding.c (encode_eol): Add null statement after label. |
3799 | |
29181 | 3800 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il> |
3801 | |
3802 * w16select.c (Fw16_set_clipboard_data): Fix the change from | |
3803 2000-05-20. | |
3804 | |
29173 | 3805 2000-05-25 Kenichi Handa <handa@etl.go.jp> |
3806 | |
29174 | 3807 * ccl.c (ccl_driver): Fix previous change. |
29173 | 3808 |
29169 | 3809 2000-05-25 Kenichi Handa <handa@etl.go.jp> |
3810 | |
29171 | 3811 * coding.c (run_pre_post_conversion_on_str): Set point to the |
3812 beginning of buffer before calling coding->post_read_conversion. | |
3813 (decode_coding_string): Give correct args to | |
3814 run_pre_post_conversion_on_str. | |
3815 (encode_coding_string): Likewise. | |
3816 | |
29169 | 3817 * ccl.c (ccl_driver) <CCL_ReadMultibyteChar2> |
3818 <CCL_WriteMultibyteChar2>: Handle charsets eight-bit-control and | |
3819 eight-bit-graphic correctly. | |
3820 | |
29153 | 3821 2000-05-24 Kenichi HANDA <handa@etl.go.jp> |
3822 | |
3823 * fileio.c (Finsert_file_contents): Even if a file is not found, | |
3824 execute codes for setting up coding system. Call | |
3825 after-insert-file-functions unconditionally. | |
3826 | |
29151 | 3827 2000-05-24 Gerd Moellmann <gerd@gnu.org> |
3828 | |
3829 * callproc.c, emacs.c, sysdep.c (setpgrp): Don't define if USG and | |
3830 BSD_PGRPS are not defined. | |
3831 | |
29142 | 3832 2000-05-24 Kenichi Handa <handa@etl.go.jp> |
3833 | |
3834 * charset.c (update_charset_table): Accept nil in LONG_NAME and | |
3835 DESCRIPTION. | |
3836 (syms_of_charset): Avoid building same strings. | |
3837 | |
29127 | 3838 2000-05-23 Gerd Moellmann <gerd@gnu.org> |
3839 | |
3840 * lread.c (Fload): Add a comment about the meaning of | |
3841 Vuser_init_file being t. | |
3842 | |
3843 * puresize.h (BASE_PURESIZE): Increase to 675000. | |
3844 | |
3845 * s/gnu-linux.h (setpgrp): Don't define it here because this | |
3846 prevents compilation on GNU/Linux systems with glib 2.2. | |
3847 | |
3848 * callproc.c, emacs.c, sysdep.c (setpgrp) [HAVE_SETPGID]: Define | |
3849 as setpgid. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
3850 |
29104 | 3851 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il> |
3852 | |
3853 * Makefile.in (SOME_MACHINE_LISP): Add disp-table.elc, | |
3854 dos-vars.elc, ccl.elc, and codepage.elc, all loaded by the MS-DOS | |
3855 version. | |
3856 (MSDOS_SUPPORT): Add dos-vars.elc, ccl.elc, and codepage.elc. | |
3857 | |
29092 | 3858 2000-05-23 Kenichi Handa <handa@etl.go.jp> |
3859 | |
29100
a941c97dc65b
(skip_chars): FETCH_STRING_CHAR_ADVANCE unconditionally.
Kenichi Handa <handa@m17n.org>
parents:
29096
diff
changeset
|
3860 * 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
|
3861 unconditionally. |
a941c97dc65b
(skip_chars): FETCH_STRING_CHAR_ADVANCE unconditionally.
Kenichi Handa <handa@m17n.org>
parents:
29096
diff
changeset
|
3862 |
29096 | 3863 * msdos.c (IT_write_glyphs): Set coding->src_multibyte to 1. |
3864 | |
3865 * term.c (encode_terminal_code): Set coding->src_multibyte | |
3866 properly. | |
3867 | |
29092 | 3868 * coding.c (encode_eol): Fix a bug of DOS style EOL encoding. |
3869 | |
29064 | 3870 2000-05-22 Kenichi Handa <handa@etl.go.jp> |
3871 | |
29068
61a23dd336ab
(read_char): Allow character codes 128..255 to be
Kenichi Handa <handa@m17n.org>
parents:
29064
diff
changeset
|
3872 * 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
|
3873 handled by input-method-function. |
61a23dd336ab
(read_char): Allow character codes 128..255 to be
Kenichi Handa <handa@m17n.org>
parents:
29064
diff
changeset
|
3874 |
29064 | 3875 * insdel.c (adjust_markers_for_replace): Fix previous change. |
3876 (adjust_after_replace): If PREV_TEXT is nil, call | |
3877 adjust_markers_for_insert, not adjust_markers_for_replace. | |
3878 | |
29036 | 3879 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
|
3880 |
29036 | 3881 * s/gnu-linux.h (UNIX98_PTYS) [HAVE_GRANDPT]: Define. |
3882 (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF) | |
3883 [HAVE_GRANDPT]: Define. | |
3884 (C_SWITCH_SYSTEM): Add -D_XOPEN_SOURCE. | |
3885 | |
3886 * sysdep.c (setup_pty): Treat case that UNIX98_PTYS is defined | |
3887 like SYSV_PTYS. | |
3888 | |
3889 * config.in (HAVE_GRANDPT, HAVE_GETPT): New defines. | |
3890 | |
3891 * process.c (toplevel) [UNIX98_PTYS]: Include stdlib.h. | |
3892 | |
29028 | 3893 2000-05-20 Kenichi Handa <handa@etl.go.jp> |
3894 | |
3895 The following changes are to handle 8-bit characters in a | |
3896 multibyte buffer/string without facing with byte combining | |
3897 problem. Two new charsets eight-bit-control (for 0x80..0x9F) and | |
3898 eight-bit-graphic (for 0xA0..0xFF) are introduced. | |
3899 | |
3900 * Makefile.in (fns.o): Depend on charset.h. | |
3901 | |
3902 * alloc.c (Fmake_byte_code): If BYTECODE-STRING is multibyte, | |
3903 convert it to unibyte. | |
3904 (make_string): Use parse_str_as_multibyte, not chars_in_text. | |
3905 | |
3906 * buffer.c (advance_to_char_boundary): Don't use DEC_POS to find a | |
3907 apparent char boundary. | |
3908 (Fset_buffer_multibyte): Convert 8-bit characters in the range | |
3909 0x80..0x9F to/from multibyte form. | |
3910 | |
3911 * bytecode.c (Fbyte_code): If arg BYTESTR is multibyte, convert it | |
3912 to unibyte. | |
3913 | |
3914 * callproc.c (Fcall_process): Always encode an argument string if | |
3915 it is multibyte. Setup src_multibyte and dst_multibyte members of | |
3916 process_coding properly. | |
29102 | 3917 |
29028 | 3918 * category.c (Fmodify_category_entry): Use SPLIT_CHAR, not |
3919 SPLIT_NON_ASCII_CHAR. | |
3920 | |
3921 * ccl.c (CCL_WRITE_CHAR): Be sure to write single byte characters | |
3922 as is. | |
3923 (CCL_MAKE_CHAR): Use MAKE_CHAR, not MAKE_NON_ASCII_CHAR. | |
3924 | |
3925 * charset.c (Qeight_bit_control, Qeight_bit_graphic): New | |
3926 variables. | |
3927 (SPLIT_CHARACTER_SEQ): This macro deleted. | |
3928 (SPLIT_MULTIBYTE_SEQ): Assume that multibyte sequence at STR is | |
3929 valid. | |
3930 (CHAR_COMPONENTS_VALID_P): Handle new charsets; eight-bit-control | |
3931 and eight-bit-graphic. | |
3932 (char_to_string): Likewise. Signal an error for too large | |
3933 character code. | |
3934 (char_printable_p): Return 0 for 8-bit characters. | |
3935 (update_charset_table): Update iso_charset_table only when a final | |
3936 character is non-negative. | |
3937 (find_charset_in_text): Renamed from find_charset_in_str. | |
3938 Arguments and return value changed. Callers changed. | |
3939 (Fdefine_charset): Args ISO-FINAL-CHAR and ISO-GRAPHIC-PLANE can | |
3940 be -1 if CHARSET is used only internally. | |
3941 (Fmake_char_internal): Handle new charsets; eight-bit-control and | |
3942 eight-bit-graphic. | |
3943 (Fcharset_after): Simplified. | |
3944 (char_valid_p): Use SPLIT_CHAR, not SPLIT_NON_ASCII_CHAR. | |
3945 (char_bytes): Return 2 for chars of the range 0xA0..0xFF. | |
3946 (multibyte_chars_in_text): Simplified by assuming there's no | |
3947 invalid multibyte sequence. | |
3948 (parse_str_as_multibyte, str_as_multibyte, str_to_multibyte, | |
3949 str_as_unibyte): New functions. | |
3950 (Fstring): Simpified by assuming that byte combining never | |
3951 happens. | |
3952 (init_charset_once): Initialization for | |
3953 LEADING_CODE_8_BIT_CONTROL. | |
3954 (syms_of_charset): Intern and staticpro Qeight_bit_control and | |
3955 Qeight_bit_graphic. Include them in Vcharset_list. Make charsets | |
3956 eight-bit-control and eight-bit-graphic. | |
3957 | |
3958 * charset.h (LEADING_CODE_8_BIT_CONTROL, CHARSET_8_BIT_CONTROL, | |
3959 CHARSET_8_BIT_GRAPHIC): New macros. | |
3960 (SINGLE_BYTE_CHAR_P): Make it faster by using casting. | |
3961 (CHARSET_ISO_GRAPHIC_PLANE): Use XINT instead of XFASTINT. | |
3962 (CHARSET_REVERSE_CHARSET): Likewise. | |
3963 (CHARSET_VALID_P): Handle new charsets; eight-bit-control and | |
3964 eight-bit-graphic. | |
3965 (BYTES_BY_CHAR_HEAD, WIDTH_BY_CHAR_HEAD): Optimize for ASCII. | |
3966 (CHAR_CHARSET, MAKE_CHAR, SPLIT_CHAR, CHAR_BYTES): Likewise. | |
3967 (PARSE_MULTIBYTE_SEQ) [BYTE_COMBINING_DEBUG]: Abort if we | |
3968 encounter an invalid multibyte sequence. | |
3969 (PARSE_MULTIBYTE_SEQ) [not BYTE_COMBINING_DEBUG]: Assume multibyte | |
3970 sequence is always valid. | |
3971 (MAKE_NON_ASCII_CHAR, SPLIT_NON_ASCII_CHAR): These macros Deleted. | |
3972 (UNIBYTE_STR_AS_MULTIBYTE_P, MULTIBYTE_STR_AS_UNIBYTE_P): New | |
3973 macros. | |
3974 (CHAR_STRING): For 8-bit characters, call char_to_string. | |
3975 (INC_POS) [not BYTE_COMBINING_DEBUG]: Faster version. Assume | |
3976 multibyte sequence is always valid. | |
3977 (BUF_INC_POS) [not BYTE_COMBINING_DEBUG]: Likewise. | |
3978 (parse_str_as_multibyte, str_as_multibyte, str_to_multibyte, | |
3979 str_as_unibyte): Extern them. | |
3980 (BCOPY_SHORT): Fix a bug. | |
3981 (CHAR_LEN): This macro deleted. Callers changed to use | |
3982 CHAR_BYTES. | |
3983 (FETCH_STRING_CHAR_ADVANCE): Check multibyteness of STRING. | |
3984 (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): New macro. | |
3985 (FETCH_CHAR_ADVANCE): Check multibyteness of the current buffer. | |
3986 | |
29161 | 3987 * coding.c (ONE_MORE_BYTE, TWO_MORE_BYTES): Set coding->result to |
29028 | 3988 CODING_FINISH_INSUFFICIENT_SRC if there's not enough source. |
3989 (ONE_MORE_CHAR, EMIT_CHAR, EMIT_ONE_BYTE, EMIT_TWO_BYTE, | |
3990 EMIT_BYTES): New macros. | |
3991 (THREE_MORE_BYTES, DECODE_CHARACTER_ASCII, | |
3992 DECODE_CHARACTER_DIMENSION1, DECODE_CHARACTER_DIMENSION2): These | |
3993 macros deleted. | |
3994 (CHECK_CODE_RANGE_A0_FF): This macro deleted. | |
3995 (detect_coding_emacs_mule): Use UNIBYTE_STR_AS_MULTIBYTE_P to | |
3996 check the validity of multibyte sequence. | |
3997 (decode_coding_emacs_mule): New function. | |
3998 (encode_coding_emacs_mule): New macro. | |
3999 (detect_coding_iso2022): Use ONE_MORE_BYTE to fetch a byte from | |
4000 the source. | |
4001 (DECODE_ISO_CHARACTER): Just return a character code. | |
4002 (DECODE_COMPOSITION_START): Set coding->result instead of result. | |
4003 (decode_coding_iso2022, decode_coding_sjis_big5, decode_eol): Use | |
4004 EMIT_CHAR to produced decoded characters. Exit the loop only by | |
4005 macros ONE_MORE_BYTE or EMIT_CHAR. Don't handle the case of last | |
4006 block here. | |
4007 (ENCODE_ISO_CHARACTER): Don't translate character here. Produce | |
4008 only position codes for an invalid character. | |
4009 (encode_designation_at_bol): Return new destination pointer. 5th | |
4010 arg DSTP is changed to DST. | |
4011 (encode_coding_iso2022, decode_coding_sjis_big5): Get a character | |
4012 from the source by ONE_MORE_CHAR. Don't handle the case of last | |
4013 block here. | |
4014 (DECODE_SJIS_BIG5_CHARACTER, ENCODE_SJIS_BIG5_CHARACTER): These | |
4015 macros deleted. | |
4016 (detect_coding_sjis, detect_coding_big5, detect_coding_utf_8, | |
4017 detect_coding_utf_16, detect_coding_ccl): Use ONE_MORE_BYTE and | |
4018 TWO_MORE_BYTES to fetch a byte from the source. | |
4019 (encode_eol): Pay attention to coding->src_multibyte. | |
4020 (detect_coding, detect_eol): Preserve members src_multibyte and | |
4021 dst_multibyte. | |
4022 (DECODING_BUFFER_MAG): Return 2 even for coding_type_raw_text. | |
4023 (encoding_buffer_size): Set magnification to 3 for all coding | |
4024 systems that require encoding. | |
4025 (ccl_coding_driver): For decoding, be sure that the result is | |
4026 valid multibyte sequence. | |
4027 (decode_coding): Initialize coding->errors and coding->result. | |
4028 For emacs-mule, call decode_coding_emacs_mule. For no-conversion | |
4029 and raw-text, always call decode_eol. Handle the case of last | |
4030 block here. If not coding->dst_multibyte, convert the resulting | |
4031 sequence to unibyte. | |
4032 (encode_coding): Initialize coding->errors and coding->result. | |
4033 For emacs-mule, call encode_coding_emacs_mule. For no-conversion | |
4034 and raw-text, always call encode_eol. Handle the case of last | |
4035 block here. | |
4036 (shrink_decoding_region, shrink_encoding_region): Detect cases | |
4037 that we can't skip data more rigidly. | |
4038 (code_convert_region): Setup src_multibyte and dst_multibyte | |
4039 members of coding. For decoding, if the buffer is multibyte, | |
4040 convert the source sequence to unibyte in advance. For encoding, | |
4041 if the buffer is multibyte, convert the resulting sequence to | |
4042 multibyte afterward. | |
4043 (run_pre_post_conversion_on_str): New function. | |
4044 (code_convert_string): Deleted and divided into the following two. | |
4045 (decode_coding_string, encode_coding_string): New functions. | |
4046 (code_convert_string1, code_convert_string_norecord): Call one of | |
4047 above. | |
4048 (Fdecode_sjis_char, Fdecode_big5_char): Use MAKE_CHAR instead of | |
4049 MAKE_NON_ASCII_CHAR. | |
4050 (Fset_terminal_coding_system_internal, | |
4051 Fset_safe_terminal_coding_system_internal): Setup src_multibyte | |
4052 and dst_multibyte members. | |
4053 (init_coding_once): Initialize iso_code_class with new enum | |
4054 ISO_control_0 and ISO_control_1. | |
4055 | |
4056 * coding.h (enum iso_code_class_type): Member ISO_control_code is | |
4057 devided into ISO_control_0 and ISO_control_1. | |
4058 (struct coding_system): New members src_multibyte, dst_multibyte, | |
4059 errors, and result. Delete member fake_multibyte. | |
4060 (CODING_REQUIRE_DECODING): Return 1 if coding->dst_multibyte is | |
4061 nonzero. | |
4062 (CODING_REQUIRE_ENCODING): Return 1 if coding->src_multibyte is | |
4063 nonzero. | |
4064 | |
4065 * data.c (Faref): Use SPLIT_CHAR instead of SPLIT_NON_ASCII_CHAR. | |
4066 (Faset): Likewise. | |
4067 | |
4068 * editfns.c (Fformat): Be sure to convert 8-bit characters to | |
4069 multibyte form. | |
4070 (Ftranspose_region) [BYTE_COMBINING_DEBUG]: Abort if byte | |
4071 combining occurs. | |
4072 (Ftranspose_region): Delete codes for handling byte combining. | |
4073 | |
4074 * fileio.c (Finsert_file_contents): Setup src_multibyte and | |
4075 dst_multibyte members of coding. On handling REPLACE on unibyte | |
4076 buffer, convert the result of decode_coding to unibyte. On | |
4077 inserting into a mutibyte buffer, always call code_convert_region. | |
29161 | 4078 (e_write): Setup coding->src_multibyte according to the |
29028 | 4079 multibyteness of the source (buffer or string). |
4080 | |
4081 * fns.c (concat): Handle 8-bit characters correctly. | |
4082 (Fstring_as_unibyte): Be sure to make all 8-bit characters in | |
4083 unibyte in the result. | |
4084 (Fstring_as_multibyte): Be sure to make all 8-bit characters in | |
4085 valid multibyte form in the result. | |
4086 (map_char_table): Use MAKE_CHAR instead of MAKE_NON_ASCII_CHAR. | |
4087 (Fbase64_encode_region, Fbase64_encode_string): If base64_encode_1 | |
4088 return -1, signal an error. | |
4089 (base64_encode_1): New arg MULTIBYTE. Get each character by | |
4090 CHAR_STRING_AND_LENGTH if MULTIBYTE is nonzero. If a multibyte | |
4091 character is found, return -1. | |
4092 (Fbase64_decode_region): Delete codes for handling byte-combining. | |
4093 Treat each decoded byte as a unibyte character. | |
4094 (Fbase64_decode_string): Return unibyte string. | |
4095 (Fcompare_strings, concat, string_byte_to_char): Use | |
4096 FETCH_STRING_CHAR_ADVANCE_NO_CHECK instead off | |
4097 FETCH_STRING_CHAR_ADVANCE. | |
4098 (Fstring_lessp): Use FETCH_STRING_CHAR_ADVANCE unconditionally. | |
4099 (mapcar1): If SEQ is string, always use FETCH_STRING_CHAR_ADVANCE. | |
4100 | |
4101 * fontset.c (fontset_ref): Use SPLIT_CHAR instead of | |
4102 SPLIT_NON_ASCII_CHAR. | |
4103 (fontset_ref_via_base, fontset_set): Likewise | |
4104 | |
4105 * insdel.c (adjust_markers_for_record_delete): Deleted. | |
4106 (adjust_markers_for_insert): Argument changed. Caller changed. | |
4107 (adjust_markers_for_replace): Likewise. | |
4108 (ADJUST_CHAR_POS, combine_bytes, byte_combining_error, | |
4109 CHECK_BYTE_COMBINING_FOR_INSERT): Deleted. | |
4110 (copy_text): Delete unused local varialbe c_save. For converting | |
4111 to multibyte, be sure to make all 8-bit characters in valid | |
4112 multibyte form. | |
4113 (count_size_as_multibyte): Handle 8-bit characters correctly. | |
4114 (insert_1_both, insert_from_string_1, insert_from_buffer_1, | |
4115 adjust_after_replace, replace_range, del_range_2) | |
4116 [BYTE_COMBINING_DEBUG]: Abort if byte combining occurs. | |
4117 (insert_1_both, insert_from_string_1, insert_from_buffer_1, | |
4118 adjust_after_replace, replace_range, del_range_2) Delete codes for | |
4119 handling byte combining. | |
4120 (adjust_before_replace): Deleted. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4121 |
29028 | 4122 * keymap.c (Fsingle_key_description): Use SPLIT_CHAR instead of |
4123 SPLIT_NON_ASCII_CHAR. | |
4124 (describe_vector): Use MAKE_CHAR instead of MAKE_NON_ASCII_CHAR. | |
4125 (Faccessible_keymaps): Use FETCH_STRING_CHAR_ADVANCE | |
4126 unconditionally. | |
4127 (Fkey_description): Likewise. | |
4128 | |
4129 * lread.c (read1): On reading multibyte string, be sure to make | |
4130 all 8-bit chararacters in valid multibyte form. | |
4131 (readchar): Use FETCH_STRING_CHAR_ADVANCE unconditionally. | |
4132 | |
4133 * print.c (print_object): Use FETCH_STRING_CHAR_ADVANCE | |
4134 unconditionally. | |
4135 | |
4136 * process.c (Fstart_process): GCPRO current_dir before calling | |
4137 Ffind_operation_coding_system. Encode arguments here. | |
4138 (create_process): Don't encode arguments here. Setup | |
4139 src_multibyte and dst_multibyte members of struct coding. | |
4140 (read_process_output): Setup src_multibyte and dst_multibyte | |
4141 members of struct coding. If the output is to multibyte buffer, | |
4142 always decode the output of the process. Adjust the | |
4143 representation of 8-bit characters to the multibyteness of the | |
4144 output. | |
4145 (send_process): Setup coding->src_multibyte according to the | |
4146 multibyteness of the source. | |
4147 | |
4148 * search.c (wordify): Use FETCH_STRING_CHAR_ADVANCE | |
4149 unconditionally. | |
4150 (Freplace_match): Use FETCH_STRING_CHAR_ADVANCE and | |
4151 FETCH_STRING_CHAR_ADVANCE_NO_CHECK appropriately. | |
4152 | |
4153 * term.c (produce_special_glyphs): Use CHAR_BYTES instead of | |
4154 CHAR_LEN. | |
4155 | |
4156 * w16select.c (Fw16_set_clipboard_data): Setup members | |
4157 src_multibyte and dst_multibyte of coding. Adjusted for the | |
4158 change for find_charset_in_str. | |
4159 (Fw16_get_clipboard_data): Likewise. | |
4160 | |
4161 * w32fns.c (w32_to_x_font): Setup members src_multibyte and | |
4162 dst_multibyte of coding. | |
4163 (x_to_w32_font): Likewise. | |
4164 | |
4165 * w32select.c (Fw32_set_clipboard_data): Setup members | |
4166 src_multibyte and dst_multibyte of coding. Adjusted for the | |
4167 change for find_charset_in_str. | |
4168 (Fw32_get_clipboard_data): Likewise. | |
4169 | |
4170 * xdisp.c (get_next_display_element): Handle 8-bit characters | |
4171 correctly. | |
4172 (next_element_from_display_vector): Use CHAR_BYTES instead of | |
4173 CHAR_LEN. | |
4174 (disp_char_vector): Use SPLIT_CHAR instead of | |
4175 SPLIT_NON_ASCII_CHAR. | |
4176 | |
4177 * xselect.c (selection_data_to_lisp_data): Setup members | |
4178 src_multibyte and dst_multibyte of coding. Adjusted for the | |
4179 change for find_charset_in_str. | |
4180 (lisp_data_to_selection_data): Likewise. | |
4181 | |
28988 | 4182 2000-05-19 Gerd Moellmann <gerd@gnu.org> |
4183 | |
28993 | 4184 * buffer.c (Fbury_buffer): Avoid trouble from burying a killed |
4185 buffer. | |
4186 | |
28988 | 4187 * dispextern.h (Vimage_types): Add extern declaration. |
4188 | |
4189 * xdisp.c (Vimage_types): Moved here from xfns.c. | |
4190 (syms_of_xdisp): Move `image-types' variable here from xfns.c. | |
4191 | |
4192 * xfns.c (Vimages_types): Moved to xdisp.c. | |
4193 (syms_of_xfns): Move `image-types' to xdisp.c. | |
4194 | |
4195 * w32fns.c (Vimage_types): Removed. | |
4196 (syms_of_w32fns): Remove `image-types'. | |
4197 | |
28965 | 4198 2000-05-18 Kenichi Handa <handa@etl.go.jp> |
4199 | |
4200 * fns.c (map_char_table): Pay attention to character number of | |
4201 charset. Check the validity of charset at the first level. For | |
4202 leaf nodes that has nil value, call C_FUNCTION or FUNCTION with | |
4203 the default value. | |
4204 | |
4205 * fontset.c: Include "buffer.h". | |
4206 (fs_load_font): If the face has fontset, record the face ID in | |
4207 that fontset. | |
4208 (Finternal_char_font): New function. | |
4209 (accumulate_font_info): New function. | |
4210 (Ffontset_info): Rewritten for the new fontset implementation. | |
4211 (syms_of_fontset): Register Vdefault_fontset in the first element | |
4212 of Vfontset_table. Include Vdefault_fontset in | |
4213 Vfontset_alias_alist. Declare `internal-char-font' as a Lisp | |
4214 function. | |
4215 | |
28945 | 4216 2000-05-16 Dave Love <fx@gnu.org> |
4217 | |
4218 * m/iris5d.h: Deleted -- unused. | |
4219 | |
28929 | 4220 2000-05-16 Gerd Moellmann <gerd@gnu.org> |
4221 | |
28939 | 4222 * xdisp.c, w32.c, print.c, msdos.c, emacs.c: Use the term |
4223 `invalid' instead of `illegal'. | |
4224 | |
4225 * indent.c (Fmove_to_column): When ending within a tab, insert | |
4226 spaces first so that markers at the end of the tab get adjusted. | |
4227 | |
28931 | 4228 * frame.c (frames_bury_buffer): Don't add a buffer to the frame's |
4229 buffer list that wasn't selected in that frame. | |
4230 | |
28929 | 4231 * filelock.c (get_boot_time): To obtain an 8 char file name, which |
4232 is needed on mescaline, use a 2 char prefix, and call | |
4233 make_temp_name with second arg non-zero. | |
4234 | |
4235 * fileio.c (make_temp_name): New function, extracted from | |
4236 Fmake_temp_name. | |
4237 (Fmake_temp_name): Use it. | |
4238 | |
28921 | 4239 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il> |
4240 | |
4241 * window.c (coordinates_in_window): Subtract 1 when computing | |
4242 right_x. | |
4243 | |
28919 | 4244 2000-05-15 Gerd Moellmann <gerd@gnu.org> |
4245 | |
4246 * Makefile.in (lisp): Add env.elc. | |
4247 | |
4248 * callproc.c (Fgetenv_internal): Renamed from Fgetenv. | |
4249 | |
28887 | 4250 2000-05-12 Gerd Moellmann <gerd@gnu.org> |
4251 | |
4252 * search.c (Freplace_match): Handle case of `\N' in the | |
4253 replacement when there's no group N. | |
4254 | |
28870 | 4255 2000-05-11 Gerd Moellmann <gerd@gnu.org> |
4256 | |
28877 | 4257 * xdisp.c (add_to_log): Don't pass the terminating NUL byte |
4258 of the message to message_dolog. | |
4259 | |
28872 | 4260 * keyboard.c (read_char): Don't clear current message for help |
4261 events; let the code handling help events handle this. Change | |
4262 code detecting help events that should be ignored. | |
4263 | |
28870 | 4264 * xdisp.c (handle_single_display_prop): Don't try to set PT if |
4265 we're interating over a string. | |
4266 | |
28848 | 4267 2000-05-09 Dave Love <fx@gnu.org> |
4268 | |
4269 * fileio.c (Fwrite_region): If APPEND arg is an integer, seek to | |
4270 that offset before writing. Move gcpro region past call of | |
4271 Ffile_regular_p. | |
4272 | |
28820 | 4273 2000-05-04 Dave Love <fx@gnu.org> |
4274 | |
4275 * buffer.c (syms_of_buffer) [auto-fill-function]: Doc fix. | |
4276 | |
28817 | 4277 2000-05-04 Gerd Moellmann <gerd@gnu.org> |
4278 | |
4279 * insdel.c (insert_from_buffer_1): Adjust FROM position by number | |
4280 of inserted characters when BUF equals the current buffer, and PT | |
4281 is in front of or equal to FROM. | |
4282 | |
28795 | 4283 2000-05-03 Gerd Moellmann <gerd@gnu.org> |
4284 | |
28805 | 4285 * xdisp.c (handle_single_display_prop): If display property value |
4286 is invalid, or something not supported on the frame, restore | |
4287 iterator's position to what it was initially. Make sure to return | |
4288 0 for invalid and unsupported property values. | |
4289 | |
28795 | 4290 * xterm.c (x_produce_glyphs) <composite chars>: Handle case |
4291 that x_per_char_metric returns null. | |
4292 | |
28782 | 4293 2000-05-02 Gerd Moellmann <gerd@gnu.org> |
4294 | |
28789 | 4295 * xterm.h (struct face): Add forward declaration. |
4296 (struct image): Ditto. | |
4297 (image_ascent): Add prototype. | |
4298 | |
4299 * xterm.c (x_produce_image_glyph, x_draw_image_foreground) | |
4300 (x_draw_image_relief, x_draw_image_foreground_1): Call function | |
4301 image_ascent instead of using IMAGE_ASCENT. | |
4302 | |
4303 * dispextern.h (DEFAULT_IMAGE_HEIGHT): New macro. | |
4304 (IMAGE_ASCENT): Removed. | |
4305 | |
4306 * xfns.c (Qcenter): New variable. | |
4307 (enum image_value_type): Add IMAGE_ASCENT_VALUE. | |
4308 (parse_image_spec): Handle IMAGE_ASCENT_VALUE. | |
4309 (image_ascent): New function. | |
4310 (lookup_image): Recognize `:ascent center'. | |
4311 (xbm_format, xpm_format, pbm_format, png_format, jpeg_format) | |
4312 (tiff_format, gif_format, gs_format): Use IMAGE_ASCENT_VALUE. | |
4313 (xbm_load): Don't set image's ascent here. | |
4314 (xbm_image_p, xpm_image_p, pbm_image_p, png_image_p) | |
4315 (jpeg_image_p, tiff_image_p, gif_image_p, gs_image_p): Don't | |
4316 check ascent values here. | |
4317 (Fimagep, Flookup_image [GLYPH_DEBUG]: Removed. | |
4318 (syms_of_xfns) [GLYPH_DEBUG]: Don't defsubr removed functions. | |
4319 (syms_of_xfns): Initialize Qcenter. | |
4320 | |
28782 | 4321 * eval.c (Fsignal): If lisp_eval_depth or spepdl_size are near |
4322 to the limits, increase the limits. | |
4323 | |
28765 | 4324 2000-05-01 Kenichi Handa <handa@etl.go.jp> |
4325 | |
4326 * fontset.c (fs_load_font): By default, use 0x00..0x7f for ASCII. | |
4327 Check Vfont_encoding_alist against the full name of the opened | |
4328 font. | |
4329 | |
28755 | 4330 2000-04-28 Gerd Moellmann <gerd@gnu.org> |
4331 | |
4332 * xdisp.c (make_cursor_line_fully_visible): Handle case of rows | |
4333 taller than the window. | |
4334 | |
28752 | 4335 2000-04-28 Kenichi Handa <handa@etl.go.jp> |
4336 | |
4337 * xfaces.c (realize_x_face): Fix the argument of the second | |
4338 xassert. BASE_FACE may not be a face for ASCII. | |
4339 | |
28734 | 4340 2000-04-27 Gerd Moellmann <gerd@gnu.org> |
4341 | |
28748 | 4342 * print.c (print_object): Treat print-length < 0 as nil. |
4343 | |
4344 * Makefile.in (termcapobj): Don't use TERMCAP_OBJ. | |
4345 | |
4346 * s/freebsd.h (TERMCAP_OBJ): Removed. | |
4347 (LIBS_TERMCAP): Don't define for __FreeBSD_version >= 400000. | |
4348 | |
4349 * lread.c (read1): Don't treat period followed by certain | |
4350 characters as symbol start. | |
4351 | |
4352 * xfns.c (slurp_file): New function. | |
4353 (xbm_image_p): Handle case of in-memory XBM files. | |
4354 (xbm_scan): Rewritten to work on memory buffers instead of files. | |
4355 (xbm_read_bitmap_data): Renamed from xbm_read_bitmap_file_data. | |
4356 Work on memory buffers instead of files. If DATA is null test | |
4357 if buffer looks like an in-memory XBM file. | |
4358 (xbm_load_image): Renamed from xbm_load_image_file. Work on | |
4359 memory buffers instead of files. | |
4360 (xbm_file_p): New function. | |
4361 (xbm_load): Accept :data DATA where DATA is an in-memory XBM file. | |
4362 | |
28734 | 4363 * lread.c (end_of_file_error): New function. |
4364 (read1): Call it instead of signaling `end-of-file' directly. | |
4365 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4366 * print.c (print_error_message): Print data of `end-of-file' |
28734 | 4367 with Fprinc instead of Fprin1. |
4368 | |
28727
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4369 2000-04-26 Ken Raeburn <raeburn@gnu.org> |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4370 |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4371 * window.c (freeze_window_start): Check that minibuffer scroll |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4372 window isn't nil before extracting the window structure pointer |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4373 from it. |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4374 |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4375 * 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
|
4376 picking elements apart. |
1a87cdb8289a
*** empty log message ***
Ken Raeburn <raeburn@raeburn.org>
parents:
28724
diff
changeset
|
4377 |
28724 | 4378 2000-04-26 Gerd Moellmann <gerd@gnu.org> |
4379 | |
4380 * xdisp.c (display_line): If lines are continued, restore | |
4381 iterator's ascent/descent information to the values before the | |
4382 first glyph not fitting on the line. | |
4383 | |
28710 | 4384 2000-04-25 Gerd Moellmann <gerd@gnu.org> |
4385 | |
4386 * xdisp.c (try_window_id) <all changes above window start>: Adjust | |
4387 positions in glyph matrix. Don't compute new window end | |
4388 positions. | |
4389 | |
4390 * dispnew.c (increment_matrix_positions): Renamed from | |
4391 increment_glyph_matrix_buffer_positions. | |
4392 (increment_row_positions): Renamed from | |
4393 increment_glyph_row_buffer_positions. | |
4394 | |
4395 * dispextern.h: Change names of renamed functions from dispnew.c | |
4396 in prototypes. | |
4397 | |
28695 | 4398 2000-04-24 Gerd Moellmann <gerd@gnu.org> |
4399 | |
28699 | 4400 * fileio.c (Fdo_auto_save): Create directories for auto-save |
4401 list file if necessary. | |
4402 | |
28695 | 4403 * xdisp.c (init_iterator): Set iterator's extra_line_spacing |
4404 from buffer or frame. | |
4405 (automatic_hscrolling_p): New variable. | |
4406 (hscroll_windows): Scroll windows horizontally only if automatic | |
4407 hscrolling is allowed. | |
4408 (syms_of_xdisp): New variable `automatic-hscrolling'. | |
4409 | |
4410 * frame.h (struct frame): Add member extra_line_spacing. | |
4411 | |
4412 * xfns.c (x_set_line_spacing): New function. | |
4413 (Fx_create_frame): Set line spacing from resources. | |
4414 (Qline_spacing): New variable. | |
4415 (syms_of_xfns): Initialize Qline_spacing. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4416 |
28695 | 4417 * emacs.c (USAGE2): Add `--line-spacing' and `-lsp'. |
4418 | |
4419 * buffer.c (init_buffer_once): Handle extra_line_spacing. | |
4420 (syms_of_buffer): Add `default-line-spacing' and `line-spacing'. | |
28699 | 4421 (reset_buffer): Don't initialize extra2 and extra3. Initialize |
28695 | 4422 extra_line_spacing from default value. |
4423 (init_buffer_once): Initialize default value of extra_line_spacing. | |
4424 | |
4425 * buffer.h (struct buffer): Add extra_line_spacing, remove extra2 | |
4426 and extra3. | |
4427 | |
4428 * xterm.c (x_produce_glyphs): Remove reference to struct it's | |
4429 prompt_width. Add extra line spacing. | |
4430 | |
4431 * term.c (produce_glyphs): Remove reference to struct it's | |
4432 prompt_width. | |
4433 | |
4434 * dispextern.h (struct it): Remove member prompt_width, add | |
4435 extra_line_spacing. | |
4436 | |
28683 | 4437 2000-04-22 Gerd Moellmann <gerd@gnu.org> |
4438 | |
4439 * dispnew.c (update_frame_line): When writing a whole line, make | |
4440 sure cursor is in the right row afterwards, otherwise a use of | |
4441 capability `ch' in cmgoto might leave the cursor in the row below. | |
4442 | |
28680 | 4443 2000-04-21 Gerd Moellmann <gerd@gnu.org> |
4444 | |
4445 * lisp.h (struct Lisp_Buffer_Cons): Remove. | |
4446 | |
4447 * keyboard.c (timer_check): Fix typo in comment. | |
4448 | |
28675 | 4449 2000-04-21 Kenichi Handa <handa@etl.go.jp> |
4450 | |
4451 * fontset.c (Fset_fontset_font): Fix docstring. Local variable | |
4452 name change: ch -> character. | |
4453 | |
28674 | 4454 2000-04-20 Gerd Moellmann <gerd@gnu.org> |
4455 | |
4456 * keyboard.c (echo_message_buffer): New variable. | |
4457 (echo_now): Set echo_message_buffer to the echo area buffer used | |
4458 to display the echo. | |
4459 (cancel_echoing): Reset echo_message_buffer to nil. | |
4460 (read_char): Code rewritten that handles canceling an echo or | |
4461 echoing a dash, respectively. | |
4462 | |
4463 * fileio.c (Ffile_writable_p) [WINDOWSNT]: Return nil if parent | |
4464 directory doesn't exist. | |
4465 | |
28668 | 4466 2000-04-19 Dave Love <fx@gnu.org> |
4467 | |
4468 * fns.c (syms_of_fns): Defsubr mapc. | |
28756 | 4469 (concat): Don't allow numeric args. |
4470 (Fconcat): Doc change. | |
28668 | 4471 |
28665
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
4472 2000-04-19 Stefan Monnier <monnier@cs.yale.edu> |
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
4473 |
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
4474 * 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
|
4475 instead define end_match(1|2) more carefully. |
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
4476 Use GET_CHAR_BEFORE_2 for `begline'. |
e6b28c64d3a5
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28653
diff
changeset
|
4477 |
28648 | 4478 2000-04-19 Gerd Moellmann <gerd@gnu.org> |
4479 | |
28653 | 4480 * frame.h (SELECTED_FRAME): Change definition to compile cleanly |
4481 on 64-bit systems where NULL is defined as `0'. | |
4482 | |
4483 * xdisp.c (with_echo_area_buffer): Add more `int' parameters for | |
4484 the `variable argument list' to make it work on Alpha. | |
4485 | |
28648 | 4486 * m/alpha.h (_LP64) [!_LP64]: Define. |
4487 (ORDINARY_LINK): Define for NetBSD. | |
4488 | |
4489 * m/macppc.h (ORDINARY_LINK): Define for NetBSD. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4490 |
28637 | 4491 2000-04-19 Dave Love <fx@gnu.org> |
4492 | |
28644 | 4493 * s/bsd386.h, s/freebsd.h, s/gnu.h, s/netbsd.h: Revert 2000-04-14 |
4494 change. | |
4495 | |
4496 * Makefile.in (LIBS): Don't use. | |
4497 (GETLOADAVG_OBJ): Define again. | |
4498 (otherobj): Add GETLOADAVG_OBJ. | |
4499 | |
28637 | 4500 * buffer.c (Fmake_indirect_buffer): Escape newline in doc. |
4501 | |
28630 | 4502 2000-04-18 Gerd Moellmann <gerd@gnu.org> |
4503 | |
28634 | 4504 * lread.c (read_filtered_event): Cancel and start busy cursor. |
4505 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4506 * xterm.c (x_produce_glyphs) <ASCII chars>: Take into account |
28630 | 4507 that the per-character metrics may be null. |
4508 | |
28621 | 4509 2000-04-17 Gerd Moellmann <gerd@gnu.org> |
4510 | |
28626 | 4511 * buffer.c (clone_per_buffer_values): New function. |
4512 (Fmake_indirect_buffer): Add optional argument CLONE. Call | |
4513 clone_per_buffer_values if CLONE is not nil. | |
4514 | |
28621 | 4515 * xfaces.c (Ftty_suppress_bold_inverse_default_colors): Doc fix. |
4516 | |
28610 | 4517 2000-04-16 Dave Love <fx@gnu.org> |
4518 | |
4519 * Makefile.in: Remove obsolete localcpp stuff. | |
4520 (GETLOADAVG_OBJ): Don't define. | |
4521 (obj): Move LIBOBJS... | |
4522 (otherobj): ... to here. | |
4523 (MSDOS_OBJ): Convert to make variable -- preprocessing zapped | |
4524 whitespace-only lines after the continuation (Irix). | |
4525 | |
28598 | 4526 2000-04-14 Gerd Moellmann <gerd@gnu.org> |
4527 | |
4528 * xfns.c (xpm_load) [DEBUG_X_COLORS]: Register colors. | |
4529 | |
4530 * s/freebsd.h (LD_SWITCH_SYSTEM): Add `-L /usr/local/lib'. | |
4531 | |
28595 | 4532 2000-04-14 Dave Love <fx@gnu.org> |
4533 | |
4534 * s/aix3-1.h, s/bsd4-2.h, s/bsd4-3.h, s/cxux.h, s/dgux.h, s/gnu.h: | |
4535 * s/hpux.h, s/iris3-5.h, s/iris3-6.h, s/irix3-3.h, s/rtu.h: | |
4536 * s/unipl5-0.h, s/unipl5-2.h, s/usg5-0.h, s/usg5-2-2.h, s/usg5-2.h: | |
4537 * s/usg5-3.h, s/xenix.h, s/umax.h: Don't define autoconfiscated | |
4538 NLIST_STRUCT. | |
4539 | |
4540 * s/bsd386.h, s/freebsd.h, s/gnu.h, s/netbsd.h: Don't define | |
4541 autoconfiscated HAVE_GETLOADAVG. | |
4542 | |
4543 * s/nextstep.h, s/sco4.h, s/sco5.h: Don't define autoconfiscated | |
4544 BROKEN_MKTIME. | |
4545 | |
28591 | 4546 2000-04-14 Gerd Moellmann <gerd@gnu.org> |
4547 | |
4548 * filelock.c (MAKE_LOCK_NAME): Allocate 2 more bytes. | |
4549 (fill_in_lock_file_name): Avoid existing files that aren't | |
4550 links. | |
4551 | |
28588 | 4552 2000-04-14 Dave Love <fx@gnu.org> |
4553 | |
28598 | 4554 * Makefile.in (LIBS, LIBOBJS): New variable. |
28588 | 4555 (INTERVAL_SRC): Convert to make variable. |
4556 (INTERVAL_OBJ, MKTIME_OBJ, FLOAT_SUPPORT, FACE_SUPPORT) | |
4557 (HAVE_X_WINDOWS, OBJECTS_SYSTEM): Remove. | |
4558 (obj): Substitute INTERVAL_OBJ, add MKTIME_OBJ, GETLOADAVG_OBJ and | |
4559 add LIBOBJS. | |
4560 (SOME_MACHINE_OBJECTS): Remove interval stuff. | |
4561 (lisp): Substitute FACE_SUPPORT, FLOAT_SUP. | |
4562 (shortlisp): Add facemenu, float-sup, frame. | |
4563 (SOME_MACHINE_LISP): Remove them from here. | |
4564 (LIBES): Change unused LDLIBS to autoconf LIBS. | |
4565 | |
4566 * config.in: Add BROKEN_MKTIME, NLIST_STRUCT, NLIST_NAME_UNION. | |
4567 | |
28579 | 4568 2000-04-14 Kenichi Handa <handa@etl.go.jp> |
4569 | |
28580 | 4570 * composite.c (update_compositions): If FROM and TO are not in a |
28579 | 4571 valid range, do nothing. |
4572 | |
28577 | 4573 2000-04-13 Gerd Moellmann <gerd@gnu.org> |
4574 | |
4575 * tparam.c (tparam1): Abort when encountering an unknown | |
4576 `%'-specifier. | |
4577 | |
4578 * s/freebsd.h (TERMCAP_OBJ) [__FreeBSD__ >= 4]: Define as | |
4579 terminfo.o. | |
4580 | |
4581 * Makefile.in (termcapobj) [LIBS_TERMCAP && TERMCAP_OBJ]: Define | |
4582 as TERMCAP_OBJ. | |
4583 | |
28562 | 4584 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il> |
4585 | |
4586 * fileio.c (a_write): Remove redundant semi-colons. | |
4587 (e_write): Return -1 if failed to write all the data. | |
4588 This fixes the changes made at 1999-12-15. | |
4589 | |
28555
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
4590 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
|
4591 |
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
4592 * 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
|
4593 (Fmapc): New function. |
976bc44944da
(mapcar1): Test for null vals to support mapc.
Dave Love <fx@gnu.org>
parents:
28554
diff
changeset
|
4594 |
28554 | 4595 2000-04-12 Eli Zaretskii <eliz@is.elta.co.il> |
4596 | |
4597 * msdos.c (NUM_MOUSE_BUTTONS): Define. | |
4598 (IT_frame_up_to_date): Support the buffer local value of | |
4599 cursor-type, if defined. | |
4600 | |
28547 | 4601 2000-04-10 Dave Love <fx@gnu.org> |
4602 | |
4603 * editfns.c (preceding-char, following-char): Doc fix. | |
4604 | |
28546
74440e467c99
* Makefile.in (temacs): Revert 2000-03-12 change.
Ken Raeburn <raeburn@raeburn.org>
parents:
28543
diff
changeset
|
4605 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
|
4606 |
74440e467c99
* Makefile.in (temacs): Revert 2000-03-12 change.
Ken Raeburn <raeburn@raeburn.org>
parents:
28543
diff
changeset
|
4607 * 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
|
4608 |
28543 | 4609 2000-04-10 Jason Rumney <jasonr@gnu.org> |
4610 | |
4611 * xfaces.c (realize_face): Change FRAME_X_P to FRAME_WINDOW_P. | |
4612 | |
28538 | 4613 2000-04-10 Gerd Moellmann <gerd@gnu.org> |
4614 | |
28542 | 4615 * xdisp.c (setup_echo_area_for_printing): Choose an echo |
4616 area buffer, if it's not set up yet. | |
4617 | |
28538 | 4618 * indent.c (compute_motion): Set immediate_quit. |
4619 | |
28523 | 4620 2000-04-09 Gerd Moellmann <gerd@gnu.org> |
4621 | |
28530 | 4622 * xfaces.c (tty_suppress_bold_inverse_default_colors_p): New |
4623 variable. | |
4624 (realize_tty_face): Suppress boldness if colors are the inverse of | |
4625 the default colors, and tty_suppress_bold_inverse_default_colors_p | |
4626 is set. | |
4627 (Ftty_suppress_bold_inverse_default_colors): New function. | |
4628 (syms_of_xfaces): Defsubr it. | |
4629 | |
28523 | 4630 * buffer.c (Frestore_buffer_modified_p): New function. |
4631 (syms_of_buffer): Defsubr it. | |
4632 | |
28514
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
4633 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
|
4634 |
28515
75bd73426842
* charset.c (Fmake_char_internal): CHAR_COMPONENTS_VALID_P takes a
Ken Raeburn <raeburn@raeburn.org>
parents:
28514
diff
changeset
|
4635 * 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
|
4636 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
|
4637 |
28514
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
4638 * 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
|
4639 * 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
|
4640 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
|
4641 |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
4642 * 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
|
4643 value. |
8696fafd68ae
fixing more int/lisp confusion, in coding.* and fontset.c
Ken Raeburn <raeburn@raeburn.org>
parents:
28509
diff
changeset
|
4644 (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
|
4645 |
28507
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
4646 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
|
4647 |
28509
022a7fd54bfe
* intervals.h (SET_INTERVAL_PARENT): Use INT_LISPLIKE to test for a pointer
Ken Raeburn <raeburn@raeburn.org>
parents:
28508
diff
changeset
|
4648 * 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
|
4649 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
|
4650 (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
|
4651 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
|
4652 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
|
4653 (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
|
4654 |
28507
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
4655 * 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
|
4656 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
|
4657 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
|
4658 * 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
|
4659 * 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
|
4660 * 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
|
4661 * 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
|
4662 Fminibuffer_completion_help): Likewise. |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
4663 * 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
|
4664 |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
4665 * 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
|
4666 * 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
|
4667 |
b6f06a755c7d
make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILP
Ken Raeburn <raeburn@raeburn.org>
parents:
28506
diff
changeset
|
4668 * 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
|
4669 |
28508
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
4670 * 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
|
4671 __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
|
4672 lisp-object unions. |
a68042252425
* lisp.h (make_number) [!NO_UNION_TYPE && __GNUC__ >= 2 && __OPTIMIZE__]:
Ken Raeburn <raeburn@raeburn.org>
parents:
28507
diff
changeset
|
4673 (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
|
4674 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
|
4675 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
|
4676 |
28499 | 4677 2000-04-04 Gerd Moellmann <gerd@gnu.org> |
4678 | |
28506 | 4679 * window.c (compare_window_configurations): Signal an error |
4680 if parameters C1 or C2 aren't window configurations. | |
4681 | |
28499 | 4682 * bytecode.c (Fbyte_code): Add a bunch of BEFORE_POTENTIAL_GC/ |
4683 AFTER_POTENTIAL_GC calls around calls to functions that can | |
4684 signal an error and thus invoke the debugger. | |
4685 | |
28483 | 4686 2000-04-03 Gerd Moellmann <gerd@gnu.org> |
4687 | |
28496 | 4688 * fns.c (Fbase64_decode_region, Fbase64_decode_string): Signal |
4689 an error if decoding fails. | |
4690 | |
28483 | 4691 * keyboard.c (lispy_mouse_names): Variable removed. |
4692 (Vlispy_mouse_stem): New variable. | |
4693 (syms_of_keyboard): Initialize Vlispy_mouse_stem. | |
4694 (make_lispy_event) <mouse_click, scroll_bar_click>: Don't abort | |
4695 for any mouse button number. Increase size of mouse_syms and | |
4696 button_down_location as needed. Call modify_event_symbol with | |
4697 different arguments. | |
4698 (make_lispy_event) <scroll_bar_click> [USE_TOOLKIT_SCROLL_BARS]: | |
4699 Call modify_event_symbol with different arguments. | |
4700 (make_lispy_event) <w32_scroll_bar_click> [WINDOWSNT]: Don't abort | |
4701 for any button number. Call modify_event_symbol with different | |
4702 arguments. | |
4703 (modify_event_symbol): Rename NAME_ALIST to NAME_ALIST_OR_STEM. | |
4704 Accept a string for NAME_ALIST_OR_STEM. | |
4705 | |
4706 * lisp.h (larger_vector): Add prototype. | |
4707 | |
4708 * fns.c (larger_vector): Make externally visible. | |
4709 | |
4710 * termhooks.h (NUM_MOUSE_BUTTONS): Removed. | |
4711 | |
28473
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4712 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
|
4713 |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4714 * 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
|
4715 (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
|
4716 (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
|
4717 we are between str1 and str2. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4718 (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
|
4719 (PATFETCH): Use `TRANSLATE'. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4720 (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
|
4721 (PATUNFETCH): Remove. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4722 (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
|
4723 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
|
4724 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
|
4725 (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
|
4726 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
|
4727 (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
|
4728 buffer. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4729 |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4730 * 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
|
4731 conditional on `emacs'. |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4732 |
975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28472
diff
changeset
|
4733 * 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
|
4734 |
28469
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
4735 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
|
4736 |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
4737 * 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
|
4738 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
|
4739 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
|
4740 defined. |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
4741 (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
|
4742 macro. |
f66f2b4d5eb7
* alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand non-union-type
Ken Raeburn <raeburn@raeburn.org>
parents:
28466
diff
changeset
|
4743 |
28472
bae9218986ac
* composite.c (run_composite_function): Use NILP when checking for nil.
Ken Raeburn <raeburn@raeburn.org>
parents:
28471
diff
changeset
|
4744 * 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
|
4745 nil. |
bae9218986ac
* composite.c (run_composite_function): Use NILP when checking for nil.
Ken Raeburn <raeburn@raeburn.org>
parents:
28471
diff
changeset
|
4746 (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
|
4747 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
|
4748 |
28471
f3d784d3eb5d
fix error in last log message
Ken Raeburn <raeburn@raeburn.org>
parents:
28470
diff
changeset
|
4749 * 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
|
4750 Lisp_Object boolean value. |
f3d784d3eb5d
fix error in last log message
Ken Raeburn <raeburn@raeburn.org>
parents:
28470
diff
changeset
|
4751 (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
|
4752 (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
|
4753 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
|
4754 XSETSTRING call. |
93996c44b23a
* editfns.c (text_property_stickiness, Fmessage_or_box): Use NILP to test
Ken Raeburn <raeburn@raeburn.org>
parents:
28469
diff
changeset
|
4755 |
28466 | 4756 2000-04-01 Gerd Moellmann <gerd@gnu.org> |
4757 | |
4758 * term.c (TN_no_color_video): New variable. | |
4759 (term_init): Intitialize TN_no_color_video. | |
4760 (enum no_color_bit): New enumeration. | |
4761 (MAY_USE_WITH_COLORS_P): New macro. | |
4762 (turn_on_face): Use it to determine if attributes may be used | |
4763 combined with colors. | |
4764 | |
28463
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
4765 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
|
4766 |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
4767 * 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
|
4768 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
|
4769 lvalues. |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
4770 (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
|
4771 proper accessor macros. |
4591d285fb65
* window.c (CURBEG, CURSIZE): Don't overload lisp object lvalues
Ken Raeburn <raeburn@raeburn.org>
parents:
28462
diff
changeset
|
4772 (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
|
4773 (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
|
4774 |
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
|
4775 * 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
|
4776 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
|
4777 (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
|
4778 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
|
4779 Fformat. |
28483 | 4780 (back_to_previous_visible_line_start) |
4781 (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
|
4782 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
|
4783 (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
|
4784 objects, or passing them as int arguments. |
28483 | 4785 (mark_window_display_accurate, insert_left_trunc_glyphs) |
4786 (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
|
4787 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
|
4788 (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
|
4789 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
|
4790 (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
|
4791 |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
4792 * 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
|
4793 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
|
4794 (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
|
4795 (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
|
4796 |
cad4cc0508a0
Fix Lisp_Object/int type confusion revealed by making Lisp_Object a union type:
Ken Raeburn <raeburn@raeburn.org>
parents:
28463
diff
changeset
|
4797 * 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
|
4798 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
|
4799 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
|
4800 |
28455 | 4801 2000-04-01 Gerd Moellmann <gerd@gnu.org> |
4802 | |
28462 | 4803 * xfaces.c (realize_basic_faces): Block input while realizing |
4804 the faces. | |
4805 | |
28455 | 4806 * keyboard.c (lispy_mouse_names): Add additional mouse names. |
4807 | |
4808 * termhooks.h (NUM_MOUSE_BUTTONS): Increase to 15. | |
4809 | |
28444 | 4810 2000-03-31 Gerd Moellmann <gerd@gnu.org> |
4811 | |
4812 * xterm.c (x_produce_glyphs): When displaying unibyte text | |
28462 | 4813 or ASCII, handle case that per-char metric is null. |
28444 | 4814 |
28417
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4815 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
|
4816 |
28430
f805ef5a2a03
* lisp.h (NO_UNION_TYPE) [ENABLE_CHECKING]: Undef.
Ken Raeburn <raeburn@raeburn.org>
parents:
28417
diff
changeset
|
4817 * 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
|
4818 |
28417
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4819 * 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
|
4820 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
|
4821 pointer, using eassert. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4822 * frame.h (XFRAME): Likewise. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4823 |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4824 * 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
|
4825 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
|
4826 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
|
4827 type. |
4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Ken Raeburn <raeburn@raeburn.org>
parents:
28415
diff
changeset
|
4828 * 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
|
4829 * 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
|
4830 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
|
4831 * 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
|
4832 * 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
|
4833 * 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
|
4834 * 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
|
4835 * 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
|
4836 * 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
|
4837 * 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
|
4838 |
28415 | 4839 2000-03-30 Gerd Moellmann <gerd@gnu.org> |
4840 | |
4841 * xfns.c (free_image_cache): Free the cache structure itself | |
4842 last, after all its members have been freed. | |
4843 | |
4844 * lisp.h (xstrdup): Add prototype. | |
4845 | |
4846 * alloc.c (xstrdup): Moved here from xfaces.c. | |
4847 (allocating_for_lisp): Variable removed. | |
4848 (lisp_malloc): Block input around the calls to malloc and | |
4849 mem_insert. | |
4850 | |
4851 * xfaces.c (realize_tty_face): Use find_symbol_value instead | |
4852 of Fsymbol_value. | |
4853 (xstrdup): Moved to alloc.c. | |
4854 | |
28406
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4855 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
|
4856 |
28407
f15029804aba
* scroll.c (CHECK_BOUNDS): Renamed from CHECK.
Ken Raeburn <raeburn@raeburn.org>
parents:
28406
diff
changeset
|
4857 * scroll.c (CHECK_BOUNDS): Renamed from CHECK. |
f15029804aba
* scroll.c (CHECK_BOUNDS): Renamed from CHECK.
Ken Raeburn <raeburn@raeburn.org>
parents:
28406
diff
changeset
|
4858 |
f15029804aba
* scroll.c (CHECK_BOUNDS): Renamed from CHECK.
Ken Raeburn <raeburn@raeburn.org>
parents:
28406
diff
changeset
|
4859 * 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
|
4860 |
28406
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4861 * 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
|
4862 |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4863 * 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
|
4864 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
|
4865 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
|
4866 (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
|
4867 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
|
4868 abort. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4869 (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
|
4870 facility. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4871 |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4872 * 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
|
4873 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
|
4874 (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
|
4875 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
|
4876 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
|
4877 |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4878 * 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
|
4879 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
|
4880 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
|
4881 (die): New function. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4882 (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
|
4883 |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4884 * 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
|
4885 parent object. |
451721e784a8
Stop assuming interval pointers and lisp objects can be distinguished by
Ken Raeburn <raeburn@raeburn.org>
parents:
28390
diff
changeset
|
4886 |
28390 | 4887 2000-03-29 Gerd Moellmann <gerd@gnu.org> |
4888 | |
4889 * lread.c (read1): Accept `.' (period) as symbol start like in CL | |
4890 and earlier Emacs versions. | |
4891 | |
4892 * keyboard.c (Ftop_level): Cancel busy-cursor. | |
4893 | |
4894 * eval.c (call_debugger): Cancel busy-cursor. | |
4895 | |
28385 | 4896 2000-03-29 Kenichi Handa <handa@etl.go.jp> |
4897 | |
4898 * search.c (Freplace_match): Adjust multibyteness of the current | |
28386 | 4899 buffer and NEWTEXT. Free allocated memory before signaling an |
4900 error. | |
28385 | 4901 |
28381
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
4902 2000-03-28 Stefan Monnier <monnier@cs.yale.edu> |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
4903 |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
4904 * 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
|
4905 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
|
4906 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
|
4907 string or not. |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
4908 (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
|
4909 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
|
4910 for non-greedy repetition). |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
4911 (re_compile_fastmap): Delegate the actual work to `analyse_first'. |
0a4fcbb850de
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28379
diff
changeset
|
4912 |
28375 | 4913 2000-03-28 Dave Love <fx@gnu.org> |
4914 | |
28379 | 4915 * s/gnu-linux.h (GC_SETJMP_WORKS): Define for i386, sparc, m68k, |
4916 alpha. | |
4917 | |
28375 | 4918 * alloc.c: Include stdio.h. Test STDC_HEADERS, not __STDC__. |
4919 | |
28373
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
4920 2000-03-27 Stefan Monnier <monnier@cs.yale.edu> |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
4921 |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
4922 * 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
|
4923 an expression. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
4924 (enum re_opcode_t): Update description of succeed_n. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
4925 (PATFETCH): Always define. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
4926 (regex_compile): Use lookahead rather than PATUNFETCH (for repetition |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
4927 operators, char classes, shy-groups and intervals). |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
4928 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
|
4929 jump_n when really needed. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
4930 (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
|
4931 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
|
4932 Simplify on_failure_jump handling as well. |
4f656f055122
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28371
diff
changeset
|
4933 |
28371 | 4934 2000-03-28 Jason Rumney <jasonr@gnu.org> |
4935 | |
4936 * lread.c (Fload): Move safe_p definition to above #ifdef DOS_NT. | |
4937 | |
28348 | 4938 2000-03-27 Gerd Moellmann <gerd@gnu.org> |
4939 | |
28366 | 4940 * s/freebsd.h (GC_SETJMP_WORKS): Define. |
4941 | |
4942 * s/msdos.h (GC_SETJMP_WORKS): Define. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4943 |
28366 | 4944 * alloc.c (mark_maybe_object): New function. |
4945 (mark_memory): Use it. | |
4946 (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK): New macros. | |
4947 (setjmp_tested_p, longjmp_done): New variables. | |
4948 (test_setjmp): New function. | |
4949 (mark_stack) [!GC_SETJMP_WORKS]: Call test_setjmp. | |
4950 (init_alloc): Initialize setjmp_tested_p and longjmp_done. | |
4951 | |
28363 | 4952 * xdisp.c (face_before_or_after_it_pos): Pass multibyteness |
4953 to DEC_TEXT_POS and INC_TEXT_POS. | |
4954 | |
4955 * dispnew.c (direct_output_for_insert): Use DEC_TEXT_POS | |
4956 with parameter MULTIBYTE_P. | |
4957 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
4958 * dispextern.h (INC_TEXT_POS, DEC_TEXT_POS): Add parameter |
28363 | 4959 MULTIBYTE_P. |
4960 | |
28359 | 4961 * editfns.c (Fsubst_char_in_region): Don't use INC_POS in unibyte |
28366 | 4962 buffers because it looks for multibyte character byte sequences |
4963 which don't exist in unibyte text. | |
28359 | 4964 |
28357 | 4965 * xterm.h (x_specified_cursor_type, x_copy_color): Add prototypes. |
4966 | |
28368 | 4967 * xfaces.c (register_color, unregister_color, unregister_colors) |
28357 | 4968 [DEBUG_X_COLORS]: New functions. |
4969 (x_free_colors) [DEBUG_X_COLORS]: Unregister colors. | |
4970 | |
4971 * xfns.c (x_set_cursor_color): Get color reference counts right. | |
4972 | |
4973 * xterm.c (x_copy_color): New function. | |
4974 (x_alloc_nearest_color) [DEBUG_X_COLORS]: Call register_color. | |
4975 | |
4976 * buffer.h (MAX_PER_BUFFER_VARS): Renamed from MAX_BUFFER_LOCAL_VARS. | |
4977 (PER_BUFFER_VAR_OFFSET): Renamed from BUFFER_LOCAL_VAR_OFFSET. | |
4978 (PER_BUFFER_VAR_IDX): Renamed from BUFFER_LOCAL_VAR_IDX. | |
4979 (PER_BUFFER_VALUE_P): Renamed from BUFFER_HAS_LOCAL_VALUE_P. | |
4980 (SET_PER_BUFFER_VALUE_P): Renamed from SET_BUFFER_HAS_LOCAL_VALUE_P. | |
4981 (PER_BUFFER_IDX): Renamed from BUFFER_LOCAL_IDX. | |
4982 (PER_BUFFER_DEFAULT): Renamed from BUFFER_LOCAL_DEFAULT_VALUE. | |
4983 (PER_BUFFER_VALUE): Renamed from BUFFER_LOCAL_VALUE. | |
4984 (PER_BUFFER_SYMBOL): Renamed from BUFFER_LOCAL_SYMBOL. | |
4985 (PER_BUFFER_TYPE): Renamed from BUFFER_LOCAL_TYPE. | |
4986 | |
28368 | 4987 * category.c, data.c, syntax.c, print.c, lread.c: Use new macro |
4988 names for handling per-buffer variables. | |
28357 | 4989 |
4990 * buffer.c (buffer_permanent_local_flags): Use MAX_PER_BUFFER_VARS | |
4991 instead of MAX_BUFFER_LOCAL_VARS. | |
4992 (last_per_buffer_idx): Renamed from max_buffer_local_idx. | |
4993 | |
4994 * xfaces.c (lookup_face): Don't assert FACE_SUITABLE_FOR_CHAR_P. | |
4995 | |
28348 | 4996 * xfns.c (x_specified_cursor_type): New function. |
4997 (x_set_cursor_type): Use it. | |
4998 | |
4999 * buffer.h (struct buffer): Add cursor_type. | |
5000 | |
28346
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5001 2000-03-26 Stefan Monnier <monnier@cs.yale.edu> |
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5002 |
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5003 * 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
|
5004 (print_partial_compiled_pattern, re_compile_fastmap): Handle new |
28348 | 5005 opcode. |
28346
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5006 (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
|
5007 (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
|
5008 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
|
5009 loops in non-greedy repetition operators. |
9ef17fa48577
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28335
diff
changeset
|
5010 |
28320 | 5011 2000-03-26 Gerd Moellmann <gerd@gnu.org> |
5012 | |
28335 | 5013 * doc.c (Qfunction_documentation): New variable. |
5014 (syms_of_doc): Initialize Qfunction_documentation. | |
5015 (Fdocumentation): If FUNCTION is a symbol with non-nil | |
5016 `function-documentation' property, return a documentation derived | |
5017 from that. | |
5018 | |
28333 | 5019 * buffer.c (syms_of_buffer): Add default-cursor-type. |
5020 (init_buffer_once): Don't let cursor_type have a local value | |
5021 in every buffer. | |
5022 | |
28323 | 5023 * xterm.c (x_display_and_set_cursor): Choose cursor depending |
5024 on buffer-local value of cursor_type. | |
5025 (x_draw_bar_cursor): Add parameter WIDTH. | |
5026 | |
5027 * buffer.c (reset_buffer): Initialize buffer's cursor_type. | |
5028 (init_buffer_once): Set default cursor_type value to t. | |
5029 Mark cursor_type as local everywhere. | |
5030 (syms_of_buffer): New per-buffer variable cursor-type. | |
5031 | |
28320 | 5032 * buffer.h (struct buffer): Remove member local_var_flags, |
5033 add local_flags. | |
5034 (MAX_BUFFER_LOCAL_VARS): New macro. | |
5035 (BUFFER_LOCAL_VAR_OFFSET, BUFFER_LOCAL_VAR_IDX) | |
5036 (BUFFER_HAS_LOCAL_VALUE_P, SET_BUFFER_HAS_LOCAL_VALUE_P) | |
5037 (BUFFER_LOCAL_IDX, BUFFER_LOCAL_DEFAULT_VALUE, BUFFER_LOCAL_VALUE) | |
5038 (BUFFER_LOCAL_SYMBOL, BUFFER_LOCAL_TYPE): New macros. | |
5039 | |
5040 * print.c (print_object): Use new macros for per-buffer | |
5041 variables. | |
5042 | |
5043 * category.c (Fset_category_table): Use new macros for per-buffer | |
5044 variables. | |
5045 | |
5046 * buffer.c (buffer_permanent_local_flags): Make a char array. | |
5047 (max_buffer_local_idx): New variable. | |
5048 (reset_buffer_local_variables, Fbuffer_local_variables): Rewritten | |
5049 for new handling of per-buffer variables. | |
5050 (buffer_slot_type_mismatch): Use new macros for per-buffer vars. | |
5051 (init_buffer_once): Initialize per-buffer vars differently. | |
5052 Set max_buffer_local_idx. | |
5053 | |
5054 * syntax.c (Fset_syntax_table): Use new macros for per-buffer | |
5055 variables. | |
5056 | |
5057 * lread.c (defvar_per_buffer): Use new macros for per-buffer | |
5058 variables. | |
5059 | |
5060 * data.c (do_symval_forwarding, store_symval_forwarding) | |
5061 (find_symbol_value, set_internal, default_value, Fset_default) | |
5062 (Fkill_local_variable, Flocal_variable_p): Use new macros for | |
5063 per-buffer variables. | |
5064 | |
5065 * Makefile.in (bootstrap-emacs): Use `mv -f' instead of `mv'. | |
5066 | |
28303 | 5067 2000-03-24 Gerd Moellmann <gerd@gnu.org> |
5068 | |
28308 | 5069 * xterm.c (x_term_init): Unblock input around call1 of |
5070 Qvendor_specific_keysyms. | |
5071 | |
28303 | 5072 * syntax.c (open_paren_in_column_0_is_defun_start): New variable. |
5073 (find_defun_start): Consider an open parenthesis in column 0 | |
5074 a defun start only if open_paren_in_column_0_is_defun_start is set. | |
5075 (syms_of_syntax): New variable open-paren-in-column-0-is-defun-start. | |
5076 | |
28298
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
5077 2000-03-24 Stefan Monnier <monnier@cs.yale.edu> |
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
5078 |
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
5079 * 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
|
5080 * lread.c (load-history): Update docstring. |
4ec88f0050a1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28294
diff
changeset
|
5081 |
28294 | 5082 2000-03-24 Gerd Moellmann <gerd@gnu.org> |
5083 | |
5084 * indent.c (Fvertical_motion): Always use the current buffer. | |
5085 Temporarily change the window's buffer, if necessary. | |
5086 | |
28283 | 5087 2000-03-23 Gerd Moellmann <gerd@gnu.org> |
5088 | |
5089 * xterm.c (fast_find_position): Make sure not to consider rows | |
5090 not visible in the window. | |
5091 | |
28280
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
5092 2000-03-22 Stefan Monnier <monnier@cs.yale.edu> |
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
5093 |
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
5094 * regex.c (enum syntaxcode): Provide default for non-Emacs. |
6f0261bc95b8
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28276
diff
changeset
|
5095 (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
|
5096 |
28276 | 5097 2000-03-22 Jason Rumney <jasonr@gnu.org> |
5098 | |
5099 * w32menu.c (single_submenu): Set help string to NULL if none. | |
5100 (w32_menu_show): Set help string correctly. | |
5101 (add-menu-item): Set help string in MIIM_DATA for menu item. | |
5102 Load SetMenuItemInfoA explicitly. | |
5103 (w32_menu_display_help): New function. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5104 |
28276 | 5105 * w32fns.c (w32_wnd_proc): Handle WM_MENUSELECT message. |
5106 (QCdata): Moved to xdisp.c. | |
5107 | |
5108 * w32term.c (w32_read_socket): Handle WM_MENUSELECT message. | |
5109 (Vw32_charset_to_codepage_alist): Removed. | |
5110 (Vw32_charset_info_alist): New variable. | |
5111 (Qw32_charset_[ansi, default, symbol, shiftjis, hangul, gb2312, | |
5112 chinesebig5, oem, easteurope, turkish, baltic, russian, arabic, | |
5113 greek, hebrew, thai, johab, mac, unicode]): New symbols. | |
5114 (x_produce_glyphs): Remove out of date #ifdef 0'd section. Replace | |
5115 with TODO comment. | |
5116 (w32_codepage_for_font): Use Vw32_charset_info_alist. | |
5117 (syms_of_w32term): Remove Vw32_charset_to_codepage_alist. | |
5118 Define Vw32_charset_info_alist and w32_charset symbols. | |
5119 | |
5120 2000-03-22 Jason Rumney <jasonr@gnu.org> | |
5121 | |
5122 * makefile.nt (w32bdf.obj): Update dependencies. | |
5123 | |
5124 * w32bdf.c: Include frame.h and dispextern.h before fontset.h. | |
5125 | |
5126 * w32fns.c: Include fontset.h after dispextern.h. | |
5127 (Fx_create_frame): Do not create fontset. | |
5128 (w32_load_system_font): Doc fix. | |
5129 (Fx_close_connection): Free full_name if it is not shared. | |
5130 | |
5131 * w32term.c: Include fontset.h after dispextern.h. | |
5132 (x_get_glyph_face_and_encoding): New parameter two_byte_p. Callers | |
5133 updated. | |
5134 (w32_per_char_metric): If PCM is invalid, delete and return NULL. | |
5135 (x_get_char_and_face_encoding): Use FACE_FOR_CHAR to get face_id. | |
5136 (w32_font_is_double_byte): New function, needs body. | |
5137 (x_append_glyph): Set glyph->glyph_not_available_p. | |
5138 (x_produce_glyphs): Set it->glyph_not_available_p. Don't set | |
5139 it->charset. If it->multibyte_p is zero and it->c is a multibyte | |
5140 character, convert it to a unibyte character. | |
5141 (struct glyph_string): Delete member `charset'. | |
5142 (W32_TEXTOUT): Temporarily remove charset_dim until another way of | |
5143 calculating it is found. | |
5144 (x_set_mouse_face_gc): Call FACE_FOR_CHAR to get face_id. Handle | |
5145 the case that per char metric is not available correctly. | |
5146 (x_fill_glyph_string): Handle the case that the specific glyph is | |
5147 not available correctly. | |
5148 (BUILD_CHAR_GLYPH_STRINGS): Don't set s->charset. | |
5149 (BUILD_COMPOSITE_GLYPH_STRING): Likewise. | |
5150 (x_new_font): Call FS_LOAD_FONT, not fs_load_font. | |
5151 (x_new_fontset): Call fontset_ascii to get ASCII font name of the | |
5152 fontset. Don't call FS_LOAD_FONT. | |
5153 | |
28269
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5154 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
|
5155 |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5156 * 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
|
5157 (INT_LISPLIKE): New macro. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5158 (NULL_INTERVAL_P): Use it. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5159 (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
|
5160 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
|
5161 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
|
5162 |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5163 * 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
|
5164 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
|
5165 associated unclean type conversions. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5166 * 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
|
5167 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
|
5168 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
|
5169 next_interval, previous_interval, update_interval, |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5170 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
|
5171 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
|
5172 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
|
5173 copy_intervals_to_string): Likewise. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5174 * 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
|
5175 Likewise. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5176 * syntax.c (update_syntax_table): Likewise. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5177 |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5178 * 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
|
5179 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
|
5180 with prototype. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5181 (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
|
5182 (reproduce_tree): Declare with prototype. |
fd13be8ae190
Changes towards better type safety regarding intervals, primarily
Ken Raeburn <raeburn@raeburn.org>
parents:
28267
diff
changeset
|
5183 (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
|
5184 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
|
5185 |
28267 | 5186 2000-03-22 Gerd Moellmann <gerd@gnu.org> |
5187 | |
5188 * xfaces.c (lface_same_font_attributes_p): Compare font attributes | |
5189 as strings only if both are known to be strings. | |
5190 | |
5191 * s/openbsd.h (LIBS_TERMCAP): Undef. | |
5192 | |
28262
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5193 2000-03-21 Stefan Monnier <monnier@cs.yale.edu> |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5194 |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5195 * regex.c (CHAR_CHARSET, CHARSET_LEADING_CODE_BASE): Add default |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5196 definitions for non-Emacs compilation. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5197 (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
|
5198 outside of `#ifdef emacs'. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5199 (print_partial_compiled_pattern): Update. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5200 (regex_compile): Use (not)syntaxspec(Sword) instead of (not)wordchar. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5201 (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
|
5202 emacs and non-emacs compilation as well). |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5203 Similarly for (not)categoryspec and (not)syntaxspec. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5204 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
|
5205 complexity is not justified. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5206 (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
|
5207 and (not)syntaxspec. Merge (not)categoryspec. |
5fafac497e27
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28255
diff
changeset
|
5208 |
28253 | 5209 2000-03-22 Kenichi Handa <handa@etl.go.jp> |
5210 | |
28255 | 5211 * dispextern.h [!HAVE_WINDOW_SYSTEM] (FACE_SUITABLE_FOR_CHAR_P, |
5212 FACE_FOR_CHAR): Define them differently for the configuration of | |
5213 --without-x. | |
28253 | 5214 |
28242 | 5215 2000-03-21 Dave Love <fx@gnu.org> |
5216 | |
5217 * fontset.c (Fset_fontset_font, Ffontset_font): Fix newlines in | |
5218 doc string. | |
5219 | |
28238 | 5220 2000-03-21 Gerd Moellmann <gerd@gnu.org> |
5221 | |
5222 * xfaces.c (check_lface_attrs) [GLYPH_DEBUG]: Fix syntax error. | |
5223 (lface_fully_specified_p): Don't check contents of | |
5224 LFACE_FONT_INDEX because that attribute is optional. | |
5225 (realize_x_face): Remove now unwarranted xassert. | |
5226 | |
28218 | 5227 2000-03-21 Kenichi HANDA <handa@etl.go.jp> |
5228 | |
28219 | 5229 The following changes are to make font selection based on |
5230 characters, not charset. In addition, they recover fontset | |
5231 facilities while utilizing the new font selection mechanism. | |
28218 | 5232 |
28233 | 5233 * Makefile.in (fontset.o): Depend on dispextern.h. |
5234 | |
5235 * alloc.c (mark_face_cache): Don't mark face->registry. | |
5236 | |
28218 | 5237 * dispextern.h (struct glyph): New member glyph_not_available_p. |
5238 Use 22 bits for face_id. | |
5239 (enum lface_attribute_index): Add LFACE_FONT_INDEX. | |
5240 (struct face): Delete member registry, new member ascii_face. | |
5241 (FACE_SUITABLE_FOR_CHAR_P): Renamed from | |
5242 FACE_SUITABLE_FOR_CHARSET_P. Caller changed. | |
5243 (FACE_FOR_CHAR): Renamed from FACE_FOR_CHARSET. Caller changed. | |
5244 (struct it): Delete member charset, new member | |
5245 glyph_not_available_p. | |
5246 | |
5247 * fontset.h (FONT_NOT_OPENED, FONT_NOT_FOUND): Macros removed. | |
5248 (struct fontset_info, struct fontset_data): Structs removed. | |
5249 (allloc_fontset_data, free_fontset_data, fs_regiser_fontset, | |
5250 Vglobale_fontset_alist, font_idx_temp): Externs removed. | |
5251 (fs_load_font, fs_query_fontset): Adjusted for new argument. | |
5252 (fs_free_face_fontset, fontset_font_pattern, | |
5253 face_suitable_for_char_p, face_for_char, | |
5254 make_fontset_for_ascii_face): Extern them. | |
5255 (FS_LOAD_FONT): Adjusted for the change of fontset implementation. | |
5256 (FS_LOAD_FACE_FONT): New macro. | |
5257 | |
5258 * fontset.c: All codes rewritten or adjusted for the change of | |
5259 fontset implementation. Now fontset is represented by char table. | |
5260 (Vglobal_fontset_alist, font_idx_temp, my_strcasetbl): Variables | |
5261 removed. | |
5262 (my_strcasecmp): Function removed. | |
5263 (Vfontset_table, next_fontset_id, Vdefault_fontset): New | |
5264 variables. | |
5265 (AREF, ASIZE): New macros. | |
5266 (FONTSET_FROM_ID, FONTSET_ID, FONTSET_NAME, FONTSET_FRAME, | |
5267 FONTSET_ASCII, FONTSET_BASE, BASE_FONTSET_P, FONTSET_REF, | |
5268 FONTSET_REF_VIA_BASE, FONTSET_SET): New macros. | |
5269 (fontset_ref, fontset_ref_via_base, fontset_set, make_fontset, | |
5270 fontset_id_valid_p, font_family_registry, fontset_name, | |
5271 fontset_ascii, free_face_fontset, face_suitable_for_char_p, | |
5272 face_for_char, make_fontset_for_ascii_face, fontset_font_pattern): | |
5273 New functions. | |
5274 (fs_load_font): New arg FACE. Caller changed. | |
5275 (fs_query_fontset): Argument changed. Caller changed. | |
5276 (Fquery_fontset): call fs_query_fontset. | |
5277 (fs_register_fontset, alloc_fontset_data, free_fontset_data): | |
5278 Functions removed. | |
5279 (clear_fontset_elements, check_registry_encoding, | |
5280 check_fontset_name): New functions. | |
5281 (syms_of_fontset): Set char-table-extra-slots property of fontset | |
5282 to 3. Staticpro and initialize Vfontset_table and | |
5283 Vdefault_fontset. Defsubr fontset_font and fontset_list. | |
5284 | |
5285 * frame.h (struct frame): Member `fontset_data' removed. | |
5286 (FRAME_FONTSET_DATA): Macro removed. | |
5287 | |
5288 * frame.c (make_frame): Don't allocate f->fontset_data. | |
5289 (Fdelete_frame): Don't free f->fontset_data. | |
5290 | |
28233 | 5291 * msdos.c (XMenuActivate): Args to lookup_derived_face changed. |
5292 | |
28218 | 5293 * xdisp.c (charset_at_position): Function removed. |
5294 (init_iterator): Don't set member charset of struct `it'. | |
5295 (handle_face_prop, reseat_to_string, set_iterator_to_next, | |
5296 next_element_from_display_vector, insert_left_trunc_glyphs): | |
5297 Likewise. | |
5298 (face_before_or_after_it_pos): Call FACE_FOR_CHAR, not | |
5299 FACE_FOR_CHARSET. | |
5300 (get_next_display_element, append_space, | |
5301 extend_face_to_end_of_line): Likewise. | |
5302 | |
5303 * xfaces.c (Qx_charset_registry, Vface_default_registry): | |
5304 Variables removed. | |
5305 (clear_font_table, frame_update_line_height, load_face_font): | |
5306 Adjusted for the change of fontset implementation. | |
5307 (load_face_fontset_font): Function removed. | |
5308 (pixel_point_size): New function. | |
5309 (font_list): Argument type changed. Caller changed. | |
5310 (LFACE_FONT): New macro. | |
5311 (check_lface_attrs): Check attr[LFACE_FONT_INDEX]. | |
5312 (set_lface_from_font_name): Type of arg FONTNAME is changed to | |
5313 Lisp_Object. Determine the font name by actually loading a font | |
5314 by the specified pattern. Set LFACE_FONT (lface) to the specified | |
5315 pattern. Even if a font is not found, don't try alternatives. | |
5316 (Finternal_set_lisp_face_attribute): Handle `font' slot in lface. | |
5317 (set_font_frame_param): If `font' is specified in lface, use it. | |
5318 (Finternal_get_lisp_face_attribute): Handle `font' slot in lface. | |
5319 (lface_same_font_attributes_p): Likewise. | |
5320 (make_realized_face): Arguent changed. Caller changed. Set | |
5321 face->ascii_face to face itself. | |
5322 (free_realized_face): Free face->fontset if face is for ASCII. | |
5323 (face_suitable_for_iso8859_1_p, face_suitable_for_charset_p, | |
5324 deduce_unibyte_registry, x_charset_registry): Functions removed. | |
5325 (free_realized_multibyte_face): New function. | |
5326 (lookup_face, lookup_named_face, lookup_derived_face): Argument | |
5327 changed. Caller changed. | |
5328 (try_font_list): Argument type changed. | |
5329 (face_fontset): Check `font' slot of ATTRS, not `family' slot. | |
5330 (choose_face_font): Argument changed. Handle fontset properly. | |
5331 (choose_face_fontset_font): Function removed. | |
5332 (realize_default_face, realize_named_face): Don't remove the | |
5333 former face here. | |
5334 (realize_face): Argument changed. Caller changed. Remove face | |
5335 with the arg former_face_id in advance. Load font for the new | |
5336 face. | |
5337 (realize_x_face): Argument changed. Caller changed. For a | |
5338 multibyte character, share fontset with base_face. For a single | |
5339 byte character, make a new realized fontset. Don't load a font | |
5340 here. | |
5341 (realize_tty_face): Argument changed. Caller changed. | |
5342 (compute_char_face): Call FACE_FOR_CHAR, not FACE_FOR_CHARSET. | |
5343 (face_at_buffer_position): Don't check multibyte_p for returning | |
5344 DEFAULT_FACE_ID. | |
5345 (face_at_string_position): Call FACE_SUITABLE_FOR_CHAR_P, not | |
5346 FACE_SUITABLE_FOR_CHARSET_P. | |
5347 (syms_of_xfaces): Remove code for Qx_charset_registry and | |
5348 Vface_default_registry. | |
5349 | |
28233 | 5350 * xterm.c: Include fontset.h after dispextern.h. Undo the changes |
5351 related to PER_CHAR_METRIC done by Gerd on 2000-03-03. | |
28218 | 5352 (x_per_char_metric): Don't try FONT->default_char. Even if |
5353 pcm->width is zero, glyph bits may exist. | |
5354 (x_encode_char): Always initialize char2b->byte1. | |
5355 (x_get_char_face_and_encoding): Call FACE_FOR_CHAR to get face_id. | |
5356 (x_get_glyph_face_and_encoding): New arg two_byte_p. Caller | |
5357 changed. | |
5358 (x_append_glyph): Set glyph->glyph_not_available_p. | |
5359 (x_produce_glyphs): Set it->glyph_not_available_p. Don't set | |
5360 it->charset. Handle the case that per char metric is not | |
5361 available. If it->multibyte_p is zero and it->c is a multibyte | |
5362 character, convert it to a unibyte character. | |
5363 (struct glyph_string): Delete member `charset'. | |
5364 (x_set_mouse_face_gc): Call FACE_FOR_CHAR to get face_id. Handle | |
5365 the case that per char metric is not available correctly. | |
5366 (x_fill_glyph_string): Handle the case that the specific glyph is | |
5367 not available correctly. | |
5368 (BUILD_CHAR_GLYPH_STRINGS): Don't set s->charset. | |
5369 (BUILD_COMPOSITE_GLYPH_STRING): Likewise. | |
5370 (x_new_font): Call FS_LOAD_FONT, not fs_load_font. | |
5371 (x_new_fontset): Call fontset_ascii to get ASCII font name of the | |
5372 fontset. Don't call FS_LOAD_FONT. | |
5373 | |
5374 * xfns.c (Fx_create_frame): Don't cal fs_register_fontset. | |
5375 (x_create_tip_frame): Likewise. | |
5376 (Fx_close_connection): Free full_name of font_info. | |
5377 | |
5378 * fns.c (optimize_sub_char_table): New function. | |
5379 (Foptimize_char_table): New function. | |
5380 (syms_of_fns): Defsubr Soptimize_char_table. | |
5381 | |
28209 | 5382 2000-03-20 Gerd Moellmann <gerd@gnu.org> |
5383 | |
5384 * buffer.c (Fset_buffer_modified_p): Set update_mode_lines | |
5385 only if buffer is displayed in some window. | |
5386 | |
5387 * xdisp.c (handle_single_display_prop): Initialize local `value'. | |
5388 (try_window_reusing_current_matrix): Don't call scroll run | |
5389 function if run's current and desired position are the same; | |
5390 this prevents cursor flickering. | |
5391 | |
28204
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5392 2000-03-19 Stefan Monnier <monnier@cs.yale.edu> |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5393 |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5394 * 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
|
5395 |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5396 * regex.c (RE_STRING_CHAR): New macro. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5397 (GET_CHAR_AFER_2): Remove. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5398 (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
|
5399 (enum re_opcode_t): Remove on_failure_jump_exclusive. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5400 (print_partial_compiled_pattern, re_compile_fastmap) |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5401 (re_match_2_internal): Remove on_failure_jump_exclusive. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5402 (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
|
5403 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
|
5404 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
|
5405 optimization. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5406 (re_search_2): Don't bother with `room'. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5407 (skip_one_char): New function. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5408 (skip_noops): Simplify since `memory' is not needed any more. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5409 (mutually_exclusive_p): Restructure slightly to use `switch' and |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5410 add handling for "all" remaining cases. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5411 (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
|
5412 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
|
5413 rather than on_failure_jump_exclusive. |
a71f5d1c6615
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28201
diff
changeset
|
5414 |
28201 | 5415 2000-03-19 Gerd Moellmann <gerd@gnu.org> |
5416 | |
5417 * xfns.c (select_visual): Don't set dpyinfo->n_planes to the | |
5418 number of bits per RGB because it's everywhere used as the depth | |
5419 of the visual. | |
5420 | |
5421 * term.c (calculate_costs): Remove code dealing with X frames. | |
5422 | |
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
5423 2000-03-19 Richard M. Stallman <rms@gnu.org> |
28197
aaa6448240eb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28194
diff
changeset
|
5424 |
aaa6448240eb
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
28194
diff
changeset
|
5425 * 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
|
5426 |
28194 | 5427 2000-03-18 Gerd Moellmann <gerd@gnu.org> |
5428 | |
5429 * lread.c (read_integer): Unread the last char not consumed. | |
5430 | |
28184 | 5431 2000-03-17 Gerd Moellmann <gerd@gnu.org> |
5432 | |
5433 * xterm.c (x_update_window_cursor): Don't update in frames | |
28194 | 5434 which are in the process of being deleted. |
28184 | 5435 |
28166 | 5436 2000-03-16 Gerd Moellmann <gerd@gnu.org> |
5437 | |
28176 | 5438 * Makefile.in (mostlyclean): Add `*.core'. |
5439 (clean): Add `bootstrap-emacs'. | |
5440 | |
28166 | 5441 * lread.c (read_integer): New function. |
5442 (read1): Support read syntax #o, #x, #b, #r. | |
5443 | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5444 2000-03-15 Stefan Monnier <monnier@cs.yale.edu> |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5445 |
28166 | 5446 * regex.c (re_match_2): Fix string shortening (to fit `stop') to |
5447 make sure POINTER_TO_OFFSET gives the same value before and after | |
5448 PREFETCH. Use `dfail' to guarantee "atomic" matching. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5449 (PTR_TO_OFFSET): Use POINTER_TO_OFFSET. |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5450 (debug): Now only active if > 0 rather than if != 0. |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5451 (DEBUG_*): Update for the new meaning of `debug'. |
28166 | 5452 (print_partial_compiled_pattern): Add missing `succeed' case. Use |
5453 CHARSET_* macros in the charset(_not) branch. Fix off-by-two bugs | |
5454 in `succeed_n', `jump_n' and `set_number_at'. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5455 (store_op1, store_op2, insert_op1, insert_op2) |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5456 (at_begline_loc_p, at_endline_loc_p): Add prototype. |
28166 | 5457 (group_in_compile_stack): Move to after its arg's types are |
5458 declared and add a prototype. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5459 (PATFETCH): Define in terms of PATFETCH_RAW. |
28166 | 5460 (GET_UNSIGNED_NUMBER): Add the usual `do { ... } while(0)' |
5461 wrapper. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5462 (QUIT): Redefine as a nop except for NTemacs. |
28166 | 5463 (regex_compile): Handle intervals {,M} as if it was {0,M}. Fix |
5464 indentation of the greedy-op and shy-group code. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5465 (at_(beg|end)line_loc_p): Fix argument's types. |
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5466 (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
|
5467 (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
|
5468 (MATCHING_IN_FIRST_STRING): Remove. |
28166 | 5469 (re_match_2): Use POS_AS_IN_BUFFER. Ifdef out failure_stack_ptr |
5470 to shut up gcc. Use FIRST_STRING_P and POINTER_TO_OFFSET. Use | |
5471 QUIT unconditionally. | |
28164
62db832482e1
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28159
diff
changeset
|
5472 |
28159 | 5473 2000-03-15 Gerd Moellmann <gerd@gnu.org> |
5474 | |
5475 * minibuf.c (Fminibuffer_complete): Set point to ZV if finding | |
5476 a sole completion. | |
5477 | |
5478 * process.c (send_process): Add a hint that the function | |
5479 can call Lisp code to its comment. | |
5480 | |
5481 * lread.c (load_dangerous_libraries): New variable. | |
5482 (Vbytecomp_version_regexp): New variable. | |
5483 (safe_to_load_p): New function. | |
5484 (Fload): Handle files not compiled with Emacs specially. | |
5485 (syms_of_lread): New Lisp variable load-dangerous-libraries. | |
5486 | |
28139 | 5487 2000-03-14 Gerd Moellmann <gerd@gnu.org> |
5488 | |
28147 | 5489 * lisp.h (free_frame_xic) [HAVE_X_I18N]: Add missing semicolon. |
5490 | |
5491 * xterm.c (xim_close_dpy, xim_initialize): Use X11R6-style XIM | |
5492 support functions only if HAVE_X11R6_XIM is defined. | |
5493 (xim_instantiate_callback): Define only if HAVE_X11R6_XIM. | |
5494 | |
5495 * s/sol2.h (INHIBIT_X11R6_XIM): Define. | |
5496 | |
5497 * xfns.c (X_I18N_INHIBITED): Don't define. | |
5498 (create_frame_xic): Remove conditional compilation on | |
5499 X_I18N_INHIBITED. | |
5500 (x_kill_gs_process, x_window): Use FRAME_X_VISUAL. | |
5501 | |
5502 * config.in (HAVE_X_I18N): Moved here from xterm.h. | |
5503 (HAVE_X11R6_XIM): Define. | |
5504 | |
5505 * xterm.h (HAVE_X_I18N) [HAVE_X11R6]: Moved to config.in. | |
5506 | |
28139 | 5507 * xterm.c (x_term_init): Add support for X resource `synchronous'. |
5508 If set, call XSynchronize. | |
5509 | |
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
|
5510 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
|
5511 |
28139 | 5512 * regex.c: Declare a new type `re_char' used throughout the code |
5513 for the string char type. It's `const unsigned char' to match the | |
5514 rest of Emacs. Consistently make sure all pointers to strings use | |
5515 it and make sure all pointers into the pattern use `unsigned | |
5516 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
|
5517 (re_match_2_internal): Use `PREFETCH+STRING_CHAR' instead of |
28139 | 5518 GET_CHAR_AFTER_2. Also merge wordbound and notwordbound to reduce |
5519 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
|
5520 |
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
|
5521 * 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
|
5522 (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
|
5523 |
28133
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
5524 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
|
5525 |
afb4e92f898d
* Makefile.in (temacs): Evaluate ALL_LDFLAGS into a temporary variable before
Ken Raeburn <raeburn@raeburn.org>
parents:
28122
diff
changeset
|
5526 * 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
|
5527 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
|
5528 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
|
5529 |
28122 | 5530 2000-03-12 Dave Love <fx@gnu.org> |
5531 | |
5532 * unexelf.c: Restore changes of 1999-10-19. | |
5533 (unexec): Don't adjust bss for sbss type SHT_PROGBITS; otherwise | |
5534 fix its type and alignment; copy it from current process. | |
5535 | |
28098 | 5536 2000-03-12 Gerd Moellmann <gerd@gnu.org> |
5537 | |
28120 | 5538 * atimer.c (cancel_atimer): Break out of the loop as soon as timer |
5539 has been found. Fix bug not computing timer's predecessor. | |
5540 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5541 * fileio.c (Fread_file_name): Handle case that DIR contains a |
28118 | 5542 file name. |
5543 | |
28109 | 5544 * window.c (Fsave_window_excursion): Doc fix. |
5545 | |
28098 | 5546 * xfns.c (x_defined_color): Rewritten to use |
5547 x_allocate_nearest_color. | |
5548 | |
28095 | 5549 2000-03-12 Eli Zaretskii <eliz@is.elta.co.il> |
5550 | |
5551 * msdos.c (vga_installed): New function, code moved from | |
5552 dos_set_window_size. | |
5553 (Qbar, Qcursor_type, outside_cursor): New variables. | |
5554 (syms_of_msdos): Intern and staticpro them. | |
5555 (dos_ttraw) [__DJGPP__ >= 2, !HAVE_X_WINDOWS]: Save the cursor | |
5556 shape used outside Emacs when called for the first time. | |
5557 (dos_ttcooked) [__DJGPP__ >= 2, !HAVE_X_WINDOWS]: Restore the | |
5558 cursor shape used outside Emacs. | |
5559 (msdos_set_cursor_shape, IT_set_cursor_type): New functions. | |
5560 (IT_frame_up_to_date): Call IT_set_cursor_type, in case the cursor | |
5561 type has changed. | |
5562 (IT_set_frame_parameters): Call IT_set_cursor_type if the frame | |
5563 parameters specify the cursor. Make qreverse a global | |
5564 variable (renamed to Qreverse). | |
5565 | |
28073 | 5566 2000-03-09 Gerd Moellmann <gerd@gnu.org> |
5567 | |
5568 * fns.c (Fy_or_n_p): Cancel busy-cursor. | |
5569 | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5570 2000-03-08 Stefan Monnier <monnier@cs.yale.edu> |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5571 |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5572 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
|
5573 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
|
5574 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
|
5575 shy and the code is a little simpler. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5576 |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5577 * regex.h: Update the copyright. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5578 (RE_SHY_GROUPS): New value. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5579 (RE_UNMATCHED_RIGHT_PAREN_ORD): Renumber. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5580 (RE_SYNTAX_EMACS): Add RE_SHY_GROUPS. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5581 |
28073 | 5582 * regex.c (enum re_opcode_t): Remove jump_past_alt, |
5583 maybe_pop_jump, push_dummy_failure and dumy_failure_jump. Add | |
5584 on_failure_jump_(exclusive, loop and smart). Also fix the comment | |
5585 for (start|stop)_memory since they now only take one argument (the | |
5586 second has becomes unnecessary). | |
5587 (print_partial_compiled_pattern): Adjust for changes in | |
5588 re_opcode_t. | |
5589 (print_compiled_pattern): Use %ld to printf long ints and flush to | |
5590 make debugging a little easier. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5591 (union fail_stack_elt): Make the integer unsigned. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5592 (struct fail_stack_type): Add a `frame' element. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5593 (INIT_FAIL_STACK): Init `frame' as well. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5594 (POP_PATTERN_OP): New macro for re_compile_fastmap. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5595 (DEBUG_PUSH, DEBUG_POP): Remove. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5596 (NUM_REG_ITEMS): Remove. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5597 (NUM_NONREG_ITEMS): Adjust. |
28073 | 5598 (FAILURE_PAT, FAILURE_STR, NEXT_FAILURE_HANDLE) |
5599 (TOP_FAILURE_HANDLE): New macros for the cycle detection. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5600 (ENSURE_FAIL_STACK): New macro for PUSH_FAILURE_(REG|POINT). |
28073 | 5601 (PUSH_FAILURE_REG, POP_FAILURE_REG, CHECK_INFINITE_LOOP): New |
5602 macros. | |
5603 (PUSH_FAILURE_POINT): Don't push registers any more. The pattern | |
5604 address pushed is not the destination of the jump but the source | |
5605 of it instead. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5606 (NUM_FAILURE_ITEMS): Remove. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5607 (POP_FAILURE_POINT): Adapt to the new stack structure (i.e. pop |
28073 | 5608 registers before the actual failure point). Don't hardcode any |
5609 meaning for str==NULL anymore. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5610 (union register_info_type, REG_MATCH_NULL_STRING_P, IS_ACTIVE) |
28073 | 5611 (MATCHED_SOMETHING, EVER_MATCHED_SOMETHING, SET_REGS_MATCHED): |
5612 Remove. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5613 (REG_UNSET_VALUE): Use NULL (why not?). |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5614 (compile_range): Remove declaration since it doesn't exist. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5615 (struct compile_stack_elt_t): Remove inner_group_offset. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5616 (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
|
5617 (regex_grow_registers): Remove dead code. |
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5618 (FIXUP_ALT_JUMP): New macro. |
28073 | 5619 (regex_compile): Add shy-groups Change loops to use |
5620 on_failure_jump_smart&jump instead of | |
5621 on_failure_jump&maybe_pop_jump. Change + loops to eliminate the | |
5622 initial (dummy_failure_)jump. Remove c1_base (looks like unused | |
5623 variable to me). Use `jump' instead of `jump_past_alt' and don't | |
5624 bother with push_dummy_failure in alternatives since it is now | |
5625 unnecessary. Use FIXUP_ALT_JUMP. Eliminate a useless `#ifdef | |
5626 emacs' for (re)allocating the stack. | |
5627 (re_compile_fastmap): Remove dead variables i and num_regs. Exit | |
5628 from loop when bufp->can_be_null rather than jumping to `done'. | |
5629 Avoid jumping backwards so as to ensure termination. Use | |
5630 PATTERN_STACK_EMPTY and POP_PATTERN_OP. Improved handling of | |
5631 backreferences. Remove dead code in handling of `anychar'. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5632 (skip_noops, mutually_exclusive_p): New functions taken from the |
28073 | 5633 handling of `maybe_pop_jump' in re_match_2_internal. Slightly |
5634 improve mutually_exclusive_p to handle ".+\n". | |
5635 (lowest_active_reg, highest_active_reg, | |
5636 NO_(LOWEST|HIGHEST)_ACTIVE_REG) Remove. | |
5637 (re_match_2_internal): Use %p instead of 0x%x when printf'ing | |
5638 ptrs. Don't SET_REGS_MATCHED anymore. Remove many dead | |
5639 variables. Push register (in `start_memory') on the stack rather | |
5640 than storing it in old_reg(start|end). Remove the cycle detection | |
5641 from `stop_memory', replaced by the use of on_failure_jump_loop | |
5642 for greedy loops. Add code for the new on_failure_jump_<foo>. | |
5643 Remove ad-hoc code in `on_failure_jump' to push more registers in | |
5644 the case of a loop. Take out code from `maybe_pop_jump' into | |
5645 separate functions and adapt it to the semantics of | |
5646 `on_failure_jump_smart'. Remove jump_past_alt, dummy_failure_jump | |
5647 and push_dummy_failure. Remove dummy_failure handling and | |
5648 handling of `failures to jump to on_failure_jump' (this last one | |
5649 was already dead code, it seems). | |
5650 (group_match_null_string_p, alt_match_null_string_p) | |
5651 (common_op_match_null_string_p): Remove. | |
28063
f1b33463506d
*** empty log message ***
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
28060
diff
changeset
|
5652 |
28059 | 5653 2000-03-08 Dave Love <fx@gnu.org> |
5654 | |
28060 | 5655 * config.in: Don't depend on __STDC__ for volatile. |
5656 Add POINTER_TYPE, PTR, PROTOTYPES. | |
5657 | |
28059 | 5658 * hftctl.c, strftime.c: Use PROTOTYPES. |
5659 * eval.c (find_handler_clause): Likewise. | |
5660 | |
5661 * mem-limits.h: Use POINTER_TYPE. | |
5662 | |
5663 * lisp.h (P_): Define based on PROTOTYPES, not __STDC__. | |
5664 (memory_warnings): Declare using POINTER_TYPE. | |
5665 | |
28046 | 5666 2000-03-08 Gerd Moellmann <gerd@gnu.org> |
5667 | |
28051 | 5668 * xfns.c (x_set_cursor_type): If ARG is nil, give frame no cursor. |
5669 | |
28048 | 5670 * xdisp.c (display_echo_area): Temporarily inhibit garbage |
5671 collection. | |
5672 | |
28046 | 5673 * xfns.c: Remove obsolete code in #if 0. |
5674 (Fx_focus_frame): New function. | |
5675 | |
28137 | 5676 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp> |
5677 | |
5678 * coding.c (coding_category_name): Add coding-category-utf-8, | |
5679 coding-category-utf-16-be, coding-category-utf-16-le. | |
5680 (UTF_8_1_OCTET_P, UTF_8_EXTRA_OCTET_P, UTF_8_2_OCTET_LEADING_P, | |
5681 UTF_8_3_OCTET_LEADING_P, UTF_8_4_OCTET_LEADING_P, | |
5682 UTF_8_5_OCTET_LEADING_P, UTF_8_6_OCTET_LEADING_P): New macros. | |
5683 (detect_coding_utf_8): New function. | |
5684 (UTF_16_INVALID_P, UTF_16_HIGH_SURROGATE_P | |
5685 UTF_16_LOW_SURROGATE_P): New macros. | |
5686 (detect_coding_utf_16): New function | |
5687 (detect_coding_mask): When priorities are specified, skip any | |
5688 categories that have `nil' coding-system. Fix bug of returning | |
5689 wrong mask when PRIORITIES is specified and detect_coding_XXX() | |
5690 returns a mask not set in PRIORITIES. | |
5691 (detect_eol_type_in_2_octet_form): New function. | |
5692 (detect_eol): selects detect_eol_type_XXX to call according to | |
5693 cooding->category_idx. | |
5694 (detect_coding_system): Remove `nil' coding-system in the result. | |
5695 (Fupdate_coding_systems_internal): Update all coding-categories. | |
5696 | |
5697 * coding.h (CODING_CATEGORY_IDX_UTF_8, | |
5698 CODING_CATEGORY_IDX_UTF_16_BE, CODING_CATEGORY_IDX_UTF_16_LE): New | |
5699 macros. | |
5700 (CODING_CATEGORY_IDX_RAW_TEXT, CODING_CATEGORY_IDX_BINARY, | |
5701 CODING_CATEGORY_IDX_MAX): Adjusted for the above macros. | |
5702 CODING_CATEGORY_IDX_UTF_16_LE. | |
5703 (CODING_CATEGORY_MASK_UTF_8, CODING_CATEGORY_MASK_UTF_16_BE, | |
5704 CODING_CATEGORY_MASK_UTF_16_LE): New macros. | |
5705 (CODING_CATEGORY_MASK_ANY): Include the above macros. | |
5706 (CODING_CATEGORY_MASK_UTF_16_BE_LE): New macro. | |
5707 | |
28026 | 5708 2000-03-07 Gerd Moellmann <gerd@gnu.org> |
5709 | |
28037 | 5710 * doc.c (Fdocumentation_property): If value is not a string, |
5711 and doesn't refer to etc/DOC, evaluate it to obtain a string. | |
5712 | |
28035 | 5713 * xterm.c (x_connection_closed) [USE_X_TOOLKIT]: Don't try to |
5714 close the display with XtCloseDisplay. This caused a bus error | |
5715 on OpenWindows. | |
5716 | |
28027 | 5717 * minibuf.c (Fminibuffer_complete): Move point to ZV when input is |
5718 complete but not unique. | |
28026 | 5719 |
28011 | 5720 2000-03-06 Gerd Moellmann <gerd@gnu.org> |
5721 | |
28014 | 5722 * process.c (send_process): Remove local variable `procname' that |
5723 might become invalid when a GC happens. Instead, access the | |
5724 process name slot directly. | |
5725 | |
28011 | 5726 * xfns.c (x_set_menu_bar_lines_1): Adjust window's orig_top and |
5727 orig_height if set. | |
5728 | |
5729 * frame.c (set_menu_bar_lines_1): Adjust window's orig_top and | |
5730 orig_height if set. | |
5731 | |
28009 | 5732 2000-03-06 Eli Zaretskii <eliz@is.elta.co.il> |
5733 | |
5734 * msdos.c (IT_note_mouse_highlight): Return immediately if frame's | |
5735 glyph matrices have been freed. | |
5736 | |
27995 | 5737 2000-03-05 Gerd Moellmann <gerd@gnu.org> |
5738 | |
28005 | 5739 * Makefile.in (tags): Include ../lwlib/TAGS in TAGS. |
28007 | 5740 (bootstrap-temacs): Set LC_ALL to C like for temacs. |
28005 | 5741 |
5742 * xfns.c (QCdata): Moved to xdisp.c. | |
5743 | |
5744 * xdisp.c (QCdata): Moved here from xfns.c. | |
5745 (syms_of_xdisp): Initialize QCdata. | |
5746 | |
5747 * frame.h (FRAME_INTERNAL_BORDER_WIDTH) [!HAVE_X_WINDOWS]: Define. | |
5748 | |
5749 * window.c (coordinates_in_window): Use | |
5750 FRAME_INTERNAL_BORDER_WIDTH_SAFE instead of | |
5751 FRAME_INTERNAL_BORDER_WIDTH. | |
5752 | |
27995 | 5753 * xdisp.c (try_window_id): Recompute unchanged information if |
28011 | 5754 it is obviously invalid. |
27995 | 5755 |
5756 * xterm.c (x_term_init): Create a colormap if not using the | |
5757 default visual. | |
5758 | |
5759 * xterm.h (select_visual): Change prototype. | |
5760 | |
5761 * xfns.c (select_visual): Rewritten. Recognize user-specified | |
5762 visual classes. | |
5763 (visual_classes): New variable. | |
5764 | |
27989 | 5765 2000-03-04 Gerd Moellmann <gerd@gnu.org> |
5766 | |
5767 * xfns.c (x_defined_color, x_set_mouse_color, lookup_rgb_color) | |
5768 (lookup_pixel_color, x_laplace, x_build_heuristic_mask) | |
5769 (png_load): Access colormap of frame using FRAME_X_COLORMAP. | |
5770 (x_decode_color): Don't handle allocation of white and black | |
5771 specially. | |
5772 (x_window) [USE_X_TOOLKIT]: Set XtNvisual, XtNdepth, and | |
5773 XtNcolormap resources. | |
5774 (x_window) [!USE_X_TOOLKIT]: Pass colormap to XCreateWindow. | |
5775 (Fx_create_frame): Initialize color members of x_output structure. | |
5776 (xpm_load): Pass colormap to XPM lib. | |
5777 | |
5778 * xfaces.c (x_free_colors): Access colormap of frame using | |
5779 FRAME_X_COLORMAP. Be paranoid about freeing black and white | |
5780 when default colormap is used. | |
5781 | |
5782 * xterm.c (x_term_init): Set Colormap member of x_display_info | |
5783 structure. Copy colormap if resource `privateColormap' is | |
5784 specified (PseudoColor only). | |
5785 (x_setup_relief_color): Access colormap of frame using | |
5786 FRAME_X_COLORMAP. | |
5787 | |
5788 * xterm.h (struct x_display_info): Add Colormap member `cmap'. | |
5789 (FRAME_X_COLORMAP, FRAME_X_VISUAL): New macros. | |
5790 | |
27983 | 5791 2000-03-04 Jason Rumney <jasonr@gnu.org> |
5792 | |
5793 * xfaces.c Change many FRAME_X... macros to FRAME_WINDOW... or | |
5794 other non-platform-specific equivalents. | |
27989 | 5795 [WINDOWSNT]: Include w32term.h, fontset.h and define X |
27983 | 5796 specific functions and macros as their w32 equivalents where |
5797 non-platform-specifics are not available. | |
5798 [HAVE_X_WINDOWS]: Change most of these to HAVE_WINDOW_SYSTEM. | |
5799 (x_create_gc, x_free_gc) [WINDOWSNT]: Add W32 versions. | |
5800 (clear_font_table) [WINDOWSNT]: Call w32_unload_font. | |
5801 (frame_update_line_height): Use macros to access f->output_data. | |
5802 (defined_color): Remove FIXME comments; fixed. | |
5803 (x_face_list_fonts, prepare_face_for_display): Put X specifics | |
5804 into #ifdef blocks. Add WINDOWSNT blocks. | |
5805 (Fx_list_fonts): Use macros for accessing font data. | |
5806 (set_lface_from_font_name): Different default fonts for X and | |
5807 WINDOWSNT. | |
5808 (font_scalable_p) [WINDOWSNT]: Treat wildcard XLFD_AVGWIDTH as | |
5809 scalable for backward compatibility. | |
27989 | 5810 (realize_tty_face) [MSDOS]: Do the same for WINDOWSNT. |
27983 | 5811 (syms_of_xfaces) [WINDOWSNT]: Allow scalable fonts by default. |
5812 | |
27989 | 5813 * emacs.c (main) [HAVE_NTGUI]: Call syms_of_xfaces instead of |
27983 | 5814 syms_of_w32faces. |
5815 | |
5816 * makefile.nt (w32faces.obj): Remove. | |
5817 (xfaces.obj): Add. | |
5818 | |
27978 | 5819 2000-03-03 Jason Rumney <jasonr@gnu.org> |
5820 | |
5821 * keyboard.c (make_lispy_event): Call buffer_posn_from_coords with | |
5822 correct parameters. | |
5823 | |
27977
026eb782382e
* unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
Ken Raeburn <raeburn@raeburn.org>
parents:
27976
diff
changeset
|
5824 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
|
5825 |
026eb782382e
* unexelf.c (PT_LOAD, SHT_*, SHN_*) [__NetBSD__]: Only provide
Ken Raeburn <raeburn@raeburn.org>
parents:
27976
diff
changeset
|
5826 * 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
|
5827 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
|
5828 |
27976 | 5829 2000-03-03 Gerd Moellmann <gerd@gnu.org> |
5830 | |
5831 * xterm.c (PER_CHAR_METRIC): Removed. | |
5832 (x_per_char_metric_1, x_default_char): New functions. | |
5833 (x_per_char_metric): If font's default char is invalid, return | |
5834 metrics of a suitably chosen usable default char. | |
5835 (x_draw_glyph_string_foreground): If font has an invalid default | |
27989 | 5836 char, replace occurrences of unprintable chars with a suitably |
5837 chosen usable default char. | |
27976 | 5838 |
27965 | 5839 2000-03-02 Gerd Moellmann <gerd@gnu.org> |
5840 | |
27969 | 5841 * xterm.c (note_mouse_highlight): Return quickly if frame's |
5842 glyph matrices have been freed. | |
5843 | |
5844 * dispnew.c (free_glyphs): Block input while freeing matrices. | |
5845 | |
27965 | 5846 * xfns.c (x_clear_image, x_kill_gs_process): Use x_free_colors. |
5847 | |
5848 * xterm.c (x_alloc_lighter_color, x_setup_relief_color): Use | |
5849 x_free_colors. | |
5850 | |
5851 * dispextern.h (x_free_colors): Add prototype. | |
5852 | |
5853 * xfaces.c (x_free_colors): New function. | |
5854 (unload_color, free_face_colors): Use it. | |
5855 | |
27958 | 5856 2000-03-02 Eli Zaretskii <eliz@is.elta.co.il> |
5857 | |
5858 * msdos.h (FRAME_INTERNAL_BORDER_WIDTH): Define to zero. | |
5859 | |
5860 * window.c [MSDOS]: Include msdos.h. | |
5861 | |
27954 | 5862 2000-03-02 Dave Love <fx@gnu.org> |
5863 | |
5864 * m/powerpcle.h, m/sparc.h: Don't set C_OPTIMIZE_SWITCH. | |
5865 | |
5866 * m/mips-siemens.h, m/news-r6.h, m/news-risc.h, m/tekxd88.h: Don't | |
5867 set C_OPTIMIZE_SWITCH for gcc. | |
5868 | |
27942 | 5869 2000-03-02 Kenichi Handa <handa@etl.go.jp> |
5870 | |
5871 * coding.c (coding_save_composition): Be sure to allocate | |
5872 composition data area in coding even if there's no composition in | |
5873 the current run. | |
5874 | |
27938 | 5875 2000-03-01 Jason Rumney <jasonr@gnu.org> |
5876 | |
5877 * w32term.c: Equivalent changes to those made to xterm.c on | |
5878 2000-02-25 and 2000-02-24. | |
5879 | |
5880 * w32fns.c: Equivalent changes to those made to xfns.c on | |
5881 2000-02-25 and 2000-02-21. | |
5882 | |
5883 * sysdep.c: [WINDOWSNT]: Use sys_read and sys_write to ensure | |
5884 correct line-end convention is followed. | |
5885 | |
5886 * w32menu.c [HAVE_BOXES]: Remove #undef. | |
5887 (single_keymap_panes): Remove code for simulating checkmarks. | |
5888 (single_menu_item): Remove notbuttons_ptr argument. Callers changed. | |
5889 Remove code for drawing simulated checkmarks. | |
5890 (w32_menu_show): make unibyte help string correctly. | |
5891 (add_menu_item): draw standard Windows checkmarks. Draw radio | |
5892 buttons as radio buttons if possible. | |
5893 | |
27919 | 5894 2000-03-01 Gerd Moellmann <gerd@gnu.org> |
5895 | |
27927 | 5896 * sysdep.c (start_of_text): Don't define this function for NetBSD |
5897 with ELF. | |
5898 | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
5899 * m/pmax.h (START_FILES, CANNOT_DUMP) [__NetBSD__ || __OpenBSD__]: |
27927 | 5900 Don't define. |
5901 (UNEXEC) [__NetBSD__ || __OpenBSD__]: Define to unexelf.o. | |
5902 (LINKER): Don't undef if __NetBSD__ is defined. | |
5903 | |
5904 * m/mips.h (LINKER) [__NetBSD__ || __OpenBSD__]: Don't define. | |
5905 | |
5906 * fileio.c [__NetBSD__]: Define `unix'. | |
5907 | |
27919 | 5908 * xfns.c (start_busy_cursor): Allow floats for busy-cursor-delay. |
5909 | |
27910 | 5910 2000-02-29 Gerd Moellmann <gerd@gnu.org> |
5911 | |
27914 | 5912 * atimer.c (start_atimer): Don't abort when timers are stopped. |
5913 (append_atimer_lists): New function. | |
5914 (cancel_atimer, stop_other_atimers, run_all_atimers): Handle | |
5915 arbitrary lists of stopped and running atimers. | |
5916 | |
27910 | 5917 * atimer.c (cancel_atimer): Handle canceling an atimer when |
5918 some timers are stopped. | |
5919 | |
5920 * xfns.c (cancel_busy_cursor): Set busy_cursor_atimer to null | |
5921 after canceling it. | |
5922 | |
5923 * fns.c (maybe_resize_hash_table): Handle case of new size | |
5924 coming out as being the same as old size. | |
5925 | |
27898 | 5926 2000-02-27 Jason Rumney <jasonr@gnu.org> |
5927 | |
5928 * makefile.nt: Add atimer.h to dependencies. | |
5929 * w32.c (init_environment): Set Vw32_num_mouse_buttons here. | |
5930 * w32console.c: Only disable window system features for dispextern.h | |
5931 (initialize_w32_display): Build a display info for the console. | |
5932 * w32faces.c (tty_defined_color): Apply xfaces.c change from 02-17. | |
5933 * w32fns.c (w32_wnd_proc) [WM_LBUTTON_DOWN, WM_RBUTTON_DOWN, | |
5934 WM_LBUTTON_UP, WM_RBUTTON_UP]: Do not treat 4 or more button mice | |
5935 as 2 button mice. | |
5936 * w32gui.h (struct W32FontStruct): Revert last change after change | |
5937 to xdisp.c. | |
5938 * w32menu.c (single_submenu): Set up help string. | |
5939 [!HAVE_MULTILINGUAL_MENU]: Don't overwrite item_name with descrip. | |
5940 (w32_dialog_show): Set up help string. | |
5941 * w32term.c (w32_display_info_for_display): Remove unused function. | |
5942 (w32_draw_bitmap): Use pre-built bitmaps. | |
5943 (w32_initialize_display_info): New function to initialize parts of | |
5944 display info that are common to both GUI and console frames. | |
5945 (w32_term_init): Use w32_initialize_display_info. Do not set | |
5946 Vw32_num_mouse_buttons here, as it is not called for console | |
5947 frames. Build bitmaps for indicating truncated lines etc. | |
5948 (x_delete_display): Destroy pre-built bitmaps. | |
5949 * xdisp.c (handle_single_display_prop): Use FONT_HEIGHT macro. | |
5950 (echo_area_display): Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM. | |
5951 | |
27886 | 5952 2000-02-27 Dave Love <fx@gnu.org> |
5953 | |
5954 * lisp.h: Add a bunch of prototypes. | |
5955 | |
27878 | 5956 2000-02-26 Kenichi Handa <handa@etl.go.jp> |
5957 | |
27879 | 5958 * keyboard.c (read_char): Set `usec' correctly. |
27878 | 5959 |
27876 | 5960 2000-02-25 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp> |
5961 | |
5962 * ccl.c (ccl_driver) [CCL_MapMultiple]: When the mapped value is | |
5963 `lambda', set reg[RRR] to the map index. | |
5964 (ccl_driver) [CCL_MapSingle]: When the mapped value is found, set | |
5965 reg[RRR] to 0. Otherwise, set it to -1. | |
5966 | |
27875 | 5967 2000-02-25 Gerd Moellmann <gerd@gnu.org> |
5968 | |
27927 | 5969 * emacs.c (main): Remove code snippet commented out with `//'. |
27875 | 5970 |
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
5971 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
|
5972 |
27873 | 5973 * fileio.c (Ffile_symlink_p): If result starts with a `/' |
5974 and contains a `:', prepend `/:'. | |
5975 | |
5976 * window.c (select_window_1): If selected_window is nil, | |
5977 don't "swap out" the buffer's point. | |
5978 (Fset_window_configuration): Set selected_window to nil | |
5979 before calling Fselect_window. | |
5980 (unshow_buffer): Don't set point in buffer from window's point | |
5981 if another more recently selected window also shows the buffer. | |
5982 | |
27849 | 5983 2000-02-25 Gerd Moellmann <gerd@gnu.org> |
5984 | |
27868 | 5985 * keyboard.c (recursive_edit_1): Cancel busy-cursor. |
5986 | |
27866 | 5987 * xfns.c (inhibit_busy_cursor, busy_count): Removed. |
5988 (Fx_show_busy_cursor, Fx_hide_busy_cursor): Removed. | |
5989 (busy_cursor_atimer, busy_cursor_shown_p, Vbusy_cursor_delay): New | |
5990 variables. | |
5991 (DEFAULT_BUSY_CURSOR_DELAY): New define. | |
5992 (start_busy_cursor, cancel_busy_cursor, show_busy_cursor) | |
5993 (hide_busy_cursor): New functions. | |
5994 (syms_of_xfns): DEFVAR_LISP Vbusy_cursor_delay. | |
5995 | |
5996 * minibuf.c (read_minibuf): Cancel busy-cursor. | |
5997 | |
5998 * keyboard.c (command_loop_1): Call start_busy_cursor before | |
5999 Fcommand_execute and cancel_busy_cursor after it. | |
6000 (timer_check): Remove busy-cursor code. | |
6001 (Fread_key_sequence, Fread_key_sequence_vector): Start/cancel busy | |
6002 cursor timer. | |
6003 | |
6004 * process.c (wait_reading_process_input): Remove busy-cursor code. | |
6005 | |
6006 * eval.c (Fsignal): Call cancel_busy_cursor instead of | |
6007 Fx_hide_busy_cursor. | |
6008 | |
6009 * dispextern.h (Fx_show_busy_cursor, Fx_hide_busy_cursor): | |
6010 Remove prototyoes. | |
6011 (start_busy_cursor, cancel_busy_cursor): Add prototypes. | |
6012 | |
6013 * lisp.h (Fx_hide_busy_cursor): Remove prototype. | |
6014 | |
6015 * xterm.c (XTread_socket): Remove busy-cursor code. | |
6016 | |
27856 | 6017 * dispnew.c (flush_stdout) [GLYPH_DEBUG]: New function. |
6018 (build_frame_matrix_from_leaf_window): Put code handling | |
6019 glyph row's not being a slice of a frame row in #if 0. | |
6020 (sync_window_with_frame_matrix_rows): New function. | |
6021 (frame_row_to_window): New function. | |
6022 (mirror_line_dance): Handle copies between windows. | |
6023 | |
27853 | 6024 * lread.c (Fload): Use `xfree' instead of `free'. |
6025 (init_obarray): Use `xmalloc' instead of `malloc'. | |
6026 | |
27849 | 6027 * window.c (Fset_window_buffer): Set WINDOW to the window |
6028 after decoding. | |
27851 | 6029 (coordinates_in_window): Take frame's internal border width |
6030 into account. | |
27849 | 6031 |
27847 | 6032 2000-02-24 Gerd Moellmann <gerd@gnu.org> |
6033 | |
6034 * xterm.c (x_display_and_set_cursor): Display cursor of | |
6035 non-selected windows depending on the setting of | |
6036 cursor_in_non_selected_windows. | |
6037 | |
6038 * xdisp.c (cursor_in_non_selected_windows): New variable. | |
6039 (syms_of_xdisp): DEFVAR_BOOL it. | |
6040 | |
27820 | 6041 2000-02-23 Gerd Moellmann <gerd@gnu.org> |
6042 | |
27827 | 6043 * data.c (Fstring_to_number): If number is greater than what |
6044 fits into an integer, return a float. | |
6045 | |
27820 | 6046 * eval.c (specbind): Remove references to |
6047 keyword_symbols_constant_flag. | |
6048 | |
6049 * data.c (keyword_symbols_constant_flag): Removed. | |
6050 (Fmakunbound, set_internal, syms_of_data): Remove references to | |
6051 keyword_symbols_constant_flag. | |
6052 | |
6053 * bytecode.c (Fbyte_code): Remove keyword_symbols_constant_flag. | |
6054 | |
27813 | 6055 2000-02-23 Kenichi Handa <handa@etl.go.jp> |
6056 | |
6057 * syntax.c (multibyte_syntax_as_symbol): New variable. | |
6058 (syms_of_syntax): Declare it as a Lisp variable. | |
6059 (SYNTAX_WITH_MULTIBYTE_CHECK): New macro. | |
6060 (scan_lists): If both sexpflag and multibyte_syntax_as_symbol are | |
6061 nonzero, treat all multibyte characters as symbol. | |
27847 | 6062 (init_syntax_once): Give syntax `word' to all multibyte |
27813 | 6063 characters. |
6064 | |
27801 | 6065 2000-02-22 Eli Zaretskii <eliz@is.elta.co.il> |
6066 | |
27853 | 6067 * 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
|
6068 a deleted frame. |
27801 | 6069 |
27799 | 6070 2000-02-21 Gerd Moellmann <gerd@gnu.org> |
6071 | |
6072 * frame.c (Fmouse_position): GCPRO retval instead of x and y. | |
6073 | |
6074 * xfns.c (x_window_to_frame, x_any_window_to_frame) | |
6075 (x_non_menubar_window_to_frame): Check the busy-cursor window. | |
6076 | |
27796 | 6077 2000-02-21 Dave Love <fx@gnu.org> |
6078 | |
6079 * frame.c (Vmouse_position_function): New variable. | |
6080 (Fmouse_position): Use it. | |
6081 (syms_of_frame): Install it. | |
6082 | |
6083 * charset.c (find_charset_in_str): Fix use of `c' instead of `c1'. | |
6084 | |
27790 | 6085 2000-02-20 Gerd Moellmann <gerd@gnu.org> |
6086 | |
6087 * fileio.c (Finsert_file_contents): Unbind the binding of | |
6088 standard-output done by temp_output_buffer_setup. | |
27785 | 6089 |
6090 * eval.c (funcall_lambda): Don't bind Qmocklisp_arguments unless | |
6091 Vmocklisp_arguments is nil. Inline Fcar and Fcdr. | |
6092 (specbind, unbind_to): Handle most common case of non-constant | |
6093 symbol with trivial value specially. | |
6094 | |
6095 * bytecode.c (Fbyte_code) <Bvarset>: Inline most common case. | |
6096 | |
30337
5861c80aa795
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
30329
diff
changeset
|
6097 2000-02-20 Richard M. Stallman <rms@gnu.org> |
27780
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6098 |
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6099 * data.c (Fmake_variable_buffer_local): Doc fix. |
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6100 Init found_for_buffer to 0. |
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6101 (Fmake_variable_frame_local): If the variable has already |
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6102 been buffer-local, set the check_frame field. |
72cae205b4f4
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27776
diff
changeset
|
6103 |
27776 | 6104 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il> |
6105 | |
6106 * msdos.c (IT_write_glyphs): Allocate a larger screen_buf as data | |
6107 produced for CODING_MODE_LAST_BLOCK requires. | |
6108 | |
27767 | 6109 2000-02-18 Dave Love <fx@gnu.org> |
6110 | |
6111 * keyboard.c (echo_keystrokes): Remove declaration. | |
6112 (Vecho_keystrokes) New variable. | |
6113 (read_char, record_menu_key, read_key_sequence): Use it to allow | |
6114 use of float value. | |
6115 (syms_of_keyboard): Change Vecho_keystrokes declaration. | |
6116 | |
6117 * lread.c: Undef feature selection macros before defining. | |
6118 | |
27759 | 6119 2000-02-18 Gerd Moellmann <gerd@gnu.org> |
6120 | |
6121 * data.c (let_shadows_buffer_binding_p): Ignore specbindings | |
6122 for symbols other than the symbol in question. | |
6123 | |
27751 | 6124 2000-02-17 Dave Love <fx@gnu.org> |
6125 | |
6126 * s/sol2.h (C_DEBUG_SWITCH): Define to allow optimization. | |
6127 | |
27747 | 6128 2000-02-17 Gerd Moellmann <gerd@gnu.org> |
6129 | |
27749 | 6130 * emacs.c (main): Use #if GC_MARK_STACK instead of #ifdef. |
6131 | |
27747 | 6132 * alloc.c (enum mem_type): Compile unconditionally. |
6133 | |
27744 | 6134 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il> |
6135 | |
6136 * xfaces.c (tty_defined_color): Don't return faulire indication | |
6137 for unspecified-fg and unspecified-bg pseudo-colors. | |
6138 | |
27726 | 6139 2000-02-17 Gerd Moellmann <gerd@gnu.org> |
6140 | |
27742 | 6141 * alloc.c (mark_object): Don't mark symbol names in pure space. |
6142 (gc_sweep): Don't unmark symbol names in pure space. | |
6143 | |
6144 * lisp.h (GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS) | |
6145 (GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES) | |
6146 [GC_MARK_STACK]: New defines. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6147 (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, UNGCPRO) |
27742 | 6148 [GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS]: Define as no-ops. |
6149 | |
6150 * emacs.c (main) [GC_MARK_STACK]: Initialize stack_base. | |
6151 | |
6152 * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Use | |
6153 allocate_buffer instead of xmalloc. | |
6154 | |
6155 * alloc.c (toplevel): Include setjmp.h. | |
6156 (PURE_POINTER_P): New define. | |
6157 (enum mem_type) [GC_MARK_STACK]: New enumeration. | |
6158 (Vdead) [GC_MARK_STACK]: New variable. | |
6159 (lisp_malloc): Add parameter TYPE, call mem_insert if | |
6160 GC_MARK_STACK is defined. | |
6161 (allocate_buffer): New function. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6162 (lisp_free) [GC_MARK_STACK]: Call mem_delete. |
27742 | 6163 (free_float) [GC_MARK_STACK]: Set type to Vdead. |
6164 (free_cons) [GC_MARK_STACK]: Set car to Vdead. | |
6165 (stack_base, mem_root, mem_z) [GC_MARK_STACK]: New variables. | |
6166 (MEM_NIL) [GC_MARK_STACK]: New define. | |
6167 (struct mem_node) [GC_MARK_STACK]: New structure. | |
6168 (mem_init, mem_find, mem_insert, mem_delete, mem_insert_fixup) | |
6169 (mem_delete_fixup, mem_rotate_left, mem_rotate_right) | |
6170 (live_string_p, live_cons_p, live_symbol_p, live_float_p) | |
6171 (live_misc_p, live_vector_p, live_buffer_p, mark_memory) | |
6172 (mark_stack) [GC_MARK_STACK]: New functions. | |
6173 (Fgarbage_collect) [GC_MARK_STACK]: Call mark_stack. | |
6174 (clear_marks): Removed. | |
6175 (gc_sweep): Set free conses' car, free floats' type, free | |
6176 symbols' function to Vdead. Use lisp_free to free buffers. | |
6177 (init_alloc_once): Initialize Vdead. | |
6178 (survives_gc_p): Return non-zero for pure objects. | |
6179 | |
6180 * alloc.c: Add comments throughout the file. | |
6181 | |
27735 | 6182 * atimer.c (stop_other_atimers): Don't call cancel_atimer because |
6183 that unblocks alarms. | |
6184 | |
27729 | 6185 * alloc.c, bytecode.c, data.c, dispnew.c, ecrt0.c, editfns.c, |
6186 emacs.c, floatfns.c, fns.c, lread.c, print.c, config.in, lisp.h, | |
6187 Makefile.in: Remove `LISP_FLOAT_TYPE' and `standalone'. | |
6188 | |
27726 | 6189 * 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
|
6190 |
27720 | 6191 2000-02-17 Kenichi Handa <handa@etl.go.jp> |
6192 | |
27722 | 6193 * xdisp.c (decode_mode_spec_coding): Delete superfluous code to |
27723 | 6194 avoid infinite error signaling. Allocate sufficient memory for |
27722 | 6195 eol_str in the case that eoltype is Lisp_Int. |
27720 | 6196 |
27719
73926d5a4d9f
(Fforward_comment): Undo the previous change, since cc-mode
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27710
diff
changeset
|
6197 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
|
6198 |
73926d5a4d9f
(Fforward_comment): Undo the previous change, since cc-mode
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27710
diff
changeset
|
6199 * 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
|
6200 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
|
6201 |
27710 | 6202 2000-02-16 Gerd Moellmann <gerd@gnu.org> |
6203 | |
6204 * sysdep.c (vfork) [!HAVE_VFORK]: Removed. | |
6205 | |
27707 | 6206 2000-02-15 Gerd Moellmann <gerd@gnu.org> |
6207 | |
6208 * s/freebsd.h (BROKEN_PTY_READ_AFTER_EAGAIN): Define. | |
6209 | |
6210 * process.c (send_process) [BROKEN_PTY_READ_AFTER_EAGAIN]: | |
27710 | 6211 Workaround for FreeBSD bug. Clear output queue after EAGAIN in |
27707 | 6212 write(2). |
6213 | |
27702
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6214 2000-02-15 Richard M. Stallman <rms@gnu.org> |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6215 |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6216 * data.c (set_internal): Don't make variable buffer-local |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6217 if within a let-binding for the same buffer. |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6218 (let_shadows_buffer_binding_p): New function. |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6219 |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6220 * eval.c (specbind): For buffer-local value, |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6221 record the current buffer also. |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6222 (unbind_to): Cope with that change. |
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6223 |
27700 | 6224 2000-02-15 Gerd Moellmann <gerd@gnu.org> |
6225 | |
6226 * window.c (Fsave_window_excursion): Doc fix. | |
6227 | |
27698
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6228 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
|
6229 |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6230 * 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
|
6231 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
|
6232 beginning of the comment. |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6233 (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
|
6234 after the comment-end. |
9c61956399b2
(back_comment): Make sure we only consider comment-starters
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27697
diff
changeset
|
6235 (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
|
6236 |
27697
409a708c27b3
(Ftry_completion, Fall_completions): Add a reference to
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27696
diff
changeset
|
6237 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
|
6238 |
409a708c27b3
(Ftry_completion, Fall_completions): Add a reference to
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27696
diff
changeset
|
6239 * 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
|
6240 `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
|
6241 |
27696 | 6242 2000-02-14 Dave Love <fx@gnu.org> |
6243 | |
6244 * xfaces.c (tty_defined_color): Declare color_idx unsigned long. | |
6245 | |
27692
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6246 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
|
6247 |
bb0e45f6ca86
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
27689
diff
changeset
|
6248 * 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
|
6249 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
|
6250 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
|
6251 * 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
|
6252 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
|
6253 |
27689 | 6254 2000-02-12 Dave Love <fx@gnu.org> |
6255 | |
6256 * frame.h (SELECTED_FRAME): Use NULL, not 0 to avoid warnings on | |
6257 Alpha. | |
6258 | |
27687 | 6259 2000-02-12 Gerd Moellmann <gerd@gnu.org> |
6260 | |
6261 * xdisp.c (syms_of_xdisp): Doc fix for scroll-conservatively. | |
6262 | |
27680 | 6263 2000-02-12 Dave Love <fx@gnu.org> |
6264 | |
6265 * s/aix3-2.h, s/osf-1.h: Define C_DEBUG_SWITCH for non-gcc. | |
6266 | |
6267 * s/ux4800.h, s/umips.h, s/umax.h, s/sol2.h, s/sco5.h, s/rtu.h: | |
27687 | 6268 * s/ptx4.h, s/umax.h, s/dgux.h, s/bsd4-2.h, s/bsd4-3.h: |
6269 * s/hpux.h: Don't define HAVE_VFORK. | |
27680 | 6270 |
6271 * s/gnu-linux.h: Don't define HAVE_VFORK or HAVE_SYS_SIGLIST. | |
6272 | |
6273 * s/nextstep.h: Don't define HAVE_ALLOCA. | |
6274 | |
6275 * config.in: Add vfork bits. | |
6276 | |
27672 | 6277 2000-02-12 Gerd Moellmann <gerd@gnu.org> |
6278 | |
6279 * process.c (Fopen_network_stream) [POLL_FOR_INPUT]: Register | |
6280 unwind function to undo the effect of stopping atimers. | |
6281 | |
6282 * keyboard.c (bind_polling_period): Stop all timers except | |
6283 poll_timer. | |
6284 | |
6285 * atimer.c (stopped_atimers): New variable. | |
6286 (stop_other_atimers, run_all_atimers, unwind_stop_other_atimers): | |
6287 New functions. | |
6288 | |
6289 * atimer.h (stop_other_atimers, run_all_atimers) | |
6290 (unwind_stop_other_atimers): Add function prototypes. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6291 |
27672 | 6292 * s/hpux10.h (HAVE_XRMSETDATABASE): Define if not already defined. |
6293 | |
27665
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
6294 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
|
6295 |
105b01b90125
* Makefile.in (LIBX): Link in tiff library before jpeg, since tiff library may
Ken Raeburn <raeburn@raeburn.org>
parents:
27663
diff
changeset
|
6296 * 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
|
6297 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
|
6298 (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
|
6299 |
27663 | 6300 2000-02-11 Kenichi Handa <handa@etl.go.jp> |
6301 | |
6302 * insdel.c (del_range_1): Call update_compositions. | |
6303 (del_range_both): Call update_compositions just once.. | |
6304 | |
27660 | 6305 2000-02-10 Dave Love <fx@gnu.org> |
6306 | |
6307 * xfns.c (create_frame_xic): Fix initialization of automatic | |
6308 aggregates for pcc. | |
6309 | |
27648 | 6310 2000-02-09 Kenichi Handa <handa@etl.go.jp> |
6311 | |
6312 * ccl.c (CCL_MAKE_CHAR): New macro. | |
6313 (ccl_driver) <CCL_TranslateCharacter>: Check the validity of | |
6314 registers by CCL_MAKE_CHAR before calling translate_char. | |
6315 <CCL_TranslateCharacterConstTbl> Likewise. | |
6316 | |
27646 | 6317 2000-02-08 Dave Love <fx@gnu.org> |
6318 | |
6319 * lread.c (__EXTENSIONS__): Define. | |
6320 | |
27644 | 6321 2000-02-08 Gerd Moellmann <gerd@gnu.org> |
6322 | |
6323 * puresize.h (BASE_PURESIZE): Increase to 650000. | |
6324 | |
27641 | 6325 2000-02-07 Eli Zaretskii <eliz@is.elta.co.il> |
6326 | |
6327 * msdos.c (XMenuActivate): Turn off the cursor after displaying | |
6328 the help message. | |
6329 | |
27639 | 6330 2000-02-07 Eli Zaretskii <eliz@is.elta.co.il> |
6331 | |
6332 * s/msdos.h (INTERNAL_TERMINAL): Add capabilities se, so, us, ue, | |
6333 md, mh, mb, mr, and me to the fake termcap entry. | |
6334 | |
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
|
6335 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
|
6336 |
8344762c0da2
* sound.c (sound_cleanup): Don't call device close routine if pointer is null.
Ken Raeburn <raeburn@raeburn.org>
parents:
27634
diff
changeset
|
6337 * 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
|
6338 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
|
6339 |
27634
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6340 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
|
6341 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6342 * 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
|
6343 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
|
6344 (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
|
6345 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6346 * 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
|
6347 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
|
6348 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6349 * 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
|
6350 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6351 * 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
|
6352 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6353 * 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
|
6354 (OBJ1): Include atimer.obj. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6355 ($(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
|
6356 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6357 * 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
|
6358 (sigunblock): Ditto. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6359 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6360 * 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
|
6361 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6362 * 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
|
6363 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6364 * 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
|
6365 |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6366 * 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
|
6367 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
|
6368 (main): Ditto. |
6c9ee29e8955
* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
Andrew Innes <andrewi@gnu.org>
parents:
27620
diff
changeset
|
6369 |
27620 | 6370 2000-02-05 INOUE Seiichiro <inoue@ainet.or.jp> |
6371 | |
6372 * xterm.c (x_display_and_set_cursor) [HAVE_X_I18N]: Set pre-edit | |
6373 area. | |
6374 (x_display_cursor) [HAVE_X_I18N]: Don't set it here. | |
6375 (XTread_socket) [HAVE_X_I18N]: <KeyPress, KeyRelease>: Don't | |
6376 dispatch the event. | |
6377 | |
27614 | 6378 2000-02-04 Dave Love <fx@gnu.org> |
6379 | |
6380 * fileio.c: Remove some unused vars. | |
6381 (_GNU_SOURCE): Define (for euidaccess). | |
6382 | |
6383 * lread.c (_XOPEN_SOURCE): Declare (for ftello). | |
6384 | |
6385 * minibuf.c (read_minibuf_noninteractive): Remove undeclared | |
6386 gcpro1, gcpro2. | |
6387 (read_minibuf): Deal with allow_props correctly. | |
6388 | |
27594 | 6389 2000-02-03 Eli Zaretskii <eliz@is.elta.co.il> |
6390 | |
6391 * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Enlarge to 60000. | |
6392 | |
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
|
6393 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
|
6394 |
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
|
6395 * 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
|
6396 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
|
6397 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
|
6398 |
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
|
6399 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
|
6400 |
459744c91b53
* puresize.h (BASE_PURESIZE): Increase to 610000.
Ken Raeburn <raeburn@raeburn.org>
parents:
27587
diff
changeset
|
6401 * puresize.h (BASE_PURESIZE): Increase to 610000. |
459744c91b53
* puresize.h (BASE_PURESIZE): Increase to 610000.
Ken Raeburn <raeburn@raeburn.org>
parents:
27587
diff
changeset
|
6402 |
27587 | 6403 2000-02-02 Gerd Moellmann <gerd@gnu.org> |
6404 | |
6405 * frame.c (Fframe_parameters): Add GCPRO because tty_color_name | |
6406 can GC. | |
6407 | |
27565 | 6408 2000-02-02 Kenichi Handa <handa@etl.go.jp> |
6409 | |
27567 | 6410 * ccl.c (ccl_driver) <CCL_WriteExprRegister>: Set jump_address |
6411 instead of incrementing ic directly. | |
6412 <CCL_WriteExprConst> Likewise. | |
6413 <ccl_set_expr>: Set ic to jump_address. | |
6414 | |
27565 | 6415 * fileio.c (e_write): Fix the handling of |
6416 CODING_FINISH_INSUFFICIENT_SRC. | |
6417 | |
27561 | 6418 2000-02-01 Dave Love <fx@gnu.org> |
6419 | |
6420 * editfns.c (Fpropertize): Doc fix. | |
6421 | |
6422 * process.c (Fstart_process): Doc fix. | |
6423 | |
6424 * eval.c: Fix various doc strings not to duplicate information | |
6425 from help-manyarg-func-alist. | |
6426 | |
6427 * window.c (Fset_window_margins): Don't make interactive. Doc | |
6428 fix. | |
6429 | |
6430 * doc.c (Vhelp_manyarg_func_alist): New variable. | |
6431 (Fdocumentation): Use it. | |
6432 (syms_of_doc): Define it. | |
6433 | |
27531 | 6434 2000-01-31 Gerd Moellmann <gerd@gnu.org> |
6435 | |
27545 | 6436 * xterm.c (xim_open_dpy): Remove unused local variable. |
6437 | |
27541 | 6438 * emacs.c (USAGE): Use term `display options' instead of `X |
6439 options'. | |
6440 | |
6441 * xdisp.c (Ftrace_to_stderr) [GLYPH_DEBUG]: New function. | |
6442 (syms_of_xdisp) [GLYPH_DEBUG]: Defsubr it. | |
6443 | |
27531 | 6444 * fns.c (sweep_weak_table): New function. |
6445 (sweep_weak_hash_tables): Use it. Keep on marking until there | |
6446 is no more change. | |
6447 | |
27527 | 6448 2000-01-30 Gerd Moellmann <gerd@gnu.org> |
6449 | |
6450 * xterm.c (x_delete_display): Update next_noop_dpyinfo to ensure | |
6451 that XTread_socket does not crash by trying to call XNoOp on a | |
6452 closed display. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6453 |
27523 | 6454 2000-01-30 Jason Rumney <jasonr@gnu.org> |
6455 | |
6456 * w32inevt.c (get_frame, w32_console_mouse_position, mouse_moved_to): | |
6457 Change selected_frame to SELECTED_FRAME (). | |
6458 (w32_console_mouse_position): Remove #ifndef MULE from around | |
6459 `insist' parameter. | |
6460 | |
6461 * makefile.nt: Remove dosfns.obj. | |
6462 | |
6463 * term.c (term_init) [WINDOWSNT]: Initialize TN_max_colors. | |
6464 | |
6465 * w32fns.c (w32_defined_color): Check for valid frame before | |
6466 applying gamma correction. Eliminate dependency on frame elsewhere. | |
6467 (w32_load_system_font): Switch FIXED_PITCH and VARIABLE_PITCH. | |
6468 (w32_to_x_font): Use resx and resy not height_in and width_in. | |
6469 (x_to_w32_font): Doc fix. | |
6470 (xlfd_strip_height): New function to strip and return font height. | |
6471 (w32_font_match): Compare height separately from rest of xlfd | |
6472 spec, using xlfd_strip_height. | |
6473 | |
6474 * w32term.c (w32_term_init): Swap resx and height_in, resy and | |
6475 width_in. Use w32_defined_color in place of defined_color. | |
6476 | |
6477 * w32faces.c: Merge more of DOS and X specifics in preparation for | |
6478 merge with xfaces.c. | |
6479 (defined_color): Remove FIXME comment. | |
6480 (tty_color_name): Provide w32-specific function. | |
6481 (realize_tty_face): Handle FACE_TTY_DEFAULT*_COLOR specially. | |
6482 | |
6483 * w32console.c (turn_on_face, turn_off_face): Removed. | |
6484 (w32_face_attributes): New function. | |
6485 (Global_variables): Reduce scope where possible. | |
6486 (clear_frame, ins_del_lines, scroll_line): Use char_attr_normal as | |
6487 fill attribute. | |
6488 (hl_mode): Don't modify text attributes. | |
6489 (write_glyphs): Don't do anything if len <= 0. Use | |
6490 w32_face_attributes to get attributes for drawing. Write | |
6491 terminating codes using char_attr_normal. | |
6492 (reset_terminal_modes, set_terminal_modes): Turn off highlight. | |
6493 (update_begin, update_end): Likewise. | |
6494 (vga_stdcolor_name): New function. | |
6495 (initialize_w32_display): Remove char_attr_reverse and char_attr. | |
6496 (Fset_screen_color): Remove char_attr_reverse. | |
6497 | |
27506 | 6498 2000-01-29 Gerd Moellmann <gerd@gnu.org> |
6499 | |
6500 * xfns.c (xic_set_preeditarea): Take window parameter and | |
6501 window-relative pixel-positions. | |
6502 | |
6503 * xterm.c (x_display_cursor): Set XIC pre-edit area only if window | |
6504 is its frame's selected window. | |
6505 (xim_instantiate_callback): Likewise. | |
6506 | |
6507 * xfns.c (x_create_im): Removed. | |
6508 (DEFAULT_STYLE, DEFAULT_FONT): Removed. | |
6509 (supported_xim_styles): Renamed from supported_styles. | |
6510 (best_xim_style): Renamed from best_style. | |
6511 (create_frame_xic): Renamed from xic_create_frame. | |
6512 (free_frame_xic): Renamed from xic_destroy_frame. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6513 |
27506 | 6514 2000-01-29 INOUE Seiichiro <inoue@ainet.or.jp> |
6515 | |
6516 * xterm.c (XTread_socket) [HAVE_X_I18N]: If event is for none of | |
6517 our frames, call XFilterEvent with 2nd parameter `None'. | |
6518 (XTread_socket) <KeyPress> [HAVE_X_I18N]: Handle XmbLookupString | |
6519 returning XBufferOverflow. | |
6520 (XTread_socket) <ConfigureNotify> [HAVE_X_I18N]: Set XIC status | |
6521 area. | |
6522 (x_display_cursor) [HAVE_X_I18N]: Set XIC pre-edit area. | |
6523 (x_new_fontset) [HAVE_X_I18N]: Create XIC status area fontset. | |
6524 (xim_destroy_callback, xim_open_dpy, xim_instantiate_callback) | |
6525 (xim_initialize, xim_close) | |
6526 [HAVE_X_I18N && HAVE_X11R6]: New functions. | |
6527 (x_destroy_window) [HAVE_X_I18N]: Call xic_destroy_frame. | |
6528 (x_term_init) [HAVE_X_I18N]: Call xim_initialize. | |
6529 (x_delete_display) [HAVE_X_I18N]: Call xim_close. | |
6530 | |
6531 * xterm.h (struct x_display_info) [HAVE_X_I18N]: Add members `xim' | |
6532 and `xim_styles'. | |
6533 (struct x_output) [HAVE_X_I18N]: Remove member `xim', add | |
6534 `xic_style' and `xic_xfs'. | |
6535 (FRAME_MENUBAR_HEIGHT, FRAME_X_XIM, FRAME_X_XIM_STYLES) | |
6536 (FRAME_XIC_STYLE, FRAME_XIC_FONTSET): New macros. | |
6537 (FRAME_XIM): Removed. | |
6538 | |
6539 * xfns.c (supported_styles): New variable. | |
6540 (DEFAULT_STYLE, DEFAULT_FONT): New macros | |
6541 (xic_create_xfontset, best_style, xic_create_frame) | |
6542 (xic_destroy_frame, xic_set_preeditarea, xic_set_statusarea) | |
6543 (xic_set_xfontset): New functions. | |
6544 | |
27491 | 6545 2000-01-28 Dave Love <fx@gnu.org> |
6546 | |
6547 * s/irix6-5.h: Revert last change after change to irix5-0.h. | |
6548 | |
6549 * m/iris4d.h (C_SWITCH_MACHINE): Don't use -G0. | |
6550 | |
27473 | 6551 2000-01-28 Gerd Moellmann <gerd@gnu.org> |
6552 | |
27481 | 6553 * buffer.c (Fother_buffer): Don't call Fset_buffer_major_mode |
6554 for *scratch* if it already existed. | |
6555 | |
27473 | 6556 * emacs.c (USAGE): New macro. |
6557 (main): Use it to display usage information. | |
6558 | |
27464 | 6559 2000-01-27 Eli Zaretskii <eliz@is.elta.co.il> |
6560 | |
6561 Support for the menu-help feature: | |
6562 | |
6563 * msdos.h: Change prototypes of XMenuAddSelection and | |
6564 XMenuActivate. | |
6565 | |
6566 * msdos.c (IT_clear_end_of_line): Print the extent of the cleared | |
6567 part of the line to the termscript file. | |
6568 (IT_clear_to_end): Clear the entire line, not just its beginning. | |
6569 (menu_help_message, prev_menu_help_message): New variables. | |
6570 (IT_menu_make_room): Make room for the help_text member. | |
6571 (IT_menu_display): New argument disp_help; all callers changed. | |
6572 If disp_help is non-zero, store the help text of the active menu | |
6573 item in menu_help_message. | |
6574 (XMenuAddPane): Initialize the help_text member to NULL. | |
6575 (XMenuAddSelection): New argument help_text. Store it in the | |
6576 XMenu structure. | |
6577 (XMenuActivate): New argument help_callback. If the value of | |
6578 menu_help_message has changed since the last time, display the | |
6579 menu help message text while waiting for the mouse to move. Clear | |
6580 the echo area before exiting. | |
6581 (XMenuDestroy): Free the help_text member. | |
6582 | |
27459 | 6583 2000-01-27 Gerd Moellmann <gerd@gnu.org> |
6584 | |
6585 * xmenu.c (xmenu_show) [!USE_X_TOOLKIT]: Pass help to | |
6586 XMenuAddSelection. Pass help callback to XMenuActivate. | |
6587 (menu_help_callback) [!USE_X_TOOLKIT]: New function. | |
6588 | |
27453 | 6589 2000-01-27 Eli Zaretskii <eliz@is.elta.co.il> |
6590 | |
6591 * atimer.c (start_atimer) [!HAVE_SETITIMER]: Use EMACS_SET_SECS | |
6592 and EMACS_SET_USECS. | |
6593 | |
27443 | 6594 2000-01-26 Dave Love <fx@gnu.org> |
6595 | |
27446 | 6596 * editfns.c (Fchar_after, Fchar_before): Doc fix. |
6597 | |
27443 | 6598 * bytecode.c (Fbyte_code): Use {BEFORE,AFTER}_POTENTIAL_GC where |
6599 an error may be signalled. | |
6600 | |
27439 | 6601 2000-01-26 Gerd Moellmann <gerd@gnu.org> |
6602 | |
27441 | 6603 * s/irix6-5.h [__GNUC__ && __GNUC_MINOR__ >= 95]: Undef |
6604 LD_SWITCH_SYSTEM inherited from irix5-0.h. | |
6605 | |
27439 | 6606 * bytecode.c (Fbyte_code) [BYTE_CODE_SAFE]: Fix typo. |
6607 | |
27435 | 6608 2000-01-25 Gerd Moellmann <gerd@gnu.org> |
6609 | |
6610 * charset.c (Fstring): If there is a multibyte char among | |
6611 the args, always return a multibyte string. | |
6612 | |
27433 | 6613 2000-01-25 Gerd Moellmann <gerd@gnu.org> |
6614 | |
6615 * sysdep.c (sys_select): Turn atimers off and on instead of | |
6616 recording and restoring old alarm handler | |
6617 | |
6618 * process.c (toplevel): Include atimer.h. | |
6619 (create_process_1): Rewritten. | |
6620 (create_process): Use atimers instead of alarm. | |
6621 (wait_reading_process_input) [hpux]: Turn atimers off instead | |
6622 of turning off SIGALRM. | |
6623 (wait_reading_process_input): Turn off atimers instead off | |
6624 calling stop_polling. | |
6625 | |
6626 * emacs.c (main): Call init_atimer. | |
6627 | |
6628 * keyboard.c (toplevel): Include systime.h and atimer.h. | |
6629 (polling_for_input): Removed because unused. | |
6630 (input_poll_signal) [POLL_FOR_INPUT]: Removed. | |
6631 (poll_timer): New variable. | |
6632 (poll_for_input, poll_for_input_1): New functions. | |
6633 (start_polling, stop_polling): Rewritten. | |
6634 | |
6635 * keyboard.h (polling_for_input): Removed. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6636 |
27433 | 6637 * atimer.h, atimer.c: New files. |
6638 | |
6639 * Makefile.in (obj): Add atimer.o. | |
6640 (atimer.o): New target. | |
6641 | |
6642 * blockinput.h (pending_atimers): Add extern declaration. | |
6643 (UNBLOCK_INPUT): Rewritten. Handle pending atimers. | |
6644 | |
6645 * lisp.h (popup_activated_flag): Add extern declaration. | |
6646 | |
6647 * xmenu.c (popup_activated_flag): Make externally visible. | |
6648 (popup_activate_callback) [USE_MOTIF]: Increment | |
6649 popup_activated_flag. | |
6650 (popup_deactivate_callback) [USE_MOTIF]: Decrement it. | |
6651 | |
6652 * xterm.c (toplevel): Include atimer.h. | |
6653 (toolkit_scroll_bar_interaction): New variable. | |
6654 (Fxt_process_timeouts): Removed. | |
6655 (x_process_timeouts): New function. | |
6656 (xt_action_hook): Clear toolkit_scroll_bar_interaction. | |
6657 (x_send_scroll_bar_event): Set toolkit_scroll_bar_interaction. | |
6658 (x_make_frame_visible): Call poll_for_input_1 instead of | |
6659 input_poll_signal. Don't call alarm. | |
6660 (x_initialize): Install timer calling x_process_timeouts. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6661 |
27413 | 6662 2000-01-24 Dave Love <fx@gnu.org> |
6663 | |
27446 | 6664 * s/irix5-0.h: Don't set LD_SWITCH_SYSTEM -- we use unexelf now. |
27413 | 6665 Don't use -cckr -- apparently not now necessary. |
6666 | |
27410 | 6667 2000-01-24 Eli Zaretskii <eliz@is.elta.co.il> |
6668 | |
6669 * msdos.c (IT_menu_display): Truncate long menu lines at the right | |
6670 screen boundary. | |
6671 | |
27408 | 6672 2000-01-23 Jason Rumney <jasonr@gnu.org> |
6673 | |
6674 * w32fns.c (w32_defined_color): Apply gamma correction before | |
6675 trying to map to the palette. | |
6676 (w32_wnd_proc) [WM_ERASE_BACKGROUND]: Pass device context of frame | |
6677 to w32_clear_rect. | |
6678 | |
6679 * w32term.c (w32_fill_rect): Do not try to deal with NULL hdc | |
6680 here. Callers changed to always pass real device context. | |
6681 (w32_draw_bitmap): Likewise. | |
6682 (w32_get_glyph_overhangs): Likewise. | |
6683 (w32_draw_box_rect): Make use of s->hdc rather than getting a new | |
6684 one. | |
6685 (w32_set_vertical_scroll_bar): Pass correct HWND parameters to | |
6686 pfnSetScrollInfo and SetScrollRange. | |
6687 (x_get_char_face_and_encoding): Don't turn iso8859-1 characters | |
6688 back into MULE characters after decoding them. | |
6689 (x_get_glyph_face_and_encoding): Likewise. | |
6690 (w32_per_char_metric): Use GetCharExtentPoint32W as fallback when | |
6691 GetCharABCWidthsW fails, since this is defined on Windows 9x. | |
6692 (x_produce_glyphs): Calculate per char metrics for a character | |
6693 that we know exists in default font when font_not_found_p is true. | |
6694 | |
27393 | 6695 2000-01-22 Jason Rumney <jasonr@gnu.org> |
6696 | |
6697 * makefile.nt (intervals.obj, composite.obj): New modules. | |
6698 (composite.h): Added as dependency where appropriate. | |
6699 | |
6700 * w32gui.h (XGCValue): New struct for emulating X GCs. | |
6701 | |
6702 * w32term.h (XCharStruct): New struct for emulating X. | |
6703 | |
6704 * w32console.c (turn_on_face, turn_off_face): New functions. | |
6705 (change_line_highlight): New prototype for new redisplay. | |
6706 (write_glyphs): Support multibyte text. Support faces. | |
6707 | |
6708 * w32faces.c: Complete rewrite for new redisplay based on new | |
6709 xfaces.c. | |
6710 | |
6711 * w32fns.c: Use SELECTED_FRAME macro in place of selected_frame | |
6712 throughout. struct frame * in place of FRAME_PTR. | |
6713 Skeleton support for images, toolbars, tooltips from xfns.c. | |
6714 (Fx_create_frame): Use system default for default scroll bar | |
6715 width. | |
6716 (w32_get_arg): Renamed from x_get_arg. | |
6717 (Fx_file_dialog): New function. | |
6718 (w32_list_fonts): Check cache before asking system. | |
6719 (Vw32_enable_synthesized_fonts): New variable. | |
6720 (Vw32_enable_italics): Obsolete, removed. | |
6721 | |
6722 * w32inevt.c (get_frame, w32_console_mouse_position, mouse_moved_to): | |
6723 Use SELECTED_FRAME macro. | |
6724 | |
6725 * w32menu.c: Add skeleton support for help strings on menus. | |
6726 (add_menu_item): Native checkbox and radio support added, but not | |
6727 yet enabled due to bugs. | |
6728 (push_menu_item): Add parameters type, selection and help. | |
6729 Callers updated. | |
6730 Formatting changes to reduce unnecessary diffs with xmenu.c. | |
6731 | |
6732 * w32select.c (Fw32_set_clipboard_data): Update call to | |
6733 find_charset_in_str. | |
6734 | |
6735 * w32term.c: Complete rewrite for new redisplay based on new | |
6736 xterm.c with necessary sections merged back in from old w32term.c. | |
6737 | |
27702
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6738 2000-01-21 Richard M. Stallman <rms@gnu.org> |
27390
10e53615a9d2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27372
diff
changeset
|
6739 |
10e53615a9d2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27372
diff
changeset
|
6740 * data.c (set_internal): Further fix in same criterion. |
10e53615a9d2
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27372
diff
changeset
|
6741 |
27702
50df459c86d1
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27700
diff
changeset
|
6742 2000-01-20 Richard M. Stallman <rms@gnu.org> |
27372
79d08dbee5fd
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27366
diff
changeset
|
6743 |
79d08dbee5fd
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27366
diff
changeset
|
6744 * data.c (set_internal): Fix the criteria for whether |
79d08dbee5fd
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27366
diff
changeset
|
6745 to swap out the old cached binding. |
79d08dbee5fd
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27366
diff
changeset
|
6746 |
27366 | 6747 2000-01-19 Dave Love <fx@gnu.org> |
6748 | |
6749 * lread.c: (syms_of_lread) [user-init-file]: Doc change. | |
6750 | |
27354 | 6751 2000-01-18 Kenichi Handa <handa@etl.go.jp> |
6752 | |
6753 * regex.c (re_compile_fastmap): While checking a range table for | |
6754 `charset', skip flag bits for a character class correctly. | |
6755 | |
27344 | 6756 2000-01-17 Gerd Moellmann <gerd@gnu.org> |
6757 | |
27347 | 6758 * m/news-risc.h (LD_SWITCH_MACHINE): Define differently for GCC. |
6759 | |
27344 | 6760 * xfns.c (x_window): Call lw_create_widget with new parameter |
6761 list. | |
6762 | |
6763 * widget.c (EmacsFrameSetCharSize): Change size of children first | |
6764 because of problems with main window geometry management under | |
6765 Lesstif. | |
6766 | |
6767 * xmenu.c (enum menu_item_idx): New enumeration replacing defines | |
6768 MENU_ITEMS_ITEM_.*. | |
6769 (MENU_ITEMS_ITEM_HELP): New enumerator. | |
6770 (push_menu_item): Add parameter HELP. Record help in menu_items. | |
6771 (single_menu_item, single_submenu, list_of_items): Call | |
6772 push_menu_item with new parameter. | |
6773 (single_submenu): Set help string in widget value. | |
6774 (menu_highlight_callback): New function. | |
6775 (set_frame_menubar): Call lw_create_widget with new | |
6776 parameter list. | |
6777 (xmenu_show, xdialog_show): Ditto. | |
6778 | |
27316 | 6779 2000-01-13 Gerd Moellmann <gerd@gnu.org> |
6780 | |
6781 * sound.c (Fplay_sound): Improve doc string. | |
6782 | |
27300
baffb2de5ce9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27299
diff
changeset
|
6783 2000-01-11 Richard M. Stallman <rms@gnu.org> |
27299
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
6784 |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
6785 * lisp.h (set_internal): Enter the new arg. |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
6786 |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
6787 * eval.c (specbind): Record buffer-local variables specially, |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
6788 indicating which buffer's binding was saved. |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
6789 (unbind_to): Restore buffer-local variables specially |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
6790 in the proper buffer. |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
6791 |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
6792 * data.c (set_internal): New arg BUF. |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6793 |
27299
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
6794 * 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
|
6795 * data.c (Fset): Pass new arg to set_internal. |
1d7b2d2038af
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27291
diff
changeset
|
6796 * 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
|
6797 |
27291 | 6798 2000-01-11 Gerd Moellmann <gerd@gnu.org> |
6799 | |
6800 * .gdbinit: Adapt to new strings. Add xbacktrace, xreload, | |
6801 xprintsym. | |
6802 | |
27300
baffb2de5ce9
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27299
diff
changeset
|
6803 2000-01-11 Richard M. Stallman <rms@gnu.org> |
27283
f3eca57846e3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27276
diff
changeset
|
6804 |
f3eca57846e3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27276
diff
changeset
|
6805 * minibuf.c (Ftry_completion): Doc fix. |
f3eca57846e3
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
27276
diff
changeset
|
6806 |
27276 | 6807 2000-01-11 Gerd Moellmann <gerd@gnu.org> |
6808 | |
6809 * keyboard.c (Fclear_this_command_keys): Clear recent_keys | |
6810 vector, too. | |
6811 | |
27273 | 6812 2000-01-11 Andreas Schwab <schwab@suse.de> |
6813 | |
6814 * coding.c (code_convert_region): Initialize total_skip. | |
6815 | |
27244 | 6816 2000-01-08 Dave Love <fx@gnu.org> |
6817 | |
6818 * eval.c (Fuser_variable_p): Check customizability too. | |
6819 | |
27237 | 6820 2000-01-07 Gerd Moellmann <gerd@gnu.org> |
6821 | |
6822 * minibuf.c (Fcompleting_read): Doc fix. | |
6823 | |
27158 | 6824 2000-01-05 Gerd Moellmann <gerd@gnu.org> |
6825 | |
27171 | 6826 * s/freebsd.h (C_SWITCH_SYSTEM): Add -I /usr/local/include and |
6827 -L /usr/local/lib. | |
6828 | |
27158 | 6829 * xfns.c (x_create_im): New function to set IM and IC of a frame. |
6830 Check that input style is supported before trying to create an | |
6831 IC for it. | |
6832 (x_window): Call x_create_im. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6833 |
27143 | 6834 2000-01-04 Gerd Moellmann <gerd@gnu.org> |
6835 | |
27155 | 6836 * xfns.c (current_gif_memory_src): New variable. |
6837 (gif_load): Record the address of the current memory source | |
6838 in current_gif_memory_src. | |
6839 (gif_read_from_memory): Use current_gif_memory_src. | |
6840 | |
27150 | 6841 * systime.h (EMACS_GET_TIME, EMACS_ADD_TIME, EMACS_SUB_TIME): Give |
6842 macros statement form. | |
6843 | |
27147 | 6844 * sound.c (struct sound): Renamed from struct sound_file. |
6845 (struct sound): Add members `data' and `header_size'. | |
6846 (enum sound_attr): Add SOUND_DATA. | |
6847 (current_sound, current_sound_device): Variables renamed from | |
6848 sound_file and sound_device. | |
6849 (parse_sound): Parse :data. | |
6850 (parse_sound): Handle sound data in strings. | |
6851 (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
|
6852 (wav_init, au_init): Fail if sound's header_size is smaller than |
27147 | 6853 needed header size. |
6854 (wav_play, au_play): Play sounds from string data. | |
6855 | |
27143 | 6856 * puresize.h (BASE_PURE_SIZE): Increase to 600000. |
6857 | |
6858 * lisp.h: Add prototype for allocate_string_data. | |
6859 | |
6860 * alloc.c (Fgarbage_collect): Return number of live and free | |
6861 strings. | |
6862 | |
6863 * alloc.c (mark_buffer): Remove code in #if 0. | |
6864 (gc_sweep): Ditto. | |
6865 (UNMARK_BALANCE_INTERVALS): Give the macro statement form. | |
6866 (strings_consed): New variable. | |
6867 (allocate_string): Set it. | |
6868 (syms_of_alloc): Add DEFVAR_INT for strings_consed. | |
6869 (Fmemory_use_counts): Return strings_consed. Use Flist. | |
6870 | |
6871 * alloc.c: General cleanup in comments etc. Remove conditional | |
6872 compilation for `standalone'. | |
6873 | |
6874 * lisp.h (struct Lisp_String): Make DATA member `unsigned char *'. | |
6875 | |
6876 * alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): | |
6877 (GC_STRING_BYTES, GC_STRING_CHARS): New macros. | |
6878 (DONT_COPY_FLAG): Removed. | |
6879 (SBLOCK_SIZE, LARGE_STRING_BYTES): New macros. | |
6880 (struct sdata, struct sblock): New | |
6881 (struct string_block): Rewritten. | |
6882 (STRINGS_IN_STRING_BLOCK): New macro. | |
6883 (oldest_sblock, current_sblock, total_strings, total_free_strings) | |
6884 (large_sblocks, string_blocks, string_free_list): New variables. | |
6885 (NEXT_FREE_LISP_STRING, SDATA_OF_STRING, SDATA_SIZE): New macros. | |
6886 (init_strings): Rewritten. | |
6887 (allocate_string, allocate_string_data, compact_small_strings) | |
6888 (free_large_strings, sweep_strings): New functions. | |
6889 (STRING_BLOCK_SIZE, STRING_BLOCK_OUTSIZE) | |
6890 (struct string_block_head, current_string_block) | |
6891 (first_string_block, large_string_blocks, STRING_FULLSIZE) | |
6892 (STRING_PAD): Removed. | |
6893 (make_uninit_multibyte_string, make_pure_string): Rewritten. | |
6894 (Fgarbage_collect): Don't set mark bit in large strings. | |
6895 (mark_object): Mark strings differently. Mark symbol names | |
6896 differently. | |
6897 (survives_gc_p): Test marked strings differently. | |
29803
3dec4cd5e361
Don't declare xmalloc, xrealloc.
Sam Steingold <sds@gnu.org>
parents:
29802
diff
changeset
|
6898 (gc_sweep): Sweep strings differently, unmark strings in |
27143 | 6899 symbol names. |
6900 (compact_strings): Removed. | |
6901 | |
27138 | 6902 2000-01-04 Eli Zaretskii <eliz@is.elta.co.il> |
6903 | |
6904 * xfaces.c (syms_of_xfaces): defsubr Scolor_gray_p and | |
6905 Scolor_supported_p even if HAVE_X_WINDOWS is not defined. | |
6906 | |
27127 | 6907 2000-01-04 Kenichi Handa <handa@etl.go.jp> |
6908 | |
27133 | 6909 * 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
|
6910 in a non-empty buffer. |
27133 | 6911 |
27130 | 6912 * term.c (encode_terminal_code): Fix the previous change. |
27127 | 6913 |
27122 | 6914 2000-01-03 Gerd Moellmann <gerd@gnu.org> |
6915 | |
6916 * xfaces.c (syms_of_xfaces): Change Sface_color_gray_p to | |
6917 Scolor_gray_p, Sface_color_supported_p to Scolor_supported_p. | |
6918 | |
6919 * s/hpux9.h (NO_EDITRES): Define even if HAVE_LIBXMU. | |
6920 | |
27119 | 6921 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il> |
6922 | |
6923 * xdisp.c (handle_single_display_prop) [HAVE_WINDOW_SYSTEM]: No | |
6924 need to test for MSDOS frames. | |
6925 | |
27116 | 6926 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il> |
6927 | |
6928 * dosfns.c (unspecified_colors): Remove. | |
6929 (msdos_stdcolor_idx): Use global variables unspecified_fg and | |
6930 unspecified_bg. | |
6931 (msdos_stdcolor_name): Return strings for unspecified fore- and | |
6932 back-ground colors. | |
6933 | |
6934 * xfaces.c (Qunspecified_fg, Qunspecified_bg): Remove. | |
27680 | 6935 (syms_of_xfaces): Remove their staticpro's. |
27116 | 6936 (tty_color_name): Return Lisp strings for unspecified fore- and |
6937 back-ground colors. | |
6938 (Finternal_set_lisp_face_attribute): Remove the special treatment | |
6939 for Qunspecified_{f,b}g. | |
6940 (realize_default_face): Replace Qunspecified_{f,b}g with a Lisp | |
6941 string. | |
6942 | |
27112 | 6943 2000-01-03 Gerd Moellmann <gerd@gnu.org> |
6944 | |
6945 * xdisp.c (reseat_at_next_visible_line_start): Position before | |
6946 newline only if ending up on a newline. | |
6947 (next_element_from_ellipsis): Return success. Handle case of | |
6948 displaying no ellipsis. Fix case of ellipsis defined in display | |
6949 table. | |
6950 (next_element_from_buffer): Return 0 if next_element_from_ellipsis | |
6951 returns 0. | |
6952 | |
27102 | 6953 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il> |
6954 | |
6955 * xfaces.c (Fcolor_gray_p): Renamed from face-color-gray-p. | |
6956 (Fcolor_supported_p): Renamed from face-color-supported-p. | |
6957 | |
27091 | 6958 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il> |
6959 | |
6960 * xfaces.c (tty_defined_color): Pass frame to tty-color-desc. The | |
6961 list of colors renamed to tty-defined-color-alist. | |
6962 (tty_color_name): Pass the frame to tty-color-by-index. | |
6963 (realize_tty_face): tty-color-alist is now a function which | |
6964 accepts the frame as argument. | |
6965 | |
6966 * term.c (Ftty_display_color_p): Accept an optional argument | |
6967 FRAME. | |
6968 | |
27086 | 6969 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il> |
6970 | |
6971 * term.c (insert_glyphs): Pass glyph, not &glyph, to | |
6972 encode_terminal_code. | |
6973 | |
27084 | 6974 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il> |
6975 | |
6976 * dispnew.c (mode_line_string): Support termcap frames as well. | |
6977 | |
27067 | 6978 2000-01-01 Gerd Moellmann <gerd@gnu.org> |
6979 | |
27082 | 6980 * syntax.c (Fforward_word): Undo previous change. |
6981 | |
6982 * editfns.c (Fconstrain_to_field): Don't constrain if | |
6983 inhibit-field-text-motion is non-nil. | |
6984 (Fline_beginning_position): Undo previous change. | |
6985 (Fline_end_position): Ditto. | |
6986 | |
6987 * syntax.c (Fforward_word): Notice field boundaries only if | |
6988 inhibit-field-text-motion is nil. | |
6989 | |
6990 * lisp.h: Add extern declaration for Vinhibit_field_text_motion. | |
6991 | |
6992 * editfns.c (Vinhibit_field_text_motion): New variable. | |
6993 (inhibit-field-text-motion): New DEFVAR_LISP. | |
6994 (Fline_beginning_position, Fline_end_position): Notice field | |
6995 boundaries only if inhibit-field-text-motion is nil. | |
6996 | |
27072 | 6997 * xfns.c (x_create_x_image_and_pixmap): Remove parameter FILE. |
6998 All calls adjusted. | |
6999 (x_build_heuristic_mask): Likewise. | |
7000 (xbm_load_image_from_file): Change error output. | |
7001 (xbm_load, xpm_load, pbm_load, png_load, jpeg_load, tiff_load) | |
7002 (gif_load, gs_load, x_kill_gs_process): Ditto. | |
7003 | |
27067 | 7004 * xfns.c (gif_load): Avoid sign extension and thus out of bounds |
7005 color indices when accessing raster pixels. | |
27070 | 7006 (gif_image_p, png_image_p, jpeg_image_p, tiff_image_p): Allow only |
7007 one of :file or :data. | |
7008 (enum pbm_keyword_index): Add PBM_DATA. | |
7009 (pbm_format): Add :data. | |
7010 (pbm_image_p): Allow either :file or :data. | |
7011 (pbm_read_file): New function. | |
7012 (pbm_scan_number): Rewritten to read from string. | |
7013 (pbm_load): Support :data. | |
27067 | 7014 |
30727 | 7015 See ChangeLog.8 for earlier changes. |
30994 | 7016 |
7017 ;; Local Variables: | |
31346 | 7018 ;; coding: iso-2022-7bit |
30994 | 7019 ;; End: |