Commit Graph

924 Commits

Author SHA1 Message Date
bdc 69d6a1cb6b Interix support on mainline. This file was still machine specific in the branch so I'm making the corresponding change here as well so it does not get lost in the branch integration. 2004-04-16 05:02:58 +00:00
sperber 6bd1809b57 Merge revision 1.41.2.1 from r0-6-stable.
Original log message:

date: 2004/01/16 21:42:17;  author: sperber;  state: Exp;  lines: +33 -27
Fix the various SELECT-like procedures for 0 timeouts.
2004-01-17 16:12:38 +00:00
bdc 507a10137b syntax fix for gcc3 2003-10-02 14:32:21 +00:00
mainzelm 237f344ae8 Don't pass -o VM to scshvm. After the unification of VM and scsh
switches, the semantics has changed.
2003-09-04 13:12:12 +00:00
mainzelm 7621d34e4d Add a comment about setting socket descriptors to non-blocking mode. 2003-09-04 12:43:06 +00:00
sperber 76db43f2eb Get the names of MAKE-STRING-PORT-FILTER and MAKE-CHAR-PORT-FILTER
right in the documentation.
2003-08-19 07:52:22 +00:00
mainzelm e589da1991 Add a counter to each process resource and use it to implement WITH-RESOURCES-ALIGNED by this partial order. 2003-08-13 12:46:58 +00:00
mainzelm 8eb6a07ec3 Subject: Extend type<->sexp conversion to variable type
type->sexp was not capable of converting the variable type to a
sexp. This caused problems if the module system wanted to tell the
user that the types of exported bindings did not match:

config> (define-structure foo (export (bar :syntax)) (open scheme) (begin (define bar 1)))
; no values returned
config> ,user
> ,open foo

