Commit graph

6325 commits

Author SHA1 Message Date
Daniel Kochmanski
cd2e04bb22 windows: some love for this poor system 2016-02-03 15:13:39 +01:00
Daniel Kochmański
a119b491c0 windows: handle events 2016-02-02 13:14:36 +01:00
Daniel Kochmański
2f1517c9a8 config.h.in: fix preprocessor typo
should be __WIN64__, not __WING64__
2016-02-02 12:53:25 +01:00
Daniel Kochmański
2ed54ffee6 cleanup: unixint: remove dead code
Old implementation of `asynchronous_signal_servicing_thread' was
reimplemented long time ago. Old implementation was still present in
sources surrounded with `#if 0 ... #endif'. Remove it.
2016-01-23 18:07:40 +01:00
Daniel Kochmański
7812f236a5 config.lsp.in: uname: fix build for windows platform (mingw32)
Windows doesn't have `sys/utsname.h' and uname in current form can't
be used. It was carefully foreseen by a previous maintainer and works
OK, but the problem emerges when cross-compiling from linux. Fixes
2016-01-23 17:50:28 +01:00
Daniel Kochmański
d212dd39c6 version: bump version to 16.1.1 2016-01-04 20:47:08 +01:00
Daniel Kochmański
7898553d6a mop: fix bug in compute-applicable-methods-using-classes
Move computation of args-specializers from #'sort-applicable-methods up
to #'std-compute-applicable-methods. Fix suggested by @costanza.
Fixes #203.
2016-01-04 20:40:37 +01:00
Daniel Kochmański
491ec2fbf0 cosmetic: line wrapping 2016-01-04 17:10:20 +01:00
Daniel Kochmański
91f2207749 tests: ffi: add new regression test 2016-01-04 12:27:26 +01:00
Daniel Kochmański
4ec978408c cosmetic: line wraps 2016-01-04 12:09:05 +01:00
Daniel Kochmański
1754906858 tests: add a regression test for a MOP bug #203 2016-01-04 12:08:45 +01:00
Daniel Kochmański
4aa1142c6f extensions: include cmuutil.lsp in the build file
Also add symbol with-clean-symbols to the symbols list. This utilities
are used all across the sources and it's easier to navigate and
understand ECL sources if all the utilities it uses are available.
2016-01-04 12:01:11 +01:00
Daniel Kochmański
f0ba1d3ecb ffi: fix bug in si_make_foreign_data_from_array
Use ECL_ARRAYP instead of testing for a specific types of array. It's
worth to keep in mind, that STRING will be an array of integers, while
BASE-STRING will be an array of the ordinary chars. Fixes #142.
2016-01-04 10:35:45 +01:00
Daniel Kochmański
84f0a89da3 cosmetic: line wrapping 2016-01-04 10:29:27 +01:00
Daniel Kochmański
d812a7795e tests: add regression test for compiled `FIND'
Regression test for bug #199.
2015-12-18 10:55:01 +01:00
Daniel Kochmański
af9900c7d4 compiler: fix compiler-macro for `FIND'
C-compiled `FIND' didn't respect `START' nor `END' arguments due to bug
in parsing the arguments and invoking `DO-SEQ'. Fixes #199.
2015-12-18 10:35:11 +01:00
Daniel Kochmański
f49fd1ea81 build: fix solaris target (enable C99) 2015-12-10 13:49:01 +01:00
Daniel Kochmański
039446dfea changelog: add api change to the GRAY:CLOSE 2015-11-27 18:20:43 +01:00
Daniel Kochmański
40c82c18d8 gray-streams: remove CLOSE general specialization
Some libraries somewhat abuse the CLOSE method specializing it on their
own stuff which isn't a stream. Calling the NEXT-METHOD triggers the
condition. For pragmatic reasons we'll honor this and will specialize
only on the streams.
2015-11-27 17:54:02 +01:00
Daniel Kochmański
ed8714ab21 cosmetic: fix indent and wrap lines correctly 2015-11-27 13:35:37 +01:00
Daniel Kochmański
67d8cc97d0 cosmetic: changelog whitechars 2015-11-09 21:27:39 +01:00
Daniel Kochmański
4ef4c53895 cleanup: remove incomplete readme 2015-11-07 20:07:24 +01:00
Daniel Kochmański
4dcf38db09 changelog: update 2015-11-07 20:04:58 +01:00
Daniel Kochmański
81573a3fe6 Merge branch 'develop' into mobile 2015-11-07 19:54:36 +01:00
Stas Boukarev
61150e38be ext:function-lambda-list: don't crash on uninitialized GFs.
Macroexpanding DEFMETHOD creates a partially initialized GF (not the
greatest idea in itself). function-lambda-list then croaks on the
LAMBDA-LIST slot being unbound.
2015-11-01 22:08:05 +03:00
Stas Boukarev
dfe68fe96a Reduce cache size for generic functions.
Instead of occupying two vector elements (one for the actual value and
one for a bit indicating whether it's an eql-specializer) store cons
cells containing eql specializer values from
CLOS::GENERIC-FUNCTION-SPEC-LIST.
2015-11-01 21:52:57 +03:00
Daniel Kochmański
5532d4b996 generic-dispatch: move copy operation
Move copy operation before the function which has side-effects. Reported
and fixed by clasp dev team. Thanks!
2015-10-31 13:29:35 +01:00
Daniel Kochmański
46693c9b31 android/example: add .gitignore 2015-10-28 19:59:24 +01:00
Daniel Kochmański
a3a609ac42 android: move android.cross_config to src/util 2015-10-28 19:57:35 +01:00
Daniel Kochmański
060fa6b4bf Merge branch 'develop' into mobile 2015-10-28 18:41:55 +01:00
Daniel Kochmański
458b52e70d android/example: simplify example even further
Remove the menu. Adjust AndroidManifest.xml
2015-10-28 18:40:05 +01:00
Daniel Kochmański
546b06b7b1 android/example: adjust README a bit 2015-10-28 18:28:14 +01:00
Daniel Kochmański
c95ba3ce93 android: add libecl build instructions 2015-10-28 18:13:00 +01:00
Daniel Kochmański
fd7547aaa6 android/example: simplify the example
This is just a "Hello world" example. Simplify it and improve the
readme. More feature full application may be found at:

https://gitlab.common-lisp.net/ecl/ecl-android
2015-10-28 17:24:55 +01:00
Daniel Kochmański
f605c52f6c Merge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into develop 2015-10-28 16:09:58 +01:00
Daniel Kochmański
7ec873c128 LICENSE: update examples/ license and ml address
Juan Jose Garcia-Ripoll agreed that examples/ may be relicensed.
2015-10-28 16:08:38 +01:00
Daniel Kochmański
4ee8e62135 android/example: cosmetic: indent / untabify 2015-10-26 11:13:48 +01:00
Daniel Kochmański
5e2edcae92 android/example: don't add *.a to assets
This files shouldn't be copied. They are big, duplicate binaries in fas
files and are no use without the gcc compiler on the target system.

Also clean assets directory on the clean target and use a symblink
`ecl-libdir' to access the libraries directory.
2015-10-26 10:13:28 +01:00
Daniel Kochmański
8af6929bc8 android/example: add short name for the launcher 2015-10-26 10:13:08 +01:00
Daniel Kochmański
a61a0cb0a3 android/example: minor tweaks with the build
Add some menu stubs, icon, change application name, remove generated
file, some indentation fix.
2015-10-25 22:57:25 +01:00
Daniel Kochmański
5ccf29f697 android/example: add the build.xml file
`-post-compile' target is customized to copy necessary files to the assets
directory from the installed ecl-android/ directory.
2015-10-25 21:22:05 +01:00
Daniel Kochmański
ade07de762 android/example: adjust sdk versions
Set minimal API to 2 and the target API to 23. It covers virtually all
devices present on the market.
2015-10-24 09:29:17 +02:00
Daniel Kochmański
66f79450bc android/example: cosmetic ecl_boot tweaks
Unify comment style, change some LOGI messages and wrap the long lines.
2015-10-23 18:18:58 +02:00
Daniel Kochmański
899a88a727 android/example: clean up the init scripts
Move the ASDF cache initialization below it's inclusion and don't be so
noisy with swank.

Also add the function sysinit which downloads and installs the Quicklisp
and replaces it's interpreted gunzip with our precompiled deflate.
2015-10-23 18:18:58 +02:00
Daniel Kochmański
35a6e91488 android/example: use ecl shared library
Don't statically link with the ECL. Use libecl.so instead. Thanks to
that we don't have to link explicitly with each module we want to use
and the whole process is simpler.
2015-10-23 18:18:58 +02: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
221c58b51b cosmetic: remove unndecessary message 2015-10-23 18:18:58 +02:00
Daniel Kochmański
b8edd5cda8 android: arrange resources directory
Separate different directories for the resources.
 #P"SYS:" -> #P"lisp/lib" - ECLDIR with the modules
 $HOME -> lisp/home       - user provided files, quicklisp, 3rd party contribs
           lisp/etc       - init scripts and the configuration
2015-10-23 18:17:09 +02:00
Daniel Kochmański
58ee224fe3 cosmetic: replace push' with pushnew'
When appending :wsock to *features*.
2015-10-23 18:16:50 +02:00
Daniel Kochmański
c103323cf6 c-streams: use `read' when FILE_CNT not available
`fread' may buffer some input and `listen' will return an incorrect
value. This is mainly the case when we cross-compile and user is too
lazy to check his `stdio.h' file. Fixes #185.
2015-10-23 18:16:50 +02:00