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