Re: [fossil-users] Meta-enhancement

2018-06-28 Thread Warren Young
On Jun 28, 2018, at 8:53 PM, David Mason wrote: > > Looks nice. What I meant was: what do I have to change to make it work. Clone my repository, go into Fossil UI, then navigate to Admin > Tickets. Copy as much or as little of what you see there into your Admin > Tickets sections as makes

Re: [fossil-users] Embedded Documentation Force Trailing Slash?

2018-06-28 Thread MKG
Thanks for the reply. It would be great if the following feature request be considered for future versions. Currently if a FILE ends in "/" then the names "FILE/index.html", "FILE/index.wiki", and "FILE/index.md" are tried in that order. If no "/" at the end, if the FILE is not found a 404 is

Re: [fossil-users] Patch: Enables integration of syntax highlighting systems

2018-06-28 Thread Chad Perrin
On Thu, Jun 28, 2018 at 10:40:19AM -0500, Lester L. Martin II wrote: > > I've developed a way to do highlighting with line numbering... > The issues are as follows however: > 1. The JS code responsible for the highlighting is external to Fossil > itself. > 2. The JS code highlights blocks, so

Re: [fossil-users] email.c typo

2018-06-28 Thread Donald Griggs
And I assume " to send an announcements" should be either " to send announcements" or " to send an announcement" /email.c > > > ___ fossil-users mailing list fossil-users@lists.fossil-scm.org

Re: [fossil-users] Patch: Enables integration of syntax highlighting systems

2018-06-28 Thread Lester L. Martin II
On 2018-06-28 11:07, Chad Perrin wrote: On Thu, Jun 28, 2018 at 10:40:19AM -0500, Lester L. Martin II wrote: I've developed a way to do highlighting with line numbering... The issues are as follows however: 1. The JS code responsible for the highlighting is external to Fossil itself. 2. The JS

Re: [fossil-users] Meta-enhancement

2018-06-28 Thread David Mason
Looks nice. What I meant was: what do I have to change to make it work. Thanks ../Dave On 28 June 2018 at 18:33, Warren Young wrote: > On Jun 28, 2018, at 6:15 AM, David Mason wrote: > > > > where did you make these changes? > > It’s most readily seen in this repository: > >

Re: [fossil-users] Patch: Enables integration of syntax highlighting systems

2018-06-28 Thread Lester L. Martin II
On 2018-06-28 12:49, Chad Perrin wrote: Server side syntax highlighting is an excellent idea, though I'm not quite sure at this time how to implement it. The other issue with such being that fossil would basically need to cache the results of running a highlight for the liftime of the program up

Re: [fossil-users] Embedded Documentation Force Trailing Slash?

2018-06-28 Thread Richard Hipp
On 6/28/18, MKG wrote: > > /index.cgi/doc/trunk/test/ ---> works > "/index.cgi/doc/trunk/test ---> doesn't work > > Technically, this is correct but I'm wondering if there is a way to add the > trailing slash when necessary to make it more usable. I don't recall a way of making the /doc webpage

Re: [fossil-users] smtp.c build failures

2018-06-28 Thread Richard Hipp
On 6/28/18, Martin Gagnon wrote: > > To use the ns_* function, you needs to install libbind from packages: > pkg_add -r libbind. > I'm thinking I will probably end up having to write my own DNS query response parser -- D. Richard Hipp d...@sqlite.org

Re: [fossil-users] smtp.c build failures

2018-06-28 Thread Martin Gagnon
On Thu, Jun 28, 2018 at 03:26:42PM -0400, Richard Hipp wrote: > On 6/28/18, Martin Gagnon wrote: > > > > To use the ns_* function, you needs to install libbind from packages: > > pkg_add -r libbind. > > > > I'm thinking I will probably end up having to write my own DNS query > response

Re: [fossil-users] Patch: Enables integration of syntax highlighting systems

2018-06-28 Thread Chad Perrin
On Thu, Jun 28, 2018 at 11:40:01AM -0700, Sam Putman wrote: > > As a target, I would suggest the emitted html look as much like this > as possible: > > view-source:https://github.com/jvirkki/libbloom/blob/master/bloom.c > > The actual code block begins at line 821. > > This style of markup is a

