Commit graph

5868 commits

Author SHA1 Message Date
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
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
Fabrizio Fabbri
5031b7de4d fix for #276 VirtualFree is invoked with wrong parameters.
- VirtualFree with MEM_RELEASE must be invoked with 0 size.
2016-08-19 09:29:00 -04:00
Daniel Kochmański
51fbe71818 dffi: make :default default convention, not :cdecl 2016-08-19 12:36:08 +02:00
Daniel Kochmański
93fb2bced2 cosmetic: add missing line break 2016-08-14 15:01:55 +02:00
Daniel Kochmański
0fbf2a4c44 tests: add some basic tests for ieee-fp 2016-08-12 09:32:07 +02:00
Daniel Kochmański
9874b6e53a ieee-floats: fix printing of NaN's
Add readable print if the feature :ieee-floating-point is present.
2016-08-12 08:48:36 +02:00
Daniel Kochmański
bc567e0c3f ieee-floats: fix printing
Do redundant type test in case we're calling it from somewhere else.
2016-08-12 08:28:43 +02:00
Daniel Kochmański
0ef98adbaa haiku port: autoreconf 2016-08-11 23:55:28 +02:00
Daniel Kochmański
c57fcd366c ieee-floats: improve api, fix ieee-float builds
This initializes CL infinite floats with a precomputed and casted
infinity from the appropriate C macro. This removes runtime 0/0
operations.
2016-08-11 23:44:38 +02:00
Daniel Kochmański
6f2795e4e5 cosmetic: new-doc: add comment 2016-08-11 22:53:12 +02:00
Daniel Kochmański
ed5ecd03eb ieee-floats: fix builds with --with-ieee-fp=no
Functions to print (nan,float)-to-string and and predicates are still
available, but ext:*-float-*-infinity aren't available if ECL is built
with option `--with-ieee-fp=no`.
2016-08-11 22:38:30 +02:00
Kacper Kasper
873be229d0 fix mkdir in configure
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2016-08-10 16:47:07 +02:00
Kacper Kasper
c951b72b2d Haiku support.
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2016-08-10 16:47:07 +02:00
Daniel Kochmański
020b3dcfeb new-doc: add some notes 2016-08-10 14:20:13 +02:00
Daniel Kochmański
7569359860 make-load-form: add random-state implementation 2016-08-10 13:55:06 +02:00
Daniel Kochmański
e1d11cddbd random-state: add ext:random-state-array function
This function will return random-state array. This is meant for next
commit which implements MAKE-LOAD-FORM for random-state objects.
2016-08-10 13:54:22 +02:00
Daniel Kochmański
ab2e5a3593 random-state: make-random-state accepts arrays
Type of the array is checked. The code has been moved from the `#$'
reader-macro simplifying its implementation.
2016-08-10 13:52:10 +02:00
Daniel Kochmański
c196d0f0e7 Merge branch 'improve-testing' into develop 2016-08-10 13:50:52 +02:00
Daniel Kochmański
59c078e576 tests: create make-check-suite
This suite doesn't have regressions/mp, which often fail to not disturb
the ordinary user. All regressions are in the ecl-tests suite.
2016-08-10 13:44:40 +02:00
Daniel Kochmański
d712e7eb12 tests: config.lsp: simplify file 2016-08-09 19:59:11 +02:00
Daniel Kochmański
5fababeb35 1am: add file 2016-08-09 19:48:23 +02:00
Daniel Kochmański
eb1b36dc04 tests: run full tests (regressions and features) 2016-08-09 19:35:24 +02:00
Daniel Kochmański
759854445c tests: add stress tests system using 1am 2016-08-09 19:34:44 +02:00
Daniel Kochmański
c544f92ca3 tests: cmp: random-state: add make-load-form test 2016-08-09 17:49:41 +02:00