Sign in Join

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

Mailing lists / pas2js / 2020-12

hello people I am back to pas2js world....

16 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

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

Pedro Pablo Oviedo Vera

yes....and I trying to Pas2JS Widgetset...it looks nice but ....the tutorial at https://wiki.lazarus.freepascal.org/pas2js_widgetsets is embarrassing, it is incomplete and confused!!!!..... can any one fix it? please... the video #3 is better than tuto but no has not sound.....really do you want people use it?

MSc. Ing. Pedro Pablo Oviedo Vera Dirección Técnica y Desarrollo Empresa de Proyectos e Ingeniería del Ministerio de la Agricultura.ENPA. Boyeros y Conill, Piso 10 Edif MINAG Telef. 884 7197 SIP:23000116 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20201208/eaec5012/attachment.htm>

Reply by email

Michael Van Canneyt
to Pedro Pablo Oviedo Vera
Pedro Pablo Oviedo Vera wrote 5 lines
yes....and I trying to Pas2JS Widgetset...it looks nice but ....the tutorial at https://wiki.lazarus.freepascal.org/pas2js_widgetsets is embarrassing, it is incomplete and confused!!!!..... can any one fix it? please... the video #3 is better than tuto but no has not sound.....really do you want people use it?

It is a WIKI.
The idea of a WIKI is that users can help and fix things, so feel free to contribute.

Michael.

Reply by email

Pedro Pablo Oviedo Vera
to Michael Van Canneyt

I want but ....still i can't ...I'll try

Michael Van Canneyt wrote 20 lines
On Tue, 8 Dec 2020, Pedro Pablo Oviedo Vera wrote: > yes....and I trying to Pas2JS Widgetset...it looks nice but ....the > tutorial at https://wiki.lazarus.freepascal.org/pas2js_widgetsets is > embarrassing, it is incomplete and confused!!!!..... can any one fix it? > please... the video #3 is better than tuto but no has not sound.....really > do you want people use it? It is a WIKI. The idea of a WIKI is that users can help and fix things, so feel free to contribute. Michael. _______________________________________________ Pas2js maillist - https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js
MSc. Ing. Pedro Pablo Oviedo Vera Dirección Técnica y Desarrollo Empresa de Proyectos e Ingeniería del Ministerio de la Agricultura.ENPA. Boyeros y Conill, Piso 10 Edif MINAG Telef. 884 7197 SIP:23000116 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20201208/ddbcbda8/attachment.htm>

Reply by email

Pedro Pablo Oviedo Vera
to Pedro Pablo Oviedo Vera

Uh.....every thing looks fine but when I try compile my project Lazarus tell me:
Hay dos unidades con el mismo nombre:

1. "/usr/share/lazarus/2.0.10/lcl/interfaces/carbon/interfaces.pas" de LCL 2.0.10
2.
"/home/.../Programas1/lazarus/Pas2JS_Widget-master/pas2js/packages/widget/interfaces.pas" de Pas2JS_Widget 1.0
Ambos paquetes están conectados. Esto significa que cualquiera de los dos paquetes usa al otro, o ambos son usados por un tercer paquete. something about interfaces.pas from carbon and interfaces.pas from Pas2js_widge-master are sharing components name!..

.uhmmm any help?

El mar, 8 dic 2020 a las 12:03, Pedro Pablo Oviedo Vera (<

Show quoted text 40 lines
) escribió: I want but ....still i can't ...I'll try El mar, 8 dic 2020 a las 11:31, Michael Van Canneyt (< >) escribió: > > > On Tue, 8 Dec 2020, Pedro Pablo Oviedo Vera wrote: > > > yes....and I trying to Pas2JS Widgetset...it looks nice but ....the > > tutorial at https://wiki.lazarus.freepascal.org/pas2js_widgetsets is > > embarrassing, it is incomplete and confused!!!!..... can any one fix it? > > please... the video #3 is better than tuto but no has not > sound.....really > > do you want people use it? > > It is a WIKI. > The idea of a WIKI is that users can help and fix things, so feel free to > contribute. > > Michael. > _______________________________________________ > Pas2js maillist - > https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js > -- MSc. Ing. Pedro Pablo Oviedo Vera Dirección Técnica y Desarrollo Empresa de Proyectos e Ingeniería del Ministerio de la Agricultura.ENPA. Boyeros y Conill, Piso 10 Edif MINAG Telef. 884 7197 SIP:23000116
MSc. Ing. Pedro Pablo Oviedo Vera Dirección Técnica y Desarrollo Empresa de Proyectos e Ingeniería del Ministerio de la Agricultura.ENPA. Boyeros y Conill, Piso 10 Edif MINAG Telef. 884 7197 SIP:23000116 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20201208/1ef833f4/attachment.htm>

Reply by email

Mgr. Janusz Chmiel
to Michael Van Canneyt: It is a WIKI. The idea of a WIKI is that users can help and fix things, so feel free to…

Sure. When I have simply built Lazarus myself by using supported FPC compiler by typing make bigide command, when I have used both Pas2js trunk and Lazarus Trunk, everything have worked like A charm. Sure, I have simply named Pas2js folder as pas2js, I have used svn and I have compiled Pas2js Trunk by typing make all. And Pas2js have worked smoothly. Unfortunately, When I have tried to built multipurposed IDE based on Android development by using Pandroid for Windows, compilers for AArch64 OS Android and PPCJVM Android and Pas2js, I have got in stuck way. Pas2js simply refuses to open all various important units if Pas2js data are not stored by respecting SVN structure and pas2js folder. I Am using latest Lazarus Trunk, Pas2js trunk.
I can not simply point Pas2js WEB project .lpk files to start Pas2js from Pas2js, because somebody have completely redesigned Pas2js Lazarus component GUI. So. I can not specify path myself. There is predefined Pas2js path based on fpcdeluxe path. And sure. Systém unit not found message appear. I have small SSD disk and even when I Am using build in to Windows kernel Microsoft file compression, I can not reach miracle compression results, I can save 5 7 GB of space, but no more, since I do not want to end with non functioning Windows installation. Because some systém files must not be compressed. Such as ntoskrnl.exe or ntfs.sys and many others. Sure. I could simply hold two Lazarus installations. One created by Me by using known commands, and second created by FPCdeluxe. I would had to use special command line option to have two various Lazarus configurations. The second one would allow Me to use pas2js from pas2js folder. Where it work. I have liked previous Pas2js component GUI. Where user could simply choose Pas2js compiler path. Now, only close button is presented and editable field with predefined suggested path. I Am sad, because I love Pas2js very much and I had so positive relationship to The previously functioning scenario. Where I could simply point Pas2js component GUi to The pas2js trunk compiler Pas2js. And now? Fpcdeluxe installer do not incorporate Pas2js package while lazharus is being build and compiled. Sure, this component exist inside The correspondingfolder tree. But package is not The part of compiled Lazarus IDE, so i have opened it and I have assigned this package for installation. Standard command make bigide build this component automatically. Any help is very welcomed. If I will not have other outcome, I will have to put other Lazarus on SD cart, but it is not so fast as SSD disk and Internet storage is much more slower. Thank you very much for yours advice.

Tento e-mail byl zkontrolován na viry programem AVG. http://www.avg.cz -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20201208/317c14e6/attachment-0001.htm>

Reply by email

Mgr. Janusz Chmiel
to Mgr. Janusz Chmiel: Sure. When I have simply built Lazarus myself by using supported FPC compiler by typing…

I have found out The solution myself.
It is necessary to locate The .xml file pas2jsdsgnoptions.xml And edit its content. I have changed The compiler Path to The pas2js direktory and sure. COmpilation works like A charm with no issues. I will try to think why it is not possible to create so small lazarus.exe after adding new packages. So its .exe syze can not be for example 30 MB, but must be more than 200 mB. Sure, I could use UPX to compress .exe files, or I can even use build in Microsoft file compression to reduce even .exe file syzes on harddisk by compressing. But it is interesting. Why official lazarus.exe can be so small. And why unofficial Lazarus.exe compilations must have so big syzes.

Tento e-mail byl zkontrolován na viry programem AVG. http://www.avg.cz -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20201209/389fa346/attachment.htm>

Reply by email

Mattias Gaertner
to Mgr. Janusz Chmiel
Show quoted text 12 lines
I have found out The solution myself. It is necessary to locate The .xml file pas2jsdsgnoptions.xml And edit its content. I have changed The compiler Path to The pas2js direktory and sure. COmpilation works like A charm with no issues. I will try to think why it is not possible to create so small lazarus.exe after adding new packages. So its .exe syze can not be for example 30 MB, but must be more than 200 mB. Sure, I could use UPX to compress .exe files, or I can even use build in Microsoft file compression to reduce even .exe file syzes on harddisk by compressing. But it is interesting. Why official lazarus.exe can be so small. And why unofficial Lazarus.exe compilations must have so big syzes.

Debug info.

