Raymond Toy pushed to branch master at cmucl / cmucl
Commits:
39dff2ee by Raymond Toy at 2017-09-23T10:27:44-07:00
Update from logs
- - - - -
1 changed file:
- src/general-info/release-21c.txt
Changes:
=====================================
src/general-info/release-21c.txt
=====================================
--- a/src/general-info/release-21c.txt
+++ b/src/general-info/release-21c.txt
@@ -31,14 +31,21 @@ New in this release:
after accounting for time zones results in a positive
value. (See ticket #36.)
* CL:SLEEP no longer gets interrupted (See ticket #26.)
+ * Fix some compiler warnings and clean up funny indentation in
+ asin code.
* Trac Tickets:
* Gitlab tickets:
* Ticket #36: encode-universal-time signals error
* Ticket #26: The cmucl that never sleeps
+ * Ticket #40: Move heap space location for linux
+ * Ticket #41: Report proper process status
+ * Ticket #44: Add docstrings for process accessors
* Other changes:
+ * Continuous integration added to build and test cmucl on every
+ check-in. This does a build on a Linux system.
* Improvements to the PCL implementation of CLOS:
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/commit/39dff2ee5c2fc87e54e0f466c…
---
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/commit/39dff2ee5c2fc87e54e0f466c…
You're receiving this email because of your account on gitlab.common-lisp.net.
Raymond Toy pushed to branch master at cmucl / cmucl
Commits:
7f3040a7 by Raymond Toy at 2017-09-16T16:36:54-07:00
Regenerate do to new docstrings
- - - - -
3 changed files:
- src/i18n/locale/cmucl.pot
- src/i18n/locale/en(a)piglatin/LC_MESSAGES/cmucl.po
- src/i18n/locale/ko/LC_MESSAGES/cmucl.po
Changes:
=====================================
src/i18n/locale/cmucl.pot
=====================================
--- a/src/i18n/locale/cmucl.pot
+++ b/src/i18n/locale/cmucl.pot
@@ -13069,21 +13069,64 @@ msgid "\"~A\" is not a recognized time/date format."
msgstr ""
#: src/code/run-program.lisp
-msgid "Return any available status information on child processed. "
+msgid "List of process structures for all active processes."
msgstr ""
#: src/code/run-program.lisp
-msgid "List of process structures for all active processes."
+msgid ""
+"Return the current status of process. The result is one of\n"
+" :running,:stopped, :continued, :exited, :signaled."
+msgstr ""
+
+#: src/code/run-program.lisp
+msgid "Wait for PROC to quit running for some reason. Returns PROC."
+msgstr ""
+
+#: src/code/run-program.lisp
+msgid "PID of child process."
msgstr ""
#: src/code/run-program.lisp
msgid ""
-"Return the current status of process. The result is one of :running,\n"
-" :stopped, :exited, :signaled."
+"Exit code for the process if it is :exited; the termination signal\n"
+" if it is :signaled; 0 if it is :stopped. It is undefined in all\n"
+" other cases."
msgstr ""
#: src/code/run-program.lisp
-msgid "Wait for PROC to quit running for some reason. Returns PROC."
+msgid "Non-NIL if the process was terminated and a core image was dumped."
+msgstr ""
+
+#: src/code/run-program.lisp
+msgid ""
+"The two-way stream connected to the child's Unix pty connection or NIL."
+msgstr ""
+
+#: src/code/run-program.lisp
+msgid "Stream to child's input or NIL."
+msgstr ""
+
+#: src/code/run-program.lisp
+msgid "Stream from child's output or NIL."
+msgstr ""
+
+#: src/code/run-program.lisp
+msgid "Stream from child's error output or NIL."
+msgstr ""
+
+#: src/code/run-program.lisp
+msgid ""
+"The function to be called whenever process's changes status. This\n"
+" function takes the process as a required argument. This is\n"
+" setf'able."
+msgstr ""
+
+#: src/code/run-program.lisp
+msgid ""
+"Returns annotations supplibed by users; it is setf'able. This is\n"
+" available for users to associcate information with the process\n"
+" without having to build a-lists or hash tables of process\n"
+" structures."
msgstr ""
#: src/code/run-program.lisp
=====================================
src/i18n/locale/en(a)piglatin/LC_MESSAGES/cmucl.po
=====================================
--- a/src/i18n/locale/en(a)piglatin/LC_MESSAGES/cmucl.po
+++ b/src/i18n/locale/en(a)piglatin/LC_MESSAGES/cmucl.po
@@ -18678,20 +18678,15 @@ msgid "\"~A\" is not a recognized time/date format."
msgstr "\"~Away\" isway otnay away ecognizedray imetay/ateday ormatfay."
#: src/code/run-program.lisp
-msgid "Return any available status information on child processed. "
-msgstr ""
-"Eturnray anyway availableway tatussay informationway onway ildchay "
-"ocessedpray. "
-
-#: src/code/run-program.lisp
msgid "List of process structures for all active processes."
msgstr ""
"Istlay ofway ocesspray ucturesstray orfay allway activeway ocessespray."
#: src/code/run-program.lisp
+#, fuzzy
msgid ""
-"Return the current status of process. The result is one of :running,\n"
-" :stopped, :exited, :signaled."
+"Return the current status of process. The result is one of\n"
+" :running,:stopped, :continued, :exited, :signaled."
msgstr ""
"Eturnray ethay urrentcay tatussay ofway ocesspray. Ethay esultray isway "
"oneway ofway :unningray,\n"
@@ -18704,6 +18699,56 @@ msgstr ""
"PROC."
#: src/code/run-program.lisp
+#, fuzzy
+msgid "PID of child process."
+msgstr "Ouldcay otnay orkfay ildchay ocesspray: ~Away"
+
+#: src/code/run-program.lisp
+msgid ""
+"Exit code for the process if it is :exited; the termination signal\n"
+" if it is :signaled; 0 if it is :stopped. It is undefined in all\n"
+" other cases."
+msgstr ""
+
+#: src/code/run-program.lisp
+msgid "Non-NIL if the process was terminated and a core image was dumped."
+msgstr ""
+
+#: src/code/run-program.lisp
+#, fuzzy
+msgid "The two-way stream connected to the child's Unix pty connection or NIL."
+msgstr ""
+"Ethay eamstray onnectedcay otay ethay tandardsay inputway (ilefay "
+"escriptorday 0)."
+
+#: src/code/run-program.lisp
+msgid "Stream to child's input or NIL."
+msgstr ""
+
+#: src/code/run-program.lisp
+msgid "Stream from child's output or NIL."
+msgstr ""
+
+#: src/code/run-program.lisp
+msgid "Stream from child's error output or NIL."
+msgstr ""
+
+#: src/code/run-program.lisp
+msgid ""
+"The function to be called whenever process's changes status. This\n"
+" function takes the process as a required argument. This is\n"
+" setf'able."
+msgstr ""
+
+#: src/code/run-program.lisp
+msgid ""
+"Returns annotations supplibed by users; it is setf'able. This is\n"
+" available for users to associcate information with the process\n"
+" without having to build a-lists or hash tables of process\n"
+" structures."
+msgstr ""
+
+#: src/code/run-program.lisp
msgid "TIOCPGRP ioctl failed: ~S"
msgstr "TIOCPGRP ioctlway ailedfay: ~S"
@@ -30938,6 +30983,11 @@ msgstr ""
"eplacedray ybay ethay\n"
"Unicodeway eplacementray aracterchay."
+#~ msgid "Return any available status information on child processed. "
+#~ msgstr ""
+#~ "Eturnray anyway availableway tatussay informationway onway ildchay "
+#~ "ocessedpray. "
+
#~ msgid "Cound not create pipe: ~A"
#~ msgstr "Oundcay otnay eatecray ipepay: ~Away"
=====================================
src/i18n/locale/ko/LC_MESSAGES/cmucl.po
=====================================
--- a/src/i18n/locale/ko/LC_MESSAGES/cmucl.po
+++ b/src/i18n/locale/ko/LC_MESSAGES/cmucl.po
@@ -13096,21 +13096,63 @@ msgid "\"~A\" is not a recognized time/date format."
msgstr ""
#: src/code/run-program.lisp
-msgid "Return any available status information on child processed. "
+msgid "List of process structures for all active processes."
msgstr ""
#: src/code/run-program.lisp
-msgid "List of process structures for all active processes."
+msgid ""
+"Return the current status of process. The result is one of\n"
+" :running,:stopped, :continued, :exited, :signaled."
+msgstr ""
+
+#: src/code/run-program.lisp
+msgid "Wait for PROC to quit running for some reason. Returns PROC."
+msgstr ""
+
+#: src/code/run-program.lisp
+msgid "PID of child process."
msgstr ""
#: src/code/run-program.lisp
msgid ""
-"Return the current status of process. The result is one of :running,\n"
-" :stopped, :exited, :signaled."
+"Exit code for the process if it is :exited; the termination signal\n"
+" if it is :signaled; 0 if it is :stopped. It is undefined in all\n"
+" other cases."
msgstr ""
#: src/code/run-program.lisp
-msgid "Wait for PROC to quit running for some reason. Returns PROC."
+msgid "Non-NIL if the process was terminated and a core image was dumped."
+msgstr ""
+
+#: src/code/run-program.lisp
+msgid "The two-way stream connected to the child's Unix pty connection or NIL."
+msgstr ""
+
+#: src/code/run-program.lisp
+msgid "Stream to child's input or NIL."
+msgstr ""
+
+#: src/code/run-program.lisp
+msgid "Stream from child's output or NIL."
+msgstr ""
+
+#: src/code/run-program.lisp
+msgid "Stream from child's error output or NIL."
+msgstr ""
+
+#: src/code/run-program.lisp
+msgid ""
+"The function to be called whenever process's changes status. This\n"
+" function takes the process as a required argument. This is\n"
+" setf'able."
+msgstr ""
+
+#: src/code/run-program.lisp
+msgid ""
+"Returns annotations supplibed by users; it is setf'able. This is\n"
+" available for users to associcate information with the process\n"
+" without having to build a-lists or hash tables of process\n"
+" structures."
msgstr ""
#: src/code/run-program.lisp
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/commit/7f3040a7eafc6c5531417cd85…
---
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/commit/7f3040a7eafc6c5531417cd85…
You're receiving this email because of your account on gitlab.common-lisp.net.
Raymond Toy pushed to branch master at cmucl / cmucl
Commits:
ec29ec51 by Raymond Toy at 2017-09-16T15:23:32-07:00
Fix #44: Add docstrings for process accessors
Adds docstrings for the exported process accessors:
`process-pid`, `process-exit-code`, `process-core-dumped`,
`process-pty`, `process-input`, `process-output`, `process-error`,
`process-status-hook`, `process-plist`.
- - - - -
f99b8125 by Raymond Toy at 2017-09-16T23:29:58+00:00
Merge branch 'rtoy-fix-44-add-docstrings-process' into 'master'
Fix #44: Add docstrings for process accessors
Closes #44
See merge request !24
- - - - -
1 changed file:
- src/code/run-program.lisp
Changes:
=====================================
src/code/run-program.lisp
=====================================
--- a/src/code/run-program.lisp
+++ b/src/code/run-program.lisp
@@ -75,8 +75,8 @@
;;; PROCESS-STATUS -- Public.
;;;
(defun process-status (proc)
- "Return the current status of process. The result is one of :running,
- :stopped, :exited, :signaled."
+ "Return the current status of process. The result is one of
+ :running,:stopped, :continued, :exited, :signaled."
(declare (type process proc))
(get-processes-status-changes)
(process-%status proc))
@@ -99,6 +99,32 @@
(system:serve-all-events 1))
proc)
+;;; Add docstrings for the other public PROCESS accessors.
+(setf (documentation 'process-pid 'function)
+ _N"PID of child process.")
+(setf (documentation 'process-exit-code 'function)
+ _N"Exit code for the process if it is :exited; the termination signal
+ if it is :signaled; 0 if it is :stopped. It is undefined in all
+ other cases.")
+(setf (documentation 'process-core-dumped 'function)
+ _N"Non-NIL if the process was terminated and a core image was dumped.")
+(setf (documentation 'process-pty 'function)
+ _N"The two-way stream connected to the child's Unix pty connection or NIL.")
+(setf (documentation 'process-input 'function)
+ _N"Stream to child's input or NIL.")
+(setf (documentation 'process-output 'function)
+ _N"Stream from child's output or NIL.")
+(setf (documentation 'process-error 'function)
+ _N"Stream from child's error output or NIL.")
+(setf (documentation 'process-status-hook 'function)
+ _N"The function to be called whenever process's changes status. This
+ function takes the process as a required argument. This is
+ setf'able.")
+(setf (documentation 'process-plist 'function)
+ _N"Returns annotations supplibed by users; it is setf'able. This is
+ available for users to associcate information with the process
+ without having to build a-lists or hash tables of process
+ structures.")
#-hpux
;;; FIND-CURRENT-FOREGROUND-PROCESS -- internal
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/compare/e1f12db958ab0af954c377a5…
---
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/compare/e1f12db958ab0af954c377a5…
You're receiving this email because of your account on gitlab.common-lisp.net.
Raymond Toy pushed to branch master at cmucl / cmucl
Commits:
81e08ecb by Raymond Toy at 2017-09-16T14:49:33-07:00
Clean up prog_status
- If `waidpid` returns 0 or -1, we should return.
- Make the fprintf message a bit clearer on what's happening when we
have some kind of status that we didn't handle.
- - - - -
1 changed file:
- src/lisp/runprog.c
Changes:
=====================================
src/lisp/runprog.c
=====================================
--- a/src/lisp/runprog.c
+++ b/src/lisp/runprog.c
@@ -107,8 +107,7 @@ prog_status(pid_t* pid, int* what, int* code, int* corep)
w = waitpid(-1, &status, WNOHANG | WUNTRACED | WCONTINUED);
*pid = w;
- if (w == -1) {
-
+ if (w <= 0) {
return;
}
@@ -129,7 +128,7 @@ prog_status(pid_t* pid, int* what, int* code, int* corep)
*code = 0;
*corep = 0;
} else {
- fprintf(stderr, "pid = %d, status = 0x%x\n", *pid, status);
+ fprintf(stderr, "Unhandled waidpid status: pid = %d, status = 0x%x\n", *pid, status);
}
return;
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/commit/81e08ecbdbbafb9ee29a4013b…
---
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/commit/81e08ecbdbbafb9ee29a4013b…
You're receiving this email because of your account on gitlab.common-lisp.net.