Re: Swipe gestures on a mobile scroller

2016-11-19 Thread J. Landman Gay

BTW, there appears to be a related bug that got fixed:


MouseUp wasn't being sent when a native scroller was active. It looks 
like they fixed that one but forgot to check related swipe mouseUps. 
Hopefully the team can use the same fix again.



On 11/19/16 10:06 PM, J. Landman Gay wrote:

Well, it's good to know I'm not alone I guess. ;) I just wish I'd asked
earlier, before I spent some hours tracking down the problem. I'd like
to think the omission of mouseUp/touchEnd messages was an oversight,
since we do get all the other mouse messages.

I haven't tried Paul's workaround. I'm not sure how it could work, since
the horizontal scroll of my field is always zero. It doesn't scroll
horizontally at all.

The fix should really be in the engine though.

On 11/19/16 8:53 PM, Terry Judd wrote:

Hi Jacque - I struggled with this for ages on an iOS and android app
earlier in the year (vertical scrolling content with side-to-side
swiping for navigation (a la iCal). After trying a truckload of
different approaches (hacks) I mostly got it to work on iOS (I still
got intermittent failures) and I eventually gave up altogether on
android and used left and right buttons instead. Things might have
improved then but based on your experience it sounds unlikely. Happy
to dig out my hacky iOS code if that helps but engine level fixes
would be better.

Terry...

Sent from my iPad


On 20 Nov 2016, at 6:39 AM, J. Landman Gay
 wrote:


On 11/19/16 2:18 AM, J. Landman Gay wrote: I have a native mobile
scroller handling the vertical scroll of a field. I want to add
swipe gestures to change cards. When swiping, I get a mouseDown,
sporadic mouseMoves (the logging might be interfering, not sure,
but after a couple they stop) and no mouseUp at all.

I tried using touchStart/touchMove/touchEnd instead and the
result is the same. TouchStart always fires, touchMove is iffy,
and touchEnd never happens.

Without the end message I can't calculate the direction. Plain
taps work fine with either set of messages, I do get
mouseUp/touchEnd if it's a tap. It's only swipes that don't
report.

The scroller has its hScroll property set to false if that
matters, as I don't want horizontal scrolling but I do want to
track the touch direction.


The problem has apparently been around for quite some time:


Anyone have a workaround?

-- 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: Swipe gestures on a mobile scroller

2016-11-19 Thread J. Landman Gay
Well, it's good to know I'm not alone I guess. ;) I just wish I'd asked 
earlier, before I spent some hours tracking down the problem. I'd like 
to think the omission of mouseUp/touchEnd messages was an oversight, 
since we do get all the other mouse messages.


I haven't tried Paul's workaround. I'm not sure how it could work, since 
the horizontal scroll of my field is always zero. It doesn't scroll 
horizontally at all.


The fix should really be in the engine though.

On 11/19/16 8:53 PM, Terry Judd wrote:

