Commit graph

359 commits

Author SHA1 Message Date
Marius Gerbershagen
34f26e8b71 si:trap-fpe: move into ext package and extend documentation 2019-06-30 13:01:24 +02:00
Marius Gerbershagen
b891630699 ieee-fp: introduce new macro for toggling between Lisp and C fpe
This is primarly useful for embedding. Lisp code can be safely
executed without leaking the floating point environment into other C
code.
2019-06-30 13:01:06 +02:00
Marius Gerbershagen
06f0a93421 doc: fix small typos and errors 2019-06-21 20:18:56 +02:00
Marius Gerbershagen
ba9ad6c444 reader: be more liberal in the syntax that we accept with *read-suppress*
Also allow commas without backquotes and invalid characters.
Return nil for backquotes (bug fixed).
Document the current behaviour.
Fixes #494.
2019-06-21 20:18:12 +02:00
Daniel Kochmański
6e5016dcb8 hash-table: add extension for generic predicates
Added:
- implementation
- test
- documentaiton entries

Additionally:
- remove #if 0 code branches (unused clutter)
- bring up-to-date help.lsp file for hints in slime
- wrap synchronized access in unwind protect
- write_ugly did not carry extensions in the printer
2019-05-25 09:56:08 +02:00
Daniel Kochmański
ea87100a06 long-float: remove conditionalization
Many parts of the source code were bent backward to support builds
without long floats which are always present given we depend expect
c99 compiler.

The corresponding C macros (ECL_LONG_FLOAT) and the *feature*
entry (:long-float) are marked as deprecated in the documentation.
2019-05-24 21:04:59 +00:00
Daniel Kochmański
db5e0937b3 complex-float: add a specialized array type for complex floats 2019-05-15 16:35:16 +02:00
Daniel Kochmański
c17f23f253 complex-float: add documentation bits 2019-05-15 16:35:16 +02:00
Marius Gerbershagen
93496e108c configure: change manual installation
Introduce a configure option controlling the installation and build
the documentation during the build instead of the install phase. Targets
for installation of the html version have also been added.
Fixes #482.
2019-04-11 18:17:02 +02:00
Daniel Kochmański
d22bfd0ce1 Merge branch 'unix-signal' into 'develop'
Document unix signal handling capabilities

See merge request embeddable-common-lisp/ecl!137
2019-03-15 19:26:56 +00:00
Daniel Kochmański
eee8ed7557 ansi conformance: remove spurious package nicknames 2019-03-15 19:22:35 +00:00
Marius Gerbershagen
eb6854f6d9 doc: document unix signal handling capabilities 2019-03-11 17:16:13 +01:00
Marius Gerbershagen
44f460a7d2 doc: document ANSI stream extensions 2019-03-02 17:50:33 +01:00
Marius Gerbershagen
9f9dd19840 streams: fix byte-order-mark for :ucs-2 and :ucs-4 external formats
We were writing little-endian BOMs, but writing big-endian characters.
2019-03-02 17:40:38 +01:00
Daniel Kochmański
77d2cc50cd copyright: add Marius to the maintainer list.
His contributions and activity beg for doing that; henceforth I
recognize him as a co-maintainer of the project.
2019-02-22 18:43:37 +00:00
Daniel Kochmanski
a361055a3d defstruct: disallow defining structures of incompatible layouts
We signal an error if the structure is incompatible with an already defined
one. We concern ourself about slot names, their types, offset and number of
slots. Fixes #457.
2019-02-08 20:45:55 +01:00
Daniel Kochmanski
13a42249e2 cas: add remcas operation for an expansion removal
It is a (fmakunbound (setf foo)) counterpart.
2019-02-07 13:29:03 +01:00
Daniel Kochmanski
9096514cff extensions: put ext:package-locked-p in core module. 2019-02-07 13:27:12 +01:00
Marius Gerbershagen
c447fea04f doc: fix documentation of si_safe_eval 2019-01-30 21:23:16 +01:00
Daniel Kochmański
2b92a7acd9 Merge branch 'android-new-bdwgc' into 'develop'
Fix compilation with recent Android NDKs and support ARM64 Android

