Re: [Lazarus] Paint over TEdit control

2014-06-20 Thread Graeme Geldenhuys
On 2014-06-18 17:37, Krzysztof wrote: Is it possible to paint over TEdit control? I need this for windows and linux (qt, gtk). For now I need only draw text You can't. The stock LCL controls are not meant for customisation - they are for native look only and for adhering to the underlying

[Lazarus] cairocanvas_pkg compatibility issue

2014-06-20 Thread Giuliano Colla
Hi Lazarus developers, after fighting some time for compiling Lazarus bigide under CentOs 5, I found that the villain in cairocanvas_pkg. Lazreports pulls in Printers4lazarus, which in turn pulls in cairocanvas_pkg, which, just in one place requires cairo_clip_extents, which is available only

Re: [Lazarus] EpikTimer v1.0.1 released

2014-06-20 Thread Michael Schnell
On 06/18/2014 04:03 PM, Lukasz Sokol wrote: I think this vdso time thing is so fresh, it'll be great if you contact the maintainer (Andy Lutomirski) or the guy that wrote it (Stefani Seibold) I wrote to Andy and he replied very quickly. Unfortunately it seems that ubiquitous availability for

Re: [Lazarus] EpikTimer v1.0.1 released

2014-06-20 Thread Lukasz Sokol
On 20/06/14 11:53, Michael Schnell wrote: On 06/18/2014 04:03 PM, Lukasz Sokol wrote: I think this vdso time thing is so fresh, it'll be great if you contact the maintainer (Andy Lutomirski) or the guy that wrote it (Stefani Seibold) I wrote to Andy and he replied very quickly.

Re: [Lazarus] EpikTimer v1.0.1 released

2014-06-20 Thread Henry Vermaak
On Fri, Jun 20, 2014 at 12:38:22PM +0100, Lukasz Sokol wrote: On 20/06/14 11:53, Michael Schnell wrote: On 06/18/2014 04:03 PM, Lukasz Sokol wrote: I think this vdso time thing is so fresh, it'll be great if you contact the maintainer (Andy Lutomirski) or the guy that wrote it (Stefani

Re: [Lazarus] EpikTimer v1.0.1 released

