Re: [fossil-users] looking for interesting new fossil skins

2014-02-18 Thread Samuel Debionne
Hello Stephan,

 Yep adding data-* is not that straightforward… If you want I can try
 to create a patch with that functionality alone (a subset of the
 diff I send you earlier).
 
 Yes, please.

Here you go !

For the records, this patch enables the use of data-* attributes in the
Fossil wiki parser.

Samuel
--- src/wikiformat.c
+++ src/wikiformat.c
@@ -46,28 +46,29 @@
 #define ATTR_CLASS  7
 #define ATTR_CLEAR  8
 #define ATTR_COLOR  9
 #define ATTR_COLSPAN10
 #define ATTR_COMPACT11
-#define ATTR_FACE   12
-#define ATTR_HEIGHT 13
-#define ATTR_HREF   14
-#define ATTR_HSPACE 15
-#define ATTR_ID 16
-#define ATTR_LINKS  17
-#define ATTR_NAME   18
-#define ATTR_ROWSPAN19
-#define ATTR_SIZE   20
-#define ATTR_SRC21
-#define ATTR_START  22
-#define ATTR_STYLE  23
-#define ATTR_TARGET 24
-#define ATTR_TYPE   25
-#define ATTR_VALIGN 26
-#define ATTR_VALUE  27
-#define ATTR_VSPACE 28
-#define ATTR_WIDTH  29
+#define ATTR_DATA   12
+#define ATTR_FACE   13
+#define ATTR_HEIGHT 14
+#define ATTR_HREF   15
+#define ATTR_HSPACE 16
+#define ATTR_ID 17
+#define ATTR_LINKS  18
+#define ATTR_NAME   19
+#define ATTR_ROWSPAN20
+#define ATTR_SIZE   21
+#define ATTR_SRC22
+#define ATTR_START  23
+#define ATTR_STYLE  24
+#define ATTR_TARGET 25
+#define ATTR_TYPE   26
+#define ATTR_VALIGN 27
+#define ATTR_VALUE  28
+#define ATTR_VSPACE 29
+#define ATTR_WIDTH  30
 #define AMSK_ALIGN  0x0001
 #define AMSK_ALT0x0002
 #define AMSK_BGCOLOR0x0004
 #define AMSK_BORDER 0x0008
 #define AMSK_CELLPADDING0x0010
@@ -75,28 +76,30 @@
 #define AMSK_CLASS  0x0040
 #define AMSK_CLEAR  0x0080
 #define AMSK_COLOR  0x0100
 #define AMSK_COLSPAN0x0200
 #define AMSK_COMPACT0x0400
