Re: [fossil-users] possible flaw/feature in vdiff file-list

2014-01-21 Thread Michai Ramakers
On 22 January 2014 00:39, Michai Ramakers wrote: > On 21 January 2014 23:12, Michai Ramakers wrote: >> Hello, >> >> file-list in 'vdiff' page perhaps seems to 'shadow' (...) a checkin of >> type 'modified' when a checkin of type 'added' also exists in the >> timespan displayed in the page: > > ac

[fossil-users] Is there any correct way to set "HOME" environmental variable?

2014-01-21 Thread KAMEDA, Akihiro
Hi, Referring http://www.fossil-scm.org/index.html/doc/tip/www/selfhost.wiki, I set up cgi page for a fossil repository. But setting (/setup_settings) and timeline (/timeline) page returned the error below. "cannot locate home directory - please set the HOME environment variable" So, I checked

Re: [fossil-users] Possible to read rss page without starting server?

2014-01-21 Thread Matt Welland
On Jan 21, 2014 10:45 AM, "Stephan Beal" wrote: > > On Sat, Jan 18, 2014 at 10:16 AM, Matt Welland wrote: >> >> A clean checkout and configure and make worked. Very cool! I hope this makes it to trunk, it will simplify and speed up the rss2email gateway I've set up at work (processing several hun

Re: [fossil-users] possible flaw/feature in vdiff file-list

2014-01-21 Thread Michai Ramakers
On 21 January 2014 23:12, Michai Ramakers wrote: > Hello, > > file-list in 'vdiff' page perhaps seems to 'shadow' (...) a checkin of > type 'modified' when a checkin of type 'added' also exists in the > timespan displayed in the page: actually, I was using 'vdiff-subdir' branch discussed just now

[fossil-users] possible flaw/feature in vdiff file-list

