Commit graph

468 commits

Author SHA1 Message Date
Francesco Potortì
901b219d7b * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
explicit, mutable, typename.
1996-07-01 15:17:24 +00:00
Richard M. Stallman
ebf9219e1c (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
(wakeup): Targets deleted.
(UTILITIES): Delete wakeup and timer.
1996-06-21 05:47:24 +00:00
Richard M. Stallman
73bff96eb4 (ETAGS_CFLAGS): Define HAVE_GETCWD macro. 1996-06-11 21:13:39 +00:00
Richard M. Stallman
90e0918af0 (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only. 1996-06-11 21:13:14 +00:00
Richard M. Stallman
f55aa55a81 (main): Copy cwd when appending slash. 1996-06-09 19:12:26 +00:00
Karl Heuer
b1d4be5f6e Hold previous change until after the release. 1996-05-18 20:15:02 +00:00
Karl Heuer
a868739706 (lisp): Include dos-win32.elc. 1996-05-17 22:39:11 +00:00
Francesco Potortì
cf347d3cca * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
(Pascal_functions): Increase linecharno by the correct number of
chars, inline the GET_NEW_LINE macro and delete its definition.
1996-05-17 16:48:02 +00:00
Geoff Voelker
d6cb678cd5 (OBJDIR, BLD): Remove macro definitions.
,
1996-05-03 19:09:36 +00:00
Geoff Voelker
c911543b1c Initial revision 1996-05-03 18:29:10 +00:00
Geoff Voelker
14f29224a0 Include ntlib.h.
(nt_sleep): Rename to sleep.
(getwd): Return directory.
(getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
sys_ctime, sys_fopen): New functions.
1996-05-03 18:28:37 +00:00
Geoff Voelker
c81ebaba0a (LOCAL_FLAGS): Include path to NT shadow includes.
(movemail.exe, fakemail.exe): Now built under Win32.
1996-05-03 18:28:18 +00:00
Richard M. Stallman
de5c39cffd (SEND, RECV): Renamed from send, recv.
(pop_open, pop_trash): Make the trash_started code unconditional.
(socket_connection): Delete casts to void.
1996-04-29 15:46:17 +00:00
Richard M. Stallman
61946d674c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions copied from lisp.h. 1996-04-28 23:37:04 +00:00
Richard M. Stallman
b98cf43f01 [HAVE_CONFIG_H]: Only include config.h when defined. 1996-04-28 19:09:03 +00:00
Richard M. Stallman
88800afc90 (struct _popserver): New field trash_started. 1996-04-28 19:08:48 +00:00
Richard M. Stallman
c2668a613f [WINDOWSNT]: Include winsock.h and ntlib.h.
Macro SOCKET_ERROR undefined.
Don't declare h_errno.
[!WINDOWSNT]: Define macros recv and send.
[!WINDOWSNT] (POP_SERVICE): Change to pop3.
(pop_open) [WINDOWSNT]: Initialize trash_started.
(have_winsock) [WINDOWSNT]: New variable.
(socket_connection) [WINDOWSNT]: Initialize winsock.
(socket_connection): Use closesocket instead of close.
(getline): Use recv instead of read.
(fullwrite): Use send instead of write.
(pop_trash): Use closesocket instead of close.
(pop_trash) [WINDOWSNT]: Cleanup winsock.
Check if being called recursively by sendline.
1996-04-28 19:08:33 +00:00
Richard M. Stallman
7f75d5c619 (access, unlink) [WINDOWSNT]: Macros undefined.
(fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
[WINDOWSNT]: Include locking.h.
(main): Update usage message.  Use IS_DIRECTORY_SEP.
(main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
(main) [WINDOWSNT]: Invoke locking instead of flock.
(main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
(main) [MAIL_USE_POP]: Pass password to popmail if used.
Include winsock.h; don't include unix inet headers.
(popmail): Add password argument and pass it to pop_open.
Open output file in binary mode.
1996-04-28 19:07:35 +00:00
Richard M. Stallman
eac1956a77 [DOSNT]: Include fcntl.h.
[WINDOWSNT]: Include io.h.
(main) [MSDOS]: Change conditional to DOS_NT.
1996-04-28 19:06:15 +00:00
Richard M. Stallman
7c54442039 [WINDOWSNT]: Include ntlib.h. 1996-04-28 19:06:01 +00:00
Richard M. Stallman
3f5b4e35cc (main) [DJGPP v2]: Don't change to binary for a tty. 1996-04-14 17:11:47 +00:00
Richard M. Stallman
659d3b439c [DJGPP v2]: Include io.h.
(main) [DJGPP v2]: Switch standard streams to binary with setmode.
1996-04-12 16:02:38 +00:00
Richard M. Stallman
a65c6351d6 [WINDOWSNT]: Include io.h. 1996-04-11 01:39:53 +00:00
Geoff Voelker
f1d5eaf90a (CTAGSOBJ): Compile with regexp support. 1996-04-10 22:38:26 +00:00
Richard M. Stallman
18198bb209 (main) [MSDOS]: Handle DJGPP version 2. 1996-04-10 01:00:12 +00:00
Richard M. Stallman
b4bcc0c4a8 (absolute_filename): Use absolutefn. 1996-04-02 15:39:19 +00:00
Richard M. Stallman
ce7f6d62bc (absolutefn) [DOS_NT]: Support Novell drives whose drive
letter isn't an alphabetic character.
(main) [DOS_NT]: Use binary mode on redirected `stdout'.
(process_file) [DOS_NT]: Convert all slashes to forward style.
(absolute_filename) [DOS_NT]: Emit error message for relative
paths with a drive letter.
(absolute_filename) [DOS_NT]: Handle absolute pathnames with
DOS/NT drive letters which try to reference the parent of the root.
(absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
info, and don't record undo info for the conversion.
1996-04-01 20:38:35 +00:00
Geoff Voelker
2e17c871e3 Change uses of del to $(DEL). 1996-03-28 04:39:51 +00:00
Francesco Potortì
8dc7496c3f * etags.c (just_read_file): Reset lineno and charno on entry.
* etags.c: Prolog language totaly rewritten.
        (Prolog_functions): Rewritten from scratch.
	(skip_comment, prolog_getit): Removed.
        (prolog_skip_comment): New function, like old skip_comment.
        (prolog_pred, prolog_atom, prolog_white): New functions.
        (erlang_func, erlang_attributes): Forward declarations added.
        (erlang_atom): Check if backslash ends line inside quoted atom.
	* etags.c (absolutefn): DOS_NT version corrected.
	(main): Append "/" to the dir name only if not already there.
	(print_help): Explain the absolute/relative file name issue.
	* etags.c: New Languange Erlang added.
	(Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
	erlang_white): New functions.
	(Erlang_suffixes): New suffix list.
	(lang_names): Erlang entry added.
	(prolog_getit): Accepts headers spanning several lines.
	Always name tags.
	(Prolog_functions): Removed incorrect compensation for
	newline characters.
	(readline_internal): Zero-terminate last line.
1996-03-22 19:13:22 +00:00
Richard M. Stallman
d48430602f (main): Initialize progname variable before using it.
Quote `username' in From_ header.
1996-03-20 23:42:05 +00:00
Geoff Voelker
bcfe87c451 (getpid): New function. 1996-03-19 02:01:47 +00:00
Richard M. Stallman
88c40feb0e Comment change. 1996-02-22 22:37:14 +00:00
Karl Heuer
dc3c30fec0 (main, both definitions): Print a newline for normal termination. 1996-02-21 20:53:01 +00:00
Karl Heuer
9cc6060db7 (main): Convert port to network byte order. 1996-02-21 17:11:13 +00:00
Karl Heuer
f11c1c141c Comment fixes. 1996-02-17 02:23:13 +00:00
Karl Heuer
7d6659459e (pop_retrieve, getline): Avoid type clashes. 1996-01-20 20:51:31 +00:00
Karl Heuer
ba1fe3a85b (enum sym_type, anonymous enum): Delete final comma. 1996-01-19 22:54:17 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Paul Eggert
e852d58d04 (initialize_fullname): Add support for NIS+.
(hostname): Fully qualify the default hostname with the domainname
if the hostname lacks a `.'.
1996-01-15 01:17:56 +00:00
Karl Heuer
9884ba1ffb (consider_token): Fix typo in expression. 1996-01-10 19:46:03 +00:00
Karl Heuer
8e6208c5d2 Comment fixes. 1996-01-05 10:03:17 +00:00
Karl Heuer
15294654d6 (substitute): Fix spelling in message. 1996-01-05 00:52:01 +00:00
Geoff Voelker
48717ed41d (etags, ctags): Compile with regexp support.
(make-docfile, wakeup, etags, ctags, hexl): Ensure build
subdirectory exists before compiling.
1996-01-04 03:05:24 +00:00
Karl Heuer
cbf5f47c32 (main): Do chmod based on existing permission. 1996-01-03 04:23:26 +00:00
Richard M. Stallman
c37a429438 (install): Turn on read/execute permission. 1995-12-27 14:10:19 +00:00
Karl Heuer
fcd4533c72 (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
(LOADLIBES): Use LIB_STANDARD_LIBSRC.
1995-12-21 16:45:29 +00:00
Francesco Potortì
d8913c1c1c * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
(gperf): Added keywords for Objective C and GNU macros.
	(sym_type): Added values to account for Objective C and GNU macros.
	(begtk): The '@' character can start a token.
	(objdef, methodlen, objtag): New variables for Objective C.
	(consider_token, C_entries): Added code for Objective C.
	(plain_C_suffixes): Add .m and .lm for Objective C.
	(Yacc_suffixes): Add .ym for Objective yacc.
	(GROW_LINEBUFFER): New macro.
	(consider_token, C_entries, Pascal_functions): Use the new macro.
	(consider_token): Take one more argument.  Caller changed.
	(consider_token): Use the hashing function to spot GNU macros.
	(C_entries): Consider // as a comment start even in plain C for
	the sake of Objective C parsing.
	(pfnote): Don't make a tag for ctags if there is no name.
	(getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
	get_scheme, prolog_getit): Name the tag in ctags mode.
	(pfnote): Truncate ctags lines to 50 chars, like it worked once.
	(Perl_interpreters): Accept "@PERL@" as an interpreter.
	(suggest_asking_for_help): New function.
	(main, get_language_from_name): Use suggest_asking_for_help.
	(main): Let get_language_from_name make language existence check.
	(streq, strneq): Check the arguments #if DEBUG.
1995-12-07 09:10:54 +00:00
Francesco Potortì
1ff164dd43 * Makefile.in (ctags): depend on etags only for simplicity;
compile with regexp support enabled.
1995-12-07 08:41:11 +00:00
Geoff Voelker
c02ab10709 (DOC, clean): Don't use switches to del not supported by Win95. 1995-11-22 19:02:17 +00:00
Richard M. Stallman
641acd26cd (regex.o): Depend on ../src/config.h. 1995-11-14 02:59:27 +00:00