Re: What is Macintosh equivalent of relaunch handler?

2019-03-29 Thread Neville Smythe via use-livecode
Bill:

I agree sockets is the way go for communication between apps. AppleScript is 
great but can be frustrating until you get the hang of it.

The recipe for setting up socket communication is briefly:

. write a small unix shell script which your LC app installs [one caveat: the 
client must allow your app to install an executable script into /usr/local/bin]
this app simply collects the input parameters, opens a socket with 
“nc   ” 
and send the the params to the socket

The 3rd part app calls this script with a shell command “/usr/local/bin 
myScript param1 param2 “ etc [multi world parameters in quotes to form a single 
string]

. on the LC side, your app on launch (or whenever) opens a socket with
“accept connections on port  with message “clientConnected”

Then whenever the shell script is called, your “clientConnected” handler will 
be invoked. 

You read the message sent with"read from socket …” and parse the message sent 
and process it.
You can also write back to the shell with "write to socket…” if you want, for 
the 3rd party to use a reply directly (or of course send data via item files)

Works great! I actually use it to send a filename as first parameter, where the 
file is an LC script, and the processing is simply ”do script ”, 
having put any extra parameters into local variables. This way I can open up 
the whole of the LC app to remote control. You can provide the client with 
prepared script files for particular jobs, without have to rewrite your LC app 
when you want to open up access to a feature. Do script could open up a 
security risk, but you could only accept encrypted files if this is a worry.

As opposed to using AppleScript, this approach will also work if the client 
runs your LC app on a Linux box.

Question for the forum: how to make this work on a Windows box — is there an nc 
equivalent in a command shell for Windows? (I am not a Windows user but some of 
my clients are) 



Neville Smythe



___
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 or Windows (10) issue?

2019-03-29 Thread Tom Glod via use-livecode
it turns out the windows 10 task manager blocks the 96 code character "~"
from being read by the keysdown command.

should i report this ?


Virus-free.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Wed, Feb 27, 2019 at 12:39 PM Tom Glod  wrote:

> Hi Andy,
>
> I'm using CTRL + "~"
>
> Thanks
>
> On Wed, Feb 27, 2019 at 1:00 AM AndyP via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> What Control key combination are you using? So that we can test.
>>
>>
>>
>> -
>> Andy Piddock
>>
>>
>> My software never has bugs. It just develops random features.
>>
>> TinyIDE  a Free alternative minimalist IDE Plugin for LiveCode
>>
>>
>> Script editor Themer for LC http://2108.co.uk
>>
>> PointandSee is a FREE simple but full featured under cursor colour picker
>> / finder.
>> http://www.pointandsee.co.uk  - made with LiveCode
>> --
>> Sent from:
>> http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
>>
>> ___
>> 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: Levure Dataview Question

2019-03-29 Thread Bob Sneidar via use-livecode
WHOOPS! Dataview. Sorry I thought Datagrid. It's late. 

Bob S


> On Mar 29, 2019, at 16:12 , Bob Sneidar via use-livecode 
>  wrote:
> 
> If there is I'd like to know. I created a couple arrows that sit to the left 
> of the datagrid. Any time you select a row, the grid sends a message to the 
> group and moves the arror group adjacent to it. Obviously, clicking up or 
> down relocates that row. 
> 
> You can just see why drag-drop reordering might not be useful. Datagrids have 
> a sort function, so it would have to be that if you drag-reorder something, 
> the sort for that datagrid would have to be turned off. That would mean you 
> would have to keep turning it back on when you repopulated the grid. 
> 
> Bob S


___
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: Levure Dataview Question

2019-03-29 Thread Bob Sneidar via use-livecode
If there is I'd like to know. I created a couple arrows that sit to the left of 
the datagrid. Any time you select a row, the grid sends a message to the group 
and moves the arror group adjacent to it. Obviously, clicking up or down 
relocates that row. 

You can just see why drag-drop reordering might not be useful. Datagrids have a 
sort function, so it would have to be that if you drag-reorder something, the 
sort for that datagrid would have to be turned off. That would mean you would 
have to keep turning it back on when you repopulated the grid. 

Bob S


> On Mar 29, 2019, at 11:40 , David Bovill via use-livecode 
>  wrote:
> 
> Is there built in support for drag- reordering of rows?


___
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: [ANN] Release 9.0.4 RC-1

2019-03-29 Thread Bob Sneidar via use-livecode
I was lambasting McAfee. :-)

Bob S

> On Mar 29, 2019, at 09:39 , Lagi Pittas via use-livecode 
>  wrote:
> 
> Hi Bob,
> 
> That is not a description of the machines I am running on, what I am
> intimating is that LC is interacting either with processes, DLLs or
> something and you aren't going to catch it if all you are running is LC and
> notepad.  I installed on a Brand New Laptop with 12G of Ram and an SSD - It
> had Livecode (6 ,7 and 9)  ,  and defender (switched off),  Ultra-edit and
> very little else. I did this after I had problems on An I5 Lenovo Desktop
> with a new installation of Windows 10 - and very little else - all my
> "stuff" was on a win7 partition.
> 
> I cant remember which version of LC 9 it was that was excruciatingly slow
> but it is much better now . YMMV
> 
> Lagi
> 
> p.s Works fine on my Mac.


___
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: What is Macintosh equivalent of relaunch handler?

2019-03-29 Thread Mark Waddingham via use-livecode

On 2019-03-29 19:57, Bill Vlahos via use-livecode wrote:

The existing application can do 2 things.
It can send command line parameters
It can send a formatted URL

I can either catch the command line parameters - which is what I’ve
been asking for or write the application to be a server responding to
a URL sent to localhost.

The latter seems overly complicated and could introduce latency which
I don’t want.


What you want requires some sort of IPC (inter process communication) 
and local sockets are highly efficient on UNIX based OSes (being part of 
the kernel) so I wouldn't worry about latency (not unless you manage to 
find it being an issue!).


You can do what you want with AppleScript (see the 'osascript' command 
line tool - or have your app's on startup handler check for arguments 
which mean send to main app, use do as applescript then exit) - and have 
your app respond to apple events with an 'on appleEvent' handler. 
(AppleEvents probably use sockets underneath...)


Or, indeed, you could try using the httpd library which is one of the 
script libraries introduced in 9.0 (IIRC). See httpdStart in the 
dictionary - its *really* easy to use :)


Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
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: What is Macintosh equivalent of relaunch handler?

2019-03-29 Thread Bill Vlahos via use-livecode
The existing application can do 2 things.
It can send command line parameters
It can send a formatted URL

I can either catch the command line parameters - which is what I’ve been asking 
for or write the application to be a server responding to a URL sent to 
localhost.