-#define AMSK_FACE   0x0800
-#define AMSK_HEIGHT 0x1000
-#define AMSK_HREF   0x2000
-#define AMSK_HSPACE 0x4000
-#define AMSK_ID 0x8000
-#define AMSK_LINKS  0x0001
-#define AMSK_NAME   0x0002
-#define AMSK_ROWSPAN0x0004
-#define AMSK_SIZE   0x0008
-#define AMSK_SRC0x0010
-#define AMSK_START  0x0020
-#define AMSK_STYLE  0x0040
-#define AMSK_TARGET 0x0080
-#define AMSK_TYPE   0x0100
-#define AMSK_VALIGN 0x0200
-#define AMSK_VALUE  0x0400
-#define AMSK_VSPACE 0x0800
-#define AMSK_WIDTH  0x1000
+#define AMSK_DATA   0x0800
+#define AMSK_FACE   0x1000
+#define AMSK_HEIGHT 0x2000
+#define AMSK_HREF   0x4000
+#define AMSK_HSPACE 0x8000
+#define AMSK_ID 0x0001
+#define AMSK_LINKS  0x0002
+#define AMSK_NAME   0x0004
+#define AMSK_ROWSPAN0x0008
+#define AMSK_SIZE   0x0010
+#define AMSK_SRC0x0020
+#define AMSK_START  0x0040
+#define AMSK_STYLE  0x0080
+#define AMSK_TARGET 0x0100
+#define AMSK_TYPE   0x0200
+#define AMSK_VALIGN 0x0400
+#define AMSK_VALUE  0x0800
+#define AMSK_VSPACE 0x1000
+#define AMSK_WIDTH  0x2000
+
 
 static const struct AllowedAttribute {
   const char *zName;
   unsigned int iMask;
 } aAttribute[] = {
@@ -110,10 +113,11 @@
   { class, AMSK_CLASS,  },
   { clear, AMSK_CLEAR,  },
   { color, AMSK_COLOR,  },
   { colspan,   AMSK_COLSPAN,},
   { compact,   AMSK_COMPACT,},
+  { data,  AMSK_DATA,   },  
   { face,  AMSK_FACE,   },
   { height,AMSK_HEIGHT, },
   { href,  AMSK_HREF,   },
   { hspace,AMSK_HSPACE, },
   { id,AMSK_ID, },
@@ -739,10 +743,12 @@
   unsigned char iCode;/* MARKUP_* */
   unsigned char nAttr;/* Number of attributes */
   unsigned short iType;   /* MUTYPE_* */
   struct {
 unsigned char iACode;/* ATTR_* */
+char *zDataAttr; /* Data attribute name.  Might be NULL */
+char cTermAttr;  /* Original argument termination character */
 char *zValue;/* 

Re: [fossil-users] looking for interesting new fossil skins

2014-02-17 Thread Samuel Debionne
Hello Stephan,

Here is a short patch that removes the use of the nobr element which
has never been part of the standard. I have found that it is used solely
in stat.c to display the URL stats.
The fix is to replace nobr by span class=nobr and add span.nobr {
white-space: nowrap; } to the default CSS in style.c. The diff is
against the master branch.

The patch for data-* attributes should follow...
Samuel

Le 14/02/2014 16:49, Stephan Beal a écrit :
 On Fri, Feb 14, 2014 at 4:43 PM, Samuel Debionne
 samuel.debio...@ujf-grenoble.fr
 mailto:samuel.debio...@ujf-grenoble.fr wrote:
 
 Yep adding data-* is not that straightforward… If you want I can try
 to create a patch with that functionality alone (a subset of the
 diff I send you earlier).
 
 
 Yes, please.
  
 
 Something I noticed while hacking the wikiformat code is the use of
 div id='foo'/div id=‘foo' which is not valid HTML AFAIK. Closing
 tags should not have attributes right ?
 
 
 Correct. i'm not familiar enough with the parse to know why it's doing
 that off-hand, but will take a look (no promises!).
--- C:/Developpements/fossil/master/src/style.c Mon Feb 17 16:21:28 2014
+++ C:/Developpements/fossil/fossil-lthe/src/style.cMon Feb 17 16:24:20 2014
@@ -1191,6 +1190,10 @@
 odd table row color,
 @ /* Use default */
   },
+  { span.nobr,
+NOBR tags deprecated, use span class='nobr',
+@ white-space: nowrap;
+  },
   { #canvas, timeline graph node colors,
 @ color: black;
 @ background-color: white;
--- C:/Developpements/fossil/master/src/stat.c  Mon Feb 17 16:21:28 2014
+++ C:/Developpements/fossil/fossil-lthe/src/stat.c Wed Jan 29 15:16:12 2014
@@ -18,7 +18,6 @@
 ** This file contains code to implement the stat web page
 **
 */
-#include VERSION.h
 #include config.h
 #include string.h
 #include stat.h
@@ -262,7 +261,7 @@
   cnt = 0;
   while( db_step(q)==SQLITE_ROW ){
 @ trtd width='100%%'%h(db_column_text(q,0))/td
-@ tdnobr%h(db_column_text(q,1))/nobr/td/tr
+@ tdspan class='nobr'%h(db_column_text(q,1))/span/td/tr
 cnt++;
   }
   db_finalize(q);
@@ -277,7 +276,7 @@
   cnt = 0;
   while( db_step(q)==SQLITE_ROW ){
 @ trtd width='100%%'%h(db_column_text(q,0))/td
-@ tdnobr%h(db_column_text(q,1))/nobr/td/tr
+@ tdspan class='nobr'%h(db_column_text(q,1))/span/td/tr
 cnt++;
   }
   db_finalize(q);
___
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] looking for interesting new fossil skins

2014-02-14 Thread Samuel Debionne
Hi Stephen,

I have made a skin using Twitter Bootstrap CSS that looks quite good
IMHO (responsive layout and all). Actually this is a bit more involving
than just using the skin, it requires patching the markup that is
generated by fossil a bit, something that I maintain in my private
branch (but I would love to have this in the master if acceptable !).
The patch mainly add classes (something that could be probalby done non
intruively using javascript) and change tables for divs when tables are
used for the layout.
I have also added the possibility to use raw HTML as a markup language
(which I used mostly for the home page where the layout is a bit more
complicated).
And extended the Wiki markup with newer HTML5 harmless markups used by
Bootstrap (think header, footer, address).

All my repositories are hosted behind a firewall right now, but if you
want a quick overview I made a static copy one of them here :

http://www.lthe.fr/pageperso/debionne/fossil-static/repo/sdmtk/home.html

If that is of any interest, my latest merge on 1.28 is available here :

http://www.lthe.fr/pageperso/debionne/software/fossil-src-20140127173344.tar.gz

Mostly cosmetic things but if you want to make fossil even more
beautiful, I'm all in !
Samuel


Le 11/02/2014 15:42, Stephan Beal a écrit :
 Hi, all,
 
 i'm looking to clone someone's interesting fossil skin to snazz up my
 fossil repos a bit. Can any suggest a fossil repo with a nice skin?
 
 -- 
 - stephan beal
 http://wanderinghorse.net/home/stephan/
 http://gplus.to/sgbeal
 Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
 those who insist on a perfect world, freedom will have to do. -- Bigby Wolf
 
 
 ___
 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] looking for interesting new fossil skins

2014-02-14 Thread Remigiusz Modrzejewski

On 11 Feb 2014, at 19:42, Martijn Coppoolse li...@martijn.coppoolse.com wrote:

 Remigiusz Modrzejewski schreef op 11-2-2014 15:54:
 
 On 11 Feb 2014, at 15:42, Stephan Beal sgb...@googlemail.com wrote:
 
 i'm looking to clone someone's interesting fossil skin to snazz up my 
 fossil repos a bit. Can any suggest a fossil repo with a nice skin?
 
 I once stole a skin I like, see here:
 
 http://dev.lrem.net/p2pvsim2/timeline
 
 I stole a similar one too; it was originally less 'advanced' (e.g. no blue 
 background on mouseover of the menu items), which leads me to think that was 
 the original. It was located at codingrobots.com, but that site no longer 
 sports anything recognizable as fossil, though.
 And codingrobots.org redirects to a GitHub repo, so it looks as they've 
 switched SCM.

I think this is where I stole this one from.
I don’t think I have done any work on them, 
so I probably just got a newer version.

Kind regards,
Remigiusz Modrzejewski
___
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] looking for interesting new fossil skins

2014-02-14 Thread Thomas Bilk
Am 14.02.2014 11:02, schrieb Samuel Debionne:
 Hi Stephen,
 
 I have made a skin using Twitter Bootstrap CSS that looks quite good
 IMHO (responsive layout and all). Actually this is a bit more involving
 than just using the skin, it requires patching the markup that is
 generated by fossil a bit, something that I maintain in my private
 branch (but I would love to have this in the master if acceptable !).
 The patch mainly add classes (something that could be probalby done non
 intruively using javascript) and change tables for divs when tables are
 used for the layout.

Hi all.

The Skin looks really great. But ...
That is the problem with Twitter Bootstrap, you have to change the
markup to fit to the CSS. And that is plain wrong. There are solutions
that help with responsive and grid layouts like Neat
(http://neat.bourbon.io/) where the CSS is generated for the markup
(the right way around).

@Samuel: What parts of Bootstrap do you use? Is this the new V3?

Thomas.

 
 
 Le 11/02/2014 15:42, Stephan Beal a écrit :
 Hi, all,

 i'm looking to clone someone's interesting fossil skin to snazz up my
 fossil repos a bit. Can any suggest a fossil repo with a nice skin?

 -- 
 - stephan beal
 http://wanderinghorse.net/home/stephan/
 http://gplus.to/sgbeal
 Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
 those who insist on a perfect world, freedom will have to do. -- Bigby Wolf

 
 ___
 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] looking for interesting new fossil skins

2014-02-14 Thread Samuel Debionne
 The Skin looks really great. But ...
 That is the problem with Twitter Bootstrap, you have to change the
 markup to fit to the CSS. And that is plain wrong. There are solutions
 that help with responsive and grid layouts like Neat
 (http://neat.bourbon.io/) where the CSS is generated for the markup
 (the right way around).

Thanks for the head-up on Bourbon Neat. To mitigate your complaint
about Bootstrap, IMHO it also enforces good HTML markup practices. And
it's so simple to use ! After all I'm not a frontend developer... yet.

 @Samuel: What parts of Bootstrap do you use? Is this the new V3?

It's V2 (CSS + some javascript components (affix, scrollspy)). I'm using
V3.1 for other projects, the transition should be smooth.
attachment: samuel_debionne.vcf___
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] looking for interesting new fossil skins

2014-02-14 Thread Stephan Beal
On Fri, Feb 14, 2014 at 2:27 PM, Samuel Debionne 
samuel.debio...@ujf-grenoble.fr wrote:



  The setup page has a toggle to enable plain HTML.

 Yes but my mod enables plain HTML on a page basis just like you have
 Fossil Wiki, Markdown and Plain Text. This option bypass the wiki format
 code (and may be a security concern). A setup option could be added if


As far as security goes, HTML5 is basically (not quite entirely) married to
JavaScript, and scripts can insert any elements/attributes they want to.


 The data-* attributes are valid.
 article, aside, footer, header, nav, section elements are valid.


