ecl.git
10 years agoMerge branch 'develop' into experimental experimental origin/experimental
Daniel Kochmański [Sun, 12 Apr 2015 09:54:18 +0000 (11:54 +0200)]
Merge branch 'develop' into experimental

10 years agoRemoved external reference to GC_dont_gc, no needed in the new Boehm
Roger Sen [Mon, 30 Mar 2015 18:02:57 +0000 (20:02 +0200)]
Removed external reference to GC_dont_gc, no needed in the new Boehm
GC API.

10 years agoUpdated GC api to remove deprecated methods
Roger Sen [Sun, 29 Mar 2015 19:45:37 +0000 (21:45 +0200)]
Updated GC api to remove deprecated methods

10 years agocmplet: Remove invalid declaration. Fixes #28.
Daniel Kochmański [Tue, 7 Apr 2015 19:34:01 +0000 (21:34 +0200)]
cmplet: Remove invalid declaration. Fixes #28.

10 years agoecl-sdb: Fix bogus name in declaration. Closes #27.
Daniel Kochmański [Tue, 7 Apr 2015 19:32:54 +0000 (21:32 +0200)]
ecl-sdb: Fix bogus name in declaration. Closes #27.

10 years agosetf.lsp: rework psetf, shiftf and rotatef to work with places with multiple values.
Daniel Kochmański [Mon, 6 Apr 2015 16:43:15 +0000 (18:43 +0200)]
setf.lsp: rework psetf, shiftf and rotatef to work with places with multiple values.

Additional macros has been proposed:

- with-setf-expansions maps setf expansions of places on provided list
  into lists of pairs (bindings), stores, store-forms and
  access-forms.

- with-expansion-setter creates lexically scoped function, which binds
  forms to stores using multiple-value-binds, and at the end places
  code provided at start macro-call.

10 years agoclos: walk-c-inline: Declare ignoring unused variable context. Closes #26.
Daniel Kochmański [Fri, 3 Apr 2015 08:05:54 +0000 (10:05 +0200)]
clos: walk-c-inline: Declare ignoring unused variable context. Closes #26.

10 years agoRemoved external reference to GC_dont_gc, no needed in the new Boehm
Roger Sen [Mon, 30 Mar 2015 18:02:57 +0000 (20:02 +0200)]
Removed external reference to GC_dont_gc, no needed in the new Boehm
GC API.

10 years agoUpdated GC api to remove deprecated methods
Roger Sen [Sun, 29 Mar 2015 19:45:37 +0000 (21:45 +0200)]
Updated GC api to remove deprecated methods

10 years ago.gitignore ecl/android directory used for building android stuff.
Evrim Ulu [Wed, 25 Mar 2015 20:07:53 +0000 (22:07 +0200)]
.gitignore ecl/android directory used for building android stuff.

10 years ago- android application
Evrim Ulu [Wed, 25 Mar 2015 20:06:53 +0000 (22:06 +0200)]
- android application
- android application README
- ECL android README.android
 added.

10 years ago- fix a type in configure.android
Evrim Ulu [Wed, 25 Mar 2015 13:49:11 +0000 (15:49 +0200)]
- fix a type in configure.android

10 years ago- still fixing .gitignore inside gc, libatomic.
Evrim Ulu [Wed, 25 Mar 2015 13:39:46 +0000 (15:39 +0200)]
- still fixing .gitignore inside gc, libatomic.

10 years ago- fix .gitignore inside gc/, add libatomic_ops, gee:(
Evrim Ulu [Wed, 25 Mar 2015 13:33:57 +0000 (15:33 +0200)]
- fix .gitignore inside gc/, add libatomic_ops, gee:(

10 years ago- Add configure.android and cross compile configuration in src/.
Evrim Ulu [Wed, 25 Mar 2015 10:53:50 +0000 (12:53 +0200)]
- Add configure.android and cross compile configuration in src/.

10 years ago- run autreconf on gmp, add missing files.
Evrim Ulu [Wed, 25 Mar 2015 10:49:21 +0000 (12:49 +0200)]
- run autreconf on gmp, add missing files.

10 years ago- remove gmp.old, not needed anymore, current one is gmp-6.0
Evrim Ulu [Tue, 24 Mar 2015 18:57:12 +0000 (20:57 +0200)]
- remove gmp.old, not needed anymore, current one is gmp-6.0

10 years ago- fix Makefile.in
Evrim Ulu [Tue, 24 Mar 2015 18:55:58 +0000 (20:55 +0200)]
- fix Makefile.in
- regenerate configure

10 years ago- remove gc-unstable, replace gc with the new one.
Evrim Ulu [Tue, 24 Mar 2015 18:52:57 +0000 (20:52 +0200)]
- remove gc-unstable, replace gc with the new one.
- remove gmp, replace with the new one.

10 years agoMerge branch 'develop' into experimental
Evrim Ulu [Tue, 24 Mar 2015 15:55:50 +0000 (17:55 +0200)]
Merge branch 'develop' into experimental

10 years agopprint.lsp: remove unsupportet declare extension 'values' calls.
Daniel Kochmański [Sat, 14 Mar 2015 21:09:15 +0000 (22:09 +0100)]
pprint.lsp: remove unsupportet declare extension 'values' calls.
Closes #10.

10 years agoloop2.lsp: ignore unused variable. Closes #14.
Daniel Kochmański [Sat, 14 Mar 2015 21:05:46 +0000 (22:05 +0100)]
loop2.lsp: ignore unused variable. Closes #14.

10 years agomethod.lsp: declare ignoring unused variable. Closes #12 (#11).
Daniel Kochmański [Sat, 14 Mar 2015 21:02:52 +0000 (22:02 +0100)]
method.lsp: declare ignoring unused variable. Closes #12 (#11).

10 years agostd-slot-value.lsp: declare ignoring unused variable. Closes #13.
Daniel Kochmański [Sat, 14 Mar 2015 20:58:05 +0000 (21:58 +0100)]
std-slot-value.lsp: declare ignoring unused variable. Closes #13.

10 years agoloop2.lsp: declare ignoring 'env' in 'loop-body'. Closes #15.
Daniel Kochmański [Sat, 14 Mar 2015 19:08:47 +0000 (20:08 +0100)]
loop2.lsp: declare ignoring 'env' in 'loop-body'. Closes #15.

10 years agokernel.lsp: Remove bogus `ignore doc` declaration. Closes #11.
Daniel Kochmański [Sat, 14 Mar 2015 18:57:35 +0000 (19:57 +0100)]
kernel.lsp: Remove bogus `ignore doc` declaration. Closes #11.

10 years agogitignore: ignore tgz archives.
Daniel Kochmański [Sat, 14 Mar 2015 18:16:05 +0000 (19:16 +0100)]
gitignore: ignore tgz archives.

10 years agoMerge branch 'develop' into experimental
Daniel Kochmański [Sun, 8 Mar 2015 13:06:10 +0000 (14:06 +0100)]
Merge branch 'develop' into experimental

10 years agoMerge branch 'master' into develop
Daniel Kochmański [Sun, 8 Mar 2015 13:05:47 +0000 (14:05 +0100)]
Merge branch 'master' into develop

10 years agoMerge branch 'release-15.3.7' ECL.15.3.7
Daniel Kochmański [Sat, 7 Mar 2015 17:26:56 +0000 (18:26 +0100)]
Merge branch 'release-15.3.7'

10 years agosymols_list2.h: build actualized this file after symbols_list.h
Daniel Kochmański [Sat, 7 Mar 2015 16:51:41 +0000 (17:51 +0100)]
symols_list2.h: build actualized this file after symbols_list.h

10 years agoRelease: bump version to 15.3.7.
Daniel Kochmański [Sat, 7 Mar 2015 16:43:53 +0000 (17:43 +0100)]
Release: bump version to 15.3.7.

10 years agocleanup: replace set with setf, since former is deprecated.
Daniel Kochmański [Fri, 6 Mar 2015 19:29:56 +0000 (20:29 +0100)]
cleanup: replace set with setf, since former is deprecated.

10 years agoMerge branch 'develop' into 15.3.7-rc1 (bugfixes and trivial changes only).
Daniel Kochmański [Fri, 6 Mar 2015 16:12:13 +0000 (17:12 +0100)]
Merge branch 'develop' into 15.3.7-rc1 (bugfixes and trivial changes only).

10 years agosombols-list: fix bogus entry for ext::make-encoding in symbols_list.h.
Daniel Kochmański [Fri, 6 Mar 2015 16:05:26 +0000 (17:05 +0100)]
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.

10 years agocompilator: fixes issue #3 (regression on package :lapack).
Daniel Kochmański [Thu, 5 Mar 2015 22:45:22 +0000 (23:45 +0100)]
compilator: fixes issue #3 (regression on package :lapack).

cmptype-arith.lsp: problem introduced in commit
c0b23555c67c24c7ddb23bc2a0f2129754c2058a 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.

10 years agogitignore: add src/config.log.
Daniel Kochmański [Mon, 2 Mar 2015 08:04:39 +0000 (09:04 +0100)]
gitignore: add src/config.log.

10 years agoRelease candidate: include RC in version.
Daniel Kochmański [Fri, 27 Feb 2015 15:21:58 +0000 (16:21 +0100)]
Release candidate: include RC in version.

10 years agoRelease: bump version to 15.3.7.
Daniel Kochmański [Fri, 27 Feb 2015 12:32:01 +0000 (13:32 +0100)]
Release: bump version to 15.3.7.

10 years agocmpc-machine.lsp: --with-sse=yes build failure fix. Closes #301.
Daniel Kochmański [Thu, 26 Feb 2015 14:48:58 +0000 (15:48 +0100)]
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/

10 years agotop.lsp: remove unicode character from copyrights on top.lsp.
Daniel Kochmański [Wed, 25 Feb 2015 21:04:24 +0000 (22:04 +0100)]
top.lsp: remove unicode character from copyrights on top.lsp.

10 years agofile.d: move variable declarations before body of functions.
Daniel Kochmański [Wed, 25 Feb 2015 20:59:32 +0000 (21:59 +0100)]
file.d: move variable declarations before body of functions.

This patch is necessary to compile ECL under MSVC (2008/2010) on
Windows platform.

10 years agoIntegrating android specific stuff into mobile branch;
evrimulu [Mon, 23 Feb 2015 07:08:36 +0000 (16:08 +0900)]
Integrating android specific stuff into mobile branch;
This includes the followings:

 - https://github.com/ageneau/ecl-android/blob/master/patches/ecl/0002-android-specific-stuff.patch
 - https://github.com/ageneau/ecl-android/blob/master/patches/ecl/0003-Create-a-cross-cmp-package.patch

Based on Sylvain Ageneau's work.
-evrim.

10 years agoFix socket implementation for android.
evrimulu [Mon, 23 Feb 2015 06:54:10 +0000 (15:54 +0900)]
Fix socket implementation for android.
 - implement getprotobyname (none in bionic)
 - use #+android feature.

This is based on Sylvain Ageneau's work;
See the following:

https://github.com/ageneau/ecl-android/blob/master/patches/ecl/0001-Fix-socket-implementation-on-android-getprotobyname-.patch

10 years agoMerge branch 'develop' of https://gitorious.org/embeddable-common-lisp/ecl into develop
evrimulu [Wed, 25 Feb 2015 01:58:09 +0000 (10:58 +0900)]
Merge branch 'develop' of https://gitorious.org/embeddable-common-lisp/ecl into develop

10 years agoseqlib: stable-sort: fix bogus optimization's in #'stable-sort.
Daniel Kochmański [Tue, 24 Feb 2015 12:30:49 +0000 (13:30 +0100)]
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/

10 years ago- Fix stack direction determining code in src/aclocal.m4
evrimulu [Mon, 23 Feb 2015 05:40:41 +0000 (14:40 +0900)]
- Fix stack direction determining code in src/aclocal.m4
- update autoconf, autoreconf -ivf

10 years agoUpgrade to autoconf 2.69,
evrimulu [Mon, 23 Feb 2015 04:12:23 +0000 (13:12 +0900)]
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.

10 years agoMerge branch 'master' into develop
Daniel Kochmański [Mon, 23 Feb 2015 09:27:51 +0000 (10:27 +0100)]
Merge branch 'master' into develop

10 years agoMerge branch 'release-15.2.21' ECL.15.2.21
Daniel Kochmański [Sat, 21 Feb 2015 20:08:10 +0000 (21:08 +0100)]
Merge branch 'release-15.2.21'

10 years agoMerge branch 'release-15.2.21' into develop
Daniel Kochmański [Sat, 21 Feb 2015 20:07:59 +0000 (21:07 +0100)]
Merge branch 'release-15.2.21' into develop

10 years agoRelease: update ANNOUNCEMENT and update Copyrights.
Daniel Kochmański [Sat, 21 Feb 2015 19:35:51 +0000 (20:35 +0100)]
Release: update ANNOUNCEMENT and update Copyrights.

10 years agoRelease: bump version to current date.
Daniel Kochmański [Sat, 21 Feb 2015 18:56:09 +0000 (19:56 +0100)]
Release: bump version to current date.

10 years agoMerge branch 'master' into develop
Daniel Kochmański [Sat, 21 Feb 2015 18:52:01 +0000 (19:52 +0100)]
Merge branch 'master' into develop

10 years agoMerge branch 'bugfix-build-scripts' into develop
Daniel Kochmanski [Sun, 1 Feb 2015 18:20:53 +0000 (19:20 +0100)]
Merge branch 'bugfix-build-scripts' into develop

10 years agogmp: remove broken symlink src/gmp/compile to fix ctags generation.
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>
10 years agoconfigure: add -p option to mkdir.
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>
10 years agoAdd CAS emulation for armel.
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>
10 years agoPatch to improve CLHS compliance of file-position
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.

10 years agoMerge branch 'ffi-unload-foreign-module' into develop
Daniel Kochmanski [Mon, 19 Jan 2015 19:08:39 +0000 (20:08 +0100)]
Merge branch 'ffi-unload-foreign-module' into develop

10 years agoffi: implement si_unload_foreign_module.
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>
10 years agoIgnored the cov-int/ directory created by Coverity Scan tooling.
Arto Bendiken [Wed, 15 Oct 2014 14:55:35 +0000 (14:55 +0000)]
Ignored the cov-int/ directory created by Coverity Scan tooling.

10 years agoImported a model file for Coverity Scan to reduce false positives.
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

10 years agoCorrected pathname buffer size handling in the `dpp` utility.
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.

10 years agoEnsured that ecl_file_len() doesn't return a random value on error.
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.

10 years agoAdded a sanity check to the unreachable branch in expt_zero().
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).

10 years agoFixed a NUL-termination bug in SOCKET-BIND and SOCKET-CONNECT.
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).

10 years agoAdded a sanity check assertion for VV in ecl_init_module().
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).

10 years agoFix eql-specializer dispatch caching.
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

10 years agoDeclared $ecldir and $docdir to be Autoconf precious variables.
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

10 years agoSuppressed a spurious -Wsometimes-uninitialized build warning.
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/

10 years agoCorrected the help text for the --enable-threads feature.
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/

10 years agoc/Makefile.in: fixed multiple-job build of ecl.
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>
10 years agoFix si:bind-simple-handlers.
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.

10 years agoCOERCE: report the original type in case of errors.
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.

10 years agoFix a typo in coerce.
Stas Boukarev [Sat, 12 Jul 2014 21:38:24 +0000 (01:38 +0400)]
Fix a typo in coerce.

VECTOR => VECTORP.

Reported by Chris Schafmeister.

10 years agoUpdate ASDF to 3.1.2.
Stas Boukarev [Wed, 11 Jun 2014 23:18:06 +0000 (03:18 +0400)]
Update ASDF to 3.1.2.

11 years agoAdd two "t_string" cases, as the reader now always returns STRINGs.
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.

11 years agoAdd the code-walker back to ECL.
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.

11 years agoNot only BASE-STRINGs but STRINGs may be package-specifiers, too.
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.

11 years agodouble_quote_reader(): Reference the discussion on ecls-list.
Philipp Marek [Sun, 27 Apr 2014 08:54:30 +0000 (10:54 +0200)]
double_quote_reader(): Reference the discussion on ecls-list.

