Re: use-livecode Digest, Vol 135, Issue 3

2014-12-03 Thread Peter W A Wood
Hi Gregory

I believe that you need to use absolute filepaths in the Apache configuration 
file rather than relative ones. So I think you will need to change

"Library/WebServer/CGI-Executables/“>

to

“/Library/WebServer/CGI-Executables/“> or

“/Users//Library/WebServer/CGI-Executables/“>

You will need to change the script-alias entry to match.

Hope this helps.

Peter


> On 3 Dec 2014, at 20:51, Gregory Lypny  wrote:
> 
> Hi Peter,
> 
> Thank you for the heads up on the ps command. I was able to get Apache 
> running with the original httpd.conf file. Apache does not run with the 
> httpd.conf file that I modified the way you suggested in your previous post 
> for LiveCode server. I must have entered something incorrectly or in the 
> wrong place.
> 
> 
> I added
> 
> 
>   Options +ExecCGI
> 
> 
> because the LiveCode server file is in the CGI-Executables folder.
> 
> 
> I then added
> 
> ScriptAlias /livecode-cgi/ "Library/WebServer/CGI-Executables/”
> 
> within the existing section that begins with  and ends 
> with 
> 
> 
> And finally, I added
> 
> AddHandler lcscript .lc
> Action lcscript /livecode-cgi/livecode-server
> 
> to the existing section that begins with  and ends with 
> 
> 
> I notice that in my old Mavericks httpd.conf file, the last two statements, 
> AddHandler and Action, appear in the section  "/Library/WebServer/Documents”> rather than .
> 
> Gregory


___
use-livecode mailing list
use-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: Delete and object from script within the object?

2014-12-03 Thread William Prothero
Great! Thanks Bjornke!
Bo;;

On Dec 3, 2014, at 2:10 PM, Björnke von Gierke  wrote:

> send "deleteTheImage" && myImage to this stack in 0 seconds
> 
> On 03 Dec 2014, at 22:57, William Prothero  wrote:
> 
>> Folks:
>> I’m trying to delete an image from a script within that image  LC doesn’t 
>> like that because the script in the object hasn’t finished yet.
>> 
>> —the image script is:
>> on mouseUp
>>  put the name of me into myImage
>>  deleteTheImage myImage"
>> end mouseUp
>> 
>> —In the stack script
>> on deleteTheImage imageName
>>   delete image imageName
>> end deleteTheImage
>> 
>> The command failed because the “end mouseUp” has not executed and LC won’t 
>> delete the object where a script is running.
>> 
>> How should I approach this? Is there a command to dispatch a message after a 
>> short delay? I know there must be, I just can’t find it.
>> 
>> 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
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: [OT] baby

2014-12-03 Thread Monte Goulding
Hi Folks

Thanks for all the public and private messages from folks on this list. 
Everyone is home now after Sarah had some help with her breathing for a couple 
of days and some time under lights for jaundice. She's not quite up to 
responding to the bug reports yet. You will need to wait until she is at least 
2 weeks old for that ;-)

Cheers

Monte

On 28 Nov 2014, at 7:14 am, Monte Goulding  wrote:

> Hi Folks
> 
> We just had a baby so I won't be able to get to mergExt related questions for 
> a few days. Rebecca(mum) and Sarah(bub) are doing well but Sarah has a few 
> breathing issues so needs some extra O2 for a while.
> 
> Cheers
> 
> Monte
> 
> --
> M E R Goulding
> Software development services
> 
> mergExt - There's an external for that!
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!

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


Re: Delete and object from script within the object?

2014-12-03 Thread Björnke von Gierke
send "deleteTheImage" && myImage to this stack in 0 seconds

On 03 Dec 2014, at 22:57, William Prothero  wrote:

