Re: [Lazarus] Fatal: Compilation aborted
On Sat, 01 Mar 2014 23:19:12 +0200 FreeMan wrote: > Hello, > > Target OS: Linux for x86-64 > Compiling fcllaz.pas > Fatal: Can't find unit system used by fcllaz > Fatal: Compilation aborted > make[1]: *** [fcllaz.ppu] Hata 1 > make[1]: `/opt/lazarus/packager/registration' dizininden çıkılıyor > make: *** [registration] Hata 2 > > Kubuntu 13.10 x64 > fpc svn 26912 > lazarus svn 44310 How did you install fpc? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Fatal: Compilation aborted
Hello, Target OS: Linux for x86-64 Compiling fcllaz.pas Fatal: Can't find unit system used by fcllaz Fatal: Compilation aborted make[1]: *** [fcllaz.ppu] Hata 1 make[1]: `/opt/lazarus/packager/registration' dizininden çıkılıyor make: *** [registration] Hata 2 Kubuntu 13.10 x64 fpc svn 26912 lazarus svn 44310 Thank you -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] TSQLQuery.ParamCheck
Hi there! This is my first posting on the mailing list. Thank you for your work on Lazarus!! I have a question: An earlier revision of Lazarus had the ParamCheck property implemented for SQLQuery. In the latest trunk that property is gone and all code removed from SQLdb.pas Could someone fill me in on that, and if it will be back in later versions? Thing is, I created a parameter at designtime from ObjectInspector and assigned a value to it at runtime. That doesnt work for me without ParamCheck:=false. The compiler complains: "parameter not found". Perhaps there is a workaround? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Is this bug ? or how to do?
TFieldProperty.FillValues is virtual and has only two lines of code. The default implementation searches a property named 'DataSource'. You can override it to fetch DataSource from many different sources: For example from any property with type TDataSource, or depending on the selection or from the form or whatever ... I made the formerly hidden function LoadDataSourceFields public as ListDataSourceFields, so you can implement any of the above easily. Including using another property name than 'DataSource'. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [OT] Developing for Android with Pascal and Eclipse?
On 01.03.2014 02:06, leledumbo wrote: silvioprog wrote Hello, I saw in a post on Facebook, but not tested: http://web.fastermac.net/~MacPgmr/pba/PbaStatus.html I don't know about. The JVM compiler is tested, and I've tested it myself as well. I don't use Eclipse though, the Android SDK has enough tools to build the required directory layout and building only requires Ant. This is actually the most native way to build Android apps, but you have to sacrifice some (a lot of?) normal Pascal features and use different syntax in many places. A lot of standard units are missing, and the chance you can reuse existing units is also quite small (depends on how the units are coded). Patches regarding further language features (though AFAIK one of the few main missing ones is Writeln/Readln) and standard units support are welcomed ;) Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Is this bug ? or how to do?
On 01/03/2014 12:25, FreeMan wrote: I understood, I'm not lawyer, I'm sure you expert then me about this. I understanding from this message, who use "antique greek city name" (this is be wrong too) who use "antique Hellenic city name" can NOT write any code,can NOT any developing about that class, 'cos that knowledge from them. We never user "antique Hellenic city name" 'cos trademarked to them. I was just look on internet, "antique Hellenic city name" has same problem. How I prove, I wrote my solution before look them code? never. I'm really bored. nevermind Please do NOT understand this my message like , "why not accept my solution" It was my mistake. so my first word "I understood". Antique hellenic city name will lost :) Thank you Martin, I learned one more think. - You can *use* it. There is no conflict. - You are *not* allowed to *look* at its sources, in order to write code for Lazarus. http://en.wikipedia.org/wiki/Clean_room_design -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Is this bug ? or how to do?
I understood, I'm not lawyer, I'm sure you expert then me about this. I understanding from this message, who use "antique greek city name" (this is be wrong too) who use "antique Hellenic city name" can NOT write any code,can NOT any developing about that class, 'cos that knowledge from them. We never user "antique Hellenic city name" 'cos trademarked to them. I was just look on internet, "antique Hellenic city name" has same problem. How I prove, I wrote my solution before look them code? never. I'm really bored. nevermind Please do NOT understand this my message like , "why not accept my solution" It was my mistake. so my first word "I understood". Antique hellenic city name will lost :) Thank you Martin, I learned one more think. 01-03-2014 13:22 tarihinde, Martin Frb yazdı: On 01/03/2014 10:52, FreeMan wrote: I have a solution: (I get idea from Delphi_XE2/IDE/source/Property Editors/DBReg.pas) Please never post anything you got from looking at Delphi's source code. You may be violating their copyright. Unfortunately since you have looked at it, and your solution is now influenced by knowledge of their intellectual property, we will not be able to accept a patch from you on this issue. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Is this bug ? or how to do?
On 01/03/2014 10:52, FreeMan wrote: I have a solution: (I get idea from Delphi_XE2/IDE/source/Property Editors/DBReg.pas) Please never post anything you got from looking at Delphi's source code. You may be violating their copyright. Unfortunately since you have looked at it, and your solution is now influenced by knowledge of their intellectual property, we will not be able to accept a patch from you on this issue. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Is this bug ? or how to do?
I have a solution: (I get idea from Delphi_XE2/IDE/source/Property Editors/DBReg.pas) type TFieldProperty = class(TStringPropertyEditor) public function Get_DataSource_Name: string; virtual; ... function TFieldProperty.Get_DataSource_Name: string; begin Result := 'DataSource';//Default name end; procedure TFieldProperty.FillValues(const Values: TStringList); var DataSource: TDataSource; begin DataSource := GetObjectProp(GetComponent(0), *Get_DataSource_Name * ) as TDataSource; LoadDataSourceFields(DataSource, Values); end; Who wana use different datasource name, add just this codes own source(s). TMyFieldProperty = class(TFieldProperty) public function Get_DataSource_Name: string; override; end; implementation function TMyFieldProperty.Get_DataSource_Name: string; begin Result := 'Rock_Data_Roll_Source';// :) what you want end; initialization RegisterPropertyEditor(TypeInfo(string), TExLookUp, 'LookInThisField', TMyFieldProperty); I wantto make patch for this, but I saw TFieldProperty class used other codes, so best way is lazarus team add this. I hope lazarus team answer to my soulution accept or not. Thank you 28-02-2014 19:13 tarihinde, Martin Frb yazdı: I am no expert on this, so I cant give you much more help. But it looks you need to write your own property editor. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus