Re: DP13 breaks GLX framework

2016-01-14 Thread jameshale
Aha.
Thanks Ali.
Does a bug report need to be generated?
(Well, actually will you be entering one given you know what it is?)



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/DP13-breaks-GLX-framework-tp4700166p4700176.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: DP13 breaks GLX framework

2016-01-14 Thread James Little

I don’t know if this is related but I’m seeing both a tree view widget and a 
browser widget disappear from my application on startup in the IDE.  

Jim L


On Jan 14, 2016, at 7:00 AM, jameshale  wrote:

> Aha.
> Thanks Ali.
> Does a bug report need to be generated?
> (Well, actually will you be entering one given you know what it is?)
> 
> 
> 
> --
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/DP13-breaks-GLX-framework-tp4700166p4700176.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: Setting up for android development on OS X 10.10 - help needed

2016-01-14 Thread panagiotis merakos
Hi Terry,

Regarding the crash on startup when deploying to android simulator:
What version of Android is running on the simulator? I have experienced
crashes *only* when deploying to android 2.3.3 simulator. Other android
versions work as expected. If you experience the crash not only in 2.3.3
simulator, but also in *any* android version less or equal to 4.1.3, then
you are probably affected by bug 16688:
http://quality.livecode.com/show_bug.cgi?id=16688 which we cannot
reproduce, but according to the bug report it affects *only* LiveCode 7.1.1
releases (works fine in 7.1.0).

Regarding the problem of not seeing your devices under the
development>test target
menu:
What happens if you type in the OS X terminal : "adb devices" ?

If you see an empty list, then the problem is that your devices are not
recognized. I have experienced this problem a number of times. I would
suggest using a different android cable. If this does not work, type in the
terminal:

"adb kill-server"

and then

"adb start-server"

Hope this helps,
Panos
--

On Thu, Jan 14, 2016 at 1:21 AM, Terry Judd 
wrote:

> OK - so I did manage to find and install a copy of Java 6 (I deleted the
> existing newer version of Java and then did a default install) and now the
> JDK path bit in the mobile support pane of
> the LC preferences window has a value in it but everything else remains
> the same. Even the simplest app crashes on the Android simulator.
>
> I¹m also trying to get a real device to show up under the development>test
> target menu without success. I have a couple of Samsung phones (S2 and S4
> mini) both with usb debugging enabled but neither shows up in the test
> target menu when connected. Any ideas?
>
> Terry...
>
> On 14/01/2016 11:45 am, "use-livecode on behalf of Terry Judd²
>  terry.j...@unimelb.edu.au> wrote:
>
> >Hi all ­ after a long break from developing for Android I need to get up
> >and running again but seem to be getting nowhere. I have all the Android
> >sdk stuff installed and updated and installed Java but when I go to
> >configure things in LC it accepts the location of the Android SDK root
> >folder but the JDK path stays empty. I can build an app ok but even the
> >simplest one will immediately crash (on the simulator ­ I¹m still trying
> >to get my device to show up on the target list).
> >
> >A search of the forums suggests that the empty path thing this is a known
> >issue( from some months ago) and a post (reply) from Sebastian in late
> >November last year suggested that you need to install the now deprecated
> >Java 6 to undertake Android development in LC. I¹d try that if I could
> >only find somewhere to download Java 6 from!
> >
> >Does anyone have this stuff working on OS X 10.10 (or later) and care to
> >provide some tips on how they got it to work?
> >
> >Best regards,
> >
> >TerryŠ
> >
> >Terry Judd  | Senior Lecturer in Medical Education
> >Department of Medical
> >Education
> >The University of Melbourne
> >M: 0435 961 594  |  E:
> >terry.j...@unimelb.edu.au
> >Publications<
> https://scholar.google.com.au/citations?user=XC5s6wwJ=
> >en>
> >___
> >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: mobile acceleration/rotation

2016-01-14 Thread Ben Rubinstein

Thanks Jim.

So if the device is vertical at rest (y=-1), and falls down vertically, it 
won't register any acceleration because it's already measuring the maximum in 
that axis?


In short, it's static acceleration rather than dynamic acceleration, is that 
correct?


Many thanks,

Ben


On 13/01/2016 17:11, Jim MacConnell wrote:

Short answer: Gravity.
The device can't measure actual acceleration. It measures the forces on
sensors in 3 axes. One of those axes will feel force from gravity. That's
the 1.
Jim

-Original Message-
From: Ben Rubinstein [mailto:benr...@cogapp.com]
Sent: Wednesday, January 13, 2016 5:08 AM
To: Use LiveCode
Subject: mobile acceleration/rotation

H - I've just tried reading the acceleration and rotation sensors.  I
admit to finding the whole business confusing, but it seems to me that the
data accompanying the accelerationChanged message represents the static
orientation of the device.

At first I thought that the "rotation" and "acceleration" had been swapped -
but then I realised it wasn't "rotation" but "rotation rate".

At any rate, the readings I'm getting for acceleration, with my phone lying
flat on the desk, have x and y approximately 0, and z at -1.  If I bring the
phone upright on its short end, y shifts to -1 and z to 0.  If instead I
bring it upright to lie on its left edge, x goes to -1 and y and z to 0; if
I bring it upright on the right edge, x goes to 1, y and z to 0.

These seem perfectly reasonable things to me, i.e. they seem to represent
the state of rotation around the various axes; but I don't understand how
they relate to acceleration.

Can someone explain this to me?

Many thanks,

Ben




___
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: mobilepick more than one option at a time without more than one pickwheel?

2016-01-14 Thread Klaus major-k
Hi Mike,

> Am 14.01.2016 um 14:47 schrieb Mike Kerner :
> 
> I thought you could use mobilePick to select multiples.  

if there is I did not find out how to do this yet, any hints appreciated!

> Anyway, I use tmc2 for most mobile controls, including building pickers, and 
> have not
> regretted it for a moment.  One of the nice things about tmc is you can
> customize the library easily to get exaclty the behavior you want.  So, for
> example, in one case I have a form for a tablet with three pickers on the
> same screen, each with the option for multiple selections.

wonderful, but no option for me ;-)

