Re: [fossil-users] Building fossil on Solaris

2012-02-16 Thread Steve Bennett
On 17/02/2012, at 1:51 PM, Richard Hipp wrote: > > > On Thu, Feb 16, 2012 at 8:53 PM, Jan Danielsson > wrote: > On 02/17/12 02:23, Steve Bennett wrote: > [.. FOO=bar ; export FOO ..] > > And let me know if that solves the problem? > > > We have this fix checked-in and running on a Solaris Sp

Re: [fossil-users] Building fossil on Solaris

2012-02-16 Thread Richard Hipp
On Thu, Feb 16, 2012 at 8:53 PM, Jan Danielsson wrote: > On 02/17/12 02:23, Steve Bennett wrote: > [.. FOO=bar ; export FOO ..] > > And let me know if that solves the problem? > We have this fix checked-in and running on a Solaris Sparc blade here: http://sparc.sqlite.org/fossil-src/fdiff?

Re: [fossil-users] Building fossil on Solaris

2012-02-16 Thread Steve Bennett
On 17/02/2012, at 11:53 AM, Jan Danielsson wrote: > On 02/17/12 02:23, Steve Bennett wrote: > [.. FOO=bar ; export FOO ..] >> And let me know if that solves the problem? > > Ah, yes. Good ol' Solaris /bin/sh. > > That was it. I can't believe I missed that; I have been bitten by > that partic

Re: [fossil-users] Building fossil on Solaris

2012-02-16 Thread Jan Danielsson
On 02/17/12 02:23, Steve Bennett wrote: [.. FOO=bar ; export FOO ..] > And let me know if that solves the problem? Ah, yes. Good ol' Solaris /bin/sh. That was it. I can't believe I missed that; I have been bitten by that particular limitation of Solaris' /bin/sh a few times before. (Yes

Re: [fossil-users] Building fossil on Solaris

2012-02-16 Thread Steve Bennett
On 17/02/2012, at 11:08 AM, Steve Bennett wrote: > On 17/02/2012, at 10:57 AM, Jan Danielsson wrote: > >> Hello, >> >> I've built fossil on Solaris previously using the old Makefile >> (requiring only very minor changes), but Makefile.classic seems to have >> degenerated a little, so I thought

Re: [fossil-users] Building fossil on Solaris

2012-02-16 Thread Steve Bennett
On 17/02/2012, at 10:57 AM, Jan Danielsson wrote: > Hello, > > I've built fossil on Solaris previously using the old Makefile > (requiring only very minor changes), but Makefile.classic seems to have > degenerated a little, so I thought I'd try to use "configure" et al), > but I end up with thi

[fossil-users] Building fossil on Solaris

2012-02-16 Thread Jan Danielsson
Hello, I've built fossil on Solaris previously using the old Makefile (requiring only very minor changes), but Makefile.classic seems to have degenerated a little, so I thought I'd try to use "configure" et al), but I end up with this: $ mkdir build $ cd build $ ../configure Error:

Re: [fossil-users] With jimtcl available can we have hooks that trigger tcl scripts stored in the db?

2012-02-16 Thread Steve Bennett
On 17/02/2012, at 2:15 AM, Nolan Darilek wrote: > Cool, I'd like to at least have the discussion about that, though. > > What I'd like to see, if possible, is read-only access to the > repository--access to the SELECT statement, for instance, and a way to > iterate over the results and outp

Re: [fossil-users] compile with --enable-json

