Re: Livecode Server on Dreamhost fails in Ubuntu upgrade

2014-11-11 Thread Warren Samples

On 11/11/2014 12:42 PM, Phil Davis wrote:

One thing I noticed is that script execution speed seems to have gotten
dreadfully slow in 64-bit 7.0 - roughly 6x slower.



I have a simple script that repeats 5000 times, adding to a counter and 
populating and sorting a list with seven items. It takes just a little 
less than 4x as long to execute under LC 7 Server as it does under any 
previous version. I'm running 32bit in LC 7, btw.


Warren

___
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 Server on DreamHost?

2014-11-22 Thread Warren Samples

On 11/21/2014 01:56 PM, Phil Davis wrote:

the speed of loading
is TERRIBLE with the 7.0.1 LC Linux server. It takes 4.5 seconds for
LC to
'execute' a simple page every time. It's not about DNS and a PHP page on
the same site loads immediately by comparison.



Is this possibly related to other slowdowns in the desktop versions?


Unless there is a problem specific to the 64 bit engine it seems more 
likely related to some issue with the DreamHost setup. The script that 
Phil provides in his bug report shows similar nearly instantaneous 
execution times for 6.1.2, 6.5.1 and 7.0.0 served from the same (32 bit) 
machine at WebFaction:


 (6.1.2)
 (6.5.1)
 (7.0.0)

I do have a simple test script with a repeat loop and a list sort that 
takes @ 4 times as long to execute with 7.0.0 as it does with earlier 
versions, but Phil's script doesn't show anything like the same problem 
here as it does on his DreamHost server.


Warren

___
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 Server on DreamHost?

2014-11-22 Thread Warren Samples

On 11/21/2014 01:56 PM, Phil Davis wrote:

I'm glad it isn't just me:
http://quality.runrev.com/show_bug.cgi?id=13983

Phil Davis



Phil,

Your desktop utility shows a difference of about 8 to 10 times using 
your URLs and about 4 times using mine when run under 6.6.2. Opening the 
URLs in a browser continues to show a significant difference, but it's 
hard to quantify. Could you put a timer in the scripts themselves? Also, 
it seems probable from how they display in the utility and the browser 
that the scripts are not quite identical, with the one at 
 not converting 'CR' to '' as does 
(apparently) the other one. However doubtful it might be that this has 
serious impact, it would be best ensure they are identical.


Warren

___
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: OT: Web Server-side ID3 Tagger

2014-12-16 Thread Warren Samples

On 12/16/2014 12:24 AM, Brahmanathaswami wrote:

I need to set the ID3 tags for MP3 files that have already been uploaded
to our web server.

typically my approach is to create a thin desktop client, which can read
our media database from the web server... then I need to send a POST
back to my "MusicAPI.lc"  which in turn then passes some params to [The
ID3 Tagger program] via shell

path to file
artist
author
genre
album
date
title

locally on a mac this is as simple as getting info in iTunes, adding the
ID3 metadata and iTunes writes it back to the same .mp3 file (or aiff)

Does anyone know of a *nix program that can do the same, that I can call
from shell (would run on CentOS 6.2)

Swasti Astu, Be Well!
Brahmanathaswami



Is id3v2 installed, or can you install 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


Re: Server performance issues: Dreamhost only?

2015-01-26 Thread Warren Samples

On 01/26/2015 01:08 PM, Richard Gaskin wrote:

We've seen reports of serious performance issues with running LiveCode
Server 7.x on Dreamhost.

I'm working with Peter Brett at RunRev to try to resolve these, and
there's one detail that would be very useful to know:

While we see relatively minor speed differences on the desktop, running
LiveCode Serve on Dreamhost has resulted in requests taking as long as
several seconds, far beyond anything we can account for in the engine
itself.

Have any of you seen order-of-magnitude speed loss when running LiveCode
Server on any host other than Dreamhost?

--
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web



Not at webfaction where I have various versions of LC Server running as 
as cgi via a Caudium server which in turn runs behind nginx (and maybe 
Apache, I'm not sure if they've left the Apache layer in for the 
deployment of webapps, since putting nginx up front, and am too lazy to 
look it up because it still works so why should I care :D). Request 
handling is fractionally slower since LC 6.5 but the discernable delay 
doesn't seem to have increased here for LC 7. I've already reported that 
script handling is 3 to 4 times slower in LC 7, but that's a different 
issue.


Warren

___
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: Server performance issues: Dreamhost only?

2015-01-26 Thread Warren Samples

On 01/26/2015 03:28 PM, Warren Samples wrote:

Have any of you seen order-of-magnitude speed loss when running LiveCode
Server on any host other than Dreamhost?





Not at webfaction



It may be relevant to note that all LC Server versions I have installed 
are 32bit, including LC 7. webfaction is still running CentOS 32bit.


Warren



___
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: Edit the script of a stack without opening it

2015-05-23 Thread Warren Samples

On 05/23/2015 06:00 PM, dunb...@aol.com wrote:

"Messages button in the toolbar"


Where is this? Did you mean "Suppress Messages" in the menubar?


Craig



Under the "View" menu are options to toggle toolbar text and toolbar 
icons. Enable one or both of these and you will find "Messages" right 
between "Select Grouped" and "Errors".


Warren

___
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


atom editor and livecode server files syntax package available

2015-07-03 Thread Warren Samples
For those of you who don't participate in the forums for whatever 
reason, but are interested in livecode server, forum user ghettocottage 
has converted the TextMate revigniter-livecode syntax module for the 
cross-platform Atom Text Editor and made it available to all. You can 
install it directly from Atom under Preferences>>Install (search 
packages "revigniter-livecode").


More information regarding Atom can be found here:

https://atom.io/

Warren

___
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: v8 DP3

2015-08-26 Thread Warren Samples

On 08/26/2015 10:23 AM, Richmond wrote:

Really excited, now I have a functioning 64-bit system, to dig into this
'puppy'.

Richmond.



Richmond,

Please let me know if you can build a working standalone on your system. 
I can't get a standalone built in any version of LC8 to open and run on 
my system running openSUSE and KDE. Trying to run one from the command 
line doesn't return any messages.


Warren

___
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: v8 DP3

2015-08-26 Thread Warren Samples

On 08/26/2015 11:54 AM, Richmond wrote:


I just knocked together a standard stack with one button containing
the script:

on mouseUp
  put "HELLO"
end mouseUp

before I tried building a standalone, that script did NOT work . . .

