Commit graph

198 commits

Author SHA1 Message Date
jjgarcia
82dbe6b94d Some versions of GCC do not like the static declaration inside the function 2005-05-19 16:14:29 +00:00
jjgarcia
b8ab417619 Minor cast errors 2005-03-15 14:26:32 +00:00
jjgarcia
9a5ab7eb9e New stream mode smm_io_wsock. 2005-02-17 12:40:26 +00:00
goffioul
6b56260d76 Fix finalization bug when using Windows sockets. 2005-02-10 15:19:39 +00:00
jjgarcia
8a4afd0424 Thread support for Mingw32 2005-01-31 17:59:46 +00:00
jjgarcia
b85001ea7c Functions for allocating uncollectable, but scanned memory. 2004-11-29 15:52:11 +00:00
jjgarcia
6b219625b5 Port to Microsoft VC++ by Goffioul Michael <goffioul@imec.be> 2004-10-25 16:34:20 +00:00
jjgarcia
ce41ff78fd Support for DLL in Windows 2004-06-18 07:51:14 +00:00
jjgarcia
24b91659b2 C-{INT,LONG,UINT,ULONG}-{MIN,MAX} could exceed the limits of a fixnum and thus have to be created at boot time. 2004-06-08 07:14:18 +00:00
jjgarcia
3246405dcc Imported the PRETTY-PRINTER from CMUCL and integrated it with the previously commited format.lsp. The old pretty printer remains merged in and is used by default. 2004-05-12 08:07:53 +00:00
jjgarcia
62d43f4892 Preliminary implementation of the UFFI. 2004-03-29 11:13:17 +00:00
jjgarcia
860dbd69ec Fixes due to type sizes, updates of the old garbage collector and the terrible bug with hash tables merged into main trunk 2004-02-29 15:47:01 +00:00
jjgarcia
71f921ed39 Remove some warnings from GCC 2004-01-24 17:00:24 +00:00
jjgarcia
cdff225681 Implemented locking on hash tables and packages. Fixed several floating point contagion bugs in +, -, /, *, and ROUND. 2003-11-24 11:27:28 +00:00
jjgarcia
eb8f202478 Change order in which threads are initialized. Improved (or let's say fixed) marking of thread objects. New own_process thread object 2003-11-21 17:11:06 +00:00
jjgarcia
01c6e8abff Use more lispy names for the thread objects, and add locks. 2003-11-19 15:07:18 +00:00
jjgarcia
4eac79774e Preliminary support for POSIX threads. 2003-11-18 11:23:07 +00:00
jjgarcia
6c7e48efb6 Support for making and loading FASL files under OSX. 2003-11-08 16:53:22 +00:00
jjgarcia
3802c872ef Fixed typo 2003-10-30 16:28:43 +00:00
jjgarcia
4dcf2dd604 The garbage collector and the finalizer routines should not distort the lisp environment in which they were invoked. 2003-10-30 10:29:30 +00:00
jjgarcia
dfe6fb3213 Most structure and enumeration types are renamed to avoid clashes with other libraries (most notably C++). 2003-10-22 07:56:36 +00:00
jjgarcia
e3473825d2 Bunch of fixes to allow loaded files to be garbage collected. New file naming conventions. 2003-10-06 09:40:32 +00:00
jjgarcia
e5072a82d9 Use user-supplied DPP to build the C files. machines.h is no longer required. 2003-07-23 13:09:37 +00:00
jjgarcia
d0cd173cf4 Initial patches for supporting MINGW32 2003-07-08 17:36:41 +00:00
jjgarcia
a381a7ee09 Merge NEW_COMPILER 25.05.03 2003-05-26 09:49:50 +00:00
jjgarcia
57e80be0aa Fix typo. 2003-03-20 14:10:38 +00:00
jjgarcia
41c0868469 Bunch of fixes. See CHANGELOG. 2003-03-17 10:39:08 +00:00
jjgarcia
a767dd4939 Symbol GC moved from package COMMON-LISP to SYSTEM (and imported into CL-USER). 2003-03-13 13:10:15 +00:00
jjgarcia
5478bbe21b DLLs and files have now termination procedures, which unload the DLL or close
the file, when these objects are garbage collected.
2003-03-12 10:05:42 +00:00
jjgarcia
c08c51ab4a Instead of defining cl_alloc* stuff, make them alias of functions in the Boehm-Weiser garbage collector, to save space. 2002-11-18 12:50:54 +00:00
jjgarcia
aefdb1995b Introduce ecl_register_static_root() to register C static variables as containing pointers for garbage collection. Make ecl_register_static_root() do nothing in the Boehm-Weiser GC, because it already scans the whole data segment. 2002-11-18 12:48:58 +00:00
jjgarcia
aff037d412 Remove unportable hacks in BWGC, just in case someone wishes to an already
installed version.
2002-11-05 13:14:57 +00:00
jjgarcia
d77e370f56 In systems without DLOPEN, the list of *load-hooks* was corrupt. 2002-11-05 10:58:13 +00:00
jjgarcia
b0ce08d0ea Changes towards 0.7b comprise naming and calling conventions. See CHANGELOG. 2002-11-04 14:08:24 +00:00
jjgarcia
23ee878e59 All symbols belonging to the LISP package and to the C core, are
kept in a single array, "cl_symbols". The translator "dpp" and the
routine SI::MANGLE-NAME, output the right name for any symbol
which is in this array.
2002-09-15 13:29:05 +00:00
jjgarcia
7e5cacd38e * Variable *EVAL-WHEN-COMPILE* is no longer used.
* FIND-CLASS belongs to the C library -- it can now be directly called.
* Class BUILT-IN renamed to BUILT-IN-CLASS
* Macro PROG1 slightly optimized
2002-05-17 16:37:21 +00:00
jjgarcia
d5531d7a3f Add support for Mac OSX, which means
- Enable simple allocator to use mmap()
- Rewrite cmpwt.lsp so that it produces files with short lines and ANSI strings
- Fix mkdir so that it accepts a parameter for the mode
2001-12-25 16:13:18 +00:00
jjgarcia
e60a6ceaa1 Fix typo regarding (enum cl_type). 2001-12-20 17:19:13 +00:00
jjgarcia
c9b91f9618 Minimal patches for C++ compatibility 2001-12-20 09:17:51 +00:00
jjgarcia
3dc4807773 Allocate bignums as atomic objects which host no pointers 2001-12-12 08:06:51 +00:00
jjgarcia
851cd03941 The project name goes back to ECL. Therefore feature #+ECL returns and the
program and libraries are named ecl*. Finally the routine sys::build-ecls
has been renamed sys::build-program.
2001-11-21 08:07:30 +00:00
jjgarcia
9b4bd625f4 +The compiler produced wrong code for RETURN-FROM forms inside an UNWIND-PROTECT.
+Deftype BIT-VECTOR would not expand to a vector type.
+Each compiled file has an entry point whose name is either
 init_CODE() or another name based on the name of the source file.
 The algorithm for computing these names has been slightly changed
 so that the entry points of ECLS's own library do not conflict with
 user defined entry points.
+A LET/LET* form in which the initializers for a variable have not
 the expected type produce a warning, but the code is accepted. For
 instance (LET (V) (DECLARE (TYPE FIXNUM V)) (SETQ V 1)) now
 compiles.
+(SETF name), where name is a symbol, is now a valid function name in all
 contexts. It is accepted by DEFUN, FUNCTION, FBOUNDP, FMAKUNBOUND, etc,
 and it can be the on the function position in any form.
+New specialized arrays for (UNSIGNED-BYTE 8) and (SIGNED-BYTE 8).
2001-11-17 11:02:12 +00:00
jjgarcia
b979ad8b0b Changes in the names of macros related to fixnums, characters and arrays. 2001-10-11 17:44:57 +00:00
jjgarcia
e090dfbc86 Avoid passing files throug the preprocessor, as it corrupts paths. For
instance, when cross-compiling from FreeBSD to Linux, /compat/linux
gets converted into "/compat/ 1 " which is obviously bogus.
2001-08-18 10:55:10 +00:00
jjgarcia
16668c218d When using Boehm's GC, protect data in shared libraries from garbage collection. 2001-07-30 16:09:29 +00:00
jjgarcia
77c8cc4ebf Fix typo. 2001-07-29 16:25:10 +00:00
jjgarcia
0dc4df6002 Add a name mangler to "dpp" so that it translates symbol names as
@'si:symbol-name' @'other-symbol*' into the appropiate C name. All
symbol names and function names have been rewritten using this convention.
2001-07-02 17:11:28 +00:00
jjgarcia
2d8d0cd44b Initial revision 2001-06-26 17:14:44 +00:00