× Lab CT Version, news, test results, new features request and suggestions

Idea CT LAB ver 5.90

  • usbdoo
  • Visitor
  • Visitor
3 years 10 months ago - 3 years 10 months ago #10046 by usbdoo
Replied by usbdoo on topic CT LAB ver 5.90
How close to integrate the Pandroid to CodeTyphon?
What prepares or planning CT about apk JVM FPC?
Last edit: 3 years 10 months ago by usbdoo.

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

More
3 years 10 months ago #10047 by Bram van Vliet
Replied by Bram van Vliet on topic CT LAB ver 5.90
Hello Sternas,

Thanks for the quick response, problem solved! It was indeed a naming conflict.

I pre pended the package name ending with a underscore to the bmp names (should have done that when i ported the package from Delphi7 as standard practice) and made a .res instead of lrs (deprecated) of it to be future proof.

Maybe useful for others, i extended my fpc.cfg to crosscompile to arm (Beaglebone and RPi) under linux from the IDE by conditionally setting the searchpath for libraries.

# searchpath for libraries
#IFDEF CPUARM
#IFDEF Raspbian2
-Fl/usr/local/codetyphon/binLibraries/arm-linux-Raspbian2
#ESLSE
-Fl/usr/local/codetyphon/binLibraries/arm-linux-Beagleboard
#ENDIF
#ELSE
-Fl/usr/lib64
-Fl/usr/lib/x86_64-linux-gnu
-Fl/usr/lib/gcc/x86_64-linux-gnu/4.9
-Fl/usr/lib/gcc/x86_64-linux-gnu/4.8
-Fl/usr/lib/gcc/x86_64-linux-gnu/4.7
-Fl/usr/lib/gcc/x86_64-linux-gnu/4.6
-Fl/usr/lib/gcc/x86_64-linux-gnu/4.2.3
-Fl/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.7.4
-Fl/usr/lib/gcc/x86_64-redhat-linux/4.8.2
-Fl/usr/lib64/gcc/x86_64-suse-linux/4.8/
-Fl/usr/lib/gcc/x86_64-redhat-linux/4.8.3
#ENDIF

Since i mostly cross compile for the Beaglebone i opted for a extra ifdef for RPi. For cross compiling to RPI just add -dRaspbian2 to custom options in your rpi target build mode.

Again thanks!

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
3 years 10 months ago #10048 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 5.90
Thanks Sir
have fun...

PilotLogic Architect and Core Programmer

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

More
3 years 9 months ago #10077 by Vitaly
Replied by Vitaly on topic CT LAB ver 5.90

Avra wrote:


Please add mORMot. All the FPC and Lazarus RTTI integration is already done at newpascal.org


+1

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

  • Klaus Riesterer
  • Klaus Riesterer's Avatar
  • Offline
  • User is blocked
  • User is blocked
More
3 years 9 months ago #10103 by Klaus Riesterer
Replied by Klaus Riesterer on topic CT LAB ver 5.90

Vitaly wrote:

Avra wrote:


Please add mORMot. All the FPC and Lazarus RTTI integration is already done at newpascal.org


+1


Mormot is already good documented but has no ready support for Linux and needs Delphi partially (See Synopse-Homepage). tiOPF is really working fine on Windows, Mac and Linux with FPC but is less documented.

Mint Cinnamon 19.3 / CT 7.1 / FPC/Lazarus

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

More
3 years 9 months ago #10108 by Vitaly
Replied by Vitaly on topic CT LAB ver 5.90
I don't know about Linux support, because I use win and my target is windows server (what is this? synopse.info/files/html/Synopse%20mORMot...201.18.html#TITL_142 )

Delphi-needing: it' s true, I use delphi, but only for generating missing interface RTTI (delphi 6 totally enough). In other cases, like classic mORMot client-server, I don't need delphi at all.

tiOPF obviously good, but (as I understood) it is only ORM without any web-services abilities for example.
I work with mORMot (with CT) for less than month and didn't work with tiOPF at all. So, I admit that I can be wrong. Still I don't see how tiOPF can replace mORMot for me.

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

  • Klaus Riesterer
  • Klaus Riesterer's Avatar
  • Offline
  • User is blocked
  • User is blocked
More
3 years 9 months ago - 3 years 9 months ago #10112 by Klaus Riesterer
Replied by Klaus Riesterer on topic CT LAB ver 5.90
You're right, there is some linux support and I will test it soon. I think if mORMot is working with linux nativly it is the better solution. Also the documentation in mORMot is mutch better and complete. What I can't see is how to generate the RTTI interface for nativ Linux, when I have to use Delphi for that.
Thank you for the above link - I hadn't seen this.
There are web-services also in tiOPF but there is no json support in th moment (its in development)
I use tiOPF for some weeks now and I did not know all functions for now. The documentation is incomplete but there are many demo projects.

