bpt/guile.git
19 years ago * backtrace.c (display_expression, display_frame): Call
Dirk Herrmann [Sun, 27 Jun 2004 12:34:54 +0000 (12:34 +0000)]
* backtrace.c (display_expression, display_frame): Call
scm_i_unmemoize_expr for unmemoizing a memoized object holding a
single memoized expression.

* debug.c (memoized_print): Don't try to unmemoize the memoized
object, since we can't know whether it holds a single expression
or a body.

(scm_mem_to_proc): Removed check for lambda expression, since it
was moot anyway.  Whoever uses these functions for debugging
purposes should know what they do: Creating invalid memoized code
will cause crashes, independent of whether this check is present
or not.

(scm_proc_to_mem): Take the closure's code as it is and don't
append a SCM_IM_LAMBDA isym.  To allow easier debugging, the
memoized code should not be modified.

* debug.[ch] (scm_unmemoize, scm_i_unmemoize_expr): Removed
scm_unmemoize from public use, but made scm_i_unmemoize_expr
available as a guile internal function instead.  However,
scm_i_unmemoize_expr will only work on memoized objects that hold
a single memoized expression.  It won't work with bodies.

* debug.c (scm_procedure_source), macros.c (macro_print), print.c
(scm_iprin1): Call scm_i_unmemocopy_body for unmemoizing a body,
i. e. a list of expressions.

* eval.c (unmemoize_exprs): Drop internal body markers from the
output during unmemoization.

* eval.[ch] (scm_unmemocopy, scm_i_unmemocopy_expr,
scm_i_unmemocopy_body): Removed scm_unmemocopy from public use,
but made scm_i_unmemocopy_expr and scm_i_unmemocopy_body available
as guile internal functions instead.  scm_i_unmemoize_expr will
only work on a single memoized expression, while
scm_i_unmemocopy_body will only work on bodies.

19 years ago * eval.c (unmemoize_exprs): Handle semi-memoized code.
Dirk Herrmann [Mon, 21 Jun 2004 20:40:36 +0000 (20:40 +0000)]
* eval.c (unmemoize_exprs): Handle semi-memoized code.

(scm_cons_source, scm_primitive_eval): Prefer higher level
predicate SCM_FALSEP over SCM_IMP.

19 years ago*** empty log message ***
Rob Browning [Sun, 20 Jun 2004 20:18:25 +0000 (20:18 +0000)]
*** empty log message ***

19 years agoAdd separate symmetric test for SCM_HAVE_T_UINT64 in one case.
Rob Browning [Sun, 20 Jun 2004 20:18:18 +0000 (20:18 +0000)]
Add separate symmetric test for SCM_HAVE_T_UINT64 in one case.

19 years ago*** empty log message ***
Rob Browning [Sun, 20 Jun 2004 20:14:38 +0000 (20:14 +0000)]
*** empty log message ***

19 years agofix #ifdef checks for 64-bit types; should be #if.
Rob Browning [Sun, 20 Jun 2004 20:14:23 +0000 (20:14 +0000)]
fix #ifdef checks for 64-bit types; should be #if.

19 years ago*** empty log message ***
Rob Browning [Sun, 20 Jun 2004 20:05:53 +0000 (20:05 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Rob Browning [Sun, 20 Jun 2004 17:24:42 +0000 (17:24 +0000)]
*** empty log message ***

19 years ago(uvec_print): rewrite using a union to make more
Rob Browning [Sun, 20 Jun 2004 17:24:04 +0000 (17:24 +0000)]
(uvec_print): rewrite using a union to make more
compact, and use static print_uint64 and print_int64 to print
64-bit elements.
(print_int64): new static function (temporary fix).
(print_uint64): new static function (temporary fix).

19 years ago*** empty log message ***
Rob Browning [Sun, 20 Jun 2004 14:49:36 +0000 (14:49 +0000)]
*** empty log message ***

19 years ago(srfi_DATA): add srfi-31.scm.
Rob Browning [Sun, 20 Jun 2004 14:48:44 +0000 (14:48 +0000)]
(srfi_DATA): add srfi-31.scm.

19 years agonew test for SRFI-31.
Rob Browning [Sun, 20 Jun 2004 14:22:22 +0000 (14:22 +0000)]
new test for SRFI-31.

19 years ago*** empty log message ***
Rob Browning [Sun, 20 Jun 2004 14:21:31 +0000 (14:21 +0000)]
*** empty log message ***

19 years ago(SCM_TESTS): add tests/srfi-31.scm.
Rob Browning [Sun, 20 Jun 2004 14:21:07 +0000 (14:21 +0000)]
(SCM_TESTS): add tests/srfi-31.scm.

19 years agonew file.
Rob Browning [Sun, 20 Jun 2004 14:19:59 +0000 (14:19 +0000)]
new file.

19 years ago(SRFI-31): add documentation for srfi-31.
Rob Browning [Sun, 20 Jun 2004 14:19:00 +0000 (14:19 +0000)]
(SRFI-31): add documentation for srfi-31.

19 years ago*** empty log message ***
Rob Browning [Wed, 16 Jun 2004 17:14:54 +0000 (17:14 +0000)]
*** empty log message ***

19 years ago* readline.scm: moved to ./ice-9/
Rob Browning [Wed, 16 Jun 2004 17:14:37 +0000 (17:14 +0000)]
* readline.scm: moved to ./ice-9/

19 years agomove package and version args to AC_INIT as is now
Rob Browning [Wed, 16 Jun 2004 17:14:20 +0000 (17:14 +0000)]
move package and version args to AC_INIT as is now
recommended.  This also requires m4_esyscmd to read GUILE-VERSION
given the way AC_INIT handles its args.  Also move "foreign"
indication here.

19 years ago* Makefile.am: move support for readline.scm to ice-9/ subdir.
Rob Browning [Wed, 16 Jun 2004 17:13:55 +0000 (17:13 +0000)]
* Makefile.am: move support for readline.scm to ice-9/ subdir.

19 years ago* .cvsignore: add ice-9 dir.
Rob Browning [Wed, 16 Jun 2004 17:13:43 +0000 (17:13 +0000)]
* .cvsignore: add ice-9 dir.

* ice-9/.cvsignore: new file.

19 years agomodify to handle move of readline.scm to
Rob Browning [Wed, 16 Jun 2004 17:13:27 +0000 (17:13 +0000)]
modify to handle move of readline.scm to
ice-9 subdir of guile-readline.

19 years agomove package and version args to AC_INIT as is now
Rob Browning [Wed, 16 Jun 2004 17:13:09 +0000 (17:13 +0000)]
move package and version args to AC_INIT as is now
recommended.  This also requires m4_esyscmd to read GUILE-VERSION
given the way AC_INIT handles its args.

19 years ago* ice-9/readline.scm: moved here from ../
Rob Browning [Wed, 16 Jun 2004 17:12:40 +0000 (17:12 +0000)]
* ice-9/readline.scm: moved here from ../

19 years ago* Makefile.am: move support for readline.scm to ice-9/ subdir.
Rob Browning [Wed, 16 Jun 2004 17:12:14 +0000 (17:12 +0000)]
* Makefile.am: move support for readline.scm to ice-9/ subdir.

* ice-9/Makefile.am: new file.

19 years ago*** empty log message ***
Rob Browning [Wed, 16 Jun 2004 04:10:37 +0000 (04:10 +0000)]
*** empty log message ***

19 years agoupdate ifdefery for macosx.
Rob Browning [Wed, 16 Jun 2004 04:09:52 +0000 (04:09 +0000)]
update ifdefery for macosx.
(scm_get_stack_base): separate result initialization from
declaration to slience warnings with macosx and hp-ux using gcc
3.3.  Thanks to Andreas Vögele.

19 years ago(scm_shell_usage): minor phrasing change.
Rob Browning [Wed, 16 Jun 2004 04:08:25 +0000 (04:08 +0000)]
(scm_shell_usage): minor phrasing change.

19 years ago*** empty log message ***
Marius Vollmer [Tue, 15 Jun 2004 13:20:22 +0000 (13:20 +0000)]
*** empty log message ***

19 years ago(number->string): Some results might differ between versions of Guile
Marius Vollmer [Tue, 15 Jun 2004 13:19:10 +0000 (13:19 +0000)]
(number->string): Some results might differ between versions of Guile
compiled optimized and unoptimized.  Both results are accepted now.

19 years ago(unmemoize_exprs): use SCM_CONSP for the loop condition.
Han-Wen Nienhuys [Sat, 12 Jun 2004 22:22:56 +0000 (22:22 +0000)]
(unmemoize_exprs): use SCM_CONSP for the loop condition.

19 years ago * list.[ch] (scm_i_finite_list_copy): New internal function to
Dirk Herrmann [Sun, 6 Jun 2004 07:46:18 +0000 (07:46 +0000)]
* list.[ch] (scm_i_finite_list_copy): New internal function to
copy lists that are known to be finite (though not necessarily
proper).

* debug.c (scm_procedure_source): Don't have scm_unmemocopy treat
a closure's argument list like an expression of a body.

* eval.c (unmemoize_expression, unmemoize_exprs, unmemoize_and,
unmemoize_begin, unmemoize_case, unmemoize_cond, unmemoize_delay,
unmemoize_do, unmemoize_if, unmemoize_lambda, unmemoize_let,
unmemoize_letrec, unmemoize_letstar, unmemoize_or,
unmemoize_set_x, unmemoize_apply, unmemoize_atcall_cc,
unmemoize_at_call_with_values, unmemoize_future, sym_atslot_ref,
unmemoize_atslot_ref, sym_atslot_set_x, unmemoize_atslot_set_x,
unmemoize_builtin_macro): New static functions and symbols.

(scm_unmemocopy): Rewritten in terms of the above.  scm_unmemocopy
now has a slightly different meaning: The memoized form that is
receives as its argument is now interpreted as a sequence of
expressions from a body.

(unmemocar, scm_unmemocar): Since the whole functionality of
unmemocar and scm_unmemocar is not needed any more, scm_unmemocar
has its old content back and is deprecated, while unmemocar has
been removed.

(SCM_BIT7): Removed.

(CEVAL): For unmemoizing a single expression, call
unmemoize_expression instead of scm_unmemocopy, which now expects
a sequence of body expressions.  Eliminated unnecessary empty
environment frame when executing let* forms.  Eliminated
unmemoization step from evaluator.

19 years ago*** empty log message ***
Marius Vollmer [Wed, 2 Jun 2004 09:44:55 +0000 (09:44 +0000)]
*** empty log message ***

19 years ago(scm_macroexp, macroexp): Renamed scm_macroexp to
Marius Vollmer [Wed, 2 Jun 2004 09:37:48 +0000 (09:37 +0000)]
(scm_macroexp, macroexp): Renamed scm_macroexp to
macroexp and made static.  Added new version of scm_macroexp that
emits a deprecation warning and then calls macroexp.
(scm_m_undefine): Issue deprecation warning.

19 years ago * tests/syntax.test: Added various tests to check that
Dirk Herrmann [Mon, 31 May 2004 15:31:04 +0000 (15:31 +0000)]
* tests/syntax.test: Added various tests to check that
unmemoization works correctly.

19 years ago * eval.c (lookup_global_symbol, literal_p, try_macro_lookup):
Dirk Herrmann [Sun, 30 May 2004 07:01:27 +0000 (07:01 +0000)]
* eval.c (lookup_global_symbol, literal_p, try_macro_lookup):
Modified to make set! work on symbols that represent syntactic
keywords.

19 years ago*** empty log message ***
Kevin Ryde [Sat, 29 May 2004 22:53:34 +0000 (22:53 +0000)]
*** empty log message ***

19 years ago* lib.scm (exception:numerical-overflow): New define.
Kevin Ryde [Sat, 29 May 2004 22:13:27 +0000 (22:13 +0000)]
* lib.scm (exception:numerical-overflow): New define.
* tests/numbers.test (modulo-expt): Use it and
exception:wrong-type-arg, avoiding empty "" regexp which is invalid on
BSD.  Reported by Andreas Vögele.

19 years ago(exception:numerical-overflow): New define.
Kevin Ryde [Sat, 29 May 2004 22:09:52 +0000 (22:09 +0000)]
(exception:numerical-overflow): New define.

19 years ago * standalone/test-asmobs-lib.c: Fixed include statement.
Dirk Herrmann [Sat, 29 May 2004 08:58:22 +0000 (08:58 +0000)]
* standalone/test-asmobs-lib.c: Fixed include statement.

19 years ago * boot-9.scm: Reordered definitions such that macro definitions
Dirk Herrmann [Sat, 29 May 2004 08:40:38 +0000 (08:40 +0000)]
* boot-9.scm: Reordered definitions such that macro definitions
preceed their first usage.  Include and define deprecated stuff
late in the file to have a better change of detecting accidental
uses of deprecated definitions. Further, unified the layout a
little and grouped definitions more cleanly into topics.

19 years ago(SCM_CELL_OBJECT_LOC): use SCM_GC_CELL_OBJECT to prevent
Han-Wen Nienhuys [Wed, 26 May 2004 21:15:30 +0000 (21:15 +0000)]
(SCM_CELL_OBJECT_LOC): use SCM_GC_CELL_OBJECT to prevent
compound expression as lvalue errors.

20 years ago*** empty log message ***
Marius Vollmer [Mon, 24 May 2004 21:29:26 +0000 (21:29 +0000)]
*** empty log message ***

20 years ago(winder_mark): Use SCM_PACK to correctly convert the WINDER_DATA to a
Marius Vollmer [Mon, 24 May 2004 21:14:59 +0000 (21:14 +0000)]
(winder_mark): Use SCM_PACK to correctly convert the WINDER_DATA to a
SCM.

20 years ago*** empty log message ***
Marius Vollmer [Mon, 24 May 2004 21:01:48 +0000 (21:01 +0000)]
*** empty log message ***

20 years ago(use-value-history): Use resolve-interface instead
Marius Vollmer [Mon, 24 May 2004 20:57:20 +0000 (20:57 +0000)]
(use-value-history): Use resolve-interface instead
of resolve-module so that only the exported bindings are searched.
(save-value-history): Export the newly defined variable.  Reported
by Wolfgang Jaehrling.

20 years ago * goops.c (compute_getters_n_setters, create_standard_classes,
Dirk Herrmann [Mon, 24 May 2004 04:15:49 +0000 (04:15 +0000)]
* goops.c (compute_getters_n_setters, create_standard_classes,
scm_add_slot): Compute closures by calling scm_i_eval_x on a
lambda expression rather than creating them with scm_closure.

20 years ago * tests/goops.test: Wrap tests in module (test-suite
Dirk Herrmann [Mon, 24 May 2004 04:01:06 +0000 (04:01 +0000)]
* tests/goops.test: Wrap tests in module (test-suite
test-<file-name without .test>).  Remove calls to deprecated macro
`undefine'.

20 years ago * eval.c (s_macro_keyword, scm_m_set_x): Remove checking for
Dirk Herrmann [Sat, 22 May 2004 06:51:36 +0000 (06:51 +0000)]
* eval.c (s_macro_keyword, scm_m_set_x): Remove checking for
misplaced syntactic keywords.  This will not work unless guile's
defmacro feature is deprecated.

(scm_m_case): Fixed a bug that caused the list of labels to grow
with every case form.

20 years ago*** empty log message ***
Kevin Ryde [Wed, 19 May 2004 00:06:42 +0000 (00:06 +0000)]
*** empty log message ***

20 years ago(scm_threads_mark_stacks) [SCM_STACK_GROWS_UP]: Correction
Kevin Ryde [Wed, 19 May 2004 00:04:16 +0000 (00:04 +0000)]
(scm_threads_mark_stacks) [SCM_STACK_GROWS_UP]: Correction
to stack marking call, two parameters and no cast on t->base.

20 years ago*** empty log message ***
Kevin Ryde [Tue, 18 May 2004 23:59:30 +0000 (23:59 +0000)]
*** empty log message ***

20 years ago(CLEANFILES): Remove, goops.tmp goops.cps cleaned by automake these days.
Kevin Ryde [Tue, 18 May 2004 23:58:39 +0000 (23:58 +0000)]
(CLEANFILES): Remove, goops.tmp goops.cps cleaned by automake these days.

20 years ago(CLEANFILES): Remove guile.cps guile.fns guile.rns
Kevin Ryde [Tue, 18 May 2004 23:52:21 +0000 (23:52 +0000)]
(CLEANFILES): Remove guile.cps guile.fns guile.rns
guile.tps guile.vrs guile.tmp, cleaned by automake these days.

20 years ago(trunc): Remove #define to scm_truncate when the C library
Kevin Ryde [Tue, 18 May 2004 23:45:34 +0000 (23:45 +0000)]
(trunc): Remove #define to scm_truncate when the C library
doesn't provide trunc.  This was for when `truncate' was done as a
scm_tc7_dsubr, no longer required.

20 years ago(scm_round_number): For inum and big, just return x. For
Kevin Ryde [Tue, 18 May 2004 23:43:28 +0000 (23:43 +0000)]
(scm_round_number): For inum and big, just return x.  For
real, use scm_round for 2^54-1 etc problems covered there.

20 years ago*** empty log message ***
Marius Vollmer [Tue, 18 May 2004 21:55:11 +0000 (21:55 +0000)]
*** empty log message ***

20 years ago(rehash_after_gc): Bug fix: properly link the processed hashtables
Marius Vollmer [Tue, 18 May 2004 21:29:38 +0000 (21:29 +0000)]
(rehash_after_gc): Bug fix: properly link the processed hashtables
back into the weak_hashtables list.  Thanks to Bill Schottstaedt!

20 years ago * eval.c (unmemoize_quote): New static function.
Dirk Herrmann [Sun, 16 May 2004 06:38:51 +0000 (06:38 +0000)]
* eval.c (unmemoize_quote): New static function.

(scm_m_quote, scm_m_atslot_ref, SCM_CEVAL): Changed the byte code
representation of 'quote' and '@slot-ref' to an improper list.
This reduces execution time, the number of cells used to hold the
memoized code, and thus also reduces garbage collection time.

(scm_unmemocopy): Use unmemoize_quote for quote expressions.

(SCM_CEVAL): Changed macro handling to also work with macros that
return improper lists.  Added an assertion, that the code returned
by a macro transformer will not lead to cycles in the memoized
code.

20 years ago No functional change, just rearrangements of functions within the
Dirk Herrmann [Sat, 15 May 2004 16:45:27 +0000 (16:45 +0000)]
No functional change, just rearrangements of functions within the
file.

* eval.c (scm_ilookup, scm_unbound_variable_key,
error_unbound_variable, scm_lookupcar1, scm_lookupcar): Moved to
the definitions used for execution, since that's where they will
belong to later.

20 years ago * numbers.h (SCM_SLOPPY_FRACTIONP): Removed. It was not used
Dirk Herrmann [Sat, 15 May 2004 15:50:24 +0000 (15:50 +0000)]
* numbers.h (SCM_SLOPPY_FRACTIONP): Removed.  It was not used
throughout guile, has not been part of an official release yet,
and the concept of sloppy predicates has never been a good idea.

(SCM_FRACTION_NUMERATOR, SCM_FRACTION_DENOMINATOR,
SCM_FRACTION_SET_NUMERATOR, SCM_FRACTION_SET_DENOMINATOR):
Simplified.

20 years ago * throw.c (SETJBJMPBUF, SCM_SETJBDFRAME): Add cast to scm_t_bits
Dirk Herrmann [Sat, 15 May 2004 15:42:47 +0000 (15:42 +0000)]
* throw.c (SETJBJMPBUF, SCM_SETJBDFRAME): Add cast to scm_t_bits
to make explicit what happens.

20 years ago * dynl.c (SET_DYNL_HANDLE): Add cast to scm_t_bits to make
Dirk Herrmann [Sat, 15 May 2004 15:39:27 +0000 (15:39 +0000)]
* dynl.c (SET_DYNL_HANDLE): Add cast to scm_t_bits to make
explicit what happens.

* guardians.c (TCONC_IN): Use SCM_SET_CELL_OBJECT_x rather than
SCM_SET_CELL_WORD_x when writing scheme objets to cell elements.

20 years ago*** empty log message ***
Marius Vollmer [Mon, 10 May 2004 22:10:02 +0000 (22:10 +0000)]
*** empty log message ***

20 years ago(scm_sigaction_for_thread): Validate that the handler is indeed a
Marius Vollmer [Mon, 10 May 2004 22:09:04 +0000 (22:09 +0000)]
(scm_sigaction_for_thread): Validate that the handler is indeed a
procedure when it isn't a number.

20 years ago*** empty log message ***
Marius Vollmer [Mon, 10 May 2004 20:43:00 +0000 (20:43 +0000)]
*** empty log message ***

20 years ago(number->string): Added tests for non-radix-10 floating point
Marius Vollmer [Mon, 10 May 2004 20:41:54 +0000 (20:41 +0000)]
(number->string): Added tests for non-radix-10 floating point
conversions.

20 years agoAdded test-round.
Marius Vollmer [Mon, 10 May 2004 20:36:27 +0000 (20:36 +0000)]
Added test-round.

20 years ago(FLOBUFLEN): Increase so that radix 2 strings will fit.
Marius Vollmer [Mon, 10 May 2004 20:35:39 +0000 (20:35 +0000)]
(FLOBUFLEN): Increase so that radix 2 strings will fit.
(fx): Removed.
(scm_dblprec, fx_per_radix, init_dblprec, init_fx_radix,
number_chars): New, to support variable radices.
(idbl2str): Use above instead of the old base-10 only tables.
(iflo2str): Pass on new RADIX argument to idbl2str.
(scm_number_to_string): Pass radix to iflo2str.
(scm_print_real, scm_print_complex): Explicitly pass radix 10 to
iflo2str.
(scm_init_numbers): Call init_dblprec and init_fx_radix for all
possible radices.

20 years ago*** empty log message ***
Kevin Ryde [Sun, 9 May 2004 22:54:06 +0000 (22:54 +0000)]
*** empty log message ***

20 years ago(logbit?): New tests.
Kevin Ryde [Sun, 9 May 2004 22:53:24 +0000 (22:53 +0000)]
(logbit?): New tests.

20 years agoMore of:
Kevin Ryde [Sun, 9 May 2004 22:46:17 +0000 (22:46 +0000)]
More of:
(scm_logbit_p): Correction to test above the end of an
inum.  Reported by Jan Konecny.

20 years ago*** empty log message ***
Kevin Ryde [Sun, 9 May 2004 22:34:48 +0000 (22:34 +0000)]
*** empty log message ***

20 years ago(scm_logbit_p): Correction to test above the end of an
Kevin Ryde [Sun, 9 May 2004 22:33:29 +0000 (22:33 +0000)]
(scm_logbit_p): Correction to test above the end of an
inum.  Reported by Jan Konecny.

20 years ago*** empty log message ***
Kevin Ryde [Sun, 9 May 2004 00:54:57 +0000 (00:54 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Kevin Ryde [Sun, 9 May 2004 00:50:30 +0000 (00:50 +0000)]
*** empty log message ***

20 years ago(test-dst, string->date local DST): Test with
Kevin Ryde [Sun, 9 May 2004 00:49:25 +0000 (00:49 +0000)]
(test-dst, string->date local DST): Test with
"EST5EDT" instead of "CET", since HP-UX doesn't know CET.

20 years ago*** empty log message ***
Marius Vollmer [Thu, 6 May 2004 17:04:04 +0000 (17:04 +0000)]
*** empty log message ***

20 years agoUpdated for new SCM_SMOB_* macros.
Marius Vollmer [Thu, 6 May 2004 16:58:47 +0000 (16:58 +0000)]
Updated for new SCM_SMOB_* macros.

20 years agoMoved around the sections so that the manual overview comes first.
Marius Vollmer [Thu, 6 May 2004 16:58:23 +0000 (16:58 +0000)]
Moved around the sections so that the manual overview comes first.

20 years agoUpdated for the new role of scm_t_bits.
Marius Vollmer [Thu, 6 May 2004 16:58:01 +0000 (16:58 +0000)]
Updated for the new role of scm_t_bits.

20 years agoTypo.
Marius Vollmer [Thu, 6 May 2004 16:57:41 +0000 (16:57 +0000)]
Typo.

20 years ago*** empty log message ***
Marius Vollmer [Thu, 6 May 2004 16:43:46 +0000 (16:43 +0000)]
*** empty log message ***

20 years agoUse SCM_SMOB_* instead of SCM_CELL_* as appropriate. Use
Marius Vollmer [Thu, 6 May 2004 16:43:14 +0000 (16:43 +0000)]
Use SCM_SMOB_* instead of SCM_CELL_* as appropriate.  Use
SCM_SMOB_FLAGS and SCM_SET_SMOB_FLAGS instead of accessing the
zeroth word directly.  Use SCM_SMOB_PREDICATE as appropriate.

20 years ago(SCM_CELL_WORD_LOC): Moved to "deprecated.h".
Marius Vollmer [Thu, 6 May 2004 16:42:50 +0000 (16:42 +0000)]
(SCM_CELL_WORD_LOC): Moved to "deprecated.h".

20 years ago(SCM_I_BIG_MPZ): Use SCM_CELL_OBJECT_LOC instead of taking the address
Marius Vollmer [Thu, 6 May 2004 16:42:07 +0000 (16:42 +0000)]
(SCM_I_BIG_MPZ): Use SCM_CELL_OBJECT_LOC instead of taking the address
of SCM_CELL_WORD_1, the latter being no longer an lvalue.

20 years ago(SCM_VARIABLE_LOC): Use SCM_CELL_OBJECT_LOC instead of casting
Marius Vollmer [Thu, 6 May 2004 16:41:47 +0000 (16:41 +0000)]
(SCM_VARIABLE_LOC): Use SCM_CELL_OBJECT_LOC instead of casting
SCM_CELL_WORD_LOC.

20 years ago* smob.h (SCM_SMOB_DATA_2, SCM_SMOB_DATA_3, SCM_SMOB_FLAGS,
Marius Vollmer [Thu, 6 May 2004 16:41:27 +0000 (16:41 +0000)]
* smob.h (SCM_SMOB_DATA_2, SCM_SMOB_DATA_3, SCM_SMOB_FLAGS,
SCM_SET_SMOB_DATA_2, SCM_SET_SMOB_DATA_3, SCM_SET_SMOB_FLAGS,
SCM_SMOB_OBJECT, SCM_SMOB_OBJECT_2, SCM_SMOB_OBJECT_3,
SCM_SET_SMOB_OBJECT, SCM_SET_SMOB_OBJECT_2, SCM_SET_SMOB_OBJECT_3,
SCM_SMOB_OBJECT_LOC, SCM_SMOB_OBJECT_2_LOC,
SCM_SMOB_OBJECT_3_LOC): New.
* smob.c (scm_i_set_smob_flags): New function.

20 years ago(scm_t_cell): Fields are now of type SCM instead of
Marius Vollmer [Thu, 6 May 2004 16:41:08 +0000 (16:41 +0000)]
(scm_t_cell): Fields are now of type SCM instead of
scm_t_bits.  Updated all users.
(SCM_GC_CARD_SIZE_MASK): Use SCM_GC_SIZEOF_CARD instead of
duplicating the code.
(SCM_CELL_OBJECT_LOC): New.
(SCM_CARLOC, SCM_CDRLOC): Use it instead of SCM_CELL_WORD_LOC.
(SCM_CELL_WORD_LOC): Moved to "deprecated.h".

20 years agoFixed typo in comment.
Marius Vollmer [Thu, 6 May 2004 16:28:18 +0000 (16:28 +0000)]
Fixed typo in comment.

20 years ago * boot-9.scm (resolve-module): Always start searching from the
Dirk Herrmann [Mon, 3 May 2004 22:42:09 +0000 (22:42 +0000)]
* boot-9.scm (resolve-module): Always start searching from the
root module.  This will allow the C equivalent scm_resolve_module
to work, independent of what the current module is.

20 years ago*** empty log message ***
Kevin Ryde [Sun, 2 May 2004 23:09:37 +0000 (23:09 +0000)]
*** empty log message ***

20 years ago(strftime): Force tm:isdst to 0 for the test, for
Kevin Ryde [Sun, 2 May 2004 23:08:58 +0000 (23:08 +0000)]
(strftime): Force tm:isdst to 0 for the test, for
the benefit of HP-UX.  Reported by Andreas Vögele.
Use set-tm:zone rather than a hard coded vector offset.

20 years ago*** empty log message ***
Kevin Ryde [Sat, 1 May 2004 21:51:03 +0000 (21:51 +0000)]
*** empty log message ***

20 years ago(scm_macroexp): Add prototype, since it's not in eval.h under
Kevin Ryde [Sat, 1 May 2004 21:49:44 +0000 (21:49 +0000)]
(scm_macroexp): Add prototype, since it's not in eval.h under
--disable-deprecated.  Reported by Andreas Vögele.

20 years ago*** empty log message ***
Kevin Ryde [Sat, 1 May 2004 21:33:12 +0000 (21:33 +0000)]
*** empty log message ***

20 years ago(varargs.h): Remove, leave just stdarg.h which is all the
Kevin Ryde [Sat, 1 May 2004 21:32:03 +0000 (21:32 +0000)]
(varargs.h): Remove, leave just stdarg.h which is all the
code has support for.  Fixes building with AIX cc, which is ansi but
doesn't define __STDC__.  Reported by Keith Crane.
(var_start): Remove macro, this variation no longer required.
(scm_list_n): Use va_start directly.

20 years agoMore of:
Kevin Ryde [Sat, 1 May 2004 21:30:37 +0000 (21:30 +0000)]
More of:
(_POSIX_C_SOURCE): Define to 199506L to get readdir_r (in
particular on HP-UX).  Reported by Andreas Vögele.

20 years ago*** empty log message ***
Kevin Ryde [Sat, 1 May 2004 21:01:47 +0000 (21:01 +0000)]
*** empty log message ***

20 years ago(_POSIX_C_SOURCE): Define to 199506L to get readdir_r (in
Kevin Ryde [Sat, 1 May 2004 21:00:41 +0000 (21:00 +0000)]
(_POSIX_C_SOURCE): Define to 199506L to get readdir_r (in
particular on HP-UX).  Reported by Andreas Vögele.