Re: [Lazarus] Indy WebDAV

2010-05-31 Thread Michael Van Canneyt
On Sun, 30 May 2010, Vannus wrote: anybody got this working at all? any other WebDAV clients out there that might work? there is one out there for delphi, it works with Synapse. Michael. -- ___ Lazarus mailing list

Re: [Lazarus] fpweb for delphi?

2010-05-31 Thread Marco van de Voort
On Sun, May 30, 2010 at 09:09:31AM -0700, Myles Wakeham wrote: Marco wrote: That leaves PHP. Which is good for small stuff, but I wouldn't like having it write to mission critical databases. PHP is only used for small potatoe and frontends. (leaving a service to do the real work). Huh?

Re: [Lazarus] fpweb for delphi?

2010-05-31 Thread Bee Jay
On 30 Mei 2010, at 23:09, Myles Wakeham wrote: Huh? Ever heard of Facebook? Or SugarCRM? They are PHP apps. http://en.wikipedia.org/wiki/HipHop_for_PHP Even facebook developers know that native app will outperform scripting on any cases. They ended up rewriting PHP RTL, extension, etc.

Re: [Lazarus] DTD ENTITY question

2010-05-31 Thread Adem
On 2010-05-30 23:39, Sergei Gorelkin wrote: Adem wrote: I am writing a general parser for DTD files and have made some headway. The FCL xml parser (xmlread unit) can parse XML-conformant DTD files for several years already. I should've said a general SGML parser --not just a subset of it

Re: [Lazarus] fpweb for delphi?

2010-05-31 Thread Michael Van Canneyt
On Mon, 31 May 2010, Bee Jay wrote: On 30 Mei 2010, at 23:09, Myles Wakeham wrote: Huh? Ever heard of Facebook? Or SugarCRM? They are PHP apps. http://en.wikipedia.org/wiki/HipHop_for_PHP Even facebook developers know that native app will outperform scripting on any cases. They ended

Re: [Lazarus] fpweb for delphi?

2010-05-31 Thread Bee Jay
On 31 Mei 2010, at 15:32, Michael Van Canneyt wrote: Hah ! :-) LOL :D You had never heard of it, haven't you? :P Bee, you didn't just make my day, you made my week. Thanks a lot !! :-) You're welcome. Work on fcl-web will definitely continue with double effort :-) Glad to hear that. Let's

Re: [Lazarus] Lazarus Digest, Vol 28, Issue 174

2010-05-31 Thread Technical
- Original Message - From: lazarus-requ...@lists.lazarus.freepascal.org To: lazarus@lists.lazarus.freepascal.org Sent: Sunday, May 30, 2010 9:16 AM Subject: Lazarus Digest, Vol 28, Issue 174 Send Lazarus mailing list submissions to lazarus@lists.lazarus.freepascal.org To subscribe

Re: [Lazarus] easy cross-platform compiling??

2010-05-31 Thread Vincent Snijders
Graeme Geldenhuys schreef: On 30 May 2010 18:16, waldo kitty wrote: does that make sense?? i don't think that these add-on packages would really be all that large, either... There is definitely a demand for this. With Lazarus IDE this is a nightmare - just too many settings to fiddle with.

Re: [Lazarus] TAchart multiple reticules and vertical series alignment

2010-05-31 Thread Alexander Klenin
On Sun, May 30, 2010 at 15:57, Rick r...@sloservers.com wrote: Alexander Klenin wrote: My current thinking is that it should be a simple comma-separated list of series indexes, but that seems somewhat un-Pascalish, so maybe you have a better idea? I'm too new to Pascal and Lazarus to be of

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Adem
On 2010-05-31 05:36, Doug Chamberlin wrote: Doug, I have great interest in a parser-based code formatting tool. However, I have doubt that using the compiler's parser is the best solution. It may not be the best solution basically bexause it was written solely for the compiler's needs.

Re: [Lazarus] clarification / Re: constant-highlight ? [Re: quick opinion poll / pascal highlighting case]

2010-05-31 Thread Michael Schnell
On 05/28/2010 06:18 PM, waldo kitty wrote: i don't see begin/end as inside or outside... they _are_ the boundary or frame of the block ;) To represent this as an indentation you would need to go_ if x then begin incode; end; outcode; I never saw anything like that (and don't like it).

Re: [Lazarus] contnrs.pp(11, 35) Fatal: Can't find unit contnrs used by Masks

