summaryrefslogtreecommitdiff
path: root/ice-9
Commit message (Collapse)AuthorAgeFilesLines
* *** empty log message ***Greg J. Badros2000-03-091-0/+5
|
* * slib.scm: Back-out change to software-type -- renamedGreg J. Badros2000-03-091-1/+1
| | | | slib:software-type to software-type, and leave it non-public.
* *** empty log message ***Greg J. Badros2000-03-021-0/+5
|
* * boot-9.scm: Drop unused definition of sfx function -- thanksGreg J. Badros2000-03-021-2/+0
| | | | Dirk Hermann!
* *** empty log message ***Greg J. Badros2000-03-011-0/+5
|
* * streams.scm: Doc patch from Richard Kim, using MIT Scheme asGreg J. Badros2000-03-011-0/+12
| | | | source of the numerous very short changes.
* *** empty log message ***Greg J. Badros2000-02-141-0/+13
|
* * slib.scm: Rename software-type to slib:software-type and make itGreg J. Badros2000-02-142-2/+69
| | | | | | | public. * r4rs.scm: Added documentation; largely cut and pasted from R4RS info pages.
* * common-list.scm: Added documentation; largely cut and pastedGreg J. Badros2000-02-141-20/+70
| | | | from slib docs.
* *** empty log message ***Mikael Djurfeldt2000-02-111-0/+5
|
* * format.scm (format): Reintroduce (define format format:format)Mikael Djurfeldt2000-02-111-2/+2
| | | | so that the binding in the public interface of the module will be OK.
* * strings.h: don't use SCM_P. don't include <string.h>.Gary Houston2000-01-312-3/+8
| | | | | | | | | | | | | | | | | | | | | | | * 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.
* * filesys.c (scm_select, retrieve_select_type, get_element,Gary Houston2000-01-292-6/+12
| | | | | | | | | | | 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.
* *** empty log message ***Greg J. Badros2000-01-201-0/+7
|
* * format.scm: Use (variable-set! (builtin-variable 'format)) toGreg J. Badros2000-01-201-1/+3
| | | | | | 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.
* *** empty log message ***Greg J. Badros2000-01-111-0/+9
|
* * boot-9.scm expect.scm, syncase.scm: Switch to new styleGreg J. Badros2000-01-113-4/+7
| | | | | | | | `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.
* *** empty log message ***Marius Vollmer2000-01-101-0/+5
|
* * boot-9.scm (try-using-libtool-name): Do not bother to lookMarius Vollmer2000-01-101-11/+1
| | | | inside libtool ".la" file, dynamic-link does this for us now.
* * slib.scm (library-vicinity, home-vicinity,Gary Houston1999-12-152-4/+10
| | | | | scheme-implementation-type, scheme-implemenation-version): use define-public to export from the module.
* *** empty log message ***Greg J. Badros1999-12-151-0/+6
|
* Search lots of different places, just to be safe, for now.Greg J. Badros1999-12-151-3/+3
|
* * doc.scm: Use `%library-dir', not the quickly defunctedGreg J. Badros1999-12-151-2/+2
| | | | | `library-dir' that I added before realizing the former existed. Thanks Brad Knotwell!
* *** empty log message ***Greg J. Badros1999-12-131-0/+4
|
* * Makefile.am, doc.scm: Added doc.scm.Greg J. Badros1999-12-132-1/+138
|
* *** empty log message ***Greg J. Badros1999-12-131-0/+5
|
* * popen.scm, slib.scm: Added some docstrings for procedures thatGreg J. Badros1999-12-132-1/+19
| | | | were primitives that I encountered in posix.texi.
* New file.Gary Houston1999-11-191-0/+83
|
* * acconfig.h: add HAVE_ARRAYS.Gary Houston1999-11-193-64/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: add --disable-arrays option, probably temporary. * the following changes allow guile to be built with the array "module" omitted. some of this stuff is just tc7 type support, which wouldn't be needed if uniform array types were converted to smobs. * tag.c (scm_utag_bvect ... scm_utag_cvect): don't define unless HAVE_ARRAYS. (scm_tag): don't check array types unless HAVE_ARRAYS. * sort.c (scm_restricted_vector_sort_x, scm_sorted_p): remove the unused array types. * (scm_stable_sort, scm_sort): don't support vectors if not HAVE_ARRAYS. a bit excessive. * random.c (vector_scale, vector_sum_squares, scm_random_solid_sphere_x, scm_random_hollow_sphere_x, scm_random_normal_vector_x): don't define unless HAVE_ARRAYS. * gh_data.c (makvect, gh_chars2byvect, gh_shorts2svect, gh_longs2ivect, gh_ulongs2uvect, gh_floats2fvect, gh_doubles2dvect, gh_uniform_vector_length, gh_uniform_vector_ref): don't define unless HAVE_ARRAYS. (gh_scm2chars, gh_scm2shorts, gh_scm2longs, gh_scm2floats, gh_scm2doubles): don't check vector types if not HAVE_ARRAYS. * eq.c (scm_equal_p), eval.c (SCM_CEVAL), print.c (scm_iprin1), gc.c (scm_gc_mark, scm_gc_sweep), objects.c (scm_class_of): don't support the array types unless HAVE_ARRAYS is defined. * tags.h: make nine tc7 types conditional on HAVE_ARRAYS. * read.c (scm_lreadr): don't check for #* unless HAVE_ARRAYS is defined (this should use read-hash-extend). * ramap.c, unif.c: don't check whether ARRAYS is defined. * vectors.c (scm_vector_set_length_x): moved here from unif.c. call scm_uniform_element_size if HAVE_ARRAYS. vectors.h: prototype too. * unif.c (scm_uniform_element_size): new procedure. * init.c (scm_boot_guile_1): don't call scm_init_ramap or scm_init_unif unless HAVE_ARRAYS is defined. * __scm.h: don't define ARRAYS. * Makefile.am (EXTRA_libguile_la_SOURCES): unif.c and ramap.c moved here from libguile_la_SOURCES. * Makefile.am (ice9_sources): add arrays.scm. * boot-9.scm: load arrays.scm if 'array is provided. * arrays.scm: new file with stuff from boot-9.scm.
* * configure.in: check for hstrerror.Gary Houston1999-11-183-6/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * socket.c (scm_htons, scm_ntohs, scm_htonl, scm_ntohl): new functions for network data conversion. * numbers.c (scm_num2long, scm_num2longlong): throw out-of-range instead of wrong-type-arg if appropriate. (scm_iint2str): handle -2^31 correctly. (scm_num2long): handle -2^31 bignum correctly. (scm_num2long_long): rewrite the bigdig case: basically copied from scm_num2long. numbers.h: (SCM_BITSPERLONGLONG): deleted. * unif.c (rapr1): use sprintf instead of intprint for unsigned longs: intprint can't cope with large values. * numbers.c (scm_num2ulong): check more consistently that the input is not negative. if it is, throw out-of-range instead of wrong-type-arg. * ramap.c (scm_array_fill_int): don't limit fill to INUM for uvect, ivect or llvect. Check that fill doesn't overflow short uniform array. * __scm.h: add another long to the definition of long_long and ulong_long. * unif.c (scm_raprin1): use 'l' instead of "long_long" in the print representation of llvect. read can't handle more than one character. (scm_dimensions_to_uniform_array): make "fill" an optional argument instead of a rest argument. * tags.h (scm_tc7_llvect): wasn't defined anywhere, so use the free tag 29 for now. * __scm.h: don't mention LONGLONGS. * unif.c, numbers.c, eq.c, gc.c, print.c, eval.c, ramap.c: replace LONGLONGS with HAVE_LONG_LONGS as set by configure. * net_db.c (scm_inet_aton): throw errors using the misc-error key instead of system-error. inet_aton doesn't set errno. system-error isn't right in gethost either, since it's throwing the value of h_errno instead of errno. so: (scm_host_not_found_key, scm_try_again_key, scm_no_recovery_key, scm_no_data_key): new error keys. (scm_resolv_error): new procedure, use the new keys. (scm_gethost): call scm_resolv_error not scm_syserror_msg. * error.c: (various): use scm_cons instead of scm_listify to build short lists. * boot-9.scm (read-hash-extend to set up arrays): add 'l' for long_long uniform vectors. * networking.scm (sethostent, setnetent, setprotoent, setservent): take an optional argument STAYOPEN. default is #f. * readline.c (scm_init_readline): set rl_readline_name to Guile, to allow conditionals in .inputrc.
* *** empty log message ***Jim Blandy1999-10-051-0/+1
|
* *** empty log message ***Jim Blandy1999-10-051-0/+5
|
* * Makefile.in: Deleted from CVS repository. Run the autogen.shJim Blandy1999-10-051-0/+0
| | | | script to create generated files like this one.
* Revert back to text generated by automake 1.4.Jim Blandy1999-10-021-262/+0
|
* *** empty log message ***Greg J. Badros1999-09-271-5/+6
|
* support new configure options: --disable-posix, --disable-netGary Houston1999-09-266-157/+190
| | | | and --disable-regex.
* *** empty log message ***Mikael Djurfeldt1999-09-161-0/+6
|
* * debugger.scm (read-and-dispatch-commands): Handle other throwsMikael Djurfeldt1999-09-161-8/+24
| | | | than 'exit-debugger.
* * boot-9.scm (before-signal-stack): New fluid.Mikael Djurfeldt1999-09-161-0/+4
| | | | (top-repl): Set before-signal-stack in the signal handler.
* *** empty log message ***Mikael Djurfeldt1999-09-161-0/+4
|
* * debugger.scm (eval-handler): Handle unhandled exceptions.Mikael Djurfeldt1999-09-161-4/+9
|
* *** empty log message ***Mikael Djurfeldt1999-09-161-0/+11
|
* * debugger.scm ("p"): New alias for "evaluate";Mikael Djurfeldt1999-09-161-11/+41
| | | | | | | | | | Mark module with :no-backtrace. ("position"): New command. (source-position, display-position): New procedures. (display-source): Display position of expression, if available. (catch-user-errors): Return #f on error. (Commands are expected to return a valid state.) (read-and-dispatch-command): Bugfix: Return old state on error.
* *** empty log message ***Jim Blandy1999-09-161-0/+6
|
* * regex.scm (regexp-substitute/global): Handle the end of theJim Blandy1999-09-161-6/+3
| | | | | match list and an empty match list identically. (Thanks to Greg Badros.)
* *** empty log message ***Mikael Djurfeldt1999-09-151-0/+5
|
* * debugger.scm ("evaluate"): Replaced `write-line' with calls toMikael Djurfeldt1999-09-151-1/+2
| | | | `write' and `newline' since write-line doesn't write but displays.
* RegeneratedMikael Djurfeldt1999-09-121-4/+2
|
* *** empty log message ***Mikael Djurfeldt1999-09-121-3/+5
|
* * debugger.scm ("evaluate"): Newline after no env announcement.Mikael Djurfeldt1999-09-121-10/+9
|