Commit graph

299 commits

Author SHA1 Message Date
Marius Gerbershagen
c7a0b753c9 bytecmp: fix compilation of closures
Extract function name for bclosures in guess_environment and
    signal an error when attempting to compile a cclosure
2018-06-23 21:37:15 +02:00
Daniel Kochmanski
fd183e575f Better error messages, bc-compile improvements
bc-compile is more conforming now (we validate definition and name, also our
closure compilation is a bit better, still broken though).

Also improve some error messages and add periods at the end.
2018-02-13 12:43:32 +01:00
Marius Gerbershagen
c279138bb2 bytecmp.lisp: allow T for :output-file in bc-compile-file. Fixes #393 2017-11-03 20:29:09 +01:00
Daniel Kochmanski
c771b46c5f feature: export make-stream-from-fd interface 2017-10-11 10:25:59 +02:00
Daniel Kochmanski
4915f8bc33 bump asdf 2017-09-30 16:07:10 +02:00
Daniel Kochmanski
270450a660 asdf: update to version 3.1.8.7
This version fixes mal-handling of :if-feature clauses which correct
loading of systems using it.
2017-09-30 11:12:29 +02:00
Daniel Kochmanski
54f7f9c424 sb-bsd-sockets: socket-receive: add default element-type 2017-09-30 11:12:00 +02:00
Daniel Kochmanski
f2473ade5b asdf: update to 3.1.8.6
this version allows specifying init-name
2017-07-21 19:30:19 +02:00
Daniel Kochmański
da4669d792 cdb: fix declaration 2017-04-28 11:13:24 +02:00
Kris Katterjohn
de661f580a Add ABORT keyword argument to SB-BSD-SOCKETS:SOCKET-CLOSE
This keyword argument was added in SBCL in 2010 and is used to pass
ABORT to CL:CLOSE.

The absence of this would obviously cause errors when code expects
this to be available.  For example, this happens in usocket's
SOCKET-CONNECT and would cause several errors in their test suite
with obscure error messages like

  Wrong number of arguments passed to function #<compiled-function 0000000003562e80>.

This is untested on Windows.
2017-02-11 19:18:50 -06:00
Daniel Kochmański
35328d09d7 asdf: preserve program-system default
no-uiop is t for all but program-system.
2017-02-03 00:17:09 +01:00
Daniel Kochmański
99e70ede04 asdf: update to 3.1.8.4
Fixes problem with creating executables.
2017-02-02 22:31:44 +01:00
Daniel Kochmański
d9d6afeba3 asdf: bring back old package nicknames 2016-12-13 15:34:55 +01:00
Daniel Kochmański
3203a373be update asdf to 3.1.8.1 2016-12-12 08:02:45 +01:00
Daniel Kochmański
fd24c923d3 update asdf to 3.1.8
To avoid confusion we create a separate numeric branch from 3.1.7 (ASDF
3.2.0 release is on its way).

This change backports fix for static-library builds. Fixes #177.
2016-12-06 08:59:52 +01:00
Daniel Kochmański
4e4e07eaed asdf: backport some upstream changes 2016-12-05 20:30:32 +01:00
Daniel Kochmański
c90e874437 Update ASDF to 3.1.7.26 derivative
It seems that we have to fork here for now due to some arbitrary
decisions.

See:
https://bugs.launchpad.net/asdf/+bug/1493031
https://gitlab.common-lisp.net/asdf/asdf/merge_requests/34

Fixes #196.
2016-11-27 11:02:24 +01:00
Daniel Kochmański
6892db8849 asdf: bump asdf to 3.1.7.35 development version 2016-11-19 10:29:59 +01:00
Daniel Kochmański
1b7c839d70 Move package-locks interface to contrib/ 2016-11-11 09:30:50 +01:00
Daniel Kochmański
7a8f1b4a7a contribs: update asdf to version 3.1.7
Fixes #243.
2016-09-07 16:24:44 +02:00
Daniel Kochmański
e640ef1c2b haiku: define ESOCKTNOSUPPORT to ENOTSUP
Haiku lacks some parts of POSIX API. Workaround to make sockets work.
2016-09-06 21:55:56 +02:00
Diogo Franco
54a614bf34 do not warn about the PROFILE function, because this is also used in UNPROFILE 2016-07-20 11:54:06 +01:00
Diogo Franco
60a864ce3b delete broken list case in profile module. warn and ignore invalid names. 2016-07-20 11:38:43 +01:00
Fabrizio Fabbri
52de2ceea6 Fix compilation for AIX and xlc compiler. 2016-03-02 12:08:48 -05:00
Eric Timmons
6eede933dd Add defaults for NETDB_{INTERNAL,SUCESS}.
NETDB_INTERNAL and NETDB_SUCCESS are not defined by POSIX, so some
libc implementations (such as musl) do not have them. When compiling
sockets contrib, check if these are defined and, if not, define them to
be zero.
2016-02-24 21:48:57 -05:00
Daniel Kochmański
7feed6c6f4 contrib: call provide uniformly
Various contrib modules called provide with varying syntax from "module"
through 'module to '#:module. The last one is picked:

(provide '#:module)
2015-10-23 18:18:58 +02:00
Daniel Kochmański
58ee224fe3 cosmetic: replace push' with pushnew'
When appending :wsock to *features*.
2015-10-23 18:16:50 +02:00
Sylvain Ageneau
5b0a9fe6c5 mobile: fix socket implementation on android
getprotobyname is not implemented in bionic libc.
2015-10-23 18:12:54 +02:00
Daniel Kochmański
3b66508cb9 asdf: fix problem with uiop:run-program until we upgrade to next ASDF
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-09-11 12:56:10 +02:00
Zack Piper
00521d869a Untabify everything. 2015-09-01 20:10:10 +00:00
Daniel Kochmański
64c49df805 asdf: update to version 3.1.5.4
This version has fixed make-image and uses run-program.
ECL backend updates possible thanks to help of Francois-Rene Rideau.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-15 09:05:51 +02:00
Daniel Kochmański
563c362df3 rt: add deftask* and untabify sources
deftask* evaluates result agument.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-13 21:41:32 +02:00
Daniel Kochmański
850f1ccce4 ffi: remove package nickname 'uffi'
Our ffi isn't uffi 2.0 compatible and most systems wants this, when
they say (require 'uffi). Also if system has asdf dependency on
quicklisp) we have package name error.

We'll depend with UFFI 2.0 compability on cffi-uffi-compat, what is
the saniest approach. Some ECL specific patches will land there soon
to improve performance - no internal FFI api will change. It's just
nick removal.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-04 12:22:02 +02:00
Daniel Kochmański
d75552027a compiler: bind lexically *readtable* when file is compiled
Both byte and C compilers didn't bind lexically *readtable*, what lead
to pollution of other compiled packages. Fixes #95 and #59.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-07-28 14:25:29 +02:00
Daniel Kochmański
f056b3d000 Merge branch 'develop' into upgrade-libs 2015-04-12 11:54:37 +02:00
Daniel Kochmański
dc490bd749 asdf: Update to version 3.1.4. 2015-04-07 21:53:39 +02:00
Daniel Kochmański
40eec63c2c ecl-sdb: Fix bogus name in declaration. Closes #27. 2015-04-07 21:32:54 +02: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
Stas Boukarev
d9e3be4605 Update ASDF to 3.1.2. 2014-06-12 03:18:06 +04:00
Philipp Marek
50ba000738 getprotobyname() may return NULL, causing segfaults in this function. 2014-02-22 11:00:53 +01:00
Juanjo Garcia-Ripoll
434c753e78 sockets.lisp defined MSG_WAITALL in an incompatible manner for cygwin (which now supports this flag) 2013-10-06 17:01:06 +02:00
Juanjo Garcia-Ripoll
d14ede2304 Upgraded ASDF to the last version before 3.0.0 2013-05-21 10:48:04 +02:00
Juan Jose Garcia Ripoll
0e93edfc7a Upgrade ASDF to 2.33 with a local fix 2013-05-11 23:13:53 +02:00
Juanjo Garcia-Ripoll
256126ac9a Remove comment about asdf-bundle, which was obsolete. 2013-03-07 14:45:26 +01:00
Juanjo Garcia-Ripoll
183762db91 asdf-bundle.lisp is no longer needed, since asdf.lisp integrates it. 2013-03-07 14:44:15 +01:00
Juan Jose Garcia Ripoll
89110f9635 Upgrade ASDF to 2.31.2 2013-02-28 22:59:00 +01:00
Juan Jose Garcia Ripoll
bcfc297992 The profiler chockes on (SETF ...) function names and on symbol names without package name (stassats) 2013-01-12 00:23:55 +01:00
Juan Jose Garcia Ripoll
ebafa5f275 Added the Unicode character database to the C library 2012-12-26 22:31:37 +01:00
Juan Jose Garcia Ripoll
a1a474c352 Upgraded both ASDF and ASDF-BUNDLE 2012-12-03 10:13:56 +01:00
Juanjo Garcia-Ripoll
50d1c9fcf7 Update README's in the ASDF directory 2012-11-28 14:00:33 +01:00