Welcome, Guest
Username: Password: Remember me
CodeTyphon Platforms (Win32/64, GTK2/3/4, QT4/5/6, Cocoa, FpGUI etc) Development, discussions and problems
  • Page:
  • 1
  • 2

TOPIC:

fpGUI integration to CT 8 years 11 months ago #7272

  • fredvs
  • fredvs's Avatar
  • Visitor
  • Visitor

Regarding your "uidesigner_ext", why don't you rather use the Releases feature of github to distribute your binaries, instead of including them in the code repository? [github.com/fredvs/uidesigner_ext/releases] It is very easy to use on Github. Simply tag a commit with a release version, then go to the Release page and make a new release, selecting the release tag. Then upload your binaries against that release. That way you still have binary releases, and the source code repository doesn't have the huge binary file overhead (which makes your repository much larger to download). Github will automatically supply *.tar.gz and *.zip archives of the source code for each release.


Because i am afraid to do it wrong :(
Of course i would prefer to do as you explain, but i am not a Github pro and prefer not to touch to your repository for not doing mess.

Fre;D

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

fpGUI integration to CT 8 years 11 months ago #7273

  • Graeme Geldenhuys
  • Graeme Geldenhuys's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 1
hehehe... There is nothing to be afraid of, and you are working on your repository, not mine. If you do something wrong, you can simply delete the release and start again.

Here is Github's documentation on creating releases. It is very simple.
github.com/blog/1547-release-your-software

And here is Git documentation on tagging specific points in the code history:
git-scm.com/book/en/v2/Git-Basics-Tagging

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

fpGUI integration to CT 8 years 11 months ago #7274

  • fredvs
  • fredvs's Avatar
  • Visitor
  • Visitor

much larger to download

Much larger, are you sure ? Do not forget that those binaries are pure fpGUI =>
All the binaries zipped (Windows32 + Windows64 + Linux32 + Linux64 + freeBSD64) => 2,5 megas :whistle:

Thanks for gitHub links, will take a look.

Fre;D

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

Last edit: by fredvs.

fpGUI integration to CT 8 years 11 months ago #7275

  • Graeme Geldenhuys
  • Graeme Geldenhuys's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 1
I know fpGUI binaries are small. :) But still, a code repository is not designed or meant for large binary blobs (files). Git is designed to be efficient with text because it only stores differences between two commits. When it comes to binaries, almost every byte will be different between binary files, so it stores a whole copy of that file as is. Your repository also contains unziped binaries, so that makes it larger too (though zipping will not help Git either). Just thought I would mention it. ;-)

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

fpGUI integration to CT 8 years 11 months ago #7277

  • fredvs
  • fredvs's Avatar
  • Visitor
  • Visitor

But still, a code repository is not designed or meant for large binary blobs (files). Git is designed to be efficient with text because it only stores differences between two commits. When it comes to binaries, almost every byte will be different between binary files, so it stores a whole copy of that file as is. Your repository also contains unziped binaries, so that makes it larger too (though zipping will not help Git either). Just thought I would mention it. ;-)


Ok, i am converted, will study it.

Hum, by the way, /.git folder in designer_ext folder is => 98 megas :woohoo:
How to reduce it ? => With your "release" tip, would it decrease the size of /.git ?

Thanks

Fre;D

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

Last edit: by fredvs.

fpGUI integration to CT 8 years 11 months ago #7278

  • Graeme Geldenhuys
  • Graeme Geldenhuys's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 1

Hum, by the way, /.git folder in designer_ext folder is => 98 megas :woohoo:

Yup, that is what I meant, and the amount somebody is going to download if they clone your repository. The whole fpGUI git history from 2006-2015 is only 28MB in the .git folder. :)

How to reduce it ? => With your "release" tip, would it decrease the size of /.git ?

No you can't reduce it (not as far as I know), it is now part of the repository history. I'll do some google searching tonight, but again, I don't think you can reduce it, other than starting a new repository.

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

fpGUI integration to CT 8 years 11 months ago #7279

  • fredvs
  • fredvs's Avatar
  • Visitor
  • Visitor

---- LAB CT version 5.40 Tasks list ----

-Task30 pl_AsphyreSphinx, Port to QT, Carbon, Cocoa etc (Total Steps 5)
-Task31 pl_GLScene, Port to QT, Carbon, Cocoa etc (Total Steps 5)
-Task51 pl_Graphics32, Port to QT5 and fpGUI platforms (Total Steps 5)


Ooops, it is in your plan already...
OK, i let you work without disturb... ;)

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

fpGUI integration to CT 8 years 11 months ago #7288

  • fredvs
  • fredvs's Avatar
  • Visitor
  • Visitor
Hello.

Here, in attachment, typhon_ide.pkg to add fpGUI project/application in Typhon => new project/application.

File Attachment:

File Name: typhon_ide.zip
File Size:6 KB


[EDIT] I have try to announce it to Graeme web site => problem accessing... => News::NNTPClient: Can't connect socket:

Fre;D
Attachments:

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

Last edit: by fredvs.

fpGUI integration to CT 8 years 11 months ago #7289

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Thanks Sir
we will test and add ASAP
PilotLogic Architect and Core Programmer

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

fpGUI integration to CT 8 years 11 months ago #7294

  • fredvs
  • fredvs's Avatar
  • Visitor
  • Visitor
Ok Sternas, super.

So, for enabling pure fpGUI in Typhon =>

1) Install pure fpGUI package =>
=> for Windows => <fpgui>/src/corelib/gdi/fpgui_toolkit.lpk
=> for *nix => <fpgui>/src/corelib/x11/fpgui_toolkit.lpk

2) Add "new fpGUI project" in "New Project" with => typhon_ide.lpk (attachment of previous post)

Fre;D

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

Last edit: by fredvs.

fpGUI integration to CT 8 years 11 months ago #7295

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
We working on this Sir


PilotLogic Architect and Core Programmer

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

fpGUI integration to CT 8 years 11 months ago #7296

  • fredvs
  • fredvs's Avatar
  • Visitor
  • Visitor
Wow, excellent. :)
I am very curious to see how you will do to integrate the fpGUI UIdesigner. (if you have problems with it, please ask it ;) )

Fre;D

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

fpGUI integration to CT 8 years 11 months ago #7297

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Sir
we finish step2 (total 5) of lab Task52: "FpGUI integration to CT"
Tested only on windows 32/64bits until now
Tomorrow we will start OSes road (Step3)...(Linux, FreeBSD, Solaris, etc)
and some screens on win64 with Typhon64
.
PilotLogic Architect and Core Programmer

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

fpGUI integration to CT 8 years 11 months ago #7395

  • fredvs
  • fredvs's Avatar
  • Visitor
  • Visitor
Hello.

There is a fix in typhon_ide.zip => Creation of form is done now by => fpgApplication.CreateForm() => = more features.

File Attachment:

File Name: typhon_ide-2.zip
File Size:6 KB


Fre;D

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

Last edit: by fredvs.
  • Page:
  • 1
  • 2