Re: [OT-ish] Updating MacBook from El Capitan to Sierra to install Xcode 8.3+

2017-08-03 Thread Jerry Jensen via use-livecode
As others have said, Sierra (10.12.x) is good old (?) HFS+. High Sierra 
(10.13.x) introduces APFS and is still in developer preview beta.

I have upgraded 8 or so macs to Sierra with few problems. My biggest headache 
was going from 10.12.5 to 10.12.6 on only one machine that got in a fight with 
an ancient hp printer driver kext. That was a B#$^%^ to find. Other than that 
its been smooth. You have already CCC’ed to a fresh drive, so you shouldn’t 
have any rotten bits. CCC is indispensable!
.Jerry

> On Aug 3, 2017, at 12:28 PM, Ralph DiMola via use-livecode 
>  wrote:
> 
> I'm going to do this Friday night and was looking for any advice/tricks to
> make this go smooth(as much as possible). I have read about a few disasters
> online when upgrading from HFS+ to the new APFS file system.


___
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: MouseDown sent to button in group, but MouseUp sent to card

2017-08-03 Thread Dr. Hawkins via use-livecode
On Thu, Aug 3, 2017 at 4:29 PM, Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 08/03/2017 02:58 PM, Dr. Hawkins via use-livecode wrote:
>
> tsk, tsk.
>>
>> Alcohol and math don't mix:  don't drink and derive!
>>
>
> They do, but then you end up with fuzzy logic.
>
> Or the swine and coswine functions, which came when a group at a math
convention, with some help from Bachus, started playing with trigonometry
and the unit square (rather than circle or hyperbola).

It turned out that many of the basic relations shared by trig and h-trig
functions still applied . . .



-- 
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: Taking quotes on building LC external for RethinkDB

2017-08-03 Thread Tom Glod via use-livecode
Hi Bob...  It's a real time dB with push notifications. .. So your
application does not query the dB to be updated...  The updates are pushed
to the clients when there is a change.  So you subscribe to a query.
So it's way more scalable than traditional databases and way easier to
distribute.

On Aug 3, 2017 11:00 AM, "Bob Sneidar via use-livecode" <
use-livecode@lists.runrev.com> wrote:

> I poked around on their web site. What is the advantage of this db over
> other SQL db's? Price? Speed? Ease of config?
>
> Bob S
>
>
> > On Aug 2, 2017, at 14:12 , Tom Glod via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hi folks, my company is currently taking quotes on building an LC
> external
> > to act as a driver for RethinkDB.  I have already submitted a request
> with
> > Monte & Ian over at Livecode, but would like to open it up to everyone
> that
> > has the skill to build the externalI don't really even know if there
> is
> > anyone else.
> >
> > Here are the exact specs.
> >
> > https://www.rethinkdb.com/docs/writing-drivers/
> >
> > The more precise the quote the better.
> >
> > Thanks,
> >
> > Tom
>
>
> ___
> 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: MouseDown sent to button in group, but MouseUp sent to card

2017-08-03 Thread Mark Wieder via use-livecode

On 08/03/2017 02:58 PM, Dr. Hawkins via use-livecode wrote:


tsk, tsk.

Alcohol and math don't mix:  don't drink and derive!


They do, but then you end up with fuzzy logic.

--
 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] Updating MacBook from El Capitan to Sierra to install Xcode 8.3+

2017-08-03 Thread Ralph DiMola via use-livecode
Thanks Monte and The Doctor... I should have explored a little deeper on the 
"High" version.


Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


___
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: MouseDown sent to button in group, but MouseUp sent to card

2017-08-03 Thread Mark Waddingham via use-livecode
Erdős is considered one of the most prolific mathematicians of the 20th century.

His most famous quote is 'a mathematician is a machine for turning coffee into 
theorems'.

He drank a lot of coffee.

He also took a lot of amphetamines.

Warmest Regards,

Mark.

Sent from my iPhone

> On 3 Aug 2017, at 23:23, Bob Sneidar via use-livecode 
>  wrote:
> 
> Now we know how new math came to be. 
> 
> 
>>> On Aug 3, 2017, at 13:53 , Monte Goulding via use-livecode 
>>>  wrote:
>>> 
>>> 
 On 4 Aug 2017, at 6:38 am, hh via use-livecode 
  wrote:
 
 Monte wrote:
 ... G drinking holiday ;-)
>>> 
>>> Practising Geometry & Trigonometry and drinking??
>> 
>> Yeah I know… crazy mathematicians! What can you do.
>> 
>> 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: Hackintosh

2017-08-03 Thread Dr. Hawkins via use-livecode
On Thu, Aug 3, 2017 at 2:35 PM, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

>  The French revolution, the Russian revolution. Point out the
> longest lived totalitarian state that still exists today. They all fall
> eventually
>

Rome, however, took 1,500 years from the beginning of totalitarianism to
final failure--to be replaced by a different totalitarian regime, which
lasted about another 400 years . .  (and was itself not new; that's 400
years past the fall of Constantinople)

-- 
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: MouseDown sent to button in group, but MouseUp sent to card

2017-08-03 Thread Dr. Hawkins via use-livecode
On Thu, Aug 3, 2017 at 1:38 PM, hh via use-livecode <
use-livecode@lists.runrev.com> wrote:

> > Monte wrote:
> > ... G drinking holiday ;-)
>


tsk, tsk.

Alcohol and math don't mix:  don't drink and derive!

[*duck*]

-- 
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: Android device speed

2017-08-03 Thread Jonathan Lynch via use-livecode
I am overthinking this.

A group that is visible but layered under another object would do it. 

1. Turn on accelerated rendering
2. Scroll the group programmatically from top to bottom as many times as 
possible in a quarter second.
3. Adjust the div size based on the number of times it can do the scroll.

I would just need to experiment to determine how the repeat rate relates  to 
app performance.

Sent from my iPhone

> On Aug 3, 2017, at 5:07 PM, jonathandly...@gmail.com wrote:
> 
> It looks like we need to use a combination of requestAnimationFrame and 
> performance.now in JavaScript to test the GPU.
> 
> I would rather test the GPU in LC, but I don't know how to do that without 
> having a visible animation on the screen.
> 
> Sent from my iPhone
> 
>> On Aug 3, 2017, at 9:05 AM, jonathandly...@gmail.com wrote:
>> 
>> Thanks Roger,
>> 
>> In this case, the issue is more with the map presented in a browser widget, 
>> which is less about LC and more about the embedded chrome framework.
>> 
>> I think that my device is not really a high-end android machine, either.
>> 
>> It looks like max-texture-size might be a decent proxy for measuring GPU 
>> power.
>> 
>> 
>> Sent from my iPhone
>> 
>>> On Aug 3, 2017, at 8:36 AM, Roger Eller via use-livecode 
>>>  wrote:
>>> 
>>> I would be more inclined to not say in general "...that Android runs
>>> slower...", but rather "Android runs LiveCode apps slower."
>>> 
>>> There are plenty of Android apps in the Play store that handle large
>>> graphics VERY well on Android.  It may or may not be just how LiveCode
>>> rolls, as an improved experience can be achieved by handling images better
>>> in your code. Breaking them up into grid pieces, and only displaying the
>>> portion that is within the current view is one way.  You can also reduce
>>> the size of PNG files using specialized utilities like TinyPNG.
>>> 
>>> ~Roger
>>> 
>>> On Thu, Aug 3, 2017 at 3:20 AM, J. Landman Gay via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>> 
 Android devices come with a variety of different specifications. The high
 end models will be more capable than low end ones. Depending on
 manufacturer and model, the graphics card will vary in capability and
 available RAM. Screen resolution also makes a difference. I'm using older
 test devices because I figure if it works there it will work on most
 others. But my Samsung S4 runs more slowly than my S5 and they were
 released only a year apart. And my Nexus tablet, which is older than both
 Samsung phones, runs as well or better than either of those, probably
 because it has a lower screen resolution. I'm not sure there's a standard
 you can rely on.
 
 I guess in general you could say that Android runs slower, but it's
 probably because there are so many low cost phones with subsequently less
 processing power. When you get into the higher range phones they can be
 quite acceptable. The same app that lagged on my Samsung ran fine on
 someone else's Pixel.
 
 --
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.com
 
 
 
 
 On August 2, 2017 6:14:06 PM Jonathan Lynch via use-livecode <
 use-livecode@lists.runrev.com> wrote:
 
 Hello everyone,
