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
Juan Jose Garcia Ripoll
3cba18c74f
src/c/main.d, src/c/all_symbols.d, src/h/external.h: the package MP is created also in single-threaded versions.
2009-10-08 18:13:56 +02:00
Juan Jose Garcia Ripoll
6b20a47fe1
src/c/unixint.d: fixed typo that only affects the single-threaded builds.
2009-10-08 14:15:12 +02:00
Juan Jose Garcia Ripoll
a66d58d6b5
When returning from a signal handler, ECL left a sigmask in which all signals were allowed. Now we just restore the default sigmask.
2009-10-07 15:39:23 +02:00
Juan Jose Garcia Ripoll
ffe8e14d18
src/c/unixint.d:
...
* Install the synchronous signal handlers before calling GC_init()
so that they can be overwritten.
* Under Linux, access to mprotect'ed memory causes SIGSEGV, not SIGBUS.
2009-10-07 11:25:43 +02:00
Juan Jose Garcia Ripoll
1bb7f6e807
si::process-declarations did not identify extended strings as documentation.
2009-10-06 14:24:58 +02:00
Juan Jose Garcia Ripoll
6d54621001
src/c/unixint.d: define _WIN32_WINNT=0x400 to get QueueUserAPC
2009-10-05 12:07:18 +02:00
Juanjo
f908de7ac0
src/c/dpp.c: change label names to prevent conflicts with some macros.
2009-10-05 11:00:27 +02:00
Juanjo
e39a9044ec
src/c/load.d: windows fasls were not marked as self-destructing.
2009-10-05 11:00:22 +02:00
Juan Jose Garcia Ripoll
d4e0d72e9d
threads.d: fixed two typos in the error checks for condition variables.
2009-10-02 10:02:05 +02:00
Juan Jose Garcia Ripoll
5823093301
threads_mutex.d: fixed wait duration in mp_get_lock_wait().
2009-10-01 15:55:31 +02:00