1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-04 05:50:26 +02:00
Commit graph

5705 commits

Author SHA1 Message Date
Dirk Herrmann
b24b5e13bf * Get rid of calls to SCM_ROSTRINGP.
* Fix some string/symbol output problems with regards to substrings.
* Fix error output to prefer procedure name parameters over stack data.
* Use SCM_(SET_)?FILENAME where appropriate.
* Prefer calling scm_remember over scm_protect/unprotect_object calls.
2000-11-02 10:36:31 +00:00
Dirk Herrmann
66460dfba3 * environments.c: Don't use '==' to compare SCM objects.
* posix.c (scm_getgroups):  Don't create a redundant string object.
2000-11-01 17:55:41 +00:00
Dirk Herrmann
0f87853a56 * Don't recompute symbol hash values. The symbol holds them already.
* Speed up interning of symbols by comparing hash values.
2000-11-01 16:59:45 +00:00
Dirk Herrmann
709a308dfc * Fix output. Thanks to I. N. Golubev for the patch. 2000-11-01 16:13:38 +00:00
Dirk Herrmann
f304437e70 * string=? requires a string argument. Thanks to Dale P. Smith. 2000-11-01 09:37:30 +00:00
Dirk Herrmann
a3a329390f * Remove the code that implemented the SCM_HUGE_LENGTH trick. 2000-10-30 17:47:52 +00:00
Dirk Herrmann
b3b8952a94 * Reflect the fact that string=? is fixed in the test-suite. 2000-10-30 17:32:55 +00:00
Dirk Herrmann
a6d9e5abe5 * Change a couple of functions to accept either symbols or strings only.
* Get rid of remainig uses of SCM_LENGTH etc.
2000-10-30 11:42:26 +00:00
Dirk Herrmann
e9bfab50e4 * String comparison functions don't accept symbols as arguments any more.
* Added macro SCM_STRING_COERCE_0TERMINATION_X.
2000-10-26 18:18:28 +00:00
Mikael Djurfeldt
c6c2ea9fa8 *** empty log message *** 2000-10-25 16:06:09 +00:00
Mikael Djurfeldt
4b5d86e033 * mop.text: Preliminary documentation of the GOOPS meta object
protocol.
2000-10-25 16:05:11 +00:00
Mikael Djurfeldt
f4553de8f8 *** empty log message *** 2000-10-25 15:51:29 +00:00
Mikael Djurfeldt
42b586db77 * goops.h: Renamed class --> cls, new --> newinst in order to accomodate
C++.
2000-10-25 15:51:06 +00:00
Mikael Djurfeldt
14f1d9fec8 *** empty log message *** 2000-10-25 14:51:33 +00:00
Mikael Djurfeldt
5e8904311f * goops.c, objects.c, objects.h, eval.c (scm_make_extended_class,
scm_make_port_classes, scm_change_object_class,
scm_memoize_method): Changed to ordinary functions (was plugin
slots).
2000-10-25 14:50:28 +00:00
Mikael Djurfeldt
acfee8e1d0 * init.c (scm_init_guile_1): Call the goops module registration
function.
Added #include "libguile/goops.h".
2000-10-25 14:49:56 +00:00
Mikael Djurfeldt
0518d3e277 * goops.h: Removed various superfluous conditions. 2000-10-25 14:49:47 +00:00
Mikael Djurfeldt
80662edab3 * goops.c, objects.c, objects.h, eval.c (scm_make_extended_class,
scm_make_port_classes, scm_change_object_class,
scm_memoize_method): Changed to ordinary functions (was plugin
slots).

* goops.c (wrap_init, scm_wrap_object): Unconditionally use
SCM_STRUCT_GC_CHAIN.
(scm_goops_version): Removed.
(scm_oldfmt): and all uses of it: Removed.
(scm_shared_array_root, scm_shared_array_offset,
scm_shared_array_increments): Removed.
(scm_init_goops): No need to support two arg mutex init.
Removed #include "versiondat.h", #include "goops.h".
2000-10-25 14:49:31 +00:00
Mikael Djurfeldt
5a35577551 * Makefile.am (libguile_la_SOURCES): Added goops.c
(DOT_X_FILES): Added goops.x
(DOT_DOC_FILES): Added goops.doc
(modinclude_HEADERS): Added goops.h
2000-10-25 14:49:00 +00:00
Mikael Djurfeldt
fdd70ea97c * GUILE-VERSION (LIBGUILE_MAJOR_VERSION): Incremented major
version number to 10 due to the merge of GOOPS.
2000-10-25 14:44:42 +00:00
Dirk Herrmann
1b9be268c8 * Deprecated scm_vector_set_length_x.
* Zero length vectors do not allocate dummy memory any more.
2000-10-25 12:58:51 +00:00
Dirk Herrmann
c7ec8671f8 * Forgot to check this in with the last bunch of files. 2000-10-25 11:13:15 +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
Marius Vollmer
31535422f5 Corrected "Brat" to "Brad". Sorry. 2000-10-24 20:37:00 +00:00
Marius Vollmer
f8fa3e387c *** empty log message *** 2000-10-20 00:32:00 +00:00
Marius Vollmer
612a55e5e3 * init.c (scm_init_guile_1, invoke_main_func): Call
scm_load_startup_files in scm_init_guile_1, not in
invoke_main_func.
2000-10-20 00:31:29 +00:00
Marius Vollmer
c6ba6ce6e3 *** empty log message *** 2000-10-18 21:06:21 +00:00
Marius Vollmer
5264d62116 * print.c (grow_ref_stack): Pass a INUM to scm_make_vector as the
size, not a naked int.  Thanks to Brat Knotwell!
2000-10-18 21:05:57 +00:00
Marius Vollmer
0100535b2c *** empty log message *** 2000-10-18 18:28:19 +00:00
Marius Vollmer
a3487916d0 * gc_os_dep.c (GC_noop1, GC_bool, TRUE, FALSE, VOLATILE):
Definitions copied from Boehm collector.
2000-10-18 18:27:55 +00:00
Neil Jerram
b4ad0dda06 * Fix typos in optargs.scm. 2000-10-15 22:33:06 +00:00
Dirk Herrmann
daa6ba187b * Deprecated scm_sloppy_mem(q|v|ber) 2000-10-13 07:55:25 +00:00
Dirk Herrmann
a8a11001f9 * Fixed include file problem reported by Bruce Korb. 2000-10-12 07:59:02 +00:00
Marius Vollmer
66ca939218 *** empty log message *** 2000-10-11 19:28:52 +00:00
Marius Vollmer
155415a56d * gc_os_dep.c: Added real implementation based on code from Boehms
collector.  This is not well tested yet.
2000-10-11 19:23:52 +00:00
Marius Vollmer
ec009b22a9 * gc.h (scm_get_stack_base): Added prototype.
* init.c (scm_get_stack_base): Removed prototype.
2000-10-11 19:22:06 +00:00
Marius Vollmer
9208204554 * gc.h (scm_get_stack_base): Added prototype. 2000-10-11 19:20:14 +00:00
Dirk Herrmann
b7ead2aee2 * Replace calls to SCM_LENGTH. 2000-10-11 14:12:26 +00:00
Dirk Herrmann
b226e5f658 * Replace some SCM_LENGTH macros. 2000-10-11 12:50:53 +00:00
Dirk Herrmann
74014c46ff * Replaced some calls to SCM_LENGTH.
* Use scm_uniform_vector_length to determine lengths generically.
* Eliminate some dummy type dispatch code.
* Fix an array access but in scm_ra2contig.
2000-10-11 12:24:43 +00:00
Dirk Herrmann
b5c2579a34 * Removed further calls to SCM_LENGTH. 2000-10-10 09:22:31 +00:00
Dirk Herrmann
4adc302894 * Fixed apropos: regexp-exec does not accept symbol arguments any more. 2000-10-10 07:32:45 +00:00
Dirk Herrmann
9fd38a3d14 * Made some functions not accept symbols as input parameters any more.
* Replaced some calls to SCM_LENGTH.
2000-10-09 16:27:24 +00:00
Dirk Herrmann
bfa974f0a4 * Replace a bunch of calls to SCM_LENGTH. 2000-10-09 14:37:36 +00:00
Dirk Herrmann
b17004b806 * Eliminate last call to scm_vector_set_length_x within libguile. 2000-10-09 12:39:14 +00:00
Dirk Herrmann
aa3188a7d9 * Eliminate previously introduced redundant string copying. 2000-10-09 09:54:28 +00:00
Dirk Herrmann
94115ae385 * Don't call scm_vector_set_length_x for non-vector arguments. 2000-10-06 16:51:08 +00:00
Dirk Herrmann
2d349e67ac * Added type-specific replacement macros for SCM_LENGTH. 2000-10-06 13:35:58 +00:00
Marius Vollmer
4fd03f4339 *** empty log message *** 2000-10-02 21:33:38 +00:00
Marius Vollmer
817e55b939 * coop-defs.h (coop_key_create): Don't use the C++ keyword
`destructor' in prototype.  Thanks to Martin Baulig!
2000-10-02 21:32:57 +00:00