Commit graph

2127 commits

Author SHA1 Message Date
rsc
8ad517944e Today's changes.
More changes.
2004-03-25 23:03:57 +00:00
rsc
0023dde326 Fix colors. 2004-03-22 16:08:32 +00:00
rsc
e62ba5ec0b Fix lots of warnings.
Incorporate changes from Andrey Mirtchovski.
2004-03-21 23:24:28 +00:00
rsc
64044a070a Initialization bug reported by Taj Khattra. 2004-03-21 20:42:11 +00:00
rsc
bbbc97b008 Add namespace.c 2004-03-21 14:07:19 +00:00
rsc
b3f61791f1 Add libmp. 2004-03-21 14:06:38 +00:00
rsc
498bb22174 Add some missing files. 2004-03-21 14:05:38 +00:00
rsc
0fc65b37a1 Add most of libsec. 2004-03-21 14:04:56 +00:00
rsc
768206abfc Add mkfile. 2004-03-21 13:54:34 +00:00
rsc
ca0c710cf8 Make idiff build. 2004-03-21 05:20:37 +00:00
rsc
304278e5fd Don't require plumber. 2004-03-21 05:19:51 +00:00
rsc
2277c5d7bb Small tweaks
Lots of new code imported.
2004-03-21 04:33:13 +00:00
rsc
038e9089b3 Change 9wm to look like rio. 2004-03-21 04:27:28 +00:00
rsc
ba9ffa53c4 Change 9term to look like rio windows, not acme windows. 2004-03-21 04:27:09 +00:00
rsc
d23a617a83 Various small interface changes. 2004-03-15 01:57:29 +00:00
rsc
3d77c87e81 Vac works. 2004-03-15 01:56:49 +00:00
rsc
333c1dccc2 Add binary fraction tree index.
The old index code is still
supported too.  Buildindex and
checkindex need to be revisited,
though they should be easy to adapt.
2004-03-13 04:35:13 +00:00
rsc
9ffbb5adca Checkpoint.
Add disk caching code and first draft of fractional index.
2004-03-12 18:28:14 +00:00
rsc
7c5190d2c8 Add 200-line comment trying to explain the new index. 2004-03-12 05:42:28 +00:00
rsc
2499885177 Implement write buffer. 2004-03-11 19:14:09 +00:00
rsc
d49a2e4801 Various fixes, add spell. 2004-03-09 12:45:12 +00:00
rsc
fb7cc74a92 remove debugging print. 2004-03-05 06:10:11 +00:00
rsc
0d0df317f8 Unfix non-bug. 2004-03-05 06:03:26 +00:00
rsc
8c6f0e8ab4 Small bug fixes. 2004-03-05 05:58:48 +00:00
rsc
15680d56a6 Amazingly picky bug fixes from Valgrind. 2004-03-05 05:53:11 +00:00
rsc
28fe2052d0 don't need these. 2004-03-05 05:14:18 +00:00
rsc
62390091b7 Update libregexp with recent bug fixes from Plan 9. 2004-03-05 05:13:56 +00:00
rsc
4da83e7cce Various little fixes. 2004-03-05 03:13:13 +00:00
rsc
c91bd3283a Pipes cannot use SOCK_DGRAM. Back to SOCK_STREAM.
Add debugging to fdwait.

