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