Re: Widget structure questions

2015-10-10 Thread Peter Haworth
Thanks Mark.  Do you happen to know if there are any handlers which return
these paths or even the information about each widget from its manifest.xml
file?  It's easy enough to go through all the files myself and parse the
xml myself but probably safer to use official handlers if they exist.

Pete
lcSQL Software 
Home of lcStackBrowser  and
SQLiteAdmin 

On Sat, Oct 10, 2015 at 11:16 AM, Mark Wieder 
wrote:

> On 10/10/2015 10:52 AM, Peter Haworth wrote:
>
>> It appears that the files that define the widgets supplied with LC are
>> kept
>> in Contents/Tools/Extensions folder of the application bundle (on a Mac),
>> with each widget having its own folder named
>> com.livecode.extensions.livecode..  Are widgets created by
>> users kept in the same place?
>>
>
> No, user widgets are in the Extensions folder at the same level as the
> user Plugins folder.
>
> --
>  Mark Wieder
>  ahsoftw...@gmail.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LC 8 Property Inspector

2015-10-10 Thread Mark Wieder

On 10/09/2015 12:35 AM, Ali Lloyd wrote:


There are two separate issues here:
1) Our out-of-the-box palettes should be as useful as possible for someone
with no plugins. Hence the soliciting of opinion. Disagree? I'm happy for a
million application browsers to exist, I just don't want to maintain them.


Heh.


I can't understand how you're viewing the idea of seeking to improve the
IDE's palettes as somehow a negative.

2) Making it possible to replace the palettes. Gradually the IDE routes all
palette-related opening through a revIDEPaletteToStackName function. So
once everything goes through that, and we provide a hook to override it,
you will be able to use any stack in place of a given palette.

Moreover the better the data provision for *our* palettes, the more useful
IDE functions there are for replacement palettes to use. Whatever we add to
a given object's inspector properties, for example, is parsed into the
properties array that the IDE library passes to the inspector.

Should a user plugin wish to use that array, adding the tooltip fixes it
for them too. Adding tooltip to the old inspector helps no-one in this
particular regard, as far as I can see.


Thanks for the background information. This is indeed promising for the 
future. But we have reached the point where LC8 is no longer "LC7 with 
widgets"... there's a serious divide here. So while I can play around 
with LC8 and try to figure out the new gadgety things that are being 
thrown our way, in order to get any work done I'm using tools that will 
soon be end-of-lifed.


I'm no fan of the current property inspector. Or the application 
browser, for that matter. But right now they allow me to get work done. 
So I'm a bit dismayed that rather than fixing/improving these tools, 
they've just been replaced wholesale, and judging by the controversy 
this has raised it appears I'm not alone. I'm sure I'll get used to the 
new tools in time, although I've been able to avoid the Project Browser 
in all versions up to the latest.


--
 Mark Wieder
 ahsoftw...@gmail.com

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


Re: Learning Materials

2015-10-10 Thread Richard Gaskin

William Prothero wrote:


I said we need a dictionary focussed on tasks, not on commands,
but obviously we need both. I know Richard has been leading a
group taking this on. Richard, is this happening?


The focus of an API reference like the LiveCode Dictionary will always 
have the language tokens as their primary index.  This can (and arguably 
should) be augmented with tags to support searching for strings 
conceptually related but not found in the token itself or its 
description.  I believe that's been put into place for the future, but 
regrettably not available in the current shipping product v7.


Task-driven documentation is traditionally the domain of things like 
"Cookbooks".   That format allows for the exploration of related 
concepts in a more detailed  way that would be clumsy or even 
distracting in a Dictionary. IIRC LiveCode 1.0 had Cookbook, but I'm not 
sure when it was dropped.


To answer your question about the Community Documentation Team, over the 
last year the core team at LiveCode Ltd. has been migrating all 
documentation content into Github markdown so that it can not only be 
more easily edited but also reviewed, merged, and compiled into the 
product build more easily as well.


Peter Brett at LiveCode Ltd. has taken on the role of stewarding 
community engagement projects like this one, and the process of 
migrating the content to markdown is now far enough along that my next 
meeting with Dr. Brett will focus on conveying the dynamics of the 
workflow so we can get to work.


The scope defined for the moment, however, is to update existing docs.

If there's a desire for a Cookbook I would encourage the community to 
consider establishing a wiki for that.  Indeed, there is one at 
wikia.com which may be a good starting point:



To help guide such an effort, let me ask you a question related to the 
CreateIt course you mentioned:


You've been using LiveCode for many years, and have made some 
substantial software with it.  At this point in your work, what topics 
would you find most valuable?


--
 Richard Gaskin
 LiveCode Community Manager
 rich...@livecode.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


customProperties or similar for words in a field?

2015-10-10 Thread Dr. Hawkins
Most of what I generate is forms, so keeping track of fields is easy and
natural.

I am now getting to motions, which will use data much like mail-merge in a
word processor.   So I might use something like

Debtor ##dname## filed this petition on ##petdate##


to generate


Debtor John Doe filed this petition on 1/15/2015



For short things, it would be easy enough on rendering output to watch for
words starting with ## and place the data field over the word, either on
first render or possibly on the fly with mouseMove.

This won't work "well" for a phrase, though, which can wrap.


But if I could do something on initial render like

put getVal("thePhrase") into theVa

replace word i of tgField with theVal

set the theProp of word i to i + the number of words in theVal -1 to
"thePhrase"


things would be fairly straightforward to monitor.

I need to monitor, as that data changes, it needs o go back into the
database

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-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: LC8

2015-10-10 Thread Paul Hibbert
Pete,

I think I've tracked down the 2 bugs causing this issue in the IDE, it’s an 
easy fix as far as I can see, so I posted a bug report with my findings and the 
recipe for fixing it, that way the LC team can check my findings and hopefully 
fix the problem quickly.

Bug Report: http://quality.runrev.com/show_bug.cgi?id=16187 


