Re: Browser widget scrolling

2020-07-21 Thread J. Landman Gay via use-livecode

On 7/21/20 1:39 AM, Terence Heaford via use-livecode wrote:




On 20 Jul 2020, at 21:06, J. Landman Gay via use-livecode 
 wrote:

I'm not sure if this is a bug or a feature.



It also seems to happen when the widget is empty?



Sounds like a bug report is in order. If there is a property available, it should be functional 
and this one isn't.


--
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: Functions running in IDE, but not running in standalone

2020-07-21 Thread matthias rebbe via use-livecode
Bruce,

i am now almost out of ideas. ;) 

If no one else has an idea, then i would contact Livecode Support.

But you could try one little thing before sending a support request.
I cannot remember whne tsNet was introduced. But you could try to create a 
standalone which does not use tsNET.

So...
1. In Standalone Settings under inclusions uncheck tsNET
2. run   dispatch "revunloadlibrary" to stack tsnetliburl   in the message 
box
This disables tsNET.
3. Now create a standalone. That standalone will now just use the libURL 
library without tsNET.
4. Test with that standalone

To enable tsNET again just restart Livecode or executedispatch 
"revloadlibrary" to stack tsnetliburl
in the message box


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 21.07.2020 um 17:28 schrieb Bruce Pokras via use-livecode 
> :
> 
> Matthias,
> 
> Thanks very much for your interest in helping me with my problems.
> 
> 1) Internet library working in the standalone? The Internet library is 
> apparently installed and working properly for downloading patent text and PDF 
> images with “put URL [web address] into binfile: [local file path and name]”. 
> No problems with that.
> 
> 2) Savestackrequest message? I do not use that.
> 
> Regards,
> 
> Bruce
> 
>> On Jul 20, 2020, at 7:12 PM, matthias rebbe via use-livecode 
>>  wrote:
>> 
>> Bruce,
>> 
>> i just tried with a sample stack where i did not include the Internet 
>> library. I get exact the same error in the bugreport (except the line number 
>> and stack name and so on).
>> 
>> "Executing at 12:58:33 AM on Tuesday, July 21, 2020
>> Type: Handler: can't find handler
>> Object: button "Button" of card id 1002 of stack 
>> "/Users/matthias/Downloads/test5/MacOSX/test.app/Contents/MacOS/test"
>> Line: libURLSetSSLVerification false
>> Line Num: 2
>> Hint: libURLSetSSLVerification
>> 
>> Comments: hm,weird"
>> 
>> 
>> If Internet library is really selected in under Inclusions in Standalone 
>> Settings, then either there is a problem with your Livecode installation or 
>> another guess...
>> 
>> Are you using  the savestackrequest message in your scripts? If so, is it 
>> possible by any chance that you did forgot to add "pass savestackrequest" 
>> before "End savestackrequest"?
>> 
>> I remember that a long time ago i  bothered the Support Team with a problem 
>> that database functions did not work in my standalone although i had enabled 
>> all needed inclusions.
>> The problem was i used  the savestackrequest message to cleanup fields and 
>> other things in the stack before saving, but forgot to add "pass 
>> savestackrequest".
>> The interesting part was, that the standalone was created and although all 
>> included externals were added to the standalone, the standalone was not able 
>> to communicate with the database. After adding that line, all was fine.
>> 
>> -
>> Matthias Rebbe
>> Life Is Too Short For Boring Code
>> 
>>> Am 21.07.2020 um 00:28 schrieb Bruce Pokras via use-livecode 
>>> :
>>> 
>>> Matthias,
>>> 
>>> Yes to both Internet and SSL & Encryption libraries.
>>> 
>>> So everything should be running just fine, but are not.
>>> 
>>> Regards,
>>> 
>>> Bruce
>>> 
 On Jul 20, 2020, at 6:04 PM, matthias rebbe via use-livecode 
  wrote:
 
 Bruce,
 
 and according to the dictionary Internet has to be included to use 
 libURLSetSSLVerification.
 
 
 
 -
 Matthias Rebbe
 Life Is Too Short For Boring Code
 
