Welcome, Guest
Username: Password: Remember me
General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.
  • Page:
  • 1

TOPIC:

Use CT to debug fpGUI and MSEgui "pure" projects. 1 year 7 months ago #17175

  • fredvs
  • fredvs's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 205
  • Thank you received: 1
Hello.
CT is nice also to debug pure fpGUI and MSEgui programs.
For this, go in CT menu Project/New/From Program File and choose the main program file of the project.
But after this there is still work in project option to add all the -FUpathoffile needed for the fpGUI/MSEgui code.

So the proposition is to add items Project/New/From Program fpGUI and Project/New/From Program MSEgui and automatic add the -FUpathoffile needed.
For example, MSEgui need this:
($MSE is the path of root source of MSEgui)
-Fu$MSE/lib/common/* -Fu$MSE/lib/common/kernel/linux       // or /windows

Of course the CT-form-designer will not show the forms, but CT will be used to compile + debug the fpGUI/MSEgui projects.

Please Log in or Create an account to join the conversation.

Last edit: by fredvs.

Use CT to debug fpGUI and MSEgui "pure" projects. 1 year 7 months ago #17176

  • fredvs
  • fredvs's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 205
  • Thank you received: 1
Oooops, it is here the "Forum Feature Request".

Sorry I should add this post in "Typhon Feature Request".

Please Log in or Create an account to join the conversation.

Use CT to debug fpGUI and MSEgui "pure" projects. 1 year 7 months ago #17178

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
We can add MSEgui pkg to CodeTyphon if you want
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Use CT to debug fpGUI and MSEgui "pure" projects. 1 year 7 months ago #17179

  • fredvs
  • fredvs's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 205
  • Thank you received: 1

We can add MSEgui pkg to CodeTyphon if you want

Yes, sure, it would be great if CT has MSEgui also in his bag.

Please Log in or Create an account to join the conversation.

Use CT to debug fpGUI and MSEgui "pure" projects. 1 year 7 months ago #17180

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Your wish it's our command...

StartEX on Win11

We need time for this ....

 



PS: we use source from github.com/mse-org/mseide-msegui
it's this OK :
 
PilotLogic Architect and Core Programmer
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Use CT to debug fpGUI and MSEgui "pure" projects. 1 year 7 months ago #17181

  • fredvs
  • fredvs's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 205
  • Thank you received: 1
Huh, you scare me, are you already working with MSEgui?

PS: we use source from  github.com/mse-org/mseide-msegui
it's this OK :


Yes, it is the last source.
Not sure to understand, are the MSEgui components compatible with Code Typhon, can you use the MSEgui code without changing all?

Please Log in or Create an account to join the conversation.

Last edit: by fredvs.

Use CT to debug fpGUI and MSEgui "pure" projects. 1 year 7 months ago #17182

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Yes
but need mods for PascalScript and Zeos.

As first step, we will continue without this MSE abilities.

 
PilotLogic Architect and Core Programmer
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Use CT to debug fpGUI and MSEgui "pure" projects. 1 year 7 months ago #17183

  • fredvs
  • fredvs's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 205
  • Thank you received: 1
If you work so fast, MSEgui can also use BGRABitmap package (that CT has).

For a MSEgui project that uses BGRABitmap, those fpc parameters must be added:
-FUpath_of_bgrabitmap -dclass_bridge -dBGRABITMAP_USE_MSEGUI

And for dynamic load of PO files, this must be added:
-dmse_dynpo

Otherwise nothing else should be added for parameters ( apart -Fcutf8 and  -Mobjfpc )

Please Log in or Create an account to join the conversation.

Use CT to debug fpGUI and MSEgui "pure" projects. 1 year 7 months ago #17184

  • fredvs
  • fredvs's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 205
  • Thank you received: 1
> PascalScript and Zeos.

Indeed that are not really "original" MSEgui components but added in source by the developers of those components.
I never try it deeply.

Please Log in or Create an account to join the conversation.

Use CT to debug fpGUI and MSEgui "pure" projects. 1 year 7 months ago #17185

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
We will explore all these
but first we must make some MSE projects to CodeOcean...
and this second step it's critical.

We must give CT-Life to you Kernel and Widgets first

Tomorrow we will test pl_MSEgui on Linux (new LinuxMint 21),
after that we can give you the source to play and help us...

Solaris, FreeBSD, NetBSD, OpenIndiana etc.....

 
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Use CT to debug fpGUI and MSEgui "pure" projects. 1 year 7 months ago #17186

  • fredvs
  • fredvs's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 205
  • Thank you received: 1
I am very impressed.

Please Log in or Create an account to join the conversation.

Use CT to debug fpGUI and MSEgui "pure" projects. 1 year 7 months ago #17187

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1047
  • Thank you received: 145
And I will start tomorrow with this LAB task,
MSE has a lot of work, and your High Level pascal code can't be out of CT.
Thanks for your work Sir.
PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..

Use CT to debug fpGUI and MSEgui "pure" projects. 1 year 7 months ago #17188

  • fredvs
  • fredvs's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 205
  • Thank you received: 1
Huh, thanks for the thanks but MSEgui is the work of Martin Schreiber.
I just (try to) make it still on the road and compatible with the (lot of) change-backward-no-compatible in each new commits in fpc source.

IMHO, MSEgui is the best widgetset that exist, even compared with the C tenors like GTK, Qt, Carbon, Windows-GDI and friends.
And it is 100 % Pascal.

Please Log in or Create an account to join the conversation.

Last edit: by fredvs.

Use CT to debug fpGUI and MSEgui "pure" projects. 1 year 7 months ago #17191

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
pl_MSEgui LAB Stage 2

Build and Debug MSEide from TyphonIDE-64
on Win11

 



Build and Debug MSEide from TyphonIDE-64
on LinuxMint ver 21 MATE.

 


NO MODs to MSEgui source code until now.
PascalScript is out from pl_MSEgui.

We must write code for mseide directories settings
PilotLogic Architect and Core Programmer
Attachments:

Please Log in or Create an account to join the conversation.

Use CT to debug fpGUI and MSEgui "pure" projects. 1 year 7 months ago #17193

  • fredvs
  • fredvs's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 205
  • Thank you received: 1
WOW

Please Log in or Create an account to join the conversation.

Use CT to debug fpGUI and MSEgui "pure" projects. 1 year 7 months ago #17194

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
MSEide LAB Stage 3

Because as package MSEide + MSEgui can't be used from TyphonIDE,
we put all MSEide + MSEgui source to one CT application.

You can download
MSEide.7z
and study the source.

Again NO MODs to MSEgui source code,
and with PascalScript support.

Have fun....
 
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..

Use CT to debug fpGUI and MSEgui "pure" projects. 1 year 7 months ago #17196

  • fredvs
  • fredvs's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 205
  • Thank you received: 1
> MSEide.7z

Superb and autoindent works perfectly, also Ctrl+something.

 

But how must I do to convert other MSEgui projects into Typhon ctpr projects?
Must the original msegui-program.pas renamed into msegui-program.ppr ?

Many thanks for this great feature.

Fre;D
Attachments:

Please Log in or Create an account to join the conversation.

Use CT to debug fpGUI and MSEgui "pure" projects. 1 year 7 months ago #17197

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100

> MSEide.7z

But how must I do to convert other MSEgui projects into Typhon ctpr projects?






 

NO
you will continue to use MSEide for other MSEgui programs.

If you want TyphonIDE to build MSEgui-MSEide applications:

a) We must make a package pl_MSEgui for this and
to put our MODs to MSE source,
Primary for Kernel/Windows and Kernel/Linux folders units
like xxx_win.pas xxx_lin.pas.

b) We must add a IDE package like  ds_MSEgui_IDE, to create new MSE app etc.

My suggestion is to build only MSEide with CT.
MSEgui-MSEide can now develop under the CodeTyphon Studio.
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.
  • Page:
  • 1