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