Commit graph

416 commits

Author SHA1 Message Date
Marius Vollmer
2f4931bf1b *** empty log message *** 2003-07-27 16:21:33 +00:00
Marius Vollmer
fcfdbb80e0 *** empty log message *** 2003-07-27 14:08:53 +00:00
Kevin Ryde
005d2366ef *** empty log message *** 2003-07-08 00:33:43 +00:00
Kevin Ryde
1ebb8497cb *** empty log message *** 2003-06-21 00:17:47 +00:00
Marius Vollmer
02d7253661 *** empty log message *** 2003-06-19 20:09:17 +00:00
Kevin Ryde
fbaca220b5 *** empty log message *** 2003-06-18 23:36:30 +00:00
Stefan Jahn
fcc5d734fc 2003-06-14 Stefan Jahn <stefan@lkcc.org>
* configure.in: Checking for __int64 as possible candidate for
        the SCM_I_GSC_T_INT64 define.

2003-06-14  Stefan Jahn  <stefan@lkcc.org>

        * threads.h: Redefined scm_getspecific() and scm_setspecific()
        to be functions instead of macros.

        * threads.c: Conditionalized inclusion of <sys/time.h> and
        <unistd.h>.
        (scm_getspecific, scm_setspecific): Made these two function
        real part of the API.

        * posix.c (s_scm_putenv): Added some code to make a
        (putenv "FOO="), i.e. setting an empty string, work also on
        Win32 systems.  Thanks to Kevin Ryde for the proposal.
2003-06-14 05:36:02 +00:00
Stefan Jahn
1e498fbd0f 2003-05-30 Stefan Jahn <stefan@lkcc.org>
* configure.in: Checking for unsetenv().

2003-05-30  Stefan Jahn  <stefan@lkcc.org>

        * posix.c (s_scm_putenv): Use the new HAVE_UNSETENV
        appropriately for mingw32 hosts.

        * numbers.h: Defining copysign(), isnan() and finite() to
        be prefixed by a single '_' for mingw32 hosts.
2003-05-30 09:39:34 +00:00
Stefan Jahn
2e945bccca 2003-05-29 Stefan Jahn <stefan@lkcc.org>
* configure.in: Removed -lm check and added a cached check for
        __libc_stack_end to get it building for mingw32 hosts.

2003-05-29  Stefan Jahn  <stefan@lkcc.org>

        * win32-dirent.c: Use malloc() instead of scm_malloc().

        * stime.c (s_scm_strftime): Add a type cast to avoid compiler
        warning.

        * posix.c (s_scm_putenv): Disable use of unsetenv() for the
        mingw32 build.

        * modules.c (s_scm_module_import_interface): Renamed local
        variable interface to _interface.  Seems like 'interface'
        is a special compiler directive for the mingw32 compiler.

        * mkstemp.c: Provide prototype to avoid compiler warning.

        * load.c (s_scm_search_path): Fixed absolute and relative
        path detections for native Windows platforms.

        * gc.h, threads.h: Export some more symbols using SCM_API
	(necessary to build on mingw32).

        * gc-freelist.c ("s_scm_map_free_list",
        "s_scm_gc_set_debug_check_freelist_x"): Fixed use of FUNC_NAME.

        * fports.c (fport_fill_input): Disable use of
        fport_wait_for_input() on Win32 platforms.

        * filesys.c (s_scm_basename): Fixed __MINGW32__ code.

        * Makefile.am: Modified some rules for cross compiling.

2003-05-29  Stefan Jahn  <stefan@lkcc.org>

        * raw-ltdl.c: Some more modifications for mingw32 platforms.

2003-05-29  Stefan Jahn  <stefan@lkcc.org>

        * Makefile.am (libguile_srfi_srfi_1_la_LDFLAGS,
        libguile_srfi_srfi_4_la_LDFLAGS,
        libguile_srfi_srfi_13_14__la_LDFLAGS): Added the -no-undefined
        option for the mingw32 build.

2003-05-29  Stefan Jahn  <stefan@lkcc.org>

        * standalone/Makefile.am: Setup to build on mingw32.
2003-05-29 14:39:13 +00:00
Kevin Ryde
26a249471a *** empty log message *** 2003-05-19 01:52:22 +00:00
Kevin Ryde
a3001b9dd0 *** empty log message *** 2003-05-16 00:07:26 +00:00
Kevin Ryde
ba2ec20d26 Typo in my last message. 2003-05-12 23:22:31 +00:00
Kevin Ryde
c72e11e605 *** empty log message *** 2003-05-11 23:12:45 +00:00
Kevin Ryde
614e70e056 *** empty log message *** 2003-05-11 22:25:16 +00:00
Dirk Herrmann
d0f6ceb84f * Removed uses of DEBUG_EXTENSIONS and DYNAMIC_LINKING to
fix compile errors with --disable-deprecated.
2003-04-20 07:19:38 +00:00
Rob Browning
07921c7642 *** empty log message *** 2003-04-07 17:52:28 +00:00
Rob Browning
876173478e *** empty log message *** 2003-04-07 17:36:17 +00:00
Marius Vollmer
e3be7ddda5 *** empty log message *** 2003-04-05 23:34:09 +00:00
Marius Vollmer
fc87c27af5 *** empty log message *** 2003-04-05 19:05:58 +00:00
Rob Browning
ad815c06cd *** empty log message *** 2003-04-04 21:51:48 +00:00
Marius Vollmer
9686f86dbf *** empty log message *** 2003-03-26 17:06:11 +00:00
Rob Browning
5ebbe4ef9b *** empty log message *** 2003-03-25 23:55:48 +00:00
Marius Vollmer
e6682f8b26 *** empty log message *** 2003-03-21 15:59:09 +00:00
Marius Vollmer
b713b0b685 *** empty log message *** 2003-03-19 18:17:06 +00:00
Rob Browning
25ad768128 *** empty log message *** 2003-02-27 07:20:33 +00:00
Mikael Djurfeldt
77f9ca697e * libguile.h: #include "futures.h" 2003-01-23 16:03:46 +00:00
Mikael Djurfeldt
09841c7783 * configure.in: Test if pthread.h declares
pthread_mutexattr_settype ().
2002-12-16 09:25:48 +00:00
Mikael Djurfeldt
ad280ae0a3 * configure.in (_THREAD_SAFE): Define when pthreads are enabled in
order to get thread safe versions of glibc functions.
2002-12-10 17:54:01 +00:00
Mikael Djurfeldt
9bc4701cd3 * __scm.h (SCM_ALLOW_INTS_ONLY): Removed.
(SCM_NONREC_CRITICAL_SECTION_START,
SCM_NONREC_CRITICAL_SECTION_END, SCM_REC_CRITICAL_SECTION_START,
SCM_REC_CRITICAL_SECTION_END): New macros.
(SCM_CRITICAL_SECTION_START/END): Defined here.

* eval.c: Insert SOURCE_SECTION_START / SOURCE_SECTION_END around
the three calls to scm_m_expand_body.

* gc.h: #include "libguile/pthread-threads.h";
(SCM_FREELIST_CREATE, SCM_FREELIST_LOC): New macros.

* gc.c (scm_i_freelist, scm_i_freelist2): Defined to be of type
scm_t_key;

* gc.c, gc-freelist.c, inline.h: Use SCM_FREELIST_LOC for freelist
access.

* gc-freelist.c (scm_gc_init_freelist): Create freelist keys.

* gc-freelist.c, threads.c (really_launch): Use
SCM_FREELIST_CREATE.

* gc-malloc.c (scm_realloc, scm_gc_register_collectable_memory):

* gc.c (scm_i_expensive_validation_check, scm_gc,
scm_gc_for_newcell): Put threads to sleep before doing GC-related
heap administration so that those pieces of code are executed
single-threaded.  We might consider rewriting these code sections
in terms of a "call_gc_code_singly_threaded" construct instead of
calling the pair of scm_i_thread_put_to_sleep () and
scm_i_thread_wake_up ().  Also, we would want to have as many of
these sections eleminated.

* init.c (scm_init_guile_1): Call scm_threads_prehistory.

* inline.h: #include "libguile/threads.h"

* pthread-threads.h: Macros now conform more closely to the
pthreads interface.  Some of them now take a second argument.

* threads.c, threads.h: Many changes.