2014-06-20 Thread Michael Schnell
On 06/20/2014 01:38 PM, Lukasz Sokol wrote: Is it possible to call about any syscall (timing included) through (32bit) exising vdso ? I understand that is what __kernel_vsyscall is supplied for (and I don't understand why it is nit supplied in 64 Bit). And measure how it goes vs 'normal' way

Re: [Lazarus] EpikTimer v1.0.1 released

2014-06-20 Thread Lukasz Sokol
On 20/06/14 12:52, Michael Schnell wrote: On 06/20/2014 01:38 PM, Lukasz Sokol wrote: Is it possible to call about any syscall (timing included) through (32bit) exising vdso ? I understand that is what __kernel_vsyscall is supplied for (and I don't understand why it is nit supplied in 64

Re: [Lazarus] EpikTimer v1.0.1 released

2014-06-20 Thread Michael Schnell
On 06/20/2014 02:15 PM, Lukasz Sokol wrote: Having a timer component, however, that can use this, could provide us application writers to have a way to detectselect what we want, when it comes to implementation. IMHO a timer component that uses vdso's clock_gettime would be _very_

Re: [Lazarus] about infobuild form development

2014-06-20 Thread FreeMan
Please remove the commented code. Thats okey, ' cos //{$IFNDEF EnableOldExtTools}{$ERROR Obsolete}{$ENDIF} this line is work in InfoBuild.pp this mean this unit was included, and I check one more time without -dEnableCompInfoWnd param. here is okey, next puzzle item; You have to port all

[Lazarus] question and suggestion

2014-06-20 Thread FreeMan
Hello, Question is, why lazarus profile folder is hidden? hide from whom? I'm talk about linux, I don't know other platform, not sure but osx same too, hidden folder. profile folder name start with . I mean. suggestion is lazarus app (exe) can in profile folder. why? if wanna use multi

Re: [Lazarus] Paint over TEdit control

2014-06-20 Thread Jürgen Hestermann
Am 2014-06-20 08:06, schrieb Graeme Geldenhuys: On 2014-06-18 17:37, Krzysztof wrote: Is it possible to paint over TEdit control? I need this for windows and linux (qt, gtk). For now I need only draw text You can't. The stock LCL controls are not meant for customisation - they are for native

Re: [Lazarus] about infobuild form development

2014-06-20 Thread Juha Manninen
FreeMan, you have misunderstood the purpose of infoBuild dialog. It only shows information _during_ compilation, it is not meant for selecting what will be compiled next. Build modes solve your problems. In future it will be possible to select many modes and compile all of them. It is not

Re: [Lazarus] question and suggestion

2014-06-20 Thread Sven Barth
Am 20.06.2014 19:07 schrieb FreeMan freema...@delphiturkiye.com: Hello, Question is, why lazarus profile folder is hidden? hide from whom? I'm talk about linux, I don't know other platform, not sure but osx same too, hidden folder. profile folder name start with . I mean. Because it's good

Re: [Lazarus] question and suggestion

2014-06-20 Thread Martin Frb
On 20/06/2014 18:07, FreeMan wrote: suggestion is lazarus app (exe) can in profile folder. why? Because installation dir may not be writeable to the user, depending on the kind of installation if wanna use multi source (version) of lazarus you have, can make multi profile via ./lazbuild

Re: [Lazarus] question and suggestion

2014-06-20 Thread Reinier Olislagers
On 20/06/2014 19:07, FreeMan wrote: if lazarus application make in profile folder, can lazarus source root path add in application or better way can write in one setting file. similar fpc and fpc source folder. Do you want to have lazarus and the settings in the same directory? That probably

Re: [Lazarus] Paint over TEdit control

2014-06-20 Thread Graeme Geldenhuys
On 2014-06-20 18:09, Jürgen Hestermann wrote: I am also fighting with multicolor text in TLabels etc. ... And another aim I am trying to achive is an edit compontent with (self drawn) multi color text. Is there one? You can try the LCL-CustomDrawn widgets, but last I checked they were

Re: [Lazarus] question and suggestion

2014-06-20 Thread FreeMan
20-06-2014 20:32 tarihinde, Sven Barth yazdı: The user should not need to see maybe should not, but have to now :) 20-06-2014 20:38 tarihinde, Martin Frb yazdı: then create little starter scripts, calling lazarus --pcp=foo See

Re: [Lazarus] about infobuild form development

2014-06-20 Thread FreeMan
Juha, you misunderstood me, is there anybody NOT know this what about this form? my opinion is what will be compile next ADD on this form This is NOT for problem, just make practice use. 20-06-2014 20:11 tarihinde, Juha Manninen yazdı: FreeMan, you have misunderstood the purpose of infoBuild

[Lazarus] USB communications

2014-06-20 Thread Chris Kelling
I have an idea for a project, and need to access some hardware via the USB port. Is there a library or procedure/function to communicate with the port? The device is expecting ASCII characters from the computer, and returning numbers. -Chris Everything at or below the line is a

[Lazarus] USB communications UPDATE

2014-06-20 Thread Chris Kelling
I misstated to parameters - the devise is expecting serial communications, and I have a USB-RS232 adaptor. So the program can look at the port as a RS232 port (coms 1-4). -Chris Everything at or below the line is a signature, not to be confused with the body of the email above.

Re: [Lazarus] question and suggestion

2014-06-20 Thread Martin Frb
On 20/06/2014 20:31, FreeMan wrote: 20-06-2014 20:32 tarihinde, Sven Barth yazdı: The user should not need to see maybe should not, but have to now :) 20-06-2014 20:38 tarihinde, Martin Frb yazdı: then create little starter scripts, calling lazarus --pcp=foo See

Re: [Lazarus] question and suggestion

2014-06-20 Thread FreeMan
20-06-2014 23:28 tarihinde, Martin Frb yazdı: 2) If your lazarus install directory is writeable to the user (e.g. /home/user/laz_install ) , then: - some files (ppu) go into that directory, and NOT into pcp. then you need one install for EACH config Otherwise you can have as many config, from

Re: [Lazarus] question and suggestion

2014-06-20 Thread Martin Frb
On 20/06/2014 21:50, FreeMan wrote: 20-06-2014 23:28 tarihinde, Martin Frb yazdı: 2) If your lazarus install directory is writeable to the user (e.g. /home/user/laz_install ) , then: - some files (ppu) go into that directory, and NOT into pcp. then you need one install for EACH config

Re: [Lazarus] USB communications UPDATE

2014-06-20 Thread Paul Breneman
On 06/20/2014 04:11 PM, Chris Kelling wrote: I misstated to parameters - the devise is expecting serial communications, and I have a USB-RS232 adaptor. So the program can look at the port as a RS232 port (coms 1-4). There is Lazarus source code here that should be easy to use (nothing to

Re: [Lazarus] about infobuild form development

2014-06-20 Thread Mattias Gaertner
On Fri, 20 Jun 2014 17:43:07 +0300 FreeMan freema...@delphiturkiye.com wrote: [...] You have to port all code depending on the infobuild unit. For example the CompileProgress. where is infobuild form show and / or other code? not enough add infobuild in project isn't it? IDE not showing

Re: [Lazarus] about infobuild form development

2014-06-20 Thread Mattias Gaertner
On Fri, 20 Jun 2014 17:43:07 +0300 FreeMan freema...@delphiturkiye.com wrote: [...] Project options set default cpu and os. First click build for linux. ok. for w32, open Project option, find config target change cpu os then click ok then compile third one bla bla same thing. As Juha