- 12 Mar, 2021 1 commit
-
-
Marius Gerbershagen authored
File stream improvements Closes #511 See merge request embeddable-common-lisp/ecl!245
-
- 11 Mar, 2021 1 commit
-
-
Marius Gerbershagen authored
The ansi standard specifies that declaring symbols bound with symbol-macrolet to be special or binding symbols that are defined as global variables must signal a program-error. Previously, we simply ignored this issues. Also fix an issue with cmp-env-search-variables which would wrongly return variables when searching for symbol macros. This allows us to remove another check in symbol-macro-declaration-p.
-
- 10 Mar, 2021 3 commits
-
-
Daniel Kochmański authored
Fix makefile ordering. See merge request embeddable-common-lisp/ecl!247
-
Daniel Kochmański authored
msvc: fix Makefile for check target See merge request embeddable-common-lisp/ecl!246
-
Yuri D. Lensky authored
Ensure correct rule precedence for header files.
-
- 07 Mar, 2021 2 commits
-
-
Marius Gerbershagen authored
When parsing keyword arguments of functions like (defun f (&key allow-other-keys) allow-other-keys) (note that `&key allow-other-keys` is not `&allow-other-keys`!), we were incorrectly handling the case in which this function was called like (f :some-unknown-keyword x :allow-other-keys non-nil-value) In this case, the spec (CLHS 3.4.1.4) says that the function has to ignore the unknown keyword and return the non-nil-value, while we were signaling an "unknown keyword" error.
-
Marius Gerbershagen authored
Get rid of the unnecessary mask (which wouldn't have worked correctly anyway if somebody passed more than 32 :allow-other-keys arguments).
-
- 05 Mar, 2021 1 commit
-
-
Yuguo Zhang authored
-
- 04 Mar, 2021 2 commits
-
-
Marius Gerbershagen authored
If we inline a function which contains keyword arguments whose default value depends on the presence of other keyword arguments as for example in (funcall (lambda (&key (a nil a-p) (b a-p)) ...)) where `b` depends on the presence of `a`, we need to set the key-flag `a-p` immediately after scanning for the keyword and not at the end after we have finished scanning all keywords as we did previously.
-
Marius Gerbershagen authored
-
- 03 Mar, 2021 2 commits
-
-
Marius Gerbershagen authored
-
Marius Gerbershagen authored
Make the ansi-test suite happy.
-
- 27 Feb, 2021 1 commit
-
-
Marius Gerbershagen authored
-
- 23 Feb, 2021 1 commit
-
-
Marius Gerbershagen authored
-
- 15 Feb, 2021 1 commit
-
-
Marius Gerbershagen authored
prog1 returns only the first value. Closes #617.
-
- 14 Feb, 2021 2 commits
-
-
Marius Gerbershagen authored
See test cmp.0076.make-load-form-non-eq and removed FIXME comment for why this change was made.
-
Marius Gerbershagen authored
This reverts commit c5cb09f3 and 84acbebd. The solution as implemented does not work because we there is no clear separation between assigning vv locations and later on writing them to the created C file; we may have already written a vv location before trying to add the same object again, resulting in miscompilation.
-
- 13 Feb, 2021 4 commits
-
-
Marius Gerbershagen authored
-
Marius Gerbershagen authored
See test cmp.0076.make-load-form-non-eq and removed FIXME comment for why this change was made.
-
Marius Gerbershagen authored
vv records already contain index and object, no need to save this twice
-
Marius Gerbershagen authored
define-setf-expander takes a macro lambda-list. Previously, we handled the &environment part of this list manually, but &body, &whole parameters and destructuring did not work. To fix this, we use sys::expand-defmacro in define-setf-expander. This necessitates a change in the arguments of the setf-methods stored by do-define-setf-function: we now pass the whole form (including the name of the access-function) in the first argument and the environment in the second argument, like in an ordinary macro function. Fixes #627.
-
- 10 Feb, 2021 4 commits
-
-
Marius Gerbershagen authored
-
Marius Gerbershagen authored
Use new :nonblock open flag, only test standard POSIX behaviour (POSIX leaves it undefined what happens when opening a fifo for writing in nonblocking mode while there are no readers available. Previously we were testing for behaviour as implemented by Linux). Windows has no equivalent of a named pipe that can be opened like a regular file, thus we disable the test there.
-
Marius Gerbershagen authored
Maps directly to flags for open syscall. Ignored on Windows. We now let the user decide whether to open fifos in nonblocking mode or not. Manual has been extended to document the new extensions and slightly rearranged to put the important information first.
-
Marius Gerbershagen authored
Previous implementation was messy and contained several race conditions (multiple open/close operations on the same file, first checking whether the file exists before opening it). We now always use a single open call and then optionally do an fdopen later on (exception being :rename which contains an unavoidable race condition between checking whether the file exists and then renaming it later on). Also improve error messages.
-
- 06 Feb, 2021 2 commits
-
-
Marius Gerbershagen authored
-
Fix copy of header files. This was accidentally working thanks to the `cp -rf $(srcdir)/h/*.h` that existed, but it means that editing any header file (except the internal.h one) would not recompile appropriately. Replace deprecated suffix rules with modern equivalents, list header files as dependencies for .d files.
-
- 01 Feb, 2021 2 commits
-
-
Daniel Kochmański authored
-
Daniel Kochmański authored
-
- 30 Jan, 2021 3 commits
-
-
Marius Gerbershagen authored
-
Marius Gerbershagen authored
-
Marius Gerbershagen authored
config-internal.h: automatically set ECL_C_COMPATIBLE_VARIADIC_DISPATCH for apple/arm64 See merge request embeddable-common-lisp/ecl!243
-
- 29 Jan, 2021 1 commit
-
-
Marius Gerbershagen authored
-
- 26 Jan, 2021 1 commit
-
-
Marius Gerbershagen authored
Xcode12 fixes See merge request embeddable-common-lisp/ecl!242
-
- 24 Jan, 2021 2 commits
-
-
Marius Gerbershagen authored
rwlocks are emulated using standard locks if no OS primitive for them exists, therefore we need the declarations in any case.
-
Marius Gerbershagen authored
-
- 16 Jan, 2021 3 commits
-
-
Marius Gerbershagen authored
Was previously only initialized in si_eval_with_env. Due to the introduction of si_bc_compile_from_stream, it was used uninitialized in this new function, leading to segfaults.
-
Marius Gerbershagen authored
See added test case for explanations.
-
Marius Gerbershagen authored
-
- 09 Jan, 2021 1 commit
-
-
Marius Gerbershagen authored
Apparently the bdwgc workaround is no longer needed
-