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] Lazarus Help System Requirements

2006-05-11 Thread Graeme Geldenhuys
On 10/05/06, Vincent Snijders [EMAIL PROTECTED] wrote: Not a new format, but a portable format: CHM, with a viewer built with fpc/lazarus. Just to clear things up... When you say CHM, do you mean something like what CHM does, or the exact CHM format? Isn't CHM a proprietary / patented format

Re: [lazarus] Lazarus Help System Requirements

2006-05-11 Thread Michael Van Canneyt
On Thu, 11 May 2006, Graeme Geldenhuys wrote: On 10/05/06, Vincent Snijders [EMAIL PROTECTED] wrote: Not a new format, but a portable format: CHM, with a viewer built with fpc/lazarus. Just to clear things up... When you say CHM, do you mean something like what CHM does, or the exact CHM

Re: [lazarus] Lazarus Help System Requirements

2006-05-11 Thread Micha Nelissen
Michael Van Canneyt wrote: Whatever the answer, I'd rather go for the OpenOffice format: it's an open standard. Open Standard or 'de facto' Standard ? Micha _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] Suggestions for Improvement

2006-05-11 Thread Graeme Geldenhuys
On 10/05/06, Al Boldi [EMAIL PROTECTED] wrote: 2. Replace the delphi dfm with a real code init (java style). What are the advantages? Easier component creation control/management via ONE language. 1) Please do not forget, that then you will be able to Search / Replace on component

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] Lazarus Help System Requirements

