On Thu, Oct 11, 2007 at 11:16:45PM +0200, Johannes Hofmann wrote:
[...] The new CVS repository is up and updated with the patches:
e.g. (with "-cur" terminated directories being the working directories)
alias dcvs='cvs -z3 -djcid@auriga.wearlab.de:/sfhome/cvs/dillo' dcvs co dillo2 dcvs co dw2 cp -r dillo2 dillo2-cur cp -r dw2 dw2-cur ln -s dw2-cur dw-testbed find dw2-cur -name CVS -exec rm \{\} \; find dillo2-cur -name CVS -exec rm \{\} \; cd dw2-cur ./autogen.sh make cd ../dillo2-cur ./autogen.sh make
Great, but it keeps asking for a password, am I missing something?
Just press ENTER!
[Johannes wrote] * the namespace "signal" in dw-testbed/lout/signal.hh conflicts with the declaration in /usr/include/sys/signal.h: __sighandler_t *signal (int, __sighandler_t *); I renamed the namespace to loutsignal.
Johannes: please send me the patch for this.
As only I seem to have these problems it might well be a problem of DragonFly BSD. So I would like to check that first before changing the nice an simple names in the lout library.
OK.
[Johannes wrote] here is a new version of dillo-fltk scroll performance improvements. This patch is against vanilla dillo-fltk.
New in this patch:
* Hotkey bindings for arrow keys, Home- and EndKey. This only works when the focus is on the display area.
* Only unclipped area is exposed which improves performance on large pages (e.g. http://www.w3.org/TR/xslt).
* Limit scrolling to reasonable values.
It improves not only performance on large pages but also avoids overlapped rendering. Applied.
Great. I will try to add some more performance improvements.
Good. Please read my comments in the next mail (after finishing this one).
[Johannes wrote] Mouse wheel is a matter of binding. Place your mouse pointer over the scroll bar and use the mouse wheel (it needs to be bound to the viewport).
It is slow, because the default linesize (the amount a scrollbar scrolls when pushing on the arrow is 1. I could change that, but what would be a reasonable value?
The height of a word in normal text (i.e. line height). We know the font and font factor from dillorc2 (or defaults). This number is a good candidate.
Ok, I will try to add this.
Good.
---------------- Side Note to all: Have you right-clicked over the search button? :-)
Hey cool!
;-)
Is nobody else experiencing the problems with negative hash-values? Anyway, here is the small patch again:
diff -r a9312b9e22c6 dw-testbed-0.0.43j/lout/container.hh --- a/dw-testbed-0.0.43j/lout/container.hh Mon Oct 01 18:37:12 2007 +0200 +++ b/dw-testbed-0.0.43j/lout/container.hh Mon Oct 01 19:35:34 2007 +0200 @@ -212,7 +212,7 @@ private: private: inline int calcHashValue(object::Object *key) { - return key->hashValue() % tableSize; + return abs(key->hashValue()) % tableSize; }
protected:
Sorry I left that out, but now it is in CVS too. -- Cheers Jorge.-