Commit graph

5958 commits

Author SHA1 Message Date
Daniel Kochmański
5cbb3b905a format: flonum-to-string: rework nested IF statements as cond.
Simplifies code. Also creates additional clause (commented now) to
handle special case, when width is too small to display number.

Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
2015-05-10 15:14:49 +02:00
Daniel Kochmański
3efcb4ed78 format: float: fix bug causing error, when no width is claimed.
Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
2015-05-09 15:27:54 +02:00
Daniel Kochmański
c95e07bc09 format: Update documentating commet to reflect new fmin and scale defaults.
Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
2015-05-09 14:49:35 +02:00
Daniel Kochmański
5201c28148 buildsystem: tests: fix archives mirror address.
Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
2015-05-09 14:32:45 +02:00
Daniel Kochmański
612b6bb64b format: floats: Fix non-conformity bug regarding output characters.
When width is supplied to format, CLHS 22.3.3.1 Says "Exactly w
characters will be output." This patch fixes this non-conformity to
count separator (".") as well.

Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
2015-05-09 14:32:45 +02:00
Daniel Kochmański
5536f98294 format: flotnum-to-string: Resolve FIXME regarding non-negative input.
`floatnum-to-string` requires it's first argument to be non-negative
number. To assure that, it was setting it to it's abs, with FIXME
hint, that only one function seems to be able to pass negative number
there. This commit assures, that mentioned function passes
non-negative argument.

Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
2015-05-09 14:32:45 +02:00
Daniel Kochmański
cc3b31f02d format: flotnum-to-string: scale and fmin parameters default to 0.
Specification says, that scale parameter defaults to 0 (same applis to
fmin in regard of implementation). Both parameters were sanity checked
all over the function flotnum-to-string. This change simplifies the
code in regard of removing this sanity-checks due to sane default.

Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
2015-05-09 14:32:38 +02:00
Daniel Kochmański
fa7ba1f27e seq.lib: Recognize (array /type/ 1) as valid sequence subtype.
Fixes erroneous assumption, that for sequence dimension-spec mustn't
be an atom. '(array t 1) designates simple-vector of any type and
unknown length. Fixes issue #6.

Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
2015-05-08 20:17:08 +02:00
Daniel Kochmański
7599ca2967 unicode: fix typo in surrogate characters sanity check.
Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
2015-05-06 22:35:57 +02:00
Daniel Kochmański
c7e9372240 changelog: add recent changes.
Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
2015-05-03 11:52:49 +02:00
Daniel Kochmański
88b8ad015a pathname: Make type of pathname being (simple-array character (*)).
Removes coercion to base-string and improves some use cases. Due to
recent change in double-quote reader (conformity fix), now type of
each read string is (simple-array character (*)), so when pathnames
were created, it were copying it to (simple-array base-char (*)), lead
to buggy results. Consider:

(let ((path
       (let ((x "foo"))
	 (make-pathname :name x :type x))))
  (eql (pathname-name path)
       (pathname-type path))) ; => T

Before change, this construct was returning NIL, what in case of
serialization might be a problem, and wasn't `the right thing`® to do.

Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
2015-05-03 11:52:08 +02:00
Daniel Kochmański
3938eb8893 unicode: Improve unicode handling for characters.
Additional sanity checks and bugfixes in case of providing extended
strings to character low-level functions.

Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
2015-05-03 11:36:20 +02:00
Daniel Kochmański
8977a7cc85 unixfsys.d: enter-directory: Coerce if directory is extended string.
If directory is of type (simple-array character(*)), then coerce it to
(simple-array base-char (*)) instead of throwing an error.

Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
2015-05-02 14:00:08 +02:00
Daniel Kochmański
746f3edbfe Merge branch 'upgrade-libs' into develop 2015-05-01 20:24:42 +02:00
Daniel Kochmański
f92fb005e0 Merge branch 'develop' into upgrade-libs 2015-05-01 20:19:22 +02:00
Daniel Kochmański
ebb2373650 bdwgc: Update library to version 7.4.2.
- libatomic_ops is updated accordingly,
- new directory for garbage collector is bdwgc,
- updated MSVC Makefiles,
- obsolete directories gc and gc-unstable are removed.
2015-04-24 23:28:24 +02:00
Daniel Kochmański
9cacaacac2 Revert "symols_list2.h: build actualized this file after symbols_list.h"
This reverts commit 4ff5921d7c.
2015-04-24 16:15:27 +02:00
Daniel Kochmański
9f1f595b3d Revert "sombols-list: fix bogus entry for ext::make-encoding in symbols_list.h."
This reverts commit 518264369e.
2015-04-24 16:14:57 +02:00
Daniel Kochmański
65be797cd4 Merge branch 'develop' into upgrade-libs 2015-04-12 16:31:31 +02:00
Daniel Kochmański
6d3d3b9966 Use one file for tracking relevant changes.
Also replaces used till now Markdown format with org-mode syntax.
2015-04-12 15:05:12 +02:00
Daniel Kochmański
f056b3d000 Merge branch 'develop' into upgrade-libs 2015-04-12 11:54:37 +02:00
Roger Sen
b0e78cad8d Removed external reference to GC_dont_gc, no needed in the new Boehm
GC API.
2015-04-12 11:47:50 +02:00
Roger Sen
cddb87313d Updated GC api to remove deprecated methods 2015-04-12 11:47:43 +02:00
Daniel Kochmański
757ba68312 cosmetic: Indentation fix. 2015-04-08 18:42:07 +02:00
Tomas Hlavaty
0b4018c284 add configure option libffi-prefix
similar to gmp-prefix;  useful on nixos for example
2015-04-08 18:36:41 +02:00
Daniel Kochmański
dc490bd749 asdf: Update to version 3.1.4. 2015-04-07 21:53:39 +02:00
Daniel Kochmański
ff865d1c59 cmplet: Remove invalid declaration. Fixes #28. 2015-04-07 21:34:01 +02:00
Daniel Kochmański
40eec63c2c ecl-sdb: Fix bogus name in declaration. Closes #27. 2015-04-07 21:32:54 +02:00
Daniel Kochmański
69d9c6e43b setf.lsp: rework psetf, shiftf and rotatef to work with places with multiple values.
Additional macros has been proposed:

