Commit Graph

320 Commits

Author SHA1 Message Date
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 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 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 0d871d4784 support for the latest changes: low-interrupt and co, cwd and env per thread 1999-11-04 20:48:47 +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
marting f81441cf2a adapted types 1999-11-04 17:46:51 +00:00
marting 491894920d removed a hack, caused by bogus skip-char-set 1999-11-04 17:26:23 +00:00
marting b1d298a3f5 added raw-C support for read-delim and skip-chars. The port-buffer is drained in Scheme and after this a call to a read-loop in C follows. The last char is returned, so Scheme may push it back into the buffer 1999-11-04 16:21:30 +00:00
marting 88b21d81b5 These files are generated by cig with GC_PROTECT-support 1999-11-04 16:00:28 +00:00
marting 68138a2b58 removed bufpol/line for input, replaced code-vector by byte-vector 1999-11-02 22:41:05 +00:00
marting 582d032c53 added locks and renamed dead_by_ to waited-by- 1999-11-02 22:34:09 +00:00
marting 4ca964b9ea added set-port-buffering. Supports gentle buffer draining and a slightly limited bufpol/line. Code looks quite ugly, but I think that's inherent... 1999-10-22 21:35:54 +00:00
marting 55b3db0c72 wait-any should run now. no tests about race-conditions and the code is very ugly at the moment. I wonder if this ever will change 1999-10-18 23:32:01 +00:00
marting 30b32c7ff6 made interrupt handler a client to low-interrupt. Added blocking via disableing. Not yet thread-save nor interrupt-save in itself 1999-10-15 18:57:29 +00:00
marting 6f86fd8400 events are now a client for low-interrupt 1999-10-15 18:35:10 +00:00
marting 6f17cf889a interface for internal use. Asynchronous delivery of interrupts to multiple clients 1999-10-15 18:34:03 +00:00
marting 366ff18d29 added solaris from 0.5.2 but s48_ adapted 1999-10-14 16:26:46 +00:00
marting 7f9aa175d6 added linux/ from 0.5.2 but s48_ adapted 1999-10-14 16:25:18 +00:00
marting 2a6d18e4b0 added pid_t 1999-10-10 17:33:06 +00:00
marting b8e8ad9c81 added 2 include files for time_t 1999-10-10 17:30:48 +00:00
marting 8400bf8e22 initial checkin from scsh sources 1999-10-10 15:50:18 +00:00
marting 1d4d7d0e0c snapshot, this version should work quite well 1999-10-08 18:41:05 +00:00
marting 7927367f49 jsut small fixes and comments 1999-10-08 18:38:10 +00:00
marting 41c9c192b5 removed all hi8/lo24 hacks and replaced many integer types by fixnums. This has not been tested ! 1999-10-08 18:36:19 +00:00
marting d6c8c400c6 this should be the first working top-level 1999-10-08 18:28:39 +00:00
marting 1f6fba80ba inserted s48-extract-string, but there are still man hacks hidden inside, it's a miracle that anything of this stuff works 1999-10-08 18:19:37 +00:00
marting 3111fa93be Hack: removed read-char to hack the bogus skip-char-set 1999-10-08 18:16:35 +00:00
marting de5a415580 TRANSLATE-SEQ wasn't correctly accounting for submatches. The same bug occurred in a parallel position in TRANSLATE-CHOICE; when I fixed it there, I neglected to fix TRANSLATE-SEQ as well. Olin 1999-10-08 18:12:00 +00:00
marting adbee59277 removed old regexp stuff 1999-10-08 17:56:08 +00:00
marting 734daac16f Added fake set-port-buffering which produces a warning
Added error-output-port, but not yet as deprecated-proc
set $current-noise-port to null-output
%move-fdport now returns #f on success, just like 0.5.1
1999-10-08 16:43:39 +00:00
marting 38dd943bf7 added primitives for add-finalizer! 1999-10-08 14:11:52 +00:00
marting 9d1a3926a4 added finalizer for cre 1999-10-08 13:16:35 +00:00
marting 19995a158c Updated list library to most recent revision of the SRFI. Olin 1999-10-05 18:49:20 +00:00
marting dbf3e322eb Fixed bug in the definition of re-nonl. Olin 1999-10-05 18:46:00 +00:00
marting cc6c5af03f Small fixes & updates. Olin 1999-10-02 15:39:39 +00:00
marting 2b3cb928b5 replaced integer by fixnum and removed 32-bit hacks 1999-09-29 22:47:33 +00:00
marting 6cc6334039 removed most of the hacks due to restart-command-processor 1999-09-29 22:45:47 +00:00
marting f812d7e579 fixed misplaced quotation mark and prevented installation of real-sighandler 1999-09-28 23:53:23 +00:00
marting 768fc0b2f3 replaced most of the hi8/lo24-stuff by enter/extract_integer from the new FFI 1999-09-28 23:48:36 +00:00
marting 54728b3d0e 2 small fixes that where already in 0.5.2 1999-09-28 16:20:02 +00:00
marting bca77db078 daily snapshot, mainly changes to get 0.5.2 stuff running 1999-09-24 23:54:22 +00:00
marting 26447c1d1a added channel-cell-ref to newports for the changed design in rts/channel-port.s, vm starts from dumped image now 1999-09-24 23:52:32 +00:00
marting b5771115b6 changes to get the 0.5.2 stuff running. Not yet completed, hangs on startup 1999-09-23 23:02:54 +00:00
marting 0f0fe9f2ff updates from 0.5.2 1999-09-23 17:46:46 +00:00
marting 58f90e2359 added from 0.5.2 1999-09-23 15:24:25 +00:00
marting 4e935c24a5 just a snapshot 1999-09-23 14:36:25 +00:00
marting c9f54e79da new from 0.5.2 1999-09-23 14:27:41 +00:00
marting dd7939ab1a start scsh-toplevel by dump-scsh, scsh's init are not yet done 1999-09-23 00:43:13 +00:00
marting d3638eec28 made os-signal base of the interrupt system.
There is now a enumeration scsh-os-signal, that lists all signals. The function set-interrupt now acts on scsh-os-signal-handlers-vector, not any longer on the vm-vector.

The with-enabled-interrupts etc stuff does NOT work at the moment.
1999-09-22 17:00:08 +00:00
marting d2fc94c2da replaced all the macros and definitions that have changed in c/scheme48.h. Sometimes changes were necessary, if stuff is no longer a l-value. Some things are just commented out to be able to compile 1999-09-16 00:20:37 +00:00
marting 09136048ae Added files from david fishers home (~dfisher/scsh-0.5.1).
Be warned: the scsh-version he started from was neither 0.5.1 nor
0.5.2, but something in between !
1999-09-14 13:32:05 +00:00