Re: [lazarus] New help doc format?

2006-05-13 Thread George Lober
Andrew Haines wrote: The unit/package to control lhelp (modified LGPL) does not link to lhelp in any way. It talks to it using the IPC units that come with fpc. basically sending to lhelp text commands. You may distribute the lhelp program with your program but that does not make your

Re: [lazarus] New help doc format?

2006-05-13 Thread Thierry Andriamirado
Le jeudi 11 mai 2006 à 12:29 -0600, L505 a écrit : and create a web program that allows users to search the documents on my website? With a real database you can upload your help documents to a web server and create a web program that searches your docs. Then your company will get much

Re: [lazarus] New help doc format?

2006-05-12 Thread Michael Van Canneyt
On Thu, 11 May 2006, Luiz Americo wrote: Michael Van Canneyt escreveu: sqlite is good candidate too (multiplatform,single file,fast, only one dll/so required) Sorry, but no: - No external dependencies, please. - Specifically: sqlite is a horrible database for use in

Re: [lazarus] New help doc format?

2006-05-12 Thread Andrew Haines
George Lober wrote: The code in /components/chmhelp looks like it's either GPL or LGPL. For code that would need to be used in target application, could these be changed to the Modified LGPL? Also the license headers refer to COPYING.LCL which I can't find anywhere ?? The chm viewer

Re: [lazarus] New help doc format?

2006-05-12 Thread Luiz Americo
Michael Van Canneyt escreveu: On Thu, 11 May 2006, Luiz Americo wrote: Michael Van Canneyt escreveu: sqlite is good candidate too (multiplatform,single file,fast, only one dll/so required) Sorry, but no: - No external dependencies, please. - Specifically: sqlite is a

Re: [lazarus] New help doc format?

2006-05-12 Thread Michael Van Canneyt
On Fri, 12 May 2006, Luiz Americo wrote: I did more tests, all give comparable results: sqlite is very fast for simple stuff. Your results are comparable from one made without index published in sqlite wiki, but when using index, according to the test, sqlite compares to the other.

Re: [lazarus] New help doc format?

2006-05-12 Thread Andrew Haines
Felipe Monteiro de Carvalho wrote: On 5/11/06, Andrew Haines [EMAIL PROTECTED] wrote: Sigh. :) Have a look in the components/chmhelp directory. In that directory is a program written entirely in pascal that uses the LCL to view chm files using the TurboPowerIpro HTML component and a package

Re: [lazarus] New help doc format?

2006-05-12 Thread Luiz Americo
Michael Van Canneyt escreveu: On Fri, 12 May 2006, Luiz Americo wrote: I did more tests, all give comparable results: sqlite is very fast for simple stuff. Your results are comparable from one made without index published in sqlite wiki, but when using index, according to the test, sqlite

Re: [lazarus] New help doc format?

2006-05-12 Thread L505
In your lazarus directory /components/chmhelp/packages/chm/ there is a unit called chmreader. It is simple to get a list of any of the files in the chm and extracting them: That's how easy it is to get all the files out of a chm :) Okay so its easy to get the HTML out of CHM (legally.. not

Re: [lazarus] New help doc format?

2006-05-12 Thread Felipe Monteiro de Carvalho
On 5/12/06, L505 [EMAIL PROTECTED] wrote: BTW Felipe, if you are listening - CHM was not available on Windows CE either - someone has done some work to get it working on Windows CE though.. just as someone got SQLite working on Windows CE. My point is that databases are no worse than CHM for

Re: [lazarus] New help doc format?

2006-05-12 Thread Andrew Haines
George Lober wrote: Looking at it , it looks like it is all dependent on LHelp, which is GPL. So if I can't compile that into my application or distribute it under my license, you are left with situation where the end user somehow has to get LHelp themselves. Are they supposed to

Re: [lazarus] New help doc format?

2006-05-11 Thread Graeme Geldenhuys
On 10/05/06, L505 [EMAIL PROTECTED] wrote: browsing around. I would NOT want all my HTML files compiled into one file because I want to look into each html file and see how it is designed - plus single files are more prone to corruption than multiple files. I think you are one of a selected

Re: [lazarus] New help doc format?

