ecl.git
9 years agoconfigure: autoreconf with last changes
Daniel Kochmański [Fri, 21 Aug 2015 06:12:24 +0000 (08:12 +0200)]
configure: autoreconf with last changes

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoconfigure: Don't overwrite system_boehm detection variable.
Philipp Marek [Fri, 21 Aug 2015 05:50:10 +0000 (07:50 +0200)]
configure: Don't overwrite system_boehm detection variable.

All conditions must be fulfilled to enable the already-installed
BWDGC; on *any* failures the included one must be used.

9 years agochangelog: add deprecated config options removal
Daniel Kochmański [Thu, 20 Aug 2015 19:02:26 +0000 (21:02 +0200)]
changelog: add deprecated config options removal

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoconfigure: fix boehm autodetection
Daniel Kochmański [Thu, 20 Aug 2015 18:50:13 +0000 (20:50 +0200)]
configure: fix boehm autodetection

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoserror: move stack error to sys package
Daniel Kochmański [Thu, 20 Aug 2015 11:08:17 +0000 (13:08 +0200)]
serror: move stack error to sys package

Mark it also as internal API

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agocosmetic: fix indentation
Daniel Kochmański [Wed, 19 Aug 2015 17:44:44 +0000 (19:44 +0200)]
cosmetic: fix indentation

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agochangelog: add wildcards change
Daniel Kochmański [Wed, 19 Aug 2015 16:52:35 +0000 (18:52 +0200)]
changelog: add wildcards change

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoshiftf: return one value, not all of them
Daniel Kochmański [Wed, 19 Aug 2015 15:46:02 +0000 (17:46 +0200)]
shiftf: return one value, not all of them

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agocosmetic: wrap line in compiler.d
Daniel Kochmański [Wed, 19 Aug 2015 14:02:53 +0000 (16:02 +0200)]
cosmetic: wrap line in compiler.d

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodestructure: improve context handling
Daniel Kochmański [Wed, 19 Aug 2015 14:02:38 +0000 (16:02 +0200)]
destructure: improve context handling

Add handling of arbitrary context as case clause

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agocheck-keyword: fix typo
Daniel Kochmański [Wed, 19 Aug 2015 13:47:38 +0000 (15:47 +0200)]
check-keyword: fix typo

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agopsetf: fix corner-case
Daniel Kochmański [Wed, 19 Aug 2015 11:57:11 +0000 (13:57 +0200)]
psetf: fix corner-case

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agotests: fix pathname test
Daniel Kochmański [Wed, 19 Aug 2015 10:31:50 +0000 (12:31 +0200)]
tests: fix pathname test

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agopathname: fix logical translation wrt wildcards
Daniel Kochmański [Wed, 19 Aug 2015 08:09:17 +0000 (10:09 +0200)]
pathname: fix logical translation wrt wildcards

Fixes #103.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agotests: pathname: fix typo
Daniel Kochmański [Wed, 19 Aug 2015 07:31:49 +0000 (09:31 +0200)]
tests: pathname: fix typo

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoutil: gdbinit ignores GC signals
Daniel Kochmański [Wed, 19 Aug 2015 07:15:11 +0000 (09:15 +0200)]
util: gdbinit ignores GC signals

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agotests: add regression test for logical pathnames
Daniel Kochmański [Wed, 19 Aug 2015 06:29:07 +0000 (08:29 +0200)]
tests: add regression test for logical pathnames

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agocosmetic: wrap lines esthetically
Daniel Kochmański [Wed, 19 Aug 2015 06:17:32 +0000 (08:17 +0200)]
cosmetic: wrap lines esthetically

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodeftype: make maptree non-destructive
Daniel Kochmański [Tue, 18 Aug 2015 15:43:01 +0000 (17:43 +0200)]
deftype: make maptree non-destructive

Thanks to that we traverse lambda-list tree only once.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodeftype: use destructure directly, remove unused arg
Daniel Kochmański [Tue, 18 Aug 2015 13:39:20 +0000 (15:39 +0200)]
deftype: use destructure directly, remove unused arg