Re: [fossil-users] Patch: Enables integration of syntax highlighting systems

2018-06-28 Thread Lester L. Martin II
On 2018-06-28 08:12, Richard Hipp wrote: Please mail in your CLA when you get a chance. Sending later today, hopefully regular stamped mail won't take 2 weeks. I've developed a way to do highlighting with line numbering... The issues are as follows however: 1. The JS code responsible for the

Re: [fossil-users] smtp.c build failures

2018-06-28 Thread Richard Hipp
On 6/28/18, jungle Boogie wrote: > Hi All, > > I know it's still very early on to make use of the new smtp logic, but > I thought I'd report these issues. Is anyone else experiencing issues > with compiling? Did you rerun ./configure? fossil clean -x ./configure make If you still

Re: [fossil-users] smtp.c build failures

2018-06-28 Thread jungle Boogie
On 28 June 2018 at 11:42, Richard Hipp wrote: > On 6/28/18, jungle Boogie wrote: >> Hi All, >> >> I know it's still very early on to make use of the new smtp logic, but >> I thought I'd report these issues. Is anyone else experiencing issues >> with compiling? > > Did you rerun ./configure? > >

Re: [fossil-users] smtp.c build failures

2018-06-28 Thread Richard Hipp
On 6/28/18, jungle Boogie wrote: > > Does this help? > http://man.openbsd.org/man3/getrrsetbyname.3 > That seems to be an OpenBSD-only library function. So, no, it doesn't really help. Does OpenBSD have req_query() at least? I suppose I could write my own DNS record parser. (sigh...) -- D.

Re: [fossil-users] smtp.c build failures

2018-06-28 Thread jungle Boogie
On 28 June 2018 at 12:07, Richard Hipp wrote: > On 6/28/18, jungle Boogie wrote: >> >> Does this help? >> http://man.openbsd.org/man3/getrrsetbyname.3 >> > > That seems to be an OpenBSD-only library function. So, no, it doesn't > really help. > > Does OpenBSD have req_query() at least? I

Re: [fossil-users] smtp.c build failures

2018-06-28 Thread Richard Hipp
On 6/28/18, jungle Boogie wrote: > > The res_query() function provides an interface to the server query > mechanism. It constructs a query, sends it to the local server, awaits > a response, and makes preliminary checks on the reply. The query > requests information of the specified type and

Re: [fossil-users] smtp.c build failures

2018-06-28 Thread Martin Gagnon
On Thu, Jun 28, 2018 at 11:58:55AM -0700, jungle Boogie wrote: > On 28 June 2018 at 11:42, Richard Hipp wrote: > > On 6/28/18, jungle Boogie wrote: > >> Hi All, > >> > >> I know it's still very early on to make use of the new smtp logic, but > >> I thought I'd report these issues. Is anyone else

Re: [fossil-users] Patch: Enables integration of syntax highlighting systems

2018-06-28 Thread Chad Perrin
On Thu, Jun 28, 2018 at 12:11:11PM -0500, Lester L. Martin II wrote: > On 2018-06-28 11:07, Chad Perrin wrote: > > > > I think a cleaner approach, though it might take a bit of rewriting for > > file display, would use an HTML table, possibly assembled by > > JavaScript. > > Note that I'm

[fossil-users] smtp.c build failures

2018-06-28 Thread jungle Boogie
Hi All, I know it's still very early on to make use of the new smtp logic, but I thought I'd report these issues. Is anyone else experiencing issues with compiling? FIG_H -D_HAVE_SQLITE_CONFIG_H -g -O2 -o bld/smtp.o -c bld/smtp_.c ./src/smtp.c:54:3: error: use of undeclared identifier 'ns_msg'

Re: [fossil-users] Patch: Enables integration of syntax highlighting systems

2018-06-28 Thread Sam Putman
On Thu, Jun 28, 2018 at 9:07 AM, Chad Perrin wrote: > See if this makes sense: > > Apply syntax highlighting to a block of code. Organize the code in > second column TD elements of a table. Organize line numbers in first > column TD elements of a table. > > Thus, you would have HTML for a

Re: [fossil-users] Meta-enhancement

