From james at thehales.id.au Fri Apr 1 00:53:56 2016 From: james at thehales.id.au (James Hale) Date: Fri, 1 Apr 2016 15:53:56 +1100 Subject: Script Only Stack Architecture Message-ID: <28E3D1C2-F2E4-48C6-84F9-0BFA51E71B41@thehales.id.au> I fail to see the inclusion of examples of the syntax to a dictionary entry as bloat. I may be one of only a few but I find many of the dictionary entries opaque to say the least. Ali's example of how one would employ a script only stack as a behavior is a case in point. It immediately makes employing this method accessible and understandable. It would have also saved a lot of head scratching on the part of the OP as well as a lot of divergent discussion, which although helpful in explaining behaviors to the uninitiated (thank you Richard), still was,no where near as clear as Ali's (corrected) example in answering the original question. James From ambassador at fourthworld.com Fri Apr 1 00:56:24 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 31 Mar 2016 21:56:24 -0700 Subject: Script Only Stack Architecture In-Reply-To: References: Message-ID: <56FDFF78.2080909@fourthworld.com> Matt Maier wrote: > You keep citing the theoretically limitless number of contingencies > that, if addressed, could bloat the dictionary beyond readability. > There's a simple solution to that problem: don't go looking for > theoretical problems. > > Instead, just correct, massage, or add to the dictionary entry when > someone has a problem relevant to that entry. I like "just". It makes everything sound so easy, which I suppose it is when it's about things for other people to do. I'm a volunteer, like most here. In addition to helping others learn LiveCode I also have other obligations. So while I might enjoy writing the documentation enhancements proposed here, as a practical matter I must admit my limitations and continue to encourage others here to write whatever they feel is important to include. As I've noted here before, this blog post offers some helpful guidance for community members to get started contributing to the documentation to make it more of they want: > That's a big part of helping people learn on their own. Putting the > information they need right where they need it, rather than putting it > somewhere and challenging them to go find it. Please. No one is attempting to make things unnecessarily difficult to find. I agree that it's important to put information *right where they need it*. That implies the information have a discernible taxonomy. I see no harm, and indeed much value, in having different kinds of documentation for different purposes. In this thread there are maybe half a dozen language tokens at play. The central issue doesn't appear to be specific to any one of them, but deals more with the relationships between them. Given this, a single Dictionary entry seems a challenging place for such a discussion; replicating the discussion in all relevant entries more so. A tutorial seems a better fit. So I wrote one. And given more time later on I'll work with the team to integrate it into the docs. But at least at the moment the OP has what he was looking for, and along the way Bill and I planned a lunch. :) For the long term, I see the biggest opportunity in maintaining the different types of documentation we have, but making them more modular and interlinked. So rather than replicate a tutorial within each related token entry, the entries could just include a link to it. This provides ready access to in-depth discussion for those who want it, while leaving the Dictionary content efficiently focused for everyone else who may not have the same question. But that's just my own opinion. If you feel this is better suited in the Dictionary specifically, let's move beyond the theoretical and get down to business: what is it that should be written, and where? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Fri Apr 1 01:18:07 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 31 Mar 2016 22:18:07 -0700 Subject: Script Only Stack Architecture In-Reply-To: <28E3D1C2-F2E4-48C6-84F9-0BFA51E71B41@thehales.id.au> References: <28E3D1C2-F2E4-48C6-84F9-0BFA51E71B41@thehales.id.au> Message-ID: <56FE048F.8010705@fourthworld.com> James Hale wrote: > I fail to see the inclusion of examples of the syntax to a dictionary > entry as bloat. Excellent. That makes it unanimous, as I've not seen anyone else here argue against having syntax examples in the Dictionary either. In fact, I can't think of any Dictionary entry that doesn't have at least one, and many have several. > I may be one of only a few but I find many of the dictionary entries > opaque to say the least. Aye, there's the rub: examples are good, excellent examples are great. > Ali's example of how one would employ a script only stack as a > behavior is a case in point. It immediately makes employing this > method accessible and understandable. As we've seen throughout this thread, there are many ways to solve problems, and some will resonate well with some readers and other forms with other readers. For example, the form Ali offered is useful for the unusual demands of the IDE but isn't commonly used elsewhere. It reads nicely, but it's not nearly as lean as no code at all. As noted very early on in this thread, there are reasons why it's sometimes necessary to write extra scripts that assign behaviors to objects at runtime. But the beauty of a property setting is that you set it once in the IDE and never have to touch it again. Writing a script to do that for you isn't the hardest thing in the world, but if you have a hundreds objects it can get tedious to type. And with the IDE tools in most cases you don't need to be scripting that at all. Its good choice where it's used in the IDE, but the IDE has unusual requirements. For example, the revMenubar stack creates all of its objects and sets all of their properties on the fly in script. Useful for the very specific reasons they did it, but most of us just use the GUI tools and enjoy not having to define every visual element in long code blocks like C coders are accustomed to. Indeed, having an integrated GUI is often a big part of why we choose xTalks. All that said, it never hurts to have another syntax example. Feel free to add it - these guidelines can help you get started: https://livecode.com/putting-the-you-in-documentation/ -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Fri Apr 1 01:35:46 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 31 Mar 2016 22:35:46 -0700 Subject: Difficulty using Livecode.com In-Reply-To: References: Message-ID: <56FE08B2.8000902@fourthworld.com> Jim, you're my new hero. Everyone has all sorts of opinions about the web site, but you took the time to document your journey through the taxonomy, noting each specific step. Well done. It may seem like basic stuff and it is. But of course the site at passed review when it was posted, so it seems link rot set in along the way with other changes. Your detailed steps will be very helpful in getting that resolved. I've forwarded your notes to the web designer, who will no doubt review them with great interest as they continue their site refinements in anticipation of the v8 launch. If just want to get started with a download, use the Download links to take you here: http://downloads.livecode.com/livecode/ Thanks again for your notes. -- Richard Gaskin Fourth World Systems Jim Byrnes wrote: > As a new user I sometimes find Livecode.com difficult to use. Generally > speaking I find some parts of it not very intuitive. Specifically I had > this problem: > > [1] I go to Livecode.com and click on the Get Started button. > > [2] That takes me here: https://livecode.com/download/. Since I have > already downloaded Livecode, I fill out my firstname and email and click > the Get Started button. > > [3] I am informed (correctly) that this email is already associated with > a Livecode account, log in (here) instead. So I click (here) and go > here: https://livecode.com/download/ and log in. > > [4] Then I am taken to here: > http://livecode.com/account/products/livecode. At this point I am > wondering why I was not taken back to the getting started page to move > on in the app building tutorial. > > [5] Not sure what I should do at this point. I go back to livecode.com. > I fill out the form again and click the get started button and receive > the same message about logging in, but I just logged in and the site > seems to know I am logged in because my name is displayed in the upper > right hand corner. > > Maybe the page is only for people that do not have an account, but > sending a person that has an account on an endless loop leads to a > frustrating experience. > > Of course maybe I am misunderstanding something about the site, if so I > would appreciate someone showing me where I went wrong. > > Regards, Jim From tore.nilsen at me.com Fri Apr 1 01:41:01 2016 From: tore.nilsen at me.com (Tore Nilsen) Date: Fri, 01 Apr 2016 07:41:01 +0200 Subject: Difficulty using Livecode.com In-Reply-To: References: Message-ID: <19DEA2EE-5615-49C0-BAC0-7F0A887A948A@me.com> If you want to access the app building course you should click on your name in the upper right corner of the web page (when you are logged in). You will then find a link to the app building course in the menu to the left of the new page which contains various information about your lisences. Tore > 1. apr. 2016 kl. 03.24 skrev Jim Byrnes : > > As a new user I sometimes find Livecode.com difficult to use. Generally speaking I find some parts of it not very intuitive. Specifically I had this problem: > > [1] I go to Livecode.com and click on the Get Started button. > > [2] That takes me here: https://livecode.com/download/. Since I have already downloaded Livecode, I fill out my firstname and email and click the Get Started button. > > [3] I am informed (correctly) that this email is already associated with a Livecode account, log in (here) instead. So I click (here) and go here: https://livecode.com/download/ and log in. > > [4] Then I am taken to here: http://livecode.com/account/products/livecode. At this point I am wondering why I was not taken back to the getting started page to move on in the app building tutorial. > > [5] Not sure what I should do at this point. I go back to livecode.com. > I fill out the form again and click the get started button and receive the same message about logging in, but I just logged in and the site seems to know I am logged in because my name is displayed in the upper right hand corner. > > Maybe the page is only for people that do not have an account, but sending a person that has an account on an endless loop leads to a frustrating experience. > > Of course maybe I am misunderstanding something about the site, if so I would appreciate someone showing me where I went wrong. > > Regards, Jim > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Fri Apr 1 02:41:20 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 1 Apr 2016 06:41:20 +0000 Subject: LC 8 DP 16 - Can't Edit Script of Behavior if it is Button? Message-ID: I was looking to pull a bahavior in a button from one stack into a script-only stack in a new stack. in the "old stack" I clicked on the field that had the behavior button id 1161 of stack "oldStack" then hit "Edit Script" --> got nothing. had it been a script-only stack, the script editor would have open it. Why not a button? Now I have to hunting for btn 1161 BR From brahma at hindu.org Fri Apr 1 02:54:44 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 1 Apr 2016 06:54:44 +0000 Subject: LC 8 DP 16 - Can't Edit Script of Behavior if it is Button? In-Reply-To: References: Message-ID: Never mind... LC8 still has this problem it remembers the location of stack windows on Monitor 2 and if you quit and open LC on Monitor 1 without Monitor 2 attached... the windows are "stuck off in space" as is the script editor in this case... I'm trying to find out what the stack is called so i can set the loc to the screen lock. On March 31, 2016 at 8:41:20 PM, Sannyasin Brahmanathaswami (brahma at hindu.org) wrote: then hit "Edit Script" --> got nothing. From ali.lloyd at livecode.com Fri Apr 1 02:59:26 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Fri, 01 Apr 2016 06:59:26 +0000 Subject: LC 8 DP 16 - Can't Edit Script of Behavior if it is Button? In-Reply-To: References: Message-ID: I'm somewhere between pretty sure and absolutely certain this is nothing to do with the fact that it is a button. Try edit script of button id 1161 of stack "oldStack" in the message box. Probably there is no button with that id, or no stack "oldStack" in memory. On Fri, Apr 1, 2016 at 7:41 AM Sannyasin Brahmanathaswami wrote: > I was looking to pull a bahavior in a button from one stack into a > script-only stack in a new stack. > > in the "old stack" I clicked on the field that had the behavior > > button id 1161 of stack "oldStack" > > then hit "Edit Script" --> got nothing. > > had it been a script-only stack, the script editor would have open it. > > Why not a button? > > Now I have to hunting for btn 1161 > > BR > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From toolbook at kestner.de Fri Apr 1 03:17:41 2016 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 1 Apr 2016 09:17:41 +0200 Subject: AW: Using LC for Interactive Tutorial In-Reply-To: References: Message-ID: <001901d18be6$94815d60$bd841820$@kestner.de> That is a really nice feature! But I don't find any notes in Alis blog on how I can create such an interactive tutorial for my own runtimes. Is this intended to be, or is it only for the use of LiveCode.com? Tiemo >> Find out how to write your own interactive tutorial using the building blocks Ali has provided. Warm Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ali.lloyd at livecode.com Fri Apr 1 03:23:42 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Fri, 01 Apr 2016 07:23:42 +0000 Subject: Using LC for Interactive Tutorial In-Reply-To: <1459461930396-4702902.post@n4.nabble.com> References: <1459461930396-4702902.post@n4.nabble.com> Message-ID: I would have to answer 'not at the moment' to all of the above! They are all possibilities, but we will probably have to gauge interest to decide where we take it next. I'm not sure the interactive tutorial format will lend itself well to explaining how to create interactive tutorials, but I won't rule it out :-) The priority there is probably creating a tutorial-authoring plugin. On Thu, Mar 31, 2016 at 11:05 PM Alejandro Tejada wrote: > This is Amazing! :D > > Just a few questions: > > Does this new feature offers a method to display custom stacks > that execute messages and display animations? > > Could we use this new feature in our own stacks and applications? > > When are we going to see an interactive tutorial that > explains how to create interactive tutorials? :-) > > Alejandro > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Using-LC-for-Interactive-Tutorial-tp4702865p4702902.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lan.kc.macmail at gmail.com Fri Apr 1 03:28:23 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 1 Apr 2016 15:28:23 +0800 Subject: Script Only Stack Architecture In-Reply-To: <56FDD24D.4090805@fourthworld.com> References: <56FDD24D.4090805@fourthworld.com> Message-ID: On Fri, Apr 1, 2016 at 9:43 AM, Richard Gaskin wrote: > > That's precisely why I advocate maintaining the Dictionary as an essential > reference (as in "essence"); it should be easy to link to relevant tutorials > and guides for more complete discussion when desired. > Could you give me an example of a Dictionary entry that has a link to a Guide or Tutorial? I did a quick look for the obvious; database, datagrid, behaviour. At this stage I'm not sure there is a Dictionary Tag for Guides and Tutorials. Would they just be included in the Reference Tag or as a basic html link to Tutorials? Whilst I agree with you in principle, and that is certainly the destination we need to be headed, at this point in time I've got to agree with Matt. I think there are plenty of nuggets out there that the community could put into the Dictionary. When the load gets to large to carry (or the guides and tutorials have been created along with a way to link to them) then some sifting can happen. From toolbook at kestner.de Fri Apr 1 05:42:38 2016 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 1 Apr 2016 11:42:38 +0200 Subject: Why isn't isoToMac anymore needed with LC 8 custom props? Message-ID: <002901d18bfa$d577fb30$8067f190$@kestner.de> Hello, I am storing some text in custom properties. Developing on Windows I always put the text with isoToMac into a field, when the platform is MacOS. With LC 8 the German Umlauts get corrupted, when using this LC 6 method, but when just putting the pure custom property into the field, like on windows, everything works fine, even on a Mac. Just for my understanding I would like to know, why this isn't necessary anymore in LC 8. Am I right, that the text now is stored in Unicode in the custom property, when I save the file on windows and therefore I don't have to translate it anymore on Mac, when using this custom property? If yes, when do I still need isoToMac? Or is LC8 now analyzing even custom properties and translates those texts automatically? Tiemo From peter.brett at livecode.com Fri Apr 1 05:47:02 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Fri, 01 Apr 2016 11:47:02 +0200 Subject: Why isn't isoToMac anymore needed with LC 8 custom =?UTF-8?Q?props=3F?= In-Reply-To: <002901d18bfa$d577fb30$8067f190$@kestner.de> References: <002901d18bfa$d577fb30$8067f190$@kestner.de> Message-ID: <42fedc534d18dddc875bbd6fe242775e@livecode.com> On 2016-04-01 11:42, Tiemo Hollmann TB wrote: > Just for my understanding I would like to know, why this isn't > necessary > anymore in LC 8. Am I right, that the text now is stored in Unicode in > the > custom property, when I save the file on windows and therefore I don't > have > to translate it anymore on Mac, when using this custom property? Yes, you are right. Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From pmbrig at gmail.com Fri Apr 1 10:21:03 2016 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 1 Apr 2016 10:21:03 -0400 Subject: Script Only Stack Architecture In-Reply-To: <56FD7DE9.3030206@fourthworld.com> References: <56FD7DE9.3030206@fourthworld.com> Message-ID: Re this discussion on behaviors and chained behaviors, would there be any use for a new engine-based property like "the effective scripts of " that would return the script of the object and all the behavior scripts in its chain? Perhaps as an array, with the control references as keys? I don't use behaviors much, but I sometimes run into the problem of needing to access the behavior script of an object, when I've forgotten which behavior button I used. It's a pain to open the object inspector and copy the behavior reference then use the message box to to "open script of?" But as I say, I don't use behaviors as much as I should, perhaps. Those who use them a lot will be better able to chime in on how useful or superfluous the idea might be. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 31, 2016, at 3:43 PM, Richard Gaskin wrote: > Sannyasin Brahmanathaswami wrote: > > > ergo: merely opening a script-only stack that is applied as a > > behavior to a control (not global in scope) does *not* place > > into the msg path. > > Respectfully, your recipe would be easier to follow without the steps unrelated to the actions we're exploring (making folders and such - the folder locations are unrelated to the problem). > > Remember guideline #2 in my earlier post: > > 2. When using behaviors, the object containing the behavior script > must be in memory when anything relying on it is brought into > memory. > > > If I'm following your recipe correctly, the field object that uses the behavior is in a stack that opens and then loads the stack used to define the behavior. > > This means that at the moment the field object is unpacked for use it contains a reference to a behavior object not yet in memory. > > The engine (in its current form; we can expect this to be improved later as time permits) will only attempt to resolve a behavior once, when the object dependent on the behavior is brought into memory. > > Even if you later open a stack containing the behavior script, by that time it's too late. The object depending on it has already been unpacked, the behavior reference already attempted, and having failed it will not be retried as other stacks are later opened. > > For the moment let's forget that in your case the stack file used as a behavior object is a script-only stack. The storage format doesn't affect anything at runtime, and may be distracting here. Let's just focus on the load order: > > > SIMPLIFIED RECIPE > ----------------- > Stack "MyTestStack" has a field, which is assigned stack "MyBehaviorStack" as its behavior property. > > Stack "MyBehaviorStack" is a separate stack file. > > > POSSIBLE SOLUTIONS > ------------------ > Options for correct behavior esolution when "MyTestStack" is loaded include: > > > a) Open "MyBehaviorStack" first. > ----------------------------- > In an application this may mean introducing one more stack, which > we could call "MyBootStack", which first opens "MyBehaviorStack" > and then opens "MyTestStack". > > > b) Load "MyBehaviorStack" into memory without opening it. > ------------------------------------------------------ > This can be done by accessing a property of "MyBehaviorStack", > such as the stack's name. This still requires "MyBootStack" > to make sure that "MyBehaviorStack" is in memory before > "MyTestStack" is opened, but has the minor convenience of > not being visible to the user and triggers no opening messages. > > > c) Include "MyBehaviorStack" in the stackFiles prop of "MyTestStack". > ----------------------------------------------------------------- > Any stack files specified in the stackFiles property of a stack > are loaded into memory at the same time the stack containing that > list is loaded. In terms of boot sequence it's functionally > similar to having those separate stack files as substacks, but > with the advantage of keeping them separate. > > > a) and b) conform to Guideline #2 above in an obvious way, explicitly putting "MyBehaviorStack" into memory before "MyTestStack" will be opened to need it. > > c) works because stack files listed in the stackFiles property are all loaded with the stack listing them, before behavior resolution takes place. > > > This seems harder than it is in part because you're super smart and are just thinking too hard. :) > > Relax. Put script-only stuff out of your mind, and just think about the load order. > > Behaviors are among the most powerful things ever introduced in the xTalk family of languages. I waited literally 20 years for them, since Allegiant first accepted my proposal for parentScripts but then went belly-up before they could implement it. Well worth even that wait: they greatly simplify so many aspects of building complex systems, and simple systems become simpler. > > The load order rule (Guideline #2 above) in LC is a bit funkier than we'd hope for, but even that's not hard to accommodate once we understand it. > > Pick a, b, or c, to handle the load order, and the world is your oyster. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ali.lloyd at livecode.com Fri Apr 1 10:34:31 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Fri, 01 Apr 2016 14:34:31 +0000 Subject: Script Only Stack Architecture In-Reply-To: References: <56FD7DE9.3030206@fourthworld.com> Message-ID: > It's a pain to open the object inspector and copy the behavior reference > then use the message box to to "open script of?" This is no longer necessary in the latest DPs of 8.0 - the behavior property in the property inspector has an 'edit script' button. On Fri, Apr 1, 2016 at 3:21 PM Peter M. Brigham wrote: > Re this discussion on behaviors and chained behaviors, would there be any > use for a new engine-based property like "the effective scripts of > " that would return the script of the object and all the behavior > scripts in its chain? Perhaps as an array, with the control references as > keys? I don't use behaviors much, but I sometimes run into the problem of > needing to access the behavior script of an object, when I've forgotten > which behavior button I used. It's a pain to open the object inspector and > copy the behavior reference then use the message box to to "open script of?" > > But as I say, I don't use behaviors as much as I should, perhaps. Those > who use them a lot will be better able to chime in on how useful or > superfluous the idea might be. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > On Mar 31, 2016, at 3:43 PM, Richard Gaskin wrote: > > > Sannyasin Brahmanathaswami wrote: > > > > > ergo: merely opening a script-only stack that is applied as a > > > behavior to a control (not global in scope) does *not* place > > > into the msg path. > > > > Respectfully, your recipe would be easier to follow without the steps > unrelated to the actions we're exploring (making folders and such - the > folder locations are unrelated to the problem). > > > > Remember guideline #2 in my earlier post: > > > > 2. When using behaviors, the object containing the behavior script > > must be in memory when anything relying on it is brought into > > memory. > > > > > > If I'm following your recipe correctly, the field object that uses the > behavior is in a stack that opens and then loads the stack used to define > the behavior. > > > > This means that at the moment the field object is unpacked for use it > contains a reference to a behavior object not yet in memory. > > > > The engine (in its current form; we can expect this to be improved later > as time permits) will only attempt to resolve a behavior once, when the > object dependent on the behavior is brought into memory. > > > > Even if you later open a stack containing the behavior script, by that > time it's too late. The object depending on it has already been unpacked, > the behavior reference already attempted, and having failed it will not be > retried as other stacks are later opened. > > > > For the moment let's forget that in your case the stack file used as a > behavior object is a script-only stack. The storage format doesn't affect > anything at runtime, and may be distracting here. Let's just focus on the > load order: > > > > > > SIMPLIFIED RECIPE > > ----------------- > > Stack "MyTestStack" has a field, which is assigned stack > "MyBehaviorStack" as its behavior property. > > > > Stack "MyBehaviorStack" is a separate stack file. > > > > > > POSSIBLE SOLUTIONS > > ------------------ > > Options for correct behavior esolution when "MyTestStack" is loaded > include: > > > > > > a) Open "MyBehaviorStack" first. > > ----------------------------- > > In an application this may mean introducing one more stack, which > > we could call "MyBootStack", which first opens "MyBehaviorStack" > > and then opens "MyTestStack". > > > > > > b) Load "MyBehaviorStack" into memory without opening it. > > ------------------------------------------------------ > > This can be done by accessing a property of "MyBehaviorStack", > > such as the stack's name. This still requires "MyBootStack" > > to make sure that "MyBehaviorStack" is in memory before > > "MyTestStack" is opened, but has the minor convenience of > > not being visible to the user and triggers no opening messages. > > > > > > c) Include "MyBehaviorStack" in the stackFiles prop of "MyTestStack". > > ----------------------------------------------------------------- > > Any stack files specified in the stackFiles property of a stack > > are loaded into memory at the same time the stack containing that > > list is loaded. In terms of boot sequence it's functionally > > similar to having those separate stack files as substacks, but > > with the advantage of keeping them separate. > > > > > > a) and b) conform to Guideline #2 above in an obvious way, explicitly > putting "MyBehaviorStack" into memory before "MyTestStack" will be opened > to need it. > > > > c) works because stack files listed in the stackFiles property are all > loaded with the stack listing them, before behavior resolution takes place. > > > > > > This seems harder than it is in part because you're super smart and are > just thinking too hard. :) > > > > Relax. Put script-only stuff out of your mind, and just think about the > load order. > > > > Behaviors are among the most powerful things ever introduced in the > xTalk family of languages. I waited literally 20 years for them, since > Allegiant first accepted my proposal for parentScripts but then went > belly-up before they could implement it. Well worth even that wait: they > greatly simplify so many aspects of building complex systems, and simple > systems become simpler. > > > > The load order rule (Guideline #2 above) in LC is a bit funkier than > we'd hope for, but even that's not hard to accommodate once we understand > it. > > > > Pick a, b, or c, to handle the load order, and the world is your oyster. > > > > -- > > Richard Gaskin > > Fourth World Systems > > Software Design and Development for the Desktop, Mobile, and the Web > > ____________________________________________________________________ > > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Fri Apr 1 10:50:57 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 1 Apr 2016 07:50:57 -0700 Subject: Script Only Stack Architecture In-Reply-To: References: Message-ID: <56FE8AD1.7090001@fourthworld.com> Kay C Lan wrote: > On Fri, Apr 1, 2016 at 9:43 AM, Richard Gaskin wrote: >> >> That's precisely why I advocate maintaining the Dictionary as >> an essential reference (as in "essence"); it should be easy >> to link to relevant tutorials and guides for more complete >> discussion when desired. >> > Could you give me an example of a Dictionary entry that has a link > to a Guide or Tutorial? So many things in my life would be much simpler if "advocate" meant the same as "have been given authority and resources to have done it". But unfortunately my world is not so simple. :) So in short, "not yet". > Would they just be included in the Reference Tag or as a basic html > link to Tutorials? Matt's request (in keeping with many others') is that we try to avoid requiring users to go to a generic Search or index to find things, that we "put the information where they need it", and I've wholeheartedly agreed. To support that I would advocate that such links would be included directly in the Markdown of relevant Dictionary entries. As for the alternative, in v8 I believe all tutorials and guides are already listed in the Help index, no? > Whilst I agree with you in principle, and that is certainly the > destination we need to be headed Glad to hear it. Peter Brett and I have some similar ideas about how to take advantage of the new docs format, now that the team has completed the considerable task of converting everything to Markdown. If you like that idea I'm sure you'll like many of Peter's even more. > at this point in time I've got to agree with Matt. As I have. I've very explicitly and repeatedly encouraged people here to have exactly what they want by making it so: As I've noted here before, this blog post offers some helpful guidance for community members to get started contributing to the documentation to make it more of they want: The only place Matt and I disagree is the suggestion that I write it. My work with LC is as a volunteer, not an employee. And since my own experience has me inclined to try to meet the need expressed in this thread through different means, I'm not able to guess what other people may find ideal for this. In short, I have neither the time nor talent to do what's been requested of me. But I have encouraged others to do so. And I continue to believe that adding whatever notes to a Dictionary entry one feels will prevent a similar question from coming up in the future is best done by doing it, or at least submitting it as an enhancement request to the bug queue for someone else to do, as opposed to just writing it here in a mailing list where it's almost guaranteed to be forgotten. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Fri Apr 1 11:39:27 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 1 Apr 2016 08:39:27 -0700 Subject: Script Only Stack Architecture In-Reply-To: References: <56FD7DE9.3030206@fourthworld.com> Message-ID: <56FE962F.2040600@ahsoftware.net> On 04/01/2016 07:34 AM, Ali Lloyd wrote: >> It's a pain to open the object inspector and copy the behavior reference >> then use the message box to to "open script of?" > > This is no longer necessary in the latest DPs of 8.0 - the behavior > property in the property inspector has an 'edit script' button. In addition, the Project Browser that I'm usually kicking has a very nice feature in that if there is a behavior object associated with a stack or control you will see that indicated to the left of the script lines, and it also shows the number of lines in the behavior script. Right-click or control-click on that and you can directly edit the behavior script. -- Mark Wieder ahsoftware at gmail.com From capellan2000 at gmail.com Fri Apr 1 11:11:28 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 1 Apr 2016 08:11:28 -0700 (PDT) Subject: All Your Stacks Backups Are Belong to us Message-ID: <1459523488017-4702931.post@n4.nabble.com> Did anyone still remember the origin of the subject of this message? How often do you backup your personal memories? :) Yesterday, Richard Gaskin posted a reminder about World Backup Day: http://www.worldbackupday.com Just for curiosity, How many of you keep an organized backup of your personal collection of LC, REV, MC, HC stacks? Do you mind to share a text list of your collection that includes a MD5 digest of each title? Recently, a missing floppy disk in a book that I bought, make me thinks about the real value of storing our knowledge for future generations. Book authors have given authorization to request this floppy disk from anyone who still keeps a functioning copy. Stuart Hirshfield wrote: "Given that the text and associated materials are long since out of print, you have our permission to request them in whatever form you wish..." Now, we are looking in Libraries around the world and asking CS Teacher for a working copy of this 22 years old floppy disk included with the book: The Analytical Engine: An Introduction to Computer Science Using Hypercard 2.1 https://books.google.com.do/books/about/The_Analytical_Engine.html?id=6O9ZHuxJWskC&redir_esc=y Please, check your own Stacks collection. Maybe you have these files stored in a really old Macintosh backup from the 90's. Searching online catalogs, I found that many Public and University Libraries have a copy of this book. If you are near one of these libraries, please verify if their copy of this book still includes a floppy disk or call your Librarian asking about it. Could you help us in this search? Many, many thanks in advance! Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/All-Your-Stacks-Backups-Are-Belong-to-us-tp4702931.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Fri Apr 1 12:10:30 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 01 Apr 2016 11:10:30 -0500 Subject: Script Only Stack Architecture In-Reply-To: <56FE8AD1.7090001@fourthworld.com> References: <56FE8AD1.7090001@fourthworld.com> Message-ID: <153d29714f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I think a lot of the issues being discussed here could be easily solved if the user notes feature was reimplemented. I found those very helpful. And there are many advantages: users can contribute quickly, no one needs to learn a foreign tracking system, users are more likely to jot down concepts they've struggled with and solved if it's easy to do, and the comments don't interfere with the basic structure of the actual dictionary entries. It was a great solution to the problems we're discussing. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Fri Apr 1 12:12:25 2016 From: pete at lcsql.com (Peter Haworth) Date: Fri, 01 Apr 2016 16:12:25 +0000 Subject: Script Only Stack Architecture In-Reply-To: <56FE962F.2040600@ahsoftware.net> References: <56FD7DE9.3030206@fourthworld.com> <56FE962F.2040600@ahsoftware.net> Message-ID: lcStackbrowser shows an icon for the object's script and one icon for each of its behavior scripts. Clicking on any of them opens the appropriate script. In addition, the tooltip for an object lists how many lines are in its script, the objects in its behavior chain and how many lines are in each behavior script. On Fri, Apr 1, 2016 at 8:39 AM Mark Wieder wrote: > On 04/01/2016 07:34 AM, Ali Lloyd wrote: > >> It's a pain to open the object inspector and copy the behavior reference > >> then use the message box to to "open script of?" > > > > This is no longer necessary in the latest DPs of 8.0 - the behavior > > property in the property inspector has an 'edit script' button. > > In addition, the Project Browser that I'm usually kicking has a very > nice feature in that if there is a behavior object associated with a > stack or control you will see that indicated to the left of the script > lines, and it also shows the number of lines in the behavior script. > Right-click or control-click on that and you can directly edit the > behavior script. > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revdev at pdslabs.net Fri Apr 1 12:22:57 2016 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 1 Apr 2016 09:22:57 -0700 Subject: Script Only Stack Architecture In-Reply-To: <153d29714f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <56FE8AD1.7090001@fourthworld.com> <153d29714f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <56FEA061.8070902@pdslabs.net> Well said Jacque! (Like I'm surprised) Phil Davis On 4/1/16 9:10 AM, J. Landman Gay wrote: > I think a lot of the issues being discussed here could be easily > solved if the user notes feature was reimplemented. I found those very > helpful. And there are many advantages: users can contribute quickly, > no one needs to learn a foreign tracking system, users are more likely > to jot down concepts they've struggled with and solved if it's easy to > do, and the comments don't interfere with the basic structure of the > actual dictionary entries. > > It was a great solution to the problems we're discussing. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From ambassador at fourthworld.com Fri Apr 1 12:27:23 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 1 Apr 2016 09:27:23 -0700 Subject: Script Only Stack Architecture In-Reply-To: <153d29714f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <153d29714f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <56FEA16B.9040300@fourthworld.com> J. Landman Gay wrote: > I think a lot of the issues being discussed here could be easily > solved if the user notes feature was reimplemented. Agreed. That's been discussed here before, but it seems no one had mentioned it in a bug report where it could become actionable - Mark Waddingham finally did so on Feb 10: Thanks, Mark. It'll be good to see that back in place. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Fri Apr 1 13:31:27 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 1 Apr 2016 10:31:27 -0700 Subject: And now for something completely different.... Message-ID: <56FEB06F.9010805@fourthworld.com> Earlier this week (most importantly read, "before April 1"), Canonical and Microsoft announced something rather mind-blowing: Ubuntu's bash and supporting utilities will be available on Windows 10. No, really: Ubuntu?s bash and Linux command line coming to Windows 10 Here's how Windows 10's Ubuntu-based Bash shell will actually work This is not a VM or container, nor has anything in Ubuntu been recompiled specifically for this deployment. Apt-get is in place and works directly with the existing Ubuntu repos. This is all done with a new component in Win10 that direct provides support for Linux system calls. While this won't mean much for most of you, those who make enterprise solutions in mixed or Microsoft-exclusive environments will now have a MUCH broader range of tools to work with. This can directly benefit LiveCode deployments in such environments by allowing us to use rsync and other shell calls regardless whether the system is running Linux or Win10. No more need to fork PowerShell and bash calls; now you'll have one-stop shopping for nearly every devops need. Sure, it's a niche in our community. But if you do enterprise work this is some very exciting news. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From hh at livecode.org Fri Apr 1 13:08:54 2016 From: hh at livecode.org (-hh) Date: Fri, 1 Apr 2016 10:08:54 -0700 (PDT) Subject: PDF text extraction? In-Reply-To: <56FDC525.6070001@fourthworld.com> References: <56FDC525.6070001@fourthworld.com> Message-ID: <1459530534744-4702937.post@n4.nabble.com> My first choice for that is 'ghostscript'. Richard Gaskin wrote > I may need to extract text from a fair number of PDFs (hundreds). I can > find all sorts of third-party tools to do that, many of them free and > easy to use, but I'd prefer to integrate this step into some other > things I need to do with the files. > > The format isn't as simple as Word or docx, though. I'm not even sure > if we have support in LC for the compression used in the text streams. > Lots of parts there. > > Anyone here have a library or external for extracting text from PDFs? > Ideally a good solution would be available for Win, Mac, and Linux. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/PDF-text-extraction-tp4702906p4702937.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Fri Apr 1 13:43:00 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 1 Apr 2016 10:43:00 -0700 Subject: And now for something completely different.... In-Reply-To: <56FEB06F.9010805@fourthworld.com> References: <56FEB06F.9010805@fourthworld.com> Message-ID: <56FEB324.5090600@ahsoftware.net> On 04/01/2016 10:31 AM, Richard Gaskin wrote: LOL. Ubuntu bringing the stability of Windows to linux. -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Fri Apr 1 13:49:23 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 1 Apr 2016 10:49:23 -0700 Subject: PDF text extraction? In-Reply-To: <1459472735662-4702911.post@n4.nabble.com> References: <1459472735662-4702911.post@n4.nabble.com> Message-ID: <56FEB4A3.50502@fourthworld.com> Alejandro Tejada wrote: > Hi Richard, > > Could you use command line tools like pdftk or qpdf? > > Check this: > http://stackoverflow.com/questions/15058207/pdftk-will-not-decompress-data-streams > > and this: > > https://books.google.com.do/books?id=ozWeSBkPQW4C&pg=PA205&lpg=PA205&dq=uncompress+and+save+pdf+streams&source=bl&ots=9LyTX9eHMe&sig=nmvt8iXLCF5NTNpBEQQJadGbR34&hl=en&sa=X&ved=0ahUKEwjQpPuFpezLAhUHlh4KHffsBSUQ6AEITzAI#v=onepage&q=uncompress%20and%20save%20pdf%20streams&f=false Very helpful, Alejandro. Thanks. I may have a lead on a long-term solution, and for the short term I was delighted to discover that the command-line tool pdftotext is included in Ubuntu, with super-simple syntax: pdftotext So for now my mining operation is underway.... -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Fri Apr 1 13:55:31 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 1 Apr 2016 10:55:31 -0700 Subject: PDF text extraction? In-Reply-To: <1459530534744-4702937.post@n4.nabble.com> References: <1459530534744-4702937.post@n4.nabble.com> Message-ID: <56FEB613.3050202@fourthworld.com> -hh wrote: > My first choice for that is 'ghostscript'. Thanks. Turns out that's also in my Ubuntu system so I'll give it a go. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jf_byrnes at comcast.net Fri Apr 1 15:18:43 2016 From: jf_byrnes at comcast.net (Jim Byrnes) Date: Fri, 1 Apr 2016 14:18:43 -0500 Subject: Difficulty using Livecode.com In-Reply-To: <56FE08B2.8000902@fourthworld.com> References: <56FE08B2.8000902@fourthworld.com> Message-ID: On 04/01/2016 12:35 AM, Richard Gaskin wrote: > Jim, you're my new hero. Everyone has all sorts of opinions about the > web site, but you took the time to document your journey through the > taxonomy, noting each specific step. Well done. > > It may seem like basic stuff and it is. But of course the site at > passed review when it was posted, so it seems link rot set in along the > way with other changes. Your detailed steps will be very helpful in > getting that resolved. > > I've forwarded your notes to the web designer, who will no doubt review > them with great interest as they continue their site refinements in > anticipation of the v8 launch. > > If just want to get started with a download, use the Download links to > take you here: > http://downloads.livecode.com/livecode/ I wanted to take a look at the app building tutorial. I had looked at it a couple of months ago when I first discovered Livecode and was wondering if it had been updated for version 8. > Thanks again for your notes. Thanks for your kind words. I don't have a lot of technical expertise so I usually receive much more from forums like this than I can return. Regards, Jim > -- > Richard Gaskin > Fourth World Systems > > > Jim Byrnes wrote: >> As a new user I sometimes find Livecode.com difficult to use. Generally >> speaking I find some parts of it not very intuitive. Specifically I had >> this problem: >> >> [1] I go to Livecode.com and click on the Get Started button. >> >> [2] That takes me here: https://livecode.com/download/. Since I have >> already downloaded Livecode, I fill out my firstname and email and click >> the Get Started button. >> >> [3] I am informed (correctly) that this email is already associated with >> a Livecode account, log in (here) instead. So I click (here) and go >> here: https://livecode.com/download/ and log in. >> >> [4] Then I am taken to here: >> http://livecode.com/account/products/livecode. At this point I am >> wondering why I was not taken back to the getting started page to move >> on in the app building tutorial. >> >> [5] Not sure what I should do at this point. I go back to livecode.com. >> I fill out the form again and click the get started button and receive >> the same message about logging in, but I just logged in and the site >> seems to know I am logged in because my name is displayed in the upper >> right hand corner. >> >> Maybe the page is only for people that do not have an account, but >> sending a person that has an account on an endless loop leads to a >> frustrating experience. >> >> Of course maybe I am misunderstanding something about the site, if so I >> would appreciate someone showing me where I went wrong. >> >> Regards, Jim > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri Apr 1 16:32:47 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 1 Apr 2016 15:32:47 -0500 Subject: Difficulty using Livecode.com In-Reply-To: References: <56FE08B2.8000902@fourthworld.com> Message-ID: <56FEDAEF.5020406@hyperactivesw.com> On 4/1/2016 2:18 PM, Jim Byrnes wrote: > I wanted to take a look at the app building tutorial. I couldn't find a specific one, but the info is at the bottom of this guide: I'm not sure if that's the one you mean, but I got there this way from main LC page: Resources (at top of page) Guides (under Documentation) Beginner's Guide If you click on the main "Documentation" heading on the Resources page instead of choosing a subtopic like "guides", you'll get a list at the left of all the main topics you can read about. The same list appears while displaying any of the lessons and guides. The only time you should need to actually log in to your account is if you've purchased a class or tutorial that isn't available in the general public documentation. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Fri Apr 1 16:39:11 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 1 Apr 2016 13:39:11 -0700 Subject: PDF text extraction? In-Reply-To: <56FEB613.3050202@fourthworld.com> References: <1459530534744-4702937.post@n4.nabble.com> <56FEB613.3050202@fourthworld.com> Message-ID: On Fri, Apr 1, 2016 at 10:55 AM, Richard Gaskin wrote: > -hh wrote: > > My first choice for that is 'ghostscript'. >> > > Thanks. Turns out that's also in my Ubuntu system so I'll give it a go. > > From the command line, there are also pdf2txt and pdftotxt (these are separate programs -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From blueback09 at gmail.com Fri Apr 1 17:04:25 2016 From: blueback09 at gmail.com (Matt Maier) Date: Fri, 1 Apr 2016 14:04:25 -0700 Subject: Script Only Stack Architecture In-Reply-To: <56FE8AD1.7090001@fourthworld.com> References: <56FE8AD1.7090001@fourthworld.com> Message-ID: I never suggested you write it. I objected to you advising the mailing list not to include this discussion in the Dictionary because it would start down a slippery slope towards "too big." On Fri, Apr 1, 2016 at 7:50 AM, Richard Gaskin wrote: > Kay C Lan wrote: > > > On Fri, Apr 1, 2016 at 9:43 AM, Richard Gaskin wrote: > >> > >> That's precisely why I advocate maintaining the Dictionary as > >> an essential reference (as in "essence"); it should be easy > >> to link to relevant tutorials and guides for more complete > >> discussion when desired. > >> > > Could you give me an example of a Dictionary entry that has a link > > to a Guide or Tutorial? > > So many things in my life would be much simpler if "advocate" meant the > same as "have been given authority and resources to have done it". > > But unfortunately my world is not so simple. :) > > So in short, "not yet". > > > > Would they just be included in the Reference Tag or as a basic html > > link to Tutorials? > > Matt's request (in keeping with many others') is that we try to avoid > requiring users to go to a generic Search or index to find things, that we > "put the information where they need it", and I've wholeheartedly agreed. > > To support that I would advocate that such links would be included > directly in the Markdown of relevant Dictionary entries. > > As for the alternative, in v8 I believe all tutorials and guides are > already listed in the Help index, no? > > > > Whilst I agree with you in principle, and that is certainly the > > destination we need to be headed > > Glad to hear it. Peter Brett and I have some similar ideas about how to > take advantage of the new docs format, now that the team has completed the > considerable task of converting everything to Markdown. If you like that > idea I'm sure you'll like many of Peter's even more. > > > > at this point in time I've got to agree with Matt. > > As I have. I've very explicitly and repeatedly encouraged people here to > have exactly what they want by making it so: > > As I've noted here before, this blog post offers some helpful > guidance for community members to get started contributing to > the documentation to make it more of they want: > > > The only place Matt and I disagree is the suggestion that I write it. > > My work with LC is as a volunteer, not an employee. And since my own > experience has me inclined to try to meet the need expressed in this thread > through different means, I'm not able to guess what other people may find > ideal for this. > > In short, I have neither the time nor talent to do what's been requested > of me. > > But I have encouraged others to do so. And I continue to believe that > adding whatever notes to a Dictionary entry one feels will prevent a > similar question from coming up in the future is best done by doing it, or > at least submitting it as an enhancement request to the bug queue for > someone else to do, as opposed to just writing it here in a mailing list > where it's almost guaranteed to be forgotten. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jf_byrnes at comcast.net Fri Apr 1 17:17:59 2016 From: jf_byrnes at comcast.net (Jim Byrnes) Date: Fri, 1 Apr 2016 16:17:59 -0500 Subject: Difficulty using Livecode.com In-Reply-To: <19DEA2EE-5615-49C0-BAC0-7F0A887A948A@me.com> References: <19DEA2EE-5615-49C0-BAC0-7F0A887A948A@me.com> Message-ID: On 04/01/2016 12:41 AM, Tore Nilsen wrote: > If you want to access the app building course you should click on > your name in the upper right corner of the web page (when you are > logged in). You will then find a link to the app building course in > the menu to the left of the new page which contains various > information about your lisences. > > Tore OK, I did that. You must be referring to Products --> Create it with LiveCode Trial. [1] That takes me here: https://livecode.com/courses/create-it-with-livecode-course/ Where I see 2 buttons. (Enroll Now | $59) and (Start Trial). [2] If I click on (Enroll Now) I go here: https://www.cleverbridge.com/1288/surl-GWVb1g9whO. I see a shopping cart to purchase an Indy license, nothing about the $59 app building course. [3] There is a (Continue Shopping) button there. I clicked on it thinking it may lead to the app building course but it lead here: http://livecode.com/ Unless I messed up somehow this is not going to lead to many app course sales. I tried it with both PaleMoon (a Firefox fork) and Chrome on Ubuntu. Now a question about the course. I clicked on the trial and stepped through it a bit. I see it is based on the BYU course. A while ago I looked at the BYU course and was told that it wasn't suitable for Linux users at this time, apparently because it was graphics intensive. Right now I am interested in learning Livecode on the desktop only, mobile may come later. Looking at the list of lessons on the right I don't see anything that jumps out at me as being very graphics intensive. So is this version less graphics intensive? If I could work my way through most of the desktop centered lesions using Linux the price is certainly right. Regards, Jim >> 1. apr. 2016 kl. 03.24 skrev Jim Byrnes >> : >> >> As a new user I sometimes find Livecode.com difficult to use. >> Generally speaking I find some parts of it not very intuitive. >> Specifically I had this problem: >> >> [1] I go to Livecode.com and click on the Get Started button. >> >> [2] That takes me here: https://livecode.com/download/. Since I >> have already downloaded Livecode, I fill out my firstname and email >> and click the Get Started button. >> >> [3] I am informed (correctly) that this email is already associated >> with a Livecode account, log in (here) instead. So I click (here) >> and go here: https://livecode.com/download/ and log in. >> >> [4] Then I am taken to here: >> http://livecode.com/account/products/livecode. At this point I am >> wondering why I was not taken back to the getting started page to >> move on in the app building tutorial. >> >> [5] Not sure what I should do at this point. I go back to >> livecode.com. I fill out the form again and click the get started >> button and receive the same message about logging in, but I just >> logged in and the site seems to know I am logged in because my name >> is displayed in the upper right hand corner. >> >> Maybe the page is only for people that do not have an account, but >> sending a person that has an account on an endless loop leads to a >> frustrating experience. >> >> Of course maybe I am misunderstanding something about the site, if >> so I would appreciate someone showing me where I went wrong. >> >> Regards, Jim >> >> >> _______________________________________________ use-livecode >> mailing list use-livecode at 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 at lists.runrev.com Please > visit this url to subscribe, unsubscribe and manage your subscription > preferences: http://lists.runrev.com/mailman/listinfo/use-livecode > From jim at d-film.com Fri Apr 1 17:19:16 2016 From: jim at d-film.com (Jim Kanter) Date: Fri, 1 Apr 2016 17:19:16 -0400 Subject: Difficulty using Livecode.com In-Reply-To: References: <56FE08B2.8000902@fourthworld.com> Message-ID: Jim, are you talking about the LiveCode Academies? http://livecode.com/academy Or perhaps the Create It series of app-building lessons? https://livecode.com/courses/create-it-with-livecode-course/ On Fri, Apr 1, 2016 at 3:18 PM, Jim Byrnes wrote: > I wanted to take a look at the app building tutorial. I had looked at it a > couple of months ago when I first discovered Livecode and was wondering if > it had been updated for version 8. From ambassador at fourthworld.com Fri Apr 1 18:04:28 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 1 Apr 2016 15:04:28 -0700 Subject: Script Only Stack Architecture In-Reply-To: References: Message-ID: <56FEF06C.5040405@fourthworld.com> Matt Maier wrote: > I never suggested you write it. The word "you" threw me off. Thanks for the clarification. > I objected to you advising the mailing list not to include this > discussion in the Dictionary because it would start down a slippery > slope towards "too big." This discussion is many pages long and involves a wide range of keywords and concepts, begging the question: What should be written, and where? Many here have expressed the opinion that something should be added somewhere, but so far only two have offered specific suggestions, and they differ from one another. In both of those cases (and more than a few others) I've very explicitly encouraged them to contribute their additions to the docs - once more in case it was missed: As I've noted here before, this blog post offers some helpful guidance for community members to get started contributing to the documentation to make it more of they want: My "Yes" was indeed a "Yes, and.." with the "and" being to please be mindful of the different types of documentation people use, and the intended audience and scope for each. Specifically, I wrote: "Go for it, but please be brief in Dictionary entries." Hardly seems the stuff of wholesale discouragement. And all the while the core question remains outstanding with no submission to the docs: What should be written, and where? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Fri Apr 1 18:13:35 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 1 Apr 2016 17:13:35 -0500 Subject: Difficulty using Livecode.com In-Reply-To: References: <19DEA2EE-5615-49C0-BAC0-7F0A887A948A@me.com> Message-ID: <56FEF28F.5060905@hyperactivesw.com> On 4/1/2016 4:17 PM, Jim Byrnes wrote: > Right now I am interested in learning Livecode on the desktop only, > mobile may come later. Looking at the list of lessons on the right I > don't see anything that jumps out at me as being very graphics > intensive. So is this version less graphics intensive? Our Linux users can answer that better than I can, but for now bookmark this: I could find no way to get there by clicking around the web site. That's a grave oversight. On the lessons page, search for "images" and you'll get lots of hits. Search for "graphics" too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From blueback09 at gmail.com Fri Apr 1 18:34:56 2016 From: blueback09 at gmail.com (Matt Maier) Date: Fri, 1 Apr 2016 15:34:56 -0700 Subject: local livecode server Message-ID: I've followed along with this... http://lessons.livecode.com/spaces/lessons/buckets/809/lessons/36654-How-do-I-install-LiveCode-Server-on-Windows-with-Apache- ...and got as far as getting the example html to appear at localhost/test.lc . But the isn't being rendered, it's just being treated like html. I tried changing " References: <56FEF28F.5060905@hyperactivesw.com> Message-ID: <56FEF9B5.7050901@fourthworld.com> J. Landman Gay wrote: > ...for now bookmark this: I could > find no way to get there by clicking around the web site. That's > a grave oversight. I get there through the visible taxonomy by clicking "Resources" in the main menu, then on the resulting page clicking "Tutorials". -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Fri Apr 1 18:47:39 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 1 Apr 2016 15:47:39 -0700 Subject: local livecode server In-Reply-To: References: Message-ID: <56FEFA8B.2050901@fourthworld.com> Matt Maier wrote: > I've followed along with this... > > http://lessons.livecode.com/spaces/lessons/buckets/809/lessons/36654-How-do-I-install-LiveCode-Server-on-Windows-with-Apache- > > ...and got as far as getting the example html to appear at > localhost/test.lc > > But the isn't being rendered, it's just being > treated like html. > > I tried changing " didn't change anything. > > I also tried changing the file from "test.lc" to "test.blerg" and got > exactly the same output at localhost/test.blerg so I'm not even sure > if the server is aware that it should be sending *.lc files to > livecode server. > > How do I troubleshoot why the server isn't rendering the livecode > script? Are all three of this modules active in your Apache install?: mod_cgi mod_actions mod_alias -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From blueback09 at gmail.com Fri Apr 1 18:50:49 2016 From: blueback09 at gmail.com (Matt Maier) Date: Fri, 1 Apr 2016 15:50:49 -0700 Subject: local livecode server In-Reply-To: <56FEFA8B.2050901@fourthworld.com> References: <56FEFA8B.2050901@fourthworld.com> Message-ID: I'm not sure. I found files with those names but they have a .so extension. When I open them in Atom half of the file looks like binary. I couldn't find an explanation in the Apache docs of how to "enable" them. On Fri, Apr 1, 2016 at 3:47 PM, Richard Gaskin wrote: > Matt Maier wrote: > > > I've followed along with this... > > > > > http://lessons.livecode.com/spaces/lessons/buckets/809/lessons/36654-How-do-I-install-LiveCode-Server-on-Windows-with-Apache- > > > > ...and got as far as getting the example html to appear at > > localhost/test.lc > > > > But the isn't being rendered, it's just being > > treated like html. > > > > I tried changing " > didn't change anything. > > > > I also tried changing the file from "test.lc" to "test.blerg" and got > > exactly the same output at localhost/test.blerg so I'm not even sure > > if the server is aware that it should be sending *.lc files to > > livecode server. > > > > How do I troubleshoot why the server isn't rendering the livecode > > script? > > Are all three of this modules active in your Apache install?: > > mod_cgi > mod_actions > mod_alias > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Fri Apr 1 18:55:32 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 1 Apr 2016 15:55:32 -0700 Subject: local livecode server In-Reply-To: References: Message-ID: <56FEFC64.2030908@fourthworld.com> Matt Maier wrote: > On Fri, Apr 1, 2016 at 3:47 PM, Richard Gaskin wrote: > >> Are all three of this modules active in your Apache install?: >> >> mod_cgi >> mod_actions >> mod_alias > > I'm not sure. I found files with those names but they have a .so > extension. > When I open them in Atom half of the file looks like binary. I > couldn't find an explanation in the Apache docs of how to "enable" > them. I'm out of my league at this point. I've only managed Apache on Linux, and Ubuntu and other Debian distros include a convenient a2enmod command to enable those. The best I can offer is to refer you to your Windows admin docs and perhaps the docs at apache.org -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From prothero at earthednet.org Fri Apr 1 19:20:55 2016 From: prothero at earthednet.org (William Prothero) Date: Fri, 1 Apr 2016 16:20:55 -0700 Subject: Script Only Stack Architecture In-Reply-To: <56FEF06C.5040405@fourthworld.com> References: <56FEF06C.5040405@fourthworld.com> Message-ID: <440AB4A7-E75F-4D03-9B46-9E671A6DD791@earthednet.org> Richard and Matt: I think the salient points are the various ways of getting behaviors to instantiate properly. There have been a number of ideas that all seem to work. So what I suggest, is that a brief description of each strategy (1-2 sentences) and a bit of sample code (where appropriate) like the sample that Ali provided. The long discussions about message paths, etc should be shortened to ?just the beef?. The code snippets that demo the ?working? way to implement the strategy would then make sure folks understood how to make it work. Bill > On Apr 1, 2016, at 3:04 PM, Richard Gaskin wrote: > > Matt Maier wrote: >> I never suggested you write it. > > The word "you" threw me off. Thanks for the clarification. > >> I objected to you advising the mailing list not to include this >> discussion in the Dictionary because it would start down a slippery >> slope towards "too big." > > This discussion is many pages long and involves a wide range of keywords and concepts, begging the question: What should be written, and where? > > Many here have expressed the opinion that something should be added somewhere, but so far only two have offered specific suggestions, and they differ from one another. > > In both of those cases (and more than a few others) I've very explicitly encouraged them to contribute their additions to the docs - once more in case it was missed: > > As I've noted here before, this blog post offers some helpful > guidance for community members to get started contributing to > the documentation to make it more of they want: > > > My "Yes" was indeed a "Yes, and.." with the "and" being to please be mindful of the different types of documentation people use, and the intended audience and scope for each. > > Specifically, I wrote: "Go for it, but please be brief in Dictionary entries." > > Hardly seems the stuff of wholesale discouragement. > > And all the while the core question remains outstanding with no submission to the docs: What should be written, and where? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Fri Apr 1 19:45:18 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 1 Apr 2016 16:45:18 -0700 Subject: Script Only Stack Architecture In-Reply-To: <440AB4A7-E75F-4D03-9B46-9E671A6DD791@earthednet.org> References: <440AB4A7-E75F-4D03-9B46-9E671A6DD791@earthednet.org> Message-ID: <56FF080E.1060408@fourthworld.com> William Prothero wrote: > I think the salient points are the various ways of getting behaviors > to instantiate properly. There have been a number of ideas that all > seem to work. So what I suggest, is that a brief description of each > strategy (1-2 sentences) and a bit of sample code (where appropriate) > like the sample that Ali provided. The long discussions about message > paths, etc should be shortened to ?just the beef?. The code snippets > that demo the ?working? way to implement the strategy would then make > sure folks understood how to make it work. Sounds good. Who wants to write it? And where should it go? It's also worth noting that Ali's method is an uncommon one, useful in the IDE and other somewhat specialized cases, but not ideal for many, for the reasons I outlined earlier: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jim at d-film.com Fri Apr 1 19:47:29 2016 From: jim at d-film.com (Jim Kanter) Date: Fri, 1 Apr 2016 19:47:29 -0400 Subject: Difficulty using Livecode.com In-Reply-To: References: <19DEA2EE-5615-49C0-BAC0-7F0A887A948A@me.com> Message-ID: Then there?s this: https://livecode.com/new-livecode-app-building-course/ From blueback09 at gmail.com Fri Apr 1 19:50:29 2016 From: blueback09 at gmail.com (Matt Maier) Date: Fri, 1 Apr 2016 16:50:29 -0700 Subject: local livecode server In-Reply-To: <56FEFC64.2030908@fourthworld.com> References: <56FEFC64.2030908@fourthworld.com> Message-ID: According to this... https://github.com/h5bp/server-configs-apache/wiki/How-to-enable-Apache-modules ...as long as the modules aren't commented out in the httpd.conf file they're enabled. I can confirm that they are not commented out. Part of the problem might be that the instructions haven't been updated. They reference Apache 2.2 but easyPHP came with Apache 2.4 and there are some changes. On Fri, Apr 1, 2016 at 3:55 PM, Richard Gaskin wrote: > Matt Maier wrote: > > > On Fri, Apr 1, 2016 at 3:47 PM, Richard Gaskin wrote: > > > >> Are all three of this modules active in your Apache install?: > >> > >> mod_cgi > >> mod_actions > >> mod_alias > > > > I'm not sure. I found files with those names but they have a .so > > extension. > > When I open them in Atom half of the file looks like binary. I > > couldn't find an explanation in the Apache docs of how to "enable" > > them. > > I'm out of my league at this point. I've only managed Apache on Linux, > and Ubuntu and other Debian distros include a convenient a2enmod command to > enable those. > > The best I can offer is to refer you to your Windows admin docs and > perhaps the docs at apache.org > > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From james at thehales.id.au Fri Apr 1 19:54:09 2016 From: james at thehales.id.au (James Hale) Date: Sat, 2 Apr 2016 10:54:09 +1100 Subject: Script Only Stack Architecture Message-ID: <7FC9EC71-6908-4151-89E5-9FBB00010C72@thehales.id.au> Mark wrote: > > In addition, the Project Browser that I'm usually kicking has a very > nice feature in that if there is a behavior object associated with a > stack or control you will see that indicated to the left of the script > lines, and it also shows the number of lines in the behavior script. > Right-click or control-click on that and you can directly edit the > behavior script. Or just double-click (I am on a Mac) Use it all the time. Can't remember the last time I have actually gone to my card with the behavior buttons. James From blueback09 at gmail.com Fri Apr 1 20:05:18 2016 From: blueback09 at gmail.com (Matt Maier) Date: Fri, 1 Apr 2016 17:05:18 -0700 Subject: local livecode server In-Reply-To: References: <56FEFC64.2030908@fourthworld.com> Message-ID: Neato! It's working now. I'm not entirely sure why. I started poking at everything. For posterity: some stuff that seemed like it must be important was... - change back-slashes "\" to front-slashes "/" if copy&pasting file paths - Apache2.4 replaced "order allow,deny" and "allow from all" with "require all granted" or something like that. I've got both the old and new syntax in here - the instructions don't mention the need to rename the script alias that's pointing at the actual executable from "livecode-server.exe" to "livecode-community-server.exe" if that's the version you've got. - I also stuck ".lc" onto the end of a few lists of other file extensions On Fri, Apr 1, 2016 at 4:50 PM, Matt Maier wrote: > According to this... > > > https://github.com/h5bp/server-configs-apache/wiki/How-to-enable-Apache-modules > > ...as long as the modules aren't commented out in the httpd.conf file > they're enabled. I can confirm that they are not commented out. > > Part of the problem might be that the instructions haven't been updated. > They reference Apache 2.2 but easyPHP came with Apache 2.4 and there are > some changes. > > On Fri, Apr 1, 2016 at 3:55 PM, Richard Gaskin > wrote: > >> Matt Maier wrote: >> >> > On Fri, Apr 1, 2016 at 3:47 PM, Richard Gaskin wrote: >> > >> >> Are all three of this modules active in your Apache install?: >> >> >> >> mod_cgi >> >> mod_actions >> >> mod_alias >> > >> > I'm not sure. I found files with those names but they have a .so >> > extension. >> > When I open them in Atom half of the file looks like binary. I >> > couldn't find an explanation in the Apache docs of how to "enable" >> > them. >> >> I'm out of my league at this point. I've only managed Apache on Linux, >> and Ubuntu and other Debian distros include a convenient a2enmod command to >> enable those. >> >> The best I can offer is to refer you to your Windows admin docs and >> perhaps the docs at apache.org >> >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From mwieder at ahsoftware.net Fri Apr 1 20:26:56 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 1 Apr 2016 17:26:56 -0700 Subject: Difficulty using Livecode.com In-Reply-To: <56FEF28F.5060905@hyperactivesw.com> References: <19DEA2EE-5615-49C0-BAC0-7F0A887A948A@me.com> <56FEF28F.5060905@hyperactivesw.com> Message-ID: <56FF11D0.3060009@ahsoftware.net> On 04/01/2016 03:13 PM, J. Landman Gay wrote: > Our Linux users can answer that better than I can, but for now bookmark > this: I could find no way to get there by > clicking around the web site. That's a grave oversight. NET::ERR_CERT_COMMON_NAME_INVALID This server could not prove that it is lessons.livecode.com; its security certificate is from *.screenstepslive.com. This may be caused by a misconfiguration or an attacker intercepting your connection. -- Mark Wieder ahsoftware at gmail.com From brahma at hindu.org Fri Apr 1 21:45:07 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 2 Apr 2016 01:45:07 +0000 Subject: Script Only Stack Architecture In-Reply-To: <56FE8AD1.7090001@fourthworld.com> References: <56FE8AD1.7090001@fourthworld.com> Message-ID: How do we do that. Via Git hub? we pull the entry edit and then push back with changes? The user notes option is still not available. So, yes Jacque is right, but we can do it On April 1, 2016 at 4:51:23 AM, Richard Gaskin (ambassador at fourthworld.com) wrote: And I continue to believe that adding whatever notes to a Dictionary entry one feels will prevent a similar question From brahma at hindu.org Fri Apr 1 23:09:08 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 2 Apr 2016 03:09:08 +0000 Subject: How to make the group itself a target Message-ID: Assume we have a small group duplicated on the card 10-20 times. each group contains three objects named portal-link-background portal-link-label portal-link-thumbnail The above is grouped... acts as a template; and is programatically duplicated X number of times Each of the resulting groups is assigned a unique name home surprises learn practice audio visuals etc. Now I want to set a behavior that will return the name of the group on mouse up. the target won't work, because the mouse up is trapped by the field, background or image in the group so the group itself is never the target. I realize I can test for the long id of the target, then extract the name of the group from that. field id 1348 of group id 1346 of group id 1354 of card id 1082 of stack "/Users/Brahmanathaswami/Documents/App Development/SivaSiva App/App Source/SivaSiva.livecode" put the long idea of the target into tTargetID go to card (the short name of group (word 7 of tTargetID) I always prefer not parsing this kind of string for hard values, as things can change... But this is the only method I can think of. Is there a better way? Obviously we dont' want to be putting "pass mouseup" into all the child elements of the group, as that breaks the whole point of using a behavior. BR From jacque at hyperactivesw.com Fri Apr 1 23:14:24 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 01 Apr 2016 22:14:24 -0500 Subject: Difficulty using Livecode.com In-Reply-To: <56FEF9B5.7050901@fourthworld.com> References: <56FEF28F.5060905@hyperactivesw.com> <56FEF9B5.7050901@fourthworld.com> Message-ID: <153d4f6e298.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On April 1, 2016 5:45:22 PM Richard Gaskin wrote: > J. Landman Gay wrote: > > > ...for now bookmark this: I could > > find no way to get there by clicking around the web site. That's > > a grave oversight. > > I get there through the visible taxonomy by clicking "Resources" in the > main menu, then on the resulting page clicking "Tutorials". That fails for me, I get an incomplete page with dark text on a dark background. There's a single link to a so-called massive number of tutorials and when I click it I am taken to a list with a single item in it. Could be my browser, I suppose. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Fri Apr 1 23:44:56 2016 From: pete at lcsql.com (Peter Haworth) Date: Sat, 02 Apr 2016 03:44:56 +0000 Subject: How to make the group itself a target In-Reply-To: References: Message-ID: the short name of the owner of me On Fri, Apr 1, 2016, 8:09 PM Sannyasin Brahmanathaswami wrote: > Assume we have a small group duplicated on the card 10-20 times. > > each group contains three objects named > > portal-link-background > portal-link-label > portal-link-thumbnail > > The above is grouped... acts as a template; and is programatically > duplicated X number of times > > Each of the resulting groups is assigned a unique name > > home > surprises > learn > practice > audio > visuals > > etc. > > Now I want to set a behavior that will return the name of the group on > mouse up. > > the target won't work, because the mouse up is trapped by the field, > background or image in the group so the group itself is never the target. > > I realize I can test for the long id of the target, then extract the name > of the group from that. > > field id 1348 of group id 1346 of group id 1354 of card id 1082 of stack > "/Users/Brahmanathaswami/Documents/App Development/SivaSiva App/App > Source/SivaSiva.livecode" > put the long idea of the target into tTargetID > > go to card (the short name of group (word 7 of tTargetID) > > I always prefer not parsing this kind of string for hard values, as things > can change... > > But this is the only method I can think of. Is there a better way? > Obviously we dont' want to be putting "pass mouseup" into all the child > elements of the group, as that breaks the whole point of using a behavior. > > BR > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brahma at hindu.org Sat Apr 2 00:08:23 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 2 Apr 2016 04:08:23 +0000 Subject: Set Text to the Vertical Center of the field Message-ID: ? lc8 16 I thought this should work to set the text of a field to vertical center (in a behavior) on mouseup set the textsize of me to 28 put the formattedheight of me into tTotalTextHeight put ( ( the height of me - tTotalTextHeight ) / 2) into tTopBottomMargins set topmargin of me to tTopBottomMargins end mouseUp But it doesn't and the vertical position varies depending on the number of lines. field is 122 px high 1 line# rides very high in the field 2 Lines # rides high but not so much 3 lines # centered perfectly vertically. Futher testing reveals that I'm getting variations of responses from for the formattedHeight in three different fields which a) same number of lines b) same text size c) same text height d) different words go stack url "http://wiki.hindu.org/screenshots/formattedheights.livecode" if you do "put the formattedheight of selected object()" into the msg box, and select the two fields you get different values for each one, even though, obviously, they take exactly the same vertical space. And, to make matters more interesting. if you set 0 margins in both fields, set the top to the same, the text rides higher in the right field. Am I doing something wrong or do we have something to report? From scott at tactilemedia.com Sat Apr 2 01:25:55 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 1 Apr 2016 22:25:55 -0700 Subject: Set Text to the Vertical Center of the field In-Reply-To: References: Message-ID: Bernd N and I have been through this -- there's no reliable way to this, unless you have a known number of lines, and a fixed point size, line height, etc. Bernd wrote a method that uses the pixel rect of the text via snapshot that can work. My solution is to use buttons since those can display centered text, but that may not be an option for some implementations. Regards, Scott Rossi Creative Director Tactile Media UX/UI Design > On Apr 1, 2016, at 9:08 PM, Sannyasin Brahmanathaswami wrote: > > > lc8 16 > > I thought this should work to set the text of a field to vertical center > > (in a behavior) > > on mouseup > set the textsize of me to 28 > put the formattedheight of me into tTotalTextHeight > put ( ( the height of me - tTotalTextHeight ) / 2) into tTopBottomMargins > set topmargin of me to tTopBottomMargins > end mouseUp > > But it doesn't and the vertical position varies depending on the number of lines. field is 122 px high > > 1 line# rides very high in the field > 2 Lines # rides high but not so much > 3 lines # centered perfectly vertically. > > Futher testing reveals that I'm getting variations of responses from for the formattedHeight in three different fields which > > a) same number of lines > b) same text size > c) same text height > d) different words > > go stack url "http://wiki.hindu.org/screenshots/formattedheights.livecode" > > if you do "put the formattedheight of selected object()" > > into the msg box, and select the two fields you get different values for each one, even though, obviously, they take exactly the same vertical space. And, to make matters more interesting. if you set 0 margins in both fields, set the top to the same, the text rides higher in the right field. > > Am I doing something wrong or do we have something to report? > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Sat Apr 2 03:28:49 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 2 Apr 2016 15:28:49 +0800 Subject: Script Only Stack Architecture In-Reply-To: References: <56FE8AD1.7090001@fourthworld.com> Message-ID: On Sat, Apr 2, 2016 at 9:45 AM, Sannyasin Brahmanathaswami wrote: > How do we do that. Via Git hub? we pull the entry edit and then push back with changes? > Those who want to contribute will find Ali's guide essential: https://github.com/livecode/livecode/blob/community-docs/docs/contributing_to_docs.md Richard has also linked a couple of times to this Blog post which links to the above: https://livecode.com/putting-the-you-in-documentation/ And now stepping on very thin ice I will go against the grain of 'User Notes' as previously implemented and currently re-suggested. Again, as an interim step I see them as very useful for capturing nuggets of information. The great thing about them is, as stated by Jacque, you don't need to learn any markup (or Git), and you can (could) do it immediately. IMO the ideal solution would be the Dictionary act like a Wiki Editor. Those with Contributor Accounts get Edit buttons in each of the relevant sections of each Dictionary entry. You want to add an excellent example, then you click the Example section Edit button and you add it right there, where it should be, and where it will be automatically colour coded; not at the bottom of a dozen other people's User Notes in lost black and white. You have a Warning, Caution or Tip that needs highlighting, then that is how it's presented; again not hidden amongst other User Notes in the same bland font. Also, a one line Example entry would be just that, a one line entry. The User Note format bloats it out with inclusion of who added it, and a time stamp and a couple of blank lines around the entry so a single line of relevance takes up 4 or 5 lines of Dictionary screen space. I personally don't need my name attached to every contribution I make - for those that do, maybe a list of Doc Contributor names in the About Livecode box similar to the list of names of LC Community contributors that currently appears. The Dictionary is really only a glorified Wiki. I suspect most people believe the success of Wikis is due to community contribution, but I believe just as important is Wikis FORCE a standard format and presentation, everything in it's right place, everything found where it should be. I think one of the problems Richard alludes to re bloat can be avoided if people are forced to think where exactly in the Dictionary entry structure does my nugget of information fit in and how do I word it so it does fit with the paragraph before and after. As a bonus, you can also quickly correct that minor spelling error in the preceding paragraph. The Dictionary is just another Livecode stack, so this is all possible with the talent and technology we have in front of us, the hardest thing to implement would be the Git integration so that each addition/amendment is vetted before inclusion with the next release and visible to the rest of us. Actually the biggest problem is who(s) is going to do build it. I believe the Team is still looking for a Community Docs advocate/leader to corral those with such inclinations and ideas. The reality is the former idea of User Notes is probably a lot easier/quicker to implement than turning the Dictionary into an .lcdoc Editor/Git Integrator. I should probably keep my big mouth shut from now on as the ice has surely broken and I'm in very deep water. From lan.kc.macmail at gmail.com Sat Apr 2 04:18:27 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 2 Apr 2016 16:18:27 +0800 Subject: Why isn't isoToMac anymore needed with LC 8 custom props? In-Reply-To: <002901d18bfa$d577fb30$8067f190$@kestner.de> References: <002901d18bfa$d577fb30$8067f190$@kestner.de> Message-ID: On Fri, Apr 1, 2016 at 5:42 PM, Tiemo Hollmann TB wrote: > Am I right, that the text now is stored in Unicode in the > custom property, when I save the file on windows and therefore I don't have > to translate it anymore on Mac, If by file you mean LC stack file then you're OK. If by file you mean some other external document that your read from/write to, then you should be aware of this Dictionary entry - see textEncode or textDecode: It is highly recommended that any time you interface with things outside LiveCode (files, network sockets, processes, [databases] etc) that you explicitly textEncode any text you send outside LiveCode and textDecode all text received into LiveCode. If this doesn't happen, a platform-dependent encoding will be used (which normally does not support Unicode text). From sundown at pacifier.com Sat Apr 2 04:48:10 2016 From: sundown at pacifier.com (JB) Date: Sat, 2 Apr 2016 01:48:10 -0700 Subject: File exists Message-ID: <310DD384-9A2F-4C7E-BDEC-0C14E2C4BDD3@pacifier.com> If I open a file for read or write and the file does not exist it will be created. Is there a way to see if the file exists before opening it? I do not want a file to be created if it does not exist. I guess I could check the creation date and if it was just created then delete it but I was wondering if there is a better way. JB From sundown at pacifier.com Sat Apr 2 04:59:47 2016 From: sundown at pacifier.com (-=>JB<=-) Date: Sat, 2 Apr 2016 01:59:47 -0700 Subject: File exists In-Reply-To: <310DD384-9A2F-4C7E-BDEC-0C14E2C4BDD3@pacifier.com> References: <310DD384-9A2F-4C7E-BDEC-0C14E2C4BDD3@pacifier.com> Message-ID: <8704F512-B594-4507-98C2-1B2561F4FA6A@pacifier.com> Files will do it; I forget so easily. JB > On Apr 2, 2016, at 1:48 AM, JB wrote: > > If I open a file for read or write and the file does > not exist it will be created. Is there a way to see > if the file exists before opening it? I do not want > a file to be created if it does not exist. I guess I > could check the creation date and if it was just > created then delete it but I was wondering if there > is a better way. > > JB > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From th.douez at gmail.com Sat Apr 2 05:00:11 2016 From: th.douez at gmail.com (Thierry Douez) Date: Sat, 2 Apr 2016 11:00:11 +0200 Subject: File exists In-Reply-To: <310DD384-9A2F-4C7E-BDEC-0C14E2C4BDD3@pacifier.com> References: <310DD384-9A2F-4C7E-BDEC-0C14E2C4BDD3@pacifier.com> Message-ID: Hi, there is a file ".." HTH, Thierry 2016-04-02 10:48 GMT+02:00 JB : > If I open a file for read or write and the file does > not exist it will be created. Is there a way to see > if the file exists before opening it? I do not want > a file to be created if it does not exist. I guess I > could check the creation date and if it was just > created then delete it but I was wondering if there > is a better way. > > JB > -- ------------------------------------------------ Thierry Douez - http://sunny-tdz.com sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage From richmondmathewson at gmail.com Sat Apr 2 05:03:58 2016 From: richmondmathewson at gmail.com (RM) Date: Sat, 2 Apr 2016 12:03:58 +0300 Subject: File exists In-Reply-To: <310DD384-9A2F-4C7E-BDEC-0C14E2C4BDD3@pacifier.com> References: <310DD384-9A2F-4C7E-BDEC-0C14E2C4BDD3@pacifier.com> Message-ID: <56FF8AFE.2010402@gmail.com> Naively I tried this in a button: on mouseUp if exists(file "HereWeGo.txt") then open file "HereWeGo.txt" for write else put "no such file" end if end mouseUp AND the thing didn't work because 'exists' only works for objects within Livecode. BUT this seems a reasonable way to check for a file's existence: on mouseUp read from file "HereWeGo.txt" for 1 line if it is empty then put "no such file" end if end mouseUp Richmond. On 2.04.2016 11:48, JB wrote: > If I open a file for read or write and the file does > not exist it will be created. Is there a way to see > if the file exists before opening it? I do not want > a file to be created if it does not exist. I guess I > could check the creation date and if it was just > created then delete it but I was wondering if there > is a better way. > > JB > > From sundown at pacifier.com Sat Apr 2 05:05:51 2016 From: sundown at pacifier.com (JB) Date: Sat, 2 Apr 2016 02:05:51 -0700 Subject: File exists In-Reply-To: References: <310DD384-9A2F-4C7E-BDEC-0C14E2C4BDD3@pacifier.com> Message-ID: I LIKE THAT! thank you very much. JB > On Apr 2, 2016, at 2:00 AM, Thierry Douez wrote: > > Hi, > > there is a file ".." > > HTH, > > Thierry > > > 2016-04-02 10:48 GMT+02:00 JB : > >> If I open a file for read or write and the file does >> not exist it will be created. Is there a way to see >> if the file exists before opening it? I do not want >> a file to be created if it does not exist. I guess I >> could check the creation date and if it was just >> created then delete it but I was wondering if there >> is a better way. >> >> JB >> > -- > ------------------------------------------------ > Thierry Douez - http://sunny-tdz.com > sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Sat Apr 2 05:10:27 2016 From: sundown at pacifier.com (JB) Date: Sat, 2 Apr 2016 02:10:27 -0700 Subject: File exists In-Reply-To: <56FF8AFE.2010402@gmail.com> References: <310DD384-9A2F-4C7E-BDEC-0C14E2C4BDD3@pacifier.com> <56FF8AFE.2010402@gmail.com> Message-ID: <671A7359-E040-4DFC-BD55-1DD243C8CFE6@pacifier.com> Thank you, Richmond! Your help is always appreciated. JB > On Apr 2, 2016, at 2:03 AM, RM wrote: > > Richmond. From richmondmathewson at gmail.com Sat Apr 2 06:45:03 2016 From: richmondmathewson at gmail.com (RM) Date: Sat, 2 Apr 2016 13:45:03 +0300 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: <1459467982156-4702904.post@n4.nabble.com> References: <1459309066526-4702767.post@n4.nabble.com> <1459335650350-4702783.post@n4.nabble.com> <1459358825190-4702801.post@n4.nabble.com> <1459360080004-4702803.post@n4.nabble.com> <1459367544890-4702823.post@n4.nabble.com> <1459368964150-4702827.post@n4.nabble.com> <1459382385531-4702838.post@n4.nabble.com> <56FCFE87.2010305@gmail.com> <1459448995186-4702879.post@n4.nabble.com> <1459460708560-4702898.post@n4.nabble.com> <1459467982156-4702904.post@n4.nabble.com> Message-ID: <56FFA2AF.1010204@gmail.com> Why bother? Frankly the process is no more difficult using GIMP: https://www.gimp.org/downloads/ or Photoshop: http://www.adobe.com/products/photoshop.html and there are quite a few other image editing software packages available that can do that job as well. Richmond. On 1.04.2016 02:46, Alejandro Tejada wrote: > Great! :D > > Now the big question :D > > Who volunteer to build (and maintain) a plug-in > (palette or modeless stack) that explains and > create the many ways of masking an image: > > 1) Group with an image and graphic > (using inks effects) > > 2) Image and graphic or > Image and Transparent Image > (using snapshot) > > 3) Image and grahic > (using backpattern and script) > > Just one more thing: > In the "About" card of this > plug-in, post links to each > one of these threads from > the mail list and forum. > > Thanks in advance! > > Alejandro > > > From richmondmathewson at gmail.com Sat Apr 2 09:07:24 2016 From: richmondmathewson at gmail.com (RM) Date: Sat, 2 Apr 2016 16:07:24 +0300 Subject: PDF text extraction? In-Reply-To: <56FDC525.6070001@fourthworld.com> References: <56FDC525.6070001@fourthworld.com> Message-ID: <56FFC40C.5090400@gmail.com> http://use-livecode.runrev.narkive.com/1agaImsm/in-search-of-the-lonesome-yodel-pdf Another old chestnut . . . Richmond. On 1.04.2016 03:47, Richard Gaskin wrote: > I may need to extract text from a fair number of PDFs (hundreds). I > can find all sorts of third-party tools to do that, many of them free > and easy to use, but I'd prefer to integrate this step into some other > things I need to do with the files. > > The format isn't as simple as Word or docx, though. I'm not even sure > if we have support in LC for the compression used in the text streams. > Lots of parts there. > > Anyone here have a library or external for extracting text from PDFs? > Ideally a good solution would be available for Win, Mac, and Linux. > > TIA - > From sritcp at gmail.com Sat Apr 2 08:36:58 2016 From: sritcp at gmail.com (Sri) Date: Sat, 2 Apr 2016 05:36:58 -0700 (PDT) Subject: Difficulty using Livecode.com In-Reply-To: References: Message-ID: <1459600618739-4702976.post@n4.nabble.com> I wish LC would consider reorganizing its website to display a multi-stage nested menu on its main page. It may be complex to create (and maintain), but it would give visitors (new and repeat) a bird's eye view and a way to quickly go where they want. I know nested menus are frowned upon by web design gurus, but I think it will add to the LC website's usability. Regards, Sri -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Difficulty-using-Livecode-com-tp4702909p4702976.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sat Apr 2 09:30:52 2016 From: richmondmathewson at gmail.com (RM) Date: Sat, 2 Apr 2016 16:30:52 +0300 Subject: PDF text extraction? In-Reply-To: <56FDC525.6070001@fourthworld.com> References: <56FDC525.6070001@fourthworld.com> Message-ID: <56FFC98C.8050408@gmail.com> Well: every a sucker for repeating mistakes as many times as possible, I opened my sample PDF in Inkscape and then saved it as an EPS file, then tried to import it into Metacard 2.4; which promptly crashed. Of course this, even were it to work, would be useless in terms of batch processing tons of PDF files. As previously observed . . . I wonder if the *OpenOfficeOrg **_Open Source_* routine for converting PDF files into text could not be co-opted by Livecode ? Richmond. On 1.04.2016 03:47, Richard Gaskin wrote: > I may need to extract text from a fair number of PDFs (hundreds). I > can find all sorts of third-party tools to do that, many of them free > and easy to use, but I'd prefer to integrate this step into some other > things I need to do with the files. > > The format isn't as simple as Word or docx, though. I'm not even sure > if we have support in LC for the compression used in the text streams. > Lots of parts there. > > Anyone here have a library or external for extracting text from PDFs? > Ideally a good solution would be available for Win, Mac, and Linux. > > TIA - > From hh at livecode.org Sat Apr 2 10:27:22 2016 From: hh at livecode.org (-hh) Date: Sat, 2 Apr 2016 07:27:22 -0700 (PDT) Subject: Set Text to the Vertical Center of the field In-Reply-To: References: Message-ID: <1459607242721-4702979.post@n4.nabble.com> Scott R. wrote > Bernd N and I have been through this -- there's no reliable way to this, > unless you have a known number of lines, and a fixed point size, line > height, etc. Bernd wrote a method that uses the pixel rect of the text > via snapshot that can work. My solution is to use buttons since those > can display centered text, but that may not be an option for some > implementations. The following handler, that doesn't use formattedHeight, works for me. -- VERTICAL CENTERING OF TEXT [-hh, Apr 16] -- This is independent of any text formatting, the only -- assumption is that ALL of the field's text is visible. on verticalCenter -- 'me' is the field (may be via 'behavior') lock screen; lock messages put the traversalOn of me into trv set traversalOn of me to true --> for using 'select' put the height of me into h put cr & cr after me select after char -2 of me put item 2 of the selectedLoc of me into v1 select before char 1 of me put item 2 of the selectedLoc of me into v0 delete char -2 to -1 of me set topmargin of me to (h + v0 - v1) div 2 set traversalOn of me to trv unlock screen; unlock messages end verticalCenter Note. Of course the same technique, now using vscroll instead of topmargin, works for centering the line of a highlighted text portion in a scrolling field (if NOT all text of the field is visible). -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Set-Text-to-the-Vertical-Center-of-the-field-tp4702965p4702979.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sat Apr 2 11:06:17 2016 From: richmondmathewson at gmail.com (RM) Date: Sat, 2 Apr 2016 18:06:17 +0300 Subject: PDF text extraction? In-Reply-To: <56FDC525.6070001@fourthworld.com> References: <56FDC525.6070001@fourthworld.com> Message-ID: <56FFDFE9.3020705@gmail.com> I see that Supercard, in their 4.8 Beta have introduced these: rtfToText - extracts text from an RTF or RTFD file pdfToText - extracts text from a PDF file docToText - extracts text from a Microsoft Word file docxToText - extracts text from a Microsoft Word XML file htmlToText - extracts text from an HTML file webarchiveToText - extracts text from a WebArchive file http://forums.supercard.us/viewtopic.php?f=11&t=2115&p=10705&hilit=pdf#p10705 However, as I have just joined the Supercard Forum [for the only reason to get a copy of the Beta] this will take a few days to come through. Richard Gaskin should not have to wait: http://solutionsetcetera.com/betarequest.html Of course, as Supercard is Macintosh only I suspect these features are leveraging Mac-only features; although they do look very UNIX/Linux like in their naming method. Richmond. From ambassador at fourthworld.com Sat Apr 2 11:38:57 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 2 Apr 2016 08:38:57 -0700 Subject: PDF text extraction? In-Reply-To: <56FFDFE9.3020705@gmail.com> References: <56FFDFE9.3020705@gmail.com> Message-ID: <56FFE791.3010403@fourthworld.com> Richmond wrote: > I see that Supercard, in their 4.8 Beta have introduced these: > > rtfToText - extracts text from an RTF or RTFD file > pdfToText - extracts text from a PDF file > docToText - extracts text from a Microsoft Word file > docxToText - extracts text from a Microsoft Word XML file > htmlToText - extracts text from an HTML file > webarchiveToText - extracts text from a WebArchive file > http://forums.supercard.us/viewtopic.php?f=11&t=2115&p=10705&hilit=pdf#p10705 > > However, as I have just joined the Supercard Forum [for the only reason > to get a copy of the Beta] this will take a few days to come through. > > Richard Gaskin should not have to wait: > http://solutionsetcetera.com/betarequest.html > > Of course, as Supercard is Macintosh only I suspect > these features are leveraging Mac-only features; although they > do look very UNIX/Linux like in their naming method. Thanks. Yes, Mark Lucas has been doing some outstanding work on SuperCard 4.8. But being exclusively for OS X, as much as I've enjoyed trying out those enhancements on my Mac I can't use them on the platform I spend most of my time on (Ubuntu), or the one most of my users spend time on (Windows). Mr. Lucas is, to put it politely, not fond of the Windows API, and has no interest in Linux, so I don't see that changing anytime soon. I may have a lead on a long-term multi-plat solution, and for now I can get through the first batch of a thousand or so PDFs I need to work with using the pdftotext command line tool included in Ubuntu. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From capellan2000 at gmail.com Sat Apr 2 11:13:18 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 2 Apr 2016 08:13:18 -0700 (PDT) Subject: Design Challenge -- Round Corner mask on images In-Reply-To: <56FFA2AF.1010204@gmail.com> References: <1459358825190-4702801.post@n4.nabble.com> <1459360080004-4702803.post@n4.nabble.com> <1459367544890-4702823.post@n4.nabble.com> <1459368964150-4702827.post@n4.nabble.com> <1459382385531-4702838.post@n4.nabble.com> <56FCFE87.2010305@gmail.com> <1459448995186-4702879.post@n4.nabble.com> <1459460708560-4702898.post@n4.nabble.com> <1459467982156-4702904.post@n4.nabble.com> <56FFA2AF.1010204@gmail.com> Message-ID: <1459609998294-4702982.post@n4.nabble.com> Hi Richmond, RM wrote > Why bother? Frankly the process is no more difficult using > GIMP: https://www.gimp.org/downloads/ or > Photoshop: http://www.adobe.com/products/photoshop.html > and there are quite a few other image editing software packages > available that can do that job as well. True. I will update my stack palette "mask bitmap 02"... when I find time. :-D Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Design-Challenge-Round-Corner-mask-on-images-tp4702659p4702982.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sat Apr 2 11:55:37 2016 From: richmondmathewson at gmail.com (RM) Date: Sat, 2 Apr 2016 18:55:37 +0300 Subject: PDF text extraction? In-Reply-To: <56FFE791.3010403@fourthworld.com> References: <56FFDFE9.3020705@gmail.com> <56FFE791.3010403@fourthworld.com> Message-ID: <56FFEB79.7020905@gmail.com> On 2.04.2016 18:38, Richard Gaskin wrote: > Richmond wrote: > >> I see that Supercard, in their 4.8 Beta have introduced these: >> >> rtfToText - extracts text from an RTF or RTFD file >> pdfToText - extracts text from a PDF file >> docToText - extracts text from a Microsoft Word file >> docxToText - extracts text from a Microsoft Word XML file >> htmlToText - extracts text from an HTML file >> webarchiveToText - extracts text from a WebArchive file >> http://forums.supercard.us/viewtopic.php?f=11&t=2115&p=10705&hilit=pdf#p10705 >> >> >> However, as I have just joined the Supercard Forum [for the only reason >> to get a copy of the Beta] this will take a few days to come through. >> >> Richard Gaskin should not have to wait: >> http://solutionsetcetera.com/betarequest.html >> >> Of course, as Supercard is Macintosh only I suspect >> these features are leveraging Mac-only features; although they >> do look very UNIX/Linux like in their naming method. > > Thanks. Yes, Mark Lucas has been doing some outstanding work on > SuperCard 4.8. Well, outstanding is as outstanding does, I really wonder how Supercard keeps going in the face of competition of Livecode. I know that Supercard has been around for donkey's ages (recall playing with it [and finding it rather awkward compared with Hypercard 2.4.1] about 20 years ago), but as Macintosh, whichever way one looks at things, is a coterie, niche market, a multiplatform alternative (pace Livecode) would seem to make it redundant. > > But being exclusively for OS X, as much as I've enjoyed trying out > those enhancements on my Mac I can't use them on the platform I spend > most of my time on (Ubuntu), or the one most of my users spend time on > (Windows). Mr. Lucas is, to put it politely, not fond of the Windows > API, and has no interest in Linux, so I don't see that changing > anytime soon. > > I may have a lead on a long-term multi-plat solution, and for now I > can get through the first batch of a thousand or so PDFs I need to > work with using the pdftotext command line tool included in Ubuntu. Yes, batch processing of PDF to text is easy enough (although the standard of end results may vary) on Linux; but it is not an in-built solution in Livecode. In a perfect world (which is a silly turn of phrase) Livecode would be able to parse just about any file one could chuck at it. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > Richmond. From ambassador at fourthworld.com Sat Apr 2 11:58:05 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 2 Apr 2016 08:58:05 -0700 Subject: Script Only Stack Architecture In-Reply-To: References: Message-ID: <56FFEC0D.6090907@fourthworld.com> Kay C Lan wrote: > And now stepping on very thin ice I will go against the grain of 'User > Notes' as previously implemented and currently re-suggested. Again, as > an interim step I see them as very useful for capturing nuggets of > information. The great thing about them is, as stated by Jacque, you > don't need to learn any markup (or Git), and you can (could) do it > immediately. > > IMO the ideal solution would be the Dictionary act like a Wiki Editor. > Those with Contributor Accounts get Edit buttons in each of the > relevant sections of each Dictionary entry. You want to add an > excellent example, then you click the Example section Edit button and > you add it right there, where it should be, and where it will be > automatically colour coded; not at the bottom of a dozen other > people's User Notes in lost black and white. You have a Warning, > Caution or Tip that needs highlighting, then that is how it's > presented; again not hidden amongst other User Notes in the same bland > font. Also, a one line Example entry would be just that, a one line > entry. The User Note format bloats it out with inclusion of who added > it, and a time stamp and a couple of blank lines around the entry so a > single line of relevance takes up 4 or 5 lines of Dictionary screen > space. I personally don't need my name attached to every contribution > I make - for those that do, maybe a list of Doc Contributor names in > the About Livecode box similar to the list of names of LC Community > contributors that currently appears. > > The Dictionary is really only a glorified Wiki. I suspect most people > believe the success of Wikis is due to community contribution, but I > believe just as important is Wikis FORCE a standard format and > presentation, everything in it's right place, everything found where > it should be. I think one of the problems Richard alludes to re bloat > can be avoided if people are forced to think where exactly in the > Dictionary entry structure does my nugget of information fit in and > how do I word it so it does fit with the paragraph before and after. > As a bonus, you can also quickly correct that minor spelling error in > the preceding paragraph. > > The Dictionary is just another Livecode stack, so this is all possible > with the talent and technology we have in front of us, the hardest > thing to implement would be the Git integration so that each > addition/amendment is vetted before inclusion with the next release > and visible to the rest of us. > > Actually the biggest problem is who(s) is going to do build it. I > believe the Team is still looking for a Community Docs advocate/leader > to corral those with such inclinations and ideas. The reality is the > former idea of User Notes is probably a lot easier/quicker to > implement than turning the Dictionary into an .lcdoc Editor/Git > Integrator. > > I should probably keep my big mouth shut from now on as the ice has > surely broken and I'm in very deep water. Au contraire. I've quoted the meat of that post intact, long as it is, because I feel it merits a second read. It's a very good collection of ideas which, if implemented, could greatly streamline community contributions to the Dictionary. And like the rest of the clarity expressed there, you hit the hardest part spot-on: Actually the biggest problem is who(s) is going to do build it. A project of this scope would be a considerable undertaking. The team could do it, but it would need to go into queue after the current objectives and the rest of the Kickstarter goals, so let's politely just file that notion under "Not Soon". :) The community could do it, but finding the intersection of interest, skill, and available time would be at best very difficult. It's not like one of the joyous one-offs we toss together, like Richmond's IDE mods or my 20-line script that makes revMenubar look more Ubuntu-like. This is a big task, big enough to warrant a team and a Gantt chart. Conceiving such a system is brilliant but takes only a few minutes to draft an outline like the one above. Drafting a functional spec and workplan would take much more time, and coding it, testing it, and building maintenance systems for it would be a pretty hefty commitment. All of it is indeed very achievable in LiveCode. The project I work on for emergency medicine is similar in scope, and all of it -- from the client to the server all the way down to the data store and Web publishing subsystem -- was built entirely in LiveCode. But it was funded by a fairly large company with a clear upside for the investment. Here the ROI is arguably strong but not quite as strong, when we consider that Github's Markdown is fairly easy to learn and can be used gracefully in any text editor, even their online form. So I like the idea. Very much. And if we can get resources who could commit to seeing it through I'd love to work with it. But the ROI may be difficult to justify, as it would require a lot of people's time away from other activities. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sat Apr 2 12:17:51 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 2 Apr 2016 09:17:51 -0700 Subject: PDF text extraction? In-Reply-To: <56FFEB79.7020905@gmail.com> References: <56FFEB79.7020905@gmail.com> Message-ID: <56FFF0AF.5060709@fourthworld.com> Richmond wrote: > On 2.04.2016 18:38, Richard Gaskin wrote: >> Thanks. Yes, Mark Lucas has been doing some outstanding work on >> SuperCard 4.8. > > Well, outstanding is as outstanding does, I really wonder how > Supercard keeps going in the face of competition of Livecode. > I know that Supercard has been around for donkey's ages (recall > playing with it [and finding it rather awkward compared with > Hypercard 2.4.1] about 20 years ago), but as Macintosh, whichever > way one looks at things, is a coterie, niche market, a multiplatform > alternative (pace Livecode) would seem to make it redundant. One could equally ask about LiveCode in the face of competition from the nearly-ubiquitous Python. There are so many languages in the world because each offers something a little different from the others. Given the similarities between LC and SC, it might seem at first glance like they do the same thing, and in some respects they do. But when you spend more time with them, it becomes clear that the similarities between them are like the similarities between Mac and Windows: both have overlapping windows and many other nearly identical GUI elements, but Mac is built by a company that also makes the hardware so they're able to exercise a bit more control over the experience, one which its fans feel is more integrated and satisfying. Similarly, SuperCard has 1/7th of the job that LC has: OS X vs OS X, Windows, Linux, iOS, Android, Linux/ARM, and faceless Server. Not surprisingly, focused exclusively on 1/7th of the platform coverage, Mark Lucas has been able to integrate with OS X more smoothly in some ways than LC can. SuperCard is a glove wrapped around the hand of OS X, while LC is more of a platform-independent VM, interfacing with the host OSes in such a broad range of ways that it has to use more internal code for things SC can depend on OS X for. They look similar because both do a good job, but under the hood their architectures are vastly different, each comprised of good choices but different because they serve very different goals. > In a perfect world (which is a silly turn of phrase) Livecode would > be able to parse just about any file one could chuck at it. That's the world I hope we're moving toward. And format by format we'll get there. Right now most data scientists use Python as their glue language to wrangle Hadoop, R, and the other parts of their workflow. There's really no reason they couldn't be using LiveCode in that role, and it becomes a compellingly self-evident choice once we can move some of that workflow directly into the language through automated handling of more formats. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Sat Apr 2 12:50:58 2016 From: richmondmathewson at gmail.com (RM) Date: Sat, 2 Apr 2016 19:50:58 +0300 Subject: PDF text extraction? In-Reply-To: <56FFF0AF.5060709@fourthworld.com> References: <56FFEB79.7020905@gmail.com> <56FFF0AF.5060709@fourthworld.com> Message-ID: <56FFF872.8090501@gmail.com> On 2.04.2016 19:17, Richard Gaskin wrote: > Richmond wrote: > > > On 2.04.2016 18:38, Richard Gaskin wrote: > >> Thanks. Yes, Mark Lucas has been doing some outstanding work on > >> SuperCard 4.8. > > > > Well, outstanding is as outstanding does, I really wonder how > > Supercard keeps going in the face of competition of Livecode. > > I know that Supercard has been around for donkey's ages (recall > > playing with it [and finding it rather awkward compared with > > Hypercard 2.4.1] about 20 years ago), but as Macintosh, whichever > > way one looks at things, is a coterie, niche market, a multiplatform > > alternative (pace Livecode) would seem to make it redundant. > > One could equally ask about LiveCode in the face of competition from > the nearly-ubiquitous Python. There are so many languages in the > world because each offers something a little different from the others. I compared Supercard and Livecode because, I at least, see them as belonging to a family of languages that include things like Toolbook as well, to which Python does not belong: a family of programming languages with an integrated compiler and a WYSYWIG GUI. > > Given the similarities between LC and SC, it might seem at first > glance like they do the same thing, and in some respects they do. > > But when you spend more time with them, it becomes clear that the > similarities between them are like the similarities between Mac and > Windows: both have overlapping windows and many other nearly > identical GUI elements, but Mac is built by a company that also makes > the hardware so they're able to exercise a bit more control over the > experience, one which its fans feel is more integrated and satisfying. What that really means is that the Livecode people have to work quite a lot harder feature-per-feature than the Supercard people. > > Similarly, SuperCard has 1/7th of the job that LC has: OS X vs OS X, > Windows, Linux, iOS, Android, Linux/ARM, and faceless Server. Not > surprisingly, focused exclusively on 1/7th of the platform coverage, > Mark Lucas has been able to integrate with OS X more smoothly in some > ways than LC can. > > SuperCard is a glove wrapped around the hand of OS X, while LC is more > of a platform-independent VM, interfacing with the host OSes in such a > broad range of ways that it has to use more internal code for things > SC can depend on OS X for. > > They look similar because both do a good job, but under the hood their > architectures are vastly different, each comprised of good choices but > different because they serve very different goals. The sabre-toothed tiger that roamed across Europe, and the sabre-toothed marsupial tiger that roamed across South America had vastly different interior workings, even if, superficially, they looked almost identical. Neither would have survived long in the other's habitat. > > > > In a perfect world (which is a silly turn of phrase) Livecode would > > be able to parse just about any file one could chuck at it. > > That's the world I hope we're moving toward. And format by format > we'll get there. > > Right now most data scientists use Python as their glue language to > wrangle Hadoop, R, and the other parts of their workflow. Data handling is not Livecode's greatest strength at the moment: I think it is, despite some naysayyers, still the Hypercard "thing". If Livecode wants to be a man for all seasons then there are quite a few areas which need close attention. I have sufficient confidence in Livecode to believe that their team is capable of that (or, if they are not, at least seeing that and hiring extra people who are capable of that). > There's really no reason they couldn't be using LiveCode in that role, > and it becomes a compellingly self-evident choice once we can move > some of that workflow directly into the language through automated > handling of more formats. > I have children who attend my language school who cannot understand why the High schools in this country teach teenagers programming using either PASCAL (!) or C++ when Livecode produces results far faster while not dumbing things down to the extent that one ends up with a LEGO-kit. The reasons in Bulgaria are both historical and due to the low-pay = low-motivation-to-change given to school teachers. This summer I am going to have an "innovative" class consisting of 14-16 year olds who have been studying C++, and we are going to duplicate, over a 6 week period (2 or 3 times a week) all the projects they have had to work on in 2 years. I intend to record these projects (probably write up the projects as they are presented in the kids' textbooks) as a sort of "nyaah, nyahh, nyaah" to the extremely stuffy and conservative state educational system here. Ideally this will end up as a sort of monograph; both in English and Bulgarian. Richmond. Richmond. From dochawk at gmail.com Sat Apr 2 13:03:24 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 2 Apr 2016 10:03:24 -0700 Subject: PDF text extraction? In-Reply-To: <56FFEB79.7020905@gmail.com> References: <56FFDFE9.3020705@gmail.com> <56FFE791.3010403@fourthworld.com> <56FFEB79.7020905@gmail.com> Message-ID: On Sat, Apr 2, 2016 at 8:55 AM, RM wrote: > I know that Supercard has been around for donkey's ages (recall playing > with it [and finding it > rather awkward compared with Hypercard 2.4.1] about 20 years ago), > I switched my projects from Hypercard 1 to Supercard 1.5 long ago, for no other reason than multiple windows--which I desperately needed. I moved some back to Hypercard 2.0, but that involved a copy/paste of every script, iirc. Whatever it was, it was an insane amount of manual cop/paste . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Sat Apr 2 13:18:42 2016 From: richmondmathewson at gmail.com (RM) Date: Sat, 2 Apr 2016 20:18:42 +0300 Subject: PDF text extraction? In-Reply-To: References: <56FFDFE9.3020705@gmail.com> <56FFE791.3010403@fourthworld.com> <56FFEB79.7020905@gmail.com> Message-ID: <56FFFEF2.5000608@gmail.com> On 2.04.2016 20:03, Dr. Hawkins wrote: > On Sat, Apr 2, 2016 at 8:55 AM, RM wrote: > >> I know that Supercard has been around for donkey's ages (recall playing >> with it [and finding it >> rather awkward compared with Hypercard 2.4.1] about 20 years ago), >> > I switched my projects from Hypercard 1 to Supercard 1.5 long ago, for no > other reason than multiple windows--which I desperately needed. > > I moved some back to Hypercard 2.0, but that involved a copy/paste of every > script, iirc. Whatever it was, it was an insane amount of manual cop/paste > . . . > > We've all done daft things in the past. Currently I cannot cope with all the daft things I've done in the past: I'm far too busy coping with the daft things I'm doing at the moment. Love, Richmond. From richmondmathewson at gmail.com Sat Apr 2 13:20:01 2016 From: richmondmathewson at gmail.com (RM) Date: Sat, 2 Apr 2016 20:20:01 +0300 Subject: Stripping Message-ID: <56FFFF41.9030101@gmail.com> There's been a bit of a "Hoo Haa" on the Forum about stripping out carriage returns: http://forums.livecode.com/viewtopic.php?f=7&t=26929&p=140516#p140516 I'm not sure why. Richmond. From klaus at major-k.de Sat Apr 2 13:27:20 2016 From: klaus at major-k.de (Klaus major-k) Date: Sat, 2 Apr 2016 19:27:20 +0200 Subject: Stripping In-Reply-To: <56FFFF41.9030101@gmail.com> References: <56FFFF41.9030101@gmail.com> Message-ID: Hi Richmond, > Am 02.04.2016 um 19:20 schrieb RM : > > There's been a bit of a "Hoo Haa" on the Forum about stripping out carriage returns: > http://forums.livecode.com/viewtopic.php?f=7&t=26929&p=140516#p140516 > I'm not sure why. reading the thread may help! 8-) > Richmond. Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From richmondmathewson at gmail.com Sat Apr 2 13:30:09 2016 From: richmondmathewson at gmail.com (RM) Date: Sat, 2 Apr 2016 20:30:09 +0300 Subject: Stripping In-Reply-To: References: <56FFFF41.9030101@gmail.com> Message-ID: <570001A1.8000506@gmail.com> On 2.04.2016 20:27, Klaus major-k wrote: > Hi Richmond, > >> Am 02.04.2016 um 19:20 schrieb RM : >> >> There's been a bit of a "Hoo Haa" on the Forum about stripping out carriage returns: >> http://forums.livecode.com/viewtopic.php?f=7&t=26929&p=140516#p140516 >> I'm not sure why. > reading the thread may help! 8-) I read the thread. The method in my stack can just as easily be used with a string that is going into a datagrid. Richmond. > >> Richmond. > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sat Apr 2 13:33:09 2016 From: klaus at major-k.de (Klaus major-k) Date: Sat, 2 Apr 2016 19:33:09 +0200 Subject: Stripping In-Reply-To: <570001A1.8000506@gmail.com> References: <56FFFF41.9030101@gmail.com> <570001A1.8000506@gmail.com> Message-ID: <021898B7-DD65-464E-92B8-BB6BCCC72552@major-k.de> Hi Richmond, > Am 02.04.2016 um 19:30 schrieb RM : > > On 2.04.2016 20:27, Klaus major-k wrote: >> Hi Richmond, >> >>> Am 02.04.2016 um 19:20 schrieb RM : >>> >>> There's been a bit of a "Hoo Haa" on the Forum about stripping out carriage returns: >>> http://forums.livecode.com/viewtopic.php?f=7&t=26929&p=140516#p140516 >>> I'm not sure why. >> reading the thread may help! 8-) > I read the thread. The method in my stack can just as easily be used with a string that is going into a datagrid. yep, but that really has nothing to do with the problem discussed in the thread. > Richmond. Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From richmondmathewson at gmail.com Sat Apr 2 13:38:21 2016 From: richmondmathewson at gmail.com (RM) Date: Sat, 2 Apr 2016 20:38:21 +0300 Subject: Stripping In-Reply-To: <021898B7-DD65-464E-92B8-BB6BCCC72552@major-k.de> References: <56FFFF41.9030101@gmail.com> <570001A1.8000506@gmail.com> <021898B7-DD65-464E-92B8-BB6BCCC72552@major-k.de> Message-ID: <5700038D.80008@gmail.com> On 2.04.2016 20:33, Klaus major-k wrote: > Hi Richmond, > >> Am 02.04.2016 um 19:30 schrieb RM : >> >> On 2.04.2016 20:27, Klaus major-k wrote: >>> Hi Richmond, >>> >>>> Am 02.04.2016 um 19:20 schrieb RM : >>>> >>>> There's been a bit of a "Hoo Haa" on the Forum about stripping out carriage returns: >>>> http://forums.livecode.com/viewtopic.php?f=7&t=26929&p=140516#p140516 >>>> I'm not sure why. >>> reading the thread may help! 8-) >> I read the thread. The method in my stack can just as easily be used with a string that is going into a datagrid. > yep, but that really has nothing to do with the problem discussed in the thread. I answered the chap's first post: he stated that "The problem is how to keep the whole contents in one field so that the returns don't cause it to go to the next Description field." So, if the returns are stripped out of the textString that SHOULD solve the problem mentioned in that quote. It is possible that everything follows from the fact that the chap was not removing the returns effectively. Richmond. > >> Richmond. > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Sat Apr 2 13:44:23 2016 From: klaus at major-k.de (Klaus major-k) Date: Sat, 2 Apr 2016 19:44:23 +0200 Subject: Stripping In-Reply-To: <5700038D.80008@gmail.com> References: <56FFFF41.9030101@gmail.com> <570001A1.8000506@gmail.com> <021898B7-DD65-464E-92B8-BB6BCCC72552@major-k.de> <5700038D.80008@gmail.com> Message-ID: Hi Richmond, >>>>> ... >>>> reading the thread may help! 8-) >>> I read the thread. The method in my stack can just as easily be used with a string that is going into a datagrid. >> yep, but that really has nothing to do with the problem discussed in the thread. > > I answered the chap's first post: he stated that "The problem is how to keep the whole contents in one field so that > the returns don't cause it to go to the next Description field.? yep, but the CRs had been in his database records and not (yet) in Livecode! So he did not understand the real problem at that point. > So, if the returns are stripped out of the textString that SHOULD solve the problem mentioned in that quote. > It is possible that everything follows from the fact that the chap was not removing the returns effectively. Whatever, I am really tired of explaining the actual problem! > Richmond. Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From lan.kc.macmail at gmail.com Sat Apr 2 13:53:09 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 3 Apr 2016 01:53:09 +0800 Subject: File exists In-Reply-To: <310DD384-9A2F-4C7E-BDEC-0C14E2C4BDD3@pacifier.com> References: <310DD384-9A2F-4C7E-BDEC-0C14E2C4BDD3@pacifier.com> Message-ID: On Sat, Apr 2, 2016 at 4:48 PM, JB wrote: > If I open a file for read or write and the file does > not exist it will be created. Just to clarify, that statement is incorrect. If you open a file for 'write' and the file does not exist, it will be created. if you open a file for 'read' and the file does not exist 'the result' will be "can't open that file" and NO file is created. on mouseUp set the defaultFolder to specialFolderPath("documents") open file "this is a test.lcdoc" for read if (the result is "can't open that file") then --check if a file was created if (there is a file "this is a test.lcdoc") then answer "A file was created!" else answer "The file was NOT created." end if else answer "You can read from it now!" end if end mouseUp Please also note that Richmond's example is misleading. If you use 'read from file' without first using 'open file' then regardless of whether the file exists or not, 'it' will always be empty. From jacque at hyperactivesw.com Sat Apr 2 13:54:54 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 2 Apr 2016 12:54:54 -0500 Subject: Set Text to the Vertical Center of the field In-Reply-To: References: Message-ID: <5700076E.7050202@hyperactivesw.com> On 4/1/2016 11:08 PM, Sannyasin Brahmanathaswami wrote: > on mouseup > set the textsize of me to 28 > put the formattedheight of me into tTotalTextHeight > put ( ( the height of me - tTotalTextHeight ) / 2) into tTopBottomMargins > set topmargin of me to tTopBottomMargins > end mouseUp > > But it doesn't and the vertical position varies depending on the number of lines. Try this: on verticalAlign put the formattedheight of line 1 to -1 of me into tTotalTextHeight put ( ( the height of me - tTotalTextHeight ) / 2) into tTopBottomMargins set topmargin of me to tTopBottomMargins end verticalAlign The formattedheight of the entire field apparently isn't the same as the formattedheight of the totals of the lines. At least, the above worked in my limited test. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Apr 2 13:57:44 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 2 Apr 2016 12:57:44 -0500 Subject: Set Text to the Vertical Center of the field In-Reply-To: <5700076E.7050202@hyperactivesw.com> References: <5700076E.7050202@hyperactivesw.com> Message-ID: <57000818.2010806@hyperactivesw.com> On 4/2/2016 12:54 PM, J. Landman Gay wrote: > On 4/1/2016 11:08 PM, Sannyasin Brahmanathaswami wrote: >> on mouseup >> set the textsize of me to 28 >> put the formattedheight of me into tTotalTextHeight >> put ( ( the height of me - tTotalTextHeight ) / 2) into tTopBottomMargins >> set topmargin of me to tTopBottomMargins >> end mouseUp >> >> But it doesn't and the vertical position varies depending on the >> number of lines. > > Try this: > > on verticalAlign > put the formattedheight of line 1 to -1 of me into tTotalTextHeight > put ( ( the height of me - tTotalTextHeight ) / 2) into > tTopBottomMargins > set topmargin of me to tTopBottomMargins > end verticalAlign > > The formattedheight of the entire field apparently isn't the same as the > formattedheight of the totals of the lines. At least, the above worked > in my limited test. > BTW, I set the fixedlineheight of the field to true. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Apr 2 14:00:33 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 2 Apr 2016 13:00:33 -0500 Subject: Stripping In-Reply-To: References: <56FFFF41.9030101@gmail.com> <570001A1.8000506@gmail.com> <021898B7-DD65-464E-92B8-BB6BCCC72552@major-k.de> <5700038D.80008@gmail.com> Message-ID: <570008C1.50005@hyperactivesw.com> On 4/2/2016 12:44 PM, Klaus major-k wrote: > yep, but the CRs had been in his database records and not (yet) in Livecode! > So he did not understand the real problem at that point. And he still doesn't. Maybe I'll go poke him a little bit more. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Sat Apr 2 14:03:49 2016 From: klaus at major-k.de (Klaus major-k) Date: Sat, 2 Apr 2016 20:03:49 +0200 Subject: Stripping In-Reply-To: <570008C1.50005@hyperactivesw.com> References: <56FFFF41.9030101@gmail.com> <570001A1.8000506@gmail.com> <021898B7-DD65-464E-92B8-BB6BCCC72552@major-k.de> <5700038D.80008@gmail.com> <570008C1.50005@hyperactivesw.com> Message-ID: <198B6F8E-93F0-44A9-9428-05BCB71A9B5D@major-k.de> Hi Jaqueline, > Am 02.04.2016 um 20:00 schrieb J. Landman Gay : > > On 4/2/2016 12:44 PM, Klaus major-k wrote: >> yep, but the CRs had been in his database records and not (yet) in Livecode! >> So he did not understand the real problem at that point. > And he still doesn't. Maybe I'll go poke him a little bit more. sounds like a good idea to me! :-D > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From effendi at wanadoo.fr Sat Apr 2 14:06:28 2016 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sat, 2 Apr 2016 20:06:28 +0200 Subject: LiveCode Video Display with QuickTime on a PC ? Message-ID: <3A9726F2-BC0B-4B2E-ADA4-862EC44CAF5C@wanadoo.fr> Hi from Beautiful Brittany, Thanks to Mark and Jacqueline, and especially Panos for adding AVI clarification, and again to Stephen for completing the PC issue. I now know how to solve all elements of this problem ! If QT (V7) works on XP PC versions, that solves my immediate problem, but the rest of the data is stored for future use ...... Thanks to you all. -Francis From richmondmathewson at gmail.com Sat Apr 2 14:13:14 2016 From: richmondmathewson at gmail.com (RM) Date: Sat, 2 Apr 2016 21:13:14 +0300 Subject: File exists In-Reply-To: References: <310DD384-9A2F-4C7E-BDEC-0C14E2C4BDD3@pacifier.com> Message-ID: <57000BBA.9080201@gmail.com> On 2.04.2016 20:53, Kay C Lan wrote: > On Sat, Apr 2, 2016 at 4:48 PM, JB wrote: >> If I open a file for read or write and the file does >> not exist it will be created. > Just to clarify, that statement is incorrect. > > If you open a file for 'write' and the file does not exist, it will be created. > > if you open a file for 'read' and the file does not exist 'the result' > will be "can't open that file" and NO file is created. > > on mouseUp > set the defaultFolder to specialFolderPath("documents") > open file "this is a test.lcdoc" for read > if (the result is "can't open that file") then > --check if a file was created > if (there is a file "this is a test.lcdoc") then > answer "A file was created!" > else > answer "The file was NOT created." > end if > else > answer "You can read from it now!" > end if > end mouseUp > > Please also note that Richmond's example is misleading. If you use > 'read from file' without first using 'open file' then regardless of > whether the file exists or not, 'it' will always be empty. Whoops: sorry about that one. Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sat Apr 2 14:34:00 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 2 Apr 2016 11:34:00 -0700 Subject: Set Text to the Vertical Center of the field In-Reply-To: <5700076E.7050202@hyperactivesw.com> References: <5700076E.7050202@hyperactivesw.com> Message-ID: <57001098.70001@fourthworld.com> Ive tried several of the methods discussed here and one of my own, and while some work at some field heights they break at others. I didn't use fixedLineHeight because that shouldn't be needed; indeed I can imagine many cases in which a field may have different sizes of text, so we need a solution that allows that. IMNSO if this can't be done in three lines using Jacque's method it's a bug. put the formattedheight of line 1 to -1 of me into tTotalTextHt put ( ( the height of me - tTotalTextHt ) / 2) into tTopMargin set topmargin of me to tTopMargin Logically that should work regardless of text size or fixedLineHeight. Can anyone here think of a reason it might not be considered a bug? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From brahma at hindu.org Sat Apr 2 17:02:57 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 2 Apr 2016 21:02:57 +0000 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: <1459609998294-4702982.post@n4.nabble.com> References: <1459358825190-4702801.post@n4.nabble.com> <1459360080004-4702803.post@n4.nabble.com> <1459367544890-4702823.post@n4.nabble.com> <1459368964150-4702827.post@n4.nabble.com> <1459382385531-4702838.post@n4.nabble.com> <56FCFE87.2010305@gmail.com> <1459448995186-4702879.post@n4.nabble.com> <1459460708560-4702898.post@n4.nabble.com> <1459467982156-4702904.post@n4.nabble.com> <56FFA2AF.1010204@gmail.com> <1459609998294-4702982.post@n4.nabble.com> Message-ID: RM: Your "why bother" assumes a) we work in teams of one in solitude or something like that. OR b) you have experienced talented "workers" in image process. In a distributed work environment, the options to pre-process images prior to getting them into LiveCode is often zero. So...when the only resources you have are square, ordinary images, having such a library in Livecode can be hugely helpful... add to that, the use case may be multiple images over many cards ( or set for whatever purpose), making an LC library/process that can loop, way, way more efficient than doing these in GIMP of Photoshop, unless you want to go through the headached of setting up and recording actions etc. I have in house app functions where, sure, we could do the same thing in another X, Y, Z application, but certainly not with the same efficiency and certainly not by someone with zero skill set in applications X,Y,Z. I have volunteers to work on sets of 3000 + images with Livecode where the idea of "why bother, you can do this in GIMP/Photoshop" verges on madness (smile). On April 2, 2016 at 5:44:11 AM, Alejandro Tejada (capellan2000 at gmail.com) wrote: RM wrote > Why bother? Frankly the process is no more difficult using > GIMP: https://www.gimp.org/downloads/ or > Photoshop: http://www.adobe.com/products/photoshop.html > and there are quite a few other image editing software packages > available that can do that job as well. From brahma at hindu.org Sat Apr 2 17:09:38 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 2 Apr 2016 21:09:38 +0000 Subject: Set Text to the Vertical Center of the field In-Reply-To: <57001098.70001@fourthworld.com> References: <5700076E.7050202@hyperactivesw.com> <57001098.70001@fourthworld.com> Message-ID: ? Someone sent me this solution off line.. on mouseUp CenterTextVertically "field 2" end mouseUp on CenterTextVertically myFld put the effective textHeight of myFld into tTextHeight put item 2 of the loc of myFld into tfield put the formattedRect of line 1 to - 1 of myFld into tFormatRect put item 4 of tFormatRect - item 2 of tFormatRect into tFormatHeight put tFormatHeight div 2 into tFormatHalfHeight put item 2 of tFormatRect into tCurrFormatTop put tfieldY - tCurrFormatTop into tCenterField_To_TopTextDiff set the topMargin of myFld to the topMargin of myFld + tCenterField_To_TopTextDiff - tFormatHalfHeight end CenterTextVertically But, agreed, it should be a 3 liner ?will you "bug it" for us? and this from Jacque > The formattedheight of the entire field apparently isn't the same as the? > formattedheight of the totals of the lines.? makes no sense to me... or at least it would be good to know the difference in precise terms. On April 2, 2016 at 8:34:25 AM, Richard Gaskin (ambassador at fourthworld.com(mailto:ambassador at fourthworld.com)) wrote: > IMNSO if this can't be done in three lines using Jacque's method it's a bug. > > put the formattedheight of line 1 to -1 of me into tTotalTextHt > put ( ( the height of me - tTotalTextHt ) / 2) into tTopMargin > set topmargin of me to tTopMargin > > Logically that should work regardless of text size or fixedLineHeight. > > Can anyone here think of a reason it might not be considered a bug? From brahma at hindu.org Sat Apr 2 17:17:11 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 2 Apr 2016 21:17:11 +0000 Subject: Script Only Stack Architecture Message-ID: Kay C Lan wrote: IMO the ideal solution would be the Dictionary act like a Wiki Editor. I had a parallel thought this morning. Many languages have their "wiki space" Given the enormity of the task of turning the dictionary into something like that...don't bother... let it be what it is. Just start a new empty wiki. Begin simply: As soon as subject arise of value, instantiate the subject / theme and put the info there. I would be happy to participate. I probably would be better than what I do now: copy out and save snippets from email to files on disk... So if you want to learn more about "behavior" just search the wiki... not the dictionary. of course even managing a wiki is more over head for someone. From ambassador at fourthworld.com Sat Apr 2 17:42:09 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 2 Apr 2016 14:42:09 -0700 Subject: Set Text to the Vertical Center of the field In-Reply-To: References: Message-ID: <57003CB1.8060601@fourthworld.com> Sannyasin Brahmanathaswami wrote: > Someone sent me this solution off line.. > > on mouseUp > CenterTextVertically "field 2" > end mouseUp > > on CenterTextVertically myFld > put the effective textHeight of myFld into tTextHeight > put item 2 of the loc of myFld into tfield > put the formattedRect of line 1 to - 1 of myFld into tFormatRect > put item 4 of tFormatRect - item 2 of tFormatRect into tFormatHeight > put tFormatHeight div 2 into tFormatHalfHeight > put item 2 of tFormatRect into tCurrFormatTop > put tfieldY - tCurrFormatTop into tCenterField_To_TopTextDiff > set the topMargin of myFld to the topMargin of myFld + tCenterField_To_TopTextDiff - tFormatHalfHeight > end CenterTextVertically > > But, agreed, it should be a 3 liner will you "bug it" for us? The first executable line there sets a value in tTextHeight but doesn't use it later on, so it's really fewer lines than it appears. :) The number of lines isn't as important as that it's possible. That one's just a longer version of Jacque's algo, which gets the difference between the formatted height of the text from the field, and set the topMargin to half of that. That's logical and should work, but trying my version this morning and later Jacque's and this one, all of them are a bit off and more than a bit funky: if you click the button multiple times the text moves up and down in ever smaller increments before settling into a position that's somewhat close the vertically centered, but too high in tall fields and too low in short fields. So a bug report wouldn't be for any specific number of lines, but merely that either the topMargin and/or formattedHeight be fixed so it can be possible to apply good logic to get good results. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sat Apr 2 17:44:32 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 2 Apr 2016 14:44:32 -0700 Subject: Script Only Stack Architecture In-Reply-To: References: Message-ID: <57003D40.6070202@fourthworld.com> Sannyasin Brahmanathaswami > Kay C Lan wrote: >> >> IMO the ideal solution would be the Dictionary act like a Wiki >> Editor. > > I had a parallel thought this morning. Many languages have their > "wiki space" > > Given the enormity of the task of turning the dictionary into > something like that...don't bother... let it be what it is. Just > start a new empty wiki. > > Begin simply: As soon as subject arise of value, instantiate the > subject / theme and put the info there. > > I would be happy to participate. MaxV already started one - dive in: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From brahma at hindu.org Sat Apr 2 17:49:02 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 2 Apr 2016 21:49:02 +0000 Subject: Set Text to the Vertical Center of the field In-Reply-To: <57003CB1.8060601@fourthworld.com> References: <57003CB1.8060601@fourthworld.com> Message-ID: Can you submit? with your test stack? On April 2, 2016 at 11:42:43 AM, Richard Gaskin (ambassador at fourthworld.com) wrote: So a bug report wouldn't be for any specific number of lines, but merely that either the topMargin and/or formattedHeight be fixed so it can be possible to apply good logic to get good results. From ambassador at fourthworld.com Sat Apr 2 18:04:39 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 2 Apr 2016 15:04:39 -0700 Subject: Set Text to the Vertical Center of the field In-Reply-To: References: Message-ID: <570041F7.5020306@fourthworld.com> Sannyasin Brahmanathaswami wrote: > Can you submit? with your test stack? It's physically possible, but I'm currently tracking many bugs related to my own work. Is there something that prevents you from submitting a bug related to your work? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From scott at tactilemedia.com Sat Apr 2 18:06:54 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 02 Apr 2016 15:06:54 -0700 Subject: Set Text to the Vertical Center of the field In-Reply-To: References: <57003CB1.8060601@fourthworld.com> Message-ID: This has already been submitted at least a couple of times: http://quality.livecode.com/show_bug.cgi?id=2707 http://quality.livecode.com/show_bug.cgi?id=9561 Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/2/16, 2:49 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami" wrote: >Can you submit? with your test stack? > >On April 2, 2016 at 11:42:43 AM, Richard Gaskin >(ambassador at fourthworld.com) wrote: > >So a bug report wouldn't be for any specific number of lines, but merely >that either the topMargin and/or formattedHeight be fixed so it can be >possible to apply good logic to get good results. >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Apr 2 18:21:00 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 2 Apr 2016 17:21:00 -0500 Subject: Set Text to the Vertical Center of the field In-Reply-To: References: <5700076E.7050202@hyperactivesw.com> <57001098.70001@fourthworld.com> Message-ID: <570045CC.3020406@hyperactivesw.com> On 4/2/2016 4:09 PM, Sannyasin Brahmanathaswami wrote: > and this from Jacque > >> >The formattedheight of the entire field apparently isn't the same as the >> >formattedheight of the totals of the lines. > makes no sense to me... or at least it would be good to know the difference in precise terms. I'd guess it has to do with the extra clearance required by ascenders and decenders when calculating the minimum height needed to display the text in the field. There has to be a little extra space at both the top and bottom of the text block. When adding up just the specific lines, that extra calculation is omitted. Just guessing though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Apr 2 19:06:50 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 2 Apr 2016 18:06:50 -0500 Subject: Set Text to the Vertical Center of the field In-Reply-To: <57001098.70001@fourthworld.com> References: <5700076E.7050202@hyperactivesw.com> <57001098.70001@fourthworld.com> Message-ID: <5700508A.8070100@hyperactivesw.com> On 4/2/2016 1:34 PM, Richard Gaskin wrote: > IMNSO if this can't be done in three lines using Jacque's method it's a > bug. > > put the formattedheight of line 1 to -1 of me into tTotalTextHt > put ( ( the height of me - tTotalTextHt ) / 2) into tTopMargin > set topmargin of me to tTopMargin > > Logically that should work regardless of text size or fixedLineHeight. > > Can anyone here think of a reason it might not be considered a bug? If there's a bug, it appears to be that the current margins are part of the formattedheight, at least in LC 8. But it may not be a bug, I'm not sure. Setting the topmargin of a field to 0 gives a different formattedheight than a topmargin of a higher value (ditto setting bottomMargin or both.) So that's probably why getting the formattedheight of the lines instead of the whole field works better. If my ascender/descender theory is right, then we need to add that clearance space back into the calculation. So: on mouseUp put the effective textheight of me * .33 into tPadding put the formattedheight of line 1 to -1 of me into tTotalTextHt put ( ( the height of me - tTotalTextHt ) / 2) into tTopMargin set topmargin of me to tTopMargin + tPadding end mouseUp That seems to get us closer. I vaguely recall that the exact fraction of the textheight that's used for the padding was posted here a long time ago but I can't remember what it was, and .33 seems close. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Apr 2 19:14:19 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 2 Apr 2016 18:14:19 -0500 Subject: Set Text to the Vertical Center of the field In-Reply-To: <57003CB1.8060601@fourthworld.com> References: <57003CB1.8060601@fourthworld.com> Message-ID: <5700524B.2080101@hyperactivesw.com> On 4/2/2016 4:42 PM, Richard Gaskin wrote: > That one's just a longer version of Jacque's algo, which gets the > difference between the formatted height of the text from the field, and > set the topMargin to half of that. > > That's logical and should work, but trying my version this morning and > later Jacque's and this one, all of them are a bit off and more than a > bit funky: if you click the button multiple times the text moves up and > down in ever smaller increments before settling into a position that's > somewhat close the vertically centered, but too high in tall fields and > too low in short fields. Okay, I think I have this partly figured out. I saw the same jiggling, but now that I know the margins are part of the formattedheight, it makes sense. On every click, the margins were reset and the formattedheight changed. So the solution seems to be: 1 get the formattedheight of only the lines (which ignores the margins) 2 calculate the extra empty space above and below that text 3 divide the space in half to get a top margin 4 add in half the ascender/descender padding (about 33% of textheight) I think... -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From hh at livecode.org Sat Apr 2 18:53:30 2016 From: hh at livecode.org (-hh) Date: Sat, 2 Apr 2016 15:53:30 -0700 (PDT) Subject: Set Text to the Vertical Center of the field In-Reply-To: <5700524B.2080101@hyperactivesw.com> References: <5700076E.7050202@hyperactivesw.com> <57001098.70001@fourthworld.com> <57003CB1.8060601@fourthworld.com> <5700524B.2080101@hyperactivesw.com> Message-ID: <1459637610788-4703014.post@n4.nabble.com> You are not talking about centering text vertically, which is solved, at least for me. You are talking about text measurement, what may be used for that but one is not forced to do so. Text measurement has changed several times since LC 6 and will change again with every new dot-release of LC 8 (and moreover will always have unavoidable OS-related differences). -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Set-Text-to-the-Vertical-Center-of-the-field-tp4702965p4703014.html Sent from the Revolution - User mailing list archive at Nabble.com. From rdimola at evergreeninfo.net Sat Apr 2 20:52:13 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 2 Apr 2016 20:52:13 -0400 Subject: Set Text to the Vertical Center of the field In-Reply-To: <1459637610788-4703014.post@n4.nabble.com> References: <5700076E.7050202@hyperactivesw.com> <57001098.70001@fourthworld.com> <57003CB1.8060601@fourthworld.com> <5700524B.2080101@hyperactivesw.com> <1459637610788-4703014.post@n4.nabble.com> Message-ID: <007f01d18d43$0ff959e0$2fec0da0$@net> This is working for me but does fall apart when the field gets very small. Also the font baselines change from Windows to both iOS and Android. Bug 12176 I have had many many variations of this task and this one is the best I've found so far but I digress, I think there's bug because if the Yoda's of LC can't get it right.... it's a bug. Command CenterVert Obj -- for any control Local tMargins , tHeight , tFheight , tSpace put (0,0,0,0) into tMargins try put item 1 of the margins of obj into item 1 of tMargins put item 3 of the margins of obj into item 3 of tMargins catch SomeError exit CenterVert -- Can't get margins?... do nothing end try put the height of obj into tHeight try put the effective formattedheight of char 1 to -1 of obj into tFheight --for fields. Note the EFFECTIVE. catch SomeError try put the formattedheight of control obj2 into tFheight -- for buttons catch SomeError exit CenterVert -- Can't get the text height?... do nothing end try end try if tFheight < tHeight then -- make top/bottom margins 0 if text is clipped put tHeight - tFheight into tSpace put trunc(tspace/2) into tspace -- This trunc seemed to help at extremes. put tspace into item 2 of tMargins put tspace into item 4 of tMargins end if set the margins of Obj to tMargins end CenterVert Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From rdimola at evergreeninfo.net Sat Apr 2 20:52:13 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 2 Apr 2016 20:52:13 -0400 Subject: Set Text to the Vertical Center of the field In-Reply-To: <1459637610788-4703014.post@n4.nabble.com> References: <5700076E.7050202@hyperactivesw.com> <57001098.70001@fourthworld.com> <57003CB1.8060601@fourthworld.com> <5700524B.2080101@hyperactivesw.com> <1459637610788-4703014.post@n4.nabble.com> Message-ID: <007f01d18d43$0ff959e0$2fec0da0$@net> This is working for me but does fall apart when the field gets very small. Also the font baselines change from Windows to both iOS and Android. Bug 12176 I have had many many variations of this task and this one is the best I've found so far but I digress, I think there's bug because if the Yoda's of LC can't get it right.... it's a bug. Command CenterVert Obj -- for any control Local tMargins , tHeight , tFheight , tSpace put (0,0,0,0) into tMargins try put item 1 of the margins of obj into item 1 of tMargins put item 3 of the margins of obj into item 3 of tMargins catch SomeError exit CenterVert -- Can't get margins?... do nothing end try put the height of obj into tHeight try put the effective formattedheight of char 1 to -1 of obj into tFheight --for fields. Note the EFFECTIVE. catch SomeError try put the formattedheight of control obj2 into tFheight -- for buttons catch SomeError exit CenterVert -- Can't get the text height?... do nothing end try end try if tFheight < tHeight then -- make top/bottom margins 0 if text is clipped put tHeight - tFheight into tSpace put trunc(tspace/2) into tspace -- This trunc seemed to help at extremes. put tspace into item 2 of tMargins put tspace into item 4 of tMargins end if set the margins of Obj to tMargins end CenterVert Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From sundown at pacifier.com Sat Apr 2 21:33:17 2016 From: sundown at pacifier.com (JB) Date: Sat, 2 Apr 2016 18:33:17 -0700 Subject: File exists In-Reply-To: References: <310DD384-9A2F-4C7E-BDEC-0C14E2C4BDD3@pacifier.com> Message-ID: <4D347CA2-55D0-465D-B5B6-82AE9C2D1D6F@pacifier.com> Thanks for the code and info, Kay. JB > On Apr 2, 2016, at 10:53 AM, Kay C Lan wrote: > > On Sat, Apr 2, 2016 at 4:48 PM, JB wrote: >> If I open a file for read or write and the file does >> not exist it will be created. > > Just to clarify, that statement is incorrect. > > If you open a file for 'write' and the file does not exist, it will be created. > > if you open a file for 'read' and the file does not exist 'the result' > will be "can't open that file" and NO file is created. > > on mouseUp > set the defaultFolder to specialFolderPath("documents") > open file "this is a test.lcdoc" for read > if (the result is "can't open that file") then > --check if a file was created > if (there is a file "this is a test.lcdoc") then > answer "A file was created!" > else > answer "The file was NOT created." > end if > else > answer "You can read from it now!" > end if > end mouseUp > > Please also note that Richmond's example is misleading. If you use > 'read from file' without first using 'open file' then regardless of > whether the file exists or not, 'it' will always be empty. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brahma at hindu.org Sat Apr 2 22:52:00 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 3 Apr 2016 02:52:00 +0000 Subject: Script Only Stack Architecture In-Reply-To: References: <56FD7DE9.3030206@fourthworld.com> Message-ID: ? Small addendum, now that I'm actually using them. Today, though I had added them as stack files, my three external stack file behaviors were still not in the message path. But, now, having added them it the stack files.. you can open them without declaring a path. command initializeInterface set the defaultstack to "SivaSiva" open stack "generic-mobile-functions_behavior" open stack "siva_fields_behavior open stack "siva_portal-links_behavior" Now they a) appear in the behaviors area to be chosen and applied b) work...? STILL MYSTERIOUS Not clear to me yet exactly when and how you can trigger a save of an external script only stack. Once you get the hang of this, the new edit script button in the behaviors for your object is going to be your go to button.. edit the exteral script apply.. let's say you have done extensive changes in to that script only stack behavior. At that moment, how do you save it? When I save the main stack, the Modal feedback does not show the external stacks being saved... on the main stack and 1 binary substack. On April 1, 2016 at 4:34:56 AM, Ali Lloyd (ali.lloyd at livecode.com(mailto:ali.lloyd at livecode.com)) wrote: > > > > ergo: merely opening a script-only stack that is applied as a > > > > behavior to a control (not global in scope) does *not* place > > > > into the msg path. From ambassador at fourthworld.com Sat Apr 2 23:43:04 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 2 Apr 2016 20:43:04 -0700 Subject: Script Only Stack Architecture In-Reply-To: References: Message-ID: <57009148.3080506@fourthworld.com> Sannyasin Brahmanathaswami wrote: > Small addendum, now that I'm actually using them. Today, though I > had added them as stack files, my three external stack file > behaviors were still not in the message path. That's contrary to my own experience, which I'd tested again to make double-sure just the other morning before I posted the note about stackFiles. There must be something else going on. Without seeing the complete collection of stack files I'm unable to offer further advice on this. > Not clear to me yet exactly when and how you can trigger a save of > an external script only stack. Have you tried the "save" command? The other day I wrote: It may be helpful while demystifying this to work with ordinary stack files for your behavior scripts. There's really no difference between ordinary stack files and script-only stack files beyond the storage format, but if nothing else sense you're already confident in your use of normal stacks it may help you focus on the things that may actually be the source of the problem. You've had a wide range of issues to contend with, from file corruption to mysterious plugins and more. Give yourself a break for a day or two: get one thing working, and only then change something else. Sorting out the behaviors would seem to merit attention. If script-only files are a distraction setting them aside and just using the binary stacks you seem more comfortable with for now will let you focus on one thing at a time. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sat Apr 2 23:59:19 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 2 Apr 2016 20:59:19 -0700 Subject: Set Text to the Vertical Center of the field In-Reply-To: <007f01d18d43$0ff959e0$2fec0da0$@net> References: <007f01d18d43$0ff959e0$2fec0da0$@net> Message-ID: <57009517.5060607@fourthworld.com> Ralph DiMola wrote: > try > put item 1 of the margins of obj into item 1 of tMargins > put item 3 of the margins of obj into item 3 of tMargins > catch SomeError > exit CenterVert -- Can't get margins?... do nothing > end try Now I'm even more worried: is there a cirumstance in which querying the margins can result in a thrown error? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sun Apr 3 00:05:50 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 2 Apr 2016 21:05:50 -0700 Subject: Set Text to the Vertical Center of the field In-Reply-To: <007f01d18d43$0ff959e0$2fec0da0$@net> References: <007f01d18d43$0ff959e0$2fec0da0$@net> Message-ID: <5700969E.9090305@fourthworld.com> Ralph DiMola wrote: put the EFFECTIVE formattedheight of \ char 1 to -1 of pObj into tFheight There it is! "EFFECTIVE"! Once I use Jacque's technique of omitting the margins by obtaining only the formattedHeight of the text itself, and Ralph's astute awareness that apparently it's possible to have a formattedHeight different from an EFFECTIVE formattedHeight, all four versions of this algo adjusted with those changes work well to produce the same good result. Ralph, help me out here: under what circumstances would the formattedHeight and the effectiveFormattedHeight differ for a range of text? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rdimolad at evergreeninfo.net Sun Apr 3 00:52:55 2016 From: rdimolad at evergreeninfo.net (Ralph DiMola) Date: Sun, 03 Apr 2016 00:52:55 -0400 Subject: Set Text to the Vertical Center of the field Message-ID: <7dc5fj17spvotpeaqfuh5d8t.1459659175522@email.android.com> This was when I was a newbie and developing my resizing library and I called it with the wrong control type. Ralph DiMola IT Director Evergreen Information Services
-------- Original message --------
From: Richard Gaskin
Date:04/02/2016 23:59 (GMT-05:00)
To: use-livecode at lists.runrev.com
Subject: Re: Set Text to the Vertical Center of the field
Ralph DiMola wrote: > try > put item 1 of the margins of obj into item 1 of tMargins > put item 3 of the margins of obj into item 3 of tMargins > catch SomeError > exit CenterVert -- Can't get margins?... do nothing > end try Now I'm even more worried: is there a cirumstance in which querying the margins can result in a thrown error? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimolad at evergreeninfo.net Sun Apr 3 01:01:21 2016 From: rdimolad at evergreeninfo.net (Ralph DiMola) Date: Sun, 03 Apr 2016 01:01:21 -0400 Subject: Set Text to the Vertical Center of the field Message-ID: <5ngffb64n9drj0e5qha64hrc.1459659681621@email.android.com> My best guess at the tme was that the effective modifier ignores the area reserved for the maximum ascenders and descenders. Also char 1 to -1 worked better than line 1 to -1 if I remember correctly.? Ralph DiMola IT Director Evergreen Information Services
-------- Original message --------
From: Richard Gaskin
Date:04/03/2016 00:05 (GMT-05:00)
To: use-livecode at lists.runrev.com
Subject: Re: Set Text to the Vertical Center of the field
Ralph DiMola wrote: put the EFFECTIVE formattedheight of \ char 1 to -1 of pObj into tFheight There it is! "EFFECTIVE"! Once I use Jacque's technique of omitting the margins by obtaining only the formattedHeight of the text itself, and Ralph's astute awareness that apparently it's possible to have a formattedHeight different from an EFFECTIVE formattedHeight, all four versions of this algo adjusted with those changes work well to produce the same good result. Ralph, help me out here: under what circumstances would the formattedHeight and the effectiveFormattedHeight differ for a range of text? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Sun Apr 3 01:37:50 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 3 Apr 2016 05:37:50 +0000 Subject: Script Only Stack Architecture In-Reply-To: <57009148.3080506@fourthworld.com> References: <57009148.3080506@fourthworld.com> Message-ID: I think I'm too bitten (happily so) now with the class/super/class behaviors hierarchy ( have already set the behavior of a behavior, fantastic!) In fact it's hard to stop envisioning all the ways to use this feature, and I don't want the bound up in a single binary file object... as the goal is, in the next few months to distribute the developement across a bigger team. So I'm going to get work done now ... I have flown to the world of WHEW (WHatEver Works) If setting the stack files and opening them in the preopenhandler works, that's what I'll do, if the only certain way to save script only stacks is by clicking on the contextual menu and explicitely choosing "Save" (in the AB and PB) that's what I'll do. My auto save is working (every 30 min), and I'm saving more frequently, so I can recover quickly. I got a lot done today... What I will give myself a break on is reporting all the bugs in LC816 and just push to work around them...or ask here, since (as we are seeing with formatted height) others have worked around bugs before. BR On April 2, 2016 at 5:43:32 PM, Richard Gaskin (ambassador at fourthworld.com) wrote: You've had a wide range of issues to contend with, from file corruption to mysterious plugins and more. Give yourself a break for a day or two: get one thing working, and only then change something else. Sorting out the behaviors would seem to merit attention. If script-only files are a distraction setting them aside and just using the binary stacks you seem more comfortable with for now will let you focus on one thing at a time. From jacque at hyperactivesw.com Sun Apr 3 01:39:44 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 3 Apr 2016 00:39:44 -0500 Subject: Set Text to the Vertical Center of the field In-Reply-To: <5700969E.9090305@fourthworld.com> References: <007f01d18d43$0ff959e0$2fec0da0$@net> <5700969E.9090305@fourthworld.com> Message-ID: <5700ACA0.8090609@hyperactivesw.com> On 4/2/2016 11:05 PM, Richard Gaskin wrote: > > put the EFFECTIVE formattedheight of \ > char 1 to -1 of pObj into tFheight > > There it is! "EFFECTIVE"! Would be nice if that were documented. Hmph. Need user notes. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From prothero at earthednet.org Sun Apr 3 01:42:09 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Sat, 2 Apr 2016 22:42:09 -0700 Subject: Script Only Stack Architecture In-Reply-To: <57003D40.6070202@fourthworld.com> References: <57003D40.6070202@fourthworld.com> Message-ID: <0089B9EC-0F73-4015-A426-F2DD8F1555E5@earthednet.org> I wonder how hard it would be to port max's Wikia wiki to a less commercial host. I am skeptical of those free sites dedicated to scraping user information for data mining purposes. Livecode could support it as part of their resources, as an experiment to see how it develops? Bill William Prothero http://es.earthednet.org > On Apr 2, 2016, at 2:44 PM, Richard Gaskin wrote: > > Sannyasin Brahmanathaswami > > > Kay C Lan wrote: > >> > >> IMO the ideal solution would be the Dictionary act like a Wiki > >> Editor. > > > > I had a parallel thought this morning. Many languages have their > > "wiki space" > > > > Given the enormity of the task of turning the dictionary into > > something like that...don't bother... let it be what it is. Just > > start a new empty wiki. > > > > Begin simply: As soon as subject arise of value, instantiate the > > subject / theme and put the info there. > > > > I would be happy to participate. > > MaxV already started one - dive in: > > > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sun Apr 3 02:13:17 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 2 Apr 2016 23:13:17 -0700 Subject: Script Only Stack Architecture In-Reply-To: References: Message-ID: <5700B47D.1020607@fourthworld.com> Sannyasin Brahmanathaswami wrote: > ... if the only certain way to save script only stacks is by clicking > on the contextual menu and explicitely choosing "Save" (in the AB > and PB) that's what I'll do. ...or typing Cmd-S while in the Script Editor, or choosing File->Save from the main menu bar, or any other way you normally save any stack. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sun Apr 3 02:18:21 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 2 Apr 2016 23:18:21 -0700 Subject: Script Only Stack Architecture In-Reply-To: <0089B9EC-0F73-4015-A426-F2DD8F1555E5@earthednet.org> References: <0089B9EC-0F73-4015-A426-F2DD8F1555E5@earthednet.org> Message-ID: <5700B5AD.3050302@fourthworld.com> Bill Prothero wrote: > I wonder how hard it would be to port max's Wikia wiki to a less > commercial host. I am skeptical of those free sites dedicated to > scraping user information for data mining purposes. Yeah, not my favorite either. The one advantage is the price, but as they say, you get what you pay for. I'd host it at LiveCode Journal or anywhere else Max is willing to move it. Anyone interested in heading this up enough to drop him a note to see if he's up for a move? > Livecode could support it as part of their resources, as an > experiment to see how it develops? They certainly have the web space, but it's been more than two years since I started what's become a surprisingly long process to try to coordinate some community web efforts, so I'm happy to let them focus on the engine right now and for things like this explore options that neither distract them nor hold us back. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Sun Apr 3 02:22:07 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 3 Apr 2016 01:22:07 -0500 Subject: Script Only Stack Architecture In-Reply-To: References: <57009148.3080506@fourthworld.com> Message-ID: <5700B68F.1030609@hyperactivesw.com> On 4/3/2016 12:37 AM, Sannyasin Brahmanathaswami wrote: > If setting the stack files and opening them in the preopenhandler > works, that's what I'll do, if the only certain way to save script > only stacks is by clicking on the contextual menu and explicitely > choosing "Save" (in the AB and PB) that's what I'll do. If you have the script editor in focus and frontmost (i.e., you're working in it) you can just Cmd-S and the stack will save. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Apr 3 02:29:33 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 3 Apr 2016 01:29:33 -0500 Subject: Volunteer github guru for documentation submissions? Message-ID: <5700B84D.1090305@hyperactivesw.com> I'm not keen on trying to learn github but I want to help with the documentation. I keep finding things. Filling out bug reports is too much trouble and clutter for things like misspellings or syntax examples. So I was wondering if there might be a github person who would volunteer to push changes for us. Anyone with documentation changes could send them to this kindhearted person who would do the technical part for us. This person wouldn't need to do any editing or even read the submissions, just do the actual pushing and pulling or whatever it is. Is that a feasible suggestion? Without user notes, I think I'm letting a lot of things just slide because it's too fiddly and takes too much time to learn what I need to do. Alternately (and harder) would be someone who could write a LiveCode plugin that would do the same thing. I suspect a lot more of the docs would get updated if we had something like this. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From hh at livecode.org Sun Apr 3 02:47:15 2016 From: hh at livecode.org (-hh) Date: Sat, 2 Apr 2016 23:47:15 -0700 (PDT) Subject: Set Text to the Vertical Center of the field In-Reply-To: <5700ACA0.8090609@hyperactivesw.com> References: <5700076E.7050202@hyperactivesw.com> <57001098.70001@fourthworld.com> <57003CB1.8060601@fourthworld.com> <5700524B.2080101@hyperactivesw.com> <1459637610788-4703014.post@n4.nabble.com> <007f01d18d43$0ff959e0$2fec0da0$@net> <5700969E.9090305@fourthworld.com> <5700ACA0.8090609@hyperactivesw.com> Message-ID: <1459666035147-4703030.post@n4.nabble.com> J. Landman Gay wrote > On 4/2/2016 11:05 PM, Richard Gaskin wrote: >> put the EFFECTIVE formattedheight of \ >> char 1 to -1 of pObj into tFheight >> There it is! "EFFECTIVE"! > > Would be nice if that were documented. Hmph. Need user notes. It is documented. The 'effective keyword' includes all properties (incl. the inherited from the owner) regardless of whether the object itself has that property set. This is good for computing *** the effective vertical center of text in a field *** ;-) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Set-Text-to-the-Vertical-Center-of-the-field-tp4702965p4703030.html Sent from the Revolution - User mailing list archive at Nabble.com. From charles at techstrategies.com.au Sun Apr 3 03:36:14 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Sun, 3 Apr 2016 17:36:14 +1000 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <5700B84D.1090305@hyperactivesw.com> References: <5700B84D.1090305@hyperactivesw.com> Message-ID: <5700C7EE.5070708@techstrategies.com.au> On 3/04/2016 4:29 pm, J. Landman Gay wrote: > I'm not keen on trying to learn github but I want to help with the > documentation. I keep finding things. Filling out bug reports is too > much trouble and clutter for things like misspellings or syntax examples. > > So I was wondering if there might be a github person who would > volunteer to push changes for us. Anyone with documentation changes > could send them to this kindhearted person who would do the technical > part for us. This person wouldn't need to do any editing or even read > the submissions, just do the actual pushing and pulling or whatever it > is. There will be limitations on what I can do depending on the volume of requests that come through, however, if anyone is in this position where they have done all the work and simply need a PR submitted on github, please feel free to contact me directly. Cheers, Charles From jacque at hyperactivesw.com Sun Apr 3 04:10:37 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 03 Apr 2016 03:10:37 -0500 Subject: Set Text to the Vertical Center of the field In-Reply-To: <1459666035147-4703030.post@n4.nabble.com> References: <5700076E.7050202@hyperactivesw.com> <57001098.70001@fourthworld.com> <57003CB1.8060601@fourthworld.com> <5700524B.2080101@hyperactivesw.com> <1459637610788-4703014.post@n4.nabble.com> <007f01d18d43$0ff959e0$2fec0da0$@net> <5700969E.9090305@fourthworld.com> <5700ACA0.8090609@hyperactivesw.com> <1459666035147-4703030.post@n4.nabble.com> Message-ID: <153db2c7448.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> When the "effective" keyword was first introduced, it applied to only a handful of properties. Over the years, additional ones were added. When I look in the dictionary, the keyword now shows what appears to be a comprehensive list of properties. However, none of the formatted* properties are listed. Have things changed so that any and all properties can now be "effective"? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 3, 2016 2:20:02 AM -hh wrote: > J. Landman Gay wrote >> On 4/2/2016 11:05 PM, Richard Gaskin wrote: >>> put the EFFECTIVE formattedheight of \ >>> char 1 to -1 of pObj into tFheight >>> There it is! "EFFECTIVE"! >> >> Would be nice if that were documented. Hmph. Need user notes. > > It is documented. The 'effective keyword' includes all properties > (incl. the inherited from the owner) regardless of whether the > object itself has that property set. This is good for computing > *** the effective vertical center of text in a field *** ;-) > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Set-Text-to-the-Vertical-Center-of-the-field-tp4702965p4703030.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dave at applicationinsight.com Sun Apr 3 07:07:46 2016 From: dave at applicationinsight.com (Dave Kilroy) Date: Sun, 3 Apr 2016 04:07:46 -0700 (PDT) Subject: Using LC for Interactive Tutorial In-Reply-To: References: <1459461930396-4702902.post@n4.nabble.com> Message-ID: <1459681666107-4703033.post@n4.nabble.com> Ali this is great! I would love to be able to use a 'tutorial plugin' for the training work I occasionally do for Code4Health and other times I train people to use LiveCode I could make little 'snippet' tutorials introducing people to different LiveCode / coding concepts - it would be great! There are so many tutorials I could make starting tomorrow :) Please let us know about your plans to roll this out, and if you ever need a beta tester please get in touch! Dave ----- "The first 90% of the task takes 90% of the time, and the last 10% takes the other 90% of the time." Peter M. Brigham -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Using-LC-for-Interactive-Tutorial-tp4702865p4703033.html Sent from the Revolution - User mailing list archive at Nabble.com. From paul at researchware.com Sun Apr 3 07:42:35 2016 From: paul at researchware.com (Paul Dupuis) Date: Sun, 03 Apr 2016 07:42:35 -0400 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <5700B84D.1090305@hyperactivesw.com> References: <5700B84D.1090305@hyperactivesw.com> Message-ID: <570101AB.4050904@researchware.com> On 4/3/2016 2:29 AM, J. Landman Gay wrote: > Alternately (and harder) would be someone who could write a LiveCode > plugin that would do the same thing. I suspect a lot more of the docs > would get updated if we had something like this. I second this. I too would contribute more if I didn't need to invest the time to learn Github and associated tools. From lan.kc.macmail at gmail.com Sun Apr 3 08:07:23 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 3 Apr 2016 20:07:23 +0800 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <5700C7EE.5070708@techstrategies.com.au> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> Message-ID: On Sun, Apr 3, 2016 at 3:36 PM, Charles Warwick wrote: > > There will be limitations on what I can do depending on the volume of > requests that come through..., please > feel free to contact me directly. > Charles, THANK YOU so much for offering, but can I suggest that instead such requests are posted to this List with [DOCS] as a prefix in the Subject. I think that would have three benefits: 1) You respond here that you're handling a request. If the load gets too much, then other's might join in and pick up one's you've missed. I hope I would occasionally be able to help. 2) You respond here that you've completed the PR. The Community here gets to see that submissions are being made and actioned and hopefully a snow ball effect will occur - with more people noticing and submitting errors. No 1 will then become more important ;-) 3) It leaves a very public trail of what has already been picked up and actioned. Just because a PR has been completed doesn't mean it instantaneously appears in the Dictionary. So in much the same way that people should search the QCC to see that a Bug they've noticed hasn't already been submitted, anyone noticing a Dictionary error should hopefully be able to search this List and see if a PR has already been submitted. Again, thank you for stepping up. From richmondmathewson at gmail.com Sun Apr 3 08:25:03 2016 From: richmondmathewson at gmail.com (RM) Date: Sun, 3 Apr 2016 15:25:03 +0300 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: References: <1459358825190-4702801.post@n4.nabble.com> <1459360080004-4702803.post@n4.nabble.com> <1459367544890-4702823.post@n4.nabble.com> <1459368964150-4702827.post@n4.nabble.com> <1459382385531-4702838.post@n4.nabble.com> <56FCFE87.2010305@gmail.com> <1459448995186-4702879.post@n4.nabble.com> <1459460708560-4702898.post@n4.nabble.com> <1459467982156-4702904.post@n4.nabble.com> <56FFA2AF.1010204@gmail.com> <1459609998294-4702982.post@n4.nabble.com> Message-ID: <57010B9F.502@gmail.com> On 3.04.2016 00:02, Sannyasin Brahmanathaswami wrote: > RM: Your "why bother" assumes a) we work in teams of one in solitude or something like that. OR b) you have experienced talented "workers" in image process. > > In a distributed work environment, the options to pre-process images prior to getting them into LiveCode is often zero. So...when the only resources you have are square, ordinary images, having such a library in Livecode can be hugely helpful... add to that, the use case may be multiple images over many cards ( or set for whatever purpose), making an LC library/process that can loop, way, way more efficient than doing these in GIMP of Photoshop, unless you want to go through the headached of setting up and recording actions etc. > > I have in house app functions where, sure, we could do the same thing in another X, Y, Z application, but certainly not with the same efficiency and certainly not by someone with zero skill set in applications X,Y,Z. > > I have volunteers to work on sets of 3000 + images with Livecode where the idea of "why bother, you can do this in GIMP/Photoshop" verges on madness (smile). Well: Bonkers or not, I am on holiday for the next 4 days so I shall TRY (note caveat) to implement a happy "corner-round-er-er" in a Livecode stack to keep your volunteers from going any more bonkers than they already are to volunteer to work on such socking great sets of images. Watch this space: : end of the space to be watched. Richmond. > > > On April 2, 2016 at 5:44:11 AM, Alejandro Tejada (capellan2000 at gmail.com) wrote: > > RM wrote >> Why bother? Frankly the process is no more difficult using >> GIMP: https://www.gimp.org/downloads/ or >> Photoshop: http://www.adobe.com/products/photoshop.html >> and there are quite a few other image editing software packages >> available that can do that job as well. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Sun Apr 3 08:31:42 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 3 Apr 2016 20:31:42 +0800 Subject: Script Only Stack Architecture In-Reply-To: <5700B5AD.3050302@fourthworld.com> References: <0089B9EC-0F73-4015-A426-F2DD8F1555E5@earthednet.org> <5700B5AD.3050302@fourthworld.com> Message-ID: On Sun, Apr 3, 2016 at 2:18 PM, Richard Gaskin wrote: > Yeah, not my favorite either. Whilst I don't wish to kerb anyone's enthusiasm to contribute to Max's or anyone else's Wiki, I do have two concerns. Clearly, the spare time of this Community to contribute to any community effort (be it bug reports, code or documentation) is very limited. 5 min contributing to a Wiki is 5 min not improving the actual Dictionary entry. Also, Wiki's generally need an internet connection to access. I spend a LOT of time with slow or no internet. Richard wrote: "Drafting a functional spec and work plan would take much more time", but clearly a LOT of thought and time has already gone into the new Dictionary, it's markup, what kind of beast it is. I like the fact that it's becoming the centralised location for documentation, be it language (API) entries or guides - hopefully also these new style Tutorials. Thankfully I can access everything offline!! When I wrote the Dictionary is a glorified Wiki, sometimes the term 'glorified' can have negative connotations. My intention was far more positive, the Dictionary is a couple of steps up, on a much higher plain than a Wiki. Although we've had Easter, here's a Dictionary Easter Egg (although I'll probably discover everyone else knew this but me) In the LC 8 dp15+ Dictionary search box Enter 'button' - you should have 3 exact matches. If you click on the 3rd one, you should get a list of all* the messages that can be sent/received by a button, followed by all* properties associated with a button. *all being determined by each specific Dictionary entry having the correct markup. If you click on the first Message link: arrowKey - you'll be taken to it's specific Dictionary entry. Note the 3rd line: Associations button. This is how the Dictionary knows. This is why the Dictionary is better than a Wiki because the team has already spent a lot of time with the Dictionary spec to take it well beyond a simple Wiki. PS Unfortunately if you click on the 'button' link against Associations it doesn't take you back to the relevant button page with all it's Associations. Hopefully they are working on that. PPS I think Charles' offer to help handle DOC PRs for the Gitphobic is a much better road to go down. From hh at livecode.org Sun Apr 3 08:25:29 2016 From: hh at livecode.org (-hh) Date: Sun, 3 Apr 2016 05:25:29 -0700 (PDT) Subject: Set Text to the Vertical Center of the field In-Reply-To: <153db2c7448.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <57001098.70001@fourthworld.com> <57003CB1.8060601@fourthworld.com> <5700524B.2080101@hyperactivesw.com> <1459637610788-4703014.post@n4.nabble.com> <007f01d18d43$0ff959e0$2fec0da0$@net> <5700969E.9090305@fourthworld.com> <5700ACA0.8090609@hyperactivesw.com> <1459666035147-4703030.post@n4.nabble.com> <153db2c7448.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <1459686329693-4703038.post@n4.nabble.com> J. Landman Gay wrote > When the "effective" keyword was first introduced, it applied to only a > handful of properties. Over the years, additional ones were added. When I > look in the dictionary, the keyword now shows what appears to be a > comprehensive list of properties. However, none of the formatted* > properties are listed. > > Have things changed so that any and all properties can now be "effective"? Certainly not. But yes, as "release-noted" the text-system and text-measurement ("formatted" infos) have changed a lot. Text-measurement in LC 7/8 is still unfinished and will change. TMHO it is already pretty good for "perfect" fonts (which has glyph paths) although it has moreover to serve "old" fonts that are close to bitmap. (That's why I currently don't expect text measurement to be close to "correct" in all possible cases.) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Set-Text-to-the-Vertical-Center-of-the-field-tp4702965p4703038.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sun Apr 3 09:29:25 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 3 Apr 2016 06:29:25 -0700 (PDT) Subject: Design Challenge -- Round Corner mask on images In-Reply-To: <57010B9F.502@gmail.com> References: <1459368964150-4702827.post@n4.nabble.com> <1459382385531-4702838.post@n4.nabble.com> <56FCFE87.2010305@gmail.com> <1459448995186-4702879.post@n4.nabble.com> <1459460708560-4702898.post@n4.nabble.com> <1459467982156-4702904.post@n4.nabble.com> <56FFA2AF.1010204@gmail.com> <1459609998294-4702982.post@n4.nabble.com> <57010B9F.502@gmail.com> Message-ID: <1459690165099-4703039.post@n4.nabble.com> In this mail list, Richmond self-assigned duty is, in his own words: "stir the pot" And he is very successful at this. :D There is a name, a greek name, in classical theater for the character that fills that role in a play. In a play, this character helps to develop and advance the plot until it reach author's purpose or logical conclusion. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Design-Challenge-Round-Corner-mask-on-images-tp4702659p4703039.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sun Apr 3 10:11:20 2016 From: richmondmathewson at gmail.com (RM) Date: Sun, 3 Apr 2016 17:11:20 +0300 Subject: HyperNext 4.1 Message-ID: <57012488.1000804@gmail.com> Is now totally FREE: http://www.tigabyte.com/index.html Personally I've never had the time to work out how to use it: but maybe, someday . . . Richmond. From richmondmathewson at gmail.com Sun Apr 3 10:19:38 2016 From: richmondmathewson at gmail.com (RM) Date: Sun, 3 Apr 2016 17:19:38 +0300 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: <1459690165099-4703039.post@n4.nabble.com> References: <1459368964150-4702827.post@n4.nabble.com> <1459382385531-4702838.post@n4.nabble.com> <56FCFE87.2010305@gmail.com> <1459448995186-4702879.post@n4.nabble.com> <1459460708560-4702898.post@n4.nabble.com> <1459467982156-4702904.post@n4.nabble.com> <56FFA2AF.1010204@gmail.com> <1459609998294-4702982.post@n4.nabble.com> <57010B9F.502@gmail.com> <1459690165099-4703039.post@n4.nabble.com> Message-ID: <5701267A.8010204@gmail.com> Is the 4000 x 4000 pixel limit on image sizes still there in Livecode 7? Richmond. On 3.04.2016 16:29, Alejandro Tejada wrote: > In this mail list, Richmond self-assigned duty is, > in his own words: "stir the pot" > And he is very successful at this. :D > > There is a name, a greek name, in classical theater > for the character that fills that role in a play. > In a play, this character helps to develop and > advance the plot until it reach author's purpose or > logical conclusion. > > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Design-Challenge-Round-Corner-mask-on-images-tp4702659p4703039.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Apr 3 11:00:53 2016 From: richmondmathewson at gmail.com (RM) Date: Sun, 3 Apr 2016 18:00:53 +0300 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: References: <1459358825190-4702801.post@n4.nabble.com> <1459360080004-4702803.post@n4.nabble.com> <1459367544890-4702823.post@n4.nabble.com> <1459368964150-4702827.post@n4.nabble.com> <1459382385531-4702838.post@n4.nabble.com> <56FCFE87.2010305@gmail.com> <1459448995186-4702879.post@n4.nabble.com> <1459460708560-4702898.post@n4.nabble.com> <1459467982156-4702904.post@n4.nabble.com> <56FFA2AF.1010204@gmail.com> <1459609998294-4702982.post@n4.nabble.com> Message-ID: <57013025.7000003@gmail.com> Well, for what it's worth: here's a start: http://forums.livecode.com/viewtopic.php?f=10&t=26933&p=140562#p140562 Love, Richmond. On 3.04.2016 00:02, Sannyasin Brahmanathaswami wrote: > RM: Your "why bother" assumes a) we work in teams of one in solitude or something like that. OR b) you have experienced talented "workers" in image process. > > In a distributed work environment, the options to pre-process images prior to getting them into LiveCode is often zero. So...when the only resources you have are square, ordinary images, having such a library in Livecode can be hugely helpful... add to that, the use case may be multiple images over many cards ( or set for whatever purpose), making an LC library/process that can loop, way, way more efficient than doing these in GIMP of Photoshop, unless you want to go through the headached of setting up and recording actions etc. > > I have in house app functions where, sure, we could do the same thing in another X, Y, Z application, but certainly not with the same efficiency and certainly not by someone with zero skill set in applications X,Y,Z. > > I have volunteers to work on sets of 3000 + images with Livecode where the idea of "why bother, you can do this in GIMP/Photoshop" verges on madness (smile). > > > On April 2, 2016 at 5:44:11 AM, Alejandro Tejada (capellan2000 at gmail.com) wrote: > > RM wrote >> Why bother? Frankly the process is no more difficult using >> GIMP: https://www.gimp.org/downloads/ or >> Photoshop: http://www.adobe.com/products/photoshop.html >> and there are quite a few other image editing software packages >> available that can do that job as well. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Mark_Smith at cpe.umanitoba.ca Sun Apr 3 11:03:53 2016 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Sun, 3 Apr 2016 08:03:53 -0700 (PDT) Subject: 7.1.3 installer failure In-Reply-To: References: Message-ID: <1459695833446-4703043.post@n4.nabble.com> Hi Robert, I got the same message and have reported it to support at runrev Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/7-1-3-installer-failure-tp4702798p4703043.html Sent from the Revolution - User mailing list archive at Nabble.com. From jf_byrnes at comcast.net Sun Apr 3 12:22:35 2016 From: jf_byrnes at comcast.net (Jim Byrnes) Date: Sun, 3 Apr 2016 11:22:35 -0500 Subject: Difficulty using Livecode.com In-Reply-To: <56FEF28F.5060905@hyperactivesw.com> References: <19DEA2EE-5615-49C0-BAC0-7F0A887A948A@me.com> <56FEF28F.5060905@hyperactivesw.com> Message-ID: On 04/01/2016 05:13 PM, J. Landman Gay wrote: > On 4/1/2016 4:17 PM, Jim Byrnes wrote: >> Right now I am interested in learning Livecode on the desktop only, >> mobile may come later. Looking at the list of lessons on the right I >> don't see anything that jumps out at me as being very graphics >> intensive. So is this version less graphics intensive? > > Our Linux users can answer that better than I can, but for now bookmark > this: I could find no way to get there by > clicking around the web site. That's a grave oversight. > > On the lessons page, search for "images" and you'll get lots of hits. > Search for "graphics" too. > When I click on that link I get a message in 3 different browsers that it is a Untrusted Connection. Maybe someone from the team should look into it. Regards, Jim From richmondmathewson at gmail.com Sun Apr 3 12:44:57 2016 From: richmondmathewson at gmail.com (RM) Date: Sun, 3 Apr 2016 19:44:57 +0300 Subject: Difficulty using Livecode.com In-Reply-To: References: <19DEA2EE-5615-49C0-BAC0-7F0A887A948A@me.com> <56FEF28F.5060905@hyperactivesw.com> Message-ID: <57014889.7060400@gmail.com> "The owner of lessons.livecode.com has configured their website improperly. To protect your information from being stolen, Firefox has not connected to this website." Ouch. Richmond. On 3.04.2016 19:22, Jim Byrnes wrote: > On 04/01/2016 05:13 PM, J. Landman Gay wrote: >> On 4/1/2016 4:17 PM, Jim Byrnes wrote: >>> Right now I am interested in learning Livecode on the desktop only, >>> mobile may come later. Looking at the list of lessons on the right I >>> don't see anything that jumps out at me as being very graphics >>> intensive. So is this version less graphics intensive? >> >> Our Linux users can answer that better than I can, but for now bookmark >> this: I could find no way to get there by >> clicking around the web site. That's a grave oversight. >> >> On the lessons page, search for "images" and you'll get lots of hits. >> Search for "graphics" too. >> > > When I click on that link I get a message in 3 different browsers that > it is a Untrusted Connection. Maybe someone from the team should look > into it. > > Regards, Jim > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tore.nilsen at me.com Sun Apr 3 12:46:42 2016 From: tore.nilsen at me.com (Tore Nilsen) Date: Sun, 03 Apr 2016 18:46:42 +0200 Subject: Difficulty using Livecode.com In-Reply-To: References: <19DEA2EE-5615-49C0-BAC0-7F0A887A948A@me.com> <56FEF28F.5060905@hyperactivesw.com> Message-ID: <33572AAA-A62A-4468-8F2C-F1F231A70925@me.com> Try http://lessons.livecode.com I don?t think this is a secure adress at all. Regards Tore > 3. apr. 2016 kl. 18.22 skrev Jim Byrnes : > > On 04/01/2016 05:13 PM, J. Landman Gay wrote: >> On 4/1/2016 4:17 PM, Jim Byrnes wrote: >>> Right now I am interested in learning Livecode on the desktop only, >>> mobile may come later. Looking at the list of lessons on the right I >>> don't see anything that jumps out at me as being very graphics >>> intensive. So is this version less graphics intensive? >> >> Our Linux users can answer that better than I can, but for now bookmark >> this: I could find no way to get there by >> clicking around the web site. That's a grave oversight. >> >> On the lessons page, search for "images" and you'll get lots of hits. >> Search for "graphics" too. >> > > When I click on that link I get a message in 3 different browsers that it is a Untrusted Connection. Maybe someone from the team should look into it. > > Regards, Jim > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Apr 3 12:57:39 2016 From: richmondmathewson at gmail.com (RM) Date: Sun, 3 Apr 2016 19:57:39 +0300 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: <57013025.7000003@gmail.com> References: <1459358825190-4702801.post@n4.nabble.com> <1459360080004-4702803.post@n4.nabble.com> <1459367544890-4702823.post@n4.nabble.com> <1459368964150-4702827.post@n4.nabble.com> <1459382385531-4702838.post@n4.nabble.com> <56FCFE87.2010305@gmail.com> <1459448995186-4702879.post@n4.nabble.com> <1459460708560-4702898.post@n4.nabble.com> <1459467982156-4702904.post@n4.nabble.com> <56FFA2AF.1010204@gmail.com> <1459609998294-4702982.post@n4.nabble.com> <57013025.7000003@gmail.com> Message-ID: <57014B83.9060301@gmail.com> > Well, for what it's worth: here's a start: > > http://forums.livecode.com/viewtopic.php?f=10&t=26933&p=140562#p140562 This is "bog basic" in that it does "nothing more" than import the image, unite it with a graphic 'frame' and then allow you to export the end result as a PNG [ Papua New Guinea ?] image. > > Love, Richmond. > > On 3.04.2016 00:02, Sannyasin Brahmanathaswami wrote: >> RM: Your "why bother" assumes a) we work in teams of one in solitude >> or something like that. Well, to be honest, that's me in case you hadn't worked that out donkey's ages ago. >> OR b) you have experienced talented "workers" in image process. I tend to show my stacks to the Primary school kids who have the signal advantage of knowing almost nothing about programming or how computers work: they then, oddly enough, come up with all sorts of criticisms and comments which make me go away and think things through - mainly because of wisdom "out of the mouths of babes" [sorry, non-Hindu scripture there]. >> >> In a distributed work environment, the options to pre-process images >> prior to getting them into LiveCode is often zero. Of course the obvious question at this point is "why use a distributed work environment?" >> So...when the only resources you have are square, ordinary images, >> having such a library in Livecode can be hugely helpful... add to >> that, the use case may be multiple images over many cards ( or set >> for whatever purpose), making an LC library/process that can loop, >> way, way more efficient than doing these in GIMP of Photoshop, unless >> you want to go through the headached of setting up and recording >> actions etc. Well, my stack will NOT work its way through a bunch of images on another stack [too much bother, and probably either beyond my capabilities, or beyond my motivational ceiling. Of course [ !!!! ] it should be comparatively easy to use my stack as a starting point for a batch-processor for a folder of images . . . That would, obviously, mean that you could not set each images amount of corner-roundedness individually. >> >> I have in house app functions where, sure, we could do the same thing >> in another X, Y, Z application, but certainly not with the same >> efficiency and certainly not by someone with zero skill set in >> applications X,Y,Z. >> >> I have volunteers to work on sets of 3000 + images with Livecode >> where the idea of "why bother, you can do this in GIMP/Photoshop" >> verges on madness (smile). "madness" ? who said madness? Now, now, control yourself or we'll be reaching for the straitjacket . . . I suppose a batch-processor written in Livecode could chew its way through 3000 images in about 9000 seconds = 2 and a half hours, without any human intervention beyond the first minute. >> >> >> On April 2, 2016 at 5:44:11 AM, Alejandro Tejada >> (capellan2000 at gmail.com) wrote: >> >> RM wrote >>> Why bother? Frankly the process is no more difficult using >>> GIMP: https://www.gimp.org/downloads/ or >>> Photoshop: http://www.adobe.com/products/photoshop.html >>> and there are quite a few other image editing software packages >>> available that can do that job as well. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sun Apr 3 13:08:19 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 03 Apr 2016 12:08:19 -0500 Subject: Difficulty using Livecode.com In-Reply-To: <57014889.7060400@gmail.com> References: <19DEA2EE-5615-49C0-BAC0-7F0A887A948A@me.com> <56FEF28F.5060905@hyperactivesw.com> <57014889.7060400@gmail.com> Message-ID: <153dd18b7d0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I should have left off the "s" in "htrp" . But yeah, they should fix it. The lessons are apparently hosted over on the Screensteps domain, so there's a certificate conflict. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 3, 2016 11:46:11 AM RM wrote: > "The owner of lessons.livecode.com has configured their website improperly. > To protect your information from being stolen, Firefox has not connected > to this website." > > Ouch. > > Richmond. > > On 3.04.2016 19:22, Jim Byrnes wrote: >> On 04/01/2016 05:13 PM, J. Landman Gay wrote: >>> On 4/1/2016 4:17 PM, Jim Byrnes wrote: >>>> Right now I am interested in learning Livecode on the desktop only, >>>> mobile may come later. Looking at the list of lessons on the right I >>>> don't see anything that jumps out at me as being very graphics >>>> intensive. So is this version less graphics intensive? >>> >>> Our Linux users can answer that better than I can, but for now bookmark >>> this: I could find no way to get there by >>> clicking around the web site. That's a grave oversight. >>> >>> On the lessons page, search for "images" and you'll get lots of hits. >>> Search for "graphics" too. >>> >> >> When I click on that link I get a message in 3 different browsers that >> it is a Untrusted Connection. Maybe someone from the team should look >> into it. >> >> Regards, Jim >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Apr 3 13:18:29 2016 From: richmondmathewson at gmail.com (RM) Date: Sun, 3 Apr 2016 20:18:29 +0300 Subject: ink / blend Message-ID: <57015065.9070003@gmail.com> While it is easy to populate a dropdown menu with fontNames: on mouseDown put the fontNames into me end mouseDown I'm honestly not sure how to do this with the names of inks/blends as there is no 'inkNames' or 'blendNames'. Richmond. From jacque at hyperactivesw.com Sun Apr 3 13:20:35 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 03 Apr 2016 12:20:35 -0500 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: <57014B83.9060301@gmail.com> References: <1459358825190-4702801.post@n4.nabble.com> <1459360080004-4702803.post@n4.nabble.com> <1459367544890-4702823.post@n4.nabble.com> <1459368964150-4702827.post@n4.nabble.com> <1459382385531-4702838.post@n4.nabble.com> <56FCFE87.2010305@gmail.com> <1459448995186-4702879.post@n4.nabble.com> <1459460708560-4702898.post@n4.nabble.com> <1459467982156-4702904.post@n4.nabble.com> <56FFA2AF.1010204@gmail.com> <1459609998294-4702982.post@n4.nabble.com> <57013025.7000003@gmail.com> <57014B83.9060301@gmail.com> Message-ID: <153dd23f2d0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On April 3, 2016 11:59:33 AM RM wrote: > Of course the obvious question at this point is "why use a distributed > work environment?" Because you work in a large company with different departments? Or you have a team of a dozen people, each with particular skills? Or your students want to team up to write an app? Or you have a group of workers located all over the globe? Or... or... Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sun Apr 3 13:22:17 2016 From: richmondmathewson at gmail.com (RM) Date: Sun, 3 Apr 2016 20:22:17 +0300 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: <153dd23f2d0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1459358825190-4702801.post@n4.nabble.com> <1459360080004-4702803.post@n4.nabble.com> <1459367544890-4702823.post@n4.nabble.com> <1459368964150-4702827.post@n4.nabble.com> <1459382385531-4702838.post@n4.nabble.com> <56FCFE87.2010305@gmail.com> <1459448995186-4702879.post@n4.nabble.com> <1459460708560-4702898.post@n4.nabble.com> <1459467982156-4702904.post@n4.nabble.com> <56FFA2AF.1010204@gmail.com> <1459609998294-4702982.post@n4.nabble.com> <57013025.7000003@gmail.com> <57014B83.9060301@gmail.com> <153dd23f2d0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <57015149.1050507@gmail.com> Aha. Well, if you could find a way to answer my post about inks I could get on with my batch processor :) R. On 3.04.2016 20:20, J. Landman Gay wrote: > On April 3, 2016 11:59:33 AM RM wrote: > >> Of course the obvious question at this point is "why use a distributed >> work environment?" > > Because you work in a large company with different departments? Or you > have a team of a dozen people, each with particular skills? Or your > students want to team up to write an app? Or you have a group of > workers located all over the globe? Or... or... > > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Apr 3 13:38:41 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 03 Apr 2016 12:38:41 -0500 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: <57015149.1050507@gmail.com> References: <1459358825190-4702801.post@n4.nabble.com> <1459360080004-4702803.post@n4.nabble.com> <1459367544890-4702823.post@n4.nabble.com> <1459368964150-4702827.post@n4.nabble.com> <1459382385531-4702838.post@n4.nabble.com> <56FCFE87.2010305@gmail.com> <1459448995186-4702879.post@n4.nabble.com> <1459460708560-4702898.post@n4.nabble.com> <1459467982156-4702904.post@n4.nabble.com> <56FFA2AF.1010204@gmail.com> <1459609998294-4702982.post@n4.nabble.com> <57013025.7000003@gmail.com> <57014B83.9060301@gmail.com> <153dd23f2d0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <57015149.1050507@gmail.com> Message-ID: <153dd3488e8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Put this in the message box: put the text of the mousecontrol Point the cursor to the inks menu button in the IDE and hit the return key. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 3, 2016 12:24:08 PM RM wrote: > Aha. > > Well, if you could find a way to answer my post about inks I could get > on with my batch processor :) > > R. > > On 3.04.2016 20:20, J. Landman Gay wrote: >> On April 3, 2016 11:59:33 AM RM wrote: >> >>> Of course the obvious question at this point is "why use a distributed >>> work environment?" >> >> Because you work in a large company with different departments? Or you >> have a team of a dozen people, each with particular skills? Or your >> students want to team up to write an app? Or you have a group of >> workers located all over the globe? Or... or... >> >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Apr 3 13:41:46 2016 From: richmondmathewson at gmail.com (RM) Date: Sun, 3 Apr 2016 20:41:46 +0300 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: <153dd3488e8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1459358825190-4702801.post@n4.nabble.com> <1459360080004-4702803.post@n4.nabble.com> <1459367544890-4702823.post@n4.nabble.com> <1459368964150-4702827.post@n4.nabble.com> <1459382385531-4702838.post@n4.nabble.com> <56FCFE87.2010305@gmail.com> <1459448995186-4702879.post@n4.nabble.com> <1459460708560-4702898.post@n4.nabble.com> <1459467982156-4702904.post@n4.nabble.com> <56FFA2AF.1010204@gmail.com> <1459609998294-4702982.post@n4.nabble.com> <57013025.7000003@gmail.com> <57014B83.9060301@gmail.com> <153dd23f2d0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <57015149.1050507@gmail.com> <153dd3488e8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <570155DA.1090005@gmail.com> Smashing: Thanks! BUT, there 'must' be a way to script that.... R. On 3.04.2016 20:38, J. Landman Gay wrote: > Put this in the message box: > > put the text of the mousecontrol > > Point the cursor to the inks menu button in the IDE and hit the return > key. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > On April 3, 2016 12:24:08 PM RM wrote: > >> Aha. >> >> Well, if you could find a way to answer my post about inks I could get >> on with my batch processor :) >> >> R. >> >> On 3.04.2016 20:20, J. Landman Gay wrote: >>> On April 3, 2016 11:59:33 AM RM wrote: >>> >>>> Of course the obvious question at this point is "why use a distributed >>>> work environment?" >>> >>> Because you work in a large company with different departments? Or you >>> have a team of a dozen people, each with particular skills? Or your >>> students want to team up to write an app? Or you have a group of >>> workers located all over the globe? Or... or... >>> >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Apr 3 13:45:47 2016 From: richmondmathewson at gmail.com (RM) Date: Sun, 3 Apr 2016 20:45:47 +0300 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: <153dd3488e8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1459358825190-4702801.post@n4.nabble.com> <1459360080004-4702803.post@n4.nabble.com> <1459367544890-4702823.post@n4.nabble.com> <1459368964150-4702827.post@n4.nabble.com> <1459382385531-4702838.post@n4.nabble.com> <56FCFE87.2010305@gmail.com> <1459448995186-4702879.post@n4.nabble.com> <1459460708560-4702898.post@n4.nabble.com> <1459467982156-4702904.post@n4.nabble.com> <56FFA2AF.1010204@gmail.com> <1459609998294-4702982.post@n4.nabble.com> <57013025.7000003@gmail.com> <57014B83.9060301@gmail.com> <153dd23f2d0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <57015149.1050507@gmail.com> <153dd3488e8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <570156CB.6020002@gmail.com> Well: I must be rather stupid: but where-O-where is the 'Inks' button? Richmond. On 3.04.2016 20:38, J. Landman Gay wrote: > Put this in the message box: > > put the text of the mousecontrol > > Point the cursor to the inks menu button in the IDE and hit the return > key. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > On April 3, 2016 12:24:08 PM RM wrote: > >> Aha. >> >> Well, if you could find a way to answer my post about inks I could get >> on with my batch processor :) >> >> R. >> >> On 3.04.2016 20:20, J. Landman Gay wrote: >>> On April 3, 2016 11:59:33 AM RM wrote: >>> >>>> Of course the obvious question at this point is "why use a distributed >>>> work environment?" >>> >>> Because you work in a large company with different departments? Or you >>> have a team of a dozen people, each with particular skills? Or your >>> students want to team up to write an app? Or you have a group of >>> workers located all over the globe? Or... or... >>> >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tore.nilsen at me.com Sun Apr 3 14:34:20 2016 From: tore.nilsen at me.com (Tore Nilsen) Date: Sun, 03 Apr 2016 20:34:20 +0200 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: <570156CB.6020002@gmail.com> References: <1459358825190-4702801.post@n4.nabble.com> <1459360080004-4702803.post@n4.nabble.com> <1459367544890-4702823.post@n4.nabble.com> <1459368964150-4702827.post@n4.nabble.com> <1459382385531-4702838.post@n4.nabble.com> <56FCFE87.2010305@gmail.com> <1459448995186-4702879.post@n4.nabble.com> <1459460708560-4702898.post@n4.nabble.com> <1459467982156-4702904.post@n4.nabble.com> <56FFA2AF.1010204@gmail.com> <1459609998294-4702982.post@n4.nabble.com> <57013025.7000003@gmail.com> <57014B83.9060301@gmail.com> <153dd23f2d0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <57015149.1050507@gmail.com> <153dd3488e8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <570156CB.6020002@gmail.com> Message-ID: <11F21588-1CBF-436C-B6F0-A715C39E60FD@me.com> It works when you hold the mouse over the field with the inks in the blending section of the property inspector Tore > 3. apr. 2016 kl. 19.45 skrev RM : > > Well: I must be rather stupid: but where-O-where is the 'Inks' button? > > Richmond. > > On 3.04.2016 20:38, J. Landman Gay wrote: >> Put this in the message box: >> >> put the text of the mousecontrol >> >> Point the cursor to the inks menu button in the IDE and hit the return key. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> >> On April 3, 2016 12:24:08 PM RM wrote: >> >>> Aha. >>> >>> Well, if you could find a way to answer my post about inks I could get >>> on with my batch processor :) >>> >>> R. >>> >>> On 3.04.2016 20:20, J. Landman Gay wrote: >>>> On April 3, 2016 11:59:33 AM RM wrote: >>>> >>>>> Of course the obvious question at this point is "why use a distributed >>>>> work environment?" >>>> >>>> Because you work in a large company with different departments? Or you >>>> have a team of a dozen people, each with particular skills? Or your >>>> students want to team up to write an app? Or you have a group of >>>> workers located all over the globe? Or... or... >>>> >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Apr 3 14:45:49 2016 From: richmondmathewson at gmail.com (RM) Date: Sun, 3 Apr 2016 21:45:49 +0300 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: <11F21588-1CBF-436C-B6F0-A715C39E60FD@me.com> References: <1459358825190-4702801.post@n4.nabble.com> <1459360080004-4702803.post@n4.nabble.com> <1459367544890-4702823.post@n4.nabble.com> <1459368964150-4702827.post@n4.nabble.com> <1459382385531-4702838.post@n4.nabble.com> <56FCFE87.2010305@gmail.com> <1459448995186-4702879.post@n4.nabble.com> <1459460708560-4702898.post@n4.nabble.com> <1459467982156-4702904.post@n4.nabble.com> <56FFA2AF.1010204@gmail.com> <1459609998294-4702982.post@n4.nabble.com> <57013025.7000003@gmail.com> <57014B83.9060301@gmail.com> <153dd23f2d0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <57015149.1050507@gmail.com> <153dd3488e8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <570156CB.6020002@gmail.com> <11F21588-1CBF-436C-B6F0-A715C39E60FD@me.com> Message-ID: <570164DD.7000205@gmail.com> So it does: thanks for the help. Not exactly intuitive.. . . Might be time for a Feature Request: inkNames Richmond. On 3.04.2016 21:34, Tore Nilsen wrote: > It works when you hold the mouse over the field with the inks in the blending section of the property inspector > > Tore >> 3. apr. 2016 kl. 19.45 skrev RM : >> >> Well: I must be rather stupid: but where-O-where is the 'Inks' button? >> >> Richmond. >> >> On 3.04.2016 20:38, J. Landman Gay wrote: >>> Put this in the message box: >>> >>> put the text of the mousecontrol >>> >>> Point the cursor to the inks menu button in the IDE and hit the return key. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> >>> >>> On April 3, 2016 12:24:08 PM RM wrote: >>> >>>> Aha. >>>> >>>> Well, if you could find a way to answer my post about inks I could get >>>> on with my batch processor :) >>>> >>>> R. >>>> >>>> On 3.04.2016 20:20, J. Landman Gay wrote: >>>>> On April 3, 2016 11:59:33 AM RM wrote: >>>>> >>>>>> Of course the obvious question at this point is "why use a distributed >>>>>> work environment?" >>>>> Because you work in a large company with different departments? Or you >>>>> have a team of a dozen people, each with particular skills? Or your >>>>> students want to team up to write an app? Or you have a group of >>>>> workers located all over the globe? Or... or... >>>>> >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Apr 3 14:55:54 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 3 Apr 2016 13:55:54 -0500 Subject: Script Only Stack Architecture In-Reply-To: References: <0089B9EC-0F73-4015-A426-F2DD8F1555E5@earthednet.org> <5700B5AD.3050302@fourthworld.com> Message-ID: <5701673A.4050409@hyperactivesw.com> On 4/3/2016 7:31 AM, Kay C Lan wrote: > PS Unfortunately if you click on the 'button' link against > Associations it doesn't take you back to the relevant button page with > all it's Associations. Hopefully they are working on that. Works okay here in dp16. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Apr 3 14:58:54 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 3 Apr 2016 13:58:54 -0500 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: <570156CB.6020002@gmail.com> References: <1459358825190-4702801.post@n4.nabble.com> <1459360080004-4702803.post@n4.nabble.com> <1459367544890-4702823.post@n4.nabble.com> <1459368964150-4702827.post@n4.nabble.com> <1459382385531-4702838.post@n4.nabble.com> <56FCFE87.2010305@gmail.com> <1459448995186-4702879.post@n4.nabble.com> <1459460708560-4702898.post@n4.nabble.com> <1459467982156-4702904.post@n4.nabble.com> <56FFA2AF.1010204@gmail.com> <1459609998294-4702982.post@n4.nabble.com> <57013025.7000003@gmail.com> <57014B83.9060301@gmail.com> <153dd23f2d0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <57015149.1050507@gmail.com> <153dd3488e8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <570156CB.6020002@gmail.com> Message-ID: <570167EE.9000707@hyperactivesw.com> On 4/3/2016 12:45 PM, RM wrote: > Well: I must be rather stupid: but where-O-where is the 'Inks' button? What Tore said. I was thinking of LC 8 where the inks are in a popdown button in the inspector. Either place should work. Scripting it would require knowing the name of the control you want to test, which you can get by asking the message box "the name of the mousecontrol". But since the inks never change, I'd think you'd just want to store it as a custom property or somewhere else in your interface. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sun Apr 3 15:15:37 2016 From: richmondmathewson at gmail.com (RM) Date: Sun, 3 Apr 2016 22:15:37 +0300 Subject: with effects Message-ID: <57016BD9.5030208@gmail.com> So . . . Here I am trying to import and/or export a snapshot of either an image or a graphic with inks, and the ink does NOT 'stick'. I have tried stuff like this: import snapshot of image "ZZZ" with effects to no avail. Richmond. From jf_byrnes at comcast.net Sun Apr 3 15:17:58 2016 From: jf_byrnes at comcast.net (Jim Byrnes) Date: Sun, 3 Apr 2016 14:17:58 -0500 Subject: Difficulty using Livecode.com In-Reply-To: References: <19DEA2EE-5615-49C0-BAC0-7F0A887A948A@me.com> Message-ID: On 04/01/2016 06:47 PM, Jim Kanter wrote: > Then there?s this: > > https://livecode.com/new-livecode-app-building-course/ > I guess this is part of what confused me. That link leads to a $75 course. This one leads to a $59 course. https://livecode.com/courses/create-it-with-livecode-course/ Early on I was just looking around for info and didn't pay close enough attention to how I got to these courses. Regards, Jim From jacque at hyperactivesw.com Sun Apr 3 15:20:49 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 3 Apr 2016 14:20:49 -0500 Subject: Set Text to the Vertical Center of the field In-Reply-To: <1459686329693-4703038.post@n4.nabble.com> References: <57001098.70001@fourthworld.com> <57003CB1.8060601@fourthworld.com> <5700524B.2080101@hyperactivesw.com> <1459637610788-4703014.post@n4.nabble.com> <007f01d18d43$0ff959e0$2fec0da0$@net> <5700969E.9090305@fourthworld.com> <5700ACA0.8090609@hyperactivesw.com> <1459666035147-4703030.post@n4.nabble.com> <153db2c7448.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1459686329693-4703038.post@n4.nabble.com> Message-ID: <57016D11.5040400@hyperactivesw.com> On 4/3/2016 7:25 AM, -hh wrote: > J. Landman Gay wrote >> >When the "effective" keyword was first introduced, it applied to only a >> >handful of properties. Over the years, additional ones were added. When I >> >look in the dictionary, the keyword now shows what appears to be a >> >comprehensive list of properties. However, none of the formatted* >> >properties are listed. >> > >> >Have things changed so that any and all properties can now be "effective"? > Certainly not. But yes, as "release-noted" the text-system > and text-measurement ("formatted" infos) have changed a lot. > Text-measurement in LC 7/8 is still unfinished and will change. Right. Basically my point was that "effective" isn't noted for any of the "formatted" properties and it needs to be documented. Most of the other supported properties are there, so its omission is what actually spurred my request for github help. Using "effective" for formatted text isn't intuitive. "Effective" has always meant "inherited" and fields can't really inherit text. Text can be shared but that isn't the same thing, so in this case the usage is a deviation from the norm. Not only that, but the results returned for formattedHeight vs effective formattedHeight aren't what I'd expect, so it needs an explanation. Entries for textfont, textheight, etc. have references or syntax examples that include "effective" but formatted properties have no hint of it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sun Apr 3 15:25:32 2016 From: richmondmathewson at gmail.com (RM) Date: Sun, 3 Apr 2016 22:25:32 +0300 Subject: with effects In-Reply-To: <57016BD9.5030208@gmail.com> References: <57016BD9.5030208@gmail.com> Message-ID: <57016E2C.5060509@gmail.com> Hmm: back-to-the-future? http://runtime-revolution.278305.n4.nabble.com/Oval-framed-photo-td4664647.html R. On 3.04.2016 22:15, RM wrote: > So . . . > > Here I am trying to import and/or export a snapshot of either an image > or a graphic > with inks, and the ink does NOT 'stick'. > > I have tried stuff like this: > > import snapshot of image "ZZZ" with effects > > to no avail. > > Richmond. From brahma at hindu.org Sun Apr 3 15:25:37 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 3 Apr 2016 19:25:37 +0000 Subject: LC 8 -- Losing Target references Message-ID: FYI for anyone struggling with the "lost reference" issue in LC8 where -- you click on something in the Project browser a button for example, and choose "Inspector" and the inspector opens to an inspector for the stack instead. -- or you click on a field and the inspector opens to the last button you were inspecting. etc. Work around -- for the newbies watching this list, since it seems to have merged into both the list for long time developers and newbies... (the developer list is not very active) It *does* work if you select and choose "Object Selector" from top menu OR Use the old Application Browser. Now available as a plug-in RevApplicationOverview @ jacque: indeed the old Application Browser is, in many ways, way more efficient. BR From jacque at hyperactivesw.com Sun Apr 3 15:27:37 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 3 Apr 2016 14:27:37 -0500 Subject: Volunteer github guru for documentation submissions? In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> Message-ID: <57016EA9.8010102@hyperactivesw.com> On 4/3/2016 7:07 AM, Kay C Lan wrote: > On Sun, Apr 3, 2016 at 3:36 PM, Charles Warwick > wrote: >> >> There will be limitations on what I can do depending on the volume of >> requests that come through..., please >> feel free to contact me directly. >> > Charles, THANK YOU so much for offering, but can I suggest that > instead such requests are posted to this List with [DOCS] as a prefix > in the Subject. I think that would have three benefits: > > 1) You respond here that you're handling a request. If the load gets > too much, then other's might join in and pick up one's you've missed. > I hope I would occasionally be able to help. > 2) You respond here that you've completed the PR. The Community here > gets to see that submissions are being made and actioned and hopefully > a snow ball effect will occur - with more people noticing and > submitting errors. No 1 will then become more important ;-) > 3) It leaves a very public trail of what has already been picked up > and actioned. Just because a PR has been completed doesn't mean it > instantaneously appears in the Dictionary. So in much the same way > that people should search the QCC to see that a Bug they've noticed > hasn't already been submitted, anyone noticing a Dictionary error > should hopefully be able to search this List and see if a PR has > already been submitted. > > Again, thank you for stepping up. Yes, all hail to Charles! But I wonder if posting requests to the list will add too much irritating noise; I was thinking of something more private. On the other hand, peer pressure isn't all bad. Speaking of github, isn't there some kind of "check out" procedure? If so, I'm not sure how that would work. Asking Charles to do that for us and then push the changes might be more than he signed up for. The plugin is sounding better and better to me. Are there shell commands that a naif like me could just put into a stack without fully understanding them? If so, maybe I could write one. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bogdanoff at me.com Sun Apr 3 15:33:10 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sun, 03 Apr 2016 12:33:10 -0700 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: <570167EE.9000707@hyperactivesw.com> References: <1459358825190-4702801.post@n4.nabble.com> <1459360080004-4702803.post@n4.nabble.com> <1459367544890-4702823.post@n4.nabble.com> <1459368964150-4702827.post@n4.nabble.com> <1459382385531-4702838.post@n4.nabble.com> <56FCFE87.2010305@gmail.com> <1459448995186-4702879.post@n4.nabble.com> <1459460708560-4702898.post@n4.nabble.com> <1459467982156-4702904.post@n4.nabble.com> <56FFA2AF.1010204@gmail.com> <1459609998294-4702982.post@n4.nabble.com> <57013025.7000003@gmail.com> <57014B83.9060301@gmail.com> <153dd23f2d0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <57015149.1050507@gmail.com> <153dd3488e8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <570156CB.6020002@gmail.com> <570167EE.9000707@hyperactivesw.com> Message-ID: In LC8 you can get the names of the inks: put button "pulldown" of group "ink" of group "Ink" of card id 1002 of stack "revPropertyInspector 1" Peter On Apr 3, 2016, at 11:58 AM, J. Landman Gay wrote: > On 4/3/2016 12:45 PM, RM wrote: >> Well: I must be rather stupid: but where-O-where is the 'Inks' button? > > What Tore said. I was thinking of LC 8 where the inks are in a popdown button in the inspector. Either place should work. > > Scripting it would require knowing the name of the control you want to test, which you can get by asking the message box "the name of the mousecontrol". But since the inks never change, I'd think you'd just want to store it as a custom property or somewhere else in your interface. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Sun Apr 3 15:49:26 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 3 Apr 2016 12:49:26 -0700 Subject: with effects In-Reply-To: <57016BD9.5030208@gmail.com> References: <57016BD9.5030208@gmail.com> Message-ID: "With effects" refers to graphic effects, not inks. It would be nice if inks were included but you probably need to do a snapshot of a card region to include inks (and I believe Alejandro may have already posted the suggestion for this). Regards, Scott Rossi Creative Director Tactile Media UX/UI Design > On Apr 3, 2016, at 12:15 PM, RM wrote: > > So . . . > > Here I am trying to import and/or export a snapshot of either an image or a graphic > with inks, and the ink does NOT 'stick'. > > I have tried stuff like this: > > import snapshot of image "ZZZ" with effects > > to no avail. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Sun Apr 3 16:50:37 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 3 Apr 2016 13:50:37 -0700 (PDT) Subject: with effects In-Reply-To: References: <57016BD9.5030208@gmail.com> Message-ID: <1459716637943-4703067.post@n4.nabble.com> Hi Scott, Scott Rossi wrote > "With effects" refers to graphic effects, not inks. > It would be nice if inks were included but you probably > need to do a snapshot of a card region to include inks > (and I believe Alejandro may have already posted > the suggestion for this). Bernd answer this same question in a previous thread about Rounded Corners: Bernd wrote: ------------------------------ "for inks you have to make a screenshot from the system-view on mouseUp put the rect of image "sourceImg" into tSourceRect put item 1 to 2 of tSourceRect into tTopLeft put item 3 to 4 of tSourceRect into tBotRight put globalLoc(tTopLeft) into tTopLeft put globalLoc(tBotRight) into tBotRight export snapshot from rect (tTopLeft & "," & tBotRight) to image "myImg" as png end mouseUp But I think transparency is lost. But you get the ink-mode tried with notSrcCopy and blendExclusion. worked all right." ----------------------------- Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/with-effects-tp4703059p4703067.html Sent from the Revolution - User mailing list archive at Nabble.com. From hh at livecode.org Sun Apr 3 16:52:24 2016 From: hh at livecode.org (-hh) Date: Sun, 3 Apr 2016 13:52:24 -0700 (PDT) Subject: Female form of 'guru'? Message-ID: <1459716744421-4703068.post@n4.nabble.com> Also in this list the word "guru" from Sanskrit is used and handled as a designation for a certain male being. Is there also a designation for a "female guru" in use here? 'Lady guru'? Hermann [Or ist simply 'jacque'?] -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Female-form-of-guru-tp4703068.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sun Apr 3 17:05:42 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 3 Apr 2016 14:05:42 -0700 (PDT) Subject: LiveCode Images Pixel Size Limit Message-ID: <1459717542735-4703069.post@n4.nabble.com> Hi All, Recently, Richmond ask: > Is the 4000 x 4000 pixel limit on image sizes still there in Livecode 7? In Ubuntu 14.04 x64, using LC 7.1.3 this 4MB compressed/ 580MB uncompressed Jpeg image: http://www.satsignal.eu/wxsat/msg-1-fc-40.jpg imported and displayed fine. According to this page: http://www.satsignal.eu/wxsat/msg-1.htm the image size is 5568 x 11136 pixels x 24-bit colour and will therefore take about 180 MB of memory to display. What is your larger image that LC 7 and 8 imports and display without problems? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-Images-Pixel-Size-Limit-tp4703069.html Sent from the Revolution - User mailing list archive at Nabble.com. From lists at mangomultimedia.com Sun Apr 3 17:50:09 2016 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sun, 3 Apr 2016 17:50:09 -0400 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: References: Message-ID: On Sun, Mar 27, 2016 at 6:26 PM, Sannyasin Brahmanathaswami < brahma at hindu.org> wrote: > Our design team finished a design for a mobile app. The used rounded > corners everywhere. > > see > > http://wiki.hindu.org/screenshots/radius-all-corners.jpg > > Something I wished we had in LC for all controls (groups included) is > corner radius, but is is only available for graphics objects. > I thought this would make an interesting widget. I put together a widget that does the following: 1. Allows you to turn on/off rounded corners for each corner of the widget. 2. Allows you to set the radius. 3. Allows you to set a filename of an image that will be displayed within the widget. Default is to draw the widget using the background color. The source code can be found in my github repository under "rounded_corners". https://github.com/trevordevore/livecode-extensions I tried to package up an .lce version of the extension but then I couldn't find a way to install a packaged widget in the IDE. The only way I can see is to use the Extension Manager to install a widget that you are working on. So for now I've zipped up the folder that you should install in ~/My LiveCode/extensions. https://www.dropbox.com/s/3o6m6uq6suj5wvs/community.livecode.trevordevore.roundedCorners.1.0.0.zip?dl=0 Let me know if this does what you need. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From ali.lloyd at livecode.com Sun Apr 3 18:22:06 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Sun, 03 Apr 2016 22:22:06 +0000 Subject: LC 8 -- Losing Target references In-Reply-To: References: Message-ID: The fix for this issue is done and will be available in the next release of LC 8. On Sun, Apr 3, 2016 at 8:25 PM Sannyasin Brahmanathaswami wrote: > FYI for anyone struggling with the "lost reference" issue in LC8 where > > -- you click on something in the Project browser a button for example, and > choose "Inspector" and the inspector opens to an inspector for the stack > instead. > -- or you click on a field and the inspector opens to the last button you > were inspecting. > > etc. Work around -- for the newbies watching this list, since it seems to > have merged into both the list for long time developers and newbies... (the > developer list is not very active) > > It *does* work if you select and choose "Object Selector" from top menu > > OR > > Use the old Application Browser. Now available as a plug-in > > RevApplicationOverview > > @ jacque: indeed the old Application Browser is, in many ways, way more > efficient. > > BR > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Sun Apr 3 19:18:59 2016 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 4 Apr 2016 00:18:59 +0100 Subject: Use github for dictionary changes. Message-ID: <5701A4E3.70404@tweedly.net> So, inspired by all this discussion about editing the dictionary, I tried to follow Ali's instructions for getting set up on github, etc. (from https://github.com/livecode/livecode/blob/community-docs/docs/contributing_to_docs.md), in particular the section under "Command line". I got registered as a user, verified my email, ..... and then > > go to the livecode repohttps://github.com/livecode/livecodeand click Fork > Done OK. > > then in a terminal window, in a suitable directory, run > > |git clone --recursive https://github.com//livecode.git| > Done OK > once this is done, add the livecode repo as upstream > > |git remote add upstream https://github.com/livecode/livecode.git| > Fails. I get the following .... > $ git remote add upstream https://github.com/livecode/livecode.git > fatal: Not a git repository (or any of the parent directories): .git Any ideas or suggestions ? Thanks Alex. btw - I loved the fact that the first line of instruction under "command line" included an instruction telling me to click somewhere. From dochawk at gmail.com Sun Apr 3 19:26:06 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 3 Apr 2016 16:26:06 -0700 Subject: Female form of 'guru'? In-Reply-To: <1459716744421-4703068.post@n4.nabble.com> References: <1459716744421-4703068.post@n4.nabble.com> Message-ID: On Sun, Apr 3, 2016 at 1:52 PM, -hh wrote: > > Is there also a designation for a "female guru" in use here? > 'Lady guru'? I've never thought that "guru" implied gender. But then, "guress" could be cool . . . gurista? gurque? Jacu? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Sun Apr 3 19:34:26 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 3 Apr 2016 16:34:26 -0700 Subject: Use github for dictionary changes. In-Reply-To: <5701A4E3.70404@tweedly.net> References: <5701A4E3.70404@tweedly.net> Message-ID: <5701A882.4050600@ahsoftware.net> On 04/03/2016 04:18 PM, Alex Tweedly wrote: > So, inspired by all this discussion about editing the dictionary, I > tried to follow Ali's instructions for getting set up on github, etc. > (from > https://github.com/livecode/livecode/blob/community-docs/docs/contributing_to_docs.md), > in particular the section under "Command line". > > I got registered as a user, verified my email, ..... > > and then >> >> go to the livecode repohttps://github.com/livecode/livecodeand click Fork >> > Done OK. >> >> then in a terminal window, in a suitable directory, run >> >> |git clone --recursive https://github.com//livecode.git| >> > Done OK > >> once this is done, add the livecode repo as upstream >> >> |git remote add upstream https://github.com/livecode/livecode.git| >> > Fails. I get the following .... >> $ git remote add upstream https://github.com/livecode/livecode.git >> fatal: Not a git repository (or any of the parent directories): .git > Any ideas or suggestions ? > > Thanks > Alex. > btw - I loved the fact that the first line of instruction under "command > line" included an instruction telling me to click somewhere. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > cd ~/livecode before trying to add a git remote -- Mark Wieder ahsoftware at gmail.com From roger.e.eller at sealedair.com Sun Apr 3 20:57:08 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 3 Apr 2016 20:57:08 -0400 Subject: Female form of 'guru'? In-Reply-To: References: <1459716744421-4703068.post@n4.nabble.com> Message-ID: When an Amiga computer crashes, it is called a guru meditation error. This is what it looked like. http://c1.soft112.com/images/81/ac/guru-meditation-screen-saver/pad_screenshot.gif From alex at tweedly.net Sun Apr 3 21:05:58 2016 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 4 Apr 2016 02:05:58 +0100 Subject: Use github for dictionary changes. In-Reply-To: <5701A882.4050600@ahsoftware.net> References: <5701A4E3.70404@tweedly.net> <5701A882.4050600@ahsoftware.net> Message-ID: <5701BDF6.2090306@tweedly.net> On 04/04/2016 00:34, Mark Wieder wrote: > > cd ~/livecode > before trying to add a git remote > Thanks Mark - works fine now. That gives me a great opportunity to improve the document on how to contribute - so I can use that as my test case for modifying the docs :-) I have (I think) fixed this missing change of directory, and a couple of other minor problems, and submitted the request ... -- Alex. From mwieder at ahsoftware.net Sun Apr 3 21:23:28 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 3 Apr 2016 18:23:28 -0700 Subject: Use github for dictionary changes. In-Reply-To: <5701BDF6.2090306@tweedly.net> References: <5701A4E3.70404@tweedly.net> <5701A882.4050600@ahsoftware.net> <5701BDF6.2090306@tweedly.net> Message-ID: <5701C210.4020006@ahsoftware.net> On 04/03/2016 06:05 PM, Alex Tweedly wrote: > > > On 04/04/2016 00:34, Mark Wieder wrote: >> >> cd ~/livecode >> before trying to add a git remote >> > Thanks Mark - works fine now. > > That gives me a great opportunity to improve the document on how to > contribute - so I can use that as my test case for modifying the docs :-) Cool. The reasoning there is that the git commands can, for the most part, only be issued where there is an existing git structure. The remote command failed because git failed to locate a .git folder in the folder where you were. When you move down into the livecode folder, you end up in a folder where the git clone command has already created a .git subfolder for you. You can have different remotes for different folders, so what the add remote command does for you there is to associate the livecode folder with an alias named 'upstream'. If you then want to contribute to, for example, the ide submodule, you may want to cd into the ide folder and set a different remote for it. -- Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Sun Apr 3 21:26:52 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 3 Apr 2016 18:26:52 -0700 Subject: Female form of 'guru'? In-Reply-To: References: <1459716744421-4703068.post@n4.nabble.com> Message-ID: <5701C2DC.7080205@ahsoftware.net> On 04/03/2016 05:57 PM, Roger Eller wrote: > When an Amiga computer crashes, it is called a guru meditation error. This > is what it looked like. > > http://c1.soft112.com/images/81/ac/guru-meditation-screen-saver/pad_screenshot.gif Wow. Such intuitive. Very parse. -- Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Sun Apr 3 21:28:56 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 3 Apr 2016 18:28:56 -0700 Subject: Use github for dictionary changes. In-Reply-To: <5701BDF6.2090306@tweedly.net> References: <5701A4E3.70404@tweedly.net> <5701A882.4050600@ahsoftware.net> <5701BDF6.2090306@tweedly.net> Message-ID: <5701C358.7020304@ahsoftware.net> Oh. Forgot to mention linking your github account to livecode's. At least the error message there gives you instructions. -- Mark Wieder ahsoftware at gmail.com From prothero at earthednet.org Sun Apr 3 23:17:26 2016 From: prothero at earthednet.org (William Prothero) Date: Sun, 3 Apr 2016 20:17:26 -0700 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: References: Message-ID: Trevor: Never tried to install a widget before. I downloaded your zip folder and copied the folder with its contents to the ?extensions? folder. I don?t see it in the extensions manager. I?m in dp15. Any suggestions? Bill > On Apr 3, 2016, at 2:50 PM, Trevor DeVore wrote: > > On Sun, Mar 27, 2016 at 6:26 PM, Sannyasin Brahmanathaswami < > brahma at hindu.org> wrote: > >> Our design team finished a design for a mobile app. The used rounded >> corners everywhere. >> >> see >> >> http://wiki.hindu.org/screenshots/radius-all-corners.jpg >> >> Something I wished we had in LC for all controls (groups included) is >> corner radius, but is is only available for graphics objects. >> > > I thought this would make an interesting widget. I put together a widget > that does the following: > > 1. Allows you to turn on/off rounded corners for each corner of the widget. > 2. Allows you to set the radius. > 3. Allows you to set a filename of an image that will be displayed within > the widget. Default is to draw the widget using the background color. > > The source code can be found in my github repository under > "rounded_corners". > > https://github.com/trevordevore/livecode-extensions > > I tried to package up an .lce version of the extension but then I couldn't > find a way to install a packaged widget in the IDE. The only way I can see > is to use the Extension Manager to install a widget that you are working > on. So for now I've zipped up the folder that you should install in ~/My > LiveCode/extensions. > > https://www.dropbox.com/s/3o6m6uq6suj5wvs/community.livecode.trevordevore.roundedCorners.1.0.0.zip?dl=0 > > Let me know if this does what you need. > > -- > Trevor DeVore > ScreenSteps > www.screensteps.com - www.clarify-it.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Sun Apr 3 23:40:46 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 4 Apr 2016 03:40:46 +0000 Subject: Set Image Reference to Relative Path Message-ID: I just made the happy discovery... no doubt known to many that you can declare a relative path for image reference. Assuming your have this directory layout myApp.livecode /img fish.jpg if you use the inspector to pick this image you get: /Users/Brahmanathaswami/Documents/App Development/myApp/App Source/img/fish.jpg # and it appears, of course. but if you put this on a mobile device it breaks, of course... but if you chop the path manually to img/fish.jpg it works. Am I the only one that thinks a great enhancement would be to insert a relative path? OR do we have a but where that should be the default behavior. Why? Because the current preferences ship with "Always us absolute file paths for images" unchecked. but that is what we are getting anyway. OK so it's trivial to write a script to crawl all images in your stack to chop of leading path segments and henceforth, manually clear those everytime you set an image page from the inspector. But maybe it should work as expected? if that preference (always use absolut paths for images) is unchecked, then the path should be inserted are relative to main stack. BR From charles at techstrategies.com.au Sun Apr 3 23:55:14 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Mon, 4 Apr 2016 13:55:14 +1000 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <57016EA9.8010102@hyperactivesw.com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> Message-ID: <5701E5A2.3010802@techstrategies.com.au> On 4/04/2016 5:27 am, J. Landman Gay wrote: > Speaking of github, isn't there some kind of "check out" procedure? If > so, I'm not sure how that would work. Asking Charles to do that for us > and then push the changes might be more than he signed up for. In git terminology, "check out" just means retrieving a particular version of a file and pulling it into your local repository. There is no marking of a file as being "checked out" at the remote end (LC's git repository). So you don't _have_ to do anything special to check out a file that you want to modify. However, it is obviously best to ensure you are modifying the latest copy of a file so that any changes you submit won't be overwriting other already made changes. The easiest way to retrieve the latest copy of a file from LiveCode's source is to browse their repository in GitHub (you don't need an account to do this): For the latest LC8 code, this link will get you there: https://github.com/livecode/livecode/tree/develop Once you browse down the directory tree and have clicked on the file you want to modify, it will show the contents of the file within the Github website. From there, right click on the "Raw" button on the right hand side just above the top of the contents of the file and choose "Save As..." to save a copy to your PC. Then you can make your changes and e-mail them through. Cheers, Charles From brahma at hindu.org Mon Apr 4 00:10:45 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 4 Apr 2016 04:10:45 +0000 Subject: Script Only Stack Architecture In-Reply-To: <5700B68F.1030609@hyperactivesw.com> References: <57009148.3080506@fourthworld.com> <5700B68F.1030609@hyperactivesw.com> Message-ID: Interesting caveat here. Could be "Major" You can edit the script as you say, and save But if you go to the stack inspector for the script only stack and assign a behavior...ala class, super class it will begin to work in this session...So you think "aha. how cool, cascading hierarchy..." So then you pay very careful attention save everthing, save the whole universe! Ha! Reboot your stack... inspect the script only stack and the parent behavior script you assigned is gone. I guess this make sense from one point of view, as Mark pointed out in his blog, these are just text files with zero additional properties. So the Inspector "fakes you out" by implying that you can set a behavior for a script only stack, but in fact, that appears, for the moment, impossible (unless you were to set them run time) So this is one of the causes of my thinking the stacks were not in the message path... in fact they were, but the assigned behaviors I given those script only stack was missing and *not* in the msg path, even though the uber parent was open and in memory. So, Richard, your vision of class/super class etc. I'm not seeing how that can be done with script only stacks. Or, are we missing something? I'll report this and perhaps HQ will respond on the ticket with ideas. On April 2, 2016 at 8:22:22 PM, J. Landman Gay (jacque at hyperactivesw.com) wrote: If you have the script editor in focus and frontmost (i.e., you're working in it) you can just Cmd-S and the stack will save. From brahma at hindu.org Mon Apr 4 00:42:06 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 4 Apr 2016 04:42:06 +0000 Subject: Script Only Stack Architecture In-Reply-To: References: <19E60D96-6A43-464A-B844-9E304F48690F@earthednet.org> <56FD55DE.1070106@fourthworld.com> Message-ID: But FWIW.. this does not work on assignBehaviors set the behavior of stack "siva-portal-links_behavior" to (localPath() & "main-stack-scripts/generic-mobile-functions_behavior.livecode") end assignBehaviors OTOH: if you assign the behavior via the inspector to the script-only stack it *does* work.. So there must be a syntax for that that we can use also. What is it? On March 31, 2016 at 12:30:50 PM, Ali Lloyd (ali.lloyd at livecode.com) wrote: My solution to this: Stack "MyTestStack" has a field, which is assigned stack "MyBehaviorStack" as its behavior property. Stack "MyBehaviorStack" is a separate stack file. would be to also include the behavior *setting* in the preOpenStack handler of "MyTestStack". on preOpenStack set the behavior of field "FieldWithBehavior" of me to end preOpenStack From jacque at hyperactivesw.com Mon Apr 4 01:32:19 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 4 Apr 2016 00:32:19 -0500 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: References: Message-ID: <5701FC63.6080407@hyperactivesw.com> On 4/3/2016 4:50 PM, Trevor DeVore wrote: > I thought this would make an interesting widget. I put together a widget > that does the following: > > 1. Allows you to turn on/off rounded corners for each corner of the widget. > 2. Allows you to set the radius. > 3. Allows you to set a filename of an image that will be displayed within > the widget. Default is to draw the widget using the background color. Trevor, this is SO COOL. Not just the work you've produced, which is really neat stuff, but also how anyone can make LC into anything they want. I hope Kevin is right and that we get lots more of these little gems. Bill: to install, unzip the archive and find your "My Livecode" folder. If you haven't moved it, I think it's in your OS Preferences folder (I moved mine to Dropbox, so I can't remember.) Inside My Livecode is an Extensions folder. Drop Trevor's whole folder in there and restart LC. It appears like magic in the tool palette and you can use it just like any of the other widgets. It's super keen neato cool awesome. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Apr 4 01:38:14 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 4 Apr 2016 00:38:14 -0500 Subject: Female form of 'guru'? In-Reply-To: References: <1459716744421-4703068.post@n4.nabble.com> Message-ID: <5701FDC6.7000505@hyperactivesw.com> On 4/3/2016 6:26 PM, Dr. Hawkins wrote: > On Sun, Apr 3, 2016 at 1:52 PM, -hh wrote: > >> >> Is there also a designation for a "female guru" in use here? >> 'Lady guru'? > > > I've never thought that "guru" implied gender. > > But then, "guress" could be cool . . . > > gurista? > > gurque? > > Jacu? :) You guys are too kind. Actually, my husband (and a lot of other people) call me "Jaq". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From prothero at earthednet.org Mon Apr 4 01:39:48 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Sun, 3 Apr 2016 22:39:48 -0700 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: <5701FC63.6080407@hyperactivesw.com> References: <5701FC63.6080407@hyperactivesw.com> Message-ID: <5E934670-BB80-4825-A54C-4EDF5531FFAD@earthednet.org> Jacque, Perhaps I have more than one extensions folder. I'll check for another one. Btw, I am assuming v7 and v8 use the same extensions folder? Hmm, seems unlikely. I'll check. Best, Bill William Prothero http://es.earthednet.org > On Apr 3, 2016, at 10:32 PM, "J. Landman Gay" wrote: > >> On 4/3/2016 4:50 PM, Trevor DeVore wrote: >> I thought this would make an interesting widget. I put together a widget >> that does the following: >> >> 1. Allows you to turn on/off rounded corners for each corner of the widget. >> 2. Allows you to set the radius. >> 3. Allows you to set a filename of an image that will be displayed within >> the widget. Default is to draw the widget using the background color. > > Trevor, this is SO COOL. Not just the work you've produced, which is really neat stuff, but also how anyone can make LC into anything they want. I hope Kevin is right and that we get lots more of these little gems. > > Bill: to install, unzip the archive and find your "My Livecode" folder. If you haven't moved it, I think it's in your OS Preferences folder (I moved mine to Dropbox, so I can't remember.) Inside My Livecode is an Extensions folder. Drop Trevor's whole folder in there and restart LC. > > It appears like magic in the tool palette and you can use it just like any of the other widgets. > > It's super keen neato cool awesome. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Apr 4 02:01:06 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 4 Apr 2016 01:01:06 -0500 Subject: Set Image Reference to Relative Path In-Reply-To: References: Message-ID: <57020322.3070905@hyperactivesw.com> On 4/3/2016 10:40 PM, Sannyasin Brahmanathaswami wrote: > Am I the only one that thinks a great enhancement would be to insert a relative path? > > OR do we have a but where that should be the default behavior. Why? Relative paths have been around for a while and are pretty much imperative for app distribution, since the user's filepaths won't be the same as your development paths. It used to be that resources were copied into the same folder with the app executable. Then Apple changed the rules and disallowed resources like images and documents at that location. Instead, they had to go into a "resources" folder, separate from the executable. To accomodate, LC now has a new-ish specialFolderPath("resources"). During development it points to the same folder as the mainstack you're working on; after the app is built, it points to the "resources" folder inside the app bundle. In scripts, build file paths to specialFolderPath("resources") and the paths will always resolve correctly before and after compiling. For image references use "resources/imgname.png". To accomdate legacy script and image references, the LC engine automatically translates any relative paths and redirects them to the resources folder. On non-Apple systems this structure isn't strictly required, but since it works everywhere, it's an easy way to be consistent cross-platform. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Apr 4 02:04:20 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 4 Apr 2016 01:04:20 -0500 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <5701E5A2.3010802@techstrategies.com.au> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5701E5A2.3010802@techstrategies.com.au> Message-ID: <570203E4.9060701@hyperactivesw.com> On 4/3/2016 10:55 PM, Charles Warwick wrote: > > On 4/04/2016 5:27 am, J. Landman Gay wrote: >> Speaking of github, isn't there some kind of "check out" procedure? If >> so, I'm not sure how that would work. Asking Charles to do that for us >> and then push the changes might be more than he signed up for. > In git terminology, "check out" just means retrieving a particular > version of a file and pulling it into your local repository. There is > no marking of a file as being "checked out" at the remote end (LC's git > repository). > > So you don't _have_ to do anything special to check out a file that you > want to modify. However, it is obviously best to ensure you are > modifying the latest copy of a file so that any changes you submit won't > be overwriting other already made changes. > > The easiest way to retrieve the latest copy of a file from LiveCode's > source is to browse their repository in GitHub (you don't need an > account to do this): > > For the latest LC8 code, this link will get you there: > > https://github.com/livecode/livecode/tree/develop > > Once you browse down the directory tree and have clicked on the file you > want to modify, it will show the contents of the file within the Github > website. From there, right click on the "Raw" button on the right hand > side just above the top of the contents of the file and choose "Save > As..." to save a copy to your PC. > > Then you can make your changes and e-mail them through. Thank you for that, you almost make it sound easy. Then I read Mark Wieder's comments to Kay and decided I was wrong. :) I'll give it a try. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From peter.brett at livecode.com Mon Apr 4 02:26:19 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 4 Apr 2016 07:26:19 +0100 Subject: Use github for dictionary changes. In-Reply-To: <5701C358.7020304@ahsoftware.net> References: <5701A4E3.70404@tweedly.net> <5701A882.4050600@ahsoftware.net> <5701BDF6.2090306@tweedly.net> <5701C358.7020304@ahsoftware.net> Message-ID: <5702090B.10408@livecode.com> On 04/04/2016 02:28, Mark Wieder wrote: > Oh. Forgot to mention linking your github account to livecode's. At > least the error message there gives you instructions. Vulcanbot tries to be helpful! ;-) Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From charles at techstrategies.com.au Mon Apr 4 02:30:06 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Mon, 4 Apr 2016 16:30:06 +1000 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <570203E4.9060701@hyperactivesw.com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5701E5A2.3010802@techstrategies.com.au> <570203E4.9060701@hyperactivesw.com> Message-ID: <570209EE.5060308@techstrategies.com.au> On 4/04/2016 4:04 pm, J. Landman Gay wrote: >> Then you can make your changes and e-mail them through. > > Thank you for that, you almost make it sound easy. Then I read Mark > Wieder's comments to Kay and decided I was wrong. :) > > I'll give it a try. > If you just want to get the latest code and send through the changes for someone else to submit it is easy. However, if you want to submit your own requests to the LC repository directly then there is a little bit more to the process. :-) From richmondmathewson at gmail.com Mon Apr 4 02:56:59 2016 From: richmondmathewson at gmail.com (RM) Date: Mon, 4 Apr 2016 09:56:59 +0300 Subject: Female form of 'guru'? In-Reply-To: <5701C2DC.7080205@ahsoftware.net> References: <1459716744421-4703068.post@n4.nabble.com> <5701C2DC.7080205@ahsoftware.net> Message-ID: <5702103B.9030005@gmail.com> Om! Hum! Phat! On 4.04.2016 04:26, Mark Wieder wrote: > On 04/03/2016 05:57 PM, Roger Eller wrote: >> When an Amiga computer crashes, it is called a guru meditation >> error. This >> is what it looked like. >> >> http://c1.soft112.com/images/81/ac/guru-meditation-screen-saver/pad_screenshot.gif >> > > Wow. Such intuitive. Very parse. > From richmondmathewson at gmail.com Mon Apr 4 02:59:06 2016 From: richmondmathewson at gmail.com (RM) Date: Mon, 4 Apr 2016 09:59:06 +0300 Subject: Female form of 'guru'? In-Reply-To: <5701FDC6.7000505@hyperactivesw.com> References: <1459716744421-4703068.post@n4.nabble.com> <5701FDC6.7000505@hyperactivesw.com> Message-ID: <570210BA.60402@gmail.com> How does one pronounce a 'q' without its dependent 'u' ? Rather like 'guru' reduced to "Grrrrr" I suppose ? Love, Richmond. On 4.04.2016 08:38, J. Landman Gay wrote: > On 4/3/2016 6:26 PM, Dr. Hawkins wrote: >> On Sun, Apr 3, 2016 at 1:52 PM, -hh wrote: >> >>> >>> Is there also a designation for a "female guru" in use here? >>> 'Lady guru'? >> >> >> I've never thought that "guru" implied gender. >> >> But then, "guress" could be cool . . . >> >> gurista? >> >> gurque? >> >> Jacu? > > :) You guys are too kind. Actually, my husband (and a lot of other > people) call me "Jaq". > > From jacque at hyperactivesw.com Mon Apr 4 03:24:06 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 04 Apr 2016 02:24:06 -0500 Subject: Female form of 'guru'? In-Reply-To: <570210BA.60402@gmail.com> References: <1459716744421-4703068.post@n4.nabble.com> <5701FDC6.7000505@hyperactivesw.com> <570210BA.60402@gmail.com> Message-ID: <153e02839f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On April 4, 2016 2:00:01 AM RM wrote: > How does one pronounce a 'q' without its dependent 'u' ? Check with the Iraqis. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Mon Apr 4 03:56:58 2016 From: richmondmathewson at gmail.com (RM) Date: Mon, 4 Apr 2016 10:56:58 +0300 Subject: Female form of 'guru'? In-Reply-To: <153e02839f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1459716744421-4703068.post@n4.nabble.com> <5701FDC6.7000505@hyperactivesw.com> <570210BA.60402@gmail.com> <153e02839f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <57021E4A.9050708@gmail.com> Not much chance of that. The last time I met an Iraqi was in a parking lot outside a strip mall in Al Ain in the United Arab Emirates: he came right up to me and hit me in the face stating that I, personally, was responsible for the Western Allies attitude towards Sodom Hussein and Weapons of M.D. This was in 1999. So, as far as I', concerned I have a "thing" about the "Q" people: Iraqis, Qataris, and North Qoreans (whoops, something not quite right there). ---------------------------------------------------------------- While I'm here; what does everyone think about the . . . "Ubuntu on Windows" things? https://blogs.windows.com/buildingapps/2016/03/30/run-bash-on-ubuntu-on-windows/ 1. Has "Mr Slugworth" gone one step beyond the Heavy, Heavy Monster Show? 2. Is Richard Stallman's voice going to shriek even more gratingly and stridently than it has been doing for the last X years with little or no result? 3. Does this mean that lots of would-be converters from Windows to Linux are now going to stay in the Windows camp? 4. How will this affect Cross-platform development using Livecode? Richmond. On 4.04.2016 10:24, J. Landman Gay wrote: > On April 4, 2016 2:00:01 AM RM wrote: > >> How does one pronounce a 'q' without its dependent 'u' ? > > Check with the Iraqis. ;) > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ali.lloyd at livecode.com Mon Apr 4 04:32:04 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Mon, 04 Apr 2016 08:32:04 +0000 Subject: Script Only Stack Architecture In-Reply-To: References: <19E60D96-6A43-464A-B844-9E304F48690F@earthednet.org> <56FD55DE.1070106@fourthworld.com> Message-ID: localPath() & "main-stack-scripts/generic-mobile-functions_behavior.livecode" is not a valid stack reference - it's just a path. Try: on assignBehaviors set the behavior of stack "siva-portal-links_behavior" to the long id of stack (localPath() & "main-stack-scripts/generic-mobile-functions_behavior.livecode") end assignBehaviors On Mon, Apr 4, 2016 at 5:42 AM Sannyasin Brahmanathaswami wrote: > But FWIW.. this does not work > > on assignBehaviors > > set the behavior of stack "siva-portal-links_behavior" to (localPath() & > "main-stack-scripts/generic-mobile-functions_behavior.livecode") > > end assignBehaviors > > OTOH: if you assign the behavior via the inspector to the script-only > stack it *does* work.. > > So there must be a syntax for that that we can use also. > > What is it? > > On March 31, 2016 at 12:30:50 PM, Ali Lloyd (ali.lloyd at livecode.com > ) wrote: > > My solution to this: > > Stack "MyTestStack" has a field, which is assigned stack > "MyBehaviorStack" as its behavior property. > > Stack "MyBehaviorStack" is a separate stack file. > > would be to also include the behavior *setting* in the preOpenStack handler > of "MyTestStack". > > on preOpenStack > set the behavior of field "FieldWithBehavior" of me to MyBehaviorStack> > end preOpenStack > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lists at mangomultimedia.com Mon Apr 4 06:38:08 2016 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 4 Apr 2016 06:38:08 -0400 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: References: Message-ID: On Sunday, April 3, 2016, William Prothero wrote: > Trevor: > Never tried to install a widget before. I downloaded your zip folder and > copied the folder with its contents to the ?extensions? folder. I don?t see > it in the extensions manager. I?m in dp15. Any suggestions? > Try updating to DP-16. I use some features that were introduced in DP-16 (color inheritance). -- Trevor From lists at mangomultimedia.com Mon Apr 4 06:43:07 2016 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 4 Apr 2016 06:43:07 -0400 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: <5701FC63.6080407@hyperactivesw.com> References: <5701FC63.6080407@hyperactivesw.com> Message-ID: On Monday, April 4, 2016, J. Landman Gay wrote: > > > Trevor, this is SO COOL. Not just the work you've produced, which is > really neat stuff, but also how anyone can make LC into anything they want. > I hope Kevin is right and that we get lots more of these little gems. > I'm glad you like it Jacque. I believe Kevin is right. I've been so impressed with widgets as I've used them in a big project. I just started beta testify a new project built in LC 8 and I use over 10 custom widgets. It made the project so much easier from a UI perspective. -- Trevor From lists at mangomultimedia.com Mon Apr 4 08:57:26 2016 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 4 Apr 2016 08:57:26 -0400 Subject: Difficulty using Livecode.com In-Reply-To: <56FF11D0.3060009@ahsoftware.net> References: <19DEA2EE-5615-49C0-BAC0-7F0A887A948A@me.com> <56FEF28F.5060905@hyperactivesw.com> <56FF11D0.3060009@ahsoftware.net> Message-ID: On Fri, Apr 1, 2016 at 8:26 PM, Mark Wieder wrote: > On 04/01/2016 03:13 PM, J. Landman Gay wrote: > > Our Linux users can answer that better than I can, but for now bookmark >> this: I could find no way to get there by >> clicking around the web site. That's a grave oversight. >> > > NET::ERR_CERT_COMMON_NAME_INVALID > > This server could not prove that it is lessons.livecode.com; its security > certificate is from *.screenstepslive.com. This may be caused by a > misconfiguration or an attacker intercepting your connection. The link should not have the https:// protocol. It should be http://lessons.livecode.com. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From richmondmathewson at gmail.com Mon Apr 4 10:37:27 2016 From: richmondmathewson at gmail.com (RM) Date: Mon, 4 Apr 2016 17:37:27 +0300 Subject: snapshot from rect XXX without card? Message-ID: <57027C27.2060401@gmail.com> So there I am, with my happy little stack making pictures with rounded corners using the simplest code possible (take note of that last bit people), and to obtain a snapshot of my graphic with rounded corners with my picture inside it, and any ink effects I have to do this sort of thing: put the windowID of stack "CHOPPER" into CHOP put the rect of graphic "g1" into REKT export snapshot from rect REKT of window CHOP to file "stinkyCheese.png" as PNG AND I end up with solid colour (the colour of the stack/card) outwith my rounded edges . . . 'bummer' ( hey, look, Richmond learnt at least something other than Hypercard while he was in the States) I am unable to understand the Documentation on alphaData. Richmond. From richmondmathewson at gmail.com Mon Apr 4 11:21:44 2016 From: richmondmathewson at gmail.com (RM) Date: Mon, 4 Apr 2016 18:21:44 +0300 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: <570164DD.7000205@gmail.com> References: <1459358825190-4702801.post@n4.nabble.com> <1459360080004-4702803.post@n4.nabble.com> <1459367544890-4702823.post@n4.nabble.com> <1459368964150-4702827.post@n4.nabble.com> <1459382385531-4702838.post@n4.nabble.com> <56FCFE87.2010305@gmail.com> <1459448995186-4702879.post@n4.nabble.com> <1459460708560-4702898.post@n4.nabble.com> <1459467982156-4702904.post@n4.nabble.com> <56FFA2AF.1010204@gmail.com> <1459609998294-4702982.post@n4.nabble.com> <57013025.7000003@gmail.com> <57014B83.9060301@gmail.com> <153dd23f2d0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <57015149.1050507@gmail.com> <153dd3488e8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <570156CB.6020002@gmail.com> <11F21588-1CBF-436C-B6F0-A715C39E60FD@me.com> <570164DD.7000205@gmail.com> Message-ID: <57028688.2010900@gmail.com> Here's the next step; using absolutely the most *bog-basic* code you can imagine (all you purists can check out the button script in "Export Image" and get upset) will export the image with rounded corners AND ink effects. http://forums.livecode.com/viewtopic.php?f=10&t=26933&p=140584#p140584 Love, Richmond. From richmondmathewson at gmail.com Mon Apr 4 11:23:20 2016 From: richmondmathewson at gmail.com (RM) Date: Mon, 4 Apr 2016 18:23:20 +0300 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: <57028688.2010900@gmail.com> References: <1459358825190-4702801.post@n4.nabble.com> <1459360080004-4702803.post@n4.nabble.com> <1459367544890-4702823.post@n4.nabble.com> <1459368964150-4702827.post@n4.nabble.com> <1459382385531-4702838.post@n4.nabble.com> <56FCFE87.2010305@gmail.com> <1459448995186-4702879.post@n4.nabble.com> <1459460708560-4702898.post@n4.nabble.com> <1459467982156-4702904.post@n4.nabble.com> <56FFA2AF.1010204@gmail.com> <1459609998294-4702982.post@n4.nabble.com> <57013025.7000003@gmail.com> <57014B83.9060301@gmail.com> <153dd23f2d0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <57015149.1050507@gmail.com> <153dd3488e8.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <570156CB.6020002@gmail.com> <11F21588-1CBF-436C-B6F0-A715C39E60FD@me.com> <570164DD.7000205@gmail.com> <57028688.2010900@gmail.com> Message-ID: <570286E8.8090105@gmail.com> On 4.04.2016 18:21, RM wrote: > Here's the next step; using absolutely the most *bog-basic* code you > can imagine > > (all you purists can check out the button script in "Export Image" and > get upset) > > will export the image with rounded corners AND ink effects. > > http://forums.livecode.com/viewtopic.php?f=10&t=26933&p=140584#p140584 > > Love, Richmond. My "next tricks" have to be: 1. Graphic effects. 2. Batch processing. R. From jiml at netrin.com Mon Apr 4 12:24:52 2016 From: jiml at netrin.com (Jim Lambert) Date: Mon, 4 Apr 2016 09:24:52 -0700 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: References: Message-ID: Trevor, Thanks for the Rounded Corners widget. Very nice! Jim Lambert From Mark_Smith at cpe.umanitoba.ca Mon Apr 4 13:29:52 2016 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Mon, 4 Apr 2016 10:29:52 -0700 (PDT) Subject: 7.1.3 installer failure In-Reply-To: References: Message-ID: <1459790992079-4703104.post@n4.nabble.com> Robert, advice was to download it directly from http://downloads.livecode.com/ It worked on my second try. Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/7-1-3-installer-failure-tp4702798p4703104.html Sent from the Revolution - User mailing list archive at Nabble.com. From prothero at earthednet.org Mon Apr 4 14:32:00 2016 From: prothero at earthednet.org (William Prothero) Date: Mon, 4 Apr 2016 11:32:00 -0700 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: References: Message-ID: <06EF1221-28CA-40D2-A02A-C4CBE236AD25@earthednet.org> Trevor: Very nice! Thanks for the widget. Best, Bill > On Apr 3, 2016, at 8:17 PM, William Prothero wrote: > > Trevor: > Never tried to install a widget before. I downloaded your zip folder and copied the folder with its contents to the ?extensions? folder. I don?t see it in the extensions manager. I?m in dp15. Any suggestions? > Bill > > >> On Apr 3, 2016, at 2:50 PM, Trevor DeVore wrote: >> >> On Sun, Mar 27, 2016 at 6:26 PM, Sannyasin Brahmanathaswami < >> brahma at hindu.org> wrote: >> >>> Our design team finished a design for a mobile app. The used rounded >>> corners everywhere. >>> >>> see >>> >>> http://wiki.hindu.org/screenshots/radius-all-corners.jpg >>> >>> Something I wished we had in LC for all controls (groups included) is >>> corner radius, but is is only available for graphics objects. >>> >> >> I thought this would make an interesting widget. I put together a widget >> that does the following: >> >> 1. Allows you to turn on/off rounded corners for each corner of the widget. >> 2. Allows you to set the radius. >> 3. Allows you to set a filename of an image that will be displayed within >> the widget. Default is to draw the widget using the background color. >> >> The source code can be found in my github repository under >> "rounded_corners". >> >> https://github.com/trevordevore/livecode-extensions >> >> I tried to package up an .lce version of the extension but then I couldn't >> find a way to install a packaged widget in the IDE. The only way I can see >> is to use the Extension Manager to install a widget that you are working >> on. So for now I've zipped up the folder that you should install in ~/My >> LiveCode/extensions. >> >> https://www.dropbox.com/s/3o6m6uq6suj5wvs/community.livecode.trevordevore.roundedCorners.1.0.0.zip?dl=0 >> >> Let me know if this does what you need. >> >> -- >> Trevor DeVore >> ScreenSteps >> www.screensteps.com - www.clarify-it.com >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Mon Apr 4 14:28:44 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 4 Apr 2016 11:28:44 -0700 (PDT) Subject: snapshot from rect XXX without card? In-Reply-To: <57027C27.2060401@gmail.com> References: <57027C27.2060401@gmail.com> Message-ID: <1459794524930-4703106.post@n4.nabble.com> This works. Just copy the alphadata from an imported snapshot of the graphic into the snapshot of the graphic with ink effects applied: put the windowID of this stack into CHOP put the rect of graphic 1 into REKT import snapshot from grc 1 set the name of last img to "grc_snapshot_with_alpha" import snapshot from rect REKT of window CHOP set the name of last img to "grc_snapshot_with_inks" set the alphadata of img "grc_snapshot_with_inks" to the alphadata of img "grc_snapshot_with_alpha" delete img "grc_snapshot_with_alpha" Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/snapshot-from-rect-XXX-without-card-tp4703100p4703106.html Sent from the Revolution - User mailing list archive at Nabble.com. From andre at andregarzia.com Mon Apr 4 15:04:12 2016 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 4 Apr 2016 16:04:12 -0300 Subject: Script Only Stack Architecture In-Reply-To: References: <19E60D96-6A43-464A-B844-9E304F48690F@earthednet.org> <56FD55DE.1070106@fourthworld.com> Message-ID: Hey Friends, Long time no see! Loved this thread! In the spirit of working in the open and sharing unfinished (and potentially broken) stuff, I'd welcome you all to take a look into some documentation we're putting into place at: https://bitbucket.org/hapdevelopers/devdocs/wiki/Home We welcome feedback, advise, suggestions and comments! :D Give use your two livecents! :D PS: The objective is to have a bit of documentation on best practices that we can point developers (internal and external) to. Cheers andre On Mon, Apr 4, 2016 at 5:32 AM, Ali Lloyd wrote: > localPath() & > "main-stack-scripts/generic-mobile-functions_behavior.livecode" is not a > valid stack reference - it's just a path. Try: > > on assignBehaviors > > set the behavior of stack "siva-portal-links_behavior" to the long id of > stack (localPath() & > "main-stack-scripts/generic-mobile-functions_behavior.livecode") > > end assignBehaviors > > On Mon, Apr 4, 2016 at 5:42 AM Sannyasin Brahmanathaswami < > brahma at hindu.org> > wrote: > > > But FWIW.. this does not work > > > > on assignBehaviors > > > > set the behavior of stack "siva-portal-links_behavior" to (localPath() & > > "main-stack-scripts/generic-mobile-functions_behavior.livecode") > > > > end assignBehaviors > > > > OTOH: if you assign the behavior via the inspector to the script-only > > stack it *does* work.. > > > > So there must be a syntax for that that we can use also. > > > > What is it? > > > > On March 31, 2016 at 12:30:50 PM, Ali Lloyd (ali.lloyd at livecode.com > > ) wrote: > > > > My solution to this: > > > > Stack "MyTestStack" has a field, which is assigned stack > > "MyBehaviorStack" as its behavior property. > > > > Stack "MyBehaviorStack" is a separate stack file. > > > > would be to also include the behavior *setting* in the preOpenStack > handler > > of "MyTestStack". > > > > on preOpenStack > > set the behavior of field "FieldWithBehavior" of me to > MyBehaviorStack> > > end preOpenStack > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From ambassador at fourthworld.com Mon Apr 4 16:10:08 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 4 Apr 2016 13:10:08 -0700 Subject: Script Only Stack Architecture In-Reply-To: References: Message-ID: <5702CA20.3090204@fourthworld.com> Andre Garzia wrote: > Hey Friends, > > Long time no see! Loved this thread! In the spirit of working in > the open and sharing unfinished (and potentially broken) stuff, > I'd welcome you all to take a look into some documentation we're > putting into place at: > > https://bitbucket.org/hapdevelopers/devdocs/wiki/Home > > We welcome feedback, advise, suggestions and comments! :D Give use > your two livecents! :D > > PS: The objective is to have a bit of documentation on best practices > that we can point developers (internal and external) to. I have no idea what "HAP" stands for, but I'm very glad to see you back on this list! Hope we'll be seeing more of you. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From andre at andregarzia.com Mon Apr 4 16:59:21 2016 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 4 Apr 2016 17:59:21 -0300 Subject: Script Only Stack Architecture In-Reply-To: <5702CA20.3090204@fourthworld.com> References: <5702CA20.3090204@fourthworld.com> Message-ID: Hey Richard, I miss you and the gang everyday! I am trying to be more present and want to learn all the goodies from LC8. HAP stands for Himalayan Academy Publication (http://himalayanacademy.com/). Where we use LC everyday.... :-D On Mon, Apr 4, 2016 at 5:10 PM, Richard Gaskin wrote: > Andre Garzia wrote: > > > Hey Friends, > > > > Long time no see! Loved this thread! In the spirit of working in > > the open and sharing unfinished (and potentially broken) stuff, > > I'd welcome you all to take a look into some documentation we're > > putting into place at: > > > > https://bitbucket.org/hapdevelopers/devdocs/wiki/Home > > > > We welcome feedback, advise, suggestions and comments! :D Give use > > your two livecents! :D > > > > PS: The objective is to have a bit of documentation on best practices > > that we can point developers (internal and external) to. > > I have no idea what "HAP" stands for, but I'm very glad to see you back on > this list! > > Hope we'll be seeing more of you. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From mwieder at ahsoftware.net Mon Apr 4 17:23:30 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 4 Apr 2016 14:23:30 -0700 Subject: Script Only Stack Architecture In-Reply-To: References: <5702CA20.3090204@fourthworld.com> Message-ID: <5702DB52.8020004@ahsoftware.net> On 04/04/2016 01:59 PM, Andre Garzia wrote: > HAP stands for Himalayan Academy Publication (http://himalayanacademy.com/). > Where we use LC everyday.... Sometimes twice a day, I'll bet. -- Mark Wieder ahsoftware at gmail.com From brahma at hindu.org Mon Apr 4 18:13:45 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 4 Apr 2016 22:13:45 +0000 Subject: Script Only Stack Architecture In-Reply-To: <5702DB52.8020004@ahsoftware.net> References: <5702CA20.3090204@fourthworld.com> <5702DB52.8020004@ahsoftware.net> Message-ID: I'm just working on the next issue of Hinduism Today and checking articles in and out of version control system dedicated to Indesign that I built... we have been using it for 8 years, team loves it..super, super easy, never lost a single file... having finally bailed on Adobe's ridiculously complicated and error prone VersionCue which they killed (thank god) I said to the team, "We don't need to waste any more time or money on any DAM software, let me build it." (smile) In house app here are used to post to our blog daily; and volunteers around the world use an LC stand alone to pull audio files from our server and transcript them and post the transcript back. That thing has been running flawlessing since 2001 (really!) I get auto notifications. Another app, built by Andre is also used globally by everyone from "your little sister" to our team work on the upload media and enter the metadata of media on our web server. And here at my desk, if I have to do something twice, I will do it twice; if I have to do something three times I will use Livecode. e.g. get the rect and filenames of 5,000 images, write out data to a tab delimited file, upload the images to the web server and use RevIgniter to read the metadata and add records to the database. I don't see how it could be any better or more efficient. But i don't this this is so unusual, I bet there are a lot of such user stories hidden away BR On April 4, 2016 at 11:23:49 AM, Mark Wieder (mwieder at ahsoftware.net) wrote: > HAP stands for Himalayan Academy Publication (http://himalayanacademy.com/). > Where we use LC everyday.... Sometimes twice a day, I'll bet. -- Mark Wieder ahsoftware at gmail.com From brahma at hindu.org Mon Apr 4 18:15:14 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 4 Apr 2016 22:15:14 +0000 Subject: Design Challenge -- Round Corner mask on images In-Reply-To: <06EF1221-28CA-40D2-A02A-C4CBE236AD25@earthednet.org> References: <06EF1221-28CA-40D2-A02A-C4CBE236AD25@earthednet.org> Message-ID: Indeed.. thank you.. not only for the widget but for a good example of what can be done. On April 4, 2016 at 8:32:16 AM, William Prothero (prothero at earthednet.org) wrote: Trevor: Very nice! Thanks for the widget. Best, Bill From brahma at hindu.org Mon Apr 4 18:29:20 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 4 Apr 2016 22:29:20 +0000 Subject: Widgets' Use Cases and Bytes Added to App Message-ID: Just putting my little pinky into the widget world. Frequently we use small groups to instantiate "objects" which are made of of several controls grouped together. These are then replicated across some card for whatever purpose. I think that is the underlying model for the DataGrid. Would such a small group be better created as a widget? Put another way, can we, in generalized "framework speak" define what uses cases best call for a widget and when they are best *not* used? In the case of any given widget, if it were is duplicated 50 times. Is all that code added X 50 added to the total overhead/size of the app? or is a "class" whose code reused and only the content the presentation layer is adding the file size? From lan.kc.macmail at gmail.com Tue Apr 5 03:26:37 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 5 Apr 2016 15:26:37 +0800 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <57016EA9.8010102@hyperactivesw.com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> Message-ID: On Mon, Apr 4, 2016 at 3:27 AM, J. Landman Gay wrote: >posting requests to the list will > add too much irritating noise; That's why I suggested prefixing the subject with [DOC] so as people can quickly filter out subjects they are not interested in. Thank you those who use [ANN] [BUG] and [OT] - very helpful. I also envisaged (maybe wrongly) that you wouldn't be posting the entire document, just the portion/line/paragraph of relevance; i.e. a stated goal of the new documents is that the Examples should work for those with Strict Compilation turned On. Therefore a post to the list might be as simple as: ----------------------------------------------- [DOC] Add command - example update could someone please replace Example: add field "New" to tSummaryOfInventory with Example: local tSummaryOfInventory add field "New" to tSummaryOfInventory thanks ----------------------------------------------- >Are there shell commands > that a naif like me could just put into a stack yes there are: http://burnedpixel.com/blog/setting-up-git-and-github-on-your-mac/ BUT > without fully understanding > them? If so, maybe I could write one. is not going to happen. By the time you figured out how to implement the command line tools in your stack you'd just as easily have figured out how to use the web interface for Github and done a couple of amendments! >Then I read Mark Wieder's comments to Kay and decided I was wrong. :) I can't for the life of me find a response from Mark - I've checked my SPAM - but I'll take a stab and agree with him... he's far more switched on than I am :-) From toolbook at kestner.de Tue Apr 5 03:59:01 2016 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 5 Apr 2016 09:59:01 +0200 Subject: LC8 - Any new restrictions for windows icon? Message-ID: <004001d18f11$04caca70$0e605f50$@kestner.de> Hello, I can't assign any custom icon to my windows standalones in LC 8 (DP11/16) anymore. After choosing the icon in the standalone settings, closing the window and reopening the standalone settings window, the assigned icon is empty. Also, if I save the file before closing the standalone settings window Are there any new icon restrictions for LC 8 or is this a bug I should file? Thanks Tiemo From panos.merakos at livecode.com Tue Apr 5 06:04:07 2016 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 5 Apr 2016 11:04:07 +0100 Subject: LC8 - Any new restrictions for windows icon? In-Reply-To: <004001d18f11$04caca70$0e605f50$@kestner.de> References: <004001d18f11$04caca70$0e605f50$@kestner.de> Message-ID: Hi Tiemo, This is reported under http://quality.livecode.com/show_bug.cgi?id=16689, and it will be fixed in the next LiveCode 8 release. Best regards, Panos -- On Tue, Apr 5, 2016 at 8:59 AM, Tiemo Hollmann TB wrote: > Hello, > > I can't assign any custom icon to my windows standalones in LC 8 (DP11/16) > anymore. > > After choosing the icon in the standalone settings, closing the window and > reopening the standalone settings window, the assigned icon is empty. Also, > if I save the file before closing the standalone settings window > > Are there any new icon restrictions for LC 8 or is this a bug I should > file? > > Thanks > > Tiemo > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From peter.brett at livecode.com Tue Apr 5 06:12:46 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Tue, 5 Apr 2016 11:12:46 +0100 Subject: Widgets' Use Cases and Bytes Added to App In-Reply-To: References: Message-ID: <57038F9E.8080209@livecode.com> On 04/04/2016 23:29, Sannyasin Brahmanathaswami wrote: > Just putting my little pinky into the widget world. > > Frequently we use small groups to instantiate "objects" which are > made of of several controls grouped together. These are then > replicated across some card for whatever purpose. I think that is the > underlying model for the DataGrid. > > Would such a small group be better created as a widget? Unfortunately we don't _quite_ have the engine features required to wrap a set of "classic" controls into a widget. :-/ > Put another way, can we, in generalized "framework speak" define what > uses cases best call for a widget and when they are best *not* used? > > In the case of any given widget, if it were is duplicated 50 times. > Is all that code added X 50 added to the total overhead/size of the > app? or is a "class" whose code reused and only the content the > presentation layer is adding the file size? If you duplicate the widget 50 times, then: - 50 controls are added to your stack (exactly the same as if you had put 50 buttons on your stack) - One copy of the widget source code and any resources it uses are added to your standalone. Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From peter.brett at livecode.com Tue Apr 5 06:48:21 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Tue, 5 Apr 2016 11:48:21 +0100 Subject: [ANN] This Week in LiveCode 27 Message-ID: <570397F5.4080707@livecode.com> Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #27 here: https://goo.gl/d6skui This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From toolbook at kestner.de Tue Apr 5 07:01:55 2016 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 5 Apr 2016 13:01:55 +0200 Subject: AW: LC8 - Any new restrictions for windows icon? In-Reply-To: References: <004001d18f11$04caca70$0e605f50$@kestner.de> Message-ID: <007901d18f2a$9203b550$b60b1ff0$@kestner.de> Thanks Panos I had seen this report, but in my case the icon file attachment wasn't saved and ddidn't threw an error. But perhaps it's the same issue. Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von panagiotis merakos Gesendet: Dienstag, 5. April 2016 12:04 An: How to use LiveCode Betreff: Re: LC8 - Any new restrictions for windows icon? Hi Tiemo, This is reported under http://quality.livecode.com/show_bug.cgi?id=16689, and it will be fixed in the next LiveCode 8 release. Best regards, Panos -- On Tue, Apr 5, 2016 at 8:59 AM, Tiemo Hollmann TB wrote: > Hello, > > I can't assign any custom icon to my windows standalones in LC 8 > (DP11/16) anymore. > > After choosing the icon in the standalone settings, closing the window > and reopening the standalone settings window, the assigned icon is > empty. Also, if I save the file before closing the standalone settings > window > > Are there any new icon restrictions for LC 8 or is this a bug I should > file? > > Thanks > > Tiemo > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Tue Apr 5 08:52:50 2016 From: paul at researchware.com (Paul Dupuis) Date: Tue, 05 Apr 2016 08:52:50 -0400 Subject: Widgets' Use Cases and Bytes Added to App In-Reply-To: <57038F9E.8080209@livecode.com> References: <57038F9E.8080209@livecode.com> Message-ID: <5703B522.3080900@researchware.com> On 4/5/2016 6:12 AM, Peter TB Brett wrote: >> Frequently we use small groups to instantiate "objects" which are >> made of of several controls grouped together. These are then >> replicated across some card for whatever purpose. I think that is the >> underlying model for the DataGrid. >> >> Would such a small group be better created as a widget? > > Unfortunately we don't _quite_ have the engine features required to > wrap a set of "classic" controls into a widget. :-/ I'd like to put in a plug that being able to do exactly that (make a widget that is a group of classic controls, plus scripts) would be a feature I'd very much like to see. I really don't expect to use widgets for creating custom buttons (or whatever), but we use groups of controls everywhere in our application and making a number of them in to widgets that can easily be added to a new window would definitely accelerate development. From ambassador at fourthworld.com Tue Apr 5 10:39:28 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 5 Apr 2016 07:39:28 -0700 Subject: Widgets' Use Cases and Bytes Added to App In-Reply-To: <5703B522.3080900@researchware.com> References: <5703B522.3080900@researchware.com> Message-ID: <5703CE20.4040908@fourthworld.com> Paul Dupuis wrote: > On 4/5/2016 6:12 AM, Peter TB Brett wrote: >>> Frequently we use small groups to instantiate "objects" which are >>> made of of several controls grouped together. These are then >>> replicated across some card for whatever purpose. I think that is the >>> underlying model for the DataGrid. >>> >>> Would such a small group be better created as a widget? >> >> Unfortunately we don't _quite_ have the engine features required to >> wrap a set of "classic" controls into a widget. :-/ > > I'd like to put in a plug that being able to do exactly that (make a > widget that is a group of classic controls, plus scripts) would be a > feature I'd very much like to see. I really don't expect to use > widgets for creating custom buttons (or whatever), but we use groups > of controls everywhere in our application and making a number of them > in to widgets that can easily be added to a new window would > definitely accelerate development. Widgets have great packaging, and for controls like the ones they're currently used for it's a nice way to handle things, able to mix OS calls with lower-level drawing routines to render GUI elements in ways that are well worth the effort to learn LCB. But traditional custom controls have a place too, and the LiveCode Script they rely continues to be enhanced even as LCB is expanded along with it. The additional object overhead of custom controls isn't that much higher than Widgets, and with behaviors can be close to zero depending on the complexity of the control. With the group message, behaviors, before and after handlers, getProp and setProp, and other such goodies, I can't think of a project I've worked on in recent years that hasn't made extensive use of custom controls. In fact, many that I need are one-offs needed only for a specific project. They're easy enough to write on LC Script that it takes almost no time at all, and keeps the code and property management well centralized for easy development and maintenance. I can see writing Widgets for things I'll use across multiple projects, but as Kevin noted here a while back LC Script is the fastest way to develop, with LC Builder being the _much_ faster-to-code alternative to writing in C. So if you have stuff that can be done in LC Script, go for it. Fast to develop, performant to run, and will continue working well even as LC Builder continues to expand to handle other things. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Tue Apr 5 11:26:20 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 5 Apr 2016 08:26:20 -0700 Subject: Volunteer github guru for documentation submissions? In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> Message-ID: <5703D91C.4010302@ahsoftware.net> On 04/05/2016 12:26 AM, Kay C Lan wrote: >> Then I read Mark Wieder's comments to Kay and decided I was wrong. :) > > I can't for the life of me find a response from Mark - I've checked my > SPAM - but I'll take a stab and agree with him... he's far more > switched on than I am :-) I also have no idea what Jacque's talking about here. But I do want to say that there's fascinating reading in https://github.com/livecode/livecode/pull/3518#issuecomment-205199749 -- Mark Wieder ahsoftware at gmail.com From lists at mangomultimedia.com Tue Apr 5 11:55:34 2016 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 5 Apr 2016 11:55:34 -0400 Subject: Widgets' Use Cases and Bytes Added to App In-Reply-To: <5703CE20.4040908@fourthworld.com> References: <5703B522.3080900@researchware.com> <5703CE20.4040908@fourthworld.com> Message-ID: On Tue, Apr 5, 2016 at 10:39 AM, Richard Gaskin wrote: > > But traditional custom controls have a place too, and the LiveCode Script > they rely continues to be enhanced even as LCB is expanded along with it. > > The additional object overhead of custom controls isn't that much higher > than Widgets, and with behaviors can be close to zero depending on the > complexity of the control. > > With the group message, behaviors, before and after handlers, getProp and > setProp, and other such goodies, I can't think of a project I've worked on > in recent years that hasn't made extensive use of custom controls. > > In fact, many that I need are one-offs needed only for a specific > project. They're easy enough to write on LC Script that it takes almost no > time at all, and keeps the code and property management well centralized > for easy development and maintenance. > Richard, I imagine the problem Paul is trying to solve is that of keeping a custom control up to date. It isn't about how easy the custom control is to create, it's about how easy it is to update the control across an entire project as the control evolves. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From lists at mangomultimedia.com Tue Apr 5 11:57:03 2016 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 5 Apr 2016 11:57:03 -0400 Subject: Widgets' Use Cases and Bytes Added to App In-Reply-To: References: <5703B522.3080900@researchware.com> <5703CE20.4040908@fourthworld.com> Message-ID: On Tue, Apr 5, 2016 at 11:55 AM, Trevor DeVore wrote: > > I imagine the problem Paul is trying to solve ... > This should read ONE problem Paul is trying to solve rather than THE problem Paul is trying to solve. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From paul at researchware.com Tue Apr 5 12:16:02 2016 From: paul at researchware.com (Paul Dupuis) Date: Tue, 05 Apr 2016 12:16:02 -0400 Subject: Widgets' Use Cases and Bytes Added to App In-Reply-To: References: <5703B522.3080900@researchware.com> <5703CE20.4040908@fourthworld.com> Message-ID: <5703E4C2.7010603@researchware.com> On 4/5/2016 11:57 AM, Trevor DeVore wrote: > On Tue, Apr 5, 2016 at 11:55 AM, Trevor DeVore > wrote: > >> > >> > I imagine the problem Paul is trying to solve ... >> > > This should read ONE problem Paul is trying to solve rather than THE > problem Paul is trying to solve. Actually, not so much maintain the custom control. It is the convenience of having a custom control on a tool palette where I can just drag and drop a copy where needed (like Widgets or "regular" Tools"). When you drag and drop a wdiget in LC8 the details of that widget are sort of hidden - unless you go muck with it in LCB. I'd like that as well with a custom group of regular controls. I have been known, once of twice, when tracing livecode scripts, to loose track of where I was and edit a script of a customer control groups when I didn't mean to. A widget sort of insulates you from that. I wholeheartedly agree with Richard that even with widgets, custom controls (groups) of regular controls with scripts (as just script or as behaviors) still have a huge place in my development - far more than any widgets I'm likely to build. The convenience of taking a custom control and "moving" it in some way to a LCB Widget, would be really handy just as a convenience for re-use of the custom control. And, yes, before anyone says it, I do realize that I could create a plug-in palette that have my customer controls on it that supports drag and drop into a stack window, but I really just rather have it part of the engine I subscribe to. From panos.merakos at livecode.com Tue Apr 5 12:30:19 2016 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 5 Apr 2016 17:30:19 +0100 Subject: Release 6.7.11 RC 1 / 7.1.4 RC 1 Message-ID: Dear List Members, We are pleased to announce the release of LiveCode 6.7.11 RC 1 and 7.1.4 RC 1. *Release Contents* - 3 bugs are fixed in LiveCode 6.7.11 RC 1 - 9 bugs are fixed in LiveCode 7.1.4 RC 1 (in addition to the 3 bugs fixed in 6.7.11 RC 1, which are also fixed in 7.1.4 RC 1). Moreover, this release includes important security updates to some of the thirdparty libraries LiveCode uses. More specifically, OpenSSL is updated to version 1.0.1s, and libcurl to version 7.47.1. This release also allows you to select Xcode 7.3 in the Preferences > Mobile Support pane, and thus allowing users to deploy on iOS 9.3 simulator. *Getting the Release* To get the release please download the installer directly at: http://downloads.livecode.com Warmest regards, The LiveCode Team -- From jacque at hyperactivesw.com Tue Apr 5 12:35:26 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Apr 2016 11:35:26 -0500 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <5703D91C.4010302@ahsoftware.net> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> Message-ID: <153e74758b0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On April 5, 2016 10:27:38 AM Mark Wieder wrote: > On 04/05/2016 12:26 AM, Kay C Lan wrote: > >>> Then I read Mark Wieder's comments to Kay and decided I was wrong. :) >> >> I can't for the life of me find a response from Mark - I've checked my >> SPAM - but I'll take a stab and agree with him... he's far more >> switched on than I am :-) > > I also have no idea what Jacque's talking about here. As our glorious ex-leader used to say,, I misremembered. I'll go out on a limb and say it was Alex. Or possibly someone else. Me no think right. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Tue Apr 5 12:42:34 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 5 Apr 2016 09:42:34 -0700 Subject: Widgets' Use Cases and Bytes Added to App In-Reply-To: References: Message-ID: <5703EAFA.5020208@fourthworld.com> Trevor DeVore wrote: > On Tue, Apr 5, 2016 at 10:39 AM, Richard Gaskin wrote: > >> With the group message, behaviors, before and after handlers, >> getProp and setProp, and other such goodies, I can't think of >> a project I've worked on in recent years that hasn't made >> extensive use of custom controls. >> >> In fact, many that I need are one-offs needed only for a specific >> project. They're easy enough to write on LC Script that it takes >> almost no time at all, and keeps the code and property management >> well centralized for easy development and maintenance. > > Richard, > > I imagine the problem Paul is trying to solve is that of keeping a > custom control up to date. It isn't about how easy the custom control > is to create, it's about how easy it is to update the control across > an entire project as the control evolves. True, Widgets make that more convenient. But if you need editable text or other LC-native controls, like the great bard Donald Rumsfeld reminds us, "You go to war with the army you have". If needed, it doesn't take but a few minutes to make a tool to replace custom controls from a template. Most of the ones I've made begin as templates anyway so I can work out the details in isolation before copying them into place. Helps keep them self-contained to make 'em that way. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Apr 5 12:49:53 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 5 Apr 2016 09:49:53 -0700 Subject: Widgets' Use Cases and Bytes Added to App In-Reply-To: <5703E4C2.7010603@researchware.com> References: <5703E4C2.7010603@researchware.com> Message-ID: <5703ECB1.10308@fourthworld.com> Paul Dupuis wrote: > Actually, not so much maintain the custom control. It is the > convenience of having a custom control on a tool palette where > I can just drag and drop a copy where needed (like Widgets or > "regular" Tools"). > I have been known, once of twice, when tracing livecode scripts, > to loose track of where I was and edit a script of a customer > control groups when I didn't mean to. A widget sort of insulates > you from that. ...by virtue of impossibility. :) That is, you *can't* edit a Widget in LC at all at the moment, so it's essential that a Widget be thoroughly debugged. If a custom control is written in a similarly airtight way we should never need to worry about its inner working either. But in a sense, this is a feature of custom controls more than a weakness: being native to LC Script, they lend themselves to one-off ad hoc tasks, easy to create whenever you need 'em. This means you'll be writing them, debugging them, and in the course of that will need to edit their scripts. But the same is true of a Widget, or anything else made in any language: until it's been thoroughly debugged it will need to be revised. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ray at linkit.com Tue Apr 5 13:18:33 2016 From: ray at linkit.com (Ray) Date: Tue, 5 Apr 2016 13:18:33 -0400 Subject: Error: Unable to open the database file In-Reply-To: <568D6747.2080908@gmail.com> References: <568D4781.8010808@gmail.com> <568D4D29.1090300@fourthworld.com> <568D6747.2080908@gmail.com> Message-ID: <5703F369.2090103@LinkIt.Com> I've never worked with sqLite databases before but it appears I should be able to access one on a server pretty much the same as I do locally. Here's what I've done: put revOpenDatabase("sqLite",localPath) into theDbId -- this creates a zero K local database file put "CREATE TABLE bugs(Name char(50), Date char(50))" into myQuery revExecuteSQL theDbId,myQuery -- the local database file is no 2 K revCloseDatabase theDbId -- close it or I won't be able to copy it to the server I then copy the local database file to a remote server and make sure all 9 permissions are checked (777). I now load the well-tested server path into the variable dbPath and try this: put revOpenDatabase("sqLite",dbPath) into myResult but all I get back is: Error: Unable to open the database file Suggestions? From mwieder at ahsoftware.net Tue Apr 5 13:31:04 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 5 Apr 2016 10:31:04 -0700 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <153e74758b0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <153e74758b0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <5703F658.5010809@ahsoftware.net> On 04/05/2016 09:35 AM, J. Landman Gay wrote: > As our glorious ex-leader used to say,, I misremembered. Well, since that lets me off the hook, let me say now that really, it ain't that hard to do. There's a bit of setup involved, but after that you're home free. -- Mark Wieder ahsoftware at gmail.com From roger.e.eller at sealedair.com Tue Apr 5 13:57:44 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 5 Apr 2016 13:57:44 -0400 Subject: Widgets' Use Cases and Bytes Added to App In-Reply-To: <5703ECB1.10308@fourthworld.com> References: <5703E4C2.7010603@researchware.com> <5703ECB1.10308@fourthworld.com> Message-ID: On Tue, Apr 5, 2016 at 12:49 PM, Richard Gaskin wrote: > > > That is, you *can't* edit a Widget in LC at all at the moment, so it's > essential that a Widget be thoroughly debugged. > > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > At the risk of hijacking this thread, I just want to interject that Widgets provided in LC 8.x are NOT being tested (at the very least - VIEWED) on all supported platforms. They can't be! Look at the clock widget on an Android device in DP16. The freakin' numbers literally fall off of the clock. I have already reported that as a bug, but shouldn't there be some human eyes on the product before posting a new DP? ~Roger From richmondmathewson at gmail.com Tue Apr 5 14:13:06 2016 From: richmondmathewson at gmail.com (RM) Date: Tue, 5 Apr 2016 21:13:06 +0300 Subject: [OT] Climbing into bed? Message-ID: <57040032.7080700@gmail.com> Has Mark Sh. climbed into bed with the enemy? https://blogs.windows.com/?/?/run-bash-on-ubuntu-on-windows/ Is this a good thing, or not? Richmond. From jacque at hyperactivesw.com Tue Apr 5 14:36:46 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 5 Apr 2016 13:36:46 -0500 Subject: Volunteer github guru for documentation submissions? In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> Message-ID: <570405BE.2060905@hyperactivesw.com> On 4/5/2016 2:26 AM, Kay C Lan wrote: > That's why I suggested prefixing the subject with [DOC] so as people > can quickly filter out subjects they are not interested in. Thank you > those who use [ANN] [BUG] and [OT] - very helpful. I also envisaged > (maybe wrongly) that you wouldn't be posting the entire document, just > the portion/line/paragraph of relevance I was on a different track, planning to grab the latest file, edit it, and send it back to github via our Good Deed Doer, that is, Charles. It would be the same process as anyone else uses who knows github, only using a proxy person. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ray at linkit.com Tue Apr 5 14:39:11 2016 From: ray at linkit.com (Ray) Date: Tue, 5 Apr 2016 14:39:11 -0400 Subject: Error: Unable to open the database file In-Reply-To: <570405BE.2060905@hyperactivesw.com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> Message-ID: <5704064F.5010807@LinkIt.Com> ...one other note. I'm guessing calls to sqLite need drivers. These drivers are probably built in to Livecode and the OnRev server which would explain why LC's database commands works so well locally and with the OnRev based samples. If this is the problem, does anybody know how I could install these drivers on my own server? On 4/5/2016 1:18 PM, Ray wrote: > I've never worked with sqLite databases before but it appears I should > be able to access one on a server pretty much the same as I do locally. > > Here's what I've done: > put revOpenDatabase("sqLite",localPath) into > theDbId -- this creates a zero K local database file > > put "CREATE TABLE bugs(Name char(50), Date char(50))" into myQuery > revExecuteSQL theDbId,myQuery -- the local database file is no 2 K > > revCloseDatabase theDbId -- close it or I won't be able to copy it > to the server > > I then copy the local database file to a remote server and make sure > all 9 permissions are checked (777). > > I now load the well-tested server path into the variable dbPath and > try this: > put revOpenDatabase("sqLite",dbPath) into myResult > > but all I get back is: > Error: Unable to open the database file > > Suggestions? From devin_asay at byu.edu Tue Apr 5 15:38:12 2016 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 5 Apr 2016 19:38:12 +0000 Subject: Error: Unable to open the database file In-Reply-To: <5704064F.5010807@LinkIt.Com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> Message-ID: Ray, You may have moved your DB file from a system that is not case sensitive, like MacOS, to one this is case sensitive, like Linux. Do all of your folders and file names have the same exact spelling, including upper and lower case letters, as the string in your path variable? Devin > On Apr 5, 2016, at 12:39 PM, Ray wrote: > > ...one other note. I'm guessing calls to sqLite need drivers. These drivers are probably built in to Livecode and the OnRev server which would explain why LC's database commands works so well locally and with the OnRev based samples. > > If this is the problem, does anybody know how I could install these drivers on my own server? > > On 4/5/2016 1:18 PM, Ray wrote: >> I've never worked with sqLite databases before but it appears I should be able to access one on a server pretty much the same as I do locally. >> >> Here's what I've done: >> put revOpenDatabase("sqLite",localPath) into theDbId -- this creates a zero K local database file >> >> put "CREATE TABLE bugs(Name char(50), Date char(50))" into myQuery >> revExecuteSQL theDbId,myQuery -- the local database file is no 2 K >> >> revCloseDatabase theDbId -- close it or I won't be able to copy it to the server >> >> I then copy the local database file to a remote server and make sure all 9 permissions are checked (777). >> >> I now load the well-tested server path into the variable dbPath and try this: >> put revOpenDatabase("sqLite",dbPath) into myResult >> >> but all I get back is: >> Error: Unable to open the database file >> >> Suggestions? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Office of Digital Humanities Brigham Young University From ray at linkit.com Tue Apr 5 16:31:51 2016 From: ray at linkit.com (Ray) Date: Tue, 5 Apr 2016 16:31:51 -0400 Subject: Error: Unable to open the database file In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> Message-ID: <570420B7.8040804@LinkIt.Com> Devin - thanks for the idea but that's not it. I just checked and everything on my Windows 8.1 system matches case with the database file path on the Linux server. I even tried changing the name of the database file to all lower case but that didn't work either. Thanks... On 4/5/2016 3:38 PM, Devin Asay wrote: > Ray, > > You may have moved your DB file from a system that is not case sensitive, like MacOS, to one this is case sensitive, like Linux. Do all of your folders and file names have the same exact spelling, including upper and lower case letters, as the string in your path variable? > > Devin > > >> On Apr 5, 2016, at 12:39 PM, Ray wrote: >> >> ...one other note. I'm guessing calls to sqLite need drivers. These drivers are probably built in to Livecode and the OnRev server which would explain why LC's database commands works so well locally and with the OnRev based samples. >> >> If this is the problem, does anybody know how I could install these drivers on my own server? >> >> On 4/5/2016 1:18 PM, Ray wrote: >>> I've never worked with sqLite databases before but it appears I should be able to access one on a server pretty much the same as I do locally. >>> >>> Here's what I've done: >>> put revOpenDatabase("sqLite",localPath) into theDbId -- this creates a zero K local database file >>> >>> put "CREATE TABLE bugs(Name char(50), Date char(50))" into myQuery >>> revExecuteSQL theDbId,myQuery -- the local database file is no 2 K >>> >>> revCloseDatabase theDbId -- close it or I won't be able to copy it to the server >>> >>> I then copy the local database file to a remote server and make sure all 9 permissions are checked (777). >>> >>> I now load the well-tested server path into the variable dbPath and try this: >>> put revOpenDatabase("sqLite",dbPath) into myResult >>> >>> but all I get back is: >>> Error: Unable to open the database file >>> >>> Suggestions? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > Devin Asay > Office of Digital Humanities > Brigham Young University > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Tue Apr 5 18:34:44 2016 From: pete at lcsql.com (Peter Haworth) Date: Tue, 05 Apr 2016 22:34:44 +0000 Subject: Error: Unable to open the database file In-Reply-To: <570420B7.8040804@LinkIt.Com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> Message-ID: You might want to try opening the database with something other than Livecode in hope that you will get a more informative error message. sqlite3 is the official sqlite command line tool. It's distributed with OSX but not sure if it's included with Windows. Are you able to access any other files in the same directory as the sqlite db? On Tue, Apr 5, 2016 at 1:31 PM Ray wrote: > Devin - thanks for the idea but that's not it. I just checked and > everything on my Windows 8.1 system matches case with the database file > path on the Linux server. I even tried changing the name of the > database file to all lower case but that didn't work either. Thanks... > > On 4/5/2016 3:38 PM, Devin Asay wrote: > > Ray, > > > > You may have moved your DB file from a system that is not case > sensitive, like MacOS, to one this is case sensitive, like Linux. Do all of > your folders and file names have the same exact spelling, including upper > and lower case letters, as the string in your path variable? > > > > Devin > > > > > >> On Apr 5, 2016, at 12:39 PM, Ray wrote: > >> > >> ...one other note. I'm guessing calls to sqLite need drivers. These > drivers are probably built in to Livecode and the OnRev server which would > explain why LC's database commands works so well locally and with the OnRev > based samples. > >> > >> If this is the problem, does anybody know how I could install these > drivers on my own server? > >> > >> On 4/5/2016 1:18 PM, Ray wrote: > >>> I've never worked with sqLite databases before but it appears I should > be able to access one on a server pretty much the same as I do locally. > >>> > >>> Here's what I've done: > >>> put revOpenDatabase("sqLite",localPath) into theDbId > -- this creates a zero K local database file > >>> > >>> put "CREATE TABLE bugs(Name char(50), Date char(50))" into myQuery > >>> revExecuteSQL theDbId,myQuery -- the local database file is no 2 K > >>> > >>> revCloseDatabase theDbId -- close it or I won't be able to copy it > to the server > >>> > >>> I then copy the local database file to a remote server and make sure > all 9 permissions are checked (777). > >>> > >>> I now load the well-tested server path into the variable dbPath and > try this: > >>> put revOpenDatabase("sqLite",dbPath) into myResult > >>> > >>> but all I get back is: > >>> Error: Unable to open the database file > >>> > >>> Suggestions? > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > Devin Asay > > Office of Digital Humanities > > Brigham Young University > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Tue Apr 5 18:55:33 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 5 Apr 2016 15:55:33 -0700 Subject: [OT] Climbing into bed? In-Reply-To: <57040032.7080700@gmail.com> References: <57040032.7080700@gmail.com> Message-ID: <57044265.60602@fourthworld.com> RM wrote: > Has Mark Sh. climbed into bed with the enemy? > > https://blogs.windows.com/?/?/run-bash-on-ubuntu-on-windows/ > > > Is this a good thing, or not? It's pretty great if you work in a Windows-only shop and want Linux tools. Kinda doesn't affect anyone else (except people on Reddit. Everything affects people on Reddit. ). -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ray at linkit.com Tue Apr 5 18:57:07 2016 From: ray at linkit.com (Ray) Date: Tue, 5 Apr 2016 18:57:07 -0400 Subject: Error: Unable to open the database file In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> Message-ID: <570442C3.9070309@LinkIt.Com> Peter - thanks for jumping in here. Yes, I can read and write files to this location and, as a matter of fact, I can even do a straight read of the database file on the server and get the same cryptic characters back I get when I read the local copy. I just can't establish a connection to it for the purpose of issuing revDatabase calls. You're right when you say the "unable to open the database file" is not very informative. I get the same message when I try that on an empty path on the server. I'll try your sqLite3 suggestion and let you know how it works. Thanks! On 4/5/2016 6:34 PM, Peter Haworth wrote: > You might want to try opening the database with something other than > Livecode in hope that you will get a more informative error message. > sqlite3 is the official sqlite command line tool. It's distributed with > OSX but not sure if it's included with Windows. > > Are you able to access any other files in the same directory as the sqlite > db? > > On Tue, Apr 5, 2016 at 1:31 PM Ray wrote: > >> Devin - thanks for the idea but that's not it. I just checked and >> everything on my Windows 8.1 system matches case with the database file >> path on the Linux server. I even tried changing the name of the >> database file to all lower case but that didn't work either. Thanks... >> >> On 4/5/2016 3:38 PM, Devin Asay wrote: >>> Ray, >>> >>> You may have moved your DB file from a system that is not case >> sensitive, like MacOS, to one this is case sensitive, like Linux. Do all of >> your folders and file names have the same exact spelling, including upper >> and lower case letters, as the string in your path variable? >>> Devin >>> >>> >>>> On Apr 5, 2016, at 12:39 PM, Ray wrote: >>>> >>>> ...one other note. I'm guessing calls to sqLite need drivers. These >> drivers are probably built in to Livecode and the OnRev server which would >> explain why LC's database commands works so well locally and with the OnRev >> based samples. >>>> If this is the problem, does anybody know how I could install these >> drivers on my own server? >>>> On 4/5/2016 1:18 PM, Ray wrote: >>>>> I've never worked with sqLite databases before but it appears I should >> be able to access one on a server pretty much the same as I do locally. >>>>> Here's what I've done: >>>>> put revOpenDatabase("sqLite",localPath) into theDbId >> -- this creates a zero K local database file >>>>> put "CREATE TABLE bugs(Name char(50), Date char(50))" into myQuery >>>>> revExecuteSQL theDbId,myQuery -- the local database file is no 2 K >>>>> >>>>> revCloseDatabase theDbId -- close it or I won't be able to copy it >> to the server >>>>> I then copy the local database file to a remote server and make sure >> all 9 permissions are checked (777). >>>>> I now load the well-tested server path into the variable dbPath and >> try this: >>>>> put revOpenDatabase("sqLite",dbPath) into myResult >>>>> >>>>> but all I get back is: >>>>> Error: Unable to open the database file >>>>> >>>>> Suggestions? >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> Devin Asay >>> Office of Digital Humanities >>> Brigham Young University >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Tue Apr 5 19:22:08 2016 From: pete at lcsql.com (Peter Haworth) Date: Tue, 05 Apr 2016 23:22:08 +0000 Subject: Error: Unable to open the database file In-Reply-To: <570442C3.9070309@LinkIt.Com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> Message-ID: I suppose I should also mention the usual caveat about using sqlite over a networked file system, which is that sqlite relies on file system locking to preserve data integrity and some networked file systems are buggy in that area according to the sqlite website. On Tue, Apr 5, 2016, 3:57 PM Ray wrote: > Peter - thanks for jumping in here. Yes, I can read and write files to > this location and, as a matter of fact, I can even do a straight read of > the database file on the server and get the same cryptic characters back > I get when I read the local copy. I just can't establish a connection > to it for the purpose of issuing revDatabase calls. > > You're right when you say the "unable to open the database file" is not > very informative. I get the same message when I try that on an empty > path on the server. > > I'll try your sqLite3 suggestion and let you know how it works. > > Thanks! > > On 4/5/2016 6:34 PM, Peter Haworth wrote: > > You might want to try opening the database with something other than > > Livecode in hope that you will get a more informative error message. > > sqlite3 is the official sqlite command line tool. It's distributed > with > > OSX but not sure if it's included with Windows. > > > > Are you able to access any other files in the same directory as the > sqlite > > db? > > > > On Tue, Apr 5, 2016 at 1:31 PM Ray wrote: > > > >> Devin - thanks for the idea but that's not it. I just checked and > >> everything on my Windows 8.1 system matches case with the database file > >> path on the Linux server. I even tried changing the name of the > >> database file to all lower case but that didn't work either. Thanks... > >> > >> On 4/5/2016 3:38 PM, Devin Asay wrote: > >>> Ray, > >>> > >>> You may have moved your DB file from a system that is not case > >> sensitive, like MacOS, to one this is case sensitive, like Linux. Do > all of > >> your folders and file names have the same exact spelling, including > upper > >> and lower case letters, as the string in your path variable? > >>> Devin > >>> > >>> > >>>> On Apr 5, 2016, at 12:39 PM, Ray wrote: > >>>> > >>>> ...one other note. I'm guessing calls to sqLite need drivers. These > >> drivers are probably built in to Livecode and the OnRev server which > would > >> explain why LC's database commands works so well locally and with the > OnRev > >> based samples. > >>>> If this is the problem, does anybody know how I could install these > >> drivers on my own server? > >>>> On 4/5/2016 1:18 PM, Ray wrote: > >>>>> I've never worked with sqLite databases before but it appears I > should > >> be able to access one on a server pretty much the same as I do locally. > >>>>> Here's what I've done: > >>>>> put revOpenDatabase("sqLite",localPath) into theDbId > >> -- this creates a zero K local database file > >>>>> put "CREATE TABLE bugs(Name char(50), Date char(50))" into > myQuery > >>>>> revExecuteSQL theDbId,myQuery -- the local database file is no 2 > K > >>>>> > >>>>> revCloseDatabase theDbId -- close it or I won't be able to copy > it > >> to the server > >>>>> I then copy the local database file to a remote server and make sure > >> all 9 permissions are checked (777). > >>>>> I now load the well-tested server path into the variable dbPath and > >> try this: > >>>>> put revOpenDatabase("sqLite",dbPath) into myResult > >>>>> > >>>>> but all I get back is: > >>>>> Error: Unable to open the database file > >>>>> > >>>>> Suggestions? > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> Devin Asay > >>> Office of Digital Humanities > >>> Brigham Young University > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Tue Apr 5 19:22:38 2016 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 6 Apr 2016 00:22:38 +0100 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <5703F658.5010809@ahsoftware.net> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <153e74758b0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5703F658.5010809@ahsoftware.net> Message-ID: <570448BE.2070604@tweedly.net> I fully agree - it ain't that hard, even I could do it. This is the first time I've used git, or Github, etc. I followed Ali's instructions cautiously and slowly, hit one minor bump-in-the-road (which Mark solved for me within minutes courtesy of the use-list), one more minor issue which was obvious enough to guess my way round it - and I got through it all OK. I even took the opportunity to practice with a real example - and fixed the minor issues with the instructions, so anyone else following them now should have an even smoother experience. So if you haven't done it yet - give it a go. Fill in the Contributors' Agreement, find some minor issue in the docs to improve, set aside 20-30 minutes and go for it! If anything does go wrong, either the experts on the use-list or the helpful guys at Livecode will help you through :-) -- Alex. On 05/04/2016 18:31, Mark Wieder wrote: > On 04/05/2016 09:35 AM, J. Landman Gay wrote: > >> As our glorious ex-leader used to say,, I misremembered. > > Well, since that lets me off the hook, let me say now that really, it > ain't that hard to do. There's a bit of setup involved, but after that > you're home free. > From ray at linkit.com Tue Apr 5 19:58:54 2016 From: ray at linkit.com (Ray) Date: Tue, 5 Apr 2016 19:58:54 -0400 Subject: Error: Unable to open the database file In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> Message-ID: <5704513E.3000601@LinkIt.Com> I did read some about the file locking issues so I'll continue to look into that. Regarding testing with sqLite3, I'm not sure what to do with it. I downloaded the pre-compiled binary for Windows 64. It gave me 2 files, sqlite3.def and sqlite3.dll but I'm not sure what to do with them. Shell commands from within Livecode don't work. Suggestions? On 4/5/2016 7:22 PM, Peter Haworth wrote: > I suppose I should also mention the usual caveat about using sqlite over a > networked file system, which is that sqlite relies on file system locking > to preserve data integrity and some networked file systems are buggy in > that area according to the sqlite website. > > On Tue, Apr 5, 2016, 3:57 PM Ray wrote: > >> Peter - thanks for jumping in here. Yes, I can read and write files to >> this location and, as a matter of fact, I can even do a straight read of >> the database file on the server and get the same cryptic characters back >> I get when I read the local copy. I just can't establish a connection >> to it for the purpose of issuing revDatabase calls. >> >> You're right when you say the "unable to open the database file" is not >> very informative. I get the same message when I try that on an empty >> path on the server. >> >> I'll try your sqLite3 suggestion and let you know how it works. >> >> Thanks! >> >> On 4/5/2016 6:34 PM, Peter Haworth wrote: >>> You might want to try opening the database with something other than >>> Livecode in hope that you will get a more informative error message. >>> sqlite3 is the official sqlite command line tool. It's distributed >> with >>> OSX but not sure if it's included with Windows. >>> >>> Are you able to access any other files in the same directory as the >> sqlite >>> db? >>> >>> On Tue, Apr 5, 2016 at 1:31 PM Ray wrote: >>> >>>> Devin - thanks for the idea but that's not it. I just checked and >>>> everything on my Windows 8.1 system matches case with the database file >>>> path on the Linux server. I even tried changing the name of the >>>> database file to all lower case but that didn't work either. Thanks... >>>> >>>> On 4/5/2016 3:38 PM, Devin Asay wrote: >>>>> Ray, >>>>> >>>>> You may have moved your DB file from a system that is not case >>>> sensitive, like MacOS, to one this is case sensitive, like Linux. Do >> all of >>>> your folders and file names have the same exact spelling, including >> upper >>>> and lower case letters, as the string in your path variable? >>>>> Devin >>>>> >>>>> >>>>>> On Apr 5, 2016, at 12:39 PM, Ray wrote: >>>>>> >>>>>> ...one other note. I'm guessing calls to sqLite need drivers. These >>>> drivers are probably built in to Livecode and the OnRev server which >> would >>>> explain why LC's database commands works so well locally and with the >> OnRev >>>> based samples. >>>>>> If this is the problem, does anybody know how I could install these >>>> drivers on my own server? >>>>>> On 4/5/2016 1:18 PM, Ray wrote: >>>>>>> I've never worked with sqLite databases before but it appears I >> should >>>> be able to access one on a server pretty much the same as I do locally. >>>>>>> Here's what I've done: >>>>>>> put revOpenDatabase("sqLite",localPath) into theDbId >>>> -- this creates a zero K local database file >>>>>>> put "CREATE TABLE bugs(Name char(50), Date char(50))" into >> myQuery >>>>>>> revExecuteSQL theDbId,myQuery -- the local database file is no 2 >> K >>>>>>> revCloseDatabase theDbId -- close it or I won't be able to copy >> it >>>> to the server >>>>>>> I then copy the local database file to a remote server and make sure >>>> all 9 permissions are checked (777). >>>>>>> I now load the well-tested server path into the variable dbPath and >>>> try this: >>>>>>> put revOpenDatabase("sqLite",dbPath) into myResult >>>>>>> >>>>>>> but all I get back is: >>>>>>> Error: Unable to open the database file >>>>>>> >>>>>>> Suggestions? >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> Devin Asay >>>>> Office of Digital Humanities >>>>> Brigham Young University >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Tue Apr 5 20:26:46 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 5 Apr 2016 17:26:46 -0700 Subject: The TSA Android app Message-ID: <570457C6.8050907@ahsoftware.net> http://boingboing.net/2016/04/05/man-recreates-tsas-47400.html -- Mark Wieder ahsoftware at gmail.com From monte at appisle.net Tue Apr 5 20:47:08 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 6 Apr 2016 10:47:08 +1000 Subject: The TSA Android app In-Reply-To: <570457C6.8050907@ahsoftware.net> References: <570457C6.8050907@ahsoftware.net> Message-ID: <64A066CF-2D98-4732-B078-DD8E7ED9B6AC@appisle.net> So were they trying to avoid racial profiling? If the brief was "give us a way to randomly choose who to cavity search" and developers had to do an analysis of existing procedures, work out a way then comply with the huge amount of red tape that there would be for anything like this then it's probably about right cost. Sent from my iPhone > On 6 Apr 2016, at 10:26 AM, Mark Wieder wrote: > > http://boingboing.net/2016/04/05/man-recreates-tsas-47400.html > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dave at applicationinsight.com Tue Apr 5 21:00:27 2016 From: dave at applicationinsight.com (Dave Kilroy) Date: Tue, 5 Apr 2016 18:00:27 -0700 (PDT) Subject: Design Challenge -- Round Corner mask on images In-Reply-To: References: Message-ID: <1459904427099-4703146.post@n4.nabble.com> Thank you Trevor Your widget is really cool - and is acting as yet another spur for me to make a start in LiveCodeBuilder (I had planned to start learning LCB this week and now will definitely make a start on Thursday) Dave Trevor DeVore wrote > On Sun, Mar 27, 2016 at 6:26 PM, Sannyasin Brahmanathaswami < > brahma@ >> wrote: > >> Our design team finished a design for a mobile app. The used rounded >> corners everywhere. >> >> see >> >> http://wiki.hindu.org/screenshots/radius-all-corners.jpg >> >> Something I wished we had in LC for all controls (groups included) is >> corner radius, but is is only available for graphics objects. >> > > I thought this would make an interesting widget. I put together a widget > that does the following: > > 1. Allows you to turn on/off rounded corners for each corner of the > widget. > 2. Allows you to set the radius. > 3. Allows you to set a filename of an image that will be displayed within > the widget. Default is to draw the widget using the background color. > > The source code can be found in my github repository under > "rounded_corners". > > https://github.com/trevordevore/livecode-extensions > > I tried to package up an .lce version of the extension but then I couldn't > find a way to install a packaged widget in the IDE. The only way I can see > is to use the Extension Manager to install a widget that you are working > on. So for now I've zipped up the folder that you should install in ~/My > LiveCode/extensions. > > https://www.dropbox.com/s/3o6m6uq6suj5wvs/community.livecode.trevordevore.roundedCorners.1.0.0.zip?dl=0 > > Let me know if this does what you need. > > -- > Trevor DeVore > ScreenSteps > www.screensteps.com - www.clarify-it.com > _______________________________________________ > use-livecode mailing list > use-livecode at .runrev > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ----- "The first 90% of the task takes 90% of the time, and the last 10% takes the other 90% of the time." Peter M. Brigham -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Design-Challenge-Round-Corner-mask-on-images-tp4702659p4703146.html Sent from the Revolution - User mailing list archive at Nabble.com. From lan.kc.macmail at gmail.com Tue Apr 5 21:41:21 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 6 Apr 2016 09:41:21 +0800 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <570448BE.2070604@tweedly.net> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <153e74758b0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5703F658.5010809@ahsoftware.net> <570448BE.2070604@tweedly.net> Message-ID: Mark Wieder wrote: >But I do want to say that there's fascinating reading in >https://github.com/livecode/livecode/pull/3518#issuecomment-205199749 If you've had a look at that thread you'll see some of it is related to the Instructions for using the Web Interface to access the Docs on Github. As you'll note Ali is EXTREMELY receptive to any comments on improving them to make it easier for the Gitphobic to successful get on and do simple amendments On Wed, Apr 6, 2016 at 7:22 AM, Alex Tweedly wrote: > I followed Ali's > instructions cautiously and slowly, hit [two minor bumps] > > I even took the opportunity to practice with a real example - and fixed the > minor issues with the instructions, so anyone else following them now should > have an even smoother experience. > Thank you! But for those who are Gitphobic I can also assure you that if you mention any issues you have following the instructions to Ali, with clear instruction on how to improve the guide to remove any ambiguity or head scratching, he'll implement them immediately. > So if you haven't done it yet - give it a go. Fill in the Contributors' > Agreement, find some minor issue in the docs to improve, set aside 20-30 > minutes and go for it! And that should be just the first time. From then on any further amendments should go much much quicker. > > If anything does go wrong, either the experts on the use-list or the helpful > guys at Livecode will help you through :-) > Also, stating the obvious, you CAN'T break anything. If you think you've completely botched something and completely messed up a document, because it's Git all the previous versions are safely stored so you (or the team) can easily restore the last usable version. With trepidation I will also mention that the above thread also talks a lot about the many anomalies (errors) with the documents; it's grown to a daunting list. What I want to say is that this should NOT put anyone off contributing. The way I see it there are two ways to contribute: 10 people can each contribute 10% of a documents corrections - each one focusing on whatever their pet peeve is. OR, you can attempt to cover 100% of errors. Because of my work/internet/spare time situation, I want to attempt to correct as many issues in one pass of a document as possible - but I can't spell, I don't do Windows or Linux, so I know I can't achieve 100%. But in the end it doesn't matter if all you do is just spelling errors, or just Linux examples, or you attempt to correct Parameters AND References AND Associations AND Tags; the result is the same - every little bit means the documents are better. From brahma at hindu.org Tue Apr 5 22:10:33 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 6 Apr 2016 02:10:33 +0000 Subject: Widgets' Use Cases and Bytes Added to App In-Reply-To: <5703EAFA.5020208@fourthworld.com> References: <5703EAFA.5020208@fourthworld.com> Message-ID: Trevor Wrote: It isn't about how easy the custom control is to create, it's about how easy it is to update the control across an entire project as the control evolves. Thanks Trevor. You hit a nail on the head. That is at least one answer to my core question. > Put another way, can we, in generalized "framework speak" define what > uses cases best call for a widget and when they are best *not* used? In fact I would say that's a very high incentive to learn LCB. Another way to think of it might be, that a widget separates the presentation layer from the code that generates it, similar (well, not exactly, but...) to a script only stack being separate from the main binary stack that it serves as a behavior. Oh No! I think I just lit a fire that will put me yet another learning curve. (smile) OH well... keeps the gray cells green! BR From MikeKerner at roadrunner.com Tue Apr 5 22:25:45 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 5 Apr 2016 22:25:45 -0400 Subject: Volunteer github guru for documentation submissions? In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <153e74758b0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5703F658.5010809@ahsoftware.net> <570448BE.2070604@tweedly.net> Message-ID: Just to be clear, you don't need to use gitHub, etc. to work on any of the files. The web interface is easy enough to use. You just have to get to the file you want to edit, Hit the edit button, make your changes, explain them, and you're done. It really is very simple without having to fork, etc. to get there. Tonight, for instance, just to prove to myself that the web interface was easy (instead of using github and Atom), I modified the docs for send and pendingMessages. I probalby spent less than ten minutes, total. The desktop tools are nice for editing offline and having your own copy of the various files, and having the prettyprinting/formatting, but it is not necessary. On Tue, Apr 5, 2016 at 9:41 PM, Kay C Lan wrote: > Mark Wieder wrote: > >But I do want to say that there's fascinating reading in > >https://github.com/livecode/livecode/pull/3518#issuecomment-205199749 > > If you've had a look at that thread you'll see some of it is related to the > Instructions for using the Web Interface to access the Docs on Github. As > you'll note Ali is EXTREMELY receptive to any comments on improving them to > make it easier for the Gitphobic to successful get on and do simple > amendments > > On Wed, Apr 6, 2016 at 7:22 AM, Alex Tweedly wrote: > > I followed Ali's > > instructions cautiously and slowly, hit [two minor bumps] > > > > I even took the opportunity to practice with a real example - and fixed > the > > minor issues with the instructions, so anyone else following them now > should > > have an even smoother experience. > > > Thank you! > > But for those who are Gitphobic I can also assure you that if you mention > any issues you have following the instructions to Ali, with clear > instruction on how to improve the guide to remove any ambiguity or head > scratching, he'll implement them immediately. > > > So if you haven't done it yet - give it a go. Fill in the Contributors' > > Agreement, find some minor issue in the docs to improve, set aside 20-30 > > minutes and go for it! > > And that should be just the first time. From then on any further amendments > should go much much quicker. > > > > If anything does go wrong, either the experts on the use-list or the > helpful > > guys at Livecode will help you through :-) > > > Also, stating the obvious, you CAN'T break anything. If you think you've > completely botched something and completely messed up a document, because > it's Git all the previous versions are safely stored so you (or the team) > can easily restore the last usable version. > > With trepidation I will also mention that the above thread also talks a lot > about the many anomalies (errors) with the documents; it's grown to a > daunting list. What I want to say is that this should NOT put anyone off > contributing. The way I see it there are two ways to contribute: 10 people > can each contribute 10% of a documents corrections - each one focusing on > whatever their pet peeve is. OR, you can attempt to cover 100% of errors. > Because of my work/internet/spare time situation, I want to attempt to > correct as many issues in one pass of a document as possible - but I can't > spell, I don't do Windows or Linux, so I know I can't achieve 100%. But in > the end it doesn't matter if all you do is just spelling errors, or just > Linux examples, or you attempt to correct Parameters AND References AND > Associations AND Tags; the result is the same - every little bit means the > documents are better. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bonnmike at gmail.com Tue Apr 5 22:33:54 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 5 Apr 2016 20:33:54 -0600 Subject: Error: Unable to open the database file In-Reply-To: <5704513E.3000601@LinkIt.Com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> Message-ID: can you map the server to a drive letter? (or mount it to a folder on the local system) If so, that might help. Alternatively, can you "set the folder.." to a path on the server and see "the files"? If you can successfully set the default folder, then you can just supply the filename and see if it behaves differently. On Tue, Apr 5, 2016 at 5:58 PM, Ray wrote: > I did read some about the file locking issues so I'll continue to look > into that. > > Regarding testing with sqLite3, I'm not sure what to do with it. I > downloaded the pre-compiled binary for Windows 64. It gave me 2 files, > sqlite3.def and sqlite3.dll but I'm not sure what to do with them. Shell > commands from within Livecode don't work. Suggestions? > > > On 4/5/2016 7:22 PM, Peter Haworth wrote: > >> I suppose I should also mention the usual caveat about using sqlite over a >> networked file system, which is that sqlite relies on file system locking >> to preserve data integrity and some networked file systems are buggy in >> that area according to the sqlite website. >> >> On Tue, Apr 5, 2016, 3:57 PM Ray wrote: >> >> Peter - thanks for jumping in here. Yes, I can read and write files to >>> this location and, as a matter of fact, I can even do a straight read of >>> the database file on the server and get the same cryptic characters back >>> I get when I read the local copy. I just can't establish a connection >>> to it for the purpose of issuing revDatabase calls. >>> >>> You're right when you say the "unable to open the database file" is not >>> very informative. I get the same message when I try that on an empty >>> path on the server. >>> >>> I'll try your sqLite3 suggestion and let you know how it works. >>> >>> Thanks! >>> >>> On 4/5/2016 6:34 PM, Peter Haworth wrote: >>> >>>> You might want to try opening the database with something other than >>>> Livecode in hope that you will get a more informative error message. >>>> sqlite3 is the official sqlite command line tool. It's distributed >>>> >>> with >>> >>>> OSX but not sure if it's included with Windows. >>>> >>>> Are you able to access any other files in the same directory as the >>>> >>> sqlite >>> >>>> db? >>>> >>>> On Tue, Apr 5, 2016 at 1:31 PM Ray wrote: >>>> >>>> Devin - thanks for the idea but that's not it. I just checked and >>>>> everything on my Windows 8.1 system matches case with the database file >>>>> path on the Linux server. I even tried changing the name of the >>>>> database file to all lower case but that didn't work either. Thanks... >>>>> >>>>> On 4/5/2016 3:38 PM, Devin Asay wrote: >>>>> >>>>>> Ray, >>>>>> >>>>>> You may have moved your DB file from a system that is not case >>>>>> >>>>> sensitive, like MacOS, to one this is case sensitive, like Linux. Do >>>>> >>>> all of >>> >>>> your folders and file names have the same exact spelling, including >>>>> >>>> upper >>> >>>> and lower case letters, as the string in your path variable? >>>>> >>>>>> Devin >>>>>> >>>>>> >>>>>> On Apr 5, 2016, at 12:39 PM, Ray wrote: >>>>>>> >>>>>>> ...one other note. I'm guessing calls to sqLite need drivers. These >>>>>>> >>>>>> drivers are probably built in to Livecode and the OnRev server which >>>>> >>>> would >>> >>>> explain why LC's database commands works so well locally and with the >>>>> >>>> OnRev >>> >>>> based samples. >>>>> >>>>>> If this is the problem, does anybody know how I could install these >>>>>>> >>>>>> drivers on my own server? >>>>> >>>>>> On 4/5/2016 1:18 PM, Ray wrote: >>>>>>> >>>>>>>> I've never worked with sqLite databases before but it appears I >>>>>>>> >>>>>>> should >>> >>>> be able to access one on a server pretty much the same as I do locally. >>>>> >>>>>> Here's what I've done: >>>>>>>> put revOpenDatabase("sqLite",localPath) into theDbId >>>>>>>> >>>>>>> -- this creates a zero K local database file >>>>> >>>>>> put "CREATE TABLE bugs(Name char(50), Date char(50))" into >>>>>>>> >>>>>>> myQuery >>> >>>> revExecuteSQL theDbId,myQuery -- the local database file is no 2 >>>>>>>> >>>>>>> K >>> >>>> revCloseDatabase theDbId -- close it or I won't be able to copy >>>>>>>> >>>>>>> it >>> >>>> to the server >>>>> >>>>>> I then copy the local database file to a remote server and make sure >>>>>>>> >>>>>>> all 9 permissions are checked (777). >>>>> >>>>>> I now load the well-tested server path into the variable dbPath and >>>>>>>> >>>>>>> try this: >>>>> >>>>>> put revOpenDatabase("sqLite",dbPath) into myResult >>>>>>>> >>>>>>>> but all I get back is: >>>>>>>> Error: Unable to open the database file >>>>>>>> >>>>>>>> Suggestions? >>>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>> >>>>>> subscription preferences: >>>>> >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>> Devin Asay >>>>>> Office of Digital Humanities >>>>>> Brigham Young University >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at 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 at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brahma at hindu.org Tue Apr 5 22:34:53 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 6 Apr 2016 02:34:53 +0000 Subject: "this me" vs "me" Message-ID: Rummaging through all the IDE scripts, lots of gold in there. on setAsBehavior pTarget set the behavior of pTarget to the long id of this me end setAsBehavior What does the use of "this" get us? vs just using "me" I read the dictionary entry... doesn't help with understanding the use case for one or the other. FYI this is taken from script "revPaletteBehavior" From lan.kc.macmail at gmail.com Tue Apr 5 22:35:27 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 6 Apr 2016 10:35:27 +0800 Subject: Volunteer github guru for documentation submissions? In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <153e74758b0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5703F658.5010809@ahsoftware.net> <570448BE.2070604@tweedly.net> Message-ID: On Wed, Apr 6, 2016 at 10:25 AM, Mike Kerner wrote: > Just to be clear, you don't need to use gitHub, etc. to work on any of the > files. The web interface is easy enough to use. You just have to get to > the file you want to edit, Hit the edit button, make your changes, explain > them, and you're done. It really is very simple without having to fork, > etc. to get there. > > You still need to Sign the Contributor's License Agreement (CLA) and sign up to Github account, but yes, all the instructions mentioned above relate to using the Git Web Interface which is the easiest of all. From ray at linkit.com Tue Apr 5 22:50:34 2016 From: ray at linkit.com (Ray) Date: Tue, 5 Apr 2016 22:50:34 -0400 Subject: Error: Unable to open the database file In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> Message-ID: <5704797A.2010202@LinkIt.Com> Mike - if I set the folder to "http://54.210.118.224/Downloads/" I get "can't open that directory" returned in the result. I can read files at that location but I get an "error 405 method not allowed" if I try to write files to that location. Could that be the problem? Regarding mapping the server to a drive letter or mounting it to a folder on the local system, even if that worked I wouldn't be able to expect my end users to do that so it's kind of out unless I'm missing something. Thanks for your input and let me know if anything else comes to mind. On 4/5/2016 10:33 PM, Mike Bonner wrote: > can you map the server to a drive letter? (or mount it to a folder on the > local system) If so, that might help. > > Alternatively, can you "set the folder.." to a path on the server and see > "the files"? If you can successfully set the default folder, then you can > just supply the filename and see if it behaves differently. > > On Tue, Apr 5, 2016 at 5:58 PM, Ray wrote: > >> I did read some about the file locking issues so I'll continue to look >> into that. >> >> Regarding testing with sqLite3, I'm not sure what to do with it. I >> downloaded the pre-compiled binary for Windows 64. It gave me 2 files, >> sqlite3.def and sqlite3.dll but I'm not sure what to do with them. Shell >> commands from within Livecode don't work. Suggestions? >> >> >> On 4/5/2016 7:22 PM, Peter Haworth wrote: >> >>> I suppose I should also mention the usual caveat about using sqlite over a >>> networked file system, which is that sqlite relies on file system locking >>> to preserve data integrity and some networked file systems are buggy in >>> that area according to the sqlite website. >>> >>> On Tue, Apr 5, 2016, 3:57 PM Ray wrote: >>> >>> Peter - thanks for jumping in here. Yes, I can read and write files to >>>> this location and, as a matter of fact, I can even do a straight read of >>>> the database file on the server and get the same cryptic characters back >>>> I get when I read the local copy. I just can't establish a connection >>>> to it for the purpose of issuing revDatabase calls. >>>> >>>> You're right when you say the "unable to open the database file" is not >>>> very informative. I get the same message when I try that on an empty >>>> path on the server. >>>> >>>> I'll try your sqLite3 suggestion and let you know how it works. >>>> >>>> Thanks! >>>> >>>> On 4/5/2016 6:34 PM, Peter Haworth wrote: >>>> >>>>> You might want to try opening the database with something other than >>>>> Livecode in hope that you will get a more informative error message. >>>>> sqlite3 is the official sqlite command line tool. It's distributed >>>>> >>>> with >>>> >>>>> OSX but not sure if it's included with Windows. >>>>> >>>>> Are you able to access any other files in the same directory as the >>>>> >>>> sqlite >>>> >>>>> db? >>>>> >>>>> On Tue, Apr 5, 2016 at 1:31 PM Ray wrote: >>>>> >>>>> Devin - thanks for the idea but that's not it. I just checked and >>>>>> everything on my Windows 8.1 system matches case with the database file >>>>>> path on the Linux server. I even tried changing the name of the >>>>>> database file to all lower case but that didn't work either. Thanks... >>>>>> >>>>>> On 4/5/2016 3:38 PM, Devin Asay wrote: >>>>>> >>>>>>> Ray, >>>>>>> >>>>>>> You may have moved your DB file from a system that is not case >>>>>>> >>>>>> sensitive, like MacOS, to one this is case sensitive, like Linux. Do >>>>>> >>>>> all of >>>>> your folders and file names have the same exact spelling, including >>>>> upper >>>>> and lower case letters, as the string in your path variable? >>>>>>> Devin >>>>>>> >>>>>>> >>>>>>> On Apr 5, 2016, at 12:39 PM, Ray wrote: >>>>>>>> ...one other note. I'm guessing calls to sqLite need drivers. These >>>>>>>> >>>>>>> drivers are probably built in to Livecode and the OnRev server which >>>>> would >>>>> explain why LC's database commands works so well locally and with the >>>>> OnRev >>>>> based samples. >>>>>>> If this is the problem, does anybody know how I could install these >>>>>>> drivers on my own server? >>>>>>> On 4/5/2016 1:18 PM, Ray wrote: >>>>>>>>> I've never worked with sqLite databases before but it appears I >>>>>>>>> >>>>>>>> should >>>>> be able to access one on a server pretty much the same as I do locally. >>>>>>> Here's what I've done: >>>>>>>>> put revOpenDatabase("sqLite",localPath) into theDbId >>>>>>>>> >>>>>>>> -- this creates a zero K local database file >>>>>>> put "CREATE TABLE bugs(Name char(50), Date char(50))" into >>>>>>>> myQuery >>>>> revExecuteSQL theDbId,myQuery -- the local database file is no 2 >>>>>>>> K >>>>> revCloseDatabase theDbId -- close it or I won't be able to copy >>>>>>>> it >>>>> to the server >>>>>>> I then copy the local database file to a remote server and make sure >>>>>>>> all 9 permissions are checked (777). >>>>>>> I now load the well-tested server path into the variable dbPath and >>>>>>>> try this: >>>>>>> put revOpenDatabase("sqLite",dbPath) into myResult >>>>>>>>> but all I get back is: >>>>>>>>> Error: Unable to open the database file >>>>>>>>> >>>>>>>>> Suggestions? >>>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>>> >>>>>>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> Devin Asay >>>>>>> Office of Digital Humanities >>>>>>> Brigham Young University >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at 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 at 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 at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Tue Apr 5 22:51:02 2016 From: ray at linkit.com (Ray) Date: Tue, 5 Apr 2016 22:51:02 -0400 Subject: Error: Unable to open the database file In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> Message-ID: <57047996.5020604@LinkIt.Com> Mike - if I set the folder to the area I've set up to work with this, "http://54.210.118.224/Downloads/", I get "can't open that directory" returned in the result. I can read files at that location but I get an "error 405 method not allowed" if I try to write files to that location. Could that be the problem? Regarding mapping the server to a drive letter or mounting it to a folder on the local system, even if that worked I wouldn't be able to expect my end users to do that so it's kind of out unless I'm missing something. Thanks for your input and let me know if anything else comes to mind. On 4/5/2016 10:33 PM, Mike Bonner wrote: > can you map the server to a drive letter? (or mount it to a folder on the > local system) If so, that might help. > > Alternatively, can you "set the folder.." to a path on the server and see > "the files"? If you can successfully set the default folder, then you can > just supply the filename and see if it behaves differently. > > On Tue, Apr 5, 2016 at 5:58 PM, Ray wrote: > >> I did read some about the file locking issues so I'll continue to look >> into that. >> >> Regarding testing with sqLite3, I'm not sure what to do with it. I >> downloaded the pre-compiled binary for Windows 64. It gave me 2 files, >> sqlite3.def and sqlite3.dll but I'm not sure what to do with them. Shell >> commands from within Livecode don't work. Suggestions? >> >> >> On 4/5/2016 7:22 PM, Peter Haworth wrote: >> >>> I suppose I should also mention the usual caveat about using sqlite over a >>> networked file system, which is that sqlite relies on file system locking >>> to preserve data integrity and some networked file systems are buggy in >>> that area according to the sqlite website. >>> >>> On Tue, Apr 5, 2016, 3:57 PM Ray wrote: >>> >>> Peter - thanks for jumping in here. Yes, I can read and write files to >>>> this location and, as a matter of fact, I can even do a straight read of >>>> the database file on the server and get the same cryptic characters back >>>> I get when I read the local copy. I just can't establish a connection >>>> to it for the purpose of issuing revDatabase calls. >>>> >>>> You're right when you say the "unable to open the database file" is not >>>> very informative. I get the same message when I try that on an empty >>>> path on the server. >>>> >>>> I'll try your sqLite3 suggestion and let you know how it works. >>>> >>>> Thanks! >>>> >>>> On 4/5/2016 6:34 PM, Peter Haworth wrote: >>>> >>>>> You might want to try opening the database with something other than >>>>> Livecode in hope that you will get a more informative error message. >>>>> sqlite3 is the official sqlite command line tool. It's distributed >>>>> >>>> with >>>> >>>>> OSX but not sure if it's included with Windows. >>>>> >>>>> Are you able to access any other files in the same directory as the >>>>> >>>> sqlite >>>> >>>>> db? >>>>> >>>>> On Tue, Apr 5, 2016 at 1:31 PM Ray wrote: >>>>> >>>>> Devin - thanks for the idea but that's not it. I just checked and >>>>>> everything on my Windows 8.1 system matches case with the database file >>>>>> path on the Linux server. I even tried changing the name of the >>>>>> database file to all lower case but that didn't work either. Thanks... >>>>>> >>>>>> On 4/5/2016 3:38 PM, Devin Asay wrote: >>>>>> >>>>>>> Ray, >>>>>>> >>>>>>> You may have moved your DB file from a system that is not case >>>>>>> >>>>>> sensitive, like MacOS, to one this is case sensitive, like Linux. Do >>>>>> >>>>> all of >>>>> your folders and file names have the same exact spelling, including >>>>> upper >>>>> and lower case letters, as the string in your path variable? >>>>>>> Devin >>>>>>> >>>>>>> >>>>>>> On Apr 5, 2016, at 12:39 PM, Ray wrote: >>>>>>>> ...one other note. I'm guessing calls to sqLite need drivers. These >>>>>>>> >>>>>>> drivers are probably built in to Livecode and the OnRev server which >>>>> would >>>>> explain why LC's database commands works so well locally and with the >>>>> OnRev >>>>> based samples. >>>>>>> If this is the problem, does anybody know how I could install these >>>>>>> drivers on my own server? >>>>>>> On 4/5/2016 1:18 PM, Ray wrote: >>>>>>>>> I've never worked with sqLite databases before but it appears I >>>>>>>>> >>>>>>>> should >>>>> be able to access one on a server pretty much the same as I do locally. >>>>>>> Here's what I've done: >>>>>>>>> put revOpenDatabase("sqLite",localPath) into theDbId >>>>>>>>> >>>>>>>> -- this creates a zero K local database file >>>>>>> put "CREATE TABLE bugs(Name char(50), Date char(50))" into >>>>>>>> myQuery >>>>> revExecuteSQL theDbId,myQuery -- the local database file is no 2 >>>>>>>> K >>>>> revCloseDatabase theDbId -- close it or I won't be able to copy >>>>>>>> it >>>>> to the server >>>>>>> I then copy the local database file to a remote server and make sure >>>>>>>> all 9 permissions are checked (777). >>>>>>> I now load the well-tested server path into the variable dbPath and >>>>>>>> try this: >>>>>>> put revOpenDatabase("sqLite",dbPath) into myResult >>>>>>>>> but all I get back is: >>>>>>>>> Error: Unable to open the database file >>>>>>>>> >>>>>>>>> Suggestions? >>>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>>> >>>>>>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> Devin Asay >>>>>>> Office of Digital Humanities >>>>>>> Brigham Young University >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at 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 at 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 at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Tue Apr 5 23:20:16 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 5 Apr 2016 21:20:16 -0600 Subject: Error: Unable to open the database file In-Reply-To: <57047996.5020604@LinkIt.Com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> Message-ID: Ah. Do you need to update the file in place, or just be able to use it with your app? If the second, you might put url " http://54.210.118.224/Downloads/yourfile.sqlite" into URL (specialfolderpath("tmp") & "/yourfile.sqlite") at which point you can use revopendatabase to open the local copy of the file at (specialfolderpath("tmp") & "/yourfile.sqlite") If you need to be able to update the file in place you'd probably be better off using middleware on the web server and send your requests that way. On Tue, Apr 5, 2016 at 8:51 PM, Ray wrote: > Mike - if I set the folder to the area I've set up to work with this, " > http://54.210.118.224/Downloads/", I get "can't open that directory" > returned in the result. I can read files at that location but I get an > "error 405 method not allowed" if I try to write files to that location. > Could that be the problem? > > Regarding mapping the server to a drive letter or mounting it to a folder > on the local system, even if that worked I wouldn't be able to expect my > end users to do that so it's kind of out unless I'm missing something. > > Thanks for your input and let me know if anything else comes to mind. > > On 4/5/2016 10:33 PM, Mike Bonner wrote: > >> can you map the server to a drive letter? (or mount it to a folder on the >> local system) If so, that might help. >> >> Alternatively, can you "set the folder.." to a path on the server and see >> "the files"? If you can successfully set the default folder, then you can >> just supply the filename and see if it behaves differently. >> >> On Tue, Apr 5, 2016 at 5:58 PM, Ray wrote: >> >> I did read some about the file locking issues so I'll continue to look >>> into that. >>> >>> Regarding testing with sqLite3, I'm not sure what to do with it. I >>> downloaded the pre-compiled binary for Windows 64. It gave me 2 files, >>> sqlite3.def and sqlite3.dll but I'm not sure what to do with them. Shell >>> commands from within Livecode don't work. Suggestions? >>> >>> >>> On 4/5/2016 7:22 PM, Peter Haworth wrote: >>> >>> I suppose I should also mention the usual caveat about using sqlite over >>>> a >>>> networked file system, which is that sqlite relies on file system >>>> locking >>>> to preserve data integrity and some networked file systems are buggy in >>>> that area according to the sqlite website. >>>> >>>> On Tue, Apr 5, 2016, 3:57 PM Ray wrote: >>>> >>>> Peter - thanks for jumping in here. Yes, I can read and write files to >>>> >>>>> this location and, as a matter of fact, I can even do a straight read >>>>> of >>>>> the database file on the server and get the same cryptic characters >>>>> back >>>>> I get when I read the local copy. I just can't establish a connection >>>>> to it for the purpose of issuing revDatabase calls. >>>>> >>>>> You're right when you say the "unable to open the database file" is not >>>>> very informative. I get the same message when I try that on an empty >>>>> path on the server. >>>>> >>>>> I'll try your sqLite3 suggestion and let you know how it works. >>>>> >>>>> Thanks! >>>>> >>>>> On 4/5/2016 6:34 PM, Peter Haworth wrote: >>>>> >>>>> You might want to try opening the database with something other than >>>>>> Livecode in hope that you will get a more informative error message. >>>>>> sqlite3 is the official sqlite command line tool. It's >>>>>> distributed >>>>>> >>>>>> with >>>>> >>>>> OSX but not sure if it's included with Windows. >>>>>> >>>>>> Are you able to access any other files in the same directory as the >>>>>> >>>>>> sqlite >>>>> >>>>> db? >>>>>> >>>>>> On Tue, Apr 5, 2016 at 1:31 PM Ray wrote: >>>>>> >>>>>> Devin - thanks for the idea but that's not it. I just checked and >>>>>> >>>>>>> everything on my Windows 8.1 system matches case with the database >>>>>>> file >>>>>>> path on the Linux server. I even tried changing the name of the >>>>>>> database file to all lower case but that didn't work either. >>>>>>> Thanks... >>>>>>> >>>>>>> On 4/5/2016 3:38 PM, Devin Asay wrote: >>>>>>> >>>>>>> Ray, >>>>>>>> >>>>>>>> You may have moved your DB file from a system that is not case >>>>>>>> >>>>>>>> sensitive, like MacOS, to one this is case sensitive, like Linux. Do >>>>>>> >>>>>>> all of >>>>>> your folders and file names have the same exact spelling, including >>>>>> upper >>>>>> and lower case letters, as the string in your path variable? >>>>>> >>>>>>> Devin >>>>>>>> >>>>>>>> >>>>>>>> On Apr 5, 2016, at 12:39 PM, Ray wrote: >>>>>>>> >>>>>>>>> ...one other note. I'm guessing calls to sqLite need drivers. >>>>>>>>> These >>>>>>>>> >>>>>>>>> drivers are probably built in to Livecode and the OnRev server >>>>>>>> which >>>>>>>> >>>>>>> would >>>>>> explain why LC's database commands works so well locally and with the >>>>>> OnRev >>>>>> based samples. >>>>>> >>>>>>> If this is the problem, does anybody know how I could install these >>>>>>>> drivers on my own server? >>>>>>>> On 4/5/2016 1:18 PM, Ray wrote: >>>>>>>> >>>>>>>>> I've never worked with sqLite databases before but it appears I >>>>>>>>>> >>>>>>>>>> should >>>>>>>>> >>>>>>>> be able to access one on a server pretty much the same as I do >>>>>> locally. >>>>>> >>>>>>> Here's what I've done: >>>>>>>> >>>>>>>>> put revOpenDatabase("sqLite",localPath) into theDbId >>>>>>>>>> >>>>>>>>>> -- this creates a zero K local database file >>>>>>>>> >>>>>>>> put "CREATE TABLE bugs(Name char(50), Date char(50))" into >>>>>>>> >>>>>>>>> myQuery >>>>>>>>> >>>>>>>> revExecuteSQL theDbId,myQuery -- the local database file is >>>>>> no 2 >>>>>> >>>>>>> K >>>>>>>>> >>>>>>>> revCloseDatabase theDbId -- close it or I won't be able to >>>>>> copy >>>>>> >>>>>>> it >>>>>>>>> >>>>>>>> to the server >>>>>> >>>>>>> I then copy the local database file to a remote server and make sure >>>>>>>> >>>>>>>>> all 9 permissions are checked (777). >>>>>>>>> >>>>>>>> I now load the well-tested server path into the variable dbPath and >>>>>>>> >>>>>>>>> try this: >>>>>>>>> >>>>>>>> put revOpenDatabase("sqLite",dbPath) into myResult >>>>>>>> >>>>>>>>> but all I get back is: >>>>>>>>>> Error: Unable to open the database file >>>>>>>>>> >>>>>>>>>> Suggestions? >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>>>> >>>>>>>>> subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> Devin Asay >>>>>>>> Office of Digital Humanities >>>>>>>> Brigham Young University >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Tue Apr 5 23:48:51 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 05 Apr 2016 20:48:51 -0700 Subject: "this me" vs "me" In-Reply-To: References: Message-ID: Using "this me" gets you the long id of the object (button/stack) serving as a control's behavior. Using "me" by itself gets you the long id of the control the behavior is assigned to. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/5/16, 7:34 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami" wrote: >Rummaging through all the IDE scripts, lots of gold in there. > >on setAsBehavior pTarget > set the behavior of pTarget to the long id of this me >end setAsBehavior > >What does the use of "this" get us? vs just using "me" > >I read the dictionary entry... doesn't help with understanding the use >case for one or the other. > >FYI this is taken from > >script "revPaletteBehavior" > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From charles at techstrategies.com.au Tue Apr 5 23:59:58 2016 From: charles at techstrategies.com.au (Charles Warwick) Date: Wed, 6 Apr 2016 13:59:58 +1000 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <570405BE.2060905@hyperactivesw.com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> Message-ID: <570489BE.6090605@techstrategies.com.au> On 6/04/2016 4:36 am, J. Landman Gay wrote: > On 4/5/2016 2:26 AM, Kay C Lan wrote: >> That's why I suggested prefixing the subject with [DOC] so as people >> can quickly filter out subjects they are not interested in. Thank you >> those who use [ANN] [BUG] and [OT] - very helpful. I also envisaged >> (maybe wrongly) that you wouldn't be posting the entire document, just >> the portion/line/paragraph of relevance > > I was on a different track, planning to grab the latest file, edit it, > and send it back to github via our Good Deed Doer, that is, Charles. > > It would be the same process as anyone else uses who knows github, > only using a proxy person. > My offer was based on exactly that, getting a complete file sent through so that I could just copy into my livecode repo and submit it. As others have already said, once you have created a github account, signed the contributors agreement and (if you are not using the web interface) established your local/github livecode repository, the ongoing process of submitting contributions is not difficult. I recommend that anyone who wants to contribute to LiveCode should at least give it a go, following the instructions that have been provided by Ali and others. However, for those that are struggling with that process, my offer stands so that their contributions can still be included. Cheers, Charles From monte at appisle.net Wed Apr 6 00:01:34 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 6 Apr 2016 14:01:34 +1000 Subject: Volunteer github guru for documentation submissions? In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <153e74758b0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5703F658.5010809@ahsoftware.net> <570448BE.2070604@tweedly.net> Message-ID: <6005FAF4-60FA-4C5A-9AC7-86514606EDD7@appisle.net> > On 6 Apr 2016, at 12:25 PM, Mike Kerner wrote: > > Just to be clear, you don't need to use gitHub, etc. to work on any of the > files. The web interface is easy enough to use. You just have to get to > the file you want to edit, Hit the edit button, make your changes, explain > them, and you're done. It really is very simple without having to fork, > etc. to get there. Not to be pedantic but the web interface *is* GitHub. GitHub is a web interface for remote git repositories. There are a number of such interfaces (BitBucket, GitLab, GitWeb etc). So to clarify: using GitHub you can avoid having to use git locally. You are actually still using git though remotely and via a web interface. Git really is a helpful thing in your toolbox and I encourage everyone to spend a little bit of time learning it regardless of whether you would like to contribute to LiveCode or not. One thing I use it for is web deployment. I can make a change locally, commit and push to the server and that will trigger a shell script to run on the server (called a post-update hook) which deploys my web app. Cheers Monte From mwieder at ahsoftware.net Wed Apr 6 01:23:19 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 5 Apr 2016 22:23:19 -0700 Subject: Volunteer github guru for documentation submissions? In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <153e74758b0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5703F658.5010809@ahsoftware.net> <570448BE.2070604@tweedly.net> Message-ID: <57049D47.6020200@ahsoftware.net> On 04/05/2016 06:41 PM, Kay C Lan wrote: > Mark Wieder wrote: >> But I do want to say that there's fascinating reading in >> https://github.com/livecode/livecode/pull/3518#issuecomment-205199749 > > If you've had a look at that thread you'll see some of it is related to the > Instructions for using the Web Interface to access the Docs on Github. As > you'll note Ali is EXTREMELY receptive to any comments on improving them to > make it easier for the Gitphobic to successful get on and do simple > amendments Yes, exactly my point. The interplay between you and Ali in coming together to make the process work better is great! -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Wed Apr 6 02:38:18 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 6 Apr 2016 01:38:18 -0500 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <5703D91C.4010302@ahsoftware.net> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> Message-ID: <5704AEDA.2000402@hyperactivesw.com> On 4/5/2016 10:26 AM, Mark Wieder wrote: > But I do want to say that there's fascinating reading in > https://github.com/livecode/livecode/pull/3518#issuecomment-205199749 It's only fascinating if you understand all the jargon. I read it and came away with nothing but frustration. I have only the vaguest idea what half those terms mean and the screen shots are confusing. Where's this "guide" they talk about? And there's some kind of viewer? Where? Where are Ali's instructions for using the web interface? It took me forever just to find where the actual documentation files live. (Why are the doc files in the *engine* category? Wouldn't one logically look in the IDE category?) Pointers to instructions should be located prominently somewhere, ideally on the entry page. Github is a maze at best, novices shouldn't have to hunt for elusive instructions. I'm pretty sure someone here will give me a link, but that isn't going to help the next person. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at appisle.net Wed Apr 6 02:45:49 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 6 Apr 2016 16:45:49 +1000 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <5704AEDA.2000402@hyperactivesw.com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> Message-ID: <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> > On 6 Apr 2016, at 4:38 PM, J. Landman Gay wrote: > > On 4/5/2016 10:26 AM, Mark Wieder wrote: >> But I do want to say that there's fascinating reading in >> https://github.com/livecode/livecode/pull/3518#issuecomment-205199749 > > It's only fascinating if you understand all the jargon. I read it and came away with nothing but frustration. I have only the vaguest idea what half those terms mean and the screen shots are confusing. > > Where's this "guide" they talk about? And there's some kind of viewer? Where? Where are Ali's instructions for using the web interface? It took me forever just to find where the actual documentation files live. (Why are the doc files in the *engine* category? Wouldn't one logically look in the IDE category?) > > Pointers to instructions should be located prominently somewhere, ideally on the entry page. Github is a maze at best, novices shouldn't have to hunt for elusive instructions. I'm pretty sure someone here will give me a link, but that isn't going to help the next person. Hi Jacque I hadn?t seen the contributing to the docs guide so even though I know my way around GitHub it was fresh eyes on finding the docs. Here?s what I did: - open https://github.com/livecode/livecode/ - see the ?Contributing to LiveCode? section links to the CONTRIBUTING file https://github.com/livecode/livecode/blob/develop/CONTRIBUTING.md - Right at the top there is "See also the documentation contributions guide.? linked to https://github.com/livecode/livecode/blob/develop/docs/contributing_to_docs.md - Scroll down to find the ?Using the GitHub Web Interface? section Cheers Monte From monte at appisle.net Wed Apr 6 03:13:54 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 6 Apr 2016 17:13:54 +1000 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> Message-ID: <53BA30F3-982F-49DE-AA75-0AD382CE47A4@appisle.net> > On 6 Apr 2016, at 4:45 PM, Monte Goulding wrote: > >> Why are the doc files in the *engine* category? Wouldn't one logically look in the IDE category? I didn?t answer this bit. For the most part the documentation is not documenting the IDE so it makes more sense for it to be in the engine repository. If someone changes or adds a command then it makes sense that they can change or add documentation for it into the one repository. Cheers Monte From toolbook at kestner.de Wed Apr 6 05:29:50 2016 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 6 Apr 2016 11:29:50 +0200 Subject: LC8 odd window behavior in IDE on windows Message-ID: <002101d18fe6$df81c990$9e855cb0$@kestner.de> Hello, developing on Windows 7 First time I am testing LC 8 a little more as the basics, I am struggling with the behavior of the IDE windows. The code editor window often minimizes to the task bar, especially when debugging. When clicking on the task bar icon it doesn't open again. You either have to close it with right mouse or maximize it with right mouse. Is this a known issue at LiveCode and will still be taken care of? If not I have to take my time to create reproducible scenarios for the QR center, what doesn't seem to be that easy. Tiemo From ray at linkit.com Wed Apr 6 09:05:28 2016 From: ray at linkit.com (Ray) Date: Wed, 6 Apr 2016 09:05:28 -0400 Subject: Error: Unable to open the database file In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> Message-ID: <57050998.7060206@LinkIt.Com> I thought of downloading it, updating it, and then putting it back on the server but that wouldn't work if two users simultaneously did so. Since I'll have many users using the database simultaneously everything has to be done on the server. I know only one user can write to an sqLite database at a time, but that only takes about 20 milliseconds if done on the server and the other writes get cued, something that wouldn't happen in the download/re-upload scenario. I do like your suggestion regarding middleware on the server to update it in place. You wouldn't happen to have any experience with something that works well in this scenario would you? Something which works well with Livecode, an sqLite database, and on a Linux server? On 4/5/2016 11:20 PM, Mike Bonner wrote: > Ah. Do you need to update the file in place, or just be able to use it with > your app? If the second, you might put url " > http://54.210.118.224/Downloads/yourfile.sqlite" into URL > (specialfolderpath("tmp") & "/yourfile.sqlite") > > at which point you can use revopendatabase to open the local copy of the > file at (specialfolderpath("tmp") & "/yourfile.sqlite") > > If you need to be able to update the file in place you'd probably be better > off using middleware on the web server and send your requests that way. > > On Tue, Apr 5, 2016 at 8:51 PM, Ray wrote: > >> Mike - if I set the folder to the area I've set up to work with this, " >> http://54.210.118.224/Downloads/", I get "can't open that directory" >> returned in the result. I can read files at that location but I get an >> "error 405 method not allowed" if I try to write files to that location. >> Could that be the problem? >> >> Regarding mapping the server to a drive letter or mounting it to a folder >> on the local system, even if that worked I wouldn't be able to expect my >> end users to do that so it's kind of out unless I'm missing something. >> >> Thanks for your input and let me know if anything else comes to mind. >> >> On 4/5/2016 10:33 PM, Mike Bonner wrote: >> >>> can you map the server to a drive letter? (or mount it to a folder on the >>> local system) If so, that might help. >>> >>> Alternatively, can you "set the folder.." to a path on the server and see >>> "the files"? If you can successfully set the default folder, then you can >>> just supply the filename and see if it behaves differently. >>> >>> On Tue, Apr 5, 2016 at 5:58 PM, Ray wrote: >>> >>> I did read some about the file locking issues so I'll continue to look >>>> into that. >>>> >>>> Regarding testing with sqLite3, I'm not sure what to do with it. I >>>> downloaded the pre-compiled binary for Windows 64. It gave me 2 files, >>>> sqlite3.def and sqlite3.dll but I'm not sure what to do with them. Shell >>>> commands from within Livecode don't work. Suggestions? >>>> >>>> >>>> On 4/5/2016 7:22 PM, Peter Haworth wrote: >>>> >>>> I suppose I should also mention the usual caveat about using sqlite over >>>>> a >>>>> networked file system, which is that sqlite relies on file system >>>>> locking >>>>> to preserve data integrity and some networked file systems are buggy in >>>>> that area according to the sqlite website. >>>>> >>>>> On Tue, Apr 5, 2016, 3:57 PM Ray wrote: >>>>> >>>>> Peter - thanks for jumping in here. Yes, I can read and write files to >>>>> >>>>>> this location and, as a matter of fact, I can even do a straight read >>>>>> of >>>>>> the database file on the server and get the same cryptic characters >>>>>> back >>>>>> I get when I read the local copy. I just can't establish a connection >>>>>> to it for the purpose of issuing revDatabase calls. >>>>>> >>>>>> You're right when you say the "unable to open the database file" is not >>>>>> very informative. I get the same message when I try that on an empty >>>>>> path on the server. >>>>>> >>>>>> I'll try your sqLite3 suggestion and let you know how it works. >>>>>> >>>>>> Thanks! >>>>>> >>>>>> On 4/5/2016 6:34 PM, Peter Haworth wrote: >>>>>> >>>>>> You might want to try opening the database with something other than >>>>>>> Livecode in hope that you will get a more informative error message. >>>>>>> sqlite3 is the official sqlite command line tool. It's >>>>>>> distributed >>>>>>> >>>>>>> with >>>>>> OSX but not sure if it's included with Windows. >>>>>>> Are you able to access any other files in the same directory as the >>>>>>> >>>>>>> sqlite >>>>>> db? >>>>>>> On Tue, Apr 5, 2016 at 1:31 PM Ray wrote: >>>>>>> >>>>>>> Devin - thanks for the idea but that's not it. I just checked and >>>>>>> >>>>>>>> everything on my Windows 8.1 system matches case with the database >>>>>>>> file >>>>>>>> path on the Linux server. I even tried changing the name of the >>>>>>>> database file to all lower case but that didn't work either. >>>>>>>> Thanks... >>>>>>>> >>>>>>>> On 4/5/2016 3:38 PM, Devin Asay wrote: >>>>>>>> >>>>>>>> Ray, >>>>>>>>> You may have moved your DB file from a system that is not case >>>>>>>>> >>>>>>>>> sensitive, like MacOS, to one this is case sensitive, like Linux. Do >>>>>>>> all of >>>>>>> your folders and file names have the same exact spelling, including >>>>>>> upper >>>>>>> and lower case letters, as the string in your path variable? >>>>>>> >>>>>>>> Devin >>>>>>>>> >>>>>>>>> On Apr 5, 2016, at 12:39 PM, Ray wrote: >>>>>>>>> >>>>>>>>>> ...one other note. I'm guessing calls to sqLite need drivers. >>>>>>>>>> These >>>>>>>>>> >>>>>>>>>> drivers are probably built in to Livecode and the OnRev server >>>>>>>>> which >>>>>>>>> >>>>>>>> would >>>>>>> explain why LC's database commands works so well locally and with the >>>>>>> OnRev >>>>>>> based samples. >>>>>>> >>>>>>>> If this is the problem, does anybody know how I could install these >>>>>>>>> drivers on my own server? >>>>>>>>> On 4/5/2016 1:18 PM, Ray wrote: >>>>>>>>> >>>>>>>>>> I've never worked with sqLite databases before but it appears I >>>>>>>>>>> should >>>>>>>>> be able to access one on a server pretty much the same as I do >>>>>>> locally. >>>>>>> >>>>>>>> Here's what I've done: >>>>>>>>>> put revOpenDatabase("sqLite",localPath) into theDbId >>>>>>>>>>> -- this creates a zero K local database file >>>>>>>>> put "CREATE TABLE bugs(Name char(50), Date char(50))" into >>>>>>>>> >>>>>>>>>> myQuery >>>>>>>>>> >>>>>>>>> revExecuteSQL theDbId,myQuery -- the local database file is >>>>>>> no 2 >>>>>>> >>>>>>>> K >>>>>>>>> revCloseDatabase theDbId -- close it or I won't be able to >>>>>>> copy >>>>>>> >>>>>>>> it >>>>>>>>> to the server >>>>>>>> I then copy the local database file to a remote server and make sure >>>>>>>>>> all 9 permissions are checked (777). >>>>>>>>>> >>>>>>>>> I now load the well-tested server path into the variable dbPath and >>>>>>>>> >>>>>>>>>> try this: >>>>>>>>>> >>>>>>>>> put revOpenDatabase("sqLite",dbPath) into myResult >>>>>>>>> >>>>>>>>>> but all I get back is: >>>>>>>>>>> Error: Unable to open the database file >>>>>>>>>>> >>>>>>>>>>> Suggestions? >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>>>>> >>>>>>>>>> subscription preferences: >>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>> Devin Asay >>>>>>>>> Office of Digital Humanities >>>>>>>>> Brigham Young University >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Wed Apr 6 09:16:03 2016 From: pmbrig at gmail.com (Peter M. Brigham) Date: Wed, 6 Apr 2016 09:16:03 -0400 Subject: Widgets' Use Cases and Bytes Added to App In-Reply-To: References: <5703EAFA.5020208@fourthworld.com> Message-ID: <0036BBF7-51D2-48F7-BFD6-2A6AD406E35C@gmail.com> On Apr 5, 2016, at 10:10 PM, Sannyasin Brahmanathaswami wrote: > Oh No! I think I just lit a fire that will put me yet another learning curve. (smile) OH well... keeps the gray cells green! I have a bumper sticker on my car that reads "Oh, no, not another learning experience!" -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From alain.vezina at logilangue.com Wed Apr 6 09:16:12 2016 From: alain.vezina at logilangue.com (Alain Vezina) Date: Wed, 6 Apr 2016 09:16:12 -0400 Subject: entitlement Mac OS Message-ID: <302F1014-76FB-4641-AC6D-8667B0F232BE@logilangue.com> Hi all, My app for Mac was rejected for the second time. The message sais that I use to many entitlements. The only one I use is PRINTER. I am on Maverik (10.9.5), using LC 6.7.3. I use App Wrapper 3.5.2 from Ohanaware to sign and make PKG. The last time I submitted this app to Apps Store I chose PRINTER for intitlement and it worked well. I don?t understand and I don?t know how to see which entitlement I have to check. Anyone has a method to do so? Alain Vezina Logilangue From bonnmike at gmail.com Wed Apr 6 09:20:44 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 6 Apr 2016 07:20:44 -0600 Subject: Error: Unable to open the database file In-Reply-To: <57050998.7060206@LinkIt.Com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> Message-ID: You can write your own middleware using LC server if you have it set up on your remote. I'm afraid I don't know enough about sqlite concurrency issues and how to handle them, but since the server that has your sqlite is an http server (I think most of us had been thinking it was a local network share of some type) middleware would be the way to go. Or switch to mysql.. Ask pete or.. well, there are a ton of people on here who can advise on the multi-user use of sqlite and its pitfalls and workarounds. On Wed, Apr 6, 2016 at 7:05 AM, Ray wrote: > I thought of downloading it, updating it, and then putting it back on the > server but that wouldn't work if two users simultaneously did so. Since > I'll have many users using the database simultaneously everything has to be > done on the server. I know only one user can write to an sqLite database > at a time, but that only takes about 20 milliseconds if done on the server > and the other writes get cued, something that wouldn't happen in the > download/re-upload scenario. > > I do like your suggestion regarding middleware on the server to update it > in place. You wouldn't happen to have any experience with something that > works well in this scenario would you? Something which works well with > Livecode, an sqLite database, and on a Linux server? > > > On 4/5/2016 11:20 PM, Mike Bonner wrote: > >> Ah. Do you need to update the file in place, or just be able to use it >> with >> your app? If the second, you might put url " >> http://54.210.118.224/Downloads/yourfile.sqlite" into URL >> (specialfolderpath("tmp") & "/yourfile.sqlite") >> >> at which point you can use revopendatabase to open the local copy of the >> file at (specialfolderpath("tmp") & "/yourfile.sqlite") >> >> If you need to be able to update the file in place you'd probably be >> better >> off using middleware on the web server and send your requests that way. >> >> On Tue, Apr 5, 2016 at 8:51 PM, Ray wrote: >> >> Mike - if I set the folder to the area I've set up to work with this, " >>> http://54.210.118.224/Downloads/", I get "can't open that directory" >>> returned in the result. I can read files at that location but I get an >>> "error 405 method not allowed" if I try to write files to that location. >>> Could that be the problem? >>> >>> Regarding mapping the server to a drive letter or mounting it to a folder >>> on the local system, even if that worked I wouldn't be able to expect my >>> end users to do that so it's kind of out unless I'm missing something. >>> >>> Thanks for your input and let me know if anything else comes to mind. >>> >>> On 4/5/2016 10:33 PM, Mike Bonner wrote: >>> >>> can you map the server to a drive letter? (or mount it to a folder on >>>> the >>>> local system) If so, that might help. >>>> >>>> Alternatively, can you "set the folder.." to a path on the server and >>>> see >>>> "the files"? If you can successfully set the default folder, then you >>>> can >>>> just supply the filename and see if it behaves differently. >>>> >>>> On Tue, Apr 5, 2016 at 5:58 PM, Ray wrote: >>>> >>>> I did read some about the file locking issues so I'll continue to look >>>> >>>>> into that. >>>>> >>>>> Regarding testing with sqLite3, I'm not sure what to do with it. I >>>>> downloaded the pre-compiled binary for Windows 64. It gave me 2 files, >>>>> sqlite3.def and sqlite3.dll but I'm not sure what to do with them. >>>>> Shell >>>>> commands from within Livecode don't work. Suggestions? >>>>> >>>>> >>>>> On 4/5/2016 7:22 PM, Peter Haworth wrote: >>>>> >>>>> I suppose I should also mention the usual caveat about using sqlite >>>>> over >>>>> >>>>>> a >>>>>> networked file system, which is that sqlite relies on file system >>>>>> locking >>>>>> to preserve data integrity and some networked file systems are buggy >>>>>> in >>>>>> that area according to the sqlite website. >>>>>> >>>>>> On Tue, Apr 5, 2016, 3:57 PM Ray wrote: >>>>>> >>>>>> Peter - thanks for jumping in here. Yes, I can read and write files >>>>>> to >>>>>> >>>>>> this location and, as a matter of fact, I can even do a straight read >>>>>>> of >>>>>>> the database file on the server and get the same cryptic characters >>>>>>> back >>>>>>> I get when I read the local copy. I just can't establish a >>>>>>> connection >>>>>>> to it for the purpose of issuing revDatabase calls. >>>>>>> >>>>>>> You're right when you say the "unable to open the database file" is >>>>>>> not >>>>>>> very informative. I get the same message when I try that on an empty >>>>>>> path on the server. >>>>>>> >>>>>>> I'll try your sqLite3 suggestion and let you know how it works. >>>>>>> >>>>>>> Thanks! >>>>>>> >>>>>>> On 4/5/2016 6:34 PM, Peter Haworth wrote: >>>>>>> >>>>>>> You might want to try opening the database with something other than >>>>>>> >>>>>>>> Livecode in hope that you will get a more informative error message. >>>>>>>> sqlite3 is the official sqlite command line tool. It's >>>>>>>> distributed >>>>>>>> >>>>>>>> with >>>>>>>> >>>>>>> OSX but not sure if it's included with Windows. >>>>>>> >>>>>>>> Are you able to access any other files in the same directory as the >>>>>>>> >>>>>>>> sqlite >>>>>>>> >>>>>>> db? >>>>>>> >>>>>>>> On Tue, Apr 5, 2016 at 1:31 PM Ray wrote: >>>>>>>> >>>>>>>> Devin - thanks for the idea but that's not it. I just checked and >>>>>>>> >>>>>>>> everything on my Windows 8.1 system matches case with the database >>>>>>>>> file >>>>>>>>> path on the Linux server. I even tried changing the name of the >>>>>>>>> database file to all lower case but that didn't work either. >>>>>>>>> Thanks... >>>>>>>>> >>>>>>>>> On 4/5/2016 3:38 PM, Devin Asay wrote: >>>>>>>>> >>>>>>>>> Ray, >>>>>>>>> >>>>>>>>>> You may have moved your DB file from a system that is not case >>>>>>>>>> >>>>>>>>>> sensitive, like MacOS, to one this is case sensitive, like Linux. >>>>>>>>>> Do >>>>>>>>>> >>>>>>>>> all of >>>>>>>>> >>>>>>>> your folders and file names have the same exact spelling, including >>>>>>>> upper >>>>>>>> and lower case letters, as the string in your path variable? >>>>>>>> >>>>>>>> Devin >>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Apr 5, 2016, at 12:39 PM, Ray wrote: >>>>>>>>>> >>>>>>>>>> ...one other note. I'm guessing calls to sqLite need drivers. >>>>>>>>>>> These >>>>>>>>>>> >>>>>>>>>>> drivers are probably built in to Livecode and the OnRev server >>>>>>>>>>> >>>>>>>>>> which >>>>>>>>>> >>>>>>>>>> would >>>>>>>>> >>>>>>>> explain why LC's database commands works so well locally and with >>>>>>>> the >>>>>>>> OnRev >>>>>>>> based samples. >>>>>>>> >>>>>>>> If this is the problem, does anybody know how I could install these >>>>>>>>> >>>>>>>>>> drivers on my own server? >>>>>>>>>> On 4/5/2016 1:18 PM, Ray wrote: >>>>>>>>>> >>>>>>>>>> I've never worked with sqLite databases before but it appears I >>>>>>>>>>> >>>>>>>>>>>> should >>>>>>>>>>>> >>>>>>>>>>> be able to access one on a server pretty much the same as I do >>>>>>>>>> >>>>>>>>> locally. >>>>>>>> >>>>>>>> Here's what I've done: >>>>>>>>> >>>>>>>>>> put revOpenDatabase("sqLite",localPath) into theDbId >>>>>>>>>>> >>>>>>>>>>>> -- this creates a zero K local database file >>>>>>>>>>>> >>>>>>>>>>> put "CREATE TABLE bugs(Name char(50), Date char(50))" into >>>>>>>>>> >>>>>>>>>> myQuery >>>>>>>>>>> >>>>>>>>>>> revExecuteSQL theDbId,myQuery -- the local database file >>>>>>>>>> is >>>>>>>>>> >>>>>>>>> no 2 >>>>>>>> >>>>>>>> K >>>>>>>>> >>>>>>>>>> revCloseDatabase theDbId -- close it or I won't be able to >>>>>>>>>> >>>>>>>>> copy >>>>>>>> >>>>>>>> it >>>>>>>>> >>>>>>>>>> to the server >>>>>>>>>> >>>>>>>>> I then copy the local database file to a remote server and make >>>>>>>>> sure >>>>>>>>> >>>>>>>>>> all 9 permissions are checked (777). >>>>>>>>>>> >>>>>>>>>>> I now load the well-tested server path into the variable dbPath >>>>>>>>>> and >>>>>>>>>> >>>>>>>>>> try this: >>>>>>>>>>> >>>>>>>>>>> put revOpenDatabase("sqLite",dbPath) into myResult >>>>>>>>>> >>>>>>>>>> but all I get back is: >>>>>>>>>>> >>>>>>>>>>>> Error: Unable to open the database file >>>>>>>>>>>> >>>>>>>>>>>> Suggestions? >>>>>>>>>>>> >>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>> >>>>>>>>>>> use-livecode mailing list >>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>>>>>> >>>>>>>>>>> subscription preferences: >>>>>>>>>>> >>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>> Devin Asay >>>>>>>>>> Office of Digital Humanities >>>>>>>>>> Brigham Young University >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> use-livecode mailing list >>>>>>>>>> use-livecode at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Wed Apr 6 09:43:48 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 6 Apr 2016 06:43:48 -0700 Subject: Error: Unable to open the database file In-Reply-To: References: Message-ID: <57051294.8080404@fourthworld.com> Mike Bonner wrote: > You can write your own middleware using LC server if you have it set > up on your remote. Does anyone here know of a good tutorial on using LC Server as DB middleware? This comes up a lot, and it would be great to have a URL to pass around. Related: anyone here using Andre's nifty revSpark? http://andregarzia.com/pages/en/revspark/ -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rdimola at evergreeninfo.net Wed Apr 6 09:54:39 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 6 Apr 2016 09:54:39 -0400 Subject: Error: Unable to open the database file In-Reply-To: <57047996.5020604@LinkIt.Com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> Message-ID: <003501d1900b$dd54b090$97fe11b0$@net> Ray, An http file reference is not a valid UNC for read/write file access. If you want to connect remote users to a DB then import the SQLite DB into a MySQL DB and have the users connect to the MySQL server and all the record locking would be in place. You could go LC server middleware but that would be a fair amount of work. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Ray Sent: Tuesday, April 05, 2016 10:51 PM To: use-livecode at lists.runrev.com Subject: Re: Error: Unable to open the database file Mike - if I set the folder to the area I've set up to work with this, "http://54.210.118.224/Downloads/", I get "can't open that directory" returned in the result. I can read files at that location but I get an "error 405 method not allowed" if I try to write files to that location. Could that be the problem? Regarding mapping the server to a drive letter or mounting it to a folder on the local system, even if that worked I wouldn't be able to expect my end users to do that so it's kind of out unless I'm missing something. Thanks for your input and let me know if anything else comes to mind. On 4/5/2016 10:33 PM, Mike Bonner wrote: > can you map the server to a drive letter? (or mount it to a folder on > the local system) If so, that might help. > > Alternatively, can you "set the folder.." to a path on the server and > see "the files"? If you can successfully set the default folder, then > you can just supply the filename and see if it behaves differently. > > On Tue, Apr 5, 2016 at 5:58 PM, Ray wrote: > >> I did read some about the file locking issues so I'll continue to >> look into that. >> >> Regarding testing with sqLite3, I'm not sure what to do with it. I >> downloaded the pre-compiled binary for Windows 64. It gave me 2 >> files, sqlite3.def and sqlite3.dll but I'm not sure what to do with >> them. Shell commands from within Livecode don't work. Suggestions? >> >> >> On 4/5/2016 7:22 PM, Peter Haworth wrote: >> >>> I suppose I should also mention the usual caveat about using sqlite >>> over a networked file system, which is that sqlite relies on file >>> system locking to preserve data integrity and some networked file >>> systems are buggy in that area according to the sqlite website. >>> >>> On Tue, Apr 5, 2016, 3:57 PM Ray wrote: >>> >>> Peter - thanks for jumping in here. Yes, I can read and write files >>> to >>>> this location and, as a matter of fact, I can even do a straight >>>> read of the database file on the server and get the same cryptic >>>> characters back I get when I read the local copy. I just can't >>>> establish a connection to it for the purpose of issuing revDatabase calls. >>>> >>>> You're right when you say the "unable to open the database file" is >>>> not very informative. I get the same message when I try that on an >>>> empty path on the server. >>>> >>>> I'll try your sqLite3 suggestion and let you know how it works. >>>> >>>> Thanks! >>>> >>>> On 4/5/2016 6:34 PM, Peter Haworth wrote: >>>> >>>>> You might want to try opening the database with something other >>>>> than Livecode in hope that you will get a more informative error message. >>>>> sqlite3 is the official sqlite command line tool. It's >>>>> distributed >>>>> >>>> with >>>> >>>>> OSX but not sure if it's included with Windows. >>>>> >>>>> Are you able to access any other files in the same directory as >>>>> the >>>>> >>>> sqlite >>>> >>>>> db? >>>>> >>>>> On Tue, Apr 5, 2016 at 1:31 PM Ray wrote: >>>>> >>>>> Devin - thanks for the idea but that's not it. I just checked and >>>>>> everything on my Windows 8.1 system matches case with the >>>>>> database file path on the Linux server. I even tried changing >>>>>> the name of the database file to all lower case but that didn't work either. Thanks... >>>>>> >>>>>> On 4/5/2016 3:38 PM, Devin Asay wrote: >>>>>> >>>>>>> Ray, >>>>>>> >>>>>>> You may have moved your DB file from a system that is not case >>>>>>> >>>>>> sensitive, like MacOS, to one this is case sensitive, like Linux. >>>>>> Do >>>>>> >>>>> all of >>>>> your folders and file names have the same exact spelling, >>>>> including upper and lower case letters, as the string in your path >>>>> variable? >>>>>>> Devin >>>>>>> >>>>>>> >>>>>>> On Apr 5, 2016, at 12:39 PM, Ray wrote: >>>>>>>> ...one other note. I'm guessing calls to sqLite need drivers. >>>>>>>> These >>>>>>>> >>>>>>> drivers are probably built in to Livecode and the OnRev server >>>>>>> which >>>>> would >>>>> explain why LC's database commands works so well locally and with >>>>> the OnRev based samples. >>>>>>> If this is the problem, does anybody know how I could install >>>>>>> these drivers on my own server? >>>>>>> On 4/5/2016 1:18 PM, Ray wrote: >>>>>>>>> I've never worked with sqLite databases before but it appears >>>>>>>>> I >>>>>>>>> >>>>>>>> should >>>>> be able to access one on a server pretty much the same as I do locally. >>>>>>> Here's what I've done: >>>>>>>>> put revOpenDatabase("sqLite",localPath) into theDbId >>>>>>>>> >>>>>>>> -- this creates a zero K local database file >>>>>>> put "CREATE TABLE bugs(Name char(50), Date char(50))" into >>>>>>>> myQuery >>>>> revExecuteSQL theDbId,myQuery -- the local database file is >>>>> no 2 >>>>>>>> K >>>>> revCloseDatabase theDbId -- close it or I won't be able to >>>>> copy >>>>>>>> it >>>>> to the server >>>>>>> I then copy the local database file to a remote server and make >>>>>>> sure >>>>>>>> all 9 permissions are checked (777). >>>>>>> I now load the well-tested server path into the variable dbPath >>>>>>> and >>>>>>>> try this: >>>>>>> put revOpenDatabase("sqLite",dbPath) into myResult >>>>>>>>> but all I get back is: >>>>>>>>> Error: Unable to open the database file >>>>>>>>> >>>>>>>>> Suggestions? >>>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>>> >>>>>>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> Devin Asay >>>>>>> Office of Digital Humanities >>>>>>> Brigham Young University >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Wed Apr 6 09:59:54 2016 From: ray at linkit.com (Ray) Date: Wed, 6 Apr 2016 09:59:54 -0400 Subject: Error: Unable to open the database file In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> Message-ID: <5705165A.40801@LinkIt.Com> Mike - thanks for your help here. You're absolutely right about the need for some kind of middleware and although I've never setup nor used Livecode Server I find the idea kind of intriguing. For now I've asked my son who I work with daily to write the middleware piece using PHP. This should get us started. I was just hoping sqLite would work with direct calls which evidently is not the case. Many thanks! On 4/6/2016 9:20 AM, Mike Bonner wrote: > You can write your own middleware using LC server if you have it set up on > your remote. I'm afraid I don't know enough about sqlite concurrency > issues and how to handle them, but since the server that has your sqlite is > an http server (I think most of us had been thinking it was a local network > share of some type) middleware would be the way to go. Or switch to mysql.. > > Ask pete or.. well, there are a ton of people on here who can advise on the > multi-user use of sqlite and its pitfalls and workarounds. > > On Wed, Apr 6, 2016 at 7:05 AM, Ray wrote: > >> I thought of downloading it, updating it, and then putting it back on the >> server but that wouldn't work if two users simultaneously did so. Since >> I'll have many users using the database simultaneously everything has to be >> done on the server. I know only one user can write to an sqLite database >> at a time, but that only takes about 20 milliseconds if done on the server >> and the other writes get cued, something that wouldn't happen in the >> download/re-upload scenario. >> >> I do like your suggestion regarding middleware on the server to update it >> in place. You wouldn't happen to have any experience with something that >> works well in this scenario would you? Something which works well with >> Livecode, an sqLite database, and on a Linux server? >> >> >> On 4/5/2016 11:20 PM, Mike Bonner wrote: >> >>> Ah. Do you need to update the file in place, or just be able to use it >>> with >>> your app? If the second, you might put url " >>> http://54.210.118.224/Downloads/yourfile.sqlite" into URL >>> (specialfolderpath("tmp") & "/yourfile.sqlite") >>> >>> at which point you can use revopendatabase to open the local copy of the >>> file at (specialfolderpath("tmp") & "/yourfile.sqlite") >>> >>> If you need to be able to update the file in place you'd probably be >>> better >>> off using middleware on the web server and send your requests that way. >>> >>> On Tue, Apr 5, 2016 at 8:51 PM, Ray wrote: >>> >>> Mike - if I set the folder to the area I've set up to work with this, " >>>> http://54.210.118.224/Downloads/", I get "can't open that directory" >>>> returned in the result. I can read files at that location but I get an >>>> "error 405 method not allowed" if I try to write files to that location. >>>> Could that be the problem? >>>> >>>> Regarding mapping the server to a drive letter or mounting it to a folder >>>> on the local system, even if that worked I wouldn't be able to expect my >>>> end users to do that so it's kind of out unless I'm missing something. >>>> >>>> Thanks for your input and let me know if anything else comes to mind. >>>> >>>> On 4/5/2016 10:33 PM, Mike Bonner wrote: >>>> >>>> can you map the server to a drive letter? (or mount it to a folder on >>>>> the >>>>> local system) If so, that might help. >>>>> >>>>> Alternatively, can you "set the folder.." to a path on the server and >>>>> see >>>>> "the files"? If you can successfully set the default folder, then you >>>>> can >>>>> just supply the filename and see if it behaves differently. >>>>> >>>>> On Tue, Apr 5, 2016 at 5:58 PM, Ray wrote: >>>>> >>>>> I did read some about the file locking issues so I'll continue to look >>>>> >>>>>> into that. >>>>>> >>>>>> Regarding testing with sqLite3, I'm not sure what to do with it. I >>>>>> downloaded the pre-compiled binary for Windows 64. It gave me 2 files, >>>>>> sqlite3.def and sqlite3.dll but I'm not sure what to do with them. >>>>>> Shell >>>>>> commands from within Livecode don't work. Suggestions? >>>>>> >>>>>> >>>>>> On 4/5/2016 7:22 PM, Peter Haworth wrote: >>>>>> >>>>>> I suppose I should also mention the usual caveat about using sqlite >>>>>> over >>>>>> >>>>>>> a >>>>>>> networked file system, which is that sqlite relies on file system >>>>>>> locking >>>>>>> to preserve data integrity and some networked file systems are buggy >>>>>>> in >>>>>>> that area according to the sqlite website. >>>>>>> >>>>>>> On Tue, Apr 5, 2016, 3:57 PM Ray wrote: >>>>>>> >>>>>>> Peter - thanks for jumping in here. Yes, I can read and write files >>>>>>> to >>>>>>> >>>>>>> this location and, as a matter of fact, I can even do a straight read >>>>>>>> of >>>>>>>> the database file on the server and get the same cryptic characters >>>>>>>> back >>>>>>>> I get when I read the local copy. I just can't establish a >>>>>>>> connection >>>>>>>> to it for the purpose of issuing revDatabase calls. >>>>>>>> >>>>>>>> You're right when you say the "unable to open the database file" is >>>>>>>> not >>>>>>>> very informative. I get the same message when I try that on an empty >>>>>>>> path on the server. >>>>>>>> >>>>>>>> I'll try your sqLite3 suggestion and let you know how it works. >>>>>>>> >>>>>>>> Thanks! >>>>>>>> >>>>>>>> On 4/5/2016 6:34 PM, Peter Haworth wrote: >>>>>>>> >>>>>>>> You might want to try opening the database with something other than >>>>>>>> >>>>>>>>> Livecode in hope that you will get a more informative error message. >>>>>>>>> sqlite3 is the official sqlite command line tool. It's >>>>>>>>> distributed >>>>>>>>> >>>>>>>>> with >>>>>>>>> >>>>>>>> OSX but not sure if it's included with Windows. >>>>>>>> >>>>>>>>> Are you able to access any other files in the same directory as the >>>>>>>>> >>>>>>>>> sqlite >>>>>>>>> >>>>>>>> db? >>>>>>>> >>>>>>>>> On Tue, Apr 5, 2016 at 1:31 PM Ray wrote: >>>>>>>>> >>>>>>>>> Devin - thanks for the idea but that's not it. I just checked and >>>>>>>>> >>>>>>>>> everything on my Windows 8.1 system matches case with the database >>>>>>>>>> file >>>>>>>>>> path on the Linux server. I even tried changing the name of the >>>>>>>>>> database file to all lower case but that didn't work either. >>>>>>>>>> Thanks... >>>>>>>>>> >>>>>>>>>> On 4/5/2016 3:38 PM, Devin Asay wrote: >>>>>>>>>> >>>>>>>>>> Ray, >>>>>>>>>> >>>>>>>>>>> You may have moved your DB file from a system that is not case >>>>>>>>>>> >>>>>>>>>>> sensitive, like MacOS, to one this is case sensitive, like Linux. >>>>>>>>>>> Do >>>>>>>>>>> >>>>>>>>>> all of >>>>>>>>>> >>>>>>>>> your folders and file names have the same exact spelling, including >>>>>>>>> upper >>>>>>>>> and lower case letters, as the string in your path variable? >>>>>>>>> >>>>>>>>> Devin >>>>>>>>>>> On Apr 5, 2016, at 12:39 PM, Ray wrote: >>>>>>>>>>> >>>>>>>>>>> ...one other note. I'm guessing calls to sqLite need drivers. >>>>>>>>>>>> These >>>>>>>>>>>> >>>>>>>>>>>> drivers are probably built in to Livecode and the OnRev server >>>>>>>>>>>> >>>>>>>>>>> which >>>>>>>>>>> >>>>>>>>>>> would >>>>>>>>> explain why LC's database commands works so well locally and with >>>>>>>>> the >>>>>>>>> OnRev >>>>>>>>> based samples. >>>>>>>>> >>>>>>>>> If this is the problem, does anybody know how I could install these >>>>>>>>>>> drivers on my own server? >>>>>>>>>>> On 4/5/2016 1:18 PM, Ray wrote: >>>>>>>>>>> >>>>>>>>>>> I've never worked with sqLite databases before but it appears I >>>>>>>>>>>>> should >>>>>>>>>>>>> >>>>>>>>>>>> be able to access one on a server pretty much the same as I do >>>>>>>>>> locally. >>>>>>>>> Here's what I've done: >>>>>>>>>>> put revOpenDatabase("sqLite",localPath) into theDbId >>>>>>>>>>>>> -- this creates a zero K local database file >>>>>>>>>>>>> >>>>>>>>>>>> put "CREATE TABLE bugs(Name char(50), Date char(50))" into >>>>>>>>>>> myQuery >>>>>>>>>>>> revExecuteSQL theDbId,myQuery -- the local database file >>>>>>>>>>> is >>>>>>>>>>> >>>>>>>>>> no 2 >>>>>>>>> K >>>>>>>>>>> revCloseDatabase theDbId -- close it or I won't be able to >>>>>>>>>>> >>>>>>>>>> copy >>>>>>>>> it >>>>>>>>>>> to the server >>>>>>>>>>> >>>>>>>>>> I then copy the local database file to a remote server and make >>>>>>>>>> sure >>>>>>>>>> >>>>>>>>>>> all 9 permissions are checked (777). >>>>>>>>>>>> I now load the well-tested server path into the variable dbPath >>>>>>>>>>> and >>>>>>>>>>> >>>>>>>>>>> try this: >>>>>>>>>>>> put revOpenDatabase("sqLite",dbPath) into myResult >>>>>>>>>>> but all I get back is: >>>>>>>>>>>>> Error: Unable to open the database file >>>>>>>>>>>>> >>>>>>>>>>>>> Suggestions? >>>>>>>>>>>>> >>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>> >>>>>>>>>>>> use-livecode mailing list >>>>>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>>>>>>> >>>>>>>>>>>> subscription preferences: >>>>>>>>>>>> >>>>>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>>>>> Devin Asay >>>>>>>>>>> Office of Digital Humanities >>>>>>>>>>> Brigham Young University >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> use-livecode mailing list >>>>>>>>>>> use-livecode at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Wed Apr 6 10:03:48 2016 From: ray at linkit.com (Ray) Date: Wed, 6 Apr 2016 10:03:48 -0400 Subject: Error: Unable to open the database file In-Reply-To: <003501d1900b$dd54b090$97fe11b0$@net> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <003501d1900b$dd54b090$97fe11b0$@net> Message-ID: <57051744.7050500@LinkIt.Com> I actually haven't created the database yet so I guess it makes sense to use mySQL from the beginning instead of sqLite, thus eliminating the need to import one into the other. Nonetheless, I'll still need middleware as I don't think Livecode can make direct calls to a mySQL database on a server as it does to a sqLite database locally (which was my original goal). On 4/6/2016 9:54 AM, Ralph DiMola wrote: > Ray, > > An http file reference is not a valid UNC for read/write file access. If you > want to connect remote users to a DB then import the SQLite DB into a MySQL > DB and have the users connect to the MySQL server and all the record locking > would be in place. You could go LC server middleware but that would be a > fair amount of work. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Ray > Sent: Tuesday, April 05, 2016 10:51 PM > To: use-livecode at lists.runrev.com > Subject: Re: Error: Unable to open the database file > > Mike - if I set the folder to the area I've set up to work with this, > "http://54.210.118.224/Downloads/", I get "can't open that directory" > returned in the result. I can read files at that location but I get an > "error 405 method not allowed" if I try to write files to that location. > Could that be the problem? > > Regarding mapping the server to a drive letter or mounting it to a folder on > the local system, even if that worked I wouldn't be able to expect my end > users to do that so it's kind of out unless I'm missing something. > > Thanks for your input and let me know if anything else comes to mind. > > On 4/5/2016 10:33 PM, Mike Bonner wrote: >> can you map the server to a drive letter? (or mount it to a folder on >> the local system) If so, that might help. >> >> Alternatively, can you "set the folder.." to a path on the server and >> see "the files"? If you can successfully set the default folder, then >> you can just supply the filename and see if it behaves differently. >> >> On Tue, Apr 5, 2016 at 5:58 PM, Ray wrote: >> >>> I did read some about the file locking issues so I'll continue to >>> look into that. >>> >>> Regarding testing with sqLite3, I'm not sure what to do with it. I >>> downloaded the pre-compiled binary for Windows 64. It gave me 2 >>> files, sqlite3.def and sqlite3.dll but I'm not sure what to do with >>> them. Shell commands from within Livecode don't work. Suggestions? >>> >>> >>> On 4/5/2016 7:22 PM, Peter Haworth wrote: >>> >>>> I suppose I should also mention the usual caveat about using sqlite >>>> over a networked file system, which is that sqlite relies on file >>>> system locking to preserve data integrity and some networked file >>>> systems are buggy in that area according to the sqlite website. >>>> >>>> On Tue, Apr 5, 2016, 3:57 PM Ray wrote: >>>> >>>> Peter - thanks for jumping in here. Yes, I can read and write files >>>> to >>>>> this location and, as a matter of fact, I can even do a straight >>>>> read of the database file on the server and get the same cryptic >>>>> characters back I get when I read the local copy. I just can't >>>>> establish a connection to it for the purpose of issuing revDatabase > calls. >>>>> You're right when you say the "unable to open the database file" is >>>>> not very informative. I get the same message when I try that on an >>>>> empty path on the server. >>>>> >>>>> I'll try your sqLite3 suggestion and let you know how it works. >>>>> >>>>> Thanks! >>>>> >>>>> On 4/5/2016 6:34 PM, Peter Haworth wrote: >>>>> >>>>>> You might want to try opening the database with something other >>>>>> than Livecode in hope that you will get a more informative error > message. >>>>>> sqlite3 is the official sqlite command line tool. It's >>>>>> distributed >>>>>> >>>>> with >>>>> >>>>>> OSX but not sure if it's included with Windows. >>>>>> >>>>>> Are you able to access any other files in the same directory as >>>>>> the >>>>>> >>>>> sqlite >>>>> >>>>>> db? >>>>>> >>>>>> On Tue, Apr 5, 2016 at 1:31 PM Ray wrote: >>>>>> >>>>>> Devin - thanks for the idea but that's not it. I just checked and >>>>>>> everything on my Windows 8.1 system matches case with the >>>>>>> database file path on the Linux server. I even tried changing >>>>>>> the name of the database file to all lower case but that didn't work > either. Thanks... >>>>>>> On 4/5/2016 3:38 PM, Devin Asay wrote: >>>>>>> >>>>>>>> Ray, >>>>>>>> >>>>>>>> You may have moved your DB file from a system that is not case >>>>>>>> >>>>>>> sensitive, like MacOS, to one this is case sensitive, like Linux. >>>>>>> Do >>>>>>> >>>>>> all of >>>>>> your folders and file names have the same exact spelling, >>>>>> including upper and lower case letters, as the string in your path >>>>>> variable? >>>>>>>> Devin >>>>>>>> >>>>>>>> >>>>>>>> On Apr 5, 2016, at 12:39 PM, Ray wrote: >>>>>>>>> ...one other note. I'm guessing calls to sqLite need drivers. >>>>>>>>> These >>>>>>>>> >>>>>>>> drivers are probably built in to Livecode and the OnRev server >>>>>>>> which >>>>>> would >>>>>> explain why LC's database commands works so well locally and with >>>>>> the OnRev based samples. >>>>>>>> If this is the problem, does anybody know how I could install >>>>>>>> these drivers on my own server? >>>>>>>> On 4/5/2016 1:18 PM, Ray wrote: >>>>>>>>>> I've never worked with sqLite databases before but it appears >>>>>>>>>> I >>>>>>>>>> >>>>>>>>> should >>>>>> be able to access one on a server pretty much the same as I do > locally. >>>>>>>> Here's what I've done: >>>>>>>>>> put revOpenDatabase("sqLite",localPath) into theDbId >>>>>>>>>> >>>>>>>>> -- this creates a zero K local database file >>>>>>>> put "CREATE TABLE bugs(Name char(50), Date char(50))" into >>>>>>>>> myQuery >>>>>> revExecuteSQL theDbId,myQuery -- the local database file is >>>>>> no 2 >>>>>>>>> K >>>>>> revCloseDatabase theDbId -- close it or I won't be able to >>>>>> copy >>>>>>>>> it >>>>>> to the server >>>>>>>> I then copy the local database file to a remote server and make >>>>>>>> sure >>>>>>>>> all 9 permissions are checked (777). >>>>>>>> I now load the well-tested server path into the variable dbPath >>>>>>>> and >>>>>>>>> try this: >>>>>>>> put revOpenDatabase("sqLite",dbPath) into myResult >>>>>>>>>> but all I get back is: >>>>>>>>>> Error: Unable to open the database file >>>>>>>>>> >>>>>>>>>> Suggestions? >>>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> use-livecode mailing list >>>>>>>>> use-livecode at lists.runrev.com >>>>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>>>> >>>>>>>> subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> Devin Asay >>>>>>>> Office of Digital Humanities >>>>>>>> Brigham Young University >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Wed Apr 6 10:15:14 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 6 Apr 2016 08:15:14 -0600 Subject: Error: Unable to open the database file In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <003501d1900b$dd54b090$97fe11b0$@net> <57051744.7050500@LinkIt.Com> Message-ID: Actually, you CAN connect directly to to mysql server (its actually a server in its own right) if you set things up that way. You have to change where connections are allowed from but honestly, you're still better off using middleware. This way you can place any files with sensitive data (passwords etc) outside the directly accessible area of your webserver, and have your middleware "include" the file. In this way, you make it harder for people to poke around and figure out parts of your setup, and obviates the need to have a hard coded or known password to your mysql database. Having an open port accessible from anywhere directly to your database server is usually a bad idea. The php middleware idea should work swimmingly. From ray at linkit.com Wed Apr 6 10:19:35 2016 From: ray at linkit.com (Ray) Date: Wed, 6 Apr 2016 10:19:35 -0400 Subject: Error: Unable to open the database file In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <003501d1900b$dd54b090$97fe11b0$@net> <57051744.7050500@LinkIt.Com> Message-ID: <57051AF7.9030803@LinkIt.Com> Thanks for your confirmation on this, Mike. We'll continue with the PHP middleware plan. It seems to be industry standard and it makes sense, especially from a security standpoint. On 4/6/2016 10:15 AM, Mike Bonner wrote: > Actually, you CAN connect directly to to mysql server (its actually a > server in its own right) if you set things up that way. You have to change > where connections are allowed from but honestly, you're still better off > using middleware. This way you can place any files with sensitive data > (passwords etc) outside the directly accessible area of your webserver, and > have your middleware "include" the file. In this way, you make it harder > for people to poke around and figure out parts of your setup, and obviates > the need to have a hard coded or known password to your mysql database. > > Having an open port accessible from anywhere directly to your database > server is usually a bad idea. > The php middleware idea should work swimmingly. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Wed Apr 6 10:21:07 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 6 Apr 2016 08:21:07 -0600 Subject: Error: Unable to open the database file In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <003501d1900b$dd54b090$97fe11b0$@net> <57051744.7050500@LinkIt.Com> Message-ID: On an "LC server" side note, andre garzias dblib is really helpful. It might be possible to build up your query locally using dblib, then send the resulting array to the server that also uses dblib, set the array there and execute the action. (dblib works great) I think it will work with either mysql or sqlite. This would require you to set up livecode server of course. http://andregarzia.com/pages/en/dblib/ From ray at linkit.com Wed Apr 6 10:23:07 2016 From: ray at linkit.com (Ray) Date: Wed, 6 Apr 2016 10:23:07 -0400 Subject: Error: Unable to open the database file In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <003501d1900b$dd54b090$97fe11b0$@net> <57051744.7050500@LinkIt.Com> Message-ID: <57051BCB.2040602@LinkIt.Com> Thanks Mike. I've used Andre's solutions a number of times and they've always worked really well. I wasn't aware of this one. On 4/6/2016 10:21 AM, Mike Bonner wrote: > On an "LC server" side note, andre garzias dblib is really helpful. It > might be possible to build up your query locally using dblib, then send the > resulting array to the server that also uses dblib, set the array there and > execute the action. (dblib works great) I think it will work with either > mysql or sqlite. This would require you to set up livecode server of > course. > http://andregarzia.com/pages/en/dblib/ > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Wed Apr 6 10:26:14 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Wed, 6 Apr 2016 07:26:14 -0700 Subject: Error: Unable to open the database file In-Reply-To: <57051BCB.2040602@LinkIt.Com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <003501d1900b$dd54b090$97fe11b0$@net> <57051744.7050500@LinkIt.Com> <57051BCB.2040602@LinkIt.Com> Message-ID: <64C970CF-F7BB-4E61-9A81-0D4E162B18A1@earthednet.org> Ray, I have a stack for MySQL implementation that might help you get started, since you are thinking of using php as middleware. It's at http://es.earthednet.org/SoftwareForEducation Scroll to the bottom of the page. Good luck. Bill William Prothero http://es.earthednet.org > On Apr 6, 2016, at 7:23 AM, Ray wrote: > > Thanks Mike. I've used Andre's solutions a number of times and they've always worked really well. I wasn't aware of this one. > >> On 4/6/2016 10:21 AM, Mike Bonner wrote: >> On an "LC server" side note, andre garzias dblib is really helpful. It >> might be possible to build up your query locally using dblib, then send the >> resulting array to the server that also uses dblib, set the array there and >> execute the action. (dblib works great) I think it will work with either >> mysql or sqlite. This would require you to set up livecode server of >> course. >> http://andregarzia.com/pages/en/dblib/ >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Wed Apr 6 10:31:10 2016 From: ray at linkit.com (Ray) Date: Wed, 6 Apr 2016 10:31:10 -0400 Subject: Error: Unable to open the database file In-Reply-To: <64C970CF-F7BB-4E61-9A81-0D4E162B18A1@earthednet.org> References: <5700B84D.1090305@hyperactivesw.com> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <003501d1900b$dd54b090$97fe11b0$@net> <57051744.7050500@LinkIt.Com> <57051BCB.2040602@LinkIt.Com> <64C970CF-F7BB-4E61-9A81-0D4E162B18A1@earthednet.org> Message-ID: <57051DAE.30108@LinkIt.Com> Bill thanks for sharing this with me. I've downloaded it and I'm looking into now. I'll let you know how it works out. On 4/6/2016 10:26 AM, Earthednet-wp wrote: > Ray, > I have a stack for MySQL implementation that might help you get started, since you are thinking of using php as middleware. It's at http://es.earthednet.org/SoftwareForEducation > Scroll to the bottom of the page. > Good luck. > Bill > > William Prothero > http://es.earthednet.org > >> On Apr 6, 2016, at 7:23 AM, Ray wrote: >> >> Thanks Mike. I've used Andre's solutions a number of times and they've always worked really well. I wasn't aware of this one. >> >>> On 4/6/2016 10:21 AM, Mike Bonner wrote: >>> On an "LC server" side note, andre garzias dblib is really helpful. It >>> might be possible to build up your query locally using dblib, then send the >>> resulting array to the server that also uses dblib, set the array there and >>> execute the action. (dblib works great) I think it will work with either >>> mysql or sqlite. This would require you to set up livecode server of >>> course. >>> http://andregarzia.com/pages/en/dblib/ >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Wed Apr 6 10:39:08 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 6 Apr 2016 22:39:08 +0800 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <5704AEDA.2000402@hyperactivesw.com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> Message-ID: On Wed, Apr 6, 2016 at 2:38 PM, J. Landman Gay wrote: Monte's already pointed you to Ali's Web Interface Instructions. > Why are the doc files in the *engine* category? Wouldn't one logically > look in the IDE category? When you use the Web Interface the docs are logically located in the community-docs/docs/dictionary folder: https://github.com/livecode/livecode/tree/community-docs/docs/dictionary Here the logic continues with Commands in the commands folder, Constants in the constants folder etc etc. The only bit that might confuse is the Glossary entries aren't here. Towards the top of the Web interface there is a breadcrumb path to your current location, it will be something like livecode / docs / dictionary / function / exists.lcdoc If you want to do a Glossary entry simply click on 'docs', it will take you back to the docs folder where you'll note not just the dictionary folder but also the glossary folder and other goodies. If the glossary not being in the dictionary folder is of concern I'm sure if you suggest to Ali a symlink he'd be right onto it. From devin_asay at byu.edu Wed Apr 6 11:10:27 2016 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 6 Apr 2016 15:10:27 +0000 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <5704AEDA.2000402@hyperactivesw.com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> Message-ID: <75FBE168-5687-4D70-88C8-BB4B0150F010@byu.edu> > On Apr 6, 2016, at 12:38 AM, J. Landman Gay wrote: > > On 4/5/2016 10:26 AM, Mark Wieder wrote: >> But I do want to say that there's fascinating reading in >> https://github.com/livecode/livecode/pull/3518#issuecomment-205199749 > > It's only fascinating if you understand all the jargon. I read it and came away with nothing but frustration. I have only the vaguest idea what half those terms mean and the screen shots are confusing. > > Where's this "guide" they talk about? And there's some kind of viewer? Where? Where are Ali's instructions for using the web interface? It took me forever just to find where the actual documentation files live. (Why are the doc files in the *engine* category? Wouldn't one logically look in the IDE category?) > > Pointers to instructions should be located prominently somewhere, ideally on the entry page. Github is a maze at best, novices shouldn't have to hunt for elusive instructions. I'm pretty sure someone here will give me a link, but that isn't going to help the next person. Ditto. Github for Dummies workshop at the LiveCode Dev Conference, anyone? Devin Devin Asay Office of Digital Humanities Brigham Young University From dochawk at gmail.com Wed Apr 6 11:14:57 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 6 Apr 2016 08:14:57 -0700 Subject: Error: Unable to open the database file In-Reply-To: <57050998.7060206@LinkIt.Com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> Message-ID: On Wed, Apr 6, 2016 at 6:05 AM, Ray wrote: > I thought of downloading it, updating it, and then putting it back on the > server but that wouldn't work if two users simultaneously did so. Since > I'll have many users using the database simultaneously everything has to be > done on the server. I know only one user can write to an sqLite database > at a time, but that only takes about 20 milliseconds if done on the server > and the other writes get cued, something that wouldn't happen in the > download/re-upload scenario. > You are going past what SQLite is meant to handle, and asking for trouble. When SQLite writes, it changes a patch of disk (I couldn't tell you how much). The other users won't be queued up waiting to write; they'll be getting failure to open. You're either going to need a persistent middleware app running on the server, or to follow the advice of the SQLite team: use postgres for something like this. SQLite is wonderful, but it also knows it's limits. I use it in-memory, and as a convenient way to throw backup files. And depending upon what you're doing, mySQL may not be an appropriate choice. In particular, it doesn't handle real transactions. SQLite and postgres can handle BEGIN TRANSACTION; SELECT this from that; UPDATE that WITH thisstuff; UPDATE somethingElse WITH that END TRANSACTION; whereas mySQL would do this as separate SELECT and two UPDATEs If you need either all or none of them to happen (e.g., dependencies and consistency), mySQL is not your choice. postgres also means a single 20ms transaction for such things, while mySQL would be three separate 20ms transactions. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ray at linkit.com Wed Apr 6 11:32:56 2016 From: ray at linkit.com (Ray) Date: Wed, 6 Apr 2016 11:32:56 -0400 Subject: Error: Unable to open the database file In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> Message-ID: <57052C28.1030608@LinkIt.Com> Richard - thanks for this advice. It's really quite helpful. We've abandoned the sqLite idea but I think mySQL should work fine. The purpose of this database is to maintain an index of bug reports. The bug reports themselves are actually Livecode stacks. The database will serve as an index to all bug reports. The plan is to have just single table of about four columns; username, bug name, date, and status. Hopefully it will stay this simple. Since we'll be updating an entire record at a time I don't think the lack of dependency will ever be a problem, but let me know what you think. Thanks, Ray On 4/6/2016 11:14 AM, Dr. Hawkins wrote: > On Wed, Apr 6, 2016 at 6:05 AM, Ray wrote: > >> I thought of downloading it, updating it, and then putting it back on the >> server but that wouldn't work if two users simultaneously did so. Since >> I'll have many users using the database simultaneously everything has to be >> done on the server. I know only one user can write to an sqLite database >> at a time, but that only takes about 20 milliseconds if done on the server >> and the other writes get cued, something that wouldn't happen in the >> download/re-upload scenario. >> > You are going past what SQLite is meant to handle, and asking for trouble. > > When SQLite writes, it changes a patch of disk (I couldn't tell you how > much). > > The other users won't be queued up waiting to write; they'll be getting > failure to open. > > You're either going to need a persistent middleware app running on the > server, or to follow the advice of the SQLite team: use postgres for > something like this. > > SQLite is wonderful, but it also knows it's limits. I use it in-memory, > and as a convenient way to throw backup files. > > And depending upon what you're doing, mySQL may not be an appropriate > choice. In particular, it doesn't handle real transactions. > > SQLite and postgres can handle > > BEGIN TRANSACTION; > > SELECT this from that; > > UPDATE that WITH thisstuff; > > UPDATE somethingElse WITH that > > END TRANSACTION; > > > whereas mySQL would do this as separate SELECT and two UPDATEs > > If you need either all or none of them to happen (e.g., dependencies and > consistency), mySQL is not your choice. > > postgres also means a single 20ms transaction for such things, while mySQL > would be three separate 20ms transactions. > > From MikeKerner at roadrunner.com Wed Apr 6 12:06:03 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 6 Apr 2016 12:06:03 -0400 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <75FBE168-5687-4D70-88C8-BB4B0150F010@byu.edu> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <75FBE168-5687-4D70-88C8-BB4B0150F010@byu.edu> Message-ID: The guides are a long read. If I get up the motivation, I'm going to at least try to work on them so it doesn't feel so much like work. On Wed, Apr 6, 2016 at 11:10 AM, Devin Asay wrote: > > > On Apr 6, 2016, at 12:38 AM, J. Landman Gay > wrote: > > > > On 4/5/2016 10:26 AM, Mark Wieder wrote: > >> But I do want to say that there's fascinating reading in > >> https://github.com/livecode/livecode/pull/3518#issuecomment-205199749 > > > > It's only fascinating if you understand all the jargon. I read it and > came away with nothing but frustration. I have only the vaguest idea what > half those terms mean and the screen shots are confusing. > > > > Where's this "guide" they talk about? And there's some kind of viewer? > Where? Where are Ali's instructions for using the web interface? It took me > forever just to find where the actual documentation files live. (Why are > the doc files in the *engine* category? Wouldn't one logically look in the > IDE category?) > > > > Pointers to instructions should be located prominently somewhere, > ideally on the entry page. Github is a maze at best, novices shouldn't have > to hunt for elusive instructions. I'm pretty sure someone here will give me > a link, but that isn't going to help the next person. > > Ditto. Github for Dummies workshop at the LiveCode Dev Conference, anyone? > > Devin > > > Devin Asay > Office of Digital Humanities > Brigham Young University > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From pete at lcsql.com Wed Apr 6 12:42:16 2016 From: pete at lcsql.com (Peter Haworth) Date: Wed, 06 Apr 2016 16:42:16 +0000 Subject: Error: Unable to open the database file In-Reply-To: <57052C28.1030608@LinkIt.Com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> <57052C28.1030608@LinkIt.Com> Message-ID: Hi Ray, Lots of things for you to think about! As someone else mentioned, I thought you were using a network file system rather than a web server. Just to set the record straight on a couple of things. mySQL does have transactions, as do all SQL implementations. They're part of the SQL spec. postGresql may well have advantages over mySQL but that isn't one of them. It's quite feasible to implement multi-user sqlite applications. There are several examples on the SQLite web site and in fact their website is driven by an sqlite database. Of course it depends on the needs of the application, as it always does. There are many ways to handle queuing of db access when the db is locked. There's a PRAGMA that controls how long the lock request should wait before reporting it can't get the lock. It's easy to program that yourself in a repeat loop/send in time structure too. I started a thread a few months back about direct calls to server-based SQL databases from Livecode versus middleware which generated a lot of possible approaches. I ended up going the middleware route using php scripts. My Livecode app uses the POST command to send a code that indicates to the server which SQL operation is to be executed along with all the data needed to execute it. No SQL statements ever go over the connection so no sql injection issues. That's just one possible implementation of course and there are many other ways to do it. Good luck! On Wed, Apr 6, 2016 at 8:32 AM Ray wrote: > Richard - thanks for this advice. It's really quite helpful. We've > abandoned the sqLite idea but I think mySQL should work fine. The > purpose of this database is to maintain an index of bug reports. The bug > reports themselves are actually Livecode stacks. The database will > serve as an index to all bug reports. The plan is to have just single > table of about four columns; username, bug name, date, and status. > Hopefully it will stay this simple. > > Since we'll be updating an entire record at a time I don't think the > lack of dependency will ever be a problem, but let me know what you think. > > Thanks, > > Ray > > On 4/6/2016 11:14 AM, Dr. Hawkins wrote: > > On Wed, Apr 6, 2016 at 6:05 AM, Ray wrote: > > > >> I thought of downloading it, updating it, and then putting it back on > the > >> server but that wouldn't work if two users simultaneously did so. Since > >> I'll have many users using the database simultaneously everything has > to be > >> done on the server. I know only one user can write to an sqLite > database > >> at a time, but that only takes about 20 milliseconds if done on the > server > >> and the other writes get cued, something that wouldn't happen in the > >> download/re-upload scenario. > >> > > You are going past what SQLite is meant to handle, and asking for > trouble. > > > > When SQLite writes, it changes a patch of disk (I couldn't tell you how > > much). > > > > The other users won't be queued up waiting to write; they'll be getting > > failure to open. > > > > You're either going to need a persistent middleware app running on the > > server, or to follow the advice of the SQLite team: use postgres for > > something like this. > > > > SQLite is wonderful, but it also knows it's limits. I use it in-memory, > > and as a convenient way to throw backup files. > > > > And depending upon what you're doing, mySQL may not be an appropriate > > choice. In particular, it doesn't handle real transactions. > > > > SQLite and postgres can handle > > > > BEGIN TRANSACTION; > > > > SELECT this from that; > > > > UPDATE that WITH thisstuff; > > > > UPDATE somethingElse WITH that > > > > END TRANSACTION; > > > > > > whereas mySQL would do this as separate SELECT and two UPDATEs > > > > If you need either all or none of them to happen (e.g., dependencies and > > consistency), mySQL is not your choice. > > > > postgres also means a single 20ms transaction for such things, while > mySQL > > would be three separate 20ms transactions. > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Wed Apr 6 12:59:05 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 6 Apr 2016 09:59:05 -0700 Subject: Error: Unable to open the database file In-Reply-To: <57052C28.1030608@LinkIt.Com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> <57052C28.1030608@LinkIt.Com> Message-ID: On Wed, Apr 6, 2016 at 8:32 AM, Ray wrote: > Richard - thanks for this advice. It's really quite helpful. We've > abandoned the sqLite idea but I think mySQL should work fine. The purpose > of this database is to maintain an index of bug reports. The bug reports > themselves are actually Livecode stacks. The database will serve as an > index to all bug reports. The plan is to have just single table of about > four columns; username, bug name, date, and status. Hopefully it will stay > this simple. > if it's a single "INSERT" or "UPDATE", I don't know of barriers to mySQL. In my case, those are the exception. I also try to keep my code such that I could switch back and forth, so I have some IF s and SWITCHS around in my live code to deal with those differences. > Since we'll be updating an entire record at a time I don't think the lack > of dependency will ever be a problem, but let me know what you think. > If you only update the record, my concerns aren't there. But if you want to, perhaps, simultaneously update that record and "recents", or the user's's history, or . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Wed Apr 6 13:16:37 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 6 Apr 2016 10:16:37 -0700 Subject: Error: Unable to open the database file In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> <57052C28.1030608@LinkIt.Com> Message-ID: On Wed, Apr 6, 2016 at 9:42 AM, Peter Haworth wrote: > > mySQL does have transactions, as do all SQL implementations. They're part > of the SQL spec. postGresql may well have advantages over mySQL but that > isn't one of them. > Now I'm trying to remember: is it that livecdoe that can't successfully pass a compound command to mySQL? So that BEGIN, each command, and END each take a separate live code command? That turns it into a brutal multiplier for a remote database, and one to watch on a local. I remember that mySQL was a flat-out deadend for me; I started with it when I realized that SQLite wasn't going to do it for the remote. Tje more I think about it, the more I think it's live code's implementation; maybe that is getting fixed in 8. > It's quite feasible to implement multi-user sqlite applications. There are > several examples on the SQLite web site and in fact their website is driven > by an sqlite database. Of course it depends on the needs of the > application, as it always does. > "SQLite does not compete with client/server databases. SQLite competes with fopen()." from https://www.sqlite.org/whentouse.html I'm going to be going the middleware route myself, but i'm not switching until everything else is done. I'm dealing with the presumption of multiple users accessing the same "case" at once--at least the lawyer's desk, secretary's computer, and the lawyer from court. At the moment, I periodically (about 30 seconds) send a transaction to the server with all of the updates that also scoops back any updates from the remote. I don't need to worry about inconsistencies from users, and can simply use the latest value entered, without regard to whether there was an earlier unknown change (If Beth enters $20,000 for income, and Sarah enters $30,000, the office or data has bigger problems than I can solve). I very briefly synched each transaction as it occurred using remote mySQL; this was brutally slow as each changed variable causes a cascade of it's dependencies; it was a noticeable fraction of a second to tab to the next field . . . (kind of like tabs in the IDE when you have multiple large scripts . . .) While I could stay with the current method for the distributed product once the ssl postgres is implemented, there are enough advantages to me for a persistent server that I'll still switch. In particular, it lets me go asynchronous: the client program writes and forgets, eliminating most of the transactions it initiates, and receives messages from the server on the socket when something changes at that end (which would always follow shortly after its own transmission). The server on a VPS or even dedicated server simply watches the open sockets on a round robin basis, and writes back any changes (or, potentially other messages) to the client. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From brahma at hindu.org Wed Apr 6 13:29:48 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 6 Apr 2016 17:29:48 +0000 Subject: "this me" vs "me" In-Reply-To: References: Message-ID: Ah, very good. so this goes to the method of dynamically setting behaviros run time. "cool!" On April 5, 2016 at 5:49:23 PM, Scott Rossi (scott at tactilemedia.com) wrote: Using "this me" gets you the long id of the object (button/stack) serving as a control's behavior. Using "me" by itself gets you the long id of the control the behavior is assigned to. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/5/16, 7:34 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami" wrote: >Rummaging through all the IDE scripts, lots of gold in there. > >on setAsBehavior pTarget > set the behavior of pTarget to the long id of this me >end setAsBehavior > >What does the use of "this" get us? vs just using "me" > >I read the dictionary entry... doesn't help with understanding the use >case for one or the other. > >FYI this is taken from > >script "revPaletteBehavior" > > >_______________________________________________ >use-livecode mailing list >use-livecode at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Wed Apr 6 13:35:48 2016 From: ray at linkit.com (Ray) Date: Wed, 6 Apr 2016 13:35:48 -0400 Subject: Error: Unable to open the database file In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> <57052C28.1030608@LinkIt.Com> Message-ID: <570548F4.5000908@LinkIt.Com> Yeah, my expectation is that we'll avoid injection issues using the PHP middleware. All in all, it seems like a pretty common need; to store on a server a database that multiple users are going to be updating. I wish there were some sort of a Livecode lesson which detailed several approaches to this including the necessary steps to set up the database on the remote server. Do you know of any? On 4/6/2016 12:42 PM, Peter Haworth wrote: > Hi Ray, > Lots of things for you to think about! As someone else mentioned, I > thought you were using a network file system rather than a web server. > > Just to set the record straight on a couple of things. > > mySQL does have transactions, as do all SQL implementations. They're part > of the SQL spec. postGresql may well have advantages over mySQL but that > isn't one of them. > > It's quite feasible to implement multi-user sqlite applications. There are > several examples on the SQLite web site and in fact their website is driven > by an sqlite database. Of course it depends on the needs of the > application, as it always does. > > There are many ways to handle queuing of db access when the db is locked. > There's a PRAGMA that controls how long the lock request should wait before > reporting it can't get the lock. It's easy to program that yourself in a > repeat loop/send in time structure too. > > I started a thread a few months back about direct calls to server-based SQL > databases from Livecode versus middleware which generated a lot of possible > approaches. I ended up going the middleware route using php scripts. My > Livecode app uses the POST command to send a code that indicates to the > server which SQL operation is to be executed along with all the data needed > to execute it. No SQL statements ever go over the connection so no sql > injection issues. That's just one possible implementation of course and > there are many other ways to do it. > > Good luck! > > On Wed, Apr 6, 2016 at 8:32 AM Ray wrote: > >> Richard - thanks for this advice. It's really quite helpful. We've >> abandoned the sqLite idea but I think mySQL should work fine. The >> purpose of this database is to maintain an index of bug reports. The bug >> reports themselves are actually Livecode stacks. The database will >> serve as an index to all bug reports. The plan is to have just single >> table of about four columns; username, bug name, date, and status. >> Hopefully it will stay this simple. >> >> Since we'll be updating an entire record at a time I don't think the >> lack of dependency will ever be a problem, but let me know what you think. >> >> Thanks, >> >> Ray >> >> On 4/6/2016 11:14 AM, Dr. Hawkins wrote: >>> On Wed, Apr 6, 2016 at 6:05 AM, Ray wrote: >>> >>>> I thought of downloading it, updating it, and then putting it back on >> the >>>> server but that wouldn't work if two users simultaneously did so. Since >>>> I'll have many users using the database simultaneously everything has >> to be >>>> done on the server. I know only one user can write to an sqLite >> database >>>> at a time, but that only takes about 20 milliseconds if done on the >> server >>>> and the other writes get cued, something that wouldn't happen in the >>>> download/re-upload scenario. >>>> >>> You are going past what SQLite is meant to handle, and asking for >> trouble. >>> When SQLite writes, it changes a patch of disk (I couldn't tell you how >>> much). >>> >>> The other users won't be queued up waiting to write; they'll be getting >>> failure to open. >>> >>> You're either going to need a persistent middleware app running on the >>> server, or to follow the advice of the SQLite team: use postgres for >>> something like this. >>> >>> SQLite is wonderful, but it also knows it's limits. I use it in-memory, >>> and as a convenient way to throw backup files. >>> >>> And depending upon what you're doing, mySQL may not be an appropriate >>> choice. In particular, it doesn't handle real transactions. >>> >>> SQLite and postgres can handle >>> >>> BEGIN TRANSACTION; >>> >>> SELECT this from that; >>> >>> UPDATE that WITH thisstuff; >>> >>> UPDATE somethingElse WITH that >>> >>> END TRANSACTION; >>> >>> >>> whereas mySQL would do this as separate SELECT and two UPDATEs >>> >>> If you need either all or none of them to happen (e.g., dependencies and >>> consistency), mySQL is not your choice. >>> >>> postgres also means a single 20ms transaction for such things, while >> mySQL >>> would be three separate 20ms transactions. >>> >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Wed Apr 6 13:38:08 2016 From: ray at linkit.com (Ray) Date: Wed, 6 Apr 2016 13:38:08 -0400 Subject: Error: Unable to open the database file In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> <57052C28.1030608@LinkIt.Com> Message-ID: <57054980.1030007@LinkIt.Com> I haven't gotten that far into the database syntax and Livecode's handling of it yet so I couldn't say, yet. But I'm sure I'll figure out soon what, if any, Livecode's limitations are. So Richard, what did you end up going with when neither sqLite nor mySQL worked out for you? On 4/6/2016 1:16 PM, Dr. Hawkins wrote: > On Wed, Apr 6, 2016 at 9:42 AM, Peter Haworth wrote: > >> mySQL does have transactions, as do all SQL implementations. They're part >> of the SQL spec. postGresql may well have advantages over mySQL but that >> isn't one of them. >> > Now I'm trying to remember: is it that livecdoe that can't successfully > pass a compound command to mySQL? > > So that BEGIN, each command, and END each take a separate live code > command? That turns it into a brutal multiplier for a remote database, and > one to watch on a local. > > I remember that mySQL was a flat-out deadend for me; I started with it when > I realized that SQLite wasn't going to do it for the remote. > > Tje more I think about it, the more I think it's live code's > implementation; maybe that is getting fixed in 8. > > >> It's quite feasible to implement multi-user sqlite applications. There are >> several examples on the SQLite web site and in fact their website is driven >> by an sqlite database. Of course it depends on the needs of the >> application, as it always does. >> > "SQLite does not compete with client/server databases. SQLite competes with > fopen()." > from https://www.sqlite.org/whentouse.html > > > I'm going to be going the middleware route myself, but i'm not switching > until everything else is done. > > I'm dealing with the presumption of multiple users accessing the same > "case" at once--at least the lawyer's desk, secretary's computer, and the > lawyer from court. > > At the moment, I periodically (about 30 seconds) send a transaction to the > server with all of the updates that also scoops back any updates from the > remote. I don't need to worry about inconsistencies from users, and can > simply use the latest value entered, without regard to whether there was an > earlier unknown change (If Beth enters $20,000 for income, and Sarah enters > $30,000, the office or data has bigger problems than I can solve). > > I very briefly synched each transaction as it occurred using remote mySQL; > this was brutally slow as each changed variable causes a cascade of it's > dependencies; it was a noticeable fraction of a second to tab to the next > field . . . (kind of like tabs in the IDE when you have multiple large > scripts . . .) > > While I could stay with the current method for the distributed product once > the ssl postgres is implemented, there are enough advantages to me for a > persistent server that I'll still switch. In particular, it lets me go > asynchronous: the client program writes and forgets, eliminating most of > the transactions it initiates, and receives messages from the server on the > socket when something changes at that end (which would always follow > shortly after its own transmission). The server on a VPS or even dedicated > server simply watches the open sockets on a round robin basis, and writes > back any changes (or, potentially other messages) to the client. > > > > From jacque at hyperactivesw.com Wed Apr 6 14:25:57 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 6 Apr 2016 13:25:57 -0500 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> Message-ID: <570554B5.1000003@hyperactivesw.com> On 4/6/2016 1:45 AM, Monte Goulding wrote: > I hadn?t seen the contributing to the docs guide so even though I > know my way around GitHub it was fresh eyes on finding the docs. > Here?s what I did: - openhttps://github.com/livecode/livecode/ That was my first hurdle. You already knew to go to the livecode/livecode directory, which is clearly marked as an engine folder. That's not intuitive, one would expect the dictionary to be in the IDE directory. I know it's in the engine folder because reasons, but only because I wrote here and you told me. I spent an inordinate amount of time looking through all the others first. > - see > the ?Contributing to LiveCode? section links to the CONTRIBUTING > filehttps://github.com/livecode/livecode/blob/develop/CONTRIBUTING.md Second hurdle. After finally venturing into the livecode/livecode directory I was met with a wall of activity. I scrolled, scrolled, scrolled, and decided there was nothing I could use so backed out again. So I went back to the URL that Mark linked to, remembering I'd seen some breadcrumbs in one of the screenshots (someone without that link would have quit by now.) Some images were too small to read clearly so I spent another ten minutes clicking each one to view it larger. I finally found the one with breadcrumbs and headed back to the livecode/livecode directory. I scrolled all the way past the wall of activity looking for something familiar. I didn't see anything but I found the text instructions way at the bottom. It discussed repositories and compiling and target platforms. I didn't click the Contributing link because it seemed to apply to engine contributions; that was the directory I was in, and that's what the text discussed. I had to write to the list just to find out how to find out stuff. The uninitiated need a clear path to information. The top level entry page should have its own directory labelled "Contributor Guides". In that directory should be a link to information regarding engine contributions, and a second link to the documentation guide. I would have found it immediately. I still don't know what this elusive "viewer" is, but I'm not going to bother with it. -- > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From prothero at earthednet.org Wed Apr 6 14:55:06 2016 From: prothero at earthednet.org (EED-wp Email) Date: Wed, 6 Apr 2016 11:55:06 -0700 Subject: Error: Unable to open the database file In-Reply-To: <57052C28.1030608@LinkIt.Com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> <57052C28.1030608@LinkIt.Com> Message-ID: <110F7773-5B63-4C45-9856-7A1D1D869F27@earthednet.org> Ray Good idea. I just get bug reports emailed to me. That's why I send the email by accessing a php mail system on my server. That way the user doesn't have to have email installed. William Prothero http://ed.earthednet.org > On Apr 6, 2016, at 8:32 AM, Ray wrote: > > Richard - thanks for this advice. It's really quite helpful. We've abandoned the sqLite idea but I think mySQL should work fine. The purpose of this database is to maintain an index of bug reports. The bug reports themselves are actually Livecode stacks. The database will serve as an index to all bug reports. The plan is to have just single table of about four columns; username, bug name, date, and status. Hopefully it will stay this simple. > > Since we'll be updating an entire record at a time I don't think the lack of dependency will ever be a problem, but let me know what you think. > > Thanks, > > Ray > >> On 4/6/2016 11:14 AM, Dr. Hawkins wrote: >>> On Wed, Apr 6, 2016 at 6:05 AM, Ray wrote: >>> >>> I thought of downloading it, updating it, and then putting it back on the >>> server but that wouldn't work if two users simultaneously did so. Since >>> I'll have many users using the database simultaneously everything has to be >>> done on the server. I know only one user can write to an sqLite database >>> at a time, but that only takes about 20 milliseconds if done on the server >>> and the other writes get cued, something that wouldn't happen in the >>> download/re-upload scenario. >> You are going past what SQLite is meant to handle, and asking for trouble. >> >> When SQLite writes, it changes a patch of disk (I couldn't tell you how >> much). >> >> The other users won't be queued up waiting to write; they'll be getting >> failure to open. >> >> You're either going to need a persistent middleware app running on the >> server, or to follow the advice of the SQLite team: use postgres for >> something like this. >> >> SQLite is wonderful, but it also knows it's limits. I use it in-memory, >> and as a convenient way to throw backup files. >> >> And depending upon what you're doing, mySQL may not be an appropriate >> choice. In particular, it doesn't handle real transactions. >> >> SQLite and postgres can handle >> >> BEGIN TRANSACTION; >> >> SELECT this from that; >> >> UPDATE that WITH thisstuff; >> >> UPDATE somethingElse WITH that >> >> END TRANSACTION; >> >> >> whereas mySQL would do this as separate SELECT and two UPDATEs >> >> If you need either all or none of them to happen (e.g., dependencies and >> consistency), mySQL is not your choice. >> >> postgres also means a single 20ms transaction for such things, while mySQL >> would be three separate 20ms transactions. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Wed Apr 6 15:13:20 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 6 Apr 2016 12:13:20 -0700 Subject: Error: Unable to open the database file In-Reply-To: <57054980.1030007@LinkIt.Com> References: <5700B84D.1090305@hyperactivesw.com> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> <57052C28.1030608@LinkIt.Com> <57054980.1030007@LinkIt.Com> Message-ID: On Wed, Apr 6, 2016 at 10:38 AM, Ray wrote: > So Richard, what did you end up going with when neither sqLite nor mySQL > worked out for you? postgreSQL It's more mature in some ways than mySQL, but more importantly, I can give compound transaction (there's a 500+ statement query on client opening). It also has more advanced "replication" across multiple installations, although I haven't gotten near implementing that yet. It's also a free database, and is MIT license instead of GPL. It's used within OS X, but I installed it separately after misadventure with OS X server--apple changed major release of OS X on a minor release of server, leaving things tea din the water and requiring reinstallation of an older version just to export the db . . . I think that postgres is also the only one of the three being discussed that has a true boolean type, but that doesn't matter for most applications. Also, if you find yourself crossing back and forth, you need to keep track of things like each db representing true and false differently, and such things. I use an in-memory SQLite for the client, but postgres for the server. After some experimenting, I stopped storing the data fields on the server, instead having fields for datetime, key, type (I have multiple tables in memory), and just storing INSERT commands in it (all the processing is actually done on he client. I *could* use an array [and at one point did], but "SELECT . . . WHERE" is *so* much easier to write than looping through arrays . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ray at linkit.com Wed Apr 6 15:27:06 2016 From: ray at linkit.com (Ray) Date: Wed, 6 Apr 2016 15:27:06 -0400 Subject: Error: Unable to open the database file In-Reply-To: <110F7773-5B63-4C45-9856-7A1D1D869F27@earthednet.org> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> <57052C28.1030608@LinkIt.Com> <110F7773-5B63-4C45-9856-7A1D1D869F27@earthednet.org> Message-ID: <5705630A.6090009@LinkIt.Com> I'd actually be happy with emails if they included everything I need and excluded unnecessary stuff, but we've had a lot of problems in the past relying on general emails so we're going to try something which should help guide our users to writing good bug reports. On 4/6/2016 2:55 PM, EED-wp Email wrote: > Ray > Good idea. I just get bug reports emailed to me. That's why I send the email by accessing a php mail system on my server. That way the user doesn't have to have email installed. > > William Prothero > http://ed.earthednet.org > >> On Apr 6, 2016, at 8:32 AM, Ray wrote: >> >> Richard - thanks for this advice. It's really quite helpful. We've abandoned the sqLite idea but I think mySQL should work fine. The purpose of this database is to maintain an index of bug reports. The bug reports themselves are actually Livecode stacks. The database will serve as an index to all bug reports. The plan is to have just single table of about four columns; username, bug name, date, and status. Hopefully it will stay this simple. >> >> Since we'll be updating an entire record at a time I don't think the lack of dependency will ever be a problem, but let me know what you think. >> >> Thanks, >> >> Ray >> >>> On 4/6/2016 11:14 AM, Dr. Hawkins wrote: >>>> On Wed, Apr 6, 2016 at 6:05 AM, Ray wrote: >>>> >>>> I thought of downloading it, updating it, and then putting it back on the >>>> server but that wouldn't work if two users simultaneously did so. Since >>>> I'll have many users using the database simultaneously everything has to be >>>> done on the server. I know only one user can write to an sqLite database >>>> at a time, but that only takes about 20 milliseconds if done on the server >>>> and the other writes get cued, something that wouldn't happen in the >>>> download/re-upload scenario. >>> You are going past what SQLite is meant to handle, and asking for trouble. >>> >>> When SQLite writes, it changes a patch of disk (I couldn't tell you how >>> much). >>> >>> The other users won't be queued up waiting to write; they'll be getting >>> failure to open. >>> >>> You're either going to need a persistent middleware app running on the >>> server, or to follow the advice of the SQLite team: use postgres for >>> something like this. >>> >>> SQLite is wonderful, but it also knows it's limits. I use it in-memory, >>> and as a convenient way to throw backup files. >>> >>> And depending upon what you're doing, mySQL may not be an appropriate >>> choice. In particular, it doesn't handle real transactions. >>> >>> SQLite and postgres can handle >>> >>> BEGIN TRANSACTION; >>> >>> SELECT this from that; >>> >>> UPDATE that WITH thisstuff; >>> >>> UPDATE somethingElse WITH that >>> >>> END TRANSACTION; >>> >>> >>> whereas mySQL would do this as separate SELECT and two UPDATEs >>> >>> If you need either all or none of them to happen (e.g., dependencies and >>> consistency), mySQL is not your choice. >>> >>> postgres also means a single 20ms transaction for such things, while mySQL >>> would be three separate 20ms transactions. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Wed Apr 6 15:30:54 2016 From: ray at linkit.com (Ray) Date: Wed, 6 Apr 2016 15:30:54 -0400 Subject: Error: Unable to open the database file In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> <57052C28.1030608@LinkIt.Com> <57054980.1030007@LinkIt.Com> Message-ID: <570563EE.4000902@LinkIt.Com> Very interesting. I've looked a little into postgreSQL, not that much. I think we've pretty much decided to stick with mySQL for now, it should work for our purpose, but you've peaked my interest in postgreSQL. Many thanks for your input on this Richard! On 4/6/2016 3:13 PM, Dr. Hawkins wrote: > On Wed, Apr 6, 2016 at 10:38 AM, Ray wrote: > >> So Richard, what did you end up going with when neither sqLite nor mySQL >> worked out for you? > > postgreSQL > > It's more mature in some ways than mySQL, but more importantly, I can give > compound transaction (there's a 500+ statement query on client opening). > It also has more advanced "replication" across multiple installations, > although I haven't gotten near implementing that yet. > > It's also a free database, and is MIT license instead of GPL. It's used > within OS X, but I installed it separately after misadventure with OS X > server--apple changed major release of OS X on a minor release of server, > leaving things tea din the water and requiring reinstallation of an older > version just to export the db . . . > > I think that postgres is also the only one of the three being discussed > that has a true boolean type, but that doesn't matter for most applications. > > Also, if you find yourself crossing back and forth, you need to keep track > of things like each db representing true and false differently, and such > things. I use an in-memory SQLite for the client, but postgres for the > server. After some experimenting, I stopped storing the data fields on the > server, instead having fields for datetime, key, type (I have multiple > tables in memory), and just storing INSERT commands in it (all the > processing is actually done on he client. I *could* use an array [and at > one point did], but "SELECT . . . WHERE" is *so* much easier to write than > looping through arrays . . .) > From pete at lcsql.com Wed Apr 6 15:39:37 2016 From: pete at lcsql.com (Peter Haworth) Date: Wed, 06 Apr 2016 19:39:37 +0000 Subject: Error: Unable to open the database file In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> <57052C28.1030608@LinkIt.Com> Message-ID: I do remember a post from you about not being able to send multiple statements to SQL in one Livecode call, and also I'm pretty sure it was confirmed. so that's probably what you're thinking of. On Wed, Apr 6, 2016 at 10:17 AM Dr. Hawkins wrote: > On Wed, Apr 6, 2016 at 9:42 AM, Peter Haworth wrote: > > > > > mySQL does have transactions, as do all SQL implementations. They're > part > > of the SQL spec. postGresql may well have advantages over mySQL but that > > isn't one of them. > > > > Now I'm trying to remember: is it that livecdoe that can't successfully > pass a compound command to mySQL? > > So that BEGIN, each command, and END each take a separate live code > command? That turns it into a brutal multiplier for a remote database, and > one to watch on a local. > > I remember that mySQL was a flat-out deadend for me; I started with it when > I realized that SQLite wasn't going to do it for the remote. > > Tje more I think about it, the more I think it's live code's > implementation; maybe that is getting fixed in 8. > > > > It's quite feasible to implement multi-user sqlite applications. There > are > > several examples on the SQLite web site and in fact their website is > driven > > by an sqlite database. Of course it depends on the needs of the > > application, as it always does. > > > > "SQLite does not compete with client/server databases. SQLite competes with > fopen()." > from https://www.sqlite.org/whentouse.html > > > I'm going to be going the middleware route myself, but i'm not switching > until everything else is done. > > I'm dealing with the presumption of multiple users accessing the same > "case" at once--at least the lawyer's desk, secretary's computer, and the > lawyer from court. > > At the moment, I periodically (about 30 seconds) send a transaction to the > server with all of the updates that also scoops back any updates from the > remote. I don't need to worry about inconsistencies from users, and can > simply use the latest value entered, without regard to whether there was an > earlier unknown change (If Beth enters $20,000 for income, and Sarah enters > $30,000, the office or data has bigger problems than I can solve). > > I very briefly synched each transaction as it occurred using remote mySQL; > this was brutally slow as each changed variable causes a cascade of it's > dependencies; it was a noticeable fraction of a second to tab to the next > field . . . (kind of like tabs in the IDE when you have multiple large > scripts . . .) > > While I could stay with the current method for the distributed product once > the ssl postgres is implemented, there are enough advantages to me for a > persistent server that I'll still switch. In particular, it lets me go > asynchronous: the client program writes and forgets, eliminating most of > the transactions it initiates, and receives messages from the server on the > socket when something changes at that end (which would always follow > shortly after its own transmission). The server on a VPS or even dedicated > server simply watches the open sockets on a round robin basis, and writes > back any changes (or, potentially other messages) to the client. > > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Wed Apr 6 15:45:16 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 6 Apr 2016 12:45:16 -0700 Subject: Error: Unable to open the database file In-Reply-To: <570548F4.5000908@LinkIt.Com> References: <5700B84D.1090305@hyperactivesw.com> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> <57052C28.1030608@LinkIt.Com> <570548F4.5000908@LinkIt.Com> Message-ID: <5705674C.4060706@ahsoftware.net> On 04/06/2016 10:35 AM, Ray wrote: > Yeah, my expectation is that we'll avoid injection issues using the PHP > middleware. No, sql injection is avoided by proper coding and by paying attention. PHP as a platform is notoriously subject to sql injection errors mostly because its ease of use encourages web developers to be lazy. (not that there's anything wrong with being lazy per se) -- Mark Wieder ahsoftware at gmail.com From pete at lcsql.com Wed Apr 6 15:57:51 2016 From: pete at lcsql.com (Peter Haworth) Date: Wed, 06 Apr 2016 19:57:51 +0000 Subject: Error: Unable to open the database file In-Reply-To: <570548F4.5000908@LinkIt.Com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> <57052C28.1030608@LinkIt.Com> <570548F4.5000908@LinkIt.Com> Message-ID: This is where it gets interesting. My original plan was to directly connect to mySQL from Livecode using the variableslist parameter to the various Livecode db functions, which should protect against sql injection. To be honest, I don't recall why I went away from that plan in favor of middleware. Most web hosts will have a cPanel option to set up a mySQL database, usually using phpMyAdmin and it's pretty straightforward if you are already familiar with db structures. The only wrinkle I remember is that you have to specify for each db user which hosts they can connect from in terms of an ip address or domains. In fact, I think that's what decided me on using middleware since then all the db access is from your web hosts domain, thus one entry in the allowable hosts table. In my case, my users were scattered across various domains and all had dynamic ip addresses so it would have a been a pain to keep all that up to date. I got a great start on the middleware scripts by downloading Bill's library (thanks Bill). Pete On Wed, Apr 6, 2016 at 10:35 AM Ray wrote: > Yeah, my expectation is that we'll avoid injection issues using the PHP > middleware. > > All in all, it seems like a pretty common need; to store on a server a > database that multiple users are going to be updating. I wish there > were some sort of a Livecode lesson which detailed several approaches to > this including the necessary steps to set up the database on the remote > server. Do you know of any? > > On 4/6/2016 12:42 PM, Peter Haworth wrote: > > Hi Ray, > > Lots of things for you to think about! As someone else mentioned, I > > thought you were using a network file system rather than a web server. > > > > Just to set the record straight on a couple of things. > > > > mySQL does have transactions, as do all SQL implementations. They're > part > > of the SQL spec. postGresql may well have advantages over mySQL but that > > isn't one of them. > > > > It's quite feasible to implement multi-user sqlite applications. There > are > > several examples on the SQLite web site and in fact their website is > driven > > by an sqlite database. Of course it depends on the needs of the > > application, as it always does. > > > > There are many ways to handle queuing of db access when the db is locked. > > There's a PRAGMA that controls how long the lock request should wait > before > > reporting it can't get the lock. It's easy to program that yourself in a > > repeat loop/send in time structure too. > > > > I started a thread a few months back about direct calls to server-based > SQL > > databases from Livecode versus middleware which generated a lot of > possible > > approaches. I ended up going the middleware route using php scripts. My > > Livecode app uses the POST command to send a code that indicates to the > > server which SQL operation is to be executed along with all the data > needed > > to execute it. No SQL statements ever go over the connection so no sql > > injection issues. That's just one possible implementation of course and > > there are many other ways to do it. > > > > Good luck! > > > > On Wed, Apr 6, 2016 at 8:32 AM Ray wrote: > > > >> Richard - thanks for this advice. It's really quite helpful. We've > >> abandoned the sqLite idea but I think mySQL should work fine. The > >> purpose of this database is to maintain an index of bug reports. The bug > >> reports themselves are actually Livecode stacks. The database will > >> serve as an index to all bug reports. The plan is to have just single > >> table of about four columns; username, bug name, date, and status. > >> Hopefully it will stay this simple. > >> > >> Since we'll be updating an entire record at a time I don't think the > >> lack of dependency will ever be a problem, but let me know what you > think. > >> > >> Thanks, > >> > >> Ray > >> > >> On 4/6/2016 11:14 AM, Dr. Hawkins wrote: > >>> On Wed, Apr 6, 2016 at 6:05 AM, Ray wrote: > >>> > >>>> I thought of downloading it, updating it, and then putting it back on > >> the > >>>> server but that wouldn't work if two users simultaneously did so. > Since > >>>> I'll have many users using the database simultaneously everything has > >> to be > >>>> done on the server. I know only one user can write to an sqLite > >> database > >>>> at a time, but that only takes about 20 milliseconds if done on the > >> server > >>>> and the other writes get cued, something that wouldn't happen in the > >>>> download/re-upload scenario. > >>>> > >>> You are going past what SQLite is meant to handle, and asking for > >> trouble. > >>> When SQLite writes, it changes a patch of disk (I couldn't tell you how > >>> much). > >>> > >>> The other users won't be queued up waiting to write; they'll be getting > >>> failure to open. > >>> > >>> You're either going to need a persistent middleware app running on the > >>> server, or to follow the advice of the SQLite team: use postgres for > >>> something like this. > >>> > >>> SQLite is wonderful, but it also knows it's limits. I use it > in-memory, > >>> and as a convenient way to throw backup files. > >>> > >>> And depending upon what you're doing, mySQL may not be an appropriate > >>> choice. In particular, it doesn't handle real transactions. > >>> > >>> SQLite and postgres can handle > >>> > >>> BEGIN TRANSACTION; > >>> > >>> SELECT this from that; > >>> > >>> UPDATE that WITH thisstuff; > >>> > >>> UPDATE somethingElse WITH that > >>> > >>> END TRANSACTION; > >>> > >>> > >>> whereas mySQL would do this as separate SELECT and two UPDATEs > >>> > >>> If you need either all or none of them to happen (e.g., dependencies > and > >>> consistency), mySQL is not your choice. > >>> > >>> postgres also means a single 20ms transaction for such things, while > >> mySQL > >>> would be three separate 20ms transactions. > >>> > >>> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Wed Apr 6 16:03:04 2016 From: pete at lcsql.com (Peter Haworth) Date: Wed, 06 Apr 2016 20:03:04 +0000 Subject: Error: Unable to open the database file In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> <57052C28.1030608@LinkIt.Com> <570548F4.5000908@LinkIt.Com> Message-ID: Hi Mark, Now you've got me worried! I had the impression that since the php scripts run on my server and access the mySQL database on the same server, there wouldn't be any sql injection issues, particularly since I never send any SQL statements from my client app to the server. I'm just as lazy as the next developer but if I'm setting myself up for securoty issues, I guess I could reluctantly bring myself to fix the loopholes :-) On Wed, Apr 6, 2016 at 12:57 PM Peter Haworth wrote: > This is where it gets interesting. My original plan was to directly > connect to mySQL from Livecode using the variableslist parameter to the > various Livecode db functions, which should protect against sql injection. > To be honest, I don't recall why I went away from that plan in favor of > middleware. > > Most web hosts will have a cPanel option to set up a mySQL database, > usually using phpMyAdmin and it's pretty straightforward if you are already > familiar with db structures. > > The only wrinkle I remember is that you have to specify for each db user > which hosts they can connect from in terms of an ip address or domains. > > In fact, I think that's what decided me on using middleware since then all > the db access is from your web hosts domain, thus one entry in the > allowable hosts table. In my case, my users were scattered across various > domains and all had dynamic ip addresses so it would have a been a pain to > keep all that up to date. > > I got a great start on the middleware scripts by downloading Bill's > library (thanks Bill). > > Pete > > > On Wed, Apr 6, 2016 at 10:35 AM Ray wrote: > >> Yeah, my expectation is that we'll avoid injection issues using the PHP >> middleware. >> >> All in all, it seems like a pretty common need; to store on a server a >> database that multiple users are going to be updating. I wish there >> were some sort of a Livecode lesson which detailed several approaches to >> this including the necessary steps to set up the database on the remote >> server. Do you know of any? >> >> On 4/6/2016 12:42 PM, Peter Haworth wrote: >> > Hi Ray, >> > Lots of things for you to think about! As someone else mentioned, I >> > thought you were using a network file system rather than a web server. >> > >> > Just to set the record straight on a couple of things. >> > >> > mySQL does have transactions, as do all SQL implementations. They're >> part >> > of the SQL spec. postGresql may well have advantages over mySQL but >> that >> > isn't one of them. >> > >> > It's quite feasible to implement multi-user sqlite applications. There >> are >> > several examples on the SQLite web site and in fact their website is >> driven >> > by an sqlite database. Of course it depends on the needs of the >> > application, as it always does. >> > >> > There are many ways to handle queuing of db access when the db is >> locked. >> > There's a PRAGMA that controls how long the lock request should wait >> before >> > reporting it can't get the lock. It's easy to program that yourself in >> a >> > repeat loop/send in time structure too. >> > >> > I started a thread a few months back about direct calls to server-based >> SQL >> > databases from Livecode versus middleware which generated a lot of >> possible >> > approaches. I ended up going the middleware route using php scripts. >> My >> > Livecode app uses the POST command to send a code that indicates to the >> > server which SQL operation is to be executed along with all the data >> needed >> > to execute it. No SQL statements ever go over the connection so no sql >> > injection issues. That's just one possible implementation of course and >> > there are many other ways to do it. >> > >> > Good luck! >> > >> > On Wed, Apr 6, 2016 at 8:32 AM Ray wrote: >> > >> >> Richard - thanks for this advice. It's really quite helpful. We've >> >> abandoned the sqLite idea but I think mySQL should work fine. The >> >> purpose of this database is to maintain an index of bug reports. The >> bug >> >> reports themselves are actually Livecode stacks. The database will >> >> serve as an index to all bug reports. The plan is to have just single >> >> table of about four columns; username, bug name, date, and status. >> >> Hopefully it will stay this simple. >> >> >> >> Since we'll be updating an entire record at a time I don't think the >> >> lack of dependency will ever be a problem, but let me know what you >> think. >> >> >> >> Thanks, >> >> >> >> Ray >> >> >> >> On 4/6/2016 11:14 AM, Dr. Hawkins wrote: >> >>> On Wed, Apr 6, 2016 at 6:05 AM, Ray wrote: >> >>> >> >>>> I thought of downloading it, updating it, and then putting it back on >> >> the >> >>>> server but that wouldn't work if two users simultaneously did so. >> Since >> >>>> I'll have many users using the database simultaneously everything has >> >> to be >> >>>> done on the server. I know only one user can write to an sqLite >> >> database >> >>>> at a time, but that only takes about 20 milliseconds if done on the >> >> server >> >>>> and the other writes get cued, something that wouldn't happen in the >> >>>> download/re-upload scenario. >> >>>> >> >>> You are going past what SQLite is meant to handle, and asking for >> >> trouble. >> >>> When SQLite writes, it changes a patch of disk (I couldn't tell you >> how >> >>> much). >> >>> >> >>> The other users won't be queued up waiting to write; they'll be >> getting >> >>> failure to open. >> >>> >> >>> You're either going to need a persistent middleware app running on the >> >>> server, or to follow the advice of the SQLite team: use postgres for >> >>> something like this. >> >>> >> >>> SQLite is wonderful, but it also knows it's limits. I use it >> in-memory, >> >>> and as a convenient way to throw backup files. >> >>> >> >>> And depending upon what you're doing, mySQL may not be an appropriate >> >>> choice. In particular, it doesn't handle real transactions. >> >>> >> >>> SQLite and postgres can handle >> >>> >> >>> BEGIN TRANSACTION; >> >>> >> >>> SELECT this from that; >> >>> >> >>> UPDATE that WITH thisstuff; >> >>> >> >>> UPDATE somethingElse WITH that >> >>> >> >>> END TRANSACTION; >> >>> >> >>> >> >>> whereas mySQL would do this as separate SELECT and two UPDATEs >> >>> >> >>> If you need either all or none of them to happen (e.g., dependencies >> and >> >>> consistency), mySQL is not your choice. >> >>> >> >>> postgres also means a single 20ms transaction for such things, while >> >> mySQL >> >>> would be three separate 20ms transactions. >> >>> >> >>> >> >> >> >> _______________________________________________ >> >> use-livecode mailing list >> >> use-livecode at 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 at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From ali.lloyd at livecode.com Wed Apr 6 16:17:13 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Wed, 06 Apr 2016 20:17:13 +0000 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <570554B5.1000003@hyperactivesw.com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> Message-ID: Jacque, you may want to read this blog post https://livecode.com/putting-the-you-in-documentation/ On Wed, Apr 6, 2016 at 7:25 PM J. Landman Gay wrote: > On 4/6/2016 1:45 AM, Monte Goulding wrote: > > I hadn?t seen the contributing to the docs guide so even though I > > know my way around GitHub it was fresh eyes on finding the docs. > > Here?s what I did: - openhttps://github.com/livecode/livecode/ > > That was my first hurdle. You already knew to go to the > livecode/livecode directory, which is clearly marked as an engine > folder. That's not intuitive, one would expect the dictionary to be in > the IDE directory. I know it's in the engine folder because reasons, but > only because I wrote here and you told me. I spent an inordinate amount > of time looking through all the others first. > > > - see > > the ?Contributing to LiveCode? section links to the CONTRIBUTING > > filehttps://github.com/livecode/livecode/blob/develop/CONTRIBUTING.md > > Second hurdle. After finally venturing into the livecode/livecode > directory I was met with a wall of activity. I scrolled, scrolled, > scrolled, and decided there was nothing I could use so backed out again. > > So I went back to the URL that Mark linked to, remembering I'd seen some > breadcrumbs in one of the screenshots (someone without that link would > have quit by now.) Some images were too small to read clearly so I spent > another ten minutes clicking each one to view it larger. I finally found > the one with breadcrumbs and headed back to the livecode/livecode > directory. I scrolled all the way past the wall of activity looking for > something familiar. I didn't see anything but I found the text > instructions way at the bottom. > > It discussed repositories and compiling and target platforms. I didn't > click the Contributing link because it seemed to apply to engine > contributions; that was the directory I was in, and that's what the text > discussed. > > I had to write to the list just to find out how to find out stuff. > > The uninitiated need a clear path to information. The top level entry > page should have its own directory labelled "Contributor Guides". In > that directory should be a link to information regarding engine > contributions, and a second link to the documentation guide. I would > have found it immediately. > > I still don't know what this elusive "viewer" is, but I'm not going to > bother with it. > > -- > > > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Apr 6 16:41:07 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 6 Apr 2016 15:41:07 -0500 Subject: Volunteer github guru for documentation submissions? In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> Message-ID: <57057463.8090102@hyperactivesw.com> On 4/6/2016 3:17 PM, Ali Lloyd wrote: > Jacque, you may want to read this blog post > https://livecode.com/putting-the-you-in-documentation/ I did, back when you posted it, and that's what made me decide I should pitch in. But I no longer had the reference handy. I'd like to see an easy way to get to the guide(s) without needing to find (or even know about) URLs that were posted somewhere in the past. If you could add a Contributor Info directory at the top level of the main livecode directory, it would help new people orient themselves easily. If it's too hard to find the info, people will give up. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Apr 6 16:44:55 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 6 Apr 2016 15:44:55 -0500 Subject: Volunteer github guru for documentation submissions? In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> Message-ID: <57057547.4010309@hyperactivesw.com> On 4/6/2016 3:17 PM, Ali Lloyd wrote: > Jacque, you may want to read this blog post > https://livecode.com/putting-the-you-in-documentation/ You know, even just linking to the blog post from github would have done the trick. We just need some kind of discoverable pathway over there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From peter.brett at livecode.com Wed Apr 6 16:48:03 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 6 Apr 2016 21:48:03 +0100 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <57057547.4010309@hyperactivesw.com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <57057547.4010309@hyperactivesw.com> Message-ID: <57057603.8010401@livecode.com> On 06/04/2016 21:44, J. Landman Gay wrote: > On 4/6/2016 3:17 PM, Ali Lloyd wrote: >> Jacque, you may want to read this blog post >> https://livecode.com/putting-the-you-in-documentation/ > > You know, even just linking to the blog post from github would have done > the trick. We just need some kind of discoverable pathway over there. I'm not sure we can do better than having a top-level file called "CONTRIBUTING" and a file called "docs/contributing_to_docs". I mean, that's the recommended, standard way to document how to contribute used across the majority of modern open source software. I'll look into moving the "Contributing to LiveCode" section towards the top of the README file. Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From peter.brett at livecode.com Wed Apr 6 16:49:06 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 6 Apr 2016 21:49:06 +0100 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <57057463.8090102@hyperactivesw.com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <57057463.8090102@hyperactivesw.com> Message-ID: <57057642.9000208@livecode.com> On 06/04/2016 21:41, J. Landman Gay wrote: > On 4/6/2016 3:17 PM, Ali Lloyd wrote: >> Jacque, you may want to read this blog post >> https://livecode.com/putting-the-you-in-documentation/ > > I did, back when you posted it, and that's what made me decide I should > pitch in. But I no longer had the reference handy. What happens when you type "how do I contribute to LiveCode documentation" into Google? Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From mwieder at ahsoftware.net Wed Apr 6 16:55:29 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 6 Apr 2016 13:55:29 -0700 Subject: Error: Unable to open the database file In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> <57052C28.1030608@LinkIt.Com> <570548F4.5000908@LinkIt.Com> Message-ID: <570577C1.1060206@ahsoftware.net> On 04/06/2016 01:03 PM, Peter Haworth wrote: > I'm just as lazy as the next developer Oh, I could probably give you a run for your money in the lazy race any day. -- Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Wed Apr 6 16:56:29 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 6 Apr 2016 13:56:29 -0700 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <57057547.4010309@hyperactivesw.com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <57057547.4010309@hyperactivesw.com> Message-ID: <570577FD.4010200@ahsoftware.net> On 04/06/2016 01:44 PM, J. Landman Gay wrote: > You know, even just linking to the blog post from github would have done > the trick. We just need some kind of discoverable pathway over there. > Nice idea. Seconded. -- Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Wed Apr 6 17:00:23 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 6 Apr 2016 14:00:23 -0700 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <57057642.9000208@livecode.com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <57057463.8090102@hyperactivesw.com> <57057642.9000208@livecode.com> Message-ID: <570578E7.3080809@ahsoftware.net> On 04/06/2016 01:49 PM, Peter TB Brett wrote: > What happens when you type "how do I contribute to LiveCode > documentation" into Google? The top hit is https://livecode.com/resources/guides/developers-guide/ and even though that's the wrong place to end up, it shouldn't be necessary to resort to a Google search. -- Mark Wieder ahsoftware at gmail.com From pete at lcsql.com Wed Apr 6 17:12:01 2016 From: pete at lcsql.com (Peter Haworth) Date: Wed, 06 Apr 2016 21:12:01 +0000 Subject: Error: Unable to open the database file In-Reply-To: <570577C1.1060206@ahsoftware.net> References: <5700B84D.1090305@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> <57052C28.1030608@LinkIt.Com> <570548F4.5000908@LinkIt.Com> <570577C1.1060206@ahsoftware.net> Message-ID: I just can't be bothered replying to that... On Wed, Apr 6, 2016 at 1:55 PM Mark Wieder wrote: > On 04/06/2016 01:03 PM, Peter Haworth wrote: > > > I'm just as lazy as the next developer > > Oh, I could probably give you a run for your money in the lazy race any > day. > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Wed Apr 6 17:52:43 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 6 Apr 2016 14:52:43 -0700 Subject: Error: Unable to open the database file In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> <57052C28.1030608@LinkIt.Com> <570548F4.5000908@LinkIt.Com> <570577C1.1060206@ahsoftware.net> Message-ID: <5705852B.80804@ahsoftware.net> On 04/06/2016 02:12 PM, Peter Haworth wrote: > I just can't be bothered replying to that... > > On Wed, Apr 6, 2016 at 1:55 PM Mark Wieder wrote: > >> On 04/06/2016 01:03 PM, Peter Haworth wrote: >> >>> I'm just as lazy as the next developer >> >> Oh, I could probably give you a run for your money in the lazy race any >> day. lol. tl;dr -- Mark Wieder ahsoftware at gmail.com From dan at clearvisiontech.com Wed Apr 6 20:42:38 2016 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 6 Apr 2016 17:42:38 -0700 Subject: Slash S in shortcut In-Reply-To: References: Message-ID: <69C4B6AE-9584-49CB-9293-32E88DC89AF7@clearvisiontech.com> Hello! I have a client who says they are getting a "the socket is closed" error when attempting to launch my LiveCode (7.0.1) EXE (which tries to download some files on launch). The EXE runs fine on some of their computers but not on others. I have many, many other clients that have no problem at all. This is unique to this client. After fiddling with it for sometime, they say they have a workaround: If they create a shortcut to the exe, and change the name of the shortcut from "appName.exe" to "appName.exe /s" then it works fine. Does this make sense to anyone? What does this mean? Thank you in advance, -Dan From prothero at earthednet.org Wed Apr 6 21:44:25 2016 From: prothero at earthednet.org (William Prothero) Date: Wed, 6 Apr 2016 18:44:25 -0700 Subject: Error: Unable to open the database file In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> <57052C28.1030608@LinkIt.Com> <570548F4.5000908@LinkIt.Com> Message-ID: Peter: Glad my stack was a help. Be careful with my mySQL php scripts. The examples are meant only as starting points. They allow for injection attacks if the inputs aren?t carefully filtered in Livecode before being formed into the query. You could modify the php so that each script does only a single operation, and that?s probably a better approach. Best, Bill > On Apr 6, 2016, at 12:57 PM, Peter Haworth wrote: > > This is where it gets interesting. My original plan was to directly > connect to mySQL from Livecode using the variableslist parameter to the > various Livecode db functions, which should protect against sql injection. > To be honest, I don't recall why I went away from that plan in favor of > middleware. > > Most web hosts will have a cPanel option to set up a mySQL database, > usually using phpMyAdmin and it's pretty straightforward if you are already > familiar with db structures. > > The only wrinkle I remember is that you have to specify for each db user > which hosts they can connect from in terms of an ip address or domains. > > In fact, I think that's what decided me on using middleware since then all > the db access is from your web hosts domain, thus one entry in the > allowable hosts table. In my case, my users were scattered across various > domains and all had dynamic ip addresses so it would have a been a pain to > keep all that up to date. > > I got a great start on the middleware scripts by downloading Bill's library > (thanks Bill). > > Pete > > On Wed, Apr 6, 2016 at 10:35 AM Ray wrote: > >> Yeah, my expectation is that we'll avoid injection issues using the PHP >> middleware. >> >> All in all, it seems like a pretty common need; to store on a server a >> database that multiple users are going to be updating. I wish there >> were some sort of a Livecode lesson which detailed several approaches to >> this including the necessary steps to set up the database on the remote >> server. Do you know of any? >> >> On 4/6/2016 12:42 PM, Peter Haworth wrote: >>> Hi Ray, >>> Lots of things for you to think about! As someone else mentioned, I >>> thought you were using a network file system rather than a web server. >>> >>> Just to set the record straight on a couple of things. >>> >>> mySQL does have transactions, as do all SQL implementations. They're >> part >>> of the SQL spec. postGresql may well have advantages over mySQL but that >>> isn't one of them. >>> >>> It's quite feasible to implement multi-user sqlite applications. There >> are >>> several examples on the SQLite web site and in fact their website is >> driven >>> by an sqlite database. Of course it depends on the needs of the >>> application, as it always does. >>> >>> There are many ways to handle queuing of db access when the db is locked. >>> There's a PRAGMA that controls how long the lock request should wait >> before >>> reporting it can't get the lock. It's easy to program that yourself in a >>> repeat loop/send in time structure too. >>> >>> I started a thread a few months back about direct calls to server-based >> SQL >>> databases from Livecode versus middleware which generated a lot of >> possible >>> approaches. I ended up going the middleware route using php scripts. My >>> Livecode app uses the POST command to send a code that indicates to the >>> server which SQL operation is to be executed along with all the data >> needed >>> to execute it. No SQL statements ever go over the connection so no sql >>> injection issues. That's just one possible implementation of course and >>> there are many other ways to do it. >>> >>> Good luck! >>> >>> On Wed, Apr 6, 2016 at 8:32 AM Ray wrote: >>> >>>> Richard - thanks for this advice. It's really quite helpful. We've >>>> abandoned the sqLite idea but I think mySQL should work fine. The >>>> purpose of this database is to maintain an index of bug reports. The bug >>>> reports themselves are actually Livecode stacks. The database will >>>> serve as an index to all bug reports. The plan is to have just single >>>> table of about four columns; username, bug name, date, and status. >>>> Hopefully it will stay this simple. >>>> >>>> Since we'll be updating an entire record at a time I don't think the >>>> lack of dependency will ever be a problem, but let me know what you >> think. >>>> >>>> Thanks, >>>> >>>> Ray >>>> >>>> On 4/6/2016 11:14 AM, Dr. Hawkins wrote: >>>>> On Wed, Apr 6, 2016 at 6:05 AM, Ray wrote: >>>>> >>>>>> I thought of downloading it, updating it, and then putting it back on >>>> the >>>>>> server but that wouldn't work if two users simultaneously did so. >> Since >>>>>> I'll have many users using the database simultaneously everything has >>>> to be >>>>>> done on the server. I know only one user can write to an sqLite >>>> database >>>>>> at a time, but that only takes about 20 milliseconds if done on the >>>> server >>>>>> and the other writes get cued, something that wouldn't happen in the >>>>>> download/re-upload scenario. >>>>>> >>>>> You are going past what SQLite is meant to handle, and asking for >>>> trouble. >>>>> When SQLite writes, it changes a patch of disk (I couldn't tell you how >>>>> much). >>>>> >>>>> The other users won't be queued up waiting to write; they'll be getting >>>>> failure to open. >>>>> >>>>> You're either going to need a persistent middleware app running on the >>>>> server, or to follow the advice of the SQLite team: use postgres for >>>>> something like this. >>>>> >>>>> SQLite is wonderful, but it also knows it's limits. I use it >> in-memory, >>>>> and as a convenient way to throw backup files. >>>>> >>>>> And depending upon what you're doing, mySQL may not be an appropriate >>>>> choice. In particular, it doesn't handle real transactions. >>>>> >>>>> SQLite and postgres can handle >>>>> >>>>> BEGIN TRANSACTION; >>>>> >>>>> SELECT this from that; >>>>> >>>>> UPDATE that WITH thisstuff; >>>>> >>>>> UPDATE somethingElse WITH that >>>>> >>>>> END TRANSACTION; >>>>> >>>>> >>>>> whereas mySQL would do this as separate SELECT and two UPDATEs >>>>> >>>>> If you need either all or none of them to happen (e.g., dependencies >> and >>>>> consistency), mySQL is not your choice. >>>>> >>>>> postgres also means a single 20ms transaction for such things, while >>>> mySQL >>>>> would be three separate 20ms transactions. >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Wed Apr 6 21:57:35 2016 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 7 Apr 2016 01:57:35 +0000 Subject: Set Image Reference to Relative Path In-Reply-To: <57020322.3070905@hyperactivesw.com> References: <57020322.3070905@hyperactivesw.com> Message-ID: ?Jacque wrote: It used to be that resources were copied into the same folder with the app executable. Then Apple changed the rules and disallowed resources like images and documents at that location. Instead, they had to go into ?a "resources" folder, separate from the executable. -- So if I read this correctly.. we should being this now, even locally, because the standalone builder is not auto generating a resource folder and moving files designated under "copy files" into such a folder. righ? /app source / myapp.livecode /resources img data scripts otherwise it will fail? This may explain why my latest test build is not working on iPhone 9.3.1. I looked at the bundle and there is no resources folder created automatically by the Standalone Builder I'm seeing this (where the SAB, copied the three folders I designated to the top level /app source / myapp.livecode img data scripts but, I am using function localPath put specialFolderPath("Resources") into tPath put "/" after tPath return tPath end localPath My external behavior scripts work on desktop but not on mobile. but the images are appearing...because we have a direct path but script only files are not being found because the iOS is looking for? /resource/scripts So that means in the future we need to create a folder "resources" and you a relative path like this /resources/img ? ?tree.jpg and also /resources/script ? ?scroller.livecodescript and assign the behavior to the object in the GUI from there? Good thing to know very early on...? On April 3, 2016 at 8:01:20 PM, J. Landman Gay (jacque at hyperactivesw.com(mailto:jacque at hyperactivesw.com)) wrote: > Relative paths have been around for a while and are pretty much > imperative for app distribution, since the user's filepaths won't be the > same as your development paths. > > It used to be that resources were copied into the same folder with the > app executable. Then Apple changed the rules and disallowed resources > like images and documents at that location. Instead, they had to go into > a "resources" folder, separate from the executable. > > To accomodate, LC now has a new-ish specialFolderPath("resources"). > During development it points to the same folder as the mainstack you're > working on; after the app is built, it points to the "resources" folder > inside the app bundle. In scripts, build file paths to > specialFolderPath("resources") and the paths will always resolve > correctly before and after compiling. For image references use > "resources/imgname.png". > > To accomdate legacy script and image references, the LC engine > automatically translates any relative paths and redirects them to the > resources folder. On non-Apple systems this structure isn't strictly > required, but since it works everywhere, it's an easy way to be > consistent cross-platform. From james at thehales.id.au Thu Apr 7 10:03:58 2016 From: james at thehales.id.au (James Hale) Date: Fri, 8 Apr 2016 00:03:58 +1000 Subject: Standalone (and stack in IDE) getting larger on each launch Message-ID: I have an app that stores the height of the main stack as a custom property. This main stack is called from a splash stack in the standalone. During preopencard I check the property and set the size of the mainstack accordingly. If there is no cp I set it to a default value. The user can change this and the app will store the new value. This almost works in that the cp is set and if the size is changed the stack does remember there is a change. However every time it opens it gets bigger by what I think is 22 pixels. I am on a Mac. What's weird is that if I check the cp value, it is as expected. If I check the stack height (in the property inspector,) it is as expected. It is the bottom of the stack that moves, all controls staying correct in their relationship to the top of the window. Now interestingly, if I use the resizing function to set the height of the stack to what I thought it should be, and what the cp and the property inspector of the stack (height) tells me it is, the stack shrinks back to what it should be and the stack height as displayed in the property inspector remains the same! Can anyone suggest what might be happening? Given the increase looks suspiciously like the menu at height could this be playing a part? I have discounted that as only the bottom of the stack seems to move. All controls stay put. James From bonnmike at gmail.com Thu Apr 7 11:42:17 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 7 Apr 2016 09:42:17 -0600 Subject: Standalone (and stack in IDE) getting larger on each launch In-Reply-To: References: Message-ID: If I recall correctly, yes this has to do with the way the menu bar is handled on a mac. The menu bar becomes part of the system menu causing strangeness. Does it work if you instead store the loc of the stack, and the card size? Then use the card size to set the size of the stack (perhaps with a send in time?) . (Its been a while since I've seen a discussion about this particular thing, so I'm guessing as to the workaround) Don't have my mac set up right now, so I can't test. On Thu, Apr 7, 2016 at 8:03 AM, James Hale wrote: > I have an app that stores the height of the main stack as a custom > property. This main stack is called from a splash stack in the standalone. > During preopencard I check the property and set the size of the mainstack > accordingly. > If there is no cp I set it to a default value. > The user can change this and the app will store the new value. > This almost works in that the cp is set and if the size is changed the > stack does remember there is a change. > However every time it opens it gets bigger by what I think is 22 pixels. > I am on a Mac. > What's weird is that if I check the cp value, it is as expected. > If I check the stack height (in the property inspector,) it is as expected. > It is the bottom of the stack that moves, all controls staying correct in > their relationship to the top of the window. > Now interestingly, if I use the resizing function to set the height of the > stack to what I thought it should be, and what the cp and the property > inspector of the stack (height) tells me it is, the stack shrinks back to > what it should be and the stack height as displayed in the property > inspector remains the same! > > Can anyone suggest what might be happening? > Given the increase looks suspiciously like the menu at height could this > be playing a part? I have discounted that as only the bottom of the stack > seems to move. All controls stay put. > > James > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Thu Apr 7 14:52:49 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 7 Apr 2016 13:52:49 -0500 Subject: Standalone (and stack in IDE) getting larger on each launch In-Reply-To: References: Message-ID: <5706AC81.7080202@hyperactivesw.com> On 4/7/2016 9:03 AM, James Hale wrote: > I have an app that stores the height of the main stack as a custom property. This main stack is called from a splash stack in the standalone. > During preopencard I check the property and set the size of the mainstack accordingly. > If there is no cp I set it to a default value. > The user can change this and the app will store the new value. > This almost works in that the cp is set and if the size is changed the stack does remember there is a change. > However every time it opens it gets bigger by what I think is 22 pixels. > I am on a Mac. > What's weird is that if I check the cp value, it is as expected. > If I check the stack height (in the property inspector,) it is as expected. > It is the bottom of the stack that moves, all controls staying correct in their relationship to the top of the window. > Now interestingly, if I use the resizing function to set the height of the stack to what I thought it should be, and what the cp and the property inspector of the stack (height) tells me it is, the stack shrinks back to what it should be and the stack height as displayed in the property inspector remains the same! > > Can anyone suggest what might be happening? > Given the increase looks suspiciously like the menu at height could this be playing a part? I have discounted that as only the bottom of the stack seems to move. All controls stay put. This sounds like the inverse of an old bug that used to truncate the stack height by the height of the menu bar. I understand that was fixed a while back, but maybe this is a regression that produces the opposite result. The original bug only happened on stacks that had their destroystack property set to true, and setting it to false was the workaround. You could tinker with that and see if it makes a difference. Sounds like a bug to me though and probably should be reported. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Thu Apr 7 15:45:56 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 7 Apr 2016 19:45:56 +0000 Subject: Widgets' Use Cases and Bytes Added to App In-Reply-To: <5703ECB1.10308@fourthworld.com> References: <5703E4C2.7010603@researchware.com> <5703ECB1.10308@fourthworld.com> Message-ID: <628CF563-5E25-433D-86BA-7960F6493BD5@iotecdigital.com> Some would call that an oxymoron. Bob S On Apr 5, 2016, at 09:49 , Richard Gaskin > wrote: thoroughly debugged From bobsneidar at iotecdigital.com Thu Apr 7 16:28:23 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 7 Apr 2016 20:28:23 +0000 Subject: The TSA Android app In-Reply-To: <570457C6.8050907@ahsoftware.net> References: <570457C6.8050907@ahsoftware.net> Message-ID: If anyone believes that the ones who approved these contracts didn't get huge kickbacks on that deal need to think again. In fact, if we were serious about cleaning up corruption in all levels of government, we would have to be prepared for the severe disruption of services, as the feds hauled significant numbers of government employees off to jail, and then we would have to pay for their prosecution, which would break the federal bank. Welcome to the real world. Bob S > On Apr 5, 2016, at 17:26 , Mark Wieder wrote: > > http://boingboing.net/2016/04/05/man-recreates-tsas-47400.html > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Apr 7 16:31:49 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 7 Apr 2016 20:31:49 +0000 Subject: Widgets' Use Cases and Bytes Added to App In-Reply-To: <0036BBF7-51D2-48F7-BFD6-2A6AD406E35C@gmail.com> References: <5703EAFA.5020208@fourthworld.com> <0036BBF7-51D2-48F7-BFD6-2A6AD406E35C@gmail.com> Message-ID: > On Apr 6, 2016, at 06:16 , Peter M. Brigham wrote: > > On Apr 5, 2016, at 10:10 PM, Sannyasin Brahmanathaswami wrote: > >> Oh No! I think I just lit a fire that will put me yet another learning curve. (smile) OH well... keeps the gray cells green! > > I have a bumper sticker on my car that reads "Oh, no, not another learning experience!" > I want one! Bob S From bobsneidar at iotecdigital.com Thu Apr 7 16:39:09 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 7 Apr 2016 20:39:09 +0000 Subject: Slash S in shortcut In-Reply-To: <69C4B6AE-9584-49CB-9293-32E88DC89AF7@clearvisiontech.com> References: <69C4B6AE-9584-49CB-9293-32E88DC89AF7@clearvisiontech.com> Message-ID: <7D6CD160-3879-4819-BCDE-A9FAA5069207@iotecdigital.com> very likely a DOS switch. /s probably does something in terms of the secuity context it launches in. Bob S > On Apr 6, 2016, at 17:42 , Dan Friedman wrote: > > Hello! > > I have a client who says they are getting a "the socket is closed" error when attempting to launch my LiveCode (7.0.1) EXE (which tries to download some files on launch). The EXE runs fine on some of their computers but not on others. I have many, many other clients that have no problem at all. This is unique to this client. After fiddling with it for sometime, they say they have a workaround: If they create a shortcut to the exe, and change the name of the shortcut from "appName.exe" to "appName.exe /s" then it works fine. Does this make sense to anyone? What does this mean? > > Thank you in advance, > -Dan > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Thu Apr 7 16:58:21 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 7 Apr 2016 13:58:21 -0700 Subject: Slash S in shortcut In-Reply-To: <69C4B6AE-9584-49CB-9293-32E88DC89AF7@clearvisiontech.com> References: <69C4B6AE-9584-49CB-9293-32E88DC89AF7@clearvisiontech.com> Message-ID: <5706C9ED.5080301@ahsoftware.net> On 04/06/2016 05:42 PM, Dan Friedman wrote: If they create a shortcut to the exe, and change the name of the shortcut from "appName.exe" to "appName.exe /s" then it works fine. Does this make sense to anyone? What does this mean? Don't know whether this will help or not. http://stackoverflow.com/questions/9866962/what-is-cmd-s-for But maybe you should ask them why they append the slash-s. -- Mark Wieder ahsoftware at gmail.com From pmbrig at gmail.com Thu Apr 7 17:26:38 2016 From: pmbrig at gmail.com (Peter M. Brigham) Date: Thu, 7 Apr 2016 17:26:38 -0400 Subject: Widgets' Use Cases and Bytes Added to App In-Reply-To: References: <5703EAFA.5020208@fourthworld.com> <0036BBF7-51D2-48F7-BFD6-2A6AD406E35C@gmail.com> Message-ID: On Apr 7, 2016, at 4:31 PM, Bob Sneidar wrote: > >> On Apr 6, 2016, at 06:16 , Peter M. Brigham wrote: >> >> On Apr 5, 2016, at 10:10 PM, Sannyasin Brahmanathaswami wrote: >> >>> Oh No! I think I just lit a fire that will put me yet another learning curve. (smile) OH well... keeps the gray cells green! >> >> I have a bumper sticker on my car that reads "Oh, no, not another learning experience!" > > I want one! I made it myself. There are several websites that let you upload a jpg and will turn it into a bumper sticker. And at least one that will allow you to just type text, format it, and choose colors. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From sc at sahores-conseil.com Thu Apr 7 18:38:52 2016 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 8 Apr 2016 00:38:52 +0200 Subject: Fwd: Siege benchmarks for Pierre References: <5E0F388F-7DDB-4E9A-B28B-A7A49DED440E@orange.fr> Message-ID: <4A668BA4-5E0B-4167-BF5E-5A35782E66A3@sahores-conseil.com> Good Evening Everyone, Same tests done against Citalis, a real world web app next to come live online in its OpenLiteSpeed + Livecode CGI + MySQL version and on GITHUB for download in its two OpenResty's prefered versions (Livecode application?s server, LuaJIT + Redis, both powered by a PostgreSQL database). TCP socket?s application's server magnitude : Asus X200CA, 14.04, Openresty 1.9.7 (Nginx, LuaJIT powering the Lua load balanced socket?s proxy, Livecode application?s and cache server, PostgreSQL 9.3 > root at pierre-X200CA:/home/pierre# siege -b -c 100 -r 50 -q http://192.168.1.15/citalis.lls > done. > > Transactions: 5000 hits > Availability: 100.00 % > Elapsed time: 7.28 secs > Data transferred: 22.67 MB > Response time: 0.14 secs > Transaction rate: 686.81 trans/sec > Throughput: 3.11 MB/sec > Concurrency: 98.73 > Successful transactions: 5000 > Failed transactions: 0 > Longest transaction: 0.17 > Shortest transaction: 0.01 FastCGI magnitude : Asus X200CA, 14.04, Openresty 1.9.7 (Nginx, LuaJIT powering there the core application), Redis 2.8 (cache server), PostgreSQL 9.3 > > root at pierre-X200CA:/home/pierre# siege -b -c 100 -r 50 -q http://192.168.1.15/citalis.orc > done. > > Transactions: 5000 hits > Availability: 100.00 % > Elapsed time: 21.43 secs > Data transferred: 48.66 MB > Response time: 0.42 secs > Transaction rate: 233.32 trans/sec > Throughput: 2.27 MB/sec > Concurrency: 98.84 > Successful transactions: 5000 > Failed transactions: 0 > Longest transaction: 0.44 > Shortest transaction: 0.01 > CGI magnitude : Asus X200CA, 14.04, Openresty 1.9.7 (Nginx, LuaJIT unused at all there), FCGIWrap, Livecode CGI server, PostgreSQL 9.3 > > root at pierre-X200CA:/home/pierre# siege -b -c 100 -r 50 -q http://192.168.1.15/citalis.lc > ^ done. > > Transactions: 5000 hits > Availability: 100.00 % > Elapsed time: 738.69 secs > Data transferred: 48.74 MB > Response time: 14.64 secs > Transaction rate: 6.77 trans/sec > Throughput: 0.07 MB/sec > Concurrency: 99.09 > Successful transactions: 5000 > Failed transactions: 0 > Longest transaction: 17.29 > Shortest transaction: 1.32 Story made short : in keeping LC CGI server as the unit reference of 1, 1.- the LuaJIT fastCGI platform is 34 X times faster; 2.- the Livecode AS platform is 100 X times faster. Cheers, Pierre > Le 29 mars 2016 ? 22:29, Richard Gaskin a ?crit : > > Pierre Sahores wrote: > >>> Le 29 mars 2016 ? 17:44, Richard Gaskin a ?crit : >>> >>> Pierre Sahores wrote: > ... >> Interesting reads even if the 2d article's last test related to >> micro-caching needs to be read with care... > > Understood. I offered them merely as inspiration for the scope of specialized services that can be delivered on super-affordable VPSes. Mine are costing only US$5 and US$6 per month, and both are well below capacity when running these stress tests. > > Of course each type of app will have its own unique requirements, but my crude early tests coupled with the results we see elsewhere reinforce your ongoing support for LiveCode as a very powerful addition to one's server-side toolkit. > > >> If you read this, Mark, Kevin,? Well powered behind an Opentesty >> front-end (Nginx/LuaJIT), Livecode application?s server (demon fork) >> can do exactly all what Tarantool is able to do ? et r?ciproquement >> ?, no less, no more while, in the mean time, Tomcat, JBoss2, >> Websphere, etc? just can?t, even in a very more costly price range >> (millions), as i use to verify it recently in being hired for an >> audit of one of the two SAP Hybris multi canal e-commerce suite / >> associated soft/hardware infrastructure handling the online shop >> services of the french ? La Poste ? postal service company... > > I would imagine interest is quite high in such things at the company. > > The nature of these types of deployments make it a longer-term payoff for them, as GPL works well for server work. > > But systems like these can put LiveCode into the hands of some very interesting companies, and used in conjunction with other smart tools like NginX and postreSQL can provide a unique advantage for rapid deployment of microservices. > > >>> But my test setup was a bit weirder: lcHTTPd doesn't use Apache at >>> at all. >>> >>> The only thing handling the transactions is that one humble >>> single-threaded LC standalone process. >> >> Probably not the best way to go to setup a slave-mode reliable and >> WAF well protected server-side solution. I would recommend, at least, >> a basic Apache+LC CGI server configuration instead or, best, a >> Nginx+FCGIWrap+LC CGI server. The solutions available permits to >> deliver 50 pages/second on appropriate VPS or hosting services and >> on the reliability side, WAF configuration included), such >> configuration really helps to avoid big problems (unreachability, >> data loss, piracy, etc?). > > Exactly. These early tests were merely to measure the effectiveness of LC's message-based network I/O. The advantage of any scripting language isn't up front -- too many great tools like NginX for that role. > > Where LC can shine is as a worker behind NginX. And there all results seen thus far suggest it can shine brightly. > > >>> Once moved behind a reverse proxy such a tool could easily handle >>> very high loads, using the LC engine we know and love today. >> >> For sure, clearly preferable : LC CGI is?t aimed to be an F-16 in >> about speed BUT IT IS 100% RELIABLE AS LONG IT IS CLEANLY CONFIGURED >> AND RUNS WELL CODED ROW OR, BEST, REVIGNITER POWERED SOLUTIONS. > > ...or far faster and more scalable, leave the bounds of CGI behind and use sockets with a standalone. > > It would take only minimal work to craft a glue lib for RevIgniter or Andre's revSpark to work with a standalone rather than the CGI-dependent LC Server. > > >> note : see about MessagePack : http://msgpack.org/ > > Good stuff. > > And in those cases where the client is also LiveCode we can use LSON (LiveCode encoded arrays) for superfast transport and decoding. > > > >>> Did you see Charles Warwick's post last June about a Docker >>> container for LC Server?: >>> http COLON SLASH SLASH > lists.runrev.com/pipermail/use-livecode/2015-July/216882.html >> >> I did?t. Thanks for pointing it out to me. Will read it attentively. >> On the other hand, i did, months ago, extensive tests in running a >> good num of Docker VM and to the end, i went to the conclusion that >> such configurations can?t compete against real-world configuration >> because the Docker concept itself : well to slow to replace >> production?s dedicated platforms. > > That may be a role where Juju could come in, but the more I think about this for needs as modest as my own the more I think there's an opportunity for something far simpler: > > Rather than Docker or Juju or something else that requires a managing process running on the server, a VPS is already "containerized" by virtue of the "V" in "VPS" - so why not use a simple bash script to download the various LiveCode elements, put them into place and set permissions, install any databases desired, config SSH and UFW to reflect how one wants to use the machine. > > Given some time I could write a GUI that can generate such bash scripts, but there's the rub: "given some time". :) > > >> did you test an Ubuntu smartphone / tablet ? I?m really curious about >> this and no far from abandoning Android after iOS for my personal >> needs if it can work as smoothly on phone as it runs on our laptops >> and server today ;D > > I've spent several minutes with an Ubuntu phone at the UbuCon Summit here in February. Very nice implementation, with some bold ideas about what an application is with their "scopes". > > Personally I'm quite immersed in the Android ecosystem, but as a developer my hope is the Linux/ARM LiveCode engine could be outfitted with glue for Qt using LC Builder and then we can add Ubuntu Touch to the mobile deployment platforms. > > > >>> PS - Note on funky URL formats: This is my fifth attempt to send >>> this email to the list.... >> >> PS : sent this one from mail (El Capitan) without tourbe. Seems to be >> OK when i use Thunderbird from Ubuntu 14.04 too. Did you report this >> to David ? > > Heather's recommendation is to send such requests to support AT for best routing, which I've done. > > >> PS2: I?m a Debian and Ubuntu fan. Would never roll back anymore to >> Suse (so fine before being sold to Netware) or RedHat/CentOS? > > Red Hat's been a very generous sponsor of our local Linux user group, and they've had so much success in recent years I certainly have no complaints. And I admire the design goals of Fedora, and others. > > But like you, I've been rather enamored of Ubuntu, both client and server. It's popular enough that it no longer feels particularly adventurous to use it - it's no more of a niche these days than choosing Mac or any other non-Windows system. But ah, the flexibility.... > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From ambassador at fourthworld.com Thu Apr 7 18:57:44 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 7 Apr 2016 15:57:44 -0700 Subject: Fwd: Siege benchmarks for Pierre In-Reply-To: <4A668BA4-5E0B-4167-BF5E-5A35782E66A3@sahores-conseil.com> References: <4A668BA4-5E0B-4167-BF5E-5A35782E66A3@sahores-conseil.com> Message-ID: <5706E5E8.5080101@fourthworld.com> Pierre Sahores wrote: > Story made short : in keeping LC CGI server as the unit reference of 1, > > 1.- the LuaJIT fastCGI platform is 34 X times faster; > 2.- the Livecode AS platform is 100 X times faster. Great stuff, Pierre - thanks! The lesson I'm learning from our benchmarks in this thread: If you need scale, no need to wait for some future FastCGI implementation of LiveCode Server - just use a VPS and put LiveCode standalones behind a load balancer. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobsneidar at iotecdigital.com Thu Apr 7 19:11:55 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 7 Apr 2016 23:11:55 +0000 Subject: Missing Functionality Message-ID: <2C74DBAB-4135-4061-B76C-B125CA3459DB@iotecdigital.com> Hi all. When compiling standalones, I am having difficulty with certain functionality. For example, I just compiled an app with a field that has this script: on closeField if not isTime(me) then answer warning "Please enter a valid time in hh:mm format." as sheet put empty into me end if if field "fldStartTime" is empty then exit closeField put timeCalc(field "fldStartTime", me) into field "fldTotalTime" end closeField isTime and timeCalc are both contained in the card script, and they work in the IDE, but not in the standalone. These functions use the convert command pretty extensively. I have had a similar experience with compiling a much larger project, where the revMail function does not work in a standalone, but does in the IDE. Any ideas? The first project is a very simple one card project. I have Livecode determine which libraries to include. I could just select ALL the libraries, but that would make my project larger than it needs to be. I am using version 6.7.6 build 5033 in OS X 10.10.5 (although I seriously doubt the OS version has anything to do with it). I do not have the funds to upgrade at this time so that explains why I am using 6.7.6 right now, plus each time I attempt to use a version 7 that I can still download, I have serious problems with my projects, and end up reverting for safety's sake. Bob S From dochawk at gmail.com Thu Apr 7 19:31:45 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 7 Apr 2016 16:31:45 -0700 Subject: Error: Unable to open the database file In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> <57052C28.1030608@LinkIt.Com> <570548F4.5000908@LinkIt.Com> Message-ID: On Wed, Apr 6, 2016 at 1:03 PM, Peter Haworth wrote: > Now you've got me worried! I had the impression that since the php scripts > run on my server and access the mySQL database on the same server, there > wouldn't be any sql injection issues, particularly since I never send any > SQL statements from my client app to the server. > In the middle of the text, a user puts something like '; || SELECT * FROM fizzbin ;DROP TABLE fizz bin; SELECT ' I've probably hacked up the syntax, and there might be an intermediate query needed to get the table name, but something like this grabs all your data and deletes it while you thought you were doing an INSERT or such. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Thu Apr 7 20:04:09 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 7 Apr 2016 17:04:09 -0700 Subject: Error: Unable to open the database file In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> <57052C28.1030608@LinkIt.Com> <570548F4.5000908@LinkIt.Com> Message-ID: <5706F579.2020502@ahsoftware.net> On 04/07/2016 04:31 PM, Dr. Hawkins wrote: > I've probably hacked up the syntax, and there might be an intermediate > query needed to get the table name, but something like this grabs all your > data and deletes it while you thought you were doing an INSERT or such. Kids... don't try this at home... -- Mark Wieder ahsoftware at gmail.com From hh at livecode.org Thu Apr 7 19:56:34 2016 From: hh at livecode.org (-hh) Date: Thu, 7 Apr 2016 16:56:34 -0700 (PDT) Subject: Slash S in shortcut In-Reply-To: <5706C9ED.5080301@ahsoftware.net> References: <69C4B6AE-9584-49CB-9293-32E88DC89AF7@clearvisiontech.com> <5706C9ED.5080301@ahsoftware.net> Message-ID: <1460073394900-4703225.post@n4.nabble.com> Yet another guess. If they are setting a permanent link via SETX then "/s nfo" is an optional parameter to the path, where nfo is a host name or ip address. Default (that is an empty nfo) is the local host. mwieder wrote > Dan Friedman wrote: > > If they create a shortcut to the exe, and change the name of the > shortcut from "appName.exe" to "appName.exe /s" then it works fine. > Does this make sense to anyone? What does this mean? > > Don't know whether this will help or not. > http://stackoverflow.com/questions/9866962/what-is-cmd-s-for > > But maybe you should ask them why they append the slash-s. > > -- > Mark Wieder -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Slash-S-in-shortcut-tp4703208p4703225.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Thu Apr 7 20:34:10 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 7 Apr 2016 17:34:10 -0700 Subject: Missing Functionality In-Reply-To: <2C74DBAB-4135-4061-B76C-B125CA3459DB@iotecdigital.com> References: <2C74DBAB-4135-4061-B76C-B125CA3459DB@iotecdigital.com> Message-ID: <5706FC82.8000904@fourthworld.com> Bob Sneidar wrote: >...each time I attempt to use a version 7 that I can still download, > I have serious problems with my projects, and end up reverting for > safety's sake. What sort of problems? We should make sure those are fixed in v8 ASAP. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From pete at lcsql.com Thu Apr 7 21:41:39 2016 From: pete at lcsql.com (Peter Haworth) Date: Fri, 08 Apr 2016 01:41:39 +0000 Subject: Error: Unable to open the database file In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> <57052C28.1030608@LinkIt.Com> <570548F4.5000908@LinkIt.Com> Message-ID: Right, I think I have that covered since I prepare and bind the data in separate steps using the php functions for those purposes. So instead of assembling a SELECT statement like this: SELECT col1,col2,col3 FROM table WHERE col4='' ... and then executing it directly, I prepare this statement: SELECT col1,col2,col3 FROM table WHERE col4=? ...and then bind the supplied user data to the ? placeholder. Any injected data for the col4 value is treated as part of the value to be searched for in col4 rather than an extension of the SELECT statement. That's why is it is so important to use the variableslist parameter of the LC DB functions if you are connecting directly to a database server. At least I think that's how it works.... On Thu, Apr 7, 2016 at 4:31 PM Dr. Hawkins wrote: > On Wed, Apr 6, 2016 at 1:03 PM, Peter Haworth wrote: > > > Now you've got me worried! I had the impression that since the php > scripts > > run on my server and access the mySQL database on the same server, there > > wouldn't be any sql injection issues, particularly since I never send any > > SQL statements from my client app to the server. > > > > In the middle of the text, a user puts something like > > '; || SELECT * FROM fizzbin ;DROP TABLE fizz bin; SELECT ' > > > I've probably hacked up the syntax, and there might be an intermediate > query needed to get the table name, but something like this grabs all your > data and deletes it while you thought you were doing an INSERT or such. > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Thu Apr 7 22:18:39 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 7 Apr 2016 19:18:39 -0700 Subject: Error: Unable to open the database file In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> <57052C28.1030608@LinkIt.Com> <570548F4.5000908@LinkIt.Com> Message-ID: <570714FF.7050400@ahsoftware.net> On 04/07/2016 06:41 PM, Peter Haworth wrote: > Right, I think I have that covered since I prepare and bind the data in > separate steps using the php functions for those purposes. > > So instead of assembling a SELECT statement like this: > > SELECT col1,col2,col3 FROM table WHERE col4='' > > ... and then executing it directly, I prepare this statement: > > SELECT col1,col2,col3 FROM table WHERE col4=? > > ...and then bind the supplied user data to the ? placeholder. Any injected > data for the col4 value is treated as part of the value to be searched for > in col4 rather than an extension of the SELECT statement. ... WHERE col4='*' or 1=1; -- Mark Wieder ahsoftware at gmail.com From tfabacher at gmail.com Thu Apr 7 23:30:38 2016 From: tfabacher at gmail.com (Todd Fabacher) Date: Thu, 7 Apr 2016 23:30:38 -0400 Subject: Load PDF in mobile browser Message-ID: I am trying to load a pdf in the LiveCode mobile browser, but it does not load: https://news.universal-info.com/article.php?article_z=DVQb58x0MPY=&action=download&key=1633709899066f9d11dc32b0d6a0a634 I could maybe download it, But I have been reading that in Android that the browser will not load a PDF from a file. What am I doing wrong? mobileControlCreate "browser" *put* the result into lBrowserID *## get the id of the created browser* *# set up the basic defaults* mobileControlSet lBrowserID, "rect", the rect of image "Browser"of this card mobileControlSet lBrowserID, "visible", "true" mobileControlSet lBrowserID, "url", pURL Thanks for the help, Todd From monte at appisle.net Thu Apr 7 23:32:42 2016 From: monte at appisle.net (Monte Goulding) Date: Fri, 8 Apr 2016 13:32:42 +1000 Subject: Load PDF in mobile browser In-Reply-To: References: Message-ID: <887E7A5A-F69B-4A44-B3C6-8DA6A81DE6B8@appisle.net> > On 8 Apr 2016, at 1:30 PM, Todd Fabacher wrote: > > I could maybe download it, But I have been reading that in Android that the > browser will not load a PDF from a file. That is correct or at least it was last time I investigated it. From dunbarx at aol.com Fri Apr 8 00:01:07 2016 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 8 Apr 2016 00:01:07 -0400 Subject: Missing Functionality In-Reply-To: <2C74DBAB-4135-4061-B76C-B125CA3459DB@iotecdigital.com> References: <2C74DBAB-4135-4061-B76C-B125CA3459DB@iotecdigital.com> Message-ID: <153f407d633-3235-151c1@webprd-a46.mail.aol.com> Bob. I cannot speak to your particular issue, but I too have found instances where a stack in the IDE works fine, and its standalones do not. It is a little unnerving, as I cavalierly assume that magic just happens in that process, instead of standing in awe, it being a miracle that it does. Craig Newman -----Original Message----- From: Bob Sneidar To: How to use LiveCode Sent: Thu, Apr 7, 2016 7:13 pm Subject: Missing Functionality Hi all. When compiling standalones, I am having difficulty with certain functionality. For example, I just compiled an app with a field that has this script: on closeField if not isTime(me) then answer warning "Please enter a valid time in hh:mm format." as sheet put empty into me end if if field "fldStartTime" is empty then exit closeField put timeCalc(field "fldStartTime", me) into field "fldTotalTime" end closeField isTime and timeCalc are both contained in the card script, and they work in the IDE, but not in the standalone. These functions use the convert command pretty extensively. I have had a similar experience with compiling a much larger project, where the revMail function does not work in a standalone, but does in the IDE. Any ideas? The first project is a very simple one card project. I have Livecode determine which libraries to include. I could just select ALL the libraries, but that would make my project larger than it needs to be. I am using version 6.7.6 build 5033 in OS X 10.10.5 (although I seriously doubt the OS version has anything to do with it). I do not have the funds to upgrade at this time so that explains why I am using 6.7.6 right now, plus each time I attempt to use a version 7 that I can still download, I have serious problems with my projects, and end up reverting for safety's sake. Bob S _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Apr 8 01:47:02 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 08 Apr 2016 00:47:02 -0500 Subject: Missing Functionality In-Reply-To: <2C74DBAB-4135-4061-B76C-B125CA3459DB@iotecdigital.com> References: <2C74DBAB-4135-4061-B76C-B125CA3459DB@iotecdigital.com> Message-ID: <153f468cbf0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> We'd need more info to help. I don't see anything wrong with the handler but we'd need to see the functions. What exactly fails? Do you see the dialog? Have you put answer statements in to see how far the handler gets before failing? You can also log to the Console if you don't want to use answer. There's nothing in what you posted that would require any additional libraries, but I don't know what the functions might need. The convert command doesn't need a library and is pretty reliable. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 7, 2016 6:13:07 PM Bob Sneidar wrote: > Hi all. > > When compiling standalones, I am having difficulty with certain > functionality. For example, I just compiled an app with a field that has > this script: > > on closeField > if not isTime(me) then > answer warning "Please enter a valid time in hh:mm format." as sheet > put empty into me > end if > > if field "fldStartTime" is empty then exit closeField > > put timeCalc(field "fldStartTime", me) into field "fldTotalTime" > end closeField > > isTime and timeCalc are both contained in the card script, and they work in > the IDE, but not in the standalone. These functions use the convert command > pretty extensively. I have had a similar experience with compiling a much > larger project, where the revMail function does not work in a standalone, > but does in the IDE. Any ideas? > > The first project is a very simple one card project. I have Livecode > determine which libraries to include. I could just select ALL the > libraries, but that would make my project larger than it needs to be. > > I am using version 6.7.6 build 5033 in OS X 10.10.5 (although I seriously > doubt the OS version has anything to do with it). I do not have the funds > to upgrade at this time so that explains why I am using 6.7.6 right now, > plus each time I attempt to use a version 7 that I can still download, I > have serious problems with my projects, and end up reverting for safety's sake. > > Bob S > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at livecode.org Fri Apr 8 07:21:29 2016 From: hh at livecode.org (-hh) Date: Fri, 8 Apr 2016 04:21:29 -0700 (PDT) Subject: Missing Functionality In-Reply-To: <2C74DBAB-4135-4061-B76C-B125CA3459DB@iotecdigital.com> References: <2C74DBAB-4135-4061-B76C-B125CA3459DB@iotecdigital.com> Message-ID: <1460114489759-4703233.post@n4.nabble.com> My experiences are some problems that come from the dialog ("answer/ask"). There are several bug reports to that, e.g. returning wrong "button clicked". You could give this a try: Leave out the iconType ("warning") and the displayType ("as sheet") in the answer dialog and check the returned info (it and the result). Bob Sneidar-2 wrote > Hi all. > > When compiling standalones, I am having difficulty with certain > functionality. > For example, I just compiled an app with a field that has this script: > > on closeField > if not isTime(me) then > answer warning "Please enter a valid time in hh:mm format." as sheet > put empty into me > end if > > if field "fldStartTime" is empty then exit closeField > > put timeCalc(field "fldStartTime", me) into field "fldTotalTime" > end closeField > > isTime and timeCalc are both contained in the card script, and they work > in the IDE, but not in the standalone. These functions use the convert > command pretty extensively. I have had a similar experience with compiling > a much larger project, where the revMail function does not work in a > standalone, but does in the IDE. Any ideas? > > The first project is a very simple one card project. I have Livecode > determine which libraries to include. I could just select ALL the > libraries, > but that would make my project larger than it needs to be. > > I am using version 6.7.6 build 5033 in OS X 10.10.5 (although I seriously > doubt the OS version has anything to do with it). I do not have the funds > to > upgrade at this time so that explains why I am using 6.7.6 right now, plus > each time I attempt to use a version 7 that I can still download, I have > serious problems with my projects, and end up reverting for safety's sake. > > Bob S -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Missing-Functionality-tp4703222p4703233.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobsneidar at iotecdigital.com Fri Apr 8 11:04:18 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 8 Apr 2016 15:04:18 +0000 Subject: Missing Functionality In-Reply-To: <153f468cbf0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <2C74DBAB-4135-4061-B76C-B125CA3459DB@iotecdigital.com> <153f468cbf0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Hi Jacque. For the revmail issue, I put a simple revmail one line handler in a button script in a new stack and compiled it as a standalone. In the IDE it launches the Apple Mail program and fills in the fields with whatever was in the arguments. In the standalone it does nothing. It fails silently. In the time calculator, another simple app, the only Livecode command I call is the convert command. That also fails silently. I would have to do some logging to narrow it down. I just wanted to know if anyone has seen this before, and if there is some workaround. Bob S > On Apr 7, 2016, at 22:47 , J. Landman Gay wrote: > > We'd need more info to help. I don't see anything wrong with the handler but we'd need to see the functions. What exactly fails? Do you see the dialog? Have you put answer statements in to see how far the handler gets before failing? You can also log to the Console if you don't want to use answer. > > There's nothing in what you posted that would require any additional libraries, but I don't know what the functions might need. The convert command doesn't need a library and is pretty reliable. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > On April 7, 2016 6:13:07 PM Bob Sneidar wrote: > >> Hi all. >> >> When compiling standalones, I am having difficulty with certain functionality. For example, I just compiled an app with a field that has this script: >> >> on closeField >> if not isTime(me) then >> answer warning "Please enter a valid time in hh:mm format." as sheet >> put empty into me >> end if >> >> if field "fldStartTime" is empty then exit closeField >> >> put timeCalc(field "fldStartTime", me) into field "fldTotalTime" >> end closeField >> >> isTime and timeCalc are both contained in the card script, and they work in the IDE, but not in the standalone. These functions use the convert command pretty extensively. I have had a similar experience with compiling a much larger project, where the revMail function does not work in a standalone, but does in the IDE. Any ideas? >> >> The first project is a very simple one card project. I have Livecode determine which libraries to include. I could just select ALL the libraries, but that would make my project larger than it needs to be. >> >> I am using version 6.7.6 build 5033 in OS X 10.10.5 (although I seriously doubt the OS version has anything to do with it). I do not have the funds to upgrade at this time so that explains why I am using 6.7.6 right now, plus each time I attempt to use a version 7 that I can still download, I have serious problems with my projects, and end up reverting for safety's sake. >> >> Bob S >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Fri Apr 8 11:39:55 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 8 Apr 2016 08:39:55 -0700 Subject: Missing Functionality In-Reply-To: References: Message-ID: <5707D0CB.7070909@fourthworld.com> Bob Sneidar wrote: > For the revmail issue, I put a simple revmail one line handler in > a button script in a new stack and compiled it as a standalone. In > the IDE it launches the Apple Mail program and fills in the fields > with whatever was in the arguments. In the standalone it does > nothing. It fails silently. > > In the time calculator, another simple app, the only Livecode command > I call is the convert command. That also fails silently. It sounds like the LC libs aren't being initialized. Do you have a preOpenbackground handler on the first card of your standalone? If so, try passing that message. The silent fail is a an unfortunate IDE design decision, in which the error reporting dialog is not included by default. Add that (see the last pane of the Standalone Builder) and I'll be what you get is a "handler not found" error. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From tfabacher at gmail.com Fri Apr 8 13:10:54 2016 From: tfabacher at gmail.com (Todd Fabacher) Date: Fri, 8 Apr 2016 13:10:54 -0400 Subject: Load PDF in mobile browser Message-ID: Thanks Monte, So is seems only two options: Use Google Docs: put "http://docs.google.com/gview?embedded=true&url=" before tURL or use mergExt to open on Android These seem to be my only two options? Any suggestions would be appreciated. I like LiveCode, but sometimes it gets so frustrating when even the basics are not there. We pushed the client to use LiveCode. The IT director said it would be a mistake, now I have pie in my face again because there always seems to be something that does not work. Very Frustrating, it's not easy to get people to agree to use LC. My hope is all this goes away in LC8. Would someone please start working on a PDF viewer, it is MUCH needed. I will be your first client. Thanks, Todd From pete at lcsql.com Fri Apr 8 13:25:53 2016 From: pete at lcsql.com (Peter Haworth) Date: Fri, 08 Apr 2016 17:25:53 +0000 Subject: Error: Unable to open the database file In-Reply-To: <570714FF.7050400@ahsoftware.net> References: <5700B84D.1090305@hyperactivesw.com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> <57052C28.1030608@LinkIt.Com> <570548F4.5000908@LinkIt.Com> <570714FF.7050400@ahsoftware.net> Message-ID: Gave that a whirl with col4=? and a bind parameter of "*" OR 1=1 for it and it returned no data. Pretty sure it takes the whole string as a search value for col4. On Thu, Apr 7, 2016 at 7:19 PM Mark Wieder wrote: > On 04/07/2016 06:41 PM, Peter Haworth wrote: > > Right, I think I have that covered since I prepare and bind the data in > > separate steps using the php functions for those purposes. > > > > So instead of assembling a SELECT statement like this: > > > > SELECT col1,col2,col3 FROM table WHERE col4='' > > > > ... and then executing it directly, I prepare this statement: > > > > SELECT col1,col2,col3 FROM table WHERE col4=? > > > > ...and then bind the supplied user data to the ? placeholder. Any > injected > > data for the col4 value is treated as part of the value to be searched > for > > in col4 rather than an extension of the SELECT statement. > > ... WHERE col4='*' or 1=1; > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Fri Apr 8 14:56:31 2016 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 8 Apr 2016 11:56:31 -0700 Subject: Error: Unable to open the database file In-Reply-To: <5706F579.2020502@ahsoftware.net> References: <5700B84D.1090305@hyperactivesw.com> <570405BE.2060905@hyperactivesw.com> <5704064F.5010807@LinkIt.Com> <570420B7.8040804@LinkIt.Com> <570442C3.9070309@LinkIt.Com> <5704513E.3000601@LinkIt.Com> <57047996.5020604@LinkIt.Com> <57050998.7060206@LinkIt.Com> <57052C28.1030608@LinkIt.Com> <570548F4.5000908@LinkIt.Com> <5706F579.2020502@ahsoftware.net> Message-ID: On Thu, Apr 7, 2016 at 5:04 PM, Mark Wieder wrote: > Kids... don't try this at home... Err, yes. One of the reasons I made no effort to insure that it was correct! -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From t.heaford at icloud.com Fri Apr 8 16:00:44 2016 From: t.heaford at icloud.com (Terence Heaford) Date: Fri, 08 Apr 2016 21:00:44 +0100 Subject: 6.7.11 (RC1) Mac Message-ID: <96664C9E-3C41-4641-8A15-646A2E1890B0@icloud.com> Thought I?d give this a try. There must be something wrong with the installer because overtime I try and run it i get: It runs the installer rather than the app and I get: ?LiveCode Community 6.7.11 (rc 1)? is an application downloaded from the Internet. Are you sure you want to open it? All the best Terry From monte at appisle.net Fri Apr 8 16:09:21 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 9 Apr 2016 06:09:21 +1000 Subject: Load PDF in mobile browser In-Reply-To: References: Message-ID: Todd before ranting about LiveCode do a little research please. This isn't a LiveCode issue it is an Android issue as their browser doesn't have PDF support unlike every other platform. There is a third option now I believe because Intent support is now in the engine but I haven't had an opportunity to play with that so others might like to chime in on what to do there. Cheers Monte Sent from my iPhone > On 9 Apr 2016, at 3:10 AM, Todd Fabacher wrote: > > I like LiveCode, but sometimes it gets so frustrating when even the basics > are not there. From jacque at hyperactivesw.com Fri Apr 8 16:17:14 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 8 Apr 2016 15:17:14 -0500 Subject: 6.7.11 (RC1) Mac In-Reply-To: <96664C9E-3C41-4641-8A15-646A2E1890B0@icloud.com> References: <96664C9E-3C41-4641-8A15-646A2E1890B0@icloud.com> Message-ID: <570811CA.105@hyperactivesw.com> On 4/8/2016 3:00 PM, Terence Heaford wrote: > There must be something wrong with the installer because overtime I > try and run it i get: > > It runs the installer rather than the app and I get: > > ?LiveCode Community 6.7.11 (rc 1)? is an application downloaded from > the Internet. Are you sure you want to open it? That's normal. The download is a .dmg file which is a compressed disk image. When you double-click it, it will decompress. It isn't an installer. When the window appears, drag the LC icon to the Applications folder, either the one inside the window or directly onto your hard drive. The Mac will copy the file. Double-click the newly-copied file on your hard drive. The Mac will warn you this is a file you downloaded (the warning you mentioned above.) That's a security measure to make sure a rogue app hasn't installed itself without your knowledge. Click Okay and you're good to go. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Apr 8 16:31:57 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 8 Apr 2016 15:31:57 -0500 Subject: Load PDF in mobile browser In-Reply-To: References: Message-ID: <5708153D.1000208@hyperactivesw.com> On 4/8/2016 3:09 PM, Monte Goulding wrote: > This isn't a LiveCode issue it is an Android issue as their browser > doesn't have PDF support unlike every other platform. There is a > third option now I believe because Intent support is now in the > engine but I haven't had an opportunity to play with that so others > might like to chime in on what to do there. All my Android apps put up the App Chooser to determine which app to use to open the PDF. Google Drive has a built-in PDF viewer which is pretty good, but I'm not sure if it's a default app now or was installed when I set up Drive. It's available from the Play Store as a separate download, but unfortunately it isn't compatible with all versions of Android. I remember needing a third-party PDF app in the past. It would be great to have an intent to show the App Chooser if you're so inclined. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From roger.e.eller at sealedair.com Fri Apr 8 16:34:08 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 8 Apr 2016 16:34:08 -0400 Subject: Load PDF in mobile browser In-Reply-To: References: Message-ID: It would be nice to hear a positive or at least constructive answer when a question is asked about Android. All you have to do is set a different default browser like this one from the play store, which supports a PDF add-on. https://play.google.com/store/apps/details?id=mobi.mgeek.TunnyBrowser On Fri, Apr 8, 2016 at 4:09 PM, Monte Goulding wrote: > Todd before ranting about LiveCode do a little research please. This isn't > a LiveCode issue it is an Android issue as their browser doesn't have PDF > support unlike every other platform. There is a third option now I believe > because Intent support is now in the engine but I haven't had an > opportunity to play with that so others might like to chime in on what to > do there. > > Cheers > > Monte > > Sent from my iPhone > > > On 9 Apr 2016, at 3:10 AM, Todd Fabacher wrote: > > > > I like LiveCode, but sometimes it gets so frustrating when even the > basics > > are not there. > > From ambassador at fourthworld.com Fri Apr 8 16:43:54 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 8 Apr 2016 13:43:54 -0700 Subject: Load PDF in mobile browser In-Reply-To: <5708153D.1000208@hyperactivesw.com> References: <5708153D.1000208@hyperactivesw.com> Message-ID: <5708180A.70906@fourthworld.com> J. Landman Gay wrote: > All my Android apps put up the App Chooser to determine which app > to use to open the PDF. How? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From monte at appisle.net Fri Apr 8 16:50:51 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 9 Apr 2016 06:50:51 +1000 Subject: Load PDF in mobile browser In-Reply-To: References: Message-ID: It would surprise me if that changed the browser in LiveCode and isn't really an ideal solution for delivering an app either way. I'm sorry if my post wasn't positive enough for you Roger but I'm not from the Android marketing department. Sent from my iPhone > On 9 Apr 2016, at 6:34 AM, Roger Eller wrote: > > It would be nice to hear a positive or at least constructive answer when a > question is asked about Android. All you have to do is set a different > default browser like this one from the play store, which supports a PDF > add-on. > > https://play.google.com/store/apps/details?id=mobi.mgeek.TunnyBrowser > > >> On Fri, Apr 8, 2016 at 4:09 PM, Monte Goulding wrote: >> >> Todd before ranting about LiveCode do a little research please. This isn't >> a LiveCode issue it is an Android issue as their browser doesn't have PDF >> support unlike every other platform. There is a third option now I believe >> because Intent support is now in the engine but I haven't had an >> opportunity to play with that so others might like to chime in on what to >> do there. >> >> Cheers >> >> Monte >> >> Sent from my iPhone >> >>> On 9 Apr 2016, at 3:10 AM, Todd Fabacher wrote: >>> >>> I like LiveCode, but sometimes it gets so frustrating when even the >> basics >>> are not there. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Apr 8 16:51:51 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 8 Apr 2016 15:51:51 -0500 Subject: Load PDF in mobile browser In-Reply-To: References: Message-ID: <570819E7.7060408@hyperactivesw.com> On 4/8/2016 3:34 PM, Roger Eller wrote: > It would be nice to hear a positive or at least constructive answer when a > question is asked about Android. All you have to do is set a different > default browser like this one from the play store, which supports a PDF > add-on. > > https://play.google.com/store/apps/details?id=mobi.mgeek.TunnyBrowser The user would still need to download and install it, so the problem is the same whether they install a different brower or a PDF viewer app. It gets worse, as the default web browser can be different on every device; straight vanilla Android always has Chrome installed, but Samsung ships with their own "Internet" app, HTC ships with their version, etc. The ability to completely customize Android is both a blessing and a curse. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From roger.e.eller at sealedair.com Fri Apr 8 16:54:12 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 8 Apr 2016 16:54:12 -0400 Subject: Load PDF in mobile browser In-Reply-To: References: Message-ID: My bad. I thought you worked for LiveCode now, and possibly cared about all of the supported platforms. On Fri, Apr 8, 2016 at 4:50 PM, Monte Goulding wrote: > It would surprise me if that changed the browser in LiveCode and isn't > really an ideal solution for delivering an app either way. I'm sorry if my > post wasn't positive enough for you Roger but I'm not from the Android > marketing department. > > Sent from my iPhone > > > On 9 Apr 2016, at 6:34 AM, Roger Eller > wrote: > > > > It would be nice to hear a positive or at least constructive answer when > a > > question is asked about Android. All you have to do is set a different > > default browser like this one from the play store, which supports a PDF > > add-on. > > > > https://play.google.com/store/apps/details?id=mobi.mgeek.TunnyBrowser > > > > > >> On Fri, Apr 8, 2016 at 4:09 PM, Monte Goulding > wrote: > >> > >> Todd before ranting about LiveCode do a little research please. This > isn't > >> a LiveCode issue it is an Android issue as their browser doesn't have > PDF > >> support unlike every other platform. There is a third option now I > believe > >> because Intent support is now in the engine but I haven't had an > >> opportunity to play with that so others might like to chime in on what > to > >> do there. > >> > >> Cheers > >> > >> Monte > >> > >> Sent from my iPhone > >> > >>> On 9 Apr 2016, at 3:10 AM, Todd Fabacher wrote: > >>> > >>> I like LiveCode, but sometimes it gets so frustrating when even the > >> basics > >>> are not there. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at appisle.net Fri Apr 8 16:54:44 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 9 Apr 2016 06:54:44 +1000 Subject: Load PDF in mobile browser In-Reply-To: <5708180A.70906@fourthworld.com> References: <5708153D.1000208@hyperactivesw.com> <5708180A.70906@fourthworld.com> Message-ID: <54F36FD5-E5AF-4B9F-BBA1-0A1C65D49EF7@appisle.net> Intent which was what suggested and has support in the engine. Sent from my iPhone > On 9 Apr 2016, at 6:43 AM, Richard Gaskin wrote: > > How? From monte at appisle.net Fri Apr 8 17:01:53 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 9 Apr 2016 07:01:53 +1000 Subject: Load PDF in mobile browser In-Reply-To: References: Message-ID: <71DADB29-5B49-4E71-A6FF-F0507109909A@appisle.net> My full time role begins in a little over a month. I do care about all the supported platforms and I'm pushing for my first task to be adding .aar library support for externals so I can push ahead with more Android stuff but that doesn't mean I'm going to lie about their capabilities to make anyone comfortable with my responses. I've been on this list for 20 years so folks have had a good long time to get used to my style... Sent from my iPhone > On 9 Apr 2016, at 6:54 AM, Roger Eller wrote: > > My bad. I thought you worked for LiveCode now, and possibly cared about > all of the supported platforms. From roger.e.eller at sealedair.com Fri Apr 8 17:07:29 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 8 Apr 2016 17:07:29 -0400 Subject: Load PDF in mobile browser In-Reply-To: <71DADB29-5B49-4E71-A6FF-F0507109909A@appisle.net> References: <71DADB29-5B49-4E71-A6FF-F0507109909A@appisle.net> Message-ID: A style is one thing, but to criticize a customer for not finding a solution on their own is quite another. If I were in charge of a software company, it would be a policy that the developers must use their least favorite platform so they would have a more enthusiastic attitude on making it better - for the customers. On Fri, Apr 8, 2016 at 5:01 PM, Monte Goulding wrote: > My full time role begins in a little over a month. I do care about all the > supported platforms and I'm pushing for my first task to be adding .aar > library support for externals so I can push ahead with more Android stuff > but that doesn't mean I'm going to lie about their capabilities to make > anyone comfortable with my responses. I've been on this list for 20 years > so folks have had a good long time to get used to my style... > > Sent from my iPhone > > > On 9 Apr 2016, at 6:54 AM, Roger Eller > wrote: > > > > My bad. I thought you worked for LiveCode now, and possibly cared about > > all of the supported platforms. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at appisle.net Fri Apr 8 17:11:51 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 9 Apr 2016 07:11:51 +1000 Subject: Load PDF in mobile browser In-Reply-To: References: <71DADB29-5B49-4E71-A6FF-F0507109909A@appisle.net> Message-ID: <5739207F-A00E-4DCE-81E7-B36C37C3C1D9@appisle.net> Can you please quote me where I did that because I don't think I did. Sent from my iPhone > On 9 Apr 2016, at 7:07 AM, Roger Eller wrote: > > but to criticize a customer for not finding a > solution on their own is quite another From roger.e.eller at sealedair.com Fri Apr 8 17:14:13 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 8 Apr 2016 17:14:13 -0400 Subject: Load PDF in mobile browser In-Reply-To: <5739207F-A00E-4DCE-81E7-B36C37C3C1D9@appisle.net> References: <71DADB29-5B49-4E71-A6FF-F0507109909A@appisle.net> <5739207F-A00E-4DCE-81E7-B36C37C3C1D9@appisle.net> Message-ID: "Todd before ranting about LiveCode do a little research please." --Monte On Fri, Apr 8, 2016 at 5:11 PM, Monte Goulding wrote: > Can you please quote me where I did that because I don't think I did. > > Sent from my iPhone > > > On 9 Apr 2016, at 7:07 AM, Roger Eller > wrote: > > > > but to criticize a customer for not finding a > > solution on their own is quite another > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at appisle.net Fri Apr 8 17:18:29 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 9 Apr 2016 07:18:29 +1000 Subject: Load PDF in mobile browser In-Reply-To: References: <71DADB29-5B49-4E71-A6FF-F0507109909A@appisle.net> <5739207F-A00E-4DCE-81E7-B36C37C3C1D9@appisle.net> Message-ID: <45B63C36-94C9-4D0B-AA4C-A0B25254BB2B@appisle.net> > On 9 Apr 2016, at 7:14 AM, Roger Eller wrote: > > "Todd before ranting about LiveCode do a little research please." --Monte Yep, that wasn?t criticising him for not finding a solution on his own it was criticising him for being too ready to jump to the conclusion that everything is LiveCode?s fault. I followed it up by offering a direction he might pursue. Cheers Monte From bobsneidar at iotecdigital.com Fri Apr 8 17:22:20 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 8 Apr 2016 21:22:20 +0000 Subject: UPDATE: Missing Functionality In-Reply-To: <5707D0CB.7070909@fourthworld.com> References: <5707D0CB.7070909@fourthworld.com> Message-ID: Well with the time calculator I discovered I was calling another custom function in my timeCalc function which I had NOT included in the card script of the standalone. So that is solved. I have not been able to figure out the revMail problem though. I'll loook into that later. Thanks for humoring me all. :-) Bob S > On Apr 8, 2016, at 08:39 , Richard Gaskin wrote: > > Bob Sneidar wrote: > > > For the revmail issue, I put a simple revmail one line handler in > > a button script in a new stack and compiled it as a standalone. In > > the IDE it launches the Apple Mail program and fills in the fields > > with whatever was in the arguments. In the standalone it does > > nothing. It fails silently. > > > > In the time calculator, another simple app, the only Livecode command > > I call is the convert command. That also fails silently. > > It sounds like the LC libs aren't being initialized. Do you have a preOpenbackground handler on the first card of your standalone? If so, try passing that message. > > The silent fail is a an unfortunate IDE design decision, in which the error reporting dialog is not included by default. Add that (see the last pane of the Standalone Builder) and I'll be what you get is a "handler not found" error. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Fri Apr 8 17:23:38 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 8 Apr 2016 17:23:38 -0400 Subject: Load PDF in mobile browser In-Reply-To: <45B63C36-94C9-4D0B-AA4C-A0B25254BB2B@appisle.net> References: <71DADB29-5B49-4E71-A6FF-F0507109909A@appisle.net> <5739207F-A00E-4DCE-81E7-B36C37C3C1D9@appisle.net> <45B63C36-94C9-4D0B-AA4C-A0B25254BB2B@appisle.net> Message-ID: As a frustrated customer that is seeking help from "the smart ones" like yourself, it could have been worded in a less condescending way. Perhaps "I understand your frustration, but maybe this will help." I know I wouldn't have jumped into the fire if you came across a little nicer to folks. On Fri, Apr 8, 2016 at 5:18 PM, Monte Goulding wrote: > > > On 9 Apr 2016, at 7:14 AM, Roger Eller > wrote: > > > > "Todd before ranting about LiveCode do a little research please." > --Monte > > Yep, that wasn?t criticising him for not finding a solution on his own it > was criticising him for being too ready to jump to the conclusion that > everything is LiveCode?s fault. I followed it up by offering a direction he > might pursue. > > Cheers > > Monte > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri Apr 8 17:27:33 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 8 Apr 2016 16:27:33 -0500 Subject: Load PDF in mobile browser In-Reply-To: <5708180A.70906@fourthworld.com> References: <5708153D.1000208@hyperactivesw.com> <5708180A.70906@fourthworld.com> Message-ID: <57082245.8030703@hyperactivesw.com> On 4/8/2016 3:43 PM, Richard Gaskin wrote: > J. Landman Gay wrote: > > All my Android apps put up the App Chooser to determine which app > > to use to open the PDF. > > How? When I click on a PDF file, like in my file manager or in Dropbox, it puts up the App Chooser to find out what app to open it with. Chrome does the same unless (I think) the PDF is a Google Drive doc. I did a Google search in Chrome for "PDF Example" and got a bunch of hits. Clicking on links usually put up the App Chooser but some of them just opened directly in the Drive PDF Viewer (maybe they were Drive files?) I'm getting mixed results in Chrome when it does show the App Chooser. If I re-select Chrome in the App Chooser, it downloads the file to disk. If I select Dolphin in the App Chooser I sometimes get an error that the file couldn't be displayed, but other PDFs cause Dolphin to put up a Download dialog, and yet others do display in Dolphin. I'm not sure why various PDFs would behave differently in Dolphin. I no longer have Android Firefox installed so I didn't test that. Naked Browser, which I really like, just does an immediate download of the file without even asking. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at appisle.net Fri Apr 8 17:31:15 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 9 Apr 2016 07:31:15 +1000 Subject: Load PDF in mobile browser In-Reply-To: References: Message-ID: <06299EA9-6249-4721-9D9E-6E2C9FCA2CAF@appisle.net> > On 9 Apr 2016, at 6:09 AM, Monte Goulding wrote: > > There is a third option now I believe because Intent support is now in the engine but I haven't had an opportunity to play with that so others might like to chime in on what to do there. Now that I search the docs I can?t find anything on starting an Intent which is what would be required here. You can handle Intents with mobileGetLaunchData and launchDataChanged but I can?t see a way to end it returning data to the app that called yours nor can I see a way to start an Intent. As I said I haven?t played with the Intent support so perhaps I?m just looking for love in all the wrong places. The good news is mergDocOpenPreview is already in mergAndroid as you are aware. It was implemented specifically for opening a PDF but should handle any file that an app exists on the device for. Cheers Monte From roger.e.eller at sealedair.com Fri Apr 8 17:36:54 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 8 Apr 2016 17:36:54 -0400 Subject: Load PDF in mobile browser In-Reply-To: <06299EA9-6249-4721-9D9E-6E2C9FCA2CAF@appisle.net> References: <06299EA9-6249-4721-9D9E-6E2C9FCA2CAF@appisle.net> Message-ID: Awesome. Thanks for investing your time and talent in creating these features. ~Roger On Fri, Apr 8, 2016 at 5:31 PM, Monte Goulding wrote: > > > On 9 Apr 2016, at 6:09 AM, Monte Goulding wrote: > > > > There is a third option now I believe because Intent support is now in > the engine but I haven't had an opportunity to play with that so others > might like to chime in on what to do there. > > Now that I search the docs I can?t find anything on starting an Intent > which is what would be required here. You can handle Intents with > mobileGetLaunchData and launchDataChanged but I can?t see a way to end it > returning data to the app that called yours nor can I see a way to start an > Intent. As I said I haven?t played with the Intent support so perhaps I?m > just looking for love in all the wrong places. > > The good news is mergDocOpenPreview is already in mergAndroid as you are > aware. It was implemented specifically for opening a PDF but should handle > any file that an app exists on the device for. > > Cheers > > Monte > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tfabacher at gmail.com Fri Apr 8 17:45:30 2016 From: tfabacher at gmail.com (Todd Fabacher) Date: Fri, 8 Apr 2016 17:45:30 -0400 Subject: Load PDF in mobile browser Message-ID: Actually, I am quite happy with LiveCode. It is just I had to sit and listen to a guy rail on me for an hours because he wanted to use C#, but I convinced the owner to use LC. So Monte is actually correct, I did not test the functionality fully on Android. My fault for sure. We had the App fully working on iOS and promised a job before we were sure of the functionality. BIG MISTAKE on my part. Monte has also always been helpful and very supportive. Several times he has gone out of his way to help us offline to solve problems. For that I am grateful. I do not blame LiveCode for the browser, but if it is a known issue, I think there should be some kind of suggested solution - that is just my point. But anyway I am a New Yorker and all we care about are solutions. Maybe there is also a way the community can also help by having large known issues and work arounds. We are an open source community. Let me know how I can support such a thing. On that note... It seem my best option is to use the MergExt for Android correct? If I give it a URL, will it open a PDF? Thanks for the help, Todd From monte at appisle.net Fri Apr 8 17:46:55 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 9 Apr 2016 07:46:55 +1000 Subject: Load PDF in mobile browser In-Reply-To: References: <71DADB29-5B49-4E71-A6FF-F0507109909A@appisle.net> <5739207F-A00E-4DCE-81E7-B36C37C3C1D9@appisle.net> <45B63C36-94C9-4D0B-AA4C-A0B25254BB2B@appisle.net> Message-ID: <4E11A9A7-FED6-450F-A3D8-D1267E69A222@appisle.net> > On 9 Apr 2016, at 7:23 AM, Roger Eller wrote: > > As a frustrated customer that is seeking help from "the smart ones" like > yourself, it could have been worded in a less condescending way. Perhaps > "I understand your frustration, but maybe this will help." I know I > wouldn't have jumped into the fire if you came across a little nicer to > folks. OK Roger, thanks for the constructive criticism. I guess I should be more aware that folks will have different expectations of me moving forward and learn to keep quiet unless I have time to fully consider the how the wording of my posts might be misinterpreted. Stuff like todays checking my emails pre-caffeine on a Saturday morning and responding quickly because I know Todd would be under significant time pressure should be ruled out entirely I guess... As I said I have been on this list for a very long time and consider many of the good people here friends even though I?ve only met a few due to the tyranny of distance so it will be a bit of a change for me so please keep letting me know when I?m not meeting your expectations. It certainly gives me more appreciation of why for so long there wasn?t any input from the team here. Cheers Monte From t.heaford at icloud.com Fri Apr 8 17:49:19 2016 From: t.heaford at icloud.com (Terence Heaford) Date: Fri, 08 Apr 2016 22:49:19 +0100 Subject: 6.7.11 (RC1) Mac In-Reply-To: <570811CA.105@hyperactivesw.com> References: <96664C9E-3C41-4641-8A15-646A2E1890B0@icloud.com> <570811CA.105@hyperactivesw.com> Message-ID: <16A3E30E-6718-47DA-AA47-3705DF96F86E@icloud.com> > On 8 Apr 2016, at 21:17, J. Landman Gay wrote: > > That's normal. The download is a .dmg file which is a compressed disk image. When you double-click it, it will decompress. It isn't an installer. > > When the window appears, drag the LC icon to the Applications folder, either the one inside the window or directly onto your hard drive. The Mac will copy the file. > > Double-click the newly-copied file on your hard drive. The Mac will warn you this is a file you downloaded (the warning you mentioned above.) That's a security measure to make sure a rogue app hasn't installed itself without your knowledge. Click Okay and you're good to go. Done this but even having done this whenever I double click on the app it verify?s AGAIN, advises me I have downloaded it from the internet AGAIN. This happens everytime I run the app. It does not happen with 6.7.10, 7.1.3 & 8.0.0 (dp16) all of which behave correctly. Probably the best thing to do is dump it until RC2. All the best Terry From monte at appisle.net Fri Apr 8 17:50:10 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 9 Apr 2016 07:50:10 +1000 Subject: Load PDF in mobile browser In-Reply-To: References: Message-ID: <02F2F6AB-4B13-4A50-A096-8714A55B14F3@appisle.net> > On 9 Apr 2016, at 7:45 AM, Todd Fabacher wrote: > > It seem my best option is to use the MergExt for Android correct? If I give > it a URL, will it open a PDF? Yes seem my other post but mergDocOpenPreview is the one you want. From jacque at hyperactivesw.com Fri Apr 8 17:53:05 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 8 Apr 2016 16:53:05 -0500 Subject: Load PDF in mobile browser In-Reply-To: <4E11A9A7-FED6-450F-A3D8-D1267E69A222@appisle.net> References: <71DADB29-5B49-4E71-A6FF-F0507109909A@appisle.net> <5739207F-A00E-4DCE-81E7-B36C37C3C1D9@appisle.net> <45B63C36-94C9-4D0B-AA4C-A0B25254BB2B@appisle.net> <4E11A9A7-FED6-450F-A3D8-D1267E69A222@appisle.net> Message-ID: <57082841.9010102@hyperactivesw.com> On 4/8/2016 4:46 PM, Monte Goulding wrote: > so please keep letting me know when I?m not meeting your expectations Does that mean you'll make me a sandwich now? :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Apr 8 17:54:13 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 8 Apr 2016 16:54:13 -0500 Subject: Load PDF in mobile browser In-Reply-To: <57082245.8030703@hyperactivesw.com> References: <5708153D.1000208@hyperactivesw.com> <5708180A.70906@fourthworld.com> <57082245.8030703@hyperactivesw.com> Message-ID: <57082885.2050008@hyperactivesw.com> On 4/8/2016 4:27 PM, J. Landman Gay wrote: > On 4/8/2016 3:43 PM, Richard Gaskin wrote: >> J. Landman Gay wrote: >> > All my Android apps put up the App Chooser to determine which app >> > to use to open the PDF. >> >> How? > > When I click on a PDF file, like in my file manager or in Dropbox, it > puts up the App Chooser to find out what app to open it with. Oops. You meant, how do I do it in *my* apps, rather than how I do it in my installed apps. Well...I don't. Yet. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at appisle.net Fri Apr 8 17:56:55 2016 From: monte at appisle.net (Monte Goulding) Date: Sat, 9 Apr 2016 07:56:55 +1000 Subject: Load PDF in mobile browser In-Reply-To: <57082841.9010102@hyperactivesw.com> References: <71DADB29-5B49-4E71-A6FF-F0507109909A@appisle.net> <5739207F-A00E-4DCE-81E7-B36C37C3C1D9@appisle.net> <45B63C36-94C9-4D0B-AA4C-A0B25254BB2B@appisle.net> <4E11A9A7-FED6-450F-A3D8-D1267E69A222@appisle.net> <57082841.9010102@hyperactivesw.com> Message-ID: Any time Jacque as you're already su! Sent from my iPhone > On 9 Apr 2016, at 7:53 AM, J. Landman Gay wrote: > > Does that mean you'll make me a sandwich now? :) From jacque at hyperactivesw.com Fri Apr 8 18:02:17 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 8 Apr 2016 17:02:17 -0500 Subject: 6.7.11 (RC1) Mac In-Reply-To: <16A3E30E-6718-47DA-AA47-3705DF96F86E@icloud.com> References: <96664C9E-3C41-4641-8A15-646A2E1890B0@icloud.com> <570811CA.105@hyperactivesw.com> <16A3E30E-6718-47DA-AA47-3705DF96F86E@icloud.com> Message-ID: <57082A69.40504@hyperactivesw.com> On 4/8/2016 4:49 PM, Terence Heaford wrote: > This happens everytime I run the app. It does not happen with 6.7.10, > 7.1.3 & 8.0.0 (dp16) all of which behave correctly. > > Probably the best thing to do is dump it until RC2. I see, I misunderstood the problem. Rather than dump it, I'd let the team know in a bug report. Otherwise the next build is apt to do the same thing. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Fri Apr 8 18:07:49 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 8 Apr 2016 15:07:49 -0700 Subject: Load PDF in mobile browser In-Reply-To: <57082245.8030703@hyperactivesw.com> References: <57082245.8030703@hyperactivesw.com> Message-ID: <57082BB5.6070506@fourthworld.com> J. Landman Gay wrote: > On 4/8/2016 3:43 PM, Richard Gaskin wrote: >> J. Landman Gay wrote: >> > All my Android apps put up the App Chooser to determine which app >> > to use to open the PDF. >> >> How? > > When I click on a PDF file, like in my file manager or in Dropbox, it > puts up the App Chooser to find out what app to open it with. Chrome > does the same unless (I think) the PDF is a Google Drive doc. I had misunderstood: when you wrote "all my Android apps" I was thinking of ones you'd written. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobsneidar at iotecdigital.com Fri Apr 8 19:18:10 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 8 Apr 2016 23:18:10 +0000 Subject: UPDATE: Missing Functionality In-Reply-To: References: <5707D0CB.7070909@fourthworld.com> Message-ID: AND I've isolated my Send Email code and compiled as a standalone. THAT also works! I think I've isolated the issue to the fact that I am referencing a couple fields on a card in another stack that is open, but I may not be able to do that in a standalone. In the test standalone I put everything on one card. Bob S > On Apr 8, 2016, at 14:22 , Bob Sneidar wrote: > > Well with the time calculator I discovered I was calling another custom function in my timeCalc function which I had NOT included in the card script of the standalone. So that is solved. I have not been able to figure out the revMail problem though. I'll loook into that later. > > Thanks for humoring me all. :-) > > Bob S > > >> On Apr 8, 2016, at 08:39 , Richard Gaskin wrote: >> >> Bob Sneidar wrote: >> >>> For the revmail issue, I put a simple revmail one line handler in >>> a button script in a new stack and compiled it as a standalone. In >>> the IDE it launches the Apple Mail program and fills in the fields >>> with whatever was in the arguments. In the standalone it does >>> nothing. It fails silently. >>> >>> In the time calculator, another simple app, the only Livecode command >>> I call is the convert command. That also fails silently. >> >> It sounds like the LC libs aren't being initialized. Do you have a preOpenbackground handler on the first card of your standalone? If so, try passing that message. >> >> The silent fail is a an unfortunate IDE design decision, in which the error reporting dialog is not included by default. Add that (see the last pane of the Standalone Builder) and I'll be what you get is a "handler not found" error. >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Apr 8 21:06:16 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 08 Apr 2016 20:06:16 -0500 Subject: UPDATE: Missing Functionality In-Reply-To: References: <5707D0CB.7070909@fourthworld.com> Message-ID: <153f88e1b40.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> If the stack is in RAM then you should be able to reference the fields if you use a complete reference, like "fld x of cd y of stack z". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 8, 2016 6:19:36 PM Bob Sneidar wrote: > AND I've isolated my Send Email code and compiled as a standalone. THAT > also works! I think I've isolated the issue to the fact that I am > referencing a couple fields on a card in another stack that is open, but I > may not be able to do that in a standalone. In the test standalone I put > everything on one card. > > Bob S > > >> On Apr 8, 2016, at 14:22 , Bob Sneidar wrote: >> >> Well with the time calculator I discovered I was calling another custom >> function in my timeCalc function which I had NOT included in the card >> script of the standalone. So that is solved. I have not been able to figure >> out the revMail problem though. I'll loook into that later. >> >> Thanks for humoring me all. :-) >> >> Bob S >> >> >>> On Apr 8, 2016, at 08:39 , Richard Gaskin wrote: >>> >>> Bob Sneidar wrote: >>> >>>> For the revmail issue, I put a simple revmail one line handler in >>>> a button script in a new stack and compiled it as a standalone. In >>>> the IDE it launches the Apple Mail program and fills in the fields >>>> with whatever was in the arguments. In the standalone it does >>>> nothing. It fails silently. >>>> >>>> In the time calculator, another simple app, the only Livecode command >>>> I call is the convert command. That also fails silently. >>> >>> It sounds like the LC libs aren't being initialized. Do you have a >>> preOpenbackground handler on the first card of your standalone? If so, try >>> passing that message. >>> >>> The silent fail is a an unfortunate IDE design decision, in which the error >>> reporting dialog is not included by default. Add that (see the last pane >>> of the Standalone Builder) and I'll be what you get is a "handler not >>> found" error. >>> >>> -- >>> Richard Gaskin >>> Fourth World Systems >>> Software Design and Development for the Desktop, Mobile, and the Web >>> ____________________________________________________________________ >>> Ambassador at FourthWorld.com http://www.FourthWorld.com >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at livecode.org Sat Apr 9 09:11:33 2016 From: hh at livecode.org (-hh) Date: Sat, 9 Apr 2016 06:11:33 -0700 (PDT) Subject: How to compile in earlier versions using new keywords? Message-ID: <1460207493510-4703270.post@n4.nabble.com> Is there a way to *compile* the following script in LC versions before 7? on mouseUp if char 1 of the version > 6 then put trueword 1 of fld "IN" into fld "OUT" else put word 1 of fld "IN" into fld "OUT" end mouseUp The use of the try structure doesn't help, the script doesn't even *compile*. The same with "segment" and other new terms of LC 7/8. More generaly, is there a way to "hide" some script blocks so that the compilation in all earlier versions handles the block as comment? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-compile-in-earlier-versions-using-new-keywords-tp4703270.html Sent from the Revolution - User mailing list archive at Nabble.com. From prothero at earthednet.org Sat Apr 9 09:50:02 2016 From: prothero at earthednet.org (Earthednet-wp) Date: Sat, 9 Apr 2016 06:50:02 -0700 Subject: How to compile in earlier versions using new keywords? In-Reply-To: <1460207493510-4703270.post@n4.nabble.com> References: <1460207493510-4703270.post@n4.nabble.com> Message-ID: <8FDD0CE2-5B78-41B9-94EB-79B5081BFEAB@earthednet.org> Perhaps there is a way to have a text field that holds the appropriate script for the version, then you can set the script of btn xyz to fld "best script" on startup. Bill William Prothero http://es.earthednet.org > On Apr 9, 2016, at 6:11 AM, -hh wrote: > > Is there a way to *compile* the following script in LC versions before 7? > > on mouseUp > if char 1 of the version > 6 then > put trueword 1 of fld "IN" into fld "OUT" > else put word 1 of fld "IN" into fld "OUT" > end mouseUp > > The use of the try structure doesn't help, the script doesn't even > *compile*. The same with "segment" and other new terms of LC 7/8. > > More generaly, is there a way to "hide" some script blocks so that > the compilation in all earlier versions handles the block as comment? > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-compile-in-earlier-versions-using-new-keywords-tp4703270.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Sat Apr 9 10:39:58 2016 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 9 Apr 2016 10:39:58 -0400 Subject: How to compile in earlier versions using new keywords? In-Reply-To: <8FDD0CE2-5B78-41B9-94EB-79B5081BFEAB@earthednet.org> Message-ID: <153fb77131e-281d-1ac34@webprd-a40.mail.aol.com> Hernann. Maybe I do not understand. If a new native word is present in a certain version, it will not be recognized in an earlier one. There is no way to compile, it, any more than if you used any other extraneous word. Craig -----Original Message----- From: Earthednet-wp To: How to use LiveCode Sent: Sat, Apr 9, 2016 9:51 am Subject: Re: How to compile in earlier versions using new keywords? Perhaps there is a way to have a text field that holds the appropriate script for the version, then you can set the script of btn xyz to fld "best script" on startup. Bill William Prothero http://es.earthednet.org > On Apr 9, 2016, at 6:11 AM, -hh wrote: > > Is there a way to *compile* the following script in LC versions before 7? > > on mouseUp > if char 1 of the version > 6 then > put trueword 1 of fld "IN" into fld "OUT" > else put word 1 of fld "IN" into fld "OUT" > end mouseUp > > The use of the try structure doesn't help, the script doesn't even > *compile*. The same with "segment" and other new terms of LC 7/8. > > More generaly, is there a way to "hide" some script blocks so that > the compilation in all earlier versions handles the block as comment? > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-compile-in-earlier-versions-using-new-keywords-tp4703270.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Apr 9 10:39:58 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 Apr 2016 09:39:58 -0500 Subject: How to compile in earlier versions using new keywords? In-Reply-To: <1460207493510-4703270.post@n4.nabble.com> References: <1460207493510-4703270.post@n4.nabble.com> Message-ID: <153fb771230.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> This is one of the few cases where you have to use "do" . -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 9, 2016 8:45:18 AM -hh wrote: > Is there a way to *compile* the following script in LC versions before 7? > > on mouseUp > if char 1 of the version > 6 then > put trueword 1 of fld "IN" into fld "OUT" > else put word 1 of fld "IN" into fld "OUT" > end mouseUp > > The use of the try structure doesn't help, the script doesn't even > *compile*. The same with "segment" and other new terms of LC 7/8. > > More generaly, is there a way to "hide" some script blocks so that > the compilation in all earlier versions handles the block as comment? > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/How-to-compile-in-earlier-versions-using-new-keywords-tp4703270.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at livecode.org Sat Apr 9 10:47:06 2016 From: hh at livecode.org (-hh) Date: Sat, 9 Apr 2016 07:47:06 -0700 (PDT) Subject: How to compile in earlier versions using new keywords? In-Reply-To: <153fb771230.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <1460207493510-4703270.post@n4.nabble.com> <153fb771230.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <1460213226822-4703274.post@n4.nabble.com> @William A nifty workaround. But this means, that we have to make two script versions, and even three versions as soon as LC 8 is "unlinked" (wrt compatibility) from previous versions. ==== @Craig I have some scripts where I use for example a switch for the itemdelimiter. if char 1 of the version < 7 then set itemdelimiter to CR else set itemdelimiter to ("." & CR) This is especially useful for splitting to and combining from arrays and makes sense for me. Okay, itemdelimiter is not a keyword but a property, analogue. ==== @Jacqueline Amazing!! As you say, the "do" compiles in LC 6: on mouseUp if char 1 of the version > 6 then do "put trueword 1 of fld 1 into fld 2" else put word 1 of fld 1 into fld 2 end mouseUp But this means, that we have to put all code for LC 7/8 that should compile also in LC 6 and earlier into strings and then do these strings. For example a long "repeat for each trueword tw in X ...". This is close to Bill's method (read from fields). ==== I have an idea, that may be more comfortable: If we could have a switch in LC 7+8 for parsing/compiling that temporarily disables one of the commenting methods, for example "//", we could use "version blocks" in new scripts: // usual comment line for all versions set slashCommentsOff to true // ... code for versions 7/8 only // ... code for versions 7/8 only set slashCommentsOff to false // usual comment line for all versions This could analogously go on two times with switches "hashCommentsOff" and "dashCommentsOff" for later versions... Just an idea. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-compile-in-earlier-versions-using-new-keywords-tp4703270p4703274.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Sat Apr 9 11:53:56 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 9 Apr 2016 08:53:56 -0700 Subject: How to compile in earlier versions using new keywords? In-Reply-To: <1460213226822-4703274.post@n4.nabble.com> References: <1460213226822-4703274.post@n4.nabble.com> Message-ID: <57092594.4070502@fourthworld.com> -hh wrote: @William > A nifty workaround. But this means, that we have to make two > script versions, and even three versions as soon as LC 8 is > "unlinked" (wrt compatibility) from previous versions. What does "unlinked" mean? As with most well-designed software, the new version is designed to be a superset of features found in older versions. If you find things that run in v7 but not v8 that would be a bug that the team would want to address ASAP. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From capellan2000 at gmail.com Sat Apr 9 12:03:11 2016 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 9 Apr 2016 09:03:11 -0700 (PDT) Subject: The TSA Android app In-Reply-To: References: <570457C6.8050907@ahsoftware.net> Message-ID: <1460217791286-4703276.post@n4.nabble.com> In a brighter note, now every CS Teacher have a new Real World Case to entice their students: "Look how easy you can earn your first million dollars..." :D Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/The-TSA-Android-app-tp4703144p4703276.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Sat Apr 9 13:19:47 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 Apr 2016 10:19:47 -0700 Subject: How to compile in earlier versions using new keywords? In-Reply-To: <1460213226822-4703274.post@n4.nabble.com> References: <1460207493510-4703270.post@n4.nabble.com> <153fb771230.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1460213226822-4703274.post@n4.nabble.com> Message-ID: <570939B3.6030707@ahsoftware.net> On 04/09/2016 07:47 AM, -hh wrote: > ==== > I have an idea, that may be more comfortable: > If we could have a switch in LC 7+8 for parsing/compiling > that temporarily disables one of the commenting methods, > for example "//", we could use "version blocks" in new scripts: > > // usual comment line for all versions > set slashCommentsOff to true > // ... code for versions 7/8 only > // ... code for versions 7/8 only > set slashCommentsOff to false > // usual comment line for all versions > > This could analogously go on two times with switches > "hashCommentsOff" and "dashCommentsOff" > for later versions... > > Just an idea. Either #pragma or #if directives would solve the problem neatly, but the problem there is that we'd need to have them retroactively. And there's zero chance of getting anything into earlier parsers now that everything before LC8 is going to be end-of-lifed. -- Mark Wieder ahsoftware at gmail.com From hh at livecode.org Sat Apr 9 13:06:15 2016 From: hh at livecode.org (-hh) Date: Sat, 9 Apr 2016 10:06:15 -0700 (PDT) Subject: How to compile in earlier versions using new keywords? In-Reply-To: <57092594.4070502@fourthworld.com> References: <1460207493510-4703270.post@n4.nabble.com> <153fb771230.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <1460213226822-4703274.post@n4.nabble.com> <57092594.4070502@fourthworld.com> Message-ID: <1460221575471-4703278.post@n4.nabble.com> For a while, LC 7 and 8 where linked in the sense, that, besides widget syntax, new keywords/functions/properties of LC Script were added to both. Actually they are already unlinked (in this sense), for example by the new "replace styled" function. This means we have the same problem as described in the first post of this thread if we wish to use one script for both LC 7 and LC 8, and we may have already to write three versions if we wish to use it for LC 6/7/8. >From my point of view this is necessary if new features of LC 7 and or LC 8 can compensate a little bit their 'loss of speed' compared to LC 6. My meanwhile more exact question is whether there are (more) *easy* ways for that. Richard Gaskin wrote > -hh wrote: > > @William > > A nifty workaround. But this means, that we have to make two > > script versions, and even three versions as soon as LC 8 is > > "unlinked" (wrt compatibility) from previous versions. > > What does "unlinked" mean? > > As with most well-designed software, the new version is designed > to be a superset of features found in older versions. > > If you find things that run in v7 but not v8 that would be a bug > that the team would want to address ASAP. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-compile-in-earlier-versions-using-new-keywords-tp4703270p4703278.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Sat Apr 9 16:38:28 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 9 Apr 2016 13:38:28 -0700 Subject: POLL: LiveCode Server use Message-ID: <57096844.5020505@fourthworld.com> I have a poll in the forums to learn more about how people use LiveCode Server. Even if you don't use it, that's useful to know and there are options for that too. Please consider taking a moment to participate in the poll: The results may be of general interest, and in my case I have some tools I'm building to help manage LC on my servers and this will help me better anticipate if it's worthwhile generalizing some of them for others to use. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From monte at appisle.net Sat Apr 9 17:51:05 2016 From: monte at appisle.net (Monte Goulding) Date: Sun, 10 Apr 2016 07:51:05 +1000 Subject: How to compile in earlier versions using new keywords? In-Reply-To: <1460207493510-4703270.post@n4.nabble.com> References: <1460207493510-4703270.post@n4.nabble.com> Message-ID: <36E004F7-433B-46CE-AB9C-0CEC949DB7BD@appisle.net> One solution I have used for this is chained behaviors: on mouseUp put GetWord(fld ?IN?,1) into fld ?OUT? end mouseUp ? parent behavior won?t compile in LC 6 function GetWord pText, pWord return trueword pWord of pText end GetWord ? grandparent behavior function GetWord pText, pWord return word pWord of pText end GetWord > On 9 Apr 2016, at 11:11 PM, -hh wrote: > > Is there a way to *compile* the following script in LC versions before 7? > > on mouseUp > if char 1 of the version > 6 then > put trueword 1 of fld "IN" into fld "OUT" > else put word 1 of fld "IN" into fld "OUT" > end mouseUp > > The use of the try structure doesn't help, the script doesn't even > *compile*. The same with "segment" and other new terms of LC 7/8. > > More generaly, is there a way to "hide" some script blocks so that > the compilation in all earlier versions handles the block as comment? > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-compile-in-earlier-versions-using-new-keywords-tp4703270.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at livecode.org Sat Apr 9 18:57:10 2016 From: hh at livecode.org (-hh) Date: Sat, 9 Apr 2016 15:57:10 -0700 (PDT) Subject: How to compile in earlier versions using new keywords? In-Reply-To: <36E004F7-433B-46CE-AB9C-0CEC949DB7BD@appisle.net> References: <1460207493510-4703270.post@n4.nabble.com> <36E004F7-433B-46CE-AB9C-0CEC949DB7BD@appisle.net> Message-ID: <1460242630878-4703281.post@n4.nabble.com> What I had in mind with that is a script part of the following form that should (but doesn't) compile in LC 6/7/8: if char 1 of the version > 6 then repeat for each trueword w in str ... end repeat else repeat for each word w in str ... end repeat end if How does your "chained" solution translate to that situation? [Of course, the "string" solutions of Bill and Jaqueline work here.] -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-compile-in-earlier-versions-using-new-keywords-tp4703270p4703281.html Sent from the Revolution - User mailing list archive at Nabble.com. From james at thehales.id.au Sat Apr 9 21:23:00 2016 From: james at thehales.id.au (jameshale) Date: Sat, 9 Apr 2016 18:23:00 -0700 (PDT) Subject: Standalone (and stack in IDE) getting larger on each launch In-Reply-To: <5706AC81.7080202@hyperactivesw.com> References: <5706AC81.7080202@hyperactivesw.com> Message-ID: <1460251380445-4703282.post@n4.nabble.com> setting the destroystack true or false had no effect. I tried to create a test stack to replicate the issue but couldn't which implies I guess that it is something in my stack doing it. For now I have moved the sizing handler further up the start chain and at least I have kept the increase constant. This could mean that somewhere between the new sequence and the old the increase in stack size is taking place. In any case I will leave this for now and come back to it later. Thanks for the suggestions. If I do find out what it is I will post again. James -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Standalone-and-stack-in-IDE-getting-larger-on-each-launch-tp4703211p4703282.html Sent from the Revolution - User mailing list archive at Nabble.com. From monte at appisle.net Sat Apr 9 22:14:51 2016 From: monte at appisle.net (Monte Goulding) Date: Sun, 10 Apr 2016 12:14:51 +1000 Subject: How to compile in earlier versions using new keywords? In-Reply-To: <1460242630878-4703281.post@n4.nabble.com> References: <1460207493510-4703270.post@n4.nabble.com> <36E004F7-433B-46CE-AB9C-0CEC949DB7BD@appisle.net> <1460242630878-4703281.post@n4.nabble.com> Message-ID: <7371A17C-6B17-47A6-AD2C-04F8FE687CF6@appisle.net> The chained behavior solution needs any version specific code you want to be moved to a behavior for that version and uses the lack of script compilation as a feature. I prefer it to the string based solutions because the execution is faster. Cheers Monte Sent from my iPhone > On 10 Apr 2016, at 8:57 AM, -hh wrote: > > How does your "chained" solution translate to that situation? > [Of course, the "string" solutions of Bill and Jaqueline work here.] From jacque at hyperactivesw.com Sun Apr 10 11:54:46 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 10 Apr 2016 10:54:46 -0500 Subject: How to compile in earlier versions using new keywords? In-Reply-To: <36E004F7-433B-46CE-AB9C-0CEC949DB7BD@appisle.net> References: <1460207493510-4703270.post@n4.nabble.com> <36E004F7-433B-46CE-AB9C-0CEC949DB7BD@appisle.net> Message-ID: <15400e1e970.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Clever. :-) So it isn't a bug, it's a feature, for real. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 9, 2016 4:54:16 PM Monte Goulding wrote: > One solution I have used for this is chained behaviors: > > on mouseUp > put GetWord(fld ?IN?,1) into fld ?OUT? > end mouseUp > > ? parent behavior won?t compile in LC 6 > function GetWord pText, pWord > return trueword pWord of pText > end GetWord > > ? grandparent behavior > function GetWord pText, pWord > return word pWord of pText > end GetWord > >> On 9 Apr 2016, at 11:11 PM, -hh wrote: >> >> Is there a way to *compile* the following script in LC versions before 7? >> >> on mouseUp >> if char 1 of the version > 6 then >> put trueword 1 of fld "IN" into fld "OUT" >> else put word 1 of fld "IN" into fld "OUT" >> end mouseUp >> >> The use of the try structure doesn't help, the script doesn't even >> *compile*. The same with "segment" and other new terms of LC 7/8. >> >> More generaly, is there a way to "hide" some script blocks so that >> the compilation in all earlier versions handles the block as comment? >> >> >> >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/How-to-compile-in-earlier-versions-using-new-keywords-tp4703270.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Apr 10 12:04:44 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 10 Apr 2016 11:04:44 -0500 Subject: How to compile in earlier versions using new keywords? In-Reply-To: <1460242630878-4703281.post@n4.nabble.com> References: <1460207493510-4703270.post@n4.nabble.com> <36E004F7-433B-46CE-AB9C-0CEC949DB7BD@appisle.net> <1460242630878-4703281.post@n4.nabble.com> Message-ID: <15400eb0960.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On April 9, 2016 6:30:02 PM -hh wrote: > How does your "chained" solution translate to that situation? If the v7 behavior won't compile, the behavior effectively has no script and the message passes to the v6 chained behavior. If the v7 behavior does compile, it executes, the message is not passed, and the v6 behavior never sees the message. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From hh at livecode.org Sun Apr 10 14:50:25 2016 From: hh at livecode.org (-hh) Date: Sun, 10 Apr 2016 11:50:25 -0700 (PDT) Subject: Standalone (and stack in IDE) getting larger on each launch In-Reply-To: <1460251380445-4703282.post@n4.nabble.com> References: <5706AC81.7080202@hyperactivesw.com> <1460251380445-4703282.post@n4.nabble.com> Message-ID: <1460314225002-4703286.post@n4.nabble.com> Sometimes I have effects that come from "being too early" and they disappeared if I do it later on. For example, in your case, I would try the following. on preopenCard ... send "set height of this stack to the savedHeight of this stack" \ to me in 10 ticks end preopenCard Could help if the engine adjusts height by menuBarHeight immediately AFTER your preopencard ... -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Standalone-and-stack-in-IDE-getting-larger-on-each-launch-tp4703211p4703286.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Sun Apr 10 17:22:10 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 10 Apr 2016 14:22:10 -0700 Subject: Remove Android Scroll Indicators? Message-ID: On Android, scroll indicators show up on native single line input fields. Is there any way to disable this? I've tried setting the Vindicator to false even though that property isn't listed for single line input fields. Creating a simple form becomes a chore unless the input fields are somewhat oversize (not always an option), and making the same control work cross-platform (iOS) requires completely different settings. Thanks for any insight on this. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From dixonja at hotmail.co.uk Mon Apr 11 05:14:01 2016 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 11 Apr 2016 10:14:01 +0100 Subject: Update mergExtensions for 9.3 ? Message-ID: When trying to build using LC8(dp16) for ipad... I get :- Could not find appropriate build of external '/Users/johndixon/Desktop/xxxxxxxx/mergMK.lcext' for Simulator-9_3 I have used the latest mergextensions that are available with the indy licence.. When will they be available to run against iOS 9.3 ? From monte at appisle.net Mon Apr 11 05:31:25 2016 From: monte at appisle.net (Monte Goulding) Date: Mon, 11 Apr 2016 19:31:25 +1000 Subject: Update mergExtensions for 9.3 ? In-Reply-To: References: Message-ID: They are in the process of being packaged with the LC download to simplify things. For now you can grab versions built against 9.3 (the 2016-4-1 versions) here http://downloads.livecode.com/mergext/ > On 11 Apr 2016, at 7:14 PM, John Dixon wrote: > > > When trying to build using LC8(dp16) for ipad... I get :- > > Could not find appropriate build of external '/Users/johndixon/Desktop/xxxxxxxx/mergMK.lcext' for Simulator-9_3 > > I have used the latest mergextensions that are available with the indy licence.. When will they be available to run against iOS 9.3 ? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dixonja at hotmail.co.uk Mon Apr 11 06:12:13 2016 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 11 Apr 2016 11:12:13 +0100 Subject: Update mergExtensions for 9.3 ? In-Reply-To: References: , Message-ID: Thanks...:-) > Subject: Re: Update mergExtensions for 9.3 ? > From: monte at appisle.net > Date: Mon, 11 Apr 2016 19:31:25 +1000 > To: use-livecode at lists.runrev.com > > They are in the process of being packaged with the LC download to simplify things. For now you can grab versions built against 9.3 (the 2016-4-1 versions) here http://downloads.livecode.com/mergext/ > > > On 11 Apr 2016, at 7:14 PM, John Dixon wrote: > > > > > > When trying to build using LC8(dp16) for ipad... I get :- > > > > Could not find appropriate build of external '/Users/johndixon/Desktop/xxxxxxxx/mergMK.lcext' for Simulator-9_3 > > > > I have used the latest mergextensions that are available with the indy licence.. When will they be available to run against iOS 9.3 ? > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Apr 11 06:54:24 2016 From: richmondmathewson at gmail.com (RM) Date: Mon, 11 Apr 2016 13:54:24 +0300 Subject: Printing from the Script Editor Message-ID: <570B8260.7010609@gmail.com> I am sure this is already well known, but, at the risk if being late for the party, I tried to print some code from the cardScript of a stack I wrote this morning using LC 7.1.1 on Xubuntu 14.04 32-bit and succeeded in doing nothing beyond crashing the IDE. Richmond. From peter.brett at livecode.com Mon Apr 11 06:57:54 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 11 Apr 2016 11:57:54 +0100 Subject: [ANN] This Week in LiveCode 28 Message-ID: <570B8332.9090100@livecode.com> Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #28 here: https://goo.gl/MfZvbu This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to you e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From heather at livecode.com Mon Apr 11 11:34:42 2016 From: heather at livecode.com (Heather Laine) Date: Mon, 11 Apr 2016 16:34:42 +0100 Subject: [Blog] Want to know how to write that TSA app in LiveCode... Message-ID: Dear List Folks, Our Neil saw the posts about the now infamous TSA app, and he couldn't resist trying his hand at recreating it: https://livecode.com/how-to-make-1-4-million-using-livecode/ Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd www.livecode.com From dixonja at hotmail.co.uk Mon Apr 11 12:01:16 2016 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 11 Apr 2016 17:01:16 +0100 Subject: Problems building standalones Message-ID: It seems that there is a problem building a standalone at the moment... http://forums.livecode.com/viewtopic.php?f=49&t=26958&p=140937#p140937 Anyone have any idea when this might be fixed ? From MikeKerner at roadrunner.com Mon Apr 11 12:34:26 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 11 Apr 2016 12:34:26 -0400 Subject: [Blog] Want to know how to write that TSA app in LiveCode... In-Reply-To: References: Message-ID: That Was Awesome Now I want to have the LC contest for who can do it faster/with fewer lines and one for who can steampunk the snot out of it On Mon, Apr 11, 2016 at 11:34 AM, Heather Laine wrote: > Dear List Folks, > > Our Neil saw the posts about the now infamous TSA app, and he couldn't > resist trying his hand at recreating it: > > https://livecode.com/how-to-make-1-4-million-using-livecode/ < > https://livecode.com/how-to-make-1-4-million-using-livecode/> > > Regards, > > Heather > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From richmondmathewson at gmail.com Mon Apr 11 13:06:29 2016 From: richmondmathewson at gmail.com (RM) Date: Mon, 11 Apr 2016 20:06:29 +0300 Subject: Kinky text Message-ID: <570BD995.2070509@gmail.com> I would like the ability to both superscript and subscript text without resizing the individual glyphs, and the ability to set individual character sizes. http://forums.livecode.com/viewtopic.php?f=6&t=27012#p140942 Richmond. From ambassador at fourthworld.com Mon Apr 11 16:18:16 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 11 Apr 2016 13:18:16 -0700 Subject: How to compile in earlier versions using new keywords? In-Reply-To: <36E004F7-433B-46CE-AB9C-0CEC949DB7BD@appisle.net> References: <36E004F7-433B-46CE-AB9C-0CEC949DB7BD@appisle.net> Message-ID: <570C0688.3010302@fourthworld.com> Monte Goulding wrote: > One solution I have used for this is chained behaviors: > > on mouseUp > put GetWord(fld ?IN?,1) into fld ?OUT? > end mouseUp > > ? parent behavior won?t compile in LC 6 > function GetWord pText, pWord > return trueword pWord of pText > end GetWord > > ? grandparent behavior > function GetWord pText, pWord > return word pWord of pText > end GetWord Clever solution, but wouldn't that throw an error when the uncompilable behavior is loaded? I would be concerned if the engine ignores errors that prevent it from using a script. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From Mark_Smith at cpe.umanitoba.ca Mon Apr 11 15:52:58 2016 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Mon, 11 Apr 2016 12:52:58 -0700 (PDT) Subject: Volunteer github guru for documentation submissions? In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> Message-ID: <1460404378548-4703298.post@n4.nabble.com> Does anyone have a documentation bug they would like to see fixed? I'd like to give Ali's guide a try but don't have any documentation bugs top of mind. Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Volunteer-github-guru-for-documentation-submissions-tp4703029p4703298.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Mon Apr 11 16:55:35 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 11 Apr 2016 15:55:35 -0500 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <1460404378548-4703298.post@n4.nabble.com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> Message-ID: <570C0F47.5030601@hyperactivesw.com> On 4/11/2016 2:52 PM, Mark Smith wrote: > Does anyone have a documentation bug they would like to see fixed? I'd like > to give Ali's guide a try but don't have any documentation bugs top of mind. I have a short list. Here's a small one: textShift is not tagged as "text processing" BTW, I downloaded the elusive viewer stack but it's leaving out most of the keywords when it opens the text in a browser. I can't tell if it's a bug in the text itself or in the viewer. Anyone know? I've updated a couple of text files but haven't submitted yet because of the disconnect in the viewer. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at appisle.net Mon Apr 11 18:04:41 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 12 Apr 2016 08:04:41 +1000 Subject: How to compile in earlier versions using new keywords? In-Reply-To: <570C0688.3010302@fourthworld.com> References: <36E004F7-433B-46CE-AB9C-0CEC949DB7BD@appisle.net> <570C0688.3010302@fourthworld.com> Message-ID: > On 12 Apr 2016, at 6:18 AM, Richard Gaskin wrote: > > I would be concerned if the engine ignores errors that prevent it from using a script. You only get script compilation errors when you set the script not every time a message passes through an object that has an uncompiled script. If we had the latter it might make it very hard to fix some issues. Additionally the engine will load a stack file that has uncompilable scripts silently. At some point it might be helpful to get a list of issues popping up at which point my solution won?t be a good idea so I would switch to dynamically switching behaviors depending on the version. Cheers Monte From alex at tweedly.net Mon Apr 11 18:18:18 2016 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 11 Apr 2016 23:18:18 +0100 Subject: How to compile in earlier versions using new keywords? In-Reply-To: References: <36E004F7-433B-46CE-AB9C-0CEC949DB7BD@appisle.net> <570C0688.3010302@fourthworld.com> Message-ID: <570C22AA.90004@tweedly.net> I have to admit that when I first saw this solution, I thought "hmmm - clever but feels like it is exploiting a loophole". Depending on the engne to quietly ignore error-containing stacks just "feels wrong". I have NOT tried it, but a conceptually cleaner (to me) solution would be to have a "splash-stack" approach, where the splash stack would determine the major version in use, then load any behaviour stacks (i.e. dependent on the version number if appropriate) and then finally load the app stack, so that the version-dependent behaviours would come into play. (I haven't been paying enough attention to know whether it would need to "re-bind" the behaviours or not.) -- Alex. On 11/04/2016 23:04, Monte Goulding wrote: >> On 12 Apr 2016, at 6:18 AM, Richard Gaskin wrote: >> >> I would be concerned if the engine ignores errors that prevent it from using a script. > You only get script compilation errors when you set the script not every time a message passes through an object that has an uncompiled script. If we had the latter it might make it very hard to fix some issues. Additionally the engine will load a stack file that has uncompilable scripts silently. At some point it might be helpful to get a list of issues popping up at which point my solution won?t be a good idea so I would switch to dynamically switching behaviors depending on the version. > > Cheers > > Monte > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Apr 11 18:24:47 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 11 Apr 2016 18:24:47 -0400 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <1460404378548-4703298.post@n4.nabble.com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> Message-ID: <008b01d19440$f56d8bf0$e048a3d0$@net> The "Effective" modifier for "formattedheight". This modifier will calculate the text height in a field allowing for maximum acenders and decenders in the field's current text. Without the "Effective" modifier the height is calculated for the maximum acenders and decenders in the entire font set. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Smith Sent: Monday, April 11, 2016 3:53 PM To: use-revolution at lists.runrev.com Subject: Re: Volunteer github guru for documentation submissions? Does anyone have a documentation bug they would like to see fixed? I'd like to give Ali's guide a try but don't have any documentation bugs top of mind. Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Volunteer-github-guru-for-doc umentation-submissions-tp4703029p4703298.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Apr 11 18:24:47 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 11 Apr 2016 18:24:47 -0400 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <1460404378548-4703298.post@n4.nabble.com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> Message-ID: <008b01d19440$f56d8bf0$e048a3d0$@net> The "Effective" modifier for "formattedheight". This modifier will calculate the text height in a field allowing for maximum acenders and decenders in the field's current text. Without the "Effective" modifier the height is calculated for the maximum acenders and decenders in the entire font set. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Smith Sent: Monday, April 11, 2016 3:53 PM To: use-revolution at lists.runrev.com Subject: Re: Volunteer github guru for documentation submissions? Does anyone have a documentation bug they would like to see fixed? I'd like to give Ali's guide a try but don't have any documentation bugs top of mind. Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Volunteer-github-guru-for-doc umentation-submissions-tp4703029p4703298.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From Mark_Smith at cpe.umanitoba.ca Mon Apr 11 18:14:33 2016 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Mon, 11 Apr 2016 15:14:33 -0700 (PDT) Subject: Volunteer github guru for documentation submissions? In-Reply-To: <570C0F47.5030601@hyperactivesw.com> References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> Message-ID: <1460412873291-4703303.post@n4.nabble.com> Thanks Jackie. That one is now submitted. Have any others (send me your list if you'd like)? Once I've done this a few times I'd like to abbreviate the instructions (but I need to understand the process a bit better). -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Volunteer-github-guru-for-documentation-submissions-tp4703029p4703303.html Sent from the Revolution - User mailing list archive at Nabble.com. From selander at tkf.att.ne.jp Mon Apr 11 19:17:36 2016 From: selander at tkf.att.ne.jp (Tim Selander) Date: Tue, 12 Apr 2016 08:17:36 +0900 Subject: Default tool on open stack Message-ID: <570C3090.1040703@tkf.att.ne.jp> When I open a stack, in v7 or v8, it always comes up with the Edit Tool chosen. In the openstack handler (stack script) and opencard handler (card script), I have "choose browse tool" but it has no effect. I save the stacks with the browse tool chosen, and quit. Re-open and the Edit tool is active. Why??? Any help appreciated. Tim Selander Tokyo, Japan From bobsneidar at iotecdigital.com Mon Apr 11 19:17:55 2016 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 11 Apr 2016 23:17:55 +0000 Subject: Missing Functionality In-Reply-To: References: <2C74DBAB-4135-4061-B76C-B125CA3459DB@iotecdigital.com> <153f468cbf0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <09C83CC0-2982-4B7B-B4EA-0D028F99714B@iotecdigital.com> Thanks all for the replies. As it turns out, revMail is not having a problem. Prior to constructing my email data, I call a function that does a very simple thing. It sets the default folder to the path of the application. Trouble is, with OS X standalone, this cannot be done, because the stack is in a bundle folder, so it fails silently exiting to top. The solution was for me to wrap the statements inside setDefaultFolder in a try/catch construct. Now I have to test for the OS and act accordingly. I use this function a lot in this app because I do a lot of file writing. Bob S From bogdanoff at me.com Mon Apr 11 19:23:25 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 11 Apr 2016 16:23:25 -0700 Subject: Default tool on open stack In-Reply-To: <570C3090.1040703@tkf.att.ne.jp> References: <570C3090.1040703@tkf.att.ne.jp> Message-ID: What I do is?in the openStack handler I place: if the environment is "development" then choose browse tool end if Seems to be reliable. Peter Bogdanoff UCLA On Apr 11, 2016, at 4:17 PM, Tim Selander wrote: > When I open a stack, in v7 or v8, it always comes up with the Edit Tool chosen. > > In the openstack handler (stack script) and opencard handler (card script), I have "choose browse tool" but it has no effect. > > I save the stacks with the browse tool chosen, and quit. > > Re-open and the Edit tool is active. > > Why??? > > Any help appreciated. > > Tim Selander > Tokyo, Japan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Mon Apr 11 19:41:29 2016 From: irog at mac.com (Roger Guay) Date: Mon, 11 Apr 2016 16:41:29 -0700 Subject: Default tool on open stack In-Reply-To: References: <570C3090.1040703@tkf.att.ne.jp> Message-ID: That does not work for me in v 7.1.2 but I wish it did!! I think this should be a LC Preference setting. Roger > On Apr 11, 2016, at 4:23 PM, Peter Bogdanoff wrote: > > What I do is?in the openStack handler I place: > > if the environment is "development" then > choose browse tool > end if > > Seems to be reliable. > > Peter Bogdanoff > UCLA > > On Apr 11, 2016, at 4:17 PM, Tim Selander wrote: > >> When I open a stack, in v7 or v8, it always comes up with the Edit Tool chosen. >> >> In the openstack handler (stack script) and opencard handler (card script), I have "choose browse tool" but it has no effect. >> >> I save the stacks with the browse tool chosen, and quit. >> >> Re-open and the Edit tool is active. >> >> Why??? >> >> Any help appreciated. >> >> Tim Selander >> Tokyo, Japan >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Apr 11 19:47:34 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 11 Apr 2016 18:47:34 -0500 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <008b01d19440$f56d8bf0$e048a3d0$@net> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <008b01d19440$f56d8bf0$e048a3d0$@net> Message-ID: <1540788b380.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I tested this in LC 8 and wasn't getting any difference when adding "effective" so maybe it's been changed. I'm editing the two formatted properties right now and wasn't sure I should add the effective distinction. Do you get a difference in 8? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 11, 2016 5:25:53 PM "Ralph DiMola" wrote: > The "Effective" modifier for "formattedheight". This modifier will calculate > the text height in a field allowing for maximum acenders and decenders in > the field's current text. Without the "Effective" modifier the height is > calculated for the maximum acenders and decenders in the entire font set. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Mark Smith > Sent: Monday, April 11, 2016 3:53 PM > To: use-revolution at lists.runrev.com > Subject: Re: Volunteer github guru for documentation submissions? > > Does anyone have a documentation bug they would like to see fixed? I'd like > to give Ali's guide a try but don't have any documentation bugs top of mind. > > Mark > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Volunteer-github-guru-for-doc > umentation-submissions-tp4703029p4703298.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Mon Apr 11 19:58:25 2016 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 11 Apr 2016 23:58:25 +0000 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <1460412873291-4703303.post@n4.nabble.com> References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460412873291-4703303.post@n4.nabble.com> Message-ID: On Apr 11, 2016, at 4:14 PM, Mark Smith wrote: > > Thanks Jackie. That one is now submitted. Have any others (send me your list > if you'd like)? Once I've done this a few times I'd like to abbreviate the > instructions (but I need to understand the process a bit better). Mark, I?m on the same learning curve as you right now. I?m having no problem finding little problems to fix?I just browse through dictionary entries for terms I?m pretty familiar with and do a close reading of the whole thing?syntax, examples, description, the works. I almost always find some little thing that needs fixing, like misspellings, missing examples and inaccuracies/omissions in the description. One common problem is missing or inappropriate entries in the ?Related? category. For example, in one document I found that there were cross references to ?keyword? where it really should have been ?object? or ?glossary". E.g. in the HTMLText document there were cross references to field (keyword) that really should have been field (object). Here are a couple of github lessons learned so far: Don?t start in the main develop branch (livecode/livecode/develop) when making documentation fixes; instead use the community-docs branch at https://github.com/livecode/livecode/tree/community-docs and make edits there. Maybe that is obvious to others; it wasn?t to me. As long as you?re editing a document, do the close reading I talked about and make all of the changes at once. A couple of times I?ve found something I missed and had to go back and re-edit then re-submit the pull request. It?s been a learning curve, but the good news is my head doesn?t hurt quite as much as it did last week. :) Devin Devin Asay Office of Digital Humanities Brigham Young University From jacque at hyperactivesw.com Mon Apr 11 20:50:07 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 11 Apr 2016 19:50:07 -0500 Subject: Default tool on open stack In-Reply-To: References: <570C3090.1040703@tkf.att.ne.jp> Message-ID: <15407bc46a0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> It works if you send the instruction a few milliseconds after opencard finishes. Basically the whole IDE has to be done with its stuff first. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 11, 2016 6:43:23 PM Roger Guay wrote: > That does not work for me in v 7.1.2 but I wish it did!! I think this > should be a LC Preference setting. > > > Roger > > > >> On Apr 11, 2016, at 4:23 PM, Peter Bogdanoff wrote: >> >> What I do is?in the openStack handler I place: >> >> if the environment is "development" then >> choose browse tool >> end if >> >> Seems to be reliable. >> >> Peter Bogdanoff >> UCLA >> >> On Apr 11, 2016, at 4:17 PM, Tim Selander wrote: >> >>> When I open a stack, in v7 or v8, it always comes up with the Edit Tool chosen. >>> >>> In the openstack handler (stack script) and opencard handler (card script), >>> I have "choose browse tool" but it has no effect. >>> >>> I save the stacks with the browse tool chosen, and quit. >>> >>> Re-open and the Edit tool is active. >>> >>> Why??? >>> >>> Any help appreciated. >>> >>> Tim Selander >>> Tokyo, Japan >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Mon Apr 11 21:31:54 2016 From: irog at mac.com (Roger Guay) Date: Mon, 11 Apr 2016 18:31:54 -0700 Subject: Default tool on open stack In-Reply-To: <15407bc46a0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <570C3090.1040703@tkf.att.ne.jp> <15407bc46a0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <88C2D2EA-D74C-434B-B868-9B5F7B188DCE@mac.com> you?re right again, Jacque. Thanks! > On Apr 11, 2016, at 5:50 PM, J. Landman Gay wrote: > > It works if you send the instruction a few milliseconds after opencard finishes. Basically the whole IDE has to be done with its stuff first. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > On April 11, 2016 6:43:23 PM Roger Guay wrote: > >> That does not work for me in v 7.1.2 but I wish it did!! I think this should be a LC Preference setting. >> >> >> Roger >> >> >> >>> On Apr 11, 2016, at 4:23 PM, Peter Bogdanoff wrote: >>> >>> What I do is?in the openStack handler I place: >>> >>> if the environment is "development" then >>> choose browse tool >>> end if >>> >>> Seems to be reliable. >>> >>> Peter Bogdanoff >>> UCLA >>> >>> On Apr 11, 2016, at 4:17 PM, Tim Selander wrote: >>> >>>> When I open a stack, in v7 or v8, it always comes up with the Edit Tool chosen. >>>> >>>> In the openstack handler (stack script) and opencard handler (card script), I have "choose browse tool" but it has no effect. >>>> >>>> I save the stacks with the browse tool chosen, and quit. >>>> >>>> Re-open and the Edit tool is active. >>>> >>>> Why??? >>>> >>>> Any help appreciated. >>>> >>>> Tim Selander >>>> Tokyo, Japan >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Mon Apr 11 21:38:31 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 11 Apr 2016 21:38:31 -0400 Subject: Volunteer github guru for documentation submissions? In-Reply-To: References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460412873291-4703303.post@n4.nabble.com> Message-ID: The good news is that if you make an edit after a pull request, at least if you're using github desktop, you don't have to re-submit the pull request, as long as no action has taken place on the original one. I found that out when I was working on send and pendingMessages. I also made the mistake of being in the wrong branch (I think the branch issue is going to be a constant problem). On Mon, Apr 11, 2016 at 7:58 PM, Devin Asay wrote: > On Apr 11, 2016, at 4:14 PM, Mark Smith > wrote: > > > > Thanks Jackie. That one is now submitted. Have any others (send me your > list > > if you'd like)? Once I've done this a few times I'd like to abbreviate > the > > instructions (but I need to understand the process a bit better). > > Mark, > > I?m on the same learning curve as you right now. I?m having no problem > finding little problems to fix?I just browse through dictionary entries for > terms I?m pretty familiar with and do a close reading of the whole > thing?syntax, examples, description, the works. I almost always find some > little thing that needs fixing, like misspellings, missing examples and > inaccuracies/omissions in the description. One common problem is missing or > inappropriate entries in the ?Related? category. For example, in one > document I found that there were cross references to ?keyword? where it > really should have been ?object? or ?glossary". E.g. in the HTMLText > document there were cross references to field (keyword) that really should > have been field (object). > > Here are a couple of github lessons learned so far: > > Don?t start in the main develop branch (livecode/livecode/develop) when > making documentation fixes; instead use the community-docs branch at > https://github.com/livecode/livecode/tree/community-docs and make edits > there. Maybe that is obvious to others; it wasn?t to me. > > As long as you?re editing a document, do the close reading I talked about > and make all of the changes at once. A couple of times I?ve found something > I missed and had to go back and re-edit then re-submit the pull request. > > It?s been a learning curve, but the good news is my head doesn?t hurt > quite as much as it did last week. :) > > Devin > > > Devin Asay > Office of Digital Humanities > Brigham Young University > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Mon Apr 11 21:43:44 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 11 Apr 2016 20:43:44 -0500 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <1460412873291-4703303.post@n4.nabble.com> References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460412873291-4703303.post@n4.nabble.com> Message-ID: <570C52D0.8070806@hyperactivesw.com> On 4/11/2016 5:14 PM, Mark Smith wrote: > Thanks Jackie. That one is now submitted. Have any others (send me your list > if you'd like)? Once I've done this a few times I'd like to abbreviate the > instructions (but I need to understand the process a bit better). Like Devin said, almost everything I look at needs at least a minor tweak. I was just reading the encrypt entry. It's missing examples, but I don't know enough about encryption to add meaningful ones. If you do, that'd be great. Another thing to do would be to go through a pre-8 dictionary and look at entries with user notes. Those aren't included in the LC 8 dictionary and if you see some that are useful, add them to the main description. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Apr 11 21:54:02 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 11 Apr 2016 20:54:02 -0500 Subject: Volunteer github guru for documentation submissions? In-Reply-To: References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460412873291-4703303.post@n4.nabble.com> Message-ID: <570C553A.3070309@hyperactivesw.com> On 4/11/2016 6:58 PM, Devin Asay wrote: > Don?t start in the main develop branch (livecode/livecode/develop) > when making documentation fixes; instead use the community-docs > branch athttps://github.com/livecode/livecode/tree/community-docs > and make edits there. Maybe that is obvious to others; it wasn?t to > me. There's no path to that in the web interface. The only one I see is docs/dictionary/ which takes you directly to /develop. (And if I was looking for "/tree/" it isn't there either.) If there's a community branch, it's another secret link. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lan.kc.macmail at gmail.com Mon Apr 11 22:07:28 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 12 Apr 2016 10:07:28 +0800 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <570C52D0.8070806@hyperactivesw.com> References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460412873291-4703303.post@n4.nabble.com> <570C52D0.8070806@hyperactivesw.com> Message-ID: On Tue, Apr 12, 2016 at 9:43 AM, J. Landman Gay wrote: > > Another thing to do would be to go through a pre-8 dictionary and look at > entries with user notes. Those aren't included in the LC 8 dictionary and > if you see some that are useful, add them to the main description. > > Monte, are you going to comment on this? By the way I still haven't heard back form my 'unsigned' contributor. From jacque at hyperactivesw.com Mon Apr 11 22:08:19 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 11 Apr 2016 21:08:19 -0500 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <570C553A.3070309@hyperactivesw.com> References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460412873291-4703303.post@n4.nabble.com> <570C553A.3070309@hyperactivesw.com> Message-ID: <570C5893.9020208@hyperactivesw.com> On 4/11/2016 8:54 PM, J. Landman Gay wrote: > > If there's a community branch, it's another secret link. Found it, it's buried under all the bug fixes. Basically you have to know it exists and type it into the combo box field to get there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lan.kc.macmail at gmail.com Mon Apr 11 22:13:26 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 12 Apr 2016 10:13:26 +0800 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <570C553A.3070309@hyperactivesw.com> References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460412873291-4703303.post@n4.nabble.com> <570C553A.3070309@hyperactivesw.com> Message-ID: On Tue, Apr 12, 2016 at 9:54 AM, J. Landman Gay wrote: > On 4/11/2016 6:58 PM, Devin Asay wrote: > >> instead use the community-docs >> branch athttps://github.com/livecode/livecode/tree/community-docs >> and make edits there. Maybe that is obvious to others; it wasn?t to >> me. >> > > There's no path to that in the web interface. The only one I see is > docs/dictionary/ which takes you directly to /develop. (And if I was > looking for "/tree/" it isn't there either.) > > If there's a community branch, it's another secret link. I don't understand this. The very first screenshot within the Using the GitHub Web Interface guide shows: Branch: comm.... I think you can guess it's the community branch. The Link given just above it to try as an example is: https://github.com/livecode/livecode/blob/community-docs/docs/dictionary/command/accept.lcdoc now I don't know the ins and outs, but when I click on that it takes me to Branch: community and although it starts out as 'livecode/blob/community-docs/' as soon as I go to any individual document it automatically changes to 'livecode/tree/community-docs/' From lan.kc.macmail at gmail.com Mon Apr 11 22:15:59 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 12 Apr 2016 10:15:59 +0800 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <570C5893.9020208@hyperactivesw.com> References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460412873291-4703303.post@n4.nabble.com> <570C553A.3070309@hyperactivesw.com> <570C5893.9020208@hyperactivesw.com> Message-ID: On Tue, Apr 12, 2016 at 10:08 AM, J. Landman Gay wrote: > >> If there's a community branch, it's another secret link. >> > > Found it, it's buried under all the bug fixes. Basically you have to know > it exists and type it into the combo box field to get there. > > After the very first visit, knowing I'd be back I simply bookmarked: https://github.com/livecode/livecode/tree/community-docs/docs From lan.kc.macmail at gmail.com Mon Apr 11 22:22:32 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 12 Apr 2016 10:22:32 +0800 Subject: Volunteer github guru for documentation submissions? In-Reply-To: References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460412873291-4703303.post@n4.nabble.com> <570C553A.3070309@hyperactivesw.com> <570C5893.9020208@hyperactivesw.com> Message-ID: Actually, that last post of mine was very rude. Sorry. Let me start again. If there is anything within the Contributing to LiveCode Documentation at: https://github.com/livecode/livecode/blob/community-docs/docs/contributing_to_docs.md that can be improved, i.e. links to Branches that aren't obvious, or hilighting [highlighting] of URLs that need to be check so you know you are in the right place, or could be bookmarked so you can quickly return to the right place. Please drop Ali a line, with screenshots if you can, and he will incorporate those improvements. Again, sorry for my earlier post. On Tue, Apr 12, 2016 at 10:15 AM, Kay C Lan wrote: > On Tue, Apr 12, 2016 at 10:08 AM, J. Landman Gay > wrote: > >> >>> If there's a community branch, it's another secret link. >>> >> >> Found it, it's buried under all the bug fixes. Basically you have to know >> it exists and type it into the combo box field to get there. >> >> After the very first visit, knowing I'd be back I simply bookmarked: > > https://github.com/livecode/livecode/tree/community-docs/docs > From jacque at hyperactivesw.com Mon Apr 11 22:31:34 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 11 Apr 2016 21:31:34 -0500 Subject: Volunteer github guru for documentation submissions? In-Reply-To: References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460412873291-4703303.post@n4.nabble.com> Message-ID: <570C5E06.4030609@hyperactivesw.com> On 4/11/2016 6:58 PM, Devin Asay wrote: > in the HTMLText document there were cross references to field (keyword) that really should have been field (object). Just found this document: I think it says "object" should only be used for glossary entries: *** Type (required) The type of this API entry. One of the following: (API-level) * command * function * property * message * constant * keyword * control structure * operator * statement * expression (Glossary-level) * library * widget * glossary * object *** I think of fields as objects, but maybe something else is going on. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Mon Apr 11 22:51:17 2016 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 11 Apr 2016 22:51:17 -0400 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <1540788b380.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <008b01d19440$f56d8bf0$e048a3d0$@net> <1540788b380.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <00a001d19466$2fd8fde0$8f8af9a0$@net> I will try it in 8 tomorrow. If I recall correctly it was different only if you did "the effective formattedheight OF CHAR 1 TO -1 of field MyField" Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Monday, April 11, 2016 7:48 PM To: How to use LiveCode Subject: RE: Volunteer github guru for documentation submissions? I tested this in LC 8 and wasn't getting any difference when adding "effective" so maybe it's been changed. I'm editing the two formatted properties right now and wasn't sure I should add the effective distinction. Do you get a difference in 8? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On April 11, 2016 5:25:53 PM "Ralph DiMola" wrote: > The "Effective" modifier for "formattedheight". This modifier will calculate > the text height in a field allowing for maximum acenders and decenders in > the field's current text. Without the "Effective" modifier the height is > calculated for the maximum acenders and decenders in the entire font set. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Mark Smith > Sent: Monday, April 11, 2016 3:53 PM > To: use-revolution at lists.runrev.com > Subject: Re: Volunteer github guru for documentation submissions? > > Does anyone have a documentation bug they would like to see fixed? I'd like > to give Ali's guide a try but don't have any documentation bugs top of mind. > > Mark > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Volunteer-github-guru-for-doc > umentation-submissions-tp4703029p4703298.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Mon Apr 11 23:02:15 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 12 Apr 2016 11:02:15 +0800 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <570C5E06.4030609@hyperactivesw.com> References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460412873291-4703303.post@n4.nabble.com> <570C5E06.4030609@hyperactivesw.com> Message-ID: On Tue, Apr 12, 2016 at 10:31 AM, J. Landman Gay wrote: > > I think it says "object" should only be used for glossary entries: > > No that is not what it's saying. You will find that there are 3 separate lcdocs relating to fields: keyword, object and glossary - you can tell from the URL without clicking on them. https://github.com/lan-kc/livecode/blob/develop/docs/glossary/f/field.lcdoc https://github.com/lan-kc/livecode/blob/develop/docs/dictionary/keyword/field.lcdoc https://github.com/lan-kc/livecode/blob/develop/docs/dictionary/object/field.lcdoc Where this becomes important is that within the 'body' of the text if you use the word 'field' and you are going to link it to another lcdoc you need to know what context it is in so that in the Reference section of the lcdoc you have the correct link: field (glossary). More importantly, if in the 'body' you refer to a field generically, so - field (glossary) and then as an object, so field (object) link, and then again you refer to creating a field, and therefore the use of field as a keyword, then you also need a field (keyword) link. BUT THESE THREE need to be made unambiguous with the way you <> the links in the 'body' so that each link will point to the correct lcdoc This entry is with the LiveCode Documentation Format Reference refers: If the target name is shared by two references, then the link should be > disambiguated by including the type in brackets: > We might want to link to the function and the > command in the same entry, if the references contain > "other (function)" and "other (command)". AND THEN MUST in the reference section have: References: field (glossary), field (keyword), field (object) ... etc to other links HTH From devin_asay at byu.edu Mon Apr 11 23:01:49 2016 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 12 Apr 2016 03:01:49 +0000 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <570C5E06.4030609@hyperactivesw.com> References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460412873291-4703303.post@n4.nabble.com> <570C5E06.4030609@hyperactivesw.com> Message-ID: > On Apr 11, 2016, at 8:31 PM, J. Landman Gay wrote: > > On 4/11/2016 6:58 PM, Devin Asay wrote: >> in the HTMLText document there were cross references to field (keyword) that really should have been field (object). > > Just found this document: > > > I think it says "object" should only be used for glossary entries: > > *** > Type (required) > > The type of this API entry. One of the following: (API-level) * command * function * property * message * constant * keyword * control structure * operator * statement * expression > > (Glossary-level) * library * widget * glossary * object > *** > > I think of fields as objects, but maybe something else is going on. Well, okay, but this confuses me. Devin Devin Asay Learn to code with LiveCode University https://livecode.com/store/education/ From jacque at hyperactivesw.com Mon Apr 11 23:12:25 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 11 Apr 2016 22:12:25 -0500 Subject: Volunteer github guru for documentation submissions? In-Reply-To: References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460412873291-4703303.post@n4.nabble.com> <570C5E06.4030609@hyperactivesw.com> Message-ID: <570C6799.80509@hyperactivesw.com> Maybe someone knows how to fix this. I tried to join github and open an account. I typed "jacque" into the user name field. Github told me I needed to have cookies turned on, so I did that. Then I tried to fill out the rest of the fields and it said my user name was already taken. I started over in a different browser but my user name was still taken. So how do I get my user name back? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lan.kc.macmail at gmail.com Mon Apr 11 23:23:27 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 12 Apr 2016 11:23:27 +0800 Subject: Volunteer github guru for documentation submissions? In-Reply-To: References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460412873291-4703303.post@n4.nabble.com> <570C5E06.4030609@hyperactivesw.com> Message-ID: > > On Apr 11, 2016, at 8:31 PM, J. Landman Gay > wrote: > > > > I think it says "object" should only be used for glossary entries: > > On Tue, Apr 12, 2016 at 11:01 AM, Devin Asay wrote: > > Well, okay, but this confuses me. > > Devin > > In LC8 dp16 Dictionary, type in 'do state' and click on the 'do statement' entry. Scroll down and have a look at 'Related:' the various Linked entries - keyword; command: function: glossary: Note that it just happens that none of the Glossary entries have anything to do with objects. Then in the Description section, if you pass you mouse along the first line of the 2nd paragraph you'll note that the words 'command', 'executing', 'commands' turn into links. Hopefully that better explains what I tried to type in my previous post. From monte at appisle.net Mon Apr 11 23:45:02 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 12 Apr 2016 13:45:02 +1000 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <570C553A.3070309@hyperactivesw.com> References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460412873291-4703303.post@n4.nabble.com> <570C553A.3070309@hyperactivesw.com> Message-ID: > On 12 Apr 2016, at 11:54 AM, J. Landman Gay wrote: > > There's no path to that in the web interface. The only one I see is docs/dictionary/ which takes you directly to /develop. (And if I was looking for "/tree/" it isn't there either.) > > If there's a community branch, it's another secret link. Yes this is a rather confusing point. I?ve asked internally about the purpose of the community-docs branch but until they wake up in Scotland my best guess is it provides consistent urls for the web interface docs allowing the team to target community docs changes to various builds without changing the recommended url to send a PR against. If you navigate to the Making your dictionary change section of the docs contribution document https://github.com/livecode/livecode/blob/develop/docs/contributing_to_docs.md you will see that it states to navigate to the dictionary folder of the community-docs branch and provides a direct link. You can switch branches on github using the branch menu on the top left. Cheers Monte From bogdanoff at me.com Mon Apr 11 23:46:56 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 11 Apr 2016 20:46:56 -0700 Subject: Default tool on open stack In-Reply-To: <88C2D2EA-D74C-434B-B868-9B5F7B188DCE@mac.com> References: <570C3090.1040703@tkf.att.ne.jp> <15407bc46a0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <88C2D2EA-D74C-434B-B868-9B5F7B188DCE@mac.com> Message-ID: I should have pointed out that, in my case, the openStack script calls another handler that chooses the tool. It must be that delay that allows the choosing to happen. Peter On Apr 11, 2016, at 6:31 PM, Roger Guay wrote: > you?re right again, Jacque. Thanks! > > >> On Apr 11, 2016, at 5:50 PM, J. Landman Gay wrote: >> >> It works if you send the instruction a few milliseconds after opencard finishes. Basically the whole IDE has to be done with its stuff first. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> >> On April 11, 2016 6:43:23 PM Roger Guay wrote: >> >>> That does not work for me in v 7.1.2 but I wish it did!! I think this should be a LC Preference setting. >>> >>> >>> Roger >>> >>> >>> >>>> On Apr 11, 2016, at 4:23 PM, Peter Bogdanoff wrote: >>>> >>>> What I do is?in the openStack handler I place: >>>> >>>> if the environment is "development" then >>>> choose browse tool >>>> end if >>>> >>>> Seems to be reliable. >>>> >>>> Peter Bogdanoff >>>> UCLA >>>> >>>> On Apr 11, 2016, at 4:17 PM, Tim Selander wrote: >>>> >>>>> When I open a stack, in v7 or v8, it always comes up with the Edit Tool chosen. >>>>> >>>>> In the openstack handler (stack script) and opencard handler (card script), I have "choose browse tool" but it has no effect. >>>>> >>>>> I save the stacks with the browse tool chosen, and quit. >>>>> >>>>> Re-open and the Edit tool is active. >>>>> >>>>> Why??? >>>>> >>>>> Any help appreciated. >>>>> >>>>> Tim Selander >>>>> Tokyo, Japan >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at appisle.net Mon Apr 11 23:52:29 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 12 Apr 2016 13:52:29 +1000 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <570C6799.80509@hyperactivesw.com> References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460412873291-4703303.post@n4.nabble.com> <570C5E06.4030609@hyperactivesw.com> <570C6799.80509@hyperactivesw.com> Message-ID: <0E6110CB-ADC2-4CEB-A8E3-D9C09EC8A430@appisle.net> > On 12 Apr 2016, at 1:12 PM, J. Landman Gay wrote: > > So how do I get my user name back? You appear to have worked it out and are now cooking with gas so I?ll have my sandwich tasted please ;-) Cheers Monte From monte at appisle.net Mon Apr 11 23:53:22 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 12 Apr 2016 13:53:22 +1000 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <0E6110CB-ADC2-4CEB-A8E3-D9C09EC8A430@appisle.net> References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460412873291-4703303.post@n4.nabble.com> <570C5E06.4030609@hyperactivesw.com> <570C6799.80509@hyperactivesw.com> <0E6110CB-ADC2-4CEB-A8E3-D9C09EC8A430@appisle.net> Message-ID: > On 12 Apr 2016, at 1:52 PM, Monte Goulding wrote: > > >> On 12 Apr 2016, at 1:12 PM, J. Landman Gay > wrote: >> >> So how do I get my user name back? > > You appear to have worked it out and are now cooking with gas so I?ll have my sandwich tasted please ;-) Aha? I meant toasted but you can taste it if you want ;-P > > Cheers > > Monte From jacque at hyperactivesw.com Tue Apr 12 00:32:23 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 11 Apr 2016 23:32:23 -0500 Subject: Volunteer github guru for documentation submissions? In-Reply-To: References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460412873291-4703303.post@n4.nabble.com> <570C5E06.4030609@hyperactivesw.com> <570C6799.80509@hyperactivesw.com> <0E6110CB-ADC2-4CEB-A8E3-D9C09EC8A430@appisle.net> Message-ID: <570C7A57.8010609@hyperactivesw.com> On 4/11/2016 10:53 PM, Monte Goulding wrote: >> >You appear to have worked it out and are now cooking with gas so I?ll have my sandwich tasted please ;-) > Aha? I meant toasted but you can taste it if you want ;-P *I'm* toasted. I worked it out by making a new name. I edited two entries and was pleased to see your comment there. Thanks for that, I'm sure I look like a dunce to the in-group. If I knew how to reply I would, but I think I've learned enough for today. I have also developed a healthy sympathy for the new people who come to the LC forums and don't know which end is up or where to start. I owe you a sandwich. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From irog at mac.com Tue Apr 12 00:36:32 2016 From: irog at mac.com (Roger Guay) Date: Mon, 11 Apr 2016 21:36:32 -0700 Subject: Default tool on open stack In-Reply-To: References: <570C3090.1040703@tkf.att.ne.jp> <15407bc46a0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <88C2D2EA-D74C-434B-B868-9B5F7B188DCE@mac.com> Message-ID: <4CFF441B-1066-48D3-ABB3-C89C0CDC62F6@mac.com> This would explain why it worked for me in some cases but not others as well. Another mystery bites the dust! Roger > On Apr 11, 2016, at 8:46 PM, Peter Bogdanoff wrote: > > I should have pointed out that, in my case, the openStack script calls another handler that chooses the tool. It must be that delay that allows the choosing to happen. > > Peter > > On Apr 11, 2016, at 6:31 PM, Roger Guay wrote: > >> you?re right again, Jacque. Thanks! >> >> >>> On Apr 11, 2016, at 5:50 PM, J. Landman Gay wrote: >>> >>> It works if you send the instruction a few milliseconds after opencard finishes. Basically the whole IDE has to be done with its stuff first. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> >>> >>> On April 11, 2016 6:43:23 PM Roger Guay wrote: >>> >>>> That does not work for me in v 7.1.2 but I wish it did!! I think this should be a LC Preference setting. >>>> >>>> >>>> Roger >>>> >>>> >>>> >>>>> On Apr 11, 2016, at 4:23 PM, Peter Bogdanoff wrote: >>>>> >>>>> What I do is?in the openStack handler I place: >>>>> >>>>> if the environment is "development" then >>>>> choose browse tool >>>>> end if >>>>> >>>>> Seems to be reliable. >>>>> >>>>> Peter Bogdanoff >>>>> UCLA >>>>> >>>>> On Apr 11, 2016, at 4:17 PM, Tim Selander wrote: >>>>> >>>>>> When I open a stack, in v7 or v8, it always comes up with the Edit Tool chosen. >>>>>> >>>>>> In the openstack handler (stack script) and opencard handler (card script), I have "choose browse tool" but it has no effect. >>>>>> >>>>>> I save the stacks with the browse tool chosen, and quit. >>>>>> >>>>>> Re-open and the Edit tool is active. >>>>>> >>>>>> Why??? >>>>>> >>>>>> Any help appreciated. >>>>>> >>>>>> Tim Selander >>>>>> Tokyo, Japan >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at 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 at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Tue Apr 12 00:58:34 2016 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 12 Apr 2016 04:58:34 +0000 Subject: Volunteer github guru for documentation submissions? In-Reply-To: References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460412873291-4703303.post@n4.nabble.com> <570C5E06.4030609@hyperactivesw.com> Message-ID: <63C3FCD7-2AE0-4B50-BE4A-ADDFF966CEFB@byu.edu> > On Apr 11, 2016, at 9:23 PM, Kay C Lan wrote: > >> >> On Apr 11, 2016, at 8:31 PM, J. Landman Gay >> wrote: >>> >>> I think it says "object" should only be used for glossary entries: >> >> On Tue, Apr 12, 2016 at 11:01 AM, Devin Asay wrote: >> >> Well, okay, but this confuses me. >> >> Devin >> >> In LC8 dp16 Dictionary, type in 'do state' and click on the 'do statement' > entry. Scroll down and have a look at 'Related:' the various Linked entries > - keyword; command: function: glossary: > > Note that it just happens that none of the Glossary entries have anything > to do with objects. > > Then in the Description section, if you pass you mouse along the first line > of the 2nd paragraph you'll note that the words 'command', 'executing', > 'commands' turn into links. > > Hopefully that better explains what I tried to type in my previous post. Yes, Kay, thanks. I actually think I understand pretty well about needing to list everything in the Related: section for which you have links in the Description section. And you need to be careful about getting the correct entry in the Related section. For instance, when I was overhauling the HTMLText property document, I noticed that the Related section listed both ?field (object)? and 'field (keyword)?. Some of the links within the Description section referenced field(object) and some referenced field(keyword). But if you go and look up field keyword in the dictionary, its use as a KEYWORD is very narrow?and is limited to things like ?choose field tool?. That obviously doesn?t apply to anything in the HTMLText entry, which refers to fields a lot, but only to fields as OBJECTS. So I made the decision to remove field (keyword) altogether from that document. I think that was the right decision. I?ll see what Ali says when he reviews it. I?m actually kinda having fun, and I saw my name in the list of open source contributors in Peter Brett?s weekly open source newsletter! :) Devin Devin Asay Learn to code with LiveCode University https://livecode.com/store/education/ From selander at tkf.att.ne.jp Tue Apr 12 01:07:35 2016 From: selander at tkf.att.ne.jp (Tim Selander) Date: Tue, 12 Apr 2016 14:07:35 +0900 Subject: Default tool on open stack In-Reply-To: References: <570C3090.1040703@tkf.att.ne.jp> Message-ID: <570C8297.5090904@tkf.att.ne.jp> Hi! That worked! Many thanks, Peter. Though I agree with Roger, the default tool should be a preference somewhere. I'm making little utilities to use at work, and the staff that use them are always befuddled when they try to click a field to enter text, but the whole field gets selected and pushed around the screen instead. Tim Selander Tokyo, Japan On 16/04/12 8:23, Peter Bogdanoff wrote: > What I do is?in the openStack handler I place: > > if the environment is "development" then > choose browse tool > end if > > Seems to be reliable. > > Peter Bogdanoff > UCLA > > On Apr 11, 2016, at 4:17 PM, Tim Selander wrote: > >> When I open a stack, in v7 or v8, it always comes up with the Edit Tool chosen. >> >> In the openstack handler (stack script) and opencard handler (card script), I have "choose browse tool" but it has no effect. >> >> I save the stacks with the browse tool chosen, and quit. >> >> Re-open and the Edit tool is active. >> >> Why??? >> >> Any help appreciated. >> >> Tim Selander >> Tokyo, Japan >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lan.kc.macmail at gmail.com Tue Apr 12 01:13:56 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 12 Apr 2016 13:13:56 +0800 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <63C3FCD7-2AE0-4B50-BE4A-ADDFF966CEFB@byu.edu> References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460412873291-4703303.post@n4.nabble.com> <570C5E06.4030609@hyperactivesw.com> <63C3FCD7-2AE0-4B50-BE4A-ADDFF966CEFB@byu.edu> Message-ID: Great! From mwieder at ahsoftware.net Tue Apr 12 01:38:01 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 11 Apr 2016 22:38:01 -0700 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <570C7A57.8010609@hyperactivesw.com> References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460412873291-4703303.post@n4.nabble.com> <570C5E06.4030609@hyperactivesw.com> <570C6799.80509@hyperactivesw.com> <0E6110CB-ADC2-4CEB-A8E3-D9C09EC8A430@appisle.net> <570C7A57.8010609@hyperactivesw.com> Message-ID: <570C89B9.3030401@ahsoftware.net> On 04/11/2016 09:32 PM, J. Landman Gay wrote: > *I'm* toasted. I worked it out by making a new name. ...and I see you managed to get past vulcan's Contributor's Agreement hurdle as well. -- Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Tue Apr 12 01:39:32 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 11 Apr 2016 22:39:32 -0700 Subject: Default tool on open stack In-Reply-To: <570C8297.5090904@tkf.att.ne.jp> References: <570C3090.1040703@tkf.att.ne.jp> <570C8297.5090904@tkf.att.ne.jp> Message-ID: <570C8A14.40206@ahsoftware.net> On 04/11/2016 10:07 PM, Tim Selander wrote: > Though I agree with Roger, the default tool should be a preference > somewhere. I remember suggesting that to Kevin a dozen years ago. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Tue Apr 12 02:00:06 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 12 Apr 2016 01:00:06 -0500 Subject: Volunteer github guru for documentation submissions? In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> Message-ID: <570C8EE6.2080609@hyperactivesw.com> Kay C Lan wrote: > The very first screenshot within the Using the > GitHub Web Interface guide shows: Branch: comm.... I think you can guess > it's the community branch. The Link given just above it to try as an > example is: > > https://github.com/livecode/livecode/blob/community-docs/docs/dictionary/command/accept.lcdoc I ended up with eight document tabs in my browser and a second window open for cross reference. I didn't notice the link you mention or the relevant part of the screenshot; at that point I didn't know what was important. There was too much to read. I do know what would have made it easier for me though and I'll write it up. Don't worry about being rude, you weren't really. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bogdanoff at me.com Tue Apr 12 02:12:57 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 11 Apr 2016 23:12:57 -0700 Subject: Choose Browse Tool with click Message-ID: <86D4FF37-0EC0-4F83-A697-C87496503C10@me.com> Hi all, I have a script in a button: on mouseDoubleDown choose pointer tool select me end mouseDoubleDown I move the button around, etc. Now I want to click off of the button and choose the browse tool by just clicking on the card. mouseUp, and other click messages aren?t sent because I?m not using the browse tool. How might the card receive a mouse click in that mode? The mouseMove message is always sent and I can use that when the mouse leaves the button, but I really only want to choose the browse tool with a click on the card. Is there another way? Peter Bogdanoff UCLA From scott at tactilemedia.com Tue Apr 12 02:29:36 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 11 Apr 2016 23:29:36 -0700 Subject: Choose Browse Tool with click In-Reply-To: <86D4FF37-0EC0-4F83-A697-C87496503C10@me.com> References: <86D4FF37-0EC0-4F83-A697-C87496503C10@me.com> Message-ID: Not sure what you're actually building but if you don't want to use a key press to change tools, can you simply toggle the tool? on mouseDoubleDown if the tool is "browse tool" then choose pointer tool else choose browse tool end mouseDoubleDown Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/11/16, 11:12 PM, "use-livecode on behalf of Peter Bogdanoff" wrote: >Hi all, > >I have a script in a button: > >on mouseDoubleDown > choose pointer tool > select me >end mouseDoubleDown > >I move the button around, etc. > >Now I want to click off of the button and choose the browse tool by just >clicking on the card. > >mouseUp, and other click messages aren?t sent because I?m not using the >browse tool. > >How might the card receive a mouse click in that mode? > >The mouseMove message is always sent and I can use that when the mouse >leaves the button, but I really only want to choose the browse tool with >a click on the card. > >Is there another way? > >Peter Bogdanoff >UCLA > > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Apr 12 02:40:48 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 12 Apr 2016 01:40:48 -0500 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <570C89B9.3030401@ahsoftware.net> References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460412873291-4703303.post@n4.nabble.com> <570C5E06.4030609@hyperactivesw.com> <570C6799.80509@hyperactivesw.com> <0E6110CB-ADC2-4CEB-A8E3-D9C09EC8A430@appisle.net> <570C7A57.8010609@hyperactivesw.com> <570C89B9.3030401@ahsoftware.net> Message-ID: <570C9870.5000301@hyperactivesw.com> On 4/12/2016 12:38 AM, Mark Wieder wrote: > On 04/11/2016 09:32 PM, J. Landman Gay wrote: > >> *I'm* toasted. I worked it out by making a new name. > > ...and I see you managed to get past vulcan's Contributor's Agreement > hurdle as well. > I feel so...accomplished. Which is better than feeling stupid, which I did. Finding Vulcan's links weren't as hard though, there was only one per page and it kind of leads you by the nose. I gotta say though, I had no idea you guys were spying on me through the air vents. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Apr 12 02:45:20 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 12 Apr 2016 01:45:20 -0500 Subject: Default tool on open stack In-Reply-To: <570C8A14.40206@ahsoftware.net> References: <570C3090.1040703@tkf.att.ne.jp> <570C8297.5090904@tkf.att.ne.jp> <570C8A14.40206@ahsoftware.net> Message-ID: <570C9980.3040602@hyperactivesw.com> On 4/12/2016 12:39 AM, Mark Wieder wrote: > On 04/11/2016 10:07 PM, Tim Selander wrote: > >> Though I agree with Roger, the default tool should be a preference >> somewhere. > > I remember suggesting that to Kevin a dozen years ago. > I remember at least three speakers at a conference way back who accidentally dragged some controls around on the projection screen before remembering to change to the browse tool. If anyone mentions that one of them was me, ignore it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at appisle.net Tue Apr 12 02:46:09 2016 From: monte at appisle.net (Monte Goulding) Date: Tue, 12 Apr 2016 16:46:09 +1000 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <570C9870.5000301@hyperactivesw.com> References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460412873291-4703303.post@n4.nabble.com> <570C5E06.4030609@hyperactivesw.com> <570C6799.80509@hyperactivesw.com> <0E6110CB-ADC2-4CEB-A8E3-D9C09EC8A430@appisle.net> <570C7A57.8010609@hyperactivesw.com> <570C89B9.3030401@ahsoftware.net> <570C9870.5000301@hyperactivesw.com> Message-ID: <2EA79379-79E6-4BFE-90AC-DDC2BB4FBE6A@appisle.net> > On 12 Apr 2016, at 4:40 PM, J. Landman Gay wrote: > > I gotta say though, I had no idea you guys were spying on me through the air vents. If you watch the repo you get emails about everything. It really is great things are starting to move on the contribution front. The more people that get involved the better. Cheers Monte From lan.kc.macmail at gmail.com Tue Apr 12 02:57:46 2016 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 12 Apr 2016 14:57:46 +0800 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <570C8EE6.2080609@hyperactivesw.com> References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <570C8EE6.2080609@hyperactivesw.com> Message-ID: On Tue, Apr 12, 2016 at 2:00 PM, J. Landman Gay wrote: > > Don't worry about being rude, you weren't really. Well inconsiderate and lacked empathy. Everyone reads things differently and their eyes catch something else on a web page. As Monte said, it's great that this is gathering a bit of momentum, but if you had difficulty then others surely will. So rather than telling you to see how I see, the Guide really does need to be fine tuned so that no matter how any one reads it, or what they focus on on the various web pages, they will be gently herded in the correct direction, avoid tripping down holes of confusion, and get to feel the same sense of accomplishment. From james at thehales.id.au Tue Apr 12 02:30:07 2016 From: james at thehales.id.au (jameshale) Date: Mon, 11 Apr 2016 23:30:07 -0700 (PDT) Subject: Standalone (and stack in IDE) getting larger on each launch In-Reply-To: <1460314225002-4703286.post@n4.nabble.com> References: <5706AC81.7080202@hyperactivesw.com> <1460251380445-4703282.post@n4.nabble.com> <1460314225002-4703286.post@n4.nabble.com> Message-ID: <1460442607143-4703344.post@n4.nabble.com> hmm, worth a try. i applied the suggestion to the preopencard handler of the card I know will be first on view. setting a delay of up to 30 ticks made no difference. I will leave this for now. I think something else it happening (possibly due to some script that gets called) which is getting in the way. I can live with the little jump for now. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Standalone-and-stack-in-IDE-getting-larger-on-each-launch-tp4703211p4703344.html Sent from the Revolution - User mailing list archive at Nabble.com. From peter.brett at livecode.com Tue Apr 12 05:14:59 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Tue, 12 Apr 2016 10:14:59 +0100 Subject: Plugins vs. the Mac app bundle Message-ID: <570CBC93.6010302@livecode.com> Hi all, There seems to some confusion about plugins/extensions and the OS X installation method for the LiveCode IDE. Some OS X APIs require the app bundle to be validly signed. Incorrect signatures have previously manifested themselves in horrible ways, including extreme delays when trying to open a file in the IDE, and a variety of other nasty symptoms. The entire app bundle has to be signed, and any modification to the app bundle invalidates the signature. To address this, we have recently made some changes to the OS X installer: - we now just provide a DMG with a pre-constructed app bundle inside, rather than an installer - we make the app bundle read-only to avoid any possibility of modifying it (and breaking LiveCode features) Fortunately, these have fixed the bugs, and improved the LiveCode user experience! Yay! This seems to have caused some issues for plugin authors who have been putting their plugins into the LiveCode app bundle, especially when those plugins try and save state or data back into themselves. Please don't do this! Instead, please put your plugins in the per-user plugins directory. On OS X, the default location is /Users/username/Documents/My LiveCode/Plugins/. You can modify the location in the 'Files & Memory' section of the IDE preferences. For more information, please see the plugins lesson: http://lessons.livecode.com/m/4071/l/21341-how-to-install-a-3rd-party-plugin-in-the-livecode-ide Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From bogdanoff at me.com Tue Apr 12 05:24:26 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Tue, 12 Apr 2016 02:24:26 -0700 Subject: Choose Browse Tool with click In-Reply-To: References: <86D4FF37-0EC0-4F83-A697-C87496503C10@me.com> Message-ID: Thanks, Scott that works?however... I?m experimenting with a tool interface for an application where the user works with buttons, fields, and draw objects (sort of like Apple Pages or Preview). I'm seeing if I can come up with a simple tool strategy that doesn?t require the user to keep track of, or even know which tool is chosen, only that the object can be edited (selected, moved and resized) by something other than a normal single click. Then, clicking off the object would set things back to normal run. Fields might be selected by a single click and text changed by a double click (as in Preview). Has anyone tried this kind of interface? Peter On Apr 11, 2016, at 11:29 PM, Scott Rossi wrote: > Not sure what you're actually building but if you don't want to use a key > press to change tools, can you simply toggle the tool? > > > on mouseDoubleDown > if the tool is "browse tool" then > choose pointer tool > else choose browse tool > end mouseDoubleDown > > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 4/11/16, 11:12 PM, "use-livecode on behalf of Peter Bogdanoff" > > wrote: > >> Hi all, >> >> I have a script in a button: >> >> on mouseDoubleDown >> choose pointer tool >> select me >> end mouseDoubleDown >> >> I move the button around, etc. >> >> Now I want to click off of the button and choose the browse tool by just >> clicking on the card. >> >> mouseUp, and other click messages aren?t sent because I?m not using the >> browse tool. >> >> How might the card receive a mouse click in that mode? >> >> The mouseMove message is always sent and I can use that when the mouse >> leaves the button, but I really only want to choose the browse tool with >> a click on the card. >> >> Is there another way? >> >> Peter Bogdanoff >> UCLA >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Tue Apr 12 06:05:59 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 12 Apr 2016 03:05:59 -0700 Subject: Choose Browse Tool with click In-Reply-To: References: <86D4FF37-0EC0-4F83-A697-C87496503C10@me.com> Message-ID: If I understand what you're attempting, the following should get you going, as long as you select an object immediately upon mouseDoubleDown. Create a backScript with the following script: on mouseDoubleDown choose pointer tool end mouseDoubleDown on selectedObjectChanged if the mouseControl is empty then choose browse tool end selectedObjectChanged When the pointer tool is enabled and you click between objects, you should continue to select whatever is clicked, until clicking on the card, which should then switch to the browse tool. Note that the mouseDoubleDown trigger won't work with an unlocked field. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/12/16, 2:24 AM, "use-livecode on behalf of Peter Bogdanoff" wrote: >Thanks, Scott that works?however... > >I?m experimenting with a tool interface for an application where the user >works with buttons, fields, and draw objects (sort of like Apple Pages or >Preview). I'm seeing if I can come up with a simple tool strategy that >doesn?t require the user to keep track of, or even know which tool is >chosen, only that the object can be edited (selected, moved and resized) >by something other than a normal single click. Then, clicking off the >object would set things back to normal run. Fields might be selected by a >single click and text changed by a double click (as in Preview). > >Has anyone tried this kind of interface? > >Peter > > >On Apr 11, 2016, at 11:29 PM, Scott Rossi wrote: > >> Not sure what you're actually building but if you don't want to use a >>key >> press to change tools, can you simply toggle the tool? >> >> >> on mouseDoubleDown >> if the tool is "browse tool" then >> choose pointer tool >> else choose browse tool >> end mouseDoubleDown >> >> >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 4/11/16, 11:12 PM, "use-livecode on behalf of Peter Bogdanoff" >> >> wrote: >> >>> Hi all, >>> >>> I have a script in a button: >>> >>> on mouseDoubleDown >>> choose pointer tool >>> select me >>> end mouseDoubleDown >>> >>> I move the button around, etc. >>> >>> Now I want to click off of the button and choose the browse tool by >>>just >>> clicking on the card. >>> >>> mouseUp, and other click messages aren?t sent because I?m not using the >>> browse tool. >>> >>> How might the card receive a mouse click in that mode? >>> >>> The mouseMove message is always sent and I can use that when the mouse >>> leaves the button, but I really only want to choose the browse tool >>>with >>> a click on the card. >>> >>> Is there another way? >>> >>> Peter Bogdanoff >>> UCLA >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Tue Apr 12 06:11:53 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 12 Apr 2016 03:11:53 -0700 Subject: Choose Browse Tool with click In-Reply-To: References: <86D4FF37-0EC0-4F83-A697-C87496503C10@me.com> Message-ID: I realize I should have included the object selection in the mouseDoubleDown handler: on mouseDoubleDown choose pointer tool select the mouseControl end mouseDoubleDown Also, if controls will have code that can be activated, you may want to use the these handlers in a front script to preempt the controls' code from firing. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/12/16, 3:05 AM, "use-livecode on behalf of Scott Rossi" wrote: >If I understand what you're attempting, the following should get you >going, as long as you select an object immediately upon mouseDoubleDown. > >Create a backScript with the following script: > >on mouseDoubleDown > choose pointer tool >end mouseDoubleDown > >on selectedObjectChanged > if the mouseControl is empty then choose browse tool >end selectedObjectChanged > > >When the pointer tool is enabled and you click between objects, you should >continue to select whatever is clicked, until clicking on the card, which >should then switch to the browse tool. > >Note that the mouseDoubleDown trigger won't work with an unlocked field. > >Regards, > >Scott Rossi >Creative Director >Tactile Media, UX/UI Design > > > > >On 4/12/16, 2:24 AM, "use-livecode on behalf of Peter Bogdanoff" > >wrote: > >>Thanks, Scott that works?however... >> >>I?m experimenting with a tool interface for an application where the user >>works with buttons, fields, and draw objects (sort of like Apple Pages or >>Preview). I'm seeing if I can come up with a simple tool strategy that >>doesn?t require the user to keep track of, or even know which tool is >>chosen, only that the object can be edited (selected, moved and resized) >>by something other than a normal single click. Then, clicking off the >>object would set things back to normal run. Fields might be selected by a >>single click and text changed by a double click (as in Preview). >> >>Has anyone tried this kind of interface? >> >>Peter >> >> >>On Apr 11, 2016, at 11:29 PM, Scott Rossi wrote: >> >>> Not sure what you're actually building but if you don't want to use a >>>key >>> press to change tools, can you simply toggle the tool? >>> >>> >>> on mouseDoubleDown >>> if the tool is "browse tool" then >>> choose pointer tool >>> else choose browse tool >>> end mouseDoubleDown >>> >>> >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> >>> >>> >>> On 4/11/16, 11:12 PM, "use-livecode on behalf of Peter Bogdanoff" >>> >>> wrote: >>> >>>> Hi all, >>>> >>>> I have a script in a button: >>>> >>>> on mouseDoubleDown >>>> choose pointer tool >>>> select me >>>> end mouseDoubleDown >>>> >>>> I move the button around, etc. >>>> >>>> Now I want to click off of the button and choose the browse tool by >>>>just >>>> clicking on the card. >>>> >>>> mouseUp, and other click messages aren?t sent because I?m not using >>>>the >>>> browse tool. >>>> >>>> How might the card receive a mouse click in that mode? >>>> >>>> The mouseMove message is always sent and I can use that when the mouse >>>> leaves the button, but I really only want to choose the browse tool >>>>with >>>> a click on the card. >>>> >>>> Is there another way? >>>> >>>> Peter Bogdanoff >>>> UCLA >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From ali.lloyd at livecode.com Tue Apr 12 06:19:12 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Tue, 12 Apr 2016 10:19:12 +0000 Subject: Volunteer github guru for documentation submissions? In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <570C8EE6.2080609@hyperactivesw.com> Message-ID: On Mon, Apr 11, 2016 at 9:55 PM J. Landman Gay wrote: > BTW, I downloaded the elusive viewer stack but it's leaving out most of > the keywords when it opens the text in a browser. I can't tell if it's a > bug in the text itself or in the viewer. Anyone know? > I've updated a couple of text files but haven't submitted yet because of > the disconnect in the viewer. > The viewer stack was something I quickly knocked up so that there was *some* way of viewing the document in context - the links indeed don't work as it doesn't rebuild the whole dictionary. I'm sorry about that- I can probably make it work properly at some point. The line *Navigate to the file you want to modify in the dictionary folder of the community-docs branch .* with a link to the correct branch/folder was there before, but I've submitted a PR to reinforce the fact that the community-docs branch should be the base branch to modify the file: https://github.com/livecodeali/livecode/blob/docs-base_branch/docs/contributing_to_docs.md#making-your-dictionary-change From dave at applicationinsight.com Tue Apr 12 06:26:41 2016 From: dave at applicationinsight.com (Dave Kilroy) Date: Tue, 12 Apr 2016 03:26:41 -0700 (PDT) Subject: Problems building standalones In-Reply-To: References: Message-ID: <1460456801236-4703350.post@n4.nabble.com> For those who are still experiencing problems building for iOS (Mach-O bug), Panos has posted a work-around here http://quality.livecode.com/show_bug.cgi?id=17292 ----- "The first 90% of the task takes 90% of the time, and the last 10% takes the other 90% of the time." Peter M. Brigham -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Problems-building-standalones-tp4703294p4703350.html Sent from the Revolution - User mailing list archive at Nabble.com. From mark at livecode.com Tue Apr 12 08:02:08 2016 From: mark at livecode.com (Mark Waddingham) Date: Tue, 12 Apr 2016 14:02:08 +0200 Subject: Default tool on open stack In-Reply-To: <570C8297.5090904@tkf.att.ne.jp> References: <570C3090.1040703@tkf.att.ne.jp> <570C8297.5090904@tkf.att.ne.jp> Message-ID: <783d2c496086823a1b41ad8bd49705c2@livecode.com> On 2016-04-12 07:07, Tim Selander wrote: > Hi! > > That worked! Many thanks, Peter. > > Though I agree with Roger, the default tool should be a preference > somewhere. > > I'm making little utilities to use at work, and the staff that use > them are always befuddled when they try to click a field to enter > text, but the whole field gets selected and pushed around the screen > instead. A potentially better solution (which insulates them entirely from changing tools!) would be to either send your tools to your colleagues as plugins (which they put in the My LiveCode/Plugins folder), or send them to them after setting the 'style' property of your tool stacks to "modeless". (In the latter case you can set the style back to "topLevel" to edit). In either case, the stacks will load into the IDE permanently in browse mode. Hope this helps! Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From pmbrig at gmail.com Tue Apr 12 08:16:27 2016 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 12 Apr 2016 08:16:27 -0400 Subject: Default tool on open stack In-Reply-To: <783d2c496086823a1b41ad8bd49705c2@livecode.com> References: <570C3090.1040703@tkf.att.ne.jp> <570C8297.5090904@tkf.att.ne.jp> <783d2c496086823a1b41ad8bd49705c2@livecode.com> Message-ID: <088ABAE5-18EF-4ECD-9AF9-58FB7D190D9A@gmail.com> On Apr 12, 2016, at 8:02 AM, Mark Waddingham wrote: > On 2016-04-12 07:07, Tim Selander wrote: >> Hi! >> That worked! Many thanks, Peter. >> Though I agree with Roger, the default tool should be a preference somewhere. >> I'm making little utilities to use at work, and the staff that use >> them are always befuddled when they try to click a field to enter >> text, but the whole field gets selected and pushed around the screen >> instead. > > A potentially better solution (which insulates them entirely from changing tools!) would be to either send your tools to your colleagues as plugins (which they put in the My LiveCode/Plugins folder), or send them to them after setting the 'style' property of your tool stacks to "modeless". (In the latter case you can set the style back to "topLevel" to edit). > > In either case, the stacks will load into the IDE permanently in browse mode. That takes care of Tim's situation, but the general case of defaulting to the pointer tool is still an annoyance. If LC is not already running and I double-click on a stack to open it, then after the IDE loads and then my stack loads I get the pointer tool. Luckily I locloc all my buttons and fields or I'd be moving things around inadvertently until I remember I have to change to browse mode. I would love to be able to change this behavior in LC preferences. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From dunbarx at aol.com Tue Apr 12 08:39:09 2016 From: dunbarx at aol.com (dunbarx) Date: Tue, 12 Apr 2016 05:39:09 -0700 (PDT) Subject: Choose Browse Tool with click In-Reply-To: <86D4FF37-0EC0-4F83-A697-C87496503C10@me.com> References: <86D4FF37-0EC0-4F83-A697-C87496503C10@me.com> Message-ID: <1460464749052-4703353.post@n4.nabble.com> Hi. This works with the edit tool: on mouseMove if the mouse is down and the target contains "card" then choose browse tool end mouseMove Craig Newman -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Choose-Browse-Tool-with-click-tp4703338p4703353.html Sent from the Revolution - User mailing list archive at Nabble.com. From selander at tkf.att.ne.jp Tue Apr 12 09:25:09 2016 From: selander at tkf.att.ne.jp (Tim Selander) Date: Tue, 12 Apr 2016 22:25:09 +0900 Subject: Default tool on open stack In-Reply-To: <15407bc46a0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <570C3090.1040703@tkf.att.ne.jp> <15407bc46a0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <570CF735.7090306@tkf.att.ne.jp> Hi again, Basically, my problem is solved with Peter's work-around. However, after reading some of the various other comments, including Jacqueline's here, it strikes me that this has to be considered some kind of bug, doesn't it? A valid command (choose browse tool) in a valid handler (openstack) does not work!? Tim Selander Tokyo, Japan On 2016/04/12, 9:50, J. Landman Gay wrote: > It works if you send the instruction a few milliseconds after > opencard finishes. Basically the whole IDE has to be done with > its stuff first. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > On April 11, 2016 6:43:23 PM Roger Guay wrote: > >> That does not work for me in v 7.1.2 but I wish it did!! I >> think this should be a LC Preference setting. >> >> >> Roger >> >> >> >>> On Apr 11, 2016, at 4:23 PM, Peter Bogdanoff >>> wrote: >>> >>> What I do is?in the openStack handler I place: >>> >>> if the environment is "development" then >>> choose browse tool >>> end if >>> >>> Seems to be reliable. >>> >>> Peter Bogdanoff >>> UCLA >>> >>> On Apr 11, 2016, at 4:17 PM, Tim Selander >>> wrote: >>> >>>> When I open a stack, in v7 or v8, it always comes up with the >>>> Edit Tool chosen. >>>> >>>> In the openstack handler (stack script) and opencard handler >>>> (card script), I have "choose browse tool" but it has no effect. >>>> >>>> I save the stacks with the browse tool chosen, and quit. >>>> >>>> Re-open and the Edit tool is active. >>>> >>>> Why??? >>>> >>>> Any help appreciated. >>>> >>>> Tim Selander >>>> Tokyo, Japan >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Apr 12 09:31:31 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Apr 2016 06:31:31 -0700 Subject: Default tool on open stack In-Reply-To: <088ABAE5-18EF-4ECD-9AF9-58FB7D190D9A@gmail.com> References: <088ABAE5-18EF-4ECD-9AF9-58FB7D190D9A@gmail.com> Message-ID: <570CF8B3.9090908@fourthworld.com> Peter M. Brigham wrote: > On Apr 12, 2016, at 8:02 AM, Mark Waddingham wrote: > >> A potentially better solution (which insulates them entirely from >> changing tools!) would be to either send your tools to your >> colleagues as plugins (which they put in the My LiveCode/Plugins >> folder), or send them to them after setting the 'style' property >> of your tool stacks to "modeless". (In the latter case you can set >> the style back to "topLevel" to edit). >> >> In either case, the stacks will load into the IDE permanently in >> browse mode. > > That takes care of Tim's situation, but the general case of > defaulting to the pointer tool is still an annoyance. If LC is not > already running and I double-click on a stack to open it, then after > the IDE loads and then my stack loads I get the pointer tool. Luckily > I locloc all my buttons and fields or I'd be moving things around > inadvertently until I remember I have to change to browse mode. I > would love to be able to change this behavior in LC preferences. The pointer tool is great for doing layout, but for many layout is not where the majority of time is spent in the IDE. We make an object once, and occasionally adjust its properties, but for myself and a good many others I know the majority of our time spent in the IDE is scripting, and that most often means using the Browse tool. But rather than wait for LC to consider adding a preference for the default tool, I took care of it in my devolution plugin with one line: send "choose browse tool" to me in 10 millisecs I've found even brief timers for boot operations useful because the IDE has a very complex load sequence, and a timer helps ensure that everything it's doing will settle down before my action is invoked. There are many other prefs in devolution for tailoring the environment, like hiding the Tools palette (for the same reason: I'm not adding objects every time I launch the IDE), and even hiding the menu bar itself (with devolution I rarely interact with the LC menu bar directly, saving good screen space at the top where my projects need it) - feel free to borrow any of those boot actions you find useful in your projects (though they're easy enough to script it's probably simpler to just write them from scratch than to modify devo's more specialized code): IMO one of the best things about LC is that its IDE is made entirely in LC. Everything is customizable. What Bill Appleton once said about SuperCard applies perhaps even more to LiveCode: HyperCard is a multimedia authoring environment. SuperCard is a tool you can use to make multimedia authoring environments. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From hh at livecode.org Tue Apr 12 09:25:59 2016 From: hh at livecode.org (-hh) Date: Tue, 12 Apr 2016 06:25:59 -0700 (PDT) Subject: Default tool on open stack In-Reply-To: <570CF8B3.9090908@fourthworld.com> References: <570C3090.1040703@tkf.att.ne.jp> <570C8297.5090904@tkf.att.ne.jp> <783d2c496086823a1b41ad8bd49705c2@livecode.com> <088ABAE5-18EF-4ECD-9AF9-58FB7D190D9A@gmail.com> <570CF8B3.9090908@fourthworld.com> Message-ID: <1460467559305-4703356.post@n4.nabble.com> For choosing a default tool I use to use Jacqueline's and other's delayed version. on preopenstack -- whatever here send "choose browse tool" to me in 1 tick -- default end preopenstack -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Default-tool-on-open-stack-tp4703304p4703356.html Sent from the Revolution - User mailing list archive at Nabble.com. From hh at livecode.org Tue Apr 12 09:29:23 2016 From: hh at livecode.org (-hh) Date: Tue, 12 Apr 2016 06:29:23 -0700 (PDT) Subject: Choose Browse Tool with click In-Reply-To: <1460464749052-4703353.post@n4.nabble.com> References: <86D4FF37-0EC0-4F83-A697-C87496503C10@me.com> <1460464749052-4703353.post@n4.nabble.com> Message-ID: <1460467763752-4703357.post@n4.nabble.com> I have a similar solution that reduces the action *to the button only*. Works in both modes. = MouseEnter from above changes nothing (doesn't disturb) = MouseEnter the left half from below chooses pointer tool = MouseEnter the right half from below chooses browse tool The action for selecting the button and switch to edit mode remains the same: Enter left half from below and then click. -- Name the button "Pointer <|> Browse" on mouseEnter if the mouseV < item 2 of the loc of me then pass mouseEnter if the mouseH < item 1 of the loc of me then choose pointer tool else choose browse tool end mouseEnter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Choose-Browse-Tool-with-click-tp4703338p4703357.html Sent from the Revolution - User mailing list archive at Nabble.com. From paul at livecode.org Tue Apr 12 12:08:02 2016 From: paul at livecode.org (Paul Hibbert) Date: Tue, 12 Apr 2016 09:08:02 -0700 Subject: Plugins vs. the Mac app bundle In-Reply-To: <570CBC93.6010302@livecode.com> References: <570CBC93.6010302@livecode.com> Message-ID: Peter, Does this affect solutions such as the one posted here: http://quality.livecode.com/show_bug.cgi?id=17292 - Comment 6? I?m curious because I usually modify the revMenuBar stack to add in my own preferred shortcuts, there are also people like Richmond that like to change the tool bar icons etc., so I?m assuming this type of activity will also break code signing validity. Kind Regards, Paul On Apr 12, 2016, at 2:14 AM, Peter TB Brett wrote: > > > Hi all, > > There seems to some confusion about plugins/extensions and the OS X installation method for the LiveCode IDE. > > Some OS X APIs require the app bundle to be validly signed. Incorrect signatures have previously manifested themselves in horrible ways, including extreme delays when trying to open a file in the IDE, and a variety of other nasty symptoms. > > The entire app bundle has to be signed, and any modification to the app bundle invalidates the signature. > > To address this, we have recently made some changes to the OS X installer: > > - we now just provide a DMG with a pre-constructed app bundle inside, rather than an installer > > - we make the app bundle read-only to avoid any possibility of modifying it (and breaking LiveCode features) > > Fortunately, these have fixed the bugs, and improved the LiveCode user experience! Yay! > > > This seems to have caused some issues for plugin authors who have been putting their plugins into the LiveCode app bundle, especially when those plugins try and save state or data back into themselves. Please don't do this! > > Instead, please put your plugins in the per-user plugins directory. On OS X, the default location is /Users/username/Documents/My LiveCode/Plugins/. You can modify the location in the 'Files & Memory' section of the IDE preferences. > > > For more information, please see the plugins lesson: http://lessons.livecode.com/m/4071/l/21341-how-to-install-a-3rd-party-plugin-in-the-livecode-ide > > Peter > > -- > Dr Peter Brett > LiveCode Open Source Team > > LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Apr 12 12:13:26 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 12 Apr 2016 11:13:26 -0500 Subject: Default tool on open stack In-Reply-To: <570CF735.7090306@tkf.att.ne.jp> References: <570C3090.1040703@tkf.att.ne.jp> <15407bc46a0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <570CF735.7090306@tkf.att.ne.jp> Message-ID: <1540b3fb870.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On April 12, 2016 8:27:15 AM Tim Selander wrote: > However, after reading some of the various other comments, > including Jacqueline's here, it strikes me that this has to be > considered some kind of bug, doesn't it? > > A valid command (choose browse tool) in a valid handler > (openstack) does not work!? I'm not sure it's actually a bug. The command does work, but the IDE chooses the edit tool late in its startup sequence, which undoes the earlier command. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From peter.brett at livecode.com Tue Apr 12 12:18:09 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Tue, 12 Apr 2016 17:18:09 +0100 Subject: Plugins vs. the Mac app bundle In-Reply-To: References: <570CBC93.6010302@livecode.com> Message-ID: <570D1FC1.8060804@livecode.com> On 12/04/2016 17:08, Paul Hibbert wrote: > Peter, > > Does this affect solutions such as the one posted here: http://quality.livecode.com/show_bug.cgi?id=17292 - Comment 6? > > I?m curious because I usually modify the revMenuBar stack to add in my own preferred shortcuts, there are also people like Richmond that like to change the tool bar icons etc., so I?m assuming this type of activity will also break code signing validity. Yes it probably does affect those kind of solutions. It's really rather aggravating. :-( Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From paul at researchware.com Tue Apr 12 12:51:30 2016 From: paul at researchware.com (Paul Dupuis) Date: Tue, 12 Apr 2016 12:51:30 -0400 Subject: Any message sent to popup menu (btn) when nothing is selected? Message-ID: <570D2792.7090503@researchware.com> I have a user interface problem. A popup menu (a button) is presented. The button has a number of menu items, some dividers between items, etc. It has a menuPick handler that covers all the items in the menu explicitly and a default handler at the end (just for good measure). I want to take some action IF a user pops up the popup menu, but does NOT select any menu item (so presses escape or clicks on a non-active item like a menu divider or just click elsewhere so the popup is dismissed) The problem is, there appears to be NO message sent to the button of a popup menu if NO active menu item is selected. The "default" switch statement option never happens because a menuPick is never sent. menuPick only get send when an active menu item is selected. A closeControl to the button when the popup menu is dismissed WOULD have been another logical possibility but closeControl is only sent to groups (according to the dictionary) Has any one else ever needed to take an action if a menu item is NOT selected from a popup menu? Does anyone have any ideas on how this may be handled? Should a message be sent to a popup menu button when the popup menu is dismissed without a menuPick? If no message exists, should one? Should popup menus send a closeControl to their button of dismissed without a menuPick? Should this be an enhancement request for LiveCode version 1,936 (or earlier)? Why do I run into these weird things? From tore.nilsen at me.com Tue Apr 12 13:01:13 2016 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 12 Apr 2016 19:01:13 +0200 Subject: Any message sent to popup menu (btn) when nothing is selected? In-Reply-To: <570D2792.7090503@researchware.com> References: <570D2792.7090503@researchware.com> Message-ID: <5A990217-ECE5-4110-9007-C4F026978907@me.com> When you do not select an item in the menu, pItemName is empty. If you set up a condition where the switch statement kicks in if pItemName is not empty, then you will get the result you wanted, also if the user leaves the menu without making any choice. Here is a script that demonstartes this: on menuPick pItemName if pItemName is not empty then answer pItemName else answer "You did not select anything" end if end menuPick Regards Tore > 12. apr. 2016 kl. 18.51 skrev Paul Dupuis : > > I have a user interface problem. A popup menu (a button) is presented. > The button has a number of menu items, some dividers between items, etc. > It has a menuPick handler that covers all the items in the menu > explicitly and a default handler at the end (just for good measure). > > I want to take some action IF a user pops up the popup menu, but does > NOT select any menu item (so presses escape or clicks on a non-active > item like a menu divider or just click elsewhere so the popup is dismissed) > > The problem is, there appears to be NO message sent to the button of a > popup menu if NO active menu item is selected. The "default" switch > statement option never happens because a menuPick is never sent. > menuPick only get send when an active menu item is selected. > > A closeControl to the button when the popup menu is dismissed WOULD have > been another logical possibility but closeControl is only sent to groups > (according to the dictionary) > > Has any one else ever needed to take an action if a menu item is NOT > selected from a popup menu? Does anyone have any ideas on how this may > be handled? Should a message be sent to a popup menu button when the > popup menu is dismissed without a menuPick? > > If no message exists, should one? Should popup menus send a closeControl > to their button of dismissed without a menuPick? Should this be an > enhancement request for LiveCode version 1,936 (or earlier)? Why do I > run into these weird things? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Apr 12 13:02:15 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Apr 2016 10:02:15 -0700 Subject: Plugins vs. the Mac app bundle In-Reply-To: <570D1FC1.8060804@livecode.com> References: <570D1FC1.8060804@livecode.com> Message-ID: <570D2A17.70806@fourthworld.com> On 12/04/2016 17:08, Paul Hibbert wrote: > Peter, > > Does this affect solutions such as the one posted here: http://quality.livecode.com/show_bug.cgi?id=17292 - Comment 6? > > I?m curious because I usually modify the revMenuBar stack to add > in my own preferred shortcuts, there are also people like Richmond > that like to change the tool bar icons etc., so I?m assuming this > type of activity will also break code signing validity. Well, if you want to truly own your computer there's always Ubuntu, or any other Linux. :) Apple and Microsoft are proprietary systems. They each make a fine OS, but to use it you play by their rules. In terms of the UX, it's more of a lease than a purchase. That's neither a feature nor a bug, just one way of working with an OS. If you like what they provide, enjoy it. If you want total control over the computing experience, I'm hard pressed to think of anything but an open source system that'll provide that. But frankly, even then I'd think twice about modifying signed files. Bypassing security is rarely advantageous. With LiveCode, however, I believe it's not quite so deep. The issue here is specific to changing the files on disk within the application bundle. But why do that? Any changes made to the IDE stack files will be gone with the next update anyway. Time and again, as we explore IDE customization we come back to the same solution: write scripts that modify things on the fly in memory. This lets you have anything you want, and when you don't want it (such as IDE testing) you just remove the plugin that does it and restart. And it survives IDE updates. Richmond's revMenubar changes are an excellent example: in v8 that stack is assembled on the fly in a script. Find the portions you want made differently, put those in a plugin with your changes, and you're good to go. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From peter.brett at livecode.com Tue Apr 12 13:07:31 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Tue, 12 Apr 2016 18:07:31 +0100 Subject: [ANN] Release 8.0.0 RC 1 Message-ID: <570D2B53.4000508@livecode.com> Dear list members, We are pleased to announce the release of LiveCode 8.0.0 RC 1. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 8 has a host of exciting new features. Simplify design with widgets ---------------------------- The LiveCode engine now supports custom controls called "widgets", and LiveCode now includes several widgets that simplify creating mobile apps. Extend LiveCode with LiveCode Builder ------------------------------------- Enhance LiveCode with your own new controls and libraries without any C or C++ knowledge by using the new LiveCode Builder programming language. Deploy to the browser with HTML5 -------------------------------- LiveCode standalones now run in a web browser, using a LiveCode engine that runs as JavaScript. The full release notes are available from: http://downloads.livecode.com/livecode/8_0_0/LiveCodeNotes-8_0_0_rc_1.pdf LiveCode 8.0.0 RC 1 contains an additional 148 bug fixes since the LiveCode 8.0.0 DP 16 release. Known issues ============ * iOS deployment issue when deploying using a version of Xcode older than Xcode 7.3. See bug 17368 for a workaround: http://quality.livecode.com/show_bug.cgi?id=17368 * iOS codesigning issue on OS X 10.11.4. See bug 17292 for a workaround: http://quality.livecode.com/show_bug.cgi?id=17292 * HTML5 standalones do not currently work when they contain extensions with dependencies * 64-bit standalones for Mac OS X do not have support for audio recording or the revVideoGrabber external Feedback ======== Please report any bugs encountered on our Bugzilla at http://quality.livecode.com/ We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 Have fun! The LiveCode Team From richmondmathewson at gmail.com Tue Apr 12 13:24:52 2016 From: richmondmathewson at gmail.com (RM) Date: Tue, 12 Apr 2016 20:24:52 +0300 Subject: Kinky text In-Reply-To: <570BD995.2070509@gmail.com> References: <570BD995.2070509@gmail.com> Message-ID: <570D2F64.6060001@gmail.com> I don't suppose anyone knows if there is a unicode character for "backspace without deletion"? Richmond. On 11.04.2016 20:06, RM wrote: > I would like the ability to both superscript and subscript text > without resizing the individual glyphs, > and the ability to set individual character sizes. > > http://forums.livecode.com/viewtopic.php?f=6&t=27012#p140942 > > Richmond. From richmondmathewson at gmail.com Tue Apr 12 13:49:09 2016 From: richmondmathewson at gmail.com (RM) Date: Tue, 12 Apr 2016 20:49:09 +0300 Subject: [ANN] Release 8.0.0 RC 1 In-Reply-To: <570D2B53.4000508@livecode.com> References: <570D2B53.4000508@livecode.com> Message-ID: <570D3515.7080007@gmail.com> This looks exciting. On 12.04.2016 20:07, Peter TB Brett wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 8.0.0 RC 1. > Xubuntu 15.10 64 bit. 1. Documentation is STILL a "dead duck": Bug 16848 2. Livecode UI elements not appearing in the Application browser: Bug 17370 3. Widgets and settings 'cog' no longer visible in revTools stack: Bug 17371 4. Tool-Tip: "set number of polygon sides" tools: Bug 17372 Dunno about "RC1"; seems a bit soon. Richmond. From peter.brett at livecode.com Tue Apr 12 13:56:25 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Tue, 12 Apr 2016 18:56:25 +0100 Subject: Unreproducible Linux weirdness [was: Release 8.0.0 RC 1] In-Reply-To: <570D3515.7080007@gmail.com> References: <570D2B53.4000508@livecode.com> <570D3515.7080007@gmail.com> Message-ID: <570D36C9.8000106@livecode.com> On 12/04/2016 18:49, RM wrote: > This looks exciting. > > On 12.04.2016 20:07, Peter TB Brett wrote: >> Dear list members, >> >> We are pleased to announce the release of LiveCode 8.0.0 RC 1. >> > > Xubuntu 15.10 64 bit. > > 1. Documentation is STILL a "dead duck": Bug 16848 > > 2. Livecode UI elements not appearing in the Application browser: Bug 17370 > > 3. Widgets and settings 'cog' no longer visible in revTools stack: Bug > 17371 > > 4. Tool-Tip: "set number of polygon sides" tools: Bug 17372 I've been following along, and I haven't been able to reproduce _any_ of those issues on our reference Ubuntu or Fedora systems. As it happens, bug 16848 has been on my radar ever since it was originally filed and we have not yet been able to find a way to reproduce it. Our continuing theory is that you have some plugin installed -- possibly in the ~/my_livecode/Plugins/ directory -- which is causing the LiveCode 8 IDE to throw an error on startup, inhibiting correct initialisation. Which of the issues you describe are reproducible in a newly-created user account? If anyone else is able to reproduce these problems -- especially with Indy or Business edition -- I'd love to hear from you, since it'll help the dev team track down what's going on. Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/ From richmondmathewson at gmail.com Tue Apr 12 14:12:43 2016 From: richmondmathewson at gmail.com (RM) Date: Tue, 12 Apr 2016 21:12:43 +0300 Subject: Unreproducible Linux weirdness [was: Release 8.0.0 RC 1] In-Reply-To: <570D36C9.8000106@livecode.com> References: <570D2B53.4000508@livecode.com> <570D3515.7080007@gmail.com> <570D36C9.8000106@livecode.com> Message-ID: <570D3A9B.3070709@gmail.com> On 12.04.2016 20:56, Peter TB Brett wrote: > > > On 12/04/2016 18:49, RM wrote: >> This looks exciting. >> >> On 12.04.2016 20:07, Peter TB Brett wrote: >>> Dear list members, >>> >>> We are pleased to announce the release of LiveCode 8.0.0 RC 1. >>> >> >> Xubuntu 15.10 64 bit. >> >> 1. Documentation is STILL a "dead duck": Bug 16848 >> >> 2. Livecode UI elements not appearing in the Application browser: Bug >> 17370 >> >> 3. Widgets and settings 'cog' no longer visible in revTools stack: Bug >> 17371 >> >> 4. Tool-Tip: "set number of polygon sides" tools: Bug 17372 > > I've been following along, and I haven't been able to reproduce _any_ > of those issues on our reference Ubuntu or Fedora systems. > > As it happens, bug 16848 has been on my radar ever since it was > originally filed and we have not yet been able to find a way to > reproduce it. > > Our continuing theory is that you have some plugin installed -- > possibly in the ~/my_livecode/Plugins/ directory -- which is causing > the LiveCode 8 IDE to throw an error on startup, inhibiting correct > initialisation. Well; to start with I don't have a "~/my_livecode/Plugins/" directory, as I have stated several times before. > > Which of the issues you describe are reproducible in a newly-created > user account? Dunno; but, after a bit of cursing and swearing I'll set up a new user account and try and see what happens, and report back. > > If anyone else is able to reproduce these problems -- especially with > Indy or Business edition -- I'd love to hear from you, since it'll > help the dev team track down what's going on. > > Peter > Richmond. From mark at livecode.com Tue Apr 12 14:25:42 2016 From: mark at livecode.com (Mark Waddingham) Date: Tue, 12 Apr 2016 20:25:42 +0200 Subject: Choose Browse Tool with click In-Reply-To: <86D4FF37-0EC0-4F83-A697-C87496503C10@me.com> References: <86D4FF37-0EC0-4F83-A697-C87496503C10@me.com> Message-ID: <3afdda755f062f6ecdcd5478f339b80c@livecode.com> Hi Peter, On 2016-04-12 08:12, Peter Bogdanoff wrote: > Hi all, > > I have a script in a button: > > on mouseDoubleDown > choose pointer tool > select me > end mouseDoubleDown > ... > Is there another way? > Without knowing precisely what effect you are trying to achieve, this suggestion might be useless... However, have you investigated using the 'cantSelect' properties of objects? If an object has cantSelect set to true, then it acts as if it is in browse mode, rather than pointer tool mode. Even if it is not useful for your precise use-case, knowing why might help evolve it into something more useful in the future. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Tue Apr 12 14:35:42 2016 From: mark at livecode.com (Mark Waddingham) Date: Tue, 12 Apr 2016 20:35:42 +0200 Subject: Default tool on open stack In-Reply-To: <570CF735.7090306@tkf.att.ne.jp> References: <570C3090.1040703@tkf.att.ne.jp> <15407bc46a0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <570CF735.7090306@tkf.att.ne.jp> Message-ID: <9867cbff22e6b6d1ca833a5aa1ee2250@livecode.com> On 2016-04-12 15:25, Tim Selander wrote: > Hi again, > > Basically, my problem is solved with Peter's work-around. However, > after reading some of the various other comments, including > Jacqueline's here, it strikes me that this has to be considered some > kind of bug, doesn't it? Maybe :) It is always important to remember that the IDE uses many of the same 'meta-level' editing features the engine provides as user stacks do. Due to this, it defaults to assuming that (unless explicitly marked as such - as suggested in my previous post) any user stack loaded into it is wanting to be edited. I do think that if you are providing tools to use in the IDE for others, then it is better to follow its requirements in that regard (e.g. via the style property or via being a plugin) than switching the tool in user code which will (with the way the engine / IDE currently works) always cause some conflict at some point. That being said, there are two IDE library APIs which handle the tool switch without going behind the IDE's back: revIDEChooseBrowseTool revIDEChoosePointerTool Using either of these in a preOpenStack/openStack handler does appear to make the setting stick. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From tore.nilsen at me.com Tue Apr 12 14:36:42 2016 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 12 Apr 2016 20:36:42 +0200 Subject: Any message sent to popup menu (btn) when nothing is selected? In-Reply-To: <5A990217-ECE5-4110-9007-C4F026978907@me.com> References: <570D2792.7090503@researchware.com> <5A990217-ECE5-4110-9007-C4F026978907@me.com> Message-ID: In order to catch the user escaping the button without making any choices this works: local lLabel on mouseDown put the label of me into lLabel end mouseDown on mouseLeave if lLabel is not empty then if label of me = lLabel then answer "You did not select anything" put empty into lLabel end if end if end mouseLeave > 12. apr. 2016 kl. 19.01 skrev Tore Nilsen : > > When you do not select an item in the menu, pItemName is empty. If you set up a condition where the switch statement kicks in if pItemName is not empty, then you will get the result you wanted, also if the user leaves the menu without making any choice. > > Here is a script that demonstartes this: > > on menuPick pItemName > if pItemName is not empty then > answer pItemName > else > answer "You did not select anything" > end if > end menuPick > > Regards Tore > > > >> 12. apr. 2016 kl. 18.51 skrev Paul Dupuis : >> >> I have a user interface problem. A popup menu (a button) is presented. >> The button has a number of menu items, some dividers between items, etc. >> It has a menuPick handler that covers all the items in the menu >> explicitly and a default handler at the end (just for good measure). >> >> I want to take some action IF a user pops up the popup menu, but does >> NOT select any menu item (so presses escape or clicks on a non-active >> item like a menu divider or just click elsewhere so the popup is dismissed) >> >> The problem is, there appears to be NO message sent to the button of a >> popup menu if NO active menu item is selected. The "default" switch >> statement option never happens because a menuPick is never sent. >> menuPick only get send when an active menu item is selected. >> >> A closeControl to the button when the popup menu is dismissed WOULD have >> been another logical possibility but closeControl is only sent to groups >> (according to the dictionary) >> >> Has any one else ever needed to take an action if a menu item is NOT >> selected from a popup menu? Does anyone have any ideas on how this may >> be handled? Should a message be sent to a popup menu button when the >> popup menu is dismissed without a menuPick? >> >> If no message exists, should one? Should popup menus send a closeControl >> to their button of dismissed without a menuPick? Should this be an >> enhancement request for LiveCode version 1,936 (or earlier)? Why do I >> run into these weird things? >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Apr 12 14:45:16 2016 From: richmondmathewson at gmail.com (RM) Date: Tue, 12 Apr 2016 21:45:16 +0300 Subject: Unreproducible Linux weirdness [was: Release 8.0.0 RC 1] In-Reply-To: <570D36C9.8000106@livecode.com> References: <570D2B53.4000508@livecode.com> <570D3515.7080007@gmail.com> <570D36C9.8000106@livecode.com> Message-ID: <570D423C.5060705@gmail.com> I have set up a new user account; tried all the aspects of the RC1 build I commented on and filed them in the correct places, with, needless to say, an acidulated comment. Love, Richmond. On 12.04.2016 20:56, Peter TB Brett wrote: > > > On 12/04/2016 18:49, RM wrote: >> This looks exciting. >> >> On 12.04.2016 20:07, Peter TB Brett wrote: >>> Dear list members, >>> >>> We are pleased to announce the release of LiveCode 8.0.0 RC 1. >>> >> >> Xubuntu 15.10 64 bit. >> >> 1. Documentation is STILL a "dead duck": Bug 16848 >> >> 2. Livecode UI elements not appearing in the Application browser: Bug >> 17370 >> >> 3. Widgets and settings 'cog' no longer visible in revTools stack: Bug >> 17371 >> >> 4. Tool-Tip: "set number of polygon sides" tools: Bug 17372 > > I've been following along, and I haven't been able to reproduce _any_ > of those issues on our reference Ubuntu or Fedora systems. > > As it happens, bug 16848 has been on my radar ever since it was > originally filed and we have not yet been able to find a way to > reproduce it. > > Our continuing theory is that you have some plugin installed -- > possibly in the ~/my_livecode/Plugins/ directory -- which is causing > the LiveCode 8 IDE to throw an error on startup, inhibiting correct > initialisation. > > Which of the issues you describe are reproducible in a newly-created > user account? > > If anyone else is able to reproduce these problems -- especially with > Indy or Business edition -- I'd love to hear from you, since it'll > help the dev team track down what's going on. > > Peter > From bonnmike at gmail.com Tue Apr 12 14:48:42 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 12 Apr 2016 12:48:42 -0600 Subject: Any message sent to popup menu (btn) when nothing is selected? In-Reply-To: References: <570D2792.7090503@researchware.com> <5A990217-ECE5-4110-9007-C4F026978907@me.com> Message-ID: You can use the "mouserelease" message for this. This script in the popup works in both 7 and 8.Didn't check earlier versions. on menuPick pItemName put pItemName -- displays what was chosen end menuPick on mouserelease put "Nothing chosen" -- if nothing was chosen end mouserelease On Tue, Apr 12, 2016 at 12:36 PM, Tore Nilsen wrote: > In order to catch the user escaping the button without making any choices > this works: > > local lLabel > on mouseDown > put the label of me into lLabel > end mouseDown > on mouseLeave > if lLabel is not empty then > if label of me = lLabel then > answer "You did not select anything" > put empty into lLabel > end if > end if > end mouseLeave > > > > 12. apr. 2016 kl. 19.01 skrev Tore Nilsen : > > > > When you do not select an item in the menu, pItemName is empty. If you > set up a condition where the switch statement kicks in if pItemName is not > empty, then you will get the result you wanted, also if the user leaves the > menu without making any choice. > > > > Here is a script that demonstartes this: > > > > on menuPick pItemName > > if pItemName is not empty then > > answer pItemName > > else > > answer "You did not select anything" > > end if > > end menuPick > > > > Regards Tore > > > > > > > >> 12. apr. 2016 kl. 18.51 skrev Paul Dupuis : > >> > >> I have a user interface problem. A popup menu (a button) is presented. > >> The button has a number of menu items, some dividers between items, etc. > >> It has a menuPick handler that covers all the items in the menu > >> explicitly and a default handler at the end (just for good measure). > >> > >> I want to take some action IF a user pops up the popup menu, but does > >> NOT select any menu item (so presses escape or clicks on a non-active > >> item like a menu divider or just click elsewhere so the popup is > dismissed) > >> > >> The problem is, there appears to be NO message sent to the button of a > >> popup menu if NO active menu item is selected. The "default" switch > >> statement option never happens because a menuPick is never sent. > >> menuPick only get send when an active menu item is selected. > >> > >> A closeControl to the button when the popup menu is dismissed WOULD have > >> been another logical possibility but closeControl is only sent to groups > >> (according to the dictionary) > >> > >> Has any one else ever needed to take an action if a menu item is NOT > >> selected from a popup menu? Does anyone have any ideas on how this may > >> be handled? Should a message be sent to a popup menu button when the > >> popup menu is dismissed without a menuPick? > >> > >> If no message exists, should one? Should popup menus send a closeControl > >> to their button of dismissed without a menuPick? Should this be an > >> enhancement request for LiveCode version 1,936 (or earlier)? Why do I > >> run into these weird things? > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Tue Apr 12 14:51:00 2016 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 12 Apr 2016 14:51:00 -0400 Subject: [ANN] Release 8.0.0 RC 1 In-Reply-To: <570D2B53.4000508@livecode.com> References: <570D2B53.4000508@livecode.com> Message-ID: Sending bug reports 'again' for Windows and Android issues which still persist. I'm sure it's fine for iOS and Mac though. On Tue, Apr 12, 2016 at 1:07 PM, Peter TB Brett wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 8.0.0 RC 1. > > Getting the Release > =================== > You can get the release at https://downloads.livecode.com/livecode/ or > via the automatic updater. > > Release Contents > ================ > LiveCode 8 has a host of exciting new features. > > Simplify design with widgets > ---------------------------- > The LiveCode engine now supports custom controls called "widgets", and > LiveCode now includes several widgets that simplify creating mobile apps. > > Extend LiveCode with LiveCode Builder > ------------------------------------- > Enhance LiveCode with your own new controls and libraries without any C or > C++ knowledge by using the new LiveCode Builder programming language. > > Deploy to the browser with HTML5 > -------------------------------- > LiveCode standalones now run in a web browser, using a LiveCode engine > that runs as JavaScript. > > The full release notes are available from: > http://downloads.livecode.com/livecode/8_0_0/LiveCodeNotes-8_0_0_rc_1.pdf > > LiveCode 8.0.0 RC 1 contains an additional 148 bug fixes since the > LiveCode 8.0.0 DP 16 release. > > Known issues > ============ > * iOS deployment issue when deploying using a version of Xcode older than > Xcode 7.3. See bug 17368 for a workaround: > http://quality.livecode.com/show_bug.cgi?id=17368 > > * iOS codesigning issue on OS X 10.11.4. See bug 17292 for a workaround: > http://quality.livecode.com/show_bug.cgi?id=17292 > > * HTML5 standalones do not currently work when they contain extensions > with dependencies > > * 64-bit standalones for Mac OS X do not have support for audio recording > or the revVideoGrabber external > > Feedback > ======== > > Please report any bugs encountered on our Bugzilla at > http://quality.livecode.com/ > > We have a forum available for discussing LiveCode Builder at > http://forums.livecode.com/viewforum.php?f=93 > > > Have fun! > > The LiveCode Team > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Tue Apr 12 14:53:29 2016 From: richmondmathewson at gmail.com (RM) Date: Tue, 12 Apr 2016 21:53:29 +0300 Subject: Unreproducible Linux weirdness [was: Release 8.0.0 RC 1] In-Reply-To: <570D36C9.8000106@livecode.com> References: <570D2B53.4000508@livecode.com> <570D3515.7080007@gmail.com> <570D36C9.8000106@livecode.com> Message-ID: <570D4429.5070003@gmail.com> In the light of my recent experience with Livecode 8 RC1 I find something a bit worrying. Presumably what happened means that anyone who wishes to use Livecode 8 on Linux is either: 1. Going to have to set up a plain, vanilla user account specifically for Livecode. 1.1. This is going to be a pain in the b** if the developer relies on other installed software to get his/her job done; involving constant logging in_&-out of 2 user accounts. or 2. Spending donkey's ages on some elaborate triage system working out which component a developer has installed on her/his system is mucking about with Livecode 8 and then expunging it. As I am spoilt insofar as I have never had any software on any type of Linux [beyond some Windows executables playing "silly monkeys" under WINE] ever behave like this before [parts of a GUI not appearing], this makes me wonder if RC1 still has a long, long way to go until it reaches anything approaching a stable release. Having "played" with Livecode 8 DP 15 & 16 on Windows 7 I am excited about the new capabilities of version 8; and it would seem a very great shame if it is going to be unable to "play nicely" with Linux. Richmond. From tore.nilsen at me.com Tue Apr 12 15:05:32 2016 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 12 Apr 2016 21:05:32 +0200 Subject: Any message sent to popup menu (btn) when nothing is selected? In-Reply-To: References: <570D2792.7090503@researchware.com> <5A990217-ECE5-4110-9007-C4F026978907@me.com> Message-ID: I did not think of the mouseRelease handler, but it is much simpler and better than my solution. You would still ned the if-statement in the menuPick handler to get any clicks on the divider lines, as they will count as a menuPick with the pItemName being empty. Tore > 12. apr. 2016 kl. 20.48 skrev Mike Bonner : > > You can use the "mouserelease" message for this. > > This script in the popup works in both 7 and 8.Didn't check earlier > versions. > > on menuPick pItemName > put pItemName -- displays what was chosen > end menuPick > > on mouserelease > put "Nothing chosen" -- if nothing was chosen > end mouserelease > > > On Tue, Apr 12, 2016 at 12:36 PM, Tore Nilsen wrote: > >> In order to catch the user escaping the button without making any choices >> this works: >> >> local lLabel >> on mouseDown >> put the label of me into lLabel >> end mouseDown >> on mouseLeave >> if lLabel is not empty then >> if label of me = lLabel then >> answer "You did not select anything" >> put empty into lLabel >> end if >> end if >> end mouseLeave >> >> >>> 12. apr. 2016 kl. 19.01 skrev Tore Nilsen : >>> >>> When you do not select an item in the menu, pItemName is empty. If you >> set up a condition where the switch statement kicks in if pItemName is not >> empty, then you will get the result you wanted, also if the user leaves the >> menu without making any choice. >>> >>> Here is a script that demonstartes this: >>> >>> on menuPick pItemName >>> if pItemName is not empty then >>> answer pItemName >>> else >>> answer "You did not select anything" >>> end if >>> end menuPick >>> >>> Regards Tore >>> >>> >>> >>>> 12. apr. 2016 kl. 18.51 skrev Paul Dupuis : >>>> >>>> I have a user interface problem. A popup menu (a button) is presented. >>>> The button has a number of menu items, some dividers between items, etc. >>>> It has a menuPick handler that covers all the items in the menu >>>> explicitly and a default handler at the end (just for good measure). >>>> >>>> I want to take some action IF a user pops up the popup menu, but does >>>> NOT select any menu item (so presses escape or clicks on a non-active >>>> item like a menu divider or just click elsewhere so the popup is >> dismissed) >>>> >>>> The problem is, there appears to be NO message sent to the button of a >>>> popup menu if NO active menu item is selected. The "default" switch >>>> statement option never happens because a menuPick is never sent. >>>> menuPick only get send when an active menu item is selected. >>>> >>>> A closeControl to the button when the popup menu is dismissed WOULD have >>>> been another logical possibility but closeControl is only sent to groups >>>> (according to the dictionary) >>>> >>>> Has any one else ever needed to take an action if a menu item is NOT >>>> selected from a popup menu? Does anyone have any ideas on how this may >>>> be handled? Should a message be sent to a popup menu button when the >>>> popup menu is dismissed without a menuPick? >>>> >>>> If no message exists, should one? Should popup menus send a closeControl >>>> to their button of dismissed without a menuPick? Should this be an >>>> enhancement request for LiveCode version 1,936 (or earlier)? Why do I >>>> run into these weird things? >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roland.huettmann at gmail.com Tue Apr 12 15:10:56 2016 From: roland.huettmann at gmail.com (Roland Huettmann) Date: Tue, 12 Apr 2016 21:10:56 +0200 Subject: LC 8.0 (rc 1) - Again script edtior window disappearing off-screen Message-ID: Testing on Windows 10, 64 bit. LC 8.0 (rc 1) Bug 16749 (Current status: fixed) There are several bug reports (duplicates) about this issue, but they are marked as resolved or fixed. But so far, and through all the version until now, the script editor window simply is not available in MY WIndows 10 (and previous 8.1) environment. Even just opening LC latest version 8.0 (rc 1) 5 minutes ago, with great expectations, the script editor is not visible when trying to open it anywhere. Enter to message box: ...put the loc of stack "revNewScriptEditor 1" Get the result: ...416,-25340 Since this is long time hanging around, and I am a bit tired of having to use a custom script to set it always back into position... What to do? - New bug report? - Re-open existing bug report? Well - I shall not forget to thank the team for this incredible work getting LiveCode 8.0 rc 1 out of the box with such huge amount of work. I really appreciate it spreading the word around... Cheers ). Roland From jacque at hyperactivesw.com Tue Apr 12 15:17:25 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 12 Apr 2016 14:17:25 -0500 Subject: Volunteer github guru for documentation submissions? In-Reply-To: References: <5700B84D.1090305@hyperactivesw.com> <5700C7EE.5070708@techstrategies.com.au> <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <570C8EE6.2080609@hyperactivesw.com> Message-ID: <570D49C5.3000902@hyperactivesw.com> On 4/12/2016 5:19 AM, Ali Lloyd wrote: > The viewer stack was something I quickly knocked up so that there was > *some* way of viewing the document in context - the links indeed don't work > as it doesn't rebuild the whole dictionary. I'm sorry about that- I can > probably make it work properly at some point. I wouldn't make it a priority, the problem for me wasn't with the viewer itself. I only needed to know whether I should ignore the terms that didn't display. Your blog mentioned that links don't work, but I hadn't yet seen the markdown document so I didn't know what you meant by "link." I thought you meant URLs. > The line > *Navigate to the file you want to modify in the dictionary folder of the > community-docs branch > .* > > with a link to the correct branch/folder was there before, but I've > submitted a PR to reinforce the fact that the community-docs branch should > be the base branch to modify the file: Thanks. I know you want the best for us, and you're responsiveness is terrific. I may not be typical because my eyesight is poor and I don't always notice things. If I need to read through a lot of text to find links, I'll miss some. A straightforward list would have helped a lot: Contribution overview: Joining github: The documentation files: Using the web interface: Using Git GUI software: Using the command line: Linking to your LC account: Signing the CLA: Documentation Format Reference: -- etc For me, this thread would have been a whole lot shorter if that had been available on github, or at least a link to it. Thanks again for your dedication Ali. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Tue Apr 12 15:21:20 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Apr 2016 12:21:20 -0700 Subject: LC 8.0 (rc 1) - Again script edtior window disappearing off-screen In-Reply-To: References: Message-ID: <570D4AB0.1000809@fourthworld.com> Roland Huettmann wrote: > What to do? > - New bug report? > - Re-open existing bug report? If the recipe is the same and the outcome is the same please re-open the bug report. Regressions happen, but I'm sure the team will sort this for RC2. Thanks for testing. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dixonja at hotmail.co.uk Tue Apr 12 15:21:52 2016 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 12 Apr 2016 20:21:52 +0100 Subject: pay your money... take your chance! Message-ID: Any ideas... everything was fine until I downloaded LC 8.0.0 (RC1) http://forums.livecode.com/viewtopic.php?f=49&t=27024 From mark at livecode.com Tue Apr 12 15:32:54 2016 From: mark at livecode.com (Mark Waddingham) Date: Tue, 12 Apr 2016 21:32:54 +0200 Subject: pay your money... take your chance! In-Reply-To: References: Message-ID: Hi John, On 2016-04-12 21:21, John Dixon wrote: > Any ideas... everything was fine until I downloaded LC 8.0.0 (RC1) > http://forums.livecode.com/viewtopic.php?f=49&t=27024 Hmmm - that is odd. It could be there is something up with your license details on the activation server. The first thing to try is to try to 'Re-license Livecode' from the Help menu. If you get a choice of more than one license to choose from, try each one and see if any of them allow you to deploy. If that fails, then we'll have to dig into your license records - please email support at livecode.com and they'll be happy to sort it out. Warmest Regards, Mark. P.S. If you do get a choice of more than one license, then it might be helpful to file a bug report with screen shots of the activation dialog showing each choice you are presented with just in case it isn't a 'data on the server' problem. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From jacque at hyperactivesw.com Tue Apr 12 15:36:39 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 12 Apr 2016 14:36:39 -0500 Subject: Any message sent to popup menu (btn) when nothing is selected? In-Reply-To: <5A990217-ECE5-4110-9007-C4F026978907@me.com> References: <570D2792.7090503@researchware.com> <5A990217-ECE5-4110-9007-C4F026978907@me.com> Message-ID: <570D4E47.5090207@hyperactivesw.com> The menupick message doesn't fire at all when no selection is made from a popup button, but you do get a mouseLeave message. It might be possible to track a local script variable to catch when that happens. This may need some tweaking: local sMenuItem on menuPick pItemName put pItemName into sMenuItem switch pItemName case "choice 1" put "case 1" break case "choice 2" put "case 2" break default end switch end menuPick on mouseLeave if sMenuItem = "" then doDefaultStuff end if put "" into sMenuItem end mouseLeave on doDefaultStuff put the seconds end doDefaultStuff On 4/12/2016 12:01 PM, Tore Nilsen wrote: > When you do not select an item in the menu, pItemName is empty. If you set up a condition where the switch statement kicks in if pItemName is not empty, then you will get the result you wanted, also if the user leaves the menu without making any choice. > > Here is a script that demonstartes this: > > on menuPick pItemName > if pItemName is not empty then > answer pItemName > else > answer "You did not select anything" > end if > end menuPick > > Regards Tore > > > >> 12. apr. 2016 kl. 18.51 skrev Paul Dupuis : >> >> I have a user interface problem. A popup menu (a button) is presented. >> The button has a number of menu items, some dividers between items, etc. >> It has a menuPick handler that covers all the items in the menu >> explicitly and a default handler at the end (just for good measure). >> >> I want to take some action IF a user pops up the popup menu, but does >> NOT select any menu item (so presses escape or clicks on a non-active >> item like a menu divider or just click elsewhere so the popup is dismissed) >> >> The problem is, there appears to be NO message sent to the button of a >> popup menu if NO active menu item is selected. The "default" switch >> statement option never happens because a menuPick is never sent. >> menuPick only get send when an active menu item is selected. >> >> A closeControl to the button when the popup menu is dismissed WOULD have >> been another logical possibility but closeControl is only sent to groups >> (according to the dictionary) >> >> Has any one else ever needed to take an action if a menu item is NOT >> selected from a popup menu? Does anyone have any ideas on how this may >> be handled? Should a message be sent to a popup menu button when the >> popup menu is dismissed without a menuPick? >> >> If no message exists, should one? Should popup menus send a closeControl >> to their button of dismissed without a menuPick? Should this be an >> enhancement request for LiveCode version 1,936 (or earlier)? Why do I >> run into these weird things? >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mark at livecode.com Tue Apr 12 15:37:51 2016 From: mark at livecode.com (Mark Waddingham) Date: Tue, 12 Apr 2016 21:37:51 +0200 Subject: pay your money... take your chance! In-Reply-To: References: Message-ID: <2071d39b7e410437a2c7b3547a9ff516@livecode.com> On 2016-04-12 21:21, John Dixon wrote: > Any ideas... everything was fine until I downloaded LC 8.0.0 (RC1) > http://forums.livecode.com/viewtopic.php?f=49&t=27024 Another thing to attach to a bug report is the result of doing: put the revLicenseInfo From the message box. This shows what details are held in the license which has been used to activate the running version of LiveCode. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From jacque at hyperactivesw.com Tue Apr 12 15:41:33 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 12 Apr 2016 14:41:33 -0500 Subject: Unreproducible Linux weirdness [was: Release 8.0.0 RC 1] In-Reply-To: <570D3A9B.3070709@gmail.com> References: <570D2B53.4000508@livecode.com> <570D3515.7080007@gmail.com> <570D36C9.8000106@livecode.com> <570D3A9B.3070709@gmail.com> Message-ID: <570D4F6D.6070300@hyperactivesw.com> On 4/12/2016 1:12 PM, RM wrote: > > Well; to start with I don't have a "~/my_livecode/Plugins/" directory, > as I have stated several times before. It could be somewhere else on your drive. Look in the LC preferences in the "Files & Memory" pane, and see where LC thinks your user extentions are. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Apr 12 15:47:17 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 12 Apr 2016 14:47:17 -0500 Subject: Any message sent to popup menu (btn) when nothing is selected? In-Reply-To: References: <570D2792.7090503@researchware.com> <5A990217-ECE5-4110-9007-C4F026978907@me.com> Message-ID: <570D50C5.2090803@hyperactivesw.com> On 4/12/2016 1:48 PM, Mike Bonner wrote: > You can use the "mouserelease" message for this. > > This script in the popup works in both 7 and 8.Didn't check earlier > versions. > > on menuPick pItemName > put pItemName -- displays what was chosen > end menuPick > > on mouserelease > put "Nothing chosen" -- if nothing was chosen > end mouserelease That's better than my approach. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bonnmike at gmail.com Tue Apr 12 15:51:08 2016 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 12 Apr 2016 13:51:08 -0600 Subject: Any message sent to popup menu (btn) when nothing is selected? In-Reply-To: <570D50C5.2090803@hyperactivesw.com> References: <570D2792.7090503@researchware.com> <5A990217-ECE5-4110-9007-C4F026978907@me.com> <570D50C5.2090803@hyperactivesw.com> Message-ID: I thought it was the same as your approach.. We both recommended using mouserelease, though reading the dictionary, I wonder if there will be issues with this method at some point. It seems to be an unintentional feature. (Which is better than a random feature, for obvious reasons) On Tue, Apr 12, 2016 at 1:47 PM, J. Landman Gay wrote: > On 4/12/2016 1:48 PM, Mike Bonner wrote: > >> You can use the "mouserelease" message for this. >> >> This script in the popup works in both 7 and 8.Didn't check earlier >> versions. >> >> on menuPick pItemName >> put pItemName -- displays what was chosen >> end menuPick >> >> on mouserelease >> put "Nothing chosen" -- if nothing was chosen >> end mouserelease >> > > That's better than my approach. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tore.nilsen at me.com Tue Apr 12 15:58:16 2016 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 12 Apr 2016 21:58:16 +0200 Subject: Any message sent to popup menu (btn) when nothing is selected? In-Reply-To: <570D4E47.5090207@hyperactivesw.com> References: <570D2792.7090503@researchware.com> <5A990217-ECE5-4110-9007-C4F026978907@me.com> <570D4E47.5090207@hyperactivesw.com> Message-ID: <2C4B388B-D820-4934-899A-84FA783BD3C2@me.com> If you click on a dividerLine in a popUp menu, the menuPick message fire, but with pItemName being empty. You can see this happen if you try: on menuPick pItemName answer pItemName end menuPick This will give you an empty dialog. At least this is what happens in LC 7.1.1 Tore > 12. apr. 2016 kl. 21.36 skrev J. Landman Gay : > > The menupick message doesn't fire at all when no selection is made from a popup button, but you do get a mouseLeave message. It might be possible to track a local script variable to catch when that happens. This may need some tweaking: > > local sMenuItem > > on menuPick pItemName > put pItemName into sMenuItem > switch pItemName > case "choice 1" > put "case 1" > break > case "choice 2" > put "case 2" > break > default > end switch > end menuPick > > on mouseLeave > if sMenuItem = "" then > doDefaultStuff > end if > put "" into sMenuItem > end mouseLeave > > on doDefaultStuff > put the seconds > end doDefaultStuff > > > On 4/12/2016 12:01 PM, Tore Nilsen wrote: >> When you do not select an item in the menu, pItemName is empty. If you set up a condition where the switch statement kicks in if pItemName is not empty, then you will get the result you wanted, also if the user leaves the menu without making any choice. >> >> Here is a script that demonstartes this: >> >> on menuPick pItemName >> if pItemName is not empty then >> answer pItemName >> else >> answer "You did not select anything" >> end if >> end menuPick >> >> Regards Tore >> >> >> >>> 12. apr. 2016 kl. 18.51 skrev Paul Dupuis : >>> >>> I have a user interface problem. A popup menu (a button) is presented. >>> The button has a number of menu items, some dividers between items, etc. >>> It has a menuPick handler that covers all the items in the menu >>> explicitly and a default handler at the end (just for good measure). >>> >>> I want to take some action IF a user pops up the popup menu, but does >>> NOT select any menu item (so presses escape or clicks on a non-active >>> item like a menu divider or just click elsewhere so the popup is dismissed) >>> >>> The problem is, there appears to be NO message sent to the button of a >>> popup menu if NO active menu item is selected. The "default" switch >>> statement option never happens because a menuPick is never sent. >>> menuPick only get send when an active menu item is selected. >>> >>> A closeControl to the button when the popup menu is dismissed WOULD have >>> been another logical possibility but closeControl is only sent to groups >>> (according to the dictionary) >>> >>> Has any one else ever needed to take an action if a menu item is NOT >>> selected from a popup menu? Does anyone have any ideas on how this may >>> be handled? Should a message be sent to a popup menu button when the >>> popup menu is dismissed without a menuPick? >>> >>> If no message exists, should one? Should popup menus send a closeControl >>> to their button of dismissed without a menuPick? Should this be an >>> enhancement request for LiveCode version 1,936 (or earlier)? Why do I >>> run into these weird things? >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hh at livecode.org Tue Apr 12 16:04:04 2016 From: hh at livecode.org (-hh) Date: Tue, 12 Apr 2016 13:04:04 -0700 (PDT) Subject: Unreproducible Linux weirdness [was: Release 8.0.0 RC 1] In-Reply-To: <570D4F6D.6070300@hyperactivesw.com> References: <570D2B53.4000508@livecode.com> <570D3515.7080007@gmail.com> <570D36C9.8000106@livecode.com> <570D3A9B.3070709@gmail.com> <570D4F6D.6070300@hyperactivesw.com> Message-ID: <1460491444451-4703388.post@n4.nabble.com> RM is right, the user extensions directory is on linux not created by default. *But* this path is registered by default in the prefs and LC tries to look into that directory. So it could be, that missing this directory produces irritations. RM, you could try to create that path in your home directory? May be it helps. J. Landman Gay wrote > On 4/12/2016 1:12 PM, RM wrote: >> >> Well; to start with I don't have a "~/my_livecode/Plugins/" directory, >> as I have stated several times before. > > It could be somewhere else on your drive. Look in the LC preferences in > the "Files & Memory" pane, and see where LC thinks your user extentions > are. > > -- > Jacqueline Landman Gay | > jacque@ > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at .runrev > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Release-8-0-0-RC-1-tp4703364p4703388.html Sent from the Revolution - User mailing list archive at Nabble.com. From paul at researchware.com Tue Apr 12 16:47:55 2016 From: paul at researchware.com (Paul Dupuis) Date: Tue, 12 Apr 2016 16:47:55 -0400 Subject: AW: Any message sent to popup menu (btn) when nothing is selected? In-Reply-To: <570D2792.7090503@researchware.com> References: <570D2792.7090503@researchware.com> Message-ID: <570D5EFB.6090003@researchware.com> Thank you everyone for the very helpful responses. Perhaps I just hadn't had enough caffeine, but for whatever reason, I just never considered trying mouseLeave. Also, I must have had something wrong with my default case in my menuPick switch statement becuase it did not seem to fire when I was trying to select a disabled menu separator. From monte at appisle.net Tue Apr 12 16:48:08 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 13 Apr 2016 06:48:08 +1000 Subject: Unreproducible Linux weirdness [was: Release 8.0.0 RC 1] In-Reply-To: <570D3A9B.3070709@gmail.com> References: <570D2B53.4000508@livecode.com> <570D3515.7080007@gmail.com> <570D36C9.8000106@livecode.com> <570D3A9B.3070709@gmail.com> Message-ID: > On 13 Apr 2016, at 4:12 AM, RM wrote: > > Well; to start with I don't have a "~/my_livecode/Plugins/" directory, as I have stated several times before. You are regularly posting images of plugins you make to change the colors of bits of the IDE. Where are you putting those? Cheers Monte From gWolfgang at gaich.de Tue Apr 12 17:23:27 2016 From: gWolfgang at gaich.de (G.W.Gaich) Date: Tue, 12 Apr 2016 23:23:27 +0200 Subject: [ANN] Release 8.0.0 RC 1 (Linux) In-Reply-To: <570D2B53.4000508@livecode.com> References: <570D2B53.4000508@livecode.com> Message-ID: <570D674F.40102@gaich.de> These are my first experiences with LC 8 and Linux: LiveCode 8.0 (rc1) Linux community 64 bit Linux Mint 17.3 Cinnamon 64 bit Try to open the Dictionary. First click on the dictionary icon: Nothing happens Second click: A window opens with 2 tabs (API and Guide) but the window is empty. If I have a new stack opened (New stack/Default Size), then clicking the dictionary icon: Nothing happens Second click: A window opens with 2 tabs (API and Guide) but the window is empty. Then I try to close the new empty stack. A message box appears with title 'livecodecommunity.x86_64' and the message 'something'. The message box has no 'OK' button. I have to close it with the 'x' system button. When I try to close LiveCode the message box appears again (and so on). I have to kill the livecode process. Hmm. Has anyone else the same experiences with Linux Mint 17.3 Cinnamon 64 bit? Best G?nter From merakosp at gmail.com Tue Apr 12 17:36:40 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 13 Apr 2016 00:36:40 +0300 Subject: [ANN] Release 8.0.0 RC 1 (Linux) In-Reply-To: <570D674F.40102@gaich.de> References: <570D2B53.4000508@livecode.com> <570D674F.40102@gaich.de> Message-ID: Hi G?nter, We have a Linux Mint 17.3 Cinnamon 64 bit VM in the office, which was used to test the Dictionary functionality before releasing LiveCode 8 RC-1. I did not experience any of these problems. I suggest you file a bug report (http://quality.livecode.com/) so as we investigate this further. Best regards, Panos -- PS: Mark Wieder uses a Mint Cinnamon 64 bit, so Mark, if you watch this thread, please add your input :) On Wed, Apr 13, 2016 at 12:23 AM, G.W.Gaich wrote: > These are my first experiences with LC 8 and Linux: > > LiveCode 8.0 (rc1) Linux community 64 bit > > Linux Mint 17.3 Cinnamon 64 bit > > > Try to open the Dictionary. > > First click on the dictionary icon: Nothing happens > > Second click: A window opens with 2 tabs (API and Guide) but the window is > empty. > > > If I have a new stack opened (New stack/Default Size), then clicking the > dictionary icon: Nothing happens > Second click: A window opens with 2 tabs (API and Guide) but the window is > empty. > > Then I try to close the new empty stack. A message box appears with title > 'livecodecommunity.x86_64' and the message 'something'. > The message box has no 'OK' button. I have to close it with the 'x' system > button. > When I try to close LiveCode the message box appears again (and so on). I > have to kill the livecode process. > > Hmm. Has anyone else the same experiences with Linux Mint 17.3 Cinnamon 64 > bit? > > > Best > G?nter > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Tue Apr 12 18:29:16 2016 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 12 Apr 2016 15:29:16 -0700 Subject: Plugins vs. the Mac app bundle In-Reply-To: <570D2A17.70806@fourthworld.com> References: <570D1FC1.8060804@livecode.com> <570D2A17.70806@fourthworld.com> Message-ID: At least one reason: one of the more significantly needed user-modifications is the ability to disable UIApplicationExitsOnSuspend in the iOS pList settings. Is this now an option in v8? I don't see it in dp16 but maybe I'm missing it. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/12/16, 10:02 AM, "use-livecode on behalf of Richard Gaskin" wrote: >On 12/04/2016 17:08, Paul Hibbert wrote: > > Peter, > > > > Does this affect solutions such as the one posted here: >http://quality.livecode.com/show_bug.cgi?id=17292 - Comment 6? > > > > I?m curious because I usually modify the revMenuBar stack to add > > in my own preferred shortcuts, there are also people like Richmond > > that like to change the tool bar icons etc., so I?m assuming this > > type of activity will also break code signing validity. > >Well, if you want to truly own your computer there's always Ubuntu, or >any other Linux. :) > >Apple and Microsoft are proprietary systems. They each make a fine OS, >but to use it you play by their rules. In terms of the UX, it's more of >a lease than a purchase. That's neither a feature nor a bug, just one >way of working with an OS. > >If you like what they provide, enjoy it. If you want total control over >the computing experience, I'm hard pressed to think of anything but an >open source system that'll provide that. > >But frankly, even then I'd think twice about modifying signed files. >Bypassing security is rarely advantageous. > >With LiveCode, however, I believe it's not quite so deep. > >The issue here is specific to changing the files on disk within the >application bundle. > >But why do that? From gWolfgang at gaich.de Tue Apr 12 18:31:28 2016 From: gWolfgang at gaich.de (G.W.Gaich) Date: Wed, 13 Apr 2016 00:31:28 +0200 Subject: [ANN] Release 8.0.0 RC 1 (Linux) In-Reply-To: References: <570D2B53.4000508@livecode.com> <570D674F.40102@gaich.de> Message-ID: <570D7740.2070506@gaich.de> Hi Panos, thank you for your reply. I will file a bug report tomorrow. Just installed a fresh VM Linux Mint 17.3 (VirtualBox). Did only install LC 8 (rc1) and have a similar behavior. The dictionary window is an empty rectangle without tabs. Same message box when I try to exit LiveCode. Have to kill the process. My first try was not in a VM. Best G?nter Am 12.04.2016 um 23:36 schrieb panagiotis merakos: > Hi G?nter, > > We have a Linux Mint 17.3 Cinnamon 64 bit VM in the office, which was used > to test the Dictionary functionality before releasing LiveCode 8 RC-1. I > did not experience any of these problems. > > I suggest you file a bug report (http://quality.livecode.com/) so as we > investigate this further. > > Best regards, > Panos > -- > > PS: Mark Wieder uses a Mint Cinnamon 64 bit, so Mark, if you watch this > thread, please add your input :) > > On Wed, Apr 13, 2016 at 12:23 AM, G.W.Gaich wrote: > >> These are my first experiences with LC 8 and Linux: >> >> LiveCode 8.0 (rc1) Linux community 64 bit >> >> Linux Mint 17.3 Cinnamon 64 bit >> >> >> Try to open the Dictionary. >> >> First click on the dictionary icon: Nothing happens >> >> Second click: A window opens with 2 tabs (API and Guide) but the window is >> empty. >> >> >> If I have a new stack opened (New stack/Default Size), then clicking the >> dictionary icon: Nothing happens >> Second click: A window opens with 2 tabs (API and Guide) but the window is >> empty. >> >> Then I try to close the new empty stack. A message box appears with title >> 'livecodecommunity.x86_64' and the message 'something'. >> The message box has no 'OK' button. I have to close it with the 'x' system >> button. >> When I try to close LiveCode the message box appears again (and so on). I >> have to kill the livecode process. >> >> Hmm. Has anyone else the same experiences with Linux Mint 17.3 Cinnamon 64 >> bit? >> >> >> Best >> G?nter >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gWolfgang at gaich.de Tue Apr 12 18:50:09 2016 From: gWolfgang at gaich.de (G.W.Gaich) Date: Wed, 13 Apr 2016 00:50:09 +0200 Subject: [ANN] Release 8.0.0 RC 1 (Linux) In-Reply-To: <570D7740.2070506@gaich.de> References: <570D2B53.4000508@livecode.com> <570D674F.40102@gaich.de> <570D7740.2070506@gaich.de> Message-ID: <570D7BA1.7080906@gaich.de> Hi Panos, you can download the VM at https://cloud.gaich.de:40000/owncloud/index.php/s/CVQBX4MclZCRUfZ It's compressed with 7Zip, the user in Linux Mint is test and the password is testtest Am 13.04.2016 um 00:31 schrieb G.W.Gaich: > Hi Panos, > > thank you for your reply. > I will file a bug report tomorrow. > > Just installed a fresh VM Linux Mint 17.3 (VirtualBox). Did only > install LC 8 (rc1) and have a similar behavior. > The dictionary window is an empty rectangle without tabs. Same message > box when I try to exit LiveCode. Have to kill the process. > My first try was not in a VM. > > Best > G?nter > > Am 12.04.2016 um 23:36 schrieb panagiotis merakos: >> Hi G?nter, >> >> We have a Linux Mint 17.3 Cinnamon 64 bit VM in the office, which was >> used >> to test the Dictionary functionality before releasing LiveCode 8 RC-1. I >> did not experience any of these problems. >> >> I suggest you file a bug report (http://quality.livecode.com/) so as we >> investigate this further. >> >> Best regards, >> Panos >> -- >> >> PS: Mark Wieder uses a Mint Cinnamon 64 bit, so Mark, if you watch this >> thread, please add your input :) >> >> On Wed, Apr 13, 2016 at 12:23 AM, G.W.Gaich wrote: >> >>> These are my first experiences with LC 8 and Linux: >>> >>> LiveCode 8.0 (rc1) Linux community 64 bit >>> >>> Linux Mint 17.3 Cinnamon 64 bit >>> >>> >>> Try to open the Dictionary. >>> >>> First click on the dictionary icon: Nothing happens >>> >>> Second click: A window opens with 2 tabs (API and Guide) but the >>> window is >>> empty. >>> >>> >>> If I have a new stack opened (New stack/Default Size), then clicking >>> the >>> dictionary icon: Nothing happens >>> Second click: A window opens with 2 tabs (API and Guide) but the >>> window is >>> empty. >>> >>> Then I try to close the new empty stack. A message box appears with >>> title >>> 'livecodecommunity.x86_64' and the message 'something'. >>> The message box has no 'OK' button. I have to close it with the 'x' >>> system >>> button. >>> When I try to close LiveCode the message box appears again (and so >>> on). I >>> have to kill the livecode process. >>> >>> Hmm. Has anyone else the same experiences with Linux Mint 17.3 >>> Cinnamon 64 >>> bit? >>> >>> >>> Best >>> G?nter >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Mark_Smith at cpe.umanitoba.ca Tue Apr 12 19:38:39 2016 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Tue, 12 Apr 2016 16:38:39 -0700 (PDT) Subject: Volunteer github guru for documentation submissions? In-Reply-To: <570C52D0.8070806@hyperactivesw.com> References: <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460412873291-4703303.post@n4.nabble.com> <570C52D0.8070806@hyperactivesw.com> Message-ID: <1460504319809-4703396.post@n4.nabble.com> J. Landman Gay wrote > Like Devin said, almost everything I look at needs at least a minor > tweak. I was just reading the encrypt entry. It's missing examples, but > I don't know enough about encryption to add meaningful ones. If you do, > that'd be great. > > Another thing to do would be to go through a pre-8 dictionary and look > at entries with user notes. Those aren't included in the LC 8 dictionary > and if you see some that are useful, add them to the main description. Great suggestions, thanks. (You and Devin have knowledge of LC I don't, so I think your strategies probably would not bear much fruit in my case). Still happy to submit pull requests for anyone who can't be bothered. I do learn something indirectly in the process, so there is some advantage. I'll go take a look at encrypt. Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Volunteer-github-guru-for-documentation-submissions-tp4703029p4703396.html Sent from the Revolution - User mailing list archive at Nabble.com. From jf_byrnes at comcast.net Tue Apr 12 20:26:50 2016 From: jf_byrnes at comcast.net (Jim Byrnes) Date: Tue, 12 Apr 2016 19:26:50 -0500 Subject: Does autoupdater work in Linux? Message-ID: Running Ubuntu 14.04 - Livecode 8.0.0-DP-16. I clicked on help-->check for updates but nothing downloaded. If I look in /.runrev/updates/livecode I see that a update_uuid.txt was generated and was timestamped about the time I tried to update but nothing was updated. Regards, Jim From Mark_Smith at cpe.umanitoba.ca Tue Apr 12 19:55:30 2016 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Tue, 12 Apr 2016 16:55:30 -0700 (PDT) Subject: Volunteer github guru for documentation submissions? In-Reply-To: <570C0F47.5030601@hyperactivesw.com> References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> Message-ID: <1460505330753-4703397.post@n4.nabble.com> J. Landman Gay wrote > textShift is not tagged as "text processing" BTW, are tags something new in the LC 8 dictionary? I can't see any in the LC 7 version (or don't know how to make them appear). Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Volunteer-github-guru-for-documentation-submissions-tp4703029p4703397.html Sent from the Revolution - User mailing list archive at Nabble.com. From selander at tkf.att.ne.jp Tue Apr 12 20:58:41 2016 From: selander at tkf.att.ne.jp (Tim Selander) Date: Wed, 13 Apr 2016 09:58:41 +0900 Subject: Default tool on open stack In-Reply-To: <1540b3fb870.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <570C3090.1040703@tkf.att.ne.jp> <15407bc46a0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <570CF735.7090306@tkf.att.ne.jp> <1540b3fb870.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <570D99C1.8070202@tkf.att.ne.jp> Aha! That makes sense. The IDE is un-doing the command... OK, not a bug -- just a quirk. ;-) Tim Selander Tokyo, Japan On 16/04/13 1:13, J. Landman Gay wrote: > On April 12, 2016 8:27:15 AM Tim Selander wrote: > >> However, after reading some of the various other comments, >> including Jacqueline's here, it strikes me that this has to be >> considered some kind of bug, doesn't it? >> >> A valid command (choose browse tool) in a valid handler >> (openstack) does not work!? > > I'm not sure it's actually a bug. The command does work, but the IDE > chooses the edit tool late in its startup sequence, which undoes the > earlier command. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bogdanoff at me.com Tue Apr 12 21:41:04 2016 From: bogdanoff at me.com (Peter Bogdanoff) Date: Tue, 12 Apr 2016 18:41:04 -0700 Subject: Choose Browse Tool with click In-Reply-To: <3afdda755f062f6ecdcd5478f339b80c@livecode.com> References: <86D4FF37-0EC0-4F83-A697-C87496503C10@me.com> <3afdda755f062f6ecdcd5478f339b80c@livecode.com> Message-ID: My application is basically a specialized classroom presentation tool much like basic Apple Keynote or Powerpoint (text and images) with buttons that do things like play edited audio and video. So in many ways I?m reproducing the LC IDE in a runtime, but simplified for the user. So I?m investigating if I can make the mode change from editing/modifying controls to browse simpler. I was overjoyed to discover the cantSelect property recently. I?m seeing that LC is truly able to do what Richard Gaskin quoted Bill Appleton saying about Supercard?create authoring environments. Peter Bogdanoff UCLA On Apr 12, 2016, at 11:25 AM, Mark Waddingham wrote: > Hi Peter, > > On 2016-04-12 08:12, Peter Bogdanoff wrote: >> Hi all, >> I have a script in a button: >> on mouseDoubleDown >> choose pointer tool >> select me >> end mouseDoubleDown > ... >> Is there another way? > > Without knowing precisely what effect you are trying to achieve, this suggestion might be useless... > > However, have you investigated using the 'cantSelect' properties of objects? If an object has cantSelect set to true, then it acts as if it is in browse mode, rather than pointer tool mode. Even if it is not useful for your precise use-case, knowing why might help evolve it into something more useful in the future. > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Tue Apr 12 21:53:33 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 12 Apr 2016 18:53:33 -0700 Subject: Does autoupdater work in Linux? In-Reply-To: References: Message-ID: <570DA69D.6060908@ahsoftware.net> On 04/12/2016 05:26 PM, Jim Byrnes wrote: > Running Ubuntu 14.04 - Livecode 8.0.0-DP-16. > > I clicked on help-->check for updates but nothing downloaded. If I look > in /.runrev/updates/livecode I see that a update_uuid.txt was generated > and was timestamped about the time I tried to update but nothing was > updated. Never has worked, afaik. -- Mark Wieder ahsoftware at gmail.com From jf_byrnes at comcast.net Tue Apr 12 22:00:11 2016 From: jf_byrnes at comcast.net (Jim Byrnes) Date: Tue, 12 Apr 2016 21:00:11 -0500 Subject: Does autoupdater work in Linux? In-Reply-To: <570DA69D.6060908@ahsoftware.net> References: <570DA69D.6060908@ahsoftware.net> Message-ID: On 04/12/2016 08:53 PM, Mark Wieder wrote: > On 04/12/2016 05:26 PM, Jim Byrnes wrote: >> Running Ubuntu 14.04 - Livecode 8.0.0-DP-16. >> >> I clicked on help-->check for updates but nothing downloaded. If I look >> in /.runrev/updates/livecode I see that a update_uuid.txt was generated >> and was timestamped about the time I tried to update but nothing was >> updated. > > Never has worked, afaik. > OK, thanks for the info. Regards, Jim From paul at livecode.org Tue Apr 12 23:41:21 2016 From: paul at livecode.org (Paul Hibbert) Date: Tue, 12 Apr 2016 20:41:21 -0700 Subject: Plugins vs. the Mac app bundle In-Reply-To: <570D2A17.70806@fourthworld.com> References: <570D1FC1.8060804@livecode.com> <570D2A17.70806@fourthworld.com> Message-ID: Thank you for your reply Richard, I?ll try some answers? > Well, if you want to truly own your computer there's always Ubuntu, or any other Linux. :) > > Apple and Microsoft are proprietary systems. They each make a fine OS, but to use it you play by their rules. In terms of the UX, it's more of a lease than a purchase. That's neither a feature nor a bug, just one way of working with an OS. > > If you like what they provide, enjoy it. If you want total control over the computing experience, I'm hard pressed to think of anything but an open source system that'll provide that. Having used Macs for over 25 years I am most comfortable on OS X. I?ve used many other proprietary systems during that time too most of them running on Unix boxes. I find Windows too annoying and my recent experiences on Linux have usually ended in frustration, so I tend to leave them well alone. > But frankly, even then I'd think twice about modifying signed files. Bypassing security is rarely advantageous. I wasn?t making the changes to bypass any security issues, I just wanted to modify the menus slightly, I didn?t even think about code signing and didn?t see any problems after making the changes. > With LiveCode, however, I believe it's not quite so deep. > > The issue here is specific to changing the files on disk within the application bundle. > > But why do that? Coming from a professional graphics background I am used to relying on keyboard shortcuts to speed up my workflow, some I find so ?normal? in everyday use, but they are missing in LC, so I wanted to put them in, it?s not very difficult and I got the shortcuts that ?I wanted". > Any changes made to the IDE stack files will be gone with the next update anyway. When I found out how easy it is to add the shortcuts to the menus I just wrote a little routine to update the new version - run once then forget it. > Time and again, as we explore IDE customization we come back to the same solution: write scripts that modify things on the fly in memory. I tried this too, but then when I quit the app it just asked me if I wanted to save the modified stack, if I agreed it just threw an error because of the permissions problem, maybe I approached it wrong. > This lets you have anything you want, and when you don't want it (such as IDE testing) you just remove the plugin that does it and restart. And it survives IDE updates. > > Richmond's revMenubar changes are an excellent example: in v8 that stack is assembled on the fly in a script. Find the portions you want made differently, put those in a plugin with your changes, and you're good to go. I looked for this on the LiveCode Share site and couldn?t find it, I also looked on the forums, but he has several reMenuBar hacks there that don?t look much like they add in any shortcuts, so I couldn?t decide which one you were referring to, the most likely one I could see dated back to 2014. I did write a plug-in to put some shortcuts into the frontscript of the DE and it worked OK, but they didn?t show up in the menus, so I felt it was cleaner to modify the revMenuBar script once and be done with it, however, now I know there are issues with the bundle code signing I?ll revisit the plugin and see if I can improve it. Off to play with the new RC1 now... Kind Regards, Paul From mwieder at ahsoftware.net Wed Apr 13 00:40:19 2016 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 12 Apr 2016 21:40:19 -0700 Subject: [ANN] Release 8.0.0 RC 1 (Linux) In-Reply-To: References: <570D2B53.4000508@livecode.com> <570D674F.40102@gaich.de> Message-ID: <570DCDB3.3060306@ahsoftware.net> On 04/12/2016 02:36 PM, panagiotis merakos wrote: > PS: Mark Wieder uses a Mint Cinnamon 64 bit, so Mark, if you watch this > thread, please add your input :) > > On Wed, Apr 13, 2016 at 12:23 AM, G.W.Gaich wrote: > >> These are my first experiences with LC 8 and Linux: >> >> LiveCode 8.0 (rc1) Linux community 64 bit >> >> Linux Mint 17.3 Cinnamon 64 bit >> >> >> Try to open the Dictionary. >> >> First click on the dictionary icon: Nothing happens >> >> Second click: A window opens with 2 tabs (API and Guide) but the window is >> empty. >> >> >> If I have a new stack opened (New stack/Default Size), then clicking the >> dictionary icon: Nothing happens >> Second click: A window opens with 2 tabs (API and Guide) but the window is >> empty. >> >> Then I try to close the new empty stack. A message box appears with title >> 'livecodecommunity.x86_64' and the message 'something'. >> The message box has no 'OK' button. I have to close it with the 'x' system >> button. >> When I try to close LiveCode the message box appears again (and so on). I >> have to kill the livecode process. >> >> Hmm. Has anyone else the same experiences with Linux Mint 17.3 Cinnamon 64 >> bit? I see all the above dictionary symptoms. Note, though, that I only saw the problem with the duplicated API and Guide tabs once. And on second click of the Dictionary the contents do appear after a delay. In addition, if you have Toolbar text enabled and Toolbar icons disabled, the "Dictionary" text becomes overwritten with after clicking it. I cannot replicate the empty stack problems, though. The good news: I no longer am seeing a CEF segfault after closing the dictionary and IDE. My guess is that we are no longer using the CEF browser for the dictionary. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Wed Apr 13 00:43:50 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 12 Apr 2016 23:43:50 -0500 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <1460505330753-4703397.post@n4.nabble.com> References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460505330753-4703397.post@n4.nabble.com> Message-ID: <570DCE86.7000309@hyperactivesw.com> On 4/12/2016 6:55 PM, Mark Smith wrote: > J. Landman Gay wrote >> > textShift is not tagged as "text processing" > BTW, are tags something new in the LC 8 dictionary? I can't see any in the > LC 7 version (or don't know how to make them appear). Yes. It's the pseudo-word-cloud at the left of the window. If you click on a tag, search results are filtered by that tag. You can filter by type or OS too. BTW, I've found omitted words in the rawClipboardData summary if you want to tackle that one. The summary reads provides low-level access to the contents of the . If you look at the github doc, the rest of the sentence is there but it isn't displaying. I'm not familiar enough yet with the markdown to know how to fix it. The same error occurs in fullClipboardData. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Wed Apr 13 00:50:57 2016 From: richmondmathewson at gmail.com (RM) Date: Wed, 13 Apr 2016 07:50:57 +0300 Subject: Unreproducible Linux weirdness [was: Release 8.0.0 RC 1] In-Reply-To: References: <570D2B53.4000508@livecode.com> <570D3515.7080007@gmail.com> <570D36C9.8000106@livecode.com> <570D3A9B.3070709@gmail.com> Message-ID: <570DD031.2000609@gmail.com> I'm not putting them anywhere as I just keep them in my latest stacks folder and get at them from there, rather than treating them as plugins. Richmond. On 12.04.2016 23:48, Monte Goulding wrote: >> On 13 Apr 2016, at 4:12 AM, RM wrote: >> >> Well; to start with I don't have a "~/my_livecode/Plugins/" directory, as I have stated several times before. > You are regularly posting images of plugins you make to change the colors of bits of the IDE. Where are you putting those? > > Cheers > > Monte > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Apr 13 00:52:10 2016 From: richmondmathewson at gmail.com (RM) Date: Wed, 13 Apr 2016 07:52:10 +0300 Subject: [ANN] Release 8.0.0 RC 1 (Linux) In-Reply-To: <570D674F.40102@gaich.de> References: <570D2B53.4000508@livecode.com> <570D674F.40102@gaich.de> Message-ID: <570DD07A.1060206@gmail.com> This is identical to my experience with RC1 on Xubuntu 15.10 64 bit. Richmond. On 13.04.2016 00:23, G.W.Gaich wrote: > These are my first experiences with LC 8 and Linux: > > LiveCode 8.0 (rc1) Linux community 64 bit > > Linux Mint 17.3 Cinnamon 64 bit > > > Try to open the Dictionary. > > First click on the dictionary icon: Nothing happens > > Second click: A window opens with 2 tabs (API and Guide) but the > window is empty. > > > If I have a new stack opened (New stack/Default Size), then clicking > the dictionary icon: Nothing happens > Second click: A window opens with 2 tabs (API and Guide) but the > window is empty. > > Then I try to close the new empty stack. A message box appears with > title 'livecodecommunity.x86_64' and the message 'something'. > The message box has no 'OK' button. I have to close it with the 'x' > system button. > When I try to close LiveCode the message box appears again (and so > on). I have to kill the livecode process. > > Hmm. Has anyone else the same experiences with Linux Mint 17.3 > Cinnamon 64 bit? > > > Best > G?nter > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at livecode.org Wed Apr 13 00:52:53 2016 From: paul at livecode.org (Paul Hibbert) Date: Tue, 12 Apr 2016 21:52:53 -0700 Subject: [ANN] Release 8.0.0 RC 1 (Linux) In-Reply-To: <570DCDB3.3060306@ahsoftware.net> References: <570D2B53.4000508@livecode.com> <570D674F.40102@gaich.de> <570DCDB3.3060306@ahsoftware.net> Message-ID: <8C87495F-9DCF-4E32-B22E-DF71C4B87F52@livecode.org> > On Apr 12, 2016, at 9:40 PM, Mark Wieder wrote: > > In addition, if you have Toolbar text enabled and Toolbar icons disabled, the "Dictionary" text becomes overwritten with after clicking it. That?s the icons showing through, there?s a bug report for it already. http://quality.livecode.com/show_bug.cgi?id=17369 Seen on OS X too, it happens to all the toolbar text as far as I can see. :-( Paul From monte at appisle.net Wed Apr 13 00:53:09 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 13 Apr 2016 14:53:09 +1000 Subject: Unreproducible Linux weirdness [was: Release 8.0.0 RC 1] In-Reply-To: <570DD031.2000609@gmail.com> References: <570D2B53.4000508@livecode.com> <570D3515.7080007@gmail.com> <570D36C9.8000106@livecode.com> <570D3A9B.3070709@gmail.com> <570DD031.2000609@gmail.com> Message-ID: <939D92B7-281C-4A0C-B52A-13FFFA949934@appisle.net> > On 13 Apr 2016, at 2:50 PM, RM wrote: > > I'm not putting them anywhere as I just keep them in my latest stacks folder > and get at them from there, rather than treating them as plugins. Ah, well maybe try renaming your prefs file and send it in if that resolves it From monte at appisle.net Wed Apr 13 01:06:12 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 13 Apr 2016 15:06:12 +1000 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <570DCE86.7000309@hyperactivesw.com> References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460505330753-4703397.post@n4.nabble.com> <570DCE86.7000309@hyperactivesw.com> Message-ID: <3689CD23-6FD0-4D84-9B8F-3D6C0394C6D7@appisle.net> > On 13 Apr 2016, at 2:43 PM, J. Landman Gay wrote: > > BTW, I've found omitted words in the rawClipboardData summary if you want to tackle that one. The summary reads > > provides low-level access to the contents of the . That must be a bug with the dictionary as is rendering fine on the clipboardData. Can you report that? Cheers Monte From jacque at hyperactivesw.com Wed Apr 13 01:47:45 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 13 Apr 2016 00:47:45 -0500 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <3689CD23-6FD0-4D84-9B8F-3D6C0394C6D7@appisle.net> References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460505330753-4703397.post@n4.nabble.com> <570DCE86.7000309@hyperactivesw.com> <3689CD23-6FD0-4D84-9B8F-3D6C0394C6D7@appisle.net> Message-ID: <570DDD81.2060101@hyperactivesw.com> On 4/13/2016 12:06 AM, Monte Goulding wrote: > >> On 13 Apr 2016, at 2:43 PM, J. Landman Gay >> wrote: >> >> BTW, I've found omitted words in the rawClipboardData summary if >> you want to tackle that one. The summary reads >> >> provides low-level access to the contents of the . > > That must be a bug with the dictionary as is rendering > fine on the clipboardData. Can you report that? It's a markdown issue I was thinking Mark Smith might want to tackle, since it's part of the community docs we're trying to edit. If he doesn't, then I'll try it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at appisle.net Wed Apr 13 01:51:22 2016 From: monte at appisle.net (Monte Goulding) Date: Wed, 13 Apr 2016 15:51:22 +1000 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <570DDD81.2060101@hyperactivesw.com> References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460505330753-4703397.post@n4.nabble.com> <570DCE86.7000309@hyperactivesw.com> <3689CD23-6FD0-4D84-9B8F-3D6C0394C6D7@appisle.net> <570DDD81.2060101@hyperactivesw.com> Message-ID: <004B8524-2B33-46DC-BC33-5B55E95CD1D1@appisle.net> > On 13 Apr 2016, at 3:47 PM, J. Landman Gay wrote: > >> That must be a bug with the dictionary as is rendering >> fine on the clipboardData. Can you report that? > > It's a markdown issue I was thinking Mark Smith might want to tackle, since it's part of the community docs we're trying to edit. If he doesn't, then I'll try it. I can?t see anything different between the use in the summary of in the clipboardData and the fullClipboadData so I don?t think it is markdown related but I could be wrong. Cheers Monte From jacque at hyperactivesw.com Wed Apr 13 01:57:38 2016 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 13 Apr 2016 00:57:38 -0500 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <004B8524-2B33-46DC-BC33-5B55E95CD1D1@appisle.net> References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460505330753-4703397.post@n4.nabble.com> <570DCE86.7000309@hyperactivesw.com> <3689CD23-6FD0-4D84-9B8F-3D6C0394C6D7@appisle.net> <570DDD81.2060101@hyperactivesw.com> <004B8524-2B33-46DC-BC33-5B55E95CD1D1@appisle.net> Message-ID: <570DDFD2.20000@hyperactivesw.com> On 4/13/2016 12:51 AM, Monte Goulding wrote: > >> On 13 Apr 2016, at 3:47 PM, J. Landman Gay >> wrote: >> >>> That must be a bug with the dictionary as is >>> rendering fine on the clipboardData. Can you report that? >> >> It's a markdown issue I was thinking Mark Smith might want to >> tackle, since it's part of the community docs we're trying to edit. >> If he doesn't, then I'll try it. > > I can?t see anything different between the use in the summary of > in the clipboardData and the fullClipboadData so I don?t > think it is markdown related but I could be wrong. Yeah, I was just looking at it again and I think you're right. I'll report it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From peter.brett at livecode.com Wed Apr 13 02:20:05 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 13 Apr 2016 07:20:05 +0100 Subject: [ANN] Release 8.0.0 RC 1 (Linux) In-Reply-To: <570DCDB3.3060306@ahsoftware.net> References: <570D2B53.4000508@livecode.com> <570D674F.40102@gaich.de> <570DCDB3.3060306@ahsoftware.net> Message-ID: <570DE515.2030409@livecode.com> On 13/04/2016 05:40, Mark Wieder wrote: > The good news: I no longer am seeing a CEF segfault after closing the > dictionary and IDE. My guess is that we are no longer using the CEF > browser for the dictionary. We are, in fact, still using the CEF-based browser widget for the dictionary. Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From ali.lloyd at livecode.com Wed Apr 13 03:16:39 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Wed, 13 Apr 2016 07:16:39 +0000 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <570DDFD2.20000@hyperactivesw.com> References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460505330753-4703397.post@n4.nabble.com> <570DCE86.7000309@hyperactivesw.com> <3689CD23-6FD0-4D84-9B8F-3D6C0394C6D7@appisle.net> <570DDD81.2060101@hyperactivesw.com> <004B8524-2B33-46DC-BC33-5B55E95CD1D1@appisle.net> <570DDFD2.20000@hyperactivesw.com> Message-ID: I think the problem with in those two entries is that clipboard (property) is in the references, but it there is no clipboard property, only a clipboard function. So removing that from the references should fix it. On Wed, Apr 13, 2016 at 6:57 AM J. Landman Gay wrote: > On 4/13/2016 12:51 AM, Monte Goulding wrote: > > > >> On 13 Apr 2016, at 3:47 PM, J. Landman Gay > >> wrote: > >> > >>> That must be a bug with the dictionary as is > >>> rendering fine on the clipboardData. Can you report that? > >> > >> It's a markdown issue I was thinking Mark Smith might want to > >> tackle, since it's part of the community docs we're trying to edit. > >> If he doesn't, then I'll try it. > > > > I can?t see anything different between the use in the summary of > > in the clipboardData and the fullClipboadData so I don?t > > think it is markdown related but I could be wrong. > > Yeah, I was just looking at it again and I think you're right. I'll > report it. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roland.huettmann at gmail.com Wed Apr 13 03:43:06 2016 From: roland.huettmann at gmail.com (Roland Huettmann) Date: Wed, 13 Apr 2016 09:43:06 +0200 Subject: LC 8.0 (rc 1) - Again script edtior window disappearing off-screen In-Reply-To: <570D4AB0.1000809@fourthworld.com> References: <570D4AB0.1000809@fourthworld.com> Message-ID: Thank you Richard for your suggestion. ))). And with the help of Panos the reason has been detected. It has something to do with the Preferences file. Now all is ok, script editor appears where is should appear. WINDOWS: CHANGE OR REMOVE OR DELETE PREFERENCE FILE If anybody experiencing something similar: - Close LiveCode - On Windows you need to make hidden folders visible (uncheck checkbox "Hidden items" in the folders "View" tab) - Go to "C:\Users\your_user_name\AppData/Roaming\RunRev\Preferences\" - At this location you should find one or two files "livecode.rev" and/or "livecode7.rev" - Move the file or files to some other folder (or delete if not needed any longer) - Restart LiveCode - A new Preferences file will be created (have a look) - Again hide "hidden folders" on your machine if you do not want to see all the clutter of available hidden folders and files - Voila ! ) Done. From peter.brett at livecode.com Wed Apr 13 04:13:32 2016 From: peter.brett at livecode.com (Peter TB Brett) Date: Wed, 13 Apr 2016 09:13:32 +0100 Subject: LC 8.0 (rc 1) - Again script edtior window disappearing off-screen In-Reply-To: References: <570D4AB0.1000809@fourthworld.com> Message-ID: <570DFFAC.9070703@livecode.com> On 13/04/2016 08:43, Roland Huettmann wrote: > - Move the file or files to some other folder (or delete if not needed any > longer) > > - Restart LiveCode > > - A new Preferences file will be created (have a look) If moving your preferences file out of the way fixes incorrect IDE behaviour, we'd like to look at it -- one of our ongoing tasks is to make a collection of preferences files that break things, so we can stop the brokenness from happening. Either attach the preferences file to a related bug report, or e-mail it to support at livecode.com with a description of the problem that it was causing! Peter -- Dr Peter Brett LiveCode Open Source Team LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ From merakosp at gmail.com Wed Apr 13 04:47:00 2016 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 13 Apr 2016 09:47:00 +0100 Subject: LC 8.0 (rc 1) - Again script edtior window disappearing off-screen In-Reply-To: <570DFFAC.9070703@livecode.com> References: <570D4AB0.1000809@fourthworld.com> <570DFFAC.9070703@livecode.com> Message-ID: @Peter Yes, Roland has already attached the old prefs in the bug report ( http://quality.livecode.com/show_bug.cgi?id=16749) as requested Best, Panos -- On Wed, Apr 13, 2016 at 9:13 AM, Peter TB Brett wrote: > > > On 13/04/2016 08:43, Roland Huettmann wrote: > > - Move the file or files to some other folder (or delete if not needed any >> longer) >> >> - Restart LiveCode >> >> - A new Preferences file will be created (have a look) >> > > If moving your preferences file out of the way fixes incorrect IDE > behaviour, we'd like to look at it -- one of our ongoing tasks is to make a > collection of preferences files that break things, so we can stop the > brokenness from happening. > > Either attach the preferences file to a related bug report, or e-mail it > to support at livecode.com with a description of the problem that it was > causing! > > Peter > > -- > Dr Peter Brett > LiveCode Open Source Team > > LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roland.huettmann at gmail.com Wed Apr 13 06:03:59 2016 From: roland.huettmann at gmail.com (Roland Huettmann) Date: Wed, 13 Apr 2016 12:03:59 +0200 Subject: LC7 and 8 - Non responsive processing large text files Message-ID: This issue was addressed before within another context, but I am running into the same problems with all versions of 7 and 8 including the latest rc1 (using Windows 8.1 to Windows 10). The question is important as it is related to a planned project for very serious development and a product to be developed with LiveCode 8.0 (stable version). Imagine Gibabytes big text files. Maybe even it could be Terabytes! NON-RESPONSIVENESS USING "UNTIL" READ I found opening a very large text file (my file is 26 GB), simply reading from it up to 90 MB of data in each iteration, using an offset () function processing the read junk of data, and iterating through the file, is not a problem and performs acceptably. But reading something into memory using "read from file UNTIL " and doing this many times over in such large text file creates non-responsiveness of LC (tested on 7 and 8). So, what do I do? 1. Open file in read only mode and for binary read 2. Reading until (which separates pieces of data where each piece is not bigger than 30 MB) 3. Repeating the reading 10x or 100,000x or more... (depends on file size) 4. Performing some additional processing on such read pieces of data in memory 5. Eventually placing data into a field, or storing it away somewhere else (max 30 MB in my case) 6. Closing the file LC eventually turns back to normal state when user is waiting long enough and the process is finished. But LC is completely locked away in such non-responsive state, and it is not acceptable to our project. Maybe with each loop I have to send a waiting message? I tried sending with 10 milliseconds, but nothing changed. I tried several other options. One more note: Additionally I find that it can take significant delays when placing large blocks of text into a field. Is there an idea of improving this? Kind greetings Roland From MikeKerner at roadrunner.com Wed Apr 13 08:55:47 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 13 Apr 2016 08:55:47 -0400 Subject: Volunteer github guru for documentation submissions? In-Reply-To: References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460505330753-4703397.post@n4.nabble.com> <570DCE86.7000309@hyperactivesw.com> <3689CD23-6FD0-4D84-9B8F-3D6C0394C6D7@appisle.net> <570DDD81.2060101@hyperactivesw.com> <004B8524-2B33-46DC-BC33-5B55E95CD1D1@appisle.net> <570DDFD2.20000@hyperactivesw.com> Message-ID: I'm done. I have better things to do than fight through trying to help everybody by making the docs better. Have a look at send and the attempts to clarify what it does and how it works, and if afterward you want a go at it, go for it. What looks at first glance like a tweak turns out to be a hornet's nest that still isn't done. If I have realized anything in the last 24 hours it's a) Github is completely the wrong tool to use for documentation. We should be using a wiki or something similar. The complexity that git adds does not make this better. If the goal was to open the documentation so that the team can spend less time working on it, and so the folks who use the tool all the time can improve it, then making updating the docs this difficult is not going to do that. b) Trying to keep all the branches straight, and the complexity this adds is only going to make it more difficult, still. On Wed, Apr 13, 2016 at 3:16 AM, Ali Lloyd wrote: > I think the problem with in those two entries is that clipboard > (property) is in the references, but it there is no clipboard property, > only a clipboard function. So removing that from the references should fix > it. > > On Wed, Apr 13, 2016 at 6:57 AM J. Landman Gay > wrote: > > > On 4/13/2016 12:51 AM, Monte Goulding wrote: > > > > > >> On 13 Apr 2016, at 3:47 PM, J. Landman Gay > > >> wrote: > > >> > > >>> That must be a bug with the dictionary as is > > >>> rendering fine on the clipboardData. Can you report that? > > >> > > >> It's a markdown issue I was thinking Mark Smith might want to > > >> tackle, since it's part of the community docs we're trying to edit. > > >> If he doesn't, then I'll try it. > > > > > > I can?t see anything different between the use in the summary of > > > in the clipboardData and the fullClipboadData so I don?t > > > think it is markdown related but I could be wrong. > > > > Yeah, I was just looking at it again and I think you're right. I'll > > report it. > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From roland.huettmann at gmail.com Wed Apr 13 09:07:59 2016 From: roland.huettmann at gmail.com (Roland Huettmann) Date: Wed, 13 Apr 2016 15:07:59 +0200 Subject: LC 8.0 (rc 1) - Again script edtior window disappearing off-screen In-Reply-To: References: <570D4AB0.1000809@fourthworld.com> <570DFFAC.9070703@livecode.com> Message-ID: Yes, thanks to you, BUT: Working for a little while now in LC 8.0 ( lc 1) it happened again: Script editor window disappeared to location: -25162,-25296 . And this time the preferences file was NEWLY created. It started all well and fine. Then during work - out of a sudden - after some script errors, the SE window disappeared and was not seen again. In my (very simple) logic, the preferences file saves some location, and it may be a wrong location saved from such off-screen-disappearing, but the bug itself hides somewhere else. I also noticed that sometimes it is not possible to even access the script editor - even if it is in the bounds of the screen and potentially be visible - and my "work around" was opening another script editor and then switching the tab of editors to the original script that I am working on. Also then a right-click on a control such as a button will not show anything and not allow to open a script. Is there enough testing done on Windows? Roland On 13 April 2016 at 10:47, panagiotis merakos wrote: > @Peter > Yes, Roland has already attached the old prefs in the bug report ( > http://quality.livecode.com/show_bug.cgi?id=16749) as requested > > Best, > Panos > -- > > On Wed, Apr 13, 2016 at 9:13 AM, Peter TB Brett > wrote: > > > > > > > On 13/04/2016 08:43, Roland Huettmann wrote: > > > > - Move the file or files to some other folder (or delete if not needed > any > >> longer) > >> > >> - Restart LiveCode > >> > >> - A new Preferences file will be created (have a look) > >> > > > > If moving your preferences file out of the way fixes incorrect IDE > > behaviour, we'd like to look at it -- one of our ongoing tasks is to > make a > > collection of preferences files that break things, so we can stop the > > brokenness from happening. > > > > Either attach the preferences file to a related bug report, or e-mail it > > to support at livecode.com with a description of the problem that it was > > causing! > > > > Peter > > > > -- > > Dr Peter Brett > > LiveCode Open Source Team > > > > LiveCode 2016 Conference https://livecode.com/edinburgh-2016/ > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ali.lloyd at livecode.com Wed Apr 13 10:33:46 2016 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Wed, 13 Apr 2016 14:33:46 +0000 Subject: Volunteer github guru for documentation submissions? In-Reply-To: References: <57016EA9.8010102@hyperactivesw.com> <5703D91C.4010302@ahsoftware.net> <5704AEDA.2000402@hyperactivesw.com> <9A18425F-90D2-4ADD-A2CD-CFF8553C17CC@appisle.net> <570554B5.1000003@hyperactivesw.com> <1460404378548-4703298.post@n4.nabble.com> <570C0F47.5030601@hyperactivesw.com> <1460505330753-4703397.post@n4.nabble.com> <570DCE86.7000309@hyperactivesw.com> <3689CD23-6FD0-4D84-9B8F-3D6C0394C6D7@appisle.net> <570DDD81.2060101@hyperactivesw.com> <004B8524-2B33-46DC-BC33-5B55E95CD1D1@appisle.net> <570DDFD2.20000@hyperactivesw.com> Message-ID: Mike, I'm sorry it ended up being a very tricky document to change - I think we jointly suffered a sort of scope creep because that doc doesn't properly distinguish between the notion of a message and the messageName parameter. While it's true that what you were originally suggesting was a tweak, you di say yourself in this comment https://github.com/livecode/livecode/pull/3861#issuecomment-206918583 that you wanted to make a more radical change. Such things are bound to take more time and involve more discussion. Perhaps if you could articulate what difficulties you are having with conducting that discussion on the pull request itself, we can find a way to overcome it. On Wed, Apr 13, 2016 at 1:55 PM Mike Kerner wrote: > I'm done. I have better things to do than fight through trying to help > everybody by making the docs better. Have a look at send and the attempts > to clarify what it does and how it works, and if afterward you want a go at > it, go for it. What looks at first glance like a tweak turns out to be a > hornet's nest that still isn't done. If I have realized anything in the > last 24 hours it's a) Github is completely the wrong tool to use for > documentation. We should be using a wiki or something similar. The > complexity that git adds does not make this better. If the goal was to > open the documentation so that the team can spend less time working on it, > and so the folks who use the tool all the time can improve it, then making > updating the docs this difficult is not going to do that. b) Trying to > keep all the branches straight, and the complexity this adds is only going > to make it more difficult, still. > > On Wed, Apr 13, 2016 at 3:16 AM, Ali Lloyd wrote: > > > I think the problem with in those two entries is that > clipboard > > (property) is in the references, but it there is no clipboard property, > > only a clipboard function. So removing that from the references should > fix > > it. > > > > On Wed, Apr 13, 2016 at 6:57 AM J. Landman Gay > > > wrote: > > > > > On 4/13/2016 12:51 AM, Monte Goulding wrote: > > > > > > > >> On 13 Apr 2016, at 3:47 PM, J. Landman Gay > > > >> wrote: > > > >> > > > >>> That must be a bug with the dictionary as is > > > >>> rendering fine on the clipboardData. Can you report that? > > > >> > > > >> It's a markdown issue I was thinking Mark Smith might want to > > > >> tackle, since it's part of the community docs we're trying to edit. > > > >> If he doesn't, then I'll try it. > > > > > > > > I can?t see anything different between the use in the summary of > > > > in the clipboardData and the fullClipboadData so I don?t > > > > think it is markdown related but I could be wrong. > > > > > > Yeah, I was just looking at it again and I think you're right. I'll > > > report it. > > > > > > -- > > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > > HyperActive Software | http://www.hyperactivesw.com > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at 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 at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Apr 13 10:42:00 2016 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 13 Apr 2016 07:42:00 -0700 Subject: Volunteer github guru for documentation submissions? In-Reply-To: References: Message-ID: <570E5AB8.7040109@fourthworld.com> Mike Kerner wrote: > I'm done. I have better things to do than fight through trying to > help everybody by making the docs better. Have a look at send and > the attempts to clarify what it does and how it works, and if > afterward you want a go at it, go for it. What looks at first glance > like a tweak turns out to be a hornet's nest that still isn't done. Writing good docs is hard work. We used to see a lot of "If they just..." comments here about the docs, but the more we participate the more we can appreciate firsthand that writing good documentation is no more trivial a task than writing good code. I appreciate your effort in giving it a go, and there's no blame in taking a break from it, even if the break becomes a permanent one. Contributions from the community are very valuable, but not an obligation. The most important task any of us can do is to make great software with LiveCode and let others know how LiveCode helped you do it. Anything beyond that is appreciated, but not required. > If I have realized anything in the last 24 hours it's a) Github is > completely the wrong tool to use for documentation. We should be > using a wiki or something similar. The complexity that git adds does > not make this better. If the goal was to open the documentation so > that the team can spend less time working on it, and so the folks who > use the tool all the time can improve it, then making updating the > docs this difficult is not going to do that. b) Trying to keep all > the branches straight, and the complexity this adds is only going > to make it more difficult, still. In some ways Github is like what Winston Churchill said about democracy: Indeed it has been said that democracy is the worst form of government except for all those other forms that have been tried from time to time. As I used to write here on this list, software development happened before Github, and it will continue to happen after Github. Its UI/UX is horrifyingly opaque, designed in a fit of Dunning-Kruger Effect by people with IQs north of 180 who are apparently impatient with anyone working in a more normal range. But over time I've come to recognize that it's the world's leading choice for collaborative software development. It's no magic pony, but then again magic ponies don't exist. We might even say it's a mess, but millions of project managers have found it less messy than the alternatives. Wikis definitely simplify input, but are far less flexible with output. If you're producing a web site they're often an excellent choice, but LC docs need to be exportable for local install, something the malleability of Markdown offers in spades but can be very difficult to do with a tool dependent on LAMP. And wikis don't handle code at all, while Git provides a single set of tools for everything that comprises LiveCode. One of the strengths of Git is also one of the sources of frustration here: support for multiple branches. Warts and all, Git is recognized by even people who dislike it as excelling at that aspect of collaborative workflows more than any other tool. Branching and many other useful features of Git do indeed add complexity. But projects requiring branching are complex in themselves, and it allows that complexity to be isolated. For relatively trivial projects branching may not unimportant, perhaps even distracting. But today's LiveCode code base, needing to isolate the broad scope of changes in v6 and v7 on the way to v8, would not likely have been possible without it. Maybe this is an opportunity to raise the bar, for both Git and LiveCode, to serve our own needs while showing the world how awesome LiveCode is: Many years ago Ken Ray made a marvelous stack called Revzilla, a LiveCode plugin that served as a front-end to Bugzilla. At the time many found Bugzilla's cumbersome UI off-putting, and Revzilla provided a way to submit and review bug requests that was much simpler and more convenient. (I don't think it's been maintained through the last two rounds of LC's Bugzilla overhaul, but FWIW Revzilla can be downloaded here: ) I wonder if the power and flexibility of LiveCode could be applied to making a front-end for working with LiveCode documentation. It would of course be ideal if the core dev team had time for that, but looking at the queue of things I'd like them to do and things others want them to do I can't say I'd want that to be a priority for them. And ideally it needn't be. After all, the one thing we know about the LiveCode community is that everyone in it knows how to program in LiveCode. I could contribute to such a project, but I have to be realistic about time commitments and admit that I can't take a lead role on that. But just maybe someone here has the intersection of time, skills, and interest to consider it. If so, I'd be happy to help where I can. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From MikeKerner at roadrunner.com Wed Apr 13 11:07:50 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 13 Apr 2016 11:07:50 -0400 Subject: Volunteer github guru for documentation submissions? In-Reply-To: <570E5AB8.7040109@fourthworld.com> References: <570E5AB8.7040109@fourthworld.com> Message-ID: The process for modifying code and the process for modifying documentation should be different. Git, maybe intentionally, makes it difficult for people to work together on documents. One of the things that Ali and I ran into is that he cannot easily make changes to my changes because that's not the way git is designed. So, if I have something I screwed up (like some of the tags), his only option is to write a missive about it. A few hundred words later, and he has spend a lot of time writing, but I don't understand so a few hundred words more, and I think I understand what he is saying, so I make a change but something else is messed up and so we go back and forth and all we have manged to do is write a lot of words but not fix anything. And I'm in the wrong branch. I won't be the only person to do that, either. If git is going to be the tool, then there needs to be a pre-tool. If that pre-tool is a mailing list, then so be it. I'll send my last version of send, and y'all can have at it, if you choose. On Wed, Apr 13, 2016 at 10:42 AM, Richard Gaskin wrote: > Mike Kerner wrote: > > I'm done. I have better things to do than fight through trying to >> help everybody by making the docs better. Have a look at send and >> the attempts to clarify what it does and how it works, and if >> afterward you want a go at it, go for it. What looks at first glance >> like a tweak turns out to be a hornet's nest that still isn't done. >> > > Writing good docs is hard work. We used to see a lot of "If they just..." > comments here about the docs, but the more we participate the more we can > appreciate firsthand that writing good documentation is no more trivial a > task than writing good code. > > I appreciate your effort in giving it a go, and there's no blame in taking > a break from it, even if the break becomes a permanent one. > > Contributions from the community are very valuable, but not an > obligation. The most important task any of us can do is to make great > software with LiveCode and let others know how LiveCode helped you do it. > Anything beyond that is appreciated, but not required. > > > If I have realized anything in the last 24 hours it's a) Github is >> completely the wrong tool to use for documentation. We should be >> using a wiki or something similar. The complexity that git adds does >> not make this better. If the goal was to open the documentation so >> that the team can spend less time working on it, and so the folks who >> use the tool all the time can improve it, then making updating the >> docs this difficult is not going to do that. b) Trying to keep all >> the branches straight, and the complexity this adds is only going >> to make it more difficult, still. >> > > In some ways Github is like what Winston Churchill said about democracy: > > Indeed it has been said that democracy is the worst > form of government except for all those other forms > that have been tried from time to time. > > As I used to write here on this list, software development happened before > Github, and it will continue to happen after Github. Its UI/UX is > horrifyingly opaque, designed in a fit of Dunning-Kruger Effect by people > with IQs north of 180 who are apparently impatient with anyone working in a > more normal range. > > But over time I've come to recognize that it's the world's leading choice > for collaborative software development. > > It's no magic pony, but then again magic ponies don't exist. > > We might even say it's a mess, but millions of project managers have found > it less messy than the alternatives. > > Wikis definitely simplify input, but are far less flexible with output. > If you're producing a web site they're often an excellent choice, but LC > docs need to be exportable for local install, something the malleability of > Markdown offers in spades but can be very difficult to do with a tool > dependent on LAMP. And wikis don't handle code at all, while Git provides > a single set of tools for everything that comprises LiveCode. > > One of the strengths of Git is also one of the sources of frustration > here: support for multiple branches. Warts and all, Git is recognized by > even people who dislike it as excelling at that aspect of collaborative > workflows more than any other tool. > > Branching and many other useful features of Git do indeed add complexity. > But projects requiring branching are complex in themselves, and it allows > that complexity to be isolated. > > For relatively trivial projects branching may not unimportant, perhaps > even distracting. But today's LiveCode code base, needing to isolate the > broad scope of changes in v6 and v7 on the way to v8, would not likely have > been possible without it. > > > Maybe this is an opportunity to raise the bar, for both Git and LiveCode, > to serve our own needs while showing the world how awesome LiveCode is: > > > Many years ago Ken Ray made a marvelous stack called Revzilla, a LiveCode > plugin that served as a front-end to Bugzilla. At the time many found > Bugzilla's cumbersome UI off-putting, and Revzilla provided a way to submit > and review bug requests that was much simpler and more convenient. > > (I don't think it's been maintained through the last two rounds of LC's > Bugzilla overhaul, but FWIW Revzilla can be downloaded here: > ) > > I wonder if the power and flexibility of LiveCode could be applied to > making a front-end for working with LiveCode documentation. > > It would of course be ideal if the core dev team had time for that, but > looking at the queue of things I'd like them to do and things others want > them to do I can't say I'd want that to be a priority for them. > > And ideally it needn't be. After all, the one thing we know about the > LiveCode community is that everyone in it knows how to program in LiveCode. > > I could contribute to such a project, but I have to be realistic about > time commitments and admit that I can't take a lead role on that. > > But just maybe someone here has the intersection of time, skills, and > interest to consider it. > > If so, I'd be happy to help where I can. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Wed Apr 13 11:09:17 2016 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 13 Apr 2016 11:09:17 -0400 Subject: Volunteer github guru for documentation submissions? In-Reply-To: References: <570E5AB8.7040109@fourthworld.com> Message-ID: Name: send Type: command Syntax: send [ to [in