2006-05-11 Thread Graeme Geldenhuys
On 10/05/06, L505 [EMAIL PROTECTED] wrote: Does Apache Server work on Windows CE? So I shouldn't use Apache for a webserver, just because it isn't truly cross-platform? Sometimes people get carried away with the whole cross platform advantage - when really there would be no advantage of

Re: [lazarus] New help doc format?

2006-05-11 Thread Marco Ciampa
On Tue, May 09, 2006 at 05:05:18PM +0200, Giuliano Colla wrote: Graeme Geldenhuys ha scritto: [...] What does Qt offer in help formats? Qt provides standard html files, and a navigation program called assistant, which provides a sidebar, and other navigation tools, but they specify

Re: [lazarus] New help doc format?

2006-05-11 Thread L505
Does Apache Server work on Windows CE? So I shouldn't use Apache for a webserver, just because it isn't truly cross-platform? Sometimes people get carried away with the whole cross platform advantage - when really there would be no advantage of having Dude, you are missing the

Re: [lazarus] New help doc format?

2006-05-11 Thread L505
I think you are one of a selected few. CHM is basically compiled html files into one file. Why would I want to see the code of each help file I am viewing. All I want in the content. A single file is great for distribution (smaller and easier to copy) compared tho say a 1000 html pages

Re: [lazarus] New help doc format?

2006-05-11 Thread Felipe Monteiro de Carvalho
On 5/11/06, Andrew Haines [EMAIL PROTECTED] wrote: In your lazarus directory /components/chmhelp/packages/chm/ there is a unit called chmreader. It is simple to get a list of any of the files in the chm and extracting them: Some questions: 1 - Does that use any external dll or other

Re: [lazarus] New help doc format?

2006-05-11 Thread Luiz Americo
Michael Van Canneyt escreveu: sqlite is good candidate too (multiplatform,single file,fast, only one dll/so required) Sorry, but no: - No external dependencies, please. - Specifically: sqlite is a horrible database for use in Pascal. Based in what you say that? In fact the TDataset

Re: [lazarus] New help doc format?

2006-05-11 Thread Felipe Monteiro de Carvalho
On 5/11/06, Andrew Haines [EMAIL PROTECTED] wrote: Sigh. :) Have a look in the components/chmhelp directory. In that directory is a program written entirely in pascal that uses the LCL to view chm files using the TurboPowerIpro HTML component and a package to integrate that program in the IDE.

Re: [lazarus] New help doc format?

2006-05-11 Thread George Lober
Andrew Haines wrote: Felipe Monteiro de Carvalho wrote: On 5/11/06, Andrew Haines [EMAIL PROTECTED] wrote: In your lazarus directory /components/chmhelp/packages/chm/ there is a unit called chmreader. It is simple to get a list of any of the files in the chm and extracting them: Some

Re: [lazarus] New help doc format?

2006-05-10 Thread Bogusław Brandys
Graeme Geldenhuys wrote: On 09/05/06, Michael Van Canneyt [EMAIL PROTECTED] wrote: sqlite is good candidate too (multiplatform,single file,fast, only one dll/so required) Sorry, but no: - No external dependencies, please. I agree on this. It must be a self standing format without any

Re: [lazarus] New help doc format?

2006-05-10 Thread Bogusław Brandys
George Lober wrote: Alexandre Leclerc wrote: 2006/5/9, Vincent Snijders [EMAIL PROTECTED]: A drawback of chm, that I don't know about free tools to generate it except the Microsoft Help Workshop, which is windows only. No problem for me, because windows is my main platform, but still. I

Re: [lazarus] New help doc format?

2006-05-10 Thread Michael Van Canneyt
On Wed, 10 May 2006, Bogusaw Brandys wrote: Graeme Geldenhuys wrote: On 09/05/06, Michael Van Canneyt [EMAIL PROTECTED] wrote: sqlite is good candidate too (multiplatform,single file,fast, only one dll/so required) Sorry, but no: - No external dependencies, please. I agree on this. It

Re: [lazarus] New help doc format?

2006-05-10 Thread Graeme Geldenhuys
On 10/05/06, Michael Van Canneyt [EMAIL PROTECTED] wrote: A lot slower I think. Hence the reason most help systems seem to generate some type of index system when building the help files. Michael Hess has a system that does this for HTML. So at least we have someone with the knowledge of how

