Commit graph

1609 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
6ee287be7a DIRECTORY no longer queries the kind of files that do not match the name/type mask 2010-02-19 09:39:17 +01:00
Juan Jose Garcia Ripoll
188166e350 o->process.env has a separate routine for marking. 2010-02-17 23:55:59 +01:00
Juan Jose Garcia Ripoll
492bcc5fc4 Allow use of nanosleep() in Darwin 2010-02-17 23:55:23 +01:00
Juan Jose Garcia Ripoll
2690d92c42 A new function EXT:ALL-ENCODINGS lists all encondings known to ECL. 2010-02-17 21:14:34 +01:00
Juan Jose Garcia Ripoll
99db7a30ec Remove debug message. In DIRECTORY the filenames were not checked against the mask. 2010-02-17 20:52:52 +01:00
Juan Jose Garcia Ripoll
bed20ae0c9 In ecl_merge_pathnames(), the version type :default overrides the version of the
default pathname.
2010-02-17 19:59:48 +01:00
Juan Jose Garcia Ripoll
b7a2082f15 DIRECTORY and TRUENAME now share the same core and none of them relies on chdir(). 2010-02-17 19:51:44 +01:00
Juan Jose Garcia Ripoll
4dabdb645f ecl_merge_pathnames() now admits a version type :default which chooses the appropriate version number for the pathname: NIL for a directory, :NEWEST for a file. 2010-02-17 19:51:21 +01:00
Juan Jose Garcia Ripoll
ad2e216609 New global constant for the '/' string 2010-02-17 19:50:35 +01:00
Juan Jose Garcia Ripoll
b80914d746 Composite streams now have a flag that allows automatic closing of its components. 2010-02-17 14:48:46 +01:00
Juan Jose Garcia Ripoll
e45c976cf3 Always define the WINDOWS feature in windows (both mingw32 and MSVC) 2010-02-16 23:53:15 +01:00
Juan Jose Garcia Ripoll
8d7c9adbf3 Factor the directory traverse routine out from cl_truename 2010-02-16 21:43:04 +01:00
Juan Jose Garcia Ripoll
c1bc9cd655 Added more cases to the FFI to handle UINT8/INT8 2010-02-16 10:41:05 +01:00
Juan Jose Garcia Ripoll
d96152798d TRUENAME and PROBE-FILE were not thread safe 2010-02-16 00:08:52 +01:00
Juan Jose Garcia Ripoll
f19c183a90 OPEN-STREAM-P did not support Gray streams 2010-02-15 15:21:45 +01:00
Juan Jose Garcia Ripoll
b486b14e9e Extend the set of types supported by UFFI (Matthew Mondor). 2010-02-13 15:29:41 +01:00
Juan Jose Garcia Ripoll
d500289efa Reorganize the code for OP_LABELS/OP_FLET in ecl_interpret() to occupy less space and get faster. 2010-02-08 23:20:29 +01:00
Juan Jose Garcia Ripoll
94f889e7b8 Factor out some error conditions from the interpreter loop. 2010-02-08 22:05:57 +01:00
Juan Jose Garcia Ripoll
dcbf547822 Avoid using ecl_internal_error() also in ecl_bds_overflow and ecl_frs_oveflow. 2010-02-08 13:01:45 +01:00
Juan Jose Garcia Ripoll
81e054971e ecl_cs_overflow() and SIGSEGV handler now share the same strategy: jump to the outermost frame when the error can not be cured. 2010-02-08 12:46:13 +01:00
Juan Jose Garcia Ripoll
5c25fc1f5f Avoid using _ecl_big_register_normalize() in alloc_2.d 2010-02-07 23:22:26 +01:00
Juan Jose Garcia Ripoll
bcfd36cb8f Number of allocated bytes was didn't have to be multiplied by anything. Reset GC counters every time we call GC-STATS. 2010-02-07 23:02:29 +01:00
Juan Jose Garcia Ripoll
12c497b347 Implemented SBCL's extension EXT:*INVOKE-DEBUGGER-HOOK* 2010-02-07 20:42:29 +01:00
Juan Jose Garcia Ripoll
6b7640e332 Solved a problem with packages to be created in a compiled file not being recognized as having been created -- the value of cl_core.packages_to_be_created was not properly updated. 2010-02-07 15:48:19 +01:00
Juan Jose Garcia Ripoll
17fc75fcc1 Fixed typo. 2010-02-07 14:54:16 +01:00
Juan Jose Garcia Ripoll
9165901f6d Fixed a typo in EXT:GC-STATS that left statistics printing activated. 2010-02-07 12:17:35 +01:00
Juan Jose Garcia Ripoll
20d4a35287 Symbols SI:+{IO,ECL}-SYNTAX-PROGV-LIST+ were not declared constants. 2010-02-07 10:36:16 +01:00
Juan Jose Garcia Ripoll
11a6f89a70 Internal variable SI:*ALLOW-WITH-INTERRUPTS* not declared special. 2010-02-07 01:39:11 +01:00
Juan Jose Garcia Ripoll
2dd21b7cd1 (EXT:GC-STATS :FULL) now tells the garbage collector to produce full statistics. 2010-02-07 00:02:52 +01:00
Juan Jose Garcia Ripoll
bda247e139 Improve previous change. 2010-02-06 23:57:49 +01:00
Juan Jose Garcia Ripoll
d5dda8ff8e Mingw defines 'environ' to be a macro instead of a global variable. 2010-02-06 23:51:25 +01:00
Juan Jose Garcia Ripoll
5fd309897b Use __builtin_expect() in the dispatch functions. 2010-02-04 21:25:17 +01:00
Juan Jose Garcia Ripoll
790d466cec Reduce the size of the core using GCC's __attribute__((noreturn)) 2010-02-04 21:18:24 +01:00
Juan Jose Garcia Ripoll
337819233d Replace use of __builtin_expect() with two macros, ecl_{likely,unlikely} 2010-02-04 16:54:05 +01:00
Juan Jose Garcia Ripoll
7d9fb8bbc7 Mark FEprogram_error as noreturn. 2010-02-04 00:31:03 +01:00
Juan Jose Garcia Ripoll
a2337a4d93 FEinvalid_function and FEundefined_function marked as __attribute((noreturn)). 2010-02-04 00:05:01 +01:00
Juan Jose Garcia Ripoll
40ee2b29eb Use of __builtin_expect() to mark rare error conditions. Use of __attribute__((noreturn)) on error functions which are used at the beginning of a function and do not have possibility of triggering a longjmp int the same function. 2010-02-03 23:30:16 +01:00
Juan Jose Garcia Ripoll
d73502b8f3 CLOS::*NEXT-METHODS* and CLOS::.COMBINED-METHOD-ARGS. are now globally declared special. 2010-02-03 23:29:08 +01:00
Juan Jose Garcia Ripoll
2908aabbbc Undo previous garbage collector change. 2010-02-03 22:43:04 +01:00
Juan Jose Garcia Ripoll
6c77033ad6 When marking the environment, only mark pages that are dirty. 2010-02-03 21:01:05 +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
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