ecl.git
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>
9 years agotests: merge multiprocessing tests (a few left)
Daniel Kochmański [Tue, 1 Sep 2015 15:08:14 +0000 (17:08 +0200)]
tests: merge multiprocessing tests (a few left)

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agotests: merge multiprocessing tests
Daniel Kochmański [Tue, 1 Sep 2015 14:54:46 +0000 (16:54 +0200)]
tests: merge multiprocessing tests

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agotests: merge metaobject protocol tests
Daniel Kochmański [Tue, 1 Sep 2015 14:42:11 +0000 (16:42 +0200)]
tests: merge metaobject protocol tests

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agochangelog: add #s fix
Daniel Kochmański [Tue, 1 Sep 2015 14:35:55 +0000 (16:35 +0200)]
changelog: add #s fix

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agotests: add regression test for #s reader
Daniel Kochmański [Tue, 1 Sep 2015 14:34:25 +0000 (16:34 +0200)]
tests: add regression test for #s reader

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agosharp-s-reader: read should be invoked recursively
Daniel Kochmański [Tue, 1 Sep 2015 13:07:06 +0000 (15:07 +0200)]
sharp-s-reader: read should be invoked recursively

Patch provided by drmeister. Test case:

(defstruct foo a)
(read-from-string
 "(#1=\"Hello\" #S(FOO :A #1#))"))

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agotests: merge external-format tests
Daniel Kochmański [Tue, 1 Sep 2015 12:57:23 +0000 (14:57 +0200)]
tests: merge external-format tests

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoupdate readme (typos)
Daniel Kochmański [Mon, 31 Aug 2015 08:22:52 +0000 (08:22 +0000)]
update readme (typos)

9 years agoMerge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into develop
Daniel Kochmański [Mon, 31 Aug 2015 06:58:15 +0000 (08:58 +0200)]
Merge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into develop

9 years agoIt appears that the larget the heap, the larger heap_gap must be.
Matthew Mondor [Mon, 31 Aug 2015 05:38:59 +0000 (01:38 -0400)]
It appears that the larget the heap, the larger heap_gap must be.
After some more testing, adapt to 50MB of additional heap gap per
1GB of heap size.

9 years agoMerge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into heap-size
Matthew Mondor [Mon, 31 Aug 2015 05:14:19 +0000 (01:14 -0400)]
Merge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into heap-size

Conflicts:
msvc/ecl/config.h.msvc6
src/c/big.d
src/c/main.d

Conflicts fixed.

9 years agoMerge branch 'fixnum-bits' into 'develop'
Matthew Mondor [Mon, 31 Aug 2015 05:06:47 +0000 (05:06 +0000)]
Merge branch 'fixnum-bits' into 'develop'

FIXNUM_BITS -> ECL_FIXNUM_BITS consistently, second try

Somehow the develop branch still used a mix of both

See merge request !5

9 years agoAvoid constant value 32-bit rollback for 64-bit/4GB heap
Matthew Mondor [Mon, 31 Aug 2015 02:59:43 +0000 (22:59 -0400)]
Avoid constant value 32-bit rollback for 64-bit/4GB heap

9 years agoFIXNUM_BITS -> ECL_FIXNUM_BITS consistently, second try
Matthew Mondor [Sun, 30 Aug 2015 20:35:14 +0000 (16:35 -0400)]
FIXNUM_BITS -> ECL_FIXNUM_BITS consistently, second try

9 years agocosmetic: remove spaces on blank lines
Daniel Kochmański [Sun, 30 Aug 2015 09:54:00 +0000 (11:54 +0200)]
cosmetic: remove spaces on blank lines

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoMerge branch 'heap-size' of gitlab.com:embeddable-common-lisp/ecl into heap-size
Matthew Mondor [Sun, 30 Aug 2015 08:22:45 +0000 (04:22 -0400)]
Merge branch 'heap-size' of gitlab.com:embeddable-common-lisp/ecl into heap-size

9 years agoFIXNUM_BITS -> ECL_FIXNUM_BITS
Matthew Mondor [Sun, 30 Aug 2015 08:21:25 +0000 (04:21 -0400)]
FIXNUM_BITS -> ECL_FIXNUM_BITS

9 years agoMerge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into heap-size
Matthew Mondor [Sun, 30 Aug 2015 08:20:16 +0000 (04:20 -0400)]
Merge branch 'develop' of gitlab.com:embeddable-common-lisp/ecl into heap-size