The latter seems overly complicated and could introduce latency which I don’t 
want.

Thanks,
Bill

> On Mar 29, 2019, at 10:50 AM, Phil Davis via use-livecode 
>  wrote:
> 
> Hi Bill,
> 
> It sounds like this is your scenario:
> You have an app with UI that is running, and you want it to occasionally 
> send/receive info to/from another invisible 'helper' app. Is that correct?
> 
> If so, can you use sockets in your environment? That would be a simple way to 
> get the interaction you want between the 2 apps.
> 
> Or maybe I misunderstand your scenario.
> 
> Best -
> Phil

___
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: [ANN] Release 9.0.4 RC-2

2019-03-29 Thread Richmond via use-livecode

That was a record "sort out", and a very good one at that.

Thanks.

Richmond.

On 29.03.19 17:22, panagiotis merakos via use-livecode wrote:

Dear list members,

We are pleased to announce the release of LiveCode 9.0.4 RC-2.


Getting the Release
===
You can get the release at https://downloads.livecode.com/livecode/ or via
the automatic updater.


Release Contents

LiveCode 9.0.4 RC-2 comes with 1 regression bugfix:

Bug 21944 - LiveCode 9.0.4 RC-1 can be non-resposive on a Windows 10
computer

If you are using LiveCode 9.0.4 RC-1, please upgrade to LiveCode 9.0.4 RC-2.

Since the last stable version (9.0.3), more than 35 bugs have been fixed.


Known issues


- The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS
yet.

The full release notes are available from:

http://downloads.livecode.com/livecode/9_0_4/LiveCodeNotes-9_0_4_rc_2.pdf

Feedback

Please report any bugs encountered on our BugZilla at
http://quality.livecode.com/

We have a forum available for discussing LiveCode Builder at
http://forums.livecode.com/viewforum.php?f=93


Have fun!
The LiveCode Team

--
___
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: [ANN] Release 9.0.4 RC-2

2019-03-29 Thread Tom Glod via use-livecode
great turnaround on what seemed like an epic bug.

On Fri, Mar 29, 2019 at 2:07 PM JJS via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Wow, that's a fast release :) will check it out!
>
> Op 29-3-2019 om 17:21 schreef panagiotis merakos via use-livecode:
> > That's good news Clarence, thanks for the update :)
> >
> > Best,
> > Panos
> > --
> >
> > On Fri, 29 Mar 2019 at 18:07, Clarence Martin via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >> I just loaded the newest version LC 9.0.4  RC - 2.
> >> Seems like it works, so far. I will continue using it and update later.
> >>
> >> Sincerely,
> >>
> >> Clarence Martin
> >> Email: chi...@themartinz.com
> >> Phone: 636 6965561
> >>
> >> -Original Message-
> >> From: use-livecode  On Behalf Of
> >> panagiotis merakos via use-livecode
> >> Sent: Friday, March 29, 2019 8:22 AM
> >> To: How to use LiveCode 
> >> Cc: panagiotis merakos 
> >> Subject: [ANN] Release 9.0.4 RC-2
> >>
> >> Dear list members,
> >>
> >> We are pleased to announce the release of LiveCode 9.0.4 RC-2.
> >>
> >>
> >> Getting the Release
> >> ===
> >> You can get the release at https://downloads.livecode.com/livecode/ or
> via
> >> the automatic updater.
> >>
> >>
> >> Release Contents
> >> 
> >> LiveCode 9.0.4 RC-2 comes with 1 regression bugfix:
> >>
> >> Bug 21944 - LiveCode 9.0.4 RC-1 can be non-resposive on a Windows 10
> >> computer
> >>
> >> If you are using LiveCode 9.0.4 RC-1, please upgrade to LiveCode 9.0.4
> >> RC-2.
> >>
> >> Since the last stable version (9.0.3), more than 35 bugs have been
> fixed.
> >>
> >>
> >> Known issues
> >> 
> >>
> >> - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit
> LTS
> >> yet.
> >>
> >> The full release notes are available from:
> >>
> >>
> http://downloads.livecode.com/livecode/9_0_4/LiveCodeNotes-9_0_4_rc_2.pdf
> >>
> >> Feedback
> >> 
> >> Please report any bugs encountered on our BugZilla at
> >> http://quality.livecode.com/
> >>
> >> We have a forum available for discussing LiveCode Builder at
> >> http://forums.livecode.com/viewforum.php?f=93
> >>
> >>
> >> Have fun!
> >> The LiveCode Team
> >>
> >> --
> >> ___
> >> 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


Levure Dataview Question

2019-03-29 Thread David Bovill via use-livecode
Is there built in support for drag- reordering of rows?
___
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: [ANN] Release 9.0.4 RC-2

2019-03-29 Thread JJS via use-livecode

Wow, that's a fast release :) will check it out!

Op 29-3-2019 om 17:21 schreef panagiotis merakos via use-livecode:

That's good news Clarence, thanks for the update :)

Best,
Panos
--

On Fri, 29 Mar 2019 at 18:07, Clarence Martin via use-livecode <
use-livecode@lists.runrev.com> wrote:


I just loaded the newest version LC 9.0.4  RC - 2.
Seems like it works, so far. I will continue using it and update later.

Sincerely,

Clarence Martin
Email: chi...@themartinz.com
Phone: 636 6965561

-Original Message-
From: use-livecode  On Behalf Of
panagiotis merakos via use-livecode
Sent: Friday, March 29, 2019 8:22 AM
To: How to use LiveCode 
Cc: panagiotis merakos 
Subject: [ANN] Release 9.0.4 RC-2

Dear list members,

We are pleased to announce the release of LiveCode 9.0.4 RC-2.


Getting the Release
===
You can get the release at https://downloads.livecode.com/livecode/ or via
the automatic updater.


Release Contents

LiveCode 9.0.4 RC-2 comes with 1 regression bugfix:

Bug 21944 - LiveCode 9.0.4 RC-1 can be non-resposive on a Windows 10
computer

If you are using LiveCode 9.0.4 RC-1, please upgrade to LiveCode 9.0.4
RC-2.

Since the last stable version (9.0.3), more than 35 bugs have been fixed.


Known issues


- The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS
yet.

The full release notes are available from:

http://downloads.livecode.com/livecode/9_0_4/LiveCodeNotes-9_0_4_rc_2.pdf

Feedback

Please report any bugs encountered on our BugZilla at
http://quality.livecode.com/

We have a forum available for discussing LiveCode Builder at
http://forums.livecode.com/viewforum.php?f=93


Have fun!
The LiveCode Team

--
___
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: What is Macintosh equivalent of relaunch handler?

