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