Commit graph

5822 commits

Author SHA1 Message Date
spew 8dd9f0e970 hjfs: Clear all refs to zero when reaming.
And a couple clarity/formatting changes
2017-03-21 14:07:18 -05:00
cinap_lenrek 1e2d95a803 ip/torrent: exit immidiately when file is complete after verification and not being in seed mode 2017-03-20 19:15:40 +01:00
cinap_lenrek b7c05975f5 ip/torrent: avoid peerid collision using truerand() instead of time(0) 2017-03-20 19:11:03 +01:00
cinap_lenrek c220100005 fortune: avoid buffer overflow for lines >= 2K, make sure index has at least one entry, use nrand()/ntruerand() for uniform distribution 2017-03-19 22:04:26 +01:00
cinap_lenrek da9b38c75c 5l,6l,8l,kl,ql,vl: allow duplicate GLOBAL symbols (from Ori Bernstein)
The plan 9 assemblers support the DUPOK flag on text symbols. They parse and
ignore it on GLOBL symbols. This patch makes it work in the linkers.

The reason I ran into this is because my programming language (Myrddin) uses
data symbols to generate type information, and it's useful to avoid
duplicating all of the type info in every file that gets generated.
2017-03-19 03:05:24 +01:00
cinap_lenrek bd178b6dc6 inst: make command window not overlap stats window in glendas riostart 2017-03-18 19:35:06 +01:00
cinap_lenrek 7ad89bd1b0 cdproto: make mdir for glenda 2017-03-18 19:07:29 +01:00
cinap_lenrek 1da795f327 diskparts(8), prep(8): add edisk in NAME section 2017-03-18 18:08:30 +01:00
cinap_lenrek c78d6569ac mus(1): fix manpage references 2017-03-18 17:56:34 +01:00
cinap_lenrek c29f30524b vga(3): complete list of vga controllers and software cursors 2017-03-18 17:13:09 +01:00
cinap_lenrek 1a2aefcf11 devmouse: refactor screen blanking logic
devmouse controls the screen blanking timeout, so move the
code there avoiding cross calls between modules. the only
function that needs to be provided is blankscreen(), which
gets called with drawlock locked.

the blank timeout is set thru /dev/mousectl now, so kernels
without devvga can set it.

blanking now only happens while /dev/mouse is read. so this
avoids accidentally blanking the screen on cpu servers that
do not have a mouse to unblank it.
2017-03-18 16:58:27 +01:00
cinap_lenrek 08453422b1 games/doom: don't spawn midi process when opening /dev/audio failed (thanks qwx) 2017-03-17 01:02:01 +01:00
cinap_lenrek 1132d1b9df tapefs: handle more cpio formats (thanks qrstuv) 2017-03-17 00:45:48 +01:00
cinap_lenrek 3d052eb2ea upas/fs: tls sni support for pop3/imap 2017-03-16 22:06:31 +01:00
cinap_lenrek cb1dc365c2 upas/fs: fix memory leaks in tls code, handle tls in a common wraptls() function 2017-03-16 00:05:08 +01:00
cinap_lenrek efddf48500 upas/fs: getting rid of the fine-grain locking...
now that locking works, its time to get rid of it.
given that the only concurrency is between the periodic reader
process and the filesystem code, just make sure the filesystem
rpc handlers do not run concurrenty while syncing is in progress
with a single qlock.
2017-03-15 19:30:33 +01:00
cinap_lenrek c8d9390070 upas/fs: more cleanup... 2017-03-14 23:46:35 +01:00
cinap_lenrek 4b08ef2c55 upas/fs: remove more debugging crap 2017-03-14 23:31:10 +01:00
cinap_lenrek 75bca30647 upas/fs: remove unused segbrk memory allocator 2017-03-14 23:21:38 +01:00
cinap_lenrek 8417787f99 upas/fs: remove idx semaphore, cannot happen as symcmbox() always called with mailbox locked 2017-03-14 23:19:17 +01:00
cinap_lenrek 508b796b27 upas/fs: fix more locking bugs, remove debugging clutter, remove planb mbox code 2017-03-14 23:06:39 +01:00
cinap_lenrek 163dccbac0 upas/fs: make sure mbox is locked during msgdecref() in rclunk() 2017-03-14 19:32:20 +01:00
mischief d18440d992 gs: validate parameter is dict in .initialize_dsc_parse
gs bug 697190, upstream commit 875a0095

