1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-26 10:49:33 +00:00
Commit Graph

76 Commits

Author SHA1 Message Date
Glenn Morris
f5d0ac07d6 Add 2009 to copyright years. 2009-01-08 03:38:51 +00:00
Dan Nicolaescu
938ebc4fcd (scan_lisp_file): Use xmalloc instead of malloc. 2008-12-01 20:29:02 +00:00
Adrian Robert
edfda78355 merging Emacs.app (NeXTstep port) 2008-07-15 18:15:18 +00:00
Glenn Morris
bcfce2c7f8 American English spelling fix. 2008-07-01 03:00:46 +00:00
Glenn Morris
294981c77c Switch to recommended form of GPLv3 permissions notice. 2008-05-09 23:19:13 +00:00
Dan Nicolaescu
9d2818d676 * configure.in: Remove references to obsolete variables and
systems.
* configure: Regenerate.

* Makefile.in (NO_SHORTNAMES):
* emacsclient.c (NO_SHORTNAMES):
* fakemail.c (NO_SHORTNAMES):
* make-docfile.c (NO_SHORTNAMES):
* movemail.c (NO_SHORTNAMES):
* pop.c (NO_SHORTNAMES): Remove references to obsolete variable.

* config.nt (SHORTNAMES): Remove reference to obsolete variable.

* s/vms4-0.h:
* s/vms4-2.h:
* s/vms4-4.h:
* s/vms5-5.h: Remove, unused.

* s/irix5-2.h:
* s/irix6-0.h:
* s/riscos5.h:
* s/mach-bsd4-3.h:
* m/mips4.h: Remove files for obsolete systems

* Makefile.in:
* filelock.c:
* unexmips.c:
* m/hp9000s300.h:
* m/iris4d.h:
* s/aix3-1.h:
* s/hpux.h:
* s/msdos.h:
* s/usg5-0.h:
* s/usg5-2-2.h:
* s/usg5-2.h:
* s/usg5-3.h: Remove references to obsolete variables.

* s/irix5-0.h: Remove, move all the contents ...
* s/irix6-5.h: ... here.  Simplify.
* config.in: Regenerate.
2008-02-24 18:53:07 +00:00
Dan Nicolaescu
e39a993cce * movemail.c:
* make-docfile.c: Remove reference to symbols defined by systems
not supported anymore: MAC_OS8, XENIX and STRIDE.

* (src/m/mips.h):
* (src/m/intel386.h):
* callproc.c:
* config.in:
* ecrt0.c:
* emacs.c:
* fileio.c:
* frame.c:
* getpagesize.h:
* keyboard.c:
* lread.c:
* process.c:
* puresize.h:
* sysdep.c:
* systty.h:
* syswait.h:
* unexec.c:
* xdisp.c:
* alloc.c: Remove code containing references to symbols defined by
unsupported systems.
2008-01-13 00:43:55 +00:00
Glenn Morris
a5b68355b3 Add 2008 to copyright years. 2008-01-07 08:42:46 +00:00
Glenn Morris
4a9f99bdfb Switch license to GPLv3 or later. 2007-07-25 05:08:27 +00:00
Glenn Morris
4e6835dbc4 Add 2007 to copyright years. 2007-01-21 04:57:37 +00:00
Thien-Thi Nguyen
273dc16aaf Update years in copyright notice; nfc. 2006-02-06 11:28:28 +00:00
Thien-Thi Nguyen
92b47a4a99 Update years in copyright notice; nfc. 2005-08-07 10:56:27 +00:00
Lute Kamstra
364c38d3af Update FSF's address. 2005-07-04 15:47:28 +00:00
YAMAMOTO Mitsuharu
ef7c480ddf (DIRECTORY_SEP): New macro.
(IS_DIRECTORY_SEP): Use it.
2005-05-13 08:53:17 +00:00
YAMAMOTO Mitsuharu
1376ed1867 Undo previous change. 2005-03-04 11:14:03 +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
Kim F. Storm
bf17c6e67e (scan_c_file): Set defvarperbufferflag to silence compiler. 2004-11-09 11:03:12 +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
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
Stefan Monnier
d5d66b7eda (xmalloc): Fix return type.
(put_filename): New fun.
(scan_file): Use it.
2004-04-07 19:18:42 +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
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Dave Love
7a71a86d3d (read_c_string_or_comment): Declare msgno. 2002-11-14 14:09:44 +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
Stefan Monnier
1e04216025 (scan_c_file): Warn about missing `usage' info. 2002-07-15 20:00:03 +00:00
Pavel Janík
a00e9335a4 Remove unnecessary whitespaces. 2002-01-05 23:37:58 +00:00
Pavel Janík
fb2d3129dc Comment fixes. 2001-11-15 15:50:31 +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
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
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
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
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
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
Gerd Moellmann
291c7e74d2 (write_c_args): Print newlines as spaces. 2001-01-13 16:49:49 +00:00
Andreas Schwab
34e778a67d (scan_lisp_file): Also look for `defsubst'. 2000-03-29 21:32:12 +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
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
Richard M. Stallman
433d333d70 Include config.h not ../src/config.h.
(main, fopen, chdir): Add #undef.
(read_c_string, scan_c_file, skip_white, read_lisp_symbol)
(scan_lisp_file): Handle \r like \n.
1999-09-03 23:12:27 +00:00
Andreas Schwab
eed63914b0 Include <stdlib.h> if available. 1999-08-30 15:08:30 +00:00
Andreas Schwab
a0613c61ed Include <unistd.h> for chdir. 1998-04-27 09:22:29 +00:00
Richard M. Stallman
3fe77f98b1 (scan_lisp_file): Handle custom-declare-variable. 1997-08-31 17:05:53 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Richard M. Stallman
dc61cb9dd8 (scan_file): Make sure it never looks at filename[-1]. 1995-06-21 19:46:58 +00:00
Richard M. Stallman
5281dea442 (main) [MSDOS]: Do set _fmode.
This undoes part of the previous change.
1995-06-21 19:45:27 +00:00
Richard M. Stallman
4e043ed306 (main): On MSDOS, don't change stdout to binary, and insist on an -o option. 1995-06-20 02:52:38 +00:00
Karl Heuer
2d1985a2e1 [MSDOS]: #undef chdir. 1995-06-08 20:13:45 +00:00
Richard M. Stallman
34b4ece5fe Include config.h.
(NO_SHORTNAMES): New definition.
(xmalloc): Return long *.
1995-05-04 21:57:30 +00:00