Commit graph

5927 commits

Author SHA1 Message Date
Daniel Kochmański
d3eb56ff9d libffi: invoke autoreconf. 2015-03-30 22:17:02 +02:00
Daniel Kochmański
cbe966ed03 libffi: fix autotools scripts to respect libdir and includedir
configure flags.
2015-03-30 22:15:32 +02:00
Daniel Kochmański
959e9aaf95 libffi: update included library to version 3.2.1. 2015-03-30 22:12:09 +02:00
Daniel Kochmański
ea6adc6aea pprint.lsp: remove unsupportet declare extension 'values' calls.
Closes #10.
2015-03-14 22:09:15 +01:00
Daniel Kochmański
6453e7aa42 loop2.lsp: ignore unused variable. Closes #14. 2015-03-14 22:05:46 +01:00
Daniel Kochmański
1e6c44a824 method.lsp: declare ignoring unused variable. Closes #12 (#11). 2015-03-14 22:02:52 +01:00
Daniel Kochmański
a7d5e1519d std-slot-value.lsp: declare ignoring unused variable. Closes #13. 2015-03-14 21:58:05 +01:00
Daniel Kochmański
f4dcab9203 loop2.lsp: declare ignoring 'env' in 'loop-body'. Closes #15. 2015-03-14 20:08:47 +01:00
Daniel Kochmański
36e80a3c66 kernel.lsp: Remove bogus ignore doc declaration. Closes #11. 2015-03-14 19:57:35 +01:00
Daniel Kochmański
8c0f44dd8b gitignore: ignore tgz archives. 2015-03-14 19:16:05 +01:00
Daniel Kochmański
de939e454f Merge branch 'master' into develop 2015-03-08 14:05:47 +01:00
Daniel Kochmański
a014bd2c23 Merge branch 'release-15.3.7' 2015-03-07 18:26:56 +01:00
Daniel Kochmański
4ff5921d7c symols_list2.h: build actualized this file after symbols_list.h 2015-03-07 18:25:33 +01:00
Daniel Kochmański
52ec7243d7 Release: bump version to 15.3.7. 2015-03-07 17:43:53 +01:00
Daniel Kochmański
4e1d62d13c cleanup: replace set with setf, since former is deprecated. 2015-03-06 20:29:56 +01:00
Daniel Kochmański
d8e0082d31 Merge branch 'develop' into 15.3.7-rc1 (bugfixes and trivial changes only). 2015-03-06 17:12:13 +01:00
Daniel Kochmański
518264369e sombols-list: fix bogus entry for ext::make-encoding in symbols_list.h.
Due to mistake, ext::make-encoding was pointing to si_make_encoding,
but si_make_encoding was calling ext::make-encoding, what caused
infinite recursion when building for windows, when codepage was
different then Latin-1.
2015-03-06 17:10:43 +01:00
Daniel Kochmański
7229cfefc9 compilator: fixes issue #3 (regression on package :lapack).
cmptype-arith.lsp: problem introduced in commit
c0b23555c6 which added empty &optional
clause and &allow-other-keys capability to typespec for values.

Problem was, that multiple &optional keywords in typespec it
considered error, while

'(VALUES &OPTIONAL T &OPTIONAL T)

should return as optional part, list (T &optional T) - even if it
looks weird.
2015-03-05 23:45:22 +01:00
Daniel Kochmański
63a0d656d9 gitignore: add src/config.log. 2015-03-02 09:04:39 +01:00
Daniel Kochmański
5d9e58f678 Release candidate: include RC in version. 2015-02-27 16:21:58 +01:00
Daniel Kochmański
9db31fd72d Release: bump version to 15.3.7. 2015-02-27 13:32:01 +01:00
Daniel Kochmański
0d97f64c60 cmpc-machine.lsp: --with-sse=yes build failure fix. Closes #301.
Typo in rewriting cmpc-machine in order to enable cross-compilation for ecl.
Related ticket: https://sourceforge.net/p/ecls/bugs/301/
2015-02-26 15:48:58 +01:00
Daniel Kochmański
cb24d0b7b0 top.lsp: remove unicode character from copyrights on top.lsp. 2015-02-25 22:04:24 +01:00
Daniel Kochmański
f499cf744f file.d: move variable declarations before body of functions.
This patch is necessary to compile ECL under MSVC (2008/2010) on
Windows platform.
2015-02-25 21:59:32 +01:00
evrimulu
18d46b200d Merge branch 'develop' of https://gitorious.org/embeddable-common-lisp/ecl into develop 2015-02-25 10:58:09 +09:00
Daniel Kochmański
4570e2192c seqlib: stable-sort: fix bogus optimization's in #'stable-sort.
This patch fixes bug #292, where #'stable-sort weren't sorting in
place strings, when provided with predicate #'char-greaterp. This was
due to optimization, where if sequence was of type string or
vector-bit function #'sort was called (which invoked #'quicksort),
while for the rest cases merge-sort is used.

Optimization is reduced to use quicksort only on vector-bit sequences.

See: http://sourceforge.net/p/ecls/bugs/292/
2015-02-24 13:36:18 +01:00
evrimulu
285850ae23 - Fix stack direction determining code in src/aclocal.m4
- update autoconf, autoreconf -ivf
2015-02-24 12:43:25 +09:00
evrimulu
1c18da9102 Upgrade to autoconf 2.69,
- fix AC_DEFINE's,
 - fix AC_DEFINE_QUOTED,
 - add autoreconf to bdwgc if its not already configures
   (this is the case for the latest)
 - add directory src/ecl
 - add file src/ecl/configpre.h generated by autoreconf.

