Re: [Lazarus] Lazarus Release 1.6

2016-02-24 Thread Kamen Ketev
Many thanks, Mattias! Regards, Kamen > Оригинално писмо >От: Mattias Gaertner nc-gaert...@netcologne.de >Относно: Re: [Lazarus] Lazarus Release 1.6 >До: lazarus@lists.lazarus.freepascal.org >Изпратено на: 24.02.2016 12:01 On Wed, 24 Feb 2016 11:46:05 +0200

Re: [Lazarus] SQLDb and TSQLQuery usage for MSSQL database...

2016-02-24 Thread Michael Van Canneyt
On Wed, 24 Feb 2016, Bo Berglund wrote: On Wed, 24 Feb 2016 11:47:18 +0100 (CET), Michael Van Canneyt wrote: You must additionally set FConn.Transaction:=FTrans; Thank you so much That single omission corrected fixed the problem! This is my first ever

[Lazarus] Keys not recognized by Lazarus 1.6 code editor

2016-02-24 Thread Bo Berglund
I have discovered a strange problem with my Lazarus 1.6 release installation on RPi2 (Raspbian Jessie) concerning keyboard entries. When I connect via VNC from my Windows7 PC I can not enter the characters < or + via the keyboard keys into the Lazarus code editor. But it is working just fine if I

Re: [Lazarus] SQLDb and TSQLQuery usage for MSSQL database...

2016-02-24 Thread Bo Berglund
On Wed, 24 Feb 2016 11:47:18 +0100 (CET), Michael Van Canneyt wrote: >You must additionally set > > FConn.Transaction:=FTrans; Thank you so much That single omission corrected fixed the problem! This is my first ever database query execution from Lazaus on Linux

[Lazarus] Problem with lazarus + fpc-3.0.0 under windows 10

2016-02-24 Thread Zeljko
1.Fpc-3.0.0 2.Lazarus today trunk. 3.Windows 10 pro 64bit in vmware virtual machine Builds fine, works fine. Now I'm trying to install dozen of my own packages...last one is virtualtrees package, in message window I can see: Linking lazarus... and then Fatal: no memory left Tested with pure

Re: [Lazarus] Keys not recognized by Lazarus 1.6 code editor

2016-02-24 Thread Graeme Geldenhuys
On 2016-02-24 13:10, Bo Berglund wrote: > I have discovered a strange problem with my Lazarus 1.6 release > installation on RPi2 (Raspbian Jessie) concerning keyboard entries. I don't believe that is a new issue in Lazarus though, and not limited to only VNC connections. For years I've had issues

Re: [Lazarus] Keys not recognized by Lazarus 1.6 code editor

2016-02-24 Thread Graeme Geldenhuys
On 2016-02-24 15:27, Mark Morgan Lloyd wrote: > I don't see that as necessarily being a Lazarus problem, but Bo's > observation that simple text entry fields behave differently I can understand complex input as you described, but in my case the issue was simply typing code in the code editor

Re: [Lazarus] Keys not recognized by Lazarus 1.6 code editor

2016-02-24 Thread Martin Frb
On 24/02/2016 15:33, Bo Berglund wrote: On Wed, 24 Feb 2016 15:00:42 +, Martin Frb wrote: On 24/02/2016 13:10, Bo Berglund wrote: When I connect via VNC from my Windows7 PC I can not enter the characters < or + via the keyboard keys into the Lazarus code editor.

Re: [Lazarus] Problem with lazarus + fpc-3.0.0 under windows 10

2016-02-24 Thread Zeljko
On 02/24/2016 03:20 PM, Zeljko wrote: 1.Fpc-3.0.0 2.Lazarus today trunk. 3.Windows 10 pro 64bit in vmware virtual machine Builds fine, works fine. Now I'm trying to install dozen of my own packages...last one is virtualtrees package, in message window I can see: Linking lazarus... and then

Re: [Lazarus] Keys not recognized by Lazarus 1.6 code editor

2016-02-24 Thread Martin Frb
On 24/02/2016 13:10, Bo Berglund wrote: I have discovered a strange problem with my Lazarus 1.6 release installation on RPi2 (Raspbian Jessie) concerning keyboard entries. When I connect via VNC from my Windows7 PC I can not enter the characters < or + via the keyboard keys into the Lazarus

Re: [Lazarus] Keys not recognized by Lazarus 1.6 code editor

2016-02-24 Thread Bo Berglund
On Wed, 24 Feb 2016 15:00:42 +, Martin Frb wrote: >On 24/02/2016 13:10, Bo Berglund wrote: >> I have discovered a strange problem with my Lazarus 1.6 release >> installation on RPi2 (Raspbian Jessie) concerning keyboard entries. >> >> When I connect via VNC from my

Re: [Lazarus] Keys not recognized by Lazarus 1.6 code editor

2016-02-24 Thread Graeme Geldenhuys
On 2016-02-24 15:33, Bo Berglund wrote: > Or understand how the Raspbian desktop would land on the Win7 X > screen. :( As far as I know you do get a X Server implementation for Windows too. You would simply start that up, use Putty to SSH (with X11 port forwarding enabled) to the RPi, and run the

Re: [Lazarus] Keys not recognized by Lazarus 1.6 code editor

2016-02-24 Thread Mark Morgan Lloyd
Martin Frb wrote: On 24/02/2016 13:10, Bo Berglund wrote: I have discovered a strange problem with my Lazarus 1.6 release installation on RPi2 (Raspbian Jessie) concerning keyboard entries. When I connect via VNC from my Windows7 PC I can not enter the characters < or + via the keyboard keys

Re: [Lazarus] Keys not recognized by Lazarus 1.6 code editor

2016-02-24 Thread Mark Morgan Lloyd
Graeme Geldenhuys wrote: On 2016-02-24 13:10, Bo Berglund wrote: I have discovered a strange problem with my Lazarus 1.6 release installation on RPi2 (Raspbian Jessie) concerning keyboard entries. I don't believe that is a new issue in Lazarus though, and not limited to only VNC connections.

Re: [Lazarus] Problem with lazarus 1.6?

2016-02-24 Thread Frans
I've solved the problem but still don't know why. I checked the installed package an noticed that LazCustForms was marked for installation but not yet installed. As far as I knwo I do'nt use this, but I installed the package. And the next time I closed my project without problems. I've tried it

Re: [Lazarus] Incompatibility: dynamic array and TStream

2016-02-24 Thread Graeme Geldenhuys
On 2016-02-24 02:59, Donald Ziesig wrote: > and > I've been working for 14 hours so far. ;-) Lucky you, for only having to work half-day. ;-) Regards, - Graeme - -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Clean and build as sudo?

2016-02-24 Thread Bo Berglund
On Wed, 24 Feb 2016 07:00:28 +, Pedro Albuquerque wrote: >After some investigation, I tried Clean and Build, with this error: > >Unable to delete file >"/usr/share/lazarus/1.4.4/components/lazutils/lib/i386-linux/LazUtils.compiled". > >Should I run Lazarus as sudo?

Re: [Lazarus] Lazarus Release 1.6

2016-02-24 Thread Mattias Gaertner
On Wed, 24 Feb 2016 11:46:05 +0200 (EET) Kamen Ketev wrote: > In which modul are > WinCPToUTF8 or CP1251ToUTF8? ( Error: Identifier not found "WinCPToUTF8") WinCPToUTF8 from unit LazUTF8 or CP1251ToUTF8 from unit LConvEncoding > I want to make my application both on

Re: [Lazarus] SQLDb and TSQLQuery usage for MSSQL database...

2016-02-24 Thread Michael Van Canneyt
On Wed, 24 Feb 2016, Bo Berglund wrote: In my previous thread I received help that made it possible for me to connect from my RPi2 to an MSSQL database server on a Windows server in the network using the TMSSQLConnection component. So the connectivity seems fine. (Using FPC 3.0.0 and Lazarus

Re: [Lazarus] Clean and build as sudo?

2016-02-24 Thread Pedro Albuquerque
Lazarus (and fpc) was installed from the home page big button on the right, with default setup: https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20i386% 20DEB/Lazarus%201.6/ I'll try installing from the packages you mention and pay some attention to the installation folders. Thank

Re: [Lazarus] Keys not recognized by Lazarus 1.6 code editor

2016-02-24 Thread Mark Morgan Lloyd
Graeme Geldenhuys wrote: On 2016-02-24 15:33, Bo Berglund wrote: Or understand how the Raspbian desktop would land on the Win7 X screen. :( As far as I know you do get a X Server implementation for Windows too. You would simply start that up, use Putty to SSH (with X11 port forwarding

Re: [Lazarus] Keys not recognized by Lazarus 1.6 code editor

2016-02-24 Thread Bo Berglund
On Wed, 24 Feb 2016 17:44:58 +, Mark Morgan Lloyd wrote: >Discussion of the remote access side of things might be better continued >in either fpc-other or lazarus-other. One of the list managers warned us >some while ago that this was off-topic. I know,

Re: [Lazarus] Keys not recognized by Lazarus 1.6 code editor

2016-02-24 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Wed, 24 Feb 2016 15:40:15 +, Graeme Geldenhuys wrote: On 2016-02-24 15:33, Bo Berglund wrote: Or understand how the Raspbian desktop would land on the Win7 X screen. :( As far as I know you do get a X Server implementation for Windows

Re: [Lazarus] Lazarus 1.6 Object Inspector width, how to reduce?

2016-02-24 Thread Bo Berglund
On Wed, 24 Feb 2016 19:19:00 +0100, Bo Berglund wrote: >A quick test: >In 1.6RC2 the minimum width is about 233 pixels whereas in 1.6 it is >more like 430 pixels. That is a rather big part of my total width... It turns out tha the code editor has also been provided with a

Re: [Lazarus] Keys not recognized by Lazarus 1.6 code editor

2016-02-24 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Wed, 24 Feb 2016 17:44:58 +, Mark Morgan Lloyd wrote: Discussion of the remote access side of things might be better continued in either fpc-other or lazarus-other. One of the list managers warned us some while ago that this was

[Lazarus] Lazarus 1.6 Object Inspector width, how to reduce?

2016-02-24 Thread Bo Berglund
I tried to make the Object Inspector panel width narrrower but it seems like it has a minimum that cannot be reduced past. Is this the case? I really do not remember this happening pre-1.6 release. I run Lazarus on a 1400x900 screen so I have to adapt the pane sizes accordingly. A quick test: In

Re: [Lazarus] Keys not recognized by Lazarus 1.6 code editor

2016-02-24 Thread Bo Berglund
>> The displayed RPi desktop > >Stop right there. What you're describing there is doing a remote X11 ... > >What you should be doing is making sure that your SSH client (Putty or >whatever) is set up to tunnel X11 sessions, and that the SSH server on >the RPi is set up to make them available

Re: [Lazarus] Keys not recognized by Lazarus 1.6 code editor

2016-02-24 Thread Sascha Hestermann
Am 24.02.2016 um 16:40 schrieb Mark Morgan Lloyd: > Martin Frb wrote: >> On 24/02/2016 13:10, Bo Berglund wrote: >>> I have discovered a strange problem with my Lazarus 1.6 release >>> installation on RPi2 (Raspbian Jessie) concerning keyboard entries. >>> >>> When I connect via VNC from my

Re: [Lazarus] Keys not recognized by Lazarus 1.6 code editor

2016-02-24 Thread Mark Morgan Lloyd
Bo Berglund wrote: On Wed, 24 Feb 2016 15:00:42 +, Martin Frb wrote: On 24/02/2016 13:10, Bo Berglund wrote: I have discovered a strange problem with my Lazarus 1.6 release installation on RPi2 (Raspbian Jessie) concerning keyboard entries. When I connect via VNC

Re: [Lazarus] Keys not recognized by Lazarus 1.6 code editor

2016-02-24 Thread Bo Berglund
On Wed, 24 Feb 2016 15:40:15 +, Graeme Geldenhuys wrote: >On 2016-02-24 15:33, Bo Berglund wrote: >> Or understand how the Raspbian desktop would land on the Win7 X >> screen. :( > >As far as I know you do get a X Server implementation for Windows too. >You

Re: [Lazarus] Keys not recognized by Lazarus 1.6 code editor

2016-02-24 Thread Mark Morgan Lloyd
Bo Berglund wrote: I entered the startlazarus command I have set up for Lazarus 1.6 release into the putty console after logging in and following starting XMing on windows. Amazingly I got the lazarus separate panels painted on top of my Win7 desktop but it was not possible to copy/paste or

Re: [Lazarus] Microsoft Acquires Xamarin

2016-02-24 Thread Denis Kozlov
On 24/02/2016 20:59, Dmitry Boyarintsev wrote: Skepticism: what software became better after acquisition by Microsoft? This is bad news. Microsoft's top interest is likely to be in bundling Bing into Xamarin. MonoDevelop might have to provide their own builds from now on. --

Re: [Lazarus] Please stop the IDE regressions!

2016-02-24 Thread Ondrej Pokorny
On 25.02.2016 4:19, Ondrej Pokorny wrote: I remember telling on the issue tracker after I made this change to check whether all needed commands are listed. I got no answer :) It's here: http://mantis.freepascal.org/view.php?id=27722#c86464 Ondrej --

Re: [Lazarus] Please stop the IDE regressions!

2016-02-24 Thread Ondrej Pokorny
On 25.02.2016 2:27, Graeme Geldenhuys wrote: Hi, The Editor Toolbar is loosing functionality again (just like Procedure List did)! I had toolbar shortcuts for debug windows (eg: watches, call stack etc). Now with Lazarus v1.6 and later you can't add those to the Editor Toolbar. Why??? There

Re: [Lazarus] Lazarus 1.6 Object Inspector width, how to reduce?

2016-02-24 Thread Ondrej Pokorny
On 24.02.2016 19:23, Bo Berglund wrote: On Wed, 24 Feb 2016 19:19:00 +0100, Bo Berglund wrote: A quick test: In 1.6RC2 the minimum width is about 233 pixels whereas in 1.6 it is more like 430 pixels. That is a rather big part of my total width... It turns out tha the

[Lazarus] Please stop the IDE regressions!

2016-02-24 Thread Graeme Geldenhuys
Hi, The Editor Toolbar is loosing functionality again (just like Procedure List did)! I had toolbar shortcuts for debug windows (eg: watches, call stack etc). Now with Lazarus v1.6 and later you can't add those to the Editor Toolbar. Why??? The new configurable Coolbar (toolbars) are useless in

Re: [Lazarus] SQLDb and TSQLQuery usage for MSSQL database...

2016-02-24 Thread Bo Berglund
On Wed, 24 Feb 2016 11:47:18 +0100 (CET), Michael Van Canneyt wrote: >> constructor TUserDb.Create; >> begin >> FConn := TMSSQLConnection.Create(NIL); >> FTrans := TSQLTransaction.Create(NIL); > >You must additionally set > > FConn.Transaction:=FTrans; > >> FQuery :=

Re: [Lazarus] SQLDb and TSQLQuery usage for MSSQL database...

2016-02-24 Thread Michael Van Canneyt
On Thu, 25 Feb 2016, Bo Berglund wrote: On Wed, 24 Feb 2016 11:47:18 +0100 (CET), Michael Van Canneyt wrote: constructor TUserDb.Create; begin FConn := TMSSQLConnection.Create(NIL); FTrans := TSQLTransaction.Create(NIL); You must additionally set

Re: [Lazarus] Please stop the IDE regressions!

2016-02-24 Thread Graeme Geldenhuys
On 2016-02-25 04:08, Ondrej Pokorny wrote: > > I added them and other debug commands in r51693. Thank you. I'll get an update today and retest. As for IDE commands vs Other commands. I don't know how they are organised... the hierarchy seems different to the IDE main menu. The eg: Debug

Re: [Lazarus] Please stop the IDE regressions!

2016-02-24 Thread Graeme Geldenhuys
On 2016-02-25 03:19, Ondrej Pokorny wrote: > if every > window has its own configurable toolbar with its tool buttons. So the > watches commands will be available in the watches dialog only. I'm not sure I follow you 100%. Maybe what Lazarus IDE needs is the "detachable menus" - a feature

Re: [Lazarus] Clean and build as sudo?

2016-02-24 Thread Graeme Geldenhuys
On 2016-02-24 07:00, Pedro Albuquerque wrote: > Unable to delete file > "/usr/share/lazarus/1.4.4/components/lazutils/lib/i386-linux/LazUtils.compiled". > > Should I run Lazarus as sudo? What are the risks? You really shouldn't have lazarus installed in such a "shared" location on your system. A

Re: [Lazarus] Lazarus Release 1.6

2016-02-24 Thread Mattias Gaertner
On Wed, 24 Feb 2016 08:39:40 +0200 (EET) Kamen Ketev wrote: > > "What encoding has the text file? CP1251?" > ANSI. Only this encoding worked with Lazarus 1.4. > "What function do you use for converting the strings to UTF-8?" > SysToUtf8(s) SysToUTF8 was changed, because in

[Lazarus] SQLDb and TSQLQuery usage for MSSQL database...

2016-02-24 Thread Bo Berglund
In my previous thread I received help that made it possible for me to connect from my RPi2 to an MSSQL database server on a Windows server in the network using the TMSSQLConnection component. So the connectivity seems fine. (Using FPC 3.0.0 and Lazarus 1.6) Now I have a different problem

Re: [Lazarus] Clean and build as sudo?

2016-02-24 Thread Mattias Gaertner
On Wed, 24 Feb 2016 07:00:28 + Pedro Albuquerque wrote: > Hi, > > first post here, no coding for the last 25 years, first time with > Lazarus. Forgive me any inconvenience, please. > > While building an application, I got this error: > > mainwindow.pas(27,22)

Re: [Lazarus] Lazarus Release 1.6

2016-02-24 Thread Kamen Ketev
In which modul are WinCPToUTF8 or CP1251ToUTF8? ( Error: Identifier not found "WinCPToUTF8") I want to make my application both on Windows and Linux. In Linux can I use the same functions or have any other? Is SysToUtf8 works on Linux? If I use encoding UTF-8 for the fail it works.

Re: [Lazarus] Microsoft Acquires Xamarin

2016-02-24 Thread Dmitry Boyarintsev
On Wed, Feb 24, 2016 at 3:16 PM, Anthony Walter wrote: > I expect their price to come down, maybe even into the free price range, > as a result of this acquisition. > Skepticism: what software became better after acquisition by Microsoft? thanks, Dmitry --

Re: [Lazarus] Microsoft Acquires Xamarin

2016-02-24 Thread Giuliano Colla
Il 24/02/2016 22:49, Mattias Gaertner ha scritto: Skepticism: what software became better after acquisition by Microsoft? This is quickly going off-topic. If you want to answer this question please use fpc-other. Or better alt.destroy.microsoft ;-) Giuliano --

[Lazarus] Microsoft Acquires Xamarin

2016-02-24 Thread Anthony Walter
I think this is big news and of interest to our community since Xamarin provides a cross platform IDE + Tookit. Also, of all the other (than Delphi/Free Pascal) languages out there I feel C# is the next most acceptable with proper PME/generics/other stuff.

Re: [Lazarus] Please stop the IDE regressions!

2016-02-24 Thread Ondrej Pokorny
On 25.02.2016 4:19, Ondrej Pokorny wrote: The new configurable Coolbar (toolbars) are useless in the same sense. None of the "View -> Debugger Windows" menu items can be added to any toolbars in the IDE. Well, these can easily be added. I added them and other debug commands in r51693.

Re: [Lazarus] Microsoft Acquires Xamarin

2016-02-24 Thread Anthony Walter
> Skepticism: what software became better after acquisition by Microsoft? Flight Simulator Direct3D Halo All game related. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Microsoft Acquires Xamarin

2016-02-24 Thread Mattias Gaertner
On Wed, 24 Feb 2016 15:59:06 -0500 Dmitry Boyarintsev wrote: > On Wed, Feb 24, 2016 at 3:16 PM, Anthony Walter wrote: > > > I expect their price to come down, maybe even into the free price range, > > as a result of this acquisition. > > > >