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