Daniel Kochmański [Sat, 21 Feb 2015 20:08:10 +0000 (21:08 +0100)]
Merge branch 'release-15.2.21'
Daniel Kochmański [Sat, 21 Feb 2015 19:35:51 +0000 (20:35 +0100)]
Release: update ANNOUNCEMENT and update Copyrights.
Daniel Kochmański [Sat, 21 Feb 2015 18:56:09 +0000 (19:56 +0100)]
Release: bump version to current date.
Daniel Kochmański [Sat, 21 Feb 2015 18:52:01 +0000 (19:52 +0100)]
Merge branch 'master' into develop
Daniel Kochmanski [Sun, 1 Feb 2015 18:20:53 +0000 (19:20 +0100)]
Merge branch 'bugfix-build-scripts' into develop
Daniel Kochmanski [Sun, 1 Feb 2015 13:42:47 +0000 (14:42 +0100)]
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>
Daniel Kochmanski [Sun, 1 Feb 2015 12:13:22 +0000 (13:13 +0100)]
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>
Daniel Kochmanski [Sat, 31 Jan 2015 16:04:58 +0000 (17:04 +0100)]
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>
Nils Bruin [Tue, 27 Jan 2015 02:30:04 +0000 (18:30 -0800)]
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.
Daniel Kochmanski [Mon, 19 Jan 2015 19:08:39 +0000 (20:08 +0100)]
Merge branch 'ffi-unload-foreign-module' into develop
Daniel Kochmanski [Sun, 18 Jan 2015 12:57:20 +0000 (13:57 +0100)]
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>
Arto Bendiken [Wed, 15 Oct 2014 14:55:35 +0000 (14:55 +0000)]
Ignored the cov-int/ directory created by Coverity Scan tooling.
Arto Bendiken [Wed, 15 Oct 2014 13:59:04 +0000 (13:59 +0000)]
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
Arto Bendiken [Tue, 14 Oct 2014 22:13:13 +0000 (22:13 +0000)]
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.
Arto Bendiken [Tue, 14 Oct 2014 22:02:12 +0000 (22:02 +0000)]
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.
Arto Bendiken [Tue, 14 Oct 2014 21:58:59 +0000 (21:58 +0000)]
Added a sanity check to the unreachable branch in expt_zero().
This resolves CID 66441 (Missing return statement).
Arto Bendiken [Tue, 14 Oct 2014 21:14:45 +0000 (21:14 +0000)]
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).
Arto Bendiken [Tue, 14 Oct 2014 20:10:51 +0000 (20:10 +0000)]
Added a sanity check assertion for VV in ecl_init_module().
This addresses CID 66852 (Uninitialized pointer read).
Stas Boukarev [Fri, 26 Sep 2014 20:46:35 +0000 (00:46 +0400)]
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
Arto Bendiken [Tue, 23 Sep 2014 14:07:41 +0000 (14:07 +0000)]
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
Arto Bendiken [Mon, 22 Sep 2014 21:25:48 +0000 (21:25 +0000)]
Suppressed a spurious -Wsometimes-uninitialized build warning.
See: https://sourceforge.net/p/ecls/bugs/293/
Arto Bendiken [Mon, 22 Sep 2014 12:54:04 +0000 (12:54 +0000)]
Corrected the help text for the --enable-threads feature.
See: https://sourceforge.net/p/ecls/patches/33/
Daniel Kochmański [Sun, 7 Sep 2014 16:45:16 +0000 (18:45 +0200)]
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>
Matthew Stickney [Tue, 19 Aug 2014 21:00:17 +0000 (17:00 -0400)]
Fix si:bind-simple-handlers.
Call the right local function, SIMPLE-RESTART-FUNCTION not
SIMPLE-HANDLER-FUNCTION.
Stas Boukarev [Sat, 12 Jul 2014 21:50:14 +0000 (01:50 +0400)]
COERCE: report the original type in case of errors.
The expanded type isn't really helpful.
Stas Boukarev [Sat, 12 Jul 2014 21:38:24 +0000 (01:38 +0400)]
Fix a typo in coerce.
VECTOR => VECTORP.
Reported by Chris Schafmeister.
Stas Boukarev [Wed, 11 Jun 2014 23:18:06 +0000 (03:18 +0400)]
Update ASDF to 3.1.2.
Philipp Marek [Sun, 4 May 2014 18:46:14 +0000 (20:46 +0200)]
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.
Philipp Marek [Mon, 28 Apr 2014 05:51:27 +0000 (07:51 +0200)]
Add the code-walker back to ECL.
This makes eg. WALKER:MACROEXPAND-ALL available again.
Philipp Marek [Mon, 28 Apr 2014 05:42:06 +0000 (07:42 +0200)]
Not only BASE-STRINGs but STRINGs may be package-specifiers, too.
Needed because quoted strings are read now always read as STRING.
Philipp Marek [Sun, 27 Apr 2014 08:54:30 +0000 (10:54 +0200)]
double_quote_reader(): Reference the discussion on ecls-list.
Philipp Marek [Sat, 26 Apr 2014 18:01:47 +0000 (20:01 +0200)]
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.
Philipp Marek [Tue, 11 Mar 2014 15:30:30 +0000 (16:30 +0100)]
--with-debug
Philipp Marek [Tue, 11 Mar 2014 15:30:23 +0000 (16:30 +0100)]
Redefine CL:FILE-POSITION for GRAY, too.
Philipp Marek [Sun, 9 Mar 2014 20:06:53 +0000 (21:06 +0100)]
Ignore some generated test files, too.
Philipp Marek [Sun, 9 Mar 2014 20:05:37 +0000 (21:05 +0100)]
New test for the PACKAGE-LOCK bad return value.
Philipp Marek [Sun, 9 Mar 2014 19:59:39 +0000 (20:59 +0100)]
Merge remote-tracking branch 'origin/master'
Philipp Marek [Sun, 9 Mar 2014 19:35:43 +0000 (20:35 +0100)]
Make (EXT:PACKAGE-LOCK) return the promised value.
The (possibly invalid!) pack.locked was returned; for STRING inputs
the field aliased to "elttype", which was eg. 0xf for t_base_strings.
Philipp Marek [Sun, 9 Mar 2014 19:31:59 +0000 (20:31 +0100)]
Fixed a typo.
Philipp Marek [Sat, 8 Mar 2014 20:20:52 +0000 (21:20 +0100)]
Provide two more 'make' dependencies for the regression tests.
Philipp Marek [Sat, 8 Mar 2014 20:20:28 +0000 (21:20 +0100)]
Only skip copying test files if the destination is at least as fresh.
Philipp Marek [Wed, 5 Mar 2014 06:33:50 +0000 (07:33 +0100)]
Regression test for sf286: Don't depend on swank being loaded.
Philipp Marek [Sun, 2 Mar 2014 21:02:31 +0000 (22:02 +0100)]
Added tests for Stas' latest bugfixes.
Stas Boukarev [Fri, 7 Mar 2014 22:29:46 +0000 (02:29 +0400)]
ensure-generic-function-using-class: don't use NAME for reinitialization.
MOP says that when ensure-generic-function-using-class is called with
a generic function, it just calls reinitialize-instance with
the supplied initargs.
http://www.alu.org/mop/dictionary.html#ensure-generic-function-using-class
Fixes #283.
Philipp Marek [Sun, 2 Mar 2014 20:56:10 +0000 (21:56 +0100)]
Avoid breaking compilation if there's no ctags installed.
Stas Boukarev [Sat, 22 Feb 2014 22:26:53 +0000 (02:26 +0400)]
Fix VALUES declaration processing.
A change to C::SPLIT-VALUES-TYPE got the order reversed.
Fixes #275.
Stas Boukarev [Sat, 22 Feb 2014 22:58:53 +0000 (02:58 +0400)]
Fix FTYPE declaration to X from being applied to (SETF X).
C1LAMBDA-EXPR used the block-name to get declarations, but BLOCK name
is a symbol, and for a function named (SETF X) the block would have
the name X, resulting in wrong declarations.
Fixes #262.
Stas Boukarev [Sat, 22 Feb 2014 21:14:29 +0000 (01:14 +0400)]
Fix MULTIPLE-VALUE-BIND not evaluating values-form.
(let (x) (multiple-value-bind () (setf x t)) x) returned NIL because
the values-form was discarded.
Philipp Marek [Sun, 2 Mar 2014 19:25:22 +0000 (20:25 +0100)]
Make TRACE write complete output lines instead of small fragments.
This increases performance, as eg. for SWANK much fewer packets have
to go across the wire.
The effective change is this:
(princ
(with-output-to-string (*trace-output*)
...
*trace-output*))
Philipp Marek [Sun, 2 Mar 2014 19:09:15 +0000 (20:09 +0100)]
Fix wrong path for "ctags" operation.
Philipp Marek [Sun, 2 Mar 2014 19:09:02 +0000 (20:09 +0100)]
Test for Sourceforge bug #286: miscompilation of (read-from-string).
Philipp Marek [Thu, 27 Feb 2014 19:47:53 +0000 (20:47 +0100)]
Fix declaration that was activated by commit
285eb318,
"fixes for the detection of GC_start_call_back"
Philipp Marek [Thu, 27 Feb 2014 19:33:11 +0000 (20:33 +0100)]
Fix ecl_eval to not have quotes by default.
When "$arg0 $arg1 ..." is specified, GDB requires that many arguments;
and with "$arg0" it's not possible to give expressions that include
spaces, because they get cut _before_ ecl_eval sees them.
(And having "$arg0" _and_ giving quotes doesn't work as we'd like to, too.)
Philipp Marek [Thu, 27 Feb 2014 15:35:22 +0000 (16:35 +0100)]
Fix ecl_print, and new GDB function ecl_eval.
Used like this:
(gdb) ecl_eval cl::*package*
D Herring [Fri, 20 Dec 2013 06:15:59 +0000 (01:15 -0500)]
fixes for the detection of GC_start_call_back
- HAVE_GC_SET_START_CALLBACK was defined unconditionally
- there was no AC_DEFINE if system_boehm was false
- there was a typo in one usage site of this macro
see
6b754564f1d1a2d320b1fd46f0c0da2e623862c1
Philipp Marek [Wed, 26 Feb 2014 20:37:51 +0000 (21:37 +0100)]
GDB: Don't print an object if the type is 0 (cl_start) - that seems unsafe.
Philipp Marek [Wed, 26 Feb 2014 20:15:05 +0000 (21:15 +0100)]
Convenience function for printing "cl_object"s from GDB.
Philipp Marek [Wed, 26 Feb 2014 20:14:36 +0000 (21:14 +0100)]
Provide a VIM-compatible tag file, too.
Philipp Marek [Wed, 26 Feb 2014 20:14:22 +0000 (21:14 +0100)]
Some documentation about debugging.
Philipp Marek [Sun, 23 Feb 2014 10:24:24 +0000 (11:24 +0100)]
Test for SF bug #276.
Philipp Marek [Sun, 23 Feb 2014 10:21:43 +0000 (11:21 +0100)]
Provide a list of failed tests.
Philipp Marek [Sun, 23 Feb 2014 10:21:20 +0000 (11:21 +0100)]
Now we're using GIT; and some helpful remarks.
Stas Boukarev [Sat, 22 Feb 2014 13:33:48 +0000 (17:33 +0400)]
Fix NO-APPLICABLE-METHOD.
Its lambda-list should be (generic-function &rest function-arguments), not
(generic-function function-arguments).
Its value should be returned at the call site of the generic function.
Fixes #278.
Philipp Marek [Sat, 22 Feb 2014 11:27:26 +0000 (12:27 +0100)]
#276 [PATCH]: printing hashtables readably is broken
https://sourceforge.net/p/ecls/bugs/276/
Thanks, Stas.
Philipp Marek [Sat, 22 Feb 2014 10:00:53 +0000 (11:00 +0100)]
getprotobyname() may return NULL, causing segfaults in this function.
Juanjo Garcia-Ripoll [Tue, 29 Oct 2013 22:47:54 +0000 (23:47 +0100)]
_hash_equalp() did not contain a case for bignums.
Juanjo Garcia-Ripoll [Tue, 29 Oct 2013 21:25:42 +0000 (22:25 +0100)]
(INTEGER *) and other type names made of lists are now allowed as declaration names.
Juanjo Garcia-Ripoll [Mon, 28 Oct 2013 21:44:05 +0000 (22:44 +0100)]
Rebuild makefiles & configure using a more recent aclocal/automake
Juanjo Garcia-Ripoll [Sun, 27 Oct 2013 23:00:38 +0000 (00:00 +0100)]
Optimizations in with-lock: save reference to current process and use some fixnum comparisons.
Juanjo Garcia-Ripoll [Sun, 27 Oct 2013 22:50:40 +0000 (23:50 +0100)]
autom4te.cache got accidentally pulled into git.
Juanjo Garcia-Ripoll [Sun, 27 Oct 2013 22:50:14 +0000 (23:50 +0100)]
Merge branch 'master' of ssh://git.code.sf.net/p/ecls/ecl
Juanjo Garcia-Ripoll [Tue, 15 Oct 2013 08:15:20 +0000 (10:15 +0200)]
Fixed Automake'd files that were broken by Cygwin's copy.
Juanjo Garcia-Ripoll [Tue, 15 Oct 2013 07:57:25 +0000 (09:57 +0200)]
Fixed typo
Juanjo Garcia-Ripoll [Tue, 15 Oct 2013 07:55:43 +0000 (09:55 +0200)]
Fixed typo
Juanjo Garcia-Ripoll [Tue, 15 Oct 2013 07:48:59 +0000 (09:48 +0200)]
Fixed proclamation of ensure-directories-exist
Juanjo Garcia-Ripoll [Tue, 15 Oct 2013 07:47:30 +0000 (09:47 +0200)]
Fixed typo
Juanjo Garcia-Ripoll [Thu, 10 Oct 2013 21:45:37 +0000 (23:45 +0200)]
Fixed the routines that deal with VALUES types, extracting primary types, splitting them, etc
Juanjo Garcia-Ripoll [Thu, 10 Oct 2013 20:47:56 +0000 (22:47 +0200)]
SPLIT-VALUES-TYPE and VALUES-TYPE-PRIMARY-TYPE redesigned to work with &allow-other-keys and empty &optional
Juanjo Garcia-Ripoll [Wed, 9 Oct 2013 19:41:57 +0000 (21:41 +0200)]
Fixed wrong proclamation for ensure-directories-exist.
Juanjo Garcia-Ripoll [Wed, 9 Oct 2013 10:12:59 +0000 (12:12 +0200)]
Fixed problem with macroexpansion in acinclude.m4
Juanjo Garcia-Ripoll [Sun, 6 Oct 2013 20:39:11 +0000 (22:39 +0200)]
Fixed declaration of GC_start_call_back
Juanjo Garcia-Ripoll [Sun, 6 Oct 2013 20:20:43 +0000 (22:20 +0200)]
The Windows GMP makefile must be updated, removing the functions which are not used.
Juanjo Garcia-Ripoll [Sun, 6 Oct 2013 20:20:18 +0000 (22:20 +0200)]
Remove the Jacobi & Kronecker functions also from gmp/mpz
Juanjo Garcia-Ripoll [Sun, 6 Oct 2013 20:19:48 +0000 (22:19 +0200)]
Remove GMP tests and doc directories
Juanjo Garcia-Ripoll [Sun, 6 Oct 2013 20:00:55 +0000 (22:00 +0200)]
Removed Kronecker and Jacobi functions from GMP/mpz
Juanjo Garcia-Ripoll [Sun, 6 Oct 2013 19:54:52 +0000 (21:54 +0200)]
In msvc/gmp/Makefile, we have to remove the files that are no longer present.
Juanjo Garcia-Ripoll [Sun, 6 Oct 2013 19:49:47 +0000 (21:49 +0200)]
Removed printf and scanf files
Juanjo Garcia-Ripoll [Sun, 6 Oct 2013 19:49:18 +0000 (21:49 +0200)]
Remove printf / scanf prototypes from our gmp header
Juanjo Garcia-Ripoll [Sun, 6 Oct 2013 19:47:06 +0000 (21:47 +0200)]
Remove further autoconf tests that are not essential in GMP
Juanjo Garcia-Ripoll [Sun, 6 Oct 2013 19:28:59 +0000 (21:28 +0200)]
Remove tests for functions that are not used in the library (clock, gettimeofday, etc). Removed hamdist from the build process.
Juanjo Garcia-Ripoll [Sun, 6 Oct 2013 14:08:37 +0000 (16:08 +0200)]
sockets.lisp defined MSG_WAITALL in an incompatible manner for cygwin (which now supports this flag)
Juanjo Garcia-Ripoll [Sun, 6 Oct 2013 13:54:25 +0000 (15:54 +0200)]
Fixed ugly warning message in configure.in
Juanjo Garcia-Ripoll [Sun, 6 Oct 2013 13:54:00 +0000 (15:54 +0200)]
Removed GMP tuning files
Juanjo Garcia-Ripoll [Sun, 6 Oct 2013 13:49:46 +0000 (15:49 +0200)]
Removed an expensive autoconf check in GMP which is only used in the tune directory
Juanjo Garcia-Ripoll [Sun, 6 Oct 2013 13:46:59 +0000 (15:46 +0200)]
Avoid building/configuring mpq and mpfr as well.
Juanjo Garcia-Ripoll [Sun, 6 Oct 2013 13:46:37 +0000 (15:46 +0200)]
Configuring GMP with C (--with-c-gmp) was broken due to m4 escape character issues.
Juanjo Garcia-Ripoll [Sun, 6 Oct 2013 13:26:42 +0000 (15:26 +0200)]
In Cygwin x86_64, deactivate the assembly code in GMP, which is obsolete and does not support Windows calling conventions.
Juanjo Garcia-Ripoll [Sun, 6 Oct 2013 08:08:50 +0000 (10:08 +0200)]
GC_start_call_back disappeared in recent versions of the GC library
Juanjo Garcia-Ripoll [Sun, 6 Oct 2013 08:08:30 +0000 (10:08 +0200)]
Remove further files from our GMP build
Juanjo Garcia-Ripoll [Sun, 6 Oct 2013 07:28:22 +0000 (09:28 +0200)]
Removed gmp/demos directory, which is not needed