11 years agoTrying to fix closure-common.
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.

11 years ago--with-debug
Philipp Marek [Tue, 11 Mar 2014 15:30:30 +0000 (16:30 +0100)]
--with-debug

11 years agoRedefine CL:FILE-POSITION for GRAY, too.
Philipp Marek [Tue, 11 Mar 2014 15:30:23 +0000 (16:30 +0100)]
Redefine CL:FILE-POSITION for GRAY, too.

11 years agoIgnore some generated test files, too.
Philipp Marek [Sun, 9 Mar 2014 20:06:53 +0000 (21:06 +0100)]
Ignore some generated test files, too.

11 years agoNew test for the PACKAGE-LOCK bad return value.
Philipp Marek [Sun, 9 Mar 2014 20:05:37 +0000 (21:05 +0100)]
New test for the PACKAGE-LOCK bad return value.

11 years agoMerge remote-tracking branch 'origin/master'
Philipp Marek [Sun, 9 Mar 2014 19:59:39 +0000 (20:59 +0100)]
Merge remote-tracking branch 'origin/master'

11 years agoMake (EXT:PACKAGE-LOCK) return the promised value.
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.

11 years agoFixed a typo.
Philipp Marek [Sun, 9 Mar 2014 19:31:59 +0000 (20:31 +0100)]
Fixed a typo.

