aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Initial revisionGeoff Voelker1996-05-031-0/+45
|
* Include ntlib.h.Geoff Voelker1996-05-031-2/+121
| | | | | | | (nt_sleep): Rename to sleep. (getwd): Return directory. (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown, sys_ctime, sys_fopen): New functions.
* (LOCAL_FLAGS): Include path to NT shadow includes.Geoff Voelker1996-05-031-21/+36
| | | | (movemail.exe, fakemail.exe): Now built under Win32.
* (SEND, RECV): Renamed from send, recv.Richard M. Stallman1996-04-291-12/+14
| | | | | (pop_open, pop_trash): Make the trash_started code unconditional. (socket_connection): Delete casts to void.
* (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions copied from lisp.h.Richard M. Stallman1996-04-281-0/+7
|
* [HAVE_CONFIG_H]: Only include config.h when defined.Richard M. Stallman1996-04-281-0/+2
|
* (struct _popserver): New field trash_started.Richard M. Stallman1996-04-281-0/+1
|
* [WINDOWSNT]: Include winsock.h and ntlib.h.Richard M. Stallman1996-04-281-9/+48
| | | | | | | | | | | | | | | | 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.
* (access, unlink) [WINDOWSNT]: Macros undefined.Richard M. Stallman1996-04-281-10/+38
| | | | | | | | | | | | | (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.
* [DOSNT]: Include fcntl.h.Richard M. Stallman1996-04-281-5/+8
| | | | | [WINDOWSNT]: Include io.h. (main) [MSDOS]: Change conditional to DOS_NT.
* [WINDOWSNT]: Include ntlib.h.Richard M. Stallman1996-04-281-0/+4
|
* (main) [DJGPP v2]: Don't change to binary for a tty.Richard M. Stallman1996-04-141-2/+4
|
* [DJGPP v2]: Include io.h.Richard M. Stallman1996-04-121-0/+11
| | | | (main) [DJGPP v2]: Switch standard streams to binary with setmode.
* [WINDOWSNT]: Include io.h.Richard M. Stallman1996-04-111-0/+1
|
* (CTAGSOBJ): Compile with regexp support.Geoff Voelker1996-04-101-3/+8
|
* (main) [MSDOS]: Handle DJGPP version 2.Richard M. Stallman1996-04-101-0/+7
|
* (absolute_filename): Use absolutefn.Richard M. Stallman1996-04-021-1/+1
|
* (absolutefn) [DOS_NT]: Support Novell drives whose driveRichard M. Stallman1996-04-011-6/+51
| | | | | | | | | | | | 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.
* Change uses of del to $(DEL).Geoff Voelker1996-03-281-4/+3
|
* * etags.c (just_read_file): Reset lineno and charno on entry.Francesco Potortì1996-03-221-92/+408
| | | | | | | | | | | | | | | | | | | | | | | * 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.
* (main): Initialize progname variable before using it.Richard M. Stallman1996-03-201-2/+3
| | | | Quote `username' in From_ header.
* (getpid): New function.Geoff Voelker1996-03-191-0/+6
|
* Comment change.Richard M. Stallman1996-02-221-1/+1
|
* (main, both definitions): Print a newline for normal termination.Karl Heuer1996-02-211-1/+4
|
* (main): Convert port to network byte order.Karl Heuer1996-02-211-1/+1
|
* Comment fixes.Karl Heuer1996-02-171-2/+2
|
* (pop_retrieve, getline): Avoid type clashes.Karl Heuer1996-01-201-3/+4
|
* (enum sym_type, anonymous enum): Delete final comma.Karl Heuer1996-01-191-2/+2
|
* Update FSF's address in the preamble.Erik Naggum1996-01-1514-49/+66
|
* (initialize_fullname): Add support for NIS+.Paul Eggert1996-01-151-3/+18
| | | | | (hostname): Fully qualify the default hostname with the domainname if the hostname lacks a `.'.
* (consider_token): Fix typo in expression.Karl Heuer1996-01-101-1/+1
|
* Comment fixes.Karl Heuer1996-01-053-6/+6
|
* (substitute): Fix spelling in message.Karl Heuer1996-01-051-6/+6
|
* (etags, ctags): Compile with regexp support.Geoff Voelker1996-01-041-10/+34
| | | | | (make-docfile, wakeup, etags, ctags, hexl): Ensure build subdirectory exists before compiling.
* (main): Do chmod based on existing permission.Karl Heuer1996-01-031-1/+9
|
* (install): Turn on read/execute permission.Richard M. Stallman1995-12-271-0/+2
|
* (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.Karl Heuer1995-12-211-6/+6
| | | | (LOADLIBES): Use LIB_STANDARD_LIBSRC.
* * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.Francesco Potortì1995-12-071-227/+417
| | | | | | | | | | | | | | | | | | | | | | | | | (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.
* * Makefile.in (ctags): depend on etags only for simplicity;Francesco Potortì1995-12-071-2/+2
| | | | compile with regexp support enabled.
* (DOC, clean): Don't use switches to del not supported by Win95.Geoff Voelker1995-11-221-3/+3
|
* (regex.o): Depend on ../src/config.h.Richard M. Stallman1995-11-141-1/+1
|
* (LIB_STANDARD): Extract this as in src/Makefile.in.Richard M. Stallman1995-11-121-1/+12
| | | | (LOADLIBES): Use LIB_STANDARD.
* (DOC): Include strings from w32term.c, w32xfns.c,Geoff Voelker1995-11-071-5/+1
| | | | | w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove Win95 conditional.
* * etags.c (get_lang_from_name, get_lang_from_interpreter,Francesco Potortì1995-11-061-142/+251
| | | | | | | | | | | | get_lang_from_suffix): New functions. (get_language): Function deleted. (lang_entry): Two members added to struct. (lang_names): Reflect the new layout of lang_entry. (print_language_names, main, find_entries): Use the new functions. (find_entries): Look at the first line for #! if no language. (C_entries): Invalidate the token when funcdef is reset. (Perl_functions): New function. (lang_suffixes): .pl and .pm are Perl suffixes.
* * etags.c (lowcase): Use the standard tolower function.Francesco Potortì1995-11-021-96/+81
| | | | | | | | | | | | | (substitute): Remove some wrong and some useless code related with escape `\` character in regexp replacement string. (TEX_defenv): Added part, appendix, entry, index. Removed typeout. (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran; .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp; .prolog for prolog (.pl removed). (massage_name, etags_getcwd): Use lowcase instead of tolower. (regex.h): Don't include it if REGEX_IN_LIBC is defined. (C_entries, find_entries): Added comments about memory leakage. (add_node): Dead code removed.
* (getdate.o, movemail.o): Specify -Demacs.Richard M. Stallman1995-10-301-6/+8
| | | | (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
* Add #undef for open, close, read, write.Richard M. Stallman1995-08-311-0/+6
|
* [HAVE_CONFIG_H]: Include config.h.Roland McGrath1995-08-231-1/+10
| | | | | [! O_RDONLY]: Define it to zero. (main): Use O_RDONLY instead of explicit zero.
* (getdate.c): New target.Richard M. Stallman1995-08-181-4/+6
| | | | (getdate.o): Just compile getdate.c.
* * etags.c (Pascal_functions): Close comment bug corrected.Francesco Potortì1995-08-171-87/+92
| | | | | | | | | | | | | | (add_node): Correctly compare node file names. (Pascal_functions): Correctly allocate and free memory for tline. (pfnote): Put the definition of fp in the innermost block. (NODE): `named' member removed. (pfnote, free_tree, put_entries, total_size_of_entries): Do not use the `named' member, check whether `name' is NULL instead. (pfnote): `named' argument removed, all callers changed. (getit, Asm_labels, Pascal_functions, L_getit, get_scheme, TeX_functions, TEX_getit, prolog_getit): Useless string allocation removed from pfnote call, some code cleanup. (relative_filename): Free temporary space allocated by concat.