Commit graph

6594 commits

Author SHA1 Message Date
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
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
Daniel Kochmański
815f6f07ae Merge branch 'develop' into 'develop'
fix #262 and some minor issue on thread



See merge request !31
2016-08-29 08:06:20 +00: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
Daniel Kochmański
77a5583cde Merge branch 'develop' into 'develop'
Fix for #276



See merge request !30
2016-08-19 14:02:55 +00:00
Fabrizio Fabbri
e8879b0f06 Merge remote-tracking branch 'gitlab/develop' into develop 2016-08-19 09:32:19 -04:00