1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-05 20:43:08 +00:00

787 Commits

Author SHA1 Message Date
Gerd Moellmann
a47b7816d6 *** empty log message *** 2001-01-26 10:26:19 +00:00
Gerd Moellmann
995d76897c (matching_regexp_buffer, matching_regexp_end_buf):
New variables.
(matching_regexp): Use them instead of static variables in
function scope.
2001-01-26 09:32:03 +00:00
Francesco Potortì
b2521b0abb Many small improvements in tagging accuracy and capability,
better tagging of DEFUNs, code cleanups.

2001-01-25  Francesco Potorti`  <pot@potorti.it>

	* etags.c (struct tok): Renamed from struct token.
	(token): Renamed from tok.
	(structtype): Make it a local variable.
	[DEBUG]: Use assert.
	(xrnew): Change the synopsis.
	(typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
	(grow_linebuffer): Don't call xrnew when not needed.
	(token): buffer renamed to line.
	(C_entries): Three calls to inibuffer moved here from main.
	(C_entries): Removed all references to var methodlen, delete it.
	(linebuffer_setlen): Was grow_buffer, now also sets len.
	(consider_token, C_entries, Pascal_functions): Use it.
	(C_entries): Preventing problems relative to extern "C".
	(C_entries): Can tag more than one variable or func separated by
	comma when --declarations is used.
	(C_entries): More accurate tagging of members and declarations.
	(yacc_rules): Was global, made local to C_entries.
	(next_token_is_func): Removed.
	(fvdef): New constants fdefunkey, fdefunname.
	(consider_token, C_entries): Use them.
	(C_entries): Build proper lisp names for Emacs DEFUNs.
2001-01-25 18:19:57 +00:00
Francesco Potortì
d22a24fa26 Many small improvements in etags. 2001-01-25 18:19:07 +00:00
Eli Zaretskii
47df1a5e81 Move here the entry for etags.c from 2000-01-14 which somehow
ended up in etc/Changelog.
2001-01-25 12:26:24 +00:00
Gerd Moellmann
21c2bbe069 *** empty log message *** 2001-01-22 12:01:21 +00:00
Gerd Moellmann
57b4c82e8e (xfree): New function.
(member, declaration, globals): Use xmalloc instead of alloca.
2001-01-22 11:52:45 +00:00
Francesco Potortì
f96467d8f2 2000-05-31 Karl M. Hegbloom <karlheg@debian.org>
* etags.1: correct several markup errors.
2001-01-15 10:35:16 +00:00
Francesco Potortì
6bfeebef39 *** empty log message *** 2001-01-15 08:59:15 +00:00
Francesco Potortì
83be933cf9 2001-01-15 Francesco Potorti` <pot@pot.cnuce.cnr.it>
* etags.c (print_language_names): Print filenames in addition to
	suffixes.
2001-01-15 08:57:56 +00:00
Francesco Potortì
89d57763af Changes for makefile support in etags. 2001-01-14 20:48:05 +00:00
Gerd Moellmann
291c7e74d2 (write_c_args): Print newlines as spaces. 2001-01-13 16:49:49 +00:00
Andrew Innes
0dac692454 *** empty log message *** 2001-01-06 21:38:18 +00:00
Andrew Innes
5cdd7eef66 (clean): Delete $(COMPILER_TEMP_FILES) instead
of *.pdb.
2001-01-06 21:36:39 +00:00
Gerd Moellmann
3e99d3b4c9 *** empty log message *** 2001-01-03 12:53:05 +00:00
Gerd Moellmann
38186d678f Avoid security hole allowing attacker to
cause user of rcs2log to overwrite arbitrary files, fixing
a bug reported by Morten Welinder.

Don't put "exit 1" at the end of the exit trap; it's
ineffective in POSIX shells.
2001-01-03 12:04:06 +00:00
Eli Zaretskii
d5c00476b2 Fix email address of my last entry. 2001-01-02 15:39:32 +00:00
Gerd Moellmann
d6bb0c0d88 *** empty log message *** 2001-01-02 15:32:59 +00:00
Gerd Moellmann
e6a0814f18 (yyerror): Changed to take two arguments. Prototype
added.  Callers changed.
2001-01-02 14:32:37 +00:00
Eli Zaretskii
315f5865d4 *** empty log message *** 2001-01-02 14:27:49 +00:00
Eli Zaretskii
3a57e86683 (enter_namespace, main): Cast variables to shut up
compiler warnings.
(yyerror): Change parameter declarations to be of type long, so
that they can take pointers on 64-bit platforms.
2001-01-02 13:53:32 +00:00
Eli Zaretskii
571512dece (main): Remove unused local variable statbfr.
(main) <homedir>: Make its declaration conditional on
SERVER_HOME_DIR, to avoid compiler warnings.
2001-01-02 13:52:48 +00:00
Eli Zaretskii
317ad01ee7 (main) <homedir>: Make its declaration conditional
on SERVER_HOME_DIR, to avoid compiler warnings.
2001-01-02 13:52:04 +00:00
Eli Zaretskii
26df3bb0b9 (readline): Cast buffer to "long *" to pacify
over-zealous compilers.
2001-01-02 13:51:07 +00:00
Eli Zaretskii
7c89ea61cb (canonicalize_filename) [DOS_NT]: Fix last change. 2000-12-16 17:46:59 +00:00
Gerd Moellmann
a6768cc572 *** empty log message *** 2000-12-15 15:06:57 +00:00
Gerd Moellmann
db3a495ec0 (operator_name): Cast argument of isalpha to
unsigned char.
2000-12-15 14:33:39 +00:00
Gerd Moellmann
859cbb401c (get_keyword): Make sure that isspace and
similar aren't called with a negative argument.
2000-12-15 14:33:25 +00:00
Gerd Moellmann
af03e6abc1 (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
Use them throughout instead of ctype functions/macros.
(lowcase): Cast to unsigned char.
(UPCASE): New macro.
(canonicalize_filename): Use UPCASE instead toupper.
2000-12-15 14:32:55 +00:00
Dave Love
70de49cc69 *** empty log message *** 2000-12-13 17:47:35 +00:00
Dave Love
f94b82d970 (ensure_scope_buffer_room): Fix xrealloc call. 2000-12-13 17:47:18 +00:00
Dave Love
e7cff5504b Fix copyright years. 2000-12-06 20:24:23 +00:00
Andrew Innes
4e8b894ce4 *** empty log message *** 2000-12-06 13:43:00 +00:00
Andrew Innes
e260c47a5a (LOCAL_FLAGS): Remove -DVERSION flag, since we
don't know the real version, and I can't seem to get the quoting
right in all circumstances.
2000-12-06 13:42:48 +00:00
Andrew Innes
2fe9a71c60 (VERSION): Provide default definition, like etags.c
does, because Windows build can't snarf this from version.el.
2000-12-06 13:42:18 +00:00
Andrew Innes
88257bc85f ($(BLD)/ebrowse.exe): Use tabs not spaces.
(install): Ditto.
2000-11-30 11:57:36 +00:00
Jason Rumney
d19249e734 (ebrowse): New target.
(LOCAL_FLAGS): Add -DVERSION flag.
2000-11-23 20:56:49 +00:00
Dave Love
38748acaa2 Fix comment. 2000-11-10 19:43:55 +00:00
Dave Love
7df6adc3c7 *** empty log message *** 2000-09-25 18:32:40 +00:00
Dave Love
13688fb928 Include config.h.
[!HAVE_STDLIB_H]: Declare malloc.
2000-09-25 17:39:03 +00:00
Gerd Moellmann
6567e9b550 *** empty log message *** 2000-09-25 15:42:25 +00:00
Gerd Moellmann
1b24b88816 *** empty log message *** 2000-09-21 15:08:55 +00:00
Andrew Innes
fe83b953b1 *** empty log message *** 2000-09-14 22:00:54 +00:00
Andrew Innes
7bbaaeddf0 Revert to Unix line endings. 2000-09-14 21:59:59 +00:00
Dave Love
517699cac6 (index, rindex): Prototype conditionally. 2000-09-04 15:26:16 +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
Eli Zaretskii
4034f3a877 Fix a typo in the last entry for movemail.c. 2000-09-01 17:32:10 +00:00
Dave Love
f678f592f2 *** empty log message *** 2000-09-01 14:06:45 +00:00
Eli Zaretskii
f72adc12d5 (toplevel): Remove redundant <fcntl.h>. Provide definitions for F_OK
and friends only after including both fcntl.h and unistd.h: some
systems define them on unistd.h.
2000-09-01 13:50:50 +00:00