Re: [MSEide-MSEgui-talk] Reactivate my project

2017-12-18 Thread Graeme Geldenhuys

On 2017-12-19 06:38, Martin Schreiber wrote:

Does MSGUI have something for
playing mp3 music?

No.



I highly recommend you take a look at the cross-platform UOS (United 
OpenLib of Sound) project by Fred. It works very well and the author has 
tested it with multiple GUI frameworks and multiple OS targets.


  https://github.com/fredvs/uos/


Regards,
  Graeme

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Wasn't a member of msegui mailing list anymore :(

2017-12-18 Thread Martin Schreiber
On Monday 18 December 2017 23:18:57 Krzysztof wrote:
> Hi Martin,
>
> After long time wrote to this mailing list and got response that my message
> is waiting for moderator approval. Seems that I'm not a member anymore.
> Subscribed again. Did you get my message with subject "Reactivate my
> project"? Why I was removed? Some changes in sourceforge?

Sourceforge deleted all accounts with no response to the confirmation mail 
they sent several months ago. More than the half of mseide-msegui-talk 
accounts have been deleted.

> That is bad, I 
> probably missed a lot of interesting discussions, I have to catch up
> everything by reading sourceforge history, grrr :/
>
The history is also here:
http://www.mail-archive.com/mseide-msegui-talk@lists.sourceforge.net
and with NNTP protocol here:
nntp://news.gmane.org/gmane.comp.ide.mseide.user

Martin

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Reactivate my project

2017-12-18 Thread Martin Schreiber
On Monday 18 December 2017 23:00:33 Krzysztof wrote:
> Hi Martin,
>
> Long time since I did something with my MSEGUI project. Had to postpone it
> due to a lot of work in my company. Called today git pull, a really big
> bunch of changes! Great. But have few questions:
>
> 1. MSEIDE build fine, but when try to compile my project I get error
> related to msefreetype:
>
Should be fixed in git master 34483ee9f6cbbe82fb8487c32557939914d7f9cf.
[...]
>
> 2. I saw some changes in mseaudio. This is what I always wanted to ask you.
> When looked at msegui source I saw a lot of solutions not stricte related
> to GUI (like dbus, cryptography etc.). Does MSGUI have something for
> playing mp3 music?

No.

> So far I always used low level headers for libvlc, SDL 
> or Bass library. Does msegui have something own or wrappers arround these
> libs?

No, there are components for PulseAudio only.

> Same question about networking, does it have something for websockets 
> (client side)? I'm using mORMot package for this. This is not feature
> request, just wondering if msegui has already something which fit better
> with MSEGUI by itself.
>
No, there are components for normal sockets only.

Martin

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] Reactivate my project

2017-12-18 Thread Krzysztof
Hi Martin,

Long time since I did something with my MSEGUI project. Had to postpone it
due to a lot of work in my company. Called today git pull, a really big
bunch of changes! Great. But have few questions:

1. MSEIDE build fine, but when try to compile my project I get error
related to msefreetype:

