Re: [Lazarus] SetFocus have no effect after TCustomForm.Show

2015-10-16 Thread Gabor Boros
Ok, then please open issue about it and attach example as you attached in your e-mail, so then I'll commit patch and connect it to that issue (so it's easier to track possible regressions). I found a problem. See the attached example. With Form2 works like a charm after patch applied, but with

[Lazarus] Hiding Warnings from a specific directory

2015-10-16 Thread Alexsander Rosa
I would love to hide these (from */usr/share/lazarus* itself): "Compiling package lazreportpdfexport 0.8" completed "Compiling package ACBr_BoletoFC_LazReport 0.1" completed Options changed, recompiling clean with -B /usr/share/lazarus/1.2.6/components/lazreport/source/lr_pars.pas(218,72)

Re: [Lazarus] Hiding Warnings from a specific directory

2015-10-16 Thread Alexsander Rosa
I want to see ALL warnings in *my* code, it's not a verbosity issue. I would like to omit warnings from *other people's* code. 2015-10-16 17:10 GMT-03:00 Héctor Fiandor : > Dear Alexsander: > > > > Have you trial with Project/Options/”Verbosidad”? > > > > Yours > > > >

Re: [Lazarus] Type helper now work with CodeTools?

2015-10-16 Thread Mattias Gaertner
On Thu, 15 Oct 2015 23:37:42 -0400 Anthony Walter wrote: > Well I found bugs with it which cause CodeTools will throw an access > violations in the IDE. > > bug 28860 if a type helper > in another unit has a property, the second

Re: [Lazarus] Hiding Warnings from a specific directory

2015-10-16 Thread Mattias Gaertner
On Fri, 16 Oct 2015 18:10:50 -0300 Alexsander Rosa wrote: > I want to see ALL warnings in *my* code, it's not a verbosity issue. > I would like to omit warnings from *other people's* code. Right click on the message. You will get several quick fix options. Adding

Re: [Lazarus] Are lazarus / fpc sensitive to line endings?

2015-10-16 Thread Michael Van Canneyt
On Fri, 16 Oct 2015, Bo Berglund wrote: I need to set up some version control on the files I work on in Lazarus on the Raspberry Pi. But I have been unable to make the Pi connect to the company VPN so it cannot be direcly communicating with the server. I know tha some years ago when I was

Re: [Lazarus] Are lazarus / fpc sensitive to line endings?

2015-10-16 Thread Mark Morgan Lloyd
Bo Berglund wrote: So is fpc and/or lazarus sensitive to line endings like shell scripts are? Shouldn't be, but I'd not go so far as to say that finding something that is should automatically be reported as a bug. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are

Re: [Lazarus] Hiding Warnings from a specific directory

2015-10-16 Thread Héctor Fiandor
Dear Alexsander: Have you trial with Project/Options/”Verbosidad”? Yours Ing. Héctor Fiandor hfian...@ceniai.inf.cu De: Alexsander Rosa [mailto:alexsander.r...@gmail.com] Enviado el: viernes, 16 de octubre de 2015 03:54 p. m. Para: Lazarus mailing list Asunto: [Lazarus]

Re: [Lazarus] Are lazarus / fpc sensitive to line endings?

2015-10-16 Thread Mattias Gaertner
On Fri, 16 Oct 2015 21:45:07 +0200 Bo Berglund wrote: >[...] > So instead I figured I could make a samba share on the Pi where the > dev files reside and then use my Win7 PC which is connected by VPN as > the vehicle to check out and commit source files. All I need to do

Re: [Lazarus] Are lazarus / fpc sensitive to line endings?

2015-10-16 Thread Bo Berglund
On Fri, 16 Oct 2015 23:25:29 +0200, Mattias Gaertner wrote: >This means you can share read-only sources, but the sources you edit >on Linux and Windows should *not* be shared via a samba share. >Checkout cvs/svn/git for each platform and let the version control >system

[Lazarus] Are lazarus / fpc sensitive to line endings?

2015-10-16 Thread Bo Berglund
I need to set up some version control on the files I work on in Lazarus on the Raspberry Pi. But I have been unable to make the Pi connect to the company VPN so it cannot be direcly communicating with the server. I know tha some years ago when I was doing some webserver work in a Linux Mint

Re: [Lazarus] Building and starting Lazarus on Raspberry Pi2 with Raspbian Jessie

2015-10-16 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Thu, 15 Oct 2015 21:26:33 +, Mark Morgan Lloyd wrote: If you're compiling trunk and get something like this, the first thing to do is check whether somebody's just fixed it. It's very much a "movable feast" and it's difficult to know

Re: [Lazarus] Fwd: Re: EditorToolBarOptions nodes demaged

2015-10-16 Thread FreeMan
On 16.10.2015 11:10, Ondrej Pokorny wrote: On 16.10.2015 10:06, FreeMan wrote: Thank you fixed. 1-) After "Configure Tookbar" Button has two dotted line there. Why? I'm not added. I cannot reproduce. Explain better. I get that screenshot, when start IDE. Open "options" from main IDE menu

Re: [Lazarus] Fwd: Re: EditorToolBarOptions nodes demaged

2015-10-16 Thread Ondrej Pokorny
On 16.10.2015 10:25, FreeMan wrote: On 16.10.2015 11:10, Ondrej Pokorny wrote: On 16.10.2015 10:06, FreeMan wrote: Thank you fixed. 1-) After "Configure Tookbar" Button has two dotted line there. Why? I'm not added. I cannot reproduce. Explain better. I get that screenshot, when start

[Lazarus] GB18030 support in Lazarus

2015-10-16 Thread Tony Whyman
Does anyone know if the lazutf8 functions also work with GB18030 (Chinese character set)? Tony Whyman MWA -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Type helper now work with CodeTools?

2015-10-16 Thread Ondrej Pokorny
On 16.10.2015 05:37, Anthony Walter wrote: Well I found bugs with it which cause CodeTools will throw an access violations in the IDE. bug 28860 if a type helper in another unit has a property, the second attempt to use code insight throws an

Re: [Lazarus] Fwd: Re: EditorToolBarOptions nodes demaged

2015-10-16 Thread Ondrej Pokorny
On 16.10.2015 10:06, FreeMan wrote: Thank you fixed. 1-) After "Configure Tookbar" Button has two dotted line there. Why? I'm not added. I cannot reproduce. Explain better. 2-) How to add spacer (dotted line) in "Toolbar configuration" --> "Toolbar commands" ? The same as before. There

Re: [Lazarus] Building and starting Lazarus on Raspberry Pi2 with Raspbian Jessie

2015-10-16 Thread Juha Manninen
On Thu, Oct 15, 2015 at 11:13 PM Bo Berglund wrote: > 5) Go to ~/development/lazarus and run: > time make bigide > This completes in about 17 minutes > This is quite fast. Last time it took an hour, didn't it? Looks like Raspberry Pi2 is fast enough for most personal

Re: [Lazarus] GB18030 support in Lazarus

2015-10-16 Thread Tony Whyman
"Work": It was intended as a general question as I am trying to understand where the differences are between UTF8 and GB18030, and whether there is explicit support in Lazarus for GB18030, or if it is a case of "Lazarus should support GB18030 because it supports UTF8". In terms of "work", if

Re: [Lazarus] GB18030 support in Lazarus

2015-10-16 Thread Mattias Gaertner
On Fri, 16 Oct 2015 10:19:45 +0100 Tony Whyman wrote: > "Work": It was intended as a general question as I am trying to > understand where the differences are between UTF8 and GB18030, and > whether there is explicit support in Lazarus for GB18030, or if it is a

Re: [Lazarus] Building and starting Lazarus on Raspberry Pi2 with Raspbian Jessie

2015-10-16 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Fri, 16 Oct 2015 06:39:24 +, Mark Morgan Lloyd wrote: I simply used the standard 1.4 sources. And I'm pretty sure I've already told you that. Will Lazarus 1.4.x work with FPC 3.1.1? Or do I have to scrap all of what I have done and

[Lazarus] SetFocus have no effect after TCustomForm.Show

