Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-20 Thread J. Landman Gay via use-livecode
On 8/20/18 8:32 PM, Richard Gaskin via use-livecode wrote: Swami has not asked me to evaluate strategies for precise control of his layouts.  That would not be possible until I see how things are constructed. He estimated months, and that sounds about right. Every card is laid out differently

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-20 Thread Monte Goulding via use-livecode
> On 21 Aug 2018, at 12:08 pm, Richard Gaskin via use-livecode > wrote: > > I was referring to a post earlier in this thread which mentioned some > additional support via email with the author from Panos and Eleanor. Aha… yes a number of members of the team (myself included) have become quit

Re: For those who do not know lcTasklist

2018-08-20 Thread PEL via use-livecode
I second that. It is a great tool and I can’t thank Bill Vlahos enough. Paul Looney > On Aug 20, 2018, at 4:44 PM, Matthias Rebbe via use-livecode > wrote: > > Hi, > > I´ve purchased the plugin lcTasklist a long time ago and used it now and > then. > But now i am totally in love with this gr

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-20 Thread Richard Gaskin via use-livecode
Monte Goulding wrote: >> On 21 Aug 2018, at 11:32 am, Richard Gaskin wrote: >> >> - In this thread we have at least half a dozen people, including two >> from the core team, all working together to explore various options >> for placing one object within a resizing method chosen for its >> ostens

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-20 Thread Monte Goulding via use-livecode
> On 21 Aug 2018, at 11:32 am, Richard Gaskin via use-livecode > wrote: > > - In this thread we have at least half a dozen people, including two from the > core team, all working together to explore various options for placing one > object within a resizing method chosen for its ostensible e

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-20 Thread Richard Gaskin via use-livecode
J. Landman Gay wrote: > On 8/19/18 11:45 PM, Richard Gaskin via use-livecode wrote: >> Consider a Note app. At the top is a navbar that spans the width of >> the device at 60 px tall; below is a field for the user to type in; >> centered below that is a "Save" button. >> >> This is in the card s

For those who do not know lcTasklist

2018-08-20 Thread Matthias Rebbe via use-livecode
Hi, I´ve purchased the plugin lcTasklist a long time ago and used it now and then. But now i am totally in love with this great tool. I was working on a really big project for months and i needed to add some debug code, special comments and special information in my scripts and i had to mark

Navigator 6.1 alpha1 is out

2018-08-20 Thread Geoff Canyon via use-livecode
Phew -- this was a lot of work, as I basically had to (for about the ninth time!) completely re-write a portion of the drag-and-drop code, which is by far my least favorite part of Navigator. Briefly, this release does three things: 1. Fixes drag-and-drop code so that it should work correctly eve

Re: Datagrid -- Scrolling on Mobile

2018-08-20 Thread zryip theSlug via use-livecode
Dear Swami, Mobile scrollers should be natively added by the dg2 library when the stack is executed inside a mobile device context. I've seen the corresponding portion of code inside the dg2 library. On Mon, Aug 20, 2018 at 5:09 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > I am slow

Re: Surprise...

2018-08-20 Thread Brian Milby via use-livecode
While this test may be valuable in comparing different versions of LC, I'm not sure how useful the data is by itself. I decided to run a test and see what happened. I defined 6 constants. kA-kE for the size of each loop. kF for the last line in tvar/element in the array. To initialize, I just m

Mobile Record Audio

2018-08-20 Thread Dan Friedman via use-livecode
Hello! I need to record audio on both android and iOS and then upload that recording as a mp3 to a server (for use by another service that requires mp3). Recording isn’t the issue, there is the Android Audio Recorder for Android, and mergMicrophoneStartRecording fPath for iSO. Is issue is s

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-20 Thread J. Landman Gay via use-livecode
On 8/19/18 11:45 PM, Richard Gaskin via use-livecode wrote: Consider a Note app.  At the top is a navbar that spans the width of the device at 60 px tall; below is a field for the user to type in; centered below that is a "Save" button. This is in the card script: on resizeStack x,y   set th

Re: Surprise...

2018-08-20 Thread Curry Kenworthy via use-livecode
Hey Folks, Of course I'm interested in this thread. Always a big concern. Earlier this year, and last year, I was doing face-off competitions between LiveCode versions to test how optimization is faring. When I get time, after some other priorities and addon updates, I would like to do ano

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-20 Thread J. Landman Gay via use-livecode
On 8/19/18 11:11 PM, Ludovic THEBAULT via use-livecode wrote: But i found i can get the « real » top and bottom with : round((item 4 of the screenrect*the systemscale)/2)-theight // +theight (for the bottom) where theight is the height of my stack before fullscreenmode. You should be able to g

Re: Surprise...

2018-08-20 Thread jbv via use-livecode
I made a test with the same loops and the same data on LC 6.5.2 desktop Mac, and arrays run 20% faster than items... On LC9 server I get opposite results : items are 2 times faster then arrays. As said in my original post, AFAIR U have always used arrays instead of items & lines because it has alw

Re: Surprise...

2018-08-20 Thread Alex Tweedly via use-livecode
Not really a huge surprise ... access to chunks such as 'item' and 'line' are (potentially) slow when you are searching relatively large strings. So the archetypal example repeat with i = 1 to N    get line i of tBigString end repeat can get slow if N is large, because of repeatedly scanning o

Re: Surprise...

2018-08-20 Thread Mark Talluto via use-livecode
I wrote a stack that demonstrated this and other concepts for LC Mark directly. His Global talks called ‘Optimizing Your Code’ are partially based on some things we have been discussing. Best regards, Mark Talluto livecloud.io nursenotes.net canel

Re: Socket questions

2018-08-20 Thread Mark Wieder via use-livecode
On 08/18/2018 09:41 PM, Mark Wieder via use-livecode wrote: That's a dns lookup failure, which won't get as far as a socketError message. What you should get instead is a non-empty result message from the openSocket command. I can't comment on tsNet, but libUrl has never to my recollection act

Re: Surprise...

2018-08-20 Thread Tom Glod via use-livecode
not loving the sound of all this. has there been any word about the reasons why array access has slowed down as much as it has? On Mon, Aug 20, 2018 at 12:11 PM, Alex Tweedly via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Malte, > > sounds like something I would normally have jump

Re: Surprise...

2018-08-20 Thread Alex Tweedly via use-livecode
Hi Malte, sounds like something I would normally have jumped on :-) And I don't offhand remember a thread like this started by you - can you give me more of a pointer to when it was or what the subject line(s) were ? Thanks Alex. P.S. please try not to be demotivated by this kind of problem

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-20 Thread Andrew Bell via use-livecode
From: Brian Milby To: How to use LiveCode Subject: Re: fullscreenmode and rect of a substack on mobile device ? Message-ID: In the end, I guess I need to get an Android device so I can start testing. My go-to source for Android test devices is the local grocery store so I can buy a pre-p

Datagrid -- Scrolling on Mobile

2018-08-20 Thread Sannyasin Brahmanathaswami via use-livecode
I am slowly getting up to speed with datagrid, I understand structure, the scripts of the row group, can instantiate data etc. But, am I missing something? http://lessons.livecode.com/m/datagrid I can't find single lesson on implementing DG on mobile. Scrolling on mobile -- do we do it the sam

Re: Surprise...

2018-08-20 Thread Malte Pfaff-Brill via use-livecode
Hi jbv, Same boat… And it is not the repeat variant has increased, but array access slowed down (a lot) a while back I was doing benchmarks on this. Thread should still be buried somewhere here. As not many jumped on the problems I faced with array access, I somewhat gave up, which is a bumme

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-20 Thread Sannyasin Brahmanathaswami via use-livecode
@ Brian and Jacque Thanks for digging to this. Panos write on QA and that line 14 (position the group explicitly) in required. The background is set "super wide" for that I was using FullScreenMode, do that it would appear at the way across on iPad. Clearly set the explicitly is required @Brian,

Re: Surprise...

2018-08-20 Thread dunbarxx via use-livecode
Hi. Not sure the code snippet you supplied is complete. There are no variables "T" or "tVar", and so all your nested repeat loops are just time expenders. In other words, you could have just: repeat 100 That said, it seems that assembling the nonexistent array variable repeatedly is slower t

[ANN] This Week in LiveCode 142

2018-08-20 Thread panagiotis merakos via use-livecode
Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #142 here: https://goo.gl/xe8Hxa This is a weekly newsletter about LiveCode, focussing on what's been going on in and around

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-20 Thread Richard Gaskin via use-livecode
Terry Judd wrote: > On 20 Aug 2018, at 4:50 pm, Richard Gaskin wrote: >> >> Terry Judd wrote: >> >> > Yeah, I've used FSM in combination with scripting in the android >> > versions a couple of apps (admittedly they were only designed to >> > work in portrait mode) and it seemed to work well enoug

Surprise...

2018-08-20 Thread jbv via use-livecode
Hi list, I have the following script : repeat with a = 1 to 34 repeat with b = 1 to 10 repeat with c = 1 to 11 repeat with d = 1 to 10 repeat with e = 1 to 34 --get item a of line 1 of tvar & tab & item b of line 2 of tvar & tab & item c of line 3 of tvar & tab & item d of line 4 o

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-20 Thread J. Landman Gay via use-livecode
On 8/20/18 2:29 AM, Terry Judd via use-livecode wrote: Oh, and my apps probably weren't terribly HIG compliant either. I used custom buttons and controls that looked and functioned identically on Android and iOS versions of the same app. Ditto. I don't think I've ever had to work on a stack t

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-20 Thread J. Landman Gay via use-livecode
On 8/19/18 11:11 PM, Brian Milby via use-livecode wrote: When the engine resizes the stack, I’m assuming that it takes into account any system furniture? That isn’t a consideration for iOS (at least yet). I’m excluding keyboard for the moment. The screenrect is always the actual size of the s

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-20 Thread Terry Judd via use-livecode
On 20/08/2018 5:01 pm, "use-livecode on behalf of Terry Judd via use-livecode" wrote: On 20 Aug 2018, at 4:50 pm, Richard Gaskin via use-livecode wrote: > > Terry Judd wrote: > > > Yeah, I've used FSM in combination with scripting in the android > > versions a couple

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-20 Thread Terry Judd via use-livecode
On 20 Aug 2018, at 4:50 pm, Richard Gaskin via use-livecode wrote: > > Terry Judd wrote: > > > Yeah, I've used FSM in combination with scripting in the android > > versions a couple of apps (admittedly they were only designed to work > > in portrait mode) and it seemed to work well enough. > >