procedure initializefreetype(const sonames: array of filenamety);
const
 funcs: array[0..19] of funcinfoty = (
  (n: 'FT_Done_Face'; d: @FT_Done_Face),//0
  (n: 'FT_Done_FreeType'; d: @FT_Done_FreeType),//1
  (n: 'FT_Get_Char_Index'; d: @FT_Get_Char_Index),  //2
  (n: 'FT_Get_Kerning'; d: @FT_Get_Kerning),//3
  (n: 'FT_Init_FreeType'; d: @FT_Init_FreeType),//4
  (n: 'FT_Load_Char'; d: @FT_Load_Char),//5
  (n: 'FT_Load_Glyph'; d: @FT_Load_Glyph),  //6
  (n: 'FT_New_Face'; d: @FT_New_Face),  //7
  (n: 'FT_Set_Char_Size'; d: @FT_Set_Char_Size),//8
  (n: 'FT_Set_Pixel_Sizes'; d: @FT_Set_Pixel_Sizes),//9
  (n: 'FT_Set_Transform'; d: @FT_Set_Transform),//10
  (n: 'FT_Outline_Decompose'; d: @FT_Outline_Decompose),//11
  (n: 'FT_Library_Version'; d: @FT_Library_Version),//12
  (n: 'FT_Get_Glyph'; d: @FT_Get_Glyph),//13
  (n: 'FT_Glyph_Copy'; d: @FT_Glyph_Copy),  //14
  (n: 'FT_Glyph_To_Bitmap'; d: @FT_Glyph_To_Bitmap),//15
  (n: 'FT_Glyph_Transform'; d: @FT_Glyph_Transform),//16
  (n: 'FT_Done_Glyph'; d: @FT_Done_Glyph),  //17
  (n: 'FT_Glyph_Get_CBox'; d: @FT_Glyph_Get_CBox),  //18
  (n: 'FT_Render_Glyph'; d: @FT_Render_Glyph)   //19
 );
 errormessage = 'Can not load Freetype library. ';
begin
 initializedynlib(libinfo,sonames,freetypelib,funcs,[],errormessage,@initft);
end;

msefreetype.pas(462,76) Error: Incompatible type for arg no. 7: Got
"", expected ""
msefreetype.pas(467,33) Error: Incompatible type for arg no. 2: Got
"", expected ""

2. I saw some changes in mseaudio. This is what I always wanted to ask you.
When looked at msegui source I saw a lot of solutions not stricte related
to GUI (like dbus, cryptography etc.). Does MSGUI have something for
playing mp3 music? So far I always used low level headers for libvlc, SDL
or Bass library. Does msegui have something own or wrappers arround these
libs? Same question about networking, does it have something for websockets
(client side)? I'm using mORMot package for this. This is not feature
request, just wondering if msegui has already something which fit better
with MSEGUI by itself.

Regards
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] Wasn't a member of msegui mailing list anymore :(

2017-12-18 Thread Krzysztof
Hi Martin,

After long time wrote to this mailing list and got response that my message
is waiting for moderator approval. Seems that I'm not a member anymore.
Subscribed again. Did you get my message with subject "Reactivate my
project"? Why I was removed? Some changes in sourceforge? That is bad, I
probably missed a lot of interesting discussions, I have to catch up
everything by reading sourceforge history, grrr :/

Regards
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Rich internet Application

2017-12-18 Thread Graeme Geldenhuys

On 2017-12-18 12:40, Martin Schreiber wrote:

If one needs a
browser application one should make a browser application with the
dedicated tools IMHO.


Yup, our company is fighting that battle as we speak. Web apps users 
have different needs and expect different behaviour to desktop 
applications.


A case in point (which our company had to implement). A basic desktop 
database application that uses some DB grid component - displaying some 
100-500 records. Speed is good, and desktop users are happy. Web apps 
simply take too long to load such an amount of rows, and doesn't scale 
well. Instead, web users expect say 25 rows at a time and a Back/Next 
set of buttons to page through the data, and maybe a better data filter 
before data is displayed. Exactly why Google implemented that behaviour 
in Gmail, and thousands of others do the same thing.


Desktop app vs Web app is not a 1:1 relationship. They require different 
UI and backend designs.


Regards,
  Graeme


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Rich internet Application

2017-12-18 Thread Martin Schreiber


On 12/18/2017 10:08 AM, Michael Schnell wrote:
> On the fpc mailing list:
> 
> On 16.12.2017 17:36, Michael Van Canneyt wrote:
>>
>> Hello fellow Pascal enthousiasts,
>>
>> It is with great pleasure that I can finally announce the first publicly
>> available version of pas2js. A "beta" version, version 0.8.39. ...
>> pas2js is a Object Pascal to Javascript transpiler. It compiles Object
>> pascal, and emits Javascript. The javascript is usable in the browser,
>> and
>> in Node.js. 
> 
> Maybe with that compiling the ifi "GUI" component to run in a Browser
> (and have it attach to GUI-less fpc applications) is in reach...
> 
> For me this would be a major reason to use and recommend mseGUI.
> 
Suggestion: Do it yourself or pay for it. Most likely an investment of
several 100'000 Euro.

Martin

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Rich internet Application

2017-12-18 Thread Martin Schreiber
On Monday 18 December 2017 15:43:26 Michael Schnell wrote:
> On 18.12.2017 13:40, Martin Schreiber wrote:
> > I doubt that it is possible to run such a complex program like MSEgui by
> > a "Pascal-Javascript-transpiller" and I doubt that it is a good idea to
> > run a high quality desktop application in a browser. If one needs a
> > browser application one should make a browser application with the
> > dedicated tools IMHO.
>
> I just suggest to try to run the GUI part of an "IFI" pair of
> applications in the Browser. (And of course not the mse IDE.)
>
Sure. Please have a look to the MSEgui sources, they are here:
https://gitlab.com/mseide-msegui/mseide-msegui/tree/master/lib/common

Do you really think that code is appropriate to run as Javascript?

Martin

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Rich internet Application

2017-12-18 Thread Martin Schreiber


On 12/18/2017 12:39 PM, Michael Schnell wrote:
> On 18.12.2017 10:29, Martin Schreiber wrote:
>> AFAIK it does not support interfaces nor pointers.
>> Why not use one of the many javascript frameworks instead?
>>
> Ifi provides the native visual components provided by mseGUI so you can
> do a project and switch between local and remote GUI without writing any
> additional code.
> 
I doubt that it is possible to run such a complex program like MSEgui by
a "Pascal-Javascript-transpiller" and I doubt that it is a good idea to
run a high quality desktop application in a browser. If one needs a
browser application one should make a browser application with the
dedicated tools IMHO.

Martin

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Rich internet Application

2017-12-18 Thread Michael Schnell

On 18.12.2017 10:29, Martin Schreiber wrote:

AFAIK it does not support interfaces nor pointers.
Why not use one of the many javascript frameworks instead?

Ifi provides the native visual components provided by mseGUI so you can 
do a project and switch between local and remote GUI without writing any 
additional code.


-Michael


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Rich internet Application

2017-12-18 Thread Martin Schreiber


On 12/18/2017 10:08 AM, Michael Schnell wrote:
> On the fpc mailing list:
> 
> On 16.12.2017 17:36, Michael Van Canneyt wrote:
>>
>> Hello fellow Pascal enthousiasts,
>>
>> It is with great pleasure that I can finally announce the first publicly
>> available version of pas2js. A "beta" version, version 0.8.39. ...
>> pas2js is a Object Pascal to Javascript transpiler. It compiles Object
>> pascal, and emits Javascript. The javascript is usable in the browser,
>> and
>> in Node.js. 
> 
> Maybe with that compiling the ifi "GUI" component to run in a Browser
> (and have it attach to GUI-less fpc applications) is in reach...
> 
AFAIK it does not support interfaces nor pointers.
Why not use one of the many javascript frameworks instead?

Martin

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Rich internet Application

2017-12-18 Thread Michael Schnell

On the fpc mailing list:

On 16.12.2017 17:36, Michael Van Canneyt wrote:


Hello fellow Pascal enthousiasts,

It is with great pleasure that I can finally announce the first publicly
available version of pas2js. A "beta" version, version 0.8.39. ... 
pas2js is a Object Pascal to Javascript transpiler. It compiles Object
pascal, and emits Javascript. The javascript is usable in the browser, 
and

in Node.js. 


Maybe with that compiling the ifi "GUI" component to run in a Browser 
(and have it attach to GUI-less fpc applications) is in reach...


For me this would be a major reason to use and recommend mseGUI.

(IMHO fpc for Webassembly would be even more viable, but AFAI this is 
just in a very early stage right now...)


-Michael


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk