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

5705 commits

Author SHA1 Message Date
Marius Vollmer
c794483cc0 *** empty log message *** 2001-06-03 01:07:06 +00:00
Marius Vollmer
1e4be672f5 (AC_CONFIG_FILES, AC_CONFIG_COMMANDS): Add
guile-snarf.
2001-06-03 01:04:51 +00:00
Marius Vollmer
46ca6c2e28 (scm_register_module_xxx, scm_registered_modules,
scm_clear_registered_modules): Deprecated.
2001-06-03 01:03:31 +00:00
Marius Vollmer
99a34d6e6a (try-load-module): Bracket calls to try-module-linked
and try-module-dynamic-link with `begin-deprecated'.
(split-c-module-name, convert-c-registered-modules,
registered-modules, register-modules, warn-autoload-deprecation,
init-dynamic-module, dynamic-maybe-call, dynamic-maybe-link,
find-and-link-dynamic-module, try-using-libtool-name,
try-using-sharlib-name, link-dynamic-module, try-module-linked,
try-module-dynamic-link): Deprecated.  Activate deprecation
message.
2001-06-03 01:02:53 +00:00
Marius Vollmer
691f5a4d2d Added AC_PREREQ(2.50) and minimally changed for
autoconf 2.50.  This is mostly so that the `transparent autoconf
wrapper' on Debian picks the right version of autoconf.
2001-06-03 00:59:23 +00:00
Rob Browning
9454d8d5e7 *** empty log message *** 2001-06-02 20:35:27 +00:00
Rob Browning
ee79b9ff89 * acinclude.m4: AC_LANG not a variable now -- use __cplusplus
unconditionally .
2001-06-02 20:35:14 +00:00
Rob Browning
237b3247ac * configure.in: changes for autoconf 2.50.
(AC_PREREQ): require at least autoconf 2.50.
(AC_INIT): no longer takes an arg.
(AC_CONFIG_SRCDIR): takes arg AC_INIT used to take.
(AC_STRUCT_ST_RDEV): changed -> AC_CHECK_MEMBERS.
(AC_STRUCT_ST_BLKSIZE): deprecated -> AC_CHECK_MEMBERS.
(AC_STRUCT_ST_BLOCKS): use it rather than our version.
(AC_CONFIG_FILES): now generated files go here, not in AC_OUTPUT.
(AC_CONFIG_COMMANDS): now actions go here, not in AC_OUTPUT.
(AC_OUTPUT): no longer takes args.
2001-06-02 20:35:01 +00:00
Rob Browning
f02327ae03 * .cvsignore: really add guile_filter_doc_snarfage. 2001-06-02 20:34:43 +00:00
Rob Browning
3074c04a00 * .cvsignore: add guile_filter_doc_snarfage guile-snarf-docs
guile-snarf-docs-texi.
2001-06-02 20:31:38 +00:00
Rob Browning
1fd85bc565 * filesys.c (scm_stat2scm): HAVE_ST_RDEV changed to
HAVE_STRUCT_STAT_ST_RDEV.
(scm_stat2scm): HAVE_ST_BLKSIZE changed to
HAVE_STRUCT_STAT_ST_BLKSIZE.
(scm_stat2scm): HAVE_ST_BLOCKS changed to
HAVE_STRUCT_STAT_ST_BLOCKS.
2001-06-02 20:30:29 +00:00
Rob Browning
f47a5239d4 * fports.c: HAVE_ST_BLKSIZE changed to
HAVE_STRUCT_STAT_ST_BLKSIZE.
(scm_fport_buffer_add): HAVE_ST_BLKSIZE changed to
HAVE_STRUCT_STAT_ST_BLKSIZE.
2001-06-02 20:30:20 +00:00
Marius Vollmer
b0c16cd922 *** empty log message *** 2001-06-02 18:35:28 +00:00
Marius Vollmer
96e83482fb (scm_eval_string): Use scm_primitive_eval_x instead
of scm_eval_x to allow module changes between the forms in the
string.  Set/restore module using scm_c_call_with_current_module.
2001-06-02 18:34:48 +00:00
Marius Vollmer
c0017a49a5 (psyntax.pp): Make it dependent on psyntax.ss and
fix command so that it works.
2001-06-02 18:34:22 +00:00
Marius Vollmer
9540368e79 (module-ensure-variable!): New.
(module-export!): Use it to ensure that there is a variable to
export.  Previously, we would always create a new variable, copy
the value over, and export the new variable.  This confused
syncase since it keys important properties on variables.
2001-06-02 18:33:25 +00:00
Marius Vollmer
aef9dd6536 (apropos-fold, submodules, apropos): Be careful not
to access unbound variables.
2001-06-02 18:32:03 +00:00
Marius Vollmer
094a67bb4c *** empty log message *** 2001-06-02 18:29:24 +00:00
Marius Vollmer
114f9bab42 *** empty log message *** 2001-06-02 12:40:00 +00:00
Marius Vollmer
5bbfbd1e49 Check for mkstemp via AC_REPLACE_FUNCS. Thanks to
I. N. Golubev!
2001-06-02 12:39:46 +00:00
Marius Vollmer
23cc59681b New file, slightly modified from libiberties
mkstemps.c.
2001-06-02 12:39:09 +00:00
Marius Vollmer
26446f9907 Added notes about keeping AUTHORS and THANKS uptodate. 2001-06-02 11:57:50 +00:00
Michael Livshin
2ac41cc17b *** empty log message *** 2001-06-02 11:20:01 +00:00
Rob Browning
28fe405ecd * .cvsignore: here and in all subdirectories listing Makefile and
Makefile.in.
2001-06-02 04:58:55 +00:00
Marius Vollmer
5f0cf00bcf *** empty log message *** 2001-06-01 23:46:36 +00:00
Marius Vollmer
dcd0a9645f Updated for next release. 2001-06-01 23:43:14 +00:00
Marius Vollmer
63b62b733d *** empty log message *** 2001-06-01 20:15:49 +00:00
Marius Vollmer
532cf805db (resolve-interface): Expect keyword arguments instead of a `spec'.
(compile-interface-spec, compile-define-module-args): New.
(define-module): Use compile-define-module-args to construct
argument for process-define-module.
(use-modules, use-syntax): Use compile-interface-spec to construct
arguments for process-use-modules.
(process-define-module): Expect keywords in argument list.
2001-06-01 20:15:10 +00:00
Marius Vollmer
05c64f524e *** empty log message *** 2001-06-01 14:01:44 +00:00
Marius Vollmer
615bfe7277 (top-repl): Revert part of the 2001-05-19 change.
When defining the guile-user module, do not use any modules.  Add
them to guile-user when `top-repl' is called.
2001-06-01 14:01:27 +00:00
Martin Grabmüller
ee2718a9ec * configure.in: Generate examples/box-dynamic/Makefile. 2001-06-01 05:04:52 +00:00
Martin Grabmüller
cc6dd1c57a * box-dynamic: New directory, implements the box type in a shared
library (aka extension)

	Thanks to Thomas Wawrzinek for patching box.c into an extension!