Bad News from Synopse on 2016-02-11:

'Sadly, we do not have full support of all FPC versions.
We would like perhaps to validate a particular version of FPC...

Any version of Delphi, since Delphi 6 would work just fine with mORMot.

Honestly, I did not have time lately to focus back on support of latest versions of FPC...
Since we do not use FPC here on production, and are implementing features on proprietary mORMot-based code using Delphi and (old) CrossKylix,'



There are warnings to not use mORMot on FPC for production purpose. (But many did this without any issues !)
There are also massive problems with string constants in FPC with mORMot. (may be it's a fpc problem in codepages)

(See mORMot forums)

If all problems are solved mORMot will be the better solution I think.

Why not implement both tiOPF and mORMot? Its not a great thing to do this ...

Mint Cinnamon 19.3 / CT 7.1 / FPC/Lazarus
Last edit: 3 years 9 months ago by Klaus Riesterer.

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

More
3 years 9 months ago #10113 by Vitaly
Replied by Vitaly on topic CT LAB ver 5.90

Klaus Riesterer wrote: If all problems are solved mORMot will be the better solution I think.

Why not implement both tiOPF and mORMot? Its not a great thing to do this ...


That's why I posted "+1" on mORMot proposal :) I used CT for years (instead of Lazarus) and became too accustomed to get everything I need out of box at any time. [Many thanks to CT Team by the way, many!]
Now I use mORMot with CodeTyphon. There are some troubles, but they are all "overcomeable".
Therefore I'm sure that CT Team will solve all that and future problems while implementing mORMot. Of course, if they decide to do it ;)

You are right! I'm totally for implementing every single qualified library in CT. It will be only better for everybody.
For example, I didn't ever used even half of components, introduced in CodeTyphon. But I'm pleased to have an ability to use them, if I get such a need.

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

More
3 years 9 months ago #10114 by Leslie
Replied by Leslie on topic CT LAB ver 5.90
Vitaly,

Your information on mORMot is outdated. It supports and follows the FPC trunk. There is a contributor (Alf) who helped the Linux and Android development greatly. There are people actively developing Linux servers with FPC, me included. Delphi starter is available for free now. It is just one extra step to generate the necessary RTTI for interfaces. You can create a batch file for that. No biggy.

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

  • Klaus Riesterer
  • Klaus Riesterer's Avatar
  • Offline
  • User is blocked
  • User is blocked
More
3 years 9 months ago - 3 years 9 months ago #10115 by Klaus Riesterer
Replied by Klaus Riesterer on topic CT LAB ver 5.90

Leslie wrote: Vitaly,

Your information on mORMot is outdated. It supports and follows the FPC trunk. There is a contributor (Alf) who helped the Linux and Android development greatly. There are people actively developing Linux servers with FPC, me included. Delphi starter is available for free now. It is just one extra step to generate the necessary RTTI for interfaces. You can create a batch file for that. No biggy.


With some help in other forums I get mORMot running under Linux now. May be that my informations are outdated, but they are from official source.

To use Delphi in any form is not what I will do, either payed nor free. I have licences for Delphi as I used it for many years, but I will not do a new Setup on Windows - I use Linux.

Looking at the sample codes in the mORMot demo folder I decided to use tiOPF. Its - in my opinion - the better, more clear and structured solution and it is highly integrated in Lazarus, especially with fpGUI.
Please don't missunderstand, mORMot is also great and I will follow it's future! May be some day ...

Mint Cinnamon 19.3 / CT 7.1 / FPC/Lazarus
Last edit: 3 years 9 months ago by Klaus Riesterer.

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

More
3 years 9 months ago #10116 by Vitaly
Replied by Vitaly on topic CT LAB ver 5.90

Leslie wrote: Vitaly,

Your information on mORMot is outdated. It supports and follows the FPC trunk. There is a contributor (Alf) who helped the Linux and Android development greatly. There are people actively developing Linux servers with FPC, me included. Delphi starter is available for free now. It is just one extra step to generate the necessary RTTI for interfaces. You can create a batch file for that. No biggy.


I didn't say that mORMot doesn't support fpc. Where did you see that?
In fact I wrote that I successfully use it with FPC (CT) in my current projects.

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

  • Klaus Riesterer
  • Klaus Riesterer's Avatar
  • Offline
  • User is blocked
  • User is blocked
More
3 years 9 months ago #10117 by Klaus Riesterer
Replied by Klaus Riesterer on topic CT LAB ver 5.90
And I said I have mORMot running with fpc on Linux now ...

Mint Cinnamon 19.3 / CT 7.1 / FPC/Lazarus

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

More
3 years 9 months ago #10123 by Leslie
Replied by Leslie on topic CT LAB ver 5.90
Guys, I am sorry, did not mean to offend anyone. :) I have not read the whole topic, but the over all impression was that mORMot with FPC is not ready for Linux.

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

More
3 years 9 months ago #10124 by Vitaly
Replied by Vitaly on topic CT LAB ver 5.90

Leslie wrote: Guys, I am sorry, did not mean to offend anyone. :) I have not read the whole topic, but the over all impression was that mORMot with FPC is not ready for Linux.


That's ok ;)
Let me summarize our discussion: mORMot is good, worth and ready for implementing in CT build :)
I believe everybody will agree with that.

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
3 years 9 months ago - 3 years 9 months ago #10174 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 5.90
We release Lab CodeTyphon ver 5.90 revision 005850 (RC)
This version has a lot of new things and many fixes/improvements
More at first post

Please, test this LAB CT release and report/suggest here

PilotLogic Architect and Core Programmer
Last edit: 3 years 9 months ago by Sternas Stefanos.

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

  • usbdoo
  • Visitor
  • Visitor
3 years 9 months ago #10175 by usbdoo
Replied by usbdoo on topic CT LAB ver 5.90
-FIX aarch64 (arm64) CrossBuild problems



Distributor ID: Debian 64bit
Description: Debian GNU/Linux 8.5 (jessie)
Release: 8.5
Codename: jessie



CT 5.9 64bits
[ERROR]: FPC64 Cross Element aarch64-android Param:xxxx NOT Exists
[ERROR]: FPC64 Cross Element x86_64-android Param:xxxx NOT Exists




Distributor ID: Debian 32bit
Description: Debian GNU/Linux 8.5 (jessie)
Release: 8.5
Codename: jessie

CT 5.9 32bits
[ERROR]: FPC64 Cross Element aarch64-android Param:xxxx NOT Exists
[ERROR]: FPC64 Cross Element x86_64-android Param:xxxx NOT Exists

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
3 years 9 months ago - 3 years 9 months ago #10176 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 5.90
Sir, just a moment to boot Debian...
testing...

PilotLogic Architect and Core Programmer
Last edit: 3 years 9 months ago by Sternas Stefanos.

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
3 years 9 months ago - 3 years 9 months ago #10177 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 5.90
1)The problem is that FreePascal NOT support
aarch64-android and
x86_64-android yet..

FPC SVN Android possible targets CPU are: arm, i386 jvm and mipsel

2) The Lab CT 5.9 rev 005850, crossbuild scripts are OK
and give this error on aarch64-android
The installer encountered the following error:
Could not find unit directory for dependency package "rtl"
Makefile:1715: recipe for target 'all' failed
make[1]: *** [all] Error 1
make[1]: Leaving directory '/usr/local/codetyphon/fpcsrc/packages'
Makefile:2784: recipe for target 'packages' failed
make: *** [packages] Error 2

Which is correct, for 1) reason

so, we must wait .... for aarch64-android and x86_64-android

3) aarch64-Linux work OK

PilotLogic Architect and Core Programmer
Attachments:
Last edit: 3 years 9 months ago by Sternas Stefanos.

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

  • usbdoo
  • Visitor
  • Visitor
3 years 9 months ago #10178 by usbdoo
Replied by usbdoo on topic CT LAB ver 5.90
it's true

Problem is
aarch64-android and
x86_64-android

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

More
3 years 9 months ago #10183 by Bram van Vliet
Replied by Bram van Vliet on topic CT LAB ver 5.90
Hello sir,

I just tested 02-11-2016 LAB CT 5.9.0 Revision 005850 [RC] on Ubuntu 16.04 x86-64 xfce and the source editor page remains invisible on the editor tab when the embedded form designer is disabled.

Steps to reproduce, in te ide menu go to "Tools > Options > General Extra" and disable "Use Embedded Form Designer" and restart the ide.

This happens in both docked and undocked modus. Switching between form and editor with F12 (classic key map) does focus the code editor tab but the editor remains invisible. In 04-10-2016 LAB CT 5.9.0 Revision 005840 [BETA 2] version the code editor is visible with the embedded form designer disabled.

* I can't use the embedded form designer because of custom mdi form hackery under gtk2...

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