Sign in Join

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

Mailing lists / lazarus / 1999-09

TTimer

6 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Shane Miller

The timer seems to be firing WAY too quickly since I cycled LAzarus and the new compiler. Can whomever is in charge of the timer please look into this?

When I open a file in the editor, press a key and move the window so it redraws, the TIMER fires constantly.

Thanks

------------------------------------------------------------ Shane Miller

Get paid to surf the net!
http://alladvantage.com/go.asp?refid=DEX-870

Home page : http://www.lakefield.net/~smiller

Auto-IP Publisher : http://www.lakefield.net/~smiller/autoip

Advanced Clipboard : http://www.lakefield.net/~smiller/advclipboard

Lazarus : http://www.miraclec.com/lazarus
----------------------------------------------------------

Earlier message 46 lines
-----Original Message----- From: Curtis White To: Date: Sunday, September 12, 1999 3:46 PM Subject: Re: [lazarus] Q: Current progress >Michael, > >I was looking at the Notebook stuff and there is a fair amount involved with >moving it from the IntSendMessage2 function to the new IntSendMessage3 >function. I am working on it now. So you won't have to worry about migrating it >(it is taking a fair amount of work but will be much cleaner) to the new >IntSendMessage3 function. I should have it done in a little while and I will >commit it to CVS. That should fix the notebook code and then I can get going on >the TClipboard code again. > >I will leave moving it to its own directory to you, though :-) > > >Curtis > >On 12-Sep-99 Michael A. Hess wrote: >> Curtis White wrote: >>> >>> It isn't working correctly any more and I am guessing that it is >>> because it is in the middle of being moved to the new gtkint functions >>> (I haven't checked anything to see why). >> >> I only just cycled a new compiler and update Lazarus myself last night >> for the first since before I went on vacation which was 4 weeks ago. :-\ >> >> I hope to get the gtkint stuff moved over into the separate directory >> this week and cleanup the remaining code. I keep the list posted. >> > > >_________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus >

Reply by email

Stefan Hille
to Shane Miller
Shane Miller wrote 5 lines
The timer seems to be firing WAY too quickly since I cycled LAzarus and the new compiler. Can whomever is in charge of the timer please look into this? When I open a file in the editor, press a key and move the window so it redraws, the TIMER fires constantly.

I took a quick look but can't say too much by now:

1. It'll not happen with my old compiler (probably build about a week or two ago).
2. After cycling to the actual compiler the timer starts firing permanently directly after I click File/Open

2 suggestions:

- the actual compiler may have a new bug
- I have not been very careful checking for the different integer types when creating TTimer. Maybe there's something wrong with that.

So far, I hope this helps, otherwise I'll have to go into it again tomorrow.

bye,

Stefan

--------------------------------------------------------- Stefan Hille email: 48155 Muenster voice: 0251/664695

Reply by email

Stefan Hille
to Shane Miller: The timer seems to be firing WAY too quickly since I cycled LAzarus and the new compiler.…

Hi Shane!

Shane Miller wrote
The timer seems to be firing WAY too quickly since I cycled LAzarus and the new compiler. Can whomever is in charge of the timer please look into this?

I'll look at it tonight, although I think nobody changed anything with the timer. Few questions about this:

- Is this behaviour new?
- Are you already using gtk 1.2.4 (I'm )?
- Do you see this under windows or linux (I have only Linux up & running)?

bye,

Stefan

--------------------------------------------------------- Stefan Hille email: 48155 Muenster voice: 0251/664695

Reply by email

Shane Miller

The timer seemed to crash after I cycled a new compiler, but I also cycled new lazarus too so I'm not sure what changes were made in Lazarus. Not too much though, and certainly nothing done to TTimer.

I'll try re-cycling the compiler in hopes that they (the compiler folks) have found something.
------------------------------------------------------------ Shane Miller

Get paid to surf the net!
http://alladvantage.com/go.asp?refid=DEX-870

Home page : http://www.lakefield.net/~smiller

Auto-IP Publisher : http://www.lakefield.net/~smiller/autoip

Advanced Clipboard : http://www.lakefield.net/~smiller/advclipboard

Lazarus : http://www.miraclec.com/lazarus
----------------------------------------------------------

Earlier message 36 lines
-----Original Message----- From: Stefan Hille To: Date: Monday, September 13, 1999 10:43 AM Subject: Re: [lazarus] TTimer >Hi Shane! > >On Sun, Sep 12, 1999 at 07:37:29PM -0700, Shane Miller wrote: >> The timer seems to be firing WAY too quickly since I cycled LAzarus and the >> new compiler. Can whomever is in charge of the timer please look into this? > >I'll look at it tonight, although I think nobody changed anything with the >timer. Few questions about this: > > - Is this behaviour new? > - Are you already using gtk 1.2.4 (I'm )? > - Do you see this under windows or linux (I have only Linux up & running)? > >bye, > > Stefan > >-- >--------------------------------------------------------- >Stefan Hille email: >48155 Muenster voice: 0251/664695 > >_________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus >

Reply by email

Stefan Hille
to Shane Miller

Hi!

Peter Vreman wrote 8 lines
> The timer seemed to crash after I cycled a new compiler, but I also cycled > new lazarus too so I'm not sure what changes were made in Lazarus. Not too > much though, and certainly nothing done to TTimer. > > I'll try re-cycling the compiler in hopes that they (the compiler folks) > have found something. If it's a compiler bug please create assembler listings using -al and compare the lists from the 2 compiler versions using 'diff -c'.

I did'nt do a that but think I found the reason in the "with" statement. In contrast to most other lcl components, the stuff related to TTimer and TProgressBar makes use of constructs like

  with (TProgressBar (Sender)) do
  begin
    ....
  end;

Both, TTimer and TProgressbar, showed undesired behaviour with the latest compiler so I changed them to work without the "with" and everything works fine then.

Hope this helps.

bye,

Stefan

PS: I'll not update lazarus cvs with my changes now since I'm too tired. Good night.

--------------------------------------------------------- Stefan Hille email: 48155 Muenster voice: 0251/664695

Reply by email

Peter Vreman
to Shane Miller: The timer seemed to crash after I cycled a new compiler, but I also cycled new lazarus…
Show quoted text 6 lines
The timer seemed to crash after I cycled a new compiler, but I also cycled new lazarus too so I'm not sure what changes were made in Lazarus. Not too much though, and certainly nothing done to TTimer. I'll try re-cycling the compiler in hopes that they (the compiler folks) have found something.

If it's a compiler bug please create assembler listings using -al and compare the lists from the 2 compiler versions using 'diff -c'.

Peter

Reply by email