[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.

[fossil-users] web UI: recursive diff (like 'vdiffsbs=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 'vdiffsbs=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

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

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

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 estifo...@gmail.com 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

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

2014-01-21 Thread Michai Ramakers
Hello Stephan, On 21 January 2014 18:39, Stephan Beal sgb...@googlemail.com wrote: On Tue, Jan 21, 2014 at 6:26 PM, Michai Ramakers m.ramak...@gmail.com wrote: is this possible in trunk atm: display a recursive diff like what 'vdiffsbs=0' provides, but starting in a subdir of the repo

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

2014-01-21 Thread Stephan Beal
On Tue, Jan 21, 2014 at 7:09 PM, Michai Ramakers m.ramak...@gmail.comwrote: Hello Stephan, On 21 January 2014 18:39, Stephan Beal sgb...@googlemail.com wrote: On Tue, Jan 21, 2014 at 6:26 PM, Michai Ramakers m.ramak...@gmail.com wrote: is this possible in trunk atm: display a recursive

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

2014-01-21 Thread Richard Hipp
On Tue, Jan 21, 2014 at 1:18 PM, Stephan Beal sgb...@googlemail.com 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

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

2014-01-21 Thread Stephan Beal
On Tue, Jan 21, 2014 at 7:18 PM, Stephan Beal sgb...@googlemail.com 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

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

2014-01-21 Thread Stephan Beal
On Tue, Jan 21, 2014 at 7:26 PM, Richard Hipp d...@sqlite.org wrote: On Tue, Jan 21, 2014 at 1:18 PM, Stephan Beal sgb...@googlemail.comwrote: Feedback welcomed,... Maybe use strglob() instead of fossil_strncmp() and change the name of the parameter from dir= to glob=? Then you do

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

2014-01-21 Thread Richard Hipp
On Tue, Jan 21, 2014 at 1:28 PM, Stephan Beal sgb...@googlemail.com wrote: On Tue, Jan 21, 2014 at 7:26 PM, Richard Hipp d...@sqlite.org wrote: On Tue, Jan 21, 2014 at 1:18 PM, Stephan Beal sgb...@googlemail.comwrote: Feedback welcomed,... Maybe use strglob() instead of

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

2014-01-21 Thread Stephan Beal
On Tue, Jan 21, 2014 at 7:34 PM, Richard Hipp d...@sqlite.org 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

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

2014-01-21 Thread Stephan Beal
On Tue, Jan 21, 2014 at 7:40 PM, Stephan Beal sgb...@googlemail.com 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=7e9633a9b3f086c5to=2864db30806fc5e3regex=test/.* Misunderstanding on my part: that matches

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

2014-01-21 Thread Richard Hipp
On Tue, Jan 21, 2014 at 1:42 PM, Stephan Beal sgb...@googlemail.com wrote: On Tue, Jan 21, 2014 at 7:40 PM, Stephan Beal sgb...@googlemail.comwrote: The parameter is named 'regex', but it doesn't seem to be doing anything for me:

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

2014-01-21 Thread Stephan Beal
On Tue, Jan 21, 2014 at 7:45 PM, Richard Hipp d...@sqlite.org 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:

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

2014-01-21 Thread Michai Ramakers
On 21 January 2014 19:53, Stephan Beal sgb...@googlemail.com wrote: @Michai: please try something like this URL using that branch: /vdiff?from=7e9633a9b3f086c5to=2864db30806fc5e3glob=*.h /vdiff?from=7e9633a9b3f086c5to=2864db30806fc5e3glob=test/* that works really well, thank you both for the

Re: [fossil-users] web UI: recursive diff (like 'vdiffsbs=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 d...@sqlite.org 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

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

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

2014-01-21 Thread Stephan Beal
On Tue, Jan 21, 2014 at 8:13 PM, Martin Gagnon eme...@gmail.com 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

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

2014-01-21 Thread Michai Ramakers
On 21 January 2014 20:13, Martin Gagnon eme...@gmail.com 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

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

2014-01-21 Thread Stephan Beal
On Tue, Jan 21, 2014 at 8:22 PM, Michai Ramakers m.ramak...@gmail.comwrote: 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...

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

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

2014-01-21 Thread Michai Ramakers
On 21 January 2014 20:41, Stephan Beal sgb...@googlemail.com 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

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

2014-01-21 Thread Stephan Beal
On Tue, Jan 21, 2014 at 8:57 PM, Michai Ramakers m.ramak...@gmail.comwrote: On 21 January 2014 20:41, Stephan Beal sgb...@googlemail.com 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.

Re: [fossil-users] web UI: recursive diff (like 'vdiffsbs=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 eme...@gmail.com 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

[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

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 sgb...@googlemail.com: 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

[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

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

2014-01-21 Thread Michai Ramakers
On 21 January 2014 23:12, Michai Ramakers m.ramak...@gmail.com 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

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 sgb...@googlemail.com wrote: On Sat, Jan 18, 2014 at 10:16 AM, Matt Welland estifo...@gmail.com 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

[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 2

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

2014-01-21 Thread Michai Ramakers
On 22 January 2014 00:39, Michai Ramakers m.ramak...@gmail.com wrote: On 21 January 2014 23:12, Michai Ramakers m.ramak...@gmail.com 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