9 years agoreadme: a few stylistic cleanups
Daniel Kochmański [Sun, 30 Aug 2015 08:16:31 +0000 (10:16 +0200)]
readme: a few stylistic cleanups

As suggested by Matthew Mondor capitalized "Lisp" and specified
additional information. Fixes #148.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoMerge branch 'fixnum-bits' into 'heap-size'
Daniel Kochmański [Sun, 30 Aug 2015 07:59:56 +0000 (07:59 +0000)]
Merge branch 'fixnum-bits' into 'heap-size'

FIXNUM_BITS -> ECL_FIXNUM_BITS

Assumes that ECL_FIXNUM_BITS was what was wanted (presumably prefixed
with ECL_ to make it a public C API).  The code used a mix of
ECL_FIXNUM_BITS and FIXNUM_BITS, with only FIXNUM_BITS being defined,
meaning that there also previously were bugs in main.d and ffi.d.

Addresses issue #147.

See merge request !4

9 years agoAssumes that ECL_FIXNUM_BITS was what was wanted (presumably prefixed
Matthew Mondor [Sun, 30 Aug 2015 06:44:05 +0000 (02:44 -0400)]
Assumes that ECL_FIXNUM_BITS was what was wanted (presumably prefixed
with ECL_ to make it a public C API).  The code used a mix of
ECL_FIXNUM_BITS and FIXNUM_BITS, with only FIXNUM_BITS being defined,
meaning that there also previously were bugs in main.d and ffi.d.

Addresses issue #147.

9 years ago- Use FIXNUM_BITS rather than ECL_FIXNUM_BITS which was undefined
Matthew Mondor [Sun, 30 Aug 2015 06:14:57 +0000 (02:14 -0400)]
- Use FIXNUM_BITS rather than ECL_FIXNUM_BITS which was undefined
  (the old code was bogus too on that respect)
- To prevent 32-bit rounding append L to the default heap size definitions
- Also print the fixnum bit size and default heap in the debug log

9 years agocosmetic: change label name from ERR to ERROR
Daniel Kochmański [Sat, 29 Aug 2015 18:37:25 +0000 (20:37 +0200)]
cosmetic: change label name from ERR to ERROR

First netbsd patch is partly applied (we have dragonfly platform), but
it drops solaris 10 support which we don't. Second is cosmetic and
applied right now. Fixes #144.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agochangelog: update
Daniel Kochmański [Sat, 29 Aug 2015 18:28:00 +0000 (20:28 +0200)]
changelog: update

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agochangelog: check for GC_get_thr_restart_signal only on threaded build
Daniel Kochmański [Sat, 29 Aug 2015 18:25:31 +0000 (20:25 +0200)]
changelog: check for GC_get_thr_restart_signal only on threaded build

ECL checked for GC_get_thr_restart_signal even if was built without
threads. This function is present in boehm only when it's build with
threads, but we don't need this functionality for single-threaded
builds. Fixes #146.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agochangelog: found 13.5.1 changes - added
Daniel Kochmański [Sat, 29 Aug 2015 17:49:04 +0000 (19:49 +0200)]
changelog: found 13.5.1 changes - added

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years ago- Replace tabs by spaces (the other codebases I work on all use tabs :)
Matthew Mondor [Fri, 28 Aug 2015 22:44:05 +0000 (18:44 -0400)]
- Replace tabs by spaces (the other codebases I work on all use tabs :)
- After looking at grusage() it seems that we cannot use this to adapt heap_gap
- heap_gap demonstrated to be necessary, at least for now, now set at 50MB
- Minor cleanups

To test:

- Reduce the heap size limit by reducing the soft RLIMIT_DATA of
  your current shell.  On sh, this can be done using ulimit -d
  <kilobytes>.  Either reduce it smaller than the ECL default heap
  (1GB on 32-bit, 4GB on 64-bit), or specify a larger heap limit to
  ECL starting it with the --heap-size <bytes> option (but note that
  because of another bug it may be difficult to increase it very
  high).
- Start ECL, notice the HEAP-WARNING: messages which should show
  that the soft limit was increased to satisfy the heap.
- Run allocations until either ECL freezes or reports a heap error.
   the test is successful, it should report, not freeze, obviously :)
  Example test to run:

(defparameter *allocations* 16384)
(defparameter *alloc-size* 4096)
(defvar *queue* (make-array 1024
                            :adjustable t
                            :fill-pointer 0))

