Re: Developing first on android

2017-08-18 Thread Brian Milby via use-livecode
I can see that. If using the export as a way to track where you made changes, it would be good to have it in a text format. I've not gotten far enough into the object code to tell when/where it would be safe to edit such an array. This will need to be something considered when writing the

Re: Applescript Fails in Standalone on Mac Built with 8.1.6

2017-08-18 Thread Brian Milby via use-livecode
I'll see if I can figure out a way to make a test like this work. On Fri, Aug 18, 2017 at 12:01 PM, Mark Waddingham via use-livecode < use-livecode@lists.runrev.com> wrote: > On 2017-08-18 18:14, Brian Milby via use-livecode wrote: > >> I'm so new I can't address the history but seeing where the

Re: lock screen gotcha revisited

2017-08-18 Thread Mark Wieder via use-livecode
On 08/18/2017 07:41 PM, J. Landman Gay via use-livecode wrote: Except when it doesn't. There seems to be an override in the lock count if any unlock uses a visual effect. I'm not sure if that's on purpose or not. Thanks. Good to know. I've just been using the barebones lock. -- Mark Wieder

Re: Daybed 2.0 - A Library for Apache CouchDB

2017-08-18 Thread Mike Kerner via use-livecode
Greg, That was a really cool talk, yesterday. It got me thinking about Couch as a maybe a new go-to option for cloud db's. On Fri, Aug 18, 2017 at 7:36 PM, pink via use-livecode < use-livecode@lists.runrev.com> wrote: > Apache has released CouchDB 2.1 and Daybed is still compatible. > > The

Re: lock screen gotcha revisited

2017-08-18 Thread J. Landman Gay via use-livecode
Except when it doesn't. There seems to be an override in the lock count if any unlock uses a visual effect. I'm not sure if that's on purpose or not. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On August

Re: lock screen gotcha revisited

2017-08-18 Thread Mark Wieder via use-livecode
On 08/18/2017 03:50 PM, Bob Sneidar via use-livecode wrote: Hard to say. I'm almost done finding every place I lock the screen and adding an unlock screen in the same handler. And that, of course, is the best procedure. Locking/unlocking the screen works on sort of a reference-counting

Daybed 2.0 - A Library for Apache CouchDB

2017-08-18 Thread pink via use-livecode
Apache has released CouchDB 2.1 and Daybed is still compatible. The library is available at: https://github.com/madpink/couchdb4livecode This has been a big week for me... I had my talk about CouchDB for Livecode Global (that was fun) I was interviewd for the CouchDB blog where I did my best

Re: lock screen gotcha revisited

2017-08-18 Thread Bob Sneidar via use-livecode
Hard to say. I'm almost done finding every place I lock the screen and adding an unlock screen in the same handler. Bob S > On Aug 18, 2017, at 14:03 , J. Landman Gay via use-livecode > wrote: > > That doesn't sound right, though I've seen issues with nested

Re: Developing first on android

2017-08-18 Thread Bob Sneidar via use-livecode
I'll weigh in here. An array representation of a stack might be useful in ways, such as storing it as a property of another stack, or writing it as a binary file to disk as a backup of sorts after arrayEncoding it. Just so long as no one thinks they can do something like take the key that

textbanner widget

2017-08-18 Thread hh via use-livecode
Some of you may find this new widget useful. A textbanner widget that displays a text string, an "one-liner", as running text right to left (optionally left to right) or static. Has many documented options to set (font, size, colors, speed, ...). Ready to use via the extension manager in LC

Re: Developing first on android

2017-08-18 Thread Brian Milby via use-livecode
If I'm understanding correctly, a capability to export a stack as an array (with the corresponding import) would get around the issue of the non-public properties though. The array would be the intermediate format that would be used by the engine to construct the stack in memory. LCS could be

Re: lock screen gotcha revisited

2017-08-18 Thread J. Landman Gay via use-livecode
That doesn't sound right, though I've seen issues with nested locks too. What happens if you call this handler: on unlockReally repeat until the lockscreen is false unlock screen end repeat end unlockReally On 8/18/17 3:54 PM, Bob Sneidar via use-livecode wrote: okay after some

Re: lock screen gotcha revisited

