bpt/guile.git
23 years ago* Introduce SCM_UNUSED and mark unused function parameters.
Dirk Herrmann [Thu, 7 Jun 2001 21:12:19 +0000 (21:12 +0000)]
* Introduce SCM_UNUSED and mark unused function parameters.
* Introduce SCM_DEBUG_PAIR_ACCESSES.
* Extend the possibilities of SCM_DEBUG_CELL_ACCESSES.

23 years ago * srfi-1.scm (fold, fold-pair): Fixed a buggy call to apply.
Martin Grabmüller [Thu, 7 Jun 2001 17:54:40 +0000 (17:54 +0000)]
* srfi-1.scm (fold, fold-pair): Fixed a buggy call to apply.
(delete-duplicates): Now the first occurrence of an element is
retained, as required.
(member, assoc): Fixed wrong order of equality predicate
application.

23 years agoAdded scheme module file.
Martin Grabmüller [Thu, 7 Jun 2001 12:18:01 +0000 (12:18 +0000)]
Added scheme module file.

23 years ago * README: Update.
Martin Grabmüller [Thu, 7 Jun 2001 04:27:37 +0000 (04:27 +0000)]
* README: Update.

* srfi-1.scm: New file.

23 years ago * box-dynamic-module/box-module.scm: New file.
Martin Grabmüller [Wed, 6 Jun 2001 20:14:51 +0000 (20:14 +0000)]
* box-dynamic-module/box-module.scm: New file.

23 years ago* Introduce macro SCM_VALIDATE_NON_EMPTY_COMBINATION.
Dirk Herrmann [Tue, 5 Jun 2001 20:48:28 +0000 (20:48 +0000)]
* Introduce macro SCM_VALIDATE_NON_EMPTY_COMBINATION.

23 years agoAdded authorship information.
Martin Grabmüller [Tue, 5 Jun 2001 17:43:16 +0000 (17:43 +0000)]
Added authorship information.

23 years ago * configure.in: Generate examples/box-dynamic-module/Makefile.
Martin Grabmüller [Tue, 5 Jun 2001 17:35:42 +0000 (17:35 +0000)]
* configure.in: Generate examples/box-dynamic-module/Makefile.

23 years ago * box-dynamic-module: New directory, implements the box type in a
Martin Grabmüller [Tue, 5 Jun 2001 17:33:40 +0000 (17:33 +0000)]
* box-dynamic-module: New directory, implements the box type in a
shared library and places the definitions in a C-only module.

Thanks to Thomas Wawrzinek for this, too!

* box-dynamic/box.c, box/box.c, box-dynamic-module/box.c,
box-module/box.c (mark_box): Fixed typo in comment.

23 years ago* Added Jost to THANKS and AUTHORS list.
Dirk Herrmann [Tue, 5 Jun 2001 15:18:46 +0000 (15:18 +0000)]
* Added Jost to THANKS and AUTHORS list.
* Updated my personal authoring data.

23 years ago*** empty log message ***
Marius Vollmer [Mon, 4 Jun 2001 22:18:59 +0000 (22:18 +0000)]
*** empty log message ***

