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

340 commits

Author SHA1 Message Date
Marius Vollmer
c8519a82f2 (scm_string_tokenize): Instead of using "isgraphic" as the subtitute
for char-set:graphic when then token-set hsa been defaulted, grab the
real char-set:graphic from (srfi srfi-14).
2002-05-06 18:44:02 +00:00
Marius Vollmer
139e5cb2fb (SCM_CHARSET_GET): Cast IDX to unsigned char so that it works for
8-bit characters.  Thanks to Matthias Koeppe!  No, make that "Köppe".
2002-05-06 18:43:54 +00:00
Marius Vollmer
54d4ac1f44 *** empty log message *** 2002-04-26 18:35:42 +00:00
Marius Vollmer
aa6a37ea2e (s_scm_string_tokenize): Only take character sets as the second arg.
Collect characters belonging to this set into tokens (as specified by
the SRFI), instead of splitting at these characters.  Default to an
equivalent of char-set:graphic instead of everything-but-whitespace.
Thanks to Matthias Koeppe!
2002-04-26 18:34:21 +00:00
Rob Browning
21550b108e *** empty log message *** 2002-04-11 04:41:40 +00:00
Rob Browning
caa6d6ecec * .cvsignore: add *.c.clean.c. 2002-04-11 04:31:09 +00:00
Thien-Thi Nguyen
cdfc4a7ddd *** empty log message *** 2002-03-28 01:41:35 +00:00
Thien-Thi Nguyen
6be07c5278 Update copyright.
Point to manual in commentary; nfc.
2002-03-28 01:39:12 +00:00
Thien-Thi Nguyen
0706ae06dc Update copyright.
Add commentary; nfc.
2002-03-28 00:21:04 +00:00
Thien-Thi Nguyen
ead4514696 *** empty log message *** 2002-03-28 00:18:13 +00:00
Marius Vollmer
e2bd68e02c *** empty log message *** 2002-03-24 13:49:14 +00:00
Marius Vollmer
2c7a286a97 (.c.x): Pass "-o $@" to guile-snarf. 2002-03-24 13:48:34 +00:00
Thien-Thi Nguyen
ffaf65cdd0 *** empty log message *** 2002-03-14 04:12:16 +00:00
Thien-Thi Nguyen
49569f6389 (snarfcppopts): New var.
(.c.x): Use $(snarfcppopts). Rework guile-snarf usage.
2002-03-14 04:11:28 +00:00
Thien-Thi Nguyen
2cd7ecb938 *** empty log message *** 2002-03-14 04:08:23 +00:00
Thien-Thi Nguyen
645f5e0ec1 Retire inclusion guard macro SCM_MAGIC_SNARFER. 2002-03-14 04:07:16 +00:00
Marius Vollmer
16d98032a4 *** empty log message *** 2002-03-11 17:52:56 +00:00
Marius Vollmer
bd7c7fc637 (string_titlecase_x): Treat characters as unsigned so that 8-bit chars
work.  Thanks to David Pirotte!
2002-03-11 17:52:41 +00:00
Rob Browning
4615111283 *** empty log message *** 2002-02-25 05:52:38 +00:00
Rob Browning
6040f80a5a * Makefile.am (libguile_srfi_srfi_4_la_LDFLAGS): use
@LIBGUILE_SRFI_SRFI_4_INTERFACE@.
(libguile_srfi_srfi_13_14_la_LDFLAGS): use
@LIBGUILE_SRFI_SRFI_13_14_INTERFACE@.
2002-02-25 05:50:48 +00:00
Neil Jerram
359b471e26 * Fix date-week-number bug in srfi-19.scm. 2002-02-23 22:24:24 +00:00
Neil Jerram
cd328b4fef * Fix a typo that crept in with the scm_X_t to scm_t_X rename.
* Partial fix for date-week-number bug.
2002-02-22 23:14:38 +00:00
Marius Vollmer
7c686ba857 *** empty log message *** 2002-02-11 18:09:30 +00:00
Marius Vollmer
6c70aef189 Use scm_gc_malloc/scm_malloc and scm_gc_free/free instead of
scm_must_malloc and scm_must_free, as appropriate.
2002-02-11 18:09:15 +00:00
Thien-Thi Nguyen
229d2c9c07 *** empty log message *** 2002-01-21 21:32:37 +00:00
Thien-Thi Nguyen
e4cb30dff3 (count1, take-while): Rewrite to be tail-recursive.
Thanks to Panagiotis Vossos.
2002-01-21 21:31:34 +00:00
Thien-Thi Nguyen
c323f1f42e *** empty log message *** 2002-01-21 01:12:37 +00:00
Thien-Thi Nguyen
513a3bd72d (map1): Rewrite to be tail-recursive.
Thanks to Panagiotis Vossos for the bug report.
2002-01-21 01:11:35 +00:00
Marius Vollmer
197ee3d388 *** empty log message *** 2001-12-16 21:58:33 +00:00
Marius Vollmer
7733436f7b (let-values): Use gensym' instead of gentemp'. 2001-12-16 21:58:24 +00:00
Neil Jerram
ee148ae7b9 * Add ETAGS_ARGS decls so that more stuff gets tagged. 2001-12-01 15:55:54 +00:00
Marius Vollmer
5d8fc6409a *** empty log message *** 2001-11-12 01:14:26 +00:00
Marius Vollmer
1f5376556f Use HAVE_LONG_LONG instead of HAVE_LONG_LONGS and test
it with `#ifdef' instead of `#if'.
2001-11-12 01:14:17 +00:00
Neil Jerram
9401323e63 * Documentation work. 2001-11-11 15:01:52 +00:00
Thien-Thi Nguyen
23b1bf4b7a *** empty log message *** 2001-11-06 22:22:38 +00:00
Thien-Thi Nguyen
ee4beedcf4 (time-monotonic->time-monotonic): Spurious; remove from exports. 2001-11-06 22:21:29 +00:00
Stefan Jahn
8f99e3f38b 2001-11-04 Stefan Jahn <stefan@lkcc.org>
* NEWS: Corrected remarks about SCM_API.

        * configure.in: Defining USE_DLL_IMPORT definition to indicate
        usage of DLL import macros in `libguile/__scm.h'.
        (LIBOBJS): Removed `fileblocks.o' from the list of object files.
        Somehow Jim Blandy's patch from 1997 did not survive.

