Sign in Join

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

Mailing lists / lazarus / 2016-12

Initial NoGUI LCL support for Amiga Systems

11 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Marcus Sackrow

Hi,

I implemented a basic support for Amiga systems

with FPC 3.0+: Amiga 3.x m68k, MorphOS PowerPC, AROS i386

with FPC 3.1.1: additionally AROS ARM, AROS x86_64, AmigaOS 4 PowerPC

at the moment it only compiles NoGUI of course, but I would like to also add the MUI LCL interface to the official repository, on the long run. If it is possible and wanted.

Since 2010 I'm working on Lazarus/LCL MUI interface for Amiga Systems. At the moment on github
https://github.com/alb42/lazarus/tree/lazarus-morphos some Results of this available at my Blog: https://blog.alb42.de/category/fpc/lcl/

Is it possible to add this initial Amiga systems support? How about this MUI LCL Interface?

Greetings,

Marcus "ALB42" Sackrow

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Amiga-LCL-init.diff
Type: text/x-patch
Size: 22707 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20161227/38ab9c01/attachment.bin>

Reply by email

Juha Manninen
to Marcus Sackrow
Marcus Sackrow wrote
I implemented a basic support for Amiga systems

Now I found your post here and read it properly.

Show quoted text 7 lines
Since 2010 I'm working on Lazarus/LCL MUI interface for Amiga Systems. At the moment on github https://github.com/alb42/lazarus/tree/lazarus-morphos some Results of this available at my Blog: https://blog.alb42.de/category/fpc/lcl/ Is it possible to add this initial Amiga systems support? How about this MUI LCL Interface?

I applied the code implementing NoGUI support.
http://bugs.freepascal.org/view.php?id=31186

Yes, the MUI stuff looks interesting.
I think none of the current developers have time nor motivation to develop Amiga MUI bindings. It means you should get write access to the relevant directory in Lazarus sources and maintain the code yourself.
Initial commit can be done by somebody, maybe me.
This would kind of imply a commitment from your side to maintain it for some time to come.

The term "mui" does not tell much to most people. MUI can also mean "Multilingual User Interface" by Microsoft. The bindings name should include "Amiga" I think.

Juha

Reply by email

Marcus Sackrow
to Juha Manninen

Hi Juha,

Juha Manninen wrote 9 lines
> Since 2010 I'm working on Lazarus/LCL MUI interface for Amiga Systems. At > the moment on github https://github.com/alb42/lazarus/tree/lazarus-morphos > some Results of this available at my Blog: > https://blog.alb42.de/category/fpc/lcl/ > > Is it possible to add this initial Amiga systems support? How about this MUI > LCL Interface? I applied the code implementing NoGUI support. http://bugs.freepascal.org/view.php?id=31186

Thanks for that, very nice, works fine so far, of course that was only the start.

Show quoted text 5 lines
Yes, the MUI stuff looks interesting. I think none of the current developers have time nor motivation to develop Amiga MUI bindings. It means you should get write access to the relevant directory in Lazarus sources and maintain the code yourself.

I guess so. I have already an account (login: "marcus") on the svn.freepascal.org
for the access to freepascal repository. I'm maintainer for Amiga, AmigaOS4, AROS and MorphOS (together with Karoly Balog) in FPC.

Initial commit can be done by somebody, maybe me. This would kind of imply a commitment from your side to maintain it for some time to come.

Of course, thats the idea of it to maintain it (and if working on it for 10 years I will not stop next week :-P) But I need a little bit time to order everything and make a Patch File. (My Lazarus Sandbox is really old ;-))

The term "mui" does not tell much to most people. MUI can also mean "Multilingual User Interface" by Microsoft. The bindings name should include "Amiga" I think.

I do not agree on this point, several reasons:

- MUI (Magic User Interface) is much older (1993) than the rather unknown "mui" in Windows
- there will be no explicit "mui" Windows Widgetset in Lazarus, it's just a technique AmigaOS already have since 1992 as "locale"
- MUI Widgetset is not only for Amiga but also for MorphOS (the original) and AROS (where it's named "Zune", which is not really better :-P) so an AmigaMUIor AmMUI would be more confusing.
- for carbon and cocoa the Mac is also not added, even Carbon/Cocoa most have much other idea, (even QT I would think to QuickTime)
- will be a tremendous work to change that (not possible to do per search/replace)

Greetings,
Marcus

Reply by email

Marc Weustink
to Marcus Sackrow
Marcus Sackrow wrote
Hi Juha, Am 03.01.2017 um 14:53 schrieb Juha Manninen via Lazarus:

[snip]

Show quoted text 10 lines
> Yes, the MUI stuff looks interesting. > I think none of the current developers have time nor motivation to > develop Amiga MUI bindings. It means you should get write access to > the relevant directory in Lazarus sources and maintain the code > yourself. I guess so. I have already an account (login: "marcus") on the svn.freepascal.org for the access to freepascal repository. I'm maintainer for Amiga, AmigaOS4, AROS and MorphOS (together with Karoly Balog) in FPC.

That makes things easier.

Show quoted text 26 lines
> Initial commit can be done by somebody, maybe me. > This would kind of imply a commitment from your side to maintain it > for some time to come. Of course, thats the idea of it to maintain it (and if working on it for 10 years I will not stop next week :-P) But I need a little bit time to order everything and make a Patch File. (My Lazarus Sandbox is really old ;-)) > The term "mui" does not tell much to most people. MUI can also mean > "Multilingual User Interface" by Microsoft. The bindings name should > include "Amiga" I think. I do not agree on this point, several reasons: - MUI (Magic User Interface) is much older (1993) than the rather unknown "mui" in Windows - there will be no explicit "mui" Windows Widgetset in Lazarus, it's just a technique AmigaOS already have since 1992 as "locale" - MUI Widgetset is not only for Amiga but also for MorphOS (the original) and AROS (where it's named "Zune", which is not really better :-P) so an AmigaMUIor AmMUI would be more confusing. - for carbon and cocoa the Mac is also not added, even Carbon/Cocoa most have much other idea, (even QT I would think to QuickTime) - will be a tremendous work to change that (not possible to do per search/replace)

I agree on Marcus here. MUI is a "known" UI, so I see no reason to prefix. It is the same as other widgetsets.

Marc

Reply by email

Marcus Sackrow
to Juha Manninen: On Wed, Dec 28, 2016 at 12:49 AM, Marcus Sackrow via Lazarus Now I found your post here…

Hello,

Juha Manninen wrote
Yes, the MUI stuff looks interesting. Initial commit can be done by somebody, maybe me.

So here is it.
I tried to send directly but the ML has a 100k Limit to I placed it on my Webpage:

https://home.alb42.de/MUI-WidgetSet.patch.zip

184k packed, 1.2 MB unpacked.
I tried to change not too much outside the mui widgetset folder. Open for discussion. Would be nice to get it added to lazarus.

Thanks.

Greetings,
Marcus

Reply by email

Marcus Sackrow
to Marcus Sackrow

Hi again,

Marcus Sackrow wrote 16 lines
Hello, Am 03.01.2017 um 14:53 schrieb Juha Manninen via Lazarus: > Yes, the MUI stuff looks interesting. > > Initial commit can be done by somebody, maybe me. So here is it. I tried to send directly but the ML has a 100k Limit to I placed it on my Webpage: https://home.alb42.de/MUI-WidgetSet.patch.zip 184k packed, 1.2 MB unpacked. I tried to change not too much outside the mui widgetset folder. Open for discussion. Would be nice to get it added to lazarus.

Some news about this? Everyone too busy? or there are some problems I could help on?

Greetings,
Marcus

Reply by email

Juha Manninen
to Juha Manninen

Strange. All the new files in lcl/interfaces/mui directory have their contents duplicated, meaning that where the file should end, the same whole text comes a 2. time.
This happens when I do the normal
$ patch -p0 < ~/patch/MUI-WidgetSet.patch
command.
The same problem shows in Kompare (KDE's diff viewer). There the same file names show twice with identical contents.
Yes, it looks like the patch file itself has them twice. That's why it is so big. How did you make it?

Juha

Reply by email

Marcus Sackrow
to Juha Manninen

Hi,

Juha Manninen wrote 10 lines
Strange. All the new files in lcl/interfaces/mui directory have their contents duplicated, meaning that where the file should end, the same whole text comes a 2. time. This happens when I do the normal $ patch -p0 < ~/patch/MUI-WidgetSet.patch command. The same problem shows in Kompare (KDE's diff viewer). There the same file names show twice with identical contents. Yes, it looks like the patch file itself has them twice. That's why it is so big. How did you make it?

Indeed,
seems all files are double inside, sorry,
I created it the same way as the other Amiga patch before, seems RabbidVCS has some bugs :-|
Now I created it via console svn diff

https://home.alb42.de/MUI_Widget.patch.zip

looks good to me now, also much smaller

Thanks

Marcus

Reply by email

Marcus Sackrow
to Juha Manninen
Juha Manninen wrote 8 lines
On Sat, Jan 14, 2017 at 2:17 AM, Marcus Sackrow via Lazarus wrote: > https://home.alb42.de/MUI_Widget.patch.zip > > looks good to me now, also much smaller I applied it in r53941. Thanks. I could only test that it does not break compilation for other widgetsets. Amiga people, please test.

Thanks, works so far.
for everyone wants to test it, i386-aros: fpc 3.0.0 is fine, m68k-amiga, powerpc-morphos still fpc 3.1 needed, fpc 3.0.2 will have a bugfix for the problem (just merged to FPC fixed branch)

Please communicate with Marc Weustink about commit access. I think you should get it ASAP.

I wrote him an email. Thanks again for your help.

Greetings,
Marcus

Reply by email