- Sep 30, 2013
-
-
Francois-Rene Rideau authored
More documentation for UIOP.
-
- Sep 28, 2013
-
-
Francois-Rene Rideau authored
-
Francois-Rene Rideau authored
* have run-program on ECL on SLIME. * remove now unnecessary &allow-other-keys from slurp-input-stream and vomit-output-stream. * add stripln and :stripped t support to slurp-input-stream string. * add convenience functions println and writeln.
-
Francois-Rene Rideau authored
* it handles INPUT and ERROR-OUTPUT, not just OUTPUT. * it accepts PATHNAMEs as I/O designators * it works on ECL under SLIME (fixes lp#1232225) * SLIGHT API CHANGE! At the suggestion of stassats, we're always returning an exit code, and in a predictable return value position. However, both for backward compatibility and usability, the OUTPUT slurping results remain the primary return value, followed by the ERROR-OUTPUT slurping results, followed by the exit code. So far, no one was using multiple values in SLURP-INPUT-STREAM methods, so no one will regret that, except people who might have somehow expected the old weird behavior of a return code when OUTPUT is NIL or :INTERACTIVE. * As another API tweak and improvement, keyword options are now specified separately for each of your I/O designators, by putting them your designator in a list. A list also distinguishes a string as input from a namestring to designate a pathname, i.e. :input '("bar") is the string literal, whereas :input "bar" is the file named bar. Several fixes and extensions to stream support. Only tested so far on Linux x64 with ccl clisp sbcl ecl ecl_bytecodes cmucl abcl allegro allegromodern xcl
-
- Sep 27, 2013
-
-
Francois-Rene Rideau authored
-
- Sep 24, 2013
-
-
Francois-Rene Rideau authored
Fixes lp#1207005.
-
- Sep 23, 2013
-
-
Francois-Rene Rideau authored
instead returned ("") or (NIL), which in turn causes getenv-pathnames to fail, and eventually (default-source-registry) failed to properly default in absence of XDG_DATA_DIRS, which itself breaks Debian installations. Big oops.
-
- Sep 16, 2013
-
-
Francois-Rene Rideau authored
-
Francois-Rene Rideau authored
-
- Sep 10, 2013
-
-
Robert P. Goldman authored
Also script used to test on all implementations (only should be run on mac, hence -ignored name).
-
- Sep 08, 2013
-
-
Robert P. Goldman authored
-
Robert P. Goldman authored
-
- Sep 06, 2013
-
-
Francois-Rene Rideau authored
-
- Aug 16, 2013
-
-
Robert P. Goldman authored
Patch from Vsevolod Dyomkin.
-
- Aug 07, 2013
-
-
Robert P. Goldman authored
-
Robert P. Goldman authored
-
- Jul 31, 2013
-
-
Robert P. Goldman authored
-
- Jul 28, 2013
-
-
Robert P. Goldman authored
That's the behaviour on other implementations, so in the spirit of true portability, behaviour on LispWorks needs to be adjusted. Patch from Piotr Kalinowski <pitkali@gmail.com>
-
- Jun 26, 2013
-
-
Francois-Rene Rideau authored
-
- Jun 15, 2013
-
-
Francois-Rene Rideau authored
Thanks to Chun Tian (binghe) for his feedback. MCL has issues with make-pathname failing to override defaults with an explicit NIL component.
-
- Jun 11, 2013
-
-
Francois-Rene Rideau authored
-
- Jun 09, 2013
-
-
Francois-Rene Rideau authored
-
- May 22, 2013
-
-
Francois-Rene Rideau authored
Also, remove some extraneous comments from run-program.
-
- May 21, 2013
-
-
Robert P. Goldman authored
On ACL, the :INPUT and :OUTPUT arguments to EXCL:RUN-SHELL-COMMAND take NIL for the behavior of inheriting input and output handles from the Lisp process. These were encoded as T in UIOP:RUN-PROGRAM, instead of NIL, causing ACL to get errors trying to open T as a file designator. Added a couple of test cases to test-run-program.script to illustrate the problem. Note that this fix does not provide the prescribed behavior for :OUTPUT NIL (which should take the program's output and throw it on the floor). There is a TODO in uiop:run-program explaining what's missing. In brief, ACL's EXCL:RUN-SHELL-COMMAND does not support this behavior out of the box, so one would have to capture the program's output, and then throw it on the floor.
-
- May 16, 2013
-
-
Francois-Rene Rideau authored
-
- May 03, 2013
-
-
Francois-Rene Rideau authored
Also, clean some test.
-
- Apr 29, 2013
-
-
Francois-Rene Rideau authored
It's :ERROR rather than :RENAME-AND-DELETE; however, unlike WITH-OPEN-FILE, it doesn't revert to :new-version if the pathname had :version :newest.
-
- Apr 17, 2013
-
-
Francois-Rene Rideau authored
Define with-output-file and call-with-output-file for that.
-
Francois-Rene Rideau authored
And thus in run-program and run-shell-command. Add a test for capturing output with run-shell-command -- yuck.
-
- Apr 16, 2013
-
-
Francois-Rene Rideau authored
export sequential-plan; recognize original-initargs as exported but not defined (slot name); don't error while testing for not-defined-yet type (helps POIU when symbol exists but not type); reindent a clause of compute-action-stamp.
-
- Apr 10, 2013
-
-
Francois-Rene Rideau authored
Move the previous list to *usual-uninteresting-conditions*. Also, fix docstring for RUN-PROGRAM (bug reported by John Morrison).
-
- Apr 04, 2013
-
-
Francois-Rene Rideau authored
Also, better document *output-translation-function*
-
- Apr 03, 2013
-
-
Francois-Rene Rideau authored
This requires current trunk, i.e. future ABCL 1.2.0.
-
- Mar 28, 2013
-
-
Francois-Rene Rideau authored
Patch from Martin Simmons, fixes lp#1161497.
-
- Mar 27, 2013
-
-
Francois-Rene Rideau authored
-
Francois-Rene Rideau authored
CCL: add :purify to dump-image SBCL: have an rmdir that works on SBCL < 1.0.44.
-
- Mar 26, 2013
-
-
Francois-Rene Rideau authored
-
Francois-Rene Rideau authored
-
Francois-Rene Rideau authored
Useful for use with oprofile or perf.
-
- Mar 20, 2013
-
-
Francois-Rene Rideau authored
TODO: make sense of the CCL code base and how function names and arguments are actually computed or used.
-