2012-02-16 Thread Stephan Beal
On Thu, Feb 16, 2012 at 11:19 PM, Johan Samyn wrote: > Thanks Stephan. Should adding 'FOSSIL_ENABLE_JSON = 1' to my > Makefile.mingw work too (I'm a makefile noob ...) ? > It doesn't look like that's a known makefile option (it might be worth adding, though): stephan@tiny ~/cvs/fossil/fossil $

Re: [fossil-users] compile with --enable-json

2012-02-16 Thread Johan Samyn
On 16-02-2012 21:53, Stephan Beal wrote: > On Thu, Feb 16, 2012 at 9:37 PM, Johan Samyn > wrote: > > Hi, > I just read a thread from this list where someone mentions compiling > with the --enable-json flag. I'm on Win7, and use 'make -f > win\Makefile.

Re: [fossil-users] compile with --enable-json

2012-02-16 Thread Stephan Beal
On Thu, Feb 16, 2012 at 9:37 PM, Johan Samyn wrote: > Hi, > I just read a thread from this list where someone mentions compiling > with the --enable-json flag. I'm on Win7, and use 'make -f > win\Makefile.mingw' to compile fossil. I tried with adding that flag, > but the option is rejected. I did

[fossil-users] compile with --enable-json

2012-02-16 Thread Johan Samyn
Hi, I just read a thread from this list where someone mentions compiling with the --enable-json flag. I'm on Win7, and use 'make -f win\Makefile.mingw' to compile fossil. I tried with adding that flag, but the option is rejected. I did not find such flag in that Makefile.mingw that I could uncommen

Re: [fossil-users] Derived code, not to be pushed public

2012-02-16 Thread Leo Razoumov
On Thu, Feb 16, 2012 at 14:15, Brian Smith wrote: > For what it's worth, I was working on limited branch syncing awhile back. > > I never got around to merging it back into the master fossil repo, but, I > think at least your use case is functional.. > > http://code.linuxfood.net/pub/repo/fossil-l

Re: [fossil-users] Last changed date on wiki pages

2012-02-16 Thread Stephan Beal
On Thu, Feb 16, 2012 at 8:46 PM, Thomas Stover wrote: > That would be great. For me it worked with the command line, but not > through the browser. > Works for me? http://fossil.wanderinghorse.net/repos/whio/index.cgi/json/wiki/get/whio_dev?format=none Or, alternately: http://fossil.wanderingho

Re: [fossil-users] Last changed date on wiki pages

2012-02-16 Thread Thomas Stover
On Thursday, February 16, 2012 12:13pm, "Stephan Beal" said: > Doh, i almost forgot a recently-added feature... try: > > http://.../json/wiki/get/PAGENAME?format=none > Or: > fossil wiki get PAGENAME -format none > > that will return a given page's metadata without its content: > > { > "fos

Re: [fossil-users] web page icon propagation

2012-02-16 Thread Thomas Stover
On Thursday, February 16, 2012 12:18pm, "Weber, Martin S" said: > > It's easy actually. The full command is "configuration", to which all of Awesome. "fossil configuration pull skin" did it. Looking at the bytes transferred, the icon itself must have already come over in another operation.

Re: [fossil-users] Derived code, not to be pushed public

2012-02-16 Thread Brian Smith
For what it's worth, I was working on limited branch syncing awhile back. I never got around to merging it back into the master fossil repo, but, I think at least your use case is functional.. http://code.linuxfood.net/pub/repo/fossil-limsync I really ought to finish that up and push it into th

Re: [fossil-users] Seeing SBS between any checkins

2012-02-16 Thread Leo Razoumov
On Thu, Feb 16, 2012 at 13:43, Richard Hipp wrote: > > Try pressing "Reload" several times to convince Chrome to load the newest > CSS. > In order to force CSS reload go to Admin->Skins, change to any skin and then change back to the default skin. --Leo--

Re: [fossil-users] Seeing SBS between any checkins

2012-02-16 Thread Richard Hipp
On Thu, Feb 16, 2012 at 1:41 PM, Ramon Ribó wrote: > Hello, > > Have you tried to see the differences page on Google Chrome? I see > them ok on firefox but very bad on chrome. > It looks like it does not preserve indentation. > Try pressing "Reload" several times to convince Chrome to load t

Re: [fossil-users] Seeing SBS between any checkins

2012-02-16 Thread Ramon Ribó
Hello, Have you tried to see the differences page on Google Chrome? I see them ok on firefox but very bad on chrome. It looks like it does not preserve indentation. RR 2012/2/16 Richard Hipp : > > > 2012/2/16 Lluís Batlle i Rossell >> >> On Thu, Feb 16, 2012 at 11:25:32AM -0500, Richar

Re: [fossil-users] web page icon propagation

2012-02-16 Thread Weber, Martin S
On 2012-02-16 12:41 , "Thomas Stover" wrote: >I spoke too soon. I get "fossil: unknown command: configure" on all my >installations. Do I need another build flag? It's easy actually. The full command is "configuration", to which all of "conf", "config" and even "configur" are valid prefixes/abbr

Re: [fossil-users] Last changed date on wiki pages

2012-02-16 Thread Stephan Beal
On Thu, Feb 16, 2012 at 6:39 PM, Thomas Stover wrote: > Interesting. Once I figured out I needed to rebuild with --enable-json it > worked. > i would have mentioned that if i hadn't been typing on my phone at the time ;). > I wonder if it could be crafted to just return the the timestamp. Or

Re: [fossil-users] web page icon propagation

2012-02-16 Thread Richard Hipp
On Thu, Feb 16, 2012 at 12:28 PM, Thomas Stover wrote: > On Thursday, February 16, 2012 11:23am, "Richard Hipp" > said: > > > > fossil configure pull > > fossil configure push skin > > ok. I think one time I did do a "configure pull", and another time just > "pull". The user accounts ar

Re: [fossil-users] web page icon propagation

2012-02-16 Thread Thomas Stover
On Thursday, February 16, 2012 11:47am, "Lluís Batlle i Rossell" said: > On Thu, Feb 16, 2012 at 11:41:53AM -0600, Thomas Stover wrote: >> I spoke too soon. I get "fossil: unknown command: configure" on all my >> installations. Do I need another build flag? > > No json. 'fossil configuration'

Re: [fossil-users] web page icon propagation

2012-02-16 Thread Lluís Batlle i Rossell
On Thu, Feb 16, 2012 at 11:41:53AM -0600, Thomas Stover wrote: > I spoke too soon. I get "fossil: unknown command: configure" on all my > installations. Do I need another build flag? No json. 'fossil configuration' :) Regards, Lluís ___ fossil-users m

Re: [fossil-users] web page icon propagation

2012-02-16 Thread Thomas Stover
I spoke too soon. I get "fossil: unknown command: configure" on all my installations. Do I need another build flag? ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Re: [fossil-users] Last changed date on wiki pages

2012-02-16 Thread Thomas Stover
On Thursday, February 16, 2012 9:33am, "Stephan Beal" said: > > The adventurous can get that via the json api: > > fossil json wiki get PageName > Or: > http://... /json/wiki/get/PageName > > Should do the trick. > Interesting. Once I figured out I needed to rebuild with --enable-json it

Re: [fossil-users] web page icon propagation

2012-02-16 Thread Thomas Stover
On Thursday, February 16, 2012 11:23am, "Richard Hipp" said: > > fossil configure pull > fossil configure push skin ok. I think one time I did do a "configure pull", and another time just "pull". The user accounts are not by chance part of this configuration? ___

[fossil-users] On vdiff

2012-02-16 Thread Lluís Batlle i Rossell
On Thu, Feb 16, 2012 at 12:11:36PM -0500, Richard Hipp wrote: > 2012/2/16 Lluís Batlle i Rossell > > > On Thu, Feb 16, 2012 at 11:25:32AM -0500, Richard Hipp wrote: > > > 2012/2/16 Lluís Batlle i Rossell > > > > With SBS diffs, it would be great to see diffs between branches using > > the > > >

Re: [fossil-users] web page icon propagation

2012-02-16 Thread Richard Hipp
The "skin" (including the project icon) is not versioned. It is consider server-specific metadata. The skin is copied when you clone. You can all move move it using: fossil configure pull fossil configure push skin It is often necessary to press "Reload" on your browser after changin

Re: [fossil-users] Derived code, not to be pushed public

2012-02-16 Thread Ron Wilson
On Mon, Feb 6, 2012 at 1:53 PM, Lluís Batlle i Rossell wrote: > On Mon, Feb 06, 2012 at 01:07:30PM -0500, Ron Wilson wrote: >> >> Mark your branch private. >> >> Anything you want to push can then be merged into a non-private branch. > > Ah, well, that's fine for personal work. I meant a bit how t

[fossil-users] web page icon propagation

2012-02-16 Thread Thomas Stover
At first it appeared that push/pull was propagating the project icon. Then it looked like it was not, so I started adding it manually. Then I realized that was just browser silliness. Now I'm back to not seeing it working. Would someone tell me if this is suppose to work, since I have confused m

Re: [fossil-users] Bug: non-ASCII user names are corrupted