2006-05-11 Thread Adrian Maier
On 5/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Overview Windowze has 2 help system versions (*.hlp files and *.chm files). Un*x based systems have man (doesn't have links, discarted, sorry). I heard that *Linux (GNU/Linux, and others) doesn't have one. The man pages are not

Re: [lazarus] Lazarus Help System Requirements

2006-05-11 Thread Marco Ciampa
On Wed, May 10, 2006 at 10:41:22AM -0500, [EMAIL PROTECTED] wrote: So, the file format must be an Open Standard. Definitely! Comments Please feel free to add any missing requirement. Source file must be thought to be easy for nationalization (i. e. use .po files in the source).

Re: [lazarus] Lazarus Help System Requirements

2006-05-11 Thread Michael Van Canneyt
On Thu, 11 May 2006, Adrian Maier wrote: On 5/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Overview Windowze has 2 help system versions (*.hlp files and *.chm files). Un*x based systems have man (doesn't have links, discarted, sorry). I heard that *Linux (GNU/Linux, and

Re: [lazarus] Lazarus Help System Requirements

2006-05-11 Thread Michael Van Canneyt
On Thu, 11 May 2006, Marco Ciampa wrote: On Wed, May 10, 2006 at 10:41:22AM -0500, [EMAIL PROTECTED] wrote: So, the file format must be an Open Standard. Definitely! Comments Please feel free to add any missing requirement. Source file must be thought to be easy for

Re: [lazarus] Lazarus Help System Requirements

2006-05-11 Thread Bogusław Brandys
Michael Van Canneyt wrote: On Thu, 11 May 2006, Marco Ciampa wrote: On Wed, May 10, 2006 at 10:41:22AM -0500, [EMAIL PROTECTED] wrote: So, the file format must be an Open Standard. Definitely! Comments Please feel free to add any missing requirement. Source file must be

Re: [lazarus] Lazarus Help System Requirements

2006-05-11 Thread Marco Ciampa
On Thu, May 11, 2006 at 11:08:15AM +0200, Michael Van Canneyt wrote: On Thu, 11 May 2006, Marco Ciampa wrote: On Wed, May 10, 2006 at 10:41:22AM -0500, [EMAIL PROTECTED] wrote: So, the file format must be an Open Standard. Definitely! Comments Please feel free to add

Re: [lazarus] Suggestions for Improvement

2006-05-11 Thread Al Boldi
Michael Van Canneyt wrote: On Thu, 11 May 2006, Micha Nelissen wrote: Al Boldi wrote: 2. Replace the delphi dfm with a real code init (java style). What are the advantages? Easier component creation control/management via ONE language. Management of custom modified code is a PITA

Re: [lazarus] Suggestions for Improvement

2006-05-11 Thread Micha Nelissen
Al Boldi wrote: Separation of layout and behaviour would still hold, only w/o requiring a special scripting language. It is not a language, let alone a scripting language. It's just PROP = VAL basically, but in OO-style. Micha

Re: [lazarus] Lazarus Help System Requirements

2006-05-11 Thread Alexandre Leclerc
2006/5/11, Michael Van Canneyt [EMAIL PROTECTED]: On Thu, 11 May 2006, Micha Nelissen wrote: Michael Van Canneyt wrote: Whatever the answer, I'd rather go for the OpenOffice format: it's an open standard. Open Standard or 'de facto' Standard ? Open, I would say ? Yes, odt files al.

Re: [lazarus] Lazarus Help System Requirements

2006-05-11 Thread Michael Van Canneyt
On Thu, 11 May 2006, Marco Ciampa wrote: On Thu, May 11, 2006 at 11:08:15AM +0200, Michael Van Canneyt wrote: On Thu, 11 May 2006, Marco Ciampa wrote: On Wed, May 10, 2006 at 10:41:22AM -0500, [EMAIL PROTECTED] wrote: So, the file format must be an Open Standard. Definitely!

Re: [lazarus] Suggestions for Improvement

2006-05-11 Thread Michael Van Canneyt
On Thu, 11 May 2006, Al Boldi wrote: Michael Van Canneyt wrote: On Thu, 11 May 2006, Micha Nelissen wrote: Al Boldi wrote: 2. Replace the delphi dfm with a real code init (java style). What are the advantages? Easier component creation control/management via ONE language. Management

Re: [lazarus] Lazarus Help System Requirements

2006-05-11 Thread lazarus . mramirez
Source file must be thought to be easy for nationalization (i. e. use .po files in the source). Maybe a source format file combination of *.po files and a XML file: xml title path= title.po / contents path= contents.po / /xml So IMHO: source file: several .po chapters

Re: [lazarus] Lazarus Help System Requirements

2006-05-11 Thread lazarus . mramirez
XML is fine , we only need : 1. a tool to export to various formats (HTML,PDF,CHM - all with index if possible) 2. a tool to index XML (full text search-help index) - for IDE usage (context help and others) It's seems we're getting to something similar to a html source file format and an

Re: [lazarus] Suggestions for Improvement

2006-05-11 Thread Alexandre Leclerc
2006/5/11, Michael Van Canneyt [EMAIL PROTECTED]: On Thu, 11 May 2006, Al Boldi wrote: Michael Van Canneyt wrote: On Thu, 11 May 2006, Micha Nelissen wrote: Al Boldi wrote: 2. Replace the delphi dfm with a real code init (java style). What are the advantages? Easier component creation

Re: [lazarus] Suggestions for Improvement

2006-05-11 Thread Bogusław Brandys
As an answer just look into way in which wxWidgets framework is developed - XML based dialogs in zip file and totally separate source code (with only some functions to load and initiate dialogs). Completely separated GUI and logical code! This is positive,and Lazarus is not too much behind

Re: [lazarus] Suggestions for Improvement

2006-05-11 Thread L505
2. Replace the delphi dfm with a real code init (java style). What are the advantages? Easier component creation control/management via ONE language. 1) Please do not forget, that then you will be able to Search / Replace on component properties if they are in code! Currently

Re: [lazarus] Suggestions for Improvement

2006-05-11 Thread Michael Van Canneyt
On Thu, 11 May 2006, [UTF-8] Bogusław Brandys wrote: As an answer just look into way in which wxWidgets framework is developed - XML based dialogs in zip file and totally separate source code (with only some functions to load and initiate dialogs). Completely separated GUI and logical

Re: [lazarus] Suggestions for Improvement

2006-05-11 Thread Mattias Gaertner
On Thu, 11 May 2006 12:03:59 -0600 L505 [EMAIL PROTECTED] wrote: 2. Replace the delphi dfm with a real code init (java style). What are the advantages? Easier component creation control/management via ONE language. 1) Please do not forget, that then you will be able to

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] Suggestions for Improvement

2006-05-11 Thread L505
Back when I started using delphi, I wondered what black magic was creating my forms for me? Why couldn't I see and tap in to the code that created my forms? I guess curiosity kills the cat. You can edit the .dfm. Just not the form and the dfm at the same time. The DFM never told me when

Re: [lazarus] Suggestions for Improvement