Rewrite getcallerpc on PowerMac to be correct.
2004-03-05 02:25:41 +00:00
rsc
02a1a5c18b Debugging libthread for acme. 2004-03-05 01:12:11 +00:00
rsc
315e309098 Remove debugging print. 2004-03-04 02:37:30 +00:00
rsc
0b91799791 Fix rc not to bus error on Mac OS X.
Don't print about child notes either.
2004-03-04 02:36:36 +00:00
rsc
1ae0de511a Some day I will get this right. 2004-03-04 02:06:46 +00:00
rsc
6a0523b94e Account for C vs. assembly in tas and getcallerpc. Sigh. 2004-03-03 21:21:29 +00:00
rsc
4615bace42 Whoops. 2004-03-03 00:03:19 +00:00
rsc
4cdbf87a15 Remove a debugging print, more cleanup. 2004-03-02 23:16:37 +00:00
rsc
af78a4cd2b Little tweaks and documentation. 2004-03-02 23:11:58 +00:00
rsc
efc2b0c99e Make sure snarf is <64kB, since the wire count
is only 16 bits.
2004-03-02 20:02:13 +00:00
rsc
ff34e95bc3 Change pipes to preserve message boundaries. 2004-03-02 19:27:44 +00:00
rsc
05b7f431f0 Long-standing stability bugs fixed in 9pserve.
Update win to use acme interface directly instead of via pipes.
Add comment to pipe about lack of message boundaries.
2004-03-02 19:21:48 +00:00
rsc
8f314994db More Mac tweaks. 2004-03-02 17:34:15 +00:00
rsc
53dbac9485 Tweaks for the Macintosh. 2004-03-02 16:58:49 +00:00
rsc
6e2cec77b2 missing programs 2004-03-02 16:55:27 +00:00
rsc
34ca7ee3bf Empty changelog 2004-03-01 19:39:15 +00:00
rsc
63dd44c8ca more tweaks. 2004-02-29 23:21:24 +00:00
rsc
d21d62e2fc Various tweaks. 2004-02-29 23:20:28 +00:00
rsc
c3a72d77dc Threadplumbrecv. 2004-02-29 23:11:52 +00:00
rsc
e04d5bee69 Tweak listing of libraries. 2004-02-29 23:09:35 +00:00
rsc
2fd9db992a Install commands before subdirectories,
so we get yacc before compiling hoc.
2004-02-29 22:58:04 +00:00
rsc
b4705757e5 Threaded read9pmsg. 2004-02-29 22:54:49 +00:00
rsc
2517c38a8c Add fdwait routines. 2004-02-29 22:53:51 +00:00
rsc
d6df6c1e29 Update mkmk.sh. 2004-02-29 22:49:59 +00:00
rsc
f063dad96e Small tweaks to make things build again. 2004-02-29 22:42:33 +00:00
rsc
91c13e54b5 Move utf, fmt. Small header file changes. 2004-02-29 22:11:15 +00:00
rsc
5a8e63b2f0 Fighting the good fight.
Move libfmt, libutf into subdirectories of lib9.

Add poll-based socket i/o to libthread, so that we can
avoid using multiple procs when possible, thus removing
dependence on crappy pthreads implementations.

Convert samterm, acme to the single-proc libthread.

