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