Daniel Kochmanski
ee059366db
expand-vector-push: simplify error condition
...
assert, that function takes 2 up to 3 (if extended) arguments.
2017-08-10 20:58:37 +02:00
Daniel Kochmanski
bf310ef23a
expand-vector-push: further reduce complexity
...
use return-from for catching forms of illegal number of arguments.
2017-08-10 20:55:11 +02:00
Daniel Kochmanski
8293fb6eb4
expand-vector-push: reduce complexity (one nesting level less)
...
catch the infinite recursion and do return-form instead of setting
`whole'.
2017-08-10 20:44:35 +02:00
Daniel Kochmanski
7320c9049c
mapcar-expand: fix-typo
2017-08-10 20:32:02 +02:00
Daniel Kochmanski
c2af9fe775
cmp: refactor: expand-vector-push: get rid of one nesting level
2017-08-10 20:23:30 +02:00
Daniel Kochmanski
45d5176c0e
tests: add test for expansions of mapcar and vector-push
2017-08-10 20:22:12 +02:00
Daniel Kochmanski
6d8b0e7f62
compiler: expand-mapcar: issue error at runtime
...
and compiler warning during compilation.
2017-08-10 20:21:04 +02:00
Daniel Kochmanski
085ccd675c
Merge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into develop
2017-08-10 19:29:19 +02:00
Daniel Kochmanski
beefd56f56
tests: add test for artificial fpe
2017-08-10 19:28:33 +02:00
Daniel Kochmanski
e0fd6ab22c
tests: fix tests for vector-push
2017-08-10 19:28:20 +02:00
Yuguo Zhang
4a3418502c
minor MSVC version modifications
...
due to C99 compilance, you need msvc 2013 at least to build ECL.
2017-08-08 13:14:15 +08:00
Daniel Kochmanski
612eeb5ed1
makefile.in: fix libecl flags expansion
...
Closes #398 . Patch provided by Mark Cox.
2017-08-02 22:18:23 +02:00
Daniel Kochmanski
0aec77cbc8
new-doc: update building chapter (stylistic fixes, match to examples/)
2017-07-30 14:08:55 +02:00
Daniel Kochmanski
0beac2ffd6
newdoc: update documentation to take into account init-name to make-build
2017-07-21 22:11:58 +02:00
Daniel Kochmanski
d8552498af
builder: wrapper: be more explicit with warnings
...
Add warning that init-name will be ignored for other entities than libraries.
2017-07-21 21:20:48 +02:00
Daniel Kochmanski
bdd17142fb
cosmetic: line wrap
2017-07-21 19:34:01 +02:00
Daniel Kochmanski
b15afe097c
builder: wrapper: don't output unnecessary code when non needed
2017-07-21 19:33:45 +02:00
Daniel Kochmanski
5a50195666
builder: don't create wrapper when same as init-name
2017-07-21 19:33:27 +02:00
Daniel Kochmanski
7f13cc7e48
cleanup: cmp: compute-init-name: get rid of wrapping code
...
code simplification.
2017-07-21 18:15:28 +02:00
Daniel Kochmanski
5836dc8bec
cmp: builder: warn ASDF that it does the wrong thing.
...
It shouldn't call compute-init-name.
2017-07-21 18:11:55 +02:00
Daniel Kochmanski
b4a83d2955
cmp: make init function name always unique
...
Add wrapper separately.
2017-07-21 18:11:13 +02:00
Daniel Kochmanski
d1be9436aa
cosmetic: add informative comments
2017-07-21 18:10:03 +02:00
Daniel Kochmanski
9061653116
cosmetic: remove gross aux
2017-07-21 17:24:21 +02:00
Daniel Kochmanski
17e4c5de65
cosmetic: don't leave empty line
2017-07-21 17:23:30 +02:00
Daniel Kochmanski
cffe43f9ae
normalize-build-target-name: normalize :fasb
2017-07-21 17:21:39 +02:00
Daniel Kochmanski
cc61a627c2
cosmetic: improve C source comment
2017-07-21 16:32:39 +02:00
Daniel Kochmanski
c6b2fb658e
tests: add regression test for run-program
...
Dummy one checking if external-process-status simply finishes.
2017-07-21 15:39:43 +02:00
Daniel Kochmanski
2d88ee6ce1
external-process-status: fix sloppily-coded passage
2017-07-21 15:32:21 +02:00
Daniel Kochmanski
898acea837
compiler.lsp.in: be explicit about lsp library init functio name
2017-07-21 13:13:17 +02:00
Daniel Kochmanski
bf92eca693
contribs: defsystem: disable by default
2017-07-21 12:22:55 +02:00
Daniel Kochmanski
78fc83e4c9
cmpmain: remove unused variable
2017-07-21 12:04:30 +02:00
Daniel Kochmanski
f42cb506e0
cleanup: fix invalid invocation
2017-07-21 11:38:45 +02:00
Daniel Kochmanski
4d4b01b585
cmp: safe-run-program: refactor to print output on error
2017-07-21 10:48:44 +02:00
Daniel Kochmanski
a15cf408c3
cmp: collect-lines: move function to cmputil
...
cmputil is moved higher in the dependency tree
2017-07-21 10:45:13 +02:00
Daniel Kochmanski
1dd6870cd5
cleanup: signal error if pipe couldn't be created
2017-07-21 10:41:26 +02:00
Daniel Kochmanski
b2a9100ee7
cosmetic: indent +cmp-module-files+ definition
2017-07-21 10:33:41 +02:00
Daniel Kochmanski
00bfed0386
cleanup: remove unused variable
2017-07-21 10:14:23 +02:00
Fabrizio Fabbri
088972cace
cmp: check types on coerce-to-vector
2017-07-08 09:26:09 +02:00
Fabrizio Fabbri
604c87126d
cmp: #353 fix vector-push vector-push-extend
...
When call those function with invalid argument
number the generated code instead of signal
a programming error does SIGSEGV
2017-07-06 10:44:34 +02:00
Fabrizio Fabbri
cc442ac9cd
Compiled assoc does not check arguments
2017-07-04 04:59:37 +02:00
Daniel Kochmański
243646104b
cosmetic: remove unused macro
2017-07-02 23:12:12 +02:00
Daniel Kochmański
b1462dcb65
cosmetic: remove extra newline
2017-07-02 23:05:21 +02:00
Daniel Kochmański
c999b56ab5
tests: add regression test for #233 .
2017-07-02 23:04:25 +02:00
Daniel Kochmański
cc332a6c3f
tests: with-compiler: add todo
2017-07-02 23:03:43 +02:00
Daniel Kochmański
aeaa3017bc
tests: fix multiple evaluation of forms
2017-07-02 23:03:29 +02:00
Daniel Kochmański
9735057bc3
stacks: don't call si_set_finalizer
...
si_set_finalizer is CL-world function and returns 0 values. That means
in particular, that env->nvalues is changed.
In this situation, when new binding was introduced, we could lose our
nvalues, what lead to invalid multiple-value-bind (next commit will
contain a regression test).
We use unprotected version. If interrupts cause problems with it, we
may need to wrap it in disable_interrupts. Threading code uses
ecl_set_finalizer_unprotected without such wrapping though, so I
believe that should be safe.
Fixes #233 .
2017-07-02 22:35:37 +02:00
Daniel Kochmański
355d15db3a
add legacy definition for FEprogram_error_noreturn
2017-07-01 12:57:15 +02:00
Daniel Kochmański
0828b1f48a
equalp: don't compare clos instance slots
...
Problem identified and fixed by Marius Gerbershagen. Closes #391 .
2017-06-30 20:19:51 +02:00
Daniel Kochmański
927178d2e4
cosmetic: add doc stub
2017-06-30 20:16:21 +02:00
Kris Katterjohn
91bf0c4998
Fix typo in error message: ist -> is
2017-06-29 17:29:18 -05:00