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

7511 commits

Author SHA1 Message Date
Stefan Jahn
b4e15479e9 2001-11-07 Stefan Jahn <stefan@lkcc.org>
* configure.in: Include `win32-socket.o' in the list of object
        files if networking is enabled on Win32.

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

        * win32-socket.[ch]: New files.  Defines Winsock-API error codes
        and makes them available through Guile.  That is because the
        Winsock-API does not store its errors in `errno' and thus cannot
        return error messages via `strerror (errno)'.

        * socket.c (scm_init_socket): Initialize `win32-socket' part
        here under M$-Windows.

        * numbers.h: Added missing declaration of
        `scm_sys_check_number_conversions()'.

        * error.c: Local definition of SCM_I_STRERROR and SCM_I_ERRNO
        and use in `(strerror)' and `(system-error)'.

        * Makefile.am (EXTRA_libguile_la_SOURCES): Added
        `win32-socket.[ch]' to extra source and header files.
2001-11-07 15:08:45 +00:00
Thien-Thi Nguyen
2ca222c2e9 *** empty log message *** 2001-11-07 02:55:40 +00:00
Thien-Thi Nguyen
3989f08206 (10): New. 2001-11-07 02:55:05 +00:00
Thien-Thi Nguyen
70debc2296 *** empty log message *** 2001-11-07 00:40:15 +00:00
Thien-Thi Nguyen
d5b7b58432 (9): New. 2001-11-07 00:37:39 +00:00
Thien-Thi Nguyen
04bbd6ce09 *** empty log message *** 2001-11-06 22:48:30 +00:00
Thien-Thi Nguyen
523ebf43bd (sync srfi-modules.texi): Done. 2001-11-06 22:46:48 +00:00
Thien-Thi Nguyen
bfc9c8e088 (SRFI Support): Add "SRFI-19" to menu. 2001-11-06 22:43:41 +00:00
Thien-Thi Nguyen
ca26b87dd4 *** empty log message *** 2001-11-06 22:38:48 +00:00
Thien-Thi Nguyen
12991fed11 (SRFI-19, SRFI-19 Constants, SRFI-19 Current time and clock
resolution, SRFI-19 Time object and accessors, SRFI-19 Time
comparison procedures, SRFI-19 Time arithmetic procedures,
SRFI-19 Date object and accessors, SRFI-19 Time/Date/Julian
Day/Modified Julian Day converters, SRFI-19 Date to
string/string to date converters): New nodes.
2001-11-06 22:35:53 +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
Thien-Thi Nguyen
188e14055c (SCM_API patch): Renamed to "add DLL support". New owner.
(sync srfi-modules.texi): New.
2001-11-06 21:38:35 +00:00
Marius Vollmer
53e82297cd Turn off debugging output in scm_compile_shell_switches. 2001-11-06 12:53:22 +00:00
Marius Vollmer
f12ef3fda6 *** empty log message *** 2001-11-05 23:23:13 +00:00
Marius Vollmer
7ab89df17c *** empty log message *** 2001-11-05 23:12:20 +00:00
Marius Vollmer
3682a51a35 (scm_shell_usage, scm_compile_shell_switches): Prepend
a call to turn-on-debugging when --debug has been given instead of
turning it on directly.  Also, handle new `--no-debug' option,
which might suppress the call to turn-on-debugging.
2001-11-05 23:11:50 +00:00
Marius Vollmer
52ce56fc79 Do not enable debugging and recording of source
positions.
2001-11-05 23:09:17 +00:00
Marius Vollmer
eef6519bde (turn-on-debugging): New function, to be used by
scm_compile_shell_switches.
2001-11-05 23:09:10 +00:00
Marius Vollmer
46356d0406 Document --debug' and --no-debug'. 2001-11-05 23:07:24 +00:00
Stefan Jahn
0233bfc11b 2001-11-05 Stefan Jahn <stefan@lkcc.org>
* struct.c (s_scm_struct_vtable_p): Corrected docstring.
2001-11-05 21:12:33 +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
4e21fa6096 *** empty log message *** 2001-11-03 18:46:31 +00:00
Marius Vollmer
b8113bc8dc (scm_m_begin): Allow (begin), with no subforms.
(SCM_CEVAL): Evaluate an empty `begin' to SCM_UNSPECIFIED.
2001-11-03 18:45:33 +00:00
Mikael Djurfeldt
7663c008a5 * print.c (scm_iprin1): Mark print state as revealed when
dispatching to generic write or display.
2001-11-02 13:55:38 +00:00
Mikael Djurfeldt
08112c957b * unif.c (scm_ra2contig): Fixed memory overwrite bug. 2001-11-02 12:31:50 +00:00
Thien-Thi Nguyen
ebd3a55a52 Add SCM_API patch incorporation; associate mvo w/ it. 2001-11-02 01:42:06 +00:00
Marius Vollmer
4aa104a485 *** empty log message *** 2001-11-02 00:37:07 +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
Marius Vollmer
33b001fd89 Prefixed each each exported symbol with SCM_API. 2001-11-02 00:19:12 +00:00
Marius Vollmer
1dcb9876f5 * win32-uname.c: Include "win32-uname.h", not "uname.h". 2001-11-02 00:18:32 +00:00
Marius Vollmer
21e11a3b15 * win32-dirent.c: Include "win32-dirent.h", not "dirent.h". 2001-11-02 00:18:22 +00:00
Marius Vollmer
79dcdf5188 On M$-Windows tzname[]' is known to be _tzname[]'. 2001-11-02 00:17:10 +00:00
Marius Vollmer
ed618cc9c1 Made `usleep()' avalable on MinGW. 2001-11-02 00:16:57 +00:00
Marius Vollmer
4f68365d03 Remove unnecessary dirent includes and defines. Include
local `win32-uname.h' for MinGW.  Extern declaration of
`mkstemp()' for systems where it does not exists.  Make
`getlogin()' available on M$-Windows.
2001-11-02 00:16:46 +00:00
Marius Vollmer
e2c801663c Disable extern declaration of `h_errno' for __CYGWIN__,
too.
Put `scm_return_entry()' into HAVE_GETSERVENT conditional.
2001-11-02 00:16:28 +00:00
Marius Vollmer
5507e7260b Include `process.h' is possible. 2001-11-02 00:16:19 +00:00
Marius Vollmer
d7db9f60c2 Make sure to define __SCM_IMPORT__ for shared library
build on Win32.  Disable preloaded symbols on Win2 platforms.
2001-11-02 00:15:53 +00:00
Marius Vollmer
ec65f5dadc * fports.c: Include io.h' is possible. Put *fp' into referring
statement block in `scm_fport_buffer_add()'.
Some corrections in `getflags()'.