Hi Jacque - I struggled with this for ages on an iOS and android app
earlier in the year (vertical scrolling content with side-to-side
swiping for navigation (a la iCal). After trying a truckload of
different approaches (hacks) I mostly got it to work on iOS (I still
got intermittent failures) and I eventually gave up altogether on
android and used left and right buttons instead. Things might have
improved then but based on your experience it sounds unlikely. Happy
to dig out my hacky iOS code if that helps but engine level fixes
would be better.

Terry...

Sent from my iPad


On 20 Nov 2016, at 6:39 AM, J. Landman Gay
 wrote:


On 11/19/16 2:18 AM, J. Landman Gay wrote: I have a native mobile
scroller handling the vertical scroll of a field. I want to add
swipe gestures to change cards. When swiping, I get a mouseDown,
sporadic mouseMoves (the logging might be interfering, not sure,
but after a couple they stop) and no mouseUp at all.

I tried using touchStart/touchMove/touchEnd instead and the
result is the same. TouchStart always fires, touchMove is iffy,
and touchEnd never happens.

Without the end message I can't calculate the direction. Plain
taps work fine with either set of messages, I do get
mouseUp/touchEnd if it's a tap. It's only swipes that don't
report.

The scroller has its hScroll property set to false if that
matters, as I don't want horizontal scrolling but I do want to
track the touch direction.


The problem has apparently been around for quite some time:


Anyone have a workaround?

-- 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: Swipe gestures on a mobile scroller

2016-11-19 Thread Terry Judd
Hi Jacque - I struggled with this for ages on an iOS and android app earlier in 
the year (vertical scrolling content with side-to-side swiping for navigation 
(a la iCal). After trying a truckload of different approaches (hacks) I mostly 
got it to work on iOS (I still got intermittent failures) and I eventually gave 
up altogether on android and used left and right buttons instead. Things might 
have improved then but based on your experience it sounds unlikely. Happy to 
dig out my hacky iOS code if that helps but engine level fixes would be better.

Terry...

Sent from my iPad

> On 20 Nov 2016, at 6:39 AM, J. Landman Gay  wrote:
> 
>> On 11/19/16 2:18 AM, J. Landman Gay wrote:
>> I have a native mobile scroller handling the vertical scroll of a field.
>> I want to add swipe gestures to change cards. When swiping, I get a
>> mouseDown, sporadic mouseMoves (the logging might be interfering, not
>> sure, but after a couple they stop) and no mouseUp at all.
>> 
>> I tried using touchStart/touchMove/touchEnd instead and the result is
>> the same. TouchStart always fires, touchMove is iffy, and touchEnd never
>> happens.
>> 
>> Without the end message I can't calculate the direction. Plain taps work
>> fine with either set of messages, I do get mouseUp/touchEnd if it's a
>> tap. It's only swipes that don't report.
>> 
>> The scroller has its hScroll property set to false if that matters, as I
>> don't want horizontal scrolling but I do want to track the touch direction.
> 
> The problem has apparently been around for quite some time:
> 
> 
> Anyone have a workaround?
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Type on an angle

2016-11-19 Thread Richard Gaskin

Roger Eller wrote:

> I would much rather have a native angle property as a part of
> the text field.

That would be cool, but could we perhaps have formatting properties first?

I have maybe two apps across all my computing devices that let me edit 
rotated text, but I have dozens that display text in a variety of 
formats (date, phone number, currency, etc.).


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

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


Re: Type on an angle

2016-11-19 Thread Roger Eller
I would much rather have a native angle property as a part of the text
field.  Live text on an angle like Adobe Photoshop and Illustrator have
would enable a whole world of design apps with LiveCode.  I've used the
snapshot workaround for 15 years, and it has never impressed anyone.

~Roger


On Sat, Nov 19, 2016 at 6:57 PM, Colin Holgate 
wrote:

> Could you import snapshot from rectangle the rect of field 1, then set the
> angle of the image?
>
> You would need to add the left and top of the card window I guess, to get
> the right part of the screen.
>
___
use-livecode mailing list
use-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: Free Let's Encrypt SSL Certificates for On-Rev?

2016-11-19 Thread Alex Tweedly

I know it's an old conversation from Jnuary - but here's an update ...

I recently ask sup...@on-rev.com and got the following reply from David :


The way this works is that all sites under your account which are not currently 
secured
with a preexisting SSL certificate will be automatically set up with a Let's 
Encrypt
certificate. This process is entirely automated and does not require any manual 
setup
from yourself, and the certificates are automatically renewed when they are 
about to
expire.

This can be set up for On-Rev accounts as well as Livecode Hosting accounts. I 
can
enable this for your account if you would like me to do so.
So it looks as though on-rev does indeed use SIN (or equivalent) to 
allow use on multiple shared domains without static IP addresses.


And it also looks as though they still don't support cPanel access, or 
even requests - but so long as they accept email requests, I don't mind 
that :-)


-- Alex.



On 28/01/2016 02:34, Mark Wieder wrote:

On 01/27/2016 04:10 PM, Alex Shaw wrote:


Also, it would be nice to support the free Let's Encrypt SSL
Certificates via cpanel..


Server certificates normally need a static ip address. Some other 
hosting sites have shims installed to allow you to have certs without 
a static address, but I wouldn't count on on-rev putting something 
that technical into place. It seems they haven't even gotten the hang 
of failovers yet.





___
use-livecode mailing list
use-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: Type on an angle

2016-11-19 Thread Colin Holgate
Could you import snapshot from rectangle the rect of field 1, then set the 
angle of the image?

You would need to add the left and top of the card window I guess, to get the 
right part of the screen.
___
use-livecode mailing list
use-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: Swipe gestures on a mobile scroller

2016-11-19 Thread Paul Hibbert

> On Nov 19, 2016, at 11:38 AM, J. Landman Gay  wrote:
> 
> Anyone have a workaround?


Kind of! I built an iOS app that needed to display some long fields of text, I 
built some pages based around this lesson:

http://lessons.livecode.com/m/4069/l/94412-creating-a-native-scroller-to-scroll-a-field?id=94412-creating-a-native-scroller-to-scroll-a-field

I had the same problem with navigating cards using swipe gestures because the 
field covered the majority of the card, I managed to work around the problem by 
modifying the scrollerDidScroll handler to:

on scrollerDidScroll hOffset, vOffset
// When the user scrolls horizontally, navigate in the desired direction

if the hScroll of group "scrollArea" <0 then // Detect the horizontal swipe

   moveBack // Stack handler to move back to Index card

 else if the hScroll of group "scrollArea" >0 then

   moveForward // Stack handler to move to next card

end if

// When the user swipes vertically, scroll the displayed content

set the vScroll of group "scrollArea" to vOffset

end scrollerDidScroll

To make this work I had to set these properties on the text field;
traversalOn “false”
autoHilite “false”
lock text “true”
So this may not work if you need the user to be able to modify the text unless 
you can give them a method of changing between edit/navigate modes.

I’ve managed to update the lesson file, it's on dropbox, so if it helps here it 
is for you to test:
https://www.dropbox.com/s/ak234nlwbgfko3p/Scroll%20Test.livecode?dl=0 


It does seem to be reasonably reliable, but not if you tend to swipe too fast, 
I have’t tried it on Android though.

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: Type on an angle

2016-11-19 Thread J. Landman Gay

On 11/19/16 4:07 PM, Monte Goulding wrote:



On 20 Nov. 2016, at 9:01 am, Sannyasin Brahmanathaswami  
wrote:

Any solutions?


Do you need to be able to type or just show angled text? Angled text is very 
easy to do in a widget. I vaguely recall someone in the community releasing an 
angled text label. Bernd?


It was -hh (Hermann) and it's somewhere in the forums.

--
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: Type on an angle

2016-11-19 Thread Richard Gaskin

Sannyasin Brahmanathaswami wrote:

> Working on GUI today I created a field and thinking it would be cool
> to have it run sideways at an angle along the edge of an element in
> the background photo… I put this into the msg Box
>
> set the angle of fld "cardTitle" to 66
...
> "Why is LC's graphic UI stuck in circa 1995!
> Why is it s hard to build good looking UI in this environment!"

Good point.  Far better to make software with Adobe Illustrator. ;)

Years ago I started with something like this:

   import snapshot from fld 1
   set the angle of last image to 90

...and considered extending that to a custom control driven by a 
behavior script in which a group had both a field for text entry and a 
bitmap for display; double-click hides the bitmap and shows the field 
for editing, closeField hides the field and re-renders the bitmap.  I 
wound up not needing it, but definitely doable with a very convenient 
result.


And like Monte said, with LC Builder you get direct access to Skia, so 
you could render with printer-quality output.


If you really want this I'd wager you could make it in an afternoon, 
certainly far less time than you'd spend doing it in C, and infinitely 
less time than you'd spend trying to do app development with Adobe 
Illustrator. :)


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

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

Re: lcGoogleDrive, Livecode for FM, etc.

2016-11-19 Thread Monte Goulding

> On 20 Nov. 2016, at 9:15 am, Roger Eller  wrote:
> 
> I have no use at all for FM, but a lcGoogleDrive would be just wonderful.

Cool, with the OAuth2 library + JSON <-> Array web services aren’t that 
complicated. It’s largely just a matter or reading the API docs from there to 
see how to do what you want to do.

Here’s the example from the OAuth2 library which posts a message to slack:

constant kAuthURL = "https://slack.com/oauth/authorize";
constant kTokenURL = "https://slack.com/api/oauth.access";
constant kClientID = "X."
constant kClientSecret = "X"
constant kScopes = "incoming-webhook"

