Recent

Author Topic: TStateMachine  (Read 20278 times)

avra

  • Hero Member
  • *****
  • Posts: 2528
    • Additional info
Re: TStateMachine
« Reply #15 on: July 25, 2013, 11:56:23 am »
What is too complex? I can help with part of the work. What you need to do?
After too much time being spent I have lost the interest and at the end implemented what I needed in Delphi. I have made the original Delphi conversion and fixed few things here and there, but I couldn't fix already mentioned design mode bug that doesn't seam to show for every Lazarus user (it shows in all my Lazarus/CodeTyphon/fpcup installations on Win7-32, Win7-64 and WinXP). Everyone with time and knowledge to fix this is more then welcome to try!
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: TStateMachine
« Reply #16 on: July 25, 2013, 12:01:08 pm »
oh, ok. I have no need for a state machine component set at this point, some time in the future maybe.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

avra

  • Hero Member
  • *****
  • Posts: 2528
    • Additional info
Re: TStateMachine
« Reply #17 on: July 25, 2013, 12:04:01 pm »
Thanks anyway for showing good will...
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

matthius

  • Full Member
  • ***
  • Posts: 164
  • Creating VRAD...
    • LIBERLOG - Développement rapide
Cross TStateMachine
« Reply #18 on: September 09, 2024, 12:51:16 pm »
Hello !

I have tested State Machine on GNU Linux.

It seems ok :
https://lazaruscomponents.com/2024/09/09/state-diagram/

Please share and choose a license. I prefer sourceforge.
M. GIROUX
13 rue Tanguy PRIGENT
35000 RENNES - France
http://liberlog.fr

avra

  • Hero Member
  • *****
  • Posts: 2528
    • Additional info
Re: Cross TStateMachine
« Reply #19 on: September 10, 2024, 12:44:55 am »
I have tested State Machine on GNU Linux.

It seems ok :
https://lazaruscomponents.com/2024/09/09/state-diagram/
Thank you for testing. I know that runtime works, but did you test design mode as described here:
"...in design mode I have a connector lines updating problem. When I move or do something with any of the controls I see connector lines painted for a short eye blink moment, but they are erased immediately after that. Single click on a component helps temporary but just until clicked somewhere else."
I am interested to see design mode working properly, because without it I do not see it useful.

Quote
Please share and choose a license. I prefer sourceforge.
I will share it when design time bug is fixed. I can not change the original author license, which is Creative Commons Attribution-Share Alike 3.0 Unported License, as seen on his page https://melander.dk/delphi/statemachine.
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

matthius

  • Full Member
  • ***
  • Posts: 164
  • Creating VRAD...
    • LIBERLOG - Développement rapide
Re: Cross TStateMachine
« Reply #20 on: September 10, 2024, 02:20:26 pm »
Thank you for testing. I know that runtime works, but did you test design mode as described here:
"...in design mode I have a connector lines updating problem. When I move or do something with any of the controls I see connector lines painted for a short eye blink moment, but they are erased immediately after that. Single click on a component helps temporary but just until clicked somewhere else."
I am interested to see design mode working properly, because without it I do not see it useful.

Component did not compile on GNU Linux. So i traduced it more to Lazarus. But in design time it works on GNU Linux. Lines are not blinking or erased.
M. GIROUX
13 rue Tanguy PRIGENT
35000 RENNES - France
http://liberlog.fr

af0815

  • Hero Member
  • *****
  • Posts: 1367
Re: TStateMachine
« Reply #21 on: September 11, 2024, 12:12:26 pm »
I have tested State Machine on GNU Linux.
Your Version is not working in WIndows. The ClipCursor is missing, because it is hided by conditional compiling.
regards
Andreas

Thaddy

  • Hero Member
  • *****
  • Posts: 15717
  • Censorship about opinions does not belong here.
Re: TStateMachine
« Reply #22 on: September 11, 2024, 05:13:06 pm »
It is very old code, worked for years, and is not a full featured statemachine.
If I smell bad code it usually is bad code and that includes my own code.

matthius

  • Full Member
  • ***
  • Posts: 164
  • Creating VRAD...
    • LIBERLOG - Développement rapide
Re: TStateMachine
« Reply #23 on: September 11, 2024, 11:40:00 pm »
Now it works on Windows, GNU Linux, Mac OS.
M. GIROUX
13 rue Tanguy PRIGENT
35000 RENNES - France
http://liberlog.fr

 

TinyPortal © 2005-2018