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.
Matthew Mondor [Thu, 27 Aug 2015 08:40:18 +0000 (04:40 -0400)]
Change *FEATURES* name :NEW to :WAKLER (clos/walk.lsp) after
discussion
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
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)
Matthew Mondor [Wed, 26 Aug 2015 13:51:34 +0000 (09:51 -0400)]
Implement MP:WITH-RWLOCK
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.
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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.
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>