Re: Crashing on M2 Mac

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

On 11/2/2023 6:33 PM, Dan Friedman via use-livecode wrote:

Peter,

I recently discovered (from one of my own apps) that a Mac app built
with 9.6.10 running on Sonoma crashes when the convert command is
called.  I rebuilt the app in 10.0.0 (dp 6) and the app no longer
crashes.   Hope that helps!

- Dan


Has the 'convert' command bug been reported in the Livecode Quality Center?
___
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: decrypt error junk

2023-11-02 Thread Tom Glod via use-livecode
Hi Mark, Thanks for your response.
I understand.
I will try to reproduce this in an empty stack and submit report.
Thanks,
Tom


On Thu, Nov 2, 2023 at 2:20 AM Mark Waddingham via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 2023-11-02 02:06, Tom Glod via use-livecode wrote:
> > I have found a "wrong decryption key" that does not return a bad
> > decrypt
> > error, but returns garbage into "the result".
> > Every other wrong key correctly gives the usual error.
> > The right key works to decrypt.
>
> What exact error do you get with a wrong key vs the not-so-wrong key?
>
> > the length of the encryption/decryption key is always 64 characters
> > it is always alphanumeric, because its a hash derivative, no weird
> > characters, always the correct length.
> > and the salt is the same for every key i tried.
> >
> > I can program around it, but its unsettling.
> > I will report it, but in the meantime has anyone ever come across this
> > garbage in "the result" as a result of an incorrect. decryption key?
>
> So I don't think this is a bug, but expected behavior.
>
> The encrypt/decrypt operations are very low-level they 'simply' apply
> the specified
> algorithm to the data.
>
> Encryption/decryption is 'just' a mathematical function which uses the
> 'key bytes'
> and 'input data' to derive an output - in particular, decryption does
> not include
> any validation checks to ensure the provided decryption key is what was
> used to
> encrypt in the first place - that's something you have to do yourself.
>
> There's a huge variety of ways to do this - but perhaps the simplest is
> to add your
> favorite (simple) hash of the encryption key before the data being
> encrypted:
>
> 
>
> (pseudo encryption code - I don't know exactly what form of encrypt you
> are using!):
>
>local tKey, tHash
>put deriveMyEncryptionKey(tPassword) into tKey
>put md5Digest(tKey) into tHash
>
>encrypt tHash & tData using ... with password tKey
>
> (pseudo decryption code - I don't know exactly what form of encrypt you
> are using!):
>
>decrypt tEncryptedData using ... with password tKey
>
>if byte 1 to 16 of tData is not md5Digest(tKey) then
>  throw "incorrect password"
>end if
>
> 
>
> Of course I'm now slightly intrigued as to what checks OpenSSL *can*
> actually do to
> be able to generate a 'bad decrypt' message - so by all means file a
> bug/send a test
> stack to support and we can at least advise on that (and potentially
> update the
> docs).
>
> Warmest Regards,
>
> Mark.
>
> --
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: Build Amazing Things
>
> ___
> 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: Crashing on M2 Mac

2023-11-02 Thread Dan Friedman via use-livecode
Peter,

I recently discovered (from one of my own apps) that a Mac app built with 
9.6.10 running on Sonoma crashes when the convert command is called.  I rebuilt 
the app in 10.0.0 (dp 6) and the app no longer crashes.   Hope that helps!

- Dan


From: use-livecode  on behalf of Peter 
Bogdanoff via use-livecode 
Date: Thursday, November 2, 2023 at 3:23 PM
To: Paul Dupuis via use-livecode 
Cc: Peter Bogdanoff 
Subject: Crashing on M2 Mac
A user is reporting crashing on his M2 Sonoma Mac.

This was a build of LC 9.6.10, with both Intel and Apple chosen in the  
Standalone settings.

It did not crash with only Apple chosen, though there were script errors that 
did not happen with non-M2 users (M1 is OK). I haven’t been able to debug that 
since I don’t have an M2 Mac.

Has anyone used LC with M2?

Peter Bogdanoff

> Process:   MITA [10810]
> Path:  /Applications/MITA.app/Contents/MacOS/MITA
> Identifier:com.artsinteractiveinc.mita
> Version:   3.0 (3.0)
> Code Type: X86-64 (Translated)
> Parent Process:launchd [1]
> User ID:   501
>
> Date/Time: 2023-11-02 13:22:17.1555 -0400
> OS Version:macOS 14.1 (23B74)
> Report Version:12
> Anonymous UUID:982CECFD-B763-4068-2C69-6639836A03DF
>
> Sleep/Wake UUID:   DAD13568-D6D9-4419-BF53-FA013DE5385B
>
> Time Awake Since Boot: 11 seconds
> Time Since Wake:   1041 seconds
>
> System Integrity Protection: enabled
>
> Notes:
> PC register does not match crashing frame (0x0 vs 0x1026B9E58)
>
> Crashed Thread:0  Dispatch queue: com.apple.main-thread
>
> Exception Type:EXC_BAD_ACCESS (SIGSEGV)
> Exception Codes:   KERN_INVALID_ADDRESS at 0x0004
> Exception Codes:   0x0001, 0x0004
>
> VM Region Info: 0x4 is not in any region.  Bytes before following region: 
> 140722906071036
>   REGION TYPESTART - END [ VSIZE] PRT/MAX 
> SHRMOD  REGION DETAIL
>   UNUSED SPACE AT START
> --->
>   mapped file  7ffc9ad4-7ffcc03e8000 [598.7M] r-x/r-x 
> SM=COW  ...t_id=60eeba9b
>
> Error Formulating Crash Report:
> PC register does not match crashing frame (0x0 vs 0x1026B9E58)

___
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


Crashing on M2 Mac

2023-11-02 Thread Peter Bogdanoff via use-livecode
A user is reporting crashing on his M2 Sonoma Mac.

This was a build of LC 9.6.10, with both Intel and Apple chosen in the  
Standalone settings. 

It did not crash with only Apple chosen, though there were script errors that 
did not happen with non-M2 users (M1 is OK). I haven’t been able to debug that 
since I don’t have an M2 Mac.

Has anyone used LC with M2?

Peter Bogdanoff

> Process:   MITA [10810]
> Path:  /Applications/MITA.app/Contents/MacOS/MITA
> Identifier:com.artsinteractiveinc.mita
> Version:   3.0 (3.0)
> Code Type: X86-64 (Translated)
> Parent Process:launchd [1]
> User ID:   501
> 
> Date/Time: 2023-11-02 13:22:17.1555 -0400
> OS Version:macOS 14.1 (23B74)
> Report Version:12
> Anonymous UUID:982CECFD-B763-4068-2C69-6639836A03DF
> 
> Sleep/Wake UUID:   DAD13568-D6D9-4419-BF53-FA013DE5385B
> 
> Time Awake Since Boot: 11 seconds
> Time Since Wake:   1041 seconds
> 
> System Integrity Protection: enabled
> 
> Notes:
> PC register does not match crashing frame (0x0 vs 0x1026B9E58)
> 
> Crashed Thread:0  Dispatch queue: com.apple.main-thread
> 
> Exception Type:EXC_BAD_ACCESS (SIGSEGV)
> Exception Codes:   KERN_INVALID_ADDRESS at 0x0004
> Exception Codes:   0x0001, 0x0004
> 
> VM Region Info: 0x4 is not in any region.  Bytes before following region: 
> 140722906071036
>   REGION TYPESTART - END [ VSIZE] PRT/MAX 
> SHRMOD  REGION DETAIL
>   UNUSED SPACE AT START
> --->  
>   mapped file  7ffc9ad4-7ffcc03e8000 [598.7M] r-x/r-x 
> SM=COW  ...t_id=60eeba9b
> 
> Error Formulating Crash Report:
> PC register does not match crashing frame (0x0 vs 0x1026B9E58)

___
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


Property Inspector bug for keys with commas in the key name

2023-11-02 Thread Paul Dupuis via use-livecode
This bug (https://quality.livecode.com/show_bug.cgi?id=23512) where a 
comma in the key name of an array prevents the Proerty Inspector from 
being able to edit the property just bit me again.


I have a stack (for help) that extensively uses keys with commas (create 
prior to the Project Browser and new PI) that I can not edit except by 
script - which is a pain in the (you know what).


Does anyone have an edit to the PI code for this OR an alternative PI 
that does not have this bug?


___
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: Direct editing of polygrid text cells and polylist text elements

2023-11-02 Thread Mike Kerner via use-livecode
sorry, i hit "send", too quickly.
focusOut and inputEndEditing would go in the "edit" field, and i think that
would get rid of the need for the cellClick handler in the pl/pg. the
cellClick handler will only manage clicks inside the pl/pg, not elsewhere
on the card.

On Thu, Nov 2, 2023 at 11:16 AM Mike Kerner 
wrote:

> i think you might need to add an on focusOut handler, because the user may
> choose to click outside of the field, and if the app is on mobile, an
> inputEndEditing handler
> this is bringing back 1980's memories, with how we had to hack controls to
> do the same thing in hc...
>
> On Thu, Nov 2, 2023 at 10:57 AM panagiotis merakos via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Hello all,
>>
>> You can write a script for that. Just add a PolyGrid and a field, set the
>> name of the field to "Edit" and add this code:
>>
>> Add this in the script of the field "edit":
>>
>> on enterinfield
>>hide me
>> end enterinfield
>>
>> on returninfield
>>hide me
>> end returninfield
>>
>> on textChanged
>>set the pgInternalPointer of widget "PolyGrid" to the cCoordinate of me
>>set the pgTextOfCell of widget "PolyGrid" to the text of me
>> end textChanged
>>
>> Add this to the script of the PolyGrid:
>>
>> on cellDoubleClick pCol, pRow, pRect
>>set the rect of field "edit" to pRect
>>set the text of field "edit" to the pgmousecelltext of me
>>set the cCoordinate of field "edit" to  pCol, pRow
>>show  field "edit"
>>--focus on field "edit"
>>select after  field "edit"
>> end cellDoubleClick
>>
>> on cellClick
>>hide  field "edit"
>> end cellClick
>>
>> Now just double-click on a cell to edit it.
>>
>> Kind regards,
>> Panos
>>
>> On Thu, 2 Nov 2023 at 00:01, Paul Dupuis via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>> > +1
>> >
>> > I'd like to know this too as I can see no way in the Property Inspector
>> > or the pgColumns property to indicate a column is 'editable'. Nor can I
>> > find any property, message, etc. in the polygrid Dictionary entry that
>> > seems to suggest cell editing.
>> >
>> >
>> > On 11/1/2023 5:28 PM, Peter Thirkell via use-livecode wrote:
>> > > I am enjoying both the polygrid and polylist add-ons to Livecode. They
>> > are infinitely flexible to use once you get to know them, and most
>> > importantly they render beautifully across all platforms.
>> > >
>> > > I have one question which doesn’t seem to be addressed in the
>> > documentation. The polygrid widget specifications say that it supports
>> > “direct cell editing” but I am not able to find any way to do this. Has
>> > anyone found a way?
>> > >
>> > > More generally, do we have any multi-line input field options for
>> > Livecode which render well across all platforms? Polygrid and polylist
>> work
>> > beautifully in displaying already existing data from some sort of data
>> > repository ... but it would be awesome to provide the ability for users
>> to
>> > input information as well as display it using the brilliant polygrid and
>> > polylist tools.
>> > >
>> > > Providing truly cross-platform inputting of data and information in an
>> > easy way would provide the final puzzle piece for many of us wanting to
>> > provide a modern and beautiful user interface for our apps.
>> > >
>> > > Many thanks 
>> > > ___
>> > > 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
>>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: Possible enhancement request

2023-11-02 Thread J. Landman Gay via use-livecode

+...

I can never keep all those variations straight.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On November 2, 2023 10:21:29 AM Klaus major-k via use-livecode 
 wrote:



Hi friends,

before I post an enhancment request to the "Qualtiy Center", I wanted to 
hear your opinions about this.


Wouldn't it be great if ALL widgets would receive and handle at least a 
mouseup (and mousedown) meassage?

I have always wondered why that is not the case.

This way scripting would be a lot easier for us and we do not have to 
remember the many different messages
the widgets have. Yes, they can be seen in the script editor on the left 
side, nevertheless... :-)


Examples:
PolyGrid -> cellclick
PolyList -> itemclick
Segmentedcontrol -> hilitechanged
Switch Button -> hilitechanged
Radial Slider -> valueChanged
Navigation Bar -> hilitechanged
Line Graph -> receives NO message at all?

Maybe I forgot one or two things here, but I think you get the picture.
Thank you for your opinions.


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





___
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: Possible enhancement request

2023-11-02 Thread Mike Kerner via use-livecode
for good or bad, the lcb style guide section on events as excerpted, here

says
that those events are recommended, but not required.
in many of those widgets, it would also be nice if there was a way to
intercept the click, and decide what to do, before it is just done.
that's part of what led to the birth of the "navrad" widget - intercept a
click in the navbar and decide whether the hilite should be allowed to
change or not, instead of changing the hilite first, and then undoing it if
it should not have been allowed.

On Thu, Nov 2, 2023 at 11:20 AM Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi friends,
>
> before I post an enhancment request to the "Qualtiy Center", I wanted to
> hear your opinions about this.
>
> Wouldn't it be great if ALL widgets would receive and handle at least a
> mouseup (and mousedown) meassage?
> I have always wondered why that is not the case.
>
> This way scripting would be a lot easier for us and we do not have to
> remember the many different messages
> the widgets have. Yes, they can be seen in the script editor on the left
> side, nevertheless... :-)
>
> Examples:
> PolyGrid -> cellclick
> PolyList -> itemclick
> Segmentedcontrol -> hilitechanged
> Switch Button -> hilitechanged
> Radial Slider -> valueChanged
> Navigation Bar -> hilitechanged
> Line Graph -> receives NO message at all?
>
> Maybe I forgot one or two things here, but I think you get the picture.
> Thank you for your opinions.
>
>
> 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
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: [[ ANN ]] Release 9.6.11 RC-1

2023-11-02 Thread panagiotis merakos via use-livecode
Hello Mike,

Yes, the time to try Sonoma has come :)

BTW, to all you folks trying Xcode 15 - here is something you should note.
We have included this in the Release Notes, but I put it here as well:

*Note: *In Xcode 15.0.x, and possibly in future versions as well, the
required iOS runtimes (iOS 17.0 in this case) are no longer included in the
Xcode app bundle, and they have to be installed explicitly. You can do so
by opening Xcode and going to Xcode -> Settings.. -> Platforms and then
find row iOS 17.0 and click GET .

If you do not do this ^^, you will not be able to build a standalone for an
iOS device or the simulator.

Cheers,
Panos
--

On Thu, 2 Nov 2023 at 17:13, Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> looking forward to maybe finally doing the sonoma thing
>
> On Thu, Nov 2, 2023 at 10:32 AM panagiotis merakos via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Dear list members,
> >
> > We are pleased to announce the release of LiveCode 9.6.11 RC-1.
> >
> > LiveCode 9.6.11 RC-1 comes with more than 10 bugfixes and new features,
> > including support for Xcode 15 / iOS 17 SDK.
> >
> > You can find more details on the bug fixes and improvements of this new
> > release here:
> >
> > https://livecode.com/livecode-9-6-11-rc-1-released-support-for-ios-17/
> >
> > You can find the release in your LiveCode account area or get it via the
> > automatic updater.
> >
> > Enjoy!
> >
> > Kind regards
> > The LiveCode Team
> > --
> > ___
> > 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
> >
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
> ___
> 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