11 years agoProvide two more 'make' dependencies for the regression tests.
Philipp Marek [Sat, 8 Mar 2014 20:20:52 +0000 (21:20 +0100)]
Provide two more 'make' dependencies for the regression tests.

11 years agoOnly skip copying test files if the destination is at least as fresh.
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.

11 years agoRegression test for sf286: Don't depend on swank being loaded.
Philipp Marek [Wed, 5 Mar 2014 06:33:50 +0000 (07:33 +0100)]
Regression test for sf286: Don't depend on swank being loaded.

11 years agoAdded tests for Stas' latest bugfixes.
Philipp Marek [Sun, 2 Mar 2014 21:02:31 +0000 (22:02 +0100)]
Added tests for Stas' latest bugfixes.

11 years agoensure-generic-function-using-class: don't use NAME for reinitialization.
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.

11 years agoAvoid breaking compilation if there's no ctags installed.
Philipp Marek [Sun, 2 Mar 2014 20:56:10 +0000 (21:56 +0100)]
Avoid breaking compilation if there's no ctags installed.

11 years agoFix VALUES declaration processing.
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.

11 years agoFix FTYPE declaration to X from being applied to (SETF X).
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.

11 years agoFix MULTIPLE-VALUE-BIND not evaluating values-form.
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.

11 years agoMake TRACE write complete output lines instead of small fragments.
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*))

11 years agoFix wrong path for "ctags" operation.
Philipp Marek [Sun, 2 Mar 2014 19:09:15 +0000 (20:09 +0100)]
Fix wrong path for "ctags" operation.