> Folks:
> I’m trying to delete an image from a script within that image  LC doesn’t 
> like that because the script in the object hasn’t finished yet.
> 
> —the image script is:
> on mouseUp
>   put the name of me into myImage
>   deleteTheImage myImage"
> end mouseUp
> 
> —In the stack script
> on deleteTheImage imageName
>delete image imageName
> end deleteTheImage
> 
> The command failed because the “end mouseUp” has not executed and LC won’t 
> delete the object where a script is running.
> 
> How should I approach this? Is there a command to dispatch a message after a 
> short delay? I know there must be, I just can’t find it.
> 
> 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


___
use-livecode mailing list
use-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 to open a second window w/o disturbing calling stack

2014-12-03 Thread William Prothero
Hugh:
Thanks. I just wanted a second normal window. But, it does work correctly. 
Don’t know why my test version messed up, but when I came in in the morning, 
all was working.
Best,
Bill

On Dec 3, 2014, at 12:58 PM, FlexibleLearning.com  
wrote:

> Lock messages
> Go cd 1 of stack "mySubStack" as palette
> Unlock messages
> 
> Or have I misunderstood?
> 
> Hugh Senior
> FLCo
> 
> 
>> Folks:
>> I want to open a second window in my app. The window in the calling stack
> is
>> the first card of a substack named ?myCallingSubstack?.  I want to go to
> the
>> first card of a substack named ?mySubstack?. When I do
>> 
>> go to stack ?mySubstack?, the new windows sits behind the calling
>> ?myCallingSubstack?, but ?myCallingSubstack? also reverts to the last card
>> showing in the main stack.
>> 
>> I want the stack ?mySubstack? to appear in front in a normal window, and I
>> want the ?myCallingSubstack? to stay as it is.
>> 
>> What?s the best way to do this? Docs and lessons don?t seem to address
>> this.
>> 
>> 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


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


Delete and object from script within the object?

2014-12-03 Thread William Prothero
Folks:
I’m trying to delete an image from a script within that image  LC doesn’t like 
that because the script in the object hasn’t finished yet.

—the image script is:
on mouseUp
   put the name of me into myImage
   deleteTheImage myImage"
end mouseUp

—In the stack script
on deleteTheImage imageName
delete image imageName
end deleteTheImage

The command failed because the “end mouseUp” has not executed and LC won’t 
delete the object where a script is running.

How should I approach this? Is there a command to dispatch a message after a 
short delay? I know there must be, I just can’t find it.

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


RE: How to open a second window w/o disturbing calling stack

2014-12-03 Thread FlexibleLearning.com
Lock messages
Go cd 1 of stack "mySubStack" as palette
Unlock messages

Or have I misunderstood?

Hugh Senior
FLCo


> Folks:
> I want to open a second window in my app. The window in the calling stack
is
> the first card of a substack named ?myCallingSubstack?.  I want to go to
the
> first card of a substack named ?mySubstack?. When I do
> 
> go to stack ?mySubstack?, the new windows sits behind the calling
> ?myCallingSubstack?, but ?myCallingSubstack? also reverts to the last card
> showing in the main stack.
> 
> I want the stack ?mySubstack? to appear in front in a normal window, and I
> want the ?myCallingSubstack? to stay as it is.
> 
> What?s the best way to do this? Docs and lessons don?t seem to address
> this.
> 
> 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


Re: BBEdit Language Module for LiveCode

2014-12-03 Thread Devin Asay

On Dec 3, 2014, at 12:39 PM, J. Landman Gay  wrote:

> Clicking the "Download ZIP" button works, thanks. I was one of the people who 
> couldn't load the original in BBEdit under Mavericks, but the last two 
> versions have worked fine for me so I think you can probably remove that 
> warning in the Read Me. Maybe. I think.
> 
> Nice to see some syntax coloring in this one, thanks for doing that. If 
> anyone knows how to fix the small folding glitches, that'd be great.

Ditto what Jacque said. This is so great to have and makes editing .lc files in 
BBEdit much nicer! 

Ben or Swami, do you know if it’s possible to add folding for repeat loops and 
if-then structures? It would sure be nice to collapse log, nested if-thens to 
get a sense of the whole handler or script flow. 

Devin


Devin Asay
Office of Digital Humanities
Brigham Young University