If you want to follow the recipe for the fix, please do so at your own risk, 
I’m no expert at editing the IDE! :-)

Regards,

Paul

> On 10 Oct 2015, at 10:19, Peter Haworth  wrote:
> 
> Hi Paul,
> Didn't create a bug report since there was a not from Ali a few days ago
> that this was a known issue and should be fixed in DP6.  If I could find
> it, I'd update it :-)
> 
> Pete
> lcSQL Software 
> Home of lcStackBrowser  and
> SQLiteAdmin 
> 
> On Sat, Oct 10, 2015 at 10:13 AM, Paul Hibbert  wrote:
> 
>> Same here on El Capitan, do you have a bug report number? I can add to it,
>> or I can create one if you wish?
>> 
>> Paul
>> 
>>> On 10 Oct 2015, at 09:10, Peter Haworth  wrote:
>>> 
>>> I'm still seeing an issue with plugins in LC8 DP7, specifically the
>> options
>>> as to when a plugin should load.  If I change the setting from "Livecode
>>> starts up" to "Chosen from plugins menu", quit and restart, the plugin
>> still
>>> loads at startup.
>>> 
>>> 
>>> 
>>> --
>>> View this message in context:
>> http://runtime-revolution.278305.n4.nabble.com/LC8-tp4696964p4697170.html
>>> Sent from the Revolution - User mailing list archive at Nabble.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
>> 
> ___
> use-livecode mailing list
> use-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: Paths in Mac standalone headache

2015-10-10 Thread David V Glasgow

> On 6 Oct 2015, at 2:52 am, Richard Gaskin  wrote:
> 
> when the culprit was simply a defaultFolder assignment that didn't take.


Thanks.  Helpful scripts both.  I think it *is* simply a folder assignment that 
doesn’t take.  Not the default folder, but the path to the results which I 
temporarily switch to.

So, Richard, once you had identified the culprit in your directory walker 
script, what did you do?

Best wishes,

David G
___
use-livecode mailing list
use-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: Learning Materials

2015-10-10 Thread Earthednet-wp
Steven,
Thank you. That seems quite fair.
Regards,
Bill

William Prothero
http://es.earthednet.org

> On Oct 10, 2015, at 4:23 AM, "Steven Crighton"  
> wrote:
> 
> Thanks for your messages on the new learning course.
> 
> We are constantly working on improving our learning materials. Create it V1
> was a good start but as you pointed out it did come with some issues.
> 
> With this version we have decided to focus our efforts by creating a course
> with less apps but greater content and strengthened resources.
> 
> We have rewritten the code, added more learning outcomes, filmed new videos
> and created brand new slides.
> 
> Unlike the original Create it course this new course is available without
> the need for a paid license subscription.
> 
> Everyone who was part of Create it V1 will receive this course in their
> account at some point next week with no extra charge.
> 
> Thanks
> 
> Steven Crighton
> 
> ___
> use-livecode mailing list
> use-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: customProperties or similar for words in a field?

2015-10-10 Thread J. Landman Gay


On October 10, 2015 9:58:13 AM CDT, "Dr. Hawkins"  wrote:
>
>I am now getting to motions, which will use data much like mail-merge
>in a
>word processor.   So I might use something like
>
>Debtor ##dname## filed this petition on ##petdate##
>
>
>to generate
>
>
>Debtor John Doe filed this petition on 1/15/2015
>
>
>
>For short things, it would be easy enough on rendering output to watch
>for
>words starting with ## and place the data field over the word, either
>on
>first render or possibly on the fly with mouseMove.
>
>This won't work "well" for a phrase, though, which can wrap.

This sounds like a job for the merge command. 
-- 
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

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


Re: LC8

2015-10-10 Thread Paul Hibbert
Same here on El Capitan, do you have a bug report number? I can add to it, or I 
can create one if you wish?

Paul

> On 10 Oct 2015, at 09:10, Peter Haworth  wrote:
> 
> I'm still seeing an issue with plugins in LC8 DP7, specifically the options
> as to when a plugin should load.  If I change the setting from "Livecode
> starts up" to "Chosen from plugins menu", quit and restart, the plugin still
> loads at startup.
> 
> 
> 
> --
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/LC8-tp4696964p4697170.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Widget structure questions

2015-10-10 Thread Peter Haworth
Great, thanks Mark, that's very useful.  Like you, I'm parsing the
manifest.xml files myself right now but will check into the
revIDEExtensionProperty and revIDEExtensionsFetchMetadata() handlers.

I'm getting the path to the user extensions folder the same way as
you.  Strange that they'd advise you not to use the official way to get
those paths, especially the system extensions since it will be different on
each platform.

Pete
lcSQL Software 
Home of lcStackBrowser  and
SQLiteAdmin 

On Sat, Oct 10, 2015 at 12:36 PM, Mark Wieder 
wrote:

> On 10/10/2015 11:49 AM, Peter Haworth wrote:
>
>> Thanks Mark.  Do you happen to know if there are any handlers which return
>> these paths or even the information about each widget from its
>> manifest.xml
>> file?  It's easy enough to go through all the files myself and parse the
>> xml myself but probably safer to use official handlers if they exist.
>>
>
> I had similar questions yesterday:
> http://forums.livecode.com/viewtopic.php?f=93=25530
>
> I'm currently parsing the xml myself since I've already created the xml
> tree by the time I need the info, but I'm using the technique in the
> revIDEExtensionsFetchMetadata() function to get the metadata. That way I
> avoid the overhead of creating the xml tree again, but I will probably
> switch to doing that now that I've gotten the word that it's officially
> condoned.
>
> Here's how I get the path to user extensions:
>
> functon LC8UserExtensionsPath
>put revEnvironmentUserPluginsPath() into tPath
>replace quote with empty in tPath
>set the itemdelimiter to "/"
>put "Extensions" into item -1 of tPath
>return tPath
> end LC8UserExtensionsPath
>
> You can also try revIDESpecialFolderPath("extensions") and
> revIDESpecialFolderPath("user extensions"), which work but I've been
> advised not to use them.
>
>
> --
>  Mark Wieder
>  ahsoftw...@gmail.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Widget structure questions