(defun test1 ()
  (loop
     repeat *allocations*
     do
       (vector-push-extend (make-array *alloc-size*
                                       :element-type '(unsigned-byte 8)
                                       :adjustable nil
                                       :initial-element #x00
                                       :fill-pointer *alloc-size*)
                           *queue*
                           0))) ; Grows automatically +1/2 size on ECL

Run (test1) as often as necessary (and observe heap grow in top(1) etc).

What remains to do before this branch can be merged:
- More testing, and confirmation that 50MB heap_gap is enough for others
- Removal of debug messages
- Perhaps issuing a single message about the size the heap was changed to
  and why, but only when in ECL-REPL interactive mode startup
- If possible, determining the value for heap_gap at runtime,
  instead of guessing it, but it seems tricky to do portably.

9 years ago- Use %zd rather than %d for the w() verbose debug function
Matthew Mondor [Fri, 28 Aug 2015 20:00:32 +0000 (16:00 -0400)]
- Use %zd rather than %d for the w() verbose debug function
- Cleanup code, first start with hard limit, then soft limit

9 years agochangelog: add new MP functions
Daniel Kochmański [Fri, 28 Aug 2015 11:21:14 +0000 (13:21 +0200)]
changelog: add new MP functions

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoMerge branch 'master' into develop
Daniel Kochmański [Fri, 28 Aug 2015 11:17:07 +0000 (13:17 +0200)]
Merge branch 'master' into develop

9 years agochangelog: update master origin/master ECL-16.0.0
Daniel Kochmański [Fri, 28 Aug 2015 10:52:18 +0000 (12:52 +0200)]
changelog: update

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoMerge branch 'ECL-16.0.0-rc1'
Daniel Kochmański [Fri, 28 Aug 2015 10:44:54 +0000 (12:44 +0200)]
Merge branch 'ECL-16.0.0-rc1'

9 years agoRevert autoconf changes, as stacks.d already could use rlimit using
Matthew Mondor [Fri, 28 Aug 2015 01:10:45 +0000 (21:10 -0400)]
Revert autoconf changes, as stacks.d already could use rlimit using
other conditionals; use similar ones in main.d.

Some bug fixes in main.d's fix_heap_size(), and verbose warnings
were currently added to help testing.

9 years agoAlso verify for HAVE_GETRLIMIT in fix_heap_size().
Matthew Mondor [Thu, 27 Aug 2015 18:57:23 +0000 (14:57 -0400)]
Also verify for HAVE_GETRLIMIT in fix_heap_size().

9 years agoMerge branch 'heap-size' of gitlab.com:embeddable-common-lisp/ecl into heap-size
Matthew Mondor [Thu, 27 Aug 2015 18:28:06 +0000 (14:28 -0400)]
Merge branch 'heap-size' of gitlab.com:embeddable-common-lisp/ecl into heap-size

9 years agoECL's default heap (1GB on 32-bit or 4GB on 64-bit) can sometimes
Matthew Mondor [Thu, 27 Aug 2015 18:08:06 +0000 (14:08 -0400)]
ECL's default heap (1GB on 32-bit or 4GB on 64-bit) can sometimes
be higher than the OS's process rlimit is, especially the soft limit.
Consider this default heap, as well as any user-specified heap size
as a target, and adapt as necessary the heap size according to the
soft and hard rlimits if any.
We attempt to grow the soft limit if possible to reach the target,
but as necessary lower the heap size.
Otherwise, when ECL experiences allocation errors and attempts to
report these, needing even more allocations to do so, it can end
up locked in a busy loop.  It's better to gracefully report that the
heap should be grown instead.

9 years agoECL's default heap (1GB on 32-bit or 4GB on 64-bit) can sometimes
Matthew Mondor [Thu, 27 Aug 2015 18:08:06 +0000 (14:08 -0400)]
ECL's default heap (1GB on 32-bit or 4GB on 64-bit) can sometimes
be higher than the OS's process rlimit is, especially the soft limit.
Consider this default heap, as well as any user-specified heap size
as a target, and adapt as necessary the heap size according to the
soft and hard rlimits if any.
We attempt to grow the soft limit if possible to reach the target,
but as necessary lower the heap size.
Otherwise, when ECL experiences allocation errors and attempts to
report these, needing even more allocations to do so, it can end
up locked in a busy loop.  It's better to gracefull report that the
heap should be growed instead.

