Re: [OT-ish] WWDC things of interest

2016-06-13 Thread Mark Smith
Colin Holgate-3 wrote
> The most interesting thing that was shown overlaps somewhat with what
> LiveCode is good for. Apple have a new app coming, called Swift
> Playgrounds. It’s free, and it’s meant for people learning programming.
> Here’s the info page on it:
> 
> http://www.apple.com/swift/playgrounds/

Interesting, indeed!!



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/OT-ish-WWDC-things-of-interest-tp4705724p4705735.html
Sent from the Revolution - User mailing list archive at Nabble.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: jsonExport problem

2016-06-13 Thread Terry Judd
Hi Dar - yeah, I wondered about that but the problem elements contain text
or a mix of text and numbers so they really should be ok to start with.
The weird thing is that I have two apps, which are essentially versions of
the same project. Both use similar data files as input and both use
jsonExport() to output. One throws a wobbly on certain elements and the
other doesn’t. It’s got me.

Terry...

On 14/06/2016 11:32 am, "use-livecode on behalf of Dar Scott"
 wrote:

>
>> On Jun 13, 2016, at 6:34 PM, Terry Judd 
>>wrote:
>> 
>> If I go through all of the array elements in turn it is possible to
>> identify the problem ones and I can Œfix¹ each of them by doing this...
>> 
>> put empty after tData[]
>> 
>> ...after which jsonExport() runs just fine.
>
>Maybe I'm just stating the obvious--since you have this solution, you
>probably know.  But just in case...
>
>This will turn a number into a string.  it does it using the numberFormat
>at the time and place of the 'put empty after'.
>
>I'm guessing jsonExport() is gagging on the result of arithmetic.
>
>Dar
>
>
>___
>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: jsonExport problem

2016-06-13 Thread Dar Scott

> On Jun 13, 2016, at 6:34 PM, Terry Judd  wrote:
> 
> If I go through all of the array elements in turn it is possible to
> identify the problem ones and I can Œfix¹ each of them by doing this...
> 
> put empty after tData[]
> 
> ...after which jsonExport() runs just fine.

Maybe I'm just stating the obvious--since you have this solution, you probably 
know.  But just in case...

This will turn a number into a string.  it does it using the numberFormat at 
the time and place of the 'put empty after'.  

I'm guessing jsonExport() is gagging on the result of arithmetic.  

Dar


___
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


jsonExport problem

2016-06-13 Thread Terry Judd
I¹m running into problems exporting a large multidimensional array to JSON
using the jsonExport function in LC8. I¹ve been doing this successfully
with other large datasets for a while now but there are particular
elements in my current array that cause an error something like the
following in the script editor...

card "":  execution error at line  (extension: error
occurred with domain) near ³runtime", char 8

...in response to the following...

put jsonExport(tData) into tJsonData

If I go through all of the array elements in turn it is possible to
identify the problem ones and I can Œfix¹ each of them by doing this...

put empty after tData[]

...after which jsonExport() runs just fine.

The problem data was originally sourced from another array that was
populated from a series of xml files using Trevor¹s library for converting
xml data to an array (specifying UTF-8 encoding during the conversion).

Any ideas on what might be going on? Like I mentioned, I can Œfix' the
data before exporting it but that¹s probably not a long term solution.

Regards,

Terry...

Terry Judd  | Senior Lecturer in Medical Education
Department of Medical Education

The University of Melbourne 
E: terry.j...@unimelb.edu.au 
Publications 



___
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: LC8 - Stumbling into JSON

2016-06-13 Thread Mark Wieder
Peter W A Wood  writes:

> Wouldn’t an XML purist come up with the following, making it much more time 
consuming to process?

Yes, I was by no means suggesting doing this in xml.
Just a hint as to meaning in case the json format was inscrutable.
I think xml is only slightly more readable than csv.
Or perl.

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

Re: LC8 - Stumbling into JSON

2016-06-13 Thread Peter W A Wood
Mark 

> On 14 Jun 2016, at 07:19, Mark Wieder  wrote:
> 
> And just FYI, for comparison the xml translation of that would be
> 
> 
>  
>18.75
>kg/m@2
>  
>  
>2
>75
>  
> 
> 

Wouldn’t an XML purist come up with the following, making it much more time 
consuming to process?


 
   18.75
 
 
   2
   75
 


Regards

Peter



___
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: [OT-ish] WWDC things of interest

2016-06-13 Thread Mark Wieder
Colin Holgate  writes:

