Re: [fpc-pascal] TFPTimer component.

2007-06-22 Thread Michael Van Canneyt


On Fri, 22 Jun 2007, Graeme Geldenhuys wrote:

> On 22/06/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> >
> > Some time ago, Graeme Geldenhuys (hope I spelled this correct from memory)
> > posted some TFPTimer component to this list.
> 
> The name is 100% correct. :-)
> Thanks for taking my idea further and submitting it to FCL.  This is
> what I love about OpenSource - get the idea out there and let others
> extend and improve it if they wish.

Absolutely...

There are already 2 ideas for even further improvement:
- Use 1 thread to fire events for all timers.
  Should be relatively easy.

- Don't use synchronize to fire the timer, because that limits
  the use of timers to the main thread.
  This one is harder, and I must confess I don't have a clue
  on how to implement this in a platform independent manner...

Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] CheckSynchronize

2007-06-22 Thread Felipe Monteiro de Carvalho

On 6/22/07, Vincent Snijders <[EMAIL PROTECTED]> wrote:

It is not that we can't use the release, but we (at least I) rather risk a 
possible instability rather than have some some known bugs and limitations. And 
that I want to invest time in it by distributing patched versions of fpc. I 
think this is similar to why there is debian for people who value stability and 
ubuntu for people who want faster bug fixes or new features.


Are the bugs really that severe that people can't wait for 2.2.2?

I think that maintaining such separate branch isn't a good idea. If
the fixes haven't been commited because they can have unprevisible
side effects, releasing Lazarus with them may just as well
fix a bug for some users, but add new bugs for lot's of other people,
and then make this Lazarus release unusable for lot's of people.

--
Felipe Monteiro de Carvalho
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] CheckSynchronize

2007-06-22 Thread vsnijders


- Original Message -
From: Felipe Monteiro de Carvalho <[EMAIL PROTECTED]>
Date: Friday, June 22, 2007 10:04 am
Subject: Re: [fpc-pascal] CheckSynchronize

> On 6/22/07, Vincent Snijders <[EMAIL PROTECTED]> wrote:
> > It is not that we can't use the release, but we (at least I) 
> rather risk a possible instability rather than have some some known 
> bugs and limitations. And that I want to invest time in it by 
> distributing patched versions of fpc. I think this is similar to 
> why there is debian for people who value stability and ubuntu for 
> people who want faster bug fixes or new features.
> 
> Are the bugs really that severe that people can't wait for 2.2.2?
> 

Sure they can wait. Lazarus users are really patient people, they are waiting 
for more 
than three years now for Lazarus 1.0.0.

> I think that maintaining such separate branch isn't a good idea. If
> the fixes haven't been commited 

They have been committed, but have not been merged to the fixes branch. 

> because they can have unprevisible
> side effects, releasing Lazarus with them may just as well
> fix a bug for some users, but add new bugs for lot's of other people,
> and then make this Lazarus release unusable for lot's of people.
> 

Any fix can have unprevisible side effects. Unless we test, we don't know the 
impact.

Vincent

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] CheckSynchronize

2007-06-22 Thread Jonas Maebe


On 22 jun 2007, at 00:17, Vincent Snijders wrote:

I see the following options, start with the IMHO most preferable to  
the least preferable:

A: merge those patches to the fixes branch now.


As far as the checksynchronize patch is concerned: since it (almost?)  
only affects Lazarus and mside, I guess it's most logical to leave it  
up you to decide whether or not it should be merged.


Resources patch: up to the Windows maintainers.


Jonas
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


RE: [fpc-pascal] Re: Lua and Freepascal and ARM

2007-06-22 Thread josepascual
Hi Paul,

> Hi Jose :-)
> I can't help you with your problem, but I am curious...

thanks anyway,

> 1)is your ARM system using Linux?
yes,
> 2)for Lua under ARM, are you using dynamic linking or static
> linking?
i'm using dynamic linking but you can use static if you want.
> For dynamic linking, where did you get your Lua 'DLL' from, and for
> static
> linking, how did you do this?
You only need to download lua sources to your arm-linux and make and make
install it's so easy
 
> I would like to get into using Lua under arm-linux myself (already used
> Lua
> and freepacal under Win32 with no problems)

There is differences between freepascal for linux-i386 and linux-arm because
same program compiling for i386 work okey
but for ARM.

I'm testing with a wrapper (Pas2Lua) for freepascal and It work okey in
delphi-windows, freepascal-i386 but it does not
work in freepascal for ARM due some problem with heap implementation in
fpc-arm.

how are you using (in this way) lua and freepascal in windows? Are you also
using Pas2Lua?

regards
Jose Pascual.


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] CheckSynchronize

2007-06-22 Thread Martin Schreiber
On Friday 22 June 2007 11.19, Jonas Maebe wrote:
> On 22 jun 2007, at 00:17, Vincent Snijders wrote:
> > I see the following options, start with the IMHO most preferable to
> > the least preferable:
> > A: merge those patches to the fixes branch now.
>
> As far as the checksynchronize patch is concerned: since it (almost?)
> only affects Lazarus and mside, I guess it's most logical to leave it
> up you to decide whether or not it should be merged.
>
MSEgui has its own synchronizing mechanism, feel free to merge the patch.
BTW, what is the status of winlikewidestrings for FPC 2.2 (Mantis 8481)?

Martin
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-22 Thread Felipe Monteiro de Carvalho

On 6/21/07, Catalin Zamfir Alexandru <[EMAIL PROTECTED]> wrote:

1. MessageDlg function shows the text, but doesn't show the buttons [mbOK] and
[mbCancel].
2. The menu in KCalculator doesn't show. It's there, but the EditResult TEdit
component along with the butons just top it, instead of sitting right below
it, they float over it.


Please submit bug reports for these issues.

I didn't really understand the second one, so attaching a screenshot
on the bug report will be a good idea. On both cases a test app is a
great thing.

I also hope to get Qt 4.2 support working in 1 or 2 weeks.

bye,
--
Felipe Monteiro de Carvalho
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-22 Thread Catalin Zamfir Alexandru
Please point me to the FreePascal/Lazarus BugZilla. :P

On Friday 22 June 2007 18:55, Felipe Monteiro de Carvalho wrote:
> On 6/21/07, Catalin Zamfir Alexandru <[EMAIL PROTECTED]> wrote:
> > 1. MessageDlg function shows the text, but doesn't show the buttons
> > [mbOK] and [mbCancel].
> > 2. The menu in KCalculator doesn't show. It's there, but the EditResult
> > TEdit component along with the butons just top it, instead of sitting
> > right below it, they float over it.
>
> Please submit bug reports for these issues.
>
> I didn't really understand the second one, so attaching a screenshot
> on the bug report will be a good idea. On both cases a test app is a
> great thing.
>
> I also hope to get Qt 4.2 support working in 1 or 2 weeks.
>
> bye,
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-22 Thread Felipe Monteiro de Carvalho

On 6/22/07, Catalin Zamfir Alexandru <[EMAIL PROTECTED]> wrote:

Please point me to the FreePascal/Lazarus BugZilla. :P


http://wiki.lazarus.freepascal.org/How_do_I_create_a_bug_report
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal