Re: [Lazarus] Regex and Syntax Highlighting

2010-05-27 Thread Graeme Geldenhuys
On 27 May 2010 02:33, Hans-Peter Diettrich wrote: Multi-line comments, or even worse: nested comments, require to pre-scan an file, before the highlighter can be used. I don't think this is true. I briefly looked at the jEdit code that manages the syntax highlighting, and it doesn't do

Re: [Lazarus] DBMaskEdit: A small contribuition for Lazarus project.

2010-05-27 Thread zeljko
On Thursday 27 May 2010 05:34, silvioprog wrote: Hi, This is a small contribuition for Lazarus project. (In attached) A screenshot in my IDE: http://imagebin.org/98483 Thanks, hope you like. ;) If you want to see this component in lazarus one day, please open an issue (feature) and add

Re: [Lazarus] DBMaskEdit: A small contribuition for Lazarus project.

2010-05-27 Thread Michael Van Canneyt
On Thu, 27 May 2010, silvioprog wrote: Hi, This is a small contribuition for Lazarus project. (In attached) A screenshot in my IDE: http://imagebin.org/98483 Thanks, hope you like. ;) You may not be aware, but the TDBEdit is a mask edit. The mask must be set in the field itself:

[Lazarus] Auto-identation

2010-05-27 Thread dmitry boyarintsev
Hello Developers Need your help and suggestion. I can't switch off the auto-identation. I've the option off in Editor-General-Indent and Tabs-Auto indent But, whenever I'm typing: for i:=1 to N do begin| -- press enter I'm getting a new line indented 2 spaces (under r), instead of placing

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

2010-05-27 Thread Michael Schnell
I'm a fan of half-indentation, showing clearly as well the alternatives, as the start and end of the block of choices, while saving lines. With else I practically always do end else begin to make things more clear. (Code templates are nice :) ) if x then begin code end else begin if y then

Re: [Lazarus] Regex and Syntax Highlighting

