bpt/guile.git
18 years ago(scm_t_guile_ticket, scm_leave_guile, scm_enter_guile): Removed from
Marius Vollmer [Tue, 6 Dec 2005 20:15:24 +0000 (20:15 +0000)]
(scm_t_guile_ticket, scm_leave_guile, scm_enter_guile): Removed from
public API.  See comment at scm_without_guile for the rationale.

18 years ago(read_without_guile): New.
Marius Vollmer [Tue, 6 Dec 2005 20:02:19 +0000 (20:02 +0000)]
(read_without_guile): New.
(signal_delivery_thread): Use it instead of
scm_leave_guile/read/scm_enter_guile.

18 years ago* gc-card.c (scm_i_card_statistics): Return if BITVEC is NULL.
Neil Jerram [Tue, 6 Dec 2005 19:15:16 +0000 (19:15 +0000)]
* gc-card.c (scm_i_card_statistics): Return if BITVEC is NULL.
This was typically hit when running `gc-live-object-stats' right
after starting Guile.

18 years ago*** empty log message ***
Kevin Ryde [Wed, 30 Nov 2005 00:42:19 +0000 (00:42 +0000)]
*** empty log message ***

18 years ago(string-append/shared): New tests.
Kevin Ryde [Wed, 30 Nov 2005 00:35:45 +0000 (00:35 +0000)]
(string-append/shared): New tests.

18 years ago*** empty log message ***
Kevin Ryde [Wed, 30 Nov 2005 00:30:36 +0000 (00:30 +0000)]
*** empty log message ***

18 years ago(scm_string_append_shared): No copying if just one
Kevin Ryde [Wed, 30 Nov 2005 00:26:08 +0000 (00:26 +0000)]
(scm_string_append_shared): No copying if just one
non-empty string in args.

18 years ago*** empty log message ***
Kevin Ryde [Sat, 26 Nov 2005 00:55:45 +0000 (00:55 +0000)]
*** empty log message ***

18 years ago * random.c (scm_i_copy_rstate, scm_c_make_rstate): Don't test for
Kevin Ryde [Sat, 26 Nov 2005 00:54:06 +0000 (00:54 +0000)]
* random.c (scm_i_copy_rstate, scm_c_make_rstate): Don't test for
scm_malloc returning NULL, it never does that.
* putenv.c (putenv): Likewise.

18 years ago(scm_i_copy_rstate, scm_c_make_rstate): Don't test for
Kevin Ryde [Sat, 26 Nov 2005 00:53:27 +0000 (00:53 +0000)]
(scm_i_copy_rstate, scm_c_make_rstate): Don't test for
scm_malloc returning NULL, it never does that.

18 years ago(scm_fill_sockaddr): Remove SCM_C_INLINE_KEYWORD, this is
Kevin Ryde [Sat, 26 Nov 2005 00:52:52 +0000 (00:52 +0000)]
(scm_fill_sockaddr): Remove SCM_C_INLINE_KEYWORD, this is
much too big to want to inline.

18 years ago(list): Should be "primitive" in SCM_SNARF_DOCS, not "register".
Kevin Ryde [Sat, 26 Nov 2005 00:50:12 +0000 (00:50 +0000)]
(list): Should be "primitive" in SCM_SNARF_DOCS, not "register".

18 years ago(scm_mark_all): Change C++ comment to C comment. Reported by Ludovic Courtès.
Kevin Ryde [Sat, 26 Nov 2005 00:49:24 +0000 (00:49 +0000)]
(scm_mark_all): Change C++ comment to C comment.  Reported by Ludovic Courtès.

18 years ago*** empty log message ***
Kevin Ryde [Thu, 24 Nov 2005 00:13:16 +0000 (00:13 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Kevin Ryde [Thu, 24 Nov 2005 00:03:27 +0000 (00:03 +0000)]
*** empty log message ***

18 years ago(lset-difference!): More tests.
Kevin Ryde [Thu, 24 Nov 2005 00:00:59 +0000 (00:00 +0000)]
(lset-difference!): More tests.

18 years ago(lset-difference!): Rewrite in C.
Kevin Ryde [Wed, 23 Nov 2005 23:56:08 +0000 (23:56 +0000)]
(lset-difference!): Rewrite in C.

18 years agotypo in lset-difference! name in with-test-prefix
Kevin Ryde [Wed, 23 Nov 2005 23:41:29 +0000 (23:41 +0000)]
typo in lset-difference! name in with-test-prefix

18 years ago*** empty log message ***
Kevin Ryde [Fri, 18 Nov 2005 23:27:28 +0000 (23:27 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Kevin Ryde [Fri, 18 Nov 2005 23:04:06 +0000 (23:04 +0000)]
*** empty log message ***

18 years ago(Retrieving Alist Entries): Revise for clarity and brevity.
Kevin Ryde [Fri, 18 Nov 2005 22:01:46 +0000 (22:01 +0000)]
(Retrieving Alist Entries): Revise for clarity and brevity.

18 years ago * print.c (EXIT_NESTED_DATA): Before popping from the stack, reset
Neil Jerram [Thu, 17 Nov 2005 18:50:01 +0000 (18:50 +0000)]
* print.c (EXIT_NESTED_DATA): Before popping from the stack, reset
the value at its top.  This fixes a reference leak.
(PUSH_REF): Perform `pstate->top++' after calling
`PSTATE_STACK_SET ()' in order to avoid undesired potential side
effects.

18 years ago* gc.c (scm_weak_vectors): Removed.
Neil Jerram [Sat, 12 Nov 2005 08:58:51 +0000 (08:58 +0000)]
* gc.c (scm_weak_vectors): Removed.

18 years ago(scm_setsockopt): Missing @defvar in docstring. Reported
Kevin Ryde [Sat, 12 Nov 2005 00:59:28 +0000 (00:59 +0000)]
(scm_setsockopt): Missing @defvar in docstring.  Reported
by Ludovic Courtès.

18 years ago*** empty log message ***
Marius Vollmer [Sun, 6 Nov 2005 22:12:25 +0000 (22:12 +0000)]
*** empty log message ***

18 years ago(scm_mktime): Use scm_frame_critical_section instead of
Marius Vollmer [Sun, 6 Nov 2005 22:12:04 +0000 (22:12 +0000)]
(scm_mktime): Use scm_frame_critical_section instead of
SCM_CRITICAL_SECTION_START/END since the code inside the critical
section might exit non-locally.

18 years ago*** empty log message ***
Kevin Ryde [Sat, 5 Nov 2005 21:42:14 +0000 (21:42 +0000)]
*** empty log message ***

18 years agoFrom Ludovic Courtès, partial rework by me:
Kevin Ryde [Sat, 5 Nov 2005 21:38:49 +0000 (21:38 +0000)]
From Ludovic Courtès, partial rework by me:
* doc/ref/api-modules.texi (Creating Guile Modules): In define-module,
describe #:re-export, #:export-syntax, #:re-export-syntax, #:replace
and #:duplicates.  Add re-export.

18 years ago* eval.c (sym_instead): New symbol.
Neil Jerram [Fri, 4 Nov 2005 21:20:24 +0000 (21:20 +0000)]
* eval.c (sym_instead): New symbol.
(ENTER_APPLY): Remove optional use of a continuation when making
trap call.
(scm_debug_opts): Change doc for 'cheap option to make clear that
it is now obsolete.
(CEVAL, SCM_APPLY): Remove optional use of a continuation when
making trap calls, and implement substitution of eval expressions
and return values using the values that the trap call handlers
return.

* debug.h (SCM_CHEAPTRAPS_P): Removed.

18 years ago*** empty log message ***
Kevin Ryde [Mon, 31 Oct 2005 23:42:14 +0000 (23:42 +0000)]
*** empty log message ***

18 years ago(Time): In strftime, note systems vary for %Z.
Kevin Ryde [Mon, 31 Oct 2005 23:41:46 +0000 (23:41 +0000)]
(Time): In strftime, note systems vary for %Z.

18 years ago*** empty log message ***
Kevin Ryde [Mon, 31 Oct 2005 23:33:58 +0000 (23:33 +0000)]
*** empty log message ***

18 years ago2005-10-27 Ludovic Courtès <ludovic.courtes@laas.fr>
Kevin Ryde [Mon, 31 Oct 2005 23:33:07 +0000 (23:33 +0000)]
2005-10-27  Ludovic Courtès  <ludovic.courtes@laas.fr>
* networking.scm (sockaddr:flowinfo, sockaddr:scopeid): New functions.

18 years ago*** empty log message ***
Kevin Ryde [Fri, 28 Oct 2005 23:00:55 +0000 (23:00 +0000)]
*** empty log message ***

18 years ago(Network Socket Address): Add scm_make_socket_address,
Kevin Ryde [Fri, 28 Oct 2005 23:00:19 +0000 (23:00 +0000)]
(Network Socket Address): Add scm_make_socket_address,
scm_c_make_socket_address, scm_from_sockaddr, scm_to_sockaddr.  This
change by Ludovic Courtès and revised a bit by me.

18 years ago(Network Address Conversion): Move INADDR_ANY to here.
Kevin Ryde [Thu, 27 Oct 2005 01:05:43 +0000 (01:05 +0000)]
(Network Address Conversion): Move INADDR_ANY to here.
(Network Socket Address): New section, move sockaddr bits to here, add
new make-socket-address.
(Network Sockets and Communication): In connect, bind, and sendto, now
take socket address object.  In bind, leave INADDR constants for
"Network Address Conversion" node.  In those plus accept, getsockname,
getpeername, reword a bit for clarity.

18 years ago*** empty log message ***
Kevin Ryde [Thu, 27 Oct 2005 00:37:09 +0000 (00:37 +0000)]
*** empty log message ***

18 years ago2005-10-27 Ludovic Courtès <ludovic.courtes@laas.fr>
Kevin Ryde [Thu, 27 Oct 2005 00:35:06 +0000 (00:35 +0000)]
2005-10-27  Ludovic Courtès  <ludovic.courtes@laas.fr>
* tests/socket.test (make-socket-address): New tests.
(connect, bind, sendto): Exercise sockaddr object.

18 years ago2005-10-27 Ludovic Courtès <ludovic.courtes@laas.fr>
Kevin Ryde [Thu, 27 Oct 2005 00:28:40 +0000 (00:28 +0000)]
2005-10-27  Ludovic Courtès  <ludovic.courtes@laas.fr>
* socket.c (scm_fill_sockaddr): No need to check NULL from scm_malloc.
(scm_connect, scm_bind, scm_sendto): Accept sockaddr object.
(scm_addr_vector): Renamed to _scm_from_sockaddr, update usages.
(scm_from_sockaddr, scm_to_sockaddr, scm_make_socket_address,
scm_c_make_socket_address): New functions.
* socket.h: Add prototypes.

18 years ago2005-10-27 Ludovic Courtès <ludovic.courtes@laas.fr>
Kevin Ryde [Thu, 27 Oct 2005 00:22:54 +0000 (00:22 +0000)]
2005-10-27  Ludovic Courtès  <ludovic.courtes@laas.fr>
* socket.c (scm_fill_sockaddr): No need to check NULL from scm_malloc.
(scm_connect, scm_bind, scm_sendto): Accept sockaddr object.
(scm_addr_vector): Renamed to _scm_from_sockaddr, update usages.
(scm_from_sockaddr, scm_to_sockaddr, scm_make_socket_address,
scm_c_make_socket_address): New functions.

18 years ago*** empty log message ***
Kevin Ryde [Sun, 23 Oct 2005 22:45:52 +0000 (22:45 +0000)]
*** empty log message ***

18 years ago(strftime %Z): Disable this test, its assumptions
Kevin Ryde [Sun, 23 Oct 2005 22:40:12 +0000 (22:40 +0000)]
(strftime %Z): Disable this test, its assumptions
about %Z are not valid on NetBSD.

18 years ago(scm_strftime): Update docstring from posix.texi.
Kevin Ryde [Sun, 23 Oct 2005 22:29:25 +0000 (22:29 +0000)]
(scm_strftime): Update docstring from posix.texi.

18 years ago(Time): Revise strftime for clarity, cross reference man
Kevin Ryde [Sun, 23 Oct 2005 22:21:33 +0000 (22:21 +0000)]
(Time): Revise strftime for clarity, cross reference man
3 strftime (suggested by Greg Troxel), note locale character set when
setlocale has been called.

18 years agoUntabify
Kevin Ryde [Sun, 23 Oct 2005 21:57:08 +0000 (21:57 +0000)]
Untabify

18 years ago(scm_getsockopt, scm_setsockopt): Update docstrings from posix.texi.
Kevin Ryde [Sun, 23 Oct 2005 21:56:09 +0000 (21:56 +0000)]
(scm_getsockopt, scm_setsockopt): Update docstrings from posix.texi.

18 years ago(Network Sockets and Communication): Combine and revise
Kevin Ryde [Sun, 23 Oct 2005 21:50:41 +0000 (21:50 +0000)]
(Network Sockets and Communication): Combine and revise
getsockopt and setsockopt.  Add OPTNAME constants, including new
IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP.

18 years ago(scm_init_socket): Add IPPROTO_IP, IPPROTO_TCP,
Kevin Ryde [Sun, 23 Oct 2005 21:35:01 +0000 (21:35 +0000)]
(scm_init_socket): Add IPPROTO_IP, IPPROTO_TCP,
IPPROTO_UDP.  Remove SOL_IP, SOL_TCP, SOL_UDP.  The former are in
POSIX spec examples, the latter are not available on for instance
NetBSD.

18 years ago*** empty log message ***
Marius Vollmer [Sun, 23 Oct 2005 20:48:11 +0000 (20:48 +0000)]
*** empty log message ***

18 years ago* null-threads.h, pthread-threads.h
Marius Vollmer [Sun, 23 Oct 2005 20:47:49 +0000 (20:47 +0000)]
* null-threads.h, pthread-threads.h
(SCM_I_PTHREAD_RECURSIVE_MUTEX_INITIALIZER): Removed.
(scm_i_pthread_mutexattr_recursive): New.

* threads.c (scm_i_pthread_mutexattr_recursive): Declare.
(scm_i_critical_section_mutex): Do not initialize statically.
(scm_threads_prehistory): Initialize
scm_i_pthread_mutexattr_recursive and scm_i_critical_section_mutex
here.

* eval.c (source_mutex): Do not initialiaze statically.
(scm_init_eval): Do it here, using
scm_i_pthread_mutexattr_recursive.

18 years ago* api-debug.texi (Source Properties): Add text describing/advising
Neil Jerram [Sat, 15 Oct 2005 18:33:34 +0000 (18:33 +0000)]
* api-debug.texi (Source Properties): Add text describing/advising
limited use of source properties.

* api-debug.texi (Source Properties): Documentation of source
property procedures moved here from ...

* api-procedures.texi (Procedure Properties): ... where it didn't
belong.

18 years ago*** empty log message ***
Kevin Ryde [Wed, 5 Oct 2005 01:26:06 +0000 (01:26 +0000)]
*** empty log message ***

18 years agountabify
Kevin Ryde [Wed, 5 Oct 2005 01:25:02 +0000 (01:25 +0000)]
untabify

18 years ago(Regexp Functions): Notes on zero bytes and locale character set.
Kevin Ryde [Wed, 5 Oct 2005 01:24:12 +0000 (01:24 +0000)]
(Regexp Functions): Notes on zero bytes and locale character set.

18 years ago(Formatted Output): Show modifiers like ~:d instead of in words.
Kevin Ryde [Wed, 5 Oct 2005 01:22:22 +0000 (01:22 +0000)]
(Formatted Output): Show modifiers like ~:d instead of in words.

18 years ago*** empty log message ***
Kevin Ryde [Wed, 5 Oct 2005 00:36:04 +0000 (00:36 +0000)]
*** empty log message ***

18 years agoUpdated print-options.
Marius Vollmer [Sun, 4 Sep 2005 21:31:05 +0000 (21:31 +0000)]
Updated print-options.

18 years ago*** empty log message ***
Marius Vollmer [Sun, 4 Sep 2005 21:30:24 +0000 (21:30 +0000)]
*** empty log message ***

18 years ago(SCM_PRINT_KEYWORD_STYLE_I, SCM_PRINT_KEYWORD_STYLE):
Marius Vollmer [Sun, 4 Sep 2005 21:30:01 +0000 (21:30 +0000)]
(SCM_PRINT_KEYWORD_STYLE_I, SCM_PRINT_KEYWORD_STYLE):
New.
(sym_reader): New.
(scm_print_opts): Added "quote-keywordish-symbols" option.
(quote_keywordish_symbol): New, for evaluating the option.
(scm_print_symbol_name): Use it.
(scm_init_print): Initialize new option to sym_reader.

18 years agoExport write-frame-long.
Neil Jerram [Wed, 31 Aug 2005 23:05:29 +0000 (23:05 +0000)]
Export write-frame-long.

18 years ago*** empty log message ***
Kevin Ryde [Fri, 19 Aug 2005 00:05:16 +0000 (00:05 +0000)]
*** empty log message ***

18 years ago(date->time-tai): New tests, exercising new leap-second.
Kevin Ryde [Thu, 18 Aug 2005 23:51:02 +0000 (23:51 +0000)]
(date->time-tai): New tests, exercising new leap-second.

18 years ago*** empty log message ***
Kevin Ryde [Thu, 18 Aug 2005 23:44:35 +0000 (23:44 +0000)]
*** empty log message ***

18 years ago(priv:leap-second-table): Add new 2005 leap second.
Kevin Ryde [Thu, 18 Aug 2005 23:43:37 +0000 (23:43 +0000)]
(priv:leap-second-table): Add new 2005 leap second.

18 years ago("letrec init evaluation"): New paranoid test.
Neil Jerram [Mon, 15 Aug 2005 20:57:38 +0000 (20:57 +0000)]
("letrec init evaluation"): New paranoid test.

18 years ago* eval.c (eval_letrec_inits): New.
Neil Jerram [Mon, 15 Aug 2005 20:43:16 +0000 (20:43 +0000)]
* eval.c (eval_letrec_inits): New.
(CEVAL): Eval letrec initializer forms using eval_letrec_inits.

* tests/r5rs_pitfall.test (1.1): Now passes.

18 years ago(lset-difference, lset-difference,
Kevin Ryde [Fri, 12 Aug 2005 01:26:52 +0000 (01:26 +0000)]
(lset-difference, lset-difference,
lset-diff+intersection, lset-diff+intersection, lset-intersection):
Exercise equality procedure arg order (already correct in these procs,
but had been wrong in other lset ones).

18 years ago(scm_string_for_each_index): Correction to docstring.
Kevin Ryde [Fri, 12 Aug 2005 01:14:02 +0000 (01:14 +0000)]
(scm_string_for_each_index): Correction to docstring.

18 years ago*** empty log message ***
Marius Vollmer [Thu, 11 Aug 2005 21:04:31 +0000 (21:04 +0000)]
*** empty log message ***

18 years agoUse scm_from_bool instead of SCM_BOOL. Thanks to Peter Gavin!
Marius Vollmer [Thu, 11 Aug 2005 21:03:58 +0000 (21:03 +0000)]
Use scm_from_bool instead of SCM_BOOL.  Thanks to Peter Gavin!

18 years agoUse scm_is_null instead of SCM_NULLP. Thanks to Peter Gavin!
Marius Vollmer [Thu, 11 Aug 2005 21:03:42 +0000 (21:03 +0000)]
Use scm_is_null instead of SCM_NULLP.  Thanks to Peter Gavin!

18 years agoIndex entries for ptob etc.
Kevin Ryde [Sat, 6 Aug 2005 01:53:25 +0000 (01:53 +0000)]
Index entries for ptob etc.

18 years ago*** empty log message ***
Kevin Ryde [Sat, 6 Aug 2005 01:49:43 +0000 (01:49 +0000)]
*** empty log message ***

18 years ago(string-every, string-tabulate, string-trim,
Kevin Ryde [Sat, 6 Aug 2005 01:48:37 +0000 (01:48 +0000)]
(string-every, string-tabulate, string-trim,
string-trim-right, string-trim-both, string-index, string-index-right,
string-skip, string-skip-right, string-count, string-filter,
string-delete, string-map, string-map!, string-for-each,
string-for-each-index): Further tests, mainly to exercise new
trampolines for proc calls.

18 years ago(scm_string_any, scm_string_every, scm_string_tabulate,
Kevin Ryde [Sat, 6 Aug 2005 01:44:30 +0000 (01:44 +0000)]
(scm_string_any, scm_string_every, scm_string_tabulate,
scm_string_trim, scm_string_trim_right, scm_string_trim_both,
scm_string_index, scm_string_index_right, scm_string_skip,
scm_string_skip_right, scm_string_count, scm_string_map,
scm_string_map_x, scm_string_for_each, scm_string_for_each_index,
scm_string_filter, scm_string_delete): Use scm_t_trampoline_1 for
procedures called in loops.

18 years ago*** empty log message ***
Kevin Ryde [Sat, 6 Aug 2005 00:48:46 +0000 (00:48 +0000)]
*** empty log message ***

18 years ago(List Modification): In filter, return may share a
Kevin Ryde [Sat, 6 Aug 2005 00:45:40 +0000 (00:45 +0000)]
(List Modification): In filter, return may share a
tail with the input, as per docstring.  In filter!, fix chopped off
note of modifying input.

18 years ago(Error Reporting): In strerror, note message is in
Kevin Ryde [Sat, 6 Aug 2005 00:40:16 +0000 (00:40 +0000)]
(Error Reporting): In strerror, note message is in
locale language and charset.

18 years ago*** empty log message ***
Kevin Ryde [Tue, 2 Aug 2005 00:12:09 +0000 (00:12 +0000)]
*** empty log message ***

18 years ago(st_flush): Increase buffer by 1.5x when growing, to
Kevin Ryde [Tue, 2 Aug 2005 00:03:01 +0000 (00:03 +0000)]
(st_flush): Increase buffer by 1.5x when growing, to
avoid lots of copying where previoulsy growing by only 80 bytes at a
time.

18 years ago*** empty log message ***
Marius Vollmer [Sun, 31 Jul 2005 23:37:03 +0000 (23:37 +0000)]
*** empty log message ***

18 years ago(set-module-eval-closure!): Undone change from 2005-06-10; with the
Marius Vollmer [Sun, 31 Jul 2005 23:36:50 +0000 (23:36 +0000)]
(set-module-eval-closure!): Undone change from 2005-06-10; with the
new weak hashtable semantics, cyclic references are no longer a
problem.

18 years ago(scm_eval_closure_module): Removed, we already have
Marius Vollmer [Sun, 31 Jul 2005 23:36:14 +0000 (23:36 +0000)]
(scm_eval_closure_module): Removed, we already have
scm_lookup_closure_module, which does the same thing.

18 years ago*** empty log message ***
Marius Vollmer [Sun, 31 Jul 2005 23:16:59 +0000 (23:16 +0000)]
*** empty log message ***

18 years agoDo not fail when the GC does not collect an object, report it as
Marius Vollmer [Sun, 31 Jul 2005 23:16:51 +0000 (23:16 +0000)]
Do not fail when the GC does not collect an object, report it as
'unresolved'.

18 years agoAdapted to new (original) semantics. test guardingobjects multiple
Marius Vollmer [Sun, 31 Jul 2005 23:16:45 +0000 (23:16 +0000)]
Adapted to new (original) semantics.  test guardingobjects multiple
times.

18 years ago*** empty log message ***
Marius Vollmer [Sun, 31 Jul 2005 23:05:00 +0000 (23:05 +0000)]
*** empty log message ***

18 years ago* gc-mark.c (scm_mark_all): Do not rely on hooks to run the weak
Marius Vollmer [Sun, 31 Jul 2005 23:04:36 +0000 (23:04 +0000)]
* gc-mark.c (scm_mark_all): Do not rely on hooks to run the weak
hashtable and guardian machinery but call the relevant functions
directly.

* guardians.h, guardians.c, deprecated.h,
deprecated.c (scm_destroy_guardian_x, scm_guardian_greedy_p,
scm_guardian_destroyed_p, scm_guard, scm_get_one_zombie):
Deprecated and moved into deprecated.[ch].

* guardians.h, guardians.c: Mostly rewritten.
(scm_i_init_guardians_for_gc,
scm_i_identify_inaccessible_guardeds,
scm_i_mark_inaccessible_guardeds): New.

* weaks.h, weaks.c (SCM_I_WVECT_TYPE, SCM_I_SET_WVECT_TYPE): New.
(SCM_I_WVECT_N_ITEMS, SCM_I_SET_WVECT_N_ITEMS): New.
(SCM_WVECTF_NOSCAN, SCM_WVECT_NOSCAN_P): Removed.
(scm_weaks_prehistory): Removed.
(scm_i_init_weak_vectors_for_gc, scm_i_mark_weak_vector,
scm_i_mark_weak_vectors_non_weaks,
scm_i_remove_weaks_from_weak_vectors, scm_i_remove_weaks): New.
(scm_weak_vector_gc_init, scm_mark_weak_vector_spines,
scm_scan_weak_vectors): Removed.

* hashtab.h (scm_i_scan_weak_hashtables): New.
* hashtab.c (make_hash_table, scm_i_rehash): Do not use
SCM_WVECTF_NOSCAN.
(hashtable_print): Use SCM_HASHTABLE_N_ITEMS instead of
t->n_items.
(scan_weak_hashtables, scm_i_scan_weak_hashtables): Renamed former
to latter.  Do not scan the alists themselves, this is done by the
weak vector code now.  Just update the element count.

* vectors.h (SCM_I_WVECT_TYPE, SCM_I_WVECT_EXTRA): Renamed former
to latter.  The type is now only part of the cell word.
(SCM_I_SET_WVECT_TYPE, SCM_I_SET_WVECT_EXTRA): Likewise.

* init.c (scm_i_init_guile): Do not call scm_weaks_prehistory.

18 years ago*** empty log message ***
Marius Vollmer [Sun, 31 Jul 2005 21:54:57 +0000 (21:54 +0000)]
*** empty log message ***

18 years ago(check_map_args): Move check_map_error label and elt variable outside
Marius Vollmer [Sun, 31 Jul 2005 21:54:48 +0000 (21:54 +0000)]
(check_map_args): Move check_map_error label and elt variable outside
of loop scope so that we do not jump past the initialization of elt.

18 years ago* gc.c (scm_gc_stats): Bugfix: Measure size of the type we are
Mikael Djurfeldt [Mon, 18 Jul 2005 13:55:44 +0000 (13:55 +0000)]
* gc.c (scm_gc_stats): Bugfix: Measure size of the type we are
mallocating for (unsigned long *bounds).

* hashtab.c (scm_i_rehash): Cast SCM_HASHTABLE_FLAGS (table) to
scm_t_bits before storing them in the type word.

* gc.c (tag_table_to_type_alist): Modified type of c_tag from
scm_t_bits to int.

18 years ago*** empty log message ***
Kevin Ryde [Tue, 12 Jul 2005 00:56:23 +0000 (00:56 +0000)]
*** empty log message ***

18 years ago(String Selection): Merge descriptions of string-trim,
Kevin Ryde [Tue, 12 Jul 2005 00:47:17 +0000 (00:47 +0000)]
(String Selection): Merge descriptions of string-trim,
string-trim-right and string-trim-both for brevity.

18 years ago(String Selection): In string-pad, don't say anything
Kevin Ryde [Tue, 12 Jul 2005 00:42:10 +0000 (00:42 +0000)]
(String Selection): In string-pad, don't say anything
about sharing strings, decided against doing that.
(Miscellaneous String Operations): Ditto in string-filter and
string-delete.

18 years ago(scm_dbg_make_iloc): Should be SCM_IFRAMEMAX and
Kevin Ryde [Tue, 12 Jul 2005 00:28:09 +0000 (00:28 +0000)]
(scm_dbg_make_iloc): Should be SCM_IFRAMEMAX and
SCM_IDISTMAX, and cast uints through scm_t_bits to make gcc happy.
Reported by Ken Raeburn.

18 years agoPlain ascii quote char.
Kevin Ryde [Tue, 12 Jul 2005 00:26:04 +0000 (00:26 +0000)]
Plain ascii quote char.

18 years agoPlain ascii backquote.
Kevin Ryde [Tue, 12 Jul 2005 00:18:54 +0000 (00:18 +0000)]
Plain ascii backquote.

18 years ago*** empty log message ***
Kevin Ryde [Tue, 12 Jul 2005 00:11:52 +0000 (00:11 +0000)]
*** empty log message ***

18 years ago(scm_string_filter, scm_string_delete): Strip leading and
Kevin Ryde [Mon, 11 Jul 2005 23:59:57 +0000 (23:59 +0000)]
(scm_string_filter, scm_string_delete): Strip leading and
trailing deletions, so as to return a substring if those are the only
changes.

18 years ago(scm_dbg_gc_get_bvec): Change return from long* to
Kevin Ryde [Mon, 11 Jul 2005 23:57:50 +0000 (23:57 +0000)]
(scm_dbg_gc_get_bvec): Change return from long* to
scm_t_c_bvec_long*, gcc 4 doesn't like different pointer targets when
returning SCM_GC_CARD_BVEC.