Glenn Morris
8cc1d51933
Replace mkinstalldirs with `install-sh -d', as automake recommends.
...
* Makefile.in (mkdir): Use `install-sh -d' instead of mkinstalldirs.
(sync-from-gnulib): Don't sync mkinstalldirs.
* make-dist: Don't distribute mkinstalldirs.
* leim/Makefile.in (install): Use `install-sh -d' rather than mkinstalldirs.
* lib-src/Makefile.in ($(DESTDIR)${archlibdir}):
Use `install-sh -d' rather than mkinstalldirs.
* configure.in, doc/emacs/Makefile.in: Update comments.
* admin/notes/copyright: Remove mkinstalldirs.
2011-03-22 20:09:55 -07:00
Paul Eggert
c9c49752e1
Fix more problems found by GCC 4.5.2's static checks.
2011-03-22 18:01:59 -07:00
Paul Eggert
b1f961e1fa
* ebrowse.c: Use size_t, not int, for sizes.
...
This avoids a warning with gcc -Wstrict-overflow, and works
better for very large objects.
(inbuffer_size): Now size_t. All uses changed.
(xmalloc, xrealloc, operator_name, process_file): Use size_t for
sizes. Don't bother testing whether a size_t value can be negative.
2011-03-21 11:03:15 -07:00
Paul Eggert
58cb46fbf4
* etags.c (Ada_funcs): Redo slightly to avoid overflow warning.
2011-03-21 09:41:03 -07:00
Paul Eggert
3ef271f27f
etags: In Prolog functions, don't assume int fits in size_t.
...
This avoids a warning with gcc -Wstrict-overflow.
* etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t,
not int, to store sizes.
(prolog_atom): Return 0, not -1, on error. All callers changed.
2011-03-21 09:40:05 -07:00
Paul Eggert
5d6d7e5701
Add Bug#.
2011-03-21 09:22:16 -07:00
Paul Eggert
f0d80d43ba
update-game-score: fix bug with -r
...
* update-game-score.c (main): Don't set 'scores' to garbage when
-r is specified and scorecount != MAX_SCORES. This bug was
introduced in the 2002-04-10 change, and was found with gcc
-Wstrict-overflow (GCC 4.5.2, x86-64).
2011-03-21 00:46:53 -07:00
Paul Eggert
d5cad867ec
[ChangeLog]
...
fakemail: Remove dependency on ignore-value.
* Makefile.in (GNULIB_MODULES): Add stdio.
* lib/stdio.in.h, m4/stdio_h.m4: New files, automatically
imported from gnulib.
[lib-src/ChangeLog]
fakemail: Remove dependency on ignore-value.
This undoes some of the recent fakemail-related changes.
It is made possible due to recent changes to gnulib's stdio module.
* Makefile.in (fakemail${EXEEXT}): Do not depend on ignore-value.h.
* fakemail.c: Do not include ignore-value.h.
(put_line): Do not use ignore_value.
2011-03-20 22:04:41 -07:00
Juanma Barranquero
e18c0aa335
Remove unnecessary "(tiny change)" markers.
2011-03-07 22:16:42 +01:00
Drake Wilson
0b973fc594
Add --quiet option for emacsclient (bug#663) (tiny change)
...
* lib-src/emacsclient.c (longopts): Add quiet.
(decode_options): Handle q/quiet.
(print_help_and_exit): Add q/quiet.
(main): Suppress some messages if quiet option is used.
* doc/emacs/misc.texi (emacsclient Options): Add q/quiet.
2011-03-02 23:00:23 -08:00
Eli Zaretskii
00030ef0b6
Fix dependencies following 2011-02-26T05:54:36Z!eggert@cs.ucla.edu.
...
lib-src/Makefile.in (fakemail${EXEEXT}): Depend on lib/ignore-value.h.
2011-02-26 10:36:56 +02:00
Eli Zaretskii
a54af40e14
Fix the MS-Windows build after 2011-02-26T05:54:36Z!eggert@cs.ucla.edu.
...
emacsclient.c (xstrdup) [WINDOWSNT]: Function added back.
(w32_getenv): Use xstrdup to return all values in malloc'ed
storage.
2011-02-26 09:44:38 +02:00
Paul Eggert
9e1b7fe6be
* ebrowse.c (BROWSE_STRUCT): Remove unused macro.
2011-02-25 21:43:51 -08:00
Paul Eggert
6c0668d97b
* ebrowse.c (parse_qualified_param_ident_or_type): Make it clear
...
to reader (and to the compiler) that the loop always executes at
least once. This prevents a warning with recent GCC.
2011-02-25 21:41:42 -08:00
Paul Eggert
a4fe4e890a
* fakemail.c: Include <ignore-value.h>.
...
(put_line): Explicitly ignore fwrite return value, for benefit of
recent glibc + gcc.
(close_the_streams): Diagnose output errors instead of merely
exiting with nonzero status.
(my_fclose, main): Diagnose input errors, and exit with nonzero status.
Formerly, input errors were silently ignored.
2011-02-25 21:36:51 -08:00
Paul Eggert
70279bd1cb
* ebrowse.c (insert_keyword): Rename parameter to avoid shadowing diagnostic.
2011-02-25 16:23:33 -08:00
Paul Eggert
34e6d7823a
* ebrowse.c (putstr): Rename from PUTSTR and turn into a function.
...
All callers changed. This is cleaner, and avoids GCC warnings about
passing NULL to fputs.
2011-02-25 16:22:13 -08:00
Paul Eggert
4be3dfc5e3
* emacsclient.c (IF_LINT): New macro.
...
(set_local_socket, main): Use it to suppress warnings with
GCC -Wuninitialized.
2011-02-25 16:17:02 -08:00
Paul Eggert
b9170155fb
* emacsclient.c (xstrdup): Remove; no longer needed.
...
(get_current_dir_name, w32_getenv, get_server_config, find_tty):
(set_local_socket, main):
Use const char *, not char *, for pointers that are not assigned
through.
2011-02-25 15:55:06 -08:00
Paul Eggert
7e6bb4c94c
* emacsclient.c (main): Avoid dangling 'if'.
2011-02-25 15:39:18 -08:00
Paul Eggert
b0bbc07d9a
* emacsclient.c: Redo local variables to avoid shadowing problems.
...
(message, socket_status, start_daemon_and_retry_set_socket):
Rename locals.
(main): Move decl of "i".
2011-02-25 15:35:16 -08:00
Paul Eggert
3f5e6230d7
* etags.c (ISUPPER): Move to inside the only #ifdef where it's used.
...
This avoids an unused-macro warning with some GCC settings.
2011-02-25 15:26:55 -08:00
Paul Eggert
8dfa32f6a5
* make-docfile.c (scan_c_file): Refactor local variable decls to make their scope
...
more accurate and to avoid a GCC -Wuninitialized diagnostic.
2011-02-25 14:21:01 -08:00
Paul Eggert
564ff1f20c
* make-docfile.c (write_globals): Change char * to char const *
...
to avoid a GCC "assignment discards qualifiers" diagnostic
in some configurations.
2011-02-25 14:05:43 -08:00
Stefan Monnier
53cfe624fc
* lisp/emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
2011-02-23 10:22:28 -05:00
Eli Zaretskii
32e793fa11
Fix 2011-02-22T17:37:06Z!eggert@cs.ucla.edu.
...
etags.c (canonicalize_filename, ISUPPER): Fix last change.
2011-02-22 20:08:53 +02:00
Eli Zaretskii
b97decf246
MS-Windows part of 2011-02-21T23:22:34Z!eggert@cs.ucla.edu, addition of min-max.h.
...
lib-src/makefile.w32-in ($(BLD)/ebrowse.$(O), $(BLD)/pop.$(O)): Depend
on ../lib/min-max.h.
2011-02-22 19:51:38 +02:00
Paul Eggert
e5075711e5
etags: Downcase drive letters, for consistency with Emacs proper.
...
* etags.c (upcase): Remove; no longer used.
(canonicalize_filename): Downcase drive letters.
2011-02-22 09:37:06 -08:00
Paul Eggert
9c9ba4ba20
Merge: Assume S_ISLNK etc. work, since gnulib supports this.
2011-02-21 17:58:44 -08:00
Paul Eggert
f68c809d7e
[ChangeLog]
...
Assume S_ISLNK etc. work, since gnulib supports this.
* Makefile.in (GNULIB_MODULES): Add sys_stat.
* configure.in: Check for lstat and set HAVE_LSTAT=0 if not.
Pretend to be using the gnulib lstat module for benefit of sys/stat.h.
* configure, lib/Makefile.in, lib/gnulib.mk: Regenerate.
[lib-src/ChangeLog]
Assume S_ISLNK etc. work, since gnulib supports this.
* etags.c (S_ISREG): Remove.
[src/ChangeLog]
Assume S_ISLNK etc. work, since gnulib supports this.
* config.in: Regenerate.
* dired.c (lstat): Remove.
(file_name_completion): Assume S_ISDIR works.
(file_name_completion_stat): Assume S_ISLNK works.
Do not bother calling stat unless lstat says it's a symlink.
* fileio.c (S_ISLNK, S_ISFIFO, S_ISREG, lstat): Remove.
(Fcopy_file): Assume S_ISREG and S_ISLNK work.
(check_writable, Ffile_writable_p, Fset_file_times):
Assume S_ISDIR works.
(Ffile_readable_p): Use S_IFIFO, not S_ISFIFO, to guess whether
fifos exist.
(Ffile_regular_p, Finsert_file_contents): Assumes S_ISREG works.
* filelock.c (S_ISLNK): Remove.
* lread.c (openp): Assume S_ISDIR works.
* xrdb.c (S_ISDIR): Remove.
2011-02-21 17:55:20 -08:00
Juanma Barranquero
602a5739d4
lib-src/makefile.w32-in (obj): Remove filemode.o.
2011-02-22 01:49:54 +01:00
Paul Eggert
5ecec6a7f4
* movemail.c: Define macros only in needed contexts.
2011-02-21 16:11:56 -08:00
Paul Eggert
d47d631945
* Makefile.in (ebrowse${EXEEXT}, pop.o): Depend on min-max.h.
2011-02-21 16:08:53 -08:00
Paul Eggert
9441f0e4fc
Merge from mainline.
2011-02-21 15:46:32 -08:00
Paul Eggert
ba01e9d785
[ChangeLog]
...
* lib/min-max.h: New file, for "min" and "max".
[lib-src/ChangeLog]
New file "lib/min-max.h".
* ebrowse.c (min, max): Define them by including <min-max.h>
instead of defining it ourselves.
* pop.c (min): Likewise.
2011-02-21 15:22:34 -08:00
Paul Eggert
08c690977a
* test-distrib.c (buf): Make this local, to avoid shadowing.
2011-02-21 15:15:17 -08:00
Paul Eggert
f0939c31a6
* movemail.c (popmail): Report fchown failure instead of ignoring it.
...
But if the file already has the right ownership, don't worry about it.
2011-02-21 14:31:55 -08:00
Eli Zaretskii
25c51af3a9
Adapt MS-Windows build to import of filemode.c from gnulib.
...
nt/inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
(S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
(S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
(S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
(lstat): Define to stat.
lib/makefile.w32-in ($(BLD)/filemode.$(O)): Move from
src/makefile.w32-in and adapt. Depend on stamp_BLD.
(GNULIBOBJS): Add $(BLD)/filemode.$(O).
src/makefile.w32-in ($(BLD)/filemode.$(O)): Move recipe to
lib/makefilw.w32-in.
($(BLD)/dired.$(O)): Depend on $(EMACS_ROOT)/lib/filemode.h.
(GLOBAL_SOURCES): Remove filemode.c.
(OBJ1): Remove $(BLD)/filemode.$(O).
lib-src/makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O))
($(BLD)/etags.$(O), $(BLD)/movemail.$(O), $(BLD)/ntlib.$(O)):
Depend on $(EMACS_ROOT)/nt/inc/sys/stat.h.
2011-02-21 22:00:19 +02:00
Paul Eggert
4df52042a5
* make-docfile.c (input_buffer): Rename variables to avoid shadowing.
2011-02-21 11:37:54 -08:00
Paul Eggert
3870e8f9b9
Merge from mainline.
2011-02-21 10:51:02 -08:00
Paul Eggert
0d7fdc0ef4
* movemail.c: (DIRECTORY_SEP, IS_DIRECTORY_SEP, DONE, IS_FROM_LINE):
...
Remove unused macros.
* pop.c (index): Remove unused macro.
(KPOP_PORT): Define only if KERBEROS is defined.
2011-02-21 10:37:35 -08:00
Paul Eggert
1afca8cc21
* movemail.c: Remove unused vars
2011-02-21 10:26:52 -08:00
Paul Eggert
27d41fb4a9
* movemail.c (main, pop_retr): Rename locals to avoid shadowing.
2011-02-21 10:22:20 -08:00
Paul Eggert
b23b5a5b7d
Declare file-scope functions and variables static if not exported.
...
This is more consistent, and is nicer with gcc -Wstrict-prototypes.
* ebrowse.c, emacsclient.c, fakemail.c, make-docfile.c, movemail.c:
* profile.c, test-distrib.c, update-game-score.c:
Declare non-'main' functions and variables to be static.
* ebrowse.c: Omit redundant function prototypes.
2011-02-21 10:06:25 -08:00
Ben Key
6ca1c3b4f2
* make-docfile.c (scan_c_file): Adapt to the new BVAR macro.
2011-02-21 13:02:49 -05:00
Juanma Barranquero
50a4e25afa
lib-src/makefile.w32-in (obj): Remove md5.o.
2011-02-20 23:17:39 +01:00
Karl Chen
b166dcd8bb
* lib-src/emacsclient.c (main): Loop while `recv' return EINTR.
2011-02-18 17:28:09 -05:00
Andreas Schwab
e430810c89
Don't ignore files that are no longer generated
2011-02-13 19:35:05 +01:00
Paul Eggert
64df8c1098
* make-docfile.c (EMACS_INTEGER): Rename from EMACS_INT.
2011-02-08 16:30:33 -08:00
Tom Tromey
00b3c7ac85
Make globals.h a generated header
...
* configure: Rebuild.
* configure.in (NS_OBJC_OBJ): New subst.
lib-src
* make-docfile.c: Unconditionally include stdlib.h.
(generate_globals): New global.
(xrealloc): New function.
(main): Handle '-g'. Call start_globals, write_globals.
(scan_file): Conditionally call put_filename.
(start_globals): New function.
(struct global): New.
(num_globals, globals): New globals.
(add_global, compare_globals, write_globals): New functions.
(scan_c_file): Update for "-g".
(scan_lisp_file): Fail if "-g".
(enum global_type): New.
src
* Makefile.in (NS_OBJC_OBJ): New variable.
(base_obj): Rename from 'obj'.
(obj): New variable.
(globals.h, gl-stamp, $(obj)): New targets.
(GLOBAL_SOURCES): New variable.
* globals.h: Remove.
* nsselect.m (Vselection_alist): Define. Reverts part of
2011-01-19T22:11:33Z!jan.h.d@swipnet.se.
* buffer.c: Don't use "no_cell" for name of kill-buffer-hook's
variable.
* xselect.c (Vselection_alist): Define. Reverts part of 2011-01-19T23:32:42Z!eggert@cs.ucla.edu.
2011-02-08 14:42:56 -07:00
Paul Eggert
03fc768bf7
* emacsclient.c: conform to C89 pointer rules
2011-02-04 23:18:46 -08:00
Eli Zaretskii
83cc577291
lib-src/makefile.w32-in (obj): Remove strftime.o, it's not in src/.
2011-02-02 21:50:21 +02:00
Eli Zaretskii
d9f1f55ed7
Make "etags --version" on Windows produce the same as on Posix platforms.
...
makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS): Add
``-DEMACS_NAME="\"GNU Emacs\""''.
2011-02-02 18:28:24 +02:00
Eli Zaretskii
70b0d280eb
Fix the MS-Windows build broken by 2011-01-30T23:34:18Z!eggert@cs.ucla.edu and 2011-01-31T08:15:13Z!eggert@cs.ucla.edu.
...
lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/strftime.$(O) and
$(BLD)/time_r.$(O).
($(BLD)/dtoastr.$(O)): Depend on $(EMACS_ROOT)/src/s/ms-w32.h and
$(EMACS_ROOT)/src/m/intel386.h.
($(BLD)/strftime.$(O)):
($(BLD)/time_r.$(O)): Define prerequisites.
src/makefile.w32-in (OBJ2): Remove strftime.$(O).
($(BLD)/strftime.$(O)): Remove prerequisites.
lib-src/makefile.w32-in (VERSION): Don't define, defined on nt/config.nt.
(ECLIENT_CFLAGS): Remove -DVERSION.
($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in.
nt/config.nt (VERSION): Uncomment definition.
(restrict): Define.
nt/inc/stdbool.h: New file.
admin/admin.el (set-version): Remove lib-src/makefile.w32-in. Add
nt/config.nt.
2011-01-31 21:36:08 +02:00
Paul Eggert
16fab14354
src/emacs.c now gets version number from configure.in
2011-01-31 00:12:52 -08:00
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
Jan D
988e88ab11
Fix warnings produced by compiling with -Wwrite_strings (i.e. use const char *).
...
* b2m.c (concat, fatal): Use const char*.
(main): Don't assign labels a string literal.
* ebrowse.c (struct member): filename, def_filename is const.
(struct sym): filename, sfilename is const.
(struct kw): name is const.
(add_sym, yyerror, token_string, insert_keyword, main): Use const char*.
* emacsclient.c (message, sock_err_message, send_to_emacs)
(quote_argument, set_local_socket)
(start_daemon_and_retry_set_socket): Use const char*.
* etags.c (compressor, language, Ada_suffix, Ada_help, Asm_suffixes)
(Asm_help, default_C_suffixes, default_C_help, Cplusplus_suffixes)
(Cplusplus_help, Cjava_suffixes, Cobol_suffixes, Cstar_suffixes)
(Erlang_suffixes, Erlang_help, Forth_suffixes, Forth_help)
(Fortran_suffixes, Fortran_help, HTML_suffixes, HTML_help)
(Lisp_suffixes, Lisp_help, Lua_suffixes, Lua_help)
(Makefile_filenames, Makefile_help, Objc_suffixes, Objc_help)
(Pascal_suffixes, Pascal_help, Perl_suffixes, Perl_interpreters)
(Perl_help, PHP_suffixes, PHP_help, plain_C_suffixses, PS_suffixes)
(PS_help, Prolog_suffixes, Prolog_help, Python_suffixes, Python_help)
(Scheme_suffixes, Scheme_help, TeX_suffixes, TeX_help, Texinfo_suffixes)
(Texinfo_help, Yacc_suffixes, Yacc_help, auto_help, none_help)
(no_lang_help, print_language_names)
(get_language_from_interpreter, get_language_from_filename)
(init, make_tag, struct C_stab_entry, write_classname, TEX_defenv)
(TEX_decode_env, nocase_tail, savestr, savenstr, fatal, pfatal)
(concat): Use const char*.
* make-docfile.c (error, fatal, scan_c_file, scan_lisp_file): Use
const char *.
* movemail.c (fatal, error, concat): Use const char *.
* pop.c (pop_multi_first, socket_connection, sendline): Use conat char*.
* pop.h (pop_multi_first): Use const char *.
(_ARGS): Remove.
* sorted-doc.c (error, fatal, states): Use const char *.
* update-game-score.c (get_prefix, write_scores, main): Use const char*.
2010-08-11 10:20:34 +02:00
Juanma Barranquero
0e9c8657ca
Remove duplicate declarations.
...
* lib-src/ebrowse.c (usage, version, mark_virtual)
* src/alloc.c (lisp_malloc)
* src/buffer.c (set_buffer_internal, set_buffer_internal_1)
* src/charset.h (emacs_mule_charset)
* src/dispextern.h (inhibit_free_realized_faces, redraw_frame)
(redraw_garbaged_frames, scroll_cost, update_frame, scrolling)
(bitch_at_user)
* src/lisp.h (Fcheck_coding_system, Fget_text_property)
(Qfunction, Qcompletion_ignore_case, QCwidth, QCsize)
2010-08-07 03:10:12 +02:00
Dan Nicolaescu
0613f5d515
emacsclient.c cleanups.
...
* lib-src/emacsclient.c: Move socket related #includes together with the
rest of the #includes. Move a WINDOWSNT includes closer together.
(HAVE_CONFIG_H): Remove.
(NO_RETURN): Remove, defined in config.h.
(main): Convert definition to standard C.
2010-08-05 21:09:54 -07:00
Juanma Barranquero
087b38a075
Fix typos in ChangeLogs.
2010-07-29 04:42:53 +02:00
Juanma Barranquero
a94a477d07
* make-docfile.c (write_c_args): Warn for old-style empty arglist ().
2010-07-29 04:11:23 +02:00
Juanma Barranquero
35a7804dae
* emacsclient.c (getcwd): Fix previous change.
...
Make getcwd conditional on HAVE_GETCWD and declare with the
correct POSIX profile (for some reason MinGW headers define
its 2nd arg as int, not size_t; but getcwd is not used on
Windows nonetheless).
2010-07-25 05:36:54 +02:00
Juanma Barranquero
361358ea12
Make building under stricter warning flags somewhat cleaner.
...
Flags used: -Wold-style-declaration -Wunused-function -Wstrict-prototypes
* lib-src/emacsclient.c (getcwd, w32_getenv):
* lib-src/ntlib.h (getlogin, getuid, getegid, getgid): Fix prototypes.
* nt/runemacs.c (set_user_model_id): Fix prototype.
* src/callproc.c (relocate_fd): Set inside #ifndef WINDOWSNT.
* src/dired.c (opendir, readdir): Fix prototypes.
* src/editfns.c (w32_get_internal_run_time): Fix prototypes.
* src/keyboard.c (input_available_signal): Declare inside #ifdef SIGIO.
* src/ndir.h (opendir, readdir, seekdir, closedir): Fix prototypes.
(telldir): Remove declaration.
* src/ralloc.c (real_morecore, __morecore): Fix prototypes.
* src/sound.c (alsa_sound_perror): Declare inside #ifdef HAVE_ALSA.
* src/syssignal.h (strsignal): Fix prototype.
* src/term.c (tparam): Fix prototype.
(term_get_fkeys_address, term_get_fkeys_kboard, term_get_fkeys_1)
(term_get_fkeys): Set inside "#ifndef DOS_NT".
* src/vm-limit.c (check_memory_limits): Fix prototypes of real_morecore
and __morecore.
* src/w32gui.h (XParseGeometry): Fix prototype.
* src/w32heap.h (get_data_start, get_data_end, init_heap): Fix prototypes.
* src/w32term.c (my_set_focus): Declare inside #if 0.
* src/w32term.h (x_window_to_frame, x_display_info_for_name, w32_term_init)
(w32_fill_rect, w32_clear_window, init_crit, delete_crit, signal_quit)
(drain_message_queue, get_next_msg, post_msg, parse_button)
(ClipboardSequence_Proc): Fix prototypes.
(wait_for_sync): Remove declaration.
2010-07-25 02:20:51 +02:00
Dan Nicolaescu
68441b90e9
Add NO_RETURN specifiers to functions in lib-src.
...
* lib-src/update-game-score.c (usage): Add NO_RETURN specifier.
* lib-src/movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
* lib-src/make-docfile.c (fatal):
* lib-src/hexl.c (usage):
* lib-src/fakemail.c (fatal):
* lib-src/etags.c (fatal, suggest_asking_for_help, pfatal):
* lib-src/emacsclient.c (fatal):
* lib-src/b2m.c (fatal): Likewise.
2010-07-24 10:18:18 -07:00
Juanma Barranquero
c4cc8b9a23
Fix typos in ChangeLogs.
2010-07-24 13:53:19 +02:00
Juanma Barranquero
554d39beea
* make-docfile.c (write_c_args): Correctly handle prefixes of "defalt".
2010-07-23 15:35:51 +02:00
Juanma Barranquero
7c3320d8b9
Convert some more functions to standard C.
...
* lib-src/emacsclient.c (get_current_dir_name, w32_get_resource)
(w32_getenv, w32_set_user_model_id, w32_window_app, w32_execvp)
(close_winsock, initialize_sockets, w32_find_emacs_process)
(w32_give_focus):
* lib-src/ntlib.c (getlogin, getuid, getgid, getegid):
* nt/addpm.c (add_registry, main):
* nt/cmdproxy.c (get_env_size):
* nt/ddeclient.c (main):
* nt/runemacs.c (set_user_model_id):
* src/alloc.c (emacs_blocked_free, emacs_blocked_malloc)
(emacs_blocked_realloc, uninterrupt_malloc):
* src/fringe.c (w32_reset_fringes):
* src/image.c (convert_mono_to_color_image, lookup_rgb_color)
(init_color_table, XPutPixel, jpeg_resync_to_restart_wrapper):
* src/sound.c (be2hs, do_play_sound):
* src/vm-limit.c (get_lim_data, ret_lim_data):
* src/w32term.c (x_free_frame_resources):
* src/xfaces.c (x_create_gc, x_free_gc):
Convert definitions to standard C.
2010-07-20 22:21:03 +02:00
Juanma Barranquero
a628ad9d97
Fix typos in ChangeLogs.
2010-07-20 13:13:25 +02:00
Andreas Schwab
e6cfa7c31f
Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
...
* configure.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
(PROFILING_LDFLAGS): Substitute, don't add them to CFLAGS/LDFLAGS.
(C_OPTIMIZE_SWITCH): Remove.
(TEMACS_LDFLAGS2): Add ${PROFILING_LDFLAGS}.
* lib-src/Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
(PROFILING_LDFLAGS): Set from substitution.
(BASE_CFLAGS): Add ${C_WARNINGS_SWITCH}.
(ALL_CFLAGS, CPP_CFLAGS): Add ${PROFILING_CFLAGS}.
(LINK_CFLAGS): Add ${PROFILING_LDFLAGS}.
* lwlib/Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS): Set from
substitution.
(ALL_CFLAGS): Add ${C_WARNINGS_SWITCH} and ${PROFILING_CFLAGS}.
* oldXMenu/Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS): Set from
substitution.
(ALL_CFLAGS): Add ${C_WARNINGS_SWITCH} and ${PROFILING_CFLAGS}.
* src/Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
(PROFILING_LDFLAGS): Set from substitution.
(ALL_CFLAGS): Add C_WARNINGS_SWITCH and PROFILING_CFLAGS, put
CFLAGS last.
2010-07-12 16:16:38 +02:00
Eli Zaretskii
f09e4c6bcd
MS-Windows follow-up for 2010-07-12T05:25:46Z!handa@etlken.
...
makefile.w32-in (lisp2): Change hebrew.el to hebrew.elc.
2010-07-12 12:22:20 +03:00
Andreas Schwab
8966b7575b
Use strchr, strrchr instead of index, rindex
...
* callint.c (Fcall_interactively): Use strchr, strrchr instead of
index, rindex.
* doc.c (get_doc_string, Fsnarf_documentation): Likewise.
* editfns.c (Fuser_full_name, Fformat): Likewise.
* emacs.c (argmatch, sort_args, decode_env_path): Likewise.
* fileio.c (Ffile_symlink_p): Likewise.
* filelock.c (current_lock_owner): Likewise.
* font.c (font_parse_name, font_parse_family_registry): Likewise.
* fontset.c (fontset_pattern_regexp): Likewise.
* lread.c (read1): Likewise.
* sysdep.c (init_system_name): Likewise.
* xfns.c (select_visual): Likewise.
* s/hpux10-20.h (index, rindex): Don't define.
* s/ms-w32.h (index): Likewise.
* s/usg5-4.h: Likewise.
* sed2v2.inp (HAVE_INDEX, HAVE_RINDEX): Don't edit.
(HAVE_STRCHR, HAVE_STRRCHR): Edit to 1.
* emacsclient.c (set_local_socket): Use strchr, strrchr instead of
index, rindex.
* movemail.c (mail_spool_name, popmail): Likewise.
* pop.c (pop_list): Likewise.
* CPP-DEFINES (HAVE_INDEX, HAVE_RINDEX): Remove.
* configure.in: Don't check for index and rindex, check for strchr
and strrchr. Define strchr and strrchr as index and rindex,
resp., in src/config.h if not available.
2010-07-11 12:31:10 +02:00
Eli Zaretskii
994a7c3beb
Fix bug #6603 .
...
makefile.w32-in (obj): Add menu.o, bidi.o, w32uniscrobe.o, and unexw32.o.
2010-07-11 09:39:00 +03:00
Eli Zaretskii
c971758df7
Makefile.in ($(DESTDIR)${archlibdir}): Convert spaces to TABs.
2010-07-10 17:29:46 +03:00
Andreas Schwab
91a7f76db4
* make-docfile.c (write_c_args): Restructure scanning loop.
2010-07-09 19:00:04 +02:00
Dan Nicolaescu
0508c67f47
Make make-docfile understand DEFUN arguments written in standard C.
...
* lib-src/make-docfile.c (write_c_args): Deal with type names in DEFUN
arguments.
2010-07-08 18:09:50 -07:00
Dan Nicolaescu
0216627eb3
Remove leftover P_ macros.
...
* lib-src/update-game-score.c (P_): Remove macro.
* lib-src/ebrowse.c: Remove include guards.
(P_): Remove macro.
2010-07-07 22:48:57 -07:00
Andreas Schwab
72af86bd8c
Replace bcopy, bzero, bcmp by memcpy, memmove, memset, memcmp
...
* alloc.c (overrun_check_malloc, overrun_check_realloc)
(overrun_check_free, xstrdup, allocate_string)
(allocate_string_data, compact_small_strings, Fmake_string)
(make_unibyte_string, make_multibyte_string)
(make_string_from_bytes, make_specified_string, make_float)
(Fcons, allocate_terminal, allocate_frame, make_pure_string)
(Fgarbage_collect): Replace bcopy, safe_bcopy, bzero, bcmp by
memcpy, memmove, memset, memcmp.
* atimer.c (start_atimer, set_alarm): Likewise.
* buffer.c (clone_per_buffer_values, report_overlay_modification)
(mmap_realloc, init_buffer_once): Likewise.
* callint.c (Fcall_interactively): Likewise.
* callproc.c (Fcall_process, Fcall_process_region, child_setup)
(getenv_internal_1): Likewise.
* casefiddle.c (casify_object): Likewise.
* ccl.c (ccl_driver): Likewise.
* character.c (str_as_multibyte, str_to_multibyte): Likewise.
* charset.c (load_charset_map_from_file)
(load_charset_map_from_file, load_charset_map_from_vector)
(Fdefine_charset_internal): Likewise.
* cm.c (Wcm_clear): Likewise.
* coding.c (decode_eol, decode_coding_object)
(Fset_coding_system_priority, make_subsidiaries): Likewise.
* data.c (Faset): Likewise.
* dired.c (directory_files_internal, file_name_completion_stat):
Likewise.
* dispnew.c (new_glyph_matrix, adjust_glyph_matrix)
(clear_glyph_row, copy_row_except_pointers)
(copy_glyph_row_contents, new_glyph_pool, realloc_glyph_pool)
(save_current_matrix, restore_current_matrix)
(build_frame_matrix_from_leaf_window, mirrored_line_dance)
(mirror_line_dance, scrolling_window): Likewise.
* doc.c (Fsnarf_documentation, Fsubstitute_command_keys):
Likewise.
* doprnt.c (doprnt): Likewise.
* editfns.c (Fuser_full_name, make_buffer_string_both)
(Fmessage_box, Fformat, Ftranspose_regions): Likewise.
* emacs.c (sort_args): Likewise.
* eval.c (Fapply, Ffuncall): Likewise.
* fileio.c (Ffile_name_directory, make_temp_name)
(Fexpand_file_name, search_embedded_absfilename)
(Fsubstitute_in_file_name, Ffile_symlink_p, Finsert_file_contents)
(auto_save_error): Likewise.
* fns.c (Fstring_equal, Fcopy_sequence, concat)
(string_to_multibyte, Fstring_as_unibyte, Fstring_as_multibyte)
(internal_equal, Fclear_string, larger_vector, copy_hash_table)
(Fmake_hash_table): Likewise.
* fringe.c (Fdefine_fringe_bitmap): Likewise.
* ftfont.c (ftfont_text_extents): Likewise.
* getloadavg.c (getloadavg): Likewise.
* image.c (define_image_type, make_image, make_image_cache)
(x_create_x_image_and_pixmap, xbm_image_p)
(w32_create_pixmap_from_bitmap_data, xbm_load, xpm_lookup_color)
(xpm_image_p, x_create_bitmap_from_xpm_data, xpm_load)
(init_color_table, x_build_heuristic_mask, pbm_image_p, pbm_load)
(png_image_p, png_read_from_memory, png_load, jpeg_image_p)
(tiff_image_p, tiff_read_from_memory, gif_image_p)
(gif_read_from_memory, gif_load, svg_image_p, gs_image_p):
Likewise.
* indent.c (scan_for_column, compute_motion): Likewise.
* insdel.c (gap_left, gap_right, make_gap_smaller, copy_text)
(insert_1_both, insert_from_gap, replace_range_2): Likewise.
* intervals.c (reproduce_tree, reproduce_tree_obj): Likewise.
* keyboard.c (echo_char, save_getcjmp, restore_getcjmp)
(kbd_buffer_store_event_hold, apply_modifiers_uncached)
(store_user_signal_events, menu_bar_items, tool_bar_items)
(process_tool_bar_item, append_tool_bar_item)
(read_char_minibuf_menu_prompt, read_key_sequence)
(Fread_key_sequence, Fread_key_sequence_vector, Frecent_keys):
Likewise.
* keymap.c (current_minor_maps, Fdescribe_buffer_bindings):
Likewise.
* lisp.h (STRING_COPYIN): Likewise.
* lread.c (Fload, read1, oblookup): Likewise.
* msdos.c (Frecent_doskeys): Likewise.
* nsfns.m (Fx_create_frame): Likewise.
* nsfont.m (nsfont_open, nsfont_text_extents, ns_glyph_metrics):
Likewise.
* nsimage.m (EmacsImage-initFromSkipXBM:width:height:)
(EmacsImage-initForXPMWithDepth:width:height:flip:length:):
Likewise.
* nsmenu.m (ns_update_menubar): Likewise.
* nsterm.m (ns_draw_fringe_bitmap, ns_term_init): Likewise.
* print.c (print_unwind, printchar, strout, print_string)
(print_error_message): Likewise.
* process.c (conv_lisp_to_sockaddr, set_socket_option)
(Fmake_network_process, Fnetwork_interface_list)
(Fnetwork_interface_info, read_process_output, Fprocess_send_eof)
(init_process): Likewise.
* ralloc.c (resize_bloc, r_alloc_sbrk, r_alloc_init): Likewise.
* regex.c (init_syntax_once, regex_compile, re_compile_fastmap):
Likewise.
* scroll.c (do_scrolling, do_direct_scrolling)
(scrolling_max_lines_saved): Likewise.
* search.c (search_buffer, wordify, Freplace_match): Likewise.
* sound.c (wav_init, au_init, Fplay_sound_internal): Likewise.
* syntax.c (skip_chars, skip_syntaxes): Likewise.
* sysdep.c (child_setup_tty, sys_subshell, emacs_get_tty)
(emacs_set_tty): Likewise.
* term.c (encode_terminal_code, calculate_costs)
(produce_special_glyphs, create_tty_output, init_tty, delete_tty):
Likewise.
* termcap.c (tgetst1, gobble_line): Likewise.
* termhooks.h (EVENT_INIT): Likewise.
* tparam.c (tparam1): Likewise.
* unexalpha.c (unexec): Likewise.
* unexec.c (write_segment): Likewise.
* unexmacosx.c (unexec_write_zero): Likewise.
* w32fns.c (w32_wnd_proc, Fx_create_frame, x_create_tip_frame)
(Fx_file_dialog, Fsystem_move_file_to_trash): Likewise.
* w32font.c (w32font_list_family, w32font_text_extents)
(w32font_list_internal, w32font_match_internal)
(w32font_open_internal, compute_metrics, Fx_select_font):
Likewise.
* w32menu.c (set_frame_menubar, add_menu_item)
(w32_menu_display_help, w32_free_submenu_strings): Likewise.
* w32term.c (XCreateGC, w32_initialize_display_info): Likewise.
* w32uniscribe.c (uniscribe_list_family): Likewise.
* w32xfns.c (get_next_msg, post_msg, prepend_msg): Likewise.
* window.c (make_window, replace_window, set_window_buffer)
(Fsplit_window): Likewise.
* xdisp.c (init_iterator, RECORD_OVERLAY_STRING, reseat_to_string)
(add_to_log, message3, x_consider_frame_title)
(append_space_for_newline, extend_face_to_end_of_line)
(decode_mode_spec_coding, init_glyph_string): Likewise.
* xfaces.c (x_create_gc, get_lface_attributes_no_remap)
(Finternal_copy_lisp_face, Finternal_merge_in_global_face)
(face_attr_equal_p, make_realized_face, make_face_cache)
(free_realized_faces, lookup_named_face, smaller_face)
(face_with_height, lookup_derived_face)
(x_supports_face_attributes_p, Finternal_set_font_selection_order)
(Finternal_set_font_selection_order, realize_default_face)
(compute_char_face, face_at_buffer_position)
(face_for_overlay_string, face_at_string_position, merge_faces):
Likewise.
* xfns.c (xic_create_fontsetname, Fx_create_frame)
(Fx_window_property, x_create_tip_frame)
(Fx_backspace_delete_keys_p): Likewise.
* xfont.c (xfont_list, xfont_match, xfont_list_family)
(xfont_text_extents): Likewise.
* xmenu.c (set_frame_menubar, xmenu_show): Likewise.
* xrdb.c (magic_file_p, x_get_resource): Likewise.
* xselect.c (x_queue_event, x_get_window_property)
(receive_incremental_selection): Likewise.
* xsmfns.c (x_session_check_input): Likewise.
* xterm.c (x_send_scroll_bar_event, SET_SAVED_MENU_EVENT)
(handle_one_xevent, x_check_errors, xim_initialize, x_term_init):
Likewise.
* character.h (BCOPY_SHORT): Removed.
* config.in: Regenerate.
* dispnew.c (safe_bcopy): Only define as dummy if PROFILING.
* emacs.c (main) [PROFILING]: Don't declare
dump_opcode_frequencies.
* lisp.h (safe_bcopy): Remove declaration.
(memset) [!HAVE_MEMSET]: Declare.
(memcpy) [!HAVE_MEMCPY]: Likewise.
(memmove) [!HAVE_MEMMOVE]: Likewise.
(memcmp) [!HAVE_MEMCMP]: Likewise.
* s/ms-w32.h (bzero, bcopy, bcmp, GAP_USE_BCOPY)
(BCOPY_UPWARD_SAFE, BCOPY_DOWNWARD_SAFE, HAVE_BCOPY, HAVE_BCMP):
Don't define.
(HAVE_MEMCMP, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET): Define.
* s/msdos.h (GAP_USE_BCOPY, BCOPY_UPWARD_SAFE)
(BCOPY_DOWNWARD_SAFE): Don't define.
* sysdep.c (memset) [!HAVE_MEMSET]: Define.
(memcpy) [!HAVE_MEMCPY]: Define.
(memmove) [!HAVE_MEMMOVE]: Define.
(memcmp) [!HAVE_MEMCMP]: Define.
* config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
(HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
* sed2v2.inp (HAVE_MEMCPY, HAVE_MEMSET): Edit to 1.
(HAVE_BZERO): Don't edit.
* lwlib.c (lwlib_memset, lwlib_bcopy): Remove.
(malloc_widget_value, free_widget_info, allocate_widget_instance)
(lw_separator_p): Replace lwlib_memset, lwlib_bcopy, bzero, bcmp by
memset, memcpy, memcmp.
* lwlib-utils.c (XtApplyToWidgets): Likewise.
* xlwmenu.c (XlwMenuInitialize): Likewise.
* lwlib.h (lwlib_bcopy): Remove declaration.
* ebrowse.c (add_sym, make_namespace): Replace bcopy, bzero by
memcpy, memmove, memset.
* pop.c (pop_retrieve, socket_connection, pop_getline): Likewise.
* CPP-DEFINES (BCOPY_DOWNWARD_SAFE, BCOPY_UPWARD_SAFE)
(GAP_USE_BCOPY, HAVE_BCMP, HAVE_BCOPY, bcmp, bcopy, bzero):
Remove.
* configure.in: Don't check for bcopy, bcmp, bzero. Don't include
<strings.h> and don't define bcopy, bzero, BCMP in config.h.
2010-07-08 00:18:28 +02:00
Andreas Schwab
1725ae554e
Clean up movemail source
...
* movemail.c: Add MAIL_USE_POP around prototypes.
Include <string.h> if HAVE_STRING_H.
(strerror): Only declare if !HAVE_STRERROR.
(fatal): Make static.
(error): Likewise.
(pfatal_with_name): Likewise.
(pfatal_and_delete). Likewise.
(concat): Likewise.
(xmalloc): Likewise.
(popmail): Likewise.
(pop_retr): Likewise.
(mbx_write): Likewise.
(mbx_delimit_begin): Likewise.
(mbx_delimit_end): Likewise.
2010-07-06 13:50:35 +02:00
Andreas Schwab
e2ad23ef3f
* movemail.c: Add MAIL_USE_POP around prototypes.
2010-07-06 13:11:28 +02:00
Dan Nicolaescu
b8463cbfbe
* lib-src/fakemail.c (action): Convert function definitions to standard C.
...
(add_a_stream):
* lib-src/test-distrib.c (cool_read):
(main): Likewise.
2010-07-03 23:05:43 -07:00
Eli Zaretskii
1c027a2427
ebrowse.c (check_namespace): Fix indentation.
2010-07-03 18:15:30 +03:00
Andreas Schwab
a52a00a3d7
Fix invalid cast
...
* sorted-doc.c (cmpdoc): Fix signature.
(qsort_compare): Delete.
(main): Remove cast.
2010-07-03 14:11:03 +02:00
Juanma Barranquero
35d99b7220
lib-src/ebrowse.c (match_qualified_namespace_alias): Check for null pointer.
2010-07-03 12:46:27 +02:00
Juanma Barranquero
3a35a84c93
Fix prototypes.
...
* src/cm.c (evalcost): Fix arg type.
* src/cm.h (evalcost): Fix prototype.
* src/lisp.h (memory_warnings): Fix prototype.
* lib-src/ebrowse.c (match_qualified_namespace_alias):
Pass sym* to find_namespace, not link*.
* lib-src/emacsclient.c (send_to_emacs, quote_argument): Arg s is HSOCKET.
* lib-src/sorted-doc.c (qsort_compare): New typedef.
(main): Use it to cast cmpdoc.
2010-07-03 09:44:17 +02:00
Dan Nicolaescu
873fbd0b84
Convert function definitions to standard C.
...
* lib-src/update-game-score.c: Convert function definitions to standard C.
* lib-src/sorted-doc.c:
* lib-src/profile.c:
* lib-src/pop.c:
* lib-src/movemail.c:
* lib-src/make-docfile.c:
* lib-src/hexl.c:
* lib-src/fakemail.c:
* lib-src/etags.c:
* lib-src/ebrowse.c:
* lib-src/digest-doc.c:
* lib-src/b2m.c: Likewise.
2010-07-02 17:50:23 -07:00
Dan Nicolaescu
c532d34963
Convert some prototypes to standard C.
...
* lib-src/make-docfile.c (xmalloc, xrealloc, concat, readline, fatal):
* lib-src/b2m.c (scan_file, scan_lisp_file, scan_c_file): Convert to
standard C prototypes.
* src/term.c (term_clear_mouse_face, Fidentity):
* src/syssignal.h (signal_handler_t):
* src/lisp.h (memory_warnings):
* src/coding.h (preferred_coding_system):
* src/cm.h (evalcost):
* src/blockinput.h (reinvoke_input_signal): Convert to standard C prototypes.
2010-07-02 15:18:28 -07:00
Jan D
9e892c8d8b
Remove __P.
2010-07-02 14:55:51 +02:00
Jan D
f57e2426f0
Remove __P and P_ from .c and .m files and definition of P_
...
* lisp.h:
* atimer.h: Remove define for P_.
* alloc.c: Remove __P and P_ from .c and .m files.
* atimer.c:
* buffer.c:
* callint.c:
* category.c:
* charset.c:
* chartab.c:
* cm.c:
* coding.c:
* composite.c:
* data.c:
* dired.c:
* dispnew.c:
* doc.c:
* editfns.c:
* emacs.c:
* eval.c:
* fileio.c:
* filelock.c:
* fns.c:
* font.c:
* fontset.c:
* frame.c:
* ftfont.c:
* ftxfont.c:
* gmalloc.c:
* gtkutil.c:
* image.c:
* indent.c:
* intervals.c:
* keyboard.c:
* keymap.c:
* lread.c:
* marker.c:
* menu.c:
* minibuf.c:
* print.c:
* process.c:
* scroll.c:
* search.c:
* sound.c:
* strftime.c:
* syntax.c:
* sysdep.c:
* term.c:
* terminal.c:
* textprop.c:
* unexalpha.c:
* w32console.c:
* w32fns.c:
* w32font.c:
* w32menu.c:
* w32term.c:
* w32uniscribe.c:
* window.c:
* xdisp.c:
* xfaces.c:
* xfns.c:
* xfont.c:
* xftfont.c:
* xmenu.c:
* xselect.c:
* xterm.c: Likewise.
* ebrowse.c: Remove P_ and __P.
* etags.c:
* movemail.c:
* pop.c:
* update-game-score.c: Likewise.
2010-07-02 14:19:53 +02:00
Juanma Barranquero
3b3807f859
lib-src/movemail.c (error): Avoid warning when there are no args.
2010-06-24 18:12:35 +02:00
Juanma Barranquero
5fee75d49a
Fix Windows makefiles to adapt to lisp/vc reorganization.
...
* lib-src/makefile.w32-in (lisp2): Fix references to vc/vc-hooks.elc
and vc/ediff-hook.elc.
* lisp/makefile.w32-in (WINS_BASIC): Include new directory vc.
2010-06-11 23:26:13 +02:00
Juanma Barranquero
fff84c22e7
Remove duplicate ChangeLog entries.
2010-06-10 03:04:45 +02:00
Dan Nicolaescu
3085237cdc
Remove BSTRING related code, all platforms define it.
...
* src/s/usg5-4.h (BSTRING): Remove definition.
* src/s/template.h (BSTRING):
* src/s/msdos.h (BSTRING):
* src/s/ms-w32.h (BSTRING):
* src/s/hpux10-20.h (BSTRING):
* src/s/gnu-linux.h (BSTRING):
* src/s/darwin.h (BSTRING):
* src/s/cygwin.h (BSTRING):
* src/s/bsd-common.h (BSTRING):
* src/s/aix4-2.h (BSTRING): Likewise.
* src/sysdep.c: Remove code depending on BSTRING not being defined.
* configure.in: Remove code dealing with BSTRING.
* lib-src/ntlib.h: Remove code dealing with BSTRING.
* nt/config.nt: Remove code depending on BSTRING.
2010-06-06 01:57:39 -07:00
Chong Yidong
0191e222e3
Add --parent-id argument to emacsclient.
...
* lib-src/emacsclient.c (longopts, decode_options, print_help_and_exit):
New arg `-parent-id'.
(main): Send parent-id to Emacs.
* lisp/server.el (server-process-filter): Receive parent-id argument
from emacsclient.
(server-create-window-system-frame): New arg. Pass parent-id as
frame parameter.
2010-05-29 19:50:47 -04:00
Glenn Morris
81ac4f3536
Do not preprocess src/Makefile.in.
...
* configure.in: Do not preprocess src/Makefile.in.
(cpp_undefs, CPP_NEED_TRADITIONAL): Remove.
(AC_EGREP_CPP): Test no longer needed.
* configure: Regenerate.
* config.bat: Do not preprocess src/Makefile.in.
* make-dist: No more Makefile.c files.
* INSTALL, src/README: Makefiles are not preprocessed.
* src/Makefile.in, src/autodeps.mk, src/deps.mk, src/ns.mk:
Convert comments to Makefile format.
* lib-src/Makefile.in (distclean): No more Makefile.c.
* src/Makefile.in (bootstrap-clean): No more Makefile.c.
* admin/notes/cpp: Remove file.
* admin/quick-install-emacs (AVOID): No more Makefile.c files.
* etc/PROBLEMS, etc/MACHINES: Remove details of cpp problems which can
no longer occur.
2010-05-26 22:43:27 -07:00
Jan Djärv
4e3028f8f7
Remove cirsular dependency when using separate build dir (Bug #6246 ).
...
* Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPS): New (Bug #6246 ).
(all): Depend onSTAMP_INST_SCRIPTS, STAMP_SCRIPS (Bug #6246 ).
(stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
New rules (Bug #6246 ).
(clean): Remove stamp-* (Bug #6246 ).
2010-05-22 13:59:09 +02:00
Glenn Morris
2f8d5db917
* lib-src/Makefile.in: Break some long lines.
2010-05-14 18:05:11 -07:00
Glenn Morris
44b031a6b0
Remove unused output variable LIB_SRC_EXTRA_INSTALLABLES.
...
* configure.in (LIB_SRC_EXTRA_INSTALLABLES): Remove, unused.
* lib-src/Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@.
* msdos/sed3v2.inp (INSTALLABLES): No more @LIB_SRC_EXTRA_INSTALLABLES@.
2010-05-11 20:06:50 -07:00
Glenn Morris
c88b05a9d6
Minor lib-src/Makefile.in edits.
...
* lib-src/Makefile.in (.m.o): Remove, there are no .m files.
(BASE_CFLAGS): New variable.
(ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use $BASE_CFLAGS.
(check): Update the message.
(update-game-score${EXEEXT}): Do not use $MOVE_FLAGS.
2010-05-10 20:18:58 -07:00
Glenn Morris
d3b23034e8
Do not preprocess lib-src/Makefile.in
...
* configure.in: Generate lib-src/Makefile directly, do not run cpp.
* config.bat: Do not run cpp on lib-src/Makefile.in.
* lib-src/Makefile.in: Convert comments to makefile format.
* admin/notes/cpp: lib-src/Makefile not preprocessed.
2010-05-10 20:00:32 -07:00
Glenn Morris
acddf8aec7
On msdos, set LIBS_SYSTEM with config.bat, not cpp.
...
* config.bat [HAVE_X11]: Run sed3x.inp on lib-src/Makefile.
* src/Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
* src/s/msdos.h (MSDOS_LIBS_SYSTEM): Remove.
* msdos/sed1x.inp (LIBS_SYSTEM): Edit to -lxext -lsys.
* msdos/sed3x.inp: New file.
* lib-src/Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
(config.h) [MSDOS]: Do not include.
2010-05-10 19:51:08 -07:00
Glenn Morris
97efb62959
Move LIBS_SYSTEM from cpp to configure.
...
* configure.in (LIBS_SYSTEM): New output variable, replacing cpp.
* lib-src/Makefile.in (LIBS_SYSTEM) [!MSDOS]: Set with configure, not cpp.
(LIBS_SYSTEM) [MSDOS]: Use MSDOS_LIBS_SYSTEM.
(NOT_C_CODE): Remove, no longer used.
(config.h) [!MSDOS]: No longer include.
(LOADLIBES): Use LIBS_SYSTEM as a variable.
* src/Makefile.in (LIBS_SYSTEM): Set using configure, not cpp.
(LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
(LIBES): Use LIBS_SYSTEM as a variable.
* src/s/msdos.h (LIBS_SYSTEM): Rename to MSDOS_LIBS_SYSTEM. Always define.
* src/s/aix4-2.h (LIBS_SYSTEM):
* src/s/freebsd.h (LIBS_SYSTEM):
* src/s/hpux10-20.h (LIBS_SYSTEM):
* src/s/sol2-6.h (LIBS_SYSTEM):
* src/s/unixware.h (LIBS_SYSTEM):
Move to configure.
* msdos/sed1v2.inp, msdos/sed3v2.inp (LIBS_SYSTEM): Edit to empty.
2010-05-09 19:16:09 -07:00
Glenn Morris
7490175bc3
Move MAIL_USE_FLOCK, MAIL_USE_LOCKF, BLESSMAIL_TARGET from cpp to configure.
...
* configure.in (MAIL_USE_FLOCK, MAIL_USE_LOCKF): New AC_DEFINEs.
(BLESSMAIL_TARGET): New output variable.
* lib-src/Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.
* src/s/aix4-2.h (MAIL_USE_LOCKF):
* src/s/bsd-common.h (MAIL_USE_FLOCK):
* src/s/darwin.h (MAIL_USE_FLOCK):
* src/s/gnu-linux.h (MAIL_USE_FLOCK):
* src/s/irix6-5.h (MAIL_USE_FLOCK):
* src/s/template.h (MAIL_USE_FLOCK):
Move to configure.
* src/s/ms-w32.h: Comment.
* msdos/sed3v2.inp (BLESSMAIL_TARGET): Edit to need-blessmail.
2010-05-09 17:07:47 -07:00
Stefan Monnier
0235128c15
Merge from emacs-23
2010-05-08 14:47:07 -04:00
Chong Yidong
19ae0deb1c
Bump version to 23.2.50.
2010-05-08 00:46:44 -04:00
Chong Yidong
61a808e819
Bump version to 23.2.
2010-05-07 23:28:26 -04:00
Glenn Morris
7b42b29f3d
Remove unused Makefile definition THIS_IS_MAKEFILE.
...
* src/Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
* lib-sc/Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
* admin/CPP-DEFINES (THIS_IS_MAKEFILE): Remove.
2010-05-07 19:11:06 -07:00
Glenn Morris
f6c0ee20ba
Minimize blessmail-related cpp usage, with an eye to future removal.
...
* lib-src/Makefile.in: (BLESSMAIL_TARGET): New variable.
(MOVEMAIL_NEEDS_BLESSING): Remove, replace by above variable.
(blessmail): Always define this rule.
(need-blessmail): New rule, split out from maybe-blessmail.
(maybe-blessmail): Use BLESSMAIL_TARGET.
2010-05-06 01:03:27 -07:00
Juanma Barranquero
07e995905d
lib-src/ChangeLog: Remove duplicate entry.
2010-05-06 00:14:15 +02:00
Chong Yidong
bab1431e6c
* makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis for macros for nmake compatibility.
2010-05-05 15:54:04 -04:00
Glenn Morris
496287859b
Move C_SWITCH_MACHINE, C_SWITCH_SYSTEM from cpp to autoconf.
...
* configure.in (C_SWITCH_MACHINE, C_SWITCH_SYSTEM): New output
variables, replacing c_switch_machine, c_switch_system.
* src/s/aix4-2.h (C_SWITCH_SYSTEM):
* src/m/alpha.h (C_SWITCH_MACHINE):
Move to configure.in.
* src/Makefile.in (C_SWITCH_MACHINE, C_SWITCH_SYSTEM):
New variables, set by configure.
(ALL_CFLAGS): Use $C_SWITCH_MACHINE and $C_SWITCH_SYSTEM in place of
$c_switch_machine and $c_switch_system.
* lib-src/Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@
rather than @c_switch_system@, @c_switch_machine@.
2010-05-03 19:56:19 -07:00
Chong Yidong
8838172bf0
Bump version to 23.1.97.
2010-05-03 21:31:59 -04:00
Dan Nicolaescu
10ccb130e0
* Makefile.in (LIBS_MACHINE): Remove, unused.
2010-04-26 11:23:01 -07:00
Dan Nicolaescu
7e10844c72
* Makefile.in (LIBS_MACHINE): Remove, unused.
...
* Makefile.in (LIBS_MACHINE): Remove all uses, unused.
* configure.in (LIBS_MACHINE): Remove, unused.
2010-04-26 11:14:24 -07:00
Chong Yidong
958631c4cc
Bump version to 23.1.96.
2010-04-19 21:29:37 -04:00
Stefan Monnier
6e104790e7
Merge from emacs-23
2010-04-19 11:07:52 -04:00
Stefan Monnier
eb6967a081
Remove the Arch metafiles.
2010-04-12 23:06:50 -04:00
Dan Nicolaescu
4794a58232
* Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to the
...
non-cpp section.
2010-04-12 07:38:42 -07:00
Dan Nicolaescu
76bd82023f
Use autoconf, not cpp for some variables.
...
* Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE)
(C_SWITCH_X_SITE): Define using autoconf.
* Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE)
(C_SWITCH_X_SITE): Define using autoconf.
* Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Define using
autoconf, not cpp.
(ALL_CFLAGS): Use them as make variables.
2010-04-11 13:17:24 -07:00
Christoph
42d3cab7ad
* lib-src/makefile.w32-in: Use parenthesis for macros for nmake compatibility.
2010-04-07 15:43:04 +02:00
Juanma Barranquero
b372fceb03
Add stubs for Windows, required after CVE-2010-0825 change.
...
* ntlib.c (getgid, getegid, setegid): New stubs.
* ntlib.h (getgid, getegid, setegid): Declare them.
2010-04-03 04:23:51 +02:00
Juanma Barranquero
6f5b06547b
Add stubs for Windows, required after CVE-2010-0825 change.
...
* ntlib.c (getgid, getegid, setegid): New stubs.
* ntlib.h (getgid, getegid, setegid): Declare them.
2010-04-03 04:16:16 +02:00
Stefan Monnier
2912322b80
Merge from emacs-23
2010-04-02 21:54:24 -04:00
Chong Yidong
d86d8ea85a
Bump version to 23.1.95.
2010-04-02 20:42:10 -04:00
Chong Yidong
51a91f9da6
Fix permissions handling (CVE-2010-0825).
...
* movemail.c (main): Check return values of setuid. Avoid
possibility of symlink attack when movemail is setgid mail
(CVE-2010-0825).
2010-04-02 11:26:24 -04:00
Chong Yidong
c8f19d8102
Fix permissions handling (CVE-2010-0825).
...
* movemail.c (main): Check return values of setuid. Avoid
possibility of symlink attack when movemail is setgid mail
(CVE-2010-0825).
2010-04-02 11:24:16 -04:00
Dan Nicolaescu
42a2c62292
Remove extern errno declarations.
...
* xterm.c:
* xrdb.c:
* w32term.c:
* unexec.c:
* unexaix.c:
* sysdep.c:
* process.c:
* lread.c:
* keyboard.c:
* floatfns.c:
* filelock.c:
* fileio.c:
* emacs.c (main):
* ecrt0.c:
* dispnew.c:
* callproc.c:
* buffer.c: Remove errno extern declarations.
* s/netbsd.h (NEED_ERRNO): Remove.
* movemail.c:
* etags.c:
* emacsclient.c: Remove extern errno declarations.
2010-04-01 20:10:33 -07:00
Juanma Barranquero
194d44e717
Fix typos in ChangeLogs.
2010-04-02 04:22:17 +02:00
Glenn Morris
5e58e3a4f7
Cosmetic changes to lib-src/Makefile.in.
...
* Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
(LIBHESIOD, LIBRESOLV): Make previous change a bit more friendly by
defining these as Makefile variables.
(LIBS_MOVE): Add LIBS_MAIL into this.
(movemail${EXEEXT}): Just use LIBS_MOVE, not LIBS_MAIL as well.
2010-03-20 11:13:46 -07:00
Chong Yidong
8eae7a421b
`make uninstall' fix (Bug#5620).
...
* Makefile.in (uninstall): Handle the case where archlibdir does
not exist. (Bug#5720)
2010-03-19 11:27:49 -04:00
Glenn Morris
aded53ff76
Replace some cpp with autoconf.
...
* configure.in (--with-mmdf, --with-mail-unlink):
New options, off by default.
(--with-mailhost): New option to set default POP host.
(LIBXPM, LIBJPEG, LIBPNG, LIBTIFF, LIBGIF, LIBGPM, LIBS_MAIL)
(LIBHESIOD, LIBRESOLV, COM_ERRLIB, CRYPTOLIB, KRB5LIB, DESLIB, KRB4LIB):
New variables, substituted in Makefiles.
(try_libungif, ac_gif_lib_name): Replace with HAVE_GIF=maybe, LIBGIF.
(LIBGIF): Use AC_SUBST rather than AC_DEFINE.
(HAVE_LIBMAIL, HAVE_LIBLOCKFILE, HAVE_LIBCOM_ERR, HAVE_LIBCRYPTO)
(HAVE_LIBK5CRYPTO, HAVE_LIBKRB5, HAVE_LIBDES425, HAVE_LIBDES)
(HAVE_LIBKRB4, HAVE_LIBKRB): New AC_DEFINEs.
* lib-src/Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
(HESIODLIB, LIBS_MAIL): Set using autoconf rather than cpp.
(BASE_CFLAGS): Remove (identical to CPP_CFLAGS).
* src/Makefile.in (XFT_LIBS, LIBXPM, LIBJPEG, LIBPNG, LIBTIFF, LIBGIF)
(LIBGPM, LIBRESOLV): Set using autoconf rather than cpp.
2010-03-17 22:49:31 -07:00
Tetsurou Okazaki
f838857030
Close bug#5720.
...
* Makefile.in, lib-src/Makefile.in (uninstall): Handle the case where
archlibdir does not exist.
2010-03-17 22:17:11 -07:00
Chong Yidong
66da5719da
Bump version to 23.1.94 and regenerate ldefs-boot.el.
2010-03-10 23:03:11 -05:00
Chong Yidong
288f9fc069
Bump version to 24.0.50.
2010-03-10 10:17:13 -05:00
Juanma Barranquero
f7e0618c13
Fix typos in Changelogs.
2010-03-08 14:00:18 +01:00
Chong Yidong
5d752593a5
Bump version to 23.1.93; regenerate AUTHORS.
2010-02-26 22:09:45 -05:00
Chong Yidong
f9b84f9f4b
* etags.c (Scheme_functions): Don't loop past a null character (Bug#5601).
2010-02-20 09:11:20 -05:00
Chong Yidong
e1c6f91c71
Bump version to 23.1.92.
2010-01-29 21:09:50 -05:00
Chong Yidong
c14902e0a0
Mark last change as tiny.
2010-01-29 14:14:26 -05:00
Chong Yidong
9d77a91fda
* etags.c (Fortran_functions): Handle recursive keyword (Bug#5484).
2010-01-29 14:13:13 -05:00
Juanma Barranquero
33972e8014
Fix typos in comments.
2010-01-18 04:58:35 +01:00
Mario Lang
045b9da787
Mario Lang <mlang@delysid.org>: Remove some duplicated words.
...
* cedet/ede/cpp-root.el (ede-cpp-root-project):
* cedet/ede/files.el (ede-expand-filename):
* cedet/ede/simple.el (ede-simple-project):
* cedet/semantic/complete.el (semantic-complete-read-tag-engine)
(semantic-complete-inline-tag-engine):
* cedet/semantic/db-el.el (semanticdb-equivalent-mode):
* cedet/semantic/db-global.el (semanticdb-equivalent-mode):
* cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
* cedet/semantic/db.el (semanticdb-equivalent-mode):
* cedet/semantic/decorate/include.el (semantic-decoration-unknown-include-describe):
* cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
* emacs-lisp/chart.el (chart-translate-namezone):
* textmodes/artist.el (artist-compute-popup-menu-table):
Remove duplicated words in doc-strings.
* srecode/doc-cpp.srt, srecode/doc-default.srt:
* srecode/doc-java.srt: Remove duplicated words.
* ede.texi (ede-target):
* org.texi (Refiling notes): Remove duplicated words.
2010-01-15 18:51:50 -08:00
Juanma Barranquero
768c0c0f39
Fix typos in comments and ChangeLogs.
2010-01-13 16:38:28 +01:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Glenn Morris
6589a2f98d
Set copyright year to 2010.
...
* Cocoa/Emacs.base/Contents/Info.plist:
* Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings:
* GNUstep/Emacs.base/Resources/Info-gnustep.plist:
Set copyright year to 2010.
* version.el (emacs-copyright): Set copyright year to 2010.
* ebrowse.c (version):
* etags.c (print_version):
* rcs2log (Copyright): Set copyright year to 2010.
2010-01-10 23:51:51 -08:00
Chong Yidong
829f35a5bb
Bump version to 23.1.91. Regenerate AUTHORS and ldefs-boot.el.
2009-12-30 21:14:46 -05:00
Juanma Barranquero
5ce6e4f452
Fix typos in ChangeLogs.
2009-12-29 02:57:40 +01:00
Chong Yidong
03dcfe0121
* lib-src/makefile.w32-in, doc/lispintro/makefile.w32-in: Use
...
parenthesis for macros for nmake compatibility.
2009-12-09 20:15:56 +00:00
Chong Yidong
a3ff15d6fc
Bump version to 23.1.90.
2009-12-09 02:06:16 +00:00
Jan Djärv
46f3381ade
* etags.c (absolute_filename): Use memove if we have it for overlapping copy.
2009-11-23 09:51:06 +00:00
Dan Nicolaescu
f6195dfb58
* emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
...
* make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
2009-11-04 06:15:41 +00:00
Juanma Barranquero
b53f6df295
* .gitignore: Add echolisp.tmp.
2009-10-15 10:18:17 +00:00
Glenn Morris
5f54cae6cc
(print_help_and_exit): Fix bug report instructions.
2009-10-15 06:11:57 +00:00
Glenn Morris
9fc3db2b6b
(echolisp): New rule.
...
(clean): Delete echolisp.tmp.
2009-10-15 06:04:11 +00:00
Eli Zaretskii
614bd9cfdd
(OTHER_PLATFORM_SUPPORT): Add term/internal.elc, term/pc-win.elc,
...
emacs-lisp/easymenu.elc, and term/ns-win.elc, to be consistent with
src/Makefile.in.
2009-09-27 08:27:57 +00:00
Juanma Barranquero
89cc15915a
Fix typo in comment.
2009-09-24 01:44:35 +00:00
Stefan Monnier
24e9e99693
(main): Sort scores before trimming them,
...
reported by Jason Feng <jfeng@ozbert.com> (bug#4397).
2009-09-11 19:11:07 +00:00
Glenn Morris
c5a139ca22
($(DESTDIR)${archlibdir}): Set umask to world-readable before creating
...
directories and game score files.
2009-09-09 02:32:25 +00:00
Juanma Barranquero
6088b51fd0
Fix typos.
2009-09-07 01:22:41 +00:00
Glenn Morris
0916a29e3f
Remove cvtmail.
2009-08-19 02:57:20 +00:00
Glenn Morris
b2d66f55df
Remove file
2009-08-19 02:57:08 +00:00
Glenn Morris
a8a8ec612e
(UTILITIES): Remove cvtmail.
...
(cvtmail${EXEEXT}): Remove.
2009-08-19 02:56:12 +00:00
Glenn Morris
eaf1ee5759
Remove cvtmail, yow, emacsserver.
2009-08-19 02:54:46 +00:00
Chong Yidong
678bc1f524
* b2m.c (main): Ensure that each message ends in two newlines.
2009-07-08 03:20:03 +00:00
Jason Rumney
0a3472c7b9
* w32term.c (w32_initialize): Use standard types.
...
* runemacs.c (set_user_model_id): Use standard types.
* emacsclient.c (w32_set_user_model_id): Use standard types.
2009-07-03 15:32:02 +00:00
Eli Zaretskii
f2d6b71469
(WINNT_SUPPORT): Add common-win.elc, like src/Makefile.in did.
2009-07-03 13:42:29 +00:00
Jason Rumney
ff90fbdecc
bug#1849 - Windows 7 Taskbar Support
...
* w32term.c (w32_initialize): Use GetModuleHandle for library that
is already loaded.
Set user model ID if supported (bug#1849).
* runemacs.c (set_user_model_id): New function.
(WinMain): Use it.
* emacsclient.c (w32_give_focus): Use GetModuleHandle for library
that is already loaded.
(w32_set_user_model_id): New function.
(main): Use it to associate emacsclient with emacs (bug#1849).
2009-06-30 15:48:23 +00:00
Jim Meyering
e0f591953b
Remove useless if-before-free test.
...
* make-docfile.c (scan_lisp_file): Remove useless test.
2009-06-29 05:27:53 +00:00
Dan Nicolaescu
f5f20f6c67
(movemail.o): Don't pass -Demacs, unused.
2009-06-23 06:45:39 +00:00
Chong Yidong
7024347875
Add "Branch for 23.1" ChangeLog entry.
2009-06-21 14:35:26 +00:00
Chong Yidong
d7ae78c031
Bump version to 23.1.50.
2009-06-21 04:46:07 +00:00
Chong Yidong
2bb4a75381
Bump version number to 23.0.95.
2009-06-19 17:10:49 +00:00
Adrian Robert
fa44da6ea6
* mac-fix-env.m: * Makefile.in (mac-fix-env): Remove.
2009-06-09 01:55:02 +00:00
Adrian Robert
a7f2b0b17e
Makefile.in (mac-fix-env): Compile it using ALL_CFLAGS.
2009-06-07 03:50:01 +00:00
Chong Yidong
70cb3ee246
Bump version to 23.0.94.
2009-05-23 03:13:49 +00:00
Chong Yidong
b336408c6b
Bump version to 23.0.93.
2009-05-01 15:32:01 +00:00
Juanma Barranquero
9dfda22f23
* emacsclient.c (print_help_and_exit): Fix typo and tabify (careful
...
spacing is required in the message output, as the comment suggests).
2009-04-20 03:19:19 +00:00
Chong Yidong
24d5010d9f
* emacsclient.c (print_help_and_exit): Clarify argument placement
...
for short option names.
2009-04-20 02:52:56 +00:00
Dan Nicolaescu
6133a1a9b7
(print_help_and_exit): Fix typo.
2009-04-02 19:43:27 +00:00
Chong Yidong
91e6d74d7b
Bump version to 23.0.92.
2009-03-31 02:04:39 +00:00
Eli Zaretskii
22749e9acb
inc/sys/stat.h (struct stat): Change the types of st_uid and st_gid to unsigned.
...
inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid to unsigned.
(getpwuid): Argument is now unsigned.
uid_t is now unsigned.
ntlib.c (setuid): Argument is now unsigned.
(getuid): Return value is now unsigned.
(getpwuid): Argument is now unsigned.
(fchown): UID and GID arguments are now unsigned.
ntlib.h (fchown): UID and GID arguments are now unsigned.
(getuid): Return value is now unsigned.
(setuid): Argument is now unsigned.
(getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
w32.c (getpwuid): Change argument type to unsigned.
(struct w32_id): Change type of `rid' member to unsigned.
(w32_cached_id, w32_add_to_cache, get_name_and_id): Change type of
argument ID to unsigned. All callers changed.
(getuid, geteuid, getgid, getegid): Change return type to unsigned.
2009-03-21 11:31:50 +00:00
Juanma Barranquero
b57ac69d07
Fix date in entry.
2009-03-11 01:04:23 +00:00
Juanma Barranquero
6cde1b2138
* emacsclient.c (main): Revert part of last change,
...
so drive-relative file names again work on Windows.
2009-03-11 00:57:03 +00:00
Stefan Monnier
ba528748a1
* server.el (server-process-filter): Use expand-file-name rather than
...
command-line-normalize-file-name so as to use the `dir' when provided.
* emacsclient.c (main): Always pass cwd via "-dir". Pass the file
names without prepending cwd to them, so Emacs uses its customary
rules to determine how to interpret the file name.
2009-03-10 14:08:52 +00:00
Miles Bader
75aaefe8c1
Add arch tagline
2009-03-04 06:02:06 +00:00
Glenn Morris
f213f2c07e
(main) [MAIL_USE_POP]: Add -r to usage message.
2009-03-04 04:16:39 +00:00
Juanma Barranquero
9b2c84d645
Add .gitignore rules for in-place builds.
2009-03-03 15:47:54 +00:00
Chong Yidong
3f2d84c759
Bump version to 23.0.91.
2009-02-26 01:06:51 +00:00
Chong Yidong
bd41a17da9
Include time.h unconditionally.
...
(main): Use time_t for time variables.
2009-02-13 14:21:30 +00:00
Chong Yidong
8ee7d7be1d
* movemail.c: Include time.h unconditionally.
...
(main): Use time_t for time variables.
2009-02-13 14:21:16 +00:00
Glenn Morris
d228a23c4a
(mbx_delimit_begin): Also write the current time.
2009-02-11 03:59:52 +00:00
Glenn Morris
3f32be22c6
(mbx_delimit_begin, mbx_delimit_end): Write mbox rather than Babyl
...
format. (Bug#2196)
2009-02-10 03:30:39 +00:00
Chong Yidong
a436e145b7
Bump version to 23.0.90.
2009-02-01 22:04:25 +00:00
Adrian Robert
e7534fc4ed
* emacsclient.c (decode_options): Use a dummy display name under NS/Cocoa.
2009-01-23 09:08:03 +00:00
Chong Yidong
efdd3da41d
(matching_regexp): Fix OB1 error.
2009-01-14 13:41:12 +00:00
Chong Yidong
9eb67dd9d4
* ebrowse.c (matching_regexp): Fix OB1 error.
2009-01-14 13:41:04 +00:00
Glenn Morris
9021bb4998
Add missing entry.
2009-01-10 23:52:50 +00:00
Glenn Morris
eedcb417fa
Comment (add Author:, based on authors.el).
2009-01-10 23:01:48 +00:00
Glenn Morris
f885013692
Comment (add Author: header).
2009-01-10 23:00:30 +00:00
Glenn Morris
c3fba29dba
Comment (add an author based on ack.texi).
2009-01-10 21:56:18 +00:00
Glenn Morris
eb2ffb185a
Comments (minor fixes of some header conventions).
2009-01-10 21:50:40 +00:00
Glenn Morris
f5d0ac07d6
Add 2009 to copyright years.
2009-01-08 03:38:51 +00:00