OAuth2 kAuthURL, kTokenURL, kClientID, kClientSecret, kScopes, 54303
if the result is not empty then
   answer error "Not authorized!" 
else
   local tAuth
   put it into tAuth
   local tMessage
   ask question "What do you want to send?"
   if it is empty then
  exit mouseUp
   end if
   
   put it into tMessage["text"]
   put ArrayToJSON(tMessage) into tMessage
   
   set the httpHeaders to "Content-type: application/json" & \
 return & "Authorization: token " & sAuth["access_token"]
   post tMessage to url tAuth["incoming_webhook"]["url"]
end if
___
use-livecode mailing list
use-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: lcGoogleDrive, Livecode for FM, etc.

2016-11-19 Thread Roger Eller
I have no use at all for FM, but a lcGoogleDrive would be just wonderful.

~Roger


On Sat, Nov 19, 2016 at 5:04 PM, Monte Goulding  wrote:

>
> > On 20 Nov. 2016, at 1:13 am, Alex Tweedly  wrote:
> >
> > Wow ! Terrific. Like I said, I would have been happy to pay for extra
> compnents, so to hear that they will be included, and in the Community
> version, is better than I would have hoped for
>
> I should clarify that at the moment there hasn’t been any discussion of
> making the LiveCode for FM pre-canned custom components generally available
> to the rest of the community although the PDF selection dialog is the new
> XPDF demo stack. While I only see benefits in doing so I’m not the one that
> makes these decisions ;-) It will probably also take us a while to figure
> out a good plan for providing examples in the IDE that magically turn into
> custom components when we build LiveCode for FM. There’s also some
> decisions to be made about which edition things go into.
>
> They are intended to be both examples and by the end of the beta period
> (if not yet already) solid features to add to a FileMaker solution. The
> idea being that there will likely be a percentage of people buying LiveCode
> for FM that just want to use the default set of components.
>
> As examples they are just as good for regular LiveCode as they are for
> LiveCode for FM. The main difference with FileMaker being the way data is
> passed back and forth. Obviously if we can get the wider community adding
> extra APIs  to the google drive library (it currently only has upload file
> and export as PDF along with the file/folder picker) or wrapping new web
> services leveraging the oauth2 library then that’s a win for everyone.
>
> 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: Type on an angle

2016-11-19 Thread Monte Goulding

> On 20 Nov. 2016, at 9:01 am, Sannyasin Brahmanathaswami  
> wrote:
> 
> Any solutions?

Do you need to be able to type or just show angled text? Angled text is very 
easy to do in a widget. I vaguely recall someone in the community releasing an 
angled text label. Bernd?

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: lcGoogleDrive, Livecode for FM, etc.

2016-11-19 Thread Monte Goulding

> On 20 Nov. 2016, at 1:13 am, Alex Tweedly  wrote:
> 
> Wow ! Terrific. Like I said, I would have been happy to pay for extra 
> compnents, so to hear that they will be included, and in the Community 
> version, is better than I would have hoped for

I should clarify that at the moment there hasn’t been any discussion of making 
the LiveCode for FM pre-canned custom components generally available to the 
rest of the community although the PDF selection dialog is the new XPDF demo 
stack. While I only see benefits in doing so I’m not the one that makes these 
decisions ;-) It will probably also take us a while to figure out a good plan 
for providing examples in the IDE that magically turn into custom components 
when we build LiveCode for FM. There’s also some decisions to be made about 
which edition things go into.

They are intended to be both examples and by the end of the beta period (if not 
yet already) solid features to add to a FileMaker solution. The idea being that 
there will likely be a percentage of people buying LiveCode for FM that just 
want to use the default set of components.

As examples they are just as good for regular LiveCode as they are for LiveCode 
for FM. The main difference with FileMaker being the way data is passed back 
and forth. Obviously if we can get the wider community adding extra APIs  to 
the google drive library (it currently only has upload file and export as PDF 
along with the file/folder picker) or wrapping new web services leveraging the 
oauth2 library then that’s a win for everyone.

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

Type on an angle

2016-11-19 Thread Sannyasin Brahmanathaswami
Working on GUI today I created a field and thinking it would be cool to have it 
run sideways at an angle along the edge of an element in the background photo… 
I put this into the msg Box

set the angle of fld "cardTitle" to 66

Of course, duh, got this:

Message execution error:
Error description: Object: object does not have this property

went to the dictionary: indeed there seems to be no way to type at an angle.

[

OT: A 20-year-old lizard from the underworld starts to slither on my skin;
an old crag with hooked nose stirs a rant pot that starts to boil over,
the slim in the pot flows over onto floor and forming these words:

"Why is LC's graphic UI stuck in circa 1995!
Why is it s hard to build good looking UI in this environment!"

The wizard jumps down from his nap on the ceiling, quickly waves his wand
"Have You No Patience? Some things take eons!"

The little GUI smithy hangs his head, not one to be shut up by a wizard, saying
"True, but we will all be dead by then."

]

Any solutions?

BR

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

Re: GUI Design Tasks Send Back - Bring Forward

2016-11-19 Thread Roger Eller
Besides wanting to only use the mouse for re-layering, you can already demo
your layered images by clicking and pressing Control-[ or Control-].

~Roger


On Sat, Nov 19, 2016 at 4:21 PM, Sannyasin Brahmanathaswami <
bra...@hindu.org> wrote:

> when I switch from code to building GUI.. we are in an world of objects.
> Is it only me that wishes we could
>
> a) import and image
> b) click right click on the image
>  --arrange
> send back
> bring forward
>
> ?
>
> Use case is in a rapid prototyping/design  environment where e.g. you have
> a background image with a group on top. You need to show your lead
> stackholder(s)  how it looks offer options
>
> …so you group all the controls and then create 5 cards, but now if you
> want to swap out the image in the back to show everyone different options,
> you import to the Object --> arrange, send to back to push it all the way
> down to layer 1.
>
> Am I the only one wishing we had this in a contextual menu?
>
> I know a lot of you build your GUI tools into a front script that you call
> on start up which then overrides or augments the IDE.
>
> How can I get the "arrange" option in contextual menus for all objects?
>
> worth of a feature request?
>
> BR
>
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

GUI Design Tasks Send Back - Bring Forward

2016-11-19 Thread Sannyasin Brahmanathaswami
when I switch from code to building GUI.. we are in an world of objects.  Is it 
only me that wishes we could

a) import and image
b) click right click on the image
 --arrange
send back
bring forward

?

Use case is in a rapid prototyping/design  environment where e.g. you have a 
background image with a group on top. You need to show your lead stackholder(s) 
 how it looks offer options

…so you group all the controls and then create 5 cards, but now if you want to 
swap out the image in the back to show everyone different options, you import 
to the Object --> arrange, send to back to push it all the way down to layer 1.

Am I the only one wishing we had this in a contextual menu?

I know a lot of you build your GUI tools into a front script that you call on 
start up which then overrides or augments the IDE.

How can I get the "arrange" option in contextual menus for all objects?

worth of a feature request?

BR

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

Re: Swipe gestures on a mobile scroller

2016-11-19 Thread J. Landman Gay

On 11/19/16 2:18 AM, J. Landman Gay wrote:

I have a native mobile scroller handling the vertical scroll of a field.
I want to add swipe gestures to change cards. When swiping, I get a
mouseDown, sporadic mouseMoves (the logging might be interfering, not
sure, but after a couple they stop) and no mouseUp at all.

I tried using touchStart/touchMove/touchEnd instead and the result is
the same. TouchStart always fires, touchMove is iffy, and touchEnd never
happens.

Without the end message I can't calculate the direction. Plain taps work
fine with either set of messages, I do get mouseUp/touchEnd if it's a
tap. It's only swipes that don't report.

The scroller has its hScroll property set to false if that matters, as I
don't want horizontal scrolling but I do want to track the touch direction.



The problem has apparently been around for quite some time:


Anyone have a workaround?

--
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: Macintosh support

2016-11-19 Thread Peter TB Brett



On 19/11/2016 15:13, Richmond wrote:

I would like to know why Livecode 9 has dropped support for all versions
of Mac OS before 10.9.


LiveCode 9 may still run on OS X 10.7, for the time being -- we just 
don't provide any official support for (or run tests on) that platform 
any more.


The development team has to regularly move the LiveCode build system to 
newer versions of Xcode and newer versions of the MacOS SDK, so that 
they can keep LiveCode working well with new versions of MacOS and add 
new features requested by users.  Occasionally this means that older 
versions of OS X won't run LiveCode any more.


With a very small development team and quality assurance team, we have 
to be careful to keep the number and variety of supported platform 
configurations for LiveCode within a manageable limit.  Occasionally 
this means we have to stop providing technical support for running 
LiveCode on older versions of OS X.


Apple stopped providing any patches or security fixes for OS X 10.8 over 
a year ago, and it contains many highly-exploitable vulnerabilities.  I 
*very strongly* recommend against using versions of OS X prior to OS X 
10.10.  If your hardware can't run OS X 10.12, I recommend upgrading its 
operating system to Linux.


You can find more information on our platform support plans in my 
recent-ish blog post [1], and in due course we will be adding some pages 
to the website that show the same information in a quicker-to-find way.


Peter

[1] https://livecode.com/updated-platform-support-policy/

--
Dr Peter Brett 
LiveCode Technical Project Manager

lcb-mode for Emacs: https://github.com/peter-b/lcb-mode

___
use-livecode mailing list
use-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: Macintosh support

2016-11-19 Thread Richard Gaskin

Richmond wrote:

> I would like to know why Livecode 9 has dropped support for all
> versions of Mac OS before 10.9.

ZDNet reports that OS X 10.8 t hasn't received critical security patches 
in over four years, and as such is regarded as too dangerous to use:


   OS X Mountain Lion: Still unsupported and vulnerable

   One month after the release of OS X Mavericks and the disclosure
   of 48 vulnerabilities in Mountain Lion, Apple has not released
   any updates to fix these or any other problems in Mountain Lion.



I don't know why Apple doesn't publish EOL dates for their OSes like 
every other major OS vendor does.


Microsoft gives at least a half-decade advance notice for Windows, and 
Canonical lets you know EOL dates for every version of Ubuntu even 
before release.


But AFAIK for more than a decade Apple merely quietly stops releasing 
updates, preventing their users from making informed decisions about 
upgrades.


This uniquely dangerous practice leaves millions of Apple customers 
unwittingly exposed.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

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


Macintosh support

2016-11-19 Thread Richmond

I would like to know why Livecode 9 has dropped support for all versions
of Mac OS before 10.9.

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: lcGoogleDrive, Livecode for FM, etc.

2016-11-19 Thread Skip Kimpel
That is really good news!

> On Nov 19, 2016, at 9:13 AM, Alex Tweedly  wrote:
> 
> Wow ! Terrific. Like I said, I would have been happy to pay for extra 
> compnents, so to hear that they will be included, and in the Community 
> version, is better than I would have hoped for.
> 
> 
> Thanks Monte.
> Alex.
> 
>> On 18/11/2016 00:58, Monte Goulding wrote:
>> Hi Alex
>> 
>> Yes one of the side effects of the LiveCode for FM project is a renewed push 
>> to show off what can be done with LiveCode to a community that hasn't seen 
>> it before and the oauth2 library and google drive library are a result of 
>> that. The oauth2 library is in/will be in LC community 9. We really wanted 
>> to facilitate people wrapping web services with this.
>> 
>> Google drive might possibly make 9 (not sure on the edition) but it may need 
>> to be fleshed out with more APIs than have been done thus far.
>> 
>> I also have a MIME library that has a pretty handy htmlText field to 
>> multipart email handler. It does embedded images too so it's quite helpful. 
>> That's what he Troubleshooting dialog uses. I believe that will be in 
>> community too.
>> 
>> Cheers
>> 
>> Monte
>> 
>> Sent from my iPhone
>> 
>>> On 18 Nov. 2016, at 11:29 am, Alex Tweedly  wrote:
>>> 
>>> 
>>> Actually, that subject line should probably be
>>> 
>>>lcGoogleDrive *without* Livecode for FM
>>> 
>>> 
>>> I see that one of the components listed under Livecode for FM is a library 
>>> for OAuth2 and GoogleDrive.
>>> 
>>> Have I missed any announcement of those being available generally - i.e. 
>>> without LC4FM ?I'm not expecting them to be free - but I do think 
>>> they'd be useful in themselves.
>>> 
>>> Thanks
>>> 
>>> -- 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
>> 
>> ___
>> use-livecode mailing list
>> use-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: lcGoogleDrive, Livecode for FM, etc.

2016-11-19 Thread Alex Tweedly
Wow ! Terrific. Like I said, I would have been happy to pay for extra 
compnents, so to hear that they will be included, and in the Community 
version, is better than I would have hoped for.



Thanks Monte.
Alex.

On 18/11/2016 00:58, Monte Goulding wrote:

Hi Alex

Yes one of the side effects of the LiveCode for FM project is a renewed push to 
show off what can be done with LiveCode to a community that hasn't seen it 
before and the oauth2 library and google drive library are a result of that. 
The oauth2 library is in/will be in LC community 9. We really wanted to 
facilitate people wrapping web services with this.

Google drive might possibly make 9 (not sure on the edition) but it may need to 
be fleshed out with more APIs than have been done thus far.

I also have a MIME library that has a pretty handy htmlText field to multipart 
email handler. It does embedded images too so it's quite helpful. That's what 
he Troubleshooting dialog uses. I believe that will be in community too.

Cheers

Monte

Sent from my iPhone


On 18 Nov. 2016, at 11:29 am, Alex Tweedly  wrote:


Actually, that subject line should probably be

lcGoogleDrive *without* Livecode for FM


I see that one of the components listed under Livecode for FM is a library for 
OAuth2 and GoogleDrive.

Have I missed any announcement of those being available generally - i.e. 
without LC4FM ?I'm not expecting them to be free - but I do think they'd be 
useful in themselves.

Thanks

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


___
use-livecode mailing list
use-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


Swipe gestures on a mobile scroller

2016-11-19 Thread J. Landman Gay
I have a native mobile scroller handling the vertical scroll of a field. 
I want to add swipe gestures to change cards. When swiping, I get a 
mouseDown, sporadic mouseMoves (the logging might be interfering, not 
sure, but after a couple they stop) and no mouseUp at all.


I tried using touchStart/touchMove/touchEnd instead and the result is 
the same. TouchStart always fires, touchMove is iffy, and touchEnd never 
happens.


Without the end message I can't calculate the direction. Plain taps work 
fine with either set of messages, I do get mouseUp/touchEnd if it's a 
tap. It's only swipes that don't report.


The scroller has its hScroll property set to false if that matters, as I 
don't want horizontal scrolling but I do want to track the touch direction.


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