___
use-livecode mailing list
use-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: BBEdit Language Module for LiveCode

2014-12-03 Thread J. Landman Gay
Clicking the "Download ZIP" button works, thanks. I was one of the 
people who couldn't load the original in BBEdit under Mavericks, but the 
last two versions have worked fine for me so I think you can probably 
remove that warning in the Read Me. Maybe. I think.


Nice to see some syntax coloring in this one, thanks for doing that. If 
anyone knows how to fix the small folding glitches, that'd be great.



On 12/3/2014, 7:33 AM, Ben Rubinstein wrote:

For those who just want to get the file, and don't want to learn
anything about Git or GitHub: if you go the link that Brahmanathaswami
gives below, on the right of the page you'll find a button "Download
ZIP" - that gets you the latest version.  Instructions are in the readme
and the LiveCode.plist file itself.

Ben

On 03/12/2014 06:18, Brahmanathaswami wrote:

Currently only myself and Ben have direct access, (i.e. can make
changes and
push a new version to the head of origin master) anyone else would
have to
fork the file and send a pull request. I would be more than happy to add
anyone else to the collaborators list if you

a) know how GitHub works (I'm just learning myself. highly recommend
the ebook
version of ProGit)

b) think you can make a contribution to make the module work better.

Just let me know.

BR


https://github.com/Brahmanathaswami/LiveCode-BBEdit-Language-Module
>
>  a public repository.


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





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




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

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


Crash in V7.0.1 (rc2) fixed in (rc3)

2014-12-03 Thread William Prothero
Whoopee, the crash I was seeing in V7.0.1(rc2) disappeared in rc3. Thanks, LC 
team!
Best,
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


Re: How to open a second window w/o disturbing calling stack.

2014-12-03 Thread William Prothero
Grahan:
Ok, after I restarted my computer and relaunched LC, all worked as expected.
Thanks for responding and assuring me that it’s supposed to work the way I want.
Best,
Bill

On Dec 3, 2014, at 3:00 AM, Graham Samuel  wrote:

> According to the LC Dictionary, ‘go’ should have done what you want.
> 
>> When going to a previously-unopened stack, if you don't specify a card, the 
>> go command displays the first card of the stack. If the stack is already 
>> open, the current card of the stack appears and the stack window is brought 
>> to the front.
> 
> I just reproduced your described setup exactly - I hope (on a Mac with 
> Yosemite using LC7rc2) and it worked perfectly.
> 
> So, either the version of LC you're using (you don't say which one it is) has 
> let you down (i.e. is buggy), or something else is going on.
> 
> I'll send you my tiny experimental stack off-list if it would help.
> 
> Cheers
> 
> Graham
> 
> 
>> On 3 Dec 2014, at 04:01, William Prothero  wrote:
>> 
>> Folks:
>> I want to open a second window in my app. The window in the calling stack is 
>> the first card of a substack named “myCallingSubstack”.  I want to go to the 
>> first card of a substack named “mySubstack”. When I do
>> 
>> go to stack “mySubstack”, the new windows sits behind the calling 
>> “myCallingSubstack”, but “myCallingSubstack” also reverts to the last card 
>> showing in the main stack. 
>> 
>> I want the stack “mySubstack” to appear in front in a normal window, and I 
>> want the “myCallingSubstack” to stay as it is.
>> 
>> What’s the best way to do this? Docs and lessons don’t seem to address this.
>> 
>> 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
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


RELEASE LiveCode 7.0.1 RC3

2014-12-03 Thread Benjamin Beaumont
Dear List Members,

We're pleased to announce the release of LiveCode 7.0.1 RC3. This is a
maintenance release focusing on bug fixes and refinement.

*Release Contents*
This release contains 32 bug fixes.

For a full list of the bugs fixed in this release please see the release
notes:
http://downloads.livecode.com/livecode/7_0_1/LiveCodeNotes-7_0_1_rc_3.pdf

*Getting the Release*
To get the release please select "check for updates" from the "help" menu
in the product or download the installer directly at:
http://downloads.livecode.com