> 
> I just put my app on a galaxy tab E as a test.
> 
> It is painfully slow, but not just in the LC portion of the app. The map,
> delivered through a browser widget, is also slow.
> 
> So, I used the regular browser (chrome) at the webglearth website. That
> was slow too, although not as bad. I think the main difference was that 
> the
> map div at their website is small, so it takes less processing power.
> 
> I had thought I selected a midlevel Android device that can handle
> moderate amounts of computation.
> 
> In y'alls' experience, are android devices just slow? Do they have
> inferior graphics processors? If you make computationally heavy apps for
> Android, do you just warn users that the app will only work on some 
> devices?
> 
> I want this to work on as many devices as possible, but 3D maps require
> lots of processing.
> 
> Thanks,
> 
> J
> 
> Sent from my iPhone
> ___
> 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: Hackintosh

2017-08-03 Thread Bob Sneidar via use-livecode
One is a difference in kind, the other in degree. 

Bob S


> On Aug 3, 2017, at 10:07 , Richmond Mathewson via use-livecode 
>  wrote:
> 
> Well, if you are aware of that distinction you should be aware of the 
> difference between a law made by a democratically elected body
> and a decree called a "law" made by a non-representative body such as an 
> absolute monarch or an oligarchy.
> 
> R.


___
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: Hackintosh

2017-08-03 Thread Bob Sneidar via use-livecode
 The French revolution, the Russian revolution. Point out the longest 
lived totalitarian state that still exists today. They all fall eventually. 

Bob S


> On Aug 3, 2017, at 10:05 , Richmond Mathewson via use-livecode 
>  wrote:
> 
> Despotic machines are often so efficient (cf. North Korea) that no one could 
> revolt even if they wanted to.
> 
> Cf. The Hungarian Uprising, the Prague Spring in Czechoslovakia, and so on.
> 
> As you have never lived in a totalitarian state you have never had to deal 
> with the reality of that,
> and stating that people either have to "live with their present situation, or 
> to revolt" betrays a singular
> lack of understanding re the nature of totalist states.


___
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: Hackintosh

2017-08-03 Thread Bob Sneidar via use-livecode
There have been lawyers for almost as long as there have been prostitutes. 
Neither is going away anytime soon. 

Bob S


> On Aug 3, 2017, at 05:08 , Roger Eller via use-livecode 
>  wrote:
> 
> This sparked a memory of an old scene in Star Trek
> , where a cryogenically
> preserved man of our time awakens to find that everything has changed.  A
> future where your only goal is to improve yourself for the good of all.  I
> wonder if there will be EULAs in 100 years.  Hmmm...


___
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: Hackintosh

2017-08-03 Thread Bob Sneidar via use-livecode
Wear your kilt. It's easior to pee. 

Bob S

> On Aug 2, 2017, at 14:40 , Mark Waddingham via use-livecode 
>  wrote:
> 
> Indeed - and (if I remember correctly) - one purpose of devils advocate is to 
> ensure the other side justifies its case 'sufficiently' (for some definition 
> of sufficiently - usually a great deal harder when pedanticism kicks in!).
> 
> I'm off to have another G!
> 
> Warmest Regards,
> 
> Mark.


___
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: MouseDown sent to button in group, but MouseUp sent to card

2017-08-03 Thread Bob Sneidar via use-livecode
Now we know how new math came to be. 


> On Aug 3, 2017, at 13:53 , Monte Goulding via use-livecode 
>  wrote:
> 
>> 
>> On 4 Aug 2017, at 6:38 am, hh via use-livecode 
>>  wrote:
>> 
>>> Monte wrote:
>>> ... G drinking holiday ;-)
>> 
>> Practising Geometry & Trigonometry and drinking??
> 
> Yeah I know… crazy mathematicians! What can you do.
> 
> 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: Android device speed

2017-08-03 Thread Jonathan Lynch via use-livecode
It looks like we need to use a combination of requestAnimationFrame and 
performance.now in JavaScript to test the GPU.

I would rather test the GPU in LC, but I don't know how to do that without 
having a visible animation on the screen.

Sent from my iPhone

> On Aug 3, 2017, at 9:05 AM, jonathandly...@gmail.com wrote:
> 
> Thanks Roger,
> 
> In this case, the issue is more with the map presented in a browser widget, 
> which is less about LC and more about the embedded chrome framework.
> 
> I think that my device is not really a high-end android machine, either.
> 
> It looks like max-texture-size might be a decent proxy for measuring GPU 
> power.
> 
> 
> Sent from my iPhone
> 
>> On Aug 3, 2017, at 8:36 AM, Roger Eller via use-livecode 
>>  wrote:
>> 
>> I would be more inclined to not say in general "...that Android runs
>> slower...", but rather "Android runs LiveCode apps slower."
>> 
>> There are plenty of Android apps in the Play store that handle large
>> graphics VERY well on Android.  It may or may not be just how LiveCode
>> rolls, as an improved experience can be achieved by handling images better
>> in your code. Breaking them up into grid pieces, and only displaying the
>> portion that is within the current view is one way.  You can also reduce
>> the size of PNG files using specialized utilities like TinyPNG.
>> 
>> ~Roger
>> 
>> On Thu, Aug 3, 2017 at 3:20 AM, J. Landman Gay via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>>> Android devices come with a variety of different specifications. The high
>>> end models will be more capable than low end ones. Depending on
>>> manufacturer and model, the graphics card will vary in capability and
>>> available RAM. Screen resolution also makes a difference. I'm using older
>>> test devices because I figure if it works there it will work on most
>>> others. But my Samsung S4 runs more slowly than my S5 and they were
>>> released only a year apart. And my Nexus tablet, which is older than both
>>> Samsung phones, runs as well or better than either of those, probably
>>> because it has a lower screen resolution. I'm not sure there's a standard
>>> you can rely on.
>>> 
>>> I guess in general you could say that Android runs slower, but it's
>>> probably because there are so many low cost phones with subsequently less
>>> processing power. When you get into the higher range phones they can be
>>> quite acceptable. The same app that lagged on my Samsung ran fine on
>>> someone else's Pixel.
>>> 
>>> --
>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>> HyperActive Software   | http://www.hyperactivesw.com
>>> 
>>> 
>>> 
>>> 
>>> On August 2, 2017 6:14:06 PM Jonathan Lynch via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> Hello everyone,
 
 I just put my app on a galaxy tab E as a test.
 
 It is painfully slow, but not just in the LC portion of the app. The map,
 delivered through a browser widget, is also slow.
 
 So, I used the regular browser (chrome) at the webglearth website. That
 was slow too, although not as bad. I think the main difference was that the
 map div at their website is small, so it takes less processing power.
 
 I had thought I selected a midlevel Android device that can handle
 moderate amounts of computation.
 
 In y'alls' experience, are android devices just slow? Do they have
 inferior graphics processors? If you make computationally heavy apps for
 Android, do you just warn users that the app will only work on some 
 devices?
 
 I want this to work on as many devices as possible, but 3D maps require
 lots of processing.
 
 Thanks,
 
 J
 
 Sent from my iPhone
 ___
 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: MouseDown sent to button in group, but MouseUp sent to card

