Francesco Potortì
49adb67ab2
* etags.c (Python_functions): Skip spaces at beginning of lines.
...
(Python_functions, PHP_functions): Name tags, for ctags' sake.
(TeX_commands): Name tags. Correction of old disabled code.
* etags.c (curfiledir, curtagfname): New global variables.
(process_file): Initialise them.
(readline): Canonicalize the name found in #line directive.
2002-03-12 13:31:57 +00:00
Francesco Potortì
4fff90e4ff
*** empty log message ***
2002-03-12 11:16:25 +00:00
Jason Rumney
893a741e97
*** empty log message ***
2002-03-06 23:20:04 +00:00
Jason Rumney
14ca7c9849
(put_entries): Use #if !CTAGS, to fix link error on
...
compilers that don't optimize out dead code.
2002-03-06 23:14:29 +00:00
Francesco Potortì
db59058201
* etags.c: Honour #line directives.
...
(no_line_directive): New global var; set it for old behaviour.
(main): Remove some #ifdef in the getopt switch.
(add_node, put_entries): Code added to merge different chunks of
nodes referring to the same file. Currently the tags are just
appended, without any check for duplicates.
(Perl_functions): Do not special case ctags.
(readline): Identify #line directives and do the right thing.
(nocharno, invalidcharno): New global vars.
(process_file): Reset nocharno.
(readline): Set nocharno.
(pfnote): Read nocharno and maybe put invalidcharno in node.
(total_size_of_entries, put_entries): Use invalidcharno.
* etags.c: Keep the whole tag table in memory, even in etags mode.
(main): Call put_entries here even in CTAGS mode.
(main, process_file): Check the return values of fclose and pclose.
(process_file): Do not call put_entries after parsing each file.
(process_file): Canonicalise file names even for ctags.
(process_file): Set curfile here...
(find_entries): ... not here any more.
(add_node): In etags mode, build a linked list of entries (on
right pointer) for each file, and link the first entry of each
file on left nodes.
(put_entries): Print here the name of the file.
(put_entries): Print the entries starting from the first file.
(number_len, total_size_of_entries): Define these only iin etags
mode, make the second work only on the right nodes.
* etags.c: Make all global variables static.
2002-03-05 11:28:26 +00:00
Francesco Potortì
51aeded3e6
*** empty log message ***
2002-03-05 11:27:51 +00:00
Juanma Barranquero
50ce1f6206
*** empty log message ***
2002-02-25 16:07:54 +00:00
Juanma Barranquero
e63e8d3ed3
Add missing backslash.
2002-02-25 15:47:41 +00:00
Jason Rumney
82a399d298
*** empty log message ***
2002-02-24 18:40:25 +00:00
Jason Rumney
7f379e5ba7
(WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to using .elc files.
...
(lisp): Sync with list in src/Makefile.in
(VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
2002-02-24 18:39:16 +00:00
Richard M. Stallman
95bc7904bc
*** empty log message ***
2002-02-15 20:01:30 +00:00
Paul Eggert
3c58afc555
Update copyright date.
2002-02-10 08:10:43 +00:00
Paul Eggert
a279c92001
* rcs-checkin: Use sort -k 2', not
sort +1', as POSIX 1003.1-2001
...
disallows the old syntax.
2002-02-10 08:09:53 +00:00
Paul Eggert
ca32301638
Use sort -k 2', not
sort +1', as POSIX 1003.1-2001
...
disallows the old syntax.
2002-02-10 08:08:59 +00:00
Paul Eggert
0caa685d66
* rcs2log(Copyright): Update to 2002.
...
(AWK, TMPDIR): Work around portability problem in broken shells that
don't understand `: ${VAR=val}'.
(SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
Prefer the new -k option to the traditional +M -N option.
2002-02-03 17:33:19 +00:00
Paul Eggert
b2ba2352ed
(Copyright): Update to 2002.
...
(AWK, TMPDIR): Work around portability problem in broken shells that
don't understand `: ${VAR=val}'.
(SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
Prefer the new -k option to the traditional +M -N option.
2002-02-03 17:31:31 +00:00
Pavel Janík
a00e9335a4
Remove unnecessary whitespaces.
2002-01-05 23:37:58 +00:00
Pavel Janík
03950b5baf
*** empty log message ***
2002-01-01 22:14:32 +00:00
Pavel Janík
25b18337e9
(main): Parenthesize assignment when used as truth value to prevent gcc
...
warnings.
2002-01-01 22:08:54 +00:00
Pavel Janík
4838e624ad
Include <config.h>.
2002-01-01 19:15:26 +00:00
Pavel Janík
80b2cbf263
Remove unnecessary whitespaces.
2001-12-30 22:09:01 +00:00
Pavel Janík
9d8f0a614a
Remove unnecessary whitespace.
2001-12-30 22:07:35 +00:00
Pavel Janík
2f8fe2f420
Include <config.h>.
2001-12-29 22:25:06 +00:00
Pavel Janík
f22d478515
Remove trailing whitespaces.
2001-12-29 22:21:10 +00:00
Francesco Potortì
eaaacacdf4
support for Perl packages
...
* etags.c (Perl_functions): Tag packages and use them in sub tags.
(get_tag): Return a pointer to the tag that is found.
general cleanup and streamlining
* etags.c (LOOKING_AT): Use !intoken instead of iswhite.
(F_takeprec): Renamed from takeprec. All callers changed.
(F_getit): Renamed from getit. All callers changed.
(nocase_tail): Renamed from tail. All callers changed.
(Ada_getit): Renamed from adagetit. All callers changed.
(L_getit): Simplified by using get_tag.
(Perl_functions, Postscript_functions, erlang_attribute): Use the
modified LOOKING_AT.
(notinname): Removed '[' and added ')' to the recognised chars.
(LOOKING_AT, get_tag, PHP_functions): Use notinname.
(Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
Clarified, using strneq or notinname.
(L_isdef, L_isquote): Removed.
(Lisp_functions, L_getit): Clarified.
changes for standalone compilation
* etags.c: (P_): Renamed to __P for consistency with config.h.
[HAVE_CONFIG_H]: Let config.h deal with __P.
[__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
[!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
gperf code needs it.
[HAVE_CONFIG_H] [!PTR]: Define PTR (for use with Xemacs).
[HAVE_CONFIG_H] [!__P]: Define __P (for use with Xemacs).
(xmalloc, xrealloc): Use PTR instead of long *.
(bool): Make it a define, not a typedef, for C++ compilers.
(pattern): Members renamed to avoid name clash in some C++ compilers.
(get_language_from_langname): Use const argument.
2001-12-26 22:11:21 +00:00
Francesco Potortì
a60e4de9e8
Etags.c:
...
support for Perl packages
general cleanup and streamlining
changes for standalone compilation
2001-12-26 22:07:34 +00:00
Francesco Potortì
13dc057682
Removed names of people from etags.c change log entries.
2001-12-26 21:56:47 +00:00
Pavel Janík
c95eaa61ce
*** empty log message ***
2001-12-22 14:18:08 +00:00
Pavel Janík
44eec52586
Remove mocklisp files.
2001-12-22 14:02:33 +00:00
Richard M. Stallman
a43dbef889
Comment change.
2001-12-22 03:17:24 +00:00
Richard M. Stallman
6666a3c378
*** empty log message ***
2001-12-22 03:16:49 +00:00
Richard M. Stallman
cdbf596449
Comment change.
2001-12-22 03:12:40 +00:00
Pavel Janík
594aa06631
Conditionally include config.h.
...
Clean-up whitespaces.
2001-12-19 07:26:31 +00:00
Pavel Janík
5b2b0b72d5
Clean-up whitespaces.
2001-12-19 07:24:46 +00:00
Pavel Janík
b8509940e9
Conditionally include config.h.
2001-12-19 07:23:54 +00:00
Pavel Janík
e69233c2de
Include "config.h", not <../src/config.h>.
...
(main): Parenthesize assignment when used as truth value to
prevent gcc warnings.
2001-12-19 07:21:17 +00:00
Pavel Janík
69bfc389e9
Include stdlib.h and string.h conditionally.
2001-12-19 06:03:57 +00:00
Eli Zaretskii
e4e34e31ef
*** empty log message ***
2001-12-18 17:56:11 +00:00
Eli Zaretskii
5a13a7ec04
(main): Use time_t, not long, to avoid a compiler warning.
2001-12-18 17:48:08 +00:00
Pavel Janík
ffb7c9c698
*** empty log message ***
2001-12-18 17:40:09 +00:00
Pavel Janík
af5cae0572
Fix previous change.
2001-12-18 17:39:22 +00:00
Dave Love
fb5aa7acba
*** empty log message ***
2001-12-18 16:47:01 +00:00
Dave Love
f0e8db05af
Conditionally include fcntl.h.
2001-12-18 16:02:14 +00:00
Dave Love
a33c19b172
Include "config.h", not <../src/config.h>.
...
(_XOPEN_SOURCE): Define as 500.
2001-12-18 16:01:11 +00:00
Dave Love
ba723d8e82
Include "config.h", not <../src/config.h>.
2001-12-18 16:00:01 +00:00
Dave Love
0b3b82868c
Include config.h, stdlib.h.
...
(xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
2001-12-18 15:59:09 +00:00
Dave Love
076a0ff7b1
Conditionally include various headers. Use "epaths.h",
...
not <../src/epaths.h>.
(malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
2001-12-18 15:57:02 +00:00
Francesco Potortì
e94a3679c5
Etags changes for Prolog and PHP.
2001-12-15 16:08:32 +00:00
Francesco Potortì
62aec606f5
* etags.c (PHP_functions): New function by Diez B. Roggisch,
...
heavily adapted by me, for parsing PHP.
(LOOKING_AT): New macro.
(Perl_functions, Python_functions, PHP_functions)
(Scheme_functions, Texinfo_nodes): Use it.
(Perl_functions): Use strneq.
(prolog_pred): Renamed to prolog_pr.
(prolog_pr): Recognise Prolog rules (thanks to Geert Kloosterman)
in addition to predicates.
[ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
unmodified compile, as Cygwin's regex.h is incompatible with us
(thanks to Markus Hoenicka).
[!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
2001-12-15 16:07:31 +00:00
Richard M. Stallman
34e39c9542
*** empty log message ***
2001-12-11 22:56:41 +00:00
Richard M. Stallman
1405e9d029
(clean): Don't delete ../etc/DOC*.
2001-12-11 22:55:45 +00:00
Pavel Janík
296071e768
*** empty log message ***
2001-12-11 07:47:16 +00:00
Pavel Janík
ebf97aaf84
Moved back.
2001-12-11 07:39:13 +00:00
Andrew Innes
76054cc876
(FACE_SUPPORT):
...
(MOUSE_SUPPORT):
(FLOAT_SUPPORT):
(WINNT_SUPPORT):
(lisp): Reference .el files instead of .elc files, to simplify
bootstrapping.
($(DOC)): Change dependency to just `make-docfile'.
2001-12-03 11:29:01 +00:00
Pavel Janík
0142178afa
*** empty log message ***
2001-11-29 17:44:17 +00:00
Pavel Janík
1d42cee4d0
Removed.
2001-11-29 17:37:03 +00:00
Paul Eggert
e8d6a09bd0
(Copyright): Add '(C)' as per coding guidelines.
...
The following changes are derived from suggestions by Bob Chapman
<rechapman@compuserve.com>.
(printlogline): Also allow tab and newline to separate
'(function):' from the rest of a comment.
(reformat the sorted log entries): Require date and author to
match the clumpname.
2001-11-28 23:55:08 +00:00
Gerd Moellmann
9a190096c7
*** empty log message ***
2001-11-16 11:10:53 +00:00
Gerd Moellmann
cbdf883147
(matching_regexp): Escape '\\'.
2001-11-16 10:48:38 +00:00
Pavel Janík
8ec1b917e7
*** empty log message ***
2001-11-15 20:49:01 +00:00
Pavel Janík
a4663feda2
Add support for --program-prefix, --program-suffix
...
and --program-transform-name options.
2001-11-15 20:37:20 +00:00
Pavel Janík
fb2d3129dc
Comment fixes.
2001-11-15 15:50:31 +00:00
Sam Steingold
dff28924e8
fixed format
2001-11-13 00:07:54 +00:00
Richard M. Stallman
6d8f7d5dd1
(xrealloc): Always pass two args to `fatal'.
2001-11-03 19:04:48 +00:00
Richard M. Stallman
08fa58c940
(popmail): Always pass two args to `error'.
2001-11-03 19:03:48 +00:00
Sam Steingold
5719bb6ff7
ignore *-spd and *.pdb for w32
2001-10-26 16:51:57 +00:00
Ken Raeburn
84e70f7869
fix build problems with krb5 and hesiod support
2001-10-24 22:54:38 +00:00
Gerd Moellmann
6aa97356aa
*** empty log message ***
2001-10-21 17:41:43 +00:00
Miles Bader
a3b10252a6
*** empty log message ***
2001-10-21 14:44:58 +00:00
Miles Bader
52d8c52976
(struct rcsoc_state): New type.
...
(read_c_string_or_comment): Use a variable of type `rcsoc_state' to hold
most of our state.
(put_char): Add STATE parameter, and remove all other parameters
except CH. Use STATE to get access to all needed state.
(scan_keyword_or_put_char): New function.
2001-10-21 13:48:16 +00:00
Miles Bader
386ca3619c
*** empty log message ***
2001-10-21 10:25:36 +00:00
Miles Bader
d097ad5744
(read_c_string_or_comment): Add SAW_USAGE parameter, and implement
...
scanning for a `usage:' keyword.
(scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
Don't output a usage-string if there was one in the doc string.
2001-10-21 09:21:46 +00:00
Gerd Moellmann
71431a0ea1
*** empty log message ***
2001-10-21 09:04:46 +00:00
Pavel Janík
37a9305ef3
Properly spell the name of Emacs.
2001-10-19 22:12:42 +00:00
Miles Bader
945220bdb2
*** empty log message ***
2001-10-17 03:33:11 +00:00
Miles Bader
0c82822ca0
(put_char): New function.
...
(read_c_string_or_comment): Strip trailing spaces and newlines.
2001-10-17 02:53:57 +00:00
Miles Bader
142425283b
*** empty log message ***
2001-10-16 13:09:06 +00:00
Miles Bader
a5979c0e89
(scan_c_file): Handle new style' doc strings in comments [with
doc:'
...
keyword prefix].
2001-10-16 13:05:28 +00:00
Gerd Moellmann
9f5eb4a318
*** empty log message ***
2001-10-15 10:12:29 +00:00
Gerd Moellmann
7dfd439c45
(read_c_string_or_comment): Don't drop a '*'
...
in a C doc comment.
2001-10-15 10:04:31 +00:00
Gerd Moellmann
e641b454cd
*** empty log message ***
2001-10-13 20:45:55 +00:00
Gerd Moellmann
74c55c82b6
(read_c_string_or_comment): Renamed from
...
read_c_string. Add parameter COMMENT. Read C-style comments.
(scan_c_file): Handle doc strings in C comments.
2001-10-13 20:41:25 +00:00
Andrew Innes
967d7793ca
*** empty log message ***
2001-10-12 13:19:35 +00:00
Andrew Innes
caf7e1d205
(install): Do not copy fakemail.
2001-10-12 13:18:58 +00:00
Andrew Innes
295c486989
(ALL): Do not include fakemail.
2001-10-12 13:18:38 +00:00
Jason Rumney
d682756a10
*** empty log message ***
2001-10-10 21:17:12 +00:00
Jason Rumney
d5c5d66a60
Don't install fakemail.
2001-10-10 21:11:23 +00:00
Jason Rumney
57854d7a44
Remove fakemail from ALL
2001-10-10 20:59:58 +00:00
Gerd Moellmann
ab952a4f34
*** empty log message ***
2001-10-10 09:43:20 +00:00
Gerd Moellmann
14a3dff75b
*** empty log message ***
2001-10-09 10:18:43 +00:00
Gerd Moellmann
cb1cdedd97
(main): Cast isdigit() argument to unsigned char.
...
From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
2001-10-09 10:18:30 +00:00
Gerd Moellmann
c3d7eab2ba
(main): Cast geteuid in sprintf to int.
...
From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
2001-10-09 10:16:26 +00:00
Pavel Janík
f98d41f520
Include config.h, not ../src/config.h and systime.h, not ../src/systime.h.
2001-10-08 04:52:12 +00:00
Gerd Moellmann
2a34a036ff
*** empty log message ***
2001-10-06 09:57:20 +00:00
André Spiegel
f2e7e23e00
#
2001-10-05 11:54:13 +00:00
Gerd Moellmann
12c6450376
*** empty log message ***
2001-10-01 07:31:59 +00:00
Gerd Moellmann
407094f443
(struct alias): Add two new struct members: NAMESP and
...
ALIASEE to help work with namespace aliases.
(struct sym): Remove struct member NAMESP_ALIASES.
(namespace_alias_table): New variable.
(make_namespace): Add parameter CONTEXT.
(check_namespace): New function.
(find_namespace): Add parameter CONTEXT.
(check_namespace_alias): New function.
(register_namespace_alias): Change type of parameter
OLD_NAME. Search for already defined alias in
NAMESPACE_ALIAS_TABLE.
(check_namespace): New function.
(enter_namespace): Call find_namespace with CONTEXT parameter.
(match_qualified_namespace_alias): New function.
(parse_qualified_ident_or_type): Fixed typo in comment. While
parsing qualified ident or type update namespace context and
restore it on exit.
(parse_qualified_param_ident_or_type): Fixed typo in comment.
(globals): Changed handling of namespace aliases.
(version): Added year 2001.
2001-10-01 07:25:14 +00:00
Francesco Potortì
990e1190eb
Etags dumped core whan using -R. Eli corrected this.
2001-09-17 15:48:23 +00:00
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