2015-10-10 Thread Mark Wieder

On 10/10/2015 12:36 PM, Mark Wieder wrote:


put revEnvironmentUserPluginsPath() into tPath


I should also point out that the 'revEnvironment...' functions aren't in 
the dictionary but are listed in the Rev V5 release notes.


--
 Mark Wieder
 ahsoftw...@gmail.com

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


Re: customProperties or similar for words in a field?

2015-10-10 Thread Dr. Hawkins
On Sat, Oct 10, 2015 at 8:21 AM, J. Landman Gay 
wrote:

>
> This sounds like a job for the merge command.
>
>
thanks,but that's a one-way trip.  If the user changes something, I need to
know which piece, as it shows up elsewhere.  (And, potentially the user
could change the  base text, too, which would need to be save!)
I need to have wa way to keep a handle on the source of the changed word.
___
use-livecode mailing list
use-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: LC8

2015-10-10 Thread Peter Haworth
Hi Paul,
Didn't create a bug report since there was a not from Ali a few days ago
that this was a known issue and should be fixed in DP6.  If I could find
it, I'd update it :-)

Pete
lcSQL Software 
Home of lcStackBrowser  and
SQLiteAdmin 

On Sat, Oct 10, 2015 at 10:13 AM, Paul Hibbert  wrote:

> Same here on El Capitan, do you have a bug report number? I can add to it,
> or I can create one if you wish?
>
> Paul
>
> > On 10 Oct 2015, at 09:10, Peter Haworth  wrote:
> >
> > I'm still seeing an issue with plugins in LC8 DP7, specifically the
> options
> > as to when a plugin should load.  If I change the setting from "Livecode
> > starts up" to "Chosen from plugins menu", quit and restart, the plugin
> still
> > loads at startup.
> >
> >
> >
> > --
> > View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/LC8-tp4696964p4697170.html
> > Sent from the Revolution - User mailing list archive at Nabble.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
>
___
use-livecode mailing list
use-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 structure questions

2015-10-10 Thread Mark Wieder

On 10/10/2015 10:52 AM, Peter Haworth wrote:

It appears that the files that define the widgets supplied with LC are kept
in Contents/Tools/Extensions folder of the application bundle (on a Mac),
with each widget having its own folder named
com.livecode.extensions.livecode..  Are widgets created by
users kept in the same place?


No, user widgets are in the Extensions folder at the same level as the 
user Plugins folder.


--
 Mark Wieder
 ahsoftw...@gmail.com

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


Re: LC8

2015-10-10 Thread Peter Haworth
Great, thanks Paul.
Pete

Pete
lcSQL Software 
Home of lcStackBrowser  and
SQLiteAdmin 

On Sat, Oct 10, 2015 at 12:20 PM, Paul Hibbert  wrote:

> Pete,
>
> I think I've tracked down the 2 bugs causing this issue in the IDE, it’s
> an easy fix as far as I can see, so I posted a bug report with my findings
> and the recipe for fixing it, that way the LC team can check my findings
> and hopefully fix the problem quickly.
>
> Bug Report: http://quality.runrev.com/show_bug.cgi?id=16187 <
> http://quality.runrev.com/show_bug.cgi?id=16187>
>
> If you want to follow the recipe for the fix, please do so at your own
> risk, I’m no expert at editing the IDE! :-)
>
> Regards,
>
> Paul
>
> > On 10 Oct 2015, at 10:19, Peter Haworth  wrote:
> >
> > Hi Paul,
> > Didn't create a bug report since there was a not from Ali a few days ago
> > that this was a known issue and should be fixed in DP6.  If I could find
> > it, I'd update it :-)
> >
> > Pete
> > lcSQL Software 
> > Home of lcStackBrowser  and
> > SQLiteAdmin 
> >
> > On Sat, Oct 10, 2015 at 10:13 AM, Paul Hibbert 
> wrote:
> >
> >> Same here on El Capitan, do you have a bug report number? I can add to
> it,
> >> or I can create one if you wish?
> >>
> >> Paul
> >>
> >>> On 10 Oct 2015, at 09:10, Peter Haworth  wrote:
> >>>
> >>> I'm still seeing an issue with plugins in LC8 DP7, specifically the
> >> options
> >>> as to when a plugin should load.  If I change the setting from
> "Livecode
> >>> starts up" to "Chosen from plugins menu", quit and restart, the plugin
> >> still
> >>> loads at startup.
> >>>
> >>>
> >>>
> >>> --
> >>> View this message in context:
> >>
> http://runtime-revolution.278305.n4.nabble.com/LC8-tp4696964p4697170.html
> >>> Sent from the Revolution - User mailing list archive at Nabble.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
> >>
> > ___
> > use-livecode mailing list
> > use-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: Paths in Mac standalone headache

2015-10-10 Thread Richard Gaskin

David V Glasgow wrote:

> On 6 Oct 2015, at 2:52 am, Richard Gaskin wrote:
>
>> when the culprit was simply a defaultFolder assignment that didn't
>> take.
>
> Thanks.  Helpful scripts both.  I think it *is* simply a folder
> assignment that doesn’t take.  Not the default folder, but the
> path to the results which I temporarily switch to.
>
> So, Richard, once you had identified the culprit in your directory
> walker script, what did you do?

What we did for years before it occurred to us to add adequate 
error-checking was to spend way too much time pondering recursion. :)


Once we discovered that the recursion was happening not because we had 
directory structures more than 400,000 folders deep but simply because 
"set the directory..." was failing so we kept attempting to get the 
files of the same directory, we stopped doing that.


More specifically, since the directory walker is attempting to walk all 
folders within a given folder, if "the result" is not empty when 
attempting to set "the directory" to any one of them we just skip that 
and move on to the next.


With Mac Classic, where many of us developed our habits (both good and 
bad), the file system had no permissions so setting the directly almost 
never failed as long as the path was valid.  On modern OS X and Linux 
systems, file system-level permissions are a key part of the improved 
security available with those OSes, so now access to a folder is 
something we should no longer take for granted.


I just did a quick search via Google to try to find that thread from 
earlier this year, but came up empty.  If anyone here has better luck it 
may be useful to review it.


If you need a directory walker the function at the top of this page will 
suffice if you add error-checking after the "set the directory" line:



The longer form below it on that page isn't really needed unless you 
have directories nested more than 400,000 deep (likely to result in an 
inode shortage long before you have an opportunity to traverse it in 
LiveCode ).


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

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

Re: Mouse events outside stack bounds on mobile

2015-10-10 Thread Scott Rossi
I've been trying to figure out some option for this, but only thing that comes 
to mind is: allowing the stack to fill the display normally, and manually 
adjusting the card's content to stay centered within the stack. The easiest way 
to do this would be to have all your controls in a group, if that's possible.

Why does does the background portion need to be tappable?

Regards,

Scott Rossi
Creative Director
Tactile Media UX/UI Design

> On Oct 9, 2015, at 6:44 PM, J. Landman Gay  wrote:
> 
> I am using "showAll" fullscreenmode for a mobile stack that uses large 
> background images so that the entire screen will have content when the device 
> is larger than the development stack. For example, the normal stack in the 
> IDE is 414 pixels wide. On the iPhone simulator, there are perhaps 20-30 
> pixels outside that boundary on the edges.
> 
> When I tap on those edge areas outside the "normal" stack boundary, no mouse 
> messages are sent. I need to detect user clicks anywhere on the screen. I 
> tried "noBorder" with the same results. Any suggestions? Given the current 
> layout, letterbox won't work.
> 
> -- 
> 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


Re: customProperties or similar for words in a field?

2015-10-10 Thread Dr. Hawkins
It has also occurred to me to wrap in an html tag or some such to do this.


On Sat, Oct 10, 2015 at 7:58 AM, Dr. Hawkins  wrote:

> Most of what I generate is forms, so keeping track of fields is easy and
> natural.
>
> I am now getting to motions, which will use data much like mail-merge in a
> word processor.   So I might use something like
>
> Debtor ##dname## filed this petition on ##petdate##
>
>
> to generate
>
>
> Debtor John Doe filed this petition on 1/15/2015
>
>
>
> For short things, it would be easy enough on rendering output to watch for
> words starting with ## and place the data field over the word, either on
> first render or possibly on the fly with mouseMove.
>
> This won't work "well" for a phrase, though, which can wrap.
>
>
> But if I could do something on initial render like
>
> put getVal("thePhrase") into theVa
>
> replace word i of tgField with theVal
>
> set the theProp of word i to i + the number of words in theVal -1 to
> "thePhrase"
>
>
> things would be fairly straightforward to monitor.
>
> I need to monitor, as that data changes, it needs o go back into the
> database
>
> --
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
>



-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-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 structure questions

2015-10-10 Thread Peter Haworth
It appears that the files that define the widgets supplied with LC are kept
in Contents/Tools/Extensions folder of the application bundle (on a Mac),
with each widget having its own folder named
com.livecode.extensions.livecode..  Are widgets created by
users kept in the same place?

There's a file in each folder named manifest.xml that describes the widget
including its properties.  For example, the clock widget appears to have a
Timezone property and an IsDay property.  However, when I open the Property
Inspector for a clock widget, I don't see an IsDay property.  I think this
is because IsDay looks like it is read only?

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


help changing the From address when sending email

2015-10-10 Thread Theresa


I'm creating an app that needs to send an email to the user. I've gone through 
the lesson about sending email through LiveCode Server here
http://lessons.runrev.com/m/4070/l/8184-sending-emails-from-livecode-server-scripts
and I get the email to send but no matter what I seem to do, I can't get the 
"from" address to be anything but my server account email. Is there something 
I'm missing? I've tried it using a variable and also just putting a straight 
email address in but I can't get it to change.


___
use-livecode mailing list
use-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 structure questions

2015-10-10 Thread Mark Wieder

On 10/10/2015 11:49 AM, Peter Haworth wrote:

Thanks Mark.  Do you happen to know if there are any handlers which return
these paths or even the information about each widget from its manifest.xml
file?  It's easy enough to go through all the files myself and parse the
xml myself but probably safer to use official handlers if they exist.


I had similar questions yesterday:
http://forums.livecode.com/viewtopic.php?f=93=25530

I'm currently parsing the xml myself since I've already created the xml 
tree by the time I need the info, but I'm using the technique in the 
revIDEExtensionsFetchMetadata() function to get the metadata. That way I 
avoid the overhead of creating the xml tree again, but I will probably 
switch to doing that now that I've gotten the word that it's officially 
condoned.


Here's how I get the path to user extensions:

functon LC8UserExtensionsPath
   put revEnvironmentUserPluginsPath() into tPath
   replace quote with empty in tPath
   set the itemdelimiter to "/"
   put "Extensions" into item -1 of tPath
   return tPath
end LC8UserExtensionsPath

You can also try revIDESpecialFolderPath("extensions") and 
revIDESpecialFolderPath("user extensions"), which work but I've been 
advised not to use them.


--
 Mark Wieder
 ahsoftw...@gmail.com

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


Re: Mouse events outside stack bounds on mobile

2015-10-10 Thread Colin Holgate
showAll doesn’t just center things and reveal extra content, it also scales the 
stack to fill the screen, no matter what size it is.

You would have thought that if the background image is an object with a script 
in it, the touches would register. Maybe you’re using a non-control background 
image?

