Dirk Herrmann [Tue, 9 Oct 2001 20:56:36 +0000 (20:56 +0000)]
* numbers.c (mem2decimal_from_point): Cleaned up the parsing a
little bit - should even be somewhat more accurate now.
Rob Browning [Tue, 9 Oct 2001 03:33:16 +0000 (03:33 +0000)]
* gc.c: support ia64 register backing store.
(SCM_MARK_BACKING_STORE): new macro.
Rob Browning [Tue, 9 Oct 2001 03:33:06 +0000 (03:33 +0000)]
* continuations.h: support ia64 register backing store.
(struct scm_t_contregs): add ia64 register backing store.
Rob Browning [Tue, 9 Oct 2001 03:32:20 +0000 (03:32 +0000)]
* continuations.c: support ia64 register backing store.
(continuation_mark): mark ia64 register backing store.
(continuation_free): free ia64 register backing store.
(scm_make_continuation): capture ia64 register backing store.
(copy_stack_and_call): copy ia64 register backing store.
Rob Browning [Tue, 9 Oct 2001 03:32:12 +0000 (03:32 +0000)]
*** empty log message ***
Dirk Herrmann [Mon, 8 Oct 2001 21:23:00 +0000 (21:23 +0000)]
* hashtab.c (scm_hash_fn_create_handle_x): The result of assoc_fn
is known to be #f if no entry is found. Thus, use !SCM_FALSEP
instead of SCM_NIMP to test for that case.
* strings.h (SCM_SET_STRING_LENGTH): Cast the length to
scm_t_bits instead of long.
Mikael Djurfeldt [Mon, 8 Oct 2001 12:40:14 +0000 (12:40 +0000)]
* emacs.scm (%%load-port, %%emacs-load, %%emacs-eval-request,
%%emacs-select-frame, %%emacs-frame-eval, %%emacs-symdoc,
%%apropos-internal): Use module-define! instead of
builtin-variable.
Marius Vollmer [Sat, 6 Oct 2001 20:49:10 +0000 (20:49 +0000)]
Correct cut and paste error: use SCM_POSFIXABLE for unsigned types.
Marius Vollmer [Sat, 6 Oct 2001 20:48:27 +0000 (20:48 +0000)]
Corrected definition of SCM_MOST_POSITIVE_FIXNUM. Boy was I confused.
Marius Vollmer [Sat, 6 Oct 2001 20:01:36 +0000 (20:01 +0000)]
*** empty log message ***
Marius Vollmer [Sat, 6 Oct 2001 20:00:43 +0000 (20:00 +0000)]
(INTEGRAL2NUM): Let the preprocessor test
whether the integral type fits in a fixnum, not the compiler.
This removes a spurious compiler warning. Also, honor the
NO_PREPRO_MAGIC flag to suppress any preprocessor tests. This is
needed for `long long's.
Marius Vollmer [Sat, 6 Oct 2001 19:58:24 +0000 (19:58 +0000)]
Define NO_PREPRO_MAGOC when including
num2integral.c.i for `long long' and `signed long long'.
Marius Vollmer [Sat, 6 Oct 2001 19:58:02 +0000 (19:58 +0000)]
* tags.h (SCM_T_BITS_MAX, SCM_T_SIGNED_BITS_MAX,
SCM_T_SIGNED_BITS_MIN): New.
* numbers.h (SCM_MOST_POSITIVE_FIXNUM, SCM_MOST_NEGATIVE_FIXNUM):
Use them to make these macros computable by the preprocessor.
Mikael Djurfeldt [Sat, 6 Oct 2001 16:30:20 +0000 (16:30 +0000)]
* coop.c (mother_awake_p): New variable.
(coop_create): Set mother_awake_p before creating or signalling
mother; wait until mother is going to sleep before returning.
(mother): Reset mother_awake_p before going to sleep.
Thien-Thi Nguyen [Sat, 6 Oct 2001 06:45:54 +0000 (06:45 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Sat, 6 Oct 2001 06:44:48 +0000 (06:44 +0000)]
(quoted?, clump): New procs, exported.
Dirk Herrmann [Fri, 5 Oct 2001 20:18:30 +0000 (20:18 +0000)]
* options.c (protected_objects, scm_init_options): The content of
protected_objects is now protected from garbage collection using
scm_gc_register_root instead of scm_permanent_object.
(get_option_setting): New static function that computes an option
setting as it was formerly done in the function scm_options.
(get_documented_option_setting): New static function that
returns option documentation as it was formerly done in the
function scm_options. Note that documentation C strings are no
longer precomputed into SCM objects. Instead, they are converted
into SCM strings every time get_documented_option_setting is
called.
(change_option_setting): New static functions that modifies the
option setting as it was formerly done in the function
scm_options. The function is now exception safe, i. e. won't
cause a memory leak when interrupted. Further, only non-immediate
option values are added to the protection list.
(scm_options): This function now has only the purpose to dispatch
to to get_option_setting, get_documented_option_setting or
change_option_setting, depending on the arguments given to
scm_options.
(scm_init_opts): Don't convert documentation C strings into SCM
strings. Further, don't protect any object values: They _must_
be immediate values, otherwise there is no guarantee that they
have not been collected before anyway.
* options.[ch] (scm_t_option): Made type unsigned, name into a
constant char* and val into a scm_t_bits type.
(scm_options, scm_init_opts): The number of options is guaranteed
to be larger or equal to zero. Thus, the type is changed to
unsigned.
Dirk Herrmann [Fri, 5 Oct 2001 18:26:46 +0000 (18:26 +0000)]
* num2integral.i.c (NUM2INTEGRAL): Eliminated some warnings about
testing an unsigned value for being >= 0.
Neil Jerram [Fri, 5 Oct 2001 18:05:10 +0000 (18:05 +0000)]
* Remove doc for read-and-eval! and eval2.
Dirk Herrmann [Fri, 5 Oct 2001 17:43:49 +0000 (17:43 +0000)]
* numbers.h: Removed old comment about using SCM_CAR to access
non-pair cells.
(SCM_MOST_POSITIVE_FIXNUM, SCM_MOST_NEGATIVE_FIXNUM): Make sure
the return value is signed. Thanks to Brian Crowder for the bug
report.
(SCM_SRS): Avoid unnecessary casting and don't unpack input
values. With this patch, SCM_SRS can be safely used for other
types than scm_t_signed_bits. However, it should still better be
an internal macro and thus be renamed to SCM_I_SRS.
(SCM_MAKINUM, SCM_INUM): Use proper casting.
Thien-Thi Nguyen [Fri, 5 Oct 2001 16:00:24 +0000 (16:00 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Fri, 5 Oct 2001 15:58:51 +0000 (15:58 +0000)]
(Writing): Add entry for `display'. Include in R5RS Index.
Gary Houston [Wed, 3 Oct 2001 20:45:44 +0000 (20:45 +0000)]
* continuations.h, unif.h: in the descriptions of the bit patterns
of the heap cells, make bit 0 the least significant.
Thien-Thi Nguyen [Sun, 30 Sep 2001 22:33:38 +0000 (22:33 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Sun, 30 Sep 2001 22:32:13 +0000 (22:32 +0000)]
(EXTRA_DIST): Add BUGS file.
Thien-Thi Nguyen [Sun, 30 Sep 2001 22:29:56 +0000 (22:29 +0000)]
Initial revision
Thien-Thi Nguyen [Sun, 30 Sep 2001 18:25:17 +0000 (18:25 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Sun, 30 Sep 2001 18:24:10 +0000 (18:24 +0000)]
(module-name->filename-frag, display-module-commentary): New procs.
(display-commentary): Also handle refs that look like module names.
Martin Grabmüller [Wed, 26 Sep 2001 17:24:54 +0000 (17:24 +0000)]
Some cosmetic doc fixes.
Thien-Thi Nguyen [Wed, 26 Sep 2001 03:15:44 +0000 (03:15 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Wed, 26 Sep 2001 03:14:15 +0000 (03:14 +0000)]
(SCM_MAKE_CHAR): Use `scm_t_bits' instead of `intptr_t'.
Thanks to Golubev I. N.
Thien-Thi Nguyen [Wed, 26 Sep 2001 02:46:30 +0000 (02:46 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Wed, 26 Sep 2001 02:45:17 +0000 (02:45 +0000)]
(Syntax Rules): Add `cindex' directive.
Thanks to suggestion by Alex Schroeder.
Thien-Thi Nguyen [Wed, 26 Sep 2001 02:19:28 +0000 (02:19 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Wed, 26 Sep 2001 02:17:12 +0000 (02:17 +0000)]
Add bugfix item to "Eventually".
Gary Houston [Tue, 25 Sep 2001 22:46:13 +0000 (22:46 +0000)]
* ports.c (scm_drain_input): extended the docstring. thanks to
Alex Schroeder and Thien-Thi Nguyen.
Mikael Djurfeldt [Mon, 24 Sep 2001 11:12:23 +0000 (11:12 +0000)]
* boot-9.scm (process-define-module): Added :re-export.
Mikael Djurfeldt [Sun, 23 Sep 2001 21:25:26 +0000 (21:25 +0000)]
* validate.h (SCM_NUM2FLOAT, SCM_NUM2DOUBLE,
SCM_VALIDATE_FLOAT_COPY, SCM_VALIDATE_DOUBLE_COPY): New
macros. (The NUM names might soon change.)
* numbers.h: Added missing declarations.
Mikael Djurfeldt [Sat, 22 Sep 2001 21:39:42 +0000 (21:39 +0000)]
* Makefile.am: Distribute num2float.i.c.
* num2float.i.c: New file, multiply included by numbers.c, used
to "templatize" the float <-> num conversion routines.
* numbers.c: New functions: scm_num2float, scm_float2num,
scm_num2double, scm_double2num.
Mikael Djurfeldt [Sat, 22 Sep 2001 21:17:31 +0000 (21:17 +0000)]
* srfi-19.scm (priv:split-real): Inserted missing call to
inexact->exact.
Rob Browning [Fri, 21 Sep 2001 17:58:04 +0000 (17:58 +0000)]
*** empty log message ***
Rob Browning [Fri, 21 Sep 2001 17:57:07 +0000 (17:57 +0000)]
* .cvsignore: really add version.h
Rob Browning [Fri, 21 Sep 2001 17:56:39 +0000 (17:56 +0000)]
* chars.h (SCM_MAKE_CHAR): coerce value to intptr_t.
Rob Browning [Fri, 21 Sep 2001 17:56:31 +0000 (17:56 +0000)]
* numbers.c (scm_gcd): change "k" to a long from an int.
Otherwise it fails on the alpha. However, we might rather choose
this size conditionally.
Rob Browning [Fri, 21 Sep 2001 17:56:17 +0000 (17:56 +0000)]
* strings.h (SCM_SET_STRING_LENGTH): coerce "l" to a long.
Otherwise it fails on the alpha. However, we might rather choose
this size conditionally.
Rob Browning [Fri, 21 Sep 2001 17:55:07 +0000 (17:55 +0000)]
* srfi-14.c (SCM_CHARSET_SET): need 1L, not just 1 in "<<".
(scm_char_set_hash): val needs to be long, not just unsigned.
(scm_char_set): need 1L, not just 1 in "<<".
(scm_list_to_char_set): need 1L, not just 1 in "<<".
(scm_list_to_char_set_x): need 1L, not just 1 in "<<".
(scm_list_to_char_set_x): FUNC_NAME was wrong - added a _x.
(scm_string_to_char_set): string length var needed to be
scm_sizet, not int.
(scm_string_to_char_set): need 1L, not just 1 in "<<".
(scm_string_to_char_set_x): string length var needed to be
scm_sizet, not int.
(scm_string_to_char_set_x): need 1L, not just 1 in "<<".
(scm_char_set_filter): need 1L, not just 1 in "<<".
(scm_char_set_filter_x): need 1L, not just 1 in "<<".
(scm_ucs_range_to_char_set): need 1L, not just 1 in "<<".
(scm_ucs_range_to_char_set_x): need 1L, not just 1 in "<<".
(scm_char_set_adjoin): need 1L, not just 1 in "<<".
(scm_char_set_delete): need 1L, not just 1 in "<<".
(scm_char_set_adjoin_x): need 1L, not just 1 in "<<".
(scm_char_set_delete_x): need 1L, not just 1 in "<<".
Rob Browning [Fri, 21 Sep 2001 17:54:56 +0000 (17:54 +0000)]
* srfi-14.h (SCM_CHARSET_GET): need 1L, not just 1 in "<<".
Rob Browning [Fri, 21 Sep 2001 17:54:35 +0000 (17:54 +0000)]
* tests/bit-operations.test (fixnum-bit): compute dynamically.
Rob Browning [Fri, 21 Sep 2001 17:54:27 +0000 (17:54 +0000)]
* tests/numbers.test (fixnum-bit): compute dynamically.
Mikael Djurfeldt [Thu, 20 Sep 2001 18:53:32 +0000 (18:53 +0000)]
* numbers.c (scm_integer_expt): Accept inexact integer in second
argument. (Thanks to Bill Schottstaedt.)
Rob Browning [Thu, 20 Sep 2001 16:48:02 +0000 (16:48 +0000)]
*** empty log message ***
Rob Browning [Thu, 20 Sep 2001 16:47:41 +0000 (16:47 +0000)]
* configure.in (AC_CONFIG_FILES): add libguile/version.h.
Rob Browning [Thu, 20 Sep 2001 16:47:01 +0000 (16:47 +0000)]
* version.c
(scm_major_version): support integer *_VERSION macros.
(scm_minor_version): support integer *_VERSION macros.
(scm_micro_version): support integer *_VERSION macros.
(scm_version): support integer *_VERSION macros.
Rob Browning [Thu, 20 Sep 2001 16:46:52 +0000 (16:46 +0000)]
* version.h: renamed to version.h.in.
Rob Browning [Thu, 20 Sep 2001 16:46:37 +0000 (16:46 +0000)]
* version.h.in: renamed from version.h.
(SCM_GUILE_MAJOR_VERSION): new public macro.
(SCM_GUILE_MINOR_VERSION): new public macro.
(SCM_GUILE_MICRO_VERSION): new public macro.
Rob Browning [Thu, 20 Sep 2001 16:46:25 +0000 (16:46 +0000)]
* versiondat.h.in: removed (obsolete).
Mikael Djurfeldt [Thu, 20 Sep 2001 08:18:26 +0000 (08:18 +0000)]
* error.c, error.h: Made error keys globally accessible.
Applications might want to test for these or use them in a direct
call to scm_error.
Mikael Djurfeldt [Thu, 20 Sep 2001 08:17:25 +0000 (08:17 +0000)]
* num2integral.i.c (NUM2INTEGRAL): Report an error when these
routines are passed an inexact. This change in behavior is
motivated by concordance with R5RS: It is more common that a
primitive doesn't want to accept an inexact for an exact.
Thien-Thi Nguyen [Wed, 19 Sep 2001 13:36:48 +0000 (13:36 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Wed, 19 Sep 2001 13:36:05 +0000 (13:36 +0000)]
Fix number typo in "Jump Start" section.
Thien-Thi Nguyen [Wed, 19 Sep 2001 13:15:38 +0000 (13:15 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Wed, 19 Sep 2001 13:14:43 +0000 (13:14 +0000)]
Fix improper `@result' usage.
Thien-Thi Nguyen [Wed, 19 Sep 2001 13:04:22 +0000 (13:04 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Wed, 19 Sep 2001 13:03:25 +0000 (13:03 +0000)]
Commentary fix; nfc.
Thien-Thi Nguyen [Wed, 19 Sep 2001 12:57:38 +0000 (12:57 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Wed, 19 Sep 2001 12:56:28 +0000 (12:56 +0000)]
(process-use-modules): Fix typo.
Mikael Djurfeldt [Tue, 18 Sep 2001 18:17:17 +0000 (18:17 +0000)]
* Makefile.am (psyntax.pp): Reference compile-psyntax.scm in
$(srcdir) in order to support separate build trees.
Dirk Herrmann [Mon, 17 Sep 2001 20:32:53 +0000 (20:32 +0000)]
* Removed function scm_gc_mark_cell_conservatively.
Gary Houston [Sat, 15 Sep 2001 21:56:52 +0000 (21:56 +0000)]
* root.h (scm_root_state): removed the continuation_stack and
continuation_stack_ptr members, which have no apparent purpose.
(scm_continuation_stack, scm_continuation_stack_ptr): #defines
removed.
* root.c (root_mark), init.c (restart_stack, start_stack), gc
(scm_igc): remove all references to contination_stack and
continuation_stack_ptr, avoiding allocation of a vector and
useless processing during gc.
Dirk Herrmann [Thu, 13 Sep 2001 22:29:44 +0000 (22:29 +0000)]
* Some renamings and minor fixes.
Dirk Herrmann [Thu, 13 Sep 2001 21:58:15 +0000 (21:58 +0000)]
* Simplified handling of static glocal SCM variable.
Dirk Herrmann [Thu, 13 Sep 2001 21:22:37 +0000 (21:22 +0000)]
* Fixed some typing bugs. Thanks to Rob Browning.
Dirk Herrmann [Wed, 12 Sep 2001 19:53:57 +0000 (19:53 +0000)]
* Added function scm_str2string. Thanks to Martin Baulig.
Gary Houston [Wed, 12 Sep 2001 19:15:33 +0000 (19:15 +0000)]
2001-09-12 Gary Houston <ghouston@arglist.com>
* srfi-1.scm (filter): change "caller" to "filter" in check-arg-type.
Thien-Thi Nguyen [Sun, 9 Sep 2001 01:09:24 +0000 (01:09 +0000)]
Add `arity' enhancement news.
Thien-Thi Nguyen [Sun, 9 Sep 2001 01:03:43 +0000 (01:03 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Sun, 9 Sep 2001 01:00:30 +0000 (01:00 +0000)]
(arity): Use new `arglist' procedure property to
present a more detailed argument list.
Thien-Thi Nguyen [Sun, 9 Sep 2001 00:59:02 +0000 (00:59 +0000)]
(lambda*): Record the broken-down argument list in
the `arglist' procedure property.
Thien-Thi Nguyen [Sat, 8 Sep 2001 02:34:27 +0000 (02:34 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Sat, 8 Sep 2001 02:33:30 +0000 (02:33 +0000)]
("apples-blimps-catalexis example", "multiple occurances"):
New top-level sections.
Thien-Thi Nguyen [Sat, 8 Sep 2001 02:30:20 +0000 (02:30 +0000)]
(process-options, getopt-long): Fix omission
bug: Handle multiple occurrances of an option.
Marius Vollmer [Thu, 6 Sep 2001 11:13:27 +0000 (11:13 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 6 Sep 2001 11:11:31 +0000 (11:11 +0000)]
(scm_done_free): Always subtract size from scm_mallocated
when computing nm, even if it's negative.
(scm_must_malloc): Abort on overflow of scm_mtrigger.
(scm_must_realloc): Likewise.
Thien-Thi Nguyen [Tue, 4 Sep 2001 19:36:18 +0000 (19:36 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Tue, 4 Sep 2001 19:32:43 +0000 (19:32 +0000)]
Use outline mode instead of text.
Reword protocol explanation.
Add "make error-signalling functions more consistent" to Eventually.
Move some C-related GOOPS tasks to 1.8.0, take ownership.
Michael Livshin [Sat, 1 Sep 2001 17:17:50 +0000 (17:17 +0000)]
* numbers.c (scm_sys_check_number_conversions): new function,
defined if Guile is compiled in debugging mode. currently checks
`scm_num2ulong', should check much much more.
* num2integral.i.c (NUM2INTEGRAL): when converting a bignum to
unsigned, ensure that it's positive. thanks to Martin Baulig!
Thien-Thi Nguyen [Sat, 1 Sep 2001 04:13:14 +0000 (04:13 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Sat, 1 Sep 2001 04:10:21 +0000 (04:10 +0000)]
(1.8.0): Add "move .gdbinit" entry.
Thien-Thi Nguyen [Sat, 1 Sep 2001 04:09:05 +0000 (04:09 +0000)]
(Sample GDB Initialization File): New section.
Dirk Herrmann [Fri, 31 Aug 2001 14:48:19 +0000 (14:48 +0000)]
* Improved the readability of some patterns.
Dirk Herrmann [Fri, 31 Aug 2001 14:42:31 +0000 (14:42 +0000)]
* Removed lots of deprecated stuff.
Dirk Herrmann [Fri, 31 Aug 2001 12:13:50 +0000 (12:13 +0000)]
* Removed deprecated stuff.
* Some more renamings to SCM_<filename>_H.
Dirk Herrmann [Fri, 31 Aug 2001 11:17:06 +0000 (11:17 +0000)]
* Remove deprecated macros and typenames.
* Rename header macros to SCM_<filename>_H.
* Prefer !SCM_<foo> over SCM_N<foo>.
Dirk Herrmann [Fri, 31 Aug 2001 10:42:19 +0000 (10:42 +0000)]
* Renamed header macros to the SCM_<filename>_H format.
Dirk Herrmann [Fri, 31 Aug 2001 09:51:25 +0000 (09:51 +0000)]
* Remove #& reader extension.
Dirk Herrmann [Fri, 31 Aug 2001 09:33:55 +0000 (09:33 +0000)]
* Deleted `and-let-star-compat.scm´.
Dirk Herrmann [Fri, 31 Aug 2001 09:21:03 +0000 (09:21 +0000)]
* Using `provided?´ instead of `feature?´.
Dirk Herrmann [Fri, 31 Aug 2001 09:16:23 +0000 (09:16 +0000)]
* Removed deprecated definitions.
* Minor cleanups.
Thien-Thi Nguyen [Thu, 30 Aug 2001 23:27:48 +0000 (23:27 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Thu, 30 Aug 2001 23:25:34 +0000 (23:25 +0000)]
(resolve-interface): When returning a custom
interface, also consult source module's entire binding set,
not just its exported bindings, before throwing error.