Commit graph

1505 commits

Author SHA1 Message Date
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
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
6d8b0e7f62 compiler: expand-mapcar: issue error at runtime
and compiler warning during compilation.
2017-08-10 20:21:04 +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
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
b2a9100ee7 cosmetic: indent +cmp-module-files+ definition 2017-07-21 10:33:41 +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
6dc40c869c
Signal error on invalid constant type checking.
Side effet was SIGSEGV on compiled code.
2017-06-28 15:58:20 +02:00
Daniel Kochmański
bfc58c219e add missing function 2017-06-23 17:56:32 +02:00
Yuguo Zhang
52a232b2d1 adjust memory allocation functions in windows API ecl_get_commandline_args.
the caller and the callee maybe use difference compiler and settings.
2017-06-13 18:22:59 +08:00
Fabrizio Fabbri
390caa3e51
Revert "Revert "Merge branch 'develop' into 'develop'""
This reverts commit cf416f6fd4.
2017-06-03 12:57:17 +02:00
Daniel Kochmanski
cf416f6fd4 Revert "Merge branch 'develop' into 'develop'"
This reverts commit b75802f122, reversing
changes made to 5e3ccb1955.
2017-05-26 14:38:52 +02:00
Fabrizio Fabbri
95279fb15f
Code review on merge request !65 2017-05-19 19:34:19 +02:00
Fabrizio Fabbri
539b05a1a2
coverity fix Uninitialized pointer read 2017-05-16 22:43:08 +02:00
Fabrizio Fabbri
8617d61e64
fix coverity Uninitialized pointer read on env0 2017-05-16 22:06:04 +02:00
Daniel Kochmanski
72e422f1b3 cleanup: remove hierarchical packages interface
It didn't work for some cases and wasn't documented, so I'm removing
it. Freshly written tests are left in tests for someone, who would
like to reimplement them.
2017-05-13 18:06:26 +02:00
Daniel Kochmanski
1d8f4ff101 run-program-inner: return only output stream
Since we *always* wait until process ends, returning write descriptor
doesn't make much sense anymore. stream_read has also output from
stderr.
2017-05-12 22:16:22 +02:00
Daniel Kochmanski
8fcc85179f local package: separate internal interface from HL
we don't want variable number of arguments in core library
2017-05-02 10:03:12 +02:00
Daniel Kochmanski
e72951826c local package nicknames: add missing functions 2017-05-01 23:13:25 +02:00
Daniel Kochmanski
605077b2a6 cmp: revert progress->debug change
cmpdebug issues a debug-note condition, which may interfere with
catching warnings.
2017-04-28 12:31:27 +02:00
Daniel Kochmanski
de70b55ca7 cmp: remove bogus declaration 2017-04-28 12:24:55 +02:00
Daniel Kochmanski
fef041db05 cmp: cmp-env-register-macrolet: be specific wrt package
This macro is part of SI package, not CMP (probably for bootstrap
reasons).
2017-04-28 12:02:21 +02:00
Daniel Kochmanski
f55c0111a2 cmp: cleanup: remove bogus constant
+ecl-stack-frame-variable+ was used in just two places, and the same
string was used also elsewhere (not as this constant).
2017-04-28 11:51:29 +02:00
Daniel Kochmanski
15640a79e4 cmp: refactor: qualify package of *-prop interface
Usage was mixed, once it is si:put-sysprop, once just put-sysprop. Add
full package qualifiers to put-sysprop/get-sysprop/rem-sysprop.
2017-04-28 11:48:15 +02:00
Daniel Kochmanski
a22424c3db cmp: refactor: be explicit on declaring specials.
Remove unnecessary abstraction for that.
2017-04-28 11:43:09 +02:00
Daniel Kochmański
3f1a8c31b4 cmp: refactor: be explicit on some symbols
*compile-print* and *compile-verbose* are CL package symbols, be
 explicit about that when defining them.
2017-04-28 11:28:29 +02:00
Daniel Kochmański
153262c1cc cmp: refactor: cosmetic cmpopt-clos fixes 2017-04-28 11:24:47 +02:00
Daniel Kochmański
0cd581d08b cosmetic indent fix 2017-04-28 11:24:41 +02:00
Daniel Kochmanski
aa2a88160c cmp: don't be so chatty (2) 2017-04-28 11:23:49 +02:00
Daniel Kochmanski
6dfe30a26c cmp: don't be so chatty 2017-04-28 11:18:50 +02:00
Daniel Kochmański
68b15cde5b cmp: add a few c-local declarations 2017-04-28 11:15:21 +02:00
Daniel Kochmański
31871dc903 cmpcall: remove unused parts 2017-04-28 11:14:56 +02:00