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