Re: best way to open a script-only library stack?

2018-09-17 Thread J. Landman Gay via use-livecode

On 9/17/18 8:45 PM, Richard Gaskin via use-livecode wrote:

While in memory it has all the properties of any stack in memory.


I just checked, and script-only stacks do have filenames. I didn't 
realize that before, I'd assumed they were temporary only. Good info.


--
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: SVG to image

2018-09-17 Thread Brian Milby via use-livecode
Ok, so your results should be the same as the "trimmed" version of the
icons in this repo:
https://github.com/leungwensen/svg-icon

For most of the icons on that site, the removal of pad is fine.  There are
a few where the pad is actually important since there are multiple icons
where some are designed to have blank space.  The best examples that I can
find are the WiFi strength icons in the Metro set.
https://leungwensen.github.io/svg-icon/#metro

Since the repo contains the full SVG of the icons (in both trimmed and
untrimmed versions), if anyone needs one of these icons untrimmed, they can
go to the repo and use the full SVG file directly.  I only mention this
because when I originally wrote the SvgIconTool I noticed that some of the
icons looked odd due to the padding removal.

That demo stack and widget are very effective.  I switched over to a couple
different icon sets from that site and everything works great.  What is
interesting is that some of the compiled icons look better when compiled
using the template compared to the SVG file on the site.  I'll need to look
at that some more to see if I can figure out why.  One difference is that
the files use viewBox instead of H & W.

Thanks for another useful widget!

On Mon, Sep 17, 2018 at 9:56 AM hh via use-livecode <
use-livecode@lists.runrev.com> wrote:

> > Brian wrote:
> > I'll need to take your stack/widget and see how what it generates
> > compares to conversions from the source svg file (for the Font
> > Awesome stuff). Since you are adding back information that was
> > stripped when converting to an icon, my guess is that the results
> > should be pretty much the same.
>
> There ARE changes;
> I translate the path to have a bounding box with topleft 0,0 and
> use this translated path.
> This prevents horizotal and especially vertical offsets (which
> is often present and effectively adds unneeded transparency at top).
>
> ___
> 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: LC on Chromebook?

2018-09-17 Thread Brian Milby via use-livecode
https://www.howtogeek.com/363331/how-to-set-up-and-use-linux-apps-on-chrome-os/

https://www.androidpolice.com/2018/08/19/install-linux-applications-chrome-os/

It may be possible according to this new capability to run Linux apps. I’ve not 
seen any reported successes though.

Thanks,
Brian
On Sep 17, 2018, 9:15 PM -0500, Nicolas Cueto via use-livecode 
, wrote:
> Not for running apps. For programming.
>
> Is there ANY way to get LC running on a Chromebook?
>
> One possibility is a cloud service (MacInClud or Frame). But there´s a fee
> -- unless someone knows of a limited trial service? -- plus, when not on
> wifi, my connection is thru hotspotting onto a limited dataplan?
>
> Thank you.
>
> --
> Nicolás Cueto
> ___
> 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

LC on Chromebook?

2018-09-17 Thread Nicolas Cueto via use-livecode
Not for running apps. For programming.

Is there ANY way to get LC running on a Chromebook?

One possibility is a cloud service (MacInClud or Frame). But there´s a fee
--  unless someone knows of a limited trial service? -- plus, when not on
wifi, my connection is thru hotspotting onto a limited dataplan?

Thank you.

--
Nicolás Cueto
___
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

Gradient Property Palette Bug

2018-09-17 Thread Alejandro Tejada via use-livecode
Hi All,

After editing an imported gradient, the Gradient Property Palette
shows two "OK" buttons and every graphic imported receive a
green color overlay.

Please verify this Gradient Property Palette bug in your own setup:

1) Download the stack Eps Import v05c:
http://andregarzia.on-rev.com/alejandro/stacks/Eps_Import_V05C.zip

2) Open the stack "eps_import_v05c.rev" using LC9.0.1 (rc3)

3) From the stack "eps_import_v05c", import the file
"Gradients01.ai". (Click the topleft button)
This file opens in a new stack.

4) Select one graphic and edit the gradient.
Change, for example, the number of repetitions
to 4 or 5 and select "Wrap" and "Mirror".

5) From the stack "eps_import_v05c", import the file
"golferGRS.ai" or "Gradients02.ai".
(Click the topleft button). This file opens
in a new stack and every graphic have a
green color overlay.

6) Try these exact steps using an early LC version.
Graphics DO NOT show a green color overlay.