I built a 64-bit Linux standalone, and it *opened* (the script did not
run, but then it didn't in the IDE either).

I then knocked together a standard stack with one button containing
the script:

on mouseUp
   move me to 50,50
end mouseUp

*worked* in the IDE, and worked as a standalone!

Xubuntu 64-bit, 15.04

Best, Richmond.

P.S. Probably a problem caused by Vladimir *Put*in!



Here:
https://www.dropbox.com/sh/9k9r6zqqs01sxo1/AAAFIpKPxoxns3kRplMOsaJda?dl=0

File: Test_26_Aug_15.zip

Richmond.
___




Thank you, Richmond. The Mover standalone ran here and the stack 
successfully compiled and ran as a standalone on my machine. So, I went 
back and see that under Linux standalone settings, 64bit is deselected 
by default and I hadn't even bothered checking (red-face goes here). All 
I did was deselect Windows and OS X... I would like to politely suggest 
if Linux is by default going to build for Windows and OS X, it could 
also build by default for both Linux architectures.


It seems the answer dialog may be a problem in standalone building. 
Opening a standalone that uses an answer dialog returns this error, 
"Error 91,15,1 (linebreak without a comma here in the error message) 
532,52,1 while loading stack: pLibraryName". Clicking "OK" does nothing. 
The dialog has to be dismissed by clicking the close button in the title 
bar. The dialog reappears. Same issue with dismissing/closing it. The 
app window then opens. A button that goes "beep" works as expected. The 
button that displays the answer dialog works and displays the proper 
text but the dialog again cannot by dismissed by clicking "OK".


That's what I have here. Does this happen for you , or anyone else?

Warren

___
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: HTML5 test

2015-09-01 Thread Warren Samples

On 09/01/2015 11:36 PM, Alejandro Tejada wrote:

On Ubuntu Linux, works fine Firefox

Chrome and Opera shows this message:
Exception thrown, see JavaScript console



It works here in Opera 31.0 and Chrome 44.0 (also works in Chromium) in 
openSUSE 13.2, 64-bit. I wonder what accounts for the difference in our 
experiences. It does not work in QupZilla or Konqueror using either 
WebKit or KHTML. It also works fine in Vivaldi.


Warren

___
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: HTML5 test

2015-09-02 Thread Warren Samples

On 09/02/2015 04:31 AM, Fraser Gordon wrote:

Opera works - it isn’t one that we’d particularly tried to support at this 
stage.



Keep in mind that Opera now uses the Chrome/Blink rendering and 
javascript engines, as apparently does Vivaldi.


Warren

___
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: Linux software suggestions

2015-09-22 Thread Warren Samples

On 09/22/2015 03:02 PM, AndyP wrote:

Photo / Raw editing - DarkTable - Linux only, I've been wanting to play with
this for ages.



There is also RawTherapee (this is cross platform but not well known to 
Win/Mac users because they don't "sell" it) http://www.rawtherapee.com/


LightZone is available for Linux. http://lightzoneproject.org/

I don't know what the current state of color management is under Mint, 
but there are projects which have brought color management to Linux and 
it's worth researching.


dipcalGUI offers monitor calibration http://dispcalgui.hoech.net/

Have fun!

Warren

___
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


list etiquette

2015-09-28 Thread Warren Samples

Hello all,

From time to time certain issue of list etiquette have been brought up 
and discussed. Cross-posting to this and the dev list, top or bottom 
responding, succinct message copying, and whether or not to leave a 
message intact while responding or slicing it and responding point by 
point have been some of the issues discussed in recent months.


I would like to respectfully ask that certain members of the list 
consider their method for posting new topics. I have noticed a problem 
with unrelated topics being folded into a single subject thread and from 
looking at message headers it seems this is because each of these topics 
was introduced by replying to a message and changing the subject instead 
of addressing a new message to the list. The result of this can be a 
thread which contains discussions of several different topics. This may 
further result in people not seeing your topic if it falls within a 
thread whose subject doesn't interest them.


An example would be the thread with the subject "Why can't LC do what 
PencilCase does?" Under that thread are 11 completely unrelated message 
threads, each having headers that indicate each new topic was initiated 
as a response to a previous but unrelated message within that thread.


It might be a more polite and better strategy to compose a new message 
to the list to introduce a new topic rather than doing it in a reply to 
a previous (unrelated) message.


Cheers,

Warren

___
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: A modest proposal

2015-09-29 Thread Warren Samples

On 09/28/2015 03:23 PM, William Prothero wrote:

Folks:
I’m putting out what I think is a fantastic idea for an app. It’s much more 
than I’d be willing to take on, but in the US, I think it could be very big. 
But, then again, perhaps it exists already. I’d like to use such an app for my 
aging stepmother. I release the idea into the livecode-sphere.

Problem: Aging population and seniors needing services, and wanting to live in 
their home as long as possible. Getting help is hit and miss and the senior 
help organizations do not actually work very well or consistently. I have been 
pondering this because my mother-in-law is 200 miles away and needs help to be 
able to stay in her home. The kind of app I propose, as the population ages 
further, could be extremely useful.

Solution: Think Uber. Folks who want to offer services to seniors, like take 
them to a doctor’s appointment, go shopping, clean the house, provide company 
(you get the idea).. sign up to the site. Seniors or their “primary overseer” 
(POS: a family member, or some agent who takes responsibility for overseeing 
the senior’s well-being) request services the same as they would do for an Uber 
ride. The service provider leaves notes re their specific experience giving the 
service, on a password protected database available to the POS.  The POS can 
rate the service provider and comment on their service quality. There could be 
a public area, managed by the POS, where public information about the senior 
could be posted.

Challenges would be creating some kind of certification for the service 
provider. Seniors are particularly vulnerable to fraud and abuse, so providers 
would need some kind of strong oversight. Probably it would be best if there 
was a local office for each location where providers were interviewed, checked 
for criminal records, possibly trained, etc. Perhaps a partnership with an 
existing non-profit senior help center would work.

Another challenge is that seniors may, for awhile, not be able to use a mobile 
device. The POS would help in this regard.

Social media would be very important in helping seniors find and evaluate 
appropriate providers and share ideas for strategies for independent living and 
needed care.

Best regards,
Bill



William A. Prothero
http://es.earthednet.org/

___
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




Without knowing exactly how you envision this, it can be said that 
services such as this do exist in some form or another. See, for 
example, care.com


POS may not be the very best acronym...

Cheers,

Warren

___
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: list etiquette

2015-09-30 Thread Warren Samples

On 09/30/2015 02:03 AM, Kay C Lan wrote:

That's exactly what you'd want isn't it? If you are not interested in the

main topic why on earth would you be interested in a side issue of the main
topic?



You are not understanding the problem. These "side issues of the main 
thread" are nothing of the sort. They are completely unrelated topics 
and appear as sub threads only because of poor (lazy?) posting habits.


A possible problem, related to what Mark describes, occurs when marking 
a thread to be ignored.


Warren

___
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: Release 6.7.7 / 7.1.0

2015-10-04 Thread Warren Samples

On 10/04/2015 12:50 PM, Peter TB Brett wrote:

Many of the Linux releases seem to misbehave themselves well if one
chooses the "Ayn Rand" option [ You Only ]; since the release of
the first Community version I have found about 25% of them have "gone
wonky" for 'You Only'.


Ah, that's a really interesting data point.  I shall experiment tomorrow
evening (in between everything else I'm supposed to be doing. ;-)




Not to dispute what Richmond reports as his unfortunate experience, I 
can say that I only ever install for "me only" and have never had 
difficulties with the installers.openSUSE 13.2-64bit.


Warren

___
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: [OT] Mac/Window duopoly assumptions

2015-10-20 Thread Warren Samples

On 10/20/2015 12:27 PM, Richmond wrote:


P.S. I also use my computer to iron my socks.



Maybe you should put another fan or two in 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


Re: Release 8.0.0 DP 8

2015-11-03 Thread Warren Samples

On 11/03/2015 12:06 PM, Richmond wrote:



As soon as I clicked on one of the dropDown menus in revMenuBar
everything locked up.

Richmond.




OpenSUSE 64bit with KDE Plasma5. I had no troubles opening this version, 
but get similar behavior to that which Richmond describes here except 
that it's not really frozen or "locked up". What happens here is that 
the main menu bar (top row) refuses to give up focus upon mouse-exit. 
The selected dropdown remains in the extended position. Moving to 
another menu item will open that dropdown which again refuses to retract 
when the mouse leaves. However, selecting any item/action from the 
dropdown list performs the selected task, closes the dropdown and 
everything goes back to normal until another menu item is selected.


Warren

___
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: Release 8.0 DP 10

2015-11-25 Thread Warren Samples

On 11/24/2015 05:46 AM, Ali Lloyd wrote:

We are pleased to announce the release of LiveCode 8.0 DP 10.



The release notes provided with this version of Livecode Server say it 
requires glibc 2.3.6 or later for 32-bit Intel. This seems not to be the 
case. It won't run in my environment and ldd complains:

 "/lib/libc.so.6: version `GLIBC_2.7' not found" I have glibc 2.5.

Warren


___
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: Release 8.0 DP 10

2015-11-25 Thread Warren Samples

On 11/25/2015 08:38 AM, Peter TB Brett wrote:

Yes, the release notes appear to be inaccurate.

We currently build against:

* glibc 2.11 (released Nov 2009) or newer on x86

* glibc 2.13 (released Feb 2011) or newer on x86-64

I will make sure they are updated in time for our next releases.

Out of interest, on which Linux distribution and version are you
attempting to run LiveCode 8 server?

Peter




32-bit CentOS 5.11, at WebFaction (webfaction.com)

Warren







___
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: Java version

2015-11-28 Thread Warren Samples

On 11/28/2015 10:32 AM, J. Landman Gay wrote:

Thanks, but the link in the post there times out so I can't get to it. Could 
you give a brief synopsis? My main confusion is whether I have two versions 
installed (and can therfore uninstall 8 entirely) or whether it's version 6 
that's triggering the update warning.



java has traditionally installed versions side-by-side. A new major 
version should not (didn't used to) uninstall a previous version. I 
haven't used OS X since 10.5 and perhaps it's changed, but if you were 
to go into /Library (or maybe /System/Library ?) you should find a 
folder labeled Java. You would find all installed versions, each in its 
own director, plys a symlink called "java" which points to the latest. A 
lot of java software allows you to explicitly select which java version 
you want to run. It's kind of like running multiple versions of python; 
you might have software which requires 2.6 or 2.7 or some version of 
python3.


Warren

___
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: Sound, Linux, Embedding

2016-02-17 Thread Warren Samples

On 02/17/2016 03:06 PM, RM wrote:

So, after keeping quiet on this for about 5 years . . .

I was digging away in some ZIP disks I have access to via a SCSI card in
the back of my Linux
box [neither my G3 iMac, nor my G5 iMac having SCSI ports] and I chanced
upon some
"LiveCode" (i.e. Runtime Revolution) stacks I made while I was working
at the University of St. Andrews
for foreign students to practise English vowel sounds . . . and thought
. . .

wouldn't it be "fun" (this involves a fairly broad definition of what
constitutes fun) if it were now
possible to port them to run on Linux, including the ability to embed
the sounds in the stack.

So?

Richmond.




Richmond, you can play audioclips under Linux. I'm not sure what 
dependencies you need to satisfy and you may have to experiment to find 
a format/bit rate/sampling rate that plays, but it can work. For some 
reason some sounds (perhaps due to short length?) don't appear to play 
in the IDE but will play in a standalone. Download and experiment with 
Jacquie's Blocks. The woodtap doesn't play for me in the IDE but works 
in a standalone. The fanfare plays but is truncated in the IDE and works 
fine in the standalone. The sound used to signal the end of a game with 
blocks left plays as white noise instead of whatever it's supposed to 
sound like.


Good luck!


___
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: Finding UTC

2016-02-22 Thread Warren Samples

On 02/21/2016 01:34 PM, Graham Samuel wrote:

Thanks to all those who replied - ‘the internet date’ was the answer I needed, 
since I then didn’t have to get out of my LiveCode comfort zone to do the 
calculation. I’m thinking of time-stamping some interactions that are going to 
go through a program I’m running on LiveCode Server. Right now I have it 
running on DreamHost, whose servers presumably stay in one place, but I wanted 
an invariant time stamp not depending on the location of the server or of any 
particular user, so I saw UTC as the way to go.

My issue was that I didn’t know of a command that I could run on the server, or 
a url to a public time server, that would just give me UTC in its simplest form 
without leaving LiveCode - probably very lazy of me, but I want to keep things 
as simple as I can. I have now written a little homegrown routine that uses 
‘the internet date’ which seems to work fine.

Thanks again

Graham



For future reference, anyone needing this and running on a Linux server 
could do:


put shell("date -u")

which will return the current UTC time without any local timezone 
adjustment.


Warren

___
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: OS X - how to write to a file associated as a Unix executable

2016-02-29 Thread Warren Samples

On 02/29/2016 03:13 PM, Glen Bojsza wrote:

Hello,

I am trying to write the from a text field to a file and then change the
file so it is executable.

put field "mytest" into URL "binfile:~/race"
or
put field "mytest" into URL"file:~/race"

The file race is created in either case but are associated with textedit.

I require it to be recognized as a Unix executable associated with the
terminal application once I have done a chmod +rx on it

If I just save a file from textmate and do a chmod +rx then it works.

So it has to do with how I am saving it out of LC.

Any suggestions?

thanks,

Glen



You could look into fileType in the dictionary. I can recall having to 
explicitly set the file type for images saved from LiveCode or they 
would open in an editor because LiveCode was saving them as text files.


You could also try using 'get shell()' and whatever command or method 
you feel most appropriate given you content, to create the file and then 
make it executable by


'get shell("chomd +x /your/new/file")'

This works here under Linux and  work under OS X because the 
file itself is being created and saved by the system instead of by LiveCode.



Warren

___
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: OS X - how to write to a file associated as a Unix executable

2016-02-29 Thread Warren Samples

On 02/29/2016 06:06 PM, Warren Samples wrote:

'get shell("chomd +x /your/new/file")'



Well, that of course won't work jaja.

chmod


___
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: OS X - how to write to a file associated as a Unix executable

2016-02-29 Thread Warren Samples

On 02/29/2016 06:09 PM, Glen Bojsza wrote:

This only works IF the file created is associated with the terminal
application.

The issue is creating the proper file format so when the chmod creates it
as Unix executable.



Are you saying that saving a file from TextMate and chmoding it works 
but using Terminal and 'print "something-that-will-execute" > 
/output/file' or 'cat /working/file > /working/file-cloned' and chmoding 
that file doesn't?


Warren


___
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: OS X - how to write to a file associated as a Unix executable

2016-02-29 Thread Warren Samples

On 02/29/2016 07:06 PM, Glen Bojsza wrote:

What I am trying to do is within a LC application

1. put field "mytest" into URL "binfile:~/race"

This creates a file called race in the ~/ directory.

The problem is that when you do a chmod +rw race the file is still
recognized as textedit file and NOT a UNIX executable.

When you look at a file created with LC and chmod  verses a file created
with textmate and chmod you can see the differences in the finder or get
info on both files and see the difference.



I understand the problem. What I am asking you is if creating a file 
using the shell function in LC instead of saving it directly from LC 
works. I can't tell from your response if you have tried it.
The first step would be to get the path of a file you know does what you 
want it to do. Then open a terminal and type:


cat /file-that-works > /file-that-works-new

then:

chmod +rx /file-that-works-new

Does this file do what you hope? If it does then the next step is to do 
the same thing using LiveCode's shell function. This should give the 
same result as using a terminal.


get shell("cat /file-that-works > /file-that-works3")
get shell("chmod +rx /file-that-works3")

We are attempting to bypass LiveCode's unfortunate desire to save 
everything as a text file and create a hard association with TextEdit in 
OS X.


I'm a little curious also about how you are telling TextMate to create 
and/or save the file. Are you explicitly telling it to create a shell 
script?



Warren

___
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: OT(ish): Selling software downloads - sales tax?

2016-03-18 Thread Warren Samples

On 03/17/2016 01:06 PM, Graham Samuel wrote:

I have been discussing the sale of a desktop product (developed with LC, 
obviously) with a colleague. We’re thinking of direct sales...He’s in the US

..sell a low volume of product purely as a download with no physical 
fulfilment...I am not sure about the US.


There is no sales tax charged for any online sales in the US except for 
sales to customers located within a state where the vendor has a 
physical office or point of sale. Your stateside partner probably knows 
this already. As far as software with no physical delivery goes, it 
could be considered several different ways which will vary from state to 
state but again you are only concerned with how the state where he is 
qualifies it. Ask your partner to contact the revenue department of the 
state in which he resides and ask them how to proceed. That would be the 
only state where you have any possible obligation and even then, 
depending on how your partnership/company is structured and how they 
consider this kind of product, you might not have any at all.



https://www.sba.gov/content/collecting-sales-tax-over-internet

http://biztaxlaw.about.com/od/businesstaxes/f/onlinesalestax.htm

http://www.inc.com/articles/2003/10/salestax.html

Good luck!

Warren

___
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: Indy Licensing

2016-04-13 Thread Warren Samples

On 04/13/2016 12:26 PM, John Dixon wrote:

I am surprised that this list has not been flooded with questions and 
complaints...



Have you been away?

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

2016-05-05 Thread Warren Samples

On 05/04/2016 09:12 AM, Peter TB Brett wrote:

Dear list members,

We are pleased to announce the release of LiveCode 8.0.0, the first
stable release of LiveCode 8.



I'm running openSUSE Leap 42.1 here and finding that Livecode 8 will not 
launch. The installer worked properly. Launching LiveCode displays the 
splashscreen followed either by a rapid crash (IDE itself never 
displays) or a permanent hang at the splashscreen. Running it from the 
command line results in this:


"Use of deprecated SAXv1 function setDocumentLocator
*** Error in 
`/home/warren/.runrev/components/livecodecommunity-8.0.0.x86_64/livecodecommunity.x86_64': 
free(): invalid next size (fast): 0x03d3b820 ***" at the top of 
the full backtrace.


I had been running openSUSE 13.2 until recently and hadn't had this kind 
of difficulty with the dps and the RC of version 8. Under Leap, however, 
I get this same undesired behavior with the  v8 RC. LC versions 6 and 7 
work fine.


Deleting prefs and licenses has no effect.

Any thoughts on what I might be able to install to correct this? (Or, 
what LiveCode might be expecting to find which may or may not be 
available for installation in my distro...)


Warren

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

2016-05-06 Thread Warren Samples

On 05/05/2016 04:55 PM, Warren Samples wrote:


I'm running openSUSE Leap 42.1 here and finding that Livecode 8 will not
launch. The installer worked properly. Launching LiveCode displays the
splashscreen followed either by a rapid crash (IDE itself never
displays) or a permanent hang at the splashscreen. Running it from the
command line results in this:

"Use of deprecated SAXv1 function setDocumentLocator
*** Error in
`/home/warren/.runrev/components/livecodecommunity-8.0.0.x86_64/livecodecommunity.x86_64':
free(): invalid next size (fast): 0x03d3b820 ***" at the top of
the full backtrace.

I had been running openSUSE 13.2 until recently and hadn't had this kind
of difficulty with the dps and the RC of version 8. Under Leap, however,
I get this same undesired behavior with the  v8 RC. LC versions 6 and 7
work fine.




I spoke too soon :( Earlier versions are launching but they crash when 
selecting items from the top row of the menu bar. This has the same 
appearance of -- maybe the same underlying cause? -- an issue some of us 
had had with early versions of 64bit Linux builds (in case that helps!).


Warren

___
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: Running Node (or any unix cmd line program) from Shell from a LC Stack

2016-05-08 Thread Warren Samples

On 05/08/2016 04:07 PM, Sannyasin Brahmanathaswami wrote:

It's something about LC now knowing that I have node installed when invoked via 
shell

BR



Compare what you get when you run 'echo $PATH' in a terminal to what you 
get when you run it in LiveCode using shell(). Make sure the directory 
that contains whatever executable you might be running is installed in 
or linked in a directory that is in the $PATH returned by LiveCode's 
shell function. It would appear that it isn't in this case. You can 
further test by running 'which [command]' in a terminal and see if it's 
located in one of the directories that 'put shell("echo $PATH")' 
returns. It's not about which shell (executable), it's about the env and 
the $PATH.


Good luck!

Warren

___
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 8.1.0 DP 2

2016-06-30 Thread Warren Samples

On 06/30/2016 11:02 AM, Richmond wrote:

Still waiting (64-bit, Linux) for the Dictionary.

Richmond.



I understand your frustration, Richmond. I can't open LiveCode on my 
Linux machine running the current release of openSUSE (Leap). I can, 
however, run it under different release versions of openSUSE and have it 
open right now in a virtual machine running openSUSE Tumbleweed. The 
dictionary seems to work just fine. I have seen from your previous 
discussion of this problem that you've been willing to go to some 
lengths to get a working dictionary and I salute your perseverance. Have 
you ever tried opening LiveCode from the command line and selecting the 
dictionary to see if it gives you any useful messages?

When I do that it gives me this:

"[0630/121025:ERROR:browser_main_loop.cc(203)] Running without the SUID 
sandbox! See 
https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for 
more information on developing with the sandbox on."


Despite this message, the dictionary does open and display content. It's 
possible you'll get some other message which might be useful.


What happens if you put a browser on a card, assign it a URL and select 
the LC browse tool? Does it display content as expected?


Warren

___
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 8.1.0 DP 2

2016-06-30 Thread Warren Samples

On 06/30/2016 03:10 PM, Richard Gaskin wrote:

Warren Samples wrote:

 > I can't open LiveCode on my Linux machine running the current release
 > of openSUSE (Leap). I can, however, run it under different release
 > versions of openSUSE and have it open right now in a virtual machine
 > running openSUSE Tumbleweed. The dictionary seems to work just fine.

Good to know the Dictionary works there, but let's explore your other
SUSE versions and see if we can get the boot issue resolved.

Bryan Lunduke works for SUSE, and recently wrote a very enthusiastic
review of LC 8 after running it on SUSE and Elementary:
<http://www.networkworld.com/article/3079523/application-development/review-livecode-8-is-freaking-incredible.html>


Have you run LC with ldd to see if it's unable to find an expected package?



Richard,

Yes, I saw the article and noticed he had tried it under openSUSE. He 
doesn't say in the article which version he used for his review, but he 
has mentioned elsewhere that he prefers a rolling release and uses 
Tumbleweed.


ldd doesn't show anything missing. Getting LiveCode to run under 
Tumbleweed requires no head scratching or additional installation of 
libs, using the official installation DVD and as well the geckoLinux 
spin (rolling version) in both the XFCE and Budgie flavors.


There's a thread on the dev list with the subject "LiveCode fails to 
open in openSUSE Leap".



Warren

___
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 8.1.0 DP 2

2016-07-01 Thread Warren Samples

On 07/01/2016 10:00 AM, Richard Gaskin wrote:

Warren Samples wrote:

ldd doesn't show anything missing. Getting LiveCode to run under
Tumbleweed requires no head scratching or additional installation of
libs, using the official installation DVD and as well the geckoLinux
spin (rolling version) in both the XFCE and Budgie flavors.

There's a thread on the dev list with the subject "LiveCode fails to
open in openSUSE Leap".


Searching for that string gave me zero results, and searching for
"OpenSUSE" brought up many old threads.

URL?




I follow the lists locally, in my email client, so I can't provide you a 
URL. The thread was started on 6-23 on the LiveCode Developer List. Here 
is the content of the original post:


---(start quote)---

The 64 bit LiveCode IDE fails to open for me under openSUSE Leap 42.1. 
It was previously working under openSUSE versions 12.x and 13.x. While 
there was a period when it failed under Tumbleweed (rolling release), it 
works in at least the last two snapshots. Simple standalones work as do 
simple LC Server scripts.


The first few times I tried, the LiveCode splash screen hanged while 
loading the menu bar (the last text displayed) and the process had to be 
killed. Now the splash screen disappears after less than a second.


Here is the tail of the livecode_tools_log:
 Loading Script Editor...
Enter Script Editor Initialisation
Leave Script Editor Initialisation
Loading User Icon Libraries...
Enter User Libraries Initialisation
Leave User Libraries Initialisation
Loading Error Management...
Enter Errors Initialisation
Leave Errors Initialisation
Loading Menu Bar...
Enter Menus Initialisation
  Trying to get the platform
  Linux

Starting LiveCode from the command line returns this error:
"Error in 
`/home/warren/.runrev/components/livecodecommunity-8.0.2-rc-2.x86_64/livecodecommunity.x86_64': 
free(): invalid next size (fast): 0x04e84a80"


and sends this to stderr:
"Use of deprecated SAXv1 function setDocumentLocator
Got SIGIOT"

It's strange that SUSE built on older and newer libs both work while the 
current "main" version does not. Do these errors reveal any useful clues 
as to what might be done to get it working?


The shell prints a backtrace. Would this be helpful to see? Running 
LiveCode through strace using some particular option?


--- (end quote)---

To clarify the last sentence of the first paragraph of the original 
(copied here from the dev list) post, simple standalones and LiveCode 
Server do work under Leap, it's the IDE that is the problem.


openSUSE is quietly one of the more popular distros and Leap is the 
current "standard" release so it might be a good thing to get this 
figured out. I wonder what LiveCode does just after it gets the 
platform, as it finishes up the menus initialization. I posted the shell 
backtrace at:


<http://warren.ws/lc_cli_output.txt>

It should be noted that if I run the command several times, the 
backtrace will not consistently end with the same lines; sometimes 
aborting with more lines and sometimes fewer.


Thank you for looking at this :)

Warren


___
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 8.1.0 DP 2

2016-07-01 Thread Warren Samples

On 07/01/2016 11:53 AM, Richard Gaskin wrote:

Warren Samples wrote:

 > The 64 bit LiveCode IDE fails to open for me under openSUSE Leap
 > 42.1.
...
 > The shell prints a backtrace. Would this be helpful to see? Running
 > LiveCode through strace using some particular option?
 >
 > --- (end quote)---
 >
 > To clarify the last sentence of the first paragraph of the original
 > (copied here from the dev list) post, simple standalones and LiveCode
 > Server do work under Leap, it's the IDE that is the problem.

Good sleuthing so far.  Narrowing it down to the IDE is especially
useful, as it suggests something that may eventually affect standalones,
since of course the IDE is just a collection of stacks itself.

I'm not familiar with backtrace, but the output appears to be very
different from strace.  Have you run strace?  To get going I wouldn't
worry about flags, even the defaults would likely yield useful info.

What's the bug report ID for this?  Maybe the logs should be included as
attachments there.http://warren.ws/strace-LC-output.txt



Richard,

I never filed a bug report. I reported my problem in a reply to another 
release announcement fairly recently and didn't receive any comment from 
any of the devs that have been generously participating on this list so 
I (perhaps stupidly and/or unfairly) took that to mean there was little 
interest in tackling it. Linux is not anything like a single target and 
we've all seen the dreaded "we can't reproduce it here" response that 
has to be as frustrating to the devs as it is to those of us who have 
the problem :D I'm grateful for the interest you and Mark Wieder have 
shown. I'm not averse to filing or contributing to bug reports and will 
do so with your encouragement.


The strace output, run without any flags, is 2.4 MB and 27,000+ lines. 
It means nothing to me, dilettante that I am. You can find it here: 
<http://warren.ws/strace-LC-output.txt> If you can think of any flags 
which might make it more manageable or useful, I will be happy to run it 
again.


Warren

___
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 8.1.0 DP 2

2016-07-01 Thread Warren Samples

On 07/01/2016 02:49 PM, Richard Gaskin wrote:


I would suggest filing the report.  If anyone complains, I'll take the
heat. :)

It may be that this is something we'll fix as a community effort, but at
least having it in the bug DB will give us a central place to share
notes and logs as we work toward a resolution.

Please let me know the report ID/URL when you post it so I can add
myself to the CC list and review the info there to see if I can help
triage it.

Thanks -



Thank you, Richard.

Bug 17938 LiveCode fails to open in openSUSE Leap 42.1



___
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: Intel QSV H.264 codec for AVFoundation and DirectShow

2016-07-04 Thread Warren Samples

On 07/04/2016 04:43 AM, Tiemo Hollmann TB wrote:

The x264 codec is a opensource codec and as far as I understand it is not
preinstalled on any system and at least on my Mac a x264 video can't be
played (perhaps there is a chance to manually install it, what I would like
to avoid for my customers)



Tiemo,

x264 is only an encoder and does not need to be installed on a client 
machine to enable playback if that's your concern. Whether or not the 
videos are compatible will depend on thoughtful selection of encoding 
options. In this regard x264 offers almost unlimited opportunity to 
experiment (glass half full) and choose badly (glass half empty). 
 The Intel encoder has the 
advantage of using the gpu, where applicable, to accelerate encoding. If 
you've found something that works, it wouldn't be a bad decision to have 
a celebratory beverage of your choice and think about something else!


Warren

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

2016-07-07 Thread Warren Samples

On 07/07/2016 07:35 AM, Sri wrote:

I am reading this thread on the web and I find two other threads (by Ray
Horsley-2) entangled with this one. What is going on? Do others see this?

Regards,
Sri





I see it in my current email client. There are several people on the 
list wose habit is to start new topics by replying to a message in a 
current thread rather than starting a new thread by posting a "new" 
message. Whether or not this results in disorganization or other issues 
is dependent on how (which email client or web interface) you view the 
list. Many email clients sort lists by subject rather than by the 
message ID in the headers, so not everybody is affected. I mentioned 
this once not too long ago and it didn't generate much response in 
general nor a positive response from those who do it.


Warren


___
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: SVG Editors, anyone?

2016-08-05 Thread Warren Samples

On 08/05/2016 09:57 AM, Graham Samuel wrote:

Having got very interested in LC widgets at the conference, I’m about to start 
experimenting, but I need to create some SVG graphics based on my own designs. 
I can’t afford Illustrator - has anyone got any recommendations for a free, or 
at any rate, not very expensive, editor suitable for making 
LC-widget-compatible graphics?

TIA

Graham



One option:

https://inkscape.org/en/


___
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] lcb-mode v0.1.1: Emacs major mode for LCB source code

2016-08-16 Thread Warren Samples

On 08/16/2016 08:44 AM, Richard Gaskin wrote:

Peter TB Brett wrote:

  Emacs


vim




Whooboy! Fun time's a startin'!

___
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: [TOT] Totally Off . . .

2016-08-26 Thread Warren Samples

On 08/23/2016 05:49 AM, Richmond wrote:

My real book (The Complete . . . ) has labelled bookmarks going back to
when I was gifted that book in 1999 at the UAE University in Al Ain,
UAE, when they, overnight, trashed all their Mac computers and replaced
them with IBM compats running Windows Me, and I had to get to grips with
Toolbook, and remake lots and lots of HC stack as TB programs.

These bookmarks are useful as they stop me having to spend donkey's ages
trawling again.

This would not really be possible with a pdf document.



That may depend on your pdf reader and how it interacts with the 
particular pdf document. I downloaded the hypercard handbook from Lagi's 
link and in KDE's default pdf reader, Okular, I can search text and 
select and copy it and also set bookmarks. Works really well.


Warren

___
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


widget inclusion in standalones 8.0.2

2016-09-06 Thread Warren Samples
I've looked through a number of release notes but haven't been able to 
find this information. Is it expected that we have to manually select 
widgets for inclusion when building standalones in 8.0.2?


I'm running Linux, and I note that this happens automatically in 8.1 RC2.

Warren

___
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: widget inclusion in standalones 8.0.2

2016-09-06 Thread Warren Samples

On 09/06/2016 09:29 AM, Peter TB Brett wrote:



On 06/09/2016 14:22, Warren Samples wrote:

I've looked through a number of release notes but haven't been able to
find this information. Is it expected that we have to manually select
widgets for inclusion when building standalones in 8.0.2?


Hi Warren,

Yes, just like in LiveCode 8.0.0, you will need to manually choose
widget inclusions in 8.0.2.

Best regards,

Peter




Thank you! I feel better now :D

Warren

___
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: 7.0 dp 2 still not much cop on Linux

2014-04-10 Thread Warren Samples

On 04/10/2014 12:18 PM, Richmond wrote:

The problem I pointed out in DP1 is still there with the dictionary:

Not possible to type into the search field of the Dictionary.

UbuntuStudio 14.04

Richmond.



Not that it helps solve the problem you're having, but I don't have this 
issue here on my system running openSUSE, LC 7.0-dp1.


Warren

___
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: 6.6.1 no bueno

2014-04-15 Thread Warren Samples

On 04/14/2014 10:57 AM, Bob Sneidar wrote:

Hi all.

Release 6.6.1 is no bueno. Try this: Launch 6.6.1. Open a new stack. Drag a 
combo box into the stack. Double click the combo box to get properties. Do you 
get the property inspector? I don’t.

Now do the same thing, only this time, drag a regular push button into the new 
stack and double click. NOW you get the property inspector, and dragging a new 
combo box and double clicking it will give you the property inspector as well.

Seems if the combo box is the first thing you get properties for after a 
launch, you will not get the properties inspector at all for anything, but if 
you get properties for something else first, the property inspector seems to 
work fine.

If you do this after you have been running for a while, chances are you will 
have already gotten the property inspector for something else and the test will 
be no good. I have already removed all the plugins so that is not an issue.

If others can reproduce this, I will submit a bug report. I am running 
Mavericks 10.9.2 on a 15” Macbook Pro.

Bob




I see this here in Linux, too. (openSUSE)

Warren


___
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: 6.6.1 no bueno

2014-04-15 Thread Warren Samples

On 04/15/2014 09:58 AM, Bob Sneidar wrote:

Seems only a few people seeing this. Might be a corrupted prefs issue. Also, if 
you are running any add-on that does properties, that may be getting around it.

Bob



Renamed the Plugins and preferences folders and this issue persists. (Linux)

Warren

___
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: Backdrop in in 6.7.0 dp2 under Lubuntu Linux 13.10

2014-04-26 Thread Warren Samples

On 04/26/2014 12:20 PM, Mark Wieder wrote:

Nonetheless, backdrops are working properly in 6.7-dp2 on linux mint
14, and there are no backdrops in dp1, so it does look like the
problem is fixed.



Also seems to be working fine here in both 6.6.2-rc2 and 6.7.0-dp2 
running openSUSE with KDE4/Kwin.


Warren

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

2014-05-11 Thread Warren Samples

On 05/11/2014 10:31 PM, Alain Farmer wrote:

Hello,
I am using version 6.1.0-rc-1 (Desktop)

None of the unicode stuff works [for me]:
* set the useUnicode to true
* the unicodeText of field
* the unicodeFormattedText of field
No error messages; just empty.
Can anyone give me a clue as to what to do ?
Thanks,
Alain





Is this really the version you're using? That version is almost a year 
old and has been superseded by several newer versions.


Is this stuff that works for you in other versions of LiveCode but not 
in the version you want to use now?


Warren

___
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: 7.0.0 dp 5

2014-05-25 Thread Warren Samples

On 05/25/2014 10:29 AM, Richmond wrote:

Problems:

1. The menubar (Linux) states it it dp 4.

2. Still unable to put an insertion point into the search fields in
the Dictionary and RevOnline.

3. Double-clicking on a control in the toolbar does nothing.

4. Unable to switch back and forth between Browse and Point except via
the menubar.

These problems were all there in dp 3

Effectively unusable at the moment.

Richmond.




It shows the same build number in the "About" screen. You have to wonder 
exactly where the mixup is.


As before, I don't find any of the problems running this in openSUSE 
that you have there. It is possible these are system isolated problems 
or perhaps distro specific. You should consider filing a bug report with 
all system specific information as you can imagine might be relevant.


To the devs -- it seems with recent changes some Linux users are having 
new issues with dependencies where they had previously been running 
LiveCode without problems. Might it be possible to provide a script 
which checks for all known requirements as well as any suggested libs 
(making sure to distinguish 32 and 64 bit versions as necessary!) and 
lists them as installed or missing, in a format a little less cryptic 
than running 'ldd'? Something like this could save a lot of head 
scratching and frustration! I don't know that the problems Richmond is 
experiencing are related to this sort of problem, but in many other 
reported instances of troubles, being able to easily and definitively 
identify missing libs would have been an enormous boon.


Warren


___
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: 7.0.0 dp 5

2014-05-25 Thread Warren Samples

On 05/25/2014 11:52 AM, Mark Wieder wrote:

or wait for an actual release announcement.



Mark,

If we assume this is a mislabeled dp4, I suppose it's possible there are 
problems resolved in the actual dp5 that we can't experience just yet, 
but the issues he's talking about here have plagued him for a few 
releases and do not exist on my system. This is troublesome from many 
perspectives. This, along with other issues experience by Linux users 
lately, does suggest a simple solution to identify dependency issues for 
Linux would be highly useful.


Release announcements have not been entirely consistent, with at least 
one recent release being announced on one list much earlier than on the 
other, and I am in agreement with those who think RunRev needs to find a 
better solution to pre-staging than the current implementation if we 
need to be cautious about downloading what are publicly linked versions.


I have no interest whatsoever in the headaches of attempting to build 
from source, thank you very much.


Warren

___
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: 7.0.0 dp 5

2014-05-25 Thread Warren Samples

On 05/25/2014 01:58 PM, Mark Wieder wrote:

...which was also not announced...



With so many parallel versions and more than one place to track 
announcements, it's hard to be sure exactly what is current. The fact 
that there is a public link on the LiveCode site to downloads of 
versions which haven't been announced but are available - fully vetted 
or not - makes it silly to worry someone about downloading them. People 
who might have no idea about these lists and any official release 
announcements are being directed to these builds by RunRev.


Warren

___
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: 7.0.0 dp 5

2014-05-25 Thread Warren Samples

On 05/25/2014 10:20 PM, Mark Wieder wrote:

Warren-

Sunday, May 25, 2014, 12:31:34 PM, you wrote:


With so many parallel versions and more than one place to track
announcements, it's hard to be sure exactly what is current.


Ah, ok... maybe I missed something here. You're saying there was a
version that was released but wasn't announced on this list? That's a
bit disconcerting - which version was that?


The fact that there is a public link on the LiveCode site to
downloads of versions which haven't been announced but are available
- fully vetted or not - makes it silly to worry someone about
downloading them.


I'm not particularly worried about that. I just think it's silly to
download an unreleased version and then complain about it.


People who might have no idea about these lists and any official
release announcements are being directed to these builds by RunRev.


My confusion again, sorry. So RunRev is directing people to download
these versions? I missed that announcement. Maybe I should slog my way
through the Kevin thing after all.




There was recently a version announced on one list which I did not see 
announced on the other. It struck me as odd. I don't remember which and 
I'm sorry but I don't feel inspired to wade through the lists to figure 
it out. I wouldn't suggest it was anything more than an accidental 
oversight, btw.


Again, it doesn't matter if it's been announced. If it's placed in a 
publicly available download location, alongside other releases, it is 
"released". These are accessed from a plainly available link on the 
LiveCode .com website. The link is labeled "View All LiveCode 
Downloads". These unannounced versions have release dates and release 
notes. There is nothing to indicate these are merely "almost releases" 
and "not to be downloaded until some future date".


The staging process is missing a step and it's not the fault of the 
downloaders.


Warren

___
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: 7.0.0 dp 5

2014-05-25 Thread Warren Samples

On 05/25/2014 11:35 PM, J. Landman Gay wrote:

That's what the "dp" and "rc" designations are for, but it would probably be 
more clear if there was a statement on the page explaining what those mean, along with appropriate 
caveats.  Final releases should be clearly marked as stable.



We're discussing the difference between releases which have been 
announced and versions which have been uploaded to the release directory 
before they have actually been given all final checks, not the 
difference between dp, rc and gm versions.


The process which sometimes results in improperly functioning builds or 
installers being publicly available prior to their actual finalization 
and announcement has been discussed in the past and explained by the 
devs, who have suggested that the system was being looked at with an eye 
to fixing this.


But, I agree that a note on the download page, along the lines you 
suggest, would be a good idea :)


Warren

___
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: 7.0.0 dp 5

2014-05-26 Thread Warren Samples

On 05/26/2014 12:53 AM, Mark Wieder wrote:

That's what I thought. This urban legend has been batted around
lately.


Um, what is it you thought? I didn't say "I once heard somebody say 
their friend's uncle told them about a neighbor..." urban legend style. 
It was my own (recent) observation. I noticed a release announcement on 
one list but not the other. It's not impossible that I missed it, but I 
did look for it at the time. If I missed it, I will not have been the 
only one who has overlooked an announcement for one reason or another.


In any event, depending on these lists to prevent people from 
downloading publicly available software "until it's time" is wildly 
irresponsible and scolding or mocking someone for downloading such 
software is ridiculous. People regularly overlook or miss announcements 
and others might not be downloading immediately from the announcements 
but prefer to go to the download directory at some other convenient 
time. I'm pretty sure there is also hope that curious people are finding 
and downloading LiveCode with the expectation that they'll join these 
lists sometime after rather than vice versa. While it's possible to say 
many of us should know better, there are groups of people who can't and 
others for whom it may not be convenient.


The system is not in any way reliable, nor particularly defensible given 
there are any number of reasons why someone may encounter one of these 
not-ready-for-release releases.


Warren



___
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: RELEASE LiveCode 6.6.2

2014-06-07 Thread Warren Samples

On 06/07/2014 12:58 PM, Mike Kerner wrote:

I'm getting an error that the file isn't found.



That error is typically what you get trying to run in a 64 bit 
environment without the 32 bit libs installed. Do you have other 
versions of LiveCode running on this particular computer?


Warren

___
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: Nested Repeat loops

2014-06-20 Thread Warren Samples

On 06/20/2014 08:18 PM, Peter Haworth wrote:

Wondering if anyone has an elegant way of exiting all the way out of a set
of nested repeat loops., e.g:

repeat for...
repeat for...
   repeat for
  repeat for
 if . then 
  end repeat
  
   end repeat
   
end repeat

end repeat

Right now, I set a flag to true when the exit condition is met then test it
in the  stuff.  Works fine but feels a little kludgy.

Pete


Maybe I've completely failed to understand what it is you don't like 
about your current method, but...


Would it be practical and feel cleaner to wrap your nested repeats 
inside a command, say,'doLoop'. When your 'if' condition in the nth 
repeat is met, you 'exit doLoop'. You only have to reference and check a 
condition once this way and you cleanly exit the entire nested structure 
exactly when and where the condition is found.


A useless example that works:

Create a card with four fields and a button. Put this script in the button:


 on mouseUp
   doLoop
   answer "exited loop"
end mouseUp

on doLoop
   repeat 10 times
  add 1 to field 1
  repeat 10 times
 add 1 to field 2
 repeat 10 times
add 1 to field 3
repeat 10 times
   if field 3 is 3 then exit doLoop
   add 1 to field 4
end repeat
 end repeat
  end repeat
   end repeat
end doLoop

Warren

___
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: LiveCodeServer - Prints shebang line

2014-07-15 Thread Warren Samples

On 07/15/2014 08:46 PM, Monte Goulding wrote:

Hi Peter

One of the contributions I made just prior to christmas was to handle the shebang 
and basically put the script into 



We are pleased to announce the release of LiveCode 6.6.

Release Contents
...
*  '#!' now recognised by server

___
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: SHELL text encoding OS X?

2014-07-26 Thread Warren Samples

On 07/26/2014 07:44 AM, Klaus major-k wrote:

Hi friends,

i am currently using some shell commands, mainly "mdfind", to get a list of 
files.
But german UMLAUTS etc. are not correctly displayed.

i thought the shell output would be UTF8, but unidecode(listoffiles) produces 
lots of glibberish 8-)
-> Grabber fuÃàr Anyone.rtf

should of course be:
-> Grabber für Anyone.rtf

This even happens with LC 7dp7, but shouldn't right?

Anyway, what can I do win LC 6.6.2?
Any hints very appreciated!


Best

Klaus
--




In LiveCode 7 try something like:

put textDecode(shell("myCommand"),"utf-8")

Works for me retrieving data from shell in Linux.

Warren


___
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: SHELL text encoding OS X?

2014-07-26 Thread Warren Samples

On 07/26/2014 08:05 AM, Klaus major-k wrote:

thank you, but my question was:


>>Anyway, what can I do in LC 6.6.2?

;-)




You also wrote this:
"This even happens with LC 7dp7, but shouldn't right?"

so it seemed you might be interested in how it's supposed to work there.



___
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: [BUG][SHELL] Could Others Please Test This OS X/Linux

2014-09-30 Thread Warren Samples

On 09/30/2014 10:17 PM, Kay C Lan wrote:

Before I go ahead and submit a bug report I'd like others to test and
report their findings.



openSUSE, LiveCode 6.6.2

Redirected the output to files. Results are identical, except for the 
extra file created by running the initial 'find $PWD > pwdtest.txt'. 
91,426 vs. 91,427.


Running:

put shell("find $PWD") into tStore
put the number of lines of tStore

is also the same except for the second file created in the previous step 
and a couple of other files created by the system as it tracks recently 
used applications and documents. (This output was also stored to a file 
and all files were compared using a diff tool.)


Warren

___
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: [BUG][SHELL] Could Others Please Test This OS X/Linux

2014-10-01 Thread Warren Samples

On 10/01/2014 08:09 AM, Kay C Lan wrote:

But then why is this not the case
with Linux?



For Linux users who have installed "single user", in their HOME 
directory, the defaultfolder is their HOME directory.. Those who have 
installed for all users, in /opt, will run into these kinds of issues, 
at least sometimes, perhaps depending on what you're attempting to do 
with shell(). The defaultfolder in an /opt install is 
"/opt/runrev/" and 'put shell("find $PWD")' returns file not 
found errors.


Warren

___
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: Volume Size

2014-10-14 Thread Warren Samples

On 10/14/2014 04:55 AM, JB wrote:

I can get a file size by listing the detailed files and I can
get a list of all drives and volumes that are mounted by
using the volumes function.  Is there a way to get the
size of a drive or volume that is returned by using the
volumes function?

John Balgenorth



If 'volumes' doesn't work, maybe you can try

get shell("df -h")

You can try 'put shell("df -h")' in the message box to see if it gives 
you a result. If the command is still installed in OS X, you'll get 
information on disc size and usage.


Warren


___
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: Volume Size

2014-10-14 Thread Warren Samples

On 10/14/2014 10:37 PM, JB wrote:

The dictionary states,

This function always returns empty on Unix systems.

So, is Linux a Unix OS?




For LiveCode purposes, yes. The dictionary does indicated, by omission 
of the penguin icon, that 'volumes()' is not supported under Linux. I 
find the 'diskSize()' returns an unexpected and useless result here 
under openSUSE, despite the dictionary's indication that it is supported 
under Linux. In Linux you should be able to use shell("df").


Warren

___
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: button width on different platforms

2017-01-04 Thread Warren Samples

On 01/04/2017 01:05 PM, Matt Maier wrote:

I've got some buttons with text in them. On Windows (where I develop) they
look fine. On Linux the buttons are a little bit narrower so the text is
cut off.

Anyone handled a similar problem?



Matt,

I would suggest dynamically  setting the width of the buttons to the 
formattedWidth of the buttons is the most correct thing to do. You may 
also set the height of the buttons the same way. You will find the 
actual space needed changes with font selection.


I have suggested always setting the height of text fields the same way 
but for some reason that doesn't seem to go over very well. Personally 
I'm not a big fan of fixed height text fields which cut off the 
contained text. This is very common to see in Linux with LiveCode things 
developed on other platforms, including the IDE.


In any event, maybe the worst approach, and also the most common, is to 
start dictating the font selection and size. You can never know what 
reasons the user may have for using a particular font or size.


Dynamic layout is really the best way to go whenever possible. Ask a web 
developer.



Warren

___
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: revFontLoad, Unicode and Windows post-XP ?

2013-05-29 Thread Warren Samples

On 05/29/2013 07:09 AM, Richmond wrote:


Those chars that are in the standard Unicode places are substituted for
a standard Windows-native font,
but those in the PPU area are left as they are, kerning rules in either
the font or inwith Livecode itslef are over-ridden by Windows; something
that does not happen with Macintosh, Linux or Windows XP.

 From my point of view, at least, this is a "show stopper" for Windows
V, 7 and 8.

I have been digging around in the LC Documentation and found
'revFontLoad' which looks
as though it might be a possibility, except that it seems to rely on
absolute paths, when one cannot rely
on an end-user putting one's homegrown font exactly where one wants it
to be.

I would be grateful if anybody who has run up against this or similar
problems and has found a way to circumvent them could let me (and the
use-list!) know of how they coped with this.

Richmond.



Richmond, you've been trying get help with this for some time now and I 
don't recall seeing anyone respond with anything really helpful for you. 
I suspect that it's because your project and your problem are rather 
specialized. What happens if you use your font in some other app? Does 
it work as you would expect it to in other apps or do you get the same 
substitutions? Is it a LiveCode issue or maybe a Windows issue? Does 
using revFontLoad resolve the problem on a test machine?


If you install the font using a script, you should be able to control 
where it goes. Why not out install it where Windows expects user 
installed fonts to be? Perhaps you could find a a utility to make a 
proper Windows installer and have it put your font where it needs to go?


Good luck!

Warren



___
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: How Long is a Sound [Without Using Quicktime]?

2013-05-30 Thread Warren Samples

On 05/30/2013 02:36 PM, Ray Horsley wrote:

I know this is available with QuickTime using the CurrentTime and TimeScale 
properties but if the user doesn't have QuickTime installed I'd hate to be 
stuck.  Are there any other ways to get the duration of an audio file?
___



http://mediainfo.sourceforge.net/en


___
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: dealing with these *huge* pdf files generated

2013-06-01 Thread Warren Samples

On 05/31/2013 06:33 PM, Dr. Hawkins wrote:

I am ending up with *huge* pdf files.

I'm seeing Acrobat 10  pro mac reduce files by over 90%, and preview
reduce them by about 80%.

These insanely large files bog up the printer, and are bigger than the
court allows.

Is there some sane way to produce ssmaller files from within hypercard?




Does this help at all?

http://www.chlab.ch/blog/archives/mac_os_x/compress-pdf-files-with-quartz-filters-from-shell

In 10.6 (the latest I have available) the file 
"/System/Library/Printers/Libraries/quartzfilter" doesn't exist but 
there is a file "/System/Library/Printers/Libraries/convert" which will 
output a pdf although I don't know if it automatically applies 
optimizations.


Good luck!

Warren

___
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: Where to write application data

2013-06-05 Thread Warren Samples

On 06/05/2013 09:40 PM, Devin Asay wrote:

For Linux: No idea!



In general in Linux, user specific data will go into an invisible 
directory with the application name, in the user's home directory. So, 
you can do something like


put tData into URL "file:~/.myapp/the_data_file"

remembering that the tilde "~" is already a shortcut to a directory.

Warren

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

2013-06-14 Thread Warren Samples

On 06/14/2013 04:12 PM, Peter Haworth wrote:

do the forums have RSS feeds?



There is one feed for the whole forum:

http://forums.runrev.com/phpBB2/feed.php

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

2013-06-14 Thread Warren Samples

On 06/14/2013 04:12 PM, Peter Haworth wrote:

  do the forums have RSS feeds?



There is also a subscribe by email feature including digest options.

You can subscribe to individual forums at the bottom of each forum page 
or choose digest options at


http://forums.runrev.com/phpBB2/ucp.php?i=201

You can also subscribe to individual topics at the bottom of each topic 
page.


Warren




___
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: "One Year Free"

2013-06-20 Thread Warren Samples

On 06/20/2013 03:34 PM, william humphrey wrote:

It clearly says one year of updates.



It also says this:

"Please note this is a subscription license, which will automatically 
renew annually. You may cancel it at any time. If you cancel your access 
to LiveCode will revert to the Open Source Community Edition and you 
will no longer be able to build closed source apps."


http://livecode.com/store/livecode/livecode-commercial

___
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: User's language

2013-07-01 Thread Warren Samples

On 07/01/2013 01:43 PM, Scott Rossi wrote:

You're welcome to try the language stack on my site.  In your message box:
   go url
"http://www.tactilemedia.com/site_files/downloads/language_specs.livecode";


Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




Scott,

I see this does not include a method for Linux. Tsk, tsk. Perhaps users 
of other distros can verify this works (or doesn't!) under their 
favorite flavor, but I can confirm that under Mint and openSUSE LiveCode 
places this information into a global variable called $LANG which can be 
directly called.


For example, 'get $LANG' or 'put $LANG'.

All sorts of interesting stuff revealed by pressing the "V" button in 
the Message Box.


Warren


___
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: Global variable for user name

2013-07-02 Thread Warren Samples

On 07/02/2013 11:46 AM, Peter Haworth wrote:

OSX = $USER
Windows=$USERNAME
Linux=???

Pete
lcSQL Software 



$USER


___
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: Global variable for user name

2013-07-02 Thread Warren Samples

On 07/02/2013 01:48 PM, Mark Wieder wrote:

Richard Gaskin  writes:


Once again, in a world increasingly dominated by POSIX systems,
Microsoft continues to marginalize itself with non-standard ways of
doing things. ;)


...and drags their partners down with them...

http://qz.com/99887/if-windows-phone-continues-to-fail-nokia-has-no-plan-b/




I don't know that this is reason for any great glee. I for one am sick 
to death of all the usability and performance issues I have with my 
Samsung/Android phone and am looking forward to the Nokia 925.


Warren

___
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: Fonts look awful in standalones built in v5.5+ -vs- v4.0

2013-07-06 Thread Warren Samples

On 06/25/2013 09:52 AM, Roger Eller wrote:

I tried setting the textfont of this stack to the textfont of stack "home".
Still it returned empty when I put the textFont of any field in my stack.

I have users on XP and 7, so I think I will just loop through all the
fields in preOpenStack and set the appropriate textFont.  I'll report back
if it still looks weird.

XP's system font is "Tahoma".
http://support.microsoft.com/kb/823033

Win7's system font is "Segoe UI".
http://msdn.microsoft.com/en-us/library/windows/desktop/aa511282.aspx

~Roger


On Mon, Jun 24, 2013 at 10:26 PM, J. Landman Gay
wrote:


On 6/24/13 9:14 PM, Roger Eller wrote:


This isn't for mobile. I'm seeing this difference on the same machine.
It's
just IDE -vs- standalone for Windows.



Roger, what did your users find? I find that one needs to explicitly set 
the text font and the text size in order to get readable text in a 
standalone in Windows 7 and 8. Of course, setting the text size means 
users' system settings, which may reflect their own needs and 
preferences, are overridden. I don't believe this is an acceptable 
default practice.


I have filed a bug, which seems to have not generated any interest from 
the devs, with a stack and a screenshot of that stack in the IDE 
alongside its built standalone, as well as the example Windows 
standalone. http://quality.runrev.com/show_bug.cgi?id=10995


Warren

___
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: 6.1 Installer Ubuntu

2013-07-07 Thread Warren Samples

On 07/07/2013 08:03 PM, Mike Kerner wrote:

That didn't work either.  On the desktop...it still won't open.



Have you successfully installed other LiveCode versions in this 
particular Ubuntu installation?


___
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


positioning stacks off screen in Linux

2013-07-12 Thread Warren Samples
One of the commonly suggested methods of hiding stacks is setting their 
location to something that places them out of the view window. This is 
not working correctly here under openSUSE/KDE/KWin. A stack's location 
is constrained to the available viewport unless it has been previously 
dragged and placed so that some part of it past the screen edge. Once 
that is done, a stack can be positioned anywhere outside the viewport 
until it is completely within it and we return to our original problem. 
In order for any part of a stack to be positioned outside the viewport, 
some part of it must already appear beyond a screen edge.


This does not happen under Windows. Do users of other Linux 
distros/DEs/window managers find this same behavior?


Warren

___
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: positioning stacks off screen in Linux

2013-07-12 Thread Warren Samples

On 07/12/2013 12:00 PM, Warren Samples wrote:

One of the commonly suggested methods of hiding stacks is setting their
location to something that places them out of the view window. This is
not working correctly here under openSUSE/KDE/KWin. A stack's location
is constrained to the available viewport unless it has been previously
dragged and placed so that some part of it past the screen edge. Once
that is done, a stack can be positioned anywhere outside the viewport
until it is completely within it and we return to our original problem.
In order for any part of a stack to be positioned outside the viewport,
some part of it must already appear beyond a screen edge.

This does not happen under Windows. Do users of other Linux
distros/DEs/window managers find this same behavior?

Warren



Trying this is Mint 9 in VirtualBox is even worse. Stacks cannot be 
moved completely out of view no matter what I try.


Anyone else?


___
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: positioning stacks off screen in Linux

2013-07-12 Thread Warren Samples

On 07/12/2013 07:32 PM, Mark Wieder wrote:

Warren-

Friday, July 12, 2013, 5:18:12 PM, you wrote:


Trying this is Mint 9 in VirtualBox is even worse. Stacks cannot be
moved completely out of view no matter what I try.



Anyone else?


Yep. Verified here on linux mint 14.




Thanks, Mark. I've filed this as a bug.

Warren


___
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: positioning stacks off screen in Linux

2013-07-13 Thread Warren Samples

On 07/13/2013 02:28 AM, Richmond wrote:

and I have a funny feeling that is what you want to happen.

Richmond.



No, hiding the stack is completely different from moving it to a 
location outside the visible display area. For most purposes they serve 
the same practical effect, but not necessarily all. At any rate, this is 
something that should, if possible, behave the same on all platforms in 
order to avoid confusion or unpleasant surprises.


Warren

___
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: positioning stacks off screen in Linux

2013-07-13 Thread Warren Samples

On 07/13/2013 10:53 AM, Richard Gaskin wrote:

But in the meantime, to keep your project moving forward, it can be
helpful to explore other options to get the same result.

What's happening in your setup that makes hiding the stack impractical?



I am curious about the possibility of scrolling or sliding multiple 
windows as a fixed layout which is wider than the available screen. Of 
course hiding and showing windows is an option, but that's a different 
concept which isn't necessarily ideal. It might prove an interesting 
option on smaller displays.


Warren

___
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: Genymotion Android emulator

2013-07-20 Thread Warren Samples

On 07/20/2013 12:59 PM, Richmond wrote:

On 07/20/2013 08:23 PM, Mark Wieder wrote:

Richmond-

Saturday, July 20, 2013, 10:02:38 AM, you wrote:


Setting the thing up was, inevitably, slightly difficult as,
inevitably, the setup instructions were slightly wrong (but that is
normal for Linux).

As I am about to install this thing next week, would you care to share
any insights about that process?



Well . . .

The first thing is to get VirtualBox sorted out on your system.

The second thing is that Genymotion looks for the SDK which is hard to
locate:

~/android-sdks/sdk  (where '~' is your Home folder),

don't let yourself be distracted by 'android-sdk-linux'

after that it goes "all funny" about something that is supposed to be in
the /etc/init.d folder, but isn't; so you have to do some fiddling around,
and quite how the thing worked because of my fiddling around I cannot
really say.

After that things seem comparatively straightforward, and I suspect the
best way to
get an Android standalone onto one of the devices is by uploading it to
some website
and then downloading it from inside the emulated device.

Unfortunately right now I've got a lot of "extraneous stuff" on my
plate, but I hope, come
Sunday night I will be able to upload some reasonably pretty pictures to
the Forum.

Richmond.



Apparently installation woes are a YMMV kind of thing. I just installed 
without any headscratching at all. Just clicked through the dialogs as 
they came up and I was all set and running.


Warren


___
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: Genymotion Android emulator

2013-07-20 Thread Warren Samples

On 07/20/2013 03:20 PM, Mark Wieder wrote:

That can easily depend on linux distros, especially where init.d comes
into play.



Well, yes. That could be a part of why YMMV :) I was just saying that my 
experience was completely without strangeness or difficulty, hoping to 
lend encouragement to anyone who might have been put off by Richmond's 
experience.


Warren

___
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: Genymotion Android emulator

2013-07-20 Thread Warren Samples

On 07/20/2013 04:55 PM, Richmond wrote:

"Richmond's experience" has been greatly exaggerated by Thee!



Thee or thou? Your post makes it sound like a universal Linux problem, 
using the term "inevitably". I don't know what to say about the 
instructions being wrong "(but that is normal for Linux)". I didn't read 
them. I just downloaded the installer and clicked away and "magically" 
everything worked, despite it being Linux.


One of the things that I find a little disappointing is the propensity 
for people to say on this list that there's a "linux" problem when they 
should say "I have a problem on my system". One of the reasons I tend to 
look into and respond to posts to this list about problems Linux users 
have is to help clarify when the issue is indeed a "linux" issue and 
when the issue might be local. Clarifying this can only help get at the 
root of a problem and hence a solution.


Further, I'm not interested in wasting time in the silly pursuit of 
convincing people to run Linux as their main OS, but we should be 
careful about not encouraging the exaggerated fear that Linux is just 
too much trouble to think about at all. This is a cross-platform 
developing environment and I think LiveCoders should be encouraged to 
keep it in mind as a viable platform for app deployment, and an 
"inevitably" hostile beast after all, to install for testing during 
development.


Warren

___
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: Genymotion Android emulator

2013-07-20 Thread Warren Samples

On 07/20/2013 05:48 PM, Warren Samples wrote:

and an "inevitably" hostile beast after all, to install for testing
during development



should, of course, read: "... and NOT an inevitably hostile beast..."

:D

___
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: Mac/WIndows ASCII characters

2013-08-17 Thread Warren Samples

On 08/17/2013 12:34 PM, Peter Haworth wrote:

hopefully there's an html equivalent of that.



http://www.html-entities.org/

___
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: Mac/WIndows ASCII characters

2013-08-18 Thread Warren Samples

On 08/17/2013 03:01 PM, Peter Haworth wrote:

Do you happen to know if all the entities mentioned there are supported
within htmltext?  Per my other post, they're not all mentioned in the
dictionary entry for htmltext



LiveCode seems to render all the html entities, in both forms where 
applicable, listed on this page, under Linux and Windows:


https://www.freeformatter.com/html-entities.html

You may run into issues of a char not being available using a particular 
font on a particular system, but LiveCode seems to otherwise be 
completely fluent in html entities.


Warren

___
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: MySql vs Valentina

2013-08-29 Thread Warren Samples

On 08/29/2013 07:12 AM, Michael Mays wrote:

Pet peeve of mine people posting messages with links to their product or 
whatever and not actually clicking them to see it they work.



This is almost always a result of an email client reformatting messages 
to fit within a certain column width, and doing it poorly, and is not 
necessarily within the control of the sender. It's something to look for 
whenever an emailed link is broken.


Warren

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

2013-10-01 Thread Warren Samples

On 10/01/2013 05:38 PM, Peter Haworth wrote:

revOnline appears to be completely dead - searching doesn't work and
clicking a keyword does nothing either. Anyone having the same experience?
Pete



All these functions seem to be working normally here in LC 6.1.1 and 6.5dp1.

Warren


___
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: New install video for using Valentina Studio and Valentina server

2013-10-06 Thread Warren Samples

On 10/06/2013 02:36 PM, Alejandro Tejada wrote:

Interesting enough, there is no similar
video for Windows and Linux.



It would be very interesting to see instructions for installing 
Valentina products under Linux which are current and work reliably. The 
documentation provided with the software seems always out of date and 
inadequate and has not always been helpful in resolving issues. Getting 
VServer to work has been problematic at times and the most recent 
version of LiveCode ADK did not work for me under Linux. Ruslan is a 
model of patient and generous helpfulness to be sure, but it would be 
nice if the software and its documentation were more reliable.


Warren

___
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 mp3 on linux ?

2013-10-12 Thread Warren Samples

On 10/12/2013 08:35 AM, Ludovic Thébault wrote:

Hello,

I work on an multi platform open source stack that need to play wma or mp3 
(voices memos from an dictaphone).
Even with "dontuseQT" true, nothing happen under linux (ubuntu 12).

What i missed ?

Thanks


Are you using the player object? LiveCode uses mplayer under Linux if 
it's installed. Do you have mplayer installed? The player won't display 
controls but you can use start and stop in scripts. I believe mplayer 
plays mp3 wma out of the box. It works here under openSUSE.


Good luck

Warren


___
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 mp3 on linux ?

2013-10-12 Thread Warren Samples

On 10/12/2013 08:35 AM, Ludovic Thébault wrote:

  linux (ubuntu 12).

What i missed ?

Thanks



One additional note; you may find that you have to take special 
precautions to terminate your app and the mplayer process. Closing the 
app window may not actually end one or both of the processes. Putting 
something like:


on closeStack
   get shell("killall mplayer")
   quit
end closeStack

in the stack script will work in that case.

Warren

___
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: Figuring out the correct height / width of scrollbars under Linux

2014-01-09 Thread Warren Samples

On 01/09/2014 03:03 AM, Malte Brill wrote:

Hi all,

is there a way to figure out how wide / heigh a scrollbar needs to be under 
Linux to draw all of the scrollbar, but not leaving you with empty space around 
it? Can this be figured out by script? It appears that under UBUNTU this would 
be 14 Pixels. Is there a difference between Windowmanagers?

Thanks in advance,

Malte




Under KDE, scrollbar width is a user settable property. I don't know 
what default is, I have it set to something narrower because, well, I 
like it. I'm not sure that you can reliably determine this. It would 
depend on your ability to determine the DE of the current session which 
is available as a LiveCode global under some distros but not others, and 
then grab the setting from a config file, if the distro/DE make it 
available and you know where it is. I don't know what to say about height.


Why are you finding this desirable? Do you have some consistent display 
issue you're trying to resolve one some particular distro? Are you sure 
you want to be setting this in the face of what might be a (different) 
user preference?


Warren


___
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: Where to download Community Server?

2014-01-17 Thread Warren Samples

On 01/17/2014 12:47 PM, Richard Gaskin wrote:

Where at livecode.com is the link to download the Community Version of
LiveCode Server?

I imagine some of you have special URLs you've collected for that, but
at the moment I'm less interested in specialized knowledge than simple
usability - that is, I'm assuming a link exists somewhere on the site in
a discoverable location, yes?

If not, I'll file a bug report.

TIA -

--
  Richard Gaskin
  Fourth World


On this page:

http://livecode.com/download/

There is a link labeled "View All LiveCode Downloads" that takes the 
visitor to the download directory, including the community version of 
the server. (http://downloads.livecode.com/livecode/)


Warren

___
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: [OT] Mavericks Auto Save and Red Traffic Light plus Back Dot

2014-01-23 Thread Warren Samples

On 01/23/2014 05:34 PM, Richard Gaskin wrote:

I believe the spirit of this goes back to Steve Jobs' observation that
most people's desktops are a complete mess of file icons.  Obsessed with
getting rid of clutter, his answer was to remove the file system from
the things users need to worry about.



Bathwater and babies... throw them all out!!!

KDE had a much better solution ;)

Warren

___
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: 652 release

2014-01-29 Thread Warren Samples

On 01/29/2014 11:08 AM, François Chaplais wrote:

Thanks. The externals SDK links seem to be broken



All links starting with 'LiveCode 5.5.5' lead back to the download page.

___
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: OT: Robyn Miller talks about Hypercard on Macworld podcast

2014-02-19 Thread Warren Samples

On 02/19/2014 07:02 AM, Richmond wrote:

Now, let me see how to do THAT on Linux :)



From the Macworld podcast page, 
http://www.macworld.com/article/2094400/robyn-miller-from-myst-to-the-immortal-augustus-gladstone.html:


You can subscribe to the Macworld Podcast by clicking here. Or you can 
point your favorite podcast-savvy RSS reader at: 
http://feeds.soundcloud.com/users/58576458-macworld/tracks


___
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: 6.6 RC2 Release

2014-03-19 Thread Warren Samples

On 03/19/2014 03:13 AM, Richmond wrote:


I'm sorry, but I am not going to take responsibility for your decision
to read the Use-List using a mobile device.

LOL.

Richmond.





I don't know that there's any need to be so snarky. It's a fairly common 
request in mailing lists that care be taken to avoid quoting unnecessary 
text in replies, and it doesn't just annoy people on small screen devices.


If only we can get people to stop nesting responses within quoted text, 
which can make for dizziness after a couple of rounds of replies. Of 
course, that's one of your favorite techniques... (Yes, I understand the 
logic, but it only really works for the first reply or two which makes 
it seem to me to be an arrogant strategy. I know this has been discussed 
here before, and I also see the problem is getting worse.)


Warren

___
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


  1   2   3   4   >