2012-02-16 Thread Роман Донченко
Richard Hipp писал в своём письме Thu, 16 Feb 2012 05:09:34 +0400: 2012/2/15 Richard Hipp 2012/2/15 Роман Донченко Hello, I'm using (well, trying to) Fossil on Windows. My username is "Роман". This happens: F:\Source>fossil init test.sqlite project-id: c162b4ff218ffca0d4f3fe26f20a

Re: [fossil-users] Seeing SBS between any checkins

2012-02-16 Thread Richard Hipp
2012/2/16 Lluís Batlle i Rossell > On Thu, Feb 16, 2012 at 11:25:32AM -0500, Richard Hipp wrote: > > 2012/2/16 Lluís Batlle i Rossell > > > With SBS diffs, it would be great to see diffs between branches using > the > > > web UI. > > http://yourdomain/fossil/vdiff?from=VERSION1&to=VERSION2&s

Re: [fossil-users] Seeing SBS between any checkins

2012-02-16 Thread Lluís Batlle i Rossell
On Thu, Feb 16, 2012 at 11:25:32AM -0500, Richard Hipp wrote: > 2012/2/16 Lluís Batlle i Rossell > > With SBS diffs, it would be great to see diffs between branches using the > > web UI. > http://yourdomain/fossil/vdiff?from=VERSION1&to=VERSION2&sbs=1 > > example: > > http://www.fossil-s

Re: [fossil-users] With jimtcl available can we have hooks that trigger tcl scripts stored in the db?

2012-02-16 Thread Leo Razoumov
On Thu, Feb 16, 2012 at 09:00, Richard Hipp wrote: >> >> >> I was once open to this kind of thing.  But since the security risks have >> been pointed out to me, I'm now very reluctant to do anything like this. >> > > TH1 is secure by virtual of being minimalist.  It really doesn't do much > beyond

Re: [fossil-users] Seeing SBS between any checkins

2012-02-16 Thread Richard Hipp
2012/2/16 Lluís Batlle i Rossell > Hello, > > the /ci pages show a list of files changed between a checkin and its > primary > parent. Including the possibility of SBS diffs, or unified diffs. > > Can that be done between any checkins, following the kind of 'shortest > path' > that a merge operat

[fossil-users] Seeing SBS between any checkins

2012-02-16 Thread Lluís Batlle i Rossell
Hello, the /ci pages show a list of files changed between a checkin and its primary parent. Including the possibility of SBS diffs, or unified diffs. Can that be done between any checkins, following the kind of 'shortest path' that a merge operation uses? With SBS diffs, it would be great to see

Re: [fossil-users] With jimtcl available can we have hooks that trigger tcl scripts stored in the db?

2012-02-16 Thread Nolan Darilek
Cool, I'd like to at least have the discussion about that, though. What I'd like to see, if possible, is read-only access to the repository--access to the SELECT statement, for instance, and a way to iterate over the results and output them into the pages. To anyone afraid that I'll be callin

Re: [fossil-users] Last changed date on wiki pages

2012-02-16 Thread Stephan Beal
Hi! The adventurous can get that via the json api: fossil json wiki get PageName Or: http://... /json/wiki/get/PageName Should do the trick. - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal On Feb 16, 2012 4:24 PM, "Thomas Stover" wrote: > Anyway to make a pla

[fossil-users] Last changed date on wiki pages

2012-02-16 Thread Thomas Stover
Anyway to make a place on a wiki page say something like "this was last updated on x/x/x"? ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Re: [fossil-users] memory leak using fossil_getenv and fossil_mbcs_to_utf8

2012-02-16 Thread Richard Hipp
On Thu, Feb 16, 2012 at 9:33 AM, wrote: > In ui or server commands, I guess atleast 1 instance of fossil keeps > running, listening to the port. If that functionality has memory leak, it > needs a fix. > Fossil launches a separate process to handle each HTTP request. Always. Even using the "ui"

Re: [fossil-users] memory leak using fossil_getenv and fossil_mbcs_to_utf8

2012-02-16 Thread altufaltu
In ui or server commands, I guess atleast 1 instance of fossil keeps running, listening to the port. If that functionality has memory leak, it needs a fix. > - Original Message - > From: Richard Hipp > Sent: 02/16/12 06:04 PM > To: slonik...@gmail.com, Fossil SCM user's discussion > Subj

Re: [fossil-users] With jimtcl available can we have hooks that trigger tcl scripts stored in the db?