2015-10-16 Thread Gabor Boros
Hi All, The attached example works on Windows properly. But not with Linux Qt (KDE4). I want to see the green form above Form2 while Form2.Edit1 focused. (Press btnForm2 on Form1 and press Button1 on Form2.) If focus Edit1 manually the green form go under Form2. I reported some problem

Re: [Lazarus] Fwd: Re: EditorToolBarOptions nodes demaged

2015-10-16 Thread FreeMan
Thank you. Is need report new issue? or not. On 16.10.2015 11:32, Ondrej Pokorny wrote: On 16.10.2015 10:25, FreeMan wrote: On 16.10.2015 11:10, Ondrej Pokorny wrote: On 16.10.2015 10:06, FreeMan wrote: Thank you fixed. 1-) After "Configure Tookbar" Button has two dotted line there. Why?

Re: [Lazarus] GB18030 support in Lazarus

2015-10-16 Thread Mattias Gaertner
On Fri, 16 Oct 2015 09:31:47 +0100 Tony Whyman wrote: > Does anyone know if the lazutf8 functions also work with GB18030 > (Chinese character set)? Please define "work". The LazUTF8 supports the full UTF-8 encoding, which afaik is enough to support all

Re: [Lazarus] Fwd: Re: EditorToolBarOptions nodes demaged

2015-10-16 Thread FreeMan
Ok, Thank you for your help Ondrej On 16.10.2015 12:00, Ondrej Pokorny wrote: On 16.10.2015 10:52, FreeMan wrote: Thank you. Is need report new issue? or not. The editor toolbar needs refactoring in this respect. The "options" tool button should not be there at all. Instead there should be

Re: [Lazarus] Fwd: Re: EditorToolBarOptions nodes demaged

2015-10-16 Thread Ondrej Pokorny
On 16.10.2015 10:52, FreeMan wrote: Thank you. Is need report new issue? or not. The editor toolbar needs refactoring in this respect. The "options" tool button should not be there at all. Instead there should be a popup menu with "Options" item as it is everywhere else. So no report is

Re: [Lazarus] SetFocus have no effect after TCustomForm.Show

2015-10-16 Thread Zeljko
On 10/16/2015 02:02 PM, Gabor Boros wrote: 2015.10.16. 13:41 keltezéssel, Zeljko írta: Please try with attached patch. In this case you can test without FormStyle := fsStayOnTop. FYI, in this patch I'm setting stayontop for X11 so that could make a problem. Test with this patch and let me

Re: [Lazarus] SetFocus have no effect after TCustomForm.Show

2015-10-16 Thread Gabor Boros
2015.10.16. 14:15 keltezéssel, Zeljko írta: Is fsStayOnTop working properly? Because I see fsSystemStayOnTop exists too. Under X11 they're same. Pls, try another patch which uses another approach (I've sent it in previous mail). I nor see difference on Windows between fsStayOnTop and

Re: [Lazarus] Win 10 IOT Core

2015-10-16 Thread Žilvinas Ledas
On 2015-10-16 15:28, Michael Van Canneyt wrote: What about Win 10 IOT Core for ARM ? I suppose that some work needs to be done to support Win 10 IOT Core on ARM. It depends on whether normal WinAPI programs will work there. I thought not? According to

Re: [Lazarus] SetFocus have no effect after TCustomForm.Show

2015-10-16 Thread Zeljko
On 10/16/2015 12:25 PM, Gabor Boros wrote: Hi All, The attached example works on Windows properly. But not with Linux Qt (KDE4). I want to see the green form above Form2 while Form2.Edit1 focused. (Press btnForm2 on Form1 and press Button1 on Form2.) If focus Edit1 manually the green form go

Re: [Lazarus] Win 10 IOT Core

2015-10-16 Thread Sven Barth
Am 16.10.2015 09:45 schrieb "Michael Schnell" : > > (avoiding to hitchhike the other thread)) > > On 10/16/2015 07:32 AM, LacaK wrote: >> >> Same in our company. We use Motorola mobile computers with WinCE 5 and WinCE6 and we compile native applications for them. >> (So WinCE

Re: [Lazarus] SetFocus have no effect after TCustomForm.Show

2015-10-16 Thread Gabor Boros
2015.10.16. 13:41 keltezéssel, Zeljko írta: Please try with attached patch. In this case you can test without FormStyle := fsStayOnTop. FYI, in this patch I'm setting stayontop for X11 so that could make a problem. Test with this patch and let me know if this is what you want. If not I have

Re: [Lazarus] SetFocus have no effect after TCustomForm.Show

2015-10-16 Thread Zeljko
On 10/16/2015 12:25 PM, Gabor Boros wrote: Hi All, The attached example works on Windows properly. But not with Linux Qt (KDE4). I want to see the green form above Form2 while Form2.Edit1 focused. (Press btnForm2 on Form1 and press Button1 on Form2.) If focus Edit1 manually the green form go

Re: [Lazarus] SetFocus have no effect after TCustomForm.Show

2015-10-16 Thread Zeljko
On 10/16/2015 01:33 PM, Gabor Boros wrote: 2015.10.16. 13:14 keltezéssel, Zeljko írta: You can set FormStyle := fsStayOnTop for that popup form so you'll achieve that effect. zeljko I tried this before wrote to the list but have a side effect. The green form showed above all other opened

Re: [Lazarus] SetFocus have no effect after TCustomForm.Show

2015-10-16 Thread Zeljko
Another patch is attached (it uses cheat via QtTool flag instead QtWindowStaysOnTop) ... let me know if this one is what you want. zeljko Index: lcl/interfaces/qt/qtwsforms.pp === --- lcl/interfaces/qt/qtwsforms.pp (revision

Re: [Lazarus] Building and starting Lazarus on Raspberry Pi2 with Raspbian Jessie

2015-10-16 Thread Bo Berglund
On Fri, 16 Oct 2015 10:58:11 +0200, Mattias Gaertner wrote: >> and the tutorial I started with uses: >> /usr/local/lazarus > >Bad tutorial. Where is it? http://www.tweaking4all.com/hardware/raspberry-pi/install-lazarus-pascal-on-raspberry-pi-2 I am trying to get

Re: [Lazarus] SetFocus have no effect after TCustomForm.Show

2015-10-16 Thread Gabor Boros
2015.10.16. 13:14 keltezéssel, Zeljko írta: You can set FormStyle := fsStayOnTop for that popup form so you'll achieve that effect. zeljko I tried this before wrote to the list but have a side effect. The green form showed above all other opened windows (not just form's of current

Re: [Lazarus] Win 10 IOT Core

2015-10-16 Thread Michael Van Canneyt
On Fri, 16 Oct 2015, Sven Barth wrote: Am 16.10.2015 09:45 schrieb "Michael Schnell" : (avoiding to hitchhike the other thread)) On 10/16/2015 07:32 AM, LacaK wrote: Same in our company. We use Motorola mobile computers with WinCE 5 and WinCE6 and we compile native

[Lazarus] Lazarus Team: Do you use unit testing?

2015-10-16 Thread Anthony Walter
Ondre remarked in a previous message that he had submitted a fix for new CodeTools functionality which might have been broken in a later patch. This morning I've found 3 new issues (causing access violations) with CodeTools which were previously working. This has me wondering, why don't we use

Re: [Lazarus] Lazarus Team: Do you use unit testing?

2015-10-16 Thread Ondrej Pokorny
On 16.10.2015 15:42, Anthony Walter wrote: Ondre remarked in a previous message that he had submitted a fix for new CodeTools functionality which might have been broken in a later patch. This morning I've found 3 new issues (causing access violations) with CodeTools which were previously

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-16 Thread Ondrej Pokorny
On 14.10.2015 20:24, Anthony Walter wrote: Ondrej, Fantastic! That's exactly what I (and maybe some others) were looking for. When you check it in please reply with the revision number so I can svn diff to see only your changes. I'd be interested in reviewing them. Hopefully your addition

Re: [Lazarus] GB18030 support in Lazarus

2015-10-16 Thread Mattias Gaertner
On Fri, 16 Oct 2015 14:33:03 +0100 Martin Frb wrote: > On 16/10/2015 10:19, Tony Whyman wrote: > > > > In terms of "work", if I use functions such as UTF8Length and > > ValidUTF8String on a GB18030 string should they always work, or are > > there exceptions? > > IIRC ...

Re: [Lazarus] Building and starting Lazarus on Raspberry Pi2 with Raspbian Jessie

2015-10-16 Thread Bo Berglund
On Fri, 16 Oct 2015 08:57:45 +, Mark Morgan Lloyd wrote: >There isn't one. Even considering "standard packages", different Linux >distreaux and other unix implementations (Solaris etc.) have different >conventions for where they install non-core stuff:

Re: [Lazarus] Lazarus Team: Do you use unit testing?

2015-10-16 Thread Mattias Gaertner
On Fri, 16 Oct 2015 09:42:15 -0400 Anthony Walter wrote: > Ondre remarked in a previous message that he had submitted a fix for new > CodeTools functionality which might have been broken in a later > patch. This morning I've found 3 new issues (causing access violations) > with

Re: [Lazarus] Win 10 IOT Core

2015-10-16 Thread Michael Schnell
On 10/16/2015 03:00 PM, Michael Van Canneyt wrote: So, that is not the GDI winapi... I understand that it is meant as a replacement for WinCE (and of course to fight Linux), but not as a competitor for Desktop Windows. But happily, Delphi (and very likely Windows-fpc-) programs will run.

Re: [Lazarus] GB18030 support in Lazarus

2015-10-16 Thread Martin Frb
On 16/10/2015 10:19, Tony Whyman wrote: In terms of "work", if I use functions such as UTF8Length and ValidUTF8String on a GB18030 string should they always work, or are there exceptions? IIRC ... UTF8Length counts codepoints, not chars. So if the chars you are interested in have chars

Re: [Lazarus] SetFocus have no effect after TCustomForm.Show

2015-10-16 Thread Gabor Boros
2015.10.16. 15:07 keltezéssel, Zeljko írta: Ok, then please open issue about it and attach example as you attached in your e-mail, so then I'll commit patch and connect it to that issue (so it's easier to track possible regressions). http://bugs.freepascal.org/view.php?id=28863 Patch tested

