Marius Vollmer
86d31dfe7d
Merge from mvo-vcell-cleanup-1-branch.
2001-05-15 14:57:22 +00:00
Dirk Herrmann
726d810a75
* Fixed scm_thunk_p's results when applied to closures.
...
* Extracted macro printing code from print.c to macros.c.
* Minor cleanups.
2001-04-19 14:46:01 +00:00
Mikael Djurfeldt
508ded1cdb
* init.c, goops.c: Reverted change of 2001-03-29. (The goops
...
module should be registered in order to work for an application
which uses libguile statically linked.)
2001-04-11 02:09:35 +00:00
Keisuke Nishida
1b27e91a9b
* goops.c, goops.h (scm_init_oop_goops_goopscore_module): Deprecated.
...
* init.c (scm_init_guile_1): Don't init goopscore module.
2001-03-30 02:50:38 +00:00
Martin Grabmüller
5352393c55
* list.c (scm_list, scm_cons_star, scm_null_p, scm_list_p),
...
(scm_length, scm_append, scm_reverse, scm_list_ref),
(scm_memq, scm_memv, scm_member, scm_delv_x, scm_delete_x),
(scm_delq, scm_delv, scm_delete, scm_delq1_x, scm_delv1_x),
(scm_delete1_x), gc.c (scm_map_free_list),
(scm_free_list_length), hash.c (scm_hashq, scm_hashv),
(scm_hash), hashtab.c (scm_hashq_ref, scm_hashq_set_x),
(scm_hashq_remove_x, scm_hashv_ref, scm_hashv_set_x),
(scm_hashv_remove_x, scm_hash_ref, scm_hash_set_x),
(scm_hash_remove_x), ports.c (scm_pt_size, scm_pt_member), print.c
(scm_current_pstate), scmsigs.c (scm_usleep), goops.c
(scm_get_keyword, scm_sys_compute_slots): Added texinfo markup.
* weaks.c (scm_weak_vector_p, scm_weak_key_hash_table_p),
(scm_weak_value_hash_table_p, scm_doubly_weak_hash_table_p),
rdelim.c (scm_read_delimited_x), strop.c (scm_string_index),
symbols.c (scm_symbol_interned_p), numbers.c
(scm_string_to_number), ports.c (scm_port_p): Corrected texinfo
markup.
2001-03-16 10:00:17 +00:00
Dirk Herrmann
160bb34a53
* Removed unused object parameter from SCM_ASSYNT.
2001-03-15 09:50:20 +00:00
Dirk Herrmann
e11208ca72
* Cleaned up uses and definition of SCM_ASSYNT.
2001-03-12 14:34:44 +00:00
Mikael Djurfeldt
5e03762c12
* goops.c, goops.h (scm_sys_pre_expand_closure_x): Removed.
...
(scm_sys_tag_body): Added.
2001-03-04 20:46:04 +00:00
Dirk Herrmann
db4b4ca64f
* Eliminate some calls to scm_wta.
2001-03-04 17:09:34 +00:00
Mikael Djurfeldt
87e7741df7
* goops.c (scm_sys_pre_expand_closure_x): New procedure.
2001-03-04 05:27:41 +00:00
Neil Jerram
27c3700636
* numbers.c (scm_two_doubles, scm_sys_expt, scm_sys_atan2,
...
scm_make_polar): Rename arguments `z1' and `z2' to `x' and `y',
since use of `z' suggests that the arguments may be complex.
* goops.c (scm_make), numbers.c (scm_sys_expt): Fix docstring
typos.
2001-02-24 23:46:04 +00:00
Marius Vollmer
0ba8a0a583
* goops.c (scm_add_method, DEFVAR): Use scm_eval instead of
...
scm_i_eval.
(make_class_from_template): Do not bother to set the current
module around the call to DEFVAR, scm_eval takes care of that.
(scm_init_goops): Make scm_module_goops and
scm_goops_lookup_closure permanent objects.
2001-02-22 20:53:55 +00:00
Martin Grabmüller
6bcefd15e3
(scm_sys_initialize_object, scm_instance_p, scm_class_name,
...
scm_class_precedence_list, scm_class_slots, scm_class_environment,
scm_generic_function_name, scm_generic_function_methods,
scm_method_generic_function, scm_method_specializers,
scm_method_procedure, scm_make_unbound, scm_unbound_p,
scm_assert_bound, scm_at_assert_bound_ref, scm_sys_fast_slot_ref,
scm_sys_fast_slot_set_x, scm_slot_ref, scm_slot_set_x,
_scm_slot_bound_p, scm_slots_exists_p, scm_sys_allocate_instance,
scm_make, scm_pure_generic_p, scm_class_direct_supers,
scm_class_direct_slots, scm_class_direct_subclasses,
scm_class_direct_methods, scm_accessor_method_slot_definition,
scm_sys_goops_loaded): Added docstrings.
2001-02-16 14:59:22 +00:00
Marius Vollmer
aa767bc58f
* modules.h (scm_selected_module, scm_current_module): Renamed
...
scm_selected_module to scm_current_module to synchronize Scheme
and C names.
(scm_select_module, scm_set_current_module): Likewise. Changed
all uses.
2001-02-08 18:49:52 +00:00
Keisuke Nishida
00ffa0e7d6
New functions: scm_c_make_vector, scm_c_make_hash_table.
2001-02-02 04:56:25 +00:00
Keisuke Nishida
b6311c0832
goops.c (s_scm_get_keyword): Bug fix.
2001-01-27 00:13:55 +00:00
Michael Livshin
322ec19d3c
* objects.h (SCM_SET_ENTITY_SETTER): new macro. SCM_ENTITY_SETTER
...
casts its result, so doesn't yield an lvalue per ANSI C.
* goops.c (s_scm_sys_set_object_setter_x): use
SCM_SET_ENTITY_SETTER.
(clear_method_cache): use SCM_SET_ENTITY_PROCEDURE.
* gc.h (SCM_GC_SET_CARD_BVEC): new macro. SCM_GC_CARD_BVEC casts
its result, so doesn't yield an lvalue per ANSI C.
(SCM_GC_SET_CARD_FLAGS): ditto for SCM_GC_GET_CARD_FLAGS.
(SCM_GC_CLR_CARD_FLAGS): redefined in terms of
SCM_GC_SET_CARD_FLAGS.
(SCM_GC_SET_CARD_FLAG, SCM_GC_CLR_CARD_FLAGS): ditto.
* gc.c (INIT_CARD): use the explicit setter macro to set the bvec.
2001-01-11 21:03:18 +00:00
Dirk Herrmann
25ba37dffa
* Simplify the use of SCM_PUREGENERICP.
2000-12-21 17:07:38 +00:00
Dirk Herrmann
c312aca735
* Remove some redundant SCM_N?IMP tests.
2000-12-18 17:36:44 +00:00
Keisuke Nishida
398d8ee17e
Some GOOPS cleanup.
2000-12-16 20:25:08 +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
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
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
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
Mikael Djurfeldt
55c4a13240
* goops.c (scm_sys_invalidate_method_cache_x): Don't convert
...
scm_si_n_specialized from fixnum and don't take absolute value.
(Thanks to Lars J. Aas.)
2000-11-07 02:17:58 +00:00
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
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