Commit graph

998 commits

Author SHA1 Message Date
Francesco Potortì
76fecdffbb * etags.c (analyse_regex): If regex_arg is NULL, return
immediately after a call to free_patterns.
2001-09-17 15:47:23 +00:00
Paul Eggert
1bd57c3956 (Help, mainline code): Add new option -L FILE.
(Copyright): Update year.

(LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES,
LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the C locale.

(mainline code): Handle nonstandard -u option differently, by
transforming it to standard form.  Check for "Working file: ", not
"Working file:".  Allow file names with spaces.

(SOH, rlogfile): New shell vars.
(rlogout): Remove.  Its old functionality is mostly migrated to rlogfile.

Append ';;' to the last arm of every case statement, for portability to
ancient broken BSD shells.

(logins): Fix bug; was not being computed at all, lowering performance.

(pository): New var.  This fixes some bugs where repositories are
remote, or have trailing slashes.

(authors): $llogout is never an empty shell var, so don't worry about that
possibility.

(printlogline, mainline code): Fix bug with SOH's being put into the output.
2001-09-05 23:07:46 +00:00
Gerd Moellmann
0e4011d8ec *** empty log message *** 2001-09-05 10:22:00 +00:00
Eli Zaretskii
75c911eb15 (SEEK_END): #define if not defined by system headers.
Suggested by Dave Love <d.love@dl.ac.uk>.
2001-09-01 18:22:38 +00:00
Eli Zaretskii
5ae10f4ab7 (lisp): Synchronize with src/Makefile.in. 2001-08-29 13:06:42 +00:00
Eli Zaretskii
a10192f44d Fix a typo in a comment. 2001-08-09 17:40:59 +00:00
Gerd Moellmann
e743f5996e *** empty log message *** 2001-07-25 13:00:42 +00:00
Gerd Moellmann
3205760ab3 (parse_changelog): Remove unused local variable.
(main): Add new option --reverse.
(print_log): Use it.
(parse_changelog): Use it.
2001-07-25 13:00:30 +00:00
Gerd Moellmann
3c88ae74e3 Remove RCS Id keyword. 2001-07-20 11:06:50 +00:00
Gerd Moellmann
db3cd0aeda (main, parse_changelog): Make "use strict"-clean. 2001-07-20 11:05:57 +00:00
Gerd Moellmann
6e07c0a573 *** empty log message *** 2001-07-20 10:04:36 +00:00
Gerd Moellmann
3eb7ddf329 (parse_changelog): Add another test for defined value to
quiet warnings from Perl 5.005 and above.
2001-07-20 10:04:17 +00:00
Gerd Moellmann
177ab8cec1 *** empty log message *** 2001-07-20 10:02:19 +00:00
Gerd Moellmann
b6a6731a9b (entry_match_p, header_match_p): Fix handling of null or empty
argument to prevent duplicate headers.
2001-07-20 10:02:06 +00:00
Gerd Moellmann
41848daa76 (parse_changelog): Add test for defined value to
quiet warning from Perl 5.005 or above.
2001-07-20 09:59:34 +00:00
Gerd Moellmann
daecaf5da2 Update copyright notice. 2001-07-20 09:05:26 +00:00
Gerd Moellmann
467f120972 *** empty log message *** 2001-07-17 10:57:38 +00:00
Gerd Moellmann
8b8f50f810 (print_help_and_exit): Fix help message for
+LINE:COLUMN option.

(main): Add support for +LINE:COLUMN command line
argument.
2001-07-17 10:57:25 +00:00
Gerd Moellmann
bb24c64f41 *** empty log message *** 2001-07-16 11:54:17 +00:00
Gerd Moellmann
8e4b384ede (main): Check that the output file exists and
is non-empty if invoked with `--append'.
2001-07-16 11:20:25 +00:00
Ken Raeburn
ad78255132 properly mark Attic files as deleted 2001-07-06 08:41:36 +00:00
Eli Zaretskii
d2fdb7a805 Add fns.el, which is produced on MS-DOS instead of fns-*.el. 2001-06-29 16:42:52 +00:00
Francesco Potortì
357da0ed2f Redundant file removed. Use etc/etags.1 2001-05-17 13:08:18 +00:00
Gerd Moellmann
e335b66af5 *** empty log message *** 2001-05-15 10:42:45 +00:00
Francesco Potortì
fa82947011 Small etags.c and etags.1 changes. 2001-05-14 12:58:29 +00:00
Francesco Potortì
7e88eb250e (add_regex): Reset the whole newly allocated pattern buffer instead of
the individual members.  It's safer and works with Xemacs.
2001-05-14 12:57:11 +00:00
Francesco Potortì
2e98c9c87f Markups corrected. 2001-05-14 12:53:48 +00:00
Eli Zaretskii
2a482fd745 Remove the entry for the 19.34 release. RMS says it was done on a branch. 2001-05-11 09:10:48 +00:00
Gerd Moellmann
3e057f36a0 Remove log entries for 20.5 .. 20.7. 2001-05-09 09:50:49 +00:00
Gerd Moellmann
6da5c7da1d *** empty log message *** 2001-05-08 11:25:24 +00:00
Gerd Moellmann
04dae60b46 (enter_namespace): Fix reallocation of
namespace_stack.
2001-05-08 11:25:01 +00:00
Gerd Moellmann
cc863bb799 Update copyright notice. 2001-05-07 10:23:58 +00:00
Eli Zaretskii
e8918aee02 *** empty log message *** 2001-05-04 17:50:11 +00:00
Gerd Moellmann
efbecf9d71 (globals): Fix handling of namespace aliases. 2001-05-03 11:57:57 +00:00
Eli Zaretskii
f4976ebcea (print_help): Enclose the regexp in the help text example in quotes. 2001-04-27 13:36:06 +00:00
Dave Love
23431241d4 (fail): Don't return a value.
(main): Cast uid values for sprintf.
2001-04-05 18:46:47 +00:00
Gerd Moellmann
b3f6107b74 *** empty log message *** 2001-04-03 13:52:16 +00:00
Gerd Moellmann
de073ce36f (fail, main): Don't use implicit int return type. 2001-04-03 13:37:23 +00:00
Gerd Moellmann
476bf6811c *** empty log message *** 2001-04-03 13:34:06 +00:00
Gerd Moellmann
3a2133566a (main): Always return a value. 2001-04-03 13:33:45 +00:00
Gerd Moellmann
ef53d75e82 *** empty log message *** 2001-03-02 13:32:05 +00:00
Gerd Moellmann
1727db8c85 (parse_qualified_param_ident_or_type): Return a
freshly allocated object in *LAST_ID.
(read_line): Accept \r\n line endings.
2001-03-02 12:34:45 +00:00
Francesco Potortì
c2a642c067 Corrected latest etags.c entry. 2001-02-26 11:24:02 +00:00
Andrew Innes
425de3869d *** empty log message *** 2001-02-24 22:12:00 +00:00
Andrew Innes
53b67fa093 Fix copyright notice. 2001-02-24 22:11:00 +00:00
Francesco Potortì
f55ae59994 When in autodetect mode, switch to C++ when the template keyword is met 2001-02-23 18:19:25 +00:00
Andrew Innes
f6839838d0 *** empty log message *** 2001-02-22 23:26:41 +00:00
Andrew Innes
252ce60dcc ($(BLD)/movemail.$(O)): Remove reference to
VMS header files.
($(BLD)/profile.$(O)): Ditto.
2001-02-22 23:25:18 +00:00
Andrew Innes
7e6e14eed0 ($(BLD)\movemail.obj): Remove reference to
VMS header files.
($(BLD)\profile.obj): Ditto.
2001-02-22 23:24:52 +00:00
Gerd Moellmann
b3ae7a0a1e Add copyright notice. 2001-02-20 13:36:21 +00:00
Francesco Potortì
7df65e9168 Correct recent instances of my mail address to
Francesco Potorti` <pot@gnu.org>
2001-02-08 10:25:31 +00:00
Andrew Innes
193fba8770 *** empty log message *** 2001-02-05 16:59:20 +00:00
Andrew Innes
7a0952506f ($(DOC)): Use $(THISDIR) instead of . in
invocation of make-docfile, to work with Windows 2000.
2001-02-05 16:56:32 +00:00
Francesco Potortì
822e6123ab Modified some comments.
Resumed the correct pot version number.
Going to version 3.
2001-01-31 14:52:04 +00:00
Dave Love
30526cc67c (in_word_set): Use `static' in definition (for pcc). 2001-01-31 13:50:02 +00:00
Francesco Potortì
8f79fe7269 Work around small preprocessor bugs in sunos4 pcc and MinGW. 2001-01-31 08:53:56 +00:00
Andrew Innes
914d725857 (assert) [__MINGW32__]: Redefine assert to work around a
bug in the Mingw32 assert.h header file.
2001-01-30 18:11:56 +00:00
Francesco Potortì
b28e26be41 Comment updates to etags.c
C macros changes to etags.c for the sake of standalone building and
Xemacs building.  Does not affect building under Emacs.
2001-01-30 17:22:09 +00:00
Francesco Potortì
8c463abe32 Many changes to the parsing capabilities of etags.
The -C or -c++ options are now mostly obsolete.
Can delve at arbitrary deeps into structures of C-like languages.
2001-01-28 16:14:04 +00:00
Eli Zaretskii
e26f9ced78 *** empty log message *** 2001-01-27 17:19:52 +00:00
Eli Zaretskii
76a91ae21a Add a coding: tag. 2001-01-27 17:18:52 +00:00
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
Eli Zaretskii
5b671d04e7 *** empty log message *** 2000-08-29 17:24:56 +00:00
Dave Love
fab407405d Revert previous change. 2000-08-29 17:15:31 +00:00
Eli Zaretskii
efa21132ae (profile, make-docfile, hexl): Depend on config.h. 2000-08-29 17:12:42 +00:00
Dave Love
6fa8604559 *** empty log message *** 2000-08-28 18:56:48 +00:00
Dave Love
cc3b64e8ff (toplevel) [HAVE_STRING_H]: Include string.h.
(toplevel) [HAVE_STRINGS_H]: Include strings.h.
2000-08-28 18:56:15 +00:00
Andrew Innes
b329cc1549 fix line endings 2000-08-23 21:41:37 +00:00
Andrew Innes
746d9caf8b *** empty log message *** 2000-08-22 21:57:09 +00:00
Andrew Innes
afffac4667 (WIN32): Remove unnecessary definition.
(sleep): Make argument unsigned long.
(_WINSOCK_H): Undefine so normal winsock definitions can be used.
2000-08-22 21:24:06 +00:00
Andrew Innes
c09c2c9995 (sleep): Make argument unsigned long. 2000-08-22 21:22:20 +00:00
Andrew Innes
9112a2a976 (main) [WINDOWSNT]: Force binary mode for fileio. 2000-08-22 21:20:07 +00:00
Kenichi Handa
6922b01802 *** empty log message *** 2000-08-21 01:39:25 +00:00
Eli Zaretskii
3b5414898b (canonicalize_filename) [DOS_NT]: Upcase the first
letter only if it is a drive letter.
2000-08-20 08:30:05 +00:00
Gerd Moellmann
e5acf0cab8 *** empty log message *** 2000-07-14 18:03:02 +00:00
Gerd Moellmann
c43a1ff693 (xrealloc, xmalloc): Renamed from yrealloc and
ymalloc.
2000-07-14 17:59:55 +00:00
Gerd Moellmann
9bd7c104af (xmalloc, xrealloc): Make externally visible, for use
by alloca.o.
2000-07-14 17:59:42 +00:00
Gerd Moellmann
32b4c0e90b (alloca.o): Add -Demacs so that alloca will use
xmalloc.
2000-07-14 17:59:27 +00:00
Gerd Moellmann
4b92c49a81 *** empty log message *** 2000-07-10 20:38:23 +00:00
Gerd Moellmann
d65b057138 (yylex): Accept string literals with newlines in them.
(process_pp_line): Handle case of string literal with newline
in it in replacement text, which counts as continuing the
replacement text in GNU C.
2000-07-10 20:36:58 +00:00
Gerd Moellmann
831a6cb01c *** empty log message *** 2000-07-03 07:51:52 +00:00
Gerd Moellmann
2faf048a41 (token_string): Add missing tokens.
(parm_list): Handle case of qualified pointers.
2000-07-03 07:50:42 +00:00
Dave Love
53245ee2d1 Move config.h before other includes (which may use feature tests). 2000-06-23 11:36:52 +00:00
Dave Love
a47bf6480c comment 2000-06-20 13:27:11 +00:00
Jim Meyering
dcbf2cd238 . 2000-06-14 07:10:26 +00:00
Jim Meyering
2ca8a58743 Fix typos in comments. Remove trailing blanks. 2000-06-14 07:09:42 +00:00
Jason Rumney
f1c7754a42 *** empty log message *** 2000-06-11 21:00:57 +00:00
Jason Rumney
d4bd593f07 Added targets for ebrowse. 2000-06-11 20:53:47 +00:00
Jason Rumney
945499122b [WINDOWS-NT]: Use stricmp rather than strcasecmp to compare filenames. 2000-06-11 20:35:07 +00:00
Gerd Moellmann
5f1aea9aa7 *** empty log message *** 2000-06-06 10:39:20 +00:00
Gerd Moellmann
9aa665aab5 (ymalloc): Renamed from xmalloc.
(yrealloc): Renamed from xrealloc.
2000-06-06 10:39:01 +00:00
Dave Love
5bf244f1c6 (ERROR_MAX): Increase to 160. 2000-05-21 11:07:47 +00:00
Dave Love
752fb47256 Include config.h, not ../src/config.h.
(Errmsg): Bump length.
2000-05-21 11:02:50 +00:00
Gerd Moellmann
056565f7fb *** empty log message *** 2000-05-05 13:22:19 +00:00
Gerd Moellmann
ec82fb2f40 *** empty log message *** 2000-05-04 21:52:38 +00:00
Gerd Moellmann
42eaac2125 (DEFAULT_OUTFILE): Set to `BROWSE'. 2000-05-04 21:48:52 +00:00
Eli Zaretskii
5c922ea7e8 *** empty log message *** 2000-05-02 11:57:06 +00:00
Eli Zaretskii
fd72561d60 (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]: Define
to semi-colon.
(FILENAME_EQ): New macro, for comparing file names.
(add_member_decl, add_global_decl, add_member_defn): Use
FILENAME_EQ.
(process_file): Don't assume that fread always reads as many bytes
as it was told to (DOS-style CR-LF text files fail this logic).
(open_file): Allocate enough space for path->path plus the file
name and the slash.
2000-05-02 11:01:29 +00:00
Dave Love
6142fdcb58 *** empty log message *** 2000-04-19 22:45:31 +00:00
Dave Love
97052c635f (Texinfo_functions): New function.
(lang_names): Install it.
(Texinfo_suffixes): New variable.
2000-04-19 21:51:46 +00:00
Gerd Moellmann
cb9215e4f3 *** empty log message *** 2000-04-19 14:37:02 +00:00
Gerd Moellmann
8bef35f23a (xmalloc, xrealloc): Rewritten.
(declaration): Remove parameter IS_EXTERN.
(class_definition): Remove unused variable.
2000-04-19 14:30:52 +00:00
Stefan Monnier
8d2259b9a2 Add `ebrowse'. 2000-04-16 20:13:23 +00:00
Gerd Moellmann
be0dbdab00 *** empty log message *** 2000-04-09 11:15:57 +00:00
Gerd Moellmann
adb0a8d333 (INSTALLABLES): Add ebrowse.
(ebrowse): New target.
2000-04-09 10:53:05 +00:00
Andreas Schwab
c5aa0fc289 . 2000-03-29 21:34:46 +00:00
Andreas Schwab
34e778a67d (scan_lisp_file): Also look for `defsubst'. 2000-03-29 21:32:12 +00:00
Gerd Moellmann
d054101fd8 *** empty log message *** 2000-03-02 09:49:52 +00:00
Gerd Moellmann
bc8d4d8c42 (lisp_suffixes) Add `LSP'. 2000-03-02 09:48:52 +00:00
Francesco Potortì
71cbb89543 2000-02-10 Francesco Potorti` <pot@gnu.org>
* etags.c (iswhite): Redefined not to consider '\0' as white
	space, and use it throughout in place of isspace, thus preventing a
	potential signed char to int conversion problem.
	(MSDOS): #undefine befere redefining

2000-02-04  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>

	* etags.c (many functions): Add prototypes.
2000-02-10 21:28:51 +00:00
Dave Love
97fa0cc812 *** empty log message *** 2000-02-10 20:28:26 +00:00
Dave Love
0dacfc4b8a (pfnote, new_pfnote, C_entries, prolog_pred, erlang_func): Add
`static' to definitions to keep pcc happy.
2000-02-10 20:00:05 +00:00
Andrew Innes
a75dfea0a5 * dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM,
around image definitions and prototypes.
(gamma_correct) [WINDOWSNT]: New prototype.

* w32term.c (x_make_frame_visible): Replace call to
input_poll_signal with poll_for_input.

* window.c [WINDOWSNT]: Include w32term.h.

* xdisp.c [WINDOWSNT]: Include w32term.h.

* makefile.nt: Add dependencies on w32gui.h.
(OBJ1): Include atimer.obj.
($(BLD)\atimer.obj): New dependency rule.

* w32.c (sigmask): New function (does nothing).
(sigunblock): Ditto.

* frame.c [WINDOWSNT]: Include w32term.h.

* w32gui.h (struct W32FontStruct): Add ascent and descent slots.

* lread.c (syms_of_lread): Fix literal newlines.

* emacs.c (USAGE): Split into USAGE1 and USAGE2, to work-around
the string constant limit (2048 bytes) in MSVC.
(main): Ditto.
2000-02-06 23:37:51 +00:00
Andrew Innes
3191b14267 (ETAGSOBJ): Remove reference to obsolete alloca.obj.
(CTAGSOBJ): Ditto.
($$(BLD)\alloca.obj): Delete obsolete dependency rule.
2000-02-06 23:36:06 +00:00
Francesco Potortì
19e262bd59 Typos corrected for etags 2000-02-03 13:20:50 +00:00
Francesco Potortì
e4100b7f37 etags 2000-02-03 12:00:56 +00:00
Francesco Potortì
944bdd7208 2000-01-31 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
* etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
	(get_compressor_from_suffix, process_file): Use MSDOS in if clause.
	(etags_strchr, etags_strrchr): Use const char * and int as arguments.
	(getenv, getcwd): Only declare them if necessary.
	(EMACS_NAME): New constant macro.
	(print_version): Use it.
	(P_) [__STDC__]: Macro for defining function prototypes.
	(all functions): Made them static.

2000-01-18  Fabrice Popineau  <Fabrice.Popineau@supelec.fr>

	* etags.c [WINDOWSNT]: #include <direct.h>

2000-01-18  Martin Buchholz  <martin@xemacs.org>

	* etags.c: Prototypes and static for all the functions.
2000-02-03 11:58:48 +00:00
Richard M. Stallman
4b265472d6 Fix previous change. 2000-01-29 23:53:44 +00:00
Richard M. Stallman
55e30d2abd (main): Improve error message if can't create lock file. 2000-01-29 23:52:29 +00:00
Gerd Moellmann
875c14394f *** empty log message *** 2000-01-28 15:02:45 +00:00
Gerd Moellmann
9f637eea61 (socket_status): New function.
(main): if $LOGNAME or $USER exist and differ from our euid, look
for a socket based on the UID associated with the name.
2000-01-28 15:02:20 +00:00
Gerd Moellmann
e4936aa97c *** empty log message *** 2000-01-12 14:16:29 +00:00
Gerd Moellmann
97e3214d1d Add option -a EDITOR and environment variable
ALTERNATE_EDITOR.  Exec this editor if we fail to contact Emacs.
2000-01-12 13:38:54 +00:00
Gerd Moellmann
791a90877b *** empty log message *** 1999-12-10 09:55:29 +00:00
Gerd Moellmann
476b279958 (popmail): Allow mailbox specifications of the
form `po:username:hostname'.
1999-12-10 09:53:01 +00:00
Francesco Potortì
c8b04710a0 1999-11-19 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
* etags.c (_GNU_SOURCE): Define only if undefined.
	(get_scheme): Declaration deleted.
	(main): error was called with an integer as second arg, instead of
	a char pointer.
	(canonicalize_filename): Bug removed.

1999-11-18  Dave Love  <d.love@dl.ac.uk>

	* etags.c (C_entries): Rename label `intoken', avoiding K&R
	lossage from name clash with macro.
1999-11-19 12:46:32 +00:00
Francesco Potortì
e208136267 etags bug fixes 1999-11-19 12:45:11 +00:00
Gerd Moellmann
b05d3bee50 *** empty log message *** 1999-11-13 23:42:59 +00:00
Gerd Moellmann
fa52fcb511 (b2m): Add dependency on GETOPTDEPS. 1999-11-13 22:47:19 +00:00
Francesco Potortì
ba65dba8bb Changed the mail addess of the maintainer. 1999-11-03 23:13:10 +00:00
Gerd Moellmann
cb3a6c483b *** empty log message *** 1999-11-03 13:47:00 +00:00
Gerd Moellmann
a5c7ef8bc4 * etags.c (print_help): Change email address to send bugs to. 1999-11-03 13:09:07 +00:00
Francesco Potortì
93b7ac65fc Checked in at last a lot of improvementes and bug fixes. The oldest dating
back to 1997-06-04.  Please look at Changelog for details.  Main changes
are:

- lots of code cleanups and optimizations
- --globals is used not only for C-like languages
- new option --ignore-case-regex
- understands "operator" in C++
- support DOS file names by handling e.g. foo.cgz as if it were foo.c.gz.
- Fortran: no tags for "procedure"
- new option --declarations
- regular expressions can be read from a file
- regular expressions can be bound to a given language
- Ada and Python languages added
- my and local variables recognised in Perl
- "(defstruct (foo", "(defun (operator" and similar Lisp constructs
- interface in Java
1999-11-01 02:48:57 +00:00
Francesco Potortì
1c4784614e *** empty log message *** 1999-11-01 02:47:08 +00:00
Paul Eggert
4ee9629e2b Add support for large files. Merge glibc 2.1.2.
* b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
movemail.c, pop.c:
Do not include <stdlib.h>, as <config.h> does this now.

* b2m.c, emacsserver.c, etags.c, profile.c:
Include <config.h> before any system include files.

* emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
test-distrib.c:
(read, write, open, close): Do not undef.

* getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
(const): Do not define if HAVE_CONFIG_H; that's config.h's job.

* getopt.h: Adopt glibc 2.1.2.
1999-10-19 07:17:20 +00:00
Dave Love
c4dcdc9ce6 # 1999-10-17 09:55:57 +00:00
Dave Love
93c8d183ee (pop.o): Depend on config.h. 1999-10-15 15:48:53 +00:00
Dave Love
9832d51d60 Avoid strneq. 1999-10-11 17:14:12 +00:00
Gerd Moellmann
b358f91c16 Use "pop3" as the POP service name on all platforms,
instead of using "pop" on Unix and "pop3" on Windows NT.  "pop3"
has been the standard service name since RFC 1340 was published in
July 1992, so I think it's safe to start using it by default.
1999-10-10 23:09:04 +00:00
Phillip Rulon
74e4cb59f4 *** empty log message *** 1999-10-08 02:46:19 +00:00
Gerd Moellmann
577d9e2f1d *** empty log message *** 1999-10-07 00:36:36 +00:00
Dave Love
362bc2da50 # 1999-10-03 20:46:34 +00:00
Dave Love
b8098ef87f # 1999-10-01 12:43:57 +00:00
Dave Love
7e6972e92c (scan_lisp_file): Fix typo causing infloop. 1999-09-27 11:34:27 +00:00
Phillip Rulon
66f54605e1 patched by pjr from diff by rms 1999-09-24 13:52:46 +00:00
Dave Love
b0f08a24a4 Fix comment about conventions for Lisp files. 1999-09-04 11:25:13 +00:00
Richard M. Stallman
433d333d70 Include config.h not ../src/config.h.
(main, fopen, chdir): Add #undef.
(read_c_string, scan_c_file, skip_white, read_lisp_symbol)
(scan_lisp_file): Handle \r like \n.
1999-09-03 23:12:27 +00:00
Andreas Schwab
eed63914b0 Include <stdlib.h> if available. 1999-08-30 15:08:30 +00:00
Andreas Schwab
1ee65e5c81 Include <stdlib.h> if available. Don't declare errno if it's a macro. 1999-08-30 15:07:30 +00:00
Andreas Schwab
9ee8cf9e1a Include <unistd.h> if available. 1999-08-30 15:05:17 +00:00
Richard M. Stallman
4852ed0e72 (print_help_and_exit): Mention --version. 1999-08-29 19:30:53 +00:00