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

389 commits

Author SHA1 Message Date
Marius Vollmer
627861983e *** empty log message *** 2004-05-11 19:08:24 +00:00
Marius Vollmer
9ac10bbeb6 (scm_string_trim, scm_string_trim_right, scm_string_trim_both): Cast
to unsigned char for isspace.
2004-05-11 19:07:39 +00:00
Dirk Herrmann
6aef9d2b81 * srfi-17.scm (setter, car, cdr etc.): When within one define
expression a new variable in the local module is defined in terms
	of an equally named variable from some other module, use @ to
	refer to the variable in the other module.  This is necessary due
	to section 5.2.1 of R5RS: In a define expression first the new
	binding is created and then the expression is evaluated.
2004-04-24 08:48:58 +00:00
Kevin Ryde
3f34399562 *** empty log message *** 2004-04-23 21:26:21 +00:00
Kevin Ryde
6e98021b0a (list-copy): New function, allowing improper lists as per
SRFI-1 spec, which the core list-copy doesn't do.
2004-04-23 21:22:33 +00:00
Kevin Ryde
7301de799a *** empty log message *** 2004-04-23 21:20:17 +00:00
Kevin Ryde
7c9da364a4 (let-values): Use make-symbol rather than gensym, for
guaranteed uniqueness of temp variable symbols.
2004-04-23 21:14:20 +00:00
Kevin Ryde
5f663d6cdc *** empty log message *** 2004-04-17 23:23:52 +00:00
Kevin Ryde
6a9d6cc194 (let-values): Use gensym instead of gentemp, to avoid
deprecation warning from the latter.  Reported by Andreas Rottmann.
(Same change made by Marius in the cvs head.)
2004-04-17 23:22:33 +00:00
Kevin Ryde
05fa9121e9 *** empty log message *** 2004-04-15 00:38:30 +00:00
Kevin Ryde
597e2cbd13 (scm_string_trim, scm_string_trim_right, scm_string_trim_both):
Cast to unsigned char for isspace.
2004-04-15 00:29:03 +00:00
Han-Wen Nienhuys
84fad13058 * srfi-13.c (s_scm_string_map): convert character to unsigned char
before converting to unsigned int. This prevents hi-bit ascii as
being converted large integers.
(string_upcase_x): change caller for scm_{up,down}case to
scm_c_{up,down}case

* chars.h (scm_init_chars): change scm_{upcase,downcase} to
scm_c_{up,down}case.
(SCM_MAKE_CHAR): add (unsigned char) cast. This prevents havoc
when hi-bit ASCII is subjected to SCM_MAKE_CHAR().
2004-04-06 21:48:02 +00:00
Kevin Ryde
c344fddd82 *** empty log message *** 2004-03-22 23:30:49 +00:00
Kevin Ryde
2d411b0506 (circular-list): Rewrite using set-cdr!, no need to copy parameter list. 2004-03-22 23:27:46 +00:00
Kevin Ryde
fd1517d8de Add copyright and license notice.
(Note code was written in 2002, but only checked-in in 2004.)
2004-02-11 23:36:58 +00:00
Mikael Djurfeldt
f1dc5f45ab * Makefile.am (TAGS_FILES): Use this variable instead of
ETAGS_ARGS so that TAGS can be built using separate build
directory.

* Makefile.am (TAGS_FILES): Use this variable instead of
ETAGS_ARGS so that TAGS can be built using separate build
directory.

* debugger/breakpoints/Makefile.am (TAGS_FILES),
debugger/Makefile.am (TAGS_FILES), Makefile.am (TAGS_FILES): Use
this variable instead of ETAGS_ARGS so that TAGS can be built
using separate build directory.

* primitives/Makefile.am (TAGS_FILES), internals/Makefile.am
(TAGS_FILES), Makefile.am (TAGS_FILES): Use this variable instead
of ETAGS_ARGS so that TAGS can be built using separate build
directory.

* Makefile.am, goops/Makefile.am (TAGS_FILES): Use this variable
instead of ETAGS_ARGS so that TAGS can be built using separate
build directory.