2001-11-04  Stefan Jahn  <stefan@lkcc.org>

        * configure.in (EXTRA_DEFS): Follow-up patch.  Using SCM_IMPORT
        instead of __SCM_IMPORT__.

        * readline.c (scm_readline_init_ports): Disable input/output
        stream redirection for Win32.  The readline package for Win32
        does not support this.  The guile-readline library works fine
        for command line editing.

        * readline.h (SCM_RL_API): Renamed __FOO__ macros into FOO.

2001-11-04  Stefan Jahn  <stefan@lkcc.org>

        * Makefile.am (libguile_la_LIBADD): Added $(THREAD_LIBS_LOCAL)
        here (was at guile_LDADD) which describes the dependency
        correctly and allows a clean build on Win32.

        * __scm.h (SCM_API): Follow-up patch.  Renamed __FOO__ macros
        into FOO.

        * __scm.h: USE_DLL_IMPORT indicates the usage of the DLL
        import macros for external libraries (libcrypt, libqthreads,
        libreadline and libregex).

        * coop-defs.h: Include <winsock2.h> for `struct timeval'.

        * posix.c (flock): Added support for flock() in M$-Windows.

        * guile.c (SCM_IMPORT): Follow-up patch.  Use SCM_IMPORT instead
        of __SCM_IMPORT__.

        * fports.c (getflags): Differentiate reading and writing pipes
        descriptors.

        * filesys.c (S_IS*): Redefine all of the S_IS*() macros for
        M$-Windows.

        * coop.c (coop_condition_variable_timed_wait_mutex): Use
        conditionalized error code if `ETIMEDOUT' is not available.
        (scm_thread_usleep): Remove bogus declaration of `struct timeval
        timeout'.

        * numbers.c (PTRDIFF_MIN): Moved this definition where it actually
        belongs.  That is because NO_PREPRO_MAGIC gets undefined after
        each inclusion of `num2integral.i.c'.
        (SIZE_MAX): Define NO_PREPRO_MAGIC if SIZE_MAX is undefined.

2001-11-04  Stefan Jahn  <stefan@lkcc.org>

        * md/Makefile.am (EXTRA_DIST): Added `i386.asm'.

        * md/i386.asm: New file.  Contains the Intel syntax version for
        nasm/tasm/masm of the file `i386.s'.

        * qt.h.in: Definition of QT_API, QT_IMPORT and QT_EXPORT.
        Prefixed each symbols which is meant to go into a DLL.

        * Makefile.am (libqthreads_la_LDFLAGS):  Put `-no-undefined'
        into LDFLAGS to support linkers which do not allow unresolved
        symbols inside shared libraries.
        (EXTRA_DIST): Add `libqthreads.def', which is an export file
        definition for M$-Windows.  It defines exported symbols.  This is
        necessary because the M$VC linker does not know how to export
        assembler symbols into a DLL.

2001-11-04  Stefan Jahn  <stefan@lkcc.org>

        * srfi-13.h, srfi-14.h, srfi-4.h: Follow-up patch.  Renamed
        __FOO__ macros into FOO.

2001-11-04  Stefan Jahn  <stefan@lkcc.org>

        * tests/ports.test: Run (close-port) before (delete-file) if
        necessary/advisory.
2001-11-04 15:52:30 +00:00
Marius Vollmer
836b65573d *** empty log message *** 2001-11-03 23:06:47 +00:00
Marius Vollmer
56b0cb03eb (libguile_srfi_srfi_4_la_LIBADD, libguile_srfi_srfi_13_14_la_LIBADD):
Refer to build directory, not the source directory, for libguile.la.
Thanks to Ken Raeburn.
2001-11-03 23:06:40 +00:00
Marius Vollmer
f712d833cc *** empty log message *** 2001-11-02 00:21:34 +00:00
Marius Vollmer
064a03fd19 Defined SCM_SRFI4_API. Prefixed each exported
symbol with SCM_SRFI4_API.
2001-11-02 00:21:25 +00:00
Marius Vollmer
88a9347187 Defined SCM_SRFI1314_API. Prefixed each
exported symbol with SCM_SRFI1314_API.
2001-11-02 00:21:17 +00:00
Marius Vollmer
cb0abacf36 Put `-no-undefined' into LDFLAGS to support linkers
which do not allow unresolved symbols inside shared libraries.
2001-11-02 00:19:42 +00:00
Mikael Djurfeldt
1a179b03b0 * lib.scm: Move module the system directives `export',
`export-syntax', `re-export' and `re-export-syntax' into the
  `define-module' form.  This is the recommended way of exporting
  bindings.

* srfi-2.scm, srfi-4.scm, srfi-8.scm, srfi-9.scm, srfi-10.scm,
srfi-11.scm, srfi-14.scm, srfi-16.scm: Move module the system
directives `export', `export-syntax', `re-export' and
`re-export-syntax' into the `define-module' form.  This is the
recommended way of exporting bindings.

* goops.scm, goops/active-slot.scm, goops/compile.scm,
goops/composite-slot.scm, goops/describe.scm, goops/dispatch.scm,
goops/old-define-method.scm, goops/save.scm, goops/util.scm: Move
module the system directives `export', `export-syntax',
`re-export' and `re-export-syntax' into the `define-module' form.
This is the recommended way of exporting bindings.

* slib.scm (array-indexes): New procedure.
(*features*): Extend.  (Probably some of these options should be
set elsewhere.)  (Thanks to Aubrey Jaffer.)

* and-let-star-compat.scm, and-let-star.scm, calling.scm,
  channel.scm, common-list.scm, debug.scm, debugger.scm,
  expect.scm, hcons.scm, lineio.scm, ls.scm, mapping.scm,
  null.scm, optargs.scm, poe.scm, popen.scm, pretty-print.scm,
  q.scm, r5rs.scm, rdelim.scm, regex.scm, runq.scm, safe-r5rs.scm,
  safe.scm, session.scm, slib.scm, streams.scm, string-fun.scm,
  syncase.scm, threads.scm: Move module the system directives
  `export', `export-syntax', `re-export' and `re-export-syntax'
  into the `define-module' form.  This is the recommended way of
  exporting bindings.
2001-10-21 09:49:19 +00:00
Mikael Djurfeldt
b21cccf315 * srfi-19.scm (priv:split-real): Inserted missing call to
inexact->exact.
2001-09-22 21:17:31 +00:00
Rob Browning
0b073f0f14 *** empty log message *** 2001-09-21 17:58:04 +00:00
Rob Browning
cc0ce1e764 * srfi-14.c (SCM_CHARSET_SET): need 1L, not just 1 in "<<".
(scm_char_set_hash): val needs to be long, not just unsigned.
(scm_char_set): need 1L, not just 1 in "<<".
(scm_list_to_char_set): need 1L, not just 1 in "<<".
(scm_list_to_char_set_x): need 1L, not just 1 in "<<".
(scm_list_to_char_set_x): FUNC_NAME was wrong - added a _x.
(scm_string_to_char_set): string length var needed to be
scm_sizet, not int.
(scm_string_to_char_set): need 1L, not just 1 in "<<".
(scm_string_to_char_set_x): string length var needed to be
scm_sizet, not int.
(scm_string_to_char_set_x): need 1L, not just 1 in "<<".
(scm_char_set_filter): need 1L, not just 1 in "<<".
(scm_char_set_filter_x): need 1L, not just 1 in "<<".
(scm_ucs_range_to_char_set): need 1L, not just 1 in "<<".
(scm_ucs_range_to_char_set_x): need 1L, not just 1 in "<<".
(scm_char_set_adjoin): need 1L, not just 1 in "<<".
(scm_char_set_delete): need 1L, not just 1 in "<<".
(scm_char_set_adjoin_x): need 1L, not just 1 in "<<".
(scm_char_set_delete_x): need 1L, not just 1 in "<<".
2001-09-21 17:55:07 +00:00
Rob Browning
3a868e486c * srfi-14.h (SCM_CHARSET_GET): need 1L, not just 1 in "<<". 2001-09-21 17:54:56 +00:00
Gary Houston
6ddd941279 2001-09-12 Gary Houston <ghouston@arglist.com>
* srfi-1.scm (filter): change "caller" to "filter" in check-arg-type.
2001-09-12 19:15:33 +00:00
Dirk Herrmann
8c494e9973 * Removed lots of deprecated stuff. 2001-08-31 14:42:31 +00:00