1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 15:00:45 -08:00
Commit graph

300 commits

Author SHA1 Message Date
Paul Eggert
d65b42351f * lib-src/b2m.c (main): Don't include <limits.h>.
(TM_YEAR_BASE): New macro.
(TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
that s/ files can override this.  Use the more-conservative range
1000-9999.
(main): Check for asctime returning NULL.
* lib-src/fakemail.c: Likewise.
* src/editfns.c (TM_YEAR_IN_ASCTIME_RANGE): New macro, identical to
../lib-src/b2m.c and ../lib-src/editfns.c.
(Fcurrent_time_string): Use it.
Document that the year might not consume 4 columns if it's outside
the range 1000-9999.
Check for asctime failure.
Don't assume that the output string length is always exactly 24.
2006-04-04 04:13:02 +00:00
Paul Eggert
f55658040d * b2m.c: Include <limits.h>.
(TM_YEAR_IN_ASCTIME_RANGE): New macro.
(main): Check for out-of-range time stamps.
* fakemail.c: Likewise.
2006-03-27 20:40:05 +00:00
André Spiegel
90c9c343b6 # 2006-03-18 15:05:35 +00:00
Eli Zaretskii
9e2bcc8631 Fix last entry. 2006-03-03 12:07:45 +00:00
Eli Zaretskii
a6a2b5d482 *** empty log message *** 2006-03-03 12:05:39 +00:00
Thien-Thi Nguyen
273dc16aaf Update years in copyright notice; nfc. 2006-02-06 11:28:28 +00:00
Eli Zaretskii
fc8dc7cf56 *** empty log message *** 2005-12-30 14:04:37 +00:00
Eli Zaretskii
ef3f69f901 *** empty log message *** 2005-12-30 13:21:04 +00:00
Richard M. Stallman
30cfcf7fb0 (update-game-score.o): Delete spurious final `\'. 2005-12-22 16:18:46 +00:00
Francesco Potortì
2e0bea68fa Cxref mode writes to stdout: do not close tagf,
which has never been opened.

Specify in the --help that vgrind writes to stdout.
2005-11-18 13:57:25 +00:00
Eli Zaretskii
283879ef54 Fix date of last entry. 2005-10-20 13:17:59 +00:00
Eli Zaretskii
ce0ae3a948 Undef STDIN if defined. (LynxOS defines it in system header files.) 2005-10-20 13:13:42 +00:00
Francesco Potortì
b950971271 (main): In append mode, sort the tags file after writing it. 2005-09-27 20:18:49 +00:00
Francesco Potortì
55102b5d31 Preliminary Forth support.
(prolog_pr): Cast strlen to int before comparison.
(LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
the second argument is indeed a literal string.
(longopts, print_help, main): The -a (--append) option
can be used in ctags also; for one, the Linux make file uses it.
2005-09-27 13:26:54 +00:00
Chong Yidong
41ea4df8c3 (add_sym): Compare namespace names instead of namespace objects. This
prevents the parser from incorrectly treating classes whose superclass
is in another namespace.
2005-09-20 13:19:29 +00:00
Richard M. Stallman
5c4757d329 *** empty log message *** 2005-09-15 13:17:55 +00:00
Jason Rumney
df1b21421b (../src/config.h): Don't overwrite. Print a message instead.
(../src/paths.h): Removed.
2005-09-11 22:29:23 +00:00
Juanma Barranquero
c638055f54 *** empty log message *** 2005-07-28 08:29:54 +00:00
Paul Eggert
9eff9fe3e8 Merge gnulib getopt implementation into Emacs.
* Makefile.in (AUTOCONF_INPUTS): New macro.
($(srcdir)/configure, $(srcdir)/src/stamp-h.in): Depend on it,
so that these files also depend on m4/getopt.m4.
* configure.in: Configure getopt by including m4/getopt.m4,
and configuring a getopt replacement if necessary.
* make-dist: Add m4 subdirectory.  Unlink lib-src/getopt.h.
* m4/getopt.m4: New file.

* lib-src/Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
(GETOPT_H): New macro, from gnulib.
(getopt.h): New rule, from gnulib.
(GETOPTOBJS): Now autoconfigured.
(GETOPTDEPS): getopt.h is now autoconfigured.
(getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
(getopt.o): Depend on ${srcdir}/gettext.h.
(movemail.o): Depend on $(GETOPT_H).
* lib-src/getopt.c, lib-src/getopt1.c: Sync from gnulib.
* lib-src/getopt_.h, lib-src/getopt_int.h, lib-src/gettext.h:
New files, from gnulib.
* lib-src/getopt.h: Removed (now is getopt_.h).

* nt/inc/gettext.h: Remove; no longer needed now that
lib-src/gettext.h exists.

* src/s/cygwin.h (C_SWITCH_SYSTEM): Remove, since gettext.h is
now part of lib-src.
2005-07-26 21:43:13 +00:00
Ken Raeburn
ec641d5056 Don't include des.h (or variants thereof); krb.h will do it.
(sendline): Add the \r\n to the line in a temporary buffer, and write it all at
once.
2005-07-13 21:47:54 +00:00
Lute Kamstra
a0ec7a4a17 *** empty log message *** 2005-07-05 12:22:32 +00:00
Eli Zaretskii
0e0dddda54 *** empty log message *** 2005-06-13 12:19:38 +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
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
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
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
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
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ì
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
Richard M. Stallman
3751eb00d7 *** empty log message *** 2004-07-17 15:00:22 +00:00
Juanma Barranquero
86d373e6b2 *** empty log message *** 2004-06-02 00:53:13 +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
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
Paul Eggert
442a2160f4 * rcs2log (Help): Clarify wording of the usage message. 2004-04-18 06:02:16 +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