Re: [fossil-users] skins not always showing properly
Hi Tomek, Yes, I did a refresh (pressing F5 in FF) to have the new skin choice activated. The same way I did for the other skin choice (that do work as expected). And ok, I understand why anonymous cannot register tickets anymore. PS: I choose to get a daily digest of this mailing list, and I was unable to reply from that digest email. That's why the original posts are not in this answer. I changed that setting now. -- Johan Samyn ___ "Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." - Antoine de Saint-Exupery ___ 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] skins not always showing properly
Quick check: did you make sure to do a hard refresh of the page in a browser to ensure that the CSS was reloaded properly? As for the ticket system, for several reasons anonymous users do not have the right to post tickets. So although you went to the right url, you don't actually have permissions to post a ticket. The workflow now is to email the list first, and then if the error can be reproduced, it will be filed by devs. Tomek On Mon, Jan 23, 2012 at 4:31 PM, Johan Samyn wrote: > Hi, > > I downloaded the Windows binary fossil-w32-20111213135356.zip, and > experienced a cosmetic issue with it. > In the 2 repos I already had created with an earlier version, choosing > either the "Black & White, Menu on left" or the "Gradient, Rounded > Corners" skin both times produced the "Black & White, Menu on left" look. > I then cloned the fossil repo itself, and there I saw that choosing > either one of the two skins mentioned above now rendered as the > "Gradient, Rounded Corners" both times. > Bit strange, no ? Anybody any clue as to what is the cause - and even > better, the solution - to this ? > > > PS: > I mention this via the mailing list because I was unable to register a > new ticket, though I was logged in as anonymous, which should be able to > do that if I'm right. The "www.fossil-scm.org" is the right url to do > that, isn't it ? So this is rather two tickets in one email. > > -- > Johan Samyn > ___ > "Perfection is achieved, not when there is nothing more to add, > but when there is nothing left to take away." > - Antoine de Saint-Exupery > > ___ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] skins not always showing properly
Hi, I downloaded the Windows binary fossil-w32-20111213135356.zip, and experienced a cosmetic issue with it. In the 2 repos I already had created with an earlier version, choosing either the "Black & White, Menu on left" or the "Gradient, Rounded Corners" skin both times produced the "Black & White, Menu on left" look. I then cloned the fossil repo itself, and there I saw that choosing either one of the two skins mentioned above now rendered as the "Gradient, Rounded Corners" both times. Bit strange, no ? Anybody any clue as to what is the cause - and even better, the solution - to this ? PS: I mention this via the mailing list because I was unable to register a new ticket, though I was logged in as anonymous, which should be able to do that if I'm right. The "www.fossil-scm.org" is the right url to do that, isn't it ? So this is rather two tickets in one email. -- Johan Samyn ___ "Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." - Antoine de Saint-Exupery ___ 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] Skins
I'm out of commission on this temporarily since I've been bitten by the upgrade bug and am now in reinstallation Hell. On 26 July 2010 03:20, Richard Hipp wrote: > > > On Sun, Jul 25, 2010 at 1:25 PM, Zed A. Shaw wrote: > >> On Sun, Jul 25, 2010 at 07:39:28PM +0800, Michael Richter wrote: >> > Looking more into the skinning issue, it looks to me like the file >> skins.c >> > contains a bunch of stuff that could be generated trivially from a >> script of >> > some sort. Is there any interest in me making the skinning system more >> > flexible so it's easier to add a new skin by basically just checking in >> > three files under a new directory? The idea would be something like >> this: >> >> I think that'd work at first, but just to be clear, this means that you >> can only change the look of a fossil site by recompiling the binary >> right? A more useful solution would one that doesn't require a >> recompile. >> > > You can always customize a skin, just as you do now. I think the idea is > that there are more built-in prepackaged skins that you can use as starting > points or templates. Only the built-ins are compiled in. > > Use the "fossil configuration export skin" command to export a file > containing a skin for export to others. Or "fossil configuration import" to > start using a skin previously exported by somebody else. > > >> >> >> -- >> >> Zed A. Shaw >> http://zedshaw.com/ >> ___ >> fossil-users mailing list >> fossil-users@lists.fossil-scm.org >> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users >> > > > > -- > - > D. Richard Hipp > d...@sqlite.org > > ___ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > -- "Perhaps people don't believe this, but throughout all of the discussions of entering China our focus has really been what's best for the Chinese people. It's not been about our revenue or profit or whatnot." --Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra. ___ 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] Skins
On Sun, Jul 25, 2010 at 1:25 PM, Zed A. Shaw wrote: > On Sun, Jul 25, 2010 at 07:39:28PM +0800, Michael Richter wrote: > > Looking more into the skinning issue, it looks to me like the file > skins.c > > contains a bunch of stuff that could be generated trivially from a script > of > > some sort. Is there any interest in me making the skinning system more > > flexible so it's easier to add a new skin by basically just checking in > > three files under a new directory? The idea would be something like > this: > > I think that'd work at first, but just to be clear, this means that you > can only change the look of a fossil site by recompiling the binary > right? A more useful solution would one that doesn't require a > recompile. > You can always customize a skin, just as you do now. I think the idea is that there are more built-in prepackaged skins that you can use as starting points or templates. Only the built-ins are compiled in. Use the "fossil configuration export skin" command to export a file containing a skin for export to others. Or "fossil configuration import" to start using a skin previously exported by somebody else. > > > -- > Zed A. Shaw > http://zedshaw.com/ > ___ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > -- - D. Richard Hipp d...@sqlite.org ___ 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] Skins
On Sun, Jul 25, 2010 at 07:39:28PM +0800, Michael Richter wrote: > Looking more into the skinning issue, it looks to me like the file skins.c > contains a bunch of stuff that could be generated trivially from a script of > some sort. Is there any interest in me making the skinning system more > flexible so it's easier to add a new skin by basically just checking in > three files under a new directory? The idea would be something like this: I think that'd work at first, but just to be clear, this means that you can only change the look of a fossil site by recompiling the binary right? A more useful solution would one that doesn't require a recompile. -- Zed A. Shaw http://zedshaw.com/ ___ 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] Skins
On Sun, Jul 25, 2010 at 7:39 AM, Michael Richter wrote: > Looking more into the skinning issue, it looks to me like the file skins.c > contains a bunch of stuff that could be generated trivially from a script of > some sort. Is there any interest in me making the skinning system more > flexible so it's easier to add a new skin by basically just checking in > three files under a new directory? The idea would be something like this: > > > | ... > +- skins > | | > | +- skinname1 > | | | > | | +- skininfo.txt > | | | > | | +- style.css > | | | > | | +- header.html > | | | > | | +- footer.html > | | > | +- skinname2 > | ... > > Then inside src would be a utility like translate that walks over all the > subdirectories of ./skins, grabs the explanatory information from > skininfo.txt, grabs the style, header and footer code and builds skins.c > exactly as it is now (but with more skins, naturally) before translate is > run on it and fossil as a whole is built. > Please do so. If the translator is written in C (ex: translate.c, makeheaders.c, mkindex.c) then that would be best. Simply integrate the translator into the makefile. If the translator requires a script language, which might not be installed on the target machine, than arrange for the translator to be run separately and the output file (skinsdata.c?) checked in to the Fossil repository, just as the "makemake.tcl" script generates the "main.mk" makefile. Fossil already links against zlib. So you might as well compress the content and store it as an array of unsigned chars. That will help keep the standalone executable smaller as we accumulate more skins. For development purposes, it would be nice to have a command-line option to force the use of one of your skin folders: fossil server -skin skins/test-skin-one That way, designers could edit the CSS, header, and footer files in the specified directory and immediately see the result simply by clicking the "Reload" button on their browser, without having to go through a recompile process. Another idea would be to write a read-only virtual table for SQLite that allowed us to read the skins using SQL statements. That way, the user-defined skins stored in the repository database and the built-in skins compiled into the code could be managed all by the same SQL statements in the display logic. Please check-in your changes into a branch for the time being. We'll move them over to the trunk once we settle on a final solution - we'll probably need to iterate a few times first. > > The advantage to this system is that people can add new skins easily, > without any C hacking, by simply providing four files under a subdirectory > of ./skins: > >- skininfo.txt provides the name of the skin, a brief description and >(optionally) the name of the author. >- style.css, header.html and footer.html just do what their respective >sections in skins.c do. > > A further advantage is that people unfamiliar with C won't accidentally > insert subtle, hard-to-catch bugs. > > -- > "Perhaps people don't believe this, but throughout all of the discussions > of entering China our focus has really been what's best for the Chinese > people. It's not been about our revenue or profit or whatnot." > --Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra. > > ___ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > -- - D. Richard Hipp d...@sqlite.org ___ 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] Skins
I guess your proposal is related to the ticket I filed here: http://fossil-scm.org/index.html/tktview?name=49395d4e70 Although it looks like the proposal is moving towards a templating system I believe it will make changes easier. Right now people have to submit patches of C code for trivial UI changes. If HTML fragments can be assembled into C files in a pre build step (maybe even the HTML that currently isn't in a skin like the stuff in report.c, attach.c and others) the source would be a lot easier to read. regards, Peter ___ 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] Skins
On Sun, Jul 25, 2010 at 13:39, Michael Richter wrote: > Is there any interest in me making the skinning system more > flexible so it's easier to add a new skin by basically just checking in > three files under a new directory? The idea would be something like this: That would be brilliant! As you say it would allow people like me to contribute without messing up the software itself. Is there a way to move the other markup fragments apart from header and footer to external files as well? /Peter ___ 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] Skins
Looking more into the skinning issue, it looks to me like the file skins.c contains a bunch of stuff that could be generated trivially from a script of some sort. Is there any interest in me making the skinning system more flexible so it's easier to add a new skin by basically just checking in three files under a new directory? The idea would be something like this: | ... +- skins | | | +- skinname1 | | | | | +- skininfo.txt | | | | | +- style.css | | | | | +- header.html | | | | | +- footer.html | | | +- skinname2 | ... Then inside src would be a utility like translate that walks over all the subdirectories of ./skins, grabs the explanatory information from skininfo.txt, grabs the style, header and footer code and builds skins.c exactly as it is now (but with more skins, naturally) before translate is run on it and fossil as a whole is built. The advantage to this system is that people can add new skins easily, without any C hacking, by simply providing four files under a subdirectory of ./skins: - skininfo.txt provides the name of the skin, a brief description and (optionally) the name of the author. - style.css, header.html and footer.html just do what their respective sections in skins.c do. A further advantage is that people unfamiliar with C won't accidentally insert subtle, hard-to-catch bugs. -- "Perhaps people don't believe this, but throughout all of the discussions of entering China our focus has really been what's best for the Chinese people. It's not been about our revenue or profit or whatnot." --Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] Skins
The skins available in the default build of fossil seem to be mislabelled. When I select the one labelled "plain grey, no logo", I get a plain grey theme with a big lighter-grey box that occupies 3/4 of the top (left-aligned) with a logo in the middle. "khaki, no logo" is what it says on the box. "Black & white, menu on the left" is as well, except it doesn't mention not having a logo. It doesn't have a logo, however. Also, weren't there more skins than these three contributed? Zed Shaw referred to a "wedding white" that I've seen mentioned before but I'm not seeing it. I'm sure there were others. -- "Perhaps people don't believe this, but throughout all of the discussions of entering China our focus has really been what's best for the Chinese people. It's not been about our revenue or profit or whatnot." --Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra. ___ 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] skins selection mis-behaving
Anyone know the SQL command to get all the tickets data from a database. I guess I would then need to SQL command to import those same tickets into a newly created fossil repository. On Mon, 08 Mar 2010 09:29:43 -0500, D. Richard Hipp wrote: > > On Mar 7, 2010, at 11:42 PM, Rodney Malone wrote: > >> I was just trying out the latest snapshot of Fossil and ran into a >> small quirk that might cause a headache for someone. > > Thanks for pointing this out. The problem is now fixed. The previous > release cancelled and a new release is now available on the website. > > The new release also includes changes that makes the "File" menu show > only files in the latest check-in. > >> >> Fossil Version: [10989b5c42] 2010-03-06 19:21:10 UTC >> Platform: XP Home SP3 >> Browser: Firefox/3.6 >> >> When selecting a new skin, the page format becomes garbled, in some >> cases an error string appears in a heading saying: >> ERROR: wrong # args: should be "puts STRING" >> >> To reproduce this bad behavior: (very repeatable) >> >> *** Create a new repository -> >> fossil new test.fossil >> >> *** Start ui/server -> >> fossil ui test.fossil >> >> >> *** Browse to -> >> http://127.0.0.1:8080/setup_skin >> >> *** Select -> >> Plain Gray, No Logo. [Use This Skin] >> >> At this point the page is garbled. Presumably either the CSS or the >> header is overwritten incorrectly. The default skin can be >> re-selected and the screen refreshed and the proper formatted page >> will re-appear. >> >> Version [4f24addea9] 2009-12-20 21:34:51 UTC does NOT display this >> behavior. >> >> Just thought you should know. >> >> Thanks for an awesome program. >> >> RM >> >> >> >> ___ >> fossil-users mailing list >> fossil-users@lists.fossil-scm.org >> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > D. Richard Hipp > d...@hwaci.com > > > > ___ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > ___ 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] skins selection mis-behaving
On Mar 7, 2010, at 11:42 PM, Rodney Malone wrote: > I was just trying out the latest snapshot of Fossil and ran into a > small quirk that might cause a headache for someone. Thanks for pointing this out. The problem is now fixed. The previous release cancelled and a new release is now available on the website. The new release also includes changes that makes the "File" menu show only files in the latest check-in. > > Fossil Version: [10989b5c42] 2010-03-06 19:21:10 UTC > Platform: XP Home SP3 > Browser: Firefox/3.6 > > When selecting a new skin, the page format becomes garbled, in some > cases an error string appears in a heading saying: > ERROR: wrong # args: should be "puts STRING" > > To reproduce this bad behavior: (very repeatable) > > *** Create a new repository -> > fossil new test.fossil > > *** Start ui/server -> > fossil ui test.fossil > > > *** Browse to -> > http://127.0.0.1:8080/setup_skin > > *** Select -> > Plain Gray, No Logo. [Use This Skin] > > At this point the page is garbled. Presumably either the CSS or the > header is overwritten incorrectly. The default skin can be > re-selected and the screen refreshed and the proper formatted page > will re-appear. > > Version [4f24addea9] 2009-12-20 21:34:51 UTC does NOT display this > behavior. > > Just thought you should know. > > Thanks for an awesome program. > > RM > > > > ___ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users D. Richard Hipp d...@hwaci.com ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] skins selection mis-behaving
I was just trying out the latest snapshot of Fossil and ran into a small quirk that might cause a headache for someone. Fossil Version: [10989b5c42] 2010-03-06 19:21:10 UTC Platform: XP Home SP3 Browser: Firefox/3.6 When selecting a new skin, the page format becomes garbled, in some cases an error string appears in a heading saying: ERROR: wrong # args: should be "puts STRING" To reproduce this bad behavior: (very repeatable) *** Create a new repository -> fossil new test.fossil *** Start ui/server -> fossil ui test.fossil *** Browse to -> http://127.0.0.1:8080/setup_skin *** Select -> Plain Gray, No Logo. [Use This Skin] At this point the page is garbled. Presumably either the CSS or the header is overwritten incorrectly. The default skin can be re-selected and the screen refreshed and the proper formatted page will re-appear. Version [4f24addea9] 2009-12-20 21:34:51 UTC does NOT display this behavior. Just thought you should know. Thanks for an awesome program. RM ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users