* Makefile.am (TAGS_FILES): Use this variable instead of
ETAGS_ARGS so that TAGS can be built using separate build
directory.
2004-02-09 01:48:34 +00:00
Rob Browning
1d69d405d5 *** empty log message *** 2004-02-01 21:42:30 +00:00
Rob Browning
e25853106e (srfi_DATA): add srfi-31.scm. 2004-02-01 21:41:23 +00:00
Rob Browning
819f477aba new file. 2004-02-01 21:41:11 +00:00
Marius Vollmer
67314101f8 *** empty log message *** 2004-01-24 01:23:16 +00:00
Marius Vollmer
c541e247ae (srfi_DATA): Added srfi-26.scm. 2004-01-24 01:22:59 +00:00
Marius Vollmer
9a5fc8c203 *** empty log message *** 2004-01-21 00:47:50 +00:00
Marius Vollmer
feeef4fb40 New, from Daniel Skarda. Thanks! 2004-01-21 00:46:10 +00:00
Kevin Ryde
b35072cde6 *** empty log message *** 2003-12-02 21:14:03 +00:00
Kevin Ryde
c6424115fe (map!): Define as an alias for map, previous definition was not tail-recursive. 2003-12-02 21:13:42 +00:00
Kevin Ryde
110348aee9 (count): Rewrite in C, avoiding non-tail recursion. 2003-12-02 21:12:20 +00:00
Kevin Ryde
4449eb27bf *** empty log message *** 2003-08-26 00:18:03 +00:00
Kevin Ryde
dab3d424b0 (date-week-number): Correction, day of week starting
week applied was off by one.
2003-08-26 00:14:28 +00:00
Kevin Ryde
a54e06e5cd *** empty log message *** 2003-08-22 22:37:52 +00:00
Kevin Ryde
d61261f07d (list-copy): New function, derived
from core list-copy but allowing improper lists, per SRFI-1 spec.
2003-08-22 22:36:18 +00:00
Kevin Ryde
ab8f1b99f1 Add a copyright year. 2003-08-22 22:29:29 +00:00
Kevin Ryde
f3cc3dabe6 (date-week-number): Correction, day of week starting
week applied was off by one.
2003-08-22 22:28:53 +00:00
Kevin Ryde
8e5b4b9e34 *** empty log message *** 2003-07-28 23:59:47 +00:00
Kevin Ryde
de51f5955d (length+): Rewrite using scm_ilength. 2003-07-28 23:54:39 +00:00
Kevin Ryde
af2cc7198d Add cond-expand-provide srfi-34. 2003-07-28 23:46:48 +00:00
Kevin Ryde
47f2726f4c (concatenate, concatenate!): Use scm_append and scm_append_x. 2003-07-28 23:43:51 +00:00
Kevin Ryde
e7cc532b32 *** empty log message *** 2003-07-13 23:08:13 +00:00
Kevin Ryde
65978fb2bd 2003-07-14 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
* srfi-1.c, srfi-1.h (scm_srfi1_partition), srfi-1.scm (partition):
	Re-implement in C to avoid stack overflows for long input lists.
2003-07-13 23:05:31 +00:00
Kevin Ryde
e5a74c26a3 *** empty log message *** 2003-07-08 00:15:23 +00:00
Kevin Ryde
9388c70ac0 (delete, delete!, delete-duplicates, delete-duplicates!): Remove. 2003-07-08 00:10:42 +00:00
Kevin Ryde
f27e84434a (scm_srfi1_delete, scm_srfi1_delete_x,
scm_srfi1_delete_duplicates, scm_srfi1_delete_duplicates_x): New
functions.
2003-07-08 00:09:54 +00:00
Kevin Ryde
d0a634de7d (scm_srfi1_delete, scm_srfi1_delete_x,
scm_srfi1_delete_duplicates, scm_srfi1_delete_duplicates_x): New
functions.  scm_srfi1_delete_x is derived from scm_delete_x.
2003-07-08 00:09:17 +00:00
Kevin Ryde
f24783754b *** empty log message *** 2003-06-06 22:38:48 +00:00
Kevin Ryde
056c43e7db #:re-export open-input-string, open-output-string and
get-output-string, for the benefit of applications wanting to use
#:select on the module.
2003-06-06 22:36:17 +00:00
Stefan Jahn
2e945bccca 2003-05-29 Stefan Jahn <stefan@lkcc.org>
* configure.in: Removed -lm check and added a cached check for
        __libc_stack_end to get it building for mingw32 hosts.

2003-05-29  Stefan Jahn  <stefan@lkcc.org>

        * win32-dirent.c: Use malloc() instead of scm_malloc().

        * stime.c (s_scm_strftime): Add a type cast to avoid compiler
        warning.

        * posix.c (s_scm_putenv): Disable use of unsetenv() for the
        mingw32 build.

        * modules.c (s_scm_module_import_interface): Renamed local
        variable interface to _interface.  Seems like 'interface'
        is a special compiler directive for the mingw32 compiler.

        * mkstemp.c: Provide prototype to avoid compiler warning.

        * load.c (s_scm_search_path): Fixed absolute and relative
        path detections for native Windows platforms.

        * gc.h, threads.h: Export some more symbols using SCM_API
	(necessary to build on mingw32).

        * gc-freelist.c ("s_scm_map_free_list",
        "s_scm_gc_set_debug_check_freelist_x"): Fixed use of FUNC_NAME.

        * fports.c (fport_fill_input): Disable use of
        fport_wait_for_input() on Win32 platforms.

        * filesys.c (s_scm_basename): Fixed __MINGW32__ code.

        * Makefile.am: Modified some rules for cross compiling.

2003-05-29  Stefan Jahn  <stefan@lkcc.org>

        * raw-ltdl.c: Some more modifications for mingw32 platforms.

2003-05-29  Stefan Jahn  <stefan@lkcc.org>

        * Makefile.am (libguile_srfi_srfi_1_la_LDFLAGS,
        libguile_srfi_srfi_4_la_LDFLAGS,
        libguile_srfi_srfi_13_14__la_LDFLAGS): Added the -no-undefined
        option for the mingw32 build.

2003-05-29  Stefan Jahn  <stefan@lkcc.org>

        * standalone/Makefile.am: Setup to build on mingw32.
2003-05-29 14:39:13 +00:00
Kevin Ryde
735a60b2b1 *** empty log message *** 2003-05-16 01:04:55 +00:00
Kevin Ryde
344c4c7e21 (delete): Fix predicate arg order to match srfi-1 spec. 2003-05-16 01:04:21 +00:00
Kevin Ryde
a658e41bee *** empty log message *** 2003-05-12 23:04:23 +00:00
Kevin Ryde
56adbd75d4 (delete): Fix predicate arg order to match srfi-1 spec. 2003-05-12 23:02:01 +00:00
Kevin Ryde
9c8721b55e *** empty log message *** 2003-05-09 22:43:00 +00:00