> Am 20.07.2020 um 23:29 schrieb matthias rebbe via use-livecode 
> :
> 
> Bruce,
> 
> i might be wrong, but did you also include SSL in 
> StandaloneSettings.
> If i recall it correctly then SSL is needed for https.
> 
> Regards,
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 20.07.2020 um 22:28 schrieb Bruce Pokras via use-livecode 
>> mailto:use-livecode@lists.runrev.com>>:
>> 
>> Matthias and Curry,
>> 
>> Thanks for your responses. I am using Indy for which I apparently do not 
>> have access to RemoteDebugger.
>> 
>> I did activate the “Bug Reports” feature and added “tsNet” to the 
>> included stuff for the standalone. 
>> 
>> From the bug reporter feature, it seems that “libURL" commands/functions 
>> are somehow creating a problem. (And, yes, I am including the Internet 
>> library in my standalone!).
>> 
>> Here are a couple of examples of the bug reports that were generated:
>> ==
>> Error from running Patent Grabber’s “Abstract Report":
>> 
>> Executing at 3:45:49 PM on Monday, July 20, 2020
>> Type: Handler: can't find handler
>> Object: stack "/Users/BruceiMac/Documents/Revolution/Projects 461/Patent 
>> Grabber 6.4.4-0310/MacOSX/Patent Grabber 
>> 6.4.4-03.app/Contents/MacOS/Patent Grabber 6.4.4-03"
>> Line Num: 81
>> Hint: libURLSetSSLVerification
>> 
>> My comments: Line 81 is 

Re: Functions running in IDE, but not running in standalone

2020-07-21 Thread Bruce Pokras via use-livecode
Matthias,

Thanks very much for your interest in helping me with my problems.

1) Internet library working in the standalone? The Internet library is 
apparently installed and working properly for downloading patent text and PDF 
images with “put URL [web address] into binfile: [local file path and name]”. 
No problems with that.

2) Savestackrequest message? I do not use that.

Regards,

Bruce

> On Jul 20, 2020, at 7:12 PM, matthias rebbe via use-livecode 
>  wrote:
> 
> Bruce,
> 
> i just tried with a sample stack where i did not include the Internet 
> library. I get exact the same error in the bugreport (except the line number 
> and stack name and so on).
> 
> "Executing at 12:58:33 AM on Tuesday, July 21, 2020
> Type: Handler: can't find handler
> Object: button "Button" of card id 1002 of stack 
> "/Users/matthias/Downloads/test5/MacOSX/test.app/Contents/MacOS/test"
> Line: libURLSetSSLVerification false
> Line Num: 2
> Hint: libURLSetSSLVerification
> 
> Comments: hm,weird"
> 
> 
> If Internet library is really selected in under Inclusions in Standalone 
> Settings, then either there is a problem with your Livecode installation or 
> another guess...
> 
> Are you using  the savestackrequest message in your scripts? If so, is it 
> possible by any chance that you did forgot to add "pass savestackrequest" 
> before "End savestackrequest"?
> 
> I remember that a long time ago i  bothered the Support Team with a problem 
> that database functions did not work in my standalone although i had enabled 
> all needed inclusions.
> The problem was i used  the savestackrequest message to cleanup fields and 
> other things in the stack before saving, but forgot to add "pass 
> savestackrequest".
> The interesting part was, that the standalone was created and although all 
> included externals were added to the standalone, the standalone was not able 
> to communicate with the database. After adding that line, all was fine.
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 21.07.2020 um 00:28 schrieb Bruce Pokras via use-livecode 
>> :
>> 
>> Matthias,
>> 
>> Yes to both Internet and SSL & Encryption libraries.
>> 
>> So everything should be running just fine, but are not.
>> 
>> Regards,
>> 
>> Bruce
>> 
>>> On Jul 20, 2020, at 6:04 PM, matthias rebbe via use-livecode 
>>>  wrote:
>>> 
>>> Bruce,
>>> 
>>> and according to the dictionary Internet has to be included to use 
>>> libURLSetSSLVerification.
>>> 
>>> 
>>> 
>>> -
>>> Matthias Rebbe
>>> Life Is Too Short For Boring Code
>>> 
 Am 20.07.2020 um 23:29 schrieb matthias rebbe via use-livecode 
 :
 
 Bruce,
 
 i might be wrong, but did you also include SSL in 
 StandaloneSettings.
 If i recall it correctly then SSL is needed for https.
 
 Regards,
 
 -
 Matthias Rebbe
 Life Is Too Short For Boring Code
 
