Commit graph

2367 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
72d0b9d27a Fixed the patch_sharp() routine so that #3(x) returns #(x x x). 2013-01-08 23:53:04 +01:00
Juan Jose Garcia Ripoll
a869a5a570 patch_sharp() takes a lisp environment as argument 2013-01-08 23:24:32 +01:00
Juan Jose Garcia Ripoll
ebafa5f275 Added the Unicode character database to the C library 2012-12-26 22:31:37 +01:00
Juan Jose Garcia Ripoll
0e64774fbe Added a declaration to name LAMBDA forms even when we do not use EXT:LAMBDA-BLOCK 2012-12-21 00:12:53 +01:00
Juan Jose Garcia Ripoll
39bc148181 Added more function references to cl_symbols. 2012-12-20 09:40:04 +01:00
Juan Jose Garcia Ripoll
d57393f38e Add a few more functions to cl_core. 2012-12-20 00:09:52 +01:00
Juan Jose Garcia Ripoll
d1a2ad7a4e Some statements from si::bc-disassemble were written to the wrong stream 2012-12-19 23:29:32 +01:00
Juan Jose Garcia Ripoll
b2889a6627 STANDARD-INSTANCE-GET is now used to provide a SETF form for STANDARD-INSTANCE-ACCESS 2012-12-19 23:05:24 +01:00
Juan Jose Garcia Ripoll
0f2688147d Merged STANDARD-INSTANCE-GET and STANDARD-INSTANCE-ACCESS. 2012-12-19 22:44:01 +01:00
Juan Jose Garcia Ripoll
8ac2ec408c The accessor dispatch code must contemplate the possibility that it gets a non-standard class. In order to implement this, we ensure that SLOT-VALUE and (SETF SLOT-VALUE) are availabe as C functions right at boot time. 2012-12-18 23:24:13 +01:00
Juan Jose Garcia Ripoll
5d59463fd9 Null terminate the base-strings created by make-array. 2012-12-17 22:37:00 +01:00
Juan Jose Garcia Ripoll
438a33cafb Simplify ecl_truncate1() on rationals 2012-12-16 00:47:15 +01:00
Juan Jose Garcia Ripoll
b263921e99 Split FLOOR, CEILING, TRUNCATE and ROUND into separate C files. 2012-12-16 00:38:01 +01:00
Juan Jose Garcia Ripoll
478427d8ca Simplified ecl_round1() when handling rationals 2012-12-15 23:43:23 +01:00
Juan Jose Garcia Ripoll
c1b8bfa888 Added CCASE-ERROR and CTYPECASE-ERROR to cl_symbols. 2012-12-15 22:18:39 +01:00
Juan Jose Garcia Ripoll
161a613c07 SI::WRONG-TYPE-ARGUMENT is now linked to cl_symbols 2012-12-15 22:06:14 +01:00
Juan Jose Garcia Ripoll
0f4aee0101 DO-CHECK-TYPE, ECASE-ERROR and ETYPECASE-ERROR are now automatically defined in cl_symbols. 2012-12-15 21:49:49 +01:00
Juan Jose Garcia Ripoll
acd600641a ASSERT-FAILURE is now linked to cl_symbols 2012-12-15 21:26:31 +01:00
Juan Jose Garcia Ripoll
5b7258e8c5 Upgraded release number 2012-12-06 10:59:19 +01:00
Juan Jose Garcia Ripoll
ec1fe8781a When exiting the asynchronous signal handling thread, ensure that the environment is not protected. 2012-11-28 00:20:51 +01:00
Juan Jose Garcia Ripoll
15033d5a8a Events in the signal queue should be appended, not prepended to the list 2012-11-27 23:43:17 +01:00
Juan Jose Garcia Ripoll
c4a538dd27 Fixed typo in queue_signal(): instead of popping a cons from the signal queue, the cons was discarded. 2012-11-27 23:40:11 +01:00
Juan Jose Garcia Ripoll
d674020bd8 '. returned SI:|.| while this is an internal way to construct lists 2012-11-27 22:30:06 +01:00
Juan Jose Garcia Ripoll
04bcc1414d potential_number_p() did not use the fact that potential numbers must contain one digit 2012-11-27 22:03:47 +01:00
Juan Jose Garcia Ripoll
7c278d1573 Replaced instance-ref-safe with clos:safe-instance-ref, which is now part of the core 2012-11-26 23:06:18 +01:00
Juan Jose Garcia Ripoll
d246049e4b The bytecodes optimized function calls to core functions with fixed number of arguments, but they are redefined in some libraries. 2012-11-24 23:49:03 +01:00
Juan Jose Garcia Ripoll
c5d7b4c960 The value of *CURRENT-PROCESS* must be bound by ecl_import_current_thread(). 2012-11-09 22:20:01 +01:00
Juan Jose Garcia Ripoll
99b1e54eb0 GC_allow_register_threads is only provided in recent versions of the collector. 2012-11-01 21:53:55 +01:00
Juan Jose Garcia Ripoll
4a4c2289d7 Allow using a preinstalled copy of libatomic-ops 2012-10-31 21:42:10 +01:00
Juan Jose Garcia Ripoll
e6038ce113 Use the garbage collector routines to get the stack base in a more accurate way 2012-10-31 20:50:30 +01:00
Juan Jose Garcia Ripoll
2e3ca61015 We have to inform the library that we want to register threads 2012-10-30 22:50:12 +01:00
Juan Jose Garcia Ripoll
cd002426c5 The alias for the C package was not properly created in main.d 2012-10-27 23:27:54 +02:00
Juan Jose Garcia Ripoll
4b19fb3f60 Create new classes for the optimized slot reader/writer methods that ECL creates. 2012-10-14 11:57:41 +02:00
Juan Jose Garcia Ripoll
cf79890004 cl_describe and cl_inspect were not exported 2012-10-14 11:27:16 +02:00
Juan Jose Garcia Ripoll
f6af8d6062 MAKE-LOAD-FORM might only return one value. 2012-10-14 11:08:11 +02:00
Juan Jose Garcia Ripoll
53c7e292bc Accessors optimized using the new slot location table 2012-10-12 12:13:05 +02:00
Juan Jose Garcia Ripoll
5c91e16cc5 CLOS::NAME is not exported because it is prone to clash with other user symbols 2012-10-12 00:05:22 +02:00
Juan Jose Garcia Ripoll
69651e3073 The slot accessors written in C now rely on slot-value to avoid infinite recursion 2012-10-11 23:38:44 +02:00
Juan Jose Garcia Ripoll
b463a2535c The optimized accessors did not update instances 2012-10-11 20:08:25 +02:00
Juan Jose Garcia Ripoll
d5f1e4301b Remove debug statements from error.d 2012-10-10 22:53:52 +02:00
Juan Jose Garcia Ripoll
d905fb69c1 SI:PACKAGE-LOCK did not return the last value. 2012-10-09 22:41:27 +02:00
Juanjo Garcia-Ripoll
831bf2488b Fixed ecl_init_env(): field env->cleanup only exists in multithreaded ECL. 2012-10-08 12:10:09 +02:00
Juan Jose Garcia Ripoll
afafaae325 file.d now signals file-errors and stream-errors when stream operators fail due to the C library 2012-10-02 00:39:24 +02:00
Juan Jose Garcia Ripoll
42f0b2eaa5 Fixed problems in ecl_register_current_thread(). First, allocation of environment and process structures could not proceed when ecl_process_env() did not return a valid environment. Second, we can only call GC_unregister_my_thread() when the thread was not created by the garbage collector itself, for which we must inspect the output of GC_register_my_thread() 2012-09-27 23:06:56 +02:00
Juan Jose Garcia Ripoll
160b29795c The errors when loading a shared library were stored in the wrong field in the codeblock 2012-09-24 22:16:57 +02:00
Juan Jose Garcia Ripoll
554fc892d4 In some circumstances, gethash acting on a weak hash would return corrupt values 2012-09-21 23:02:44 +02:00
Juan Jose Garcia Ripoll
dfc94901c4 delete-file, rename-file, chdir, mkdir and chmod now signal file-errors 2012-09-02 21:46:38 +02:00
Juanjo Garcia-Ripoll
d6b3e9ff67 Fixed typos (R.J.Alcantara) 2012-08-23 11:24:44 +02:00
Juan Jose Garcia Ripoll
215647b3d0 Separate filed in the stream object to store the file column 2012-08-21 22:51:38 +02:00
Juan Jose Garcia Ripoll
3e44d52978 Fixed typo in _ecl_big_set_fixnum() for (long < cl_fixnum) 2012-08-19 22:15:45 +02:00