1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00
guile/module
Andy Wingo 2e26538d6a Replace libltdl with raw dlopen, dlsym
* NEWS: Update.
* am/bootstrap.am (SOURCES):
* module/Makefile.am (SOURCES): Add system/foreign-library.scm.
* configure.ac: Replace ltdl check with -ldl check.
* libguile/dynl.c: Rewrite to just expose core dlopen / dlsym / etc to a
  helper Scheme module.
  (scm_dynamic_link, scm_dynamic_pointer, scm_dynamic_function)
  (scm_dynamic_object_p, scm_dynamic_call): Rewrite in terms of (system
  foreign-library).
* libguile/extensions.c (load_extension): Avoid scm_dynamic_call.
* module/system/foreign-library.scm: New file.
* module/oop/goops.scm (<dynamic-object>): Hackily export
  <foreign-library> instead of a class here.
* doc/ref/api-foreign.texi (Foreign Function Interface): Rewrite to only
  document the new interfaces.  Eventually we will deprecate
  dynamic-link and friends.
* doc/ref/guile.texi (API Reference): Move Foreign Objects after Foreign
  Function Interface.  Seems there should be some closer relationship
  but this will do for now.
* doc/ref/tour.texi (Putting Extensions into Modules):
* doc/ref/libguile-parallel.texi (Parallel Installations): Update for
  rename of Modules and Extensions to Foreign Extensions.
* libguile/deprecated.h:
* libguile/deprecated.c (scm_dynamic_unlink): Deprecate.
* libguile/guile.c: Remove ltdl include.
* test-suite/tests/foreign.test: Update tests to use new API, and update
  error expectations.
2021-02-03 23:02:21 +01:00
..
ice-9 Add call-with-input-bytevector, call-with-output-bytevector 2021-01-12 12:09:19 +01:00
language New warnings: -Wuse-before-definition, -Wnon-idempotent-definition 2021-01-07 10:26:33 +01:00
oop Replace libltdl with raw dlopen, dlsym 2021-02-03 23:02:21 +01:00
rnrs Finish call-with-port cleanup 2021-01-12 12:17:55 +01:00
scheme (scheme base) member: return #f, not (), for no match 2021-01-17 13:25:40 -06:00
scripts Bump copyright years for user-visible copyright messages 2021-01-07 13:00:46 +01:00
srfi Fix bug #42713: srfi-64: Reset test-runner-current if done 2020-08-05 12:46:27 +02:00
sxml Remove duplicate definitions of call/ec' and let/ec'. 2013-04-06 15:40:19 +02:00
system Replace libltdl with raw dlopen, dlsym 2021-02-03 23:02:21 +01:00
texinfo texinfo: Add basic support for @w{...}. 2020-06-18 00:30:30 +02:00
web Add call-with-input-bytevector, call-with-output-bytevector 2021-01-12 12:09:19 +01:00
Makefile.am Replace libltdl with raw dlopen, dlsym 2021-02-03 23:02:21 +01:00
rnrs.scm Define top-level bindings for aux syntax: else, =>, _, ... 2019-09-12 21:50:51 +02:00
statprof.scm Statprof reports primitive names 2020-06-04 11:46:34 +02:00
texinfo.scm texinfo: Add basic support for @w{...}. 2020-06-18 00:30:30 +02:00