By the way, Navigator 6.2 alpha 1 works great for
editing gradients! Check:

https://forums.livecode.com/viewtopic.php?f=13=31495

If you reproduce this bug, please report your results,
Operating System and LC Version to create a report
in the Quality Center.

Thanks in advance!

Al
___
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: App Dead on iOS 12

2018-09-17 Thread Terry Judd via use-livecode
Right, thanks Monte - I suspect they are already installed then. I tried 
Colin's suggestion of adding the assets.car file using the 'copy files' pane of 
the standalone builder but that didn't seem to work either.

Terry..

On 18/09/2018 11:04 am, "use-livecode on behalf of Monte Goulding via 
use-livecode"  wrote:



> On 18 Sep 2018, at 10:51 am, Terry Judd via use-livecode 
 wrote:
> 
> Umm - spoke to soon. How do I do that? I assumed that there would be 
something in the downloads pane of Xcode that I could install.


There is usually a dialog when you first run Xcode. You could try 
`xcode-select —install` on the command line.

Cheers

Monte
___
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: best way to open a script-only library stack?

2018-09-17 Thread Richard Gaskin via use-livecode

Curtis Ford wrote:

> I'm just getting started with the idea of a library stack for scripts,
> and have a dopey question: what's the best way to edit the library as
> I work on the project?
>
> I've created a script-only stack and included
>
> start using stack "myScriptStack.livecodescript"
>
> in the preOpenStack handler of my main stack.
>
> When I open the main stack, I don't see a way to get to the library
> stack. So I open the library stack through 'recent files' in Livecode,
> but then I see the message "A stack [library stack name] in file [path
> to the main stack file] is already in memory. The LiveCode UI does not
> distinguish stacks which have identical names, so editing these stack
> files while both are in memory could result in data loss."
>
> If this is a real concern, how do I get back to work on the library
> stack? Any suggestions on best practices?

There is only one thing to know about script-only stacks:  they are just 
like the binary stacks in every respect, except that the only thing that 
is written to disk is the stack script.


While in memory it has all the properties of any stack in memory.  You 
can even add objects to it.  Add a hundred cards if you like, and a 
thousand custom props too.  Set its backcolor.  It's all good, as long 
as you know the one rule about script-only stacks: the only thing that 
will get written to disk is the script.


Once this one rule is accepted, so many things become clearer. 
Mysteries that seemed somehow specific to script-only stacks go away. 
Many lights come on, many doors open.



The error you experienced can happen with any stack file.  Replace your 
script-only stack with a binary one and you'll see.  Sometimes opening a 
stack depends on *how* you opened it, with a partial or a full path, or 
how the path was derived.


For example, here are two ways to describe one file path:

  /home/rg/Desktop/stack.livecode
  ~/Desktop/stack.livecode

If I use each of those in separate statements, LC will complain that I'm 
attempting to open two different stacks with the same name, despite both 
paths being for the exact same file.


I had reported that once, but can't find the report now. :(

But what I learned stays with me:  double-check that you're using the 
exact same path to the file both times you access it, when using it as a 
library and when opening it.


If you do and the problem persists, let's explore it further.

--
 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: App Dead on iOS 12

2018-09-17 Thread Monte Goulding via use-livecode


> On 18 Sep 2018, at 10:51 am, Terry Judd via use-livecode 
>  wrote:
> 
> Umm - spoke to soon. How do I do that? I assumed that there would be 
> something in the downloads pane of Xcode that I could install.


There is usually a dialog when you first run Xcode. You could try `xcode-select 
—install` on the command line.

Cheers

Monte
___
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: App Dead on iOS 12

2018-09-17 Thread Monte Goulding via use-livecode


> On 18 Sep 2018, at 10:59 am, Dan Friedman  wrote:
> 
> I am definitely using 9.0.1 Stable.  NOT the RC's.

OK can you open a report about this. Perhaps there’s something else that 
behaves the same way as the issue that was fixed.

Cheers

Monte
___
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: App Dead on iOS 12

2018-09-17 Thread Dan Friedman via use-livecode
Monte,

I am definitely using 9.0.1 Stable.  NOT the RC's.

-Dan
 

On 9/17/18, 4:38 PM, "use-livecode on behalf of Monte Goulding via 
use-livecode"  wrote:

Hi Dan

Are you using the 9.0.1 stable or are you using one of the RCs? It sounds 
like you are hitting a bug that we fixed for RC 2.

Cheers

Monte


___
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: App Dead on iOS 12

2018-09-17 Thread Terry Judd via use-livecode
Umm - spoke to soon. How do I do that? I assumed that there would be something 
in the downloads pane of Xcode that I could install.

Terry...

On 18/09/2018 10:43 am, "use-livecode on behalf of Terry Judd via 
use-livecode"  wrote:

Thanks Monte. I'll try installing the additional component to my old 
version of XCode in the meantime.

Regards,

Terry...

On 18/09/2018 10:22 am, "use-livecode on behalf of Monte Goulding via 
use-livecode"  wrote:



> On 18 Sep 2018, at 10:18 am, Monte Goulding via use-livecode 
 wrote:
> 
> 
> 
>> On 18 Sep 2018, at 10:15 am, Colin Holgate via use-livecode 
 wrote:
>> 
>> Is what you said true for older LiveCode, or just 9.0.1?
> 
> Should be true back to late 2011.


FWIW I just opened this report so we can remove the need to have Xcode 
additional components installed 
https://quality.livecode.com/show_bug.cgi?id=21588 


Cheers

Monte
___
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: App Dead on iOS 12

2018-09-17 Thread Terry Judd via use-livecode
Thanks Monte. I'll try installing the additional component to my old version of 
XCode in the meantime.

Regards,

Terry...

On 18/09/2018 10:22 am, "use-livecode on behalf of Monte Goulding via 
use-livecode"  wrote:



> On 18 Sep 2018, at 10:18 am, Monte Goulding via use-livecode 
 wrote:
> 
> 
> 
>> On 18 Sep 2018, at 10:15 am, Colin Holgate via use-livecode 
 wrote:
>> 
>> Is what you said true for older LiveCode, or just 9.0.1?
> 
> Should be true back to late 2011.


FWIW I just opened this report so we can remove the need to have Xcode 
additional components installed 
https://quality.livecode.com/show_bug.cgi?id=21588 


Cheers

Monte
___
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: App Dead on iOS 12

2018-09-17 Thread Monte Goulding via use-livecode



> On 18 Sep 2018, at 10:18 am, Monte Goulding via use-livecode 
>  wrote:
> 
> 
> 
>> On 18 Sep 2018, at 10:15 am, Colin Holgate via use-livecode 
>>  wrote:
>> 
>> Is what you said true for older LiveCode, or just 9.0.1?
> 
> Should be true back to late 2011.


FWIW I just opened this report so we can remove the need to have Xcode 
additional components installed 
https://quality.livecode.com/show_bug.cgi?id=21588 


Cheers

Monte
___
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: App Dead on iOS 12

2018-09-17 Thread Monte Goulding via use-livecode



> On 18 Sep 2018, at 10:15 am, Colin Holgate via use-livecode 
>  wrote:
> 
> Is what you said true for older LiveCode, or just 9.0.1?

Should be true back to late 2011.

Cheers

Monte
___
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: App Dead on iOS 12

2018-09-17 Thread Colin Holgate via use-livecode
Is what you said true for older LiveCode, or just 9.0.1?


> On Sep 17, 2018, at 8:09 PM, Monte Goulding via use-livecode 
>  wrote:
> 
> 
> 
>> On 18 Sep 2018, at 9:47 am, Colin Holgate via use-livecode 
>>  wrote:
>> 
>> For icons to show up you need to make an Assets.car file with the icons in 
>> it. Here is one example tool for making that file:
>> 
>> http://www.applicationloader.net/appuploader/icontool.php 
>>  
>> > >
>> 
>> I think you just then include the file in the Files section.
> 
> This is not necessary as the standalone builder will use actool to create the 
> Assets.car for you however you do need to install Xcode’s additional 
> components in order to make actool available.
> 
> Cheers
> 
> Monte


___
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: App Dead on iOS 12

2018-09-17 Thread Monte Goulding via use-livecode


> On 18 Sep 2018, at 9:47 am, Colin Holgate via use-livecode 
>  wrote:
> 
> For icons to show up you need to make an Assets.car file with the icons in 
> it. Here is one example tool for making that file:
> 
> http://www.applicationloader.net/appuploader/icontool.php 
>  
>  >
> 
> I think you just then include the file in the Files section.

This is not necessary as the standalone builder will use actool to create the 
Assets.car for you however you do need to install Xcode’s additional components 
in order to make actool available.

Cheers

Monte
___
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: App Dead on iOS 12

2018-09-17 Thread Colin Holgate via use-livecode
For icons to show up you need to make an Assets.car file with the icons in it. 
Here is one example tool for making that file:

http://www.applicationloader.net/appuploader/icontool.php 


I think you just then include the file in the Files section.

> On Sep 17, 2018, at 7:02 PM, Dan Friedman via use-livecode 
>  wrote:
> 
> Terry,
> 
> So, here's what I've discovered in the last 40 minutes…
> 
> If you add, "set the acceleratedRendering of stack myStack to true", then 
> things start working again.  However, I did find that if I had more than one 
> stack open, and the second stack did not have acceleratedRendering enabled, 
> then the app crashed.
> 
> Most everything seems to be working ok once the app is open.   Visual Effects 
> are working fine, but I’m having some issues with moving controls (on 
> mouseMove) and the like…  S—l—u—g—i—s—h !!
> 
> 
> Thank you!
> 
> Dan Friedman
> CEO, ClearVision Technologies, LLC
> Voice: 909/484-2052
> http://www.clearvisiontech.com
> 
> 
> On 9/17/18, 3:51 PM, "use-livecode on behalf of Terry Judd via use-livecode" 
>  use-livecode@lists.runrev.com> wrote:
> 
>Yeah - I just updated an iPad to iOS 12 and 2 LC apps that were already 
> installed on it now just show a black screen (with the outlines of a couple 
> of native fields) after the splash screen. I kinda assumed they would just 
> still work.
> 
>Terry...
> 
>On 18/09/2018 7:56 am, "use-livecode on behalf of Dan Friedman via 
> use-livecode"  use-livecode@lists.runrev.com> wrote:
> 
>I see that all my apps are launching and immediately crashing on iOS 
> 12.  I rebuilt the app using 9.0.1 and I get the same result.  Since this 
> list isn't blowing up with people complaining about this, I have must have 
> missed the meeting about the secret button to click to get things working.   
> Anyone have any words of wisdom?
> 
>HELP!
> 
>-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: App Dead on iOS 12

2018-09-17 Thread Monte Goulding via use-livecode
Hi Dan

Are you using the 9.0.1 stable or are you using one of the RCs? It sounds like 
you are hitting a bug that we fixed for RC 2.

Cheers

Monte

> On 18 Sep 2018, at 9:02 am, Dan Friedman via use-livecode 
>  wrote:
> 
> Terry,
> 
> So, here's what I've discovered in the last 40 minutes…
> 
> If you add, "set the acceleratedRendering of stack myStack to true", then 
> things start working again.  However, I did find that if I had more than one 
> stack open, and the second stack did not have acceleratedRendering enabled, 
> then the app crashed.
> 
> Most everything seems to be working ok once the app is open.   Visual Effects 
> are working fine, but I’m having some issues with moving controls (on 
> mouseMove) and the like…  S—l—u—g—i—s—h !!
> 
> 
> Thank you!
> 
> Dan Friedman
> CEO, ClearVision Technologies, LLC
> Voice: 909/484-2052
> http://www.clearvisiontech.com
> 
> 
> On 9/17/18, 3:51 PM, "use-livecode on behalf of Terry Judd via use-livecode" 
>  use-livecode@lists.runrev.com> wrote:
> 
>Yeah - I just updated an iPad to iOS 12 and 2 LC apps that were already 
> installed on it now just show a black screen (with the outlines of a couple 
> of native fields) after the splash screen. I kinda assumed they would just 
> still work.
> 
>Terry...
> 
>On 18/09/2018 7:56 am, "use-livecode on behalf of Dan Friedman via 
> use-livecode"  use-livecode@lists.runrev.com> wrote:
> 
>I see that all my apps are launching and immediately crashing on iOS 
> 12.  I rebuilt the app using 9.0.1 and I get the same result.  Since this 
> list isn't blowing up with people complaining about this, I have must have 
> missed the meeting about the secret button to click to get things working.   
> Anyone have any words of wisdom?
> 
>HELP!
> 
>-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: App Dead on iOS 12

2018-09-17 Thread Terry Judd via use-livecode
OK - just to follow up on that, I rebuilt one of the apps using LC 9.0.1 - I'm 
still on OSX 10.10.5 so I'm using an older version of XCode - anyway, the app 
installs and launches on the iPad OK but the app icon is missing. Any ideas on 
how to get it to show up?

Terry...

On 18/09/2018 8:52 am, "use-livecode on behalf of Terry Judd via use-livecode" 
 wrote:

Yeah - I just updated an iPad to iOS 12 and 2 LC apps that were already 
installed on it now just show a black screen (with the outlines of a couple of 
native fields) after the splash screen. I kinda assumed they would just still 
work.

Terry...

On 18/09/2018 7:56 am, "use-livecode on behalf of Dan Friedman via 
use-livecode"  wrote:

I see that all my apps are launching and immediately crashing on iOS 
12.  I rebuilt the app using 9.0.1 and I get the same result.  Since this list 
isn't blowing up with people complaining about this, I have must have missed 
the meeting about the secret button to click to get things working.   Anyone 
have any words of wisdom?

HELP!

-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

Re: App Dead on iOS 12

2018-09-17 Thread Dan Friedman via use-livecode
Terry,

So, here's what I've discovered in the last 40 minutes…

If you add, "set the acceleratedRendering of stack myStack to true", then 
things start working again.  However, I did find that if I had more than one 
stack open, and the second stack did not have acceleratedRendering enabled, 
then the app crashed.

Most everything seems to be working ok once the app is open.   Visual Effects 
are working fine, but I’m having some issues with moving controls (on 
mouseMove) and the like…  S—l—u—g—i—s—h !!


Thank you!
 
Dan Friedman
CEO, ClearVision Technologies, LLC
Voice: 909/484-2052
http://www.clearvisiontech.com
 

On 9/17/18, 3:51 PM, "use-livecode on behalf of Terry Judd via use-livecode" 
 wrote:

Yeah - I just updated an iPad to iOS 12 and 2 LC apps that were already 
installed on it now just show a black screen (with the outlines of a couple of 
native fields) after the splash screen. I kinda assumed they would just still 
work.

Terry...

On 18/09/2018 7:56 am, "use-livecode on behalf of Dan Friedman via 
use-livecode"  wrote:

I see that all my apps are launching and immediately crashing on iOS 
12.  I rebuilt the app using 9.0.1 and I get the same result.  Since this list 
isn't blowing up with people complaining about this, I have must have missed 
the meeting about the secret button to click to get things working.   Anyone 
have any words of wisdom?

HELP!

-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

Re: [ANN] Release 9.0.1

2018-09-17 Thread Monte Goulding via use-livecode



> On 18 Sep 2018, at 1:42 am, Jim MacConnell via use-livecode 
>  wrote:
> 
> Did simple update to 9.0.1 and couldn't test on device(iPhone) . I was very
> surprised by this.
> "Mobile Support" showed red and the Android SDK path was empty.
> Would have been nice to have warning (even though release notes do show
> change to 9.4(9/0/1) from 9.2(9.0.0)). Sort of a big change going to an
> X.X.1?
> 
> Downloaded new xCode (hours!) and added it to "Mobile Support" and was good
> to go. Glad I wasn't in a hurry. 

There is a section in the release notes (Platform Support > iOS) detailing the 
versions of Xcode required for the release. We often add support for new iOS 
SDKs in maintenance releases.

> Also, I ended up having to redownload Android Studio (not quite as long but
> I didn't hang around). Default install loads API 28 and gives warnings when
> trying to link(?). Ended up loading API 26 & 15 before I could repoint to
> Android SDK. 
> 
> Maybe add a "Required support file upgrades from previous version" note to
> the release notes?

I agree the android section should note the required API so that people can 
ensure they have it.

Cheers

Monte
___
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: App Dead on iOS 12

2018-09-17 Thread Terry Judd via use-livecode
Yeah - I just updated an iPad to iOS 12 and 2 LC apps that were already 
installed on it now just show a black screen (with the outlines of a couple of 
native fields) after the splash screen. I kinda assumed they would just still 
work.

Terry...

On 18/09/2018 7:56 am, "use-livecode on behalf of Dan Friedman via 
use-livecode"  wrote:

I see that all my apps are launching and immediately crashing on iOS 12.  I 
rebuilt the app using 9.0.1 and I get the same result.  Since this list isn't 
blowing up with people complaining about this, I have must have missed the 
meeting about the secret button to click to get things working.   Anyone have 
any words of wisdom?

HELP!

-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

Re: best way to open a script-only library stack?

2018-09-17 Thread Bob Sneidar via use-livecode
I have a development menu with all the behaviors and script only stacks in a 
submenu. It's a hack but it makes editing a behavior script simple and without 
having to switch to pointer mode. 

Bob S


> On Sep 17, 2018, at 14:27 , Curtis Ford via use-livecode 
>  wrote:
> 
> --When you start using a script-only stack, LC creates a temporary hidden
> --stack in RAM and assigns the script to it. It's there but not visible.
> 
> Ah ha... now at least I don't feel silly for not finding it.
> 
> And it is in the Project Browser too – I may have opened it from there once 
> actually, and was then puzzled why I got a conflict from opening the file 
> another time.
> 
> Thanks Jacque! I'll owe you a coffee or beer or something in San Jose. :)
> 
> Curt

___
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

App Dead on iOS 12

2018-09-17 Thread Dan Friedman via use-livecode
I see that all my apps are launching and immediately crashing on iOS 12.  I 
rebuilt the app using 9.0.1 and I get the same result.  Since this list isn't 
blowing up with people complaining about this, I have must have missed the 
meeting about the secret button to click to get things working.   Anyone have 
any words of wisdom?

HELP!

-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


best way to open a script-only library stack?

2018-09-17 Thread Curtis Ford via use-livecode

--When you start using a script-only stack, LC creates a temporary hidden
--stack in RAM and assigns the script to it. It's there but not visible.

Ah ha... now at least I don't feel silly for not finding it.

And it is in the Project Browser too – I may have opened it from there once 
actually, and was then puzzled why I got a conflict from opening the file 
another time.

Thanks Jacque! I'll owe you a coffee or beer or something in San Jose. :)

Curt

--
Sent from Postbox 


___
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: Waaay OT: SUBLEQ

2018-09-17 Thread doc hawk via use-livecode
On Mon, Sep 17, 2018 at 12:28 PM, Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Here's a Turing-complete language with one(!) instruction
>

There's a *long* history ad literature  about subtract and branch as the
sole instruction being turing complete.

Making it political, though, is quite novel :)

personally, I'm more amused by Brainf, in which *only* white space is
significant . . . and it' actually been implemented on real computers (but
then, so has vigor . . .)

-- 
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: best way to open a script-only library stack?

2018-09-17 Thread J. Landman Gay via use-livecode

On 9/17/18 12:49 PM, Curtis Ford via use-livecode wrote:
I'm just getting started with the idea of a library stack for scripts, 
and have a dopey question: what's the best way to edit the library as I 
work on the project?


I've created a script-only stack and included

start using stack "myScriptStack.livecodescript"

in the preOpenStack handler of my main stack.

When I open the main stack, I don't see a way to get to the library 
stack. So I open the library stack through 'recent files' in Livecode, 
but then I see the message "A stack [library stack name] in file [path 
to the main stack file] is already in memory. The LiveCode UI does not 
distinguish stacks which have identical names, so editing these stack 
files while both are in memory could result in data loss."


If this is a real concern, how do I get back to work on the library 
stack? Any suggestions on best practices?


When you start using a script-only stack, LC creates a temporary hidden 
stack in RAM and assigns the script to it. It's there but not visible. 
If you try to open it again as a file, you get a conflict because the 
stack in RAM has no filename per se, so the engine sees it as a duplicate.


The stack should be listed in the Application Browser and probably the 
Project Browser (I didn't look) so you should be able to edit its script 
from there. But what I usually do is look in the "Stacks In Use" pane 
(last icon in the row) of the message box, where you can just click the 
blue rectangle to open the script.


Saving the script will rewrite it to the text file.

--
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: Waaay OT: SUBLEQ

2018-09-17 Thread Tom Glod via use-livecode
thats so awesome. i may never use it but to know its even possible.
thanks for introducing me to this blog Mark.

On Mon, Sep 17, 2018 at 3:29 PM Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Here's a Turing-complete language with one(!) instruction:
>
> http://esoteric.codes/blog/a-programming-language-with-only-one-command-and
>
> --
>   Mark Wieder
>   ahsoftw...@gmail.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


Waaay OT: SUBLEQ

2018-09-17 Thread Mark Wieder via use-livecode

Here's a Turing-complete language with one(!) instruction:

http://esoteric.codes/blog/a-programming-language-with-only-one-command-and

--
 Mark Wieder
 ahsoftw...@gmail.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


Widget ColorPicker_v101

2018-09-17 Thread hh via use-livecode
Just uploaded a (slightly improved) LC 9 version of my
ColorPicker-widget to "Sample Stacks".
Or download widget ColorPicker_v101 from

http://livecodeshare.runrev.com/stack/901

This is a *demo-stack* that has also buttons to install/remove
the the widget.

Examples in the stack (incl. scripts to evaluate the results):

1. Use as non-popup widget, can be hidden and dragged around,
2. Use as popup widget (like a modal dialog).


___
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


best way to open a script-only library stack?

2018-09-17 Thread Curtis Ford via use-livecode
I'm just getting started with the idea of a library stack for scripts, 
and have a dopey question: what's the best way to edit the library as I 
work on the project?


I've created a script-only stack and included

start using stack "myScriptStack.livecodescript"

in the preOpenStack handler of my main stack.

When I open the main stack, I don't see a way to get to the library 
stack. So I open the library stack through 'recent files' in Livecode, 
but then I see the message "A stack [library stack name] in file [path 
to the main stack file] is already in memory. The LiveCode UI does not 
distinguish stacks which have identical names, so editing these stack 
files while both are in memory could result in data loss."


If this is a real concern, how do I get back to work on the library 
stack? Any suggestions on best practices?


Curt

Sent from Postbox 


___
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: Remote Debugger Anomalies

2018-09-17 Thread Trevor DeVore via use-livecode
Yes, it is part of the repo.

https://github.com/trevordevore/levure/tree/master/utils/external_editor_server

-- 
Trevor DeVore
ScreenSteps

On Mon, Sep 17, 2018 at 9:58 AM Sannyasin Brahmanathaswami via use-livecode
 wrote:

> Do you have that "script acting as a server" available in Levure?
>
>
> On 9/17/18 2:31 AM, Trevor DeVore via use-livecode wrote:
> > When working on a project I always work in ST with the LC IDE open. LC
> has
> > a script acting as a server running and ST is the client. ST sends a
> > notification to LC whenever a file is saved and if a stack with a
> matching
> > name/filename exists then the stack script is updated in memory. This has
> > been a very reliable workflow for me.
>
>
>
> ___
> 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.0.1

2018-09-17 Thread Jim MacConnell via use-livecode
Did simple update to 9.0.1 and couldn't test on device(iPhone) . I was very
surprised by this.
"Mobile Support" showed red and the Android SDK path was empty.
Would have been nice to have warning (even though release notes do show
change to 9.4(9/0/1) from 9.2(9.0.0)). Sort of a big change going to an
X.X.1?

Downloaded new xCode (hours!) and added it to "Mobile Support" and was good
to go. Glad I wasn't in a hurry. 
Also, I ended up having to redownload Android Studio (not quite as long but
I didn't hang around). Default install loads API 28 and gives warnings when
trying to link(?). Ended up loading API 26 & 15 before I could repoint to
Android SDK. 

Maybe add a "Required support file upgrades from previous version" note to
the release notes?

Jim

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of panagiotis merakos via use-livecode
Sent: Monday, September 17, 2018 3:16 AM
To: How to use LiveCode
Cc: panagiotis merakos
Subject: Re: [ANN] Release 9.0.1

Hello Alex,

Sorry, I thought I had replied already.

Yes, if you are on MacOS High Sierra you have to use either Xcode 9.4 or
9.4.1. Just make sure the command line tools (Xcode -> Preferences ->
Locations -> Command Line Tools) you use matches the Xcode version.

Best,
Panos
--
___
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: Remote Debugger Anomalies

2018-09-17 Thread Sannyasin Brahmanathaswami via use-livecode
Do you have that "script acting as a server" available in Levure?


On 9/17/18 2:31 AM, Trevor DeVore via use-livecode wrote:
> When working on a project I always work in ST with the LC IDE open. LC has
> a script acting as a server running and ST is the client. ST sends a
> notification to LC whenever a file is saved and if a stack with a matching
> name/filename exists then the stack script is updated in memory. This has
> been a very reliable workflow for me.



___
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: SVG to image

2018-09-17 Thread hh via use-livecode
> Brian wrote:
> I'll need to take your stack/widget and see how what it generates
> compares to conversions from the source svg file (for the Font
> Awesome stuff). Since you are adding back information that was
> stripped when converting to an icon, my guess is that the results
> should be pretty much the same. 

There ARE changes;
I translate the path to have a bounding box with topleft 0,0 and
use this translated path.
This prevents horizotal and especially vertical offsets (which
is often present and effectively adds unneeded transparency at top).

___
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: Remote Debugger Anomalies

2018-09-17 Thread Trevor DeVore via use-livecode
On Sun, Sep 16, 2018 at 11:54 PM Sannyasin Brahmanathaswami via
use-livecode  wrote:

>
> I suppose Trevor would chime here. If you to switch Sublime text and
> stay away for SE all together, all the problems go away? Because when
> you save the script you know it is in the state of your recent
> modification, confirmed, on disk.
>
> Maybe he could describe how he works.
> He must have IDE open and Sublime text at the same times.
>

I haven't been following the specific details of this thread so I don't
know if using Sublime Text (ST), or other external script editor, would
make the problems go away. It is true that when you save the scripts you
know that your changes are being saved directly to disk.

When working on a project I always work in ST with the LC IDE open. LC has
a script acting as a server running and ST is the client. ST sends a
notification to LC whenever a file is saved and if a stack with a matching
name/filename exists then the stack script is updated in memory. This has
been a very reliable workflow for me.

Now, if I switch branches in my git repo then I close the LC IDE and reopen
it. I don't have anything set up that notifies LC to reload all stacks in a
project when switching branches and there are potentially a number of files
that have been changed on disk.

-- 
Trevor DeVore
ScreenSteps
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


[ANN] This Week in LiveCode 146

2018-09-17 Thread panagiotis merakos 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 #146 here: https://goo.gl/zB6zFc

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.


-- 
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


Calendar Widget again

2018-09-17 Thread Klaus major-k via use-livecode
Hi friends,

thank you very much for all hints and tricks and tips.

Bernd, yes teh famous BN :-), contacted me offlist and supplied
a compiled for LC 9 version of his enhanced calendar widget, 
which is also usable for non-english users (weekStartsOn -> monday!).

Thank you, Bernd, very, very useful!


Best

Klaus
--
Klaus Major
http://www.major-k.de
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: [ANN] Release 9.0.1

2018-09-17 Thread panagiotis merakos via use-livecode
Hello Alex,

Sorry, I thought I had replied already.

Yes, if you are on MacOS High Sierra you have to use either Xcode 9.4 or
9.4.1. Just make sure the command line tools (Xcode -> Preferences ->
Locations -> Command Line Tools) you use matches the Xcode version.

Best,
Panos
--
___
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: SVG to image

2018-09-17 Thread Klaus major-k via use-livecode
Hi Brian,

> Am 17.09.2018 um 06:06 schrieb Brian Milby via use-livecode 
> :
> 
> Jonathan's stack is very cool.  I wasn't minimizing the work in the engine
> though, just pointing out that particular images would need to be tested to
> see which method provides the needed results.  There can be significant
> differences in the object size depending on which version is used (path,
> full SVG, compiled SVG) - and it isn't always what you would expect.  Most
> of the time, the compiled SVG is the smallest and since support is built
> into the engine it would be a good choice where the particular image
> supports it.
> 
> I'll need to take your stack/widget and see how what it generates compares
> to conversions from the source svg file (for the Font Awesome stuff).
> Since you are adding back information that was stripped when converting to
> an icon, my guess is that the results should be pretty much the same.
> 
> @Klaus - have you thought about just using the svg icon widget instead of a
> button?  I've done that in my SvgIconTool stack and used a behavior to make
> it behave somewhat like a button would (hilite on mouseDown, etc.).

sometimes I don't need a workaround but just an answer to what I am asking.
And this has already been answered some esoteric replies ago. :-)

Thank you!

> Brian
> 
> On Sun, Sep 16, 2018 at 7:25 PM hh via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> BoundingBox widget / Compile iconPath to image
>> 
>> 
>> The real point that came up here is how to get the bounding
>> box of an SVG path that is used as iconPath of the svgIcon
>> widget. With that it is simple to prepare the path as input
>> for drawingSVGcompile.
>> 
>> I wrote this evening a widget that computes the bounding box.
>> 
>> A demo stack, incl. an installer button for this "BB widget",
>> shows the 35 lines of script (incl. the SVG template) needed
>> to do the steps for "compile iconPath to image" described
>> above. See
>> 
>> http://livecodeshare.runrev.com/stack/900
>> 
>> Conversion via JavaScript is of course (currently) better as
>> drawingSVGCompile. Jonathan Lynch showed this technique to
>> the community before a year or so, and there are some stacks
>> on "Sample Stacks/revOnline" that use this technique.
>> 
>> DrawingSVGCompile is (as Mark wrote) still beta.
>> On the other hand it does a pretty good job with complicated
>> but not-too-complex SVGs, e.g. the "postscript-tiger".

Best

Klaus

--
Klaus Major
http://www.major-k.de
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