2012-02-16 Thread Richard Hipp
On Thu, Feb 16, 2012 at 8:49 AM, Nolan Darilek wrote: > On 02/16/2012 06:55 AM, Richard Hipp wrote: > > > > On Wed, Feb 15, 2012 at 11:15 PM, Nolan Darilek wrote: > >> So is it currently possible to use TH1 to generate dynamic webpages? >> Could I use it to, say, select the last 5 events and dis

Re: [fossil-users] With jimtcl available can we have hooks that trigger tcl scripts stored in the db?

2012-02-16 Thread Nolan Darilek
On 02/16/2012 06:55 AM, Richard Hipp wrote: On Wed, Feb 15, 2012 at 11:15 PM, Nolan Darilek mailto:no...@thewordnerd.info>> wrote: So is it currently possible to use TH1 to generate dynamic webpages? Could I use it to, say, select the last 5 events and display them on the main pa

Re: [fossil-users] With jimtcl available can we have hooks that trigger tcl scripts stored in the db?

2012-02-16 Thread Richard Hipp
On Wed, Feb 15, 2012 at 11:15 PM, Nolan Darilek wrote: > So is it currently possible to use TH1 to generate dynamic webpages? > Could I use it to, say, select the last 5 events and display them on the > main page? Or is that still out of reach? > > Just curious, since it seems like there are lots

Re: [fossil-users] memory leak using fossil_getenv and fossil_mbcs_to_utf8

2012-02-16 Thread Richard Hipp
On Thu, Feb 16, 2012 at 6:37 AM, Leo Razoumov wrote: > Very recently fossil_getenv function was introduced as a wrapper > around standard getenv to get Unicode right. > In file.c: > > /* > ** Return the value of an environment variable as UTF8. > */ > char *fossil_getenv(const char *zName){ > ch

Re: [fossil-users] memory leak using fossil_getenv and fossil_mbcs_to_utf8

2012-02-16 Thread Leo Razoumov
2012/2/16 Lluís Batlle i Rossell : > On Thu, Feb 16, 2012 at 07:09:22AM -0500, Leo Razoumov wrote: >> 2012/2/16 Lluís Batlle i Rossell : >> > On Thu, Feb 16, 2012 at 06:37:49AM -0500, Leo Razoumov wrote: >> >> In Unix it returns pointer pointing into actual environment (should >> >> not be modified

Re: [fossil-users] memory leak using fossil_getenv and fossil_mbcs_to_utf8

2012-02-16 Thread Lluís Batlle i Rossell
On Thu, Feb 16, 2012 at 07:09:22AM -0500, Leo Razoumov wrote: > 2012/2/16 Lluís Batlle i Rossell : > > On Thu, Feb 16, 2012 at 06:37:49AM -0500, Leo Razoumov wrote: > >> In Unix it returns pointer pointing into actual environment (should > >> not be modified or deallocated). In Windows, on the othe

Re: [fossil-users] memory leak using fossil_getenv and fossil_mbcs_to_utf8

2012-02-16 Thread Leo Razoumov
2012/2/16 Lluís Batlle i Rossell : > On Thu, Feb 16, 2012 at 06:37:49AM -0500, Leo Razoumov wrote: >> In Unix it returns pointer pointing into actual environment (should >> not be modified or deallocated). In Windows, on the other hand, >> fossil_mbcs_to_utf8 allocates memory via sqlite3_malloc. Th

Re: [fossil-users] memory leak using fossil_getenv and fossil_mbcs_to_utf8

2012-02-16 Thread Lluís Batlle i Rossell
On Thu, Feb 16, 2012 at 06:37:49AM -0500, Leo Razoumov wrote: > In Unix it returns pointer pointing into actual environment (should > not be modified or deallocated). In Windows, on the other hand, > fossil_mbcs_to_utf8 allocates memory via sqlite3_malloc. This memory > is not and cannot not be fre

[fossil-users] memory leak using fossil_getenv and fossil_mbcs_to_utf8

2012-02-16 Thread Leo Razoumov
Very recently fossil_getenv function was introduced as a wrapper around standard getenv to get Unicode right. In file.c: /* ** Return the value of an environment variable as UTF8. */ char *fossil_getenv(const char *zName){ char *zValue = getenv(zName); #ifdef _WIN32 if( zValue ) zValue = fossi