Re: [Lazarus] Copying form client area to clipboard and to file

2010-05-30 Thread Mark Morgan Lloyd
Felipe Monteiro de Carvalho wrote: I don't think you will find a solution using only LCL code, because the canvas doesn't include child windowed controls. You could even try to rebuild the image using the canvases, but that won't guarantee that it is the exact image on the screen. I did a short

Re: [Lazarus] Copying form client area to clipboard and to file

2010-05-30 Thread Mark Morgan Lloyd
Graeme Geldenhuys wrote: On 29 May 2010 23:20, Felipe Monteiro de Carvalho wrote: http://stackoverflow.com/questions/1774222/taking-screenshot-of-a-specific-window-c-qt You could see the Qt source code to check what this does for the Windows part of the solution. Here is another way of doing

[Lazarus] Installing Components

2010-05-30 Thread Technical
__ Information from ESET Smart Security, version of virus signature database 5155 (20100530) __ The message was checked by ESET Smart Security. http://www.eset.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

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

2010-05-30 Thread Florian Klaempfl
Hans-Peter Diettrich schrieb: Michael Van Canneyt schrieb: Well, given the recent breakage because of the support for 'deprecated', I started on a test file, but I think that a better and more fundamental approach is needed. My idea was to create a large number of small files with code

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

2010-05-30 Thread Graeme Geldenhuys
On 29 May 2010 22:23, Hans-Peter Diettrich wrote: Which can hardly be automized for any real class, having methods with argument lists, properties etc. On the contrary, it can - and will be very easy. Simply insert a single Tab character where you want things aligned. The ET enabled editor

Re: [Lazarus] fpweb for delphi?

2010-05-30 Thread Graeme Geldenhuys
On 30/05/2010, Dimitri Smits smi...@telenet.be wrote: where everybody gets the idea that Delphi does not provide web frameworks, I don't get. Websnap, other frameworks, standard Apache mod projecttypes (templates) for 1.3, 2.0 and 2.2, CGI... and that was just in D7 already! No Linux

Re: [Lazarus] fpweb for delphi?

2010-05-30 Thread Marco van de Voort
On Sun, May 30, 2010 at 02:30:19AM +0200, Dimitri Smits wrote: Yes, I've seen the code. fpWeb has a very tight dependency to other fcl packages. Poor Delphi people. ;) serve's'em right... what's that old saying? ya get what ya pay for? i think getting a whole lot more for free is much

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

2010-05-30 Thread Marco van de Voort
On Sat, May 29, 2010 at 06:05:26PM +0200, Michael Van Canneyt wrote: think something can be done there. But I think it would yield more to integrating fcl-passrc into the testsuite, and thus document the boundery conditions of implemented constructs. Well, given the recent breakage

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

2010-05-30 Thread Marco van de Voort
On Sat, May 29, 2010 at 10:35:24PM +0200, Hans-Peter Diettrich wrote: dmitry boyarintsev schrieb: I must agree that marking the unit as deprecated should be enough. It won't break the existing code using the old file, but would also notify maintainers that they should update. I'd move

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

2010-05-30 Thread Mattias Gaertner
On Sat, 29 May 2010 17:07:31 +0200 Marco van de Voort mar...@stack.nl wrote: [...] ptop has an own parser too btw. So that makes at least 4 or 5 parsers in the combined FPC/lazarus projects - the compiler's - fpdoc/fcl-passrc - ptop - lazarus codetools which has several parsers,

Re: [Lazarus] fpweb for delphi?

2010-05-30 Thread Michael Van Canneyt
On Sun, 30 May 2010, Dimitri Smits wrote: Waldo Kitty wrote: On 5/28/2010 05:03, Bee Jay wrote: On 27 Mei 2010, at 18:56, Michael Van Canneyt wrote: I don't think we will do this. It will require too many changes. Yes, I've seen the code. fpWeb has a very tight dependency to other fcl

Re: [Lazarus] fpweb for delphi?

2010-05-30 Thread Jürgen Hestermann
I know (Object) Pascal for 25 years. I solve problems in no time using this language, because over 25 years my toolbox is well stacked, and I continuously improve mysel. Yes. Why start from scratch over and over again with new languages if it's possible to use a well known language? --

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

2010-05-30 Thread Mattias Gaertner
On Sat, 29 May 2010 19:41:52 +0300 patspiper patspi...@yahoo.com wrote: On 05/29/2010 09:35 AM, dmitry boyarintsev wrote: I'm a bit puzzled there're 2 units in fpc-xml: xmlcfg and xmlconfg Both of them declare TXMLConfig class. The interfaces of both classes seems to be quite identical.

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