also check gs_alloc_struct return value from upstream commit a2afc66d
2017-03-14 00:48:50 -07:00
mischief 07a14612a1 gs: check for sufficient params in .sethalftone5
ghostscript bug 697203, upstream commit f5c7555c303
2017-03-13 18:12:17 -07:00
cinap_lenrek 9b2d3ed37a gs: fix dangleing pointer crash with "lock" (ghostscript Bug 697204) 2017-03-13 18:56:52 +01:00
spew 59ed389a6e games/galaxy: fix creation of new bodies
I accidentally deleted the line that sets the initial
position of the vector
2017-03-12 18:52:36 -05:00
spew 3f2d3721de games/galaxy: avoid unnecessary calculations
It is not necessary to recalculate the center of the
screen every time.
2017-03-12 18:33:54 -05:00
spew dff1e3813f games/galaxy: fix zoom
Zooming when far away from the center of gravity
of the galaxy would zoom the center of the screen
out of view. Now adjust the origin so that the
center of the screen stays centered
2017-03-12 18:24:45 -05:00
cinap_lenrek ffa430c570 upas/fs: lock mbox in syncallmboxes() to avoid assert crash 2017-03-12 21:29:28 +01:00
cinap_lenrek b24ebff76a upas/fs: remove useless syncsem, make sure mbox is locked when fetching / syncing 2017-03-12 21:23:21 +01:00
cinap_lenrek f616c63b39 imap4d: simplify auth with encodefmt (backport from 9front) 2017-03-12 18:50:27 +01:00
aiju 8b6804717b nupas: delete okcidr(); always trust spf records 2017-03-12 17:19:20 +00:00
cinap_lenrek 8046225c9d send(8): document new reject behaviour with -r flag 2017-03-12 17:36:04 +01:00
cinap_lenrek c172881606 add mdir(6), splitmbox(8) and update upasfs(4) 2017-03-12 17:32:01 +01:00
cinap_lenrek dff78ef64a merge 2017-03-12 17:20:13 +01:00
cinap_lenrek 4bcd247b90 change listener from ip/imap4d to upas/imap4d 2017-03-12 17:18:56 +01:00
cinap_lenrek 963cfc9a6f merging erik quanstros nupas 2017-03-12 17:15:03 +01:00
cinap_lenrek 5b7a62e5e6 merge 2017-03-11 20:42:25 +01:00
cinap_lenrek 8177d20fb2 kernel: get rid of active.Lock and active.thunderbirdsargo 2017-03-11 16:30:51 +01:00
cinap_lenrek a7f8ebca2f pc kernel: give cpu servers as many image cache strctures as processes 2017-03-11 16:28:11 +01:00
cinap_lenrek 5104934135 pc kernel: avoid AP's spinning in syncclock(), don't wait for thunderbirdsargo 2017-03-11 16:24:56 +01:00
cinap_lenrek 812383473c pc kernel: assume tsc and lapic clock rate on application processors is the same as on bootrap processor 2017-03-11 16:18:01 +01:00
cinap_lenrek 3e0e77a852 pc kernel: don't use active.thunderbirdsargo in vunmap() tlb flush code 2017-03-11 16:13:58 +01:00
cinap_lenrek cb5f6005bc teg2: fix format string warning in mmu.c 2017-03-11 16:07:48 +01:00
spew 2c6c64c474 games/galaxy: simplify zoom loop 2017-03-10 10:37:12 -06:00
spew acd1a3edda games/galaxy: new mouse behavior
MB1 moves the galaxy. MB2 zooms the galaxy. New body creation
moved to the menu
2017-03-10 09:57:23 -06:00
aiju a4d45256a7 update /lib/legal/NOTICE 2017-03-09 12:01:20 +00:00
cinap_lenrek 5fc5c18208 cwfs: handle DMTMP flag in create 2017-03-06 03:07:03 +01:00
cinap_lenrek 5c6a03f4f4 cdproto: various cleanups
- bind /n/src9 only when theres .hg directory, so you can use /root as /n/src9
- skip *.6 and *.orig files in source direcrtories
- skip *.pdf and *.ps files in /sys/man
- skip cpurc.local and termrc.local
- dont create /fd, /mnt and/n in the root
- be specific about /lib
- create /cfg/pxe
2017-03-04 22:56:02 +01:00
cinap_lenrek 9e720c82b3 merge 2017-03-03 01:22:35 +01:00