1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 19:31:02 -08:00
Commit graph

12221 commits

Author SHA1 Message Date
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
Gerd Moellmann
c6ac3c3a67 (bcopy, bzero, bcmp): Don't define. 2000-08-28 15:03:56 +00:00
Gerd Moellmann
1f4ecd6b72 (index): Define only if not HAVE_INDEX.
(rindex): Define only if !HAVE_RINDEX.
2000-08-28 15:03:42 +00:00
Gerd Moellmann
a847af86f5 (toplevel) [HAVE_STRING_H]: Include string.h.
(toplevel) [HAVE_STRINGS_H]: Include strings.h.
(index): Remove prototypes which might conflict with non-standard
definitions of index/strchr.
2000-08-28 15:03:29 +00:00
Miles Bader
871882002a (merge_face_vectors):
Clear TO's :font attribute if made inconsistent by a font-related attribute in FROM.
(merge_face_inheritance):
  Add function comment.
2000-08-28 14:42:49 +00:00
Eli Zaretskii
8b4baa7be4 Fix a typo in a comment. 2000-08-28 03:32:42 +00:00
Kenichi Handa
41a68aef3c *** empty log message *** 2000-08-28 01:53:53 +00:00
Kenichi Handa
7735786b8e (read_char_minibuf_menu_prompt): Call read_char with
the 4th arg (PREV_EVENT) Qt to suppress input method.
2000-08-28 01:32:15 +00:00
Stefan Monnier
0b32bf0e34 * regex.c: Indent cpp directives and remove parens after `defined'.
(PTR_TO_OFFSET, POS_AS_IN_BUFFER): Move to a better place.
(ISDIGIT, ISCNTRL, ISXDIGIT) [!emacs]: Remove duplicate definition.
(regex_compile): Use RE_FRUGAL instead of RE_ALL_GREEDY.
(re_compile_pattern): Use size_t for length.
(init_syntax_once): Move to a better place.
* regex.h: Merge changes from GNU libc.  Indent cpp directives.
(RE_FRUGAL): Replaces RE_ALL_GREEDY (inverted meaning).
2000-08-28 00:37:50 +00:00
Stefan Monnier
f7c436c1c8 (back_comment): Detect cases where a comment-starter is
actually inside another comment as in:   /* a // b */ c // d \n.
Make it clear that `comstart_pos' is unused for nested comments.
2000-08-27 17:44:59 +00:00
Stefan Monnier
5749539688 (store_in_keymap, fix_submap_inheritance): New prototypes.
(KEYMAPP): New macro.
(Fkeymap_parent, Fset_keymap_parent): Use it.
(fix_submap_inheritance): Mark it static.
(define_as_prefix, describe_buffer_bindings, describe_command)
(describe_translation, describe_map): Complete prototypes.
2000-08-27 16:21:55 +00:00
Stefan Monnier
1b6be00882 (store_in_keymap, fix_submap_inheritance): Remove. 2000-08-27 15:50:49 +00:00
Stefan Monnier
9cd2ced769 (menu_bar_item): Detect duplicate entries for all items
to better match the key-lookup behavior.
2000-08-27 15:47:59 +00:00