2010-05-31 Thread Michael Schnell
On 05/27/2010 12:19 PM, Mattias Gaertner wrote: Compile with -vut and right click on messages to save all and hidden messages to clipboard. Unfortunately if I try this Lazarus crashes when I do save all and hidden messages to clipboard. Is there any other way to show these messages ? I

Re: [Lazarus] Attn Felipe, Lazarus Digest, Vol 28, Issue 174

2010-05-31 Thread Mattias Gärtner
Zitat von Technical t...@polypressuk.co.uk: [...] Send Lazarus mailing list submissions to lazarus@lists.lazarus.freepascal.org Please remove text that has nothing to with your topic. It saves time of your readers. Have you create a package for your AlSortGrid.pas? Yes I have created

Re: [Lazarus] DTD ENTITY question

2010-05-31 Thread Sergei Gorelkin
Adem wrote: What is the general name for the adding stuff after the parameter definition? The tag !ENTITY % name PUBLIC foo bar declares the entity, and %name; is used to actually include it. IOW, the example above has already defined '%HTMLlat1;' so what is the point in adding (seemingly

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Juha Manninen
Adem, did you see my other mail earlier on this thread? I suggested using codetools parser for the task and integrate the formatter in Lazarus. I wrote: There is one more parser around, in codetools. It is scanning and parsing code in the background when you use Lazarus. It is optimized for

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Mattias Gärtner
Zitat von Adem listmem...@letterboxes.org: [...] While I do remember talking about 'un-with'ing (or, 'de-with'ing), I am not sure if Anthony did get around implementing it in JCF. This (admittedly an extreme one, one which I haven't even checked to see if it compiles) is the kind of stuff

Re: [Lazarus] clarification / Re: constant-highlight ? [Re: quick opinion poll / pascal highlighting case]

2010-05-31 Thread Marco van de Voort
On Mon, May 31, 2010 at 11:50:45AM +0200, Michael Schnell wrote: On 05/28/2010 06:18 PM, waldo kitty wrote: i don't see begin/end as inside or outside... they _are_ the boundary or frame of the block ;) To represent this as an indentation you would need to go_ if x then begin

Re: [Lazarus] easy cross-platform compiling??

2010-05-31 Thread Andreas Schneider
Am Sonntag 30 Mai 2010, 18:16:09 schrieb waldo kitty: why can't one locate easily installable, pre-packaged add-ons (not correct term) for cross-compiling capabilities? for example, one might install the win32 flavor of Laz/FPC and then simply install the win32 flavor of the linux

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Florian Klaempfl
Adem schrieb: On 2010-05-31 05:36, Doug Chamberlin wrote: Doug, I have great interest in a parser-based code formatting tool. However, I have doubt that using the compiler's parser is the best solution. It may not be the best solution basically bexause it was written solely for the

Re: [Lazarus] Attn Felipe, Lazarus Digest, Vol 28, Issue 174

2010-05-31 Thread Felipe Monteiro de Carvalho
Hello, To which mail are you responding? I don't see the previous messages. 2010/5/31 Mattias Gärtner nc-gaert...@netcologne.de: Yes, just using the NewStringGrid component which is just a simple descendant of TStringGrid Can you create create a bug report and attach it? I'm sure that

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Adem
On 2010-05-31 14:36, Florian Klaempfl wrote: Adem schrieb: On 2010-05-31 05:36, Doug Chamberlin wrote: Doug, I have great interest in a parser-based code formatting tool. However, I have doubt that using the compiler's parser is the best solution. It may not be the best

Re: [Lazarus] easy cross-platform compiling??

2010-05-31 Thread Juha Manninen
Graeme Geldenhuys wrote: There is definitely a demand for this. With Lazarus IDE this is a nightmare - just too many settings to fiddle with. MSEide is much better at this. With it's different build modes and user defined macro's it is rather easy to accomplish. fpGUI's IDE (not available to

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Florian Klaempfl
Yet, as far as parser goes, it is the best solution. Because it is the originial source of information. Any new additions as well as corrections go in there -- This is not necessarily true. Someone might hack in support for a new procedure specifier. However, it is not guranteed that

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Mattias Gärtner
Zitat von Adem listmem...@letterboxes.org: [...] The compiler simply discards comments and it has no infrastructure to link comments in any way to code. Naturally, comments are no good for the compiler --so, I am assuming that the current parser does recognise comments but does not add

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Adem
On 2010-05-31 14:57, Florian Klaempfl wrote: But, the parser does produce a parse tree, doesn't it. FPC doesn't produce a parse tree during compilation. The parser puts declarations/definitions immediatly into the symtables, for code an intermediate representation is created which is indeed a

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Adem
On 2010-05-31 15:00, Mattias Gärtner wrote: Zitat von Adem listmem...@letterboxes.org: [...] The compiler simply discards comments and it has no infrastructure to link comments in any way to code. Naturally, comments are no good for the compiler --so, I am assuming that the current parser

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Florian Klaempfl
Adem schrieb: On 2010-05-31 14:57, Florian Klaempfl wrote: But, the parser does produce a parse tree, doesn't it. FPC doesn't produce a parse tree during compilation. The parser puts declarations/definitions immediatly into the symtables, for code an intermediate representation is created

Re: [Lazarus] Installing FPC/Lazarus on Windows using SVN, no binaries

2010-05-31 Thread Marcos Douglas
On Sat, May 29, 2010 at 7:00 AM, Marc Weustink m...@dommelstein.net wrote: Marcos Douglas wrote: On Fri, May 28, 2010 at 12:21 PM, Marco van de Voort mar...@stack.nl wrote: In the case of FPC on windows, best to install the last release (2.4.0/win32), take a copy of that dir, and copy the

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Adem
On 2010-05-31 15:28, Florian Klaempfl wrote: Adem schrieb: On 2010-05-31 14:57, Florian Klaempfl wrote: But, the parser does produce a parse tree, doesn't it. FPC doesn't produce a parse tree during compilation. The parser puts declarations/definitions immediatly into the

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Michael Van Canneyt
On Mon, 31 May 2010, Adem wrote: On 2010-05-31 15:28, Florian Klaempfl wrote: Adem schrieb: On 2010-05-31 14:57, Florian Klaempfl wrote: But, the parser does produce a parse tree, doesn't it. FPC doesn't produce a parse tree during compilation. The parser puts declarations/definitions

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Aleksa Todorovic
On Mon, May 31, 2010 at 14:15, Adem listmem...@letterboxes.org wrote: So, if I understand this right, the code is parsed but instead of producing a tree, a more directly usable structure is created. Now, the question is, can it be made to produce (in parallel with what it already does) a

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Adem
On 2010-05-31 15:42, Michael Van Canneyt wrote: On Mon, 31 May 2010, Adem wrote: True. In order to avoid this sort of thing all together, the best solution would be making the compiler use a parse tree. Florian already explained at the start of the discussion that this is not feasable because

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Mattias Gärtner
Zitat von Adem listmem...@letterboxes.org: [...] How would *you* deal with macros? I would not use a complete parser. I would use a forgiving parser like the synedit highlighter or the indentation parser of the codetools. It depends on the features your code formatter should support.

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Michael Van Canneyt
On Mon, 31 May 2010, Adem wrote: On 2010-05-31 15:42, Michael Van Canneyt wrote: On Mon, 31 May 2010, Adem wrote: True. In order to avoid this sort of thing all together, the best solution would be making the compiler use a parse tree. Florian already explained at the start of the

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Adem
On 2010-05-31 15:48, Aleksa Todorovic wrote: On Mon, May 31, 2010 at 14:15, Ademlistmem...@letterboxes.org wrote: So, if I understand this right, the code is parsed but instead of producing a tree, a more directly usable structure is created. Now, the question is, can it be made to

Re: [Lazarus] easy cross-platform compiling??

2010-05-31 Thread Graeme Geldenhuys
On 31 May 2010 11:22, Vincent Snijders wrote: Does it support Windows XP - linux 32 ? I have not tried that configuration. My main OS is Linux, so I cross-compile from there to other systems. But if FPC supports that setup, then it should be possible with MSEide too. The main point being that

Re: [Lazarus] easy cross-platform compiling??

2010-05-31 Thread Graeme Geldenhuys
On 31 May 2010 14:01, Juha Manninen wrote: How does it handle binutils? Do you need to prepare them before building, or does it somehow install them when needed? I already had lines as follows in the ~/.fpc.cfg file from previous attempts, but these could just as easily have been specified

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Adem
On 2010-05-31 16:01, Michael Van Canneyt wrote: On Mon, 31 May 2010, Adem wrote: I am not a compiler author, so I do not wish to be arguing with experts; but, it's not as if we have both alternatives to measure and chose the best on the aggregate. I can see that it is expected to be slower

Re: [Lazarus] contnrs.pp(11, 35) Fatal: Can't find unit contnrs used by Masks

2010-05-31 Thread Bogusław Brandys
Michael Schnell pisze: On 05/27/2010 12:19 PM, Mattias Gaertner wrote: Compile with -vut and right click on messages to save all and hidden messages to clipboard. Unfortunately if I try this Lazarus crashes when I do save all and hidden messages to clipboard. Is there any other way to show

[Lazarus] T*Edit align and anchors

2010-05-31 Thread Andrea Mauri
Dear all, I have some problems with TDirectoryEdit, TFileNameEdit etc when I try to align them. For example if I set align = alTop the edit is aligned and the button disappears. In the same way it seems that aligning and anchoring does not consider the button but only the edit. Lazarus 0.9.29

Re: [Lazarus] T*Edit align and anchors

2010-05-31 Thread Paul Ishenin
31.05.2010 21:35, Andrea Mauri wrote: Dear all, I have some problems with TDirectoryEdit, TFileNameEdit etc when I try to align them. For example if I set align = alTop the edit is aligned and the button disappears. In the same way it seems that aligning and anchoring does not consider the

Re: [Lazarus] T*Edit align and anchors

2010-05-31 Thread Graeme Geldenhuys
On 31 May 2010 15:40, Paul Ishenin wrote: disappears. In the same way it seems that aligning and anchoring does not consider the button but only the edit. This is so by design. Umm, last time I was told this is a bug. I think I even report it as such over a year ago. Even though it is a

Re: [Lazarus] contnrs.pp(11, 35) Fatal: Can't find unit contnrs used by Masks

2010-05-31 Thread Michael Schnell
On 05/31/2010 03:30 PM, Bogusław Brandys wrote: You have broken path setting in fpc.cfg I did guess this. But there might be several fpc.cfg files. where to search for same ? Thanks, -Michael -- ___ Lazarus mailing list

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Krisztián Nagy
Hi lazarus list, At the beginning of this discussion I also wondered if one should make a general purpuse parser out of the compiler's one, but now I think one should not. Compiling and code formatting are different tasks. Both need to parse the code but if you want an optimized solution then the

Re: [Lazarus] Carbon - Ghost objects inside of components

2010-05-31 Thread Roland Turcan
Hello Dmitry, I have found out, that when you create a new project and try to put TPanel on TForm in design time then sometimes the panel is painted with horizontal or vertical scroll bar area. But this seems to be relatedtoa luck, because you have to repeat this

Re: [Lazarus] T*Edit align and anchors

2010-05-31 Thread Paul Ishenin
31.05.2010 22:17, Graeme Geldenhuys wrote: Delphi does this with composite components. We also checked how delphi works. And lazarus works as delphi here. In delphi it is possible to use now an edit box with enbedded left and right buttons. This can be done in Lazarus too. At least I

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Adem
On 2010-05-31 17:21, Krisztián Nagy wrote: You'll have competing products one pulling one way, the other pulling another. I'm not sure I understand you correctly. If you were talking about the two parsers then this makes no sense to me as we are going to have two parsers both sticking to the

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Adem
On 2010-05-31 16:00, Mattias Gärtner wrote: Zitat von Adem listmem...@letterboxes.org: [...] How would *you* deal with macros? I would not use a complete parser. I would use a forgiving parser like the synedit highlighter or the indentation parser of the codetools. Why is this emphasis on

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Krisztián Nagy
Well, I don't have any more reasons to present. Just tell me when you'll have finally decided about which parser to use as a base and if it is not the compiler's one (based on this discussion it seems too hard for me) I hereby offer my help in developing it. I can help in both design/coding or

Re: [Lazarus] Carbon - Ghost objects inside of components

2010-05-31 Thread Roland Turcan
Hello Dmitry, I have just tested this behavior on Lazarus Carbon PPC and it is the same as on Intel. TRoland; 31.05.2010 16:29 - Roland Turcan k...@rotursoft.sk RT Hello Dmitry, RT I have found out, that when you create a new project and try to put RT TPanel on TForm in design time

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Mattias Gärtner
Zitat von Adem listmem...@letterboxes.org: On 2010-05-31 16:00, Mattias Gärtner wrote: Zitat von Adem listmem...@letterboxes.org: [...] How would *you* deal with macros? I would not use a complete parser. I would use a forgiving parser like the synedit highlighter or the indentation

Re: [Lazarus] Attn Felipe, Lazarus Digest, Vol 28, Issue 174

2010-05-31 Thread Mattias Gaertner
On Mon, 31 May 2010 13:39:29 +0200 Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: [...] Felipe, can you update the page for 0.9.28? Which page are we talking about? Except for the numbers changing, I don't know any change in the install process from 0.9.26 to 0.9.28 to

Re: [Lazarus] Attn Felipe, Lazarus Digest, Vol 28, Issue 174

2010-05-31 Thread Felipe Monteiro de Carvalho
I marked the correct instructions with (Recommended Method), reinforcing what was already in the text. I can't update the advanced instructions without testing them again, and no time for that... but they shouldn't be used except by power users. Hopefully the (Recommended Method) will improve

Re: [Lazarus] T*Edit align and anchors

2010-05-31 Thread Luiz Americo Pereira Camara
Andrea Mauri escreveu: Dear all, I have some problems with TDirectoryEdit, TFileNameEdit etc when I try to align them. For example if I set align = alTop the edit is aligned and the button disappears. Try BorderSpacing.Right := 40 Luiz -- ___

Re: [Lazarus] too many TXMLConfigs! (att: fcl-xml package maintainers)

2010-05-31 Thread Jesus Reyes
--- El sáb 29-may-10, dmitry boyarintsev skalogryz.li...@gmail.com escribió: So, what unit should an IDE extension and/or LCL components use? xmlconf: is used by LazReport xmlcfg: is used by Grids, XMLPropStorage and the packager (RegisterFCL.pas, but not sure why) Laz_XMLCfg: is used

Re: [Lazarus] Installing FPC/Lazarus on Windows using SVN, no binaries

2010-05-31 Thread Marcos Douglas
On Mon, May 31, 2010 at 9:39 AM, Marcos Douglas m...@delfire.net wrote: Well.. To not have problems to compile FPC and Lazarus on Windows, but continue using SVN for the updates, I received a tip: - Download a snapshot from ftp://ftp.freepascal.org/pub/lazarus/snapshots/ - Install e.g.

Re: [Lazarus] Installing FPC/Lazarus on Windows using SVN, no binaries

2010-05-31 Thread Felipe Monteiro de Carvalho
I usually do like this: On Mon, May 31, 2010 at 2:39 PM, Marcos Douglas m...@delfire.net wrote: 1 - Download a snapshot from ftp://ftp.freepascal.org/pub/lazarus/snapshots/ 2 - Install e.g. c:\lazarus29 (we would have FPC and Lazarus) 3 - Get sources at SVN and save e.g. c:\lazarussvn 4 -

Re: [Lazarus] contnrs.pp(11, 35) Fatal: Can't find unit contnrs used by Masks

2010-05-31 Thread Vincent Snijders
Michael Schnell schreef: On 05/31/2010 03:30 PM, Bogusław Brandys wrote: You have broken path setting in fpc.cfg I did guess this. But there might be several fpc.cfg files. where to search for same ? That's an easy one. Compile with -va, then the compiler will output the used fpc.cfg.

[Lazarus] Minimizing Lazarus apps

2010-05-31 Thread Antônio
Why Lazarus apps randomly minimizes at the left of the screen? Is it a bug? Antônio webmas...@lazarusbrasil.org bra...@mindfreedom.org -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] easy cross-platform compiling??

2010-05-31 Thread waldo kitty
On 5/31/2010 05:22, Vincent Snijders wrote: Graeme Geldenhuys schreef: On 30 May 2010 18:16, waldo kitty wrote: does that make sense?? i don't think that these add-on packages would really be all that large, either... There is definitely a demand for this. With Lazarus IDE this is a

Re: [Lazarus] easy cross-platform compiling??

2010-05-31 Thread waldo kitty
On 5/31/2010 06:57, Andreas Schneider wrote: Am Sonntag 30 Mai 2010, 18:16:09 schrieb waldo kitty: does that make sense?? i don't think that these add-on packages would really be all that large, either... they're mostly source code and a binary or three, right? Compiling for any *nix platform