* configure.in: Temporarily replaced "copt" threads option with new
option "pthreads".
(USE_PTHREAD_THREADS): Define if pthreads configured.
2002-12-09 13:42:58 +00:00
Rob Browning
b2cbe8d8a2 *** empty log message *** 2002-12-09 00:51:53 +00:00
Marius Vollmer
5441c65c48 *** empty log message *** 2002-12-02 01:03:24 +00:00
Mikael Djurfeldt
cfc7c7c03f * GUILE-VERSION: Added versioning info for srfi 1.
* configure.in (LIBGUILE_SRFI_SRFI_1_INTERFACE_CURRENT,
LIBGUILE_SRFI_SRFI_1_INTERFACE_REVISION,
LIBGUILE_SRFI_SRFI_1_INTERFACE_AGE,
LIBGUILE_SRFI_SRFI_1_INTERFACE): New AC_SUBST.
2002-12-01 13:10:07 +00:00
Marius Vollmer
8b5b4a758c *** empty log message *** 2002-11-10 22:07:10 +00:00
Marius Vollmer
7caa1b0780 *** empty log message *** 2002-11-03 22:09:33 +00:00
Marius Vollmer
30f920c30e *** empty log message *** 2002-10-27 20:29:02 +00:00
Neil Jerram
8ee7506bab Merge enhanced debugging features from `guile-debugger' package. 2002-10-26 19:05:28 +00:00
Marius Vollmer
65a23095ab *** empty log message *** 2002-10-21 12:19:08 +00:00
Marius Vollmer
2794cb5073 *** empty log message *** 2002-10-16 16:33:12 +00:00
Gary Houston
e5b4630dd3 * autogen.sh (ac_version): try automake 1.7 too. 2002-10-13 22:20:46 +00:00
Rob Browning
60aa332f83 *** empty log message *** 2002-10-05 20:34:24 +00:00
Marius Vollmer
5e405a6055 *** empty log message *** 2002-10-05 11:57:41 +00:00
Rob Browning
1360a142de *** empty log message *** 2002-10-05 04:55:43 +00:00
Marius Vollmer
99fd355aba *** empty log message *** 2002-10-03 22:02:27 +00:00
Marius Vollmer
f800ebfb00 *** empty log message *** 2002-08-24 00:57:47 +00:00
Han-Wen Nienhuys
39e8f371e2 (INPUT_ERROR): Prepare for file:line:column error
messages for errors in scm_lreadr() and friends.
2002-08-04 23:33:28 +00:00
Han-Wen Nienhuys
c2cbcc5768 gc statistic tweaks 2002-08-04 14:09:14 +00:00
Han-Wen Nienhuys
afc8e572ba (mscripts): find and check version number of
automake. Complain if 1.6 is not found.
2002-07-22 00:17:26 +00:00
Han-Wen Nienhuys
34d19ef643 2002-07-20 Han-Wen <hanwen@cs.uu.nl>
* *.c: add space after commas everywhere.

* *.c: use SCM_VECTOR_SET everywhere, where a vector is written.
Document cases where SCM_WRITABLE_VELTS() is used.

* vectors.h (SCM_VELTS): prepare for write barrier, and let
SCM_VELTS() return a const pointer
(SCM_VECTOR_SET): add macro.

* autogen.sh (mscripts): find and check version number of
autoconf. Complain if 2.53 is not found.
2002-07-20 14:08:34 +00:00
Dirk Herrmann
dd897aafbd * benchmark-guile.in: Copied from check-guile.in and adapted for
use with benchmarks.

* Makefile.am:  Recurse into the benchmark-suite subdir.

* configure.in:  Added benchmarking files.
2002-07-20 01:30:36 +00:00
Gary Houston
4f6f9ae3d3 * dynl.c: Don't define stub procedures if DYNAMIC_LINKING is not
defined.  They don't do anything useful, especially since the
	only case where DYNAMIC_LINKING is undefined seems to be
	when --with-modules=no is given to configure, which is basically
	requesting that the "dynamic linking module" be omitted.

	* Makefile.am (libguile_la_SOURCES): move dynl.c from
	libguile_la_SOURCES to EXTRA_libguile_la_SOURCES.

	* extensions.c (load_extension): check DYNAMIC_LINKING for
	scm_dynamic_call.
	* init.c (scm_init_guile_1): check DYNAMIC_LINKING for
	scm_init_dynamic_linking.

	* configure.in: check dynamic linking before modules.  Add dynl.c
	if dynamic linking is available, i.e., unless --with-modules=no
	was given to configure.
2002-07-12 17:46:15 +00:00