noBorder might have a better chance, because everything you see is within the 
card area. I don’t see why a card or stack script would fail to pick up touches.

Do the touches respond if you don’t have the background images?


> On Oct 10, 2015, at 3:40 PM, Scott Rossi  wrote:
> 
> I've been trying to figure out some option for this, but only thing that 
> comes to mind is: allowing the stack to fill the display normally, and 
> manually adjusting the card's content to stay centered within the stack. The 
> easiest way to do this would be to have all your controls in a group, if 
> that's possible.
> 
> Why does does the background portion need to be tappable?
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media UX/UI Design
> 
>> On Oct 9, 2015, at 6:44 PM, J. Landman Gay  wrote:
>> 
>> I am using "showAll" fullscreenmode for a mobile stack that uses large 
>> background images so that the entire screen will have content when the 
>> device is larger than the development stack. For example, the normal stack 
>> in the IDE is 414 pixels wide. On the iPhone simulator, there are perhaps 
>> 20-30 pixels outside that boundary on the edges.
>> 
>> When I tap on those edge areas outside the "normal" stack boundary, no mouse 
>> messages are sent. I need to detect user clicks anywhere on the screen. I 
>> tried "noBorder" with the same results. Any suggestions? Given the current 
>> layout, letterbox won't work.
>> 
>> -- 
>> 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


___
use-livecode mailing list
use-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: LC8

2015-10-10 Thread Peter Haworth
I'm still seeing an issue with plugins in LC8 DP7, specifically the options
as to when a plugin should load.  If I change the setting from "Livecode
starts up" to "Chosen from plugins menu", quit and restart, the plugin still
loads at startup.



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/LC8-tp4696964p4697170.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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


Re: Widget structure questions

2015-10-10 Thread Peter Haworth
Yes, I've been using them for a long time now and also wonder why they
aren't in the dictionary.  I think I might have filed a bug report about
that a long while ago but don;t remember for sure.

Pete
lcSQL Software 
Home of lcStackBrowser  and
SQLiteAdmin 

On Sat, Oct 10, 2015 at 12:45 PM, Mark Wieder 
wrote:

> On 10/10/2015 12:36 PM, Mark Wieder wrote:
>
> put revEnvironmentUserPluginsPath() into tPath
>>
>
> I should also point out that the 'revEnvironment...' functions aren't in
> the dictionary but are listed in the Rev V5 release notes.
>
>
> --
>  Mark Wieder
>  ahsoftw...@gmail.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: customProperties or similar for words in a field?

2015-10-10 Thread J. Landman Gay

On 10/10/2015 10:28 AM, Dr. Hawkins wrote:

On Sat, Oct 10, 2015 at 8:21 AM, J. Landman Gay 
wrote:



This sounds like a job for the merge command.



thanks,but that's a one-way trip.  If the user changes something, I need to
know which piece, as it shows up elsewhere.  (And, potentially the user
could change the  base text, too, which would need to be save!)
I need to have wa way to keep a handle on the source of the changed word.


I can't think of anything elegant offhand. What popped into my head was 
a "madlibs" approach where you put up a dialog requesting the various 
data items and save the responses. Not pretty.


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

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


Re: Widget Properties

2015-10-10 Thread Monte Goulding

> On 11 Oct 2015, at 11:06 am, Peter Haworth  wrote:
> 
> I assume widgets can have standard LC built-in properties as well as their
> own specific properties?
> 
> For example if I set the disabled of a widget, it no longer reacts to mouse
> clicks, but if I get its properties, they are empty.
> 
> I know widgets have their own property definitions but I would have thought
> any of the standard built-in properties would have been returned by their
> properties property.

Yes this is an odd one which I’ve queried before. You can now use export widget 
to array to get the widget defined properties as they will be saved. I don’t 
think this includes the base object properties like visible, rect, disabled etc 
though. This is one of the things I need to investigate if I ever have time to 
get lcVCS working on LC 8…

Cheers

Monte
___
use-livecode mailing list
use-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: customProperties or similar for words in a field?

2015-10-10 Thread Scott Rossi
I probably don't understand the scope of the problem, but barring the use
of wordOffset (am guessing some of your strings are multiple words),
perhaps you could use htmlText with custom tags, i.e. Sept 10,
2015 and render the text as htmlText.  In theory, the tags
won't be shown to the user, but will be present in the htmlText.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




>thanks,but that's a one-way trip.  If the user changes something, I need
>to
>know which piece, as it shows up elsewhere.  (And, potentially the user
>could change the  base text, too, which would need to be save!)
>I need to have wa way to keep a handle on the source of the changed word.



___
use-livecode mailing list
use-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 structure questions

2015-10-10 Thread Mark Wieder

On 10/10/2015 12:44 PM, Peter Haworth wrote:


I'm getting the path to the user extensions folder the same way as
you.  Strange that they'd advise you not to use the official way to get
those paths, especially the system extensions since it will be different on
each platform.


Ah. No, sorry, I meant that the revIDESpecialFolderPath() functions were 
the ones I was advised not to use. They're not documented and I get the 
impression they may change or disappear with future builds of the IDE / 
engine. They're handy, but given that the revEnvironment... functions do 
the job neatly I'd stick with them and expect that they'll get 
documented in time.


--
 Mark Wieder
 ahsoftw...@gmail.com

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


Re: Mouse events outside stack bounds on mobile

2015-10-10 Thread J. Landman Gay
Thanks guys, I guess I need to explain the layout better. This is 
Swami's stack, which I think Colin has looked at. I'm pretty sure this 
is a bug, but it just barely borders on understandable behavior so I'm 
not sure. I've run into multiple issues with visual effects, mouse 
messages, and other things with this stack, particularly on Android.


There's a background image (a real image object) on layer 1. Overlaid on 
that is a group containing a field with text. The field is the width of 
the card and scales correctly on mobile (in general; see below.)


The original idea was to swipe vertically to scroll the field text (with 
a native scroller, which works fine) and swipe horizontally to change 
the text and related image. I couldn't make that work because I 
consistently get a mouseDown in the field, but almost never get a 
mouseUp when swiping. I almost asked about that here, but the specs 
changed to use a tap at the sides of the field for navigation so I 
dropped it. I do get both mouseDown and mouseUp for simple taps, so that 
works.


But if the tap is outside the bounds of the original 141px stack width 
(on wider devices) no mouseUp or mouseDown messages are sent at all. 
Visually everything looks fine but nothing triggers. If I tap instead 
within the area of the unscaled stack width, it works.


One thing that clued me in is that we use a scroll down visual effect in 
the rect of the text group to show new text. When the scroll happens, it 
is only as wide as the original 141 pixels, there is no scrolling at the 
edges. When the scroll effect is finished, the screen redraws and 
expands the field to include the full width of the device. It's like the 
scroll is happening inside a narrower column in the middle of the card, 
and then the display is corrected to scale afterward. You can see the 
group pop out to the edges suddenly.


If I watch where the side edges of that column are, and I tap anywhere 
inside it, I get mouse events. If I tap anywhere outside it, no events. 
I did try a noBorder fullscreenMode instead of showAll, but the behavior 
was the same.


Sounds like a bug to me, but we're on a deadline so I was hoping for a 
workaround.



On 10/10/2015 2:59 PM, Colin Holgate wrote:

showAll doesn’t just center things and reveal extra content, it also
scales the stack to fill the screen, no matter what size it is.

You would have thought that if the background image is an object with
a script in it, the touches would register. Maybe you’re using a
non-control background image?

noBorder might have a better chance, because everything you see is
within the card area. I don’t see why a card or stack script would
fail to pick up touches.

Do the touches respond if you don’t have the background images?



On Oct 10, 2015, at 3:40 PM, Scott Rossi 
wrote:

I've been trying to figure out some option for this, but only thing
that comes to mind is: allowing the stack to fill the display
normally, and manually adjusting the card's content to stay
centered within the stack. The easiest way to do this would be to
have all your controls in a group, if that's possible.

Why does does the background portion need to be tappable?

Regards,

Scott Rossi Creative Director Tactile Media UX/UI Design


On Oct 9, 2015, at 6:44 PM, J. Landman Gay
 wrote:

I am using "showAll" fullscreenmode for a mobile stack that uses
large background images so that the entire screen will have
content when the device is larger than the development stack. For
example, the normal stack in the IDE is 414 pixels wide. On the
iPhone simulator, there are perhaps 20-30 pixels outside that
boundary on the edges.

When I tap on those edge areas outside the "normal" stack
boundary, no mouse messages are sent. I need to detect user
clicks anywhere on the screen. I tried "noBorder" with the same
results. Any suggestions? Given the current layout, letterbox
won't work.

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



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


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

Re: Mouse events outside stack bounds on mobile

2015-10-10 Thread J. Landman Gay

On 10/10/2015 8:19 PM, J. Landman Gay wrote:

the original 141px stack width


My brain turned inside out. That should be 414 pixels. It doesn't change 
the problem though.


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

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


Re: Widget Properties

2015-10-10 Thread Peter Haworth
Thanks Monte.  Maybe I should file a QCC report or have you already done so?

Pete
lcSQL Software 
Home of lcStackBrowser  and
SQLiteAdmin 

On Sat, Oct 10, 2015 at 5:18 PM, Monte Goulding  wrote:

>
> > On 11 Oct 2015, at 11:06 am, Peter Haworth  wrote:
> >
> > I assume widgets can have standard LC built-in properties as well as
> their
> > own specific properties?
> >
> > For example if I set the disabled of a widget, it no longer reacts to
> mouse
> > clicks, but if I get its properties, they are empty.
> >
> > I know widgets have their own property definitions but I would have
> thought
> > any of the standard built-in properties would have been returned by their
> > properties property.
>
> Yes this is an odd one which I’ve queried before. You can now use export
> widget to array to get the widget defined properties as they will be saved.
> I don’t think this includes the base object properties like visible, rect,
> disabled etc though. This is one of the things I need to investigate if I
> ever have time to get lcVCS working on LC 8…
>
> Cheers
>
> Monte
> ___
> use-livecode mailing list
> use-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: customProperties or similar for words in a field?

2015-10-10 Thread Dr. Hawkins
On Sat, Oct 10, 2015 at 6:24 PM, Richard Gaskin 
wrote:

> Hello World


That gets back to parsing backwards from the point of insertion, I think .
. .


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-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 Properties

2015-10-10 Thread Peter Haworth
I assume widgets can have standard LC built-in properties as well as their
own specific properties?

For example if I set the disabled of a widget, it no longer reacts to mouse
clicks, but if I get its properties, they are empty.

I know widgets have their own property definitions but I would have thought
any of the standard built-in properties would have been returned by their
properties property.


Pete
lcSQL Software 
Home of lcStackBrowser  and
SQLiteAdmin 
___
use-livecode mailing list
use-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: customProperties or similar for words in a field?

2015-10-10 Thread Richard Gaskin

Scott Rossi wrote:


I probably don't understand the scope of the problem, but barring the use
of wordOffset (am guessing some of your strings are multiple words),
perhaps you could use htmlText with custom tags, i.e. Sept 10,
2015 and render the text as htmlText.  In theory, the tags
won't be shown to the user, but will be present in the htmlText.


Custom HtmlText tags are lost once the htmlText is set, but you can 
store arbitrary hidden text in a field using the span tag with a 
metadata attribute:


Hello World

See p11 of the v5.5.4 Release Notes for useful info on that and other 
supported htmlText tags:



The Dictionary entry for the htmlText property has been updated for most 
tags added in v5.5.4, but not span - reported:



--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

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


Re: customProperties or similar for words in a field?

2015-10-10 Thread Dr. Hawkins
On Sat, Oct 10, 2015 at 5:34 PM, J. Landman Gay 
wrote:

> I can't think of anything elegant offhand. What popped into my head was a
> "madlibs" approach where you put up a dialog requesting the various data
> items and save the responses. Not pretty.
>

I'm partway there.

I parse each input line looking for the ## delimiter.   I set the text
color to empty when not a variable, and to green for the variables.  I also
save the start/end charPos for each green section.

Then when the user edits the field, they could change the boilerplate,
which I could save separately for use other cases or save to the individual
debtor's database, or they could change a rendered green section--and I
could tell which by the color of the insertion point.  Or, on mouseMove, I
could put up an entry over the text (although stuff with line breaks could
get weird . . .).

I've also toyed with the custom html tags suggested by Scott, but wasn't
sure whether they would cause rendering issues with live code.  In that
version, I could have something like

needs to have 123 E. West St.


--but I think I'd have to do all/most of the same things to backtrack from
the position of entry.

I also toyed with a  custom url, like

123 E. West St.


-- but *that* goes into areas I know even less about . . .

Anyway, as I build the output, I maintain the start and end of each piece
for both the input and output.

Now I need to find something like the hlookup()/vlookup() spreadsheet
functions, where the next lowest value is returned for values not in the
list--eg, lookup(5,"3 4 7 8") would return 4.


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-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: Mouse events outside stack bounds on mobile

2015-10-10 Thread J. Landman Gay

On 10/10/2015 8:36 PM, Colin Holgate wrote:

I don’t remember that stack. What is its name? Or, can you post or email the 
current version?


"Gurudeva". I thought he posted a link to a very early version and you 
took a look. You suggested using showAll, actually. I'll see if I can 
send you a copy.


As it turns out, a user's finger is wider than the dead spot so we may 
be okay. It's still a bug, and the visual effect is weird looking, but 
the end result may still be usable. I was testing on the iOS simulator, 
and the pointer can click into narrow spaces where a finger can't.


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


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

Re: LC 8 Property Inspector

2015-10-10 Thread Richard Gaskin

Mark Wieder wrote:

> ...we have reached the point where LC8 is no longer "LC7 with
> widgets"... there's a serious divide here. So while I can play
> around with LC8 and try to figure out the new gadgety things
> that are being thrown our way, in order to get any work done
> I'm using tools that will soon be end-of-lifed.
>
> I'm no fan of the current property inspector. Or the application
> browser, for that matter. But right now they allow me to get
> work done.
> So I'm a bit dismayed that rather than fixing/improving these tools,
> they've just been replaced wholesale, and judging by the controversy
> this has raised it appears I'm not alone.

I see three options, listed here in order of ascending weirdness, though 
I feel obliged to note that "weird" simply means "of or pertaining to 
the supernatural", which is not necessarily a bad thing:



Weird: Finish Github-compatible tools to allow community contributions
--
Given the variety of array-based and XML-based tools we already have for 
comparing stack files, and that all that needs to happen is some way to 
help the team identify and review changes efficiently, this may not be 
quite as onerous as it once seemed if managed by competent trusted 
community members in a check-in/check-out workflow.



Weirder: Fork the IDE and maintain it through any convenient means
--
The longest-running open source project in the history of the LiveCode 
engine was the MetaCard IDE, managed through an informal 
check-in/check-out process using technology no more sophisticated than 
email.  True, the MC IDE was a far less complex beast, but we were kids 
with far less experience. :)  We can't expect the company to fold our 
updated IDE into the product build (thought they're welcome to if they 
like and perhaps it may be very cost-effective to consider it), but at a 
minimum we could make a simple plugin that installs it and updates 
independently of the product build, just as Jacque did with her MC Setup 
plugin (available in RevOnline).



Weirdest: Replace the IDE with the best of community components
---
Like the "Weirder" option above, this would be independent of the 
product build, but would open the door for anyone to do whatever they 
want.  Bjornke's BVGDocu could replace the Dictionary, Peter's 
lcStackBrowser could replace the App and Proj browsers, your GLX2 editor 
could replace the Script Editor, etc.


At that point the IDE becomes a very slender thing, just a tool rack on 
which we hang our own tools.  And the tools within it would not only be 
the best of what the community has to offer, but could also be 
interchangeable.


I started down this road with the latest version of my devolution 
toolkit, but since I already have it set up with my own favorites I 
haven't spent the time finishing that part of it (see the disabled group 
in the middle of this Prefs window):



The idea there is that the option controls allow the user to pick the 
built-in IDE tool, or any plugin, to be opened when clicking the 
corresponding button to the left.


Finishing something like that wouldn't be hard, merely tedious, so you'd 
be able to assign any stacks to specific menu and/or buttons used to 
access them.


The weird soul using such an IDE could keep any LC parts if they like, 
or replace any parts with any suitably robust plugin, according to their 
whims.


It's like the thing I like most about Linux:  although people in the 
Linux world enjoy arguing about darn near everything, the fact is 
there's actually little to argue about since the system is so flexible 
and has so many components available there's no reason why everyone 
can't have exactly what they most desire.


--
 Richard Gaskin
 LiveCode Community Manager
 rich...@livecode.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: Widget structure questions

2015-10-10 Thread Mark Waddingham
I don't think I expressed myself very well in the bug report you filed...

The examples for syntax shouldn't use undocumented / ide functions - as it is 
misleading.

The ide functions as yet aren't documented but at some point will be as a 'how 
to write ide components' reference.

However, that being said, there are IDE APIs for accessing all information 
related to widgets so using those is the best approach for such things rather 
than writing bespoke code that processes their form on disk and in XML files.

The best thing to do is to have a look through revidelibrary and 
revideextensionlibrary.

Mark.

Sent from my iPhone

> On 11 Oct 2015, at 01:23, Mark Wieder  wrote:
> 
>> On 10/10/2015 12:44 PM, Peter Haworth wrote:
>> 
>> I'm getting the path to the user extensions folder the same way as
>> you.  Strange that they'd advise you not to use the official way to get
>> those paths, especially the system extensions since it will be different on
>> each platform.
> 
> Ah. No, sorry, I meant that the revIDESpecialFolderPath() functions were the 
> ones I was advised not to use. They're not documented and I get the 
> impression they may change or disappear with future builds of the IDE / 
> engine. They're handy, but given that the revEnvironment... functions do the 
> job neatly I'd stick with them and expect that they'll get documented in time.
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

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


Re: Mouse events outside stack bounds on mobile

2015-10-10 Thread Colin Holgate
I don’t remember that stack. What is its name? Or, can you post or email the 
current version?


> On Oct 10, 2015, at 9:19 PM, J. Landman Gay  wrote:
> 
> Thanks guys, I guess I need to explain the layout better. This is Swami's 
> stack, which I think Colin has looked at. I'm pretty sure this is a bug, but 
> it just barely borders on understandable behavior so I'm not sure. I've run 
> into multiple issues with visual effects, mouse messages, and other things 
> with this stack, particularly on Android.
> 
> There's a background image (a real image object) on layer 1. Overlaid on that 
> is a group containing a field with text. The field is the width of the card 
> and scales correctly on mobile (in general; see below.)
> 
> The original idea was to swipe vertically to scroll the field text (with a 
> native scroller, which works fine) and swipe horizontally to change the text 
> and related image. I couldn't make that work because I consistently get a 
> mouseDown in the field, but almost never get a mouseUp when swiping. I almost 
> asked about that here, but the specs changed to use a tap at the sides of the 
> field for navigation so I dropped it. I do get both mouseDown and mouseUp for 
> simple taps, so that works.
> 
> But if the tap is outside the bounds of the original 141px stack width (on 
> wider devices) no mouseUp or mouseDown messages are sent at all. Visually 
> everything looks fine but nothing triggers. If I tap instead within the area 
> of the unscaled stack width, it works.
> 
> One thing that clued me in is that we use a scroll down visual effect in the 
> rect of the text group to show new text. When the scroll happens, it is only 
> as wide as the original 141 pixels, there is no scrolling at the edges. When 
> the scroll effect is finished, the screen redraws and expands the field to 
> include the full width of the device. It's like the scroll is happening 
> inside a narrower column in the middle of the card, and then the display is 
> corrected to scale afterward. You can see the group pop out to the edges 
> suddenly.
> 
> If I watch where the side edges of that column are, and I tap anywhere inside 
> it, I get mouse events. If I tap anywhere outside it, no events. I did try a 
> noBorder fullscreenMode instead of showAll, but the behavior was the same.
> 
> Sounds like a bug to me, but we're on a deadline so I was hoping for a 
> workaround.
> 
> 
> On 10/10/2015 2:59 PM, Colin Holgate wrote:
>> showAll doesn’t just center things and reveal extra content, it also
>> scales the stack to fill the screen, no matter what size it is.
>> 
>> You would have thought that if the background image is an object with
>> a script in it, the touches would register. Maybe you’re using a
>> non-control background image?
>> 
>> noBorder might have a better chance, because everything you see is
>> within the card area. I don’t see why a card or stack script would
>> fail to pick up touches.
>> 
>> Do the touches respond if you don’t have the background images?
>> 
>> 
>>> On Oct 10, 2015, at 3:40 PM, Scott Rossi 
>>> wrote:
>>> 
>>> I've been trying to figure out some option for this, but only thing
>>> that comes to mind is: allowing the stack to fill the display
>>> normally, and manually adjusting the card's content to stay
>>> centered within the stack. The easiest way to do this would be to
>>> have all your controls in a group, if that's possible.
>>> 
>>> Why does does the background portion need to be tappable?
>>> 
>>> Regards,
>>> 
>>> Scott Rossi Creative Director Tactile Media UX/UI Design
>>> 
 On Oct 9, 2015, at 6:44 PM, J. Landman Gay
  wrote:
 
 I am using "showAll" fullscreenmode for a mobile stack that uses
 large background images so that the entire screen will have
 content when the device is larger than the development stack. For
 example, the normal stack in the IDE is 414 pixels wide. On the
 iPhone simulator, there are perhaps 20-30 pixels outside that
 boundary on the edges.
 
 When I tap on those edge areas outside the "normal" stack
 boundary, no mouse messages are sent. I need to detect user
 clicks anywhere on the screen. I tried "noBorder" with the same
 results. Any suggestions? Given the current layout, letterbox
 won't work.
 
 -- Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   |
 http://www.hyperactivesw.com
> 
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___

Re: Forking Versions

2015-10-10 Thread Monte Goulding
git will throw an error if you try to push and your commits aren't ancestors of 
the head of the branch you are pushing. You can get around this by force 
pushing but don't do that... Nasty... I don't even know why git allows it.

Sent from my iPhone

> On 10 Oct 2015, at 4:57 pm, Mark Wieder  wrote:
> 
> That way if anyone has pushed anything to the common repository before your 
> latest pull from it, you have a chance to get the latest changes locally, 
> make sure there aren't any conflicts, and only then is it safe to push your 
> changes up.

___
use-livecode mailing list
use-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: Learning Materials

2015-10-10 Thread Steven Crighton
Thanks for your messages on the new learning course.

We are constantly working on improving our learning materials. Create it V1
was a good start but as you pointed out it did come with some issues.

With this version we have decided to focus our efforts by creating a course
with less apps but greater content and strengthened resources.

We have rewritten the code, added more learning outcomes, filmed new videos
and created brand new slides.

Unlike the original Create it course this new course is available without
the need for a paid license subscription.

Everyone who was part of Create it V1 will receive this course in their
account at some point next week with no extra charge.

Thanks

Steven Crighton

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