*Feeding Back*
If you encounter any issues while working with the release please help us
by creating a report in our quality control center at:
http://quality.runrev.com/

Warm regards,

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


RELEASE LiveCode 6.7.1 RC3

2014-12-03 Thread Benjamin Beaumont
Dear List Members,

We're pleased to announce the release of LiveCode 6.7.1 RC3. This is a
maintenance release focusing on bug fixes and refinement.

*Release Contents*
This release contains 7 bug fixes.

For a full list of the bugs fixed in this release please see the release
notes:
http://downloads.livecode.com/livecode/6_7_1/LiveCodeNotes-6_7_1_rc_3.pdf

*Getting the Release*
To get the release please select "check for updates" from the "help" menu
in the product or download the installer directly at:
http://downloads.livecode.com

*Feeding Back*
If you encounter any issues while working with the release please help us
by creating a report in our quality control center at:
http://quality.runrev.com/

Warm regards,

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


revBrowserOpenCef & revBrowserClose not working

2014-12-03 Thread JOHN PATTEN
Hi All,

Using LiveCode 7.0.0 with Yosemite…

I have an openCard script that does the following:

Global tBrowserID
on openCard
   put revBrowserOpenCef(the windowId of this stack, 
"http://www.youtube.com/embed/9HF_FcHOP-s?controls=1&showinfo=0&showsearch=0&modestbranding=1&rel=0&autoplay=0&autohide=1&iv_load_policy=3&version=2&start=0";)
 into tBrowserId
   revBrowserSet tBrowserID, "rect", the rect of grc "browser"
end openCard

This works fine.

However when I try to close the browser it does not appear to redraw the screen 
and the browser is still visible.


Global tBrowserID
on mouseDown
answer tBrowserID - - double check to make sure id is there…
revBrowserClose tBrowserID
end mouseDown

When navigating to subsequent cards the browser still hangs around.  What’s 
worse, if i click the button again to close the browser again, it thinks the 
browser is closed, though it appears to be still on the screen. This completely 
locks Livecode up. You can move windows around, but not other events are 
triggered. I had to Force Quite out of LiveCode.

It doesn’t seem like it should work like this…? Am i missing something?

Thank you!

John Patten
SUSD
___
use-livecode mailing list
use-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 15 of the MasterLibrary is available

2014-12-03 Thread Magicgate Software - Skip Kimpel
Is anybody else having a problem when trying to launch this they get:
ERROR
Type: if: missing'then'
Object: Lib
Line: if item lComparing of fStartFolder  item lComparing of
fDestinationFolder then
Hint: (musical note)

In am on a Windows machine running LC 6.7

On Wed, Dec 3, 2014 at 11:16 AM, Michael Doub  wrote:

> https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0
>
> I have fixed the version checking logic.  You will need to pick up this
> version with the link above.
>
> Release 15 contains a new __SoftLineBreak implementation that is faster
> and more accurate.  Because of the new accuracy of __SoftLineBreak, I have
> included a workaround function that gives you pageranges taking into
> account the spaceabove and spacebelow.
>
> Regards,
>Mike
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: How to open a second window w/o disturbing calling stack.

2014-12-03 Thread Earthednet-wp
Graham,
Thanks for checking this. I'm working in lcv7.0, on Mavericks. I'll retest. 
Sometimes LC needs to be restarted to get things working right. Unfortunately, 
V7.0.1 ( rc2) crashes on one of my operations, so I'm using v7.0, which crashes 
on quit. Oh well, hope it gets fixed next release. 
Best,
Bill
William Prothero
http://es.earthednet.org

> On Dec 3, 2014, at 3:00 AM, Graham Samuel  wrote:
> 
> According to the LC Dictionary, ‘go’ should have done what you want.
> 
>> When going to a previously-unopened stack, if you don't specify a card, the 
>> go command displays the first card of the stack. If the stack is already 
>> open, the current card of the stack appears and the stack window is brought 
>> to the front.
> 
> I just reproduced your described setup exactly - I hope (on a Mac with 
> Yosemite using LC7rc2) and it worked perfectly.
> 
> So, either the version of LC you're using (you don't say which one it is) has 
> let you down (i.e. is buggy), or something else is going on.
> 
> I'll send you my tiny experimental stack off-list if it would help.
> 
> Cheers
> 
> Graham
> 
> 
>> On 3 Dec 2014, at 04:01, William Prothero  wrote:
>> 
>> Folks:
>> I want to open a second window in my app. The window in the calling stack is 
>> the first card of a substack named “myCallingSubstack”.  I want to go to the 
>> first card of a substack named “mySubstack”. When I do
>> 
>> go to stack “mySubstack”, the new windows sits behind the calling 
>> “myCallingSubstack”, but “myCallingSubstack” also reverts to the last card 
>> showing in the main stack. 
>> 
>> I want the stack “mySubstack” to appear in front in a normal window, and I 
>> want the “myCallingSubstack” to stay as it is.
>> 
>> What’s the best way to do this? Docs and lessons don’t seem to address this.
>> 
>> 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
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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

[ANN] Release 15 of the MasterLibrary is available

2014-12-03 Thread Michael Doub

https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0

I have fixed the version checking logic.  You will need to pick up this 
version with the link above.


Release 15 contains a new __SoftLineBreak implementation that is faster 
and more accurate.  Because of the new accuracy of __SoftLineBreak, I 
have included a workaround function that gives you pageranges taking 
into account the spaceabove and spacebelow.


Regards,
   Mike



___
use-livecode mailing list
use-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: Request for feedback

2014-12-03 Thread Michael Doub
I am very happy to say that I was proven wrong.   We are able get the 
information needed to understand how the engine calculated the soft line 
wraps.  If you put the formattedtext of a line that has be wrapped into 
a variable, the variable will contain the text of each segment of the 
line that was wrapped with returns inserted appropriately.   Based on 
the number of characters in each line, you know where the line was wrapped.


-= Mike




On 11/30/14 5:01 PM, Michael Doub wrote:
After more testing of list formatting, we need the listdepth and 
listindent as part of a softline because a element of a list can wrap.


Ralph, I have not used formatting within button labels, so I will have 
to research them.   I am guessing that they do not have all of the 
settings as a field.  Are they a proper subset of what is listed below 
or do we need to do the same exercise that is unique for button labels?


Here is a updated view with some line shortenings so the comments wont 
wrap within the email. (i hope)


-= Mike



put the formatedStyledAttributes of fld "foo" into rArray

rArray:
"height":
"width":
"dontwrap":
"borderwidth":
"leftMargin":
"topMargin":
"rightMargin":
"bottomMargin":
[line_Nbr] --a number for each string
--terminated by a return
"borderwidth":
"leftIndent":
"rightIndent":
"padding":
"spaceAbove":
"spaceBelow":
[softline_number]--this the segment of the
--line on a row within a 
field
"MaxformattedHeight":  -- of the softline including 
all runs
"MaxformattedWidth":   -- of the softline including 
all runs
   -- these are 
included to make
   -- calculating 
scroll positions easier

"leftIndent":
"firstIndent":--only applicable to the first
--segment of a paragraph
"rightIndent":
"padding":
"listIndent":--listIndent and listdepth are 
needed
"listdepth": --as part of the softline because 
lists

   --can wrap
[run_number]   --this is the run within the soft line
--a tab character is 
considered a run

"textSize":
"textFont":
"textStyle":
"text":
formattedHeight:
formattedWidth: -- when text = tab, this is 
the length
   --of space 
allocated to the tab

[run_number + 1]
[softline_number + 1]
[pgh_Nbr + 1]


On 11/30/14 3:52 PM, Ralph DiMola wrote:

Mike,

Thanks You! I'm a + 1 on this. We need to be able to reliably calculate
field/line geometry especially on mobile. I've been wrestling getting 
this
correct since the new field object was introduced. I have 2 related 
bugs on