2010-05-30 Thread Mattias Gaertner
On Sat, 29 May 2010 15:10:59 +0400 dmitry boyarintsev skalogryz.li...@gmail.com wrote: On Sat, May 29, 2010 at 2:30 PM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: So what are the main reasons nobody wants to use the fcl-passrc parser? Lack of the expression parser? The expression

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

2010-05-30 Thread Michael Van Canneyt
On Sat, 29 May 2010, Hans-Peter Diettrich wrote: Michael Van Canneyt schrieb: Well, given the recent breakage because of the support for 'deprecated', I started on a test file, but I think that a better and more fundamental approach is needed. My idea was to create a large number of small

Re: [Lazarus] Installing Components

2010-05-30 Thread Mattias Gaertner
On Sun, 30 May 2010 10:28:24 +0100 Technical t...@polypressuk.co.uk wrote: I have a problem with installing components on upgrading from 0.9.26 to 0.9.29. I have installed several extra components on the previous versions of Lazarus (0.9.26) which allowed grids to be aligned within each

Re: [Lazarus] fpweb for delphi?

2010-05-30 Thread Bee Jay
On 30 Mei 2010, at 18:37, Michael Van Canneyt wrote: If I had to buy a new toolbox for every new problem, I would have been bancrupt a long time ago. Most non-developers people usually think that something that is sooo popular, then it must be the best. Which is another fallacy, I suppose.

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

2010-05-30 Thread Michael Van Canneyt
On Sun, 30 May 2010, Marco van de Voort wrote: On Sat, May 29, 2010 at 06:05:26PM +0200, Michael Van Canneyt wrote: think something can be done there. But I think it would yield more to integrating fcl-passrc into the testsuite, and thus document the boundery conditions of implemented

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

2010-05-30 Thread Michael Van Canneyt
On Sun, 30 May 2010, Mattias Gaertner wrote: On Sat, 29 May 2010 15:10:59 +0400 dmitry boyarintsev skalogryz.li...@gmail.com wrote: On Sat, May 29, 2010 at 2:30 PM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: So what are the main reasons nobody wants to use the fcl-passrc parser?

[Lazarus] fpWeb on 15347

2010-05-30 Thread Leonardo M.
Hi, just ugraded FPC to rev 15347 and found this: In Lazarus, when I start a new CGI App, and double click on the web module to invoke the OnCreate editor, this error appears: main.pas(8,79) Error: source not found: unit /usr/local/lib/fpc/2.5.1/units/x86_64-linux/fcl-web/fpweb.ppu But the file

Re: [Lazarus] fpWeb on 15347

2010-05-30 Thread Leonardo M.
El dom, 30-05-2010 a las 12:30 -0300, Leonardo M. Ramé escribió: Hi, just ugraded FPC to rev 15347 and found this: In Lazarus, when I start a new CGI App, and double click on the web module to invoke the OnCreate editor, this error appears: main.pas(8,79) Error: source not found: unit

Re: [Lazarus] fpWeb on 15347

2010-05-30 Thread Michael Van Canneyt
On Sun, 30 May 2010, Leonardo M. Ramé wrote: El dom, 30-05-2010 a las 12:30 -0300, Leonardo M. Ramé escribió: Hi, just ugraded FPC to rev 15347 and found this: In Lazarus, when I start a new CGI App, and double click on the web module to invoke the OnCreate editor, this error appears:

[Lazarus] Request

2010-05-30 Thread Leonardo M.
The other day I was showing Lazarus to an friend (a Delphi fanatic) to let him know how it was improved since the last time he looked at it, he spend the whole afternoon working with it, and he was amazed. The only thing he didn't like about it was this: When I place a control over a form or

Re: [Lazarus] fpweb for delphi?

2010-05-30 Thread Myles Wakeham
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? Ever heard of Facebook? Or SugarCRM? They are PHP apps. And PHP

Re: [Lazarus] fpweb for delphi?

2010-05-30 Thread waldo kitty
On 5/30/2010 06:33, Marco van de Voort wrote: On Sun, May 30, 2010 at 02:30:19AM +0200, Dimitri Smits wrote: Java, silverlight.net on small hosting? Less than CGI? Ruby is even more an white elephant. NEver saw a commercial hoster offer RoR. (sure if I go to the Ruby site I find a few), but it

[Lazarus] easy cross-platform compiling??

2010-05-30 Thread 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 cross-compile add-on... the linux cross-compile add-on would have

[Lazarus] Question about SVN version stability

2010-05-30 Thread theo
I have a question regarding the current status of trunk. I have a self written component which is going into eternal loop in the area BoundsRect. It worked for several versions before current 0.9.29. It's very well possible that it's a bug in my component. I'm just asking if it's worth

Re: [Lazarus] fpWeb on 15347

