Marius Vollmer
3a1b45fdf7
Use scm_from_bool instead of SCM_BOOL. Thanks to Peter Gavin!
2005-08-11 21:03:58 +00:00
Marius Vollmer
3c55f6f1e2
Use scm_is_null instead of SCM_NULLP. Thanks to Peter Gavin!
2005-08-11 21:03:42 +00:00
Kevin Ryde
3081aee16a
Index entries for ptob etc.
2005-08-06 01:53:25 +00:00
Kevin Ryde
bc721aa21d
*** empty log message ***
2005-08-06 01:49:43 +00:00
Kevin Ryde
685788d023
(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.
2005-08-06 01:48:37 +00:00
Kevin Ryde
3540b91548
(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.
2005-08-06 01:44:30 +00:00
Kevin Ryde
514e4b24a9
*** empty log message ***
2005-08-06 00:48:46 +00:00
Kevin Ryde
d8e49e6bd2
(List Modification): In filter, return may share a
...
tail with the input, as per docstring. In filter!, fix chopped off
note of modifying input.
2005-08-06 00:45:40 +00:00
Kevin Ryde
44ba562e29
(Error Reporting): In strerror, note message is in
...
locale language and charset.
2005-08-06 00:40:16 +00:00
Kevin Ryde
126c81dbb4
*** empty log message ***
2005-08-02 00:12:09 +00:00
Kevin Ryde
bf5ad0dac5
(st_flush): Increase buffer by 1.5x when growing, to
...
avoid lots of copying where previoulsy growing by only 80 bytes at a
time.
2005-08-02 00:03:01 +00:00
Marius Vollmer
7f278dc67a
*** empty log message ***
2005-07-31 23:37:03 +00:00
Marius Vollmer
6169fe26f3
(set-module-eval-closure!): Undone change from 2005-06-10; with the
...
new weak hashtable semantics, cyclic references are no longer a
problem.
2005-07-31 23:36:50 +00:00
Marius Vollmer
fc95d019cc
(scm_eval_closure_module): Removed, we already have
...
scm_lookup_closure_module, which does the same thing.
2005-07-31 23:36:14 +00:00
Marius Vollmer
930888e8e8
*** empty log message ***
2005-07-31 23:16:59 +00:00
Marius Vollmer
eb074bfc5a
Do not fail when the GC does not collect an object, report it as
...
'unresolved'.
2005-07-31 23:16:51 +00:00
Marius Vollmer
2924541ba0
Adapted to new (original) semantics. test guardingobjects multiple
...
times.
2005-07-31 23:16:45 +00:00
Marius Vollmer
cb5c4b0722
*** empty log message ***
2005-07-31 23:05:00 +00:00
Marius Vollmer
06c1d90009
* 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.
2005-07-31 23:04:36 +00:00
Marius Vollmer
5070fd11b2
*** empty log message ***
2005-07-31 21:54:57 +00:00
Marius Vollmer
705f4f57ee
(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.
2005-07-31 21:54:48 +00:00
Mikael Djurfeldt
3e2073bd24
* 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.
2005-07-18 13:55:44 +00:00
Kevin Ryde
2468a3c820
*** empty log message ***
2005-07-12 00:56:23 +00:00
Kevin Ryde
dc297bb75b
(String Selection): Merge descriptions of string-trim,
...
string-trim-right and string-trim-both for brevity.
2005-07-12 00:47:17 +00:00
Kevin Ryde
a88e2a9628
(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.
2005-07-12 00:42:10 +00:00
Kevin Ryde
c3c97a34e7
(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.
2005-07-12 00:28:09 +00:00
Kevin Ryde
ea2c396807
Plain ascii quote char.
2005-07-12 00:26:04 +00:00
Kevin Ryde
314f7832d7
Plain ascii backquote.
2005-07-12 00:18:54 +00:00
Kevin Ryde
e8ac8e7583
*** empty log message ***
2005-07-12 00:11:52 +00:00
Kevin Ryde
8591234398
(scm_string_filter, scm_string_delete): Strip leading and
...
trailing deletions, so as to return a substring if those are the only
changes.
2005-07-11 23:59:57 +00:00
Kevin Ryde
f71e4d8c09
(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.
2005-07-11 23:57:50 +00:00
Kevin Ryde
f32632e6cd
(scm_error_pair_access): Plain ascii ' in error message
...
rather than latin-1 acute accent, the latter may not print on all
terminals.
2005-07-11 23:55:17 +00:00
Kevin Ryde
9d5dc023b4
(scm_error_pair_access): Use scm_from_locale_string rather
...
than scm_makfrom0str.
Reported by Ken Raeburn.
2005-07-11 23:50:45 +00:00
Kevin Ryde
adc0677d60
*** empty log message ***
2005-07-11 00:13:36 +00:00
Kevin Ryde
5ee417fc83
(scm_inet_pton, scm_inet_ntop): Pointer cast to scm_t_uint8
...
for scm ipv6 funcs, gcc 4 is picky about char* vs uchar*.
(scm_getsockopt, scm_accept, scm_getsockname, scm_getpeername,
scm_recvfrom) Use socklen_t, gcc 4 is picky about int* vs socklen_t*.
2005-07-10 01:56:07 +00:00
Neil Jerram
e363047c38
(AC_CONFIG_FILES): Removed emacs/Makefile and
...
ice-9/debugger/breakpoints/Makefile.
2005-07-09 15:14:18 +00:00
Neil Jerram
dae11beb08
(SUBDIRS): Removed emacs.
2005-07-09 15:12:28 +00:00
Neil Jerram
e6def95db0
Remove GDS files.
2005-07-09 15:11:09 +00:00
Neil Jerram
4199ace57f
* debugger.scm: Remove comments which are now incorrect.
2005-07-09 15:05:27 +00:00
Neil Jerram
d5c3f236eb
(ice9_debugger_sources): Removed
...
breakpoints.scm, behaviour.scm, trap-hooks.scm.
(SUBDIRS): Removed.
2005-07-09 14:58:47 +00:00
Neil Jerram
9f4f17587d
* debugger/commands.scm (assert-continuable, continue, finish,
...
trace-finish, step, next): Removed.
* debugger/breakpoints.scm: Removed.
* debugger/command-loop.scm: Remove command definitions for
continue, finish, trace-finish, step and next.
* debugger/behaviour.scm: Removed.
* debugger.scm (debug-stack): Remove GDS related code.
2005-07-09 14:53:50 +00:00
Han-Wen Nienhuys
8fecbb1900
* gc-card.c (scm_i_card_statistics): init tag.
...
* gc.c (tag_table_to_type_alist): check type of tag. Should be integer.
2005-07-01 12:34:58 +00:00
Han-Wen Nienhuys
fc9c5d0684
*** empty log message ***
2005-06-26 23:25:18 +00:00
Kevin Ryde
08fce816cb
*** empty log message ***
2005-06-24 21:54:15 +00:00
Kevin Ryde
8230ee411d
(scm_string_filter, scm_string_delete): Partial revert
...
last change, use plain copy-on-write substrings, the individual
descriptions in the srfi don't mention shared storage (only the
introduction does).
2005-06-24 21:53:10 +00:00
Kevin Ryde
48ddf0d9a9
(scm_take_locale_stringn): Use realloc to make room for
...
null-terminator, rather than mallocing a whole new block.
(scm_take_locale_string): Use scm_take_locale_stringn len==-1.
2005-06-24 21:43:36 +00:00
Kevin Ryde
9247329fe1
*** empty log message ***
2005-06-23 23:51:34 +00:00
Kevin Ryde
506def0e38
Tweak tail calls wording.
2005-06-23 23:47:32 +00:00
Kevin Ryde
bfc083ec6c
(Debugger options): Cross reference new Tail Calls
...
node rather than R5RS on tail recursion.
2005-06-23 23:40:23 +00:00
Kevin Ryde
c929c39d5d
*** empty log message ***
2005-06-23 00:11:37 +00:00