Commit graph

3650 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
67cb66678d ECL now ships with ASDF version 1.596 2010-02-03 21:00:23 +01:00
Juan Jose Garcia Ripoll
6ddf0a5c4c Fixed typo. 2010-02-02 19:39:35 +01:00
Juan Jose Garcia Ripoll
a5f254cb13 Own marking routine for garbage collection. 2010-02-02 16:53:53 +01:00
Juan Jose Garcia Ripoll
2da3cb5af2 Dispatch allocation to functions using pointers. 2010-02-02 10:30:07 +01:00
Juan Jose Garcia Ripoll
c0c339510b Do not define the free list and new kind unless needed. 2010-02-02 00:05:50 +01:00
Juan Jose Garcia Ripoll
e30ccfaec9 We are using __builtin_expect() which is not portable. Define a macro for non-GCC compilers. 2010-02-02 00:04:38 +01:00
Juan Jose Garcia Ripoll
8f51774f56 Activated code for inline allocation. 2010-02-02 00:00:14 +01:00
Juan Jose Garcia Ripoll
70ef2d0777 Changed header so that we can use GC_arrays from ECL. 2010-02-01 23:56:21 +01:00
Juan Jose Garcia Ripoll
1e4f19a631 Group the precise marking code so that it builds also without --enable-precisegc. 2010-02-01 16:47:27 +01:00
Juan Jose Garcia Ripoll
78ff9930cc Implemented precise marking of objects using Boehm's typed objects. 2010-02-01 14:54:59 +01:00
Juan Jose Garcia Ripoll
20f4c8931e Do not shrink bignum registers. 2010-01-29 14:10:49 +01:00
Juan Jose Garcia Ripoll
b351955296 Moved more uses of _ecl_big_register*() out of sources into big.d. Introduced _ecl_big_gcd(). 2010-01-28 23:36:01 +01:00
Juan Jose Garcia Ripoll
83eddf11f9 Intoduced _ecl_fix_times_fix, _ecl_big_ceiling and _ecl_big_floor. 2010-01-28 23:08:16 +01:00
Juan Jose Garcia Ripoll
5e32e797c9 Created _ecl_fix_times_fix and used it in num_arith.d 2010-01-28 22:13:40 +01:00
Juan Jose Garcia Ripoll
d274206693 Reactivate allocating compact bignums. 2010-01-28 21:42:34 +01:00
Juan Jose Garcia Ripoll
c393747283 Introduced _ecl_big_negate. 2010-01-28 18:14:04 +01:00
Juan Jose Garcia Ripoll
101569dc8f Fixed and used _ecl_fix_minus_big and _ecl_big_minus_big. 2010-01-28 18:03:59 +01:00
Juan Jose Garcia Ripoll
11a1ffb74f Fixed and used _ecl_big_plus_{fix,big} 2010-01-28 17:57:43 +01:00
Juan Jose Garcia Ripoll
4b4e17ac03 New functions for adding, subtracting and multiplying bignums. 2010-01-28 17:25:59 +01:00
Juan Jose Garcia Ripoll
c8f14d68a6 Fixed typo in big.d 2010-01-27 13:52:41 +01:00
Juan Jose Garcia Ripoll
1d7a3c5309 In 'dpp.c', the value of the environment is reused in the @(return) statements. 2010-01-27 13:18:17 +01:00
Juan Jose Garcia Ripoll
1f8e6dd3bb Replaced ecl_symbol_slot and ecl_set_symbol with ecl_bds_read and ecl_bds_set. 2010-01-26 23:14:33 +01:00
Juan Jose Garcia Ripoll
265144b1e4 No bds check is needed in compiled functions, since this is included in the ecl_bds_bind routine. 2010-01-26 22:29:53 +01:00
Juan Jose Garcia Ripoll
13bb96b627 In critical circumstances, a newly bound special variable that causes the thread-local stack to grow could result in the variable not being bound. 2010-01-26 14:23:15 +01:00
Juan Jose Garcia Ripoll
dcb68018c3 Changes to make the MSVC port work again, including fixes for EXT:RUN-PROGRAM and EXT:EXTERNAL-PROCESS-WAIT. 2010-01-25 22:58:06 +01:00
Juan Jose Garcia Ripoll
6ef5f702da Fixed typo in ext:external-process-status 2010-01-25 21:26:19 +01:00
Juan Jose Garcia Ripoll
183cdb1d94 Sometimes, in external-process-wait, the value of code was undetermined. 2010-01-25 21:25:56 +01:00
Juan Jose Garcia Ripoll
2a27dc6404 Introduced EXT:EXTERNAL-PROCESS structure. RUN-PROCESS creates that structure. New function EXT:EXTERNAL-PROCESS-WAIT. 2010-01-25 20:51:36 +01:00
Juan Jose Garcia Ripoll
a2b6887e83 Missing argument for a warning 2010-01-25 20:50:31 +01:00
Juan Jose Garcia Ripoll
65c1dbb06f Missing arguments to several warnings (S. Bourakev). 2010-01-25 09:09:10 +01:00
Juan Jose Garcia Ripoll
4e35a718e5 MP:PROCESS-ENABLE did not return the process object. 2010-01-24 23:39:20 +01:00
Juan Jose Garcia Ripoll
63393f7c40 EXT:RUN-PROGRAM now accepts an :ENVIRON argument. 2010-01-24 23:09:28 +01:00
Juan Jose Garcia Ripoll
65cf8c51f6 New function EXT:ENVIRON 2010-01-24 22:37:43 +01:00
Juan Jose Garcia Ripoll
eb25ef6f63 Use inline functions also for the single threaded version 2010-01-24 09:49:36 +01:00
Juan Jose Garcia Ripoll
33d07a52bb The code for binding special variables is now in inline functions. 2010-01-23 23:45:21 +01:00
Juan Jose Garcia Ripoll
943d65ec12 In alloc_2.d, when recycling a symbol binding index we cannot cons inside
a THREAD_OP_LOCK() region because this may be interrupted by a garbage
collection process - instead perform the allocation outside and then
do an atomic update of the indices list.
2010-01-23 23:29:57 +01:00
Juan Jose Garcia Ripoll
7e89c249ab Inline ecl_bds_push() and simplify ecl_symbol_slot(), which will never be called on Cnil. 2010-01-23 01:35:17 +01:00
Juan Jose Garcia Ripoll
b3a5eff059 Remove unused variables in stacks.d 2010-01-22 19:37:57 +01:00
Juan Jose Garcia Ripoll
2d8dbea456 Save another few bytes by redefining ecl_bds_overflow() to return a pointer. 2010-01-22 19:15:52 +01:00
Juan Jose Garcia Ripoll
c97757467f Another variant in which the memory address of the bindings and their size is stored in the environment itself. 2010-01-22 19:07:18 +01:00
Juan Jose Garcia Ripoll
39e4b6826f Remove one test from the implementation of ecl_bds_bind(). 2010-01-22 18:47:55 +01:00
Juan Jose Garcia Ripoll
058d247bd4 Special variable bindings using a thread-local array instead of a hash table. 2010-01-22 17:47:10 +01:00
Juan Jose Garcia Ripoll
3ee4c8ea15 Some comments on thread_entry_point(). 2010-01-21 15:56:44 +01:00
Juan Jose Garcia Ripoll
84f90aa585 The environment of a thread is now allocated and managed by the parent thread. This decreases the time that passes since a thread is started till it is interruptible. 2010-01-21 15:39:41 +01:00
Juan Jose Garcia Ripoll
8382e4e800 ecl_init_env() split into ecl_init_env and ecl_cs_set_org() so that the former does not need to be executed in the same thread where it is going to be used. 2010-01-21 14:31:56 +01:00
Juan Jose Garcia Ripoll
24138f8fd9 New macro _hash_eq 2010-01-20 22:55:53 +01:00
Juan Jose Garcia Ripoll
192d04aeea Reorganize the code for variable binding for better caching. 2010-01-20 22:55:14 +01:00
Juan Jose Garcia Ripoll
5bbd889905 When a process is not initialized, refuse to accept signals. 2010-01-20 22:54:38 +01:00
Juan Jose Garcia Ripoll
942e37bc8d Do not attempt interrupting a process while it is being initialized. 2010-01-20 22:54:23 +01:00
Juan Jose Garcia Ripoll
7e6b13cfa3 The previous implementation of ecl_bds_unwind1() did not restore the global variable binding. 2010-01-20 20:34:31 +01:00