Re: V9.5 may still have issues

2019-07-31 Thread J. Landman Gay via use-livecode

On 7/31/19 4:10 PM, Bob Sneidar via use-livecode wrote:

I regularly crash to desktop about once every hour or two.


Only once an hour? ;)

Yeah, something is off.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Launching a cli server as background process in OSX

2019-07-31 Thread Mark Wieder via use-livecode

On 7/31/19 6:04 PM, Richard Gaskin via use-livecode wrote:

What works in Terminal generally works in LC's shell function.


But not always. It's not a login shell, so the environment variables may 
well be different.


David - did you brew-install hugo? If so then my guess is that you need 
to provide access to brew for the shell command. Maybe something like


set the shellcommand to "/bin/bash"
get shell("source ~/.bash_profile ; hugo server ")

--
 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: ANSWER: OSX High Sierra and Mojave Double Titlebars or Menubars?

2019-07-31 Thread J. Landman Gay via use-livecode
My client's copy doesn't save the position and size of the script 
editor. Every time she opens it, it appears in the default 
configuration. Might be related.


On 7/31/19 11:47 AM, Bob Sneidar via use-livecode wrote:

This is probably why when I save the location of a stack before closing it, 
then restore it when I open it, the stack is never exactly where it was before. 
It shifts down and to the left by the same amount in both directions.

Bob S



On Jul 31, 2019, at 09:38 , Paul Dupuis via use-livecode 
 wrote:

This was a tough bug to pin down, but it is a bug in LC901 through 905rc1 and 
perhaps earlier with the moveStack handler not always redrawing a stack whose 
position is adjusted by the handler under OSX (tested on El Capitan and High 
Sierra)

Test stack and recipe reproducing the problem posted to the Quality Center bug: 
https://quality.livecode.com/show_bug.cgi?id=22267



___
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




--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Launching a cli server as background process in OSX

2019-07-31 Thread Richard Gaskin via use-livecode

What works in Terminal generally works in LC's shell function.

Does this work as expected in Terminal but not in LC's shell?:

   hugo server &

Maybe a bug report for that.

Does this work?:

  open process "hugo server" for neither


--
 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: Launching a cli server as background process in OSX

2019-07-31 Thread Dar Scott Consulting via use-livecode
Random thoughts, all untested, most goofy, some incoherent:
telnet or ssh
shell() open a customized terminal app window group that has a script
do  as applescript
enhance/repair open process
launch service at startup, but tweak parameters elsehow
Use a tool to turn a shell script into an app  and use open process
use a command-line tool to launch the service as a demon





