Juan Jose Garcia Ripoll
4e2a7d1d43
PATHNAME-MATCH-P now uses the same pattern syntax as DIRECTORY
2009-12-19 23:10:33 +01:00
Juan Jose Garcia Ripoll
858cf166a9
DIRECTORY used stat() also on files that did not match the directory masks.
2009-12-17 23:02:57 +01:00
Juan Jose Garcia Ripoll
d72d2685bd
Fixed typo.
2009-12-13 14:38:55 +01:00
Juan Jose Garcia Ripoll
e85ae8d20c
Fixed typo in #ifdef that only affected builds with --enable-long-double
2009-12-13 13:42:56 +01:00
Juan Jose Garcia Ripoll
f96a987819
ecl_to_long_double appeared before ratio_to_long_double
2009-12-13 12:08:53 +01:00
Juan Jose Garcia Ripoll
9a76ab3da3
SI:LOAD-SOURCE opens files in buffered mode (ANSI C streams), to solve a performance problem in some NFS systems.
2009-12-13 11:01:51 +01:00
Juan Jose Garcia Ripoll
7c050399fa
Fixed LOG of negative bignums and of complex numbers with equal positive and negative parts.
2009-12-08 23:26:16 +01:00
Juan Jose Garcia Ripoll
19943c0a22
ECL now has its own rounding routine for converting rationals to floats.
2009-12-05 01:47:41 +01:00
Juan Jose Garcia Ripoll
1e368d12b3
ecl_log1p() might overflow when the input is a bignum.
2009-12-04 00:29:23 +01:00
Juan Jose Garcia Ripoll
5338bcb157
Do not free the input / output buffers to avoid consing and memory fragmentation when reading long strings.
2009-12-02 16:02:58 +01:00
Juan Jose Garcia Ripoll
b7fb024493
Enlarged the string buffers used for reading and parsing lisp data.
2009-12-02 15:43:04 +01:00
Juan Jose Garcia Ripoll
8ba4fba58a
We used the wrong data for the random state when dealing with bignums (src/c/num_rand.d)
2009-12-01 22:49:48 +01:00
Juan Jose Garcia Ripoll
5aac759ad1
random_integer() did not work when the input was a fixnum (src/c/num_rand.d).
2009-12-01 21:43:05 +01:00
Juan Jose Garcia Ripoll
8d11ca1938
The bignums generated by RANDOM did not contain enough random bits.
2009-11-30 21:47:32 +01:00
Juan Jose Garcia Ripoll
54547cabd3
1Gb memory limit for 32bits systems
2009-11-29 23:24:23 +01:00
Juan Jose Garcia Ripoll
113e36557f
Increase the memory limits
2009-11-29 23:22:34 +01:00
Juan Jose Garcia Ripoll
e8f57bdec6
When creating structures and instances, always set instance.sig to a printable value, ECL_UNBOUND
2009-11-29 22:00:00 +01:00
Juan Jose Garcia Ripoll
a582077508
OPEN with :rename did not work in mingw if the backup file existed (src/c/unixfsys)
2009-11-28 16:41:57 +01:00
Juan Jose Garcia Ripoll
2d967e5e31
missing "break" statement in ecl_apply_from_stack_frame (src/c/eval.d)
2009-11-28 14:03:03 +01:00
Juan Jose Garcia Ripoll
4dfa2c7ee0
When clearing the FPE exception flags we were actually activating all exceptions.
2009-11-28 13:52:40 +01:00
Juan Jose Garcia Ripoll
27440b1b1c
src/c/unixfsys.d: drive_host_prefix() attempted to write on a constant string.
2009-11-28 12:32:59 +01:00
Juan Jose Garcia Ripoll
6fb3a2f063
src/c/gfun.d: CLOS:SET-FUNCALLABLE-INSTANCE-FUNCTION broke the value if SI:INSTANCE-SIG
2009-11-27 20:18:00 +01:00
Juan Jose Garcia Ripoll
9400d37101
src/c/pathname.d,unixfsys.d: added support for Windows UNC pathnames
2009-11-27 15:47:26 +01:00
Juan Jose Garcia Ripoll
4244483c23
src/c/unixint.d: fixed typo in call to si_trap_fpe
2009-11-27 15:47:04 +01:00
Juan Jose Garcia Ripoll
1a8320a676
src/c/unixint.d: clear FPE exceptions before processing the exception. Otherwise later operations may re-signal the SAME error.
2009-11-27 12:29:29 +01:00
Juan Jose Garcia Ripoll
fc0fc51eae
src/c/read.d: the previous 'fix' for the circular reader lead to infinite recursion. This actual fix reimplements SBCL's strategy, using a hash table to prevent it.
2009-11-23 22:48:05 +01:00
Juan Jose Garcia Ripoll
e8b2573355
FDEFINITION/SYMBOL-FUNCTION cause an access violation instead of an undefined function message when acting on NIL
2009-11-20 10:25:01 +01:00
Juan Jose Garcia Ripoll
dd20362b96
Fix previous corrupt commit.
2009-11-20 08:48:43 +01:00
Juan Jose Garcia Ripoll
fd014c087b
Solve two problems with circular references reader:
...
* #n= does not immediately substitute for the value, even if known.
* #. did not use the flag recursive-p when calling READ, and thus had
no access to previously defined #n# reader values.
2009-11-20 00:25:22 +01:00
Juan Jose Garcia Ripoll
a31b91ac42
Simplify LOG/LOG1P so that when passed a NaN they do not enter an infinite recursion.
2009-11-15 23:42:37 +01:00
Juan Jose Garcia Ripoll
9e4d21f859
LOG on #C(x x) produces a more accurate result which is stable when X == 0. ATAN with #C(0 x) now gives a result without infinite depth recursion.
2009-11-15 12:29:49 +01:00
Juan Jose Garcia Ripoll
2d675630e7
src/c/list.d: in APPEND, add back error detection for non proper lists.
2009-11-15 10:49:33 +01:00
Juan Jose Garcia Ripoll
549f4b0e26
Rewrite c_multiple_value_bind using a switch instead of concatenated ifs.
2009-11-15 09:57:02 +01:00
Juan Jose Garcia Ripoll
2c0cfb74c5
src/c/compiler.d: the interpreter optimizes MULTIPLE-VALUE-BIND with zero and one variables.
2009-11-14 18:12:12 +01:00
Juan Jose Garcia Ripoll
1b3eda6e08
APPEND copied also the last argument.
2009-11-14 17:37:27 +01:00
Juan Jose Garcia Ripoll
b4b2d12f7e
src/c/pathname.d: use the (APPEND ... NIL) idiom to ensure that a fresh list is produced.
2009-11-14 17:35:42 +01:00
Juan Jose Garcia Ripoll
b074cd8b36
FIND-SYMBOL now only accepts strings
2009-11-09 19:59:36 +01:00
Juan Jose Garcia Ripoll
6a94780559
LOAD works on special files (/dev/null and the like).
2009-11-09 19:25:01 +01:00
Juan Jose Garcia Ripoll
a316938550
EXT:QUIT now stores the exit code of the program and this is returned by standalone executables.
2009-11-09 10:12:45 +01:00
Juan Jose Garcia Ripoll
9c2297058c
New function EXT:ARRAY-RAW-DATA returns an array of octets that overlaps with the data of a given array.
2009-11-08 15:04:37 +01:00
Juan Jose Garcia Ripoll
5b9d7c562b
src/c/load.d:
...
* In cygwin, FASL files can not lack a file extension, because dlopen()
then looks for a file ending in .dll and fails.
* In cygwin, files that are dlopen'ed must have executable permissions.
2009-11-01 20:28:04 +01:00
Juan Jose Garcia Ripoll
db15bbaa83
si:copy-file must be protected against interrupts
2009-11-01 20:26:23 +01:00
Juan Jose Garcia Ripoll
438fac9bda
FEwin32_error is exported also in cygwin
2009-11-01 20:25:37 +01:00
Juan Jose Garcia Ripoll
1521275b11
Legacy, HP-UX 'make' command does not handle well and end of line \ followed by comments.
2009-10-28 22:25:00 +01:00
Juan Jose Garcia Ripoll
877ef47289
src/c/unixint.d: cl_core.default_sigmask is not used in mingw32.
2009-10-14 11:15:31 +02:00
Juan Jose Garcia Ripoll
51c7a95982
Undo previous commit and fix the signal handler so that it restores the signal mask also in the single-threaded version of ECL.
2009-10-11 17:43:58 +02:00
Juan Jose Garcia Ripoll
9563473a8c
We can not ignore SIGFPE signals in x86 -- otherwise we enter an infinite loop. So, no matter what we did with si::trap-fpe, if the signal was produced, we generate an error.
2009-10-11 13:15:05 +02:00
Juan Jose Garcia Ripoll
5f883a2582
Removed unused code.
2009-10-09 17:22:49 +02:00
Juan Jose Garcia Ripoll
2f254ceb59
src/c/unixint.d, src/c/stacks.d: we cannot execute signal handlers in separate stacks, because it confuses the lisp environment. Instead when detecting stack overflows we just jump out.
2009-10-08 20:19:28 +02:00
Juan Jose Garcia Ripoll
8b3ee8313d
src/c/unixint.d: ignore floating point point exceptions which are not marked as trappable.
2009-10-08 20:10:04 +02:00