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