- with-setf-expansions maps setf expansions of places on provided list
  into lists of pairs (bindings), stores, store-forms and
  access-forms.

- with-expansion-setter creates lexically scoped function, which binds
  forms to stores using multiple-value-binds, and at the end places
  code provided at start macro-call.
2015-04-07 14:33:36 +02:00
Daniel Kochmański
e32a9b0000 clos: walk-c-inline: Declare ignoring unused variable context. Closes #26. 2015-04-03 10:05:54 +02:00
Daniel Kochmański
e8b4391ef7 libffi: add .gitignore to directory. 2015-03-30 22:23:52 +02:00
Daniel Kochmański
d3eb56ff9d libffi: invoke autoreconf. 2015-03-30 22:17:02 +02:00
Daniel Kochmański
cbe966ed03 libffi: fix autotools scripts to respect libdir and includedir
configure flags.
2015-03-30 22:15:32 +02:00
Daniel Kochmański
959e9aaf95 libffi: update included library to version 3.2.1. 2015-03-30 22:12:09 +02:00
Daniel Kochmański
ea6adc6aea pprint.lsp: remove unsupportet declare extension 'values' calls.
Closes #10.
2015-03-14 22:09:15 +01:00
Daniel Kochmański
6453e7aa42 loop2.lsp: ignore unused variable. Closes #14. 2015-03-14 22:05:46 +01:00
Daniel Kochmański
1e6c44a824 method.lsp: declare ignoring unused variable. Closes #12 (#11). 2015-03-14 22:02:52 +01:00
Daniel Kochmański
a7d5e1519d std-slot-value.lsp: declare ignoring unused variable. Closes #13. 2015-03-14 21:58:05 +01:00
Daniel Kochmański
f4dcab9203 loop2.lsp: declare ignoring 'env' in 'loop-body'. Closes #15. 2015-03-14 20:08:47 +01:00
Daniel Kochmański
36e80a3c66 kernel.lsp: Remove bogus ignore doc declaration. Closes #11. 2015-03-14 19:57:35 +01:00
Daniel Kochmański
8c0f44dd8b gitignore: ignore tgz archives. 2015-03-14 19:16:05 +01:00
Daniel Kochmański
de939e454f Merge branch 'master' into develop 2015-03-08 14:05:47 +01:00
Daniel Kochmański
a014bd2c23 Merge branch 'release-15.3.7' 2015-03-07 18:26:56 +01:00
Daniel Kochmański
4ff5921d7c symols_list2.h: build actualized this file after symbols_list.h 2015-03-07 18:25:33 +01:00
Daniel Kochmański
52ec7243d7 Release: bump version to 15.3.7. 2015-03-07 17:43:53 +01:00
Daniel Kochmański
4e1d62d13c cleanup: replace set with setf, since former is deprecated. 2015-03-06 20:29:56 +01:00
Daniel Kochmański
d8e0082d31 Merge branch 'develop' into 15.3.7-rc1 (bugfixes and trivial changes only). 2015-03-06 17:12:13 +01:00
Daniel Kochmański
518264369e sombols-list: fix bogus entry for ext::make-encoding in symbols_list.h.
Due to mistake, ext::make-encoding was pointing to si_make_encoding,
but si_make_encoding was calling ext::make-encoding, what caused
infinite recursion when building for windows, when codepage was
different then Latin-1.
2015-03-06 17:10:43 +01:00
Daniel Kochmański
7229cfefc9 compilator: fixes issue #3 (regression on package :lapack).
cmptype-arith.lsp: problem introduced in commit
c0b23555c6 which added empty &optional
clause and &allow-other-keys capability to typespec for values.

Problem was, that multiple &optional keywords in typespec it
considered error, while

'(VALUES &OPTIONAL T &OPTIONAL T)

should return as optional part, list (T &optional T) - even if it
looks weird.
2015-03-05 23:45:22 +01:00
Daniel Kochmański
63a0d656d9 gitignore: add src/config.log. 2015-03-02 09:04:39 +01:00