Marius Vollmer
c0227bcdb0
(build_class_class_slots): Removed vcell slot definition.
2001-07-29 20:46:37 +00:00
Marius Vollmer
7895b092c4
Renumbered slot indices. (SCM_CLASS_CLASS_LAYOUT):
...
Removed vcell slot layout code.
(scm_si_vcell): Removed.
2001-07-29 20:46:23 +00:00
Marius Vollmer
e93854046b
(scm_si_redefined, scm_si_hashsets): Renumbered.
2001-07-29 20:43:05 +00:00
Marius Vollmer
6902384eb9
(scm_struct_vtable_p): Do not check vcell slot for zero. Use
...
scm_vtable_index_layout instead of "0" when accessing said slot.
(scm_init_struct): Remove vcell slot layout code from
required_vtable_fields.
2001-07-29 20:42:06 +00:00
Marius Vollmer
7866776ca0
(scm_vtable_index_vcell): Removed. Renumbered subsequent indices.
2001-07-29 20:39:38 +00:00
Marius Vollmer
a0f5718e15
*** empty log message ***
2001-07-26 21:40:52 +00:00
Marius Vollmer
904a077df1
* tags.h: Update tag system docs.
...
(scm_tc3_cons_gloc): Renamed to scm_tc3_struct. Changed all uses.
(scm_tcs_cons_gloc): Renamed to scm_tcs_struct. Changed all uses.
(SCM_ECONSP, SCM_NECONSP): Removed. Changed all uses to SCM_CONSP
or SCM_NCONSP, respectively.
* struct.c, struct.h, srcprop.c, procs.c, procprop.c, print.c,
objects.c. modules.c, goops.c, eval.c, debug.c: Changed all uses
of scm_tc3_cond_gloc and scm_tcs_cons_gloc. See above.
* print.c (scm_iprin1): Remove printing of glocs. Do not try to
tell glocs from structs.
* gc.c (scm_gc_mark, scm_gc_sweep): Remove handling of glocs.
* eval.c (scm_m_atbind): Make a list of variables, not glocs.
(scm_ceval, scm_deval): For SCM_IM_BIND, fiddle with variables
instead of with glocs.
(EVALCAR): Do not test for glocs.
(scm_lookupcar, scm_lookupcar1): Do not handle glocs in race
condition.
(scm_unmemocar): Do not handle glocs.
(scm_m_atfop): Memoize as a variable, not as a gloc.
(scm_eval_args, scm_deval_args): Do not handle glocs.
(scm_ceval, scm_deval): Likewise.
* eval.h (SCM_XEVALCAR): Do not test for glocs.
(SCM_GLOC_VAR, SCM_GLOC_VAL, SCM_GLOC_SET_VAL, SCM_GLOC_VAL_LOC):
Removed.
* debug.h, debug.c (scm_make_gloc, scm_gloc_p): Removed.
* dynwind.c (scm_swap_bindings): Likewise.
(scm_dowinds): Updated to recognize lists of variables instead of
lists of glocs.
* __scm.h (SCM_CAUTIOS, SCM_RECKLESS): Update comments.
2001-07-26 21:40:18 +00:00
Marius Vollmer
5b54c4daa1
*** empty log message ***
2001-07-26 16:58:55 +00:00
Marius Vollmer
d315ea8ccc
(GC_noop1): Moved into the same #if/#endif context where it is needed.
2001-07-26 16:58:30 +00:00
Gary Houston
3c3db1289a
* numbers.c (scm_logand, scm_logior, scm_logxor): adjusted the
...
docstrings to reflect the n-ary implementation.
2001-07-25 22:37:05 +00:00
Marius Vollmer
dd29a16921
*** empty log message ***
2001-07-25 22:01:50 +00:00
Marius Vollmer
a130e9829b
(scm_ceval, scm_deval): Use "RETURN" macro when returning value of a
...
variable, not the plain "return" statement.
2001-07-25 22:01:27 +00:00
Marius Vollmer
f5fe6c2f7e
*** empty log message ***
2001-07-25 21:03:59 +00:00
Marius Vollmer
d22a0ea164
Allow variables in memoized code (in addition to glocs).
...
(scm_lookupcar): Handle variables in lost races. Replace symbol
with variable directly, do not make a gloc.
(scm_unmemocar): Rewrite variables using a reverse lookup, just
like glocs.
(scm_ceval, scm_deval): Deal with variables in SCM_IM_SET and in
the main switch.
2001-07-25 21:03:28 +00:00
Marius Vollmer
6d9ad98a17
*** empty log message ***
2001-07-25 15:33:03 +00:00
Marius Vollmer
2b1d120cd7
* variable.c (scm_i_variable_print): Use "value" instead of
...
"binding" since a binding is the mapping between symbols and
variables, not between variables and their values.
2001-07-25 15:32:30 +00:00
Marius Vollmer
ee0c7345a9
*** empty log message ***
2001-07-25 15:32:20 +00:00
Marius Vollmer
dbf5dfb3c1
* variable.h (scm_tc16_variable): Removed.
...
(SCM_VARIABLEP): Test for new tc7 code.
(scm_i_variable_print): New.
* variable.c (scm_tc16_variable): Removed.
(variable_print): Renamed to scm_i_variable_print and made
non-static.
(variable_equal_p): Removed.
(make_variable): Construct a tc7 object instead of a smob.
(scm_init_variable): Do not register smob.
2001-07-25 15:28:07 +00:00
Marius Vollmer
e5aca4b5c4
* tags.h (scm_tc7_variable): New.
...
* gc.c (scm_gc_mark): Handle scm_tc7_variable objects.
* print.c (scm_iprin1): Likewise.
2001-07-25 15:22:53 +00:00
Marius Vollmer
f3805ebb7c
*** empty log message ***
2001-07-22 18:31:11 +00:00
Marius Vollmer
24d1fde84c
* tags.h (SCM_UNBOUND): Make it the 34th isym/iflag, the 33th slot is
...
taken by the new SCM_IM_CALL_WITH_VALUES.
* print.c (scm_isymnames): Update table accordingly.
2001-07-22 18:30:36 +00:00
Marius Vollmer
cda36c2356
* tags.h: Include inttypes.h when we have it.
...
* tags.h (SCM_UNBOUND): Make it the 34th isym/iflag, the 33th slot is
taken by the new SCM_IM_CALL_WITH_VALUES.
* print.c (scm_isymnames): Update table accordingly.
2001-07-22 18:30:08 +00:00
Gary Houston
6a1677a396
* regex-posix.c (s_scm_regexp_exec): use scm_long2num not
...
SCM_MAKINUM to convert regoff_t value to SCM.
2001-07-22 12:49:02 +00:00
Gary Houston
1bed8c28a2
* scmsigs.c: include sys/time.h for itimer stuff.
2001-07-21 21:11:16 +00:00
Martin Grabmüller
58ade1022c
* alist.c, arbiters.c, async.h, backtrace.h, boolean.c, chars.c,
...
chars.h, continuations.h, debug-malloc.h, dynl.c, feature.c,
feature.h, filesys.h, fluids.h, fports.h, gc_os_dep.c,
gdb_interface.h, gh_eval.c, gh_funcs.c, gh_io.c, gh_list.c,
gh_predicates.c, gsubr.c, gsubr.h, guardians.h,
guile-func-name-check.in, guile-snarf-docs-texi.in,
guile-snarf-docs.in, guile-snarf.awk.in, guile-snarf.in,
hashtab.h, iselect.h, keywords.h, lang.c, list.h, load.h,
objprop.c, objprop.h, options.c, options.h, random.h,
regex-posix.h, root.c, root.h, script.c, snarf.h, stackchk.c,
strerror.c, strop.h, strports.h, threads.h, values.c, values.h,
version.c, version.h: Updated copyright notice.
2001-07-19 21:08:49 +00:00
Rob Browning
e658215a98
*** empty log message ***
2001-07-19 17:47:08 +00:00
Rob Browning
e80bea704d
* c-tokenize.lex: add option %nounput to quiet warning.
...
Add prototype for yylex to quiet warning.
2001-07-19 17:45:01 +00:00
Rob Browning
f28108ee14
* gc_os_dep.c (GC_noop1): ifdef out (unused) to quiet warning.
2001-07-19 17:43:34 +00:00
Rob Browning
53f8a0d20e
* scmsigs.c (s_scm_setitimer): new function.
...
(s_scm_setitimer): new function.
2001-07-19 17:43:22 +00:00
Rob Browning
7bcbb3f235
* scmsigs.h (scm_init_scmsigs): new prototype.
...
(scm_init_scmsigs): new prototype.
2001-07-19 17:43:14 +00:00
Dirk Herrmann
6b80d35202
* A couple of minor cleanups.
2001-07-18 10:14:29 +00:00
Dirk Herrmann
63bcad1964
* Minor changes.
2001-07-16 10:22:38 +00:00
Michael Livshin
4d6aae7183
* strings.c (s_scm_string): fix arg position in assert.
2001-07-11 22:14:11 +00:00
Gary Houston
4b8ec61962
* strports.c (st_write): use memcpy, not strncpy. thanks to
...
Dale P. Smith.
2001-07-11 17:37:53 +00:00
Thien-Thi Nguyen
dbb640bd08
*** empty log message ***
2001-07-09 07:43:48 +00:00
Thien-Thi Nguyen
a06e3a75b2
Remove "face-lift" comment.
2001-07-09 07:36:48 +00:00
Rob Browning
fd6c6321d9
*** empty log message ***
2001-07-08 19:17:17 +00:00
Rob Browning
d6c0a9e00d
* .cvsignore: add stamp-h.in.
2001-07-08 19:17:05 +00:00
Martin Grabmüller
f91e4547f4
* hooks.c (scm_make_hook, scm_add_hook_x),
...
(scm_remove_hook_x, scm_reset_hook_x, scm_run_hook): Added return
value info to the docstrings.
2001-07-04 06:13:10 +00:00
Martin Grabmüller
7beabedb0a
* posix.c (getlogin): getlogin() implementation for Windows.
...
* backtrace.c, ioext.c: Include <stdio.h>.
* unif.c, script.c, rw.c, error.c: Include <io.h>, if it does
exist.
* cpp_sig_symbols.in: Added SIGBREAK.
2001-07-03 15:27:56 +00:00
Marius Vollmer
0d0560d04a
*** empty log message ***
2001-07-01 11:58:22 +00:00
Marius Vollmer
71c9d8eb3b
(scm_read_0str, scm_eval_0str): Call scm_c_read_string and
...
scm_c_eval_string respectively, not themselves. Thanks to Dale
P. Smith!
2001-07-01 11:57:56 +00:00
Dirk Herrmann
9a97e36281
* Fixed a bug in array-set! plus some minor cleanup.
2001-06-30 19:56:57 +00:00
Dirk Herrmann
592996c9ee
* Fixed some signedness issues.
...
* Added conservative marking for the contents of free or allocated cells.
* Changed the representation of weak vectors to use double cells.
* Minor stuff.
2001-06-30 19:50:10 +00:00
Thien-Thi Nguyen
4dadf664c6
*** empty log message ***
2001-06-30 06:58:08 +00:00
Thien-Thi Nguyen
375d34c0f5
bye bye
2001-06-30 06:56:43 +00:00
Marius Vollmer
0220235284
*** empty log message ***
2001-06-29 23:14:25 +00:00
Marius Vollmer
2dc6875df5
(gh_eval_str): Use scm_c_eval_string instead of scm_eval_0str.
2001-06-29 23:14:07 +00:00
Marius Vollmer
c519b27251
(scm_c_primitive_load,
...
scm_c_primitive_load_path): New.
2001-06-29 23:13:43 +00:00
Marius Vollmer
ca13a04a26
(scm_c_read_string): Renamed from
...
scm_read_0str. Also, added "const" qualifier to argument.
(scm_c_eval_string): Renamed from scm_eval_0str.
(scm_read_0str, scm_eval_0str): Deprecated.
2001-06-29 23:13:14 +00:00