Commit Graph

147 Commits

Author SHA1 Message Date
rsc
b4d406b781 return 0 2006-01-29 17:32:14 +00:00
rsc
e4c74b87b6 do not die in freeimage(0) when screen==0 2006-01-28 23:45:53 +00:00
rsc
326a461d0e nowsys fixes (Lou Kamenov) 2006-01-27 04:04:38 +00:00
rsc
e418631bf3 do not trust gcc-4.0 to do nrv optimization. (taj khattra) 2005-12-29 22:10:56 +00:00
rsc
297cded760 avoid nil freeimage 2005-12-29 20:59:24 +00:00
rsc
ed12a647df oops 2005-11-16 00:21:29 +00:00
rsc
16c1defa3d x11, used, etc. 2005-11-12 16:36:48 +00:00
rsc
148f25d351 debugging help 2005-11-07 02:46:38 +00:00
rsc
8e06ea1b42 In eread, ignore unexpected events instead of returning early. 2005-09-15 17:18:00 +00:00
rsc
038f8db24a Add uchar for NetBSD ctype. 2005-09-09 23:49:50 +00:00
rsc
abe4cd41cb less graceful shutdown but avoid deadlocks 2005-07-27 20:38:08 +00:00
rsc
7ba8aa0c70 start with white instead of black 2005-07-24 14:01:15 +00:00
rsc
1c171e3add I just hate to be pushed around by some @#$%^& machine. 2005-07-19 18:00:07 +00:00
rsc
7508190269 silence fprint 2005-07-14 00:03:57 +00:00
rsc
8f5c6c7d79 no black and white 2005-07-13 03:57:45 +00:00
rsc
b2f9ee0de5 free subfonts correctly 2005-07-13 03:57:24 +00:00
rsc
3b634dc7e4 no used(Point) 2005-07-13 03:56:55 +00:00
rsc
a3532cf354 keyboard not mouse 2005-07-13 03:56:44 +00:00
rsc
4d0bbfacdd more places to look 2005-07-13 03:56:36 +00:00
rsc
ca63c078d9 more places where display can be nil 2005-07-13 03:56:21 +00:00
rsc
d4aef6a074 handle arbitrary length names in subfontname.
handle overflow in offset computation in font.c
2005-05-12 16:55:14 +00:00
rsc
7e9e092da8 Correct putsnarf-then-getsnarf race. 2005-05-02 04:20:14 +00:00
rsc
7d2df235d4 Add more smiley faces 2005-05-01 17:56:53 +00:00
rsc
670dd11a8a be more faithful to plan 9 environment --
allocate window on top of screen.
2005-03-18 18:55:47 +00:00
rsc
db318aa36d syntax errors 2005-03-15 20:26:30 +00:00
rsc
b90bacec60 $WSYSTYPE not WSYSTYPE 2005-02-11 21:06:56 +00:00
rsc
031c900094 add x11 include 2005-02-11 21:03:09 +00:00
rsc
dd4afdf4eb Avoid yet another X11 stack overflow. 2005-02-08 17:56:35 +00:00
rsc
c4553e9cd0 more nowsys 2005-02-02 22:27:17 +00:00
rsc
41e0f84ca6 break x11 for sure 2005-02-02 22:04:41 +00:00
rsc
57d2613621 handle @ better in winsize 2005-01-26 04:02:26 +00:00
rsc
a0e8d02d09 Apparently SuSE 9.1's X distribution uses even bigger
buffers than the standard ones.  64kB appears to be enough
for a stack in that case, but let's just go nuts and make
the stacks enormous, so that it takes a few more doublings
of X's stack needs before we run into this problem again.

The VM system should take care of not actually using most
of the memory anyway.
2005-01-23 16:02:04 +00:00
rsc
fc7c0c592a better comment 2005-01-18 05:43:41 +00:00
rsc
2634795b5f 64-bit fixes from lucho 2005-01-14 03:33:11 +00:00
rsc
c8b6342d3c Many small edits. 2005-01-13 04:49:19 +00:00
rsc
931ba0b740 fix from axel 2005-01-07 20:07:33 +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
c345061e8d sunos fixes 2005-01-07 07:47:37 +00:00
rsc
6b4c8671de add _flushmemscreen declaration 2005-01-07 04:05:32 +00:00
rsc
1818ce0f28 minor fixes; hide some routines 2005-01-04 22:20:14 +00:00
rsc
b20f06ab9c use new thread library 2004-12-26 23:24:32 +00:00
rsc
0ffd63f553 embarrassing bug in keyboard data 2004-10-16 23:29:16 +00:00
wkj
a87638642c Compare function pointers against 0 rather than nil. 2004-07-09 01:54:06 +00:00
wkj
e915fe7c58 Fix from rob. 2004-06-24 00:36:58 +00:00
rsc
503f601cb0 fix initial x y 2004-06-17 16:26:26 +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
fa009f9d72 scrolling 2004-06-11 04:13:24 +00:00
rsc
de52dcf55b remove print 2004-06-09 14:53:26 +00:00
rsc
e290cfc138 don't require x 2004-06-09 14:11:47 +00:00
rsc
ff8bbc7987 Add buttons 4 and 5 (scrolling on X). 2004-06-09 14:01:30 +00:00
rsc
97fed159e4 avoid stupid aspect ratios. 2004-05-14 23:11:48 +00:00
rsc
1a8f27c350 various bug fixes 2004-05-14 15:14:21 +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
be36ff6885 add -W to specify window size.
various other little fixes.
2004-04-29 17:13:24 +00:00
rsc
4e20688042 make it possible to access fonts without a display. 2004-04-25 20:26:27 +00:00
rsc
78802e6993 various bug fixes 2004-04-24 04:52:49 +00:00
rsc
1aa4e9c82e little things 2004-04-23 05:17:54 +00:00
rsc
49fda441d2 don't print TIMESTAMP messages 2004-04-22 15:19:59 +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
cdd61ab0ae take out the debugging prints i just accidentally checked in. 2004-04-21 17:52:46 +00:00
rsc
a3a83c9e5f no need for 2004-04-21 17:52:09 +00:00
rsc
1b135a7805 clean up when finished.
don't set PLAN9
don't set PLAN9
2004-04-19 23:04:36 +00:00
rsc
ad1d529cd7 add files from david tolpin 2004-04-19 05:56:43 +00:00
rsc
e543c475e7 fix drawread, add changes from david tolpin 2004-04-19 05:56:17 +00:00
rsc
732be70cc4 Avoid bad mouse buffering. 2004-03-31 05:15:02 +00:00
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
fff395d75c more color map hackery from axel. 2004-03-26 17:44:45 +00:00
rsc
6325e03247 Be more careful about not changing screen! 2004-03-26 17:06:55 +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
be22ae2d07 SunOS can rot in hell. 2004-03-26 01:59:35 +00:00
rsc
8ad517944e Today's changes.
More changes.
2004-03-25 23:03:57 +00:00
rsc
15680d56a6 Amazingly picky bug fixes from Valgrind. 2004-03-05 05:53:11 +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
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
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
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
268fa93385 Fix X11 clipboard again. 2003-11-25 20:30: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
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
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
161060a463 Lots of X fixes. 2003-10-11 02:47:43 +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
522b0689c3 Reorg 2003-09-30 19:05:50 +00:00
rsc
b822e0d803 Initial revision 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