Commit graph

803 commits

Author SHA1 Message Date
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