this: http://quality.runrev.com/show_bug.cgi?id=12176 and
http://quality.runrev.com/show_bug.cgi?id=13551

It looks like you have all the bases covered. Let's see when RR and 
anybody

into the sources has to offer on this. Button labels should have this
property also.

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

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On 
Behalf

Of Michael Doub
Sent: Sunday, November 30, 2014 11:57 AM
To: How To use LiveCode use LiveCode
Subject: Request for feedback

I would like the lists assistance in flushing out a enhancement request
proposal that I would like to make to the development team. Because 
of a bug
in the pageranges function where it did not take into account the 
spaceabove

and spacebelow properties, i attempted to do this manually.
I quickly learned that there is no easy way to understand where a 
line is
actually wrapped.  I was using the formatted size functions measuring 
each

character and run and getting different answers when measuring the same
text.  This was attributed to kerning and letter spacing issues by the
support folks.  This was not a very satisfying answer.

After working on this for several weeks, I have come to the 
conclusion that
we can not accurately reproduce the algorithms of the field object 
with the
current tools available to us.  I would loved to be proven wrong 
here, but I
threw in the towel and starting thinking about the the information 
that is
really needed to understand what is actually being displayed within a 
field.


I am proposing that a property or function be added to livecode field
object.  It would be similar to styled text, but it would provide a 
PERFECT

representation of what is being displayed within a field.  The

AW: Different results in LC with a file from 2 FTP programs

2014-12-03 Thread Tiemo Hollmann TB
Hi Dave,
that sounds plausible, I will give that a try
Thanks
Tiemo

> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im
Auftrag
> von Dave Cragg
> Gesendet: Mittwoch, 3. Dezember 2014 14:09
> An: How to use LiveCode
> Betreff: Re: Different results in LC with a file from 2 FTP programs
> 
> On 2 Dec 2014, at 13:54, Tiemo Hollmann TB  wrote:
> 
> > Hello,
> >
> > I am downloading a ASCII txt file with "put URL tFile into tContent"
> > from my server. Then I filter the content of the file in LC 6.5.2 to
> > get the wanted data. I changed my FTP program on Windows to FileZilla
> > because my old FTP program didn't had a SFTP protocol, which I wanted
> > to use now. When uploading the same file which is locally 397 KB with
> > the old FTP program in ASCII mode it increases on my server to 385 KB.
> > When uploading it with FileZilla-SFTP in ASCII mode it shows the excat
397
> KB in the server.
> >
> >
> >
> > Here comes my issue. My LC fails processing the content of the same
> > file, when it is uploaded with FileZilla, because after the filter
> > command each line still has a "CR" at the end of the line, which is
> > not there, when the same file was uploaded with the old FTP program.
> > Usually I would have expected a "CR" at the line end, but I have never
> > watched it and because it wasn't there with my old FTP program I coded
> > without expecting a "CR" and now my program fails with the new format.
> > It is easy to change my code, but there are a lot of licences out
> > there at my customers, which I can't change that easy.
> 
> Tiemo,
> 
> It appears that Filezilla does nothing to the data content when
transferring
> in ascii mode. There is some information here:
> 
> https://wiki.filezilla-project.org/Data_Type
> 
> That would explain why the file size didn't change when uploaded.
> 
> Normally, I would consider that a good thing. I always use binary mode in
ftp
> to avoid any unexpected changes. However, in your case, if your
application is
> set to handle the previous format of the uploaded file, I can see it will
be a
> problem for existing users.
> 
> Can you compare the content of the same file uploaded with the previous
ftp
> application with the file uploaded by Filezilla? I'm guessing that the
> previous ftp program converted LF (ascii 10) line endings to CRLF (ascii
13 +
> ascii 10). But it would be good to check. Then, if you are able to set the
> file content to match the previous format before uploading with Filezilla,
you
> should be OK. For example, if my guess is correct, replace all linefeed
> characters with CRLF.
> 
> Cheers
> Dave
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: BBEdit Language Module for LiveCode

2014-12-03 Thread Ben Rubinstein
For those who just want to get the file, and don't want to learn anything 
about Git or GitHub: if you go the link that Brahmanathaswami gives below, on 
the right of the page you'll find a button "Download ZIP" - that gets you the 
latest version.  Instructions are in the readme and the LiveCode.plist file 
itself.


Ben

On 03/12/2014 06:18, Brahmanathaswami wrote:

Currently only myself and Ben have direct access, (i.e. can make changes and
push a new version to the head of origin master) anyone else would have to
fork the file and send a pull request. I would be more than happy to add
anyone else to the collaborators list if you

a) know how GitHub works (I'm just learning myself. highly recommend the ebook
version of ProGit)

b) think you can make a contribution to make the module work better.

Just let me know.

BR


https://github.com/Brahmanathaswami/LiveCode-BBEdit-Language-Module
>
>  a public repository.


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





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


Re: Different results in LC with a file from 2 FTP programs

2014-12-03 Thread Dave Cragg
On 2 Dec 2014, at 13:54, Tiemo Hollmann TB  wrote:

> Hello,
> 
> I am downloading a ASCII txt file with "put URL tFile into tContent" from my
> server. Then I filter the content of the file in LC 6.5.2 to get the wanted
> data. I changed my FTP program on Windows to FileZilla because my old FTP
> program didn't had a SFTP protocol, which I wanted to use now. When
> uploading the same file which is locally 397 KB with the old FTP program in
> ASCII mode it increases on my server to 385 KB. When uploading it with
> FileZilla-SFTP in ASCII mode it shows the excat 397 KB in the server.
> 
> 
> 
> Here comes my issue. My LC fails processing the content of the same file,
> when it is uploaded with FileZilla, because after the filter command each
> line still has a "CR" at the end of the line, which is not there, when the
> same file was uploaded with the old FTP program. Usually I would have
> expected a "CR" at the line end, but I have never watched it and because it
> wasn't there with my old FTP program I coded without expecting a "CR" and
> now my program fails with the new format. It is easy to change my code, but
> there are a lot of licences out there at my customers, which I can't change
> that easy.

Tiemo,

It appears that Filezilla does nothing to the data content when transferring in 
ascii mode. There is some information here:

https://wiki.filezilla-project.org/Data_Type

That would explain why the file size didn't change when uploaded.

Normally, I would consider that a good thing. I always use binary mode in ftp 
to avoid any unexpected changes. However, in your case, if your application is 
set to handle the previous format of the uploaded file, I can see it will be a 
problem for existing users.

Can you compare the content of the same file uploaded with the previous ftp 
application with the file uploaded by Filezilla? I'm guessing that the previous 
ftp program converted LF (ascii 10) line endings to CRLF (ascii 13 + ascii 10). 
But it would be good to check. Then, if you are able to set the file content to 
match the previous format before uploading with Filezilla, you should be OK. 
For example, if my guess is correct, replace all linefeed characters with CRLF.

Cheers
Dave
___
use-livecode mailing list
use-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: use-livecode Digest, Vol 135, Issue 3

2014-12-03 Thread Gregory Lypny
Hi Peter,

Thank you for the heads up on the ps command. I was able to get Apache running 
with the original httpd.conf file. Apache does not run with the httpd.conf file 
that I modified the way you suggested in your previous post for LiveCode 
server. I must have entered something incorrectly or in the wrong place.


I added


Options +ExecCGI


because the LiveCode server file is in the CGI-Executables folder.


I then added

ScriptAlias /livecode-cgi/ "Library/WebServer/CGI-Executables/”

within the existing section that begins with  and ends 
with 


And finally, I added

AddHandler lcscript .lc
Action lcscript /livecode-cgi/livecode-server

to the existing section that begins with  and ends with 


I notice that in my old Mavericks httpd.conf file, the last two statements, 
AddHandler and Action, appear in the section  rather than .

Gregory


> On Wed, Dec 3, 2014, at 6:00 AM, use-livecode-requ...@lists.runrev.com wrote:
> 
> Message: 16
> Date: Wed, 3 Dec 2014 11:19:17 +0800
> From: Peter W A Wood mailto:peterwaw...@gmail.com>>
> To: How to use LiveCode  >
> Subject: Re: Can't Start LiveCode Server Under Yosemite
> Message-ID: <6c0422d9-1743-4c33-ac28-8c132c48c...@gmail.com 
> >
> Content-Type: text/plain; charset=utf-8
> 
> Hi Gregory
> 
> The first think that I would check is whether Apache is actually running or 
> not. This is how I checked on my machine, using the ps command:
> 
> Schulz:~ fatty$ sudo apachectl start
> Schulz:~ fatty$ ps -U www
>  PID TTY   TIME CMD
> 35439 ?? 0:00.00 /usr/sbin/httpd -D FOREGROUND
> Schulz:~ fatty$ sudo apachectl stop
> Schulz:~ fatty$ ps -U www
>  PID TTY   TIME CMD
> Schulz:~ fatty$ sudo apachectl start
> Schulz:~ fatty$ ps -U www
>  PID TTY   TIME CMD
> 35458 ?? 0:00.00 /usr/sbin/httpd -D FOREGROUND
> 
> The next thing I would check would be the Apache error log, which you you 
> should be able to do with this command:
> 
> tail /private/var/log/apache2/error_log
> 
> Regards
> 
> Peter

___
use-livecode mailing list
use-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 to open a second window w/o disturbing calling stack.

2014-12-03 Thread Graham Samuel
According to the LC Dictionary, ‘go’ should have done what you want.

> When going to a previously-unopened stack, if you don't specify a card, the 
> go command displays the first card of the stack. If the stack is already 
> open, the current card of the stack appears and the stack window is brought 
> to the front.

I just reproduced your described setup exactly - I hope (on a Mac with Yosemite 
using LC7rc2) and it worked perfectly.

So, either the version of LC you're using (you don't say which one it is) has 
let you down (i.e. is buggy), or something else is going on.

I'll send you my tiny experimental stack off-list if it would help.

Cheers

Graham


> On 3 Dec 2014, at 04:01, William Prothero  wrote:
> 
> Folks:
> I want to open a second window in my app. The window in the calling stack is 
> the first card of a substack named “myCallingSubstack”.  I want to go to the 
> first card of a substack named “mySubstack”. When I do
> 
> go to stack “mySubstack”, the new windows sits behind the calling 
> “myCallingSubstack”, but “myCallingSubstack” also reverts to the last card 
> showing in the main stack. 
> 
> I want the stack “mySubstack” to appear in front in a normal window, and I 
> want the “myCallingSubstack” to stay as it is.
> 
> What’s the best way to do this? Docs and lessons don’t seem to address this.
> 
> 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


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


AW: Different results in LC with a file from 2 FTP programs

2014-12-03 Thread Tiemo Hollmann TB
Thanks Richard and Jacque for your hints.
Up to know I couldn't drill down, why the file is increasing with the old
FTP program, but I get on digging
Tiemo

> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im
Auftrag
> von J. Landman Gay
> Gesendet: Dienstag, 2. Dezember 2014 18:13
> An: How to use LiveCode
> Betreff: Re: Different results in LC with a file from 2 FTP programs
> 
> Except in this case he's using a third party product to upload. Tiemo,
maybe
> your app has settings that determine how line endings are handled?
> 
> 
> On December 2, 2014 9:27:22 AM CST, Richard Gaskin
>  wrote:
> >Tiemo Hollmann wrote:
> >
> > > Has anybody any idea, what is happening here with the file and why
> > > two different FTP programs upload a different result on my server
> > > with the same file, both using ASCII mode? Why is the file expanding
> >> in my old process, but is missing a CR in each line? Is there perhaps
> > > anything I can change locally on my file? Any ideas?
> >
> >What constitutes text mode may vary from program to program.  In LC is
> >means replacing NULLs with spaces and replacing ASCII 10 to OS-native
> >line endings for writes, or replacing OS-native line endings to ASCII
> >10 for reads.
> 
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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