ecl.git
9 years agoMerge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into heap-size heap-size
Matthew Mondor [Sun, 4 Oct 2015 01:41:02 +0000 (01:41 +0000)]
Merge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into heap-size

9 years agoexamples: fix bogus :move-here argument develop
Daniel Kochmański [Fri, 2 Oct 2015 10:59:50 +0000 (12:59 +0200)]
examples: fix bogus :move-here argument

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agobuilder: provide wrapper for randomized function init name
Daniel Kochmański [Fri, 2 Oct 2015 10:51:22 +0000 (12:51 +0200)]
builder: provide wrapper for randomized function init name

Randomized init funciton name is used internally and prevents symbol
clashes which lead to bugs when loading systems of the same name
(bundles for instance).

On the other hand wrapper provides a way to initialize library from
the C code. In this case it is programmer responsibility to name his
system uniquely. It will initialize it's submodules fine.

Fixes #74. Fixes #177.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoMerge branch 'random-64' into develop
Daniel Kochmański [Thu, 1 Oct 2015 12:11:10 +0000 (14:11 +0200)]
Merge branch 'random-64' into develop

9 years agoMerge branch 'develop' into random-64
Daniel Kochmański [Thu, 1 Oct 2015 12:10:41 +0000 (14:10 +0200)]
Merge branch 'develop' into random-64

9 years agocmpname: don't randomize init function names for libraries
Daniel Kochmański [Thu, 1 Oct 2015 11:25:02 +0000 (13:25 +0200)]
cmpname: don't randomize init function names for libraries