See merge request embeddable-common-lisp/ecl!132
2019-01-20 10:41:46 +00:00
Marius Gerbershagen
6090d9d201 update installation instructions for recent Android NDKs and support ARM64
Works for Android NDKs with unified headers (see https://android.googlesource.com/platform/ndk/+/ndk-release-r16/docs/UnifiedHeaders.md).
    Separate step of configuring a standalone toolchain is recommended
    by the Android docs. Explicitely setting CC to clang is useful,
    since gcc in Android NDK is deprecated and outright broken in NDK
    version 18. Using the bfd linker is needed for bdwgc to work
    correctly (see also https://github.com/ivmai/bdwgc/issues/259).
2019-01-12 22:51:17 +01:00
Marius Gerbershagen
24dcb778cf clean up functions creating base strings from C strings
Make functions behave as documented, remove use of legacy names.
    Fixes #462.
2019-01-07 18:43:55 +01:00
Marius Gerbershagen
6005c030b6 doc: set new doc as standard documentation 2019-01-03 19:14:28 +01:00
Marius Gerbershagen
d07e110526 doc: document C equivalent of setf functions 2019-01-03 13:58:24 +01:00
Marius Gerbershagen
68b22e522c doc: cosmetic changes
Small improvements to css, correct indentation for examples.
2019-01-02 16:08:43 +01:00
Marius Gerbershagen
3c3a02ea7d doc: improvements to extensions section
Use consistent formatting, fix errors and typos.
2019-01-02 12:27:02 +01:00
Marius Gerbershagen
af2c152682 doc: improvements to standards section
Apply consistent formatting, fix all ANSI dictionary sections as
    well as other errors and typos.
2018-12-31 16:22:44 +01:00
Marius Gerbershagen
0b0c7594b4 doc: improvements to developer's guide
Document the defun preprocessor, remove use of deprecated names,
    fix errors and typos.
2018-12-29 23:41:17 +01:00
Daniel Kochmański
6bb08c2d81 Merge branch 'fix-disassemble' into 'develop'
Fix #106

Closes #106

See merge request embeddable-common-lisp/ecl!127
2018-11-25 08:10:11 +00:00
Marius Gerbershagen
e7fe000400 doc: update outdated information and examples in the developers guide 2018-11-24 22:00:29 +01:00
Marius Gerbershagen
61650f8e1f doc: fix documentation for si:*keep-definitions*
The variable is set to t by default.
2018-11-24 19:35:31 +01:00
Marius Gerbershagen
9f4a5d4dd4 disassemble: display generated C source code instead of bytecodes
This behaviour makes more sense, since the ANSI standard mandates
    that disassemble should compile an interpreted function before
    displaying the output (our own documentation even says so).

    Also fixes disassemble for closures.
2018-11-24 19:20:06 +01:00
Marius Gerbershagen
57a0346a52 doc: document behaviour of declaim and proclaim 2018-10-28 16:32:55 +01:00
Marius Gerbershagen
8812ba2189 doc: fix various typos and remove use of legacy names in examples 2018-10-26 17:54:08 +02:00
Marius Gerbershagen
cd86ac5019 doc: use category name for @defvar 2018-10-23 21:14:50 +02:00
Marius Gerbershagen
3df0a69785 doc: document floating point exceptions and infinity/NaN 2018-10-23 21:12:46 +02:00
Marius Gerbershagen
8ad10cec50 doc: fix some typos and errors in the multithreading documentation 2018-10-17 21:52:19 +02:00
Marius Gerbershagen
c45098e17a doc: add documentation for atomic operations 2018-10-15 19:55:39 +02:00
Marius Gerbershagen
239a2aa4f1 threading: add support for atomic operations
We support both compare-and-swap and fetch-and-add (via
    atomic-incf/decf) on the most common places and define an
    extension interface for compare-and-swap similiar to the one in
    SBCL.

    These changes introduce new dependencies on the libatomic_ops
    macros AO_fetch_compare_and_swap and AO_fetch_and_add.
2018-10-15 19:55:39 +02:00
Marius Gerbershagen
02b501e5a6 doc: fix typos and errors in ffi documentation 2018-09-18 19:59:40 +02:00
Marius Gerbershagen
3824e1b6da doc: fix documentation for mp:without-interrupts 2018-09-15 19:59:06 +02:00
Marius Gerbershagen
319b7ef79b doc: document :object and :long-double ffi types 2018-07-29 15:41:20 +02:00
Marius Gerbershagen
b56c9c12be doc: fix section about the interpreter lexical environment 2018-06-24 15:48:09 +02:00
Marius Gerbershagen
25e1417dac doc: add dictionary for extensions to ANSI streams 2018-06-01 21:56:40 +02:00
Marius Gerbershagen
9f8adbbe4e remove unused (sig)altstack option
This functionality has been removed long ago with commit
    1472cc91ef.
2018-05-27 20:30:22 +02:00
Daniel Kochmanski
1972765ab0 fifo files: update documentation, tests and changelog 2018-05-08 19:12:19 +02:00
Daniel Kochmanski
d9c4b2a88c Add explicit :TRUNCATE option for :IF-EXISTS in OPEN
In the future we may want to make :SUPERSEDE transaction-like.
2018-05-07 22:03:50 +02:00
Daniel Kochmanski
0494fb1592 Moderate interface cleanup
- unicode name tables are always compiled in when we have unicode support
- thread local variables support is removed
- profile and rt contribs are deprecated
2018-05-01 10:16:20 +02:00
Marius Gerbershagen
825c8d2b2e doc: Add section for C compiler configuration options
Closes #218.
2018-04-09 22:23:25 +02:00
Daniel Kochmanski
17ce8c98d8 cosmetic: add some barebones comments and docs for bytecmp 2018-04-06 11:03:14 +02:00