> 
> 999 in Hong Kong (and the UK).
> 
> > On Jun 13, 2016, at 7:07 PM, Mark Wieder wrote:
> > 
> > (and you'll now be able to accidentally dial 911 from your watch)

It's a joke in your town.

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


Re: LC8 - Stumbling into JSON

2016-06-13 Thread Mark Wieder
Sannyasin Brahmanathaswami  writes:

> http://api.clinicalcalculator.org/bmi?height_in_m=1.778_in_kg=68
> 
> returns a 2 dimensional array, 2  elements, each of which contains 2 elements
> 
> {"result":
> {"value":18.75,
> "units":"kg/m^2"
> },
> "request_fields":
> {"height_in_m":"2",
> "weight_in_kg":"75"
>  }
> }
> 
> Graham wrote: "Where did the names ‘result’ and ‘value’ come from?"
> 
> They came from the first JSON name/value pair
> Hope that helps

And just FYI, for comparison the xml translation of that would be


  
18.75
kg/m@2
  
  
2
75
  


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

Re: [OT-ish] WWDC things of interest

2016-06-13 Thread Colin Holgate
999 in Hong Kong (and the UK).


> On Jun 13, 2016, at 7:07 PM, Mark Wieder  wrote:
> 
> Colin Holgate  writes:
> 
>> 
>> The start of Apple’s WWDC was today. They announced a bunch of things.
>> One of those was a rename to the OS, to be macOS instead of OS X , and
>> they released the next version to developers (10.12 codename Sierra). I’m
>> running that already!
> 
> Also, they're opening up the Siri and messaging apis to developers.
> 
> (and you'll now be able to accidentally dial 911 from your watch)
> 
> -- 
> 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

Re: [OT-ish] WWDC things of interest

2016-06-13 Thread Mark Wieder
Colin Holgate  writes:

> 
> The start of Apple’s WWDC was today. They announced a bunch of things.
> One of those was a rename to the OS, to be macOS instead of OS X , and
> they released the next version to developers (10.12 codename Sierra). I’m
> running that already!

Also, they're opening up the Siri and messaging apis to developers.

(and you'll now be able to accidentally dial 911 from your watch)

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

Re: 'Coordinate' syntax

2016-06-13 Thread Mark Wieder
Graham Samuel  writes:

> Funny, I never noticed, after all these years…

...and if you find that surprising, you'll love the fact that you can
also do that with return values:

-- returns 100,200
function myPoint
  local x, y

  put 100 into x
  put 200 into y
  return x, y
end myPoint

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

[OT-ish] WWDC things of interest

2016-06-13 Thread Colin Holgate
The start of Apple’s WWDC was today. They announced a bunch of things. One of 
those was a rename to the OS, to be macOS instead of OS X , and they released 
the next version to developers (10.12 codename Sierra). I’m running that 
already!

I tested LiveCodes 5, 6, 7,and 8, and all seem to open ok.

The most interesting thing that was shown overlaps somewhat with what LiveCode 
is good for. Apple have a new app coming, called Swift Playgrounds. It’s free, 
and it’s meant for people learning programming. Here’s the info page on it:

http://www.apple.com/swift/playgrounds/



___
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: LC8 - Stumbling into JSON

2016-06-13 Thread Sannyasin Brahmanathaswami
Not to trivialize the opacity of these things, but I used to resist JSON, but 
actually you can learn it in 10 minutes

http://json.org/

It's actually much easier to grok in some ways than XML and now I prefer it to 
XML

Sure there are deeper, more complex levels, but at a very simple level:

This is json

fruitColors {
"apples":"red",
"oranges": "orange",
"bananas","yellow"
}

So LC will return this as an array

put fruitColors["apples']

# you will get value "red"

For this BMI calculator, that's all JSON you need to know.

http://api.clinicalcalculator.org/bmi?height_in_m=1.778_in_kg=68

returns a 2 dimensional array, 2  elements, each of which contains 2 elements

{"result":
{"value":18.75,
"units":"kg/m^2"
},
"request_fields":
{"height_in_m":"2",
"weight_in_kg":"75"
 }
}

Graham wrote: "Where did the names ‘result’ and ‘value’ come from?"

They came from the first JSON name/value pair
Hope that helps

BR




From: use-livecode  on behalf of Graham 
Samuel 
Reply-To: How LiveCode 
Date: Monday, June 13, 2016 at 12:08 PM
To: How LiveCode 
Subject: LC8 - Stumbling into JSON

Sorry to be a pain, but again in the BMI example for LC 8 there is this 
function:

function getBMI pHeight, pWeight
put "http://api.clinicalcalculator.org/bmi?; &  "height_in_m=" & pHeight & 
"_in_kg=" & pWeight into tURL
put url tURL into tJSON
put JsonImport(tJSON) into tArray
return round(tArray["result"]["value"])
end getBMI

Knowing nothing about JSON, I find this confusing to say the least. I see that 
the JsonImport uses a URL to get some value(s) based on parameters incorporated 
in the URL, but what am I to make of the ‘return’ statement? I mean what do the 
bits in square brackets mean? Where did the names ‘result’ and ‘value’ come 
from? How would one know the spec of the result returned by a particular 
‘JsonImport’ invocation? Are there libraries of these things, or what? How much 
JavaScript will I have to know to use this kind of functionality?

Feeling stupid.

Graham



___
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

LC8 - Stumbling into JSON

2016-06-13 Thread Graham Samuel
Sorry to be a pain, but again in the BMI example for LC 8 there is this 
function:

function getBMI pHeight, pWeight
put "http://api.clinicalcalculator.org/bmi?; &  "height_in_m=" & pHeight & 
"_in_kg=" & pWeight into tURL
put url tURL into tJSON
put JsonImport(tJSON) into tArray
return round(tArray["result"]["value"])
end getBMI

Knowing nothing about JSON, I find this confusing to say the least. I see that 
the JsonImport uses a URL to get some value(s) based on parameters incorporated 
in the URL, but what am I to make of the ‘return’ statement? I mean what do the 
bits in square brackets mean? Where did the names ‘result’ and ‘value’ come 
from? How would one know the spec of the result returned by a particular 
‘JsonImport’ invocation? Are there libraries of these things, or what? How much 
JavaScript will I have to know to use this kind of functionality?

Feeling stupid.

Graham



___
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: 'Coordinate' syntax

2016-06-13 Thread Graham Samuel
Funny, I never noticed, after all these years…

Thanks, clarified.

Graham

> On 13 Jun 2016, at 23:46, Dar Scott  wrote:
> 
> The comma is an infix string concatenation operator much like & and &&.  
> 
> a,b 
> is the same as 
> a & comma & b
> 
> Pretty handy.  
> 
> This can get you into trouble if you accidentally put parentheses around 
> command parameters.  You end up with one argument, a comma separated list.  
> The compiler doesn't catch it because it is valid.  
> 
> Dar
> 
> 
>> On Jun 13, 2016, at 3:34 PM, Graham Samuel  wrote:
>> 
>> In the BMI example which introduces LC 8, there occurs this line of script:
>> 
>> put the cHeight of this stack, the cWeight of this stack into tCoordinates
>> 
>> This has the effect of putting two values (the values of the two custom 
>> props) separated by a comma into the variable ‘tCoordinates’. I was 
>> surprised by this. Has it always been legal to do this kind of thing without 
>> an overt string expression? I would have expected to have to do
>> 
>> put (the cHeight of this stack) & ”,” & (the cWeight of this stack) into 
>> tCoordinates
>> 
>> I don’t see in the first version how LC ‘knows’ that the separating comma is 
>> legitimate.
>> 
>> Is everyone else OK with this?
>> 
>> Graham
>> 
>> 
>> ___
>> 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: 'Coordinate' syntax

2016-06-13 Thread Dar Scott
The comma is an infix string concatenation operator much like & and &&.  

a,b 
is the same as 
a & comma & b

Pretty handy.  

This can get you into trouble if you accidentally put parentheses around 
command parameters.  You end up with one argument, a comma separated list.  The 
compiler doesn't catch it because it is valid.  

Dar


> On Jun 13, 2016, at 3:34 PM, Graham Samuel  wrote:
> 
> In the BMI example which introduces LC 8, there occurs this line of script:
> 
>  put the cHeight of this stack, the cWeight of this stack into tCoordinates
> 
> This has the effect of putting two values (the values of the two custom 
> props) separated by a comma into the variable ‘tCoordinates’. I was surprised 
> by this. Has it always been legal to do this kind of thing without an overt 
> string expression? I would have expected to have to do
> 
>  put (the cHeight of this stack) & ”,” & (the cWeight of this stack) into 
> tCoordinates
> 
> I don’t see in the first version how LC ‘knows’ that the separating comma is 
> legitimate.
> 
> Is everyone else OK with this?
> 
> Graham
> 
> 
> ___
> 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

'Coordinate' syntax

2016-06-13 Thread Graham Samuel
In the BMI example which introduces LC 8, there occurs this line of script:

  put the cHeight of this stack, the cWeight of this stack into tCoordinates

This has the effect of putting two values (the values of the two custom props) 
separated by a comma into the variable ‘tCoordinates’. I was surprised by this. 
Has it always been legal to do this kind of thing without an overt string 
expression? I would have expected to have to do

  put (the cHeight of this stack) & ”,” & (the cWeight of this stack) into 
tCoordinates

I don’t see in the first version how LC ‘knows’ that the separating comma is 
legitimate.

Is everyone else OK with this?

Graham


___
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: Need Help With String Pattern Matching

2016-06-13 Thread Gregory Lypny
Hello Quentin,

Thank you for the tips on string pattern matching. I’m used to Mathematica’s 
string pattern syntax, which is probably built on regex, but I can see the 
similarities in your nice examples, particularly the using of alternatives 
[Joe|Anges]. While Mathematica’s string functions are insanely extensive and 
their implementation far more powerful that those in LiveCode, they can become 
arbitrarily slow if used repeatedly in loops, and unfortunately, my procedure 
requires repeating the functions over tens of thousands of files. That is why I 
want to build an alternative procedure in LiveCode.

Thanks again,

Gregory
___
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: Problem with Player on Windows

2016-06-13 Thread Sannyasin Brahmanathaswami
I have been using the player for "decades" on mac and windows for audio only by 
locking the height to ~20 pixels and it has always been visible regardless of 
whether it has a filename or not. It also appears in 8 on mac.

Let's see if it does better with the new player for windows in 8.1 otherwise 
will submit a bug report


BR

Swasti Astu! Be Well

( from my mobile )




On Sun, Jun 12, 2016 at 4:22 PM -1000, "J. Landman Gay" 
> wrote:

On 6/12/2016 7:59 PM, Sannyasin Brahmanathaswami wrote:
> if we removed the filename from the player, in the inspector  then
> strange things happen.
>
> The player disappears from the screen, but it's vis prop is still
> true!  If you select it in the Project Browser, it appears on the
> card with dotted line around it but no player inside.

I suspect that without a filename, there is no size to calculate. So
it's visible but has no width or length.

--
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: Modal stack on third screen

2016-06-13 Thread Mike Bonner
add a preopenstack handler to the stack you're going to modal and set its
location there.

You should be able to use the loc of your manstack to set its position.

On Mon, Jun 13, 2016 at 10:38 AM, Skip Kimpel  wrote:

> How can I open a modal stack on a different screen.  For instance, I have
> two screens.  I want the modal stack that I initiate from my main
> standalone to open on the same screen that I have moved my main standalone
> to?
>
> Currently, if I launch my main application on screen one, move it over to
> screen two and I initiate the modal stack, it appears back in the middle of
> screen one.
>
> Make sense?
>
> SKIP
> ___
> 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 and webviews

2016-06-13 Thread Richard Gaskin

Alex Tweedly wrote:

> On 13/06/2016 17:16, Richard Gaskin wrote:
>> Lyn Teyla wrote:
>>
>> > You can create any sort of polished UI that can be accomplished
>> > using web views, and use Angular, Bootstrap, and other established
>> > web-based UI frameworks to speed up the process.
>> >
>> > You can place your UI code on a server and update it on the fly.
>>
>> We can do that with downloadable stacks now.
>
> Unless we are on IOS ??

Apple's current policy is not entirely clear on this, and the company 
reserves the right to change policies at any time.  As we saw with iOS 
SDK v4 Section 3.3.1, they have demonstrated a willingness to introduce 
unexpected changes, even those that cause significant loss across many 
segments of the developer community, so there's no way to rely on any 
specific Apple policy when making business plans.


As for the moment, my understanding of the current policy is to try to 
prevent approving an app that later morphs itself into something else.


If a downloaded stack file contains no LiveCode Script, it should in all 
fairness be given the same allowance any other binary data for being 
downloadable for use in the application.


With behaviors this is relatively straightforward, allowing developers 
to extend an application's content and provide additional functionality, 
perhaps even using Apple's in-app purchasing where appropriate.


For stack files that contain code, there does appear to be a restriction 
on those, but it's unclear how well it's enforced or if they'd even care 
given how LC Script can't operate outside the sandboxed bounds of the LC 
engine embedded in the app that was approved.


Still, it may be prudent for those concerned about the possibility of 
having an app pulled to take on the additional expense and delayed 
update time for your users by bundling new code into an entirely new app 
build for that one OS.


--
 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: LC and webviews

2016-06-13 Thread Alex Tweedly



On 13/06/2016 17:16, Richard Gaskin wrote:

Lyn Teyla wrote:

> You can create any sort of polished UI that can be accomplished using
> web views, and use Angular, Bootstrap, and other established
> web-based UI frameworks to speed up the process.
>
> You can place your UI code on a server and update it on the fly.

We can do that with downloadable stacks now. 
Unless we are on IOS ?? Presumably, there is no such restriction on 
webviews.
Most apps I've built for the last few years live on a server, with the 
standalone containing only enough code to know where to download the 
first one.


But as for the benefits of JS/HTML/CSS, yes and double-yes.

Fully-native apps are great for when you need access to hardware 
features not supported in the browser.


But those are relatively few, and once you become proficient with 
frameworks like Angular a whole new world opens up where you can 
choose between native apps, Web apps, or a mix of either, depending on 
the needs of the project at hand.





___
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: csvToText Repository

2016-06-13 Thread Alex Tweedly

Sorry, Paul - I suspect I had seen that before, but forgotten it.

It was a good idea back then, and still is :-)


Though, if we are going to add some form of "with colkeys", I believe 
there should be a version which says that the first line of the input 
contains the column keys; thus you could do


Split X indexed using cr and tab with colKeys tColumns  and tColumns 
contains the column keys

or simply
Split X indexed using cr and tab with colKeys and the first line of X 
contains the column keys (and line 1 is omitted from the results)


If no-one tells me that's crazy (and why), I'll go add that to the 
feature request.


Alex.




On 13/06/2016 14:10, Paul Dupuis wrote:

On 6/13/2016 7:45 AM, Alex Tweedly wrote:

Perhaps a more general feature requests would be to extend the 'split'
command, so that it would parse by Primary and Secondary delimiters
into numerically indexed arrays ?  (using a new optional keyword
"completely" ... :-)

See http://quality.livecode.com/show_bug.cgi?id=9950

___
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: Has anyone got to the end of the BMI Calculator example?

2016-06-13 Thread Graham Samuel
Just to let anyone interested know, the BMI example works a LOT better on LC 
8.0.2 rc-1. There are still a few glitches, and I still had to press ‘fast 
forward’ once. But I did complete the example. It leaves me with many questions 
about widgets and what seems to me new syntax, and indeed how to read the 
dictionary, but at least it can be done!

I have added a bit more to my earlier comments for bug 17830.

Graham

PS I am officially overweight!
___
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

Modal stack on third screen

2016-06-13 Thread Skip Kimpel
How can I open a modal stack on a different screen.  For instance, I have
two screens.  I want the modal stack that I initiate from my main
standalone to open on the same screen that I have moved my main standalone
to?

Currently, if I launch my main application on screen one, move it over to
screen two and I initiate the modal stack, it appears back in the middle of
screen one.

Make sense?

SKIP
___
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 and webviews

2016-06-13 Thread Richard Gaskin

Lyn Teyla wrote:

> You can create any sort of polished UI that can be accomplished using
> web views, and use Angular, Bootstrap, and other established
> web-based UI frameworks to speed up the process.
>
> You can place your UI code on a server and update it on the fly.

We can do that with downloadable stacks now. Most apps I've built for 
the last few years live on a server, with the standalone containing only 
enough code to know where to download the first one.


But as for the benefits of JS/HTML/CSS, yes and double-yes.

Fully-native apps are great for when you need access to hardware 
features not supported in the browser.


But those are relatively few, and once you become proficient with 
frameworks like Angular a whole new world opens up where you can choose 
between native apps, Web apps, or a mix of either, depending on the 
needs of the project at hand.


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


8.1.0 DP releases [was: Release 8.0.2 RC-2]

2016-06-13 Thread Peter TB Brett



On 13/06/2016 17:10, Richard Gaskin wrote:

panagiotis merakos wrote:

We are pleased to announce the release of LiveCode 8.0.2 RC-2.


Thanks for that.

For those of us helping to test the latest feature release, any ETA on
v8.1 DP2?


Sometime this week, probably.

We were hoping to release it today, but we realized that we'd forgotten 
to increment the LiveCode Builder bytecode version number.  We need to 
do that before the 8.1.0-dp-2 release because there are some 
non-backward-compatible changes to the bytecode.


Peter

--
Dr Peter Brett 
LiveCode Technical Project Manager

LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/

___
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: csvToText Repository

2016-06-13 Thread Alex Tweedly

I too have a preference for the MIT license.

(Could you also correct the spelling of my name - on Github, you have an 
extra 'e' in Tweedley; Tweedly is enough. Thanks :-)


Alex.


On 13/06/2016 17:08, Richard Gaskin wrote:

Mike Kerner wrote:

> Richard and Alex, do we have a preference for which license to
> release the code under?  Peter was asking, on the dropbox thread,
> that we specify it.

Good idea.  Not only is Github strongly encouraging more explicit 
license declaration, but it's also just a good move to help anyone who 
wants to use the code know how they can do so.


As I wrote earlier, I don't think there's any of my code in there 
anymore, and while some incidental portions may have come from others 
I think that's all Alex Tweedly.


If we were voting I'd suggest MIT License, so Alex continues to retain 
credit for his good work and is absolved from liability, while the 
code could be used in both GPL and proprietary works.


But of course it's up to him to choose a license that he feels 
reflects his own goals and preferences for that.





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

2016-06-13 Thread Richard Gaskin

panagiotis merakos wrote:
> We are pleased to announce the release of LiveCode 8.0.2 RC-2.

Thanks for that.

For those of us helping to test the latest feature release, any ETA on 
v8.1 DP2?


--
 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: csvToText Repository

2016-06-13 Thread Richard Gaskin

Mike Kerner wrote:

> Richard and Alex, do we have a preference for which license to
> release the code under?  Peter was asking, on the dropbox thread,
> that we specify it.

Good idea.  Not only is Github strongly encouraging more explicit 
license declaration, but it's also just a good move to help anyone who 
wants to use the code know how they can do so.


As I wrote earlier, I don't think there's any of my code in there 
anymore, and while some incidental portions may have come from others I 
think that's all Alex Tweedly.


If we were voting I'd suggest MIT License, so Alex continues to retain 
credit for his good work and is absolved from liability, while the code 
could be used in both GPL and proprietary works.


But of course it's up to him to choose a license that he feels reflects 
his own goals and preferences for that.


--
 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: dropbox repositories: phxdropbox v. 1.12 and dropboxapi

2016-06-13 Thread Mike Kerner
Have a look, now.

On Mon, Jun 13, 2016 at 9:54 AM, Mike Kerner 
wrote:

> Good idea, and we will do that, moving forward.  Thanks for the suggestion
> to the git n00b
>
> On Mon, Jun 13, 2016 at 5:11 AM, Peter TB Brett 
> wrote:
>
>>
>>
>> On 10/06/2016 14:52, Mike Kerner wrote:
>>
>>> All,
>>> the latest phxdropbox library is now on my git repository.  Dropbox
>>> changed
>>> an error handling response:
>>> https://github.com/macMikey/phxDropboxLib
>>>
>>
>> Hi Mike,
>>
>> I also recommend making "proper" releases of phxDropboxLib.  If you do
>> that, GitHub will let you add release notes and make it possible for people
>> to download the version of the project as a zip file.
>>
>> https://help.github.com/articles/creating-releases/
>>
>>
>>  Peter
>>
>> --
>> Dr Peter Brett 
>> LiveCode Technical Project Manager
>>
>> LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] This Week in LiveCode 37

2016-06-13 Thread Richard Gaskin

Peter TB Brett wrote:

> 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 #37 here: https://goo.gl/kRiN37
>
> 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!

The 10 most recent community newsletters are also available right in the 
IDE in LiveNet ("RevNet" in versions prior to v8.0) - see Development -> 
Plugins -> GoLiveNet



> With Panos's help I've added two new sections to the 'This Week in
> LiveCode' newsletter.
>
> - The "Bug Report of the Week" showcases one of the most useful or
> most interesting bug reports that we've received recently, with some
> notes on why we thought it was particularly worthy of attention
>
> - The "Help Needed" section is for anyone who's felt like getting
> involved in the LiveCode open source project but has found it hard to
> find a good area to which to contribute.  Each week the newsletter
> will list some interesting tasks of various types and difficulties
> that might be a good starting point.  If you feel like tackling one
> of them, let me know and I'll provide as much support as I can.

Great additions, thanks for adding those.

--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web

ambassa...@fourthworld.com http://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: LC and webviews

2016-06-13 Thread me
I've been using the browser object usefully, but my question was about LC text 
fields which you may have answered, actually.

Best, Jerry

On Jun 13, 2016, 10:31 AM -0500, Earthednet-wp, wrote:
> Lynn,
> Thank you for explaining some of the possibilities of the browser widget.
> 
> I'd sure love to eventually see some simple example stacks showing how to 
> implement some of these features. I'm not a JavaScript programmer, but can 
> generally get by with a new language once I have a "skeleton" app to start 
> with.
> 
> One of my projects involves student writing that includes images and 
> captions. It would be great to be able to format it in a nice looking 
> presentation with nice wrapping around figures, etc. I can think of lots of 
> other uses, especially for materials that may need regular updating.
> 
> Best,
> Bill
> 
> William Prothero
> http://es.earthednet.org
> 
> > On Jun 13, 2016, at 7:40 AM, Lyn Teylawrote:
> > 
> > Jerry Daniels wrote:
> > 
> > > I just read this article about Basecamp's use of webviews in their mobile 
> > > (Android in this case) apps. It got me thinking about LiveCode's 
> > > htmlText. Does it use some sort of CSS? If so, can one be set in its 
> > > stead?
> > 
> > That's exactly the sort of thing the browser widget in LiveCode 8 allows 
> > you to do, and it really opens the door to all sorts of possibilities.
> > 
> > And, it works on all platforms, not just Android.
> > 
> > Once the Windows bug is fixed, it will get even better:
> > 
> > http://quality.livecode.com/show_bug.cgi?id=17633
> > 
> > ;)
> > 
> > In my opinion, the multi-platform browser widget, with the included support 
> > for communication via JavaScript, is one of the most important features the 
> > LiveCode team has implemented, and will allow many more to consider 
> > LiveCode as a possible tool for development and deployment.
> > 
> > You do need to know at least some rudimentary JavaScript (it's easy to pick 
> > up the essentials, though the more you know the better) so you can pass 
> > data back and forth between the browser widget and your LiveCode handlers.
> > 
> > This way, you get to do the bulk of your coding using LiveCode rather than 
> > JavaScript, whilst using one or more browser widgets (a.k.a. "web views") 
> > to handle the UI via HTML, CSS and JavaScript.
> > 
> > You can create any sort of polished UI that can be accomplished using web 
> > views, and use Angular, Bootstrap, and other established web-based UI 
> > frameworks to speed up the process.
> > 
> > You can place your UI code on a server and update it on the fly.
> > 
> > You can create reusable widgets and libraries based on HTML, CSS and/or 
> > JavaScript.
> > 
> > You can tap into the huge repository of existing JavaScript libraries to 
> > shave off chunks of coding time.
> > 
> > You can perform concurrent processing by handing stuff over to JavaScript 
> > in one or more browser widgets.
> > 
> > In short, the browser widget is a brilliant, much-welcomed feature.
> > 
> > Lyn
> > 
> > 
> > 
> > ___
> > 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 ] Release 8.0.2 RC-2