23 years agoUse `re-export' instead of `export' when re-exporting
Marius Vollmer [Mon, 4 Jun 2001 22:18:12 +0000 (22:18 +0000)]
Use `re-export' instead of `export' when re-exporting
`class-of'.

23 years ago(keyword_print): Substract 1 from length of symbol name, accounting
Marius Vollmer [Mon, 4 Jun 2001 22:17:17 +0000 (22:17 +0000)]
(keyword_print): Substract 1 from length of symbol name, accounting
for the silly dash.

23 years ago(scm_hasher): Use SCM_UNPACK in the case labels so that
Marius Vollmer [Mon, 4 Jun 2001 22:16:43 +0000 (22:16 +0000)]
(scm_hasher): Use SCM_UNPACK in the case labels so that
non-pointers are being compared.  Thanks to Alexander Klimov!

23 years ago(scm_c_register_extension): Allow NULL as library
Marius Vollmer [Mon, 4 Jun 2001 22:16:27 +0000 (22:16 +0000)]
(scm_c_register_extension): Allow NULL as library
name.
(load_extension): Ignore NULL library names when comparing.

23 years ago(scm_registered_modules, scm_clear_registered_modules): Do not emit
Marius Vollmer [Mon, 4 Jun 2001 22:15:15 +0000 (22:15 +0000)]
(scm_registered_modules, scm_clear_registered_modules): Do not emit
deprecation warning.

23 years ago(module-ensure-local-variable!): Renamed from
Marius Vollmer [Mon, 4 Jun 2001 22:14:16 +0000 (22:14 +0000)]
(module-ensure-local-variable!): Renamed from
`module-ensure-variable!'.  Make sure that there really is a local
variable, not just a visible one.
(module-ensure-variable!): See above.
(module-export!): Behave like always when deprecated features are
enabled, but issue a warning when re-exporting a variable.  When
deprecated features are disabled, only export local variables,
creating them uninitialized when they don't yet exist.
(module-re-export!): New.  Use this for re-exporting imported
variables.
(re-export): New, to go with `module-re-export!'.

(named-module-use!, top-repl): Use resolve-interface
instead of resolve-module to get at the used module.

23 years agoAdded kluge at top that keeps `export' from
Marius Vollmer [Mon, 4 Jun 2001 22:09:39 +0000 (22:09 +0000)]
Added kluge at top that keeps `export' from
re-exporting the `format' variable of the `(guile)' module.

23 years ago*** empty log message ***
Gary Houston [Mon, 4 Jun 2001 22:05:02 +0000 (22:05 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Gary Houston [Mon, 4 Jun 2001 21:52:21 +0000 (21:52 +0000)]
*** empty log message ***

23 years ago * scheme-io.texi (Block Reading and Writing): added
Gary Houston [Mon, 4 Jun 2001 21:51:01 +0000 (21:51 +0000)]
* scheme-io.texi (Block Reading and Writing): added
write-string/partial, updated read-string!/partial.

23 years ago * rw.scm (ice-9): export write-string/partial.
Gary Houston [Mon, 4 Jun 2001 21:49:36 +0000 (21:49 +0000)]
* rw.scm (ice-9): export write-string/partial.

23 years ago * rw.c (scm_write_string_partial): new procedure implementing
Gary Houston [Mon, 4 Jun 2001 21:48:25 +0000 (21:48 +0000)]
* rw.c (scm_write_string_partial): new procedure implementing
write-string/partial in (ice-9 rw).
* rw.h: declare scm_write_string_partial.

23 years ago*** empty log message ***
Marius Vollmer [Sun, 3 Jun 2001 23:34:08 +0000 (23:34 +0000)]
*** empty log message ***

23 years agoAdded exception notice to all files.
Marius Vollmer [Sun, 3 Jun 2001 23:32:27 +0000 (23:32 +0000)]
Added exception notice to all files.

23 years agoInclude "deprecation.h".
Marius Vollmer [Sun, 3 Jun 2001 23:31:14 +0000 (23:31 +0000)]
Include "deprecation.h".

23 years agoAdded exception notice to all files.
Marius Vollmer [Sun, 3 Jun 2001 23:29:45 +0000 (23:29 +0000)]
Added exception notice to all files.

(module-export!): Revert 2001-06-02 change.  It
caused more problems than it solved by accidentally re-exporting
importing bindings once in a while.

23 years ago*** empty log message ***
Gary Houston [Sun, 3 Jun 2001 19:58:03 +0000 (19:58 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Michael Livshin [Sun, 3 Jun 2001 14:59:19 +0000 (14:59 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Marius Vollmer [Sun, 3 Jun 2001 01:07:06 +0000 (01:07 +0000)]
*** empty log message ***

23 years ago(AC_CONFIG_FILES, AC_CONFIG_COMMANDS): Add
Marius Vollmer [Sun, 3 Jun 2001 01:04:51 +0000 (01:04 +0000)]
(AC_CONFIG_FILES, AC_CONFIG_COMMANDS): Add
guile-snarf.

23 years ago(scm_register_module_xxx, scm_registered_modules,
Marius Vollmer [Sun, 3 Jun 2001 01:03:31 +0000 (01:03 +0000)]
(scm_register_module_xxx, scm_registered_modules,
scm_clear_registered_modules): Deprecated.

23 years ago(try-load-module): Bracket calls to try-module-linked
Marius Vollmer [Sun, 3 Jun 2001 01:02:53 +0000 (01:02 +0000)]
(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.

23 years agoAdded AC_PREREQ(2.50) and minimally changed for
Marius Vollmer [Sun, 3 Jun 2001 00:59:23 +0000 (00:59 +0000)]
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.

23 years ago*** empty log message ***
Rob Browning [Sat, 2 Jun 2001 20:35:27 +0000 (20:35 +0000)]
*** empty log message ***

23 years ago* acinclude.m4: AC_LANG not a variable now -- use __cplusplus
Rob Browning [Sat, 2 Jun 2001 20:35:14 +0000 (20:35 +0000)]
* acinclude.m4: AC_LANG not a variable now -- use __cplusplus
unconditionally .

23 years ago* configure.in: changes for autoconf 2.50.
Rob Browning [Sat, 2 Jun 2001 20:35:01 +0000 (20:35 +0000)]
* 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.

23 years ago* .cvsignore: really add guile_filter_doc_snarfage.
Rob Browning [Sat, 2 Jun 2001 20:34:43 +0000 (20:34 +0000)]
* .cvsignore: really add guile_filter_doc_snarfage.

23 years ago* .cvsignore: add guile_filter_doc_snarfage guile-snarf-docs
Rob Browning [Sat, 2 Jun 2001 20:31:38 +0000 (20:31 +0000)]
* .cvsignore: add guile_filter_doc_snarfage guile-snarf-docs
guile-snarf-docs-texi.

23 years ago* filesys.c (scm_stat2scm): HAVE_ST_RDEV changed to
Rob Browning [Sat, 2 Jun 2001 20:30:29 +0000 (20:30 +0000)]
* 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.

23 years ago* fports.c: HAVE_ST_BLKSIZE changed to
Rob Browning [Sat, 2 Jun 2001 20:30:20 +0000 (20:30 +0000)]
* 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.

23 years ago*** empty log message ***
Marius Vollmer [Sat, 2 Jun 2001 18:35:28 +0000 (18:35 +0000)]
*** empty log message ***

23 years ago(scm_eval_string): Use scm_primitive_eval_x instead
Marius Vollmer [Sat, 2 Jun 2001 18:34:48 +0000 (18:34 +0000)]
(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.

23 years ago(psyntax.pp): Make it dependent on psyntax.ss and
Marius Vollmer [Sat, 2 Jun 2001 18:34:22 +0000 (18:34 +0000)]
(psyntax.pp): Make it dependent on psyntax.ss and
fix command so that it works.

23 years ago(module-ensure-variable!): New.
Marius Vollmer [Sat, 2 Jun 2001 18:33:25 +0000 (18:33 +0000)]
(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.

23 years ago(apropos-fold, submodules, apropos): Be careful not
Marius Vollmer [Sat, 2 Jun 2001 18:32:03 +0000 (18:32 +0000)]
(apropos-fold, submodules, apropos): Be careful not
to access unbound variables.

23 years ago*** empty log message ***
Marius Vollmer [Sat, 2 Jun 2001 18:29:24 +0000 (18:29 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Marius Vollmer [Sat, 2 Jun 2001 12:40:00 +0000 (12:40 +0000)]
*** empty log message ***

23 years agoCheck for mkstemp via AC_REPLACE_FUNCS. Thanks to
Marius Vollmer [Sat, 2 Jun 2001 12:39:46 +0000 (12:39 +0000)]
Check for mkstemp via AC_REPLACE_FUNCS.  Thanks to
I. N. Golubev!

23 years agoNew file, slightly modified from libiberties
Marius Vollmer [Sat, 2 Jun 2001 12:39:09 +0000 (12:39 +0000)]
New file, slightly modified from libiberties
mkstemps.c.

23 years agoAdded notes about keeping AUTHORS and THANKS uptodate.
Marius Vollmer [Sat, 2 Jun 2001 11:57:50 +0000 (11:57 +0000)]
Added notes about keeping AUTHORS and THANKS uptodate.

23 years ago*** empty log message ***
Michael Livshin [Sat, 2 Jun 2001 11:20:01 +0000 (11:20 +0000)]
*** empty log message ***

23 years ago* .cvsignore: here and in all subdirectories listing Makefile and
Rob Browning [Sat, 2 Jun 2001 04:58:55 +0000 (04:58 +0000)]
* .cvsignore: here and in all subdirectories listing Makefile and
Makefile.in.

23 years ago*** empty log message ***
Marius Vollmer [Fri, 1 Jun 2001 23:46:36 +0000 (23:46 +0000)]
*** empty log message ***

23 years agoUpdated for next release.
Marius Vollmer [Fri, 1 Jun 2001 23:43:14 +0000 (23:43 +0000)]
Updated for next release.

23 years ago*** empty log message ***
Marius Vollmer [Fri, 1 Jun 2001 20:15:49 +0000 (20:15 +0000)]
*** empty log message ***

23 years ago(resolve-interface): Expect keyword arguments instead of a `spec'.
Marius Vollmer [Fri, 1 Jun 2001 20:15:10 +0000 (20:15 +0000)]
(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.

23 years ago*** empty log message ***
Marius Vollmer [Fri, 1 Jun 2001 14:01:44 +0000 (14:01 +0000)]
*** empty log message ***

23 years ago(top-repl): Revert part of the 2001-05-19 change.
Marius Vollmer [Fri, 1 Jun 2001 14:01:27 +0000 (14:01 +0000)]
(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.

23 years ago * configure.in: Generate examples/box-dynamic/Makefile.
Martin Grabmüller [Fri, 1 Jun 2001 05:04:52 +0000 (05:04 +0000)]
* configure.in: Generate examples/box-dynamic/Makefile.

23 years ago * box-dynamic: New directory, implements the box type in a shared
Martin Grabmüller [Thu, 31 May 2001 18:24:11 +0000 (18:24 +0000)]
* 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!

23 years ago * srfi-14.scm, srfi-13.scm: Use `load-extension' for loading the
Martin Grabmüller [Thu, 31 May 2001 18:22:54 +0000 (18:22 +0000)]
* srfi-14.scm, srfi-13.scm: Use `load-extension' for loading the
shared library.

23 years agoAdded the new `examples' directory to the distribution.
Martin Grabmüller [Thu, 31 May 2001 15:54:25 +0000 (15:54 +0000)]
Added the new `examples' directory to the distribution.

23 years agosmall fixes
Michael Livshin [Thu, 31 May 2001 14:04:56 +0000 (14:04 +0000)]
small fixes

23 years ago* configure.in: generate guile-snarf-docs & guile-snarf-docs-texi.
Michael Livshin [Thu, 31 May 2001 13:17:00 +0000 (13:17 +0000)]
* configure.in: generate guile-snarf-docs & guile-snarf-docs-texi.
don't generate guile-snarf.awk.

* Makefile.am (EXTRA_DIST): add test-suite.

23 years ago* guile-snarf-docs.in, guile-snarf-docs-texi.in,
Michael Livshin [Thu, 31 May 2001 13:15:54 +0000 (13:15 +0000)]
* 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).

23 years ago* Makefile.am (MKDEP): copied from libguile/Makefile.am, just in
Michael Livshin [Thu, 31 May 2001 12:47:24 +0000 (12:47 +0000)]
* Makefile.am (MKDEP): copied from libguile/Makefile.am, just in
case.
(CLEANFILES): added *.x (and removed from DISTCLEANFILES)

23 years ago* snarf-check-and-output-texi: new file.
Michael Livshin [Thu, 31 May 2001 12:45:32 +0000 (12:45 +0000)]
* snarf-check-and-output-texi: new file.

* Makefile.am (scripts_sources): add snarf-check-and-output-texi.

23 years ago* Makefile.am (libguilereadline_la_SOURCES): removed readline.x
Michael Livshin [Thu, 31 May 2001 12:45:07 +0000 (12:45 +0000)]
* 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.

23 years ago*** empty log message ***
Marius Vollmer [Wed, 30 May 2001 23:48:36 +0000 (23:48 +0000)]
*** empty log message ***

23 years ago(keyword_print): Use scm_print_symbol_name so that
Marius Vollmer [Wed, 30 May 2001 23:48:13 +0000 (23:48 +0000)]
(keyword_print): Use scm_print_symbol_name so that
weird names are printed correctly.

23 years ago* print.c (scm_simple_format): Support "~~" and "~%". Signal
Marius Vollmer [Wed, 30 May 2001 23:47:49 +0000 (23:47 +0000)]
* 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.

23 years ago*** empty log message ***
Martin Grabmüller [Wed, 30 May 2001 20:54:17 +0000 (20:54 +0000)]
*** empty log message ***

23 years ago * General: A lot of typo, texinfo markup and layout corrections.
Martin Grabmüller [Wed, 30 May 2001 20:32:05 +0000 (20:32 +0000)]
* 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.

23 years ago * image-type.c: Adapted to new typing and naming convention.
Martin Grabmüller [Wed, 30 May 2001 20:28:51 +0000 (20:28 +0000)]
* image-type.c: Adapted to new typing and naming convention.

23 years ago2001-05-30 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
Martin Grabmüller [Wed, 30 May 2001 20:27:46 +0000 (20:27 +0000)]
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.

23 years ago * Makefile.am: let guile-config depend on libguile/libpath.h,
Gary Houston [Mon, 28 May 2001 21:14:31 +0000 (21:14 +0000)]
* Makefile.am: let guile-config depend on libguile/libpath.h,
so that it will be rebuilt if configure --prefix changes.

23 years ago * symbols.c (scm_gensym): Fix buffer overrun (try `(gensym
Martin Grabmüller [Mon, 28 May 2001 18:42:57 +0000 (18:42 +0000)]
* 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.

23 years ago * tests/symbols.test ("gensym"): New tests for long gensym
Martin Grabmüller [Mon, 28 May 2001 18:40:31 +0000 (18:40 +0000)]
* tests/symbols.test ("gensym"): New tests for long gensym
prefices and embedded NULs in prefices.

23 years ago* Ooops. This belongs to my ChangeLog entry from 2001-05-26. Sorry.
Dirk Herrmann [Mon, 28 May 2001 14:41:33 +0000 (14:41 +0000)]
* Ooops.  This belongs to my ChangeLog entry from 2001-05-26.  Sorry.

23 years ago* srfi-19.scm: removed a stray open parenthesis. (thanks to
Michael Livshin [Mon, 28 May 2001 14:36:00 +0000 (14:36 +0000)]
* srfi-19.scm: removed a stray open parenthesis. (thanks to
Matthias Köppe for the report).

23 years ago*** empty log message ***
Michael Livshin [Mon, 28 May 2001 14:21:24 +0000 (14:21 +0000)]
*** empty log message ***

23 years ago* hooks.c (scm_create_hook): deprecated.
Michael Livshin [Mon, 28 May 2001 14:18:35 +0000 (14:18 +0000)]
* hooks.c (scm_create_hook): deprecated.
(make_hook): deleted.
(scm_make_hook): all the hook creation code is now here.

* gc.c (scm_init_gc): don't call `scm_create_hook'.  instead make
a hook, make it permanent, and do a `scm_c_define' on it.

23 years ago* strop.c (s_scm_string_capitalize_x): fix docstring quoting.
Michael Livshin [Mon, 28 May 2001 12:36:41 +0000 (12:36 +0000)]
* strop.c (s_scm_string_capitalize_x): fix docstring quoting.

* socket.c (s_scm_inet_pton): fix docstring quoting.
(s_scm_inet_ntop): ditto.

* num2integral.i.c (INTEGRAL2NUM): cast to fix a warning.

* hashtab.c (scm_internal_hash_fold): fix argument position in
SCM_ASSERT.

* environments.c (s_scm_import_environment_set_imports_x): fix
argument position in SCM_ASSERT.

* debug.c (s_scm_make_gloc): fix SCM packing/unpacking.
(s_scm_make_iloc): ditto.

23 years ago* check-guile.in: fix to be runnable when srcdir!=builddir.
Michael Livshin [Mon, 28 May 2001 12:23:41 +0000 (12:23 +0000)]
* check-guile.in: fix to be runnable when srcdir!=builddir.

23 years ago* Changed the default definition of SCM.
Dirk Herrmann [Sun, 27 May 2001 22:00:03 +0000 (22:00 +0000)]
* Changed the default definition of SCM.
* Fixed some typing problems detected by the above change.
* Fixed some problems that were detected by compiling guile with -W.

23 years ago*** empty log message ***
Michael Livshin [Sat, 26 May 2001 22:11:31 +0000 (22:11 +0000)]
*** empty log message ***

23 years ago* gc.c (scm_init_storage): init `scm_gc_registered_roots'.
Michael Livshin [Sat, 26 May 2001 22:10:58 +0000 (22:10 +0000)]
* gc.c (scm_init_storage): init `scm_gc_registered_roots'.
(scm_igc): mark from them, too (precisely, not conservatively!).

* root.h (scm_gc_registered_roots): new object in
scm_sys_protects.

* hooks.c (scm_create_hook): call `scm_gc_protect_object' instead
`scm_protect_object'.  shouldn't call it at all, though, it seems.

* gc.c (scm_[un]protect_object): deprecated.
(scm_gc_[un]protect_object): new names for scm_[un]protect_object.
(scm_gc_[un]register_root[s]): new.

* gc.h: add prototypes for scm_gc_[un]protect_object,
scm_gc_[un]register_root[s].

23 years agorevert the ill-considered part of the 2001-05-24 changes
Michael Livshin [Sat, 26 May 2001 20:51:22 +0000 (20:51 +0000)]
revert the ill-considered part of the 2001-05-24 changes

23 years agorevert the ill-considered part of 2001-05-23 changes
Michael Livshin [Sat, 26 May 2001 20:49:01 +0000 (20:49 +0000)]
revert the ill-considered part of 2001-05-23 changes

23 years ago*** empty log message ***
Marius Vollmer [Fri, 25 May 2001 13:22:14 +0000 (13:22 +0000)]
*** empty log message ***

23 years ago(generic-write): Return the `unspecified' value.
Marius Vollmer [Fri, 25 May 2001 13:20:41 +0000 (13:20 +0000)]
(generic-write): Return the `unspecified' value.

23 years ago(cond-expand): Define using
Marius Vollmer [Fri, 25 May 2001 13:18:52 +0000 (13:18 +0000)]
(cond-expand): Define using
`procedure->memoizing-macro' to get at the lexical environment.
Use `env-module' instead of `current-module' to get the right
module.

23 years ago(scm_env_module): Exported to Scheme.
Marius Vollmer [Fri, 25 May 2001 13:15:57 +0000 (13:15 +0000)]
(scm_env_module): Exported to Scheme.

23 years ago*** empty log message ***
Marius Vollmer [Fri, 25 May 2001 00:19:52 +0000 (00:19 +0000)]
*** empty log message ***

23 years agoInclude "libguile/filesys.h".
Marius Vollmer [Fri, 25 May 2001 00:19:36 +0000 (00:19 +0000)]
Include "libguile/filesys.h".
(sym_base, display_backtrace_get_file_line,
display_backtrace_file, display_backtrace_file_and_line): New.
(display_frame): Call display_backtrace_file_and_line if that is
requested.
(display_backtrace_body): Call scm_display_backtrace_file if
requested.

23 years ago* eval.c (scm_debug_opts): New option `show-file-name'.
Marius Vollmer [Fri, 25 May 2001 00:17:54 +0000 (00:17 +0000)]
* eval.c (scm_debug_opts): New option `show-file-name'.
* debug.h (SCM_SHOW_FILE_NAME): New.

* debug.h (scm_lookup_cstr, scm_lookup_soft, scm_evstr):
Prototypes removed since there's no definition for these
functions.

23 years ago* eval.c (scm_debug_opts): New option `show-file-name'.
Marius Vollmer [Fri, 25 May 2001 00:17:32 +0000 (00:17 +0000)]
* eval.c (scm_debug_opts): New option `show-file-name'.
* debug.h (SCM_SHOW_FILE_NAME): New.

23 years ago* Makefile.am (ice9_sources): Added "pretty-print.scm".
Marius Vollmer [Fri, 25 May 2001 00:15:32 +0000 (00:15 +0000)]
* Makefile.am (ice9_sources): Added "pretty-print.scm".
* pretty-print.scm: New file, copied from SLIB.
* format.scm: Autoload `pretty-print'.

23 years agoCreated a usecase diagram for Guile.
Martin Grabmüller [Thu, 24 May 2001 08:46:50 +0000 (08:46 +0000)]
Created a usecase diagram for Guile.