Re: Splash-stack apps on Google Play

2018-05-22 Thread Brian Milby via use-livecode
@Mark
Would the loading of LCB extensions be a good thing to add to the
securityPermissions (or does external already cover it)?

On Tue, May 22, 2018 at 7:12 PM Brian Milby  wrote:

> Well, it isn't a full library, but I did put together a demo of how it can
> work:
>
> https://github.com/bwmilby/lc-misc/tree/master/SignVerify
>
> https://github.com/bwmilby/lc-misc/raw/master/SignVerify/SignVerify.livecode
>
> I've only tested on Mac, but it should work everywhere if you already have
> the keys.  Not sure how to generate the keys on Windows, but the button
> should work on Linux.
>
> Hope it helps.
>
> Thanks,
> Brian
>
> On Tue, May 22, 2018 at 2:57 PM, Brian Milby  wrote:
>
>> Can’t make any changes to the stack once you generate the hash or it will
>> not match.
>>
>> On Tue, May 22, 2018 at 2:41 PM J. Landman Gay via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>>> Would it be okay to store the encrypted hash in a custom property of the
>>> remote stack?
>>>
>>> I'll need to experiment to see if I can do what you've outlined, unless
>>> you write a library before I figure it out... ;)
>>>
>>>
>>> On 5/22/18 12:03 AM, Brian Milby via use-livecode wrote:
>>> > The dictionary entries that you want are "encrypt using rsa", "decrypt
>>> > using rsa", and "messageDigest'.
>>> >
>>> > High level process...
>>> > - Generate a public/private key pair
>>> > - Package the file that you want to ensure is not tampered with
>>> > - Generate a hash of the file (messageDigest)
>>> > - Encrypt the hash with your private key (encrypt using rsa)
>>> > - Store the encrypted hash along with the file to download (or
>>> possibly put
>>> > them both into a zip to make a single download)
>>> >
>>> > - Store the public key inside the app
>>> > - Download the encrypted hash and the file
>>> > - Decrypt the hash using the public key (decrypt using rsa)
>>> > - Compare the decrypted hash with a calculated hash of the downloaded
>>> file
>>> > - If they match, then the file has not been changed
>>> >
>>> > If you also want to utilize a similar process to secure the file itself
>>> > from viewing, then you will need to do something a little different.
>>> The
>>> > dictionary suggests that a possible method would be to generate a
>>> random
>>> > key to actually encrypt the file (symmetric encryption - encrypt).
>>> That
>>> > key would be encrypted with a public key.  The encrypted file and
>>> encrypted
>>> > key would be stored for download.  The app would use the private key to
>>> > decrypt the data encryption key.  Once the data encryption key was
>>> > obtained, the data could be decrypted.  You would want to use a
>>> different
>>> > public/private pair of keys for this operation.
>>> >
>>> > This all sounds like a good project for a library (for use in an app)
>>> and a
>>> > stack (to handle the front end).  I didn't go checking to see if one
>>> > already existed though.
>>>
>>>
>>> --
>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>> HyperActive Software   | http://www.hyperactivesw.com
>>>
>>> ___
>>> 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: Splash-stack apps on Google Play

2018-05-22 Thread Brian Milby via use-livecode
Well, it isn't a full library, but I did put together a demo of how it can
work:

https://github.com/bwmilby/lc-misc/tree/master/SignVerify
https://github.com/bwmilby/lc-misc/raw/master/SignVerify/SignVerify.livecode

I've only tested on Mac, but it should work everywhere if you already have
the keys.  Not sure how to generate the keys on Windows, but the button
should work on Linux.

Hope it helps.

Thanks,
Brian

On Tue, May 22, 2018 at 2:57 PM, Brian Milby  wrote:

> Can’t make any changes to the stack once you generate the hash or it will
> not match.
>
> On Tue, May 22, 2018 at 2:41 PM J. Landman Gay via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Would it be okay to store the encrypted hash in a custom property of the
>> remote stack?
>>
>> I'll need to experiment to see if I can do what you've outlined, unless
>> you write a library before I figure it out... ;)
>>
>>
>> On 5/22/18 12:03 AM, Brian Milby via use-livecode wrote:
>> > The dictionary entries that you want are "encrypt using rsa", "decrypt
>> > using rsa", and "messageDigest'.
>> >
>> > High level process...
>> > - Generate a public/private key pair
>> > - Package the file that you want to ensure is not tampered with
>> > - Generate a hash of the file (messageDigest)
>> > - Encrypt the hash with your private key (encrypt using rsa)
>> > - Store the encrypted hash along with the file to download (or possibly
>> put
>> > them both into a zip to make a single download)
>> >
>> > - Store the public key inside the app
>> > - Download the encrypted hash and the file
>> > - Decrypt the hash using the public key (decrypt using rsa)
>> > - Compare the decrypted hash with a calculated hash of the downloaded
>> file
>> > - If they match, then the file has not been changed
>> >
>> > If you also want to utilize a similar process to secure the file itself
>> > from viewing, then you will need to do something a little different.
>> The
>> > dictionary suggests that a possible method would be to generate a random
>> > key to actually encrypt the file (symmetric encryption - encrypt).  That
>> > key would be encrypted with a public key.  The encrypted file and
>> encrypted
>> > key would be stored for download.  The app would use the private key to
>> > decrypt the data encryption key.  Once the data encryption key was
>> > obtained, the data could be decrypted.  You would want to use a
>> different
>> > public/private pair of keys for this operation.
>> >
>> > This all sounds like a good project for a library (for use in an app)
>> and a
>> > stack (to handle the front end).  I didn't go checking to see if one
>> > already existed though.
>>
>>
>> --
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software   | http://www.hyperactivesw.com
>>
>> ___
>> 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

execution doesn't stop when multiple function calls in a line

2018-05-22 Thread Dr. Hawkins via use-livecode
It seems to me I filed a bug about this a couple of years ago, and it was
fixed.

If I have a line like

setVal "someVal", getVal("abc", dbtr) + getVal("def",
dbtr)+getVal("ghi", dbtr) + getVal("jul", dbtr)

and I stop the IDE in the first getVal() with the blue box when it hits a
breakpoint, the other three getVal() still get called--and slowly, after a
delay of seconds for each.

I'm in (supposedly) the latest 9.0.

Are others seeing this, or is it out to get me again? :)
hawk
-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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


losing font info in fields again

2018-05-22 Thread Dr. Hawkins via use-livecode
I think I ask this every couple of years (and it would be more often, but I
sometimes find the answer in my archives).

As my program copies groups from one stack to another, I am losing field
formatting information.

This time, the offending fields have, iirc, both ArialMt and dingbat text,
probably both in different heights.

It appears that upon copy, I have a font with serifs, and the size changes.

The sharedText of the field is set to true.

I vaguely recall that the reis a field property that isn't in the inspector
that needs to be set, but I'm baffled at the moment :(



-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: Splash-stack apps on Google Play

2018-05-22 Thread Brian Milby via use-livecode
Can’t make any changes to the stack once you generate the hash or it will
not match.
On Tue, May 22, 2018 at 2:41 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Would it be okay to store the encrypted hash in a custom property of the
> remote stack?
>
> I'll need to experiment to see if I can do what you've outlined, unless
> you write a library before I figure it out... ;)
>
>
> On 5/22/18 12:03 AM, Brian Milby via use-livecode wrote:
> > The dictionary entries that you want are "encrypt using rsa", "decrypt
> > using rsa", and "messageDigest'.
> >
> > High level process...
> > - Generate a public/private key pair
> > - Package the file that you want to ensure is not tampered with
> > - Generate a hash of the file (messageDigest)
> > - Encrypt the hash with your private key (encrypt using rsa)
> > - Store the encrypted hash along with the file to download (or possibly
> put
> > them both into a zip to make a single download)
> >
> > - Store the public key inside the app
> > - Download the encrypted hash and the file
> > - Decrypt the hash using the public key (decrypt using rsa)
> > - Compare the decrypted hash with a calculated hash of the downloaded
> file
> > - If they match, then the file has not been changed
> >
> > If you also want to utilize a similar process to secure the file itself
> > from viewing, then you will need to do something a little different.  The
> > dictionary suggests that a possible method would be to generate a random
> > key to actually encrypt the file (symmetric encryption - encrypt).  That
> > key would be encrypted with a public key.  The encrypted file and
> encrypted
> > key would be stored for download.  The app would use the private key to
> > decrypt the data encryption key.  Once the data encryption key was
> > obtained, the data could be decrypted.  You would want to use a different
> > public/private pair of keys for this operation.
> >
> > This all sounds like a good project for a library (for use in an app)
> and a
> > stack (to handle the front end).  I didn't go checking to see if one
> > already existed though.
>
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
>
> ___
> 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: Splash-stack apps on Google Play

