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