Re: Release 6.7.7 RC 3 / 7.1.0 RC 2

2015-09-06 Thread Dr. Hawkins
On Sun, Sep 6, 2015 at 7:32 PM, Brahmanathaswami  wrote:

> Dr. Hawkins wrote:
>
>> Focus is*STILL*  broken when a window opens on the second screen  . . .
>>   really???
>>
> Oh... I was wondering about what was going on. move a stack to second
> screen, all buttons are none responsive. What is your QA ticket number for
> this bug? I will confirm it..
>

I dunno; I believe that it was already confirmed before I reported it.'



-- 
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: Release 6.7.7 RC 3 / 7.1.0 RC 2

2015-09-06 Thread Dr. Hawkins
On Sun, Sep 6, 2015 at 8:40 PM, Dr. Hawkins  wrote:

> I dunno; I believe that it was already confirmed before I reported it.'
>

I take that back; it seems to be  bug 15431
 reported b y me, but they
found that the conditions were broader than I reported.




-- 
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: [OT] Atom Text Editor for Script Editiing - First Impressions

2015-09-06 Thread Kay C Lan
On Sun, Sep 6, 2015 at 9:34 AM, Peter Haworth  wrote:

> Thanks, got it working.


You're welcome, but as I said, it's Brahmanatyhaswam, Ali and Trevor that
deserve the thanks.

Alejandro, no idea about NotePad++. I went here:

http://docs.notepad-plus-plus.org/index.php?title=Plugin_Central

but couldn't find anything under LiveCode or Revolution.
___
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: BBEdit/Textwrangler LCM for livescript

2015-09-06 Thread Kay C Lan
On Mon, Sep 7, 2015 at 3:18 AM, Peter Haworth  wrote:

>  it appears that it doesn't recognize
> multiple words in a keyword definition.
>

I note this with Brahmanathaswami's module:



 keywords within quote-delimited strings are
>
colorized but shouldn't be.  I tried using the Open Strings 1 and Close
> Strings 1 set to quote but that had no effect.
>
> Any ideas?
>
> In James module the string pattern is:

String Pattern


In Ali's and Trevors it's:

String Pattern


I think the use of CDATA means you don't use 

When I change James' to Ali's and Trevor's it treats strings correctly.

HTH
___
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: New Coding Challenge added

2015-09-06 Thread Alex Tweedly
I've tried signing up, and have become bored waiting for my registration 
email.


Here's my answer 

on mouseUp
   local tInput
   put fld "FieldIn" into tInput
   if the number of words in tInput <> 2 or \
 word 1 of tInput is not a number or \
 word 2 of tInput is not a number then
  ask "must give 2 numbers"
  exit mouseUp
   end if

   local  tAPrime, tANonPrime

   repeat with i = 2 to word 2 of tInput
  if tANonPrime[i] then next repeat
  if i >= word 1 of tInput then put true into tAPrime[i]
  repeat with j = i+i to word 2 of tInput step i
 put true into tANonPrime[j]
  end repeat
   end repeat

   local tt
   put "The number of primes between" && tInput && "is" && the number 
of lines in the keys of tAPrime & CR into fld "F"

   put the keys of tAPrime  into tt
   sort lines of tt numeric

   put "and they are" & CR & tt after fld "F"


end mouseUp

Alex

On 06/09/2015 20:42, AndyP wrote:

I've added a new question to the LiveCode coding challenge section of my
site.

Determine Pi from an image of a circle

http://2108.co.uk/questions/ 

There has been 1 partial solution to the previous question

Primes between 20 and 700

Anyone feel up to improving on the current solution?



-
Andy Piddock


My software never has bugs. It just develops random features.

Copy the new cloud space, get your free 15GB space now:
Get Copy


Script editor Themer for LC http://2108.co.uk

PointandSee is a FREE simple but full featured under cursor colour picker / 
finder.
http://www.pointandsee.co.uk  - made with LiveCode
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/New-Coding-Challenge-added-tp4696094.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



___
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: Release 6.7.7 RC 3 / 7.1.0 RC 2

2015-09-06 Thread Brahmanathaswami


Dr. Hawkins wrote:

Focus is*STILL*  broken when a window opens on the second screen  . . .
  really???
Oh... I was wondering about what was going on. move a stack to 
second screen, all buttons are none responsive. What is your QA ticket 
number for this bug? I will confirm it..


BR

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


BBEdit/Textwrangler LCM for livescript

2015-09-06 Thread James Hale
Hi,

I have modified Trevor's BBedit language module for livescript to bring it up 
to date with the current docs.
(At least within the limitations of the language modules themselves.)

