Commit graph

1156 commits

Author SHA1 Message Date
rsc
b8f742db85 os x changes 2005-01-11 17:43:53 +00:00
rsc
dcba4bf6bd fixes for openbsd 2005-01-11 17:14:07 +00:00
rsc
2e65dc0d02 changes from rob 2005-01-11 16:48:35 +00:00
rsc
515bd9ec76 do rfork(RFNOTEG) before exec 2005-01-10 00:28:14 +00:00
rsc
d8c78a8d56 add -r flag to reverse scrolling behavior.
from peter canning.
2005-01-10 00:21:13 +00:00
rsc
266f8e128c oops 2005-01-07 23:11:34 +00:00
rsc
3088012119 symopen 2005-01-07 23:11:11 +00:00
rsc
0a76e9690e symopen 2005-01-07 23:10:37 +00:00
rsc
6af7b77611 oops 2005-01-07 22:59:51 +00:00
rsc
50f7ec339a initial darwin 2005-01-07 21:47:30 +00:00
rsc
1aa9c533e0 allow lock passing 2005-01-07 20:52:07 +00:00
rsc
8b549a6214 symopen 2005-01-07 20:45:11 +00:00
rsc
1ab0f6f00b new program from presotto 2005-01-07 20:41:13 +00:00
rsc
931ba0b740 fix from axel 2005-01-07 20:07:33 +00:00
rsc
566f93c70d fix sunos 2005-01-07 19:11:44 +00:00
rsc
c761d0aa4f unbugger 2005-01-07 18:52:18 +00:00
rsc
39dbe6e72b small hidings 2005-01-07 18:45:17 +00:00
rsc
60efa1d2b9 seems to correct lack of focus when
coming back from being hidden.
not strictly correct in multithreaded
programs but let's see if anything breaks.
2005-01-07 18:44:21 +00:00
rsc
21621d7e20 gcc 2005-01-07 18:04:24 +00:00
rsc
a19ff5b204 debugging for sam, and an old fix forgotten 2005-01-07 18:03:36 +00:00
wkj
b80755cf2d Update CVS turd. 2005-01-07 17:41:02 +00:00
wkj
8a830ad090 First pass at supporting FreeBSD 5.x.
I do not yet have a way of testing this.
2005-01-07 17:38:08 +00:00
rsc
b4135f04f1 debugging 2005-01-07 17:26:07 +00:00
rsc
c619cc2cb9 more name conflicts 2005-01-07 17:21:09 +00:00
rsc
60ee914042 stupid FreeBSD name conflict 2005-01-07 17:20:02 +00:00
rsc
e45084490f ignore spurious sigchilds on sunos 2005-01-07 17:06:01 +00:00
rsc
005a85f3a2 success on the sun 2005-01-07 08:02:54 +00:00
rsc
c345061e8d sunos fixes 2005-01-07 07:47:37 +00:00
rsc
c71af67adc do not depend on flock 2005-01-07 07:19:35 +00:00
rsc
0dfd6525a6 no need to include sec.h 2005-01-07 06:41:21 +00:00
rsc
6b4c8671de add _flushmemscreen declaration 2005-01-07 04:05:32 +00:00
rsc
bdfd1b275b add declaration for elfdl386mapdl. 2005-01-07 04:03:29 +00:00
rsc
d0f5cbcf04 make regdesc global 2005-01-07 04:02:28 +00:00
rsc
5eb2d21999 use fmtvprint to avoid needing
to copy the arguments.
(stupid va_copy).
2005-01-06 23:45:51 +00:00
rsc
a0a331aad9 add _procwakeupandunlock
to help ease locking contention
on Linux 2.4.
2005-01-06 23:43:42 +00:00
rsc
815552b9ed go back to 1000 scheds 2005-01-06 23:13:56 +00:00
rsc
bb426e77f6 more precision on time 2005-01-06 23:11:14 +00:00
rsc
a620761c92 add some annoying lock loop prints -- let's see
if they ever fire.

