Am 26.02.2013 08:59 schrieb "xrfang" :
>>
>> No, it's not a dilemma, but rather a requirement. Before generics
>> specialization, all required operations for given type must be known.
This
>> is because the symbol table when the generics is parsed must be
>> reconstructed when it gets specialized.
Hi Sven,
Could you please give a simple example that shows what you said: require
that the type with which you specialize is a record. Then a class operator
in that record can be defined.
Thanks
2013/2/26 Sven Barth
> Am 26.02.2013 08:59 schrieb "xrfang" :
>
> >>
> >> No, it's not a dilemma, b
On 02/26/2013 09:07 AM, Sven Barth wrote:
Helpers have the same problem. For now there is only one solution (as
I already wrote): require that the type with which you specialize is a
record. Then a class operator in that record can be defined.
For the future I already have the following long
On Tue, 26 Feb 2013 06:05:15 +0100
Michalis Kamburelis wrote:
> Reimar Grabowski wrote:
> > Hi,
> >
> > as the title says multisampling does not work for me.
>
> I was testing TOpenGLControl.MultiSampling on Linux (with Radeon GPU),
> it worked fine for me.
>
> Note that there is a fallback (d
On Mon, 25 Feb 2013 19:20:57 +0100
Reimar Grabowski wrote:
>[...]
> 3. The FBConfig then gets passed to glxCreateNewContext which returns a
> GLXContext. I get the ID from this context using glxQueryContext with
> GLX_FBCONFIG_ID. Looking up the ID in glxinfos list of FBConfigs shows that I
>
On Mon, Feb 25, 2013 at 7:19 PM, Mattias Gaertner
wrote:
> On Mon, 25 Feb 2013 22:43:36 +0200
> patspiper wrote:
>
>> On 25/02/13 21:37, Marcos Douglas wrote:
>> > On Mon, Feb 25, 2013 at 11:09 AM, Marcos Douglas wrote:
>> >> Hi,
>> >>
>> >> I updated my FPC to 2.6.3 (rev 23658) and my Lazarus t
On 26.02.2013 09:36, Xiangrong Fang wrote:
Hi Sven,
Could you please give a simple example that shows what you said: require
that the type with which you specialize is a record. Then a class
operator in that record can be defined.
Let's suppose you have the following generic declaration:
===
On 26.02.2013 10:16, Michael Schnell wrote:
On 02/26/2013 09:07 AM, Sven Barth wrote:
Helpers have the same problem. For now there is only one solution (as
I already wrote): require that the type with which you specialize is a
record. Then a class operator in that record can be defined.
For th
Hi Sven,
My code below:
===
program project1;
{$mode objfpc}{$H+}
{$MODESWITCH advancedrecords}
uses Classes;
type
TMyStringList = record
StringList: TStringList;
class operator <(s1, s2: TMyStringList): Boolean;
end;
class operator TMyStr
On 26.02.2013 15:30, Xiangrong Fang wrote:
Hi Sven,
My code below:
===
program project1;
{$mode objfpc}{$H+}
{$MODESWITCH advancedrecords}
uses Classes;
type
TMyStringList = record
StringList: TStringList;
class operator <(s1, s2: TMyStr
On 26.02.2013 15:30, Xiangrong Fang wrote:
Hi Sven,
My code below:
===
program project1;
{$mode objfpc}{$H+}
{$MODESWITCH advancedrecords}
uses Classes;
type
TMyStringList = record
StringList: TStringList;
class operator <(s1, s2: TMyStr
Then, I wish to see 2.8 released :-D
thanks.
2013/2/26 Sven Barth
> On 26.02.2013 15:30, Xiangrong Fang wrote:
>
>> Hi Sven,
>>
>> My code below:
>>
>> ==**=
>> program project1;
>> {$mode objfpc}{$H+}
>> {$MODESWITCH advancedrecords}
>>
>> uses Class
On 26.02.2013 15:37, Xiangrong Fang wrote:
Then, I wish to see 2.8 released :-D
I don't, because I still have so many things I want to implement before
that :P
Regards,
Sven
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://
On Tue, 26 Feb 2013 06:17:04 +0100
Michalis Kamburelis wrote:
> What is weirder is that I can get multi-sampling on both these systems
> (both Radeon and NVidia) with a very similar multi-sampling code inside
> my Castle Game Engine TCastleWindow class (that directly uses GTK and
> GTKGlExt, w
All three types, records, objects and classes have their purposes and
uses and one can select the one that is most fitting in a given
situation.
Is it possible to forward declare records the way we can with classes?
I mean, with classes, I can do this:
TSecondClass = class;
TFirstClass = C
On 26.02.2013 16:15, ListMember wrote:
All three types, records, objects and classes have their purposes and
uses and one can select the one that is most fitting in a given
situation.
Is it possible to forward declare records the way we can with classes?
I mean, with classes, I can do this:
Dňa 25.02.2013 20:40, Leslie Turriff wrote / napísal(a):
Hi,
I'm just starting out with Free Pascal and Lazarus, and I need a bit of
help.
I've installed them in my OpenSuSE 12.2 system running on x86_64
hardware,
using the version in the distribution repository (which I presum
On Tue, 26 Feb 2013 16:21:30 +0100
Milan Baša wrote:
> Dňa 25.02.2013 20:40, Leslie Turriff wrote / napísal(a):
> > Hi,
> > I'm just starting out with Free Pascal and Lazarus, and I need a bit of
> > help.
> > I've installed them in my OpenSuSE 12.2 system running on x86_64
> > hardwar
On 2013-02-26 17:18, Sven Barth wrote:
On 26.02.2013 16:15, ListMember wrote:
All three types, records, objects and classes have their purposes and
uses and one can select the one that is most fitting in a given
situation.
Is it possible to forward declare records the way we can with classes
On Tue, 26 Feb 2013 15:51:52 +0100
Reimar Grabowski wrote:
> On Tue, 26 Feb 2013 06:17:04 +0100
> Michalis Kamburelis wrote:
>
> > What is weirder is that I can get multi-sampling on both these systems
> > (both Radeon and NVidia) with a very similar multi-sampling code inside
> > my Castle G
On 26/02/2013 15:39, ListMember wrote:
> On 2013-02-26 17:18, Sven Barth wrote:
[...]
>> It would be no use anyway. You CAN NOT have the record used as a field
>> inside itself, so you'd need to define a pointer type anyway. And this is
>> something where we won't do things behind the programmers
On 2013-02-26 18:04, Lukasz Sokol wrote:
Would it not do to have classes here (s/record/class) and
[Set|Get][Byte|Word|Cardinal]String be
class procedure; //'s
and/or
class function; //'s
instead ?
User code needs to create and destroy classes.
With records, there's no need for any of that.
Am 2013-02-26 16:15, schrieb ListMember:
Is it possible to forward declare records the way we can with classes?
Well, I know that you can do something like this:
PTreeType= ^TreeType;
TreeType = record
...;
...;
On 26.02.2013 18:22, Jürgen Hestermann wrote:
Am 2013-02-26 16:15, schrieb ListMember:
Is it possible to forward declare records the way we can with classes?
Well, I know that you can do something like this:
PTreeType= ^TreeType;
TreeType = record
Hi all,
I'm currently working on the ValueListEditor.
I have some questions on the behaviour of the KeyOptions property that
I cannot find an answer to, simply because my Delphi is too old, and
it does not have a TValueListEditor at all, and the Embarcadero
DocWiki
(http://docwiki.embarcadero.com
On Tue, 26 Feb 2013 16:53:25 +0100
Mattias Gaertner wrote:
> A quick look at the gtkglext-1.2.0 sources didn't reveal anything
> special about multisampling.
It is very possible that no 'special' support is needed.
> The first noticeable thing of gtkglext code is the special color map.
This coul
On Tue, Feb 26, 2013 at 8:03 PM, Bart wrote:
> Please only provide answer obtained by "black box" testing. Just build
> a Delpi app and see how it functions.
> Do NOT, I repeat do NOT, look at the Delphi source code.
> Our implementation needs to be clean.
Just commenting on this black box testin
On Tuesday 26 February 2013 09:35:00 Mattias Gaertner wrote:
> On Tue, 26 Feb 2013 16:21:30 +0100
>> Milan Baša wrote:
> > Dňa 25.02.2013 20:40, Leslie Turriff wrote / napísal(a):
> > > Hi,
> > > Any suggestions?
> >
> > I think /tmp/project1 does need superuser rights.
>
> Under OpenSuSE /tmp
On Tue, 26 Feb 2013 19:10:53 +0100
Reimar Grabowski wrote:
> On Tue, 26 Feb 2013 16:53:25 +0100
> Mattias Gaertner wrote:
>
> > A quick look at the gtkglext-1.2.0 sources didn't reveal anything
> > special about multisampling.
> It is very possible that no 'special' support is needed.
>
> > Th
On Tue, 26 Feb 2013 12:33:54 -0600
Leslie Turriff wrote:
> On Tuesday 26 February 2013 09:35:00 Mattias Gaertner wrote:
> > On Tue, 26 Feb 2013 16:21:30 +0100
> >> Milan Baša wrote:
> > > Dňa 25.02.2013 20:40, Leslie Turriff wrote / napísal(a):
> > > > Hi,
> > > > Any suggestions?
> > >
On Tuesday 26 of February 2013 19:42:32 Mattias Gaertner wrote:
> There is still no opengl widget for LCL QT. AFAIK it requires a
> QT expert.
Only bindings are missing.
zeljko
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://l
In Delphi 3.02 this ALWAYS works, but only sometimes with Laz 1.0.6 for Win7
64bit w/ADS database:
with DBNavigator1.DataSource do if State in [dsEdit, dsInsert] then
This can be fixed in Laz by adding a variable to the var section like so:
myState : TDataSetState;
And replacing the above
On Tuesday, February 26, 2013 08:07:16 PM zeljko wrote:
> Only bindings are missing.
it is a lot of work :-)
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Hi All!
I have finished the code needed to use xml to specify templates for some
of the code completion functions. I was about to create a patch till I
remembered that the xml file is in ~/.lazarus. AFAICT this will not go
into the patch, but should be put into .lazarus on install or build.
On Tue, 26 Feb 2013 17:05:59 -0500
Donald Ziesig wrote:
> Hi All!
>
> I have finished the code needed to use xml to specify templates for some
> of the code completion functions. I was about to create a patch till I
> remembered that the xml file is in ~/.lazarus. AFAICT this will not go
>
Sven Barth schrieb:
He wants to have this supported:
=== example begin ===
type
SomeType1 = record;
SomeType2 = record;
SomeType1 = record
// ...
property SomeProperty: SomeType2 read ... write ...
end;
SomeType2 = record
// ...
property SomeProperty: SomeType1 read
On 02/26/2013 05:17 PM, Mattias Gaertner wrote:
On Tue, 26 Feb 2013 17:05:59 -0500
Donald Ziesig wrote:
Hi All!
I have finished the code needed to use xml to specify templates for some
of the code completion functions. I was about to create a patch till I
remembered that the xml file is in ~
On Tuesday, February 26, 2013 09:29:04 PM Den Jean wrote:
> it is a lot of work
This is very alpha and after lots of hacks to get this far.
FPC Qt4 OpenGL:
http://users.telenet.be/Jan.Van.hijfte/qtforfpc/V2.6RC2/splitbuild-qt4pas-V2.6RC2_Qt4.8.4.tar.gz
$ grep qgl -i qt4.pas | wc -l
545
--
___
Hi all, i am interested on Lazarus. I want to know if there are ORMs for it?
Which is the better in your opinion.
Other question is if there are MVC or MVP frameworks for Lazarus.
Any answer will be apreciated ..
Sorry for my english.
TIA
Ing. Pablo Digonzelli
Sofware Solutions
IP Soluci
Hi , another question . Wich are TDD frameworks for Lazarus?
TIA
Ing. Pablo Digonzelli
Sofware Solutions
IP Soluciones SRL
25 de Mayo 521. Entrepiso A
email: pdigonze...@softsargentina.com
email: pdigonze...@gmail.com
twitter: @pdigonzelli
Tel: 0381 4227378
Cel: 0381 155982714
--
__
This process is called my a linux service.
Required Packages only list as LCLBase and LazUtils. When I remove
LCLBase the project compiles.
However, if I follow the wiki suggestions I compile just fine but the
program terminates abnormally when launched as a process from the LazDaemon.
Err
2013/2/27 Pablo R. Digonzelli :
> Hi , another question . Wich are TDD frameworks for Lazarus?
http://wiki.lazarus.freepascal.org/fpcunit
There are others too.
Vincent
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazar
Hi All,
My class looks like this:
TMyClass = class
FField1: Integer;
private
FField2: string;
public
FField3: string;
end;
Question is, is FField1 private or public or protected? For all lcl classes,
I see a lot of fields above "private", it looks like they are same as "public",
because
On 2013-02-27 03:23, Pablo R. Digonzelli wrote:
> Hi all, i am interested on Lazarus. I want to know if there are ORMs
> for it? Which is the better in your opinion. Other question is if
> there are MVC or MVP frameworks for Lazarus.
Take a look at tiOPF version 2 (http://www.tiopf.com). It is an
On 2013-02-27 04:01, Pablo R. Digonzelli wrote:
> Wich are TDD frameworks for Lazarus?
DUnit2 which can be found in the tiOPF repository on SourceForge.
There is also FPTest (Free Pascal Testing Framework), which is a fork of
DUnit2, has more code cleanup and will only support Free Pascal. FPTes
45 matches
Mail list logo