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

3667 commits

Author SHA1 Message Date
Thien-Thi Nguyen
58bee6a81a *** empty log message *** 2001-06-13 16:11:23 +00:00
Thien-Thi Nguyen
98cb966490 Update path to #include file scmconfig.h.
Thanks to Golubev I. N.
2001-06-13 16:10:05 +00:00
Dirk Herrmann
00d8d838bb * Simplified the goops macro system a bit and fixed a bug. 2001-06-11 08:51:28 +00:00
Gary Houston
495c67e53b *** empty log message *** 2001-06-10 20:45:34 +00:00
Gary Houston
811727c704 * rdelim.c (scm_init_rdelim_builtins): don't try to activate the
(ice-9 rdelim) module in (guile) and (guile-user).  it didn't
	work reliably anymore.  try it from boot-9.scm instead.
2001-06-10 20:42:31 +00:00
Marius Vollmer
6a9003d3a4 *** empty log message *** 2001-06-09 18:15:32 +00:00
Marius Vollmer
53802ea86d (scm_lfwrite): Maintain columnd and row count in port.
Thanks to Matthias Köppe!
2001-06-09 18:15:08 +00:00
Michael Livshin
a88ff5b650 * snarf.h, filter-doc-snarfage.c: more changes to cope with
space-happy C preprocessors.
2001-06-08 14:49:05 +00:00
Michael Livshin
47bcd6465f * filter-doc-snarfage.c, guile-snarf.in: try to cope with spaces
inside cookies.  thanks to Matthias Köppe!
2001-06-08 13:48:39 +00:00
Dirk Herrmann
bab246f334 * Fixed some bugs, some reported by Matthias Koeppe. 2001-06-08 10:02:33 +00:00
Dirk Herrmann
dcb410ec07 * Fix SCM <--> scm_t_bits related typing problems.
Thanks to Matthias Koeppe for the bug report.
2001-06-07 23:10:33 +00:00
Dirk Herrmann
e81d98ec2d * Introduce SCM_UNUSED and mark unused function parameters.
* Introduce SCM_DEBUG_PAIR_ACCESSES.
* Extend the possibilities of SCM_DEBUG_CELL_ACCESSES.
2001-06-07 21:12:19 +00:00
Dirk Herrmann
17fa3fcf36 * Introduce macro SCM_VALIDATE_NON_EMPTY_COMBINATION. 2001-06-05 20:48:28 +00:00
Marius Vollmer
feeedafb9c *** empty log message *** 2001-06-04 22:18:59 +00:00
Marius Vollmer
4a68d142ae (keyword_print): Substract 1 from length of symbol name, accounting
for the silly dash.
2001-06-04 22:17:17 +00:00
Marius Vollmer
f228362b10 (scm_hasher): Use SCM_UNPACK in the case labels so that
non-pointers are being compared.  Thanks to Alexander Klimov!
2001-06-04 22:16:43 +00:00
Marius Vollmer
bef38a17c4 (scm_c_register_extension): Allow NULL as library
name.
(load_extension): Ignore NULL library names when comparing.
2001-06-04 22:16:27 +00:00
Marius Vollmer
0e9eeb6cc9 (scm_registered_modules, scm_clear_registered_modules): Do not emit
deprecation warning.
2001-06-04 22:15:15 +00:00
Gary Houston
0df9aac51b *** empty log message *** 2001-06-04 22:05:02 +00:00
Gary Houston
4bcdfe4641 *** empty log message *** 2001-06-04 21:52:21 +00:00
Gary Houston
99004a2863 * rw.c (scm_write_string_partial): new procedure implementing
write-string/partial in (ice-9 rw).
	* rw.h: declare scm_write_string_partial.
2001-06-04 21:48:25 +00:00
Marius Vollmer
f480396be5 *** empty log message *** 2001-06-03 23:34:08 +00:00
Marius Vollmer
c22adbeb3b Added exception notice to all files. 2001-06-03 23:32:27 +00:00
Marius Vollmer
a0e0793ff7 Include "deprecation.h". 2001-06-03 23:31:14 +00:00
Marius Vollmer
c794483cc0 *** empty log message *** 2001-06-03 01:07:06 +00:00
Marius Vollmer
46ca6c2e28 (scm_register_module_xxx, scm_registered_modules,
scm_clear_registered_modules): Deprecated.
2001-06-03 01:03:31 +00:00
Rob Browning
9454d8d5e7 *** empty log message *** 2001-06-02 20:35:27 +00:00
Rob Browning
f02327ae03 * .cvsignore: really add guile_filter_doc_snarfage. 2001-06-02 20:34:43 +00:00
Rob Browning
3074c04a00 * .cvsignore: add guile_filter_doc_snarfage guile-snarf-docs
guile-snarf-docs-texi.
2001-06-02 20:31:38 +00:00
Rob Browning
1fd85bc565 * filesys.c (scm_stat2scm): HAVE_ST_RDEV changed to
HAVE_STRUCT_STAT_ST_RDEV.
(scm_stat2scm): HAVE_ST_BLKSIZE changed to
HAVE_STRUCT_STAT_ST_BLKSIZE.
(scm_stat2scm): HAVE_ST_BLOCKS changed to
HAVE_STRUCT_STAT_ST_BLOCKS.
2001-06-02 20:30:29 +00:00
Rob Browning
f47a5239d4 * fports.c: HAVE_ST_BLKSIZE changed to
HAVE_STRUCT_STAT_ST_BLKSIZE.
(scm_fport_buffer_add): HAVE_ST_BLKSIZE changed to
HAVE_STRUCT_STAT_ST_BLKSIZE.
2001-06-02 20:30:20 +00:00
Marius Vollmer
b0c16cd922 *** empty log message *** 2001-06-02 18:35:28 +00:00
Marius Vollmer
96e83482fb (scm_eval_string): Use scm_primitive_eval_x instead
of scm_eval_x to allow module changes between the forms in the
string.  Set/restore module using scm_c_call_with_current_module.
2001-06-02 18:34:48 +00:00
Marius Vollmer
114f9bab42 *** empty log message *** 2001-06-02 12:40:00 +00:00
Marius Vollmer
23cc59681b New file, slightly modified from libiberties
mkstemps.c.
2001-06-02 12:39:09 +00:00
Michael Livshin
413a1367e2 small fixes 2001-05-31 14:04:56 +00:00
Michael Livshin
c99f960518 * guile-snarf-docs.in, guile-snarf-docs-texi.in,
filter-doc-snarfage.c: new files.

