Jim Meyering
8aec9916dd
make-docfile: don't corrupt heap for an invalid .elc file
2011-01-30 10:17:36 +01:00
Eli Zaretskii
f915f0f7c8
Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu and emacs-23/2010-05-21T19:51:48Z!acm@muc.de.
...
lib/makefile.w32-in:
lib/getopt_.h: New files.
src/s/ms-w32.h (HAVE_MKTIME): Remove.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GNULIB): New variable.
(LIBS): Add $(GNULIB).
$(TEMACS): Depend on $(GNULIB).
<top-level>: Fix font-lock disrupted by a lone `"'.
src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
(GETOPTOBJS, GETOPTDEPS): Remove targets.
(MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
(ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
(clean): Don't remove getopt.h.
(getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
$(EMACS_ROOT)/lib/getopt.h.
nt/makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
(bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
(bootstrap-clean-gmake, clean-other-dirs-nmake)
(clean-other-dirs-gmake, cleanall-other-dirs-nmake)
(cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
(distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
(maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
nt/configure.bat: Create lib/makefile.
nt/config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
(HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
(HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
(_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
2011-01-29 14:36:11 +02:00
Glenn Morris
95df8112a0
Refill some long/short copyright headers.
2011-01-26 00:36:39 -08:00
Glenn Morris
73b0cd5003
Convert consecutive FSF copyright years to ranges.
2011-01-24 20:08:28 -08:00
Glenn Morris
06d8ace515
Merge from emacs-23.
...
Note setting of CANNOT_DUMP on ia64 hpux is still to be merged manually.
2011-01-24 19:47:47 -08:00
Chong Yidong
fbf4af3a43
* movemail.c (main): Use setregid, as setegid is missing on HP-UX (Bug#6811).
...
Suggested by Peter O'Gorman.
2011-01-23 17:58:52 -05:00
Paul Eggert
9055082ef8
Check return values of some library calls.
2011-01-22 23:30:19 -08:00
Paul Eggert
33fe4243f3
Update ChangeLog dates to today.
2011-01-17 11:38:39 -08:00
Paul Eggert
a3e44e7937
Merge from mainline.
2011-01-17 11:01:01 -08:00
Glenn Morris
0d9f702fd0
Nuke arch-tags.
2011-01-15 15:16:57 -08:00
Chong Yidong
9f19b8ddfe
Bump version to 23.2.92.
...
Regenerate AUTHORS, configure, and ldefs-boot.el.
2011-01-14 22:50:47 -05:00
Paul Eggert
8a1f4a98c1
Merge from mainline.
2011-01-14 10:14:17 -08:00
Stefan Monnier
77ab81d054
Merge from emacs-23
2011-01-14 12:18:41 -05:00
Paul Eggert
4004364e67
Include <unistd.h> unilaterally.
2011-01-09 00:12:35 -08:00
Paul Eggert
613f7bda1d
Include <getopt.h> not "getopt.h".
...
* ebrowse.c, emacsclient.c: Include <getopt.h>, not "getopt.h".
Since getopt.h is no longer in this directory, there's no point
using the form with double-quotes.
2011-01-09 00:00:02 -08:00
Paul Eggert
e275c824b0
Regenerate.
2011-01-08 23:33:50 -08:00
Paul Eggert
84bbb1add5
Use gnulib's getopt-gnu module.
2011-01-08 23:29:26 -08:00
Paul Eggert
9a514d4a6c
Automate syncing from gnulib.
2011-01-08 13:02:38 -08:00
Paul Eggert
72427c46a7
* Makefile.in (EXECUTABLES): Remove; macro unused since 1993.
2011-01-08 11:03:31 -08:00
Glenn Morris
e7a4241753
Add --no-site-lisp to more Makefiles.
...
* leim/makefile.w32-in (RUN_EMACS):
* leim/Makefile.in (RUN-EMACS): Add --no-site-lisp.
* lib-src/Makefile.in (EMACSOPT): Add --no-site-lisp.
* lisp/makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2011-01-07 18:53:50 -08:00
Glenn Morris
4967fa3422
* lib-src/Makefile.in (EMACSOPT): Remove --multibyte, it does nothing any more.
2011-01-07 18:34:26 -08:00
Glenn Morris
5df4f04cd3
Add 2011 to FSF/AIST copyright years.
2011-01-02 15:50:46 -08:00
Chong Yidong
7c420169ba
Merge changes from emacs-23 branch
2011-01-02 15:31:19 -05:00
Glenn Morris
d7bfa7a1d9
Set short copyright year to 2011.
...
* lib-src/ebrowse.c (version) <emacs_copyright>:
* lib-src/etags.c (print_version) <emacs_copyright>:
* lib-src/rcs2log (Copyright):
* lisp/version.el (emacs-copyright):
* nextstep/Cocoa/Emacs.base/Contents/Info.plist:
* nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings:
* nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist:
Set short copyright year to 2011.
2011-01-01 18:46:30 -08:00
Chong Yidong
1f10e75066
Bump version to 23.2.91.
...
Regenerate configure and ldefs-boot.el.
2010-12-10 12:46:40 -05:00
Chong Yidong
07976ae3b8
Merge changes from emacs-23 branch
2010-11-27 15:04:57 -05:00
Joe Matarazzo
da2b5401e8
Fix bug #7446 with overrunning input buffer in ebrowse.
...
ebrowse.c (yylex): If end of input buffer encountered while
searching for a newline after "//", return YYEOF.
2010-11-27 11:29:22 +02:00
Stefan Monnier
4a47c27573
Merge from emacs-23
2010-11-17 22:54:14 -05:00
Dan Nicolaescu
f16cafe309
* lib-src/test-distrib.c: Remove include guards for config.h and fcntl.h.
...
(O_RDONLY): Do not define.
(cool_read): Fix type for variable "sofar".
2010-11-14 22:42:21 -08:00
YAMAMOTO Mitsuharu
e6068ab302
Add fall-back definition of _CS_DARWIN_USER_TEMP_DIR (fix last failed check-in).
2010-11-10 17:35:27 +09:00
YAMAMOTO Mitsuharu
76cc4cd692
Add fall-back definition of _CS_DARWIN_USER_TEMP_DIR.
2010-11-10 17:33:14 +09:00
Chong Yidong
0f161c71c9
Bump version to 23.2.90.
...
Regenerate AUTHORS, configure, and ldefs-boot.el.
2010-11-08 21:53:18 -05:00
Glenn Morris
6a5c21753e
Move ns-win.el's rather wacky menu adjustments to menu-bar.el.
...
* lisp/term/ns-win.el: Do not require easymenu.
(menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
<spell>: Move adjustments to menu-bar.el.
* lisp/menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
<separator-undo, spell>: Move ns-win's adjustments here.
* lisp/loadup.el [ns]: Do not load easymenu.
* src/Makefile.in (SOME_MACHINE_LISP): Remove easymenu.elc.
* lib-src/makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove easymenu.elc.
2010-10-24 17:48:26 -07:00
Glenn Morris
17284e3024
Replace digest-doc and sorted-doc C programs with Lisp commands.
...
* lib-src/digest-doc.c, lib-src/sorted-doc.c: Remove files.
* lib-src/Makefile.in (UTILITIES): Remove digest-doc and sorted-doc.
(digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules.
* lib-src/makefile.w32-in (ALL): Remove digest-doc and sorted-doc.
($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc)
($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules.
(install): Don't install digest-doc.exe or sorted-doc.exe.
* lisp/help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
* doc/lispref/help.texi (Documentation Basics): Remove mentions of
digest-doc and sorted-doc.
* INSTALL, nt/README, nt/README.W32: Do not mention digest-doc and sorted-doc.
* etc/NEWS: Mention this change.
2010-10-22 19:46:06 -07:00
Glenn Morris
e43b1141f3
Fix format of old lib-src/ChangeLog entry.
2010-10-19 20:53:34 -07:00
Dan Nicolaescu
a4daeecfef
Pass CFLAGS to the linker.
...
* configure.in (PROFILING_LDFLAGS): Do not define, remove all uses.
* lib-src/Makefile.in (PROFILING_LDFLAGS): Remove, not needed.
* msdos/sed1v2.inp (PROFILING_LDFLAGS):
* msdos/sed3v2.inp (PROFILING_LDFLAGS): Remove, not defined anymore.
* src/Makefile.in (temacs): Use $(ALL_CFLAGS) on the link line.
(PROFILING_LDFLAGS): Remove, not needed anymore.
2010-10-10 08:35:04 -07:00
Glenn Morris
3fb78d1f33
Remove lib-src/b2m.c and b2m.pl.
...
Emacs does not use Babyl files since 23.1, and you can use M-x unrmail.
* msdos/mainmake.v2 (install): Remove b2m.
* lisp/emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
* lib-src/b2m.c, lib-src/b2m.pl: Remove files.
* lib-src/Makefile.in (INSTALLABLES): Remove b2m.
* lib-src/makefile.w32-in ($(BLD)/b2m.$(O)): Remove.
* doc/emacs/ack.texi (Acknowledgments): No more b2m.c.
* admin/quick-install-emacs (PUBLIC_LIBSRC_BINARIES): Remove b2m.
* INSTALL, make-dist: Remove references to b2m.
* Makefile.in (MAN_PAGES): Remove b2m.1.
2010-10-08 18:15:15 -07:00
Juanma Barranquero
4628bef1ee
Merge changes from emacs-23 branch.
2010-10-08 12:14:47 +02:00
Dan Nicolaescu
728a982db4
Fix compilation warnings.
...
* lib-src/test-distrib.c (cool_read):
* lib-src/movemail.c (main, concat):
* lib-src/make-docfile.c (scan_file, write_c_args):
* emacsclient.c (get_server_config): Fix -Wconversion warning.
(egetenv): Move conditional definition earlier.
(progname): Use const.
* lib-src/sorted-doc.c (xstrdup): Use const.
2010-10-03 16:35:22 -07:00
Dan Nicolaescu
f99d75f5bb
* lib-src/Makefile.in: Remove ^L, old makes choke on it.
2010-10-03 08:46:41 -07:00
Wolfgang Schnerring
3ecb8d931a
* emacsclient.c (main): Return EXIT_FAILURE if Emacs sends us an error string
...
(Bug#6963).
2010-10-02 20:00:01 -04:00
Juanma Barranquero
54b65f7b40
Rework tags targets in Windows makefiles to protect against old/stupid makes.
...
* lib-src/makefile.w32-in (tags): Remove target.
* src/makefile.w32-in (tags): Rename target to full-tags.
2010-10-02 14:12:17 +02:00
Eli Zaretskii
73077a9af5
Support TAGS targets in the w32 build.
...
nt/makefile.w32-in (frc, TAGS, TAGS-gmake, TAGS-nmake): New targets.
emacs-src.tags: New file.
src/makefile.w32-in (TAGS, frc, TAGS-LISP, ../nt/TAGS, tags)
(TAGS-gmake, TAGS-nmake, TAGS-LISP-gmake, TAGS-LISP-nmake)
(nt-TAGS-gmake, nt-TAGS-nmake): New targets.
lisp/makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
(TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
(TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
lib-src/makefile.w32-in (tags, TAGS): New targets.
2010-10-01 13:45:16 +02:00
Glenn Morris
b336bfcdf3
Close bug#3992.
...
* lib-src/emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back
DARWIN_USER_TEMP_DIR.
2010-09-30 20:41:12 -07:00
Juanma Barranquero
968ef9b4da
lisp/server.el: Use just one way to pass the Emacs PID to emacsclient.
...
* lib-src/emacsclient.c (get_server_config): Don't read Emacs pid from
the authentication file.
* lisp/server.el (server-start): Don't write pid to the authentication file.
(server-create-tty-frame): Don't send pid.
(server-process-filter): Send pid at the start of every connection.
2010-09-30 04:53:26 +02:00
Juanma Barranquero
a69edb8adf
lib-src/makefile.w32-in (../src/config.h): Remove target, it is stale.
2010-09-29 17:07:34 +02:00
Juanma Barranquero
6ab88e02c9
* emacsclient.c (main): Remove unused variables.
...
(start_daemon_and_retry_set_socket): Use EXIT_FAILURE.
2010-09-29 10:18:40 +02:00
Juanma Barranquero
70e3143660
Fix typos in ChangeLogs.
2010-09-27 12:25:04 +02:00
Ulrich Mueller
4c96435152
Add more xz compression support.
...
* doc/man/etags.1: xz compression is now supported.
* doc/misc/woman.texi (Interface Options): xz compression is now supported.
* lib-src/etags.c (compressors, print_language_names): Support xz compression.
* lisp/eshell/em-ls.el (eshell-ls-archive-regexp):
* lisp/eshell/esh-util.el (eshell-tar-regexp):
* lisp/ibuffer.el (ibuffer-compressed-file-name-regexp):
* lisp/info.el (Info-suffix-list):
* lisp/international/mule.el (auto-coding-alist):
* lisp/woman.el (woman-file-regexp, woman-file-compression-regexp):
* lisp/progmodes/etags.el (tags-compression-info-list):
Support xz compression.
2010-09-25 14:42:48 -07:00
Jan D
5e3b9a89ad
Fix -Wwrite-strings warnings in fakemail.c.
...
* fakemail.c: Include stdlib.h for getenv. Remove declaration of
popen, fclose and pclose.
(my_name, fatal, error, put_line): Use const char*
(main): Remove extern getenv, mail_program_name is const char*.
2010-08-11 11:16:35 +02:00