Re: [dev] [surf][patch]history patch update

2015-03-15 Thread Markus Teich
Sébastien Poher wrote: > Thanks for that, that's a clean way to handle both history and searches and > it works well. The only problem I have is that it messes with the bookmarks > patch that uses SETPROP, so I was thinking about something like: > > #define SETURI { \ > .v = (char *[]){ "/bin/

Re: [dev] [surf][patch]history patch update

2015-03-15 Thread Sébastien Poher
Hi Markus, First of all, I have to confess (*glups*) that I am not a programmer, just a beginner enjoying quality software and trying to learn from that. For that, suckless tools and software help a lot due to the clarity of the code. Le dimanche 15 mars 2015 à 01:12:19, Markus Teich a écrit : >

Re: [dev] [surf][patch]history patch update

2015-03-15 Thread Markus Teich
Heyho Sébastien, Sébastien Poher wrote: > I've add cariage return so that visited URIs are not put one after one in > history file but each one on a new line. > + FILE *f; > + f = fopen(historyfile, "a+"); > + fprintf(f, "\n%s", u); > + fclose(f);

[dev] [surf][patch]history patch update

2015-03-15 Thread Sébastien Poher
Hi, When trying to apply and use [1] I found it a bit outdated so here's a proposal of update. I've add cariage return so that visited URIs are not put one after one in history file but each one on a new line. Instead of using the original version, I've adapted the function in the same vein of th

[dev] [surf][patch] history

2009-10-18 Thread Jason Thigpen
a lame history patch for surf 0.2 history.diff Description: Binary data