> On Wed, Jan 13, 2016 at 8:38 AM, Klaus major-k  wrote:
> 
>> HI Dixie,
>> 
>>> Am 13.01.2016 um 11:21 schrieb John Dixon :
>>> 
> Am 12.01.2016 um 18:49 schrieb Klaus major-k :
> 
> Hi all,
> 
> is there a way to let the user pick more than one option in ONE
>> mobilepick xyz?
> I do not want to show two  or more pickwheels! If yes, how can this be
>> done?
> Or do I need to „roll my own“ with a listfield or a group or something?
> Like providing a list of weekday names and the user can seldct more
>> than one day at once.
>>> 
 Klaus
>>> 
>>> Klaus...
>>> 
>>> I seem to remember that Bernd Niggeman wrote a 'pickwheel' when mobile
>> first came to liveCode.
>>> I don't remember too much of the detail now, but do remember that it was
>> impressive..
>>> 
>>> It would be worth talking to him..:-)
>> 
>> Yes, I know these stacks, but they also only allowed to pick ONE option,
>> if I remember correctly.
>> My question was, if there is some „mobile control" that does what I need
>> ;-)
>> 
>>> Dixie

Best

Klaus
--
Klaus Major
http://www.major-k.de
kl...@major-k.de


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

Re: DP13 breaks GLX framework

2016-01-14 Thread jameshale
ok, the error I am getting is"
button "glxappManagedEngineMessages": execution error at line 7342 (Chunk:
can't find background), char 9

I can of course not find a line 7342 in a script that has only 279 lines.
The button referred to is in the 'scripts' card in a group 'frontscripts' of
the 'glxapplicationframework.dat' stack.

The calling chain is...
glxApplicationFramework ->glxapp_loadApplication
application->glxapp_openApplication
glxappManagedEngineMessages->preopenstack

I have tried tracing the path but it seems to be all ok. I can't find any
error, but see below.

If I launch and kill the handler when the script debugger comes up and then
call my "PreOpenWindow" handler (which resides in my main stack "program")
then my app completes its correct loading sequence and all is fine.
Note: before I do this my main stack has opened, it is just not initialised.
Running the preopenwindow handler completes the initialisation.

While tracing the launch progress there are many 'try..catch..end try'
blocks.
They are all quite simple and of the form..
   try
  some handler or function call
   catch e
  ThrowError e
   end TRY

In almost quite a few cases I would go to the "ThrowError e" line and into
the 'ThrowError' handler.
However nothing is in the 'e' parameter, at least nothing until the end.



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/DP13-breaks-GLX-framework-tp4700166p4700169.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: mobilepick more than one option at a time without more than one pickwheel?

2016-01-14 Thread Mike Kerner
I thought you could use mobilePick to select multiples.  Anyway, I use tmc2
for most mobile controls, including building pickers, and have not
regretted it for a moment.  One of the nice things about tmc is you can
customize the library easily to get exaclty the behavior you want.  So, for
example, in one case I have a form for a tablet with three pickers on the
same screen, each with the option for multiple selections.

On Wed, Jan 13, 2016 at 8:38 AM, Klaus major-k  wrote:

> HI Dixie,
>
> > Am 13.01.2016 um 11:21 schrieb John Dixon :
> >
> >>> Am 12.01.2016 um 18:49 schrieb Klaus major-k :
> >>>
> >>> Hi all,
> >>>
> >>> is there a way to let the user pick more than one option in ONE
> mobilepick xyz?
> >>> I do not want to show two  or more pickwheels! If yes, how can this be
> done?
> >>> Or do I need to „roll my own“ with a listfield or a group or something?
> >>> Like providing a list of weekday names and the user can seldct more
> than one day at once.
> >
> >> Klaus
> >
> > Klaus...
> >
> > I seem to remember that Bernd Niggeman wrote a 'pickwheel' when mobile
> first came to liveCode.
> > I don't remember too much of the detail now, but do remember that it was
> impressive..
> >
> > It would be worth talking to him..:-)
>
> Yes, I know these stacks, but they also only allowed to pick ONE option,
> if I remember correctly.
> My question was, if there is some „mobile control" that does what I need
> ;-)
>
> > Dixie
>
> Best
>
> Klaus
>
> --
> Klaus Major
> http://www.major-k.de
> kl...@major-k.de
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



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

Re: mobile acceleration/rotation

2016-01-14 Thread Consensus IMAP
Hopefully, I've got this right but.
I think of it as the "apparent" acceleration a mass attached to phone feels 
relative to the body of the device. At rest, if it wasn't attached, it would 
slide down the inside of the device and end up rattling inside the case. The 
force trying to make that happen is the mass in the sensor times the 
acceleration it feels: 1 g (gravity) = 9.8 m/sec^2 = 32 ft/sec^2. The 
"acceleration" is in units of g's.

Not, drop the whole device. Both the mass and the device fall at the same 
velocity. The force require to hold them together is almost nothing because 
they are moving together. Thus the indicated acceleration would be near 0.

When the device hits the floor, it stops but the mass tries to keep going. It 
takes a lot of force to hold it in place so it will indicate a huge 
acceleration. That acceleration is, in essence, the opposite of what the device 
itself experienced.

Likewise for "sideways", accelerations. That little mass inside the device 
experiences forces that hold it in place and feels those as imposed 
accelerations due to the movement of the device

Bet this just confused things. 

Bottom line.
When at rest, the acceleration will have a magnitude of 1 with a vector 
pointing towards the middle of the earth. When the device is in free fall, it 
will indicate 0 because there is no relative force between the mass and the 
device. Do something that might "break the mass free inside the device" and it 
will indicate the force (apparent acceleration) between the device and the mass 
as a vector with a large magnitude.

If you want the "imposed acceleration" the device is feeling, you'll have to 
"subtract" the 1 g acceleration vector from what "put the acceleration" returns.

J

Sent from my iPad

> On Jan 14, 2016, at 3:06 AM, Ben Rubinstein  wrote:
> 
> Thanks Jim.
> 
> So if the device is vertical at rest (y=-1), and falls down vertically, it 
> won't register any acceleration because it's already measuring the maximum in 
> that axis?
> 
> In short, it's static acceleration rather than dynamic acceleration, is that 
> correct?
> 
> Many thanks,
> 
> Ben
> 
> 
>> On 13/01/2016 17:11, Jim MacConnell wrote:
>> Short answer: Gravity.
>> The device can't measure actual acceleration. It measures the forces on
>> sensors in 3 axes. One of those axes will feel force from gravity. That's
>> the 1.
>> Jim
>> 
>> -Original Message-
>> From: Ben Rubinstein [mailto:benr...@cogapp.com]
>> Sent: Wednesday, January 13, 2016 5:08 AM
>> To: Use LiveCode
>> Subject: mobile acceleration/rotation
>> 
>> H - I've just tried reading the acceleration and rotation sensors.  I
>> admit to finding the whole business confusing, but it seems to me that the
>> data accompanying the accelerationChanged message represents the static
>> orientation of the device.
>> 
>> At first I thought that the "rotation" and "acceleration" had been swapped -
>> but then I realised it wasn't "rotation" but "rotation rate".
>> 
>> At any rate, the readings I'm getting for acceleration, with my phone lying
>> flat on the desk, have x and y approximately 0, and z at -1.  If I bring the
>> phone upright on its short end, y shifts to -1 and z to 0.  If instead I
>> bring it upright to lie on its left edge, x goes to -1 and y and z to 0; if
>> I bring it upright on the right edge, x goes to 1, y and z to 0.
>> 
>> These seem perfectly reasonable things to me, i.e. they seem to represent
>> the state of rotation around the various axes; but I don't understand how
>> they relate to acceleration.
>> 
>> Can someone explain this to me?
>> 
>> Many thanks,
>> 
>> Ben
> 
> 
> ___
> 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: mobilepick more than one option at a time without more than one pickwheel?

2016-01-14 Thread Mike Kerner
Then, I would suggest rolling your own.  It is relatively straightforward,
even if you want to add some funky features, which I don't think you're
doing in this case.  I have the "pickerwheel" stacks/source, but I didn't
like them as much as I liked my own flat version.  You know how to find me
if you need help.

On Thu, Jan 14, 2016 at 8:52 AM, Klaus major-k  wrote:

> Hi Mike,
>
> > Am 14.01.2016 um 14:47 schrieb Mike Kerner :
> >
> > I thought you could use mobilePick to select multiples.
>
> if there is I did not find out how to do this yet, any hints appreciated!
>
> > Anyway, I use tmc2 for most mobile controls, including building pickers,
> and have not
> > regretted it for a moment.  One of the nice things about tmc is you can
> > customize the library easily to get exaclty the behavior you want.  So,
> for
> > example, in one case I have a form for a tablet with three pickers on the
> > same screen, each with the option for multiple selections.
>
> wonderful, but no option for me ;-)
>
> > On Wed, Jan 13, 2016 at 8:38 AM, Klaus major-k  wrote:
> >
> >> HI Dixie,
> >>
> >>> Am 13.01.2016 um 11:21 schrieb John Dixon :
> >>>
> > Am 12.01.2016 um 18:49 schrieb Klaus major-k :
> >
> > Hi all,
> >
> > is there a way to let the user pick more than one option in ONE
> >> mobilepick xyz?
> > I do not want to show two  or more pickwheels! If yes, how can this
> be
> >> done?
> > Or do I need to „roll my own“ with a listfield or a group or
> something?
> > Like providing a list of weekday names and the user can seldct more
> >> than one day at once.
> >>>
>  Klaus
> >>>
> >>> Klaus...
> >>>
> >>> I seem to remember that Bernd Niggeman wrote a 'pickwheel' when mobile
> >> first came to liveCode.
> >>> I don't remember too much of the detail now, but do remember that it
> was
> >> impressive..
> >>>
> >>> It would be worth talking to him..:-)
> >>
> >> Yes, I know these stacks, but they also only allowed to pick ONE option,
> >> if I remember correctly.
> >> My question was, if there is some „mobile control" that does what I need
> >> ;-)
> >>
> >>> Dixie
>
> Best
>
> Klaus
> --
> Klaus Major
> http://www.major-k.de
> kl...@major-k.de
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



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

Re: Message watcher in LC 8

2016-01-14 Thread Paul Hibbert
There have been a lot of bugs squashed since DP9, so I’d suggest trying DP13, 
I’m not seeing any such messages in this version.

Paul
___
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: Message watcher in LC 8

2016-01-14 Thread Peter Haworth
Hi Alex,
The messages after openStack are coming from lcStackBrowser's front script
which traps openStack.  I guess the question is where the openStack
messages are coming from in the first place.  You might try Richard's
4WFlightRecorder stack, I find it much more useful than the message
watcher.  I believe it will tell you where the openStack messages are
coming from.

On Thu, Jan 14, 2016 at 6:02 PM Paul Hibbert  wrote:

> There have been a lot of bugs squashed since DP9, so I’d suggest trying
> DP13, I’m not seeing any such messages in this version.
>
> Paul
> ___
> 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: Getting textShift To Shift Down?

2016-01-14 Thread Terry Judd
Hi Scott - I think you might be able to do something by manipulating the
margins of the field as well as the textShift.

I did a test with 2 basic fields - one containing the text and the other
the value I wanted to adjust the textshift by...

Contents of fld 1

word1 word2 word3
word1 word2 word3

word1 word2 word3


Script of fld 2

on returnInField
  lock screen
  put me into y
  if (pMargins is empty) or  (y<0)  then put "8,8,0,0" into pMargins #
default margins
  put pMargins into tMargins
  set the textShift of word 2 of line 3 of fld 1 to y
  if y „ 0 then
add y to item 2 of tMargins
  end if
  set the margins of fld 1 to tMargins
  unlock screen
end returnInField

Šmy test was pretty basic but it seemed to work under these conditions.

Regards,

Terry...



On 15/01/2016 11:41 am, "use-livecode on behalf of Scott Rossi"
 wrote:

>Thanks Bernd, but if I understand what you're suggesting, I've already
>tried this and it doesn't appear to work.  Using different textShift
>values for the selected text and surrounding text just seems to average
>out, always moving text upward, never downward.
>
>Regards,
>
>Scott Rossi
>Creative Director
>Tactile Media, UX/UI Design
>
>
>
>
>On 1/14/16, 4:04 PM, "use-livecode on behalf of BNig"
>bernd.niggem...@uni-wh.de> wrote:
>
>>Hi Scott,
>>
>>the following works for me in 7.0.6
>>
>>textSize 14, textheight 28, fixed lineHeight
>>
>>e.g. 
>>
>>-
>>set the textShift of char 1 to - 1 of field 1 to -9
>>-
>>
>>then a slider with values from - 9 to - 3
>>
>>
>>on scrollbarDrag pValue
>>   set the textShift of word 2 of line 1 of field 1 to pValue
>>end scrollbarDrag
>>
>>
>>this pushes word 2 of line 1 of field 1 down. If I use values above - 3,
>>e.g. -2 or 0 then it pushes the text up again.
>>
>>Maybe this is an option to set the textshift of the whole text to a
>>negative
>>number and then move down the text by setting it to another negative
>>number
>>but not as high as the whole text.
>>
>>Kind regards
>>Bernd
>>
>>
>>
>>--
>>View this message in context:
>>http://runtime-revolution.278305.n4.nabble.com/Getting-textShift-To-Shift
>>-
>>Down-tp4700184p4700193.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


___
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: DP13 breaks GLX framework

2016-01-14 Thread jameshale
Hi Trevor,
The only script I can see over 7000 lines is sqlYoga.
All my calls to this library take place after my preopenwindow handler and
as mentioned, when run from the message box it goes without issue. The app
seems to function fine from this point with functions that use sqlYoga
working as expected.
I feel Ali might be able n the right track as while tracing through the GLX
routines I noticed they relied heavily on the 'target'.



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/DP13-breaks-GLX-framework-tp4700166p4700202.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: Getting textShift To Shift Down?

2016-01-14 Thread Terry Judd
Looks like the script got slightly munged en route. That should be “if y >
0 then” a few lines down.

Terry...

On 15/01/2016 1:21 pm, "use-livecode on behalf of Terry Judd"
 wrote:

>Hi Scott - I think you might be able to do something by manipulating the
>margins of the field as well as the textShift.
>
>I did a test with 2 basic fields - one containing the text and the other
>the value I wanted to adjust the textshift by...
>
>Contents of fld 1
>
>word1 word2 word3
>word1 word2 word3
>
>word1 word2 word3
>
>
>Script of fld 2
>
>on returnInField
>  lock screen
>  put me into y
>  if (pMargins is empty) or  (y<0)  then put "8,8,0,0" into pMargins #
>default margins
>  put pMargins into tMargins
>  set the textShift of word 2 of line 3 of fld 1 to y
>  if y „ 0 then
>add y to item 2 of tMargins
>  end if
>  set the margins of fld 1 to tMargins
>  unlock screen
>end returnInField
>
>Šmy test was pretty basic but it seemed to work under these conditions.
>
>Regards,
>
>Terry...
>
>
>
>On 15/01/2016 11:41 am, "use-livecode on behalf of Scott Rossi"
>sc...@tactilemedia.com> wrote:
>
>>Thanks Bernd, but if I understand what you're suggesting, I've already
>>tried this and it doesn't appear to work.  Using different textShift
>>values for the selected text and surrounding text just seems to average
>>out, always moving text upward, never downward.
>>
>>Regards,
>>
>>Scott Rossi
>>Creative Director
>>Tactile Media, UX/UI Design
>>
>>
>>
>>
>>On 1/14/16, 4:04 PM, "use-livecode on behalf of BNig"
>>>bernd.niggem...@uni-wh.de> wrote:
>>
>>>Hi Scott,
>>>
>>>the following works for me in 7.0.6
>>>
>>>textSize 14, textheight 28, fixed lineHeight
>>>
>>>e.g. 
>>>
>>>-
>>>set the textShift of char 1 to - 1 of field 1 to -9
>>>-
>>>
>>>then a slider with values from - 9 to - 3
>>>
>>>
>>>on scrollbarDrag pValue
>>>   set the textShift of word 2 of line 1 of field 1 to pValue
>>>end scrollbarDrag
>>>
>>>
>>>this pushes word 2 of line 1 of field 1 down. If I use values above - 3,
>>>e.g. -2 or 0 then it pushes the text up again.
>>>
>>>Maybe this is an option to set the textshift of the whole text to a
>>>negative
>>>number and then move down the text by setting it to another negative
>>>number
>>>but not as high as the whole text.
>>>
>>>Kind regards
>>>Bernd
>>>
>>>
>>>
>>>--
>>>View this message in context:
>>>http://runtime-revolution.278305.n4.nabble.com/Getting-textShift-To-Shif
>>>t
>>>-
>>>Down-tp4700184p4700193.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
>
>
>___
>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

Getting textShift To Shift Down?

2016-01-14 Thread Scott Rossi
Anyone have any insight on getting textShift to shift text downward?

I need to vertically align blocks text on a line that use different fonts.
 Whether I select a block of text, or all the text around the selection,
things shift up, but never down.

Here's a simple stack that demonstrates the problem.
http://tactilemedia.com/download/textshift.mp4

This is LiveCode 7.0.6 (I need to use this version).  I've tried including
bits of texts with textShift set to zero on the same line.  I've tried
assigning positive/negative textShift values to multiple selections of
text on the same line.  Text always shifts upward.

Somebody, please offer a workaround so I can stop the blood loss from the
continuous head beating against the wall that's been taking place over
here.

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design



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


Re: Windows 10 file paths

2016-01-14 Thread tbodine
Is the dll code signed? Perhaps higher security settings are blocking its
installation or use for that reason.
-- Tom Bodine




--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Windows-10-file-paths-tp4700179p4700189.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: mobile acceleration/rotation

2016-01-14 Thread Peter M. Brigham
On Jan 14, 2016, at 6:06 AM, Ben Rubinstein wrote:

> So if the device is vertical at rest (y=-1), and falls down vertically, it 
> won't register any acceleration because it's already measuring the maximum in 
> that axis?
> 
> In short, it's static acceleration rather than dynamic acceleration, is that 
> correct?

I think it's just plain acceleration, measured by the force exerted on a sensor 
in each of three directions. Remember that Einstein discovered out that gravity 
is indistinguishable from acceleration, in other words, the reading of y=1 is 
what you would get if you were in space and accelerating at 1g along the y axis.

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig


___
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: mobile acceleration/rotation

2016-01-14 Thread Peter M. Brigham
On Jan 14, 2016, at 6:06 AM, Ben Rubinstein wrote:

> So if the device is vertical at rest (y=-1), and falls down vertically, it 
> won't register any acceleration because it's already measuring the maximum in 
> that axis?
> 
> In short, it's static acceleration rather than dynamic acceleration, is that 
> correct?

I think it's just plain acceleration, measured by the force exerted on a sensor 
in each of three directions. Remember that Einstein discovered out that gravity 
is indistinguishable from acceleration, in other words, the reading of y=1 is 
what you would get if you were in space and accelerating at 1g along the y axis.

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig


___
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: Getting textShift To Shift Down?

2016-01-14 Thread Scott Rossi
Thanks for the suggestion, but unfortunately no -- I have the field set up as a 
table which needs a specific top margin so the first line is spaced down a 
distance equal to all lines in the field.

As often happens, Bernd N figured out an arrangement that allows downward 
shifting of text, but it only works with limited range of values and with text 
of the same (or similar) size.  I've since given up what I was trying to get 
working in a single field and am now using two fields, which is goofy but gets 
around the problem.

The reality is, one should be able to designate a chunk of text and move it up 
or down any distance, independently of the surrounding text. Currently you 
can't do that.

Regards,

Scott Rossi
Creative Director
Tactile Media UX/UI Design

> On Jan 14, 2016, at 6:21 PM, Terry Judd  wrote:
> 
> Hi Scott - I think you might be able to do something by manipulating the
> margins of the field as well as the textShift.
> 
> I did a test with 2 basic fields - one containing the text and the other
> the value I wanted to adjust the textshift by...
> 
> Contents of fld 1
> 
> word1 word2 word3
> word1 word2 word3
> 
> word1 word2 word3
> 
> 
> Script of fld 2
> 
> on returnInField
>  lock screen
>  put me into y
>  if (pMargins is empty) or  (y<0)  then put "8,8,0,0" into pMargins #
> default margins
>  put pMargins into tMargins
>  set the textShift of word 2 of line 3 of fld 1 to y
>  if y „ 0 then
>add y to item 2 of tMargins
>  end if
>  set the margins of fld 1 to tMargins
>  unlock screen
> end returnInField
> 
> Šmy test was pretty basic but it seemed to work under these conditions.
> 
> Regards,
> 
> Terry...
> 
> 
> 
> On 15/01/2016 11:41 am, "use-livecode on behalf of Scott Rossi"
> 

Re: Windows 10 file paths

2016-01-14 Thread J. Landman Gay
The file is in the build and Win 7 can find it. Win 10 can't. It isn't 
that the file doesn't exist, it's that Win 10 can't see it.


On 1/14/2016 3:15 PM, Roger Eller wrote:

I don't know when it started, but even in Win7 I have had to include it in
the copy files pane for quite a while.  It seems like it started around LC
6.5 to 6.6 builds.


On Thu, Jan 14, 2016 at 3:48 PM, J. Landman Gay 
wrote:


I need to ensure the user has not deleted the revSecurity.dll file. This
works on Windows 7 and under:

 put "revsecurity.dll" into tWinFile
 put the filename of this stack into tFilepath
 set the itemdel to slash
 put tWinFile into last item of tFilepath
 put there is a file tFilepath into tExists

It fails on Windows 10, which can't find the file. If the user manually
opens the app folder, the file is there. Anyone know why?

Should I be using specialFolderPath("engine") or maybe the new
specialFolderPath("resources")?

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

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


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




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

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


Re: Getting textShift To Shift Down?

2016-01-14 Thread J. Landman Gay

On 1/14/2016 4:27 PM, Scott Rossi wrote:

Anyone have any insight on getting textShift to shift text downward?

I need to vertically align blocks text on a line that use different fonts.
  Whether I select a block of text, or all the text around the selection,
things shift up, but never down.


A positive value should push it down. It seems to sort of work in a 
quick test in LC 7.1.1, but the text next to it gets pushed up so that 
the down-shifted character stays on the baseline and everything else 
rises above it. Turning off fixedLineHeight helps a little.


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

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


Re: Getting textShift To Shift Down?

2016-01-14 Thread Scott Rossi
Unfortunately, what textShift *should* be doing, and what's it's actually
doing are two different things. Trying my simple test stack in 5.5, 6.7.8,
and 8 dp 11 shows the same behavior, so apparently this has been broken
forever.  TextShift should never adjust the lines around a selection, but
that's what it does.

In any event, I still need to shift text down in 7.0.6, so I'm hoping
knows a way to pull this off.  Anyone?

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 1/14/16, 3:53 PM, "use-livecode on behalf of J. Landman Gay"
 wrote:

>On 1/14/2016 4:27 PM, Scott Rossi wrote:
>> Anyone have any insight on getting textShift to shift text downward?
>>
>> I need to vertically align blocks text on a line that use different
>>fonts.
>>   Whether I select a block of text, or all the text around the
>>selection,
>> things shift up, but never down.
>
>A positive value should push it down. It seems to sort of work in a
>quick test in LC 7.1.1, but the text next to it gets pushed up so that
>the down-shifted character stays on the baseline and everything else
>rises above it. Turning off fixedLineHeight helps a little.
>
>-- 
>Jacqueline Landman Gay | jac...@hyperactivesw.com
>HyperActive Software   | http://www.hyperactivesw.com
>
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



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


Message watcher in LC 8

2016-01-14 Thread Alex Tweedly


I'm trying to use the Message Watcher in LC 8 (currently using DP9).

I get a continuous loop of a number of messages, even when nothing is 
being done, which makes it hard to get any useful info.
Is there something I need to do in LC8 to avoid this (other than 
suppress each of these messages).


(btw - rant - why can't I copy/paste from the message watcher output 
field !!! )


The messages in question are
  openstack
respondToFrontScript
  respondToFrontScript_openstack
stackToBeExcluded
  getPreference
  isIDEStack
  getPreference
  openstack
respondToFrontScript
  respondToFrontScript_openstack
stackToBeExcluded
  getPreference
  isIDEStack
  getPreference
and on and on and on 

But, if I click on "Suppress..." in the Message Watcher, then (after 
about a minute's delay while it catches up with outputting all these 
looping messages :-(, followed by Cancel, these messages cease.


Until the next time I change which stack has focus (or something ??) 
when the "loop" starts again.


Thanks for any suggestions
-- Alex


___
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: Widgets Disappear in DP13

2016-01-14 Thread Peter TB Brett

On 2016-01-14 22:46, James Little wrote:

Using 8.0 DP13 on a Mac, a Tree View widget and a Browser widget
disappear when the app is saved and then re-opened in the IDE.  I’ve
just confirmed this with a new test stack.  I saw this yesterday in
the regular app that I’m working on.  The widgets are no longer
present in the Project Browser either.


Hmm, yes, this sounds like it's probably my bug -- I think your stack 
might be getting saved in 7.0 stack format, which doesn't know how to 
store widgets.


Could you please file a bug report with the steps to reproduce (and the 
affected stack, if possible?)


As a workaround, you could try using:

save the mousestack with newest format

in the message box (with your mouse over the stack in question) to force 
it to be saved in 8.0 stack format.


   Peter

--
Dr Peter Brett 
LiveCode Open Source Team

LiveCode on reddit! 

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

Re: Windows 10 file paths

2016-01-14 Thread J. Landman Gay

On 1/14/2016 4:55 PM, tbodine wrote:

Is the dll code signed? Perhaps higher security settings are blocking its
installation or use for that reason.


I don't know, it's got whatever LC assigns to it when it saves a standalone.

The file is there, the user can see it in the folder. The script just 
checks for its existence but doesn't try to use it for anything.


New data has come in since I first wrote: there are lots of Windows 10 
users who have no problem with it, so it is something related to 
specific machines. We have 3 instances of the problem out of maybe a 
couple hundred Windows 10 users.


Additional info: one user who had the failure is able to run without any 
problems if he copies the app folder to a thumb drive and runs it from 
there. So a permissions issue does seem to be relevant...but why would 
LC report the file doesn't even exist? Does "there is a file" on Windows 
return "false" if the user doesn't have permission to access the file?


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

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


Re: Windows 10 file paths

2016-01-14 Thread Mark Wieder

On 01/14/2016 04:07 PM, J. Landman Gay wrote:


Does "there is a file" on Windows
return "false" if the user doesn't have permission to access the file?


I would hope so.
Do you get anything interesting by running "attrib"?

--
 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: Widgets Disappear in DP13

2016-01-14 Thread James Little

Using 8.0 DP13 on a Mac, a Tree View widget and a Browser widget disappear when 
the app is saved and then re-opened in the IDE.  I’ve just confirmed this with 
a new test stack.  I saw this yesterday in the regular app that I’m working on. 
 The widgets are no longer present in the Project Browser either.  

Jim L 

 
___
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: Getting textShift To Shift Down?

2016-01-14 Thread BNig
Hi Scott,

the following works for me in 7.0.6

textSize 14, textheight 28, fixed lineHeight

e.g. 

-
set the textShift of char 1 to - 1 of field 1 to -9
-

then a slider with values from - 9 to - 3


on scrollbarDrag pValue
   set the textShift of word 2 of line 1 of field 1 to pValue
end scrollbarDrag


this pushes word 2 of line 1 of field 1 down. If I use values above - 3,
e.g. -2 or 0 then it pushes the text up again.

Maybe this is an option to set the textshift of the whole text to a negative
number and then move down the text by setting it to another negative number
but not as high as the whole text.

Kind regards
Bernd



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Getting-textShift-To-Shift-Down-tp4700184p4700193.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: Windows 10 file paths

2016-01-14 Thread J. Landman Gay

On 1/14/2016 7:04 PM, Mark Wieder wrote:

On 01/14/2016 04:07 PM, J. Landman Gay wrote:


Does "there is a file" on Windows
return "false" if the user doesn't have permission to access the file?


I would hope so.


Okay, just to finish this up, I found the definitive answer in the 
Microsoft docs:


"File.Exists Method (String)
Type: System.Boolean

true if the caller has the required permissions and path contains the 
name of an existing file; otherwise, false. This method also returns 
false if path is null, an invalid path, or a zero-length string. If the 
caller does not have sufficient permissions to read the specified file, 
no exception is thrown and the method returns false regardless of the 
existence of path."


Gah.

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

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


Re: Getting textShift To Shift Down?

2016-01-14 Thread J. Landman Gay

On 1/14/2016 10:05 PM, Scott Rossi wrote:

The reality is, one should be able to designate a chunk of text and
move it up or down any distance, independently of the surrounding
text. Currently you can't do that.


It might be time for a bug report. What you expect seems pretty 
realistic to me.


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

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


Re: Windows 10 file paths

2016-01-14 Thread J. Landman Gay

On 1/14/2016 7:04 PM, Mark Wieder wrote:

On 01/14/2016 04:07 PM, J. Landman Gay wrote:


Does "there is a file" on Windows
return "false" if the user doesn't have permission to access the file?


I would hope so.
Do you get anything interesting by running "attrib"?



I'm not sure how to test that, since it all works fine for everyone 
except those 3 people, and they aren't users we can actually ask to test 
for us.


But I did some searches and found several indirect references to the 
same problem in other languages (C#, php, java) and their "exists" 
functions also return false if the user doesn't have permission to 
access the file. I have to assume that's what's happening here too, it's 
the only explanation.


We've asked one user to move the app folder to the Documents folder, so 
we'll see how that goes. We think at least some of the affected users 
may be running on public computers, which are likely restricting 
permissions (which is why the app works on their thumb drives I guess.)


The surprising bit to me was that "there is a file" can return false, 
even if it's right there in front of you. I'd have thought that it would 
always return true, whether or not you could run it.


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

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


Re: Windows 10 file paths

2016-01-14 Thread Dave Kilroy
Yep I think I've also been including it specifically in 'copy files' for a
good while - the other thing to check is whether the user has allowed their
anti-virus to block the .dll, if it was blocked it wouldn't be allowed to
function even if it was present



Roger Eller wrote
> I don't know when it started, but even in Win7 I have had to include it in
> the copy files pane for quite a while.  It seems like it started around LC
> 6.5 to 6.6 builds.
> 
> 
> On Thu, Jan 14, 2016 at 3:48 PM, J. Landman Gay 

> jacque@

> 
> wrote:
> 
>> I need to ensure the user has not deleted the revSecurity.dll file. This
>> works on Windows 7 and under:
>>
>> put "revsecurity.dll" into tWinFile
>> put the filename of this stack into tFilepath
>> set the itemdel to slash
>> put tWinFile into last item of tFilepath
>> put there is a file tFilepath into tExists
>>
>> It fails on Windows 10, which can't find the file. If the user manually
>> opens the app folder, the file is there. Anyone know why?
>>
>> Should I be using specialFolderPath("engine") or maybe the new
>> specialFolderPath("resources")?
>>
>> --
>> Jacqueline Landman Gay | 

> jacque@

>> HyperActive Software   | http://www.hyperactivesw.com
>>
>> ___
>> use-livecode mailing list
>> 

> use-livecode@.runrev

>> 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@.runrev

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





-
"The difference between genius and stupidity is; genius has its limits." - 
Albert Einstein
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Windows-10-file-paths-tp4700179p4700185.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: Getting textShift To Shift Down?

2016-01-14 Thread Scott Rossi
Thanks Bernd, but if I understand what you're suggesting, I've already
tried this and it doesn't appear to work.  Using different textShift
values for the selected text and surrounding text just seems to average
out, always moving text upward, never downward.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 1/14/16, 4:04 PM, "use-livecode on behalf of BNig"
 wrote:

>Hi Scott,
>
>the following works for me in 7.0.6
>
>textSize 14, textheight 28, fixed lineHeight
>
>e.g. 
>
>-
>set the textShift of char 1 to - 1 of field 1 to -9
>-
>
>then a slider with values from - 9 to - 3
>
>
>on scrollbarDrag pValue
>   set the textShift of word 2 of line 1 of field 1 to pValue
>end scrollbarDrag
>
>
>this pushes word 2 of line 1 of field 1 down. If I use values above - 3,
>e.g. -2 or 0 then it pushes the text up again.
>
>Maybe this is an option to set the textshift of the whole text to a
>negative
>number and then move down the text by setting it to another negative
>number
>but not as high as the whole text.
>
>Kind regards
>Bernd
>
>
>
>--
>View this message in context:
>http://runtime-revolution.278305.n4.nabble.com/Getting-textShift-To-Shift-
>Down-tp4700184p4700193.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: Getting textShift To Shift Down?

2016-01-14 Thread [-hh]
Right out from my head, can not test at the moment.

The hard way: The direct input of the htmltext should always work (as long as 
your on one line with the chunk).

wordOne put me down wordThree"  -- down
wordOne put me down wordThree"  -- up

If I remember right "sup" instead of "sub" (what works in HTML) doesn't work 
with LC,
it's not really needed, bt good to know.
Anyway, look at the htmltext to see what's wrong with you current LC version.

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


Re: Windows 10 file paths

2016-01-14 Thread J. Landman Gay

On 1/14/2016 2:39 PM, Dave Kilroy wrote:

I haven't messed with LC apps and Win10 yet (but my old LC apps still work on
it) - but what you describe reminds me strongly of virtualisation headaches
when Vista came out
http://newsletters.livecode.com/march/issue21/newsletter3.php  - if nothing
has changed in your app, could there be something different either in the
user's settings in Win10 or how Win10 is managing apps?


Something must have changed, since the original code works fine in 
Windows 7 and Vista. Virtualisation was already in place in those versions.


The only other thing I can think of is that the user is trying to run 
the app from inside the zip file. I'm not sure what error we'd get if 
that were the case, I need to check.


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

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


Re: Setting up for android development on OS X 10.10 - help needed

2016-01-14 Thread Terry Judd
Thanks  very much Panos - I had another quick try last night following your 
suggestions and met with some success. It looks like I’m affected by bug 16688 
as you suggest so no joy with the simulator (I didn’t get around to moving back 
to LC 7.1.0) but changing cables did the trick with getting my Android phone to 
show up on the devices list. My app’s still not functioning correctly but at 
least it’s loading on my device. With any luck I can debug any remaining issues 
(my programming inadequacies) from there.

Best regards,

Terry…

Terry Judd  | Senior Lecturer in Medical Education
Department of Medical 
Education
The University of Melbourne
M: 0435 961 594  |  E: terry.j...@unimelb.edu.au
Publications

On 14/01/2016 9:37 pm, "use-livecode on behalf of panagiotis merakos" 

 on behalf of merak...@gmail.com> wrote:

Hi Terry,

Regarding the crash on startup when deploying to android simulator:
What version of Android is running on the simulator? I have experienced
crashes *only* when deploying to android 2.3.3 simulator. Other android
versions work as expected. If you experience the crash not only in 2.3.3
simulator, but also in *any* android version less or equal to 4.1.3, then
you are probably affected by bug 16688:
http://quality.livecode.com/show_bug.cgi?id=16688 which we cannot
reproduce, but according to the bug report it affects *only* LiveCode 7.1.1
releases (works fine in 7.1.0).

Regarding the problem of not seeing your devices under the
development>test target
menu:
What happens if you type in the OS X terminal : "adb devices" ?

If you see an empty list, then the problem is that your devices are not
recognized. I have experienced this problem a number of times. I would
suggest using a different android cable. If this does not work, type in the
terminal:

"adb kill-server"

and then

"adb start-server"

Hope this helps,
Panos
--

On Thu, Jan 14, 2016 at 1:21 AM, Terry Judd 
>
wrote:

OK - so I did manage to find and install a copy of Java 6 (I deleted the
existing newer version of Java and then did a default install) and now the
JDK path bit in the mobile support pane of
the LC preferences window has a value in it but everything else remains
the same. Even the simplest app crashes on the Android simulator.

I¹m also trying to get a real device to show up under the development>test
target menu without success. I have a couple of Samsung phones (S2 and S4
mini) both with usb debugging enabled but neither shows up in the test
target menu when connected. Any ideas?

Terry...

On 14/01/2016 11:45 am, "use-livecode on behalf of Terry Judd²

 on behalf of
terry.j...@unimelb.edu.au> wrote:

>Hi all ­ after a long break from developing for Android I need to get up
>and running again but seem to be getting nowhere. I have all the Android
>sdk stuff installed and updated and installed Java but when I go to
>configure things in LC it accepts the location of the Android SDK root
>folder but the JDK path stays empty. I can build an app ok but even the
>simplest one will immediately crash (on the simulator ­ I¹m still trying
>to get my device to show up on the target list).
>
>A search of the forums suggests that the empty path thing this is a known
>issue( from some months ago) and a post (reply) from Sebastian in late
>November last year suggested that you need to install the now deprecated
>Java 6 to undertake Android development in LC. I¹d try that if I could
>only find somewhere to download Java 6 from!
>
>Does anyone have this stuff working on OS X 10.10 (or later) and care to
>provide some tips on how they got it to work?
>
>Best regards,
>
>TerryŠ
>
>Terry Judd  | Senior Lecturer in Medical Education
>Department of Medical
>Education
>The University of Melbourne
>M: 0435 961 594  |  E:
>terry.j...@unimelb.edu.au
>Publications<
https://scholar.google.com.au/citations?user=XC5s6wwJ=
>en>
>___
>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:

Re: Windows 10 file paths

2016-01-14 Thread Roger Eller
I don't know when it started, but even in Win7 I have had to include it in
the copy files pane for quite a while.  It seems like it started around LC
6.5 to 6.6 builds.


On Thu, Jan 14, 2016 at 3:48 PM, J. Landman Gay 
wrote:

> I need to ensure the user has not deleted the revSecurity.dll file. This
> works on Windows 7 and under:
>
> put "revsecurity.dll" into tWinFile
> put the filename of this stack into tFilepath
> set the itemdel to slash
> put tWinFile into last item of tFilepath
> put there is a file tFilepath into tExists
>
> It fails on Windows 10, which can't find the file. If the user manually
> opens the app folder, the file is there. Anyone know why?
>
> Should I be using specialFolderPath("engine") or maybe the new
> specialFolderPath("resources")?
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Windows 10 file paths

2016-01-14 Thread J. Landman Gay
I need to ensure the user has not deleted the revSecurity.dll file. This 
works on Windows 7 and under:


put "revsecurity.dll" into tWinFile
put the filename of this stack into tFilepath
set the itemdel to slash
put tWinFile into last item of tFilepath
put there is a file tFilepath into tExists

It fails on Windows 10, which can't find the file. If the user manually 
opens the app folder, the file is there. Anyone know why?


Should I be using specialFolderPath("engine") or maybe the new 
specialFolderPath("resources")?


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

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


Re: Windows 10 file paths

2016-01-14 Thread Dave Kilroy
I haven't messed with LC apps and Win10 yet (but my old LC apps still work on
it) - but what you describe reminds me strongly of virtualisation headaches
when Vista came out
http://newsletters.livecode.com/march/issue21/newsletter3.php - if nothing
has changed in your app, could there be something different either in the
user's settings in Win10 or how Win10 is managing apps?



-
"The difference between genius and stupidity is; genius has its limits." - 
Albert Einstein
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Windows-10-file-paths-tp4700179p4700180.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: Release: 8.0 DP 13

2016-01-14 Thread Richmond

On 14/01/16 05:31, Alejandro Tejada wrote:

How could I uninstall a previous version
of LC8 under Ubuntu 14.04?

Thanks in advance!

Al



Just download it from: http://downloads.livecode.com/livecode/

set the executable bit, and get on with things.

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


Re: DP13 breaks GLX framework

2016-01-14 Thread Trevor DeVore
On Thursday, January 14, 2016, jameshale  wrote:

> ok, the error I am getting is"
> button "glxappManagedEngineMessages": execution error at line 7342 (Chunk:
> can't find background), char 9
>
> I can of course not find a line 7342 in a script that has only 279 lines.
> The button referred to is in the 'scripts' card in a group 'frontscripts'
> of
> the 'glxapplicationframework.dat' stack.
>

James,

Does your stack (or card) script have a line 7342? Look and see if that
line is trying to reference an object that doesn't exist.

-- 
Trevor DeVore
___
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: DP13 breaks GLX framework

2016-01-14 Thread Ali Lloyd
I can confirm this is a DP 13 regression, caused by the fix to bug 16351 (
https://github.com/livecode/livecode/pull/3448)

The error is occurring in the data grid behavior.

I think problem is something to do with 'the target' and 'me' evaluating to
different things in a context where they should evaluate to the same thing.

On Thu, Jan 14, 2016 at 1:20 PM jameshale  wrote:

> ok, the error I am getting is"
> button "glxappManagedEngineMessages": execution error at line 7342 (Chunk:
> can't find background), char 9
>
> I can of course not find a line 7342 in a script that has only 279 lines.
> The button referred to is in the 'scripts' card in a group 'frontscripts'
> of
> the 'glxapplicationframework.dat' stack.
>
> The calling chain is...
> glxApplicationFramework ->glxapp_loadApplication
> application->glxapp_openApplication
> glxappManagedEngineMessages->preopenstack
>
> I have tried tracing the path but it seems to be all ok. I can't find any
> error, but see below.
>
> If I launch and kill the handler when the script debugger comes up and then
> call my "PreOpenWindow" handler (which resides in my main stack "program")
> then my app completes its correct loading sequence and all is fine.
> Note: before I do this my main stack has opened, it is just not
> initialised.
> Running the preopenwindow handler completes the initialisation.
>
> While tracing the launch progress there are many 'try..catch..end try'
> blocks.
> They are all quite simple and of the form..
>try
>   some handler or function call
>catch e
>   ThrowError e
>end TRY
>
> In almost quite a few cases I would go to the "ThrowError e" line and into
> the 'ThrowError' handler.
> However nothing is in the 'e' parameter, at least nothing until the end.
>
>
>
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/DP13-breaks-GLX-framework-tp4700166p4700169.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