* Makefile.am: add stuff to [build,] use and distribute
guile-snarf-docs, guile-snarf-docs-texi, guile_filter_doc_snarfage.

* guile-snarf.in: grok the new snarf output.

* snarf.h: make the output both texttools- and `read'-friendly.

* guile-doc-snarf.in (bindir): reimplement in terms of guile-snarf
and guile-snarf-docs.  (should also deprecate, I guess.  maybe
not).
2001-05-31 13:15:54 +00:00
Marius Vollmer
7eb5d7b2e4 *** empty log message *** 2001-05-30 23:48:36 +00:00
Marius Vollmer
ca3140213b (keyword_print): Use scm_print_symbol_name so that
weird names are printed correctly.
2001-05-30 23:48:13 +00:00
Marius Vollmer
6662998f74 * print.c (scm_simple_format): Support "~~" and "~%". Signal
error for unsupported format controls and for superflous
arguments.  Thanks to David Skarda!

* print.h, print.c (scm_print_symbol_name): Factored out of
scm_iprin1.
(scm_iprin1): Call it.

* print.c (scm_print_symbol_name): Symbols whose name starts with `#' or `:'
or ends with `:' are considered weird.
2001-05-30 23:47:49 +00:00
Martin Grabmüller
609c3d3095 2001-05-30 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
* numbers.c (scm_difference, scm_divide): Clarified comments for -
	and /.

2001-05-29  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>

	* debug.h: Removed prototype for scm_eval_string.
2001-05-30 20:27:46 +00:00
Martin Grabmüller
8d09eb0449 * symbols.c (scm_gensym): Fix buffer overrun (try `(gensym
(make-string 2000 #\!))' in an older version).

	Change strncpy to memcpy to allow embedded NUL characters in
	symbol prefix.
2001-05-28 18:42:57 +00:00
Dirk Herrmann
d81f6fe1fe * Ooops. This belongs to my ChangeLog entry from 2001-05-26. Sorry. 2001-05-28 14:41:33 +00:00
Michael Livshin
fde504077b * hooks.c (scm_create_hook): deprecated.
(make_hook): deleted.
(scm_make_hook): all the hook creation code is now here.

* gc.c (scm_init_gc): don't call `scm_create_hook'.  instead make
a hook, make it permanent, and do a `scm_c_define' on it.
2001-05-28 14:18:35 +00:00
Michael Livshin
dd85ce4758 * strop.c (s_scm_string_capitalize_x): fix docstring quoting.
* socket.c (s_scm_inet_pton): fix docstring quoting.
(s_scm_inet_ntop): ditto.

* num2integral.i.c (INTEGRAL2NUM): cast to fix a warning.

* hashtab.c (scm_internal_hash_fold): fix argument position in
SCM_ASSERT.

* environments.c (s_scm_import_environment_set_imports_x): fix
argument position in SCM_ASSERT.

* debug.c (s_scm_make_gloc): fix SCM packing/unpacking.
(s_scm_make_iloc): ditto.
2001-05-28 12:36:41 +00:00
Dirk Herrmann
729dbac32f * Changed the default definition of SCM.
* Fixed some typing problems detected by the above change.
* Fixed some problems that were detected by compiling guile with -W.
2001-05-27 22:00:03 +00:00
Michael Livshin
6b1b030e4d * gc.c (scm_init_storage): init `scm_gc_registered_roots'.
(scm_igc): mark from them, too (precisely, not conservatively!).

* root.h (scm_gc_registered_roots): new object in
scm_sys_protects.

* hooks.c (scm_create_hook): call `scm_gc_protect_object' instead
`scm_protect_object'.  shouldn't call it at all, though, it seems.

* gc.c (scm_[un]protect_object): deprecated.
(scm_gc_[un]protect_object): new names for scm_[un]protect_object.
(scm_gc_[un]register_root[s]): new.

* gc.h: add prototypes for scm_gc_[un]protect_object,
scm_gc_[un]register_root[s].
2001-05-26 22:10:58 +00:00
Michael Livshin
c014a02eec revert the ill-considered part of the 2001-05-24 changes 2001-05-26 20:51:22 +00:00
Marius Vollmer
f4e0611e99 *** empty log message *** 2001-05-25 13:22:14 +00:00
Marius Vollmer
e24ca5385a (scm_env_module): Exported to Scheme. 2001-05-25 13:15:57 +00:00