Removes ENV arg, which were ignored by using destructure directly.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodestructure: export function from system package
Daniel Kochmański [Tue, 18 Aug 2015 13:38:06 +0000 (15:38 +0200)]
destructure: export function from system package

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodeftype: update docstring
Daniel Kochmański [Tue, 18 Aug 2015 11:44:32 +0000 (13:44 +0200)]
deftype: update docstring

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agotests: add regressions tests for deftype
Daniel Kochmański [Tue, 18 Aug 2015 11:24:24 +0000 (13:24 +0200)]
tests: add regressions tests for deftype

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodeftype: optimize traversing a tree
Daniel Kochmański [Tue, 18 Aug 2015 10:53:20 +0000 (12:53 +0200)]
deftype: optimize traversing a tree

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agochangelog: update deftype fixes
Daniel Kochmański [Tue, 18 Aug 2015 10:09:13 +0000 (12:09 +0200)]
changelog: update deftype fixes

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agocosmetic: deduplicate expand-deftype function definition
Daniel Kochmański [Tue, 18 Aug 2015 10:07:57 +0000 (12:07 +0200)]
cosmetic: deduplicate expand-deftype function definition

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agopredlib: fix bogs expand-deftype
Daniel Kochmański [Tue, 18 Aug 2015 10:07:35 +0000 (12:07 +0200)]
predlib: fix bogs expand-deftype

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodeftype: make deftype accept macro lambda-lists
Daniel Kochmański [Tue, 18 Aug 2015 10:06:03 +0000 (12:06 +0200)]
deftype: make deftype accept macro lambda-lists

