Re: [Lazarus] Support for dotted unit name

2011-11-04 Thread Mattias Gaertner
On Thu, 03 Nov 2011 19:46:01 -0400 Rich Saunders wrote: > On 11/3/11 7:03 PM, William Oliveira Ferreira wrote: > > Sorry about my low knowlegde, maybe i am the most slow-learning mailer > > of this list but i don't understand the advantage of using dots on > > unit name. Could someon explain it t

Re: [Lazarus] Support for dotted unit name

2011-11-04 Thread Graeme Geldenhuys
On 4 November 2011 09:17, Mattias Gaertner wrote: > This is the explanation for using unitname.identifier, which worked > since many years. I was just about to say the same thing. > Dotted unit name means dots in the unit name itself. For example > an.example.pas. I don't know a good example.

Re: [Lazarus] Support for dotted unit name

2011-11-04 Thread michael . vancanneyt
On Fri, 4 Nov 2011, Graeme Geldenhuys wrote: On 4 November 2011 09:17, Mattias Gaertner wrote: This is the explanation for using unitname.identifier, which worked since many years. I was just about to say the same thing. Dotted unit name means dots in the unit name itself. For example a

Re: [Lazarus] Support for dotted unit name

2011-11-04 Thread Žilvinas Ledas
On 2011-11-04 10:08, michael.vancann...@wisa.be wrote: On Fri, 4 Nov 2011, Graeme Geldenhuys wrote: On 4 November 2011 09:17, Mattias Gaertner wrote: This is the explanation for using unitname.identifier, which worked since many years. I was just about to say the same thing. Dotted u

Re: [Lazarus] JSON float saving scientific value

2011-11-04 Thread silvioprog
2011/11/4 tcoq : > Hello silvio, > 1.5E+000 is exactly 1.5, from a numerical point of view. It seems > that you are getting what you need: storing a real. > Why would you want to have the "1.5" string? What is the issue? > Thierry For transporting data to a database from a mobile, via WAP

[Lazarus] Autocompletion does not work after rev. 33274

2011-11-04 Thread Torsten Bonde Christiansen
Hi List. The auto completion feature (Ctrl+space, and possible others) does not seem to work in trunk after rev. 33274. Should I report this as a bug? Kind regards, Torsten Bonde Christiansen. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freep

Re: [Lazarus] Autocompletion does not work after rev. 33274

2011-11-04 Thread zeljko
On Friday 04 of November 2011 10:42:31 Torsten Bonde Christiansen wrote: > Hi List. > > The auto completion feature (Ctrl+space, and possible others) does not > seem to work in trunk after rev. 33274. > > Should I report this as a bug? No it will be fixed ASAP, it's introduced by Juha when rewor

Re: [Lazarus] Support for dotted unit name

2011-11-04 Thread Graeme Geldenhuys
On 4 November 2011 10:08, wrote: > Weep, then, because as of Delphi XE2, they started using it a lot. From the CodeRage 6 videos all I could see is that they now differentiate between VCL (eg: vcl.forms.pas) and FireMonkey (eg: fm.forms.pas) units. I don't have a copy of XE2, but other than to

Re: [Lazarus] Support for dotted unit name

2011-11-04 Thread Hans-Peter Diettrich
William Oliveira Ferreira schrieb: Sorry about my low knowlegde, maybe i am the most slow-learning mailer of this list but i don't understand the advantage of using dots on unit name. Could someon explain it to me? It's not an advantage, only a relict from the (never finished) .NET experiment.

Re: [Lazarus] Support for dotted unit name

2011-11-04 Thread William Oliveira Ferreira
Wait, now i´ve better understand. FPC Team already added this feature to compiler, ok, but, add it just to be delphi XE2 compatible? William de Oliveira Ferreira Bacharel em Sistemas de Informação 2011/11/4 Graeme Geldenhuys > On 4 November 2011 10:08, wrote:

Re: [Lazarus] Support for dotted unit name

2011-11-04 Thread Sven Barth
Am 04.11.2011 11:42, schrieb William Oliveira Ferreira: Wait, now i´ve better understand. FPC Team already added this feature to compiler, ok, but, add it just to be delphi XE2 compatible? Dotted unit names were already introduced by at least Delphi 2005 (some sources even report Delphi 7) - N

Re: [Lazarus] Support for dotted unit name

2011-11-04 Thread Sven Barth
Am 04.11.2011 11:15, schrieb Hans-Peter Diettrich: William Oliveira Ferreira schrieb: Sorry about my low knowlegde, maybe i am the most slow-learning mailer of this list but i don't understand the advantage of using dots on unit name. Could someon explain it to me? It's not an advantage, only

Re: [Lazarus] Support for dotted unit name

2011-11-04 Thread Rich Saunders
On 11/4/11 3:17 AM, Mattias Gaertner wrote: > Dotted unit name means dots in the unit name itself. For example > an.example.pas. I don't know a good example. Well, if unit names are tied to file names and embedded dots are becoming more common in file names, then I can understand the "pressure" to

Re: [Lazarus] Autocompletion does not work after rev. 33274

2011-11-04 Thread zeljko
On Friday 04 of November 2011 10:42:31 Torsten Bonde Christiansen wrote: > Hi List. > > The auto completion feature (Ctrl+space, and possible others) does not > seem to work in trunk after rev. 33274. Current workaround: Goto Options->KeyMappings->Click LoadScheme -> Choose Lazarus and press ok.

Re: [Lazarus] Autocompletion does not work after rev. 33274

2011-11-04 Thread Martin
On 04/11/2011 12:02, zeljko wrote: On Friday 04 of November 2011 10:42:31 Torsten Bonde Christiansen wrote: > Hi List. > > The auto completion feature (Ctrl+space, and possible others) does not > seem to work in trunk after rev. 33274. Current workaround: Goto Options->KeyMappings->Click

Re: [Lazarus] Support for dotted unit name

2011-11-04 Thread Hans-Peter Diettrich
Sven Barth schrieb: I don't think that Embarcadero considers dotted unit names as a relict as they've improved the concept with a "default namespace" in XE2 (I don't know whether I personally consider that as a improvement though ^^) and also introduced dotted names for all RTL, VCL and FireMo

Re: [Lazarus] Support for dotted unit name

2011-11-04 Thread Christian-W. Budde
Hello, > This is the explanation for using unitname.identifier, which worked > since many years. > > Dotted unit name means dots in the unit name itself. For example > an.example.pas. I don't know a good example. For me, this makes perfect sense, because of many reasons. Here are a couple. I wor

Re: [Lazarus] Support for dotted unit name

2011-11-04 Thread Felipe Monteiro de Carvalho
On Fri, Nov 4, 2011 at 11:15 AM, Hans-Peter Diettrich wrote: > There exist more relicts from .NET, like Unicode names for identifiers. Unlike dots in unit names, this feature is useful for people in a general way, not just for .Net / Java compatibility. Pretty much every programmer which isnt flu

Re: [Lazarus] Autocompletion does not work after rev. 33274

2011-11-04 Thread Torsten Bonde Christiansen
On 2011-11-04 13:02, zeljko wrote: On Friday 04 of November 2011 10:42:31 Torsten Bonde Christiansen wrote: > Hi List. > > The auto completion feature (Ctrl+space, and possible others) does not > seem to work in trunk after rev. 33274. Current workaround: Goto Options->KeyMappings->Click

Re: [Lazarus] Support for dotted unit name

2011-11-04 Thread Sven Barth
Am 04.11.2011 13:04, schrieb Christian-W. Budde: I have never used .NET, nor am I a Delphi fan-boy, but I think this scoping is useful and I hope it will be supported by FPC. It is discussable, whether it shall be used in Lazarus, but it should be supported. In 2.7.1 this is already supported,

Re: [Lazarus] Support for dotted unit name

2011-11-04 Thread Sven Barth
Am 04.11.2011 13:08, schrieb Hans-Peter Diettrich: Sven Barth schrieb: I don't think that Embarcadero considers dotted unit names as a relict as they've improved the concept with a "default namespace" in XE2 (I don't know whether I personally consider that as a improvement though ^^) and also i

Re: [Lazarus] Autocompletion does not work after rev. 33274

2011-11-04 Thread Juha Manninen
The changes are reverted in r33296. I will see later what happened there. Please test. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Support for dotted unit name

2011-11-04 Thread Felipe Monteiro de Carvalho
On Fri, Nov 4, 2011 at 1:08 PM, Hans-Peter Diettrich wrote: > Well, so what's the role of "Delphi" at all? What remains is an IDE and a > compiler, with various GUI extensions. Lazarus is already usable with 3rd party libraries, like KOL-CE works. It also has non-GUI extensions, like fcl-web. Tha

Re: [Lazarus] Autocompletion does not work after rev. 33274

2011-11-04 Thread zeljko
On Friday 04 of November 2011 13:08:51 Martin wrote: > On 04/11/2011 12:02, zeljko wrote: > > On Friday 04 of November 2011 10:42:31 Torsten Bonde Christiansen wrote: > > > Hi List. > > > > > > > > > > > > The auto completion feature (Ctrl+space, and possible others) does not > > > > > > seem t

Re: [Lazarus] Crash on exit (linux, gtk2)

2011-11-04 Thread baldzhang
At 2011-11-04 12:06:39,cobines  wrote: >Maybe the same as this: > >http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-November/068378.html > >Did you update GTK2 library recently? I use archlinux, and update twice a week by pacman -Syu, So I use the newest GTK version 2.24.7. > >-- >cob

Re: [Lazarus] Crash on exit (linux, gtk2)

2011-11-04 Thread baldzhang
At 2011-11-04 14:56:33,zeljko  wrote: > No, I think it's gtk2 version related, someone already reported problems with > 2.24.7, and when downgraded to 2.24.6 it was ok. > zeljko Agree with you. Checked again with 0.9.30.2rc2, check out from svn, no any modification build command: make dist

Re: [Lazarus] Support for dotted unit name

2011-11-04 Thread Mattias Gaertner
  "Christian-W. Budde" hat am 4. November 2011 um 13:04 geschrieben: > Hello, > > > This is the explanation for using unitname.identifier, which worked > > since many years. > > > > Dotted unit name means dots in the unit name itself. For example > > an.example.pas. I don't know a good example

[Lazarus] Major flaw with trunk and unit cases

2011-11-04 Thread Andrew Brunner
Updated to todays Lazarus from svn/trunk and started work... Only to have my entire project build folder nuked by DoOpenEditorFile fixing case routine... /Developer/Source/Linux/64 was transformed into a binary file and wiped out all sub folders. I had to rm 64 and restore :-( Ubuntu 11.10 x64

Re: [Lazarus] Major flaw with trunk and unit cases

2011-11-04 Thread Martin
On 04/11/2011 14:21, Andrew Brunner wrote: Updated to todays Lazarus from svn/trunk and started work... Only to have my entire project build folder nuked by DoOpenEditorFile fixing case routine... /Developer/Source/Linux/64 was transformed into a binary file and wiped out all sub folders. I had

Re: [Lazarus] Major flaw with trunk and unit cases

2011-11-04 Thread Andrew Brunner
I checked my Lazarus options and I had auto-rename and rename stuff in general disabled. I always use camel hump format for unit names. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo

Re: [Lazarus] Support for dotted unit name

2011-11-04 Thread Hans-Peter Diettrich
Sven Barth schrieb: Am 04.11.2011 13:08, schrieb Hans-Peter Diettrich: Sven Barth schrieb: I don't think that Embarcadero considers dotted unit names as a relict as they've improved the concept with a "default namespace" in XE2 (I don't know whether I personally consider that as a improvement

Re: [Lazarus] Support for dotted unit name

2011-11-04 Thread Felipe Monteiro de Carvalho
On Fri, Nov 4, 2011 at 3:51 PM, Hans-Peter Diettrich wrote: > Lazarus only supports one GUI: LCL. False, KOL-CE works in Lazarus too. > The new strings also are an FPC issue, which may require a different LCL. Based on what you say that? I fixed trunk usage with FPC 2.7 today with trivial chang

Re: [Lazarus] Support for dotted unit name

2011-11-04 Thread Hans-Peter Diettrich
Felipe Monteiro de Carvalho schrieb: On Fri, Nov 4, 2011 at 3:51 PM, Hans-Peter Diettrich wrote: Lazarus only supports one GUI: LCL. False, KOL-CE works in Lazarus too. I cannot confirm that, seeing no such option in the IDE. The new strings also are an FPC issue, which may require a diff

Re: [Lazarus] Support for dotted unit name

2011-11-04 Thread leledumbo
> I cannot confirm that, seeing no such option in the IDE. Well, do you have it installed? Or at least have you read http://wiki.lazarus.freepascal.org/KOL-CE this ? -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Support-for-dotted-unit-name-tp3476470

Re: [Lazarus] Support for dotted unit name

2011-11-04 Thread leledumbo
> From the CodeRage 6 videos all I could see is that they now differentiate between VCL (eg: vcl.forms.pas) and FireMonkey (eg: fm.forms.pas) units. Too bad... now they will face problems when refactoring the framework, possibly causing users to create ifdefs in uses clause. I don't really know

[Lazarus] Can't find unit LCLProc

2011-11-04 Thread David Emerson
I have a unit (sarala_text.pas) which is part of a package (sarala_tools) that uses the LCLProc unit. My package file lists LCLBase as a requirement I am able to compile the package from the package viewer I can ctrl+click on the unit name LCLProc and it takes me there I can ctrl+click on proc