Re: Autocompletion of quotes on LC 8.2,0 DP-1

2017-10-11 Thread Sannyasin Brahmanathaswami via use-livecode
Bill P. wrote: I find that, for the autocompletion of quotes in the new editor, that I’m deleting them as often as I use them. It’s nice to see the text red when quotes are not completed, but ….. I can live with it, but for me, it’s not an improvement. I found this also, but wondered then

Re: [ANN] Release 8.2.0 DP-2

2017-10-11 Thread Sannyasin Brahmanathaswami via use-livecode
Panos any hope for this big issue of acceleratedRendering breaking a multi-stack app framework on Android which is currently holding our app "hostage" (cannot deploy on Android) These are all, pretty much the same issue: http://quality.livecode.com/show_bug.cgi?id=16736

Re: Autocompletion of quotes on LC 8.2,0 DP-1

2017-10-11 Thread Monte Goulding via use-livecode
> On 12 Oct 2017, at 12:29 pm, William Prothero via use-livecode > wrote: > > I find that, for the autocompletion of quotes in the new editor, that I’m > deleting them as often as I use them. It’s nice to see the text red when > quotes are not completed, but

Autocompletion of quotes on LC 8.2,0 DP-1

2017-10-11 Thread William Prothero via use-livecode
Folks: I find that, for the autocompletion of quotes in the new editor, that I’m deleting them as often as I use them. It’s nice to see the text red when quotes are not completed, but ….. I can live with it, but for me, it’s not an improvement. Other than that, I like it a lot and haven’t

Re: [ANN] Release 8.2.0 DP-2

2017-10-11 Thread panagiotis merakos via use-livecode
@Dan AFAIK, a developer is working on the datagrid v2 now @Hermann Oops we missed that, sorry about that. This patch should fix the problem, for anyone interested in applying the change locally, until we release 8.2 DP-3: https://github.com/livecode/livecode-ide/pull/1793/files PS: Note that

Re: Handy behavior snippet

2017-10-11 Thread Bob Sneidar via use-livecode
Oh cool! I am sticking with v8 right now just because I do production work every day and cannot afford for an unforeseen issue to stop progress. Bob S > On Oct 11, 2017, at 11:25 , Mike Kerner via use-livecode > wrote: > > In dp9, now, when you right-click on

Re: [ANN] Release 8.2.0 DP-2

2017-10-11 Thread Matthias Rebbe via use-livecode
Thanks for the links. I promise to be patient. ;) Matthias > Am 11.10.2017 um 17:34 schrieb panagiotis merakos via use-livecode > >: > > Hi Matthias, > > Unfortunately we cannot give an ETA at this point for 9.0 DP-10, but

Re: Dropbox library in LC 9 - centralise the access token?

2017-10-11 Thread Trevor DeVore via use-livecode
On Wed, Oct 11, 2017 at 1:02 PM Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: > > In principle I think that a new app, e.g. built in LiveCode, could > perfectly > happy operate on a number of accounts simultaneously. But my proposal in no > way prevents that - the code

Re: [ANN] Release 8.2.0 DP-2

2017-10-11 Thread hh via use-livecode
LC 8.2.0-dp2 has nice new features but this one doesn't work. > Panos wrote: > Moreover, in LiveCode 8.2.0 DP-2 Dictionary, all the extension docs are > incorporated in the main LiveCode Script dictionary. This improves > searchability, as well as preventing the library list getting too large.

Re: Handy behavior snippet

2017-10-11 Thread Mike Kerner via use-livecode
In dp9, now, when you right-click on an object, the first line is edit script, the second is edit behavior script. On Wed, Oct 11, 2017 at 1:04 PM, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > I can't remember when it was added but I've been using v9 for a while so >

Re: Dropbox library in LC 9 - centralise the access token?

2017-10-11 Thread Mike Kerner via use-livecode
Most of the filestore apps, be they box, dropbox, google drive, oneDrive, etc. only operate on one account at a time. That's one of the nice things about the API's - you can operate on an unlimited number from your app. On Wed, Oct 11, 2017 at 2:00 PM, Ben Rubinstein via use-livecode <

Re: Dropbox library in LC 9 - centralise the access token?

2017-10-11 Thread Ben Rubinstein via use-livecode
> Does Dropbox limit syncing to a single account? As far as I know, yes. That doesn't mean the API enforces this - only that every app and interface I've come across for it does - you log in as a given account, and you're operating on that account. There is a folder "~/Dropbox" (or Windows

Re: Dropbox library in LC 9 - centralise the access token?

2017-10-11 Thread Ben Rubinstein via use-livecode
That's why I raise it for discussion here first. My guess is that if this is only in LC 9, and only since DP-7, then the number of people already using it will be small - certainly in proportion to the number who will go on to use it in years ahead! And for those small number of people

Re: Dropbox library in LC 9 - centralise the access token?

2017-10-11 Thread Richard Gaskin via use-livecode
Ben Rubinstein wrote: The new Dropbox library is (going to be) great. But while it's still only in DP, can I suggest a modest improvement? Every single command in the library takes an access token as the first parameter. Given that most uses of the library will involve multiple calls; and

Re: [ANN] Release 8.2.0 DP-2

2017-10-11 Thread Dan Brown via use-livecode
Any news on the progress of datagrid v2 and enhanced graphics speed? On 11 Oct 2017 4:20 pm, "panagiotis merakos via use-livecode" < use-livecode@lists.runrev.com> wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 8.2.0 DP-2. > > Getting the Release >

Re: Dropbox library in LC 9 - centralise the access token?

2017-10-11 Thread Mike Kerner via use-livecode
And I don't know how modest it will be - the syntax of every command in the library would have to be updated, which means everyone's code (who is using the library) would have to update it. We could also have a new dropbox library that implements this, but then it would be up to the team to

Re: Handy behavior snippet

2017-10-11 Thread J. Landman Gay via use-livecode
I can't remember when it was added but I've been using v9 for a while so maybe it was that version. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 11, 2017 11:38:23 AM Bob Sneidar via use-livecode

Re: Dropbox library in LC 9 - centralise the access token?

2017-10-11 Thread Mike Kerner via use-livecode
so file a qr. since it's written in LC it should be doable by either of us...or anyone On Wed, Oct 11, 2017 at 12:12 PM, Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: > The new Dropbox library is (going to be) great. But while it's still only > in DP, can I suggest a

Note to everyone building from source

2017-10-11 Thread panagiotis merakos via use-livecode
Hi all, Starting from LC 8.2 DP-2, the Dictionary contains only two main APIs: LiveCode Script and LiveCode Builder. This change will be merged into the LC 9.x release cycle (i.e. into "develop" branch). Anyone building from source using "develop-8.2" or "develop" branches is advised to clear

Re: Handy behavior snippet

2017-10-11 Thread Bob Sneidar via use-livecode
Hmmm... if you mean editing the script of a disable button, yes. But there is nothing there to edit the behavior of the object. That would be really handy, because it wouldn't be restricted to just buttons or objects that get mouseUp. I know in v9 there is a little target icon in the properties

Re: Handy behavior snippet

2017-10-11 Thread Bob Sneidar via use-livecode
Oh right! shift-control-command click! (For MacOS at least) Bob S > On Oct 11, 2017, at 09:26 , J. Landman Gay via use-livecode > wrote: > > The same thing was added to the object contextual menu recently. You're right > it's very handy but they beat you to

Re: Handy behavior snippet

2017-10-11 Thread J. Landman Gay via use-livecode
The same thing was added to the object contextual menu recently. You're right it's very handy but they beat you to it. :) -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 11, 2017 11:12:46 AM Bob

Dropbox library in LC 9 - centralise the access token?

2017-10-11 Thread Ben Rubinstein via use-livecode
The new Dropbox library is (going to be) great. But while it's still only in DP, can I suggest a modest improvement? Every single command in the library takes an access token as the first parameter. Given that most uses of the library will involve multiple calls; and the cases where an app is

Re: OAuth2 (LC 9) on mobile?

2017-10-11 Thread Ben Rubinstein via use-livecode
To clarify, by "everything still works" I mean that the OAuth2 command appears to have done "exit to top" without doing anything - but leaving the whole screen dimmed out. So other controls on the card, although dim, work. But no authorisation has happened. On 11/10/2017 17:02, Ben Rubinstein

Re: controlNames??

2017-10-11 Thread Bob Sneidar via use-livecode
It's all coming back to me... ;-P Bob S > On Oct 11, 2017, at 09:12 , panagiotis merakos via use-livecode > wrote: > > No problem Bob. In fact this bug report was submitted by you :) > > Panos ___ use-livecode

Re: Handy behavior snippet

2017-10-11 Thread Bob Sneidar via use-livecode
BTW this reminds me of a feature request I'd like to see implemented at some point. When in browse mode, command-option-clicking a disable button will NOT edit it's script. It will edit the script of the CARD instead, presumably because a disabled button does not receive a mouseUp in browse

Re: Handy behavior snippet

2017-10-11 Thread Roger Guay via use-livecode
Ah yes . . . excellent! Thanks!! > On Oct 11, 2017, at 9:10 AM, Bob Sneidar via use-livecode > wrote: > > That edits the script of the actual button. It doesn't edit the script of the > behavior of that button. That is what my snippet does. You put it into a >

Re: controlNames??

2017-10-11 Thread panagiotis merakos via use-livecode
No problem Bob. In fact this bug report was submitted by you :) Panos -- On Wed, Oct 11, 2017 at 5:02 PM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Thanks Panos. I worked around it with a simple line that checks to see if > it is a number and if not to get the id of

Re: Handy behavior snippet

2017-10-11 Thread Bob Sneidar via use-livecode
That edits the script of the actual button. It doesn't edit the script of the behavior of that button. That is what my snippet does. You put it into a mouseUp handler of the BEHAVIOR script. Bob S > On Oct 11, 2017, at 09:09 , Roger Guay via use-livecode >

OAuth2 (LC 9) on mobile?

2017-10-11 Thread Ben Rubinstein via use-livecode
Does the new OAuth2 library in LC 9 work on mobile? Docs suggest it should, but testing on iPad I just get an interesting dimmed out effect on the stack - although in fact everything still works - where I would have expected a sheet or switching to Safari or some other way of displaying a web

Re: Dropbox library (LC 9) - does dropboxGetCurrentAccount work?

2017-10-11 Thread Ben Rubinstein via use-livecode
Confessions of ignorance time: - how do you add a script-only stack as a substack to another stack? Or does one just past the text into a button or similar and start using it? This is in relation to 8. For 9, I simply replaced /Contents/Tools/Toolset/libraries/dropbox.livecodescript

Re: Handy behavior snippet

2017-10-11 Thread Roger Guay via use-livecode
On a Mac you just hold the option and command keys down and click the control to access it’s script. Isn’t there an equivalent key combination for Windows? Roger > On Oct 11, 2017, at 8:14 AM, Bob Sneidar via use-livecode > wrote: > > Hi all. > > I came up

Re: controlNames??

2017-10-11 Thread Bob Sneidar via use-livecode
Thanks Panos. I worked around it with a simple line that checks to see if it is a number and if not to get the id of the control. I remember now thinking how odd it was to return IDs for controlnames. :-) Bob S > On Oct 11, 2017, at 09:00 , panagiotis merakos via use-livecode >

Re: controlNames??

2017-10-11 Thread panagiotis merakos via use-livecode
Hi Bob, Yes, this was a bug, fixed in 8.1.7 RC1: http://quality.livecode.com/show_bug.cgi?id=20201 Best, Panos -- On Wed, Oct 11, 2017 at 4:57 PM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Did the controlNames change from 8.1.6 to 8.1.7? My code is referring to a

controlNames??

2017-10-11 Thread Bob Sneidar via use-livecode
Did the controlNames change from 8.1.6 to 8.1.7? My code is referring to a control ID. In 8.1.6, the controlNames is a list of numbers. In 8.1.7 rc3 it is an actual list of NAMES. Bob S ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: [ANN] Release 8.2.0 DP-2

2017-10-11 Thread panagiotis merakos via use-livecode
Hi Matthias, Unfortunately we cannot give an ETA at this point for 9.0 DP-10, but "off the record" I would expect it within the next couple of weeks. Currently there are a couple of things we would like to include in 9.0 DP-10. This is a list from BugZilla

Re: [ANN] Release 8.2.0 DP-2

2017-10-11 Thread Matthias Rebbe via use-livecode
Panos, when will there be a new version 9 dp? It´s now some weeks ago since dp9. Regards, Matthias Matthias Rebbe +49 5741 31 ‌wirmachen.software ‌ > Am 11.10.2017 um 17:20 schrieb panagiotis merakos via use-livecode >

[ANN] Release 8.2.0 DP-2

2017-10-11 Thread panagiotis merakos via use-livecode
Dear list members, We are pleased to announce the release of LiveCode 8.2.0 DP-2. Getting the Release === You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents LiveCode 8.2.0 DP-2 contains 31 bug

Handy behavior snippet

2017-10-11 Thread Bob Sneidar via use-livecode
Hi all. I came up with this handy snippet to put in a mouseUp handler of any behavior button: -- check for behavior script editing if (the optionKey is down or the altkey is down) and the controlkey is down and \ the environment is "development" then edit the script of

Re: Dropbox library (LC 9) - does dropboxGetCurrentAccount work?

2017-10-11 Thread Mike Kerner via use-livecode
Please try to break it so I don't have my name on a PR that LC sends that breaks someone's mission critical app. On Wed, Oct 11, 2017 at 10:08 AM, Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: > Dodgy coding by someone at Dropbox. But there you go! > > Thanks for your

Re: Dropbox library (LC 9) - does dropboxGetCurrentAccount work?

2017-10-11 Thread Ben Rubinstein via use-livecode
Dodgy coding by someone at Dropbox. But there you go! Thanks for your help, Ben On 11/10/2017 14:23, Mike Kerner via use-livecode wrote: And, curiously, as it turns out, the other endpoints that take a null post accept empty (and don't like getting "null"). It seems this only affects

Re: Dropbox library (LC 9) - does dropboxGetCurrentAccount work?

2017-10-11 Thread Mike Kerner via use-livecode
Ben, I updated the library and pushed it to my repo. Let me know if that makes everything work before I do a PR with LC https://github.com/macMikey/LCDropboxLibrary Try it in 8, including the script file as a subscript. If you want to use it in 9, copy/paste it into your stack script. On Wed,

Re: Dropbox library (LC 9) - does dropboxGetCurrentAccount work?

2017-10-11 Thread Mike Kerner via use-livecode
And, curiously, as it turns out, the other endpoints that take a null post accept empty (and don't like getting "null"). It seems this only affects getCurrentAccount. On Wed, Oct 11, 2017 at 8:52 AM, Mike Kerner wrote: > What Gerard did in the original library is use

Re: Dropbox library (LC 9) - does dropboxGetCurrentAccount work?

2017-10-11 Thread Mike Kerner via use-livecode
What Gerard did in the original library is use the word "null" instead of empty. So his version of __get_current_account_POST would be private function __get_current_account_POST return "null" end get_current_account_POST For some reason, empty doesn't work, but anything (inluding the word

Re: Dropbox library (LC 9) - does dropboxGetCurrentAccount work?

2017-10-11 Thread Ben Rubinstein via use-livecode
20555 for POST; 20556 for dropboxGetCurrentAccount. I have found the bug in LC's library, and I patched it to get it to work, but I want to understand more of why, and also to make sure I'm not going to break something else before I issue a pull request. How are you patching it to work? I

Re: Dropbox library (LC 9) - does dropboxGetCurrentAccount work?

2017-10-11 Thread Mike Kerner via use-livecode
Feel like opening a couple QR's? I think we need two: one for post and one for the error in the library. In fact, there are two problems in the library. One is the way the library handles errors returned by dropbox (you only get half the error message), and the other is the way endpoints like

Re: Dropbox library (LC 9) - does dropboxGetCurrentAccount work?

2017-10-11 Thread Mike Kerner via use-livecode
What was working for me was getAccount not getCurrentAccount. If I use LC's library with getCurrentAccount, I get the same error. I have found the bug in LC's library, and I patched it to get it to work, but I want to understand more of why, and also to make sure I'm not going to break something

Re: Dropbox library (LC 9) - does dropboxGetCurrentAccount work?

2017-10-11 Thread Ben Rubinstein via use-livecode
You beat me to it! On 11/10/2017 11:23, Ben Rubinstein via use-livecode wrote: Hi Mike (or anyone else) Can you confirm that dropboxGetCurrentAccount (NOT dropboxGetAccount) is working for you in LC 9.0.0 dp 9? It consistently fails for me, and the problem seems to be precisely the lack of

Re: Dropbox library (LC 9) - does dropboxGetCurrentAccount work?

2017-10-11 Thread Ben Rubinstein via use-livecode
Hi Mike (or anyone else) Can you confirm that dropboxGetCurrentAccount (NOT dropboxGetAccount) is working for you in LC 9.0.0 dp 9? It consistently fails for me, and the problem seems to be precisely the lack of a parameter other than the access token. Dropbox returns a 400, AFAICT,

Re: Dropbox library (LC 9) - does dropboxGetCurrentAccount work?

2017-10-11 Thread Mike Kerner via use-livecode
oh geez, I read your command wrong - you're right - you're using dropboxGetCurrentAccount, not dropboxGetAccount. Yes, I'm getting the same error, now. I'll dive into the code and see if I can see what's going on. As far as getting the account_id, for those times when you need it, I would

Re: OAuth2 Status?

2017-10-11 Thread Monte Goulding via use-livecode
> On 11 Oct 2017, at 8:53 pm, pink via use-livecode > wrote: > > Other than the code itself, is there anything I need to do in the stack to > make this work? No there shouldn’t be. Again I would just double check that `it` isn’t an array. It should be an array

Re: OAuth2 Status?

2017-10-11 Thread pink via use-livecode
Other than the code itself, is there anything I need to do in the stack to make this work? - --- Greg (pink) Miller mad, pink and dangerous to code -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___

Re: Dropbox library (LC 9) - does dropboxGetCurrentAccount work?

2017-10-11 Thread Ben Rubinstein via use-livecode
Hi Mike, Thanks for checking. According to the Dictionary, dropboxGetCurrentAccount only takes one parameter dropboxGetCurrentAccount pAccessToken, [pCallback] if it's supposed to take two, that would explain the 400 error! But how does one obtain the account_id in the first place?