[dev] [st] [PATCH] Added support for double/triple click+dragging.

2013-04-14 Thread Alexander Sedov
Now double-click+dragging automatically snaps both ends to word boundaries (unless on series of spaces), and triple-click selects whole lines. As a side effect, snapping now occurs on button press, not button release like it previously was, but I hope that won't be inconvenient for anyone. --- st.

Re: [dev] [st] pictures flickers in w3m-img

2013-04-14 Thread Thuban
Thanks for the explanations, and I think you're right, it's not st who must change but w3m-img. Have a nice day! -- ,--. Xavier Cartron : /` ) M2 MEFPC | `-' jabber : thu...@jabber.fr \_

[dev] [dmenu] What is the status of the project?

2013-04-14 Thread Alexander Sedov
As per subject. It seems that last maintainer commit was an year ago, and patches sent to mailing list are left unresponded. In case this project has been orphaned, may I take over it? There is popular demand for being able to statically configure dmenu (e.g. to have config.h), security bug discove

[dev] [st] [PATCH] Got rid of Glyph state, because it was redundant anyway.

2013-04-14 Thread Alexander Sedov
--- st.c | 73 +- 1 file changed, 28 insertions(+), 45 deletions(-) diff --git a/st.c b/st.c index fc07a46..73099a6 100644 --- a/st.c +++ b/st.c @@ -98,11 +98,6 @@ enum cursor_state { CURSOR_ORIGIN = 2 }; -enum glyph_s

[dev] [st] [PATCH] Got rid of code duplication in tnew() and tresize().

2013-04-14 Thread Alexander Sedov
--- st.c | 18 +++--- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/st.c b/st.c index 56dc94c..fc07a46 100644 --- a/st.c +++ b/st.c @@ -1195,22 +1195,10 @@ treset(void) { void tnew(int col, int row) { - /* set screen size */ - term.row = row; -

Re: [dev] [st] [PATCH] Strip trailing spaces from lines when copying selection.

2013-04-14 Thread Christoph Lohmann
Greetings. Thanks, it’s applied. Sincerely, Christoph Lohmann

Re: [dev] web benchmark

2013-04-14 Thread Strake
On 14/04/2013, Christoph Lohmann <2...@r-36.net> wrote: > The benchmark consists of running every website on a RPi Model B in > surf, count how long it takes to load the website and compare the value > of reaction time and loading time to a reference website. If the website > is unusable (rea

[dev] [st] [PATCH] Strip trailing spaces from lines when copying selection.

2013-04-14 Thread Alexander Sedov
--- st.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/st.c b/st.c index 7250da2..56dc94c 100644 --- a/st.c +++ b/st.c @@ -773,7 +773,8 @@ selcopy(void) { gp = &term.line[y][0]; last = gp + term.col; -

[dev] web benchmark

2013-04-14 Thread Christoph Lohmann
Greetings comrades, in the try to standardize the web on something usable is here the first step to propose a mode for every website which will run on a specific hardware setup. I’ve got this Raspberry Pi Model B and run dwm + tabbed + surf on it. When you surf to some huge mainstream webs

Re: [dev] [st] [PATCH] Clearer cursor style, like xterm

2013-04-14 Thread Christoph Lohmann
Greetings. On Sun, 14 Apr 2013 19:40:23 +0200 Mark Hills wrote: > On Sat, 13 Apr 2013, Christoph Lohmann wrote: > > > Greetings. > > > > On Sat, 13 Apr 2013 09:44:47 +0200 Mark Hills wrote: > > > I find when a window is un-focused that the cursor location looks too > > > much like display cont

Re: [dev] [st] [PATCH] Clearer cursor style, like xterm

2013-04-14 Thread Mark Hills
On Sat, 13 Apr 2013, Christoph Lohmann wrote: > Greetings. > > On Sat, 13 Apr 2013 09:44:47 +0200 Mark Hills wrote: > > I find when a window is un-focused that the cursor location looks too > > much like display content. > > > > Please consider this patch, which mimics xterm behaviour by displa

Re: [dev][surf]Some questions about surf.

2013-04-14 Thread stanio
* Hugues Moretto-Viry 2013-04-14 13:42 > - Is there a way to define a default font as we do with dwm or tabbed? > After looking the sources, I guess we can't for now. No. You probably are aware that you can put sth like this in .surf/style.css, but for the sake of completeness: * {font-f

Re: [dev] [st] pictures flickers in w3m-img

2013-04-14 Thread Christoph Lohmann
Greetings. On Sun, 14 Apr 2013 18:56:56 +0200 Edgaras wrote: > On Tue, Apr 09, 2013 at 08:23:27AM +0200, Thuban wrote: > > Hello, > > Even if it's not really a bug, I noticed that pictures flicker when I > > use w3m-img with st. > > The picture is visible only when I move the cursor. I suppose it

Re: [dev] [st] wide characters

2013-04-14 Thread Random832
On 04/14/2013 02:10 AM, Christoph Lohmann wrote: Greetings. On Sun, 14 Apr 2013 08:10:22 +0200 Random832 wrote: I am forced to ask, though, why character cell values are stored in utf-8 rather than as wchar_t (or as an explicitly unicode int) in the first place, particularly since the simplest

Re: [dev][surf]Some questions about surf.

2013-04-14 Thread Christoph Lohmann
Greetings. On Sun, 14 Apr 2013 14:17:10 +0200 Hugues Moretto-Viry wrote: > - I'm compiling webkitgtk (currently 1.11.92) myself because I just want to > disable many crappy features (as geolocation for example), do you know if > surf needs some features, for an optimal functioning? No, surf h

[dev][surf]Some questions about surf.

2013-04-14 Thread Hugues Moretto-Viry
Hi, I decided to switch from Firefox to surf + tabbed (without dmenu). I love it so far. Anyway, I have to ask you many questions, here we go: - I'm compiling webkitgtk (currently 1.11.92) myself because I just want to disable many crappy features (as geolocation for example), do you know if surf

Re: [dev] [st] wide characters

2013-04-14 Thread Troels Henriksen
Random832 writes: > On 04/13/2013 07:07 PM, Aurélien Aptel wrote: >> The ISO/IEC 10646:2003 Unicode standard 4.0 says that: >> >> "The width of wchar_t is compiler-specific and can be as small as >> 8 bits. Consequently, programs that need to be portable across any C >> or C++ compiler shoul