Both shared and static libraries might be linked from C code and names
of the initialization functions has to be known without parsing the
file. Related to #177 and #74. FWIW it doesn't introduce regression on
ADSF bundles (#74) and solves initialization problem (#177).

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agocmp: remove deprecated verbosity variables
Daniel Kochmański [Thu, 1 Oct 2015 09:03:46 +0000 (11:03 +0200)]
cmp: remove deprecated verbosity variables

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agofix bootstrap error printing in universal_error_handler.
Attila Lendvai [Tue, 29 Sep 2015 15:12:57 +0000 (17:12 +0200)]
fix bootstrap error printing in universal_error_handler.

Signed-off-by: Attila Lendvai <attila@lendvai.name>
9 years agochangelog: update
Daniel Kochmański [Wed, 23 Sep 2015 08:08:47 +0000 (10:08 +0200)]
changelog: update

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agocompiler: accept foreign object files
Daniel Kochmański [Wed, 23 Sep 2015 07:03:51 +0000 (09:03 +0200)]
compiler: accept foreign object files

Sometimes we want to build with objects from CFFI (like
wrappers). These doesn't have entry point and initialization
function. If we'll encounter such an object just attach it without
adding it to the initialization queue. Fixes #174.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agochangelog: update wrt 64bit / C99 switch
Daniel Kochmański [Tue, 22 Sep 2015 21:26:09 +0000 (23:26 +0200)]
changelog: update wrt 64bit / C99 switch

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agohash.d: compute hash_string properly
Daniel Kochmański [Tue, 22 Sep 2015 20:55:35 +0000 (22:55 +0200)]
hash.d: compute hash_string properly

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agorandom: provide 64 bit implementation
Daniel Kochmański [Tue, 22 Sep 2015 20:37:48 +0000 (22:37 +0200)]
random: provide 64 bit implementation

This change pulls dependency on C99 types

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agorandom-state: use portable solution
Daniel Kochmański [Tue, 22 Sep 2015 18:36:20 +0000 (20:36 +0200)]
random-state: use portable solution

This results in twice as big array as we could use if uint32_t was
granted with C99 - half of the bytes on 64 bit platforms are filled
with 0. Despite that it's clean and portable solution without
immediate imposing dependency on C99.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agotests: run random-states test on make check
Daniel Kochmański [Tue, 22 Sep 2015 16:36:00 +0000 (18:36 +0200)]
tests: run random-states test on make check

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agocosmetic: use (void) instead of ()
Daniel Kochmański [Tue, 22 Sep 2015 16:07:21 +0000 (18:07 +0200)]
cosmetic: use (void) instead of ()

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agorandom-state: more informative message
Daniel Kochmański [Tue, 22 Sep 2015 14:32:50 +0000 (16:32 +0200)]
random-state: more informative message

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agorandom-state: use 32 bit types for 32 bit implementation
Daniel Kochmański [Tue, 22 Sep 2015 14:16:40 +0000 (16:16 +0200)]
random-state: use 32 bit types for 32 bit implementation

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoversion: bump version to 16.1.0
Daniel Kochmański [Mon, 21 Sep 2015 17:42:38 +0000 (19:42 +0200)]
version: bump version to 16.1.0

We have API changes (#$ and with-rwlock) and various bugfixes. Note
that it's not the release yet, just version bump.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: update random-sates section
Daniel Kochmański [Mon, 21 Sep 2015 17:38:30 +0000 (19:38 +0200)]
doc: update random-sates section

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agorandom: add regression tests
Daniel Kochmański [Mon, 21 Sep 2015 17:14:20 +0000 (19:14 +0200)]
random: add regression tests

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agorandom: update changelog
Daniel Kochmański [Mon, 21 Sep 2015 16:15:14 +0000 (18:15 +0200)]
random: update changelog

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agorandom-state: allow initialization from the array
Daniel Kochmański [Mon, 21 Sep 2015 16:08:50 +0000 (18:08 +0200)]
random-state: allow initialization from the array

Array used for initialization is an array of the final values of
internal vector used to generate next randoms which should be a
product of initialization from a random seed.

This ability is required by CLHS to be able to read back the printed
random state. To print readable representation of random state
*print-readably* should be bound to T.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agorandom-state: use byte32 array for internal representation
Daniel Kochmański [Mon, 21 Sep 2015 15:09:39 +0000 (17:09 +0200)]
random-state: use byte32 array for internal representation

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agorandom: add comment for 64 rng
Daniel Kochmański [Mon, 21 Sep 2015 08:30:07 +0000 (10:30 +0200)]
random: add comment for 64 rng

Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
9 years agoinit-random: fix #$ for fixnums (allow providing seed)
Daniel Kochmański [Mon, 21 Sep 2015 08:22:51 +0000 (10:22 +0200)]
init-random: fix #$ for fixnums (allow providing seed)

Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
9 years agoinit-random: move array allocation to init_genrand
Daniel Kochmański [Mon, 21 Sep 2015 08:21:44 +0000 (10:21 +0200)]
init-random: move array allocation to init_genrand

Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
9 years agoinit-random-state: factor out function taking seed argument
Daniel Kochmański [Sun, 20 Sep 2015 16:34:15 +0000 (18:34 +0200)]
init-random-state: factor out function taking seed argument

We want this to be able to initialize random state from the fixnum and
from the array (following commits). This also simplifies code a
little.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agocosmetic: add copyright and fix whitespaces
Daniel Kochmański [Sun, 20 Sep 2015 14:30:53 +0000 (16:30 +0200)]
cosmetic: add copyright and fix whitespaces

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agorandom: correct Mersenne-Twister RNG initializer
Daniel Kochmański [Sun, 20 Sep 2015 11:04:42 +0000 (13:04 +0200)]
random: correct Mersenne-Twister RNG initializer

Previous code had some deviations from the original algorithm and a
bug preventing the use of the value acquired from /dev/urandom. This
is the corrected version.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoinit_random: fix typo affecting random state seed
Daniel Kochmański [Sun, 20 Sep 2015 10:00:28 +0000 (12:00 +0200)]
init_random: fix typo affecting random state seed

Implementation of random seed buffer filler for windows were shadowing
using /dev/urandom source. I'm convinced that author's intention was
to put there "else".

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agonum_random: remove dead code
Daniel Kochmański [Sun, 20 Sep 2015 09:57:01 +0000 (11:57 +0200)]
num_random: remove dead code

Removal of obsolete number generator working on fixnum. It was
conditionally defined with 0 so it's a dead code.

9 years agoMerge branch 'broken-symlinks' into 'develop'
Matthew Mondor [Fri, 18 Sep 2015 19:31:55 +0000 (19:31 +0000)]
Merge branch 'broken-symlinks' into 'develop'

directories: don't break on broken symlinks

ECL when asked for a truename of a broken symbolic link signalled an
`file-error'. This isn't non-conformity, because spec doesn't specify
such situation, but lead to annoying errors with DIRECTORIES when even
irrelevant files were broken symlinks.

New behavior is as follows - broken symlinks are treated as regular
files (of :LINK kind) and no error is signalled. They aren't ignored
due to a few corner cases related to PROBE-FILE, OPEN and such.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
See merge request !13

9 years agoMerge branch 'backquote-reader-fix' into 'develop'
Matthew Mondor [Fri, 18 Sep 2015 19:22:47 +0000 (19:22 +0000)]
Merge branch 'backquote-reader-fix' into 'develop'

reader: fix backquote reader if the input is incomplete

This makes behaviour consistent with single-quote reader. Fixes #159.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
See merge request !12

9 years agochangelog: update
Daniel Kochmański [Fri, 18 Sep 2015 16:28:42 +0000 (18:28 +0200)]
changelog: update

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: typo
Daniel Kochmański [Fri, 18 Sep 2015 16:26:14 +0000 (18:26 +0200)]
doc: typo

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodirectories: don't break on broken symlinks
Daniel Kochmański [Fri, 18 Sep 2015 16:18:06 +0000 (18:18 +0200)]
directories: don't break on broken symlinks

ECL when asked for a truename of a broken symbolic link signalled an
`file-error'. This isn't non-conformity, because spec doesn't specify
such situation, but lead to annoying errors with DIRECTORIES when even
irrelevant files were broken symlinks.

New behavior is as follows - broken symlinks are treated as regular
files (of :LINK kind) and no error is signalled. They aren't ignored
due to a few corner cases related to PROBE-FILE, OPEN and such.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: mention directory additional key argument
Daniel Kochmański [Fri, 18 Sep 2015 16:16:18 +0000 (18:16 +0200)]
doc: mention directory additional key argument

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoreader: fix backquote reader if the input is incomplete
Daniel Kochmański [Fri, 18 Sep 2015 09:51:21 +0000 (11:51 +0200)]
reader: fix backquote reader if the input is incomplete

This makes behaviour consistent with single-quote reader. Fixes #159.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agorun-program: declare additional keys in symbols_list.h
Daniel Kochmański [Fri, 18 Sep 2015 09:31:26 +0000 (11:31 +0200)]
run-program: declare additional keys in symbols_list.h

Each key used in core environment has to be declared beforehand in
`symbols_list.h'. Fixes #166. Fixes #149.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoMerge branch 'develop' of ginseng.xisop:/home/data/git/public/ecl into heap-size
Matthew Mondor [Sat, 12 Sep 2015 10:33:43 +0000 (06:33 -0400)]
Merge branch 'develop' of ginseng.xisop:/home/data/git/public/ecl into heap-size

Conflicts:
CHANGELOG
src/c/main.d
src/c/stacks.d

9 years agoMerge branch 'heap-size-agreed' into 'develop' origin/develop
Daniel Kochmański [Sat, 12 Sep 2015 08:15:01 +0000 (08:15 +0000)]
Merge branch 'heap-size-agreed' into 'develop'

Heap related fixes

- User-defined heap sizes can now exceed the size of a fixnum on 32-bit
  Fixes issue #140

- The heap size limit was intended to be 1GB on 32-bit or 4GB on 64-bit
  but inconsistency between ECL_FIXNUM_BITS and FIXNUM_BITS in the code
  prevented the heap to grow for 64-bit.  This now occurs, and a few
  other less visible bugs were fixed by restoring consistency to
  ECL_FIXNUM_BITS.

See merge request !11

9 years ago- User-defined heap sizes can now exceed the size of a fixnum on 32-bit
Matthew Mondor [Fri, 11 Sep 2015 20:54:18 +0000 (16:54 -0400)]
- User-defined heap sizes can now exceed the size of a fixnum on 32-bit
  Fixes issue #140

- The heap size limit was intended to be 1GB on 32-bit or 4GB on 64-bit
  but inconsistency between ECL_FIXNUM_BITS and FIXNUM_BITS in the code
  prevented the heap to grow for 64-bit.  This now occurs, and a few
  other less visible bugs were fixed by restoring consistency to
  ECL_FIXNUM_BITS.

9 years agoMerge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into heap-size origin/heap-size
Matthew Mondor [Fri, 11 Sep 2015 19:56:15 +0000 (15:56 -0400)]
Merge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into heap-size

Conflicts:
CHANGELOG

9 years agochangelog: update
Daniel Kochmański [Fri, 11 Sep 2015 15:44:58 +0000 (17:44 +0200)]
changelog: update

9 years agoannotation: turn annotation logic on
Daniel Kochmański [Fri, 11 Sep 2015 14:23:32 +0000 (16:23 +0200)]
annotation: turn annotation logic on

This was disabled from outside of ecl-min (not sure why). Achieved
with bounding ext::*register-with-pde-hook* to already defined

Works ok with swank for both macros and functions.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: fix documnetation builds
Daniel Kochmański [Fri, 11 Sep 2015 12:23:16 +0000 (14:23 +0200)]
doc: fix documnetation builds

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: ansi-streams: correct encodings package
Daniel Kochmański [Fri, 11 Sep 2015 12:16:31 +0000 (14:16 +0200)]
doc: ansi-streams: correct encodings package

Fixes #139.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoasdf: fix problem with uiop:run-program until we upgrade to next ASDF
Daniel Kochmański [Fri, 11 Sep 2015 10:56:10 +0000 (12:56 +0200)]
asdf: fix problem with uiop:run-program until we upgrade to next ASDF

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoexternal-process-wait: check code after status change
Daniel Kochmański [Fri, 11 Sep 2015 09:49:02 +0000 (11:49 +0200)]
external-process-wait: check code after status change

Related to #149

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoMerge branch 'develop' into 'develop'
Daniel Kochmański [Mon, 7 Sep 2015 14:42:13 +0000 (14:42 +0000)]
Merge branch 'develop' into 'develop'

cosmetic: fix a minor typo

See merge request !10

9 years agofix a minor typo
Denis Martinez [Mon, 7 Sep 2015 13:27:06 +0000 (15:27 +0200)]
fix a minor typo

9 years agoUpdate CHANGELOG for various recent fixes
Matthew Mondor [Mon, 7 Sep 2015 10:06:36 +0000 (06:06 -0400)]
Update CHANGELOG for various recent fixes

9 years ago- si_get_limit() must deal with size_t for heap-size too
Matthew Mondor [Sun, 6 Sep 2015 11:47:12 +0000 (07:47 -0400)]
- si_get_limit() must deal with size_t for heap-size too
- add comments for the size_t exceptions

9 years agoUse %lu with (unsigned long) casting instead of relying on C99 %zd.
Matthew Mondor [Sat, 5 Sep 2015 22:16:37 +0000 (18:16 -0400)]
Use %lu with (unsigned long) casting instead of relying on C99 %zd.
Cleanup the output text, which was confusing when using a custom
heap size limit.

9 years agoUse size_t as well as (size_t)ecl_to_ulong() for the heap size
Matthew Mondor [Sat, 5 Sep 2015 21:50:03 +0000 (17:50 -0400)]
Use size_t as well as (size_t)ecl_to_ulong() for the heap size
parameter, since cl_index with ecl_to_size() could not handle
expected values for heap-size on 32-bit systems.

9 years agoMore text cleanup
Matthew Mondor [Sat, 5 Sep 2015 09:56:26 +0000 (05:56 -0400)]
More text cleanup

9 years agoAdd size_t casting where needed (on 32-bit 0 would be printed in
Matthew Mondor [Sat, 5 Sep 2015 09:48:03 +0000 (05:48 -0400)]
Add size_t casting where needed (on 32-bit 0 would be printed in
some cases otherwise).

9 years agoHeap size related warnings now accumulate into a buffer which the
Matthew Mondor [Sat, 5 Sep 2015 07:34:00 +0000 (03:34 -0400)]
Heap size related warnings now accumulate into a buffer which the
toplevel prints if it's available.  The warning messages were also
cleaned-up.

9 years agoMerge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into heap-size
Matthew Mondor [Fri, 4 Sep 2015 19:49:53 +0000 (15:49 -0400)]
Merge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into heap-size

9 years agoMerge branch 'infinity-fix' into 'develop'
Matthew Mondor [Fri, 4 Sep 2015 19:42:38 +0000 (19:42 +0000)]
Merge branch 'infinity-fix' into 'develop'

Infinity fix

Produce valid C code for all kinds of infinity

I have also pending NaN changes, but this requires more work.

See merge request !9

9 years agochangelog: update changelog
Daniel Kochmański [Fri, 4 Sep 2015 19:20:51 +0000 (21:20 +0200)]
changelog: update changelog

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoinfinity: add regression tests
Daniel Kochmański [Fri, 4 Sep 2015 19:05:24 +0000 (21:05 +0200)]
infinity: add regression tests

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agointernal.h: fake ISO C99 INFINITY and NAN if not defined
Daniel Kochmański [Fri, 4 Sep 2015 18:58:31 +0000 (20:58 +0200)]
internal.h: fake ISO C99 INFINITY and NAN if not defined

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agocmpc: when infinity is used, emit macro "INFINITY"
Daniel Kochmański [Fri, 4 Sep 2015 10:59:59 +0000 (12:59 +0200)]
cmpc: when infinity is used, emit macro "INFINITY"

and "-INFINITY" for negative infinity. These corner-cases lead to
compilation error, so no regression will be imposed even against
non-c99 compilers.

INFINITY and NAN macros are introduced by C99 standard, so such code
requires C-backend to support this math extension. Fixes #156.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agochangelog: update
Daniel Kochmański [Fri, 4 Sep 2015 19:31:16 +0000 (21:31 +0200)]
changelog: update

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoregression: add back removed interfaces
Daniel Kochmański [Fri, 4 Sep 2015 19:29:08 +0000 (21:29 +0200)]
regression: add back removed interfaces

Adds back ecl_import_current_thread and ecl_release_current_thread.
Closes #8.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agochangelog: update changelog
Daniel Kochmański [Fri, 4 Sep 2015 06:59:58 +0000 (08:59 +0200)]
changelog: update changelog

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoformat: float: use prin1 when passed NaN or infinity
Daniel Kochmański [Fri, 4 Sep 2015 06:58:27 +0000 (08:58 +0200)]
format: float: use prin1 when passed NaN or infinity

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoMerge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into heap-size
Matthew Mondor [Fri, 4 Sep 2015 04:52:07 +0000 (00:52 -0400)]
Merge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into heap-size

9 years agostyle: fix broken modeline
Daniel Kochmański [Fri, 4 Sep 2015 04:45:50 +0000 (06:45 +0200)]
style: fix broken modeline

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoMerge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into heap-size
Matthew Mondor [Thu, 3 Sep 2015 20:19:51 +0000 (16:19 -0400)]
Merge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into heap-size

9 years agoMerge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into develop
Matthew Mondor [Thu, 3 Sep 2015 20:18:01 +0000 (16:18 -0400)]
Merge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into develop

9 years agoFix some fallout from the script to correct/add Emacs and ViM syntax
Matthew Mondor [Thu, 3 Sep 2015 20:16:12 +0000 (16:16 -0400)]
Fix some fallout from the script to correct/add Emacs and ViM syntax
directives.  Some files had more than one existing Emacs directives,
breaking the script which didn't expect this.

9 years agocosmetic: bdwgc: remove autom4te.cache
Daniel Kochmański [Thu, 3 Sep 2015 19:47:47 +0000 (21:47 +0200)]
cosmetic: bdwgc: remove autom4te.cache

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoMerge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into heap-size
Matthew Mondor [Thu, 3 Sep 2015 19:24:53 +0000 (15:24 -0400)]
Merge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into heap-size

9 years agoMerge branch 'style' into 'develop'
Daniel Kochmański [Thu, 3 Sep 2015 18:07:04 +0000 (18:07 +0000)]
Merge branch 'style' into 'develop'

"style" temporary branch

The ECL code no longer uses tabulator characters, they were replaced
by spaces.

A custom script was used to insert/replace Emacs and ViM per-file editor
settings according to their type and the new ECL coding style.

See merge request !8

9 years agoThe ECL code no longer uses tabulator characters, they were replaced
Matthew Mondor [Thu, 3 Sep 2015 11:35:47 +0000 (07:35 -0400)]
The ECL code no longer uses tabulator characters, they were replaced
by spaces.

A custom script was used to insert/replace Emacs and ViM per-file editor
settings according to their type and the new ECL coding style.

9 years agoprinter: coerce float infinity more roboustly
Daniel Kochmański [Thu, 3 Sep 2015 06:47:00 +0000 (08:47 +0200)]
printer: coerce float infinity more roboustly

Basically use C function instead of a generic Lisp one.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoprinter: float infinity/nan: coerce printed form to base-string
Daniel Kochmański [Thu, 3 Sep 2015 06:12:08 +0000 (08:12 +0200)]
printer: float infinity/nan: coerce printed form to base-string

CLOS printer uses normal strings while float_to_string.d calls
push_base_string to cache printable form of infinity (and nan). Coerce
clos strings to base-string. Fixes #153. Related to #114.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoMerge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into heap-size
Matthew Mondor [Wed, 2 Sep 2015 21:56:15 +0000 (17:56 -0400)]
Merge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into heap-size

9 years agotests: add stress tests submitted by James M. Lawrence
Daniel Kochmański [Wed, 2 Sep 2015 19:29:30 +0000 (21:29 +0200)]
tests: add stress tests submitted by James M. Lawrence

This suite needs integration and tweaking to avoid infinite loop.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoMerge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into develop
Daniel Kochmański [Wed, 2 Sep 2015 13:59:35 +0000 (15:59 +0200)]
Merge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into develop

9 years agogmp: issue autoreconf -ivf (fixes ppc64le builds)
Daniel Kochmański [Wed, 2 Sep 2015 13:59:18 +0000 (15:59 +0200)]
gmp: issue autoreconf -ivf (fixes ppc64le builds)

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoMerge branch 'cleanup-testing' into 'develop'
Philipp Marek [Wed, 2 Sep 2015 10:22:45 +0000 (10:22 +0000)]
Merge branch 'cleanup-testing' into 'develop'

Cleanup testing

Separated tests from auxiliary tools, merged tests into files corresponding to interface (aspects are separated with ^L, navigable with C-x [ and C-x ]), renamed "bugs" to "regressions" - what these tests really are.

TODO (in indefinete future):
- some tests have auxiliary functions, these should be moved to auxiliary/ directory and loaded from there, so test files contain only tests

- add back ansi-tests suite as git subtree (to keep in sync with upstream on demand)

- add mop-features suite (subtree)

- modify deftest macro to "remember" file, from which test was load and report that back

- keep test suites / interfaces in separate packages

- make running tests possible without installing ECL (not tests thing though, rather buildsystem)

See merge request !7

9 years agoMerge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into develop
Daniel Kochmański [Wed, 2 Sep 2015 09:09:49 +0000 (11:09 +0200)]
Merge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into develop

9 years agocosmetic: rename Copyright to LICENSE
Daniel Kochmański [Wed, 2 Sep 2015 09:09:04 +0000 (11:09 +0200)]
cosmetic: rename Copyright to LICENSE

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agotests: rename 'bugs' to 'regressions'
Daniel Kochmański [Wed, 2 Sep 2015 08:51:51 +0000 (10:51 +0200)]
tests: rename 'bugs' to 'regressions'

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agochangelog: upate wrt testing
Daniel Kochmański [Wed, 2 Sep 2015 08:40:09 +0000 (10:40 +0200)]
changelog: upate wrt testing

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoMerge branch 'develop' into cleanup-testing
Daniel Kochmański [Wed, 2 Sep 2015 08:38:54 +0000 (10:38 +0200)]
Merge branch 'develop' into cleanup-testing

9 years agotests: fix remaing things
Daniel Kochmański [Wed, 2 Sep 2015 08:36:27 +0000 (10:36 +0200)]
tests: fix remaing things

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agotests: adjust files
Daniel Kochmański [Wed, 2 Sep 2015 07:33:16 +0000 (09:33 +0200)]
tests: adjust files

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agotests: Move tests to separate directory
Daniel Kochmański [Wed, 2 Sep 2015 07:22:24 +0000 (09:22 +0200)]
tests: Move tests to separate directory

Don't keep them in same directory as aux tools

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoMerge branch 'develop' into 'develop'
Daniel Kochmański [Wed, 2 Sep 2015 06:56:06 +0000 (06:56 +0000)]
Merge branch 'develop' into 'develop'

cosmetic: Untabify everything.

If anything has been messed up (which it seems there hasn't), let me know.

See merge request !6

9 years agoUntabify everything.
Zack Piper [Tue, 1 Sep 2015 20:10:10 +0000 (20:10 +0000)]
Untabify everything.

9 years agotests: rename ffi and emb tests
Daniel Kochmański [Tue, 1 Sep 2015 16:13:53 +0000 (18:13 +0200)]
tests: rename ffi and emb tests

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agotests: merge reported bugs and mixed regressions
Daniel Kochmański [Tue, 1 Sep 2015 16:11:55 +0000 (18:11 +0200)]
tests: merge reported bugs and mixed regressions

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agotests: merge compiler tests to compiler.lsp (missing files)
Daniel Kochmański [Tue, 1 Sep 2015 16:03:27 +0000 (18:03 +0200)]
tests: merge compiler tests to compiler.lsp (missing files)

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agotests: merge compiler tests to compiler.lsp
Daniel Kochmański [Tue, 1 Sep 2015 15:32:03 +0000 (17:32 +0200)]
tests: merge compiler tests to compiler.lsp

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agotests: merge sourceforge reports to reported-bugs
Daniel Kochmański [Tue, 1 Sep 2015 15:19:41 +0000 (17:19 +0200)]
tests: merge sourceforge reports to reported-bugs

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