9 years agoChange *FEATURES* name :NEW to :WAKLER (clos/walk.lsp) after
Matthew Mondor [Thu, 27 Aug 2015 08:40:18 +0000 (04:40 -0400)]
Change *FEATURES* name :NEW to :WAKLER (clos/walk.lsp) after
discussion

9 years agoMerge branch 'mmondor' into 'develop'
Matthew Mondor [Thu, 27 Aug 2015 07:39:10 +0000 (07:39 +0000)]
Merge branch 'mmondor' into 'develop'

mmondor -> develop (with-rwlock …)

See merge request !2

9 years ago Implement a few non-blocking MP functions:
Matthew Mondor [Wed, 26 Aug 2015 16:31:19 +0000 (12:31 -0400)]
 Implement a few non-blocking MP functions:

 MP:TRY-GET-SEMAPHORE
   returns NIL if the semaphore could not be obtained, or the count
   if it could be obtained

 MP:MAILBOX-TRY-READ
   returns a message if it's available, NIL if the queue is empty

 MP:MAILBOX-TRY-SEND
   returns the sent message if it could be queued, or NIL
   (mailbox is full)

9 years agoImplement MP:WITH-RWLOCK
Matthew Mondor [Wed, 26 Aug 2015 13:51:34 +0000 (09:51 -0400)]
Implement MP:WITH-RWLOCK

9 years ago - Dynamically bind the condition as well in the debugger, not only
Matthew Mondor [Wed, 26 Aug 2015 13:36:38 +0000 (09:36 -0400)]
 - Dynamically bind the condition as well in the debugger, not only
   the message (the condition object holds important data which can be
   used programmatically).
 - Raise some *PRINT-LENGTH* limits in the debugger.  Having a limit
   is wise, but when it is too short the debugger can be rather
   useless.  Use 16 instead of the previous 2 or 4.

9 years agoconfig.lsp: implement uname stub for ecl-min
Daniel Kochmański [Mon, 24 Aug 2015 06:41:27 +0000 (08:41 +0200)]
config.lsp: implement uname stub for ecl-min

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoREADME: change name
Daniel Kochmański [Sun, 23 Aug 2015 10:58:04 +0000 (12:58 +0200)]
README: change name

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agoreadme: fix top-level README (move to src/doc/debugging)
Daniel Kochmański [Sun, 23 Aug 2015 10:56:57 +0000 (12:56 +0200)]
readme: fix top-level README (move to src/doc/debugging)

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agodoc: Update internal doc wrt floats
Daniel Kochmański [Sun, 23 Aug 2015 10:32:11 +0000 (12:32 +0200)]
doc: Update internal doc wrt floats

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agocosmetic: doc typo and declaration
Daniel Kochmański [Sat, 22 Aug 2015 17:06:00 +0000 (19:06 +0200)]
cosmetic: doc typo and declaration

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

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agochangelog: update known issues
Daniel Kochmański [Sat, 22 Aug 2015 10:07:27 +0000 (12:07 +0200)]
changelog: update known issues

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agorc: update library version number
Daniel Kochmański [Fri, 21 Aug 2015 18:19:09 +0000 (20:19 +0200)]
rc: update library version number

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agochangelog: update changes
Daniel Kochmański [Fri, 21 Aug 2015 18:15:44 +0000 (20:15 +0200)]
changelog: update changes

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agointerpreter: initialize stack objects
Daniel Kochmański [Fri, 21 Aug 2015 18:07:10 +0000 (20:07 +0200)]
interpreter: initialize stack objects

It's state machine, so its uncertain if reg0 is used uninitialized.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agomsvc: fix testing and package targets
Daniel Kochmański [Fri, 21 Aug 2015 17:48:30 +0000 (19:48 +0200)]
msvc: fix testing and package targets

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agowindows: when using msvc, don't handle interrupts
Daniel Kochmański [Fri, 21 Aug 2015 17:43:27 +0000 (19:43 +0200)]
windows: when using msvc, don't handle interrupts

Installed spawning process was broken and unimportant. ECL ignores C-c
interrupt and passes forward all the others when build with
msvc. Fixes #8.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
9 years agohelp (:h): remove misleading shortcut for :exit (^D)
Daniel Kochmański [Fri, 21 Aug 2015 08:34:07 +0000 (10:34 +0200)]
help (:h): remove misleading shortcut for :exit (^D)

This works only on unix. ^Z isn't good replacement for windows too,
because it needs additional [RET] hit. Just remove help hint about
shortcut version. ^D will still work on unix and ^Z [RET] will work on
windows. Fixes #69.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
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>