Re: Deleting stacks on the fly

2017-02-13 Thread J. Landman Gay via use-livecode

On 2/14/17 12:00 AM, Sannyasin Brahmanathaswami via use-livecode wrote:

Deleting stacks isn't helping. My Nexus 5 has 1 GB free RAM even with
all of Google's widgets and my app open and going from Stack B back
to stack A then deleting StackcB in 10 milliseconds  is "nothing" in
terms of memory requirement, but crashes in Android every time…


My other project is crashing on Android the same way. It also has heavy 
server/internet use. I'm starting to think that's where the problem lies.


--
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: Deleting stacks on the fly

2017-02-13 Thread Sannyasin Brahmanathaswami via use-livecode
FWIW, tested on an android device with plenty of memory

Deleting stacks isn't helping. My Nexus 5 has 1 GB free RAM even with all of 
Google's widgets and my app open and going from Stack B back to stack A then 
deleting StackcB in 10 milliseconds  is "nothing" in terms of memory 
requirement, but crashes in Android every time… 

I have a report in to HQ…

 

On 2/11/17, 8:38 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami via 
use-livecode"  wrote:

I'm trying to optimize for minimal RAM usage on mobile. The app is modular 
with many stacks that are opened from the mainstack.

I had this before in a global library:

command portal_GoStack stackName
-- goes to the new stack
-- closes the current stack # But we want to delete it to clear RAM
-- safely ignores if we are alrady in the new stack
put the short name of this stack into oStackName
if oStackName = stackName then return oStackName
go to stack stackName
--close stack oStackName
-- test deleting the stacks to save on RAM
delete stack oStackName
return oStackName
end portal_GoStack

This is called from a button on a navigation bar of the stack we want to 
close and delete, as it opens a different stack.

This works if we just use "close stack oStackName"

but if I change this to "delete stack oStackName"