2017-08-18 Thread Bob Sneidar via use-livecode
okay after some testing it seems only the script that locked the screen, maybe only the actual handler can clear it's own lock. If this is not right I'd like to know it. Seems there ought to be an unlock all command or some such thing. Bob S > On Aug 18, 2017, at 13:37 , Bob Sneidar via

lock screen gotcha revisited

2017-08-18 Thread Bob Sneidar via use-livecode
Hi all. I have some screen updates I do that take time because I query a database first, and it may not be local. To keep the screen from progressively updating, I lock the screen. I then decided to put a status message field at the bottom of each "form" (meaning card in a stack) so I have

Re: Developing first on android

2017-08-18 Thread J. Landman Gay via use-livecode
On 8/17/17 8:31 PM, Mike Kerner via use-livecode wrote: I liked what Pomegranate said, which would also be a way to make apps even more levure/git-friendly, and would, I think, solve some of the Android layout issues that she was discussing - every object is created by a script, instead of using

Re: [ot] Richardevm pollution

2017-08-18 Thread Richard Gaskin via use-livecode
Mike Kerner wrote: >> Mike Kerner wrote: >> >> > We have another abuser on the forums >> > Admins! Attack! >> >> The moderators that read this list regularly (Klaus and myself - are >> there others here?) tend to read the forums with the same frequency. >> So we'll see it there about as quickly

Re: [ot] Richardevm pollution

2017-08-18 Thread Mike Kerner via use-livecode
Why not put a tag, note, etc. somewhere on the forums site, or in message footers to that effect so 15 weeks from now I don't have to try to remember that? 15 was also the number of forum posts that resulted in emails to me before the massacare, this morning. On Fri, Aug 18, 2017 at 11:33 AM,

Re: Using '@' to mark pass-by-reference (was Re: synonyms)

2017-08-18 Thread Mike Kerner via use-livecode
I was going to reply to something, but part way through the last message, my brain melted and I stated thinking in 8088 assembler. I HATE WHEN THAT HAPPENS! The reason for forgetting is because it is not something that I, at least, will be tempted to use very often, on the order of "this me" So

Re: Applescript Fails in Standalone on Mac Built with 8.1.6

2017-08-18 Thread Mark Waddingham via use-livecode
On 2017-08-18 18:14, Brian Milby via use-livecode wrote: I'm so new I can't address the history but seeing where the fix was implemented it should not fall out unless the build process is significantly changed.It is in the same place all of the language localization files are specified. I

Re: Developing first on android

2017-08-18 Thread Mark Waddingham via use-livecode
On 2017-08-18 18:05, Brian Milby via use-livecode wrote: What about a non-binary stack file format? Something XML based and derived from the actual in-memory stack object (would need to be integrated with the IDE/engine to be really useful though - to allow seamless/native import/export). I

Re: Applescript Fails in Standalone on Mac Built with 8.1.6

2017-08-18 Thread Brian Milby via use-livecode
I'm so new I can't address the history but seeing where the fix was implemented it should not fall out unless the build process is significantly changed.It is in the same place all of the language localization files are specified. Thanks, Brian > > On Aug 18, 2017

Re: Developing first on android

2017-08-18 Thread Brian Milby via use-livecode
What about a non-binary stack file format? Something XML based and derived from the actual in-memory stack object (would need to be integrated with the IDE/engine to be really useful though - to allow seamless/native import/export). > Mike Kerner wrote: > > > I've been thinking of developing a

Re: Using '@' to mark pass-by-reference (was Re: synonyms)

2017-08-18 Thread Mark Waddingham via use-livecode
On 2017-08-18 17:18, Bob Sneidar via use-livecode wrote: That actually is a great explanation which solves a mystery I've often wondnered about, which is how a handler with a different variable name can contain the *actual* original variable. I thought the engine actually created a new variable

Re: [ot] Richardevm pollution

2017-08-18 Thread Richard Gaskin via use-livecode
Mike Kerner wrote: > We have another abuser on the forums > Admins! Attack! The moderators that read this list regularly (Klaus and myself - are there others here?) tend to read the forums with the same frequency. So we'll see it there about as quickly as we see a note here. But our

Re: [ot] Richardevm pollution

2017-08-18 Thread Klaus major-k via use-livecode
> Am 18.08.2017 um 17:13 schrieb Mike Kerner via use-livecode > : > > We have another abuser on the forums > Admins! Attack! DONE! :-) > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third

Re: Using '@' to mark pass-by-reference (was Re: synonyms)

2017-08-18 Thread Bob Sneidar via use-livecode
That actually is a great explanation which solves a mystery I've often wondnered about, which is how a handler with a different variable name can contain the *actual* original variable. I thought the engine actually created a new variable and copied the incoming value to it, and then reversed

Re: Using '@' to mark pass-by-reference (was Re: synonyms)

2017-08-18 Thread Mark Waddingham via use-livecode
On 2017-08-18 17:14, Bob Sneidar via use-livecode wrote: Not sure I understand this allegory. Do you mean that there might be dragons all over the place waiting to eat me? Or do you mean there may be dragons waiting to eat different bits of me in different places? Or do you mean they were about

Re: Developing first on android

2017-08-18 Thread Mike Kerner via use-livecode
Sorry, I assumed everyone was at Global, yesterday. During the keynote, an interview with Digital Pomegranate was shown. During that interview, there was a lengthy explanation about building LC apps, and things that they do. On Fri, Aug 18, 2017 at 11:04 AM, Bob Sneidar via use-livecode <

Re: Using '@' to mark pass-by-reference (was Re: synonyms)

2017-08-18 Thread Bob Sneidar via use-livecode
I did once. After that it was pretty easy. Bob S > On Aug 18, 2017, at 06:53 , Mike Kerner via use-livecode > wrote: > > I understand the difference. I'm just trying to help with the mental > arithmetic. I, and others, I'm sure, will constantly forget where

Re: Using '@' to mark pass-by-reference (was Re: synonyms)

2017-08-18 Thread Bob Sneidar via use-livecode
Not sure I understand this allegory. Do you mean that there might be dragons all over the place waiting to eat me? Or do you mean there may be dragons waiting to eat different bits of me in different places? Or do you mean they were about to eat the kettle of fish when a much more appetizing

[ot] Richardevm pollution

2017-08-18 Thread Mike Kerner via use-livecode
We have another abuser on the forums Admins! Attack! -- 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."

Re: Using '@' to mark pass-by-reference (was Re: synonyms)

2017-08-18 Thread Mark Waddingham via use-livecode
On 2017-08-18 15:53, Mike Kerner via use-livecode wrote: I understand the difference. I'm just trying to help with the mental arithmetic. I, and others, I'm sure, will constantly forget where the "@" goes, for instance. Okay so - the question to ask is - what would make you forget where to

Re: Developing first on android

2017-08-18 Thread Bob Sneidar via use-livecode
I blame Spell Checker. Bob S > On Aug 18, 2017, at 07:56 , Richard Gaskin via use-livecode > wrote: > > Who is "Pomegranate" and where was this message? In a quick search of recent > posts here I was unable to turn up anything from that user.

Re: Applescript Fails in Standalone on Mac Built with 8.1.6

2017-08-18 Thread Richard Gaskin via use-livecode
Mark Wieder wrote: > On 08/17/2017 10:06 PM, Sannyasin Brahmanathaswami wrote: > >> So, why does apple script return execution error when run from 8.1.6 >> standalones? > > Looks like the bugfix is on the way: > > http://quality.livecode.com/show_bug.cgi?id=16029 As far back as I can recall, at

Re: Developing first on android

2017-08-18 Thread Richard Gaskin via use-livecode
Mike Kerner wrote: > There might be another way to skin this cat. I liked what Pomegranate > said, which would also be a way to make apps even more levure/git- > friendly, and would, I think, solve some of the Android layout issues > that she was discussing - every object is created by a

Re: AW: htaccess rewrite rule to https let my apps stop working

2017-08-18 Thread tbodine via use-livecode
T. Had a similar experience while migrating my site to https. What I found was my standalones were missing the revsecurity.dll external. After rebuilding those to include revsecurity.dll, the standalones were able to contact my site and access stacks and other files there without changing my

Re: htaccess rewrite rule to https let my apps stop working

2017-08-18 Thread Matthias Rebbe via use-livecode
Hi Tiemo, although i was pretty sure that this works here i´ve checked again. From the message box i called an .lc script which exports db data. I used http:// as prefix and the data was returned w/o a problem. Calling the same url from browser works the same. It isautomatically redirected by

Re: Using '@' to mark pass-by-reference (was Re: synonyms)

2017-08-18 Thread Mike Kerner via use-livecode
I understand the difference. I'm just trying to help with the mental arithmetic. I, and others, I'm sure, will constantly forget where the "@" goes, for instance. On Fri, Aug 18, 2017 at 9:48 AM, Mark Waddingham via use-livecode < use-livecode@lists.runrev.com> wrote: > On 2017-08-18 15:21,

Re: Using '@' to mark pass-by-reference (was Re: synonyms)

2017-08-18 Thread Mark Waddingham via use-livecode
On 2017-08-18 15:21, Mike Kerner via use-livecode wrote: So how about trying to make it a little easier to read, and using "->" instead (a 4D way of identifying pointers)? The position of the symbol indicates if we have are referencing or dereferencing. ->a is a reference to a (pointer to a),

AW: htaccess rewrite rule to https let my apps stop working

2017-08-18 Thread Tiemo Hollmann TB via use-livecode
Hi Matthias, Thanks for your example, I'll give it a try using these Rewrite rules, you could stay with plain http:// URLs in your LC code? And LC doesn't notice the difference and everything works as before? Do you call PHPs on your server? Could there be a difference between html and php

AW: htaccess rewrite rule to https let my apps stop working

2017-08-18 Thread Tiemo Hollmann TB via use-livecode
Hi Mark, I think the oldest version was build with LC 6.7. As far as I can see that version supports https. Is there any characteristic on the standalone, to identify the engine version used? I will give a redirect a try. Thanks for your ideas Tiemo -Ursprüngliche Nachricht- Von:

Re: Using '@' to mark pass-by-reference (was Re: synonyms)

2017-08-18 Thread Mike Kerner via use-livecode
So how about trying to make it a little easier to read, and using "->" instead (a 4D way of identifying pointers)? The position of the symbol indicates if we have are referencing or dereferencing. ->a is a reference to a (pointer to a), and a-> is dereferencing a (give me what a is pointing to).

Using '@' to mark pass-by-reference (was Re: synonyms)

2017-08-18 Thread Mark Waddingham via use-livecode
On 2017-07-04 17:39, Ben Rubinstein via use-livecode wrote: May I hijack this thread to have another go at promoting my feature request for a bit of syntax sugar around parameters which I _think_ would not have a very deep implementation requirement?

Re: htaccess rewrite rule to https let my apps stop working

2017-08-18 Thread Matthias Rebbe via use-livecode
Hi Tiemo, it´s messed up. Please use the link https://dl.qck.nu//?dl=sample_htaccess.txt to download the textfile. I´ve forgot to mention that you have to replace yourdomain.com with your domain. Matthias > Am 18.08.2017 um

Re: htaccess rewrite rule to https let my apps stop working

2017-08-18 Thread Matthias Rebbe via use-livecode
Hi Tiemo, we are using the following code in the htaccess to redirect http:// request (either with or without www) to https://www.multitronic.de RewriteEngine on RewriteCond %{HTTPS} off RewriteCond %{HTTP_HOST} ^yourdomain.com $ [NC,OR]

Re: htaccess rewrite rule to https let my apps stop working

2017-08-18 Thread Mark Waddingham via use-livecode
On 2017-08-18 13:58, Tiemo Hollmann TB via use-livecode wrote: Hello, I attached a certificate to our domain and started switching our domain / web from http to https, because of the security alerts of some browsers saying that our site isn't safe. So far so good. Our web hoster recommended

htaccess rewrite rule to https let my apps stop working

2017-08-18 Thread Tiemo Hollmann TB via use-livecode
Hello, I attached a certificate to our domain and started switching our domain / web from http to https, because of the security alerts of some browsers saying that our site isn't safe. So far so good. Our web hoster recommended to put a rewrite rule into the htaccess to redirect all http calls

Re: Developing first on android

2017-08-18 Thread Jonathan Lynch via use-livecode
I am not too worried about layout. I make extensive setlayout scripts to adjust to all screen sizes. But it seems like Android is the pickiest platform for other reasons as well, so why not start there first? After I get Augmented Earth to work fully on Android, I think I am going to make