mainzelm
883b53e160
Adjusted the numbering with low-interrupt.scm.
2001-04-09 08:11:49 +00:00
mainzelm
a95c531327
Added with-autoreaping and with-scsh-sighandlers.
...
Added auto-init for process-objects to flush the process table on startup.
2001-04-09 08:05:58 +00:00
mainzelm
5500490a1d
Sleazy fix for the inliner: procedures can't "return" error, so wrap a
...
(if #t ...) around it.
2001-04-09 07:59:17 +00:00
mainzelm
e3e3f2adab
Removed conversion procedures for internet-host-address.
2001-04-09 07:56:58 +00:00
mainzelm
384c28fab4
Hand out the port and not just port-data to the handler.
2001-04-09 07:55:50 +00:00
mainzelm
7516a430f8
Switched back to integers as internet-host-addresses.
2001-04-02 14:57:25 +00:00
olin-shivers
0198ddb337
[A change ported over from the 0.5 tree.]
...
glob->regexp wasn't "terminating" regexps with an EOS anchor. Reported
by Friedrich Dominicus <Friedrich.Dominicus@inka.de>
-Olin
2001-03-28 13:53:42 +00:00
mainzelm
5b8818ffef
Fixed 2 typos
2001-03-25 17:14:32 +00:00
mainzelm
25f395c1d0
* New package definitions now that we have SRFI-13 and 14
...
* Introduced the nomenclature "sigevent"
2001-03-23 12:45:31 +00:00
mainzelm
9b4bb8a19d
Adapted some of Richard's changes for char-ready? and output-port-ready?.
2001-03-23 10:59:07 +00:00
mainzelm
0ffb123bee
Rest of Olins merge for SRFI-13 and 14.
2001-03-23 10:52:09 +00:00
olin-shivers
e18289f61c
Added a small fix to string-lib.scm. Removed the obsolete strings.txt.
2001-03-21 22:28:31 +00:00
frese
1b31a9f8f1
Added tests for some process-state functions.
2001-03-20 14:36:54 +00:00
olin-shivers
94553d1c36
Manual says FILE-NOT-READABLE? and brothers return 'NO-DIRECTORY
...
if some dir in the path isn't there; code returned 'NOT-DIRECTORY.
Manual was right; code was wrong.
-Olin
2001-03-15 03:54:48 +00:00
mainzelm
effab78a3d
Added implementation of a test suite.
...
Added tests for the file system operations (sec. 3.3 of the manual).
Author: David Frese
2001-03-13 17:18:25 +00:00
olin-shivers
d708ef06e2
EXEC-PATH-LIST is now a fluid.
2001-03-11 18:58:54 +00:00
olin-shivers
9da196627f
Added missing "See file COPYING" to copyright notice.
2001-03-11 18:03:50 +00:00
olin-shivers
120a664a86
New, improved let-opt. More features.
...
But I have a whole different design for handling optional args, so
this will all go away at some point.
2001-03-11 04:11:11 +00:00
olin-shivers
5e769973cd
Fixed a bug in re-dsm. It pushed a pre-dsm value inside a submatch record --
...
but the submatch pre-dsm field describes deleted submatches occuring *after*
the indicated submatch and *before* the submatch's body. So this
"simplification" was swapping the order of these deleted submatches with
the live submatch, throwing off the ordering.
-Olin
2001-03-07 16:46:09 +00:00
mainzelm
d5bbf33756
Always install default handler for SIGINT. Overwrite it if interactive.
2001-01-15 13:43:35 +00:00
mainzelm
4643aa5362
Wrapped an exit around restart-command-processor to kill all threads.
2001-01-11 15:03:30 +00:00
mainzelm
c5cfe8c420
Fixed bug in type of MAP & FOR-EACH.
2001-01-11 09:18:52 +00:00
mainzelm
67805dde9f
Snapshot of cig generated files.
2001-01-09 15:57:06 +00:00
mainzelm
31894f1894
itimer moved to syscalls but is implemented via rts/events.scm
2001-01-09 15:55:03 +00:00
mainzelm
c1d6d368e5
Built the event system directly into the RTS. Built sighandlers above
...
it. Removed machinery in low-interrupt.
2001-01-09 15:52:52 +00:00
mainzelm
ec5d343b75
Removed assignments to errno.
2001-01-09 10:26:52 +00:00
mainzelm
51552b6842
Optional arguments for syslog and openlog.
2001-01-03 16:15:28 +00:00
mainzelm
fb6abe74fa
Added syslog.
2001-01-02 14:43:27 +00:00
mainzelm
73b9c41bbb
define-enum-constants-from-zero for enumerations wirhout explicit numbers.
2001-01-02 14:42:14 +00:00
mainzelm
820a2cfd5d
No longer needed in new FFI
2001-01-01 17:59:26 +00:00
mainzelm
843b443132
Snapshot of the cig generated files.
2001-01-01 17:55:36 +00:00
mainzelm
68947a09f9
Exported set-effective-gid.
2001-01-01 17:50:08 +00:00
mainzelm
a2ec10935a
removed unused code, port to new FFI
2001-01-01 17:49:08 +00:00
mainzelm
07f9cbc6c9
Port to new FFI.
2001-01-01 17:34:08 +00:00
mainzelm
c7be5ed2b1
Ported some functions to new FFI.
2001-01-01 17:22:54 +00:00
mainzelm
66cb77856d
Typo.
2001-01-01 17:21:58 +00:00
mainzelm
be6aa6e152
Changed return type of init function to void.
2001-01-01 17:21:35 +00:00
mainzelm
1ea7c8604e
Ported to new FFI.
2001-01-01 17:19:55 +00:00
mainzelm
d69728b899
fixed typo
2001-01-01 16:49:34 +00:00
mainzelm
d75baf1985
port to new FFI
2001-01-01 16:45:32 +00:00
mainzelm
f0ffc6acaf
port to new FFI
2001-01-01 16:45:32 +00:00
mainzelm
df2db4631d
Changed default directory for create-temp-file fro /usr/tmp to /tmp.
2000-12-22 14:13:17 +00:00
mainzelm
ac9810b803
Fixed an argument-order bug in STRING->LIST.
...
-Olin
2000-12-22 08:49:23 +00:00
mainzelm
55d806358f
put process objects on top of event system
2000-12-21 21:57:37 +00:00
mainzelm
3a8546df55
Fixed name clash on solaris.
2000-12-21 17:01:05 +00:00
mainzelm
701d506b3e
code clarification
2000-12-21 16:09:52 +00:00
mainzelm
f8af34a318
Check wether some SVR4 defines SIGPOLL equal to SIGIO
2000-12-21 15:46:34 +00:00
mainzelm
b8c0e87293
Remove extern declaration of h_errno since AIX defines it as (*(int *)h_errno_which()).
2000-12-21 15:44:57 +00:00
mainzelm
dacfeca1ad
removed accidentally added directory machine
2000-12-21 14:06:39 +00:00
mainzelm
0c55bd5ec3
added various .cvsignore files to suppress warnings about the removed files
2000-12-21 14:00:59 +00:00
mainzelm
2d1dd3b4c1
removed accidentally added files
2000-12-21 13:49:05 +00:00
mainzelm
dee3f345f5
Fixed typo.
2000-12-21 13:27:28 +00:00
mainzelm
cfb1e34b08
Rewrote signal checks and added handler for all scsh interrupts.
2000-12-21 13:25:21 +00:00
mainzelm
56234c5ae2
removed bogus files
2000-12-21 12:11:23 +00:00
mainzelm
aa8647061d
added next, cygwin32, sunos and ultrix (all untested)
2000-12-20 15:26:12 +00:00
mainzelm
b0d994b43c
Build fixes for irix and hpux.
2000-12-20 08:31:06 +00:00
mainzelm
d7d0c6f3b8
Added hpux (untested)
2000-12-19 16:33:51 +00:00
mainzelm
902df6dc62
added irix(untested)
2000-12-19 16:10:03 +00:00
mainzelm
6c136b907d
removed obsolete files/code for jcontrol and signal sets
2000-12-18 15:45:46 +00:00
mainzelm
747dfe20df
non-posix signal numbers are defined if not existed
2000-12-14 18:51:10 +00:00
mainzelm
c51640a971
made configure determine the mapping from os signals to scsh interrupts
2000-12-14 18:41:11 +00:00
mainzelm
812bc338c3
made configure determine the mapping from os signals to scsh interrupts
2000-12-14 18:32:53 +00:00
mainzelm
5fab63dc0d
Removed warning that occurred when procobj was already gc'ed.
2000-10-19 08:40:17 +00:00
mainzelm
21cb7839bd
Cig generated files...
2000-10-19 08:37:34 +00:00
mainzelm
28ba525f4b
Removed oldtop.scm since top is now nearly perfect.
2000-10-19 08:36:03 +00:00
mainzelm
830f323166
Replaced error with warn. The problem itself remains.
2000-10-19 08:22:37 +00:00
mainzelm
4088792f41
Changed interaction-environment for processing of command line
...
switches to user-environment. This made -s work.
2000-10-09 09:44:20 +00:00
mainzelm
6d9e7de153
forever-sleeping-thread is only started in interactive sessions since
...
it prevents the system from exiting.
Fixed -i switch.
2000-10-04 14:12:49 +00:00
mainzelm
3bcabf36b5
Added dot-locking.
2000-09-27 11:53:21 +00:00
mainzelm
2cb62dfcb5
Fixed two small bugs in pipe and fork
2000-09-24 20:52:07 +00:00
mainzelm
e3f2877ab9
added internet-address->dotted-string
2000-09-24 20:51:04 +00:00
mainzelm
d58a39d813
Small bug fixes.
2000-09-20 10:14:11 +00:00
mainzelm
5fc995e50f
Removed call to C code since it doesn't cooperate with non-blocking
...
fd's.
2000-09-20 10:12:31 +00:00
mainzelm
45f0550f79
replaced <regex.h> by "regex.h" to fetch the local file.
2000-09-19 13:34:38 +00:00
mainzelm
2a6d087f0d
Replaced many define-foreign by define-stubless-foreign
2000-09-19 08:08:39 +00:00
mainzelm
b3447ad964
Default sighandler for SIG/INT depends on whether we run interactive or not.
2000-09-17 15:10:42 +00:00
mainzelm
145ddac9cb
removed debugging output
2000-09-12 17:43:48 +00:00
mainzelm
3ecb144f95
removed bogus file
2000-09-01 08:31:58 +00:00
mainzelm
0c7809d0bc
fixed typo
2000-09-01 07:07:57 +00:00
mainzelm
edf2979dc8
removed debug message
2000-09-01 07:06:38 +00:00
marting
fa64d485bc
Added a start event during initialisation.
2000-08-28 13:30:56 +00:00
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
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
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
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
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