]> git.lizzy.rs Git - plan9front.git/log
plan9front.git
11 years agorio: fix cursor for sizing nocurrent window
cinap_lenrek [Sun, 21 Oct 2012 16:27:43 +0000 (18:27 +0200)]
rio: fix cursor for sizing nocurrent window

wrepaint() used to also set the cursor for the window
if it was current. this reset the corner cursors on
bandresize when one tried to attempt to size a window
that was not current. make repaint just repaint the
window and border. set cursor explicitely for hold
toggle.

11 years agorio: various fixes
cinap_lenrek [Sun, 21 Oct 2012 15:00:12 +0000 (17:00 +0200)]
rio: various fixes

use notefd in killprocs() insead of postnote() as the process
might'v exited. the notefd stays valid even if the particular
process it was originaly opend on exited. remove the Window.pid
field as its not needed.

dup() the notefd for interruptproc as the window might'v gone
away and closed the notefd file descriptor, resulting in us
writing to the wrong thing.

use snprint() instead of sprint() for safety.

fix bogus debug fprint().

add missing "visible" flushimage() after Reshaped winctl message
got handled. i assumed wsetname()/nameimage() would be enough,
it but does a invisible flush so softscreen doesnt get updated
immidiately.

do not make allocimage() failure in scrtemps() fatal. it wont
draw the window properly, but it gives the user a chance to
delete some windows to recover.

11 years ago/sys/doc: permissions for cleanps, mkdirlist, mkfilelist
cinap_lenrek [Sat, 20 Oct 2012 17:09:54 +0000 (19:09 +0200)]
/sys/doc: permissions for cleanps, mkdirlist, mkfilelist

11 years agorio: colors, flicker reduction, refresh after mouse close
cinap_lenrek [Sat, 20 Oct 2012 13:51:32 +0000 (15:51 +0200)]
rio: colors, flicker reduction, refresh after mouse close

allocate all the colors in iconinit(), remove unused ones
like grey. rename darkgrey to paletextcol because thats
what it is used for. new approach to window image allocation.
we allocate the window with DNofill and let the window fill
itself. this reduces flickering especially with (-b) option
and makes rio resize feel a lot faster.

wrefresh() didnt work. now fixed.

11 years agorio: wtop() after resize fix
cinap_lenrek [Sat, 20 Oct 2012 08:38:11 +0000 (10:38 +0200)]
rio: wtop() after resize fix

wtop() checked w->topped == topped as a fast exit. if you
had the top most window not being current (== input) which
can happen when you delete the current window, then wtop would
after resize would not make the window current because it
is already top topmost one. wtopme() and wcurrent() both are
non-ops when window is already the topmost or window is already
current, so remove the check as its not needed. also topping
the window feels less sluggish.

11 years agorio: preserve window z-order on resize, fix race conditions
cinap_lenrek [Sat, 20 Oct 2012 20:42:01 +0000 (22:42 +0200)]
rio: preserve window z-order on resize, fix race conditions

sort the window array by w->topped before reshaping all
windows. this preserves the window z-order.

remove implicit focus change on reshape/move. it called
wcurrent() in wtcl thread which might send a wctl message
to itself, bad... also we might not want to change focus
on reshape, like for the rio resize. so we set the input
window explicitely in all call sites.

window deletion was racy. wclosewin() destroys w->i, but
it is called outside the wctl thread so it might just
free the image under libframe doing some text selection.
this is fixed the following: add wclunk() function,
which basically just marks the window as deleted and
removes the reference from the window[] and hidden[]
arrays. (called on wclose() when refcount drops to
zero). wclosewin() now just frees the image and is only
called from the wctl thread on exit or when handing
the Deleted message.

get a reference to the window when doing sweeping or
moving as the filesystem might just clunk it under
us and we might end up sending wctl messages to
a Exited window.

wctl resize message has to fail if the window is not
current as it might be hidden... would also be annoying.

11 years agomore generic way to deal with image chan conversion for resize/resample/rotate
cinap_lenrek [Thu, 18 Oct 2012 18:17:12 +0000 (20:17 +0200)]
more generic way to deal with image chan conversion for resize/resample/rotate

this is to catch crazy color channels like k8a8 and the 15/16 bit
ones and CMAP. basically, just convert to RGBA32 or RGB24 depending
on if it has an alpha channel.

11 years agorio: copy window labels for menu3
cinap_lenrek [Thu, 18 Oct 2012 16:51:32 +0000 (18:51 +0200)]
rio: copy window labels for menu3

as the menu is displayed, the window might go away or change its
label causing menuhit() to dereference bad memory. just strdup()
the labels before passing to menu3str to prevent accidents.

11 years agodocument urlencode in hget(1)
cinap_lenrek [Thu, 18 Oct 2012 13:23:40 +0000 (15:23 +0200)]
document urlencode in hget(1)

11 years agohpost: better handling of optional -u flag
cinap_lenrek [Thu, 18 Oct 2012 12:55:56 +0000 (14:55 +0200)]
hpost: better handling of optional -u flag

11 years agohpost: add -l flag to get location url after POST
cinap_lenrek [Thu, 18 Oct 2012 12:38:07 +0000 (14:38 +0200)]
hpost: add -l flag to get location url after POST

11 years ago/sys/src/cmd/auth/mkfile: fix lib.$O.a race
cinap_lenrek [Thu, 18 Oct 2012 01:49:40 +0000 (03:49 +0200)]
/sys/src/cmd/auth/mkfile: fix lib.$O.a race

11 years agokernel: mnt cache rework
cinap_lenrek [Wed, 17 Oct 2012 13:48:30 +0000 (15:48 +0200)]
kernel: mnt cache rework

avoid double entries in the cache for copen() and properly handle
locking so we wont just give up if we cant lock the Mntcache entry,
but drop the cache lock, qlock the Mntcache entry, and then recheck
the cache.

general cleanup (cdev -> ccache, use eqchantdqid())

11 years agofortunes, rob, rsc, troll: the war is over
stanley lieber [Tue, 16 Oct 2012 16:21:21 +0000 (11:21 -0500)]
fortunes, rob, rsc, troll: the war is over

11 years agokernel: duppage cleanup
cinap_lenrek [Tue, 16 Oct 2012 14:10:26 +0000 (16:10 +0200)]
kernel: duppage cleanup

remove the sched() call and retry loop from duppage() and just
drop the page lock, then reacquire it after lock(&palloc).

11 years agokernel: cachedel() lock order, lookpage, cleanup
cinap_lenrek [Tue, 16 Oct 2012 12:12:21 +0000 (14:12 +0200)]
kernel: cachedel() lock order, lookpage, cleanup

the lock order of page.Lock -> palloc.hashlock was
violated in cachedel() which is called from the
pager. change the code to do it in the right oder
to prevent deadlock.

change lookpage to retry on false hit. i assume that
a false hit means:

a) we'r low on memory -> cached page got uncached/reused

b) duppage() got called on the page, meaning theres another
cached copy in the image now.

paging in is expensive compared to the hashtable lookup, so
i think retrying is better.

cleanup fixfault, adding comments.

11 years agoswap: track swap pages with > 255 references, setswapchan() swapimage.c
cinap_lenrek [Mon, 15 Oct 2012 12:04:30 +0000 (14:04 +0200)]
swap: track swap pages with > 255 references, setswapchan() swapimage.c

swaped pages use a 8bit refcount where as the Page uses a 16bit one.
this might be exploited with having a process having a single page
swaped out and then forking 255 times to make the swap map refcount
overflow and panic the kernel.

this condition is probably very rare. so instead of doubling the
size of the swap map, we add a single 32bit refcount swapalloc.xref
which will keep the combined refcount of all swap map entries who
exceeded 255 references.

zero swapimage.c in setswapchan() after closing it as the stat() call
below might error leaving a dangeling pointer.

11 years agokernel: attachimage / exec error handling
cinap_lenrek [Sun, 14 Oct 2012 17:48:46 +0000 (19:48 +0200)]
kernel: attachimage / exec error handling

attachimage()'s approach to handling newseg() error is flawed:

a) the the image is on the hash table, but ref is still 0, and
there is no segment/pages attached to it so nobody is going to
reclaim / putimage() it -> leak

b) calling pexit() would deadlock us because exec has acquired
up->seglock when calling attachimage(), so this would just deadlock.

the fix does the following:

attachimage() will putimage() and nexterror() if newseg() fails
instead of pexit(). this is less surprising.

exec now keeps the condition variable commit which is set once
we are commited / reached the point of no return and check this
variable in the highest waserror() handler and pexit() us there.

this way we have released up all the locks and pexit() will
cleanup.

note: this bug shouldnt us hit in with the current newseg()
implementation as it uses smalloc() which would wait to
satisfy the allocation instead of erroring.

11 years agoupdate fshalt(8) manpage
cinap_lenrek [Sun, 14 Oct 2012 11:33:10 +0000 (13:33 +0200)]
update fshalt(8) manpage

11 years agoformpost becomes hpost
cinap_lenrek [Sun, 14 Oct 2012 04:28:58 +0000 (06:28 +0200)]
formpost becomes hpost

11 years agourlencode: fix /fd/0 use
cinap_lenrek [Sat, 13 Oct 2012 13:35:39 +0000 (15:35 +0200)]
urlencode: fix /fd/0 use

11 years agoircrc: fix spurious autojoin
cinap_lenrek [Fri, 12 Oct 2012 17:13:34 +0000 (19:13 +0200)]
ircrc: fix spurious autojoin

11 years agoircrc(1): man page fixes, thanks pap
stanley lieber [Fri, 12 Oct 2012 14:17:47 +0000 (09:17 -0500)]
ircrc(1): man page fixes, thanks pap

11 years agohget(1): fix man page errors, add another example
stanley lieber [Fri, 12 Oct 2012 03:06:11 +0000 (22:06 -0500)]
hget(1): fix man page errors, add another example

11 years agoircrc: various improvements (thanks again pap!)
cinap_lenrek [Thu, 11 Oct 2012 23:05:34 +0000 (01:05 +0200)]
ircrc: various improvements (thanks again pap!)

the -t option was ineffective. this fixes is.

fix incompatibility with 9vx as its tcp/status
file returns slightly different format than
Plan 9.

strip annoying \ 2 character from nickserv.

11 years agoadd /rc/bin/formpost; add formpost to hget(1) man page
stanley lieber [Thu, 11 Oct 2012 21:37:48 +0000 (16:37 -0500)]
add /rc/bin/formpost; add formpost to hget(1) man page

11 years agocifsd: fix 64bit fileoffset bug
cinap_lenrek [Thu, 11 Oct 2012 19:38:54 +0000 (21:38 +0200)]
cifsd: fix 64bit fileoffset bug

