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

8572 commits

Author SHA1 Message Date
Stefan Jahn
1e498fbd0f 2003-05-30 Stefan Jahn <stefan@lkcc.org>
* configure.in: Checking for unsetenv().

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

        * posix.c (s_scm_putenv): Use the new HAVE_UNSETENV
        appropriately for mingw32 hosts.

        * numbers.h: Defining copysign(), isnan() and finite() to
        be prefixed by a single '_' for mingw32 hosts.
2003-05-30 09:39:34 +00:00
Kevin Ryde
c47e2599cb *** empty log message *** 2003-05-30 00:28:04 +00:00
Kevin Ryde
501da40398 (max, min): Add tests involving NaNs. 2003-05-30 00:24:33 +00:00
Kevin Ryde
713a425913 (z_negative_one): New variable.
(scm_init_numbers): Initialize it.
(scm_logcount): Use it and mpz_hamdist to count zeros for negatives.
2003-05-30 00:23:11 +00:00
Kevin Ryde
5f653c6a56 (Default Ports): Remove duplicate descriptions of
set-current-output-port and set-current-error-port.
2003-05-30 00:17:01 +00:00
Kevin Ryde
ab27fb593a Add substring-move-left! and substring-move-right!. 2003-05-30 00:13:33 +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
Dirk Herrmann
42ad901d04 * benchmark-suite/lib.scm: Fix some typos in the documentation.
* doc/ref/scheme-compound.texi: Clarified that vectors need to
       be quoted.

       * doc/tutorial/guile-tut.texi: Fix example, where a vector
       constant is used without quoting.

       * ice-9/boot-9.scm (make-autoload-interface): Added missing
       quote around vector constant.

       * test-suite/tests/elisp.test: Added missing quote around vector
       constants.
2003-05-27 18:33:19 +00:00
Kevin Ryde
5e25cd3925 *** empty log message *** 2003-05-26 01:00:59 +00:00
Kevin Ryde
74f76d628f (Locales): Clarify setlocale a bit, list all categories,
cross reference to libc.
2003-05-26 01:00:22 +00:00
Dirk Herrmann
ddd8f927d8 * libguile/eval.c (SCM_CEVAL): In case of an application, all checks
for a proper function object and the correct number of arguments are
	now performed in the application part of SCM_CEVAL.

	(scm_badformalsp):  Removed.

	* test-suite/tests/r5rs_pitfall.test: Test 2.1 now passes.
2003-05-25 07:50:23 +00:00
Dirk Herrmann
f8ba2197fa * deprecated.c (scm_read_and_eval_x): Fixed C99-ism. 2003-05-25 05:13:17 +00:00
Kevin Ryde
f9c3ffce4d *** empty log message *** 2003-05-24 01:58:54 +00:00
Kevin Ryde
b40b794522 ChangeLog'ed 2003-05-12, forgot to commit until now:
(Complex): Show z argument in prototypes.
2003-05-23 23:51:27 +00:00
Kevin Ryde
effc9024d2 (The Scheme shell (scsh)): Add index entries. 2003-05-23 23:46:20 +00:00
Kevin Ryde
a44758e709 Add index entries lambda, optargs, syncase. 2003-05-23 23:44:25 +00:00
Kevin Ryde
8c24f46e80 Revert this change:
(SRFI-13 Miscellaneous): In string-replace, start1 and end1 are not optional.
2003-05-23 23:43:18 +00:00
Kevin Ryde
5cd8b2d73e (SRFI-13 Miscellaneous): In string-replace, start1 and end1 are not optional. 2003-05-23 21:35:30 +00:00
Mikael Djurfeldt
a502595f05 (NUM2INTEGRAL): Avoid warning about conditional
always being false by inserting preprocessor conditional.  (Thanks
to Bruce Korb.)
2003-05-22 10:22:20 +00:00
Mikael Djurfeldt
6898c703ef *** empty log message *** 2003-05-22 09:16:52 +00:00
Mikael Djurfeldt
79f55b7c6b * __scm.h (SCM_STACK_PTR): New macro. (Cast argument through
(void *) in order to avoid an aliasing warning; thanks to Bruce
Korb.)

* stackchk.h (SCM_STACK_OVERFLOW_P): Use SCM_STACK_PTR.

* threads.c (suspend, launch_thread, scm_threads_mark_stacks): Use
SCM_STACK_PTR.

* threads.c (scm_threads_mark_stacks): Bugfix: Changed
thread->base --> t->base.

* eval.c (SCM_CEVAL): Don't cast argument of SCM_STACK_OVERFLOW_P.
2003-05-22 09:16:33 +00:00
Kevin Ryde
d97f609a4a *** empty log message *** 2003-05-22 01:37:37 +00:00
Kevin Ryde
4fd0db14e3 (SRFI-2): Rewrite and-let*, describing plain
expression clauses and improving the examples.
2003-05-22 01:35:46 +00:00
Marius Vollmer
8549458751 *** empty log message *** 2003-05-20 19:59:52 +00:00
Marius Vollmer
4abecea81c (scm_subr_entry, SCM_SUBR_DOC, scm_make_subr,
scm_make_subr_with_generic, scm_make_subr_opt,
scm_call_catching_errors, scm_make_smob_type_mfpe, scm_set_smob_mfpe,
scm_strprint_obj, scm_read_0str, scm_eval_0str, SCM_CHARS, SCM_UCHARS,
SCM_LENGTH): Re-added from the release_1_6 branch.  Some have been
slightly rewritten.  (scm_i_object_chars, scm_i_object_length): New,
to support SCM_CHARS, SCM_UCHARS, and SCM_LENTH.
2003-05-20 19:59:38 +00:00
Marius Vollmer
47dee22897 *** empty log message *** 2003-05-20 19:14:38 +00:00
Marius Vollmer
965445d4b3 (scm_makstr, scm_makfromstr, scm_variable_set_name_hint,
scm_builtin_variable, scm_internal_with_fluids, scm_make_gsubr,
scm_make_gsubr_with_generic, scm_create_hook, SCM_LIST0, SCM_LIST1,
SCM_LIST2, SCM_LIST3, SCM_LIST4, SCM_LIST5, SCM_LIST6, SCM_LIST7,
SCM_LIST8, SCM_LIST9, scm_listify, scm_sloppy_memq, scm_sloppy_memv,
scm_sloppy_member, scm_read_and_eval_x): Re-added from release_1_6
branch.
2003-05-20 19:14:20 +00:00
Marius Vollmer
726571e0a7 (list*): Added. 2003-05-20 19:11:16 +00:00
Dirk Herrmann
e681d1876f * eval.c (scm_m_do, unmemocopy, SCM_CEVAL): Reversed order of
names and inits in the memoized code of do.
2003-05-19 20:15:08 +00:00
Mikael Djurfeldt
7e59d9d437 (yyget_lineno, yyget_in, yyget_out, yyget_leng,
yyget_text, yyset_lineno, yyset_in, yyset_out, yyget_debug,
yyset_debug, yylex_destroy): Added prototypes (otherwise we'll get
a compilation error if error-on-warning is enabled).
2003-05-19 09:57:01 +00:00
Kevin Ryde
26a249471a *** empty log message *** 2003-05-19 01:52:22 +00:00
Kevin Ryde
cd9d439e7e (Cross building Guile): Remove --with-cc-for-build in favour of CC_FOR_BUILD. 2003-05-18 22:00:21 +00:00
Marius Vollmer
1ee1076ece *** empty log message *** 2003-05-17 18:10:09 +00:00
Marius Vollmer
ee037c0325 (socket): Use PF_ instead of AF_ prefix. 2003-05-17 18:09:31 +00:00
Marius Vollmer
9950a42cc5 *** empty log message *** 2003-05-17 00:09:41 +00:00
Marius Vollmer
6d7c6cf491 Gobble up complete lines after a '#'. This
removes preprocessor directives from the snarfage that might
otherwise confuse us.  These directives appear when compiling with
"-g3", for example.
2003-05-17 00:06:30 +00:00
Kevin Ryde
8e3fee84c9 Remove note about removal of substring-move-left! and
substring-move-right!, they're staying.
2003-05-16 23:42:18 +00:00
Kevin Ryde
b30b191443 Add SRFI-1 delete and delete! argument order fixed. 2003-05-16 23:40:16 +00:00
Kevin Ryde
a3001b9dd0 *** empty log message *** 2003-05-16 00:07:26 +00:00
Kevin Ryde
934039f8ef (--with-cc-for-build): Remove this option, CC_FOR_BUILD
variable is more or less standard, and is adequate for the task.
2003-05-16 00:01:41 +00:00
Kevin Ryde
f6b7726669 *** empty log message *** 2003-05-15 23:45:17 +00:00
Kevin Ryde
d3830c6b7d Use @copying, show copyright and permissions at start of info and html. 2003-05-15 23:39:56 +00:00
Kevin Ryde
b6b9376ae0 (SRFI-1 Deleting): Rewrite delete and
delete-duplicates, adding behaviour details specified by srfi-1.
2003-05-15 23:35:32 +00:00
Han-Wen Nienhuys
26e6879536 add my surname 2003-05-15 23:02:48 +00:00
Han-Wen Nienhuys
0068984be5 (scm_finish_srcprop): use
scm_gc_register_collectable_memory()
(scm_make_srcprops): idem.
2003-05-15 22:48:20 +00:00
Han-Wen Nienhuys
131805f0cd (scm_gc_register_collectable_memory): avoid
wrap-around for scm_mtrigger
(scm_gc_register_collectable_memory): abort on overflowing
scm_mallocated().
2003-05-14 11:01:23 +00:00
Kevin Ryde
59e4263131 *** empty log message *** 2003-05-12 23:52:53 +00:00
Kevin Ryde
adda36ed70 (=, <, max, min): Add tests of bignum/inf combinations. 2003-05-12 23:52:17 +00:00
Kevin Ryde
8742c48b92 Add indexing of srfi numbers, and a couple of procedures not otherwise indexed. 2003-05-12 23:33:48 +00:00
Kevin Ryde
ba2ec20d26 Typo in my last message. 2003-05-12 23:22:31 +00:00