It is now a Codeless Language Module and should work with the current version 
of these editors.

I have tried it for BBedit and am assuming it will work for TextWrangler

You can get it here

https://dl.dropboxusercontent.com/u/8212901/Livescript.plist 


Please note I haven't added the newer features available in BBEdit V11 as apart 
from working them out it would take a bit more extensive editing of all the 
keywords. If I give it a go I will post the update.

Enjoy

James


___
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: HTML5 "get URL"

2015-09-06 Thread David Bovill
Does it respect CORS headers?

On Thursday, September 3, 2015, Fraser Gordon 
wrote:

>
> On 3 Sep 2015, at 10:02, Rolf Kocherhans  > wrote:
>
> > I am experimenting with the „get URL“ command on a HTML5 WebApp.
> >
> > I can’t get it to work at all :-(
> >
> > The get URL command can be used in 3 ways with file - ftp or
> > http urls, I guess the HTML5 get URL command is not used
> > for ftp or http because the relay on LibURL (just a guess).
> >
> > Therefore I concentrated on the file command to access local files on the
> > Server where I host the WebPage.
> >
> > Example: get URL ("file:" & "/public_html" & "/text.txt")
> >
> > Can anybody help ? I guess I have a problem with not knowing the correct
> > path to the file which I want to import ?
> >
> > Cheers
> > Rolf
>
> Hi Rolf,
>
> “file” URLs won’t work as you expect - the standalone is running in the
> user’s browser, not on the server so it has no access to the server’s
> filesystem. You don’t even have access to the user’s filesystem as browsers
> have security policies in place to prevent it. Instead, the “filesystem”
> that the HTML5 engine sees is empty except for the standalone stack and its
> resources.
>
> You’re right that libURL isn’t being used (as it requires sockets
> support). We currently have a basic in-engine implementation of ‘get url’
> but it only works for http and https URLs. Additionally, because it uses
> the browser’s own HTTP support, it is restricted by the “same-origin”
> policy that browsers use: https://en.wikipedia.org/wiki/Same-origin_policy
> . Basically, only http(s) will work and only for URLs on the same domain.
>
> Fraser
>
> ___
> 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: BBEdit/Textwrangler LCM for livescript

2015-09-06 Thread Peter Haworth
Thanks for this James.

I'm new to using TextWrangler but it appears that it doesn't recognize
multiple words in a keyword definition.  For example "open file" isn't
colored as a keyword, only "file" because it has a separate keyword
definition.  Not sure if there is a way round this other than breaking the
multiple word keywords into separate keyword definitions.

I would also like to learn how to define if/end if, repeat/end repeat, etc
as structures that can be folded.  I tried using the Open Statement Blocks
and Close Statement Blocks keys in the plist to define "if" and "end" as a
statement block but they weren't recognized as foldable.

There are a number of other things that don't seem to be working as far as
colorization.  Strings enclosed in quotes and variables aren't colored per
the Preferences settings, and keywords within quote-delimited strings are
colorized but shouldn't be.  I tried using the Open Strings 1 and Close
Strings 1 set to quote but that had no effect.

Any ideas?

On Sun, Sep 6, 2015 at 7:36 AM James Hale  wrote:

> Hi,
>
> I have modified Trevor's BBedit language module for livescript to bring it
> up to date with the current docs.
> (At least within the limitations of the language modules themselves.)
>
> It is now a Codeless Language Module and should work with the current
> version of these editors.
>
> I have tried it for BBedit and am assuming it will work for TextWrangler
>
> You can get it here
>
> https://dl.dropboxusercontent.com/u/8212901/Livescript.plist <
> https://dl.dropboxusercontent.com/u/8212901/Livescript.plist>
>
> Please note I haven't added the newer features available in BBEdit V11 as
> apart from working them out it would take a bit more extensive editing of
> all the keywords. If I give it a go I will post the update.
>
> Enjoy
>
> James
>
>
> ___
> 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


New Coding Challenge added

2015-09-06 Thread AndyP
I've added a new question to the LiveCode coding challenge section of my
site.

Determine Pi from an image of a circle

http://2108.co.uk/questions/   

There has been 1 partial solution to the previous question

Primes between 20 and 700

Anyone feel up to improving on the current solution?



-
Andy Piddock 


My software never has bugs. It just develops random features. 

Copy the new cloud space, get your free 15GB space now:
Get Copy 


Script editor Themer for LC http://2108.co.uk  

PointandSee is a FREE simple but full featured under cursor colour picker / 
finder.
http://www.pointandsee.co.uk  - made with LiveCode
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/New-Coding-Challenge-added-tp4696094.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