2018-05-22 Thread J. Landman Gay via use-livecode
Would it be okay to store the encrypted hash in a custom property of the 
remote stack?


I'll need to experiment to see if I can do what you've outlined, unless 
you write a library before I figure it out... ;)



On 5/22/18 12:03 AM, Brian Milby via use-livecode wrote:

The dictionary entries that you want are "encrypt using rsa", "decrypt
using rsa", and "messageDigest'.

High level process...
- Generate a public/private key pair
- Package the file that you want to ensure is not tampered with
- Generate a hash of the file (messageDigest)
- Encrypt the hash with your private key (encrypt using rsa)
- Store the encrypted hash along with the file to download (or possibly put
them both into a zip to make a single download)

- Store the public key inside the app
- Download the encrypted hash and the file
- Decrypt the hash using the public key (decrypt using rsa)
- Compare the decrypted hash with a calculated hash of the downloaded file
- If they match, then the file has not been changed

If you also want to utilize a similar process to secure the file itself
from viewing, then you will need to do something a little different.  The
dictionary suggests that a possible method would be to generate a random
key to actually encrypt the file (symmetric encryption - encrypt).  That
key would be encrypted with a public key.  The encrypted file and encrypted
key would be stored for download.  The app would use the private key to
decrypt the data encryption key.  Once the data encryption key was
obtained, the data could be decrypted.  You would want to use a different
public/private pair of keys for this operation.

This all sounds like a good project for a library (for use in an app) and a
stack (to handle the front end).  I didn't go checking to see if one
already existed though.



--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
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: how to clear residual garbage in a stack?

2018-05-22 Thread Brian Milby via use-livecode
I can reproduce the time issue (100 cards - 8.5MB file - 71s), but not the
space issue. Have a button copy a card and paste it 100 times and then
“save this stack”. Another button deletes the last card until there is only
one left and then does the same. File size goes to 85kb in 673ms. This is
on Win10, LC9 Business. Stack size largely due to a single field with a
bunch of text in it.
On Tue, May 22, 2018 at 12:18 PM Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Neville Smythe wrote:
>
>  > Actually I just did a hex dump of the 8MB file saved from the 1 card
>  > stack; and lo! it has an EOF at about the 28KB position, at which
>  > point BBEdit stops dumping the file; up to that point it appears to be
>  > the correct data for a 1 card stack, no extraneous garbage. But the
>  > system reports it as an 8MB file. Doesn’t that mean the file was not
>  > closed correctly by the save stack command, or that compact stack is
>  > not working correctly to reduce the internal memory and save stack is
>  > blindly writing bytes beyond the EOF, so either way it is a bug?
>
> Possibly.  Or it may be an error in the disk driver or a corruption in
> the file system.
>
> EOF is not normally written to a file (at least not since the old CP/M
> days).  My understanding is that modern file systems allow the OS to
> know where the file ends by the length record in the inode; EOF is sent
> only as a flag by the OS during read operations.
>
> I wonder if BBEdit's issue is that it's reading the file as text rather
> than binary, in which case it may be interpreting some binary elements
> as the OS-defined EOF constant.
>
> If you read the stack file as binary in LC what is the length of the data?
>
> --
>   Richard Gaskin
>   Fourth World Systems
>   Software Design and Development for the Desktop, Mobile, and the Web
>   
>   ambassa...@fourthworld.comhttp://www.FourthWorld.com
>
> ___
> 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 8.1.10

2018-05-22 Thread panagiotis merakos via use-livecode
Hi Ben,

Yes, there will not be any other LC 8.x releases, and this includes LC 8.2
as well.

In LC 8.2 we introduced the CommunityPlus license and the auto-complete
feature, both of which are now included in LC 9.0.0.

If you have not moved your projects to LC 9 yet, now is the time :)

Best,
Panos
--



On Tue, May 22, 2018 at 7:49 PM, Ben Rubinstein via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Panos,
>
> Thanks for this.
>
> Can I just check:
>
> > ** Note 8.1.10 STABLE is the last planned release in the 8.x series **
>
> Is 8.2.0 a dead spur in that case? How does it relate to 8.1.10?
>
> Many thanks,
>
> Ben
>
> ___
> 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
>



-- 
Panagiotis Merakos 
LiveCode Software Developer

Everyone Can Create Apps 
___
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 8.1.10

2018-05-22 Thread Ben Rubinstein via use-livecode

Hi Panos,

Thanks for this.

Can I just check:

> ** Note 8.1.10 STABLE is the last planned release in the 8.x series **

Is 8.2.0 a dead spur in that case? How does it relate to 8.1.10?

Many thanks,

Ben

___
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: how to clear residual garbage in a stack?

2018-05-22 Thread Richard Gaskin via use-livecode

Neville Smythe wrote:

> Actually I just did a hex dump of the 8MB file saved from the 1 card
> stack; and lo! it has an EOF at about the 28KB position, at which
> point BBEdit stops dumping the file; up to that point it appears to be
> the correct data for a 1 card stack, no extraneous garbage. But the
> system reports it as an 8MB file. Doesn’t that mean the file was not
> closed correctly by the save stack command, or that compact stack is
> not working correctly to reduce the internal memory and save stack is
> blindly writing bytes beyond the EOF, so either way it is a bug?

Possibly.  Or it may be an error in the disk driver or a corruption in 
the file system.


EOF is not normally written to a file (at least not since the old CP/M 
days).  My understanding is that modern file systems allow the OS to 
know where the file ends by the length record in the inode; EOF is sent 
only as a flag by the OS during read operations.


I wonder if BBEdit's issue is that it's reading the file as text rather 
than binary, in which case it may be interpreting some binary elements 
as the OS-defined EOF constant.


If you read the stack file as binary in LC what is the length of the data?

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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: Livecode Hosting and GDPR

2018-05-22 Thread Heather Laine via use-livecode
The existing documents will be updated with any necessary amendments by 25th. 
Please check back then :)

Best Regards,

Heather

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



> On 22 May 2018, at 15:59, Matthias Rebbe via use-livecode 
>  wrote:
> 
> jbv,
> 
> i have several hosting providers. German ones and also from other European 
> countries.
> The German  providers i work with are totally prepared and have updated their 
> documents in time.
> Unfortunately this is not the case for the other european providers. HostM 
> for example is not ready, but promised to be on the 25.05.2018 at the latest.
> 
> The documents Heather is pointing to are outdated and not GDPR compliant. 
> Sorry Heather.
> A 2nd problem with Livecode Hosting might be that they are hosted in the US. 
> So the data is stored outside the European Union.
> 
> Thank God my HostM accounts are all hosted at Hetzner, so at least the data 
> is stored in a EU country.
> 
> 
>> Am 22.05.2018 um 10:37 schrieb jbv via use-livecode 
>> :
>> 
>> Hello Heather,
>> Thanks for your reply.
>> I had already checked the Privacy Policy, and sorry for being so picky,
>> but it doesn't contain all the details required by the GDPR, especially
>> regarding procedures in case of security breach among other things.
>> 
>> Just curious : has any other list member located in the EU already worked
>> on this subject ?
>> 
>> Thanks.
>> jbv
>> 
>> 
>> 
>> On Tue, May 22, 2018 9:59 am, Heather Laine via use-livecode wrote:
>>> Please go here:
>>> 
>>> 
>>> https://livecode.com/hosting/support/
>>> 
>>> 
>>> 
>>> You will find all the documentation relating to LiveCode hosting at the
>>> foot of this page.
>>> 
>>> Regards,
>>> 
>>> 
>>> Heather
>>> 
>>> 
>>> 
 On 22 May 2018, at 07:34, jbv via use-livecode
  wrote:
 
 
 Hi list,
 I have just emailed Livecode Hosting about the new General Data
 Protection
 Regulation (GDPR) effective in the EU starting May 25th 2018, asking if
 they're planing to send to their customers all necessary documents
 regarding hosting, backup and security for themselves and their
 affiliates Cleverbridge and LiquidWeb.
 Has anyone already got any details on this matter ?
 
 
 Thanks in advance.
 jbv
 
 
 ___
 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


___
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: Livecode Hosting and GDPR

2018-05-22 Thread Matthias Rebbe via use-livecode
jbv,

i have several hosting providers. German ones and also from other European 
countries.
 The German  providers i work with are totally prepared and have updated their 
documents in time.
Unfortunately this is not the case for the other european providers. HostM for 
example is not ready, but promised to be on the 25.05.2018 at the latest.

The documents Heather is pointing to are outdated and not GDPR compliant. Sorry 
Heather.
A 2nd problem with Livecode Hosting might be that they are hosted in the US. So 
the data is stored outside the European Union.

Thank God my HostM accounts are all hosted at Hetzner, so at least the data is 
stored in a EU country.


> Am 22.05.2018 um 10:37 schrieb jbv via use-livecode 
> :
> 
> Hello Heather,
> Thanks for your reply.
> I had already checked the Privacy Policy, and sorry for being so picky,
> but it doesn't contain all the details required by the GDPR, especially
> regarding procedures in case of security breach among other things.
> 
> Just curious : has any other list member located in the EU already worked
> on this subject ?
> 
> Thanks.
> jbv
> 
> 
> 
> On Tue, May 22, 2018 9:59 am, Heather Laine via use-livecode wrote:
>> Please go here:
>> 
>> 
>> https://livecode.com/hosting/support/
>> 
>> 
>> 
>> You will find all the documentation relating to LiveCode hosting at the
>> foot of this page.
>> 
>> Regards,
>> 
>> 
>> Heather
>> 
>> 
>> 
>>> On 22 May 2018, at 07:34, jbv via use-livecode
>>>  wrote:
>>> 
>>> 
>>> Hi list,
>>> I have just emailed Livecode Hosting about the new General Data
>>> Protection
>>> Regulation (GDPR) effective in the EU starting May 25th 2018, asking if
>>> they're planing to send to their customers all necessary documents
>>> regarding hosting, backup and security for themselves and their
>>> affiliates Cleverbridge and LiquidWeb.
>>> Has anyone already got any details on this matter ?
>>> 
>>> 
>>> Thanks in advance.
>>> jbv
>>> 
>>> 
>>> ___
>>> 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


Re: how to clear residual garbage in a stack?

2018-05-22 Thread Brian Milby via use-livecode
Did you attempt to do a “save as” on the stack? From what you described it
sounds like LC wrote the file in place but did not truncate what was there
after the EOF so extra data was there on the end. Need to try this on
Mac/Linux to see if it does the same thing.
On Tue, May 22, 2018 at 9:14 AM Neville Smythe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hmm, excellent suggestions from Phil and Richard, but evidently something
> else is going on.
>
> > Use "compact stack" to get rid of space formerly used by now-deleted
> > objects.
>
> compact stack did not recover the 8 MB after deleting all but the first
> card from my test stack to reduce it to what should be a 28KB file.
>
> > Does your card contain a group with its backgroundBehavior set to true?
> >
> > If so, and if the cards are created with copy and paste, I believe you
> > may find a large number of unplaced groups in the stack.
>
> The extra cards were created using create, not copy-and-paste, there is
> only 1 group in the stack before and after deleting extra cards.
>
> Actually I just did a hex dump of the 8MB file saved from the 1 card
> stack; and lo! it has an EOF at about the 28KB position, at which point
> BBEdit stops dumping the file; up to that point it appears to be the
> correct data for a 1 card stack, no extraneous garbage. But the system
> reports it as an 8MB file. Doesn’t that mean the file was not closed
> correctly by the save stack command, or that compact stack is not working
> correctly to reduce the internal memory and save stack is blindly writing
> bytes beyond the EOF, so either way it is a bug?
>
> All of which is peripheral to my original aim of finding out what is going
> on with LC and Windows 10
>
>
> Neville Smythe
> ___
> 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: how to clear residual garbage in a stack?

2018-05-22 Thread Neville Smythe via use-livecode
Hmm, excellent suggestions from Phil and Richard, but evidently something else 
is going on.

> Use "compact stack" to get rid of space formerly used by now-deleted 
> objects.

compact stack did not recover the 8 MB after deleting all but the first card 
from my test stack to reduce it to what should be a 28KB file.

> Does your card contain a group with its backgroundBehavior set to true?
> 
> If so, and if the cards are created with copy and paste, I believe you 
> may find a large number of unplaced groups in the stack.

The extra cards were created using create, not copy-and-paste, there is only 1 
group in the stack before and after deleting extra cards.

Actually I just did a hex dump of the 8MB file saved from the 1 card stack; and 
lo! it has an EOF at about the 28KB position, at which point BBEdit stops 
dumping the file; up to that point it appears to be the correct data for a 1 
card stack, no extraneous garbage. But the system reports it as an 8MB file. 
Doesn’t that mean the file was not closed correctly by the save stack command, 
or that compact stack is not working correctly to reduce the internal memory 
and save stack is blindly writing bytes beyond the EOF, so either way it is a 
bug?
 
All of which is peripheral to my original aim of finding out what is going on 
with LC and Windows 10


Neville Smythe
___
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: how to clear residual garbage in a stack?

2018-05-22 Thread Neville Smythe via use-livecode
Thanks Phil, I knew there had to be a command. Of all the synonyms I tried I 
got close with compress ;-)

Turns out a stack of  mine used by national organisation for 20 years had 
bloated from 3MB to 9MB.

> Use "compact stack" to get rid of space formerly used by now-deleted 
> objects.

 
Neville Smythe
___
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 8.1.10

2018-05-22 Thread panagiotis merakos via use-livecode
Dear list members,

We are pleased to announce the release of LiveCode 8.1.10 STABLE.

** Note 8.1.10 STABLE is the last planned release in the 8.x series **

Getting the Release
===
You can get the release at https://downloads.livecode.com/livecode/ or via
the automatic updater.


Release Contents


LiveCode 8.1.10 STABLE contains more than 10 bugfixes and improvements
compared to the previous (8.1.9) STABLE version, including:

- Implementation of a new mobile command
"mobileSetFullScreenRectForOrientations" to allow stacks that use the
"fullscreenMode" property to be resized when the device orientation changes.
- Support for building with Xcode 9.3 (using the latest iOS 11.3 SDK) has
been added
- New versions of mergExt* and tsNet externals are included, addressing a
couple of bugs.


Notes:

- Xcode 9.3 requires MacOS 10.13.2 or higher


The full release notes are available from:
http://downloads.livecode.com/livecode/8_1_10/LiveCodeNotes-8_1_10.pdf


Feedback

Please report any bugs encountered on our BugZilla at
http://quality.livecode.com/


Have fun!
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: Livecode Hosting and GDPR

2018-05-22 Thread jbv via use-livecode
Hello Heather,
Thanks for your reply.
I had already checked the Privacy Policy, and sorry for being so picky,
but it doesn't contain all the details required by the GDPR, especially
regarding procedures in case of security breach among other things.

Just curious : has any other list member located in the EU already worked
on this subject ?

Thanks.
jbv



On Tue, May 22, 2018 9:59 am, Heather Laine via use-livecode wrote:
> Please go here:
>
>
> https://livecode.com/hosting/support/
> 
>
>
> You will find all the documentation relating to LiveCode hosting at the
> foot of this page.
>
> Regards,
>
>
> Heather
>
>
>
>> On 22 May 2018, at 07:34, jbv via use-livecode
>>  wrote:
>>
>>
>> Hi list,
>> I have just emailed Livecode Hosting about the new General Data
>> Protection
>> Regulation (GDPR) effective in the EU starting May 25th 2018, asking if
>> they're planing to send to their customers all necessary documents
>> regarding hosting, backup and security for themselves and their
>> affiliates Cleverbridge and LiquidWeb.
>> Has anyone already got any details on this matter ?
>>
>>
>> Thanks in advance.
>> jbv
>>
>>
>> ___
>> 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: Livecode and Google Analytics?

2018-05-22 Thread Simon Smith via use-livecode
Hi

You can take a look at Google Analytics Measurement Protocol (
https://developers.google.com/analytics/devguides/collection/protocol/v1/).

You should be able to track events via POST requests to google-analytics.com

Simon


Carpe diem

*Simon Smith*
m. +27 83 306 7862

On Tue, May 22, 2018 at 8:19 AM, jbv via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi
> Have you tried to include in your app a browser object that would
> load web pages with the necessary GA js script ?
> I know it's a brute-force strategy and that it would probably slow
> down the app a bit, but I don't have any better solution so far...
>
> Best,
> jbv
>
> On Tue, May 22, 2018 4:03 am, Jose Enrique Montero via use-livecode wrote:
> > Hi Dan Friedman,
> >
> >
> > Do you found a solution ?
> >
> >
> > best regards.
> >
> > Jose
> >
> >
> > 2018-02-15 14:37 GMT-04:00 Dan Friedman via use-livecode <
> > use-livecode@lists.runrev.com>:
> >
> >
> >> Greetings!
> >>
> >>
> >> Is there a method to implement Google Analytics in a LiveCode Mobile
> >> app? Client wants to see the analytic data.
> >>
> >>
> >> -Dan
> >>
> >>
> >> ___
> >> 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


Re: Livecode Hosting and GDPR

2018-05-22 Thread Heather Laine via use-livecode
Please go here:

https://livecode.com/hosting/support/ 

You will find all the documentation relating to LiveCode hosting at the foot of 
this page.

Regards,

Heather


> On 22 May 2018, at 07:34, jbv via use-livecode 
>  wrote:
> 
> Hi list,
> I have just emailed Livecode Hosting about the new General Data Protection
> Regulation (GDPR) effective in the EU starting May 25th 2018, asking if
> they're planing to send to their customers all necessary documents
> regarding hosting, backup and security for themselves and their affiliates
> Cleverbridge and LiquidWeb.
> Has anyone already got any details on this matter ?
> 
> Thanks in advance.
> jbv
> 
> 
> ___
> 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


Livecode Hosting and GDPR

2018-05-22 Thread jbv via use-livecode
Hi list,
I have just emailed Livecode Hosting about the new General Data Protection
Regulation (GDPR) effective in the EU starting May 25th 2018, asking if
they're planing to send to their customers all necessary documents
regarding hosting, backup and security for themselves and their affiliates
Cleverbridge and LiquidWeb.
Has anyone already got any details on this matter ?

Thanks in advance.
jbv


___
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: how to clear residual garbage in a stack?

2018-05-22 Thread Richard Gaskin via use-livecode

Does your card contain a group with its backgroundBehavior set to true?

If so, and if the cards are created with copy and paste, I believe you 
may find a large number of unplaced groups in the stack.


In the IDE menus see Object -> Place Group

If that submenu is long, you've found your culprit.

Rather than copy and paste, when creating new cards with a common 
background group can be done with the clone or create commands the cards 
will all share a common group, reducing size even before running the 
delete loop.


--
 Richard Gaskin
 Fourth World Systems


Neville Smythe wrote:

> I am constructing a large stack as a test for a bug report (to report
> the slow saving of large stacks for a standalone Windows 10 app under
> LC 8.x). I start with a stack with a single card which saves as a 28
> KB file. I then use a script to create 299 copies of card 1. The
> resulting stack saves to a 8.2 MB file. As expected.
>
> I then deleted all but the first card, and re-ran the script so it
> again had 300 cards. This saves to a 16.4 MB file! Repeating the
> delete-and-create gives a 24 MB file. Evidently the data for the
> deleted cards has not been removed. I can think of efficiency reasons
> why this might be useful in the IDE, but there must/should be a way to
> reduce the file size to a minimum, otherwise stacks which continually
> delete and create data will just grow in a very user-unfriendly way.
>
> I can’t find any command such as clean or purge or free or compress or
> release garbage which will reduce the file size to its actual
> requirements. I have a vague memory of this being raised some years
> ago but I can’t find the reference. Surely there must be a built-in
> command? Because the only way I can see to reduce the size would be to
> create a new stack and copy over all cards and scripts and substacks
> before saving, which is ridiculous.
>
> BTW The bug: The 8.2MB stack saves on a Mac in 0.27 seconds. On
> Windows 10 saving time is 6.4 seconds. Other apps on Windows save an 8
> MB file in under a second so the problem is not with the Windows OS or
> antivirus virus software or the particular machine. Possibly this bug
> is related to the reported unusablility of LC 9 IDE on Windows 10, of
> which I have heard no more since it was raised in this forum a few
> weeks ago, although my context is a standalone compiled under LC  8.x.
>
> Neville Smythe



___
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: Livecode and Google Analytics?

2018-05-22 Thread jbv via use-livecode
Hi
Have you tried to include in your app a browser object that would
load web pages with the necessary GA js script ?
I know it's a brute-force strategy and that it would probably slow
down the app a bit, but I don't have any better solution so far...

Best,
jbv

On Tue, May 22, 2018 4:03 am, Jose Enrique Montero via use-livecode wrote:
> Hi Dan Friedman,
>
>
> Do you found a solution ?
>
>
> best regards.
>
> Jose
>
>
> 2018-02-15 14:37 GMT-04:00 Dan Friedman via use-livecode <
> use-livecode@lists.runrev.com>:
>
>
>> Greetings!
>>
>>
>> Is there a method to implement Google Analytics in a LiveCode Mobile
>> app? Client wants to see the analytic data.
>>
>>
>> -Dan
>>
>>
>> ___
>> 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