Daniel Kochmanski
e329d5bb49
tests: fix test for non-thread builds
2017-10-09 09:47:50 +02:00
Daniel Kochmanski
b00b15b078
external-process: use locks only when threads are enabled
2017-10-09 09:38:26 +02:00
Daniel Kochmanski
3d7f68445b
changelog: add run-program changes
2017-10-09 09:36:05 +02:00
Daniel Kochmanski
3c4e374feb
tests: run-program: enable tests for virtual streams
2017-10-09 09:36:02 +02:00
Daniel Kochmanski
3043dac56b
ext:run-program: implement virtual streams for input/output/error
2017-10-09 09:35:59 +02:00
Daniel Kochmanski
2a98ce10fe
core: si:copy-stream has three arguments
...
argument `wait' denots, whenever we wait for EOF or yield when there
is no input available in the first stream.
2017-10-09 09:35:54 +02:00
Daniel Kochmanski
7cad2c8e7d
types: introduce ext:virtual-stream type
...
This type applies to all streams which doesn't have a
descriptor (gray:fundamental-stream and string-stream for now).
2017-10-08 20:21:49 +02:00
Daniel Kochmański
fb90d28ab5
Merge branch 'develop' into 'develop'
...
doc typos (building.txi)
See merge request embeddable-common-lisp/ecl!94
2017-10-03 05:05:50 +00:00
vindarel
32fbbd69a4
doc typos (building.txi)
2017-10-02 06:21:53 +00:00
Daniel Kochmanski
d02ec85d24
ffi: void functions return no values
2017-09-30 20:34:08 +02:00
Daniel Kochmanski
4915f8bc33
bump asdf
2017-09-30 16:07:10 +02:00
Daniel Kochmanski
fe392867c3
consistency: defcallback always returns just pointer, not a list
...
Fixes #223 .
2017-09-30 12:23:57 +02:00
Daniel Kochmanski
6baadf2a06
ext:run-program: handle diligently nil as stream argument
2017-09-30 11:53:39 +02:00
Daniel Kochmanski
270450a660
asdf: update to version 3.1.8.7
...
This version fixes mal-handling of :if-feature clauses which correct
loading of systems using it.
2017-09-30 11:12:29 +02:00
Daniel Kochmanski
54f7f9c424
sb-bsd-sockets: socket-receive: add default element-type
2017-09-30 11:12:00 +02:00
Daniel Kochmanski
35e5e14915
changelog: add last changes
2017-09-29 21:11:52 +02:00
Daniel Kochmanski
f30d156f58
cosmetic: unwrap line
2017-09-29 21:11:28 +02:00
Daniel Kochmanski
c67f769af7
remove trash file
2017-09-29 20:07:47 +02:00
Daniel Kochmanski
d445963784
run-program: gray-stream: small refactor
2017-09-29 19:10:36 +02:00
Daniel Kochmanski
3da53b617e
cosmetic: don't use accessors for just-set slots
2017-09-29 18:36:14 +02:00
Daniel Kochmanski
21147a42c7
ext:run-program: coerce stream arguments gray-stream -> :stream
...
prelminary step to handle gray-streams.
2017-09-29 18:12:48 +02:00
Daniel Kochmanski
95c2f0f8e9
typep: add regression test for fundamental-streams and typep
2017-09-29 16:25:26 +02:00
Daniel Kochmanski
c41407fbea
predlib: fundamental-stream is not subtype of ansi-stream
2017-09-29 16:20:39 +02:00
Daniel Kochmanski
b13abe0cd7
cosmetic: run-program: use plusp predicate instead of (< 0 arg)
2017-09-29 12:13:10 +02:00
Daniel Kochmański
abdd5f3b5d
Merge branch 'develop' into 'develop'
...
make potential_number_p thread-safe
Closes #406
See merge request embeddable-common-lisp/ecl!93
2017-09-28 16:21:10 +00:00
Marius Gerbershagen
82dbd0ea1f
make potential_number_p thread-safe. Closes #406
2017-09-24 19:03:38 +02:00
Daniel Kochmański
2877ffde65
Merge branch 'fix-memory-corruption' into 'develop'
...
Use bdwgc macros to allow memory debug.
See merge request embeddable-common-lisp/ecl!92
2017-09-19 14:02:08 +00:00
Daniel Kochmański
cb244bfad9
Merge branch 'develop' into 'develop'
...
Fix segmentation faults when interrupting a thread while it is exiting
See merge request embeddable-common-lisp/ecl!91
2017-09-19 13:59:18 +00:00
Daniel Kochmański
0e21004a4f
Merge branch 'develop' into 'develop'
...
Fix #402 multiple-values are not returned (reverted)
Closes #402
See merge request embeddable-common-lisp/ecl!90
2017-09-19 13:55:42 +00:00
Fabrizio Fabbri
bc522801a9
Use bdwgc macros to allow memory debug.
2017-09-19 00:23:47 -04:00
Fabrizio Fabbri
f0d09de88e
Fix #402 multiple-values are not returned (reverted)
...
Reintroduce fix for additional coverity warnings.
2017-09-19 00:16:06 -04:00
Marius Gerbershagen
7365d59407
cosmetic: use ECL_WITH_SPINLOCK_BEGIN/END instead of manual calls to ecl_giveup_spinlock
2017-09-15 18:15:09 +02:00
Daniel Kochmański
f4feda8a9f
suposedly a fix for incompat ctags
2017-09-14 17:09:31 +02:00
Daniel Kochmański
9be3ffcce4
cleanup: fix autoscripts (defsystem, feennableexcept)
2017-09-14 16:11:00 +02:00
Marius Gerbershagen
8c2748da17
fix segmentation faults when interrupting a thread while it is exiting
...
When mp_process_interrupt and thread_cleanup are called at the same
time, it is possible that the thread-local environment is deallocated
while ecl_interrupt_process tries to use it. This two methods thus
need to be protected with a lock.
2017-09-13 18:51:44 +02:00
Daniel Kochmański
db5a55c820
Merge branch 'fix-the-incf' into 'develop'
...
Fix INCF on a THE variable
Closes #401
See merge request !89
2017-09-10 06:20:19 +00:00
Florian Margaine
09899a3e15
Fix INCF on a THE variable.
...
The following code:
(let ((foo 0))
(incf (the fixnum foo) (bar)))
was being expanded into:
(let ((foo 0))
(LET* ((#:G133 (BAR)) (#:G132 (THE FIXNUM (+ (THE FIXNUM FOO) (BAR)))))
(DECLARE (:READ-ONLY #:G133))
(SETQ FOO (THE FIXNUM #:G132))))
Which is obviously going to call (BAR) twice. If (BAR) has
side-effects, then it is going to be buggy.
The old define-modify-macro had an issue with out-of-order INCF/DECF,
which is why it was replaced with Bruno Haible's macro, which is
supposed to improve THE handling. It turns out that the improvement is
a bit broken, so we're just fixing this.
Fixes #401 .
2017-09-08 11:57:07 +02:00
Daniel Kochmański
5ea8972421
Merge branch 'develop' into 'develop'
...
texinfo - a bunch of documentation work
See merge request !88
2017-09-06 12:42:02 +00:00
Tomek Kurcz
b985ef658f
texinfo: Port Compiler from the old documentation
2017-09-06 14:14:29 +02:00
Tomek Kurcz
24e3407010
texinfo: Add C/C++ and CL indexes
2017-09-06 13:37:56 +02:00
Tomek Kurcz
8798b4c209
texinfo: @deffn Macro -> @defmac for consistency
2017-09-06 09:39:49 +02:00
Tomek Kurcz
f84b8c8287
texinfo: Data and Control Flow - improve appearance
2017-09-06 08:29:07 +02:00
Tomek Kurcz
c629300090
texinfo: Use @bibcite{ANSI} rather than @xref{Bibliography}
2017-09-06 08:20:13 +02:00
Daniel Kochmanski
6c9772958d
cosmetic: change quote character
2017-09-05 22:01:50 +02:00
Daniel Kochmanski
79ac916768
environ: add information to changelog
2017-09-05 22:01:35 +02:00
Daniel Kochmanski
fff97049ff
environ: add regression tests
...
Fixes #298 .
2017-09-05 20:35:44 +02:00
Daniel Kochmanski
7db4543051
environ: accept empty list as nil environment
...
To inherit current process environemnt, user has to pass `:default' as
environ (what is a default value).
2017-09-05 20:17:39 +02:00
Daniel Kochmanski
e7876023c8
cosmetic: add dot to the end of message
2017-09-05 20:16:22 +02:00
Tomek Kurcz
aed01d33fb
texinfo: Port Embedding from the old documentation
2017-09-05 15:00:45 +02:00
Tomek Kurcz
6ab4320d84
texinfo: Update status.org
2017-09-05 14:11:06 +02:00