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

3964 commits

Author SHA1 Message Date
Dirk Herrmann
cc4feeca51 * Deprecated function scm_call_catching_errors.
* Updated root-smob initialization.
2000-07-18 07:02:57 +00:00
Marius Vollmer
007e7c3588 *** empty log message *** 2000-07-17 20:00:22 +00:00
Marius Vollmer
1bd07992b6 * eval.c (unmemocopy): Don't rely on V being a list of at least
one element.  Thanks to Bill Schottstaedt!
2000-07-17 19:59:57 +00:00
Michael Livshin
9d47a1e6f2 * gc.c (scm_done_free): new.
expanded comments about scm_done_malloc.

* gc.h: added prototype for scm_done_free
2000-07-15 13:44:04 +00:00
Dirk Herrmann
32d0d4b1e3 * Added note about new global variable scm_gc_running_p. 2000-07-14 07:36:35 +00:00
Dirk Herrmann
406c7d9022 * Extend checks performed with SCM_DEBUG_CELL_ACCESSES=1 and make them
configurable at run-time.
* Replace SCM_FREEP by SCM_FREE_CELL_P and scm_gc_heap_lock by
  scm_gc_running_p (not in all places yet).
2000-07-13 15:00:58 +00:00
Dirk Herrmann
2238100586 * In expt, return exact results when possible. 2000-07-13 14:47:32 +00:00
Dirk Herrmann
c4da09e2dd * Minor cleanups in scm_mark_locations. 2000-07-13 07:40:04 +00:00
Dirk Herrmann
0491498616 * Added a note about removing GUILE_OLD_ASYNC_CLICK. 2000-07-13 07:27:02 +00:00
Dirk Herrmann
2451150282 * Fixed expt for the case of negative integer exponents. 2000-07-12 07:38:06 +00:00
Dirk Herrmann
3f5d82cd9a * Use a set of dedicated macros to access and modify free cells. 2000-07-10 14:25:53 +00:00
Dirk Herrmann
f706a58b67 * Make the compiler warn about code like SCM_CELL_WORD (x, n) = y. 2000-07-10 13:54:03 +00:00
Dirk Herrmann
cbaadf0202 * Signal an error when adding entries to a hash table with no slots. 2000-07-07 15:28:56 +00:00
Dirk Herrmann
b6efc9510e * Keep track of the heap segment table size.
* Let the caller of alloc_some_heap determine the behaviour in case of
  malloc failures.  Use this feature in scm_gc_for_newcell.
2000-07-06 09:10:22 +00:00
Dirk Herrmann
a6c12a04cf * Don't include <stdio.h> in gh.h. Thanks to Han-Wen Nienhuys. 2000-07-06 08:48:14 +00:00
Mikael Djurfeldt
45036de1f7 *** empty log message *** 2000-07-01 17:01:37 +00:00
Mikael Djurfeldt
a473feada1 * boot-9.scm (process-define-module): Bugfix: Only check the CDR
for export args.
2000-07-01 17:01:22 +00:00
Greg J. Badros
80edbc3347 *** empty log message *** 2000-07-01 00:13:17 +00:00
Mikael Djurfeldt
a639823813 *** empty log message *** 2000-06-30 20:00:54 +00:00
Dirk Herrmann
b63a956dc5 * Re-introduced some symbols as deprecated. 2000-06-30 17:37:26 +00:00
Mikael Djurfeldt
38ec519cbf *** empty log message *** 2000-06-30 16:16:08 +00:00
Mikael Djurfeldt
b06a8b87c4 * debug.c: Added #include fluids.h. 2000-06-30 16:14:56 +00:00
Mikael Djurfeldt
a75a7aff74 *** empty log message *** 2000-06-30 16:09:13 +00:00
Mikael Djurfeldt
c76b1eafa3 * numbers.c (scm_gr_p, scm_leq_p, scm_geq_p): Turned into
primitive generics.  (Thanks to Nicolas Neuss.)
2000-06-30 16:08:48 +00:00
Dirk Herrmann
c73879189d * Improved memory error handling.
* Made the behaviour of scm_gc_for_newcell more obvious.
2000-06-30 13:48:28 +00:00
Dirk Herrmann
685c0d7116 * Eliminated use of SCM_ASSERT to check for range errors.
* Fix some error reporting code in list.c
* Added some test cases.
2000-06-30 10:46:35 +00:00
Dirk Herrmann
fdf25853e1 * Fix range checks of SCM_VALIDATE* macros. 2000-06-30 09:48:25 +00:00
Mikael Djurfeldt
627df12801 *** empty log message *** 2000-06-29 23:47:14 +00:00
Mikael Djurfeldt
83d58c8257 * gc.c (scm_gc_for_newcell): Behave gracefully also if scm_igc
doesn't yield any new cells.  In theory this could happen if all
cells allocated with NEWCELL are either in use or conservatively
marked and all cluster spine cells are conservatively marked.
(Thanks to Dirk.)
2000-06-29 23:46:59 +00:00
Dirk Herrmann
2500356c67 * Cleaned up memory error signalling. 2000-06-29 15:54:58 +00:00
Dirk Herrmann
9b166f1273 * Removed some unused identifiers and commented code. 2000-06-29 15:06:31 +00:00
Dirk Herrmann
acf4331fa5 * Use appropriate error signalling functions. 2000-06-29 13:31:33 +00:00
Dirk Herrmann
fc3d77788a * Removed scm_first_type. 2000-06-29 09:13:17 +00:00
Dirk Herrmann
0a7a74453e * Removed unused identifier MIN_GC_YIELD. 2000-06-29 08:27:40 +00:00
Michael Livshin
150c200bdd * gc.c (scm_gc_for_newcell): don't try to do GC if it's blocked,
allocate instead.
2000-06-28 13:17:11 +00:00
Dirk Herrmann
939794ce7f * Cleaned up initialization of asyncs.
* Moved handling of scm_gc_async to gc.c.
* Extracted handling of scheme level after-gc-hook from gc core.
2000-06-28 10:26:52 +00:00
Dirk Herrmann
12acbbef54 * Removed commented code from gc.c.
* Removed unused identifier scm_type_obj_list.
2000-06-28 07:49:25 +00:00
Dirk Herrmann
73ea78af4d * Switch to standard way of smob initialization. 2000-06-27 16:00:01 +00:00
Dirk Herrmann
ac37358068 * gc-thunk is deprecated. Use after-gc-hook instead. 2000-06-27 13:52:49 +00:00
Dirk Herrmann
e5d2c2fa4f * Made a couple of functions (not all yet) tail recursive.
Thanks to William Webber for the hint.
2000-06-21 18:19:20 +00:00
Michael Livshin
7f40b48a9f * guile-doc-snarf.in: use cut instead of sed, that's much much
faster.  also, don't call basename more than needed.  and, to gain
a couple of microseconds more, don't call cat needlessly.  (thanks
to Brad Knotwell).
2000-06-21 15:14:00 +00:00
Dirk Herrmann
c7b6388d1e * Added reminder about removing system_transformer and
top_level_lookup_closure_var from root.h with the next version of
  libguile that is not binary compatible with 1.4.
2000-06-21 15:11:30 +00:00
Dirk Herrmann
141443d7ec * Added some tests that are currently known to fail due to bugs in
the evaluator's handling of macros.
2000-06-21 15:00:44 +00:00
Dirk Herrmann
3c6d9d717f * Renamed SCM__X tokens to better readable ones that also follow the
SCM_SNARF_ prefix convention.
2000-06-21 08:43:12 +00:00
Mikael Djurfeldt
2b6e0d2b77 *** empty log message *** 2000-06-21 02:47:01 +00:00
Mikael Djurfeldt
bd0fb3cfbf * boot-9.scm: Turned the-module', *top-level-lookup-closure*',
and `scm:eval-transformer' into fluids.
2000-06-21 02:46:44 +00:00
Mikael Djurfeldt
7e73eaee6e (SCM_TOP_LEVEL_LOOKUP_CLOSURE): New macro which replaces
SCM_CDR (scm_top_level_lookup_closure_var) everywhere.
2000-06-21 02:46:01 +00:00
Mikael Djurfeldt
51eb747ebf * root.c (mark_root): Removed marking of
s->top_level_lookup_closure_var and s->system_transformer.
2000-06-21 02:45:26 +00:00
Mikael Djurfeldt
de87227851 * root.h (scm_top_level_lookup_closure_var): Removed. (It's no
sense in having the *variable* be a "fluid".)
2000-06-21 02:42:41 +00:00
Mikael Djurfeldt
7f763132bc * modules.c (scm_selected_module): the_module is now a fluid. 2000-06-21 02:42:31 +00:00