Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
168 user(s) are online (129 user(s) are browsing Forums)

Members: 1
Guests: 167

orgin, more...

Headlines

 
  Register To Post  

Newstring.mcc a commodity????
Just can't stay away
Just can't stay away


See User information
I can't find where I can report stuff about this MUI class so I talk here

A few days ago I updated Newstring.mcc on my OS4 machine. Now I am very surprised to see it appearing in Exchange.
I don't see how it can be considered a commodity as I cannot remove it from the system nor that I can disable it.
I thought this was the meaning of a commodity in the first place.

Philippe 'Elwood' FERRUCCI
Sam460ex 1.10 Ghz
http://elwoodb.free.fr
Go to top
Re: Newstring.mcc a commodity????
Just popping in
Just popping in


See User information
Quote:
I don't see how it can be considered a commodity as I cannot remove it from the system nor that I can disable it.
I thought this was the meaning of a commodity in the first place.


Newstring.mcc adds itself as a commodity broker only to be able to catch certain events from the input stream for its handling of i.e. RAmiga+C or RAmiga+V. Being a commodity makes this stuff really easy. But it does not react on the usual stuff like being killed or switched inactive, because there is only one single broker for all instances of Newstring.mcc no matter which application uses it.

Go to top
Re: Newstring.mcc a commodity????
Home away from home
Home away from home


See User information
Hmm, doesn't appear in Exchange here.

Anyway, the devs could add an information text that displays when clicked on in Exchange, explaining that this is an interactive, system-used, non-user changable program.

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: Newstring.mcc a commodity????
Just popping in
Just popping in


See User information
Quote:
Hmm, doesn't appear in Exchange here.


It will appear only if it was used by at least one application before, i.e. IBrowse.

Quote:
Anyway, the devs could add an information text that displays when clicked on in Exchange, explaining that this is an interactive, system-used, non-user changable program.


I just commited the necessary change for the next MUI4 release. But this won't help for the old 68k version. That one must be patched on a binary level.

Go to top
Re: Newstring.mcc a commodity????
Just can't stay away
Just can't stay away


See User information
So it means one can't expunge it from memory, right?


Anyway, if you used this trick to add a feature, maybe the OS API needs an improvement. I suggest that you see with the dev team.

Philippe 'Elwood' FERRUCCI
Sam460ex 1.10 Ghz
http://elwoodb.free.fr
Go to top
Re: Newstring.mcc a commodity????
Home away from home
Home away from home


See User information
@elwood

It's not a trick, it's what commodities are for, filtering the input stream.




Go to top
Re: Newstring.mcc a commodity????
Amigans Defender
Amigans Defender


See User information
Quote:

It's not a trick, it's what commodities are for, filtering the input stream.

I agree and you can find more information about Commodities and what they really are for here
http://wiki.amigaos.net/index.php/Commodities_Exchange_Library

ExecSG Team Lead
Go to top
Re: Newstring.mcc a commodity????
Just popping in
Just popping in


See User information
Quote:
So it means one can't expunge it from memory, right?


Not unless all applications dispose all instances of Newstring.mcc. There is absolutely no need to do this yourself. The commodity broker will be removed automatically upon expunging Newstring.mcc from memory.

Go to top
Re: Newstring.mcc a commodity????
Home away from home
Home away from home


See User information
If newstring.mcc as a commodity can't be (user) accessed (and the user can't do anything with it either), wouldn't it be possible to "hide" it from view (Exchange) et al?

or

It'd be still running in the background and Exchange knowing about it
i.e. it could be "greyed out" in the Exchange list

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: Newstring.mcc a commodity????
Just popping in
Just popping in


See User information
Quote:
If newstring.mcc as a commodity can't be (user) accessed (and the user can't do anything with it either), wouldn't it be possible to "hide" it from view (Exchange) et al?


What is so wrong about letting the user see that there is something which hooked into the input stream, although it cannot be controlled by the user?

Quote:
It'd be still running in the background and Exchange knowing about it
i.e. it could be "greyed out" in the Exchange list


My latest change will give you something similar. Although you still cannot control the Newstring.mcc commodity, you will now get some visual feedback: analog to the disabled Show and Hide buttons the Kill button will be disabled to indicate that this commodity cannot be removed manually.

Go to top
Re: Newstring.mcc a commodity????
Home away from home
Home away from home


See User information
Quote:
My latest change will give you something similar. Although you still cannot control the Newstring.mcc commodity, you will now get some visual feedback: analog to the disabled Show and Hide buttons the Kill button will be disabled to indicate that this commodity cannot be removed manually.

Or like that

Thanks Thore

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project