* ioext.c, ports.c: Include `io.h' is possible.
2001-11-02 00:15:41 +00:00
Marius Vollmer
c01a6af52f * __scm.h, alist.h, arbiters.h, async.h, backtrace.h, boolean.h,
chars.h, continuations.h, coop-defs.h, coop-threads.h,
debug-malloc.h, debug.h, deprecation.h, dynl.h, dynwind.h,
environments.h, eq.h, error.h, eval.h, evalext.h, extensions.h,
feature.h, filesys.h, fluids.h, fports.h, gc.h, gdb_interface.h,
gdbint.h, gh.h, goops.h, gsubr.h, guardians.h, hash.h, hashtab.h,
hooks.h, init.h, ioext.h, iselect.h, keywords.h, lang.h, list.h,
load.h, macros.h, mallocs.h, modules.h, net_db.h, numbers.h,
objects.h, objprop.h, options.h, pairs.h, ports.h, posix.h, print.h,
procprop.h, procs.h, properties.h, ramap.h, random.h, rdelim.h,
read.h, regex-posix.h, root.h, rw.h, scmsigs.h, script.h, simpos.h,
smob.h, socket.h, sort.h, srcprop.h, stackchk.h, stacks.h, stime.h,
strings.h, strop.h, strorder.h, strports.h, struct.h, symbols.h,
tags.h, threads.h, throw.h, unif.h, values.h, variable.h, vectors.h,
vports.h, weaks.h:
Prefixed each each exported symbol with SCM_API.

* gdb_interface.h (GDB_INTERFACE): Also support __CYGWIN__.
2001-11-02 00:09:41 +00:00
Marius Vollmer
bb1180ef26 `__libc_ia64_register_backing_store_base'
is meant to be a `unsigned long *'.
2001-11-02 00:09:28 +00:00
Marius Vollmer
b8b17bfd31 Include io.h' is possible. Put *fp' into referring
statement block in `scm_fport_buffer_add()'.
Some corrections in `getflags()'.
2001-11-02 00:09:14 +00:00
Marius Vollmer
e0c73a1cb6 Include `direct.h' if possible. Use local
`win32-dirent.h' for the native M$-Windows port.  Define S_IS*()
macros for M$-Windows.  Implementation of `fstat_Win32()' which is
able to differentiate between sockets and other file descriptors.
Use this function as wrapper in `scm_fstat()'.  Fixed typo in
`scm_dirname()'.
2001-11-02 00:09:02 +00:00
Marius Vollmer
87855fa2c4 * __scm.h, alist.h, arbiters.h, async.h, backtrace.h, boolean.h,
chars.h, continuations.h, coop-defs.h, coop-threads.h,
debug-malloc.h, debug.h, deprecation.h, dynl.h, dynwind.h,
environments.h, eq.h, error.h, eval.h, evalext.h, extensions.h,
feature.h, filesys.h, fluids.h, fports.h, gc.h, gdb_interface.h,
gdbint.h, gh.h, goops.h, gsubr.h, guardians.h, hash.h, hashtab.h,
hooks.h, init.h, ioext.h, iselect.h, keywords.h, lang.h, list.h,
load.h, macros.h, mallocs.h, modules.h, net_db.h, numbers.h,
objects.h, objprop.h, options.h, pairs.h, ports.h, posix.h, print.h,
procprop.h, procs.h, properties.h, ramap.h, random.h, rdelim.h,
read.h, regex-posix.h, root.h, rw.h, scmsigs.h, script.h, simpos.h,
smob.h, socket.h, sort.h, srcprop.h, stackchk.h, stacks.h, stime.h,
strings.h, strop.h, strorder.h, strports.h, struct.h, symbols.h,
tags.h, threads.h, throw.h, unif.h, values.h, variable.h, vectors.h,
vports.h, weaks.h:
Prefixed each each exported symbol with SCM_API.

* continuations.c: Added comment about the use of the extern
declarations of {get,set}context() functions used in the ia64 port.

* continuations.h, gc.c: `__libc_ia64_register_backing_store_base'
is meant to be a `unsigned long *'.
2001-11-02 00:08:41 +00:00
Marius Vollmer
e4e933734c Prefixed each each exported symbol with SCM_API. 2001-11-02 00:08:10 +00:00