Dirk Herrmann
09074dbf9c
* Fix a bug in scm_eval.
2000-12-15 14:00:18 +00:00
Dirk Herrmann
a261c0e933
* Re-introduced most-positive-fixnum and most-negative-fixnum.
2000-12-14 00:08:56 +00:00
Dirk Herrmann
0f979f3fb6
* Renamed scm_symbols to symbols and made it static in symbols.c.
2000-12-13 11:38:30 +00:00
Dirk Herrmann
b52e071bc5
* The creation of symbols and bindings are two separate issues now.
2000-12-12 18:36:35 +00:00
Dirk Herrmann
a3fc3be99d
* Make the creation of bindings more straightforward.
2000-12-12 14:07:06 +00:00
Dirk Herrmann
ba3932579c
* Moved function scm_string_hash to hash.c.
2000-12-12 13:57:26 +00:00
Marius Vollmer
30eaf3ccd8
*** empty log message ***
2000-12-11 18:09:35 +00:00
Marius Vollmer
70f9533342
* gc_os_dep.c (scm_get_stack_base) [MSWIN32]: Added detection of
...
page size on the w32 architecture. Updated from Boehms gc5.2.
Thanks to Lars J. Aas!
2000-12-11 18:09:07 +00:00
Dirk Herrmann
85db4a2c8e
* Initialize symbols using SCM_(GLOBAL_)?SYMBOL instead of scm_sysintern...
...
* Use scm_str2symbol instead of scm_sysintern0.
* Garbage collection initialization code now within gc.c only.
2000-12-11 14:48:23 +00:00
Mikael Djurfeldt
24737ba02a
*** empty log message ***
2000-12-10 20:34:12 +00:00
Mikael Djurfeldt
e325b23886
* threads.h (SCM_MUTEXP): Typo: removed extra parenthesis.
2000-12-10 20:34:01 +00:00
Keisuke Nishida
e841c3e0c0
Smob-related creanup.
2000-12-08 17:32:56 +00:00
Dirk Herrmann
38ae064c6e
* Use scm_mem2symbol or scm_str2symbol to create symbol objects.
2000-12-08 17:08:34 +00:00
Dirk Herrmann
23ade5e759
* New functions: scm_str2symbol, scm_mem2symbol
2000-12-08 16:32:36 +00:00
Dirk Herrmann
93d40df216
* Guile does not assume a hash table size of scm_symhash_dim any more.
2000-12-08 13:41:56 +00:00
Dirk Herrmann
23670993da
* Undid my last patch and added a comment why it was unnecessary.
2000-12-07 13:46:33 +00:00
Keisuke Nishida
7c58e21b08
Deprecated scm_make_smob_type_mfpe and scm_set_smob_mfpe.
...
Some optimization on applicable smobs. (Thanks to Dirk Herrmann)
2000-12-07 12:04:48 +00:00
Keisuke Nishida
68b069240f
Some cleanup on smob calls.
2000-12-07 07:10:26 +00:00
Keisuke Nishida
cb1c46c57e
Improved smob calls.
2000-12-07 00:55:12 +00:00
Dirk Herrmann
73369d6744
* Fixed: gc_async must be protected from gc.
2000-12-06 17:11:46 +00:00
Dirk Herrmann
78573619d0
* No binding is created for %gc-thunk any more.
2000-12-06 16:42:16 +00:00
Dirk Herrmann
a4bb4e6d09
* Various minor cleanups.
2000-12-06 16:24:00 +00:00
Dirk Herrmann
fd3363659b
* eval.c: remove commented code, remove #ifdef CCLO conditionals
...
* remove uses of older GC marking and cell accessing macros
2000-12-06 15:16:59 +00:00
Dirk Herrmann
e34f941a3a
* Use scm_tc3_* codes instead of hardcoded values.
2000-12-05 14:07:03 +00:00
Dirk Herrmann
01449aa511
* Changed guardian representation to applicable smob.
...
* Improved error reporting for dynamic loading.
2000-12-05 03:04:20 +00:00
Dirk Herrmann
362306b956
* Minor cleanup/optimization for char=?.
...
* Cleanup CCLO handling.
2000-12-04 17:19:35 +00:00
Dirk Herrmann
8c921d5c8d
* Eliminate hard-coded value of scm_tc7_smob.
2000-12-04 16:31:03 +00:00
Dirk Herrmann
79a3dafe67
* Added scm_c_memq as a fast C level alternative for scm_memq.
2000-12-01 17:57:42 +00:00
Dirk Herrmann
23437298cc
* Started goops cleanup.
2000-12-01 16:05:33 +00:00
Dirk Herrmann
21e8f468cf
* coop-threads.c: Don't join finished threads. Thanks to Julian Satchell.
...
* coop.c: Removed old non-working code.
2000-11-30 10:26:44 +00:00
Dirk Herrmann
2b7b76d505
* Removed outdated comment.
2000-11-28 18:22:23 +00:00
Dirk Herrmann
e51fe79c72
* Removed SCM_SYMBOL_UCHARS.
2000-11-28 16:37:40 +00:00
Gary Houston
ce21243418
* reimplementation of values, call-with-values as primitives:
...
* values.c, values.h: new files. use a struct to contain multiple
values, similar to the previous Scheme-level implementation.
* Makefile.am: add values.c, values.h, values.x.
* continuations.c (continuation_apply): support R5RS multiple value
continuations.
* init.c: call scm_init_values.
* struct.h: define SCM_SET_STRUCT_PRINTER.
2000-11-26 18:27:49 +00:00
Gary Houston
5f144b105d
* use an applicable SMOB to represent continuations, instead of a
...
custom tc7 type. This will make it easier to support R5RS
multiple value continuations, without the use of a Scheme-level
wrapper.
* continuations.c (scm_tc16_continuation, continuation_mark,
continuation_free, continuation_print, continuation_apply):
new SMOB support.
(scm_make_continuation): new procedure, replaces scm_make_cont
with a different interface.
(copy_stack_and_call, scm_dynthrow, scm_init_continuations): rewritten.
(CHEAP_CONTINUATIONS): removed non-working code completely.
(scm_call_continuation): removed.
* continuations.h (struct scm_contregs): add num_stack_items and
stack fields. previously stack was stored following this struct:
use a tail array instead.
(SCM_CONTINUATIONP): new macro.
(SCM_CONTINUATION_LENGTH, SCM_SET_CONTINUATION_LENGTH):
rewritten.
(SCM_SET_CONTREGS): removed.
* tags.h: removed scm_tc7_contin (was tag 61).
* debug.c, gc.c, hash.c, print.c, procprop.c, procs.c:
removed scm_tc7_contin support.
* eval.c: use scm_make_continuation instead of scm_make_cont.
don't set jump buffers here. remove scm_tc7_contin support.
* init.c, root.c: create SMOB continuation for rootcont instead
of scm_tc7_contin. call scm_init_continuations before
scm_init_root.
* root.c: remove support for static jmpbuf. It's not used by
default and I broke it. create SMOB continuation for rootcont.
* stacks.c: use SCM_CONTINUATIONP.
2000-11-25 16:58:25 +00:00
Dirk Herrmann
7f555fb4ed
* Fix previous change (thanks to Matthias Koeppe).
2000-11-24 14:43:41 +00:00
Dirk Herrmann
ca83b028dc
* Goops does not provide its own version of logand any more.
...
* Removed use of deprecated stuff from goops.
2000-11-24 10:55:23 +00:00
Dirk Herrmann
5b9eb8ae16
* Deprecated SCM_LENGTH_MAX.
2000-11-23 15:26:24 +00:00
Dirk Herrmann
6a0476fd11
* SCM_SETCHARS deprecated.
2000-11-23 13:54:49 +00:00
Dirk Herrmann
9377887701
* Deprecated SCM_SETLENGTH.
2000-11-23 08:59:22 +00:00
Dirk Herrmann
d7cf432578
* Added SCM_SET_CONTINUATION_LENGTH to replace SCM_SETLENGTH.
2000-11-22 15:36:58 +00:00
Dirk Herrmann
bc0eaf7b78
* Added SCM_SET_VECTOR_LENGTH as one replacement for SCM_SETLENGTH.
2000-11-22 14:45:41 +00:00
Dirk Herrmann
34f0f2b8af
* Deprecated macros SCM_ROCHARS and SCM_ROUCHARS.
2000-11-22 11:20:03 +00:00
Dirk Herrmann
395d8627b9
* This patch belongs to the previous one, it deprecates SCM_VALIDATE_RWSTRING.
2000-11-22 09:16:06 +00:00
Dirk Herrmann
f0942910af
* Deprecated SCM_RWSTRINGP and SCM_VALIDATE_RWSTRING.
...
* Prepared SCM_STRING_U?CHARS to replace SCM_ROU?CHARS.
2000-11-21 17:32:38 +00:00
Gary Houston
fc40e1fd21
* Makefile.am (.c.x): don't prefix ".:" to $PATH when running
...
guile-doc-snarf. it doesn't seem to do anything useful, but would
fail if $PATH contained whitespace. Thanks to Lars J. Aas.
2000-11-18 22:18:03 +00:00
Marius Vollmer
8dc9439fc6
* alist.c, arbiters.c, async.c, backtrace.c, boolean.c, chars.c,
...
continuations.c, debug-malloc.c, debug.c, dynl.c, dynwind.c,
environments.c, eq.c, error.c, eval.c, evalext.c, feature.c,
filesys.c, fluids.c, fports.c, gc.c, goops.c, guardians.c, hash.c,
hashtab.c, hooks.c, ioext.c, iselect.c, keywords.c, lang.c,
list.c, load.c, macros.c, modules.c, net_db.c, numbers.c,
objects.c, objprop.c, options.c, pairs.c, ports.c, posix.c,
print.c, procprop.c, procs.c, properties.c, ramap.c, random.c,
read.c, regex-posix.c, root.c, scmsigs.c, script.c, simpos.c,
socket.c, sort.c, srcprop.c, stackchk.c, stacks.c, stime.c,
strings.c, strop.c, strorder.c, strports.c, struct.c, symbols.c,
tag.c, threads.c, throw.c, unif.c, variable.c, vectors.c,
version.c, vports.c, weaks.c: Makes sure the snarfer output
inclusion is disabled when the snarfer is run on the file. Thanks
to Lars J. Aas!
* Makefile.am: Install guile-procedures.txt in version-specific
directory to enable multiple installed guile versions. Suggested
by Karl M. Hegbloom <karlheg@debian.org, patch by Matthias Koeppe.
2000-11-17 16:25:05 +00:00
Gary Houston
6b72ac1d10
* fports.c: include gc.h.
...
(fport_flush, fport_close): silently ignore I/O errors when
closing a port during gc. it's better than aborting in scm_error.
* throw.c (scm_handle_by_message): remove obsolete comment.
2000-11-13 23:16:38 +00:00
Gary Houston
9f561420d3
* fports.c (scm_open_file): fix the 'b' option. Thanks
...
to George Caswell.
2000-11-12 12:20:52 +00:00
Gary Houston
b875c46853
2000-11-09 Gary Houston <ghouston@arglist.com>
...
* ports.c, ports.h (scm_close_all_ports_except): deprecated.
use port-for-each. Updated its docstring.
2000-11-09 22:44:09 +00:00
Gary Houston
34526073e8
*** empty log message ***
2000-11-07 22:42:35 +00:00