2001-05-31 18:24:11 +00:00
Martin Grabmüller
dd22a80ac6 * srfi-14.scm, srfi-13.scm: Use `load-extension' for loading the
shared library.
2001-05-31 18:22:54 +00:00
Martin Grabmüller
2de7ddb766 Added the new `examples' directory to the distribution. 2001-05-31 15:54:25 +00:00
Michael Livshin
413a1367e2 small fixes 2001-05-31 14:04:56 +00:00
Michael Livshin
f501d0d4e0 * configure.in: generate guile-snarf-docs & guile-snarf-docs-texi.
don't generate guile-snarf.awk.

* Makefile.am (EXTRA_DIST): add test-suite.
2001-05-31 13:17:00 +00:00
Michael Livshin
c99f960518 * guile-snarf-docs.in, guile-snarf-docs-texi.in,
filter-doc-snarfage.c: new files.

* Makefile.am: add stuff to [build,] use and distribute
guile-snarf-docs, guile-snarf-docs-texi, guile_filter_doc_snarfage.

* guile-snarf.in: grok the new snarf output.

* snarf.h: make the output both texttools- and `read'-friendly.

* guile-doc-snarf.in (bindir): reimplement in terms of guile-snarf
and guile-snarf-docs.  (should also deprecate, I guess.  maybe
not).
2001-05-31 13:15:54 +00:00
Michael Livshin
998c3141ac * Makefile.am (MKDEP): copied from libguile/Makefile.am, just in
case.
(CLEANFILES): added *.x (and removed from DISTCLEANFILES)
2001-05-31 12:47:24 +00:00
Michael Livshin
13482e95a7 * snarf-check-and-output-texi: new file.
* Makefile.am (scripts_sources): add snarf-check-and-output-texi.
2001-05-31 12:45:32 +00:00
Michael Livshin
305bf93c22 * Makefile.am (libguilereadline_la_SOURCES): removed readline.x
from here (not needed).
(CLEANFILES): added *.x (and removed from DISTCLEANFILES).
(MKDEP): copied from libguile/Makefile.am.  not that it matters
now, but it will if we stop using BUILT_SOURCES for some reason.
2001-05-31 12:45:07 +00:00
Marius Vollmer
7eb5d7b2e4 *** empty log message *** 2001-05-30 23:48:36 +00:00
Marius Vollmer
ca3140213b (keyword_print): Use scm_print_symbol_name so that
weird names are printed correctly.
2001-05-30 23:48:13 +00:00
Marius Vollmer
6662998f74 * print.c (scm_simple_format): Support "~~" and "~%". Signal
error for unsupported format controls and for superflous
arguments.  Thanks to David Skarda!

* print.h, print.c (scm_print_symbol_name): Factored out of
scm_iprin1.
(scm_iprin1): Call it.

* print.c (scm_print_symbol_name): Symbols whose name starts with `#' or `:'
or ends with `:' are considered weird.
2001-05-30 23:47:49 +00:00
Martin Grabmüller
fec1807cdb *** empty log message *** 2001-05-30 20:54:17 +00:00
Martin Grabmüller
cee2ed4f73 * General: A lot of typo, texinfo markup and layout corrections.
* scheme-data.texi (Arithmetic): Clarified docs for - and /.
	(String Modification): Removed docs for C functions
	(scm_substring_move_right_x etc.)
	(Keyword Procedures): New section documenting the keyword
	procedures from boot-9.scm.
	(Vectors): Moved the section before the non-standard data types.

	* data-rep.texi (Defining New Types (Smobs)): Adapted description
	of smobs and proocedure creation to new terminology.
	(Describing a New Type): Removed mentioning of
	scm_make_smob_type_mfpe from smob function list and added
	deprecation notice for this function.
	(Creating Instances): Added description and macro docs for smobs
	with 2 or 3 data cells.
	(Garbage Collecting Smobs): Removed old docs for SCM_GCTYP16.
	(Garbage Collecting Simple Smobs): Added some clarification about
	usage and usefulness.
	(Non-immediate Datatypes): Changed R4RS reference to R5RS.
	(Vector Data): Document type-specific accessors.
2001-05-30 20:32:05 +00:00
Martin Grabmüller
7977a48737 * image-type.c: Adapted to new typing and naming convention. 2001-05-30 20:28:51 +00:00
Martin Grabmüller
609c3d3095 2001-05-30 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
* numbers.c (scm_difference, scm_divide): Clarified comments for -
	and /.

2001-05-29  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>

	* debug.h: Removed prototype for scm_eval_string.
2001-05-30 20:27:46 +00:00
Gary Houston
a8ca715359 * Makefile.am: let guile-config depend on libguile/libpath.h,
so that it will be rebuilt if configure --prefix changes.
2001-05-28 21:14:31 +00:00
Martin Grabmüller
8d09eb0449 * symbols.c (scm_gensym): Fix buffer overrun (try `(gensym
(make-string 2000 #\!))' in an older version).

	Change strncpy to memcpy to allow embedded NUL characters in
	symbol prefix.
2001-05-28 18:42:57 +00:00
Martin Grabmüller
24ecf16c0c * tests/symbols.test ("gensym"): New tests for long gensym
prefices and embedded NULs in prefices.
2001-05-28 18:40:31 +00:00