Commit graph

3364 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
ab76c8d40c src/aclocal.m4: fake -rpath in OSX using -install_name. 2009-10-09 12:23:11 +02:00
Juan Jose Garcia Ripoll
cac368ef42 Note latest change in src/clx/dependent.lisp 2009-10-08 20:54:24 +02:00
Juan Jose Garcia Ripoll
66408efb09 src/clx/dependent.lisp: the definition of holding-lock was not protected by an unwind-protect. 2009-10-08 20:29:17 +02:00
Juan Jose Garcia Ripoll
5fe3f34c55 src/clx/dependent.lisp: fixed typo in the definition for make-process-lock. 2009-10-08 20:27:54 +02:00
Juan Jose Garcia Ripoll
2f254ceb59 src/c/unixint.d, src/c/stacks.d: we cannot execute signal handlers in separate stacks, because it confuses the lisp environment. Instead when detecting stack overflows we just jump out. 2009-10-08 20:19:28 +02:00
Juan Jose Garcia Ripoll
8b3ee8313d src/c/unixint.d: ignore floating point point exceptions which are not marked as trappable. 2009-10-08 20:10:04 +02:00
Juan Jose Garcia Ripoll
fad9e444e5 Using feenableexcept() does not really work on linux: it is broken and makes the signal handler be ignored. 2009-10-08 20:09:36 +02:00
Juan Jose Garcia Ripoll
ae89c2f09d Restore the lines for building the replacement module sb-bsd-sockets.lisp. 2009-10-08 18:22:08 +02:00
Juan Jose Garcia Ripoll
3cba18c74f src/c/main.d, src/c/all_symbols.d, src/h/external.h: the package MP is created also in single-threaded versions. 2009-10-08 18:13:56 +02:00
Juan Jose Garcia Ripoll
a621342f3d Tag new release. 2009-10-08 14:19:32 +02:00
Juan Jose Garcia Ripoll
ce0cdc024e Make ANNOUNCEMENT independent of the release. 2009-10-08 14:18:42 +02:00
Juan Jose Garcia Ripoll
b819099a2b src/aclocal.m4: changed the detection of processor so that it works under Snow Leopard / 64bits mode. 2009-10-08 14:17:25 +02:00
Juan Jose Garcia Ripoll
6b20a47fe1 src/c/unixint.d: fixed typo that only affects the single-threaded builds. 2009-10-08 14:15:12 +02:00
Juan Jose Garcia Ripoll
4e92699b29 Forgot to change release number as well. 2009-10-08 11:48:46 +02:00
Juan Jose Garcia Ripoll
77db5807be Forgot to change revision number in ANNOUNCEMENT. 2009-10-08 11:43:46 +02:00
Juan Jose Garcia Ripoll
d09cd99f4f src/lsp/top.lsp:
* When pressing Ctrl-C (SIGINT, interrupt, etc), if there is only one thread running
  that thread is interrupted.
* The list of process that can be interrupted is filtered, changing the interfaces of
  si::query-process and si::show-processes.
2009-10-07 15:40:18 +02:00
Juan Jose Garcia Ripoll
a66d58d6b5 When returning from a signal handler, ECL left a sigmask in which all signals were allowed. Now we just restore the default sigmask. 2009-10-07 15:39:23 +02:00
Juan Jose Garcia Ripoll
ffe8e14d18 src/c/unixint.d:
* Install the synchronous signal handlers before calling GC_init()
  so that they can be overwritten.
