Commit graph

6652 commits

Author SHA1 Message Date
Daniel Kochmański
8df64c7dc7 CDR: implement cdr-14
Added CDR-1, CDR-5 and CDR-14 to *features*.

https://common-lisp.net/project/cdr/document/14/index.html
2016-11-05 19:08:15 +01:00
Daniel Kochmański
44178bd06c unixfsys.d: fix symlink buffer grow
We were verifying `written == size' to check if there is something more
to be read, but previously we did `size+=256', so this test was always a
failure.

Additionally we fix a bug (not reported anywhere) for symlinks which
have 128+256n characters – '/' for directories and '\0' in the end
wouldn't fit in this corner cases.

Related to #295.
2016-11-05 15:09:50 +01:00
Daniel Kochmański
1cfb5016d8 ieee: fix comparison of infinities with ratios and bignums
Fixes #299.
2016-11-04 21:07:58 +01:00
Daniel Kochmański
4fdaf22bc5 tests: #299 test – add invariants 2016-11-04 20:53:46 +01:00
Daniel Kochmański
5b203c7e83 tests: #299 rt no 2 (bignums variant) 2016-11-04 20:39:13 +01:00
Daniel Kochmański
fee98d837c tests: add regression test for #299 2016-11-04 20:19:56 +01:00
Daniel Kochmański
02efac0ce5 Fix --with-cxx builds 2016-11-04 19:53:21 +01:00
Daniel Kochmański
84924ca29d Be more `--with-cxx' friendly
Do explicit cast to `cl_env_ptr' from `(void *)' and don't use reserved
keyword `this'.
2016-11-04 18:48:25 +01:00
Daniel Kochmański
ad7a4a7321 buildsystem: fix make clean
Closes #300
2016-11-04 09:44:47 +01:00
Daniel Kochmański
9527e2eccf Makefile.in: be explicit with directories 2016-10-21 10:06:49 +02:00
Daniel Kochmański
b6352f4d37 configure: remove lsp/config.lsp indirection 2016-10-20 11:38:54 +02:00
Daniel Kochmański
19603d9ae7 makefile.in: remove -Werror 2016-10-10 09:55:28 +02:00
Daniel Kochmański
d07b9011e1 buildsystem: fix make uninstall 2016-10-09 12:46:02 +02:00
Daniel Kochmański
72d8e9603b cosmetic: indent comment 2016-10-09 10:56:24 +02:00
Daniel Kochmański
348e234dc4 makefile: hide ecl path under ECL variable 2016-10-09 10:40:21 +02:00
Daniel Kochmański
214b3b3a0c Makefile: fix CROSS-DPP references 2016-10-09 10:32:39 +02:00
Daniel Kochmański
86b934f581 windows: config.lsp 2016-10-09 08:28:13 +02:00
Daniel Kochmański
cec5a35a81 buldsystem: cleanup 2016-10-09 08:26:17 +02:00
Daniel Kochmański
09cdf272a2 build: remove c/-subdir recursive make 2016-10-08 23:04:10 +02:00
Daniel Kochmański
6b67cf5cad internal.h: fix ECL_RWLOCK conditionals
one part using ECL_RWLOCK-enabled features was only behind ECL_THREADS.
2016-10-08 20:50:45 +02:00
Daniel Kochmański
d9afb21775 tests: adjust paths 2016-10-08 20:50:35 +02:00
Daniel Kochmański
141eb6d763 cosmetic: rename LGPL->COPYING 2016-10-08 14:24:31 +02:00
Daniel Kochmański
3ba4dc8f5c changelog: update 2016-10-08 13:05:48 +02:00
Daniel Kochmański
1d8da4dd6e features: report cxx-core correctly 2016-10-08 13:03:24 +02:00
Daniel Kochmański
3f3af5275d buildsystem: configpre (wip) 2016-10-08 12:00:07 +02:00
Daniel Kochmański
bd497401ec make install: config.h doesn't get changed 2016-10-08 10:42:29 +02:00
Daniel Kochmański
473bcd6572 buildsystem: move ECL_IEEE_FP define to config.h 2016-10-08 10:08:47 +02:00
Daniel Kochmański
988e4755f4 makefile: remove redundant dep 2016-10-07 20:42:36 +02:00
Daniel Kochmański
25fe2cda34 gmp: if no --enable-gmp=x provided, assume auto 2016-10-07 20:23:22 +02:00
Daniel Kochmański
49e74a6243 changelog: update 2016-10-07 20:10:00 +02:00
Daniel Kochmański
3c21bb08cd buildsystem: deprecate a few options, unify gmp options 2016-10-07 18:29:03 +02:00
Daniel Kochmański
a1f3ae8d0e configure: remove deprecated --with-local-gmp 2016-10-07 16:07:42 +02:00
Daniel Kochmański
47ead335e9 makefile: remove unused (broken) target 2016-10-07 13:53:56 +02:00
Daniel Kochmański
2e6fd7e449 buildsystem: split config.h into config.h and config-internal.h
Part of config.h was removed during the installation, we split config.h
so that part is in a separate file.

Additionally we add ECL_BUILD define during ECL build phase, so we can
distinguish whenever we build ECL or use it normally (because ecl.h has
to include config-internal.h at the build time).
2016-10-07 12:49:55 +02:00
Daniel Kochmański
8f5d92f59a buildsystem: remove spurious target 2016-10-07 10:25:24 +02:00
Daniel Kochmański
ca15938fe5 buildsystem: be very restrictive when building
We don't error on shift-count-overflow, because file offsets may be
bigger than fixnums and coercion to bignum relies on such
overflows. This is something what probably can be fixed.
2016-10-06 14:16:10 +02:00
Daniel Kochmański
f0ced27e0c makefile: add comment 2016-10-06 14:15:40 +02:00
Daniel Kochmański
1f2baae183 fix noreturn of si_signal_simple_error 2016-10-06 13:07:16 +02:00
Daniel Kochmański
fe0453fc08 explicitly cast original in queue.d
original is declared as volatile, but pthread_* discards this
qualifier. Do explicit cast to get rid of warning.
2016-10-06 12:59:13 +02:00
Daniel Kochmański
fb72db4ed2 serialize: fix t_bytecodes code serialization 2016-10-06 12:56:54 +02:00
Daniel Kochmański
9f1de81a37 ecl_make_stream_from_fd: argument order was incorrect 2016-10-06 12:50:02 +02:00
Daniel Kochmański
ef665f0faf cosmetic: line wrap 2016-10-06 12:26:51 +02:00
Daniel Kochmański
b414d3fc4a execv* in run-program: cast argv_ptr to (char **) 2016-10-06 12:26:12 +02:00
Daniel Kochmański
286714261d GC_call_with_alloc_lock: cast functions to GC_fn_type 2016-10-06 12:23:48 +02:00
Daniel Kochmański
2f89642227 fix noreturn attributes
Some functions doesn't return, declare them so (GCC complaints).
2016-10-06 12:21:26 +02:00
Daniel Kochmański
429a99a2c4 fix declaration of not_a_file_stream
not_a_file_stream function is noreturn, so it doesn't matter what type
for return is declared, but is used often in a context, where declared
function returns cl_object. Make it happen to get rid of unnecessary
warnings.
2016-10-06 11:43:21 +02:00
Daniel Kochmański
9f77e2a9ab explicitly cast rec in ecl_ihs_push
Cast rec argument to `(ecl_ihs_ptr const)' explicitly, because compiler
was warning, that "assignment discards 'volatile' qualifier from pointer
target type". This cast is basically "I know, proceed" message for the
compiler.
2016-10-06 11:35:47 +02:00
Daniel Kochmański
49d441dfd6 newdoc: mp ref gains its own file 2016-10-06 09:49:38 +02:00
Daniel Kochmański
a40c7d0812 newdoc: stylistic, doc split etc 2016-10-06 09:49:19 +02:00
Daniel Kochmański
c8505828e8 newdoc: fix deftypefun type 2016-10-06 09:35:57 +02:00