Error: exception
       wrong-type-argument
       (checked-record-ref '(variable #{Type :value #f #f}) '#{Record-type 14 meta-type} 1)

I've now extended TYPE->SEXP by a check for the variable type and let
it produce a list with 'VARIABLE as first and the actual type as
second element. Likewise, I extended SEXP->TYPE to produce a variable
type if 'VARIABEL is the first element of a list.

This seems to work but a second look by someone who really understands
the type system would be appreciated.

(Merge from s48 rev 423)
2003-08-04 07:32:02 +00:00
mainzelm 81c2e22c0c Better translation for =scheme48/ 2003-08-01 12:58:08 +00:00
mainzelm a39c87e7d6 After fork/pipe, make the ports returned by the pipe the
current-in/output-ports. This corresponds to the intended semantics of
side-effecting the standard ports and tells the GC that the ports are
alive.
2003-07-21 12:03:12 +00:00
mainzelm a6aa3a65bc The makefile used to do ("`(cd $(srcdir) && echo $(PWD))`/scheme" to
determine the location of the scheme subdirectory.  (Which resides in
$(srcdir), but not generally in the build directory.)  This is bogus,
as $(PWD) is instantiated by make, not by the shell (to the build
directory), and thus will generate the build dir, not $(srcdir).

.. anyway, replace that by "`(cd $(srcdir) && echo $$PWD)`/scheme"
and things are fine.

(Patch by Mike Sperber)
2003-06-27 09:03:41 +00:00
mainzelm e193567988 GC_PROTECT arguments and errnos in s48_raise_os_error_X. 2003-06-25 13:24:21 +00:00
mainzelm 8dc7a4af45 OS specific definitions for GNU Hurd by Andreas Voegele. 2003-06-25 08:46:31 +00:00
mainzelm ecfbbfeaab Replace static constant MAXHOSTNAMELEN by dynamic alloaction.
(Patch from Andreas Voegele)
2003-06-25 08:44:43 +00:00
mainzelm 240a07af3b Use s48_enter_integer instead of s48_enter_fixnum for errno to please GNU Hurd.
(Patch from Andreas Voegele)
2003-06-25 08:44:08 +00:00
mainzelm 41b60e6ac9 Specify "%s" as format string for syslog to prevent the message from
being interpreted as a format string (Patch by Peter Wang).

This fixes #745444.
2003-06-16 16:51:00 +00:00
mainzelm cf73c3a042 Various fixes to support $(srcdir) 2003-06-12 13:08:31 +00:00
mainzelm 5de095c9dd Fixed typo. 2003-05-23 07:28:29 +00:00
eknauel e981de7c4c - remove odbc_sql_set_env_attr()
- fixed odbc_sql_set_env_attr_int()
2003-05-13 13:45:32 +00:00
eknauel 7c40f1b3f4 + export odbc-diag-rec selectors 2003-05-13 13:43:50 +00:00
mainzelm ff73b86aa1 Removed accidentally committed code. 2003-05-06 14:41:05 +00:00
mainzelm 1e1feb960b Removed forgotten references to NTH. 2003-05-05 11:26:15 +00:00
mainzelm 07f56d8251 Support for $(DESTDIR) by Andreas Voegele. 2003-05-05 07:14:22 +00:00
mainzelm 26fcfcd8b2 Merged arguments of VM and scsh.
Non-backward comptaible changes:

-o for specifying the object file is gone
-i does not terminate argument scanning
-s for specifying the size of the stack is now -stacksize
2003-05-05 07:09:35 +00:00
mainzelm 0951ec5b42 check-nargs= --> protocol 2003-05-05 06:38:32 +00:00
mainzelm 56cf0cba9f No longer 0.6 2003-05-02 15:40:36 +00:00
mainzelm 4511c2f810 Support for configure's --srcdir. 2003-05-02 13:41:20 +00:00
mainzelm 6261942760 Die Lady Die. 2003-05-02 13:34:23 +00:00
mainzelm 16f7c7ce18 Next case of death. 2003-05-02 11:20:26 +00:00
mainzelm 29ed0edb27 "I'm not proud of it"
(Olin Shivers)

                                R.I.P

                                 cig


                             1994 - 2003
2003-05-02 07:20:37 +00:00
mainzelm f2c4ddb44d Merged contents of time_dep1.c into time1.c.
There was nothing OS-specific left.
2003-05-01 18:11:48 +00:00
mainzelm c594e945d3 Merged contents of time_dep1.c into time1.c.
There was nothing OS-specific left.
2003-05-01 18:11:47 +00:00
mainzelm c5d8b5d1b4 GC_PROTECT some variables. 2003-05-01 10:20:17 +00:00
eknauel fd4634e27f + outlined the support for SQLBindParameter() 2003-04-28 12:33:02 +00:00
sperber 35f1ddd533 Split scsh code into lots of modules.
Note that this change doesn't represent any sort of design suggestion
or decision:  It merely represents an attempt to codify the
dependencies between the parts of the code base.  There's still lots
of work to be done to actually make user-accessible modules.
2003-04-28 08:33:46 +00:00
mainzelm 85893429b8 Moved makeindex into .tex targets so it can be called *after* latex 2003-04-25 15:51:19 +00:00
mainzelm 4ea2cf14bb Put \index at correct position 2003-04-25 11:12:54 +00:00
eknauel 576420fd48 + fixed a bug in bindcol example (README)
+ export bindcol, removed odbc-bindcol.scm
2003-04-25 07:29:04 +00:00
eknauel 5f9eb17fed + fixed confusion of environment/connection handles 2003-04-24 14:51:20 +00:00
eknauel 8a40bfdc90 + fixed return values for odbc-sql-get-data 2003-04-24 13:30:38 +00:00
eknauel ad8131edad - rewrote exception handling system, pass ODBC status codes to Scheme
directly. This leads to multiple return values in some cases.

- new condition types

- raise conditions only in case of fatal errors

- rewrote odbc_sql_data_sources() and odbc_sql_drivers()

- removed hardcoded ODBC_RETVAL_BUFFER_INITIAL_SIZE, the return value
  buffer size can now be read/set from Scheme.

- removed odbc_sql_bind_parameter_exec_out(), which is a poor
  implementation of a SQLBindParameter() binding. TODO: make a
  better one.

- use the p.c. SQL_SUCCEEDED()

- rewrote odbc_sql_get_data(): Resize return buffer value if necessary

- new modules: low-odbc (functions), low-odbc-constants (constants)

- major code cleanup
2003-04-24 13:02:02 +00:00
mainzelm 750de51339 Let read-string/partial return "" on a vacuous request. 2003-04-22 16:29:45 +00:00
mainzelm c0b8928e7d Ensure argument to EXIT is an integer. 2003-04-22 15:56:20 +00:00
sperber 5c19731d59 Missed one 2-line IF in the last commit. 2003-04-16 13:02:19 +00:00
sperber a6978187ba Sanitize Olin's atrocious 2-line IF. 2003-04-16 13:01:32 +00:00
sperber 3c3c539446 Removed S48_CFLAG_CKR, which has been obsolete since at least 1997
when I stayed at NECI and was hacking on an SGI box.
2003-04-16 12:41:36 +00:00
mainzelm bd70ccb03d Limited disclosing of byte-vectors to the first 16 elements. 2003-04-14 11:06:55 +00:00
mainzelm 958d62febe Added forgotten menu item. 2003-04-14 09:47:29 +00:00
mainzelm 4f84e3cb99 Removed pause-until-interrupt. 2003-04-14 09:45:58 +00:00
mainzelm 98df4ada7d Final changes for 0.6.4. 2003-04-14 09:35:24 +00:00