Marius Vollmer
86d31dfe7d
Merge from mvo-vcell-cleanup-1-branch.
2001-05-15 14:57:22 +00:00
Dirk Herrmann
1a55163887
* Removed an application of SCM_C[AD]R to non pairs.
2001-04-20 07:55:19 +00:00
Dirk Herrmann
e4b265d817
* Avoid redundant casting of argument numbers to char* and vice versa.
2001-04-10 07:57:05 +00:00
Martin Grabmüller
1e6808ea20
Correct, update, improve and clean up a lot of docstrings in order to make
...
the documentation much more consistent.
2001-04-03 13:19:05 +00:00
Keisuke Nishida
e0c08f17b1
Use SCM_LISTn instead of scm_listify.
2001-03-11 09:44:08 +00:00
Keisuke Nishida
783e777478
Remove #include <stdio.h>. Add #include <string.h>.
2001-03-09 23:33:41 +00:00
Dirk Herrmann
2ade72d773
* Remove uses of SCM_ASSERT that may result in error messages different
...
from wrong-type-arg errors.
2001-03-06 01:22:37 +00:00
Martin Grabmüller
942e5b9162
* vectors.c (s_scm_vector_p, list->vector, scm_vector)
...
(scm_vector_ref, scm_vector_set_x, scm_vector_to_list)
(scm_vector_fill_x), strorder.c (scm_string_equal_p)
(scm_string_ci_equal_p, scm_string_less_p, scm_string_leq_p)
(scm_string_gr_p, scm_string_geq_p, scm_string_ci_less_p)
(scm_string_ci_geq_p), symbols.c (scm_symbol_p)
(scm_symbol_to_string, scm_string_to_symbol): Changed use of @t{}
to @code{} as the texinfo manual recommends, converted the
examples to use a @lisp{}-environment.
* strports.c (scm_eval_string): Cleaned up the docstring.
* struct.c (scm_struct_p, scm_struct_vtable_p): Added texinfo
markup.
* numbers.c (scm_exact_p, scm_odd_p, scm_even_p)
(scm_number_to_string, scm_string_to_number, scm_number_p)
(scm_real_p, scm_integer_p, scm_inexact_p, scm_make_rectangular)
(scm_make_polar, scm_inexact_to_exact): Added texinfo markup.
(scm_ash): Added texinfo markup and removed obsolete @refill.
(scm_gr_p): Corrected comment.
(scm_gr_p, scm_leq_p, scm_geq_p): Added texinfo markup to (future
docstring) comments.
(scm_positive_p, scm_less_p, scm_num_eq_p, scm_real_p)
(scm_number_p, scm_negative_p, scm_max, scm_min, scm_sum)
(scm_difference, scm_product, scm_divide, scm_asinh, scm_acosh)
(scm_atanh, scm_truncate, scm_round, scm_exact_to_inexact)
(floor, ceiling, $sqrt, $abs, $exp, $log, $sin, $cos, $tan, $asin)
($acos, $atan, $sinh, $cosh, $tanh, scm_real_part, scm_imag_part)
(scm_magnitude, scm_angle, scm_abs, scm_quotient, scm_remainder)
(scm_modulo, scm_gcd, scm_lcm): Added (future docstring) comments.
2001-03-02 09:07:22 +00:00
Dirk Herrmann
e32398681a
* Added docstrings by Martin Grabmueller.
2001-01-30 14:53:20 +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
e51fe79c72
* Removed SCM_SYMBOL_UCHARS.
2000-11-28 16:37:40 +00:00
Dirk Herrmann
34f0f2b8af
* Deprecated macros SCM_ROCHARS and SCM_ROUCHARS.
2000-11-22 11:20: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
Dirk Herrmann
d1ca2c6423
* Some more work to get rid of SCM_LENGTH
...
* Eliminated some cell type bit fiddling
* Various minor changes
2000-10-25 11:01:03 +00:00
Dirk Herrmann
bfa974f0a4
* Replace a bunch of calls to SCM_LENGTH.
2000-10-09 14:37:36 +00:00
Dirk Herrmann
a002f1a2cb
* Replaced a lot of references to SCM_CHARS.
2000-09-26 18:37:26 +00:00
Neil Jerram
1bee0e70ca
* Fix docstring texinfo warnings.
2000-09-22 13:40:12 +00:00
Neil Jerram
6386e25c29
* Docstring updates for scm_make_struct and scm_make_vtable_vtable.
2000-09-02 23:17:23 +00:00
Mikael Djurfeldt
7c31152f99
* struct.c (scm_make_struct_layout): Removed reference to
...
"read-only string" in comment; Check that argument is a string.
(scm_make_vtable_vtable): Check that argument is a string.
2000-08-27 03:21:16 +00:00
Mikael Djurfeldt
08c880a367
* struct.c (scm_make_struct, scm_make_vtable_vtable): Structs
...
handles are now double cells; Initialize SCM_STRUCT_GC_CHAIN to
0.
(scm_struct_gc_init, scm_free_structs): New GC C hooks.
(scm_struct_prehistory): Install them.
2000-08-09 18:29:31 +00:00
Mikael Djurfeldt
29b4f9fb2c
*** empty log message ***
2000-08-02 06:48:28 +00:00
Mikael Djurfeldt
04323af4ad
* struct.c (scm_make_struct_layout, scm_make_struct,
...
scm_make_vtable_vtable): Updated documentation.
2000-08-02 06:34:51 +00:00
Dirk Herrmann
f762051048
* Fixed struct initialization.
2000-07-26 08:35:35 +00:00
Dirk Herrmann
af45e3b06a
* Unified some rest argument checking and handling.
2000-05-18 08:47:52 +00:00
Dirk Herrmann
f8de44c154
* numbers.c (scm_logtest, scm_division): Reordered dispatch sequence.
...
* removed calls to deprecated scm_makdbl.
2000-05-02 16:41:20 +00:00
Mikael Djurfeldt
a059974535
* Makefile.am (DEFS): Added. automake adds -I options to DEFS,
...
and we don't want that.
(INCLUDES): Removed all -I options except for the root source
directory and the root build directory.
* *.*: Change includes so that they always use the "prefixes"
libguile/, qt/, guile-readline/, or libltdl/.
(Thanks to Tim Mooney.)
2000-04-21 14:16:44 +00:00
Mikael Djurfeldt
cfe66b7276
* struct.c (scm_struct_free_light, scm_struct_free_standard,
...
scm_struct_free_entity): Use `scm_must_free' instead of `free'.
2000-04-19 03:28:21 +00:00
Dirk Herrmann
c8045e8dbd
* struct.c, struct.h: Struct data regions (and thus also vtable data regions)
...
are now C arrays of scm_bits_t elements.
* gc.c: Made the mixup of glocs and structs explicit.
2000-04-17 16:25:11 +00:00
Dirk Herrmann
d8c40b9f49
The struct data is now an array of scm_bits_t variables.
2000-04-12 01:19:49 +00:00
Dirk Herrmann
1c3e63f06d
The struct vtable data is now an array of scm_bits_t variables.
2000-04-11 22:36:55 +00:00
Dirk Herrmann
54778cd312
Lots of fixes to make guile (at some time) compile with strict typing.
2000-04-03 08:47:51 +00:00
Michael Livshin
89e00824a0
* *.[hc]: add Emacs magic at the end of file, to ensure GNU
...
indentation style.
2000-03-19 19:01:16 +00:00
Dirk Herrmann
7ab3fdd51f
Only include strings.h where it is actually needed.
2000-03-17 18:11:58 +00:00
Dirk Herrmann
f04d8caf82
Only include ports.h where it is actually needed.
2000-03-17 16:10:13 +00:00
Dirk Herrmann
0fa27efa4a
Removed empty file genio.h and references to it.
2000-03-17 13:37:33 +00:00
Mikael Djurfeldt
f12677062e
*** empty log message ***
2000-03-12 18:30:33 +00:00
Mikael Djurfeldt
4d45e7b69a
* stacks.c, stacks.h, struct.c, tags.h, unif.c (scm_bits_t):
...
Renamed from SCMWORD.
2000-03-12 17:52:18 +00:00
Mikael Djurfeldt
413cb56ff4
* async.c, boolean.h, debug.c, dynl.c, dynwind.c, eval.c, eval.h,
...
feature.h, filesys.h, fluids.h, fports.c, fports.h, gc.c, gc.h,
hash.c, keywords.h, macros.c, numbers.c, numbers.h, objects.c,
objects.h, options.c, pairs.h, ports.c, ports.h, print.c,
procs.h, ramap.c, read.c, smob.c, smob.h, srcprop.h, stacks.c,
stacks.h, strports.c, struct.c, struct.h, tag.c, tags.h,
throw.c, unif.c, unif.h, variable.h, vectors.h, weaks.c,
weaks.h (SCM_SCM, SCM_BITS, SCM_CARBITS): Renamed from
SCM_ASSCM, SCM_ASWORD, SCM_CARW).
2000-03-12 17:00:58 +00:00
Mikael Djurfeldt
8dee1541be
* alist.c, eval.c, net_db.c, posix.c, print.c, snarf.h, struct.c,
...
tags.h: Fixed copyright notices.
* struct.c, coop-threads.c: SCM_ASSCM/ASWORD fixes.
2000-03-12 16:09:46 +00:00
Greg J. Badros
c209c88e54
*.[ch]: make a distinction between SCM as a generic
...
name for a Scheme object (now a void*), and SCM as 32 bit word for
storing tags and immediates (now a long int). Introduced
SCM_ASWORD and SCM_ASSCM for conversion. Fixed various dubious
code in the process: arbiter.c (use macros), unif.c (scm_array_p),
2000-03-09 18:58:58 +00:00
Greg J. Badros
b6791b2e94
* error.h, error.c: Added `scm_wrong_type_arg_msg' to support
...
displaying the expected type. Use SCM_LISTn in a couple places
instead of scm_cons-ing by hand.
* __scm.h: Added SCM_ASSERT_TYPE macro.
* validate.h, scm_validate.h: Added the former, as a renamed
version of the latter with SCM_ASSERT_TYPE used in
SCM_MAKE_VALIDATE (instead of just SCM_ASSERT)
* Makefile.am: Rename scm_validate.h to validate.h.
* *.c, *.h: Include validate.h, not scm_validate.h (old name's
prefix was superfluous).
2000-03-03 00:09:54 +00:00
Greg J. Badros
7866a09b5b
* list.c: Moved append docs to append! Thanks Dirk Hermann. Also,
...
added append docs from R4RS.
* strings.c: Docstring typo fix, + eliminate unneeded IMP tests.
Thanks Dirk Hermann!
* chars.h: Provide SCM_CHARP, SCM_CHAR, SCM_MAKE_CHAR and
deprecate SCM_ICHRP, SCM_ICHR, SCM_MAKICHR. Thanks Dirk Hermann!
* *.h, *.c: Use SCM_CHARP, SCM_CHAR, SCM_MAKE_CHAR throughout.
Drop use of SCM_P for function prototypes... assume an ANSI C
compiler. Thanks Dirk Hermann!
2000-03-02 20:54:43 +00:00
Mikael Djurfeldt
b380b88547
* alist.c, chars.c, debug.c, dynl.c, dynwind.c, error.c, eval.c,
...
evalext.c, filesys.c, gc.c, hash.c, hashtab.c, ioext.c,
keywords.c, list.c, load.c, macros.c, net_db.c, numbers.c,
objprop.c, ports.c, posix.c, print.c, procprop.c, procs.c,
ramap.c, regex-posix.c, root.c, scmsigs.c, simpos.c, socket.c,
stacks.c, stime.c, strings.c, strop.c, strports.c, struct.c,
symbols.c, throw.c, unif.c, vectors.c, version.c, vports.c,
weaks.c: Converted docstrings to ANSI C format.
2000-01-18 11:24:03 +00:00
Greg J. Badros
3b3b36ddb7
* *.[ch]: Whitespace changes -- added space after SCM_VALIDATE_*
...
macros and SCM_DEFINE macros to match GNU coding standards.
2000-01-05 19:25:37 +00:00
Greg J. Badros
a1ec69163d
*.[ch]: Replace GUILE_PROC w/ SCM_DEFINE.
2000-01-05 19:05:23 +00:00
Greg J. Badros
47c6b75ea9
* *.[ch]: Replace SCM_VALIDATE_INT w/ SCM_VALIDATE_INUM for
...
better consistency with the names of other SCM_VALIDATE_ macros
and better conformance to guile naming policy.
2000-01-05 19:00:03 +00:00
Greg J. Badros
c751e5e3c3
* guile-snarf.awk.in: Do argument/number mismatch checking and
...
print warnings in an Emacs compile-mode parseable format.
* struct.c: Use SCM_ASSERT_RANGE instead of SCM_ASSERT w/
SCM_OUTOFRANGE as 3rd argument.
* random.c: Fix argument/number mismatch (that I introduced :-( ).
* __scm.h: Do not #define SCM_ARG* when snarfing;
lets us distinguish between 1 and SCM_ARG1 when snarfing as only
the former (using the number) requires the argument to match the
formal in the current argument snarfing check.
* ramap.c: Remove extraneous #undef FUNC_NAME.
2000-01-05 18:48:07 +00:00
Greg J. Badros
0c95b57d77
* coop-threads.c: Remove K&R function headers.
...
* scm_validate.h: Added SCM_VALIDATE_THREAD.
* *.c: Remove SCM_NIMP(X) when it is an extraneous pre-test given
that SCM_FOOP macros all now include SCM_NIMP in their expansion.
This simplifies lots of code, making it far more readable.
1999-12-16 20:48:05 +00:00
Greg J. Badros
4079f87ed2
* Makefile.am: Fix ETAGS_ARGS to recognize GUILE_PROC,
...
GUILE_PROC1. Build guile-procedures.txt, and add that file to
pkgdata_DATA.
* load.c: Added `pkgdata-dir', `site-dir', `library-dir'
primitives.
* guile-doc-snarf.awk: Drop trailing space when no arguments:
e.g., "(foo )" is now "(foo)".
* *.c: moved all the documentation for primitives from
guile-doc/ref/{appendices,posix,scheme}.texi into the source code.
This leaves about half of the primitives undocumented. Also, all
the markup is currently still texinfo. I don't have a problem
with texinfo per se, but the markup is not very descriptive or
accurate.
1999-12-13 03:40:23 +00:00
Greg J. Badros
717050c8d5
Remove leading whitespace before empty docstrings.
1999-12-13 00:44:10 +00:00