> On Jul 31, 2019, at 9:24 AM, David Bovill via use-livecode 
>  wrote:
> 
> I have a server that I would like launch from Livecode. I've tried shell(),
> launch, open process, and then creatign bash scripts ending with "&" or
> using screen... no joy so far...
> 
> In the terminal I run:
> 
> hugo server
> 
> and a little go server runs and does it's magic. But try as I can nothing I
> do let's me launch the server from Livecode - without the script waiting
> for the never ending process to end and interface freezing.
> 
> Was about to launch into the world of tmux, or trying Applescript :( Any
> ideas?
> ___
> 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: V9.5 may still have issues

2019-07-31 Thread Richard Gaskin via use-livecode

Ya' think? ;)

--
 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: Play command not working?

2019-07-31 Thread Bob Sneidar via use-livecode
NVM I just bought  simple converter and converted it to a wav file, then 
imported it. Works fine. 

Bob S


> On Jul 31, 2019, at 16:04 , Bob Sneidar via use-livecode 
>  wrote:
> 
> Looks like only uncompressed aiff sounds are supported. Doesn't it seem odd 
> that Livecode cannot play sounds native to the Mac OS??
> 
> 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: Play command not working?

2019-07-31 Thread Bob Sneidar via use-livecode
Looks like only uncompressed aiff sounds are supported. Doesn't it seem odd 
that Livecode cannot play sounds native to the Mac OS??

Bob S


> On Jul 31, 2019, at 16:00 , Bob Sneidar via use-livecode 
>  wrote:
> 
> When I play sounds from the MacOS /system/library/sounds/ folder all I get is 
> noiss. They are aiff files. ??
> 
> 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


Play command not working?

2019-07-31 Thread Bob Sneidar via use-livecode
When I play sounds from the MacOS /system/library/sounds/ folder all I get is 
noiss. They are aiff files. ??

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: Launching a cli server as background process in OSX

2019-07-31 Thread David Bovill via use-livecode
Thanks Francois - but this is not the issue as the shell function works in
that the server is launched via:

*put shell ("hugo server")*


The issue is that as the shell command runs until you forcibly exit - the
Livecode handler freezes and no other scripts or user actions can run - so
I want to run the server in the background.
See thee links for tutorials that I've looked into for how to run bash
scrips in the background:

   - https://www.one-tab.com/page/Ti44-ap4R--XpgYnFYBoqA


On Wed, 31 Jul 2019 at 21:16, mines-imap via use-livecode <
use-livecode@lists.runrev.com> wrote:

> If i remember correctly, shell() launches a new shell environment. It is
> possible that your executable is not in the current PATH. I have had this
> problem to execute pdftex from livecode.
> Best regards
> François
>
> > Le 31 juil. 2019 à 17:24, David Bovill via use-livecode <
> use-livecode@lists.runrev.com> a écrit :
> >
> > I have a server that I would like launch from Livecode. I've tried
> shell(),
> > launch, open process, and then creatign bash scripts ending with "&" or
> > using screen... no joy so far...
> >
> > In the terminal I run:
> >
> > hugo server
> >
> > and a little go server runs and does it's magic. But try as I can
> nothing I
> > do let's me launch the server from Livecode - without the script waiting
> > for the never ending process to end and interface freezing.
> >
> > Was about to launch into the world of tmux, or trying Applescript :( Any
> > ideas?
> > ___
> > 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: Launching a cli server as background process in OSX

2019-07-31 Thread David Bovill via use-livecode
Hi Matthias - no open process does not work for OSX unix processes:

*Note:* On OS X systems, you can use the open process command to start up
an application, but not a Unix process. To work with a Unix process, use
the shell func instead.


These are all the things I've tried:


   - *put shell ("hugo server")*
   - *get shell ("nohup hugo server >&/dev/null")*
   - *get shell ("screen hugo server")*

*I've tried various combinations of this in a bash script:*

#!/bin/bash
> hugo server
> wait
> echo "All processes done!"



   - *get shell ("bash bg_hugo_server.sh")*
   - *open* process "bash bg_hugo_server.sh"
   - *launch "bg_hugo_server.sh"*

I can't get any of them to work. I tried them with versions that use
Livecodes send in time - but still no joy. Pretty sure some combination of
bash and Livecode should work - but it's not easy - any ideas?



On Wed, 31 Jul 2019 at 21:16, mines-imap via use-livecode <
use-livecode@lists.runrev.com> wrote:

> If i remember correctly, shell() launches a new shell environment. It is
> possible that your executable is not in the current PATH. I have had this
> problem to execute pdftex from livecode.
> Best regards
> François
>
> > Le 31 juil. 2019 à 17:24, David Bovill via use-livecode <
> use-livecode@lists.runrev.com> a écrit :
> >
> > I have a server that I would like launch from Livecode. I've tried
> shell(),
> > launch, open process, and then creatign bash scripts ending with "&" or
> > using screen... no joy so far...
> >
> > In the terminal I run:
> >
> > hugo server
> >
> > and a little go server runs and does it's magic. But try as I can
> nothing I
> > do let's me launch the server from Livecode - without the script waiting
> > for the never ending process to end and interface freezing.
> >
> > Was about to launch into the world of tmux, or trying Applescript :( Any
> > ideas?
> > ___
> > 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: V9.5 may still have issues

2019-07-31 Thread Lagi Pittas via use-livecode
I crash to desktop within 30 minutes , without too many line changes -
probably 25 lines and about 5 debugger breakpoints each time

windows 9.5 rc2

I don't think they would have fixed that in a couple of days.

I still have a problem Houston 

Lagi

On Wed, 31 Jul 2019 at 22:11, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi all.
>
> I've been using v9.5 in some form, rc1, rc2 and I regularly crash to
> desktop about once every hour or two. This last time I wasn't doing
> anything unusual just adding files to the sql database. I've been doing the
> same thing over and over, dragging files to a field, and using dragDrop to
> process them and insert the binary data into a table.
>
> I also noticed that the fan on my laptop had been spinning fast for some
> reason, but after the crash it slowed right down.
>
> I'll try to get more vectors, but I think there is sitll something wonky
> here.
>
> 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: Buttons and DragDrop

2019-07-31 Thread Bob Sneidar via use-livecode
Klaus, thanks for that. Fields do not require setting the dragAction, and that 
is what I have been using, so I kept getting the grey stop icon (circle with 
diagonal line). 

Your solution works great! I also have a feature called Landing Pad, where I 
drop something like a complete name and address onto a field and it parses the 
address into the different fields on the form. Having a nice looking button 
with a graphic instead of using a field is going to be a nice addition! Thank 
again! 

Bob S


> On Jul 31, 2019, at 14:02 , Klaus major-k via use-livecode 
>  wrote:
> 
> just made a quick gtest with LC 9.5 on my Mac.
> These scripts in a TABbed button works as exspected:
> --
> on dragEnter
> set the dragaction to "copy"
> end dragEnter
> 
> on dragDrop
> put the dragdata["files"] into fld 1
> end dragDrop
> --
> Or did I misunderstand your problem?
> 
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major


___
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: V9.5 may still have issues

2019-07-31 Thread Bob Sneidar via use-livecode
The speeding fan is because I am downloading LC9.5 Stable so belay that bit. 

> On Jul 31, 2019, at 14:10 , Bob Sneidar via use-livecode 
>  wrote:
> 
> I also noticed that the fan on my laptop had been spinning fast for some 
> reason, but after the crash it slowed right down. 


___
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: BLOB Storage Errors

2019-07-31 Thread Bob Sneidar via use-livecode
It's okay, it's not something I can implement right away. Besides none of the 
files I really care about are having an issue, but someone is going to try and 
insert one of these problem files in the future and it's going to crash a 
standalone. 

I'll look into it later. I'll just open a file for binary read, read until EOF, 
base64encode it, base65devoce it, write it binary back to the disk and see if 
it survives intact. 

Bob S


> On Jul 31, 2019, at 13:59 , JJS via use-livecode 
>  wrote:
> 
> wel copying the piece of scipt did not go flawless
> 
> Also i blindly assumed you talked about storing images as BLOB


___
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


V9.5 may still have issues

2019-07-31 Thread Bob Sneidar via use-livecode
Hi all. 

I've been using v9.5 in some form, rc1, rc2 and I regularly crash to desktop 
about once every hour or two. This last time I wasn't doing anything unusual 
just adding files to the sql database. I've been doing the same thing over and 
over, dragging files to a field, and using dragDrop to process them and insert 
the binary data into a table. 

I also noticed that the fan on my laptop had been spinning fast for some 
reason, but after the crash it slowed right down. 

I'll try to get more vectors, but I think there is sitll something wonky here. 

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: Buttons and DragDrop

2019-07-31 Thread Klaus major-k via use-livecode
Hi Bob,

> Am 31.07.2019 um 22:27 schrieb Bob Sneidar via use-livecode 
> :
> 
> Spoke too soon. Tabbed buttons respond to dragEnter but not dragDrop. Why is 
> the dragDrop handler listed in the left pane as a possible handler then?
> 
> Bob S

just made a quick gtest with LC 9.5 on my Mac.
These scripts in a TABbed button works as exspected:
--
on dragEnter
 set the dragaction to "copy"
end dragEnter

on dragDrop
 put the dragdata["files"] into fld 1
end dragDrop
--
Or did I misunderstand your problem?


Best

Klaus

--
Klaus Major
https://www.major-k.de
kl...@major-k.de


___
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: BLOB Storage Errors

2019-07-31 Thread JJS via use-livecode

wel copying the piece of scipt did not go flawless

Also i blindly assumed you talked about storing images as BLOB

Op 31-7-2019 om 21:37 schreef JJS via use-livecode:

*i use something like this:
*

*
*

*put base64encode(image "productphoto") into tGT*

*put URLencode(tGT) into tPrdFt
put "phototable=" & tT & "=" & gId & "=" & tPrdFt into 
varSendData

put  "https://yoursite.com/uploadphoto.php; into tThis
post varSendData to URL tThis*

*Note that i used php as middleware to my db
*

*
*

Op 31-7-2019 om 19:41 schreef Tom Glod via use-livecode:

I've always avoided using blobs, and have recently been reconsidering
(trying to improve performance by not having to baseencode) it.

but now I'm back to not wanting to use blobs.

I hope someone here can finally clear this up once and for 
all.how and

if to use blobs correctly.

Thanks Bob :)

On Wed, Jul 31, 2019 at 12:45 PM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:


Hi all.

Those familiar with storing file data in SQL blob columns please 
chime in
if you have any ideas. I have added a File Storage module to my SQL 
based

app. Mostly it works a peach, but every now and then I encounter a file
that generates some kind of error. I get "mySQL Server has gone 
away" when
I attempt to insert the file. I open the files for binary read so 
it's the

raw file data unadulterated when I insert it.

The nature of the files are typically backup information from 
copiers, so

it's likely they contain encryption hashes. They may also contain other
data that mySQL does not like. Any ideas? Should I be encoding the data
somehow before inserting?

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


___
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: Buttons and DragDrop

2019-07-31 Thread Bob Sneidar via use-livecode
Spoke too soon. Tabbed buttons respond to dragEnter but not dragDrop. Why is 
the dragDrop handler listed in the left pane as a possible handler then?

Bob S


> On Jul 31, 2019, at 13:17 , Bob Sneidar via use-livecode 
>  wrote:
> 
> Buttons respond to drag/drop messages now??? Yer beautiful! 
> 
> 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


Buttons and DragDrop

2019-07-31 Thread Bob Sneidar via use-livecode
Buttons respond to drag/drop messages now??? Yer beautiful! 

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: Launching a cli server as background process in OSX

2019-07-31 Thread mines-imap via use-livecode
If i remember correctly, shell() launches a new shell environment. It is 
possible that your executable is not in the current PATH. I have had this 
problem to execute pdftex from livecode.
Best regards
François

> Le 31 juil. 2019 à 17:24, David Bovill via use-livecode 
>  a écrit :
> 
> I have a server that I would like launch from Livecode. I've tried shell(),
> launch, open process, and then creatign bash scripts ending with "&" or
> using screen... no joy so far...
> 
> In the terminal I run:
> 
> hugo server
> 
> and a little go server runs and does it's magic. But try as I can nothing I
> do let's me launch the server from Livecode - without the script waiting
> for the never ending process to end and interface freezing.
> 
> Was about to launch into the world of tmux, or trying Applescript :( Any
> ideas?
> ___
> 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: BLOB Storage Errors

2019-07-31 Thread JJS via use-livecode

*i use something like this:
*

*
*

*put base64encode(image "productphoto") into tGT*

*put URLencode(tGT) into tPrdFt
put "phototable=" & tT & "=" & gId & "=" & tPrdFt into 
varSendData

put  "https://yoursite.com/uploadphoto.php; into tThis
post varSendData to URL tThis*

*Note that i used php as middleware to my db
*

*
*

Op 31-7-2019 om 19:41 schreef Tom Glod via use-livecode:

I've always avoided using blobs, and have recently been reconsidering
(trying to improve performance by not having to baseencode) it.

but now I'm back to not wanting to use blobs.

I hope someone here can finally clear this up once and for all.how and
if to use blobs correctly.

Thanks Bob :)

On Wed, Jul 31, 2019 at 12:45 PM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:


Hi all.

Those familiar with storing file data in SQL blob columns please chime in
if you have any ideas. I have added a File Storage module to my SQL based
app. Mostly it works a peach, but every now and then I encounter a file
that generates some kind of error. I get "mySQL Server has gone away" when
I attempt to insert the file. I open the files for binary read so it's the
raw file data unadulterated when I insert it.

The nature of the files are typically backup information from copiers, so
it's likely they contain encryption hashes. They may also contain other
data that mySQL does not like. Any ideas? Should I be encoding the data
somehow before inserting?

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


___
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: signature widget

2019-07-31 Thread JJS via use-livecode

Yes indeed.

That was my intention too to use it for such idea. But probably that's 
where it only will be used for, a proof of sign.


Op 31-7-2019 om 18:23 schreef Tom Glod via use-livecode:

Oh ok thanks, so the person can use their finger stylus to sign in
the field.

So its literally what it says . a signature widget.lol...thats useful.

On Wed, Jul 31, 2019 at 12:01 PM Matthias Rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:


Ups, should have  been  " left there."

Matthias Rebbe

free tools for Livecoders:
InstaMaker 
WinSignMaker Mac 


Am 31.07.2019 um 17:59 schrieb Matthias Rebbe via use-livecode <

use-livecode@lists.runrev.com >:


I am not JJS, but i am working on a mobile app for craftsman. After

finishing their work at the customers place, they let the customer sign a
paper to confirm they´ve done work for them. The paper lists all work
they´ve done, all materials they used and any product they left their.

The mobile app will replace the paper stuff.

Regards,

Matthias

Matthias Rebbe

free tools for Livecoders:
InstaMaker >

WinSignMaker Mac >

Am 31.07.2019 um 17:16 schrieb Tom Glod via use-livecode <

use-livecode@lists.runrev.com 
>:

How and why would you use this widget?

On Tue, Jul 30, 2019 at 5:28 AM hh via use-livecode <
use-livecode@lists.runrev.com 

> wrote:

Dictionary > widget.signature
(use Bernd's tinyDict):

The pathData is a numerically indexed array of path info elements.
Each path info element contains three keys:

- path - SVG path instructions
- color - the color to paint the path with
- width - the line width of the path

It is now part of Indy.

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

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 <

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: BLOB Storage Errors

2019-07-31 Thread Tom Glod via use-livecode
I've always avoided using blobs, and have recently been reconsidering
(trying to improve performance by not having to baseencode) it.

but now I'm back to not wanting to use blobs.

I hope someone here can finally clear this up once and for all.how and
if to use blobs correctly.

Thanks Bob :)

On Wed, Jul 31, 2019 at 12:45 PM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi all.
>
> Those familiar with storing file data in SQL blob columns please chime in
> if you have any ideas. I have added a File Storage module to my SQL based
> app. Mostly it works a peach, but every now and then I encounter a file
> that generates some kind of error. I get "mySQL Server has gone away" when
> I attempt to insert the file. I open the files for binary read so it's the
> raw file data unadulterated when I insert it.
>
> The nature of the files are typically backup information from copiers, so
> it's likely they contain encryption hashes. They may also contain other
> data that mySQL does not like. Any ideas? Should I be encoding the data
> somehow before inserting?
>
> 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: ANSWER: OSX High Sierra and Mojave Double Titlebars or Menubars?

2019-07-31 Thread Bob Sneidar via use-livecode
This is probably why when I save the location of a stack before closing it, 
then restore it when I open it, the stack is never exactly where it was before. 
It shifts down and to the left by the same amount in both directions. 

Bob S


> On Jul 31, 2019, at 09:38 , Paul Dupuis via use-livecode 
>  wrote:
> 
> This was a tough bug to pin down, but it is a bug in LC901 through 905rc1 and 
> perhaps earlier with the moveStack handler not always redrawing a stack whose 
> position is adjusted by the handler under OSX (tested on El Capitan and High 
> Sierra)
> 
> Test stack and recipe reproducing the problem posted to the Quality Center 
> bug: https://quality.livecode.com/show_bug.cgi?id=22267


___
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


BLOB Storage Errors

2019-07-31 Thread Bob Sneidar via use-livecode
Hi all. 

Those familiar with storing file data in SQL blob columns please chime in if 
you have any ideas. I have added a File Storage module to my SQL based app. 
Mostly it works a peach, but every now and then I encounter a file that 
generates some kind of error. I get "mySQL Server has gone away" when I attempt 
to insert the file. I open the files for binary read so it's the raw file data 
unadulterated when I insert it. 

The nature of the files are typically backup information from copiers, so it's 
likely they contain encryption hashes. They may also contain other data that 
mySQL does not like. Any ideas? Should I be encoding the data somehow before 
inserting? 

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


ANSWER: OSX High Sierra and Mojave Double Titlebars or Menubars?

2019-07-31 Thread Paul Dupuis via use-livecode
This was a tough bug to pin down, but it is a bug in LC901 through 
905rc1 and perhaps earlier with the moveStack handler not always 
redrawing a stack whose position is adjusted by the handler under OSX 
(tested on El Capitan and High Sierra)


Test stack and recipe reproducing the problem posted to the Quality 
Center bug: https://quality.livecode.com/show_bug.cgi?id=22267



On 7/26/2019 12:27 PM, Paul Dupuis via use-livecode wrote:

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

We have a screen recording showing the issue (but not what triggered 
it!) that, when I can get it form the QA person who recorded it, I 
will post to the bug report.


In a strange way it is comforting to know some one else is seeing this 
issue too.



On 7/26/2019 11:38 AM, J. Landman Gay via use-livecode wrote:
I don't see the problem either but my client does. She can't work 
with our stacks and we probably shouldn't ship if it's a widespread 
issue. Her symptoms are identical to what you describe.


Please write up a bug report and if I can get more info from her I'll 
add to it. We have a hard deadline in about 3 weeks.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On July 26, 2019 9:16:10 AM Paul Dupuis via use-livecode 
 wrote:



On 7/26/2019 12:17 AM, Trevor DeVore via use-livecode wrote:

On Thu, Jul 25, 2019 at 4:05 PM Paul Dupuis via use-livecode <
use-livecode@lists.runrev.com> wrote:


I recall a recent (last year/this year - I think) bug where under OSX
High Sierra or Mojave you could end up with double titlebars in your
windows or perhaps it was double menubars?

I have spent a big chunk of time searching the Livecode Quality 
Center

and can not find this bug.

Am I delusional, or was there such a bug and if, so can someone 
point me

to it?


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



Yes, thank you. In LiveCode 905rc1 in Standalones on OSX High Sierra we
are seeing an odd behavior where -- something happens -- and the mouse
position in a window (or a multi-window standalone) is displaced
vertically. When you click or drag, LiveCode thinks - just in the 
window

- that the mouse is about 20-30 px above where it currently is.

If you move the mouse out of the affected window to another window, it
is fine. But if you move it back into the effected window, it is still
displaced. If you move the window (aligned by default just under the
menubar) down by the displacement amount, the displacement goes away.
Move the window back up, the displacement returns.

Restart the app and it goes away -- until it occurs again.

It is not in our code and happen in different windows at different
times. It is definitely an LiveCode bug, but we can not create/discover
a recipe for what triggers the bug. It has been suggested that it might
be related to the double titlebars bug or to a bug where the LiveCode
IDE menubar/pallete cause an similar displacement in the IDE. However,
this is in a standalone.

It's driving us batty since we can't ship our app with this bug and
can't get LiveCode to even consider fixing it until we can produce a
test stack with a recipe to reproduce it!



___
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: signature widget

2019-07-31 Thread Tom Glod via use-livecode
Oh ok thanks, so the person can use their finger stylus to sign in
the field.

So its literally what it says . a signature widget.lol...thats useful.

On Wed, Jul 31, 2019 at 12:01 PM Matthias Rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Ups, should have  been  " left there."
>
> Matthias Rebbe
>
> free tools for Livecoders:
> InstaMaker 
> WinSignMaker Mac 
>
> > Am 31.07.2019 um 17:59 schrieb Matthias Rebbe via use-livecode <
> use-livecode@lists.runrev.com >:
> >
> >
> > I am not JJS, but i am working on a mobile app for craftsman. After
> finishing their work at the customers place, they let the customer sign a
> paper to confirm they´ve done work for them. The paper lists all work
> they´ve done, all materials they used and any product they left their.
> >
> > The mobile app will replace the paper stuff.
> >
> > Regards,
> >
> > Matthias
> >
> > Matthias Rebbe
> >
> > free tools for Livecoders:
> > InstaMaker  https://instamaker.dermattes.de/>>
> > WinSignMaker Mac  https://winsignhelper.dermattes.de/>>
> >
> >> Am 31.07.2019 um 17:16 schrieb Tom Glod via use-livecode <
> use-livecode@lists.runrev.com 
> >>:
> >>
> >> How and why would you use this widget?
> >>
> >> On Tue, Jul 30, 2019 at 5:28 AM hh via use-livecode <
> >> use-livecode@lists.runrev.com 
> >> wrote:
> >>
> >>> Dictionary > widget.signature
> >>> (use Bernd's tinyDict):
> >>>
> >>> The pathData is a numerically indexed array of path info elements.
> >>> Each path info element contains three keys:
> >>>
> >>> - path - SVG path instructions
> >>> - color - the color to paint the path with
> >>> - width - the line width of the path
> >>>
> >>> It is now part of Indy.
> >>>
> >>> ___
> >>> 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 <
> 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 <
> 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: signature widget

2019-07-31 Thread Matthias Rebbe via use-livecode
Ups, should have  been  " left there." 

Matthias Rebbe

free tools for Livecoders:
InstaMaker 
WinSignMaker Mac 

> Am 31.07.2019 um 17:59 schrieb Matthias Rebbe via use-livecode 
> mailto:use-livecode@lists.runrev.com>>:
> 
> 
> I am not JJS, but i am working on a mobile app for craftsman. After finishing 
> their work at the customers place, they let the customer sign a paper to 
> confirm they´ve done work for them. The paper lists all work they´ve done, 
> all materials they used and any product they left their.
> 
> The mobile app will replace the paper stuff.
> 
> Regards,
> 
> Matthias
> 
> Matthias Rebbe
> 
> free tools for Livecoders:
> InstaMaker  >
> WinSignMaker Mac  >
> 
>> Am 31.07.2019 um 17:16 schrieb Tom Glod via use-livecode 
>> mailto:use-livecode@lists.runrev.com> 
>> > >>:
>> 
>> How and why would you use this widget?
>> 
>> On Tue, Jul 30, 2019 at 5:28 AM hh via use-livecode <
>> use-livecode@lists.runrev.com  
>> > >> wrote:
>> 
>>> Dictionary > widget.signature
>>> (use Bernd's tinyDict):
>>> 
>>> The pathData is a numerically indexed array of path info elements.
>>> Each path info element contains three keys:
>>> 
>>> - path - SVG path instructions
>>> - color - the color to paint the path with
>>> - width - the line width of the path
>>> 
>>> It is now part of Indy.
>>> 
>>> ___
>>> 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: signature widget

2019-07-31 Thread Matthias Rebbe via use-livecode

I am not JJS, but i am working on a mobile app for craftsman. After finishing 
their work at the customers place, they let the customer sign a paper to 
confirm they´ve done work for them. The paper lists all work they´ve done, all 
materials they used and any product they left their.

The mobile app will replace the paper stuff.

Regards,

Matthias

Matthias Rebbe

free tools for Livecoders:
InstaMaker 
WinSignMaker Mac 

> Am 31.07.2019 um 17:16 schrieb Tom Glod via use-livecode 
> mailto:use-livecode@lists.runrev.com>>:
> 
> How and why would you use this widget?
> 
> On Tue, Jul 30, 2019 at 5:28 AM hh via use-livecode <
> use-livecode@lists.runrev.com > wrote:
> 
>> Dictionary > widget.signature
>> (use Bernd's tinyDict):
>> 
>> The pathData is a numerically indexed array of path info elements.
>> Each path info element contains three keys:
>> 
>> - path - SVG path instructions
>> - color - the color to paint the path with
>> - width - the line width of the path
>> 
>> It is now part of Indy.
>> 
>> ___
>> 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

[ANN] Release 9.5.0

2019-07-31 Thread panagiotis merakos via use-livecode
Dear list members,

We are pleased to announce the release of LiveCode 9.5.0 STABLE.

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


Release Contents

LiveCode 9.5.0 STABLE comes with more than 100 bugfixes, compared to the
previous STABLE version. Moreover, another 100+ bugfixes, including several
memory leak fixes, that were fixed in LiveCode 9.0.x, are now merged into
LiveCode 9.5.0.

In addition, LiveCode 9.5.0 includes several amazing new features:

- New Android Architectures (32/64bit) + support for the latest Google Play
Store requirements
- Windows 64 bit IDE & deployment support
- Static linked code libraries for iOS device builds
- Real boolean constants, Infinity constant
- Math operation refactor
- New container layer mode
- New log command and logMessage property
- Implement filter where clause
- Progress, isSecure and allowUserInteraction features added to browser
widget
- New returnKeyType & keyboardType field property
- Improved sort international to support lots of additional locales
- Updated SQLite lib to the latest version
- Added support for URI filenames and JSON storage/retrieval in SQLite DBs
- Implemented modifier key state access for LCB (e.g. "key is down")
- Implemented clip to path for LCB
- Several enhancements to Tree View Widget
- New mobileSetKeyboardDisplay and mobileGetKeyboardDisplay handlers
- mobileSetKeyboardReturnKey on android
- PDF Widget (Business Edition)
- Android Barcode Scanner widget (Business Edition)
- Mac status menu library


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_5_0/LiveCodeNotes-9_5_0.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: Launching a cli server as background process in OSX

2019-07-31 Thread Matthias Rebbe via use-livecode
Hi,

what about using "open process" instead of using shell()? 
Does that work?

Regards,
Matthiass

Matthias Rebbe

free tools for Livecoders:
InstaMaker 
WinSignMaker Mac 

> Am 31.07.2019 um 17:24 schrieb David Bovill via use-livecode 
> mailto:use-livecode@lists.runrev.com>>:
> 
> I have a server that I would like launch from Livecode. I've tried shell(),
> launch, open process, and then creatign bash scripts ending with "&" or
> using screen... no joy so far...
> 
> In the terminal I run:
> 
> hugo server
> 
> and a little go server runs and does it's magic. But try as I can nothing I
> do let's me launch the server from Livecode - without the script waiting
> for the never ending process to end and interface freezing.
> 
> Was about to launch into the world of tmux, or trying Applescript :( Any
> ideas?
> ___
> 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


Launching a cli server as background process in OSX

2019-07-31 Thread David Bovill via use-livecode
I have a server that I would like launch from Livecode. I've tried shell(),
launch, open process, and then creatign bash scripts ending with "&" or
using screen... no joy so far...

In the terminal I run:

hugo server

and a little go server runs and does it's magic. But try as I can nothing I
do let's me launch the server from Livecode - without the script waiting
for the never ending process to end and interface freezing.

Was about to launch into the world of tmux, or trying Applescript :( Any
ideas?
___
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: signature widget

2019-07-31 Thread Tom Glod via use-livecode
How and why would you use this widget?

On Tue, Jul 30, 2019 at 5:28 AM hh via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Dictionary > widget.signature
> (use Bernd's tinyDict):
>
> The pathData is a numerically indexed array of path info elements.
> Each path info element contains three keys:
>
> - path - SVG path instructions
> - color - the color to paint the path with
> - width - the line width of the path
>
> It is now part of Indy.
>
> ___
> 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