]> git.lizzy.rs Git - plan9front.git/log
plan9front.git
11 years agoupas/marshal: fix usage line and add missing flags to manpage
cinap_lenrek [Mon, 1 Oct 2012 22:37:17 +0000 (00:37 +0200)]
upas/marshal: fix usage line and add missing flags to manpage

11 years agodevproc buffer overflow, strncpy
cinap_lenrek [Mon, 1 Oct 2012 00:52:05 +0000 (02:52 +0200)]
devproc buffer overflow, strncpy

in devproc status read handler the p->status, p->text and p->user
could overflow the local statbuf buffer as they where copied into
it with code like: memmove(statbuf+someoff, p->text, strlen(p->text)).
now using readstr() which will truncate if the string is too long.

make strncpy() usage consistent, make sure results are always null
terminated.

11 years agoguesscpuhz(), apm suspend
cinap_lenrek [Sun, 30 Sep 2012 17:41:34 +0000 (19:41 +0200)]
guesscpuhz(), apm suspend

use fastclock timer (pit2) to measure cpufreq in guesscpuhz(). this
gives a bigger period minimizing the danger of overrun as pit2 runs
at the constant maximum period of 0x10000 ticks. also use smaller
loop increments (1000) and bigger maximum loop upper bound.

move the loops < ... check to the bottom of the loop so we get the
effective count *before* adding the next loop increment.

ilock() while doing measurements in guesscpuhz() to prevent accidents
with other processors reading fastclock or doing guesscpuhz()
in parralel.

export new i8253reset() function for apm to reset the timers after
a apm bios suspend.

11 years agoether82557: timeout for ifstats DumpSC command
cinap_lenrek [Sun, 30 Sep 2012 14:16:20 +0000 (16:16 +0200)]
ether82557: timeout for ifstats DumpSC command

11 years agofix devproc and killbig segment race
cinap_lenrek [Sun, 30 Sep 2012 14:14:27 +0000 (16:14 +0200)]
fix devproc and killbig segment race

we have to acquire p->seglock before we lock the individual
segments of the process and lock them. if we dont then pexit()
might free the segments before we can lock them causing the
"qunlock called with qlock not held, from ..." prints.

11 years agocpuid(8): fix spelling
stanley lieber [Sat, 29 Sep 2012 02:49:12 +0000 (21:49 -0500)]
cpuid(8): fix spelling

11 years agocpuid(8) manpage improments
cinap_lenrek [Sat, 29 Sep 2012 02:12:42 +0000 (04:12 +0200)]
cpuid(8) manpage improments

11 years agocpuid(8) manpage
cinap_lenrek [Sat, 29 Sep 2012 01:57:59 +0000 (03:57 +0200)]
cpuid(8) manpage

11 years ago/lib/troll: linux is slow
Kurt H Maier [Fri, 28 Sep 2012 23:51:03 +0000 (19:51 -0400)]
/lib/troll: linux is slow

11 years agohget: fix usage
stanley lieber [Fri, 28 Sep 2012 21:37:51 +0000 (16:37 -0500)]
hget: fix usage

11 years agomothra: fix select boxes in textview
cinap_lenrek [Thu, 27 Sep 2012 23:53:14 +0000 (01:53 +0200)]
mothra: fix select boxes in textview

11 years agofixed hjfs df
aiju [Thu, 27 Sep 2012 15:08:52 +0000 (17:08 +0200)]
fixed hjfs df

11 years agoreally renamed statw to df
aiju [Thu, 27 Sep 2012 14:26:47 +0000 (16:26 +0200)]
really renamed statw to df

11 years agorenamed statw to df
aiju [Thu, 27 Sep 2012 14:26:28 +0000 (16:26 +0200)]
renamed statw to df

11 years agotrivial mistake
aiju [Thu, 27 Sep 2012 13:10:03 +0000 (15:10 +0200)]
trivial mistake

11 years agohjfs: statw command
aiju [Thu, 27 Sep 2012 13:06:42 +0000 (15:06 +0200)]
hjfs: statw command

11 years agofortunes, rob, rsc: updates
stanley lieber [Wed, 26 Sep 2012 23:52:49 +0000 (18:52 -0500)]
fortunes, rob, rsc: updates

11 years agomothra: fix url snarfing
cinap_lenrek [Wed, 26 Sep 2012 17:32:34 +0000 (19:32 +0200)]
mothra: fix url snarfing

11 years agomothra: display url is page list if no title is available
cinap_lenrek [Wed, 26 Sep 2012 17:21:04 +0000 (19:21 +0200)]
mothra: display url is page list if no title is available

11 years agomothra: never snarf the "Go:" box
cinap_lenrek [Wed, 26 Sep 2012 17:00:50 +0000 (19:00 +0200)]
mothra: never snarf the "Go:" box

11 years agomothra: dont make all images into links (only in mothmode)
cinap_lenrek [Wed, 26 Sep 2012 16:28:10 +0000 (18:28 +0200)]
mothra: dont make all images into links (only in mothmode)

11 years agolibdraw: enter()/eenter() ^W support - we are getting there
cinap_lenrek [Wed, 26 Sep 2012 15:35:21 +0000 (17:35 +0200)]
libdraw: enter()/eenter() ^W support - we are getting there

11 years agoneed more coffee
cinap_lenrek [Wed, 26 Sep 2012 13:54:25 +0000 (15:54 +0200)]
need more coffee

11 years agolibdraw: fix ^W corner case tick == 0 for enter()/eenter()
cinap_lenrek [Wed, 26 Sep 2012 13:48:57 +0000 (15:48 +0200)]
libdraw: fix ^W corner case tick == 0 for enter()/eenter()

11 years agolibdraw: implement ^W word delete for enter() and eenter()
cinap_lenrek [Wed, 26 Sep 2012 13:31:09 +0000 (15:31 +0200)]
libdraw: implement ^W word delete for enter() and eenter()

11 years agomothra: various improvements
cinap_lenrek [Sun, 23 Sep 2012 23:08:09 +0000 (01:08 +0200)]
mothra: various improvements

* disallow snarf on password entries
* remove current title label as it is displayed in the page list (redundant)
* avoid redrawing page list just to update the title
* check if the chan changed for backup bitmap in pl_rtdraw()

11 years agomothra: cache backup bitmap in pl_rtdraw()
cinap_lenrek [Mon, 24 Sep 2012 21:32:57 +0000 (23:32 +0200)]
mothra: cache backup bitmap in pl_rtdraw()

11 years agomothra: forgot to add snarf.c
cinap_lenrek [Mon, 24 Sep 2012 20:50:44 +0000 (22:50 +0200)]
mothra: forgot to add snarf.c

11 years agomothra: snarf and paste
cinap_lenrek [Sun, 23 Sep 2012 18:14:47 +0000 (20:14 +0200)]
mothra: snarf and paste

11 years agomothra: dont highlight subpanels in textview
cinap_lenrek [Sun, 23 Sep 2012 10:11:21 +0000 (12:11 +0200)]
mothra: dont highlight subpanels in textview

11 years agomothra: fast (offscreen) alpha drawing on scroll
cinap_lenrek [Sun, 23 Sep 2012 02:18:39 +0000 (04:18 +0200)]
mothra: fast (offscreen) alpha drawing on scroll

11 years agomothra: cleanup textview code
cinap_lenrek [Sun, 23 Sep 2012 01:48:29 +0000 (03:48 +0200)]
mothra: cleanup textview code

11 years agomothra: text selection 2nd attempt
cinap_lenrek [Sat, 22 Sep 2012 17:54:33 +0000 (19:54 +0200)]
mothra: text selection 2nd attempt

11 years agomothra: first attempt on text selection
cinap_lenrek [Sat, 22 Sep 2012 15:46:56 +0000 (17:46 +0200)]
mothra: first attempt on text selection

11 years agotftp: prevent it from hanging if ack packets get lost
cinap_lenrek [Thu, 20 Sep 2012 07:33:40 +0000 (09:33 +0200)]
tftp: prevent it from hanging if ack packets get lost

send ACK reply for duplicate data packets in case our ack response
got lost. make sure packets are in sequence and ignore out of
oder packets (except the ones we'v already acked).

11 years agoAdd disk/smart to mkfile
google [Wed, 19 Sep 2012 22:42:17 +0000 (10:42 +1200)]
Add disk/smart to mkfile

11 years agouser: Marko Kostić <marko.m.kostic@gmail.com>
Marko Kostić [Wed, 19 Sep 2012 21:37:47 +0000 (23:37 +0200)]
user: Marko Kostić <marko.m.kostic@gmail.com>
branch 'default'
added sys/lib/kbmap/sr (serbian cyrillic kbmap)
added sys/lib/kbmap/sr@latin (serbian latin kbmap)

11 years agoAdd manpages for atazz and smart
google [Thu, 20 Sep 2012 10:51:20 +0000 (22:51 +1200)]
Add manpages for atazz and smart

11 years agoAdd Erik Quanstrom's smart tool for ATA SMART.
google [Thu, 20 Sep 2012 10:42:06 +0000 (22:42 +1200)]
Add Erik Quanstrom's smart tool for ATA SMART.

11 years agoAdd Erik Quanstrom's atazz
google [Thu, 20 Sep 2012 10:39:48 +0000 (22:39 +1200)]
Add Erik Quanstrom's atazz

(needed to disable power management/head unload on 2.5" drive)

11 years agotftpd: apply sstallion's tftpd-rfc patch (from sources)
cinap_lenrek [Tue, 18 Sep 2012 16:27:59 +0000 (18:27 +0200)]
tftpd: apply sstallion's tftpd-rfc patch (from sources)

tftpd option handling is not RFC-compliant. This causes picky
clients (such as curl) to fail transfers.

11 years ago5l -H7 (elf) support (import from sources)
cinap_lenrek [Tue, 18 Sep 2012 16:22:38 +0000 (18:22 +0200)]
5l -H7 (elf) support (import from sources)

11 years ago6c: extern register fix (import from patch/6c-extreg)
cinap_lenrek [Tue, 18 Sep 2012 16:18:43 +0000 (18:18 +0200)]
6c: extern register fix (import from patch/6c-extreg)

to make it easy to use normal libraries (such as libdraw, libsec, and libmp)
with the kernel, which uses extern register, don't stray into the external
register set when allocating values to registers.

11 years agobring kernel acid library in sync (import from sources)
cinap_lenrek [Tue, 18 Sep 2012 16:11:16 +0000 (18:11 +0200)]
bring kernel acid library in sync (import from sources)

11 years agofix typo.
google [Wed, 19 Sep 2012 09:13:36 +0000 (21:13 +1200)]
fix typo.

11 years agoEnable busmastering for SCH (Poulsbo) PATA controller.
google [Wed, 19 Sep 2012 09:07:44 +0000 (21:07 +1200)]
Enable busmastering for SCH (Poulsbo) PATA controller.

11 years agoinst: fix typo
cinap_lenrek [Mon, 17 Sep 2012 09:45:25 +0000 (11:45 +0200)]
inst: fix typo

11 years agosdide: make sure bmiba is in i/o port space, not memory
cinap_lenrek [Sun, 16 Sep 2012 14:46:28 +0000 (16:46 +0200)]
sdide: make sure bmiba is in i/o port space, not memory

11 years agorio: single line scroll up/down with holding shift key
cinap_lenrek [Sun, 16 Sep 2012 00:49:41 +0000 (02:49 +0200)]
rio: single line scroll up/down with holding shift key

11 years agovnc use Breadn() instead of Bread()
cinap_lenrek [Sat, 15 Sep 2012 23:47:44 +0000 (01:47 +0200)]
vnc use Breadn() instead of Bread()

11 years agohget -P to read postbody from stdin
cinap_lenrek [Sat, 15 Sep 2012 05:07:19 +0000 (07:07 +0200)]
hget -P to read postbody from stdin

11 years agohget: fix -p to not put a newline into the postbody at the end
cinap_lenrek [Sat, 15 Sep 2012 04:25:32 +0000 (06:25 +0200)]
hget: fix -p to not put a newline into the postbody at the end

11 years agousb: dont give up on unassigned pci irq line in hci driver
cinap_lenrek [Sat, 15 Sep 2012 01:17:17 +0000 (03:17 +0200)]
usb: dont give up on unassigned pci irq line in hci driver

sometimes, the bios does not assign a interrupt line for pci
devices. this should not be fatal in case of mp ineterrupts
as long as there is intpin or msi can be used.

warn in intrenable() if we hit such a interrupt and set
irq to -1 to prevent it from getting enabled on the pic
or as isa interrupt in apic mode.

11 years agoQcoalesce patch to satisfy full read length
cinap_lenrek [Fri, 14 Sep 2012 01:35:15 +0000 (03:35 +0200)]
Qcoalesce patch to satisfy full read length

11 years agothe IRS
aiju [Thu, 13 Sep 2012 16:44:44 +0000 (18:44 +0200)]
the IRS

11 years agomerge
cinap_lenrek [Thu, 13 Sep 2012 07:39:15 +0000 (09:39 +0200)]
merge

11 years agomothra: fix wrong ascent calculation if text element is too large, fix image border...
cinap_lenrek [Thu, 13 Sep 2012 07:37:28 +0000 (09:37 +0200)]
mothra: fix wrong ascent calculation if text element is too large, fix image border layout

11 years agofortunes, rob, troll: the usual
stanley lieber [Wed, 12 Sep 2012 19:37:56 +0000 (14:37 -0500)]
fortunes, rob, troll: the usual

11 years agomothra: special parse mode for <script> as parsetag gets confused by long javascript...
cinap_lenrek [Tue, 11 Sep 2012 05:38:11 +0000 (07:38 +0200)]
mothra: special parse mode for <script> as parsetag gets confused by long javascript lines

11 years agofortunes!
aiju [Mon, 10 Sep 2012 16:10:56 +0000 (18:10 +0200)]
fortunes!

11 years agoadd hungary keyboard map (contributed by bencef)
cinap_lenrek [Mon, 10 Sep 2012 09:01:36 +0000 (11:01 +0200)]
add hungary keyboard map (contributed by bencef)

11 years agolp: HTML table support
cinap_lenrek [Mon, 10 Sep 2012 06:10:30 +0000 (08:10 +0200)]
lp: HTML table support

11 years agoupdate manual pages for lp HTML support
cinap_lenrek [Mon, 10 Sep 2012 06:01:49 +0000 (08:01 +0200)]
update manual pages for lp HTML support

11 years agolp: handle HTML files with html2ms | troff in process/generic
cinap_lenrek [Mon, 10 Sep 2012 05:40:28 +0000 (07:40 +0200)]
lp: handle HTML files with html2ms | troff in process/generic

11 years agomothra: simpler approach to ignoring <script> tags
cinap_lenrek [Mon, 10 Sep 2012 01:09:30 +0000 (03:09 +0200)]
mothra: simpler approach to ignoring <script> tags

11 years agohgwebfs: remove prefixing // from file path
cinap_lenrek [Mon, 10 Sep 2012 20:20:40 +0000 (22:20 +0200)]
hgwebfs: remove prefixing // from file path

11 years agolibaml: store *value* instead of name reference in dest for alias op
cinap_lenrek [Sun, 9 Sep 2012 07:06:37 +0000 (09:06 +0200)]
libaml: store *value* instead of name reference in dest for alias op

11 years agolibaml: implement Alias and Debug instructions
cinap_lenrek [Sat, 8 Sep 2012 15:48:09 +0000 (17:48 +0200)]
libaml: implement Alias and Debug instructions

11 years agoPrint correct sizes in prep autopart.
google [Sun, 9 Sep 2012 05:37:21 +0000 (17:37 +1200)]
Print correct sizes in prep autopart.

11 years agoAdd alignment hints for e512 ATA drives.
google [Sun, 9 Sep 2012 05:22:12 +0000 (17:22 +1200)]
Add alignment hints for e512 ATA drives.

11 years agosupport file:// urls in hgwebfs extension as apparently hg uses them. m(
cinap_lenrek [Fri, 7 Sep 2012 23:55:46 +0000 (01:55 +0200)]
support file:// urls in hgwebfs extension as apparently hg uses them. m(

11 years agofortunes, rob, theo: I wasn't asking about 9front.
stanley lieber [Thu, 6 Sep 2012 15:52:41 +0000 (10:52 -0500)]
fortunes, rob, theo: I wasn't asking about 9front.

11 years agonusb: handle 0 csp value on iface, remove unneeded configdev() calls after getdev()
cinap_lenrek [Thu, 6 Sep 2012 03:25:23 +0000 (05:25 +0200)]
nusb: handle 0 csp value on iface, remove unneeded configdev() calls after getdev()

11 years agousbd: add missing quotefmtinstall
cinap_lenrek [Thu, 6 Sep 2012 02:07:51 +0000 (04:07 +0200)]
usbd: add missing quotefmtinstall

11 years agordbfs(4), no ^t^t on 9front system
cinap_lenrek [Thu, 6 Sep 2012 00:45:15 +0000 (02:45 +0200)]
rdbfs(4), no ^t^t on 9front system

11 years agodevshr: honor noattach
cinap_lenrek [Wed, 5 Sep 2012 23:05:37 +0000 (01:05 +0200)]
devshr: honor noattach

11 years agoPrevent nusb/disk and nusb/kb from blocking nusbrc
google [Thu, 6 Sep 2012 01:15:59 +0000 (13:15 +1200)]
Prevent nusb/disk and nusb/kb from blocking nusbrc

11 years agonusbd: properly handle port detach on hub disconnect
cinap_lenrek [Tue, 4 Sep 2012 22:06:20 +0000 (00:06 +0200)]
nusbd: properly handle port detach on hub disconnect

11 years agousb: fix potential isoread overruns, error instead of panic on isoread in ohci
cinap_lenrek [Mon, 3 Sep 2012 02:23:02 +0000 (04:23 +0200)]
usb: fix potential isoread overruns, error instead of panic on isoread in ohci

11 years agousb: fix isowrite putsamples race
cinap_lenrek [Sun, 2 Sep 2012 23:54:34 +0000 (01:54 +0200)]
usb: fix isowrite putsamples race

11 years agodoom: fix mixbuffer size confusion
cinap_lenrek [Sun, 2 Sep 2012 22:24:27 +0000 (00:24 +0200)]
doom: fix mixbuffer size confusion

11 years agoether82563: fix format string error
cinap_lenrek [Sun, 2 Sep 2012 19:57:10 +0000 (21:57 +0200)]
ether82563: fix format string error

11 years agoin soviet russia greg file expands YOU
aiju [Sun, 2 Sep 2012 13:16:21 +0000 (15:16 +0200)]
in soviet russia greg file expands YOU

11 years agoin soviet russia error can not explain you!
aiju [Sun, 2 Sep 2012 10:05:36 +0000 (10:05 +0000)]
in soviet russia error can not explain you!

11 years agoAdd timeout to eeprom and flash init in ether82563 driver.
google [Mon, 3 Sep 2012 07:23:28 +0000 (19:23 +1200)]
Add timeout to eeprom and flash init in ether82563 driver.

Prevents hang on misidentified or broken cards.

11 years agoAdd Intel 82801JIB ICH10 southbridge
google [Mon, 3 Sep 2012 05:44:30 +0000 (17:44 +1200)]
Add Intel 82801JIB ICH10 southbridge

11 years agoIntel 82567V DOES support jumbo frames, despite claims to the contrary.
google [Mon, 3 Sep 2012 01:40:51 +0000 (13:40 +1200)]
Intel 82567V DOES support jumbo frames, despite claims to the contrary.

11 years agoIntel 82567V does not support jumbo frames.
google [Sat, 1 Sep 2012 23:31:53 +0000 (11:31 +1200)]
Intel 82567V does not support jumbo frames.

11 years agoaudiohda: unsigned vid/rid formating
cinap_lenrek [Sat, 1 Sep 2012 23:02:34 +0000 (01:02 +0200)]
audiohda: unsigned vid/rid formating

11 years agodate: pikeshedding
cinap_lenrek [Sat, 1 Sep 2012 22:18:43 +0000 (00:18 +0200)]
date: pikeshedding

11 years agoFixes previous commit: dc3f9d299b40
google [Sat, 1 Sep 2012 13:06:38 +0000 (01:06 +1200)]
Fixes previous commit: dc3f9d299b40

11 years agoAdd -i flag to date: prints ISO-8601 datestamp
google [Sat, 1 Sep 2012 12:33:39 +0000 (00:33 +1200)]
Add -i flag to date: prints ISO-8601 datestamp
Add -t flag to date: prints ISO-8601 timestamp

11 years agoFix for i82567V-2
google [Sat, 1 Sep 2012 12:27:43 +0000 (00:27 +1200)]
Fix for i82567V-2

11 years agoisodate in libc? revert every commit for great justice!
cinap_lenrek [Sat, 1 Sep 2012 12:12:29 +0000 (14:12 +0200)]
isodate in libc? revert every commit for great justice!

11 years agoAdd prototypes for isotime and isodate. This should have been in the previous commit.
google [Sun, 2 Sep 2012 11:15:15 +0000 (23:15 +1200)]
Add prototypes for isotime and isodate. This should have been in the previous commit.

11 years agoAdd -i and -t options to date for isodate and isotime display.
google [Sun, 2 Sep 2012 11:08:14 +0000 (23:08 +1200)]
Add -i and -t options to date for isodate and isotime display.

11 years agoAdd isotime() and isodate() functions to libc.
google [Sun, 2 Sep 2012 11:05:41 +0000 (23:05 +1200)]
Add isotime() and isodate() functions to libc.

11 years agoFix date formatting in asctime after year 2099.
google [Sun, 2 Sep 2012 10:59:31 +0000 (22:59 +1200)]
Fix date formatting in asctime after year 2099.

11 years agordmsr/wrmsr become tryrdmsr/trywrmsr, we can should check for trap
cinap_lenrek [Fri, 31 Aug 2012 14:48:33 +0000 (16:48 +0200)]
rdmsr/wrmsr become tryrdmsr/trywrmsr, we can should check for trap

11 years agoupas/fs: catch alarm note (used in pop3 code)
cinap_lenrek [Thu, 30 Aug 2012 15:39:22 +0000 (17:39 +0200)]
upas/fs: catch alarm note (used in pop3 code)