Re: DG outcomes on desktop vs mobile

2020-10-23 Thread J. Landman Gay via use-livecode
Well it's about time. All the rest of us have felt pretty dumb on multiple 
occasions and you were the only outlier.  ;)



But seriously, mobile apps are their own kind of animal. There's a learning 
curve. And each OS has its own idiosyncrasies.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 23, 2020 9:04:45 PM Phil Davis via use-livecode 
 wrote:



Well, I'm feeling pretty dumb about now.




___
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: DG outcomes on desktop vs mobile

2020-10-23 Thread Phil Davis via use-livecode

Well, I'm feeling pretty dumb about now. It's the architecture, stupid!

I overlooked the fact that, unlike on desktop systems, my mobile app 
doesn't automagically have access to the test files that reside in the 
app's dev environment on my Mac. During startup on the iPad, the app has 
to populate its [Documents] subfolders with test files stored in the app 
bundle.


It's my first mobile app. At least there's that. And I can pretty much 
guarantee I'll never again overlook the need to do this!


So that part of the app is working now. Thanks for the great ideas, 
which will be useful when I stumble again -


Phil


On 10/23/20 3:06 PM, Bob Sneidar via use-livecode wrote:

I got into the habit of setting the dgdata to empty before populating it 
because I ran into issues where my own code set the dgdata to something not an 
array, and this seems to bork the data grid. I think it was an empty array, or 
an empty record. This didn’t show up as a blank line however, the data 
displayed correctly, but the data grid became unresponsive. It didn’t show up 
in the text view of the property inspector either. I had to put the dgtext into 
the msg and then the blank line showed up.

Bob S


On Oct 23, 2020, at 5:19 AM, Andrew at MidWest Coast Media via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

This happened to me, twice, in a project I just launched. I was in crunch so 
didn’t have time to properly document but something happened where the DG 
wasn’t loading. I could take the same dgData or dgText and load it to another 
DG fine. Being on mobile made this harder to debug because even with Remote 
Debugger I would still have to compile and launch to the simulator each time I 
tried a tweak.

Because I was up against a deadline and since I wasted several hours trying to 
troubleshoot I just replaced the DG with a brand new: everything worked. Didn’t 
even bother to troubleshoot the 2nd time it happened, just immediately made a 
new DG and moved on.

Not a definitive answer to your question but an acknowledgement of your problem.

—Andrew Bell

I'm building an iPad app that reads a bunch of files into an array and
then sets the dgData of a form DG to that array. The array is
well-formed for DG use. After setting the dgData of the DG, the result
is empty. Only one problem: the DG now contains no data. (I also tried
setting the dgText of the DG to a flat version of the same data and got
the same outcome.)

I can then create another array from custom property data and set the
dgData of the same form DG to that array and it works.

On the desktop, however, the same DG loading process never fails.

The data being loaded is all text - nothing esoteric.

Does anyone have any ideas how I can find & fix the problem(s)? Or have
you run into this before?

Thank you -
Phil Davis

___
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


--
Phil Davis
503-307-4363


___
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: DG outcomes on desktop vs mobile

2020-10-23 Thread Bob Sneidar via use-livecode
I got into the habit of setting the dgdata to empty before populating it 
because I ran into issues where my own code set the dgdata to something not an 
array, and this seems to bork the data grid. I think it was an empty array, or 
an empty record. This didn’t show up as a blank line however, the data 
displayed correctly, but the data grid became unresponsive. It didn’t show up 
in the text view of the property inspector either. I had to put the dgtext into 
the msg and then the blank line showed up.

Bob S


On Oct 23, 2020, at 5:19 AM, Andrew at MidWest Coast Media via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

This happened to me, twice, in a project I just launched. I was in crunch so 
didn’t have time to properly document but something happened where the DG 
wasn’t loading. I could take the same dgData or dgText and load it to another 
DG fine. Being on mobile made this harder to debug because even with Remote 
Debugger I would still have to compile and launch to the simulator each time I 
tried a tweak.

Because I was up against a deadline and since I wasted several hours trying to 
troubleshoot I just replaced the DG with a brand new: everything worked. Didn’t 
even bother to troubleshoot the 2nd time it happened, just immediately made a 
new DG and moved on.

Not a definitive answer to your question but an acknowledgement of your problem.

—Andrew Bell

I'm building an iPad app that reads a bunch of files into an array and
then sets the dgData of a form DG to that array. The array is
well-formed for DG use. After setting the dgData of the DG, the result
is empty. Only one problem: the DG now contains no data. (I also tried
setting the dgText of the DG to a flat version of the same data and got
the same outcome.)

I can then create another array from custom property data and set the
dgData of the same form DG to that array and it works.

On the desktop, however, the same DG loading process never fails.

The data being loaded is all text - nothing esoteric.

Does anyone have any ideas how I can find & fix the problem(s)? Or have
you run into this before?

Thank you -
Phil Davis

___
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: Script Editor freezes in Windows 10 (was Can't edit scripts in DataGrid group in Windows 10)

2020-10-23 Thread Martin Koob via use-livecode
Thanks mark

I will check this out.

Martin

> On Oct 23, 2020, at 4:45 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> Brian Milby's Script Tracker

___
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: Script Editor freezes in Windows 10 (was Can't edit scripts in DataGrid group in Windows 10)

2020-10-23 Thread Mark Wieder via use-livecode

On 10/23/20 6:44 AM, Martin Koob via use-livecode wrote:


I figured out what caused it.   I am using Monte’s lcVCS plugin to keep the 
project  in bitbucket


Try Brian Milby's Script Tracker plugin.

--
 Mark Wieder
 ahsoftw...@gmail.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: IDE Hang When Exiting. (was Can't edit scripts in DataGrid group in Windows 10)

2020-10-23 Thread Peter Bogdanoff via use-livecode
Yesterday I had LC hang when using the red dot on the same line as the 
breakpoint command. LC 9.5.1

Peter



> On Oct 23, 2020, at 5:33 AM, Ralph DiMola via use-livecode 
>  wrote:
> 
> It was a hardcoded breakpoint in this form.
> 
> If x<0 then breakpoint
> 
> I wonder if inadvertently triggered "red dot" breakpoints when exiting can 
> cause the same hang?
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
> 
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf 
> Of Martin Koob via use-livecode
> Sent: Thursday, October 22, 2020 7:53 PM
> To: How to use LiveCode
> Cc: Martin Koob
> Subject: Re: IDE Hang When Exiting. (was Can't edit scripts in DataGrid group 
> in Windows 10)
> 
> Hi Ralph
> 
> I generally experience IDE hang when exiting in all versions of LC 9.x i have 
> used so far (using a Mac however). I haven’t had time to delve into figuring 
> out a recipe I could report as a bug. I just force quit and relaunched 
> LiveCode.  That is just part of my work flow now.  Sometimes it does quit 
> with no hang.  Some things I have tried is closing the script editor, or 
> close and remove from memory before quitting.  I still don’t get consistent 
> results from this though.
> 
> It happens with various stacks I work on from simple to complex.  I thought 
> it may be an extension I have installed that ties up the IDE during the 
> quitting process.  I plan one day to remove all extensions to a bare minimum 
> and see if it still happens.
> 
> Interesting idea about the breakpoint.  Is it a ‘red dot’ soft breakpoint or 
> hard coded ‘breakpoint’ in a line of the script?
> 
> The behaviour of the soft breakpoints I have found inconsistent.   Sometimes 
> they don’t trigger unless I have the script open for at least the first 
> breakpoint I want to trigger. Again I have never really tried to get to the 
> cause, just did workarounds.
> 
> I probably have way to many breakpoints left sitting around.  Maybe I should 
> just delete all breakpoints and start fresh.
> 
> Thanks for the idea.  Maybe that will solve the other problem I am having 
> with the DataGrid.
> 
> Martin
> 
>> On Oct 22, 2020, at 7:32 PM, Ralph DiMola via use-livecode 
>>  wrote:
>> 
>> Martin,
>> 
>> I don’t have an answer for that but this post perked my interest in a hang I 
>> was getting. I just found out why the IDE hangs in an apparently tight loop 
>> when it's closing. This happened only on one card of the stack. It had a 
>> closeCard handler in the behavior. A "breakpoint" statement triggered. It 
>> was from early debugging and does not get triggered anymore. It only 
>> triggers if all is not well. There is reference to a property in the main 
>> stack. Could that stack already be closed and the property returns as empty? 
>> Because that would trigger the breakpoint.
>> 
>> Is this a bug or user error?
>> 
>> Win 10
>> LC 9.6.1
>> 
>> Thanks for pushing me(more like  a poke) to finally solve this annoyance.
>> 
>> Ralph DiMola
>> IT Director
>> Evergreen Information Services
>> rdim...@evergreeninfo.net
>> 
>> -Original Message-
>> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf 
>> Of Martin Koob via use-livecode
>> Sent: Thursday, October 22, 2020 5:19 PM
>> To: use-livecode list
>> Cc: Martin Koob
>> Subject: Can't edit scripts in DataGrid group in Windows 10
>> 
>> Hi all
>> 
>> Maybe this is not good practice but I have DataGrids with script in the 
>> group that contains the DataGrid in addition to the behaviour script of the 
>> DataGrid.   So to edit the script in the DataGrid group I just select the 
>> Datagrid group I right click on the DataGrid and select the ‘Edit Script’ 
>> menu item.   
>> 
>> This works fine on the mac.I just tried this on Windows 10 with LiveCode 
>> 9.6 and when I try to open the same DataGrid following the same process the 
>> script editor opens but it does not load the script.  In fact LiveCode 
>> becomes unresponsive. The script editor dims as if disabled and the cursor 
>> when hovering over the script editor or any other LiveCode windows  is the 
>> hour glass cursor.
>> 
>> If I click on the ‘x’ to close the LiveCode project I get the dialog that 
>> says.
>> 
>>   LiveCode for Windows is not responding
>>   If you close the program, you might lose information.
>>   —>Close the Program
>>   —>Wait for the program to respond.
>> 
>> Eventually I just select ‘Close the program’ since the program never 
>> responds.
>> 
>> I created a test stack with just a DataGrid on it and a button and opened 
>> the group script and was able to add a handler and then save it and reopen 
>> it so it does work in a simple scenario.
>> 
>> In my application I have two dataGrids that have code in the group script.  
>> On has 290 lines the other has about 480 lines.   So it seems the longer 
>> code is a contributing factor.
>> 
>> Has anyone else experienced 

Re: POST to https in LC5.0.2 - Error socket closed

2020-10-23 Thread matthias rebbe via use-livecode
Sean,
i just reactivated on an VM an old  "LC 5.0.2 Complete" license which was 
similar to the Enterprise license in earlier versions of LC on a Windows 

I tried to post to a https:// url in 5.0.2 and  i got an SSL error. It seems 
that 5.0.2 does only support the old TLS V1 and newer web servers do not 
support that anymore.
So i am not sure, if LC 5.0.2 is of any use.
Just wanted to let you know.

Regards,
Matthias




-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 23.10.2020 um 11:47 schrieb Pi Digital via use-livecode 
> :
> 
> Hi
> 
> Is there any way I can get Lc5.0.2 unlocked to Enterprise level just so I can 
> get this ssl https revdb behind me so our clients don’t all go running before 
> we upgrade the code to v9.x. I’m truly at a loss. 
> 
> Sean Cole
> Pi Digital
> 
> 
>> On 23 Oct 2020, at 05:48, Sean Cole (Pi)  wrote:
>> 
>> 
>> Hi all,
>> 
>> I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2 
>> stack. It worked ok in v9 but v5 throws back an error of 'error socket 
>> closed'.
>> 
>> This is my only workaround for accessing MySQL using SSL via a 'post' 
>> command through PHP, as suggested by Mark Waddingham and others.
>> 
>> Now I am at a total loss! From what I can see in the forums, LC locked out 
>> 'post to https' to only Enterprise users. Arrrghhh! 
>> 
>> I don't know what else I can do. Curl is not an option as this will be 
>> running as an app on clients Windows machines. But even put url("https:// 
>> returns error socket closed so that rules out setting up a server app too. 
>> Nothing works!
>> 
>> I'm Delirious! HELP!
>> 
>> Sean Cole
>> Pi Digital 
> ___
> 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: DG outcomes on desktop vs mobile

2020-10-23 Thread Phil Davis via use-livecode
All the files are in a 'Students' subfolder of the app's Documents 
folder, and the path reflects that. However, your question is making me 
go through the handling of data with a fine-tooth comb, so that may 
result in something.


Thanks Jacque -
Phil


On 10/23/20 11:22 AM, J. Landman Gay via use-livecode wrote:

What is the path you use to get the files?

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 23, 2020 12:26:34 PM Phil Davis via use-livecode 
 wrote:



That's a good question. On desktop, the array variable is full of data.
On the iPad it's apparently empty. I'll drill down further and see
what's going on.

Thanks for the idea.
Phil


On 10/23/20 1:03 AM, JeeJeeStudio via use-livecode wrote:

What do you see when you answer the data you set the dgdata to? Does it
show the values?

Op vr 23 okt. 2020 08:44 schreef Phil Davis via use-livecode <
use-livecode@lists.runrev.com>:


I'm building an iPad app that reads a bunch of files into an array and
then sets the dgData of a form DG to that array. The array is
well-formed for DG use. After setting the dgData of the DG, the result
is empty. Only one problem: the DG now contains no data. (I also tried
setting the dgText of the DG to a flat version of the same data and 
got

the same outcome.)

I can then create another array from custom property data and set the
dgData of the same form DG to that array and it works.

On the desktop, however, the same DG loading process never fails.

The data being loaded is all text - nothing esoteric.

Does anyone have any ideas how I can find & fix the problem(s)? Or 
have

you run into this before?

Thank you -
Phil Davis

--
Phil Davis
503-307-4363


___
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



--
Phil Davis
503-307-4363


___
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



--
Phil Davis
503-307-4363


___
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: DG outcomes on desktop vs mobile

2020-10-23 Thread J. Landman Gay via use-livecode

What is the path you use to get the files?

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 23, 2020 12:26:34 PM Phil Davis via use-livecode 
 wrote:



That's a good question. On desktop, the array variable is full of data.
On the iPad it's apparently empty. I'll drill down further and see
what's going on.

Thanks for the idea.
Phil


On 10/23/20 1:03 AM, JeeJeeStudio via use-livecode wrote:

What do you see when you answer the data you set the dgdata to? Does it
show the values?

Op vr 23 okt. 2020 08:44 schreef Phil Davis via use-livecode <
use-livecode@lists.runrev.com>:


I'm building an iPad app that reads a bunch of files into an array and
then sets the dgData of a form DG to that array. The array is
well-formed for DG use. After setting the dgData of the DG, the result
is empty. Only one problem: the DG now contains no data. (I also tried
setting the dgText of the DG to a flat version of the same data and got
the same outcome.)

I can then create another array from custom property data and set the
dgData of the same form DG to that array and it works.

On the desktop, however, the same DG loading process never fails.

The data being loaded is all text - nothing esoteric.

Does anyone have any ideas how I can find & fix the problem(s)? Or have
you run into this before?

Thank you -
Phil Davis

--
Phil Davis
503-307-4363


___
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



--
Phil Davis
503-307-4363


___
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: DG outcomes on desktop vs mobile

2020-10-23 Thread Dan Friedman via use-livecode
Phil,

One thing I have noticed is if you have a put command with no destination, 
mobile devices DO NOT LIKE THIS!!   It will halt script execution completely as 
if it were an error.   For example:

put myVar

This would normally put the contents of myVar into the message box.  But on a 
real phone, it's a disaster!   Maybe you have one of these put's somewhere that 
is halting executing and causing the DG not to be filled.   Just a thought.

-Dan



On 10/23/20, 10:25 AM, "use-livecode on behalf of Phil Davis via use-livecode" 
 wrote:

That's a good question. On desktop, the array variable is full of data. 
On the iPad it's apparently empty. I'll drill down further and see 
what's going on.

Thanks for the idea.
Phil


On 10/23/20 1:03 AM, JeeJeeStudio via use-livecode wrote:
> What do you see when you answer the data you set the dgdata to? Does it
> show the values?
>
> Op vr 23 okt. 2020 08:44 schreef Phil Davis via use-livecode <
> use-livecode@lists.runrev.com>:
>
>> I'm building an iPad app that reads a bunch of files into an array and
>> then sets the dgData of a form DG to that array. The array is
>> well-formed for DG use. After setting the dgData of the DG, the result
>> is empty. Only one problem: the DG now contains no data. (I also tried
>> setting the dgText of the DG to a flat version of the same data and got
>> the same outcome.)
>>
>> I can then create another array from custom property data and set the
>> dgData of the same form DG to that array and it works.
>>
>> On the desktop, however, the same DG loading process never fails.
>>
>> The data being loaded is all text - nothing esoteric.
>>
>> Does anyone have any ideas how I can find & fix the problem(s)? Or have
>> you run into this before?
>>
>> Thank you -
>> Phil Davis
>>
>> --
>> Phil Davis
>> 503-307-4363
>>
>>
>> ___
>> 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
>

-- 
Phil Davis
503-307-4363


___
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: DG outcomes on desktop vs mobile

2020-10-23 Thread Phil Davis via use-livecode
That's a good question. On desktop, the array variable is full of data. 
On the iPad it's apparently empty. I'll drill down further and see 
what's going on.


Thanks for the idea.
Phil


On 10/23/20 1:03 AM, JeeJeeStudio via use-livecode wrote:

What do you see when you answer the data you set the dgdata to? Does it
show the values?

Op vr 23 okt. 2020 08:44 schreef Phil Davis via use-livecode <
use-livecode@lists.runrev.com>:


I'm building an iPad app that reads a bunch of files into an array and
then sets the dgData of a form DG to that array. The array is
well-formed for DG use. After setting the dgData of the DG, the result
is empty. Only one problem: the DG now contains no data. (I also tried
setting the dgText of the DG to a flat version of the same data and got
the same outcome.)

I can then create another array from custom property data and set the
dgData of the same form DG to that array and it works.

On the desktop, however, the same DG loading process never fails.

The data being loaded is all text - nothing esoteric.

Does anyone have any ideas how I can find & fix the problem(s)? Or have
you run into this before?

Thank you -
Phil Davis

--
Phil Davis
503-307-4363


___
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



--
Phil Davis
503-307-4363


___
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: DG outcomes on desktop vs mobile

2020-10-23 Thread Phil Davis via use-livecode

Thanks Andrew - I think I'll try this for the same reasons you did.

Phil


On 10/23/20 5:19 AM, Andrew at MidWest Coast Media via use-livecode wrote:

This happened to me, twice, in a project I just launched. I was in crunch so 
didn’t have time to properly document but something happened where the DG 
wasn’t loading. I could take the same dgData or dgText and load it to another 
DG fine. Being on mobile made this harder to debug because even with Remote 
Debugger I would still have to compile and launch to the simulator each time I 
tried a tweak.

Because I was up against a deadline and since I wasted several hours trying to 
troubleshoot I just replaced the DG with a brand new: everything worked. Didn’t 
even bother to troubleshoot the 2nd time it happened, just immediately made a 
new DG and moved on.

Not a definitive answer to your question but an acknowledgement of your problem.

—Andrew Bell


I'm building an iPad app that reads a bunch of files into an array and
then sets the dgData of a form DG to that array. The array is
well-formed for DG use. After setting the dgData of the DG, the result
is empty. Only one problem: the DG now contains no data. (I also tried
setting the dgText of the DG to a flat version of the same data and got
the same outcome.)

I can then create another array from custom property data and set the
dgData of the same form DG to that array and it works.

On the desktop, however, the same DG loading process never fails.

The data being loaded is all text - nothing esoteric.

Does anyone have any ideas how I can find & fix the problem(s)? Or have
you run into this before?

Thank you -
Phil Davis


___
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


--
Phil Davis
503-307-4363


___
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: Script Editor freezes in Windows 10 (was Can't edit scripts in DataGrid group in Windows 10)

2020-10-23 Thread Martin Koob via use-livecode
Hi everyone.

Thanks for all the suggestions.  I tried them all but no joy.

I figured out what caused it.   I am using Monte’s lcVCS plugin to keep the 
project  in bitbucket and I was trying to work on it on the Mac and Windows by 
making changes on the Mac and then updating the stacks by exporting to lcVCS, 
committing and pushing the changes to bitBucket and then on the Windows Machine 
fetching the changes and pulling them to the repo on my Windows machine and 
then use lcVCS to create stacks from files.   I recently finished a branch and 
was merging it back into my version  branch on the Mac.   When I tried to fetch 
the changes on Windows there were lots of conflicts.   I don’t really 
understand git process really well for merging etc so I kind of hacked away at 
it till I got the two repos back in sync with the origin so in the process I 
must have ended up corrupting some of the scripts in the stack so they would 
not load. The stack would open and run properly which was odd…

So to fix it just zipped up the version on my Mac, Copied it over to the PC and 
opened it there and it worked.   So now I am back in business.

Thanks for for your time in responding.  Your responses got me to look at the 
problem from a few different angles till I could see the light through the 
cracks.

Martin.


> On Oct 23, 2020, at 8:09 AM, matthias rebbe via use-livecode 
>  wrote:
> 
> Martin,
> i am not sure if the freezes are also caused by this, but what Antivirus 
> Software are you using. A 3rd party or Microsoft Defender?
> If the latter then please try to exclude the Livecode program folder  and its 
> support folders (like preferences) from realtime scanning in MS Defender.
> 
> There were some reports from users that Microsoft Defender slowed down 
> Livecode, especially when using the Script Editor.
> 
> Regards,
> Matthias
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 23.10.2020 um 02:30 schrieb Martin Koob via use-livecode 
>> :
>> 
>> Another bit of info regarding the length of script where this happens.
>> 
>> I have been going through the project browser trying to open small scripts 
>> then opening those with more and more lines.   I found that a script with 53 
>> lines opens, a script with 62 lines freezes.
>> 
>> anyway.  Down with this for tonight.  Hope someone has some ideas as to what 
>> might be going on and how to solve it.
>> 
>> Martin
>> 
>> 
>>> On Oct 22, 2020, at 8:16 PM, Martin Koob via use-livecode 
>>>  wrote:
>>> 
>>> Hi again,
>>> 
>>> Sorry just re-read my previous email and realized it is not clear.
>>> 
>>> I meant to say that  is that I get the same issue where the IDE stops 
>>> responding when I try to edit the main stack script too.  So it is not a 
>>> strictly DataGrid issue.
>>> 
>>> Martin
>>> 
 On Oct 22, 2020, at 8:05 PM, Martin Koob via use-livecode 
  wrote:
 
 Hi
 
 Just to follow up.  It is not just happening in a DataGrid group script.  
 I just opened a main stack script.  It has almost 600 lines.
 
 Something Odd going on.  I am just new to using LiveCode on Windows as I 
 am now working on an application  for release on Mac and Windows.  However 
 I have edited many of the scripts in this project before and have never 
 seen this.  
 
 Again if anyone has ideas as to what might be happening or how to trouble 
 shoot that would really be appreciated.
 
 Martin
 
> On Oct 22, 2020, at 5:19 PM, Martin Koob  wrote:
> 
> Hi all
> 
> Maybe this is not good practice but I have DataGrids with script in the 
> group that contains the DataGrid in addition to the behaviour script of 
> the DataGrid.   So to edit the script in the DataGrid group I just select 
> the Datagrid group I right click on the DataGrid and select the ‘Edit 
> Script’ menu item.   
> 
> This works fine on the mac.I just tried this on Windows 10 with 
> LiveCode 9.6 and when I try to open the same DataGrid following the same 
> process the script editor opens but it does not load the script.  In fact 
> LiveCode becomes unresponsive. The script editor dims as if disabled and 
> the cursor when hovering over the script editor or any other LiveCode 
> windows  is the hour glass cursor.
> 
> If I click on the ‘x’ to close the LiveCode project I get the dialog that 
> says.
> 
> LiveCode for Windows is not responding
> If you close the program, you might lose information.
> —>Close the Program
> —>Wait for the program to respond.
> 
> Eventually I just select ‘Close the program’ since the program never 
> responds.
> 
> I created a test stack with just a DataGrid on it and a button and opened 
> the group script and was able to add a handler and then save it and 
> reopen it so it does work in a simple scenario.
> 
> In my application I have two dataGrids that have code 

Re: POST to https in LC5.0.2 - Error socket closed

2020-10-23 Thread Pi Digital via use-livecode
Hi Heather

Had you managed to find anything? I imagine it’s quite a task going back so far 
for a key generator. 

All the best

Sean Cole
Pi Digital Productions Ltd


eMail Ts & Cs


> On 23 Oct 2020, at 11:27, matthias rebbe via use-livecode 
>  wrote:
> 
> Do you have a current commercial license? If so, maybe Support is willing to 
> give you a license for the old 5.x.
> 
> Regards,
> Matthias
> 
> 
>> Am 23.10.2020 um 11:47 schrieb Pi Digital via use-livecode 
>> :
>> 
>> Hi
>> 
>> Is there any way I can get Lc5.0.2 unlocked to Enterprise level just so I 
>> can get this ssl https revdb behind me so our clients don’t all go running 
>> before we upgrade the code to v9.x. I’m truly at a loss. 
>> 
>> Sean Cole
>> Pi Digital
>> 
>> 
 On 23 Oct 2020, at 05:48, Sean Cole (Pi)  wrote:
>>> 
>>> 
>>> Hi all,
>>> 
>>> I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2 
>>> stack. It worked ok in v9 but v5 throws back an error of 'error socket 
>>> closed'.
>>> 
>>> This is my only workaround for accessing MySQL using SSL via a 'post' 
>>> command through PHP, as suggested by Mark Waddingham and others.
>>> 
>>> Now I am at a total loss! From what I can see in the forums, LC locked out 
>>> 'post to https' to only Enterprise users. Arrrghhh! 
>>> 
>>> I don't know what else I can do. Curl is not an option as this will be 
>>> running as an app on clients Windows machines. But even put url("https:// 
>>> returns error socket closed so that rules out setting up a server app too. 
>>> Nothing works!
>>> 
>>> I'm Delirious! HELP!
>>> 
>>> Sean Cole
>>> Pi Digital 
>> ___
>> 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
> 
> 
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
> 
> ___
> 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: IDE Hang When Exiting. (was Can't edit scripts in DataGrid group in Windows 10)

2020-10-23 Thread Ralph DiMola via use-livecode
It was a hardcoded breakpoint in this form.

If x<0 then breakpoint

I wonder if inadvertently triggered "red dot" breakpoints when exiting can 
cause the same hang?

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Martin Koob via use-livecode
Sent: Thursday, October 22, 2020 7:53 PM
To: How to use LiveCode
Cc: Martin Koob
Subject: Re: IDE Hang When Exiting. (was Can't edit scripts in DataGrid group 
in Windows 10)

Hi Ralph

I generally experience IDE hang when exiting in all versions of LC 9.x i have 
used so far (using a Mac however). I haven’t had time to delve into figuring 
out a recipe I could report as a bug. I just force quit and relaunched 
LiveCode.  That is just part of my work flow now.  Sometimes it does quit with 
no hang.  Some things I have tried is closing the script editor, or close and 
remove from memory before quitting.  I still don’t get consistent results from 
this though.

It happens with various stacks I work on from simple to complex.  I thought it 
may be an extension I have installed that ties up the IDE during the quitting 
process.  I plan one day to remove all extensions to a bare minimum and see if 
it still happens.

Interesting idea about the breakpoint.  Is it a ‘red dot’ soft breakpoint or 
hard coded ‘breakpoint’ in a line of the script?

The behaviour of the soft breakpoints I have found inconsistent.   Sometimes 
they don’t trigger unless I have the script open for at least the first 
breakpoint I want to trigger. Again I have never really tried to get to the 
cause, just did workarounds.

I probably have way to many breakpoints left sitting around.  Maybe I should 
just delete all breakpoints and start fresh.

Thanks for the idea.  Maybe that will solve the other problem I am having with 
the DataGrid.

Martin

> On Oct 22, 2020, at 7:32 PM, Ralph DiMola via use-livecode 
>  wrote:
> 
> Martin,
> 
> I don’t have an answer for that but this post perked my interest in a hang I 
> was getting. I just found out why the IDE hangs in an apparently tight loop 
> when it's closing. This happened only on one card of the stack. It had a 
> closeCard handler in the behavior. A "breakpoint" statement triggered. It was 
> from early debugging and does not get triggered anymore. It only triggers if 
> all is not well. There is reference to a property in the main stack. Could 
> that stack already be closed and the property returns as empty? Because that 
> would trigger the breakpoint.
> 
> Is this a bug or user error?
> 
> Win 10
> LC 9.6.1
> 
> Thanks for pushing me(more like  a poke) to finally solve this annoyance.
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
> 
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf 
> Of Martin Koob via use-livecode
> Sent: Thursday, October 22, 2020 5:19 PM
> To: use-livecode list
> Cc: Martin Koob
> Subject: Can't edit scripts in DataGrid group in Windows 10
> 
> Hi all
> 
> Maybe this is not good practice but I have DataGrids with script in the group 
> that contains the DataGrid in addition to the behaviour script of the 
> DataGrid.   So to edit the script in the DataGrid group I just select the 
> Datagrid group I right click on the DataGrid and select the ‘Edit Script’ 
> menu item.   
> 
> This works fine on the mac.I just tried this on Windows 10 with LiveCode 
> 9.6 and when I try to open the same DataGrid following the same process the 
> script editor opens but it does not load the script.  In fact LiveCode 
> becomes unresponsive. The script editor dims as if disabled and the cursor 
> when hovering over the script editor or any other LiveCode windows  is the 
> hour glass cursor.
> 
> If I click on the ‘x’ to close the LiveCode project I get the dialog that 
> says.
> 
>LiveCode for Windows is not responding
>If you close the program, you might lose information.
>—>Close the Program
>—>Wait for the program to respond.
> 
> Eventually I just select ‘Close the program’ since the program never responds.
> 
> I created a test stack with just a DataGrid on it and a button and opened the 
> group script and was able to add a handler and then save it and reopen it so 
> it does work in a simple scenario.
> 
> In my application I have two dataGrids that have code in the group script.  
> On has 290 lines the other has about 480 lines.   So it seems the longer code 
> is a contributing factor.
> 
> Has anyone else experienced this?  
> 
> It the problem that you are not supposed to have script in the DataGrid’ 
> Group script and rather put it all in the DataGrid's behaviour?
> 
> 
> Thanks in advance.
> 
> 
> Martin Koob
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to 

Re: DG outcomes on desktop vs mobile

2020-10-23 Thread Andrew at MidWest Coast Media via use-livecode
This happened to me, twice, in a project I just launched. I was in crunch so 
didn’t have time to properly document but something happened where the DG 
wasn’t loading. I could take the same dgData or dgText and load it to another 
DG fine. Being on mobile made this harder to debug because even with Remote 
Debugger I would still have to compile and launch to the simulator each time I 
tried a tweak.

Because I was up against a deadline and since I wasted several hours trying to 
troubleshoot I just replaced the DG with a brand new: everything worked. Didn’t 
even bother to troubleshoot the 2nd time it happened, just immediately made a 
new DG and moved on.

Not a definitive answer to your question but an acknowledgement of your problem.

—Andrew Bell

> I'm building an iPad app that reads a bunch of files into an array and 
> then sets the dgData of a form DG to that array. The array is 
> well-formed for DG use. After setting the dgData of the DG, the result 
> is empty. Only one problem: the DG now contains no data. (I also tried 
> setting the dgText of the DG to a flat version of the same data and got 
> the same outcome.)
> 
> I can then create another array from custom property data and set the 
> dgData of the same form DG to that array and it works.
> 
> On the desktop, however, the same DG loading process never fails.
> 
> The data being loaded is all text - nothing esoteric.
> 
> Does anyone have any ideas how I can find & fix the problem(s)? Or have 
> you run into this before?
> 
> Thank you -
> Phil Davis


___
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: Script Editor freezes in Windows 10 (was Can't edit scripts in DataGrid group in Windows 10)

2020-10-23 Thread matthias rebbe via use-livecode
Martin,
i am not sure if the freezes are also caused by this, but what Antivirus 
Software are you using. A 3rd party or Microsoft Defender?
If the latter then please try to exclude the Livecode program folder  and its 
support folders (like preferences) from realtime scanning in MS Defender.

There were some reports from users that Microsoft Defender slowed down 
Livecode, especially when using the Script Editor.

Regards,
Matthias


-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 23.10.2020 um 02:30 schrieb Martin Koob via use-livecode 
> :
> 
> Another bit of info regarding the length of script where this happens.
> 
> I have been going through the project browser trying to open small scripts 
> then opening those with more and more lines.   I found that a script with 53 
> lines opens, a script with 62 lines freezes.
> 
> anyway.  Down with this for tonight.  Hope someone has some ideas as to what 
> might be going on and how to solve it.
> 
> Martin
> 
> 
>> On Oct 22, 2020, at 8:16 PM, Martin Koob via use-livecode 
>>  wrote:
>> 
>> Hi again,
>> 
>> Sorry just re-read my previous email and realized it is not clear.
>> 
>> I meant to say that  is that I get the same issue where the IDE stops 
>> responding when I try to edit the main stack script too.  So it is not a 
>> strictly DataGrid issue.
>> 
>> Martin
>> 
>>> On Oct 22, 2020, at 8:05 PM, Martin Koob via use-livecode 
>>>  wrote:
>>> 
>>> Hi
>>> 
>>> Just to follow up.  It is not just happening in a DataGrid group script.  I 
>>> just opened a main stack script.  It has almost 600 lines.
>>> 
>>> Something Odd going on.  I am just new to using LiveCode on Windows as I am 
>>> now working on an application  for release on Mac and Windows.  However I 
>>> have edited many of the scripts in this project before and have never seen 
>>> this.  
>>> 
>>> Again if anyone has ideas as to what might be happening or how to trouble 
>>> shoot that would really be appreciated.
>>> 
>>> Martin
>>> 
 On Oct 22, 2020, at 5:19 PM, Martin Koob  wrote:
 
 Hi all
 
 Maybe this is not good practice but I have DataGrids with script in the 
 group that contains the DataGrid in addition to the behaviour script of 
 the DataGrid.   So to edit the script in the DataGrid group I just select 
 the Datagrid group I right click on the DataGrid and select the ‘Edit 
 Script’ menu item.   
 
 This works fine on the mac.I just tried this on Windows 10 with 
 LiveCode 9.6 and when I try to open the same DataGrid following the same 
 process the script editor opens but it does not load the script.  In fact 
 LiveCode becomes unresponsive. The script editor dims as if disabled and 
 the cursor when hovering over the script editor or any other LiveCode 
 windows  is the hour glass cursor.
 
 If I click on the ‘x’ to close the LiveCode project I get the dialog that 
 says.
 
 LiveCode for Windows is not responding
 If you close the program, you might lose information.
 —>Close the Program
 —>Wait for the program to respond.
 
 Eventually I just select ‘Close the program’ since the program never 
 responds.
 
 I created a test stack with just a DataGrid on it and a button and opened 
 the group script and was able to add a handler and then save it and reopen 
 it so it does work in a simple scenario.
 
 In my application I have two dataGrids that have code in the group script. 
  On has 290 lines the other has about 480 lines.   So it seems the longer 
 code is a contributing factor.
 
 Has anyone else experienced this?  
 
 It the problem that you are not supposed to have script in the DataGrid’ 
 Group script and rather put it all in the DataGrid's behaviour?
 
 
 Thanks in advance.
 
 
 Martin Koob
 
 
 
>>> 
>>> 
>>> ___
>>> 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: Livecode Podcast Player - earbud click?

2020-10-23 Thread David Bovill via use-livecode
Checking the interaction between earbud clicks (trying two different types of 
earbud) and Livecode - no "appleEvent" message is sent to Livecode. I wonder 
how this interaction works across different apps? Trying on desktop at the 
moment.

So seems like the browser widget is the only way to go. Will test on mobile. 
Anyone have an idea how events are sent to apps from earbuds?
On 23 Oct 2020, 11:27 +0100, JeeJeeStudio via use-livecode 
, wrote:
> From other threads and maybe on the forum similar is done for video of
> which the dev also wanted to catch likewise information when played in
> the browser.
>
> So maybe if you search the list you might find some javascript which
> could help with that.
___
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: POST to https in LC5.0.2 - Error socket closed

2020-10-23 Thread matthias rebbe via use-livecode
Do you have a current commercial license? If so, maybe Support is willing to 
give you a license for the old 5.x.

Regards,
Matthias


> Am 23.10.2020 um 11:47 schrieb Pi Digital via use-livecode 
> :
> 
> Hi
> 
> Is there any way I can get Lc5.0.2 unlocked to Enterprise level just so I can 
> get this ssl https revdb behind me so our clients don’t all go running before 
> we upgrade the code to v9.x. I’m truly at a loss. 
> 
> Sean Cole
> Pi Digital
> 
> 
>> On 23 Oct 2020, at 05:48, Sean Cole (Pi)  wrote:
>> 
>> 
>> Hi all,
>> 
>> I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2 
>> stack. It worked ok in v9 but v5 throws back an error of 'error socket 
>> closed'.
>> 
>> This is my only workaround for accessing MySQL using SSL via a 'post' 
>> command through PHP, as suggested by Mark Waddingham and others.
>> 
>> Now I am at a total loss! From what I can see in the forums, LC locked out 
>> 'post to https' to only Enterprise users. Arrrghhh! 
>> 
>> I don't know what else I can do. Curl is not an option as this will be 
>> running as an app on clients Windows machines. But even put url("https:// 
>> returns error socket closed so that rules out setting up a server app too. 
>> Nothing works!
>> 
>> I'm Delirious! HELP!
>> 
>> Sean Cole
>> Pi Digital 
> ___
> 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



-
Matthias Rebbe
Life Is Too Short For Boring Code


___
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: Livecode Podcast Player - earbud click?

2020-10-23 Thread JeeJeeStudio via use-livecode
From other threads and maybe on the forum similar is done for video of 
which the dev also wanted to catch likewise information when played in 
the browser.


So maybe if you search the list you might find some javascript which 
could help with that.


Op 23-10-2020 om 11:33 schreef David Bovill via use-livecode:

Yes. I have some old code - seems to still work fetching and parsing RSS 
steams. I’m looking into the best way. To make the player now - browser or 
player widget?

An interesting experiment this morning with earbuds - if I play an mp3 or a 
video in the player object and listen to the sound through the earbuds - 
pressing / clicking the earbuds has no effect on the playback. Using the 
machinery of the browser widget pauses and restarts the playback reliably. I 
want. This feature so I may well choose the browser widget unless I can figure 
out a message that is sent to the. Stack that I can trap?

The issue is that I want to know the “currenttime” when the video is paused - 
this and other features would be easier using the player control. I guess I can 
use javascript if needed?
On 23 Oct 2020, 09:38 +0100, JeeJeeStudio via use-livecode 
, wrote:

So in fact it needs to retrieve a list of podcast streams, user can pick a
stream, and then it has to play like an mp3 player. Can be done with either
the browser or audio player right?

Op vr 23 okt. 2020 10:29 schreef David Bovill via use-livecode <
use-livecode@lists.runrev.com>:


I guess not - could not find anything in the forums or email thread.
On 21 Oct 2020, 20:17 +0100, JeeJeeStudio via use-livecode <
use-livecode@lists.runrev.com>, wrote:

You've just hijacked someone's thread...you said something last time.

It's

now a totally different subject.

That’s fine :) It’s kind of related to the general subject of community
contribution. My understanding is that the general approach to that has not
helped produce an organised collection of material - whether this is the
documentation, or the library of Livecode components. There is the usual
tension between centralised quality control and wiki like easy open
community contribution.

I agree with Sean that we can all contribute to this, but a little
improvement in the architecture that supports such collaboration would also
help I believe. It is harder than I think necessary to find stacks and code
related to for instance podcasts and RSS feeds. I’m pretty sure that this
has been worked on multiple times over the last 10 years, but the
combination of forum, email, and resource library does not do justice to
what we could achieve.

Maybe I’m wrong - and no one has produced a podcast player in Livecode? My
understanding is that an easy to contribute set of tools that made it
easier to share stacks and code would help here. As I see it the attempts
that have been made historically have been somewhat too “closed” for there
to the right sort of community contribution.

I can mainly speak for my personal experience, but if I produce this
podcast player, and various libraries for it - then historically I haven't
really see a good way to share that. When I come across errors or
improvements I want to make to the dictionary I don’t really see how, or
have quite enough faith that my contributions will valued - so I make a
note to “do that later” and well - don’t.

There is a form of federated architecture for user contributions that
looks promising that can help. Essentially the trick is to combine both
that ability of people to make their own personal notes / changes and
contributions by forking existing material, while also making it very easy
to combine these contributions into an editorial synopsis. That way each
Livecode author wold have a tool for their own personal productivity use,
and the overall community gets the value of the shared content production.
Right now the balance between my personal space and the sharing is in an
unhealthy state of mediation.
___
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: Can't edit scripts in DataGrid group in Windows 10

2020-10-23 Thread Mark Smith via use-livecode
I put code in the dg script. It works fine. But to be clear, I only have 8 
lines in my script so I’ve never tested the limits. 

mark


> On Oct 22, 2020, at 10:19 PM, Martin Koob via use-livecode 
>  wrote:
> 
> Hi all
> 
> Maybe this is not good practice but I have DataGrids with script in the group 
> that contains the DataGrid in addition to the behaviour script of the 
> DataGrid.   So to edit the script in the DataGrid group I just select the 
> Datagrid group I right click on the DataGrid and select the ‘Edit Script’ 
> menu item.   
> 
> This works fine on the mac.I just tried this on Windows 10 with LiveCode 
> 9.6 and when I try to open the same DataGrid following the same process the 
> script editor opens but it does not load the script.  In fact LiveCode 
> becomes unresponsive. The script editor dims as if disabled and the cursor 
> when hovering over the script editor or any other LiveCode windows  is the 
> hour glass cursor.
> 
> If I click on the ‘x’ to close the LiveCode project I get the dialog that 
> says.
> 
>LiveCode for Windows is not responding
>If you close the program, you might lose information.
>—>Close the Program
>—>Wait for the program to respond.
> 
> Eventually I just select ‘Close the program’ since the program never responds.
> 
> I created a test stack with just a DataGrid on it and a button and opened the 
> group script and was able to add a handler and then save it and reopen it so 
> it does work in a simple scenario.
> 
> In my application I have two dataGrids that have code in the group script.  
> On has 290 lines the other has about 480 lines.   So it seems the longer code 
> is a contributing factor.
> 
> Has anyone else experienced this?  
> 
> It the problem that you are not supposed to have script in the DataGrid’ 
> Group script and rather put it all in the DataGrid's behaviour?
> 
> 
> Thanks in advance.
> 
> 
> Martin Koob
> 
> 
> 
> 
> ___
> 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: Script Editor freezes in Windows 10 (was Can't edit scripts in DataGrid group in Windows 10)

2020-10-23 Thread Bernard Devlin via use-livecode
Hi Martin

In the Script Editor try unchecking the various entries under Edit/Options
e.g. variable checking, live errors, etc.

I've recently moved to using LC on OS X and was surprised how snappy the
editor was i.e. I didn't need to switch off most of those things as I did
on Windows 10.

I don't have any advice about Proj Browser, as I almost never used it.

Regards, Bernard

On Fri, Oct 23, 2020 at 1:31 AM Martin Koob via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Another bit of info regarding the length of script where this happens.
>
> I have been going through the project browser trying to open small scripts
> then opening those with more and more lines.   I found that a script with
> 53 lines opens, a script with 62 lines freezes.
>
> anyway.  Down with this for tonight.  Hope someone has some ideas as to
> what might be going on and how to solve it.
>
> Martin
>
>
___
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: POST to https in LC5.0.2 - Error socket closed

2020-10-23 Thread Pi Digital via use-livecode
Hi

Is there any way I can get Lc5.0.2 unlocked to Enterprise level just so I can 
get this ssl https revdb behind me so our clients don’t all go running before 
we upgrade the code to v9.x. I’m truly at a loss. 

Sean Cole
Pi Digital


> On 23 Oct 2020, at 05:48, Sean Cole (Pi)  wrote:
> 
> 
> Hi all,
> 
> I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2 
> stack. It worked ok in v9 but v5 throws back an error of 'error socket 
> closed'.
> 
> This is my only workaround for accessing MySQL using SSL via a 'post' command 
> through PHP, as suggested by Mark Waddingham and others.
> 
> Now I am at a total loss! From what I can see in the forums, LC locked out 
> 'post to https' to only Enterprise users. Arrrghhh! 
> 
> I don't know what else I can do. Curl is not an option as this will be 
> running as an app on clients Windows machines. But even put url("https:// 
> returns error socket closed so that rules out setting up a server app too. 
> Nothing works!
> 
> I'm Delirious! HELP!
> 
> Sean Cole
> Pi Digital 
___
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


Livecode Podcast Player - earbud click?

2020-10-23 Thread David Bovill via use-livecode
Yes. I have some old code - seems to still work fetching and parsing RSS 
steams. I’m looking into the best way. To make the player now - browser or 
player widget?

An interesting experiment this morning with earbuds - if I play an mp3 or a 
video in the player object and listen to the sound through the earbuds - 
pressing / clicking the earbuds has no effect on the playback. Using the 
machinery of the browser widget pauses and restarts the playback reliably. I 
want. This feature so I may well choose the browser widget unless I can figure 
out a message that is sent to the. Stack that I can trap?

The issue is that I want to know the “currenttime” when the video is paused - 
this and other features would be easier using the player control. I guess I can 
use javascript if needed?
On 23 Oct 2020, 09:38 +0100, JeeJeeStudio via use-livecode 
, wrote:
> So in fact it needs to retrieve a list of podcast streams, user can pick a
> stream, and then it has to play like an mp3 player. Can be done with either
> the browser or audio player right?
>
> Op vr 23 okt. 2020 10:29 schreef David Bovill via use-livecode <
> use-livecode@lists.runrev.com>:
>
> > I guess not - could not find anything in the forums or email thread.
> > On 21 Oct 2020, 20:17 +0100, JeeJeeStudio via use-livecode <
> > use-livecode@lists.runrev.com>, wrote:
> > > You've just hijacked someone's thread...you said something last time.
> > It's
> > > now a totally different subject.
> >
> > That’s fine :) It’s kind of related to the general subject of community
> > contribution. My understanding is that the general approach to that has not
> > helped produce an organised collection of material - whether this is the
> > documentation, or the library of Livecode components. There is the usual
> > tension between centralised quality control and wiki like easy open
> > community contribution.
> >
> > I agree with Sean that we can all contribute to this, but a little
> > improvement in the architecture that supports such collaboration would also
> > help I believe. It is harder than I think necessary to find stacks and code
> > related to for instance podcasts and RSS feeds. I’m pretty sure that this
> > has been worked on multiple times over the last 10 years, but the
> > combination of forum, email, and resource library does not do justice to
> > what we could achieve.
> >
> > Maybe I’m wrong - and no one has produced a podcast player in Livecode? My
> > understanding is that an easy to contribute set of tools that made it
> > easier to share stacks and code would help here. As I see it the attempts
> > that have been made historically have been somewhat too “closed” for there
> > to the right sort of community contribution.
> >
> > I can mainly speak for my personal experience, but if I produce this
> > podcast player, and various libraries for it - then historically I haven't
> > really see a good way to share that. When I come across errors or
> > improvements I want to make to the dictionary I don’t really see how, or
> > have quite enough faith that my contributions will valued - so I make a
> > note to “do that later” and well - don’t.
> >
> > There is a form of federated architecture for user contributions that
> > looks promising that can help. Essentially the trick is to combine both
> > that ability of people to make their own personal notes / changes and
> > contributions by forking existing material, while also making it very easy
> > to combine these contributions into an editorial synopsis. That way each
> > Livecode author wold have a tool for their own personal productivity use,
> > and the overall community gets the value of the shared content production.
> > Right now the balance between my personal space and the sharing is in an
> > unhealthy state of mediation.
> > ___
> > 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: Livecode Podcast Player

2020-10-23 Thread JeeJeeStudio via use-livecode
No worries Sean. I know you're sincere seeing your posts. And i understand
what you mean.

Op vr 23 okt. 2020 10:57 schreef Pi Digital via use-livecode <
use-livecode@lists.runrev.com>:

> I made a conscious effort to reply to the OP thread by Tom by somehow got
> attributed to David’s.
>
> So I’m guessing either there is a problem with the LC use list server or
> (more likely) iPhones dumb mail app. It was meant to be following on from
> Tom’s original thread.
>
> But even added to the podcast subject divergence that was still in
> relation to the OP.
>
> The hijacking I spoke of was a complete subject change. I arseume that,
> that her than start a new mail, some people use the reply button as an easy
> way to start a new topic then think that changing the subject line will
> start a new thread instead of continuing in from the previous one. It
> happens a lot it seams looking back through the archives.
>
> I’m sorry if it seemed I had hijacked this hijacked thread buck to the OP
> ;)
>
> Sean Cole
> Pi Digital
>
>
> > On 21 Oct 2020, at 20:16, JeeJeeStudio via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > You've just hijacked someone's thread...you said something last time.
> It's
> > now a totally different subject.
> > But nevertheless I total agree with what you just said.
> >
> > Op wo 21 okt. 2020 17:46 schreef Pi Digital via use-livecode <
> > use-livecode@lists.runrev.com>:
> >
> >> I’m going to chime in, not to discredit anyone else or their comments,
> >> only to voice a reason I personally feel is far more needed and
> worthwhile.
> >>
> >> Before any of what has been suggested being carried out, as lovely as it
> >> all would be, getting the dictionary and the guide usable and
> >> accurate/up-to-date would be of greater importance. Especially for the
> >> modern and recent modifications. But even simple stuff that has been
> >> altered in tiny ways has not been touched in the guide for an age.
> >>
> >> My point is, there is no point in introducing and inviting new users to
> a
> >> product that becomes difficult to use because documentation is out of
> date
> >> and not matching in appearance or fiction to what is described. Sure a
> >> community can advise those ones of workarounds and correct usage. But
> >> that’s just pathetic and should be unnecessary. And you all know my
> >> opinions on workarounds.
> >>
> >> My ethos, fix what we have, don’t introduce more problems.
> >>
> >> Sean Cole
> >> Pi Digital
> >>
> >>
> >>> On 21 Oct 2020, at 14:31, David Bovill via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>>
> >>> Does anyone have a stack that plays audio podcasts?
> >>> ___
> >>> 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
>
___
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: Livecode Podcast Player

2020-10-23 Thread David Bovill via use-livecode
On 23 Oct 2020, 10:08 +0100, matthias rebbe via use-livecode 
, wrote:
> I thought one could also create Widgets and submit them to/publish on the 
> Widget store instead of submitting them to be included in the Livecode 
> Release.
> The documentation for the dictionary is in the widget itself. So if the 
> widget contains a documentation file the LC dictionary lists that information 
> as soon as the widget is installed. So if you publish to the widget store, 
> then you should be able to publish your corrections and improvements 
> immediately. Or am i wrong?

I think that is right yes. I’m trying to put into words why many people don’t 
do that, or help fix the documentation. I feel that the reasons people don’t do 
that is understandable and somewhat fixable.
___
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: POST to https in LC5.0.2 - Error socket closed

2020-10-23 Thread Pi Digital via use-livecode
Yes. But have you seen how it has to get turned on. I have trouble enough with 
IT departments not wanting to install our software let alone ask them to go 
through the hassle of setting curl up on all of their clients desktops. This 
whole ssl https mySQL security thing came about because an IT Tech did a snoop 
on our app calling to the sql database. 

With those kind of security fears do you think it is likely that they will turn 
on curl? Not a chance!

 This is why I’m trying to get HTML5 deployment working. But there’s not a 
chance of LC doing anything about that. Especially now Covid has brought them 
to their knees. If they can’t get anything beyond the backspace key working and 
end up wrecking everything else about it in the process so that LC9.6.2 is 
unusable by me, then I don’t hold out much hope. 

Back on subject, curl would have to be done through shell requests which adds 
in a whole other bunch of issues. I really need a solution to get either the 
revdb security working or basic https messages. 

Sean Cole
Pi Digital


> On 23 Oct 2020, at 09:55, matthias rebbe via use-livecode 
>  wrote:
> 
> You are writing that curl is not an option, because the app shall run under 
> Windows,
> 
> but there are also Curl builds for Windows available.
> 
> https://curl.haxx.se/windows/
> 
> Regards
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 23.10.2020 um 06:48 schrieb Sean Cole (Pi) via use-livecode 
>> :
>> 
>> Hi all,
>> 
>> I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2
>> stack. It worked ok in v9 but v5 throws back an error of 'error socket
>> closed'.
>> 
>> This is my only workaround for accessing MySQL using SSL via a 'post'
>> command through PHP, as suggested by Mark Waddingham and others.
>> 
>> Now I am at a total loss! From what I can see in the forums, LC locked out
>> 'post to https' to only Enterprise users. Arrrghhh!
>> 
>> I don't know what else I can do. Curl is not an option as this will be
>> running as an app on clients Windows machines. But even put url("https://
>> returns error socket closed so that rules out setting up a server app too.
>> Nothing works!
>> 
>> I'm Delirious! HELP!
>> 
>> Sean Cole
>> *Pi Digital *
>> ___
>> 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: Livecode Podcast Player

2020-10-23 Thread matthias rebbe via use-livecode

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 23.10.2020 um 10:28 schrieb David Bovill via use-livecode 
> :
> 
> I can mainly speak for my personal experience, but if I produce this podcast 
> player, and various libraries for it - then historically I haven't really see 
> a good way to share that. When I come across errors or improvements I want to 
> make to the dictionary I don’t really see how, or have quite enough faith 
> that my contributions will valued - so I make a note to “do that later” and 
> well - don’t.

I thought one could also create Widgets and submit them to/publish on the 
Widget store instead of submitting them to be included in the Livecode Release.
The documentation for the dictionary is in the widget itself. So if the widget 
contains a documentation file the LC dictionary lists that information as soon 
as the widget is installed. So if you publish to the widget store, then you 
should be able to publish your corrections and improvements immediately. Or am 
i wrong?

Matthias
___
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: Livecode Podcast Player

2020-10-23 Thread Pi Digital via use-livecode
I made a conscious effort to reply to the OP thread by Tom by somehow got 
attributed to David’s. 

So I’m guessing either there is a problem with the LC use list server or (more 
likely) iPhones dumb mail app. It was meant to be following on from Tom’s 
original thread. 

But even added to the podcast subject divergence that was still in relation to 
the OP. 

The hijacking I spoke of was a complete subject change. I arseume that, that 
her than start a new mail, some people use the reply button as an easy way to 
start a new topic then think that changing the subject line will start a new 
thread instead of continuing in from the previous one. It happens a lot it 
seams looking back through the archives. 

I’m sorry if it seemed I had hijacked this hijacked thread buck to the OP ;)

Sean Cole
Pi Digital


> On 21 Oct 2020, at 20:16, JeeJeeStudio via use-livecode 
>  wrote:
> 
> You've just hijacked someone's thread...you said something last time. It's
> now a totally different subject.
> But nevertheless I total agree with what you just said.
> 
> Op wo 21 okt. 2020 17:46 schreef Pi Digital via use-livecode <
> use-livecode@lists.runrev.com>:
> 
>> I’m going to chime in, not to discredit anyone else or their comments,
>> only to voice a reason I personally feel is far more needed and worthwhile.
>> 
>> Before any of what has been suggested being carried out, as lovely as it
>> all would be, getting the dictionary and the guide usable and
>> accurate/up-to-date would be of greater importance. Especially for the
>> modern and recent modifications. But even simple stuff that has been
>> altered in tiny ways has not been touched in the guide for an age.
>> 
>> My point is, there is no point in introducing and inviting new users to a
>> product that becomes difficult to use because documentation is out of date
>> and not matching in appearance or fiction to what is described. Sure a
>> community can advise those ones of workarounds and correct usage. But
>> that’s just pathetic and should be unnecessary. And you all know my
>> opinions on workarounds.
>> 
>> My ethos, fix what we have, don’t introduce more problems.
>> 
>> Sean Cole
>> Pi Digital
>> 
>> 
>>> On 21 Oct 2020, at 14:31, David Bovill via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> Does anyone have a stack that plays audio podcasts?
>>> ___
>>> 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: POST to https in LC5.0.2 - Error socket closed

2020-10-23 Thread matthias rebbe via use-livecode
What i forgot. You can include that version from the url i posted in your 
standalone using "copy files" in standalone settings, as it has not to be 
installed.
-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 23.10.2020 um 10:54 schrieb matthias_livecode_150...@m-r-d.de:
> 
> You are writing that curl is not an option, because the app shall run under 
> Windows,
> 
> but there are also Curl builds for Windows available.
> 
> https://curl.haxx.se/windows/
> 
> Regards
> 
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
> 
>> Am 23.10.2020 um 06:48 schrieb Sean Cole (Pi) via use-livecode 
>> :
>> 
>> Hi all,
>> 
>> I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2
>> stack. It worked ok in v9 but v5 throws back an error of 'error socket
>> closed'.
>> 
>> This is my only workaround for accessing MySQL using SSL via a 'post'
>> command through PHP, as suggested by Mark Waddingham and others.
>> 
>> Now I am at a total loss! From what I can see in the forums, LC locked out
>> 'post to https' to only Enterprise users. Arrrghhh!
>> 
>> I don't know what else I can do. Curl is not an option as this will be
>> running as an app on clients Windows machines. But even put url("https://
>> returns error socket closed so that rules out setting up a server app too.
>> Nothing works!
>> 
>> I'm Delirious! HELP!
>> 
>> Sean Cole
>> *Pi Digital *
>> ___
>> 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: POST to https in LC5.0.2 - Error socket closed

2020-10-23 Thread matthias rebbe via use-livecode
You are writing that curl is not an option, because the app shall run under 
Windows,

but there are also Curl builds for Windows available.

https://curl.haxx.se/windows/

Regards

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 23.10.2020 um 06:48 schrieb Sean Cole (Pi) via use-livecode 
> :
> 
> Hi all,
> 
> I'm desperate. I'd written my code in LC9 and tested to put into an LC5.0.2
> stack. It worked ok in v9 but v5 throws back an error of 'error socket
> closed'.
> 
> This is my only workaround for accessing MySQL using SSL via a 'post'
> command through PHP, as suggested by Mark Waddingham and others.
> 
> Now I am at a total loss! From what I can see in the forums, LC locked out
> 'post to https' to only Enterprise users. Arrrghhh!
> 
> I don't know what else I can do. Curl is not an option as this will be
> running as an app on clients Windows machines. But even put url("https://
> returns error socket closed so that rules out setting up a server app too.
> Nothing works!
> 
> I'm Delirious! HELP!
> 
> Sean Cole
> *Pi Digital *
> ___
> 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: Livecode Podcast Player

2020-10-23 Thread JeeJeeStudio via use-livecode
So in fact it needs to retrieve a list of podcast streams, user can pick a
stream, and then it has to play like an mp3 player. Can be done with either
the browser or audio player right?

Op vr 23 okt. 2020 10:29 schreef David Bovill via use-livecode <
use-livecode@lists.runrev.com>:

> I guess not - could not find anything in the forums or email thread.
> On 21 Oct 2020, 20:17 +0100, JeeJeeStudio via use-livecode <
> use-livecode@lists.runrev.com>, wrote:
> > You've just hijacked someone's thread...you said something last time.
> It's
> > now a totally different subject.
>
> That’s fine :) It’s kind of related to the general subject of community
> contribution. My understanding is that the general approach to that has not
> helped produce an organised collection of material - whether this is the
> documentation, or the library of Livecode components. There is the usual
> tension between centralised quality control and wiki like easy open
> community contribution.
>
> I agree with Sean that we can all contribute to this, but a little
> improvement in the architecture that supports such collaboration would also
> help I believe. It is harder than I think necessary to find stacks and code
> related to for instance podcasts and RSS feeds. I’m pretty sure that this
> has been worked on multiple times over the last 10 years, but the
> combination of forum, email, and resource library does not do justice to
> what we could achieve.
>
> Maybe I’m wrong - and no one has produced a podcast player in Livecode? My
> understanding is that an easy to contribute set of tools that made it
> easier to share stacks and code would help here. As I see it the attempts
> that have been made historically have been somewhat too “closed” for there
> to the right sort of community contribution.
>
> I can mainly speak for my personal experience, but if I produce this
> podcast player, and various libraries for it - then historically I haven't
> really see a good way to share that. When I come across errors or
> improvements I want to make to the dictionary I don’t really see how, or
> have quite enough faith that my contributions will valued - so I make a
> note to “do that later” and well - don’t.
>
> There is a form of federated architecture for user contributions that
> looks promising that can help. Essentially the trick is to combine both
> that ability of people to make their own personal notes / changes and
> contributions by forking existing material, while also making it very easy
> to combine these contributions into an editorial synopsis. That way each
> Livecode author wold have a tool for their own personal productivity use,
> and the overall community gets the value of the shared content production.
> Right now the balance between my personal space and the sharing is in an
> unhealthy state of mediation.
> ___
> 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: Livecode Podcast Player

2020-10-23 Thread David Bovill via use-livecode
I guess not - could not find anything in the forums or email thread.
On 21 Oct 2020, 20:17 +0100, JeeJeeStudio via use-livecode 
, wrote:
> You've just hijacked someone's thread...you said something last time. It's
> now a totally different subject.

That’s fine :) It’s kind of related to the general subject of community 
contribution. My understanding is that the general approach to that has not 
helped produce an organised collection of material - whether this is the 
documentation, or the library of Livecode components. There is the usual 
tension between centralised quality control and wiki like easy open community 
contribution.

I agree with Sean that we can all contribute to this, but a little improvement 
in the architecture that supports such collaboration would also help I believe. 
It is harder than I think necessary to find stacks and code related to for 
instance podcasts and RSS feeds. I’m pretty sure that this has been worked on 
multiple times over the last 10 years, but the combination of forum, email, and 
resource library does not do justice to what we could achieve.

Maybe I’m wrong - and no one has produced a podcast player in Livecode? My 
understanding is that an easy to contribute set of tools that made it easier to 
share stacks and code would help here. As I see it the attempts that have been 
made historically have been somewhat too “closed” for there to the right sort 
of community contribution.

I can mainly speak for my personal experience, but if I produce this podcast 
player, and various libraries for it - then historically I haven't really see a 
good way to share that. When I come across errors or improvements I want to 
make to the dictionary I don’t really see how, or have quite enough faith that 
my contributions will valued - so I make a note to “do that later” and well - 
don’t.

There is a form of federated architecture for user contributions that looks 
promising that can help. Essentially the trick is to combine both that ability 
of people to make their own personal notes / changes and contributions by 
forking existing material, while also making it very easy to combine these 
contributions into an editorial synopsis. That way each Livecode author wold 
have a tool for their own personal productivity use, and the overall community 
gets the value of the shared content production. Right now the balance between 
my personal space and the sharing is in an unhealthy state of mediation.
___
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: POST to https in LC5.0.2 - Error socket closed

2020-10-23 Thread Pi Digital via use-livecode
It’s not listed in LC5.0.2 dictionary so I arseumed it wasn’t implemented in 
that version. 

But I tried it. It made no difference at all. Either set to true or false. Even 
the call to put url https://google.com came back with error socket closed. 

Http works. Https does not. It is locked out to all except Enterprise license 
holders for LC5.x

Sean Cole
Pi Digital


> On 23 Oct 2020, at 06:53, Mark Wieder via use-livecode 
>  wrote:
> 
> On 10/22/20 9:48 PM, Sean Cole (Pi) via use-livecode wrote:
> 
>> I don't know what else I can do. Curl is not an option as this will be
>> running as an app on clients Windows machines. But even put url("https://
>> returns error socket closed so that rules out setting up a server app too.
>> Nothing works!
>> I'm Delirious! HELP!
> 
> have you tried
> 
> libUrlSetSSLVerification false
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.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: DG outcomes on desktop vs mobile

2020-10-23 Thread JeeJeeStudio via use-livecode
What do you see when you answer the data you set the dgdata to? Does it
show the values?

Op vr 23 okt. 2020 08:44 schreef Phil Davis via use-livecode <
use-livecode@lists.runrev.com>:

> I'm building an iPad app that reads a bunch of files into an array and
> then sets the dgData of a form DG to that array. The array is
> well-formed for DG use. After setting the dgData of the DG, the result
> is empty. Only one problem: the DG now contains no data. (I also tried
> setting the dgText of the DG to a flat version of the same data and got
> the same outcome.)
>
> I can then create another array from custom property data and set the
> dgData of the same form DG to that array and it works.
>
> On the desktop, however, the same DG loading process never fails.
>
> The data being loaded is all text - nothing esoteric.
>
> Does anyone have any ideas how I can find & fix the problem(s)? Or have
> you run into this before?
>
> Thank you -
> Phil Davis
>
> --
> Phil Davis
> 503-307-4363
>
>
> ___
> 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


DG outcomes on desktop vs mobile

2020-10-23 Thread Phil Davis via use-livecode
I'm building an iPad app that reads a bunch of files into an array and 
then sets the dgData of a form DG to that array. The array is 
well-formed for DG use. After setting the dgData of the DG, the result 
is empty. Only one problem: the DG now contains no data. (I also tried 
setting the dgText of the DG to a flat version of the same data and got 
the same outcome.)


I can then create another array from custom property data and set the 
dgData of the same form DG to that array and it works.


On the desktop, however, the same DG loading process never fails.

The data being loaded is all text - nothing esoteric.

Does anyone have any ideas how I can find & fix the problem(s)? Or have 
you run into this before?


Thank you -
Phil Davis

--
Phil Davis
503-307-4363


___
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