2017-08-03 Thread Monte Goulding via use-livecode

> On 4 Aug 2017, at 6:38 am, hh via use-livecode 
>  wrote:
> 
>> Monte wrote:
>> ... G drinking holiday ;-)
> 
> Practising Geometry & Trigonometry and drinking??

Yeah I know… crazy mathematicians! What can you do.

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: MouseDown sent to button in group, but MouseUp sent to card

2017-08-03 Thread hh via use-livecode
> Monte wrote:
> ... G drinking holiday ;-)

Practising Geometry & Trigonometry and drinking??

___
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: MouseDown sent to button in group, but MouseUp sent to card

2017-08-03 Thread Monte Goulding via use-livecode

> On 4 Aug 2017, at 6:16 am, Monte Goulding via use-livecode 
>  wrote:
> 
> They probably should be deprecated.

I have started some internal discussion about this. There’s mouseStillDown as 
well. I think they shouldn’t be in the handler list as they may not be 
deprecated but are certainly not recommended. We will see what Mark thinks when 
he’s back from his G drinking holiday ;-) or not as he seems to be responding 
to lots of things anyway!

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: MouseDown sent to button in group, but MouseUp sent to card

2017-08-03 Thread Dr. Hawkins via use-livecode
On Thu, Aug 3, 2017 at 1:16 PM, Monte Goulding via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> A better mouseWithin would be something like this:
>
> local sMouseWithin = false
>
> on mouseEnter
>put true into sMouseWithin
> end mouseEnter
>

that would take some serious work on mouseEnter and mouseLeave, I think.
I've been finding them "less than reliable" (particularly, mouseEnter seems
to be able to fire in a new group in a way that prevents mouseLeave from
hitting the old when the mouse its moving quickly)

-- 
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-ish] Updating MacBook from El Capitan to Sierra to install Xcode 8.3+

2017-08-03 Thread Dr. Hawkins via use-livecode
On Thu, Aug 3, 2017 at 1:13 PM, Colin Holgate via use-livecode <
use-livecode@lists.runrev.com> wrote:

> It’s High Sierra that has APFS, and I did have major problems in trying
> that. It may be better by now, but when I had to wipe my drive I went back
> to regular HFS+.


I would expect that when downgrading a file system . . . (or any other
change of file system other than one designed as an upgrade-in-place)


> LiveCode seems to be working ok.


I haven't had any particular quirks with it on this MacBook running high
sierra, but I spend most of my time on sierra.  (iCloud drive is
spectacular at keeping my three main machines synchronized!)

-- 
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: MouseDown sent to button in group, but MouseUp sent to card

2017-08-03 Thread Monte Goulding via use-livecode

> On 3 Aug 2017, at 10:54 pm, dunbarx via use-livecode 
>  wrote:
> 
> Note: If there is no mouseWithin handler in the target object's script, no
> mouseWithin message is sent, even if there is a mouseWithin handler in an
> object that's further along the message path.
> 
> Why this should be so is a mystery, but maybe someone from the team will
> chime in.

This is the case with the idle handler as well. These are very inefficient and 
would basically bog down the message path if they traversed the it for every 
object on every cycle. They probably should be deprecated.

A better mouseWithin would be something like this:

local sMouseWithin = false

on mouseEnter
   put true into sMouseWithin
end mouseEnter

on mouseLeave
   put false into sMouseWithin
end mouseLeave

Or just handle mouseMove instead of mouseWithin.

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: [OT-ish] Updating MacBook from El Capitan to Sierra to install Xcode 8.3+

2017-08-03 Thread Colin Holgate via use-livecode
It’s High Sierra that has APFS, and I did have major problems in trying that. 
It may be better by now, but when I had to wipe my drive I went back to regular 
HFS+. LiveCode seems to be working ok.


> On Aug 3, 2017, at 3:28 PM, Ralph DiMola via use-livecode 
>  wrote:
> 
> I'm going to do this Friday night and was looking for any advice/tricks to
> make this go smooth(as much as possible). I have read about a few disasters
> online when upgrading from HFS+ to the new APFS file system.
> 
> 
> 
> I am running a 16gb Early 2011 15" MacBook Pro. I CCC'ed my 1tb drive to a
> new 2tb drive and then installed the 2tb drive in the MacBook . The new 2tb
> drive is working just fine and dandy.
> 
> 
> 
> Any advice would be appreciated.
> 
> Thanks in advance.
> 
> 
> 
> Ralph DiMola
> 
> IT Director
> 
> Evergreen Information Services
> 
> rdim...@evergreeninfo.net


___
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] Updating MacBook from El Capitan to Sierra to install Xcode 8.3+

2017-08-03 Thread Ralph DiMola via use-livecode
I'm going to do this Friday night and was looking for any advice/tricks to
make this go smooth(as much as possible). I have read about a few disasters
online when upgrading from HFS+ to the new APFS file system.

 

I am running a 16gb Early 2011 15" MacBook Pro. I CCC'ed my 1tb drive to a
new 2tb drive and then installed the 2tb drive in the MacBook . The new 2tb
drive is working just fine and dandy.

 

Any advice would be appreciated.

Thanks in advance.

 

Ralph DiMola

IT Director

Evergreen Information Services

rdim...@evergreeninfo.net

 

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


Re: How to remove from a group

2017-08-03 Thread dunbarx via use-livecode
Hi.

You have to relayer after a control actually within the group of interest.
Something like: (Pseudo)

relayer "btnToInsert" after btn "btnWithinGroup"

Craig Newman



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/How-to-remove-from-a-group-tp4717960p4717967.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: How to remove from a group

2017-08-03 Thread Kaveh Bazargan via use-livecode
Sorry Randy. And how do I put an an object into a group? I tried

relayer before group "..."

but it just sends object to the back, not inside the group.

On 3 August 2017 at 18:46, Kaveh Bazargan  wrote:

> Astounding. Works. Thank you. Never had seen relayer!!!
>
> On 3 August 2017 at 18:30, Randy Hengst via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> How about something like this in the button you want to remove from a
>> group…
>> if the first word the owner of me is "Group" then
>>
>> relayer me after the owner of me
>>
>> end if
>>
>>
>>
>> > On Aug 3, 2017, at 11:52 AM, Kaveh Bazargan via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> >
>> > Can't find how to remove a button from a group of buttons. Tried this in
>> > stack script:
>> >
>> > on mouseup
>> >  remove the target from group "presentations"
>> >  grab the target
>> >   end if
>> > end mouseup
>> >
>> > but says object is not in group. Checked it is.
>> >
>> > --
>> > Kaveh Bazargan
>> > Director
>> > River Valley Technologies
>> > @kaveh1000
>> > +44 7771 824 111
>> > www.rivervalleytechnologies.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
>
>
>
>
> --
> Kaveh Bazargan
> Director
> River Valley Technologies
> @kaveh1000
> +44 7771 824 111 <07771%20824111>
> www.rivervalleytechnologies.com
>



-- 
Kaveh Bazargan
Director
River Valley Technologies
@kaveh1000
+44 7771 824 111
www.rivervalleytechnologies.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: How to remove from a group

2017-08-03 Thread Kaveh Bazargan via use-livecode
Astounding. Works. Thank you. Never had seen relayer!!!

On 3 August 2017 at 18:30, Randy Hengst via use-livecode <
use-livecode@lists.runrev.com> wrote:

> How about something like this in the button you want to remove from a
> group…
> if the first word the owner of me is "Group" then
>
> relayer me after the owner of me
>
> end if
>
>
>
> > On Aug 3, 2017, at 11:52 AM, Kaveh Bazargan via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Can't find how to remove a button from a group of buttons. Tried this in
> > stack script:
> >
> > on mouseup
> >  remove the target from group "presentations"
> >  grab the target
> >   end if
> > end mouseup
> >
> > but says object is not in group. Checked it is.
> >
> > --
> > Kaveh Bazargan
> > Director
> > River Valley Technologies
> > @kaveh1000
> > +44 7771 824 111
> > www.rivervalleytechnologies.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




-- 
Kaveh Bazargan
Director
River Valley Technologies
@kaveh1000
+44 7771 824 111
www.rivervalleytechnologies.com
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: How to remove from a group

2017-08-03 Thread Randy Hengst via use-livecode
How about something like this in the button you want to remove from a group…
if the first word the owner of me is "Group" then

relayer me after the owner of me

end if



> On Aug 3, 2017, at 11:52 AM, Kaveh Bazargan via use-livecode 
>  wrote:
> 
> Can't find how to remove a button from a group of buttons. Tried this in
> stack script:
> 
> on mouseup
>  remove the target from group "presentations"
>  grab the target
>   end if
> end mouseup
> 
> but says object is not in group. Checked it is.
> 
> -- 
> Kaveh Bazargan
> Director
> River Valley Technologies
> @kaveh1000
> +44 7771 824 111
> www.rivervalleytechnologies.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: Hackintosh

2017-08-03 Thread Richmond Mathewson via use-livecode
Well, if you are aware of that distinction you should be aware of the 
difference between a law made by a democratically elected body
and a decree called a "law" made by a non-representative body such as an 
absolute monarch or an oligarchy.


R.

On 8/3/17 6:40 pm, Bob Sneidar via use-livecode wrote:

Read C. S. Lewis on the matter of "laws" in these two very different senses. Laws of nature are not 
really laws that we can choose to break them and behave in a manner contrary to them. Laws in this context 
simply means "how things are". Laws in the second sense means "how we as a whole agree we 
ought to act and we agree so vehemently that we have consequences put in place for those who disregard 
them".

Bob S



On Aug 2, 2017, at 14:04 , Mark Waddingham via use-livecode 
 wrote:

Although, I'd point out (because I'm a very pedantic person at times) - that 
there are always rules we can't change such as the rules of nature


___
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: Hackintosh

2017-08-03 Thread Richmond Mathewson via use-livecode



On 8/3/17 6:33 pm, Bob Sneidar via use-livecode wrote:

I don't see it that way. Apple has a choice to adhere to China's laws or no.


Well, money almost always talks louder than either morals or anything else.


  China has a choice to allow the sale of Apple products in their country.


"Vhina" has NO choice at all; the Heads of the Brutal, Repressive 
Communist Party who do NOT

properly represent the population of China have a choice.



The world is full of totalitarian states, and the populations there also have a 
choice: To live with their present situation, or to revolt.


Well, it's a good thing people didn't feel like that during the Second 
World War or
half of us would be living under Hitler's ghost and the other half of us 
would be ash.


Despotic machines are often so efficient (cf. North Korea) that no one 
could revolt even if they wanted to.


Cf. The Hungarian Uprising, the Prague Spring in Czechoslovakia, and so on.

As you have never lived in a totalitarian state you have never had to 
deal with the reality of that,
and stating that people either have to "live with their present 
situation, or to revolt" betrays a singular

lack of understanding re the nature of totalist states.


I suppose despots start out wanting to make the world, or at least their world "a 
better place",


Very rarely; they just want the raw power and the "choccy-bikkies".


  but as I always say, the devil is in the details.

Bob S


Richmond.




On Aug 2, 2017, at 13:07 , Richmond Mathewson via use-livecode 
 wrote:

Apple's EULA may not actually be legal or legally enforcable in a large number 
of territories
where this Use-List is read.

Just seen Tim Cook "sucking the kneecaps" of China's one-party state's leaders and 
blethering anent "adhering to the law" re VPNs.


I, at least, am well aware of what constitutes "a law" and what 
constitutes "ruling by decree"; and everyone should be made aware of that

important distinction.


Nothing makes me despise anyone more than trying to justify adherence to laws 
of a totalitarian state.


___
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: MouseDown sent to button in group, but MouseUp sent to card

2017-08-03 Thread J. Landman Gay via use-livecode
This changed in LC 9dp8 and default handlers are no longer inserted, to 
avoid just this issue.


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



On August 3, 2017 10:45:06 AM dunbarx via use-livecode 
 wrote:



yes, that was the problem craig. So need to remove that manually...


Well, maybe, if you accidentally compiled that script. But all new buttons
contain the uncompiled "head start" handler, so you can ignore them as a
rule. I do, but have, now and then accidentally compiled, and had to track
down issues like you did.

Craig



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/MouseDown-sent-to-button-in-group-but-MouseUp-sent-to-card-tp4717935p4717959.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


How to remove from a group

2017-08-03 Thread Kaveh Bazargan via use-livecode
Can't find how to remove a button from a group of buttons. Tried this in
stack script:

on mouseup
  remove the target from group "presentations"
  grab the target
   end if
end mouseup

but says object is not in group. Checked it is.

-- 
Kaveh Bazargan
Director
River Valley Technologies
@kaveh1000
+44 7771 824 111
www.rivervalleytechnologies.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: MouseDown sent to button in group, but MouseUp sent to card

2017-08-03 Thread dunbarx via use-livecode
>yes, that was the problem craig. So need to remove that manually... 

Well, maybe, if you accidentally compiled that script. But all new buttons
contain the uncompiled "head start" handler, so you can ignore them as a
rule. I do, but have, now and then accidentally compiled, and had to track
down issues like you did.

Craig



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/MouseDown-sent-to-button-in-group-but-MouseUp-sent-to-card-tp4717935p4717959.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: Hackintosh

2017-08-03 Thread Bob Sneidar via use-livecode
Read C. S. Lewis on the matter of "laws" in these two very different senses. 
Laws of nature are not really laws that we can choose to break them and behave 
in a manner contrary to them. Laws in this context simply means "how things 
are". Laws in the second sense means "how we as a whole agree we ought to act 
and we agree so vehemently that we have consequences put in place for those who 
disregard them". 

Bob S


> On Aug 2, 2017, at 14:04 , Mark Waddingham via use-livecode 
>  wrote:
> 
> Although, I'd point out (because I'm a very pedantic person at times) - that 
> there are always rules we can't change such as the rules of nature


___
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: Hackintosh

2017-08-03 Thread Bob Sneidar via use-livecode
I don't see it that way. Apple has a choice to adhere to China's laws or no. 
China has a choice to allow the sale of Apple products in their country. 

The world is full of totalitarian states, and the populations there also have a 
choice: To live with their present situation, or to revolt. 

I suppose despots start out wanting to make the world, or at least their world 
"a better place", but as I always say, the devil is in the details. 

Bob S


> On Aug 2, 2017, at 13:07 , Richmond Mathewson via use-livecode 
>  wrote:
> 
> Apple's EULA may not actually be legal or legally enforcable in a large 
> number of territories
> where this Use-List is read.
> 
> Just seen Tim Cook "sucking the kneecaps" of China's one-party state's 
> leaders and blethering anent "adhering to the law" re VPNs.
> Nothing makes me despise anyone more than trying to justify adherence to laws 
> of a totalitarian state.


___
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: Made with . . .

2017-08-03 Thread Richmond Mathewson via use-livecode

If Waddingham is getting only chocolates it's time he changed his job.

I hope that Kevin is also giving him flowers!

Richmond.

On 8/3/17 6:11 pm, Bob Sneidar via use-livecode wrote:

Shouldn't you be getting the chocolates? ;-)

Bob S



On Aug 2, 2017, at 16:47 , Mark Waddingham via use-livecode 
 wrote:

Warmest Regards,

Mark.

P.S. I didn't write the above to dispute your point - merely to use it to hint 
at a deeper truth... Which Richmond's pupil realised and hence bought 
chocolates as a result :)

Sent from my iPhone


___
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: MouseDown sent to button in group, but MouseUp sent to card

2017-08-03 Thread Dr. Hawkins via use-livecode
On Thu, Aug 3, 2017 at 5:54 AM, dunbarx via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> Note: If there is no mouseWithin handler in the target object's script, no
> mouseWithin message is sent, even if there is a mouseWithin handler in an
> object that's further along the message path.
>
> Why this should be so is a mystery, but maybe someone from the team will
> chime in.
>

I've always assumed that that and similar case was due to the performance
penalty for checking and sending messages on older machines; I think that
mouseWithin dates to hypercard which ran on 8mhz 16 bit processors . . .

-- 
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: how to get the value of a custom property if the name of the cProperty is in a variable?

2017-08-03 Thread Bob Sneidar via use-livecode
If the handler is in the same script as the constant, why would you? A constant 
is for representing values that do not change after compile. Variables are for 
values that change during runtime. I cannot imagine a use case for putting a 
constant name into a variable, although I have thought about the need to get 
the constant from another script, until I remembered it's just easier to set a 
custom property. 

In fact (I think I've said so before) custom props are a great way to mimic 
scoped variables, and even constants. For instance all my datagrids have a 
property tablename containing the name of the table I query to populate it. 

Bob S


> On Aug 2, 2017, at 10:20 , Matthias Rebbe via use-livecode 
>  wrote:
> 
> Hi,
> 
> let´s say a card has a custom property name cMyProp.
> 
> The variable tMyVar contains the word “cMyProp”
> 
> How do i get the value of the custom property using the variable tMyVar?
> 
> Regards,
> Matthias
> 
> 
> 
> Matthias Rebbe

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

Re: how to get the value of a custom property if the name of the cProperty is in a variable?

2017-08-03 Thread Dr. Hawkins via use-livecode
On Wed, Aug 2, 2017 at 8:39 PM, Monte Goulding via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> Er… why if you know the name wouldn’t you type it unquoted? Are you really
> suggesting to put any expression there? The property/function ambiguity
> with `the` will make our heads explode!
>

If I have a variable "propertyZ", then under current code I *cannot* use

   set the propertyZ of theThing to 7

to affect the custom property named propertyZ.  Allowing quotes would solve
this.

In my case, I hit this in a "metaprocedure" that runs in development to
enforce consistency, find variable fields, and whathaveyou, and separately
came to the same "natural" name for both a variable and a customproperty,
leading to significant debugging until I figured out why it wasn't working.



-- 
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: Made with . . .

2017-08-03 Thread Bob Sneidar via use-livecode
Shouldn't you be getting the chocolates? ;-)

Bob S


> On Aug 2, 2017, at 16:47 , Mark Waddingham via use-livecode 
>  wrote:
> 
> Warmest Regards,
> 
> Mark.
> 
> P.S. I didn't write the above to dispute your point - merely to use it to 
> hint at a deeper truth... Which Richmond's pupil realised and hence bought 
> chocolates as a result :)
> 
> Sent from my iPhone


___
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: Taking quotes on building LC external for RethinkDB

2017-08-03 Thread Bob Sneidar via use-livecode
I poked around on their web site. What is the advantage of this db over other 
SQL db's? Price? Speed? Ease of config? 

Bob S


> On Aug 2, 2017, at 14:12 , Tom Glod via use-livecode 
>  wrote:
> 
> Hi folks, my company is currently taking quotes on building an LC external
> to act as a driver for RethinkDB.  I have already submitted a request with
> Monte & Ian over at Livecode, but would like to open it up to everyone that
> has the skill to build the externalI don't really even know if there is
> anyone else.
> 
> Here are the exact specs.
> 
> https://www.rethinkdb.com/docs/writing-drivers/
> 
> The more precise the quote the better.
> 
> Thanks,
> 
> Tom


___
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: MouseDown sent to button in group, but MouseUp sent to card

2017-08-03 Thread Kaveh Bazargan via use-livecode
On 3 August 2017 at 14:47, dunbarx via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I feel a bit dumb. yes, there was an empty mouseup handler in the buttons.
> So that is fixed.
>
>
> Be careful in that a newly created button will, by default, have an
> uncompiled mouseUp handler pre-installed. It is not "applied" as of yet,
> but
> its "text' appears in the script of the button. Such a construct is
> included
> as a head start for the most common handler in button scripts.
>
>
yes, that was the problem craig. So need to remove that manually...


> Craig Newman
>
>
>
> --
> View this message in context: http://runtime-revolution.
> 278305.n4.nabble.com/MouseDown-sent-to-button-in-
> group-but-MouseUp-sent-to-card-tp4717935p4717949.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
>



-- 
Kaveh Bazargan
Director
River Valley Technologies
@kaveh1000
+44 7771 824 111
www.rivervalleytechnologies.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: MouseDown sent to button in group, but MouseUp sent to card

2017-08-03 Thread dunbarx via use-livecode
I feel a bit dumb. yes, there was an empty mouseup handler in the buttons. 
So that is fixed. 


Be careful in that a newly created button will, by default, have an
uncompiled mouseUp handler pre-installed. It is not "applied" as of yet, but
its "text' appears in the script of the button. Such a construct is included
as a head start for the most common handler in button scripts.

Craig Newman



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/MouseDown-sent-to-button-in-group-but-MouseUp-sent-to-card-tp4717935p4717949.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: Android device speed

2017-08-03 Thread Jonathan Lynch via use-livecode
Thanks Roger,

In this case, the issue is more with the map presented in a browser widget, 
which is less about LC and more about the embedded chrome framework.

I think that my device is not really a high-end android machine, either.

It looks like max-texture-size might be a decent proxy for measuring GPU power.


Sent from my iPhone

> On Aug 3, 2017, at 8:36 AM, Roger Eller via use-livecode 
>  wrote:
> 
> I would be more inclined to not say in general "...that Android runs
> slower...", but rather "Android runs LiveCode apps slower."
> 
> There are plenty of Android apps in the Play store that handle large
> graphics VERY well on Android.  It may or may not be just how LiveCode
> rolls, as an improved experience can be achieved by handling images better
> in your code. Breaking them up into grid pieces, and only displaying the
> portion that is within the current view is one way.  You can also reduce
> the size of PNG files using specialized utilities like TinyPNG.
> 
> ~Roger
> 
> On Thu, Aug 3, 2017 at 3:20 AM, J. Landman Gay via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Android devices come with a variety of different specifications. The high
>> end models will be more capable than low end ones. Depending on
>> manufacturer and model, the graphics card will vary in capability and
>> available RAM. Screen resolution also makes a difference. I'm using older
>> test devices because I figure if it works there it will work on most
>> others. But my Samsung S4 runs more slowly than my S5 and they were
>> released only a year apart. And my Nexus tablet, which is older than both
>> Samsung phones, runs as well or better than either of those, probably
>> because it has a lower screen resolution. I'm not sure there's a standard
>> you can rely on.
>> 
>> I guess in general you could say that Android runs slower, but it's
>> probably because there are so many low cost phones with subsequently less
>> processing power. When you get into the higher range phones they can be
>> quite acceptable. The same app that lagged on my Samsung ran fine on
>> someone else's Pixel.
>> 
>> --
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software   | http://www.hyperactivesw.com
>> 
>> 
>> 
>> 
>> On August 2, 2017 6:14:06 PM Jonathan Lynch via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>> 
>> Hello everyone,
>>> 
>>> I just put my app on a galaxy tab E as a test.
>>> 
>>> It is painfully slow, but not just in the LC portion of the app. The map,
>>> delivered through a browser widget, is also slow.
>>> 
>>> So, I used the regular browser (chrome) at the webglearth website. That
>>> was slow too, although not as bad. I think the main difference was that the
>>> map div at their website is small, so it takes less processing power.
>>> 
>>> I had thought I selected a midlevel Android device that can handle
>>> moderate amounts of computation.
>>> 
>>> In y'alls' experience, are android devices just slow? Do they have
>>> inferior graphics processors? If you make computationally heavy apps for
>>> Android, do you just warn users that the app will only work on some devices?
>>> 
>>> I want this to work on as many devices as possible, but 3D maps require
>>> lots of processing.
>>> 
>>> Thanks,
>>> 
>>> J
>>> 
>>> Sent from my iPhone
>>> ___
>>> 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: MouseDown sent to button in group, but MouseUp sent to card

2017-08-03 Thread dunbarx via use-livecode
Hi.

This is an anomalous (in my opinion) behavior of the "mouseWithin" message.
>From the dictionary:

Note: If there is no mouseWithin handler in the target object's script, no
mouseWithin message is sent, even if there is a mouseWithin handler in an
object that's further along the message path.

Why this should be so is a mystery, but maybe someone from the team will
chime in.

Craig Newman



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/MouseDown-sent-to-button-in-group-but-MouseUp-sent-to-card-tp4717935p4717947.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: Android device speed

2017-08-03 Thread Roger Eller via use-livecode
I would be more inclined to not say in general "...that Android runs
slower...", but rather "Android runs LiveCode apps slower."

There are plenty of Android apps in the Play store that handle large
graphics VERY well on Android.  It may or may not be just how LiveCode
rolls, as an improved experience can be achieved by handling images better
in your code. Breaking them up into grid pieces, and only displaying the
portion that is within the current view is one way.  You can also reduce
the size of PNG files using specialized utilities like TinyPNG.

~Roger

On Thu, Aug 3, 2017 at 3:20 AM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Android devices come with a variety of different specifications. The high
> end models will be more capable than low end ones. Depending on
> manufacturer and model, the graphics card will vary in capability and
> available RAM. Screen resolution also makes a difference. I'm using older
> test devices because I figure if it works there it will work on most
> others. But my Samsung S4 runs more slowly than my S5 and they were
> released only a year apart. And my Nexus tablet, which is older than both
> Samsung phones, runs as well or better than either of those, probably
> because it has a lower screen resolution. I'm not sure there's a standard
> you can rely on.
>
> I guess in general you could say that Android runs slower, but it's
> probably because there are so many low cost phones with subsequently less
> processing power. When you get into the higher range phones they can be
> quite acceptable. The same app that lagged on my Samsung ran fine on
> someone else's Pixel.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
>
>
>
>
> On August 2, 2017 6:14:06 PM Jonathan Lynch via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> Hello everyone,
>>
>> I just put my app on a galaxy tab E as a test.
>>
>> It is painfully slow, but not just in the LC portion of the app. The map,
>> delivered through a browser widget, is also slow.
>>
>> So, I used the regular browser (chrome) at the webglearth website. That
>> was slow too, although not as bad. I think the main difference was that the
>> map div at their website is small, so it takes less processing power.
>>
>> I had thought I selected a midlevel Android device that can handle
>> moderate amounts of computation.
>>
>> In y'alls' experience, are android devices just slow? Do they have
>> inferior graphics processors? If you make computationally heavy apps for
>> Android, do you just warn users that the app will only work on some devices?
>>
>> I want this to work on as many devices as possible, but 3D maps require
>> lots of processing.
>>
>> Thanks,
>>
>> J
>>
>> Sent from my iPhone
>> ___
>> 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: MouseDown sent to button in group, but MouseUp sent to card

2017-08-03 Thread Kaveh Bazargan via use-livecode
I feel a bit dumb. yes, there was an empty mouseup handler in the buttons.
So that is fixed.

Now for mousewithin...

Having mousewithin in the stack script does not work unless I put:

on mousewithin
  pass mousewithin
end mousewithin

in the button.

What is the explanation for that?

On 3 August 2017 at 12:55, Randy Hengst via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I’d start by double-checking that there is a mouseUp handler in the
> button. If there isn’t, then the mouseUp will move to the group… if no
> mouseUp in the group it will move to the card.
>
> be well,
> randy
>
> > On Aug 3, 2017, at 5:10 AM, Kaveh Bazargan via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > I have buttons in a group. When I click any button, the mousedown message
> > is received by the button correctly but mouseup is received by card.
> Also I
> > believe mousewithin.
> >
> > How can I get the button to be the target for all?
> >
> > My script is in the stack
> >
> > Thanks.
> >
> >
> >
> > --
> > Kaveh Bazargan
> > Director
> > River Valley Technologies
> > @kaveh1000
> > +44 7771 824 111
> > www.rivervalleytechnologies.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




-- 
Kaveh Bazargan
Director
River Valley Technologies
@kaveh1000
+44 7771 824 111
www.rivervalleytechnologies.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: Hackintosh

2017-08-03 Thread Roger Eller via use-livecode
On Wed, Aug 2, 2017 at 6:21 PM, Mark Waddingham via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Just to pay reference to the comment about LiveCode - I missed it the
> first time around...
>
> We (LiveCode Ltd.) did not 'give away' LiveCode. We released it under a
> software license that has strings.
>
> The GPL requires (subject to interpretation by lawyers - and a court of
> law) you to also release your source code of the things you write in
> LiveCode.
>
> There's no such thing as a free lunch - there's always some sort of
> payment somewhere - even if that payment is 'for the good of all' rather
> than in any form of 'currently understood currency'.
>

This sparked a memory of an old scene in Star Trek
, where a cryogenically
preserved man of our time awakens to find that everything has changed.  A
future where your only goal is to improve yourself for the good of all.  I
wonder if there will be EULAs in 100 years.  Hmmm...


>
> Warmest Regards,
>
> Mark.
>
> Sent from my iPhone


~Roger
___
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: MouseDown sent to button in group, but MouseUp sent to card

2017-08-03 Thread Randy Hengst via use-livecode
I’d start by double-checking that there is a mouseUp handler in the button. If 
there isn’t, then the mouseUp will move to the group… if no mouseUp in the 
group it will move to the card.

be well,
randy

> On Aug 3, 2017, at 5:10 AM, Kaveh Bazargan via use-livecode 
>  wrote:
> 
> I have buttons in a group. When I click any button, the mousedown message
> is received by the button correctly but mouseup is received by card. Also I
> believe mousewithin.
> 
> How can I get the button to be the target for all?
> 
> My script is in the stack
> 
> Thanks.
> 
> 
> 
> -- 
> Kaveh Bazargan
> Director
> River Valley Technologies
> @kaveh1000
> +44 7771 824 111
> www.rivervalleytechnologies.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: Android device speed

2017-08-03 Thread Jonathan Lynch via use-livecode
Hi Hermann,

That page is a great resource!

Some of their measurements might be a good proxy for GPU power, like the max 
viewport size and a couple others.

It would be preferable to fully internalize the system check. I will look 
through the page source to see what JS commands they use to measure system 
capabilities.

Sent from my iPhone

On Aug 3, 2017, at 7:27 AM, hh via use-livecode  
wrote:

>> Jonathan wrote:
>> It sounds like I need to find a way to detect the processing speed 
>> of the device.
> 
> Did you alread try to use webgl? See the source of
> https://browserleaks.com/webgl
> 
> ___
> 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: Android device speed

2017-08-03 Thread hh via use-livecode
> Jonathan wrote:
> It sounds like I need to find a way to detect the processing speed 
> of the device.

Did you alread try to use webgl? See the source of
https://browserleaks.com/webgl

___
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: Android device speed

2017-08-03 Thread Jonathan Lynch via use-livecode
Thank you, Jacqueline,


It sounds like I need to find a way to detect the processing speed of the 
device.

If it is below a certain level, it could adjust the div viewport for the map 
proportionally to the processing power.

It could reduce the size of the div, then reexpand it, using a 2d transform. By 
cutting the size of the div in half, vertically and horizontally, it would have 
a quarter of the number of pixels to process in 3D. Reexpanding would return it 
to the original number of pixels, but that is a 2d transform and would be much 
less of a burden on the processor.

The effect would be lower resolution and zoomed in, but that might be better 
than painfully slow map movements.

Do you have any suggestions on how to detect the device's graphics processing 
power?

Sent from my iPhone

> On Aug 3, 2017, at 3:20 AM, J. Landman Gay via use-livecode 
>  wrote:
> 
> Android devices come with a variety of different specifications. The high end 
> models will be more capable than low end ones. Depending on manufacturer and 
> model, the graphics card will vary in capability and available RAM. Screen 
> resolution also makes a difference. I'm using older test devices because I 
> figure if it works there it will work on most others. But my Samsung S4 runs 
> more slowly than my S5 and they were released only a year apart. And my Nexus 
> tablet, which is older than both Samsung phones, runs as well or better than 
> either of those, probably because it has a lower screen resolution. I'm not 
> sure there's a standard you can rely on.
> 
> I guess in general you could say that Android runs slower, but it's probably 
> because there are so many low cost phones with subsequently less processing 
> power. When you get into the higher range phones they can be quite 
> acceptable. The same app that lagged on my Samsung ran fine on someone else's 
> Pixel.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> 
> 
>> On August 2, 2017 6:14:06 PM Jonathan Lynch via use-livecode 
>>  wrote:
>> 
>> Hello everyone,
>> 
>> I just put my app on a galaxy tab E as a test.
>> 
>> It is painfully slow, but not just in the LC portion of the app. The map, 
>> delivered through a browser widget, is also slow.
>> 
>> So, I used the regular browser (chrome) at the webglearth website. That was 
>> slow too, although not as bad. I think the main difference was that the map 
>> div at their website is small, so it takes less processing power.
>> 
>> I had thought I selected a midlevel Android device that can handle moderate 
>> amounts of computation.
>> 
>> In y'alls' experience, are android devices just slow? Do they have inferior 
>> graphics processors? If you make computationally heavy apps for Android, do 
>> you just warn users that the app will only work on some devices?
>> 
>> I want this to work on as many devices as possible, but 3D maps require lots 
>> of processing.
>> 
>> Thanks,
>> 
>> J
>> 
>> Sent from my iPhone
>> ___
>> 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: Mark in a kilt...

2017-08-03 Thread Richmond Mathewson via use-livecode

Still well worth a second salutation!

R.

On 8/3/17 1:18 pm, Keith Martin via use-livecode wrote:

On 1 Aug 2017, at 7:53, Richmond Mathewson via use-livecode wrote:


I salute Kevin and Mark for their adoption of kilts.


It's certainly not new! I remember when Runtime Revolution got its 
first MacUser award nomination (MANY years ago!), Kevin and a couple 
of others came to the ceremony in kilts. Memorable and cool.


k


---

Keith Martin
Senior Lecturer, LCC (University of the Arts London)
Technical Editor, MacUser magazine (1997-2015)
http://PanoramaPhotographer.com
http://thatkeith.com
+44 (0)7909541365

---
___
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: Mark in a kilt...

2017-08-03 Thread Keith Martin via use-livecode

On 1 Aug 2017, at 7:53, Richmond Mathewson via use-livecode wrote:


I salute Kevin and Mark for their adoption of kilts.


It's certainly not new! I remember when Runtime Revolution got its first 
MacUser award nomination (MANY years ago!), Kevin and a couple of others 
came to the ceremony in kilts. Memorable and cool.


k


---

Keith Martin
Senior Lecturer, LCC (University of the Arts London)
Technical Editor, MacUser magazine (1997-2015)
http://PanoramaPhotographer.com
http://thatkeith.com
+44 (0)7909541365

---
___
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: Hackintosh

2017-08-03 Thread Richmond Mathewson via use-livecode



On 8/3/17 1:21 am, Mark Waddingham via use-livecode wrote:

Just to pay reference to the comment about LiveCode - I missed it the first 
time around...

We (LiveCode Ltd.) did not 'give away' LiveCode. We released it under a 
software license that has strings.


Indeed: but rather more flexible strings than a lot of other software.

R.


The GPL requires (subject to interpretation by lawyers - and a court of law) 
you to also release your source code of the things you write in LiveCode.


I always do . . . both release my source code & stir the Sh*t :)


There's no such thing as a free lunch - there's always some sort of payment 
somewhere - even if that payment is 'for the good of all' rather than in any 
form of 'currently understood currency'.


Currently having a bad attack of indigestion.


Warmest Regards,

Mark.

Sent from my iPhone


On 2 Aug 2017, at 23:24, Richmond Mathewson via use-livecode 
 wrote:




On 8/3/17 12:03 am, Richard Gaskin via use-livecode wrote:
Richmond Mathewson wrote:


No, I don't think we have to respect Apple's policy at all.

A similar view might ask whether the DevaWriter license terms need to be 
respected, or LiveCode Ltd.'s, or Stephen King's, or the protections afforded 
any creator of an original work.




LOL.

I have just changed my Devawriter licensing system so that each instantiation 
of it that I sell is tied to the MAC address of
an individual computer. Therefore there is nothing to respect, a chain is a 
chain, and if someone manages to spoof Mac Addresses
on a large scale to use my program the fact that they would go to that trouble 
proves it's a program worth having!

I have made my "licensing" system as hard as I can: I'm sure it can be broken: 
whether it is worth going to that bother remains to be seen;
after all you can have a site licence for 10 machines at $200.

If I really wanted to make "my fortune" programming computers I wouldn't be 
tinkering around in our spare bedroom at 55 anyway . . .

The reason I have changed it is because I know of someone who purchased my 
Devawriter 3 years ago and now has copies all over the place:
my bad, I should have taken a bit more trouble: at least some people are finally getting 
their heads around "Sanskrit As it Should Be":

http://andregarzia.on-rev.com/richmond/home.html

Apple's policy is "just" Apple trying something on. A EULA is NOT a legally 
binding agreement: if you choose to abide by it you
can feel "awfully" moral, much in the same sort of way I haven't fathered 27 
children with 27 mothers simultaneously (which, oddly
enough, is not illegal) makes me fell that I'm slightly more moral in some 
respects.

I bought a 10 year-old Intel iMac about 8 months ago. I had the system install 
disks from a Mac laptop of my wife's that went bang about 3 years ago.
Now I was probably breaking some sort of agreement by using those disks to get my iMac 
going - possibly not "meant" to install on another Mac other
than the one they were bought with. Morally, as the one the disks came with a 
dead computer I could see nothing wrong with using them to get
another, similar computer running; especially as I could find no way to 
purchase Mac OS Lion disks from Apple.

LiveCode give away the Open Source version of their product. . .

Stephen King . . . well, if you really have to read his books you can borrow 
them from the library . . . I read 3 of them in about 1984.

Love, Richmond.

___
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: Hackintosh

2017-08-03 Thread Richmond Mathewson via use-livecode

I hope your G "did the trick".

Richmond.

On 8/3/17 12:40 am, Mark Waddingham via use-livecode wrote:

Indeed - and (if I remember correctly) - one purpose of devils advocate is to 
ensure the other side justifies its case 'sufficiently' (for some definition of 
sufficiently - usually a great deal harder when pedanticism kicks in!).

I'm off to have another G!

Warmest Regards,

Mark.

Sent from my iPhone


On 2 Aug 2017, at 23:29, Richmond Mathewson via use-livecode 
 wrote:

There are one or two people around here who probably don't know what a *devil's 
advocate* is . . .

Off to polish my horns.

Richmond.
___
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


MouseDown sent to button in group, but MouseUp sent to card

2017-08-03 Thread Kaveh Bazargan via use-livecode
I have buttons in a group. When I click any button, the mousedown message
is received by the button correctly but mouseup is received by card. Also I
believe mousewithin.

How can I get the button to be the target for all?

My script is in the stack

Thanks.



-- 
Kaveh Bazargan
Director
River Valley Technologies
@kaveh1000
+44 7771 824 111
www.rivervalleytechnologies.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


How do you detect the necessary inclusions?

2017-08-03 Thread Tiemo Hollmann TB via use-livecode
Hello,

 

I think in former times, when you once have choosen "Search for required
inclusions", LiveCode once has checked all necessary inclusion, so that you
got an idea for the needed ones, when you afterwords wanted to selected them
manually (e.g. the automatic didn't selected all needed inclusions).

Today in 8.1.5 LC doesn't mark anymore any needed inclusions, after having
let it search for the required ones. At least the browser widget was not
checked, though I have an browser widget in my stack. How do you handle this
to get the right inclusions?

Btw. There are three browser inclusions and I don't know, which one is for
what purpose. I assume that the inclusion with the "globe icon" is for the
browser widget, because it has the same icon, but there are 3 browser
inclusions. What are the inclusions "browser" (jigsaw icon) and "browser
(CEF)" for?

 

Tiemo

 

 

 

___
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: Android device speed

2017-08-03 Thread J. Landman Gay via use-livecode
Android devices come with a variety of different specifications. The high 
end models will be more capable than low end ones. Depending on 
manufacturer and model, the graphics card will vary in capability and 
available RAM. Screen resolution also makes a difference. I'm using older 
test devices because I figure if it works there it will work on most 
others. But my Samsung S4 runs more slowly than my S5 and they were 
released only a year apart. And my Nexus tablet, which is older than both 
Samsung phones, runs as well or better than either of those, probably 
because it has a lower screen resolution. I'm not sure there's a standard 
you can rely on.


I guess in general you could say that Android runs slower, but it's 
probably because there are so many low cost phones with subsequently less 
processing power. When you get into the higher range phones they can be 
quite acceptable. The same app that lagged on my Samsung ran fine on 
someone else's Pixel.


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



On August 2, 2017 6:14:06 PM Jonathan Lynch via use-livecode 
 wrote:



Hello everyone,

I just put my app on a galaxy tab E as a test.

It is painfully slow, but not just in the LC portion of the app. The map, 
delivered through a browser widget, is also slow.


So, I used the regular browser (chrome) at the webglearth website. That was 
slow too, although not as bad. I think the main difference was that the map 
div at their website is small, so it takes less processing power.


I had thought I selected a midlevel Android device that can handle moderate 
amounts of computation.


In y'alls' experience, are android devices just slow? Do they have inferior 
graphics processors? If you make computationally heavy apps for Android, do 
you just warn users that the app will only work on some devices?


I want this to work on as many devices as possible, but 3D maps require 
lots of processing.


Thanks,

J

Sent from my iPhone
___
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


Video plays on Win 8.1 only when Windows MediaPlayer is open

2017-08-03 Thread Tiemo Hollmann TB via use-livecode
Hello,

LC 8.1.4, Windows 8.1

I am using the Windows standard videoPlayer API DirectShow with h.264
videos. LAV filters for playback of h.264 are installed. On a customer
machine something weired happens.

After starting the video, the videoscreen stays black, no video is seen.

If the user klicks at the title bar of my program window and drags it around
the screen, the video is seen. When he stops, the video keeps black.

So I thought, this must be a strange issue of how the graphic card handles
the screen/video buffer. I also tested with alwaysbufferon true/false
without any change of the issue.

By chance the user tested to play one of my videos in the standard Microsoft
MediaPlayer (which worked fine) and while this MediaPlayer is open, all
videos can also be seen in my program. As soon, as the MediaPalyer is
closed, the videos again can't be seen in my program. I have no idea, what
could be the releated issue between the Microsoft MediaPlayer and the
LiveCode VidePlayer, especially, because the MS MediaPlayer uses the Media
Foundation API and LC the DirectShow API. The only explanation for me would
be, that the MediaPlayer switches a system jumper behind the sceens, which
changes anything in handling the video buffer, but as I don't have any more
known options in LC as "alwaysBufferOn", I have no idea, if there is
anything I could test or check anymore.

Any ideas welcome.

Tiemo

 

 

 

___
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