Commit graph

5573 commits

Author SHA1 Message Date
Daniel Kochmański
8b24477fda tests: rename ffi and emb tests
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-09-01 18:13:53 +02:00
Daniel Kochmański
37bebe172e tests: merge reported bugs and mixed regressions
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-09-01 18:11:55 +02:00
Daniel Kochmański
1b39e1fcf5 tests: merge compiler tests to compiler.lsp (missing files)
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-09-01 18:03:27 +02:00
Daniel Kochmański
a36d40d863 tests: merge compiler tests to compiler.lsp
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-09-01 17:32:03 +02:00
Daniel Kochmański
1173538d85 tests: merge sourceforge reports to reported-bugs
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-09-01 17:19:41 +02:00
Daniel Kochmański
2609765524 tests: merge multiprocessing tests (a few left)
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-09-01 17:08:14 +02:00
Daniel Kochmański
5da6743f3f tests: merge multiprocessing tests
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-09-01 16:54:46 +02:00
Daniel Kochmański
0188e5559c tests: merge metaobject protocol tests
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-09-01 16:42:11 +02:00
Daniel Kochmański
d1503ed767 tests: merge external-format tests
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-09-01 14:57:23 +02:00
Matthew Mondor
414af2ada2 Avoid constant value 32-bit rollback for 64-bit/4GB heap 2015-08-30 22:59:43 -04:00
Matthew Mondor
fb09755db4 FIXNUM_BITS -> ECL_FIXNUM_BITS consistently, second try 2015-08-30 16:35:14 -04:00
Daniel Kochmański
1f567c8055 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>
2015-08-29 20:37:42 +02:00
Daniel Kochmański
d077473517 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>
2015-08-29 20:25:31 +02:00
Daniel Kochmański
a94a5c2e1e Merge branch 'master' into develop 2015-08-28 13:17:07 +02:00
Matthew Mondor
5517fa5631 Change *FEATURES* name :NEW to :WAKLER (clos/walk.lsp) after
discussion
2015-08-27 04:46:28 -04:00
Matthew Mondor
5e43ec8789 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)
2015-08-26 12:31:19 -04:00
Matthew Mondor
c4e3e849a1 Implement MP:WITH-RWLOCK 2015-08-26 09:51:34 -04:00
Matthew Mondor
b0e7937f45 - 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.
2015-08-26 09:36:38 -04:00
Daniel Kochmański
98fc12d3a6 config.lsp: implement uname stub for ecl-min
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-24 08:41:27 +02:00
Daniel Kochmański
c051af5a97 readme: fix top-level README (move to src/doc/debugging)
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-23 12:56:57 +02:00
Daniel Kochmański
871d61dbeb doc: Update internal doc wrt floats
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-23 12:32:11 +02:00
Daniel Kochmański
e2e6e5304e cosmetic: doc typo and declaration
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-22 19:06:00 +02:00
Daniel Kochmański
8639aa14d1 rc: update library version number
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-21 20:19:09 +02:00
Daniel Kochmański
62a1ba74a4 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>
2015-08-21 20:07:14 +02:00
Daniel Kochmański
2f869e6eb6 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>
2015-08-21 19:43:27 +02:00
Daniel Kochmański
f14083e14e 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>
2015-08-21 10:34:18 +02:00
Daniel Kochmański
a6fc701b85 configure: autoreconf with last changes
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-21 08:12:24 +02:00
Philipp Marek
f6cc726a16 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.
2015-08-21 07:50:10 +02:00
Daniel Kochmański
54777b8b40 configure: fix boehm autodetection
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-20 20:50:13 +02:00
Daniel Kochmański
d477737304 serror: move stack error to sys package
Mark it also as internal API

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-20 13:08:17 +02:00
Daniel Kochmański
c763661092 cosmetic: fix indentation
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-19 19:44:44 +02:00
Daniel Kochmański
f27a1dbf43 shiftf: return one value, not all of them
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-19 17:46:02 +02:00
Daniel Kochmański
3825356c32 cosmetic: wrap line in compiler.d
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-19 16:33:51 +02:00
Daniel Kochmański
606d444cbd destructure: improve context handling
Add handling of arbitrary context as case clause

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-19 16:33:48 +02:00
Daniel Kochmański
29e1847f5d check-keyword: fix typo
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-19 15:47:38 +02:00
Daniel Kochmański
76d870fe39 psetf: fix corner-case
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-19 13:57:11 +02:00
Daniel Kochmański
3845303191 tests: fix pathname test
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-19 12:31:50 +02:00
Daniel Kochmański
6c0860b3cf pathname: fix logical translation wrt wildcards
Fixes #103.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-19 10:09:17 +02:00
Daniel Kochmański
1071914e46 tests: pathname: fix typo
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-19 09:31:49 +02:00
Daniel Kochmański
3117bc2e7d util: gdbinit ignores GC signals
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-19 09:15:11 +02:00
Daniel Kochmański
10ebf2550e tests: add regression test for logical pathnames
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-19 08:29:07 +02:00
Daniel Kochmański
82ff54b2bf cosmetic: wrap lines esthetically
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-19 08:17:32 +02:00
Daniel Kochmański
86f09e0c2b deftype: make maptree non-destructive
Thanks to that we traverse lambda-list tree only once.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-18 17:48:45 +02:00
Daniel Kochmański
a2ceed9cb3 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>
2015-08-18 15:39:29 +02:00
Daniel Kochmański
c70894f124 destructure: export function from system package
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-18 15:38:06 +02:00
Daniel Kochmański
5b8d9de70d deftype: update docstring
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-18 13:44:32 +02:00
Daniel Kochmański
0af7015903 tests: add regressions tests for deftype
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-18 13:24:24 +02:00
Daniel Kochmański
9b9eb1a2dd deftype: optimize traversing a tree
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-18 12:53:20 +02:00
Daniel Kochmański
64a96a537b cosmetic: deduplicate expand-deftype function definition
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-18 12:07:57 +02:00
Daniel Kochmański
3f74981b54 predlib: fix bogs expand-deftype
Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-18 12:07:35 +02:00