Marius Vollmer [Sun, 27 Oct 2002 20:16:18 +0000 (20:16 +0000)]
* __scm.h (SCM_ASYNC_CLICK): Check pending_asyncs instead of
active_asyncs.
* root.h (scm_root_state): Added pending_asyncs and signal_asyncs
fields.
* root.c (root_mark): Mark them.
(make_root): Initialize them.
Marius Vollmer [Sun, 27 Oct 2002 20:13:24 +0000 (20:13 +0000)]
(hell_mutex): Reimplemented using scm_make_mutex, etc.
Marius Vollmer [Sun, 27 Oct 2002 20:13:10 +0000 (20:13 +0000)]
Replaced GUILE_ISELECT with
USE_COOP_THREADS.
(scm_internal_select): Define one version for USE_COOP_THREADS and
one for USE_NULL_THREADS.
(scm_init_iselect): Likewise.
Marius Vollmer [Sun, 27 Oct 2002 20:13:00 +0000 (20:13 +0000)]
(scm_cell, scm_double_cell): Also allow USE_COPT_THREADS to not
protect the slot initializers.
Marius Vollmer [Sun, 27 Oct 2002 20:12:51 +0000 (20:12 +0000)]
(scm_init_guile_1): Call scm_init_thread_procs. This is because
threads need to be initialized before the stack, but gsubrs such as
scm_timed_condition_variable_wait can only be created later.
Marius Vollmer [Sun, 27 Oct 2002 20:12:37 +0000 (20:12 +0000)]
* threads.h: Include "coop-pthreads.h" when requested.
(scm_threads_make_mutex, scm_threads_lock_mutex,
scm_threads_unlock_mutex, scm_threads_monitor): Removed, they were
not implemented anyway.
(scm_init_thread_procs, scm_try_mutex,
scm_timed_condition_variable_wait,
scm_broadcast_condition_variable, scm_c_thread_exited_p,
scm_thread_exited_p): New prototypes.
(struct timespec): Define if not already defined.
(scm_t_mutex, scm_mutex_init, scm_mutex_lock, scm_mutex_trylock,
scm_mutex_unlock, scm_mutex_destroy, scm_t_cond, scm_cond_init,
scm_cond_wait, scm_cond_timedwait, scm_cond_signal,
scm_cond_broadcast, scm_cond_destroy): Declarations moved here and
deprecated.
* threads.c: Include <errno.h>. Include "coop-pthreads.c" when
requested.
(scm_thread_exited_p): New.
(scm_try_mutex, scm_broadcast_condition_variable): Newly
registered procedures.
(scm_wait_condition_variable, scm_timed_wait_condition_variable):
Use the latter as the procedure for "wait-condition-variable",
thus offering a optional timeout parameter to Scheme.
(scm_wait_condition_variable): Implement in terms of
scm_timed_wait_condition_variable.
(scm_mutex_init, scm_mutex_lock, scm_mutex_trylock,
scm_mutex_unlock, scm_mutex_destroy, scm_cond_init,
scm_cond_wait, scm_cond_timedwait, scm_cond_signal,
scm_cond_broadcast, scm_cond_destroy): Implement in terms of
scm_make_mutex, etc, and deprecate.
(scm_init_threads): Do not create smobs, leave this to
scm_threads_init. Do not include "threads.x" file.
(scm_init_thread_procs): New, include "threads.x" here.
* null-threads.h (scm_null_mutex, scm_null_mutex_init,
scm_null_mutex_lock, scm_null_mutex_unlock,
scm_null_mutex_destroy, scm_null_condvar, scm_null_condvar_init,
scm_null_condvar_wait, scm_null_condvar_signal,
scm_null_condvar_destroy): Removed.
(scm_mutex_init, scm_mutex_lock, scm_mutex_unlock, scm_cond_init,
scm_cond_wait, scm_cond_signal, scm_cond_broadcast,
scm_cond_destory): Do not define, they are now deprecated and
handled by threads.{h,c}.
* null-threads.c (scm_null_mutex, scm_null_cond): Define here.
(scm_threads_init): Create smobs here, using the appropriate
sizes.
(block): Removed, now unused.
(scm_c_thread_exited_p): New.
(scm_null_mutex_init, scm_null_mutex_lock, scm_null_mutex_unlock,
scm_null_mutex_destroy, scm_null_condvar_init,
scm_null_condvar_wait, scm_null_condvar_signal,
scm_null_condvar_destroy): Removed and updated users to do their
task directly.
(scm_try_mutex, timeval_subtract,
scm_timed_wait_condition_variable,
scm_broadcast_condition_variable): New.
(scm_wait_condition_variable): Removed.
* coop-threads.c (scm_threads_init): Create smobs here, using the
appropriate sizes.
(scm_c_thread_exited_p, scm_try_mutex,
scm_timed_wait_condition_variable,
scm_broadcast_condition_variable): New.
(scm_wait_condition_variable): Removed.
Marius Vollmer [Sun, 27 Oct 2002 20:12:27 +0000 (20:12 +0000)]
* null-threads.h (scm_null_mutex, scm_null_mutex_init,
scm_null_mutex_lock, scm_null_mutex_unlock,
scm_null_mutex_destroy, scm_null_condvar, scm_null_condvar_init,
scm_null_condvar_wait, scm_null_condvar_signal,
scm_null_condvar_destroy): Removed.
(scm_mutex_init, scm_mutex_lock, scm_mutex_unlock, scm_cond_init,
scm_cond_wait, scm_cond_signal, scm_cond_broadcast,
scm_cond_destory): Do not define, they are now deprecated and
handled by threads.{h,c}.
* null-threads.c (scm_null_mutex, scm_null_cond): Define here.
(scm_threads_init): Create smobs here, using the appropriate
sizes.
(block): Removed, now unused.
(scm_c_thread_exited_p): New.
(scm_null_mutex_init, scm_null_mutex_lock, scm_null_mutex_unlock,
scm_null_mutex_destroy, scm_null_condvar_init,
scm_null_condvar_wait, scm_null_condvar_signal,
scm_null_condvar_destroy): Removed and updated users to do their
task directly.
(scm_try_mutex, timeval_subtract,
scm_timed_wait_condition_variable,
scm_broadcast_condition_variable): New.
(scm_wait_condition_variable): Removed.
Marius Vollmer [Sun, 27 Oct 2002 20:12:07 +0000 (20:12 +0000)]
* coop-defs.h (coop_m): Added 'level' field.
(scm_t_mutex, scm_mutex_init, scm_mutex_lock, scm_mutex_trylock,
scm_mutex_unlock, scm_mutex_destroy, scm_t_cond, scm_cond_init,
scm_cond_wait, scm_cond_timedwait, scm_cond_signal,
scm_cond_broadcast, scm_cond_destroy, struct timespec): Do not
define.
(coop_condition_variable_broadcast): New.
* coop-threads.c (scm_threads_init): Create smobs here, using the
appropriate sizes.
(scm_c_thread_exited_p, scm_try_mutex,
scm_timed_wait_condition_variable,
scm_broadcast_condition_variable): New.
(scm_wait_condition_variable): Removed.
* coop.c (coop_new_mutex_init): Initialize level.
(coop_mutex_trylock, coop_mutex_lock, coop_mutex_unlock): maintain
level.
(coop_condition_variable_signal): Renamed to
coop_condition_variable_broadcast and reimplemented in terms of
that. Thus...
(coop_condition_variable_broadcast): New.
Gary Houston [Sun, 27 Oct 2002 19:38:43 +0000 (19:38 +0000)]
* upstream/Makefile.am (ltdl.h.diff, ltdl.c.diff): add $(srcdir)
in diff commands to first diff file.
Marius Vollmer [Sun, 27 Oct 2002 17:27:40 +0000 (17:27 +0000)]
*** empty log message ***
Marius Vollmer [Sun, 27 Oct 2002 17:27:25 +0000 (17:27 +0000)]
(%thread-handler): Explicitely return '#f'. This value will be
returned by join-thread.
Neil Jerram [Sun, 27 Oct 2002 13:38:24 +0000 (13:38 +0000)]
NEWS entry for breakpoints.
Neil Jerram [Sun, 27 Oct 2002 13:36:18 +0000 (13:36 +0000)]
Rewrite chapter on debugging features.
Neil Jerram [Sat, 26 Oct 2002 19:05:28 +0000 (19:05 +0000)]
Merge enhanced debugging features from `guile-debugger' package.
Neil Jerram [Sat, 26 Oct 2002 18:58:17 +0000 (18:58 +0000)]
Make (scripts lint) announce resolved module name.
Marius Vollmer [Fri, 25 Oct 2002 15:03:01 +0000 (15:03 +0000)]
*** empty log message ***
Marius Vollmer [Fri, 25 Oct 2002 15:02:46 +0000 (15:02 +0000)]
* upstream/ltdl.c: New copy from libtool 1.4.3.
* raw-ltdl.c: Merged in changes from libtool 1.4.3.
Marius Vollmer [Mon, 21 Oct 2002 12:53:29 +0000 (12:53 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 21 Oct 2002 12:20:01 +0000 (12:20 +0000)]
New stuff about the thread support.
Marius Vollmer [Mon, 21 Oct 2002 12:19:08 +0000 (12:19 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 21 Oct 2002 12:16:25 +0000 (12:16 +0000)]
Changed logic in thread support configuration such that
--with-threads=no is equivalent to --with-threads=null. On platforms
that are not supported by QuickThreads, we also use the null-threads.
Thus, USE_THREADS is always defined now.
Marius Vollmer [Mon, 21 Oct 2002 12:03:54 +0000 (12:03 +0000)]
Include <time.h>. Also, use <...> for inclusion of system headers.
Marius Vollmer [Mon, 21 Oct 2002 12:03:46 +0000 (12:03 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 21 Oct 2002 12:03:30 +0000 (12:03 +0000)]
(%thread-handler): Do not call unmask-signals, that should be
unnecessary now.
Mikael Djurfeldt [Mon, 21 Oct 2002 11:22:04 +0000 (11:22 +0000)]
* readline.scm (activate-readline): Look for use-emacs-interface
option in the guile-user module instead of the-root-module.
Marius Vollmer [Sun, 20 Oct 2002 22:59:32 +0000 (22:59 +0000)]
*** empty log message ***
Marius Vollmer [Sun, 20 Oct 2002 22:59:01 +0000 (22:59 +0000)]
(SCM_MAKE_VALIDATE_MSG): New. Use it instead of SCM_MAKE_VALIDATE in
lots of places to gove better error messages. Thanks to Bill
Schottstaedt!
Mikael Djurfeldt [Sun, 20 Oct 2002 21:51:53 +0000 (21:51 +0000)]
*** empty log message ***
Mikael Djurfeldt [Sun, 20 Oct 2002 21:51:16 +0000 (21:51 +0000)]
* boot-9.scm (top-repl): Look for use-emacs-interface in
guile-user-module (should it be there?) instead of
the-root-module.
Neil Jerram [Sat, 19 Oct 2002 16:33:25 +0000 (16:33 +0000)]
Auto docstring updates, including soft port enhancement.
Dirk Herrmann [Sat, 19 Oct 2002 09:07:23 +0000 (09:07 +0000)]
* evalext.h, evalext.c (scm_definedp, scm_defined_p): Renamed
scm_definedp to scm_defined_p and deprecated scm_definedp.
Dirk Herrmann [Sat, 19 Oct 2002 08:22:50 +0000 (08:22 +0000)]
* async.h, async.c (scm_system_async): Fixed deprecation to work
correctly when deprecated features are excluded.
Marius Vollmer [Wed, 16 Oct 2002 16:36:29 +0000 (16:36 +0000)]
Added blurb about "null" threads.
Marius Vollmer [Wed, 16 Oct 2002 16:33:12 +0000 (16:33 +0000)]
*** empty log message ***
Marius Vollmer [Wed, 16 Oct 2002 16:32:28 +0000 (16:32 +0000)]
Shuffled around and extended the thread configuration code to allow
the "null" thread package to be selected. Define USE_NULL_THREADS in
that case.
Marius Vollmer [Wed, 16 Oct 2002 16:27:46 +0000 (16:27 +0000)]
(scm_system_async_mark_for_thread): Validate thread argument.
Marius Vollmer [Wed, 16 Oct 2002 16:25:45 +0000 (16:25 +0000)]
It's scm_t_cond, not scm_t_condvar.
Marius Vollmer [Wed, 16 Oct 2002 16:10:40 +0000 (16:10 +0000)]
(scm_t_cond): Renamed from scm_t_condvar, which was the wrong name.
Marius Vollmer [Wed, 16 Oct 2002 16:09:22 +0000 (16:09 +0000)]
(scm_i_thread_root): Do not validate argument.
Marius Vollmer [Wed, 16 Oct 2002 16:08:03 +0000 (16:08 +0000)]
(scm_init_feature): Don't add 'threads' for USE_NULL_THREADS.
Marius Vollmer [Wed, 16 Oct 2002 16:03:44 +0000 (16:03 +0000)]
(scm_cell, scm_double_cell): Also allow USE_NULL_THREADS to not
protect the slot initializers.
Marius Vollmer [Wed, 16 Oct 2002 16:01:22 +0000 (16:01 +0000)]
(scm_sigaction_for_thread): It's "USE_THREADS" not "USE_THREAD".
Marius Vollmer [Wed, 16 Oct 2002 15:59:37 +0000 (15:59 +0000)]
(noinst_HEADERS): Added null-threads.c.
(modinclude_HEADERS): Added null-threads.h.
Marius Vollmer [Wed, 16 Oct 2002 15:57:13 +0000 (15:57 +0000)]
* 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.
Marius Vollmer [Wed, 16 Oct 2002 15:54:23 +0000 (15:54 +0000)]
New files.
Marius Vollmer [Tue, 15 Oct 2002 12:06:14 +0000 (12:06 +0000)]
... but not for guile-procedures.texi since that is created in the build dir.
Marius Vollmer [Tue, 15 Oct 2002 10:36:42 +0000 (10:36 +0000)]
Update to last change: include $(srcdir)/ in replaced $< constructs.
Marius Vollmer [Mon, 14 Oct 2002 22:55:24 +0000 (22:55 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 14 Oct 2002 22:54:50 +0000 (22:54 +0000)]
Replaced "$<" in non-pattern rules with its value. This is to support
makes that know about "$<" only in pattern rules, like Sun's make.
Marius Vollmer [Mon, 14 Oct 2002 21:47:47 +0000 (21:47 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 14 Oct 2002 21:47:40 +0000 (21:47 +0000)]
(Whirlwind Tour): Added pointer to examples directory.
Marius Vollmer [Mon, 14 Oct 2002 10:48:12 +0000 (10:48 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 14 Oct 2002 10:47:48 +0000 (10:47 +0000)]
(build-link): Include "-lguile-ltdl" in link flags.
Gary Houston [Sun, 13 Oct 2002 22:20:46 +0000 (22:20 +0000)]
* autogen.sh (ac_version): try automake 1.7 too.
Marius Vollmer [Sun, 13 Oct 2002 18:25:29 +0000 (18:25 +0000)]
*** empty log message ***
Marius Vollmer [Sun, 13 Oct 2002 18:24:59 +0000 (18:24 +0000)]
(libpath.h): Fixed typo in top_srcdir_absolute substitution. Thanks
to David Allouche!
Dirk Herrmann [Sun, 13 Oct 2002 11:02:58 +0000 (11:02 +0000)]
* evalext.h: Replaced SCM_DEBUG_DEPRECATED with !SCM_ENABLE_DEPRECATED.
Marius Vollmer [Fri, 11 Oct 2002 13:07:43 +0000 (13:07 +0000)]
*** empty log message ***
Marius Vollmer [Fri, 11 Oct 2002 13:07:14 +0000 (13:07 +0000)]
* 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.
Marius Vollmer [Fri, 11 Oct 2002 13:05:43 +0000 (13:05 +0000)]
(INCLUDES): Also look for includes in "." and
"$(srcdir)". This is needed for VPATH builds.
(EXTRA_DIST): Also distribute EXTRA_HEADERS.
Marius Vollmer [Fri, 11 Oct 2002 13:02:50 +0000 (13:02 +0000)]
* 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.
Marius Vollmer [Thu, 10 Oct 2002 18:11:20 +0000 (18:11 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 10 Oct 2002 18:11:06 +0000 (18:11 +0000)]
(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.
Marius Vollmer [Wed, 9 Oct 2002 22:49:00 +0000 (22:49 +0000)]
*** empty log message ***
Marius Vollmer [Wed, 9 Oct 2002 22:48:30 +0000 (22:48 +0000)]
(System Asyncs): Updated.
Marius Vollmer [Wed, 9 Oct 2002 22:47:34 +0000 (22:47 +0000)]
(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.
Marius Vollmer [Wed, 9 Oct 2002 22:45:07 +0000 (22:45 +0000)]
(SCM_ASYNC_TICK): Do without the scm_active_asyncs abbrev.
Marius Vollmer [Wed, 9 Oct 2002 22:44:02 +0000 (22:44 +0000)]
* 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.
Marius Vollmer [Wed, 9 Oct 2002 22:37:29 +0000 (22:37 +0000)]
* root.h (scm_root_state): Added 'block_async' slot.
(scm_active_asyncs): Removed abbrev.
* root.c (scm_make_root): Initialize 'block_asyncs' slot.
Marius Vollmer [Wed, 9 Oct 2002 22:26:37 +0000 (22:26 +0000)]
(scm_compile_shell_switches): Do not set scm_mask_ints. Asyncs are
enabled by default.
Rob Browning [Wed, 9 Oct 2002 21:56:00 +0000 (21:56 +0000)]
* Makefile.am (srfiinclude_HEADERS, srfiincludedir): install the
srfi headers into guile/srfi/.
Rob Browning [Wed, 9 Oct 2002 21:16:31 +0000 (21:16 +0000)]
* 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.
Rob Browning [Wed, 9 Oct 2002 21:16:24 +0000 (21:16 +0000)]
* raw-ltdl.h: add SCM_INSERTED_DLSYMLIST_STRUCT_DECL so we can
insert our own struct name here.
Rob Browning [Wed, 9 Oct 2002 21:16:18 +0000 (21:16 +0000)]
* 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.
Rob Browning [Wed, 9 Oct 2002 21:16:12 +0000 (21:16 +0000)]
* 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.
Rob Browning [Wed, 9 Oct 2002 21:16:05 +0000 (21:16 +0000)]
*** empty log message ***
Rob Browning [Wed, 9 Oct 2002 21:15:59 +0000 (21:15 +0000)]
* guile.c (main): change to call scm_lt_dlpreload_default and pass
in lt_preloaded_symbols, a value libtool automagically adds to the
binary.
Neil Jerram [Wed, 9 Oct 2002 19:34:55 +0000 (19:34 +0000)]
Use scm_num2int rather than SCM_INUM in soft port extension.
Neil Jerram [Wed, 9 Oct 2002 19:07:23 +0000 (19:07 +0000)]
Extend soft ports to use input-waiting thunks.
Marius Vollmer [Mon, 7 Oct 2002 16:38:04 +0000 (16:38 +0000)]
*** empty log message ***
Marius Vollmer [Mon, 7 Oct 2002 16:34:28 +0000 (16:34 +0000)]
* scheme-scheduling.texi (Asyncs): Updated.
* posix.texi (sigaction): Updated.
Rob Browning [Sat, 5 Oct 2002 20:34:24 +0000 (20:34 +0000)]
*** empty log message ***
Marius Vollmer [Sat, 5 Oct 2002 13:07:28 +0000 (13:07 +0000)]
*** empty log message ***
Marius Vollmer [Sat, 5 Oct 2002 13:07:06 +0000 (13:07 +0000)]
(root_mark): Mark active_asyncs slot.
Marius Vollmer [Sat, 5 Oct 2002 13:06:58 +0000 (13:06 +0000)]
* async.c (scm_async_click): Set the cdr of a executed handler
cell to SCM_BOOL_F, not SCM_EOL.
(scm_i_queue_async_cell): Queue the cell at the end of the list,
and only if the handler procedure is not already present.
(scm_system_async_mark_for_thread): Initialize cdr of handler cell
with SCM_BOOL_F.
* scmsigs.c (scm_sigaction_for_thread): Likewise.
Marius Vollmer [Sat, 5 Oct 2002 11:57:41 +0000 (11:57 +0000)]
*** empty log message ***
Marius Vollmer [Sat, 5 Oct 2002 11:57:35 +0000 (11:57 +0000)]
(end-multiline): Use '*function-name*' instead of nonexisting 'name'.
Marius Vollmer [Sat, 5 Oct 2002 11:55:56 +0000 (11:55 +0000)]
(ltdl.h.diff, ltdl.c.diff): Create them in '.' not in 'upstream' since
we are already in upstream.
Marius Vollmer [Sat, 5 Oct 2002 11:52:07 +0000 (11:52 +0000)]
Make sure that $autoheader is always set. When we would use the plain
"autoconf", $autoheader would end up empty and libguile/scmconfig.h.in
would not be updated.
Rob Browning [Sat, 5 Oct 2002 04:57:09 +0000 (04:57 +0000)]
* configure.in: turn on -Werror by default. We're now clean. I'd
like to stay that way. If we want, we can turn it off by default
when we make the stable release, but I caught a lot of bugs this
way. Accomodate libguile-ltdl -- therea are some ltdl things that
are commented out now INCLTDL and LIBLTDL. I think we may not
need them anymore, but I'll leave them until we're sure. We also
killed off the libltdl dir and related options including the
AC_CONFIG_SUBDIRS. I also added some explicit tests for some
headers and functions that weren't listed but were in
scmconfig.h.in. though this may have been unnecessary.
Rob Browning [Sat, 5 Oct 2002 04:55:57 +0000 (04:55 +0000)]
* autogen.sh: remove support for libltdl sub-configure.
(ac_version): widen support check to any 2.5? autoconf version.
2.54 is out now.
Rob Browning [Sat, 5 Oct 2002 04:55:51 +0000 (04:55 +0000)]
* Makefile.am (SUBDIRS): remove libltdl.
Rob Browning [Sat, 5 Oct 2002 04:55:43 +0000 (04:55 +0000)]
*** empty log message ***
Rob Browning [Sat, 5 Oct 2002 04:55:28 +0000 (04:55 +0000)]
* guile.c (main): switch to scm_lt_dlset_preloaded_symbols;
Rob Browning [Sat, 5 Oct 2002 04:55:22 +0000 (04:55 +0000)]
* dynl.c (sysdep_dynl_link): switch to scm_lt_dlhandle,
scm_lt_dlopenext, and scm_lt_dlerror.
(sysdep_dynl_unlink): switch to scm_lt_dlhandle, scm_lt_dlclose,
and scm_lt_dlerror.
(sysdep_dynl_func): switch to scm_lt_dlhandle, scm_lt_dlsym,
and scm_lt_dlerror.
(sysdep_dynl_init): switch to scm_lt_dlinit();
Rob Browning [Sat, 5 Oct 2002 04:55:16 +0000 (04:55 +0000)]
* Makefile.am (libguile_la_LIBADD): switch to use
libguile-ltdl.la.
Rob Browning [Sat, 5 Oct 2002 04:54:50 +0000 (04:54 +0000)]
* ChangeLog: moved from ../libltdl.
Rob Browning [Sat, 5 Oct 2002 04:52:02 +0000 (04:52 +0000)]
* raw-ltdl.h: guile's modified version of the upstream ltdl.h.
Rob Browning [Sat, 5 Oct 2002 04:51:55 +0000 (04:51 +0000)]
* raw-ltdl.c: guile's modified version of the upstream ltdl.c.
* raw-ltdl.c: Remove custom realloc. (#define rpl_realloc
realloc). You can't define realloc like this unless you also
define malloc. This is a quick hack for now; we may want
something cleaner later.
(memcpy): coerce ptrs to (char *) before copying characters
through them -- I can't recall for sure, but I believe this was
causing an overrun error at times.
(realloc): commented out -- as mentioned above, you can't define
your own malloc unless you know enough about the malloc in use to
be able to tell how big the src ptr is. The disabled code
incorrectly used the *destination* ptr to decide how much to copy.
This sometimes results in out-of-bound accesses which cause
segfaults.
(tryall_dlopen_module): check to be sure (dirname_len > 0) before
testing first character against '/'.
(try_dlopen): check for feof(file) in read loop -- otherwise
infloop?
(scm_lt_dlopenext): remove unused variable file_found.
(LT_EOS_CHAR): moved here from guile-ltdl.h.
Rob Browning [Sat, 5 Oct 2002 04:51:36 +0000 (04:51 +0000)]
* guile-ltdl.h: main header file for guile's internal
libguile-ltdl.
* raw-ltdl.c: Remove custom realloc. (#define rpl_realloc
realloc). You can't define realloc like this unless you also
define malloc. This is a quick hack for now; we may want
something cleaner later.
(memcpy): coerce ptrs to (char *) before copying characters
through them -- I can't recall for sure, but I believe this was
causing an overrun error at times.
(realloc): commented out -- as mentioned above, you can't define
your own malloc unless you know enough about the malloc in use to
be able to tell how big the src ptr is. The disabled code
incorrectly used the *destination* ptr to decide how much to copy.
This sometimes results in out-of-bound accesses which cause
segfaults.
(tryall_dlopen_module): check to be sure (dirname_len > 0) before
testing first character against '/'.
(try_dlopen): check for feof(file) in read loop -- otherwise
infloop?
(scm_lt_dlopenext): remove unused variable file_found.
(LT_EOS_CHAR): moved here from guile-ltdl.h.