2010-05-30 Thread Joost van der Sluis
On Sun, 2010-05-30 at 17:46 +0200, Michael Van Canneyt wrote: On Sun, 30 May 2010, Leonardo M. Ramé wrote: El dom, 30-05-2010 a las 12:30 -0300, Leonardo M. Ramé escribió: Hi, just ugraded FPC to rev 15347 and found this: In Lazarus, when I start a new CGI App, and double click on the

[Lazarus] No help found for...

2010-05-30 Thread Jürgen Hestermann
When I put the cursor on any word and type F1 then I always get an error like No help found for ... at (18,18) I installed multiple versions of Lazarus in the past. Any ideas on how to fix this would be appreciated -- ___ Lazarus mailing list

Re: [Lazarus] No help found for...

2010-05-30 Thread Jürgen Hestermann
When I put the cursor on any word and type F1 then I always get an error like No help found for ... at (18,18) I installed multiple versions of Lazarus in the past. Any ideas on how to fix this would be appreciated Forget it. I already found it. I had to download the help files separately

[Lazarus] CGI fpWeb Error

2010-05-30 Thread Leonardo M.
After I compiled a CGI app using fpWeb from fpc rev 15347 on Linux x86-64 I got this error message on the browser: The application encountered the following error: * Error: Could not determine HTTP module for request cgi-bin * Stack trace: $004929D2

Re: [Lazarus] Request

2010-05-30 Thread Mattias Gaertner
On Sun, 30 May 2010 12:54:34 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: The other day I was showing Lazarus to an friend (a Delphi fanatic) to let him know how it was improved since the last time he looked at it, he spend the whole afternoon working with it, and he was amazed. The only

Re: [Lazarus] Request

2010-05-30 Thread Leonardo M.
El dom, 30-05-2010 a las 19:26 +0200, Mattias Gaertner escribió: On Sun, 30 May 2010 12:54:34 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: The other day I was showing Lazarus to an friend (a Delphi fanatic) to let him know how it was improved since the last time he looked at it, he

Re: [Lazarus] Question about SVN version stability

2010-05-30 Thread Mattias Gaertner
On Sun, 30 May 2010 18:28:59 +0200 theo x...@theo.ch wrote: I have a question regarding the current status of trunk. I have a self written component which is going into eternal loop in the area BoundsRect. It worked for several versions before current 0.9.29. Several means what: 10 or 100 or

Re: [Lazarus] No help found for...

2010-05-30 Thread Krisztián Nagy
I think don't forget about it. Simply putting some additional info to that messagebox that says make sure you have the appropriate help files installed maybe also giving some download url would make it faster to find the solution in such cases. Or say, make lazarus more user friendly :) 2010/5/30

Re: [Lazarus] Question about SVN version stability

2010-05-30 Thread theo
Thank you for your time Matthias Several means what: 10 or 100 or 1000? I don't know the exact version when it stopped working, but it certainly worked with 0.9.29 r23701 and several release versions before afair. Compile the LCL with -dVerboseIntfSizing. Thank you, I will try this.

Re: [Lazarus] CGI fpWeb Error

2010-05-30 Thread Joost van der Sluis
On Sun, 2010-05-30 at 14:25 -0300, Leonardo M. Ramé wrote: After I compiled a CGI app using fpWeb from fpc rev 15347 on Linux x86-64 I got this error message on the browser: The application encountered the following error: * Error: Could not determine HTTP module for request cgi-bin

Re: [Lazarus] Question about SVN version stability

2010-05-30 Thread theo
P.S. If you want to know what it is: I've posted a demo on Deutsches Lazarusforum one and a half year ago, You can checkout the old compiled version for GTK2 here: http://www.theo.ch/lazarus/woprsnap.zip It's a proof of concept for a Word Processor / Rich Editor whatever. Entirely written with

Re: [Lazarus] CGI fpWeb Error

2010-05-30 Thread Leonardo M.
El dom, 30-05-2010 a las 20:21 +0200, Joost van der Sluis escribió: Yes, comment line 408 and 409 in custcgi.pp. Could you show me what do you see in those lines? here in 408 is an end; and 409 is empty. Line 408 marks the end of this method: Function TCGIRequest.GetFieldValue(Index : Integer)

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

2010-05-30 Thread Florian Klaempfl
Hans-Peter Diettrich schrieb: Florian Klaempfl schrieb: I doubt this, just one example: ptconst.pas: it parses typed constants. Due being tailored for the compiler, it reads the constants and writes them without any second pass to the output assembler list. A generic parser needs to create

[Lazarus] DTD ENTITY question

2010-05-30 Thread Adem
I am writing a general parser for DTD files and have made some headway. I need to know the general (canonical?) name for '*%HTMLlat1*;' at the end of the following line: !ENTITY % HTMLlat1 PUBLIC -//W3C//ENTITIES Latin1//EN//HTML HTMLlat1.ent*%HTMLlat1*; I don't seem to be able to find in

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

