Juan Jose Garcia Ripoll
9ed3341c25
SI:WRITE-OBJECT might not return the right values
2010-10-29 22:29:37 +02:00
Juan Jose Garcia Ripoll
86329e0aad
_ecl_stream_or_default_output did not check their output.
2010-10-29 21:35:26 +02:00
Juan Jose Garcia Ripoll
17b611b580
Adjust buffer size in write_stream
2010-10-28 23:51:21 +02:00
Juan Jose Garcia Ripoll
d1ef5a13b1
In si_write_ugly_object dispatch is based on a pointer table.
2010-10-28 23:49:12 +02:00
Juan Jose Garcia Ripoll
79d8e9b569
Split printer into separate files, factorizing those for unreadable printing
2010-10-28 23:05:25 +02:00
Juan Jose Garcia Ripoll
4eee8dce57
Simplify and reorganize RENAME-PACKAGE
2010-10-25 22:43:04 +02:00
Juan Jose Garcia Ripoll
c86c8bd5c0
Move packages to read/write locks
2010-10-24 17:53:44 +02:00
Juan Jose Garcia Ripoll
1e3eb5b62a
Global locking is done through three different locks, cl_core.global_lock, error_lock and package_lock.
2010-10-24 17:53:29 +02:00
Juan Jose Garcia Ripoll
1f10848129
SI::LOAD-BINARY no longer needs a global lock
2010-10-24 00:04:37 +02:00
Juan Jose Garcia Ripoll
89ad07fefc
The list of packages to be created is now thread-local and its manipulation is thus thread safe.
2010-10-24 00:00:22 +02:00
Juan Jose Garcia Ripoll
8c42f280c8
Added support for POSIX read/write locks
2010-10-23 23:03:02 +02:00
Juan Jose Garcia Ripoll
3dfb2d6dcb
Split the threads code into separate files.
2010-10-23 21:43:46 +02:00
Juan Jose Garcia Ripoll
e8275b64dc
Loading of libraries is now thread safe independently of the load-compile lock
2010-10-23 00:47:42 +02:00
Juan Jose Garcia Ripoll
549f35f94e
The global lock is now recursive
2010-10-23 00:47:39 +02:00
Juan Jose Garcia Ripoll
e18fdb426a
Fixed typo
2010-10-19 22:51:14 +02:00
Juan Jose Garcia Ripoll
5a9989288c
FEerror and cl_error abort if the handler returns
2010-10-19 21:34:39 +02:00
Juan Jose Garcia Ripoll
ce5a04bc37
Fixed broken use of ecl_copy_subarray
2010-10-19 17:35:57 +02:00
Juan Jose Garcia Ripoll
af1bb228dc
The standard IO syntax also resets the print circle
2010-10-19 17:35:33 +02:00
Juan Jose Garcia Ripoll
3d0637bd06
ECL mistakenly allowed the rational denominator to carry a sign, as in 1/-2.
2010-10-19 00:12:13 +02:00
Juan Jose Garcia Ripoll
24b9f04161
ECL captures SIGPIPE
2010-10-17 16:49:13 +02:00
Juan Jose Garcia Ripoll
69f87e41d3
ECL now waits for its signal handling thread to start so that quitting becomes safe.
2010-10-17 15:14:20 +02:00
Juan Jose Garcia Ripoll
4f23ce577c
Ported SBCL's FLONUM-TO-STRING to ECL's core (in C).
...
New function INTEGER-TO-STRING added to ECL's core.
Both FLOAT-TO-STRING and INTEGER-TO-STRING are used in ECL's printer.
FORMAT uses ECL's new FLOAT-TO-STRING.
2010-10-17 14:38:47 +02:00
Juan Jose Garcia Ripoll
f8c9558a5d
SI:ARRAY-ELEMENT-TYPE-BYTE-SIZE now accepts an array instead of a type (A Gavrilov)
2010-10-14 09:50:45 +02:00
Alexander Gavrilov
1c3d729ef5
Add a special variable to control printing of SSE packs.
...
Valid values: NIL, :int, :float, :double.
Non-NIL values override the type tag carried by the pack.
2010-10-03 23:44:31 +02:00
Alexander Gavrilov
03049ee7e2
Make boxed SSE packs untyped for all purposes but printing.
...
Now the following rules hold:
- (type-of pack) = SSE-PACK
- (typep pack '*-SSE-PACK) = T
The compiler is tweaked to unbox unidentified packs as
__m128i (integer), assuming that a cast would be inserted
later if that is not what was needed.
2010-10-03 23:43:52 +02:00
Juan Jose Garcia Ripoll
c96650531c
When dlopen and friends fail, the cblock got inserted in the library list (A Gavrilov)
2010-10-03 23:22:31 +02:00
Juan Jose Garcia Ripoll
0270afbb05
Rounding routines ratio_to_double, ratio_to_long_double, were missing code for the situation when the argument is not a fixnum
2010-10-03 15:54:29 +02:00
Samium Gromoff
b999a2c8fb
Fix gc.h stomping over _beginthread() declaration and other MinGW issues
2010-10-03 10:18:26 +02:00
Juan Jose Garcia Ripoll
33a9087056
Optimization policies were overwritten by its own code, not being available in a fresh new image.
2010-09-27 10:24:48 +02:00
Juan Jose Garcia Ripoll
04c2a210b3
ecl_parse_number and ecl_parse_integer are splitted into separate files and do not rely on the C library (atoi, strtod, ...) because these functions are affected by the locale.
2010-09-27 10:23:13 +02:00
Juan Jose Garcia Ripoll
655809781a
Rounding of bignums in ecl_to_double() did not work (GMP truncates).
2010-09-27 00:35:02 +02:00
Juan Jose Garcia Ripoll
bd4f3597ed
Unix signals reported as continuable errors
2010-09-21 09:18:22 +02:00
Juan Jose Garcia Ripoll
294a4280c6
MAKE-ARRAY did not check the type of its first argument
2010-09-12 15:06:38 +02:00
Juan Jose Garcia Ripoll
2ff3ebe751
Fixing file name cases to work with Wine (G. Dos Reis)
2010-09-12 15:00:00 +02:00
Juan Jose Garcia Ripoll
1af0162b6f
The compiler package is now part of the ones that are built in
2010-09-12 09:58:33 +02:00
Juan Jose Garcia Ripoll
c4dd32ca96
Third iteration at the problem with packages_to_be_created. Now this variable is associated to a flag that deactivates its use outside read_VV's reader.
2010-09-05 22:43:49 +02:00
Juan Jose Garcia Ripoll
e42b76c2f7
Another iteration in the reader package handling
2010-09-04 16:04:41 +02:00
Juan Jose Garcia Ripoll
c4af381d02
Detection of missing packages in the reader was accidentally deactivated.
2010-08-30 11:20:07 +02:00
Juan Jose Garcia Ripoll
6e90253faf
Fixed compiler warnings
2010-08-24 17:32:22 +02:00
Juan Jose Garcia Ripoll
bee95fc949
Small typo in windows thread status detection that only affects WIN64.
2010-08-23 12:54:28 +02:00
Juan Jose Garcia Ripoll
2e0b4d2135
More places where ECL_MS_WINDOWS_HOST should be used instead of _MSC_VER
2010-08-22 23:50:41 +02:00
Juan Jose Garcia Ripoll
d429aa28f3
windows.h is needed also for mingw in alloc_2.d
2010-08-22 23:15:20 +02:00
Juan Jose Garcia Ripoll
f4f846b928
In some files windows.h was included before ecl.h
2010-08-22 23:02:52 +02:00
Juan Jose Garcia Ripoll
5c63cd8345
When compiling for the Windows API, define ECL_MS_WINDOWS_HOST instead of checking for mingw or _MSC_VER separately (Gabriel Dos Reis)
2010-08-22 22:29:21 +02:00
Juan Jose Garcia Ripoll
e4262ab3d8
Fixed declaration for _ecl_big_set_fixnum/index (Gabriel Dos Reis). Added those functions to the core in all cases.
2010-08-22 21:53:50 +02:00
Juan Jose Garcia Ripoll
a677a3b0c0
Rename features.h -> ecl_features.h because Linux has a header with the same name
2010-08-21 22:46:03 +02:00
Juan Jose Garcia Ripoll
321356dadf
cl_core is now mostly filled statically in main.d
2010-08-21 16:31:42 +02:00
Juan Jose Garcia Ripoll
ca6e9168cb
Fixed two small typos
2010-08-21 16:31:23 +02:00
Juan Jose Garcia Ripoll
bac154bc98
More of the string constants that are used in main.d are now statically allocated.
2010-08-21 13:25:16 +02:00
Juan Jose Garcia Ripoll
b400db086b
Avoid consing when creating the package names.
2010-08-21 12:08:48 +02:00