Andy Wingo
7948811252
deprecate primitive properties
...
* libguile.h:
* libguile/Makefile.am:
* libguile/deprecated.h:
* libguile/deprecated.c:
* libguile/init.c:
* libguile/properties.c:
* libguile/properties.h: Deprecate the "primitive properties"
interface. It was only used to implement object properties, and that
is no longer the case.
* module/ice-9/boot-9.scm (make-object-property): Reimplement just in
terms of weak hash tables, and make threadsafe.
* NEWS:
* doc/ref/api-utility.texi: Update.
2011-02-10 23:16:52 +01:00
Andy Wingo
8a4ed2dd34
remove "discouraged" infrastructure
...
* libguile/discouraged.h: Remove.
* libguile/deprecated.c (scm_internal_select, scm_thread_sleep)
(scm_thread_usleep): Deprecate formerly discouraged names.
* libguile/eq.h (SCM_EQ_P):
* libguile/pairs.h (SCM_NULLP, SCM_NNULLP, SCM_CONSP, SCM_NCONSP):
* libguile/boolean.h (SCM_FALSEP, SCM_NFALSEP, SCM_BOOLP, SCM_BOOL):
(SCM_NEGATE_BOOL, SCM_BOOL_NOT): Undiscourage these names, because I'm
not sure deprecating them will do any good.
* libguile.h:
* libguile/gen-scmconfig.c:
* libguile/numbers.c:
* libguile/init.c:
* libguile/Makefile.am:
* configure.ac: Remove bits that referenced discouraged.h, and dealt
with the "discouraging" system.
2010-08-08 14:15:47 +02:00
Andy Wingo
e2c2a6994d
add foreign value wrapper
...
* libguile/foreign.h:
* libguile/foreign.c: New files, implementing simple wrappers around
foreign values, such as those that one might link in dynamically from
a library.
* libguile/tags.h (scm_tc7_foreign): Take a tc7 for foreign values.
* libguile.h:
* libguile/init.c: Add foreign.h to headers and init.
* libguile/print.c (iprin1): Add printer for foreign values.
* libguile/gc.c (scm_i_tag_name): Case for foreign values.
* libguile/goops.c (scm_class_of, create_standard_classes): Add a class
for foreign values.
* libguile/evalext.c (scm_self_evaluating_p): Add case for foreign
values.
* libguile/Makefile.am: Add foreign.[ch] to the build.
2010-01-04 12:39:21 +01:00
Andy Wingo
7b89381965
promises are in their own file now
...
* libguile.h:
* libguile/Makefile.am:
* libguile/eval.c:
* libguile/eval.h:
* libguile/init.c:
* libguile/promises.c:
* libguile/promises.h: Split promises out into their own file.
2009-12-01 21:00:26 +01:00
Andy Wingo
0f458a3725
factor copy-tree and cons-source out of eval.[ch]
...
* libguile.h:
* libguile/Makefile.am
* libguile/init.c (scm_i_init_guile): Add trees.[ch] to the build.
* libguile/eval.c:
* libguile/eval.h: Remove scm_copy_tree and scm_cons_source...
* libguile/trees.h:
* libguile/trees.c:
* libguile/srcprop.h:
* libguile/srcprop.c: ... factoring them out here and here,
respectively.
* test-suite/tests/eval.test ("memoization"): Change expected exception
for circular data structures, given new copy-tree location.
2009-12-01 21:00:26 +01:00
Andy Wingo
efcebb5b56
fold objects.[ch] into goops.[ch]
...
Remove objects.h #includes as appropriate.
2009-11-15 20:28:12 +01:00
Ken Raeburn
9515ef7237
Since support for "futures" in C has been completely disabled for some
...
time, and should be easily implementable in Scheme with the current
thread support, delete the C code.
* libguile/futures.c, libguile/futures.h: Delete.
* libguile/Makefile.am (libguile_la_SOURCES, DOT_X_FILES,
DOT_DOC_FILES, modinclude_HEADERS): Delete references to futures.*
files.
* libguile.h: Don't include futures.h.
* libguile/eval.c: Don't include futures.h.
(isymnames): Delete "#@future" entry.
(scm_m_future, s_future, scm_sym_future, unmemoize_future,
unmemoize_builtin_macro): Delete disabled futures code.
* libguile/eval.i.c (CEVAL): Delete disabled futures code.
* libguile/init.c: Don't include futures.h.
(scm_i_init_guile): Delete disabled futures initialization call.
* libguile/tags.h (SCM_IM_FUTURE): Delete.
(SCM_IM_CALL_WITH_VALUES, SCM_IM_ELSE, SCM_IM_ARROW,
SCM_IM_NIL_COND, SCM_IM_BIND): Renumber.
* doc/ref/api-scheduling.texi: Delete commented-out node on Futures.
* doc/maint/guile.texi: Delete make-future and future-ref mentions.
2009-10-30 18:40:41 -04:00
Ludovic Courtès
756e8a3acf
Merge libguile-i18n' into
libguile'.
...
* GUILE-VERSION (LIBGUILE_I18N_MAJOR, LIBGUILE_I18N_INTERFACE_CURRENT,
LIBGUILE_I18N_INTERFACE_REVISION, LIBGUILE_I18N_INTERFACE_AGE,
LIBGUILE_I18N_INTERFACE): Remove.
* doc/ref/api-i18n.texi (i18n Introduction): Don't mention
`libguile-i18n'.
* libguile.h: Include "libguile/i18n.h".
* libguile/Makefile.am (lib_LTLIBRARIES): Remove `libguile-i18n-v*'.
(libguile_la_SOURCES): Add `i18n.c'.
(libguile_i18n_v_*_SOURCES, libguile_i18n_v_*_CFLAGS,
libguile_i18n_v_*_LIBADD, libguile_i18n_v_*_LDFLAGS): Remove.
* libguile/i18n.c (scm_bootstrap_i18n): New function.
* libguile/i18n.h (scm_nl_langinfo, scm_init_i18n): Made internal.
(scm_bootstrap_i18n): New declaration.
* libguile/init.c (scm_i_init_guile): Invoke `scm_bootstrap_i18n ()'.
* module/ice-9/i18n.scm: Load from `libguile' instead of
`libguile-i18n-v-0'.
2009-09-14 00:42:25 +02:00
Andy Wingo
476b894c71
uniform vector functions to their own file
...
* libguile/uniform.c:
* libguile/uniform.h:
* libguile/srfi-4.c:
* libguile/srfi-4.h:
* libguile/Makefile.am: Move uniform vector funcs out of srfi-4 to their
own file.
* libguile.h:
* libguile/arrays.c:
* libguile/bytevectors.c: Update includers.
2009-07-19 15:15:44 +02:00
Andy Wingo
f332e95717
generic vector ops to own file
...
* libguile/Makefile.am:
* libguile/vectors.c:
* libguile/vectors.h:
* libguile/generalized-vectors.c:
* libguile/generalized-vectors.h: Move generic vector ops off into their
own file too. The implementation is now based on the generic
array-handle infrastructure.
* libguile.h:
* libguile/array-map.c:
* libguile/bitvectors.c:
* libguile/random.c:
* libguile/srfi-4.c: Update includers.
2009-07-19 15:15:44 +02:00
Andy Wingo
1030b45049
move generic array foo out to its own file
...
* libguile/arrays.h:
* libguile/arrays.c:
* libguile/generalized-arrays.h:
* libguile/generalized-arrays.c: Move some generic functionality out of
arrays.c to a new file.
* libguile/array-map.c:
* libguile/deprecated.c:
* libguile/init.c: Update includers.
2009-07-19 15:15:44 +02:00
Andy Wingo
2fa901a51f
rename unif.[ch] to arrays.[ch]
...
* libguile/Makefile.am:
* libguile/unif.c:
* libguile/unif.h:
* libguile/arrays.c:
* libguile/arrays.h: Rename unif.[ch] to arrays.[ch].
* libguile.h:
* libguile/array-handle.c:
* libguile/array-map.c:
* libguile/bitvectors.c:
* libguile/bytevectors.c:
* libguile/eq.c:
* libguile/gc-card.c:
* libguile/gc-malloc.c:
* libguile/gc-mark.c:
* libguile/gc.c:
* libguile/init.c:
* libguile/inline.h:
* libguile/print.c:
* libguile/random.c:
* libguile/read.c:
* libguile/socket.c:
* libguile/sort.c:
* libguile/srfi-4.c:
* libguile/srfi-4.h:
* libguile/strports.c:
* libguile/vectors.c:
* libguile/vectors.h: Update includers.
2009-07-19 14:53:03 +02:00
Andy Wingo
5d1b3b2db9
rename ramap.[ch] to array-map.[ch]
...
* libguile/array-map.c:
* libguile/array-map.h: Rename from ramap.c and ramap.h.
* libguile.h:
* libguile/Makefile.am:
* libguile/eq.c:
* libguile/init.c:
* libguile/sort.c:
* libguile/unif.c:
* libguile/vectors.c: All referrers changed.
2009-07-19 14:53:03 +02:00
Neil Jerram
53befeb700
Change Guile license to LGPLv3+
...
(Not quite finished, the following will be done tomorrow.
module/srfi/*.scm
module/rnrs/*.scm
module/scripts/*.scm
testsuite/*.scm
guile-readline/*
)
2009-06-17 00:22:09 +01:00
Ludovic Courtès
1ee2c72eaf
Import R6RS bytevectors and I/O ports from Guile-R6RS-Libs 0.2.
...
* README: Document dependency on GNU libunistring.
* benchmark-suite/Makefile.am (SCM_BENCHMARKS): Add
`benchmark/bytevectors.bm'.
* configure.in: Make sure we have libunistring; update $LIBS.
* libguile.h: Include "bytevectors.h" and "r6rs-ports.h".
* libguile/Makefile.am (libguile_la_SOURCES): Add `bytevectors.c' and
`r6rs-ports.c'
(DOT_X_FILES): Add `bytevectors.x' and `r6rs-ports.x'.
(DOT_DOC_FILES): Add `bytevectors.doc' and `r6rs-ports.doc'.
(noinst_HEADERS): Add `ieee-754.h'.
(modinclude_HEADERS): Add `bytevectors.h' and `r6rs-ports.h'
* libguile/validate.h (SCM_VALIDATE_BYTEVECTOR): New macro.
* module/Makefile.am (SOURCES): Add $(RNRS_SOURCES).
(RNRS_SOURCES): New variable.
* test-suite/Makefile.am (SCM_TESTS): Add `bytevectors.test' and
`r6rs-ports.test'.
2009-05-28 23:12:01 +02:00
Neil Jerram
d3cf93bc25
* srfi-39.scm: Update copyright statement to LGPL.
...
* __scm.h, _scm.h, weaks.c: Update copyright statement to LGPL.
* compat/compat.h: Update copyright statement to LGPL.
* oldfmt.c: Update copyright statement to LGPL.
* libguile.h: Update copyright statement to LGPL.
2008-01-22 21:06:22 +00:00
Kevin Ryde
4f41661657
merge from 1.8 branch
2006-04-17 00:18:11 +00:00
Marius Vollmer
92205699d0
The FSF has a new address.
2005-05-23 19:57:22 +00:00
Marius Vollmer
1b11b14bfa
Include "libguile/srfi-4.h".
2004-10-27 17:32:18 +00:00
Marius Vollmer
f7e6665450
Include <gmp.h> outside of extern "C" block. (Note that numbers.h
...
still includes gmp.h to make it self-contained.)
2004-09-24 02:05:18 +00:00
Marius Vollmer
c08d10f5f3
Include srfi-13.h and srfi-14.h, do not include strop.h.
2004-08-25 17:21:04 +00:00
Marius Vollmer
ba05058392
Include libguile/discouraged.h.
2004-08-02 16:09:06 +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
Marius Vollmer
2f5eb00419
Include "libguile/deprecated.h".
2003-03-26 17:06:03 +00:00
Mikael Djurfeldt
77f9ca697e
* libguile.h: #include "futures.h"
2003-01-23 16:03:46 +00:00
Marius Vollmer
3d7f708f21
* __scm.h (USE_THREADS, GUILE_ISELECT): Define when
...
SCM_DEBUG_DEPRECATED. Removed their use thru-out Guile.
2002-11-03 22:09:20 +00:00
Marius Vollmer
319e6d7229
Added inclusion of "extensions.h".
2002-05-10 16:39:32 +00:00
Marius Vollmer
394661e96b
Include "libguile/inline.h".
2001-11-25 14:45:53 +00:00
Dirk Herrmann
f7c6b77886
* Removed deprecated definitions.
...
* Minor cleanups.
2001-08-31 09:16:23 +00:00
Martin Grabmüller
6b41a31399
Removed tag.c and tag.h and all references.
2001-06-20 18:18:00 +00:00
Marius Vollmer
485ffecad5
(scm_cond_t, scm_key_t, scm_mutex_t): Only define these when using
...
threads.
2001-06-16 20:17:19 +00:00
Marius Vollmer
020e3c3868
Added deprecated section with the olde type names.
2001-06-14 20:19:33 +00:00
Gary Houston
7e267da19f
* libguile.h: include rw.h.
2001-04-29 13:06:31 +00:00
Martin Grabmüller
6c44688a67
* Makefile.am (SUBDIRS): Added `srfi'.
...
* configure.in: Added subdirectory `srfi' to build process.
* libguile.h: Added inclusion of `values.h'.
2001-04-23 20:24:02 +00:00
Dirk Herrmann
d42df0557f
* Don't include libguile/dump.h any more.
2001-03-06 01:00:18 +00:00
Keisuke Nishida
ec89608938
*** empty log message ***
2001-02-03 05:01:07 +00:00
Mikael Djurfeldt
c2886a5ae1
Added #include "libguile/rdelim.h".
2001-01-31 15:14:53 +00:00
Mikael Djurfeldt
14f1d9fec8
*** empty log message ***
2000-10-25 14:51:33 +00:00
Keisuke Nishida
8f486fc76a
Removed #include "libguile/environments.h", sorry..
2000-09-20 16:31:04 +00:00
Keisuke Nishida
b2eae655be
* libguile.h: #include "libguile/environments.h" and "libguile/properties.h".
2000-09-20 16:28:00 +00:00
Mikael Djurfeldt
30b4dd94a3
* libguile.h: Removed #include "libguile/kw.h".
2000-06-12 21:22:47 +00:00
Mikael Djurfeldt
f2c9fcb07e
Updated copyrights
2000-06-12 12:28:24 +00:00
Gary Houston
0479e5b73e
* Makefile.am: add include_HEADERS.
...
libguile.h: moved from libguile directory. maybe libguile should
be installed in $prefix/include/libguile/libguile.h instead?
2000-05-01 22:11:24 +00:00