Re: [dev] surf rewrite for WebKit2GTK

2014-10-25 Thread Andrew Hills
On 10/25/14 13:41, F Hssn wrote: Following suckless's minimal philosophy, I'd be interested to find out if someone has done analysis on how an even minimal browser could be developed in terms of SLOC, since webkit (r172694) stands at ~2 million lines, 75% of which is C++, while webkitgtk-1.10.2 i

[dev] [PATCH] [st] Fix issues with wcwidth() returning -1 for unsupported unicode chars

2014-10-25 Thread dequis
Hi suckless! First, thanks for st. Been using it for a long while, still impressed at how it gets a lot of stuff right - stuff that urxvt failed miserably at. There's only one issue that has been bothering me particularly. The issue itself: Unicode characters added since unicode 5.2 (released in

Re: [dev] surf rewrite for WebKit2GTK

2014-10-25 Thread Quentin Rameau
Seems like you deviated a bit from the thread subject.

Re: [dev] Macbook retina and dwm

2014-10-25 Thread Alex Pilon
> On Sun, 26 Oct 2014 01:00:05 +0300 Dimitris Zervas wrote: > > I though about system wide font enlargement or passing other > > resolution to X11 (possible?). > On Sun, Oct 26, 2014 at 12:41:15AM +0200, FRIGN wrote: > You are close. The _real_ way to do it is set the DPI in xorg.conf Or avoid to

Re: [dev] Macbook retina and dwm

2014-10-25 Thread FRIGN
On Sun, 26 Oct 2014 01:00:05 +0300 Dimitris Zervas wrote: > Refer to this: https://wiki.archlinux.org/index.php/xorg#Display_size_and_DPI -- FRIGN

Re: [dev] Macbook retina and dwm

2014-10-25 Thread FRIGN
On Sun, 26 Oct 2014 01:00:05 +0300 Dimitris Zervas wrote: > Any ideas? > I though about system wide font enlargement or passing other resolution to > X11 (possible?). You are close. The _real_ way to do it is set the DPI in xorg.conf and enlargen the default font size. That's exactly what Appl

Re: [dev] surf rewrite for WebKit2GTK

2014-10-25 Thread Daniel Camolês
2014-10-25 19:56 GMT-02:00 Wolfgang Corcoran-Mathe : >Any _popular_ > reboot would have to require people to change very little about > their habits, and to do no hard thinking about the nature of the > Web--if possible, no thinking at all. It doesn't need to be popular at first; it needs to be co

[dev] Macbook retina and dwm

2014-10-25 Thread Dimitris Zervas
Hello, I just bought my macbook pro retina 13". I am running Gentoo fairly well (a bit power hungry, I am open to suggestions, especially fan control). The main problem is the resolution. If I downscale with xrandr, it does bitmap scales so the fonts are horrible. Any ideas? I though about syste

Re: [dev] surf rewrite for WebKit2GTK

2014-10-25 Thread Wolfgang Corcoran-Mathe
Quoth Daniel Camolês on Sat, Oct 25 2014 16:29 -0200: When the choice you have is between 500k or 2 million lines of code, it hurts to call anything suckless. I think the web needs a serious reboot. [snip] But when it comes to application distribution... I know that we have ssh and mainframe te

Re: [dev] surf rewrite for WebKit2GTK

2014-10-25 Thread Teodoro Santoni
On Sat, Oct 25, 2014 at 06:12:29PM -0200, Daniel Camolês wrote: > The problem is not with this specific organization. I meant w3c as w3crap, as in all things www-related (sons of sgml, js, css, rdf, ...), not as the consortium, which imho isn't that much evil either: it has only the misfortune t

Re: [dev] surf rewrite for WebKit2GTK

2014-10-25 Thread Daniel Camolês
>> Am I alone? Is there any hope out there? > > TL;DR: Imho, there is none. W3c is the total opposite of suckless software. The problem is not with this specific organization. Design by committee is the source of the evil. Everybody wants to put a shiny new feature in there. Also, you never want t

Re: [dev] surf rewrite for WebKit2GTK

2014-10-25 Thread Teodoro Santoni
On Sat, Oct 25, 2014 at 04:29:58PM -0200, Daniel Camolês wrote: > [snip] > I dream with the day when the Internet will be built > around a model simple and generic enough that a reasonable programmer > will be able to code a complete "browser" in a month of work or so. > > Am I alone? Is there any

Re: [dev] surf rewrite for WebKit2GTK

2014-10-25 Thread Kartik Agaram
> No, that was not what I was talking about. In this browser discussion, > I am not interested in ways to understand complexity as your proposed > solution. I think the fact that the browser needs to be this huge is a > signal that things are very, very wrong, and a new solution for > application d

Re: [dev] surf rewrite for WebKit2GTK

2014-10-25 Thread Daniel Camolês
2014-10-25 16:59 GMT-02:00 Kartik Agaram : >> Am I alone? Is there any hope out there? > > I'm working on this problem. I think the solution is white-box testing > from the ground up, so that software encodes not just the rules about > what to do but the specific scenarios that the programmer consi

Re: [dev] surf rewrite for WebKit2GTK

2014-10-25 Thread Brandon Mulcahy
On Sat, Oct 25, 2014 at 04:29:58PM -0200, Daniel Camolês wrote: > When the choice you have is between 500k or 2 million lines of code, > it hurts to call anything suckless. I think the web needs a serious > reboot. It started out as a markup language for presentation-only, and > then it was morphed

Re: [dev] surf rewrite for WebKit2GTK

2014-10-25 Thread Kartik Agaram
> Am I alone? Is there any hope out there? I'm working on this problem. I think the solution is white-box testing from the ground up, so that software encodes not just the rules about what to do but the specific scenarios that the programmer considered. Because we only encode rules and not intenti

Re: [dev] surf rewrite for WebKit2GTK

2014-10-25 Thread Daniel Camolês
When the choice you have is between 500k or 2 million lines of code, it hurts to call anything suckless. I think the web needs a serious reboot. It started out as a markup language for presentation-only, and then it was morphed through a convoluted series of additions into an application distributi

Re: [dev] surf rewrite for WebKit2GTK

2014-10-25 Thread F Hssn
On Thu, Oct 23, 2014 at 6:54 AM, Quentin Rameau wrote: > Hi, I tried to port surf for the webkit2 (WebKitGTK 2.6 / GTK3), here > is the code: > git://quinq.eu.org/surf2 > There will be some bugs, feel free to try it, feedback welcomed. Noob question (joined the list a couple months ago), Since s

Re: [dev] [surf] user certificates

2014-10-25 Thread Quentin Rameau
Hi, in WebKit2 API, there is webkit_web_context_allow_tls_certificate_for_host() [1]. Maybe that can help you. But I think that certificates aren't directly handled by WebKit and you should manage them with other tools for your users. [1]: http://webkitgtk.org/reference/webkit2gtk/2.4.2/WebKitWe