2019-03-29 Thread Phil Davis via use-livecode
Or another approach might be to open the invisible app as a process in 
the UI app.


On 3/29/19 10:50 AM, Phil Davis via use-livecode wrote:

Hi Bill,

It sounds like this is your scenario:
You have an app with UI that is running, and you want it to 
occasionally send/receive info to/from another invisible 'helper' app. 
Is that correct?


If so, can you use sockets in your environment? That would be a simple 
way to get the interaction you want between the 2 apps.


Or maybe I misunderstand your scenario.

Best -
Phil


On 3/29/19 10:41 AM, Bill Vlahos via use-livecode wrote:
Doing this on startup works perfectly but I don’t see how my app can 
get notification any other way while it is running.


I’ve tried openCard, preOpenCard, openStack, preOpenStack, and 
resumeStack but no luck.


Bill



On Mar 29, 2019, at 12:14 AM, Richard Gaskin via use-livecode 
 wrote:


To get the args, just know that any word is an arg, and a quoted 
string counts as one word, so this:


on startup
   put $1 & $2 & $3
end startup

...when call from:

  ./myapp ThisIsArg1 "And this is a multi-word arg" "this,is,delimited"

...would give you:

   ThisIsArg1
   "And this is a multi-word arg"
   "this,is,delimited"

 From there you can parse to your heart's delight.

That is, once we figure out how your app will get notification...


___
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


___
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: What is Macintosh equivalent of relaunch handler?

2019-03-29 Thread Phil Davis via use-livecode

Hi Bill,

It sounds like this is your scenario:
You have an app with UI that is running, and you want it to occasionally 
send/receive info to/from another invisible 'helper' app. Is that correct?


If so, can you use sockets in your environment? That would be a simple 
way to get the interaction you want between the 2 apps.


Or maybe I misunderstand your scenario.

Best -
Phil


On 3/29/19 10:41 AM, Bill Vlahos via use-livecode wrote:

Doing this on startup works perfectly but I don’t see how my app can get 
notification any other way while it is running.

I’ve tried openCard, preOpenCard, openStack, preOpenStack, and resumeStack but 
no luck.

Bill




On Mar 29, 2019, at 12:14 AM, Richard Gaskin via use-livecode 
 wrote:

To get the args, just know that any word is an arg, and a quoted string counts 
as one word, so this:

on startup
   put $1 & $2 & $3
end startup

...when call from:

  ./myapp ThisIsArg1 "And this is a multi-word arg" "this,is,delimited"

...would give you:

   ThisIsArg1
   "And this is a multi-word arg"
   "this,is,delimited"

 From there you can parse to your heart's delight.

That is, once we figure out how your app will get notification...


___
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


___
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: What is Macintosh equivalent of relaunch handler?

2019-03-29 Thread Bill Vlahos via use-livecode
Doing this on startup works perfectly but I don’t see how my app can get 
notification any other way while it is running.

I’ve tried openCard, preOpenCard, openStack, preOpenStack, and resumeStack but 
no luck.

Bill



> On Mar 29, 2019, at 12:14 AM, Richard Gaskin via use-livecode 
>  wrote:
> 
> To get the args, just know that any word is an arg, and a quoted string 
> counts as one word, so this:
> 
> on startup
>   put $1 & $2 & $3
> end startup
> 
> ...when call from:
> 
>  ./myapp ThisIsArg1 "And this is a multi-word arg" "this,is,delimited"
> 
> ...would give you:
> 
>   ThisIsArg1
>   "And this is a multi-word arg"
>   "this,is,delimited"
> 
> From there you can parse to your heart's delight.
> 
> That is, once we figure out how your app will get notification...


___
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: [ANN] Release 9.0.4 RC-1

2019-03-29 Thread Michael Kristensen via use-livecode
Hi there

It is my impression that mouseMove is less responsive than in 9.0.3

MouseMove was one of the things there was worked on in 9.0.4 RC-1

Michael

___
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: [ANN] Release 9.0.4 RC-1

2019-03-29 Thread Lagi Pittas via use-livecode
Hi Bob,

That is not a description of the machines I am running on, what I am
intimating is that LC is interacting either with processes, DLLs or
something and you aren't going to catch it if all you are running is LC and
notepad.  I installed on a Brand New Laptop with 12G of Ram and an SSD - It
had Livecode (6 ,7 and 9)  ,  and defender (switched off),  Ultra-edit and
very little else. I did this after I had problems on An I5 Lenovo Desktop
with a new installation of Windows 10 - and very little else - all my
"stuff" was on a win7 partition.

I cant remember which version of LC 9 it was that was excruciatingly slow
but it is much better now . YMMV

Lagi

p.s Works fine on my Mac.



On Fri, 29 Mar 2019 at 14:37, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
>
> > On Mar 29, 2019, at 07:20 , Lagi Pittas via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > HI Panos,
> >
> > I think Clarence thought I was targeting you, because I mentioned your
> > name. The only reason I mentioned your name is that I was pretty sure you
> > would answer (you didn't disappoint").
> >
> > And yes you are all dedicated BUT I would still try and hunt down a "dog
> > eared" PC with McAffee...
>
> STOP RIGHT THERE! That's your problem! ;-)
>
> Bob S
>
>
> ___
> 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: [ANN] Release 9.0.4 RC-2

2019-03-29 Thread panagiotis merakos via use-livecode
That's good news Clarence, thanks for the update :)

Best,
Panos
--

On Fri, 29 Mar 2019 at 18:07, Clarence Martin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I just loaded the newest version LC 9.0.4  RC - 2.
> Seems like it works, so far. I will continue using it and update later.
>
> Sincerely,
>
> Clarence Martin
> Email: chi...@themartinz.com
> Phone: 636 6965561
>
> -Original Message-
> From: use-livecode  On Behalf Of
> panagiotis merakos via use-livecode
> Sent: Friday, March 29, 2019 8:22 AM
> To: How to use LiveCode 
> Cc: panagiotis merakos 
> Subject: [ANN] Release 9.0.4 RC-2
>
> Dear list members,
>
> We are pleased to announce the release of LiveCode 9.0.4 RC-2.
>
>
> Getting the Release
> ===
> You can get the release at https://downloads.livecode.com/livecode/ or via
> the automatic updater.
>
>
> Release Contents
> 
> LiveCode 9.0.4 RC-2 comes with 1 regression bugfix:
>
> Bug 21944 - LiveCode 9.0.4 RC-1 can be non-resposive on a Windows 10
> computer
>
> If you are using LiveCode 9.0.4 RC-1, please upgrade to LiveCode 9.0.4
> RC-2.
>
> Since the last stable version (9.0.3), more than 35 bugs have been fixed.
>
>
> Known issues
> 
>
> - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS
> yet.
>
> The full release notes are available from:
>
> http://downloads.livecode.com/livecode/9_0_4/LiveCodeNotes-9_0_4_rc_2.pdf
>
> Feedback
> 
> Please report any bugs encountered on our BugZilla at
> http://quality.livecode.com/
>
> We have a forum available for discussing LiveCode Builder at
> http://forums.livecode.com/viewforum.php?f=93
>
>
> Have fun!
> The LiveCode Team
>
> --
> ___
> 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: [ANN] Release 9.0.4 RC-2

2019-03-29 Thread Clarence Martin via use-livecode
I just loaded the newest version LC 9.0.4  RC - 2.
Seems like it works, so far. I will continue using it and update later.

Sincerely,

Clarence Martin
Email: chi...@themartinz.com
Phone: 636 6965561

-Original Message-
From: use-livecode  On Behalf Of
panagiotis merakos via use-livecode
Sent: Friday, March 29, 2019 8:22 AM
To: How to use LiveCode 
Cc: panagiotis merakos 
Subject: [ANN] Release 9.0.4 RC-2

Dear list members,

We are pleased to announce the release of LiveCode 9.0.4 RC-2.


Getting the Release
===
You can get the release at https://downloads.livecode.com/livecode/ or via
the automatic updater.


Release Contents

LiveCode 9.0.4 RC-2 comes with 1 regression bugfix:

Bug 21944 - LiveCode 9.0.4 RC-1 can be non-resposive on a Windows 10
computer

If you are using LiveCode 9.0.4 RC-1, please upgrade to LiveCode 9.0.4 RC-2.

Since the last stable version (9.0.3), more than 35 bugs have been fixed.


Known issues


- The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS
yet.

The full release notes are available from:

http://downloads.livecode.com/livecode/9_0_4/LiveCodeNotes-9_0_4_rc_2.pdf

Feedback

Please report any bugs encountered on our BugZilla at
http://quality.livecode.com/

We have a forum available for discussing LiveCode Builder at
http://forums.livecode.com/viewforum.php?f=93


Have fun!
The LiveCode Team

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


[ANN] Release 9.0.4 RC-2

2019-03-29 Thread panagiotis merakos via use-livecode
Dear list members,

We are pleased to announce the release of LiveCode 9.0.4 RC-2.


Getting the Release
===
You can get the release at https://downloads.livecode.com/livecode/ or via
the automatic updater.


Release Contents

LiveCode 9.0.4 RC-2 comes with 1 regression bugfix:

Bug 21944 - LiveCode 9.0.4 RC-1 can be non-resposive on a Windows 10
computer

If you are using LiveCode 9.0.4 RC-1, please upgrade to LiveCode 9.0.4 RC-2.

Since the last stable version (9.0.3), more than 35 bugs have been fixed.


Known issues


- The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS
yet.

The full release notes are available from:

http://downloads.livecode.com/livecode/9_0_4/LiveCodeNotes-9_0_4_rc_2.pdf

Feedback

Please report any bugs encountered on our BugZilla at
http://quality.livecode.com/

We have a forum available for discussing LiveCode Builder at
http://forums.livecode.com/viewforum.php?f=93


Have fun!
The LiveCode Team

--
___
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: LC application running on lab computers

2019-03-29 Thread Consensus IMAP via use-livecode
Storing prefs files has all ways been a pain for me. I find a place that works 
on one machine/setup only to find it fails on another. The solution that worked 
for me relied on the fact that we had shared network drives. I basically 
created a "hidden" folder/directory with read/write permissions for all system 
users and stashed the prefs file there.

Users without access to the shared folder, couldn't use certain features that 
required info from the prefs file. A simple check if the file exists on opening 
let me limit functionality for them.

So... If you have access to something like that, I'd recommend not trying to 
solve the local prefs storage thing.

J

Sent from my iPad

> On Mar 28, 2019, at 10:38 PM, Peter Bogdanoff via use-livecode 
>  wrote:
> 
> Yes, I see that the /Library requires elevated permission which is way beyond 
> me.
> 
> Terry, it does look like I could write to the temporary folder, but I read 
> that that folder may get cleared on restart. However, the Users/Shared folder 
> seems available, so Bob and Richmond seem to be right. This works:
> 
> put specialFolderpath("usrs") & "/Shared/ArtsInteractive" into tURL
> 
> I’ll work with that.
> 
> Peter
> 
>> On Mar 28, 2019, at 8:19 AM, Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> Any user has write permissions to the users//library folder. No 
>> one, even administrators has write permissions to the /library folder. You 
>> would need to elevate the process somehow. That has come up before, and I am 
>> not sure what came of it. There is a shared folder that all users have write 
>> access to, but this is not the typical place to put prefs files. 
>> 
>> Bob S
>> 
>> 
>>> On Mar 27, 2019, at 23:45 , Peter Bogdanoff via use-livecode 
>>>  wrote:
>>> 
>>> I get "can't create that directory (13)”
>>> 
>>> The challenge is to write a pref file to a non-user directory so the file 
>>> is available to all users in a lab setting.
>>> 
>>> Peter
>>> 
 On Mar 27, 2019, at 11:36 PM, Richard Gaskin via use-livecode 
  wrote:
 
 Peter Bogdanoff wrote:
 
> In attempting to create this folder in MacOS:
> 
> put specialFolderpath("asup") & “/My Folder" into tURL
> 
>   [which yields tURL: /Library/Application Support/My Folder ]
> 
> create folder tURL
> 
>   returns a result: can't create that directory
> 
> 
> Why the error?
>> 
>> ___
>> 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: [ANN] Release 9.0.4 RC-1

2019-03-29 Thread Bob Sneidar via use-livecode



> On Mar 29, 2019, at 07:20 , Lagi Pittas via use-livecode 
>  wrote:
> 
> HI Panos,
> 
> I think Clarence thought I was targeting you, because I mentioned your
> name. The only reason I mentioned your name is that I was pretty sure you
> would answer (you didn't disappoint").
> 
> And yes you are all dedicated BUT I would still try and hunt down a "dog
> eared" PC with McAffee...

STOP RIGHT THERE! That's your problem! ;-)

Bob S


___
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: [ANN] Release 9.0.4 RC-1

2019-03-29 Thread Bob Sneidar via use-livecode
Does RC stand for Regression Crippled? 

(Just kidding Panos. :-)

Bob S


> On Mar 29, 2019, at 02:41 , panagiotis merakos via use-livecode 
>  wrote:
> 
> Hello all,
> 
> Indeed, there is a regression bug in 9.0.4 rc1 that is causing these issues
> on Windows and Linux.
> 
> https://quality.livecode.com/show_bug.cgi?id=21944
> 
> We are working on releasing a 9.0.4 rc2 asap.
> 
> I am sorry for the inconvenience.
> 
> Kind regards,
> Panos


___
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: [ANN] Release 9.0.4 RC-1

2019-03-29 Thread Lagi Pittas via use-livecode
HI Panos,

I think Clarence thought I was targeting you, because I mentioned your
name. The only reason I mentioned your name is that I was pretty sure you
would answer (you didn't disappoint").

And yes you are all dedicated BUT I would still try and hunt down a "dog
eared" PC with McAffee, Defender,  and lots of uninstalled Cruft, with VB6
installed old versions of Delphi, Dropbox, Google Drive,  4 versions of
Livecode, and make sure it was a windows 7  that had been "upgraded" to
windows 10 with lots of "Utilities".  Hopefully you can then replicate the
slowdowns a lot of us are seeing.  No that is not my machine - I go
slowdowns in a pretty Virgin copy of Windows 10.- not as bad now but I am
still on "stable"

Failing that How about writing a plugin that logs the
processes/timings/calls/events  etc of livecode while we are in the IDE and
we can submit that with comments as to what we see at what time. It's the
only way we are going to get this sorted. If I ddin't know how powerful
Livecode was and I was a new user I would be off in a flash.

Regards Lagi

On Fri, 29 Mar 2019 at 12:56, panagiotis merakos via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Clarence,
>
> Thank you for your kind words. I do not feel targeted, sorry if it came
> out that way. English is not my native language, so from time to time a
> misunderstanding might occur :)
>
> I (and everyone in the team - but I speak for myself now) highly appreciate
> the effort and time LiveCode developers spend on trying new releases and
> providing feedback - especially when this feedback comes in a bug report
> with a detailed recipe. Each developer uses LC differently (and in a
> different setup), so the more people submit bug reports, the better idea we
> have on what needs to be fixed in future releases.
>
> Kind regards,
> Panos
> --
> ___
> 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


Rather urgent question about iOS player : How to shut one up?

2019-03-29 Thread Frans Schoffelen via use-livecode
Hi,

doing an app for a group of schools in Belgium for refugee kids.
I need to be able to show 4 small movies without sound.
The movies HAVE sound that is needed for learning earlier on.
Using copies without sound track would be possible but cumbersome and 
duplicative.

I have tried a test stack and searched the dictionary, databases and forums
but there is no mention of 

mobileControlSet “videoControl1", "Soundlevel", 0
or
mobileControlSet “videoControl1”, "volume", 0

or something similar. ( odd actually…)

So I went and tried if videocontrol ID’s would be recognised by

  mobileSetSoundChannelVolume "VideoControl1", 0


but that does not work in various formats either ( with Id instead of name etc )
So no linkage to MobileSoundChannels as far as I can tell. ( But would gladly 
be told otherwise ;-)

Even the application wide old settings do not shut up a mobile player

“set the Beeploudness to 0”  or “set the PlayLoudness to 0” => Don’t silence a 
mobile player


A search on the net and in the archives of “ Setting sound level / Volume / 
Loudness of a mobile player”
did not turn anything up.

Hope this is possible or we’ll have to go the difficult way.

Thanks for any info.

Frans






Frans Schoffelen
http://knowlegistics.com  // Software & Sound // Berlin



___
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: [ANN] Release 9.0.4 RC-1

2019-03-29 Thread panagiotis merakos via use-livecode
Clarence,

Thank you for your kind words. I do not feel targeted, sorry if it came
out that way. English is not my native language, so from time to time a
misunderstanding might occur :)

I (and everyone in the team - but I speak for myself now) highly appreciate
the effort and time LiveCode developers spend on trying new releases and
providing feedback - especially when this feedback comes in a bug report
with a detailed recipe. Each developer uses LC differently (and in a
different setup), so the more people submit bug reports, the better idea we
have on what needs to be fixed in future releases.

Kind regards,
Panos
--
___
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: [ANN] Release 9.0.4 RC-1

2019-03-29 Thread Clarence Martin via use-livecode
Panos,
I personally want to thank you for the support that you have given the users
of LiveCode. You have been very responsive to my bug reports as well as
others.
I don't think anyone is targeting you for the problems or bugs that appear
in LiveCode. Having said that, I believe that we developers are concerned
that if the Windows or Linux or any other supported platforms are not
performing up to par, any new users of LiveCode will have a subpar
experience with LiveCode and become discouraged and not promote the use of
LiveCode. 
I believe that LiveCode Developers are a Dedicated and Loyal group and want
everyone to have a positive experience. The task that LiveCode has taken
upon itself is a complicated one. Just the thought of creating a Development
Environment that works on all OS's is phenomenal. 
Thanks to all of you at LiveCode. Keep up the Good Work, keep you eye on the
Ball and remember we are all behind you. 
But we will keep you to task because we believe in the this Great
Development Application.

Sincerely,

Clarence Martin
Email: chi...@themartinz.com
Phone: 636 6965561

-Original Message-
From: use-livecode  On Behalf Of
panagiotis merakos via use-livecode
Sent: Friday, March 29, 2019 4:58 AM
To: How to use LiveCode 
Cc: panagiotis merakos 
Subject: Re: [ANN] Release 9.0.4 RC-1

Hello all,

I can confirm that I do use both a Windows 7 old machine (4 GB ram / i3 non
ssd) as well as a newer Windows 10 machine for some of my everyday tasks. I
might use my Mac more often as it is faster thus more efficient for my work.

Moreover, before we make a release, I do some manual prerelease testing on
all platforms, in both VMs and native machines. The purpose of the manual
testing is to catch issues that cannot be caught by our automated test
suite. The 9.0.4 rc1 regression of the menus not hiding is one of these
issues, which I should have caught, but I missed, as it does not happen all
of the time, and I was unlucky enough to not seeing it happen when I
interacted with menus during yesterday's prerelease testing.

Thanks to some of the community that flagged this issue immediately, we are
now building 9.0.4 rc2 that includes a fix to this issue, and this should be
released asap.

Now, regarding the general slowness on the SE on Windows, this is something
a lot of users are affected, but unfortunately we have not been able to
reproduce it in any of our Windows machines (either old or new, with and
without Windows Defender), and this is the reason it has not been fixed yet.

Hope this clarifies things a bit.

Kind regards,
Panos
--

On Fri, 29 Mar 2019 at 13:45, Lagi Pittas via use-livecode <
use-livecode@lists.runrev.com> wrote:

> The problem is they are NOT eating their own "Dog Food" (that's the 
> cleaner Microsoft way of saying it - I am a bit more uncouth).
>
> I'm wondering if they are using the IDE and  coding on a windows 
> machine (not just with Visual Studio),  or if they are maybe the 
> machine has only has the development tools on and nothing else.
>
> This is the real world and we use real PCs with windows and lots of 
> other stuff - warts and all. I do have a couple of Macs but my bread 
> and butter is windows.
>
> Can the mothership (Panos?) you confirm someone (hopefully more than 1)
> has   actually  tested the IDE/programming system real-world on a battle
> hardened 4/8G I3/I5 NON SSD  with windows 7 and 10 and not just an I8 
> SSD Mac with 16G of RAM  staright out of the box?
>
> Unless that happens we will be getting these slowdowns/crashes etc and 
> for a newbie "You'll never get a chance to make a good first impression"
>
>
> Lagi
>
> On Thu, 28 Mar 2019 at 21:22, Clarence Martin via use-livecode < 
> use-livecode@lists.runrev.com> wrote:
>
> > I am preparing to file a bug report because of the lack of 
> > performance in LiveCode 9.0.4 RC - 1.
> > Some of the problems that I have encountered:
> > The "Right Click" context menu locks open and is non-responsive.
> > The options from the "Main Menu Buttons" can be unresponsive. So, at
> times
> > the save and exit buttons Do Not work.
> > I made sure that this version of LiveCode have permissions with my
> "Active
> > Protection" software.
> > This even worse than the earlier problems that I had with my 
> > previous Bug Report.
> > I have reverted back to LC 9.03 RC - 2 and it works just fine.
> >
> >
> >
> > Sincerely,
> >
> > Clarence Martin
> > Email: chi...@themartinz.com
> > Phone: 636 6965561
> >
> > -Original Message-
> > From: use-livecode  On Behalf 
> > Of JJS via use-livecode
> > Sent: Thursday, March 28, 2019 12:01 PM
> > To: Lagi Pittas via use-livecode 
> > Cc: JJS 
> > Subject: Re: [ANN] Release 9.0.4 RC-1
> >
> > I don't know but the IDE seems rather unresponsive. Menu's keep on 
> > screen even when switched to other program.
> >
> > Before i started it i added it to Windows Defender just like the 
> > previous versions, so it won't be seen as something suspicious by 
> > Windows
> Defender.

Re: [ANN] Release 9.0.4 RC-1

2019-03-29 Thread panagiotis merakos via use-livecode
Hello all,

I can confirm that I do use both a Windows 7 old machine (4 GB ram / i3 non
ssd) as well as a newer Windows 10 machine for some of my everyday tasks. I
might use my Mac more often as it is faster thus more efficient for my work.

Moreover, before we make a release, I do some manual prerelease testing on
all platforms, in both VMs and native machines. The purpose of the manual
testing is to catch issues that cannot be caught by our automated test
suite. The 9.0.4 rc1 regression of the menus not hiding is one of these
issues, which I should have caught, but I missed, as it does not happen all
of the time, and I was unlucky enough to not seeing it happen when I
interacted with menus during yesterday's prerelease testing.

Thanks to some of the community that flagged this issue immediately, we are
now building 9.0.4 rc2 that includes a fix to this issue, and this should
be released asap.

Now, regarding the general slowness on the SE on Windows, this is something
a lot of users are affected, but unfortunately we have not been able to
reproduce it in any of our Windows machines (either old or new, with and
without Windows Defender), and this is the reason it has not been fixed yet.

Hope this clarifies things a bit.

Kind regards,
Panos
--

On Fri, 29 Mar 2019 at 13:45, Lagi Pittas via use-livecode <
use-livecode@lists.runrev.com> wrote:

> The problem is they are NOT eating their own "Dog Food" (that's the cleaner
> Microsoft way of saying it - I am a bit more uncouth).
>
> I'm wondering if they are using the IDE and  coding on a windows machine
> (not just with Visual Studio),  or if they are maybe
> the machine has only has the development tools on and nothing else.
>
> This is the real world and we use real PCs with windows and lots of other
> stuff - warts and all. I do have a couple of Macs but my bread and butter
> is windows.
>
> Can the mothership (Panos?) you confirm someone (hopefully more than 1)
> has   actually  tested the IDE/programming system real-world on a battle
> hardened 4/8G I3/I5 NON SSD  with windows 7 and 10 and not just an I8 SSD
> Mac with 16G of RAM  staright out of the box?
>
> Unless that happens we will be getting these slowdowns/crashes etc and for
> a newbie "You'll never get a chance to make a good first impression"
>
>
> Lagi
>
> On Thu, 28 Mar 2019 at 21:22, Clarence Martin via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > I am preparing to file a bug report because of the lack of performance in
> > LiveCode 9.0.4 RC - 1.
> > Some of the problems that I have encountered:
> > The "Right Click" context menu locks open and is non-responsive.
> > The options from the "Main Menu Buttons" can be unresponsive. So, at
> times
> > the save and exit buttons Do Not work.
> > I made sure that this version of LiveCode have permissions with my
> "Active
> > Protection" software.
> > This even worse than the earlier problems that I had with my previous Bug
> > Report.
> > I have reverted back to LC 9.03 RC - 2 and it works just fine.
> >
> >
> >
> > Sincerely,
> >
> > Clarence Martin
> > Email: chi...@themartinz.com
> > Phone: 636 6965561
> >
> > -Original Message-
> > From: use-livecode  On Behalf Of
> > JJS
> > via use-livecode
> > Sent: Thursday, March 28, 2019 12:01 PM
> > To: Lagi Pittas via use-livecode 
> > Cc: JJS 
> > Subject: Re: [ANN] Release 9.0.4 RC-1
> >
> > I don't know but the IDE seems rather unresponsive. Menu's keep on screen
> > even when switched to other program.
> >
> > Before i started it i added it to Windows Defender just like the previous
> > versions, so it won't be seen as something suspicious by Windows
> Defender.
> >
> > Allready restarted it and same issue. Strange.
> >
> > Op 28-3-2019 om 19:30 schreef Lagi Pittas via use-livecode:
> > > Well here may lie the reasons for all the slowdowns/crashes and weird
> > > behaviours as I would assume the IDE uses every one of those
> > > commands/statements .
> > >
> > > Fix memory leak when tracking mouse on macOS 21918 Fix memory leak
> > > when using legacy macOS features relying on four-charcodes
> > >   21919 Fix memory leak when fonts are loaded and unloaded on macOS
> > > 21920 Fix memory leak when using filter command
> > >   21921 Fix memory leak when redrawing non-rectangular update regions
> > >   21923 Fix memory leak when getting the formattedWidth of buttons
> > >   21924 Fix memory leak when choosing popup menu item on macOS
> > >   21925 Fix memory leak when using put [ into msg ] on macOS when
> > > there is no message box
> > >   21926 Fix memory leak when using put commands which target the
> message
> > box
> > >   21928 Fix memory leak when using menu buttons
> > >   21930 Fix memory leak in GetVariableEx and GetVariableEx external V0
> > > functions
> > >   21931 Fix memory leak when executing send or call commands
> > > 21932 Fix memory leak when performing queries using sqlite revdb
> > > driver
> > > 21933 Ensure modules dependent on 

Re: [ANN] Release 9.0.4 RC-1

2019-03-29 Thread Lagi Pittas via use-livecode
The problem is they are NOT eating their own "Dog Food" (that's the cleaner
Microsoft way of saying it - I am a bit more uncouth).

I'm wondering if they are using the IDE and  coding on a windows machine
(not just with Visual Studio),  or if they are maybe
the machine has only has the development tools on and nothing else.

This is the real world and we use real PCs with windows and lots of other
stuff - warts and all. I do have a couple of Macs but my bread and butter
is windows.

Can the mothership (Panos?) you confirm someone (hopefully more than 1)
has   actually  tested the IDE/programming system real-world on a battle
hardened 4/8G I3/I5 NON SSD  with windows 7 and 10 and not just an I8 SSD
Mac with 16G of RAM  staright out of the box?

Unless that happens we will be getting these slowdowns/crashes etc and for
a newbie "You'll never get a chance to make a good first impression"


Lagi

On Thu, 28 Mar 2019 at 21:22, Clarence Martin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I am preparing to file a bug report because of the lack of performance in
> LiveCode 9.0.4 RC - 1.
> Some of the problems that I have encountered:
> The "Right Click" context menu locks open and is non-responsive.
> The options from the "Main Menu Buttons" can be unresponsive. So, at times
> the save and exit buttons Do Not work.
> I made sure that this version of LiveCode have permissions with my "Active
> Protection" software.
> This even worse than the earlier problems that I had with my previous Bug
> Report.
> I have reverted back to LC 9.03 RC - 2 and it works just fine.
>
>
>
> Sincerely,
>
> Clarence Martin
> Email: chi...@themartinz.com
> Phone: 636 6965561
>
> -Original Message-
> From: use-livecode  On Behalf Of
> JJS
> via use-livecode
> Sent: Thursday, March 28, 2019 12:01 PM
> To: Lagi Pittas via use-livecode 
> Cc: JJS 
> Subject: Re: [ANN] Release 9.0.4 RC-1
>
> I don't know but the IDE seems rather unresponsive. Menu's keep on screen
> even when switched to other program.
>
> Before i started it i added it to Windows Defender just like the previous
> versions, so it won't be seen as something suspicious by Windows Defender.
>
> Allready restarted it and same issue. Strange.
>
> Op 28-3-2019 om 19:30 schreef Lagi Pittas via use-livecode:
> > Well here may lie the reasons for all the slowdowns/crashes and weird
> > behaviours as I would assume the IDE uses every one of those
> > commands/statements .
> >
> > Fix memory leak when tracking mouse on macOS 21918 Fix memory leak
> > when using legacy macOS features relying on four-charcodes
> >   21919 Fix memory leak when fonts are loaded and unloaded on macOS
> > 21920 Fix memory leak when using filter command
> >   21921 Fix memory leak when redrawing non-rectangular update regions
> >   21923 Fix memory leak when getting the formattedWidth of buttons
> >   21924 Fix memory leak when choosing popup menu item on macOS
> >   21925 Fix memory leak when using put [ into msg ] on macOS when
> > there is no message box
> >   21926 Fix memory leak when using put commands which target the message
> box
> >   21928 Fix memory leak when using menu buttons
> >   21930 Fix memory leak in GetVariableEx and GetVariableEx external V0
> > functions
> >   21931 Fix memory leak when executing send or call commands
> > 21932 Fix memory leak when performing queries using sqlite revdb
> > driver
> > 21933 Ensure modules dependent on com.livecode.assert can be installed
> >
> > Regards Lagi
> >
> >
> >
> > On Thu, 28 Mar 2019 at 14:52, panagiotis merakos via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >> Dear list members,
> >>
> >> We are pleased to announce the release of LiveCode 9.0.4 RC-1.
> >>
> >>
> >> Getting the Release
> >> ===
> >> You can get the release at https://downloads.livecode.com/livecode/
> >> or via the automatic updater.
> >>
> >>
> >> Release Contents
> >> 
> >> LiveCode 9.0.4 RC-1 comes with more than 35 bugfixes, including fixes
> >> to several memory leaks that had been around for a long time.
> >> Moreover, dozens of Dictionary entries have been corrected and enhanced.
> >>
> >>
> >> Known issues
> >> 
> >> - The Browser widget's native layer is not shown in some Linux
> >> distros with Cinnamon window manager.
> >> - The use of the Browser widget is not supported on Ubuntu 18.04 64
> >> bit LTS yet.
> >>
> >> The full release notes are available from:
> >>
> >> http://downloads.livecode.com/livecode/9_0_4/LiveCodeNotes-9_0_4_rc_1
> >> .pdf
> >>
> >>
> >> Feedback
> >> 
> >> Please report any bugs encountered on our BugZilla at
> >> http://quality.livecode.com/
> >>
> >> We have a forum available for discussing LiveCode Builder at
> >> http://forums.livecode.com/viewforum.php?f=93
> >>
> >>
> >> Have fun!
> >> The LiveCode Team
> >> --
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> 

Re: [ANN] Release 9.0.4 RC-1

2019-03-29 Thread panagiotis merakos via use-livecode
You also called your Xubuntu "34-bit" :)

