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
Daniel Kochmański
e379d88c67
newdoc: source files in multitable
2016-10-06 09:31:13 +02:00
Daniel Kochmański
481e797732
holding-mutex-p: add feature test
2016-10-05 16:07:01 +02:00
Daniel Kochmański
f9ebf596f9
external.h: remove bogus entry
...
mp_interrupt_process is a valid name, by accident also
mp_process_interrupt has been added.
2016-10-05 15:45:59 +02:00
Daniel Kochmański
af62304798
newdoc: add multithreading draft
2016-10-05 15:45:26 +02:00
Daniel Kochmański
0badafcd35
multiprocessing: add predicate "mp:holding-lock-p"
...
This predicate returns T if lock is hold by the process and NIL if it is
hold by another process or is released.
2016-10-05 13:42:45 +02:00
Daniel Kochmański
1c2942d15d
configure: ensure pthreads_rwlock_t
2016-09-20 14:53:33 +02:00
Daniel Kochmański
ac756c87e6
cmp: cross-cc: add mingw32 to windows list
2016-09-20 14:52:40 +02:00
Daniel Kochmański
818051024a
Merge branch 'MatthewRock/ecl-deprecate-short-longflags' into develop
2016-09-20 13:57:58 +02:00
Daniel Kochmański
115661920a
refactor command arg parsing
2016-09-20 13:57:46 +02:00
Vadim Penzin
68962f1455
Make __ecl_inf and __ecl_nan static to prevent link-time conflicts
...
while building with Microsoft Visual Studio 2010.
2016-09-20 13:00:50 +03:00
MatthewRock
2208de9f8d
Deprecate one-dash longflags
2016-09-17 22:38:21 +02:00
Daniel Kochmański
11e35ea5b9
windows: gc: remove spurious define
...
Older bdwgc didn't export that symbol, so ECL patched that definition
for its own threaded needs. bdwgc has improved since then and our own
definition breaks CC builds. Fixes #288 .
See https://gitlab.com/embeddable-common-lisp/ecl/issues/288
2016-09-16 11:03:44 +02:00
Fabrizio Fabbri
1c452a9f1d
MSVC - avoid name clash on export libraries for program link. fix #287
2016-09-08 12:45:30 -04:00
Daniel Kochmański
1398fd381a
cleanup: purge clx
2016-09-07 14:58:50 +02:00
Daniel Kochmański
29ab40fde8
tests: bytecmp: be more bytecmp friendly
2016-09-07 14:58:50 +02:00
Elias Pipping
b8b9571410
Fix declaration of terminate-process
2016-09-07 09:20:07 +00:00
Daniel Kochmański
2c3f0e0127
Merge branch 'fix-haiku' into develop
2016-09-07 09:40:26 +02:00
Daniel Kochmański
a07d0d972c
Merge branch 'pipping/ecl-develop' into develop
2016-09-07 09:38:44 +02:00
Daniel Kochmański
0d3ef482cf
tests: add external process API suite
2016-09-07 09:36:21 +02:00
Daniel Kochmański
6ac9c2481a
tests: haiku doesn't have /usr
...
We could make it /dev though
2016-09-07 08:41:00 +02:00
Daniel Kochmański
8aa777416a
tests: be asdf 2.* friendly
...
Remove `:if-feature' in favour of #+/#-
2016-09-07 08:13:43 +02:00
Elias Pipping
ee0152431c
Implement ext:terminate-process
2016-09-06 19:58:39 +00:00
Daniel Kochmański
517bc6a014
configure: check for feenableexcept
2016-09-06 21:07:48 +02:00
Daniel Kochmański
33699e142f
numlib: trap-fpe on inf constant definitions
2016-09-06 18:27:18 +02:00
Daniel Kochmański
06347ae9d5
internal.h: include math.h
2016-09-06 18:03:01 +02:00
Daniel Kochmański
7544863af1
cosmetic: typo
2016-09-06 18:02:53 +02:00
Daniel Kochmański
09fe4d9364
si_{nan,infinity}: don't go through ecl_make_*
...
ecl_make_*_float performs FPE handling – we don't need it in this
case. We want this not being handled.
2016-09-06 18:01:25 +02:00
Daniel Kochmański
0f6793aab4
alloc_2: wrapped_finalizer: fix no-thread builds
2016-09-06 18:01:04 +02:00
Daniel Kochmański
5024c38e33
cosmetic: indent
2016-09-06 18:00:31 +02:00
Daniel Kochmański
21b30c8c1e
newdoc: add comment about the ext:*load-hooks*
2016-09-06 08:54:46 +02:00
Daniel Kochmański
05ecb5dfd0
load: if file doesn't have an extension try it
...
Until now ECL have tried to guess the file extension first, before
verifying if the file without the extension exists. First try loading
file without an extension, only after that try guessing. Fixes #284 .
2016-09-05 16:53:16 +02:00
Daniel Kochmański
326829fd58
ieee-fp: provide NAN/INFINITY definitions for VS
...
Visual Studio 2010 (_MSC_VER 1600) doesn't like 0.0/0.0 and alike. Add
conditionalized definition for this (non-C99) compiler. Fixes #282 .
Solution contributed by Vadim Penzin.
2016-09-02 09:35:13 +02:00
Daniel Kochmański
9ae08a5103
num_rand: put declaration above assignment
...
MSVC 2010 doesn't like mixing declarations and the rest of the
code. Fixes #283 (patch provided by Vadim Penzin).
2016-09-01 21:59:25 +02:00
Stas Boukarev
5f0beddf69
Better printing of method objects.
...
Print method qualifiers.
For specializers, print class names, not class objects, and print eql specializers.
(defmethod m :around (a b (c (eql "10"))))
was
#<standard-method M (#<BUILT-IN-CLASS T> #<BUILT-IN-CLASS T>
#<CLOS:EQL-SPECIALIZER>)>
becomes
#<standard-method M :AROUND (T T (EQL "10"))>
2016-08-30 21:37:24 +03:00
Fabrizio Fabbri
28a0f957fe
Use the project comment style.
2016-08-29 03:55:16 -04:00
Fabrizio Fabbri
8c18ba2348
Merge remote-tracking branch 'origin/develop' into develop
2016-08-23 15:40:47 -04:00
Fabrizio Fabbri
1e5e86c1d2
Fix on several minor issue on thread.
...
- fix #262 to manage CTRL+c on Win.
- unregistered thread are left registered and enviroment not cleanup.
- manage when a finalizer is invoked before a valid enviroment is available.
2016-08-23 15:28:23 -04:00