aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (Fset_process_query_on_exit_flag): Mention killingJuri Linkov2009-07-181-1/+1
| | | | a buffer in docstring.
* Simplify last change.Andreas Schwab2009-06-281-11/+6
|
* (send_process): Keep decoded string in a localAndreas Schwab2009-06-281-5/+7
| | | | variable and protect it from GC. (Bug#3521)
* (status_message): Pass Faset index argument as a lisp object, so as to workKen Raeburn2009-06-201-1/+1
| | | | with USE_LISP_UNION_TYPE.
* (status_message): Fix previous change. Be sure toKenichi Handa2009-06-151-5/+14
| | | | decode a localized string.
* * process.c (status_message): Fix handling of multibyte signalChong Yidong2009-06-091-1/+3
| | | | string (Bug#3499).
* (read_process_output): Make sure the current buffer isAndreas Schwab2009-05-021-2/+3
| | | | always restored.
* (create_process): Clean up merger residues of 2008-07-17 change.YAMAMOTO Mitsuharu2009-04-291-8/+0
|
* * fns.c (Flocale_info): Protect vector from GC during decoding.Andreas Schwab2009-04-281-18/+32
| | | | | * process.c (Fstart_process): Protect argv strings from GC during encoding.
* Rename `system-process-attributes' to `process-attributes'Miles Bader2009-02-231-10/+8
| | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1553
* (send_process): Properly relocate pointer into dataAndreas Schwab2009-02-101-2/+6
| | | | when using encoded data.
* (wait_reading_process_output): Use process_pending_signals.Chong Yidong2009-01-291-6/+1
|
* * dbusbind.c (Fdbus_register_signal):Juanma Barranquero2009-01-181-1/+1
| | | | | * process.c (conv_sockaddr_to_lisp): * w32fns.c (Fw32_battery_status): Use empty_unibyte_string.
* (Qeuid, Qegid, Qcomm, Qstate, Qppid, Qpgrp, Qsess)Eli Zaretskii2009-01-031-3/+74
| | | | | | | | | (Qttname, Qminflt, Qmajflt, Qcminflt, Qcmajflt, Qutime, Qstime) (Qcutime, Qpri, Qnice, Qthcount, Qstart, Qvsize, Qrss, Qargs) (Quser, Qgroup, Qetime, Qpcpu, Qpmem, Qtpgid, Qcstime) [!subprocesses]: Define. (syms_of_process) [!subprocesses]: Intern and staticpro them. (Flist_system_processes, Fsystem_process_attributes) [!subprocesses]: Call list_system_processes and system_process_attributes instead of returning Qnil.
* (top level) <Qtime, Qctime>: New variables.Eli Zaretskii2009-01-021-1/+9
| | | | | (syms_of_process): staticpro them. (Fsystem_process_attributes): Add their documentation to the doc string.
* (conv_sockaddr_to_lisp): Add workaround forAndreas Schwab2009-01-011-32/+41
| | | | getsockname bug on BSD.
* * process.c: (Flist_system_processes):Dan Nicolaescu2008-12-191-2/+2
| | | | | (Fsystem_process_attributes): Undo previous change, these functions are duplicated for the benefit of #ifndef subprocesses.
* * process.c: (Flist_system_processes):Dan Nicolaescu2008-12-191-2/+2
| | | | | (Fsystem_process_attributes): Fix strange CVS problem, return the correct value.
* Reorganize implementation of Flist_system_processes andDan Nicolaescu2008-12-191-437/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fsystem_process_attributes. No functional changes. * process.c: Don't #include pwd.h, grp.h and limits.h. (Flist_system_processes): Just call list_system_processes. (Fsystem_process_attributes): Just call system_process_attributes. (procfs_list_system_processes, time_from_jiffies) (ltime_from_jiffies, get_up_time, procfs_ttyname, MAJOR, MINOR) (procfs_get_total_memory, procfs_system_process_attributes): Move ... * sysdep.c: ... here. Include pwd.h, grp.h and limits.h. (list_system_processes): Rename from procfs_list_system_processes. Enclose in #ifdef HAVE_PROCFS. Provide a do nothing implementation. (system_process_attributes): Rename from procfs_list_system_processes. (ltime_from_jiffies, get_up_time, procfs_ttyname, MAJOR, MINOR) (procfs_get_total_memory): Enclose in #ifdef GNU_LINUX. * w32.c (list_system_processes): Rename from w32_list_system_processes. (system_process_attributes): Rename from w32_system_process_attributes. * s/gnu-linux.h (LISTPROC, PROCATTR): Remove. * process.h (w32_list_system_processes) (w32_system_process_attributes): Remove. (list_system_processes, system_process_attributes): New prototypes. * config.nt (LISTPROC, PROCATTR): Remove.
* Include <limits.h>.Dan Nicolaescu2008-12-161-0/+4
|
* * process.c (Fsystem_process_attributes, syms_of_process):Juanma Barranquero2008-12-111-4/+4
| | | | | Fix typo in name of Ssystem_process_attributes. Reported by Ulrich Mueller <ulm@kph.uni-mainz.de>.
* (procfs_system_process_attributes): If `nread' has a negative value, assignEli Zaretskii2008-12-051-1/+9
| | | | zero to it.
* (procfs_system_process_attributes): Don't use cmd, cmdsize, and q withoutEli Zaretskii2008-12-051-3/+8
| | | | initializing them first.
* (procfs_system_process_attributes): Multiply `pcpu' by 100, so it's inEli Zaretskii2008-10-021-1/+3
| | | | percents as advertised.
* (Faccept_process_output): Fix doc-string.Martin Rudalics2008-10-021-5/+5
|
* (procfs_system_process_attributes): Fix last change.Eli Zaretskii2008-09-191-1/+1
|
* (procfs_system_process_attributes): Fix cmdline in case /proc/PID/cmdlineEli Zaretskii2008-09-191-10/+10
| | | | is empty.
* (Fsystem_process_attributes): Doc fix.Roland Winkler2008-09-071-3/+3
|
* (Fsystem_process_attributes): Doc fix.Roland Winkler2008-09-061-3/+3
|
* (procfs_system_process_attributes): Fix portabilityAndreas Schwab2008-08-231-14/+21
| | | | problems.
* [!subprocesses]: Define QCname.Eli Zaretskii2008-08-231-1/+3
| | | | (syms_of_process): Intern and staticpro it.
* (make_process): Initialize kill_without_query struct member.Chong Yidong2008-08-151-0/+1
|
* (procfs_system_process_attributes): Use EMACS_INTs to silence gccGlenn Morris2008-08-101-8/+19
| | | | "limited range of data type" warnings in some make_fixnum_or_float calls.
* (Fsystem_process_attributes): Doc fix.Eli Zaretskii2008-08-091-0/+4
|
* cleanup in s/darwin.h, define DARWIN_OS and use it instead of DARWIN and/or ↵Adrian Robert2008-08-041-1/+1
| | | | MAC_OSX; also, nsterm.m: small unrelated cleanups
* (Fsystem_processes_list, Fsystem_process_attributes): New functions.Eli Zaretskii2008-08-021-4/+607
| | | | | | | | | (syms_of_process): Defsubr them. Add initializations for various Q* symbols used in procfs_system_process_attributes. (procfs_list_system_processes, procfs_system_process_attributes) [HAVE_PROCFS]: New functions. (time_from_jiffies, ltime_from_jiffies, get_up_time, procfs_ttyname) (procfs_get_total_memory): New functions.
* * bitmaps/README:Dan Nicolaescu2008-07-311-126/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * xfns.c: * termcap.c: * term.c: * syswait.h: * systty.h: * systime.h: * syssignal.h: * sysdep.c: * process.h: * process.c: * print.c: * ndir.h: * lread.c: * keyboard.c: * getpagesize.h: * floatfns.c: * fileio.c: * emacs.c: * doc.c: * dispnew.c: * dired.c: * data.c: * callproc.c: * buffer.c: * README: * Makefile.in: * s/template.h: * s/msdos.h: * m/vax.h: Remove VMS support. * s/vms.h: * vlimit.h: * uaf.h: * temacs.opt: * param.h: * ioctl.h: Remove file. * descrip.mms: * compile.com: Remove file. * Create.c: Remove VMS support. * message.el (Module): * gnus-start.el (Module): * gnus-registry.el (Module): * textmodes/texinfmt.el: * nxml/nxml-enc.el: * mail/feedmail.el: * international/mule.el: * international/latexenc.el: * emulation/viper-util.el: * emulation/viper-init.el: * emulation/viper-ex.el: * emacs-lisp/bytecomp.el: * version.el: * subr.el: * startup.el: * sort.el: * shadowfile.el: * recentf.el: * printing.el: * paths.el: * minibuffer.el: * ls-lisp.el: * loadup.el: * hippie-exp.el: * finder.el: * files.el: * ediff-util.el: * ediff-ptch.el: * ediff-init.el: * ediff-diff.el: * dired.el: * dired-aux.el: * cus-edit.el: * bindings.el: * arc-mode.el: * add-log.el: Remove VMS support. * obsolete/vmsproc.el: * obsolete/vms-pmail.el: * obsolete/vms-patch.el: Remove file. * etags.c: * emacsclient.c: Remove VMS support. * termcap.src: Remove file. * README: * PROBLEMS: * MACHINES: Remove VMS info. * ediff.texi: Remove VMS support. * os.texi: * intro.texi: * files.texi: Remove VMS support. * emacs.texi: Remove VMS support. * make-dist: * README: Remove VMS support. * vms: Remove directory.
* Remove support for Mac Carbon.Dan Nicolaescu2008-07-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mactoolbox.c: * macterm.h: * macterm.c: * macselect.c: * macmenu.c: * macgui.h: * macfns.c: * mac.c: Remove file. * s/darwin.h: * m/intel386.h: * xfaces.c: * xdisp.c: * window.c: * tparam.c: * termhooks.h: * termcap.c: * term.c: * syssignal.h: * sysselect.h: * sysdep.c: * process.c: * lread.c: * lisp.h: * keyboard.c: * image.c: * fringe.c: * frame.h: * frame.c: * fontset.c: * font.h: * font.c: * fns.c: * fileio.c: * emacs.c: * dispnew.c: * dispextern.h: * config.in: * atimer.c: * Makefile.in: Remove code for Carbon * erc.el: Remove code for Carbon. Remove support for Mac Carbon. * term/mac-win.el: Remove file * international/mule-cmds.el: * version.el: * startup.el: * simple.el: * mwheel.el: * mouse.el: * loadup.el: * isearch.el: * info.el: * frame.el: * faces.el: * disp-table.el: * cus-start.el: * cus-face.el: * cus-edit.el: * Makefile.in: Remove code for Carbon. Remove support for Mac Carbon. * makefile.w32-in: * emacsclient.c: Remove code for Carbon. * PROBLEMS: * MACHINES: Remove mentions of Mac Carbon. * ns-emacs.texi: * faq.texi: Remove mentions of Mac Carbon. * os.texi: * frames.texi: * display.texi: Remove mentions of Mac Carbon. * xresources.texi: Remove mentions of Mac Carbon. * make-tarball.txt: * admin.el: * FOR-RELEASE: * CPP-DEFINES: Remove mentions of Mac Carbon. Remove support for Mac Carbon. * mac: Remove directory. * make-dist: * configure.in: * README: * Makefile.in: * INSTALL: Remove code for Carbon. * configure: Regenerate.
* * s/usg5-4.h (LIBS_SYSTEM): Remove, system for which this wasDan Nicolaescu2008-07-201-18/+1
| | | | | | | | | | | | | | | | | | | | | | | | | added not supported anymore. * s/usg5-4-2.h (LIBS_SYSTEM): * s/sol2.h (LIBS_SYSTEM): Do not undefine. * s/netbsd.h (GETPGRP_NO_ARG, N_TRELOFF): * s/lynxos.h (GETPGRP_NO_ARG): * s/hpux10-20.h (NO_SIOCTL_H): * s/gnu.h (GETPGRP_NO_ARG): * s/gnu-linux.h (NO_SIOCTL_H): * s/freebsd.h (GETPGRP_NO_ARG, N_TRELOFF): * s/cygwin.h (GETPGRP_NO_ARG): * s/irix6-5.h (LIBS_SYSTEM, GETPGRP_NO_ARG): Remove, unused. (C_DEBUG_SWITCH): Remove duplicate definition. * m/ibms390.h: Remove boilerplate comments. * sysdep.c (closedir): Use SOLARIS2 instead of sun && USG5_4. * process.c (HAVE_SERIAL): Consolidate ifdefs. (wait_reading_process_output): Remove code for SunOS, platform not supported anymore. Use SOLARIS2 instead of sun.
* Merge from emacs--rel--22Miles Bader2008-07-171-9/+39
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1339
| * (create_process) [!WINDOWSNT && FD_CLOEXEC]: Wait forYAMAMOTO Mitsuharu2008-07-171-17/+39
| | | | | | | | child process to complete child_setup. Undo 2005-09-21 change.
| * (wait_reading_process_output): Check for window changes caused by timers.Chong Yidong2008-02-271-1/+3
| | | | | | | | Suggested by Johan Bockgård.
| * Chong Yidong <cyd at stupidchicken.com>Glenn Morris2008-01-101-1/+3
| | | | | | | | (wait_reading_process_output): Check for window changes caused by timers.
* | * systty.h: Remove code for Aix on 386, unsupported platform.Dan Nicolaescu2008-07-161-55/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * s/ms-w32.h: Remove boilerplate comments. (fcloseall, fgetchar, flushall, fputchar, getw, putw): Remove, unused. * s/gnu-linux.h (TERM): Remove support. (HAVE_SYSVIPC): Remove, unused. (A_TEXT_OFFSET, A_TEXT_SEEK, ADJUST_EXEC_HEADER): Remove, not used for this system. * process.c: Remove support for IRIS, unused. Remove support for TERM, not relevant anymore. * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Remove, replace the only used with the definition. * s/aix4-2.h (static): Do not undef. * m/ibmrs6000.h: Remove code depending on USG5_4, this file is only used on Aix. (HAVE_SYSVIPC): Remove, unused. * m/hp800.h (CANNOT_DUMP): Do not undef. * m/alpha.h: Fix comment. * s/usg5-4.h (HAVE_SYSVIPC): Remove, unused. (USG_SHARED_LIBRARIES): Remove, only used in unexec.c which is not used by this configuration. * emacs.c: Remove code depending on USG_SHARED_LIBRARIES. * unexec.c: Remove code depending on HPUX and USG_SHARED_LIBRARIES, not used with this file. Remove code depending on IRIS, unused. Remove if 0-ed code.
* | merging Emacs.app (NeXTstep port)Adrian Robert2008-07-151-2/+6
| |
* | * syswait.h: Remove old if 0 code. Do not define WAITTYPE, it wasDan Nicolaescu2008-07-121-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | always defined as int. * s/netbsd.h (HAVE_UNION_WAIT, HAVE_WAIT_HEADER, WAIT_USE_INT): * s/gnu.h (HAVE_WAIT_HEADER, WAIT_USE_INT, HAVE_UNION_WAIT): * s/gnu-linux.h (HAVE_WAIT_HEADER): * s/freebsd.h (HAVE_WAIT_HEADER): * s/bsd-common.h (HAVE_UNION_WAIT): * s/aix4-2.h (HAVE_WAIT_HEADER): * m/mips.h (HAVE_UNION_WAIT): * s/usg5-4.h (HAVE_WAIT_HEADER, WAITTYPE): Do not define, not used. (COFF, static): Do not define, they are undefined later in the file. * process.c (update_status): Don't use a union. (status_convert): (sigchld_handler): Use int instead of WAITTYPE. * movemail.c (main): Use int instead of WAITTYPE.
* | American English spelling fix.Glenn Morris2008-06-271-1/+1
| |
* | * unexnext.c:Dan Nicolaescu2008-06-261-98/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * m/ews4800.h: * m/hp9000s300.h: * m/ibm370aix.h: * m/mips-siemens.h: * m/ncr386.h: * m/next.h: * m/pmax.h: * m/powerpcle.h: * m/tandem-s2.h: * s/386bsd.h: * s/bsd386.h: * s/bsd4-1.h: * s/bsd4-2.h: * s/bsdos2-1.h: * s/bsdos2.h: * s/bsdos3.h: * s/bsdos4.h: * s/nextstep.h: * s/ultrix4-3.h: * s/usg5-0.h: * s/usg5-2-2.h: * s/usg5-2.h: * s/usg5-4-3.h: * s/ux4800.h: * s/uxpds.h: * s/uxpv.h: Remove support for obsolete systems. * s/hpux.h, s/hpux10.h, s/hpux8.h, s/hpux9.h, s/hpux9shr.h: Remove, insert contents in s/hpux-10.20.h * s/aix3-1.h, s/aix3-2-5.h, s/aix3-2.h, s/aix4-1.h, s/aix4.h: Remove, insert contents in s/aix-4.2.h * s/usg5-3.h: Remove, insert contents in s/usg5-4.h. * s/bsd4-3.h: Rename to .. * s/bsd-common.h: ... this. * src/data.c: * src/doc.c: * src/ecrt0.c: * src/emacs.c: * src/fileio.c: * src/floatfns.c: * src/keyboard.c: * src/mem-limits.h: * src/print.c: * src/process.c: * src/sysdep.c: * src/syssignal.h: * src/systty.h: * src/syswait.h: * src/term.c: * src/unexec.c: * src/unexelf.c: * src/unexhp9k800.c: * src/m/hp800.h: * src/m/ibmrs6000.h: * src/m/mips.h: * src/m/vax.h: * src/s/darwin.h: * src/s/freebsd.h: * src/s/gnu.h: * src/s/ms-w32.h: * src/s/msdos.h: * src/s/netbsd.h: * src/s/template.h: Remove references to obsolete variables. * Makefile.in: Add dependencies for all unexec files. (admindir): Remove unused variable. (UNEXEC_SRC): Remove references. * config.nt: Remove reference to UNEXEC_SRC. * lwlib.c: Remove references to obsolete variables. * fakemail.c: Remove references to obsolete variables. * os.texi: Remove references to obsolete systems. * configure.in: * configure: Remove references to obsolete systems.
* | (Fserial_process_configure, Fprocess_send_eof):Stefan Monnier2008-06-131-3/+3
| | | | | | | | Use EQ to compare Lisp_Objects.
* | Daniel Engeler <engeler at gmail.com>Glenn Morris2008-06-131-37/+459
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These changes add serial port access. * process.c: Add HAVE_SERIAL. (Fdelete_process, Fprocess_status, Fset_process_buffer) (Fset_process_filter, Fset_process_sentinel, Fprocess_contact) (list_processes_1, select_wrapper, Fstop_process) (Fcontinue_process, Fprocess_send_eof, kill_buffer_processes) (status_notify): Modify to handle serial processes. [HAVE_SERIAL] (Fserial_process_configure) [HAVE_SERIAL] (make_serial_process_unwind, Fmake_serial_process): New functions. * process.h (struct Lisp_Process): Add `type'. * sysdep.c [HAVE_TERMIOS] (serial_open, serial_configure): New functions. * w32.c (_sys_read_ahead, sys_read, sys_write): Modify to handle serial ports. (serial_open, serial_configure) New functions. * w32.h: Add FILE_SERIAL. (struct _child_process): Add ovl_read, ovl_write.