2006-05-11 Thread Mattias Gaertner
On Thu, 11 May 2006 13:36:23 -0600 L505 [EMAIL PROTECTED] wrote: [...] There are advantages and disadvantages of using real code versus using DFM files. DFM files are a cleaner format than actual Pascal code. Real code is easier to peak into and copy/paste than DFM files (but a DFM to

[lazarus] patch: encloseselectiondlg

2006-05-11 Thread Alexandre Leclerc
Patch generated in source directory: /lazarus/ide/ Description: Small patch for better keyboard working: - correct tab order - correct default/cancel buttons -- Alexandre Leclerc enclosesekectiondlg.patch Description: Binary data

Re: [lazarus] Lazarus Help System Requirements

2006-05-11 Thread Felipe Monteiro de Carvalho
On 5/11/06, Vincent Snijders [EMAIL PROTECTED] wrote: I mean exact CHM format, for which a freely available help compiler (HTML workshop) exists on windows. The compiler is non-portable. There are no open tools to create CHM files and the free tools I saw that can read it state on their web

[lazarus] Where is code completion function?

2006-05-11 Thread Alexandre Leclerc
I would like to patch the procedure but cant' fin it. When we invoke code completion, it trims the line feed before the code template. I do not want this behaviour. But it does not trim at the end, which is good. Template Example: === my template | blabla === I do want the free line before

Re: [lazarus] Lazarus Help System Requirements

2006-05-11 Thread Felipe Monteiro de Carvalho
Hello, On 5/11/06, Alexandre Leclerc [EMAIL PROTECTED] wrote: Yes, odt files al. are open format. And as of 1 may 2006 it is now an official ISO 26300 approved format (as other format like PDF and HTML who are also ISO approved). Ok, Open Document is good, but it has some problems: 1 - We

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] Lazarus Help System Requirements

2006-05-11 Thread Alexandre Leclerc
2006/5/11, Felipe Monteiro de Carvalho [EMAIL PROTECTED]: Hello, On 5/11/06, Alexandre Leclerc [EMAIL PROTECTED] wrote: Yes, odt files al. are open format. And as of 1 may 2006 it is now an official ISO 26300 approved format (as other format like PDF and HTML who are also ISO approved).

Re: [lazarus] Where is code completion function?

2006-05-11 Thread Mattias Gaertner
On Thu, 11 May 2006 18:46:13 -0400 Alexandre Leclerc [EMAIL PROTECTED] wrote: I would like to patch the procedure but cant' fin it. When we invoke code completion, it trims the line feed before the code template. I do not want this behaviour. But it does not trim at the end, which is good.

[lazarus] TXMLpropstorage section

2006-05-11 Thread A.J. Venter
Hello All, Quick Question, relating to using the propstorage components in Linux... how do you handle the fact that normal users should be able to store their preference files in their homedirectory ? I mean it's easy enough to get that, Filename :=

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

RES: [lazarus] Icons

2006-05-11 Thread Henrique de Paula Faria
Try this Windows Resource Manager at: www.lazarus-resource.com Henrique. -Mensagem original- De: Arí Ricardo Ody [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 11 de maio de 2006 09:17 Para: Lazarus Mailing List Assunto: [lazarus] Icons 1. How do I can associate an icon to a

Re: [lazarus] Where is code completion function?

2006-05-11 Thread Alexandre Leclerc
2006/5/11, Mattias Gaertner [EMAIL PROTECTED]: Right. It works only with code macros enabled. If you want to fix it: ide/codemacroprompt.pas ExecuteCodeTemplate Yep, I see in the code that the problem is not there. I feel the pattern is trimmed before it reaches this funciton. But i can't find

Re: [lazarus] Where is code completion function?

2006-05-11 Thread Alexandre Leclerc
2006/5/11, Alexandre Leclerc [EMAIL PROTECTED]: There is also another problem: If I add the macro flag in a pattern $(EnableMakros), when I reload the patern in the patern editor, the macro flag is not showed any more... it is stripped (just as these functions are doing). So you have no choices

Re: [lazarus] Lazarus Help System Requirements

2006-05-11 Thread Marco Ciampa
On Thu, May 11, 2006 at 03:33:02PM +0200, Michael Van Canneyt wrote: I didn't say 'possible', I said 'suitable'. Looking at the website: I think the po2xml is just used to translate the program strings which appear in the docs (used to refer to button captions etc), not for the actual

Re: [lazarus] Lazarus Help System Requirements

2006-05-11 Thread Marco Ciampa
On Thu, May 11, 2006 at 08:15:32AM -0500, [EMAIL PROTECTED] wrote: Source file must be thought to be easy for nationalization (i. e. use .po files in the source). Maybe a source format file combination of *.po files and a XML file: xml title path= title.po / contents path=

[lazarus] Help Framework proposal

2006-05-11 Thread Felipe Monteiro de Carvalho
Hello, We had some talks about file formats for the help system, but I´m still uncertain how the framework will actually work, so I gathered some information and ideas here. My idea is to develop a help system agnostic framework, so the software does the same calls to display help independently

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