Commit graph

6610 commits

Author SHA1 Message Date
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
8a4e2ed6da cosmetic: remove comma in changelog 2016-10-05 16:31:47 +02:00
Daniel Kochmański
23366d4fbd update changelog
Closes #200.
2016-10-05 16:08:59 +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
8cd2e19747 manual: document new function
also add documentation for undocumented function
2016-10-05 13:51:36 +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
69a28761d9 examples: fix threads example
Do not include `gc.h' in the example (only ecl/ecl.h). Things work as
expected whatsoever and we don't put gc.h anywhere for quite a
while. Fixes #136.

Also replace obsolete Cnil with ECL_NIL.
2016-10-05 12:40:27 +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
67e902c341 cosmetic: improve changelog 2016-09-20 13:58:57 +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
Daniel Kochmański
987fafe24d Merge branch 'develop' into 'develop'
Make __ecl_inf and __ecl_nan static to prevent link-time conflicts while building with Microsoft Visual Studio 2010.

See https://gitlab.com/embeddable-common-lisp/ecl/issues/282#note_15746586

See merge request !39
2016-09-20 10:09:37 +00: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
c19c982090 Update changelog 2016-09-17 23:06:57 +02:00
MatthewRock
bd9c88b440 Merge branch 'develop' into deprecate-short-longflags 2016-09-17 23:01:52 +02:00
MatthewRock
2d8e7d6dbe Merge branch 'MatthewRock/ecl-deprecate-short-longflags' into develop 2016-09-17 22:50:27 +02:00
MatthewRock
2208de9f8d Deprecate one-dash longflags 2016-09-17 22:38:21 +02:00
MatthewRock
d9b61718b9 Deprecate one-dash longflags 2016-09-17 22:21:46 +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
Daniel Kochmański
ca7f51078f Merge branch 'develop' into 'develop'
MSVC - avoid name clash on export libraries for program link. fix #287

This will generate export lib for executable with "prog" prefix. In that way the CL compiler will not complain.

See merge request !36
2016-09-12 20:30:50 +00: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
a047d5c938 Merge branch 'develop' into 'develop'
msvc 2015 - client will break if integer types are redefined on this compiler.



See merge request !35
2016-09-07 15:24:54 +00:00
Fabrizio Fabbri
3ff0b11f7b msvc 2015 - client will break if integer types are redefined on this compiler. 2016-09-07 11:18:56 -04:00
Daniel Kochmański
7a8f1b4a7a contribs: update asdf to version 3.1.7
Fixes #243.
2016-09-07 16:24:44 +02:00
Daniel Kochmański
08cc2350b9 changelog: update 2016-09-07 14:58:50 +02: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
Daniel Kochmański
93a2f19d4c Merge branch 'develop' into 'develop'
Fix declaration of terminate-process

This fixes up after !33.

The function `terminate-process` was behaving correctly from a REPL but could not be compiled.

See merge request !34
2016-09-07 09:23:18 +00:00
Elias Pipping
b8b9571410 Fix declaration of terminate-process 2016-09-07 09:20:07 +00:00
Daniel Kochmański
3d1300f65a changelog: improve info 2016-09-07 09:43:07 +02: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
e640ef1c2b haiku: define ESOCKTNOSUPPORT to ENOTSUP
Haiku lacks some parts of POSIX API. Workaround to make sockets work.
2016-09-06 21:55:56 +02: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