we get an error: stack "lib_SivaSivaPortal": execution error at line n/a 
(Object: stack locked, or object's script is executing) near "widget 
"go-home-portal" of group "homeScreensBottomNav" of card "images-quotes" of 
stack 
"/Users/Brahmanathaswami/Documents/_Siva-Siva-App/modules/gems/gems.livecode""

Obviously this means that the stack "gem.livecode" which has the button 
which is trying to "navigate" back to the home/main stack, cannot be deleted 
because the button script that calls the library handler is considered to be 
executing.

Closing it first before deleting does not help.

so I tried using "send in 10 milliseconds"  And this *does* work.. I'm just 
trying to see if this is best practice. both stacks will occupy RAM briefly, 
but  there is no other way that I know of to avoid this without a "flash" of 
some empty screen.

command portal_GoStack stackName
-- goes to the new stack
-- closes the current stack
-- safely ignores if we are alrady in the new stack
put the short name of this stack into oStackName
if oStackName = stackName then return oStackName
go to stack stackName
send "removeStack oStackName" to me in 10 milliseconds
return oStackName
end portal_GoStack

command removeStack stackName
delete stack stackName
end removeStack


Stack A opens
Stack B opens on top
Stack B want to close itself, be deleted (removed from memory) and open 
stack A

Anyone has gone through this loop already and discovered best practices to 
accomplish this?

BR

___
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: Nabble fools one of us

2017-02-13 Thread Bob Sneidar via use-livecode
To quote Jacque, 

> It's because Heather changed the From: header in order to stop people 
> from getting unsubscribed from the list. That worked. But apparently 
> Nabble doesn't read the From: header correctly, or does some other kind 
> of processing. I believe the problem is with Nabble, which is 
> unfortunate because I often use their archives to search the list.
> 
> I don't know who first set up the Nabble account but it would be good if 
> someone with authority could see if the problem can be fixed, and also 
> change "Revolution" to "LiveCode" in the list name.
> 
> -- 
> Jacqueline Landman Gay  

So, who set up the Nabble account is the question. 

Bob S


>> On Feb 13, 2017, at 14:56 , Martin Koob via use-livecode 
>>  wrote:
>> 
>> Hi
>> I am still seeing the changing authorship of posts on the Nabble view of 
>> this list.
>> Has anyone figured out how to fix this?
>> Martin 
> 

___
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


Nabble fools one of us

2017-02-13 Thread Martin Koob via use-livecode
Hi
I am still seeing the changing authorship of posts on the Nabble view of this 
list.
Has anyone figured out how to fix this?
Martin 

> On 1/13/17 10:27 AM, hh via use-livecode wrote:
> > Just in case somebody of us is wondering why he/she suddenly authored *all*
> > posts of this list since Jan 8 here:
> >
> > http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html 
> > 
> >
> > I can't see the logic which author is elected as the "one-for-all", but it's
> > certainly without asking that person and without looking if the person is
> > using Nabble.
> >
> > For a while it was Bob S., currently it's Tiemo.
> > Perhaps the last poster to the list modulo some time shift?
> > Or is it a platform specific "malfunction"?
> >
> > May be it is not Nabble but a changed "delivering" procedure?
> 
> It's because Heather changed the From: header in order to stop people 
> from getting unsubscribed from the list. That worked. But apparently 
> Nabble doesn't read the From: header correctly, or does some other kind 
> of processing. I believe the problem is with Nabble, which is 
> unfortunate because I often use their archives to search the list.
> 
> I don't know who first set up the Nabble account but it would be good if 
> someone with authority could see if the problem can be fixed, and also 
> change "Revolution" to "LiveCode" in the list name.
> 
> -- 
> Jacqueline Landman Gay | jacque at hyperactivesw.com 
> 
> HyperActive Software   


___
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 and OSX 64-bit builds?

2017-02-13 Thread Stephen Barncard via use-livecode
The blind leading the blind?

On Mon, Feb 13, 2017 at 12:17 PM, Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Over here, in Bulgaria, they expect kids to have got to grips with
> Calculus to start studying programming!




--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org
___
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 and OSX 64-bit builds?

2017-02-13 Thread Richmond Mathewson via use-livecode

Logic, branching, sets = Boolean logic.

Over here, in Bulgaria, they expect kids to have got to grips with 
Calculus to start studying programming!


Richmond.

On 2/13/17 10:07 pm, Stephen Barncard via use-livecode wrote:

Yes!  Logic - YES.   Concept of Sets - Yes.   Higher math... no


On Mon, Feb 13, 2017 at 11:48 AM, Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:


Something that never stops annoying me is the requirement for students who
want to study programming
to be good at Mathematics.

Richmond.




--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org
___
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 and OSX 64-bit builds?

2017-02-13 Thread Stephen Barncard via use-livecode
Yes!  Logic - YES.   Concept of Sets - Yes.   Higher math... no


On Mon, Feb 13, 2017 at 11:48 AM, Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Something that never stops annoying me is the requirement for students who
> want to study programming
> to be good at Mathematics.
>
> Richmond.
>



--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org
___
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


Vector graphics in 8.1.2

2017-02-13 Thread Muaadh Salih via use-livecode
The above seems to not be working at all .
Clicking on fill and setting graphics line color, shape , fill etc  ( with
the rest of the graphic  tool ,circle square  etc  are  non functional)
unlike lc 7.1.4
Using windows 7
Muaadh
___
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 and OSX 64-bit builds?

2017-02-13 Thread Richmond Mathewson via use-livecode
Something that never stops annoying me is the requirement for students 
who want to study programming

to be good at Mathematics.

Richmond.

On 2/13/17 9:45 pm, hh via use-livecode wrote:

Bob S. wrote:
I failed 6th grade math and then went on to ace algebra and geometry.
Everyone can thank their lucky stars I didn't go in for Rocket Science!

Documented in a letter:
"... Do not worry about your difficulties in Mathematics. I can assure
you mine are still greater.
Best regards Professor Albert Einstein."

___
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 and OSX 64-bit builds?

2017-02-13 Thread hh via use-livecode
> Bob S. wrote:
> I failed 6th grade math and then went on to ace algebra and geometry.
> Everyone can thank their lucky stars I didn't go in for Rocket Science! 

Documented in a letter:
"... Do not worry about your difficulties in Mathematics. I can assure
you mine are still greater.
Best regards Professor Albert Einstein."

___
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.3 RC-1

2017-02-13 Thread Mike Kerner via use-livecode
I'm getting this same error (revSEObjectDeleted) in RC2 when running a
script that calls a certain external.  I just quit and will run it, again,
to see if it repeats...

On Sat, Jan 21, 2017 at 1:03 PM, zryip theSlug via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Thanks to the logs shared, I was able to identify the problem with DGH
> stoping the plugins loading process.
>
> The problem is in the DGH_Help substack (the DGH documentation) which
> the IDE is considering as locked. Don't ask me why, this is the only
> substack in DGH which has a couple of properties set, such as the
> cantdelete property. Setting this property to false in the inspector
> is solving the issue.
>
> Will update the bugzilla report with this information in case this new
> behavior is not something expected.
>
>
> Best Regards,
>
> On Sat, Jan 21, 2017 at 7:17 AM, Trevor DeVore via use-livecode
>  wrote:
> > On Fri, Jan 20, 2017 at 11:26 AM, panagiotis merakos via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >>
> >> LiveCode 8.1.3 RC 1 contains 83 bug fixes and stability improvements:
> >>
> >> - Several crashes have been fixed.
> >> …
> >
> > - Several clipboard-related bugs have been fixed.
> >>
> >
> > After getting past the plugin loading issue 8.1.3 rc-1 has been working
> > nicely. I was able to routinely crash previous versions of LC 8 with a
> > project I’m working on. I haven’t had a single crash with 8.1.3 rc-1. I’m
> > very happy about that!
> >
> > --
> > Trevor DeVore
> > Outcome & ScreenSteps
> > www.outcomeapp.io - www.screensteps.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
>
>
>
> --
> Zryip TheSlug
> http://www.aslugontheroad.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
>



-- 
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 8.1.3 RC-2

2017-02-13 Thread David Bovill via use-livecode
It appears to be a Chrome issue - using Safari I was able to get the
release.

On 13 February 2017 at 11:11, panagiotis merakos via use-livecode <
use-livecode@lists.runrev.com> wrote:

> @David
>
> Are you still seeing this behavior? I have successfully downloaded 8.1.3
> RC-2 from the downloads page. Maybe it was caused by bad internet
> connection at that time?
>
> Best,
> Panos
> --
>
> On Sun, Feb 12, 2017 at 6:35 PM, David Bovill via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Having a problem with downloading this. Probably to do with my system
> setup
> > / update?
> >
> > Autoupdate fails, and downloading direct from the Livecode site gives me
> a
> > file of the form:
> >
> >- Unconfirmed 821853.crdownload
> >
> > Any ideas?
> >
> > On 10 February 2017 at 23:33, Ali Lloyd via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> > > Is it this bug?
> > > http://quality.livecode.com/show_bug.cgi?id=18994
> > >
> > > It would help if you posted a crash log too, we might be able to fix it
> > > just from that.
> > >
> > > On Fri, Feb 10, 2017 at 11:19 PM Dr. Hawkins via use-livecode <
> > > use-livecode@lists.runrev.com> wrote:
> > >
> > > > I opened and tried to build my compilation amalgam of stacks.
> > > >
> > > > It promptly crashed "unexpectedly"
> > > >
> > > > This is consistent (and was the case with rc1, 8.1.1, etc.)
> > > >
> > > > Back to combining with 7.1 . . .
> > > >
> > > > 
> > > >
> > > >
> > > >
> > > > --
> > > > 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
> > > >
> > > ___
> > > 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: Windows and OSX 64-bit builds?

2017-02-13 Thread Bob Sneidar via use-livecode
I failed 6th grade math and then went on to ace algebra and geometry. Everyone 
can thank their lucky stars I didn't go in for Rocket Science! 

Bob S


> On Feb 10, 2017, at 19:10 , Phil Davis via use-livecode 
>  wrote:
> 
> Your labels are one order of magnitude off the actual values, Bob. Say it 
> with me: 1,024,000,000 BYTES is "one billion bytes" (and change, depending on 
> whose standard you use). Of course one billion bytes is a gigabyte.
> 
> Same with the labeling of 1,024,000 BYTES = 1000kb = a megabyte, not a gig.
> 
> FWIW -
> Phil Davis


___
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: automating enabling of plugin settings on new versions

2017-02-13 Thread panagiotis merakos via use-livecode
Hi Richard,

I think that changing the permissions of the app bundle may cause issues
with OSX's Gatekeeper. If you want to customize or change the settings (and
make sure the changes do stick) of the Application Browser, I suggest you
put a copy of it in your Plugins folder.

In case you are interested, see
http://quality.livecode.com/show_bug.cgi?id=17757 for more details on this.

Best,
Panos
--

On Fri, Feb 10, 2017 at 9:36 PM, Dr. Hawkins via use-livecode <
use-livecode@lists.runrev.com> wrote:

> WE went through parts of this a while ago, and being naturally lazy, I came
> up with
>
> chmod -R u+w `ls -rtd
> /Applications/LiveCode*/Contents/Tools/Plugins/revapplicationoverview.rev
> |
> tail -1`
>
>
> as an invocation to write enable the plugin folder and its contents for the
> most recent version (OS X; linux will be similar and depend upon variant)
>
> This changes the mode (chmod) recursively; the ls finds the version with
> the latter date stamp.
>
> However, even though the mode changes, I still can't write, and have to
> manually load the application browser.
>
> Isn't that folder the only thing we used to need to changer am I missing
> something?
> --
> 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
>



-- 
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: Script locals in library stack script

2017-02-13 Thread Bob Sneidar via use-livecode
I mised that this was on a web server. I should pay more attention. 

Bob S


> On Feb 10, 2017, at 20:03 , J. Landman Gay via use-livecode 
>  wrote:
> 
> I know, that's why I didn't report it. I scoured the script looking for a 
> difference but I couldn't find anything, the two queries were executed by the 
> same handler. I looked for anything that would empty the variable and that 
> wasn't there either.


___
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.3 RC-2

2017-02-13 Thread panagiotis merakos via use-livecode
@David

Are you still seeing this behavior? I have successfully downloaded 8.1.3
RC-2 from the downloads page. Maybe it was caused by bad internet
connection at that time?

Best,
Panos
--

On Sun, Feb 12, 2017 at 6:35 PM, David Bovill via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Having a problem with downloading this. Probably to do with my system setup
> / update?
>
> Autoupdate fails, and downloading direct from the Livecode site gives me a
> file of the form:
>
>- Unconfirmed 821853.crdownload
>
> Any ideas?
>
> On 10 February 2017 at 23:33, Ali Lloyd via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Is it this bug?
> > http://quality.livecode.com/show_bug.cgi?id=18994
> >
> > It would help if you posted a crash log too, we might be able to fix it
> > just from that.
> >
> > On Fri, Feb 10, 2017 at 11:19 PM Dr. Hawkins via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> > > I opened and tried to build my compilation amalgam of stacks.
> > >
> > > It promptly crashed "unexpectedly"
> > >
> > > This is consistent (and was the case with rc1, 8.1.1, etc.)
> > >
> > > Back to combining with 7.1 . . .
> > >
> > > 
> > >
> > >
> > >
> > > --
> > > 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
> > >
> > ___
> > 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


[ANN] This Week in LiveCode 70

2017-02-13 Thread Peter TB Brett via use-livecode

Hi all,

Read about new developments in LiveCode open source and the open source
community in today's edition of the "This Week in LiveCode" newsletter!

Read issue #70 here: https://goo.gl/NIzw7V


This is a weekly newsletter about LiveCode, focussing on what's been
going on in and around the open source project.  New issues will be
released weekly on Mondays.  We have a dedicated mailing list that will
deliver each issue directly to you e-mail, so you don't miss any!

If you have anything you'd like mentioned (a project, a discussion
somewhere, an upcoming event) then please get in touch.

 Peter

--
Dr Peter Brett 

lcb-mode for Emacs: https://github.com/peter-b/lcb-mode

___
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