2010-05-30 Thread Adem
On 2010-05-30 21:46, Florian Klaempfl wrote: Hans-Peter Diettrich schrieb: Florian Klaempfl schrieb: I doubt this, just one example: ptconst.pas: it parses typed constants. Due being tailored for the compiler, it reads the constants and writes them without any second pass to the

Re: [Lazarus] CGI fpWeb Error

2010-05-30 Thread Joost van der Sluis
On Sun, 2010-05-30 at 15:35 -0300, Leonardo M. Ramé wrote: El dom, 30-05-2010 a las 20:21 +0200, Joost van der Sluis escribió: Yes, comment line 408 and 409 in custcgi.pp. Could you show me what do you see in those lines? here in 408 is an end; and 409 is empty. Line 408 marks the end of

Re: [Lazarus] DTD ENTITY question

2010-05-30 Thread Sergei Gorelkin
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 need to know the general (canonical?) name for '*%HTMLlat1*;' at the end of the following line: !ENTITY %

Re: [Lazarus] fpweb for delphi?

2010-05-30 Thread Lee Jenkins
Dimitri Smits wrote: Waldo Kitty wrote: On 5/28/2010 05:03, Bee Jay wrote: On 27 Mei 2010, at 18:56, Michael Van Canneyt wrote: I don't think we will do this. It will require too many changes. Yes, I've seen the code. fpWeb has a very tight dependency to other fcl packages. Poor Delphi

[Lazarus] Indy WebDAV

2010-05-30 Thread Vannus
anybody got this working at all? any other WebDAV clients out there that might work? - V -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] No help found for...

2010-05-30 Thread Hans-Peter Diettrich
Krisztián Nagy schrieb: I think don't forget about it. Simply putting some additional info to that messagebox that says make sure you have the appropriate help files installed maybe also giving some download url would make it faster to find the solution in such cases. Or say, make lazarus

Re: [Lazarus] spaces or tabs? (was: clarification / Re: constant-highlight ? [Re: quick opinion poll / pascal highlighting case])

2010-05-30 Thread Graeme Geldenhuys
On 30 May 2010 17:11, waldo kitty wrote: their code tags to preserve the formatting... the tabs become spaces in the browser and the alignment is thrown off... it doesn't matter if it is a table, chart or simply source code... Maybe Lazarus IDE needs a special copy command that automatically

Re: [Lazarus] No help found for...

2010-05-30 Thread Graeme Geldenhuys
On 30 May 2010 22:47, Hans-Peter Diettrich wrote: We also should have local IDE help sources, for every lazarus version. I hope to release the final fpGUI v0.7 in a few days. At the same time I'll release pre-compiled INF help files for RTL, LCL, FCL, fpGUI and the FPC Language Reference.

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

2010-05-30 Thread Graeme Geldenhuys
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. MSEide is *much* better at

Re: [Lazarus] fpweb for delphi?

2010-05-30 Thread Graeme Geldenhuys
On 30 May 2010 18:09, Myles Wakeham wrote: together, but please don't underestimate what PHP can (and has done) in web development circles. In the same breath: Don't underestimate what FPC can (and has done) in web development circles. :) Just because we don't brag (make noise or whatever

[Lazarus] the one bug that was a great feature....

2010-05-30 Thread Martin
http://mantis.freepascal.org/view.php?id=16432 Setting Clean All in Configure Build Lazarus is not stored. If I enable the setting Clean All and then close and re-start Lazarus, the setting is not checked anymore. I really loved the old behaviour, you could do *one* clean build, and then the

Re: [Lazarus] Indy WebDAV

2010-05-30 Thread Vannus
I think my problems are related to lack of HTTP 1.1 support in Indy... anyone got any suggestions? - V On 30 May 2010 22:06, Vannus van...@gmail.com wrote: anybody got this working at all? any other WebDAV clients out there that might work? - V --

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

2010-05-30 Thread Doug Chamberlin
Adem- 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. So, I'd like to discuss some of the issues surrounding this decision. I'd like to get your ideas on the following problem. There are basically two

[Lazarus] FCL-Image question

2010-05-30 Thread Matt Shaffer
FCL-Image is quite powerful (although notably slow), it is mostly suitable for my needs. I've got it writing a solid black PNG file just fine with the help of the wiki example, but is it possible to create a memory image with an alpha channel and have it save the PNG as such? I can't manage to

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

2010-05-30 Thread Rick
Alexander Klenin wrote: Yes, I wanted to ask you the very same question ;-) The reason I did not implement it immediately is that I am not quite sure about the format of said property and how should it refer to the series. My current thinking is that it should be a simple comma-separated list of