You can build Lazarus with other options:
Tools - Configure Build Lazarus - Profile to build - Optimized IDE

Mattias

Reply by email

Mgr. Janusz Chmiel
to Mattias Gaertner

Dear MR Gaertner,
Thank you for yours advice. It have reduced lazarus.exe from more than 300 MB to less than 30 MB syze. I have been afraid, that optimized IDE choice will eject .lpk packages with LAMW or Pandroid and that it is not possible to compile so small Lazarus IDE. And really, I Am able to safely run Lazarus with small syze and with included .lpk packages. Very well done. And because I have also enabled Microsoft compression, source files will be compressed and I will also save some space.

Tento e-mail byl zkontrolován na viry programem AVG. http://www.avg.cz -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20201209/291e0f9f/attachment.htm>

Reply by email

Pedro Pablo Oviedo Vera
to heliosroots: Pas2JS Widget, this project was archived ... you can use pas2js native web widget ...…

Uhmm sure a note have been posted somewhere ...ok I'll try it!

heliosroots wrote 11 lines
Pas2JS Widget, this project was archived ... you can use pas2js native web widget ... -- Sent from: http://pas2js.38893.n8.nabble.com/ _______________________________________________ Pas2js maillist - https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js
MSc. Ing. Pedro Pablo Oviedo Vera Dirección Técnica y Desarrollo Empresa de Proyectos e Ingeniería del Ministerio de la Agricultura.ENPA. Boyeros y Conill, Piso 10 Edif MINAG Telef. 884 7197 SIP:23000116 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20201209/136659e0/attachment.htm>

Reply by email

Sven Barth
to Pedro Pablo Oviedo Vera: Uh.....every thing looks fine but when I try compile my project Lazarus tell me: Hay dos…
Pedro Pablo Oviedo Vera wrote 16 lines
Uh.....every thing looks fine but when I try compile my project Lazarus tell me: Hay dos unidades con el mismo nombre: 1. "/usr/share/lazarus/2.0.10/lcl/interfaces/carbon/interfaces.pas" de LCL 2.0.10 2. "/home/.../Programas1/lazarus/Pas2JS_Widget-master/pas2js/packages/widget/interfaces.pas" de Pas2JS_Widget 1.0 Ambos paquetes están conectados. Esto significa que cualquiera de los dos paquetes usa al otro, o ambos son usados por un tercer paquete. something about interfaces.pas from carbon and interfaces.pas from Pas2js_widge-master are sharing components name!.. .uhmmm any help?

You need to make sure that your project does *not* have the LCL package as a dependency.

Regards,
Sven

Reply by email

Pedro Pablo Oviedo Vera
to Sven Barth

Oh nice! here someone who respond the Challenge...I love free software!!!!...

Thanks!

El mié, 9 dic 2020 a las 17:27, Sven Barth via Pas2js (<

Show quoted text 17 lines
) escribió: Am 08.12.2020 um 21:17 schrieb heliosroots: > Pas2JS Widget, this project was archived ... you can use pas2js native web > widget ... Considering that you don't intend to continue working on Pas2JS Widgets but I in fact do, would it be possible to relicense it as Modified LGPL like the LCL? This would make using code from there easier than with MIT license... Regards, Sven _______________________________________________ Pas2js maillist - https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js
MSc. Ing. Pedro Pablo Oviedo Vera Dirección Técnica y Desarrollo Empresa de Proyectos e Ingeniería del Ministerio de la Agricultura.ENPA. Boyeros y Conill, Piso 10 Edif MINAG Telef. 884 7197 SIP:23000116 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20201210/495af0fc/attachment.htm>

Reply by email

Pedro Pablo Oviedo Vera
to Sven Barth

yes I'll check it soon and let you know

El jue, 10 dic 2020 a las 13:25, Sven Barth via Pas2js (<

Show quoted text 15 lines
) escribió: Am 10.12.2020 um 16:38 schrieb Pedro Pablo Oviedo Vera: > Oh nice! here someone who respond the Challenge...I love free > software!!!!... Well, I'm already working on and improving it for some time ;) See here: https://github.com/pascaldragon/Pas2JS_Widget Regards, Sven _______________________________________________ Pas2js maillist - https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js
MSc. Ing. Pedro Pablo Oviedo Vera Dirección Técnica y Desarrollo Empresa de Proyectos e Ingeniería del Ministerio de la Agricultura.ENPA. Boyeros y Conill, Piso 10 Edif MINAG Telef. 884 7197 SIP:23000116 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20201210/3d10050b/attachment-0001.htm>

Reply by email