2018-06-28 Thread Warren Young
On Jun 28, 2018, at 6:15 AM, David Mason wrote: > > where did you make these changes? It’s most readily seen in this repository: https://tangentsoft.com/pidp8i In addition to the reporting changes I previously described, there are others, mainly in Admin > Tickets > Common. For

Re: [fossil-users] Patch: Enables integration of syntax highlighting systems

2018-06-28 Thread Lester L. Martin II
On 2018-06-28 07:11, Richard Hipp wrote: On 6/28/18, Lester L. Martin II wrote: This patch changes the way `void artifact_page(void)` renders a files content. Formerly a `` was issued for content, whereas now a `` is issued where $ext is the file's extension (example, "blah.lua" extension

Re: [fossil-users] Patch: Enables integration of syntax highlighting systems

2018-06-28 Thread Richard Hipp
On 6/28/18, Lester L. Martin II wrote: > This patch changes the way `void artifact_page(void)` renders a files > content. > Formerly a `` was issued for content, whereas now a > `` is issued where $ext is the file's > extension (example, "blah.lua" extension would be "lua"). But then the syntax

Re: [fossil-users] Patch: Enables integration of syntax highlighting systems

2018-06-28 Thread Lester L. Martin II
On 2018-06-28 00:36, Chad Perrin wrote: On Wed, Jun 27, 2018 at 11:31:57PM -0500, Lester L. Martin II wrote: This patch changes the way `void artifact_page(void)` renders a files content. Formerly a `` was issued for content, whereas now a `` is issued where $ext is the file's extension

Re: [fossil-users] Meta-enhancement

2018-06-28 Thread David Mason
Warren, this looks great! Apologies for not knowing, but where did you make these changes? On 28 June 2018 at 04:11, Warren Young wrote: > On Jun 27, 2018, at 8:16 AM, Richard Hipp wrote: > > > > If I leave [a feature request ticket] open, then > > people become alarmed at all the open bugs

Re: [fossil-users] Help with making a subroutine x-platform to windows

2018-06-28 Thread Thomas Schnurrenberger
On 27.06.2018 21:24, Richard Hipp wrote: > If anybody can suggest patches that will get this routine > (https://fossil-scm.org/fossil/info/5e083abf6?ln=47) to compile and > work on windows, that would really be helpful. Thanks. > Sample Windows program, needs the dnsapi.lib for linking:

[fossil-users] fossil set uv-sync question

2018-06-28 Thread j. van den hoff
I am still struggling with unversioned files: after "discovering" the uv-sync setting I tried it out: * on the server I did `fossil set --global uv-sync on'. * doing, then, a file system based clone on the server `fossil clone {path_to_server_repo} {path_to_clone_in_server_file_system}

Re: [fossil-users] Meta-enhancement

2018-06-28 Thread Warren Young
On Jun 27, 2018, at 8:16 AM, Richard Hipp wrote: > > If I leave [a feature request ticket] open, then > people become alarmed at all the open bugs against Fossil. I solve that problem in my repositories by distinguishing “Bugs” from “Feature Requests.” First, I rename the default “All

Re: [fossil-users] Help with making a subroutine x-platform to windows

2018-06-28 Thread Antoine Chavasse
It seems to me it would be simpler and more robust to simply call the relevant win32 api function: https://docs.microsoft.com/en-us/windows/desktop/api/windns/nf-windns-dnsquery_a On Wed, Jun 27, 2018, 23:22 Scott Doctor wrote: > A way may be using the system() command to run nslookup. From >

[fossil-users] Embedded Documentation Force Trailing Slash?

2018-06-28 Thread MKG
Hi Fossil Users, I'm trying to setup a site using fossil embedded documentation and since run into an issue. Here I have a document "test/index.md" in the file tree. When accessing the file with the following url "/index.cgi/doc/trunk/test/" it works as expect. But without the trailing slash

Re: [fossil-users] Patch: Enables integration of syntax highlighting systems

2018-06-28 Thread Richard Hipp
On 6/28/18, Lester L. Martin II wrote: > > Indeed. The entire code dealing with adding in line numbering would need > reworking to enable it (and probably updates to CSS as well). I might > can > look into getting that working as well. I actually think there would be > a way that would be simpler