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

916 commits

Author SHA1 Message Date
Mikael Djurfeldt
d1fcfa04cf * doc.scm: Removed module (ice-9 doc). 2000-06-11 18:30:24 +00:00
Mikael Djurfeldt
d5504515e3 * boot-9.scm (make-autoload-interface): Set init value for uses to
'() instead of #f.
(make-modules-in): Name modules with their real (= full) names.
(the-root-module, the-scm-module): Named `(guile)' instead of
`the-root-module'.
(the-scm-module): Set kind to 'interface.
2000-06-11 18:29:57 +00:00
Mikael Djurfeldt
baf06dbf68 * Makefile.am (ice9_sources): Replaced doc.scm with
documentation.scm.
2000-06-11 18:29:46 +00:00
Greg J. Badros
c16c5d247a * session.scm: Update references to `proc-doc' to be
`proc-documentation'

* doc.scm: Cleaned up a great deal.  Put variables at the top of
the file, eliminated `object-documentation' that was broken
(referencing Scwm), drop `help' as session.scm has a better
supported version of that procedure. Rename `proc-doc' to
`proc-documentation' -- `procedure-documentation' is a primitive
getter function, so I use the shorter name for this more useful
function.  (Alternatively, we could rename the primitive
getter...)
2000-06-06 16:21:45 +00:00
Mikael Djurfeldt
1f496b05af *** empty log message *** 2000-06-05 00:31:41 +00:00
Mikael Djurfeldt
cb546c61ba * boot-9.scm (error-catching-loop): Inform about debugger on error. 2000-06-05 00:31:24 +00:00
Mikael Djurfeldt
2c4fc472dc *** empty log message *** 2000-06-04 01:34:58 +00:00
Mikael Djurfeldt
6906bd0d7a * boot-9.scm (scm-module-closure): New procedure: Was previously
anonymous.  Now needed in modules.c.
(make-module): Use `standard-eval-closure' to create the eval
closure.
2000-06-04 01:34:27 +00:00
Gary Houston
32f1b9fd51 *** empty log message *** 2000-05-14 22:16:32 +00:00
Gary Houston
1f08acd9ee 2000-05-14 Gary Houston <ghouston@arglist.com>
* boot-9.scm (load-user-init): rewritten.  first work out the home
	directory and then try to open the file (previously it could try
	to open a file in more than one place).  catch exceptions when
	trying to get a directory from the user database.  don't check
	that ~/.guile is not a directory before trying to load it (a lack
	of ~/.guile is not a crime, but if the file is not valid for any
	reason then primitive-load will raise an error).
2000-05-14 22:15:13 +00:00
Dirk Herrmann
5ea6d5318a * abs no longer accepts complex numbers as parameter. 2000-05-11 15:51:56 +00:00
Marius Vollmer
7bbe9dee9e *** empty log message *** 2000-05-09 19:43:29 +00:00
Marius Vollmer
47678fe3bc * common-list.scm (delete-if-not!): Bug fix of bug fix: change
label of named let to `delete-if-not'.  Sorry.
2000-05-09 19:43:14 +00:00
Marius Vollmer
e2d1d99d7b *** empty log message *** 2000-05-08 00:44:04 +00:00
Marius Vollmer
59dd18528b * common-list.scm (doc fixes): Talk about `true values' instead of
`#t' when a function treats all non-#f valuers the same.
(remove-if-not): Bug fix: call remove-if-not
instead of remove-if when iterating.
(delete-if-not!): Bug fix: call delete-if-not! instead of
remove-if when iterating.
2000-05-08 00:43:28 +00:00
Mikael Djurfeldt
a0128ebefa *** empty log message *** 2000-04-16 02:04:25 +00:00
Mikael Djurfeldt
483525f1f0 * r4rs.scm (close-input-port, close-output-port): Removed. 2000-04-16 02:02:31 +00:00
Mikael Djurfeldt
2f52380ca9 *** empty log message *** 2000-04-13 00:15:21 +00:00
Mikael Djurfeldt
068cb5392f *** empty log message *** 2000-04-13 00:08:44 +00:00
Mikael Djurfeldt
13ae91514e * session.scm (help): New macro. Prints helpful information. 2000-04-13 00:08:22 +00:00
Gary Houston
d8859d6bd8 *** empty log message *** 2000-04-10 21:56:38 +00:00
Gary Houston
70cb4fa6ac * popen.scm (open-process): after forking, close all ports except
the end of the pipe to the parent.  otherwise move->fdes and
	the exec'd program and the exit handlers can interfere with file
	descriptors still in use in parent ports.
