Commit graph

3265 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
d4020fe3a6 GMP did not build properly when setting ABI=64 2009-09-07 11:27:36 +02:00
Juan Jose Garcia Ripoll
fe0d2f8cc9 Properly detect 64-bits builds in OS X using the environment variable ABI, and in this case avoid defining ECL_USE_VARARG_AS_POINTER. 2009-09-06 23:00:38 +02:00
Juan Jose Garcia Ripoll
53266a3b92 src/aclocal.m4: the test for uint*_t did not work because inttypes.h was not found. 2009-09-06 20:44:49 +02:00
Juan Jose Garcia Ripoll
5c6218f2e1 Note last change. Move *allow-with-interrupts* to MP package. 2009-09-05 12:49:41 +02:00
Juan Jose Garcia Ripoll
723c9419b4 Fixed typo in mp:get-lock 2009-09-05 12:49:01 +02:00
Juan Jose Garcia Ripoll
42fa780cd7 src/lsp/mp.lsp: use prefixes for names in SI/EXT packages. 2009-09-05 12:48:36 +02:00
Juan Jose Garcia Ripoll
99c98f82e2 src/c/compiler.d: asm_end() now always sets the value of bytecodes.definition 2009-09-05 12:43:36 +02:00
Juan Jose Garcia Ripoll
8b57696625 Fixed a couple of typos in ecl_set_finalizer_unprotected(). 2009-09-05 12:31:11 +02:00
Juan Jose Garcia Ripoll
88f663ddb6 * Symbol SI:*INTERRUPT-DISABLE* changes name to SI:*INTERRUPTS-DISABLED*.
* Implement WITHOUT-INTERRUPTS similarly to SBCL.
* Implement WITH-LOCK disabling interrupts in the lock release phase.
2009-09-05 12:14:10 +02:00
Juan Jose Garcia Ripoll
c4cf6ad491 Reimplement WITH-UNIQUE-NAMES using LET* and GENSYM instead of block-gensym 2009-09-05 11:40:22 +02:00
Juan Jose Garcia Ripoll
9866109ea6 Copy WITH-UNIQUE-NAMES from SBCL. 2009-09-05 11:35:25 +02:00
Juan Jose Garcia Ripoll
436657ea2a We do not need error checking mutexes, as we can do the recursivity check ourselves. 2009-09-05 11:31:21 +02:00
Juan Jose Garcia Ripoll
f360f6b0f0 Reorganize mp:make-lock so that it is interrupt-safe. 2009-09-05 10:42:17 +02:00
Juan Jose Garcia Ripoll
a35ba14206 Create ecl_set_finalizer_unprotected() for situations in which a finalizer must be set with interrupts disallowed. 2009-09-05 10:41:59 +02:00
Juan Jose Garcia Ripoll
ca6198d753 Reimplement with-lock so that it is interrupt-safe. 2009-09-04 23:12:36 +02:00
Juan Jose Garcia Ripoll
d60c758832 CLASS-OF now works with weak pointers. 2009-09-03 16:57:04 +02:00
Juan Jose Garcia Ripoll
00a5b33e01 Weak pointers can now be printed. 2009-09-03 16:55:33 +02:00
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
766cbf2266 -lrt is needed for the semaphores in the BWGC. 2009-08-31 22:39:42 +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
b3c3346062 Apply patch recommended by Boehm-Weiser-gc mailing list. 2009-08-31 21:50:23 +02:00
Juan Jose Garcia Ripoll
9e1d898ef6 Do not include ucontext.h if not required. 2009-08-31 21:35:37 +02:00
Juan Jose Garcia Ripoll
d65e2aa8e7 When we do not have neither signbit nor copysign, we fall back to _not_ supporting signed zeros. 2009-08-31 21:18:43 +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
e434ebc3aa cmpmain.lsp: ensure that MKSTEMP did not fail or otherwise print a meaningful message 2009-08-31 15:23:10 +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
302c48e5e4 --enable-slow-config is now much faster because it simply takes the flags from the GMP library that we are going to build anyways. 2009-08-31 12:21:21 +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
9e6343bfe9 The flag ECL_NO_LEGACY had the opposite effect. 2009-08-29 10:44:07 +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
61b7c0ac31 Same reverse fix as before. 2009-08-17 21:25:20 +02:00
Juan Jose Garcia Ripoll
7077608d93 Default buffering mode defaults to NIL (:NONE) so that we do not break code expecting no buffering. Change will be undone at some point in the future. 2009-08-17 20:30:35 +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
34012935a0 We had forgotten the case for STRING, which is a compound array type:
(OR BASE-STRING EXTENDED-STRING)
In this case the sequence type defaults to CHARACTER.
2009-08-16 10:41:04 +02:00
Juan Jose Garcia Ripoll
a755d8bc58 Due to problems with detecting support for __thread, this flag becomes deactivated by default. 2009-08-16 10:29:34 +02:00