1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-05 15:10:27 +02:00
Commit graph

6667 commits

Author SHA1 Message Date
Mikael Djurfeldt
454b82f41f * boot-9.scm (top-repl): Look for use-emacs-interface in
guile-user-module (should it be there?) instead of
the-root-module.
2002-10-20 21:51:16 +00:00
Neil Jerram
0a50eeaadb Auto docstring updates, including soft port enhancement. 2002-10-19 16:33:25 +00:00
Dirk Herrmann
5ec1d2c8e0 * evalext.h, evalext.c (scm_definedp, scm_defined_p): Renamed
scm_definedp to scm_defined_p and deprecated scm_definedp.
2002-10-19 09:07:23 +00:00
Dirk Herrmann
100ae50db2 * async.h, async.c (scm_system_async): Fixed deprecation to work
correctly when deprecated features are excluded.
2002-10-19 08:22:50 +00:00
Marius Vollmer
f0b4d944b4 Added blurb about "null" threads. 2002-10-16 16:36:29 +00:00
Marius Vollmer
2794cb5073 *** empty log message *** 2002-10-16 16:33:12 +00:00
Marius Vollmer
afcfb9df4d Shuffled around and extended the thread configuration code to allow
the "null" thread package to be selected.  Define USE_NULL_THREADS in
that case.
2002-10-16 16:32:28 +00:00
Marius Vollmer
028e573c8a (scm_system_async_mark_for_thread): Validate thread argument. 2002-10-16 16:27:46 +00:00
Marius Vollmer
7751157e03 It's scm_t_cond, not scm_t_condvar. 2002-10-16 16:25:45 +00:00
Marius Vollmer
8ef70d1e3c (scm_t_cond): Renamed from scm_t_condvar, which was the wrong name. 2002-10-16 16:10:40 +00:00
Marius Vollmer
5ae37f7114 (scm_i_thread_root): Do not validate argument. 2002-10-16 16:09:22 +00:00
Marius Vollmer
e37d58d53b (scm_init_feature): Don't add 'threads' for USE_NULL_THREADS. 2002-10-16 16:08:03 +00:00
Marius Vollmer
389626c5ec (scm_cell, scm_double_cell): Also allow USE_NULL_THREADS to not
protect the slot initializers.
2002-10-16 16:03:44 +00:00
Marius Vollmer
f6ecc207bf (scm_sigaction_for_thread): It's "USE_THREADS" not "USE_THREAD". 2002-10-16 16:01:22 +00:00
Marius Vollmer
f9b52b7aa5 (noinst_HEADERS): Added null-threads.c.
(modinclude_HEADERS): Added null-threads.h.
2002-10-16 15:59:37 +00:00
Marius Vollmer
212d33ec60 * threads.h: Include null-threads.h when !USE_COOP_THREADS.
* threads.c: Include null-threads.c when !USE_COOP_THREADS.
(scm_init_threads): Use generic type names scm_t_mutex and
scm_t_coop instead of coop_m and coop_t.
2002-10-16 15:57:13 +00:00
Marius Vollmer
3d527b2755 New files. 2002-10-16 15:54:23 +00:00
Marius Vollmer
f774203437 ... but not for guile-procedures.texi since that is created in the build dir. 2002-10-15 12:06:14 +00:00
Marius Vollmer
47ac1e47b9 Update to last change: include $(srcdir)/ in replaced $< constructs. 2002-10-15 10:36:42 +00:00
Marius Vollmer
ff810d7abe *** empty log message *** 2002-10-14 22:55:24 +00:00
Marius Vollmer
53864e11e3 Replaced "$<" in non-pattern rules with its value. This is to support
makes that know about "$<" only in pattern rules, like Sun's make.
2002-10-14 22:54:50 +00:00
Marius Vollmer
e7d58d262e *** empty log message *** 2002-10-14 21:47:47 +00:00
Marius Vollmer
cc772cf8ef (Whirlwind Tour): Added pointer to examples directory. 2002-10-14 21:47:40 +00:00
Marius Vollmer
17860e177e *** empty log message *** 2002-10-14 10:48:12 +00:00
Marius Vollmer
844c219a58 (build-link): Include "-lguile-ltdl" in link flags. 2002-10-14 10:47:48 +00:00
Gary Houston
e5b4630dd3 * autogen.sh (ac_version): try automake 1.7 too. 2002-10-13 22:20:46 +00:00
Marius Vollmer
a90bdb7346 *** empty log message *** 2002-10-13 18:25:29 +00:00
Marius Vollmer
c565712cd0 (libpath.h): Fixed typo in top_srcdir_absolute substitution. Thanks
to David Allouche!
2002-10-13 18:24:59 +00:00
Dirk Herrmann
e71a8bf2ef * evalext.h: Replaced SCM_DEBUG_DEPRECATED with !SCM_ENABLE_DEPRECATED. 2002-10-13 11:02:58 +00:00
Marius Vollmer
41f77ff505 *** empty log message *** 2002-10-11 13:07:43 +00:00
Marius Vollmer
7e2e61669b * upstream/Makefile.am (ltdl.h.diff, ltdl.c.diff): Look for
raw-ltdl.h and raw-ltdl.c in "$(srcdir)/..".  This is needed for
VPATH builds.
2002-10-11 13:07:14 +00:00
Marius Vollmer
0402b6e86e (INCLUDES): Also look for includes in "." and
"$(srcdir)".  This is needed for VPATH builds.
(EXTRA_DIST): Also distribute EXTRA_HEADERS.
2002-10-11 13:05:43 +00:00
Marius Vollmer
4feac0b904 * async.c (s_scm_system_async_mark_for_thread): Only call
scm_i_thread_root when USE_THREADS is defined.  Use scm_root
otherwise.

* scmsigs.c (take_signal): Only call scm_i_thread_root when
USE_THREADS is defined.  Use scm_root otherwise.
(scm_sigaction_for_thread): Ignore THREAD argument when
USE_THREADS is not defined.  Also, move THREAD argument defaulting
out of HAVE_SIGACTION section, which was a bug.
2002-10-11 13:02:50 +00:00
Marius Vollmer
6d16b1257f *** empty log message *** 2002-10-10 18:11:20 +00:00
Marius Vollmer
e581432ec3 (scm_sigaction_for_thread): Store original handler in signal_handlers,
not the closure that is used as the async.  The closure is stored in
signal_handler_cells, as previously.
2002-10-10 18:11:06 +00:00
Marius Vollmer
acfa1f528e *** empty log message *** 2002-10-09 22:49:00 +00:00
Marius Vollmer
a6c1067183 (System Asyncs): Updated. 2002-10-09 22:48:30 +00:00
Marius Vollmer
bb00edfa92 (top-repl): Use 2 as the limit when saving the stack.
(error-catching-loop): use call-with-blocked-asyncs and
call-with-unblocked-asyncs instead of mask-signals and unmask-signals.
2002-10-09 22:47:34 +00:00
Marius Vollmer
be2588b87d (SCM_ASYNC_TICK): Do without the scm_active_asyncs abbrev. 2002-10-09 22:45:07 +00:00
Marius Vollmer
e292f7aac8 * async.h (scm_call_with_blocked_asyncs,
scm_call_with_unblocked_asyncs, scm_c_call_with_blocked_asyncs,
scm_c_call_with_unblocked_asyncs): New prototypes.
(scm_mask_signals, scm_unmask_signals): Deprecated.
(scm_mask_ints): Turned into a macro.

* async.c (scm_mask_ints): Removed.
(scm_run_asyncs): Do not set scm_mask_ints while running an async.
this should not be necessary.
(scm_async_click): Test block_asyncs instead of scm_mask_ints.
(scm_mask_signals, scm_unmask_signals): Deprecated.  Emit
deprecation warning and check for errornous use.  Set block_asyncs
instead of scm_mask_ints.
(increase_block, decrease_block, scm_call_with_blocked_asyncs,
scm_call_with_unblocked_asyncs, scm_c_call_with_blocked_asyncs,
scm_c_call_with_unblocked_asyncs): New.
2002-10-09 22:44:02 +00:00
Marius Vollmer
8ee25fb9f8 * root.h (scm_root_state): Added 'block_async' slot.
(scm_active_asyncs): Removed abbrev.
* root.c (scm_make_root): Initialize 'block_asyncs' slot.
2002-10-09 22:37:29 +00:00
Marius Vollmer
de46f022e4 (scm_compile_shell_switches): Do not set scm_mask_ints. Asyncs are
enabled by default.
2002-10-09 22:26:37 +00:00
Rob Browning
aae9a22bfb * Makefile.am (srfiinclude_HEADERS, srfiincludedir): install the
srfi headers into guile/srfi/.
2002-10-09 21:56:00 +00:00
Rob Browning
6ea383bbe8 * upstream/Makefile.am (ltdl.h.diff): remove
SCM_INSERTED_DLSYMLIST_STRUCT_DECL during diff computation.
(ltdl.c.diff): remove SCM_INSERTED_DLSYMLIST_STRUCT_DECL during
diff computation.
2002-10-09 21:16:31 +00:00
Rob Browning
c11a6400fa * raw-ltdl.h: add SCM_INSERTED_DLSYMLIST_STRUCT_DECL so we can
insert our own struct name here.
2002-10-09 21:16:24 +00:00
Rob Browning
a798ac8c42 * guile-ltdl.h: add scm_lt_dlsymlist typedef.
(scm_lt_dlpreload_default): new function.  Replaces
scm_lt_dlset_preloaded_symbols which depended on global that
libtool automagically defines in binaries, not libs.
2002-10-09 21:16:18 +00:00
Rob Browning
8b1da91cd5 * guile-ltdl.c (scm_lt_dlpreload_default): new function. Replaces
scm_lt_dlset_preloaded_symbols which depended on global that
libtool automagically defines in binaries, not libs.  Now the call
in guile.c has to pass us that magic value.
(SCM_INSERTED_DLSYMLIST_STRUCT_DECL): used to add a struct name in
the lt_dlsymlist typedef -- we use such a crazy name so we can
remove this in the upstream diff computation.
2002-10-09 21:16:12 +00:00
Rob Browning
76cf0fbd0a *** empty log message *** 2002-10-09 21:16:05 +00:00
Rob Browning
c9cfbf5beb * guile.c (main): change to call scm_lt_dlpreload_default and pass
in lt_preloaded_symbols, a value libtool automagically adds to the
binary.
2002-10-09 21:15:59 +00:00
Neil Jerram
9768e0a96e Use scm_num2int rather than SCM_INUM in soft port extension. 2002-10-09 19:34:55 +00:00