That sounds good to me. i'll clear this with Richard before changing it.

 http://www.fossil-scm.org/index.html/doc/trunk/www/copyright-release.html

 I'm not sure it falls in the non-trivial category ! Anyway Richard
 should have my contributor agreement already.


Great! Then you've already got an account or i will set you up with one
(which user name?).


-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do. -- Bigby Wolf
___
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] looking for interesting new fossil skins

2014-02-14 Thread Stephan Beal
On Fri, Feb 14, 2014 at 2:52 PM, Stephan Beal sgb...@googlemail.com wrote:


 article, aside, footer, header, nav, section elements are valid.


 That sounds good to me. i'll clear this with Richard before changing it.



Here you go:

http://www.fossil-scm.org/index.html/info/93dffb9147

i couldn't add data-* attributes (despite Richard's OK) because the
internal structure of the parser needs to know all full attribute names and
their integer IDs at compile-time (this makes it very fast, but useless for
dynamic data-* name lookups). But the requested elements were added
(address was already allowed) and are treated just like DIVs for purposes
of wiki parsing.

Please feel free to post us any new skin designs you do. i'd be
particularly interested to see what people are doing with
html5/JavaScript/fossil.

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do. -- Bigby Wolf
___
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] looking for interesting new fossil skins

2014-02-14 Thread Samuel Debionne
That was fast !

 i couldn't add data-* attributes (despite Richard's OK) because the internal 
 structure of the parser needs to know all full attribute names and their 
 integer IDs at compile-time (this makes it very fast, but useless for dynamic 
 data-* name lookups). But the requested elements were added (address was 
 already allowed) and are treated just like DIVs for purposes of wiki parsing.

Yep adding data-* is not that straightforward… If you want I can try to create 
a patch with that functionality alone (a subset of the diff I send you earlier).

Something I noticed while hacking the wikiformat code is the use of div 
id='foo'/div id=‘foo' which is not valid HTML AFAIK. Closing tags should not 
have attributes right ?
___
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] looking for interesting new fossil skins

2014-02-14 Thread Stephan Beal
On Fri, Feb 14, 2014 at 4:43 PM, Samuel Debionne 
samuel.debio...@ujf-grenoble.fr wrote:

 Yep adding data-* is not that straightforward... If you want I can try to
 create a patch with that functionality alone (a subset of the diff I send
 you earlier).


Yes, please.


 Something I noticed while hacking the wikiformat code is the use of div
 id='foo'/div id='foo' which is not valid HTML AFAIK. Closing tags should
 not have attributes right ?


Correct. i'm not familiar enough with the parse to know why it's doing that
off-hand, but will take a look (no promises!).

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do. -- Bigby Wolf
___
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] looking for interesting new fossil skins

2014-02-14 Thread Ron Wilson
On Fri, Feb 14, 2014 at 10:43 AM, Samuel Debionne 
samuel.debio...@ujf-grenoble.fr wrote:

 Something I noticed while hacking the wikiformat code is the use of div
 id='foo'/div id='foo' which is not valid HTML AFAIK. Closing tags should
 not have attributes right ?


Technically, closing tags do not have attributes, but HTML parsers are
supposed to tolerate and ignore them. Practically, certain attributes, like
id, can increase readability when placed in closing tags. Much like putting
comments after }, #else and #endif to help identify the  the corresponding
{ or #if.
___
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] looking for interesting new fossil skins

2014-02-14 Thread Samuel Debionne

 Technically, closing tags do not have attributes, but HTML parsers are 
 supposed to tolerate and ignore them. Practically, certain attributes, like 
 id, can increase readability when placed in closing tags. Much like putting 
 comments after }, #else and #endif to help identify the  the corresponding { 
 or #if.

I didn’t known that. That said, the wiki parser seems to have a special 
behavior with matching div id=‘foo’/div id=‘foo’ that I cannot remember off 
the top of my head. And div elements are filtered in the current wiki format.
___
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] looking for interesting new fossil skins

2014-02-13 Thread Matt Welland
Hmmm I thought I could just do a fossil config pull skin to get these
but that seems not to be sufficient. What are the steps to clone a skin?


