Re: Finally success with code signing Windows standalones withe the new eToken certificates under macOS using jarsigner

2023-11-09 Thread Peter Bogdanoff via use-livecode
Matthias, I am definitely interested in this!

Peter Bogdanoff

> On Nov 9, 2023, at 1:25 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> Phew, after searching, reading and trying many days i was finally able to 
> code sign my first Windows standalone under macOS today with this new eToken 
> certificates using jarsigner.
> 
> I used jarsigner 5.0 and JDK 1.8 for it.
> I will now intensively test it and if there is interest i could create either 
> an LC lesson or just a PDF with step by step instructions 
> 
> I tested it here with a certficate  that can be used with a software based 
> eToken, not a hardware based one.
> But it should also work with hardware eTokens, as jarsigner does not see if 
> the the eToken is software or hardware based.
> 
> Code signing Windows standalones under macOS should technically also be 
> possible using osslsigncode, but the current builds for macOS do not have the 
> eToken support included, but i think that is just a matter of time. At least 
> i hope so. ;)
> 
> Is there any interest here in the list for detailed instructions?
> I will see if i can also provide an easy stack that automatically builds and 
> executes the needed shell commands for signing, so you just have to select 
> your Windows standalone and the stack does all the work for you.
> The only work that has to be done by you is to do the basic configuration 
> once...
> 
> Regards,
> Matthias
> 
> 
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Windows maximization on desktops

2023-11-09 Thread Paul Dupuis via use-livecode

On 11/9/2023 5:38 PM, ambassador--- via use-livecode wrote:

Paul Dupuis wrote:


Is there a message sent when a user click the maximize icon (macOS
and Windows) in the titlebar of a window?

As others have pointed out, resizeStack is sent. And by definition, wouldn't 
the windowBoundingRect be the maximized size?


So, the windowBoundingRect actually only applies to the main monitor 
(where 'the screen of stack "X" = 1' so you actually need to consider 
windowBoundingRect deprecated and use the working screenRects or the 
effective working screenRects (I may have my adjectives in the wrong 
order!) and compare the screen of the stack in question to the line in 
the returned screenRects for a bounding rect equivalent.



I'm curious: what does the app need to do differently if the user resized the 
window to that rect manually vs the Maximize button?


It is an oddity (bug) where certain windows in HyperRESEARCH are not 
redrawing their contents properly when the maximize icon in the title 
bar is clicked and the window maximized. However, if you resize the 
window to the maximum size, everything is redrawn correctly. I was 
asking about the maximize message as it may have aided in debugging the 
issue - if there was such a message sent. This is also only on macOS. 
The same windows maximize correctly whether resized manually or the 
maximize icon in the title bar is clicked. Also, I have not determined 
if this behavior started happening on some specific version of macOS yet.


In theory, as you stated, there should be no difference between resizing 
a stack/window manually and clicking the maximize icon.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Windows maximization on desktops

2023-11-09 Thread ambassador--- via use-livecode
Paul Dupuis wrote:

> Is there a message sent when a user click the maximize icon (macOS
> and Windows) in the titlebar of a window?

As others have pointed out, resizeStack is sent. And by definition, wouldn't 
the windowBoundingRect be the maximized size?

I'm curious: what does the app need to do differently if the user resized the 
window to that rect manually vs the Maximize button?

--
Richard Gaskin
Fourth World Systems

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Finally success with code signing Windows standalones withe the new eToken certificates under macOS using jarsigner

2023-11-09 Thread Paul Dupuis via use-livecode

On 11/9/2023 4:25 PM, matthias rebbe via use-livecode wrote:

Phew, after searching, reading and trying many days i was finally able
to code sign my first Windows standalone under macOS today with this new
  eToken certificates using jarsigner.
Congratulations! Code signing on any platform appears to be a moving 
target, and not easy to get setup each time the target changes.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Finally success with code signing Windows standalones withe the new eToken certificates under macOS using jarsigner

2023-11-09 Thread matthias rebbe via use-livecode
Phew, after searching, reading and trying many days i was finally able to code 
sign my first Windows standalone under macOS today with this new eToken 
certificates using jarsigner.

I used jarsigner 5.0 and JDK 1.8 for it.
I will now intensively test it and if there is interest i could create either 
an LC lesson or just a PDF with step by step instructions 

I tested it here with a certficate  that can be used with a software based 
eToken, not a hardware based one.
But it should also work with hardware eTokens, as jarsigner does not see if the 
the eToken is software or hardware based.

Code signing Windows standalones under macOS should technically also be 
possible using osslsigncode, but the current builds for macOS do not have the 
eToken support included, but i think that is just a matter of time. At least i 
hope so. ;)

Is there any interest here in the list for detailed instructions?
I will see if i can also provide an easy stack that automatically builds and 
executes the needed shell commands for signing, so you just have to select your 
Windows standalone and the stack does all the work for you.
The only work that has to be done by you is to do the basic configuration 
once...

Regards,
Matthias






___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Windows maximization on desktops

2023-11-09 Thread Mark Talluto via use-livecode
Hi Paul,

Knowing the app was minimized, you could use a flag to track your state and 
recover from a maximize. 


Best regards,
Mark Talluto

appli.io 
livecloud.io 
nursenotes.net 
canelasoftware.com 



> On Nov 7, 2023, at 8:42 AM, Paul Dupuis via use-livecode 
>  wrote:
> 
> Thanks Klaus and Panos,
> 
> Yes, a resizeStack is send on Maximize. Now I just need to do some screenrect 
> calculations to determine a drag-resize from a maximize-resize.
> 
> Thank you.
> 
> 
> On 11/7/2023 11:15 AM, panagiotis merakos via use-livecode wrote:
>> Hello Paul,
>> 
>> I think the "resizeStack" message should be sent.
>> 
>> Kind regards,
>> Panos
>> --
>> 
>> On Tue, 7 Nov 2023 at 18:08, Paul Dupuis via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> Is there a message sent when a user click the maximize icon (macOS and
>>> Windows) in the titlebar of a window?
>>> 
>>> "iconifyStack" is sent for minimization, and "unIconifyStack" is sent
>>> when a minimizaed stack is expanded (from the Windows taskbar or Apple
>>> dock). However, I can't seem to find an equivalent message for
>>> maximization?
>>> 
>>> Is there such a message. What messages (if any) are sent when a window
>>> is maximized?
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


New LC plug-in

2023-11-09 Thread Klaus major-k via use-livecode
Hi friends,

I created a handy plug-in for LC. Not free, but just 1,- Euro.
It will create all neccessary iOS icons for LC from one 1024*1024 image.
Also works with PNG files with transparency.

If you are interested, take a look here:


Best

Klaus
--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode