1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 03:20:39 -08:00
Commit graph

12233 commits

Author SHA1 Message Date
Gerd Moellmann
684b01ee39 (set_buffer_internal_1) [REL_ALLOC_MMAP]: If
buffer's text buffer is null, map new memory.
2000-09-06 21:42:14 +00:00
Gerd Moellmann
0a58f94648 (POINTER, SIZE) [emacs]: Define in terms of
POINTER_TYPE and size_t.
(struct mmap_region) [REL_ALLOC_MMAP]: New structure.
(mmap_regions, mmap_regions_1) [REL_ALLOC_MMAP]: New variables.
(ROUND, MMAP_REGION_STRUCT_SIZE, MMAP_REGION, MMAP_USER_AREA)
[REL_ALLOC_MMAP]: New macros.
(mmap_find, mmap_free, mmap_enlarge, mmap_set_vars)
(mmap_mapped_bytes, r_alloc, r_re_alloc, r_alloc_free)
[REL_ALLOC_MMAP]: New functions.
2000-09-06 21:25:49 +00:00
Gerd Moellmann
2b7377cadb (Fdump_emacs) [REL_ALLOC_MMAP]: Call mmap_set_vars
before and after unexec.
2000-09-06 21:25:22 +00:00
Gerd Moellmann
93c27ef1aa (init_buffer) [REL_ALLOC_MMAP]: Map new buffer
text buffers if necessary.
2000-09-06 21:25:12 +00:00
Gerd Moellmann
09e9dd66e1 (R_ALLOC_DECLARE): Removed because unused.
(r_alloc, r_re_alloc, r_alloc_free): Use POINTER_TYPE and size_t
in prototypes.
2000-09-06 21:24:56 +00:00
Gerd Moellmann
fa0b693ce2 *** empty log message *** 2000-09-06 12:22:09 +00:00
Gerd Moellmann
b376258e9b (HAVE_MMAP): Add #undef. 2000-09-06 12:21:51 +00:00
Gerd Moellmann
08ba3862e3 *** empty log message *** 2000-09-05 15:57:18 +00:00
Gerd Moellmann
8b60f7bcd9 (Qdisplay_type): New variable.
(syms_of_frame_1): Initialize it.
(Fframe_parameter): New function that avoids consing.
(syms_of_frame): Defsubr it.
2000-09-05 15:53:29 +00:00
Gerd Moellmann
66ffe51c35 (Fother_buffer): Consider buffers as invisible when
they are displayed in a window on an invisible frame.
2000-09-05 13:02:14 +00:00
Gerd Moellmann
877055f695 *** empty log message *** 2000-09-05 10:52:21 +00:00
Gerd Moellmann
c930dfab96 (window_loop) <GET_LARGEST_WINDOW>: Fix bug making
get-largest-window always return nil.
2000-09-05 10:51:59 +00:00
Gerd Moellmann
bb970e6721 (syms_of_lread): Make Vbytecomp_version_regexp a Lisp
variable; recognize Emacs 19 elc files.
2000-09-04 12:04:29 +00:00
Miles Bader
7a3d0e0ee0 *** empty log message *** 2000-09-04 11:57:57 +00:00
Miles Bader
357460d08c (xmenu_show):
Call x_set_menu_resources_from_menu_face before initially popping up
  the menu, so the menu doesn't flash when the face settings are
  significantly different from the defaults.
2000-09-04 11:56:36 +00:00
Stefan Monnier
14473664b8 (WIDE_CHAR_SUPPORT): New macro.
(btowc, iswctype, wctype) [_LIBC]: Redefine to __<fun>.
(BIT_ALPHA, BIT_ALNUM, BIT_ASCII, BIT_NONASCII, BIT_GRAPH, BIT_PRINT)
(BIT_UNIBYTE): Remove.
(re_match_2_internal): Delete corresponding code and streamline the
BIT_MULTIBYTE case to not bother checking ISUNIBYTE.
(CHAR_CLASS_MAX_LENGTH) [!WIDE_CHAR_SUPPORT]: Set to 9 rather than 6.
(re_wctype_t): New type.
(re_wctype, re_iswctype, re_wctype_to_bit): New functions.
(regex_compile): Use them and fix handling of overly long char classes.
2000-09-04 04:24:00 +00:00
Andrew Innes
f8803e9783 *** empty log message *** 2000-09-03 22:35:14 +00:00
Andrew Innes
96f492752e Change to DOS line endings. 2000-09-03 22:30:19 +00:00
Andrew Innes
44ef7cf637 *** empty log message *** 2000-09-03 17:51:29 +00:00
Andrew Innes
11c22fffa0 (compare_env): Convert to uppercase for comparison,
not lowercase, to match how the native Windows shell works.
2000-09-03 17:50:12 +00:00
Andrew Innes
c1174479c2 *** empty log message *** 2000-09-03 17:46:22 +00:00
Andrew Innes
d7aad7bbbf (clean): Don't delete config.h and epaths.h.
(distclean): Delete them here instead.
2000-09-03 17:42:28 +00:00
Andrew Innes
971bce757c (_ANONYMOUS_UNION) [__GNUC__]: New define
(_ANONYMOUS_STRUCT) [__GNUC__]: New define.
2000-09-03 17:41:20 +00:00
Andrew Innes
cc48c6e7a4 (ORDINARY_LINK): New define. 2000-09-03 17:40:40 +00:00
Jason Rumney
2bfd61a817 (emacs): Do not change directory to run temacs, as the load-path is
set relative to current directory.
2000-09-03 17:40:17 +00:00
Jason Rumney
49b3bd82e9 *** empty log message *** 2000-09-03 17:39:21 +00:00
Miles Bader
a3d35a3982 *** empty log message *** 2000-09-03 11:40:32 +00:00
Miles Bader
46d516e5b0 (x_alloc_lighter_color_for_widget): New function. 2000-09-03 11:33:29 +00:00
Gerd Moellmann
715e84c950 (redisplay_mode_lines): New function.
(display_mode_lines): Return number of mode lines displayed.
(echo_area_display): Use redisplay_mode_lines to draw garbaged
mode lines.  Don't temporarily bind redisplay-dont-pause to t.
2000-09-02 21:56:47 +00:00
Gerd Moellmann
8892f40bde Remove includes of
string.h and strings.h.
(index) [HAVE_INDEX]: Add prototype.
2000-09-02 19:35:49 +00:00
Gerd Moellmann
d276b0cfc1 Include <signal.h>.
(GC_SETJMP_WORKS, GC_MARK_STACK): Define.
2000-09-02 11:34:56 +00:00
Gerd Moellmann
f4db570c1c (SHT_PROGBITS) [__NetBSD__ && !PT_LOAD]: Don't define.
(SHT_MIPS_DEBUG, HDRR) [__NetBSD__ && __mips__]: Define.
2000-09-02 11:34:13 +00:00
Gerd Moellmann
3840422988 (read1): Accept `?' as symbol constituent, for
compatiblity with XEmacs.
2000-09-01 11:55:39 +00:00
Stefan Monnier
c0f9ea083e * regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
(struct re_pattern_buffer): Remove newline_anchor.
* regex.c: Keep namespace clean for GNU libc by renaming <fun>
to __<fun> and using `weak_alias (__<fun>, <fun>)'.
(re_max_failures, fail_stack): Use size_t rather than unsigned.
(regex_compile): For ^ and $, choose between buffer and line (beg|end)
depending on the new RE_NO_NEWLINE_ANCHOR syntax flag.
(print_compiled_pattern, re_search_2, mutually_exclusive_p)
(re_match_2_internal, re_compile_pattern, re_comp, regcomp):
Get rid of references to newline_anchor.
(regcomp): Allocate and precompute a fastmap.
2000-08-31 17:19:15 +00:00
Gerd Moellmann
8c0f83fec6 (openp): GCPRO local variable `filename'. 2000-08-31 08:51:47 +00:00
Stefan Monnier
4bb91c680f Merge some changes from GNU libc. Add prototypes.
(bcopy, bcmp, REGEX_REALLOCATE, re_match_2_internal):
Use memcmp and memcpy instead of bcopy and bcmp.
(init_syntax_once): Use ISALNUM.
(PUSH_FAILURE_POINT, re_match_2_internal): Remove failure_id.
(REG_UNSET_VALUE): Remove.  Use NULL instead.
(REG_UNSET, re_match_2_internal): Use NULL.
(SET_HIGH_BOUND, MOVE_BUFFER_POINTER, ELSE_EXTEND_BUFFER_HIGH_BOUND):
New macros.
(EXTEND_BUFFER): Use them (to work with BOUNDED_POINTERS).
(GET_UNSIGNED_NUMBER): Don't use ISDIGIT.
(regex_compile): In handle_interval, return an error rather than try to
unfetch the interval if we can't find the closing brace.
Obey the RE_NO_GNU_OPS syntax bit.
(TOLOWER): New macro.
(regcomp): Use it.
(regexec): Allocate regs.start and regs.end as one block.
2000-08-30 18:31:30 +00:00
Stefan Monnier
98222d270c (struct re_pattern_buffer): Use size_t for used/allocated. 2000-08-30 18:21:17 +00:00
Gerd Moellmann
868dd24bb1 (update_frame): Only set display_completed here; use
the update_begin and update_end calls here from update_frame_1.
(update_frame_1): Don't set display_completed here, don't call
update_begin/update_end.
2000-08-30 15:00:17 +00:00
Gerd Moellmann
edc681111e (echo_area_display): Check display_completed instead
of calling detect_input_pending.
2000-08-30 14:59:06 +00:00
Gerd Moellmann
5226a93199 (set_font_frame_param): Use Fmodify_frame_parameters
instead of store_frame_param.
2000-08-30 13:18:07 +00:00
Andrew Innes
af9ba8ad6c *** empty log message *** 2000-08-30 12:57:13 +00:00
Gerd Moellmann
2a8bd25f14 (build_frame_matrix_from_leaf_window): If a row of a
desired window matrix hasn't been displayed, use the current row
instead.  Make sure that only those frame rows are updated for
which there is a corresponding enabled desired row.
2000-08-29 15:04:48 +00:00
Miles Bader
ba3478d9c9 *** empty log message *** 2000-08-29 11:23:51 +00:00
Miles Bader
613fa7f2bd (default_face_vector): New function.
(Finternal_merge_in_global_face): Use it instead of merge_face_vectors.
2000-08-29 11:18:16 +00:00
Gerd Moellmann
87d0f68535 *** empty log message *** 2000-08-29 10:58:38 +00:00
Gerd Moellmann
ace46dfee3 (openp): Prevent temporary string passed to
Ffile_readable_p from being garbage collected.
2000-08-29 10:37:38 +00:00
Dave Love
6fa8604559 *** empty log message *** 2000-08-28 18:56:48 +00:00
Dave Love
2d9296941c (store_in_keymap): Add `static' to declaration. 2000-08-28 18:40:21 +00:00
Gerd Moellmann
bb17930d23 *** empty log message *** 2000-08-28 15:05:20 +00:00
Gerd Moellmann
684578bec8 (HAVE_INDEX, HAVE_RINDEX, HAVE_STRINGS_H): Add undefs. 2000-08-28 15:04:04 +00:00