the low 32bit word got *sign-extended* on vlong conversion. m(

11 years agoircrc(1): fix error
stanley lieber [Thu, 11 Oct 2012 16:34:15 +0000 (11:34 -0500)]
ircrc(1): fix error

11 years agoadd /sys/man/1/ircrc, thanks pap
stanley lieber [Thu, 11 Oct 2012 16:31:40 +0000 (11:31 -0500)]
add /sys/man/1/ircrc, thanks pap

11 years agokernel: try to catch some (rare) mistakes
cinap_lenrek [Thu, 11 Oct 2012 15:29:16 +0000 (17:29 +0200)]
kernel: try to catch some (rare) mistakes

kstrcpy() did not null terminate for < 4 byte buffers. fixed,
but i dont think there is any case where this can happen in
practice.

always set malloctag in kstrdup(), cleanup.

always use ERRMAX bounded kstrcpy() to set up->errstr, q->err
and note[]->msg. paranoia.

instead of silently truncating interface name in netifinit(),
panic the kernel if interface name is too long as this case
is clearly a mistake.

panic kernel when filename is too long for addbootfile() in
devroot. this might happen if your kernel configuration is
messed up.

11 years ago6in4: fix exit status, less strict src filtering, logging (import from sources)
cinap_lenrek [Thu, 11 Oct 2012 11:21:30 +0000 (13:21 +0200)]
6in4: fix exit status, less strict src filtering, logging (import from sources)

11 years agokenrel: simplify image cache by use of ccloseq()
cinap_lenrek [Wed, 10 Oct 2012 06:22:35 +0000 (08:22 +0200)]
kenrel: simplify image cache by use of ccloseq()

11 years agovncv: cleanup
cinap_lenrek [Tue, 9 Oct 2012 14:22:19 +0000 (16:22 +0200)]
vncv: cleanup

11 years agovncv: fork tcs with RFNOWAIT as we dont collect wait message
cinap_lenrek [Tue, 9 Oct 2012 13:26:45 +0000 (15:26 +0200)]
vncv: fork tcs with RFNOWAIT as we dont collect wait message

11 years agovncv: snarfvers race, silly walks, add -l option for clipboard charset
cinap_lenrek [Tue, 9 Oct 2012 13:15:57 +0000 (15:15 +0200)]
vncv: snarfvers race, silly walks, add -l option for clipboard charset

11 years ago/sys/lib/acid/kernel: fix imagecache() and procenv()
cinap_lenrek [Tue, 9 Oct 2012 01:52:18 +0000 (03:52 +0200)]
/sys/lib/acid/kernel: fix imagecache() and procenv()

11 years agomerge
cinap_lenrek [Tue, 9 Oct 2012 01:23:21 +0000 (03:23 +0200)]
merge

11 years ago/sys/lib/acid/kernel: needacid("chan")
cinap_lenrek [Tue, 9 Oct 2012 01:22:28 +0000 (03:22 +0200)]
/sys/lib/acid/kernel: needacid("chan")

11 years agofortunes
aiju [Mon, 8 Oct 2012 20:14:19 +0000 (22:14 +0200)]
fortunes

11 years agonetaudit(8): english
stanley lieber [Mon, 8 Oct 2012 03:06:47 +0000 (22:06 -0500)]
netaudit(8): english

11 years agocontent-driven bullshit
cinap_lenrek [Sun, 7 Oct 2012 23:57:52 +0000 (01:57 +0200)]
content-driven bullshit

11 years agonetaudit changes and manual page
cinap_lenrek [Sun, 7 Oct 2012 22:56:00 +0000 (00:56 +0200)]
netaudit changes and manual page

11 years agohjfs(8): fix wording
stanley lieber [Sun, 7 Oct 2012 20:09:04 +0000 (15:09 -0500)]
hjfs(8): fix wording

11 years agofortunes, rsc, rob: more
stanley lieber [Sun, 7 Oct 2012 19:40:29 +0000 (14:40 -0500)]
fortunes, rsc, rob: more

11 years agoadd /sys/man/8/hjfs
stanley lieber [Sun, 7 Oct 2012 19:39:45 +0000 (14:39 -0500)]
add /sys/man/8/hjfs

11 years agojust-in-time-scale bullshit
cinap_lenrek [Sun, 7 Oct 2012 19:28:58 +0000 (21:28 +0200)]
just-in-time-scale bullshit

11 years agofixed the bullshit in bullshit
aiju [Sun, 7 Oct 2012 16:39:29 +0000 (18:39 +0200)]
fixed the bullshit in bullshit

11 years ago/sys/lib/acid/kernel: fix intrcount()
cinap_lenrek [Sun, 7 Oct 2012 06:03:02 +0000 (08:03 +0200)]
/sys/lib/acid/kernel: fix intrcount()

11 years agohjfs(4): fly your flag
stanley lieber [Sat, 6 Oct 2012 17:27:40 +0000 (12:27 -0500)]
hjfs(4): fly your flag

11 years agofortunes, rob, rsc, theo, troll: updates
stanley lieber [Sat, 6 Oct 2012 16:56:56 +0000 (11:56 -0500)]
fortunes, rob, rsc, theo, troll: updates

11 years agopc kernel: make imagemem maxsize 10% less of mainmem maxsize
cinap_lenrek [Sat, 6 Oct 2012 05:05:08 +0000 (07:05 +0200)]
pc kernel: make imagemem maxsize 10% less of mainmem maxsize

11 years agoadd /sys/man/4/hjfs
stanley lieber [Sat, 6 Oct 2012 03:49:53 +0000 (03:49 +0000)]
add /sys/man/4/hjfs

11 years agotftpfs(4) example typo
cinap_lenrek [Sat, 6 Oct 2012 03:14:46 +0000 (05:14 +0200)]
tftpfs(4) example typo

11 years agohttpfile(4) section name quoting
cinap_lenrek [Sat, 6 Oct 2012 03:13:14 +0000 (05:13 +0200)]
httpfile(4) section name quoting

11 years agopaint(1) fix bad cross reference
cinap_lenrek [Sat, 6 Oct 2012 03:12:07 +0000 (05:12 +0200)]
paint(1) fix bad cross reference

11 years agotftpfs(4): minor corrections
stanley lieber [Sat, 6 Oct 2012 02:25:55 +0000 (21:25 -0500)]
tftpfs(4): minor corrections

11 years agotftpfs: add manpage, add -x option
cinap_lenrek [Sat, 6 Oct 2012 02:14:48 +0000 (04:14 +0200)]
tftpfs: add manpage, add -x option

11 years agolibfis: do not lie about logical sector units
cinap_lenrek [Sat, 6 Oct 2012 20:56:05 +0000 (22:56 +0200)]
libfis: do not lie about logical sector units

11 years agourlencode: encode null bytes
cinap_lenrek [Fri, 5 Oct 2012 21:38:43 +0000 (23:38 +0200)]
urlencode: encode null bytes

11 years agourlencode: fix null byte hexdigit() bug
cinap_lenrek [Fri, 5 Oct 2012 21:30:05 +0000 (23:30 +0200)]
urlencode: fix null byte hexdigit() bug

11 years agourlencode: decode + as space
cinap_lenrek [Fri, 5 Oct 2012 21:21:17 +0000 (23:21 +0200)]
urlencode: decode + as space

11 years agoreplace urlencode with c version that isnt broken for utf-8
cinap_lenrek [Fri, 5 Oct 2012 21:14:23 +0000 (23:14 +0200)]
replace urlencode with c version that isnt broken for utf-8

11 years agoadd /rc/bin/urlencode
stanley lieber [Thu, 4 Oct 2012 19:08:32 +0000 (14:08 -0500)]
add /rc/bin/urlencode

11 years agofixed ream code; added megabyte output to df
aiju [Wed, 3 Oct 2012 16:27:22 +0000 (18:27 +0200)]
fixed ream code; added megabyte output to df

11 years agomerge
cinap_lenrek [Wed, 3 Oct 2012 16:19:17 +0000 (18:19 +0200)]
merge

11 years agoliblex: fix allprint() definition (from sources)
cinap_lenrek [Wed, 3 Oct 2012 16:18:01 +0000 (18:18 +0200)]
liblex: fix allprint() definition (from sources)

11 years agohjfs: debug-chdeind and sync commands added
aiju [Wed, 3 Oct 2012 16:10:56 +0000 (18:10 +0200)]
hjfs: debug-chdeind and sync commands added

11 years agoapply sources patch cc-cpp-c99-comm
cinap_lenrek [Wed, 3 Oct 2012 16:09:53 +0000 (18:09 +0200)]
apply sources patch cc-cpp-c99-comm

When running "?c -p ...", ensure the backend cpp recognizes C++ comments.

2c(1) states that the compilers recognize // comments, and the bare compilers
do.  But if you invoke the compiler with '-p', the backend cpp process
doesn't handle // comments properly unless you also give ?c the undocumented
'-+' option (which it passes through to cpp).

11 years agofixed debug-getblk
aiju [Wed, 3 Oct 2012 16:01:23 +0000 (18:01 +0200)]
fixed debug-getblk

11 years agohjfs debug commands
aiju [Wed, 3 Oct 2012 15:45:58 +0000 (17:45 +0200)]
hjfs debug commands

11 years agofixed potential bug in hjfs
aiju [Wed, 3 Oct 2012 15:23:17 +0000 (17:23 +0200)]
fixed potential bug in hjfs

11 years agoRules of Acqusition 2: Rules of Acquisitioner
Kurt H Maier [Tue, 2 Oct 2012 00:40:38 +0000 (20:40 -0400)]
Rules of Acqusition 2: Rules of Acquisitioner

11 years agoRules of Acquisition
Kurt H Maier [Tue, 2 Oct 2012 00:22:57 +0000 (20:22 -0400)]
Rules of Acquisition

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()