Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-05-20 | syscall: add missing _nsec() declaration | cinap_lenrek | |
2014-05-20 | add _nsec() syscall 53 for binary compatibility with labs distribution | cinap_lenrek | |
the new syscall is added under the symbol _nsec() for binary compatibility. nsec() is still a library function reading /dev/bintime. | |||
2014-05-20 | libc: dont cache /dev/bintime filedescriptor for nsec() | cinap_lenrek | |
2014-05-19 | init: dont interpret environment var contents as fmtstring, cleanup | cinap_lenrek | |
2014-05-19 | pc64: remove cpuserver bigboy hack and honor *kernelpercent= | cinap_lenrek | |
2014-05-19 | ip/torrent: use "torrent" as default user agent | cinap_lenrek | |
2014-05-19 | ip/torrent: fix usage, add -A option to set user-agent | cinap_lenrek | |
trackers do like the new default Mozilla/5.0 (compatible) user agent. so force useragent to hjdicks and give option to override it in case trackers get even more clever in the future. | |||
2014-05-18 | ipconfig: fix dhcp watch | cinap_lenrek | |
in dhcpwatch, the sleep time "secs" could become zero potentially freezing the lease time. give up when in Sinit state in dhcpquery() as this is a terminal state. | |||
2014-05-16 | fortunes: 14:37 -!- kfx was kicked from #suckless by __20h__ [kfx] | stanley lieber | |
2014-05-16 | sdiahci: fix (unused) hba reset function (thanks erik quanstro) | cinap_lenrek | |
from the specification: software may reset the entire HBA by setting GHC.HR to '1'. When software sets the GHC.HR bit to '1', the HBA shall perform an internal reset action. The bit shall be cleared to '0' by the HBA when the reset is complete. | |||
2014-05-16 | added devgpio (thanks Krystian!). Also added getrevision() to vcore which ↵ | Matthew Veety | |
allows you to get the raspberry pi board revision. I kept in the segment that allows direct access to the gpio memory | |||
2014-05-14 | merge | cinap_lenrek | |
2014-05-14 | play: set user-agent, otherwise server thinks we'r mozilla m( | cinap_lenrek | |
2014-05-12 | sam(1): add ctrl+b | ftrvxmtrx | |
2014-05-12 | samterm: fix esc, change ctrl+b behaviour to a more useful one (thanks cinap) | ftrvxmtrx | |
2014-05-12 | samterm: clean up key defines. use ctrl+b as in rio | ftrvxmtrx | |
2014-05-12 | usps: remove redundant uhtml pipeline | cinap_lenrek | |
2014-05-12 | htmlfmt: use uhtml for character set conversion | cinap_lenrek | |
2014-05-11 | doom: get rid of floating point code for division | cinap_lenrek | |
2014-05-11 | pc, pc64: add simd error exception name in trap.c | cinap_lenrek | |
2014-05-11 | pc, pc64: handle sse simd exceptions | cinap_lenrek | |
2014-05-11 | tcs: handle surrogate pairs | cinap_lenrek | |
2014-05-11 | tcs: prevent accidents with runes beyond 16-bit | cinap_lenrek | |
2014-05-10 | tcs: fix inplace 16 bit unicode conversion | cinap_lenrek | |
inplace conversions do not work anymore as Rune is not unsigned short anymore. | |||
2014-05-09 | webfs: use mozilla compatible user agent as default | cinap_lenrek | |
sites like google return the wrong characterset when they do not recognize the user-agent. so setting default user agent to something thats likely to pass these idiotic browser tests. | |||
2014-05-09 | abaco: need more stack on amd64 | cinap_lenrek | |
2014-05-08 | remove old copies of kernels l.s from cmd/?a | cinap_lenrek | |
2014-05-08 | abaco: remove strange line | cinap_lenrek | |
2014-05-08 | tail: fix follow for empty files (thanks cinap_lenrek) | ftrvxmtrx | |
2014-05-08 | tail: seek to EOF to check if seekable. fixes tail on /proc files | ftrvxmtrx | |
2014-05-08 | hgfs: avoid revlogupdate() calls when reading root (thanks burnzez) | cinap_lenrek | |
we do not need to check for revlog updates on every (directory) read when reading the root. only do it when reading from the start. | |||
2014-05-07 | sed: remove unused ecmp function | ftrvxmtrx | |
2014-05-06 | cc: fix spurious warning on comparsion with scope redeclared variable ↵ | cinap_lenrek | |
(thanks aiju) > warning: a.c:9 useless or misleading comparison: UINT < 0 the error can be observed by compiling the following code with warnings enabled: #include <u.h> #include <libc.h> uint r; void main(int argc, char *argv[]) { int r; if(r < 0){ exits(0); } } the offending code in the compiler is: - if(l->op == ONAME && l->sym->type){ - lt = l->sym->type; - if(lt->etype == TARRAY) - lt = lt->link; - } compiler handles scope by overwritin and reverting symbols while parsing. in the ccom phase, the nodes symbol (n->sym) is not in the right scope and we wrongly think r is uint instead of int. it is not clear to me what this code tried to accomplish in the first place nor could anyone answer me this question. the risk is small as this change doesnt affect the compiled program, only the warning, so removing the offending code. | |||
2014-05-06 | pc64: fix embrassing typo in mmuzap() | cinap_lenrek | |
2014-05-05 | gs: fix /undefined in --setcolor-- errors on amd64 | cinap_lenrek | |
2014-05-04 | merge | ftrvxmtrx | |
2014-05-04 | vga font: hammer and sickle | ftrvxmtrx | |
2014-05-04 | fonts: add swastika to naga10. fixes swastika in default font | ftrvxmtrx | |
2014-05-04 | gs: remove PStorage data type from ttf interpreter | cinap_lenrek | |
i dont see that pointers are stored in PStorage at all, so just use PLong directly avoding all this confusion. | |||
2014-05-04 | gs: fix truetype interpreter for amd64 | cinap_lenrek | |
2014-05-03 | fix threadsetname usage in few places | ftrvxmtrx | |
2014-05-03 | thread.h: varargck argpos for threadsetname | ftrvxmtrx | |
2014-05-03 | bio.h: add varargck argpos pragma for Berror | ftrvxmtrx | |
2014-05-03 | uniq: document -s option (thanks heaumer) | ftrvxmtrx | |
2014-05-03 | uniq: use Bsize for buffers | ftrvxmtrx | |
2014-05-03 | cwfs: fix 1GB memsize limitation | cinap_lenrek | |
the malloc pool allocator is limited in its allocation size. as almost all data structures in cwfs are never freed, use brk() in ialloc() instead of mallocalign(). this means memory returned by ialloc() cannot be freed! to make sure we do not call free by accident, remove the #define malloc(n) ialloc(n, 0) macro and use ialloc() directly as in the original code to show the intend of permanent allocations. | |||
2014-05-03 | wc: simplify and avoid buffer overflow on long filenames | ftrvxmtrx | |
2014-05-02 | 1l, 2l, 7l, kl, vl: add missing setmalloctag() dummy in compat.c | cinap_lenrek | |
2014-05-02 | bio: Brdstr, Bopen: set malloc tag to the caller | ftrvxmtrx | |
2014-05-02 | sdide: never timeout or retry scsi commands from the controller driver | cinap_lenrek | |
this was a big mistake. we should never attempt to timeout or retry a scsi command from the controller driver because theres no way to tell how long a command would take or if a command has side effects when being retried. |