Commit graph

6697 commits

Author SHA1 Message Date
Daniel Kochmański
77cebaef4a tests: don't ruin run-program return values output 2016-11-19 22:03:36 +01:00
Daniel Kochmański
2c3ccd8444 typo: misplaced comment 2016-11-19 16:19:38 +01:00
Daniel Kochmański
b011eff24a tests: add regression test for #43 2016-11-19 16:19:14 +01:00
Daniel Kochmański
6880e45761 cmuutil: improve file and export macros
Add docstrings and export ONCE-ONLY and COLLECT. Also export alias for
WITH-UNIQUE-NAMES named WITH-GENSYMS.

COLLECT and ONCE-ONLY accept now bare symbols (as a syntactic sugar).
2016-11-19 16:02:31 +01:00
Daniel Kochmański
53e2f6807a correct typo 2016-11-19 11:45:34 +01:00
Daniel Kochmański
177e661ff0 Get rid of a warning (cast pointer to integer) 2016-11-19 11:19:05 +01:00
Daniel Kochmański
0b1106d8fa explain shift-count-overflow warning during the compilation
Do it in comment. This may be probably fixed with a preprocessor, but
it's not that obvious – we need off_t number of bits available at the
compilation time and compare it to FIXNUM bits.
2016-11-19 11:03:49 +01:00
Daniel Kochmański
6892db8849 asdf: bump asdf to 3.1.7.35 development version 2016-11-19 10:29:59 +01:00
Daniel Kochmański
7d8f7cdc76 add _ecl_unexpected_return(); to noreturn funs 2016-11-18 14:58:31 +01:00
Daniel Kochmański
dd5a189a9d si_nan: return correct value (typo) 2016-11-18 14:58:15 +01:00
Daniel Kochmański
f70f46a1b7 si_nan: return value (bugfix) 2016-11-18 14:50:56 +01:00
Daniel Kochmański
6b07439dfe ieee-fp: remove si_infinity
Our "new" way of defining infinity constants breaks on ARM. Remove
unnecessary functions.

IEEE-FP are a nightmare (honestly).
2016-11-18 13:48:22 +01:00
Daniel Kochmański
503cf170c7 comsetic: typo 2016-11-17 23:04:38 +01:00
Daniel Kochmański
c1f485cc31 Simplify mp lambda lists
Remove redundant keyword-name specification from make-locks recursive
and remove dummy &key from barrier-wait (potentially not backward
compatible with C code).
2016-11-17 23:00:17 +01:00
Daniel Kochmański
085fee3d3b Simplify tests structure
Also "make check" accepts TESTS argument for test suite. For instance:

make check TESTS=ffi

will run FFI tests suite.
2016-11-17 22:35:37 +01:00
Daniel Kochmański
c2fb4fdded Add ecl_min target in toplevel Makefile 2016-11-17 20:00:29 +01:00
Daniel Kochmański
098fdd6585 Add `uname' exception for mingw
This is important for cross-compilation, because when the host is
Linux, then Windows is not in the features during compilation.
2016-11-14 16:17:58 +01:00
Daniel Kochmański
1b7c839d70 Move package-locks interface to contrib/ 2016-11-11 09:30:50 +01:00
Daniel Kochmański
bfd857374f newdoc: document native threads 2016-11-10 21:46:40 +01:00
Daniel Kochmański
4f14b3346c Improve changelog 2016-11-10 19:47:04 +01:00
Daniel Kochmański
a95e33b9e0 newdoc: mp: improve documentation 2016-11-10 19:43:28 +01:00
Daniel Kochmański
c1067620a7 Improve rwlock built-in class recognition
Fixes #303.
2016-11-10 19:42:52 +01:00
Daniel Kochmański
989611262c tests: add regression test for rwlock bug #303 2016-11-10 19:42:02 +01:00
Daniel Kochmański
bf3e59c2a3 newdoc: mp: improve documentation (cv) 2016-11-10 17:55:53 +01:00
Daniel Kochmański
cb8d454fae newdoc: document without/with-interrupts 2016-11-10 14:41:03 +01:00
Daniel Kochmański
3d76084b5a newdoc: improve process doc (blocking) 2016-11-10 14:30:13 +01:00
Daniel Kochmański
13602e77bf newdoc: move process reference to a separate file 2016-11-10 14:16:54 +01:00
Daniel Kochmański
ab09d3d91e newdoc: implement native threads process interface 2016-11-10 14:14:24 +01:00
Daniel Kochmański
a389422506 newdoc: add defpackage `:lock' example to index 2016-11-10 14:13:58 +01:00
Daniel Kochmański
2ba48801b6 newdoc: add a few index entries 2016-11-09 21:46:21 +01:00
Daniel Kochmański
adbbcde3a8 compat: be more compatible with sbcl 2016-11-09 21:43:48 +01:00
Daniel Kochmański
14306cba69 package locks: add :lock option to defpackage 2016-11-09 21:43:33 +01:00
Daniel Kochmański
6e9371aa2a newdoc: package locks: add documentation 2016-11-09 21:43:11 +01:00
Daniel Kochmański
2f2abc7129 Fix cdr-7 regression test 2016-11-09 18:08:11 +01:00
Daniel Kochmański
338be8b488 Add test suite for new interface 2016-11-09 18:07:55 +01:00
Daniel Kochmański
36b1b1d3cc add package-locks abstraction
We follow the protocol proposed by SBCL.
2016-11-09 16:44:51 +01:00
Daniel Kochmański
861b286f40 don't declare signal-simple-error as noreturn (2)
This function is used to implement continuable-error for packages (and
probably more).
2016-11-09 16:12:43 +01:00
Daniel Kochmański
c5f120ad6e don't declare signal-simple-error as noreturn
This function is used to implement continuable-error for packages (and
probably more).
2016-11-09 15:46:08 +01:00
Daniel Kochmanski
a60d480c83 msvc: improve makefile 2016-11-09 10:18:25 +01:00
Daniel Kochmanski
d9fe34b8e7 msvc: add nmake build files to .gitignore 2016-11-09 10:15:56 +01:00
Daniel Kochmanski
0f7bee221d windows: fix nmake to have config-internal 2016-11-09 09:54:33 +01:00
Daniel Kochmański
0f35d755bd Add regression tests for cdr-7 2016-11-05 21:28:53 +01:00
Daniel Kochmański
ff00f80ace Implement CDR 7: Clarification Proposal for CLHS Section 22.3
(The second case)
2016-11-05 21:12:50 +01:00
Daniel Kochmański
17f8b1f81d format: fix trailing commas according to cdr-11
CLHS section 22.3 is underspecified, follow clarification proposed by
Didier Verna. This is partial fix (only trailing comma).
2016-11-05 20:47:27 +01:00
Daniel Kochmański
ae91b43981 cosmetic: fix header 2016-11-05 19:12:23 +01:00
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