Commit Graph

579 Commits

Author SHA1 Message Date
marting 2dbf1a07e8 Initialize event system etc. in scripts too. 2000-08-28 13:28:49 +00:00
marting 5cca147350 Fixed bug due to the fact that byte_vector_ref returns a signed char. 2000-08-28 13:02:09 +00:00
marting 82f8195911 Initialize event system etc. in scripts too. 2000-08-28 12:51:22 +00:00
marting dabbe8ca90 Various bug fixes for byte-vectors. 2000-08-28 12:45:00 +00:00
marting 99ab68d3d9 From the scsh rep:
date: 2000/02/15 15:49:13;  author: shivers;  state: Exp;  lines: +38 -13
A couple of release problems, no real code bugs.
- The LET-MATCH, IF-MATCH, MATCH-COND macros weren't exported,
  and the source wasn't even loaded.
- Similarly, the entire SRE-SYNTAX-TOOLS package wasn't exported.
- The SIMPLIFY-REGEXP proc wasn't exported.

I hacked packages.scm to do the right package defining & exporting.
I also renamed let-match.scm to re-match-syntax.scm and moved the enclosing
module code from the file over to packages.scm.
    -Olin
2000-08-28 12:43:27 +00:00
marting 04fc3b8b37 Fork sets batch-mode in child only if there is a session. 2000-07-28 09:11:09 +00:00
marting e18688fc14 Initialize the variables for multipe return values to 0 so we won't
lose if the called function does not set them due to an error.
2000-07-27 16:44:08 +00:00
marting 50664556eb Procedures to convert numbers and bytes to
internet-host-addresses. Added fd->port. Small bug-fixes.
2000-07-27 13:38:35 +00:00
marting e57f3608b8 The handler for the VM schedules now a event that will cause the
deliver thread to call the clients of low-interrupt. So the handler is
short and save.
2000-07-27 13:33:51 +00:00
marting 37fc37e78c Implemented waitpid with the new FFI to support 32 bit parameters. 2000-07-27 13:32:12 +00:00
marting b39fd47d82 Renamed byte-vector to code-vector. 2000-07-27 13:28:40 +00:00
marting 8ce0551795 Changed the representation of scsh-conditions to the exception
os-error so it may be throwen from C.
2000-07-17 13:15:45 +00:00
marting 27bafee1bc Shifted receive/send-message to non-blocking sockets. 2000-07-14 16:30:02 +00:00
marting 1154aad830 Moved host/network/service/protocol-info to new FFI. Fixed some bugs
in the old implementation.
2000-07-13 13:45:00 +00:00
marting 86fa3f59a4 Moved host-info to new address representation. The record is constructed in C now. 2000-07-12 17:28:56 +00:00
marting d130f23f0d Put cwd in a record to be able to define a resumer that initializes to
process-cwd.
2000-07-11 12:29:35 +00:00
marting 8c7c9c2006 Deleted call to C in %read_delimited since it cannot cope non-blocking
file and socket descriptors.
2000-07-11 12:26:31 +00:00
marting 52291acc0e Connect can now handle non-blocking sockets that return EINPROGRESS. 2000-07-11 10:30:23 +00:00
marting f095b068a8 connect for non-blocking sockets. Untested code. 2000-07-10 18:32:45 +00:00
marting fd69c40875 made sockets non/blocking. accept adds a non-ready fd to vm-queue and waits. Copied from socket.c. Maybe connect has to follow. 2000-07-10 18:01:53 +00:00
marting 56d5597025 Added define-stubless-foreign. 2000-07-07 11:51:51 +00:00
marting c96cde2294 Fixed bug in FFI. Up to 12 Arguments to an external call are now
supported.
2000-06-30 07:04:04 +00:00
marting 43b90a190a Fixed bug in %read-delimited! so the last char is not eaten if the
buffer is full
2000-06-28 13:48:21 +00:00
marting b79df3d6c1 Opened threads-internal only for access and replaced runn by run again. 2000-06-28 10:30:59 +00:00
marting ea5725436e Added several cwd-aligns. with-env usees with-lock. Some corrections
to getenv.
2000-06-28 10:27:34 +00:00
marting 2c5a392584 Fixed cwd: Removed dynamic-wind and seperated things. 2000-06-20 08:44:01 +00:00
marting 6855de9ec8 Fixed bug that skipped first entry in char_pp_2_string_list 2000-05-22 11:59:22 +00:00
marting b2130fc267 read/write-string via the port procedures from the RTS.
write-string/partial is no longer supported.
2000-05-18 14:03:44 +00:00
marting d0b3f61ccd Better type annotations. Moved char_pp_2_sting_list to cstuff.c. 2000-05-16 09:24:54 +00:00
marting cc385802be replaced enter_fixnum by enter_integer in really_stat so files may be bigger than 5 GB and it works with the inode numbers in my afs. 2000-05-16 08:43:01 +00:00
marting f021f13b26 fix for new FreeBSD signal mask representation 2000-05-16 07:46:13 +00:00
marting bce5c62cbf removed the static return values in the uid and gid functions. This is all done without cig 1999-11-16 16:37:28 +00:00
marting c2ccd7c924 interrupt/alarm is now generated by itimer in low-interupt. command-level set no longer a handler for interrupt/keyboard. sighandler now generates the event for Interrupt: keyboard 1999-11-15 00:23:11 +00:00
marting 9938c1a710 adaped to the original scsh structure 1999-11-12 15:33:17 +00:00
marting 428a3b7c2c configure for libcrypt and crypt.h 1999-11-12 15:31:16 +00:00
marting e2c070bdbf added files from 0.5.2 1999-11-12 15:24:02 +00:00
marting d0873e7674 moved files from machine to bsd 1999-11-12 12:06:50 +00:00
marting 07a9816153 added env and cwd per thread 1999-11-04 21:40:50 +00:00
marting 6734b0520f adapted types 1999-11-04 21:25:04 +00:00
marting 757715d4c2 initial checkin from 0.5.2 1999-11-04 21:14:39 +00:00
marting 8226a3e7a1 only small changes to support low-interrupt 1999-11-04 20:57:58 +00:00
marting 4da975becd the newest images 1999-11-04 20:50:55 +00:00
marting 0d871d4784 support for the latest changes: low-interrupt and co, cwd and env per thread 1999-11-04 20:48:47 +00:00
marting 8c4d87dde6 replaced code-vector by byte-vector (not that this is a real difference) 1999-11-04 20:43:36 +00:00
marting 8cf59dae09 number-of-interupts is no longer a function 1999-11-04 20:33:26 +00:00
marting 4aebfb2279 adjusted the numbers for the interrupts, I'm not sure if this works this way 1999-11-04 20:30:44 +00:00
marting 6f15160aac readded with-enabled-interrupts 1999-11-04 20:28:06 +00:00
marting 539638acbd removed reap-zombies from fork; renamed cwd and chdir to process-X to support cwd per thread;read-symlink and get-hostname communicate via scheme-strings to omit the static strings; support for environ per thread, but some things are missing; added a first version of crypt 1999-11-04 20:23:25 +00:00
marting 85cff767c0 removed debug-infos and added installing of signal, process and env system 1999-11-04 20:12:45 +00:00
marting abc5901c5d added GC_PROTECT 1999-11-04 20:10:28 +00:00