aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | lib-src/ebrowse.c (match_qualified_namespace_alias): Check for null pointer.Juanma Barranquero2010-07-032-1/+5
| |
* | Fix prototypes.Juanma Barranquero2010-07-034-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Convert function definitions to standard C.Dan Nicolaescu2010-07-0214-734/+347
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Convert some prototypes to standard C.Dan Nicolaescu2010-07-023-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Remove __P.Jan D2010-07-022-13/+0
| |
* | Remove __P and P_ from .c and .m files and definition of P_Jan D2010-07-026-199/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | lib-src/movemail.c (error): Avoid warning when there are no args.Juanma Barranquero2010-06-242-1/+5
| |
* | Fix Windows makefiles to adapt to lisp/vc reorganization.Juanma Barranquero2010-06-112-2/+7
| | | | | | | | | | | | | | * 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.
* | Remove duplicate ChangeLog entries.Juanma Barranquero2010-06-101-15/+0
| |
* | Remove BSTRING related code, all platforms define it.Dan Nicolaescu2010-06-062-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Add --parent-id argument to emacsclient.Chong Yidong2010-05-292-1/+24
| | | | | | | | | | | | | | | | | | | | | | * 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.
* | Do not preprocess src/Makefile.in.Glenn Morris2010-05-262-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Remove cirsular dependency when using separate build dir (Bug #6246).Jan Djärv2010-05-222-6/+20
| | | | | | | | | | | | | | | | * 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).
* | * lib-src/Makefile.in: Break some long lines.Glenn Morris2010-05-141-14/+25
| |
* | Remove unused output variable LIB_SRC_EXTRA_INSTALLABLES.Glenn Morris2010-05-112-1/+5
| | | | | | | | | | | | | | | | * 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@.
* | Minor lib-src/Makefile.in edits.Glenn Morris2010-05-102-10/+13
| | | | | | | | | | | | | | | | * 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.
* | Do not preprocess lib-src/Makefile.inGlenn Morris2010-05-102-35/+35
| | | | | | | | | | | | | | | | | | * 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.
* | On msdos, set LIBS_SYSTEM with config.bat, not cpp.Glenn Morris2010-05-102-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Move LIBS_SYSTEM from cpp to configure.Glenn Morris2010-05-092-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Move MAIL_USE_FLOCK, MAIL_USE_LOCKF, BLESSMAIL_TARGET from cpp to configure.Glenn Morris2010-05-092-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Merge from emacs-23Stefan Monnier2010-05-081-0/+9
|\ \ | |/
| * Bump version to 23.2.50.Chong Yidong2010-05-081-1/+1
| |
| * Bump version to 23.2.emacs-23.2Chong Yidong2010-05-072-1/+5
| |
| * * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis for macros for ↵Chong Yidong2010-05-052-2/+7
| | | | | | | | nmake compatibility.
| * Bump version to 23.1.97.emacs-pretest-23.1.97Chong Yidong2010-05-031-1/+1
| |
| * Bump version to 23.1.96.emacs-pretest-23.1.96Chong Yidong2010-04-191-1/+1
| |
* | Remove unused Makefile definition THIS_IS_MAKEFILE.Glenn Morris2010-05-072-1/+4
| | | | | | | | | | | | * src/Makefile.in (THIS_IS_MAKEFILE): Remove, unused. * lib-sc/Makefile.in (THIS_IS_MAKEFILE): Remove, unused. * admin/CPP-DEFINES (THIS_IS_MAKEFILE): Remove.
* | Minimize blessmail-related cpp usage, with an eye to future removal.Glenn Morris2010-05-062-17/+22
| | | | | | | | | | | | | | | | * 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.
* | lib-src/ChangeLog: Remove duplicate entry.Juanma Barranquero2010-05-061-7/+1
| |
* | Move C_SWITCH_MACHINE, C_SWITCH_SYSTEM from cpp to autoconf.Glenn Morris2010-05-032-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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@.
* | * Makefile.in (LIBS_MACHINE): Remove, unused.Dan Nicolaescu2010-04-261-1/+1
| |
* | * Makefile.in (LIBS_MACHINE): Remove, unused.Dan Nicolaescu2010-04-262-5/+4
| | | | | | | | | | * Makefile.in (LIBS_MACHINE): Remove all uses, unused. * configure.in (LIBS_MACHINE): Remove, unused.
* | Merge from emacs-23Stefan Monnier2010-04-191-0/+6
|\ \ | |/
| * Add stubs for Windows, required after CVE-2010-0825 change.Juanma Barranquero2010-04-033-0/+27
| | | | | | | | | | * ntlib.c (getgid, getegid, setegid): New stubs. * ntlib.h (getgid, getegid, setegid): Declare them.
* | Remove the Arch metafiles.Stefan Monnier2010-04-121-10/+0
| |
* | * Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to theDan Nicolaescu2010-04-122-9/+11
| | | | | | | | non-cpp section.
* | Use autoconf, not cpp for some variables.Dan Nicolaescu2010-04-112-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | * lib-src/makefile.w32-in: Use parenthesis for macros for nmake compatibility.Christoph2010-04-072-2/+7
| |
* | Add stubs for Windows, required after CVE-2010-0825 change.Juanma Barranquero2010-04-033-0/+27
| | | | | | | | | | * ntlib.c (getgid, getegid, setegid): New stubs. * ntlib.h (getgid, getegid, setegid): Declare them.
* | Merge from emacs-23Stefan Monnier2010-04-021-8/+8
|\ \ | |/
| * Bump version to 23.1.95.emacs-pretest-23.1.95Chong Yidong2010-04-021-1/+1
| |
| * Fix permissions handling (CVE-2010-0825).Chong Yidong2010-04-022-26/+25
| | | | | | | | | | | | * movemail.c (main): Check return values of setuid. Avoid possibility of symlink attack when movemail is setgid mail (CVE-2010-0825).
| * Fix typos in ChangeLogs.Juanma Barranquero2010-04-021-8/+8
| |
| * `make uninstall' fix (Bug#5620).Chong Yidong2010-03-192-1/+6
| | | | | | | | | | * Makefile.in (uninstall): Handle the case where archlibdir does not exist. (Bug#5720)
| * Bump version to 23.1.94 and regenerate ldefs-boot.el.emacs-pretest-23.1.94Chong Yidong2010-03-101-1/+1
| |
* | Fix permissions handling (CVE-2010-0825).Chong Yidong2010-04-022-26/+25
| | | | | | | | | | | | * movemail.c (main): Check return values of setuid. Avoid possibility of symlink attack when movemail is setgid mail (CVE-2010-0825).
* | Remove extern errno declarations.Dan Nicolaescu2010-04-014-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Cosmetic changes to lib-src/Makefile.in.Glenn Morris2010-03-202-5/+30
| | | | | | | | | | | | | | | | * 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.
* | Replace some cpp with autoconf.Glenn Morris2010-03-172-72/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Close bug#5720.Tetsurou Okazaki2010-03-172-2/+9
| | | | | | | | | | * Makefile.in, lib-src/Makefile.in (uninstall): Handle the case where archlibdir does not exist.