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