Please run autoreconf -ivf next time if you wish to regenerate.
Maybe its better to switch to automake some time later.
-evrim.
2015-02-24 12:39:40 +09:00
Daniel Kochmański
642b4f9e71 Merge branch 'master' into develop 2015-02-23 10:27:51 +01:00
Daniel Kochmański
ee989b9776 Merge branch 'release-15.2.21' 2015-02-21 21:08:10 +01:00
Daniel Kochmański
8a8b3b1748 Merge branch 'release-15.2.21' into develop 2015-02-21 21:07:59 +01:00
Daniel Kochmański
040d643c50 Release: update ANNOUNCEMENT and update Copyrights. 2015-02-21 20:35:51 +01:00
Daniel Kochmański
62c4e540bb Release: bump version to current date. 2015-02-21 19:56:09 +01:00
Daniel Kochmański
25a4892635 Merge branch 'master' into develop 2015-02-21 19:52:01 +01:00
Daniel Kochmanski
ef741d4109 Merge branch 'bugfix-build-scripts' into develop 2015-02-01 19:20:53 +01:00
Daniel Kochmanski
57a1fd5f55 gmp: remove broken symlink src/gmp/compile to fix ctags generation.
src/gmp/compile is broken symlink (not needed for compilation), which
were breaking ctags generation. Removed it.

Signed-off-by: Daniel Kochmanski <dkochmanski@hellsgate.pl>
2015-02-01 14:42:47 +01:00
Daniel Kochmanski
c01ae0d629 configure: add -p option to mkdir.
If build failed at first time (ie due to wrong configure options),
second build was failing when trying to recreate some directories.

Signed-off-by: Daniel Kochmanski <dkochmanski@hellsgate.pl>
2015-02-01 13:13:22 +01:00
Daniel Kochmanski
eaf37d9435 Add CAS emulation for armel.
GCC has problems with detecting arm version, and libatomic_ops doesn't
build cleanly for armv5. This patch is taken from PKGBUILDs repository
of archlinuxarm distribution.

Signed-off-by: Daniel Kochmanski <dkochmanski@hellsgate.pl>
2015-01-31 17:04:58 +01:00
Nils Bruin
8a2d0c96e8 Patch to improve CLHS compliance of file-position
CLHS mandates that failure to determine or set the file position on a
stream should be signalled by returning NIL rather than raising an error.

Also, POSIX does not mandate that lseek fail on terminals, but these devices
obviously are not seekable. Hence, CLHS compliance is improved by explicitly
returning NIL when the requested stream is a tty.
2015-01-26 18:30:04 -08:00
Daniel Kochmanski
eb7bf95698 Merge branch 'ffi-unload-foreign-module' into develop 2015-01-19 20:08:39 +01:00
Daniel Kochmanski
45ebde8b39 ffi: implement si_unload_foreign_module.
Patch is necessary to implement this function in cffi - a few libraries
depends on this functionality, and until now it throws an error.

Signed-off-by: Daniel Kochmanski <dkochmanski@hellsgate.pl>
2015-01-18 13:57:20 +01:00
Arto Bendiken
e8dd76ffee Ignored the cov-int/ directory created by Coverity Scan tooling. 2014-10-15 14:55:35 +00:00
Arto Bendiken
03e4303ff8 Imported a model file for Coverity Scan to reduce false positives.
In general, any function declared with the 'ecl_attr_noreturn'
attribute might need to be defined to call __coverity_panic__() here.

See: https://scan.coverity.com/tune
2014-10-15 13:59:04 +00:00
Arto Bendiken
ba3d8d907d Corrected pathname buffer size handling in the dpp utility.
This resolves CID 66412 (Buffer not null terminated).
Note, however, that BUFSIZ should probably be PATH_MAX instead.
2014-10-14 22:13:59 +00:00
Arto Bendiken
e13c07bd4a Ensured that ecl_file_len() doesn't return a random value on error.
This partially addresses CID 66411 (Unchecked return value from library).
The call to fstat() should still probably have error checking added.
2014-10-14 22:04:30 +00:00
Arto Bendiken
8e714e3a55 Added a sanity check to the unreachable branch in expt_zero().
This resolves CID 66441 (Missing return statement).
2014-10-14 21:58:59 +00:00
Arto Bendiken
fa48714dd8 Fixed a NUL-termination bug in SOCKET-BIND and SOCKET-CONNECT.
The backslash in '\0' got lost on the way to the generated C file
(build/ext/sockets.c). There may be more of these issues elsewhere
in the code base.

This resolves CIDs 66405 and 66413 (Buffer not null terminated).
2014-10-14 21:39:58 +00:00
Arto Bendiken
633c3a5f63 Added a sanity check assertion for VV in ecl_init_module().
This addresses CID 66852 (Uninitialized pointer read).
2014-10-14 20:27:59 +00:00
Stas Boukarev
85165d989a Fix eql-specializer dispatch caching.
When the EQL specializer is a class it may clash with a class
specializer, since the class specializer is cached as a class object.
Use twice as much space for cache, the cache entry itself and a bit, 1
if it's an eql-specializer, 0 if it's a class specializer.

Fixes #295
2014-09-27 00:46:50 +04:00
Arto Bendiken
898a57818b Declared $ecldir and $docdir to be Autoconf precious variables.
This enables overriding them when configuring the build, e.g.:

    $ ./configure ecldir=/usr/local/lib/ecl \
                  docdir=/usr/local/share/doc/ecl
2014-09-23 14:07:41 +00:00