> Am 20.07.2020 um 22:28 schrieb Bruce Pokras via use-livecode 
> mailto:use-livecode@lists.runrev.com>>:
> 
> Matthias and Curry,
> 
> Thanks for your responses. I am using Indy for which I apparently do not 
> have access to RemoteDebugger.
> 
> I did activate the “Bug Reports” feature and added “tsNet” to the 
> included stuff for the standalone. 
> 
> From the bug reporter feature, it seems that “libURL" commands/functions 
> are somehow creating a problem. (And, yes, I am including the Internet 
> library in my standalone!).
> 
> Here are a couple of examples of the bug reports that were generated:
> ==
> Error from running Patent Grabber’s “Abstract Report":
> 
> Executing at 3:45:49 PM on Monday, July 20, 2020
> Type: Handler: can't find handler
> Object: stack "/Users/BruceiMac/Documents/Revolution/Projects 461/Patent 
> Grabber 6.4.4-0310/MacOSX/Patent Grabber 
> 6.4.4-03.app/Contents/MacOS/Patent Grabber 6.4.4-03"
> Line Num: 81
> Hint: libURLSetSSLVerification
> 
> My comments: Line 81 is where I set libURLSetSSLVerification to false. 
> What does it mean “can’t find handler" Why not? It’s part of the 
> included Internet library!
> 
 ___
 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:
>> 

Re: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle

2020-07-21 Thread JeeJeeStudio via use-livecode
I once did that, to read out the values on a sheet. But I can't remember if
I used OAuth2 for that.

Op di 21 jul. 2020 15:51 schreef Mike Kerner via use-livecode <
use-livecode@lists.runrev.com>:

> I got impatient/spooked so we went another direction.  I think we're going
> to use other tools.
>
> On Thu, Jul 16, 2020 at 10:00 AM Ben Rubinstein via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Hi Mike,
> >
> > Brian Milby put me on to the solution for the OAuth problem:
> > > Check out bug 22557 / PR 7381.
> > > Line 247 of oath2.livecodescript need urlEncode removed
> >
> > Are you still interested in this, or are you covered now?
> >
> > regards,
> >
> > Ben
> >
> > On 11/03/2020 20:45, Ben Rubinstein via use-livecode wrote:
> > > Hi Mike,
> > >
> > > I haven't forgotten, but finally found time to take a look today and
> > started
> > > writing minimal comments, and thought I should at least test it - for
> > some
> > > reason the authorisation isn't working. For whatever reason, the call
> to
> > > OAuth2 results in the error "Malformed auth code." So I can't get to
> > test what
> > > I'm sending.
> > >
> > > I'm unclear whether I've done something strange or wrong, or whether
> > Google
> > > has changed something that breaks LC's implementation. I've come across
> > > references which suggest that, but they date back to last year, and I
> > believe
> > > I've used this stack in January. (I also tried using LC 9.0.4 with the
> > same
> > > result.)
> > >
> > > I will try to get back to this. In the meantime, have you - or anyone -
> > found
> > > issues recently with OAuth2, in particular against any of the Google
> > APIs?
> > >
> > > Ben
> > >
> > >
> > > On 08/03/2020 22:22, Mike Kerner via use-livecode wrote:
> > >> it might help us get started.  i'm going to probably put out an rfq to
> > wrap
> > >> the v4 rest api, because we're going to have to come to a solution,
> > either
> > >> using lc or some other tool.
> > >>
> > >> On Sun, Mar 8, 2020 at 6:01 PM Ben Rubinstein via use-livecode <
> > >> use-livecode@lists.runrev.com> wrote:
> > >>
> > >>> Mike,
> > >>>
> > >>> Very happy to share what I've got, but it's really not much - just a
> > very
> > >>> thin
> > >>> wrapper round Google's API - and it's undocumented, mostly rough
> code -
> > >>> copied
> > >>> from one stack to the next, usually done in a tearing hurry!
> > >>>
> > >>> I'll try to pull something together, but please promise not to judge
> > me...
> > >>>
> > >>> Ben
> > >>>
> > >>> On 06/03/2020 15:13, Mike Kerner via use-livecode wrote:
> >  Ben,
> >  would you send me what you've got?  I was considering paying someone
> > to
> >  wrap the entire v4 api and dropping mergGoogle, so any head start
> > would
> > >>> be
> >  useful.  LC wants tribute to do the work (which is a little
> > disappointing
> >  since we financed the original external, so we sort-of hoped that it
> > >>> would
> >  become a thing, and it would get updated as required, but crap
> > happens).
> > 
> >  On Thu, Mar 5, 2020 at 6:04 PM Ben Rubinstein via use-livecode <
> >  use-livecode@lists.runrev.com> wrote:
> > 
> > > On 04/03/2020 20:37, Mike Kerner via use-livecode wrote:
> > >> is anyone using anything besides mergGoogle to work with google
> > sheets?
> > >> care to share, if you are?
> > >
> > > I'm just using the Google Sheets API directly from LiveCode - just
> > >>> pushing
> > > JSON back and forth. The API is limited, but what's there is very
> > easy
> > >>> to
> > > work
> > > with - much better than manipulating xlsx files.
> > >
> > > I started using it to get data from clients, and then processing
> data
> > >>> and
> > > pushing it back into the sheets. I've also used on some
> experimental
> > >>> image
> > > processing, where I found that pushing the results of LiveCode
> > functions
> > > into
> > > a google sheet immediately gave me an nice interface in which to
> > review
> > > the
> > > data, and then I could also use the spreadsheet functions to do
> > >>> evaluation
> > > and
> > > testing.
> > >
> > > 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
> >
>
>
> --
> 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 