2010-05-27 Thread Marco van de Voort
On Wed, May 26, 2010 at 03:47:02PM +0200, Graeme Geldenhuys wrote: BTW: I tried all the examples listed on this page (which FPC doesn't support in most cases), and jEdit formatted then without problems - perfectly, just like the website shows. Yes, nested types, nested classes etc.. Lazarus

Re: [Lazarus] fpweb with fcgi samples

2010-05-27 Thread Michael Van Canneyt
On Thu, 27 May 2010, Bee Jay wrote: Hi all, I'm about to study fpWeb and its FCGI support. But I didn't see any example that are using FCGI in SVN trunk. There are only CGIs and Apache modules. Can they be used with FCGI simply by changing the used unit? I also couldn't find any

Re: [Lazarus] Auto-identation

2010-05-27 Thread Mattias Gaertner
On Thu, 27 May 2010 12:07:08 +0400 dmitry boyarintsev skalogryz.li...@gmail.com wrote: Hello Developers Need your help and suggestion. I can't switch off the auto-identation. I've the option off in Editor-General-Indent and Tabs-Auto indent But, whenever I'm typing: for i:=1 to N do

Re: [Lazarus] fpweb with fcgi samples

2010-05-27 Thread Bee Jay
On 27 Mei 2010, at 16:40, Michael Van Canneyt wrote: You just need to create a fastcgi application (lazarus file-new then Project/FastCGI application). It will automatically create a module. But you can include the modules you need from other applications. I'll try. I knew about fpWeb before

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

2010-05-27 Thread Michael Schnell
Sorry for bothering you again. I (after compiling and installing fpc) again get this message when I create a new project, but an existing project still does compile OK. The FPC source directory in the environment option is set seemingly correct to the files checked out by svn. Any help ?

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

2010-05-27 Thread Mattias Gaertner
On Thu, 27 May 2010 12:04:02 +0200 Michael Schnell mschn...@lumino.de wrote: Sorry for bothering you again. I (after compiling and installing fpc) again get this message when I create a new project, but an existing project still does compile OK. Probably you have somewhere an old ppu.

Re: [Lazarus] Regex and Syntax Highlighting

2010-05-27 Thread Hans-Peter Diettrich
Graeme Geldenhuys schrieb: Multi-line comments, or even worse: nested comments, require to pre-scan an file, before the highlighter can be used. I don't think this is true. I briefly looked at the jEdit code that manages the syntax highlighting, and it doesn't do multiple passes over the

[Lazarus] unexpected feature of TPaintBox

2010-05-27 Thread Engelbert Buxbaum
Hi, the code below is part of a program to draw the Mandelbrot-set. It works, if the canvas is small (stamp-size). However, if the size is increased to 800x800, the middle 1/3 of the image is replaced by a vertical grey bar. Any ideas? Thanks in advance Engelbert

Re: [Lazarus] unexpected feature of TPaintBox

2010-05-27 Thread Mattias Gaertner
On Thu, 27 May 2010 12:30:44 +0200 (CEST) Engelbert Buxbaum engelbert_buxb...@web.de wrote: Hi, the code below is part of a program to draw the Mandelbrot-set. It works, if the canvas is small (stamp-size). However, if the size is increased to 800x800, the middle 1/3 of the image is

Re: [Lazarus] unexpected feature of TPaintBox

2010-05-27 Thread Vincent Snijders
Engelbert Buxbaum schreef: Hi, the code below is part of a program to draw the Mandelbrot-set. It works, if the canvas is small (stamp-size). However, if the size is increased to 800x800, the middle 1/3 of the image is replaced by a vertical grey bar. Any ideas? What widgetset / OS do you

[Lazarus] fpweb for delphi?

2010-05-27 Thread Bee Jay
Hi all, I saw fpWeb has potential to be known as a good web framework for pascal language. But, I also saw it's too heavily tighted with FPC infrastructure. Can we make it more independend so it can also be used by Delphi? I think it could make pascal more known to the web developers crowd out

[Lazarus] Carbon - Ghost objects inside of components

2010-05-27 Thread Roland Turcan
Hello Lazarus mailing list! I have got some ghost objects painted into components randomly and I don't know how to find out where the objects came from. The fact is that the same code works on linux Gtk2 brilliant. The objects are shown randomly on any component. Look at

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

2010-05-27 Thread dmitry boyarintsev
2010/5/27 Roland Turcan k...@rotursoft.sk: It   looks   me   as   a rectangle which is reserved for TScrollbar. I hope, that Dmitry can explain it. This is Scrollbars. Somehow control's client size is reported wrongly, that makes LCL to show scrollbars. thanks, dmitry --

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

2010-05-27 Thread Roland Turcan
Hello Dmitry, Thanks for your fast reply, but how can I get rid off? I have made many changes on my components, but I think my changes should not be responsible for this behavior. But if necessary I can check out my old state which was OK. But my latest build of that project was

Re: [Lazarus] fpweb for delphi?

2010-05-27 Thread Michael Van Canneyt
On Thu, 27 May 2010, Bee Jay wrote: Hi all, I saw fpWeb has potential to be known as a good web framework for pascal language. But, I also saw it's too heavily tighted with FPC infrastructure. Can we make it more independend so it can also be used by Delphi? I think it could make pascal

Re: [Lazarus] fpweb for delphi?

2010-05-27 Thread Marcos Douglas
On Thu, May 27, 2010 at 8:56 AM, Michael Van Canneyt mich...@freepascal.org wrote: On Thu, 27 May 2010, Bee Jay wrote: Hi all, I saw fpWeb has potential to be known as a good web framework for pascal language.  But, I also saw it's too heavily tighted with FPC infrastructure.  Can we make

Re: [Lazarus] Regex and Syntax Highlighting

2010-05-27 Thread Graeme Geldenhuys
On 27 May 2010 11:42, Hans-Peter Diettrich wrote: Multi-line comments, or even worse: nested comments, require to pre-scan an file, before the highlighter can be used. I don't think this is true. I briefly looked at the jEdit code that manages the syntax highlighting, and it doesn't do

Re: [Lazarus] fpweb for delphi?

2010-05-27 Thread Leonardo M.
El jue, 27-05-2010 a las 09:44 -0300, Marcos Douglas escribió: On Thu, May 27, 2010 at 8:56 AM, Michael Van Canneyt mich...@freepascal.org wrote: On Thu, 27 May 2010, Bee Jay wrote: Hi all, I saw fpWeb has potential to be known as a good web framework for pascal language. But, I

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

2010-05-27 Thread Martin
On 27/05/2010 10:13, Marco van de Voort wrote: On Thu, May 27, 2010 at 09:51:48AM +0200, Michael Schnell wrote: I'm a fan of half-indentation, showing clearly as well the alternatives, as the start and end of the block of choices, while saving lines. With else I practically always do end

Re: [Lazarus] unexpected feature of TPaintBox

2010-05-27 Thread Martin
On 27/05/2010 11:30, Engelbert Buxbaum wrote: Hi, the code below is part of a program to draw the Mandelbrot-set. It works, if the canvas is small (stamp-size). However, if the size is increased to 800x800, the middle 1/3 of the image is replaced by a vertical grey bar. Any ideas?

Re: [Lazarus] fpweb for delphi?

2010-05-27 Thread Marcos Douglas
2010/5/27 Leonardo M. l.r...@griensu.com: Well, is not that sad, the code is in the repositories, anyone can adapt it to Delphi, it just requires time and brain!. But if the Michael Van Canneyt, developer of fpWeb, said require too many changes I think it is not so easy do that. Marcos

Re: [Lazarus] fpweb for delphi?

2010-05-27 Thread Graeme Geldenhuys
On 27 May 2010 13:56, Michael Van Canneyt wrote: I don't think we will do this. It will require too many changes. Plus, Delphi includes it's own web developer tools already. Adding fpWeb will just be duplication of what they have and paid for. -- Regards, - Graeme -

Re: [Lazarus] fpweb for delphi?

2010-05-27 Thread Andrew Brunner
On Thu, May 27, 2010 at 6:12 AM, Bee Jay bee.ogra...@gmail.com wrote: Can we make it more independend so it can also be used by Delphi? I think it could make pascal more known to the web developers crowd out there. Making an open source project's components easy for others to extract and use

[Lazarus] attn mattias / notebook onchange / sourceeditor

2010-05-27 Thread Martin
they are no longer triggered at all? so we could skip the if, in sourceeditor and always call by hand? Revision: 25639 Author: mattias Date: 16:54:22, 25 May 2010 Message: IDE: fixed updating statusbar, notebookpagechange events are no longer triggered when PageIndex changes by program

Re: [Lazarus] attn mattias / notebook onchange / sourceeditor

2010-05-27 Thread Mattias Gaertner
On Thu, 27 May 2010 14:11:45 +0100 Martin laza...@mfriebe.de wrote: they are no longer triggered at all? Not even if user clicks on another tab? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] fpweb for delphi?

2010-05-27 Thread Marcos Douglas
On Thu, May 27, 2010 at 9:57 AM, Andrew Brunner andrew.t.brun...@gmail.com wrote: On Thu, May 27, 2010 at 6:12 AM, Bee Jay bee.ogra...@gmail.com wrote: Can we make it more independend so it can also be used by Delphi? I think it could make pascal more known to the web developers crowd out

[Lazarus] fileutil unit dependencies

2010-05-27 Thread Andrea Mauri
Why FileUtil unit uses LCL? There is a comment in the unit: // For Smart Linking: Do not use the LCL! I would like to use some functions included in FileUtil (e.g. ExtractFileNameOnly) also in a Console Application without LCL dependencies, is it possible? Andrea --

Re: [Lazarus] fpweb for delphi?

2010-05-27 Thread Andrew Brunner
I agree but the Bee's thought it could make pascal more known to the web developers it is right too. if Delphi developers could use fpWeb on Delphi they would approach the FPC as well. True. But the real boost will be in projects using FPC/Lazarus. Word of mouth testimony from projects is

Re: [Lazarus] fpweb for delphi?

2010-05-27 Thread Marco van de Voort
On Thu, May 27, 2010 at 07:57:38AM -0500, Andrew Brunner wrote: Can we make it more independend so it can also be used by Delphi? I think it could make pascal more known to the web developers crowd out there. Making an open source project's components easy for others to extract and use on

Re: [Lazarus] attn mattias / notebook onchange / sourceeditor

2010-05-27 Thread Martin
On 27/05/2010 14:17, Mattias Gaertner wrote: On Thu, 27 May 2010 14:11:45 +0100 Martinlaza...@mfriebe.de wrote: they are no longer triggered at all? Not even if user clicks on another tab? What I meant: we keep NotebookPagechenged. But in the code below, we do not need the IF

Re: [Lazarus] fileutil unit dependencies

2010-05-27 Thread Mattias Gaertner
On Thu, 27 May 2010 15:47:46 +0200 Andrea Mauri andrea.mauri...@gmail.com wrote: Why FileUtil unit uses LCL? There is a comment in the unit: // For Smart Linking: Do not use the LCL! I would like to use some functions included in FileUtil (e.g. ExtractFileNameOnly) also in a Console

Re: [Lazarus] fpweb for delphi?

2010-05-27 Thread Marcos Douglas
On Thu, May 27, 2010 at 10:54 AM, Andrew Brunner andrew.t.brun...@gmail.com wrote: I agree but the Bee's thought it could make pascal more known to the web developers it is right too. if Delphi developers could use fpWeb on Delphi they would approach the FPC as well. True.  But the real

Re: [Lazarus] fpweb for delphi?

2010-05-27 Thread Joost van der Sluis
On Thu, 2010-05-27 at 10:34 -0300, Marcos Douglas wrote: On Thu, May 27, 2010 at 9:57 AM, Andrew Brunner andrew.t.brun...@gmail.com wrote: On Thu, May 27, 2010 at 6:12 AM, Bee Jay bee.ogra...@gmail.com wrote: Can we make it more independend so it can also be used by Delphi? I think it

Re: [Lazarus] fpweb with fcgi samples

2010-05-27 Thread Joost van der Sluis
On Thu, 2010-05-27 at 16:36 +0700, Bee Jay wrote: I'm about to study fpWeb and its FCGI support. But I didn't see any example that are using FCGI in SVN trunk. There are only CGIs and Apache modules. Can they be used with FCGI simply by changing the used unit? I also couldn't find any

Re: [Lazarus] fpweb with fcgi samples

2010-05-27 Thread Michael Van Canneyt
On Thu, 27 May 2010, Joost van der Sluis wrote: On Thu, 2010-05-27 at 16:36 +0700, Bee Jay wrote: I'm about to study fpWeb and its FCGI support. But I didn't see any example that are using FCGI in SVN trunk. There are only CGIs and Apache modules. Can they be used with FCGI simply by

Re: [Lazarus] fpweb for delphi?

2010-05-27 Thread Graeme Geldenhuys
On 27 May 2010 15:34, Marcos Douglas wrote: if Delphi developers could use fpWeb on Delphi they would approach the FPC as well. Why? It it works in Delphi they don't need to switch from Delphi. :-/ FPC already tries its damnedest to be Delphi compatible - maybe it's time Delphi tries to be

[Lazarus] fpWeb new examples

2010-05-27 Thread Leonardo M.
Hi, just updated my fpc from svn and noted a bunch of new examples were added to packages/fcl-web/examples/webdata. I can't build none of them. For example, the first, in directory demo has a unit called wmusers.pp which uses fpwebdata, fpextjs,extjsjson,extjsxml. Where can I find these units?.

Re: [Lazarus] fpweb for delphi?

2010-05-27 Thread Myles Wakeham
FPC already tries its damnedest to be Delphi compatible - maybe it's time Delphi tries to be FPC compatible. Let them do the work for a change. A couple of things may have escaped the conversation... As of the current shipping version of Delphi, its Windows only. Sure, there is something in

Re: [Lazarus] fpWeb new examples

2010-05-27 Thread Michael Van Canneyt
On Thu, 27 May 2010, Leonardo M. Ramé wrote: Hi, just updated my fpc from svn and noted a bunch of new examples were added to packages/fcl-web/examples/webdata. I can't build none of them. For example, the first, in directory demo has a unit called wmusers.pp which uses fpwebdata,

Re: [Lazarus] fpWeb new examples

2010-05-27 Thread Leonardo M.
El jue, 27-05-2010 a las 17:10 +0200, Michael Van Canneyt escribió: These units are all in fcl-web/src/webdata. Just add that to your path Sure? I don't have this directory, I only have fcl-web/src/base. I'm updating from trunk, fpc 2.5.1. -- Leonardo M. Ramé Griensu S.A. - Medical IT Córdoba

Re: [Lazarus] fpweb for delphi?

2010-05-27 Thread Michael Van Canneyt
On Thu, 27 May 2010, Myles Wakeham wrote: FPC already tries its damnedest to be Delphi compatible - maybe it's time Delphi tries to be FPC compatible. Let them do the work for a change. A couple of things may have escaped the conversation... As of the current shipping version of Delphi,

Re: [Lazarus] fpWeb new examples

2010-05-27 Thread Michael Van Canneyt
Sorry, forgot a commit :/ Fixed in rev 15334. Michael. On Thu, 27 May 2010, Leonardo M. Ramé wrote: El jue, 27-05-2010 a las 17:10 +0200, Michael Van Canneyt escribió: These units are all in fcl-web/src/webdata. Just add that to your path Sure? I don't have this directory, I only have

Re: [Lazarus] fpWeb new examples

2010-05-27 Thread Joost van der Sluis
On Thu, 2010-05-27 at 17:10 +0200, Michael Van Canneyt wrote: On Thu, 27 May 2010, Leonardo M. Ramé wrote: Hi, just updated my fpc from svn and noted a bunch of new examples were added to packages/fcl-web/examples/webdata. I can't build none of them. For example, the first, in

Re: [Lazarus] fpWeb new examples

2010-05-27 Thread Leonardo M.
El jue, 27-05-2010 a las 17:22 +0200, Michael Van Canneyt escribió: Sorry, forgot a commit :/ Fixed in rev 15334. Michael. Thanks. -- Leonardo M. Ramé Griensu S.A. - Medical IT Córdoba Tel.: 0351-4247979 -- ___ Lazarus mailing list

Re: [Lazarus] fpweb for delphi?

2010-05-27 Thread Marcos Douglas
On Thu, May 27, 2010 at 12:20 PM, Michael Van Canneyt mich...@freepascal.org wrote: The issue is independent of Delphi/Free Pascal. There is no solution for this using any compiled technology. Not even .NET code will help you with this, if the hosting company only offers PHP. For .NET is

Re: [Lazarus] fpWeb new examples

2010-05-27 Thread Horacio Jamilis
make clean all does not compile fpc 2.5.1 anymore ... it gives some error while cleaning the new folders (fcl-web) Horacio El 27/05/2010 12:22, Michael Van Canneyt escribió: Sorry, forgot a commit :/ Fixed in rev 15334. Michael. On Thu, 27 May 2010, Leonardo M. Ramé wrote: El jue,

Re: [Lazarus] fpWeb new examples

2010-05-27 Thread Michael Van Canneyt
This was reported, fixed and Committed in revision 15335 ? If the error persists, let me know. Michael. On Thu, 27 May 2010, Horacio Jamilis wrote: make clean all does not compile fpc 2.5.1 anymore ... it gives some error while cleaning the new folders (fcl-web) Horacio El 27/05/2010

Re: [Lazarus] fpWeb new examples

2010-05-27 Thread Horacio Jamilis
Now I get: Fatal: Can't find unit ssockets used by fcgigate Fatal: Compilation aborted make[5]: *** [fcgigate.ppu] Error 1 make[5]: Leaving directory `E:/lazarus/freepascal/packages/fcl-web/src/base' make[4]: *** [fpc_smart] Error 2 make[4]: Leaving directory

Re: [Lazarus] fpweb for delphi?

2010-05-27 Thread Felipe Monteiro de Carvalho
On Thu, May 27, 2010 at 5:27 PM, Marcos Douglas m...@delfire.net wrote: For .NET is more easy found low cost servers... maybe because have a VM with GC so, more security for the server. I don't see how how it could be true. The largest brazilian web hosting, Locaweb, offers CGI support for it's

[Lazarus] virus note about 0.9.28.2 package?

2010-05-27 Thread Mattias Gaertner
Does someone know, if any virus scanner does not like the lazarus-0.9.28.2-fpc-2.2.4-win32.exe ? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] fpWeb new examples

2010-05-27 Thread Michael Van Canneyt
Should be fixed now in rev 15336. (ssockets is in fcl-net, and not in fcl-base :/ ) Michael. On Thu, 27 May 2010, Horacio Jamilis wrote: Now I get: Fatal: Can't find unit ssockets used by fcgigate Fatal: Compilation aborted make[5]: *** [fcgigate.ppu] Error 1 make[5]: Leaving directory

Re: [Lazarus] fpweb for delphi?

2010-05-27 Thread Leonardo M.
El jue, 27-05-2010 a las 18:57 +0200, Felipe Monteiro de Carvalho escribió: On Thu, May 27, 2010 at 5:27 PM, Marcos Douglas m...@delfire.net wrote: For .NET is more easy found low cost servers... maybe because have a VM with GC so, more security for the server. I don't see how how it could

Re: [Lazarus] virus note about 0.9.28.2 package?

2010-05-27 Thread theo
This sounds similar: http://lazarus.freepascal.org/index.php/topic,9450.0.html -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] virus note about 0.9.28.2 package?

2010-05-27 Thread Sergei Gorelkin
Mattias Gaertner wrote: Does someone know, if any virus scanner does not like the lazarus-0.9.28.2-fpc-2.2.4-win32.exe On freepascal.ru forum, there are at least two messages, one mentioning this file and Kaspersky tool, another one mentioning FPC installer and Nod32 tool. In general, once

Re: [Lazarus] fpweb with fcgi samples

2010-05-27 Thread Felipe Monteiro de Carvalho
Hello, Did fpWeb make it to Toolbox or one of the books? I'm getting curious about it... thanks, -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] DBMaskEdit: A small contribuition for Lazarus project.

2010-05-27 Thread silvioprog
Em 27-05-2010 04:16, zeljko escreveu: On Thursday 27 May 2010 05:34, silvioprog wrote: Hi, This is a small contribuition for Lazarus project. (In attached) A screenshot in my IDE: http://imagebin.org/98483 Thanks, hope you like. ;) If you want to see this component in lazarus one day,

Re: [Lazarus] DBMaskEdit: A small contribuition for Lazarus project.

2010-05-27 Thread silvioprog
Em 27-05-2010 04:23, Michael Van Canneyt escreveu: You may not be aware, but the TDBEdit is a mask edit. The mask must be set in the field itself: TField.Editmask. It will be used by TDBEdit. Michael. But this is already implemented in Lazarus? I searched here(Lazarus 0.9.29 r25654:25679M

[Lazarus] Lazarus CGI Sample

2010-05-27 Thread Leonardo M.
Hi, I want to show a little example of an CGI app I created this weekend using Lazarus with a package called FreeSpider, very similar to fpWeb. It runs on a 512mb of ram Debian i386 server hosted in Argentina in a shared hosting account. The module consists of only two .pas files, one to handle

Re: [Lazarus] fpWeb new examples

2010-05-27 Thread Leonardo M.
El jue, 27-05-2010 a las 19:00 +0200, Michael Van Canneyt escribió: Should be fixed now in rev 15336. (ssockets is in fcl-net, and not in fcl-base :/ ) Michael. Michael, I'm on 15336 and the error is still here. I completely removed my FPC sources, and id a new checkout, make all, but

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

2010-05-27 Thread Martin
On 26/05/2010 06:06, Jürgen Hestermann wrote: But why have an indentation after BEGIN? There is no new block to start after BEGIN. I would indent like this: begin if foo then begin bar := foo; Who is to say that the begin is part of the block? (Anyone is free to tread it as such, but

Re: [Lazarus] fpweb for delphi?

2010-05-27 Thread silvioprog
Em 27-05-2010 09:57, Andrew Brunner escreveu: On Thu, May 27, 2010 at 6:12 AM, Bee Jay bee.ogra...@gmail.com wrote: Can we make it more independend so it can also be used by Delphi? I think it could make pascal more known to the web developers crowd out there. Making an open source

Re: [Lazarus] fpweb for delphi?

2010-05-27 Thread silvioprog
Em 27-05-2010 10:34, Marcos Douglas escreveu: I agree but the Bee's thought it could make pascal more known to the web developers it is right too. if Delphi developers could use fpWeb on Delphi they would approach the FPC as well. Or not. Who could guarantee that the Embarcadero not copy and

Re: [Lazarus] fpweb for delphi?

2010-05-27 Thread silvioprog
Em 27-05-2010 10:54, Andrew Brunner escreveu: I agree but the Bee's thought it could make pascal more known to the web developers it is right too. if Delphi developers could use fpWeb on Delphi they would approach the FPC as well. True. But the real boost will be in projects using

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

2010-05-27 Thread waldo kitty
On 5/26/2010 12:06, Jürgen Hestermann wrote: But when having it formatted like this if x then begin code; end else if y then begin code; end else begin code; end; you can immediately see that the new-command has to be inserted like that: if

Re: [Lazarus] fpweb for delphi?

2010-05-27 Thread silvioprog
Em 27-05-2010 11:45, Joost van der Sluis escreveu: No, they will still use Delphi, because the advantage of fpc (in this case fpWeb) is gone, because Delphi also supports it. Fpc is free, you can use it anywhere. I see no reason to support Delphi. +1. Joost. -- Silvio Clecio $ programmer

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

2010-05-27 Thread waldo kitty
On 5/26/2010 14:26, Vannus wrote: IMO thats redundant lines + more scrolling to read the code. whereas:- if x then begin code end else begin if y then begin code end else begin code end; end; the above format hurts my eyes... i cannot see else, for one thing, and cannot

Re: [Lazarus] fpweb for delphi?

2010-05-27 Thread silvioprog
Em 27-05-2010 11:55, Graeme Geldenhuys escreveu: On 27 May 2010 15:34, Marcos Douglas wrote: if Delphi developers could use fpWeb on Delphi they would approach the FPC as well. Why? It it works in Delphi they don't need to switch from Delphi. :-/ FPC already tries its damnedest to be

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

2010-05-27 Thread Reimar Grabowski
On Thu, 27 May 2010 13:53:17 +0100 Martin laza...@mfriebe.de wrote: IMHO the exact style ot intend is mostly a matter of taste. Wahtever you grew up with (or are used too), seems most readable. +1 procedure quicksort; procedure sort(l,r: index); var i,j: index; x,w: item; begin

Re: [Lazarus] Auto-identation

2010-05-27 Thread dmitry boyarintsev
On Thu, May 27, 2010 at 1:51 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: However if I type for i:=1 to N do begin| -- press enter I have no indentation, and the cursor is placed right under b Why does it happen? It should be the same and it works here. Can you update to svn rev

Re: [Lazarus] Auto-identation

2010-05-27 Thread dmitry boyarintsev
On Thu, May 27, 2010 at 11:39 PM, dmitry boyarintsev skalogryz.li...@gmail.com wrote: Ok. It does work now. I mean that in both cases for i:=1 to 10 do begin| and for i:=1 to 10 do begin| a new line is indented by 2 spaces. thanks, dmitry -- ___

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

2010-05-27 Thread waldo kitty
On 5/27/2010 05:13, Marco van de Voort wrote: I always put begin,else,end on newlines. If they were not important they would be omitted. exactly :) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] virus note about 0.9.28.2 package?

2010-05-27 Thread waldo kitty
On 5/27/2010 13:29, Sergei Gorelkin wrote: Mattias Gaertner wrote: Does someone know, if any virus scanner does not like the lazarus-0.9.28.2-fpc-2.2.4-win32.exe On freepascal.ru forum, there are at least two messages, one mentioning this file and Kaspersky tool, another one mentioning FPC

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

2010-05-27 Thread waldo kitty
On 5/27/2010 15:29, Reimar Grabowski wrote: On Thu, 27 May 2010 13:53:17 +0100 Martinlaza...@mfriebe.de wrote: IMHO the exact style ot intend is mostly a matter of taste. Wahtever you grew up with (or are used too), seems most readable. +1 procedure quicksort; procedure sort(l,r:

Re: [Lazarus] fpWeb new examples

2010-05-27 Thread Michael Van Canneyt
Hi, I added the dependency apparently in the wrong directory. It's hopefully OK in rev. 15338? Michael. On Thu, 27 May 2010, Leonardo M. Ramé wrote: El jue, 27-05-2010 a las 19:00 +0200, Michael Van Canneyt escribió: Should be fixed now in rev 15336. (ssockets is in fcl-net, and not in

Re: [Lazarus] Lazarus CGI Sample

2010-05-27 Thread Michael Van Canneyt
It would be an interesting test to see how easy you could re-create that in fcl-web. Maybe we can learn something from this test, see how we can improve and/or simplify things. Michael. On Thu, 27 May 2010, Leonardo M. Ramé wrote: Hi, I want to show a little example of an CGI app I

Re: [Lazarus] fpWeb new examples

2010-05-27 Thread Leonardo M.
El jue, 27-05-2010 a las 22:40 +0200, Michael Van Canneyt escribió: Hi, I added the dependency apparently in the wrong directory. It's hopefully OK in rev. 15338? Michael. Yes, it works now. Thanks!. -- Leonardo M. Ramé Griensu S.A. - Medical IT Córdoba Tel.: 0351-4247979 --

Re: [Lazarus] DBMaskEdit: A small contribuition for Lazarus project.

2010-05-27 Thread Michael Van Canneyt
On Thu, 27 May 2010, silvioprog wrote: Em 27-05-2010 04:23, Michael Van Canneyt escreveu: You may not be aware, but the TDBEdit is a mask edit. The mask must be set in the field itself: TField.Editmask. It will be used by TDBEdit. Michael. But this is already implemented in Lazarus? I

Re: [Lazarus] Lazarus CGI Sample

2010-05-27 Thread Leonardo M.
El jue, 27-05-2010 a las 22:43 +0200, Michael Van Canneyt escribió: It would be an interesting test to see how easy you could re-create that in fcl-web. Maybe we can learn something from this test, see how we can improve and/or simplify things. Michael. Well this is a fairly trivial

Re: [Lazarus] Lazarus CGI Sample

2010-05-27 Thread ABorka
On 5/27/2010 13:52, Leonardo M. Ramé wrote: On the other hand, fpWeb has a more advanced templating engine, that maybe (I don't tested it) allows one to create rows of an HTML table right from the template, without creating it inside the program's code. Yes, this is true. See the demo program

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

2010-05-27 Thread José Mejuto
Hello Lazarus-List, Thursday, May 27, 2010, 9:25:48 PM, you wrote: IMO thats redundant lines + more scrolling to read the code. whereas:- if x then begin code end else begin if y then begin code end else begin code end; end; wk the above format hurts my eyes...

Re: [Lazarus] Lazarus CGI Sample

2010-05-27 Thread silvioprog
Em 27-05-2010 15:36, Leonardo M. Ramé escreveu: Hi, I want to show a little example of an CGI app I created this weekend using Lazarus with a package called FreeSpider, very similar to fpWeb. It runs on a 512mb of ram Debian i386 server hosted in Argentina in a shared hosting account. The

Re: [Lazarus] DBMaskEdit: A small contribuition for Lazarus project.

2010-05-27 Thread silvioprog
Em 27-05-2010 17:49, Michael Van Canneyt escreveu: Ola :( I quoted from my Delphi knowledge; and indeed in FPC it is missing. (there is even a comment in dbedit.inc in the LCL :/) I will implement it in TField. Thank you for pointing this out ! Michael. Wow, this here will help:

Re: [Lazarus] DBMaskEdit: A small contribuition for Lazarus project.

2010-05-27 Thread silvioprog
Em 27-05-2010 18:49, Luiz Americo Pereira Camara escreveu: [...] Better, just apply that ;-): http://bugs.freepascal.org/view.php?id=16555 Luiz I saw that. Thanks! :) When it's released, to I update my Lazarus from SVN? -- Silvio Clecio $ programmer ObjectPascal - http://silvioprog.com.br

Re: [Lazarus] DBMaskEdit: A small contribuition for Lazarus project.

2010-05-27 Thread Luiz Americo Pereira Camara
silvioprog escreveu: Em 27-05-2010 17:49, Michael Van Canneyt escreveu: Ola :( I quoted from my Delphi knowledge; and indeed in FPC it is missing. (there is even a comment in dbedit.inc in the LCL :/) I will implement it in TField. Thank you for pointing this out ! Michael. Wow,