Commit graph

305 commits

Author SHA1 Message Date
rsc
1ed1c638a8 Small fixes 2004-03-31 01:01:24 +00:00
rsc
4f30f3b444 grey out 9term when it loses focus. 2004-03-30 05:03:29 +00:00
rsc
c005568a7f Border resizing and 9term greying. 2004-03-30 05:01:53 +00:00
rsc
1cb3fa8093 Border resizing by dragging.
Thanks to Axel Belinfante.
2004-03-29 12:00:15 +00:00
rsc
d99b2f34e6 Sometimes it's amazing these haven't been turned
up by other compilers.
2004-03-26 19:20:10 +00:00
rsc
1d011a3ec0 OpenBSD support from Markus Friedl. 2004-03-26 18:08:54 +00:00
rsc
fff395d75c more color map hackery from axel. 2004-03-26 17:44:45 +00:00
rsc
69ab5d3d49 handle interrupts and backgrounded processes a little better. 2004-03-26 17:30:36 +00:00
rsc
25e0e4f334 . 2004-03-26 17:15:57 +00:00
rsc
2308413372 Chording paste bug. 2004-03-26 17:15:34 +00:00
rsc
6325e03247 Be more careful about not changing screen! 2004-03-26 17:06:55 +00:00
rsc
3df902ecd0 Only use futimesat on Solaris 9 2004-03-26 05:06:22 +00:00
rsc
6b2d0fd946 Bug fixes from Scott Schwartz.
Try to make 9term not crash when X errors happen.
2004-03-26 03:45:55 +00:00
rsc
eeb7312231 Fortune fix 2004-03-26 03:07:52 +00:00
rsc
f6dc1628d6 Remove debugging echos. 2004-03-26 02:08:44 +00:00
rsc
be22ae2d07 SunOS can rot in hell. 2004-03-26 01:59:35 +00:00
rsc
4e3a2cc1f9 fix resizing of fixed-size windows 2004-03-26 01:55:03 +00:00
rsc
d126ebb544 more unken 2004-03-26 01:51:33 +00:00
rsc
65d5010eda unken 2004-03-26 01:47:43 +00:00
rsc
d6f81d852d better mkmk 2004-03-26 00:15:34 +00:00
rsc
75024f0f3d Darwin support. 2004-03-26 00:09:27 +00:00
rsc
c22d8e6552 Small changes.
Small changes.
2004-03-25 23:30:50 +00:00
rsc
1a84af59e0 Guess what? More anonymous unions! 2004-03-25 23:25:45 +00:00
rsc
285b4f85c0 More anonymous unions. 2004-03-25 23:24:04 +00:00
rsc
35d95baea2 More anony. 2004-03-25 23:17:07 +00:00
rsc
4bda94f9bd Remove anonymous union. 2004-03-25 23:15:55 +00:00
rsc
f6b7705a54 remove libmach 2004-03-25 23:14:06 +00:00
rsc
70bcc7804e More files.
More files.
2004-03-25 23:08:53 +00:00
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