Possible enhancement request

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

before I post an enhancment request to the "Qualtiy Center", I wanted to hear 
your opinions about this.

Wouldn't it be great if ALL widgets would receive and handle at least a mouseup 
(and mousedown) meassage?
I have always wondered why that is not the case.

This way scripting would be a lot easier for us and we do not have to remember 
the many different messages 
the widgets have. Yes, they can be seen in the script editor on the left side, 
nevertheless... :-)

Examples:
PolyGrid -> cellclick
PolyList -> itemclick
Segmentedcontrol -> hilitechanged
Switch Button -> hilitechanged
Radial Slider -> valueChanged
Navigation Bar -> hilitechanged
Line Graph -> receives NO message at all?

Maybe I forgot one or two things here, but I think you get the picture.
Thank you for your opinions.


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


Re: Direct editing of polygrid text cells and polylist text elements

2023-11-02 Thread Mike Kerner via use-livecode
i think you might need to add an on focusOut handler, because the user may
choose to click outside of the field, and if the app is on mobile, an
inputEndEditing handler
this is bringing back 1980's memories, with how we had to hack controls to
do the same thing in hc...

On Thu, Nov 2, 2023 at 10:57 AM panagiotis merakos via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hello all,
>
> You can write a script for that. Just add a PolyGrid and a field, set the
> name of the field to "Edit" and add this code:
>
> Add this in the script of the field "edit":
>
> on enterinfield
>hide me
> end enterinfield
>
> on returninfield
>hide me
> end returninfield
>
> on textChanged
>set the pgInternalPointer of widget "PolyGrid" to the cCoordinate of me
>set the pgTextOfCell of widget "PolyGrid" to the text of me
> end textChanged
>
> Add this to the script of the PolyGrid:
>
> on cellDoubleClick pCol, pRow, pRect
>set the rect of field "edit" to pRect
>set the text of field "edit" to the pgmousecelltext of me
>set the cCoordinate of field "edit" to  pCol, pRow
>show  field "edit"
>--focus on field "edit"
>select after  field "edit"
> end cellDoubleClick
>
> on cellClick
>hide  field "edit"
> end cellClick
>
> Now just double-click on a cell to edit it.
>
> Kind regards,
> Panos
>
> On Thu, 2 Nov 2023 at 00:01, Paul Dupuis via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > +1
> >
> > I'd like to know this too as I can see no way in the Property Inspector
> > or the pgColumns property to indicate a column is 'editable'. Nor can I
> > find any property, message, etc. in the polygrid Dictionary entry that
> > seems to suggest cell editing.
> >
> >
> > On 11/1/2023 5:28 PM, Peter Thirkell via use-livecode wrote:
> > > I am enjoying both the polygrid and polylist add-ons to Livecode. They
> > are infinitely flexible to use once you get to know them, and most
> > importantly they render beautifully across all platforms.
> > >
> > > I have one question which doesn’t seem to be addressed in the
> > documentation. The polygrid widget specifications say that it supports
> > “direct cell editing” but I am not able to find any way to do this. Has
> > anyone found a way?
> > >
> > > More generally, do we have any multi-line input field options for
> > Livecode which render well across all platforms? Polygrid and polylist
> work
> > beautifully in displaying already existing data from some sort of data
> > repository ... but it would be awesome to provide the ability for users
> to
> > input information as well as display it using the brilliant polygrid and
> > polylist tools.
> > >
> > > Providing truly cross-platform inputting of data and information in an
> > easy way would provide the final puzzle piece for many of us wanting to
> > provide a modern and beautiful user interface for our apps.
> > >
> > > Many thanks 
> > > ___
> > > 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
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: [[ ANN ]] Release 9.6.11 RC-1

2023-11-02 Thread Heather Laine via use-livecode
It'll be to do with having using manual activation. I think that will get saved 
to your preferences file, which is shared among LiveCode installations, so 
you'll see it go to manual activation instead of automatic, if thats the way 
you've previously activated.

At least that's my understanding of how it all works :)

Best Regards,

Heather

Heather Laine
Customer Services Manager
LiveCode Ltd
www.livecode.com



> On 2 Nov 2023, at 15:21, Paul Dupuis via use-livecode 
>  wrote:
> 
> When I installed 9.6.11rc1 (win64) and launched Livecode, after accepting the 
> terms of service, I got the license authentication box, but it did not have 
> my email or password (from all my other installed versions of Lievcode) 
> filled in and was set to manual activation
> 
> Now, I did recently manually activate a VERY old version of Livecode (4.6.4) 
> on my computer, so it could just be me. Did anyone else run into this? If so, 
> I'll file a bug against 9.6.11rc1, otherwise I'll assume it was just me.
> 
> 
> On 11/2/2023 10:30 AM, panagiotis merakos via use-livecode wrote:
>> Dear list members,
>> 
>> We are pleased to announce the release of LiveCode 9.6.11 RC-1.
>> 
>> LiveCode 9.6.11 RC-1 comes with more than 10 bugfixes and new features,
>> including support for Xcode 15 / iOS 17 SDK.
>> 
>> You can find more details on the bug fixes and improvements of this new
>> release here:
>> 
>> https://livecode.com/livecode-9-6-11-rc-1-released-support-for-ios-17/
>> 
>> You can find the release in your LiveCode account area or get it via the
>> automatic updater.
>> 
>> Enjoy!
>> 
>> Kind regards
>> The LiveCode Team
>> --
>> ___
>> 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


Re: [[ ANN ]] Release 9.6.11 RC-1

2023-11-02 Thread Paul Dupuis via use-livecode
When I installed 9.6.11rc1 (win64) and launched Livecode, after 
accepting the terms of service, I got the license authentication box, 
but it did not have my email or password (from all my other installed 
versions of Lievcode) filled in and was set to manual activation


Now, I did recently manually activate a VERY old version of Livecode 
(4.6.4) on my computer, so it could just be me. Did anyone else run into 
this? If so, I'll file a bug against 9.6.11rc1, otherwise I'll assume it 
was just me.



On 11/2/2023 10:30 AM, panagiotis merakos via use-livecode wrote:

Dear list members,

We are pleased to announce the release of LiveCode 9.6.11 RC-1.

LiveCode 9.6.11 RC-1 comes with more than 10 bugfixes and new features,
including support for Xcode 15 / iOS 17 SDK.

You can find more details on the bug fixes and improvements of this new
release here:

https://livecode.com/livecode-9-6-11-rc-1-released-support-for-ios-17/

You can find the release in your LiveCode account area or get it via the
automatic updater.

Enjoy!

Kind regards
The LiveCode Team
--
___
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: [[ ANN ]] Release 9.6.11 RC-1

2023-11-02 Thread Mike Kerner via use-livecode
looking forward to maybe finally doing the sonoma thing

On Thu, Nov 2, 2023 at 10:32 AM panagiotis merakos via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Dear list members,
>
> We are pleased to announce the release of LiveCode 9.6.11 RC-1.
>
> LiveCode 9.6.11 RC-1 comes with more than 10 bugfixes and new features,
> including support for Xcode 15 / iOS 17 SDK.
>
> You can find more details on the bug fixes and improvements of this new
> release here:
>
> https://livecode.com/livecode-9-6-11-rc-1-released-support-for-ios-17/
>
> You can find the release in your LiveCode account area or get it via the
> automatic updater.
>
> Enjoy!
>
> Kind regards
> The LiveCode Team
> --
> ___
> 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
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: Direct editing of polygrid text cells and polylist text elements

2023-11-02 Thread panagiotis merakos via use-livecode
Hello all,

You can write a script for that. Just add a PolyGrid and a field, set the
name of the field to "Edit" and add this code:

Add this in the script of the field "edit":

on enterinfield
   hide me
end enterinfield

on returninfield
   hide me
end returninfield

