Re: [fossil-users] Fossil and tinymce integration
Rene de Zwart wrote: Twylite wrote Please no! TinyMCE is a bloated monstrosity and produces _horrible_ HTML. We're struggling to migrate an intranet system from Drupal to PmWiki on account of the terrible markup produced by TinyMCE. Well if you prefer xyz AND!! it has the same kind of interfacing as tinyMCE (e.g. recognizing text areas by name. Because the text areas doesn't have ids in fossil.) than the drill is exactly the same. My apologies -- I had thought there was a requirement to include TinyMCE with the fossil distribution (reading repository as repository of Fossil's own source). On re-reading in full I was clearly wrong ;) Regards, Twylite ___ 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] including diagrams in the Fossil wiki
Why doesn't the embeddeddoc.wiki show up in the list of all wiki pages? http://www.fossil-scm.org/index.html/wcontent RW Ron Wilson, Engineering Project Lead (o) 434.455.6453, (m) 434.851.1612, www.harris.com HARRIS CORPORATION | RF Communications Division assuredcommunications(tm) -Original Message- From: fossil-users-boun...@lists.fossil-scm.org [mailto:fossil-users- boun...@lists.fossil-scm.org] On Behalf Of Dmitry Chestnykh Sent: Wednesday, October 28, 2009 3:20 PM To: fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] including diagrams in the Fossil wiki You can address your commited images by using the /doc URL, e.g.: http://your_repository.url/doc/tip/image.gif See this link for more info: http://www.fossil-scm.org/index.html/doc/tip/www/embeddeddoc.wiki -- Dmitry Chestnykh Coding Robots http://www.codingrobots.com dmi...@codingrobots.com On 28.10.2009, at 20:38, Higham, Paul wrote: I started using Fossil last week for a project I am doing with one partner. I am starting to build up some design notes in the wiki hosted on my machine and I tried to include a diagram that I have created in .gif format. The Fossil wiki markup language provides for the img tag to be used but I have so far been unsuccessful in having our wiki find the image file. As I understand it the wiki pages are only contained in the repository so there's no point looking for an index.html file to displace from, so how do you anchor the search for image files that you want to include? I have committed the diagram image file into my local repository and I can see it if I follow the link on its artifact ID but I cannot post it on a wiki page. Is there a way to point at this from inside the repository? Paul Higham Senior Software Engineer Cardiac Rhythm Management Division St. Jude Medical 709 East Evelyn Avenue Sunnyvale, CA 95086 USA Tel +1 408 522 6225 phig...@sjm.com This communication, including any attachments, may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are hereby notified that you are not authorized to read, print, retain a copy of or disseminate any portion of this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please immediately notify the sender via return e-mail and delete it from your system. ___ 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 mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] including diagrams in the Fossil wiki
So the .wiki extension does not a wiki page make? Surprising. http://en.wikipedia.org/wiki/Principle_of_least_astonishment Ron Wilson, Engineering Project Lead (o) 434.455.6453, (m) 434.851.1612, www.harris.com HARRIS CORPORATION | RF Communications Division assuredcommunications(tm) -Original Message- From: fossil-users-boun...@lists.fossil-scm.org [mailto:fossil-users- boun...@lists.fossil-scm.org] On Behalf Of D. Richard Hipp Sent: Friday, October 30, 2009 10:17 AM To: fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] including diagrams in the Fossil wiki On Oct 30, 2009, at 9:50 AM, Wilson, Ronald wrote: Why doesn't the embeddeddoc.wiki show up in the list of all wiki pages? http://www.fossil-scm.org/index.html/wcontent Because it isn't a wiki page. It is embedded documentation. Wiki and embedded docs may use the same markup, but they are still different creatures. 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] including diagrams in the Fossil wiki
Would not a *file* extension tell you about the format of the *file* and not its *source*, keeping to the so-called principle of least astonishment? 2009/10/30 Wilson, Ronald rwils...@harris.com So the .wiki extension does not a wiki page make? Surprising. http://en.wikipedia.org/wiki/Principle_of_least_astonishment Ron Wilson, Engineering Project Lead (o) 434.455.6453, (m) 434.851.1612, www.harris.com HARRIS CORPORATION | RF Communications Division assuredcommunications(tm) -Original Message- From: fossil-users-boun...@lists.fossil-scm.org [mailto:fossil-users- boun...@lists.fossil-scm.org] On Behalf Of D. Richard Hipp Sent: Friday, October 30, 2009 10:17 AM To: fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] including diagrams in the Fossil wiki On Oct 30, 2009, at 9:50 AM, Wilson, Ronald wrote: Why doesn't the embeddeddoc.wiki show up in the list of all wiki pages? http://www.fossil-scm.org/index.html/wcontent Because it isn't a wiki page. It is embedded documentation. Wiki and embedded docs may use the same markup, but they are still different creatures. 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 ___ 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] including diagrams in the Fossil wiki
On Fri, 2009-10-30 at 10:27 -0400, Wilson, Ronald wrote: So the .wiki extension does not a wiki page make? Surprising. http://en.wikipedia.org/wiki/Principle_of_least_astonishment That just isn't the way the wiki in fossil works. Would you really expect .wiki files **anywhere they might be in the source tree** to create wiki pages that would all appear at the top (only) level of the wiki? What should fossil do about name conflicts? The principle of least astonishment is sounds like a good idea, but it's often the case that the most obvious (least surprising) behavior at first glance is actually impossible or undesirable once you think it through. -- Joshua Paine LetterBlock: Web applications built with joy http://letterblock.com/ 301-576-1920 ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] Finding out whether a file needs an update in C
Not sure whether last night's post made it - it isn't there on the archives. I need help with one thing. How can I figure out if a file needs an update (meaning it has been updated in the repository, but the version in the current dir is old). db_blob(uuid,SELECT uuid FROM blob, mlink, vfile WHERE blob.rid = mlink.mid AND mlink.fid = vfile.rid AND vfile.pathname=%B,fname); db_blob(latest, SELECT ci.uuid FROM mlink, blob b, event, blob ci WHERE mlink.fnid=(SELECT fnid FROM filename WHERE name=%B) AND b.rid=mlink.fid AND event.objid=mlink.mid AND event.objid=ci.rid ORDER BY event.mtime DESC, fname); isLatest = strcmp(blob_str(latest),blob_str(uuid)) == 0; That works most of the time, but is wrong. e.g. on the latest fossil tree, www/delta1.gif shows up as isLatest == 0. I don't understand the schema well enough. Anybody have ideas? Thanks - Venkat Here's the first version (2009-10-29). I hope this mailing list allows attachments. I haven't quite figured out the meanings of the tables in the schema, so have mostly done a cut and paste. The zip has 2 file in it: 1. info.c.diffs (these are diffs into src/info.c), there's a new subcommand finfo. See the comment at the beginning of the function. Apply the patch, and build fossil. 2. vc-fossil.el, follow instructions on the top of the file to install. I've tested it on a small project, and the basic vc-actions are fine. There are a few things that I'd like help with. 3. The latest detection in the -s branch is hosed. I don't understand enough of the schema to make it work always. It seems to work most of the time now. Search for db_blob(latest, in the patch. 4. I'm not at all sure that I'm handing branches right. I hope that this will provide a starting point for this effort. I will continue to improve it as I can. It will definitely help me promote fossil internally, as we use emacs heavily. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users