2014-01-21 Thread Michai Ramakers
Hello, file-list in 'vdiff' page perhaps seems to 'shadow' (...) a checkin of type 'modified' when a checkin of type 'added' also exists in the timespan displayed in the page: $ f timeline -n 3 === 2014-01-21 === 21:55:07 [3eb2d01ba6] *CURRENT* added R (user: michai tags: trunk) 21:54:14 [cabc73a

Re: [fossil-users] JS errors in IE8 on www.fossil-scm.org/fossil and www.sqlite.org/src

2014-01-21 Thread Jan Nijtmans
2014/1/21 Stephan Beal : >> Personally, I don't see the need for a clock on a web page, in general. >> Most screens have a clock in a corner somewhere anyway. This clock shows UTC, which gives a reference for all timestamps given in the timeline. The clock in my screens corner gives local time, wh

[fossil-users] file-level info via sql...

2014-01-21 Thread Stephan Beal
@Michai R. and Martin G.: this is a slightly cleaned up version of the view i linked to earlier. This post is primarily a reminder to me for later on, but might also interest you in figuring out new ways to filter by filename glob... DROP VIEW IF EXISTS f; CREATE TEMP VIEW f AS SELECT filename

Re: [fossil-users] web UI: recursive diff (like 'vdiff&sbs=0') starting in subtree of repo?

2014-01-21 Thread Martin Gagnon
On Tue, Jan 21, 2014 at 08:20:11PM +0100, Stephan Beal wrote: > On Tue, Jan 21, 2014 at 8:13 PM, Martin Gagnon wrote: > > Would be nice to have this kind of feature to the timeline page (or a > new page)...  Showing the checkins that affect at least one file inside > a subdir. > >

Re: [fossil-users] web UI: recursive diff (like 'vdiff&sbs=0') starting in subtree of repo?

2014-01-21 Thread Stephan Beal
On Tue, Jan 21, 2014 at 8:57 PM, Michai Ramakers wrote: > On 21 January 2014 20:41, Stephan Beal wrote: > > > > BTW: just checked in: the glob parameter now propagates via the various > > toggle buttons and a button has been added to clear the glob. > > propagation seems to work well, thx very mu

Re: [fossil-users] web UI: recursive diff (like 'vdiff&sbs=0') starting in subtree of repo?

2014-01-21 Thread Michai Ramakers
On 21 January 2014 20:41, Stephan Beal wrote: > > BTW: just checked in: the glob parameter now propagates via the various > toggle buttons and a button has been added to clear the glob. propagation seems to work well, thx very much. I'll try to look at the SQL magic tomorrow in more detail. Mic

Re: [fossil-users] JS errors in IE8 on www.fossil-scm.org/fossil and www.sqlite.org/src

2014-01-21 Thread Stephan Beal
On Tue, Jan 21, 2014 at 8:17 PM, Martijn Coppoolse < li...@martijn.coppoolse.com> wrote: > If you're changing that code anyway, could you please also take care of > the following change: > setTimeout("updateClock();",(60-d.getUTCSeconds())*1000); > to > setTimeout(updateClock,(60-d.getUTCSecon

Re: [fossil-users] web UI: recursive diff (like 'vdiff&sbs=0') starting in subtree of repo?

2014-01-21 Thread Stephan Beal
On Tue, Jan 21, 2014 at 8:22 PM, Michai Ramakers wrote: > When looking at the timeline alone, it's a bit cumbersome to filter > out the checkins that affect the dir I'm interested in. > Somewhere around here i have an old SQL view which might be useful in this regard... http://fossil.wanderingho

Re: [fossil-users] web UI: recursive diff (like 'vdiff&sbs=0') starting in subtree of repo?

2014-01-21 Thread Michai Ramakers
On 21 January 2014 20:13, Martin Gagnon wrote: > > Would be nice to have this kind of feature to the timeline page (or a > new page)... Showing the checkins that affect at least one file inside > a subdir. > > This could give an history of checkins per subdir. This would be useful > for big repo

Re: [fossil-users] web UI: recursive diff (like 'vdiff&sbs=0') starting in subtree of repo?

2014-01-21 Thread Stephan Beal
On Tue, Jan 21, 2014 at 8:13 PM, Martin Gagnon wrote: > Would be nice to have this kind of feature to the timeline page (or a > new page)... Showing the checkins that affect at least one file inside > a subdir. > > This could give an history of checkins per subdir. This would be useful > for big

Re: [fossil-users] JS errors in IE8 on www.fossil-scm.org/fossil and www.sqlite.org/src

2014-01-21 Thread Martijn Coppoolse
If you're changing that code anyway, could you please also take care of the following change: setTimeout("updateClock();",(60-d.getUTCSeconds())*1000); to setTimeout(updateClock,(60-d.getUTCSeconds())*1000); (i.e. pass the function itself to setTimeout, instead of passing a string to be evalua

Re: [fossil-users] web UI: recursive diff (like 'vdiff&sbs=0') starting in subtree of repo?

2014-01-21 Thread Martin Gagnon
On Tue, Jan 21, 2014 at 07:53:11PM +0100, Stephan Beal wrote: > On Tue, Jan 21, 2014 at 7:45 PM, Richard Hipp wrote: > > > > Huh.  Ok.  But at least now you have a design pattern to follow for a > separate parameter that matches the filenames > > > i was already done with

Re: [fossil-users] web UI: recursive diff (like 'vdiff&sbs=0') starting in subtree of repo?

2014-01-21 Thread Michai Ramakers
On 21 January 2014 19:53, Stephan Beal wrote: > > @Michai: please try something like this URL using that branch: > > /vdiff?from=7e9633a9b3f086c5&to=2864db30806fc5e3&glob=*.h > /vdiff?from=7e9633a9b3f086c5&to=2864db30806fc5e3&glob=test/* that works really well, thank you both for the quick action

Re: [fossil-users] web UI: recursive diff (like 'vdiff&sbs=0') starting in subtree of repo?

2014-01-21 Thread Stephan Beal
On Tue, Jan 21, 2014 at 7:45 PM, Richard Hipp wrote: > > Huh. Ok. But at least now you have a design pattern to follow for a >> separate parameter that matches the filenames >> > i was already done with a slightly different approach by the time this mail arrived: http://fossil-scm.org/inde

Re: [fossil-users] web UI: recursive diff (like 'vdiff&sbs=0') starting in subtree of repo?

2014-01-21 Thread Richard Hipp
On Tue, Jan 21, 2014 at 1:42 PM, Stephan Beal wrote: > On Tue, Jan 21, 2014 at 7:40 PM, Stephan Beal wrote: > >> The parameter is named 'regex', but it doesn't seem to be doing anything >> for me: >> >> >> http://fossil-scm.org/index.html/vdiff?from=7e9633a9b3f086c5&to=2864db30806fc5e3®ex=test/.*

Re: [fossil-users] web UI: recursive diff (like 'vdiff&sbs=0') starting in subtree of repo?

2014-01-21 Thread Stephan Beal
On Tue, Jan 21, 2014 at 7:40 PM, Stephan Beal wrote: > The parameter is named 'regex', but it doesn't seem to be doing anything > for me: > > > http://fossil-scm.org/index.html/vdiff?from=7e9633a9b3f086c5&to=2864db30806fc5e3®ex=test/.* > Misunderstanding on my part: that matches only the changes

Re: [fossil-users] web UI: recursive diff (like 'vdiff&sbs=0') starting in subtree of repo?

2014-01-21 Thread Stephan Beal
On Tue, Jan 21, 2014 at 7:34 PM, Richard Hipp wrote: > There is an undocumented parameter to /vdiff that lets you specify a > regular expression of which files to display. So the functionality that > Machai wants is already in trunk. Just add "&re=prefix/.*" to the query. > No need for the "&di

Re: [fossil-users] web UI: recursive diff (like 'vdiff&sbs=0') starting in subtree of repo?

2014-01-21 Thread Richard Hipp
On Tue, Jan 21, 2014 at 1:28 PM, Stephan Beal wrote: > On Tue, Jan 21, 2014 at 7:26 PM, Richard Hipp wrote: > >> On Tue, Jan 21, 2014 at 1:18 PM, Stephan Beal wrote: >> >>> >>> Feedback welcomed,... >>> >> >> Maybe use strglob() instead of fossil_strncmp() and change the name of >> the para

Re: [fossil-users] web UI: recursive diff (like 'vdiff&sbs=0') starting in subtree of repo?

2014-01-21 Thread Stephan Beal
On Tue, Jan 21, 2014 at 7:26 PM, Richard Hipp wrote: > On Tue, Jan 21, 2014 at 1:18 PM, Stephan Beal wrote: > >> >> Feedback welcomed,... >> > > Maybe use strglob() instead of fossil_strncmp() and change the name of the > parameter from dir= to glob=? Then you do things like &glob=*.h t

Re: [fossil-users] web UI: recursive diff (like 'vdiff&sbs=0') starting in subtree of repo?

2014-01-21 Thread Stephan Beal
On Tue, Jan 21, 2014 at 7:18 PM, Stephan Beal wrote: > http://fossil-scm.org/index.html/timeline?r=vdiff-subdir > > Notes: > - i think the logic for advancing pFileFrom and pFileTo is not entirely valid. i will try to fix that tonight (might have to wait until tomorrow), but would ask that someo

Re: [fossil-users] web UI: recursive diff (like 'vdiff&sbs=0') starting in subtree of repo?

2014-01-21 Thread Richard Hipp
On Tue, Jan 21, 2014 at 1:18 PM, Stephan Beal wrote: > > Feedback welcomed,... > Maybe use strglob() instead of fossil_strncmp() and change the name of the parameter from dir= to glob=? Then you do things like &glob=*.h to get just the diffs in header files, for example. -- D. Richar

Re: [fossil-users] web UI: recursive diff (like 'vdiff&sbs=0') starting in subtree of repo?

2014-01-21 Thread Stephan Beal
On Tue, Jan 21, 2014 at 7:09 PM, Michai Ramakers wrote: > Hello Stephan, > > On 21 January 2014 18:39, Stephan Beal wrote: > > On Tue, Jan 21, 2014 at 6:26 PM, Michai Ramakers > > wrote: > >> > >> is this possible in trunk atm: display a recursive diff like what > >> 'vdiff&sbs=0' provides, but

Re: [fossil-users] web UI: recursive diff (like 'vdiff&sbs=0') starting in subtree of repo?

2014-01-21 Thread Michai Ramakers
Hello Stephan, On 21 January 2014 18:39, Stephan Beal wrote: > On Tue, Jan 21, 2014 at 6:26 PM, Michai Ramakers > wrote: >> >> is this possible in trunk atm: display a recursive diff like what >> 'vdiff&sbs=0' provides, but starting in a subdir of the repo instead >> of its root? >> >> (imagine

Re: [fossil-users] Possible to read rss page without starting server?

2014-01-21 Thread Stephan Beal
On Sat, Jan 18, 2014 at 10:16 AM, Matt Welland wrote: > A clean checkout and configure and make worked. Very cool! I hope this > makes it to trunk, it will simplify and speed up the rss2email gateway I've > set up at work (processing several hundred fossils for rss2email is taking > more time tha

Re: [fossil-users] web UI: recursive diff (like 'vdiff&sbs=0') starting in subtree of repo?

2014-01-21 Thread Stephan Beal
On Tue, Jan 21, 2014 at 6:26 PM, Michai Ramakers wrote: > is this possible in trunk atm: display a recursive diff like what > 'vdiff&sbs=0' provides, but starting in a subdir of the repo instead > of its root? > > (imagine 'vdiff' having a 'dir=' argument) > Not currently, no. However... looking

[fossil-users] web UI: recursive diff (like 'vdiff&sbs=0') starting in subtree of repo?

2014-01-21 Thread Michai Ramakers
Hello, is this possible in trunk atm: display a recursive diff like what 'vdiff&sbs=0' provides, but starting in a subdir of the repo instead of its root? (imagine 'vdiff' having a 'dir=' argument) Michai ___ fossil-users mailing list fossil-users@list

[fossil-users] JS errors in IE8 on www.fossil-scm.org/fossil and www.sqlite.org/src

2014-01-21 Thread Jan Nijtmans
The fossil web-sites mentioned have a little running clock just below the "Not logged in" string (or the username for people who are logged in). In IE8, this clock doesn't work, and (when opening the debugger) gives javascript errors. The reason is that Date.toISOString() is not supported in IE8. C