Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-05

DBMaskEdit: A small contribuition for Lazarus project.

22 messages · 9 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

silvioprog

Hi,

This is a small contribuition for Lazarus project. (In attached)

A screenshot in my IDE:

http://imagebin.org/98483

Thanks, hope you like. ;)

Silvio Clecio $ programmer ObjectPascal - <http://silvioprog.com.br> $ Acesse nosso canal IRC sobre Lazarus no Brasil - #lazarus-br -------------- next part -------------- A non-text attachment was scrubbed... Name: dbmaskedit.zip Type: application/zip Size: 6327 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20100527/a543be94/attachment.zip>

Reply by email

silvioprog
to zeljko: If you want to see this component in lazarus one day, please open an issue (feature) and…
zeljko wrote 17 lines
On Thursday 27 May 2010 05:34, silvioprog wrote: > Hi, > > This is a small contribuition for Lazarus project. (In attached) > > A screenshot in my IDE: > > http://imagebin.org/98483 > > Thanks, hope you like. ;) If you want to see this component in lazarus one day, please open an issue (feature) and add your patch. thanks. zeljko

Thanks zeljko, I'll do that. :)

Silvio Clecio $ programmer ObjectPascal - <http://silvioprog.com.br> $ Acesse nosso canal IRC sobre Lazarus no Brasil - #lazarus-br

Reply by email

silvioprog
to Michael Van Canneyt: You may not be aware, but the TDBEdit is a mask edit. The mask must be set in the field…
Michael Van Canneyt wrote
You may not be aware, but the TDBEdit is a mask edit. The mask must be set in the field itself: TField.Editmask. It will be used by TDBEdit. Michael.

But this is already implemented in Lazarus? I searched here(Lazarus 0.9.29 r25654:25679M FPC 2.4.0 i386-linux-gtk 2 (beta)) and did not find.

Silvio Clecio $ programmer ObjectPascal - <http://silvioprog.com.br> $ Acesse nosso canal IRC sobre Lazarus no Brasil - #lazarus-br

Reply by email

Michael Van Canneyt
to silvioprog
silvioprog wrote 8 lines
Em 27-05-2010 04:23, Michael Van Canneyt escreveu: > You may not be aware, but the TDBEdit is a mask edit. The mask must be set > in the field itself: TField.Editmask. It will be used by TDBEdit. > > Michael. But this is already implemented in Lazarus? I searched here(Lazarus 0.9.29 r25654:25679M FPC 2.4.0 i386-linux-gtk 2 (beta)) and did not find.

Ola :(

I quoted from my Delphi knowledge; and indeed in FPC it is missing. (there is even a comment in dbedit.inc in the LCL :/)

I will implement it in TField. Thank you for pointing this out !

Michael.

Reply by email

Luiz Americo Pereira Camara
to Michael Van Canneyt
Michael Van Canneyt wrote 21 lines
On Thu, 27 May 2010, silvioprog wrote: > Em 27-05-2010 04:23, Michael Van Canneyt escreveu: >> You may not be aware, but the TDBEdit is a mask edit. The mask must >> be set >> in the field itself: TField.Editmask. It will be used by TDBEdit. >> >> Michael. > > But this is already implemented in Lazarus? I searched here(Lazarus > 0.9.29 r25654:25679M FPC 2.4.0 i386-linux-gtk 2 (beta)) and did not > find. Ola :( I quoted from my Delphi knowledge; and indeed in FPC it is missing. (there is even a comment in dbedit.inc in the LCL :/) I will implement it in TField. Thank you for pointing this out !

Better, just apply that ;-):
http://bugs.freepascal.org/view.php?id=16555

Luiz

Reply by email

silvioprog
to Michael Van Canneyt: Ola :( I quoted from my Delphi knowledge; and indeed in FPC it is missing. (there is even…
Michael Van Canneyt wrote 8 lines
Ola :( I quoted from my Delphi knowledge; and indeed in FPC it is missing. (there is even a comment in dbedit.inc in the LCL :/) I will implement it in TField. Thank you for pointing this out ! Michael.

Wow, this here will help:

<http://bugs.freepascal.org/view.php?id=16555>

If I update now my Lazarus from SVN, I'll have EditMask in TField?

Silvio Clecio $ programmer ObjectPascal - <http://silvioprog.com.br> $ Acesse nosso canal IRC sobre Lazarus no Brasil - #lazarus-br

Reply by email

silvioprog
to Luiz Americo Pereira Camara: Better, just apply that ;-): http://bugs.freepascal.org/view.php?id=16555 Luiz

Em 27-05-2010 18:49, Luiz Americo Pereira Camara escreveu: [...]

Better, just apply that ;-): http://bugs.freepascal.org/view.php?id=16555 Luiz

I saw that. Thanks! :)

When it's released, to I update my Lazarus from SVN?

Silvio Clecio $ programmer ObjectPascal - <http://silvioprog.com.br> $ Acesse nosso canal IRC sobre Lazarus no Brasil - #lazarus-br

Reply by email

Luiz Americo Pereira Camara
to silvioprog: Wow, this here will help: <http://bugs.freepascal.org/view.php?id=16555> If I update now…
silvioprog wrote 18 lines
Em 27-05-2010 17:49, Michael Van Canneyt escreveu: > Ola :( > > I quoted from my Delphi knowledge; and indeed in FPC it is missing. > (there is even a comment in dbedit.inc in the LCL :/) > > I will implement it in TField. Thank you for pointing this out ! > > Michael. > Wow, this here will help: <http://bugs.freepascal.org/view.php?id=16555> If I update now my Lazarus from SVN, I'll have EditMask in TField?

No. Its necessary to be applied to fpc first. Lazarus support will come only when a fpc version is released with the change.

Luiz

Reply by email

Graeme Geldenhuys
to Luiz Americo Pereira Camara
Luiz Americo Pereira Camara wrote
No. Its necessary to be applied to fpc first. Lazarus support will come only when a fpc version is released with the change.

And that would probably be a major release, not a "fixes" release. So don't get your hopes up for something soon like for FPC 2.4.2 or 2.4.4. It should probably make it for 2.6.0 only (long time from now).

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/

Reply by email

Joost van der Sluis
to Michael Van Canneyt: Ola :( I quoted from my Delphi knowledge; and indeed in FPC it is missing. (there is even…
Michael Van Canneyt wrote 18 lines
On Thu, 27 May 2010, silvioprog wrote: > Em 27-05-2010 04:23, Michael Van Canneyt escreveu: >> You may not be aware, but the TDBEdit is a mask edit. The mask must be set >> in the field itself: TField.Editmask. It will be used by TDBEdit. >> >> Michael. > > But this is already implemented in Lazarus? I searched here(Lazarus > 0.9.29 r25654:25679M FPC 2.4.0 i386-linux-gtk 2 (beta)) and did not find. Ola :( I quoted from my Delphi knowledge; and indeed in FPC it is missing. (there is even a comment in dbedit.inc in the LCL :/) I will implement it in TField. Thank you for pointing this out !

Nonononono, there is a patch for this already in mantis.

Joost.

Reply by email

Joost van der Sluis
to Graeme Geldenhuys: And that would probably be a major release, not a "fixes" release. So don't get your…
Graeme Geldenhuys wrote 8 lines
On 28 May 2010 01:50, Luiz Americo Pereira Camara wrote: > > No. Its necessary to be applied to fpc first. Lazarus support will come only > when a fpc version is released with the change. And that would probably be a major release, not a "fixes" release. So don't get your hopes up for something soon like for FPC 2.4.2 or 2.4.4. It should probably make it for 2.6.0 only (long time from now).

Trolling again?

Can't get my feature in the next release, so start trolling others who want another feature?

The DBMaskEdit is a change in the FCL. There are different rules for the FCL and the compiler itself.

Joost.

Reply by email

Graeme Geldenhuys
to Joost van der Sluis
Joost van der Sluis wrote
Trolling again?

No and please drop the attitude!!

I was simply brining across my new found knowledge from a different mailing list. New features are not allowed in "fixes" branch.

The DBMaskEdit is a change in the FCL. There are different rules for the FCL and the compiler itself.

Double standards.

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/

Reply by email

Graeme Geldenhuys
to Florian Klaempfl
Florian Klaempfl wrote
This is not carved in stone but a good thumb rule.

So what is the criteria to get a new feature in the "fixes" branch instead of having to wait months to a year-plus for the next major release? If it's unit tests you want, I can supply that - no problem.

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/

Reply by email

Joost van der Sluis
to Graeme Geldenhuys: No and please drop the attitude!! I was simply brining across my new found knowledge from…
Graeme Geldenhuys wrote 8 lines
On 28 May 2010 10:27, Joost van der Sluis wrote: > > Trolling again? No and please drop the attitude!! I was simply brining across my new found knowledge from a different mailing list. New features are not allowed in "fixes" branch.

Where did I say (on the other list) that no new features are allowed in the fixes branch? Nowhere.

You were mad that your feature didn't make it and tried to give us a bad name. Not by complaining but by bothering others that their feature would not make it because yours didn't. Without reading my mail properly.

That the one who you were answering to is using svn and not a release shows even more that your remark was irrelevent.

> The DBMaskEdit is a change in the FCL. There are different rules for the > FCL and the compiler itself. Double standards.

Trolling again? (Or does this add anything useful to the discussion, besides the point that you do not agree with us and find that we are doing things wrong?)

Joost.

Reply by email

Marco van de Voort
to Florian Klaempfl
Florian Klaempfl wrote 5 lines
>> This is not carved in stone but a good thumb rule. > > So what is the criteria to get a new feature in the "fixes" branch You've to ask the release manager about this ;)

I merge compiler features only in the rare cases that I can oversee them (mostly t_* stuff), and rely fully on Jonas/Florian/Paul's insights here.

If they want to be responsible for merging such feature and follow up any problems in a timely matter, I trust that and only set bounderies with respect to the timeframe when it is merged (just after a fixes release, so there is a maximum time to test it till the next)

Reply by email

Graeme Geldenhuys
to Joost van der Sluis: Where did I say (on the other list) that no new features are allowed in the fixes branch?…
Joost van der Sluis wrote
Where did I say (on the other list) that no new features are allowed in the fixes branch? Nowhere.

It's a sad day for you that I have to quote your own emails.

"Maybe not even 2.4.4, as it is really a new compiler-feature, not a bug-fix." - Joost

You were mad that your feature didn't make it and tried to give us a bad name. Not by complaining but by bothering others that their feature

No, maybe you simply did not bother to look at the patches I listed. Most are actually fixes, like I mentioned to Florian in a private email. Those patches actually fixes 3 bug reports from Mantis - only the 'implements' support was a new feature (though rather important for FPC). I'll forward that mail to the fpc-devel where this discussion should continue.

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/

Reply by email

Joost van der Sluis
to Graeme Geldenhuys
Graeme Geldenhuys wrote 9 lines
On 28 May 2010 11:22, Joost van der Sluis wrote: > > Where did I say (on the other list) that no new features are allowed in > the fixes branch? Nowhere. It's a sad day for you that I have to quote your own emails. "Maybe not even 2.4.4, as it is really a new compiler-feature, not a bug-fix." - Joost

New _compiler_ feature. Just as I told you.

Joost.

Reply by email