Commit graph

2746 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
4a3349a9f2 Implemented weak pointers. 2009-09-03 16:54:25 +02:00
Juan Jose Garcia Ripoll
a30c355186 Eliminate further uses of deprecated functions (K. Shakirov) 2009-09-01 10:39:04 +02:00
Juan Jose Garcia Ripoll
87aca210d1 In solaris we need -lpthread for multithreaded builds 2009-08-31 21:59:26 +02:00
Juan Jose Garcia Ripoll
c66068c408 Fixes for building ECL with gcc 3.4.3 in Solaris 10 2009-08-31 17:21:20 +02:00
Juan Jose Garcia Ripoll
ce10779464 Fixed typo in src/c/Makefile.in 2009-08-31 14:21:29 +02:00
Juan Jose Garcia Ripoll
ef59d2ea1a Solaris's make is not able to deduce from .d.c and .c.o the .d.o rule. 2009-08-31 14:06:45 +02:00
Juan Jose Garcia Ripoll
2e1ba7a9e9 Replace a couple of uses of si_make_vector with ecl_alloc_simple_vector 2009-08-29 18:59:12 +02:00
Juan Jose Garcia Ripoll
4bcd908a0a The function ecl_alloc_simple_vector() is responsible now for allocation of simple strings and it uses ecl_alloc_compact_object(). 2009-08-29 18:53:28 +02:00
Juan Jose Garcia Ripoll
8af928156c big.d: remove debug statements. 2009-08-29 17:47:45 +02:00
Juan Jose Garcia Ripoll
c4fccf4a3d * print.d: the string in write_bignum() may need space for a sign.
* print.d: use stack allocated space for the bignum string when possible.
2009-08-29 17:19:07 +02:00
Juan Jose Garcia Ripoll
d8cd52fefa The routines for allocating bignums in a compact way is exported to alloc_2.d so that it can be applied to other objects. 2009-08-29 15:40:40 +02:00
Juan Jose Garcia Ripoll
85c85a2eac big.d: allocate bignums as atomic regions of memory combining the lisp object and the integer data 2009-08-29 11:22:46 +02:00
Juan Jose Garcia Ripoll
95ac61115c ECL was still using the deprecated c_string_to_object 2009-08-29 10:53:54 +02:00
Juan Jose Garcia Ripoll
a9f70db3c2 threads.d: the output from pthread_create() is not the thread handle. 2009-08-29 10:51:46 +02:00
Juan Jose Garcia Ripoll
484fb955ab Renamed all remaining internal functions that work with bignums. 2009-08-28 22:31:39 +02:00
Juan Jose Garcia Ripoll
132531d86a New internal functions/macros _ecl_big_set_{fixnum,index}, _ecl_big_gcd, and removed all uses of bignum1. 2009-08-28 22:04:28 +02:00
Juan Jose Garcia Ripoll
44443c10b8 Prefixed the big_register* functions with _ecl_ 2009-08-28 20:06:40 +02:00
Juan Jose Garcia Ripoll
1fb5504aaa big_register{0,1,2}_get can now be inlined macros 2009-08-28 19:27:55 +02:00
Juan Jose Garcia Ripoll
3d778f4974 Bignum registers can not use statically allocated memory if we use GMP's own allocation/deallocation routines. This implies additional cleanup when deallocating an environment, and allowing for larger registers to decrease the pressure on the garbage collector. 2009-08-28 13:05:36 +02:00
Juan Jose Garcia Ripoll
3919ccdadc Changed the routines that manipulate bignums so that they use bignum registers and free them when finished -- this should allow ECL work without changing GMP's memory functions. 2009-08-28 02:03:30 +02:00
Juan Jose Garcia Ripoll
3556aae864 Fixed typo in number.d (CL_FIXNUM_BITS -> FIXNUM_BITS). 2009-08-21 22:07:43 +02:00
Juan Jose Garcia Ripoll
413b9561cf Two compatibility improvements in the SOCKETS library:
1) The buffer types :FULL and :LINE are supported.
2) We create an alias called SB-BSD-SOCKETS
2009-08-16 10:49:36 +02:00
Juan Jose Garcia Ripoll
cde8fae5c9 FLOAT-FIX ignores its second value. 2009-08-12 23:55:39 +02:00
Juan Jose Garcia Ripoll
15762a337a Implemented file-position for Gray sreams 2009-08-06 16:30:17 +02:00
Juan Jose Garcia Ripoll
4bb0566396 ECL did not properly handle when Gray stream-read-char returned :EOF 2009-08-06 16:08:51 +02:00
Samium Gromoff
14d197733b FILE-STREAM-FD. 2009-08-06 15:30:41 +02:00
Juan Jose Garcia Ripoll
7c218121b8 Change cinit.d so that it compiles with MSVC 2009-08-06 09:41:31 +02:00
Juan Jose Garcia Ripoll
81d5550d9b In ecl_library_open(), avoid merging the pathname with *default-pathname-defaults* 2009-08-04 11:59:52 +02:00
Juan Jose Garcia Ripoll
54c3c99f3a ecl_namestring() takes now a second argument which is a flag and includes the possibility of enforcing that the output be a base string. This is used by chdir, which formerly failed to work because of getting an extended string from namestring. 2009-08-03 21:14:40 +02:00
Juan Jose Garcia Ripoll
d3bd38e673 The previous fix for src/c/Makefile.in now extends to the flags for building dpp. 2009-08-03 00:20:07 +02:00
Juan Jose Garcia Ripoll
4e011291ce CPPFLAGS has to come _after_ our include directories 2009-08-02 23:15:28 +02:00
Juan Jose Garcia Ripoll
7195468eec Completed the implementation of SI:SAFE-EVAL and SI:STRING-TO-OBJECT 2009-07-31 23:16:03 +02:00
Juan Jose Garcia Ripoll
a44854e182 Two new functions, ecl_read_from_cstring{,_safe}, do what c_string_to_object did before. 2009-07-31 22:51:03 +02:00
Juan Jose Garcia Ripoll
f926a8d497 Missing symbol when using DFFI without libffi 2009-07-30 19:31:12 +02:00
Juan Jose Garcia Ripoll
627acfcc02 Changed the way the callback is stored, to match the format used by callback_executor and by cmpcbk.lsp 2009-07-29 10:42:14 +02:00
Juan Jose Garcia Ripoll
58e895e26a Feature DFFI is defined also when we use LIBFFI, and not ECL's own dynamic FFI. 2009-07-29 10:41:42 +02:00
Juan Jose Garcia Ripoll
7dbe45ada9 First implementation of DFFI using libffi 2009-07-28 23:33:45 +02:00
Juan Jose Garcia Ripoll
c90431dbdb Remove an extra POP1 operand that was pushed after STEPCALL. This operand is no longer needed by the new implementation of the stepper. 2009-07-28 12:20:26 +02:00
Juan Jose Garcia Ripoll
45487a621f The encoding errors now show the stream position 2009-07-27 22:40:00 +02:00
Juan Jose Garcia Ripoll
c7384ab934 The symbol STREAM-EXTERNAL-FORMAT-SET was exported in the wrong package 2009-07-27 22:11:01 +02:00
Juan Jose Garcia Ripoll
c794d20f30 The constants used in COMPILE are now assigned in read_VV, not in the compiled code. 2009-07-27 21:37:51 +02:00
Juan Jose Garcia Ripoll
5af9a2e99b Implemented a function to change the encoding of a file stream 2009-07-26 12:59:15 +02:00
Juan Jose Garcia Ripoll
da641873e4 In structures ecl_{array,vector,base_string,string}, replaced the bitfields hasfillp and adjustable with a single integer holding all flags. This solves several problems with Microsoft C compiler. 2009-07-26 11:56:26 +02:00
Juan Jose Garcia Ripoll
267654ba08 Remove debug statement 2009-07-24 15:59:01 +02:00
Juan Jose Garcia Ripoll
df67606f77 Fixes for cygwin 2009-07-24 11:19:39 +02:00
Juan Jose Garcia Ripoll
276888f6d5 Yet another iteration of the Makefile problem. This time it seems to keep happy both Solaris and NetBSD. 2009-07-23 17:36:40 +02:00
Juan Jose Garcia Ripoll
ba4e784a10 Slightly modified the Makefile so that it works with Solaris' make 2009-07-23 17:11:31 +02:00
Juan Jose Garcia Ripoll
fa2bcce0f4 SA_SIGINFO is only defined in Solaris when using _XOPEN_SOURCE >= 500 2009-07-23 16:15:39 +02:00
Juan Jose Garcia Ripoll
857807f813 Fixed an error in si::get-library-pathname under Windows. 2009-07-21 22:21:27 +02:00
Juan Jose Garcia Ripoll
7a1cb72234 The MSVC builds without unicode can not use external formats. 2009-07-21 22:21:07 +02:00