Re: [dev] Re: Digest of dev@suckless.org issue 521 (26105-26154)

2017-04-01 Thread Finn O'leary

no you

On 2017-03-29 4:03 pm, Jordan Pisaniello wrote:

Fuck off


On Mar 29, 2017, at 2:00 AM, dev+h...@suckless.org wrote:

Topics (messages 26105 through 26154):

[dev] Surf update
 26105 - Nick 

[dev] [ask] search binary file offset in file
 26106 - Amer 

[dev] [ask] search binary file offset in file
 26107 - Alexander Krotov 

[dev] [ask] search binary file offset in file
 26108 - Amer 

[dev] [ask] search binary file offset in file
 26109 - Carlos Torres 

[dev] [announce] ff2sixel: view farbfeld images in terminal
 26110 - Alexander Krotov 

[dev] [announce] ff2sixel: view farbfeld images in terminal
 26111 - Amer 

[dev] [st] [PATCH 1/2] Fix commented out code
 26112 - Alexander Krotov 

[dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing 
terminal

 26113 - Alexander Krotov 
 26115 - Alexander Krotov 

[dev] [announce] ff2sixel: view farbfeld images in terminal
 26114 - Alexander Krotov 

[dev] [ANNOUNCE] vis-0.3 with structural regexp support
 26116 - Marc André Tanner 

[dev] [announce] ff2sixel: view farbfeld images in terminal
 26117 - hiro <23h...@gmail.com>

[dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing 
terminal

 26118 - Laslo Hunhold 

[dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing 
terminal

 26119 - Alexander Krotov 

[dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing 
terminal

 26120 - Cág 

[dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing 
terminal

 26121 - Laslo Hunhold 

[dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing 
terminal

 26122 - Cág 

[dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing 
terminal

 26123 - hiro <23h...@gmail.com>

[dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing 
terminal

 26124 - ilf 

[dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing 
terminal

 26125 - hiro <23h...@gmail.com>

[dev] [slock] 1.4 no longer working on freebsd with ldap/kerberos
 26126 - Andrew Cobaugh 

[dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing 
terminal

 26127 - Anselm R Garbe 

[dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing 
terminal

 26128 - Josuah Demangeon 

[dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing 
terminal

 26129 - Amadeusz Żołnowski 

[dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing 
terminal

 26130 - Laslo Hunhold 

[dev] [slock] 1.4 no longer working on freebsd with ldap/kerberos
 26131 - Markus Teich 

[dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing 
terminal

 26132 - Quentin Rameau 

[dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing 
terminal

 26133 - Alexander Krotov 

[dev] oasis: small linux system inspired by stali
 26134 - Marc André Tanner 

[dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing 
terminal

 26135 - Alexander Krotov 

[dev] [slock] 1.4 no longer working on freebsd with ldap/kerberos
 26136 - Andrew Cobaugh 

[dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing 
terminal

 26137 - Laslo Hunhold 

[dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing 
terminal

 26138 - Britton Kerin 

[dev] [slock] 1.4 no longer working on freebsd with ldap/kerberos
 26139 - Markus Teich 

[dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing 
terminal

 26140 - Alexander Krotov 

[dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing 
terminal

 26141 - Josuah Demangeon 

[dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing 
terminal

 26142 - Josuah Demangeon 

[dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing 
terminal

 26143 - Greg Reagle 

[dev] oasis: small linux system inspired by stali
 26144 - Michael Forney 

[dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing 
terminal

 26145 - Anselm R Garbe 

[dev] [st] [PATCH 2/2] Keep end of lines in memory when resizing 
terminal

 26146 - Quentin Rameau 

[dev] oasis: small linux system inspired by stali
 26147 - Kamil Cholewiński 

[dev] oasis: small linux system inspired by stali
 26148 - Marc André Tanner 

[dev] oasis: small linux system inspired by stali
 26149 - Haines Brown 

[dev] oasis: small linux system inspired by stali
 26150 - Pickfire 

[dev] oasis: small linux system inspired by stali
 26151 - Kamil Cholewiński 

[dev] [slock] 1.4 no longer working on freebsd with ldap/kerberos
 26152 - Andrew Cobaugh 

[dev] oasis: small linux system inspired by stali
 26153 - Alexander Krotov 

[dev] oasis: small linux system inspired by stali
 26154 - Ori Bernstein 
























































Re: [dev] Request for name suggestions: suckless video editor

2017-01-12 Thread Finn O'leary

On 2017-01-12 3:52 am, Amer wrote:

I want the tools to have a common prefix of 2 to 4 characters plus
a dash. Any other ideas of awesome arbitrary things, I cannot think
of anything else that is not already used?


Short names were exhausted, really?)
At least AUR is free of them.

eiv
eivy
evior
eviour
ouvie
muv
cvq
veq
yvi
vidj
vwet
koe
koan
fyu
hevu
...


'ved' seems to be free. It also follows suite of names for text editors 
:D




[dev] [surf] Better history

2016-12-14 Thread Finn O'leary

Hey there.

The two current diffs pertaining to history I considered incomplete 
because:
  omnitool -- I should not have to dispatch a multitool script just to 
save the URL I've changed to
  history  -- If you ^g to one link, then click on another, it doesn't 
save the second to the history file.


so to fix this I hacked this patch up. I don't think there should be any 
obvious bugs with it, but feel free to point any out!


Uh.
Enjoy =)

- Finndiff --git a/config.def.h b/config.def.h
index 7c2b10f..be1d010 100644
--- a/config.def.h
+++ b/config.def.h
@@ -5,6 +5,7 @@ static char *useragent  = "Mozilla/5.0 (X11; U; Unix; en-US) "
 static char *scriptfile = "~/.surf/script.js";
 static char *styledir   = "~/.surf/styles/";
 static char *cachefolder= "~/.surf/cache/";
+static char *historyfile= "~/.surf/history";
 
 static Bool kioskmode   = FALSE; /* Ignore shortcuts */
 static Bool showindicators  = TRUE;  /* Show indicators in window title */
diff --git a/surf.c b/surf.c
index 46aef68..54128b3 100644
--- a/surf.c
+++ b/surf.c
@@ -392,6 +392,7 @@ cleanup(void)
 		destroyclient(clients);
 	g_free(cookiefile);
 	g_free(scriptfile);
+	g_free(historyfile);
 	g_free(stylefile);
 }
 
@@ -817,6 +818,15 @@ linkhover(WebKitWebView *v, const char* t, const char* l, Client *c)
 	updatetitle(c);
 }
 
+void addhistory(char *uri)
+{
+	FILE *h;
+	if ((h = fopen(historyfile, "a+"))) {
+		fprintf(h, "%s\n", uri);
+		fclose(h);
+	}
+}
+
 void
 loadstatuschange(WebKitWebView *view, GParamSpec *pspec, Client *c)
 {
@@ -829,6 +839,7 @@ loadstatuschange(WebKitWebView *view, GParamSpec *pspec, Client *c)
 	switch (webkit_web_view_get_load_status (c->view)) {
 	case WEBKIT_LOAD_COMMITTED:
 		uri = geturi(c);
+		addhistory(uri);
 		if (strstr(uri, "https://";) == uri) {
 			frame = webkit_web_view_get_main_frame(c->view);
 			src = webkit_web_frame_get_data_source(frame);
@@ -1345,6 +1356,7 @@ setup(void)
 	/* dirs and files */
 	cookiefile = buildfile(cookiefile);
 	scriptfile = buildfile(scriptfile);
+	historyfile = buildfile(historyfile);
 	cachefolder = buildpath(cachefolder);
 	if (stylefile == NULL) {
 		styledir = buildpath(styledir);