on textChanged
   set the pgInternalPointer of widget "PolyGrid" to the cCoordinate of me
   set the pgTextOfCell of widget "PolyGrid" to the text of me
end textChanged

Add this to the script of the PolyGrid:

on cellDoubleClick pCol, pRow, pRect
   set the rect of field "edit" to pRect
   set the text of field "edit" to the pgmousecelltext of me
   set the cCoordinate of field "edit" to  pCol, pRow
   show  field "edit"
   --focus on field "edit"
   select after  field "edit"
end cellDoubleClick

on cellClick
   hide  field "edit"
end cellClick

Now just double-click on a cell to edit it.

Kind regards,
Panos

On Thu, 2 Nov 2023 at 00:01, Paul Dupuis via use-livecode <
use-livecode@lists.runrev.com> wrote:

> +1
>
> I'd like to know this too as I can see no way in the Property Inspector
> or the pgColumns property to indicate a column is 'editable'. Nor can I
> find any property, message, etc. in the polygrid Dictionary entry that
> seems to suggest cell editing.
>
>
> On 11/1/2023 5:28 PM, Peter Thirkell via use-livecode wrote:
> > I am enjoying both the polygrid and polylist add-ons to Livecode. They
> are infinitely flexible to use once you get to know them, and most
> importantly they render beautifully across all platforms.
> >
> > I have one question which doesn’t seem to be addressed in the
> documentation. The polygrid widget specifications say that it supports
> “direct cell editing” but I am not able to find any way to do this. Has
> anyone found a way?
> >
> > More generally, do we have any multi-line input field options for
> Livecode which render well across all platforms? Polygrid and polylist work
> beautifully in displaying already existing data from some sort of data
> repository ... but it would be awesome to provide the ability for users to
> input information as well as display it using the brilliant polygrid and
> polylist tools.
> >
> > Providing truly cross-platform inputting of data and information in an
> easy way would provide the final puzzle piece for many of us wanting to
> provide a modern and beautiful user interface for our apps.
> >
> > Many thanks 
> > ___
> > 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


Re: Filter with wildcards

2023-11-02 Thread Neville Smythe via use-livecode
Users should certainly never see regex! That’s covered in User  Interface 
Guidelines 101.

But surely you wouldn’t show them the LC wildcard filter either!

$@%?$@%?$@%?$@%?$@%?$@%?$@%?$@%?
Neville Smythe
Director, International Go Federation
VicePresident, Australian Go Association Inc.

> On 3 Nov 2023, at 12:02 am, David Glasgow  wrote:
> 
> 
> 
>> On 1 Nov 2023, at 11:24 pm, Neville Smythe  
>> wrote:
>> 
>> But I suspect you should allow for the required strings to be followed by 
>> punctuation or be at the end of the line, things which are hard to do with a 
>> simple LC wildcard search, at least in a single filter. 
> 
> 
> When I originally went down the wildcard route, I wrote some gentle text 
> preprocessing (using replace) to make sure words are always bounded by a 
> space, including before punctuation and at an eol.
> 
> I also need users to see the reason  the message appears in the results (i.e 
> the matched filter) so  they are listed under a heading consisting of the 
> search term.  Not sure what users would make of regex!
> 
> Thanks again,
> 
> Cheers
> 
> David G
___
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


[[ ANN ]] Release 9.6.11 RC-1

2023-11-02 Thread panagiotis merakos via use-livecode
Dear list members,

We are pleased to announce the release of LiveCode 9.6.11 RC-1.

LiveCode 9.6.11 RC-1 comes with more than 10 bugfixes and new features,
including support for Xcode 15 / iOS 17 SDK.

You can find more details on the bug fixes and improvements of this new
release here:

https://livecode.com/livecode-9-6-11-rc-1-released-support-for-ios-17/

You can find the release in your LiveCode account area or get it via the
automatic updater.

Enjoy!

Kind regards
The LiveCode Team
--
___
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: Filter with wildcards

2023-11-02 Thread David Glasgow via use-livecode



> On 1 Nov 2023, at 11:24 pm, Neville Smythe  
> wrote:
> 
> But I suspect you should allow for the required strings to be followed by 
> punctuation or be at the end of the line, things which are hard to do with a 
> simple LC wildcard search, at least in a single filter. 


When I originally went down the wildcard route, I wrote some gentle text 
preprocessing (using replace) to make sure words are always bounded by a space, 
including before punctuation and at an eol.

I also need users to see the reason  the message appears in the results (i.e 
the matched filter) so  they are listed under a heading consisting of the 
search term.  Not sure what users would make of regex!

Thanks again,

Cheers

David G
___
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: Modify timeout for shell function

2023-11-02 Thread Ben Rubinstein via use-livecode

Hi Mark,

That's helpful, thank you.

Ben

On 01/11/2023 15:16, Mark Waddingham via use-livecode wrote:

On 2023-11-01 11:20, Ben Rubinstein via use-livecode wrote:
An install which runs daily and makes a number of calls using the shell 
function occasionally reports

The process "..." exceeded the timeout of 10 seconds.

I'm not sure where this timeout is defined; I'm not totally sure where this 
message is coming from (the shell? LiveCode? the process that was invoked 
through the shell command?).


Definitely not LiveCode - LiveCode runs the shell process until it ends on all 
platforms its implemented on (I'll leave it for another day to ponder whether 
there should be some sort of timeout to account for rogue/hung processes!)


Assuming for a moment that this isn't a timeout internal to the process that 
I happen to be invoking, is there a way in LiveCode, or in shell 
configuration, to modify this timeout?


Doing a quick google for variants of "The process ... exceeded the timeout of 
10 seconds" - then there are various results relating to Laravel - which is a 
PHP framework. So are you shell'ing to PHP? If so my guess is that whatever 
PHP script you are running is using sub-processes too, and has a process 
timeout set to 10s.


Warmest Regards,

Mark.



___
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: decrypt error junk

2023-11-02 Thread Mark Waddingham via use-livecode

On 2023-11-02 02:06, Tom Glod via use-livecode wrote:
I have found a "wrong decryption key" that does not return a bad 
decrypt

error, but returns garbage into "the result".
Every other wrong key correctly gives the usual error.
The right key works to decrypt.


What exact error do you get with a wrong key vs the not-so-wrong key?


the length of the encryption/decryption key is always 64 characters
it is always alphanumeric, because its a hash derivative, no weird
characters, always the correct length.
and the salt is the same for every key i tried.

I can program around it, but its unsettling.
I will report it, but in the meantime has anyone ever come across this
garbage in "the result" as a result of an incorrect. decryption key?


So I don't think this is a bug, but expected behavior.

The encrypt/decrypt operations are very low-level they 'simply' apply 
the specified

algorithm to the data.

Encryption/decryption is 'just' a mathematical function which uses the 
'key bytes'
and 'input data' to derive an output - in particular, decryption does 
not include
any validation checks to ensure the provided decryption key is what was 
used to

encrypt in the first place - that's something you have to do yourself.

There's a huge variety of ways to do this - but perhaps the simplest is 
to add your
favorite (simple) hash of the encryption key before the data being 
encrypted:




(pseudo encryption code - I don't know exactly what form of encrypt you 
are using!):


  local tKey, tHash
  put deriveMyEncryptionKey(tPassword) into tKey
  put md5Digest(tKey) into tHash

  encrypt tHash & tData using ... with password tKey

(pseudo decryption code - I don't know exactly what form of encrypt you 
are using!):


  decrypt tEncryptedData using ... with password tKey

  if byte 1 to 16 of tData is not md5Digest(tKey) then
throw "incorrect password"
  end if



Of course I'm now slightly intrigued as to what checks OpenSSL *can* 
actually do to
be able to generate a 'bad decrypt' message - so by all means file a 
bug/send a test
stack to support and we can at least advise on that (and potentially 
update the

docs).

Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Build Amazing Things

___
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