also fix race in delaystack.  it was actually happening!
that just goes to show that while i can reason very well
about what can and cannot happen, i have no intuition
at all for how likely they are.
2005-01-06 23:08:55 +00:00
rsc
af89fc108d more debugging 2005-01-06 23:07:19 +00:00
rsc
f8104b3d3d exit on eof 2005-01-05 04:01:12 +00:00
rsc
33adad7dc7 update mkmk.sh 2005-01-04 22:44:52 +00:00
rsc
b253a743b2 scrolling 2005-01-04 22:43:50 +00:00
rsc
9aa1c92f74 add new | syntax.
syntax will change.
2005-01-04 22:41:27 +00:00
rsc
9e6fcbd790 forgot this 2005-01-04 22:31:35 +00:00
rsc
b2ad2ef138 in with the new 2005-01-04 22:30:59 +00:00
rsc
48bfee4e5b in with the new 2005-01-04 22:30:15 +00:00
rsc
c7acb53e03 add _threaddaemonize 2005-01-04 22:23:24 +00:00
rsc
15cd8255b5 more debugging 2005-01-04 22:22:18 +00:00
rsc
230ead2fbe better handling 2005-01-04 22:22:09 +00:00
rsc
c66e8adfa3 remove thread.c 2005-01-04 22:21:33 +00:00
rsc
b4e8c4b6d6 use 9pclient 2005-01-04 22:21:23 +00:00
rsc
817f7637e8 good thing no one uses this. 2005-01-04 22:21:01 +00:00
rsc
d165fa680c do not free r until done with it! 2005-01-04 22:20:52 +00:00
rsc
7e19561a6c hide some routines 2005-01-04 22:20:21 +00:00
rsc
1818ce0f28 minor fixes; hide some routines 2005-01-04 22:20:14 +00:00
rsc
ba3de38060 no need for disk or scsi 2005-01-04 22:19:58 +00:00
rsc
834469a3a4 fix error message 2005-01-04 22:19:46 +00:00
rsc
70723aae3c cache answer 2005-01-04 22:19:25 +00:00
rsc
a1d42887d6 add execl and rand 2005-01-04 22:19:18 +00:00
rsc
b94ad13d4b cache answer 2005-01-04 22:19:07 +00:00
rsc
66c10f02c3 avoid duplicated code.
guarantee that EINTR is "interrupted".
2005-01-04 22:18:54 +00:00
rsc
f84eebeb81 use fcntl F_SETLK instead of flock, for sun's. 2005-01-04 22:18:40 +00:00
rsc
b4223cd6f2 exception names 2005-01-04 22:18:13 +00:00
rsc
a6662a3672 unused variables 2005-01-04 22:17:58 +00:00
rsc
d40457248b use 9pclient 2005-01-04 22:17:47 +00:00
rsc
d2e350c019 parse -s option 2005-01-04 22:17:37 +00:00
rsc
f4b26b64bc do threading right 2005-01-04 22:17:10 +00:00
rsc
b10db40d3b exit correctly 2005-01-04 22:17:00 +00:00
rsc
28aaab76cf exit correctly. 2005-01-04 22:16:38 +00:00
rsc
8cc98332ad use 9pclient 2005-01-04 22:16:30 +00:00
rsc
f6127ed209 more tests 2005-01-04 22:15:53 +00:00
rsc
ed01060152 3d color cube 2005-01-04 22:13:32 +00:00
rsc
2ce287bb13 don't use (){} struct constructor 2005-01-04 22:10:43 +00:00
rsc
372e9667df Goodbye SHORTLIB 2005-01-04 22:10:29 +00:00
rsc
eb423b5cc0 use 9pclient instead of fs 2005-01-04 22:09:51 +00:00
rsc
3f54e7c8a4 good bye SHORTLIB 2005-01-04 22:09:40 +00:00
rsc
b0a81ab05d set SYSVERSION for 9c 2005-01-04 22:09:23 +00:00
rsc
1a0f021ef8 bugger fs in case it comes back 2005-01-04 22:09:09 +00:00
rsc
627bae9c76 clean up mkfile; fix winctlprint bug reported by peter canning 2005-01-04 21:39:23 +00:00
rsc
f755d50401 don't need to rename Fid 2005-01-04 21:29:20 +00:00
rsc
05636f8303 don't need to rename Fid anymore 2005-01-04 21:28:37 +00:00
rsc
93a6f8d76a back to threadnotify 2005-01-04 21:28:25 +00:00
rsc
452c09358f change to use new library. 2005-01-04 21:27:19 +00:00
rsc
30968c3fe9 typo flags => flag 2005-01-04 21:27:02 +00:00
rsc
100d566802 new prototype 2005-01-04 21:26:49 +00:00
rsc
f583e2b1d8 don't be dumb. 2005-01-04 21:26:30 +00:00
rsc
9e0b427274 small fixes; goodbye SHORTLIB 2005-01-04 21:26:13 +00:00
rsc
4bd8ec4c1c change comparison function to be consistent.
(now qsort on sunos should stop crashing.)
2005-01-04 21:25:48 +00:00
rsc
0daf9c0941 have lrand now 2005-01-04 21:25:26 +00:00
rsc
c39bd3556b allow - as input file 2005-01-04 21:25:17 +00:00
rsc
e2a1725dfc more debugging 2005-01-04 21:24:52 +00:00
rsc
020c80587a an old saddle 2005-01-04 21:24:19 +00:00
rsc
24c02865d8 placeholder; does not yet build 2005-01-04 21:23:50 +00:00
rsc
d1e9002f81 3D geometry 2005-01-04 21:23:01 +00:00
rsc
46f79934b7 lib9pclient is the new libfs 2005-01-04 21:22:40 +00:00
rsc
2600337aa7 remove libfs. now lib9pclient 2005-01-02 19:46:12 +00:00
rsc
acc021b8f8 add ? for unknown plumbs 2005-01-02 03:45:07 +00:00
rsc
4fe01a2b11 change _p9pow10 to fmtpow10 2004-12-31 05:37:15 +00:00
rsc
08166a4548 updates from andrey 2004-12-30 18:07:18 +00:00
wkj
8d8865f3d0 Rename lrand to p9lrand, too. 2004-12-29 02:44:01 +00:00
rsc
3015b83184 scroll virtual windows using mouse scroll 2004-12-29 02:42:20 +00:00
wkj
e25d5b710a Avoid conflicts with stdlib. 2004-12-29 01:30:19 +00:00
wkj
0debe1c681 Use FreeBSD-approved method for determining FreeBSD version. 2004-12-29 01:29:42 +00:00
wkj
742988d7d8 GC unused variables. 2004-12-29 01:29:14 +00:00
wkj
188fecbe15 Update mkmk.sh. 2004-12-29 01:28:48 +00:00
wkj
c90dd38f54 Formatting nits. 2004-12-29 01:27:57 +00:00
wkj
4645c5d7d3 #define pow10 to _p9pow10 as a stop-gap. 2004-12-29 01:27:23 +00:00
wkj
829e822386 Appease the time_t monster. 2004-12-29 01:25:41 +00:00
wkj
c2070b2fc9 Include netinet/in.h to get ntohs prototype. 2004-12-29 01:25:18 +00:00
wkj
374886540d Formatting nit. 2004-12-29 01:24:13 +00:00
rsc
e5d47e6e15 compiler appeasement 2004-12-28 23:27:16 +00:00
rsc
48907e89cb declare elfdl386mapdl 2004-12-28 23:27:05 +00:00
rsc
09dd30c9a0 small changes for build 2004-12-28 23:26:53 +00:00
rsc
3ddda82110 add virtual desktop patch from andrey 2004-12-28 23:21:40 +00:00
rsc
df49b30343 be like plan 9 plumber 2004-12-28 23:20:54 +00:00
rsc
ddd8916a0e vac is not buggered anymore 2004-12-28 23:15:55 +00:00
rsc
1f17800709 thread is not buggered anymore 2004-12-28 23:15:31 +00:00
rsc
228bb71d16 add crop 2004-12-28 23:13:17 +00:00
rsc
1d2533d010 restore old plan 9 property that when the
last thread exits the main proc, the remaining
program ends up in the background and the
program appears to have exited.
2004-12-28 22:36:24 +00:00
rsc
07bda1263e avoid use of an extra proc 2004-12-28 22:29:43 +00:00
rsc
70997336be remove debugging print 2004-12-28 22:13:33 +00:00
rsc
21e626deb3 remove race between openfdthread and connoutthread msgput,
so that openfd'ed fids always get clunked properly.
2004-12-28 22:11:34 +00:00
rsc
b37396bd11 make these files look like plan 9's 2004-12-28 20:01:58 +00:00
rsc
4dd07e012c check against plan 9 2004-12-28 19:25:16 +00:00
rsc
727facb605 add bvprint 2004-12-28 19:18:33 +00:00
rsc
8b45564f0f fix Bprint yet again 2004-12-28 19:18:19 +00:00
rsc
1369edef9f move linux ureg code to portable file 2004-12-28 17:35:10 +00:00
rsc
e2f52703c2 fix bug in bprint. fmtprint => fmtvprint 2004-12-28 17:34:59 +00:00
rsc
f7b74c1725 FreeBSD tweaks 2004-12-28 17:34:05 +00:00
rsc
d54ead7fb9 more freebsd work 2004-12-28 04:20:39 +00:00
rsc
31cf0ab11f attempt at FreeBSD pre-5 support 2004-12-28 03:50:11 +00:00
rsc
93eb807ac2 remove debugging 2004-12-28 03:42:11 +00:00
rsc
f5ff4947dd add va_start/va_end. 2004-12-28 03:41:17 +00:00
rsc
65cd9e4d85 use fmtprint to avoid va_copy 2004-12-28 03:40:46 +00:00
rsc
ddb664da1b add threaddaemonize 2004-12-28 01:45:39 +00:00
rsc
22c7ebffda more little compile fixes 2004-12-28 01:45:05 +00:00
rsc
7ffc5208a8 use threaddaemonize 2004-12-28 01:37:18 +00:00
rsc
96d6b19dcd new test program 2004-12-28 01:36:53 +00:00
rsc
2c87dda8f8 add threaddaemonize(), more bug fixes 2004-12-28 01:35:38 +00:00
rsc
929fcfe0e3 add note that vac should work.
change %R to %r
2004-12-27 21:05:39 +00:00
rsc
6a130cb01b use getuser instead of getenv("USER").
add portdate file.
2004-12-27 19:40:50 +00:00
rsc
a812ae4b43 secstore from ehg 2004-12-27 19:36:51 +00:00
rsc
73bfbacb24 silence various warnings 2004-12-27 19:13:31 +00:00
rsc
b3efcdbf59 change to use new thread library 2004-12-27 19:13:15 +00:00
rsc
8cbd854a8a better exec handling 2004-12-27 19:11:33 +00:00
rsc
0341761074 add awaitfor and waitfor 2004-12-27 19:11:21 +00:00
rsc
955a2ca78d starting to work on Linux 2004-12-27 18:21:58 +00:00
rsc
e127e40bb1 shuffle to allow use of execchan in non-pthreads impls 2004-12-27 17:19:44 +00:00
rsc
e8a7b96999 more features 2004-12-27 17:01:23 +00:00
rsc
2189e55cde dumb porting bugs 2004-12-27 16:57:41 +00:00
rsc
9939daadf4 use new thread library 2004-12-27 16:56:16 +00:00
rsc
8cd0011323 figure out which files to put in the library 2004-12-27 16:53:01 +00:00
rsc
f1e8706de8 linux pre-2.6 implementation 2004-12-27 16:52:46 +00:00
rsc
4dbefdd41c start linux pre-2.6 port 2004-12-27 16:52:26 +00:00
rsc
fd46554030 good test programs 2004-12-27 05:21:41 +00:00
rsc
e8edc17986 lock using Lock instead of QLock.
qlocks are complicated enough that
they need to be able to print during
debugging.
2004-12-27 05:18:22 +00:00
rsc
73722a8bbf confine pthreads to pthread.c 2004-12-27 03:49:03 +00:00
rsc
10b4555766 as wkj pointed out, notifyseton should not call notesetenable 2004-12-27 03:22:54 +00:00
rsc
17cdbb909b fix to handle new 2004-12-27 01:22:48 +00:00
rsc
dcfa5aba0d remove debugging 2004-12-27 01:22:33 +00:00
rsc
6d7fdb243c changes from plan 9 2004-12-27 01:16:26 +00:00
rsc
334cb1e91c change to use new thread library 2004-12-27 00:38:59 +00:00
rsc
0a839b8314 clone is a bad word on linux 2004-12-27 00:38:16 +00:00
rsc
3694b738b8 handle pty correctly on linux 2004-12-27 00:38:00 +00:00
rsc
2b9172c7d4 add readn to avoid need for plan9port libc 2004-12-27 00:36:40 +00:00
rsc
93f2ae0d92 change to use new thread library 2004-12-27 00:32:50 +00:00
rsc
e1dc7e4511 signal handling, add prototype for pthreadinit 2004-12-27 00:13:48 +00:00
rsc
43db87f1fc bug fix -- need to enqueue before sending the packet,
in case the response comes back and another thread
tries to give it to us, all before we are enqueued.
2004-12-27 00:13:33 +00:00
rsc
4bef0baf95 changes from plan 9 2004-12-27 00:13:04 +00:00
rsc
94235a8b4b change to use new thread library 2004-12-27 00:12:54 +00:00
rsc
9cb6f43045 bad name 2004-12-27 00:12:22 +00:00
rsc
186a31de6b add for porting 2004-12-27 00:12:12 +00:00
rsc
6850febee1 porting changes 2004-12-27 00:11:46 +00:00
rsc
eb7f99c552 fmtdef.h needed for VA_COPY 2004-12-27 00:11:32 +00:00
rsc
cdccf023aa add isNaN 2004-12-27 00:11:13 +00:00
rsc
e686c2b35e forgot this 2004-12-27 00:11:01 +00:00
rsc
52e73e955b add portdate 2004-12-26 23:59:30 +00:00
rsc
1b1434ebce changes from plan 9. some clean-up. 2004-12-26 23:59:10 +00:00
rsc
127d5444fb add portdate 2004-12-26 23:48:25 +00:00
rsc
be83c8415c add portdate 2004-12-26 23:45:12 +00:00
rsc
66209ac0fe changes from plan 9 2004-12-26 23:42:38 +00:00
rsc
bd8cb1a5b3 add portdate 2004-12-26 23:31:14 +00:00
rsc
6b322694f2 plan 9 changes 2004-12-26 23:26:46 +00:00
rsc
36a503c185 add portdate 2004-12-26 23:26:37 +00:00
rsc
b20f06ab9c use new thread library 2004-12-26 23:24:32 +00:00
rsc
d9f3e89e5e use volatile correctly 2004-12-26 23:24:14 +00:00
rsc
beff571cfd add portdate 2004-12-26 23:23:57 +00:00
rsc
a743b8faa2 add portdate 2004-12-26 23:19:25 +00:00
rsc
5787ba4d73 add proper locking for libfmt! 2004-12-26 23:17:18 +00:00
rsc
a3add39bbc plan 9 changes 2004-12-26 23:17:03 +00:00
rsc
00975b7ef1 add portdate 2004-12-26 23:10:19 +00:00
rsc
5cd259167b portdates 2004-12-26 23:08:53 +00:00
rsc
ae1c9bc4ab more tests 2004-12-26 23:07:49 +00:00
rsc
df121a0027 import changes from plan 9 2004-12-26 23:07:37 +00:00
rsc
a76c0fd4a9 pick up plan 9 fltfmt changes 2004-12-26 22:36:52 +00:00
rsc
3f1a219769 various little changes.
also pick up latest fltfmt from plan 9
2004-12-26 22:36:12 +00:00
rsc
5f8fa94796 cleanups - lots of removed files now in thread library.
qlock.c - stubs to thread library
notify.c - clean interface slightly.
2004-12-26 21:51:15 +00:00
rsc
b2ff538258 add for unix port 2004-12-26 21:50:39 +00:00
rsc
bd36f714d2 add for unix port 2004-12-26 21:50:28 +00:00
rsc
e5aa96acbf clean up for unix port 2004-12-26 21:50:14 +00:00
rsc
5c8a042171 updates from plan 9 2004-12-26 21:46:26 +00:00
rsc
60535a5ff6 make work with new thread library 2004-12-26 21:37:31 +00:00
rsc
f99790979b update to use new thread library 2004-12-26 02:10:47 +00:00
rsc
6a5c5d4870 remove empty qlock.c 2004-12-26 02:08:53 +00:00
rsc
1cc215aaf9 better unwinding for 386.
command-line extraction from core files on linux and freebsd.

move linux ureg into ureg386.h (used in many places).
2004-12-25 22:03:28 +00:00
rsc
619085f0b4 more new libthread 2004-12-25 21:57:50 +00:00
rsc
1544f90960 New thread library 2004-12-25 21:56:33 +00:00
rsc
7788fd5409 fix from forsyth via rob 2004-12-25 01:54:02 +00:00
rsc
5e2e4f8239 allow last column to be deleted 2004-11-15 16:19:03 +00:00
rsc
24f4e66b12 still more files 2004-11-08 16:04:01 +00:00
rsc
cf4f3eafc6 extra files 2004-11-08 16:03:42 +00:00
rsc
1956455367 more thread work 2004-11-08 16:03:20 +00:00
rsc
77dcf88474 stupid port bug. cannot use %ld to print a long as a *CHARACTER* 2004-11-03 14:27:30 +00:00
rsc
0d0bad2ee4 bug fix in Get from rob 2004-11-01 17:26:59 +00:00
rsc
9acaad4570 clean up signal handling 2004-10-23 02:59:33 +00:00
rsc
f6c9a57869 figure out which thread implementation to use 2004-10-22 18:46:18 +00:00
rsc
5093c3fa40 try to implement the daemonize hack. 2004-10-22 18:45:08 +00:00
rsc
048610b7ea handle interrupt right 2004-10-22 18:11:38 +00:00
rsc
fd40164450 gas workaround 2004-10-22 18:11:04 +00:00
rsc
793d93626b new test program 2004-10-22 17:15:47 +00:00
rsc
ba15d71b0c debugging, more pthreads crap 2004-10-22 17:15:30 +00:00
rsc
493f3d0fbf make sure a write of 0 bytes does a 0-length write. 2004-10-22 17:14:17 +00:00
rsc
298f6bd657 print 0 %ux as 0x0 2004-10-22 17:13:54 +00:00
rsc
32116738e1 more debugging 2004-10-22 17:12:38 +00:00
rsc
aa200fe309 try to avoid calling notify on the "dumb" signals 2004-10-22 17:12:11 +00:00
rsc
99834d136f add core dump and signal to status line 2004-10-22 17:11:47 +00:00
rsc
012a8a02d5 change md argument to number etc. (which acted only as a flag)
to an actual flag.

buffer underrun check in number

add xdata file for exactly the addressed region

save addr across opens
2004-10-22 17:11:30 +00:00
rsc
e63027eb68 formatting 2004-10-22 17:08:13 +00:00
rsc
3e6107910e exit 9p on interrupt signal. should do better job here. 2004-10-22 17:05:24 +00:00
rsc
d371199605 run 9c before 9a because gas doesn't exit with non-zero status when the file doesn't exist 2004-10-22 17:04:31 +00:00
rsc
ad00bb91b9 use threadexitsall 2004-10-17 05:33:14 +00:00
rsc
f002cc17a6 print out signalled exits 2004-10-17 05:29:53 +00:00
rsc
39cff6e750 add ulimit and umask as builtins 2004-10-17 05:19:53 +00:00
rsc
c3e73c01e3 remove socket at exit 2004-10-17 04:18:55 +00:00
rsc
42c3794c5c fix interrupt handling, add clumsy way to get at text buffer contents 2004-10-17 04:06:56 +00:00
rsc
63853aa069 bug fix in Zerox arrow handling from rob 2004-10-17 00:12:14 +00:00
rsc
0ffd63f553 embarrassing bug in keyboard data 2004-10-16 23:29:16 +00:00
rsc
8537259f82 Fix bug in rune half of __fmtcpy reported by rob. 2004-09-28 16:23:32 +00:00
rsc
53998c99d6 autoindent fixes from rob 2004-09-28 16:10:49 +00:00
rsc
ad6638adc7 add this. 2004-09-23 21:40:21 +00:00
rsc
e7821682ea add pthread 2004-09-23 19:03:46 +00:00
rsc
05d8c6df6c Get rid of 9proc. 2004-09-23 03:06:04 +00:00
rsc
040d1d02f5 Get rid of 64-bit constants. 2004-09-23 03:05:40 +00:00
rsc
709efa017c Add stringn builtin. 2004-09-23 03:04:33 +00:00
rsc
7966faa931 Continue fighting pthreads.
Clean up thread library a bit too.
2004-09-23 03:01:36 +00:00
rsc
c6687d4591 Continue the pthreads torture. 2004-09-21 01:11:28 +00:00
rsc
3d5e34e146 little fixes 2004-09-21 01:06:20 +00:00
rsc
e5c26b01f7 various forgotten files 2004-09-20 15:08:57 +00:00
rsc
dcc9531c5a bug fix 2004-09-20 15:07:44 +00:00
rsc
8d4a3514a8 was ffork-Linux.c. 2004-09-17 22:11:21 +00:00
rsc
282c88f9de Bite the bullet. Have to use different
binaries on 2.4 and 2.6.
2004-09-17 22:09:31 +00:00
rsc
b4c842f139 small tweaks 2004-09-17 22:08:43 +00:00
rsc
bcf527a98e Continue switching library over to pthreads when possible.
Tprimes works on Linux 2.6.  You can only have 128 procs
though.
2004-09-17 03:34:32 +00:00
rsc
06bb4ed20d Rewrite to remove dependence on rendezvous and its bizarre
data structures.  Makes it easier to use pthreads too.
Still need to add code for non-pthreads systems.

Just a checkpoint to switch work to another machine.
2004-09-17 00:38:29 +00:00
rsc
984e353160 PowerPC Linux support from ericvh.
Mainly adding va_copy/va_end.
Also fix bug in sprint wrapping
around top of memory.
2004-08-22 15:39:56 +00:00
rsc
18b0811745 fix various little bugs 2004-08-17 15:32:40 +00:00
rsc
e3e30cff40 Fix huge bug in lex, introduced by porting.
Surprising that anything worked.
2004-08-17 15:30:36 +00:00
rsc
d16cfe2431 handle grap.defines properly 2004-08-16 17:20:41 +00:00
rsc
bdf49b7ee0 better handling of top/active 2004-08-13 14:23:41 +00:00
rsc
2c1b986edf better mask handling, don't raise windows quite so eagerly. 2004-08-13 13:57:58 +00:00
rsc
73bef9b76b More consistent use of _exits and exits
in place of _exit and exit.
2004-08-11 01:56:35 +00:00
rsc
bf00efba2d forgot to write this change before 2004-08-06 14:14:38 +00:00
rsc
56afeac8ea different delete handling from axel.
who knows what it fixes or breaks.
2004-08-06 12:57:43 +00:00
rsc
0fa6e0cfbf Make comment match code. 2004-08-06 12:44:41 +00:00
wkj
8773b4b238 Try to be more clever about re-enabling terminal echo.
From Axel Belinfante.
2004-08-02 15:21:38 +00:00
wkj
a87638642c Compare function pointers against 0 rather than nil. 2004-07-09 01:54:06 +00:00
wkj
eac9e0183f Wc used but not set. 2004-07-09 01:34:15 +00:00
wkj
56e6e1edf4 Don't make foo and foo.tab for foo.y. 2004-07-03 18:35:09 +00:00
wkj
d900f50c1e Empty changelog 2004-07-03 18:07:06 +00:00
wkj
5241ed2bc2 Placate the Sun monster. 2004-07-03 17:48:02 +00:00
wkj
13afc7e57c Don't confuse the Sun. 2004-07-03 17:47:13 +00:00
wkj
8414847a07 Fix missing parameter type. From rob. 2004-06-25 13:56:22 +00:00
wkj
e915fe7c58 Fix from rob. 2004-06-24 00:36:58 +00:00
rsc
60f5a99860 fix temp dir 2004-06-21 03:37:51 +00:00
rsc
b9d0739c20 unused variable 2004-06-20 16:30:27 +00:00
rsc
64055489f6 fix scrolling 2004-06-20 16:29:19 +00:00
rsc
3f23048f7b remove temp files on close 2004-06-17 21:19:37 +00:00
rsc
005ee04b9f another flush bug fix 2004-06-17 21:16:17 +00:00
rsc
59a9682013 attempt better flushing
'
2004-06-17 21:13:51 +00:00
rsc
eacc220a04 less aborting, more chatting 2004-06-17 20:44:21 +00:00
rsc
a1882dc1d0 silly cache hack, also fix vtfilewritebefore not to be so aggressive. 2004-06-17 19:17:04 +00:00
rsc
7cb748941e little bug fixes 2004-06-17 18:51:50 +00:00
rsc
503f601cb0 fix initial x y 2004-06-17 16:26:26 +00:00
rsc
ac9d504d13 add key syms.
where did these go?
2004-06-17 03:34:57 +00:00
rsc
99dfa1dad2 va_arg fix 2004-06-17 03:33:33 +00:00
rsc
e66de6b077 fix alt on mac 2004-06-17 03:31:47 +00:00
rsc
dea58c42de respect Xresources geometry. from peter canning. 2004-06-17 03:31:34 +00:00
rsc
bb501e1274 fix bugs 2004-06-17 03:31:07 +00:00
rsc
7ae745421a look for $HOME - thanks to peter canning. 2004-06-17 03:30:49 +00:00
rsc
f7adbcfb81 bugger auth and authsrv 2004-06-17 03:28:29 +00:00
rsc
4180d05ba4 these do work 2004-06-17 03:28:08 +00:00
rsc
be8b315d15 basically none of these build 2004-06-17 03:27:35 +00:00
wkj
e7588227e6 Need to compile strdup.c; this script probably ought to be generated. 2004-06-17 03:18:40 +00:00
wkj
8e3520dc00 More CVS turds. 2004-06-17 01:59:39 +00:00
wkj
72a653997c Unused variable. 2004-06-17 01:59:07 +00:00
wkj
7285a491c1 Dump9660 (and mk9660). Until we either do something
intelligent with symlinks or put in a switch for things
like dump9660, this is of rather limited utility under Unix.
2004-06-17 01:47:21 +00:00
wkj
e1dddc0532 Import proto file parser for dump9660. 2004-06-17 01:46:29 +00:00
rsc
778df25e99 it is time 2004-06-16 23:51:51 +00:00
rsc
e42882dc96 publish p9dialparse 2004-06-16 16:45:09 +00:00
rsc
0c148046ed fix problem in cache. 2004-06-16 16:43:22 +00:00
rsc
39ef727f46 do a better job with 64-bit files 2004-06-16 15:32:56 +00:00
rsc
75a69d3b20 probably fix bug in seek 2004-06-16 15:31:30 +00:00
rsc
bd2e802053 DAMN BERKELEY. 2004-06-16 03:50:28 +00:00
rsc
c5eb686096 extra assertion, fix leak in vtread 2004-06-16 03:12:39 +00:00
rsc
6cc8155b49 changes 2004-06-14 21:43:01 +00:00
rsc
b707cb51ed handle 64-bit file sizes 2004-06-13 20:08:00 +00:00
rsc
d9e16d252a get this right 2004-06-11 18:57:32 +00:00
rsc
e750400529 add OLOCK 2004-06-11 14:38:56 +00:00
rsc
4f0073fec2 back to 32 bit for now 2004-06-11 12:52:08 +00:00
rsc
9b24f92c56 maybe 64-bit better 2004-06-11 04:33:54 +00:00
rsc
fa009f9d72 scrolling 2004-06-11 04:13:24 +00:00
rsc
038aa0220a scrolling 2004-06-11 04:13:03 +00:00
rsc
d7037d6280 scrolling 2004-06-11 04:12:54 +00:00
rsc
f9571521a5 let's try this 2004-06-09 14:56:36 +00:00
rsc
df7993f9c9 handle opaque structs better 2004-06-09 14:55:34 +00:00
rsc
3d99190131 mouse scrolling 2004-06-09 14:54:37 +00:00
rsc
de52dcf55b remove print 2004-06-09 14:53:26 +00:00
rsc
678359a95a wkj says to do this 2004-06-09 14:29:08 +00:00
rsc
26af0278ae asdf 2004-06-09 14:26:21 +00:00
rsc
3df0f067ce add -C for cpu 2004-06-09 14:25:57 +00:00
rsc
65de82a30f clean up children more often 2004-06-09 14:23:34 +00:00
rsc
f9aa99c72e dumb maps again 2004-06-09 14:22:41 +00:00
rsc
9c63558707 asdf 2004-06-09 14:22:08 +00:00
rsc
f437e56d1d add strdup for debugging. 2004-06-09 14:15:47 +00:00
rsc
ca9b36624f work much harder to reclaim stacks 2004-06-09 14:14:11 +00:00
rsc
ceecb31310 satisfy valgrind 2004-06-09 14:13:49 +00:00
rsc
d1b4cfde55 use plan9 malloc 2004-06-09 14:12:04 +00:00
rsc
e290cfc138 don't require x 2004-06-09 14:11:47 +00:00
rsc
9a4289cfdc add network dialing 2004-06-09 14:11:28 +00:00
rsc
8baa0cbdff various debugging 2004-06-09 14:10:32 +00:00
rsc
7e4a17cf33 use libplumb instead 2004-06-09 14:06:09 +00:00
rsc
4f604b1843 change to plumb better 2004-06-09 14:04:33 +00:00
rsc
4192ac1de1 debugging 2004-06-09 14:03:54 +00:00
rsc
09a5f19772 Buttons 4 and 5 2004-06-09 14:01:54 +00:00
rsc
c16f1f733b Buttons 4 and 5. 2004-06-09 14:01:43 +00:00
rsc
ff8bbc7987 Add buttons 4 and 5 (scrolling on X). 2004-06-09 14:01:30 +00:00
wkj
2d67e4cc56 More cvs turds. 2004-06-03 14:26:25 +00:00
wkj
3081fb8243 This should never have been committed in the first place. 2004-06-03 14:25:50 +00:00
wkj
4a3060535a Libip builds for me on FreeBSD and MacOS X and I have stuff that needs it. 2004-06-03 14:24:07 +00:00
rsc
f1ad497719 small bug fixes 2004-05-23 23:26:59 +00:00
rsc
1be1539ea8 make sure only one guy can call exit. 2004-05-23 01:00:12 +00:00
rsc
6c7460701e various bug fixes and paranoia 2004-05-23 00:59:33 +00:00
rsc
a09e80f9c4 various debugging 2004-05-23 00:59:17 +00:00
rsc
7e0e6522e5 lock malloc ourselves 2004-05-23 00:58:23 +00:00
rsc
1c39bb5919 fix race. 2004-05-20 21:39:24 +00:00
rsc
52aeb2f9b9 more timeout avoidance 2004-05-20 18:22:53 +00:00
rsc
4cc2763a04 don't touch the alarm when there is no timeout 2004-05-20 18:21:38 +00:00
rsc
f2479500fa remove some debugging 2004-05-20 18:17:35 +00:00
rsc
ca82da2258 refer to new file 2004-05-17 03:29:22 +00:00
wkj
aa83d77271 More troff bits; if you want them elsewhere, feel free to repo copy them. 2004-05-17 03:22:35 +00:00
wkj
a7eb134e87 Rename stuff. 2004-05-17 03:17:30 +00:00
wkj
f593f5e008 A few bits of troff don't seem to be buggered anymore. 2004-05-17 02:25:09 +00:00
wkj
e8fb1d3efb tr2post and aux/download; download is a shell script in $PLAN9/bin. 2004-05-17 02:24:15 +00:00
wkj
8a3cbc1579 Make tbl compile silently. 2004-05-17 02:23:43 +00:00
wkj
1f72bc47fe Tweak to make troff compile silently. 2004-05-17 02:23:11 +00:00
wkj
e98091cf8d Ditto. 2004-05-17 02:22:36 +00:00
wkj
1e1cea296a Tweak grap to make it compile silently. 2004-05-17 02:22:23 +00:00
wkj
7534722667 Tweak mpm pending C++ support in the mkfiles. 2004-05-17 02:22:03 +00:00
wkj
4418401f33 Import Taj's version of mnihongo; mark as buggered (but it compiles). 2004-05-17 02:21:36 +00:00
wkj
943563d53c Placate the CVS monster. 2004-05-17 02:21:11 +00:00
wkj
fdd79b2faf Remove accidentally comitted files. 2004-05-17 00:54:02 +00:00
rsc
ff637d88b4 bugger mpm 2004-05-16 17:04:02 +00:00
rsc
bbc3727e15 use correct mkfiles 2004-05-16 17:03:39 +00:00
rsc
45732904c4 ignore venti 2004-05-16 12:55:34 +00:00
rsc
6d2233eec2 correct paths, even though i don't think this is used. 2004-05-16 12:54:35 +00:00
wkj
b4bf678f38 Lex is not buggered. 2004-05-16 07:59:57 +00:00
wkj
eb43e9ba97 Make lex more pedant friendly. 2004-05-16 07:59:27 +00:00
wkj
a87f4771c7 Supress line noise. 2004-05-16 07:58:58 +00:00
wkj
b3878828c6 bwk's dformat. 2004-05-16 07:58:31 +00:00
wkj
b237df90f9 Checkpoint. 2004-05-16 07:57:50 +00:00
wkj
5f1cf8e6fb Checkpoint: pull in mpm; merge pic from Taj's version of the world 2004-05-16 07:56:41 +00:00
wkj
c5561c23cf Checkpoint -- still merging with Taj's version of the world. 2004-05-16 07:55:57 +00:00
wkj
b855148c9b Checkpoint. 2004-05-16 07:54:22 +00:00
rsc
61f5c35c94 more files 2004-05-15 23:55:53 +00:00
rsc
36a9115fcb whoops 2004-05-15 23:32:42 +00:00
rsc
5cedca1b69 Let's try this. It's BUGGERED. 2004-05-15 23:24:00 +00:00
rsc
76e6aca867 old linux 2004-05-15 23:16:38 +00:00
rsc
7f596de86a fix $PLAN9. 2004-05-15 23:15:31 +00:00
rsc
bf27f58721 restore current directory after threadexec.
this is dodgy.
2004-05-15 23:13:42 +00:00
rsc
3cb977fe6c asdf 2004-05-14 23:23:39 +00:00
rsc
b081423638 Empty changelog 2004-05-14 23:13:34 +00:00
rsc
6a64e6c983 asdf 2004-05-14 23:13:15 +00:00
rsc
97fed159e4 avoid stupid aspect ratios. 2004-05-14 23:11:48 +00:00
rsc
983990c806 C
little bugs
.
wq
VS: ----------------------------------------------------------------------
2004-05-14 20:19:53 +00:00
rsc
631fe87f4c minor bug fixes 2004-05-14 20:08:02 +00:00
rsc
debcecb539 little bug fixes 2004-05-14 19:45:23 +00:00
rsc
8538a66037 allow
sam -r machine filelist...

from presotto
2004-05-14 18:25:49 +00:00
rsc
f1bfc54e12 More little bug fixes 2004-05-14 17:45:39 +00:00
rsc
1a8f27c350 various bug fixes 2004-05-14 15:14:21 +00:00
rsc
30387d7ba6 Noblock is nonsense. 2004-05-12 18:22:54 +00:00
rsc
c4097c2951 Fix small bugs. 2004-05-11 17:51:27 +00:00
rsc
2f2df5e02e Ditto. 2004-05-09 16:12:46 +00:00
rsc
2f05c0e86d It's bad form to access data *below* the stack pointer. 2004-05-09 16:10:31 +00:00
rsc
2e965b3324 various bug fixes 2004-05-05 04:22:16 +00:00
wkj
4f48d1d4f7 Don't keep core dumps around. 2004-05-04 20:18:55 +00:00
wkj
115d4c0afc Ignore unknown pragmas.
Be less verbose when allocating uprocs.
Don't drop core dump turds all over the place when x11 goes away.
2004-05-03 17:26:17 +00:00
rsc
b1455f33a8 Little fixes. 2004-04-30 02:16:28 +00:00
rsc
be36ff6885 add -W to specify window size.
various other little fixes.
2004-04-29 17:13:24 +00:00
rsc
3d72637f9b Don't be stupid. 2004-04-26 19:28:28 +00:00
rsc
7317e77da3 display correct size of block devices for linux.
that was surprisingly easy.
2004-04-25 22:24:56 +00:00
rsc
840bb96866 stupid sun 2004-04-25 21:36:03 +00:00
rsc
ecdecae370 little fixes 2004-04-25 21:33:10 +00:00
rsc
1d14d0abf1 getdate is in sun libc. 2004-04-25 21:32:42 +00:00
rsc
10495dd324 add stubs for other systems.
add threadspawn.
2004-04-25 21:31:32 +00:00
rsc
77b3fa7c29 make astro work on suns. ;-) 2004-04-25 21:25:33 +00:00
rsc
304b47c101 collapse \r\r\r\r => \r. 2004-04-25 21:23:27 +00:00
rsc
62780722f5 do flush properly 2004-04-25 21:13:58 +00:00
rsc
e5f0d957f2 flushing a little much. 2004-04-25 21:09:39 +00:00
rsc
fb5ca0b97b fix some bugs when using 9term 2004-04-25 20:50:09 +00:00
rsc
2d930d4552 always be honest about tabstop. 2004-04-25 20:49:44 +00:00
rsc
4a4a7c3e5b whoops 2004-04-25 20:42:08 +00:00
rsc
9471281d42 no more Dotfiles 2004-04-25 20:27:39 +00:00
rsc
c591e1e616 add tab size to window ctl file 2004-04-25 20:26:49 +00:00
rsc
4e20688042 make it possible to access fonts without a display. 2004-04-25 20:26:27 +00:00
rsc
a2c2caaafe fix 2004-04-24 17:34:52 +00:00
rsc
8a3b2ceb0f Add scat. Temporary fix to rc r.e. note groups. 2004-04-24 17:05:43 +00:00
rsc
3f8c70e97c a simple plan 9 image viewer 2004-04-24 16:59:47 +00:00
rsc
e2713e92ab bug fixes and a new gview 2004-04-24 16:34:15 +00:00
rsc
97dafe411a use tty 2004-04-24 05:22:42 +00:00
rsc
78802e6993 various bug fixes 2004-04-24 04:52:49 +00:00
rsc
272fd660b4 small bug fixes 2004-04-23 17:47:02 +00:00
rsc
5e0f7e8a72 Fix window size in case we inherited a bad one. 2004-04-23 06:49:17 +00:00
rsc
b274161734 invoke correct helper. 2004-04-23 05:46:42 +00:00
rsc
b1b5deeea6 fix libraries 2004-04-23 05:35:56 +00:00
rsc
fee88b7e81 use kvm on darwin 2004-04-23 05:35:09 +00:00
rsc
f2862098ca use kvm 2004-04-23 05:34:36 +00:00
rsc
a4a13093d0 forgot this 2004-04-23 05:21:04 +00:00
rsc
1aa4e9c82e little things 2004-04-23 05:17:54 +00:00
rsc
e21fee604e move these here 2004-04-23 05:14:58 +00:00
rsc
f0f4401f0c stats helper 2004-04-23 05:12:11 +00:00
rsc
d72054aa27 add this 2004-04-23 03:50:19 +00:00
rsc
49fda441d2 don't print TIMESTAMP messages 2004-04-22 15:19:59 +00:00
rsc
7e42d21012 odds and ends 2004-04-21 23:43:46 +00:00
rsc
f23ba5ea63 use mk archive stuff 2004-04-21 23:34:11 +00:00
rsc
17e5fb8973 add new guys 2004-04-21 23:22:06 +00:00
rsc
3db34fda4b rename yacc so we can make sure we get it. 2004-04-21 22:49:36 +00:00
rsc
a9df759c98 new stuff. 2004-04-21 22:49:15 +00:00
rsc
fb36ed82ec how much stack do we need? 2004-04-21 22:47:15 +00:00
rsc
2b4b2ae191 better error handling 2004-04-21 22:47:01 +00:00
rsc
63b6732301 make stack requirements more explicit. 2004-04-21 22:46:39 +00:00
rsc
3151bc58b8 why do things change? 2004-04-21 22:46:21 +00:00
rsc
141243821c just a stub. 2004-04-21 22:44:51 +00:00
rsc
06c4fd06ca add RFNOWAIT. this was probably a bad idea. 2004-04-21 22:44:37 +00:00
rsc
ee6d04f9fe undo the madness. 2004-04-21 22:42:01 +00:00
rsc
99f4029090 $foo in tags - here only for reference. 2004-04-21 22:39:37 +00:00
rsc
b9403fe70a use fancy mk syntax 2004-04-21 22:37:44 +00:00
rsc
24c8d8491f add -m flag 2004-04-21 22:37:29 +00:00
rsc
53db2d0f6b why not? 2004-04-21 22:37:11 +00:00
rsc
f80f53a942 cut the cute graphics. 2004-04-21 22:35:40 +00:00
rsc
28994509cc Why not? 2004-04-21 22:19:33 +00:00