Commit graph

6624 commits

Author SHA1 Message Date
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
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