Re: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle

2020-07-21 Thread Mike Kerner via use-livecode
I got impatient/spooked so we went another direction.  I think we're going
to use other tools.

On Thu, Jul 16, 2020 at 10:00 AM Ben Rubinstein via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Mike,
>
> Brian Milby put me on to the solution for the OAuth problem:
> > Check out bug 22557 / PR 7381.
> > Line 247 of oath2.livecodescript need urlEncode removed
>
> Are you still interested in this, or are you covered now?
>
> regards,
>
> Ben
>
> On 11/03/2020 20:45, Ben Rubinstein via use-livecode wrote:
> > Hi Mike,
> >
> > I haven't forgotten, but finally found time to take a look today and
> started
> > writing minimal comments, and thought I should at least test it - for
> some
> > reason the authorisation isn't working. For whatever reason, the call to
> > OAuth2 results in the error "Malformed auth code." So I can't get to
> test what
> > I'm sending.
> >
> > I'm unclear whether I've done something strange or wrong, or whether
> Google
> > has changed something that breaks LC's implementation. I've come across
> > references which suggest that, but they date back to last year, and I
> believe
> > I've used this stack in January. (I also tried using LC 9.0.4 with the
> same
> > result.)
> >
> > I will try to get back to this. In the meantime, have you - or anyone -
> found
> > issues recently with OAuth2, in particular against any of the Google
> APIs?
> >
> > Ben
> >
> >
> > On 08/03/2020 22:22, Mike Kerner via use-livecode wrote:
> >> it might help us get started.  i'm going to probably put out an rfq to
> wrap
> >> the v4 rest api, because we're going to have to come to a solution,
> either
> >> using lc or some other tool.
> >>
> >> On Sun, Mar 8, 2020 at 6:01 PM Ben Rubinstein via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>
> >>> Mike,
> >>>
> >>> Very happy to share what I've got, but it's really not much - just a
> very
> >>> thin
> >>> wrapper round Google's API - and it's undocumented, mostly rough code -
> >>> copied
> >>> from one stack to the next, usually done in a tearing hurry!
> >>>
> >>> I'll try to pull something together, but please promise not to judge
> me...
> >>>
> >>> Ben
> >>>
> >>> On 06/03/2020 15:13, Mike Kerner via use-livecode wrote:
>  Ben,
>  would you send me what you've got?  I was considering paying someone
> to
>  wrap the entire v4 api and dropping mergGoogle, so any head start
> would
> >>> be
>  useful.  LC wants tribute to do the work (which is a little
> disappointing
>  since we financed the original external, so we sort-of hoped that it
> >>> would
>  become a thing, and it would get updated as required, but crap
> happens).
> 
>  On Thu, Mar 5, 2020 at 6:04 PM Ben Rubinstein via use-livecode <
>  use-livecode@lists.runrev.com> wrote:
> 
> > On 04/03/2020 20:37, Mike Kerner via use-livecode wrote:
> >> is anyone using anything besides mergGoogle to work with google
> sheets?
> >> care to share, if you are?
> >
> > I'm just using the Google Sheets API directly from LiveCode - just
> >>> pushing
> > JSON back and forth. The API is limited, but what's there is very
> easy
> >>> to
> > work
> > with - much better than manipulating xlsx files.
> >
> > I started using it to get data from clients, and then processing data
> >>> and
> > pushing it back into the sheets. I've also used on some experimental
> >>> image
> > processing, where I found that pushing the results of LiveCode
> functions
> > into
> > a google sheet immediately gave me an nice interface in which to
> review
> > the
> > data, and then I could also use the spreadsheet functions to do
> >>> evaluation
> > and
> > testing.
> >
> > 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
>


-- 
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: Browser widget scrolling

2020-07-21 Thread Terence Heaford via use-livecode



> On 20 Jul 2020, at 21:06, J. Landman Gay via use-livecode 
>  wrote:
> 
> I'm not sure if this is a bug or a feature.


It also seems to happen when the widget is empty?


Thanks

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