Re: [Lazarus] SetFocus have no effect after TCustomForm.Show

2015-10-16 Thread Zeljko
On 10/16/2015 02:44 PM, Gabor Boros wrote: 2015.10.16. 14:15 keltezéssel, Zeljko írta: Is fsStayOnTop working properly? Because I see fsSystemStayOnTop exists too. Under X11 they're same. Pls, try another patch which uses another approach (I've sent it in previous mail). I nor see

Re: [Lazarus] Win 10 IOT Core

2015-10-16 Thread Sven Barth
Am 16.10.2015 15:22 schrieb "Michael Schnell" : > Maybe on ARM the WinCE application type might work ??? I doubt very much that Microsoft ported the WinCE API to their NT based system and yes, they use very different libraries. Regards, Sven --

Re: [Lazarus] Building and starting Lazarus on Raspberry Pi2 with Raspbian Jessie

2015-10-16 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Fri, 16 Oct 2015 08:57:45 +, Mark Morgan Lloyd wrote: There isn't one. Even considering "standard packages", different Linux distreaux and other unix implementations (Solaris etc.) have different conventions for where they install

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-16 Thread Anthony Walter
Great work Ondrej! I've tested your patch and updated the notes in Mantis for that issue. I'll study the patch details soon. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Fwd: Re: EditorToolBarOptions nodes demaged

2015-10-16 Thread Ondrej Pokorny
On 16.10.2015 11:28, FreeMan wrote: Ok, Thank you for your help Ondrej http://bugs.freepascal.org/view.php?id=28865 Please test if you have double separators even with the patch. Ondrej -- ___ Lazarus mailing list

Re: [Lazarus] Are lazarus / fpc sensitive to line endings?

2015-10-16 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: On Fri, 16 Oct 2015 21:45:07 +0200 Bo Berglund wrote: So is fpc and/or lazarus sensitive to line endings like shell scripts are? Lazarus and FPC happily read all three line endings. But when you write code on Linux, Linux line endings will be