* Under Linux, access to mprotect'ed memory causes SIGSEGV, not SIGBUS.
2009-10-07 11:25:43 +02:00
Juan Jose Garcia Ripoll
7507191ad1 src/lsp/top.lsp: (continue) did not work from within the interrupt handler. 2009-10-07 11:24:26 +02:00
Juan Jose Garcia Ripoll
0f3a7d4eb1 src/CHANGELOG: note last fix of si_process_declarations 2009-10-06 14:26:40 +02:00
Juan Jose Garcia Ripoll
1bb7f6e807 si::process-declarations did not identify extended strings as documentation. 2009-10-06 14:24:58 +02:00
Juan Jose Garcia Ripoll
84f0e7906a The value of *print-level* has to be reset when printing a structure. 2009-10-05 21:54:59 +02:00
Juan Jose Garcia Ripoll
dafd831fef src/h/config.h.in: define only GC_THREADS. Supposedly the garbage collector with define GC_PTHREADS, GC_WIN32_THREADS, etc, depending on the compiler and platform. 2009-10-05 18:31:25 +02:00
Juan Jose Garcia Ripoll
a5d5c7d3f6 src/cmp/cmpmain.lsp: clean up the files we create (*.c, *.h) before writing onto them. 2009-10-05 15:54:46 +02:00
Juan Jose Garcia Ripoll
b88755c6b4 src/h/config.h.in: in Darwin we have to define GC_DARWIN_THREADS because the garbage
does not store its settings.
2009-10-05 14:41:31 +02:00
Juan Jose Garcia Ripoll
d2fbd4da69 Mark the new release number 2009-10-05 14:13:35 +02:00
Juan Jose Garcia Ripoll
fe000b075a src/cmp/cmpmain.lsp: silence the program "mt" that embeds the manifest in a Windows executable. 2009-10-05 12:12:05 +02:00
Juan Jose Garcia Ripoll
6d54621001 src/c/unixint.d: define _WIN32_WINNT=0x400 to get QueueUserAPC 2009-10-05 12:07:18 +02:00
Juanjo
70ae473d9b src/CHANGELOG: note down the latest changes in the Windows port. 2009-10-05 11:01:01 +02:00
Juanjo
bedd620359 src/cmp/cmpmain.lsp: in Windows, embed the manifest file into the executable, dll or fasl, and delete any other automatically generated files (*.exp, *.lib, etc). 2009-10-05 11:00:50 +02:00
Juanjo
c37757d262 src/compile.lsp.in: removed unused statements that conflict with the real ones for building sb-bsd-sockets. 2009-10-05 11:00:44 +02:00
Juanjo
8685d8beb7 msvc/Makefile, msvc/c/Makefile: hard-code the value of ECL_UNICODE and add new flags to prevent incremental linking. 2009-10-05 11:00:40 +02:00
Juanjo
1f74500b31 msvc/ecl/confg.h.msvc6: the value of UNICODE is now hardcoded in the header file, just like in other ports. 2009-10-05 11:00:36 +02:00
Juanjo
25c9b636e1 contrib/sockets/sockets.lisp: remove unused conditionalization. 2009-10-05 11:00:32 +02:00
Juanjo
f908de7ac0 src/c/dpp.c: change label names to prevent conflicts with some macros. 2009-10-05 11:00:27 +02:00
Juanjo
e39a9044ec src/c/load.d: windows fasls were not marked as self-destructing. 2009-10-05 11:00:22 +02:00
Juanjo
2d639b4850 src/h/ecl-cmp.h: define _WINSOCKAPI_ to avoid that windows.h includes winsock.h. Needed to build sb-bsd-sockets. 2009-10-05 11:00:13 +02:00
Juan Jose Garcia Ripoll
d4e0d72e9d threads.d: fixed two typos in the error checks for condition variables. 2009-10-02 10:02:05 +02:00
Juan Jose Garcia Ripoll
e3a8f6aec5 * msvc/ecl/config.msvc6: export ECL_WINDOWS_THREADS macro
* src/h/config.h: define GC_THREADS when using the garbage collector and threads.
2009-10-01 16:04:13 +02:00
Juan Jose Garcia Ripoll
5823093301 threads_mutex.d: fixed wait duration in mp_get_lock_wait(). 2009-10-01 15:55:31 +02:00
Juan Jose Garcia Ripoll
511d3b1945 src/c/hash.d: conditionalize another use of hash.lock. 2009-10-01 12:48:02 +02:00
Juan Jose Garcia Ripoll
5ae1c96929 The gc library does not remember its settings: we have to define GC_PTHREADS or GC_WIN32_THREADS before including the gc.h header. 2009-10-01 12:01:26 +02:00
Juan Jose Garcia Ripoll
5618cc648b src/c/threads.d: we cannot create locks until the environment is set up 2009-10-01 11:36:34 +02:00
Juan Jose Garcia Ripoll
2bee22b015 Note the last change in the configuration process, related to the detection of GC_register_my_thread. 2009-10-01 10:27:31 +02:00
Juan Jose Garcia Ripoll
5d2002432a The test for an existing Boehm-Weiser garbage collector must include function GC_register_my_thread 2009-10-01 10:20:21 +02:00
Juan Jose Garcia Ripoll
3913c4464e Functions returning "void" can not use "return something" in Sun's compiler, even if that something is (void). 2009-09-29 21:31:02 +02:00
Juan Jose Garcia Ripoll
d498548b07 src/c/package.d: field hash.lock is not defined in single-threaded versions 2009-09-29 17:04:34 +02:00
Juan Jose Garcia Ripoll
0e7563952e Change needed for OS X 10.6 Leopard: ucontext.h is deprecated and produces an error. 2009-09-29 17:04:11 +02:00
Juan Jose Garcia Ripoll
04c7b4e67b threads_mutex.d was not added in the previous commit 2009-09-27 21:52:04 +02:00
Juan Jose Garcia Ripoll
d3ce2ef931 Split the code for mutexes into a separate file and use these lock objects in cl_core, instead of the raw versions. 2009-09-27 21:20:01 +02:00