On Wed, Feb 12, 2014 at 12:40 AM, Baptiste Daroussin 
baptiste.darous...@gmail.com wrote:

 I have also stolen long ago the google code like theme and has adapted
 it a bit:
 - timeline is showing raw logs (because we do multiline commit logs -
 btw I can't get the cli timeline respecting multiline commits log :()
 - the tree view is default and has icons (stolen from openclipart as well)
 which makes it better integrated in the global theme)

 https://fossil.etoilebsd.net/poudriere

 regards,
 Bapt


 2014-02-11 21:36 GMT+01:00 Stephan Beal sgb...@googlemail.com:

 On Tue, Feb 11, 2014 at 7:42 PM, Martijn Coppoolse 
 li...@martijn.coppoolse.com wrote:

 Another one I liked is this one:
 http://projects.depar.is/divers/

 It's based on GitHub's style, as the one above is based on Google Code's
 style. :-)


 Oooo, i like that one, too, but Google Code sits fonder in my memory than
 git-anything ;), so i'm sticking with the bluish one for now.

 Sidebar: i (re)discovered today that (fossil config export skin) exports
 the index-page setting and imports it on (fossil config import). index-page
 apparently cannot be set via the CLI, meaning that manual GUI intervention
 is needed when importing the config to a repo which has a different index
 page name (as most do). i find copying this option as part of the skin to
 be somewhat arguable (though a use case for it could certainly present
 itself)./Sidebar

 --
 - stephan beal
 http://wanderinghorse.net/home/stephan/
 http://gplus.to/sgbeal
 Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
 those who insist on a perfect world, freedom will have to do. -- Bigby Wolf

 ___
 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




-- 
Matt
-=-
90% of the nations wealth is held by 2% of the people. Bummer to be in the
majority...
___
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] looking for interesting new fossil skins

2014-02-13 Thread Stephan Beal
On Thu, Feb 13, 2014 at 6:07 PM, Matt Welland estifo...@gmail.com wrote:

 Hmmm I thought I could just do a fossil config pull skin to get
 these but that seems not to be sufficient. What are the steps to clone a
 skin?


conf pull skin pulls not only the CSS but also the index page name, so i've
reverted to this script for mass-injecting my preferred skin:

#!/bin/bash
fsrc=$1
fdest=$2

[[ -f $fsrc ]]  [[ -f $fdest ]] || {
echo Usage: $0 SRC_REPO DEST_REPO 12
exit 1
}
cat EOF | sqlite3
ATTACH '$fsrc' AS src;
ATTACH '$fdest' AS dest;
REPLACE INTO dest.config(name,value)
   SELECT name, value FROM src.config
   WHERE name IN ('css','header','footer')
;
EOF
exit $?


-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do. -- Bigby Wolf
___
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] looking for interesting new fossil skins

2014-02-13 Thread Richard Hipp
On Thu, Feb 13, 2014 at 12:09 PM, Stephan Beal sgb...@googlemail.comwrote:

 On Thu, Feb 13, 2014 at 6:07 PM, Matt Welland estifo...@gmail.com wrote:

 Hmmm I thought I could just do a fossil config pull skin to get
 these but that seems not to be sufficient. What are the steps to clone a
 skin?


 conf pull skin pulls not only the CSS but also the index page name, so
 i've reverted to this script for mass-injecting my preferred skin:


Do we need to change config pull skin so that it omits the index page
name?

Or, maybe rig config pull skin so that it will accept a URL for a
repository with a different project code, but only pull the index page name
if the project code is the same?


-- 
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] looking for interesting new fossil skins

2014-02-13 Thread Richard Hipp
On Thu, Feb 13, 2014 at 2:18 PM, Stephan Beal sgb...@googlemail.com wrote:

 On Thu, Feb 13, 2014 at 7:52 PM, Richard Hipp d...@sqlite.org wrote:

 Do we need to change config pull skin so that it omits the index page
 name?


 i'd vote for that, or a flag for it.



Huh.  Apparently you can already do config pull css.  What else other
than the CSS file needs to be brought over to move a look from one repo
to another?

I don't think you necessarily want header and footer, since those can be
customized to a project.  (I know that I typically do customize headers and
footers.)  And you don't want to bring over the logo or background image or
the ad unit setup.  What else is there that is considered part of the
portable skin?

-- 
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] looking for interesting new fossil skins

2014-02-13 Thread Stephan Beal
On Thu, Feb 13, 2014 at 8:24 PM, Richard Hipp d...@sqlite.org wrote:

 Huh.  Apparently you can already do config pull css.  What else other
 than the CSS file needs to be brought over to move a look from one repo
 to another?


Didn't know that. In my case i pulled (css,header,footer), but i don't know
if that's generically the right thing to do.


 I don't think you necessarily want header and footer, since those can be
 customized to a project.  (I know that I typically do customize headers and
 footers.)  And you don't want to bring over the logo or background image or
 the ad unit setup.  What else is there that is considered part of the
 portable skin?


i always go imageless and adless, so those don't bother me, but yeah, they
should probably be included in the skin.

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do. -- Bigby Wolf
___
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] looking for interesting new fossil skins

2014-02-12 Thread Stephan Beal
On Wed, Feb 12, 2014 at 8:40 AM, Baptiste Daroussin 
baptiste.darous...@gmail.com wrote:

 I have also stolen long ago the google code like theme and has adapted
 it a bit:
 - timeline is showing raw logs (because we do multiline commit logs -
 btw I can't get the cli timeline respecting multiline commits log :()


That timeline looks pretty nice in multi-line mode. IIRC the CLI does not
have any option to specially handle multi-line commit messages.


 - the tree view is default and has icons (stolen from openclipart as well)
 which makes it better integrated in the global theme)


That also looks nice. i'll have to study your CSS to see how to do that.

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do. -- Bigby Wolf
___
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] looking for interesting new fossil skins

2014-02-12 Thread Baptiste Daroussin
The timeline does not support multi-line commit message, I sent the patch
for the web version of the time line as well as the info page that you
integrated, but I was never able to figure out how to do the same with the
the timeline cli.

For the command line I always messed up in the way I count the numbers of
char in multi-line mode so my patched version always end up with a mangled
indentation in timeline.


2014-02-12 12:50 GMT+01:00 Stephan Beal sgb...@googlemail.com:

 On Wed, Feb 12, 2014 at 8:40 AM, Baptiste Daroussin 
 baptiste.darous...@gmail.com wrote:

 I have also stolen long ago the google code like theme and has adapted
 it a bit:
 - timeline is showing raw logs (because we do multiline commit logs -
 btw I can't get the cli timeline respecting multiline commits log :()


  That timeline looks pretty nice in multi-line mode. IIRC the CLI does not
 have any option to specially handle multi-line commit messages.


  - the tree view is default and has icons (stolen from openclipart as
 well) which makes it better integrated in the global theme)


 That also looks nice. i'll have to study your CSS to see how to do that.

 --
 - stephan beal
 http://wanderinghorse.net/home/stephan/
 http://gplus.to/sgbeal
 Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
 those who insist on a perfect world, freedom will have to do. -- Bigby Wolf

 ___
 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] looking for interesting new fossil skins

2014-02-12 Thread Andy Bradford
Thus said Baptiste Daroussin on Wed, 12 Feb 2014 08:40:37 +0100:

 I  have also  stolen long  ago the  google code  like theme  and has
 adapted it a bit:

Is it intentional for all these ``google code'' look alikes to leave out
a background color?

Andy
-- 
TAI64 timestamp: 400052fc4dbf


___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] looking for interesting new fossil skins

2014-02-11 Thread Stephan Beal
Hi, all,

i'm looking to clone someone's interesting fossil skin to snazz up my
fossil repos a bit. Can any suggest a fossil repo with a nice skin?

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do. -- Bigby Wolf
___
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] looking for interesting new fossil skins

2014-02-11 Thread Remigiusz Modrzejewski

On 11 Feb 2014, at 15:42, Stephan Beal sgb...@googlemail.com wrote:

 i'm looking to clone someone's interesting fossil skin to snazz up my fossil 
 repos a bit. Can any suggest a fossil repo with a nice skin?

I once stole a skin I like, see here:

http://dev.lrem.net/p2pvsim2/timeline

Kind regards,
Remigiusz Modrzejewski

___
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] looking for interesting new fossil skins

2014-02-11 Thread Stephan Beal
On Tue, Feb 11, 2014 at 3:54 PM, Remigiusz Modrzejewski
l...@maxnet.org.plwrote:

 I once stole a skin I like, see here:

 http://dev.lrem.net/p2pvsim2/timeline


Very googlecode-ish! How's it look on me?

http://fossil.wanderinghorse.net/repos/libfossil/

(i need to change the /reports colors, though - they clash with your blue)

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do. -- Bigby Wolf
___
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] looking for interesting new fossil skins

2014-02-11 Thread Richard Hipp
On Tue, Feb 11, 2014 at 10:06 AM, Stephan Beal sgb...@googlemail.comwrote:

 On Tue, Feb 11, 2014 at 3:54 PM, Remigiusz Modrzejewski 
 l...@maxnet.org.pl wrote:

 I once stole a skin I like, see here:

 http://dev.lrem.net/p2pvsim2/timeline


 Very googlecode-ish! How's it look on me?

 http://fossil.wanderinghorse.net/repos/libfossil/



The tree-view (
http://fossil.wanderinghorse.net/repos/libfossil/index.cgi/dir?ci=tiptype=tree)
doesn't look quite right.



-- 
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] looking for interesting new fossil skins

2014-02-11 Thread Stephan Beal
On Tue, Feb 11, 2014 at 4:06 PM, Stephan Beal sgb...@googlemail.com wrote:

 On Tue, Feb 11, 2014 at 3:54 PM, Remigiusz Modrzejewski 
 l...@maxnet.org.pl wrote:

 I once stole a skin I like, see here:

 http://dev.lrem.net/p2pvsim2/timeline


 Very googlecode-ish! How's it look on me?

 http://fossil.wanderinghorse.net/repos/libfossil/


http://fossil.wanderinghorse.net/repos/cwal/index.cgi/wiki/cwal

Yeah, i like that one :). i've tweaked the header/footer layout a bit, but
that's all.

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do. -- Bigby Wolf
___
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] looking for interesting new fossil skins

2014-02-11 Thread Stephan Beal
On Tue, Feb 11, 2014 at 4:28 PM, Richard Hipp d...@sqlite.org wrote:

 The tree-view (
 http://fossil.wanderinghorse.net/repos/libfossil/index.cgi/dir?ci=tiptype=tree)
 doesn't look quite right.


i don't notice anything wrong with that particular link (but i'm new to the
new tree view), but i did notice notable bug:

- follow above link
- select/open a subdir (can't reproduce this from top-level files!)
- select a file
- see it's history
- click the Browser Back button (the bane of web apps everywhere)
- the dir reverts back to non-tree view

Maybe this is Chrome/Linux-specific.

The dir view seems to work just like it does on fossil-scm.org (i can also
reproduce this navigation weirdness there).

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do. -- Bigby Wolf
___
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] looking for interesting new fossil skins

2014-02-11 Thread Michai Ramakers
On 11 February 2014 16:35, Stephan Beal sgb...@googlemail.com wrote:
 On Tue, Feb 11, 2014 at 4:28 PM, Richard Hipp d...@sqlite.org wrote:

 (http://fossil.wanderinghorse.net/repos/libfossil/index.cgi/dir?ci=tiptype=tree)

 i don't notice anything wrong with that particular link (but i'm new to the
 new tree view), but i did notice notable bug:

 - follow above link
 - select/open a subdir (can't reproduce this from top-level files!)
 - select a file
 - see it's history
 - click the Browser Back button (the bane of web apps everywhere)
 - the dir reverts back to non-tree view

 Maybe this is Chrome/Linux-specific.

Hmm, Works For Me (Firefox 22.0 NetBSD), i.e. tree-view remains tree-view.

Michai
___
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] looking for interesting new fossil skins

2014-02-11 Thread Joel Bruick

Richard Hipp wrote:
The tree-view 
(http://fossil.wanderinghorse.net/repos/libfossil/index.cgi/dir?ci=tiptype=tree 
http://fossil.wanderinghorse.net/repos/libfossil/index.cgi/dir?ci=tiptype=tree) 
doesn't look quite right.


That skin sets top and bottom margins on all LI elements, which the 
tree-view CSS doesn't account for. I just fixed this in trunk.

___
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] looking for interesting new fossil skins

2014-02-11 Thread Stephan Beal
On Tue, Feb 11, 2014 at 4:58 PM, Michai Ramakers m.ramak...@gmail.comwrote:

 Hmm, Works For Me (Firefox 22.0 NetBSD), i.e. tree-view remains tree-view.


i see what's happening: clicking on a dir is modifying the URL (watch the
URL bar), removing the type=tree flag and the checkin ID. Then selecting a
file, then Back, is going back to that URL.

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do. -- Bigby Wolf
___
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] looking for interesting new fossil skins

2014-02-11 Thread Stephan Beal
On Tue, Feb 11, 2014 at 5:08 PM, Joel Bruick j...@joelface.com wrote:

 Richard Hipp wrote:

 The tree-view (http://fossil.wanderinghorse.
 net/repos/libfossil/index.cgi/dir?ci=tiptype=tree 
 http://fossil.wanderinghorse.net/repos/libfossil/index.cgi/
 dir?ci=tiptype=tree) doesn't look quite right.


 That skin sets top and bottom margins on all LI elements, which the
 tree-view CSS doesn't account for. I just fixed this in trunk.


Thanks! That trunk is now running with this shiny new theme here:

http://fossil.wanderinghorse.net/repos/libfossil/
http://fossil.wanderinghorse.net/repos/cwal/

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do. -- Bigby Wolf
___
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] looking for interesting new fossil skins

2014-02-11 Thread Andreas Kupries
There is also

http://fossil.include-once.org/fossil-skins/index

which seems to collect skins. Has not changed for a bit over a year now.



On Tue, Feb 11, 2014 at 8:13 AM, Stephan Beal sgb...@googlemail.com wrote:
 On Tue, Feb 11, 2014 at 5:08 PM, Joel Bruick j...@joelface.com wrote:

 Richard Hipp wrote:

 The tree-view
 (http://fossil.wanderinghorse.net/repos/libfossil/index.cgi/dir?ci=tiptype=tree
 http://fossil.wanderinghorse.net/repos/libfossil/index.cgi/dir?ci=tiptype=tree)
 doesn't look quite right.


 That skin sets top and bottom margins on all LI elements, which the
 tree-view CSS doesn't account for. I just fixed this in trunk.


 Thanks! That trunk is now running with this shiny new theme here:

 http://fossil.wanderinghorse.net/repos/libfossil/
 http://fossil.wanderinghorse.net/repos/cwal/

 --
 - stephan beal
 http://wanderinghorse.net/home/stephan/
 http://gplus.to/sgbeal
 Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
 those who insist on a perfect world, freedom will have to do. -- Bigby Wolf

 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users




-- 
Andreas Kupries
Senior Tcl Developer
Code to Cloud: Smarter, Safer, Faster(tm)
F: 778.786.1133
andre...@activestate.com
http://www.activestate.com
Learn about Stackato for Private PaaS: http://www.activestate.com/stackato

EuroTcl'2014, July 12-13, Munich, GER
___
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] looking for interesting new fossil skins

2014-02-11 Thread Martijn Coppoolse

Remigiusz Modrzejewski schreef op 11-2-2014 15:54:


On 11 Feb 2014, at 15:42, Stephan Beal sgb...@googlemail.com wrote:


i'm looking to clone someone's interesting fossil skin to snazz up my fossil 
repos a bit. Can any suggest a fossil repo with a nice skin?


I once stole a skin I like, see here:

http://dev.lrem.net/p2pvsim2/timeline


I stole a similar one too; it was originally less 'advanced' (e.g. no 
blue background on mouseover of the menu items), which leads me to think 
that was the original. It was located at codingrobots.com, but that site 
no longer sports anything recognizable as fossil, though.
And codingrobots.org redirects to a GitHub repo, so it looks as they've 
switched SCM.


Another one I liked is this one:
http://projects.depar.is/divers/

It's based on GitHub's style, as the one above is based on Google Code's 
style. :-)


--
Martijn Coppoolse
___
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] looking for interesting new fossil skins

2014-02-11 Thread Stephan Beal
On Tue, Feb 11, 2014 at 7:42 PM, Martijn Coppoolse 
li...@martijn.coppoolse.com wrote:

 Another one I liked is this one:
 http://projects.depar.is/divers/

 It's based on GitHub's style, as the one above is based on Google Code's
 style. :-)


Oooo, i like that one, too, but Google Code sits fonder in my memory than
git-anything ;), so i'm sticking with the bluish one for now.

Sidebar: i (re)discovered today that (fossil config export skin) exports
the index-page setting and imports it on (fossil config import). index-page
apparently cannot be set via the CLI, meaning that manual GUI intervention
is needed when importing the config to a repo which has a different index
page name (as most do). i find copying this option as part of the skin to
be somewhat arguable (though a use case for it could certainly present
itself)./Sidebar

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do. -- Bigby Wolf
___
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] looking for interesting new fossil skins

2014-02-11 Thread Baptiste Daroussin
I have also stolen long ago the google code like theme and has adapted it
a bit:
- timeline is showing raw logs (because we do multiline commit logs - btw
I can't get the cli timeline respecting multiline commits log :()
- the tree view is default and has icons (stolen from openclipart as well)
which makes it better integrated in the global theme)

https://fossil.etoilebsd.net/poudriere

regards,
Bapt


2014-02-11 21:36 GMT+01:00 Stephan Beal sgb...@googlemail.com:

 On Tue, Feb 11, 2014 at 7:42 PM, Martijn Coppoolse 
 li...@martijn.coppoolse.com wrote:

 Another one I liked is this one:
 http://projects.depar.is/divers/

 It's based on GitHub's style, as the one above is based on Google Code's
 style. :-)


 Oooo, i like that one, too, but Google Code sits fonder in my memory than
 git-anything ;), so i'm sticking with the bluish one for now.

 Sidebar: i (re)discovered today that (fossil config export skin) exports
 the index-page setting and imports it on (fossil config import). index-page
 apparently cannot be set via the CLI, meaning that manual GUI intervention
 is needed when importing the config to a repo which has a different index
 page name (as most do). i find copying this option as part of the skin to
 be somewhat arguable (though a use case for it could certainly present
 itself)./Sidebar

 --
 - stephan beal
 http://wanderinghorse.net/home/stephan/
 http://gplus.to/sgbeal
 Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
 those who insist on a perfect world, freedom will have to do. -- Bigby Wolf

 ___
 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