1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-02 11:21:42 +00:00
Commit Graph

1383 Commits

Author SHA1 Message Date
Lute Kamstra
a0ec7a4a17 *** empty log message *** 2005-07-05 12:22:32 +00:00
Lute Kamstra
364c38d3af Update FSF's address. 2005-07-04 15:47:28 +00:00
Lute Kamstra
83c4f946f7 Update FSF's address. 2005-07-02 15:46:32 +00:00
Eli Zaretskii
0e0dddda54 *** empty log message *** 2005-06-13 12:19:38 +00:00
Eli Zaretskii
cb6ccbc94b ($(DOC)): Fix last change. 2005-06-13 11:24:32 +00:00
Eli Zaretskii
5a77c8e23c ($(DOC)): Depend on make-docfile.exe, temacs.exe,
and the preloaded *.elc files.  This avoids unnecessary
dumping and DOC rebuilding.
2005-06-12 17:45:10 +00:00
Eli Zaretskii
1a8fb4262f *** empty log message *** 2005-06-04 20:40:00 +00:00
Eli Zaretskii
23bf9efbaa (fileno): Don't define if already defined. 2005-06-04 20:10:49 +00:00
Thien-Thi Nguyen
7235a58f70 (setup_yow): Use EXIT_FAILURE in case no separators found.
(yow): Use EXIT_FAILURE in case of memory error.
2005-05-25 14:17:42 +00:00
YAMAMOTO Mitsuharu
5063dbbf5a *** empty log message *** 2005-05-13 08:55:33 +00:00
YAMAMOTO Mitsuharu
ef7c480ddf (DIRECTORY_SEP): New macro.
(IS_DIRECTORY_SEP): Use it.
2005-05-13 08:53:17 +00:00
Jan Djärv
5b9562c3df * emacsclient.c: Avoid expansion of getcwd when defined as a macro. 2005-03-18 20:44:50 +00:00
YAMAMOTO Mitsuharu
ba025f6dd1 *** empty log message *** 2005-03-04 11:16:35 +00:00
YAMAMOTO Mitsuharu
1376ed1867 Undo previous change. 2005-03-04 11:14:03 +00:00
Andreas Schwab
a9eedf40f4 (fatal): Accept third parameter and pass down to
error.
(pfatal_with_name): Pass error string as format parameter instead
of as part of format string.
(pfatal_and_delete): Likewise.
(main): Adjust call to fatal.
(xmalloc): Likewise.
2005-02-04 22:11:43 +00:00
Richard M. Stallman
5a92a9eb78 *** empty log message *** 2005-01-29 17:31:43 +00:00
Richard M. Stallman
17a60964b9 (popmail): Don't use Errmsg as format string. 2005-01-29 16:56:30 +00:00
Steven Tamm
e6973a25b6 make-docfile.c: Include stdlib.h even if WINDOWSNT is not
defined.
2004-12-27 17:22:01 +00:00
Andreas Schwab
1bb3da3814 (main): Fix typo in conversion of LONG_OPTIONS from
preprocessing to compile time constant.
2004-12-15 13:23:25 +00:00
Kim F. Storm
d4a38fddf7 Undo last change. 2004-11-16 23:26:45 +00:00
Kim F. Storm
bf17c6e67e (scan_c_file): Set defvarperbufferflag to silence compiler. 2004-11-09 11:03:12 +00:00
Kim F. Storm
4431cfb561 (main): Init local var c to silence compiler. 2004-11-09 11:03:00 +00:00
Kim F. Storm
708781d96a (main, consider_token, C_entries): Add misc switch
default targets to silence compiler.
2004-11-09 11:02:51 +00:00
Kim F. Storm
f2eb41c862 *** empty log message *** 2004-11-09 11:02:35 +00:00
Jan Djärv
3cf5c99434 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
resulting DOC file can be used on Unix/Mac also.
2004-11-09 08:18:58 +00:00
Francesco Potortì
91702d6376 (main): When relative file names are given as argument,
make them relative to the current working dir, rather than
relative to the output tags file, if the latter is in /dev.
2004-09-13 19:57:25 +00:00
Francesco Potortì
e057dc50eb *** empty log message *** 2004-09-13 19:50:40 +00:00
Francesco Potortì
05d9a39934 [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
<stdlib.h> is available.
(enum sym_type): New st_C_attribute value for parsing
gcc's __attribute__.  Deleted st_C_typespec value.
(gperf, in_word_set): Use gperf 3, options changed.  Added the
__attribute__ keyword, removed all the st_C_typespec keywords,
changed attribute for Java to (C_JAVA & !C_PLPL).
(inattribute): New global bool, part of the C state machine.
(cblev): Identifier renamed to bracelev throughout.
(consider_token, C_entries): Numerous changes for making the
parser more robust and adding support for __attribute__.

Tiny change by David A. Capello <dacap@users.sourceforge.net> -
(Lua_suffixes, Lua_help, lang_names, Lua_functions):
Support the Lua scripting language <http://www.lua.org>.
2004-09-13 13:34:01 +00:00
Francesco Potortì
fba7437560 [LONG_OPTIONS]: make it TRUE (ifdef) or FALSE for ease of use. 2004-09-08 16:31:35 +00:00
Miles Bader
55e0a9c697 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-483
Build-in-place tweak

Patches applied:

 * lorentey@elte.hu--2004/emacs--multi-tty--0--patch-224
   Added sorted-doc to backup regex in lib-src.
2004-08-09 07:40:39 +00:00
Richard M. Stallman
3751eb00d7 *** empty log message *** 2004-07-17 15:00:22 +00:00
Richard M. Stallman
cf0fad845a (quote_file_name): Pass COPY thru %s to output it. 2004-07-17 14:27:24 +00:00
Miles Bader
e9b95bbf8a Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-403
Yet more build-in-place tweaking of arch tagging
2004-06-12 13:13:44 +00:00
Miles Bader
92aed8bec9 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-401
More build-in-place tweaking of arch tagging
2004-06-12 04:51:11 +00:00
Miles Bader
48d67035ea Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-396
Tweak arch tagging to make build/install-in-place less annoying

Previously, autoconf-created Makefiles and the like would contain
duplicate taglines (unfortunately, autoconf doesn't seem to have a
`strip in generated file' comment mechanism) leading to conflicts, and
installing in place would create unknown directories and copies of
source directories (leading to conflicts with the source directories).

This changeset makes all autoconf-processed files use explicit id-tags
and adds .arch-inventory entries to ignore installation directories.
2004-06-11 02:39:51 +00:00
Juanma Barranquero
86d373e6b2 *** empty log message *** 2004-06-02 00:53:13 +00:00
Juanma Barranquero
2997712d30 (obj): Add image.c. 2004-06-02 00:29:10 +00:00
Thien-Thi Nguyen
80e26b667a (main): For failing cases, exit with `EXIT_FAILURE'. 2004-05-10 17:32:13 +00:00
Jason Rumney
e6662c8bbb *** empty log message *** 2004-05-08 19:51:35 +00:00
Jason Rumney
83a9c0b2c3 (lisp1, lisp2): Split lisp to avoid long command-lines. 2004-05-08 19:27:28 +00:00
Thien-Thi Nguyen
65396510c3 Throughout, replace 0 destined for exit' arg with EXIT_SUCCESS'.
Likewise, replace 1 with `EXIT_FAILURE'.
(main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
2004-05-08 15:26:33 +00:00
Thien-Thi Nguyen
c2bcfb19fb (emacsclient${EXEEXT}): Use makefile var `version'. 2004-05-08 14:42:41 +00:00
Thien-Thi Nguyen
3f0656ff20 (GOOD, BAD): Delete macros. Throughout,
replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
(main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
2004-05-07 15:31:07 +00:00
Jason Rumney
238add5e58 Remove files related to old msvc only windows build. 2004-05-03 14:19:40 +00:00
Eli Zaretskii
b09c560845 (IS_DIRECTORY_SEP): New macro.
(put_filename): Remove unused variable len.  Use IS_DIRECTORY_SEP
instead of a literal '/'.
2004-04-26 10:49:11 +00:00
Juanma Barranquero
d814862aa6 *** empty log message *** 2004-04-23 00:25:28 +00:00
Juanma Barranquero
bd6766d34d Add "-*- makefile -*-" mode tag. 2004-04-23 00:24:35 +00:00
Paul Eggert
442a2160f4 * rcs2log (Help): Clarify wording of the usage message. 2004-04-18 06:02:16 +00:00
Miles Bader
a2de0c3b75 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-210
More RCS keyword removal
2004-04-13 09:47:51 +00:00
Stefan Monnier
d5d66b7eda (xmalloc): Fix return type.
(put_filename): New fun.
(scan_file): Use it.
2004-04-07 19:18:42 +00:00
Stefan Monnier
d08c4c2857 Fix copyright. 2004-03-22 15:38:14 +00:00
Juanma Barranquero
bdfd0369ce Changes to support ChangeLog.10+.
(main): Tidy up usage string.  Fix "Use of uninitialized value" warning.
Set version to 0.2.  Parse the directory listing to get any ChangeLog.n
file, not just 1..9.
(header_match_p, entry_match_p, print_log, parse_changelog): Remove Perl
prototypes (their purpose is to help the parser, which isn't needed here,
not declare arguments).
(parse_changelog): Make --reverse faster on big batches by not modifying
the entries list.
2004-03-09 22:47:27 +00:00
Juanma Barranquero
a64387eecc *** empty log message *** 2004-03-01 18:49:17 +00:00
Juanma Barranquero
7690c76af0 (obj): Add fringe.c. 2004-03-01 18:41:41 +00:00
Stefan Monnier
783bcffa10 *** empty log message *** 2004-02-16 03:18:25 +00:00
Paul Eggert
9766d41b51 rcs2log fixes for CVSROOT var.
Update Copyright dates to include 2004, and 1988 through 1992.
2004-02-15 07:47:45 +00:00
Paul Eggert
83d48514ec Work correctly if CVSROOT specifies :fork: or
:local: methods, or omits the colon between the hostname
and the path.  Allow :/ in repository path, since CVS does.
Fix typo: "pository" should be set from $CVSROOT, not $repository.
This fixes a bug reported by Wolfgang Scherer in
<http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
along with some related bugs I discovered by inspecting how
CVS itself parses $CVSROOT.
2004-02-15 07:41:58 +00:00
Stefan Monnier
98c6e531ed *** empty log message *** 2004-02-06 22:36:10 +00:00
Stefan Monnier
b6b6d6d201 (decode_options): Fix handling of alternate editor. 2004-02-05 00:02:04 +00:00
Stefan Monnier
0734b0d08d (main): Don't use the hostname in the socket name.
Look for relative socket names in the /tmp dir rather than in cwd.
2004-01-27 23:07:13 +00:00
Richard M. Stallman
2a6fc2d92e *** empty log message *** 2004-01-24 21:58:19 +00:00
Richard M. Stallman
293f9f2a99 (main): Restore errno from saved_errno,
so the error message comes from socket_status.
2004-01-24 21:57:57 +00:00
Stefan Monnier
5c9659d3f6 (main): Stop if socket name too long.
Only try su-fallback if the socket name was not explicit.
Check socket name length in su-fallback case as well.
2004-01-20 23:25:33 +00:00
Andreas Schwab
152b6e830f (main): Save errno from socket_status. 2004-01-08 12:20:43 +00:00
Andreas Schwab
e822882420 (main): Fix socket name when using another user. 2004-01-04 16:42:06 +00:00
Paul Eggert
c91406620c (rlog_options): Append -rbranchtag if CVS/Tag indicates
a tag, and if the user has not specified an rlog option.
Adapted from a suggestion by Martin Stjernholm in
<http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
(Copyright): Update to 2003.
2003-12-27 08:18:42 +00:00
Thien-Thi Nguyen
8babaa5960 *** empty log message *** 2003-12-24 07:32:41 +00:00
Thien-Thi Nguyen
08a39b8304 (main): For return code, no longer special-case VMS.
Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
2003-12-24 06:49:23 +00:00
Richard M. Stallman
1ae7cf5ee8 (edebug-display-freq-count): Doc fix. 2003-10-20 23:46:31 +00:00
Richard M. Stallman
a4cf2096d7 Comment change. 2003-10-13 19:41:26 +00:00
Dave Love
c51b37fde9 *** empty log message *** 2003-10-06 16:36:56 +00:00
Eli Zaretskii
14ef72889c *** empty log message *** 2003-09-28 09:19:38 +00:00
Eli Zaretskii
872093579a (quote_file_name): Print the result instead of
returning it.  Fix the return type accordingly.
(main): Under --eval, don't fail if left with additional
arguments after decoding options.  Quote file names.
2003-09-28 08:24:56 +00:00
Richard M. Stallman
3db926beda Comment change. 2003-09-19 14:27:47 +00:00
Richard M. Stallman
f387bdeaae *** empty log message *** 2003-09-12 01:09:43 +00:00
Richard M. Stallman
254107e497 (socket_name): New variable.
(longopts, decode_options, print_help_and_exit):
Handle --socket-name argument.

(main): Use socket_name.
2003-09-12 00:48:03 +00:00
Francesco Potortì
2bc2e3fcb5 (consider_token): check C++ `operator' only when the token len is long
enough.
2003-09-03 14:20:49 +00:00
Francesco Potortì
0b7e7337a0 *** empty log message *** 2003-09-03 14:19:19 +00:00
Miles Bader
8e5331fe84 Correct some arch-tag: comment types 2003-09-02 06:06:59 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Dave Love
ac06b30be5 Remove obsolete references to alloca. 2003-08-20 15:47:57 +00:00
Juanma Barranquero
32b0a3c633 *** empty log message *** 2003-07-28 22:53:07 +00:00
Juanma Barranquero
bb5618fe38 (main): Fix having macros in a printf statement. 2003-07-28 22:10:30 +00:00
Juanma Barranquero
9d6baf7cbd (suggest_asking_for_help): Fix having macros in a printf statement. 2003-07-28 22:09:47 +00:00
Juanma Barranquero
3867c42d60 *** empty log message *** 2003-05-31 00:40:43 +00:00
Juanma Barranquero
8dc48ef051 (lisp): Fix references to byte-run.el, float-sup.el and map-ynp.el, which are
now in emacs-lisp.
2003-05-31 00:33:50 +00:00
Francesco Potortì
73d3586ded Remove Philippe Waroquier's email address, at his request. 2003-05-27 20:13:22 +00:00
Dave Love
7933722aa4 *** empty log message *** 2003-05-22 20:01:37 +00:00
Dave Love
1d28afaf27 (difftime) [!HAVE_DIFFTIME]: Define.
(strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
2003-05-22 20:01:19 +00:00
Dave Love
463f55eece *** empty log message *** 2003-05-20 16:34:55 +00:00
Dave Love
dd843b6af3 Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL. 2003-05-20 16:34:35 +00:00
Dave Love
dfb7bcda87 Define LIBS_MAIL=-llockfile. 2003-05-20 16:33:02 +00:00
Juanma Barranquero
1b7a835ba3 *** empty log message *** 2003-04-27 11:24:59 +00:00
Juanma Barranquero
ee435bae30 (read_scores): Fix corruption of score files. 2003-04-27 11:22:16 +00:00
Stefan Monnier
eec54bd743 *** empty log message *** 2003-04-12 19:17:24 +00:00
Stefan Monnier
caa4df2b5d (main): Use new safe location for socket. 2003-04-12 19:03:08 +00:00
Juanma Barranquero
ff4bd68179 *** empty log message *** 2003-03-12 21:37:27 +00:00
Juanma Barranquero
20c396e841 (print_help_and_exit): Print to stdout. Exit successfully. Added some blank
lines for readability.
(decode_options): Don't call print_help_and_exit in default case. Print version
information to stdout.
(main): Don't call print_help_and_exit.
2003-03-12 21:36:29 +00:00
Richard M. Stallman
dd132e4437 *** empty log message *** 2003-02-15 19:29:15 +00:00
Richard M. Stallman
2a61b9d244 Cast result of malloc and realloc.
Don't include stdlib.h, becuase config.h does.
(malloc, realloc): Declarations deleted.
2003-02-15 10:53:55 +00:00
Richard M. Stallman
9fc08e73d1 (yow): Cast result of malloc and realloc.
(malloc, realloc): Declarations deleted.
2003-02-15 10:52:52 +00:00
Juanma Barranquero
71ffc53a70 *** empty log message *** 2003-02-11 09:03:05 +00:00
Juanma Barranquero
0a0dc5114c (lisp): Add malayalam.el and tamil.el. 2003-02-11 08:19:48 +00:00
Andreas Schwab
0dfd93c05d *** empty log message *** 2003-02-08 17:28:43 +00:00
Andreas Schwab
108c7c97c1 (EXEEXT): Define to @EXEEXT@ and use this variable
instead of the substitution.
2003-02-08 17:27:58 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Richard M. Stallman
37d1e6800c *** empty log message *** 2003-02-04 12:03:59 +00:00
Richard M. Stallman
00a7e40898 (push_score, read_scores): Cast values of malloc and realloc.
(main, lock_file): Avoid assignment inside if.
2003-02-04 12:03:44 +00:00
Richard M. Stallman
a5d107f3c7 Whitespace changes. 2003-02-04 12:00:09 +00:00
Juanma Barranquero
c60ee5e70f Cygwin support patch. 2003-01-31 15:24:20 +00:00
Kim F. Storm
88c717201f Corrected misc. typos like missing : after file names,
missing file name suffixes, and * used as prefix on non-file entries.
2003-01-28 23:49:11 +00:00
Dave Love
b24e2dc7fa Don't include string.h. 2003-01-21 18:29:34 +00:00
Dave Love
373df066fb (Cplusplus_help, Cjava_help): Re-phrase and avoid
column-0 `('.
2003-01-21 18:28:35 +00:00
Markus Rost
c5c927519c Fix last change (use C syntax for comments). 2003-01-21 02:26:04 +00:00
Richard M. Stallman
675d000fab *** empty log message *** 2003-01-20 09:12:53 +00:00
Richard M. Stallman
ee978ec9b8 (rcs2log, rcs-checkin, grep-changelog, vcdiff): New targets. 2003-01-20 09:04:56 +00:00
Francesco Potortì
4fdb455388 changes for language-sepcific help by Philippe
Waroquiers <wao@cfmu.eurocontrol.be> applied and largely revised.

(language): Added a `help' member.
(arg_type): Added an at_end constant.
(plain_C_suffixes): Some items removed from here.
(Objc_suffixes): And put here (new constant).
(Ada_help, Asm_help, default_C_help, Cplusplus_help, Cjava_help,
Cobol_help, Erlang_help, Fortran_help, HTML_help, Lisp_help,
Makefile_help, Objc_help, Pascal_help, Perl_help, PHP_help,
PS_help, Prolog_help, Python_help, Scheme_help, TeX_help,
Texinfo_help, Yacc_help, auto_help, none-help, no_lang_help): New
constants.
(PS_functions, PS_suffixes): Renamed from Postscript_functions and
Postscript_suffixes.
(lang_names): Adapted to the new language structure, new language
"objc" added (was previously merged with "proc").
(print_language_names): Some help strings corrected.
(print_help): Now takes an argument and possibly prints lang help.
(print_help): Some help strings corrected.  Documents
language-specific help.
(main): Only print help after having parsed all the arguments.
2003-01-09 15:21:57 +00:00
Kim F. Storm
1cb12638f3 (__P): Renamed from _P to avoid problems on Cygwin.
All uses changed.
2003-01-05 23:38:59 +00:00
Kim F. Storm
207aa3ffcb *** empty log message *** 2003-01-05 23:37:41 +00:00
Andrew Innes
cf6d30d704 ($(DOC)): Use -o and -a options to make-docfile,
because GNU make doesn't append when using >> redirection.
2002-12-18 23:53:01 +00:00
Pavel Janík
649fc2c55b Make sure every message ends with a blank line, because some mbox parsers
require a blank line before "From " lines.
2002-12-11 23:32:41 +00:00
Richard M. Stallman
85cce84347 *** empty log message *** 2002-12-09 01:56:15 +00:00
Richard M. Stallman
eca79530b7 Do include libintl.h if HAVE_LIBINTL_H.
(_): Test only HAVE_LIBINTL_H to decide what to do.
2002-12-09 01:55:05 +00:00
Ben Key
4fbd67668e Fixed the build error in getopt.c that occured on systems lacking a gettext implementation. Thanks go to Andrew Choi [akochoi@shaw.ca] for this one. 2002-12-07 05:22:27 +00:00
Richard M. Stallman
2ccc4d34e5 *** empty log message *** 2002-12-05 15:32:09 +00:00
Richard M. Stallman
d262de61ff Comment out include of libintl.h or gettext.h. 2002-12-05 15:30:09 +00:00
Richard M. Stallman
c599217702 *** empty log message *** 2002-12-04 11:57:49 +00:00
Richard M. Stallman
708c440496 Conditionally find getopt.h.
[_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
2002-12-04 11:19:12 +00:00
Richard M. Stallman
554ed1ff28 (const): Move outside !HAVE_CONFIG_H conditional.
(libintl.h): Include this if _LIBC.  Otherwise include gettext.h.
(wchar.h): Include, maybe.
(attribute_hidden): Define if not defind.
(__getopt_initialized): Use attribute_hidden.
(__libc_argc, __libc_argv): Renamed from original_argc, etc.
(__getopt_nonoption_flags, nonoption_flags_max_len, nonoption_flags_len):
Conditional on USE_NONOPTION_FLAGS.
(SWAP_FLAGS): New definitions.
(exchange): Test USE_NONOPTION_FLAGS.
(_getopt_initialize): Test USE_NONOPTION_FLAGS.
(_getopt_internal): Error if argc < 1.  New local var print_errors.
Improve test for ambiguous long option.
Add LIBIO support for error message output.
(NONOPTION_P): Test USE_NONOPTION_FLAGS.
2002-12-04 11:17:43 +00:00
Richard M. Stallman
e1e86c97c5 Maybe include ctype.h.
Treat __cplusplus like __STDC__.
(decls): Use __ in arg names.
2002-12-04 11:08:06 +00:00
Stephen Eglen
45adde3246 (main): Tell user how to start server within Emacs if socket could not
be found.
2002-12-02 20:57:42 +00:00
Stephen Eglen
4b5e69bd44 *** empty log message *** 2002-12-02 16:30:23 +00:00
Richard M. Stallman
19fa03f370 *** empty log message *** 2002-12-02 16:20:46 +00:00
Richard M. Stallman
38732dbaa3 (main): Test HAVE_GETCWD rather than BSD_SYSTEM. 2002-12-02 16:14:35 +00:00
Juanma Barranquero
7be215b4a4 *** empty log message *** 2002-11-19 12:18:07 +00:00
Ben Key
29f538e6b9 Fixed a bug in makefile.w32-in that caused the documentation for the built in function play-sound-internal not to be included in /etc/DOC. 2002-11-19 07:50:22 +00:00
Dave Love
1998560a7e *** empty log message *** 2002-11-18 15:41:27 +00:00
Dave Love
5b400482b0 Include unistd.h, string.h, stdlib.h,
fcntl.h, stdarg.h conditionally.
(_GNU_SOURCE, __attribute__): Don't define.
(optarg, optind, opterr): Declare.
(lose, lose_syserr): Use NO_RETURN.
(get_user_id): Use P_.
2002-11-18 15:35:07 +00:00
Richard M. Stallman
8b96caf303 *** empty log message *** 2002-11-18 04:59:52 +00:00
Richard M. Stallman
d17b3095e9 (${archlibdir}): Ignore errors operating on $(gamedir). 2002-11-18 04:53:59 +00:00
Dave Love
59daa29a0a *** empty log message *** 2002-11-14 14:21:52 +00:00
Dave Love
b553981f42 (pop_retr): Declare comment. 2002-11-14 14:09:51 +00:00
Dave Love
7a71a86d3d (read_c_string_or_comment): Declare msgno. 2002-11-14 14:09:44 +00:00
Dave Love
a8c4aa2e41 (YACC): Deleted. 2002-11-14 14:09:36 +00:00
Dave Love
9a007cb77f *** empty log message *** 2002-11-04 18:29:06 +00:00
Andreas Schwab
f1b443bf84 . 2002-10-19 13:55:57 +00:00
Andreas Schwab
67bb79b7f8 (${archlibdir}): Always create $(gamedir).
(update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
2002-10-19 13:55:15 +00:00
Juanma Barranquero
52402e4fc5 (lisp): Load devanagari.el, not .elc. 2002-10-04 10:09:35 +00:00
Markus Rost
15dab115ed Remove reference to SERVER_HOME_DIR completely. 2002-10-01 00:47:12 +00:00
Stefan Monnier
3ecdcd5905 (main): Always use /tmp and non-qualified hostname. 2002-09-27 22:07:38 +00:00
Stefan Monnier
30be2360f8 Remove SYSV support.
(eval, display): New vars.
(longopts): Add --eval and --display.
(decode_options): Add -e and -d processing.
(print_help_and_exit): Update the usage string.
(main): Add support for --eval and --display.
2002-09-27 18:21:44 +00:00
Stefan Monnier
4208da83ba *** empty log message *** 2002-09-25 20:22:57 +00:00
Stefan Monnier
038de5b823 Remove emacsserver. 2002-09-25 20:17:32 +00:00
Stefan Monnier
ca5004e7b4 Remove references to emacsserver. 2002-09-25 20:03:21 +00:00
Stefan Monnier
3cf8c6aa01 (quote_file_name): Quote \n.
(main): Print a final \n when needed.
2002-09-18 01:44:54 +00:00
Francesco Potortì
4c6dce51b6 etags bug 2002-09-03 15:21:51 +00:00
Francesco Potortì
a127d423b5 (regex_tag_multiline, readline): Never pass pfnote a
string that cannot be freed.
2002-09-03 15:21:07 +00:00
Francesco Potortì
9c485bbe70 (consider_token, C_entries): Switch to C++ parsing when
auto-detection is enabled and the `::' qualifier is met.
(consider_token, C_entries): Several bugs corrected that tagged
some declarations even though --declarations was not used.
(plainc): New macro.
(C_entries): Use it.
(C_entries): Several cosmetic changes.
(C_entries): Invalidate the token is some cases.
2002-08-30 16:38:58 +00:00
Francesco Potortì
ba88f8ebfc Bug corrections in etags. 2002-08-30 16:38:22 +00:00
Francesco Potortì
3c04a71a20 (C_entries): Corrected a problem with const C++ funcs.
(ignoreindent): Renamed from noindentypedefs.
(cjava, cplpl): They are now macros instead of local vars.

(HTML_labels): Tag ID= also.
2002-08-29 14:42:56 +00:00
Francesco Potortì
09cd1a7497 Etags bug. 2002-08-29 14:41:33 +00:00
Francesco Potortì
8ee1462906 *** empty log message *** 2002-08-28 10:44:24 +00:00
Francesco Potortì
61a1f6fa60 Two bug corrections and one new feature.
(Ada_funcs): Do not tag "use type Xxxx;".

New language HTML.
(make_tag): Never generate null length tag names.
(linebuffer_init): Renamed from initbuffer.  All callers changed.
(pattern): Structure renamed to `regexp', member regex renamed to
pattern.
(node_st): Member pat renamed to regex.
(pattern); New member force_explicit_name, for future use.  Now
always set to true, cannot be reset.
(add_regex, regex_tag_multiline, readline): Use it.
(main): Free some global structures.

(fdesc): New member `written'.
(readline, process_file): Initialise it.
(put_entries): Set it.
(main): Use it to create entries for files without tags.
(total_size_of_entries): Do not count invalid tags.
(etags_strcasecmp): Like BSD's, for compatibility.
(strcaseeq): Make it into a macro.
2002-08-28 10:35:51 +00:00
Francesco Potortì
87046df8c7 Two bug corrections and a new feature for etags. 2002-08-28 10:34:04 +00:00
Stefan Monnier
02ce3e80f0 *** empty log message *** 2002-08-19 21:47:53 +00:00
Stefan Monnier
56cf516205 (scan_keyword_or_put_char, write_c_args): Use `fn'
for the function name in the usage info.
2002-08-19 21:47:38 +00:00
Colin Walters
cf398788c7 (P_): New macro. Use it for all prototypes.
(lose): Don't use varargs.
(lose_syserr): New function.

Change all functions to K&R style.
2002-08-01 01:31:44 +00:00
Colin Walters
5fba5c216b *** empty log message *** 2002-08-01 01:31:04 +00:00
Andreas Schwab
712eaee029 (localstatedir): New variable. 2002-07-30 13:53:27 +00:00
Pavel Janík
c89ed6ef9d Fix regexp for finding return address fields. 2002-07-29 20:05:34 +00:00
Stefan Monnier
1e04216025 (scan_c_file): Warn about missing `usage' info. 2002-07-15 20:00:03 +00:00
Andreas Schwab
3fc8736b78 . 2002-07-08 09:36:47 +00:00
Pavel Janík
e9b6020947 *** empty log message *** 2002-07-05 20:01:10 +00:00
Pavel Janík
85271e4161 Obey the rmail file and use the unpruned header properly. 2002-07-05 19:56:34 +00:00
Francesco Potortì
d76132d041 Rewrote the description of implicit tag names in etags.c 2002-06-27 10:52:05 +00:00
Pavel Janík
9ee028d2b5 New file. 2002-06-26 15:50:47 +00:00
Francesco Potortì
081b7c705d (F_getit, Fortran_functions, Ada_getit, Asm_labels)
(Python_functions, PHP_functions, PHP_functions, PHP_functions)
(PHP_functions, PHP_functions, Cobol_paragraphs)
(Makefile_targets, Postscript_functions, Texinfo_nodes)
(prolog_pr, erlang_func, erlang_attribute)
(Perl_functions, Perl_functions, Pascal_functions)
(TeX_commands, get_tag): Use make_tag instead of pfnote.
(get_tag): Prototype changed, all callers changed.
2002-06-21 12:36:12 +00:00
Francesco Potortì
e1af8d401e etags 2002-06-21 12:35:42 +00:00
Francesco Potortì
74032cc3c5 A bug in the new function. No change log. 2002-06-20 12:20:15 +00:00
Francesco Potortì
2201e3dcd6 Use, together with etags.el, an optimised form of tags,
which are almost always unnamed.  etags.el looks for an explicit
tag name, then for an implicit one.  See make_tag for details.
The change is both forwards and backwards compatible.
(make_tag): New function (was the disabled function new_pfnote).
(make_C_tag): Use it.
2002-06-20 11:48:31 +00:00
Francesco Potortì
ceaeb365d0 implicit tag names. 2002-06-20 11:48:04 +00:00
Francesco Potortì
f175bfffb0 etags 2002-06-20 08:52:22 +00:00
Francesco Potortì
2b74996486 (add_regex): Invalid regexp modifiers are ignored.
(Makefile_targets): Tag variables unless --no-globals.
(LOOP_ON_INPUT_LINES): Serious bug corrected.
2002-06-20 08:43:57 +00:00
Francesco Potortì
89fb2be16c * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
(invalidate_nodes): Bug corrected.
(print_help): Better help for regexps.
2002-06-13 17:53:35 +00:00
Francesco Potortì
82ef78b31d *** empty log message *** 2002-06-13 17:52:57 +00:00
Juanma Barranquero
7a8940dabb (lisp): Add international/ucs-tables.elc and font-core.elc. 2002-06-13 16:32:23 +00:00
Francesco Potortì
6861f0e327 New multi-line regexp and new regexp syntax. 2002-06-13 11:15:46 +00:00
Francesco Potortì
24dbe96a10 New multi-line regexp and new regexp syntax.
(arg_type): at_icregexp label removed (obsolete).
(pattern): New member multi_line for multi-line regexps.
(filebuf): A global buffer containing the whole file as a string
for multi-line regexp matching.
(need_filebuf): Global flag raised if multi-line regexps used.
(print_help): Document new regexp modifiers, remove references to
obsolete option --ignore-case-regexp.
(main): Do not set regexp syntax and translation table here.
(main): Treat -c option as a backward compatibility hack.
(main, find_entries): Init and free filebuf.
(find_entries): Call regex_tag_multiline after the regular parser.
(scan_separators): Check for untermintaed regexp and return NULL.
(analyse_regex, add_regex): Remove the ignore_case argument, which
is now a modifier to the regexp.  All callers changed.
(add_regex): Manage the regexp modifiers.
(regex_tag_multiline): New function.  Reads from filebuf.
(readline_internal): If necessary, copy the whole file into filebuf.
(readline): Skip multi-line regexps, leave them to regex_tag_multiline.

(add_regex): Better check for null regexps.
(readline): Check for regex matching null string.
(find_entries): Reorganisation.
2002-06-13 10:44:15 +00:00
Francesco Potortì
e7d3b099a2 (scan_separators): Support all character escape
sequences supported by gcc.
(find_entries): rewind unconditionally.
(find_entries): Do not call language functions directly, now calls
itself.
(find_entries): Do general initialisations here.
(CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
(Ada_getit, Pascal_functions, Pascal_functions)
(prolog_skip_comment): Do not do them here.
(readline_internal): Increment lineno here.
(readline): Conditionally undo readline_internal increment.
(readline): Do not return a value.
2002-06-06 22:37:28 +00:00
Francesco Potortì
f0da41a610 *** empty log message *** 2002-06-06 22:36:54 +00:00
Francesco Potortì
97b90b0a2d (enum arg_type): New label at_stdin.
(STDIN): New constant.
(parsing_stdin): New flag.
(longopts): New option --parse-stdin=NAME.
(print_help): Document it.
(main): Handle it.
(process_file): Split into process_file and process_file_name.
(process_file_name): New function.
2002-06-06 12:50:27 +00:00
Francesco Potortì
f6566f9015 (TeX_commands): Skip comments.
(TEX_defenv): Now contains more contructs.
(TEX_cmt): Make it a static char and move it before TeX_commands.
(TeX_commands): Shorten the tag to the brace after the name.
(TeX_commands): Names now include the initial backslash.
(TeX_commands): Names do not include numeric args #n.
(TeX_commands): Correct line char number in tags.
(TEX_tabent, TEX_token): Deleted.
(TeX_commands, TEX_decode_env): Streamlined.
2002-06-06 09:45:52 +00:00
Francesco Potortì
5526f1f688 *** empty log message *** 2002-06-06 09:45:25 +00:00
Francesco Potortì
50496bd978 (main): Avoid a buffer overrun with sprintf. 2002-06-05 12:10:26 +00:00
Richard M. Stallman
a71867c57a *** empty log message *** 2002-05-30 17:16:05 +00:00
Richard M. Stallman
c0e38e32b9 (LIBS_MAIL): Renamed from LIB_MAIL.
(LIBS_MOVE): Renamed from MOVE_LIBS.
2002-05-30 17:15:45 +00:00
Paul Eggert
b7e67db6db Reinstate the following change from 2002-03-22, which was
inadvertently lost on 2002-04-13.

* etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
`sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
the latter usage.
2002-05-27 06:51:19 +00:00
Paul Eggert
8108640c1e Reinstate the following change from 2002-03-22, which was
inadvertently lost on 2002-04-13.

(main): Use `sort -o TAGFILE TAGFILE' instead of `sort TAGFILE -o
TAGFILE', as POSIX 1003.1-2001 disallows the latter usage.
2002-05-27 06:50:39 +00:00
Eli Zaretskii
5f226e2c33 *** empty log message *** 2002-05-25 10:50:02 +00:00
Eli Zaretskii
b72f3bcb37 (socket_connection): Move the code to resolve the POP
host right before trying to connect with it.
2002-05-17 11:24:02 +00:00
Eli Zaretskii
9975de28cd This file was deleted since the TCP emulation is no longer in use
on any platform.
2002-05-05 18:44:05 +00:00
Colin Walters
5167cfda36 *** empty log message *** 2002-04-29 23:16:38 +00:00
Colin Walters
d99fabf003 (SCORE_FILE_PREFIX): Delete.
(main): New argument -d, for specifying directory.
(usage): Document.
(get_user_id): Compute
(get_home_dir): Deleted.
(get_prefix): New function, taken from main.
(main): Check whether or not we are running setuid.  Move prefix
computation to get_prefix.  Don't call getpwent; we don't need to
any more.  Instead, move it to get_user_id().
2002-04-29 22:49:00 +00:00
Colin Walters
7451222f00 (${archlibdir}): Don't conditionalize on
HAVE_SHARED_GAME_DIR. Instead, test at installation time whether or
not we have access to the specified game user.
2002-04-29 22:48:22 +00:00
Pavel Janík
beedfcf163 (skip_initializer): Return void. 2002-04-24 18:27:59 +00:00
Colin Walters
973c3c870b *** empty log message *** 2002-04-23 20:34:27 +00:00
Colin Walters
1d4328ffce (read_score) [HAVE_GETDELIM]: Trim trailing space. 2002-04-23 20:23:05 +00:00
Francesco Potortì
8378bcd361 (last_node): Make it a global variable.
(process_file): Print the tags from the nodes as soon as
possible, and delete the nodes.  This brings down the memory
occupancy as etags to almost the same level as when the #line
directives were not parsed.
(free_fdesc): New function.
(find_entries): Use it.
(invalidate_nodes): In etags mode, do not just mark the nodes as
invalid, do delete them.
2002-04-22 14:12:08 +00:00
Gerd Moellmann
c901ceff74 (add_declarator): Test *CLS instead of CLS. 2002-04-21 12:49:36 +00:00
Eli Zaretskii
c42d6dbdbe Move config.h before the other headers, to prevent compiler warnings
due to redifinition of _FILE_OFFSET_BITS.
2002-04-16 20:05:08 +00:00
Eli Zaretskii
2400310de0 Add update-game-score. 2002-04-16 18:26:02 +00:00
Francesco Potortì
2431364f30 (find_entries): Bug fix in list management. 2002-04-16 00:02:55 +00:00
Francesco Potortì
090416ca29 *** empty log message *** 2002-04-16 00:02:38 +00:00
Francesco Potortì
54ef70a20c * etags.c (get_language_from_filename): Add one argument.
(strcaseeq): New function.
	(get_language_from_filename): Use it to do a case insenstitive
	comparison if called with appropriate args.
	(find_entries): Try with case insensitive match.
	(process_file): Bug fixed.
2002-04-15 16:04:52 +00:00
Francesco Potortì
5dab24c1f2 *** empty log message *** 2002-04-15 16:04:29 +00:00
Francesco Potortì
a53638904d Bug fix. New version to come soon. 2002-04-15 15:55:07 +00:00
Francesco Potortì
9e0a3f9876 Avoid doubly tagging parse.y when both parse.c and parse.y are given on
the command line, in either order.

	* etags.c (find_entries): Delete tags previously obtained from
	file xxx.c's #line directives when parsing file xxx.y.  This is
	generally done for automatically generated files containing
	#line directives.  This handles the case when xxx.y is tagged
	before xxx.c, and the entries of xxx.c pointing to xxx.y should
	be discarded.
	(language): Added the metasource member.  Initializers changed.
	(invalidate_nodes): New function.
	(readline): Discard lines after having found a #line
  	directive pointing to an already tagged file.  This handles the
	case when xxx.y is tagged before xxx.c, and the entries of
	xxx.c pointing to xxx.y should be discarded.
	(fdesc): New structure for keeping track of input files.
	(fdesc): Remove `file' member (a string) and use instead a pointer
	to a file description structure.
	(curfile, curfiledir, curtagfname, curlang, nocharno,
	forced_lang): Global variables removed in favor of fdhead and
	curfdp, pointers to file description strucures.
	(longopts, main, print_help): Use the CTAGS conditional to include
	or exclude options that work on etags or ctags only.
	(process_file, find_entries, pfnote, add_node, put_entries,
	readline): Use fdhead and curfdp.
	(process_file, find_entries): Do not take an arg string, all
	callers changed.

	* etags.c (longopts, print_help, main): Test CTAGS to disallow
	options that are not right for either etags or ctags.

	* etags.c (number_len, total_size_of_entries): Define them also
	in CTAGS mode, because gcc does not compile all refs away.
2002-04-15 14:18:47 +00:00
Francesco Potortì
c150db2349 *** empty log message *** 2002-04-15 14:17:50 +00:00
Colin Walters
e9d1f248d5 *** empty log message *** 2002-04-14 06:42:43 +00:00
Colin Walters
7c4f687309 (lock_file): If the lock file is older than an hour, delete it. Reset
attempts to zero if we have to break the lock.
2002-04-14 06:40:19 +00:00
Andreas Schwab
7605f1bd6c (read_score): Fix type of second parameter
of getdelim to be of type size_t instead of int.  Use 0 instead of
ESUCCES.
2002-04-14 01:02:53 +00:00
Colin Walters
b9b966e0d9 *** empty log message *** 2002-04-10 19:17:05 +00:00
Colin Walters
e82defd14e *** empty log message *** 2002-04-10 19:16:02 +00:00
Colin Walters
8eec804f6e (toplevel): Include stdarg.h.
(MAX_DATA_LEN, MAX_SCORES): New.
(SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
default to ~/.emacs.d/games.
(get_user_id): Don't zero uid in the case where we can't get the
username.
(lose): New function.
(main): Actually use `max', and default it to MAX_SCORES.
Correctly handle new default for SCORE_FILE_PREFIX.  Use `lose'
function.
(read_score): Handle the case of reading unamelen characters, then
finishing.  Use mktemp if mkstemp isn't available.
(lock_file, unlock_file): Delete unused versions.
(lock_file): Always sleep, even if we unlinked the lock file.
2002-04-10 19:10:23 +00:00
Colin Walters
1ba1fb11c0 (gamedir, gameuser): New variables.
(toplevel, UTILITIES): Add update-game-score.
(${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
2002-04-10 19:05:44 +00:00
Colin Walters
5795b42089 update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
(get_user_id): Take struct passwd as an argument.
(get_home_dir): New function.
(main): Read in user information here.  Discover home directory if
necessary.
(read_score): Trim newline only in `getline' case.
2002-04-07 05:46:15 +00:00
Colin Walters
f5bceaf89b Actually make previous changes work (oops). 2002-04-05 09:18:57 +00:00
Colin Walters
cd553ffbf3 (toplevel): Include pwd.h.
(struct score_entry): Add username field.
(push_score): Use it.
(get_user_id): New function.
(main): Don't malloc excessively.
(main): Use username field.
(read_score): Read it.
(push_score): Handle it.
(write_scores) Write it.
(read_score): Handle arbitrary length data.
2002-04-05 08:58:12 +00:00
Eli Zaretskii
b74bd4a35d *** empty log message *** 2002-03-30 08:09:08 +00:00
Eli Zaretskii
74974a34cd (add_declarator): Fix the first call to add_member_defn. 2002-03-30 07:40:54 +00:00
Gerd Moellmann
fa8bc89d0d (add_declarator, skip_initializer): New functions.
(declaration): Use them.
2002-03-29 11:20:40 +00:00
Jason Rumney
dd87b4cc4c Move backquote.elc into emacs-lisp. 2002-03-28 20:11:54 +00:00
Colin Walters
2f1de3dd26 Initial version. 2002-03-27 20:57:06 +00:00
Paul Eggert
dfef6d4974 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
`sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
the latter usage.
2002-03-23 06:49:12 +00:00
Paul Eggert
61bbbf8d13 (main): Use sort -o TAGFILE TAGFILE' instead of sort TAGFILE -o
TAGFILE', as POSIX 1003.1-2001 disallows the latter usage.
2002-03-23 06:48:31 +00:00
Jason Rumney
ca55a1e303 Fix formatting of previous entry 2002-03-12 22:29:10 +00:00
Francesco Potortì
a13d6523e0 *** empty log message *** 2002-03-12 14:17:25 +00:00
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