1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-11 16:20:19 +02:00
Commit graph

8995 commits

Author SHA1 Message Date
Rob Browning
a0a0613748 * Makefile.am (subpkgdatadir): VERSION -> GUILE_EFFECTIVE_VERSION. 2002-12-08 20:43:57 +00:00
Rob Browning
eff8b05efb * goops/Makefile.am (subpkgdatadir): VERSION ->
GUILE_EFFECTIVE_VERSION.
2002-12-08 20:43:44 +00:00
Rob Browning
b4c4a70a8b * Makefile.am (subpkgdatadir): VERSION -> GUILE_EFFECTIVE_VERSION.
* goops/Makefile.am (subpkgdatadir): VERSION ->
GUILE_EFFECTIVE_VERSION.
2002-12-08 20:43:37 +00:00
Rob Browning
76cc798fd5 * version.h.in (SCM_MICRO_VERSION): use @--@ substitution now.
(SCM_MINOR_VERSION): use @--@ substitution now.
(SCM_MICRO_VERSION): use @--@ substitution now.
(scm_effective_version): new function prototype.
2002-12-08 20:43:29 +00:00
Rob Browning
59c3c90cd5 * version.c (scm_effective_version): new function, also add
effective-version.
2002-12-08 20:43:22 +00:00
Rob Browning
00a727be55 * Makefile.am (schemelibdir): VERSION -> GUILE_EFFECTIVE_VERSION.
(libpath.h): use GUILE_EFFECTIVE_VERSION to compute
SCM_LIBRARY_DIR.
(version.h): generate this here rather than configure.in.  This
approach tracks source edits better (i.e. more immediately).
Might be worth considering for other .in files too.
2002-12-08 20:43:15 +00:00
Rob Browning
7821d45115 *** empty log message *** 2002-12-08 20:43:08 +00:00
Rob Browning
ccfedca7ee * Makefile.am (ice9dir): VERSION -> GUILE_EFFECTIVE_VERSION. 2002-12-08 20:42:26 +00:00
Rob Browning
bafb97c527 * scheme-options.texi (Build Config): add effective-version docs. 2002-12-08 20:42:11 +00:00
Rob Browning
cb21fca63e * configure.in (GUILE_EFFECTIVE_VERSION): AC_SUBST it.
(AC_CONFIG_FILES): separate out the files that need to be chmodded
at the end of config.status.  Our "default" approach using
AC_CONFIG_COMMANDS quit working (and would have needed to be
changed to AC_CONFIG_COMMANDS(,,CMDS) rather than our previous
AC_CONFIG_COMMANDS(default,CMDS), but I the new approach, using
per-file AC_CONFIG_FILES calls appears to be more "correct" in the
current autoconf docs.
2002-12-08 20:41:37 +00:00
Rob Browning
b12429b225 * GUILE-VERSION (GUILE_EFFECTIVE_VERSION): new variable. 2002-12-08 20:41:05 +00:00
Mikael Djurfeldt
abce330ced * threads.scm (par-map, par-for-each, parallel):
* documentation.scm (object-documentation): Added support for
defmacros.
2002-12-04 22:06:15 +00:00
Marius Vollmer
2ab05d7843 *** empty log message *** 2002-12-02 01:18:31 +00:00
Marius Vollmer
d9d40de4ac (srfiinclude_HEADERS): Added srfi-1.h. 2002-12-02 01:18:20 +00:00
Marius Vollmer
931b9657a0 Changes to the thread sections. 2002-12-02 01:04:28 +00:00
Marius Vollmer
5441c65c48 *** empty log message *** 2002-12-02 01:03:24 +00:00
Marius Vollmer
b2635f91b7 (SUBDIRS): Removed qt. 2002-12-02 01:03:10 +00:00
Marius Vollmer
18622c4e84 Do not configure QTHREADS. Do not define USE_COOP_THREADS. Changed
logic for thread package selection so that the default is
"coop-pthread" when -lpthread is found, "null" otherwise.
2002-12-02 01:02:46 +00:00
Marius Vollmer
1d798a004a (SCM_VALIDATE_THREAD): Moved to threads.h. 2002-12-02 01:00:50 +00:00
Marius Vollmer
d823b11b10 * threads.h: Do not include "libguile/coop-defs.h". Include
"libguile/pthread-threads.h" for USE_COPT_THREADS.  Removed
(previously deprecated) C level thread API prototypes.  They are
now in the thread package specific headers, "null-threads.h" and
"pthread-threads.h".
(SCM_VALIDATE_THREAD, SCM_VALIDATE_MUTEX, SCM_VALIDATE_CONDVAR):
New.
(scm_threads_init): Removed.
(SCM_CRITICAL_SECTION_START, SCM_CRITICAL_SECTION_END,
SCM_THREAD_SWITCHING_CODE, scm_i_switch_counter,
SCM_I_THREAD_SWITCH_COUNT): Define here.
(scm_single_thread_p): Removed.
(scm_call_with_new_thread): Take two args directly instead of list
of two args.
(scm_i_thread_data, scm_i_set_thread_data, SCM_THREAD_LOCAL_DATA,
SCM_SET_THREAD_LOCAL_DATA): Define here.

* threads.c: Merged with "coop-pthreads.c".
2002-12-02 01:00:41 +00:00
Marius Vollmer
eac85310c2 * pthread-threads.h: New, implement pthread-like API by deferring to
pthread itself.
2002-12-02 01:00:20 +00:00
Marius Vollmer
d035029382 * null-threads.h: Implement pthread-like API as a set of macros. 2002-12-02 00:59:27 +00:00
Marius Vollmer
340c49bf2c (libguile_la_SOURCES): Removed iselect.c.
(noinst_HEADERS): Removed coop-threads.c, coop-threads.h, coop.c,
null-threads.c, coop-pthreads.c.
(modinclude_HEADERS): Removed coop-defs.h, coop-pthreads.h.  Added
pthread-threads.h.
2002-12-02 00:58:42 +00:00
Marius Vollmer
aeb08e9b18 (scm_init_guile_1): Do not call scm_init_iselect, which has been lost
in the reorganization.
2002-12-02 00:54:11 +00:00
Marius Vollmer
2902a459df *** empty log message *** 2002-12-02 00:35:44 +00:00
Mikael Djurfeldt
7692d26b31 * srfi-1.scm: Load srfi-1 extension.
(map, map-in-order, for-each, member, assoc): Replaced by
primitives in srfi-1.c.
(map1): Defined as `map'.
2002-12-01 13:56:11 +00:00
Mikael Djurfeldt
ee6aac9733 * srfi-1.scm: Load srfi-1 extension.
(map, map-in-order, for-each, member): Replaced by primitives in
srfi-1.c.

* Makefile.am: Added rules for srfi-1.c.

* srfi-1.c, srfi-1.h: New files.
2002-12-01 13:10:51 +00:00
Mikael Djurfeldt
cfc7c7c03f * GUILE-VERSION: Added versioning info for srfi 1.
* configure.in (LIBGUILE_SRFI_SRFI_1_INTERFACE_CURRENT,
LIBGUILE_SRFI_SRFI_1_INTERFACE_REVISION,
LIBGUILE_SRFI_SRFI_1_INTERFACE_AGE,
LIBGUILE_SRFI_SRFI_1_INTERFACE): New AC_SUBST.
2002-12-01 13:10:07 +00:00
Mikael Djurfeldt
504d99c5f8 * eval.h (scm_t_trampoline_1, scm_t_trampoline_2): New types.
* eval.c, eval.h (scm_trampoline_1, scm_trampoline_2): New functions.

* eval.c (call_subr2_2, call_lsubr_2, call_closure_2): New functions;
(map, for-each): Handle also application on two args as a special
case; Use trampolines.

* sort.c (scm_cmp_function): Choose subr2less for scm_tc7_subr_2o;
(subr2oless): Removed.
(scm_restricted_vector_sort_x): Use scm_return_first to keep the
vector GC protected.

* eval.c (check_map_args): Use scm_out_of_range_pos instead of
scm_out_of_range.
2002-12-01 13:09:26 +00:00
Mikael Djurfeldt
0359fc922c * README: Added description of compat.
* compat/acconfig.h, compat/acinclude.m4, compat.h, configure.in:
New files.
2002-12-01 03:33:26 +00:00
Dirk Herrmann
63dd3413f3 * evalext.[ch] (scm_m_undefine, undefine): Deprecated. 2002-11-24 18:21:48 +00:00
Dirk Herrmann
f2cbc0e567 * boot-9.scm (re-export-syntax): Re-introduced after accidentally
removing it in my patch from 2002-11-16.
2002-11-24 08:28:05 +00:00
Dirk Herrmann
9123414ee0 Thanks to Mikael Djurfeldt for a bugreport which led to the
following changes:

* slib.scm (%system-define): Removed.

(define): Changed to use define-private instead of
%system-define.

* boot-9.scm (define-private): Undid my changes from 2002-11-16
until Guile supports hygienic macros.
2002-11-24 08:18:19 +00:00
Neil Jerram
dc6cf54848 Add Stephen Compall for manual patches and myself for breakpoints. 2002-11-17 22:23:03 +00:00
Neil Jerram
82512be035 Applied patches (mostly Texinfo markup) from Stephen Compall. (finished now) 2002-11-17 22:20:12 +00:00
Mikael Djurfeldt
4ba5f279f0 * debug.c (scm_make_iloc): Added missing "return". 2002-11-17 22:18:51 +00:00
Neil Jerram
50a6300387 Define local read-and-eval! in emacs interface. 2002-11-17 22:17:59 +00:00
Neil Jerram
7403e409f0 Applied patches (mostly Texinfo markup) from Stephen Compall. 2002-11-17 22:08:45 +00:00
Marius Vollmer
428561f263 *** empty log message *** 2002-11-17 14:56:47 +00:00
Marius Vollmer
56ae231fbe *** empty log message *** 2002-11-17 10:36:22 +00:00
Marius Vollmer
aeec5be115 (scm_eval_string_in_module): Validate second arg to be a module.
Thanks to Arno Peters!
2002-11-17 10:35:49 +00:00
Dirk Herrmann
80b28865d1 * .cvsignore: remove goops.c 2002-11-16 18:30:18 +00:00
Dirk Herrmann
c88b1456e0 * modules.c (scm_env_top_level, scm_lookup_closure_module,
module_variable, scm_module_lookup_closure,
scm_module_transformer, scm_sym2var, scm_module_reverse_lookup,
scm_system_module_env_p):  Don't compare SCM values with C
operators == or !=.  Avoid SCM_IMP predicates.  Prefer !SCM_FALSEP
over SCM_NFALSEP.
2002-11-16 16:56:52 +00:00
Dirk Herrmann
9089f73c52 * goops.scm (standard-define-class): Changed definition to form
a 'real' macro definition.
2002-11-16 16:29:06 +00:00
Dirk Herrmann
a8a19efc2b * eval.h (SCM_MAKE_ILOC): New macro.
* debug.c (scm_make_iloc):  Use SCM_MAKE_ILOC instead of computing
the iloc bitpattern here.
2002-11-16 16:20:14 +00:00
Dirk Herrmann
c55bcb3297 * syncase.scm (define-syntax, eval-when, fluid-let-syntax,
identifier-syntax, let-syntax, letrec-syntax, syntax, syntax-case,
syntax-rules, with-syntax, include):  Changed definitions to form
'real' macro definitions.
2002-11-16 16:01:06 +00:00
Dirk Herrmann
6aa9ea7c90 * boot-9.scm (define-private, export-syntax, export-syntax):
Fixed my previous fix (blush).
2002-11-16 15:40:27 +00:00
Dirk Herrmann
ab382f5204 * boot-9.scm (define-private, export-syntax, export-syntax):
Changed definitions to form 'real' macro definitions.
2002-11-16 15:05:29 +00:00
Mikael Djurfeldt
7673491416 * coop-pthreads.c, coop-pthreads.h: scm_internal_select should be
part of the API, otherwise it's difficult to write Guile
extensions using non-blocking I/O => moved #include
"libguile/iselect.h" from coop-pthreads.c --> coop-pthreads.h.

* coop-pthreads.c (scm_unlock_mutex): Changed s_lock_mutex -->
s_unlock_mutex.
2002-11-14 17:17:40 +00:00
Marius Vollmer
8b5b4a758c *** empty log message *** 2002-11-10 22:07:10 +00:00