2016-06-13 Thread panagiotis merakos
Dear list members,


We are pleased to announce the release of LiveCode 8.0.2 RC-2.



Getting the Release

===

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



Release Contents



LiveCode 8.0.2 RC-2 contains 3 bug fixes for regressions introduced in
LiveCode 8.0.2 RC-1.



The full release notes are available from:

http://downloads.livecode.com/livecode/8_0_2/LiveCodeNotes-8_0_2_rc_2.pdf




Feedback



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


We have a forum available for discussing LiveCode Builder at

http://forums.livecode.com/viewforum.php?f=93



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: LC and webviews

2016-06-13 Thread Earthednet-wp
Lynn,
Thank you for explaining some of the possibilities of the browser widget.

I'd sure love to eventually see some simple example stacks showing how to 
implement some of these features. I'm not a JavaScript programmer, but can 
generally get by with a new language once I have a "skeleton" app to start with.

One of my projects involves student writing that includes images and captions. 
It would be great to be able to format it in a nice looking presentation with 
nice wrapping around figures, etc. I can think of lots of other uses, 
especially for materials that may need regular updating.

Best,
Bill

William Prothero
http://es.earthednet.org

> On Jun 13, 2016, at 7:40 AM, Lyn Teyla  wrote:
> 
> Jerry Daniels wrote:
> 
>> I just read this article about Basecamp's use of webviews in their mobile 
>> (Android in this case) apps. It got me thinking about LiveCode's htmlText. 
>> Does it use some sort of CSS? If so, can one be set in its stead?
> 
> That's exactly the sort of thing the browser widget in LiveCode 8 allows you 
> to do, and it really opens the door to all sorts of possibilities.
> 
> And, it works on all platforms, not just Android.
> 
> Once the Windows bug is fixed, it will get even better:
> 
> http://quality.livecode.com/show_bug.cgi?id=17633
> 
> ;)
> 
> In my opinion, the multi-platform browser widget, with the included support 
> for communication via JavaScript, is one of the most important features the 
> LiveCode team has implemented, and will allow many more to consider LiveCode 
> as a possible tool for development and deployment.
> 
> You do need to know at least some rudimentary JavaScript (it's easy to pick 
> up the essentials, though the more you know the better) so you can pass data 
> back and forth between the browser widget and your LiveCode handlers.
> 
> This way, you get to do the bulk of your coding using LiveCode rather than 
> JavaScript, whilst using one or more browser widgets (a.k.a. "web views") to 
> handle the UI via HTML, CSS and JavaScript.
> 
> You can create any sort of polished UI that can be accomplished using web 
> views, and use Angular, Bootstrap, and other established web-based UI 
> frameworks to speed up the process.
> 
> You can place your UI code on a server and update it on the fly.
> 
> You can create reusable widgets and libraries based on HTML, CSS and/or 
> JavaScript.
> 
> You can tap into the huge repository of existing JavaScript libraries to 
> shave off chunks of coding time.
> 
> You can perform concurrent processing by handing stuff over to JavaScript in 
> one or more browser widgets.
> 
> In short, the browser widget is a brilliant, much-welcomed feature.
> 
> Lyn
> 
> 
> 
> ___
> 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 and webviews

2016-06-13 Thread Lyn Teyla
Jerry Daniels wrote:

> I just read this article about Basecamp's use of webviews in their mobile 
> (Android in this case) apps. It got me thinking about LiveCode's htmlText. 
> Does it use some sort of CSS? If so, can one be set in its stead?

That's exactly the sort of thing the browser widget in LiveCode 8 allows you to 
do, and it really opens the door to all sorts of possibilities.

And, it works on all platforms, not just Android.

Once the Windows bug is fixed, it will get even better:

http://quality.livecode.com/show_bug.cgi?id=17633

;)

In my opinion, the multi-platform browser widget, with the included support for 
communication via JavaScript, is one of the most important features the 
LiveCode team has implemented, and will allow many more to consider LiveCode as 
a possible tool for development and deployment.

You do need to know at least some rudimentary JavaScript (it's easy to pick up 
the essentials, though the more you know the better) so you can pass data back 
and forth between the browser widget and your LiveCode handlers.

This way, you get to do the bulk of your coding using LiveCode rather than 
JavaScript, whilst using one or more browser widgets (a.k.a. "web views") to 
handle the UI via HTML, CSS and JavaScript.

You can create any sort of polished UI that can be accomplished using web 
views, and use Angular, Bootstrap, and other established web-based UI 
frameworks to speed up the process.