Bring libcomplete, acme up-to-date w.r.t. Plan 9 distribution.
2004-02-29 22:10:26 +00:00
rsc
d51419bf43 various tweaks. 2004-02-09 19:33:05 +00:00
rsc
c197370550 completion, pageup/pagedown 2004-02-09 19:32:18 +00:00
rsc
97fdda4e86 need pty.h on linux according to scott schwartz 2004-01-20 01:59:47 +00:00
rsc
03480d7333 Why would the Linux man page actually tell the truth? 2004-01-09 20:07:49 +00:00
rsc
278be7797f add libs 2004-01-09 00:14:47 +00:00
rsc
b214663d34 linux diffs. 2004-01-09 00:04:55 +00:00
rsc
49588d5d90 Tweaks to various bits.
Until I hear otherwise, Refs aren't used enough to
merit their own assembly.  They are now implemented with locks.
2003-12-17 04:34:52 +00:00
rsc
7f11104a57 Add libString. 2003-12-11 18:15:57 +00:00
rsc
57ccfb9e8f ramfs 2003-12-11 17:50:50 +00:00
rsc
b3994ec5c7 More files related to user-level file servers.
Also add acme!
2003-12-11 17:50:28 +00:00
rsc
32f69c36e0 Add support for user-level 9P servers/clients and various bug fixes to go with them. 2003-12-11 17:48:38 +00:00
rsc
ac244f8d28 bug from wkj 2003-12-09 18:07:09 +00:00
rsc
e95a70884b Bug fixes from the Valgrind oracle. 2003-12-09 06:37:26 +00:00
rsc
ceb0477083 check everything in so i can move to linux and valgrind. 2003-12-09 06:06:07 +00:00
rsc
4e6ed88aa8 rebuild because of libbio/bfmt.c 2003-12-06 19:33:11 +00:00
rsc
d3df308747 File system stuff. 2003-12-06 18:08:52 +00:00
rsc
e97ceade5e various tweaks. 2003-12-06 18:05:27 +00:00
rsc
c715a6127a nan 2003-12-04 19:18:28 +00:00
rsc
dff7e27317 Clean up yacc files in mkcommon, mkhdr.
Add nan to lib9.
Fix memory corruption bugs in 9term.
2003-12-04 19:16:29 +00:00
rsc
c5b9ff9fa8 add hoc 2003-12-04 17:45:49 +00:00
rsc
25b866dd06 disable some programs, enable others. 2003-12-04 17:31:08 +00:00
rsc
49c26cf71c Remove debugging print from 9term. 2003-12-04 17:23:51 +00:00
rsc
3fd755b763 Various fixes. 2003-12-04 04:29:47 +00:00
rsc
d2a414f28d fix bug in handling of backspace in output. 2003-12-04 00:31:14 +00:00
rsc
5af29cd3a9 make hold mode a bit more attractive. 2003-12-04 00:20:33 +00:00
rsc
1c8efa18ee allow rfork(RFNOTEG|RFPROC|RFFDG) for rc. 2003-12-04 00:17:10 +00:00
rsc
683c5e534a more bug fixes 2003-12-04 00:16:33 +00:00
rsc
d3acba9559 add -a flag for acme. 2003-12-04 00:11:33 +00:00
rsc
b0be3b8826 add bfmt. 2003-12-03 22:51:11 +00:00
rsc
669250d159 Various fixes.
B - fixed usage, DISPLAY :0 vs :0.0
	9term - fixed various terminal things
	rc - notice traps in Read
	_p9dir - only run disk code for disks
	dirread - getdirentries on FreeBSD and Linux
		are different w.r.t. meaning of off.
	notify - set up so signals interrupt system calls
	bprint - use bfmt.
2003-12-03 22:50:48 +00:00
rsc
1ccf253eb2 fix stack size (oops) 2003-12-02 21:49:45 +00:00
rsc
ab5efca82f Check for changed window size after window creation. 2003-12-02 03:50:06 +00:00
rsc
e39b8b1928 More X11 snarf tweaks.
Will we ever finish?
2003-12-02 03:42:46 +00:00
rsc
1555bd7aaa call exit rather than _exits inside exits,
so that the c library atexit handlers get
a chance to run.
2003-11-26 00:48:56 +00:00
rsc
268fa93385 Fix X11 clipboard again. 2003-11-25 20:30:11 +00:00
rsc
0870887793 add dict 2003-11-25 03:37:45 +00:00
rsc
e642beb522 add sunos 2003-11-25 03:06:00 +00:00
rsc
3ad24e4036 add libplumb to dir list 2003-11-25 03:03:45 +00:00
rsc
915ce5c28f fix libplumb 2003-11-25 03:03:30 +00:00
rsc
f161341946 fixes to plumber and 9term 2003-11-25 03:02:54 +00:00
rsc
21a17ff3e9 Update NOTES, hack on 9term a little. 2003-11-25 02:54:24 +00:00
rsc
3765283ccf Silence some Mac OS X warnings. 2003-11-25 02:36:46 +00:00
rsc
6bb54fab15 more tweaks. 2003-11-25 02:22:49 +00:00
rsc
64bcfff3a1 More tweaks on Linux and Solaris. 2003-11-25 02:11:11 +00:00
rsc
f7012583e9 Add the #goo to allow use in C++.
Silence a few more warnings.
Strip down the mkfiles more.
Fix bug in X11 mouse handling, note groups.
2003-11-25 01:40:27 +00:00
rsc
912fba95e7 Changes for Mac OS X. Most important is stack sizes in samterm,
which were completely bogus.  (Libthread used to ignore them but
not anymore.  Maybe we really should ignore them, but that breaks
Venti, which needs *really* big stacks.)
2003-11-24 22:39:06 +00:00
rsc
2db9e4821d tweaks. 2003-11-24 20:16:30 +00:00
rsc
cedbe4a4fa Tweaks for Linux. 2003-11-24 00:59:36 +00:00
rsc
f9355efb2e Build correctly on FreeBSD.
(Will this process ever reach a fixed point?)
2003-11-24 00:47:50 +00:00
rsc
d2c4ee9e48 Tweaks to build properly on Linux. 2003-11-24 00:43:41 +00:00
rsc
478ee9636f Make things build on FreeBSD again. 2003-11-23 20:04:53 +00:00
rsc
1c253ceb58 Annoying changes to work on Sun boxes. 2003-11-23 19:49:17 +00:00
rsc
50e628cb8f runthread needn't be inline 2003-11-23 18:38:17 +00:00
rsc
6723d9518d set path 2003-11-23 18:33:24 +00:00
rsc
d66daf1d61 one Makefile 2003-11-23 18:32:42 +00:00
rsc
9e37bb03b3 make -> mk 2003-11-23 18:23:38 +00:00
rsc
d709423926 add libip 2003-11-23 18:23:20 +00:00
rsc
99947423b1 make -> mk 2003-11-23 18:22:36 +00:00
rsc
db6608bd81 add libsec 2003-11-23 18:21:42 +00:00
rsc
056fe1ba7f new venti library. 2003-11-23 18:19:58 +00:00
rsc
9df487d720 add libhttpd 2003-11-23 18:19:35 +00:00
rsc
b6afd33e2f add libflate 2003-11-23 18:19:18 +00:00
rsc
8a708fb239 sun support 2003-11-23 18:18:41 +00:00
rsc
cd7ddc9b5f make -> mk
remove clumsy stack hack.
fix exec.
fix nthreads maintenance.
fix threadexitsall not to kill self.
add sun support.
2003-11-23 18:18:00 +00:00
rsc
b7e6f4150f make -> mk
use $HOME/mnt/plumb as named pipe.
2003-11-23 18:16:51 +00:00
rsc
58611a1bbf make -> mk
change %u from verb to flag.
2003-11-23 18:16:24 +00:00
rsc
16a7096669 Add drawsetlabel(Display*, char*).
Turn window destruction into "hangup" note.
Fix (?) snarf buffer management.
Add latin1 keyboard translation.
2003-11-23 18:15:43 +00:00
rsc
986b36bccd make -> mk.
add Bfdopen.
2003-11-23 18:14:35 +00:00
rsc
fd04aacee1 Various additions and fixes. 2003-11-23 18:12:54 +00:00
rsc
74f990ad84 add libbin 2003-11-23 18:11:44 +00:00
rsc
dda0695dc0 forgot this. 2003-11-23 18:11:17 +00:00
rsc
5c34ff9e1c make -> mk 2003-11-23 18:10:54 +00:00
rsc
bc7cb1a15a new utilities.
the .C files compile but are renamed to avoid building automatically.
2003-11-23 18:04:47 +00:00
rsc
f08fdedcee Plan 9's rc.
not a clear win over byron's,
but at least it has the right syntax.
2003-11-23 18:04:08 +00:00
rsc
5993a8f275 the one true diff.
at least it can handle "diff file1 file2 dir".
2003-11-23 18:03:02 +00:00
rsc
cfabc3ed16 Dhog's 9term.
Updated for current libraries by Caerwyn Jones.
Button-3 plumbing (like in acme) by rsc.
2003-11-23 18:02:15 +00:00
rsc
b8c14089d8 Plan 9 version, nothing tweaked yet. 2003-11-23 17:58:26 +00:00
rsc
7763a61a35 start thinking about vac -- doesn't build yet 2003-11-23 17:55:34 +00:00
rsc
7a4ee46d25 Initial stab at Venti. 2003-11-23 17:54:58 +00:00
rsc
4fbfdd7acd make -> mk 2003-11-23 17:54:24 +00:00
rsc
ef9890f65a perror, create, remove now in the headers 2003-11-23 17:53:56 +00:00
rsc
163c9a25ec remove debugging print. 2003-11-23 17:53:45 +00:00
rsc
17f131946f change from rob -- handle ^U like in rio, acme 2003-11-23 17:53:32 +00:00
rsc
422761f81e make -> mk 2003-11-23 17:53:05 +00:00
rsc
f37a36a8f4 create, perror, and remove are now properly in the headers. 2003-11-23 17:52:04 +00:00
rsc
fc1d90caca Don't need to install 'u' as flagfmt anymore. 2003-11-23 17:51:41 +00:00
rsc
5b6dcaf404 use path-less names for ssh, samterm.
let execvp sort it out.
2003-11-23 17:51:03 +00:00
rsc
e6c4346b50 Use execvp to avoid hard-coding path names for ssh, samterm. 2003-11-23 17:50:36 +00:00
rsc
d8b652ae6f print current directory in "don't know how to make" errors. 2003-11-23 17:48:53 +00:00
rsc
3d7e9092a4 Single-threaded plumber that can run "start" rules.
Thanks to Caerwyn Jones.
2003-10-14 02:35:00 +00:00
rsc
169aba14a4 Move werrstr into errstr, so that if you use werrstr
you have to get this __errfmt instead of the one
in libfmt that only does Unix error codes.
2003-10-14 02:10:47 +00:00
rsc
8110278003 Fix a bug in Linux? 2003-10-14 01:46:24 +00:00
rsc
67f1f37bd8 Tweaks. 2003-10-13 17:17:08 +00:00
rsc
25096ae2b7 Set $BIN. 2003-10-13 17:16:43 +00:00
rsc
59d7d92ee7 Flush the display when we poll for events. 2003-10-13 17:16:29 +00:00
rsc
e6f4b2e311 Rewrite /lib/font/bit to $PLAN9/font when open fails. 2003-10-13 17:16:15 +00:00
rsc
90026180d1 Use new directory structure. 2003-10-11 03:58:46 +00:00
rsc
00b80edb97 Licensing and various tweaks. 2003-10-11 02:59:10 +00:00
rsc
a6ea03aea9 Allow prec==0. 2003-10-11 02:49:01 +00:00
rsc
161060a463 Lots of X fixes. 2003-10-11 02:47:43 +00:00
rsc
4af386f434 Remove errfmt -- it's in lib9. 2003-10-11 02:47:14 +00:00
rsc
ffcafb8c4b Various tweaks. The implementation of notify, create, etc.
should really be in lib9.
2003-10-11 02:45:55 +00:00
rsc
941c9f36a9 Tweaks to make it work on Unix. 2003-10-11 02:45:02 +00:00
rsc
98014aa543 Macintosh. 2003-10-03 15:33:45 +00:00
rsc
d4853cf44b Move resize into main proc. 2003-10-01 15:20:53 +00:00
rsc
5adfe7e525 Tweaks. 2003-10-01 03:01:08 +00:00
rsc
4cecbbe678 wasn't supposed to go in. 2003-10-01 02:53:27 +00:00
rsc
a46395ecf9 More Darwin. 2003-10-01 02:53:00 +00:00
rsc
a995e477ff Various tweaks to make things run on Mac OS.
The main change is the use of pthread to implement ffork.
2003-10-01 02:50:57 +00:00
rsc
e182749a98 Need ranlib for Mac. 2003-10-01 02:44:51 +00:00
rsc
8af7f5d093 Rendezvous tester. 2003-10-01 00:44:57 +00:00
rsc
e767dd4930 Add extra build targets. 2003-10-01 00:44:50 +00:00
rsc
b350297447 Fix path to bio.h. 2003-09-30 19:10:53 +00:00
rsc
c4954d68b8 Empty changelog 2003-09-30 19:06:33 +00:00
rsc
522b0689c3 Reorg 2003-09-30 19:05:50 +00:00
rsc
84b1cb73b3 Initial revision 2003-09-30 17:47:44 +00:00
rsc
a59ea66fa9 Initial import. 2003-09-30 17:47:44 +00:00
rsc
b822e0d803 Initial revision 2003-09-30 17:47:43 +00:00
rsc
b599070848 Initial import. 2003-09-30 17:47:43 +00:00
rsc
76193d7cb0 Initial revision 2003-09-30 17:47:42 +00:00
rsc
ed7c8e8d02 Initial import. 2003-09-30 17:47:42 +00:00
rsc
b2cfc4e2e7 Initial revision 2003-09-30 17:47:41 +00:00