Re: [lazarus] New help doc format?

2006-05-10 Thread Michael Van Canneyt
On Wed, 10 May 2006, Graeme Geldenhuys wrote: On 09/05/06, L505 [EMAIL PROTECTED] wrote: Or, you could search the HTML/XML files.. but it would be slower than just searching a DB directly. A lot slower I think. Hence the reason most help systems seem to generate some type of index system

Re: [lazarus] New help doc format?

2006-05-10 Thread Graeme Geldenhuys
On 09/05/06, Joost van der Sluis [EMAIL PROTECTED] wrote: What does OpenOffice use for it's help-files? OpenOffice uses 4 files per help file/topic. .cfg .db .ht and .jar The .jar file contants .xhp files which are XML files. The also have a few .css files lying around in the help

Re: [lazarus] New help doc format?

2006-05-10 Thread Graeme Geldenhuys
On 09/05/06, L505 [EMAIL PROTECTED] wrote: Linux - has no standard help! Man Pages! Ok, ok but I am maybe referring more to the GUI side [and xman doens't count! ;-) ]. Applications like Mozilla FireFox, OpenOffice.org, KDevelop etc doesn't release man pages. Man pages are inherently used

Re: [lazarus] New help doc format?

2006-05-10 Thread Graeme Geldenhuys
On 09/05/06, L505 [EMAIL PROTECTED] wrote: Or, you could search the HTML/XML files.. but it would be slower than just searching a DB directly. A lot slower I think. Hence the reason most help systems seem to generate some type of index system when building the help files. Regards, - Graeme

Re: [lazarus] New help doc format?

2006-05-10 Thread Graeme Geldenhuys
On 09/05/06, Michael Van Canneyt [EMAIL PROTECTED] wrote: sqlite is good candidate too (multiplatform,single file,fast, only one dll/so required) Sorry, but no: - No external dependencies, please. I agree on this. It must be a self standing format without any 3rdParty requirements.

Re: [lazarus] New help doc format?

2006-05-10 Thread L505
Even CHM format creates multiple files and depends on them. I actually meant HLP format on Win32 _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at

Re: [lazarus] New help doc format?

2006-05-10 Thread Felipe Monteiro de Carvalho
On 5/10/06, L505 [EMAIL PROTECTED] wrote: I don't see the big deal with external dependencies because almost all programs have one or more external dependencies: a system DLL/DSO, a config file, etc. I have. Lazarus works for Windows CE, does sqlite work on it? Remember - HTML files ARE an

Re: [lazarus] New help doc format?

2006-05-10 Thread L505
I don't see the big deal with external dependencies because almost all programs have one or more external dependencies: a system DLL/DSO, a config file, etc. I have. Lazarus works for Windows CE, does sqlite work on it? http://sqlite-wince.sourceforge.net/ But I wouldn't want to read or

Re: [lazarus] New help doc format?

2006-05-10 Thread Felipe Monteiro de Carvalho
On 5/10/06, Bogusław Brandys [EMAIL PROTECTED] wrote: Not so fast. Look deeper into source code and you will find calls to M$ OCX :-( I haven't time to confirm that but it looks like a crap based on M$ ActiveX for generating CHM (other parts are good - for Winhelp,RTF etc) I also took a closer

Re: [lazarus] New help doc format?

2006-05-09 Thread Mattias Gaertner
On Tue, 9 May 2006 09:24:33 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Has anybody put some thought into creating a cross platform help file format that Lazarus could use in the IDE and in applications created with Lazarus? It was discussed several times on the lists and 10 people gave

Re: [lazarus] New help doc format?

2006-05-09 Thread Graeme Geldenhuys
On 09/05/06, Michael Van Canneyt [EMAIL PROTECTED] wrote: I'm not very much in favour of creating yet another format. Standards exist, we should try to use them as much as possible. Linux - has no standard help! OS X - never used it, so no idea what help format they use. Windows - Isn't the

Re: [lazarus] New help doc format?

2006-05-09 Thread Michael Van Canneyt
On Tue, 9 May 2006, Graeme Geldenhuys wrote: On 09/05/06, Michael Van Canneyt [EMAIL PROTECTED] wrote: I'm not very much in favour of creating yet another format. Standards exist, we should try to use them as much as possible. Linux - has no standard help! OS X - never used it, so no idea

Re: [lazarus] New help doc format?

2006-05-09 Thread bobby
Graeme Geldenhuys wrote: I was thinking in terms of release format for end users. Editing could be done exactly like the windows help formats. HLP is generated from a rich text file (RTF). I think CHM is as well. We could generate our final help file from XML. DocBook also does it that way.

Re: [lazarus] New help doc format?

2006-05-09 Thread Alexandre Leclerc
2006/5/9, Vincent Snijders [EMAIL PROTECTED]: A drawback of chm, that I don't know about free tools to generate it except the Microsoft Help Workshop, which is windows only. No problem for me, because windows is my main platform, but still. I have heard (not tested) that the only actual open

Re: [lazarus] New help doc format?

2006-05-09 Thread Alexandre Leclerc
I'm sorry, I can't find the source code... :( The only code on sourceforge, well, I don't know if this is the compiler itself, but it does not look like. Any-way I've no time now to look at that, but I will because this is interesting me a lot for our own help file creation. -- Alexandre

Re: [lazarus] New help doc format?

2006-05-09 Thread Alexandre Leclerc
2006/5/9, A.J. Venter [EMAIL PROTECTED]: On Tuesday 09 May 2006 15:53, Alexandre Leclerc wrote: I'm sorry, I can't find the source code... :( The only code on sourceforge, well, I don't know if this is the compiler itself, but it does not look like. Any-way I've no time now to look at that,

Re: [lazarus] New help doc format?

2006-05-09 Thread Giuliano Colla
Graeme Geldenhuys ha scritto: [...] What does Qt offer in help formats? Qt provides standard html files, and a navigation program called assistant, which provides a sidebar, and other navigation tools, but they specify that a standard browser can be used instead. No particular file format,

Re: [lazarus] New help doc format?

2006-05-09 Thread L505
On 09/05/06, Michael Van Canneyt [EMAIL PROTECTED] wrote: I'm not very much in favour of creating yet another format. Standards exist, we should try to use them as much as possible. Linux - has no standard help! Man Pages! Indexing? use grep! (detect sarcasm here).

Re: [lazarus] New help doc format?

2006-05-09 Thread Marco Meile
L505 wrote: On 09/05/06, Michael Van Canneyt [EMAIL PROTECTED] wrote: I'm not very much in favour of creating yet another format. Standards exist, we should try to use them as much as possible. Linux - has no standard help! Right, Linux has no help. Linux is a Kernel!

Re: [lazarus] New help doc format?

2006-05-09 Thread Joost van der Sluis
I'm not very much in favour of creating yet another format. Standards exist, we should try to use them as much as possible. It's already discussed on IRC, and maybe it could be a problem on large files, but is ODT (opendocument format) an option? Those are xml-files, which we already have, but

Re: [lazarus] New help doc format?

2006-05-09 Thread L505
2006/5/9, A.J. Venter [EMAIL PROTECTED]: On Tuesday 09 May 2006 15:53, Alexandre Leclerc wrote: I'm sorry, I can't find the source code... :( The only code on sourceforge, well, I don't know if this is the compiler itself, but it does not look like. Any-way I've no time now to

Re: [lazarus] New help doc format?

2006-05-09 Thread Alexandre Leclerc
2006/5/9, Joost van der Sluis [EMAIL PROTECTED]: I'm not very much in favour of creating yet another format. Standards exist, we should try to use them as much as possible. It's already discussed on IRC, and maybe it could be a problem on large files, but is ODT (opendocument format) an

Re: [lazarus] New help doc format?

2006-05-09 Thread Bogusław Brandys
Alexandre Leclerc wrote: 2006/5/9, L505 [EMAIL PROTECTED]: 2006/5/9, A.J. Venter [EMAIL PROTECTED]: On Tuesday 09 May 2006 15:53, Alexandre Leclerc wrote: But my personal idea on help files for lazarus would probably be: - get very well built html files with many links - build a search

Re: [lazarus] New help doc format?

2006-05-09 Thread Michael Van Canneyt
On Tue, 9 May 2006, [UTF-8] Bogusław Brandys wrote: Alexandre Leclerc wrote: 2006/5/9, L505 [EMAIL PROTECTED]: 2006/5/9, A.J. Venter [EMAIL PROTECTED]: On Tuesday 09 May 2006 15:53, Alexandre Leclerc wrote: But my personal idea on help files for lazarus would probably be: - get

Re: [lazarus] New help doc format?

2006-05-09 Thread Andrew Haines
bobby wrote: Graeme Geldenhuys wrote: I was thinking in terms of release format for end users. Editing could be done exactly like the windows help formats. HLP is generated from a rich text file (RTF). I think CHM is as well. We could generate our final help file from XML. DocBook also

Re: [lazarus] New help doc format?

2006-05-09 Thread Andrew Haines
Andrew Haines wrote: I checked out HTML Help Maker http://download.savannah.gnu.org/releases/hhm/ and it can only create the archive format that chms are. It cannot currently create the TOC or index file or any of the other special chm related files that are in a chm. However if we created

Re: [lazarus] New help doc format?

2006-05-09 Thread George Lober
Alexandre Leclerc wrote: 2006/5/9, Vincent Snijders [EMAIL PROTECTED]: A drawback of chm, that I don't know about free tools to generate it except the Microsoft Help Workshop, which is windows only. No problem for me, because windows is my main platform, but still. I have heard (not

Re: [lazarus] New help doc format?

2006-05-09 Thread L505
sqlite is good candidate too (multiplatform,single file,fast, only one dll/so required) Sorry, but no: - No external dependencies, please. - Specifically: sqlite is a horrible database for use in Pascal. And very slow for complex queries, in general. What database is good for Pascal?

Re: [lazarus] New help doc format?

2006-05-09 Thread Felipe Monteiro de Carvalho
On 5/9/06, L505 [EMAIL PROTECTED] wrote: Do any even exist? There is at least TDBf component for DBase and some memory database components, but neither is suitable for a help system. thanks, -- Felipe Monteiro de Carvalho _

Re: [lazarus] New help doc format?

2006-05-09 Thread George Lober
Alexandre Leclerc wrote: 2006/5/9, A.J. Venter [EMAIL PROTECTED]: On Tuesday 09 May 2006 15:53, Alexandre Leclerc wrote: I'm sorry, I can't find the source code... :( The only code on sourceforge, well, I don't know if this is the compiler itself, but it does not look like. Any-way I've

Re: [lazarus] New help doc format?

2006-05-09 Thread Felipe Monteiro de Carvalho
On 5/9/06, George Lober [EMAIL PROTECTED] wrote: The project seems quite inactive, showing 0 developers, Lol!!! With 0 developers just anyone can takeover the project and become administrator. This is a very good opportunity to take the project and put the source on it's CVS so a community

Re: [lazarus] New help doc format?

2006-05-09 Thread Felipe Monteiro de Carvalho
On 5/9/06, L505 [EMAIL PROTECTED] wrote: There is at least TDBf component for DBase and some memory database components, but neither is suitable for a help system. Really.. and why? Too square? DBase creates too many files. -- Felipe Monteiro de Carvalho

Re: [lazarus] New help doc format?

2006-05-09 Thread L505
There is at least TDBf component for DBase and some memory database components, but neither is suitable for a help system. Really.. and why? Too square? DBase creates too many files. How many for say a 100MB database or so ? 100's? Are they big files that take up lots of space?

Re: [lazarus] New help doc format?

2006-05-09 Thread Felipe Monteiro de Carvalho
On 5/10/06, L505 [EMAIL PROTECTED] wrote: How many for say a 100MB database or so ? 100's? Are they big files that take up lots of space? No, they are small, but they are many. 1 per table 1 per index and some other extras -- Felipe Monteiro de Carvalho

Re: [lazarus] New help doc format?

2006-05-09 Thread Micha Nelissen
Felipe Monteiro de Carvalho wrote: On 5/10/06, L505 [EMAIL PROTECTED] wrote: How many for say a 100MB database or so ? 100's? Are they big files that take up lots of space? No, they are small, but they are many. 1 per table 1 per index No actually, the indexes are combined into one file: