summaryrefslogtreecommitdiff
path: root/lib-src
Commit message (Collapse)AuthorAgeFilesLines
...
* * etags.c (ISUPPER): Move to inside the only #ifdef where it's used.Paul Eggert2011-02-252-1/+4
| | | | This avoids an unused-macro warning with some GCC settings.
* * make-docfile.c (scan_c_file): Refactor local variable decls to make their ↵Paul Eggert2011-02-252-9/+6
| | | | | | scope more accurate and to avoid a GCC -Wuninitialized diagnostic.
* * make-docfile.c (write_globals): Change char * to char const *Paul Eggert2011-02-252-1/+7
| | | | | to avoid a GCC "assignment discards qualifiers" diagnostic in some configurations.
* * lisp/emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.Stefan Monnier2011-02-231-1/+1
|
* Fix 2011-02-22T17:37:06Z!eggert@cs.ucla.edu.Eli Zaretskii2011-02-222-1/+4
| | | | etags.c (canonicalize_filename, ISUPPER): Fix last change.
* MS-Windows part of 2011-02-21T23:22:34Z!eggert@cs.ucla.edu, addition of ↵Eli Zaretskii2011-02-222-0/+18
| | | | | | | min-max.h. lib-src/makefile.w32-in ($(BLD)/ebrowse.$(O), $(BLD)/pop.$(O)): Depend on ../lib/min-max.h.
* etags: Downcase drive letters, for consistency with Emacs proper.Paul Eggert2011-02-222-4/+7
| | | | | * etags.c (upcase): Remove; no longer used. (canonicalize_filename): Downcase drive letters.
* Merge: Assume S_ISLNK etc. work, since gnulib supports this.Paul Eggert2011-02-212-6/+7
|\
| * [ChangeLog]Paul Eggert2011-02-212-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | lib-src/makefile.w32-in (obj): Remove filemode.o.Juanma Barranquero2011-02-222-3/+7
|/
* * movemail.c: Define macros only in needed contexts.Paul Eggert2011-02-212-2/+16
|
* * Makefile.in (ebrowse${EXEEXT}, pop.o): Depend on min-max.h.Paul Eggert2011-02-212-2/+3
|
* Merge from mainline.Paul Eggert2011-02-212-0/+11
|\
| * Adapt MS-Windows build to import of filemode.c from gnulib.Eli Zaretskii2011-02-212-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | [ChangeLog]Paul Eggert2011-02-213-10/+8
| | | | | | | | | | | | | | | | | | * 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.
* | * test-distrib.c (buf): Make this local, to avoid shadowing.Paul Eggert2011-02-212-2/+2
| |
* | * movemail.c (popmail): Report fchown failure instead of ignoring it.Paul Eggert2011-02-212-1/+15
| | | | | | | | But if the file already has the right ownership, don't worry about it.
* | * make-docfile.c (input_buffer): Rename variables to avoid shadowing.Paul Eggert2011-02-212-8/+11
| |
* | Merge from mainline.Paul Eggert2011-02-212-1/+6
|\|
| * * make-docfile.c (scan_c_file): Adapt to the new BVAR macro.Ben Key2011-02-212-1/+6
| |
* | * movemail.c: (DIRECTORY_SEP, IS_DIRECTORY_SEP, DONE, IS_FROM_LINE):Paul Eggert2011-02-213-17/+5
| | | | | | | | | | | | Remove unused macros. * pop.c (index): Remove unused macro. (KPOP_PORT): Define only if KERBEROS is defined.
* | * movemail.c: Remove unused varsPaul Eggert2011-02-212-5/+1
| |
* | * movemail.c (main, pop_retr): Rename locals to avoid shadowing.Paul Eggert2011-02-212-11/+13
| |
* | Declare file-scope functions and variables static if not exported.Paul Eggert2011-02-219-215/+181
|/ | | | | | | | 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.
* lib-src/makefile.w32-in (obj): Remove md5.o.Juanma Barranquero2011-02-202-1/+5
|
* * lib-src/emacsclient.c (main): Loop while `recv' return EINTR.Karl Chen2011-02-182-103/+118
|
* Don't ignore files that are no longer generatedAndreas Schwab2011-02-131-1/+0
|
* * make-docfile.c (EMACS_INTEGER): Rename from EMACS_INT.Paul Eggert2011-02-082-3/+9
|
* Make globals.h a generated headerTom Tromey2011-02-082-2/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * emacsclient.c: conform to C89 pointer rulesPaul Eggert2011-02-042-2/+8
|
* lib-src/makefile.w32-in (obj): Remove strftime.o, it's not in src/.Eli Zaretskii2011-02-022-1/+2
|
* Make "etags --version" on Windows produce the same as on Posix platforms.Eli Zaretskii2011-02-022-2/+7
| | | | | makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS): Add ``-DEMACS_NAME="\"GNU Emacs\""''.
* Fix the MS-Windows build broken by 2011-01-30T23:34:18Z!eggert@cs.ucla.edu ↵Eli Zaretskii2011-01-312-6/+8
| | | | | | | | | | | | | | | | | | | | | 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.
* src/emacs.c now gets version number from configure.inPaul Eggert2011-01-312-2/+7
|
* make-docfile: don't corrupt heap for an invalid .elc fileJim Meyering2011-01-302-3/+17
|
* Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu ↵Eli Zaretskii2011-01-294-40/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Refill some long/short copyright headers.Glenn Morris2011-01-264-6/+9
|
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-2421-45/+22
|
* Merge from emacs-23.Glenn Morris2011-01-242-4/+9
|\ | | | | | | Note setting of CANNOT_DUMP on ia64 hpux is still to be merged manually.
| * * movemail.c (main): Use setregid, as setegid is missing on HP-UX (Bug#6811).Chong Yidong2011-01-232-4/+9
| | | | | | | | Suggested by Peter O'Gorman.
| * Bump version to 23.2.92.Chong Yidong2011-01-141-1/+1
| | | | | | | | Regenerate AUTHORS, configure, and ldefs-boot.el.
* | Check return values of some library calls.Paul Eggert2011-01-224-6/+26
| |
* | Update ChangeLog dates to today.Paul Eggert2011-01-171-3/+1
| |
* | Merge from mainline.Paul Eggert2011-01-1717-111/+0
|\ \
| * | Nuke arch-tags.Glenn Morris2011-01-1521-39/+0
| | |
* | | Merge from mainline.Paul Eggert2011-01-1416-16/+16
|\| |
| * | Merge from emacs-23Stefan Monnier2011-01-1416-16/+16
| |\|
| | * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-0221-21/+21
| | |
* | | Include <unistd.h> unilaterally.Paul Eggert2011-01-099-19/+9
| | |
* | | Include <getopt.h> not "getopt.h".Paul Eggert2011-01-093-2/+7
| | | | | | | | | | | | | | | | | | * 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.