Commit graph

5915 commits

Author SHA1 Message Date
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
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
Arto Bendiken
7eb2d3bdca Suppressed a spurious -Wsometimes-uninitialized build warning.
See: https://sourceforge.net/p/ecls/bugs/293/
2014-09-22 21:29:20 +00:00
Arto Bendiken
2653c0915d Corrected the help text for the --enable-threads feature.
See: https://sourceforge.net/p/ecls/patches/33/
2014-09-22 12:54:04 +00:00
Daniel Kochmański
fa6a345055 c/Makefile.in: fixed multiple-job build of ecl.
make -jX was failing due to unresolved dependencies to dpp.

See: https://sourceforge.net/p/ecls/patches/37/
Signed-off-by: Arto Bendiken <arto@bendiken.net>
2014-09-22 12:40:37 +00:00
Matthew Stickney
76a84246b0 Fix si:bind-simple-handlers.
Call the right local function, SIMPLE-RESTART-FUNCTION not
SIMPLE-HANDLER-FUNCTION.
2014-08-20 18:11:28 +04:00
Stas Boukarev
f67bbd42bc COERCE: report the original type in case of errors.
The expanded type isn't really helpful.
2014-07-13 01:50:14 +04:00
Stas Boukarev
6929a33f38 Fix a typo in coerce.
VECTOR => VECTORP.

Reported by Chris Schafmeister.
2014-07-13 01:38:24 +04:00
Stas Boukarev
d9e3be4605 Update ASDF to 3.1.2. 2014-06-12 03:18:06 +04:00
Philipp Marek
997412481c Add two "t_string" cases, as the reader now always returns STRINGs.
See http://article.gmane.org/gmane.lisp.ecl.general/10410 for a discussion.
2014-05-04 20:46:14 +02:00
Philipp Marek
e6ad5fa90e Add the code-walker back to ECL.
This makes eg. WALKER:MACROEXPAND-ALL available again.
2014-04-28 07:51:27 +02:00
Philipp Marek
34253898c7 Not only BASE-STRINGs but STRINGs may be package-specifiers, too.
Needed because quoted strings are read now always read as STRING.
2014-04-28 07:42:06 +02:00
Philipp Marek
4cb3d7c17b double_quote_reader(): Reference the discussion on ecls-list. 2014-04-27 10:54:30 +02:00
Philipp Marek
d2aa6f957e Trying to fix closure-common.
RUNEs and RODs are not compatible with the result
of (RUNES:RUNE), because that returns (STRING ...), and

  (TYPE-OF "Σ") has CHARACTERS, but
  (TYPE-OF "a") "only" BASE-CHARs ...

At least CLISP, ABCL, SBCL return the same value for both
TYPE-OF forms above.
2014-04-26 20:01:47 +02:00