Fixes #86.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agocosmetic: remove dead code
Daniel Kochmański [Tue, 18 Aug 2015 08:59:31 +0000 (10:59 +0200)]
cosmetic: remove dead code

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: update doc
Daniel Kochmański [Mon, 17 Aug 2015 12:14:40 +0000 (14:14 +0200)]
doc: update doc

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agolambda-list: add check for the proper context (function)
Daniel Kochmański [Mon, 17 Aug 2015 12:08:22 +0000 (14:08 +0200)]
lambda-list: add check for the proper context (function)

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: Add section describing last changes
Daniel Kochmański [Mon, 17 Aug 2015 11:40:08 +0000 (13:40 +0200)]
doc: Add section describing last changes

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agochangelog: add recent changes (let/flet/labels and lambda-lists
Daniel Kochmański [Mon, 17 Aug 2015 11:02:47 +0000 (13:02 +0200)]
changelog: add recent changes (let/flet/labels and lambda-lists

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agocmpprop: fix repeated required arguments
Daniel Kochmański [Mon, 17 Aug 2015 10:59:43 +0000 (12:59 +0200)]
cmpprop: fix repeated required arguments

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agolambda-list: Improve error message in c-compiler
Daniel Kochmański [Mon, 17 Aug 2015 10:58:32 +0000 (12:58 +0200)]
lambda-list: Improve error message in c-compiler

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agolambda-list: enforce unique names among required parameters
Daniel Kochmański [Mon, 17 Aug 2015 10:57:25 +0000 (12:57 +0200)]
lambda-list: enforce unique names among required parameters

Signal an error, if two required parameters have the same name.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agocosmetic: undef unused macro
Daniel Kochmański [Mon, 17 Aug 2015 10:26:57 +0000 (12:26 +0200)]
cosmetic: undef unused macro

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoflet/labels: make same function name error message more descriptive
Daniel Kochmański [Mon, 17 Aug 2015 10:15:53 +0000 (12:15 +0200)]
flet/labels: make same function name error message more descriptive

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoLET: signal an error when multiple bindings of the same name occur
Daniel Kochmański [Mon, 17 Aug 2015 08:07:31 +0000 (10:07 +0200)]
LET: signal an error when multiple bindings of the same name occur

This situation is unspecified by ANSI spec – also hard to find
situation, when such construct wouldn't be an error.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoc_leta: don't compute whole list length for optimization
Daniel Kochmański [Sun, 16 Aug 2015 16:28:49 +0000 (18:28 +0200)]
c_leta: don't compute whole list length for optimization

This is interpreter performance tweak. Behavior stays the same.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoflet/labels: signal an error if same name is used more than once
Daniel Kochmański [Sun, 16 Aug 2015 16:25:08 +0000 (18:25 +0200)]
flet/labels: signal an error if same name is used more than once

This behavior is unspecified by the ANSI spec, so we are free to do
that – can't imagine valid usecase of such blocks.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoasdf: update to version 3.1.5.4
Daniel Kochmański [Sat, 15 Aug 2015 07:05:51 +0000 (09:05 +0200)]
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>
9 years agort: add deftask* and untabify sources
Daniel Kochmański [Thu, 13 Aug 2015 19:41:32 +0000 (21:41 +0200)]
rt: add deftask* and untabify sources

deftask* evaluates result agument.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agotests: add test-ansi suite stub
Daniel Kochmański [Thu, 13 Aug 2015 19:40:43 +0000 (21:40 +0200)]
tests: add test-ansi suite stub

For now contains readtable case tests.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agochangelog: add recent changes
Daniel Kochmański [Thu, 13 Aug 2015 14:50:05 +0000 (16:50 +0200)]
changelog: add recent changes

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agotests: mop-dependents: remove typo (?)
Daniel Kochmański [Thu, 13 Aug 2015 12:13:44 +0000 (14:13 +0200)]
tests: mop-dependents: remove typo (?)

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agochangelog: stylistic cleanup provided by Matthew Mondor
Daniel Kochmański [Thu, 13 Aug 2015 07:10:57 +0000 (09:10 +0200)]
changelog: stylistic cleanup provided by Matthew Mondor

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agotests: fix broken testing framework
Daniel Kochmański [Wed, 12 Aug 2015 14:27:24 +0000 (16:27 +0200)]
tests: fix broken testing framework

This still needs refinements, but works.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agotests: fix wrong assumption on assert
Daniel Kochmański [Wed, 12 Aug 2015 12:21:54 +0000 (14:21 +0200)]
tests: fix wrong assumption on assert

Tests using assert assumed it returns (values) — no value, but it
returns nil if assertion is true. Add it to deftests.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoencodings: fix misplaced function reference
Daniel Kochmański [Wed, 12 Aug 2015 11:27:08 +0000 (13:27 +0200)]
encodings: fix misplaced function reference

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agochangelog: update document
Daniel Kochmański [Wed, 12 Aug 2015 09:23:00 +0000 (11:23 +0200)]
changelog: update document

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoexternal-process: rename struct member to error-stream
Daniel Kochmański [Wed, 12 Aug 2015 09:22:29 +0000 (11:22 +0200)]
external-process: rename struct member to error-stream

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: refine documentation for external-process
Daniel Kochmański [Wed, 12 Aug 2015 09:21:27 +0000 (11:21 +0200)]
doc: refine documentation for external-process

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: update run-program documentation
Daniel Kochmański [Wed, 12 Aug 2015 06:57:53 +0000 (08:57 +0200)]
doc: update run-program documentation

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agorun-program: allow further customization of process communication
Daniel Kochmański [Wed, 12 Aug 2015 06:55:13 +0000 (08:55 +0200)]
run-program: allow further customization of process communication

Implement key parameters `if-input-does-not-exist', `if-error-exists'
(for pathnames) and `external-format' for both pathnames and streams.

Fixes #107.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: run-program: correct mistake, add pathname
Daniel Kochmański [Tue, 11 Aug 2015 16:45:20 +0000 (18:45 +0200)]
doc: run-program: correct mistake, add pathname

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: document run-program and external-process
Daniel Kochmański [Tue, 11 Aug 2015 16:25:31 +0000 (18:25 +0200)]
doc: document run-program and external-process

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agosystem: set streams to nil
Daniel Kochmański [Mon, 10 Aug 2015 20:30:59 +0000 (22:30 +0200)]
system: set streams to nil

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agort: fix mixied package lock test
Daniel Kochmański [Mon, 10 Aug 2015 20:02:25 +0000 (22:02 +0200)]
rt: fix mixied package lock test

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agotests: remove unused/outdated/unrelated tests
Daniel Kochmański [Mon, 10 Aug 2015 19:41:58 +0000 (21:41 +0200)]
tests: remove unused/outdated/unrelated tests

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: asdf: update api information
Daniel Kochmański [Sun, 9 Aug 2015 12:32:19 +0000 (14:32 +0200)]
doc: asdf: update api information

Corrections provided by Fare Rideau

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: cosmetic: II.5 line wrap + typos
Daniel Kochmański [Sun, 9 Aug 2015 11:05:17 +0000 (13:05 +0200)]
doc: cosmetic: II.5 line wrap + typos

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: II.4.1 fix typo
Daniel Kochmański [Sun, 9 Aug 2015 10:56:28 +0000 (12:56 +0200)]
doc: II.4.1 fix typo

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: verify and update II.3 (ffi) section
Daniel Kochmański [Sun, 9 Aug 2015 10:54:14 +0000 (12:54 +0200)]
doc: verify and update II.3 (ffi) section

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: run-program: add limitations section
Daniel Kochmański [Sun, 9 Aug 2015 09:38:01 +0000 (11:38 +0200)]
doc: run-program: add limitations section

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: update asdf manual url
Daniel Kochmański [Sun, 9 Aug 2015 09:14:14 +0000 (11:14 +0200)]
doc: update asdf manual url

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agorun-program: error stream default value is :output
Daniel Kochmański [Sun, 9 Aug 2015 09:10:40 +0000 (11:10 +0200)]
run-program: error stream default value is :output

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: fix broken section tag
Daniel Kochmański [Sun, 9 Aug 2015 09:09:10 +0000 (11:09 +0200)]
doc: fix broken section tag

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agotrace: improve warning message
Daniel Kochmański [Sun, 9 Aug 2015 08:53:42 +0000 (10:53 +0200)]
trace: improve warning message

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: I.11.1C: add FFI package
Daniel Kochmański [Sat, 8 Aug 2015 18:25:44 +0000 (20:25 +0200)]
doc: I.11.1C: add FFI package

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: fix typo at 1.5.3
Daniel Kochmański [Sat, 8 Aug 2015 18:14:45 +0000 (20:14 +0200)]
doc: fix typo at 1.5.3

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: mention single-float and double-float built-in-classes in 1.4.1
Daniel Kochmański [Sat, 8 Aug 2015 17:58:08 +0000 (19:58 +0200)]
doc: mention single-float and double-float built-in-classes in 1.4.1

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: fix numbering of "Standard" section to match CLHS
Daniel Kochmański [Sat, 8 Aug 2015 17:41:21 +0000 (19:41 +0200)]
doc: fix numbering of "Standard" section to match CLHS

Fixes #98.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: verify "1. Overview", wrap some lines to 75 characters
Daniel Kochmański [Sat, 8 Aug 2015 17:28:58 +0000 (19:28 +0200)]
doc: verify "1. Overview", wrap some lines to 75 characters

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: add windows 8 to tested platforms
Daniel Kochmański [Sat, 8 Aug 2015 17:10:58 +0000 (19:10 +0200)]
doc: add windows 8 to tested platforms

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: update autoconf section outputs
Daniel Kochmański [Sat, 8 Aug 2015 17:09:47 +0000 (19:09 +0200)]
doc: update autoconf section outputs

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: update history section
Daniel Kochmański [Sat, 8 Aug 2015 17:01:55 +0000 (19:01 +0200)]
doc: update history section

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: remove information about clos being optional
Daniel Kochmański [Sat, 8 Aug 2015 16:49:31 +0000 (18:49 +0200)]
doc: remove information about clos being optional

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoRevert "cmp: ffi: cast `ecl_make_foreign_data' 3rd argument to *(void **)"
Daniel Kochmański [Sat, 8 Aug 2015 06:36:43 +0000 (08:36 +0200)]
Revert "cmp: ffi: cast `ecl_make_foreign_data' 3rd argument to *(void **)"

This reverts commit ab50a55fb183d750b3fa356e32bf112c563bed17.

We can't cast every 3rd argument to *(void **) - this breaks *things*.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agological-pathname-translations: signal error if pathname not defined
Daniel Kochmański [Wed, 5 Aug 2015 12:03:25 +0000 (14:03 +0200)]
logical-pathname-translations: signal error if pathname not defined

If logical pathname wasn't defined yet, signal type error. Fixes #102.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: add documentation as doc subdirectory
Daniel Kochmański [Tue, 4 Aug 2015 19:54:21 +0000 (21:54 +0200)]
doc: add documentation as doc subdirectory

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agochangelog: add section 'API changes'
Daniel Kochmański [Tue, 4 Aug 2015 19:49:21 +0000 (21:49 +0200)]
changelog: add section 'API changes'

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agorun-program: make invalid handler errorr message more readable
Daniel Kochmański [Tue, 4 Aug 2015 10:25:58 +0000 (12:25 +0200)]
run-program: make invalid handler errorr message more readable

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoffi: remove package nickname 'uffi'
Daniel Kochmański [Tue, 4 Aug 2015 10:22:02 +0000 (12:22 +0200)]
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>
9 years agochangelog: update on common changes
Daniel Kochmański [Mon, 3 Aug 2015 14:11:52 +0000 (16:11 +0200)]
changelog: update on common changes

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoformat: fix bug for empty width and fdigits
Daniel Kochmański [Mon, 3 Aug 2015 14:11:32 +0000 (16:11 +0200)]
format: fix bug for empty width and fdigits

When neither w and d weren't set, then k was ignored.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agocmp: ffi: cast `ecl_make_foreign_data' 3rd argument to *(void **)
Daniel Kochmański [Fri, 31 Jul 2015 12:19:35 +0000 (14:19 +0200)]
cmp: ffi: cast `ecl_make_foreign_data' 3rd argument to *(void **)

Some compilers doesn't allow putting function pointers when parameter
type is declared (void *), but it's necessary if we want to use
callbacks. Fixes #99.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agochangelog: add update about unique function names
Daniel Kochmański [Fri, 31 Jul 2015 09:47:06 +0000 (11:47 +0200)]
changelog: add update about unique function names

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agocmp: search for tag only when name is unique
Daniel Kochmański [Fri, 31 Jul 2015 07:29:41 +0000 (09:29 +0200)]
cmp: search for tag only when name is unique

fasl and program init function names are always the same, don't search
for tag in binary files for this two targets.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agocmp: use unique names for inititalization functions of libraries
Daniel Kochmański [Thu, 30 Jul 2015 19:22:25 +0000 (21:22 +0200)]
cmp: use unique names for inititalization functions of libraries

Fixes #74.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agocmp: embed unique tag with init function name in each exported module
Daniel Kochmański [Thu, 30 Jul 2015 19:20:15 +0000 (21:20 +0200)]
cmp: embed unique tag with init function name in each exported module

This is necessary if we want to retrieve function name from compiled
binary, what is necessary if we want to use unique names for this
function. This is necessary for fix of issue #41.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agocmp: make init-function-name consistant with compute-init-name
Daniel Kochmański [Thu, 30 Jul 2015 06:35:03 +0000 (08:35 +0200)]
cmp: make init-function-name consistant with compute-init-name

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agocmp: remove redundant compute-main-name function
Daniel Kochmański [Thu, 30 Jul 2015 06:32:02 +0000 (08:32 +0200)]
cmp: remove redundant compute-main-name function

Same functionality is provided by compute-init-name

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agobuildsystem: add src/*cmp/*.lsp to ecl dependencies
Daniel Kochmański [Thu, 30 Jul 2015 06:29:29 +0000 (08:29 +0200)]
buildsystem: add src/*cmp/*.lsp to ecl dependencies

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agocompiler: bind lexically *readtable* when file is compiled
Daniel Kochmański [Tue, 28 Jul 2015 12:25:29 +0000 (14:25 +0200)]
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>
9 years agoreader: readtable-case works approprietly for :invert and others
Daniel Kochmański [Mon, 27 Jul 2015 19:00:26 +0000 (21:00 +0200)]
reader: readtable-case works approprietly for :invert and others

Reader had problems with converting case. Firstfully, it did convert
case for character literals. Second, it didn't convert characters for
some specific symbol cases (especially when some were escaped). Fixes

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agocosmetic: libffi updates this file on each compilation
Daniel Kochmański [Mon, 27 Jul 2015 18:56:31 +0000 (20:56 +0200)]
cosmetic: libffi updates this file on each compilation

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agochangelog: add new float specializers to changelog
Daniel Kochmański [Mon, 27 Jul 2015 18:56:03 +0000 (20:56 +0200)]
changelog: add new float specializers to changelog

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agocosmetic: short-float: fix inconsistencies with short-float
Daniel Kochmański [Sun, 26 Jul 2015 10:54:10 +0000 (12:54 +0200)]
cosmetic: short-float: fix inconsistencies with short-float

Altough short-float is now implemented as single-float, there are
clear signs that there were attempts / was separate implementation of
that type with partly-abandoned efforts. This patch shapes a bit code
in predlib.lsp and adds comments in appropriate places, that this
files needs to be modified, if such separate implementation occurs.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoclos: add single-float and double-float to built-in class hierarchy
Daniel Kochmański [Sun, 26 Jul 2015 10:41:27 +0000 (12:41 +0200)]
clos: add single-float and double-float to built-in class hierarchy

Some libraries want methods to specialize on double-float and ECL
fails on such attempts. Fixes #96.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>