Cheers,
Panos
--

On Fri, 29 Mar 2019 at 13:41, Richmond via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Wow! LC 9.0.4 RC-1 got me so worked up I even called it "LC 9.0.4 RC-4".
>
> Love you lot at LiveCode central!
>
> Richmond.
>
> On 29.03.19 г. 13:38 ч., Richmond wrote:
> > On the other hand, I think I'll just christian LC 9.0.4 RC-4 "Millennium"
> > after it froze 3 times in a row on Xubuntu 10.04 34-bit.
> >
> > Best of luck getting back on track (as I'm sure you will) with LC
> > 9.0.4 RC-2.
> >
> > Richmond.
> >
> > On 29.03.19 г. 11:27 ч., Richmond wrote:
> >> Wow!
> >>
> >> After all the negative flack yesterday about 9.0.4 RC-1 I had decided
> >> to install it on
> >> none of my machines.
> >>
> >> Now I've changed my mind.
> >>
> >> I hope I don't regret that.
> >>
> >> Richmond.
> >>
> >> On 29.03.19 г. 10:41 ч., hh via use-livecode wrote:
> >>> Thanks for closing all these (hidden) memory leaks.
> >>> I had the first time in LC 9 no crash of LC when working
> >>> several hours with CPU/GPU-stressing scripts.
> >>>
> >>> ___
> >>> 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: [ANN] Release 9.0.4 RC-1

2019-03-29 Thread Richmond via use-livecode

Wow! LC 9.0.4 RC-1 got me so worked up I even called it "LC 9.0.4 RC-4".

Love you lot at LiveCode central!

Richmond.

On 29.03.19 г. 13:38 ч., Richmond wrote:

On the other hand, I think I'll just christian LC 9.0.4 RC-4 "Millennium"
after it froze 3 times in a row on Xubuntu 10.04 34-bit.

Best of luck getting back on track (as I'm sure you will) with LC 
9.0.4 RC-2.


Richmond.

On 29.03.19 г. 11:27 ч., Richmond wrote:

Wow!

After all the negative flack yesterday about 9.0.4 RC-1 I had decided 
to install it on

none of my machines.

Now I've changed my mind.

I hope I don't regret that.

Richmond.

On 29.03.19 г. 10:41 ч., hh via use-livecode wrote:

Thanks for closing all these (hidden) memory leaks.
I had the first time in LC 9 no crash of LC when working
several hours with CPU/GPU-stressing scripts.

___
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: [ANN] Release 9.0.4 RC-1

2019-03-29 Thread Richmond via use-livecode

On the other hand, I think I'll just christian LC 9.0.4 RC-4 "Millennium"
after it froze 3 times in a row on Xubuntu 10.04 34-bit.

Best of luck getting back on track (as I'm sure you will) with LC 9.0.4 
RC-2.


Richmond.

On 29.03.19 г. 11:27 ч., Richmond wrote:

Wow!

After all the negative flack yesterday about 9.0.4 RC-1 I had decided 
to install it on

none of my machines.

Now I've changed my mind.

I hope I don't regret that.

Richmond.

On 29.03.19 г. 10:41 ч., hh via use-livecode wrote:

Thanks for closing all these (hidden) memory leaks.
I had the first time in LC 9 no crash of LC when working
several hours with CPU/GPU-stressing scripts.

___
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: [ANN] Release 9.0.4 RC-1

2019-03-29 Thread panagiotis merakos via use-livecode
Hello all,

Indeed, there is a regression bug in 9.0.4 rc1 that is causing these issues
on Windows and Linux.

https://quality.livecode.com/show_bug.cgi?id=21944

We are working on releasing a 9.0.4 rc2 asap.

I am sorry for the inconvenience.

Kind regards,
Panos
--

On Fri, 29 Mar 2019 at 11:27, Richmond via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Wow!
>
> After all the negative flack yesterday about 9.0.4 RC-1 I had decided to
> install it on
> none of my machines.
>
> Now I've changed my mind.
>
> I hope I don't regret that.
>
> Richmond.
>
> On 29.03.19 г. 10:41 ч., hh via use-livecode wrote:
> > Thanks for closing all these (hidden) memory leaks.
> > I had the first time in LC 9 no crash of LC when working
> > several hours with CPU/GPU-stressing scripts.
> >
> > ___
> > 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: [ANN] Release 9.0.4 RC-1

2019-03-29 Thread Richmond via use-livecode

Wow!

After all the negative flack yesterday about 9.0.4 RC-1 I had decided to 
install it on

none of my machines.

Now I've changed my mind.

I hope I don't regret that.

Richmond.

On 29.03.19 г. 10:41 ч., hh via use-livecode wrote:

Thanks for closing all these (hidden) memory leaks.
I had the first time in LC 9 no crash of LC when working
several hours with CPU/GPU-stressing scripts.

___
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: [ANN] Release 9.0.4 RC-1

2019-03-29 Thread hh via use-livecode
Thanks for closing all these (hidden) memory leaks.
I had the first time in LC 9 no crash of LC when working
several hours with CPU/GPU-stressing scripts.

___
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: What is Macintosh equivalent of relaunch handler?

2019-03-29 Thread Richard Gaskin via use-livecode

Bill, I wonder if the reopen Apple event will do what you need:

https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ScriptableCocoaApplications/SApps_handle_AEs/SAppsHandleAEs.html#//apple_ref/doc/uid/20001239-BBCBCIJE

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: What is Macintosh equivalent of relaunch handler?

2019-03-29 Thread Richard Gaskin via use-livecode

Bill Vlahos wrote:

>> On Mar 28, 2019, at 2:54 PM, Richard Gaskin wrote:
>>
>> Bill Vlahos wrote:
>> > I want my application to be able to catch parameters sent to it via
>> > the command line.
>>
>> Ah, much simpler problem.
>>
>> macOS is a certified Unix.  It works just like Linux.
>>
>> On startup, you can check $# for the number of args passed in the
>> command line, or $1, $2, etc. to get the value of any one of them.
>>
>> If you need really sophisticated command-line argument handling, 
check out the getOpt function Peter Brett added for that:

>>
>> https://livecode.fandom.com/wiki/Getopt
>>
>
> GetOpt looks exactly like what I want.

But it's just a function. First we have to figure out which message 
you'll use to call it from.



> The docs specify on startup is only sent when the application is
> opened. This won’t work for me as I want to catch command line
> parameters ongoing while my application stays open.

True, but you're running from command line, yes?  That's usually used 
for faceless apps, with appleEvents used for GUIs.


But I understand: the app you want to call your LC-made app doesn't send 
AE, but can make command line calls - is that correct?


That's an interesting case I've never explored. I wonder if your app 
still gets 'odoc' events, or some other event, when receiving arguments 
to a running Mac app from the command line.  Maybe worth trying.



> What would the syntax be if I want to catch 3 items some of which
> could contain multiple words with a space between them?

If you post a few examples we can come up with parsers, but you know 
your way around chunk expressions so you could probably do that part 
better than most on your own.


To get the args, just know that any word is an arg, and a quoted string 
counts as one word, so this:


on startup
   put $1 & $2 & $3
end startup

...when call from:

  ./myapp ThisIsArg1 "And this is a multi-word arg" "this,is,delimited"

...would give you:

   ThisIsArg1
   "And this is a multi-word arg"
   "this,is,delimited"

From there you can parse to your heart's delight.

That is, once we figure out how your app will get notification...

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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