2000-04-10 21:55:53 +00:00
Gary Houston
bf0e28d8f1 *** empty log message *** 2000-04-09 21:10:33 +00:00
Gary Houston
2969637c9e * popen.scm (close-process-quietly): new procedure. use it from
reap-pipes to avoid errors or hanging during background cleanup.
2000-04-09 21:10:06 +00:00
Mikael Djurfeldt
304b56da60 *** empty log message *** 2000-04-04 11:40:49 +00:00
Mikael Djurfeldt
186cf94654 * format.scm (format:obj->str): Handle circular references. Also,
print improper lists with (x y . z) syntax rather than as
individual pairs.  (This code should probably be integrated into C
level facilities.  It is currently terribly slow.)
2000-04-04 11:40:39 +00:00
Michael Livshin
b87e3d4d19 * streams.scm (stream-fold, stream-for-each): don't use named let,
because it prevents the gc from junking the stream argument.
2000-04-03 15:38:35 +00:00
Greg J. Badros
df8bb2dc39 *** empty log message *** 2000-03-09 16:21:55 +00:00
Greg J. Badros
26ec032dc5 * slib.scm: Back-out change to software-type -- renamed
slib:software-type to software-type, and leave it non-public.
2000-03-09 16:05:33 +00:00
Greg J. Badros
e510ed373f *** empty log message *** 2000-03-02 20:44:28 +00:00
Greg J. Badros
5b52885cda * boot-9.scm: Drop unused definition of sfx function -- thanks
Dirk Hermann!
2000-03-02 20:44:19 +00:00
Greg J. Badros
0f202d3f36 *** empty log message *** 2000-03-01 21:18:35 +00:00
Greg J. Badros
ed11b876c8 * streams.scm: Doc patch from Richard Kim, using MIT Scheme as
source of the numerous very short changes.
2000-03-01 20:21:24 +00:00
Greg J. Badros
92540145dd *** empty log message *** 2000-02-14 02:04:20 +00:00
Greg J. Badros
e3d8af60c4 * slib.scm: Rename software-type to slib:software-type and make it
public.

* r4rs.scm: Added documentation; largely cut and pasted from R4RS
info pages.
2000-02-14 02:04:14 +00:00
Greg J. Badros
1669305496 * common-list.scm: Added documentation; largely cut and pasted
from slib docs.
2000-02-14 01:49:48 +00:00
Mikael Djurfeldt
b1c7c8f1ec *** empty log message *** 2000-02-11 04:48:18 +00:00
Mikael Djurfeldt
1af9072d73 * format.scm (format): Reintroduce (define format format:format)
so that the binding in the public interface of the module will be OK.
2000-02-11 04:48:07 +00:00
Gary Houston
bd9e24b301 * strings.h: don't use SCM_P. don't include <string.h>.
* error.c, gh_data.c, ports.c, script.c, strop.c: include <string.h>.

	* strings.c (scm_string_ref): make the 2nd argument compulsory.
	previously it defaulted to zero for no good reason that I can see.
	use a local variable for SCM_INUM (k).  replace
	SCM_VALIDATE_INUM_DEF with SCM_VALIDATE_INUM_COPY.

	(scm_makfromstr): cosmetic changes.

	(scm_string): Accept only chars in the list, not strings, for
	conformance to R5RS (particularly for list->string, which is
	supposed to be the inverse of string->list.)  remove
	SCM_DEFER_INTS/SCM_ALLOW_INTS, which is unnecessary since
	scm_makstr handles the cell allocation.  when reporting wrong-type
	arg, don't report the position as 1.

	* posix.c (scm_init_posix): intern PIPE_BUF if it's defined.

	* boot-9.scm (find-and-link-dynamic-module): pass strings, not symbols,
	to string-append.
2000-01-31 18:29:56 +00:00
Gary Houston
28d77376bc * filesys.c (scm_select, retrieve_select_type, get_element,
fill_select_type, set_element): modified so that Scheme
	"select" tests port buffers for the ability to provide input
	or accept output.  Previously only the underlying file descriptors
	were checked.  Rewrote the docstring.

	* expect.scm (expect): don't call char-ready? before expect-select,
	since select now checks port buffers itself.  don't bother to check
	the time first either, since expect-select does it.
2000-01-29 18:04:38 +00:00
Greg J. Badros
078e909286 *** empty log message *** 2000-01-20 21:01:13 +00:00
Greg J. Badros
14469b7c69 * format.scm: Use (variable-set! (builtin-variable 'format)) to
re-define format to be format:format (instead of just define,
which interacts poorly with the module system).  Thanks to Shuji
Narazaki for this change.
2000-01-20 20:58:30 +00:00
Greg J. Badros
7965d98fd6 *** empty log message *** 2000-01-11 18:52:55 +00:00
Greg J. Badros
8641dd9e73 * boot-9.scm expect.scm, syncase.scm: Switch to new style
`simple-format' message strings: substitute ~A for %s, and ~S for
%S.

* boot-9.scm:  Added (define format simple-format) to expose that
primitive via the simpler name until format.scm is loaded.
2000-01-11 18:52:25 +00:00
Marius Vollmer
f73d2411a5 *** empty log message *** 2000-01-10 00:38:02 +00:00
Marius Vollmer
352d134ce5 * boot-9.scm (try-using-libtool-name): Do not bother to look
inside libtool ".la" file, dynamic-link does this for us now.
2000-01-10 00:33:39 +00:00
Gary Houston
f353a9e232 * slib.scm (library-vicinity, home-vicinity,
scheme-implementation-type, scheme-implemenation-version):
	use define-public to export from the module.
1999-12-15 18:12:44 +00:00
Greg J. Badros
e18a3a4d23 *** empty log message *** 1999-12-15 16:35:38 +00:00
Greg J. Badros
901f6de0a1 Search lots of different places, just to be safe, for now. 1999-12-15 16:35:07 +00:00
Greg J. Badros
e1442b1173 * doc.scm: Use `%library-dir', not the quickly defuncted
`library-dir' that I added before realizing the former existed.
Thanks Brad Knotwell!
1999-12-15 16:32:36 +00:00