You can place your UI code on a server and update it on the fly.

You can create reusable widgets and libraries based on HTML, CSS and/or 
JavaScript.

You can tap into the huge repository of existing JavaScript libraries to shave 
off chunks of coding time.

You can perform concurrent processing by handing stuff over to JavaScript in 
one or more browser widgets.

In short, the browser widget is a brilliant, much-welcomed feature.

Lyn



___
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: csvToText Repository

2016-06-13 Thread Mike Kerner
Richard and Alex, do we have a preference for which license to release the
code under?  Peter was asking, on the dropbox thread, that we specify it.

On Mon, Jun 13, 2016 at 9:10 AM, Paul Dupuis  wrote:

> On 6/13/2016 7:45 AM, Alex Tweedly wrote:
> > Perhaps a more general feature requests would be to extend the 'split'
> > command, so that it would parse by Primary and Secondary delimiters
> > into numerically indexed arrays ?  (using a new optional keyword
> > "completely" ... :-)
> See http://quality.livecode.com/show_bug.cgi?id=9950
>
> ___
> 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: dropbox repositories: phxdropbox v. 1.12 and dropboxapi

2016-06-13 Thread Mike Kerner
Good idea, and we will do that, moving forward.  Thanks for the suggestion
to the git n00b

On Mon, Jun 13, 2016 at 5:11 AM, Peter TB Brett 
wrote:

>
>
> On 10/06/2016 14:52, Mike Kerner wrote:
>
>> All,
>> the latest phxdropbox library is now on my git repository.  Dropbox
>> changed
>> an error handling response:
>> https://github.com/macMikey/phxDropboxLib
>>
>
> Hi Mike,
>
> I also recommend making "proper" releases of phxDropboxLib.  If you do
> that, GitHub will let you add release notes and make it possible for people
> to download the version of the project as a zip file.
>
> https://help.github.com/articles/creating-releases/
>
>
>  Peter
>
> --
> Dr Peter Brett 
> LiveCode Technical Project Manager
>
> LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/
>
> ___
> 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: csvToText Repository

2016-06-13 Thread Paul Dupuis
On 6/13/2016 7:45 AM, Alex Tweedly wrote:
> Perhaps a more general feature requests would be to extend the 'split'
> command, so that it would parse by Primary and Secondary delimiters
> into numerically indexed arrays ?  (using a new optional keyword
> "completely" ... :-)
See http://quality.livecode.com/show_bug.cgi?id=9950

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


New sections for This Week in LiveCode

2016-06-13 Thread Peter TB Brett

Hi everyone,

With Panos's help I've added two new sections to the 'This Week in 
LiveCode' newsletter.


- The "Bug Report of the Week" showcases one of the most useful or most 
interesting bug reports that we've received recently, with some notes on 
why we thought it was particularly worthy of attention


- The "Help Needed" section is for anyone who's felt like getting 
involved in the LiveCode open source project but has found it hard to 
find a good area to which to contribute.  Each week the newsletter will 
list some interesting tasks of various types and difficulties that might 
be a good starting point.  If you feel like tackling one of them, let me 
know and I'll provide as much support as I can.


Peter

--
Dr Peter Brett 
LiveCode Technical Project Manager

LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/

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

2016-06-13 Thread Peter TB Brett

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 #37 here: https://goo.gl/kRiN37


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!


Are you doing something interesting with LiveCode Community Edition? 
Please get in touch and get it featured in "This Week in LiveCode"!


 Peter

--
Dr Peter Brett 
LiveCode Technical Project Manager

LiveCode on reddit: https://reddit.com/r/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: csvToText Repository

2016-06-13 Thread Alex Tweedly
"into an array"  in what  way ?presumably a numerically indexed 
array.


Perhaps a more general feature requests would be to extend the 'split' 
command, so that it would parse by Primary and Secondary delimiters into 
numerically indexed arrays ?  (using a new optional keyword "completely" 
... :-)


e.g. split completely myVar by CR and TAB

would take a variable (such as the output from csvtotext) containing
John  smith
betty  boop

into

myVar[1][1] = John
myVar[1][2] = smith
myVar[2][1] = betty
myVar[2][2] = boop


then we could simply do
   put csvToText(myCSVFileContent) into myText
   split completely myText by CR and TAB

Of course, that can be done in a simple (untested) script
put 0 into lCount
repeat for each line L in myText
  add 1 to lCount
  put 0 into iCount
  repeat for each item I in L
add 1 to iCount
put I into myArray[lCount][iCount]
  end repeat
end repeat

but having it done as part of the split command would be much faster 
(and would just feel right to me :-)


-- Alex.


On 13/06/2016 10:06, Peter TB Brett wrote:



On 10/06/2016 14:53, Mike Kerner wrote:

As far as I know, the latest/greatest code for converting csv to text is
now on my git repository:
https://github.com/macMikey/csvToText


This is great!

Can I make a feature request to parse CSV data into an array?

 Peter





___
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 and webviews

2016-06-13 Thread me
I just read this article about Basecamp's use of webviews in their mobile 
(Android in this case) apps. It got me thinking about LiveCode's htmlText. Does 
it use some sort of CSS? If so, can one be set in its stead?

Link to webviews article: 
https://m.signalvnoise.com/debunking-android-myths-webviews-suck-so-make-everything-native-cea5f8a8db87#.8c54ftec5

Best, Jerry
___
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: dropbox repositories: phxdropbox v. 1.12 and dropboxapi

2016-06-13 Thread Peter TB Brett



On 10/06/2016 14:52, Mike Kerner wrote:

All,
the latest phxdropbox library is now on my git repository.  Dropbox changed
an error handling response:
https://github.com/macMikey/phxDropboxLib


Hi Mike,

I also recommend making "proper" releases of phxDropboxLib.  If you do 
that, GitHub will let you add release notes and make it possible for 
people to download the version of the project as a zip file.


https://help.github.com/articles/creating-releases/

 Peter

--
Dr Peter Brett 
LiveCode Technical Project Manager

LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/

___
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: dropbox repositories: phxdropbox v. 1.12 and dropboxapi

2016-06-13 Thread Peter TB Brett



On 10/06/2016 14:52, Mike Kerner wrote:

All,
the latest phxdropbox library is now on my git repository.  Dropbox changed
an error handling response:
https://github.com/macMikey/phxDropboxLib


Also, I'm going to keep/maintain Gerard's dropbox api v2 while I work on
improving it:
https://github.com/macMikey/dropboxapi_v2


Hi Mike,

Can you please add "LICENSE.md" files to each of these repositories?  It 
makes it much clearer what license applies to each without having to 
grub around in the source code.  Thanks!


   Peter

--
Dr Peter Brett 
LiveCode Technical Project Manager

LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/

___
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: csvToText Repository

2016-06-13 Thread Peter TB Brett



On 10/06/2016 14:53, Mike Kerner wrote:

As far as I know, the latest/greatest code for converting csv to text is
now on my git repository:
https://github.com/macMikey/csvToText


This is great!

Can I make a feature request to parse CSV data into an array?

 Peter


--
Dr Peter Brett 
LiveCode Technical Project Manager

LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/

___
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