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

6185 commits

Author SHA1 Message Date
Marius Vollmer
d955de820d Removed FIXME comment about hoos for malloc and free. 2002-03-11 17:51:52 +00:00
Marius Vollmer
ff0a837c20 (scm_string_capitalize_x): Treat characters as unsigned so that 8-bit
chars work.  Thanks to David Pirotte!
2002-03-11 17:51:18 +00:00
Dirk Herrmann
1d15ecd303 * eval.c (SCM_CEVAL): Cleaned up the handling of 'slot-ref',
'slot-set!' and 'nil-cond'.  Removed some uses of t.arg1, arg2 and
proc as temporary variables.  Introduced temporary variables with
hopefully descriptive names for clarification.  Replaced SCM_N?IMP
by a more explicit predicate in some places.
2002-03-10 07:53:27 +00:00
Dirk Herrmann
f12745b633 * eval.c (SCM_CEVAL): Cleaned up the handling of #@dispatch.
Added lots of comments regarding the implementation of #@dispatch.
Changed intra-procedure communication to use t.arg1 instead of
arg2.  Removed some uses of t.arg1, t.lloc and proc as temporary
variables.  Introduced temporary variables with hopefully
descriptive names for clarification.  Replaced SCM_N?IMP by a more
explicit predicate in some places.  Use SCM_INSTANCE_HASH instead
of computing the expression explicitly.  Eliminate now unused
label nontoplevel_cdrxbegin.

* goops.h (SCM_INSTANCE_HASH): New macro.

* objects.h (SCM_CMETHOD_FORMALS, SCM_CMETHOD_BODY): New macros.
2002-03-09 20:15:16 +00:00
Thien-Thi Nguyen
1ebf1566bc *** empty log message *** 2002-03-08 21:29:19 +00:00
Thien-Thi Nguyen
604a672efe (bin_SCRIPTS): Revive this decl, w/ initial element
"guile-snarf" moved back from `noinst_SCRIPTS'.
2002-03-08 21:28:07 +00:00
Thien-Thi Nguyen
f394773de5 (guile_TEXINFOS): Add tools.texi. 2002-03-08 21:24:30 +00:00
Thien-Thi Nguyen
73ede5920e (Miscellaneous Tools): Add under "Part II".
Implement by including tools.texi.
2002-03-08 21:23:36 +00:00
Thien-Thi Nguyen
fc17ed5b72 (Miscellaneous Tools): New node/chapter.
(Snarfing, Init Snarfing with guile-snarf, How guile-snarf works,
Macros guile-snarf recognizes, Doc Snarfing): New nodes/(sub)sections.
(Executable Modules): Now a section under "Miscellaneous Tools".
2002-03-08 21:20:31 +00:00
Neil Jerram
e07983b4b4 A couple of bug status updates. 2002-03-08 18:04:57 +00:00
Neil Jerram
27c54e0b59 * snarf-guile-m4-docs (display-texi): Strip off `# ' from start of
docstring lines if possible, rather than just `#'.
2002-03-08 13:19:42 +00:00
Neil Jerram
e12ed7aa92 * Grammatical correction: change are' to is' in guile.m4 docstring. 2002-03-08 13:18:59 +00:00
Neil Jerram
a3f0622d5d * Insert missing `of' in autoconf.texi. 2002-03-08 13:18:00 +00:00
Neil Jerram
ecfeac8c95 * docstring.el (docstring-libguile-directory,
docstring-display-location, docstring-show-source): New.
2002-03-08 13:13:36 +00:00
Neil Jerram
58d233cca9 * srcprop.c (scm_set_source_property_x): If SRCPROPS obj already
exists when adding a source property other than those that are
	handled explicitly, add the new property to the SRCPROPS obj's
	plist.
2002-03-08 13:11:34 +00:00
Neil Jerram
020c890ccc * Fix bug caused by frame size overflowing its field. 2002-03-08 13:07:50 +00:00
Marius Vollmer
54737001bb Removed maintainer section. 2002-03-06 21:12:43 +00:00
Thien-Thi Nguyen
abae30146f Initial revision 2002-03-06 20:54:27 +00:00
Thien-Thi Nguyen
9b398b6730 *** empty log message *** 2002-03-06 20:47:26 +00:00
Thien-Thi Nguyen
d902b02a5d Handle "--source" option. 2002-03-06 20:46:41 +00:00
Thien-Thi Nguyen
6c5b8521d0 *** empty log message *** 2002-03-06 02:46:28 +00:00
Thien-Thi Nguyen
a3c51cc829 (ice9_sources): Add ftw.scm. 2002-03-06 02:45:26 +00:00
Thien-Thi Nguyen
df62517288 Initial revision 2002-03-06 02:43:56 +00:00
Dirk Herrmann
3f04400dd2 * eval.c (SCM_CEVAL): Cleaned up the handling of 'apply'. Removed
side-effecting operations from conditions and macro calls.
Replaced SCM_N?IMP by a more explicit predicate in some places.
Minimized the scope of some variables.
2002-03-05 21:10:15 +00:00
Thien-Thi Nguyen
7ca15449ed *** empty log message *** 2002-03-04 22:54:19 +00:00
Thien-Thi Nguyen
829fdfbc6d (top_srcdir): Use `top_srcdir_absolute' AC_SUBST var. 2002-03-04 22:53:34 +00:00
Thien-Thi Nguyen
2d78a1c54c *** empty log message *** 2002-03-04 22:40:21 +00:00
Thien-Thi Nguyen
ce8b584c2d (top_srcdir): Use `top_srcdir_absolute' AC_SUBST var. 2002-03-04 22:39:06 +00:00
Thien-Thi Nguyen
2f13db9a0c (top_srcdir_absolute): New AC_SUBST var. 2002-03-04 22:37:37 +00:00
Dirk Herrmann
b51bad08b3 * Added an entry listing removed definitions. 2002-03-04 20:34:30 +00:00
Thien-Thi Nguyen
114d6a9423 Remove self. 2002-03-04 19:28:00 +00:00
Thien-Thi Nguyen
eb8aea9b2e *** empty log message *** 2002-03-04 16:36:50 +00:00
Thien-Thi Nguyen
3e76fda1f6 (top_srcdir): Fix ref bug: Force absolute. 2002-03-04 16:35:50 +00:00
Stefan Jahn
97820583b4 2002-03-02 Stefan Jahn <stefan@lkcc.org>
* convert.i.c: Fixed int <-> long conversions which would have
        failed if their sizes were different.
2002-03-02 14:18:38 +00:00
Dirk Herrmann
38ace99eb3 * eval.c (SCM_CEVAL): Cleaned up the handling of 'if', 'let',
'letrec' and 'set*': Removed some uses of t.arg1, t.lloc and proc
as temporary variables.  Removed side-effecting operations from
conditions and macro calls.  Introduced temporary variables with
hopefully descriptive names for clarification.  Replaced SCM_N?IMP
by a more explicit predicate in some places.  Removed code that
was conditionally compiled if SICP was defined - which it never
is.
2002-03-02 12:47:45 +00:00
Dirk Herrmann
e5cb71a0a9 * eval.c (SCM_CEVAL): Cleaned up the handling of 'cons' and 'do':
Removed some uses of t.arg1 and proc as temporary variables.
Removed side-effecting operations from conditions and macro calls.
Introduced temporary variables with hopefully descriptive names
for clarification.  Replaced SCM_N?IMP by a more explicit
predicate in some places.
2002-03-02 11:50:01 +00:00
Dirk Herrmann
6a0f6ff30c * eval.c (scm_badargsp, SCM_CEVAL): Replaced SCM_N?IMP by a more
explicit predicate in some places.

(CHECK_EQVISH): Removed.

(SCM_CEVAL): Removed some uses of t.arg1 and proc as temporary
variables.  Removed side-effecting operations from conditions and
macro calls.  Introduced temporary variables for clarification.
Sorted if-else-if check for the type of the last form in a list by
frequency.  Avoided some unnecessary tail-recursion calls.
2002-03-02 09:53:51 +00:00
Thien-Thi Nguyen
547ba6882a *** empty log message *** 2002-03-01 08:36:32 +00:00
Thien-Thi Nguyen
2f908075a5 Remove "pwd" meta info. 2002-03-01 08:35:15 +00:00
Thien-Thi Nguyen
039576cf09 Update. 2002-03-01 07:37:43 +00:00
Dirk Herrmann
228a24ef30 Changes in doc/ref:
* api.txt, data-rep.texi: Renamed the struct scm_cell to
scm_t_cell.

* data-rep.texi: Renamed scm_alloc_cell to scm_cell and
scm_alloc_double_cell to scm_double_cell.

Changes in libguile:

* gc.c (SCM_HEAP_SEG_SIZE, CELL_UP, CELL_DN, NEXT_DATA_CELL,
init_heap_seg, alloc_some_heap), gc.h (struct scm_cell, struct
scm_t_cell, SCM_CELLPTR, SCM_GC_CARD_SIZE,
SCM_GC_IN_CARD_HEADERP), tags.h (SCM_CELLP):  Renamed the struct
scm_cell and all its uses to scm_t_cell in accordance to Guile's
naming scheme for types.

* alist.c (scm_acons), convert.i.c (CTYPES2UVECT,
CTYPES2UVECT_OPTIONAL), coop-threads.c (scm_call_with_new_thread,
scm_spawn_thread), debug.c (scm_make_debugobj), environments.c
(scm_make_environment), eval.c (scm_closure), fports.c
(scm_fdes_to_port), gc.c (scm_deprecated_newcell,
scm_deprecated_newcell2), inline.h (scm_alloc_cell, scm_cell),
list.c (SCM_I_CONS), numbers.c (scm_i_mkbig), pairs.c (scm_cons),
ports.c (scm_void_port), procs.c (scm_c_make_subr, scm_makcclo),
smob.c (scm_make_smob), smob.h (SCM_NEWSMOB), strings.c
(scm_take_str, scm_allocate_string), strports.c (scm_mkstrport),
unif.c (scm_make_uve), variable.c (make_variable), vectors.c
(scm_c_make_vector), vports.c (scm_make_soft_port): Renamed
scm_alloc_cell to scm_cell.

* environments.c (core_environments_observe), gc.c
(scm_deprecated_newcell2), goops.c (wrap_init, scm_wrap_object),
inline.h (scm_alloc_double_cell, scm_double_cell), num2float.i.c
(FLOAT2NUM), numbers.c (scm_make_real), procs.c
(scm_make_procedure_with_setter), smob.h (SCM_NEWSMOB2,
SCM_NEWSMOB3), struct.c (scm_make_struct, scm_make_vtable_vtable),
symbols.c (scm_mem2symbol, scm_mem2uninterned_symbol), weaks.c
(allocate_weak_vector): Renamed scm_alloc_double_cell to
scm_double_cell.
2002-03-01 00:19:20 +00:00
Marius Vollmer
eee065c4fe *** empty log message *** 2002-02-28 23:42:29 +00:00
Marius Vollmer
3392a571b5 (Upgrading from scm_must_malloc et al): New section. 2002-02-28 23:42:22 +00:00
Marius Vollmer
621f22b161 *** empty log message *** 2002-02-28 20:58:59 +00:00
Marius Vollmer
eabd8acf87 Use scm_gc_malloc and scm_gc_free instead of scm_must_malloc and free
in example code.  Updated text for the new memory management
functions.
2002-02-28 20:58:50 +00:00
Marius Vollmer
4c7fbdfbd5 (malloc-stats): Refer to scm_gc_malloc instead of to scm_must_malloc. 2002-02-28 20:56:41 +00:00
Marius Vollmer
d115af0eea (image_tag): Changed type to scm_t_bits.
(make_image): Use scm_gc_malloc instead of scm_must_malloc.
(free_image): Use scm_gc_free instead of free.  Return zero.
2002-02-28 20:55:49 +00:00
Thien-Thi Nguyen
5ddf900c86 *** empty log message *** 2002-02-28 06:11:37 +00:00
Thien-Thi Nguyen
ec99391afd Typofix; nfc. 2002-02-28 06:10:47 +00:00
Thien-Thi Nguyen
de6334e97d Add version table. 2002-02-28 05:09:19 +00:00