1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-18 10:10:23 +02:00
Commit graph

7667 commits

Author SHA1 Message Date
Mikael Djurfeldt
61951a9a9a *** empty log message *** 2003-04-17 18:48:27 +00:00
Mikael Djurfeldt
e672dd0208 * goops.scm (equal?): Provide default method for `equal?'.
(compute-getters-n-setters): Check for bad init-thunks.

* eq.c (scm_eqv_p, scm_equal_p): Turned into a primitive generics.

* goops.texi (Object Comparisons): Removed object-eqv? and
object-equal? and added eqv?, equal? and =.
2003-04-17 18:47:18 +00:00
Mikael Djurfeldt
071d6b0ecc * tests/goops.test: New tests.
* goops.scm (equal?): Provide default method for `equal?'.
(compute-getters-n-setters): Check for bad init-thunks.

* eq.c (scm_equal_p): Turned into a primitive generic.

* snarf.h (SCM_PRIMITIVE_GENERIC, SCM_PRIMITIVE_GENERIC_1): New
macros.
2003-04-17 17:50:57 +00:00
Rob Browning
95a0ecc3c7 *** empty log message *** 2003-04-16 20:17:52 +00:00
Rob Browning
ff83b88d17 * gc_os_dep.c: Added patch for UnixWare and OpenUNIX support.
Thanks to Boyd Gerber.
Added check for __arm__ in addition to arm for LINUX and copied
__s390__ defines from upstream libgc. Thanks to James Treacy for
reporting the problems.
2003-04-16 20:17:44 +00:00
Rob Browning
ecc5974ba6 *** empty log message *** 2003-04-16 20:02:31 +00:00
Rob Browning
eb2f70b61d * gc_os_dep.c Added patch for UnixWare and OpenUNIX support.
Thanks to Boyd Gerber.
Added check for __arm__ in addition to arm for LINUX.  Thanks to
James Treacy for reporting the problem.
2003-04-16 20:02:22 +00:00
Rob Browning
06f55e9f82 *** empty log message *** 2003-04-16 19:46:55 +00:00
Rob Browning
eccee85dbc * gc_os_dep.c (mach_type_known): added patch for UnixWare and
OpenUNIX support.  Thanks to Boyd Gerber.
2003-04-16 19:46:47 +00:00
Rob Browning
7c1e02ed1d *** empty log message *** 2003-04-16 19:19:21 +00:00
Rob Browning
295ebe22e7 *** empty log message *** 2003-04-16 19:14:46 +00:00
Mikael Djurfeldt
168629c99a * goops.scm (compute-getter-method): For custom getter: Check
boundness even if there is an init-thunk.  (The getter can return
#<unbound> even if the slot has been set before.)

* goops.c (scm_sys_fast_slot_ref): Use SCM_SLOT instead of
scm_at_assert_bound_ref.  (We don't want the unbound check.  See
oop/goops/active-slot.scm.)
2003-04-15 01:15:06 +00:00
Mikael Djurfeldt
55f8c6f1ca Fix 2003-04-14 20:13:50 +00:00
Mikael Djurfeldt
da2e146a5b * print.c (scm_prin1): Remember old state of pstate->writingp. 2003-04-14 14:51:09 +00:00
Mikael Djurfeldt
55ccbd3545 * goops.scm (compute-getters-n-setters/verify-accessors): Better
check of format of value returned by compute-get-n-set.
(compute-getters-n-setters): Extended format of slot
getters-n-setters to indicate position and size of slot memory
allocated in instances.

* goops.c (scm_sys_prep_layout_x): Instance allocation is now
indicated through extra fields in getters-n-setters.
(scm_add_slot): Adapted to new format of getters_n_setters slot.
(Thanks to Andy Wingo.)
2003-04-13 15:05:05 +00:00
Rob Browning
5735d351cf *** empty log message *** 2003-04-12 18:44:56 +00:00
Rob Browning
fbc29076a3 * md/axp.s (qt_vstart): fix assembly bugs. Thanks to Falk Hueffner. 2003-04-12 18:42:12 +00:00
Rob Browning
659c80d9b5 *** empty log message *** 2003-04-12 18:41:57 +00:00
Rob Browning
084210bf9a * backtrace.c (display_backtrace_file): correct a couple of
instances of "file == SCM_BOOL_F" to "SCM_FALSEP (file)"
(shouldn't be comparing values directly).
2003-04-12 18:41:30 +00:00
Rob Browning
ad2b971d55 *** empty log message *** 2003-04-12 17:44:24 +00:00
Rob Browning
f78a964936 * guile-test: added "Running test FOO" output by default. There
may be a good reason to remove this, but the output can be helpful
in determining where a failure occurred.
2003-04-12 17:44:08 +00:00
Rob Browning
6536b58713 * __scm.h (SCM_FLUSH_REGISTER_WINDOWS): don't just rely on "sparc"
test.  Instead use
#if defined (sparc) || defined (__sparc__) || defined (__sparc)
as gc_os_dep.c suggests is appropriate.
2003-04-12 17:40:03 +00:00
Rob Browning
e21bdaf4a4 *** empty log message *** 2003-04-12 16:48:47 +00:00
Rob Browning
99290b905d *** empty log message *** 2003-04-12 01:18:02 +00:00
Rob Browning
6c9a86a4ba * preface.texi: change MANUAL_EDITION to MANUAL-EDITION so we
don't choke TeX (thanks to Dale P. Smith).
2003-04-12 01:17:56 +00:00
Rob Browning
95a5ef6ce3 * guile.texi: change MANUAL_EDITION to MANUAL-EDITION so we don't
choke TeX (thanks to Dale P. Smith).
2003-04-12 01:17:51 +00:00
Rob Browning
604a9686a5 *** empty log message *** 2003-04-12 01:12:10 +00:00
Rob Browning
cc76e25dc2 * goops.c (prep_hashsets): make static to match prototype.
(scm_sym_args): SCM_SYMBOL -> SCM_GLOBAL_SYMBOL.  Thanks to Albert
Chin.
2003-04-12 01:12:02 +00:00
Rob Browning
3ca833fd1e * gc_os_dep.c: add NetBSD powerpc config info. Thanks to Thomas
Klausner.
2003-04-12 01:11:55 +00:00
Rob Browning
4d6ae3cfbc * c-tokenize.lex: remove trailing comma from enum. Thanks to
Albert Chin.
2003-04-12 01:11:49 +00:00
Rob Browning
ad4c459928 *** empty log message *** 2003-04-12 00:07:23 +00:00
Rob Browning
b84333a89f * eval.c (SCM_CEVAL): fixed a couple of mysterious (probably
optimization related) bugs on powerpc by altering some
  "while (!SCM_NULLP (t.arg1 = SCM_CDR (t.arg1)))"
or
  "if (...foo = bar...)"
style constructs to move the assignments outside the guards.
(scm_m_case): move some assignments outside guards as above.
(scm_m_letrec1): move some assignments outside guards as above.
(unmemocopy): move some assignments outside guards as above.
(scm_eval_body): move some assignments outside guards as above.
(SCM_APPLY): move some assignments outside guards as above.
(s_scm_copy_tree): move some assignments outside guards as above.
2003-04-12 00:07:15 +00:00
Rob Browning
f802eb6139 *** empty log message *** 2003-04-11 18:34:09 +00:00
Rob Browning
6e19af7d09 * throw.c (scm_ithrow): removed winds "asm" protection in favor of
scm_remember_upto_here_1.
2003-04-11 18:32:01 +00:00
Rob Browning
9300912e0c * eval.c (SCM_CEVAL): fixed a couple of mysterious (probably
optimization related) bugs on powerpc by altering some
  "while (!SCM_NULLP (t.arg1 = SCM_CDR (t.arg1)))"
style constructs so that the assignment doesn't happen inside the guard.
2003-04-11 18:31:56 +00:00
Rob Browning
bd4ed372ce * Makefile.am (CLEANFILES): add guile-procedures.txt. 2003-04-11 18:31:46 +00:00
Mikael Djurfeldt
db8f05177a *** empty log message *** 2003-04-06 09:51:06 +00:00
Mikael Djurfeldt
e6e2c4fa10 * readline.c (redisplay): Removed. (It didn't do anything other
than calling rl_redisplay.)
(scm_init_readline): Don't inititalize rl_redisplay_function.
2003-04-05 15:50:48 +00:00
Marius Vollmer
f7ae99e97b *** empty log message *** 2003-03-19 21:56:00 +00:00
Marius Vollmer
194a547f33 Added defines for sparc-unknown-netbsdelf1.5 from Adrian Bunk.
Thanks!
2003-03-19 21:54:40 +00:00
Mikael Djurfeldt
20c862d06e * hooks.c (scm_c_hook_add): Fixed bug in append mode. 2003-02-20 14:12:36 +00:00
Mikael Djurfeldt
5abeba6894 * debug.c (scm_procedure_source): Handle all objects for which
procedure? is #t.  (Thanks to Bill Schottstaedt.)
2003-02-05 19:05:42 +00:00
Rob Browning
a5a203db18 *** empty log message *** 2003-02-01 18:49:40 +00:00
Rob Browning
2d68ee3c1c * GUILE-VERSION (GUILE_MICRO_VERSION): bump for release. 2003-02-01 18:49:30 +00:00
Rob Browning
6df326f7d9 *** empty log message *** 2003-02-01 18:11:44 +00:00
Rob Browning
eaaae3ed2f *** empty log message *** 2003-02-01 17:50:45 +00:00
Rob Browning
180b39b55b * Makefile.am: move built files to nodist_ targets so they don't
end up in the dist tarfile.
(guile_TEXINFOS): remove autoconf-macros.texi.
(nodist_guile_TEXINFOS): add autoconf-macros.texi.
(autoconf-macros.texi): don't write to $(srcdir) -- breaks
distcheck.
2003-02-01 17:50:27 +00:00
Rob Browning
7e1042edf4 * Makefile.am: move built files to nodist_ targets so they don't
end up in the dist tarfile.
(modinclude_HEADERS): remove version.h and scmconfig.h.
(nodist_modinclude_HEADERS): add version.h and scmconfig.h.
2003-02-01 17:50:07 +00:00
Rob Browning
c95fefb43f * Makefile.am (CLEANFILES): add qtmds.s qtmdc.c qtmdb.s 2003-02-01 17:49:48 +00:00
Rob Browning
fe401116ba * Makefile.am: move built files to nodist_ targets so they don't
end up in the dist tarfile.
(libguile_srfi_srfi_4_v_@LIBGUILE_SRFI_SRFI_4_MAJOR@_la_SOURCES):
remove srfi-4.x.
(nodist_libguile_srfi_srfi_4_v_@LIBGUILE_SRFI_SRFI_4_MAJOR@_la_SOURCES): add srfi-4.x.
(libguile_srfi_srfi_13_14_v_@LIBGUILE_SRFI_SRFI_13_14_MAJOR@_la_SOURCES): remove srfi-13.x srfi-14.x.
(nodist_libguile_srfi_srfi_13_14_v_@LIBGUILE_SRFI_SRFI_13_14_MAJOR@_la_SOURCES): add srfi-13.x srfi-14.x.
2003-02-01 17:49:13 +00:00