From ambassador at fourthworld.com Sat Sep 1 00:44:25 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 31 Aug 2018 21:44:25 -0700 Subject: How to get word offset all instances of a string in a chunk of text? In-Reply-To: References: Message-ID: Mike Kerner wrote: > Since the topic of processes came up a few weeks ago I've been > thinking about what it would take to build a process/threading > framework. I wonder if a text processing subprocessor, written > and copiled... I haven't yet come across good use cases for the desktop, but will have a need for multiprocessing on Linux servers later this year. > ... in 6 would be worth everyone's time. That would be a non-starter for me. I use LSON data a lot and the format changed with v7, a lot of things with text have changed, and given the hundreds of bug fixes between then and now I prefer to work with the current version. -- 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 smaclean at madmansoft.com Sat Sep 1 00:48:44 2018 From: smaclean at madmansoft.com (Stephen MacLean) Date: Sat, 1 Sep 2018 00:48:44 -0400 Subject: Searching for a word when it's more than one word Message-ID: Hi All, First, followed Keith Clarke?s thread and got a lot out of it, thank you all. That?s gone into my code snippets! Now I know, the title is not technically true, if it?s 2 words, they are distinct and different. Maybe it?s because I?ve been banging my head against this and some other things too long and need to step back, but I?m having issues getting this all to work reliably. I?m searching for town names in various text from a list of towns . Most names are one word, easy to find and count. Some names are 2 or 3 words, like East Hartford or West Palm Beach. Those go against distinct towns like Hartford and Palm Beach. Others have their names inside of other town names like Colchester and Chester. "is among the words of? or "is among the trueWords of? works great to find single words, but only works on single words and doesn?t consider ?Chester?s? to be ?Chester?, it isn't. ?is in? works great for finding multiple words like ?East Hartford? and "West Palm Beach", finds ?Chester? in ?Chester?s? but also finds ?chester? in ?Colchester?. At this point, I?ve been using different methods for single word towns vs multi-word towns and while generally effective, trying to accommodate for these and other oddities has made it a complete mess of code. If someone has done something similar, or can point me in the right direction, it would be greatly appreciated. TIA, Steve MacLean From brian at milby7.com Sat Sep 1 02:35:22 2018 From: brian at milby7.com (Brian Milby) Date: Sat, 1 Sep 2018 01:35:22 -0500 Subject: Mobile Rotation Redux In-Reply-To: References: Message-ID: As I like to do, I decided to really over-do the demo test stacks. The one I mentioned initially is: https://milby.us/lc/RotationDemo.livecode The one I just finished working on does a bit more: https://milby.us/lc/MobileDemo.livecode I built both to test resizeStack and rotation on Android. I only have a 5" Fire, so I only was able to test on one device. The first stack is just a log field and a browser widget. Nothing special, but it does log the rect every time a resize happens (rotation). When the app opens, you will notice the rect of the stack is the one from the desktop version. It is saved at 320x480 on purpose to ensure that just about every device will need to resize it. The second stack also is built at 320x480. That one does a couple of things. Depending on the screen width, the buttons are either in a single row or two rows for each group. The first group sets the FullScreenMode (FSM) of the stack. The stack will store the last mode set and restore that mode when relaunching (I got that idea from the other thread). The second group will set the size of the stack. Those buttons only have an effect if one of the FSMs is in use (i.e. not "empty"). The currently active mode and size are outlined in red. The stack rect is outlined in red with a Cantaloupe background fill. The screen rect is outlined in green with a Mocha fill (only visible in "showAll" mode). On my device, I used a 200ms delay to adjust the screen rect graphic when changing orientation. I could probably take it down a little bit more. If your device is slower on the rotate and that rect does not adjust, you can lay the device flat (face up) and it should notice the change and fix it. I did not attempt to use any of the new messages for FSM rotation so everything gets really small when you rotate while using a FSM. (In my mind the two really don't go together - The stack initially will launch with FSM empty which means that it will fill the screen. The rect does get set to the effective working screenrect automatically, but I noticed some strangeness when moving to another mode. To address that issue on my device, I manually changed the stack rect to 320x480 and then back to the effective working screenrect. That seems to allow changing to other modes without difficulty. What is it good for? Two things. First is to test messages on various devices. Specifically to see when the new rect is available and what the device thinks various rects are. Second is an interactive test of how FSM will adjust a stack on a device. When you select a mode, it will resize the stack to the native resolution of the device. The size buttons can then be used to set the size that you would be developing the stack in. I've used the default iPhone/iPad sizes to provide a sample, but they can be changed without too much difficulty (names would need to be changed in the code, but the 5 size button labels can be changed independently without needing to update the code). In the other thread (actually the start of it), there was a question about how to get a background object to fill the screen in FSM. The mocha/green object is the one that does that here. To see the effect, use the "showAll" mode and select the iPad size. On the 5" Fire, everything is really small at that size. It becomes quite obvious when you rotate since much of the screen space is "extra". Hope it is helpful for someone. I had fun making it as my first stab at Android work. Brian On Fri, Aug 31, 2018 at 1:26 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 8/30/18 8:46 PM, Brian Milby via use-livecode wrote: > > I'll post the stack file if anyone wants to see it. On the one Android > > device I have available it works correctly. Resizestack handlers fire > > correctly. So I guess I need to find something with a later OS to test > > against to see the problems others are seeing on the Android side. > > Sure, post the stack and I'll take a look on a couple of different > Android devices. > > For the record, I haven't had any problems on Android with resizeStack > or the various rects either. I don't remember exactly, but I seem to > recall the reported problems were with a stack that uses fullscreenMode, > where resizeStack isn't sent (unless > mobileSetFullScreenRectForOrientations is used.) > > -- > 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 keith.clarke at me.com Sat Sep 1 04:32:24 2018 From: keith.clarke at me.com (Keith Clarke) Date: Sat, 01 Sep 2018 09:32:24 +0100 Subject: Searching for a word when it's more than one word In-Reply-To: References: Message-ID: <0ADC31EC-9177-412B-9013-1BAAB157CB05@me.com> Very interesting Steve, your use case is actually very close to what I?m trying to achieve, which is to identify keywords and phrases within a corpus of text - think prioritised ?tag cloud? metadata. My original plan (as a non-programmer) was to identify the most popular unique words within the corpus and then go back in to find the words either side and check their popularity, etc. However, from what I?ve learned here, my current pseudo-logic is: 1. Parse the whole source into 1, 2, 3 and 4 trueWord chunks (ideally in one pass but I?m still struggling with my array learning curve, so probably via lists & fields so I can see my workings) 2. Remove lines containing noise words and any punctuation that would, by definition terminate the keyword/phrase 3. Count & deduplicate the remaining lines 4. Sense-check against a ?current keywords? list (which appears to resonate with your town names problem?) From the unique words results I?ve found, I also note issues around singular/plural, synonyms, alternative spelling, etc. - which speak to ?fuzzy logic? or dare one mention NLP (as inNatural Language Processing) capabilities. I wonder if anyone has experimented with LiveCode accessing / using any libraries for this kind of language processing - probably another Pandora?s box containing infinity + 1 cans of worms! :-) Back to basics, I?ll share my workings as I blunder forward and would welcome any insights the community experts have to offer. Best, Keith > On 1 Sep 2018, at 05:48, Stephen MacLean via use-livecode wrote: > > Hi All, > > First, followed Keith Clarke?s thread and got a lot out of it, thank you all. That?s gone into my code snippets! > > Now I know, the title is not technically true, if it?s 2 words, they are distinct and different. Maybe it?s because I?ve been banging my head against this and some other things too long and need to step back, but I?m having issues getting this all to work reliably. > > I?m searching for town names in various text from a list of towns . Most names are one word, easy to find and count. Some names are 2 or 3 words, like East Hartford or West Palm Beach. Those go against distinct towns like Hartford and Palm Beach. Others have their names inside of other town names like Colchester and Chester. > > "is among the words of? or "is among the trueWords of? works great to find single words, but only works on single words and doesn?t consider ?Chester?s? to be ?Chester?, it isn't. > > ?is in? works great for finding multiple words like ?East Hartford? and "West Palm Beach", finds ?Chester? in ?Chester?s? but also finds ?chester? in ?Colchester?. > > At this point, I?ve been using different methods for single word towns vs multi-word towns and while generally effective, trying to accommodate for these and other oddities has made it a complete mess of code. > > If someone has done something similar, or can point me in the right direction, it would be greatly appreciated. > > TIA, > > Steve MacLean > From richmondmathewson at gmail.com Sat Sep 1 05:26:17 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 1 Sep 2018 12:26:17 +0300 Subject: Deleting a char inside a textField via code In-Reply-To: <07b4a098-2a02-7c73-c598-a4fb85f12a06@researchware.com> References: <07b4a098-2a02-7c73-c598-a4fb85f12a06@researchware.com> Message-ID: What is unfortunate is that these "possibilities" are not possible: delete before the selectedText delete after the selectedText and THIS works ONLY when some text is selected (rather than before the insertion point): delete the selectedText there seems to be no obvious way to work out what the character before the insertion point is. While it is perfectly possible to do something like this: select before char 15 of fld "myText" it does not seem possible to do something like this: put the selected and get "before char 15" What I am looking for (just in case it seems obscure) is how to delete the char just before the insertion point without having to touch the delete key on my keyboard. Richmond. On 31/8/2018 9:30 pm, Paul Dupuis via use-livecode wrote: > If you want to delete the last characters by script, why not something like: > > delete last char of fld X > > Or a more complex version might be > > put the selectedChunk into tWhere > put word 2 of tWhere into tStart -- staring char position of the cursor > put word 4 of tWhere into tEnd -- ending char position of the cursor > if tStart > tEnd then -- just an insertion point > delete char tEnd of field X -- delete the character just before the > insertion point > else -- some field content is selected, so > delete char tStart to tEnd of fld X -- delete the selected field content > end if > > I did this from memory, so check the dictionary for the exact > expressions returned by the selectedChunk function., > > On 8/31/2018 1:57 PM, Richmond Mathewson via use-livecode wrote: >> Digging further . . . >> >> I found out that the problem appearas: >> >> 1. NOT to be with LiveCode. >> >> 2. NOT to be with MacOS. >> >> Because using a font other than my one works well. >> >> So? >> >> What hidden aspects of my Devawriter.ttf font are gumming up the works? >> >> Richmond. >> >> On 31/8/2018 6:44 pm, Richmond Mathewson wrote: >>> Normally, if one were typing into a textField and made a mistake one >>> would hit the back delete key >>> and the mistake would vanish. >>> >>> How does one do this "programmatically"? >>> >>> Here's the (admittedly odd scenario): >>> >>> Unicode behaves inconsistently in various marginal cases with >>> Devanagari script, >>> and what happens is that the first time one sends this: >>> >>> put numToCodePoint(7418) after the selectedText >>> >>> one ends up with a useless square. >>> >>> But if one does this: >>> >>> put numToCodePoint(7418) after the selectedText >>> put numToCodePoint(7418) after the selectedText >>> >>> one ends up with the useless square PRECEDED by the target glyph. >>> >>> So, the 'clever' work around might be to do this: >>> >>> put numToCodePoint(7418) after the selectedText >>> put numToCodePoint(7418) after the selectedText >>> >>> followed by deleting the useless square >>> >>> However doing this: >>> >>> put numToCodePoint(65288) after the selectedText >>> >>> results in another useless square. >>> >>> 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 >> > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sat Sep 1 05:35:05 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 1 Sep 2018 12:35:05 +0300 Subject: Deleting a char inside a textField via code In-Reply-To: <07b4a098-2a02-7c73-c598-a4fb85f12a06@researchware.com> References: <07b4a098-2a02-7c73-c598-a4fb85f12a06@researchware.com> Message-ID: <6a471199-1f71-c468-4dbf-d5a71b1989db@gmail.com> Not much help forthcoming around these parts: so: Diddit masen: *on mouseUp** ** put the selectedChunk into CHK** ** put word 4 of CHK into NUMERO** ** delete char NUMERO of fld "ff"** **end mouseUp* muffled rude noises. Richmond. From mark at livecode.com Sat Sep 1 05:59:04 2018 From: mark at livecode.com (Mark Waddingham) Date: Sat, 01 Sep 2018 11:59:04 +0200 Subject: Searching for a word when it's more than one word In-Reply-To: References: Message-ID: <0c5255fa040956d1e902078b97ba3314@livecode.com> On 2018-09-01 06:48, Stephen MacLean via use-livecode wrote: > Hi All, > > First, followed Keith Clarke?s thread and got a lot out of it, thank > you all. That?s gone into my code snippets! > > Now I know, the title is not technically true, if it?s 2 words, they > are distinct and different. Maybe it?s because I?ve been banging my > head against this and some other things too long and need to step > back, but I?m having issues getting this all to work reliably. > > I?m searching for town names in various text from a list of towns . > Most names are one word, easy to find and count. Some names are 2 or 3 > words, like East Hartford or West Palm Beach. Those go against > distinct towns like Hartford and Palm Beach. Others have their names > inside of other town names like Colchester and Chester. So the problem you are trying to solve sounds like this: Given a source text TEXT, and a list of multi-word phrases PHRASES, find the longest elements of PHRASES which occur in TEXT when reading from left to right. One way to do this is to preprocess the source TEXT and PHRASES, and then iterate over it with back-tracking attempting to match each phrase in the list. Preprocessing can be done like this: // pText is arbitrary language text, where it presumed 'trueWord' will extract // the words we can match against those in PHRASES command preprocessText pText, @rWords local tWords repeat for each trueWord tWord in pText -- normalize word variants - e.g. turn Chester's into Chester if tWord ends with "'s" then put char 1 to -3 of tWord into tWord else if ... then ... else if ... then ... end if put tWord into tWords[the number of elements in tWords + 1] end repeat put tWords into rWords end preprocessText This gives a sequence of words, in order - where word variants have been normalized to the 'root' word (the general operation here is called 'stemming' - in your case as you are dealing with fragments of proper nouns - 's / s suffixes are probably good enough). The processing for PHRASES is needed to ensure that they all follow a consistent form: // pPhrases is presumed to be a return-delimited list of phrases command preprocessPhrases pPhrases, @rPhrases -- We accumulate phrases as the keys of tPhrasesA to eliminate duplicates local tPhrasesA put empty into tPhrasesA local tPhrases repeat for each line tPhrase in pPhrases local tPhrase put empty into tPhrase repeat for each trueWord tWord in tPhrase put tWord & space after tPhrase end repeat delete the last char of tPhrase put true into tPhrasesA[tPhrase] end repeat put the keys of tPhrasesA into rPhrases end preprocessPhrases This produces a return-delimited list of phrases, where the individual words in each phrase are separated by a *single* space with all punctuation stripped, and no phrase appears twice. With this pre-processing (not the PHRASES pre-processing only needs to be done once for any set of PHRASES to match). A naive search algorithm would be: // pText should be a sequence array of words to search (we use an array here because we need fast random access) // pPhrases should be a line delimited string-list of multi-word phrases to find // rMatches will be a string-list of phrases which have been found command searchTextForPhrases pText, pPhrases, @rMatches local tMatchesA put empty into tMatchesA -- Our phrases are single-space delimited, so set the item delimiter set the itemDelimiter to space -- Loop through pText, by default we bump tIndex by one each time -- however, if a match is found, then we can skip the words constituting -- the matched phrase. local tIndex put 1 into tIndex repeat until pText[tIndex] is empty -- Store the current longest match we have found starting at tIndex local tCurrentMatch put empty into tCurrentMatch -- Check each phrase in turn for a match. repeat for each line tPhrase in pPhrases -- Assume a match succeeds until it doesn't local tPhraseMatched put true into tPhraseMatched -- Iterate through the items (words) in each phrase, if the sequence of -- words in the phrase is not the same as the sequence of words in the text -- starting at tIndex, then tPhraseMatched will be false on exit of the loop. local tSubIndex put tIndex into tSubIndex repeat for each item tWord in tPhrase -- Failure to match the word at tSubIndex is failure to match the phrase if pText[tSubIndex] is not tWord then put false into tPhraseMatched exit repeat end if -- The current word of the phrase matches, so move to the nbext add 1 to tSubIndex end repeat -- We are only interested in the longest match at any point, so only update -- the current match if it is longer. if tPhraseMatched and the number of items in tPhrase > the number of items in tCurrentMatch then put tPhrase into tCurrentMatch end if end repeat -- If a match was found, then we have used up those words in pText, otherwise -- we start the search again at the next word in pText. if tCurrentMatch is not empty then add the number of items in tCurrentMatch to tIndex put true into tMatchesA[tCurrentMatch] else add 1 to tIndex end if end repeat -- At this point, the matched phrases are simply the keys of tMatchesA put the keys of tMatchesA into rMatches end searchTextForPhrases Complexity wise, the above requires roughly N*M steps - where N is the number of words in pText, M is the number of words in pPhrases. An immediate improvement can be made by sorting pPhrases descending by the number of items - this then eliminates the need to check phrase match length - the first match will always be the longest meaning once you have matched, you don't need to keep iterating through the phrases. ... put the keys of tPhrasesA into rPhrases sort lines of rPhrases numeric descending by the number of items in each end preprocessPhrases ... -- We are only interested in the longest match at any point, so only update -- the current match if it is longer. if tPhraseMatched then put tPhrase into tCurrentMatch exit repeat end if end repeat There's a lot more that can be done here to make the above a great deal more efficient (algorithmically-wise). Indeed, the best you can achieve is probably N*K steps for a source text containing N words - where K is the maximum difference in length between any two phrases which share a common prefix. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From richmondmathewson at gmail.com Sat Sep 1 06:05:54 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 1 Sep 2018 13:05:54 +0300 Subject: Searching for a word when it's more than one word In-Reply-To: <0c5255fa040956d1e902078b97ba3314@livecode.com> References: <0c5255fa040956d1e902078b97ba3314@livecode.com> Message-ID: <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> Obviously, when considering names of places such as Colchester, Rochester and Chester one has to search for the longer names first and exclude them from later searches. Richmond. On 1/9/2018 12:59 pm, Mark Waddingham via use-livecode wrote: > On 2018-09-01 06:48, Stephen MacLean via use-livecode wrote: >> Hi All, >> >> First, followed Keith Clarke?s thread and got a lot out of it, thank >> you all. That?s gone into my code snippets! >> >> Now I know, the title is not technically true, if it?s 2 words, they >> are distinct and different. Maybe it?s because I?ve been banging my >> head against this and some other things too long and need to step >> back, but I?m having issues getting this all to work reliably. >> >> I?m searching for town names in various text from a list of towns . >> Most names are one word, easy to find and count. Some names are 2 or 3 >> words, like East Hartford or West Palm Beach. Those go against >> distinct towns like Hartford and Palm Beach. Others have their names >> inside of other town names like Colchester and Chester. > > So the problem you are trying to solve sounds like this: > > Given a source text TEXT, and a list of multi-word phrases PHRASES, > find the longest elements of PHRASES which occur in TEXT when reading > from left to right. > > One way to do this is to preprocess the source TEXT and PHRASES, and > then iterate over it with back-tracking attempting to match each > phrase in the list. > > Preprocessing can be done like this: > > // pText is arbitrary language text, where it presumed 'trueWord' > will extract > // the words we can match against those in PHRASES > command preprocessText pText, @rWords > local tWords > repeat for each trueWord tWord in pText > -- normalize word variants - e.g. turn Chester's into Chester > if tWord ends with "'s" then > put char 1 to -3 of tWord into tWord > else if ... then > ... > else if ... then > ... > end if > put tWord into tWords[the number of elements in tWords + 1] > end repeat > put tWords into rWords > end preprocessText > > This gives a sequence of words, in order - where word variants have > been normalized to the 'root' word (the general operation here is > called 'stemming' - in your case as you are dealing with fragments of > proper nouns - 's / s suffixes are probably good enough). > > The processing for PHRASES is needed to ensure that they all follow a > consistent form: > > // pPhrases is presumed to be a return-delimited list of phrases > command preprocessPhrases pPhrases, @rPhrases > -- We accumulate phrases as the keys of tPhrasesA to eliminate > duplicates > local tPhrasesA > put empty into tPhrasesA > > local tPhrases > repeat for each line tPhrase in pPhrases > local tPhrase > put empty into tPhrase > repeat for each trueWord tWord in tPhrase > put tWord & space after tPhrase > end repeat > delete the last char of tPhrase > put true into tPhrasesA[tPhrase] > end repeat > > put the keys of tPhrasesA into rPhrases > end preprocessPhrases > > This produces a return-delimited list of phrases, where the individual > words in each phrase are separated by a *single* space with all > punctuation stripped, and no phrase appears twice. > > With this pre-processing (not the PHRASES pre-processing only needs to > be done once for any set of PHRASES to match). A naive search > algorithm would be: > > // pText should be a sequence array of words to search (we use an > array here because we need fast random access) > // pPhrases should be a line delimited string-list of multi-word > phrases to find > // rMatches will be a string-list of phrases which have been found > command searchTextForPhrases pText, pPhrases, @rMatches > local tMatchesA > put empty into tMatchesA > > -- Our phrases are single-space delimited, so set the item delimiter > set the itemDelimiter to space > > -- Loop through pText, by default we bump tIndex by one each time > -- however, if a match is found, then we can skip the words > constituting > -- the matched phrase. > local tIndex > put 1 into tIndex > repeat until pText[tIndex] is empty > -- Store the current longest match we have found starting at tIndex > local tCurrentMatch > put empty into tCurrentMatch > > -- Check each phrase in turn for a match. > repeat for each line tPhrase in pPhrases > -- Assume a match succeeds until it doesn't > local tPhraseMatched > put true into tPhraseMatched > > -- Iterate through the items (words) in each phrase, if the > sequence of > -- words in the phrase is not the same as the sequence of > words in the text > -- starting at tIndex, then tPhraseMatched will be false on > exit of the loop. > local tSubIndex > put tIndex into tSubIndex > repeat for each item tWord in tPhrase > -- Failure to match the word at tSubIndex is failure to > match the phrase > if pText[tSubIndex] is not tWord then > put false into tPhraseMatched > exit repeat > end if > > -- The current word of the phrase matches, so move to the nbext > add 1 to tSubIndex > end repeat > > -- We are only interested in the longest match at any point, > so only update > -- the current match if it is longer. > if tPhraseMatched and the number of items in tPhrase > the > number of items in tCurrentMatch then > put tPhrase into tCurrentMatch > end if > end repeat > > -- If a match was found, then we have used up those words in > pText, otherwise > -- we start the search again at the next word in pText. > if tCurrentMatch is not empty then > add the number of items in tCurrentMatch to tIndex > put true into tMatchesA[tCurrentMatch] > else > add 1 to tIndex > end if > end repeat > > -- At this point, the matched phrases are simply the keys of > tMatchesA > put the keys of tMatchesA into rMatches > end searchTextForPhrases > > Complexity wise, the above requires roughly N*M steps - where N is the > number of words in pText, M is the number of words in pPhrases. > > An immediate improvement can be made by sorting pPhrases descending by > the number of items - this then eliminates the need to check phrase > match length - the first match will always be the longest meaning once > you have matched, you don't need to keep iterating through the phrases. > > ... > put the keys of tPhrasesA into rPhrases > sort lines of rPhrases numeric descending by the number of items > in each > end preprocessPhrases > > ... > -- We are only interested in the longest match at any point, so > only update > -- the current match if it is longer. > if tPhraseMatched then > put tPhrase into tCurrentMatch > exit repeat > end if > end repeat > > There's a lot more that can be done here to make the above a great > deal more efficient (algorithmically-wise). Indeed, the best you can > achieve is probably N*K steps for a source text containing N words - > where K is the maximum difference in length between any two phrases > which share a common prefix. > > Warmest Regards, > > Mark. > From mark at livecode.com Sat Sep 1 06:29:04 2018 From: mark at livecode.com (Mark Waddingham) Date: Sat, 01 Sep 2018 12:29:04 +0200 Subject: Searching for a word when it's more than one word In-Reply-To: <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> Message-ID: <88397dd52966e8973eed5c7e2a87e267@livecode.com> On 2018-09-01 12:05, Richmond Mathewson via use-livecode wrote: > Obviously, when considering names of places such as Colchester, > Rochester and Chester one has > to search for the longer names first and exclude them from later > searches. The 'substring' problem (i.e. Chester being 'in' Rochester) isn't relevant in the above algorithm because we are 'tokenising' input and phrases - essentially changing the alphabet. i.e. "Rochester Chester Colchester" is turned into ABC, and we match A, B or C as atomic units. I should perhaps point out that the 'processText' operation probably needs to be a little better in practice - to at least include a 'stop' token for punctuation. For example: "The man walked starting from East Hartford, West Hartford could be seen in the distance." In the case where 'Hartford West' and 'Hartford' are the 'known' towns (and not 'East Hartford') - the proposed tokenization would result in: The,man,walked,starting,from,East,Hartford,West,Hartford,could,be,seen,in,the,distance Which means you'd get "Hartford West" and "Hartford" - when you should only get "Hartford" (assuming you care about the linguistic structure of the text, at least). Indeed, the above actually means in preprocessing the text, you can actually vastly reduce the number of words to search - any sequences of words which aren't in any pharse (or important punctuation) can be replaced by "*" say. So the above would become: *,East,Hartford,*,West,Hartford,* The "*" tokens block matching multi-word phrases. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From richmondmathewson at gmail.com Sat Sep 1 06:35:43 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 1 Sep 2018 13:35:43 +0300 Subject: Searching for a word when it's more than one word In-Reply-To: <88397dd52966e8973eed5c7e2a87e267@livecode.com> References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> <88397dd52966e8973eed5c7e2a87e267@livecode.com> Message-ID: <12e0cd15-2b2b-0247-308b-644d706ab2e6@gmail.com> That's because you lot tend to use a silver teaspoon while I tend to use a great big shovel: https://www.dropbox.com/s/00t8oftb1ydm8ni/Text%20analyzer%20X.livecode.zip?dl=0 Richmond. On 1/9/2018 1:29 pm, Mark Waddingham via use-livecode wrote: > On 2018-09-01 12:05, Richmond Mathewson via use-livecode wrote: >> Obviously, when considering names of places such as Colchester, >> Rochester and Chester one has >> to search for the longer names first and exclude them from later >> searches. > > The 'substring' problem (i.e. Chester being 'in' Rochester) isn't > relevant in the above algorithm because we are 'tokenising' input and > phrases - essentially changing the alphabet. > > i.e. "Rochester Chester Colchester" is turned into ABC, and we match > A, B or C as atomic units. > > I should perhaps point out that the 'processText' operation probably > needs to be a little better in practice - to at least include a 'stop' > token for punctuation. For example: > > "The man walked starting from East Hartford, West Hartford could be > seen in the distance." > > In the case where 'Hartford West' and 'Hartford' are the 'known' towns > (and not 'East Hartford') - the proposed tokenization would result in: > > The,man,walked,starting,from,East,Hartford,West,Hartford,could,be,seen,in,the,distance > > Which means you'd get "Hartford West" and "Hartford" - when you should > only get "Hartford" (assuming you care about the linguistic structure > of the text, at least). > > Indeed, the above actually means in preprocessing the text, you can > actually vastly reduce the number of words to search - any sequences > of words which aren't in any pharse (or important punctuation) can be > replaced by "*" say. So the above would become: > > *,East,Hartford,*,West,Hartford,* > > The "*" tokens block matching multi-word phrases. > > Warmest Regards, > > Mark. > From mark at livecode.com Sat Sep 1 06:45:48 2018 From: mark at livecode.com (Mark Waddingham) Date: Sat, 01 Sep 2018 12:45:48 +0200 Subject: Searching for a word when it's more than one word In-Reply-To: <12e0cd15-2b2b-0247-308b-644d706ab2e6@gmail.com> References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> <88397dd52966e8973eed5c7e2a87e267@livecode.com> <12e0cd15-2b2b-0247-308b-644d706ab2e6@gmail.com> Message-ID: On 2018-09-01 12:35, Richmond Mathewson via use-livecode wrote: > That's because you lot tend to use a silver teaspoon while I tend to > use a great big shovel: > > https://www.dropbox.com/s/00t8oftb1ydm8ni/Text%20analyzer%20X.livecode.zip?dl=0 Heh, great big shovels are great for coarse work - e.g. for the problem of finding occurrences of SINGLE WORD towns in the source text - as you are in your stack. However, in this case, that wasn't what was asked for - the problem was to find multi-word town names with the constraints that first and longest match always wins with no overlap (i.e. as a human would read them): i.e. East Hartford West Palm Beach Colchester Newchester West Chester With a town list of East Hartford Hartford West West Palm Beach Palm Beach Chester West Chester Should return: East Hartford West Palm Beach West Chester Warmest Regards, Mark. P.S. The problem is actually exactly the same - in the single-word case your alphabet are the characters in the language. In the multi-word case, your alphabet is the set of words in all phrases, with a 'stop' word. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From richmondmathewson at gmail.com Sat Sep 1 06:47:49 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 1 Sep 2018 13:47:49 +0300 Subject: Searching for a word when it's more than one word In-Reply-To: <88397dd52966e8973eed5c7e2a87e267@livecode.com> References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> <88397dd52966e8973eed5c7e2a87e267@livecode.com> Message-ID: <50239510-8aa4-d28c-d372-33eca8b36bb6@gmail.com> I can see that the "problem", which my stack does not address, is with 2 or 3 part place names: The Rochester/Chester problem is easily dealt with. While it should be realtively easy to have a subroutine to deal with words such as "West" (after all, there are no places just called "West"), places like a town my parents once lived in called "Haselbury Plucknett" would cause problems. AND, places such as "Ruyton of the Eleven Towns" (https://en.wikipedia.org/wiki/Ruyton-XI-Towns) would really throw a spanner in the works. Come to think of things . . . Unless anyone's code can cope with "Ruyton of the Eleven Towns" it won't stand up: we could even go further and call this the "Ruyton of the Eleven Towns Test". More muffled background noises. Richmond. On 1/9/2018 1:29 pm, Mark Waddingham via use-livecode wrote: > On 2018-09-01 12:05, Richmond Mathewson via use-livecode wrote: >> Obviously, when considering names of places such as Colchester, >> Rochester and Chester one has >> to search for the longer names first and exclude them from later >> searches. > > The 'substring' problem (i.e. Chester being 'in' Rochester) isn't > relevant in the above algorithm because we are 'tokenising' input and > phrases - essentially changing the alphabet. > > i.e. "Rochester Chester Colchester" is turned into ABC, and we match > A, B or C as atomic units. > > I should perhaps point out that the 'processText' operation probably > needs to be a little better in practice - to at least include a 'stop' > token for punctuation. For example: > > "The man walked starting from East Hartford, West Hartford could be > seen in the distance." > > In the case where 'Hartford West' and 'Hartford' are the 'known' towns > (and not 'East Hartford') - the proposed tokenization would result in: > > The,man,walked,starting,from,East,Hartford,West,Hartford,could,be,seen,in,the,distance > > Which means you'd get "Hartford West" and "Hartford" - when you should > only get "Hartford" (assuming you care about the linguistic structure > of the text, at least). > > Indeed, the above actually means in preprocessing the text, you can > actually vastly reduce the number of words to search - any sequences > of words which aren't in any pharse (or important punctuation) can be > replaced by "*" say. So the above would become: > > *,East,Hartford,*,West,Hartford,* > > The "*" tokens block matching multi-word phrases. > > Warmest Regards, > > Mark. > From richmondmathewson at gmail.com Sat Sep 1 06:50:10 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 1 Sep 2018 13:50:10 +0300 Subject: Searching for a word when it's more than one word In-Reply-To: References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> <88397dd52966e8973eed5c7e2a87e267@livecode.com> <12e0cd15-2b2b-0247-308b-644d706ab2e6@gmail.com> Message-ID: <4669634d-010b-5839-2912-975620b9498f@gmail.com> Yup: indeed: fairly coarse. However, see my next posting re "Ruyton of the Eleven Towns" that should make some folk feel that they need a set of sewing needles rather than "just" a silver teaspoon. Richmond. On 1/9/2018 1:45 pm, Mark Waddingham via use-livecode wrote: > On 2018-09-01 12:35, Richmond Mathewson via use-livecode wrote: >> That's because you lot tend to use a silver teaspoon while I tend to >> use a great big shovel: >> >> https://www.dropbox.com/s/00t8oftb1ydm8ni/Text%20analyzer%20X.livecode.zip?dl=0 >> > > Heh, great big shovels are great for coarse work - e.g. for the > problem of finding occurrences of SINGLE WORD towns in the source text > - as you are in your stack. > > However, in this case, that wasn't what was asked for - the problem > was to find multi-word town names with the constraints that first and > longest match always wins with no overlap (i.e. as a human would read > them): > > i.e. East Hartford West Palm Beach Colchester Newchester West Chester > > With a town list of > > East Hartford > Hartford West > West Palm Beach > Palm Beach > Chester > West Chester > > Should return: > > East Hartford > West Palm Beach > West Chester > > Warmest Regards, > > Mark. > > P.S. The problem is actually exactly the same - in the single-word > case your alphabet are the characters in the language. In the > multi-word case, your alphabet is the set of words in all phrases, > with a 'stop' word. > From mark at livecode.com Sat Sep 1 07:05:07 2018 From: mark at livecode.com (Mark Waddingham) Date: Sat, 01 Sep 2018 13:05:07 +0200 Subject: Searching for a word when it's more than one word In-Reply-To: <4669634d-010b-5839-2912-975620b9498f@gmail.com> References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> <88397dd52966e8973eed5c7e2a87e267@livecode.com> <12e0cd15-2b2b-0247-308b-644d706ab2e6@gmail.com> <4669634d-010b-5839-2912-975620b9498f@gmail.com> Message-ID: On 2018-09-01 12:50, Richmond Mathewson via use-livecode wrote: > Yup: indeed: fairly coarse. > > However, see my next posting re "Ruyton of the Eleven Towns" > > that should make some folk feel that they need a set of sewing needles > rather than "just" a silver teaspoon. I think you'll find my 'silver teaspoon' approach (as you put it) deals with all those cases :D Interestingly, as I said, the multi-word match problem can be reduced to your 'shovel' - with pre and post processing. Let's say that the phrase list is: Ruyton of the Eleven Towns East Hartfordshire Colchester Chester First create a mapping from phrase words to individual characters (the choice of character is arbitrary): Ruyton <-> A of <-> B the <-> C Eleven <-> D Towns <-> E East <-> F Hartfordshire <-> G Colchester <-> H Chester <-> I Now iterate through the source text, generating an output source text consisting of words from the new alphabet, and a 'unknown' letter '*'. For example: The man from Ruyton of the Eleven Towns, who is of the order of shovels, travelled from Chester to Colchester via the towns in East Hartfordshire Would become: C**ABCDE**BC*B***I*H**E*FG The original phrase list is processed similarly to give: ABCDE FG H I Searching the transformed source text using your algorithm with the list of transformed phrases would give the correct set of found phrases as required by the original problem. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From richmondmathewson at gmail.com Sat Sep 1 07:15:27 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 1 Sep 2018 14:15:27 +0300 Subject: Searching for a word when it's more than one word In-Reply-To: References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> <88397dd52966e8973eed5c7e2a87e267@livecode.com> <12e0cd15-2b2b-0247-308b-644d706ab2e6@gmail.com> <4669634d-010b-5839-2912-975620b9498f@gmail.com> Message-ID: I've already shovelled Ruyton of the Eleven Towns quite effectively: https://www.dropbox.com/s/n7r7u0c2m9ny3eb/Text%20analyzer%20X.livecode.zip?dl=0 No tokenising, in fact very basic stuff indeed. Not wishing to bang on about over-complcating things . . . . . Probably time for both Thee and Me to get out and get some fresh air before we ruin our weekends. Richmond. On 1/9/2018 2:05 pm, Mark Waddingham via use-livecode wrote: > On 2018-09-01 12:50, Richmond Mathewson via use-livecode wrote: >> Yup: indeed: fairly coarse. >> >> However, see my next posting re "Ruyton of the Eleven Towns" >> >> that should make some folk feel that they need a set of sewing needles >> rather than "just" a silver teaspoon. > > I think you'll find my 'silver teaspoon' approach (as you put it) > deals with all those cases :D > > Interestingly, as I said, the multi-word match problem can be reduced > to your 'shovel' - with pre and post processing. > > Let's say that the phrase list is: > > Ruyton of the Eleven Towns > East Hartfordshire > Colchester > Chester > > First create a mapping from phrase words to individual characters (the > choice of character is arbitrary): > > Ruyton <-> A > of <-> B > the <-> C > Eleven <-> D > Towns <-> E > East <-> F > Hartfordshire <-> G > Colchester <-> H > Chester <-> I > > Now iterate through the source text, generating an output source text > consisting of words from the new alphabet, and a 'unknown' letter '*'. > For example: > > The man from Ruyton of the Eleven Towns, who is of the order of > shovels, travelled from Chester to Colchester via the towns in East > Hartfordshire > > Would become: > > C**ABCDE**BC*B***I*H**E*FG > > The original phrase list is processed similarly to give: > > ABCDE > FG > H > I > > Searching the transformed source text using your algorithm with the > list of transformed phrases would give the correct set of found > phrases as required by the original problem. > > Warmest Regards, > > Mark. > From mark at livecode.com Sat Sep 1 07:25:39 2018 From: mark at livecode.com (Mark Waddingham) Date: Sat, 01 Sep 2018 13:25:39 +0200 Subject: Searching for a word when it's more than one word In-Reply-To: References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> <88397dd52966e8973eed5c7e2a87e267@livecode.com> <12e0cd15-2b2b-0247-308b-644d706ab2e6@gmail.com> <4669634d-010b-5839-2912-975620b9498f@gmail.com> Message-ID: On 2018-09-01 13:15, Richmond Mathewson via use-livecode wrote: > I've already shovelled Ruyton of the Eleven Towns quite effectively: > > https://www.dropbox.com/s/n7r7u0c2m9ny3eb/Text%20analyzer%20X.livecode.zip?dl=0 > > No tokenising, in fact very basic stuff indeed. > > Not wishing to bang on about over-complcating things . . . . . Your revised approach is fine - as long as the names of all the towns are distinct in terms of no one town's name is contained within another. Add 'Palm Beach West' and 'Palm Beach' to your placeNames list; then modify your source text to end 'or Palm Beach West' - and you algorithm does not perform the requested operation. It reports Palm Beach West *and* Palm Beach as being present - whereas, only 'Palm Beach West' is present :D Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From richmondmathewson at gmail.com Sat Sep 1 07:46:00 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 1 Sep 2018 14:46:00 +0300 Subject: Searching for a word when it's more than one word In-Reply-To: References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> <88397dd52966e8973eed5c7e2a87e267@livecode.com> <12e0cd15-2b2b-0247-308b-644d706ab2e6@gmail.com> <4669634d-010b-5839-2912-975620b9498f@gmail.com> Message-ID: On 1/9/2018 2:25 pm, Mark Waddingham via use-livecode wrote: > On 2018-09-01 13:15, Richmond Mathewson via use-livecode wrote: >> I've already shovelled Ruyton of the Eleven Towns quite effectively: >> >> https://www.dropbox.com/s/n7r7u0c2m9ny3eb/Text%20analyzer%20X.livecode.zip?dl=0 >> >> >> No tokenising, in fact very basic stuff indeed. >> >> Not wishing to bang on about over-complcating things . . . . . > > Your revised approach is fine - as long as the names of all the towns > are distinct in terms of no one town's name is contained within another. Blast! Of course "my next trick" is to work out how to delete multi-word names (i.e. phrases) from a textField. Richmond. > > Add 'Palm Beach West' and 'Palm Beach' to your placeNames list; then > modify your source text to end 'or Palm Beach West' - and you > algorithm does not perform the requested operation. > > It reports Palm Beach West *and* Palm Beach as being present - > whereas, only 'Palm Beach West' is present :D > > Warmest Regards, > > Mark. > From mark at livecode.com Sat Sep 1 07:50:42 2018 From: mark at livecode.com (Mark Waddingham) Date: Sat, 01 Sep 2018 13:50:42 +0200 Subject: Searching for a word when it's more than one word In-Reply-To: References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> <88397dd52966e8973eed5c7e2a87e267@livecode.com> <12e0cd15-2b2b-0247-308b-644d706ab2e6@gmail.com> <4669634d-010b-5839-2912-975620b9498f@gmail.com> Message-ID: <67f77209e9867095261822cfe56d363e@livecode.com> On 2018-09-01 13:15, Richmond Mathewson via use-livecode wrote: > I've already shovelled Ruyton of the Eleven Towns quite effectively: > > https://www.dropbox.com/s/n7r7u0c2m9ny3eb/Text%20analyzer%20X.livecode.zip?dl=0 > > No tokenising, in fact very basic stuff indeed. > > Not wishing to bang on about over-complcating things . . . . . There is actually a 'correct' more shovelistic approach (at least I *think* this is correct): -- Ensure all punctuation is surrounded by space repeat for each char tPuncChar in ",.';:()[]{}<>!@?$%^&*-_+=~`?/\|#?" & quote replace tPuncChar with space & tPuncChar & space in tText end repeat -- Ensure all whitespace is space replace return with space in tText replace tab with space in tText -- Ensure there is never two spaces next to each other in tText repeat while tText contains " " replace " " with " " in tText end repeat -- Ensure there is only ever one space between words in phrases repeat while tPhrases contains " " replace " " with " " in tPhrases end repeat -- We can now use an itemDelimiter of space set the itemDelimiter to space -- Sort the phrases by descending word length. sort lines of tPhrases descending numeric by the number of items in each -- Now check for, and remove each phrase from the source text in turn set the wholeMatches to true repeat for each line tPhrase in tPhrases -- If the phrase is not present then skip to the next if itemOffset(tPhrase, tText) is 0 then next repeat end if -- Accumulate the phrase on the output list put tPhrase & return after tFoundPhrases -- Remove the phrase from the input text (we assume here that * does not appear in any phrase) replace tPhrase with "*" in tText end repeat Warmest Regards, Mark. P.S. The above will be reasonable quick for small sets of phrases / small source texts - but I think as the size of either increases it will get very slow, very quickly! -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From richmondmathewson at gmail.com Sat Sep 1 07:51:38 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 1 Sep 2018 14:51:38 +0300 Subject: Searching for a word when it's more than one word In-Reply-To: References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> <88397dd52966e8973eed5c7e2a87e267@livecode.com> <12e0cd15-2b2b-0247-308b-644d706ab2e6@gmail.com> <4669634d-010b-5839-2912-975620b9498f@gmail.com> Message-ID: It didn't like this: on mouseDown put empty into fld "zText" if fld "xText" contains "Ruyton of the Eleven Towns." then put fld "xText" into fld "zText" put "Ruyton of the Eleven Towns." into CHUNNK put empty into CHUNNK of fld "zText" end if *end mouseDown** ** **Richmond.* On 1/9/2018 2:25 pm, Mark Waddingham via use-livecode wrote: > On 2018-09-01 13:15, Richmond Mathewson via use-livecode wrote: >> I've already shovelled Ruyton of the Eleven Towns quite effectively: >> >> https://www.dropbox.com/s/n7r7u0c2m9ny3eb/Text%20analyzer%20X.livecode.zip?dl=0 >> >> >> No tokenising, in fact very basic stuff indeed. >> >> Not wishing to bang on about over-complcating things . . . . . > > Your revised approach is fine - as long as the names of all the towns > are distinct in terms of no one town's name is contained within another. > > Add 'Palm Beach West' and 'Palm Beach' to your placeNames list; then > modify your source text to end 'or Palm Beach West' - and you > algorithm does not perform the requested operation. > > It reports Palm Beach West *and* Palm Beach as being present - > whereas, only 'Palm Beach West' is present :D > > Warmest Regards, > > Mark. > From richmondmathewson at gmail.com Sat Sep 1 07:53:12 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 1 Sep 2018 14:53:12 +0300 Subject: Searching for a word when it's more than one word In-Reply-To: <67f77209e9867095261822cfe56d363e@livecode.com> References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> <88397dd52966e8973eed5c7e2a87e267@livecode.com> <12e0cd15-2b2b-0247-308b-644d706ab2e6@gmail.com> <4669634d-010b-5839-2912-975620b9498f@gmail.com> <67f77209e9867095261822cfe56d363e@livecode.com> Message-ID: <30267d02-8542-5bda-502b-6c9da011d68f@gmail.com> On 1/9/2018 2:50 pm, Mark Waddingham via use-livecode wrote: > On 2018-09-01 13:15, Richmond Mathewson via use-livecode wrote: >> I've already shovelled Ruyton of the Eleven Towns quite effectively: >> >> https://www.dropbox.com/s/n7r7u0c2m9ny3eb/Text%20analyzer%20X.livecode.zip?dl=0 >> >> >> No tokenising, in fact very basic stuff indeed. >> >> Not wishing to bang on about over-complcating things . . . . . > > There is actually a 'correct' more shovelistic approach (at least I > *think* this is correct): > > -- Ensure all punctuation is surrounded by space > repeat for each char tPuncChar in ",.';:()[]{}<>!@?$%^&*-_+=~`?/\|#?" > & quote > replace tPuncChar with space & tPuncChar & space in tText > end repeat Thats a "point" (pun intended) as I just fell foul of a full stop. > > -- Ensure all whitespace is space > replace return with space in tText > replace tab with space in tText > > -- Ensure there is never two spaces next to each other in tText > repeat while tText contains " " > replace " " with " " in tText > end repeat > > -- Ensure there is only ever one space between words in phrases > repeat while tPhrases contains " " > replace " " with " " in tPhrases > end repeat > > -- We can now use an itemDelimiter of space > set the itemDelimiter to space > > -- Sort the phrases by descending word length. > sort lines of tPhrases descending numeric by the number of items in each > > -- Now check for, and remove each phrase from the source text in turn > set the wholeMatches to true > repeat for each line tPhrase in tPhrases > -- If the phrase is not present then skip to the next > if itemOffset(tPhrase, tText) is 0 then > next repeat > end if > > -- Accumulate the phrase on the output list > put tPhrase & return after tFoundPhrases > > -- Remove the phrase from the input text (we assume here that * does > not appear in any phrase) > replace tPhrase with "*" in tText > end repeat > > Warmest Regards, > > Mark. > > P.S. The above will be reasonable quick for small sets of phrases / > small source texts - but I think as the size of either increases it > will get very slow, very quickly! > From smaclean at madmansoft.com Sat Sep 1 09:20:59 2018 From: smaclean at madmansoft.com (Stephen MacLean) Date: Sat, 1 Sep 2018 09:20:59 -0400 Subject: Searching for a word when it's more than one word In-Reply-To: <30267d02-8542-5bda-502b-6c9da011d68f@gmail.com> References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> <88397dd52966e8973eed5c7e2a87e267@livecode.com> <12e0cd15-2b2b-0247-308b-644d706ab2e6@gmail.com> <4669634d-010b-5839-2912-975620b9498f@gmail.com> <67f77209e9867095261822cfe56d363e@livecode.com> <30267d02-8542-5bda-502b-6c9da011d68f@gmail.com> Message-ID: <3A3A3E69-3D5C-4A4D-B6DE-8E782CA84A57@madmansoft.com> Wow, this is awesome, thank you all!! Sorry, on the road taking my daughter to college, would love to try some of this out. One thing to keep in mind is that as that I?m checking for names against the town list, I may not know what town I?m actually looking for. Usually i do, but not always. Therefore i?ve been counting how many of each name I?ve come across and do some calculations at the end to make a best guess. Really appreciate the responses!! Thank you, Steve > On Sep 1, 2018, at 7:53 AM, Richmond Mathewson via use-livecode wrote: > > > >> On 1/9/2018 2:50 pm, Mark Waddingham via use-livecode wrote: >>> On 2018-09-01 13:15, Richmond Mathewson via use-livecode wrote: >>> I've already shovelled Ruyton of the Eleven Towns quite effectively: >>> >>> https://www.dropbox.com/s/n7r7u0c2m9ny3eb/Text%20analyzer%20X.livecode.zip?dl=0 >>> >>> No tokenising, in fact very basic stuff indeed. >>> >>> Not wishing to bang on about over-complcating things . . . . . >> >> There is actually a 'correct' more shovelistic approach (at least I *think* this is correct): >> >> -- Ensure all punctuation is surrounded by space >> repeat for each char tPuncChar in ",.';:()[]{}<>!@?$%^&*-_+=~`?/\|#?" & quote >> replace tPuncChar with space & tPuncChar & space in tText >> end repeat > > Thats a "point" (pun intended) as I just fell foul of a full stop. >> >> -- Ensure all whitespace is space >> replace return with space in tText >> replace tab with space in tText >> >> -- Ensure there is never two spaces next to each other in tText >> repeat while tText contains " " >> replace " " with " " in tText >> end repeat >> >> -- Ensure there is only ever one space between words in phrases >> repeat while tPhrases contains " " >> replace " " with " " in tPhrases >> end repeat >> >> -- We can now use an itemDelimiter of space >> set the itemDelimiter to space >> >> -- Sort the phrases by descending word length. >> sort lines of tPhrases descending numeric by the number of items in each >> >> -- Now check for, and remove each phrase from the source text in turn >> set the wholeMatches to true >> repeat for each line tPhrase in tPhrases >> -- If the phrase is not present then skip to the next >> if itemOffset(tPhrase, tText) is 0 then >> next repeat >> end if >> >> -- Accumulate the phrase on the output list >> put tPhrase & return after tFoundPhrases >> >> -- Remove the phrase from the input text (we assume here that * does not appear in any phrase) >> replace tPhrase with "*" in tText >> end repeat >> >> Warmest Regards, >> >> Mark. >> >> P.S. The above will be reasonable quick for small sets of phrases / small source texts - but I think as the size of either increases it will get very slow, very quickly! >> > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sat Sep 1 09:22:59 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 1 Sep 2018 16:22:59 +0300 Subject: Chunked Off Message-ID: <51675257-3538-03e1-6496-9a2dfc17fc6d@gmail.com> Yup: a lot. I've got a text, in a field ("xText"), that contains the phrase "Ruyton of the Eleven Towns." [ Don't worry why it is "Ruyton of the Eleven Towns.": just part of an ongoing, slightly kinky relationship with someone at LC central. ] Now . . . I can do this sort of thing: on mouseDown put empty into fld "zText" put fld "xText" into exTEXT if matchChunk(exText,"Ruyton of the Eleven Towns.") then --do something magical end if end mouseDown And the matchChunk will prove positive . . . Now what I would like to do is dlete the chunk "Ruyton of the Eleven Towns." from the string variable . . . BUT . . . if I "try to be clever": on mouseDown put empty into fld "zText" put fld "xText" into exTEXT put "Ruyton of the Eleven Towns." into CHK if matchChunk(exText,CHK) then delete CHK from exTEXT end if end mouseDown the coloured line throws a "big, bad, bluey". Richmond. From admin at FlexibleLearning.com Sat Sep 1 11:24:18 2018 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Sat, 1 Sep 2018 16:24:18 +0100 Subject: startUp messaging hierarchy Message-ID: <003401d44207$dabf2030$903d6090$@FlexibleLearning.com> I find myself unable to answer this rather basic question, and cannot locate any information... e.g. This is both incomplete and also most likely incorrect... startUp (if engine is not already loaded) - frontScript: -- PreOpenStack -- PreOpenCard -- openStack -- openCard -- preOpenBackGround -- openBackground preOpenStack preOpenCard openStack openCard preOpenBackground (if closed) openBackground (if closed) - backscript: -- PreOpenStack -- PreOpenCard -- openStack -- openCard -- preOpenBackGround -- openBackground Anyone? Hugh From jacque at hyperactivesw.com Sat Sep 1 11:39:37 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 01 Sep 2018 10:39:37 -0500 Subject: Searching for a word when it's more than one word In-Reply-To: <50239510-8aa4-d28c-d372-33eca8b36bb6@gmail.com> References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> <88397dd52966e8973eed5c7e2a87e267@livecode.com> <50239510-8aa4-d28c-d372-33eca8b36bb6@gmail.com> Message-ID: <16595ca1ad8.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> There is a town in Texas called West, made infamous a few years ago by a giant explosion. I don't think you can make assumptions about names of places. Mark's suggestion to check for words ending in "s" will fail on many towns, though apostrophe-s may be safe. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 1, 2018 5:49:30 AM Richmond Mathewson via use-livecode wrote: > I can see that the "problem", which my stack does not address, is with 2 > or 3 part place names: > > The Rochester/Chester problem is easily dealt with. > > While it should be realtively easy to have a subroutine to deal with > words such as "West" (after all, there are no places just called "West"), > places like a town my parents once lived in called "Haselbury Plucknett" > would cause problems. > > AND, places such as "Ruyton of the Eleven Towns" > (https://en.wikipedia.org/wiki/Ruyton-XI-Towns) > would really throw a spanner in the works. > > Come to think of things . . . > > Unless anyone's code can cope with "Ruyton of the Eleven Towns" it won't > stand up: we could even go further and call > this the "Ruyton of the Eleven Towns Test". > > More muffled background noises. > > Richmond. > > On 1/9/2018 1:29 pm, Mark Waddingham via use-livecode wrote: >> On 2018-09-01 12:05, Richmond Mathewson via use-livecode wrote: >>> Obviously, when considering names of places such as Colchester, >>> Rochester and Chester one has >>> to search for the longer names first and exclude them from later >>> searches. >> >> The 'substring' problem (i.e. Chester being 'in' Rochester) isn't >> relevant in the above algorithm because we are 'tokenising' input and >> phrases - essentially changing the alphabet. >> >> i.e. "Rochester Chester Colchester" is turned into ABC, and we match >> A, B or C as atomic units. >> >> I should perhaps point out that the 'processText' operation probably >> needs to be a little better in practice - to at least include a 'stop' >> token for punctuation. For example: >> >> "The man walked starting from East Hartford, West Hartford could be >> seen in the distance." >> >> In the case where 'Hartford West' and 'Hartford' are the 'known' towns >> (and not 'East Hartford') - the proposed tokenization would result in: >> >> The,man,walked,starting,from,East,Hartford,West,Hartford,could,be,seen,in,the,distance >> >> Which means you'd get "Hartford West" and "Hartford" - when you should >> only get "Hartford" (assuming you care about the linguistic structure >> of the text, at least). >> >> Indeed, the above actually means in preprocessing the text, you can >> actually vastly reduce the number of words to search - any sequences >> of words which aren't in any pharse (or important punctuation) can be >> replaced by "*" say. So the above would become: >> >> *,East,Hartford,*,West,Hartford,* >> >> The "*" tokens block matching multi-word phrases. >> >> Warmest Regards, >> >> Mark. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 ahsoftware at sonic.net Sat Sep 1 11:54:00 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 1 Sep 2018 08:54:00 -0700 Subject: Chunked Off In-Reply-To: <51675257-3538-03e1-6496-9a2dfc17fc6d@gmail.com> References: <51675257-3538-03e1-6496-9a2dfc17fc6d@gmail.com> Message-ID: On 09/01/2018 06:22 AM, Richmond Mathewson via use-livecode wrote: > I've got a text, in a field ("xText"), that contains the phrase "Ruyton > of the Eleven Towns." > Now what I would like to do is dlete the chunk "Ruyton of the Eleven > Towns." > > from the string variable . . . BUT . . . if I "try to be clever": Probably not what you're looking for, but... the not-clever approach: replace "Ruyton of the Eleven Towns." with empty in exText or directly: replace "Ruyton of the Eleven Towns." with empty in field "xText" -- Mark Wieder ahsoftware at gmail.com From admin at FlexibleLearning.com Sat Sep 1 11:54:58 2018 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Sat, 1 Sep 2018 16:54:58 +0100 Subject: [OT] Accommodation in Edinburgh Message-ID: <003601d4420c$235a0590$6a0e10b0$@FlexibleLearning.com> We are (finally!) taking a week's holiday north of the border and want to visit Edinburgh 10-15 September. Any hotel recommendations? Does not have to be in the city centre! Hugh From ahsoftware at sonic.net Sat Sep 1 11:55:36 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 1 Sep 2018 08:55:36 -0700 Subject: Searching for a word when it's more than one word In-Reply-To: <16595ca1ad8.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> <88397dd52966e8973eed5c7e2a87e267@livecode.com> <50239510-8aa4-d28c-d372-33eca8b36bb6@gmail.com> <16595ca1ad8.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On 09/01/2018 08:39 AM, J. Landman Gay via use-livecode wrote: > There is a town in Texas called West, made infamous a few years ago by a > giant explosion. I don't think you can make assumptions about names of > places. And thus the distinction between West Texas and West, Texas. -- Mark Wieder ahsoftware at gmail.com From hh at hyperhh.de Sat Sep 1 12:27:54 2018 From: hh at hyperhh.de (hh) Date: Sat, 1 Sep 2018 18:27:54 +0200 Subject: ImageHandles_v105 Message-ID: Just uploaded hhImageHandles to "Sample Stacks". This is a group of handles that is attachable to any image. All you have to do (after copying the group to your stack): send "setTarget " to group "hhPoly" Base position of the 9 handles (use a monospaced font): ####################### ## 1 ## ## | ## ## 9 ----- 2 ----- 3 ## ## | | ## ## 8 4 ## ## | | ## ## 7 ----- 6 ----- 5 ## ####################### Actions: a=Click and drag, b=Shift-Click or RightClick and drag 1: (a) Rotate, (b) Reset shape 2,6: (a) Height, (b) SkewX 4,8: (a) Width, (b) SkewY 3,5,7,9: (a) 4-Point-Distortion 3,5,7,9: (b) ProportionalResize Rotation is around the shapes's centroid (which can also be shown). Changing height, width or proportional resizing preserves the current shape! hhImageHandles works on Mac/Win/Linux and comes in two variants. [1] livecodeshare.runrev.com/stack/893 hhImageHandles6_LCS (pure LCScript) is for LC 6/7/8/9, fast enough (only) on LC 6. [2] livecodeshare.runrev.com/stack/894 hhImageHandles89B has the option to use JavaScript (of a browser widget) and is with that at about 15-20 faster as LCS. From smaclean at madmansoft.com Sat Sep 1 12:24:32 2018 From: smaclean at madmansoft.com (Stephen MacLean) Date: Sat, 1 Sep 2018 12:24:32 -0400 Subject: Searching for a word when it's more than one word In-Reply-To: References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> <88397dd52966e8973eed5c7e2a87e267@livecode.com> <50239510-8aa4-d28c-d372-33eca8b36bb6@gmail.com> <16595ca1ad8.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Thankfully, in my case, I do know what at least the state is:) > On Sep 1, 2018, at 11:55 AM, Mark Wieder via use-livecode wrote: > >> On 09/01/2018 08:39 AM, J. Landman Gay via use-livecode wrote: >> There is a town in Texas called West, made infamous a few years ago by a giant explosion. I don't think you can make assumptions about names of places. > > And thus the distinction between West Texas and West, Texas. > > -- > 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 richmondmathewson at gmail.com Sat Sep 1 12:57:49 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 1 Sep 2018 19:57:49 +0300 Subject: Searching for a word when it's more than one word In-Reply-To: <16595ca1ad8.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> <88397dd52966e8973eed5c7e2a87e267@livecode.com> <50239510-8aa4-d28c-d372-33eca8b36bb6@gmail.com> <16595ca1ad8.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <087c19a8-b0e2-8998-af01-f663c49d93f0@gmail.com> That sounds remarkably like two women who are friends of my parents: One is called "Gay" and the other one is called "Loveday". They were friends at school 60 years ago and when they were both widowed they moved in together; although the son of one of them fell out with his wife and now lives with them as well. Assumptions are sometimes difficult to avoid. Although my younger son did actually dislocate his knee jumping to conclusions . . . This was mainly because he was trying to skip a difficult bit . . . But I digress. Richmond. On 1/9/2018 6:39 pm, J. Landman Gay via use-livecode wrote: > There is a town in Texas called West, made infamous a few years ago by > a giant explosion. I don't think you can make assumptions about names > of places. > > Mark's suggestion to check for words ending in "s" will fail on many > towns, though apostrophe-s may be safe. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On September 1, 2018 5:49:30 AM Richmond Mathewson via use-livecode > wrote: > >> I can see that the "problem", which my stack does not address, is with 2 >> or 3 part place names: >> >> The Rochester/Chester problem is easily dealt with. >> >> While it should be realtively easy to have a subroutine to deal with >> words such as "West" (after all, there are no places just called >> "West"), >> places like a town my parents once lived in called "Haselbury Plucknett" >> would cause problems. >> >> AND, places such as "Ruyton of the Eleven Towns" >> (https://en.wikipedia.org/wiki/Ruyton-XI-Towns) >> would really throw a spanner in the works. >> >> Come to think of things . . . >> >> Unless anyone's code can cope with "Ruyton of the Eleven Towns" it won't >> stand up: we could even go further and call >> this the "Ruyton of the Eleven Towns Test". >> >> More muffled background noises. >> >> Richmond. >> >> On 1/9/2018 1:29 pm, Mark Waddingham via use-livecode wrote: >>> On 2018-09-01 12:05, Richmond Mathewson via use-livecode wrote: >>>> Obviously, when considering names of places such as Colchester, >>>> Rochester and Chester one has >>>> to search for the longer names first and exclude them from later >>>> searches. >>> >>> The 'substring' problem (i.e. Chester being 'in' Rochester) isn't >>> relevant in the above algorithm because we are 'tokenising' input and >>> phrases - essentially changing the alphabet. >>> >>> i.e. "Rochester Chester Colchester" is turned into ABC, and we match >>> A, B or C as atomic units. >>> >>> I should perhaps point out that the 'processText' operation probably >>> needs to be a little better in practice - to at least include a 'stop' >>> token for punctuation. For example: >>> >>> "The man walked starting from East Hartford, West Hartford could be >>> seen in the distance." >>> >>> In the case where 'Hartford West' and 'Hartford' are the 'known' towns >>> (and not 'East Hartford') - the proposed tokenization would result in: >>> >>> The,man,walked,starting,from,East,Hartford,West,Hartford,could,be,seen,in,the,distance >>> >>> >>> Which means you'd get "Hartford West" and "Hartford" - when you should >>> only get "Hartford" (assuming you care about the linguistic structure >>> of the text, at least). >>> >>> Indeed, the above actually means in preprocessing the text, you can >>> actually vastly reduce the number of words to search - any sequences >>> of words which aren't in any pharse (or important punctuation) can be >>> replaced by "*" say. So the above would become: >>> >>> *,East,Hartford,*,West,Hartford,* >>> >>> The "*" tokens block matching multi-word phrases. >>> >>> Warmest Regards, >>> >>> Mark. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Sat Sep 1 12:58:44 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 1 Sep 2018 19:58:44 +0300 Subject: Chunked Off In-Reply-To: References: <51675257-3538-03e1-6496-9a2dfc17fc6d@gmail.com> Message-ID: <2cf98894-6a75-2187-2ff8-44321fa98957@gmail.com> I suspect that is EXACTLY what I am looking for. Thank you very much indeed. Richmond. On 1/9/2018 6:54 pm, Mark Wieder via use-livecode wrote: > On 09/01/2018 06:22 AM, Richmond Mathewson via use-livecode wrote: > >> I've got a text, in a field ("xText"), that contains the phrase >> "Ruyton of the Eleven Towns." > >> Now what I would like to do is dlete the chunk "Ruyton of the Eleven >> Towns." >> >> from the string variable . . . BUT . . . if I "try to be clever": > > Probably not what you're looking for, but... > > the not-clever approach: > replace "Ruyton of the Eleven Towns." with empty in exText > > or directly: > replace "Ruyton of the Eleven Towns." with empty in field "xText" > From richmondmathewson at gmail.com Sat Sep 1 13:01:27 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 1 Sep 2018 20:01:27 +0300 Subject: [OT] Accommodation in Edinburgh In-Reply-To: <003601d4420c$235a0590$6a0e10b0$@FlexibleLearning.com> References: <003601d4420c$235a0590$6a0e10b0$@FlexibleLearning.com> Message-ID: <870eaf43-9c20-74ca-19aa-e83478108ebe@gmail.com> If you get there bfore the University year starts one of the *best, and relatively inexpensive, places to stay is the Pollok Halls student residences: https://www.edinburghfirst.co.uk/for-accommodation/pollock-halls/ I stayed there last when I attended a LiveCode conference a few years back. Richmond. * On 1/9/2018 6:54 pm, FlexibleLearning.com via use-livecode wrote: > We are (finally!) taking a week's holiday north of the border and want to > visit Edinburgh 10-15 September. > > > Any hotel recommendations? Does not have to be in the city centre! > > Hugh > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sat Sep 1 13:02:07 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 1 Sep 2018 20:02:07 +0300 Subject: Searching for a word when it's more than one word In-Reply-To: References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> <88397dd52966e8973eed5c7e2a87e267@livecode.com> <50239510-8aa4-d28c-d372-33eca8b36bb6@gmail.com> <16595ca1ad8.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Is West, Texas in West Texas? Richmond. On 1/9/2018 6:55 pm, Mark Wieder via use-livecode wrote: > On 09/01/2018 08:39 AM, J. Landman Gay via use-livecode wrote: >> There is a town in Texas called West, made infamous a few years ago >> by a giant explosion. I don't think you can make assumptions about >> names of places. > > And thus the distinction between West Texas and West, Texas. > From richmondmathewson at gmail.com Sat Sep 1 13:02:49 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 1 Sep 2018 20:02:49 +0300 Subject: Searching for a word when it's more than one word In-Reply-To: References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> <88397dd52966e8973eed5c7e2a87e267@livecode.com> <50239510-8aa4-d28c-d372-33eca8b36bb6@gmail.com> <16595ca1ad8.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <975fa880-b269-c89d-ff9e-87f01440672a@gmail.com> We're all in a state at the moment with this one. Richmond. On 1/9/2018 7:24 pm, Stephen MacLean via use-livecode wrote: > Thankfully, in my case, I do know what at least the state is:) > >> On Sep 1, 2018, at 11:55 AM, Mark Wieder via use-livecode wrote: >> >>> On 09/01/2018 08:39 AM, J. Landman Gay via use-livecode wrote: >>> There is a town in Texas called West, made infamous a few years ago by a giant explosion. I don't think you can make assumptions about names of places. >> And thus the distinction between West Texas and West, Texas. >> >> -- >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 curry at pair.com Sat Sep 1 13:16:47 2018 From: curry at pair.com (Curry Kenworthy) Date: Sat, 01 Sep 2018 13:16:47 -0400 Subject: tabMode request for WP-style tabAlign Message-ID: <5B8AC97F.6060204@pair.com> I have submitted a feature request for word processing style tab stop aligns: https://quality.livecode.com/show_bug.cgi?id=21554 Current LC 7+ tabAlign is perfect for columns, including tables. That's because it is, in fact, column alignment. Each text is positioned left/center/right within its column, which is the space BETWEEN two tabs. However, that's very different than word processing tab stops. Except in tables, Word processors align text relative to the tab stop itself. For example: 1. Make a field. 2. Enter a line of text with some tabs between phrases. 3. Try to center text around the tabstop itself rather than the column space between tabs. Expected: text centers around tab stop position. Current: text centers in space between tab stops. Desired: tabMode to allow both align behaviors. Both modes are needed. They are different. (See the test stack attached in the QA report; right/left are also different, not just center.) It's possible to hack in workarounds for this, but they are imperfect. So, for anyone who has noticed this and wanted true WP-style tab stops, here's a request that you can sign onto. I propose the tabMode property per line (or p) of text. (And for anyone who hasn't noticed the difference yet, here's a chance to learn more about tabs; sign onto the request if you would like to see this feature.) I couldn't find any existing requests for this, so if there have been, or if any other ideas, feel free to add. This would be very useful for WordLib, and I'm sure for many other LiveCode projects, since people use such a great amount and variety of text and text entry in LC. Thanks. Best wishes, Curry Kenworthy Custom Software Development LiveCode Training and Consulting http://livecodeconsulting.com/ From ahsoftware at sonic.net Sat Sep 1 13:49:32 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 1 Sep 2018 10:49:32 -0700 Subject: Chunked Off In-Reply-To: <2cf98894-6a75-2187-2ff8-44321fa98957@gmail.com> References: <51675257-3538-03e1-6496-9a2dfc17fc6d@gmail.com> <2cf98894-6a75-2187-2ff8-44321fa98957@gmail.com> Message-ID: <775708e6-9b11-7e91-8da6-3b6ce3eac545@sonic.net> On 09/01/2018 09:58 AM, Richmond Mathewson via use-livecode wrote: > I suspect that is EXACTLY what I am looking for. > > Thank you very much indeed. !! I find myself much surprised that I have actually managed to accomplish a task before finishing my first cup of coffee of the day. I think I'll rest on my laurels (not quite sure of the literal meaning of that phrase - it sounds uncomfortable) and spend some time away from the computer and go for a hike instead. -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Sat Sep 1 16:03:44 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 1 Sep 2018 23:03:44 +0300 Subject: Searching for a word when it's more than one word In-Reply-To: <16595ca1ad8.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> <88397dd52966e8973eed5c7e2a87e267@livecode.com> <50239510-8aa4-d28c-d372-33eca8b36bb6@gmail.com> <16595ca1ad8.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <90a04757-11ee-5045-e8cd-5e9ed7446931@gmail.com> East or West, home is a comfy LiveCode stack . . . Well; here's my third version, which does better than the first 2: https://www.dropbox.com/s/r3yocmqzwhwu4ta/Text%20analyzer%20X.livecode.zip?dl=0 Richmond. On 1/9/2018 6:39 pm, J. Landman Gay via use-livecode wrote: > There is a town in Texas called West, made infamous a few years ago by > a giant explosion. I don't think you can make assumptions about names > of places. > > Mark's suggestion to check for words ending in "s" will fail on many > towns, though apostrophe-s may be safe. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On September 1, 2018 5:49:30 AM Richmond Mathewson via use-livecode > wrote: > >> I can see that the "problem", which my stack does not address, is with 2 >> or 3 part place names: >> >> The Rochester/Chester problem is easily dealt with. >> >> While it should be realtively easy to have a subroutine to deal with >> words such as "West" (after all, there are no places just called >> "West"), >> places like a town my parents once lived in called "Haselbury Plucknett" >> would cause problems. >> >> AND, places such as "Ruyton of the Eleven Towns" >> (https://en.wikipedia.org/wiki/Ruyton-XI-Towns) >> would really throw a spanner in the works. >> >> Come to think of things . . . >> >> Unless anyone's code can cope with "Ruyton of the Eleven Towns" it won't >> stand up: we could even go further and call >> this the "Ruyton of the Eleven Towns Test". >> >> More muffled background noises. >> >> Richmond. >> >> On 1/9/2018 1:29 pm, Mark Waddingham via use-livecode wrote: >>> On 2018-09-01 12:05, Richmond Mathewson via use-livecode wrote: >>>> Obviously, when considering names of places such as Colchester, >>>> Rochester and Chester one has >>>> to search for the longer names first and exclude them from later >>>> searches. >>> >>> The 'substring' problem (i.e. Chester being 'in' Rochester) isn't >>> relevant in the above algorithm because we are 'tokenising' input and >>> phrases - essentially changing the alphabet. >>> >>> i.e. "Rochester Chester Colchester" is turned into ABC, and we match >>> A, B or C as atomic units. >>> >>> I should perhaps point out that the 'processText' operation probably >>> needs to be a little better in practice - to at least include a 'stop' >>> token for punctuation. For example: >>> >>> "The man walked starting from East Hartford, West Hartford could be >>> seen in the distance." >>> >>> In the case where 'Hartford West' and 'Hartford' are the 'known' towns >>> (and not 'East Hartford') - the proposed tokenization would result in: >>> >>> The,man,walked,starting,from,East,Hartford,West,Hartford,could,be,seen,in,the,distance >>> >>> >>> Which means you'd get "Hartford West" and "Hartford" - when you should >>> only get "Hartford" (assuming you care about the linguistic structure >>> of the text, at least). >>> >>> Indeed, the above actually means in preprocessing the text, you can >>> actually vastly reduce the number of words to search - any sequences >>> of words which aren't in any pharse (or important punctuation) can be >>> replaced by "*" say. So the above would become: >>> >>> *,East,Hartford,*,West,Hartford,* >>> >>> The "*" tokens block matching multi-word phrases. >>> >>> Warmest Regards, >>> >>> Mark. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Sep 1 17:20:51 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 1 Sep 2018 16:20:51 -0500 Subject: Searching for a word when it's more than one word In-Reply-To: References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> <88397dd52966e8973eed5c7e2a87e267@livecode.com> <50239510-8aa4-d28c-d372-33eca8b36bb6@gmail.com> <16595ca1ad8.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On 9/1/18 10:55 AM, Mark Wieder via use-livecode wrote: > On 09/01/2018 08:39 AM, J. Landman Gay via use-livecode wrote: >> There is a town in Texas called West, made infamous a few years ago by >> a giant explosion. I don't think you can make assumptions about names >> of places. > > And thus the distinction between West Texas and West, Texas. > When I first heard it on the news, I thought half of Texas had disappeared. I had mixed feelings when I found out it didn't. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Sep 1 17:48:06 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 1 Sep 2018 16:48:06 -0500 Subject: Searching for a word when it's more than one word In-Reply-To: References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> <88397dd52966e8973eed5c7e2a87e267@livecode.com> <50239510-8aa4-d28c-d372-33eca8b36bb6@gmail.com> <16595ca1ad8.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <5510c824-c9c8-47cc-0745-ba5711cd98ab@hyperactivesw.com> No, it's a little north-east of center. On 9/1/18 12:02 PM, Richmond Mathewson via use-livecode wrote: > Is West, Texas in West Texas? > > Richmond. > > On 1/9/2018 6:55 pm, Mark Wieder via use-livecode wrote: >> On 09/01/2018 08:39 AM, J. Landman Gay via use-livecode wrote: >>> There is a town in Texas called West, made infamous a few years ago >>> by a giant explosion. I don't think you can make assumptions about >>> names of places. >> >> And thus the distinction between West Texas and West, Texas. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ahsoftware at sonic.net Sat Sep 1 19:32:12 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 1 Sep 2018 16:32:12 -0700 Subject: Searching for a word when it's more than one word In-Reply-To: <5510c824-c9c8-47cc-0745-ba5711cd98ab@hyperactivesw.com> References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> <88397dd52966e8973eed5c7e2a87e267@livecode.com> <50239510-8aa4-d28c-d372-33eca8b36bb6@gmail.com> <16595ca1ad8.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5510c824-c9c8-47cc-0745-ba5711cd98ab@hyperactivesw.com> Message-ID: On 09/01/2018 02:48 PM, J. Landman Gay via use-livecode wrote: > No, it's a little north-east of center. Wait. What? West is north-east of center? -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Sat Sep 1 19:54:56 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 01 Sep 2018 18:54:56 -0500 Subject: [OT] Up is down (was: Searching for a word when it's more than one word) In-Reply-To: References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> <88397dd52966e8973eed5c7e2a87e267@livecode.com> <50239510-8aa4-d28c-d372-33eca8b36bb6@gmail.com> <16595ca1ad8.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5510c824-c9c8-47cc-0745-ba5711cd98ab@hyperactivesw.com> Message-ID: <165978f9898.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On September 1, 2018 6:34:17 PM Mark Wieder via use-livecode wrote: > On 09/01/2018 02:48 PM, J. Landman Gay via use-livecode wrote: >> No, it's a little north-east of center. > > Wait. What? West is north-east of center? Of course. When you're that far south, everything is north. I assume their center must be somewhat dynamic, perhaps based on where the most cattle are at the moment. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jiml at netrin.com Sat Sep 1 20:24:30 2018 From: jiml at netrin.com (Jim Lambert) Date: Sat, 1 Sep 2018 17:24:30 -0700 Subject: [OT] Accommodation in Edinburgh In-Reply-To: References: Message-ID: <231ED5BD-815E-4BA5-AAE9-E569091DD72D@netrin.com> > Hugh wrote: > We are (finally!) taking a week's holiday north of the border and want to > visit Edinburgh 10-15 September. > Any hotel recommendations? Does not have to be in the city centre! > These are not hotels. But we have stayed at both of these charming apartments. Hidden Glen was quite near the Tollcross location of the previous LC Conference. Both are owned by the family that owns The Three Chimneys on Skye, which is an exceptionally elegant inn/restaurant. Old School Tower @ Holyrood Park 1/9 Saint Leonard's Crag, Edinburgh, EH8 9SP https://www.airbnb.com/rooms/2667737?sug=50 Hidden Glen Apartments: Glendale 22 Glen Street, Tollcross, Edinburgh, EH3 9JE https://www.airbnb.com/rooms/8354483?sug=50 These and others are also directly available through Gillian Taylor & Ewen MacAskill?s own site: www.edinburghhideaways.com Stayed at The Scotsman once. They gave us a free upgrade to the penthouse. Spectacular! So, of course, we recommend that hotel. ;) Also The George in New Town is nice. Hope this helps. Jim Lambert From colinholgate at gmail.com Sat Sep 1 20:30:40 2018 From: colinholgate at gmail.com (Colin Holgate) Date: Sat, 1 Sep 2018 20:30:40 -0400 Subject: [OT] Accommodation in Edinburgh In-Reply-To: <231ED5BD-815E-4BA5-AAE9-E569091DD72D@netrin.com> References: <231ED5BD-815E-4BA5-AAE9-E569091DD72D@netrin.com> Message-ID: For the last conference in Edinburgh I used AirBNB. It worked out well, and I biked to the conference each day in a few minutes. From ahsoftware at sonic.net Sat Sep 1 20:32:05 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 1 Sep 2018 17:32:05 -0700 Subject: [OT] Up is down In-Reply-To: <165978f9898.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> <88397dd52966e8973eed5c7e2a87e267@livecode.com> <50239510-8aa4-d28c-d372-33eca8b36bb6@gmail.com> <16595ca1ad8.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <5510c824-c9c8-47cc-0745-ba5711cd98ab@hyperactivesw.com> <165978f9898.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On 09/01/2018 04:54 PM, J. Landman Gay via use-livecode wrote: > On September 1, 2018 6:34:17 PM Mark Wieder via use-livecode > wrote: > >> On 09/01/2018 02:48 PM, J. Landman Gay via use-livecode wrote: >>> No, it's a little north-east of center. >> >> Wait. What? West is north-east of center? > > Of course. When you're that far south, everything is north. I assume > their center must be somewhat dynamic, perhaps based on where the most > cattle are at the moment. Probably a good idea to move your scenter to where the cattle aren't. -- Mark Wieder ahsoftware at gmail.com From dvglasgow at gmail.com Sun Sep 2 04:43:52 2018 From: dvglasgow at gmail.com (David V Glasgow) Date: Sun, 2 Sep 2018 09:43:52 +0100 Subject: am I regexing by mistake? In-Reply-To: References: <41A8721E-4C48-43D2-AEBF-C041110C0683@hyperhh.de> <5B87FAF9.3070006@pair.com> <3EAB0EA2-B51E-4E85-9381-07EF256447AD@gmail.com> Message-ID: <4E87CD2C-7CF1-4EE5-A6E4-BC4191EE5961@gmail.com> For the record, this was my stupidity, nothing to do with escaping wildcards. Filter lines doesn?t treat a question mark as anything but text. The script I posted didn?t find 'asl?? because I forgot to pre- and post- pend an asterisk before filtering. So, connected to wildcards, but I was definitely barking up the wrong tree. Cheers, David G > On 31 Aug 2018, at 3:35 pm, Brian Milby via use-livecode wrote: > > Need to put question mark in brackets ?[?]? when using wildcard filters if you want to match a literal question mark. Otherwise it signifies a single character match to anything. > > Thanks, > Brian > On Aug 31, 2018, 9:12 AM -0500, David V Glasgow via use-livecode , wrote: >> Hello, folks. >> >> I am undertaking keyword searches of chat logs. The keywords are stored as themed lists in fields. >> >> One of the things I am interested in is finding lines where one contributor asks another about where they live, shop, go to school etc etc. So, (among other phrases) I filter for lines in the text containing the acronym ? asl ? (nowhere are quotes actually included in fields or variables, they?re just in this mail). I pad with spaces so as not to find ?asleep?. I also want to find ?asl?? >> >> So I repeat through lines of the keyword field ?location" >> >> Filter lines of tsource with tpattern >> >> ? which works for everything except fails to match ?asl??. It occurred to me that perhaps the question mark is being interpreted as a regex symbol, so I tried changing the line in the field to read ? asl/??, but that doesn?t find the ?asl?? that I can see in the third line of the text to be searched?. >> >> >> shadownave (09/16/14 1:44:58 AM): hey care to chat >> shadownave (09/16/14 1:45:09 AM): hey care to chat >> what_sez_moo (09/16/14 1:45:18 AM): sure asl? >> what_sez_moo (09/16/14 1:45:52 AM): 13 / F / Ashton here >> shadownave (09/16/14 1:51:00 AM): 25/m/Derby >> shadownave (09/16/14 1:51:03 AM): how r u tonight >> what_sez_moo (09/16/14 1:51:16 AM): bored. >> >> >> What am I doing wrong? Is this something to do with regex? >> >> Oh yes, and I thought there might be invisible characters messing things up, so I exported source text as plain text from BBedit, with no improvement. >> >> best wishes >> >> David Glasgow >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 cubist at aol.com Sun Sep 2 05:09:16 2018 From: cubist at aol.com (Quentin Long) Date: Sun, 2 Sep 2018 05:09:16 -0400 Subject: Searching for a word when it's more than one word In-Reply-To: References: Message-ID: <165998b1e5e-1ec0-8466@webjas-vac227.srv.aolmail.net> Have pondered the question, and come up with some code which may or may not solve the problem at hand, but which may at least prove helpful in looking for a real solution: ========================== Assumption: You?ve got a text document (not HTML, not RTF, just plain TXT) which contains, among other things, however-many place names. Assumption: You have a return-list of place names, which may or may not be single words Assumption: The text document is in the variable SourceDoc Assumption: The list of place names is in the variable NamesList Assumption: You want a document which contains a complete census of exactly which of the place-names in NamesList occur in SourceDoc Assumption: For each place-name which does occur within SourceDoc, you want a list of which word-numbers each such occurrance begins at put ?? into PlaceNamesCensus repeat for each line DisName in NamesList ? put the number of words in DisName into DisNameWords ? put 0 into SearchOffset ? put ?? into FoundLocs ? repeat ??? put offset (DisName, SourceDoc, SearchOffset) into DisLoc ??? if DisLoc = 0 then ????? -- there is no character string which matches the place name in question ????? end repeat ??? else ????? ?- there is a character string which matches the place name in question ????? ?- is it the actual placename, and not finding ?chester? in ?colchester?? ????? put the number of words in (char 1 to DisLoc of SourceDoc) into StartWord ????? if DisName = (word StartWord to (StartWord + DisNameWords - 1) of SourceDoc) then ??????? -- it?s a match, yay! ??????? put StartWord into item (1 + the number of items in FoundLocs) of FoundLocs ????? end if ????? add DisLoc to SearchOffset ??? end if??? ? end repeat ? if FoundLocs <> ?? then ??? ?- nope, DisName wasn?t in SourceDoc ??? put ?[nil]? into DeseLocs ? else ??? ?- yay! DisName *was* in SourceDoc! at least once! ??? put FoundLocs into DeseLocs ? end if ????? put DisName & comma & DeseLocs into line (1 + the number of lines in PlaceNamesCensus) of PlaceNamesCensus end repeat ========================== Known issue: The above code does not pretend to locate possessive instances of place names (i.e., California's, the United Kingdom's, etc). Am thinking that pre-processing of SourceDoc will be helpful-to-necessary. This pre-processing may need to accommodate more issues than just possessives. ? "Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length" Read the webcomic at [?http://www.atarmslength.net?]! If you like "At Arm's Length", support it at [?http://www.patreon.com/DarkwingDude?]. From revolution at derbrill.de Sun Sep 2 09:36:32 2018 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Sun, 2 Sep 2018 15:36:32 +0200 Subject: Up to date installation guide for LiveCode community server? In-Reply-To: References: Message-ID: <7B4535E9-A4E2-4BDB-80D7-E1C04C04F426@derbrill.de> Hi all, I am currently searching for an up to date installation guide for live code community server. For at least Linux 64 Bit and Windows Servers. What I was able to dig up on the liveCode sites is rather outdated. :-( Also, is it allowed to add the jSon externals to a community server? Technically it appears to work, but license wise? If that is possible, might it be good to have it in the downloaded external folder by< default? Cheers! Malte From harrison at all-auctions.com Sun Sep 2 10:01:54 2018 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 2 Sep 2018 10:01:54 -0400 Subject: Turn off .lc Web-browser Caching? In-Reply-To: References: <3CB391DD-587D-4F76-8994-7D50C1E28DD3@thehales.id.au> <174D7E29-B192-4103-BDD4-7AAF808EBDF8@all-auctions.com> Message-ID: Hi Tom, Unfortunately, I wanted to stay away from javascript because some people turn it off in their web-browsers for security reasons. The solution I finally used was to just rename the image so that it looked new to the web-browser, and then update the database with the new name. I did it using LiveCode so no javascript was required. Thanks for your suggestion anyway. Rick > On Aug 30, 2018, at 8:24 PM, Tom Glod via use-livecode wrote: > > try using javascript by doing "do in widget" > > https://www.ajaymatharu.com/how-to-prevent-image-from-caching-in-javascript/ > > i bet that javascript may be your best chance at controlling the browser > widget in any kind of detail. good luck let us know if you got it. > > On Thu, Aug 30, 2018 at 5:51 PM Rick Harrison via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi there, >> >> I know this has come up before but >> looking through the old archives didn?t >> seem to turn up a working answer. >> >> Is there a good way to prevent a web-browser >> from re-displaying an image in it?s cache? >> >> I tried using a random number after the .lc URL >> such as: >> >> http://www.mysite.com/destination.lc?r=39923959 < >> http://www.mysite.com/destination.lc?r=39923959> >> >> I have also tried: >> >> put "" >> put "" >> put "? >> >> and that doesn?t seem to work either. >> >> Did anyone ever come up with a good solution? >> >> Thanks, >> >> Rick >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 brian at milby7.com Sun Sep 2 10:13:14 2018 From: brian at milby7.com (Brian Milby) Date: Sun, 2 Sep 2018 09:13:14 -0500 Subject: am I regexing by mistake? In-Reply-To: <4E87CD2C-7CF1-4EE5-A6E4-BC4191EE5961@gmail.com> References: <41A8721E-4C48-43D2-AEBF-C041110C0683@hyperhh.de> <5B87FAF9.3070006@pair.com> <3EAB0EA2-B51E-4E85-9381-07EF256447AD@gmail.com> <4E87CD2C-7CF1-4EE5-A6E4-BC4191EE5961@gmail.com> Message-ID: I will need to verify, but ??? should match exactly one character, so Thanks, Brian On Sep 2, 2018, 3:44 AM -0500, David V Glasgow via use-livecode , wrote: > For the record, this was my stupidity, nothing to do with escaping wildcards. Filter lines doesn?t treat a question mark as anything but text. > > The script I posted didn?t find 'asl?? because I forgot to pre- and post- pend an asterisk before filtering. So, connected to wildcards, but I was definitely barking up the wrong tree. > > Cheers, > > David G > > > On 31 Aug 2018, at 3:35 pm, Brian Milby via use-livecode wrote: > > > > Need to put question mark in brackets ?[?]? when using wildcard filters if you want to match a literal question mark. Otherwise it signifies a single character match to anything. > > > > Thanks, > > Brian > > On Aug 31, 2018, 9:12 AM -0500, David V Glasgow via use-livecode , wrote: > > > Hello, folks. > > > > > > I am undertaking keyword searches of chat logs. The keywords are stored as themed lists in fields. > > > > > > One of the things I am interested in is finding lines where one contributor asks another about where they live, shop, go to school etc etc. So, (among other phrases) I filter for lines in the text containing the acronym ? asl ? (nowhere are quotes actually included in fields or variables, they?re just in this mail). I pad with spaces so as not to find ?asleep?. I also want to find ?asl?? > > > > > > So I repeat through lines of the keyword field ?location" > > > > > > Filter lines of tsource with tpattern > > > > > > ? which works for everything except fails to match ?asl??. It occurred to me that perhaps the question mark is being interpreted as a regex symbol, so I tried changing the line in the field to read ? asl/??, but that doesn?t find the ?asl?? that I can see in the third line of the text to be searched?. > > > > > > > > > shadownave (09/16/14 1:44:58 AM): hey care to chat > > > shadownave (09/16/14 1:45:09 AM): hey care to chat > > > what_sez_moo (09/16/14 1:45:18 AM): sure asl? > > > what_sez_moo (09/16/14 1:45:52 AM): 13 / F / Ashton here > > > shadownave (09/16/14 1:51:00 AM): 25/m/Derby > > > shadownave (09/16/14 1:51:03 AM): how r u tonight > > > what_sez_moo (09/16/14 1:51:16 AM): bored. > > > > > > > > > What am I doing wrong? Is this something to do with regex? > > > > > > Oh yes, and I thought there might be invisible characters messing things up, so I exported source text as plain text from BBedit, with no improvement. > > > > > > best wishes > > > > > > David Glasgow > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode 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 tom at makeshyft.com Sun Sep 2 12:13:18 2018 From: tom at makeshyft.com (Tom Glod) Date: Sun, 2 Sep 2018 12:13:18 -0400 Subject: Turn off .lc Web-browser Caching? In-Reply-To: References: <3CB391DD-587D-4F76-8994-7D50C1E28DD3@thehales.id.au> <174D7E29-B192-4103-BDD4-7AAF808EBDF8@all-auctions.com> Message-ID: right on.... glad u got it solved. On Sun, Sep 2, 2018 at 10:02 AM Rick Harrison via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Tom, > > Unfortunately, I wanted to stay away from > javascript because some people turn it off > in their web-browsers for security reasons. > > The solution I finally used was to just rename > the image so that it looked new to the web-browser, > and then update the database with the new name. > I did it using LiveCode so no javascript was required. > > Thanks for your suggestion anyway. > > Rick > > > On Aug 30, 2018, at 8:24 PM, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > try using javascript by doing "do in widget" > > > > > https://www.ajaymatharu.com/how-to-prevent-image-from-caching-in-javascript/ > > > > i bet that javascript may be your best chance at controlling the browser > > widget in any kind of detail. good luck let us know if you got it. > > > > On Thu, Aug 30, 2018 at 5:51 PM Rick Harrison via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Hi there, > >> > >> I know this has come up before but > >> looking through the old archives didn?t > >> seem to turn up a working answer. > >> > >> Is there a good way to prevent a web-browser > >> from re-displaying an image in it?s cache? > >> > >> I tried using a random number after the .lc URL > >> such as: > >> > >> http://www.mysite.com/destination.lc?r=39923959 < > >> http://www.mysite.com/destination.lc?r=39923959> > >> > >> I have also tried: > >> > >> put "" > >> put "" > >> put "? > >> > >> and that doesn?t seem to work either. > >> > >> Did anyone ever come up with a good solution? > >> > >> Thanks, > >> > >> Rick > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode 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 ahsoftware at sonic.net Sun Sep 2 14:21:44 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Sun, 2 Sep 2018 11:21:44 -0700 Subject: ANN: LC Documentation Cache Cleaner Message-ID: Posted a utility stack to livecodeshare: When first launched, the LiveCode IDE will build a documentation cache for the current version. When you upgrade to a new version, a new cache folder is created, but any older cache is still in the system. When you remove an older LiveCode version the cache folder is not removed, so these accumulate over time. This stack will allow you to remove any documentation cache folders that are no longer needed in order to reclaim storage space on your computer. If you remove a current one accidentally it will be rebuilt the next time the LiveCode IDE is launched. http://livecodeshare.runrev.com/stack/895/LC-Documentation-Cache-Cleaner -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Sun Sep 2 14:41:17 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 2 Sep 2018 21:41:17 +0300 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: References: Message-ID: <021ec620-9661-702a-0b4b-289d5a805d67@gmail.com> How fantastically useful. Thanks. Richmond. On 2/9/2018 9:21 pm, Mark Wieder via use-livecode wrote: > Posted a utility stack to livecodeshare: > > When first launched, the LiveCode IDE will build a documentation cache > for the current version. When you upgrade to a new version, a new > cache folder is created, but any older cache is still in the system. > When you remove an older LiveCode version the cache folder is not > removed, so these accumulate over time. > > This stack will allow you to remove any documentation cache folders > that are no longer needed in order to reclaim storage space on your > computer. If you remove a current one accidentally it will be rebuilt > the next time the LiveCode IDE is launched. > > http://livecodeshare.runrev.com/stack/895/LC-Documentation-Cache-Cleaner > From ambassador at fourthworld.com Sun Sep 2 14:27:19 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 2 Sep 2018 11:27:19 -0700 Subject: Up to date installation guide for LiveCode community server? In-Reply-To: <7B4535E9-A4E2-4BDB-80D7-E1C04C04F426@derbrill.de> References: <7B4535E9-A4E2-4BDB-80D7-E1C04C04F426@derbrill.de> Message-ID: <1f452ab0-5e32-bf3c-ab05-acecb81d3db2@fourthworld.com> Malte Pfaff-Brill wrote: > I am currently searching for an up to date installation guide for live > code community server. For at least Linux 64 Bit and Windows Servers. > What I was able to dig up on the liveCode sites is rather outdated. > :-( The Common Gateway Interface LC uses is pretty standard and hasn't changed in a long time. Setting up LC should be pretty much the same as adding any other scripting engine to an Apache server. What problems have you run into? -- 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 at livecode.com Sun Sep 2 15:48:35 2018 From: mark at livecode.com (Mark Waddingham) Date: Sun, 2 Sep 2018 20:48:35 +0100 Subject: Up to date installation guide for LiveCode community server? In-Reply-To: <7B4535E9-A4E2-4BDB-80D7-E1C04C04F426@derbrill.de> References: <7B4535E9-A4E2-4BDB-80D7-E1C04C04F426@derbrill.de> Message-ID: <946C2017-FE59-4AE8-9003-6888BB15BE11@livecode.com> File a bug and we'll see if we can move the (appropriate) information into a guide in the main repo (so the docs aren't just a webpage). mergJSON is licensed under the GPL - https://github.com/montegoulding/mergJSON/blob/master/LICENSE.txt Warmest Regards, Mark Sent from my iPhone > On 2 Sep 2018, at 14:36, Malte Pfaff-Brill via use-livecode wrote: > > Hi all, > > I am currently searching for an up to date installation guide for live code community server. For at least Linux 64 Bit and Windows Servers. What I was able to dig up on the liveCode sites is rather outdated. :-( > Also, is it allowed to add the jSon externals to a community server? Technically it appears to work, but license wise? If that is possible, might it be good to have it in the downloaded external folder by< default? > > Cheers! > > Malte > _______________________________________________ > use-livecode mailing list > use-livecode 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 mkoob at rogers.com Sun Sep 2 16:12:15 2018 From: mkoob at rogers.com (Martin Koob) Date: Sun, 2 Sep 2018 15:12:15 -0500 (CDT) Subject: startUp messaging hierarchy In-Reply-To: <003401d44207$dabf2030$903d6090$@FlexibleLearning.com> References: <003401d44207$dabf2030$903d6090$@FlexibleLearning.com> Message-ID: <1535919135988-0.post@n4.nabble.com> Hi Your post made me curious. I am sure I had seen this discussed in the forums with someone providing a good explanation but can't find it now either. I did find this. http://fourthworld.com/embassy/articles/revolution_message_path.html That shows the extended message path with Behaviors & Libraries. I don't think that changes the messages that are sent at startUp. However if you had a /startUsing/ command for a library stack during startup that stack would get a /libraryStack/ message. I am pretty sure that behaviours don't send any messages when the object they were the behaviour like a card or stack for was opened. I have no idea what widgets would do. Hopefully someone will respond. A good explanation of this would be a good thing to put in the documentation somewhere. Martin FlexibleLearning.com via use-livecode wrote > I find myself unable to answer this rather basic question, and cannot > locate > any information... > > e.g. > This is both incomplete and also most likely incorrect... > > startUp (if engine is not already loaded) > - frontScript: > -- PreOpenStack > -- PreOpenCard > -- openStack > -- openCard > -- preOpenBackGround > -- openBackground > > preOpenStack > preOpenCard > openStack > openCard > preOpenBackground (if closed) > openBackground (if closed) > > - backscript: > -- PreOpenStack > -- PreOpenCard > -- openStack > -- openCard > -- preOpenBackGround > -- openBackground > > Anyone? > > Hugh > > > _______________________________________________ > 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 -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From mkoob at rogers.com Sun Sep 2 16:34:23 2018 From: mkoob at rogers.com (Martin Koob) Date: Sun, 2 Sep 2018 15:34:23 -0500 (CDT) Subject: startUp messaging hierarchy In-Reply-To: <1535919135988-0.post@n4.nabble.com> References: <003401d44207$dabf2030$903d6090$@FlexibleLearning.com> <1535919135988-0.post@n4.nabble.com> Message-ID: <1535920463937-0.post@n4.nabble.com> Hmm... Just looking at dictionary for widgets and it has an OnOpen message that is sent to the widget when a card becomes the current card. So I think that message would be part of the startup messaging hierarchy Is that correct? Martin Martin via use-livecode wrote > Hi > > Your post made me curious. I am sure I had seen this discussed in the > forums with someone providing a good explanation but can't find it now > either. > > I did find this. > > http://fourthworld.com/embassy/articles/revolution_message_path.html > > That shows the extended message path with Behaviors & Libraries. I don't > think that changes the messages that are sent at startUp. However if you > had > a /startUsing/ command for a library stack during startup that stack > would > get a /libraryStack/ message. I am pretty sure that behaviours don't > send > any messages when the object they were the behaviour like a card or stack > for was opened. I have no idea what widgets would do. > > Hopefully someone will respond. > > A good explanation of this would be a good thing to put in the > documentation > somewhere. > > Martin > > > > > FlexibleLearning.com via use-livecode wrote >> I find myself unable to answer this rather basic question, and cannot >> locate >> any information... >> >> e.g. >> This is both incomplete and also most likely incorrect... >> >> startUp (if engine is not already loaded) >> - frontScript: >> -- PreOpenStack >> -- PreOpenCard >> -- openStack >> -- openCard >> -- preOpenBackGround >> -- openBackground >> >> preOpenStack >> preOpenCard >> openStack >> openCard >> preOpenBackground (if closed) >> openBackground (if closed) >> >> - backscript: >> -- PreOpenStack >> -- PreOpenCard >> -- openStack >> -- openCard >> -- preOpenBackGround >> -- openBackground >> >> Anyone? >> >> Hugh >> >> >> _______________________________________________ >> 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 > > > > > > -- > Sent from: > http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > 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 -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From revolution at derbrill.de Sun Sep 2 16:50:17 2018 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Sun, 2 Sep 2018 22:50:17 +0200 Subject: Up to date installation guide for LiveCode community server? In-Reply-To: References: Message-ID: @Mark: Thanks, will do. @Richard: I am not facing any trouble, but have to provide an installation guide for 3rd parties that would like to run an open source project I steward. The problem with the current documentation I dug up is that it appears to be written for apache <2.2. And that the actual installation guide is not in the package that one would download from livecode's site. Also the documentation says the Linux distribution would require the 32-Bit Libs, which I am pretty sure is no longer true. Cheers, Malte From tom at makeshyft.com Sun Sep 2 18:45:53 2018 From: tom at makeshyft.com (Tom Glod) Date: Sun, 2 Sep 2018 18:45:53 -0400 Subject: Up to date installation guide for LiveCode community server? In-Reply-To: References: Message-ID: This is the bash scripts I used to successfully install LC Server...obviously it has customized filenames in it. #!/bin/bash #--------------------------------------------------------------------- # install LC Server #--------------------------------------------------------------------- cd ~ wget " https://ump-global-shared-space.nyc3.digitaloceanspaces.com/ump-cloud-build-scripts/LiveCodeCommunityServer-8_1_7-Linux-x86_64.zip " apt-get install unzip unzip LiveCodeCommunityServer-8_1_7-Linux-x86_64.zip rm LiveCodeCommunityServer-8_1_7-Linux-x86_64.zip chmod 755 livecode-community-server mv 'livecode-community-server' '/usr/lib/cgi-bin' mv 'externals' '/usr/lib/cgi-bin' mv 'drivers' '/usr/lib/cgi-bin' #--------------------------------------------------------------------- # Set Up Apache #--------------------------------------------------------------------- a2enmod actions a2enmod cgi cd /etc/apache2/sites-enabled wget " https://ump-global-shared-space.nyc3.digitaloceanspaces.com/ump-cloud-build-scripts/default_apache_config_registration_server.conf " cp 'default_apache_config_registration_server.conf' '000-default.conf' rm default_apache_config_registration_server.conf service apache2 restart *Apache CONF File:* ServerName ump-cloud.com ServerAlias www.ump-cloud.com ServerAdmin webmaster at localhost DocumentRoot /var/www/html Options Indexes FollowSymLinks AllowOverride All Require all granted ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined DirectoryIndex index.php index.pl index.cgi index.html index.xhtml index.htm Action lc-script /cgi-bin/livecode-community-server AddHandler lc-script .lc On Sun, Sep 2, 2018 at 4:50 PM Malte Pfaff-Brill via use-livecode < use-livecode at lists.runrev.com> wrote: > @Mark: Thanks, will do. > @Richard: I am not facing any trouble, but have to provide an installation > guide for 3rd parties that would like to run an open source project I > steward. The problem with the current documentation I dug up is that it > appears to be written for apache <2.2. And that the actual installation > guide is not in the package that one would download from livecode's site. > Also the documentation says the Linux distribution would require the 32-Bit > Libs, which I am pretty sure is no longer true. > > Cheers, > > Malte > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 hyperhh.de Sun Sep 2 18:49:18 2018 From: hh at hyperhh.de (hh) Date: Mon, 3 Sep 2018 00:49:18 +0200 Subject: SVGHandles89_v100 Message-ID: <16666DCB-9E34-48D5-BA8D-3947EB1AD800@hyperhh.de> Just uploaded SVGHandles to "Sample Stacks". This is a group of handles that is attachable to a SVG display. All you have to do (after copying the group to your stack): send "setTarget " to group "hhSVGPoly" The field's name will usually end with ".svg" and contain any valid SVG source. The stack contains several examples. Base position of the 9 handles (use a monospaced font): ####################### ## 1 ## ## | ## ## 9 ----- 2 ----- 3 ## ## | | ## ## 8 4 ## ## | | ## ## 7 ----- 6 ----- 5 ## ####################### Actions yield Affine Transformations: a=Click and drag, b=Shift-Click or RightClick and drag 1: (a) Rotate, (b) Reset shape 2,6: (a) Height, (b) SkewX 4,8: (a) Width, (b) SkewY 3,5,7,9: ProportionalResize 4-point-distortion isn't (directly) available in SVG and some work arounds yield jagged raster displays for curved shapes. That's why we made 'only' affine transformations available. Rotation is around the shapes's loc (which can also be shown). Changing height, width or proportional resizing preserves the current shape! SVGHandles works on Mac/Win/Linux with LC 8/9 and uses JavaScript (of a browser widget) for converting and antialiasing the SVG to the raster display. Download SVGHandles89_v100 from "Sample Stacks" or http://livecodeshare.runrev.com/stack/896 From tom at makeshyft.com Sun Sep 2 20:51:56 2018 From: tom at makeshyft.com (Tom Glod) Date: Sun, 2 Sep 2018 20:51:56 -0400 Subject: Searching for a word when it's more than one word In-Reply-To: <165998b1e5e-1ec0-8466@webjas-vac227.srv.aolmail.net> References: <165998b1e5e-1ec0-8466@webjas-vac227.srv.aolmail.net> Message-ID: i had this same problem a few weeks ago...luckily it wasn't critical to the featureset, so i didn't find a solution. I will swing back around with the help of this thread. thanks for entertaining the problem. On Sun, Sep 2, 2018 at 5:09 AM Quentin Long via use-livecode < use-livecode at lists.runrev.com> wrote: > Have pondered the question, and come up with some code which may or may > not solve the problem at hand, but which may at least prove helpful in > looking for a real solution: > > ========================== > > Assumption: You?ve got a text document (not HTML, not RTF, just plain TXT) > which contains, among other things, however-many place names. > Assumption: You have a return-list of place names, which may or may not be > single words > Assumption: The text document is in the variable SourceDoc > Assumption: The list of place names is in the variable NamesList > > Assumption: You want a document which contains a complete census of > exactly which of the place-names in NamesList occur in SourceDoc > Assumption: For each place-name which does occur within SourceDoc, you > want a list of which word-numbers each such occurrance begins at > > put ?? into PlaceNamesCensus > repeat for each line DisName in NamesList > put the number of words in DisName into DisNameWords > put 0 into SearchOffset > put ?? into FoundLocs > repeat > put offset (DisName, SourceDoc, SearchOffset) into DisLoc > if DisLoc = 0 then > -- there is no character string which matches the place name in > question > end repeat > else > ?- there is a character string which matches the place name in > question > ?- is it the actual placename, and not finding ?chester? in > ?colchester?? > put the number of words in (char 1 to DisLoc of SourceDoc) into > StartWord > if DisName = (word StartWord to (StartWord + DisNameWords - 1) of > SourceDoc) then > -- it?s a match, yay! > put StartWord into item (1 + the number of items in FoundLocs) of > FoundLocs > end if > add DisLoc to SearchOffset > end if > end repeat > if FoundLocs <> ?? then > ?- nope, DisName wasn?t in SourceDoc > put ?[nil]? into DeseLocs > else > ?- yay! DisName *was* in SourceDoc! at least once! > put FoundLocs into DeseLocs > end if > put DisName & comma & DeseLocs into line (1 + the number of lines in > PlaceNamesCensus) of PlaceNamesCensus > end repeat > > ========================== > > Known issue: The above code does not pretend to locate possessive > instances of place names (i.e., California's, the United Kingdom's, etc). > Am thinking that pre-processing of SourceDoc will be helpful-to-necessary. > This pre-processing may need to accommodate more issues than just > possessives. > > > "Bewitched" + "Charlie's Angels" - Charlie = "At Arm's Length" > Read the webcomic at [ http://www.atarmslength.net ]! > If you like "At Arm's Length", support it at [ > http://www.patreon.com/DarkwingDude ]. > _______________________________________________ > use-livecode mailing list > use-livecode 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 merakosp at gmail.com Mon Sep 3 03:57:13 2018 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 3 Sep 2018 10:57:13 +0300 Subject: Android Audio Recorder Woes In-Reply-To: References: Message-ID: Hello Dan, Hehe no worries, you're welcome. The Android Audio Recorder Lib is currently the only case where you'll have to ask for a permission explicitly. In all other cases (including Location) the permission dialog is shown automatically. For example, RE location access, if you call , this will first ask for location permission. Kind regards, Panos -- On Sat, Sep 1, 2018 at 12:27 AM Dan Friedman wrote: > Panos, > > > > Ug! Yes, that was it. I feel especially stupid because I already did it > for Location Access. Must be Friday!?! > > > > Thank you! > > > > -Dan > > > > > > *From: *panagiotis merakos > *Date: *Friday, August 31, 2018 at 1:34 PM > *To: *Dan Friedman > *Cc: *How to use LiveCode > *Subject: *Re: Android Audio Recorder Woes > > > > Hello Dan, > > > > Ok, so since 9.0.1 uses the new android permissions model, you might have > to ask for permission to record audio first. See the command > androidRequestPermission in the dictionary. > > > > Best, > > Panos > > > > On Fri, Aug 31, 2018, 23:30 Dan Friedman wrote: > > Panos. > > > > Thank you for the reply! I am using LC 9.0.1 (rc 2). > > > > > > Thank you! > > > > Dan Friedman > > CEO, ClearVision Technologies, LLC > > Voice: 909/484-2052 > > http://www.clearvisiontech.com > > > > > > *From: *panagiotis merakos > *Date: *Friday, August 31, 2018 at 1:27 PM > *To: *How to use LiveCode > *Cc: *Dan Friedman > *Subject: *Re: Android Audio Recorder Woes > > > > Hello Dan, > > Which LC version are you using? > > > > Best, > > Panos > > > > On Fri, Aug 31, 2018, 18:51 Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > > Hello! I am trying to implement the Android Audio Recorder options in my > project, but it?s not working. I have checked the ?Android Audio Recorder? > in the Standalone Application Settings, and the called this: > > androidRecorderSetRecordFormat "MPEG-4" > put (specialFolderPath("documents") & "/ test.mp4") into fPath > androidRecorderStartRecording fPath > > The androidRecorderSetRecordFormat seems to be ok as it?s failing on the > androidRecorderStartRecording call. Is there something else I need to do > or set to get this working? > > Thanks 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 merakosp at gmail.com Mon Sep 3 04:00:33 2018 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 3 Sep 2018 11:00:33 +0300 Subject: Trouble with iOS Logos/No Appearing on Home Screen In-Reply-To: References: Message-ID: Hello Brahmanathaswami, If you only see the default icon, then you might need to download Xcode's additional components. See https://quality.livecode.com/show_bug.cgi?id=21531 >>>>>>>>also, why would you check (uncheck) Prerendered choice? This was needed for some older iOS versions (I think less than iOS 5), so this option now is not needed anyway. We probably have to remove it from the standalone settings. Best, Panos -- On Sat, Sep 1, 2018 at 4:00 AM Sannyasin Brahmanathaswami via use-livecode < use-livecode at lists.runrev.com> wrote: > I have tried everything, the logos in the standalone maker are as they > are supposed to be, according to SA. And so are my splash screen images. > > So I went to developer.apple.com > > And the HIG for app icons (and splash screens) give a different set of > sizes. > > So I downloaded "Icon Set Creator" (free) and it produced these. Which > do in fact correspond to the current guide at developer.apple.com > > Note as an example, SivaSiva Logo-29 at 2x.png corresponds with iPhone > icon. That would be 58px , but the standalone maker wants a 57 size icon. > > SivaSiva Logo-1024.png > SivaSiva Logo-20.png > SivaSiva Logo-20 at 2x.png > SivaSiva Logo-20 at 3x.png > SivaSiva Logo-29.png > SivaSiva Logo-29 at 2x.png > SivaSiva Logo-29 at 3x.png > SivaSiva Logo-40.png > SivaSiva Logo-40 at 2x.png > SivaSiva Logo-40 at 3x.png > SivaSiva Logo-60 at 2x.png > SivaSiva Logo-60 at 3x.png > SivaSiva Logo-76.png > SivaSiva Logo-76 at 2x.png > SivaSiva Logo-83.5 at 2x.png > > 1.2.2 is ready for the app store, only this one problem! > > also, why would you check (uncheck) Prerendered choice? > > ?? > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 merakosp at gmail.com Mon Sep 3 06:52:02 2018 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 3 Sep 2018 13:52:02 +0300 Subject: ImageHandles_v105 In-Reply-To: References: Message-ID: Thanks Hermann :) On Sat, Sep 1, 2018 at 7:28 PM hh via use-livecode < use-livecode at lists.runrev.com> wrote: > Just uploaded hhImageHandles to "Sample Stacks". > > This is a group of handles that is attachable to any image. > All you have to do (after copying the group to your stack): > send "setTarget " to group "hhPoly" > > Base position of the 9 handles (use a monospaced font): > ####################### > ## 1 ## > ## | ## > ## 9 ----- 2 ----- 3 ## > ## | | ## > ## 8 4 ## > ## | | ## > ## 7 ----- 6 ----- 5 ## > ####################### > Actions: > a=Click and drag, b=Shift-Click or RightClick and drag > > 1: (a) Rotate, (b) Reset shape > 2,6: (a) Height, (b) SkewX > 4,8: (a) Width, (b) SkewY > 3,5,7,9: (a) 4-Point-Distortion > 3,5,7,9: (b) ProportionalResize > > Rotation is around the shapes's centroid (which can also be shown). > > Changing height, width or proportional resizing preserves the > current shape! > > hhImageHandles works on Mac/Win/Linux and comes in two variants. > > [1] livecodeshare.runrev.com/stack/893 > hhImageHandles6_LCS (pure LCScript) is for LC 6/7/8/9, > fast enough (only) on LC 6. > > [2] livecodeshare.runrev.com/stack/894 > hhImageHandles89B has the option to use JavaScript (of a browser > widget) and is with that at about 15-20 faster as LCS. > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 panos.merakos at livecode.com Mon Sep 3 07:11:22 2018 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 3 Sep 2018 14:11:22 +0300 Subject: [ANN] This Week in LiveCode 144 Message-ID: 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 #144 here: https://goo.gl/KYVehE 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. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From matthias_livecode_150811 at m-r-d.de Mon Sep 3 09:46:18 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 3 Sep 2018 15:46:18 +0200 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: References: Message-ID: Mark, thanks for this. Couldn?t believe how many cache folders existed on my harddrive. Regards, Matthias > Am 02.09.2018 um 20:21 schrieb Mark Wieder via use-livecode : > > Posted a utility stack to livecodeshare: > > When first launched, the LiveCode IDE will build a documentation cache for the current version. When you upgrade to a new version, a new cache folder is created, but any older cache is still in the system. When you remove an older LiveCode version the cache folder is not removed, so these accumulate over time. > > This stack will allow you to remove any documentation cache folders that are no longer needed in order to reclaim storage space on your computer. If you remove a current one accidentally it will be rebuilt the next time the LiveCode IDE is launched. > > http://livecodeshare.runrev.com/stack/895/LC-Documentation-Cache-Cleaner > > -- > 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 iphonelagi at gmail.com Mon Sep 3 09:53:59 2018 From: iphonelagi at gmail.com (Lagi Pittas) Date: Mon, 3 Sep 2018 14:53:59 +0100 Subject: Where's Fraser? Message-ID: In the spirit of where's wally Can you spot Fraser in this Pic? https://www.dejero.com/about-us/profile Hint - there are only 2 that can be even considered. Regards Lagi From dvglasgow at gmail.com Mon Sep 3 09:54:09 2018 From: dvglasgow at gmail.com (David V Glasgow) Date: Mon, 3 Sep 2018 14:54:09 +0100 Subject: Searching for a word when it's more than one word In-Reply-To: <087c19a8-b0e2-8998-af01-f663c49d93f0@gmail.com> References: <0c5255fa040956d1e902078b97ba3314@livecode.com> <8afbe43d-54fc-c29a-5f16-70025fcef6da@gmail.com> <88397dd52966e8973eed5c7e2a87e267@livecode.com> <50239510-8aa4-d28c-d372-33eca8b36bb6@gmail.com> <16595ca1ad8.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <087c19a8-b0e2-8998-af01-f663c49d93f0@gmail.com> Message-ID: <241BA569-2667-40DF-A472-B511861CA00A@gmail.com> My family was stranded for a while during a transfer at Frankfurt airport, while a computer system refused to accept that ?Glasgow? was not a destination. ( At least, in that instance) Having said that, the same error is much more commonly made by taxi drivers, who can?t avoid showing great disappointment, when I am just going to the local station. Cheers, David Glasgow > On 1 Sep 2018, at 5:57 pm, Richmond Mathewson via use-livecode wrote: > > That sounds remarkably like two women who are friends of my parents: > > One is called "Gay" and the other one is called "Loveday". They were friends at school 60 years ago > and when they were both widowed they moved in together; although the son of one of them fell out > with his wife and now lives with them as well. > > Assumptions are sometimes difficult to avoid. > > Although my younger son did actually dislocate his knee jumping to conclusions . . . > > This was mainly because he was trying to skip a difficult bit . . . > > But I digress. > > Richmond. > > On 1/9/2018 6:39 pm, J. Landman Gay via use-livecode wrote: >> There is a town in Texas called West, made infamous a few years ago by a giant explosion. I don't think you can make assumptions about names of places. >> >> Mark's suggestion to check for words ending in "s" will fail on many towns, though apostrophe-s may be safe. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> On September 1, 2018 5:49:30 AM Richmond Mathewson via use-livecode wrote: >> >>> I can see that the "problem", which my stack does not address, is with 2 >>> or 3 part place names: >>> >>> The Rochester/Chester problem is easily dealt with. >>> >>> While it should be realtively easy to have a subroutine to deal with >>> words such as "West" (after all, there are no places just called "West"), >>> places like a town my parents once lived in called "Haselbury Plucknett" >>> would cause problems. >>> >>> AND, places such as "Ruyton of the Eleven Towns" >>> (https://en.wikipedia.org/wiki/Ruyton-XI-Towns) >>> would really throw a spanner in the works. >>> >>> Come to think of things . . . >>> >>> Unless anyone's code can cope with "Ruyton of the Eleven Towns" it won't >>> stand up: we could even go further and call >>> this the "Ruyton of the Eleven Towns Test". >>> >>> More muffled background noises. >>> >>> Richmond. >>> >>> On 1/9/2018 1:29 pm, Mark Waddingham via use-livecode wrote: >>>> On 2018-09-01 12:05, Richmond Mathewson via use-livecode wrote: >>>>> Obviously, when considering names of places such as Colchester, >>>>> Rochester and Chester one has >>>>> to search for the longer names first and exclude them from later >>>>> searches. >>>> >>>> The 'substring' problem (i.e. Chester being 'in' Rochester) isn't >>>> relevant in the above algorithm because we are 'tokenising' input and >>>> phrases - essentially changing the alphabet. >>>> >>>> i.e. "Rochester Chester Colchester" is turned into ABC, and we match >>>> A, B or C as atomic units. >>>> >>>> I should perhaps point out that the 'processText' operation probably >>>> needs to be a little better in practice - to at least include a 'stop' >>>> token for punctuation. For example: >>>> >>>> "The man walked starting from East Hartford, West Hartford could be >>>> seen in the distance." >>>> >>>> In the case where 'Hartford West' and 'Hartford' are the 'known' towns >>>> (and not 'East Hartford') - the proposed tokenization would result in: >>>> >>>> The,man,walked,starting,from,East,Hartford,West,Hartford,could,be,seen,in,the,distance >>>> >>>> Which means you'd get "Hartford West" and "Hartford" - when you should >>>> only get "Hartford" (assuming you care about the linguistic structure >>>> of the text, at least). >>>> >>>> Indeed, the above actually means in preprocessing the text, you can >>>> actually vastly reduce the number of words to search - any sequences >>>> of words which aren't in any pharse (or important punctuation) can be >>>> replaced by "*" say. So the above would become: >>>> >>>> *,East,Hartford,*,West,Hartford,* >>>> >>>> The "*" tokens block matching multi-word phrases. >>>> >>>> Warmest Regards, >>>> >>>> Mark. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 ahsoftware at sonic.net Mon Sep 3 11:57:07 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 3 Sep 2018 08:57:07 -0700 Subject: Where's Fraser? In-Reply-To: References: Message-ID: On 09/03/2018 06:53 AM, Lagi Pittas via use-livecode wrote: > In the spirit of where's wally > > Can you spot Fraser in this Pic? > > https://www.dejero.com/about-us/profile Ha! Well, that certainly looks like Fraser. Is that really him? -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Mon Sep 3 16:42:14 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 3 Sep 2018 15:42:14 -0500 Subject: Where's Fraser? In-Reply-To: References: Message-ID: On 9/3/18 10:57 AM, Mark Wieder via use-livecode wrote: > On 09/03/2018 06:53 AM, Lagi Pittas via use-livecode wrote: >> In the spirit of where's wally >> >> Can you spot Fraser in this Pic? >> >> https://www.dejero.com/about-us/profile > > Ha! Well, that certainly looks like Fraser. Is that really him? Gotta be. Who else would camouflage himself that way? :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Sep 3 16:56:05 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 3 Sep 2018 15:56:05 -0500 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: References: Message-ID: <97a808b2-8a79-a789-3fe5-99360a296066@hyperactivesw.com> On 9/2/18 1:21 PM, Mark Wieder via use-livecode wrote: > Posted a utility stack to livecodeshare: > > When first launched, the LiveCode IDE will build a documentation cache > for the current version. When you upgrade to a new version, a new cache > folder is created, but any older cache is still in the system. When you > remove an older LiveCode version the cache folder is not removed, so > these accumulate over time. > > This stack will allow you to remove any documentation cache folders that > are no longer needed in order to reclaim storage space on your computer. > If you remove a current one accidentally it will be rebuilt the next > time the LiveCode IDE is launched. > > http://livecodeshare.runrev.com/stack/895/LC-Documentation-Cache-Cleaner > Wow, I had no idea. I must have had 30 or 40 of those. Maybe run it on a Mac, I wasn't able to unhilite the verify button. Forty dialogs is a bit much. I hit the return key repeatedly and the backed up queue must have confused it because eventually it stopped deleting things. I unhilited the button in the property inspector and after that things went much faster. But this is still a fantastic tool, thanks much. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jiml at netrin.com Mon Sep 3 17:07:47 2018 From: jiml at netrin.com (Jim Lambert) Date: Mon, 3 Sep 2018 14:07:47 -0700 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: References: Message-ID: <396AECA5-C313-4375-ABF0-BC88655E5356@netrin.com> Mark, Very handy! Thanks, Jim Lambert From jacque at hyperactivesw.com Mon Sep 3 17:24:19 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 3 Sep 2018 16:24:19 -0500 Subject: Mobile Rotation Redux In-Reply-To: References: Message-ID: <0ffa5f34-b7ce-07a8-0aef-45bb891067db@hyperactivesw.com> I ran both stacks on my Pixel and they got exactly the same results you reported; in other words, everything worked just fine. I decided to try my theory that we could combine fullscreenMode with individual object placement and we can. This will prevent the tiny image when the device is rotated to landscape. Basically, for a stack that is taller than it is wide, you want showAll in portrait and noBorder in landscape. All I had to do was revise your orientationChanged handler and add some logic to determine the correct fullscreenMode. I suspect mobileSetFullScreenRectForOrientations would do the same thing, but I wasn't focused on that. So in the MobileDemo stack, revise orientationChanged and add the FSM function and it should work. The rest of the handlers can remain as-is. This particular revision only assumes we're using showAll and noBorder; it doesn't address any others. Those are the two that almost all mobile apps use. on orientationChanged if the fullscreenmode of this stack is not empty then send "setBackground" to me in 200 milliseconds send "setFSM" to me in 250 milliseconds -- updateStatus "Orientation:" && mobileDeviceOrientation() end if end orientationChanged on setFSM if the fullscreenmode of this stack is not among the items of "showAll,noBorder" then exit setFSM set the rect of this stack to the effective working screenRect if mobileDeviceOrientation() contains "landscape" then set the fullscreenmode of this stack to "noBorder" else if mobileDeviceOrientation() contains "portrait" then set the fullscreenmode of this stack to "showAll" end if updateStatus "setFSM:" && the fullscreenmode of this stack set the backcolor of this cd to the backcolor of this cd end setFSM I had to use your "set the rect of this stack" method to force fullscreenMode to resolve, that's a nice trick. Setting the backcolor of the card to its existing color is a hack workaround that Panos discovered which forces a card redraw. That eliminates the issue where objects outside the card rect don't redraw properly, so now you don't need to lay the device flat to do it. I did wonder why you need the math in the setBackground handler. Doesn't the working screenrect give the right measurements? On 9/1/18 1:35 AM, Brian Milby via use-livecode wrote: > As I like to do, I decided to really over-do the demo test stacks. The one > I mentioned initially is: > > https://milby.us/lc/RotationDemo.livecode > > The one I just finished working on does a bit more: > > https://milby.us/lc/MobileDemo.livecode > > I built both to test resizeStack and rotation on Android. I only have a 5" > Fire, so I only was able to test on one device. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brian at milby7.com Mon Sep 3 17:59:07 2018 From: brian at milby7.com (Brian Milby) Date: Mon, 3 Sep 2018 16:59:07 -0500 Subject: Mobile Rotation Redux In-Reply-To: <0ffa5f34-b7ce-07a8-0aef-45bb891067db@hyperactivesw.com> References: <0ffa5f34-b7ce-07a8-0aef-45bb891067db@hyperactivesw.com> Message-ID: Thanks for running the tests! I've been working on this stack for the past 2 days. I've made quite a bit of progress and switched to using the new handler to set orientation rects. That simplifies things a bit. I had to write some code to figure out the rect to use for device native though (which wouldn't be an issue for a real app since your rect would be fixed at design time). The math is required because you need to translate the rect. The screenrect is absolute for the device. The graphic rect is relative to the card. This is only needed for the "showAll" fullscreenmode. I'm planning on turning the button position action into a group behavior. Once I get that done, I'll post an update. Thanks, Brian On Mon, Sep 3, 2018 at 4:24 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > I ran both stacks on my Pixel and they got exactly the same results you > reported; in other words, everything worked just fine. > > I decided to try my theory that we could combine fullscreenMode with > individual object placement and we can. This will prevent the tiny image > when the device is rotated to landscape. Basically, for a stack that is > taller than it is wide, you want showAll in portrait and noBorder in > landscape. All I had to do was revise your orientationChanged handler > and add some logic to determine the correct fullscreenMode. I suspect > mobileSetFullScreenRectForOrientations would do the same thing, but I > wasn't focused on that. > > So in the MobileDemo stack, revise orientationChanged and add the FSM > function and it should work. The rest of the handlers can remain as-is. > This particular revision only assumes we're using showAll and noBorder; > it doesn't address any others. Those are the two that almost all mobile > apps use. > > on orientationChanged > if the fullscreenmode of this stack is not empty then > send "setBackground" to me in 200 milliseconds > send "setFSM" to me in 250 milliseconds > -- updateStatus "Orientation:" && mobileDeviceOrientation() > end if > end orientationChanged > > on setFSM > if the fullscreenmode of this stack is not among the items of > "showAll,noBorder" then exit setFSM > set the rect of this stack to the effective working screenRect > if mobileDeviceOrientation() contains "landscape" then > set the fullscreenmode of this stack to "noBorder" > else if mobileDeviceOrientation() contains "portrait" then > set the fullscreenmode of this stack to "showAll" > end if > updateStatus "setFSM:" && the fullscreenmode of this stack > set the backcolor of this cd to the backcolor of this cd > end setFSM > > I had to use your "set the rect of this stack" method to force > fullscreenMode to resolve, that's a nice trick. Setting the backcolor of > the card to its existing color is a hack workaround that Panos > discovered which forces a card redraw. That eliminates the issue where > objects outside the card rect don't redraw properly, so now you don't > need to lay the device flat to do it. > > I did wonder why you need the math in the setBackground handler. Doesn't > the working screenrect give the right measurements? > > > On 9/1/18 1:35 AM, Brian Milby via use-livecode wrote: > > As I like to do, I decided to really over-do the demo test stacks. The > one > > I mentioned initially is: > > > > https://milby.us/lc/RotationDemo.livecode > > > > The one I just finished working on does a bit more: > > > > https://milby.us/lc/MobileDemo.livecode > > > > I built both to test resizeStack and rotation on Android. I only have a > 5" > > Fire, so I only was able to test on one device. > > -- > 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 bodine at bodinetraininggames.com Mon Sep 3 18:24:42 2018 From: bodine at bodinetraininggames.com (tbodine) Date: Mon, 3 Sep 2018 17:24:42 -0500 (CDT) Subject: ImageHandles_v105 In-Reply-To: References: Message-ID: <1536013482550-0.post@n4.nabble.com> I will definitely check this out. Thanks! Tom B. -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From ahsoftware at sonic.net Mon Sep 3 18:36:18 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 3 Sep 2018 15:36:18 -0700 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: <97a808b2-8a79-a789-3fe5-99360a296066@hyperactivesw.com> References: <97a808b2-8a79-a789-3fe5-99360a296066@hyperactivesw.com> Message-ID: <927c8db5-b772-2b15-b5be-585693e11cdd@sonic.net> On 09/03/2018 01:56 PM, J. Landman Gay via use-livecode wrote: > Maybe run it on a Mac, I wasn't able to unhilite the verify button. Well, that's distressing. I did try it on osx before releasing it, but I'll go back and check it again - may have skipped a version. -- -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Mon Sep 3 19:35:58 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 03 Sep 2018 18:35:58 -0500 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: <927c8db5-b772-2b15-b5be-585693e11cdd@sonic.net> References: <97a808b2-8a79-a789-3fe5-99360a296066@hyperactivesw.com> <927c8db5-b772-2b15-b5be-585693e11cdd@sonic.net> Message-ID: <165a1caf730.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I found it, simple oversight I think. The mouseUp in the button doesn't set the hilite. Easy to fix. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 3, 2018 5:38:06 PM Mark Wieder via use-livecode wrote: > On 09/03/2018 01:56 PM, J. Landman Gay via use-livecode wrote: > >> Maybe run it on a Mac, I wasn't able to unhilite the verify button. > Well, that's distressing. I did try it on osx before releasing it, but > I'll go back and check it again - may have skipped a version. > > -- > -- > 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 ahsoftware at sonic.net Mon Sep 3 22:08:33 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 3 Sep 2018 19:08:33 -0700 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: <165a1caf730.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <97a808b2-8a79-a789-3fe5-99360a296066@hyperactivesw.com> <927c8db5-b772-2b15-b5be-585693e11cdd@sonic.net> <165a1caf730.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <86cf9763-c724-b6c8-9951-457984b278d2@sonic.net> On 09/03/2018 04:35 PM, J. Landman Gay via use-livecode wrote: > I found it, simple oversight I think. The mouseUp in the button doesn't > set the hilite. Easy to fix. My bad - I actually uploaded an earlier version (and it explicitly set the hilite to true. New fixed version uploaded now. In my defense... well, I don't really have a defense: this was slapped together in about a half-hour of programming, and I should know better. -- Mark Wieder ahsoftware at gmail.com From iphonelagi at gmail.com Tue Sep 4 05:17:22 2018 From: iphonelagi at gmail.com (Lagi Pittas) Date: Tue, 4 Sep 2018 10:17:22 +0100 Subject: Where's Fraser? In-Reply-To: References: Message-ID: Yes it is him, his linked in says he works for Dejero. I hope he tells them to use LC going forward - especially on the Raspberry Pi. Would be nice if he was still on this list and popped in and said Hi. Lagi On Mon, 3 Sep 2018 at 21:42, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 9/3/18 10:57 AM, Mark Wieder via use-livecode wrote: > > On 09/03/2018 06:53 AM, Lagi Pittas via use-livecode wrote: > >> In the spirit of where's wally > >> > >> Can you spot Fraser in this Pic? > >> > >> https://www.dejero.com/about-us/profile > > > > Ha! Well, that certainly looks like Fraser. Is that really him? > > Gotta be. Who else would camouflage himself that way? :) > > -- > 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 panos.merakos at livecode.com Tue Sep 4 10:39:07 2018 From: panos.merakos at livecode.com (panagiotis merakos) Date: Tue, 4 Sep 2018 17:39:07 +0300 Subject: [ANN] Release 9.0.1 RC-3 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.0.1 RC-3. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 9.0.1 RC-3 comes with 1 regression bug fix: Bug 21532 - Drag and Drop Functionality not working with LC versions 9.0.1 rc1 and rc2 on Mac Since the last stable release (9.0.0), more than 100 bugs have been fixed. Known issues ================ - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS yet. The full release notes are available from: http://downloads.livecode.com/livecode/9_0_1/LiveCodeNotes-9_0_1_rc_3.pdf Feedback ======== Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 Have fun! The LiveCode Team -- From rdimola at evergreeninfo.net Tue Sep 4 10:58:25 2018 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 4 Sep 2018 10:58:25 -0400 Subject: Android install on Lollypop 9.01 rc2 In-Reply-To: References: Message-ID: <002e01d4445f$bdf578f0$39e06ad0$@net> I have a tester that can't install an apk on a v5 Android device. All that the package installer says is "App not installed". No other error message. Anyone seen this??? Is this that min version thingy? Thanks in advance... Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From bobsneidar at iotecdigital.com Tue Sep 4 11:12:24 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 4 Sep 2018 15:12:24 +0000 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: References: Message-ID: <6D50BD78-857C-4953-852C-87EDE03FC107@iotecdigital.com> Handy, but it didn't quite work correctly. I selected all but the 9.0.1 rc1, and tried to uncheck confirm, but it confirmed anyway, and deleted everything but the first 8. I had to do multiple passes before I got them all. Clicking the confirmation checkbox did not unhilite the button, but rather showed and hid a green checkmark icon. Bob S From ahsoftware at sonic.net Tue Sep 4 11:19:59 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 4 Sep 2018 08:19:59 -0700 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: <6D50BD78-857C-4953-852C-87EDE03FC107@iotecdigital.com> References: <6D50BD78-857C-4953-852C-87EDE03FC107@iotecdigital.com> Message-ID: <4a98818b-55fe-af70-21e3-8b56ba59af24@sonic.net> On 09/04/2018 08:12 AM, Bob Sneidar via use-livecode wrote: > Handy, but it didn't quite work correctly. I selected all but the 9.0.1 rc1, and tried to uncheck confirm, but it confirmed anyway, and deleted everything but the first 8. I had to do multiple passes before I got them all. > > Clicking the confirmation checkbox did not unhilite the button, but rather showed and hid a green checkmark icon. Yeah. Grab it again. It's fixed now. -- Mark Wieder ahsoftware at gmail.com From klaus at major-k.de Tue Sep 4 11:27:55 2018 From: klaus at major-k.de (Klaus major-k) Date: Tue, 4 Sep 2018 17:27:55 +0200 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: <4a98818b-55fe-af70-21e3-8b56ba59af24@sonic.net> References: <6D50BD78-857C-4953-852C-87EDE03FC107@iotecdigital.com> <4a98818b-55fe-af70-21e3-8b56ba59af24@sonic.net> Message-ID: <0F6B9C96-455C-403B-BEC5-681252D0C15B@major-k.de> Hi Mark, > Am 04.09.2018 um 17:19 schrieb Mark Wieder via use-livecode : > > On 09/04/2018 08:12 AM, Bob Sneidar via use-livecode wrote: >> Handy, but it didn't quite work correctly. I selected all but the 9.0.1 rc1, and tried to uncheck confirm, but it confirmed anyway, and deleted everything but the first 8. I had to do multiple passes before I got them all. >> Clicking the confirmation checkbox did not unhilite the button, but rather showed and hid a green checkmark icon. > Yeah. Grab it again. It's fixed now. except the embarrasing "checkbox-group". 8-) > -- > Mark Wieder > ahsoftware at gmail.com Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From brahma at hindu.org Tue Sep 4 11:38:40 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 4 Sep 2018 15:38:40 +0000 Subject: fullscreenmode and rect of a substack on mobile device ? References: <3AD3CF89-6E4C-4608-A9FC-E56DDADFD115@laposte.net> <99f39315-d93c-ba00-db5f-423ef3d209c1@fourthworld.com> <30FD572A-30CA-40CB-B1C0-020AEEDC6E4F@laposte.net> <1328e2f1-58fa-6064-e95f-10bf0638da95@hyperactivesw.com> <1824CAC0-CE27-4111-8BD1-8A048BB30790@laposte.net> <41d8b732-0ac1-3391-726e-1897b036916e@hyperactivesw.com> <9f843be1-a551-1140-166b-3f24400f5e5f@hyperactivesw.com> <2c04f777-aaf6-4926-8abb-5fb90eac61cc@Spark> <856297c9-ae29-e3b9-533e-8479dcd84003@hyperactivesw.com> <9222e7d8-41e0-461f-b569-4cc9f7c8fda6@Spark> <2190bceb-48bd-4069-8a53-271a38775fec@hyperactivesw.com> Message-ID: I woke up with a "dream" saying ..."hmmm maybe it just a timing issue; stay away from "preopen[anything] At least in my case, this worked out of box, super simple 9 line of code to get initial placement 12 line of code in my resize handler ! So long as a) the card is rendered b) all other open and close stack operation are finished c) and you stay away from preopenstack/preopencard # disclaimer -- could have kept going to find the exact recipe in the pre* handlers # may be they would work # But I have spent too much time to fiddle with it more. *local*LocalArray, sScreenRect *on*openCard *# hide browser for now * * hide*widget"body" * if* isMobile() *then* * send*"setUpStackRect"tomein500milliseconds * end* *if* *end*openCard *-------------* *--# Geometry, initial placement * *on*setupStackRect * put*mobileRectGet() intosScreenRect # get to screenrect of the main backscript library *# place footer* * set*bottomof*group*"footer"toitem4ofsScreenRect * set*loc*group*"footer"toround((item3ofsScreenRect)/2),(item4ofsScreenRect)-25 * show**group*"footer" *# place Browser* * subtract*50fromitem4ofsScreenRect * set*therectofwidget"body"tosScreenRect * show*widget"body" *end*setupStackRect *on*resizeStack pNewWidth, pNewHeight, pOldWidth, pOldHeight * # check it is landscape, turn off the navigation Bar* * if* pNewWidth > pNewHeight *then* *-- landscape* * put*0, 0, pNewWidth, pNewHeight intotBrowserRect * set*locwidget"body"to( round(pNewWidth/2), round(pNewHeight/2) ) * hide**group*"footer" * else* * put*0, 0, pNewWidth, pNewHeight - 50intotBrowserRect * set*loc*group*"footer"to( round(pNewWidth/2),pNewHeight-25) * show**group*"footer" * end* *if* * set*therectofwidget"body"ofmetotBrowserRect *end*resizeStack BR On 8/24/18 5:43 PM, J. Landman Gay via use-livecode wrote: > It's more complicated than that. Using the iPad Air simulator and this > preOpenCard handler: > > on preopenstack > mobileSetAllowedOrientations("portrait") > iphoneUseDeviceResolution true,true > end preopenstack > > When I press the "Get the rect" button it reports the stack, card, and > screenrect are all 0,0,640,960. -- Svasti Astu, Be Well! Brahmanathaswami Get the SivaSiva app, it's free: https://www.himalayanacademy.com/apps/sivasiva From jacque at hyperactivesw.com Tue Sep 4 11:43:13 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 04 Sep 2018 10:43:13 -0500 Subject: Android install on Lollypop 9.01 rc2 In-Reply-To: <002e01d4445f$bdf578f0$39e06ad0$@net> References: <002e01d4445f$bdf578f0$39e06ad0$@net> Message-ID: <165a5407e80.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> It could be the minimum required version, check that first. Also be sure the app has been signed (for development only is okay.) It can also happen if the app manifest requires permissions or features that Android 5 doesn't support. Apps are also not installed if the device already has a previous copy with the same build number, but in that case you don't usually get an error message. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 4, 2018 9:58:00 AM Ralph DiMola via use-livecode wrote: > I have a tester that can't install an apk on a v5 Android device. All that > the package installer says is "App not installed". No other error message. > Anyone seen this??? Is this that min version thingy? > > Thanks in advance... > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Sep 4 11:56:14 2018 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 4 Sep 2018 11:56:14 -0400 Subject: Android install on Lollypop 9.01 rc2 In-Reply-To: <165a5407e80.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <002e01d4445f$bdf578f0$39e06ad0$@net> <165a5407e80.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <003801d44467$d1f399b0$75dacd10$@net> J, Thanks. I need to resolve this ASAP as this is a customer's device. 1) The app is signed and uploaded to PlayStore Beta(So in-app purchasing stuff will work). 2) The min version is set to 4.1. 3) I have not set any new permissions from the v 8.1.10 build. Could this be a target version issue? This was discussed awhile back. I'm going to go back to 8.1.10 and see if it still installs. V5 is still 20% of market. 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 via use-livecode Sent: Tuesday, September 04, 2018 11:43 AM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: Android install on Lollypop 9.01 rc2 It could be the minimum required version, check that first. Also be sure the app has been signed (for development only is okay.) It can also happen if the app manifest requires permissions or features that Android 5 doesn't support. Apps are also not installed if the device already has a previous copy with the same build number, but in that case you don't usually get an error message. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 4, 2018 9:58:00 AM Ralph DiMola via use-livecode wrote: > I have a tester that can't install an apk on a v5 Android device. All > that the package installer says is "App not installed". No other error message. > Anyone seen this??? Is this that min version thingy? > > Thanks in advance... > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 dan at clearvisiontech.com Tue Sep 4 12:01:47 2018 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 4 Sep 2018 16:01:47 +0000 Subject: androidRecorderStartRecording Fail on Second Attempt Message-ID: <26EC867E-EFB1-4299-9579-FA2A53A5C823@clearvisiontech.com> Greetings! If I use androidRecorderStartRecording to record on Android, it works perfectly! However, If I attempt to call androidRecorderStartRecording again duiring the same app session, it doesn?t work? it just halts. Here?s exactly what I?m doing: In a button I do this: androidRecorderSetRecordFormat "MPEG-4" androidRecorderStartRecording fPath Click the button again, and I do this: try androidRecorderStopRecording //will error if not currently recording end try I can call "play fPath" and the file plays correctly. Click the button again, and I do this (same as before): androidRecorderSetRecordFormat "MPEG-4" androidRecorderStartRecording fPath //FAILS! //yes, fPath is valid it's the same path as previously used I tried to get the result after the second call of androidRecorderStartRecording but it couldn't report the result as it had already halted execution. I don't see a androidRecorderReset. Also, I tried deleting fPath thinking it worked when there wasn't a file, but that didn't help. If I reboot the app on the device, it will work again? but only once. Any thoughts? Thanks in advance, -Dan From jacque at hyperactivesw.com Tue Sep 4 12:13:03 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 04 Sep 2018 11:13:03 -0500 Subject: Android install on Lollypop 9.01 rc2 In-Reply-To: <003801d44467$d1f399b0$75dacd10$@net> References: <002e01d4445f$bdf578f0$39e06ad0$@net> <165a5407e80.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <003801d44467$d1f399b0$75dacd10$@net> Message-ID: <165a55bceb0.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I suppose it could be the target version but that shouldn't really matter. The minimum version should still apply. When my Android v6 downloads an app with a higher target I just get a warning in the Play Store that it may not be optimized for my device, but it still installs and runs. Let us know if you figure it out. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 4, 2018 10:55:46 AM Ralph DiMola via use-livecode wrote: > J, > > Thanks. > I need to resolve this ASAP as this is a customer's device. > > 1) The app is signed and uploaded to PlayStore Beta(So in-app purchasing > stuff will work). > 2) The min version is set to 4.1. > 3) I have not set any new permissions from the v 8.1.10 build. > > Could this be a target version issue? This was discussed awhile back. > > I'm going to go back to 8.1.10 and see if it still installs. V5 is still 20% > of market. > > 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 via use-livecode > Sent: Tuesday, September 04, 2018 11:43 AM > To: How to use LiveCode > Cc: J. Landman Gay > Subject: Re: Android install on Lollypop 9.01 rc2 > > It could be the minimum required version, check that first. Also be sure the > app has been signed (for development only is okay.) It can also happen if > the app manifest requires permissions or features that Android 5 doesn't > support. > > Apps are also not installed if the device already has a previous copy with > the same build number, but in that case you don't usually get an error > message. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | > http://www.hyperactivesw.com On September 4, 2018 9:58:00 AM Ralph DiMola > via use-livecode wrote: > >> I have a tester that can't install an apk on a v5 Android device. All >> that the package installer says is "App not installed". No other error > message. >> Anyone seen this??? Is this that min version thingy? >> >> Thanks in advance... >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 at canelasoftware.com Tue Sep 4 12:37:25 2018 From: mark at canelasoftware.com (Mark Talluto) Date: Tue, 4 Sep 2018 09:37:25 -0700 Subject: ImageHandles_v105 In-Reply-To: References: Message-ID: <16523927-82D4-4139-968A-16D97B753C03@canelasoftware.com> Hi Hermann. That was fun to explore. Your work on graphics and images is amazing. Best regards, Mark Talluto livecloud.io nursenotes.net canelasoftware.com > On Sep 1, 2018, at 9:27 AM, hh via use-livecode wrote: > > Just uploaded hhImageHandles to "Sample Stacks". From jacque at hyperactivesw.com Tue Sep 4 14:23:33 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 4 Sep 2018 13:23:33 -0500 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: <86cf9763-c724-b6c8-9951-457984b278d2@sonic.net> References: <97a808b2-8a79-a789-3fe5-99360a296066@hyperactivesw.com> <927c8db5-b772-2b15-b5be-585693e11cdd@sonic.net> <165a1caf730.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <86cf9763-c724-b6c8-9951-457984b278d2@sonic.net> Message-ID: <6d1e0e85-5c4c-0041-ab9d-6ab53ed35764@hyperactivesw.com> On 9/3/18 9:08 PM, Mark Wieder via use-livecode wrote: > My bad - I actually uploaded an earlier version Nah, your good. This is really useful, and the error was trivial. You also have to be credited with finding those files that most of us didn't know existed. I can't believe the cruft my drive accumulated, and Time Machine was faithfully duplicating all of it -- which is probably one reason I had to buy a second backup drive. Kudos on you. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Tue Sep 4 16:34:36 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 4 Sep 2018 20:34:36 +0000 Subject: Play YouTube in Portrait and Turn Landscape Message-ID: can any place browser widget a) on portrait mode b) with a youTube embed URL https://www.youtube.com/embed/2dSHAzV-cAA c) start to play d) turn phone landscape and will it still continue to see it? I am getting the audio, but the picture is appears. BR From bobsneidar at iotecdigital.com Tue Sep 4 16:52:18 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 4 Sep 2018 20:52:18 +0000 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: <4a98818b-55fe-af70-21e3-8b56ba59af24@sonic.net> References: <6D50BD78-857C-4953-852C-87EDE03FC107@iotecdigital.com> <4a98818b-55fe-af70-21e3-8b56ba59af24@sonic.net> Message-ID: <5592605B-8EDC-4A42-A73E-616D3CC33AD7@iotecdigital.com> As usual, I posted, THEN read the thread. :-) Bob S > On Sep 4, 2018, at 08:19 , Mark Wieder via use-livecode wrote: > > On 09/04/2018 08:12 AM, Bob Sneidar via use-livecode wrote: >> Handy, but it didn't quite work correctly. I selected all but the 9.0.1 rc1, and tried to uncheck confirm, but it confirmed anyway, and deleted everything but the first 8. I had to do multiple passes before I got them all. >> Clicking the confirmation checkbox did not unhilite the button, but rather showed and hid a green checkmark icon. > > Yeah. Grab it again. It's fixed now. > > -- > 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 chipsm at themartinz.com Tue Sep 4 16:55:41 2018 From: chipsm at themartinz.com (chipsm at themartinz.com) Date: Tue, 4 Sep 2018 13:55:41 -0700 Subject: Android install on Lollypop 9.01 rc2 In-Reply-To: <002e01d4445f$bdf578f0$39e06ad0$@net> References: <002e01d4445f$bdf578f0$39e06ad0$@net> Message-ID: <003a01d44491$a40cb570$ec262050$@themartinz.com> Make sure that you uninstall any previous versions of your software first. Sincerely, Clarence Martin Email: Chipsm at themartinz.com Cell: 626 696-5561 -----Original Message----- From: use-livecode On Behalf Of Ralph DiMola via use-livecode Sent: Tuesday, September 04, 2018 7:58 AM To: 'How to use LiveCode' Cc: Ralph DiMola Subject: Android install on Lollypop 9.01 rc2 I have a tester that can't install an apk on a v5 Android device. All that the package installer says is "App not installed". No other error message. Anyone seen this??? Is this that min version thingy? Thanks in advance... Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net _______________________________________________ use-livecode mailing list use-livecode 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 Tue Sep 4 17:40:07 2018 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 4 Sep 2018 17:40:07 -0400 Subject: Play YouTube in Portrait and Turn Landscape In-Reply-To: References: Message-ID: <005901d44497$dc810360$95830a20$@net> Works for me perfectly(embedded YouTube). The audio is uninterrupted and the video pauses for maybe 0.05 seconds and continues and remains in sync with audio. I don't use the widget. I use the mobile control browser for 2 reasons. 1) there is no equivalent to "canretreat" or "canadvance" in the widget. 2) no pinch and zoom on Android with the Widget. The fact I even mentioned video/audio syncing is just crazy! How could we have rock solid synced picture and sound since 1927 until digital video? This would seem like it should be video 101. I see it online AND on broadcast TV. Really???? I turn off whatever I am watching and wonder why the rest of the world can live with this pre 1927 hand cranked projector with a cylinder victrola sync quality? 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 Sannyasin Brahmanathaswami via use-livecode Sent: Tuesday, September 04, 2018 4:35 PM To: How to use LiveCode Cc: Sannyasin Brahmanathaswami Subject: Play YouTube in Portrait and Turn Landscape can any place browser widget a) on portrait mode b) with a youTube embed URL https://www.youtube.com/embed/2dSHAzV-cAA c) start to play d) turn phone landscape and will it still continue to see it? I am getting the audio, but the picture is appears. 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 matthias_livecode_150811 at m-r-d.de Tue Sep 4 18:56:53 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 5 Sep 2018 00:56:53 +0200 Subject: Timezone library - how to use in Livecode Server? Message-ID: <36106D52-96C4-4C66-A838-1ACAA679CFB5@m-r-d.de> Hi, i?ve just noticed that the new Timezone Library is not available under Livecode server. I?ve checked the Extension folder of the desktop version of LC and found an .lcb file, which means that the library was written in Livecode Builder. Is there a way to use such libraries with Livecode Server? Or are LCB libraries not usable under LC server in general? Regards, Matthias From mark at canelasoftware.com Tue Sep 4 19:07:02 2018 From: mark at canelasoftware.com (Mark Talluto) Date: Tue, 4 Sep 2018 16:07:02 -0700 Subject: Contractors and open source software Message-ID: <62648AB0-F760-4D1B-A2C3-D8BC88ACE3FD@canelasoftware.com> I had to work through a contract recently. This particular section was interesting. Thought I would share it here. I changed the organization name to [company] to protect this well respected entity. I can understand their view on the use of open source software. What are your thoughts? - - - Public Software. Contractor will inform [company] in advance of incorporating any open source software into deliverables or services provided to [company] under this Agreement, provide [company] with an analysis of alternative options that do not include open source software, and will proceed with the use of open source software only to the extent of [company]?s written consent. To the extent Contractor incorporates permitted open source software into products or services provided to [company] under this Agreement such open source software (and/or Contractor?s inclusion thereof) will not require any software developed or delivered under the Agreement to be disclosed or distributed in source code form or made freely available to others. - - - Best regards, Mark Talluto livecloud.io nursenotes.net canelasoftware.com From waprothero at gmail.com Tue Sep 4 19:32:34 2018 From: waprothero at gmail.com (William Prothero) Date: Tue, 4 Sep 2018 16:32:34 -0700 Subject: 3WDevolution question In-Reply-To: <62648AB0-F760-4D1B-A2C3-D8BC88ACE3FD@canelasoftware.com> References: <62648AB0-F760-4D1B-A2C3-D8BC88ACE3FD@canelasoftware.com> Message-ID: <20B7C676-8339-4058-BD95-19DC01EB2774@gmail.com> Folks (Richard?): Ok, I know this is really easy, I did it when I first installed it, and I?m probably just not seeing something, but ??.. I?m on Apple, 10.13.3 and LC 9.0.1 How do I get rid of the white background that covers the desktop when 4WDevolution is launched? I have gotten used to Devolution and like it, but it has become a bit annoying lately. Second question: Since 9.0.1 RC1 of livecode, the 4WDevo tool palette will not stay on the left side. It is exactly offset to show both the LCE tools palette and the 4WDevo tools palette. But, if I want to toggle between them, having it offset is a pain. I can move it over using the Desktop feature of 4WDevo, but then it pops back to the right after clicking on the 4WDevo palette. Or, just drag it to the right, then it won?t drag back to the left where it started. Could somebody remind me of how to hide the full screen background? Since Devo only began the palette location wierdness since LC 9 RC 1, I assume it?s a bug. Best, Bill William A. Prothero http://earthlearningsolutions.org From bobsneidar at iotecdigital.com Tue Sep 4 19:34:29 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 4 Sep 2018 23:34:29 +0000 Subject: Contractors and open source software In-Reply-To: <62648AB0-F760-4D1B-A2C3-D8BC88ACE3FD@canelasoftware.com> References: <62648AB0-F760-4D1B-A2C3-D8BC88ACE3FD@canelasoftware.com> Message-ID: The big question I have is, do they mean the app you develop is open source, as in my Forms Generator project for example, or do they mean developed with open source software? As far as I know, the Indy and Business versions are not considered Open Source, and so what you develop with them, unless you make it so, is not Open Source. The Community version license I think specifies that you cannot create software for resale, you have to purchase a commercial license, so you can't produce commercial software with Community without violating the license. I will be corrected if this is not the case. Bob S > On Sep 4, 2018, at 16:07 , Mark Talluto via use-livecode wrote: > > I had to work through a contract recently. This particular section was interesting. Thought I would share it here. I changed the organization name to [company] to protect this well respected entity. > > I can understand their view on the use of open source software. What are your thoughts? > > - - - > Public Software. Contractor will inform [company] in advance of incorporating any open source software into deliverables or services provided to [company] under this Agreement, provide [company] with an analysis of alternative options that do not include open source software, and will proceed with the use of open source software only to the extent of [company]?s written consent. To the extent Contractor incorporates permitted open source software into products or services provided to [company] under this Agreement such open source software (and/or Contractor?s inclusion thereof) will not require any software developed or delivered under the Agreement to be disclosed or distributed in source code form or made freely available to others. > - - - > > > Best regards, > > Mark Talluto From waprothero at gmail.com Tue Sep 4 19:35:36 2018 From: waprothero at gmail.com (William Prothero) Date: Tue, 4 Sep 2018 16:35:36 -0700 Subject: 3WDevolution question In-Reply-To: <20B7C676-8339-4058-BD95-19DC01EB2774@gmail.com> References: <62648AB0-F760-4D1B-A2C3-D8BC88ACE3FD@canelasoftware.com> <20B7C676-8339-4058-BD95-19DC01EB2774@gmail.com> Message-ID: Oh, gaads. I found the View/Backdrop menu setting to move it to the background. Never mind?. Ok, the tools palette offset is still annoying. Bill > On Sep 4, 2018, at 4:32 PM, William Prothero via use-livecode wrote: > > Folks (Richard?): > Ok, I know this is really easy, I did it when I first installed it, and I?m probably just not seeing something, but ??.. > > I?m on Apple, 10.13.3 and LC 9.0.1 > > How do I get rid of the white background that covers the desktop when 4WDevolution is launched? I have gotten used to Devolution and like it, but it has become a bit annoying lately. > > Second question: Since 9.0.1 RC1 of livecode, the 4WDevo tool palette will not stay on the left side. It is exactly offset to show both the LCE tools palette and the 4WDevo tools palette. But, if I want to toggle between them, having it offset is a pain. I can move it over using the Desktop feature of 4WDevo, but then it pops back to the right after clicking on the 4WDevo palette. Or, just drag it to the right, then it won?t drag back to the left where it started. > > Could somebody remind me of how to hide the full screen background? Since Devo only began the palette location wierdness since LC 9 RC 1, I assume it?s a bug. > > Best, > Bill > > William A. Prothero > http://earthlearningsolutions.org > > _______________________________________________ > use-livecode mailing list > use-livecode 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 warren at warrensweb.us Tue Sep 4 19:57:43 2018 From: warren at warrensweb.us (Warren Samples) Date: Tue, 4 Sep 2018 18:57:43 -0500 Subject: Contractors and open source software In-Reply-To: <62648AB0-F760-4D1B-A2C3-D8BC88ACE3FD@canelasoftware.com> References: <62648AB0-F760-4D1B-A2C3-D8BC88ACE3FD@canelasoftware.com> Message-ID: <20180904185743.6e4bbaae@mattie-ant> On Tue, 4 Sep 2018 16:07:02 -0700 Mark Talluto via use-livecode wrote: > Public Software. Contractor will inform [company] in advance of incorporating any open source software into deliverables or services provided to [company] under this Agreement, provide [company] with an analysis of alternative options that do not include open source software, and will proceed with the use of open source software only to the extent of [company]?s written consent. To the extent Contractor incorporates permitted open source software into products or services provided to [company] under this Agreement such open source software (and/or Contractor?s inclusion thereof) will not require any software developed or delivered under the Agreement to be disclosed or distributed in source code form or made freely available to others. > - - - > > > Best regards, > > Mark Talluto It seems reasonable. They want to avoid any unanticipated legal hassles ($$$) with open-source license holders, and also avoid having to turn over anything that they would prefer to be their own private intellectual property. They're on the ball. How this would play out could depend on which open-source license is involved. There are possibly some that they could accept since they allow more freedom than some others. Warren From mark at canelasoftware.com Tue Sep 4 19:59:49 2018 From: mark at canelasoftware.com (Mark Talluto) Date: Tue, 4 Sep 2018 16:59:49 -0700 Subject: Contractors and open source software In-Reply-To: References: <62648AB0-F760-4D1B-A2C3-D8BC88ACE3FD@canelasoftware.com> Message-ID: I tried looking at is from a very wide perspective and considered that portions of the LiveCode engine are open-sourced, even if we are using the closed source version. Since I am not a fan of being involved in legal situations, I also considered that the software takes advantage of the internet, servers running Linux, PHP and Apache. I do not want to leave any potential legal issues uncovered. So, we requested to have that section removed from the contract. Guess what? They took it out. Now I have nothing to worry about. Still found it interesting. -Mark Talluto > On Sep 4, 2018, at 4:34 PM, Bob Sneidar via use-livecode wrote: > > The big question I have is, do they mean the app you develop is open source, as in my Forms Generator project for example, or do they mean developed with open source software? As far as I know, the Indy and Business versions are not considered Open Source, and so what you develop with them, unless you make it so, is not Open Source. > > The Community version license I think specifies that you cannot create software for resale, you have to purchase a commercial license, so you can't produce commercial software with Community without violating the license. > > I will be corrected if this is not the case. > > Bob S > > >> On Sep 4, 2018, at 16:07 , Mark Talluto via use-livecode wrote: >> >> I had to work through a contract recently. This particular section was interesting. Thought I would share it here. I changed the organization name to [company] to protect this well respected entity. >> >> I can understand their view on the use of open source software. What are your thoughts? >> >> - - - >> Public Software. Contractor will inform [company] in advance of incorporating any open source software into deliverables or services provided to [company] under this Agreement, provide [company] with an analysis of alternative options that do not include open source software, and will proceed with the use of open source software only to the extent of [company]?s written consent. To the extent Contractor incorporates permitted open source software into products or services provided to [company] under this Agreement such open source software (and/or Contractor?s inclusion thereof) will not require any software developed or delivered under the Agreement to be disclosed or distributed in source code form or made freely available to others. >> - - - >> >> >> Best regards, >> >> Mark Talluto > > _______________________________________________ > use-livecode mailing list > use-livecode 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 waprothero at gmail.com Tue Sep 4 20:14:07 2018 From: waprothero at gmail.com (William Prothero) Date: Tue, 4 Sep 2018 17:14:07 -0700 Subject: 3WDevolution question In-Reply-To: References: <62648AB0-F760-4D1B-A2C3-D8BC88ACE3FD@canelasoftware.com> <20B7C676-8339-4058-BD95-19DC01EB2774@gmail.com> Message-ID: <6267661E-132F-4FE3-9B6F-231F2AEB6EE9@gmail.com> Must be a bad day. It?s 4World, of course. Bill >> >> Second question: Since 9.0.1 RC1 of livecode, the 4WDevo tool palette will not stay on the left side. It is exactly offset to show both the LCE tools palette and the 4WDevo tools palette. But, if I want to toggle between them, having it offset is a pain. I can move it over using the Desktop feature of 4WDevo, but then it pops back to the right after clicking on the 4WDevo palette. Or, just drag it to the right, then it won?t drag back to the left where it started. >> >> Best, >> Bill >> >> William A. Prothero >> http://earthlearningsolutions.org >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 ahsoftware at sonic.net Tue Sep 4 20:34:27 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 4 Sep 2018 17:34:27 -0700 Subject: Contractors and open source software In-Reply-To: <20180904185743.6e4bbaae@mattie-ant> References: <62648AB0-F760-4D1B-A2C3-D8BC88ACE3FD@canelasoftware.com> <20180904185743.6e4bbaae@mattie-ant> Message-ID: <04fc15ce-1416-f969-e8fb-a1daceb374a8@sonic.net> On 09/04/2018 04:57 PM, Warren Samples via use-livecode wrote: > It seems reasonable. They want to avoid any unanticipated legal hassles ($$$) with open-source license holders, and also avoid having to turn over anything that they would prefer to be their own private intellectual property. They're on the ball. How this would play out could depend on which open-source license is involved. There are possibly some that they could accept since they allow more freedom than some others. That's my take as well. They're looking ahead to avoid conflicting licenses and keep out of legal trouble. I haven't seen that in a contract before, but now that I see it I'm surprised why not. No doubt it's a good thing that they pulled it out - it's something for the lawyer types to throw around. A few years ago I found a clause in an nda that, among other things, stipulated that I was not to disclose the existence of the nda (!). I squawked about it and refused to sign and the lawyers struck the clause. -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Tue Sep 4 23:29:51 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 4 Sep 2018 20:29:51 -0700 Subject: Contractors and open source software In-Reply-To: References: Message-ID: <70d585bd-efcd-68c8-fcb8-7030f6bb8243@fourthworld.com> Bob Sneidar wrote: > The Community version license I think specifies that you cannot create > software for resale, you have to purchase a commercial license, so you > can't produce commercial software with Community without violating the > license. > > I will be corrected if this is not the case. Your friendly neighborhood FOSS curmudgeon at your service. :) The GPL expresses no opinion about charging a price for software. The "free" in "Free Software" is about freedom: you are free to use the software however you like, modify it however you like, and share the modifications with anyone you like. As a practical matter, though, Free Software is also usually given away without cost. This is not a licensing requirement, but merely a reflection of the economic reality at play: if your user has the right to share the software with anyone at any price or no price at all, they usually will, so you'd sell exactly one copy. -- 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 Sep 4 23:41:01 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 4 Sep 2018 20:41:01 -0700 Subject: Contractors and open source software In-Reply-To: <62648AB0-F760-4D1B-A2C3-D8BC88ACE3FD@canelasoftware.com> References: <62648AB0-F760-4D1B-A2C3-D8BC88ACE3FD@canelasoftware.com> Message-ID: <7467d5c7-9b91-bd39-55ba-626a0429b516@fourthworld.com> Mark Talluto wrote: > I had to work through a contract recently. This particular section was > interesting. Thought I would share it here. I changed the organization > name to [company] to protect this well respected entity. > > I can understand their view on the use of open source software. What > are your thoughts? > > - - - > Public Software. Contractor will inform [company] in advance of > incorporating any open source software into deliverables or services > provided to [company] under this Agreement, provide [company] with an > analysis of alternative options that do not include open source > software, and will proceed with the use of open source software only > to the extent of [company]?s written consent. To the extent Contractor > incorporates permitted open source software into products or services > provided to [company] under this Agreement such open source software > (and/or Contractor?s inclusion thereof) will not require any software > developed or delivered under the Agreement to be disclosed or > distributed in source code form or made freely available to others. > - - - Warren Samples' reply said it well. Nothing to add beyond an appreciation for predictable licensing. MIT, Apache, GPL - all very popular and well known. Proprietary software allows proprietary delivery, but with a very complicated hitch: you have to review every license of every component carefully to make sure all terms are compatible with one another. This is especially difficult with proprietary software since most licenses are, well, proprietary themselves. > I tried looking at is from a very wide perspective and considered that > portions of the LiveCode engine are open-sourced, even if we are using > the closed source version. If one were delivering something under open source license, I would strongly recommend using the GPL-governed Community Edition. The binaries are similar but not the same, and only the GPL-governed edition gives you the right to redistribute the engine in standalone form under GPL license. > So, we requested to have that section removed from the contract. Guess > what? They took it out. Now I have nothing to worry about. Still found > it interesting. Some of the best business advice I was ever given was from my boss when I was doing contract review for an environmental remediation firm (talk about loooooong contracts): "Their counsel's job is to ask for the world. Your job is to ask for half of it back." -- 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 Sep 4 23:12:49 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 4 Sep 2018 20:12:49 -0700 Subject: 3WDevolution question In-Reply-To: <20B7C676-8339-4058-BD95-19DC01EB2774@gmail.com> References: <20B7C676-8339-4058-BD95-19DC01EB2774@gmail.com> Message-ID: William Prothero wrote: > Folks (Richard?): > Ok, I know this is really easy, I did it when I first installed it, > and I?m probably just not seeing something, but ??.. > > I?m on Apple, 10.13.3 and LC 9.0.1 > > How do I get rid of the white background that covers the desktop when > 4WDevolution is launched? I have gotten used to Devolution and like > it, but it has become a bit annoying lately. Thanks for writing, Bill. I got your email as well, still catching up on my In Box after the long holiday weekend. Replying here is just as good. 4W devo does not alter the IDE's backdrop settings. And unfortunately, I'm not able to reproduce that here. If you open LC's Prefs you should be able to turn off the backdrop from there. If you have any other details which might help me reproduce that I'll be happy to see what I can do, but AFAIK there are no interactions between 4W devo's prefs and LC's. > Second question: Since 9.0.1 RC1 of livecode, the 4WDevo tool palette > will not stay on the left side. It is exactly offset to show both the > LCE tools palette and the 4WDevo tools palette. But, if I want to > toggle between them, having it offset is a pain. I can move it over > using the Desktop feature of 4WDevo, but then it pops back to the > right after clicking on the 4WDevo palette. Or, just drag it to the > right, then it won?t drag back to the left where it started. Another oddity that I'm afraid I can't reproduce. But then again, I spend relatively little time in LC with the IDE's Tool Palette open. I'll play around with it and see what I can find. If you come up with a step-by-step recipe for me to follow that would help. Thanks for the report. -- 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 curry at pair.com Wed Sep 5 00:45:53 2018 From: curry at pair.com (Curry Kenworthy) Date: Wed, 05 Sep 2018 00:45:53 -0400 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report Message-ID: <5B8F5F81.1080005@pair.com> LiveCode 9 (as of 9.0.1 RC 3) is significantly slower than LiveCode 6.7 in a variety of tasks. This is a huge problem, it affects many of the projects I'm doing, and I'm sure others are in the same boat. Fellow boat members: please join my bug report/feature request below! The slowdown can be demonstrated both in test code and in real-world applications. The problem(s) may be in a specific area, but the actual effects on running code are widespread and fairly general, impacting multiple areas in my testing from math and loops to text, chunks, and arrays. I am posting some resources tonight to help draw attention and evaluate this problem, and requesting that LiveCode 9 be optimized to achieve at least speed parity with LiveCode 6 in these areas. (I am encouraged that some LC engine optimization impacting arrays is already underway by LC Mark W., but I want to emphasize and prove beyond doubt that several areas are affected and not only arrays. Therefore I hope this bug reports and test stack(s) will help to confirm whether the optimizations underway also solve the other areas, or whether those areas need further separate optimization.) Resources below. A) QA Bug or Feature Request: https://quality.livecode.com/show_bug.cgi?id=21561 Report on this problem (which negatively impacts end users for existing features) with 2 recipes and downloads (test demo code and real world application). If your own app or code is affected by LC 9 performance, please add your CC and a comment. B) YouTube video: LC Version "Showdown" https://youtu.be/8uhOem46VXg Thorough demonstration and discussion of my tests and the results, pitting LiveCode 6.7 against the latest release of LiveCode 9 in several tasks that evaluate loops, math, text appends, array access, item chunks, and text replace. JavaScript code is also tested and provided to provide additional reference. (Thanks Richard G. for the suggestion! Very interesting results.) C) LC Version "Showdown" demo stack: http://curryk.com/showdown.zip The stack used in the video. See and test the code for yourself. Compares 6.7 and LC 9 (or others, you can use 7 or 8 too) for speed in loops, math, text appends, array access, item chunks, and text replace. (Also has effects used in video competition; this issue has been on my to-do list for some time, and I wanted a stack that looks good, makes comparisons quick and easy, and can serve as a useful platform for current and future tests.) Some buttons have right-click or shift-click alternatives, these are listed in tooltips. If desired, paste the JavaScript (which is automatically placed on the clipboard after each test) into js.do or another web page to compare the JS speed to LC. BTW, I'm only days away from a new WordLib release and have been doing a great deal of cross-version testing with it too. That, and Mark's array effort, were what prompted me to make extra time for this and get it posted today. WordReport is also due for an update, so is WordOut, and performance is something I take very seriously. Beyond that, I place the highest importance on all client app performance too. WordLib code uses a variety of the code areas mentioned here, some arrays but not relying on them heavily in the work, so I consider it a good balanced real-world example of the impact of LC 9 performance. It's pretty hard-hit for big files, because many or most operations in LC 9 take 2x, 3x, or 4x the time compared to LC 6. (In fact I think it's somewhat challenging to find substantial code that is NOT hit by LC 9 performance. I found one example in 9's favor to include in the showdown stack and video.) So again I wanted to emphasize it's not just arrays - that is proven here beyond any doubt in downloadable code and on video. I hope the array optimizations might help the other areas too, but if not, they need attention. Thank you! :) Best wishes, Curry Kenworthy Custom Software Development LiveCode Training and Consulting http://livecodeconsulting.com/ From brian at milby7.com Wed Sep 5 01:23:20 2018 From: brian at milby7.com (Brian Milby) Date: Wed, 5 Sep 2018 00:23:20 -0500 Subject: PreOpenBackground Messages Message-ID: Quick question about the PreOpenBackground messages... If you have 2 background groups that both use the same button as their behavior with the following code: on preOpenBackground put the short id of me after msg end preOpenBackground Wouldn't you expect to see the ID of both groups? I'm seeing the ID of one group twice. Thanks, Brian From waprothero at gmail.com Wed Sep 5 01:27:53 2018 From: waprothero at gmail.com (William Prothero) Date: Tue, 4 Sep 2018 22:27:53 -0700 Subject: 3WDevolution question In-Reply-To: References: <20B7C676-8339-4058-BD95-19DC01EB2774@gmail.com> Message-ID: <7CD31E84-EF0D-4F87-BACC-8531A8B39685@gmail.com> Richard: Here?s what I found on the palette thing. I?m no longer worried about the backdrop because it was just me not seeing that there was a LC toolbar menu item that would turn it off. In fact, I may have been blaming Devo incorrectly, when it was LC?s responsibility. If you, in 9.0.1 RC 2 or 3, drag the 4W toolbar to the right, lift the mouse, then drag it back to the left, I see it refusing to be dragged fully to the left. In LC 8.2.0, it acts normally, but in LC 9.0.1 RC3, it won?t return all the way left. It seems like it?s trying to leave space for the IDE Tools palette, but it doesn?t matter whether it?s visible or not. Richard, I can live with this. I?m on a Mac. It should be very easy to replicate, if it?s happening on your computer. I wonder if there was some change in the messaging in 9.0.1 versions that causes this. Best, Bill > On Sep 4, 2018, at 8:12 PM, Richard Gaskin via use-livecode wrote: > > William Prothero wrote: > >> Folks (Richard?): >> Ok, I know this is really easy, I did it when I first installed it, >> and I?m probably just not seeing something, but ??.. >> >> I?m on Apple, 10.13.3 and LC 9.0.1 >> >> How do I get rid of the white background that covers the desktop when >> 4WDevolution is launched? I have gotten used to Devolution and like >> it, but it has become a bit annoying lately. > > Thanks for writing, Bill. I got your email as well, still catching up > on my In Box after the long holiday weekend. Replying here is just as good. > > 4W devo does not alter the IDE's backdrop settings. And unfortunately, > I'm not able to reproduce that here. > > If you open LC's Prefs you should be able to turn off the backdrop from > there. > > If you have any other details which might help me reproduce that I'll be > happy to see what I can do, but AFAIK there are no interactions between > 4W devo's prefs and LC's. > > > >> Second question: Since 9.0.1 RC1 of livecode, the 4WDevo tool palette >> will not stay on the left side. It is exactly offset to show both the >> LCE tools palette and the 4WDevo tools palette. But, if I want to >> toggle between them, having it offset is a pain. I can move it over >> using the Desktop feature of 4WDevo, but then it pops back to the >> right after clicking on the 4WDevo palette. Or, just drag it to the >> right, then it won?t drag back to the left where it started. > > Another oddity that I'm afraid I can't reproduce. But then again, I > spend relatively little time in LC with the IDE's Tool Palette open. > I'll play around with it and see what I can find. If you come up with a > step-by-step recipe for me to follow that would help. > > Thanks for the report. > > -- > 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 mark at livecode.com Wed Sep 5 01:33:31 2018 From: mark at livecode.com (Mark Waddingham) Date: Wed, 05 Sep 2018 07:33:31 +0200 Subject: Contractors and open source software In-Reply-To: <62648AB0-F760-4D1B-A2C3-D8BC88ACE3FD@canelasoftware.com> References: <62648AB0-F760-4D1B-A2C3-D8BC88ACE3FD@canelasoftware.com> Message-ID: <1db5e99e1bdbae8fd16441fd6c182e81@livecode.com> On 2018-09-05 01:07, Mark Talluto via use-livecode wrote: > I had to work through a contract recently. This particular section was > interesting. Thought I would share it here. I changed the organization > name to [company] to protect this well respected entity. > > I can understand their view on the use of open source software. What > are your thoughts? > > - - - > Public Software. Contractor will inform [company] in advance of > incorporating any open source software into deliverables or services > provided to [company] under this Agreement, provide [company] with an > analysis of alternative options that do not include open source > software, and will proceed with the use of open source software only > to the extent of [company]?s written consent. To the extent Contractor > incorporates permitted open source software into products or services > provided to [company] under this Agreement such open source software > (and/or Contractor?s inclusion thereof) will not require any software > developed or delivered under the Agreement to be disclosed or > distributed in source code form or made freely available to others. > - - - Sounds like a perfectly reasonable clause which is more protection for you than the contractor. Basically it ensures that the Contractor will do necessary due diligence on the software licenses attached to any source-code they incorporate into the project being worked on to ensure that: (a) you as the contractee are happy with using said software under its published terms and are willing to abide by them (for MIT / BSD, that just means an 'open source licenses' file, which you need to one of anyway, as that is part of the commercial license terms of LiveCode). (b) will not let you get into a situation where source-code has been incorporated which means that you entire project must be released under some open source license. Put another way the contractor is saying that: 1) They will notify you of any parts which could be done using open source software, and with other options so you have choice 2) They will not consider viral open source licenses (e.g. GPL) as being suitable for inclusion LiveCode's licensing is pretty straightforward: If you have a commercial license you have the right to use a downloaded distribution in any way which does not contravene the commercial license terms. If you do not have a commercial license then you must be using the Community version, which is licensed under the GPL - which is viral - meaning that any software you create with it must also be distributed under GPL terms. The two variants are, however, completely incompatible in terms of licensing - you can't take parts of (GPL licensed!) community and use them with commercial as that would mean your combined work would end up being GPL, but the commercial part is not, so you cannot distribute (which is a side-effect of the clauses in the GPL). Specific example - you cannot take parts of (GPL Licensed, LiveCode Ltd. Copyrighted) source code, recompile and use with commercial - even if you have a commercial license. That requires a specific commercial source-code license for those particular parts (something which we will always consider on a case-by-case basis - although generally not for zero cost). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From waprothero at gmail.com Wed Sep 5 01:41:37 2018 From: waprothero at gmail.com (William Prothero) Date: Tue, 4 Sep 2018 22:41:37 -0700 Subject: 3WDevolution question In-Reply-To: <7CD31E84-EF0D-4F87-BACC-8531A8B39685@gmail.com> References: <20B7C676-8339-4058-BD95-19DC01EB2774@gmail.com> <7CD31E84-EF0D-4F87-BACC-8531A8B39685@gmail.com> Message-ID: <628A1264-DD8C-422C-A2CE-7A17990D2BED@gmail.com> Richard: I?ve been playing around with this and noticed that if i move the IDE tools palette to the right far enough, the 4WDevo palette will move as far to the left as I want. So that tells me there is some interaction between the IDE tools palette and the 4W palette. Again, if you can?t make it happen, I can live with it, especially now that I?ve played with it a bit more. It?s really pretty minor. Best, Bill > On Sep 4, 2018, at 10:27 PM, William Prothero via use-livecode wrote: > > Richard: > Here?s what I found on the palette thing. I?m no longer worried about the backdrop because it was just me not seeing that there was a LC toolbar menu item that would turn it off. In fact, I may have been blaming Devo incorrectly, when it was LC?s responsibility. > > If you, in 9.0.1 RC 2 or 3, drag the 4W toolbar to the right, lift the mouse, then drag it back to the left, I see it refusing to be dragged fully to the left. In LC 8.2.0, it acts normally, but in LC 9.0.1 RC3, it won?t return all the way left. It seems like it?s trying to leave space for the IDE Tools palette, but it doesn?t matter whether it?s visible or not. > > Richard, I can live with this. I?m on a Mac. It should be very easy to replicate, if it?s happening on your computer. I wonder if there was some change in the messaging in 9.0.1 versions that causes this. > > Best, > Bill > >> On Sep 4, 2018, at 8:12 PM, Richard Gaskin via use-livecode wrote: >> >> William Prothero wrote: >> >>> Folks (Richard?): >>> Ok, I know this is really easy, I did it when I first installed it, >>> and I?m probably just not seeing something, but ??.. >>> >>> I?m on Apple, 10.13.3 and LC 9.0.1 >>> >>> How do I get rid of the white background that covers the desktop when >>> 4WDevolution is launched? I have gotten used to Devolution and like >>> it, but it has become a bit annoying lately. >> >> Thanks for writing, Bill. I got your email as well, still catching up >> on my In Box after the long holiday weekend. Replying here is just as good. >> >> 4W devo does not alter the IDE's backdrop settings. And unfortunately, >> I'm not able to reproduce that here. >> >> If you open LC's Prefs you should be able to turn off the backdrop from >> there. >> >> If you have any other details which might help me reproduce that I'll be >> happy to see what I can do, but AFAIK there are no interactions between >> 4W devo's prefs and LC's. >> >> >> >>> Second question: Since 9.0.1 RC1 of livecode, the 4WDevo tool palette >>> will not stay on the left side. It is exactly offset to show both the >>> LCE tools palette and the 4WDevo tools palette. But, if I want to >>> toggle between them, having it offset is a pain. I can move it over >>> using the Desktop feature of 4WDevo, but then it pops back to the >>> right after clicking on the 4WDevo palette. Or, just drag it to the >>> right, then it won?t drag back to the left where it started. >> >> Another oddity that I'm afraid I can't reproduce. But then again, I >> spend relatively little time in LC with the IDE's Tool Palette open. >> I'll play around with it and see what I can find. If you come up with a >> step-by-step recipe for me to follow that would help. >> >> Thanks for the report. >> >> -- >> 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 rabit at revigniter.com Wed Sep 5 03:51:25 2018 From: rabit at revigniter.com (Ralf Bitter) Date: Wed, 5 Sep 2018 09:51:25 +0200 Subject: Timezone library - how to use in Livecode Server? In-Reply-To: <36106D52-96C4-4C66-A838-1ACAA679CFB5@m-r-d.de> References: <36106D52-96C4-4C66-A838-1ACAA679CFB5@m-r-d.de> Message-ID: <58C91E69-E5E4-4248-9E26-7C0A9EA62FD8@revigniter.com> Hi Matthias, loading extensions (.lcm files) works with LC server too. Please see "load extension" in the dictionary. Ralf > On 5. Sep 2018, at 00:56, Matthias Rebbe via use-livecode wrote: > > Hi, > > i?ve just noticed that the new Timezone Library is not available under Livecode server. I?ve checked the Extension folder of the desktop version of LC and found an .lcb file, which means that the library was written in Livecode Builder. > > Is there a way to use such libraries with Livecode Server? Or are LCB libraries not usable under LC server in general? > > Regards, > > Matthias From matthias_livecode_150811 at m-r-d.de Wed Sep 5 04:07:16 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 5 Sep 2018 10:07:16 +0200 Subject: Timezone library - how to use in Livecode Server? In-Reply-To: <58C91E69-E5E4-4248-9E26-7C0A9EA62FD8@revigniter.com> References: <36106D52-96C4-4C66-A838-1ACAA679CFB5@m-r-d.de> <58C91E69-E5E4-4248-9E26-7C0A9EA62FD8@revigniter.com> Message-ID: <9E1ACA5A-2056-4531-B6B5-A043CEDA79BC@m-r-d.de> Ralf, thank you very much. It?s so easy if one knows how to do. ;) Being able to use LCB built libraries extremely extends LC Server. One question: Did you find out about that by your own or was it announced somewhere, maybe with additional useful information? Regards, Matthias > Am 05.09.2018 um 09:51 schrieb Ralf Bitter via use-livecode : > > Hi Matthias, > > loading extensions (.lcm files) works with LC server too. > Please see "load extension" in the dictionary. > > > Ralf > > >> On 5. Sep 2018, at 00:56, Matthias Rebbe via use-livecode wrote: >> >> Hi, >> >> i?ve just noticed that the new Timezone Library is not available under Livecode server. I?ve checked the Extension folder of the desktop version of LC and found an .lcb file, which means that the library was written in Livecode Builder. >> >> Is there a way to use such libraries with Livecode Server? Or are LCB libraries not usable under LC server in general? >> >> Regards, >> >> Matthias > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 matthias_livecode_150811 at m-r-d.de Wed Sep 5 04:34:44 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 5 Sep 2018 10:34:44 +0200 Subject: Timezone library - how to use in Livecode Server? In-Reply-To: <9E1ACA5A-2056-4531-B6B5-A043CEDA79BC@m-r-d.de> References: <36106D52-96C4-4C66-A838-1ACAA679CFB5@m-r-d.de> <58C91E69-E5E4-4248-9E26-7C0A9EA62FD8@revigniter.com> <9E1ACA5A-2056-4531-B6B5-A043CEDA79BC@m-r-d.de> Message-ID: Hm, seems i was a little bit to quick with my answer. Loading the .lcm and ?put timezones()? outputs all timezones. But executing the following lines load extension from file "./extensions/com.livecode.library.timezone/module.lcm" put the seconds into tDate put FromUniversaltime(tDate, "Europe/Berlin") into tDate convert tDate to dateItems put tDate returns these errors file "/home/xxxxxxx/public_html/xxxxxx/tz.lc" row 4, col 5: extension: error occurred with domain (runtime) row 4, col 5: extension: error occurred with description (unable to load foreign library) row 4, col 5: extension: error occurred with file (timezone.lcb) row 4, col 5: extension: error occurred with line (62) row 4, col 5: extension: error occurred with column (1) row 4, col 5: extension: error occurred with file (timezone.lcb) row 4, col 5: extension: error occurred with line (737) row 4, col 5: extension: error occurred with column (1) row 4, col 5: Function: error in function handler (FromUniversaltime) row 4, col 5: put: error in expression This works in LC IDE (w/o Line 1). Regards, Matthias > Am 05.09.2018 um 10:07 schrieb Matthias Rebbe via use-livecode : > > Ralf, > > thank you very much. It?s so easy if one knows how to do. ;) > > Being able to use LCB built libraries extremely extends LC Server. > > One question: Did you find out about that by your own or was it announced somewhere, maybe with additional useful information? > > Regards, > > Matthias > > > >> Am 05.09.2018 um 09:51 schrieb Ralf Bitter via use-livecode : >> >> Hi Matthias, >> >> loading extensions (.lcm files) works with LC server too. >> Please see "load extension" in the dictionary. >> >> >> Ralf >> >> >>> On 5. Sep 2018, at 00:56, Matthias Rebbe via use-livecode wrote: >>> >>> Hi, >>> >>> i?ve just noticed that the new Timezone Library is not available under Livecode server. I?ve checked the Extension folder of the desktop version of LC and found an .lcb file, which means that the library was written in Livecode Builder. >>> >>> Is there a way to use such libraries with Livecode Server? Or are LCB libraries not usable under LC server in general? >>> >>> Regards, >>> >>> Matthias >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 rabit at revigniter.com Wed Sep 5 05:43:47 2018 From: rabit at revigniter.com (Ralf Bitter) Date: Wed, 5 Sep 2018 11:43:47 +0200 Subject: Timezone library - how to use in Livecode Server? In-Reply-To: References: <36106D52-96C4-4C66-A838-1ACAA679CFB5@m-r-d.de> <58C91E69-E5E4-4248-9E26-7C0A9EA62FD8@revigniter.com> <9E1ACA5A-2056-4531-B6B5-A043CEDA79BC@m-r-d.de> Message-ID: Matthias, in my understanding you need to add the path to the resources where all the zoneinfo is lacated using "with resource path". Ralf > On 5. Sep 2018, at 10:34, Matthias Rebbe via use-livecode wrote: > > Hm, > > seems i was a little bit to quick with my answer. > > Loading the .lcm and ?put timezones()? outputs all timezones. > > But executing the following lines > > load extension from file "./extensions/com.livecode.library.timezone/module.lcm" > put the seconds into tDate > put FromUniversaltime(tDate, "Europe/Berlin") into tDate > convert tDate to dateItems > put tDate > > returns these errors > file "/home/xxxxxxx/public_html/xxxxxx/tz.lc" > row 4, col 5: extension: error occurred with domain (runtime) > row 4, col 5: extension: error occurred with description (unable to load foreign library) > row 4, col 5: extension: error occurred with file (timezone.lcb) > row 4, col 5: extension: error occurred with line (62) > row 4, col 5: extension: error occurred with column (1) > row 4, col 5: extension: error occurred with file (timezone.lcb) > row 4, col 5: extension: error occurred with line (737) > row 4, col 5: extension: error occurred with column (1) > row 4, col 5: Function: error in function handler (FromUniversaltime) > row 4, col 5: put: error in expression > > This works in LC IDE (w/o Line 1). > > > Regards, > > Matthias From rabit at revigniter.com Wed Sep 5 06:24:42 2018 From: rabit at revigniter.com (Ralf Bitter) Date: Wed, 5 Sep 2018 12:24:42 +0200 Subject: Timezone library - how to use in Livecode Server? In-Reply-To: <9E1ACA5A-2056-4531-B6B5-A043CEDA79BC@m-r-d.de> References: <36106D52-96C4-4C66-A838-1ACAA679CFB5@m-r-d.de> <58C91E69-E5E4-4248-9E26-7C0A9EA62FD8@revigniter.com> <9E1ACA5A-2056-4531-B6B5-A043CEDA79BC@m-r-d.de> Message-ID: Hmm... don't remember and don't have any further infos. > On 5. Sep 2018, at 10:07, Matthias Rebbe via use-livecode wrote: > > One question: Did you find out about that by your own or was it announced somewhere, maybe with additional useful information? > > Regards, > > Matthias From paul at researchware.com Wed Sep 5 08:16:33 2018 From: paul at researchware.com (Paul Dupuis) Date: Wed, 5 Sep 2018 08:16:33 -0400 Subject: PreOpenBackground Messages In-Reply-To: References: Message-ID: <4d1bc051-0e32-1a83-2004-f2d0f198b467@researchware.com> Change you code to: put the short id of this me after msg ?On 9/5/2018 1:23 AM, Brian Milby via use-livecode wrote: > Quick question about the PreOpenBackground messages... > > If you have 2 background groups that both use the same button as their > behavior with the following code: > > on preOpenBackground > put the short id of me after msg > end preOpenBackground > > Wouldn't you expect to see the ID of both groups? > I'm seeing the ID of one group twice. > > Thanks, > Brian > _______________________________________________ > use-livecode mailing list > use-livecode 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 brian at milby7.com Wed Sep 5 08:19:31 2018 From: brian at milby7.com (Brian Milby) Date: Wed, 5 Sep 2018 07:19:31 -0500 Subject: PreOpenBackground Messages In-Reply-To: <4d1bc051-0e32-1a83-2004-f2d0f198b467@researchware.com> References: <4d1bc051-0e32-1a83-2004-f2d0f198b467@researchware.com> Message-ID: That yields two copies of the behavior button id Thanks, Brian On Sep 5, 2018, 7:17 AM -0500, Paul Dupuis via use-livecode , wrote: > Change you code to: > > put the short id of this me after msg > > > ?On 9/5/2018 1:23 AM, Brian Milby via use-livecode wrote: > > Quick question about the PreOpenBackground messages... > > > > If you have 2 background groups that both use the same button as their > > behavior with the following code: > > > > on preOpenBackground > > put the short id of me after msg > > end preOpenBackground > > > > Wouldn't you expect to see the ID of both groups? > > I'm seeing the ID of one group twice. > > > > Thanks, > > Brian > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 brian at milby7.com Wed Sep 5 08:21:11 2018 From: brian at milby7.com (Brian Milby) Date: Wed, 5 Sep 2018 07:21:11 -0500 Subject: PreOpenBackground Messages In-Reply-To: <4d1bc051-0e32-1a83-2004-f2d0f198b467@researchware.com> References: <4d1bc051-0e32-1a83-2004-f2d0f198b467@researchware.com> Message-ID: Same issue with openbackground Thanks, Brian On Sep 5, 2018, 7:17 AM -0500, Paul Dupuis via use-livecode , wrote: > Change you code to: > > put the short id of this me after msg > > > ?On 9/5/2018 1:23 AM, Brian Milby via use-livecode wrote: > > Quick question about the PreOpenBackground messages... > > > > If you have 2 background groups that both use the same button as their > > behavior with the following code: > > > > on preOpenBackground > > put the short id of me after msg > > end preOpenBackground > > > > Wouldn't you expect to see the ID of both groups? > > I'm seeing the ID of one group twice. > > > > Thanks, > > Brian > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 tom at makeshyft.com Wed Sep 5 10:15:13 2018 From: tom at makeshyft.com (Tom Glod) Date: Wed, 5 Sep 2018 10:15:13 -0400 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report In-Reply-To: <5B8F5F81.1080005@pair.com> References: <5B8F5F81.1080005@pair.com> Message-ID: Hey Curry, I really appreciate you doing this video / post , hopefully it will have the intended outcome. I must say I am in production with 9 and have been satisfied with the performance so far, but i can't go back to compare.... so I guess I am happy to hear that there is a boost still to come. Thanks again for the efforts. On Wed, Sep 5, 2018 at 12:46 AM Curry Kenworthy via use-livecode < use-livecode at lists.runrev.com> wrote: > > LiveCode 9 (as of 9.0.1 RC 3) is significantly slower than LiveCode 6.7 > in a variety of tasks. This is a huge problem, it affects many of the > projects I'm doing, and I'm sure others are in the same boat. Fellow > boat members: please join my bug report/feature request below! > > The slowdown can be demonstrated both in test code and in real-world > applications. The problem(s) may be in a specific area, but the actual > effects on running code are widespread and fairly general, impacting > multiple areas in my testing from math and loops to text, chunks, and > arrays. I am posting some resources tonight to help draw attention and > evaluate this problem, and requesting that LiveCode 9 be optimized to > achieve at least speed parity with LiveCode 6 in these areas. > > (I am encouraged that some LC engine optimization impacting arrays is > already underway by LC Mark W., but I want to emphasize and prove beyond > doubt that several areas are affected and not only arrays. Therefore I > hope this bug reports and test stack(s) will help to confirm whether the > optimizations underway also solve the other areas, or whether those > areas need further separate optimization.) > > Resources below. > > A) QA Bug or Feature Request: > > https://quality.livecode.com/show_bug.cgi?id=21561 > > Report on this problem (which negatively impacts end users for existing > features) with 2 recipes and downloads (test demo code and real world > application). If your own app or code is affected by LC 9 performance, > please add your CC and a comment. > > B) YouTube video: LC Version "Showdown" > > https://youtu.be/8uhOem46VXg > > Thorough demonstration and discussion of my tests and the results, > pitting LiveCode 6.7 against the latest release of LiveCode 9 in several > tasks that evaluate loops, math, text appends, array access, item > chunks, and text replace. > > JavaScript code is also tested and provided to provide additional > reference. (Thanks Richard G. for the suggestion! Very interesting > results.) > > C) LC Version "Showdown" demo stack: > > http://curryk.com/showdown.zip > > The stack used in the video. See and test the code for yourself. > Compares 6.7 and LC 9 (or others, you can use 7 or 8 too) for speed in > loops, math, text appends, array access, item chunks, and text replace. > (Also has effects used in video competition; this issue has been on my > to-do list for some time, and I wanted a stack that looks good, makes > comparisons quick and easy, and can serve as a useful platform for > current and future tests.) > > Some buttons have right-click or shift-click alternatives, these are > listed in tooltips. If desired, paste the JavaScript (which is > automatically placed on the clipboard after each test) into js.do or > another web page to compare the JS speed to LC. > > BTW, I'm only days away from a new WordLib release and have been doing a > great deal of cross-version testing with it too. That, and Mark's array > effort, were what prompted me to make extra time for this and get it > posted today. WordReport is also due for an update, so is WordOut, and > performance is something I take very seriously. Beyond that, I place the > highest importance on all client app performance too. > > WordLib code uses a variety of the code areas mentioned here, some > arrays but not relying on them heavily in the work, so I consider it a > good balanced real-world example of the impact of LC 9 performance. It's > pretty hard-hit for big files, because many or most operations in LC 9 > take 2x, 3x, or 4x the time compared to LC 6. (In fact I think it's > somewhat challenging to find substantial code that is NOT hit by LC 9 > performance. I found one example in 9's favor to include in the showdown > stack and video.) > > So again I wanted to emphasize it's not just arrays - that is proven > here beyond any doubt in downloadable code and on video. I hope the > array optimizations might help the other areas too, but if not, they > need attention. Thank you! :) > > Best wishes, > > Curry Kenworthy > > Custom Software Development > LiveCode Training and Consulting > http://livecodeconsulting.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 matthias_livecode_150811 at m-r-d.de Wed Sep 5 10:21:09 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 5 Sep 2018 16:21:09 +0200 Subject: Any feedback or suggestions for InstaMaker and WinSignHelper? Message-ID: Hi, in the first quarter of this year i posted links to my utilities InstaMaker and WinSignHelper. InstaMaker InstaMaker is a Windows app which allows you to create Windows Installers based on Innosetup. There is even a Wine version for Mac OSX available which allows to create Windows Installers on Mac OS X. Drag your Windows app folder to Instamaker window and Instamaker creates the installer for you. WinSignHelper WinSignHelper is an OS X app which works as a gui for osslsigncode utlity to digitally sign Windows .exe and .dll files under Mac OS X. A code signing certificate is needed. I?ve asked this already in the past, but unfortunately i did not receive any feedback until today. Has anyone used one of these apps in the meantime and is willing to give me some feedback or suggestions what could be done better? I am using them very often and have no problems, but that?s normal. The own children are always the cutest. So if you have any comments, please fell free to send me an email to matthias (at) m-r-.de. Regards, Matthias P.s.: This is the last time i ask for feedback, i promise. ;) From brian at milby7.com Wed Sep 5 11:20:25 2018 From: brian at milby7.com (Brian Milby) Date: Wed, 5 Sep 2018 10:20:25 -0500 Subject: Mobile Rotation Redux In-Reply-To: References: <0ffa5f34-b7ce-07a8-0aef-45bb891067db@hyperactivesw.com> Message-ID: I've posted an updated version of the stack: https://milby.us/lc/MobileDemo2.livecode This version uses the new properties for orientation rects which causes the engine to send resizestack messages on rotation. I've also moved the buttons into a background groups with a behavior that handles the layout adjustment. The card resize handler sets the width of the group and then the group takes care of moving the buttons and adjusting the height (thanks to Richard's hint in another thread). Then the card sets the top and width of the second group which does the same process for the buttons within. Then the field object is sized based on those changes. Except for "deviceMax", the button names for the size buttons can be changed. The label is what is used for the actual size, so if someone wanted to test different stack rects they just need to make changes to the labels. If the device is in "landscape", then the numbers are swapped when setting the rect. The main part of the card is taken up by a field that contains a log of messages that are received by the app. It is fairly verbose and whenever the stack is resized it includes the rects. One interesting thing I found (possibly a bug) is that (pre)openBackground messages seem to have an issue if there are multiple backgrounds (multiple messages sent to a single background instead of one message to each background). This issue seems to go back as least as far as LC 6.7.11 (didn't test earlier) on my Mac. It doesn't matter if the script is in a behavior or not (tested separately). If someone can confirm that this should be reported as a bug, I'll take care of it. Next thing to add is some navigation and additional cards. One thought that I had was a grid (100px major, 25px minor) and some objects to see how the changes impact the way things look (particularly circles). Thanks, Brian On Mon, Sep 3, 2018 at 4:59 PM Brian Milby wrote: > Thanks for running the tests! > > I've been working on this stack for the past 2 days. I've made quite a > bit of progress and switched to using the new handler to set orientation > rects. That simplifies things a bit. I had to write some code to figure > out the rect to use for device native though (which wouldn't be an issue > for a real app since your rect would be fixed at design time). > > The math is required because you need to translate the rect. The > screenrect is absolute for the device. The graphic rect is relative to the > card. This is only needed for the "showAll" fullscreenmode. > > I'm planning on turning the button position action into a group behavior. > Once I get that done, I'll post an update. > > Thanks, > Brian > > On Mon, Sep 3, 2018 at 4:24 PM J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I ran both stacks on my Pixel and they got exactly the same results you >> reported; in other words, everything worked just fine. >> >> I decided to try my theory that we could combine fullscreenMode with >> individual object placement and we can. This will prevent the tiny image >> when the device is rotated to landscape. Basically, for a stack that is >> taller than it is wide, you want showAll in portrait and noBorder in >> landscape. All I had to do was revise your orientationChanged handler >> and add some logic to determine the correct fullscreenMode. I suspect >> mobileSetFullScreenRectForOrientations would do the same thing, but I >> wasn't focused on that. >> >> So in the MobileDemo stack, revise orientationChanged and add the FSM >> function and it should work. The rest of the handlers can remain as-is. >> This particular revision only assumes we're using showAll and noBorder; >> it doesn't address any others. Those are the two that almost all mobile >> apps use. >> >> on orientationChanged >> if the fullscreenmode of this stack is not empty then >> send "setBackground" to me in 200 milliseconds >> send "setFSM" to me in 250 milliseconds >> -- updateStatus "Orientation:" && mobileDeviceOrientation() >> end if >> end orientationChanged >> >> on setFSM >> if the fullscreenmode of this stack is not among the items of >> "showAll,noBorder" then exit setFSM >> set the rect of this stack to the effective working screenRect >> if mobileDeviceOrientation() contains "landscape" then >> set the fullscreenmode of this stack to "noBorder" >> else if mobileDeviceOrientation() contains "portrait" then >> set the fullscreenmode of this stack to "showAll" >> end if >> updateStatus "setFSM:" && the fullscreenmode of this stack >> set the backcolor of this cd to the backcolor of this cd >> end setFSM >> >> I had to use your "set the rect of this stack" method to force >> fullscreenMode to resolve, that's a nice trick. Setting the backcolor of >> the card to its existing color is a hack workaround that Panos >> discovered which forces a card redraw. That eliminates the issue where >> objects outside the card rect don't redraw properly, so now you don't >> need to lay the device flat to do it. >> >> I did wonder why you need the math in the setBackground handler. Doesn't >> the working screenrect give the right measurements? >> >> >> On 9/1/18 1:35 AM, Brian Milby via use-livecode wrote: >> > As I like to do, I decided to really over-do the demo test stacks. The >> one >> > I mentioned initially is: >> > >> > https://milby.us/lc/RotationDemo.livecode >> > >> > The one I just finished working on does a bit more: >> > >> > https://milby.us/lc/MobileDemo.livecode >> > >> > I built both to test resizeStack and rotation on Android. I only have >> a 5" >> > Fire, so I only was able to test on one device. >> >> -- >> 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 mark at canelasoftware.com Wed Sep 5 11:56:25 2018 From: mark at canelasoftware.com (Mark Talluto) Date: Wed, 5 Sep 2018 08:56:25 -0700 Subject: 3WDevolution question In-Reply-To: <628A1264-DD8C-422C-A2CE-7A17990D2BED@gmail.com> References: <20B7C676-8339-4058-BD95-19DC01EB2774@gmail.com> <7CD31E84-EF0D-4F87-BACC-8531A8B39685@gmail.com> <628A1264-DD8C-422C-A2CE-7A17990D2BED@gmail.com> Message-ID: <7F934FB1-C4F8-4798-BC18-1F6C6CC29159@canelasoftware.com> Multi-monitor issue? Best regards, Mark Talluto livecloud.io nursenotes.net canelasoftware.com > On Sep 4, 2018, at 10:41 PM, William Prothero via use-livecode wrote: > > Richard: > I?ve been playing around with this and noticed that if i move the IDE tools palette to the right far enough, the 4WDevo palette will move as far to the left as I want. So that tells me there is some interaction between the IDE tools palette and the 4W palette. > > Again, if you can?t make it happen, I can live with it, especially now that I?ve played with it a bit more. It?s really pretty minor. > Best, > Bill > >> On Sep 4, 2018, at 10:27 PM, William Prothero via use-livecode wrote: >> >> Richard: >> Here?s what I found on the palette thing. I?m no longer worried about the backdrop because it was just me not seeing that there was a LC toolbar menu item that would turn it off. In fact, I may have been blaming Devo incorrectly, when it was LC?s responsibility. >> >> If you, in 9.0.1 RC 2 or 3, drag the 4W toolbar to the right, lift the mouse, then drag it back to the left, I see it refusing to be dragged fully to the left. In LC 8.2.0, it acts normally, but in LC 9.0.1 RC3, it won?t return all the way left. It seems like it?s trying to leave space for the IDE Tools palette, but it doesn?t matter whether it?s visible or not. >> >> Richard, I can live with this. I?m on a Mac. It should be very easy to replicate, if it?s happening on your computer. I wonder if there was some change in the messaging in 9.0.1 versions that causes this. >> >> Best, >> Bill >> >>> On Sep 4, 2018, at 8:12 PM, Richard Gaskin via use-livecode wrote: >>> >>> William Prothero wrote: >>> >>>> Folks (Richard?): >>>> Ok, I know this is really easy, I did it when I first installed it, >>>> and I?m probably just not seeing something, but ??.. >>>> >>>> I?m on Apple, 10.13.3 and LC 9.0.1 >>>> >>>> How do I get rid of the white background that covers the desktop when >>>> 4WDevolution is launched? I have gotten used to Devolution and like >>>> it, but it has become a bit annoying lately. >>> >>> Thanks for writing, Bill. I got your email as well, still catching up >>> on my In Box after the long holiday weekend. Replying here is just as good. >>> >>> 4W devo does not alter the IDE's backdrop settings. And unfortunately, >>> I'm not able to reproduce that here. >>> >>> If you open LC's Prefs you should be able to turn off the backdrop from >>> there. >>> >>> If you have any other details which might help me reproduce that I'll be >>> happy to see what I can do, but AFAIK there are no interactions between >>> 4W devo's prefs and LC's. >>> >>> >>> >>>> Second question: Since 9.0.1 RC1 of livecode, the 4WDevo tool palette >>>> will not stay on the left side. It is exactly offset to show both the >>>> LCE tools palette and the 4WDevo tools palette. But, if I want to >>>> toggle between them, having it offset is a pain. I can move it over >>>> using the Desktop feature of 4WDevo, but then it pops back to the >>>> right after clicking on the 4WDevo palette. Or, just drag it to the >>>> right, then it won?t drag back to the left where it started. >>> >>> Another oddity that I'm afraid I can't reproduce. But then again, I >>> spend relatively little time in LC with the IDE's Tool Palette open. >>> I'll play around with it and see what I can find. If you come up with a >>> step-by-step recipe for me to follow that would help. >>> >>> Thanks for the report. >>> >>> -- >>> 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 prothero at earthlearningsolutions.org Wed Sep 5 12:13:08 2018 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Wed, 5 Sep 2018 09:13:08 -0700 Subject: 3WDevolution question In-Reply-To: <7F934FB1-C4F8-4798-BC18-1F6C6CC29159@canelasoftware.com> References: <20B7C676-8339-4058-BD95-19DC01EB2774@gmail.com> <7CD31E84-EF0D-4F87-BACC-8531A8B39685@gmail.com> <628A1264-DD8C-422C-A2CE-7A17990D2BED@gmail.com> <7F934FB1-C4F8-4798-BC18-1F6C6CC29159@canelasoftware.com> Message-ID: I do have 2 monitors. It started to appear in LC 9.0.1 Bill William Prothero http://ed.earthednet.org > On Sep 5, 2018, at 8:56 AM, Mark Talluto via use-livecode wrote: > > Multi-monitor issue? > > > Best regards, > > Mark Talluto > livecloud.io > nursenotes.net > canelasoftware.com > > > > >> On Sep 4, 2018, at 10:41 PM, William Prothero via use-livecode wrote: >> >> Richard: >> I?ve been playing around with this and noticed that if i move the IDE tools palette to the right far enough, the 4WDevo palette will move as far to the left as I want. So that tells me there is some interaction between the IDE tools palette and the 4W palette. >> >> Again, if you can?t make it happen, I can live with it, especially now that I?ve played with it a bit more. It?s really pretty minor. >> Best, >> Bill >> >>> On Sep 4, 2018, at 10:27 PM, William Prothero via use-livecode wrote: >>> >>> Richard: >>> Here?s what I found on the palette thing. I?m no longer worried about the backdrop because it was just me not seeing that there was a LC toolbar menu item that would turn it off. In fact, I may have been blaming Devo incorrectly, when it was LC?s responsibility. >>> >>> If you, in 9.0.1 RC 2 or 3, drag the 4W toolbar to the right, lift the mouse, then drag it back to the left, I see it refusing to be dragged fully to the left. In LC 8.2.0, it acts normally, but in LC 9.0.1 RC3, it won?t return all the way left. It seems like it?s trying to leave space for the IDE Tools palette, but it doesn?t matter whether it?s visible or not. >>> >>> Richard, I can live with this. I?m on a Mac. It should be very easy to replicate, if it?s happening on your computer. I wonder if there was some change in the messaging in 9.0.1 versions that causes this. >>> >>> Best, >>> Bill >>> >>>> On Sep 4, 2018, at 8:12 PM, Richard Gaskin via use-livecode wrote: >>>> >>>> William Prothero wrote: >>>> >>>>> Folks (Richard?): >>>>> Ok, I know this is really easy, I did it when I first installed it, >>>>> and I?m probably just not seeing something, but ??.. >>>>> >>>>> I?m on Apple, 10.13.3 and LC 9.0.1 >>>>> >>>>> How do I get rid of the white background that covers the desktop when >>>>> 4WDevolution is launched? I have gotten used to Devolution and like >>>>> it, but it has become a bit annoying lately. >>>> >>>> Thanks for writing, Bill. I got your email as well, still catching up >>>> on my In Box after the long holiday weekend. Replying here is just as good. >>>> >>>> 4W devo does not alter the IDE's backdrop settings. And unfortunately, >>>> I'm not able to reproduce that here. >>>> >>>> If you open LC's Prefs you should be able to turn off the backdrop from >>>> there. >>>> >>>> If you have any other details which might help me reproduce that I'll be >>>> happy to see what I can do, but AFAIK there are no interactions between >>>> 4W devo's prefs and LC's. >>>> >>>> >>>> >>>>> Second question: Since 9.0.1 RC1 of livecode, the 4WDevo tool palette >>>>> will not stay on the left side. It is exactly offset to show both the >>>>> LCE tools palette and the 4WDevo tools palette. But, if I want to >>>>> toggle between them, having it offset is a pain. I can move it over >>>>> using the Desktop feature of 4WDevo, but then it pops back to the >>>>> right after clicking on the 4WDevo palette. Or, just drag it to the >>>>> right, then it won?t drag back to the left where it started. >>>> >>>> Another oddity that I'm afraid I can't reproduce. But then again, I >>>> spend relatively little time in LC with the IDE's Tool Palette open. >>>> I'll play around with it and see what I can find. If you come up with a >>>> step-by-step recipe for me to follow that would help. >>>> >>>> Thanks for the report. >>>> >>>> -- >>>> 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 > > _______________________________________________ > use-livecode mailing list > use-livecode 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 ahsoftware at sonic.net Wed Sep 5 13:13:19 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 5 Sep 2018 10:13:19 -0700 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: <0F6B9C96-455C-403B-BEC5-681252D0C15B@major-k.de> References: <6D50BD78-857C-4953-852C-87EDE03FC107@iotecdigital.com> <4a98818b-55fe-af70-21e3-8b56ba59af24@sonic.net> <0F6B9C96-455C-403B-BEC5-681252D0C15B@major-k.de> Message-ID: <4fde150a-b46c-9e81-f367-3785b7bc7a3b@sonic.net> On 09/04/2018 08:27 AM, Klaus major-k via use-livecode wrote: >> Yeah. Grab it again. It's fixed now. > > except the embarrasing "checkbox-group". 8-) /sigh That updating-a-shared-stack thing is far from intuitive. Must have missed a step along the way. The corrected version is now uploaded. It still bugs me that: 1. the menubar item says "Share this stack" 2. the Login dialog says "revOnline" 3. when you log in, the next window says "Sample Stacks" 4. the website is "livecodeshare" -- Mark Wieder ahsoftware at gmail.com From rdimola at evergreeninfo.net Wed Sep 5 13:20:21 2018 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 5 Sep 2018 13:20:21 -0400 Subject: Android install on Lollypop 9.01 rc2 In-Reply-To: <165a55bceb0.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <002e01d4445f$bdf578f0$39e06ad0$@net> <165a5407e80.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <003801d44467$d1f399b0$75dacd10$@net> <165a55bceb0.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <005801d4453c$bc9eb920$35dc2b60$@net> Thanks all! I rebuilt using 9.0.1rc2 but un-ticked "ad support" in the standalone settings. The user was able to install. Although I don't use ads, I looking into it. I will re-enable and have the user try to install just so we can all know if this was indeed the problem. Film at 11. 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 via use-livecode Sent: Tuesday, September 04, 2018 12:13 PM To: How to use LiveCode Cc: J. Landman Gay Subject: RE: Android install on Lollypop 9.01 rc2 I suppose it could be the target version but that shouldn't really matter. The minimum version should still apply. When my Android v6 downloads an app with a higher target I just get a warning in the Play Store that it may not be optimized for my device, but it still installs and runs. Let us know if you figure it out. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 4, 2018 10:55:46 AM Ralph DiMola via use-livecode wrote: > J, > > Thanks. > I need to resolve this ASAP as this is a customer's device. > > 1) The app is signed and uploaded to PlayStore Beta(So in-app > purchasing stuff will work). > 2) The min version is set to 4.1. > 3) I have not set any new permissions from the v 8.1.10 build. > > Could this be a target version issue? This was discussed awhile back. > > I'm going to go back to 8.1.10 and see if it still installs. V5 is > still 20% of market. > > 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 via use-livecode > Sent: Tuesday, September 04, 2018 11:43 AM > To: How to use LiveCode > Cc: J. Landman Gay > Subject: Re: Android install on Lollypop 9.01 rc2 > > It could be the minimum required version, check that first. Also be > sure the app has been signed (for development only is okay.) It can > also happen if the app manifest requires permissions or features that > Android 5 doesn't support. > > Apps are also not installed if the device already has a previous copy > with the same build number, but in that case you don't usually get an > error message. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software > | http://www.hyperactivesw.com On September 4, 2018 9:58:00 AM Ralph > DiMola via use-livecode wrote: > >> I have a tester that can't install an apk on a v5 Android device. All >> that the package installer says is "App not installed". No other >> error > message. >> Anyone seen this??? Is this that min version thingy? >> >> Thanks in advance... >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 martyknappster at gmail.com Wed Sep 5 13:26:49 2018 From: martyknappster at gmail.com (Knapp Martin) Date: Wed, 5 Sep 2018 10:26:49 -0700 Subject: Stacks in Memory Message-ID: I have all my stacks configured with destroyStack and destroyWindow (gotta love those names!) set to true. And yet after I close them, if I check the revLoadedStacks() it shows that they and their subStacks are still loaded in memory. What do I need to do to get them out of memory?? Using LC 9.0.1 (rc3). I don?t see ?obliterateStacks? in the dictionary ;) Marty From martyknappster at gmail.com Wed Sep 5 13:49:38 2018 From: martyknappster at gmail.com (Knapp Martin) Date: Wed, 5 Sep 2018 10:49:38 -0700 Subject: Stacks in Memory In-Reply-To: References: Message-ID: <4EA56798-79E2-4F28-B876-022B1BF2F5F7@gmail.com> To answer my own question, although the Property Inspector will allow you to set both the destroyStack and cantDelete properties of a stack to true, cantDelete (when true) blocks destroyStack. I?d set cantDelete to true so that I wouldn?t accidentally delete a stack or sub stack. But generally, when I close a stack I want it removed from memory. So I?ve set cantDelete to false for now. > On Sep 5, 2018, at 10:26 AM, Knapp Martin wrote: > > I have all my stacks configured with destroyStack and destroyWindow (gotta love those names!) set to true. And yet after I close them, if I check the revLoadedStacks() it shows that they and their subStacks are still loaded in memory. What do I need to do to get them out of memory?? Using LC 9.0.1 (rc3). I don?t see ?obliterateStacks? in the dictionary ;) > > Marty From bobsneidar at iotecdigital.com Wed Sep 5 14:25:30 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 5 Sep 2018 18:25:30 +0000 Subject: Stacks in Memory In-Reply-To: <4EA56798-79E2-4F28-B876-022B1BF2F5F7@gmail.com> References: <4EA56798-79E2-4F28-B876-022B1BF2F5F7@gmail.com> Message-ID: Hmmm... I have all three set on my mainstack and when I close it, the stack and it's substacks are not in memory. However, stacks I started using are. Bob S > On Sep 5, 2018, at 10:49 , Knapp Martin via use-livecode wrote: > > To answer my own question, although the Property Inspector will allow you to set both the destroyStack and cantDelete properties of a stack to true, cantDelete (when true) blocks destroyStack. I?d set cantDelete to true so that I wouldn?t accidentally delete a stack or sub stack. But generally, when I close a stack I want it removed from memory. So I?ve set cantDelete to false for now. > >> On Sep 5, 2018, at 10:26 AM, Knapp Martin wrote: >> >> I have all my stacks configured with destroyStack and destroyWindow (gotta love those names!) set to true. And yet after I close them, if I check the revLoadedStacks() it shows that they and their subStacks are still loaded in memory. What do I need to do to get them out of memory?? Using LC 9.0.1 (rc3). I don?t see ?obliterateStacks? in the dictionary ;) >> >> Marty From martyknappster at gmail.com Wed Sep 5 14:34:18 2018 From: martyknappster at gmail.com (Knapp Martin) Date: Wed, 5 Sep 2018 11:34:18 -0700 Subject: Stacks in Memory In-Reply-To: References: <4EA56798-79E2-4F28-B876-022B1BF2F5F7@gmail.com> Message-ID: Did you check revLoadedStacks()? Marty > On Sep 5, 2018, at 11:25 AM, Bob Sneidar via use-livecode wrote: > > Hmmm... I have all three set on my mainstack and when I close it, the stack and it's substacks are not in memory. However, stacks I started using are. > > Bob S > > > >> On Sep 5, 2018, at 10:49 , Knapp Martin via use-livecode wrote: >> >> To answer my own question, although the Property Inspector will allow you to set both the destroyStack and cantDelete properties of a stack to true, cantDelete (when true) blocks destroyStack. I?d set cantDelete to true so that I wouldn?t accidentally delete a stack or sub stack. But generally, when I close a stack I want it removed from memory. So I?ve set cantDelete to false for now. >> >>> On Sep 5, 2018, at 10:26 AM, Knapp Martin wrote: >>> >>> I have all my stacks configured with destroyStack and destroyWindow (gotta love those names!) set to true. And yet after I close them, if I check the revLoadedStacks() it shows that they and their subStacks are still loaded in memory. What do I need to do to get them out of memory?? Using LC 9.0.1 (rc3). I don?t see ?obliterateStacks? in the dictionary ;) >>> >>> Marty > From matthias_livecode_150811 at m-r-d.de Wed Sep 5 14:57:59 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 5 Sep 2018 20:57:59 +0200 Subject: Project Browser - refresh button still not available Message-ID: <6F65D270-B5CD-4BDD-8DD4-6E18FE071489@m-r-d.de> Currently one has to close and reopen the Project Browser to get a refreshed list of the loaded stacks. Ben Rubinstein suggested already in 2016 to add a refresh button to the Project Browser. Bug?17916 I can?t believe that no one at Livecode sees the needs for such a refresh button. Don?t they use the Project Browser? I know there is Navigator from Geoff Canyon which can be used as an replacement, but it can?t be that one has to use a 3rd party plugin to get a function the old deprecated RevApplicationBrowser already had. I know that i can open the old Browser from the plugin menu, but that makes no sense to me. Matthias From jacque at hyperactivesw.com Wed Sep 5 15:36:16 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 5 Sep 2018 14:36:16 -0500 Subject: PreOpenBackground Messages In-Reply-To: References: Message-ID: <489cfb3b-76b9-24c0-3a51-522b57871c5d@hyperactivesw.com> You may need to pass the message. From the dictionary entry for preOpenBackground: "If the card does not handle the message, or passes it, the message proceeds through each group in reverse layer order (from highest to lowest)." On 9/5/18 12:23 AM, Brian Milby via use-livecode wrote: > Quick question about the PreOpenBackground messages... > > If you have 2 background groups that both use the same button as their > behavior with the following code: > > on preOpenBackground > put the short id of me after msg > end preOpenBackground > > Wouldn't you expect to see the ID of both groups? > I'm seeing the ID of one group twice. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Wed Sep 5 15:38:11 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 5 Sep 2018 19:38:11 +0000 Subject: Stacks in Memory In-Reply-To: References: <4EA56798-79E2-4F28-B876-022B1BF2F5F7@gmail.com> Message-ID: yup Bob S > On Sep 5, 2018, at 11:34 , Knapp Martin via use-livecode wrote: > > Did you check revLoadedStacks()? > > Marty > >> On Sep 5, 2018, at 11:25 AM, Bob Sneidar via use-livecode wrote: >> >> Hmmm... I have all three set on my mainstack and when I close it, the stack and it's substacks are not in memory. However, stacks I started using are. >> >> Bob S >> >> >> >>> On Sep 5, 2018, at 10:49 , Knapp Martin via use-livecode wrote: >>> >>> To answer my own question, although the Property Inspector will allow you to set both the destroyStack and cantDelete properties of a stack to true, cantDelete (when true) blocks destroyStack. I?d set cantDelete to true so that I wouldn?t accidentally delete a stack or sub stack. But generally, when I close a stack I want it removed from memory. So I?ve set cantDelete to false for now. >>> >>>> On Sep 5, 2018, at 10:26 AM, Knapp Martin wrote: >>>> >>>> I have all my stacks configured with destroyStack and destroyWindow (gotta love those names!) set to true. And yet after I close them, if I check the revLoadedStacks() it shows that they and their subStacks are still loaded in memory. What do I need to do to get them out of memory?? Using LC 9.0.1 (rc3). I don?t see ?obliterateStacks? in the dictionary ;) >>>> >>>> Marty >> > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sep 5 15:38:37 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 5 Sep 2018 14:38:37 -0500 Subject: Android install on Lollypop 9.01 rc2 In-Reply-To: <005801d4453c$bc9eb920$35dc2b60$@net> References: <002e01d4445f$bdf578f0$39e06ad0$@net> <165a5407e80.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <003801d44467$d1f399b0$75dacd10$@net> <165a55bceb0.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <005801d4453c$bc9eb920$35dc2b60$@net> Message-ID: <4355e53e-4bcb-3733-9241-cd37d1935884@hyperactivesw.com> On 9/5/18 12:20 PM, Ralph DiMola via use-livecode wrote: > I rebuilt using 9.0.1rc2 but un-ticked "ad support" in the standalone > settings. The user was able to install. Although I don't use ads, I looking > into it. I will re-enable and have the user try to install just so we can > all know if this was indeed the problem. Film at 11. Very interesting, and not at all intuitive. Keep us posted please. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Sep 5 15:41:25 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 5 Sep 2018 14:41:25 -0500 Subject: Stacks in Memory In-Reply-To: References: <4EA56798-79E2-4F28-B876-022B1BF2F5F7@gmail.com> Message-ID: There are a number of things that will prevent destroyStack from working. It will fail if the stack is in use, if there is an open socket, if there is an open driver, and maybe some other things I can't remember. Basically, if any part of the stack is still in operation it can't be purged. On 9/5/18 1:25 PM, Bob Sneidar via use-livecode wrote: > Hmmm... I have all three set on my mainstack and when I close it, the stack and it's substacks are not in memory. However, stacks I started using are. > > Bob S > > > >> On Sep 5, 2018, at 10:49 , Knapp Martin via use-livecode wrote: >> >> To answer my own question, although the Property Inspector will allow you to set both the destroyStack and cantDelete properties of a stack to true, cantDelete (when true) blocks destroyStack. I?d set cantDelete to true so that I wouldn?t accidentally delete a stack or sub stack. But generally, when I close a stack I want it removed from memory. So I?ve set cantDelete to false for now. >> >>> On Sep 5, 2018, at 10:26 AM, Knapp Martin wrote: >>> >>> I have all my stacks configured with destroyStack and destroyWindow (gotta love those names!) set to true. And yet after I close them, if I check the revLoadedStacks() it shows that they and their subStacks are still loaded in memory. What do I need to do to get them out of memory?? Using LC 9.0.1 (rc3). I don?t see ?obliterateStacks? in the dictionary ;) >>> >>> Marty > > _______________________________________________ > use-livecode mailing list > use-livecode 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 bobsneidar at iotecdigital.com Wed Sep 5 15:53:21 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 5 Sep 2018 19:53:21 +0000 Subject: Project Browser - refresh button still not available In-Reply-To: <6F65D270-B5CD-4BDD-8DD4-6E18FE071489@m-r-d.de> References: <6F65D270-B5CD-4BDD-8DD4-6E18FE071489@m-r-d.de> Message-ID: <0218837D-F666-4047-A753-4B6BE05F2A00@iotecdigital.com> > On Sep 5, 2018, at 11:57 , Matthias Rebbe via use-livecode wrote: > > I know there is Navigator from Geoff Canyon which can be used as an replacement, but it can?t be that one has to use a 3rd party plugin to get a function the old deprecated RevApplicationBrowser already had. Oh, but it can be. It CAN BE! ;-) Bob S From matthias_livecode_150811 at m-r-d.de Wed Sep 5 16:00:34 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 5 Sep 2018 22:00:34 +0200 Subject: Project Browser - refresh button still not available In-Reply-To: <0218837D-F666-4047-A753-4B6BE05F2A00@iotecdigital.com> References: <6F65D270-B5CD-4BDD-8DD4-6E18FE071489@m-r-d.de> <0218837D-F666-4047-A753-4B6BE05F2A00@iotecdigital.com> Message-ID: Yes, it can be, but it is a shame. Matthias > Am 05.09.2018 um 21:53 schrieb Bob Sneidar via use-livecode : > >> On Sep 5, 2018, at 11:57 , Matthias Rebbe via use-livecode wrote: >> >> I know there is Navigator from Geoff Canyon which can be used as an replacement, but it can?t be that one has to use a 3rd party plugin to get a function the old deprecated RevApplicationBrowser already had. > > > Oh, but it can be. It CAN BE! ;-) > > 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 brian at milby7.com Wed Sep 5 16:20:56 2018 From: brian at milby7.com (Brian Milby) Date: Wed, 5 Sep 2018 15:20:56 -0500 Subject: PreOpenBackground Messages In-Reply-To: <489cfb3b-76b9-24c0-3a51-522b57871c5d@hyperactivesw.com> References: <489cfb3b-76b9-24c0-3a51-522b57871c5d@hyperactivesw.com> Message-ID: Interesting. Now that I re-read it, I see the solution. That seems really odd though, why would the message go through every background? So, I need a "if pBackgroundID is not the id of me then pass preOpenBackground" in each handler. Now I need to go fix my MobileDemo stack :) Thanks for the good catch. Brian On Wed, Sep 5, 2018 at 2:36 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > You may need to pass the message. From the dictionary entry for > preOpenBackground: > > "If the card does not handle the message, or passes it, the message > proceeds through each group in reverse layer order (from highest to > lowest)." > > On 9/5/18 12:23 AM, Brian Milby via use-livecode wrote: > > Quick question about the PreOpenBackground messages... > > > > If you have 2 background groups that both use the same button as their > > behavior with the following code: > > > > on preOpenBackground > > put the short id of me after msg > > end preOpenBackground > > > > Wouldn't you expect to see the ID of both groups? > > I'm seeing the ID of one group twice. > > > -- > 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 bobsneidar at iotecdigital.com Wed Sep 5 16:28:57 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 5 Sep 2018 20:28:57 +0000 Subject: PreOpenBackground Messages In-Reply-To: References: <489cfb3b-76b9-24c0-3a51-522b57871c5d@hyperactivesw.com> Message-ID: <7C0299D0-2479-4AAA-BED1-351428BFCB60@iotecdigital.com> Because the background is being opened when the card is loaded. All backgrounds on the card are opened, and therefore pre-opened. Bob S > On Sep 5, 2018, at 13:20 , Brian Milby via use-livecode wrote: > > Interesting. > > Now that I re-read it, I see the solution. That seems really odd though, > why would the message go through every background? From brian at milby7.com Wed Sep 5 16:45:34 2018 From: brian at milby7.com (Brian Milby) Date: Wed, 5 Sep 2018 15:45:34 -0500 Subject: PreOpenBackground Messages In-Reply-To: <7C0299D0-2479-4AAA-BED1-351428BFCB60@iotecdigital.com> References: <489cfb3b-76b9-24c0-3a51-522b57871c5d@hyperactivesw.com> <7C0299D0-2479-4AAA-BED1-351428BFCB60@iotecdigital.com> Message-ID: Right, but the message for group B is sent to group A. If A doesn?t pass, B never sees it. I see it in the dictionary, but it seems weird. The openBackground works the same way, but the dictionary entry there makes it sound like the message is direct. I only read that entry which is why I was confused. That entry needs to be updated to match preOpenBackground. An example in each would be good too. I?ll have to work on updates there. Thanks, Brian On Sep 5, 2018, 3:29 PM -0500, Bob Sneidar via use-livecode , wrote: > Because the background is being opened when the card is loaded. All backgrounds on the card are opened, and therefore pre-opened. > > Bob S > > > > On Sep 5, 2018, at 13:20 , Brian Milby via use-livecode wrote: > > > > Interesting. > > > > Now that I re-read it, I see the solution. That seems really odd though, > > why would the message go through every background? > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 ahsoftware at sonic.net Wed Sep 5 16:55:54 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 5 Sep 2018 13:55:54 -0700 Subject: PreOpenBackground Messages In-Reply-To: References: <489cfb3b-76b9-24c0-3a51-522b57871c5d@hyperactivesw.com> <7C0299D0-2479-4AAA-BED1-351428BFCB60@iotecdigital.com> Message-ID: <496f3dcc-9fe5-9202-c5ba-d4c0fc27a9ef@sonic.net> On 09/05/2018 01:45 PM, Brian Milby via use-livecode wrote: > Right, but the message for group B is sent to group A. If A doesn?t pass, B never sees it. I see it in the dictionary, but it seems weird. Yeah, that just seems wrong to me. Doesn't seem like there should be a hierarchy for background groups. -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Wed Sep 5 17:52:51 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 5 Sep 2018 21:52:51 +0000 Subject: PreOpenBackground Messages In-Reply-To: <496f3dcc-9fe5-9202-c5ba-d4c0fc27a9ef@sonic.net> References: <489cfb3b-76b9-24c0-3a51-522b57871c5d@hyperactivesw.com> <7C0299D0-2479-4AAA-BED1-351428BFCB60@iotecdigital.com> <496f3dcc-9fe5-9202-c5ba-d4c0fc27a9ef@sonic.net> Message-ID: The alternative would be to send a separate message for every background on a card. It is odd though. Brian, have you tried the target to determine the group you need? Bob S > On Sep 5, 2018, at 13:55 , Mark Wieder via use-livecode wrote: > > On 09/05/2018 01:45 PM, Brian Milby via use-livecode wrote: >> Right, but the message for group B is sent to group A. If A doesn?t pass, B never sees it. I see it in the dictionary, but it seems weird. > > Yeah, that just seems wrong to me. Doesn't seem like there should be a hierarchy for background groups. > > -- > Mark Wieder From curry at pair.com Wed Sep 5 17:52:49 2018 From: curry at pair.com (Curry Kenworthy) Date: Wed, 05 Sep 2018 17:52:49 -0400 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report In-Reply-To: References: Message-ID: <5B905031.4010709@pair.com> Tom: > Thanks again for the efforts. You're welcome! Glad you liked it. I guess I should have mentioned that the big slowdown in LC 9 is not something that people will notice with extremely short code like go next card or put 12 into field 1. This is about substantial code (loops or many operations) or working with data. The speed of the code! Here is a complete table of my test results: http://curryk.com/lc-version-showdown-results.png Some highlights: LC 9 is 3x slower than LC 6 (and 49 times slower than JS) on a loop with math. LC 9 is 2x to 4.5x slower than LC 6 on reading comma-delimited items and appending them to a text. LC 9 is 2.4x slower than LC 6 (and 106x slower than JS) on accessing array elements and appending them to a text. LC 9 holds its own against LC 6 (but is 4x slower than JS) on most big-text case-insensitive operations. LC trumps JS on big-text replace with one-char search string. Remember, we don't want to go back to LC 6. That's not the idea. We want progress. We want to go forward effectively into the bright future of LC, and that future should include good performance! Much brighter. LC 6 comes into the picture for my testing because to measure performance, we must have a reference point. Anything divided by itself = 1. :) So LC 6 is a useful speed reference. It also represents the actual speed my own code attained previously. Yes, I like speed. Hate to lose it. I'm using 9 every day now, and that's why I have all this test data. That's why I've noticed the issues. Significantly slower is usually not a good thing. Progress is, and optimization is too! Optimization is an important component of progress. (The JS is thrown in as additional reference, and may suggest opportunities for further improvement in some of those areas, but my main concern right now is keeping LC running at least as fast as it has been, which currently boils down to 9 vs 6.) Hope this info was useful! Best wishes, Curry Kenworthy Custom Software Development LiveCode Training and Consulting http://livecodeconsulting.com/ From tom at makeshyft.com Wed Sep 5 17:53:46 2018 From: tom at makeshyft.com (Tom Glod) Date: Wed, 5 Sep 2018 17:53:46 -0400 Subject: Project Browser - refresh button still not available In-Reply-To: References: <6F65D270-B5CD-4BDD-8DD4-6E18FE071489@m-r-d.de> <0218837D-F666-4047-A753-4B6BE05F2A00@iotecdigital.com> Message-ID: I think adding that to the PB code and interface could not be that difficult. What about doing it yourself ? On Wed, Sep 5, 2018 at 4:00 PM Matthias Rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Yes, it can be, but it is a shame. > > Matthias > > > > Am 05.09.2018 um 21:53 schrieb Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com>: > > > >> On Sep 5, 2018, at 11:57 , Matthias Rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> I know there is Navigator from Geoff Canyon which can be used as an > replacement, but it can?t be that one has to use a 3rd party plugin to get > a function the old deprecated RevApplicationBrowser already had. > > > > > > Oh, but it can be. It CAN BE! ;-) > > > > 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 matthias_livecode_150811 at m-r-d.de Wed Sep 5 18:06:45 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 6 Sep 2018 00:06:45 +0200 Subject: Project Browser - refresh button still not available In-Reply-To: References: <6F65D270-B5CD-4BDD-8DD4-6E18FE071489@m-r-d.de> <0218837D-F666-4047-A753-4B6BE05F2A00@iotecdigital.com> Message-ID: <4588D5BD-CDE1-443B-8D76-BE25E28DB270@m-r-d.de> If i could do it, i would have done this already. > Am 05.09.2018 um 23:53 schrieb Tom Glod via use-livecode : > > I think adding that to the PB code and interface could not be that > difficult. What about doing it yourself ? > > On Wed, Sep 5, 2018 at 4:00 PM Matthias Rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Yes, it can be, but it is a shame. >> >> Matthias >> >> >>> Am 05.09.2018 um 21:53 schrieb Bob Sneidar via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>>> On Sep 5, 2018, at 11:57 , Matthias Rebbe via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>> >>>> I know there is Navigator from Geoff Canyon which can be used as an >> replacement, but it can?t be that one has to use a 3rd party plugin to get >> a function the old deprecated RevApplicationBrowser already had. >>> >>> >>> Oh, but it can be. It CAN BE! ;-) >>> >>> 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 > _______________________________________________ > use-livecode mailing list > use-livecode 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 brian at milby7.com Wed Sep 5 18:11:59 2018 From: brian at milby7.com (Brian Milby) Date: Wed, 5 Sep 2018 17:11:59 -0500 Subject: PreOpenBackground Messages In-Reply-To: References: <489cfb3b-76b9-24c0-3a51-522b57871c5d@hyperactivesw.com> <7C0299D0-2479-4AAA-BED1-351428BFCB60@iotecdigital.com> <496f3dcc-9fe5-9202-c5ba-d4c0fc27a9ef@sonic.net> Message-ID: There is a parameter to tell which group is the target of the message. I didn?t think the group would need to check to see if it was supposed to be the target of the message though. The openBackground dictionary entry doesn?t make that clear. The preOpenBackground dictionary entry does point it out though. In my case, I wanted to do an initialization of some script locals to avoid calculating them each resize. I was trying to eliminate an if statement to check for initialization. For other reasons, I?m leaving in that check though. Thanks, Brian On Sep 5, 2018, 4:53 PM -0500, Bob Sneidar via use-livecode , wrote: > The alternative would be to send a separate message for every background on a card. It is odd though. Brian, have you tried the target to determine the group you need? > > Bob S > > > > On Sep 5, 2018, at 13:55 , Mark Wieder via use-livecode wrote: > > > > On 09/05/2018 01:45 PM, Brian Milby via use-livecode wrote: > > > Right, but the message for group B is sent to group A. If A doesn?t pass, B never sees it. I see it in the dictionary, but it seems weird. > > > > Yeah, that just seems wrong to me. Doesn't seem like there should be a hierarchy for background groups. > > > > -- > > Mark Wieder > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Wed Sep 5 18:21:23 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 5 Sep 2018 22:21:23 +0000 Subject: Another Tree View Oddity Message-ID: <6E88E1B6-96BE-4EA1-A2A1-323B71423080@iotecdigital.com> Not a biggie, but try getting the hilitedElement of a tree view widget when nothing is selected. It returns empty. Now try setting the hilitedElement of a tree view widget to empty. Runtime error! You have to set it to 0, and then it still returns and displays empty in the property inspector! Odd huh? Bob S From ahsoftware at sonic.net Wed Sep 5 18:37:34 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 5 Sep 2018 15:37:34 -0700 Subject: Project Browser - refresh button still not available In-Reply-To: References: <6F65D270-B5CD-4BDD-8DD4-6E18FE071489@m-r-d.de> <0218837D-F666-4047-A753-4B6BE05F2A00@iotecdigital.com> Message-ID: <678b8832-6db3-48a8-7188-d382de71bbe5@sonic.net> On 09/05/2018 02:53 PM, Tom Glod via use-livecode wrote: > I think adding that to the PB code and interface could not be that > difficult. What about doing it yourself ? Ha! The PB is a maintenance nightmare... you're looking at 12 mainstacks plus a behavior stack or two, and some seemingly random stuff thrown in for good measure... still haven't figured out what the "Clap.mp3" audioclip is for. -- Mark Wieder ahsoftware at gmail.com From brian at milby7.com Wed Sep 5 20:10:16 2018 From: brian at milby7.com (Brian Milby) Date: Wed, 5 Sep 2018 19:10:16 -0500 Subject: Another Tree View Oddity In-Reply-To: <6E88E1B6-96BE-4EA1-A2A1-323B71423080@iotecdigital.com> References: <6E88E1B6-96BE-4EA1-A2A1-323B71423080@iotecdigital.com> Message-ID: <228e7303-2805-49fe-bd3f-e10d3b5adc41@Spark> That should be pretty easy to change. You can actually pass any invalid string (I.e. non-existing key path) to clear, but empty makes more sense. Thanks, Brian On Sep 5, 2018, 5:21 PM -0500, Bob Sneidar via use-livecode , wrote: > Not a biggie, but try getting the hilitedElement of a tree view widget when nothing is selected. It returns empty. Now try setting the hilitedElement of a tree view widget to empty. Runtime error! You have to set it to 0, and then it still returns and displays empty in the property inspector! Odd huh? > > 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 ahsoftware at sonic.net Wed Sep 5 20:45:15 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Wed, 5 Sep 2018 17:45:15 -0700 Subject: Project Browser - refresh button still not available In-Reply-To: <678b8832-6db3-48a8-7188-d382de71bbe5@sonic.net> References: <6F65D270-B5CD-4BDD-8DD4-6E18FE071489@m-r-d.de> <0218837D-F666-4047-A753-4B6BE05F2A00@iotecdigital.com> <678b8832-6db3-48a8-7188-d382de71bbe5@sonic.net> Message-ID: <090e39a8-d59a-7fba-c934-db2a3ca49755@sonic.net> On 09/05/2018 03:37 PM, Mark Wieder via use-livecode wrote: > On 09/05/2018 02:53 PM, Tom Glod via use-livecode wrote: >> I think adding that to the PB code and interface could not be that >> difficult. What about doing it yourself ? > > Ha! The PB is a maintenance nightmare... you're looking at 12 mainstacks > plus a behavior stack or two, and some seemingly random stuff thrown in > for good measure... still haven't figured out what the "Clap.mp3" > audioclip is for. > OK - so what I *believe* all you'd need to do is add a new png image for the refresh action, create a new handler for the action and add a frameItem for the action in the preOpenStack handler of stack "revProjectBrowserBehavior" (see addFrameItem in the "revPaletteBehavior" stack), ensure that the frameItem is always enabled in the updateActions handler of the behavior script, and have the frameItem dispatch a "refreshProjectView" to stack "revIDEProjectBrowser". Has possibilities. Any takers? -- Mark Wieder ahsoftware at gmail.com From curry at pair.com Wed Sep 5 22:03:02 2018 From: curry at pair.com (Curry Kenworthy) Date: Wed, 05 Sep 2018 22:03:02 -0400 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report In-Reply-To: <5B905031.4010709@pair.com> References: <5B905031.4010709@pair.com> Message-ID: <5B908AD6.7010806@pair.com> PS - one more test that I will add later to the "showdown" stack: "Root Loops" tested both repeats and math (hence the name) but I hadn't benchmarked an empty loop. I should have done that to try and separate math from loops to the extent possible. (on native Windows 10 6th Gen i3) repeat with i=1 to 1234567 end repeat LC 6.7.11: 45 ms LC 9.0.0: 125 ms 9 vs 6: 2.8x slower repeat 1234567 end repeat LC 6.7.11: 15 ms LC 9.0.0: 20 ms 9 vs 6: 1.3x slower Could be significant, yes? Best wishes, Curry K. From tom at makeshyft.com Wed Sep 5 22:19:17 2018 From: tom at makeshyft.com (Tom Glod) Date: Wed, 5 Sep 2018 22:19:17 -0400 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report In-Reply-To: <5B908AD6.7010806@pair.com> References: <5B905031.4010709@pair.com> <5B908AD6.7010806@pair.com> Message-ID: totally weird! On Wed, Sep 5, 2018 at 10:03 PM Curry Kenworthy via use-livecode < use-livecode at lists.runrev.com> wrote: > > PS - one more test that I will add later to the "showdown" stack: > > "Root Loops" tested both repeats and math (hence the name) but I hadn't > benchmarked an empty loop. I should have done that to try and separate > math from loops to the extent possible. > > (on native Windows 10 6th Gen i3) > > repeat with i=1 to 1234567 > end repeat > > LC 6.7.11: 45 ms > LC 9.0.0: 125 ms > 9 vs 6: 2.8x slower > > repeat 1234567 > end repeat > > LC 6.7.11: 15 ms > LC 9.0.0: 20 ms > 9 vs 6: 1.3x slower > > Could be significant, yes? > > Best wishes, > > Curry K. > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sep 5 23:33:07 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 5 Sep 2018 20:33:07 -0700 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: <4fde150a-b46c-9e81-f367-3785b7bc7a3b@sonic.net> References: <4fde150a-b46c-9e81-f367-3785b7bc7a3b@sonic.net> Message-ID: <9020bf1a-5b11-a8f8-0df8-b8f87752c5e3@fourthworld.com> Mark Wieder wrote: > It still bugs me that: > > 1. the menubar item says "Share this stack" > 2. the Login dialog says "revOnline" > 3. when you log in, the next window says "Sample Stacks" > 4. the website is "livecodeshare" Several times over the last decade I've discussed with the team the possibility of creating a community-managed repo, like Python, Perl, and other languages have. This is quite achievable as a community project, and would free up resources within LC Ltd. Of course for such an effort to be worthwhile it needs the blessing of the mother ship. There should be one repo, and no one wants to put many hours of work into something the company might later displace with their own. The last time I was keen on this I stopped pursuing it based on this post: http://lists.runrev.com/pipermail/use-livecode/2016-November/232864.html That was quite a while ago. I've resisted drawing attention to it since then because I kept hearing it's still in progress but needs more time, and I see no value in creating any suggestion of controversy over things we all experience like fluctuating priorities and shifting deadlines. That said, it has been a while, and the value of one centralized repository for all LC add-ons has not diminished. I believe it's time for the community and the company to come together with a solid, actionable plan for a single repo that will exist by a knowable date. With one name. And only one name. :) This needn't require any development resources from the company, but would at a minimum require that they respect the effort, link to it, and not displace it. This seems valuable for everyone. -- 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 Wed Sep 5 23:52:03 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 5 Sep 2018 20:52:03 -0700 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report In-Reply-To: <5B908AD6.7010806@pair.com> References: <5B908AD6.7010806@pair.com> Message-ID: Curry Kenworthy wrote: > repeat with i=1 to 1234567 > end repeat Is that an actual test from the stack? -- 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 brian at milby7.com Thu Sep 6 00:06:34 2018 From: brian at milby7.com (Brian Milby) Date: Wed, 5 Sep 2018 23:06:34 -0500 Subject: Another Tree View Oddity In-Reply-To: <228e7303-2805-49fe-bd3f-e10d3b5adc41@Spark> References: <6E88E1B6-96BE-4EA1-A2A1-323B71423080@iotecdigital.com> <228e7303-2805-49fe-bd3f-e10d3b5adc41@Spark> Message-ID: Bug report and PR submitted. https://quality.livecode.com/show_bug.cgi?id=21567 https://github.com/livecode/livecode/pull/6675 On Wed, Sep 5, 2018 at 7:12 PM Brian Milby wrote: > That should be pretty easy to change. You can actually pass any invalid > string (I.e. non-existing key path) to clear, but empty makes more sense. > > Thanks, > Brian > On Sep 5, 2018, 5:21 PM -0500, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com>, wrote: > > Not a biggie, but try getting the hilitedElement of a tree view widget > when nothing is selected. It returns empty. Now try setting the > hilitedElement of a tree view widget to empty. Runtime error! You have to > set it to 0, and then it still returns and displays empty in the property > inspector! Odd huh? > > 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 curry at pair.com Thu Sep 6 00:10:03 2018 From: curry at pair.com (Curry Kenworthy) Date: Thu, 06 Sep 2018 00:10:03 -0400 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report In-Reply-To: References: Message-ID: <5B90A89B.3070103@pair.com> Richard: > Is that an actual test from the stack? The stack had (essentially) this: repeat with i=1 to 1234567 add sqrt(i) to n end repeat (LC 9 is 2.8 times slower.) So my latest experiment removed the inside line: repeat with i=1 to 1234567 end repeat (LC 9 is 2.8 times slower, again.) Have a go? It's all there to see and test! http://curryk.com/showdown.zip Best wishes, Curry K. From brian at milby7.com Thu Sep 6 00:41:05 2018 From: brian at milby7.com (Brian Milby) Date: Wed, 5 Sep 2018 23:41:05 -0500 Subject: Mobile Rotation Redux In-Reply-To: References: <0ffa5f34-b7ce-07a8-0aef-45bb891067db@hyperactivesw.com> Message-ID: With an astute observation from Jaque, I was able to figure out why the messages didn't seem to be flowing properly. Since I only read the openBackground entry, I missed the note about needing to pass the message for other backgrounds to handle. I've updated the file that I posted. Eventually I will put it on GitHub with a proper license file, but the code is going to be GPL compatible for use in the Community Edition. https://milby.us/lc/MobileDemo2.livecode Would something like this be useful as a test for device/OS combinations? I could add a button to email the log and a standard protocol could be developed and the output validated. Thanks, Brian On Wed, Sep 5, 2018 at 10:20 AM Brian Milby wrote: > I've posted an updated version of the stack: > https://milby.us/lc/MobileDemo2.livecode > > This version uses the new properties for orientation rects which causes > the engine to send resizestack messages on rotation. I've also moved the > buttons into a background groups with a behavior that handles the layout > adjustment. The card resize handler sets the width of the group and then > the group takes care of moving the buttons and adjusting the height (thanks > to Richard's hint in another thread). Then the card sets the top and width > of the second group which does the same process for the buttons within. > Then the field object is sized based on those changes. > > Except for "deviceMax", the button names for the size buttons can be > changed. The label is what is used for the actual size, so if someone > wanted to test different stack rects they just need to make changes to the > labels. If the device is in "landscape", then the numbers are swapped when > setting the rect. > > The main part of the card is taken up by a field that contains a log of > messages that are received by the app. It is fairly verbose and whenever > the stack is resized it includes the rects. > > One interesting thing I found (possibly a bug) is that (pre)openBackground > messages seem to have an issue if there are multiple backgrounds (multiple > messages sent to a single background instead of one message to each > background). This issue seems to go back as least as far as LC 6.7.11 > (didn't test earlier) on my Mac. It doesn't matter if the script is in a > behavior or not (tested separately). If someone can confirm that this > should be reported as a bug, I'll take care of it. > > Next thing to add is some navigation and additional cards. One thought > that I had was a grid (100px major, 25px minor) and some objects to see how > the changes impact the way things look (particularly circles). > > Thanks, > Brian > > On Mon, Sep 3, 2018 at 4:59 PM Brian Milby wrote: > >> Thanks for running the tests! >> >> I've been working on this stack for the past 2 days. I've made quite a >> bit of progress and switched to using the new handler to set orientation >> rects. That simplifies things a bit. I had to write some code to figure >> out the rect to use for device native though (which wouldn't be an issue >> for a real app since your rect would be fixed at design time). >> >> The math is required because you need to translate the rect. The >> screenrect is absolute for the device. The graphic rect is relative to the >> card. This is only needed for the "showAll" fullscreenmode. >> >> I'm planning on turning the button position action into a group >> behavior. Once I get that done, I'll post an update. >> >> Thanks, >> Brian >> >> On Mon, Sep 3, 2018 at 4:24 PM J. Landman Gay via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> I ran both stacks on my Pixel and they got exactly the same results you >>> reported; in other words, everything worked just fine. >>> >>> I decided to try my theory that we could combine fullscreenMode with >>> individual object placement and we can. This will prevent the tiny image >>> when the device is rotated to landscape. Basically, for a stack that is >>> taller than it is wide, you want showAll in portrait and noBorder in >>> landscape. All I had to do was revise your orientationChanged handler >>> and add some logic to determine the correct fullscreenMode. I suspect >>> mobileSetFullScreenRectForOrientations would do the same thing, but I >>> wasn't focused on that. >>> >>> So in the MobileDemo stack, revise orientationChanged and add the FSM >>> function and it should work. The rest of the handlers can remain as-is. >>> This particular revision only assumes we're using showAll and noBorder; >>> it doesn't address any others. Those are the two that almost all mobile >>> apps use. >>> >>> on orientationChanged >>> if the fullscreenmode of this stack is not empty then >>> send "setBackground" to me in 200 milliseconds >>> send "setFSM" to me in 250 milliseconds >>> -- updateStatus "Orientation:" && mobileDeviceOrientation() >>> end if >>> end orientationChanged >>> >>> on setFSM >>> if the fullscreenmode of this stack is not among the items of >>> "showAll,noBorder" then exit setFSM >>> set the rect of this stack to the effective working screenRect >>> if mobileDeviceOrientation() contains "landscape" then >>> set the fullscreenmode of this stack to "noBorder" >>> else if mobileDeviceOrientation() contains "portrait" then >>> set the fullscreenmode of this stack to "showAll" >>> end if >>> updateStatus "setFSM:" && the fullscreenmode of this stack >>> set the backcolor of this cd to the backcolor of this cd >>> end setFSM >>> >>> I had to use your "set the rect of this stack" method to force >>> fullscreenMode to resolve, that's a nice trick. Setting the backcolor of >>> the card to its existing color is a hack workaround that Panos >>> discovered which forces a card redraw. That eliminates the issue where >>> objects outside the card rect don't redraw properly, so now you don't >>> need to lay the device flat to do it. >>> >>> I did wonder why you need the math in the setBackground handler. Doesn't >>> the working screenrect give the right measurements? >>> >>> >>> On 9/1/18 1:35 AM, Brian Milby via use-livecode wrote: >>> > As I like to do, I decided to really over-do the demo test stacks. >>> The one >>> > I mentioned initially is: >>> > >>> > https://milby.us/lc/RotationDemo.livecode >>> > >>> > The one I just finished working on does a bit more: >>> > >>> > https://milby.us/lc/MobileDemo.livecode >>> > >>> > I built both to test resizeStack and rotation on Android. I only have >>> a 5" >>> > Fire, so I only was able to test on one device. >>> >>> -- >>> 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 Thu Sep 6 01:39:39 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 Sep 2018 00:39:39 -0500 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: <9020bf1a-5b11-a8f8-0df8-b8f87752c5e3@fourthworld.com> References: <4fde150a-b46c-9e81-f367-3785b7bc7a3b@sonic.net> <9020bf1a-5b11-a8f8-0df8-b8f87752c5e3@fourthworld.com> Message-ID: <165ad64a190.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> On September 5, 2018 10:34:40 PM Richard Gaskin via use-livecode wrote: > > The last time I was keen on this I stopped pursuing it based on this post: > > http://lists.runrev.com/pipermail/use-livecode/2016-November/232864.html We can upload zip files to Sample Stacks? If that's the case then I think the existing repository could work for now. Libraries, script-only stacks, externals, LCB files could all be accommodated. If something else is developed later, the files could be moved or linked to. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Thu Sep 6 03:24:28 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 6 Sep 2018 00:24:28 -0700 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: <165ad64a190.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <165ad64a190.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: J. Landman Gay wrote: > We can upload zip files to Sample Stacks? If that's the case then > I think the existing repository could work for now. Libraries, > script-only stacks, externals, LCB files could all be accommodated. > If something else is developed later, the files could be moved or > linked to. Yes, it's quite adequate. But it needs a name. One name. As Mark Wieder reminded us: 1. the menubar item says "Share this stack" 2. the Login dialog says "revOnline" 3. when you log in, the next window says "Sample Stacks" 4. the website is "livecodeshare" A little UI touch-up and it could certainly get us through for a while. So many things can be quite simplified with small but valuable attention to UI details. -- 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 hyperhh.de Thu Sep 6 04:08:36 2018 From: hh at hyperhh.de (hh) Date: Thu, 6 Sep 2018 10:08:36 +0200 Subject: Sample Stacks Message-ID: Was "ANN: LC Documentation Cache Cleaner" Jacques LG wrote: > We can upload zip files to Sample Stacks? ... No. But you can, of course, use a stack container for zips. I once uploaded a simple version: http://livecodeshare.runrev.com/stack/805/ZipContainer "Sample Stacks" had an update before a year or so. It is fine now, better than the livecodeshare interface. The best thing with it: You have the stacks open in memory when clicking download, then you can save them (or not). From ambassador at fourthworld.com Thu Sep 6 04:15:50 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 6 Sep 2018 01:15:50 -0700 Subject: 3WDevolution question In-Reply-To: <7CD31E84-EF0D-4F87-BACC-8531A8B39685@gmail.com> References: <7CD31E84-EF0D-4F87-BACC-8531A8B39685@gmail.com> Message-ID: William Prothero wrote: > Richard: > Here?s what I found on the palette thing. I?m no longer worried about > the backdrop because it was just me not seeing that there was a LC > toolbar menu item that would turn it off. In fact, I may have been > blaming Devo incorrectly, when it was LC?s responsibility. > > If you, in 9.0.1 RC 2 or 3, drag the 4W toolbar to the right, lift the > mouse, then drag it back to the left, I see it refusing to be dragged > fully to the left. In LC 8.2.0, it acts normally, but in LC 9.0.1 > RC3, it won?t return all the way left. It seems like it?s trying to > leave space for the IDE Tools palette, but it doesn?t matter whether > it?s visible or not. I see what's happening there. It appears the IDE team is attempting to use a floating palette in a highly unusual way: rather than floating on top of a document, it's assumed to be placed at the left and when it is the windowBoundingRect is adjusted so that no other windows can be placed in a way that overlap it. When the tool palette is moved to any other location sufficiently away from the left edge, the windowBoundingRect is apparently restore to the normal bounds everyone normally expects. You will find that the IDE's change to the windowBoundingRect affects all windows when using the maximize option for a window. This affects the dragging of 4W devolution's window because I have a customized appearance with my own title bar, and have scripted the dragging behavior to account for the windowBoundingRect so the window cannot be submarined beneath the menu bar or the Dock. In my own work, I spend relatively little time with the IDE's tool palette open. Layout normally occupies just a bit of up-front time, with most of my time spend scripting the objects I'd laid out. And of course since the devo palette has its own controls for creating the two most commonly-used objects, buttons and fields, sometimes I go weeks without ever opening the IDE's tool palette at all. And since devo makes it more convenient to open and close the IDE's tool palette with its generously-sized toggle buttons for the most common IDE windows, I find that when I do use the IDE's tool palette it's just to create an object or two and then I put it away again until I need it. It takes up a LOT of room for something used so seldom during the workflow; making it easy to access it ONLY WHEN I NEED IT was part of the motivation for making devo. -- Richard Gaskin Fourth World Systems http://fourthworld.com/products/devolution/ From ambassador at fourthworld.com Thu Sep 6 04:21:56 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 6 Sep 2018 01:21:56 -0700 Subject: Sample Stacks In-Reply-To: References: Message-ID: hh wrote: > Jacques LG wrote: >> We can upload zip files to Sample Stacks? ... > > No. Unfortunate. Hopefully that will be changed soon. Zip is a common foundation for many compound document types. > But you can, of course, use a stack container for zips. I used to do that, but ever since the IDE introduced the limitation about stack name conflicts, and the ongoing confusion about what is and isn't in memory stemming from the lack of a purge command, I've since migrated to using LSON (encoded arrays) as the LC-native solution for compound-element storage. LSON offers pretty much all the benefits of property sets in stack files, but with all the predictable ease of working with any data stored in an array variable. Of course the one thing stack files are better at than anything else is when you need to store LC controls. Many alternatives, none as compact or convenient. -- 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 hyperhh.de Thu Sep 6 04:30:36 2018 From: hh at hyperhh.de (hh) Date: Thu, 6 Sep 2018 10:30:36 +0200 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report Message-ID: <85F0A4FB-9D7F-4EAB-8275-67D087D7FBF5@hyperhh.de> How did you do the JavaScript (in browser?) and how did you do the timing? From mark at livecode.com Thu Sep 6 05:57:51 2018 From: mark at livecode.com (Mark Waddingham) Date: Thu, 06 Sep 2018 11:57:51 +0200 Subject: Timezone library - how to use in Livecode =?UTF-8?Q?Server=3F?= In-Reply-To: References: <36106D52-96C4-4C66-A838-1ACAA679CFB5@m-r-d.de> <58C91E69-E5E4-4248-9E26-7C0A9EA62FD8@revigniter.com> <9E1ACA5A-2056-4531-B6B5-A043CEDA79BC@m-r-d.de> Message-ID: <874bebe3ad0866bc06532a8d387a7bf4@livecode.com> Hi Matthias, On 2018-09-05 10:34, Matthias Rebbe via use-livecode wrote: > file "/home/xxxxxxx/public_html/xxxxxx/tz.lc" > row 4, col 5: extension: error occurred with domain (runtime) > row 4, col 5: extension: error occurred with description (unable to > load foreign library) > row 4, col 5: extension: error occurred with file (timezone.lcb) > row 4, col 5: extension: error occurred with line (62) > row 4, col 5: extension: error occurred with column (1) > row 4, col 5: extension: error occurred with file (timezone.lcb) > row 4, col 5: extension: error occurred with line (737) > row 4, col 5: extension: error occurred with column (1) > row 4, col 5: Function: error in function handler (FromUniversaltime) > row 4, col 5: put: error in expression > > This works in LC IDE (w/o Line 1). The IDE and standalone builder have an extra step which makes sure an extension can find its code (shared library) resources. In this specific case, before 'load extension' you need to do: set the revLibraryMapping["tz"] to "/home/ua829968/public_html/rebbe.tech/tz-test/extensions/com.livecode.library.timezone/code/x86_64-linux/tz.so" (substitute x86_64-linux for x86-linux, if you are running on a 32-bit host) This tells the engine where to find the 'tz' library which is referenced by the foreign handler bindings in the tz extension. Warmest Regards, Mark. P.S. https://github.com/livecode/livecode/pull/6660 -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From james at thehales.id.au Thu Sep 6 06:07:04 2018 From: james at thehales.id.au (James At The Hale) Date: Thu, 6 Sep 2018 20:07:04 +1000 Subject: ANN: LC Documentation Cache Cleaner Message-ID: Richard wrote of a repository but isn?t this what the new extension store is supposed to provide? From ambassador at fourthworld.com Thu Sep 6 06:12:53 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 6 Sep 2018 03:12:53 -0700 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: References: Message-ID: <48fd61a5-c275-81e2-0483-18f0730b500a@fourthworld.com> James At The Hale wrote: > Richard wrote of a repository but isn?t this what the new extension > store is supposed to provide? I haven't seen an announcement of a new extension store, but if it includes widgets, libraries, externals, scripts, and stack files and is searchable by type, license, and price, for everything we share in our community, both commercial and no charge, and both proprietary and open source, then yes, that would be what we need. -- 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 matthias_livecode_150811 at m-r-d.de Thu Sep 6 06:54:44 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 6 Sep 2018 12:54:44 +0200 Subject: Timezone library - how to use in Livecode Server? In-Reply-To: <874bebe3ad0866bc06532a8d387a7bf4@livecode.com> References: <36106D52-96C4-4C66-A838-1ACAA679CFB5@m-r-d.de> <58C91E69-E5E4-4248-9E26-7C0A9EA62FD8@revigniter.com> <9E1ACA5A-2056-4531-B6B5-A043CEDA79BC@m-r-d.de> <874bebe3ad0866bc06532a8d387a7bf4@livecode.com> Message-ID: <0CA3CE83-4DDB-4B39-87D6-628AADB4F299@m-r-d.de> Thank you very much Mark. With that addition it works now. The timezone library is a great enhancement for Livecode Server. No need to call external php code to do timezone conversions. And thanks for the ps. I can?t wait for 9.1 to test. :) Regards Matthias > Am 06.09.2018 um 11:57 schrieb Mark Waddingham via use-livecode : > > Hi Matthias, > > On 2018-09-05 10:34, Matthias Rebbe via use-livecode wrote: >> file "/home/xxxxxxx/public_html/xxxxxx/tz.lc" >> row 4, col 5: extension: error occurred with domain (runtime) >> row 4, col 5: extension: error occurred with description (unable to >> load foreign library) >> row 4, col 5: extension: error occurred with file (timezone.lcb) >> row 4, col 5: extension: error occurred with line (62) >> row 4, col 5: extension: error occurred with column (1) >> row 4, col 5: extension: error occurred with file (timezone.lcb) >> row 4, col 5: extension: error occurred with line (737) >> row 4, col 5: extension: error occurred with column (1) >> row 4, col 5: Function: error in function handler (FromUniversaltime) >> row 4, col 5: put: error in expression >> This works in LC IDE (w/o Line 1). > > The IDE and standalone builder have an extra step which makes sure an extension can find its code (shared library) resources. In this specific case, before 'load extension' you need to do: > > set the revLibraryMapping["tz"] to "/home/ua829968/public_html/rebbe.tech/tz-test/extensions/com.livecode.library.timezone/code/x86_64-linux/tz.so" > > (substitute x86_64-linux for x86-linux, if you are running on a 32-bit host) > > This tells the engine where to find the 'tz' library which is referenced by the foreign handler bindings in the tz extension. > > Warmest Regards, > > Mark. > > P.S. https://github.com/livecode/livecode/pull/6660 > > -- > 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 lists at mangomultimedia.com Thu Sep 6 07:18:45 2018 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 6 Sep 2018 06:18:45 -0500 Subject: Timezone library - how to use in Livecode Server? In-Reply-To: <0CA3CE83-4DDB-4B39-87D6-628AADB4F299@m-r-d.de> References: <36106D52-96C4-4C66-A838-1ACAA679CFB5@m-r-d.de> <58C91E69-E5E4-4248-9E26-7C0A9EA62FD8@revigniter.com> <9E1ACA5A-2056-4531-B6B5-A043CEDA79BC@m-r-d.de> <874bebe3ad0866bc06532a8d387a7bf4@livecode.com> <0CA3CE83-4DDB-4B39-87D6-628AADB4F299@m-r-d.de> Message-ID: On Thu, Sep 6, 2018 at 5:55 AM Matthias Rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > > And thanks for the ps. I can?t wait for 9.1 to test. :) > No need to wait. I downloaded the LCB file and built it in the extension builder using 9.0. I just had to comment out the ?resolve file? line which that caused an error because it is new syntax. Other than that the macStatusBar code works great in 9.0 and I have implemented it in an application. -- Trevor DeVore From matthias_livecode_150811 at m-r-d.de Thu Sep 6 08:26:32 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 6 Sep 2018 14:26:32 +0200 Subject: Timezone library - how to use in Livecode Server? In-Reply-To: References: <36106D52-96C4-4C66-A838-1ACAA679CFB5@m-r-d.de> <58C91E69-E5E4-4248-9E26-7C0A9EA62FD8@revigniter.com> <9E1ACA5A-2056-4531-B6B5-A043CEDA79BC@m-r-d.de> <874bebe3ad0866bc06532a8d387a7bf4@livecode.com> <0CA3CE83-4DDB-4B39-87D6-628AADB4F299@m-r-d.de> Message-ID: <7FF07527-D3AD-4F2A-9D31-133DBE59DD9E@m-r-d.de> Trevor, thanks for letting me know. I am not very used with GitHub. Still learning how to organize my stuff. So where do i find the .lcb file? Regards, Matthias > Am 06.09.2018 um 13:18 schrieb Trevor DeVore via use-livecode >: > > On Thu, Sep 6, 2018 at 5:55 AM Matthias Rebbe via use-livecode < > use-livecode at lists.runrev.com > wrote: > >> >> And thanks for the ps. I can?t wait for 9.1 to test. :) >> > No need to wait. I downloaded the LCB file and built it in the extension > builder using 9.0. I just had to comment out the ?resolve file? line which > that caused an error because it is new syntax. Other than that the > macStatusBar code works great in 9.0 and I have implemented it in an > application. > > -- > Trevor DeVore > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Tel +49 5741 310000 ?https://matthiasrebbe.eu ? From merakosp at gmail.com Thu Sep 6 08:58:31 2018 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 6 Sep 2018 15:58:31 +0300 Subject: Timezone library - how to use in Livecode Server? In-Reply-To: <7FF07527-D3AD-4F2A-9D31-133DBE59DD9E@m-r-d.de> References: <36106D52-96C4-4C66-A838-1ACAA679CFB5@m-r-d.de> <58C91E69-E5E4-4248-9E26-7C0A9EA62FD8@revigniter.com> <9E1ACA5A-2056-4531-B6B5-A043CEDA79BC@m-r-d.de> <874bebe3ad0866bc06532a8d387a7bf4@livecode.com> <0CA3CE83-4DDB-4B39-87D6-628AADB4F299@m-r-d.de> <7FF07527-D3AD-4F2A-9D31-133DBE59DD9E@m-r-d.de> Message-ID: Hello Matthias, In the PR Mark posted, click on the tab "Files Changed". Then scroll down until you see the diffs for the macstatusmenu.lcb file. Click on the "View" button for this file. Then click on "Raw". This should take you to this page: https://raw.githubusercontent.com/livecode/livecode/64d08e39ac161530cb62ac06e784ad3d5be8725e/extensions/libraries/macstatusmenu/macstatusmenu.lcb Then just choose Save As .. etc Best, Panos -- On Thu, Sep 6, 2018 at 3:27 PM Matthias Rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Trevor, thanks for letting me know. > > I am not very used with GitHub. Still learning how to organize my stuff. > > So where do i find the .lcb file? > > Regards, > > Matthias > > > > Am 06.09.2018 um 13:18 schrieb Trevor DeVore via use-livecode < > use-livecode at lists.runrev.com >: > > > > On Thu, Sep 6, 2018 at 5:55 AM Matthias Rebbe via use-livecode < > > use-livecode at lists.runrev.com > > wrote: > > > >> > >> And thanks for the ps. I can?t wait for 9.1 to test. :) > >> > > No need to wait. I downloaded the LCB file and built it in the extension > > builder using 9.0. I just had to comment out the ?resolve file? line > which > > that caused an error because it is new syntax. Other than that the > > macStatusBar code works great in 9.0 and I have implemented it in an > > application. > > > > -- > > Trevor DeVore > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > Matthias Rebbe > Tel +49 5741 310000 > ?https://matthiasrebbe.eu ? > > _______________________________________________ > use-livecode mailing list > use-livecode 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 matthias_livecode_150811 at m-r-d.de Thu Sep 6 10:34:38 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 6 Sep 2018 16:34:38 +0200 Subject: Timezone library - how to use in Livecode Server? In-Reply-To: <0CA3CE83-4DDB-4B39-87D6-628AADB4F299@m-r-d.de> References: <36106D52-96C4-4C66-A838-1ACAA679CFB5@m-r-d.de> <58C91E69-E5E4-4248-9E26-7C0A9EA62FD8@revigniter.com> <9E1ACA5A-2056-4531-B6B5-A043CEDA79BC@m-r-d.de> <874bebe3ad0866bc06532a8d387a7bf4@livecode.com> <0CA3CE83-4DDB-4B39-87D6-628AADB4F299@m-r-d.de> Message-ID: <94467C14-4191-4245-AAF1-F84C1760DB2B@m-r-d.de> Mark, when using an other LCB library , where do i see what i have to enter in set the revLibraryMapping[??????? ?] ??. I cannot find any information about revLibraryMapping in the dictionary. Regards, Matthias > Am 06.09.2018 um 12:54 schrieb Matthias Rebbe via use-livecode : > > Thank you very much Mark. > With that addition it works now. The timezone library is a great enhancement for Livecode Server. No need to call external php code to do timezone conversions. > > And thanks for the ps. I can?t wait for 9.1 to test. :) > > Regards > > Matthias > > > > >> Am 06.09.2018 um 11:57 schrieb Mark Waddingham via use-livecode : >> >> Hi Matthias, >> >> On 2018-09-05 10:34, Matthias Rebbe via use-livecode wrote: >>> file "/home/xxxxxxx/public_html/xxxxxx/tz.lc" >>> row 4, col 5: extension: error occurred with domain (runtime) >>> row 4, col 5: extension: error occurred with description (unable to >>> load foreign library) >>> row 4, col 5: extension: error occurred with file (timezone.lcb) >>> row 4, col 5: extension: error occurred with line (62) >>> row 4, col 5: extension: error occurred with column (1) >>> row 4, col 5: extension: error occurred with file (timezone.lcb) >>> row 4, col 5: extension: error occurred with line (737) >>> row 4, col 5: extension: error occurred with column (1) >>> row 4, col 5: Function: error in function handler (FromUniversaltime) >>> row 4, col 5: put: error in expression >>> This works in LC IDE (w/o Line 1). >> >> The IDE and standalone builder have an extra step which makes sure an extension can find its code (shared library) resources. In this specific case, before 'load extension' you need to do: >> >> set the revLibraryMapping["tz"] to "/home/ua829968/public_html/rebbe.tech/tz-test/extensions/com.livecode.library.timezone/code/x86_64-linux/tz.so" >> >> (substitute x86_64-linux for x86-linux, if you are running on a 32-bit host) >> >> This tells the engine where to find the 'tz' library which is referenced by the foreign handler bindings in the tz extension. >> >> Warmest Regards, >> >> Mark. >> >> P.S. https://github.com/livecode/livecode/pull/6660 >> >> -- >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sep 6 10:43:16 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 6 Sep 2018 14:43:16 +0000 Subject: Another Tree View Oddity In-Reply-To: References: <6E88E1B6-96BE-4EA1-A2A1-323B71423080@iotecdigital.com> <228e7303-2805-49fe-bd3f-e10d3b5adc41@Spark> Message-ID: <2924B87A-C935-4628-981B-B002B76C45D8@iotecdigital.com> Thanks Brian. I would have done it, but it seemed small potatoes to me. And I never know if there is a good reason it works the way it does. Bob S > On Sep 5, 2018, at 21:06 , Brian Milby via use-livecode wrote: > > Bug report and PR submitted. > > https://quality.livecode.com/show_bug.cgi?id=21567 > > https://github.com/livecode/livecode/pull/6675 > > On Wed, Sep 5, 2018 at 7:12 PM Brian Milby wrote: > >> That should be pretty easy to change. You can actually pass any invalid >> string (I.e. non-existing key path) to clear, but empty makes more sense. >> >> Thanks, >> Brian >> On Sep 5, 2018, 5:21 PM -0500, Bob Sneidar via use-livecode < >> use-livecode at lists.runrev.com>, wrote: >> >> Not a biggie, but try getting the hilitedElement of a tree view widget >> when nothing is selected. It returns empty. Now try setting the >> hilitedElement of a tree view widget to empty. Runtime error! You have to >> set it to 0, and then it still returns and displays empty in the property >> inspector! Odd huh? >> >> 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 curry at pair.com Thu Sep 6 10:54:09 2018 From: curry at pair.com (Curry Kenworthy) Date: Thu, 06 Sep 2018 10:54:09 -0400 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report In-Reply-To: <85F0A4FB-9D7F-4EAB-8275-67D087D7FBF5@hyperhh.de> References: <85F0A4FB-9D7F-4EAB-8275-67D087D7FBF5@hyperhh.de> Message-ID: <5B913F91.4050001@pair.com> hh: > How did you do the JavaScript (in browser?) I wrote the JS code by hand, scripted the stack to copy it to clipboard after each test, and ran it on js.do > and how did you do the timing? It's in the test code; download and all will be revealed! ;) Later I will add the empty loop test and a math-intensive test variation. Similar results though; LC 9 is 2.8x slower for empty loop and about 2x slower for math-intensive. Best wishes, Curry Kenworthy Custom Software Development LiveCode Training and Consulting http://livecodeconsulting.com/ From waprothero at gmail.com Thu Sep 6 11:37:02 2018 From: waprothero at gmail.com (William Prothero) Date: Thu, 6 Sep 2018 08:37:02 -0700 Subject: 3WDevolution question In-Reply-To: References: <7CD31E84-EF0D-4F87-BACC-8531A8B39685@gmail.com> Message-ID: Richard, Thanks for looking into this. My problem came when the Devo palette wouldn?t move to the left, even if the IDE tools palette was closed. But, it?s easy to fix by just moving the IDE Tools palette to the right until it lets me move the Devo palette to the left, then it no longer snaps right. No worries, it?s just an idiosyncrasy that?s easily dealt with. Best, Bill > On Sep 6, 2018, at 1:15 AM, Richard Gaskin via use-livecode wrote: > > William Prothero wrote: > > > Richard: > > Here?s what I found on the palette thing. I?m no longer worried about > > the backdrop because it was just me not seeing that there was a LC > > toolbar menu item that would turn it off. In fact, I may have been > > blaming Devo incorrectly, when it was LC?s responsibility. > > > > If you, in 9.0.1 RC 2 or 3, drag the 4W toolbar to the right, lift the > > mouse, then drag it back to the left, I see it refusing to be dragged > > fully to the left. In LC 8.2.0, it acts normally, but in LC 9.0.1 > > RC3, it won?t return all the way left. It seems like it?s trying to > > leave space for the IDE Tools palette, but it doesn?t matter whether > > it?s visible or not. > > I see what's happening there. It appears the IDE team is attempting to use a floating palette in a highly unusual way: rather than floating on top of a document, it's assumed to be placed at the left and when it is the windowBoundingRect is adjusted so that no other windows can be placed in a way that overlap it. When the tool palette is moved to any other location sufficiently away from the left edge, the windowBoundingRect is apparently restore to the normal bounds everyone normally expects. > From bobsneidar at iotecdigital.com Thu Sep 6 11:46:52 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 6 Sep 2018 15:46:52 +0000 Subject: This is disturbing! Message-ID: <81865A76-B941-402E-8D0B-C7EB86708371@iotecdigital.com> Did anyone know that "6. " is equal to "6."??? THAT is disturbing! So now we have to check the length of a string as well to make sure there is an exact match??? Bob S From tore.nilsen at me.com Thu Sep 6 11:54:59 2018 From: tore.nilsen at me.com (Tore Nilsen) Date: Thu, 06 Sep 2018 17:54:59 +0200 Subject: This is disturbing! In-Reply-To: <81865A76-B941-402E-8D0B-C7EB86708371@iotecdigital.com> References: <81865A76-B941-402E-8D0B-C7EB86708371@iotecdigital.com> Message-ID: It seems to only compare the integer part of the statements. If you substitute the integer with a letter, then it reports false. But still strange as the quotation marks should indicates that this is a string. Best regards Tore Nilsen ------- This mail contains no viruses or bacteria as it is electronically produced and untouched by human hands. Once printed it may or may not contain various microorganisms that can cause diseases. Print and hand out at own risk. Unsolicited distribution of this mail is prohibited. > 06. sep. 2018 kl. 17:46 skrev Bob Sneidar via use-livecode : > > Did anyone know that "6. " is equal to "6."??? > > THAT is disturbing! So now we have to check the length of a string as well to make sure there is an exact match??? > > 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 MikeKerner at roadrunner.com Thu Sep 6 11:54:58 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 6 Sep 2018 11:54:58 -0400 Subject: This is disturbing! In-Reply-To: <81865A76-B941-402E-8D0B-C7EB86708371@iotecdigital.com> References: <81865A76-B941-402E-8D0B-C7EB86708371@iotecdigital.com> Message-ID: wow. that's not cool. I just tried "is" and yep. is. On Thu, Sep 6, 2018 at 11:47 AM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Did anyone know that "6. " is equal to "6."??? > > THAT is disturbing! So now we have to check the length of a string as well > to make sure there is an exact match??? > > 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 > -- 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 Thu Sep 6 11:57:32 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 6 Sep 2018 11:57:32 -0400 Subject: This is disturbing! In-Reply-To: References: <81865A76-B941-402E-8D0B-C7EB86708371@iotecdigital.com> Message-ID: If I put anything else in place of the dot, I get a fail, but with the dot, i get true On Thu, Sep 6, 2018 at 11:55 AM Tore Nilsen via use-livecode < use-livecode at lists.runrev.com> wrote: > It seems to only compare the integer part of the statements. If you > substitute the integer with a letter, then it reports false. But still > strange as the quotation marks should indicates that this is a string. > > Best regards > Tore Nilsen > > ------- > This mail contains no viruses or bacteria as it is electronically produced > and untouched by human hands. Once printed it may or may not contain > various microorganisms that can cause diseases. Print and hand out at own > risk. Unsolicited distribution of this mail is prohibited. > > > > > > > > > 06. sep. 2018 kl. 17:46 skrev Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com>: > > > > Did anyone know that "6. " is equal to "6."??? > > > > THAT is disturbing! So now we have to check the length of a string as > well to make sure there is an exact match??? > > > > 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 > -- 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 tore.nilsen at me.com Thu Sep 6 12:02:09 2018 From: tore.nilsen at me.com (Tore Nilsen) Date: Thu, 06 Sep 2018 18:02:09 +0200 Subject: This is disturbing! In-Reply-To: References: <81865A76-B941-402E-8D0B-C7EB86708371@iotecdigital.com> Message-ID: I think this is because the dot is also the decimal sign. Therefore it interprets the strings as numerical values. And = and is are synonyms. I guess if you write something like put ?6? + ?6? you will get 12 as the result. Best regards Tore Nilsen ------- This mail contains no viruses or bacteria as it is electronically produced and untouched by human hands. Once printed it may or may not contain various microorganisms that can cause diseases. Print and hand out at own risk. Unsolicited distribution of this mail is prohibited. > 06. sep. 2018 kl. 17:57 skrev Mike Kerner via use-livecode : > > If I put anything else in place of the dot, I get a fail, but with the dot, > i get true > > On Thu, Sep 6, 2018 at 11:55 AM Tore Nilsen via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> It seems to only compare the integer part of the statements. If you >> substitute the integer with a letter, then it reports false. But still >> strange as the quotation marks should indicates that this is a string. >> >> Best regards >> Tore Nilsen >> >> ------- >> This mail contains no viruses or bacteria as it is electronically produced >> and untouched by human hands. Once printed it may or may not contain >> various microorganisms that can cause diseases. Print and hand out at own >> risk. Unsolicited distribution of this mail is prohibited. >> >> >> >> >> >> >> >>> 06. sep. 2018 kl. 17:46 skrev Bob Sneidar via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> Did anyone know that "6. " is equal to "6."??? >>> >>> THAT is disturbing! So now we have to check the length of a string as >> well to make sure there is an exact match??? >>> >>> 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 >> > > > -- > 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 MikeKerner at roadrunner.com Thu Sep 6 12:02:42 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 6 Sep 2018 12:02:42 -0400 Subject: This is disturbing! In-Reply-To: References: <81865A76-B941-402E-8D0B-C7EB86708371@iotecdigital.com> Message-ID: dictionary says when comparing strings we go char by char, and says that quotes around the literal causes it to be evaluated as a string. On Thu, Sep 6, 2018 at 11:57 AM Mike Kerner wrote: > If I put anything else in place of the dot, I get a fail, but with the > dot, i get true > > On Thu, Sep 6, 2018 at 11:55 AM Tore Nilsen via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> It seems to only compare the integer part of the statements. If you >> substitute the integer with a letter, then it reports false. But still >> strange as the quotation marks should indicates that this is a string. >> >> Best regards >> Tore Nilsen >> >> ------- >> This mail contains no viruses or bacteria as it is electronically >> produced and untouched by human hands. Once printed it may or may not >> contain various microorganisms that can cause diseases. Print and hand out >> at own risk. Unsolicited distribution of this mail is prohibited. >> >> >> >> >> >> >> >> > 06. sep. 2018 kl. 17:46 skrev Bob Sneidar via use-livecode < >> use-livecode at lists.runrev.com>: >> > >> > Did anyone know that "6. " is equal to "6."??? >> > >> > THAT is disturbing! So now we have to check the length of a string as >> well to make sure there is an exact match??? >> > >> > 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 >> > > > -- > 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." > -- 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 brian at milby7.com Thu Sep 6 12:04:28 2018 From: brian at milby7.com (Brian Milby) Date: Thu, 6 Sep 2018 11:04:28 -0500 Subject: Another Tree View Oddity In-Reply-To: <2924B87A-C935-4628-981B-B002B76C45D8@iotecdigital.com> References: <6E88E1B6-96BE-4EA1-A2A1-323B71423080@iotecdigital.com> <228e7303-2805-49fe-bd3f-e10d3b5adc41@Spark> <2924B87A-C935-4628-981B-B002B76C45D8@iotecdigital.com> Message-ID: <83d746e5-49e8-4c9f-ac68-08759ec5a53f@Spark> I?ve done so much in that widget that it was easy to tackle. From an English like syntax, I think it just makes sense to use the ?empty? method of removing the selection. Thanks, Brian On Sep 6, 2018, 9:43 AM -0500, Bob Sneidar via use-livecode , wrote: > Thanks Brian. I would have done it, but it seemed small potatoes to me. And I never know if there is a good reason it works the way it does. > > Bob S > > > > On Sep 5, 2018, at 21:06 , Brian Milby via use-livecode wrote: > > > > Bug report and PR submitted. > > > > https://quality.livecode.com/show_bug.cgi?id=21567 > > > > https://github.com/livecode/livecode/pull/6675 > > > > On Wed, Sep 5, 2018 at 7:12 PM Brian Milby wrote: > > > > > That should be pretty easy to change. You can actually pass any invalid > > > string (I.e. non-existing key path) to clear, but empty makes more sense. > > > > > > Thanks, > > > Brian > > > On Sep 5, 2018, 5:21 PM -0500, Bob Sneidar via use-livecode < > > > use-livecode at lists.runrev.com>, wrote: > > > > > > Not a biggie, but try getting the hilitedElement of a tree view widget > > > when nothing is selected. It returns empty. Now try setting the > > > hilitedElement of a tree view widget to empty. Runtime error! You have to > > > set it to 0, and then it still returns and displays empty in the property > > > inspector! Odd huh? > > > > > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Thu Sep 6 12:05:35 2018 From: tore.nilsen at me.com (Tore Nilsen) Date: Thu, 06 Sep 2018 18:05:35 +0200 Subject: This is disturbing! In-Reply-To: References: <81865A76-B941-402E-8D0B-C7EB86708371@iotecdigital.com> Message-ID: <360C1A5E-63F7-4EEC-95EE-15946A5474DE@me.com> It seems as long as all characters in the string can be numerical values, they are treated as such. Space is treated as whitespace or empty. My guess for ?6? + ?6? to return 12 was right. Tore Nilsen ------- This mail contains no viruses or bacteria as it is electronically produced and untouched by human hands. Once printed it may or may not contain various microorganisms that can cause diseases. Print and hand out at own risk. Unsolicited distribution of this mail is prohibited. > 06. sep. 2018 kl. 18:02 skrev Tore Nilsen via use-livecode : > > I think this is because the dot is also the decimal sign. Therefore it interprets the strings as numerical values. And = and is are synonyms. > I guess if you write something like put ?6? + ?6? you will get 12 as the result. > > Best regards > Tore Nilsen > > ------- > This mail contains no viruses or bacteria as it is electronically produced and untouched by human hands. Once printed it may or may not contain various microorganisms that can cause diseases. Print and hand out at own risk. Unsolicited distribution of this mail is prohibited. > > > > > > > >> 06. sep. 2018 kl. 17:57 skrev Mike Kerner via use-livecode : >> >> If I put anything else in place of the dot, I get a fail, but with the dot, >> i get true >> >> On Thu, Sep 6, 2018 at 11:55 AM Tore Nilsen via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> It seems to only compare the integer part of the statements. If you >>> substitute the integer with a letter, then it reports false. But still >>> strange as the quotation marks should indicates that this is a string. >>> >>> Best regards >>> Tore Nilsen >>> >>> ------- >>> This mail contains no viruses or bacteria as it is electronically produced >>> and untouched by human hands. Once printed it may or may not contain >>> various microorganisms that can cause diseases. Print and hand out at own >>> risk. Unsolicited distribution of this mail is prohibited. >>> >>> >>> >>> >>> >>> >>> >>>> 06. sep. 2018 kl. 17:46 skrev Bob Sneidar via use-livecode < >>> use-livecode at lists.runrev.com>: >>>> >>>> Did anyone know that "6. " is equal to "6."??? >>>> >>>> THAT is disturbing! So now we have to check the length of a string as >>> well to make sure there is an exact match??? >>>> >>>> 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 >>> >> >> >> -- >> 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 > > _______________________________________________ > use-livecode mailing list > use-livecode 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 at livecode.com Thu Sep 6 12:06:52 2018 From: mark at livecode.com (Mark Waddingham) Date: Thu, 06 Sep 2018 18:06:52 +0200 Subject: This is disturbing! In-Reply-To: References: <81865A76-B941-402E-8D0B-C7EB86708371@iotecdigital.com> Message-ID: On 2018-09-06 18:02, Mike Kerner via use-livecode wrote: > dictionary says when comparing strings we go char by char, and says > that > quotes around the literal causes it to be evaluated as a string. Where in the dictionary? That should be revised. Quotes make no difference - numbers and strings which look like numbers are treated the same... When doing comparisons, the engine tries to convert both sides to numbers before comparing, if both sides are numbers they are compared as numbers. Both '1 is 1.0' or '"1" is "1.0"' have the same result. Warmest Regards, Mark. P.S. The engine has *always* worked like this - as have xTalks in general. It's why you never have to put any explicit type conversion anywhere when you are interchanging anything and things still work as expected. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From hh at hyperhh.de Thu Sep 6 12:13:01 2018 From: hh at hyperhh.de (hh) Date: Thu, 6 Sep 2018 18:13:01 +0200 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report Message-ID: Curry, sorry I overlooked the post with your download link > http://curryk.com/showdown.zip This is a *fine* comparison stack. You could think about adding for LC 8/9 a browser widget and in handler "work done", instead of copying to the clipboard, set htmltext of widget "browser" to the cJS of the target By that it is another example for using JS via a browser widget and shows in which usecases it is worth to "outsource" lengthy computations (walking through imagedata is also one). From MikeKerner at roadrunner.com Thu Sep 6 12:14:22 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 6 Sep 2018 12:14:22 -0400 Subject: This is disturbing! In-Reply-To: References: <81865A76-B941-402E-8D0B-C7EB86708371@iotecdigital.com> Message-ID: Dictionary: First, if you look in the operands, it says *The operands value1 and value2 can be numbers, literal strings of characters (delimited with double quotes), or any sources of value, including arrays.* The example for comparing two strings is "ABC" = "abc" -- true if and only if caseSensitive is false From MikeKerner at roadrunner.com Thu Sep 6 12:19:24 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 6 Sep 2018 12:19:24 -0400 Subject: This is disturbing! In-Reply-To: References: <81865A76-B941-402E-8D0B-C7EB86708371@iotecdigital.com> Message-ID: so the description seems to imply that the comparison should be as strings if double-quotes are included around the literals. On Thu, Sep 6, 2018 at 12:14 PM Mike Kerner wrote: > Dictionary: > First, if you look in the operands, it says > *The operands value1 and value2 can be numbers, literal strings of > characters (delimited with double quotes), or any sources of value, > including arrays.* > The example for comparing two strings is > > "ABC" = "abc" -- true if and only if caseSensitive is false > > -- 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 ahsoftware at sonic.net Thu Sep 6 12:21:23 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 6 Sep 2018 09:21:23 -0700 Subject: This is disturbing! In-Reply-To: References: <81865A76-B941-402E-8D0B-C7EB86708371@iotecdigital.com> Message-ID: <308e94dc-b9d3-14ee-d9ac-077f43f6bc36@sonic.net> On 09/06/2018 09:06 AM, Mark Waddingham via use-livecode wrote: > P.S. The engine has *always* worked like this - as have xTalks in > general. It's why you never have to put any explicit type conversion > anywhere when you are interchanging anything and things still work as > expected. > Yeah. IMO automatic type conversion is one of the failure points of the xtalk paradigm, but it's always been thus. -- Mark Wieder ahsoftware at gmail.com From mark at livecode.com Thu Sep 6 12:25:22 2018 From: mark at livecode.com (Mark Waddingham) Date: Thu, 06 Sep 2018 18:25:22 +0200 Subject: This is disturbing! In-Reply-To: References: <81865A76-B941-402E-8D0B-C7EB86708371@iotecdigital.com> Message-ID: <4d57cd0c2d911ba7011a6dd97be0bb51@livecode.com> On 2018-09-06 18:14, Mike Kerner via use-livecode wrote: > Dictionary: > First, if you look in the operands, it says > *The operands value1 and value2 can be numbers, literal strings of > characters (delimited with double quotes), or any sources of value, > including arrays.* > The example for comparing two strings is > > "ABC" = "abc" -- true if and only if caseSensitive is false To be fair, the 'is' entry it doesn't say anything about what is interpreted 'as a string' explicitly - it just says 'literal strings of characters (delimited by double quotes)' - however as worded it is a little misleading. All the comparison operator docs could do with some revision to make the actual behavior crystal clear :D Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Thu Sep 6 12:43:12 2018 From: mark at livecode.com (Mark Waddingham) Date: Thu, 06 Sep 2018 18:43:12 +0200 Subject: This is disturbing! In-Reply-To: <308e94dc-b9d3-14ee-d9ac-077f43f6bc36@sonic.net> References: <81865A76-B941-402E-8D0B-C7EB86708371@iotecdigital.com> <308e94dc-b9d3-14ee-d9ac-077f43f6bc36@sonic.net> Message-ID: <6232676c54a4dbcf8d4ae48cb689c3e9@livecode.com> On 2018-09-06 18:21, Mark Wieder via use-livecode wrote: > Yeah. IMO automatic type conversion is one of the failure points of > the xtalk paradigm, but it's always been thus. To be fair, in the days of HyperCard when everything was strings (and numbers were decimal strings) the rules worked absolutely fine I think. However, the use of doubles as the internal rep for numbers, and introduction of arrays broke a few invariants a consistent implementation of the above view relies upon - hence the annoying points of friction. I don't think implicit type conversion is the problem per-se - just the precise details of what gets converted to what, and the inability to say 'at this point, this needs to actually be a '. If you want to be abstract about it then you can view a programming language as a compression algorithm - it is a way to express a set of possible outcomes in a linear sequence of text. With that point of view, they suffer exactly the same problem as any compression algorithm suffers - all compression algorithms will expand some input. i.e. What you might gain in some places in terms of ease / clarity / ability; you will lose elsewhere - the hard bit is making sure that such cases are 'edge' cases and easily avoided. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From MikeKerner at roadrunner.com Thu Sep 6 12:52:37 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 6 Sep 2018 12:52:37 -0400 Subject: This is disturbing! In-Reply-To: <6232676c54a4dbcf8d4ae48cb689c3e9@livecode.com> References: <81865A76-B941-402E-8D0B-C7EB86708371@iotecdigital.com> <308e94dc-b9d3-14ee-d9ac-077f43f6bc36@sonic.net> <6232676c54a4dbcf8d4ae48cb689c3e9@livecode.com> Message-ID: Right. If the explanation is clear then it's not an issue (even if it is a little weird - "6.abc"="6.xyz" is false but "6."&CR is "6."&space is true) On Thu, Sep 6, 2018 at 12:43 PM Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2018-09-06 18:21, Mark Wieder via use-livecode wrote: > > Yeah. IMO automatic type conversion is one of the failure points of > > the xtalk paradigm, but it's always been thus. > > To be fair, in the days of HyperCard when everything was strings (and > numbers were decimal strings) the rules worked absolutely fine I think. > > However, the use of doubles as the internal rep for numbers, and > introduction of arrays broke a few invariants a consistent > implementation of the above view relies upon - hence the annoying points > of friction. > > I don't think implicit type conversion is the problem per-se - just the > precise details of what gets converted to what, and the inability to say > 'at this point, this needs to actually be a '. > > If you want to be abstract about it then you can view a programming > language as a compression algorithm - it is a way to express a set of > possible outcomes in a linear sequence of text. With that point of view, > they suffer exactly the same problem as any compression algorithm > suffers - all compression algorithms will expand some input. > > i.e. What you might gain in some places in terms of ease / clarity / > ability; you will lose elsewhere - the hard bit is making sure that such > cases are 'edge' cases and easily avoided. > > 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 > -- 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 mark at livecode.com Thu Sep 6 13:01:50 2018 From: mark at livecode.com (Mark Waddingham) Date: Thu, 06 Sep 2018 19:01:50 +0200 Subject: This is disturbing! In-Reply-To: References: <81865A76-B941-402E-8D0B-C7EB86708371@iotecdigital.com> <308e94dc-b9d3-14ee-d9ac-077f43f6bc36@sonic.net> <6232676c54a4dbcf8d4ae48cb689c3e9@livecode.com> Message-ID: On 2018-09-06 18:52, Mike Kerner via use-livecode wrote: > Right. If the explanation is clear then it's not an issue (even if it > is a > little weird - "6.abc"="6.xyz" is false but "6."&CR is "6."&space is > true) Well the explanation can be fixed :) Its hard to say whether the language would be better or worse if only 'strict' numeric strings were considered equal. After all you'd still have that "1.00000" is "1" is "1.0" is ... which whilst more obvious perhaps, still means you have to work harder to do strict string equality checking (or comparison). Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From paul at researchware.com Thu Sep 6 13:24:10 2018 From: paul at researchware.com (Paul Dupuis) Date: Thu, 6 Sep 2018 13:24:10 -0400 Subject: This is disturbing! In-Reply-To: <81865A76-B941-402E-8D0B-C7EB86708371@iotecdigital.com> References: <81865A76-B941-402E-8D0B-C7EB86708371@iotecdigital.com> Message-ID: On 9/6/2018 11:46 AM, Bob Sneidar via use-livecode wrote: > Did anyone know that "6. " is equal to "6."??? > > THAT is disturbing! So now we have to check the length of a string as well to make sure there is an exact match??? > This is the price of having a "type-less" programming language. "6." get evaluated to see if it is numeric, which it is an is treated as the number 6. Likewise with "6. " and 6 does equal 6. Now, in? typed language, you would have declared both things as STRINGs and you would get a false. From bobsneidar at iotecdigital.com Thu Sep 6 13:24:32 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 6 Sep 2018 17:24:32 +0000 Subject: This is disturbing! In-Reply-To: References: <81865A76-B941-402E-8D0B-C7EB86708371@iotecdigital.com> <308e94dc-b9d3-14ee-d9ac-077f43f6bc36@sonic.net> <6232676c54a4dbcf8d4ae48cb689c3e9@livecode.com> Message-ID: <779ED4CD-8DED-4BC8-B90A-6822E65BE9D6@iotecdigital.com> By way of rehtoric, and by no means a suggestion of any change in the engine, it might have been better if "is" did a strict string comparison, while "=" or "is equal to" attempted a numerical type conversion, and reverted to a string comparison if either arguement failed. What *might* be possible is adding support for "exactly equal to" or "==" where 1.0 == 1 is still true, but "1.0" == "1" is not. Bob S > On Sep 6, 2018, at 10:01 , Mark Waddingham via use-livecode wrote: > >> Right. If the explanation is clear then it's not an issue (even if it is a >> little weird - "6.abc"="6.xyz" is false but "6."&CR is "6."&space is true) > > Well the explanation can be fixed :) > > Its hard to say whether the language would be better or worse if only 'strict' numeric strings were considered equal. After all you'd still have that "1.00000" is "1" is "1.0" is ... which whilst more obvious perhaps, still means you have to work harder to do strict string equality checking (or comparison). > > Warmest Regards, > > Mark. From MikeKerner at roadrunner.com Thu Sep 6 13:24:14 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 6 Sep 2018 13:24:14 -0400 Subject: This is disturbing! In-Reply-To: References: <81865A76-B941-402E-8D0B-C7EB86708371@iotecdigital.com> <308e94dc-b9d3-14ee-d9ac-077f43f6bc36@sonic.net> <6232676c54a4dbcf8d4ae48cb689c3e9@livecode.com> Message-ID: Ignoring the leading or trailing whitespace is weird and counterintuitive. If the language was more perfect, I think it would first not ignore the other characters in the string no matter what they look like, then do the implicit type coercion and then the comparison, even though there are definitely use cases where 1?1.0?1.0000000000, but those sorts of edge cases perhaps better left documented and not handled. In all cases, where intuition and behavior are not in line, the manual should fill in the gap. On Thu, Sep 6, 2018 at 1:02 PM Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2018-09-06 18:52, Mike Kerner via use-livecode wrote: > > Right. If the explanation is clear then it's not an issue (even if it > > is a > > little weird - "6.abc"="6.xyz" is false but "6."&CR is "6."&space is > > true) > > Well the explanation can be fixed :) > > Its hard to say whether the language would be better or worse if only > 'strict' numeric strings were considered equal. After all you'd still > have that "1.00000" is "1" is "1.0" is ... which whilst more obvious > perhaps, still means you have to work harder to do strict string > equality checking (or comparison). > > 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 > -- 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 ahsoftware at sonic.net Thu Sep 6 13:27:36 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 6 Sep 2018 10:27:36 -0700 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: <48fd61a5-c275-81e2-0483-18f0730b500a@fourthworld.com> References: <48fd61a5-c275-81e2-0483-18f0730b500a@fourthworld.com> Message-ID: <4cc4c0a9-47e8-9e69-5d99-14fdf40c0067@sonic.net> On 09/06/2018 03:12 AM, Richard Gaskin via use-livecode wrote: > James At The Hale wrote: > > Richard wrote of a repository but isn?t this what the new extension > > store is supposed to provide? > > I haven't seen an announcement of a new extension store, but if it > includes widgets, libraries, externals, scripts, and stack files and is > searchable by type, license, and price, for everything we share in our > community, both commercial and no charge, and both proprietary and open > source, then yes, that would be what we need. There's a new extension store on the way? -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Thu Sep 6 13:33:17 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 6 Sep 2018 17:33:17 +0000 Subject: Another Tree View Oddity In-Reply-To: <83d746e5-49e8-4c9f-ac68-08759ec5a53f@Spark> References: <6E88E1B6-96BE-4EA1-A2A1-323B71423080@iotecdigital.com> <228e7303-2805-49fe-bd3f-e10d3b5adc41@Spark> <2924B87A-C935-4628-981B-B002B76C45D8@iotecdigital.com> <83d746e5-49e8-4c9f-ac68-08759ec5a53f@Spark> Message-ID: <58684E43-A0D8-4AA4-AA27-2B69A8E58045@iotecdigital.com> actionDoubleClick message is not getting sent or else trapped by the widget either. Is that a read/write function only? I have a tree view set to read only. Bob S > On Sep 6, 2018, at 09:04 , Brian Milby via use-livecode wrote: > > I?ve done so much in that widget that it was easy to tackle. From an English like syntax, I think it just makes sense to use the ?empty? method of removing the selection. > > Thanks, > Brian From bobsneidar at iotecdigital.com Thu Sep 6 13:34:31 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 6 Sep 2018 17:34:31 +0000 Subject: Another Tree View Oddity In-Reply-To: <58684E43-A0D8-4AA4-AA27-2B69A8E58045@iotecdigital.com> References: <6E88E1B6-96BE-4EA1-A2A1-323B71423080@iotecdigital.com> <228e7303-2805-49fe-bd3f-e10d3b5adc41@Spark> <2924B87A-C935-4628-981B-B002B76C45D8@iotecdigital.com> <83d746e5-49e8-4c9f-ac68-08759ec5a53f@Spark> <58684E43-A0D8-4AA4-AA27-2B69A8E58045@iotecdigital.com> Message-ID: If it is supposed to, I can file the bug report. Not asking anyone to do my work for me. I just need to know if it is supposed to and isn't, and I'll file it. Bob S > On Sep 6, 2018, at 10:33 , Bob Sneidar via use-livecode wrote: > > actionDoubleClick message is not getting sent or else trapped by the widget either. Is that a read/write function only? I have a tree view set to read only. > > Bob S From brian at milby7.com Thu Sep 6 13:45:46 2018 From: brian at milby7.com (Brian Milby) Date: Thu, 6 Sep 2018 12:45:46 -0500 Subject: Another Tree View Oddity In-Reply-To: References: <6E88E1B6-96BE-4EA1-A2A1-323B71423080@iotecdigital.com> <228e7303-2805-49fe-bd3f-e10d3b5adc41@Spark> <2924B87A-C935-4628-981B-B002B76C45D8@iotecdigital.com> <83d746e5-49e8-4c9f-ac68-08759ec5a53f@Spark> <58684E43-A0D8-4AA4-AA27-2B69A8E58045@iotecdigital.com> Message-ID: <060afe10-36b2-482a-8d84-451a8d04619b@Spark> It is working here. You only get the message for leaf nodes. In widget script I have: on actionDoubleClick pPath put pPath end actionDoubleClick Thanks, Brian On Sep 6, 2018, 12:35 PM -0500, Bob Sneidar via use-livecode , wrote: > If it is supposed to, I can file the bug report. Not asking anyone to do my work for me. I just need to know if it is supposed to and isn't, and I'll file it. > > Bob S > > > > On Sep 6, 2018, at 10:33 , Bob Sneidar via use-livecode wrote: > > > > actionDoubleClick message is not getting sent or else trapped by the widget either. Is that a read/write function only? I have a tree view set to read only. > > > > 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 bobsneidar at iotecdigital.com Thu Sep 6 13:50:57 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 6 Sep 2018 17:50:57 +0000 Subject: Another Tree View Oddity In-Reply-To: <060afe10-36b2-482a-8d84-451a8d04619b@Spark> References: <6E88E1B6-96BE-4EA1-A2A1-323B71423080@iotecdigital.com> <228e7303-2805-49fe-bd3f-e10d3b5adc41@Spark> <2924B87A-C935-4628-981B-B002B76C45D8@iotecdigital.com> <83d746e5-49e8-4c9f-ac68-08759ec5a53f@Spark> <58684E43-A0D8-4AA4-AA27-2B69A8E58045@iotecdigital.com> <060afe10-36b2-482a-8d84-451a8d04619b@Spark> Message-ID: <382E3D98-4DCF-4CBA-9753-BD9D79163BC8@iotecdigital.com> Oh I get it! Crap. I am creating a little pallette I am callign QuickNotes, and the idea is that double clicking on an entry will add the thing you double clicked on after the current selection in the topstack. I was hoping I could just doubleclick a node to do this, but I can see I cannot. I am thinking I should have gone with a datagrid for this. Bob S > On Sep 6, 2018, at 10:45 , Brian Milby via use-livecode wrote: > > It is working here. You only get the message for leaf nodes. In widget script I have: > > on actionDoubleClick pPath > put pPath > end actionDoubleClick > > Thanks, > Brian From tom at makeshyft.com Thu Sep 6 13:52:13 2018 From: tom at makeshyft.com (Tom Glod) Date: Thu, 6 Sep 2018 13:52:13 -0400 Subject: This is disturbing! In-Reply-To: References: <81865A76-B941-402E-8D0B-C7EB86708371@iotecdigital.com> <308e94dc-b9d3-14ee-d9ac-077f43f6bc36@sonic.net> <6232676c54a4dbcf8d4ae48cb689c3e9@livecode.com> Message-ID: I have come across this before ..... I think what I encountered was "" = 0 I had to do a workaround, figured it was a a decision based on other engine factors. I can see it being ok in 99% of cases. On Thu, Sep 6, 2018 at 1:25 PM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > Ignoring the leading or trailing whitespace is weird and counterintuitive. > If the language was more perfect, I think it would first not ignore the > other characters in the string no matter what they look like, then do the > implicit type coercion and then the comparison, even though there are > definitely use cases where 1?1.0?1.0000000000, but those sorts of edge > cases perhaps better left documented and not handled. > In all cases, where intuition and behavior are not in line, the manual > should fill in the gap. > > > On Thu, Sep 6, 2018 at 1:02 PM Mark Waddingham via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > On 2018-09-06 18:52, Mike Kerner via use-livecode wrote: > > > Right. If the explanation is clear then it's not an issue (even if it > > > is a > > > little weird - "6.abc"="6.xyz" is false but "6."&CR is "6."&space is > > > true) > > > > Well the explanation can be fixed :) > > > > Its hard to say whether the language would be better or worse if only > > 'strict' numeric strings were considered equal. After all you'd still > > have that "1.00000" is "1" is "1.0" is ... which whilst more obvious > > perhaps, still means you have to work harder to do strict string > > equality checking (or comparison). > > > > 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 > > > > > -- > 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 MikeKerner at roadrunner.com Thu Sep 6 14:08:55 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 6 Sep 2018 14:08:55 -0400 Subject: This is disturbing! In-Reply-To: References: <81865A76-B941-402E-8D0B-C7EB86708371@iotecdigital.com> <308e94dc-b9d3-14ee-d9ac-077f43f6bc36@sonic.net> <6232676c54a4dbcf8d4ae48cb689c3e9@livecode.com> Message-ID: I like the is vs = idea. I disagree with Paul that this is a price of it being typeless. No other whitespace character in LC seems to cause this behavior. It's not really true that it's typeless e.g. a blob (even though technically a blob is a type). It's just that the typing is implied and the coercion is also implied. On Thu, Sep 6, 2018 at 1:52 PM Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > I have come across this before ..... I think what I encountered was "" = > 0 > > I had to do a workaround, figured it was a a decision based on other engine > factors. > > I can see it being ok in 99% of cases. > > > On Thu, Sep 6, 2018 at 1:25 PM Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Ignoring the leading or trailing whitespace is weird and > counterintuitive. > > If the language was more perfect, I think it would first not ignore the > > other characters in the string no matter what they look like, then do the > > implicit type coercion and then the comparison, even though there are > > definitely use cases where 1?1.0?1.0000000000, but those sorts of edge > > cases perhaps better left documented and not handled. > > In all cases, where intuition and behavior are not in line, the manual > > should fill in the gap. > > > > > > On Thu, Sep 6, 2018 at 1:02 PM Mark Waddingham via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > On 2018-09-06 18:52, Mike Kerner via use-livecode wrote: > > > > Right. If the explanation is clear then it's not an issue (even if > it > > > > is a > > > > little weird - "6.abc"="6.xyz" is false but "6."&CR is "6."&space is > > > > true) > > > > > > Well the explanation can be fixed :) > > > > > > Its hard to say whether the language would be better or worse if only > > > 'strict' numeric strings were considered equal. After all you'd still > > > have that "1.00000" is "1" is "1.0" is ... which whilst more obvious > > > perhaps, still means you have to work harder to do strict string > > > equality checking (or comparison). > > > > > > 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 > > > > > > > > > -- > > 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 > _______________________________________________ > use-livecode mailing list > use-livecode 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 jiml at netrin.com Thu Sep 6 15:34:33 2018 From: jiml at netrin.com (Jim Lambert) Date: Thu, 6 Sep 2018 12:34:33 -0700 Subject: This is disturbing! In-Reply-To: References: Message-ID: > Did anyone know that "6. " is equal to "6."??? It?s somewhat similar to value(?h ?) is equal to value(?h?), while ?h ? is not equal to ?h?. I?m not disturbed but appreciative that the engine tries to convert both sides to numbers when doing a comparison. Just must remember that and use more ?string-y? ways to compare strings as only strings. For example other functions can reveal the strings ?6. ? and ?6.? are not the same string, such as length(?6. ?) is not equal to length( ?6.?). Jim Lambert From bobsneidar at iotecdigital.com Thu Sep 6 15:47:46 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 6 Sep 2018 19:47:46 +0000 Subject: This is disturbing! In-Reply-To: References: Message-ID: <3ACC3FAE-6758-4819-A668-31D988B6E6B8@iotecdigital.com> Yes, but it's the kind of thing that can bite a new programmer in the butt. And the trouble with your comparison is that length("7. ") IS equal to length("6. "). So multiple comparisons have to be made. But this is an edge case I admit. I was only trying to maintain an index number for a TreeView widget, since the arrayData is not numerically indexed making sorting by order added a pain. I ended up using a datagrid anyway. Bob S > On Sep 6, 2018, at 12:34 , Jim Lambert via use-livecode wrote: > >> Did anyone know that "6. " is equal to "6."??? > > It?s somewhat similar to > value(?h ?) is equal to value(?h?), > while > ?h ? is not equal to ?h?. > > I?m not disturbed but appreciative that the engine tries to convert both sides to numbers when doing a comparison. Just must remember that and use more ?string-y? ways to compare strings as only strings. > For example other functions can reveal the strings ?6. ? and ?6.? are not the same string, such as length(?6. ?) is not equal to length( ?6.?). > > Jim Lambert From richmondmathewson at gmail.com Thu Sep 6 16:07:10 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 6 Sep 2018 23:07:10 +0300 Subject: This is disturbing! In-Reply-To: References: Message-ID: <0079aefa-f636-2a6e-599f-bb4646d4a018@gmail.com> I wonder is the reason "6" and "6." are treated as the same is because "6." is read as "6.0"? Late to the party, I know . . . Richmond. On 6/9/2018 10:34 pm, Jim Lambert via use-livecode wrote: >> Did anyone know that "6. " is equal to "6."??? > It?s somewhat similar to > value(?h ?) is equal to value(?h?), > while > ?h ? is not equal to ?h?. > > I?m not disturbed but appreciative that the engine tries to convert both sides to numbers when doing a comparison. Just must remember that and use more ?string-y? ways to compare strings as only strings. > For example other functions can reveal the strings ?6. ? and ?6.? are not the same string, such as length(?6. ?) is not equal to length( ?6.?). > > Jim Lambert > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Thu Sep 6 16:10:43 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 6 Sep 2018 23:10:43 +0300 Subject: This is disturbing! In-Reply-To: <3ACC3FAE-6758-4819-A668-31D988B6E6B8@iotecdigital.com> References: <3ACC3FAE-6758-4819-A668-31D988B6E6B8@iotecdigital.com> Message-ID: <5a14b8e1-1f7e-debb-400a-e98472a01513@gmail.com> "bite a new programmer in the butt" . . . well, as a person who was a new programmer in 1975 and found things very difficult to understand at first (FORTRAN IV) I certainly don't remember having a sore bottom! I do know, that is numerical calculations empty spaces are exactly that: empty space. While in string variables empty spaces are text. The problem might arrise because LiveCode seems not to differentiate (on the surface at least) between numerical variable and string variables. Richmond. On 6/9/2018 10:47 pm, Bob Sneidar via use-livecode wrote: > Yes, but it's the kind of thing that can bite a new programmer in the butt. And the trouble with your comparison is that length("7. ") IS equal to length("6. "). So multiple comparisons have to be made. But this is an edge case I admit. I was only trying to maintain an index number for a TreeView widget, since the arrayData is not numerically indexed making sorting by order added a pain. I ended up using a datagrid anyway. > > Bob S > > >> On Sep 6, 2018, at 12:34 , Jim Lambert via use-livecode wrote: >> >>> Did anyone know that "6. " is equal to "6."??? >> It?s somewhat similar to >> value(?h ?) is equal to value(?h?), >> while >> ?h ? is not equal to ?h?. >> >> I?m not disturbed but appreciative that the engine tries to convert both sides to numbers when doing a comparison. Just must remember that and use more ?string-y? ways to compare strings as only strings. >> For example other functions can reveal the strings ?6. ? and ?6.? are not the same string, such as length(?6. ?) is not equal to length( ?6.?). >> >> Jim Lambert > _______________________________________________ > use-livecode mailing list > use-livecode 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 curry at pair.com Thu Sep 6 18:15:56 2018 From: curry at pair.com (Curry Kenworthy) Date: Thu, 06 Sep 2018 18:15:56 -0400 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report In-Reply-To: References: Message-ID: <5B91A71C.1020806@pair.com> Hello Everyone, Updated stack and more complete results - let me know if you get something very different on your machine. I've added two additional LC benchmark test variations to the "showdown" test stack. That gives it empty loop (with i) and math-intensive options in the "root loops" button. I felt those were needed to round out the tests and cover more areas. (It has only 3 buttons, but each button has right-click and shift-click variations on the general test, explained in tooltips. Total of 12 benchmarks.) http://curryk.com/LC-Version-Showdown-B.zip Also the result times (in ms) are now saved to a global variable with descriptive keys. I used that to crank out a comprehensive report of the benchmark results on both Mac and Windows: http://curryk.com/lc-version-showdown-win-mac.png http://curryk.com/lc-version-showdown-win-mac.pdf As you can see, in many areas LiveCode is significantly slower (1.6x, 1.8x, 2x, 3x, 4x) than it was 2 years ago. Mac and Windows is a bit different, at least on my machines. Windows was hit worse on loops, Mac slowed down more on arrays. But the overall pattern is similar; except for some text operations, LC has become noticeably slower than it was before. For those of us who have serious and substantial code - big problem! Understandable during the LC 7 refactoring, but now it's hopefully time to start tightening things up again. (And no, I certainly don't consider performance a "use-case" for converting any serious blocks of code to JS or other languages! I can write JS well enough as you see, but if I wanted to write all my important code in JS, I would be there, not here. I take LC coding very seriously, maintain and produce a lot of extremely high-quality LCS code, and I consider LC a serious platform for coding. I want my important code, my serious code, right here in LCS. And I want to see LC gain popularity among coders. Trust me, performance is your friend and good things follow it, so any attention to performance should pay for itself.) Anyway, I hope this info and effort helps the cause and helps LC! There are probably a number of important areas I missed, but it is a rather extensive benchmark already and does touch on a variety of the basics. That's all the tests I have time to design at the moment, must get back to other code, but this stack will make it fairly easy to add more tests in future and evaluate new versions on current tests. I hope to follow up with a satisfying performance "smackdown" where a new LC 9 or 10 mops the floor with the competition! :) Best wishes, Curry Kenworthy Custom Software Development LiveCode Training and Consulting http://livecodeconsulting.com/ From monte at appisle.net Thu Sep 6 18:17:35 2018 From: monte at appisle.net (Monte Goulding) Date: Fri, 7 Sep 2018 08:17:35 +1000 Subject: Timezone library - how to use in Livecode Server? In-Reply-To: <94467C14-4191-4245-AAF1-F84C1760DB2B@m-r-d.de> References: <36106D52-96C4-4C66-A838-1ACAA679CFB5@m-r-d.de> <58C91E69-E5E4-4248-9E26-7C0A9EA62FD8@revigniter.com> <9E1ACA5A-2056-4531-B6B5-A043CEDA79BC@m-r-d.de> <874bebe3ad0866bc06532a8d387a7bf4@livecode.com> <0CA3CE83-4DDB-4B39-87D6-628AADB4F299@m-r-d.de> <94467C14-4191-4245-AAF1-F84C1760DB2B@m-r-d.de> Message-ID: <1A3297EE-96D8-41AD-BDA3-8A7DCFFB82D4@appisle.net> > On 7 Sep 2018, at 12:34 am, Matthias Rebbe via use-livecode wrote: > > when using an other LCB library , where do i see what i have to enter in > > set the revLibraryMapping[??????? ?] ??. > > I cannot find any information about revLibraryMapping in the dictionary. It is not documented because it is intended for use only by the IDE. It is only used for extensions include a compiled library like the tz.so library used by the timezone library. We will at some point do something for server so you can just put extensions in a folder like you do with externals. Cheers Monte From monte at appisle.net Thu Sep 6 18:20:10 2018 From: monte at appisle.net (Monte Goulding) Date: Fri, 7 Sep 2018 08:20:10 +1000 Subject: Timezone library - how to use in Livecode Server? In-Reply-To: References: <36106D52-96C4-4C66-A838-1ACAA679CFB5@m-r-d.de> <58C91E69-E5E4-4248-9E26-7C0A9EA62FD8@revigniter.com> <9E1ACA5A-2056-4531-B6B5-A043CEDA79BC@m-r-d.de> <874bebe3ad0866bc06532a8d387a7bf4@livecode.com> <0CA3CE83-4DDB-4B39-87D6-628AADB4F299@m-r-d.de> Message-ID: <5C6A598C-6862-4891-AA6C-E416AF3C1932@appisle.net> > On 6 Sep 2018, at 9:18 pm, Trevor DeVore via use-livecode wrote: > > I just had to comment out the ?resolve file? line which > that caused an error because it is new syntax. It?s just important to remember if using the library with this commented out that it will only find images where you provide the full path rather than paths relative to the stack. Cheers Monte From ahsoftware at sonic.net Thu Sep 6 19:15:53 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 6 Sep 2018 16:15:53 -0700 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report In-Reply-To: <5B91A71C.1020806@pair.com> References: <5B91A71C.1020806@pair.com> Message-ID: On 09/06/2018 03:15 PM, Curry Kenworthy via use-livecode wrote: > > Hello Everyone, > > Updated stack and more complete results - let me know if you get > something very different on your machine. > > I've added two additional LC benchmark test variations to the "showdown" > test stack. That gives it empty loop (with i) and math-intensive options > in the "root loops" button. I felt those were needed to round out the > tests and cover more areas. *Very* interesting. Thanks for the benchmark stack. I'm seeing similar results to yours here on linux Mint 17.3, with the exception of Append 1280 item texts, where I'm seeing LC9 quite a bit faster than LC6.7.11. It's quite consistent across multiple runs. This may be due to the fact that LC6 is 32-bit and I'm comparing it with a 64-bit LC9. For appending 5 item texts, I see a 3x slowdown in LC9, similar to your results. Append 345678 Items texts (of 1280): LC6.7.11 (32-bit): 4894 ms LC9.01rc3 (64-bit): 3271 ms -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Thu Sep 6 19:38:14 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 6 Sep 2018 23:38:14 +0000 Subject: The Visible Hilited Line of a Datagrid Message-ID: <59A9D904-AECF-4E74-AB5A-28B39813011B@iotecdigital.com> It must be late in the day, but I am having a hard time getting the VISIBLE hilited line of a table datagrid. I can do the math based on the scroll and all that, but what I want is for example, in a scrolled datagrid, the user clicks on the first visible line. I want to return 1, or if the second visible line I want to return 2. I was given to understand that when scrolling, the fields are drawn from scratch, but their names reflect their index and NOT their visible position in the scrolled grid! Any ideas? Bob S From ahsoftware at sonic.net Thu Sep 6 19:39:54 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 6 Sep 2018 16:39:54 -0700 Subject: 3WDevolution question In-Reply-To: References: <7CD31E84-EF0D-4F87-BACC-8531A8B39685@gmail.com> Message-ID: <2c62dd19-648a-1afe-f292-556e55c22528@sonic.net> On 09/06/2018 01:15 AM, Richard Gaskin via use-livecode wrote: > I see what's happening there.? It appears the IDE team is attempting to > use a floating palette in a highly unusual way: rather than floating on > top of a document, it's assumed to be placed at the left and when it is > the windowBoundingRect is adjusted so that no other windows can be > placed in a way that overlap it.? When the tool palette is moved to any > other location sufficiently away from the left edge, the > windowBoundingRect is apparently restore to the normal bounds everyone > normally expects. > > You will find that the IDE's change to the windowBoundingRect affects > all windows when using the maximize option for a window. > > This affects the dragging of 4W devolution's window because I have a > customized appearance with my own title bar, and have scripted the > dragging behavior to account for the windowBoundingRect so the window > cannot be submarined beneath the menu bar or the Dock. Interesting. I haven't used the tools palette for many years, but I see no strange interactions between PowerTools and Devolution either on linux or on osx. Is the built-in tools palette doing something it shouldn't be doing then? That sounds worthy of a bug report. -- Mark Wieder ahsoftware at gmail.com From paul at researchware.com Thu Sep 6 20:59:37 2018 From: paul at researchware.com (Paul Dupuis) Date: Thu, 6 Sep 2018 20:59:37 -0400 Subject: The Visible Hilited Line of a Datagrid In-Reply-To: <59A9D904-AECF-4E74-AB5A-28B39813011B@iotecdigital.com> References: <59A9D904-AECF-4E74-AB5A-28B39813011B@iotecdigital.com> Message-ID: <5a64a2be-3398-53b7-c8c7-423b218ace02@researchware.com> I don't have the dictionary handy, so check it for this, but I thought the: dgHilitedIndex is the record number in the array and dgHilitedLine was the visible line number? Look up dgHilitedLine vs dgHilitedIndex On 9/6/2018 7:38 PM, Bob Sneidar via use-livecode wrote: > It must be late in the day, but I am having a hard time getting the VISIBLE hilited line of a table datagrid. I can do the math based on the scroll and all that, but what I want is for example, in a scrolled datagrid, the user clicks on the first visible line. I want to return 1, or if the second visible line I want to return 2. I was given to understand that when scrolling, the fields are drawn from scratch, but their names reflect their index and NOT their visible position in the scrolled grid! > > Any ideas? > > 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 james at thehales.id.au Thu Sep 6 21:08:28 2018 From: james at thehales.id.au (James At The Hale) Date: Fri, 7 Sep 2018 11:08:28 +1000 Subject: ANN: LC Documentation Cache Cleaner Message-ID: Mark asked: > There's a new extension store on the way? Well it is here already. Only it currently only offers widgets. The plan, as presented in one of the LC Globals a while back, is for this to be a one stop shop for all. The current livecodeshare will be migrated across and the ability to upload snippets etc will be added. James From ambassador at fourthworld.com Thu Sep 6 22:02:12 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 6 Sep 2018 19:02:12 -0700 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: References: Message-ID: <9080b888-17b0-9e11-b4eb-e93b023bddb7@fourthworld.com> James At The Hale wrote: > The plan, as presented in one of the LC Globals a while back, is for > this to be a one stop shop for all. > The current livecodeshare will be migrated across and the ability to > upload snippets etc will be added. When? -- 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 ahsoftware at sonic.net Thu Sep 6 22:02:19 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 6 Sep 2018 19:02:19 -0700 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: References: Message-ID: <213bb45d-b2aa-b771-3331-56123cf5927b@sonic.net> On 09/06/2018 06:08 PM, James At The Hale via use-livecode wrote: > Mark asked: >> There's a new extension store on the way? > > > Well it is here already. Only it currently only offers widgets. > The plan, as presented in one of the LC Globals a while back, is for this to be a one stop shop for all. > The current livecodeshare will be migrated across and the ability to upload snippets etc will be added. Did I miss an announcement? Do you have a link? -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Thu Sep 6 22:27:43 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 6 Sep 2018 19:27:43 -0700 Subject: This is disturbing! In-Reply-To: <3ACC3FAE-6758-4819-A668-31D988B6E6B8@iotecdigital.com> References: <3ACC3FAE-6758-4819-A668-31D988B6E6B8@iotecdigital.com> Message-ID: Bob Sneidar wrote: > Yes, but it's the kind of thing that can bite a new programmer in the > butt. HyperTalk had a reputation for being difficult to learn. ;) -- 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 Thu Sep 6 22:41:25 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 7 Sep 2018 02:41:25 +0000 Subject: Script Editor Magic Keys Message-ID: Is the some documentation the Script Editor, auto complete et. al.? BR From ambassador at fourthworld.com Thu Sep 6 22:30:28 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 6 Sep 2018 19:30:28 -0700 Subject: This is disturbing! In-Reply-To: References: Message-ID: <380189fb-177a-2bd9-b27b-e9b0a4af8878@fourthworld.com> Mike Kerner wrote: > I like the is vs = idea. Me too, but I'm afraid decades of code across the entire xTalk world form a substantial enough legacy to render the change prohibitive. Any suggestions for a new operator token to specify numeric equivalence? -- 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 Thu Sep 6 22:10:59 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 6 Sep 2018 19:10:59 -0700 Subject: 3WDevolution question In-Reply-To: <2c62dd19-648a-1afe-f292-556e55c22528@sonic.net> References: <2c62dd19-648a-1afe-f292-556e55c22528@sonic.net> Message-ID: Mark Wieder wrote: > On 09/06/2018 01:15 AM, Richard Gaskin via use-livecode wrote: > >> I see what's happening there. It appears the IDE team is attempting >> to use a floating palette in a highly unusual way: rather than >> floating on top of a document, it's assumed to be placed at the left >> and when it is the windowBoundingRect is adjusted so that no other >> windows can be placed in a way that overlap it. When the tool >> palette is moved to any other location sufficiently away from the >> left edge, the windowBoundingRect is apparently restore to the normal >> bounds everyone normally expects. >> >> You will find that the IDE's change to the windowBoundingRect affects >> all windows when using the maximize option for a window. >> >> This affects the dragging of 4W devolution's window because I have a >> customized appearance with my own title bar, and have scripted the >> dragging behavior to account for the windowBoundingRect so the window >> cannot be submarined beneath the menu bar or the Dock. > > Interesting. I haven't used the tools palette for many years, but I > see no strange interactions between PowerTools and Devolution either > on linux or on osx. Is the built-in tools palette doing something it > shouldn't be doing then? That sounds worthy of a bug report. Maximize a window when the tool palette is flush left, then restore, then try again after the palette has been moved more toward screen center. The changes the IDE makes to the windowBoundingRect should be evident with that recipe on all platforms. As for reporting it, I think it's more in the category of "design decision", attempting to emulate a docked side panel when the tool palette is at the left of the screen, while allowing it to resume the customary behavior of a floating palette when placed anywhere else. I find it's usually much faster and easier for me to modify and augment the IDE however I like than to discuss it. LC Script is often a much more efficient development solution than English. :) If others feel strongly that the windowBoundingRect should not be dynamically altered based on the position of a floating palette they're welcome to report it. I generally limit my own reports to engine issues beyond my ability to correct for, or things frequently raised by newcomers in the forums. -- 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 Thu Sep 6 23:56:40 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 6 Sep 2018 22:56:40 -0500 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: <213bb45d-b2aa-b771-3331-56123cf5927b@sonic.net> References: <213bb45d-b2aa-b771-3331-56123cf5927b@sonic.net> Message-ID: On 9/6/18 9:02 PM, Mark Wieder via use-livecode wrote: > On 09/06/2018 06:08 PM, James At The Hale via use-livecode wrote: >> Mark asked: >>> There's a new extension store on the way? >> >> >> Well it is here already. Only it currently only offers widgets. >> The plan, as presented in one of the LC Globals a while back, is for >> this to be a one stop shop for all. >> The current livecodeshare will be migrated across and the ability to >> upload snippets etc will be added. > > Did I miss an announcement? Do you have a link? > You have to open the LC tools palette occasionally. ;) At the top is a big plus sign. Clicking that opens a stack/window much as Sample Stacks does. A tabbed interface gives access to a number of Libraries, Widgets, and the Store (which is barely populated.) I don't know how to get our own contributions there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Sep 7 00:01:00 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 6 Sep 2018 23:01:00 -0500 Subject: Script Editor Magic Keys In-Reply-To: References: Message-ID: <4900489b-1bb8-b4ad-4cfd-64dc4242b027@hyperactivesw.com> On 9/6/18 9:41 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > Is the some documentation the Script Editor, auto complete et. al.? It's in the User Guide, page 498. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Sep 7 00:02:13 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 6 Sep 2018 23:02:13 -0500 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: References: <213bb45d-b2aa-b771-3331-56123cf5927b@sonic.net> Message-ID: <968a3e58-e02c-6ef2-1e30-103f9aad6ad0@hyperactivesw.com> On 9/6/18 10:56 PM, J. Landman Gay via use-livecode wrote: > On 9/6/18 9:02 PM, Mark Wieder via use-livecode wrote: >> On 09/06/2018 06:08 PM, James At The Hale via use-livecode wrote: >>> Mark asked: >>>> There's a new extension store on the way? >>> >>> >>> Well it is here already. Only it currently only offers widgets. >>> The plan, as presented in one of the LC Globals a while back, is for >>> this to be a one stop shop for all. >>> The current livecodeshare will be migrated across and the ability to >>> upload snippets etc will be added. >> >> Did I miss an announcement? Do you have a link? >> > > You have to open the LC tools palette occasionally. ;) At the top is a > big plus sign. Clicking that opens a stack/window much as Sample Stacks > does. A tabbed interface gives access to a number of Libraries, Widgets, > and the Store (which is barely populated.) > > I don't know how to get our own contributions there. > Actually, it's also in the Tools menu -> Extension manager. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Fri Sep 7 00:26:32 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 6 Sep 2018 21:26:32 -0700 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: References: Message-ID: J. Landman Gay wrote: > On 9/6/18 9:02 PM, Mark Wieder via use-livecode wrote: >> On 09/06/2018 06:08 PM, James At The Hale via use-livecode wrote: >>> Mark asked: >>>> There's a new extension store on the way? >>> >>> Well it is here already. Only it currently only offers widgets. ... >> Did I miss an announcement? Do you have a link? > > You have to open the LC tools palette occasionally. ;) Of course. At least once a month I find some rare need for something not already in my streamlined tools. ;) How often does one need an analog clock? I can't imagine I'll ever build my own UI for that, so my tools keep the IDE's tools palette just a quick click away for the times when it's useful. They offer completeness, devo offers awareness of priorities. Best tool for the job at hand, and devo keeps everything more easily accessible than the IDE itself so I don't have to choose, I have it all. > At the top is a big plus sign. Clicking that opens a stack/window much > as Sample Stacks does. A tabbed interface gives access to a number of > Libraries, Widgets, and the Store (which is barely populated.) Curious. For all the things in the LC universe it would never have occurred to me that they'd bet the farm of the community repository, the cornerstone of development languages so folks can find the 10,000 wheels we don't need to reinvent, on the odd chance that someone might click an unlabeled icon of an arithmetic symbol in the corner of a temporal utility window. Surely it's also in the Tools menu and at the Web site, yes? > I don't know how to get our own contributions there. Ah, it appears to be quite something else. This is still the same LCB-specific subset we've had for several versions. It is very separate from everything else in our community, the stuff we share so often here and elsewhere in a hundred different place, all the LC Script snippets, stacks, externals, templates, examples, and libraries. And it offers no integration with Github or other repositories widely used in our community, as the community-built tool was proposed to do. Even the LCB-specific collection that's there has incomplete metadata. For example, picking one at random I'm looking at a widget named "Circle Progress", where its license type is listed as "community". There is no common license by that name; few can know what that means. If they mean the license used by the LC Community Edition, that would be "GPLv3", a name immediately recognizable by those noting the license type. If there is indeed some non-standard license the author calls "community", we'll need the license text there to know if the terms allow us to use it in our work. It seems this Builder-specific collection and revOnline/Share this Stack/Sample Stacks/livecodeshare are both legacy projects of specific scope; the repo Kevin discussed in Nov 2016 sounded like something more comprehensive to handle the full scope of sharing needs. I look forward to seeing how they integrate the two into a single solution, and hopefully a date when that is expected to be available. -- 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 neville.smythe at optusnet.com.au Fri Sep 7 00:32:36 2018 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Fri, 7 Sep 2018 14:32:36 +1000 Subject: Slow LC 9 Performance Message-ID: <7EF7971E-3DFC-47C2-8347-FB6ACF6E8EE3@optusnet.com.au> Curry: Your last benchmark mentioned that this was a test for Windows 10. I may have missed this qualifier in the previous discussion: do I take it that the slowdown in performance noted are all Windows 10 tests? Has performance on Mac and Linux also degraded by similar amounts? I ask because of the earlier discussion of the drastic slowdown in saving a stack under Windows 10 [bug 21305 ] (from x10 to x30 longer than on a Mac or Linux box). This applies to LC 8, and is a comparison between platforms rather than versions of LC, but if the answer to my second question above is no, then it would particularly direct attention of the engineers to the Windows engine. BTW, just for interest I ran the repeat loop benchmark in LC8 on my Mac, and then Windows 10 and Linux Ubuntu 16.04 both under Parallels emulation on the same Mac. As expected the Windows 10 run was a little slower (about 12% slower) than the Mac 64 bit test, understandable given it is running in emulation. But the Linux run was about 10% *faster* than the Mac!! Neville Smythe From neville.smythe at optusnet.com.au Fri Sep 7 00:42:52 2018 From: neville.smythe at optusnet.com.au (Neville Smythe) Date: Fri, 7 Sep 2018 14:42:52 +1000 Subject: Slow LC 9 Performance Message-ID: ops, I should have waited for the next use-livecode email for the answer to my question! Thanks Curry Neville Smythe From jiml at netrin.com Fri Sep 7 00:53:02 2018 From: jiml at netrin.com (Jim Lambert) Date: Thu, 6 Sep 2018 21:53:02 -0700 Subject: This is disturbing! In-Reply-To: References: Message-ID: <98157B30-489E-4A62-9036-AE7ED3EF9154@netrin.com> > RichardG wrote: > Any suggestions for a new operator token to specify numeric equivalence? Or maybe to specify string equivalence. > Did anyone know that "6. " is equal to "6."??? string( "6. ?) is not equal to string( "6.?) where the function string() would tell LC not to try to convert the string into a number, but simply leave it as a literal string for comparison purposes. Of course, another way to prevent LC from converting a textual number into an actual number is to append a string to the textual number: whereas "6. ? = "6.? returns TRUE "6. ? & ?a? = "6.? & ?a? returns FALSE. Jim Lambert From alanstenhouse at hotmail.com Fri Sep 7 01:55:24 2018 From: alanstenhouse at hotmail.com (Alan) Date: Fri, 7 Sep 2018 05:55:24 +0000 Subject: mergButton - transparent image possible? Message-ID: Is it possible to set the transparency of a background (or foreground) image for a mergButton button? Alternatively, are transparency settings used if using a PNG (if that's possible)? I see that we can set the transparency of the background, border and other colours. Monte or anyone else tried this? cheers Alan From james at thehales.id.au Fri Sep 7 02:14:18 2018 From: james at thehales.id.au (James At The Hale) Date: Fri, 7 Sep 2018 16:14:18 +1000 Subject: ANN: LC Documentation Cache Cleaner Message-ID: Richard asks re the new extension store.. > When? Well its initial offering is already here, see Jacque?s posts. As for when it will offer what was promised...probably sometime after Infinite Livecode has delivered the components and examples it promised or after DataGrid 2 is complete and delivered. Not holding my breathe. James From iphonelagi at gmail.com Fri Sep 7 06:42:13 2018 From: iphonelagi at gmail.com (Lagi Pittas) Date: Fri, 7 Sep 2018 11:42:13 +0100 Subject: This is disturbing! In-Reply-To: <380189fb-177a-2bd9-b27b-e9b0a4af8878@fourthworld.com> References: <380189fb-177a-2bd9-b27b-e9b0a4af8878@fourthworld.com> Message-ID: Hi We had the same "problem" in Foxpro because of the Dbase legacy. Here is a partial list of comparisosn with the SET EXACT switch setting OFF ON OFF or ON "abc" = "abc" Yes Yes Yes -- 1 "ab" = "abc" No No No -- 2 "abc" = "ab" Yes No No -- 3 "abc" = "ab_" No No No -- 4 "ab" = "ab_" No Yes No -- 5 "ab_" = "ab" Yes Yes No -- 6 "" = "ab" No No No -- 7 "ab" = "" Yes No No -- 8 ....... You get the picture the reason that 7 and 8 look weird is because (I believe) that the comparison scans the length of the operand which in this case is zero length, so the strings match up upto the zeroth character So why this list? Because without breaking any code we can have a setting - no different to itemdelimiter or numeric format etc like SET EXACT on or off and the engine could do the "right thing". But the right thing to me is not the right thing to you, it's an edge case and the programmer should know his data.. So here is the simplest way out of any pickle, and changes to the docs to explain this to knew programmers .... function EQ p1, p2 return (space & p1 = space & p2) end EQ On Mouseup local s1, s2 put "6." into s1 put "6. " into s2 answer "S1 = s2 is " & (s1 = s2) answer "S1 = s2 is " & EQ(s1 = s2) end Mouseup And why doesn't my Python Program work - oh "You have an extra space"!! If there ever was the most stupid design decision of ANY language that must have been indentation as part of the syntax - and the second - Case sensitivity - because I want to Use "NAME" and "name" to help me differentiate Adults from children Oh and while in Rant mode don'y get me stated on PHP ... Case sensitive variables, constants, array keys, class properties, class constants Case insensitive functions, class constructors, class methods, keywords and constructs (if, else, null, foreach, echo etc.) So count your blessings ... Regards Lagi On Fri, 7 Sep 2018 at 03:42, Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Mike Kerner wrote: > > I like the is vs = idea. > > Me too, but I'm afraid decades of code across the entire xTalk world > form a substantial enough legacy to render the change prohibitive. > > Any suggestions for a new operator token to specify numeric equivalence? > > -- > 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 bobsneidar at iotecdigital.com Fri Sep 7 10:48:40 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 7 Sep 2018 14:48:40 +0000 Subject: This is disturbing! In-Reply-To: <98157B30-489E-4A62-9036-AE7ED3EF9154@netrin.com> References: <98157B30-489E-4A62-9036-AE7ED3EF9154@netrin.com> Message-ID: <8B867397-190B-41FE-A3A9-D85B2BC223B2@iotecdigital.com> There is already a string keyword. Bob S > On Sep 6, 2018, at 21:53 , Jim Lambert via use-livecode wrote: > > >> RichardG wrote: >> Any suggestions for a new operator token to specify numeric equivalence? > > Or maybe to specify string equivalence. > >> Did anyone know that "6. " is equal to "6."??? > > string( "6. ?) is not equal to string( "6.?) > > where the function string() would tell LC not to try to convert the string into a number, but simply leave it as a literal string for comparison purposes. > > Of course, another way to prevent LC from converting a textual number into an actual number is to append a string to the textual number: > > whereas "6. ? = "6.? returns TRUE > "6. ? & ?a? = "6.? & ?a? returns FALSE. > > Jim Lambert From bobsneidar at iotecdigital.com Fri Sep 7 10:51:07 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 7 Sep 2018 14:51:07 +0000 Subject: This is disturbing! In-Reply-To: <0079aefa-f636-2a6e-599f-bb4646d4a018@gmail.com> References: <0079aefa-f636-2a6e-599f-bb4646d4a018@gmail.com> Message-ID: <1A120701-567D-41E1-B193-DC6575D3E456@iotecdigital.com> Yes. Bob S > On Sep 6, 2018, at 13:07 , Richmond Mathewson via use-livecode wrote: > > I wonder is the reason "6" and "6." are treated as the same is because "6." is read as "6.0"? > > Late to the party, I know . . . > > Richmond. From bobsneidar at iotecdigital.com Fri Sep 7 10:54:09 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 7 Sep 2018 14:54:09 +0000 Subject: The Visible Hilited Line of a Datagrid In-Reply-To: <5a64a2be-3398-53b7-c8c7-423b218ace02@researchware.com> References: <59A9D904-AECF-4E74-AB5A-28B39813011B@iotecdigital.com> <5a64a2be-3398-53b7-c8c7-423b218ace02@researchware.com> Message-ID: <49D92DAF-20AF-4344-954B-848A494C9B3C@iotecdigital.com> That's what I thought but apparently they are equal, and understandably, because otherwise you would not be able to reference a line that was not currently visible. but I think if you resort, the indexes change order but the lines are still the actual lines. I am figuring out a way to do this by calculating the dgHilitedLine against the dgVscroll. Bob S > On Sep 6, 2018, at 17:59 , Paul Dupuis via use-livecode wrote: > > I don't have the dictionary handy, so check it for this, but I thought the: > > dgHilitedIndex is the record number in the array > and > dgHilitedLine was the visible line number? > > Look up dgHilitedLine vs dgHilitedIndex From devin_asay at byu.edu Fri Sep 7 11:02:41 2018 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 7 Sep 2018 15:02:41 +0000 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: References: <213bb45d-b2aa-b771-3331-56123cf5927b@sonic.net> Message-ID: <261E0AEB-C908-477C-AA46-486EFD7D6329@byu.edu> On Sep 6, 2018, at 9:56 PM, J. Landman Gay via use-livecode > wrote: You have to open the LC tools palette occasionally. ;) At the top is a big plus sign. Clicking that opens a stack/window much as Sample Stacks does. A tabbed interface gives access to a number of Libraries, Widgets, and the Store (which is barely populated.) Hey, I just noticed you can hide and show individual widgets from the Widgets tab in the Extensions Manager. Click the down arrow next to the widget and it?s one of the options. I?m probably the last one to notice that. Devin Devin Asay Director Office of Digital Humanities Brigham Young University From ahsoftware at sonic.net Fri Sep 7 12:00:07 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 7 Sep 2018 09:00:07 -0700 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: <968a3e58-e02c-6ef2-1e30-103f9aad6ad0@hyperactivesw.com> References: <213bb45d-b2aa-b771-3331-56123cf5927b@sonic.net> <968a3e58-e02c-6ef2-1e30-103f9aad6ad0@hyperactivesw.com> Message-ID: <9e30e043-8f3d-df77-eb28-1c71af250a62@sonic.net> On 09/06/2018 09:02 PM, J. Landman Gay via use-livecode wrote: > Actually, it's also in the Tools menu -> Extension manager. > Interesting. The Widgets and Libraries tabs show what's in my system already. The Store tab briefly says "loading LiveCode extensions store" and then... on osx just shows me a blank panel - no content on linux, totally crashes LC after launching two more processes that have to be forceably kill-9ed. Don't try this at home. https://quality.livecode.com/show_bug.cgi?id=21573 -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Fri Sep 7 12:12:37 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 7 Sep 2018 09:12:37 -0700 Subject: ANN: LC Documentation Cache Cleaner In-Reply-To: References: Message-ID: On 09/06/2018 11:14 PM, James At The Hale via use-livecode wrote: > Richard asks re the new extension store.. >> When? > > Well its initial offering is already here, see Jacque?s posts. > > As for when it will offer what was promised...probably sometime after Infinite Livecode has delivered the components and examples it promised or after DataGrid 2 is complete and delivered. > > Not holding my breathe. Yeah. See my post about the hard crash. I do see a 'store' of sorts on the website (https://livecode.com/extensions/) is that what you're referring to? That seems to be just a place to sell things. There's no apparent way to upload extensions and no similar link on the livecode.org site. No hint of community involvement. -- Mark Wieder ahsoftware at gmail.com From lists at mangomultimedia.com Fri Sep 7 14:06:02 2018 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 7 Sep 2018 13:06:02 -0500 Subject: The Visible Hilited Line of a Datagrid In-Reply-To: <59A9D904-AECF-4E74-AB5A-28B39813011B@iotecdigital.com> References: <59A9D904-AECF-4E74-AB5A-28B39813011B@iotecdigital.com> Message-ID: On Thu, Sep 6, 2018 at 6:38 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > It must be late in the day, but I am having a hard time getting the > VISIBLE hilited line of a table datagrid. I can do the math based on the > scroll and all that, but what I want is for example, in a scrolled > datagrid, the user clicks on the first visible line. I want to return 1, or > if the second visible line I want to return 2. I was given to understand > that when scrolling, the fields are drawn from scratch, but their names > reflect their index and NOT their visible position in the scrolled grid! > Take a look at the dgVisibleLines property. Use dgHilitedLines and dgVisibleLines to determine the offset. -- Trevor DeVore ScreenSteps www.screensteps.com From bobsneidar at iotecdigital.com Fri Sep 7 14:28:18 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 7 Sep 2018 18:28:18 +0000 Subject: The Visible Hilited Line of a Datagrid In-Reply-To: References: <59A9D904-AECF-4E74-AB5A-28B39813011B@iotecdigital.com> Message-ID: <7854468C-4532-42CE-B5A9-993430AFA5E6@iotecdigital.com> Thanks Trevor! I swear I scoured the API and never saw that! Bob S > On Sep 7, 2018, at 11:06 , Trevor DeVore via use-livecode wrote: > >> It must be late in the day, but I am having a hard time getting the >> VISIBLE hilited line of a table datagrid. I can do the math based on the >> scroll and all that, but what I want is for example, in a scrolled >> datagrid, the user clicks on the first visible line. I want to return 1, or >> if the second visible line I want to return 2. I was given to understand >> that when scrolling, the fields are drawn from scratch, but their names >> reflect their index and NOT their visible position in the scrolled grid! >> > > Take a look at the dgVisibleLines property. Use dgHilitedLines > and dgVisibleLines to determine the offset. > > -- > Trevor DeVore From bobsneidar at iotecdigital.com Fri Sep 7 14:52:22 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 7 Sep 2018 18:52:22 +0000 Subject: The Visible Hilited Line of a Datagrid In-Reply-To: References: <59A9D904-AECF-4E74-AB5A-28B39813011B@iotecdigital.com> Message-ID: <502F1009-2942-470E-80A9-76AC6A337D08@iotecdigital.com> The following is fruits of my labors. I am attempting to have a group of two buttons always vertically positioned center-aligned with the hilited line. Here is what I came up with: on setROControlLoc put the dgHilitedLine of me into tHilitedLine put item 1 of the dgVisibleLines of me into tFirstLine put (tHilitedLine - tFirstLine) into tRowOffset put the top of group "QuickNotes" into tGridTop put the dgProp ["header height"] of me into tHeaderHeight put the dgProp ["row height"] of me into tRowHeight put the loc of group "grpReorder" into tROControlLoc put tGridTop + tHeaderHeight + (tRowHeight * (tRowOffset)) + (tRowHeight /2) into tROControlCenter put tROControlCenter into item 2 of tROControlLoc set the loc of group "grpReorder" to tROControlLoc end setROControlLoc There is probably a much simpler and more elegant wat to go about it, but I can't discern it. I will post a sample stack later. It's pretty cool. The idea is to have a control for moving a line up or down in a datagrid. I considered a drag and drop but it's too much brain power, and this is much easier. Bob S > On Sep 7, 2018, at 11:06 , Trevor DeVore via use-livecode wrote: > > Take a look at the dgVisibleLines property. Use dgHilitedLines > and dgVisibleLines to determine the offset. > > -- > Trevor DeVore From curry at pair.com Fri Sep 7 16:04:48 2018 From: curry at pair.com (Curry Kenworthy) Date: Fri, 07 Sep 2018 16:04:48 -0400 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report In-Reply-To: References: Message-ID: <5B92D9E0.60508@pair.com> Mark: > For appending 5 item texts, I see a 3x slowdown in LC9, > similar to your results. Thanks for sharing your Linux results! So that means on 3 different platforms (Mac, Win, Linux) using item chunks is 3x to 4x slower in LiveCode today than it was 2 years ago, for a short list of items. (And I just realized that some Mac people may have misunderstood that all this was just another Mac/Win type comparison, so I'll state it again clearly from a Mac-centric perspective.) LC on Mac today is 3 times slower than it was two years ago for arrays and items, and 2 times slower for math! At least on my Mac, assuming it holds true for your chip too. So we are all in this performance boat together, no matter your OS preference. You're affected. Moreover (as I demo'd in the video) using item chunks is slower in LiveCode today than using an array was 2 years ago! The old speed of items blew it away. That may surprise some of the people thinking they'll just use items; the ultra-fast option doesn't exist anymore. I'm very happy that arrays already are on LC's official radar, because they are extremely important and they are currently 2x-3x slower. That will help. Probably noticed, and on the radar, because Mac was disproportionately affected! Mac Mac Mac. :) But attention Mac people: Mac is every bit as affected (3.3x slower than before) by those slower chunks for a small list of items. (Big lists too, on Mac AFAIK.) So fixing arrays is only part of the solution. Items are pretty important too, especially when they are being emphasized as a route for optimizing code. Math and loops help too. > Append 345678 Items texts (of 1280): > LC6.7.11 (32-bit): 4894 ms > LC9.01rc3 (64-bit): 3271 ms Nice to know that bright spot for Linux on the bigger lists and 64-bits! Mac and Windows performance both got 1.7 times worse on those, at least on my machines. I appreciate you testing it. Best wishes, Curry K. From jiml at netrin.com Fri Sep 7 16:44:55 2018 From: jiml at netrin.com (Jim Lambert) Date: Fri, 7 Sep 2018 13:44:55 -0700 Subject: This is disturbing! In-Reply-To: References: Message-ID: <1508A4D1-FE3C-48F9-AEFC-D78DD9B2A604@netrin.com> > Bob S wrote: > There is already a string keyword. > True. ?Stringify()? or ??evaluateAsString()? It?s easy enough to write a function to force string comparisons for those rare edge cases like "6. " is equal to "6.? where the engine automatically converts the strings to numbers. function compareAsStrings string1, string2 return string1 & "a" = string2 & "a" end compareAsStrings compareAsStrings("6. ","6.") returns FALSE. Jim Lambert From ahsoftware at sonic.net Fri Sep 7 21:11:09 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 7 Sep 2018 18:11:09 -0700 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report In-Reply-To: <5B92D9E0.60508@pair.com> References: <5B92D9E0.60508@pair.com> Message-ID: <4625ca2b-979f-cc4c-398a-6cd7e32ea354@sonic.net> On 09/07/2018 01:04 PM, Curry Kenworthy via use-livecode wrote: > Nice to know that bright spot for Linux on the bigger lists and 64-bits! > Mac and Windows performance both got 1.7 times worse on those, at least > on my machines. I appreciate you testing it. I misread some of my data yesterday, and there are actually a few other places where LC9 is faster than LC6.7 on linux. And just for fun I loaded a 32-bit LC9 so it's a more fair comparison. Append 345678 Items texts (of 1280) 32bitLC6: 4894 32bitLC9: 3895 64bitLC9: 3271 Text Maxed 32bitLC6: 765 : 1018 32bitLC9: 494 : 1341 64bitLC9: 484 : 1469 (casesensitive) 32bitLC6: 760: 928 32bitLC9: 504 : 1308 64bitLC9: 494 : 1285 single-char search text 32bitLC6: 760 : 793 32bitLC9: 504 : 879 64bitLC9: 493 : 804 single-char search text (casesensitive) 32bitLC6: 761 : 743 32bitLC9: 504 : 817 64bitLC9: 511 : 797 Otherwise (math especially) LC6 is much faster. -- Mark Wieder ahsoftware at gmail.com From jerry at jhjensen.com Fri Sep 7 21:18:55 2018 From: jerry at jhjensen.com (Jerry Jensen) Date: Fri, 7 Sep 2018 18:18:55 -0700 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report In-Reply-To: <4625ca2b-979f-cc4c-398a-6cd7e32ea354@sonic.net> References: <5B92D9E0.60508@pair.com> <4625ca2b-979f-cc4c-398a-6cd7e32ea354@sonic.net> Message-ID: Just a quick wild thought: Are the math routines doing unnecessary unicode interpretation? .Jerry > On Sep 7, 2018, at 6:11 PM, Mark Wieder via use-livecode wrote: > > Otherwise (math especially) LC6 is much faster. From ahsoftware at sonic.net Fri Sep 7 21:27:52 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 7 Sep 2018 18:27:52 -0700 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report In-Reply-To: References: <5B92D9E0.60508@pair.com> <4625ca2b-979f-cc4c-398a-6cd7e32ea354@sonic.net> Message-ID: <15425f28-130f-0130-82f5-9fa384c16ce8@sonic.net> On 09/07/2018 06:18 PM, Jerry Jensen via use-livecode wrote: > Just a quick wild thought: Are the math routines doing unnecessary unicode interpretation? That's my guess as well. Doing type conversion on the strings-that-are-not-strings and then getting to the math functions. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Fri Sep 7 21:33:39 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 7 Sep 2018 18:33:39 -0700 Subject: 3WDevolution question In-Reply-To: References: <2c62dd19-648a-1afe-f292-556e55c22528@sonic.net> Message-ID: On 09/06/2018 07:10 PM, Richard Gaskin via use-livecode wrote: > Maximize a window when the tool palette is flush left, then restore, > then try again after the palette has been moved more toward screen > center.? The changes the IDE makes to the windowBoundingRect should be > evident with that recipe on all platforms. All right. I see that, although I had to pull PowerTools out of the way to see the problem, since it only affects the built-in tools palette. I didn't see a problem with maximizing a stack, but devolution wouldn't move to the left past the right border of the tools palette. Are you seeing maximized stacks also being affected by this? > If others feel strongly that the windowBoundingRect should not be > dynamically altered based on the position of a floating palette they're > welcome to report it.? I generally limit my own reports to engine issues > beyond my ability to correct for, or things frequently raised by > newcomers in the forums. Afaict this only affects devolution, and only the built-in tools palette seems to be the culprit, so I don't care much one way or the other. -- Mark Wieder ahsoftware at gmail.com From jerry at jhjensen.com Fri Sep 7 21:49:19 2018 From: jerry at jhjensen.com (Jerry Jensen) Date: Fri, 7 Sep 2018 18:49:19 -0700 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report In-Reply-To: <15425f28-130f-0130-82f5-9fa384c16ce8@sonic.net> References: <5B92D9E0.60508@pair.com> <4625ca2b-979f-cc4c-398a-6cd7e32ea354@sonic.net> <15425f28-130f-0130-82f5-9fa384c16ce8@sonic.net> Message-ID: <8BA56ADF-4518-44D5-B671-BC8815045203@jhjensen.com> > On Sep 7, 2018, at 6:27 PM, Mark Wieder via use-livecode wrote: > > On 09/07/2018 06:18 PM, Jerry Jensen via use-livecode wrote: >> Just a quick wild thought: Are the math routines doing unnecessary unicode interpretation? > > That's my guess as well. > Doing type conversion on the strings-that-are-not-strings and then getting to the math functions. Or even unnecessary multiple conversions within a complex math expression? .Jerry From curry at pair.com Fri Sep 7 21:55:06 2018 From: curry at pair.com (Curry Kenworthy) Date: Fri, 07 Sep 2018 21:55:06 -0400 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report In-Reply-To: <15425f28-130f-0130-82f5-9fa384c16ce8@sonic.net> References: <15425f28-130f-0130-82f5-9fa384c16ce8@sonic.net> Message-ID: <5B932BFA.70104@pair.com> Jerry: > Are the math routines doing unnecessary unicode interpretation? Mark: > Doing type conversion on the strings-that-are-not-strings > and then getting to the math functions. You guys might be right, but I doubt it. Here's one reason why. I took some care to make the math test a true math test. Notice in Root Loops: local sQty=1234567 add 0 to sQty --> make it a true number* put 0 into n repeat with i=1 to sQty add sqrt(i) to n end repeat * So sQty is already binary when the loop starts. The "1" is a string, but that only happens once and shouldn't matter. (In fact I started out with stuff like t1 just to be sure, and 0+0 into n, but it made no difference so I took it out. After one loop at most, i and n are now binary and should stay that way. Sqrt is acting upon i (binary), adding the result (binary) to n (binary) and comparing i to sQty (binary) so in theory no conversion should be taking place until the repeat is over. So in theory we're really testing the math between versions and not the conversion. Second reason: because (perhaps ironically) it turns out the text portions of LC, other than chunks, are actually performing better on tests than other parts. It's not my place to speculate, but maybe the attention given to the text handling code during Unicode did a lot of good! But I don't want to speculate too much; I'd better stick more to the stats. :) Best wishes, Curry Kenworthy Custom Software Development LiveCode Training and Consulting http://livecodeconsulting.com/ From ambassador at fourthworld.com Fri Sep 7 22:25:59 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 7 Sep 2018 19:25:59 -0700 Subject: 3WDevolution question In-Reply-To: References: Message-ID: <736f4acd-b4ef-15b8-46c9-a6df85a533a4@fourthworld.com> Mark Wieder wrote: > On 09/06/2018 07:10 PM, Richard Gaskin via use-livecode wrote: > >> Maximize a window when the tool palette is flush left, then restore, >> then try again after the palette has been moved more toward screen >> center. The changes the IDE makes to the windowBoundingRect should >> be evident with that recipe on all platforms. > > All right. I see that, although I had to pull PowerTools out of the > way to see the problem, since it only affects the built-in tools > palette. I didn't see a problem with maximizing a stack, but > devolution wouldn't move to the left past the right border of the > tools palette. Are you seeing maximized stacks also being affected > by this? Not on Linux. :) It seems an old bug has regressed - I've filed a new report: https://quality.livecode.com/show_bug.cgi?id=21574 While the windowBoundingRect is currently ignored for standard style windows on Linux, on MS Windows 10 the maximize behavior works as expected, constrained withing the rect specified in that property. I haven't checked on Mac, but assumed it hasn't broken there; if anyone finds that it has feel free to add a note to that effect in the report. -- 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 curry at pair.com Fri Sep 7 23:08:58 2018 From: curry at pair.com (Curry Kenworthy) Date: Fri, 07 Sep 2018 23:08:58 -0400 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report In-Reply-To: <5B932BFA.70104@pair.com> References: <5B932BFA.70104@pair.com> Message-ID: <5B933D4A.2020204@pair.com> Me: > I took some care to make the math test a true math test. P.S. - I was careful about binary optimization for the original Root Loops math test, but the alternate shift-click test I added later (big calculations) didn't have that. Doing so makes hardly any difference for LC6, but it does help LC9 quite a bit. It brings the big calculations result on Windows down from 2x to 1.5x slower on my computer. That helps to separate the maths from the loops. Very good point Jerry/Mark; whether it's due to Unicode or not, conversion on 9 may be slower! But even with conversion happening inside a loop, the unoptimized big math was 2x slower whereas the main Root Loops test (always binary optimized) is 2.7x slower, as is an empty loop with i. So the loop itself, or especially the "with i" portion of it, might be part of the problem. I had previously tested a loop with no i (repeat sQty) and it was only 1.3 times slower. Hmmmmm. That could leave the incrementing and the comparison to sQty. One of those could be a culprit, or collectively maybe all 3 play a part; 1.3 ^ 3 = 2.2. Unfortunately I don't have any time to pursue more tests right now, plus I was determined at first to only provide the results and not speculate too much on causes. Breaking my rule here. :) But I hope we can get some great engine performance going soon, one way or another. Run well-optimized scripts on a very fast engine and we'd be blazing along nicely! Best wishes, Curry Kenworthy Custom Software Development LiveCode Training and Consulting http://livecodeconsulting.com/ From ahsoftware at sonic.net Fri Sep 7 23:56:13 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 7 Sep 2018 20:56:13 -0700 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report In-Reply-To: <5B932BFA.70104@pair.com> References: <15425f28-130f-0130-82f5-9fa384c16ce8@sonic.net> <5B932BFA.70104@pair.com> Message-ID: <26ab1e8e-5ed1-0441-9984-e19867326f54@sonic.net> On 09/07/2018 06:55 PM, Curry Kenworthy via use-livecode wrote: > You guys might be right, but I doubt it. Here's one reason why. I took > some care to make the math test a true math test. > > Notice in Root Loops: > > local sQty=1234567 > add 0 to sQty --> make it a true number* I could be wrong, but I'm not convinced that's what actually happens. So if the next line is if sQty = "1234567" by your account that should be a runtime error because it's a comparison between a number and a string? Or does the comparison operator somehow convert the number back to a string to compare the two? I'm suspicious enough of the sleight-of-hand that underpins the use of unquoted string literals not to trust the easy answers, and to think that under the hood in the engine everything at the script level is an MCString until necessarily converted internally for computation. And then back again. But just guessing. -- Mark Wieder ahsoftware at gmail.com From brian at milby7.com Sat Sep 8 00:20:13 2018 From: brian at milby7.com (Brian Milby) Date: Fri, 7 Sep 2018 23:20:13 -0500 Subject: 3WDevolution question In-Reply-To: <736f4acd-b4ef-15b8-46c9-a6df85a533a4@fourthworld.com> References: <736f4acd-b4ef-15b8-46c9-a6df85a533a4@fourthworld.com> Message-ID: FWIW... I see the same thing on Mac where Devolution will not move past the tool palette. One possible solution would be to add the rect of Devolution to the prefs and restore regardless of the bounding rect. This would allow the tool palette to be positioned over Devolution since you probably only actively use one at a time (if desired anyway). Thanks, Brian On Sep 7, 2018, 9:57 PM -0500, Richard Gaskin via use-livecode , wrote: > Mark Wieder wrote: > > > On 09/06/2018 07:10 PM, Richard Gaskin via use-livecode wrote: > > > > > Maximize a window when the tool palette is flush left, then restore, > > > then try again after the palette has been moved more toward screen > > > center. The changes the IDE makes to the windowBoundingRect should > > > be evident with that recipe on all platforms. > > > > All right. I see that, although I had to pull PowerTools out of the > > way to see the problem, since it only affects the built-in tools > > palette. I didn't see a problem with maximizing a stack, but > > devolution wouldn't move to the left past the right border of the > > tools palette. Are you seeing maximized stacks also being affected > > by this? > > Not on Linux. :) > > It seems an old bug has regressed - I've filed a new report: > https://quality.livecode.com/show_bug.cgi?id=21574 > > While the windowBoundingRect is currently ignored for standard style > windows on Linux, on MS Windows 10 the maximize behavior works as > expected, constrained withing the rect specified in that property. I > haven't checked on Mac, but assumed it hasn't broken there; if anyone > finds that it has feel free to add a note to that effect in the report. > > -- > 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 curry at pair.com Sat Sep 8 00:42:22 2018 From: curry at pair.com (Curry Kenworthy) Date: Sat, 08 Sep 2018 00:42:22 -0400 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report In-Reply-To: <26ab1e8e-5ed1-0441-9984-e19867326f54@sonic.net> References: <26ab1e8e-5ed1-0441-9984-e19867326f54@sonic.net> Message-ID: <5B93532E.6040601@pair.com> Mark: > if sQty = "1234567" > by your account that should be a runtime error because > it's a comparison between a number and a string? In the original Root Loops code, I assume it should be a pure comparison of i (binary, such as +5.00...) with sQty (binary, +1234567.00...) so that native math would be used and no text string involved during the loop after it gets started. But in the "big calculations" variation, the code has many numbers-as-strings that get converted each time through the loop, and that makes quite a difference on LC 9; hardly any on 6. That is definitely worth looking into. I like your "not to trust the easy answers" philosophy! Any improvements under the hood will certainly get a lot of good use. Best wishes, Curry K. From ambassador at fourthworld.com Sat Sep 8 00:44:58 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 7 Sep 2018 21:44:58 -0700 Subject: 3WDevolution question In-Reply-To: References: Message-ID: <9ff2e768-b007-f7e5-f793-99514fcf31c9@fourthworld.com> Brian Milby wrote: > FWIW... > I see the same thing on Mac where Devolution will not move past the > tool palette. More interestingly, when you see the windowBoundingRect altered by the placement of the IDE's tool palette, does a maximized window respect the new windowBoundingRect as it does on Windows, or ignore it as it does on Linux? > One possible solution would be to add the rect of Devolution to the > prefs and restore regardless of the bounding rect. This would allow > the tool palette to be positioned over Devolution since you probably > only actively use one at a time (if desired anyway). I could add all sorts of additional geometry for the edge case in which someone wants to have both the devo window and the tool palette open at the same time AND in a position which prevents use of one or the other.... Or the IDE team could just not monkey with the windowBoundingRect based on the occasional position of a single window which is different from what happens in other positions, different from what happens in other windows, and different from what happens in other apps. Which would seem more beneficial for the larger number of LC scripters? -- 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 brian at milby7.com Sat Sep 8 01:20:40 2018 From: brian at milby7.com (Brian Milby) Date: Sat, 8 Sep 2018 00:20:40 -0500 Subject: 3WDevolution question In-Reply-To: <9ff2e768-b007-f7e5-f793-99514fcf31c9@fourthworld.com> References: <9ff2e768-b007-f7e5-f793-99514fcf31c9@fourthworld.com> Message-ID: On Fri, Sep 7, 2018 at 11:45 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Brian Milby wrote: > > > FWIW... > > I see the same thing on Mac where Devolution will not move past the > > tool palette. > > More interestingly, when you see the windowBoundingRect altered by the > placement of the IDE's tool palette, does a maximized window respect the > new windowBoundingRect as it does on Windows, or ignore it as it does on > Linux? > > Mac is somewhat different. If you click the maximize control then you go into full screen mode for that window (no title bar, no menu, no dock). Palettes still appear over it (tools, Devolution, Navigator, DevTools, but not the menu button bar). You have to hold the option key when clicking the green dot to get the old behavior (which puts a `+` in it). Even then, it fills the entire screen (except it does not cover the dock). Same palette situation. > > > One possible solution would be to add the rect of Devolution to the > > prefs and restore regardless of the bounding rect. This would allow > > the tool palette to be positioned over Devolution since you probably > > only actively use one at a time (if desired anyway). > > I could add all sorts of additional geometry for the edge case in which > someone wants to have both the devo window and the tool palette open at > the same time AND in a position which prevents use of one or the other.... > > Or the IDE team could just not monkey with the windowBoundingRect based > on the occasional position of a single window which is different from > what happens in other positions, different from what happens in other > windows, and different from what happens in other apps. > > Which would seem more beneficial for the larger number of LC scripters? > > I was mainly talking about saving the position between launches like the tools palette does. I ended up putting the stack toplevel and moving to get it where I wanted and then saving. On my Linux VM, due to the screen size, I put it on the extreme right at the top (which due to the bug you filed, allows me to move it up to the top currently - next to the menu bar). When just testing, I relaunched LC and was able to move Devolution wherever I wanted (even over the menu button bar). I promptly put it all the way to the left and saved it :) I agree that the boundingrect stuff is a little frustrating. It's not like the menu goes edge to edge nor does the tool palette go top to bottom of the screen. Thanks, Brian From prothero at earthlearningsolutions.org Sat Sep 8 01:41:38 2018 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Fri, 7 Sep 2018 22:41:38 -0700 Subject: 3WDevolution question In-Reply-To: <9ff2e768-b007-f7e5-f793-99514fcf31c9@fourthworld.com> References: <9ff2e768-b007-f7e5-f793-99514fcf31c9@fourthworld.com> Message-ID: <3896251D-6524-405E-9493-F397B3205DE5@earthlearningsolutions.org> Frankly, I would prefer the ide tools palette and the Devo tools palette overlap at will. One or the other can be in front, overlapped or not. I generally only use the ide tools when creating UI objects, so most of the time it?s invisible. Currently, to get the Devo palette to go as far left as I want, I just drag the IDE tools palette to center screen, then back. Best, Bill William Prothero http://es.earthednet.org > On Sep 7, 2018, at 9:44 PM, Richard Gaskin via use-livecode wrote: > > Brian Milby wrote: > > > FWIW... > > I see the same thing on Mac where Devolution will not move past the > > tool palette. > > More interestingly, when you see the windowBoundingRect altered by the placement of the IDE's tool palette, does a maximized window respect the new windowBoundingRect as it does on Windows, or ignore it as it does on Linux? > > > > One possible solution would be to add the rect of Devolution to the > > prefs and restore regardless of the bounding rect. This would allow > > the tool palette to be positioned over Devolution since you probably > > only actively use one at a time (if desired anyway). > > I could add all sorts of additional geometry for the edge case in which someone wants to have both the devo window and the tool palette open at the same time AND in a position which prevents use of one or the other.... > > Or the IDE team could just not monkey with the windowBoundingRect based on the occasional position of a single window which is different from what happens in other positions, different from what happens in other windows, and different from what happens in other apps. > > Which would seem more beneficial for the larger number of LC scripters? > > -- > 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 mark.rauterkus at gmail.com Sat Sep 8 02:30:14 2018 From: mark.rauterkus at gmail.com (Mark Rauterkus) Date: Fri, 7 Sep 2018 23:30:14 -0700 Subject: Bluetooth devices and talking with LC apps made in LiveCode? Message-ID: Hi, Can LiveCode communicate with Bluetooth devices? Is there a way that this can be done? A few Bluetooth devices with bad interface issues could be rewritten innLiveCode but I am clueless how that might occur. Mark Rauterkus -- -- Ta. Mark Rauterkus Mark at Rauterkus.com Executive Director of SKWIM USA, a 501(c)(3) The Pittsburgh Project - swim coach and head lifeguard Middle School Swim Coach at The Ellis School Former Varsity Boys Swim Coach, Pittsburgh Obama Academy Sabbatical for 2018: PPS Summer Dreamers' Swim & Water Polo Pittsburgh Combined Water Polo Team http://CLOH.org 412 298 3432 = cell From ambassador at fourthworld.com Sat Sep 8 02:41:55 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 7 Sep 2018 23:41:55 -0700 Subject: 4WDevolution question In-Reply-To: References: Message-ID: <624eee9a-4113-a948-b543-a0ef291ce468@fourthworld.com> Brian Milby wrote: > On Fri, Sep 7, 2018 at 11:45 PM Richard Gaskin wrote: >> ...when you see the windowBoundingRect altered by the placement of >> the IDE's tool palette, does a maximized window respect the new >> windowBoundingRect as it does on Windows, or ignore it as it does >> on Linux? >> > Mac is somewhat different. If you click the maximize control then you > go into full screen mode for that window (no title bar, no menu, no > dock). > Palettes still appear over it (tools, Devolution, Navigator, DevTools, > but not the menu button bar). You have to hold the option key when > clicking the green dot to get the old behavior (which puts a `+` in > it). Even then, it fills the entire screen (except it does not cover > the dock). Same palette situation. Hmmm...maybe it is time for the IDE to let the old tool palette behavior go. No longer useful at all on macOS, and has always been of questionable value anyway. Unless someone here can think of a reason to keep it, I may file a request to no longer have the position of the tool palette alter the windowBoundingRect. They may say "no", but seems worth removing another "sometimes" gotcha, noble an experiment though it may have once been. ... >> Or the IDE team could just not monkey with the windowBoundingRect >> based on the occasional position of a single window which is >> different from what happens in other positions, different from what >> happens in other windows, and different from what happens in other >> apps. >> >> Which would seem more beneficial for the larger number of LC >> scripters? >> > I was mainly talking about saving the position between launches like > the tools palette does. Yes, I was thinking I might get to that if I had any idea how many people were using it. Seems more than I knew. Not hard to add. I'll find some time in my schedule soon. > I ended up putting the stack toplevel and moving to get it where I > wanted and then saving. Ah, but since you're using devo you needn't fiddle so much: in devo's DeskView window you can right-click on any window proxy and choose Save from there. Doesn't matter what mode the window is in. Bonus: in that window you can also double-click any window to toggle its current mode to toplevel, and a double-click there will then restore it to its style mode. I use DeskView for all sorts of things, but it's particularly helpful when I'm doing a lot of work in palettes, letting me get in and out of editing mode with them super-easily. -- Richard Gaskin Fourth World Systems http://fourthworld.com/products/devolution From ambassador at fourthworld.com Sat Sep 8 03:26:17 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 8 Sep 2018 00:26:17 -0700 Subject: 4WDevolution question In-Reply-To: <3896251D-6524-405E-9493-F397B3205DE5@earthlearningsolutions.org> References: <3896251D-6524-405E-9493-F397B3205DE5@earthlearningsolutions.org> Message-ID: Bill Prothero wrote: > Frankly, I would prefer the ide tools palette and the Devo tools > palette overlap at will. One or the other can be in front, overlapped > or not. I generally only use the ide tools when creating UI objects, > so most of the time it?s invisible. Perhaps I've failed in my goal: With devo's generously-sized "Tools" button, the aim was that you should be able to open and close the IDE's tool palette as needed at least as easily as fiddling with window layers and shifting windows around. Click once: it's open. Click again: it's gone (when I'm busy I hate slowing down to aim for the little 6px close icon on palette windows). The assumption with devo is that, unlike using most apps, when you're in LiveCode you're MAKING apps. And YOUR stuff is the important stuff - everything else is subservient. Why else would you have launched LC? Your app has its own windows, its own menus, its own toolbar, etc. Sometimes even its own windowBoundingRect. :) So rather than fight for precious real estate with an IDE's stuff, a tool like devo lets your app take over. You just use the IDE's parts when you need them, fluid enough to get to them so that you don't have to hesitate about closing them between uses. The more you take advantage of it, the more it turns the development process inside out: instead of building an app inside of an IDE, it's like using an IDE inside your app. The more of its Preferences option you use, the less you get: your screen can become a wide open sky, ready to fill with YOUR stuff: http://fourthworld.net/lc/rg-lc-ide.png On small laptop screens like a Macbook Air it's a godsend (and a big part of why I first made it), since managing all the IDE windows feels very cramped at 768p. And on a big screen it's luxurious. I have a few enhancements in my copy that'll land in the public version soon, now that I see more are using it. I'll drop in the window placement save that Brian suggested with those. I probably won't bother with adjustments for the IDE's windowBoundingRect fiddling just yet, under the assumption that it may go away in the IDE soon and then that valuable global property may be something your app is using, and should be honored by tools like devo so everything you need works well within it. If you already have devolution installed, you never need to worry about hunting it down somewhere on the web and comparing versions - software lends itself well to that sort of thing: like LC itself, whenever a new version is available it'll let you know and update itself in place. -- Richard Gaskin Fourth World Systems http://fourthworld.com/products/devolution From ahsoftware at sonic.net Sat Sep 8 12:03:15 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 8 Sep 2018 09:03:15 -0700 Subject: 3WDevolution question In-Reply-To: References: <9ff2e768-b007-f7e5-f793-99514fcf31c9@fourthworld.com> Message-ID: <5ecefe39-883e-0db6-cc5e-1872f86a48b8@sonic.net> On 09/07/2018 10:20 PM, Brian Milby via use-livecode wrote: >> Mac is somewhat different. If you click the maximize control then you go > into full screen mode for that window (no title bar, no menu, no dock). > Palettes still appear over it (tools, Devolution, Navigator, DevTools, but > not the menu button bar). You have to hold the option key when clicking > the green dot to get the old behavior (which puts a `+` in it). Even then, > it fills the entire screen (except it does not cover the dock). Same > palette situation. Noob question :) I tried this on osx and maximized a stack. It took over the whole screen. Now how do I unmaximize it? There's no title bar. That just seems wrong. -- Mark Wieder ahsoftware at gmail.com From ludovic.thebault at laposte.net Sat Sep 8 12:05:54 2018 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Sat, 8 Sep 2018 18:05:54 +0200 Subject: 3WDevolution question In-Reply-To: <5ecefe39-883e-0db6-cc5e-1872f86a48b8@sonic.net> References: <9ff2e768-b007-f7e5-f793-99514fcf31c9@fourthworld.com> <5ecefe39-883e-0db6-cc5e-1872f86a48b8@sonic.net> Message-ID: > Le 8 sept. 2018 ? 18:03, Mark Wieder via use-livecode a ?crit : > > On 09/07/2018 10:20 PM, Brian Milby via use-livecode wrote: > >>> Mac is somewhat different. If you click the maximize control then you go >> into full screen mode for that window (no title bar, no menu, no dock). >> Palettes still appear over it (tools, Devolution, Navigator, DevTools, but >> not the menu button bar). You have to hold the option key when clicking >> the green dot to get the old behavior (which puts a `+` in it). Even then, >> it fills the entire screen (except it does not cover the dock). Same >> palette situation. > > Noob question :) I tried this on osx and maximized a stack. It took over the whole screen. Now how do I unmaximize it? There's no title bar. That just seems wrong. Put the mouse at the top of screen to display menubar or type escape at the keyboard From jacque at hyperactivesw.com Sat Sep 8 12:08:25 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 08 Sep 2018 11:08:25 -0500 Subject: 4WDevolution question In-Reply-To: <624eee9a-4113-a948-b543-a0ef291ce468@fourthworld.com> References: <624eee9a-4113-a948-b543-a0ef291ce468@fourthworld.com> Message-ID: <165b9f100c0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Just a tip for those not using devo: cmd-ctrl-shift-right click on any stack displays a menu with many different options, one of which is to save the stack regardless of the mode. It also allows you to send messages to the card or stack directly (easier than the message box for stacks not toplevel, ) access scripts and inspectors, and more. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 8, 2018 1:44:00 AM Richard Gaskin via use-livecode wrote: > > Ah, but since you're using devo you needn't fiddle so much: in devo's > DeskView window you can right-click on any window proxy and choose Save > from there. Doesn't matter what mode the window is in. From klaus at major-k.de Sat Sep 8 12:13:16 2018 From: klaus at major-k.de (Klaus major-k) Date: Sat, 8 Sep 2018 18:13:16 +0200 Subject: 3WDevolution question In-Reply-To: References: <9ff2e768-b007-f7e5-f793-99514fcf31c9@fourthworld.com> <5ecefe39-883e-0db6-cc5e-1872f86a48b8@sonic.net> Message-ID: HI all, > Am 08.09.2018 um 18:05 schrieb Ludovic THEBAULT via use-livecode : > > >> Le 8 sept. 2018 ? 18:03, Mark Wieder via use-livecode a ?crit : >> >> On 09/07/2018 10:20 PM, Brian Milby via use-livecode wrote: >> >>>> Mac is somewhat different. If you click the maximize control then you go >>> into full screen mode for that window (no title bar, no menu, no dock). >>> Palettes still appear over it (tools, Devolution, Navigator, DevTools, but >>> not the menu button bar). You have to hold the option key when clicking >>> the green dot to get the old behavior (which puts a `+` in it). Even then, >>> it fills the entire screen (except it does not cover the dock). Same >>> palette situation. >> >> Noob question :) I tried this on osx and maximized a stack. It took over the whole screen. Now how do I unmaximize it? There's no title bar. That just seems wrong. > > Put the mouse at the top of screen to display menubar or type escape at the keyboard ESCAPE does not work for LC stacks. If you clicked the green button and the stack goes "fullscreen", then: ... put the fullscreen of stack "the one that currently occupies the complete screen" ... You get FALSE? Not sure if this is correct!? If it looks like a duck, sounds like a duck etc... :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From ahsoftware at sonic.net Sat Sep 8 12:13:22 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 8 Sep 2018 09:13:22 -0700 Subject: 3WDevolution question In-Reply-To: References: <9ff2e768-b007-f7e5-f793-99514fcf31c9@fourthworld.com> <5ecefe39-883e-0db6-cc5e-1872f86a48b8@sonic.net> Message-ID: <8f1a9ddb-59f2-a0ea-7eae-430f0efa7a3e@sonic.net> On 09/08/2018 09:05 AM, Ludovic THEBAULT via use-livecode wrote: > Put the mouse at the top of screen to display menubar or type escape at the keyboard Doh! Thanks. I had tried escape but didn't move the mouse up to the top. I imagine there must be precedent for this, but none of my other osx applications work this way (maximizing while removing the title bar). The stack decorations are set to default. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Sat Sep 8 12:23:08 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 8 Sep 2018 09:23:08 -0700 Subject: 3WDevolution question In-Reply-To: References: <9ff2e768-b007-f7e5-f793-99514fcf31c9@fourthworld.com> <5ecefe39-883e-0db6-cc5e-1872f86a48b8@sonic.net> Message-ID: On 09/08/2018 09:13 AM, Klaus major-k via use-livecode wrote: >>> Noob question :) I tried this on osx and maximized a stack. It took over the whole screen. Now how do I unmaximize it? There's no title bar. That just seems wrong. >> >> Put the mouse at the top of screen to display menubar or type escape at the keyboard > > ESCAPE does not work for LC stacks. > > If you clicked the green button and the stack goes "fullscreen", then: > ... > put the fullscreen of stack "the one that currently occupies the complete screen" > ... > You get FALSE? > Not sure if this is correct!? > > If it looks like a duck, sounds like a duck etc... :-) But moving the mouse to the top does display the stack's title bar. And then you can click the green unmaximize button to restore the stack. Quack! -- Mark Wieder ahsoftware at gmail.com From klaus at major-k.de Sat Sep 8 12:26:59 2018 From: klaus at major-k.de (Klaus major-k) Date: Sat, 8 Sep 2018 18:26:59 +0200 Subject: 3WDevolution question In-Reply-To: References: <9ff2e768-b007-f7e5-f793-99514fcf31c9@fourthworld.com> <5ecefe39-883e-0db6-cc5e-1872f86a48b8@sonic.net> Message-ID: <12EE3BF6-1BFD-415F-B6A9-2E05E48215E5@major-k.de> Hi Mark, > Am 08.09.2018 um 18:23 schrieb Mark Wieder via use-livecode : > On 09/08/2018 09:13 AM, Klaus major-k via use-livecode wrote: >>>> Noob question :) I tried this on osx and maximized a stack. It took over the whole screen. Now how do I unmaximize it? There's no title bar. That just seems wrong. >>> Put the mouse at the top of screen to display menubar or type escape at the keyboard >> ESCAPE does not work for LC stacks. >> If you clicked the green button and the stack goes "fullscreen", then: >> ... >> put the fullscreen of stack "the one that currently occupies the complete screen" >> ... >> You get FALSE? >> Not sure if this is correct!? >> If it looks like a duck, sounds like a duck etc... :-) > But moving the mouse to the top does display the stack's title bar. And then you can click the green unmaximize button to restore the stack. yes, I know, but that was not really my question. > Quack! Quack yourself, my little drake! :-D > -- > Mark Wieder > ahsoftware at gmail.com Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From richmondmathewson at gmail.com Sat Sep 8 12:54:47 2018 From: richmondmathewson at gmail.com (richmond) Date: Sat, 8 Sep 2018 19:54:47 +0300 Subject: Being stupid for a change Message-ID: <1bbcea03-66bd-c00c-097c-48a622ba2653@gmail.com> Erm . . . What's wrong with this? *if char 1 of POYNTS is included in "abcdefghijklmnopqrstuvwxyz" then* Richmond. From ahsoftware at sonic.net Sat Sep 8 13:00:22 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 8 Sep 2018 10:00:22 -0700 Subject: Being stupid for a change In-Reply-To: <1bbcea03-66bd-c00c-097c-48a622ba2653@gmail.com> References: <1bbcea03-66bd-c00c-097c-48a622ba2653@gmail.com> Message-ID: <8783ba98-60dd-0627-671a-c6a1bc45f019@sonic.net> On 09/08/2018 09:54 AM, richmond via use-livecode wrote: > Erm . . . > > What's wrong with this? > > *if char 1 of POYNTS is included in "abcdefghijklmnopqrstuvwxyz" then* if char 1 of POYNTS is in "abcdefghijklmnopqrstuvwxyz" then -- Mark Wieder ahsoftware at gmail.com From klaus at major-k.de Sat Sep 8 13:00:44 2018 From: klaus at major-k.de (Klaus major-k) Date: Sat, 8 Sep 2018 19:00:44 +0200 Subject: Being stupid for a change In-Reply-To: <1bbcea03-66bd-c00c-097c-48a622ba2653@gmail.com> References: <1bbcea03-66bd-c00c-097c-48a622ba2653@gmail.com> Message-ID: Hi Richmond > Am 08.09.2018 um 18:54 schrieb richmond via use-livecode : > > Erm . . . > > What's wrong with this? > *if char 1 of POYNTS is included in "abcdefghijklmnopqrstuvwxyz" then* you have a "cluded" too much. 8-) > Richmond. Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From richmondmathewson at gmail.com Sat Sep 8 13:03:07 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 8 Sep 2018 20:03:07 +0300 Subject: Being stupid for a change In-Reply-To: References: <1bbcea03-66bd-c00c-097c-48a622ba2653@gmail.com> Message-ID: <85ca7c1b-a41b-1686-413a-17866ea6d379@gmail.com> Thanks, Klaus, and Mark, I've had a long week and am feeling fairly Cluded to be honest. Richmond. On 8/9/2018 8:00 pm, Klaus major-k via use-livecode wrote: > Hi Richmond > >> Am 08.09.2018 um 18:54 schrieb richmond via use-livecode : >> >> Erm . . . >> >> What's wrong with this? >> *if char 1 of POYNTS is included in "abcdefghijklmnopqrstuvwxyz" then* > you have a "cluded" too much. 8-) > >> 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 harrison at all-auctions.com Sat Sep 8 13:41:34 2018 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 8 Sep 2018 13:41:34 -0400 Subject: Using RevMail in Server? In-Reply-To: References: <6BCF190D-B56A-4975-BECB-F84265C526EF@hindu.org> Message-ID: I was hoping that RevMail could be used from within LC Server. The documentation says it should work. My experience with it so far has been more of that it won?t work. If I use it from a normal LC stack it works fine in that it brings up my email client, like it is supposed to. Is this a known bug? If not, does anyone have a good example of using RevMail or the Unicode version from within LC Server that works? Thanks, Rick From tom at makeshyft.com Sat Sep 8 14:49:28 2018 From: tom at makeshyft.com (Tom Glod) Date: Sat, 8 Sep 2018 14:49:28 -0400 Subject: Being stupid for a change In-Reply-To: <85ca7c1b-a41b-1686-413a-17866ea6d379@gmail.com> References: <1bbcea03-66bd-c00c-097c-48a622ba2653@gmail.com> <85ca7c1b-a41b-1686-413a-17866ea6d379@gmail.com> Message-ID: perfect case for better error messages ...... people get tired...... our ide's should never expect perfect humans and try to be as helpful as possible. Think how far down the to do list "improved error messages" is......but i guess its why we have a community that can help....... alright next time i have time i will dive into the github and making contributions to the community ide. On Sat, Sep 8, 2018 at 1:03 PM Richmond Mathewson via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks, Klaus, and Mark, > > I've had a long week and am feeling fairly Cluded to be honest. > > Richmond. > > On 8/9/2018 8:00 pm, Klaus major-k via use-livecode wrote: > > Hi Richmond > > > >> Am 08.09.2018 um 18:54 schrieb richmond via use-livecode < > use-livecode at lists.runrev.com>: > >> > >> Erm . . . > >> > >> What's wrong with this? > >> *if char 1 of POYNTS is included in "abcdefghijklmnopqrstuvwxyz" then* > > you have a "cluded" too much. 8-) > > > >> 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 > > _______________________________________________ > use-livecode mailing list > use-livecode 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 jiml at netrin.com Sat Sep 8 16:38:03 2018 From: jiml at netrin.com (Jim Lambert) Date: Sat, 8 Sep 2018 13:38:03 -0700 Subject: use-livecode Digest, Vol 180, Issue 17 In-Reply-To: References: Message-ID: > MarkR wrote: > > Can LiveCode communicate with Bluetooth devices? There is an extension that comes with an Indy/Business license. mergBLE From the Dictionary: "mergBLE is a LiveCode external for iOS and OS X that enables CoreBluetooth (BLE) functionality. You can use the external to discover and interact with peripherals or advertise your app as a peripheral for others to interact with.? Jim Lambert From ambassador at fourthworld.com Sat Sep 8 16:35:19 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 8 Sep 2018 13:35:19 -0700 Subject: Using RevMail in Server? In-Reply-To: References: Message-ID: <7b01800d-cf90-5555-c9d7-34628a4c4dad@fourthworld.com> Rick Harrison wrote: > I was hoping that RevMail could be > used from within LC Server. The > documentation says it should work. > My experience with it so far has been > more of that it won?t work. > > If I use it from a normal LC stack > it works fine in that it brings up > my email client, like it is supposed to. If a server had a GUI with a mail client installed, who would be there to click the Send button? :) I'm surprised the docs include "server" as a platform for that command, as it wouldn't make sense there. That is, unless it uses the same syntax to bundle up the data to pass off to sendmail. But I didn't see anything like that in the Dictionary. This Lesson offers a way to send email using LC Server: -- 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 livfoss at mac.com Sun Sep 9 07:53:13 2018 From: livfoss at mac.com (Graham Samuel) Date: Sun, 09 Sep 2018 13:53:13 +0200 Subject: Bluetooth again (was Re: use-livecode Digest, Vol 180, Issue 17) In-Reply-To: References: Message-ID: Nice to know, but this seems to leave more than half the potential users of one?s app out in the cold. OK Apple, you win this time. Is there no PC and/or Android help on the horizon? Graham > On 8 Sep 2018, at 22:38, Jim Lambert via use-livecode wrote: > >> MarkR wrote: >> >> Can LiveCode communicate with Bluetooth devices? > > There is an extension that comes with an Indy/Business license. mergBLE > > From the Dictionary: > "mergBLE is a LiveCode external for iOS and OS X that enables CoreBluetooth (BLE) functionality. You can use the external to discover and interact with peripherals or advertise your app as a peripheral for others to interact with.? > > Jim Lambert > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sep 9 08:18:59 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 9 Sep 2018 15:18:59 +0300 Subject: Bluetooth again (was Re: use-livecode Digest, Vol 180, Issue 17) In-Reply-To: References: Message-ID: If one belives Apple's propaganda that they take up 10% of the personal computer market that still excludes 90%: "more than half" might qualify as an understatement. Richmond. On 9/9/2018 2:53 pm, Graham Samuel via use-livecode wrote: > Nice to know, but this seems to leave more than half the potential users of one?s app out in the cold. OK Apple, you win this time. Is there no PC and/or Android help on the horizon? > > Graham > >> On 8 Sep 2018, at 22:38, Jim Lambert via use-livecode wrote: >> >>> MarkR wrote: >>> >>> Can LiveCode communicate with Bluetooth devices? >> There is an extension that comes with an Indy/Business license. mergBLE >> >> From the Dictionary: >> "mergBLE is a LiveCode external for iOS and OS X that enables CoreBluetooth (BLE) functionality. You can use the external to discover and interact with peripherals or advertise your app as a peripheral for others to interact with.? >> >> Jim Lambert >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 harrison at all-auctions.com Sun Sep 9 10:16:03 2018 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 9 Sep 2018 10:16:03 -0400 Subject: Using RevMail in Server? In-Reply-To: <7b01800d-cf90-5555-c9d7-34628a4c4dad@fourthworld.com> References: <7b01800d-cf90-5555-c9d7-34628a4c4dad@fourthworld.com> Message-ID: <4FA7B564-96F6-46DF-96DB-8797652B3830@all-auctions.com> > On Sep 8, 2018, at 4:35 PM, Richard Gaskin via use-livecode wrote: > > > If a server had a GUI with a mail client installed, who would be there to click the Send button? :) QuicKeys 4 for Mac OS X can always click the Send button even when no one is around to click the button. :-) > > I'm surprised the docs include "server" as a platform for that command, as it wouldn't make sense there. Yes, I think it must be a misprint or it is missing important information about using it in a form. > > That is, unless it uses the same syntax to bundle up the data to pass off to sendmail. But I didn't see anything like that in the Dictionary. > > This Lesson offers a way to send email using LC Server: > Thanks for the link Richard! > > -- > 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 matthias_livecode_150811 at m-r-d.de Sun Sep 9 11:56:36 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 9 Sep 2018 17:56:36 +0200 Subject: Using RevMail in Server? In-Reply-To: <4FA7B564-96F6-46DF-96DB-8797652B3830@all-auctions.com> References: <7b01800d-cf90-5555-c9d7-34628a4c4dad@fourthworld.com> <4FA7B564-96F6-46DF-96DB-8797652B3830@all-auctions.com> Message-ID: <489E18BE-73B6-49BA-AE2B-646827E509A9@m-r-d.de> > Am 09.09.2018 um 16:16 schrieb Rick Harrison via use-livecode : > > >> >> I'm surprised the docs include "server" as a platform for that command, as it wouldn't make sense there. > > Yes, I think it must be a misprint or it is missing important information about using it in a form. I would say it?s an error in the dictionary. For me it makes no sense to open an app with a GUI from Livecode Server. But anyway, that?s my opinion. Richard already pointed you to the lesson about sending email from Livecode Server scripts. We?re using that method for years to send formdata from our webforms to our office. Another way would be to use the tsNet external with LiveCode Server, if you have a commercial license of Livecode Server and your server system has all needed libraries up to date. HostM has just updated their systems, so that it is now possible to use LivecodeServer 64bit with tsNet. We did some basic tests and they were successful so far. The coming days we will change one of our form processing scripts, so that it uses tsNEt instead of sendmail. I am really curious if this will work w/o problems. We will see. But if it does, then that would be a great enhancement for LivecodeServer. Regards Matthias From hlowe at me.com Sun Sep 9 12:50:56 2018 From: hlowe at me.com (hlowe) Date: Sun, 9 Sep 2018 11:50:56 -0500 (CDT) Subject: Datagrid deleteline vs deletelines issue Message-ID: <1536511856038-0.post@n4.nabble.com> The Dictionary states that the command 'deleteline': "Deletes the specified lines from the data grid. The syntax is: dispatch "DeleteLine" to group "DataGrid" with pLine where pLine is a comma-delimited list of one or more integers, indicating the lines to be deleted. So to delete lines 1,2 and 3 of the datagrid "myDG" we would use: put "1,2,3" into pLine dispatch "DeleteLine" to group "myDG" with pLine The Dictionary also states that the command 'deletelines' (note the plural form) is a synonym for deleteline, implying that either form will do the same thing. However 'deleteline' using LC 9.0.1 (RC3) on a Mac (running an iOS App in both the emulator and on the device) will only accept a single line number in its 'pLine' parameter. Passing more that one integer in 'pLine' causes 'deleteline' to fail silently. To delete more that one line, I must use the pleural form of the command 'deletelines'. put "1,2,3" into pLine dispatch "DeleteLine" to group "myDG" with pLine fails silently while put "1,2,3" into pLine dispatch "DeleteLines" to group "myDG" with pLine succeeds A bug, a Dictionary issue or something more complex? Can anyone else confirm this? Henry Ascriva Health Informatics https://www.ascriva.com -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From ambassador at fourthworld.com Sun Sep 9 12:56:26 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 9 Sep 2018 09:56:26 -0700 Subject: Using RevMail in Server? In-Reply-To: <489E18BE-73B6-49BA-AE2B-646827E509A9@m-r-d.de> References: <489E18BE-73B6-49BA-AE2B-646827E509A9@m-r-d.de> Message-ID: <5bd78def-0c4d-553a-1445-f837391e2a04@fourthworld.com> Matthias Rebbe wrote: > Richard already pointed you to the lesson about sending email from > Livecode Server scripts. > > We?re using that method for years to send formdata from our webforms > to our office. > > Another way would be to use the tsNet external with LiveCode Server, > if you have a commercial license of Livecode Server and your server > system has all needed libraries up to date. tsNet includes an SMTP server? What commands would one 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 tom at makeshyft.com Sun Sep 9 13:04:37 2018 From: tom at makeshyft.com (Tom Glod) Date: Sun, 9 Sep 2018 13:04:37 -0400 Subject: Livecode's CEF Builds Message-ID: Hi Everyone, I am wondering if any of you can shed light as to why the Chrome Embedded Framework that Livecode uses cannot be built with the h264 and MSE (and maybe other codecs?)....... is there no way to notify the user of the license exception? ...... or does it even matter? .... because no one is changing the code in the codec.? needless to say, the browser is needlessly restricted....in my view anyways. youtube half works...vimeo doesn't...neither does netflix and God knows what else. If its not a problem..can someone please put in the extra flags? http://magpcss.org/ceforum/viewtopic.php?f=6&t=13515&start=30 THanks, Tom From richmondmathewson at gmail.com Sun Sep 9 13:36:08 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 9 Sep 2018 20:36:08 +0300 Subject: Let's go mental Message-ID: Yes, Let's: after all it is the anniversary of the "triumph" of Communism in Bulgaria. Um . . . So, there I am, as usual, on a Sunday, popping together a well simple stack with LiveCode 7.1.4 for the tinies (5-7 years old) to practice writing "The monster has one eye", because, as one knows, it is absolutely mission-critical in life to be able to make that sort of statement about monsters when you see them coming. Hey-Ho. . . to navigation buttons . . . So, on card 1 I have an arrow-shaped image containing this, very complex code: on mouseUp go next end mouseUp which has stood me in good stead for the better part of 25 years (pace HyperCard). So; when the thing threw a "bluey": executing at 8:34:32 PM Type Handler: error in statement Object AR.png Line go next Hint mouseUp I felt both "blue" and "cluded" . . . Richmond. From mark at livecode.com Sun Sep 9 13:36:16 2018 From: mark at livecode.com (Mark Waddingham) Date: Sun, 9 Sep 2018 18:36:16 +0100 Subject: Livecode's CEF Builds In-Reply-To: References: Message-ID: <14EDDA89-7E0B-43FE-9CBF-111CCE0BAAFD@livecode.com> H264 is patent encumbered - in order to distribute software containing an implementation you need to license the MPEG-LA patent pool. That's why you won't find any public CEF prebuilts with the flag enabled. Warmest Regards, Mark. Sent from my iPhone > On 9 Sep 2018, at 18:04, Tom Glod via use-livecode wrote: > > Hi Everyone, I am wondering if any of you can shed light as to why the > Chrome Embedded Framework that Livecode uses cannot be built with the h264 > and MSE (and maybe other codecs?)....... is there no way to notify the user > of the license exception? ...... or does it even matter? .... because no > one is changing the code in the codec.? > > needless to say, the browser is needlessly restricted....in my view > anyways. youtube half works...vimeo doesn't...neither does netflix and God > knows what else. > > If its not a problem..can someone please put in the extra flags? > > http://magpcss.org/ceforum/viewtopic.php?f=6&t=13515&start=30 > > THanks, > > Tom > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sep 9 13:43:39 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 9 Sep 2018 20:43:39 +0300 Subject: Let's go mental In-Reply-To: References: Message-ID: OK, OK; here's "Ole Cheesey-feet" replying to his own message, just for a change: When I changed something in the preOpenCard code that the navigation "button" was going 'next' to it behaved itself. This is UTTER RUBBISH as a newby is really extremely unlikely to work out that when the IDE throws an error code supposedly about something the fault is actually somewhere else. This needs sorting out. Richmond. On 9/9/2018 8:36 pm, Richmond Mathewson wrote: > Yes, Let's: after all it is the anniversary of the "triumph" of > Communism in Bulgaria. > > Um . . . > > So, there I am, as usual, on a Sunday, popping together a well simple > stack with LiveCode 7.1.4 for the > tinies (5-7 years old) to practice writing "The monster has one eye", > because, as one knows, it is > absolutely mission-critical in life to be able to make that sort of > statement about monsters when you see them coming. > > Hey-Ho. . . to navigation buttons . . . > > So, on card 1 I have an arrow-shaped image containing this, very > complex code: > > on mouseUp > go next > end mouseUp > > which has stood me in good stead for the better part of 25 years (pace > HyperCard). > > So; when the thing threw a "bluey": > > executing at 8:34:32 PM > Type Handler: error in statement > Object AR.png > Line go next > Hint mouseUp > > I felt both "blue" and "cluded" . . . > > Richmond. From alex at tweedly.net Sun Sep 9 13:56:49 2018 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 9 Sep 2018 18:56:49 +0100 Subject: Using RevMail in Server? In-Reply-To: <5bd78def-0c4d-553a-1445-f837391e2a04@fourthworld.com> References: <489E18BE-73B6-49BA-AE2B-646827E509A9@m-r-d.de> <5bd78def-0c4d-553a-1445-f837391e2a04@fourthworld.com> Message-ID: <993d0e82-9951-2d14-36dd-6580bf0774b1@tweedly.net> On 09/09/2018 17:56, Richard Gaskin via use-livecode wrote: > > tsNet includes an SMTP server? > > What commands would one use? > I've never done it, but ... lessons.livecode.com/m/4071/l/685661-how-to-send-e-mail-using-the-tsnet-external 1. Alex. From tom at makeshyft.com Sun Sep 9 14:02:03 2018 From: tom at makeshyft.com (Tom Glod) Date: Sun, 9 Sep 2018 14:02:03 -0400 Subject: Livecode's CEF Builds In-Reply-To: <14EDDA89-7E0B-43FE-9CBF-111CCE0BAAFD@livecode.com> References: <14EDDA89-7E0B-43FE-9CBF-111CCE0BAAFD@livecode.com> Message-ID: If I do that ..... I then have to make my own build of CEF, My own build of Livecode, and then build my standalones? What could go wrong?....LOL .... Is that my only option? I may have to seriously consider doing whatever it takes. Thanks for the confirmation. On Sun, Sep 9, 2018 at 1:36 PM Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > H264 is patent encumbered - in order to distribute software containing an > implementation you need to license the MPEG-LA patent pool. > > That's why you won't find any public CEF prebuilts with the flag enabled. > > Warmest Regards, > > Mark. > > Sent from my iPhone > > > On 9 Sep 2018, at 18:04, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi Everyone, I am wondering if any of you can shed light as to why the > > Chrome Embedded Framework that Livecode uses cannot be built with the > h264 > > and MSE (and maybe other codecs?)....... is there no way to notify the > user > > of the license exception? ...... or does it even matter? .... because no > > one is changing the code in the codec.? > > > > needless to say, the browser is needlessly restricted....in my view > > anyways. youtube half works...vimeo doesn't...neither does netflix and > God > > knows what else. > > > > If its not a problem..can someone please put in the extra flags? > > > > http://magpcss.org/ceforum/viewtopic.php?f=6&t=13515&start=30 > > > > THanks, > > > > Tom > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 zryip.theslug at gmail.com Sun Sep 9 14:13:13 2018 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sun, 9 Sep 2018 20:13:13 +0200 Subject: Datagrid deleteline vs deletelines issue In-Reply-To: <1536511856038-0.post@n4.nabble.com> References: <1536511856038-0.post@n4.nabble.com> Message-ID: Henry, I can confirm, the deleteLine behavior changed in dg2. Inside the dg2 library, deleteLine and deleteLines are different handlers now (deleteLine is managing some animation now according to the comment I've seen in the code). Inside dg1, deleteLine was just calling deleteLines. Same remark with the deleteIndex and deleteIndexes command. Inside DGH I've changed deleteLine for deleteLines for fixing a bug but I did not read the documentation. This is probably something to update inside the documentation with a warn about ascendant compatibility. On Sun, Sep 9, 2018 at 6:51 PM hlowe via use-livecode < use-livecode at lists.runrev.com> wrote: > The Dictionary states that the command 'deleteline': "Deletes the specified > lines from the data grid. > > The syntax is: > > dispatch "DeleteLine" to group "DataGrid" with pLine > > where pLine is a comma-delimited list of one or more integers, indicating > the lines to be deleted. > > So to delete lines 1,2 and 3 of the datagrid "myDG" we would use: > > put "1,2,3" into pLine > dispatch "DeleteLine" to group "myDG" with pLine > > The Dictionary also states that the command 'deletelines' (note the plural > form) is a synonym for deleteline, implying that either form will do the > same thing. > > However 'deleteline' using LC 9.0.1 (RC3) on a Mac (running an iOS App in > both the emulator and on the device) will only accept a single line number > in its 'pLine' parameter. Passing more that one integer in 'pLine' causes > 'deleteline' to fail silently. To delete more that one line, I must use the > pleural form of the command 'deletelines'. > > put "1,2,3" into pLine > dispatch "DeleteLine" to group "myDG" with pLine > > fails silently > > while > > put "1,2,3" into pLine > dispatch "DeleteLines" to group "myDG" with pLine > > succeeds > > A bug, a Dictionary issue or something more complex? > > Can anyone else confirm this? > > Henry > > Ascriva Health Informatics > https://www.ascriva.com > > > > -- > Sent from: > http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Zryip TheSlug http://www.aslugontheroad.com From matthias_livecode_150811 at m-r-d.de Sun Sep 9 14:33:16 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 9 Sep 2018 20:33:16 +0200 Subject: Using RevMail in Server? In-Reply-To: <5bd78def-0c4d-553a-1445-f837391e2a04@fourthworld.com> References: <489E18BE-73B6-49BA-AE2B-646827E509A9@m-r-d.de> <5bd78def-0c4d-553a-1445-f837391e2a04@fourthworld.com> Message-ID: > Am 09.09.2018 um 18:56 schrieb Richard Gaskin via use-livecode : > > Matthias Rebbe wrote: > > tsNet includes an SMTP server? > I didn?t wrote that. I wrote that we want to replace the use of sendmail in Livecode scripts with using tsNet to send out emails with the formdata of our webforms. The webform sends the data to our Livecode Server script and the script processes the data and sends the data by email to us. Currently this is done with sendmail, but in future we want to use tsNet. I am pretty sure you know this already, but if not: tsNet provides the commands tsNetSmtp, tsNetSmtpFile,tsNetSmtpSync and tsNetSmtpFileSync for sending emails. Regards, Matthias > What commands would one 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 > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sep 9 15:39:58 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 9 Sep 2018 12:39:58 -0700 Subject: Using RevMail in Server? In-Reply-To: References: Message-ID: Matthias Rebbe wrote: >> Am 09.09.2018 um 18:56 schrieb Richard Gaskin: >> tsNet includes an SMTP server? >> > I didn?t wrote that. It was just a question about how it does that, since most of tsNet seems focused on client-side activities. You answered here: . > I am pretty sure you know this already, but if not: > tsNet provides the commands tsNetSmtp, tsNetSmtpFile,tsNetSmtpSync and > tsNetSmtpFileSync for sending emails. I did not, which is why I asked. It hadn't occurred to me that a client-side tool like tsNet would include what seems to be more or less the functionality of sendmail. Pretty cool that it does. Thanks. -- 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 Sun Sep 9 15:47:40 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 9 Sep 2018 12:47:40 -0700 Subject: Livecode's CEF Builds In-Reply-To: References: Message-ID: Tom Glod wrote: > On Sun, Sep 9, 2018 at 1:36 PM Mark Waddingham wrote: > >> H264 is patent encumbered - in order to distribute software >> containing an implementation you need to license the MPEG-LA patent >> pool. >> >> That's why you won't find any public CEF prebuilts with the flag >> enabled. > > If I do that ..... I then have to make my own build of CEF, My own > build of Livecode, and then build my standalones? What could go > wrong?.... Patent litigation. The licensing around h.264 is complex enough that the owning patent pool, MPEG-LA, has put together an FAQ to help navigate its rules: http://www.mpegla.com/main/programs/AVC/Pages/FAQ.aspx Numerous lay articles have been written to help consumers and developers try to navigate that legal minefield: H.264, patent licensing, and you https://www.engadget.com/2010/05/04/know-your-rights-h-264-patent-licensing-and-you/ A closer look at the costs (and fine print) of H.264 licenses https://www.zdnet.com/article/a-closer-look-at-the-costs-and-fine-print-of-h-264-licenses/ H.264 patents: how much do they really cost? https://www.zdnet.com/article/h-264-patents-how-much-do-they-really-cost/ Oh so many more: https://duckduckgo.com/?q=h.264+patent+licensing -- 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 jiml at netrin.com Sun Sep 9 16:56:04 2018 From: jiml at netrin.com (Jim Lambert) Date: Sun, 9 Sep 2018 13:56:04 -0700 Subject: Being stupid for a change In-Reply-To: References: Message-ID: Richmond, you?re not stupid, just ?clude?-less. ;) Jim Lambert From tom at makeshyft.com Sun Sep 9 17:47:45 2018 From: tom at makeshyft.com (Tom Glod) Date: Sun, 9 Sep 2018 17:47:45 -0400 Subject: Livecode's CEF Builds In-Reply-To: References: Message-ID: f-bomb! ty for those resources Richard. On Sun, Sep 9, 2018 at 3:48 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Tom Glod wrote: > > > On Sun, Sep 9, 2018 at 1:36 PM Mark Waddingham wrote: > > > >> H264 is patent encumbered - in order to distribute software > >> containing an implementation you need to license the MPEG-LA patent > >> pool. > >> > >> That's why you won't find any public CEF prebuilts with the flag > >> enabled. > > > > If I do that ..... I then have to make my own build of CEF, My own > > build of Livecode, and then build my standalones? What could go > > wrong?.... > > Patent litigation. > > The licensing around h.264 is complex enough that the owning patent > pool, MPEG-LA, has put together an FAQ to help navigate its rules: > http://www.mpegla.com/main/programs/AVC/Pages/FAQ.aspx > > Numerous lay articles have been written to help consumers and developers > try to navigate that legal minefield: > > H.264, patent licensing, and you > > https://www.engadget.com/2010/05/04/know-your-rights-h-264-patent-licensing-and-you/ > > A closer look at the costs (and fine print) of H.264 licenses > > https://www.zdnet.com/article/a-closer-look-at-the-costs-and-fine-print-of-h-264-licenses/ > > H.264 patents: how much do they really cost? > https://www.zdnet.com/article/h-264-patents-how-much-do-they-really-cost/ > > Oh so many more: > https://duckduckgo.com/?q=h.264+patent+licensing > > -- > 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 richmondmathewson at gmail.com Sun Sep 9 18:16:28 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 10 Sep 2018 01:16:28 +0300 Subject: Being stupid for a change In-Reply-To: References: Message-ID: <3458e788-d0c4-4543-60c7-3e5692a5f8fc@gmail.com> Certainly feels like that from time to time. Richmond. On 9/9/2018 11:56 pm, Jim Lambert via use-livecode wrote: > Richmond, you?re not stupid, just ?clude?-less. ;) > > Jim Lambert > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sun Sep 9 18:34:39 2018 From: monte at appisle.net (Monte Goulding) Date: Mon, 10 Sep 2018 08:34:39 +1000 Subject: Livecode's CEF Builds In-Reply-To: References: <14EDDA89-7E0B-43FE-9CBF-111CCE0BAAFD@livecode.com> Message-ID: <0CC48F82-8B93-4D10-B3AA-8DDEA8E25A1F@appisle.net> > On 10 Sep 2018, at 4:02 am, Tom Glod via use-livecode wrote: > > If I do that ..... I then have to make my own build of CEF, My own build of > Livecode, and then build my standalones? What could go wrong?....LOL .... > Is that my only option? I may have to seriously consider doing whatever it > takes. Actually you _only_ need to build CEF and then can copy libcef.dll into your app but you do have to build the exact revision used by the version of LiveCode you want to use it with. However, correct me if I?m wrong but I thought you use LiveCode Community as your project is GPL which I would have thought would preclude you from incorporating proprietary codecs? Not that I would know as IANAL ;-) Cheers Monte From hlowe at me.com Sun Sep 9 19:48:48 2018 From: hlowe at me.com (hlowe) Date: Sun, 9 Sep 2018 18:48:48 -0500 (CDT) Subject: Datagrid deleteline vs deletelines issue In-Reply-To: References: <1536511856038-0.post@n4.nabble.com> Message-ID: <1536536928529-0.post@n4.nabble.com> Thanks Zryip. I have created a bug report: https://quality.livecode.com/show_bug.cgi?id=21576 It would be helpful if there was a support document describing the changes between DG1 and DG2. I wasted a few hours tracking this one down. Henry Ascriva Health Informatics https://www.ascriva.com -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From tom at makeshyft.com Sun Sep 9 21:44:57 2018 From: tom at makeshyft.com (Tom Glod) Date: Sun, 9 Sep 2018 21:44:57 -0400 Subject: Livecode's CEF Builds In-Reply-To: <0CC48F82-8B93-4D10-B3AA-8DDEA8E25A1F@appisle.net> References: <14EDDA89-7E0B-43FE-9CBF-111CCE0BAAFD@livecode.com> <0CC48F82-8B93-4D10-B3AA-8DDEA8E25A1F@appisle.net> Message-ID: Hi Monte, I was hoping that was the case, but I figured luck would have it i would need to build LC. Good to hear. The truth is I am not really sure how these fine details work..I definitely need clarity. We had to make a pivot with our products .... the sequence.....so we have 2 on the go. one of my projects is GPL for sure.... but the most recent one, I am not sure yet. Leaning that way though. My inquiry has to do with this project https://www.makeshyft.com/timesavers-toolbox/ I would like the browser array feature to be able to work on all video sites...or at least most. There is a revenue model even though the codebase might go GPL3. Thanks for chiming in on this. I sent an email to the people in charge of this and i guess they will write me back. We'll see where all this goes, but i feel the product can definitely withstand this limitation for the time being. On Sun, Sep 9, 2018 at 6:35 PM Monte Goulding via use-livecode < use-livecode at lists.runrev.com> wrote: > > > > On 10 Sep 2018, at 4:02 am, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > If I do that ..... I then have to make my own build of CEF, My own build > of > > Livecode, and then build my standalones? What could go wrong?....LOL > .... > > Is that my only option? I may have to seriously consider doing whatever > it > > takes. > > Actually you _only_ need to build CEF and then can copy libcef.dll into > your app but you do have to build the exact revision used by the version of > LiveCode you want to use it with. However, correct me if I?m wrong but I > thought you use LiveCode Community as your project is GPL which I would > have thought would preclude you from incorporating proprietary codecs? Not > that I would know as IANAL ;-) > > 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 iphonelagi at gmail.com Mon Sep 10 04:49:00 2018 From: iphonelagi at gmail.com (Lagi Pittas) Date: Mon, 10 Sep 2018 09:49:00 +0100 Subject: Livecode's CEF Builds In-Reply-To: References: Message-ID: I have read a few articles about this - and I think Livecode doesn't have a problem with building it in - here is my take. Foe under 100,000 uses/sales/installs (whatever) there is no charge. 100,000 to 250,000 is $25000 I assume Livecode has NOT sold more than 100,000 copies of Indy or Business. Now there could be a chance that they might get 100,000 downloads of the open source LC so to cover yourselves why not only put it in the paid version. If LC ever gets 100,000 paid Indy/Business the $25,000 would be chump change. Now If I produce a program using the h264 encoder using my indy version of LC - I would have to sell (or give away) 100,000 programs before i need to pay a royalty. Now the only way this is going to happen is on the App store - not selling a desktop system so If the lite version of my program DOES NOT INCLUDE the h264 encoder but thge paid for version does if I get 100,000 downloads of the paid for version I would only need to pay a royalty of 25 cents for each sale? This also gives LC compelling l reason for putting something extra into the closed source version that people could appreciate Mark - can you find fault in my logic? And if not then if it is put into LC it would have a setting for include/exclude as with the other libraries. I'm sure if i sold 100,000 of anything at $499 - $25,000 would be petty cash. Regards Lagi Now at the rate that On Sun, 9 Sep 2018 at 22:48, Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > f-bomb! ty for those resources Richard. > > On Sun, Sep 9, 2018 at 3:48 PM Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Tom Glod wrote: > > > > > On Sun, Sep 9, 2018 at 1:36 PM Mark Waddingham wrote: > > > > > >> H264 is patent encumbered - in order to distribute software > > >> containing an implementation you need to license the MPEG-LA patent > > >> pool. > > >> > > >> That's why you won't find any public CEF prebuilts with the flag > > >> enabled. > > > > > > If I do that ..... I then have to make my own build of CEF, My own > > > build of Livecode, and then build my standalones? What could go > > > wrong?.... > > > > Patent litigation. > > > > The licensing around h.264 is complex enough that the owning patent > > pool, MPEG-LA, has put together an FAQ to help navigate its rules: > > http://www.mpegla.com/main/programs/AVC/Pages/FAQ.aspx > > > > Numerous lay articles have been written to help consumers and developers > > try to navigate that legal minefield: > > > > H.264, patent licensing, and you > > > > > https://www.engadget.com/2010/05/04/know-your-rights-h-264-patent-licensing-and-you/ > > > > A closer look at the costs (and fine print) of H.264 licenses > > > > > https://www.zdnet.com/article/a-closer-look-at-the-costs-and-fine-print-of-h-264-licenses/ > > > > H.264 patents: how much do they really cost? > > > https://www.zdnet.com/article/h-264-patents-how-much-do-they-really-cost/ > > > > Oh so many more: > > https://duckduckgo.com/?q=h.264+patent+licensing > > > > -- > > 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 panos.merakos at livecode.com Mon Sep 10 09:15:32 2018 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 10 Sep 2018 16:15:32 +0300 Subject: [ANN] This Week in LiveCode 145 Message-ID: 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 #145 here: https://goo.gl/WQPYZu 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. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From tom at makeshyft.com Mon Sep 10 09:41:34 2018 From: tom at makeshyft.com (Tom Glod) Date: Mon, 10 Sep 2018 09:41:34 -0400 Subject: Livecode's CEF Builds In-Reply-To: References: Message-ID: I read that pricing info as well....which is why i am willing to enter into a contract with them. interesting. On Mon, Sep 10, 2018 at 4:49 AM Lagi Pittas via use-livecode < use-livecode at lists.runrev.com> wrote: > I have read a few articles about this - and I think Livecode doesn't have > a problem with building it in - here is my take. > > Foe under 100,000 uses/sales/installs (whatever) there is no charge. > > 100,000 to 250,000 is $25000 > > I assume Livecode has NOT sold more than 100,000 copies of Indy or > Business. > > Now there could be a chance that they might get 100,000 downloads of the > open source LC so to cover yourselves why not only put it in the paid > version. > > If LC ever gets 100,000 paid Indy/Business the $25,000 would be chump > change. > > Now If I produce a program using the h264 encoder using my indy version of > LC - I would have to sell (or give away) 100,000 programs before i need to > pay a royalty. > > Now the only way this is going to happen is on the App store - not selling > a desktop system so If the lite version of my program DOES NOT INCLUDE the > h264 encoder but thge paid for version does > if I get 100,000 downloads of the paid for version I would only need to pay > a royalty of 25 cents for each sale? > > This also gives LC compelling l reason for putting something extra into > the closed source version that people could appreciate > > Mark - can you find fault in my logic? And if not then if it is put into LC > it would have a setting for include/exclude as with the other libraries. > > I'm sure if i sold 100,000 of anything at $499 - $25,000 would be petty > cash. > > > Regards Lagi > > > Now at the rate that > > On Sun, 9 Sep 2018 at 22:48, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > f-bomb! ty for those resources Richard. > > > > On Sun, Sep 9, 2018 at 3:48 PM Richard Gaskin via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > Tom Glod wrote: > > > > > > > On Sun, Sep 9, 2018 at 1:36 PM Mark Waddingham wrote: > > > > > > > >> H264 is patent encumbered - in order to distribute software > > > >> containing an implementation you need to license the MPEG-LA patent > > > >> pool. > > > >> > > > >> That's why you won't find any public CEF prebuilts with the flag > > > >> enabled. > > > > > > > > If I do that ..... I then have to make my own build of CEF, My own > > > > build of Livecode, and then build my standalones? What could go > > > > wrong?.... > > > > > > Patent litigation. > > > > > > The licensing around h.264 is complex enough that the owning patent > > > pool, MPEG-LA, has put together an FAQ to help navigate its rules: > > > http://www.mpegla.com/main/programs/AVC/Pages/FAQ.aspx > > > > > > Numerous lay articles have been written to help consumers and > developers > > > try to navigate that legal minefield: > > > > > > H.264, patent licensing, and you > > > > > > > > > https://www.engadget.com/2010/05/04/know-your-rights-h-264-patent-licensing-and-you/ > > > > > > A closer look at the costs (and fine print) of H.264 licenses > > > > > > > > > https://www.zdnet.com/article/a-closer-look-at-the-costs-and-fine-print-of-h-264-licenses/ > > > > > > H.264 patents: how much do they really cost? > > > > > > https://www.zdnet.com/article/h-264-patents-how-much-do-they-really-cost/ > > > > > > Oh so many more: > > > https://duckduckgo.com/?q=h.264+patent+licensing > > > > > > -- > > > 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 bobsneidar at iotecdigital.com Mon Sep 10 10:59:17 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 10 Sep 2018 14:59:17 +0000 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report In-Reply-To: <26ab1e8e-5ed1-0441-9984-e19867326f54@sonic.net> References: <15425f28-130f-0130-82f5-9fa384c16ce8@sonic.net> <5B932BFA.70104@pair.com> <26ab1e8e-5ed1-0441-9984-e19867326f54@sonic.net> Message-ID: <6910BECE-4A47-4D07-8F4D-0EEF628420FD@iotecdigital.com> That's the first thing I thought. Either everything is treated as a string until math is performed on it, or we have had a crude form of variable typing from the beginning and didn't know it. Bob S > On Sep 7, 2018, at 20:56 , Mark Wieder via use-livecode wrote: > > I'm suspicious enough of the sleight-of-hand that underpins the use of unquoted string literals not to trust the easy answers, and to think that under the hood in the engine everything at the script level is an MCString until necessarily converted internally for computation. And then back again. > > But just guessing. > > -- > Mark Wieder From bobsneidar at iotecdigital.com Mon Sep 10 11:12:09 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 10 Sep 2018 15:12:09 +0000 Subject: 3WDevolution question In-Reply-To: <8f1a9ddb-59f2-a0ea-7eae-430f0efa7a3e@sonic.net> References: <9ff2e768-b007-f7e5-f793-99514fcf31c9@fourthworld.com> <5ecefe39-883e-0db6-cc5e-1872f86a48b8@sonic.net> <8f1a9ddb-59f2-a0ea-7eae-430f0efa7a3e@sonic.net> Message-ID: All my apps do this, but typically, unless the developer has a bug up his butt about the old fullscreen method, if you hold the option key down while clicking the green maximize control, it should work like the old way. There is an option in preferences too I think to switch back to the old way by default. Developers will sometimes put in new features in such a way that you have to do something to NOT use them. This is a perfect example. Microsoft's Ribbons is another. Apple *could* have added the fullscreen feature but informed us that you have to hold the option key down to do it. Instead they did the reverse. Their thinking is probably that if they don't force people to use a new feature, they probably won't. Very likely. On the other hand, I don't feel developers should take the liberty of changing how I work on *my* computer, without having a really good reason for doing so. Bob S > On Sep 8, 2018, at 09:13 , Mark Wieder via use-livecode wrote: > >> Put the mouse at the top of screen to display menubar or type escape at the keyboard > > Doh! Thanks. I had tried escape but didn't move the mouse up to the top. I imagine there must be precedent for this, but none of my other osx applications work this way (maximizing while removing the title bar). The stack decorations are set to default. > > -- > Mark Wieder > ahsoftware at gmail.com From bobsneidar at iotecdigital.com Mon Sep 10 11:22:17 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 10 Sep 2018 15:22:17 +0000 Subject: Datagrid deleteline vs deletelines issue In-Reply-To: <1536511856038-0.post@n4.nabble.com> References: <1536511856038-0.post@n4.nabble.com> Message-ID: <88C4CAF1-AC8B-450E-80DA-1A1E4CFC5578@iotecdigital.com> I've encountered that. I have considered replacing all my singular instances of deleteline with the plural deletelines and then always use the plural version. Problem solved. Bob S > On Sep 9, 2018, at 09:50 , hlowe via use-livecode wrote: > > The Dictionary states that the command 'deleteline': "Deletes the specified > lines from the data grid. > > The syntax is: > > dispatch "DeleteLine" to group "DataGrid" with pLine > > where pLine is a comma-delimited list of one or more integers, indicating > the lines to be deleted. > > So to delete lines 1,2 and 3 of the datagrid "myDG" we would use: > > put "1,2,3" into pLine > dispatch "DeleteLine" to group "myDG" with pLine > > The Dictionary also states that the command 'deletelines' (note the plural > form) is a synonym for deleteline, implying that either form will do the > same thing. > > However 'deleteline' using LC 9.0.1 (RC3) on a Mac (running an iOS App in > both the emulator and on the device) will only accept a single line number > in its 'pLine' parameter. Passing more that one integer in 'pLine' causes > 'deleteline' to fail silently. To delete more that one line, I must use the > pleural form of the command 'deletelines'. > > put "1,2,3" into pLine > dispatch "DeleteLine" to group "myDG" with pLine > > fails silently > > while > > put "1,2,3" into pLine > dispatch "DeleteLines" to group "myDG" with pLine > > succeeds > > A bug, a Dictionary issue or something more complex? > > Can anyone else confirm this? > > Henry > > Ascriva Health Informatics > https://www.ascriva.com > > > > -- > Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Sep 10 11:28:55 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 10 Sep 2018 15:28:55 +0000 Subject: Being stupid for a change In-Reply-To: References: <1bbcea03-66bd-c00c-097c-48a622ba2653@gmail.com> <85ca7c1b-a41b-1686-413a-17866ea6d379@gmail.com> Message-ID: Your wish is granted! IDEs are not people, and therefore have no expectations at all! ;-) Bob S > On Sep 8, 2018, at 11:49 , Tom Glod via use-livecode wrote: > > perfect case for better error messages ...... people get tired...... our > ide's should never expect perfect humans and try to be as helpful as > possible. From andrew at midwestcoastmedia.com Mon Sep 10 11:30:53 2018 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Mon, 10 Sep 2018 15:30:53 +0000 Subject: iOS 12 compatibility In-Reply-To: Message-ID: <20180910153053.Horde.ObuQKuAcsceRcMsmkgA4ZcX@ua850258.serversignin.com> Thank you Livecode crew for patching Bug 21396 that required acceleratedRendering to be TRUE in order for an app to launch in iOS 12! Word of advice to developers as they submit their new builds to Apple (because if you don't, and you don't have acceleratedRendering enabled in your stack, your app won't launch in the new operating system): don't mention the fact that the new OS broke the existing app. In my "What's New in This Version" text, I mentioned "added iOS 12 compatibility" which apparently is a big no-no. My latest submission got rejected for breaking PLA 2.3 which states "Apple may provide You with pre-release versions of the Apple Software or related services that constitute Apple Confidential Information and are subject to the confidentiality obligations of this Agreement." So Apple released a public beta, that beta broke developer software as reported by public beta users, but we can't speak of such things. *eye roll* Luckily this is just a metadata rejection that doesn't require a new build. Just thought I'd share my experience to help save someone else the embarrassment of breaking your NDA with a company who has a $1T market cap. --Andrew Bell From iowahengst at mac.com Mon Sep 10 11:37:06 2018 From: iowahengst at mac.com (Randy Hengst) Date: Mon, 10 Sep 2018 10:37:06 -0500 Subject: iOS 12 compatibility In-Reply-To: <20180910153053.Horde.ObuQKuAcsceRcMsmkgA4ZcX@ua850258.serversignin.com> References: <20180910153053.Horde.ObuQKuAcsceRcMsmkgA4ZcX@ua850258.serversignin.com> Message-ID: <0BE15129-2652-43A4-AECC-00498689E728@mac.com> Hi Andrew, What version of LC and Xcode combination did you use for your build? be well, randy www.classroomFocusedSoftware.com > On Sep 10, 2018, at 10:30 AM, Andrew Bell via use-livecode wrote: > > Thank you Livecode crew for patching Bug 21396 that required acceleratedRendering to be TRUE in order for an app to launch in iOS 12! Word of advice to developers as they submit their new builds to Apple (because if you don't, and you don't have acceleratedRendering enabled in your stack, your app won't launch in the new operating system): don't mention the fact that the new OS broke the existing app. > > In my "What's New in This Version" text, I mentioned "added iOS 12 compatibility" which apparently is a big no-no. My latest submission got rejected for breaking PLA 2.3 which states "Apple may provide You with pre-release versions of the Apple Software or related services that constitute Apple Confidential Information and are subject to the confidentiality obligations of this Agreement." > > So Apple released a public beta, that beta broke developer software as reported by public beta users, but we can't speak of such things. *eye roll* > > Luckily this is just a metadata rejection that doesn't require a new build. Just thought I'd share my experience to help save someone else the embarrassment of breaking your NDA with a company who has a $1T market cap. > > --Andrew Bell > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 colinholgate at gmail.com Mon Sep 10 11:44:28 2018 From: colinholgate at gmail.com (Colin Holgate) Date: Mon, 10 Sep 2018 11:44:28 -0400 Subject: iOS 12 compatibility In-Reply-To: <0BE15129-2652-43A4-AECC-00498689E728@mac.com> References: <20180910153053.Horde.ObuQKuAcsceRcMsmkgA4ZcX@ua850258.serversignin.com> <0BE15129-2652-43A4-AECC-00498689E728@mac.com> Message-ID: <79C1169A-C9F5-4A34-9CB0-7FA61ED95B68@gmail.com> You could write that you have tested under iOS 12, maybe that would be ok? Saying that you had to do something proactive in order to support iOS 12 is indirectly reporting that Apple software had issues. > On Sep 10, 2018, at 11:37 AM, Randy Hengst via use-livecode wrote: > > Hi Andrew, > > What version of LC and Xcode combination did you use for your build? > > be well, > randy > www.classroomFocusedSoftware.com > > > >> On Sep 10, 2018, at 10:30 AM, Andrew Bell via use-livecode wrote: >> >> Thank you Livecode crew for patching Bug 21396 that required acceleratedRendering to be TRUE in order for an app to launch in iOS 12! Word of advice to developers as they submit their new builds to Apple (because if you don't, and you don't have acceleratedRendering enabled in your stack, your app won't launch in the new operating system): don't mention the fact that the new OS broke the existing app. >> >> In my "What's New in This Version" text, I mentioned "added iOS 12 compatibility" which apparently is a big no-no. My latest submission got rejected for breaking PLA 2.3 which states "Apple may provide You with pre-release versions of the Apple Software or related services that constitute Apple Confidential Information and are subject to the confidentiality obligations of this Agreement." >> >> So Apple released a public beta, that beta broke developer software as reported by public beta users, but we can't speak of such things. *eye roll* >> >> Luckily this is just a metadata rejection that doesn't require a new build. Just thought I'd share my experience to help save someone else the embarrassment of breaking your NDA with a company who has a $1T market cap. >> >> --Andrew Bell >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 ahsoftware at sonic.net Mon Sep 10 12:08:46 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 10 Sep 2018 09:08:46 -0700 Subject: 3WDevolution question In-Reply-To: References: <9ff2e768-b007-f7e5-f793-99514fcf31c9@fourthworld.com> <5ecefe39-883e-0db6-cc5e-1872f86a48b8@sonic.net> <8f1a9ddb-59f2-a0ea-7eae-430f0efa7a3e@sonic.net> Message-ID: <70cfef6a-4a0e-9ba7-2082-f5052c30d7a9@sonic.net> On 09/10/2018 08:12 AM, Bob Sneidar via use-livecode wrote: > All my apps do this, but typically, unless the developer has a bug up his butt about the old fullscreen method, if you hold the option key down while clicking the green maximize control, it should work like the old way. There is an option in preferences too I think to switch back to the old way by default. > > > Developers will sometimes put in new features in such a way that you have to do something to NOT use them. This is a perfect example. Microsoft's Ribbons is another. Apple *could* have added the fullscreen feature but informed us that you have to hold the option key down to do it. Instead they did the reverse. Their thinking is probably that if they don't force people to use a new feature, they probably won't. Very likely. On the other hand, I don't feel developers should take the liberty of changing how I work on *my* computer, without having a really good reason for doing so. > Fullscreen mode for a stack on osx seems more like kiosk mode. I'd expect that fullscreen would maximize the stack, the way it does on other platforms, and the way other applications work, and that kiosk mode would be a more specialized when you really don't want a menubar appearing at the top of the screen. But then if I wanted some control over my environment I'd use linux. -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Mon Sep 10 12:40:58 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 10 Sep 2018 09:40:58 -0700 Subject: Livecode's CEF Builds In-Reply-To: References: Message-ID: Lagi Pittas wrote: > I have read a few articles about this - and I think Livecode doesn't > have a problem with building it in - here is my take. Is the licensing compatible with GPLv3? -- 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 ahsoftware at sonic.net Mon Sep 10 12:47:56 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 10 Sep 2018 09:47:56 -0700 Subject: hard-to-use software Message-ID: <2c41e5cb-4b46-4c2a-51f2-9292a7d0a708@sonic.net> Disclaimer- I hate modal software. And yet... https://qz.com/1378298/forget-easy-to-use-design-choose-something-hard-instead/ ...food for thought. (be sure to click on the link about the 'endless jokes') -- Mark Wieder ahsoftware at gmail.com From andrew at midwestcoastmedia.com Mon Sep 10 13:53:41 2018 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Mon, 10 Sep 2018 17:53:41 +0000 Subject: View manifest in compiled Android app Message-ID: <20180910175341.Horde.81deEtdOti7ZwE-6T_xL5o9@ua850258.serversignin.com> I just had a mobile app submission rejected from Google Play for "Violation of Device and Network Abuse policy" which is an extremely vague category of issues. Based on some StackOverflow research, it seems that a common fix to this is to ensure that the following line appears in your manifest: I've found the default manifest in Tools/Runtime/Android/Manifest.xml but can't find a way to see the manifest built when my stack is compiled (like I can locate Info.plist in an iOS .ipa). Does anyone know how I can see what is in my compiled manifest, or better yet, have any indication as to what would trigger that violation? Since I last submitted a build of this app, I have switched some network calls over from libURL to tsNET and am using 9.0.1rc3 so the app is being built against the proper SDK and targeted to the appropriate API level. Previous submission would have likely been some pre-release 9.0.0 build based on the date of approval. Nothing else has changed network-wise other than an additional instance of a mobileBrowser (of which there were already 2 before), and there are no in-app ads or YouTube videos being played (which seems to be one of the major triggers for this type of rejection), and I'm not using the Map widget (which would use Google APIs). I thought that looking at the manifest file for this app would quickly allow me to determine if a quick patch can be done or if I need to dig deeper for the root of the problem. --Andrew Bell From gcanyon at gmail.com Mon Sep 10 17:58:10 2018 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 10 Sep 2018 14:58:10 -0700 Subject: Project Browser - refresh button still not available In-Reply-To: <678b8832-6db3-48a8-7188-d382de71bbe5@sonic.net> References: <6F65D270-B5CD-4BDD-8DD4-6E18FE071489@m-r-d.de> <0218837D-F666-4047-A753-4B6BE05F2A00@iotecdigital.com> <678b8832-6db3-48a8-7188-d382de71bbe5@sonic.net> Message-ID: On Wed, Sep 5, 2018 at 3:38 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > > Ha! The PB is a maintenance nightmare... you're looking at 12 mainstacks > plus a behavior stack or two, and some seemingly random stuff thrown in > for good measure... still haven't figured out what the "Clap.mp3" > audioclip is for. > Sometimes Navigator is no maintenance picnic either ;-) I was going to say that Navigator doesn't update like this because the stacks are in a menu rather than the list, but then I remembered the stack list view, so that shows what I know. There is an Update List Now command in the Actions menu, but I just checked, and any update to the selection in LiveCode causes the list to refresh automatically. So if you create a new stack, it won't show up immediately, but as soon as you drag a control into it (or anything else like that) the list will update then. So, yay! gc From gcanyon at gmail.com Mon Sep 10 18:10:21 2018 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 10 Sep 2018 15:10:21 -0700 Subject: 4WDevolution question In-Reply-To: <165b9f100c0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <624eee9a-4113-a948-b543-a0ef291ce468@fourthworld.com> <165b9f100c0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On Sat, Sep 8, 2018 at 9:08 AM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > Just a tip for those not using devo: cmd-ctrl-shift-right click on any > stack displays a menu with many different options, one of which is to save > the stack regardless of the mode. It also allows you to send messages to > the card or stack directly (easier than the message box for stacks not > toplevel, ) access scripts and inspectors, and more. > Hopefully I don't break my arm patting myself on the back, but Navigator not only lets you send messages to objects, it lets you specify the parameters for commands that take parameters, and lets you call functions (with parameters, natch) and tells you what the result is, and further, it can trigger setprop handlers correctly, and will tell you the result of getprop handlers as well. ...in addition to pretty much everything else listed above. Okay, my arm's pretty sore now... From tom at makeshyft.com Mon Sep 10 20:48:09 2018 From: tom at makeshyft.com (Tom Glod) Date: Mon, 10 Sep 2018 20:48:09 -0400 Subject: Livecode's CEF Builds In-Reply-To: References: Message-ID: So I got a msg back and they are totally down with me shipping the codec as long as I pay the fees for the # of licenses I sell past 100,000 Correct me if I am wrong, can I not put the code of my application on github as GPL 3? and build my standalones using LC with the modified CEF files ? If someone builds from the standalones on github they get the full application except the avc / h264 codec in CEF? Which license agreement does that break? Is it also not an option to have community version and then a non-community version like LC does? I am really down for paying the 40 cents or 25 cents per paid user whatever it is. Is there any way to this work and still put my .livecode file on github? ...but ship standalones with the modified CEF build? On Mon, Sep 10, 2018 at 12:41 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Lagi Pittas wrote: > > > I have read a few articles about this - and I think Livecode doesn't > > have a problem with building it in - here is my take. > > Is the licensing compatible with GPLv3? > > -- > 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 monte at appisle.net Mon Sep 10 21:14:12 2018 From: monte at appisle.net (Monte Goulding) Date: Tue, 11 Sep 2018 11:14:12 +1000 Subject: Livecode's CEF Builds In-Reply-To: References: Message-ID: There?s some questions here that need a lawyer to answer. To start with I think you need to ensure that building CEF with proprietary codecs enabled does not include anything that has a license that is incompatible with GPL 3. Otherwise you can?t distribute your standalone with the modified CEF under the GPL 3. FWIW I have built CEF with proprietary codecs and due to the complexity of chromium I would still need to spend a few days reviewing code to know exactly what was included when I did that. I do know there?s OpenH264 in there which is BSD licensed. Then there?s whether the patents infringe on the GPL? ?\_(?)_/? FWIW if you can satisfy yourself that you aren?t infringing the GPL distributing the standalone with CEF built with proprietary codecs enabled then you should just be able to add some notes about that to include with your source like you would note that when distributed as a standalone it includes the LiveCode engine and where to find the source and build instructions for that etc? although again IANAL. Cheers Monte > On 11 Sep 2018, at 10:48 am, Tom Glod via use-livecode wrote: > > So I got a msg back and they are totally down with me shipping the codec as > long as I pay the fees for the # of licenses I sell past 100,000 > > Correct me if I am wrong, can I not put the code of my application on > github as GPL 3? and build my standalones using LC with the modified CEF > files ? > > If someone builds from the standalones on github they get the full > application except the avc / h264 codec in CEF? > > Which license agreement does that break? > > Is it also not an option to have community version and then a non-community > version like LC does? I am really down for paying the 40 cents or 25 cents > per paid user whatever it is. > > Is there any way to this work and still put my .livecode file on github? > ...but ship standalones with the modified CEF build? From tom at makeshyft.com Mon Sep 10 22:21:49 2018 From: tom at makeshyft.com (Tom Glod) Date: Mon, 10 Sep 2018 22:21:49 -0400 Subject: Livecode's CEF Builds In-Reply-To: References: Message-ID: Thats what I am thinking too..... I will do my best to find a legal perspective on this..... didn't Runrev have to ship the first LC Community with something proprietery in it too? I remember seeing a note about it in the installer. or maybe i was hallucinating. Why do my standalones have to be GPL3 too?.... you can't change code in binary.... so isn't it the source files I am obligated to share? I'm pretty sure there is a way to do this. So close. :) Thanks Monte....... I appreciate not taking chances ....I'm not interested in litigation. On Mon, Sep 10, 2018 at 9:14 PM Monte Goulding via use-livecode < use-livecode at lists.runrev.com> wrote: > There?s some questions here that need a lawyer to answer. > > To start with I think you need to ensure that building CEF with > proprietary codecs enabled does not include anything that has a license > that is incompatible with GPL 3. Otherwise you can?t distribute your > standalone with the modified CEF under the GPL 3. FWIW I have built CEF > with proprietary codecs and due to the complexity of chromium I would still > need to spend a few days reviewing code to know exactly what was included > when I did that. I do know there?s OpenH264 in there which is BSD licensed. > > Then there?s whether the patents infringe on the GPL? ?\_(?)_/? > > FWIW if you can satisfy yourself that you aren?t infringing the GPL > distributing the standalone with CEF built with proprietary codecs enabled > then you should just be able to add some notes about that to include with > your source like you would note that when distributed as a standalone it > includes the LiveCode engine and where to find the source and build > instructions for that etc? although again IANAL. > > Cheers > > Monte > > > On 11 Sep 2018, at 10:48 am, Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > So I got a msg back and they are totally down with me shipping the codec > as > > long as I pay the fees for the # of licenses I sell past 100,000 > > > > Correct me if I am wrong, can I not put the code of my application on > > github as GPL 3? and build my standalones using LC with the modified CEF > > files ? > > > > If someone builds from the standalones on github they get the full > > application except the avc / h264 codec in CEF? > > > > Which license agreement does that break? > > > > Is it also not an option to have community version and then a > non-community > > version like LC does? I am really down for paying the 40 cents or 25 > cents > > per paid user whatever it is. > > > > Is there any way to this work and still put my .livecode file on github? > > ...but ship standalones with the modified CEF build? > > _______________________________________________ > use-livecode mailing list > use-livecode 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 brian at milby7.com Mon Sep 10 23:03:57 2018 From: brian at milby7.com (Brian Milby) Date: Mon, 10 Sep 2018 22:03:57 -0500 Subject: Livecode's CEF Builds In-Reply-To: References: Message-ID: <0a4e68f9-6828-46bd-8df7-5a5a66643647@Spark> Seems like the GPL issue is in LiveCode?s court. They can specifically allow linking to non-free libraries as a provision to the GPL license. http://www.gnu.org/licenses/gpl-faq.html#FSWithNFLibs http://www.gnu.org/licenses/gpl-faq.html#GPLIncompatibleLibs Thanks, Brian On Sep 10, 2018, 9:23 PM -0500, Tom Glod via use-livecode , wrote: > Thats what I am thinking too..... I will do my best to find a legal > perspective on this..... > > didn't Runrev have to ship the first LC Community with something > proprietery in it too? I remember seeing a note about it in the installer. > or maybe i was hallucinating. > > Why do my standalones have to be GPL3 too?.... you can't change code in > binary.... so isn't it the source files I am obligated to share? > > I'm pretty sure there is a way to do this. So close. :) Thanks > Monte....... I appreciate not taking chances ....I'm not interested in > litigation. > > On Mon, Sep 10, 2018 at 9:14 PM Monte Goulding via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > There?s some questions here that need a lawyer to answer. > > > > To start with I think you need to ensure that building CEF with > > proprietary codecs enabled does not include anything that has a license > > that is incompatible with GPL 3. Otherwise you can?t distribute your > > standalone with the modified CEF under the GPL 3. FWIW I have built CEF > > with proprietary codecs and due to the complexity of chromium I would still > > need to spend a few days reviewing code to know exactly what was included > > when I did that. I do know there?s OpenH264 in there which is BSD licensed. > > > > Then there?s whether the patents infringe on the GPL? ?\_(?)_/? > > > > FWIW if you can satisfy yourself that you aren?t infringing the GPL > > distributing the standalone with CEF built with proprietary codecs enabled > > then you should just be able to add some notes about that to include with > > your source like you would note that when distributed as a standalone it > > includes the LiveCode engine and where to find the source and build > > instructions for that etc? although again IANAL. > > > > Cheers > > > > Monte > > > > > On 11 Sep 2018, at 10:48 am, Tom Glod via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > So I got a msg back and they are totally down with me shipping the codec > > as > > > long as I pay the fees for the # of licenses I sell past 100,000 > > > > > > Correct me if I am wrong, can I not put the code of my application on > > > github as GPL 3? and build my standalones using LC with the modified CEF > > > files ? > > > > > > If someone builds from the standalones on github they get the full > > > application except the avc / h264 codec in CEF? > > > > > > Which license agreement does that break? > > > > > > Is it also not an option to have community version and then a > > non-community > > > version like LC does? I am really down for paying the 40 cents or 25 > > cents > > > per paid user whatever it is. > > > > > > Is there any way to this work and still put my .livecode file on github? > > > ...but ship standalones with the modified CEF build? > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 tom at makeshyft.com Mon Sep 10 23:49:33 2018 From: tom at makeshyft.com (Tom Glod) Date: Mon, 10 Sep 2018 23:49:33 -0400 Subject: Livecode's CEF Builds In-Reply-To: <0a4e68f9-6828-46bd-8df7-5a5a66643647@Spark> References: <0a4e68f9-6828-46bd-8df7-5a5a66643647@Spark> Message-ID: Maybe I need to email Kevin and tell him more about the project, the problem and the lack of options. ... thanks for those links.... the plot thickens. On Mon, Sep 10, 2018 at 11:05 PM Brian Milby via use-livecode < use-livecode at lists.runrev.com> wrote: > Seems like the GPL issue is in LiveCode?s court. They can specifically > allow linking to non-free libraries as a provision to the GPL license. > http://www.gnu.org/licenses/gpl-faq.html#FSWithNFLibs > http://www.gnu.org/licenses/gpl-faq.html#GPLIncompatibleLibs > > Thanks, > Brian > On Sep 10, 2018, 9:23 PM -0500, Tom Glod via use-livecode < > use-livecode at lists.runrev.com>, wrote: > > Thats what I am thinking too..... I will do my best to find a legal > > perspective on this..... > > > > didn't Runrev have to ship the first LC Community with something > > proprietery in it too? I remember seeing a note about it in the > installer. > > or maybe i was hallucinating. > > > > Why do my standalones have to be GPL3 too?.... you can't change code in > > binary.... so isn't it the source files I am obligated to share? > > > > I'm pretty sure there is a way to do this. So close. :) Thanks > > Monte....... I appreciate not taking chances ....I'm not interested in > > litigation. > > > > On Mon, Sep 10, 2018 at 9:14 PM Monte Goulding via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > There?s some questions here that need a lawyer to answer. > > > > > > To start with I think you need to ensure that building CEF with > > > proprietary codecs enabled does not include anything that has a license > > > that is incompatible with GPL 3. Otherwise you can?t distribute your > > > standalone with the modified CEF under the GPL 3. FWIW I have built CEF > > > with proprietary codecs and due to the complexity of chromium I would > still > > > need to spend a few days reviewing code to know exactly what was > included > > > when I did that. I do know there?s OpenH264 in there which is BSD > licensed. > > > > > > Then there?s whether the patents infringe on the GPL? ?\_(?)_/? > > > > > > FWIW if you can satisfy yourself that you aren?t infringing the GPL > > > distributing the standalone with CEF built with proprietary codecs > enabled > > > then you should just be able to add some notes about that to include > with > > > your source like you would note that when distributed as a standalone > it > > > includes the LiveCode engine and where to find the source and build > > > instructions for that etc? although again IANAL. > > > > > > Cheers > > > > > > Monte > > > > > > > On 11 Sep 2018, at 10:48 am, Tom Glod via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > > > > So I got a msg back and they are totally down with me shipping the > codec > > > as > > > > long as I pay the fees for the # of licenses I sell past 100,000 > > > > > > > > Correct me if I am wrong, can I not put the code of my application on > > > > github as GPL 3? and build my standalones using LC with the modified > CEF > > > > files ? > > > > > > > > If someone builds from the standalones on github they get the full > > > > application except the avc / h264 codec in CEF? > > > > > > > > Which license agreement does that break? > > > > > > > > Is it also not an option to have community version and then a > > > non-community > > > > version like LC does? I am really down for paying the 40 cents or 25 > > > cents > > > > per paid user whatever it is. > > > > > > > > Is there any way to this work and still put my .livecode file on > github? > > > > ...but ship standalones with the modified CEF build? > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode 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 at livecode.com Tue Sep 11 01:32:07 2018 From: mark at livecode.com (Mark Waddingham) Date: Tue, 11 Sep 2018 07:32:07 +0200 Subject: Livecode's CEF Builds In-Reply-To: References: Message-ID: <22d9bb79251d422b1dc84e165c4988ce@livecode.com> On 2018-09-11 02:48, Tom Glod via use-livecode wrote: > So I got a msg back and they are totally down with me shipping the > codec as > long as I pay the fees for the # of licenses I sell past 100,000 > > Correct me if I am wrong, can I not put the code of my application on > github as GPL 3? and build my standalones using LC with the modified > CEF > files ? > > If someone builds from the standalones on github they get the full > application except the avc / h264 codec in CEF? > > Which license agreement does that break? The GPLv3. If you convey a binary which is built (in part) from GPLv3 source-code to which you do not hold the copyright, then the person receiving that binary is granted all the rights granted by the GPLv3 (virality). Specifically they have a right to the exact source used to build that binary, and have the right to distribute said source and binary as they see fit. The latter is why patent licensing is not clear when it comes to your situation - because it depends on how the MPEG LA patent pool counts users. If, for example, they mean 'binary containing functional patent encumbered code in the hands of a user' - then you have no idea what your user count is - so I suspect they would be less amenable. > Is it also not an option to have community version and then a > non-community > version like LC does? I am really down for paying the 40 cents or 25 > cents > per paid user whatever it is. If you have a suitable commercial LiveCode license then you can dual license - assuming your application does not rely on GPLv3 licensed code you either do not have copyright too, or cannot gain a suitably compatible (commercial) license to. So, your binaries would actually be non-GPLv3 licensed; but you would then be providing the source-code (which you own the copyright to) under GPLv3 on GitHub. Whether that works depends on what the requirements on your project are re GPLv3 / Open-Sourceness. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Tue Sep 11 01:46:13 2018 From: mark at livecode.com (Mark Waddingham) Date: Tue, 11 Sep 2018 07:46:13 +0200 Subject: Livecode's CEF Builds In-Reply-To: <0a4e68f9-6828-46bd-8df7-5a5a66643647@Spark> References: <0a4e68f9-6828-46bd-8df7-5a5a66643647@Spark> Message-ID: <92dda37b21dc58b3d3f2ca3424e51bfc@livecode.com> On 2018-09-11 05:03, Brian Milby via use-livecode wrote: > Seems like the GPL issue is in LiveCode?s court. They can specifically > allow linking to non-free libraries as a provision to the GPL license. > http://www.gnu.org/licenses/gpl-faq.html#FSWithNFLibs > http://www.gnu.org/licenses/gpl-faq.html#GPLIncompatibleLibs Yes and no. I'm generally disinclined to add any (further) exceptions to the GPLv3 License attached to the LiveCode repository - and certainly even more so for such a large and complicated project as CEF, especially where the reasons for doing so is to be able to incorporate patent-encumbered code where the licensing costs and methods for GPL binaries containing said code is unclear. The two we currently have are for: 1) revBrowser on Windows - due to the fact (at the time) ATL (a template-based C++ library which revBrowser uses for its embedding of the OS browser object) did not have any clear or sensible license attached to it which I could review for GPL compatibility. 2) OpenSSL - the EAY and Apache 1.0 license this uses has an advertising clause which is incompatible with the GPL. In regards to the effect of these then well (1) is largely moot - use CEF / browser widget instead. (2) is regrettable but not uncommon - the OpenSSL project have been trying to get hold of all copyright holders since March 2017 so they can switch to the GPL compatible Apache V2 License so it is just a matter of time before that happens. That being said - I wouldn't mind if someone had the time to making the dependence on OpenSSL more abstract, and switchable to a GPLv3 compatible library (I must confess its been a while since I've looked at this, but there are at least a couple of options floating around). I'd prefer LiveCode Community was GPLv3 pure - as any impurity creates friction and issues with combining with other GPLv3 software in your own applications. Warmest Regards, Mark. * -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Tue Sep 11 02:00:10 2018 From: mark at livecode.com (Mark Waddingham) Date: Tue, 11 Sep 2018 08:00:10 +0200 Subject: Livecode's CEF Builds In-Reply-To: References: Message-ID: On 2018-09-10 10:49, Lagi Pittas via use-livecode wrote: > Mark - can you find fault in my logic? And if not then if it is put > into LC > it would have a setting for include/exclude as with the other > libraries. There is not fault in your logic (for the most part) - it is indeed something we have discussed internally briefly, but that doesn't mean we are anywhere near doing anything about it as yet...* We could potentially at some point look at licensing the MPEG LA patent pool for some or all commercial builds of LiveCode - however this would only cover the IDE engine - which requires activation to use, hence meaning we have a precise user count for the purposes of the patent pool licensing. The patent license would not extend to using the proprietary CEF build in standalones - that would need to be unlocked after someone had demonstrated to us that they had correctly licensed the MPEG LA patent pool and were accounting for users correctly. (A somewhat similar situation used to exist with GIF encoding in MetaCard before the LZW patent dropped). > I'm sure if i sold 100,000 of anything at $499 - $25,000 would be > petty > cash. Hah! Indeed. Warmest Regards, Mark. * I'd point out here that building and maintaining custom CEF builds is not a small endeavour either time-wise or resource-wise so before undertaking such a thing we need to make sure it is actually 'worth-while' in terms of ROI. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From ambassador at fourthworld.com Tue Sep 11 02:35:10 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 10 Sep 2018 23:35:10 -0700 Subject: Livecode's CEF Builds In-Reply-To: <22d9bb79251d422b1dc84e165c4988ce@livecode.com> References: <22d9bb79251d422b1dc84e165c4988ce@livecode.com> Message-ID: <4d9d19af-2f87-0e11-79f9-4829d097b042@fourthworld.com> All this sounds like maybe looking for a GPL-compatible codec may be easier. Tom, would WebM do what you need? https://www.fsf.org/blogs/licensing/googles-updated-webm-license https://www.webmproject.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 mark at livecode.com Tue Sep 11 03:01:47 2018 From: mark at livecode.com (Mark Waddingham) Date: Tue, 11 Sep 2018 09:01:47 +0200 Subject: Livecode's CEF Builds In-Reply-To: References: Message-ID: On 2018-09-11 03:14, Monte Goulding via use-livecode wrote: > To start with I think you need to ensure that building CEF with > proprietary codecs enabled does not include anything that has a > license that is incompatible with GPL 3. Otherwise you can?t > distribute your standalone with the modified CEF under the GPL 3. FWIW > I have built CEF with proprietary codecs and due to the complexity of > chromium I would still need to spend a few days reviewing code to know > exactly what was included when I did that. I do know there?s OpenH264 > in there which is BSD licensed. Indeed - building a definitely non-GPLv3 encumbered libcef might require a fair bit more digging around and tweaking of flags. > Then there?s whether the patents infringe on the GPL? ?\_(?)_/? Well the GPLv3 certainly has a patent clause - https://www.gnu.org/licenses/gpl-3.0.en.html - Section 11. The first part seems quite clear - any contributor to a GPLv3 project automatically grants a 'patent license' to all recipients of the code for any patents they hold are are used by the code they contributed. i.e. If you own a patent, and make GPLv3 code available using it, then that code can be used freely (under GPLv3) terms. My (IANAL) Interpretation: You can't release code under GPLv3 (as copyright holder and patent holder) which uses any patents you hold without also implicitly granting a license to use said patent as used by the code under GPLv3 terms. The second part is less clear and is more applicable to this case. It sounds like if you knowingly convey a patent-encumbered GPLv3 code (even for patents you do not own) then you cannot both distribute the software under GPLv3, and allow restricted distribution of the project with a patent license - either you license for all potential recipients, or not at all. My (IANAL) Interpretation: You cannot distribute *knowingly* patent-encumbered projects under GPLv3 in fashion where you license directly or indirectly the patents for some, but not for others. e.g. 1) I build a H264 player to which I do not own copyright for in entirety, and release the code under GPLv3 - this is fine, its just code - but no-one actually has the right to run it. 2) I (or someone else) start distributing binaries of (1) without any patent license to anyone - this is fine GPLv3 wise, might not be fine MPEG LA patent license wise (if they count each person in receipt of a binary containing patent encumbered compiled code as a user). 3) I (or someone else) offers (for a fee or not) some recipients of (2) the appropriate patent license - not fine GPLv3 wise as such licensing has to be for all, or for none, and probably not fine MPEG LA license wise as not all binaries are being licensed appropriately (again assuming MPEG LA license binaries in hands of users). So a conservative interpretation would probably be that patents do not infringe on the GPLv3 per-se but, for all intents and purposes, GPLv3 code which is encumbered by non-universally licensed/licensable patents can only ever be 'code only' and never run. Methinks, avoiding knowingly patent-encumbered anything in LiveCode Community is probably the best thing to do :) > FWIW if you can satisfy yourself that you aren?t infringing the GPL > distributing the standalone with CEF built with proprietary codecs > enabled then you should just be able to add some notes about that to > include with your source like you would note that when distributed as > a standalone it includes the LiveCode engine and where to find the > source and build instructions for that etc? although again IANAL. Apart from the issue of having a license to use the patent encumbered code - which is entirely orthogonal issue to licensing. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From mark at livecode.com Tue Sep 11 03:08:10 2018 From: mark at livecode.com (Mark Waddingham) Date: Tue, 11 Sep 2018 09:08:10 +0200 Subject: Livecode's CEF Builds In-Reply-To: <22d9bb79251d422b1dc84e165c4988ce@livecode.com> References: <22d9bb79251d422b1dc84e165c4988ce@livecode.com> Message-ID: <0ec3f11565326e4c9f7c832947c9641d@livecode.com> On 2018-09-11 07:32, Mark Waddingham via use-livecode wrote: > So, your binaries would actually be non-GPLv3 licensed; but you would > then be providing the source-code (which you own the copyright to) > under GPLv3 on GitHub. > > Whether that works depends on what the requirements on your project > are re GPLv3 / Open-Sourceness. Note: You would also require a Contributor's License Agreement (https://en.wikipedia.org/wiki/Contributor_License_Agreement) - as we do - ensuring that any contributions to your GPLv3 licensed source code assigns copyright to 'you' (or the copyright owner of the source base) so that you can continue to dual license. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From andrew at midwestcoastmedia.com Tue Sep 11 06:59:55 2018 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Tue, 11 Sep 2018 10:59:55 +0000 Subject: iOS 12 compatibility In-Reply-To: Message-ID: <20180911105955.Horde.AeAclT97hlsj85W8yfaxVB7@ua850258.serversignin.com> > From: Randy Hengst > To: How to use LiveCode > Subject: Re: iOS 12 compatibility > Message-ID: <0BE15129-2652-43A4-AECC-00498689E728 at mac.com> > Content-Type: text/plain; charset=us-ascii > > Hi Andrew, > > What version of LC and Xcode combination did you use for your build? > > be well, > randy > www.classroomFocusedSoftware.com I had previously (for almost 2 years?) been using Xcode 8.2 on macOS 10.11.x which worked with every version of LiveCode that was current or beta at the time (including 9.0.1rc3). But when I went to submit to Apple, they rejected the Xcode version I compiled against so I had to upgrade to 10.12.x so I could use Xcode 9.2. Compiled with LC 9.0.1rc3 Business. My initial submission (which got the metadata rejection) was reviewed in less than 2 days. Looking at the current trend, I'll be waiting all week to get this minor wording change approved according to http://appreviewtimes.com/ (a GREAT little tool). --Andrew Bell From iowahengst at mac.com Tue Sep 11 07:13:53 2018 From: iowahengst at mac.com (Randy Hengst) Date: Tue, 11 Sep 2018 06:13:53 -0500 Subject: iOS 12 compatibility In-Reply-To: <20180911105955.Horde.AeAclT97hlsj85W8yfaxVB7@ua850258.serversignin.com> References: <20180911105955.Horde.AeAclT97hlsj85W8yfaxVB7@ua850258.serversignin.com> Message-ID: <37663592-8213-492A-99BF-103600D8EFFD@mac.com> Thank you for those details, Andrew. BTW, the app I submitted last month was actually approved the same day I submitted it? but, the app wasn?t very complicated. Apple does seem to have stepped up the speed of the review process. be well, randy www.classroomFocusedSoftware.com > On Sep 11, 2018, at 5:59 AM, Andrew Bell via use-livecode wrote: > >> From: Randy Hengst >> To: How to use LiveCode >> Subject: Re: iOS 12 compatibility >> Message-ID: <0BE15129-2652-43A4-AECC-00498689E728 at mac.com> >> Content-Type: text/plain; charset=us-ascii >> >> Hi Andrew, >> >> What version of LC and Xcode combination did you use for your build? >> >> be well, >> randy >> www.classroomFocusedSoftware.com > > I had previously (for almost 2 years?) been using Xcode 8.2 on macOS 10.11.x which worked with every version of LiveCode that was current or beta at the time (including 9.0.1rc3). But when I went to submit to Apple, they rejected the Xcode version I compiled against so I had to upgrade to 10.12.x so I could use Xcode 9.2. Compiled with LC 9.0.1rc3 Business. > > My initial submission (which got the metadata rejection) was reviewed in less than 2 days. Looking at the current trend, I'll be waiting all week to get this minor wording change approved according to http://appreviewtimes.com/ (a GREAT little tool). > > --Andrew Bell > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 nabble at mad.pink Tue Sep 11 10:15:41 2018 From: nabble at mad.pink (pink) Date: Tue, 11 Sep 2018 09:15:41 -0500 (CDT) Subject: hard-to-use software In-Reply-To: <2c41e5cb-4b46-4c2a-51f2-9292a7d0a708@sonic.net> References: <2c41e5cb-4b46-4c2a-51f2-9292a7d0a708@sonic.net> Message-ID: <1536675341312-0.post@n4.nabble.com> This was a fun read. I always try and make software with "advanced" layers and settings so that it can be used simply right away, but you make it as complicated as you want it to be. ----- --- Greg (pink) Miller mad, pink and dangerous to code -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From tom at makeshyft.com Tue Sep 11 10:34:13 2018 From: tom at makeshyft.com (Tom Glod) Date: Tue, 11 Sep 2018 10:34:13 -0400 Subject: Livecode's CEF Builds In-Reply-To: <0ec3f11565326e4c9f7c832947c9641d@livecode.com> References: <22d9bb79251d422b1dc84e165c4988ce@livecode.com> <0ec3f11565326e4c9f7c832947c9641d@livecode.com> Message-ID: Mark, thanks for your in depth exploration of this issue ... Richard, the coded issue for me is to allow my users to view all youtube videos as well as any other streaming site that uses h264 ...youtube uses a different codec for their live stuff and a different one for the archived stuff..... the archived stuff works for the most part. Netflix doesn't work Vimeo doesn't work and I haven't tested other websites yet. This issue is in regards to this project here. Something I have been working on for the past 50 days ....after realizing that 1. I needed a tool like this and 2. it will help to have a smaller project in my portfolio. https://www.makeshyft.com/timesavers-toolbox/ AND my desire to make the code open source....to allow others to use the (Time Saver's) framework .... to build other apps and grow livecode community. So this issue is on behalf of my users who will inevitably want youtube to work fully. Sigh. On Tue, Sep 11, 2018 at 3:08 AM Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > On 2018-09-11 07:32, Mark Waddingham via use-livecode wrote: > > So, your binaries would actually be non-GPLv3 licensed; but you would > > then be providing the source-code (which you own the copyright to) > > under GPLv3 on GitHub. > > > > Whether that works depends on what the requirements on your project > > are re GPLv3 / Open-Sourceness. > > Note: You would also require a Contributor's License Agreement > (https://en.wikipedia.org/wiki/Contributor_License_Agreement) - as we do > - ensuring that any contributions to your GPLv3 licensed source code > assigns copyright to 'you' (or the copyright owner of the source base) > so that you can continue to dual license. > > 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 bobsneidar at iotecdigital.com Tue Sep 11 11:18:36 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 11 Sep 2018 15:18:36 +0000 Subject: Natural Programming Message-ID: You know, programming comes so naturally to me, it's like it's in my NDA. Bob S From curry at pair.com Tue Sep 11 11:59:58 2018 From: curry at pair.com (Curry Kenworthy) Date: Tue, 11 Sep 2018 11:59:58 -0400 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report In-Reply-To: <6910BECE-4A47-4D07-8F4D-0EEF628420FD@iotecdigital.com> References: <6910BECE-4A47-4D07-8F4D-0EEF628420FD@iotecdigital.com> Message-ID: <5B97E67E.5040500@pair.com> Mark Wieder: > I'm suspicious enough of the sleight-of-hand that underpins the > use of unquoted string literals not to trust the easy answers, ... Bob S: > That's the first thing I thought. Interesting considerations. Whatever the causes, LC 9 needs a little work to get back in shape. Get off the couch and start running again! :) There are so many different tasks where 9 is underperforming; any code with repeat loops, chunks, arrays, or math is likely to be slow compared to where we were 2 years ago. Mac is affected just as badly as Windows. Linux is affected too. BTW Bob, Mark, Jerry, and others following this thread - could you also add your CC to the bug report in the QA center? https://quality.livecode.com/show_bug.cgi?id=21561 We need to get this problem squared away so that our LC code can accomplish greater things, and nothing says "it's important, it's pretty urgent" like more emails in the CC list. Anyone with more than a few lines of code is likely to benefit from this effort. Any serious code written in LCS, especially any code for working with data or calculations. Do you want your own code (and the extensions you use) to run faster or slower - if you like your code to be in shape and run a decent mile, please take a moment to join this bug report. And if anyone has sample code that hints at more (or more specific) problem areas to help pinpoint the issues, don't be shy! I believe a number of areas are affected, but who knows, maybe the root cause could be the same. Working on a WordLib update during the last few weeks has given me a good opportunity to observe the slowdown, because WordLib supports both LC 6 and 9, and it also requires thousands of tests with hundreds of documents to test fixes and ensure quality. So I measure speed too while I'm at it. Testing various code changes, I could see there are many coding tasks that LC 6 absolutely loves, even speeding up, while 9 just slows down. I ran into more potential problem areas that need to be isolated into test code once I sort them out, but may not get a chance to do so for a little while. Plus I may be missing something important. So if you have sample code that tests something I haven't, please post it. Thanks. (WordLib release will be out soon!) Best wishes, Curry Kenworthy Custom Software Development LiveCode Training and Consulting http://livecodeconsulting.com/ From colinholgate at gmail.com Tue Sep 11 13:12:17 2018 From: colinholgate at gmail.com (Colin Holgate) Date: Tue, 11 Sep 2018 13:12:17 -0400 Subject: Natural Programming In-Reply-To: References: Message-ID: I?m surprised you can tell anyone about that. > On Sep 11, 2018, at 11:18 AM, Bob Sneidar via use-livecode wrote: > > You know, programming comes so naturally to me, it's like it's in my NDA. > > Bob S > > From jerry at jhjensen.com Tue Sep 11 13:27:09 2018 From: jerry at jhjensen.com (Jerry Jensen) Date: Tue, 11 Sep 2018 10:27:09 -0700 Subject: Natural Programming In-Reply-To: References: Message-ID: Reminds me of the dyslexic cop that tried to give me an IUD. > On Sep 11, 2018, at 8:18 AM, Bob Sneidar via use-livecode wrote: > > You know, programming comes so naturally to me, it's like it's in my NDA. From ahsoftware at sonic.net Tue Sep 11 14:14:40 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 11 Sep 2018 11:14:40 -0700 Subject: Natural Programming In-Reply-To: References: Message-ID: <94ab4753-10bf-99cc-9e56-ae59d1c46b73@sonic.net> On 09/11/2018 10:27 AM, Jerry Jensen via use-livecode wrote: > Reminds me of the dyslexic cop that tried to give me an IUD. > >> On Sep 11, 2018, at 8:18 AM, Bob Sneidar via use-livecode wrote: >> >> You know, programming comes so naturally to me, it's like it's in my NDA. I used to have dialup but now I'm happy with my LSD. -- Mark Wieder ahsoftware at gmail.com From devin_asay at byu.edu Tue Sep 11 15:36:52 2018 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 11 Sep 2018 19:36:52 +0000 Subject: Natural Programming In-Reply-To: <94ab4753-10bf-99cc-9e56-ae59d1c46b73@sonic.net> References: <94ab4753-10bf-99cc-9e56-ae59d1c46b73@sonic.net> Message-ID: <16CADC41-E25C-4B84-8313-B7E08118B20E@byu.edu> On Sep 11, 2018, at 12:14 PM, Mark Wieder via use-livecode wrote: > On 09/11/2018 10:27 AM, Jerry Jensen via use-livecode wrote: >> Reminds me of the dyslexic cop that tried to give me an IUD. >>> On Sep 11, 2018, at 8:18 AM, Bob Sneidar via use-livecode wrote: >>> >>> You know, programming comes so naturally to me, it's like it's in my NDA. > > I used to have dialup but now I'm happy with my LSD. LLO! RTOFL! -:D Devin From richmondmathewson at gmail.com Tue Sep 11 15:50:00 2018 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 11 Sep 2018 22:50:00 +0300 Subject: Natural Programming In-Reply-To: <16CADC41-E25C-4B84-8313-B7E08118B20E@byu.edu> References: <94ab4753-10bf-99cc-9e56-ae59d1c46b73@sonic.net> <16CADC41-E25C-4B84-8313-B7E08118B20E@byu.edu> Message-ID: <7b272a28-1989-e728-677d-6023bea93273@gmail.com> When I went to the USA in 1993 I had to set up a phone and did not understand the way things were done so enquired at the phone office of the guy there, "Do you have STD?" [STD: Standard Trunk Dialling] Richmond. On 11.09.2018 22:36, Devin Asay via use-livecode wrote: > On Sep 11, 2018, at 12:14 PM, Mark Wieder via use-livecode wrote: >> On 09/11/2018 10:27 AM, Jerry Jensen via use-livecode wrote: >>> Reminds me of the dyslexic cop that tried to give me an IUD. >>>> On Sep 11, 2018, at 8:18 AM, Bob Sneidar via use-livecode wrote: >>>> >>>> You know, programming comes so naturally to me, it's like it's in my NDA. >> I used to have dialup but now I'm happy with my LSD. > LLO! RTOFL! -:D > > Devin > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Sep 11 16:26:21 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 11 Sep 2018 20:26:21 +0000 Subject: Natural Programming In-Reply-To: <7b272a28-1989-e728-677d-6023bea93273@gmail.com> References: <94ab4753-10bf-99cc-9e56-ae59d1c46b73@sonic.net> <16CADC41-E25C-4B84-8313-B7E08118B20E@byu.edu> <7b272a28-1989-e728-677d-6023bea93273@gmail.com> Message-ID: Imagine if he replied, "No, my doctor took care of that." Bob S > On Sep 11, 2018, at 12:50 , Richmond via use-livecode wrote: > > When I went to the USA in 1993 I had to set up a phone and did not understand the way things were done so enquired at the phone office of the guy there, "Do you have STD?" > > [STD: Standard Trunk Dialling] > > Richmond. From alex at tweedly.net Tue Sep 11 17:53:48 2018 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 11 Sep 2018 22:53:48 +0100 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report In-Reply-To: <5B97E67E.5040500@pair.com> References: <6910BECE-4A47-4D07-8F4D-0EEF628420FD@iotecdigital.com> <5B97E67E.5040500@pair.com> Message-ID: <6e604170-7e8d-0309-75fa-0a7e1508e128@tweedly.net> On 11/09/2018 16:59, Curry Kenworthy via use-livecode wrote: > Interesting considerations. Whatever the causes, LC 9 needs a little > work to get back in shape. Get off the couch and start running again! > :) There are so many different tasks where 9 is underperforming; any > code with repeat loops, chunks, arrays, or math is likely to be slow > compared to where we were 2 years ago. Mac is affected just as badly > as Windows. Linux is affected too. > > BTW Bob, Mark, Jerry, and others following this thread - could you > also add your CC to the bug report in the QA center? > Done. And I was encouraged to try a quick test - which turned out to be a counter-example. LC9 is 4x faster than LC6 on this little test (consistently over different photos). *on mouseUp ?? local tData1, tData2, time1, temp ?? put URL ("binfile:/Users/alextweedly/Dropbox (Personal)/Pictures/2016/101_0818/IMGP0021.JPG") into tData1 ?? put URL ("binfile:/Users/alextweedly/Dropbox (Personal)/Pictures/2016/101_0818/IMGP0021.JPG") into tData2 ?? -- put tData1 into tData2 ?? put the millisecs into time1 ?? repeat 50 times ????? if tData1 = tData2 then ???????? -- add 1 to temp ????? end if ?? end repeat ?? put the number of bytes in tData1 && the millisecs - time1 && temp into msg end mouseUp (it's an 18Mb image file). Alex. * From rdimola at evergreeninfo.net Tue Sep 11 18:26:04 2018 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 11 Sep 2018 18:26:04 -0400 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report In-Reply-To: <6e604170-7e8d-0309-75fa-0a7e1508e128@tweedly.net> References: <6910BECE-4A47-4D07-8F4D-0EEF628420FD@iotecdigital.com> <5B97E67E.5040500@pair.com> <6e604170-7e8d-0309-75fa-0a7e1508e128@tweedly.net> Message-ID: <008e01d44a1e$700fe070$502fa150$@net> I have observed this also. I tested by putting an animated gif in front of a extremely hi-res test image. LC 8 choked but LC9 did not even breath hard. 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 Alex Tweedly via use-livecode Sent: Tuesday, September 11, 2018 5:54 PM To: use-livecode at lists.runrev.com Cc: Alex Tweedly Subject: Re: Slow LC 9 Performance - Test Stack, Video, QA Report And I was encouraged to try a quick test - which turned out to be a counter-example. LC9 is 4x faster than LC6 on this little test (consistently over different photos). *on mouseUp local tData1, tData2, time1, temp put URL ("binfile:/Users/alextweedly/Dropbox (Personal)/Pictures/2016/101_0818/IMGP0021.JPG") into tData1 put URL ("binfile:/Users/alextweedly/Dropbox (Personal)/Pictures/2016/101_0818/IMGP0021.JPG") into tData2 -- put tData1 into tData2 put the millisecs into time1 repeat 50 times if tData1 = tData2 then -- add 1 to temp end if end repeat put the number of bytes in tData1 && the millisecs - time1 && temp into msg end mouseUp (it's an 18Mb image file). Alex. * _______________________________________________ use-livecode mailing list use-livecode 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 gcanyon at gmail.com Tue Sep 11 19:28:47 2018 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 11 Sep 2018 16:28:47 -0700 Subject: Navigator 6.2 alpha 1 is out Message-ID: As usual, you can get Navigator here . Or grab it from GitHub . The complete update list is below, but the four big things are: 1. Preferences are stored as an external text file, so updating Navigator won't delete your color sets or anything else. 2. The Properties menu now includes access to a Size/Location editor, so you can easily change the rect of any set of controls you like. It's easy to align or center controls, and everything you do in the dialog can be reverted if something goes wrong. 3. The Properties menu now includes access to a Colors editor, so you can easily change any set of color properties for any set of controls. This also has a revert function. 4. The filter function now has a toggle switch so you can filter by test as well as just by matching text. So if you want to see just invisible controls: "the vis of tID is false" or controls that are square: "the height of tID is the width of tID" or controls without a tooltip: "the tooltip of tID is empty." etc., etc. I should add that the revert function in the editors is not dependent on the editors themselves -- you can open the Size/Location editor and then resize or move the selected controls any way you want, and then hit the revert button and everything will go back to where it was when you opened the editor (for the controls you selected when you opened the editor). Let me know if you find any issues. regards, Geoff Detailed change list: Improved and simplified Navigator window-dragging code. Fixed an error with layering in drag and drop between Navigators. Fixed an error with editing colors. Added a toggle to the filter box to allow filter by test as well as text match. Simplified the code to display the stack list. Fixed an issue where mainstacks with templates for conversion to behaviors would show up twice in the option menu in the conversion dialog. Added an option to the properties menu to open Size/Location Editor. Updated the Size/Location Editor: -- The previous way of resizing (which involved following the sizing of a target object in real time) has been removed. -- Added a control to allow resizing/moving any control or set of controls: adjust the sides/corners, or move the objects -- Added a reset button to undo all changes made. Added an option to the properties menu to open the colors editor. Updated the Colors editor: -- Added backgrounds to the color sliders to make it clearer what edits what. -- Added a Choose button that opens the system color selector to put the value into the sliders. -- Reorganized the layout to make it clearer. -- Added tooltips to explain how color selection works. -- Added a color swatch to show what color is set on the sliders. -- Added a reset button to undo all changes made. Changed preferences to save and restore them in an external text file. The format is fairly simple: -- All preferences are stored as a single line each. -- Each line is delimited into three items by numtochar(255). -- The first item is the property to be set. -- The second item is the name of the control that has the property -- this is a full name reference to the control, but not the long name. It uses the name of the mainstack instead of the filename. Thus the value can be used to set properties, but is portable from one installation to another. -- Values are urlencoded. -- In the one instance of a custompropertyset, the individual array values for the custompropertyset are urlencoded to be a single line, then the whole array is urlencoded to fit in the larger scheme. From hh at hyperhh.de Tue Sep 11 20:04:51 2018 From: hh at hyperhh.de (hh) Date: Wed, 12 Sep 2018 02:04:51 +0200 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report Message-ID: <446E98D9-E704-462C-9BB9-C48247718688@hyperhh.de> As to speed comparisons with LC 9: Compared to LC 8, LC Builder of LC 9 has an increase of 50-120% in speed. (Seen with timings when creating an LCD-scroller widget and an image widget). From gcanyon at gmail.com Tue Sep 11 20:42:00 2018 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 11 Sep 2018 17:42:00 -0700 Subject: Navigator 6.2 alpha 1 is out In-Reply-To: References: Message-ID: ...and updated to alpha 2. Found and fixed a bug with proportional resizing, and removed an unnecessary visual element from the resizing dialog. From curry at pair.com Tue Sep 11 23:27:34 2018 From: curry at pair.com (Curry Kenworthy) Date: Tue, 11 Sep 2018 23:27:34 -0400 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report In-Reply-To: <6e604170-7e8d-0309-75fa-0a7e1508e128@tweedly.net> References: <6e604170-7e8d-0309-75fa-0a7e1508e128@tweedly.net> Message-ID: <5B9887A6.1000906@pair.com> Alex: > And I was encouraged to try a quick test - which turned out to be > a counter-example. LC9 is 4x faster than LC6 on this little test > (consistently over different photos). Thanks! This is a good test. Any counter-examples are great since they narrow down the problem areas. However, now the tricky part... I tried this and got the same result, first timed LC 6, then LC 9 was faster. But then (for variety) if I tested LC 9 first, then 6 was faster! So I think OS caching may be playing a role. If so, that adds a new level of challenge to the testing and the tester. :) If I retest the same files repeatedly (both cached) then LC 6 wins, on Windows 10, for both. LC 9 was 2x slower for URL and 1.5 times for open/read. (I had modified the code slightly to let me choose a folder full of pics and choose URL or open/read, loading all the files with the selected method and adding up the total num of bytes.) How about your code - if you test LC 9 first on new files, or the same files repeatedly with both LCs, is LC 9 still the winner? Best wishes, Curry K. From curry at pair.com Wed Sep 12 01:14:51 2018 From: curry at pair.com (Curry Kenworthy) Date: Wed, 12 Sep 2018 01:14:51 -0400 Subject: Slow LC 9 Performance - Test Stack, Video, QA Report In-Reply-To: <5B9887A6.1000906@pair.com> References: <5B9887A6.1000906@pair.com> Message-ID: <5B98A0CB.4080408@pair.com> PS - Alex, I see that when I modified the code I moved the timer and ended up timing the loading of the files, whereas you were timing the data comparison after loading! :) I'll try that tomorrow night. Good area for testing, interesting results. Best wishes, Curry K. From gcanyon at gmail.com Wed Sep 12 02:41:08 2018 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 11 Sep 2018 23:41:08 -0700 Subject: Navigator 6.2 alpha 1 is out In-Reply-To: References: Message-ID: Updated to alpha 3. Found and fixed an issue with custom values in the prefs palette. Should work now. From klaus at major-k.de Wed Sep 12 08:32:03 2018 From: klaus at major-k.de (Klaus major-k) Date: Wed, 12 Sep 2018 14:32:03 +0200 Subject: Calendar Widget Message-ID: <18730EF0-A39F-4985-B387-2E7F4F237A91@major-k.de> Hi friends, I have two calendar widgets, which are obviously compiled (?) for LC 8. community.livecode.elanorb.calendar.1.0.0.lce community.livecode.elanorb.calendarBN.1.0.0.lce Any quick way to make these LC 9 compatible? I think this is exactly what we need, something like "ask date" :-), so this widget would come in quite handy. Thanks a lot for any hints! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From brian at milby7.com Wed Sep 12 08:57:45 2018 From: brian at milby7.com (Brian Milby) Date: Wed, 12 Sep 2018 07:57:45 -0500 Subject: Calendar Widget In-Reply-To: <18730EF0-A39F-4985-B387-2E7F4F237A91@major-k.de> References: <18730EF0-A39F-4985-B387-2E7F4F237A91@major-k.de> Message-ID: <5496dd56-3ba1-4b91-af4a-5c73bcd666ed@Spark> Normally when you package a open source widget it includes the source. If you install under 8, as long as the source is not impacted by changes, when you launch 9 it should recompile and make it available. It would then work on both 8 and 9 locally. Thanks, Brian On Sep 12, 2018, 7:33 AM -0500, Klaus major-k via use-livecode , wrote: > Hi friends, > > I have two calendar widgets, which are obviously compiled (?) for LC 8. > community.livecode.elanorb.calendar.1.0.0.lce > community.livecode.elanorb.calendarBN.1.0.0.lce > > Any quick way to make these LC 9 compatible? > > I think this is exactly what we need, something like "ask date" :-), > so this widget would come in quite handy. > > Thanks a lot for any hints! > > > 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 panos.merakos at livecode.com Wed Sep 12 08:59:08 2018 From: panos.merakos at livecode.com (panagiotis merakos) Date: Wed, 12 Sep 2018 15:59:08 +0300 Subject: [ANN] Release 9.0.1 Message-ID: Dear list members, We are pleased to announce the release of LiveCode 9.0.1 STABLE. Getting the Release =================== You can get the release at https://downloads.livecode.com/livecode/ or via the automatic updater. Release Contents ================ LiveCode 9.0.1 STABLE contains more than 100 bugfixes and improvements compared to the previous (9.0.0) STABLE version. The full release notes are available from: https://downloads.livecode.com/livecode/9_0_1/LiveCodeNotes-9_0_1.pdf Known issues ================ - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS yet. Feedback ======== Please report any bugs encountered on our BugZilla at http://quality.livecode.com/ Have fun! The LiveCode Team -- From paul at smarttsoftware.co.uk Wed Sep 12 09:15:29 2018 From: paul at smarttsoftware.co.uk (Paul Richards) Date: Wed, 12 Sep 2018 13:15:29 +0000 Subject: Calendar Widget In-Reply-To: <18730EF0-A39F-4985-B387-2E7F4F237A91@major-k.de> References: <18730EF0-A39F-4985-B387-2E7F4F237A91@major-k.de> Message-ID: You could download the official version from Livecode. I am using this in v9 without issue. https://livecode.com/extensions/calendar/1-0-0/ Regards, Paul -----Original Message----- From: use-livecode On Behalf Of Klaus major-k via use-livecode Sent: 12 September 2018 13:32 To: Bob Sneidar via use-livecode Cc: Klaus major-k Subject: Calendar Widget Hi friends, I have two calendar widgets, which are obviously compiled (?) for LC 8. community.livecode.elanorb.calendar.1.0.0.lce community.livecode.elanorb.calendarBN.1.0.0.lce Any quick way to make these LC 9 compatible? I think this is exactly what we need, something like "ask date" :-), so this widget would come in quite handy. Thanks a lot for any hints! 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 Wed Sep 12 09:22:52 2018 From: klaus at major-k.de (Klaus major-k) Date: Wed, 12 Sep 2018 15:22:52 +0200 Subject: Calendar Widget In-Reply-To: References: <18730EF0-A39F-4985-B387-2E7F4F237A91@major-k.de> Message-ID: Hi Paul, > Am 12.09.2018 um 15:15 schrieb Paul Richards via use-livecode : > > You could download the official version from Livecode. I am using this in v9 without issue. > https://livecode.com/extensions/calendar/1-0-0/ ah, thank you, I must have missed this one. Would be nice if this would appear in the "Widget Store" (Extension Manager), and not these senseless "Big Squeare" and "My pink Circle" stuff or the already built-in "SVG widget. 8-/ > Regards, > Paul > > -----Original Message----- > From: use-livecode On Behalf Of Klaus major-k via use-livecode > Sent: 12 September 2018 13:32 > To: Bob Sneidar via use-livecode > Cc: Klaus major-k > Subject: Calendar Widget > > Hi friends, > > I have two calendar widgets, which are obviously compiled (?) for LC 8. > community.livecode.elanorb.calendar.1.0.0.lce > community.livecode.elanorb.calendarBN.1.0.0.lce Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From klaus at major-k.de Wed Sep 12 09:26:17 2018 From: klaus at major-k.de (Klaus major-k) Date: Wed, 12 Sep 2018 15:26:17 +0200 Subject: Calendar Widget In-Reply-To: <5496dd56-3ba1-4b91-af4a-5c73bcd666ed@Spark> References: <18730EF0-A39F-4985-B387-2E7F4F237A91@major-k.de> <5496dd56-3ba1-4b91-af4a-5c73bcd666ed@Spark> Message-ID: Hi Brian, > Am 12.09.2018 um 14:57 schrieb Brian Milby via use-livecode : > > Normally when you package a open source widget it includes the source. If you install under 8, as long as the source is not impacted by changes, when you launch 9 it should recompile and make it available. It would then work on both 8 and 9 locally. it didn't or I made a mistake (more likely), but in the meantime I downloaded a new version from the LC website. Thank you! > Thanks, > Brian best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From brahma at hindu.org Wed Sep 12 09:40:18 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 12 Sep 2018 13:40:18 +0000 Subject: Remote Debugger Anomalies Message-ID: -- Shut down LC -- Android phone is connected by USB -- install in app on Android -- fix a script (change a typo) -- save the script; save the stack -- From the test menu, choose Android -- build the app; install on device -- the debugged breaks on the script that I just saved, and it shows the script at it was *before* change the typo! -- Leave debug mode, try to change the script again, -- try to save LC give an error message so on cannot file the path to save the script The above is just one scenario: after running debug on Android, you have no clue whether you are editing a "phantom script" or the "real library" on in your hard drive. Or you are ending a script the lies in "depths of the standalone maker" even though the app is installed on the phone. In some scenarios, like the above, you feel *certain* you are editing the "real" script. (you can tell by opening BBEdit) You delete the app from the device, run the test again: the debugger shows that error that you just fixed! It is getting tiring to have to shut down LC and reboot everytime you test. But that seem to be only way that there is not "latent" memory of the script, as it was, broken, in the bowels of LC, even you have fixed in it disk. Can any provide a rock solid procedure to be *sure* that SA *always* get a corrected version of any script? BR From bobsneidar at iotecdigital.com Wed Sep 12 11:08:56 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Sep 2018 15:08:56 +0000 Subject: Datagrid dgData bug Message-ID: <682E7524-D3E6-425A-AD2D-47AD34CD0881@iotecdigital.com> Hi all. Something is happening with getting the dgData of a datagrid. If I am stepping through code that gets the dgData of an empty datagrid, I get an array whose only key is 0 and there is no value. This never happened before. This is problematic for me because I often simply test to see if the variable is an array and proceed accordingly. If anyone else can reproduce this, I will post a bug report. MacOS X 10.13.6 LC 9.0.1 rc1. Bob S From bobsneidar at iotecdigital.com Wed Sep 12 11:14:16 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Sep 2018 15:14:16 +0000 Subject: Datagrid dgData bug In-Reply-To: <682E7524-D3E6-425A-AD2D-47AD34CD0881@iotecdigital.com> References: <682E7524-D3E6-425A-AD2D-47AD34CD0881@iotecdigital.com> Message-ID: Hmmm... oddly this does not happen in a basic test stack. I am executing the commands in a behavior though, and that behavior is inline with the datagrid behavior. If that is the culprit, it's gonna be a beatch fixing it. Bob S > On Sep 12, 2018, at 08:08 , Bob Sneidar via use-livecode wrote: > > Hi all. > > Something is happening with getting the dgData of a datagrid. If I am stepping through code that gets the dgData of an empty datagrid, I get an array whose only key is 0 and there is no value. This never happened before. This is problematic for me because I often simply test to see if the variable is an array and proceed accordingly. > > If anyone else can reproduce this, I will post a bug report. MacOS X 10.13.6 LC 9.0.1 rc1. > > Bob S From bobsneidar at iotecdigital.com Wed Sep 12 11:43:35 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Sep 2018 15:43:35 +0000 Subject: Datagrid dgData bug In-Reply-To: References: <682E7524-D3E6-425A-AD2D-47AD34CD0881@iotecdigital.com> Message-ID: <2B6FF92D-597F-4438-98D7-59A2235F8B77@iotecdigital.com> Okay I found a quick workaround. I check to see if the dgText of the datagrid is empty (which it is) before getting the dgData. This is very odd, and makes me nervous about chaining behaviors with datagrids. Bob S > On Sep 12, 2018, at 08:14 , Bob Sneidar via use-livecode wrote: > > Hmmm... oddly this does not happen in a basic test stack. I am executing the commands in a behavior though, and that behavior is inline with the datagrid behavior. If that is the culprit, it's gonna be a beatch fixing it. > > Bob S > > >> On Sep 12, 2018, at 08:08 , Bob Sneidar via use-livecode wrote: >> >> Hi all. >> >> Something is happening with getting the dgData of a datagrid. If I am stepping through code that gets the dgData of an empty datagrid, I get an array whose only key is 0 and there is no value. This never happened before. This is problematic for me because I often simply test to see if the variable is an array and proceed accordingly. >> >> If anyone else can reproduce this, I will post a bug report. MacOS X 10.13.6 LC 9.0.1 rc1. >> >> Bob S From ambassador at fourthworld.com Wed Sep 12 12:15:07 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 12 Sep 2018 09:15:07 -0700 Subject: Datagrid dgData bug In-Reply-To: References: Message-ID: <29ad6028-094d-6cec-30de-0b1ad41e4f57@fourthworld.com> Bob Sneidar wrote: > Hmmm... oddly this does not happen in a basic test stack. I am > executing the commands in a behavior though, and that behavior > is inline with the datagrid behavior. If that is the culprit, > it's gonna be a beatch fixing it. One of the things I learned from last month's discussion on chaining behaviors with DataGrids is that a DG does not directly use the button object assigned as its behavior; the actual script driving it is the behavior of that assigned button. IIRC the implications seem to be that if you do this: DataGrid -> CustomBehavior -> DGBehaviorButton -> DGBehaviorScript ...then references the actual DGBehaviorScript is making do not resolve properly, and errors occur. However, what works is assigning your behavior not to the DG directly, but to the button it uses, setting your script's behavior to the DGBehaviorScript: DataGrid -> DGBehaviorButton -> CustomBehavior -> DGBehaviorScript The downside to having to do this is that it prevents us from having behaviors assigned to a specific subset of DataGrids. At least that's as much as I recall. And after skimming so many messages it's likely I've missed something, so anyone with a more complete understanding please chime 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 bobsneidar at iotecdigital.com Wed Sep 12 12:19:10 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Sep 2018 16:19:10 +0000 Subject: Datagrid dgData bug In-Reply-To: <29ad6028-094d-6cec-30de-0b1ad41e4f57@fourthworld.com> References: <29ad6028-094d-6cec-30de-0b1ad41e4f57@fourthworld.com> Message-ID: <776E2B78-E0DD-49E8-9ACA-E27F0C25C9D7@iotecdigital.com> Hi Richard, thanks for that. As it is however, creating custom behaviors for subsets of grids is exactly what I need, so I can work around it well enough. It's a comfort to know that there can be resolution problems the way I am doing it, so that I don't stay awake at night going over and over it thinking it's something I have done. Bob S > On Sep 12, 2018, at 09:15 , Richard Gaskin via use-livecode wrote: > > Bob Sneidar wrote: > > > Hmmm... oddly this does not happen in a basic test stack. I am > > executing the commands in a behavior though, and that behavior > > is inline with the datagrid behavior. If that is the culprit, > > it's gonna be a beatch fixing it. > > One of the things I learned from last month's discussion on chaining behaviors with DataGrids is that a DG does not directly use the button object assigned as its behavior; the actual script driving it is the behavior of that assigned button. > > IIRC the implications seem to be that if you do this: > > DataGrid -> CustomBehavior -> DGBehaviorButton -> DGBehaviorScript > > ...then references the actual DGBehaviorScript is making do not resolve properly, and errors occur. > > However, what works is assigning your behavior not to the DG directly, but to the button it uses, setting your script's behavior to the DGBehaviorScript: > > DataGrid -> DGBehaviorButton -> CustomBehavior -> DGBehaviorScript > > The downside to having to do this is that it prevents us from having behaviors assigned to a specific subset of DataGrids. > > At least that's as much as I recall. And after skimming so many messages it's likely I've missed something, so anyone with a more complete understanding please chime in. > > -- > Richard Gaskin From brian at milby7.com Wed Sep 12 12:52:37 2018 From: brian at milby7.com (Brian Milby) Date: Wed, 12 Sep 2018 11:52:37 -0500 Subject: Datagrid dgData bug In-Reply-To: <776E2B78-E0DD-49E8-9ACA-E27F0C25C9D7@iotecdigital.com> References: <29ad6028-094d-6cec-30de-0b1ad41e4f57@fourthworld.com> <776E2B78-E0DD-49E8-9ACA-E27F0C25C9D7@iotecdigital.com> Message-ID: There is a PR to fix this so that chaining doesn't break things. I've posted a demo of how to fix it in your current version: https://github.com/bwmilby/lc-misc/tree/master/NestedDGBehavior On Wed, Sep 12, 2018 at 11:19 AM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Richard, thanks for that. As it is however, creating custom behaviors > for subsets of grids is exactly what I need, so I can work around it well > enough. It's a comfort to know that there can be resolution problems the > way I am doing it, so that I don't stay awake at night going over and over > it thinking it's something I have done. > > Bob S > > > > On Sep 12, 2018, at 09:15 , Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Bob Sneidar wrote: > > > > > Hmmm... oddly this does not happen in a basic test stack. I am > > > executing the commands in a behavior though, and that behavior > > > is inline with the datagrid behavior. If that is the culprit, > > > it's gonna be a beatch fixing it. > > > > One of the things I learned from last month's discussion on chaining > behaviors with DataGrids is that a DG does not directly use the button > object assigned as its behavior; the actual script driving it is the > behavior of that assigned button. > > > > IIRC the implications seem to be that if you do this: > > > > DataGrid -> CustomBehavior -> DGBehaviorButton -> DGBehaviorScript > > > > ...then references the actual DGBehaviorScript is making do not resolve > properly, and errors occur. > > > > However, what works is assigning your behavior not to the DG directly, > but to the button it uses, setting your script's behavior to the > DGBehaviorScript: > > > > DataGrid -> DGBehaviorButton -> CustomBehavior -> DGBehaviorScript > > > > The downside to having to do this is that it prevents us from having > behaviors assigned to a specific subset of DataGrids. > > > > At least that's as much as I recall. And after skimming so many > messages it's likely I've missed something, so anyone with a more complete > understanding please chime in. > > > > -- > > Richard Gaskin > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Wed Sep 12 13:01:07 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 12 Sep 2018 17:01:07 +0000 Subject: Datagrid dgData bug In-Reply-To: References: <29ad6028-094d-6cec-30de-0b1ad41e4f57@fourthworld.com> <776E2B78-E0DD-49E8-9ACA-E27F0C25C9D7@iotecdigital.com> Message-ID: Sweet! Thanks Brian! Bob S > On Sep 12, 2018, at 09:52 , Brian Milby via use-livecode wrote: > > There is a PR to fix this so that chaining doesn't break things. I've > posted a demo of how to fix it in your current version: > https://github.com/bwmilby/lc-misc/tree/master/NestedDGBehavior > > > On Wed, Sep 12, 2018 at 11:19 AM Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi Richard, thanks for that. As it is however, creating custom behaviors >> for subsets of grids is exactly what I need, so I can work around it well >> enough. It's a comfort to know that there can be resolution problems the >> way I am doing it, so that I don't stay awake at night going over and over >> it thinking it's something I have done. >> >> Bob S >> >> >>> On Sep 12, 2018, at 09:15 , Richard Gaskin via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Bob Sneidar wrote: >>> >>>> Hmmm... oddly this does not happen in a basic test stack. I am >>>> executing the commands in a behavior though, and that behavior >>>> is inline with the datagrid behavior. If that is the culprit, >>>> it's gonna be a beatch fixing it. >>> >>> One of the things I learned from last month's discussion on chaining >> behaviors with DataGrids is that a DG does not directly use the button >> object assigned as its behavior; the actual script driving it is the >> behavior of that assigned button. >>> >>> IIRC the implications seem to be that if you do this: >>> >>> DataGrid -> CustomBehavior -> DGBehaviorButton -> DGBehaviorScript >>> >>> ...then references the actual DGBehaviorScript is making do not resolve >> properly, and errors occur. >>> >>> However, what works is assigning your behavior not to the DG directly, >> but to the button it uses, setting your script's behavior to the >> DGBehaviorScript: >>> >>> DataGrid -> DGBehaviorButton -> CustomBehavior -> DGBehaviorScript >>> >>> The downside to having to do this is that it prevents us from having >> behaviors assigned to a specific subset of DataGrids. >>> >>> At least that's as much as I recall. And after skimming so many >> messages it's likely I've missed something, so anyone with a more complete >> understanding please chime in. >>> >>> -- >>> Richard Gaskin >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Sep 12 14:44:50 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 12 Sep 2018 18:44:50 +0000 Subject: Remote Debugger Anomalies References: Message-ID: Hmm I just go a test stack from Elanor... never open before It has the debug script when she ran it on android saved into SA builder! I went to edit it and get unusual ID 536434756567-36465 (etc.) ? On 9/12/18 3:40 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > -- Shut down LC > -- Android phone is connected by USB > -- install in app on Android > -- fix a script (change a typo) > -- save the script; save the stack > -- From the test menu, choose Android > -- build the app; install on device > -- the debugged breaks on the script that I just saved, and it shows the > script at it was *before* change the typo! > -- Leave debug mode, try to change the script again, > -- try to save LC give an error message so on cannot file the path to > save the script > > The above is just one scenario: after running debug on Android, you have > no clue whether you are editing a "phantom script" or the "real library" > on in your hard drive. Or you are ending a script the lies in "depths > of the standalone maker" even though the app is installed on the phone. > > In some scenarios, like the above, you feel *certain* you are editing > the "real" script. (you can tell by opening BBEdit) You delete the app > from the device, run the test again: the debugger shows that error that > you just fixed! > > It is getting tiring to have to shut down LC and reboot everytime you > test. But that seem to be only way that there is not "latent" memory of > the script, as it was, broken, in the bowels of LC, even you have fixed > in it disk. > > Can any provide a rock solid procedure to be *sure* that SA *always* > get a corrected version of any script? > > BR > From jacque at hyperactivesw.com Wed Sep 12 15:08:45 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 12 Sep 2018 14:08:45 -0500 Subject: Remote Debugger Anomalies In-Reply-To: References: Message-ID: I've seen the same thing repeatedly. I wasn't able to work around the problem. I'd like a way to manually force the debugger to unload itself and reload the new script. There is a bug report you can add to: On 9/12/18 8:40 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > -- Shut down LC > -- Android phone is connected by USB > -- install in app on Android > -- fix a script (change a typo) > -- save the script; save the stack > -- From the test menu, choose Android > -- build the app; install on device > -- the debugged breaks on the script that I just saved, and it shows the > script at it was *before* change the typo! > -- Leave debug mode, try to change the script again, > -- try to save LC give an error message so on cannot file the path to > save the script > > The above is just one scenario: after running debug on Android, you have > no clue whether you are editing a "phantom script" or the "real library" > on in your hard drive. Or you are ending a script the lies in "depths > of the standalone maker" even though the app is installed on the phone. > > In some scenarios, like the above, you feel *certain* you are editing > the "real" script. (you can tell by opening BBEdit) You delete the app > from the device, run the test again: the debugger shows that error that > you just fixed! > > It is getting tiring to have to shut down LC and reboot everytime you > test. But that seem to be only way that there is not "latent" memory of > the script, as it was, broken, in the bowels of LC, even you have fixed > in it disk. > > Can any provide a rock solid procedure to be *sure* that SA *always* > get a corrected version of any script? > > 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From martyknappster at gmail.com Wed Sep 12 15:56:12 2018 From: martyknappster at gmail.com (Knapp Martin) Date: Wed, 12 Sep 2018 12:56:12 -0700 Subject: Answer & Ask dialogs in Windows Standalones Message-ID: <3257CEDB-85CF-4760-99A9-969EF56C5627@gmail.com> What's the story with Ask and Answer dialogs in Windows Standalones? I can't get them to show up. In the Standalone settings, when selecting your inclusions, they are pre-selected. In fact if you uncheck them, close the settings window, save, then open the setting again, they are selected again. I've tried to build standalones with them selected and not selected but I can't tell if the setting is even sticking. But either way I have no Answer dialogs. Using LC 9.0.1 stable Marty From alex at harryscollar.com Wed Sep 12 16:41:50 2018 From: alex at harryscollar.com (Alex Shaw) Date: Thu, 13 Sep 2018 06:41:50 +1000 Subject: [ANN] Release 9.0.1 In-Reply-To: References: Message-ID: On Mac will this work with xcode 9.4.1 or 9.4 only? regards alex On 12/9/18 10:59 pm, panagiotis merakos via use-livecode wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 9.0.1 STABLE. > > > Getting the Release > =================== > You can get the release at https://downloads.livecode.com/livecode/ or via > the automatic updater. > > > Release Contents > ================ > LiveCode 9.0.1 STABLE contains more than 100 bugfixes and improvements > compared to the previous (9.0.0) STABLE version. > > The full release notes are available from: > https://downloads.livecode.com/livecode/9_0_1/LiveCodeNotes-9_0_1.pdf > > > Known issues > ================ > - The use of the Browser widget is not supported on Ubuntu 18.04 64 bit LTS > yet. > > > Feedback > ======== > Please report any bugs encountered on our BugZilla at > http://quality.livecode.com/ > > > 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 paul at researchware.com Wed Sep 12 17:01:12 2018 From: paul at researchware.com (Paul Dupuis) Date: Wed, 12 Sep 2018 17:01:12 -0400 Subject: Answer & Ask dialogs in Windows Standalones In-Reply-To: <3257CEDB-85CF-4760-99A9-969EF56C5627@gmail.com> References: <3257CEDB-85CF-4760-99A9-969EF56C5627@gmail.com> Message-ID: I can conform this issue with 9.0.1 stable under Windows 8.1 Created a new stack in LC9.0.1 with a Quit button and a Question button with the following script: *on*mouseUp pMouseButton *answer*"Do you want:"with"A"or"B"or"C" *answer*"You selected:"&&it with"OK" *end*mouseUp And build a default Windows standalone. The script behaves as expected in the IDE, generates nothing (no answer dialogs) in the Standalone. On 9/12/2018 3:56 PM, Knapp Martin via use-livecode wrote: > What's the story with Ask and Answer dialogs in Windows Standalones? I can't get them to show up. In the Standalone settings, when selecting your inclusions, they are pre-selected. In fact if you uncheck them, close the settings window, save, then open the setting again, they are selected again. I've tried to build standalones with them selected and not selected but I can't tell if the setting is even sticking. But either way I have no Answer dialogs. > > Using LC 9.0.1 stable > > Marty > _______________________________________________ > use-livecode mailing list > use-livecode 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 matthias_livecode_150811 at m-r-d.de Wed Sep 12 18:28:29 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 13 Sep 2018 00:28:29 +0200 Subject: Answer & Ask dialogs in Windows Standalones In-Reply-To: References: <3257CEDB-85CF-4760-99A9-969EF56C5627@gmail.com> Message-ID: <00B88968-49C1-417B-A506-28F0DC71BA26@m-r-d.de> Hi, i cannot confirm this here for Windows 10 and LC Business. All is working well. I created a stack and added 2 buttons. One with a mouseup/answer and one with a mousuep/ask script. I set up the standalone settings to create the default Win/Mac/Linux and also to create only a Windows app. Both Windows standalones showed the correct behaviour and displayed the ask and answer dialogs correctly. I?ve created even a Windows app under MAC OS X and tried that under Windows 10. That is also showing the correct behaviour. Regards, Matthias > Am 12.09.2018 um 23:01 schrieb Paul Dupuis via use-livecode : > > I can conform this issue with 9.0.1 stable under Windows 8.1 > > Created a new stack in LC9.0.1 with a Quit button and a Question button > with the following script: > > *on*mouseUp pMouseButton > > *answer*"Do you want:"with"A"or"B"or"C" > > *answer*"You selected:"&&it with"OK" > > *end*mouseUp > > And build a default Windows standalone. > > The script behaves as expected in the IDE, generates nothing (no answer > dialogs) in the Standalone. > > > > > > > On 9/12/2018 3:56 PM, Knapp Martin via use-livecode wrote: >> What's the story with Ask and Answer dialogs in Windows Standalones? I can't get them to show up. In the Standalone settings, when selecting your inclusions, they are pre-selected. In fact if you uncheck them, close the settings window, save, then open the setting again, they are selected again. I've tried to build standalones with them selected and not selected but I can't tell if the setting is even sticking. But either way I have no Answer dialogs. >> >> Using LC 9.0.1 stable >> >> Marty >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 matthias_livecode_150811 at m-r-d.de Wed Sep 12 18:30:03 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 13 Sep 2018 00:30:03 +0200 Subject: Answer & Ask dialogs in Windows Standalones In-Reply-To: <00B88968-49C1-417B-A506-28F0DC71BA26@m-r-d.de> References: <3257CEDB-85CF-4760-99A9-969EF56C5627@gmail.com> <00B88968-49C1-417B-A506-28F0DC71BA26@m-r-d.de> Message-ID: <3598B7D4-3E6A-440B-B2EB-7CCC327AC7BD@m-r-d.de> forgot to mention, the of course i used also the final release of LC 9.0.1. > Am 13.09.2018 um 00:28 schrieb Matthias Rebbe : > > Hi, > > i cannot confirm this here for Windows 10 and LC Business. All is working well. > > I created a stack and added 2 buttons. One with a mouseup/answer and one with a mousuep/ask script. > > I set up the standalone settings to create the default Win/Mac/Linux and also to create only a Windows app. > > Both Windows standalones showed the correct behaviour and displayed the ask and answer dialogs correctly. > > I?ve created even a Windows app under MAC OS X and tried that under Windows 10. That is also showing the correct behaviour. > > > Regards, > > Matthias > > > > > > >> Am 12.09.2018 um 23:01 schrieb Paul Dupuis via use-livecode : >> >> I can conform this issue with 9.0.1 stable under Windows 8.1 >> >> Created a new stack in LC9.0.1 with a Quit button and a Question button >> with the following script: >> >> *on*mouseUp pMouseButton >> >> *answer*"Do you want:"with"A"or"B"or"C" >> >> *answer*"You selected:"&&it with"OK" >> >> *end*mouseUp >> >> And build a default Windows standalone. >> >> The script behaves as expected in the IDE, generates nothing (no answer >> dialogs) in the Standalone. >> >> >> >> >> >> >> On 9/12/2018 3:56 PM, Knapp Martin via use-livecode wrote: >>> What's the story with Ask and Answer dialogs in Windows Standalones? I can't get them to show up. In the Standalone settings, when selecting your inclusions, they are pre-selected. In fact if you uncheck them, close the settings window, save, then open the setting again, they are selected again. I've tried to build standalones with them selected and not selected but I can't tell if the setting is even sticking. But either way I have no Answer dialogs. >>> >>> Using LC 9.0.1 stable >>> >>> Marty >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 Wed Sep 12 18:31:40 2018 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 12 Sep 2018 18:31:40 -0400 Subject: [OT] Xara Design Suite 25 dollar special In-Reply-To: References: Message-ID: Hi All, Check this "Once in a Lifetime" special offer: https://www.humblebundle.com/software/magix-ultimate-creative-design-software?hmb_source=humble_home&hmb_medium=product_tile&hmb_campaign=mosaic_section_2_layout_index_1_layout_type_threes_tile_index_2 This is the best offer of Design Software that you will find in a long time. :-) Al From martyknappster at gmail.com Wed Sep 12 18:31:54 2018 From: martyknappster at gmail.com (Knapp Martin) Date: Wed, 12 Sep 2018 15:31:54 -0700 Subject: Answer & Ask dialogs in Windows Standalones In-Reply-To: <00B88968-49C1-417B-A506-28F0DC71BA26@m-r-d.de> References: <3257CEDB-85CF-4760-99A9-969EF56C5627@gmail.com> <00B88968-49C1-417B-A506-28F0DC71BA26@m-r-d.de> Message-ID: <5A3BCC5D-12CD-4A22-9325-CEB573FD90A8@gmail.com> Are you selecting you own inclusions or letting LC take care of that? In my case I need to select my own. Marty > On Sep 12, 2018, at 3:28 PM, Matthias Rebbe via use-livecode wrote: > > Hi, > > i cannot confirm this here for Windows 10 and LC Business. All is working well. > > I created a stack and added 2 buttons. One with a mouseup/answer and one with a mousuep/ask script. > > I set up the standalone settings to create the default Win/Mac/Linux and also to create only a Windows app. > > Both Windows standalones showed the correct behaviour and displayed the ask and answer dialogs correctly. > > I?ve created even a Windows app under MAC OS X and tried that under Windows 10. That is also showing the correct behaviour. > > > Regards, > > Matthias > > > > > > >> Am 12.09.2018 um 23:01 schrieb Paul Dupuis via use-livecode : >> >> I can conform this issue with 9.0.1 stable under Windows 8.1 >> >> Created a new stack in LC9.0.1 with a Quit button and a Question button >> with the following script: >> >> *on*mouseUp pMouseButton >> >> *answer*"Do you want:"with"A"or"B"or"C" >> >> *answer*"You selected:"&&it with"OK" >> >> *end*mouseUp >> >> And build a default Windows standalone. >> >> The script behaves as expected in the IDE, generates nothing (no answer >> dialogs) in the Standalone. >> >> >> >> >> >> >> On 9/12/2018 3:56 PM, Knapp Martin via use-livecode wrote: >>> What's the story with Ask and Answer dialogs in Windows Standalones? I can't get them to show up. In the Standalone settings, when selecting your inclusions, they are pre-selected. In fact if you uncheck them, close the settings window, save, then open the setting again, they are selected again. I've tried to build standalones with them selected and not selected but I can't tell if the setting is even sticking. But either way I have no Answer dialogs. >>> >>> Using LC 9.0.1 stable >>> >>> Marty >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 matthias_livecode_150811 at m-r-d.de Wed Sep 12 18:41:27 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 13 Sep 2018 00:41:27 +0200 Subject: Answer & Ask dialogs in Windows Standalones In-Reply-To: <5A3BCC5D-12CD-4A22-9325-CEB573FD90A8@gmail.com> References: <3257CEDB-85CF-4760-99A9-969EF56C5627@gmail.com> <00B88968-49C1-417B-A506-28F0DC71BA26@m-r-d.de> <5A3BCC5D-12CD-4A22-9325-CEB573FD90A8@gmail.com> Message-ID: I?ve used the default setting ?Search for....? Von meinem iPhone gesendet > Am 13.09.2018 um 00:31 schrieb Knapp Martin via use-livecode : > > Are you selecting you own inclusions or letting LC take care of that? In my case I need to select my own. > > Marty > >> On Sep 12, 2018, at 3:28 PM, Matthias Rebbe via use-livecode wrote: >> >> Hi, >> >> i cannot confirm this here for Windows 10 and LC Business. All is working well. >> >> I created a stack and added 2 buttons. One with a mouseup/answer and one with a mousuep/ask script. >> >> I set up the standalone settings to create the default Win/Mac/Linux and also to create only a Windows app. >> >> Both Windows standalones showed the correct behaviour and displayed the ask and answer dialogs correctly. >> >> I?ve created even a Windows app under MAC OS X and tried that under Windows 10. That is also showing the correct behaviour. >> >> >> Regards, >> >> Matthias >> >> >> >> >> >> >>> Am 12.09.2018 um 23:01 schrieb Paul Dupuis via use-livecode : >>> >>> I can conform this issue with 9.0.1 stable under Windows 8.1 >>> >>> Created a new stack in LC9.0.1 with a Quit button and a Question button >>> with the following script: >>> >>> *on*mouseUp pMouseButton >>> >>> *answer*"Do you want:"with"A"or"B"or"C" >>> >>> *answer*"You selected:"&&it with"OK" >>> >>> *end*mouseUp >>> >>> And build a default Windows standalone. >>> >>> The script behaves as expected in the IDE, generates nothing (no answer >>> dialogs) in the Standalone. >>> >>> >>> >>> >>> >>> >>>> On 9/12/2018 3:56 PM, Knapp Martin via use-livecode wrote: >>>> What's the story with Ask and Answer dialogs in Windows Standalones? I can't get them to show up. In the Standalone settings, when selecting your inclusions, they are pre-selected. In fact if you uncheck them, close the settings window, save, then open the setting again, they are selected again. I've tried to build standalones with them selected and not selected but I can't tell if the setting is even sticking. But either way I have no Answer dialogs. >>>> >>>> Using LC 9.0.1 stable >>>> >>>> Marty >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 paul at researchware.com Wed Sep 12 19:03:04 2018 From: paul at researchware.com (Paul Dupuis) Date: Wed, 12 Sep 2018 19:03:04 -0400 Subject: Answer & Ask dialogs in Windows Standalones In-Reply-To: <5A3BCC5D-12CD-4A22-9325-CEB573FD90A8@gmail.com> References: <3257CEDB-85CF-4760-99A9-969EF56C5627@gmail.com> <00B88968-49C1-417B-A506-28F0DC71BA26@m-r-d.de> <5A3BCC5D-12CD-4A22-9325-CEB573FD90A8@gmail.com> Message-ID: <4a619e2e-2213-4d06-0643-30b8e747b603@researchware.com> I let LC set the inclusions On 9/12/2018 6:31 PM, Knapp Martin via use-livecode wrote: > Are you selecting you own inclusions or letting LC take care of that? In my case I need to select my own. > > Marty > >> On Sep 12, 2018, at 3:28 PM, Matthias Rebbe via use-livecode wrote: >> >> Hi, >> >> i cannot confirm this here for Windows 10 and LC Business. All is working well. >> >> I created a stack and added 2 buttons. One with a mouseup/answer and one with a mousuep/ask script. >> >> I set up the standalone settings to create the default Win/Mac/Linux and also to create only a Windows app. >> >> Both Windows standalones showed the correct behaviour and displayed the ask and answer dialogs correctly. >> >> I?ve created even a Windows app under MAC OS X and tried that under Windows 10. That is also showing the correct behaviour. >> >> >> Regards, >> >> Matthias >> >> >> >> >> >> >>> Am 12.09.2018 um 23:01 schrieb Paul Dupuis via use-livecode : >>> >>> I can conform this issue with 9.0.1 stable under Windows 8.1 >>> >>> Created a new stack in LC9.0.1 with a Quit button and a Question button >>> with the following script: >>> >>> *on*mouseUp pMouseButton >>> >>> *answer*"Do you want:"with"A"or"B"or"C" >>> >>> *answer*"You selected:"&&it with"OK" >>> >>> *end*mouseUp >>> >>> And build a default Windows standalone. >>> >>> The script behaves as expected in the IDE, generates nothing (no answer >>> dialogs) in the Standalone. >>> >>> >>> >>> >>> >>> >>> On 9/12/2018 3:56 PM, Knapp Martin via use-livecode wrote: >>>> What's the story with Ask and Answer dialogs in Windows Standalones? I can't get them to show up. In the Standalone settings, when selecting your inclusions, they are pre-selected. In fact if you uncheck them, close the settings window, save, then open the setting again, they are selected again. I've tried to build standalones with them selected and not selected but I can't tell if the setting is even sticking. But either way I have no Answer dialogs. >>>> >>>> Using LC 9.0.1 stable >>>> >>>> Marty >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 martyknappster at gmail.com Wed Sep 12 19:05:28 2018 From: martyknappster at gmail.com (Knapp Martin) Date: Wed, 12 Sep 2018 16:05:28 -0700 Subject: Answer & Ask dialogs in Windows Standalones In-Reply-To: <4a619e2e-2213-4d06-0643-30b8e747b603@researchware.com> References: <3257CEDB-85CF-4760-99A9-969EF56C5627@gmail.com> <00B88968-49C1-417B-A506-28F0DC71BA26@m-r-d.de> <5A3BCC5D-12CD-4A22-9325-CEB573FD90A8@gmail.com> <4a619e2e-2213-4d06-0643-30b8e747b603@researchware.com> Message-ID: <1EEAEA73-2113-4947-BD67-3199DF820413@gmail.com> I?ve been trying it both ways and sometimes it ?takes? and sometimes it doesn?t. > On Sep 12, 2018, at 4:03 PM, Paul Dupuis via use-livecode wrote: > > I let LC set the inclusions > > > On 9/12/2018 6:31 PM, Knapp Martin via use-livecode wrote: >> Are you selecting you own inclusions or letting LC take care of that? In my case I need to select my own. >> >> Marty >> >>> On Sep 12, 2018, at 3:28 PM, Matthias Rebbe via use-livecode wrote: >>> >>> Hi, >>> >>> i cannot confirm this here for Windows 10 and LC Business. All is working well. >>> >>> I created a stack and added 2 buttons. One with a mouseup/answer and one with a mousuep/ask script. >>> >>> I set up the standalone settings to create the default Win/Mac/Linux and also to create only a Windows app. >>> >>> Both Windows standalones showed the correct behaviour and displayed the ask and answer dialogs correctly. >>> >>> I?ve created even a Windows app under MAC OS X and tried that under Windows 10. That is also showing the correct behaviour. >>> >>> >>> Regards, >>> >>> Matthias >>> >>> >>> >>> >>> >>> >>>> Am 12.09.2018 um 23:01 schrieb Paul Dupuis via use-livecode : >>>> >>>> I can conform this issue with 9.0.1 stable under Windows 8.1 >>>> >>>> Created a new stack in LC9.0.1 with a Quit button and a Question button >>>> with the following script: >>>> >>>> *on*mouseUp pMouseButton >>>> >>>> *answer*"Do you want:"with"A"or"B"or"C" >>>> >>>> *answer*"You selected:"&&it with"OK" >>>> >>>> *end*mouseUp >>>> >>>> And build a default Windows standalone. >>>> >>>> The script behaves as expected in the IDE, generates nothing (no answer >>>> dialogs) in the Standalone. >>>> >>>> >>>> >>>> >>>> >>>> >>>> On 9/12/2018 3:56 PM, Knapp Martin via use-livecode wrote: >>>>> What's the story with Ask and Answer dialogs in Windows Standalones? I can't get them to show up. In the Standalone settings, when selecting your inclusions, they are pre-selected. In fact if you uncheck them, close the settings window, save, then open the setting again, they are selected again. I've tried to build standalones with them selected and not selected but I can't tell if the setting is even sticking. But either way I have no Answer dialogs. >>>>> >>>>> Using LC 9.0.1 stable >>>>> >>>>> Marty >>>>> _______________________________________________ From monte at appisle.net Wed Sep 12 19:13:59 2018 From: monte at appisle.net (Monte Goulding) Date: Thu, 13 Sep 2018 09:13:59 +1000 Subject: Remote Debugger Anomalies In-Reply-To: References: Message-ID: > On 13 Sep 2018, at 5:08 am, J. Landman Gay via use-livecode wrote: > > I've seen the same thing repeatedly. I wasn't able to work around the problem. I'd like a way to manually force the debugger to unload itself and reload the new script. I?d really like to get to the bottom of this. FWIW the script that you see in the debugger actually comes over the socket from the app running on the device. As a result there?s really only two things I can think can be happening: - When the deploy library (Test button) installs the app on the device it is silently failing and then launching the older version. We could rule this out if those of you that see this regularly had some way to know for sure that the new build actually made it to the device. Perhaps a different color background or something? - The stack that caches object scripts is not being cleaned up properly between debugging sessions. This would mean that you would see the old script but what would be executing would be the new script. One way to test this might be to move a breakpoint statement from one line to another and see what line is highlighted in the debugger. Cheers Monte From gcanyon at gmail.com Wed Sep 12 23:33:11 2018 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 12 Sep 2018 20:33:11 -0700 Subject: Navigator 6.2 alpha 1 is out In-Reply-To: References: Message-ID: Updated to alpha 4. Updated the prefs format. Prefs now use a custom encode/decode routine so only cr and tab are encoded. The result is simpler to modify as a text file. This version of Nav will still correctly read the old format. From andrew at midwestcoastmedia.com Thu Sep 13 09:42:15 2018 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Thu, 13 Sep 2018 13:42:15 +0000 Subject: Remote Debugger Anomalies In-Reply-To: Message-ID: <20180913134215.Horde.kYU7eX708tn84o62YRpd_TF@ua850258.serversignin.com> > - The stack that caches object scripts is not being cleaned up > properly between debugging sessions. This would mean that you would > see the old script but what would be executing would be the new > script. One way to test this might be to move a breakpoint statement > from one line to another and see what line is highlighted in the > debugger. This is my vote for what is happening. I have noticed numerous times that stepping through lines I could see things happening in the standalone that were NOT the highlited line of code in the script editor at the time. For instance, a blank line (for readability of code) would execute some other line of code that was now 2 lines down due to a recent change in the script. --Andrew Bell From paul at researchware.com Thu Sep 13 11:30:17 2018 From: paul at researchware.com (Paul Dupuis) Date: Thu, 13 Sep 2018 11:30:17 -0400 Subject: LiveCode 6.7.11 and OSX Mojave Message-ID: I was delighted to see that Mojave will still support 32 bit apps. We have one app left still build under LC6.7.11 that will not be ready to run under LC9.x.x this month for the September 24th release. A question for the community: Has anyone tested LC6.7.11 under Mojave?? I read the Carbon APIs will be removed, but I think I recall that by LC6 LiveCode had already moved away from Carbon? Any feedback as to LC6.7.11's ability to run under Mojave would be appreciated. From martyknappster at gmail.com Thu Sep 13 11:50:46 2018 From: martyknappster at gmail.com (Knapp Martin) Date: Thu, 13 Sep 2018 08:50:46 -0700 Subject: LiveCode 6.7.11 and OSX Mojave In-Reply-To: References: Message-ID: <4334ADD7-E305-4B58-8D72-54D77B145E10@gmail.com> Hi Paul, I have two apps built in LC 6.6.5 and in very *brief* testing they both seem to work fine with the latest Mojave beta. I have been feverishly working on one of them trying to get it ready for Mojave in case they remove 32 bit capability but LC 9 has a couple of glitches for me - the drag and drop issue, where after a drag and drop the stack acts like there?s a sheet of glass over the top and won?t respond to mouse clicks until you remove the cursor from the rect of the stack and back in. I have filed a bug report 21474. I?ve also had a few crashes in LC 9 when printing. Bug report also filed # 21473 on August 8th. That one is stressing me out since a key function of my app is printing. I have not tried using LC itself on Mojave though. Marty > On Sep 13, 2018, at 8:30 AM, Paul Dupuis via use-livecode wrote: > > I was delighted to see that Mojave will still support 32 bit apps. We > have one app left still build under LC6.7.11 that will not be ready to > run under LC9.x.x this month for the September 24th release. > > A question for the community: Has anyone tested LC6.7.11 under Mojave? > I read the Carbon APIs will be removed, but I think I recall that by LC6 > LiveCode had already moved away from Carbon? > > Any feedback as to LC6.7.11's ability to run under Mojave would be > appreciated. > From paul at researchware.com Thu Sep 13 12:02:34 2018 From: paul at researchware.com (Paul Dupuis) Date: Thu, 13 Sep 2018 12:02:34 -0400 Subject: LiveCode 6.7.11 and OSX Mojave In-Reply-To: <4334ADD7-E305-4B58-8D72-54D77B145E10@gmail.com> References: <4334ADD7-E305-4B58-8D72-54D77B145E10@gmail.com> Message-ID: <90f944bb-37e6-0ac4-0d8c-2c2e209ebdf3@researchware.com> Marty, Thank you! I read today that Mojave will still support 32 bit apps (with the current High Sierra warning message), so it sounds like I'll be okay until the next OSX after Mohave and I should have migrated by them. I already know somethings don't work. Print to PDF fails in High Sierra under 6.7.11 (okay in Sierra and below), so I expect that to fail in Mojave as well. Print to PDF works fine under LC9 under High Sierra, so another reason for me to get to 9. We just couldn't make it by the 24th, so I am glad it look like we have a little breathing room. On 9/13/2018 11:50 AM, Knapp Martin via use-livecode wrote: > Hi Paul, > I have two apps built in LC 6.6.5 and in very *brief* testing they both seem to work fine with the latest Mojave beta. > > I have been feverishly working on one of them trying to get it ready for Mojave in case they remove 32 bit capability but LC 9 has a couple of glitches for me - the drag and drop issue, where after a drag and drop the stack acts like there?s a sheet of glass over the top and won?t respond to mouse clicks until you remove the cursor from the rect of the stack and back in. I have filed a bug report 21474. > > I?ve also had a few crashes in LC 9 when printing. Bug report also filed # 21473 on August 8th. That one is stressing me out since a key function of my app is printing. > > I have not tried using LC itself on Mojave though. > > Marty > >> On Sep 13, 2018, at 8:30 AM, Paul Dupuis via use-livecode wrote: >> >> I was delighted to see that Mojave will still support 32 bit apps. We >> have one app left still build under LC6.7.11 that will not be ready to >> run under LC9.x.x this month for the September 24th release. >> >> A question for the community: Has anyone tested LC6.7.11 under Mojave? >> I read the Carbon APIs will be removed, but I think I recall that by LC6 >> LiveCode had already moved away from Carbon? >> >> Any feedback as to LC6.7.11's ability to run under Mojave would be >> appreciated. >> > > _______________________________________________ > use-livecode mailing list > use-livecode 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 martyknappster at gmail.com Thu Sep 13 12:09:47 2018 From: martyknappster at gmail.com (Knapp Martin) Date: Thu, 13 Sep 2018 09:09:47 -0700 Subject: LiveCode 6.7.11 and OSX Mojave In-Reply-To: <90f944bb-37e6-0ac4-0d8c-2c2e209ebdf3@researchware.com> References: <4334ADD7-E305-4B58-8D72-54D77B145E10@gmail.com> <90f944bb-37e6-0ac4-0d8c-2c2e209ebdf3@researchware.com> Message-ID: <3F196A66-1A3A-4399-97E9-00A2A4E1D048@gmail.com> Yes I recently discovered that Print to PDF (with LC 6.6.5) failed under High Sierra. So I pop a window that tells people how to use the built-in Mac feature to print to PDF as a stop-gap. Where did you read that Mojave will support 32 bit apps? I would to like be able to point customers to a source on that - thanks! > On Sep 13, 2018, at 9:02 AM, Paul Dupuis via use-livecode wrote: > > Marty, > > Thank you! > > I read today that Mojave will still support 32 bit apps (with the > current High Sierra warning message), so it sounds like I'll be okay > until the next OSX after Mohave and I should have migrated by them. I > already know somethings don't work. Print to PDF fails in High Sierra > under 6.7.11 (okay in Sierra and below), so I expect that to fail in > Mojave as well. Print to PDF works fine under LC9 under High Sierra, so > another reason for me to get to 9. We just couldn't make it by the 24th, > so I am glad it look like we have a little breathing room. > > On 9/13/2018 11:50 AM, Knapp Martin via use-livecode wrote: >> Hi Paul, >> I have two apps built in LC 6.6.5 and in very *brief* testing they both seem to work fine with the latest Mojave beta. >> >> I have been feverishly working on one of them trying to get it ready for Mojave in case they remove 32 bit capability but LC 9 has a couple of glitches for me - the drag and drop issue, where after a drag and drop the stack acts like there?s a sheet of glass over the top and won?t respond to mouse clicks until you remove the cursor from the rect of the stack and back in. I have filed a bug report 21474. >> >> I?ve also had a few crashes in LC 9 when printing. Bug report also filed # 21473 on August 8th. That one is stressing me out since a key function of my app is printing. >> >> I have not tried using LC itself on Mojave though. >> >> Marty >> >>> On Sep 13, 2018, at 8:30 AM, Paul Dupuis via use-livecode wrote: >>> >>> I was delighted to see that Mojave will still support 32 bit apps. We >>> have one app left still build under LC6.7.11 that will not be ready to >>> run under LC9.x.x this month for the September 24th release. >>> >>> A question for the community: Has anyone tested LC6.7.11 under Mojave? >>> I read the Carbon APIs will be removed, but I think I recall that by LC6 >>> LiveCode had already moved away from Carbon? >>> >>> Any feedback as to LC6.7.11's ability to run under Mojave would be >>> appreciated. >>> From jacque at hyperactivesw.com Thu Sep 13 14:29:41 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Sep 2018 13:29:41 -0500 Subject: Remote Debugger Anomalies In-Reply-To: <20180913134215.Horde.kYU7eX708tn84o62YRpd_TF@ua850258.serversignin.com> References: <20180913134215.Horde.kYU7eX708tn84o62YRpd_TF@ua850258.serversignin.com> Message-ID: On 9/13/18 8:42 AM, Andrew Bell via use-livecode wrote: >> - The stack that caches object scripts is not being cleaned up >> properly between debugging sessions. This would mean that you would >> see the old script but what would be executing would be the new >> script. One way to test this might be to move a breakpoint statement >> from one line to another and see what line is highlighted in the >> debugger. > > This is my vote for what is happening. I have noticed numerous times > that stepping through lines I could see things happening in the > standalone that were NOT the highlited line of code in the script editor > at the time. For instance, a blank line (for readability of code) would > execute some other line of code that was now 2 lines down due to a > recent change in the script. I think so too. I've seen updated card layouts appear, but the debug script that was displayed didn't include additions that managed the layout changes. I think I asked here some time ago about how to purge the stored scripts. I saw some oddly-named stacks in the App Browser that seemed relevant so I deleted those, and the next time I tried a test the whole IDE went down. So that wasn't it. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mkoob at rogers.com Thu Sep 13 15:08:33 2018 From: mkoob at rogers.com (Martin Koob) Date: Thu, 13 Sep 2018 14:08:33 -0500 (CDT) Subject: Natural Programming In-Reply-To: References: <94ab4753-10bf-99cc-9e56-ae59d1c46b73@sonic.net> <16CADC41-E25C-4B84-8313-B7E08118B20E@byu.edu> <7b272a28-1989-e728-677d-6023bea93273@gmail.com> Message-ID: <1536865713592-0.post@n4.nabble.com> At a meeting to discuss a hardware component one person said. "This needs a TLA." not knowing what that was someone asks, "What's a TLA". "Three Letter Acronym." Martin -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From richmondmathewson at gmail.com Thu Sep 13 16:00:33 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 13 Sep 2018 23:00:33 +0300 Subject: Natural Programming In-Reply-To: <1536865713592-0.post@n4.nabble.com> References: <94ab4753-10bf-99cc-9e56-ae59d1c46b73@sonic.net> <16CADC41-E25C-4B84-8313-B7E08118B20E@byu.edu> <7b272a28-1989-e728-677d-6023bea93273@gmail.com> <1536865713592-0.post@n4.nabble.com> Message-ID: When I went to study in America I had to set up a phone line: and when I went to the phone office I asked the guy there, "Do you have STD?" [ 'STD' Standard Trunk Dialling ] Luckily he was an English teacher so merely corrected my grammar. Richmond. On 13/9/2018 10:08 pm, Martin Koob via use-livecode wrote: > At a meeting to discuss a hardware component one person said. "This needs a > TLA." not knowing what that was someone asks, "What's a TLA". > "Three Letter Acronym." > > Martin > > > > > > -- > Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Thu Sep 13 16:12:25 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 13 Sep 2018 20:12:25 +0000 Subject: Remote Debugger Anomalies References: <20180913134215.Horde.kYU7eX708tn84o62YRpd_TF@ua850258.serversignin.com> Message-ID: Well this is somewhat "urgent" due to a scenario I just witness. It GIT --> branch -- nightly # scripts updated. committed switch to branch "fixIosBrowser" git merge nightly # get the usual conflict of binary stacks.. git checkout --theirs "view/view_SivaSivaBrowser.livecode" #presumably up to do date. reboot LC, edit script of stack "view/view_SivaSivaBrowser.livecode" And it open a script in debug mode, with breakpoint that I was working on yesterday, in branch fixIosBrowser! and the script that is nightly are not same! git status Already up to date but the scripts are different? Oh boy! now I can't depend on GIT and *something* is caching scripts. Look like I have to make of branch fixIosBrowser switch night, make a copy and the do a level diff in bbedit between the two, Yikes! Maybe is best to remove that ext Remote Debugging (doesnt work on iOS anyway) and turn of script Debug with building a standalone... only safe thing to do. On 9/13/18 8:30 AM, J. Landman Gay via use-livecode wrote: > I think so too. I've seen updated card layouts appear, but the debug > script that was displayed didn't include additions that managed the > layout changes. From paul at researchware.com Thu Sep 13 16:32:05 2018 From: paul at researchware.com (Paul Dupuis) Date: Thu, 13 Sep 2018 16:32:05 -0400 Subject: LiveCode 6.7.11 and OSX Mojave In-Reply-To: <3F196A66-1A3A-4399-97E9-00A2A4E1D048@gmail.com> References: <4334ADD7-E305-4B58-8D72-54D77B145E10@gmail.com> <90f944bb-37e6-0ac4-0d8c-2c2e209ebdf3@researchware.com> <3F196A66-1A3A-4399-97E9-00A2A4E1D048@gmail.com> Message-ID: <1c90b061-3eb8-845e-32d3-88381f2526f2@researchware.com> On 9/13/2018 12:09 PM, Knapp Martin via use-livecode wrote: > Where did you read that Mojave will support 32 bit apps? I would to like be able to point customers to a source on that - thanks! It was in a developer email I received form Apple. I delete it, so unfortunately, I don't have a copy to forward on to you. From monte at appisle.net Thu Sep 13 16:50:08 2018 From: monte at appisle.net (Monte Goulding) Date: Fri, 14 Sep 2018 06:50:08 +1000 Subject: Remote Debugger Anomalies In-Reply-To: References: <20180913134215.Horde.kYU7eX708tn84o62YRpd_TF@ua850258.serversignin.com> Message-ID: <407BC373-4F95-4677-949A-7C37FD530642@appisle.net> It does not sound like the remote debugger was involved at all in this story so perhaps look elsewhere for the problem. > On 14 Sep 2018, at 6:12 am, Sannyasin Brahmanathaswami via use-livecode wrote: > > Well this is somewhat "urgent" due to a scenario I just witness. > > It GIT --> branch -- nightly # scripts updated. > > committed > > switch to branch "fixIosBrowser" > > git merge nightly > > # get the usual conflict of binary stacks.. > > git checkout --theirs "view/view_SivaSivaBrowser.livecode" > > #presumably up to do date. > > reboot LC, edit script of stack "view/view_SivaSivaBrowser.livecode" > > And it open a script in debug mode, with breakpoint that I was working > on yesterday, in branch > fixIosBrowser! and the script that is nightly are not same! > > git status > Already up to date > > but the scripts are different? Oh boy! now I can't depend on GIT and > *something* is caching scripts. > > Look like I have to make of branch fixIosBrowser switch night, make a > copy and the do a level diff in bbedit between the two, Yikes! > > Maybe is best to remove that ext Remote Debugging (doesnt work on iOS > anyway) and turn of script Debug with building a standalone... only safe > thing to do. From monte at appisle.net Thu Sep 13 16:47:26 2018 From: monte at appisle.net (Monte Goulding) Date: Fri, 14 Sep 2018 06:47:26 +1000 Subject: Remote Debugger Anomalies In-Reply-To: <20180913134215.Horde.kYU7eX708tn84o62YRpd_TF@ua850258.serversignin.com> References: <20180913134215.Horde.kYU7eX708tn84o62YRpd_TF@ua850258.serversignin.com> Message-ID: > On 13 Sep 2018, at 11:42 pm, Andrew Bell via use-livecode wrote: > >> - The stack that caches object scripts is not being cleaned up properly between debugging sessions. This would mean that you would see the old script but what would be executing would be the new script. One way to test this might be to move a breakpoint statement from one line to another and see what line is highlighted in the debugger. > > This is my vote for what is happening. I have noticed numerous times that stepping through lines I could see things happening in the standalone that were NOT the highlited line of code in the script editor at the time. For instance, a blank line (for readability of code) would execute some other line of code that was now 2 lines down due to a recent change in the script. OK that definitely gives me an idea. The cache is meant to be cleaned up when the socket closes so should be happening between launches of the app but we can also force the debug session to end during the deploy of the new version which will hopefully ensure things are cleaned up. Cheers Monte From gcanyon at gmail.com Thu Sep 13 17:34:39 2018 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 13 Sep 2018 14:34:39 -0700 Subject: Navigator 6.2 alpha 1 is out In-Reply-To: References: Message-ID: Updated to 6.2.1. Added functionality so that fillGradient can be edited along with other properties in Nav's Property Editor. Needs some polish, but works just fine. gc On Wed, Sep 12, 2018 at 8:33 PM Geoff Canyon wrote: > Updated to alpha 4. Updated the prefs format. Prefs now use a custom > encode/decode routine so only cr and tab are encoded. The result is simpler > to modify as a text file. This version of Nav will still correctly read the > old format. > From brahma at hindu.org Thu Sep 13 22:52:28 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Fri, 14 Sep 2018 02:52:28 +0000 Subject: Remote Debugger Anomalies References: <20180913134215.Horde.kYU7eX708tn84o62YRpd_TF@ua850258.serversignin.com> <407BC373-4F95-4677-949A-7C37FD530642@appisle.net> Message-ID: I made no changes in the second branch, so I deleted it and made a new one from nightly. But, a) since I received a stack from Elanor b) never have opened before c) edit the stack script d) see the stack script of a debug session from Elanor, (Stack name is a usual long ID number) It makes you wonder.... where did it come from? BR On 9/13/18 10:44 AM, Monte Goulding via use-livecode wrote: > t does not sound like the remote debugger was involved at all in this story so perhaps look elsewhere for the problem. > >> On 14 Sep 2018, at 6:12 am, Sannyasin Brahmanathaswami via use-livecode wrote: >> >> Well this is somewhat "urgent" due to a scenario I just witness. >> >> It GIT --> branch -- nightly # scripts updated. >> >> committed >> >> switch to branch "fixIosBrowser" >> >> git merge nightly >> >> # get the usual conflict of binary stacks.. >> >> git checkout --theirs "view/view_SivaSivaBrowser.livecode" >> >> #presumably up to do date. >> >> reboot LC, edit script of stack "view/view_SivaSivaBrowser.livecode" >> >> And it open a script in debug mode, with breakpoint that I was working >> on yesterday, in branch -- Svasti Astu, Be Well! Brahmanathaswami Get the SivaSiva app, it's free: https://www.himalayanacademy.com/apps/sivasiva From peterwawood at gmail.com Fri Sep 14 05:54:29 2018 From: peterwawood at gmail.com (Peter W A Wood) Date: Fri, 14 Sep 2018 17:54:29 +0800 Subject: [OT] Working with Android devices Message-ID: I have recently got an Android tablet and am seeking advice on how best to work with it in general, not so much with Livecode yet. My main machine is a Mac. I would like to be able to easily swap files with the Android tablet via wifi and to remotely login to it from the Mac. I am hoping that I can do so over the local wifi rather than having to connect the Android tablet via USB. I have a couple of Raspberry Pis on which I installed netatalk so that I can access their file systems in macOS Finder. It makes swapping data between the Mac and the Raspberry Pi a simple matter of drag and drop. Does anybody know if it is possible to install netatalk on an Android device? I usually use SSH to run programs on the Raspberry Pi. I see that there is an app called SSHDroid. Has anybody used it or something similar? When I want to access the Raspberry Pi desktop, I connect to the VNC server running on the Raspberry Pi. Is anybody connecting to their Android "tablet top? from a Mac? How do yo do it? Sorry about going off topic. Peter From iowahengst at mac.com Fri Sep 14 08:23:13 2018 From: iowahengst at mac.com (Randy Hengst) Date: Fri, 14 Sep 2018 07:23:13 -0500 Subject: LIC 9.0.1 Stable Redraw Problem Message-ID: <6725802B-86E7-4768-AB47-6B71DBDE9D89@mac.com> Hi All, I?ve begun the task of updating my iOS apps to work with iOS12 and have run into a problem. I use ?disable buttons? a lot. And, every time it is invoked? in multiple apps? the buttons set to disabled disappear. It doesn?t matter if the disabled icon is set or left at zero. I only see this issue on a device or in the simulator. Everything looks fine in the IDE. Anyone else use ?disable? and can check it out with your setup? I?m using LC 9.0.1 Stable; Xcode 9.2 and MacOS 10.12.6 I?ve not tried to create a stack from scratch to check on this issue, but I?ve seen it in 3 out of 3 apps that I?ve begun to update. be well, randy www.classroomFocusedSoftware.com From merakosp at gmail.com Fri Sep 14 08:48:29 2018 From: merakosp at gmail.com (panagiotis merakos) Date: Fri, 14 Sep 2018 15:48:29 +0300 Subject: LIC 9.0.1 Stable Redraw Problem In-Reply-To: <6725802B-86E7-4768-AB47-6B71DBDE9D89@mac.com> References: <6725802B-86E7-4768-AB47-6B71DBDE9D89@mac.com> Message-ID: Hello Randy, I just tested on iOS 11.4 simulator and I cannot reproduce this problem. Could you file a bug report and attach a simple stack that demonstrates the problem? If it is a bug we will try to fix it in the upcoming 9.0.2 rc1. BTW, which version of LC did you use to build these apps, before updating them with LC 9.0.1? Best, Panos -- On Fri, Sep 14, 2018 at 3:24 PM Randy Hengst via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi All, > > I?ve begun the task of updating my iOS apps to work with iOS12 and have > run into a problem. > > I use ?disable buttons? a lot. And, every time it is invoked? in multiple > apps? the buttons set to disabled disappear. It doesn?t matter if the > disabled icon is set or left at zero. > > I only see this issue on a device or in the simulator. Everything looks > fine in the IDE. > > Anyone else use ?disable? and can check it out with your setup? > > I?m using LC 9.0.1 Stable; Xcode 9.2 and MacOS 10.12.6 > > I?ve not tried to create a stack from scratch to check on this issue, but > I?ve seen it in 3 out of 3 apps that I?ve begun to update. > > be well, > randy > www.classroomFocusedSoftware.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 Fri Sep 14 11:14:25 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Sep 2018 10:14:25 -0500 Subject: [OT] Working with Android devices In-Reply-To: References: Message-ID: <165d8a5bc68.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Take a look at AirDroid, it's free and in the Play Store. It mounts the Android device on the Mac desktop and allows dragging files in either direction over your local network. It also allows a lot of other things too, including running your Android apps on the Mac. If you want a more shell type experience, use ADB, which you'll need to install anyway if you develop apps. ADB is part of the Android SDK. For some types of files you can just cable the device to the Mac and it shows up as a volume on the desktop, but this has some limitations depending on the manufacturer. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 14, 2018 4:56:53 AM Peter W A Wood via use-livecode wrote: > I have recently got an Android tablet and am seeking advice on how best to > work with it in general, not so much with Livecode yet. My main machine is > a Mac. I would like to be able to easily swap files with the Android tablet > via wifi and to remotely login to it from the Mac. I am hoping that I can > do so over the local wifi rather than having to connect the Android tablet > via USB. > > I have a couple of Raspberry Pis on which I installed netatalk so that I > can access their file systems in macOS Finder. It makes swapping data > between the Mac and the Raspberry Pi a simple matter of drag and drop. Does > anybody know if it is possible to install netatalk on an Android device? > > I usually use SSH to run programs on the Raspberry Pi. I see that there is > an app called SSHDroid. Has anybody used it or something similar? > > When I want to access the Raspberry Pi desktop, I connect to the VNC server > running on the Raspberry Pi. Is anybody connecting to their Android "tablet > top? from a Mac? How do yo do it? > > Sorry about going off topic. > > Peter > _______________________________________________ > use-livecode mailing list > use-livecode 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 Fri Sep 14 11:38:37 2018 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 14 Sep 2018 11:38:37 -0400 Subject: LIC 9.0.1 Stable Redraw Problem In-Reply-To: <6725802B-86E7-4768-AB47-6B71DBDE9D89@mac.com> References: <6725802B-86E7-4768-AB47-6B71DBDE9D89@mac.com> Message-ID: <001e01d44c41$04146e20$0c3d4a60$@net> Randy, I had the same problem(see QCC 21558). I was hammered this week and have not yet submitted a test stack. I was disabling controls AND setting the blendlevel. The buttons and fields reappeared when I commented out changing the blendlevel and only do a "set the disabled of button mybtn to true". It's something to do with the blendlevel, but A small test stack does not demonstrate the bug. I will try to make a small test stack but may have to submit my entire stack to Panos. 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 Randy Hengst via use-livecode Sent: Friday, September 14, 2018 8:23 AM To: How to use LiveCode Cc: Randy Hengst Subject: LIC 9.0.1 Stable Redraw Problem Hi All, I?ve begun the task of updating my iOS apps to work with iOS12 and have run into a problem. I use ?disable buttons? a lot. And, every time it is invoked? in multiple apps? the buttons set to disabled disappear. It doesn?t matter if the disabled icon is set or left at zero. I only see this issue on a device or in the simulator. Everything looks fine in the IDE. Anyone else use ?disable? and can check it out with your setup? I?m using LC 9.0.1 Stable; Xcode 9.2 and MacOS 10.12.6 I?ve not tried to create a stack from scratch to check on this issue, but I?ve seen it in 3 out of 3 apps that I?ve begun to update. be well, randy www.classroomFocusedSoftware.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 Fri Sep 14 11:38:55 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Sep 2018 10:38:55 -0500 Subject: [OT] Working with Android devices In-Reply-To: <165d8a5bc68.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <165d8a5bc68.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <165d8bc26b0.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I should clarify, you can't really run Android apps on your Mac, you run them on the Android device and they display on the computer. I've used this for presentations. Also, I'd be surprised if any remote access method could actually log into an Android device that has a screen lock. That would be a huge security risk. ADB may allow it (I haven't looked into that) but it does require cabling to the computer. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 14, 2018 10:16:47 AM "J. Landman Gay via use-livecode" wrote: > Take a look at AirDroid, it's free and in the Play Store. It mounts the > Android device on the Mac desktop and allows dragging files in either > direction over your local network. It also allows a lot of other things > too, including running your Android apps on the Mac. > > If you want a more shell type experience, use ADB, which you'll need to > install anyway if you develop apps. ADB is part of the Android SDK. > > For some types of files you can just cable the device to the Mac and it > shows up as a volume on the desktop, but this has some limitations > depending on the manufacturer. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On September 14, 2018 4:56:53 AM Peter W A Wood via use-livecode > wrote: > >> I have recently got an Android tablet and am seeking advice on how best to >> work with it in general, not so much with Livecode yet. My main machine is >> a Mac. I would like to be able to easily swap files with the Android tablet >> via wifi and to remotely login to it from the Mac. I am hoping that I can >> do so over the local wifi rather than having to connect the Android tablet >> via USB. >> >> I have a couple of Raspberry Pis on which I installed netatalk so that I >> can access their file systems in macOS Finder. It makes swapping data >> between the Mac and the Raspberry Pi a simple matter of drag and drop. Does >> anybody know if it is possible to install netatalk on an Android device? >> >> I usually use SSH to run programs on the Raspberry Pi. I see that there is >> an app called SSHDroid. Has anybody used it or something similar? >> >> When I want to access the Raspberry Pi desktop, I connect to the VNC server >> running on the Raspberry Pi. Is anybody connecting to their Android "tablet >> top? from a Mac? How do yo do it? >> >> Sorry about going off topic. >> >> Peter >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Sep 14 12:26:10 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 14 Sep 2018 09:26:10 -0700 Subject: [OT] Working with Android devices In-Reply-To: References: Message-ID: <79f3224b-993d-4dce-16fa-e7e30b0f16e0@fourthworld.com> Peter W A Wood wrote: > I have recently got an Android tablet and am seeking advice on how > best to work with it in general, not so much with Livecode yet. My > main machine is a Mac. I would like to be able to easily swap files > with the Android tablet via wifi and to remotely login to it from > the Mac. How I share files (and a whole lot more) between all my computing devices: https://www.nextcloud.com/ For my own use I have Nextcloud installed on a small server in my office. For sharing with clients I have another on a VPS. Nextcloud lets me sync with any number of servers, with fine-grained control over what's synced and what's excluded. Native clients available for macOS, Windows, Linux, iOS, and Android. -- 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 Sep 14 12:48:44 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 14 Sep 2018 16:48:44 +0000 Subject: [OT] Working with Android devices In-Reply-To: <79f3224b-993d-4dce-16fa-e7e30b0f16e0@fourthworld.com> References: <79f3224b-993d-4dce-16fa-e7e30b0f16e0@fourthworld.com> Message-ID: I use it too on Richards advice. Just a note of caution: If you sync your device with a Nextcloud device, the Nextcloud device considers itself as the master, and your device as a backup. That means that if you then tell the Nextcloud interface to exclude a folder that has already been synced, it will DELETE THE FOLDER FROM YOUR DEVICE!!! I've gone around and around with the devs about this, and in their view this is how it ought to be. There is a long thread about this in their forums with a lot of people chiming in with the same degree dismay and consternation as I had, and so far as I can tell, there is no intention to change this model. There have been some suggestions about consoling into the nextcloud device and changing some parameters, or a future update adding an option to prevent Nextcloud from treating it's own copy of a folder as the master repository. I only say that to say this: be VERY CAREFUL about how you set up your initial folder syncs. DO NOT THINK sync an entire folder, *then* go back and exclude some folders. This will cause you to lose data. If you need to sync a subset of folders, create a separate sync for each of those folders. Bob S > On Sep 14, 2018, at 09:26 , Richard Gaskin via use-livecode wrote: > > Peter W A Wood wrote: > > > I have recently got an Android tablet and am seeking advice on how > > best to work with it in general, not so much with Livecode yet. My > > main machine is a Mac. I would like to be able to easily swap files > > with the Android tablet via wifi and to remotely login to it from > > the Mac. > > How I share files (and a whole lot more) between all my computing devices: > > https://www.nextcloud.com/ > > For my own use I have Nextcloud installed on a small server in my office. For sharing with clients I have another on a VPS. Nextcloud lets me sync with any number of servers, with fine-grained control over what's synced and what's excluded. Native clients available for macOS, Windows, Linux, iOS, and Android. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web From klaus at major-k.de Fri Sep 14 14:20:15 2018 From: klaus at major-k.de (Klaus major-k) Date: Fri, 14 Sep 2018 20:20:15 +0200 Subject: Calendar widget again... Message-ID: <75A127A3-4FBE-46F7-85B6-BDC2E4E5032B@major-k.de> Hi all, some days ago I downloaded Elenors calendar widget and found it quite disappointing compared to BNs version. No icon in the TOOLs palette and, most annoying, we cannot set that the first day of week to MONDAY, as in germany and many non english countries (Nudge, Nudge!). I have the source code of Elenor/BNs old widget, how can I create a widget for LC 9 out of it? Thanks for any hints! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From richmondmathewson at gmail.com Fri Sep 14 14:43:02 2018 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 14 Sep 2018 21:43:02 +0300 Subject: Windows 10 and Me. Message-ID: Not, sadly, a peon of praise for Microsoft's "latest and greatest". Nor is it the start of a saucy porn novel. So, a boy running LEGAL Windows 10 (this IS unusual in Bulgaria) tried to install LiveCode 8.1.10 on his machine. He got bogged down, so I went round to his house and tried the following: To install LC 8.1.9, 8.1.10 and 9.0.1 on his machine, in all 3 cases in all 3 ways (For all, for me, fancy-pants-custom). In ALL cases they installed. In ALL cases they loaded with the splash screen, and then: NO revMenuBar and NO revTools: pressing CTRL-M did NOT bring up the Message Box. [I ended up doing something "totally 'forked' ": installed VirtualBox with MX Linux inside and then installed LiveCode for Linux 64 bit in the virtual machine: kept the boy happy: but NOT me. Spoke to his Mum about the problem, and she told me I was free, anytime I wanted to pop back and bung caches and so forth onto a flash-drive so I could post them to LiveCode central. An odd sort of day, with darkening clouds on the horizon with a promise of rain. Richmon. From bobsneidar at iotecdigital.com Fri Sep 14 14:43:03 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 14 Sep 2018 18:43:03 +0000 Subject: Calendar widget again... In-Reply-To: <75A127A3-4FBE-46F7-85B6-BDC2E4E5032B@major-k.de> References: <75A127A3-4FBE-46F7-85B6-BDC2E4E5032B@major-k.de> Message-ID: <8F14F9C2-08A9-41E7-902F-D9014345B4FA@iotecdigital.com> I took BN's calendar some time ago and created a date range "widget" (not a real widget) where clicking on a start date in the start calendar set the end date in the end calendar to the next day, and prevented you from picking an end date earlier than the start date or start later than the end. I'll dig that up sometime and post it. Bob S > On Sep 14, 2018, at 11:20 , Klaus major-k via use-livecode wrote: > > Hi all, > > some days ago I downloaded Elenors calendar widget > and found it quite disappointing compared to BNs version. > > No icon in the TOOLs palette and, most annoying, we cannot > set that the first day of week to MONDAY, as in germany and > many non english countries (Nudge, Nudge!). > > I have the source code of Elenor/BNs old widget, how can I > create a widget for LC 9 out of it? > > Thanks for any hints! > > > Best > > Klaus > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de From hh at hyperhh.de Fri Sep 14 15:01:23 2018 From: hh at hyperhh.de (hh) Date: Fri, 14 Sep 2018 21:01:23 +0200 Subject: Calendar widget again... Message-ID: Klaus, honestly, if you never worked with LCB then you better use one of the many LC Script versions, for example http://forums.livecode.com/viewtopic.php?p=129713#p129713 (you can switch Mo or So week start there). To get more than display functions of 1-3-6-12 months is, based on that, certainly no problem for you. Hermann From hh at hyperhh.de Fri Sep 14 15:32:16 2018 From: hh at hyperhh.de (hh) Date: Fri, 14 Sep 2018 21:32:16 +0200 Subject: Calendar widget again... Message-ID: <92B37401-F7B3-4BE0-9FFC-0CF768A6ECD2@hyperhh.de> Add in http://forums.livecode.com/viewtopic.php?p=129713#p129713 to the card script: on mouseUp put the clickText into cT if cT is a number and cT < 31 then put "day: " & cT &cr& \ "month: " & the label of btn "month" &cr& \ "year: " & the label of btn "year" end if end mouseUp Then you have the clicked date of the *center* calendar (=number 1 of 1 or number 2 of 3 or number 2 of 6 or number 5 of 12.) Don't forget: rightClick the calendar to show/hide an options group. From klaus at major-k.de Fri Sep 14 15:35:26 2018 From: klaus at major-k.de (Klaus major-k) Date: Fri, 14 Sep 2018 21:35:26 +0200 Subject: Calendar widget again... In-Reply-To: References: Message-ID: Hallo Hermann, > Am 14.09.2018 um 21:01 schrieb hh via use-livecode : > > Klaus, > > honestly, if you never worked with LCB then you better use > one of the many LC Script versions, for example > http://forums.livecode.com/viewtopic.php?p=129713#p129713 > (you can switch Mo or So week start there). > To get more than display functions of 1-3-6-12 months is, > based on that, certainly no problem for you. thank you for the hint, will surely take a look. > Hermann Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From bogdanoff at me.com Fri Sep 14 18:33:56 2018 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 14 Sep 2018 15:33:56 -0700 Subject: Internet Date Service test In-Reply-To: References: Message-ID: <407BC8EB-400F-4DB4-8CCE-BEAF8143F66C@me.com> Hi, For trial version expiration of my program, I?ve been attempting to use the US Naval Observatory time service which has an API that returns info as JSON data: http://aa.usno.navy.mil/data/docs/api.php#jdconv My request: put URL "http://api.usno.navy.mil/jdconverter?date=today&time=22:15:23.5&ID=ArtsInteractive" into sJulianDateJSON I have a handler that checks for the local variable sJulianDateJSON to contain the returned data, then I use the current Julian date returned (the number of days since January 1, 4713 BC) to write and check on the current date and expiration dates. It seems to work well in on my computer and others in the USA, but a Windows tester in Costa Rica can?t seem to get a response. I haven?t figured out if this is a programming or Internet issue, and it?s difficult to determine since it works well for me on Mac and Windows. Would any of you test this small LC stack ? in the USA or elsewhere? And send me results directly to my email address? https://artsinteractive-products.s3.amazonaws.com/MITA/Get_Julian_Date.livecode.zip 1. Click ?Get Julian Date?. If it works, it should show a number in the ?Julian Date? field after a few seconds. 2. ?Clear? resets the result fields 3. The top field ?Try x times? can be set to a larger number if necessary. 4. If it works the ?Send Email? will attempt to use your email client to email me the results. And? if anyone has a method that doesn?t rely on the user?s local date/time I?d like to hear that? Thanks! Peter Bogdanoff ArtsInteractive From stephen at barncard.com Fri Sep 14 18:40:25 2018 From: stephen at barncard.com (Stephen Barncard) Date: Fri, 14 Sep 2018 15:40:25 -0700 Subject: Internet Date Service test In-Reply-To: <407BC8EB-400F-4DB4-8CCE-BEAF8143F66C@me.com> References: <407BC8EB-400F-4DB4-8CCE-BEAF8143F66C@me.com> Message-ID: Hi Peter, why don't you consider a VPN for such testing? It can place you in any country you need, and you get immediate confirmation. VPN's are plentiful and free to cheap. sqb -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Fri, Sep 14, 2018 at 3:33 PM, Peter Bogdanoff via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi, > > For trial version expiration of my program, I?ve been attempting to use > the US Naval Observatory time service which has an API that returns info as > JSON data: > > http://aa.usno.navy.mil/data/docs/api.php#jdconv < > http://aa.usno.navy.mil/data/docs/api.php#jdconv> > > My request: > put URL "http://api.usno.navy.mil/jdconverter?date=today&time= > 22:15:23.5&ID=ArtsInteractive" into sJulianDateJSON > > I have a handler that checks for the local variable sJulianDateJSON to > contain the returned data, then I use the current Julian date returned (the > number of days since January 1, 4713 BC) to write and check on the current > date and expiration dates. > > It seems to work well in on my computer and others in the USA, but a > Windows tester in Costa Rica can?t seem to get a response. I haven?t > figured out if this is a programming or Internet issue, and it?s difficult > to determine since it works well for me on Mac and Windows. > > > > Would any of you test this small LC stack ? in the USA or elsewhere? And > send me results directly to my email address? > > https://artsinteractive-products.s3.amazonaws.com/ > MITA/Get_Julian_Date.livecode.zip products.s3.amazonaws.com/MITA/Get_Julian_Date.livecode.zip> > > 1. Click ?Get Julian Date?. If it works, it should show a number in the > ?Julian Date? field after a few seconds. > 2. ?Clear? resets the result fields > 3. The top field ?Try x times? can be set to a larger number if necessary. > 4. If it works the ?Send Email? will attempt to use your email client to > email me the results. > > > And? if anyone has a method that doesn?t rely on the user?s local > date/time I?d like to hear that? > > Thanks! > > Peter Bogdanoff > ArtsInteractive > _______________________________________________ > use-livecode mailing list > use-livecode 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 peterwawood at gmail.com Fri Sep 14 18:46:19 2018 From: peterwawood at gmail.com (Peter W A Wood) Date: Sat, 15 Sep 2018 06:46:19 +0800 Subject: [OT] Working with Android devices In-Reply-To: References: <79f3224b-993d-4dce-16fa-e7e30b0f16e0@fourthworld.com> Message-ID: <83A84B29-2623-4961-B5E6-D269220894C9@gmail.com> Many thanks Jacque, Richard and Bob. From bobsneidar at iotecdigital.com Fri Sep 14 18:58:25 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 14 Sep 2018 22:58:25 +0000 Subject: Internet Date Service test In-Reply-To: <407BC8EB-400F-4DB4-8CCE-BEAF8143F66C@me.com> References: <407BC8EB-400F-4DB4-8CCE-BEAF8143F66C@me.com> Message-ID: While the USA does not firewall it's internet, there are countries that do. Costa Rica may be one of them. Bob S > On Sep 14, 2018, at 15:33 , Peter Bogdanoff via use-livecode wrote: > > It seems to work well in on my computer and others in the USA, but a Windows tester in Costa Rica can?t seem to get a response. I haven?t figured out if this is a programming or Internet issue, and it?s difficult to determine since it works well for me on Mac and Windows. From bobsneidar at iotecdigital.com Fri Sep 14 19:06:33 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 14 Sep 2018 23:06:33 +0000 Subject: Internet Date Service test In-Reply-To: References: <407BC8EB-400F-4DB4-8CCE-BEAF8143F66C@me.com> Message-ID: <35507FB6-DE4F-4377-934B-F470628BD4A9@iotecdigital.com> Also it dawns on me that the US Navy may firewall it's own time servers so that they are no DOS attacked. Bob S > On Sep 14, 2018, at 15:58 , Bob Sneidar via use-livecode wrote: > > While the USA does not firewall it's internet, there are countries that do. Costa Rica may be one of them. > > Bob S > > >> On Sep 14, 2018, at 15:33 , Peter Bogdanoff via use-livecode wrote: >> >> It seems to work well in on my computer and others in the USA, but a Windows tester in Costa Rica can?t seem to get a response. I haven?t figured out if this is a programming or Internet issue, and it?s difficult to determine since it works well for me on Mac and Windows. From bogdanoff at me.com Fri Sep 14 19:18:07 2018 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 14 Sep 2018 16:18:07 -0700 Subject: Internet Date Service test In-Reply-To: <35507FB6-DE4F-4377-934B-F470628BD4A9@iotecdigital.com> References: <407BC8EB-400F-4DB4-8CCE-BEAF8143F66C@me.com> <35507FB6-DE4F-4377-934B-F470628BD4A9@iotecdigital.com> Message-ID: That sounds plausible. I am getting uneven results with this? Is this a job for LC Server? To return the seconds and then do my calculations from that? Peter > On Sep 14, 2018, at 4:06 PM, Bob Sneidar via use-livecode wrote: > > Also it dawns on me that the US Navy may firewall it's own time servers so that they are no DOS attacked. > > Bob S > > >> On Sep 14, 2018, at 15:58 , Bob Sneidar via use-livecode wrote: >> >> While the USA does not firewall it's internet, there are countries that do. Costa Rica may be one of them. >> >> Bob S >> >> >>> On Sep 14, 2018, at 15:33 , Peter Bogdanoff via use-livecode wrote: >>> >>> It seems to work well in on my computer and others in the USA, but a Windows tester in Costa Rica can?t seem to get a response. I haven?t figured out if this is a programming or Internet issue, and it?s difficult to determine since it works well for me on Mac and Windows. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sep 14 20:36:00 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 14 Sep 2018 17:36:00 -0700 Subject: Internet Date Service test In-Reply-To: <407BC8EB-400F-4DB4-8CCE-BEAF8143F66C@me.com> References: <407BC8EB-400F-4DB4-8CCE-BEAF8143F66C@me.com> Message-ID: <65a448cc-7956-1524-0f4f-355caffe5719@fourthworld.com> Peter Bogdanoff wrote: > And? if anyone has a method that doesn?t rely on the user?s local > date/time I?d like to hear that? Using "the seconds" returns a value that accounts for local GMT offset. with the value returned being for GMT. So if you get the seconds and then display them on a machine set to a different time zone, the time zone will be taken into account when using the convert command to display them in any human-readable format. FWIW "the internet date" is similarly useful for converting to other formats in ways that take local time zone into account. AFAIK those are the only two built-in date formats that account for GMT offset, but I've used both for network services where users trade data across many time zones and they work quite well. -- 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 brian at milby7.com Fri Sep 14 20:56:11 2018 From: brian at milby7.com (Brian Milby) Date: Fri, 14 Sep 2018 19:56:11 -0500 Subject: Internet Date Service test In-Reply-To: <65a448cc-7956-1524-0f4f-355caffe5719@fourthworld.com> References: <407BC8EB-400F-4DB4-8CCE-BEAF8143F66C@me.com> <65a448cc-7956-1524-0f4f-355caffe5719@fourthworld.com> Message-ID: I think the goal is an independent time (date) source to ensure that the value is correct. I?m curious about the best solution. Probably would involve your own server though. Thanks, Brian On Sep 14, 2018, 7:36 PM -0500, Richard Gaskin via use-livecode , wrote: > Peter Bogdanoff wrote: > > > And? if anyone has a method that doesn?t rely on the user?s local > > date/time I?d like to hear that? > > Using "the seconds" returns a value that accounts for local GMT offset. > with the value returned being for GMT. > > So if you get the seconds and then display them on a machine set to a > different time zone, the time zone will be taken into account when using > the convert command to display them in any human-readable format. > > FWIW "the internet date" is similarly useful for converting to other > formats in ways that take local time zone into account. > > AFAIK those are the only two built-in date formats that account for GMT > offset, but I've used both for network services where users trade data > across many time zones and they work quite well. > > -- > 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 bogdanoff at me.com Fri Sep 14 21:45:34 2018 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 14 Sep 2018 18:45:34 -0700 Subject: Internet Date Service test In-Reply-To: References: <407BC8EB-400F-4DB4-8CCE-BEAF8143F66C@me.com> <65a448cc-7956-1524-0f4f-355caffe5719@fourthworld.com> Message-ID: Yes, that?s right. We had a report of a user setting back his OS date to extend his demo. This caused us much consternation, thus the desire for an independent date source. Peter > On Sep 14, 2018, at 5:56 PM, Brian Milby via use-livecode wrote: > > I think the goal is an independent time (date) source to ensure that the value is correct. I?m curious about the best solution. Probably would involve your own server though. > > Thanks, > Brian > On Sep 14, 2018, 7:36 PM -0500, Richard Gaskin via use-livecode , wrote: >> Peter Bogdanoff wrote: >> >>> And? if anyone has a method that doesn?t rely on the user?s local >>> date/time I?d like to hear that? >> >> Using "the seconds" returns a value that accounts for local GMT offset. >> with the value returned being for GMT. >> >> So if you get the seconds and then display them on a machine set to a >> different time zone, the time zone will be taken into account when using >> the convert command to display them in any human-readable format. >> >> FWIW "the internet date" is similarly useful for converting to other >> formats in ways that take local time zone into account. >> >> AFAIK those are the only two built-in date formats that account for GMT >> offset, but I've used both for network services where users trade data >> across many time zones and they work quite well. >> >> -- >> 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 stephen at barncard.com Fri Sep 14 22:26:29 2018 From: stephen at barncard.com (Stephen Barncard) Date: Fri, 14 Sep 2018 19:26:29 -0700 Subject: Internet Date Service test In-Reply-To: References: <407BC8EB-400F-4DB4-8CCE-BEAF8143F66C@me.com> <65a448cc-7956-1524-0f4f-355caffe5719@fourthworld.com> Message-ID: how about google time? https://developers.google.com/time/ -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Fri, Sep 14, 2018 at 6:45 PM, Peter Bogdanoff via use-livecode < use-livecode at lists.runrev.com> wrote: > Yes, that?s right. > > We had a report of a user setting back his OS date to extend his demo. > This caused us much consternation, thus the desire for an independent date > source. > > Peter > > > On Sep 14, 2018, at 5:56 PM, Brian Milby via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I think the goal is an independent time (date) source to ensure that the > value is correct. I?m curious about the best solution. Probably would > involve your own server though. > > > > Thanks, > > Brian > > On Sep 14, 2018, 7:36 PM -0500, Richard Gaskin via use-livecode < > use-livecode at lists.runrev.com>, wrote: > >> Peter Bogdanoff wrote: > >> > >>> And? if anyone has a method that doesn?t rely on the user?s local > >>> date/time I?d like to hear that? > >> > >> Using "the seconds" returns a value that accounts for local GMT offset. > >> with the value returned being for GMT. > >> > >> So if you get the seconds and then display them on a machine set to a > >> different time zone, the time zone will be taken into account when using > >> the convert command to display them in any human-readable format. > >> > >> FWIW "the internet date" is similarly useful for converting to other > >> formats in ways that take local time zone into account. > >> > >> AFAIK those are the only two built-in date formats that account for GMT > >> offset, but I've used both for network services where users trade data > >> across many time zones and they work quite well. > >> > >> -- > >> 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 jacque at hyperactivesw.com Fri Sep 14 22:55:51 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Sep 2018 21:55:51 -0500 Subject: Internet Date Service test In-Reply-To: References: <407BC8EB-400F-4DB4-8CCE-BEAF8143F66C@me.com> <65a448cc-7956-1524-0f4f-355caffe5719@fourthworld.com> Message-ID: <165db27e6f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> You could put a little one line CGI on your server that just returns the time and date. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 14, 2018 8:47:51 PM Peter Bogdanoff via use-livecode wrote: > Yes, that?s right. > > We had a report of a user setting back his OS date to extend his demo. This > caused us much consternation, thus the desire for an independent date source. > > Peter > >> On Sep 14, 2018, at 5:56 PM, Brian Milby via use-livecode >> wrote: >> >> I think the goal is an independent time (date) source to ensure that the >> value is correct. I?m curious about the best solution. Probably would >> involve your own server though. >> >> Thanks, >> Brian >> On Sep 14, 2018, 7:36 PM -0500, Richard Gaskin via use-livecode >> , wrote: >>> Peter Bogdanoff wrote: >>> >>>> And? if anyone has a method that doesn?t rely on the user?s local >>>> date/time I?d like to hear that? >>> >>> Using "the seconds" returns a value that accounts for local GMT offset. >>> with the value returned being for GMT. >>> >>> So if you get the seconds and then display them on a machine set to a >>> different time zone, the time zone will be taken into account when using >>> the convert command to display them in any human-readable format. >>> >>> FWIW "the internet date" is similarly useful for converting to other >>> formats in ways that take local time zone into account. >>> >>> AFAIK those are the only two built-in date formats that account for GMT >>> offset, but I've used both for network services where users trade data >>> across many time zones and they work quite well. >>> >>> -- >>> 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 stephen at barncard.com Fri Sep 14 23:06:09 2018 From: stephen at barncard.com (Stephen Barncard) Date: Fri, 14 Sep 2018 20:06:09 -0700 Subject: Internet Date Service test In-Reply-To: <165db27e6f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <407BC8EB-400F-4DB4-8CCE-BEAF8143F66C@me.com> <65a448cc-7956-1524-0f4f-355caffe5719@fourthworld.com> <165db27e6f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: I'd rather use a time server that a lot of people use and is maintained. A private web server's clock depends on ...x for reference? "Google Public NTP serves leap-smeared time . We use this technology to smoothly handle leap seconds with no disruptive events. We implemented Google Public NTP with our load balancers and our fleet of atomic clocks in data centers around the world. - Configure your network settings to use time.google.com as your NTP server." -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Fri, Sep 14, 2018 at 7:55 PM, J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > You could put a little one line CGI on your server that just returns the > time and date. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > On September 14, 2018 8:47:51 PM Peter Bogdanoff via use-livecode < > use-livecode at lists.runrev.com> wrote: > > Yes, that?s right. >> >> We had a report of a user setting back his OS date to extend his demo. >> This caused us much consternation, thus the desire for an independent date >> source. >> >> Peter >> >> On Sep 14, 2018, at 5:56 PM, Brian Milby via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>> I think the goal is an independent time (date) source to ensure that the >>> value is correct. I?m curious about the best solution. Probably would >>> involve your own server though. >>> >>> Thanks, >>> Brian >>> On Sep 14, 2018, 7:36 PM -0500, Richard Gaskin via use-livecode < >>> use-livecode at lists.runrev.com>, wrote: >>> >>>> Peter Bogdanoff wrote: >>>> >>>> And? if anyone has a method that doesn?t rely on the user?s local >>>>> date/time I?d like to hear that? >>>>> >>>> >>>> Using "the seconds" returns a value that accounts for local GMT offset. >>>> with the value returned being for GMT. >>>> >>>> So if you get the seconds and then display them on a machine set to a >>>> different time zone, the time zone will be taken into account when using >>>> the convert command to display them in any human-readable format. >>>> >>>> FWIW "the internet date" is similarly useful for converting to other >>>> formats in ways that take local time zone into account. >>>> >>>> AFAIK those are the only two built-in date formats that account for GMT >>>> offset, but I've used both for network services where users trade data >>>> across many time zones and they work quite well. >>>> >>>> -- >>>> 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 >> > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Fri Sep 14 23:30:01 2018 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 14 Sep 2018 20:30:01 -0700 Subject: Internet Date Service test In-Reply-To: References: <407BC8EB-400F-4DB4-8CCE-BEAF8143F66C@me.com> <65a448cc-7956-1524-0f4f-355caffe5719@fourthworld.com> <165db27e6f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <4E3B7917-7347-429A-BAE4-5CE1AA85337B@me.com> I?m not seeing how to translate use of an NTP server into "LC-talk.? I would love to use it but Google doesn?t seem to have an API that I can access. And I would love the dependability of the Google universe. This one does return JSON: http://worldclockapi.com What I was using before was Julian date which is an easy calculation to use with a 30-day free trial. This worldclockapi.com server returns: {"$id":"1","currentDateTime":"2018-09-15T03:25Z","utcOffset":"00:00:00","isDayLightSavingsTime":false,"dayOfTheWeek":"Saturday","timeZoneName":"UTC","currentFileTime":131814555546165290,"ordinalDate":"2018-258","serviceResponse":null} The ordinal date could be used, I suppose, to calculate 30 days from now. Peter > On Sep 14, 2018, at 8:06 PM, Stephen Barncard via use-livecode wrote: > > I'd rather use a time server that a lot of people use and is maintained. A > private web server's clock depends on ...x for reference? > > "Google Public NTP serves leap-smeared time > . We use this technology to > smoothly handle leap seconds with no disruptive events. > > We implemented Google Public NTP with our load balancers > and our fleet of atomic clocks > in data centers around the world. > > - Configure your network settings to use time.google.com as your NTP > server." > > > -- > Stephen Barncard - Sebastopol Ca. USA - > mixstream.org > > On Fri, Sep 14, 2018 at 7:55 PM, J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> You could put a little one line CGI on your server that just returns the >> time and date. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> On September 14, 2018 8:47:51 PM Peter Bogdanoff via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Yes, that?s right. >>> >>> We had a report of a user setting back his OS date to extend his demo. >>> This caused us much consternation, thus the desire for an independent date >>> source. >>> >>> Peter >>> >>> On Sep 14, 2018, at 5:56 PM, Brian Milby via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>> I think the goal is an independent time (date) source to ensure that the >>>> value is correct. I?m curious about the best solution. Probably would >>>> involve your own server though. >>>> >>>> Thanks, >>>> Brian >>>> On Sep 14, 2018, 7:36 PM -0500, Richard Gaskin via use-livecode < >>>> use-livecode at lists.runrev.com>, wrote: >>>> >>>>> Peter Bogdanoff wrote: >>>>> >>>>> And? if anyone has a method that doesn?t rely on the user?s local >>>>>> date/time I?d like to hear that? >>>>>> >>>>> >>>>> Using "the seconds" returns a value that accounts for local GMT offset. >>>>> with the value returned being for GMT. >>>>> >>>>> So if you get the seconds and then display them on a machine set to a >>>>> different time zone, the time zone will be taken into account when using >>>>> the convert command to display them in any human-readable format. >>>>> >>>>> FWIW "the internet date" is similarly useful for converting to other >>>>> formats in ways that take local time zone into account. >>>>> >>>>> AFAIK those are the only two built-in date formats that account for GMT >>>>> offset, but I've used both for network services where users trade data >>>>> across many time zones and they work quite well. >>>>> >>>>> -- >>>>> 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 >>> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 ahsoftware at sonic.net Sat Sep 15 00:24:59 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 14 Sep 2018 21:24:59 -0700 Subject: Internet Date Service test In-Reply-To: <4E3B7917-7347-429A-BAE4-5CE1AA85337B@me.com> References: <407BC8EB-400F-4DB4-8CCE-BEAF8143F66C@me.com> <65a448cc-7956-1524-0f4f-355caffe5719@fourthworld.com> <165db27e6f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <4E3B7917-7347-429A-BAE4-5CE1AA85337B@me.com> Message-ID: <26f92b63-4c5b-5c62-036c-2e4481ad11b7@sonic.net> On 09/14/2018 08:30 PM, Peter Bogdanoff via use-livecode wrote: > I?m not seeing how to translate use of an NTP server into "LC-talk.? I would love to use it but Google doesn?t seem to have an API that I can access. And I would love the dependability of the Google universe. NTP uses port 13. constant kNTPsocket = "time.nist.gov:13" on mouseUp pMouseButton open socket to kNTPsocket with message "opened" if the result is not empty then put the result after msg end if end mouseUp on opened local tTime read from socket kNTPsocket until EOF put it into tTime put tTime after msg close socket kNTPSocket end opened -- Mark Wieder ahsoftware at gmail.com From gcanyon at gmail.com Sat Sep 15 00:37:18 2018 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 14 Sep 2018 21:37:18 -0700 Subject: Navigator 6.2 alpha 1 is out In-Reply-To: References: Message-ID: Updated to 6.2.2 Fixed an issue where editing fillGradients worked, but creating new ones was impossible. Fixed an error in the Color Editor that glitched the user interface a bit. Updated the Color Editor interface to have images representing all the options, with tooltips. Corrected the step value for the Color Editor scrollbar controls. Added an option to get the mouseColor in the Color Editor. On Thu, Sep 13, 2018 at 2:34 PM Geoff Canyon wrote: > Updated to 6.2.1. Added functionality so that fillGradient can be edited > along with other properties in Nav's Property Editor. Needs some polish, > but works just fine. > > gc > > On Wed, Sep 12, 2018 at 8:33 PM Geoff Canyon wrote: > >> Updated to alpha 4. Updated the prefs format. Prefs now use a custom >> encode/decode routine so only cr and tab are encoded. The result is simpler >> to modify as a text file. This version of Nav will still correctly read the >> old format. >> > From bogdanoff at me.com Sat Sep 15 03:53:54 2018 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sat, 15 Sep 2018 00:53:54 -0700 Subject: Internet Date Service test In-Reply-To: <26f92b63-4c5b-5c62-036c-2e4481ad11b7@sonic.net> References: <407BC8EB-400F-4DB4-8CCE-BEAF8143F66C@me.com> <65a448cc-7956-1524-0f4f-355caffe5719@fourthworld.com> <165db27e6f0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> <4E3B7917-7347-429A-BAE4-5CE1AA85337B@me.com> <26f92b63-4c5b-5c62-036c-2e4481ad11b7@sonic.net> Message-ID: <31B34D7F-3BF1-44EB-B564-44E8600408C3@me.com> Thank you Mark, I?ll try it out. Peter > On Sep 14, 2018, at 9:24 PM, Mark Wieder via use-livecode wrote: > > On 09/14/2018 08:30 PM, Peter Bogdanoff via use-livecode wrote: > > I?m not seeing how to translate use of an NTP server into "LC-talk.? I would love to use it but Google doesn?t seem to have an API that I can access. And I would love the dependability of the Google universe. > > NTP uses port 13. > > constant kNTPsocket = "time.nist.gov:13" > > on mouseUp pMouseButton > open socket to kNTPsocket with message "opened" > if the result is not empty then > put the result after msg > end if > end mouseUp > > on opened > local tTime > > read from socket kNTPsocket until EOF > put it into tTime > put tTime after msg > close socket kNTPSocket > end opened > > -- > 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 brahma at hindu.org Sat Sep 15 11:47:44 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sat, 15 Sep 2018 15:47:44 +0000 Subject: Remote Debugger Anomalies References: <20180913134215.Horde.kYU7eX708tn84o62YRpd_TF@ua850258.serversignin.com> Message-ID: On 9/13/18 10:47 AM, Monte Goulding via use-livecode wrote: > OK that definitely gives me an idea. The cache is meant to be cleaned up when the socket closes so should be happening between launches of the app but we can also force the debug session to end during the deploy of the new version which will hopefully ensure things are cleaned up. OK, given that we understand the problem, to be solved one day. Until then, how do we work around it? Give an error, and the Script Editor "becomes" stack "d2dc63f5-efeb-412c-a6ae-741d60b569de" card id 1002 What is best practice to get out....and back to the original stack/scripts? BR From jacque at hyperactivesw.com Sat Sep 15 12:39:29 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 15 Sep 2018 11:39:29 -0500 Subject: Remote Debugger Anomalies In-Reply-To: References: <20180913134215.Horde.kYU7eX708tn84o62YRpd_TF@ua850258.serversignin.com> Message-ID: <165de19f600.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I asked this before and the fix is to quit the app, if I remember right. The problem on Android is that apps never really quit, they remain in the background until the OS needs the RAM. When the OS wipes the app, we don't receive any messages so the debugger won't know when the socket closes. The same thing happens when the user hits the Home or Recent buttons to leave the app, which also does not notify us. We need messages for these events. Android does send the app a notification but LC hasn't implemented it. The result is that LC Android apps usually never know what's going on. It interferes with the ability to save the app state as well. You might try adding a Quit button to see if that works. The quit command was updated a bit recently so that might work, even if you just use it temporarily for debugging. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 15, 2018 10:49:53 AM Sannyasin Brahmanathaswami via use-livecode wrote: > On 9/13/18 10:47 AM, Monte Goulding via use-livecode wrote: >> OK that definitely gives me an idea. The cache is meant to be cleaned up >> when the socket closes so should be happening between launches of the app >> but we can also force the debug session to end during the deploy of the new >> version which will hopefully ensure things are cleaned up. > > OK, given that we understand the problem, to be solved one day. > > Until then, how do we work around it? > > Give an error, and the Script Editor "becomes" > > stack "d2dc63f5-efeb-412c-a6ae-741d60b569de" > card id 1002 > > What is best practice to get out....and back to the original stack/scripts? > > 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 gcanyon at gmail.com Sat Sep 15 20:13:57 2018 From: gcanyon at gmail.com (Geoff Canyon) Date: Sat, 15 Sep 2018 17:13:57 -0700 Subject: Navigator 6.2 alpha 1 is out In-Reply-To: References: Message-ID: Updated to 6.2.3 Removed the need for the option key in both the stack menu and the card menu. Menu selections now allow for the functionality previously managed by the option key. Option key is still an option (heh) for the stack menu. In the stack menu, there is now an option for showing IDE stacks, and a separate option for showing script-only stacks. In the card (background) menu, there are now always options to display the card list or background list. They also control the menu, so when you select Background List, the list will be displayed in Navigator, and (until you change the setting) the menu will display the backgrounds as well. This will be true even if you select "This Card" from the menu. To change back to listing cards, select Card List on the menu. On Fri, Sep 14, 2018 at 9:37 PM Geoff Canyon wrote: > Updated to 6.2.2 > > Fixed an issue where editing fillGradients worked, but creating new ones > was impossible. > Fixed an error in the Color Editor that glitched the user interface a bit. > Updated the Color Editor interface to have images representing all the > options, with tooltips. > Corrected the step value for the Color Editor scrollbar controls. > Added an option to get the mouseColor in the Color Editor. > > On Thu, Sep 13, 2018 at 2:34 PM Geoff Canyon wrote: > >> Updated to 6.2.1. Added functionality so that fillGradient can be edited >> along with other properties in Nav's Property Editor. Needs some polish, >> but works just fine. >> >> gc >> >> On Wed, Sep 12, 2018 at 8:33 PM Geoff Canyon wrote: >> >>> Updated to alpha 4. Updated the prefs format. Prefs now use a custom >>> encode/decode routine so only cr and tab are encoded. The result is simpler >>> to modify as a text file. This version of Nav will still correctly read the >>> old format. >>> >> From brahma at hindu.org Sat Sep 15 20:36:26 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Sun, 16 Sep 2018 00:36:26 +0000 Subject: Remote Debugger Anomalies References: <20180913134215.Horde.kYU7eX708tn84o62YRpd_TF@ua850258.serversignin.com> <165de19f600.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Well I play with it a while, I don't have a perfect recipe yet... 1) debug error show up. Do edit the script. You check the error and close the script editor. So far I think the IDE has no cache of it. 2) then on the phone, you go to App Info, Uninstall. So far I didn't get a cached script. But if you "touch" the script. In some way, even to change a space. Then even after you uninstall the app on the phone and close the editor, then open it again make some changes, and you change some code and (verified save text file of a behavior by BBedit) Then, magically then old code may appear! then carefully, close the SE, and uninstall the app, appears go away.. No doubt Monte is going to say :-) "this is not problem, best you ignore this" ha!~ BR On 9/15/18 6:39 AM, J. Landman Gay via use-livecode wrote: > I asked this before and the fix is to quit the app, if I remember right. > The problem on Android is that apps never really quit, they remain in the > background until the OS needs the RAM. When the OS wipes the app, we don't > receive any messages so the debugger won't know when the socket closes. The > same thing happens when the user hits the Home or Recent buttons to leave > the app, which also does not notify us. We need messages for these events. > Android does send the app a notification but LC hasn't implemented it. > > The result is that LC Android apps usually never know what's going on. It > interferes with the ability to save the app state as well. > > You might try adding a Quit button to see if that works. The quit command > was updated a bit recently so that might work, even if you just use it > temporarily for debugging. -- Svasti Astu, Be Well! Brahmanathaswami Get the SivaSiva app, it's free: https://www.himalayanacademy.com/apps/sivasiva From montero.je at gmail.com Sun Sep 16 00:07:56 2018 From: montero.je at gmail.com (Jose Enrique Montero) Date: Sun, 16 Sep 2018 00:07:56 -0400 Subject: Social sign in android Message-ID: <7E4100C9-5CE5-4BF0-A02B-7E5D1C9AD3E6@gmail.com> Hi, Its possible do a sing in button using oauth2 lib in LC 9.0.1 ? I'm tried with google api, but after the googles login dialog appears, doesn't get the profile data. Some email in this list talk about the problem with url-redirect issue. Somebody has resolve it? Best regards Jos? Enrique Enviado desde mi iPhone From smudge.andy at googlemail.com Sun Sep 16 08:57:36 2018 From: smudge.andy at googlemail.com (AndyP) Date: Sun, 16 Sep 2018 07:57:36 -0500 (CDT) Subject: Windows 10 and Me. In-Reply-To: References: Message-ID: <1537102656418-0.post@n4.nabble.com> Did you remove all the preference file first before trying to install the other versions? The original install by the boy may have resulted in a corrupted preferences file? ----- Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for LiveCode Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From richmondmathewson at gmail.com Sun Sep 16 08:59:29 2018 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 16 Sep 2018 15:59:29 +0300 Subject: Windows 10 and Me. In-Reply-To: <1537102656418-0.post@n4.nabble.com> References: <1537102656418-0.post@n4.nabble.com> Message-ID: Ah; there's a thought. Can you tell me where I would find that Prefs file? Richmond. On 16.09.2018 15:57, AndyP via use-livecode wrote: > Did you remove all the preference file first before trying to install the > other versions? > > The original install by the boy may have resulted in a corrupted preferences > file? > > > > ----- > Andy Piddock > > > My software never has bugs. It just develops random features. > > TinyIDE a Free alternative minimalist IDE Plugin for LiveCode > > > Script editor Themer for LC http://2108.co.uk > > PointandSee is a FREE simple but full featured under cursor colour picker / finder. > http://www.pointandsee.co.uk - made with LiveCode > -- > Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode 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 smudge.andy at googlemail.com Sun Sep 16 10:59:12 2018 From: smudge.andy at googlemail.com (AndyP) Date: Sun, 16 Sep 2018 09:59:12 -0500 (CDT) Subject: Windows 10 and Me. In-Reply-To: References: <1537102656418-0.post@n4.nabble.com> Message-ID: <1537109952013-0.post@n4.nabble.com> Should be in C:\Users\USERNAME\AppData\Roaming\RunRev\Preferences ----- Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for LiveCode Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From klaus at major-k.de Sun Sep 16 11:27:36 2018 From: klaus at major-k.de (Klaus major-k) Date: Sun, 16 Sep 2018 17:27:36 +0200 Subject: SVG to image Message-ID: <1CA2EEA2-19DB-4E29-83E7-4F7851582DA6@major-k.de> Hi all, was I deaming when thinking we had a build-in way to convert an SVG icon to an image in LC to be used as an icon of a button? I can only find: "drawingSvgCompile" and "drawingSvgCompileFile" in the dictionary and they don't seem to support SVG icons only XML/SVG files? What am I missing? Thanks for any hints! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From prothero at earthlearningsolutions.org Sun Sep 16 11:37:38 2018 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Sun, 16 Sep 2018 08:37:38 -0700 Subject: SVG to image In-Reply-To: <1CA2EEA2-19DB-4E29-83E7-4F7851582DA6@major-k.de> References: <1CA2EEA2-19DB-4E29-83E7-4F7851582DA6@major-k.de> Message-ID: Klaus, I would display the SVG image, then do a screen capture of the rect of the image. I'm not at my computer, and forget the specific commands, and it might cause undesirable screen action, depending on what you want it to do, but it would work. Bill William Prothero http://es.earthednet.org > On Sep 16, 2018, at 8:27 AM, Klaus major-k via use-livecode wrote: > > Hi all, > > was I deaming when thinking we had a build-in way to convert an > SVG icon to an image in LC to be used as an icon of a button? > > I can only find: "drawingSvgCompile" and "drawingSvgCompileFile" in the > dictionary and they don't seem to support SVG icons only XML/SVG files? > What am I missing? > > Thanks for any hints! > > > 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 Sun Sep 16 11:43:03 2018 From: klaus at major-k.de (Klaus major-k) Date: Sun, 16 Sep 2018 17:43:03 +0200 Subject: SVG to image In-Reply-To: References: <1CA2EEA2-19DB-4E29-83E7-4F7851582DA6@major-k.de> Message-ID: <46A762DD-0B5C-4158-B42C-0198C398D000@major-k.de> Hi William, > Am 16.09.2018 um 17:37 schrieb prothero--- via use-livecode : > > Klaus, > I would display the SVG image, then do a screen capture of the rect of the image. I'm not at my computer, and forget the specific commands, and it might cause undesirable screen action, depending on what you want it to do, but it would work. yes, I know how to use the snapshot function, but I wanted to know if I am missing a specific SVG command for this or if i had only been dreaming of such thing. :-) The latter I'm afraid... > Bill > > William Prothero > http://es.earthednet.org > >> On Sep 16, 2018, at 8:27 AM, Klaus major-k via use-livecode wrote: >> >> Hi all, >> >> was I deaming when thinking we had a build-in way to convert an >> SVG icon to an image in LC to be used as an icon of a button? >> >> I can only find: "drawingSvgCompile" and "drawingSvgCompileFile" in the >> dictionary and they don't seem to support SVG icons only XML/SVG files? >> What am I missing? Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From prothero at earthlearningsolutions.org Sun Sep 16 12:00:49 2018 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Sun, 16 Sep 2018 09:00:49 -0700 Subject: SVG to image In-Reply-To: <46A762DD-0B5C-4158-B42C-0198C398D000@major-k.de> References: <1CA2EEA2-19DB-4E29-83E7-4F7851582DA6@major-k.de> <46A762DD-0B5C-4158-B42C-0198C398D000@major-k.de> Message-ID: Good luck, Klaus. Bill William Prothero http://es.earthednet.org > On Sep 16, 2018, at 8:43 AM, Klaus major-k via use-livecode wrote: > > Hi William, > >> Am 16.09.2018 um 17:37 schrieb prothero--- via use-livecode : >> >> Klaus, >> I would display the SVG image, then do a screen capture of the rect of the image. I'm not at my computer, and forget the specific commands, and it might cause undesirable screen action, depending on what you want it to do, but it would work. > > yes, I know how to use the snapshot function, but I wanted to know if I am missing a > specific SVG command for this or if i had only been dreaming of such thing. :-) > > The latter I'm afraid... > >> Bill >> >> William Prothero >> http://es.earthednet.org >> >>> On Sep 16, 2018, at 8:27 AM, Klaus major-k via use-livecode wrote: >>> >>> Hi all, >>> >>> was I deaming when thinking we had a build-in way to convert an >>> SVG icon to an image in LC to be used as an icon of a button? >>> >>> I can only find: "drawingSvgCompile" and "drawingSvgCompileFile" in the >>> dictionary and they don't seem to support SVG icons only XML/SVG files? >>> What am I missing? > > 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 hh at hyperhh.de Sun Sep 16 12:50:19 2018 From: hh at hyperhh.de (hh) Date: Sun, 16 Sep 2018 18:50:19 +0200 Subject: SVG to image Message-ID: <6B8543DC-EF7F-4140-AAA9-D8F7BCEDB477@hyperhh.de> Import the source of a SVG icon widget to a PNG file: +++++++++++++++++++++++++++++++++++++++++++++++++++++ The iconPath of an SVG icon is path data only (could be used as "instructions" for a path in LCB). So try to write a wrapper around it to make it valid SSVG data. The problem is the bounding box of the path (the values for w and h), there is no info about and it's hard to estimate from all the control points of the path. I tried just now to do it this way (works here, tested several times): on mouseUp lock screen; lock messages put the iconPath of widget "SVG Icon" into path put 2048 into w -- estimate general width of the icons put 2048 into h -- estimate general height of the icons put merge(svgWrapper()) into t if there is no img "import" then create img "import" set text of img "import" to drawingSVGCompile(t) cropIt "import" --> because w and h may be too large set width of img "import" to 100 --> your target width set height of img "import" to 100 --> your target height set topleft of img "import" to 10,10 end mouseUp function svgWrapper return "" &CR& \ "" &CR& \ "" &CR& \ ""end svgWrapper ## CROP image ft to its opaque pixels [-hh fecit 2018] ## from my stack SVGHandles89 of "Sample Stacks" on cropIt ft put the width of img ft into w put the height of img ft into h put the maskdata of img ft into mData put numToByte(0) into c0 -- left and right transparency limits put w into cmin; put 1 into cmax repeat with i=0 to h-1 put i*w into h1 repeat with j=1 to cmin if byte h1+j of mData is not c0 then put j into cmin; exit repeat end if end repeat repeat with j=w down to max(cmax,cmin) if byte h1+j of mData is not c0 then put j into cmax; exit repeat end if end repeat end repeat put max(0,cmin-1) into cmin put max(1+cmin,min(w,1+cmax)) into cmax -- top and bottom transparency limits put h into rmin; put 1 into rmax repeat with j=cmin to cmax repeat with i=0 to rmin-1 if byte i*w+j of mData is not c0 then put i into rmin; exit repeat end if end repeat repeat with i=h-1 down to max(rmax,rmin) if byte i*w+j of mData is not c0 then put i into rmax; exit repeat end if end repeat end repeat put max(0,rmin-1) into rmin put max(1+rmin,min(h,1+rmax)) into rmax -- put the left of img ft into L; put the top of img ft into T crop img ft to L+cmin,T+rmin,L+cmax,T+rmax -- LC Bug: resizes instead of cropping when image has angle <> 0 end cropIt From hh at hyperhh.de Sun Sep 16 13:24:37 2018 From: hh at hyperhh.de (hh) Date: Sun, 16 Sep 2018 19:24:37 +0200 Subject: SVG to image Message-ID: <9C571F09-391D-4C6E-A693-7110642F15EB@hyperhh.de> There is a problem with transparency in the result of drawingSVGcompile that my "cropIt" should remove: While an importer via javaScript (SVGHandles89 uses javaScript) removes the transparency from the data, it does it not with the result of drawingSVGcompile probably it doesn't use numToByte(0) for transparency? *** So just leave out the cropIt, the result is the same (and of course much faster). But you have a lot of transparency in there as long as we don't know the bounding box. *** Perhaps drawing SVG compile could put this info into the result? From mark at livecode.com Sun Sep 16 13:26:56 2018 From: mark at livecode.com (Mark Waddingham) Date: Sun, 16 Sep 2018 18:26:56 +0100 Subject: SVG to image In-Reply-To: <6B8543DC-EF7F-4140-AAA9-D8F7BCEDB477@hyperhh.de> References: <6B8543DC-EF7F-4140-AAA9-D8F7BCEDB477@hyperhh.de> Message-ID: <2FFF1445-D0EB-4727-AEE6-2594F13DD83D@livecode.com> Perhaps the drawing library could do with 'CompileIcon' which does the wrapping as your code does and then compiles the resulting SVG XML. In the interim - IIRC - there is an '_internal' command used in the drawing library which returns the bbox of an SVG path string which will allow you to compute width/height correctly. Warmest Regards, Mark. Sent from my iPhone > On 16 Sep 2018, at 17:50, hh via use-livecode wrote: > > Import the source of a SVG icon widget to a PNG file: > +++++++++++++++++++++++++++++++++++++++++++++++++++++ > > The iconPath of an SVG icon is path data only (could be used as > "instructions" for a path in LCB). > > So try to write a wrapper around it to make it valid SSVG data. > > The problem is the bounding box of the path (the values for w > and h), there is no info about and it's hard to estimate from all > the control points of the path. > > I tried just now to do it this way (works here, tested several times): > > on mouseUp > lock screen; lock messages > put the iconPath of widget "SVG Icon" into path > put 2048 into w -- estimate general width of the icons > put 2048 into h -- estimate general height of the icons > put merge(svgWrapper()) into t > if there is no img "import" then create img "import" > set text of img "import" to drawingSVGCompile(t) > cropIt "import" --> because w and h may be too large > set width of img "import" to 100 --> your target width > set height of img "import" to 100 --> your target height > set topleft of img "import" to 10,10 > end mouseUp > > function svgWrapper > return "" &CR& \ > " " xmlns:svg=" "e& "http://www.w3.org/2000/svg" "e& "" &CR& \ > " xmlns=" "e& "http://www.w3.org/2000/svg" "e& "" &CR& \ > " version=" "e& "1.0" "e& "" &CR& \ > " width=" "e& "[[w]]" "e& " height=" "e& "[[h]]" "e& "" &CR& \ > ">" &CR& \ > "" &CR& \ > ""end svgWrapper > > ## CROP image ft to its opaque pixels [-hh fecit 2018] > ## from my stack SVGHandles89 of "Sample Stacks" > on cropIt ft > put the width of img ft into w > put the height of img ft into h > put the maskdata of img ft into mData > put numToByte(0) into c0 > -- left and right transparency limits > put w into cmin; put 1 into cmax > repeat with i=0 to h-1 > put i*w into h1 > repeat with j=1 to cmin > if byte h1+j of mData is not c0 then > put j into cmin; exit repeat > end if > end repeat > repeat with j=w down to max(cmax,cmin) > if byte h1+j of mData is not c0 then > put j into cmax; exit repeat > end if > end repeat > end repeat > put max(0,cmin-1) into cmin > put max(1+cmin,min(w,1+cmax)) into cmax > -- top and bottom transparency limits > put h into rmin; put 1 into rmax > repeat with j=cmin to cmax > repeat with i=0 to rmin-1 > if byte i*w+j of mData is not c0 then > put i into rmin; exit repeat > end if > end repeat > repeat with i=h-1 down to max(rmax,rmin) > if byte i*w+j of mData is not c0 then > put i into rmax; exit repeat > end if > end repeat > end repeat > put max(0,rmin-1) into rmin > put max(1+rmin,min(h,1+rmax)) into rmax > -- > put the left of img ft into L; put the top of img ft into T > crop img ft to L+cmin,T+rmin,L+cmax,T+rmax > -- LC Bug: resizes instead of cropping when image has angle <> 0 > end cropIt > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 brian at milby7.com Sun Sep 16 16:14:08 2018 From: brian at milby7.com (Brian Milby) Date: Sun, 16 Sep 2018 15:14:08 -0500 Subject: SVG to image In-Reply-To: <2FFF1445-D0EB-4727-AEE6-2594F13DD83D@livecode.com> References: <6B8543DC-EF7F-4140-AAA9-D8F7BCEDB477@hyperhh.de> <2FFF1445-D0EB-4727-AEE6-2594F13DD83D@livecode.com> Message-ID: I will point out that not everything will translate exactly between an icon and a compiled drawing. See this thread on the forum: http://forums.livecode.com/viewtopic.php?f=10&t=30441 I created a stack that will take an SVG and display it in a browser widget, an icon, and as a compiled image. You will need to start with a full SVG image file though. The stack extracts the path info (assumes that it is a path). A large selection of icon collections is available here: https://github.com/leungwensen/svg-icon On Sun, Sep 16, 2018 at 12:27 PM Mark Waddingham via use-livecode < use-livecode at lists.runrev.com> wrote: > Perhaps the drawing library could do with 'CompileIcon' which does the > wrapping as your code does and then compiles the resulting SVG XML. > > In the interim - IIRC - there is an '_internal' command used in the > drawing library which returns the bbox of an SVG path string which will > allow you to compute width/height correctly. > > Warmest Regards, > > Mark. > > Sent from my iPhone > > > On 16 Sep 2018, at 17:50, hh via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Import the source of a SVG icon widget to a PNG file: > > +++++++++++++++++++++++++++++++++++++++++++++++++++++ > > > > The iconPath of an SVG icon is path data only (could be used as > > "instructions" for a path in LCB). > > > > So try to write a wrapper around it to make it valid SSVG data. > > > > The problem is the bounding box of the path (the values for w > > and h), there is no info about and it's hard to estimate from all > > the control points of the path. > > > > I tried just now to do it this way (works here, tested several times): > > > > on mouseUp > > lock screen; lock messages > > put the iconPath of widget "SVG Icon" into path > > put 2048 into w -- estimate general width of the icons > > put 2048 into h -- estimate general height of the icons > > put merge(svgWrapper()) into t > > if there is no img "import" then create img "import" > > set text of img "import" to drawingSVGCompile(t) > > cropIt "import" --> because w and h may be too large > > set width of img "import" to 100 --> your target width > > set height of img "import" to 100 --> your target height > > set topleft of img "import" to 10,10 > > end mouseUp > > > > function svgWrapper > > return " "UTF-8" "e& "?>" &CR& \ > > " > " xmlns:svg=" "e& "http://www.w3.org/2000/svg" "e& "" > &CR& \ > > " xmlns=" "e& "http://www.w3.org/2000/svg" "e& "" &CR& > \ > > " version=" "e& "1.0" "e& "" &CR& \ > > " width=" "e& "[[w]]" "e& " height=" "e& "[[h]]" > "e& "" &CR& \ > > ">" &CR& \ > > "" &CR& \ > > ""end svgWrapper > > > > ## CROP image ft to its opaque pixels [-hh fecit 2018] > > ## from my stack SVGHandles89 of "Sample Stacks" > > on cropIt ft > > put the width of img ft into w > > put the height of img ft into h > > put the maskdata of img ft into mData > > put numToByte(0) into c0 > > -- left and right transparency limits > > put w into cmin; put 1 into cmax > > repeat with i=0 to h-1 > > put i*w into h1 > > repeat with j=1 to cmin > > if byte h1+j of mData is not c0 then > > put j into cmin; exit repeat > > end if > > end repeat > > repeat with j=w down to max(cmax,cmin) > > if byte h1+j of mData is not c0 then > > put j into cmax; exit repeat > > end if > > end repeat > > end repeat > > put max(0,cmin-1) into cmin > > put max(1+cmin,min(w,1+cmax)) into cmax > > -- top and bottom transparency limits > > put h into rmin; put 1 into rmax > > repeat with j=cmin to cmax > > repeat with i=0 to rmin-1 > > if byte i*w+j of mData is not c0 then > > put i into rmin; exit repeat > > end if > > end repeat > > repeat with i=h-1 down to max(rmax,rmin) > > if byte i*w+j of mData is not c0 then > > put i into rmax; exit repeat > > end if > > end repeat > > end repeat > > put max(0,rmin-1) into rmin > > put max(1+rmin,min(h,1+rmax)) into rmax > > -- > > put the left of img ft into L; put the top of img ft into T > > crop img ft to L+cmin,T+rmin,L+cmax,T+rmax > > -- LC Bug: resizes instead of cropping when image has angle <> 0 > > end cropIt > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 klaus at major-k.de Sun Sep 16 16:19:54 2018 From: klaus at major-k.de (Klaus major-k) Date: Sun, 16 Sep 2018 22:19:54 +0200 Subject: SVG to image In-Reply-To: References: <6B8543DC-EF7F-4140-AAA9-D8F7BCEDB477@hyperhh.de> <2FFF1445-D0EB-4727-AEE6-2594F13DD83D@livecode.com> Message-ID: <14DCC4EC-9251-4EA5-9593-B93A19DF2A81@major-k.de> Hi Brian, > Am 16.09.2018 um 22:14 schrieb Brian Milby via use-livecode : > > I will point out that not everything will translate exactly between an icon > and a compiled drawing. See this thread on the forum: > http://forums.livecode.com/viewtopic.php?f=10&t=30441 > > I created a stack that will take an SVG and display it in a browser widget, > an icon, and as a compiled image. You will need to start with a full SVG > image file though. The stack extracts the path info (assumes that it is a > path). > > A large selection of icon collections is available here: > https://github.com/leungwensen/svg-icon don't worry: .... import snapshot from rect(the rect of widget "Your SVG") of widget "Your SVG" ... works fine for my needs. :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From monte at appisle.net Sun Sep 16 19:18:08 2018 From: monte at appisle.net (Monte Goulding) Date: Mon, 17 Sep 2018 09:18:08 +1000 Subject: Remote Debugger Anomalies In-Reply-To: References: <20180913134215.Horde.kYU7eX708tn84o62YRpd_TF@ua850258.serversignin.com> Message-ID: <9A49988D-216E-40A2-B319-3AB1BF919FF1@appisle.net> > On 16 Sep 2018, at 1:47 am, Sannyasin Brahmanathaswami via use-livecode wrote: > > OK, given that we understand the problem, to be solved one day. > > Until then, how do we work around it? > > Give an error, and the Script Editor "becomes" > > stack "d2dc63f5-efeb-412c-a6ae-741d60b569de" > card id 1002 > > What is best practice to get out....and back to the original stack/scripts? Hmm? in that scenario you might need to type `delete stack "d2dc63f5-efeb-412c-a6ae-741d60b569de?` in the message box. Definitely the cache is not being cleared/delted when it should be here. Cheers Monte From monte at appisle.net Sun Sep 16 19:31:39 2018 From: monte at appisle.net (Monte Goulding) Date: Mon, 17 Sep 2018 09:31:39 +1000 Subject: Remote Debugger Anomalies In-Reply-To: References: <20180913134215.Horde.kYU7eX708tn84o62YRpd_TF@ua850258.serversignin.com> <165de19f600.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: > On 16 Sep 2018, at 10:36 am, Sannyasin Brahmanathaswami via use-livecode wrote: > > No doubt Monte is going to say :-) "this is not problem, best you ignore > this" ha!~ This seems a bit unfair to me. I don?t think I?ve ever said that. Clearly if you are having a problem then there?s a problem. Your last email, however, it sounded much more like you were having a problem with operations outside of LiveCode (git commands and text editing outside the IDE) than within LiveCode. It?s easy to make a mistake there because the IDE does not reload stacks if the underlying file is changed. As always the simpler the recipe the easier it is for us to figure out what the issue is and resolve it. Cheers Monte From jacque at hyperactivesw.com Sun Sep 16 19:38:13 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 16 Sep 2018 18:38:13 -0500 Subject: Remote Debugger Anomalies In-Reply-To: <9A49988D-216E-40A2-B319-3AB1BF919FF1@appisle.net> References: <20180913134215.Horde.kYU7eX708tn84o62YRpd_TF@ua850258.serversignin.com> <9A49988D-216E-40A2-B319-3AB1BF919FF1@appisle.net> Message-ID: <165e4bfb288.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Stacks named that way were the ones I tried deleting when the whole IDE went down on my next test build. I decided not to do that any more. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 16, 2018 6:20:13 PM Monte Goulding via use-livecode wrote: >> On 16 Sep 2018, at 1:47 am, Sannyasin Brahmanathaswami via use-livecode >> wrote: >> >> OK, given that we understand the problem, to be solved one day. >> >> Until then, how do we work around it? >> >> Give an error, and the Script Editor "becomes" >> >> stack "d2dc63f5-efeb-412c-a6ae-741d60b569de" >> card id 1002 >> >> What is best practice to get out....and back to the original stack/scripts? > > Hmm? in that scenario you might need to type `delete stack > "d2dc63f5-efeb-412c-a6ae-741d60b569de?` in the message box. Definitely the > cache is not being cleared/delted when it should be here. > > 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 hh at hyperhh.de Sun Sep 16 20:25:17 2018 From: hh at hyperhh.de (hh) Date: Mon, 17 Sep 2018 02:25:17 +0200 Subject: SVG to image Message-ID: <0F8A416E-173B-4BCD-8257-D972BEE6567F@hyperhh.de> BoundingBox widget / Compile iconPath to image ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ The real point that came up here is how to get the bounding box of an SVG path that is used as iconPath of the svgIcon widget. With that it is simple to prepare the path as input for drawingSVGcompile. I wrote this evening a widget that computes the bounding box. A demo stack, incl. an installer button for this "BB widget", shows the 35 lines of script (incl. the SVG template) needed to do the steps for "compile iconPath to image" described above. See http://livecodeshare.runrev.com/stack/900 Conversion via JavaScript is of course (currently) better as drawingSVGCompile. Jonathan Lynch showed this technique to the community before a year or so, and there are some stacks on "Sample Stacks/revOnline" that use this technique. DrawingSVGCompile is (as Mark wrote) still beta. On the other hand it does a pretty good job with complicated but not-too-complex SVGs, e.g. the "postscript-tiger". From brian at milby7.com Mon Sep 17 00:06:43 2018 From: brian at milby7.com (Brian Milby) Date: Sun, 16 Sep 2018 23:06:43 -0500 Subject: SVG to image In-Reply-To: <0F8A416E-173B-4BCD-8257-D972BEE6567F@hyperhh.de> References: <0F8A416E-173B-4BCD-8257-D972BEE6567F@hyperhh.de> Message-ID: Jonathan's stack is very cool. I wasn't minimizing the work in the engine though, just pointing out that particular images would need to be tested to see which method provides the needed results. There can be significant differences in the object size depending on which version is used (path, full SVG, compiled SVG) - and it isn't always what you would expect. Most of the time, the compiled SVG is the smallest and since support is built into the engine it would be a good choice where the particular image supports it. I'll need to take your stack/widget and see how what it generates compares to conversions from the source svg file (for the Font Awesome stuff). Since you are adding back information that was stripped when converting to an icon, my guess is that the results should be pretty much the same. @Klaus - have you thought about just using the svg icon widget instead of a button? I've done that in my SvgIconTool stack and used a behavior to make it behave somewhat like a button would (hilite on mouseDown, etc.). Brian On Sun, Sep 16, 2018 at 7:25 PM hh via use-livecode < use-livecode at lists.runrev.com> wrote: > BoundingBox widget / Compile iconPath to image > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > The real point that came up here is how to get the bounding > box of an SVG path that is used as iconPath of the svgIcon > widget. With that it is simple to prepare the path as input > for drawingSVGcompile. > > I wrote this evening a widget that computes the bounding box. > > A demo stack, incl. an installer button for this "BB widget", > shows the 35 lines of script (incl. the SVG template) needed > to do the steps for "compile iconPath to image" described > above. See > > http://livecodeshare.runrev.com/stack/900 > > Conversion via JavaScript is of course (currently) better as > drawingSVGCompile. Jonathan Lynch showed this technique to > the community before a year or so, and there are some stacks > on "Sample Stacks/revOnline" that use this technique. > > DrawingSVGCompile is (as Mark wrote) still beta. > On the other hand it does a pretty good job with complicated > but not-too-complex SVGs, e.g. the "postscript-tiger". > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Sep 17 00:53:46 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 17 Sep 2018 04:53:46 +0000 Subject: Remote Debugger Anomalies References: <20180913134215.Horde.kYU7eX708tn84o62YRpd_TF@ua850258.serversignin.com> <9A49988D-216E-40A2-B319-3AB1BF919FF1@appisle.net> <165e4bfb288.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On 9/16/18 1:38 PM, J. Landman Gay via use-livecode wrote: > Stacks named that way were the ones I tried deleting when the whole IDE > wen I suppose Trevor would chime here. If you to switch Sublime text and stay away for SE all together, all the problems go away? Because when you save the script you know it is in the state of your recent modification, confirmed, on disk. Maybe he could describe how he works. He must have IDE open and Sublime text at the same times. BR From klaus at major-k.de Mon Sep 17 03:32:17 2018 From: klaus at major-k.de (Klaus major-k) Date: Mon, 17 Sep 2018 09:32:17 +0200 Subject: SVG to image In-Reply-To: References: <0F8A416E-173B-4BCD-8257-D972BEE6567F@hyperhh.de> Message-ID: <707E40B4-BC3F-40F5-8C68-5117E30B49D3@major-k.de> Hi Brian, > Am 17.09.2018 um 06:06 schrieb Brian Milby via use-livecode : > > Jonathan's stack is very cool. I wasn't minimizing the work in the engine > though, just pointing out that particular images would need to be tested to > see which method provides the needed results. There can be significant > differences in the object size depending on which version is used (path, > full SVG, compiled SVG) - and it isn't always what you would expect. Most > of the time, the compiled SVG is the smallest and since support is built > into the engine it would be a good choice where the particular image > supports it. > > I'll need to take your stack/widget and see how what it generates compares > to conversions from the source svg file (for the Font Awesome stuff). > Since you are adding back information that was stripped when converting to > an icon, my guess is that the results should be pretty much the same. > > @Klaus - have you thought about just using the svg icon widget instead of a > button? I've done that in my SvgIconTool stack and used a behavior to make > it behave somewhat like a button would (hilite on mouseDown, etc.). sometimes I don't need a workaround but just an answer to what I am asking. And this has already been answered some esoteric replies ago. :-) Thank you! > Brian > > On Sun, Sep 16, 2018 at 7:25 PM hh via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> BoundingBox widget / Compile iconPath to image >> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> >> The real point that came up here is how to get the bounding >> box of an SVG path that is used as iconPath of the svgIcon >> widget. With that it is simple to prepare the path as input >> for drawingSVGcompile. >> >> I wrote this evening a widget that computes the bounding box. >> >> A demo stack, incl. an installer button for this "BB widget", >> shows the 35 lines of script (incl. the SVG template) needed >> to do the steps for "compile iconPath to image" described >> above. See >> >> http://livecodeshare.runrev.com/stack/900 >> >> Conversion via JavaScript is of course (currently) better as >> drawingSVGCompile. Jonathan Lynch showed this technique to >> the community before a year or so, and there are some stacks >> on "Sample Stacks/revOnline" that use this technique. >> >> DrawingSVGCompile is (as Mark wrote) still beta. >> On the other hand it does a pretty good job with complicated >> but not-too-complex SVGs, e.g. the "postscript-tiger". Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From merakosp at gmail.com Mon Sep 17 06:16:24 2018 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 17 Sep 2018 13:16:24 +0300 Subject: [ANN] Release 9.0.1 In-Reply-To: References: Message-ID: Hello Alex, Sorry, I thought I had replied already. Yes, if you are on MacOS High Sierra you have to use either Xcode 9.4 or 9.4.1. Just make sure the command line tools (Xcode -> Preferences -> Locations -> Command Line Tools) you use matches the Xcode version. Best, Panos -- From klaus at major-k.de Mon Sep 17 06:22:40 2018 From: klaus at major-k.de (Klaus major-k) Date: Mon, 17 Sep 2018 12:22:40 +0200 Subject: Calendar Widget again Message-ID: <43213619-D2F4-4E22-856F-F15A9591FDEC@major-k.de> Hi friends, thank you very much for all hints and tricks and tips. Bernd, yes teh famous BN :-), contacted me offlist and supplied a compiled for LC 9 version of his enhanced calendar widget, which is also usable for non-english users (weekStartsOn -> monday!). Thank you, Bernd, very, very useful! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From panos.merakos at livecode.com Mon Sep 17 07:23:25 2018 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 17 Sep 2018 14:23:25 +0300 Subject: [ANN] This Week in LiveCode 146 Message-ID: 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 #146 here: https://goo.gl/zB6zFc 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. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From lists at mangomultimedia.com Mon Sep 17 08:31:06 2018 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 17 Sep 2018 07:31:06 -0500 Subject: Remote Debugger Anomalies In-Reply-To: References: <20180913134215.Horde.kYU7eX708tn84o62YRpd_TF@ua850258.serversignin.com> <9A49988D-216E-40A2-B319-3AB1BF919FF1@appisle.net> <165e4bfb288.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: On Sun, Sep 16, 2018 at 11:54 PM Sannyasin Brahmanathaswami via use-livecode wrote: > > I suppose Trevor would chime here. If you to switch Sublime text and > stay away for SE all together, all the problems go away? Because when > you save the script you know it is in the state of your recent > modification, confirmed, on disk. > > Maybe he could describe how he works. > He must have IDE open and Sublime text at the same times. > I haven't been following the specific details of this thread so I don't know if using Sublime Text (ST), or other external script editor, would make the problems go away. It is true that when you save the scripts you know that your changes are being saved directly to disk. When working on a project I always work in ST with the LC IDE open. LC has a script acting as a server running and ST is the client. ST sends a notification to LC whenever a file is saved and if a stack with a matching name/filename exists then the stack script is updated in memory. This has been a very reliable workflow for me. Now, if I switch branches in my git repo then I close the LC IDE and reopen it. I don't have anything set up that notifies LC to reload all stacks in a project when switching branches and there are potentially a number of files that have been changed on disk. -- Trevor DeVore ScreenSteps www.screensteps.com From hh at hyperhh.de Mon Sep 17 10:56:09 2018 From: hh at hyperhh.de (hh) Date: Mon, 17 Sep 2018 16:56:09 +0200 Subject: SVG to image Message-ID: <9B1AC5D2-FB43-455A-A8D7-194ED25B3C5F@hyperhh.de> > Brian wrote: > I'll need to take your stack/widget and see how what it generates > compares to conversions from the source svg file (for the Font > Awesome stuff). Since you are adding back information that was > stripped when converting to an icon, my guess is that the results > should be pretty much the same. There ARE changes; I translate the path to have a bounding box with topleft 0,0 and use this translated path. This prevents horizotal and especially vertical offsets (which is often present and effectively adds unneeded transparency at top). From brahma at hindu.org Mon Sep 17 10:57:49 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 17 Sep 2018 14:57:49 +0000 Subject: Remote Debugger Anomalies References: <20180913134215.Horde.kYU7eX708tn84o62YRpd_TF@ua850258.serversignin.com> <9A49988D-216E-40A2-B319-3AB1BF919FF1@appisle.net> <165e4bfb288.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Do you have that "script acting as a server" available in Levure? On 9/17/18 2:31 AM, Trevor DeVore via use-livecode wrote: > When working on a project I always work in ST with the LC IDE open. LC has > a script acting as a server running and ST is the client. ST sends a > notification to LC whenever a file is saved and if a stack with a matching > name/filename exists then the stack script is updated in memory. This has > been a very reliable workflow for me. From jmac at consensustech.com Mon Sep 17 11:42:57 2018 From: jmac at consensustech.com (Jim MacConnell) Date: Mon, 17 Sep 2018 08:42:57 -0700 Subject: [ANN] Release 9.0.1 In-Reply-To: References: Message-ID: <025d01d44e9d$1b6df510$5249df30$@consensustech.com> Did simple update to 9.0.1 and couldn't test on device(iPhone) . I was very surprised by this. "Mobile Support" showed red and the Android SDK path was empty. Would have been nice to have warning (even though release notes do show change to 9.4(9/0/1) from 9.2(9.0.0)). Sort of a big change going to an X.X.1? Downloaded new xCode (hours!) and added it to "Mobile Support" and was good to go. Glad I wasn't in a hurry. Also, I ended up having to redownload Android Studio (not quite as long but I didn't hang around). Default install loads API 28 and gives warnings when trying to link(?). Ended up loading API 26 & 15 before I could repoint to Android SDK. Maybe add a "Required support file upgrades from previous version" note to the release notes? Jim -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of panagiotis merakos via use-livecode Sent: Monday, September 17, 2018 3:16 AM To: How to use LiveCode Cc: panagiotis merakos Subject: Re: [ANN] Release 9.0.1 Hello Alex, Sorry, I thought I had replied already. Yes, if you are on MacOS High Sierra you have to use either Xcode 9.4 or 9.4.1. Just make sure the command line tools (Xcode -> Preferences -> Locations -> Command Line Tools) you use matches the Xcode version. Best, Panos -- _______________________________________________ use-livecode mailing list use-livecode 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 Sep 17 13:27:59 2018 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 17 Sep 2018 12:27:59 -0500 Subject: Remote Debugger Anomalies In-Reply-To: References: <20180913134215.Horde.kYU7eX708tn84o62YRpd_TF@ua850258.serversignin.com> <9A49988D-216E-40A2-B319-3AB1BF919FF1@appisle.net> <165e4bfb288.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Yes, it is part of the repo. https://github.com/trevordevore/levure/tree/master/utils/external_editor_server -- Trevor DeVore ScreenSteps On Mon, Sep 17, 2018 at 9:58 AM Sannyasin Brahmanathaswami via use-livecode wrote: > Do you have that "script acting as a server" available in Levure? > > > On 9/17/18 2:31 AM, Trevor DeVore via use-livecode wrote: > > When working on a project I always work in ST with the LC IDE open. LC > has > > a script acting as a server running and ST is the client. ST sends a > > notification to LC whenever a file is saved and if a stack with a > matching > > name/filename exists then the stack script is updated in memory. This has > > been a very reliable workflow for me. > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 curt at sonasoftware.com Mon Sep 17 13:49:23 2018 From: curt at sonasoftware.com (Curtis Ford) Date: Mon, 17 Sep 2018 10:49:23 -0700 Subject: best way to open a script-only library stack? Message-ID: <5B9FE923.9030803@sonasoftware.com> I'm just getting started with the idea of a library stack for scripts, and have a dopey question: what's the best way to edit the library as I work on the project? I've created a script-only stack and included start using stack "myScriptStack.livecodescript" in the preOpenStack handler of my main stack. When I open the main stack, I don't see a way to get to the library stack. So I open the library stack through 'recent files' in Livecode, but then I see the message "A stack [library stack name] in file [path to the main stack file] is already in memory. The LiveCode UI does not distinguish stacks which have identical names, so editing these stack files while both are in memory could result in data loss." If this is a real concern, how do I get back to work on the library stack? Any suggestions on best practices? Curt Sent from Postbox From hh at hyperhh.de Mon Sep 17 14:35:16 2018 From: hh at hyperhh.de (hh) Date: Mon, 17 Sep 2018 20:35:16 +0200 Subject: Widget ColorPicker_v101 Message-ID: <1FF3D0CF-C99B-4D4A-B44E-A908BE7F5E8B@hyperhh.de> Just uploaded a (slightly improved) LC 9 version of my ColorPicker-widget to "Sample Stacks". Or download widget ColorPicker_v101 from http://livecodeshare.runrev.com/stack/901 This is a *demo-stack* that has also buttons to install/remove the the widget. Examples in the stack (incl. scripts to evaluate the results): 1. Use as non-popup widget, can be hidden and dragged around, 2. Use as popup widget (like a modal dialog). From ahsoftware at sonic.net Mon Sep 17 15:28:54 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 17 Sep 2018 12:28:54 -0700 Subject: Waaay OT: SUBLEQ Message-ID: <8c58ced4-e513-ff49-be60-34c715bbb390@sonic.net> Here's a Turing-complete language with one(!) instruction: http://esoteric.codes/blog/a-programming-language-with-only-one-command-and -- Mark Wieder ahsoftware at gmail.com From tom at makeshyft.com Mon Sep 17 15:34:49 2018 From: tom at makeshyft.com (Tom Glod) Date: Mon, 17 Sep 2018 15:34:49 -0400 Subject: Waaay OT: SUBLEQ In-Reply-To: <8c58ced4-e513-ff49-be60-34c715bbb390@sonic.net> References: <8c58ced4-e513-ff49-be60-34c715bbb390@sonic.net> Message-ID: thats so awesome..... i may never use it but to know its even possible. thanks for introducing me to this blog Mark. On Mon, Sep 17, 2018 at 3:29 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > Here's a Turing-complete language with one(!) instruction: > > http://esoteric.codes/blog/a-programming-language-with-only-one-command-and > > -- > 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 jacque at hyperactivesw.com Mon Sep 17 15:48:03 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 17 Sep 2018 14:48:03 -0500 Subject: best way to open a script-only library stack? In-Reply-To: <5B9FE923.9030803@sonasoftware.com> References: <5B9FE923.9030803@sonasoftware.com> Message-ID: <29166159-f3c1-3c37-1839-0bde42cf53d7@hyperactivesw.com> On 9/17/18 12:49 PM, Curtis Ford via use-livecode wrote: > I'm just getting started with the idea of a library stack for scripts, > and have a dopey question: what's the best way to edit the library as I > work on the project? > > I've created a script-only stack and included > > start using stack "myScriptStack.livecodescript" > > in the preOpenStack handler of my main stack. > > When I open the main stack, I don't see a way to get to the library > stack. So I open the library stack through 'recent files' in Livecode, > but then I see the message "A stack [library stack name] in file [path > to the main stack file] is already in memory. The LiveCode UI does not > distinguish stacks which have identical names, so editing these stack > files while both are in memory could result in data loss." > > If this is a real concern, how do I get back to work on the library > stack? Any suggestions on best practices? When you start using a script-only stack, LC creates a temporary hidden stack in RAM and assigns the script to it. It's there but not visible. If you try to open it again as a file, you get a conflict because the stack in RAM has no filename per se, so the engine sees it as a duplicate. The stack should be listed in the Application Browser and probably the Project Browser (I didn't look) so you should be able to edit its script from there. But what I usually do is look in the "Stacks In Use" pane (last icon in the row) of the message box, where you can just click the blue rectangle to open the script. Saving the script will rewrite it to the text file. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Mon Sep 17 16:14:55 2018 From: dochawk at gmail.com (doc hawk) Date: Mon, 17 Sep 2018 13:14:55 -0700 Subject: Waaay OT: SUBLEQ In-Reply-To: <8c58ced4-e513-ff49-be60-34c715bbb390@sonic.net> References: <8c58ced4-e513-ff49-be60-34c715bbb390@sonic.net> Message-ID: On Mon, Sep 17, 2018 at 12:28 PM, Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > Here's a Turing-complete language with one(!) instruction > There's a *long* history ad literature about subtract and branch as the sole instruction being turing complete. Making it political, though, is quite novel :) personally, I'm more amused by Brainf****, in which *only* white space is significant . . . and it' actually been implemented on real computers (but then, so has vigor . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From curt at sonasoftware.com Mon Sep 17 17:27:23 2018 From: curt at sonasoftware.com (Curtis Ford) Date: Mon, 17 Sep 2018 14:27:23 -0700 Subject: best way to open a script-only library stack? Message-ID: <5BA01C3B.4060504@sonasoftware.com> --When you start using a script-only stack, LC creates a temporary hidden --stack in RAM and assigns the script to it. It's there but not visible. Ah ha... now at least I don't feel silly for not finding it. And it is in the Project Browser too ? I may have opened it from there once actually, and was then puzzled why I got a conflict from opening the file another time. Thanks Jacque! I'll owe you a coffee or beer or something in San Jose. :) Curt -- Sent from Postbox From dan at clearvisiontech.com Mon Sep 17 17:53:18 2018 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 17 Sep 2018 21:53:18 +0000 Subject: App Dead on iOS 12 Message-ID: <571BC0F7-38F8-4923-8838-37A947C96AB2@clearvisiontech.com> I see that all my apps are launching and immediately crashing on iOS 12. I rebuilt the app using 9.0.1 and I get the same result. Since this list isn't blowing up with people complaining about this, I have must have missed the meeting about the secret button to click to get things working. Anyone have any words of wisdom? HELP! -Dan From bobsneidar at iotecdigital.com Mon Sep 17 17:59:44 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 17 Sep 2018 21:59:44 +0000 Subject: best way to open a script-only library stack? In-Reply-To: <5BA01C3B.4060504@sonasoftware.com> References: <5BA01C3B.4060504@sonasoftware.com> Message-ID: I have a development menu with all the behaviors and script only stacks in a submenu. It's a hack but it makes editing a behavior script simple and without having to switch to pointer mode. Bob S > On Sep 17, 2018, at 14:27 , Curtis Ford via use-livecode wrote: > > --When you start using a script-only stack, LC creates a temporary hidden > --stack in RAM and assigns the script to it. It's there but not visible. > > Ah ha... now at least I don't feel silly for not finding it. > > And it is in the Project Browser too ? I may have opened it from there once actually, and was then puzzled why I got a conflict from opening the file another time. > > Thanks Jacque! I'll owe you a coffee or beer or something in San Jose. :) > > Curt From terry.judd at unimelb.edu.au Mon Sep 17 18:51:27 2018 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 17 Sep 2018 22:51:27 +0000 Subject: App Dead on iOS 12 In-Reply-To: <571BC0F7-38F8-4923-8838-37A947C96AB2@clearvisiontech.com> References: <571BC0F7-38F8-4923-8838-37A947C96AB2@clearvisiontech.com> Message-ID: <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> Yeah - I just updated an iPad to iOS 12 and 2 LC apps that were already installed on it now just show a black screen (with the outlines of a couple of native fields) after the splash screen. I kinda assumed they would just still work. Terry... ?On 18/09/2018 7:56 am, "use-livecode on behalf of Dan Friedman via use-livecode" wrote: I see that all my apps are launching and immediately crashing on iOS 12. I rebuilt the app using 9.0.1 and I get the same result. Since this list isn't blowing up with people complaining about this, I have must have missed the meeting about the secret button to click to get things working. Anyone have any words of wisdom? HELP! -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 monte at appisle.net Mon Sep 17 18:56:29 2018 From: monte at appisle.net (Monte Goulding) Date: Tue, 18 Sep 2018 08:56:29 +1000 Subject: [ANN] Release 9.0.1 In-Reply-To: <025d01d44e9d$1b6df510$5249df30$@consensustech.com> References: <025d01d44e9d$1b6df510$5249df30$@consensustech.com> Message-ID: <3EAAE8CB-FE81-4E51-952B-30C31D3834DA@appisle.net> > On 18 Sep 2018, at 1:42 am, Jim MacConnell via use-livecode wrote: > > Did simple update to 9.0.1 and couldn't test on device(iPhone) . I was very > surprised by this. > "Mobile Support" showed red and the Android SDK path was empty. > Would have been nice to have warning (even though release notes do show > change to 9.4(9/0/1) from 9.2(9.0.0)). Sort of a big change going to an > X.X.1? > > Downloaded new xCode (hours!) and added it to "Mobile Support" and was good > to go. Glad I wasn't in a hurry. There is a section in the release notes (Platform Support > iOS) detailing the versions of Xcode required for the release. We often add support for new iOS SDKs in maintenance releases. > Also, I ended up having to redownload Android Studio (not quite as long but > I didn't hang around). Default install loads API 28 and gives warnings when > trying to link(?). Ended up loading API 26 & 15 before I could repoint to > Android SDK. > > Maybe add a "Required support file upgrades from previous version" note to > the release notes? I agree the android section should note the required API so that people can ensure they have it. Cheers Monte From dan at clearvisiontech.com Mon Sep 17 19:02:56 2018 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 17 Sep 2018 23:02:56 +0000 Subject: App Dead on iOS 12 In-Reply-To: <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> References: <571BC0F7-38F8-4923-8838-37A947C96AB2@clearvisiontech.com> <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> Message-ID: Terry, So, here's what I've discovered in the last 40 minutes? If you add, "set the acceleratedRendering of stack myStack to true", then things start working again. However, I did find that if I had more than one stack open, and the second stack did not have acceleratedRendering enabled, then the app crashed. Most everything seems to be working ok once the app is open. Visual Effects are working fine, but I?m having some issues with moving controls (on mouseMove) and the like? S?l?u?g?i?s?h !! Thank you! Dan Friedman CEO, ClearVision Technologies, LLC Voice: 909/484-2052 http://www.clearvisiontech.com On 9/17/18, 3:51 PM, "use-livecode on behalf of Terry Judd via use-livecode" wrote: Yeah - I just updated an iPad to iOS 12 and 2 LC apps that were already installed on it now just show a black screen (with the outlines of a couple of native fields) after the splash screen. I kinda assumed they would just still work. Terry... On 18/09/2018 7:56 am, "use-livecode on behalf of Dan Friedman via use-livecode" wrote: I see that all my apps are launching and immediately crashing on iOS 12. I rebuilt the app using 9.0.1 and I get the same result. Since this list isn't blowing up with people complaining about this, I have must have missed the meeting about the secret button to click to get things working. Anyone have any words of wisdom? HELP! -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 _______________________________________________ use-livecode mailing list use-livecode 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 terry.judd at unimelb.edu.au Mon Sep 17 19:10:57 2018 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 17 Sep 2018 23:10:57 +0000 Subject: App Dead on iOS 12 In-Reply-To: <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> References: <571BC0F7-38F8-4923-8838-37A947C96AB2@clearvisiontech.com> <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> Message-ID: OK - just to follow up on that, I rebuilt one of the apps using LC 9.0.1 - I'm still on OSX 10.10.5 so I'm using an older version of XCode - anyway, the app installs and launches on the iPad OK but the app icon is missing. Any ideas on how to get it to show up? Terry... ?On 18/09/2018 8:52 am, "use-livecode on behalf of Terry Judd via use-livecode" wrote: Yeah - I just updated an iPad to iOS 12 and 2 LC apps that were already installed on it now just show a black screen (with the outlines of a couple of native fields) after the splash screen. I kinda assumed they would just still work. Terry... On 18/09/2018 7:56 am, "use-livecode on behalf of Dan Friedman via use-livecode" wrote: I see that all my apps are launching and immediately crashing on iOS 12. I rebuilt the app using 9.0.1 and I get the same result. Since this list isn't blowing up with people complaining about this, I have must have missed the meeting about the secret button to click to get things working. Anyone have any words of wisdom? HELP! -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 _______________________________________________ use-livecode mailing list use-livecode 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 Sep 17 19:38:40 2018 From: monte at appisle.net (Monte Goulding) Date: Tue, 18 Sep 2018 09:38:40 +1000 Subject: App Dead on iOS 12 In-Reply-To: References: <571BC0F7-38F8-4923-8838-37A947C96AB2@clearvisiontech.com> <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> Message-ID: <85EAB696-787B-48D3-86C3-9D2CED29D791@appisle.net> Hi Dan Are you using the 9.0.1 stable or are you using one of the RCs? It sounds like you are hitting a bug that we fixed for RC 2. Cheers Monte > On 18 Sep 2018, at 9:02 am, Dan Friedman via use-livecode wrote: > > Terry, > > So, here's what I've discovered in the last 40 minutes? > > If you add, "set the acceleratedRendering of stack myStack to true", then things start working again. However, I did find that if I had more than one stack open, and the second stack did not have acceleratedRendering enabled, then the app crashed. > > Most everything seems to be working ok once the app is open. Visual Effects are working fine, but I?m having some issues with moving controls (on mouseMove) and the like? S?l?u?g?i?s?h !! > > > Thank you! > > Dan Friedman > CEO, ClearVision Technologies, LLC > Voice: 909/484-2052 > http://www.clearvisiontech.com > > > On 9/17/18, 3:51 PM, "use-livecode on behalf of Terry Judd via use-livecode" wrote: > > Yeah - I just updated an iPad to iOS 12 and 2 LC apps that were already installed on it now just show a black screen (with the outlines of a couple of native fields) after the splash screen. I kinda assumed they would just still work. > > Terry... > > On 18/09/2018 7:56 am, "use-livecode on behalf of Dan Friedman via use-livecode" wrote: > > I see that all my apps are launching and immediately crashing on iOS 12. I rebuilt the app using 9.0.1 and I get the same result. Since this list isn't blowing up with people complaining about this, I have must have missed the meeting about the secret button to click to get things working. Anyone have any words of wisdom? > > HELP! > > -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 > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 colinholgate at gmail.com Mon Sep 17 19:47:30 2018 From: colinholgate at gmail.com (Colin Holgate) Date: Mon, 17 Sep 2018 19:47:30 -0400 Subject: App Dead on iOS 12 In-Reply-To: References: <571BC0F7-38F8-4923-8838-37A947C96AB2@clearvisiontech.com> <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> Message-ID: <45641C0E-F7D6-4FA0-B354-791417841F9E@gmail.com> For icons to show up you need to make an Assets.car file with the icons in it. Here is one example tool for making that file: http://www.applicationloader.net/appuploader/icontool.php I think you just then include the file in the Files section. > On Sep 17, 2018, at 7:02 PM, Dan Friedman via use-livecode wrote: > > Terry, > > So, here's what I've discovered in the last 40 minutes? > > If you add, "set the acceleratedRendering of stack myStack to true", then things start working again. However, I did find that if I had more than one stack open, and the second stack did not have acceleratedRendering enabled, then the app crashed. > > Most everything seems to be working ok once the app is open. Visual Effects are working fine, but I?m having some issues with moving controls (on mouseMove) and the like? S?l?u?g?i?s?h !! > > > Thank you! > > Dan Friedman > CEO, ClearVision Technologies, LLC > Voice: 909/484-2052 > http://www.clearvisiontech.com > > > On 9/17/18, 3:51 PM, "use-livecode on behalf of Terry Judd via use-livecode" wrote: > > Yeah - I just updated an iPad to iOS 12 and 2 LC apps that were already installed on it now just show a black screen (with the outlines of a couple of native fields) after the splash screen. I kinda assumed they would just still work. > > Terry... > > On 18/09/2018 7:56 am, "use-livecode on behalf of Dan Friedman via use-livecode" wrote: > > I see that all my apps are launching and immediately crashing on iOS 12. I rebuilt the app using 9.0.1 and I get the same result. Since this list isn't blowing up with people complaining about this, I have must have missed the meeting about the secret button to click to get things working. Anyone have any words of wisdom? > > HELP! > > -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 > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sep 17 20:09:11 2018 From: monte at appisle.net (Monte Goulding) Date: Tue, 18 Sep 2018 10:09:11 +1000 Subject: App Dead on iOS 12 In-Reply-To: <45641C0E-F7D6-4FA0-B354-791417841F9E@gmail.com> References: <571BC0F7-38F8-4923-8838-37A947C96AB2@clearvisiontech.com> <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> <45641C0E-F7D6-4FA0-B354-791417841F9E@gmail.com> Message-ID: <9AC1C5B1-E726-46BE-9AE7-94EC22F46519@appisle.net> > On 18 Sep 2018, at 9:47 am, Colin Holgate via use-livecode wrote: > > For icons to show up you need to make an Assets.car file with the icons in it. Here is one example tool for making that file: > > http://www.applicationloader.net/appuploader/icontool.php > > > I think you just then include the file in the Files section. This is not necessary as the standalone builder will use actool to create the Assets.car for you however you do need to install Xcode?s additional components in order to make actool available. Cheers Monte From colinholgate at gmail.com Mon Sep 17 20:15:59 2018 From: colinholgate at gmail.com (Colin Holgate) Date: Mon, 17 Sep 2018 20:15:59 -0400 Subject: App Dead on iOS 12 In-Reply-To: <9AC1C5B1-E726-46BE-9AE7-94EC22F46519@appisle.net> References: <571BC0F7-38F8-4923-8838-37A947C96AB2@clearvisiontech.com> <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> <45641C0E-F7D6-4FA0-B354-791417841F9E@gmail.com> <9AC1C5B1-E726-46BE-9AE7-94EC22F46519@appisle.net> Message-ID: <983A54B4-8B14-49F5-AC48-FF3534E4775D@gmail.com> Is what you said true for older LiveCode, or just 9.0.1? > On Sep 17, 2018, at 8:09 PM, Monte Goulding via use-livecode wrote: > > > >> On 18 Sep 2018, at 9:47 am, Colin Holgate via use-livecode wrote: >> >> For icons to show up you need to make an Assets.car file with the icons in it. Here is one example tool for making that file: >> >> http://www.applicationloader.net/appuploader/icontool.php > >> >> I think you just then include the file in the Files section. > > This is not necessary as the standalone builder will use actool to create the Assets.car for you however you do need to install Xcode?s additional components in order to make actool available. > > Cheers > > Monte From monte at appisle.net Mon Sep 17 20:18:42 2018 From: monte at appisle.net (Monte Goulding) Date: Tue, 18 Sep 2018 10:18:42 +1000 Subject: App Dead on iOS 12 In-Reply-To: <983A54B4-8B14-49F5-AC48-FF3534E4775D@gmail.com> References: <571BC0F7-38F8-4923-8838-37A947C96AB2@clearvisiontech.com> <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> <45641C0E-F7D6-4FA0-B354-791417841F9E@gmail.com> <9AC1C5B1-E726-46BE-9AE7-94EC22F46519@appisle.net> <983A54B4-8B14-49F5-AC48-FF3534E4775D@gmail.com> Message-ID: <53C9FDD8-D924-4E88-9DE6-2299D74849CE@appisle.net> > On 18 Sep 2018, at 10:15 am, Colin Holgate via use-livecode wrote: > > Is what you said true for older LiveCode, or just 9.0.1? Should be true back to late 2011. Cheers Monte From monte at appisle.net Mon Sep 17 20:21:52 2018 From: monte at appisle.net (Monte Goulding) Date: Tue, 18 Sep 2018 10:21:52 +1000 Subject: App Dead on iOS 12 In-Reply-To: <53C9FDD8-D924-4E88-9DE6-2299D74849CE@appisle.net> References: <571BC0F7-38F8-4923-8838-37A947C96AB2@clearvisiontech.com> <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> <45641C0E-F7D6-4FA0-B354-791417841F9E@gmail.com> <9AC1C5B1-E726-46BE-9AE7-94EC22F46519@appisle.net> <983A54B4-8B14-49F5-AC48-FF3534E4775D@gmail.com> <53C9FDD8-D924-4E88-9DE6-2299D74849CE@appisle.net> Message-ID: <522CB5D6-C332-4C62-A133-95C519D1DB12@appisle.net> > On 18 Sep 2018, at 10:18 am, Monte Goulding via use-livecode wrote: > > > >> On 18 Sep 2018, at 10:15 am, Colin Holgate via use-livecode wrote: >> >> Is what you said true for older LiveCode, or just 9.0.1? > > Should be true back to late 2011. FWIW I just opened this report so we can remove the need to have Xcode additional components installed https://quality.livecode.com/show_bug.cgi?id=21588 Cheers Monte From terry.judd at unimelb.edu.au Mon Sep 17 20:42:48 2018 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 18 Sep 2018 00:42:48 +0000 Subject: App Dead on iOS 12 In-Reply-To: <522CB5D6-C332-4C62-A133-95C519D1DB12@appisle.net> References: <571BC0F7-38F8-4923-8838-37A947C96AB2@clearvisiontech.com> <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> <45641C0E-F7D6-4FA0-B354-791417841F9E@gmail.com> <9AC1C5B1-E726-46BE-9AE7-94EC22F46519@appisle.net> <983A54B4-8B14-49F5-AC48-FF3534E4775D@gmail.com> <53C9FDD8-D924-4E88-9DE6-2299D74849CE@appisle.net> <522CB5D6-C332-4C62-A133-95C519D1DB12@appisle.net> Message-ID: <311A5FCC-5D23-484D-BDA2-284E2FBFC276@unimelb.edu.au> Thanks Monte. I'll try installing the additional component to my old version of XCode in the meantime. Regards, Terry... ?On 18/09/2018 10:22 am, "use-livecode on behalf of Monte Goulding via use-livecode" wrote: > On 18 Sep 2018, at 10:18 am, Monte Goulding via use-livecode wrote: > > > >> On 18 Sep 2018, at 10:15 am, Colin Holgate via use-livecode wrote: >> >> Is what you said true for older LiveCode, or just 9.0.1? > > Should be true back to late 2011. FWIW I just opened this report so we can remove the need to have Xcode additional components installed https://quality.livecode.com/show_bug.cgi?id=21588 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 terry.judd at unimelb.edu.au Mon Sep 17 20:51:41 2018 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 18 Sep 2018 00:51:41 +0000 Subject: App Dead on iOS 12 In-Reply-To: <311A5FCC-5D23-484D-BDA2-284E2FBFC276@unimelb.edu.au> References: <571BC0F7-38F8-4923-8838-37A947C96AB2@clearvisiontech.com> <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> <45641C0E-F7D6-4FA0-B354-791417841F9E@gmail.com> <9AC1C5B1-E726-46BE-9AE7-94EC22F46519@appisle.net> <983A54B4-8B14-49F5-AC48-FF3534E4775D@gmail.com> <53C9FDD8-D924-4E88-9DE6-2299D74849CE@appisle.net> <522CB5D6-C332-4C62-A133-95C519D1DB12@appisle.net> <311A5FCC-5D23-484D-BDA2-284E2FBFC276@unimelb.edu.au> Message-ID: <1349E189-884F-47B9-8F02-5A311F81BBED@unimelb.edu.au> Umm - spoke to soon. How do I do that? I assumed that there would be something in the downloads pane of Xcode that I could install. Terry... ?On 18/09/2018 10:43 am, "use-livecode on behalf of Terry Judd via use-livecode" wrote: Thanks Monte. I'll try installing the additional component to my old version of XCode in the meantime. Regards, Terry... On 18/09/2018 10:22 am, "use-livecode on behalf of Monte Goulding via use-livecode" wrote: > On 18 Sep 2018, at 10:18 am, Monte Goulding via use-livecode wrote: > > > >> On 18 Sep 2018, at 10:15 am, Colin Holgate via use-livecode wrote: >> >> Is what you said true for older LiveCode, or just 9.0.1? > > Should be true back to late 2011. FWIW I just opened this report so we can remove the need to have Xcode additional components installed https://quality.livecode.com/show_bug.cgi?id=21588 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 _______________________________________________ use-livecode mailing list use-livecode 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 dan at clearvisiontech.com Mon Sep 17 20:59:00 2018 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 18 Sep 2018 00:59:00 +0000 Subject: App Dead on iOS 12 In-Reply-To: <85EAB696-787B-48D3-86C3-9D2CED29D791@appisle.net> References: <571BC0F7-38F8-4923-8838-37A947C96AB2@clearvisiontech.com> <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> <85EAB696-787B-48D3-86C3-9D2CED29D791@appisle.net> Message-ID: <65919F89-4CA1-467B-BF40-86B63BC1A14C@clearvisiontech.com> Monte, I am definitely using 9.0.1 Stable. NOT the RC's. -Dan On 9/17/18, 4:38 PM, "use-livecode on behalf of Monte Goulding via use-livecode" wrote: Hi Dan Are you using the 9.0.1 stable or are you using one of the RCs? It sounds like you are hitting a bug that we fixed for RC 2. Cheers Monte From monte at appisle.net Mon Sep 17 21:02:13 2018 From: monte at appisle.net (Monte Goulding) Date: Tue, 18 Sep 2018 11:02:13 +1000 Subject: App Dead on iOS 12 In-Reply-To: <65919F89-4CA1-467B-BF40-86B63BC1A14C@clearvisiontech.com> References: <571BC0F7-38F8-4923-8838-37A947C96AB2@clearvisiontech.com> <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> <85EAB696-787B-48D3-86C3-9D2CED29D791@appisle.net> <65919F89-4CA1-467B-BF40-86B63BC1A14C@clearvisiontech.com> Message-ID: <50CA0364-A3F0-40B6-86D3-7B9A90C2734C@appisle.net> > On 18 Sep 2018, at 10:59 am, Dan Friedman wrote: > > I am definitely using 9.0.1 Stable. NOT the RC's. OK can you open a report about this. Perhaps there?s something else that behaves the same way as the issue that was fixed. Cheers Monte From monte at appisle.net Mon Sep 17 21:04:27 2018 From: monte at appisle.net (Monte Goulding) Date: Tue, 18 Sep 2018 11:04:27 +1000 Subject: App Dead on iOS 12 In-Reply-To: <1349E189-884F-47B9-8F02-5A311F81BBED@unimelb.edu.au> References: <571BC0F7-38F8-4923-8838-37A947C96AB2@clearvisiontech.com> <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> <45641C0E-F7D6-4FA0-B354-791417841F9E@gmail.com> <9AC1C5B1-E726-46BE-9AE7-94EC22F46519@appisle.net> <983A54B4-8B14-49F5-AC48-FF3534E4775D@gmail.com> <53C9FDD8-D924-4E88-9DE6-2299D74849CE@appisle.net> <522CB5D6-C332-4C62-A133-95C519D1DB12@appisle.net> <311A5FCC-5D23-484D-BDA2-284E2FBFC276@unimelb.edu.au> <1349E189-884F-47B9-8F02-5A311F81BBED@unimelb.edu.au> Message-ID: > On 18 Sep 2018, at 10:51 am, Terry Judd via use-livecode wrote: > > Umm - spoke to soon. How do I do that? I assumed that there would be something in the downloads pane of Xcode that I could install. There is usually a dialog when you first run Xcode. You could try `xcode-select ?install` on the command line. Cheers Monte From ambassador at fourthworld.com Mon Sep 17 21:45:19 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 17 Sep 2018 18:45:19 -0700 Subject: best way to open a script-only library stack? In-Reply-To: <5B9FE923.9030803@sonasoftware.com> References: <5B9FE923.9030803@sonasoftware.com> Message-ID: <8220c16d-516d-fafa-6bdd-7745cf872afa@fourthworld.com> Curtis Ford wrote: > I'm just getting started with the idea of a library stack for scripts, > and have a dopey question: what's the best way to edit the library as > I work on the project? > > I've created a script-only stack and included > > start using stack "myScriptStack.livecodescript" > > in the preOpenStack handler of my main stack. > > When I open the main stack, I don't see a way to get to the library > stack. So I open the library stack through 'recent files' in Livecode, > but then I see the message "A stack [library stack name] in file [path > to the main stack file] is already in memory. The LiveCode UI does not > distinguish stacks which have identical names, so editing these stack > files while both are in memory could result in data loss." > > If this is a real concern, how do I get back to work on the library > stack? Any suggestions on best practices? There is only one thing to know about script-only stacks: they are just like the binary stacks in every respect, except that the only thing that is written to disk is the stack script. While in memory it has all the properties of any stack in memory. You can even add objects to it. Add a hundred cards if you like, and a thousand custom props too. Set its backcolor. It's all good, as long as you know the one rule about script-only stacks: the only thing that will get written to disk is the script. Once this one rule is accepted, so many things become clearer. Mysteries that seemed somehow specific to script-only stacks go away. Many lights come on, many doors open. The error you experienced can happen with any stack file. Replace your script-only stack with a binary one and you'll see. Sometimes opening a stack depends on *how* you opened it, with a partial or a full path, or how the path was derived. For example, here are two ways to describe one file path: /home/rg/Desktop/stack.livecode ~/Desktop/stack.livecode If I use each of those in separate statements, LC will complain that I'm attempting to open two different stacks with the same name, despite both paths being for the exact same file. I had reported that once, but can't find the report now. :( But what I learned stays with me: double-check that you're using the exact same path to the file both times you access it, when using it as a library and when opening it. If you do and the problem persists, let's explore it further. -- 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 terry.judd at unimelb.edu.au Mon Sep 17 21:45:28 2018 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 18 Sep 2018 01:45:28 +0000 Subject: App Dead on iOS 12 In-Reply-To: References: <571BC0F7-38F8-4923-8838-37A947C96AB2@clearvisiontech.com> <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> <45641C0E-F7D6-4FA0-B354-791417841F9E@gmail.com> <9AC1C5B1-E726-46BE-9AE7-94EC22F46519@appisle.net> <983A54B4-8B14-49F5-AC48-FF3534E4775D@gmail.com> <53C9FDD8-D924-4E88-9DE6-2299D74849CE@appisle.net> <522CB5D6-C332-4C62-A133-95C519D1DB12@appisle.net> <311A5FCC-5D23-484D-BDA2-284E2FBFC276@unimelb.edu.au> <1349E189-884F-47B9-8F02-5A311F81BBED@unimelb.edu.au> Message-ID: Right, thanks Monte - I suspect they are already installed then. I tried Colin's suggestion of adding the assets.car file using the 'copy files' pane of the standalone builder but that didn't seem to work either. Terry.. ?On 18/09/2018 11:04 am, "use-livecode on behalf of Monte Goulding via use-livecode" wrote: > On 18 Sep 2018, at 10:51 am, Terry Judd via use-livecode wrote: > > Umm - spoke to soon. How do I do that? I assumed that there would be something in the downloads pane of Xcode that I could install. There is usually a dialog when you first run Xcode. You could try `xcode-select ?install` on the command line. 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 capellan2000 at gmail.com Mon Sep 17 21:58:25 2018 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 17 Sep 2018 21:58:25 -0400 Subject: Gradient Property Palette Bug In-Reply-To: References: Message-ID: Hi All, After editing an imported gradient, the Gradient Property Palette shows two "OK" buttons and every graphic imported receive a green color overlay. Please verify this Gradient Property Palette bug in your own setup: 1) Download the stack Eps Import v05c: http://andregarzia.on-rev.com/alejandro/stacks/Eps_Import_V05C.zip 2) Open the stack "eps_import_v05c.rev" using LC9.0.1 (rc3) 3) From the stack "eps_import_v05c", import the file "Gradients01.ai". (Click the topleft button) This file opens in a new stack. 4) Select one graphic and edit the gradient. Change, for example, the number of repetitions to 4 or 5 and select "Wrap" and "Mirror". 5) From the stack "eps_import_v05c", import the file "golferGRS.ai" or "Gradients02.ai". (Click the topleft button). This file opens in a new stack and every graphic have a green color overlay. 6) Try these exact steps using an early LC version. Graphics DO NOT show a green color overlay. By the way, Navigator 6.2 alpha 1 works great for editing gradients! Check: https://forums.livecode.com/viewtopic.php?f=13&t=31495 If you reproduce this bug, please report your results, Operating System and LC Version to create a report in the Quality Center. Thanks in advance! Al From niconiko at gmail.com Mon Sep 17 22:15:10 2018 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 18 Sep 2018 11:15:10 +0900 Subject: LC on Chromebook? Message-ID: Not for running apps. For programming. Is there ANY way to get LC running on a Chromebook? One possibility is a cloud service (MacInClud or Frame). But there?s a fee -- unless someone knows of a limited trial service? -- plus, when not on wifi, my connection is thru hotspotting onto a limited dataplan? Thank you. -- Nicol?s Cueto From brian at milby7.com Mon Sep 17 22:20:49 2018 From: brian at milby7.com (Brian Milby) Date: Mon, 17 Sep 2018 21:20:49 -0500 Subject: LC on Chromebook? In-Reply-To: References: Message-ID: <2f3ef677-4d9b-4d61-9a1a-7f264fbd1c60@Spark> https://www.howtogeek.com/363331/how-to-set-up-and-use-linux-apps-on-chrome-os/ https://www.androidpolice.com/2018/08/19/install-linux-applications-chrome-os/ It may be possible according to this new capability to run Linux apps. I?ve not seen any reported successes though. Thanks, Brian On Sep 17, 2018, 9:15 PM -0500, Nicolas Cueto via use-livecode , wrote: > Not for running apps. For programming. > > Is there ANY way to get LC running on a Chromebook? > > One possibility is a cloud service (MacInClud or Frame). But there?s a fee > -- unless someone knows of a limited trial service? -- plus, when not on > wifi, my connection is thru hotspotting onto a limited dataplan? > > Thank you. > > -- > Nicol?s Cueto > _______________________________________________ > use-livecode mailing list > use-livecode 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 brian at milby7.com Tue Sep 18 01:11:55 2018 From: brian at milby7.com (Brian Milby) Date: Tue, 18 Sep 2018 00:11:55 -0500 Subject: SVG to image In-Reply-To: <9B1AC5D2-FB43-455A-A8D7-194ED25B3C5F@hyperhh.de> References: <9B1AC5D2-FB43-455A-A8D7-194ED25B3C5F@hyperhh.de> Message-ID: Ok, so your results should be the same as the "trimmed" version of the icons in this repo: https://github.com/leungwensen/svg-icon For most of the icons on that site, the removal of pad is fine. There are a few where the pad is actually important since there are multiple icons where some are designed to have blank space. The best examples that I can find are the WiFi strength icons in the Metro set. https://leungwensen.github.io/svg-icon/#metro Since the repo contains the full SVG of the icons (in both trimmed and untrimmed versions), if anyone needs one of these icons untrimmed, they can go to the repo and use the full SVG file directly. I only mention this because when I originally wrote the SvgIconTool I noticed that some of the icons looked odd due to the padding removal. That demo stack and widget are very effective. I switched over to a couple different icon sets from that site and everything works great. What is interesting is that some of the compiled icons look better when compiled using the template compared to the SVG file on the site. I'll need to look at that some more to see if I can figure out why. One difference is that the files use viewBox instead of H & W. Thanks for another useful widget! On Mon, Sep 17, 2018 at 9:56 AM hh via use-livecode < use-livecode at lists.runrev.com> wrote: > > Brian wrote: > > I'll need to take your stack/widget and see how what it generates > > compares to conversions from the source svg file (for the Font > > Awesome stuff). Since you are adding back information that was > > stripped when converting to an icon, my guess is that the results > > should be pretty much the same. > > There ARE changes; > I translate the path to have a bounding box with topleft 0,0 and > use this translated path. > This prevents horizotal and especially vertical offsets (which > is often present and effectively adds unneeded transparency at top). > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sep 18 01:17:00 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Sep 2018 00:17:00 -0500 Subject: best way to open a script-only library stack? In-Reply-To: <8220c16d-516d-fafa-6bdd-7745cf872afa@fourthworld.com> References: <5B9FE923.9030803@sonasoftware.com> <8220c16d-516d-fafa-6bdd-7745cf872afa@fourthworld.com> Message-ID: <410ebdf1-e461-6adc-46ca-689c0b70dcee@hyperactivesw.com> On 9/17/18 8:45 PM, Richard Gaskin via use-livecode wrote: > While in memory it has all the properties of any stack in memory. I just checked, and script-only stacks do have filenames. I didn't realize that before, I'd assumed they were temporary only. Good info. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From terry.judd at unimelb.edu.au Tue Sep 18 02:13:06 2018 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 18 Sep 2018 06:13:06 +0000 Subject: App Dead on iOS 12 In-Reply-To: <85EAB696-787B-48D3-86C3-9D2CED29D791@appisle.net> References: <571BC0F7-38F8-4923-8838-37A947C96AB2@clearvisiontech.com> <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> <85EAB696-787B-48D3-86C3-9D2CED29D791@appisle.net> Message-ID: <35B1BF39-38A6-4DF2-A6F9-DC4C7368049B@unimelb.edu.au> Hi Monte - I've just fired up my other MacBook that is running LC 9.0.1 in combo with Xcode 9.4.1 under OSX 10.13.5 and I see the same thing as Dan. App starts up, shows the splash screen and then immediately quits. Also, still no app icon - and I'm pretty sure I installed those extras along with Xcode as I did it fairly recently. Regards, Terry... ?On 18/09/2018 9:37 am, "use-livecode on behalf of Monte Goulding via use-livecode" wrote: Hi Dan Are you using the 9.0.1 stable or are you using one of the RCs? It sounds like you are hitting a bug that we fixed for RC 2. Cheers Monte > On 18 Sep 2018, at 9:02 am, Dan Friedman via use-livecode wrote: > > Terry, > > So, here's what I've discovered in the last 40 minutes? > > If you add, "set the acceleratedRendering of stack myStack to true", then things start working again. However, I did find that if I had more than one stack open, and the second stack did not have acceleratedRendering enabled, then the app crashed. > > Most everything seems to be working ok once the app is open. Visual Effects are working fine, but I?m having some issues with moving controls (on mouseMove) and the like? S?l?u?g?i?s?h !! > > > Thank you! > > Dan Friedman > CEO, ClearVision Technologies, LLC > Voice: 909/484-2052 > http://www.clearvisiontech.com > > > On 9/17/18, 3:51 PM, "use-livecode on behalf of Terry Judd via use-livecode" wrote: > > Yeah - I just updated an iPad to iOS 12 and 2 LC apps that were already installed on it now just show a black screen (with the outlines of a couple of native fields) after the splash screen. I kinda assumed they would just still work. > > Terry... > > On 18/09/2018 7:56 am, "use-livecode on behalf of Dan Friedman via use-livecode" wrote: > > I see that all my apps are launching and immediately crashing on iOS 12. I rebuilt the app using 9.0.1 and I get the same result. Since this list isn't blowing up with people complaining about this, I have must have missed the meeting about the secret button to click to get things working. Anyone have any words of wisdom? > > HELP! > > -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 > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 gcanyon at gmail.com Tue Sep 18 02:14:15 2018 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 17 Sep 2018 23:14:15 -0700 Subject: Gradient Property Palette Bug In-Reply-To: References: Message-ID: On Mon, Sep 17, 2018 at 6:58 PM Alejandro Tejada via use-livecode < use-livecode at lists.runrev.com> wrote: > > By the way, Navigator 6.2 alpha 1 works great for > editing gradients! I was going to download and check, but then I saw this. Glad to hear it's working! gc From merakosp at gmail.com Tue Sep 18 03:11:18 2018 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 18 Sep 2018 10:11:18 +0300 Subject: App Dead on iOS 12 In-Reply-To: <35B1BF39-38A6-4DF2-A6F9-DC4C7368049B@unimelb.edu.au> References: <571BC0F7-38F8-4923-8838-37A947C96AB2@clearvisiontech.com> <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> <85EAB696-787B-48D3-86C3-9D2CED29D791@appisle.net> <35B1BF39-38A6-4DF2-A6F9-DC4C7368049B@unimelb.edu.au> Message-ID: Hello Terry, RE the icons, make sure you are using the correct version of command line tools: 1. Open Xcode 9.4.1 2. Go to Xcode's menubar : Xcode -> Preferences -> Locations -> Command Line Tools and choose "9.4.1" Hope this helps. Best, Panos -- On Tue, Sep 18, 2018 at 9:13 AM Terry Judd via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Monte - I've just fired up my other MacBook that is running LC 9.0.1 in > combo with Xcode 9.4.1 under OSX 10.13.5 and I see the same thing as Dan. > App starts up, shows the splash screen and then immediately quits. Also, > still no app icon - and I'm pretty sure I installed those extras along with > Xcode as I did it fairly recently. > > Regards, > > Terry... > > ?On 18/09/2018 9:37 am, "use-livecode on behalf of Monte Goulding via > use-livecode" use-livecode at lists.runrev.com> wrote: > > Hi Dan > > Are you using the 9.0.1 stable or are you using one of the RCs? It > sounds like you are hitting a bug that we fixed for RC 2. > > Cheers > > Monte > > > On 18 Sep 2018, at 9:02 am, Dan Friedman via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Terry, > > > > So, here's what I've discovered in the last 40 minutes? > > > > If you add, "set the acceleratedRendering of stack myStack to true", > then things start working again. However, I did find that if I had more > than one stack open, and the second stack did not have acceleratedRendering > enabled, then the app crashed. > > > > Most everything seems to be working ok once the app is open. > Visual Effects are working fine, but I?m having some issues with moving > controls (on mouseMove) and the like? S?l?u?g?i?s?h !! > > > > > > Thank you! > > > > Dan Friedman > > CEO, ClearVision Technologies, LLC > > Voice: 909/484-2052 > > http://www.clearvisiontech.com > > > > > > On 9/17/18, 3:51 PM, "use-livecode on behalf of Terry Judd via > use-livecode" use-livecode at lists.runrev.com> wrote: > > > > Yeah - I just updated an iPad to iOS 12 and 2 LC apps that were > already installed on it now just show a black screen (with the outlines of > a couple of native fields) after the splash screen. I kinda assumed they > would just still work. > > > > Terry... > > > > On 18/09/2018 7:56 am, "use-livecode on behalf of Dan Friedman > via use-livecode" use-livecode at lists.runrev.com> wrote: > > > > I see that all my apps are launching and immediately crashing > on iOS 12. I rebuilt the app using 9.0.1 and I get the same result. Since > this list isn't blowing up with people complaining about this, I have must > have missed the meeting about the secret button to click to get things > working. Anyone have any words of wisdom? > > > > HELP! > > > > -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 > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 merakosp at gmail.com Tue Sep 18 06:01:14 2018 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 18 Sep 2018 13:01:14 +0300 Subject: App Dead on iOS 12 In-Reply-To: References: <571BC0F7-38F8-4923-8838-37A947C96AB2@clearvisiontech.com> <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> <85EAB696-787B-48D3-86C3-9D2CED29D791@appisle.net> <35B1BF39-38A6-4DF2-A6F9-DC4C7368049B@unimelb.edu.au> Message-ID: @Dan and @Terry (and everyone that still sees a crash on iOS 12) Could you please send a sample stack that crashes on iOS 12 for you to panos.merakos at livecode.com? Moreover, could you also mention: 1. The MacOS version 2. The iOS 12 device you used I had tested with 9.0.1 RC-2 (which is almost identical to 9.0.1 STABLE but without a fix related to OSX clipboard) on an iPhone7 running the latest iOS 12 beta and there was no crash. Kind regards, Panos -- On Tue, Sep 18, 2018 at 10:11 AM panagiotis merakos wrote: > Hello Terry, > > RE the icons, make sure you are using the correct version of command line > tools: > > 1. Open Xcode 9.4.1 > 2. Go to Xcode's menubar : Xcode -> Preferences -> Locations -> Command > Line Tools and choose "9.4.1" > > Hope this helps. > > Best, > Panos > -- > > On Tue, Sep 18, 2018 at 9:13 AM Terry Judd via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Hi Monte - I've just fired up my other MacBook that is running LC 9.0.1 >> in combo with Xcode 9.4.1 under OSX 10.13.5 and I see the same thing as >> Dan. App starts up, shows the splash screen and then immediately quits. >> Also, still no app icon - and I'm pretty sure I installed those extras >> along with Xcode as I did it fairly recently. >> >> Regards, >> >> Terry... >> >> ?On 18/09/2018 9:37 am, "use-livecode on behalf of Monte Goulding via >> use-livecode" > use-livecode at lists.runrev.com> wrote: >> >> Hi Dan >> >> Are you using the 9.0.1 stable or are you using one of the RCs? It >> sounds like you are hitting a bug that we fixed for RC 2. >> >> Cheers >> >> Monte >> >> > On 18 Sep 2018, at 9:02 am, Dan Friedman via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> > >> > Terry, >> > >> > So, here's what I've discovered in the last 40 minutes? >> > >> > If you add, "set the acceleratedRendering of stack myStack to >> true", then things start working again. However, I did find that if I had >> more than one stack open, and the second stack did not have >> acceleratedRendering enabled, then the app crashed. >> > >> > Most everything seems to be working ok once the app is open. >> Visual Effects are working fine, but I?m having some issues with moving >> controls (on mouseMove) and the like? S?l?u?g?i?s?h !! >> > >> > >> > Thank you! >> > >> > Dan Friedman >> > CEO, ClearVision Technologies, LLC >> > Voice: 909/484-2052 >> > http://www.clearvisiontech.com >> > >> > >> > On 9/17/18, 3:51 PM, "use-livecode on behalf of Terry Judd via >> use-livecode" > use-livecode at lists.runrev.com> wrote: >> > >> > Yeah - I just updated an iPad to iOS 12 and 2 LC apps that were >> already installed on it now just show a black screen (with the outlines of >> a couple of native fields) after the splash screen. I kinda assumed they >> would just still work. >> > >> > Terry... >> > >> > On 18/09/2018 7:56 am, "use-livecode on behalf of Dan Friedman >> via use-livecode" > use-livecode at lists.runrev.com> wrote: >> > >> > I see that all my apps are launching and immediately >> crashing on iOS 12. I rebuilt the app using 9.0.1 and I get the same >> result. Since this list isn't blowing up with people complaining about >> this, I have must have missed the meeting about the secret button to click >> to get things working. Anyone have any words of wisdom? >> > >> > HELP! >> > >> > -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 >> > >> > >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode 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 Tue Sep 18 06:07:30 2018 From: monte at appisle.net (Monte Goulding) Date: Tue, 18 Sep 2018 20:07:30 +1000 Subject: App Dead on iOS 12 In-Reply-To: References: <571BC0F7-38F8-4923-8838-37A947C96AB2@clearvisiontech.com> <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> <85EAB696-787B-48D3-86C3-9D2CED29D791@appisle.net> <35B1BF39-38A6-4DF2-A6F9-DC4C7368049B@unimelb.edu.au> Message-ID: If you could also give us the result of `put the version && the buildNumber` that would be helpful. > On 18 Sep 2018, at 8:01 pm, panagiotis merakos via use-livecode wrote: > > @Dan and @Terry (and everyone that still sees a crash on iOS 12) > > Could you please send a sample stack that crashes on iOS 12 for you to > panos.merakos at livecode.com? > > Moreover, could you also mention: > > 1. The MacOS version > 2. The iOS 12 device you used > > I had tested with 9.0.1 RC-2 (which is almost identical to 9.0.1 STABLE but > without a fix related to OSX clipboard) on an iPhone7 running the latest > iOS 12 beta and there was no crash. > > Kind regards, > Panos > -- > > On Tue, Sep 18, 2018 at 10:11 AM panagiotis merakos > wrote: > >> Hello Terry, >> >> RE the icons, make sure you are using the correct version of command line >> tools: >> >> 1. Open Xcode 9.4.1 >> 2. Go to Xcode's menubar : Xcode -> Preferences -> Locations -> Command >> Line Tools and choose "9.4.1" >> >> Hope this helps. >> >> Best, >> Panos >> -- >> >> On Tue, Sep 18, 2018 at 9:13 AM Terry Judd via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Hi Monte - I've just fired up my other MacBook that is running LC 9.0.1 >>> in combo with Xcode 9.4.1 under OSX 10.13.5 and I see the same thing as >>> Dan. App starts up, shows the splash screen and then immediately quits. >>> Also, still no app icon - and I'm pretty sure I installed those extras >>> along with Xcode as I did it fairly recently. >>> >>> Regards, >>> >>> Terry... >>> >>> ?On 18/09/2018 9:37 am, "use-livecode on behalf of Monte Goulding via >>> use-livecode" >> use-livecode at lists.runrev.com> wrote: >>> >>> Hi Dan >>> >>> Are you using the 9.0.1 stable or are you using one of the RCs? It >>> sounds like you are hitting a bug that we fixed for RC 2. >>> >>> Cheers >>> >>> Monte >>> >>>> On 18 Sep 2018, at 9:02 am, Dan Friedman via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> >>>> Terry, >>>> >>>> So, here's what I've discovered in the last 40 minutes? >>>> >>>> If you add, "set the acceleratedRendering of stack myStack to >>> true", then things start working again. However, I did find that if I had >>> more than one stack open, and the second stack did not have >>> acceleratedRendering enabled, then the app crashed. >>>> >>>> Most everything seems to be working ok once the app is open. >>> Visual Effects are working fine, but I?m having some issues with moving >>> controls (on mouseMove) and the like? S?l?u?g?i?s?h !! >>>> >>>> >>>> Thank you! >>>> >>>> Dan Friedman >>>> CEO, ClearVision Technologies, LLC >>>> Voice: 909/484-2052 >>>> http://www.clearvisiontech.com >>>> >>>> >>>> On 9/17/18, 3:51 PM, "use-livecode on behalf of Terry Judd via >>> use-livecode" >> use-livecode at lists.runrev.com> wrote: >>>> >>>> Yeah - I just updated an iPad to iOS 12 and 2 LC apps that were >>> already installed on it now just show a black screen (with the outlines of >>> a couple of native fields) after the splash screen. I kinda assumed they >>> would just still work. >>>> >>>> Terry... >>>> >>>> On 18/09/2018 7:56 am, "use-livecode on behalf of Dan Friedman >>> via use-livecode" >> use-livecode at lists.runrev.com> wrote: >>>> >>>> I see that all my apps are launching and immediately >>> crashing on iOS 12. I rebuilt the app using 9.0.1 and I get the same >>> result. Since this list isn't blowing up with people complaining about >>> this, I have must have missed the meeting about the secret button to click >>> to get things working. Anyone have any words of wisdom? >>>> >>>> HELP! >>>> >>>> -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 >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 richmondmathewson at gmail.com Tue Sep 18 06:38:22 2018 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 18 Sep 2018 13:38:22 +0300 Subject: Forums misbehaving Message-ID: <485f3ccb-e3bb-3b03-0c6b-f428ff9c34f0@gmail.com> I tried to post a reply to one thread 4 times: each time, after I hit "Submit" I was returned to the Login screen. Richmond From terry.judd at unimelb.edu.au Tue Sep 18 06:50:18 2018 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 18 Sep 2018 10:50:18 +0000 Subject: App Dead on iOS 12 In-Reply-To: References: <571BC0F7-38F8-4923-8838-37A947C96AB2@clearvisiontech.com> <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> <85EAB696-787B-48D3-86C3-9D2CED29D791@appisle.net> <35B1BF39-38A6-4DF2-A6F9-DC4C7368049B@unimelb.edu.au> Message-ID: Well - I can't send the stack I am having problems with unfortunately but I did just create a new stack with only a single card containing a single text field - assigned it the same app id and profile that I use on the 'real' one, and 'tested' it onto my iPad. It immediately crashed when launched on the iPad (splash image displayed very briefly). On a brighter note - I did manage to get the app icon to display if I made it 144x144 instead to 152x152. Terry... LC version 9.0.1, build 15103, Xcode 9.4.1, OSX 10.13.5 ?On 18/09/2018 8:08 pm, "use-livecode on behalf of Monte Goulding via use-livecode" wrote: If you could also give us the result of `put the version && the buildNumber` that would be helpful. > On 18 Sep 2018, at 8:01 pm, panagiotis merakos via use-livecode wrote: > > @Dan and @Terry (and everyone that still sees a crash on iOS 12) > > Could you please send a sample stack that crashes on iOS 12 for you to > panos.merakos at livecode.com? > > Moreover, could you also mention: > > 1. The MacOS version > 2. The iOS 12 device you used > > I had tested with 9.0.1 RC-2 (which is almost identical to 9.0.1 STABLE but > without a fix related to OSX clipboard) on an iPhone7 running the latest > iOS 12 beta and there was no crash. > > Kind regards, > Panos > -- > > On Tue, Sep 18, 2018 at 10:11 AM panagiotis merakos > wrote: > >> Hello Terry, >> >> RE the icons, make sure you are using the correct version of command line >> tools: >> >> 1. Open Xcode 9.4.1 >> 2. Go to Xcode's menubar : Xcode -> Preferences -> Locations -> Command >> Line Tools and choose "9.4.1" >> >> Hope this helps. >> >> Best, >> Panos >> -- >> >> On Tue, Sep 18, 2018 at 9:13 AM Terry Judd via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Hi Monte - I've just fired up my other MacBook that is running LC 9.0.1 >>> in combo with Xcode 9.4.1 under OSX 10.13.5 and I see the same thing as >>> Dan. App starts up, shows the splash screen and then immediately quits. >>> Also, still no app icon - and I'm pretty sure I installed those extras >>> along with Xcode as I did it fairly recently. >>> >>> Regards, >>> >>> Terry... >>> >>> On 18/09/2018 9:37 am, "use-livecode on behalf of Monte Goulding via >>> use-livecode" >> use-livecode at lists.runrev.com> wrote: >>> >>> Hi Dan >>> >>> Are you using the 9.0.1 stable or are you using one of the RCs? It >>> sounds like you are hitting a bug that we fixed for RC 2. >>> >>> Cheers >>> >>> Monte >>> >>>> On 18 Sep 2018, at 9:02 am, Dan Friedman via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> >>>> Terry, >>>> >>>> So, here's what I've discovered in the last 40 minutes? >>>> >>>> If you add, "set the acceleratedRendering of stack myStack to >>> true", then things start working again. However, I did find that if I had >>> more than one stack open, and the second stack did not have >>> acceleratedRendering enabled, then the app crashed. >>>> >>>> Most everything seems to be working ok once the app is open. >>> Visual Effects are working fine, but I?m having some issues with moving >>> controls (on mouseMove) and the like? S?l?u?g?i?s?h !! >>>> >>>> >>>> Thank you! >>>> >>>> Dan Friedman >>>> CEO, ClearVision Technologies, LLC >>>> Voice: 909/484-2052 >>>> http://www.clearvisiontech.com >>>> >>>> >>>> On 9/17/18, 3:51 PM, "use-livecode on behalf of Terry Judd via >>> use-livecode" >> use-livecode at lists.runrev.com> wrote: >>>> >>>> Yeah - I just updated an iPad to iOS 12 and 2 LC apps that were >>> already installed on it now just show a black screen (with the outlines of >>> a couple of native fields) after the splash screen. I kinda assumed they >>> would just still work. >>>> >>>> Terry... >>>> >>>> On 18/09/2018 7:56 am, "use-livecode on behalf of Dan Friedman >>> via use-livecode" >> use-livecode at lists.runrev.com> wrote: >>>> >>>> I see that all my apps are launching and immediately >>> crashing on iOS 12. I rebuilt the app using 9.0.1 and I get the same >>> result. Since this list isn't blowing up with people complaining about >>> this, I have must have missed the meeting about the secret button to click >>> to get things working. Anyone have any words of wisdom? >>>> >>>> HELP! >>>> >>>> -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 >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 andrew at midwestcoastmedia.com Tue Sep 18 08:40:01 2018 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Tue, 18 Sep 2018 12:40:01 +0000 Subject: App Dead on iOS 12 In-Reply-To: Message-ID: <20180918124001.Horde.AfTYryDK2LeCnrqQQNX_APe@ua850258.serversignin.com> I originally reported the iOS 12 bug (that doesn't show up in QC when you search for "iOS 12" but can be found @ https://quality.livecode.com/show_bug.cgi?id=21396) back in July, which was fixed in 9.0.1rc2. I no longer see that black screen or crash on iOS 12 (betas or release) when building with 9.0.1rc2/rc3/gm and am NOT setting acceleratedRendering to TRUE. There were still several other hoops that I needed to jump through to get my updated app approved. Apple made changes, which forced LiveCode to make changes, which forced me to make changes. - New version of macOS (10.11.x --> 10.12.x) - New version of Xcode. (8.2 --> 9.2) - New procedure for preparing file for upload using Application Loader 3.0 (always used this version of Application Loader, but never had to do this before: http://lessons.livecode.com/m/4069/l/33064-how-do-i-submit-an-ios-app-to-the-app-store ) - Add app icon via Standalone Builder (LiveCode > File > Standalone Application Settings > iOS > Icons > AppStore). Previously I could submit the icon via iTunesConnect (which is now AppStoreConnect). All this was on top of creating a custom plist because I use Location Services (previously I was modifying the plist template in the LiveCode application package itself, but have to remember to modify that before building each different app, so now I'm using this method: http://lessons.livecode.com/m/4069/l/881992-creating-a-custom-plist) My app was submitted, rejected (for mentioning iOS 12 compatibility in my release notes because it wasn't "official" yet), submitted again, accepted, and now published (though my screenshots aren't up-to-date yet). https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=1134962219&mt=8 --Andrew Bell > From: Terry Judd > To: How to use LiveCode > Subject: Re: App Dead on iOS 12 > Message-ID: <35B1BF39-38A6-4DF2-A6F9-DC4C7368049B at unimelb.edu.au> > Content-Type: text/plain; charset=UTF-8 > > Hi Monte - I've just fired up my other MacBook that is running LC > 9.0.1 in combo with Xcode 9.4.1 under OSX 10.13.5 and I see the same > thing as Dan. App starts up, shows the splash screen and then > immediately quits. Also, still no app icon - and I'm pretty sure I > installed those extras along with Xcode as I did it fairly recently. > > Regards, > > Terry... > From brian at milby7.com Tue Sep 18 08:45:07 2018 From: brian at milby7.com (Brian Milby) Date: Tue, 18 Sep 2018 07:45:07 -0500 Subject: Forums misbehaving In-Reply-To: <485f3ccb-e3bb-3b03-0c6b-f428ff9c34f0@gmail.com> References: <485f3ccb-e3bb-3b03-0c6b-f428ff9c34f0@gmail.com> Message-ID: <74855f16-c22a-49f5-a54b-d8f01a7cbb15@Spark> I get that on my iPad quite a bit. I?ve gotten into the habit of copying the post before clicking submit. I thought it was just my device. Thanks, Brian On Sep 18, 2018, 5:39 AM -0500, Richmond via use-livecode , wrote: > I tried to post a reply to one thread 4 times: each time, after I hit > "Submit" > > I was returned to the Login screen. > > > 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 brahma at hindu.org Tue Sep 18 11:41:19 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 18 Sep 2018 15:41:19 +0000 Subject: Creating Array - Auto Numeric Message-ID: My head always breaks on complex array functions. I can't head around this algorithm Given a "quote" in a field "Cut the apple. Cut the banana" We get to location for each word (that is easy) I want to analyse the quote by going through each word. *----------* *repeat* withx = 1tothenumberofwordsoffld"_quote" # get the location of the word, put it into variable tWordLocation put tWordLocation to the WordLocationA[x][??][tWordLocation] end repeat ------- that we end with WordLocationA["Cut"][1][100,320] WordLocationA["Cut"][2][300,320] WordLocationA["the"][1][200,320] WordLocationA["the"][2][400,320] WordLocationA["apple"][2][500,320] WordLocationA["banana"][2][500,320] the "part" where incrementing the numeric key inside the repeat loop, "inside" the key, I can't get. BR From dunbarx at aol.com Tue Sep 18 12:44:33 2018 From: dunbarx at aol.com (dunbarxx) Date: Tue, 18 Sep 2018 11:44:33 -0500 (CDT) Subject: Creating Array - Auto Numeric In-Reply-To: References: Message-ID: <1537289073064-0.post@n4.nabble.com> Hi. Is this what you want? on mouseUp repeat with y = 1 to the number of words of fld 1 select word y of fld 1 put the selectedLoc into wordLocationA[y][word y of fld 1] end repeat end mouseUp I suspect not. Is it that you want the output to be: WordLocationA["Cut"][100,320] WordLocationA["the"][1][200,320] WordLocationA["apple"][500,320] WordLocationA["Cut"][300,320] WordLocationA["the"][400,320] WordLocationA["banana"][500,320] If so, why use an array? Just: on mouseUp repeat with y = 1 to the number of words of fld 1 select word y of fld 1 put word y of fld 1 &","& the selectedLoc & return after locList end repeat end mouseUp Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From dunbarx at aol.com Tue Sep 18 12:46:24 2018 From: dunbarx at aol.com (dunbarxx) Date: Tue, 18 Sep 2018 11:46:24 -0500 (CDT) Subject: Forums misbehaving In-Reply-To: <485f3ccb-e3bb-3b03-0c6b-f428ff9c34f0@gmail.com> References: <485f3ccb-e3bb-3b03-0c6b-f428ff9c34f0@gmail.com> Message-ID: <1537289184018-0.post@n4.nabble.com> Never seen this. Richmond, are you on a computer or a portable device? Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From dunbarx at aol.com Tue Sep 18 12:47:31 2018 From: dunbarx at aol.com (dunbarxx) Date: Tue, 18 Sep 2018 11:47:31 -0500 (CDT) Subject: Creating Array - Auto Numeric In-Reply-To: References: Message-ID: <1537289251246-0.post@n4.nabble.com> Also, be careful. The string: "Cut the apple. Cut the banana" contains only one word. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From klaus at major-k.de Tue Sep 18 12:49:46 2018 From: klaus at major-k.de (Klaus major-k) Date: Tue, 18 Sep 2018 18:49:46 +0200 Subject: Creating Array - Auto Numeric In-Reply-To: <1537289251246-0.post@n4.nabble.com> References: <1537289251246-0.post@n4.nabble.com> Message-ID: Hi Craig, > Am 18.09.2018 um 18:47 schrieb dunbarxx via use-livecode : > > Also, be careful. The string: > "Cut the apple. Cut the banana" > contains only one word. true, but also contains 6 TRUEWORDS! :-) > Craig Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From tore.nilsen at me.com Tue Sep 18 13:14:39 2018 From: tore.nilsen at me.com (Tore Nilsen) Date: Tue, 18 Sep 2018 19:14:39 +0200 Subject: Creating Array - Auto Numeric In-Reply-To: References: Message-ID: You can not put the incrementing numeric key inside an associative array the way you want. The key of any array must be unique, and you can not have several instances of a key in an array. Think of the keys of the array it as the primary keys of a database table. It serves as a unique identifier. Best regards Tore Nilsen > 18. sep. 2018 kl. 17:41 skrev Sannyasin Brahmanathaswami via use-livecode : > > My head always breaks on complex array functions. I can't head around > this algorithm > > Given a "quote" in a field > > "Cut the apple. Cut the banana" > > We get to location for each word (that is easy) > > I want to analyse the quote by going through each word. > > *----------* > > *repeat* withx = 1tothenumberofwordsoffld"_quote" > > # get the location of the word, put it into variable tWordLocation > > put tWordLocation to the WordLocationA[x][??][tWordLocation] > > end repeat > > ------- > > that we end with > > WordLocationA["Cut"][1][100,320] > WordLocationA["Cut"][2][300,320] > WordLocationA["the"][1][200,320] > WordLocationA["the"][2][400,320] > WordLocationA["apple"][2][500,320] > WordLocationA["banana"][2][500,320] > > the "part" where incrementing the numeric key inside the repeat loop, > "inside" the key, I can't get. > > 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 hh at hyperhh.de Tue Sep 18 13:38:59 2018 From: hh at hyperhh.de (hh) Date: Tue, 18 Sep 2018 19:38:59 +0200 Subject: Forums misbehaving Message-ID: <79D4BB83-B52D-4EDD-A93B-492D72CE4338@hyperhh.de> I have it ALWAYS with Safari 11 (MacOS 10.12.6), it's seldom only when using Firefox. Also with Safari I need at about 10 times to "logout" before it works, again that's seldom only when using Firefox. From rmetzker at gmail.com Tue Sep 18 14:16:50 2018 From: rmetzker at gmail.com (Ron Metzker) Date: Tue, 18 Sep 2018 11:16:50 -0700 Subject: App Dead on iOS 12 In-Reply-To: <1349E189-884F-47B9-8F02-5A311F81BBED@unimelb.edu.au> References: <571BC0F7-38F8-4923-8838-37A947C96AB2@clearvisiontech.com> <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> <45641C0E-F7D6-4FA0-B354-791417841F9E@gmail.com> <9AC1C5B1-E726-46BE-9AE7-94EC22F46519@appisle.net> <983A54B4-8B14-49F5-AC48-FF3534E4775D@gmail.com> <53C9FDD8-D924-4E88-9DE6-2299D74849CE@appisle.net> <522CB5D6-C332-4C62-A133-95C519D1DB12@appisle.net> <311A5FCC-5D23-484D-BDA2-284E2FBFC276@unimelb.edu.au> <1349E189-884F-47B9-8F02-5A311F81BBED@unimelb.edu.au> Message-ID: <54CAADF1-6749-452B-9513-667D18F6B974@gmail.com> Hi Terri, Normally Xcode asks you if you want to install additional tools when it is first launched. Since you are using an older version maybe you didn?t install then . You can go to Xcode Help then to Customize Xcode, then to Manage Simulators and toolchains. Under that look at verify, reveal and delete toolchains. It will give you instructions from there on how to see what is installed and allow you to update them. Hope this helps. Best Regards Ron > On Sep 17, 2018, at 5:51 PM, Terry Judd via use-livecode wrote: > > Umm - spoke to soon. How do I do that? I assumed that there would be something in the downloads pane of Xcode that I could install. > > Terry... > > ?On 18/09/2018 10:43 am, "use-livecode on behalf of Terry Judd via use-livecode" wrote: > > Thanks Monte. I'll try installing the additional component to my old version of XCode in the meantime. > > Regards, > > Terry... > > On 18/09/2018 10:22 am, "use-livecode on behalf of Monte Goulding via use-livecode" wrote: > > > >> On 18 Sep 2018, at 10:18 am, Monte Goulding via use-livecode wrote: >> >> >> >>> On 18 Sep 2018, at 10:15 am, Colin Holgate via use-livecode wrote: >>> >>> Is what you said true for older LiveCode, or just 9.0.1? >> >> Should be true back to late 2011. > > > FWIW I just opened this report so we can remove the need to have Xcode additional components installed https://quality.livecode.com/show_bug.cgi?id=21588 > > 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 > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sep 18 14:48:30 2018 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 18 Sep 2018 21:48:30 +0300 Subject: Forums misbehaving In-Reply-To: <1537289184018-0.post@n4.nabble.com> References: <485f3ccb-e3bb-3b03-0c6b-f428ff9c34f0@gmail.com> <1537289184018-0.post@n4.nabble.com> Message-ID: I had this on a 32-bit Xubuntu 18.04 install with Firefox. Richmond. On 18.09.2018 19:46, dunbarxx via use-livecode wrote: > Never seen this. Richmond, are you on a computer or a portable device? > > Craig > > > > -- > Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sep 18 15:09:25 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Sep 2018 14:09:25 -0500 Subject: Forums misbehaving In-Reply-To: References: <485f3ccb-e3bb-3b03-0c6b-f428ff9c34f0@gmail.com> <1537289184018-0.post@n4.nabble.com> Message-ID: It often has something to do with cookies not being saved. On 9/18/18 1:48 PM, Richmond via use-livecode wrote: > I had this on a 32-bit Xubuntu 18.04 install with Firefox. > > Richmond. > > On 18.09.2018 19:46, dunbarxx via use-livecode wrote: >> Never seen this. Richmond, are you on a computer or a portable device? >> >> Craig -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipsm at themartinz.com Tue Sep 18 15:18:32 2018 From: chipsm at themartinz.com (Clarence Martin) Date: Tue, 18 Sep 2018 19:18:32 +0000 Subject: Test Message-ID: This is a test because I can?t seem to send anything to the list. Sent from Mail for Windows 10 From chipsm at themartinz.com Tue Sep 18 15:27:22 2018 From: chipsm at themartinz.com (chipsm at themartinz.com) Date: Tue, 18 Sep 2018 12:27:22 -0700 Subject: Forums misbehaving In-Reply-To: References: <485f3ccb-e3bb-3b03-0c6b-f428ff9c34f0@gmail.com> <1537289184018-0.post@n4.nabble.com> Message-ID: <004101d44f85$9f927fd0$deb77f70$@themartinz.com> Ah! Success. Sincerely, Clarence Martin Email: Chipsm at themartinz.com Cell: 626 696-5561 -----Original Message----- From: use-livecode On Behalf Of J. Landman Gay via use-livecode Sent: Tuesday, September 18, 2018 12:09 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: Forums misbehaving It often has something to do with cookies not being saved. On 9/18/18 1:48 PM, Richmond via use-livecode wrote: > I had this on a 32-bit Xubuntu 18.04 install with Firefox. > > Richmond. > > On 18.09.2018 19:46, dunbarxx via use-livecode wrote: >> Never seen this. Richmond, are you on a computer or a portable device? >> >> Craig -- 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 francois.chaplais at mines-paristech.fr Tue Sep 18 15:32:57 2018 From: francois.chaplais at mines-paristech.fr (=?utf-8?Q?Fran=C3=A7ois_Chaplais?=) Date: Tue, 18 Sep 2018 21:32:57 +0200 Subject: Test In-Reply-To: References: Message-ID: gotcha :) > Le 18 sept. 2018 ? 21:18, Clarence Martin via use-livecode a ?crit : > > This is a test because I can?t seem to send anything to the list. > > Sent from Mail for Windows 10 > > _______________________________________________ > use-livecode mailing list > use-livecode 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 hlowe at me.com Tue Sep 18 16:14:23 2018 From: hlowe at me.com (hlowe) Date: Tue, 18 Sep 2018 15:14:23 -0500 (CDT) Subject: App Dead on iOS 12 In-Reply-To: <54CAADF1-6749-452B-9513-667D18F6B974@gmail.com> References: <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> <45641C0E-F7D6-4FA0-B354-791417841F9E@gmail.com> <9AC1C5B1-E726-46BE-9AE7-94EC22F46519@appisle.net> <983A54B4-8B14-49F5-AC48-FF3534E4775D@gmail.com> <53C9FDD8-D924-4E88-9DE6-2299D74849CE@appisle.net> <522CB5D6-C332-4C62-A133-95C519D1DB12@appisle.net> <311A5FCC-5D23-484D-BDA2-284E2FBFC276@unimelb.edu.au> <1349E189-884F-47B9-8F02-5A311F81BBED@unimelb.edu.au> <54CAADF1-6749-452B-9513-667D18F6B974@gmail.com> Message-ID: <1537301663648-0.post@n4.nabble.com> I am preparing to update an iOS app in the App Store using: LC 9.0.1 (stable) Mac OS 10.13.6 Xcode 9.4.1 Updated an iPad Mini 2 to iOS 12.0 today and both the app currently in the iOS store (LC 8.1.10) and the update that I am working on (see details above) run as expected under iOS 12.0. The app icon is visibile. The app uses "set the AcceleratedRendering of this stack to true" in both versions. As an aside, this exercise provided an opportunity to compare the scrolling performance of datagrid version 1 (DG1) and datagrid version 2 (DG2) under iOS 12.0. DG2 scrolling is SO much slower and very visually "jerky" in comparison to DG1. Henry Ascriva Health Informatics https://www.ascriva.com -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From gcanyon at gmail.com Tue Sep 18 16:25:05 2018 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 18 Sep 2018 13:25:05 -0700 Subject: Navigator 6.3 alpha 1 is out -- major awesomeness! Message-ID: As usual, you can get Navigator here . Or grab it from GitHub . I'm stunned at the impact this update to Navigator has had for me. I'm excited to post this update. While I was building the Size/Location Editor I had to repeatedly edit the rects and locations of the various bits, and edit the tooltips, and the colors, etc. etc. Each time I would open the editor, which is a modal within Navigator. So: Open the editor; make a change, close the editor; change the selection; open the editor; make a change... I thought of making the editor slide out and leave the Navigator list accessible, but the geometry of that is tough -- what if Navigator is already at the right side of the display? Finally, I settled on separate palettes, and it turned out to be easier than I thought, and the end result is (to me) amazing. My workflow is much faster and smoother than before. The original behavior is still available, but palettes are it for me going forward; it's just too easy. So here's the description, followed by other updates included: gc The Color Editor, the Size/Location Editor, the Property Editor, the Custom Property Editor, and the Command Panel all now display a description of the controls that will be affected, in the form of the name and ID of the primary control (the one from which color values etc. are displayed) followed by the number of additional controls selected for modification. The Color Editor, the Size/Location Editor, the Property Editor, and the Command Panel, but *not* the Custom Property Editor, all now have a "Palette" button that opens them in separate palette windows. These windows can be minimized like standard Navigator windows, and the Property Editor and Command Panel can be resized as needed. These new palettes will automatically update to reflect whatever the latest selection is in any open Navigator window. So you can select three controls, adjust their size in the Size/Location Editor, then select two different controls in a different Navigator window and the Size/Location Editor will immediately update to reflect that selection, and those two controls can be resized. It's also possible to change the primary control just by clicking a new control among the highlighted controls, which won't change the highlights, just the primary control. The Preference dialog has a setting for "Editors as Palettes" that will cause the editors to always open as palettes. Whatever the setting, you can get the opposite by holding down the option/alt key while opening the editors. This feature is new, and *very* powerful/dangerous. If you don't keep track of what controls Navigator wants to modify, you can do some serious damage really quickly. In my testing, the selection hasn't ever been wrong, but it's fairly easy not to realize that the selection has changed, even though all four palettes list what is being edited at the top of the palettes. BE CAREFUL WITH THIS FEATURE. But boy oh boy it's a lot of fun! You can also have the palette open and then select the commands again and have the editor open in Navigator the way it has historically while the palette is still open. This is fine, albeit a little confusing. The Stacks menu now has options for Show IDE Stacks and Show Script-Only Stacks. These affect what the menu displays, and also what the Stack List displays. The Cards menu now has options for Card List and Background List. These control what the menu displays and what shows in Navigator. So selecting Background List will cause Navigator to display a list of the backgrounds, and also the next time the menu is opened it will display a list of backgrounds. Fixed a bug where the HTMLText caused the Property Editor to add a spurious line to its edit list. Added a list of properties to display for Widgets (which previously displayed no properties). The list of properties is updatable in the Preferences. To-dos include: -- a button in the palettes to switch back from the palette to the built-in editor -- making custom properties work in palette form -- should this be a separate (fifth) palette, or just an option in the properties palette? -- adding a Reset button to the properties/custom properties palette. There is no way to add a Reset button to the Command Panel. -- better documentation for the Command Panel. -- cleaning up the palettes -- each is just a stripped-down copy of Navigator, and some have not had as many unnecessary controls removed as others. -- better organization options for the palettes. -- option to lock a palette to a selection? Not sure. -- Saving Commands is broken. Need to rework that entirely. From tom at makeshyft.com Tue Sep 18 16:52:44 2018 From: tom at makeshyft.com (Tom Glod) Date: Tue, 18 Sep 2018 16:52:44 -0400 Subject: Navigator 6.3 alpha 1 is out -- major awesomeness! In-Reply-To: References: Message-ID: hey geoff..i came on here to find the latest version of the navigator since i had just upgraded to the 901 stable. great timing. I'm working on undoing old habits and making new ones around your navigator tool. excited to do less clicking, cheers On Tue, Sep 18, 2018 at 4:26 PM Geoff Canyon via use-livecode < use-livecode at lists.runrev.com> wrote: > As usual, you can get Navigator here > . Or grab it > from GitHub . > > I'm stunned at the impact this update to Navigator has had for me. I'm > excited to post this update. While I was building the Size/Location Editor > I had to repeatedly edit the rects and locations of the various bits, and > edit the tooltips, and the colors, etc. etc. Each time I would open the > editor, which is a modal within Navigator. So: Open the editor; make a > change, close the editor; change the selection; open the editor; make a > change... > > I thought of making the editor slide out and leave the Navigator list > accessible, but the geometry of that is tough -- what if Navigator is > already at the right side of the display? Finally, I settled on separate > palettes, and it turned out to be easier than I thought, and the end result > is (to me) amazing. My workflow is much faster and smoother than before. > The original behavior is still available, but palettes are it for me going > forward; it's just too easy. So here's the description, followed by other > updates included: > > gc > > > The Color Editor, the Size/Location Editor, the Property Editor, the Custom > Property Editor, and the Command Panel all now display a description of the > controls that will be affected, in the form of the name and ID of the > primary control (the one from which color values etc. are displayed) > followed by the number of additional controls selected for modification. > > The Color Editor, the Size/Location Editor, the Property Editor, and the > Command Panel, but *not* the Custom Property Editor, all now have a > "Palette" button that opens them in separate palette windows. These windows > can be minimized like standard Navigator windows, and the Property Editor > and Command Panel can be resized as needed. > > These new palettes will automatically update to reflect whatever the latest > selection is in any open Navigator window. So you can select three > controls, adjust their size in the Size/Location Editor, then select two > different controls in a different Navigator window and the Size/Location > Editor will immediately update to reflect that selection, and those two > controls can be resized. > > It's also possible to change the primary control just by clicking a new > control among the highlighted controls, which won't change the highlights, > just the primary control. > > The Preference dialog has a setting for "Editors as Palettes" that will > cause the editors to always open as palettes. Whatever the setting, you can > get the opposite by holding down the option/alt key while opening the > editors. > > This feature is new, and *very* powerful/dangerous. If you don't keep track > of what controls Navigator wants to modify, you can do some serious damage > really quickly. In my testing, the selection hasn't ever been wrong, but > it's fairly easy not to realize that the selection has changed, even though > all four palettes list what is being edited at the top of the palettes. BE > CAREFUL WITH THIS FEATURE. But boy oh boy it's a lot of fun! > > You can also have the palette open and then select the commands again and > have the editor open in Navigator the way it has historically while the > palette is still open. This is fine, albeit a little confusing. > > The Stacks menu now has options for Show IDE Stacks and Show Script-Only > Stacks. These affect what the menu displays, and also what the Stack List > displays. > > The Cards menu now has options for Card List and Background List. These > control what the menu displays and what shows in Navigator. So selecting > Background List will cause Navigator to display a list of the backgrounds, > and also the next time the menu is opened it will display a list of > backgrounds. > > Fixed a bug where the HTMLText caused the Property Editor to add a spurious > line to its edit list. > > Added a list of properties to display for Widgets (which previously > displayed no properties). The list of properties is updatable in the > Preferences. > > To-dos include: > -- a button in the palettes to switch back from the palette to the > built-in editor > -- making custom properties work in palette form -- should this be a > separate (fifth) palette, or just an option in the properties palette? > -- adding a Reset button to the properties/custom properties palette. > There is no way to add a Reset button to the Command Panel. > -- better documentation for the Command Panel. > -- cleaning up the palettes -- each is just a stripped-down copy of > Navigator, and some have not had as many unnecessary controls removed as > others. > -- better organization options for the palettes. > -- option to lock a palette to a selection? Not sure. > -- Saving Commands is broken. Need to rework that entirely. > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sep 18 17:15:41 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 18 Sep 2018 21:15:41 +0000 Subject: Creating Array - Auto Numeric References: Message-ID: On 9/18/18 7:15 AM, Tore Nilsen via use-livecode wrote: > You can not put the incrementing numeric key inside an associative array the way you want. The key of any array must be unique, and you can not have several instances of a key in an array. Think of the keys of the array it as the primary keys of a database table. It serves as a unique identifier. > > Best regards > Tore Nilsen From jacque at hyperactivesw.com Tue Sep 18 17:42:48 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Sep 2018 16:42:48 -0500 Subject: Creating Array - Auto Numeric In-Reply-To: References: Message-ID: On 9/18/18 10:41 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > I want to analyse the quote by going through each word. > > *----------* > > *repeat* withx = 1tothenumberofwordsoffld"_quote" > > # get the location of the word, put it into variable tWordLocation > > put tWordLocation to the WordLocationA[x][??][tWordLocation] > > end repeat > > ------- > > that we end with > > WordLocationA["Cut"][1][100,320] > WordLocationA["Cut"][2][300,320] > WordLocationA["the"][1][200,320] > WordLocationA["the"][2][400,320] > WordLocationA["apple"][2][500,320] > WordLocationA["banana"][2][500,320] I think this will get you close: put fld 1 into tQuote repeat with x = 1 to the number of truewords in tQuote put tWordLocation into tWordLocationA[trueword x of tQuote][x][tWordLocation] end repeat You could count word instances incrementally with more scripting, but this short way gives you something similar. It stores the word position to get this: tWordLocationA["Cut"][1][100,320] tWordLocationA["Cut"][4][300,320] tWordLocationA["the"][2][200,320] tWordLocationA["the"][5][400,320] tWordLocationA["apple"][3][500,320] tWordLocationA["banana"][6][500,320] If you do want an incremental word count, check the number of elements in each array key and add 1 to it instead of using "x" as the counter when filling the array. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brahma at hindu.org Tue Sep 18 18:01:54 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Tue, 18 Sep 2018 22:01:54 +0000 Subject: Creating Array - Auto Numeric References: Message-ID: Tore, must be talking about different things. fld "tQuote" = Cut the apple. Cut the banana. I CAN manually create what we need *on*mouseup * put*"100,320"intoWordLocationsA["Cut"][1] * put*"300,320"intoWordLocationsA["Cut"][2] * put*"200,320"intoWordLocationsA["the"][1] * put*"400,320"intoWordLocationsA["the"][2] * put*"500,320"intoWordLocationsA["apple"][1] * put*"700,320"intoWordLocationsA["banana"][1] * put*thekeysofWordLocationsA *end*mouseup Craig has almost got it *on*mouseUp * repeat* withy = 1tothenumberofwordsoffld"tQuote" * put*wordy offld"tQuote"intotWord * select*wordy offldtQuote * put*theselectedLocintowordLocationA[tWord][x] * end* *repeat* *end*mouseUp # how to get "x" to increment? but only by each key in the array? *on*mouseup * repeat* withy = 1tothenumberofwordsoffld"tQuote" * select*wordy offld"tQuote" * put*wordy offld"tQuote"&"|"& theselectedLoc& crafterwordLocationsA * end* *repeat* * delete*char-1 ofwordLocationsA * split*wordLocationsA bycrand"|" * put*thekeysofwordLocationsA intofld"result" *end*mouseUp #only on location is saved (of course) On 9/18/18 7:15 AM, Tore Nilsen via use-livecode wrote: > You can not put the incrementing numeric key inside an associative array the way you want. The key of any array must be unique, and you can not have several instances of a key in an array. Think of the keys of the array it as the primary keys of a database table. It serves as a unique identifier. > > Best regards > Tore Nilsen > > > > > >> 18. sep. 2018 kl. 17:41 skrev Sannyasin Brahmanathaswami via use-livecode : >> >> My head always breaks on complex array functions. I can't head around >> this algorithm >> >> Given a "quote" in a field >> >> "Cut the apple. Cut the banana" >> >> We get to location for each word (that is easy) >> >> I want to analyse the quote by going through each word. >> >> *----------* >> >> *repeat* withx = 1tothenumberofwordsoffld"_quote" >> >> # get the location of the word, put it into variable tWordLocation >> >> put tWordLocation to the WordLocationA[x][??][tWordLocation] >> >> end repeat >> >> ------- >> >> that we end with >> >> WordLocationA["Cut"][1][100,320] >> WordLocationA["Cut"][2][300,320] >> WordLocationA["the"][1][200,320] >> WordLocationA["the"][2][400,320] >> WordLocationA["apple"][2][500,320] >> WordLocationA["banana"][2][500,320] >> >> the "part" where incrementing the numeric key inside the repeat loop, >> "inside" the key, I can't get. >> >> BR >> >> >> >> >> From tore.nilsen at me.com Tue Sep 18 18:14:24 2018 From: tore.nilsen at me.com (Tore Nilsen) Date: Wed, 19 Sep 2018 00:14:24 +0200 Subject: Creating Array - Auto Numeric In-Reply-To: References: Message-ID: We are not talking about different things, but the same thing from different angles. I misinterpreted what you wanted to do from your example. What you do manually is creating an associative array with a numeric array as the values for each key in the associative array, which should work well. I should learn to read before I write, just as I should learn to listen for the questions before I give the answers. My students have told me as much, more than once! :-) Best Regards Tore > 19. sep. 2018 kl. 00:01 skrev Sannyasin Brahmanathaswami via use-livecode : > > Tore, must be talking about different things. > > fld "tQuote" = > > Cut the apple. Cut the banana. > > > I CAN manually create what we need > > *on*mouseup > > * put*"100,320"intoWordLocationsA["Cut"][1] > > * put*"300,320"intoWordLocationsA["Cut"][2] > > * put*"200,320"intoWordLocationsA["the"][1] > > * put*"400,320"intoWordLocationsA["the"][2] > > * put*"500,320"intoWordLocationsA["apple"][1] > > * put*"700,320"intoWordLocationsA["banana"][1] > > * put*thekeysofWordLocationsA > > *end*mouseup > > > Craig has almost got it > > > *on*mouseUp > > * repeat* withy = 1tothenumberofwordsoffld"tQuote" > > * put*wordy offld"tQuote"intotWord > > * select*wordy offldtQuote > > * put*theselectedLocintowordLocationA[tWord][x] > > * end* *repeat* > > *end*mouseUp > > # how to get "x" to increment? but only by each key in the array? > > *on*mouseup > > * repeat* withy = 1tothenumberofwordsoffld"tQuote" > > * select*wordy offld"tQuote" > > * put*wordy offld"tQuote"&"|"& theselectedLoc& crafterwordLocationsA > > * end* *repeat* > > * delete*char-1 ofwordLocationsA > > * split*wordLocationsA bycrand"|" > > * put*thekeysofwordLocationsA intofld"result" > > *end*mouseUp > > #only on location is saved (of course) > > > > > > > > On 9/18/18 7:15 AM, Tore Nilsen via use-livecode wrote: >> You can not put the incrementing numeric key inside an associative array the way you want. The key of any array must be unique, and you can not have several instances of a key in an array. Think of the keys of the array it as the primary keys of a database table. It serves as a unique identifier. >> >> Best regards >> Tore Nilsen >> >> >> >> >> >>> 18. sep. 2018 kl. 17:41 skrev Sannyasin Brahmanathaswami via use-livecode : >>> >>> My head always breaks on complex array functions. I can't head around >>> this algorithm >>> >>> Given a "quote" in a field >>> >>> "Cut the apple. Cut the banana" >>> >>> We get to location for each word (that is easy) >>> >>> I want to analyse the quote by going through each word. >>> >>> *----------* >>> >>> *repeat* withx = 1tothenumberofwordsoffld"_quote" >>> >>> # get the location of the word, put it into variable tWordLocation >>> >>> put tWordLocation to the WordLocationA[x][??][tWordLocation] >>> >>> end repeat >>> >>> ------- >>> >>> that we end with >>> >>> WordLocationA["Cut"][1][100,320] >>> WordLocationA["Cut"][2][300,320] >>> WordLocationA["the"][1][200,320] >>> WordLocationA["the"][2][400,320] >>> WordLocationA["apple"][2][500,320] >>> WordLocationA["banana"][2][500,320] >>> >>> the "part" where incrementing the numeric key inside the repeat loop, >>> "inside" the key, I can't get. >>> >>> 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 hh at hyperhh.de Tue Sep 18 18:19:50 2018 From: hh at hyperhh.de (hh) Date: Wed, 19 Sep 2018 00:19:50 +0200 Subject: Navigator 6.3 alpha 1 is out -- major awesomeness! Message-ID: <57230C16-C8B8-4E0E-9470-992AAAA79AA5@hyperhh.de> This is great work. Thanks. Admittedly, one has always to get accustomed gradually to the new features of Navigator. This time I needed one hour alone for getting informed about these. From monte at appisle.net Tue Sep 18 18:45:03 2018 From: monte at appisle.net (Monte Goulding) Date: Wed, 19 Sep 2018 08:45:03 +1000 Subject: App Dead on iOS 12 In-Reply-To: <1537301663648-0.post@n4.nabble.com> References: <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> <45641C0E-F7D6-4FA0-B354-791417841F9E@gmail.com> <9AC1C5B1-E726-46BE-9AE7-94EC22F46519@appisle.net> <983A54B4-8B14-49F5-AC48-FF3534E4775D@gmail.com> <53C9FDD8-D924-4E88-9DE6-2299D74849CE@appisle.net> <522CB5D6-C332-4C62-A133-95C519D1DB12@appisle.net> <311A5FCC-5D23-484D-BDA2-284E2FBFC276@unimelb.edu.au> <1349E189-884F-47B9-8F02-5A311F81BBED@unimelb.edu.au> <54CAADF1-6749-452B-9513-667D18F6B974@gmail.com> <1537301663648-0.post@n4.nabble.com> Message-ID: We have not been able to replicate the crash so it?s pretty important that we get a report with a recipe ASAP. Cheers Monte From jacque at hyperactivesw.com Tue Sep 18 18:57:09 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Sep 2018 17:57:09 -0500 Subject: Creating Array - Auto Numeric In-Reply-To: References: Message-ID: <5ea06a16-02f6-685e-07de-8b79cb79b849@hyperactivesw.com> On 9/18/18 5:01 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > # how to get "x" to increment? but only by each key in the array? Okay, try this: put fld 1 into tQuote repeat with x = 1 to the number of truewords in tQuote put the number of lines in keys(tWordLocationA[trueword x of tQuote])+1 into tNum put tWordLocation into tWordLocationA[trueword x of tQuote][tNum][tWordLocation] end repeat -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Tue Sep 18 19:18:00 2018 From: dochawk at gmail.com (doc hawk) Date: Tue, 18 Sep 2018 16:18:00 -0700 Subject: editGroup message? Message-ID: When choosing "edit group" from the toolbar (or otherwise), is there an "editGroup" or similar message sent that I can intercept? In particular, I want to set a flag that my auto-save routines can catch, as saving while in edit group knocks that mod out, sometimes with oddball effects. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From alex at tweedly.net Tue Sep 18 19:59:45 2018 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 19 Sep 2018 00:59:45 +0100 Subject: Creating Array - Auto Numeric In-Reply-To: <5ea06a16-02f6-685e-07de-8b79cb79b849@hyperactivesw.com> References: <5ea06a16-02f6-685e-07de-8b79cb79b849@hyperactivesw.com> Message-ID: or, ?? repeat for each trueword X in tQuote ????? put (item 2 of the extents of tWordLocationA[X]) + 1 into t1 ????? put tWordLocation into tWordLocationA[X][t1] ?? end repeat Alex On 18/09/2018 23:57, J. Landman Gay via use-livecode wrote: > On 9/18/18 5:01 PM, Sannyasin Brahmanathaswami via use-livecode wrote: >> # how to get "x" to increment? but only by each key in the array? > > Okay, try this: > > ? put fld 1 into tQuote > ? repeat with x = 1 to the number of truewords in tQuote > ??? put the number of lines in keys(tWordLocationA[trueword x of > tQuote])+1 into tNum > ??? put tWordLocation into tWordLocationA[trueword x of > tQuote][tNum][tWordLocation] > ? end repeat > From ambassador at fourthworld.com Tue Sep 18 21:48:38 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 18 Sep 2018 18:48:38 -0700 Subject: Creating Array - Auto Numeric In-Reply-To: References: Message-ID: <5ec43e4d-7adf-2539-7dc5-9d40bd243477@fourthworld.com> When solving a problem with a given data structure makes your head hurt, that may be an indication that your head's fine and the problem is with the data structure. :) Can you tell us a bit more about your goal with this? In your example output, if we look at this line: WordLocationA["Cut"][1][100,320] What do these numbers signify? And what will you be doing with this index once you have it? -- Richard Gaskin Fourth World Systems Sannyasin Brahmanathaswami wrote: > My head always breaks on complex array functions. I can't head around > this algorithm > > Given a "quote" in a field > > "Cut the apple. Cut the banana" > > We get to location for each word (that is easy) > > I want to analyse the quote by going through each word. > > *----------* > > *repeat* withx = 1tothenumberofwordsoffld"_quote" > > # get the location of the word, put it into variable tWordLocation > > put tWordLocation to the WordLocationA[x][??][tWordLocation] > > end repeat > > ------- > > that we end with > > WordLocationA["Cut"][1][100,320] > WordLocationA["Cut"][2][300,320] > WordLocationA["the"][1][200,320] > WordLocationA["the"][2][400,320] > WordLocationA["apple"][2][500,320] > WordLocationA["banana"][2][500,320] > > the "part" where incrementing the numeric key inside the repeat loop, > "inside" the key, I can't get. From brahma at hindu.org Tue Sep 18 22:23:04 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 19 Sep 2018 02:23:04 +0000 Subject: Creating Array - Auto Numeric References: <5ec43e4d-7adf-2539-7dc5-9d40bd243477@fourthworld.com> Message-ID: Well Alex won with "extents" in fact while he wrote that, I was in the User look at extents.' Jacque does that some thing.. put the number of lines in keys USE CASE Jacque and created a puzzle together, it take quotes of various lengths, creates image tiles of the words. Each tile has a customprop "uHomeLoc" that has the location where it wants to be placed. It uHome is set to false. The user drags the tile. Close to home it snaps into place and its "uHome" is set true. It cannot move anter that. That problem is a sentence having say "and" three times. Each "and" can only "go home" in one location. This is frustrating to users. Say we need to tell this tile "and" that "any one of these location will serve as home" I may end up switch to jacque model, which is to make "tile" be little fields, one of each word. But I use can the code for "images as tile" for to another game, which is putting picture together. BR On 9/18/18 3:49 PM, Richard Gaskin via use-livecode wrote: > When solving a problem with a given data structure makes your head hurt, > that may be an indication that your head's fine and the problem is with > the data structure. :) > > Can you tell us a bit more about your goal with this? > > In your example output, if we look at this line: > > WordLocationA["Cut"][1][100,320] > > What do these numbers signify? > > And what will you be doing with this index once you have it? -- Svasti Astu, Be Well! Brahmanathaswami Get the SivaSiva app, it's free: https://www.himalayanacademy.com/apps/sivasiva From tom at makeshyft.com Tue Sep 18 22:29:58 2018 From: tom at makeshyft.com (Tom Glod) Date: Tue, 18 Sep 2018 22:29:58 -0400 Subject: editGroup message? In-Reply-To: References: Message-ID: I don't think there is a msg but the editbg of stack "Mystack" = true when in editing mode. On Tue, Sep 18, 2018 at 7:18 PM doc hawk via use-livecode < use-livecode at lists.runrev.com> wrote: > When choosing "edit group" from the toolbar (or otherwise), is there an > "editGroup" or similar message sent that I can intercept? > > In particular, I want to set a flag that my auto-save routines can catch, > as saving while in edit group knocks that mod out, sometimes with oddball > effects. > > > > -- > 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 brian at milby7.com Tue Sep 18 23:15:32 2018 From: brian at milby7.com (Brian Milby) Date: Tue, 18 Sep 2018 22:15:32 -0500 Subject: editGroup message? In-Reply-To: References: Message-ID: <5dc5099c-11af-48b5-a9e1-ffbd04cdc076@Spark> I ran into this with ScriptTracker. I just disable the mode there. I looked at how to preserve and restore the setting, but didn?t find it at the time. I could tell if the mode was enabled, but not which background was being edited to restore afterwards. Thanks, Brian On Sep 18, 2018, 9:30 PM -0500, Tom Glod via use-livecode , wrote: > I don't think there is a msg but > > the editbg of stack "Mystack" = true when in editing mode. > > On Tue, Sep 18, 2018 at 7:18 PM doc hawk via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > When choosing "edit group" from the toolbar (or otherwise), is there an > > "editGroup" or similar message sent that I can intercept? > > > > In particular, I want to set a flag that my auto-save routines can catch, > > as saving while in edit group knocks that mod out, sometimes with oddball > > effects. > > > > > > > > -- > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 tom at makeshyft.com Tue Sep 18 23:26:13 2018 From: tom at makeshyft.com (Tom Glod) Date: Tue, 18 Sep 2018 23:26:13 -0400 Subject: editGroup message? In-Reply-To: <5dc5099c-11af-48b5-a9e1-ffbd04cdc076@Spark> References: <5dc5099c-11af-48b5-a9e1-ffbd04cdc076@Spark> Message-ID: hmmm.... i'm sure there is some way to find out .... the engine has to know which group is being edited...just have to find the engine property ....could be an undocumented one. Isn't there a stack that lists engine properties? haven't seen it in years but I think I recall something like that. maybe someone will know offhand. On Tue, Sep 18, 2018 at 11:16 PM Brian Milby via use-livecode < use-livecode at lists.runrev.com> wrote: > I ran into this with ScriptTracker. I just disable the mode there. I > looked at how to preserve and restore the setting, but didn?t find it at > the time. I could tell if the mode was enabled, but not which background > was being edited to restore afterwards. > > Thanks, > Brian > On Sep 18, 2018, 9:30 PM -0500, Tom Glod via use-livecode < > use-livecode at lists.runrev.com>, wrote: > > I don't think there is a msg but > > > > the editbg of stack "Mystack" = true when in editing mode. > > > > On Tue, Sep 18, 2018 at 7:18 PM doc hawk via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > When choosing "edit group" from the toolbar (or otherwise), is there an > > > "editGroup" or similar message sent that I can intercept? > > > > > > In particular, I want to set a flag that my auto-save routines can > catch, > > > as saving while in edit group knocks that mod out, sometimes with > oddball > > > effects. > > > > > > > > > > > > -- > > > 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 > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 brian at milby7.com Wed Sep 19 00:11:32 2018 From: brian at milby7.com (Brian Milby) Date: Tue, 18 Sep 2018 23:11:32 -0500 Subject: editGroup message? In-Reply-To: References: <5dc5099c-11af-48b5-a9e1-ffbd04cdc076@Spark> Message-ID: Now that I think about it a little more, I could figure it out as long as there is a control in the group... local tID, tGroup put the id of control 1 into tID stop editing put the long id of the owner of control id tID into tGroup later on, should be able to... start editing tGroup At least it works in the message box. Brian On Tue, Sep 18, 2018 at 10:26 PM Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > hmmm.... i'm sure there is some way to find out .... the engine has to know > which group is being edited...just have to find the engine property > ....could be an undocumented one. Isn't there a stack that lists engine > properties? haven't seen it in years but I think I recall something like > that. > > maybe someone will know offhand. > > On Tue, Sep 18, 2018 at 11:16 PM Brian Milby via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I ran into this with ScriptTracker. I just disable the mode there. I > > looked at how to preserve and restore the setting, but didn?t find it at > > the time. I could tell if the mode was enabled, but not which background > > was being edited to restore afterwards. > > > > Thanks, > > Brian > > On Sep 18, 2018, 9:30 PM -0500, Tom Glod via use-livecode < > > use-livecode at lists.runrev.com>, wrote: > > > I don't think there is a msg but > > > > > > the editbg of stack "Mystack" = true when in editing mode. > > > > > > On Tue, Sep 18, 2018 at 7:18 PM doc hawk via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > > > When choosing "edit group" from the toolbar (or otherwise), is there > an > > > > "editGroup" or similar message sent that I can intercept? > > > > > > > > In particular, I want to set a flag that my auto-save routines can > > catch, > > > > as saving while in edit group knocks that mod out, sometimes with > > oddball > > > > effects. > > > > > > > > > > > > > > > > -- > > > > 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 > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode 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 tom at makeshyft.com Wed Sep 19 00:13:22 2018 From: tom at makeshyft.com (Tom Glod) Date: Wed, 19 Sep 2018 00:13:22 -0400 Subject: editGroup message? In-Reply-To: References: <5dc5099c-11af-48b5-a9e1-ffbd04cdc076@Spark> Message-ID: nice workaround. On Wed, Sep 19, 2018 at 12:11 AM Brian Milby via use-livecode < use-livecode at lists.runrev.com> wrote: > Now that I think about it a little more, I could figure it out as long as > there is a control in the group... > > local tID, tGroup > put the id of control 1 into tID > stop editing > put the long id of the owner of control id tID into tGroup > > later on, should be able to... > > start editing tGroup > > At least it works in the message box. > > Brian > > On Tue, Sep 18, 2018 at 10:26 PM Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > hmmm.... i'm sure there is some way to find out .... the engine has to > know > > which group is being edited...just have to find the engine property > > ....could be an undocumented one. Isn't there a stack that lists engine > > properties? haven't seen it in years but I think I recall something like > > that. > > > > maybe someone will know offhand. > > > > On Tue, Sep 18, 2018 at 11:16 PM Brian Milby via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > I ran into this with ScriptTracker. I just disable the mode there. I > > > looked at how to preserve and restore the setting, but didn?t find it > at > > > the time. I could tell if the mode was enabled, but not which > background > > > was being edited to restore afterwards. > > > > > > Thanks, > > > Brian > > > On Sep 18, 2018, 9:30 PM -0500, Tom Glod via use-livecode < > > > use-livecode at lists.runrev.com>, wrote: > > > > I don't think there is a msg but > > > > > > > > the editbg of stack "Mystack" = true when in editing mode. > > > > > > > > On Tue, Sep 18, 2018 at 7:18 PM doc hawk via use-livecode < > > > > use-livecode at lists.runrev.com> wrote: > > > > > > > > > When choosing "edit group" from the toolbar (or otherwise), is > there > > an > > > > > "editGroup" or similar message sent that I can intercept? > > > > > > > > > > In particular, I want to set a flag that my auto-save routines can > > > catch, > > > > > as saving while in edit group knocks that mod out, sometimes with > > > oddball > > > > > effects. > > > > > > > > > > > > > > > > > > > > -- > > > > > 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 > > > > > > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode 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 ludovic.thebault at laposte.net Wed Sep 19 00:50:37 2018 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Wed, 19 Sep 2018 06:50:37 +0200 Subject: iOS 12 and SDK In-Reply-To: References: <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> <45641C0E-F7D6-4FA0-B354-791417841F9E@gmail.com> <9AC1C5B1-E726-46BE-9AE7-94EC22F46519@appisle.net> <983A54B4-8B14-49F5-AC48-FF3534E4775D@gmail.com> <53C9FDD8-D924-4E88-9DE6-2299D74849CE@appisle.net> <522CB5D6-C332-4C62-A133-95C519D1DB12@appisle.net> <311A5FCC-5D23-484D-BDA2-284E2FBFC276@unimelb.edu.au> <1349E189-884F-47B9-8F02-5A311F81BBED@unimelb.edu.au> <54CAADF1-6749-452B-9513-667D18F6B974@gmail.com> <1537301663648-0.post@n4.nabble.com> Message-ID: <7FEF17CA-5129-4203-BB1A-E5B76AEC7E3D@laposte.net> Hello, My app (built with Livecode 8) also crash on IOS 12. So, i built it with LC 9.01 and work on my device on iOS 12. I submitted it, but Application Loader rejected it : ERROR ITMS-90725: "SDK Version Issue. This app was built with the iOS '10.2' SDK. All iOS apps submitted to the App Store must be built with the iOS '11.0' SDK or later, included in Xcode [9.0] or later. Please update Xcode and rebuild your app. ? But i have only Xcode 8.2.1 and SDX 10, i am under MacOS X 10.11 and cannot upgrade. Any solution other than bought a new mac ? Thanks. Ludovic From monte at appisle.net Wed Sep 19 00:55:28 2018 From: monte at appisle.net (Monte Goulding) Date: Wed, 19 Sep 2018 14:55:28 +1000 Subject: iOS 12 and SDK In-Reply-To: <7FEF17CA-5129-4203-BB1A-E5B76AEC7E3D@laposte.net> References: <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> <45641C0E-F7D6-4FA0-B354-791417841F9E@gmail.com> <9AC1C5B1-E726-46BE-9AE7-94EC22F46519@appisle.net> <983A54B4-8B14-49F5-AC48-FF3534E4775D@gmail.com> <53C9FDD8-D924-4E88-9DE6-2299D74849CE@appisle.net> <522CB5D6-C332-4C62-A133-95C519D1DB12@appisle.net> <311A5FCC-5D23-484D-BDA2-284E2FBFC276@unimelb.edu.au> <1349E189-884F-47B9-8F02-5A311F81BBED@unimelb.edu.au> <54CAADF1-6749-452B-9513-667D18F6B974@gmail.com> <1537301663648-0.post@n4.nabble.com> <7FEF17CA-5129-4203-BB1A-E5B76AEC7E3D@laposte.net> Message-ID: <770A0DA9-B047-4B6B-84A1-FB55702ABFCD@appisle.net> > On 19 Sep 2018, at 2:50 pm, Ludovic THEBAULT via use-livecode wrote: > > My app (built with Livecode 8) also crash on IOS 12. > So, i built it with LC 9.01 and work on my device on iOS 12. > > I submitted it, but Application Loader rejected it : > ERROR ITMS-90725: "SDK Version Issue. This app was built with the iOS '10.2' SDK. All iOS apps submitted to the App Store must be built with the iOS '11.0' SDK or later, included in Xcode [9.0] or later. Please update Xcode and rebuild your app. ? > > But i have only Xcode 8.2.1 and SDX 10, i am under MacOS X 10.11 and cannot upgrade. > > Any solution other than bought a new mac ? Unfortunately not. Apple require apps submitted to the App Store to be built against 11+ now which means the minimum Xcode version you can use is Xcode 9.2 under macOS 10.12.6. Cheers Monte From ludovic.thebault at laposte.net Wed Sep 19 00:57:07 2018 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Wed, 19 Sep 2018 06:57:07 +0200 Subject: iOS 12 and SDK In-Reply-To: <770A0DA9-B047-4B6B-84A1-FB55702ABFCD@appisle.net> References: <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> <45641C0E-F7D6-4FA0-B354-791417841F9E@gmail.com> <9AC1C5B1-E726-46BE-9AE7-94EC22F46519@appisle.net> <983A54B4-8B14-49F5-AC48-FF3534E4775D@gmail.com> <53C9FDD8-D924-4E88-9DE6-2299D74849CE@appisle.net> <522CB5D6-C332-4C62-A133-95C519D1DB12@appisle.net> <311A5FCC-5D23-484D-BDA2-284E2FBFC276@unimelb.edu.au> <1349E189-884F-47B9-8F02-5A311F81BBED@unimelb.edu.au> <54CAADF1-6749-452B-9513-667D18F6B974@gmail.com> <1537301663648-0.post@n4.nabble.com> <7FEF17CA-5129-4203-BB1A-E5B76AEC7E3D@laposte.net> <770A0DA9-B047-4B6B-84A1-FB55702ABFCD@appisle.net> Message-ID: > Le 19 sept. 2018 ? 06:55, Monte Goulding via use-livecode a ?crit : > > > >> On 19 Sep 2018, at 2:50 pm, Ludovic THEBAULT via use-livecode wrote: >> >> My app (built with Livecode 8) also crash on IOS 12. >> So, i built it with LC 9.01 and work on my device on iOS 12. >> >> I submitted it, but Application Loader rejected it : >> ERROR ITMS-90725: "SDK Version Issue. This app was built with the iOS '10.2' SDK. All iOS apps submitted to the App Store must be built with the iOS '11.0' SDK or later, included in Xcode [9.0] or later. Please update Xcode and rebuild your app. ? >> >> But i have only Xcode 8.2.1 and SDX 10, i am under MacOS X 10.11 and cannot upgrade. >> >> Any solution other than bought a new mac ? > > Unfortunately not. Apple require apps submitted to the App Store to be built against 11+ now which means the minimum Xcode version you can use is Xcode 9.2 under macOS 10.12.6. > Ok, thanks Apple :) I?ll try to upgrade my OS to macOS 10.12, i read somewhere it could be possible. From jacque at hyperactivesw.com Wed Sep 19 02:03:25 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Sep 2018 01:03:25 -0500 Subject: editGroup message? In-Reply-To: References: <5dc5099c-11af-48b5-a9e1-ffbd04cdc076@Spark> Message-ID: <165f06d0fe0.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> The editBackground property is global, you're either in it or not. So just setting editBackground to false will pop you out of it, and won't do anything if it's already false. Given the use case, that's probably enough. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 18, 2018 11:13:33 PM Brian Milby via use-livecode wrote: > Now that I think about it a little more, I could figure it out as long as > there is a control in the group... > > local tID, tGroup > put the id of control 1 into tID > stop editing > put the long id of the owner of control id tID into tGroup > > later on, should be able to... > > start editing tGroup > > At least it works in the message box. > > Brian > > On Tue, Sep 18, 2018 at 10:26 PM Tom Glod via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> hmmm.... i'm sure there is some way to find out .... the engine has to know >> which group is being edited...just have to find the engine property >> ....could be an undocumented one. Isn't there a stack that lists engine >> properties? haven't seen it in years but I think I recall something like >> that. >> >> maybe someone will know offhand. >> >> On Tue, Sep 18, 2018 at 11:16 PM Brian Milby via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> > I ran into this with ScriptTracker. I just disable the mode there. I >> > looked at how to preserve and restore the setting, but didn?t find it at >> > the time. I could tell if the mode was enabled, but not which background >> > was being edited to restore afterwards. >> > >> > Thanks, >> > Brian >> > On Sep 18, 2018, 9:30 PM -0500, Tom Glod via use-livecode < >> > use-livecode at lists.runrev.com>, wrote: >> > > I don't think there is a msg but >> > > >> > > the editbg of stack "Mystack" = true when in editing mode. >> > > >> > > On Tue, Sep 18, 2018 at 7:18 PM doc hawk via use-livecode < >> > > use-livecode at lists.runrev.com> wrote: >> > > >> > > > When choosing "edit group" from the toolbar (or otherwise), is there >> an >> > > > "editGroup" or similar message sent that I can intercept? >> > > > >> > > > In particular, I want to set a flag that my auto-save routines can >> > catch, >> > > > as saving while in edit group knocks that mod out, sometimes with >> > oddball >> > > > effects. >> > > > >> > > > >> > > > >> > > > -- >> > > > 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 >> > > > >> > > _______________________________________________ >> > > use-livecode mailing list >> > > use-livecode 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 Wed Sep 19 02:11:02 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Sep 2018 01:11:02 -0500 Subject: Creating Array - Auto Numeric In-Reply-To: References: <5ec43e4d-7adf-2539-7dc5-9d40bd243477@fourthworld.com> Message-ID: <165f0740cf0.2761.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I always forget about "extents". I like concise code, Alex wins. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 18, 2018 9:25:02 PM Sannyasin Brahmanathaswami via use-livecode wrote: > Well Alex won with "extents" From jacque at hyperactivesw.com Wed Sep 19 02:31:07 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Sep 2018 01:31:07 -0500 Subject: Standalone build workaround Message-ID: The standalone builder no longer locks messages; the docs say this: "As an attempt to improve this situation, the code that locks messages when closing and opening stacks for standalone builds has been removed. This means that where previously mainstacks would not receive openStack and closeStack messages during standalone build, they now do." First off, is this true only for openstack and closestack, or for all open*/close* messages, such as opencard, openbackground, etc.? Secondly, if the suggested workaround is placed into an openStack handler: on openstack if the environment is "development" and the mode of stack "revStandaloneProgress" > 0 then exit openStack end if end openstack The IDE throws an error: can't find stack Suggestions? I'm trying to help someone debug this problem, as the stack has an openStack handler that needs to run. If the issue only applies to openStack messages, then we can change the handler to openCard instead. If the problem is for all open* messages then we need another solution. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From merakosp at gmail.com Wed Sep 19 03:45:11 2018 From: merakosp at gmail.com (panagiotis merakos) Date: Wed, 19 Sep 2018 10:45:11 +0300 Subject: Standalone build workaround In-Reply-To: References: Message-ID: Hello Jacque, The Standalone Builder closes and opens the stack when building a standalone, so this means that all the messages that are sent when closing and opening the stack will be sent. So yes, all the (pre)open*/close* messages are expected to be sent. The "if" block should change to: if the environment is "development" AND there is a stack "revStandaloneProgress" AND the mode of stack "revStandaloneProgress" > 0 then exit handlerName end if as when you open the stack for the first time (without having built a standalone before), the stack "revStandaloneProgress" is not loaded yet (thus the "can't find stack error). So you could write a function: function isBuildingStandalone return the environment is "development" AND \ there is a stack "revStandaloneProgress" AND \ the mode of stack "revStandaloneProgress" > 0 end isBuildingStandalone and then in e.g. the openstack handler: on openstack if isBuildingStandalone() then exit openstack end if .. .. end openstack Similar in all other (pre)open*/close* messages. Kind regards, Panos -- On Wed, Sep 19, 2018 at 9:31 AM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > The standalone builder no longer locks messages; the docs say this: > > "As an attempt to improve this situation, the code that locks messages > when closing and opening stacks for standalone builds has been removed. > This means that where previously mainstacks would not receive openStack > and closeStack messages during standalone build, they now do." > > First off, is this true only for openstack and closestack, or for all > open*/close* messages, such as opencard, openbackground, etc.? > > Secondly, if the suggested workaround is placed into an openStack handler: > > on openstack > if the environment is "development" and the mode of stack > "revStandaloneProgress" > 0 then > exit openStack > end if > end openstack > > The IDE throws an error: can't find stack > > Suggestions? I'm trying to help someone debug this problem, as the stack > has an openStack handler that needs to run. If the issue only applies to > openStack messages, then we can change the handler to openCard instead. > If the problem is for all open* messages then we need another solution. > > -- > 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 andrew at midwestcoastmedia.com Wed Sep 19 08:26:57 2018 From: andrew at midwestcoastmedia.com (andrew at midwestcoastmedia.com) Date: Wed, 19 Sep 2018 12:26:57 +0000 Subject: iOS 12 and SDK In-Reply-To: Message-ID: <20180919122657.Horde.LtajrMkvlZ9wokRuiIofFD2@ua850258.serversignin.com> I ran into the same problem: had to upgrade from Xcode 8.2 to 9.2, which required that I upgrade from macOS 10.11 to 10.12. You can download the update from Apple through the App Store @ https://support.apple.com/en-us/HT208202 but will need to log into the Apple developer site to download the older version of Xcode since they just released 10. --Andrew Bell > Date: Wed, 19 Sep 2018 06:57:07 +0200 > From: Ludovic THEBAULT > To: How to use LiveCode > Subject: Re: iOS 12 and SDK > >>> My app (built with Livecode 8) also crash on IOS 12. >>> So, i built it with LC 9.01 and work on my device on iOS 12. >>> >>> I submitted it, but Application Loader rejected it : >>> ERROR ITMS-90725: "SDK Version Issue. This app was built with the >>> iOS '10.2' SDK. All iOS apps submitted to the App Store must be >>> built with the iOS '11.0' SDK or later, included in Xcode [9.0] or >>> later. Please update Xcode and rebuild your app. ? >>> >>> But i have only Xcode 8.2.1 and SDX 10, i am under MacOS X 10.11 >>> and cannot upgrade. >>> >>> Any solution other than bought a new mac ? >> >> Unfortunately not. Apple require apps submitted to the App Store to >> be built against 11+ now which means the minimum Xcode version you >> can use is Xcode 9.2 under macOS 10.12.6. >> > > Ok, thanks Apple :) > > I?ll try to upgrade my OS to macOS 10.12, i read somewhere it could > be possible. > From MikeKerner at roadrunner.com Wed Sep 19 08:45:04 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 19 Sep 2018 08:45:04 -0400 Subject: best way to open a script-only library stack? In-Reply-To: <410ebdf1-e461-6adc-46ca-689c0b70dcee@hyperactivesw.com> References: <5B9FE923.9030803@sonasoftware.com> <8220c16d-516d-fafa-6bdd-7745cf872afa@fourthworld.com> <410ebdf1-e461-6adc-46ca-689c0b70dcee@hyperactivesw.com> Message-ID: I work on all my SOS's with a text editor instead of in the LC script editor. If you're using Atom or Sublime Text you can generate "projects" which are just pointers to a folder. Then on the left panel there will be a quick-click list of SOS's to edit for that project. If you use Sublime, you can do what Trevor is doing with Levure projects, and have it send a message to LC to have it reload the stack when you save it. I think the easiest way to get at them from inside LC is through the PB. On Tue, Sep 18, 2018 at 1:17 AM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 9/17/18 8:45 PM, Richard Gaskin via use-livecode wrote: > > While in memory it has all the properties of any stack in memory. > > I just checked, and script-only stacks do have filenames. I didn't > realize that before, I'd assumed they were temporary only. Good info. > > -- > 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 > -- 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 hh at hyperhh.de Wed Sep 19 10:59:40 2018 From: hh at hyperhh.de (hh) Date: Wed, 19 Sep 2018 16:59:40 +0200 Subject: editGroup message? Message-ID: @Brian (using the complement of your approach): IIRC, if there is one object outside of the group then this doesn't exist while the group is edited. So if there is no btn "TOP" (outside of the group) then the group is in edit mode -- any group. From chipsm at themartinz.com Wed Sep 19 11:04:04 2018 From: chipsm at themartinz.com (chipsm at themartinz.com) Date: Wed, 19 Sep 2018 08:04:04 -0700 Subject: Plug-Ins Message-ID: <07ad01d4502a$0168f050$043ad0f0$@themartinz.com> I have been using LiveCode for a few years now. I may be "long in the Tooth" but not when it comes to Livecode. I have noticed that in recent postings on this list that there has been some interest in several Plug-ins lately. Some are "Paid for" and other are free. But what is abundantly clear is the fact that the people that created these Plug-Ins are pretty dedicated to LiveCode and its ability to provide a complete programming environment that, in my judgment, is second to none. Oh, I am sure that most of the "young "C" "gunslingers" out there won't agree, but at some point they will realize that LiveCode is truly a Good, if not, Great programming environment. The point here is too acknowledge the Great work that has been done to enhance the LiveCode Experience by these LiveCode developers. I encourage the LiveCode Community to explore these Plug-ins and try using them. Any acknowledgement to the Providers of these tools, I am sure will greatly be appreciated. Plug-In providers: Please take some time to do some self-indulging "pat yourself on the back" information sharing about the Plug-ins that you have created. These tools are Great, but please take the time to let people know what these tools can do for them. Also, it might be helpful if you can supply a "YouTube" video about your plug-in. Sincerely, Clarence Martin Email: Chipsm at themartinz.com Cell: 626 696-5561 -----Original Message----- From: use-livecode On Behalf Of Clarence Martin via use-livecode Sent: Tuesday, September 18, 2018 12:27 PM To: 'How to use LiveCode' Cc: chipsm at themartinz.com Subject: RE: Forums misbehaving Ah! Success. Sincerely, Clarence Martin Email: Chipsm at themartinz.com Cell: 626 696-5561 -----Original Message----- From: use-livecode On Behalf Of J. Landman Gay via use-livecode Sent: Tuesday, September 18, 2018 12:09 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: Forums misbehaving It often has something to do with cookies not being saved. On 9/18/18 1:48 PM, Richmond via use-livecode wrote: > I had this on a 32-bit Xubuntu 18.04 install with Firefox. > > Richmond. > > On 18.09.2018 19:46, dunbarxx via use-livecode wrote: >> Never seen this. Richmond, are you on a computer or a portable device? >> >> Craig -- 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 brahma at hindu.org Wed Sep 19 10:53:16 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Wed, 19 Sep 2018 14:53:16 +0000 Subject: App Dead on iOS 12 References: <571BC0F7-38F8-4923-8838-37A947C96AB2@clearvisiontech.com> <2730E72B-0E73-4B86-B42C-F415D6C3DBCA@unimelb.edu.au> Message-ID: On 9/17/18 1:11 PM, Terry Judd via use-livecode wrote: > OK - just to follow up on that, I rebuilt one of the apps using LC 9.0.1 - I'm still on OSX 10.10.5 so I'm using an older version of XCode - anyway, the app installs and launches on the iPad OK but the app icon is missing. Any ideas on how to get it to show up? > > Terry... I am coming late to this thread, but I just got a report from India. ======== This is SSNA Prasad, from Vijayawada, Andhra Prasad, India, I am a student of Mastercourse, While I am using SIVA SIVA APP in IOS 12 in Apple SE mobile, it is not working, just I want to inform to you. Please find and do the needful. Aum Sivaya Prasad. ========== That not a good bug report, is their something specific I can ask him? Like the home icon is not showing? Put it will be "pandemic" as everyone runs their next iOS update. Panos says "on an iPhone7 running the latest iOS 12 beta and there was no crash." So if it is release with 9.0.1, stable, we should be "good"? Anything else I need to do? From hh at hyperhh.de Wed Sep 19 11:35:06 2018 From: hh at hyperhh.de (hh) Date: Wed, 19 Sep 2018 17:35:06 +0200 Subject: ControlHandles_v100 Message-ID: ControlHandles_v100 (LC Script stack) is a group of handles (polygon and graphics) that essentialy work, in browse mode, like the object handles in pointer mode. The demo stack needs LC 8 or 9 because of contained widgets. (linux users: there are also 2 browser widgets in there). The copied button for use in your own stack will work on LC 6/7/8/9 on Mac/Win/linux. It is all in one menu button by which you include/exclude which controls are selectable as target. The rest is done by the button. This works for ALL LC controls **especially for ALL widgets**, also those that don't pass any mouse event. (Use a monospaced font) ############################### # 9 # # | # # 1 ---- 2 ---- 3 # # | | # # 12 -- 8 4 -- 10 # # | | # # 7 ---- 6 ---- 5 # # | # # 11 # ############################### CLICK ACTIONS 1,3,5,7: Resize _+Shift: Resize proportionally 2,6: Height 4,8: Width 9,10,11,12: Grab _+Cmd or RightClick: Hide Poly _+Shift: Hide control and Poly Download from "Sample Stacks" or http://livecodeshare.runrev.com/download/stack/902 From hh at hyperhh.de Wed Sep 19 11:51:41 2018 From: hh at hyperhh.de (hh) Date: Wed, 19 Sep 2018 17:51:41 +0200 Subject: ControlHandles_v100 Message-ID: <02E34220-C162-43F7-8D85-167EB930E8E8@hyperhh.de> Sorry, the correct link is http://livecodeshare.runrev.com/stack/902/ From ludovic.thebault at laposte.net Wed Sep 19 13:44:08 2018 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Wed, 19 Sep 2018 19:44:08 +0200 Subject: custom plist Message-ID: Hello, I use the http://lessons.livecode.com/m/4069/l/881992-creating-a-custom-plist to create a custom info.plist for my app. But i need to modify it for each build to change CFBundleVersion and CFBundleShortVersionString. How let the standalone builder modify the CFBundleVersion and CFBundleShortVersionString automatically ? Thanks Ludovic From chipsm at themartinz.com Wed Sep 19 13:50:59 2018 From: chipsm at themartinz.com (chipsm at themartinz.com) Date: Wed, 19 Sep 2018 10:50:59 -0700 Subject: Plug-Ins In-Reply-To: <07ad01d4502a$0168f050$043ad0f0$@themartinz.com> References: <07ad01d4502a$0168f050$043ad0f0$@themartinz.com> Message-ID: <093401d45041$533c8b00$f9b5a100$@themartinz.com> I currently use several plug-ins: RevNavigator by Geoff Canyon LCStackBrowser by Peter Haworth lctaskList by Bill Blavhos 4WDevo by Richard Gaskin. FourthWorld revArrayBrowser by unknown DataGridHelper by zryip theSlug There are several of these that I automatically load on LC Startup and others, I use on demand. It would be nice to get some feedback on what others are using. Sincerely, Clarence Martin Email: Chipsm at themartinz.com Cell: 626 696-5561 -----Original Message----- From: use-livecode On Behalf Of Clarence Martin via use-livecode Sent: Wednesday, September 19, 2018 8:04 AM To: 'How to use LiveCode' Cc: chipsm at themartinz.com Subject: Plug-Ins I have been using LiveCode for a few years now. I may be "long in the Tooth" but not when it comes to Livecode. I have noticed that in recent postings on this list that there has been some interest in several Plug-ins lately. Some are "Paid for" and other are free. But what is abundantly clear is the fact that the people that created these Plug-Ins are pretty dedicated to LiveCode and its ability to provide a complete programming environment that, in my judgment, is second to none. Oh, I am sure that most of the "young "C" "gunslingers" out there won't agree, but at some point they will realize that LiveCode is truly a Good, if not, Great programming environment. The point here is too acknowledge the Great work that has been done to enhance the LiveCode Experience by these LiveCode developers. I encourage the LiveCode Community to explore these Plug-ins and try using them. Any acknowledgement to the Providers of these tools, I am sure will greatly be appreciated. Plug-In providers: Please take some time to do some self-indulging "pat yourself on the back" information sharing about the Plug-ins that you have created. These tools are Great, but please take the time to let people know what these tools can do for them. Also, it might be helpful if you can supply a "YouTube" video about your plug-in. Sincerely, Clarence Martin Email: Chipsm at themartinz.com Cell: 626 696-5561 -----Original Message----- From: use-livecode On Behalf Of Clarence Martin via use-livecode Sent: Tuesday, September 18, 2018 12:27 PM To: 'How to use LiveCode' Cc: chipsm at themartinz.com Subject: RE: Forums misbehaving Ah! Success. Sincerely, Clarence Martin Email: Chipsm at themartinz.com Cell: 626 696-5561 -----Original Message----- From: use-livecode On Behalf Of J. Landman Gay via use-livecode Sent: Tuesday, September 18, 2018 12:09 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: Forums misbehaving It often has something to do with cookies not being saved. On 9/18/18 1:48 PM, Richmond via use-livecode wrote: > I had this on a 32-bit Xubuntu 18.04 install with Firefox. > > Richmond. > > On 18.09.2018 19:46, dunbarxx via use-livecode wrote: >> Never seen this. Richmond, are you on a computer or a portable device? >> >> Craig -- 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 rdimola at evergreeninfo.net Wed Sep 19 13:56:59 2018 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 19 Sep 2018 13:56:59 -0400 Subject: When an Absolute Path is Not So Absolute In-Reply-To: <02E34220-C162-43F7-8D85-167EB930E8E8@hyperhh.de> References: <02E34220-C162-43F7-8D85-167EB930E8E8@hyperhh.de> Message-ID: <007301d45042$2c5fb380$851f1a80$@net> FYI I'm caching downloaded documents in an iOS app. I was storing the path/filename in a local db and checking in subsequent launches to see if the document needed a download. A demo went horribly wrong when we had no network access. I downloaded all the documents THEN did a small app fix and off we went to the demo. Little did I realize that the UUID in the path changes with every app update. So when the app did a==> "there is a file(stored path and filename)" returned false even though the document was on the device. Solution: store only the file name in the db and recreate the path at run time before verifying the file's existence. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From gcanyon at gmail.com Wed Sep 19 14:05:45 2018 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 19 Sep 2018 11:05:45 -0700 Subject: Standalone build workaround In-Reply-To: References: Message-ID: On Tue, Sep 18, 2018 at 11:31 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > The standalone builder no longer locks messages; the docs say this: > > "As an attempt to improve this situation, the code that locks messages > when closing and opening stacks for standalone builds has been removed. > This means that where previously mainstacks would not receive openStack > and closeStack messages during standalone build, they now do." > Where in the docs does it say this (or what is the "situation" the code is trying to improve)? From gcanyon at gmail.com Wed Sep 19 14:08:28 2018 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 19 Sep 2018 11:08:28 -0700 Subject: best way to open a script-only library stack? In-Reply-To: References: <5BA01C3B.4060504@sonasoftware.com> Message-ID: In Navigator when you double-click a control to open its script, if it has a behavior, that script opens automatically. On Mon, Sep 17, 2018 at 3:00 PM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > I have a development menu with all the behaviors and script only stacks in > a submenu. It's a hack but it makes editing a behavior script simple and > without having to switch to pointer mode. > > Bob S > > > > On Sep 17, 2018, at 14:27 , Curtis Ford via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > --When you start using a script-only stack, LC creates a temporary hidden > > --stack in RAM and assigns the script to it. It's there but not visible. > > > > Ah ha... now at least I don't feel silly for not finding it. > > > > And it is in the Project Browser too ? I may have opened it from there > once actually, and was then puzzled why I got a conflict from opening the > file another time. > > > > Thanks Jacque! I'll owe you a coffee or beer or something in San Jose. :) > > > > Curt > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sep 19 15:26:54 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Sep 2018 14:26:54 -0500 Subject: Standalone build workaround In-Reply-To: References: Message-ID: On 9/19/18 1:05 PM, Geoff Canyon via use-livecode wrote: > On Tue, Sep 18, 2018 at 11:31 PM J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> The standalone builder no longer locks messages; the docs say this: >> >> "As an attempt to improve this situation, the code that locks messages >> when closing and opening stacks for standalone builds has been removed. >> This means that where previously mainstacks would not receive openStack >> and closeStack messages during standalone build, they now do." >> > > Where in the docs does it say this (or what is the "situation" the code is > trying to improve)? The Release Notes, page 3. The situation it tries to fix: "The standalone builder has always needed to close the stacks it builds for reasons pretty deeply ingrained in the code. However this causes a few problems, for example: values in script locals become empty behaviors are broken when the parent script is on / in a stack which closes" I'm finding that the workaround is more trouble than the initial issues. The stack I'm helping with has multiple open* and close* handlers, and they all need to be updated. I'd like a toggle somewhere so we can choose whether to use the new build behavior. Backward compatibility is broken now. His build was throwing dozens of errors and always failed, and he was ready to drop LC entirely after a week trying to fix it himself. Not everyone reads this list or the release notes, and even if he had, the release notes are wrong. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Wed Sep 19 16:18:00 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 19 Sep 2018 13:18:00 -0700 Subject: Standalone build workaround In-Reply-To: References: Message-ID: <494b9ed7-73a7-b426-0ac4-f5d99759dc95@fourthworld.com> J. Landman Gay wrote: >> On Tue, Sep 18, 2018 at 11:31 PM J. Landman Gay via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> The standalone builder no longer locks messages; the docs say this: >>> >>> "As an attempt to improve this situation, the code that locks messages >>> when closing and opening stacks for standalone builds has been removed. >>> This means that where previously mainstacks would not receive openStack >>> and closeStack messages during standalone build, they now do." >>> >> >> Where in the docs does it say this (or what is the "situation" the code is >> trying to improve)? > > The Release Notes, page 3. The situation it tries to fix: > > "The standalone builder has always needed to close the stacks it builds > for reasons pretty deeply ingrained in the code. However this causes a > few problems, for example: > values in script locals become empty > behaviors are broken when the parent script is on / in a stack which closes" > > I'm finding that the workaround is more trouble than the initial issues. > The stack I'm helping with has multiple open* and close* handlers, and > they all need to be updated. ^ this Building a standalone is the whole point of the process of developing with LC, and now that it's so disruptive it kills the joy of choosing LiveCode. For more than a decade I've believed making the SB into a separate process would be a good idea. It's no longer a good idea. It's now a necessity. -- 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 curry at pair.com Wed Sep 19 17:30:17 2018 From: curry at pair.com (Curry Kenworthy) Date: Wed, 19 Sep 2018 17:30:17 -0400 Subject: Standalone build workaround In-Reply-To: <494b9ed7-73a7-b426-0ac4-f5d99759dc95@fourthworld.com> References: <494b9ed7-73a7-b426-0ac4-f5d99759dc95@fourthworld.com> Message-ID: <5BA2BFE9.2080200@pair.com> Jacqueline: > I'm finding that the workaround is more trouble than the > initial issues. Amen. This kind of workaround, I could understand if we were doing it ourselves; although I would hope for it to be a little more elegant even then. But as an official workaround that comes with the product - it doesn't work. This, and the approach that led to this, needs to be rethought. Richard: > so disruptive it kills the joy of choosing LiveCode. Yep, LC/RR started out designing the IDE (if memory serves, I do vaguely and fondly remember the days of v1, not to mention 273) and as important as the engine is, it's good never to forget your roots. This is the face of LiveCode that everyone sees and experiences. Seeing/touching/interacting really is very necessary to the user, as important as it ever was. :) (BTW I hasten to add, not needing another total makeover, just giving appropriate attention to high IDE quality. Sometimes that involves changes, other times maybe thinking twice about changes - looking before leaping is an old but excellent philosophy. Changes don't always have to be big. Hone is a good word for a tool.) > For more than a decade I've believed making the SB into a > separate process would be a good idea. > It's no longer a good idea. It's now a necessity. Indeed a good idea - another perhaps easy option (if it works) might be to close the stack completely during the build, and open it again when completely finished, or let us do so. We don't really need to see the stack sitting there in the IDE during the build, it doesn't accomplish anything. Either way, the current solution is not viable. PS - one person who mentioned this issue to me a few days ago could have had a quick fix for his project, but may have talked himself out of it. I'm always here if needed - to talk yes, but more especially to fix. ;) Best wishes, Curry Kenworthy Custom Software Development LiveCode Training and Consulting http://livecodeconsulting.com/ From monte at appisle.net Wed Sep 19 18:47:21 2018 From: monte at appisle.net (Monte Goulding) Date: Thu, 20 Sep 2018 08:47:21 +1000 Subject: Standalone build workaround In-Reply-To: <494b9ed7-73a7-b426-0ac4-f5d99759dc95@fourthworld.com> References: <494b9ed7-73a7-b426-0ac4-f5d99759dc95@fourthworld.com> Message-ID: > On 20 Sep 2018, at 6:18 am, Richard Gaskin via use-livecode wrote: > > Building a standalone is the whole point of the process of developing with LC, and now that it's so disruptive it kills the joy of choosing LiveCode. > > For more than a decade I've believed making the SB into a separate process would be a good idea. > > It's no longer a good idea. It's now a necessity. Unfortunately we are caught between leaving the stack in a state where any local variables that are meant to be initialised are unset or letting the engine do its thing when the stack reopens and send messages that allow those initialisations to occur. The latter, while a big change, was considered the lesser of two evils because at least it allows you to code around the situation rather than just ending up with a stack in a state where you need to quit and restart the IDE. Ideally, yes, standalone building (at least the parts that manipulate the open stacks causing them to need to be reverted) would be a separate process. Cheers Monte From bobsneidar at iotecdigital.com Wed Sep 19 19:15:35 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 19 Sep 2018 23:15:35 +0000 Subject: Creating Array - Auto Numeric In-Reply-To: <5ec43e4d-7adf-2539-7dc5-9d40bd243477@fourthworld.com> References: <5ec43e4d-7adf-2539-7dc5-9d40bd243477@fourthworld.com> Message-ID: <69BE51CC-ACA6-40B8-941E-0A9A3EBE7CDA@iotecdigital.com> I was going to say something similar, but thought better of it. Sometimes you need to step back and ask yourself, "What exactly am I trying to do here", or a better question is, "How do I get from where I am to where I want to be (in terms of the data) with the least amount of fuss?" Bob S > On Sep 18, 2018, at 18:48 , Richard Gaskin via use-livecode wrote: > > When solving a problem with a given data structure makes your head hurt, that may be an indication that your head's fine and the problem is with the data structure. :) From livfoss at mac.com Wed Sep 19 19:20:17 2018 From: livfoss at mac.com (Graham Samuel) Date: Thu, 20 Sep 2018 01:20:17 +0200 Subject: Standalone build workaround In-Reply-To: References: <494b9ed7-73a7-b426-0ac4-f5d99759dc95@fourthworld.com> Message-ID: I am very late to this conversation, but does this mean that a very naive user, devising a simple app that is going to end up as a standalone, will suddenly be plunged into weird unguided coding issues just because the code contains ?preOpenStack? and similar handlers, maybe even a ?Startup? handler (I use those a lot myself)? If this is true, then I agree with Richard that LiveCode has suddenly got a loss less attractive in its central function - the creation of software that runs on the developer?s chosen platform(s). Just tell me I?m wrong. Graham > On 20 Sep 2018, at 00:47, Monte Goulding via use-livecode wrote: > > > >> On 20 Sep 2018, at 6:18 am, Richard Gaskin via use-livecode wrote: >> >> Building a standalone is the whole point of the process of developing with LC, and now that it's so disruptive it kills the joy of choosing LiveCode. >> >> For more than a decade I've believed making the SB into a separate process would be a good idea. >> >> It's no longer a good idea. It's now a necessity. > > Unfortunately we are caught between leaving the stack in a state where any local variables that are meant to be initialised are unset or letting the engine do its thing when the stack reopens and send messages that allow those initialisations to occur. The latter, while a big change, was considered the lesser of two evils because at least it allows you to code around the situation rather than just ending up with a stack in a state where you need to quit and restart the IDE. > > Ideally, yes, standalone building (at least the parts that manipulate the open stacks causing them to need to be reverted) would be a separate process. > > 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 bobsneidar at iotecdigital.com Wed Sep 19 19:20:39 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 19 Sep 2018 23:20:39 +0000 Subject: Standalone build workaround In-Reply-To: References: Message-ID: Oh THIS is the issue I was having where I launch a modal stack to ask for a password when I open my mainstack! Jacques informed me I can shift-ctrl-cmd right-click the stack and set the style to topLevel and the compiler would proceed as normal, but Panagiotis solution looks better. I will implement that instead. Bob S > On Sep 18, 2018, at 23:31 , J. Landman Gay via use-livecode wrote: > > The standalone builder no longer locks messages; the docs say this: > > "As an attempt to improve this situation, the code that locks messages when closing and opening stacks for standalone builds has been removed. This means that where previously mainstacks would not receive openStack and closeStack messages during standalone build, they now do." > > First off, is this true only for openstack and closestack, or for all open*/close* messages, such as opencard, openbackground, etc.? > > Secondly, if the suggested workaround is placed into an openStack handler: > > on openstack > if the environment is "development" and the mode of stack "revStandaloneProgress" > 0 then > exit openStack > end if > end openstack > > The IDE throws an error: can't find stack > > Suggestions? I'm trying to help someone debug this problem, as the stack has an openStack handler that needs to run. If the issue only applies to openStack messages, then we can change the handler to openCard instead. If the problem is for all open* messages then we need another solution. > > -- > 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 bobsneidar at iotecdigital.com Wed Sep 19 19:24:12 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 19 Sep 2018 23:24:12 +0000 Subject: Standalone build workaround In-Reply-To: References: <494b9ed7-73a7-b426-0ac4-f5d99759dc95@fourthworld.com> Message-ID: <3496C339-D4B0-440E-BBF3-762BE635C921@iotecdigital.com> Read my post, but yes if your handlers do something that can potentially interfere with the standalone builder running (like opening a stack modally) then things can get wiggy. You cannot simply suspend messages before building (as I understand it) because the standalone builder needs to send messages itself. Bob S > On Sep 19, 2018, at 16:20 , Graham Samuel via use-livecode wrote: > > I am very late to this conversation, but does this mean that a very naive user, devising a simple app that is going to end up as a standalone, will suddenly be plunged into weird unguided coding issues just because the code contains ?preOpenStack? and similar handlers, maybe even a ?Startup? handler (I use those a lot myself)? If this is true, then I agree with Richard that LiveCode has suddenly got a loss less attractive in its central function - the creation of software that runs on the developer?s chosen platform(s). Just tell me I?m wrong. > > Graham From jacque at hyperactivesw.com Wed Sep 19 20:52:40 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Sep 2018 19:52:40 -0500 Subject: Standalone build workaround In-Reply-To: References: <494b9ed7-73a7-b426-0ac4-f5d99759dc95@fourthworld.com> Message-ID: <165f476efc0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> That's what happened to the person I'm helping. He's not a sophisticated coder and needed someone else to write a basic openstack handler a few years ago. He's been tinkering with the stack now and then and building new apps occasionally as it changed. He called me, very distressed, and was ready to throw out LC entirely. He'd been trying for a week to build the app and was getting infinite repeated error dialogs that couldn't be dismissed. The error dialog was empty so there was no clue what was wrong and clicking the Script button did nothing. He had contacted support but couldn't afford the rate they wanted to debug the problem. He had no idea why the build suddenly failed all of a sudden. He's a paying Indie customer and LC would have lost him. So yeah, there's repercussions. I do understand the choice the team had to make, but most of us were used to the old way and had already accommodated. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 19, 2018 6:22:05 PM Graham Samuel via use-livecode wrote: > I am very late to this conversation, but does this mean that a very naive > user, devising a simple app that is going to end up as a standalone, will > suddenly be plunged into weird unguided coding issues just because the code > contains ?preOpenStack? and similar handlers, maybe even a ?Startup? > handler (I use those a lot myself)? If this is true, then I agree with > Richard that LiveCode has suddenly got a loss less attractive in its > central function - the creation of software that runs on the developer?s > chosen platform(s). Just tell me I?m wrong. > > Graham > >> On 20 Sep 2018, at 00:47, Monte Goulding via use-livecode >> wrote: >> >> >> >>> On 20 Sep 2018, at 6:18 am, Richard Gaskin via use-livecode >>> wrote: >>> >>> Building a standalone is the whole point of the process of developing with >>> LC, and now that it's so disruptive it kills the joy of choosing LiveCode. >>> >>> For more than a decade I've believed making the SB into a separate process >>> would be a good idea. >>> >>> It's no longer a good idea. It's now a necessity. >> >> Unfortunately we are caught between leaving the stack in a state where any >> local variables that are meant to be initialised are unset or letting the >> engine do its thing when the stack reopens and send messages that allow >> those initialisations to occur. The latter, while a big change, was >> considered the lesser of two evils because at least it allows you to code >> around the situation rather than just ending up with a stack in a state >> where you need to quit and restart the IDE. >> >> Ideally, yes, standalone building (at least the parts that manipulate the >> open stacks causing them to need to be reverted) would be a separate process. >> >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sep 19 21:39:39 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Thu, 20 Sep 2018 01:39:39 +0000 Subject: Creating Array - Auto Numeric References: <5ec43e4d-7adf-2539-7dc5-9d40bd243477@fourthworld.com> <69BE51CC-ACA6-40B8-941E-0A9A3EBE7CDA@iotecdigital.com> Message-ID: It my case it was "ignorance about arrays" that may my head hurt. It would nice if the dictionary's "associations" include every keyword related. For example, search on array" One find zero reference to extents But I found them the user guide 1) Chapter on Arrays 2) Section on Processing Text and Data -- using arrays we can find out about: combine intersects add delete variable divide keys element matrix multiply split sum tranpose union to keep it simple those could "Related" under Associative Array. ( If there lesson on how to contribute to the dictionary?) On 9/19/18 1:15 PM, Bob Sneidar via use-livecode wrote: > I was going to say something similar, but thought better of it. Sometimes you need to step back and ask yourself, "What exactly am I trying to do here", or a better question is, "How do I get from where I am to where I want to be (in terms of the data) with the least amount of fuss?" > > Bob S > > >> On Sep 18, 2018, at 18:48 , Richard Gaskin via use-livecode wrote: >> >> When solving a problem with a given data structure makes your head hurt, that may be an indication that your head's fine and the problem is with the data structure. :) -- Svasti Astu, Be Well! Brahmanathaswami Get the SivaSiva app, it's free: https://www.himalayanacademy.com/apps/sivasiva From curry at pair.com Wed Sep 19 23:45:44 2018 From: curry at pair.com (Curry Kenworthy) Date: Wed, 19 Sep 2018 22:45:44 -0500 Subject: Standalone build workaround In-Reply-To: <165f476efc0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <165f476efc0.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <5BA317E8.7050409@pair.com> Jacqueline: > So yeah, there's repercussions. I do understand the choice the > team had to make, but most of us were used to the old way and > had already accommodated. I would go further. I would say that change is not always value-free; it's not simply a question of what people are accustomed too. (Although that can be important too.) But no, I would say that objectively there is such a thing as a bad change, a wrong choice, and this is a good example. The side effects of the cure seem to be worse than the original problem. We could probably find a way to measure and compare before/after in terms of user efforts and user problems. This issue doesn't affect me much personally because of my own coding habits, thank goodness, but it is an excellent example of how solving a problem the wrong way can lead to bigger problems. Interesting.... Best wishes, Curry Kenworthy Custom Software Development LiveCode Training and Consulting http://livecodeconsulting.com/ From jacque at hyperactivesw.com Thu Sep 20 00:41:26 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 19 Sep 2018 23:41:26 -0500 Subject: Standalone build workaround In-Reply-To: References: <494b9ed7-73a7-b426-0ac4-f5d99759dc95@fourthworld.com> Message-ID: <165f5485d08.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I do understand the dilemma and I can adapt. But to be fair, an uninitialized variable doesn't require a restart of the IDE. It's possible to script around that too, it's usually a one-liner, and doesn't have to be inserted in as many places. But what mainly concerned me was how it affected someone who couldn't explain the change and the inexplicable cascade of errors, and was frustrated enough to leave the platform behind. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On September 19, 2018 5:49:20 PM Monte Goulding via use-livecode wrote: >> On 20 Sep 2018, at 6:18 am, Richard Gaskin via use-livecode >> wrote: >> >> Building a standalone is the whole point of the process of developing with >> LC, and now that it's so disruptive it kills the joy of choosing LiveCode. >> >> For more than a decade I've believed making the SB into a separate process >> would be a good idea. >> >> It's no longer a good idea. It's now a necessity. > > Unfortunately we are caught between leaving the stack in a state where any > local variables that are meant to be initialised are unset or letting the > engine do its thing when the stack reopens and send messages that allow > those initialisations to occur. The latter, while a big change, was > considered the lesser of two evils because at least it allows you to code > around the situation rather than just ending up with a stack in a state > where you need to quit and restart the IDE. > > Ideally, yes, standalone building (at least the parts that manipulate the > open stacks causing them to need to be reverted) would be a separate process. > > 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 brian at milby7.com Thu Sep 20 00:51:13 2018 From: brian at milby7.com (Brian Milby) Date: Wed, 19 Sep 2018 23:51:13 -0500 Subject: Standalone build workaround In-Reply-To: <165f5485d08.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <494b9ed7-73a7-b426-0ac4-f5d99759dc95@fourthworld.com> <165f5485d08.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: What about a front script for the build process that would intercept and discard these messages? Could be inserted just before each action that used to be protected by lock messages (close/open stack). Thanks, Brian On Sep 19, 2018, 11:41 PM -0500, J. Landman Gay via use-livecode , wrote: > I do understand the dilemma and I can adapt. But to be fair, an > uninitialized variable doesn't require a restart of the IDE. It's possible > to script around that too, it's usually a one-liner, and doesn't have to be > inserted in as many places. > > But what mainly concerned me was how it affected someone who couldn't > explain the change and the inexplicable cascade of errors, and was > frustrated enough to leave the platform behind. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On September 19, 2018 5:49:20 PM Monte Goulding via use-livecode > wrote: > > > > On 20 Sep 2018, at 6:18 am, Richard Gaskin via use-livecode > > > wrote: > > > > > > Building a standalone is the whole point of the process of developing with > > > LC, and now that it's so disruptive it kills the joy of choosing LiveCode. > > > > > > For more than a decade I've believed making the SB into a separate process > > > would be a good idea. > > > > > > It's no longer a good idea. It's now a necessity. > > > > Unfortunately we are caught between leaving the stack in a state where any > > local variables that are meant to be initialised are unset or letting the > > engine do its thing when the stack reopens and send messages that allow > > those initialisations to occur. The latter, while a big change, was > > considered the lesser of two evils because at least it allows you to code > > around the situation rather than just ending up with a stack in a state > > where you need to quit and restart the IDE. > > > > Ideally, yes, standalone building (at least the parts that manipulate the > > open stacks causing them to need to be reverted) would be a separate process. > > > > 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 > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 curry at pair.com Thu Sep 20 01:11:20 2018 From: curry at pair.com (Curry Kenworthy) Date: Thu, 20 Sep 2018 00:11:20 -0500 Subject: Standalone build workaround In-Reply-To: References: Message-ID: <5BA32BF8.9060702@pair.com> Brian: > What about a front script for the build process that would > intercept and discard these messages? There you go! That might be a smooth solution. Or close the stack during build, and offer a user preference of whether to automatically reopen. Usually there are some fairly good solutions possible, better than doubling-down on a dilemma and the lesser of two evils. This could turn out rather nicely. :) Best wishes, Curry Kenworthy Custom Software Development LiveCode Training and Consulting http://livecodeconsulting.com/ From ali.lloyd at livecode.com Thu Sep 20 07:40:22 2018 From: ali.lloyd at livecode.com (Ali Lloyd) Date: Thu, 20 Sep 2018 12:40:22 +0100 Subject: Standalone build workaround In-Reply-To: <5BA32BF8.9060702@pair.com> References: <5BA32BF8.9060702@pair.com> Message-ID: Just out of interest, what sorts of things are causing problems in openStack while building a standalone that do not happen when opening stacks for the first time in the IDE? To put it another way, is it simply the re-running of openStack that is causing problems, or is something going wrong? Something like a ?cascade of errors? sounds like the latter. On Thu, 20 Sep 2018 at 06:11, Curry Kenworthy via use-livecode < use-livecode at lists.runrev.com> wrote: > > Brian: > > > What about a front script for the build process that would > > intercept and discard these messages? > > There you go! That might be a smooth solution. Or close the stack during > build, and offer a user preference of whether to automatically reopen. > > Usually there are some fairly good solutions possible, better than > doubling-down on a dilemma and the lesser of two evils. This could turn > out rather nicely. :) > > Best wishes, > > Curry Kenworthy > > Custom Software Development > LiveCode Training and Consulting > http://livecodeconsulting.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 Sep 20 10:36:17 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 20 Sep 2018 14:36:17 +0000 Subject: Standalone build workaround In-Reply-To: References: <5BA32BF8.9060702@pair.com> Message-ID: When I build a standalone, I use a splash stack, which when run in a standalone opens the mainStack. I do not typically have the mainstack already open, because as has been mentioned multiple times, any stacks already open after a build, say when building for a separate platform (I still cannot build for multiple platforms in one pass like I used to) will pop up stack already open dialogs and ask me to ignore or purge (no uninitiated user wants to "purge" any of his stacks it's quite unnerving the first time you see it). So I always QUIT LC, and relaunch to avoid any stack already open errors. What I think is happening is that the copys of the stacks in the standalone are being left open, so subsequent opening of the stacks produces this error. Otherwise, subsequent opening of the stacks are opening the standalone versions instead of the originals because LC gets confused about stack name references. That's just me blind guessing though. Bob S > On Sep 20, 2018, at 04:40 , Ali Lloyd via use-livecode wrote: > > Just out of interest, what sorts of things are causing problems in > openStack while building a standalone that do not happen when opening > stacks for the first time in the IDE? To put it another way, is it simply > the re-running of openStack that is causing problems, or is something going > wrong? Something like a ?cascade of errors? sounds like the latter. > > On Thu, 20 Sep 2018 at 06:11, Curry Kenworthy via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> >> Brian: >> >>> What about a front script for the build process that would >>> intercept and discard these messages? >> >> There you go! That might be a smooth solution. Or close the stack during >> build, and offer a user preference of whether to automatically reopen. >> >> Usually there are some fairly good solutions possible, better than >> doubling-down on a dilemma and the lesser of two evils. This could turn >> out rather nicely. :) >> >> Best wishes, >> >> Curry Kenworthy >> >> Custom Software Development >> LiveCode Training and Consulting >> http://livecodeconsulting.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 brian at milby7.com Thu Sep 20 10:38:00 2018 From: brian at milby7.com (Brian Milby) Date: Thu, 20 Sep 2018 09:38:00 -0500 Subject: SVG to image In-Reply-To: References: <9B1AC5D2-FB43-455A-A8D7-194ED25B3C5F@hyperhh.de> Message-ID: I just did a little bit of comparison of the path before and after your widget translated it. The path data is quite a bit different (besides just going to 6 decimal places). Something about how the path is adjusted makes it work better with the path compiler, but it does increase the compiled image size. On Tue, Sep 18, 2018 at 12:11 AM Brian Milby wrote: > Ok, so your results should be the same as the "trimmed" version of the > icons in this repo: > https://github.com/leungwensen/svg-icon > > For most of the icons on that site, the removal of pad is fine. There are > a few where the pad is actually important since there are multiple icons > where some are designed to have blank space. The best examples that I can > find are the WiFi strength icons in the Metro set. > https://leungwensen.github.io/svg-icon/#metro > > Since the repo contains the full SVG of the icons (in both trimmed and > untrimmed versions), if anyone needs one of these icons untrimmed, they can > go to the repo and use the full SVG file directly. I only mention this > because when I originally wrote the SvgIconTool I noticed that some of the > icons looked odd due to the padding removal. > > That demo stack and widget are very effective. I switched over to a > couple different icon sets from that site and everything works great. What > is interesting is that some of the compiled icons look better when compiled > using the template compared to the SVG file on the site. I'll need to look > at that some more to see if I can figure out why. One difference is that > the files use viewBox instead of H & W. > > Thanks for another useful widget! > > On Mon, Sep 17, 2018 at 9:56 AM hh via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > Brian wrote: >> > I'll need to take your stack/widget and see how what it generates >> > compares to conversions from the source svg file (for the Font >> > Awesome stuff). Since you are adding back information that was >> > stripped when converting to an icon, my guess is that the results >> > should be pretty much the same. >> >> There ARE changes; >> I translate the path to have a bounding box with topleft 0,0 and >> use this translated path. >> This prevents horizotal and especially vertical offsets (which >> is often present and effectively adds unneeded transparency at top). >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 brian at milby7.com Thu Sep 20 11:20:33 2018 From: brian at milby7.com (Brian Milby) Date: Thu, 20 Sep 2018 10:20:33 -0500 Subject: Standalone build workaround In-Reply-To: References: <5BA32BF8.9060702@pair.com> Message-ID: And the engine itself can support multiple stacks open with the same name. If you do though, you have to use the long name to be sure you access the correct one and the IDE isn't built to always do that. (I've created a demo that validates that the engine can handle this. The engine does prevent opening different files with the same stack name though, so I had to clone and then save the clones with different file names but the same stack name.) For what Bob mentions, it sounds like the stand alone builder isn't keeping track of all the stacks that get opened so that it can set destroyStack to true and close them. Possibly could be as easy as getting a list of open stacks at the end and if the long name of any happens to be in the temp location, then close them before reopening the stack for use in the IDE post-build. Brian On Thu, Sep 20, 2018 at 9:37 AM Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > When I build a standalone, I use a splash stack, which when run in a > standalone opens the mainStack. I do not typically have the mainstack > already open, because as has been mentioned multiple times, any stacks > already open after a build, say when building for a separate platform (I > still cannot build for multiple platforms in one pass like I used to) will > pop up stack already open dialogs and ask me to ignore or purge (no > uninitiated user wants to "purge" any of his stacks it's quite unnerving > the first time you see it). > > So I always QUIT LC, and relaunch to avoid any stack already open errors. > What I think is happening is that the copys of the stacks in the standalone > are being left open, so subsequent opening of the stacks produces this > error. Otherwise, subsequent opening of the stacks are opening the > standalone versions instead of the originals because LC gets confused about > stack name references. > > That's just me blind guessing though. > > Bob S > > > > On Sep 20, 2018, at 04:40 , Ali Lloyd via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Just out of interest, what sorts of things are causing problems in > > openStack while building a standalone that do not happen when opening > > stacks for the first time in the IDE? To put it another way, is it simply > > the re-running of openStack that is causing problems, or is something > going > > wrong? Something like a ?cascade of errors? sounds like the latter. > > > > On Thu, 20 Sep 2018 at 06:11, Curry Kenworthy via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> > >> Brian: > >> > >>> What about a front script for the build process that would > >>> intercept and discard these messages? > >> > >> There you go! That might be a smooth solution. Or close the stack during > >> build, and offer a user preference of whether to automatically reopen. > >> > >> Usually there are some fairly good solutions possible, better than > >> doubling-down on a dilemma and the lesser of two evils. This could turn > >> out rather nicely. :) > >> > >> Best wishes, > >> > >> Curry Kenworthy > >> > >> Custom Software Development > >> LiveCode Training and Consulting > >> http://livecodeconsulting.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 bobsneidar at iotecdigital.com Thu Sep 20 12:02:23 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 20 Sep 2018 16:02:23 +0000 Subject: When is suspendStack sent? Message-ID: <2A0BFCCC-EE69-47E3-888B-8611DB1FBE1F@iotecdigital.com> Hi all. I was using modal as a means to prevent a user from switching to another open window while in certain modes (editing a "form" for example). That is fraught with peril for a number of reasons I will not go into here. So alternatively I thought to put a suspendStack handler in the stack script, then check for the condition and pop a dialog alerting the user, then issuing a go stack to refocus on the stack. The first time it works great. The second and subsequent times however, suspendStack is NOT getting sent! Why? Is it because the original stack is no longer the topStack? Bob S From bobsneidar at iotecdigital.com Thu Sep 20 13:05:43 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 20 Sep 2018 17:05:43 +0000 Subject: When is suspendStack sent? In-Reply-To: <2A0BFCCC-EE69-47E3-888B-8611DB1FBE1F@iotecdigital.com> References: <2A0BFCCC-EE69-47E3-888B-8611DB1FBE1F@iotecdigital.com> Message-ID: <5CE74A54-5308-4623-9A16-9CBE73AAA820@iotecdigital.com> I'm still curious why suspendStack is not getting sent to what appears for all intents and purposes to be the topStack (I even click the titlebar to make sure), but I found a workaround which is a bit more elegant. If I have a substack open, say for editing the details of a site record, and I am in editing mode, I check for that back on the main stack (which displays summary information for all the primary modules) and I prevent a new datagrid selection on the main form if so. Not sure if this helps anyone, but the second parameter in SelectionChanged (the old selection) really comes in handy here because I need to re-select the old selection. It's probably an edge case for me because I sync main stack selections with substack selections and vis versa, so the user doesn't think he's viewing or editing one record when he thinks he's editing another. Changing records in the middle of an edit therefore can corrupt data, overwriting one record with the contents of another while saving. Bob S > On Sep 20, 2018, at 09:02 , Bob Sneidar via use-livecode wrote: > > Hi all. > > I was using modal as a means to prevent a user from switching to another open window while in certain modes (editing a "form" for example). That is fraught with peril for a number of reasons I will not go into here. > > So alternatively I thought to put a suspendStack handler in the stack script, then check for the condition and pop a dialog alerting the user, then issuing a go stack to refocus on the stack. > > The first time it works great. The second and subsequent times however, suspendStack is NOT getting sent! Why? Is it because the original stack is no longer the topStack? > > Bob S From dunbarx at aol.com Thu Sep 20 13:40:58 2018 From: dunbarx at aol.com (dunbarxx) Date: Thu, 20 Sep 2018 12:40:58 -0500 (CDT) Subject: When is suspendStack sent? In-Reply-To: <2A0BFCCC-EE69-47E3-888B-8611DB1FBE1F@iotecdigital.com> References: <2A0BFCCC-EE69-47E3-888B-8611DB1FBE1F@iotecdigital.com> Message-ID: <1537465258326-0.post@n4.nabble.com> Bob. Is the suspendStack handler in the stack script of some stack? If so, it will only fire when leaving that stack. You can always place the handler in a backScript, or something similar, so that all stacks will have to listen to it. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From jacque at hyperactivesw.com Thu Sep 20 15:10:29 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 20 Sep 2018 14:10:29 -0500 Subject: Standalone build workaround In-Reply-To: References: <5BA32BF8.9060702@pair.com> Message-ID: <517c9b93-d687-afe5-596a-9530c9761ed6@hyperactivesw.com> Maybe it's a little of both. I was helping out over screen sharing and only saw the openstack handler. The app uses a splash-screen model and we did get the conflict Bob described, where the stack the app opens threw a large number of repeated warnings about same-named stack conflicts. It took several dismissals to get rid of them. I don't know what handlers are in the separate mainstack but he said he fixed "all of them" that had open* and close* handlers. This was before we had a check to see if the revStandaloneProgress stack existed. Also during builds, a blank script error dialog appeared. It was unresponsive and empty so we don't know what it was trying to report. A stream of other error messages popped in and out of existence so fast we couldn't read them, so they weren't modal but their content is unknown. All this happened in LC 9 so I had him move back to LC 8. I told him to remove the content stack from memory and from inclusions and try building only the splash app, and that worked, so the problem points to the content stack. When he added it back into the Stacks pane in Standalone Settings the "can't find stack" error happened because the incorrect workaround handler was still in place. I've sent him the updated handler Panos posted and haven't heard back yet, but that should fix it. The release notes need updating so we have a record of the correct workaround. Like I said, it isn't the adaptation we need to do that bothers me as much as the idea that a lot of people won't know what's happening and will blame LC. That's what this person did. He had a bit of a rant about how LC didn't test enough and are producing shoddy software. I spent some time explaining what the real issue was and he then understood. But I'm concerned about other customers out there. On 9/20/18 6:40 AM, Ali Lloyd via use-livecode wrote: > Just out of interest, what sorts of things are causing problems in > openStack while building a standalone that do not happen when opening > stacks for the first time in the IDE? To put it another way, is it simply > the re-running of openStack that is causing problems, or is something going > wrong? Something like a ?cascade of errors? sounds like the latter. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Thu Sep 20 17:24:32 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 20 Sep 2018 21:24:32 +0000 Subject: When is suspendStack sent? In-Reply-To: <1537465258326-0.post@n4.nabble.com> References: <2A0BFCCC-EE69-47E3-888B-8611DB1FBE1F@iotecdigital.com> <1537465258326-0.post@n4.nabble.com> Message-ID: <1C5FDA8C-CECD-429D-B267-E72C4CEB6C12@iotecdigital.com> Yes it's in the stack script. It works the first time, and subsequent times it does not fire, even when I click back on the stack and away from it again. I think the stack I clicked on to go away from it is somehow getting the suspendStack message instead of the stack that is *actually* suspending. I'll have to test later. Bob S > On Sep 20, 2018, at 10:40 , dunbarxx via use-livecode wrote: > > Bob. > > Is the suspendStack handler in the stack script of some stack? If so, it > will only fire when leaving that stack. > > You can always place the handler in a backScript, or something similar, so > that all stacks will have to listen to it. > > Craig From dunbarx at aol.com Thu Sep 20 17:34:52 2018 From: dunbarx at aol.com (dunbarxx) Date: Thu, 20 Sep 2018 16:34:52 -0500 (CDT) Subject: When is suspendStack sent? In-Reply-To: <1C5FDA8C-CECD-429D-B267-E72C4CEB6C12@iotecdigital.com> References: <2A0BFCCC-EE69-47E3-888B-8611DB1FBE1F@iotecdigital.com> <1537465258326-0.post@n4.nabble.com> <1C5FDA8C-CECD-429D-B267-E72C4CEB6C12@iotecdigital.com> Message-ID: <1537479292654-0.post@n4.nabble.com> Hmmm. Not sure of your setup, of course, but if I try an experiment, it always works. Can you check the topStack each time you return to the, er, topStack? You may indeed need to place that handler in a backScript or stack in use in order to do so. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From brian at milby7.com Thu Sep 20 17:53:12 2018 From: brian at milby7.com (Brian Milby) Date: Thu, 20 Sep 2018 16:53:12 -0500 Subject: When is suspendStack sent? In-Reply-To: <1537479292654-0.post@n4.nabble.com> References: <2A0BFCCC-EE69-47E3-888B-8611DB1FBE1F@iotecdigital.com> <1537465258326-0.post@n4.nabble.com> <1C5FDA8C-CECD-429D-B267-E72C4CEB6C12@iotecdigital.com> <1537479292654-0.post@n4.nabble.com> Message-ID: <3c313825-2269-412d-b6bb-953d4cd0ad38@Spark> I just set up a couple stacks and it worked every time. Then I switched to another application and then the messages stopped. I will need to go back and see if I can reduce to a recipe. The dictionary says the message is sent to the card, so the stack should see it. Thanks, Brian On Sep 20, 2018, 4:35 PM -0500, dunbarxx via use-livecode , wrote: > Hmmm. > > Not sure of your setup, of course, but if I try an experiment, it always > works. Can you check the topStack each time you return to the, er, topStack? > You may indeed need to place that handler in a backScript or stack in use in > order to do so. > > Craig > > > > -- > Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Thu Sep 20 20:47:59 2018 From: monte at appisle.net (Monte Goulding) Date: Fri, 21 Sep 2018 10:47:59 +1000 Subject: Standalone build workaround In-Reply-To: References: <494b9ed7-73a7-b426-0ac4-f5d99759dc95@fourthworld.com> <165f5485d08.285b.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: <2B210609-459B-4ACF-8F6A-B0F7E1C43151@appisle.net> > On 20 Sep 2018, at 2:51 pm, Brian Milby via use-livecode wrote: > > What about a front script for the build process that would intercept and discard these messages? Could be inserted just before each action that used to be protected by lock messages (close/open stack). I think if that solution could work then lock messages could work. The issue is some components actually need those open messages to function correctly. We are working on a complete replacement to the standalone builder scripts which will resolve this kind of issue but it will still be a some time before they can become part of the IDE. I?ve proposed a stop gap solution internally which I think would work well but will probably need to wait until Ali is back next week before we can throw it around. The idea is to not move the entire standalone build to a separate process (we will likely do that when we move to our complete replacement) but to just move the bits that modify the stackfiles (copy resources, set passwords etc). So we would have a command line app that took the path to the stackfiles on disk and all the settings, modified the stackfiles and saved them somewhere else. Then the IDE can continue on and can do the whole process without closing the stack at all. Cheers Monte From curry at pair.com Thu Sep 20 21:20:03 2018 From: curry at pair.com (Curry Kenworthy) Date: Thu, 20 Sep 2018 21:20:03 -0400 Subject: App Dead on iOS 12 In-Reply-To: References: Message-ID: <44f1b1ea-ab5d-ac8e-e16b-4ca9e069bb59@pair.com> Monte: > We have not been able to replicate the crash so it?s pretty > important that we get a report with a recipe ASAP. It's been a day or two. Has anyone reported/recipe'd this yet? If not I will. I suspect that a test stack needs more than one card to trigger the bug. Best wishes, Curry Kenworthy Custom Software Development LiveCode Training and Consulting http://livecodeconsulting.com/ From monte at appisle.net Thu Sep 20 21:30:19 2018 From: monte at appisle.net (Monte Goulding) Date: Fri, 21 Sep 2018 11:30:19 +1000 Subject: App Dead on iOS 12 In-Reply-To: <44f1b1ea-ab5d-ac8e-e16b-4ca9e069bb59@pair.com> References: <44f1b1ea-ab5d-ac8e-e16b-4ca9e069bb59@pair.com> Message-ID: > On 21 Sep 2018, at 11:20 am, Curry Kenworthy via use-livecode wrote: > > > We have not been able to replicate the crash so it?s pretty > > important that we get a report with a recipe ASAP. > > It's been a day or two. Has anyone reported/recipe'd this yet? If not I will. > > I suspect that a test stack needs more than one card to trigger the bug. I?m not aware of a report being created yet. I could not replicate a crash and neither could Panos. We have had conflicting posts here with one user reporting behavior exactly like that fixed in RC 2, one user reporting crashes which I?m fairly sure Panos nailed down to a signing issue and other users reporting no crashes. So for the moment we are awaiting a report and recipe before continuing. So if you have a recipe that crashes 9.0.1 I would really like to have it! Cheers Monte From terry.judd at unimelb.edu.au Thu Sep 20 21:48:07 2018 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Fri, 21 Sep 2018 01:48:07 +0000 Subject: App Dead on iOS 12 In-Reply-To: <44f1b1ea-ab5d-ac8e-e16b-4ca9e069bb59@pair.com> References: <44f1b1ea-ab5d-ac8e-e16b-4ca9e069bb59@pair.com> Message-ID: Panos did some sleuthing of my console output and it appears that my iOS 12 crashes (which occurred with even the most very basic of stacks/apps) are related to the fact that I use an iOS enterprise developer license to sign/distribute my apps - so not a LC issue as such. Will just have to wait for a fix from Apple I guess. Terry... Monte: > We have not been able to replicate the crash so it?s pretty > important that we get a report with a recipe ASAP. It's been a day or two. Has anyone reported/recipe'd this yet? If not I will. I suspect that a test stack needs more than one card to trigger the bug. Best wishes, Curry Kenworthy Custom Software Development LiveCode Training and Consulting http://livecodeconsulting.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 monte at appisle.net Thu Sep 20 22:01:24 2018 From: monte at appisle.net (Monte Goulding) Date: Fri, 21 Sep 2018 12:01:24 +1000 Subject: App Dead on iOS 12 In-Reply-To: References: <44f1b1ea-ab5d-ac8e-e16b-4ca9e069bb59@pair.com> Message-ID: > On 21 Sep 2018, at 11:48 am, Terry Judd via use-livecode wrote: > > Panos did some sleuthing of my console output and it appears that my iOS 12 crashes (which occurred with even the most very basic of stacks/apps) are related to the fact that I use an iOS enterprise developer license to sign/distribute my apps - so not a LC issue as such. Will just have to wait for a fix from Apple I guess. Did you try your new builds on older versions of iOS to see if it is just an iOS 12 issue? Also did you try with a new profile? Cheers Monte From terry.judd at unimelb.edu.au Thu Sep 20 22:18:02 2018 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Fri, 21 Sep 2018 02:18:02 +0000 Subject: App Dead on iOS 12 In-Reply-To: References: <44f1b1ea-ab5d-ac8e-e16b-4ca9e069bb59@pair.com> Message-ID: > On 21 Sep 2018, at 11:48 am, Terry Judd via use-livecode wrote: > > Panos did some sleuthing of my console output and it appears that my iOS 12 crashes (which occurred with even the most very basic of stacks/apps) are related to the fact that I use an iOS enterprise developer license to sign/distribute my apps - so not a LC issue as such. Will just have to wait for a fix from Apple I guess. Did you try your new builds on older versions of iOS to see if it is just an iOS 12 issue? Also did you try with a new profile? Cheers Monte _______________________________________________ Hi Monte - I was able to get an app to run if I used the older of my two Macbooks, which is running OSX 10.10.5 and Xcode 7.2.1 to build it. No go with OSX 10.13.5 and Xcode 9.4 on my newer Macbook though. Haven't tried a new profile yet, although the current one was generated only 3 weeks ago. Regards, Terry... From bobsneidar at iotecdigital.com Fri Sep 21 12:58:44 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 21 Sep 2018 16:58:44 +0000 Subject: When is suspendStack sent? In-Reply-To: <3c313825-2269-412d-b6bb-953d4cd0ad38@Spark> References: <2A0BFCCC-EE69-47E3-888B-8611DB1FBE1F@iotecdigital.com> <1537465258326-0.post@n4.nabble.com> <1C5FDA8C-CECD-429D-B267-E72C4CEB6C12@iotecdigital.com> <1537479292654-0.post@n4.nabble.com> <3c313825-2269-412d-b6bb-953d4cd0ad38@Spark> Message-ID: <1ADB4A13-4411-411B-B1EC-D20420D77EE3@iotecdigital.com> I put the suspendStack handler in the card instead. Same thing. Seems the suspendStack message is only getting sent once for every different stack I switch to. For instance, I can click the window of the mainstack while in a substack and I get the suspendStack message. Subsequent clicks however do NOT get sent. But if I click a DIFFERENT stack, say the script editor, I DO get the suspendStack message. Subsequent clicks to ANY of the stacks, once clicked in do NOT generate a suspendStack message. What's even more interesting is that after clicking the script editor as the second alternate window clicked (the first being the mainstack) the titlebar of the mainstack is WHITE not the usual grey 3d look, and remains this way until it becomes the only open window. I think what is happening is that the topstack gets changed the first time I click an alternate window and does not change until I close that window the way it should. That is why suspendStack is not getting sent a second time to the stack that *appears* to be on top. Another stack is the topStack. Once *ANY* stack gets a suspendStack message the first time, it never seems to get subsequent messages. I am going to add the handler to a backscript later to see who is getting the message and where it is going. Bob S > On Sep 20, 2018, at 14:53 , Brian Milby via use-livecode wrote: > > I just set up a couple stacks and it worked every time. Then I switched to another application and then the messages stopped. I will need to go back and see if I can reduce to a recipe. > > The dictionary says the message is sent to the card, so the stack should see it. > > Thanks, > Brian > On Sep 20, 2018, 4:35 PM -0500, dunbarxx via use-livecode , wrote: >> Hmmm. >> >> Not sure of your setup, of course, but if I try an experiment, it always >> works. Can you check the topStack each time you return to the, er, topStack? >> You may indeed need to place that handler in a backScript or stack in use in >> order to do so. >> >> Craig >> >> >> >> -- >> Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 dunbarx at aol.com Fri Sep 21 14:03:44 2018 From: dunbarx at aol.com (dunbarxx) Date: Fri, 21 Sep 2018 13:03:44 -0500 (CDT) Subject: When is suspendStack sent? In-Reply-To: <1ADB4A13-4411-411B-B1EC-D20420D77EE3@iotecdigital.com> References: <2A0BFCCC-EE69-47E3-888B-8611DB1FBE1F@iotecdigital.com> <1537465258326-0.post@n4.nabble.com> <1C5FDA8C-CECD-429D-B267-E72C4CEB6C12@iotecdigital.com> <1537479292654-0.post@n4.nabble.com> <3c313825-2269-412d-b6bb-953d4cd0ad38@Spark> <1ADB4A13-4411-411B-B1EC-D20420D77EE3@iotecdigital.com> Message-ID: <1537553024419-0.post@n4.nabble.com> Hi. "...For instance, I can click the window of the mainstack while in a substack and I get the suspendStack message. Subsequent clicks however do NOT get sent." Now I am not sure what you mean. If I have a mainstack with a suspendStack handler in the stack script, and one or more sub stacks, that handler will fire whenever I navigate among any of them. In your example above, you would have suspended the subStack when you clicked on the main stack. But repeated clicks in any one stack will not, as expected, fire that hander. There has been no navigation, and therefore no suspension. But is that what you meant by "subsequent clicks", that is, subsequent clicks on the same stack? In other words, is that handler in the message path of the stacks that you are navigating among? I have never seen any anomalies with that message during navigation from stack to stack, as long as the handler is in the message path. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From curry at pair.com Fri Sep 21 15:34:12 2018 From: curry at pair.com (Curry Kenworthy) Date: Fri, 21 Sep 2018 15:34:12 -0400 Subject: App Dead on iOS 12 In-Reply-To: References: Message-ID: <8ae1e1fd-f091-c52c-07d3-5cbf231fa790@pair.com> Monte: > So if you have a recipe that crashes 9.0.1 I would > really like to have it! Monte, I couldn't reproduce this either. Using LC 901, things seem to work OK on 12! Best wishes, Curry Kenworthy Custom Software Development LiveCode Training and Consulting http://livecodeconsulting.com/ From monte at appisle.net Fri Sep 21 18:30:15 2018 From: monte at appisle.net (Monte Goulding) Date: Sat, 22 Sep 2018 08:30:15 +1000 Subject: App Dead on iOS 12 In-Reply-To: <8ae1e1fd-f091-c52c-07d3-5cbf231fa790@pair.com> References: <8ae1e1fd-f091-c52c-07d3-5cbf231fa790@pair.com> Message-ID: <4186B4B5-2486-4869-BD27-8933591C4A50@appisle.net> > On 22 Sep 2018, at 5:34 am, Curry Kenworthy via use-livecode wrote: > > Monte, I couldn't reproduce this either. Using LC 901, things seem to work OK on 12! Thanks Curry Cheers Monte From bobsneidar at iotecdigital.com Fri Sep 21 19:04:11 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 21 Sep 2018 23:04:11 +0000 Subject: When is suspendStack sent? In-Reply-To: <1537553024419-0.post@n4.nabble.com> References: <2A0BFCCC-EE69-47E3-888B-8611DB1FBE1F@iotecdigital.com> <1537465258326-0.post@n4.nabble.com> <1C5FDA8C-CECD-429D-B267-E72C4CEB6C12@iotecdigital.com> <1537479292654-0.post@n4.nabble.com> <3c313825-2269-412d-b6bb-953d4cd0ad38@Spark> <1ADB4A13-4411-411B-B1EC-D20420D77EE3@iotecdigital.com> <1537553024419-0.post@n4.nabble.com> Message-ID: <1C484A46-8494-4191-8949-49D48DDD7D36@iotecdigital.com> Hi Craig. No what I am doing is when suspendStack fires, I check a property in the current stack. If it is not "view" I pop a dialog (as sheet) alerting the user thet they have unsaved changes, then I go to the stack (otherwise it will navigate away which is what I am trying to prevent). I'm thinking I can use a send in time as it may be that going back to the stack while suspendStack is executing bay be borking the engine somehow. All kinds of nasties start happening, like if I navigate to the script editor under these circumstances, I seem to lose the ability to grad and drop script selections. One time typing in a field actually edited the script! Bob S > On Sep 21, 2018, at 11:03 , dunbarxx via use-livecode wrote: > > Hi. > > "...For instance, I can click the window of the mainstack while in a > substack and I get the suspendStack message. Subsequent clicks however do > NOT get sent." > > Now I am not sure what you mean. If I have a mainstack with a suspendStack > handler in the stack script, and one or more sub stacks, that handler will > fire whenever I navigate among any of them. In your example above, you would > have suspended the subStack when you clicked on the main stack. But repeated > clicks in any one stack will not, as expected, fire that hander. There has > been no navigation, and therefore no suspension. > > But is that what you meant by "subsequent clicks", that is, subsequent > clicks on the same stack? > > In other words, is that handler in the message path of the stacks that you > are navigating among? I have never seen any anomalies with that message > during navigation from stack to stack, as long as the handler is in the > message path. > > Craig From admin at FlexibleLearning.com Sat Sep 22 07:39:55 2018 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Sat, 22 Sep 2018 12:39:55 +0100 Subject: Mobile write to text file woes Message-ID: <004e01d45268$fc881480$f5983d80$@FlexibleLearning.com> I have a little app It works and makes me smile It reads text data in a snap But won't write with "Can't open file" The path is set the same for both The file is in the bundle So why can't I write to the file it reads? Mutter, mumble, grumble, grumble... Hugh Senior From paul at researchware.com Sat Sep 22 08:04:33 2018 From: paul at researchware.com (Paul Dupuis) Date: Sat, 22 Sep 2018 08:04:33 -0400 Subject: Mobile write to text file woes In-Reply-To: <004e01d45268$fc881480$f5983d80$@FlexibleLearning.com> References: <004e01d45268$fc881480$f5983d80$@FlexibleLearning.com> Message-ID: <45a8071e-4799-e192-25b7-de09c0eff97b@researchware.com> On the pretense of increased security, more and more OSes are incorporating various levels of Sandboxing. Eventually it seems, you will only be able to write to the users Documents folder and no where else. I'd don't know what OS and version you are on, but I am not surprised you can not write, without admin permissions, to the Program files (Win) or Applications (OSX) folders. On 9/22/2018 7:39 AM, FlexibleLearning.com via use-livecode wrote: > I have a little app > It works and makes me smile > It reads text data in a snap > But won't write with "Can't open file" > > The path is set the same for both > The file is in the bundle > So why can't I write to the file it reads? > Mutter, mumble, grumble, grumble... > > > Hugh Senior > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 brian at milby7.com Sat Sep 22 11:26:03 2018 From: brian at milby7.com (Brian Milby) Date: Sat, 22 Sep 2018 10:26:03 -0500 Subject: Mobile write to text file woes In-Reply-To: <004e01d45268$fc881480$f5983d80$@FlexibleLearning.com> References: <004e01d45268$fc881480$f5983d80$@FlexibleLearning.com> Message-ID: <7eb1eb34-80ac-4159-ba4c-ffe04d4c1294@Spark> To be more clear, ?engine? and ?resources? paths are read only on iOS. When starting an app, you need to copy any resources you need to change to the ?documents?, ?cache?, ?temporary?, or ?library? specialFolderPath depending on how you want the file to last. Thanks, Brian On Sep 22, 2018, 6:40 AM -0500, FlexibleLearning.com via use-livecode , wrote: > I have a little app > It works and makes me smile > It reads text data in a snap > But won't write with "Can't open file" > > The path is set the same for both > The file is in the bundle > So why can't I write to the file it reads? > Mutter, mumble, grumble, grumble... > > > Hugh Senior > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 smudge.andy at googlemail.com Sat Sep 22 11:32:25 2018 From: smudge.andy at googlemail.com (AndyP) Date: Sat, 22 Sep 2018 10:32:25 -0500 (CDT) Subject: Mobile write to text file woes In-Reply-To: <45a8071e-4799-e192-25b7-de09c0eff97b@researchware.com> References: <004e01d45268$fc881480$f5983d80$@FlexibleLearning.com> <45a8071e-4799-e192-25b7-de09c0eff97b@researchware.com> Message-ID: <1537630345609-0.post@n4.nabble.com> Hi Hugh, Have a look at this lesson I'm sure it will help If the location is right then the file you can write http://lessons.livecode.com/m/4069/l/14301-how-do-i-read-write-to-files-on-mobile ----- Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for LiveCode Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From MikeKerner at roadrunner.com Sat Sep 22 15:47:47 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 22 Sep 2018 15:47:47 -0400 Subject: Script-only-stack file issue 9.0.1 Message-ID: Is anyone having issues with creating and assigning SOS's as behaviors in 9.0.1? -- 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 Sat Sep 22 16:04:48 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 22 Sep 2018 16:04:48 -0400 Subject: Script-only-stack file issue 9.0.1 In-Reply-To: References: Message-ID: NM. This is related to having double-quotes in a foldername. On Sat, Sep 22, 2018 at 3:47 PM Mike Kerner wrote: > Is anyone having issues with creating and assigning SOS's as behaviors in > 9.0.1? > > -- > 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." > -- 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 Sat Sep 22 17:10:20 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 22 Sep 2018 16:10:20 -0500 Subject: Mobile write to text file woes In-Reply-To: <004e01d45268$fc881480$f5983d80$@FlexibleLearning.com> References: <004e01d45268$fc881480$f5983d80$@FlexibleLearning.com> Message-ID: On 9/22/18 6:39 AM, FlexibleLearning.com via use-livecode wrote: > I have a little app > It works and makes me smile > It reads text data in a snap > But won't write with "Can't open file" > > The path is set the same for both > The file is in the bundle > So why can't I write to the file it reads? > Mutter, mumble, grumble, grumble... You cannot write inside the app, It's neither smart nor shrewd. And if you try you'll want to cry Because, in fact, you're screwed. It matters much what path you use, As just a few make sense. Write to temp or cache or prefs Or also documents. I knew a hack who wrote a crack And saved it to the bundle. His malware failed; it was assailed As a very stupid fumble. So lend an ear, all ye who hear, Do not proceed apace. Unless you know where files should go You'll end up losing face. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at elementarysoftware.com Sat Sep 22 17:17:27 2018 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sat, 22 Sep 2018 14:17:27 -0700 Subject: saving file on android to use as email attachment Message-ID: <82B3FBD7-4519-447A-AD9C-42A13B681031@elementarysoftware.com> I have an app that creates a pdf, then opens the client?s mail app and attaches the pdf to an email. This works fine with iOS and used to work fine on android. However I now have customers reporting problems on android. These problems appear to be connected to where the pdf file is saved. I had been using * specialFolderPath("external documents?) * but recently found that gMail would no longer accept that location. I switched to * specialFolderPath("temporary?) * which worked for gMail but seems to produce an i/o error with Microsoft Outlook. I could present the user with a preference setting so that the app would know in advance which path to use? but I would like to avoid that if possible. Is there a read/write location that works with both / all? In the case of this app, another solution might be to just send everything through my own mail server and simply bypass the user?s mail app. But that puts other restrictions on the user that I?m hoping to avoid. Regards, Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-800-615-0867 mobile 360-920-0715 ------------------------------------------------------ From smudge.andy at googlemail.com Sat Sep 22 17:24:28 2018 From: smudge.andy at googlemail.com (AndyP) Date: Sat, 22 Sep 2018 16:24:28 -0500 (CDT) Subject: Mobile write to text file woes In-Reply-To: References: <004e01d45268$fc881480$f5983d80$@FlexibleLearning.com> Message-ID: <1537651468970-0.post@n4.nabble.com> Jacqueline, love the prose, put a smile on my face before bed. ----- Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for LiveCode Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From scott at elementarysoftware.com Sat Sep 22 18:40:27 2018 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Sat, 22 Sep 2018 15:40:27 -0700 Subject: Mobile write to text file woes In-Reply-To: References: <004e01d45268$fc881480$f5983d80$@FlexibleLearning.com> Message-ID: <1168BD66-BA67-4DF9-9808-AC542E8D5066@elementarysoftware.com> sweet! > On Sep 22, 2018, at 2:10 PM, J. Landman Gay via use-livecode wrote: > > On 9/22/18 6:39 AM, FlexibleLearning.com via use-livecode wrote: >> I have a little app >> It works and makes me smile >> It reads text data in a snap >> But won't write with "Can't open file" >> The path is set the same for both >> The file is in the bundle >> So why can't I write to the file it reads? >> Mutter, mumble, grumble, grumble... > > You cannot write inside the app, > It's neither smart nor shrewd. > And if you try you'll want to cry > Because, in fact, you're screwed. > > It matters much what path you use, > As just a few make sense. > Write to temp or cache or prefs > Or also documents. > > I knew a hack who wrote a crack > And saved it to the bundle. > His malware failed; it was assailed > As a very stupid fumble. > > So lend an ear, all ye who hear, > Do not proceed apace. > Unless you know where files should go > You'll end up losing face. > > -- > 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 rdimola at evergreeninfo.net Sat Sep 22 20:12:34 2018 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 22 Sep 2018 20:12:34 -0400 Subject: saving file on android to use as email attachment In-Reply-To: <82B3FBD7-4519-447A-AD9C-42A13B681031@elementarysoftware.com> References: <82B3FBD7-4519-447A-AD9C-42A13B681031@elementarysoftware.com> Message-ID: <005a01d452d2$2405d9c0$6c118d40$@net> If there is no immediate clean solution offered on the list then my first instinct is to use the SD card. This assumes that everyone has "external storage". Most do. So the edge case would be...if you can't write to external storage then ask for the preference. No prose from me. JLG, made me smile, Nice.... 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 scott--- via use-livecode Sent: Saturday, September 22, 2018 5:17 PM To: use-revolution at lists.runrev.com Cc: scott at elementarysoftware.com Subject: saving file on android to use as email attachment I have an app that creates a pdf, then opens the client?s mail app and attaches the pdf to an email. This works fine with iOS and used to work fine on android. However I now have customers reporting problems on android. These problems appear to be connected to where the pdf file is saved. I had been using * specialFolderPath("external documents?) * but recently found that gMail would no longer accept that location. I switched to * specialFolderPath("temporary?) * which worked for gMail but seems to produce an i/o error with Microsoft Outlook. I could present the user with a preference setting so that the app would know in advance which path to use? but I would like to avoid that if possible. Is there a read/write location that works with both / all? In the case of this app, another solution might be to just send everything through my own mail server and simply bypass the user?s mail app. But that puts other restrictions on the user that I?m hoping to avoid. Regards, Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-800-615-0867 mobile 360-920-0715 ------------------------------------------------------ _______________________________________________ use-livecode mailing list use-livecode 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 Sat Sep 22 20:12:34 2018 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 22 Sep 2018 20:12:34 -0400 Subject: saving file on android to use as email attachment In-Reply-To: <82B3FBD7-4519-447A-AD9C-42A13B681031@elementarysoftware.com> References: <82B3FBD7-4519-447A-AD9C-42A13B681031@elementarysoftware.com> Message-ID: <005a01d452d2$2405d9c0$6c118d40$@net> If there is no immediate clean solution offered on the list then my first instinct is to use the SD card. This assumes that everyone has "external storage". Most do. So the edge case would be...if you can't write to external storage then ask for the preference. No prose from me. JLG, made me smile, Nice.... 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 scott--- via use-livecode Sent: Saturday, September 22, 2018 5:17 PM To: use-revolution at lists.runrev.com Cc: scott at elementarysoftware.com Subject: saving file on android to use as email attachment I have an app that creates a pdf, then opens the client?s mail app and attaches the pdf to an email. This works fine with iOS and used to work fine on android. However I now have customers reporting problems on android. These problems appear to be connected to where the pdf file is saved. I had been using * specialFolderPath("external documents?) * but recently found that gMail would no longer accept that location. I switched to * specialFolderPath("temporary?) * which worked for gMail but seems to produce an i/o error with Microsoft Outlook. I could present the user with a preference setting so that the app would know in advance which path to use? but I would like to avoid that if possible. Is there a read/write location that works with both / all? In the case of this app, another solution might be to just send everything through my own mail server and simply bypass the user?s mail app. But that puts other restrictions on the user that I?m hoping to avoid. Regards, Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-800-615-0867 mobile 360-920-0715 ------------------------------------------------------ _______________________________________________ use-livecode mailing list use-livecode 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 bornstein at designeq.com Sun Sep 23 00:03:43 2018 From: bornstein at designeq.com (Howard Bornstein) Date: Sat, 22 Sep 2018 21:03:43 -0700 Subject: mousemove doesn't recognize "shiftkey is down", but only under Windows Message-ID: This is exceedingly weird. I can't get a mousemove handler to recognize if the shiftkey is down (although I think this is true for all key modifiers?Shiftkey down and OptionKey down for sure). The only way it detects this state is if I click the mouse button while holding the shiftkey down. Then it continues to return the correct state of the shiftkey (including when the shiftkey is up), but after that can not detect when it is down again without another mouseclick. This is only the case under Windows. Under MacOS everything works fine. Here's the simple test code: *on* mousemove *if* the shiftkey is up *then* *put* the mouseloc && "Up" *else* *if* the shiftkey is down *then* *put* the mouseloc && "Down" *end* *if* *end* *if* *end* mousemove When the shiftkey is down, it isn't detected by this code unless the mouse button is also clicked. I'm running this under LiveCode Community 9.01 under Windows 7 via Parallels Desktop on a Mac. Why would this not work under Windows when it works perfectly under MacOS? Any suggestions on how to get Livecode to recognize that the shiftkey is down in a mousemove handler under Windows? Ideas and suggestions are welcome. -- Regards, Howard Bornstein ----------------------- www.designeq.com From MikeKerner at roadrunner.com Sun Sep 23 07:31:30 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 23 Sep 2018 07:31:30 -0400 Subject: (browser) focus hocus pocus broke us Message-ID: How do we take focus away from the browser widget? I am loading PDF's into the browser widget. At that point, all key presses get eaten up by the widget (e.g. arrows make the widget scroll), even if a field has the insertion point. Scripting the widget to intercept those events doesn't work. "focus on nothing" doesn't take the focus away. "click at the loc of" doesn't do it. the browser document load events don't seem to fire for PDF's Sugestions, please. From MikeKerner at roadrunner.com Sun Sep 23 09:14:28 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 23 Sep 2018 09:14:28 -0400 Subject: (browser) focus hocus pocus broke us In-Reply-To: References: Message-ID: One additional note, Panos suggested that browserDocumentLoadFailed might be firing. Surprise it is, but the error is "plug-in handled load" but firing a "focus on nothing" inside that event doesn't help, either. On Sun, Sep 23, 2018 at 7:31 AM Mike Kerner wrote: > How do we take focus away from the browser widget? > > I am loading PDF's into the browser widget. At that point, all key > presses get eaten up by the widget (e.g. arrows make the widget scroll), > even if a field has the insertion point. > Scripting the widget to intercept those events doesn't work. > "focus on nothing" doesn't take the focus away. > "click at the loc of" doesn't do it. > the browser document load events don't seem to fire for PDF's > > Sugestions, please. > -- 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 Sun Sep 23 15:04:29 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 23 Sep 2018 14:04:29 -0500 Subject: mousemove doesn't recognize "shiftkey is down", but only under Windows In-Reply-To: References: Message-ID: <8c553b3e-18f9-b43f-04fa-c71756e9f169@hyperactivesw.com> On 9/22/18 11:03 PM, Howard Bornstein via use-livecode wrote: > This is exceedingly weird. I can't get a mousemove handler to recognize if > the shiftkey is down (although I think this is true for all key > modifiers?Shiftkey down and OptionKey down for sure). The only way it > detects this state is if I click the mouse button while holding the > shiftkey down. You could see if the keysDown() function works instead. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tom at makeshyft.com Sun Sep 23 16:34:43 2018 From: tom at makeshyft.com (Tom Glod) Date: Sun, 23 Sep 2018 16:34:43 -0400 Subject: (browser) focus hocus pocus broke us In-Reply-To: References: Message-ID: might be dumb....but what if istead of focus on nothing you focused on another control that passes the rawkey? On Sun, Sep 23, 2018 at 9:15 AM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > One additional note, Panos suggested that browserDocumentLoadFailed might > be firing. > Surprise it is, but the error is > "plug-in handled load" > but firing a "focus on nothing" inside that event doesn't help, either. > > > On Sun, Sep 23, 2018 at 7:31 AM Mike Kerner > wrote: > > > How do we take focus away from the browser widget? > > > > I am loading PDF's into the browser widget. At that point, all key > > presses get eaten up by the widget (e.g. arrows make the widget scroll), > > even if a field has the insertion point. > > Scripting the widget to intercept those events doesn't work. > > "focus on nothing" doesn't take the focus away. > > "click at the loc of" doesn't do it. > > the browser document load events don't seem to fire for PDF's > > > > Sugestions, please. > > > > > -- > 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 hh at hyperhh.de Sun Sep 23 17:07:22 2018 From: hh at hyperhh.de (hh) Date: Sun, 23 Sep 2018 23:07:22 +0200 Subject: (browser) focus hocus pocus broke us Message-ID: <316BEE90-A460-422F-A78E-AEAFEB0263ED@hyperhh.de> > Mike K. wrote: > How do we take focus away from the browser widget? Did you already try do "document.activeElement.blur()" in widget "browser" ? From curry at pair.com Sun Sep 23 17:28:12 2018 From: curry at pair.com (Curry Kenworthy) Date: Sun, 23 Sep 2018 17:28:12 -0400 Subject: Script Editor Slow on Windows (any Macs?) Message-ID: <08929e4f-9403-177b-2b9d-9effc4ec0302@pair.com> Howdy Folks, I will file a quality report very soon, but wanted to ask what others are experiencing too. Using LC 9.0.0 and 9.0.1, on a Windows "PC" laptop with Core i3 or Core i5, the script editor is painfully slow unless many of the auto formatting and coloring features are turned off. (I only have "Control Structured Completion" and "Auto Format" still enabled; they handle things like "end repeat" and lining up the text with tabs.) But even then, script editing is still laggy, especially on 9.0.1. Hitting Enter or backspace, paste or copy, or hiliting some text - any of these can lead to a delay. And worse, not only a delay, but also interfering with intended keystrokes and actions. If you select some text, copy, select, paste - you may not get the expected result if you performed those steps too quickly! (But "too quickly" doesn't mean fast - even doing things slowly is often too quickly in 9.0.1. After one step you have to be careful to see the insertion cursor blink before doing the next step. Not the most enjoyable way to sling code.) So, is it just a Windows issue, or more of a which-chip issue? My Mac has Core i5 too, but I do more of my code typing on the PC. I do think the LC team would be well-served to follow Richard's suggestion of using a PC for several hours a week. But should that PC be a Core i9 monster? Maybe not, unless the target audience is exclusively the established economic upper class, which would be a strange fit for the Community version for example. I think I remember some talk about developing nations and so on - if so, needing a Core i7 to run LC will probably slow down adoption. And myself included; I need to stick with this chip for a while. I would suggest having an i3 Windows PC and a slightly older Mac around for official IDE and engine testing. Otherwise you're cranking out releases with code that seems fine on your end, but will only run well on the latest and most expensive machines. It will help some when the LC 9 engine itself is faster, but the script editor also needs optimizing. Maybe too much code added lately without enough attention to speed. I am curious whether some Macs are affected too. How about Linux i3/i5? Best wishes, Curry Kenworthy Custom Software Development LiveCode Training and Consulting http://livecodeconsulting.com/ From General.2018 at outlook.com Sun Sep 23 17:41:22 2018 From: General.2018 at outlook.com (General 2018) Date: Sun, 23 Sep 2018 21:41:22 +0000 Subject: Open Driver on MacOS Message-ID: Hi , Livecode 9.0.1 MacOS High Sierra Open driver hangs on MacOS , tried Sarah's SerialTest stack which hangs also. Item 3 of the drivernames is correct but when open driver or file is attempted it hangs. Bug ? Regards Camm From bornstein at designeq.com Sun Sep 23 18:19:23 2018 From: bornstein at designeq.com (Howard Bornstein) Date: Sun, 23 Sep 2018 15:19:23 -0700 Subject: mousemove doesn't recognize "shiftkey is down", but only under Windows In-Reply-To: <8c553b3e-18f9-b43f-04fa-c71756e9f169@hyperactivesw.com> References: <8c553b3e-18f9-b43f-04fa-c71756e9f169@hyperactivesw.com> Message-ID: Sadly, both the keysDown() function as well as rawKeyDown, only return a keycode for the shift key (and the option key) upon key UP. All the other keys work on key down but these do not. Do you have any idea why? Should I file a bug report on ShiftKey down? Were you able to verify this bug from the test code I sent (I put it in the card handler of a stack)? On Sun, Sep 23, 2018 at 12:04 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 9/22/18 11:03 PM, Howard Bornstein via use-livecode wrote: > > This is exceedingly weird. I can't get a mousemove handler to recognize > if > > the shiftkey is down (although I think this is true for all key > > modifiers?Shiftkey down and OptionKey down for sure). The only way it > > detects this state is if I click the mouse button while holding the > > shiftkey down. > > You could see if the keysDown() function works instead. > > -- > 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 -- Regards, Howard Bornstein ----------------------- www.designeq.com From brian at milby7.com Sun Sep 23 18:34:40 2018 From: brian at milby7.com (Brian Milby) Date: Sun, 23 Sep 2018 17:34:40 -0500 Subject: mousemove doesn't recognize "shiftkey is down", but only under Windows In-Reply-To: References: <8c553b3e-18f9-b43f-04fa-c71756e9f169@hyperactivesw.com> Message-ID: <7feba223-b4d3-45e2-8e00-86895b86a23d@Spark> I just did a quick test on Win10 and it works as it should. Tested with LC 9.0.1 stable. Thanks, Brian On Sep 23, 2018, 5:20 PM -0500, Howard Bornstein via use-livecode , wrote: > Sadly, both the keysDown() function as well as rawKeyDown, only return a > keycode for the shift key (and the option key) upon key UP. All the other > keys work on key down but these do not. Do you have any idea why? > > Should I file a bug report on ShiftKey down? Were you able to verify this > bug from the test code I sent (I put it in the card handler of a stack)? > > On Sun, Sep 23, 2018 at 12:04 PM J. Landman Gay via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > On 9/22/18 11:03 PM, Howard Bornstein via use-livecode wrote: > > > This is exceedingly weird. I can't get a mousemove handler to recognize > > if > > > the shiftkey is down (although I think this is true for all key > > > modifiers?Shiftkey down and OptionKey down for sure). The only way it > > > detects this state is if I click the mouse button while holding the > > > shiftkey down. > > > > You could see if the keysDown() function works instead. > > > > -- > > 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 > > > > -- > Regards, > > Howard Bornstein > ----------------------- > www.designeq.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 bornstein at designeq.com Sun Sep 23 22:01:02 2018 From: bornstein at designeq.com (Howard Bornstein) Date: Sun, 23 Sep 2018 19:01:02 -0700 Subject: mousemove doesn't recognize "shiftkey is down", but only under Windows In-Reply-To: <7feba223-b4d3-45e2-8e00-86895b86a23d@Spark> References: <8c553b3e-18f9-b43f-04fa-c71756e9f169@hyperactivesw.com> <7feba223-b4d3-45e2-8e00-86895b86a23d@Spark> Message-ID: Thanks Brian, I don't know what the problem could be. All my test show that for the Shift key and the Option key, when called within a mousemove handler, it doesn't register that the keys are down unless the mouse button is clicked first. I'm running Windows 7 instead of 10, but I doubt that's the difference. It's possible that Parallels, might be interfering somehow, but it's a pretty specific issue. You ran my little test script and got the "Up" output by just pressing the shift key down and nothing else? On Sun, Sep 23, 2018 at 3:37 PM Brian Milby via use-livecode < use-livecode at lists.runrev.com> wrote: > I just did a quick test on Win10 and it works as it should. Tested with LC > 9.0.1 stable. > > Thanks, > Brian > On Sep 23, 2018, 5:20 PM -0500, Howard Bornstein via use-livecode < > use-livecode at lists.runrev.com>, wrote: > > Sadly, both the keysDown() function as well as rawKeyDown, only return a > > keycode for the shift key (and the option key) upon key UP. All the other > > keys work on key down but these do not. Do you have any idea why? > > > > Should I file a bug report on ShiftKey down? Were you able to verify this > > bug from the test code I sent (I put it in the card handler of a stack)? > > > > On Sun, Sep 23, 2018 at 12:04 PM J. Landman Gay via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > On 9/22/18 11:03 PM, Howard Bornstein via use-livecode wrote: > > > > This is exceedingly weird. I can't get a mousemove handler to > recognize > > > if > > > > the shiftkey is down (although I think this is true for all key > > > > modifiers?Shiftkey down and OptionKey down for sure). The only way it > > > > detects this state is if I click the mouse button while holding the > > > > shiftkey down. > > > > > > You could see if the keysDown() function works instead. > > > > > > -- > > > 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 > > > > > > > > -- > > Regards, > > > > Howard Bornstein > > ----------------------- > > www.designeq.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 -- Regards, Howard Bornstein ----------------------- www.designeq.com From MikeKerner at roadrunner.com Sun Sep 23 22:42:23 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 23 Sep 2018 22:42:23 -0400 Subject: (browser) focus hocus pocus broke us In-Reply-To: <316BEE90-A460-422F-A78E-AEAFEB0263ED@hyperhh.de> References: <316BEE90-A460-422F-A78E-AEAFEB0263ED@hyperhh.de> Message-ID: already tried focusing on another control, and, I have no idea what document.activeElement.blur() is supposed to do, but that didn't fix it either. From brian at milby7.com Sun Sep 23 22:47:30 2018 From: brian at milby7.com (Brian Milby) Date: Sun, 23 Sep 2018 21:47:30 -0500 Subject: mousemove doesn't recognize "shiftkey is down", but only under Windows In-Reply-To: References: <8c553b3e-18f9-b43f-04fa-c71756e9f169@hyperactivesw.com> <7feba223-b4d3-45e2-8e00-86895b86a23d@Spark> Message-ID: Correct, but I did have to move the mouse (since it was inside the mousemove handler). So if I stopped moving and pressed/released the shift, when I moved the mouse it did change to "down" / "up" as appropriate. It could be related to the VM. I don't have a Win7 VM, so I can't test that OS right now. I did the test on an actual Win10 laptop. On Sun, Sep 23, 2018 at 9:02 PM Howard Bornstein via use-livecode < use-livecode at lists.runrev.com> wrote: > Thanks Brian, > > I don't know what the problem could be. All my test show that for the Shift > key and the Option key, when called within a mousemove handler, it doesn't > register that the keys are down unless the mouse button is clicked first. > I'm running Windows 7 instead of 10, but I doubt that's the difference. > It's possible that Parallels, might be interfering somehow, but it's a > pretty specific issue. You ran my little test script and got the "Up" > output by just pressing the shift key down and nothing else? > > On Sun, Sep 23, 2018 at 3:37 PM Brian Milby via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I just did a quick test on Win10 and it works as it should. Tested with > LC > > 9.0.1 stable. > > > > Thanks, > > Brian > > On Sep 23, 2018, 5:20 PM -0500, Howard Bornstein via use-livecode < > > use-livecode at lists.runrev.com>, wrote: > > > Sadly, both the keysDown() function as well as rawKeyDown, only return > a > > > keycode for the shift key (and the option key) upon key UP. All the > other > > > keys work on key down but these do not. Do you have any idea why? > > > > > > Should I file a bug report on ShiftKey down? Were you able to verify > this > > > bug from the test code I sent (I put it in the card handler of a > stack)? > > > > > > On Sun, Sep 23, 2018 at 12:04 PM J. Landman Gay via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > > > On 9/22/18 11:03 PM, Howard Bornstein via use-livecode wrote: > > > > > This is exceedingly weird. I can't get a mousemove handler to > > recognize > > > > if > > > > > the shiftkey is down (although I think this is true for all key > > > > > modifiers?Shiftkey down and OptionKey down for sure). The only way > it > > > > > detects this state is if I click the mouse button while holding the > > > > > shiftkey down. > > > > > > > > You could see if the keysDown() function works instead. > > > > > > > > -- > > > > 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 > > > > > > > > > > > > -- > > > Regards, > > > > > > Howard Bornstein > > > ----------------------- > > > www.designeq.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 > > > > -- > Regards, > > Howard Bornstein > ----------------------- > www.designeq.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 Sep 23 22:58:08 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 24 Sep 2018 02:58:08 +0000 Subject: Livecode on Mohave Message-ID: Typically I try to avoid Apple latest (beta) upgrade while the early adopters shake out bugs, usually a series of patches for three months. But I'm curious, in LiveCode ready for Mohave (released tomorrow) BR From monte at appisle.net Sun Sep 23 23:14:49 2018 From: monte at appisle.net (Monte Goulding) Date: Mon, 24 Sep 2018 13:14:49 +1000 Subject: (browser) focus hocus pocus broke us In-Reply-To: References: <316BEE90-A460-422F-A78E-AEAFEB0263ED@hyperhh.de> Message-ID: Hi Mike This is actually a problem for all widgets with native layers. There?s also the additional complexity with the browser widget that some pages when you open them they have javascript that focuses in on something. I have a PR that makes `the focusedObject` and `focus on nothing | object` work for all platforms but Linux. I got completely stuck trying to come up with a solution for Linux to the point where I?m living in hope that someone answers this question on stackoverflow https://stackoverflow.com/questions/50092874/how-to-detect-focus-on-gtksocket So the PR is in limbo unfortunately? Cheers Monte > On 24 Sep 2018, at 12:42 pm, Mike Kerner via use-livecode wrote: > > already tried focusing on another control, and, I have no idea what > document.activeElement.blur() is supposed to do, but that didn't fix it > either. > _______________________________________________ > use-livecode mailing list > use-livecode 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 tom at makeshyft.com Sun Sep 23 23:25:47 2018 From: tom at makeshyft.com (Tom Glod) Date: Sun, 23 Sep 2018 23:25:47 -0400 Subject: (browser) focus hocus pocus broke us In-Reply-To: References: <316BEE90-A460-422F-A78E-AEAFEB0263ED@hyperhh.de> Message-ID: Just a hunch .... maybe you can quickly toggle visibility of the widget..after everything is loaded. maybe that will be enough to lose focus and not have to regain it?.... unlikely to work, but worth a try. On Sun, Sep 23, 2018 at 11:15 PM Monte Goulding via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi Mike > > This is actually a problem for all widgets with native layers. There?s > also the additional complexity with the browser widget that some pages when > you open them they have javascript that focuses in on something. > > I have a PR that makes `the focusedObject` and `focus on nothing | object` > work for all platforms but Linux. I got completely stuck trying to come up > with a solution for Linux to the point where I?m living in hope that > someone answers this question on stackoverflow > https://stackoverflow.com/questions/50092874/how-to-detect-focus-on-gtksocket > < > https://stackoverflow.com/questions/50092874/how-to-detect-focus-on-gtksocket > > > > So the PR is in limbo unfortunately? > > Cheers > > Monte > > > On 24 Sep 2018, at 12:42 pm, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > already tried focusing on another control, and, I have no idea what > > document.activeElement.blur() is supposed to do, but that didn't fix it > > either. > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 curry at pair.com Mon Sep 24 01:49:39 2018 From: curry at pair.com (Curry Kenworthy) Date: Mon, 24 Sep 2018 01:49:39 -0400 Subject: mousemove doesn't recognize "shiftkey is down", but only under Windows In-Reply-To: References: Message-ID: Howard: > All my test show that for the Shift key and the Option key, when > called within a mousemove handler, it doesn't register that the > keys are down unless the mouse button is clicked first. Hi Howard, I tested your code verbatim in the card script of a new stack in LC 901 on native Windows 10 with a real PC laptop, Dell Intel i5. It works fine here. I also noticed that since "shiftkey" only has two states, you don't really need to test it twice; you could cut out the second "if" statement. In fact, this yields similar results: on mousemove x,y put x,y && the shiftkey end mousemove So, despite the very significant issues that LC 9 has on real Windows, including a barely-usable script editor, it seems likely that this is not one of them. That's good news! But obviously you do have a problem. Have you tested your code in a brand new empty stack in a fresh and unmodded instance of LC, no extra plugins or scripts running? If so, if it's just Parallels, I have to say that virtual Windows isn't quite the same. Well, I guess an Intel Mac sporting a GUI that contradicts much of Apple's original research isn't quite the same either; I'm a big original Mac guy! :) But some details are different. That's why I always use real Mac and real Windows. But if you get different results with a fresh stack and LC, if there is something else going on and you would like me to test your actual stack (on native Windows) or help solve your problem, feel free to contact me off-list. Interesting. (Meanwhile, hope we can get improvements for some of the real Windows problems that LC has. It's difficult to type in the LC 901 script editor on Windows - that is a pretty huge issue. I have a WordLib update coming out in a few days, pending final tests, and it never hurts to have a fully usable version of the latest LC IDE on both platforms!) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From beatco at gmail.com Mon Sep 24 07:12:40 2018 From: beatco at gmail.com (Beat Cornaz) Date: Mon, 24 Sep 2018 13:12:40 +0200 Subject: Intersect Function Message-ID: Is there a function to determine the intersection point (x,y) of two lines? The intersect function in LC only gives me a true or false, and I need the exact location (x,y) of the intersection. Thanks, Beat From dunbarx at aol.com Mon Sep 24 09:15:00 2018 From: dunbarx at aol.com (dunbarxx) Date: Mon, 24 Sep 2018 08:15:00 -0500 (CDT) Subject: Intersect Function In-Reply-To: References: Message-ID: <1537794900027-0.post@n4.nabble.com> Hi. No. But you can determine the points of a line graphic, and calculate all the pixels it "contains" from its starting point to its ending point. Do the same for a second line. Then you can determine the point that seems to be common to both lines. I say seems, because when you do the math, that is, using the slope of each line and calculating the points using that information, you may find that there are no exact matches. But you can allow a small differential, and the closest pair of points will be the one you want. Can you do the math? Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From panos.merakos at livecode.com Mon Sep 24 09:46:36 2018 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 24 Sep 2018 16:46:36 +0300 Subject: [ANN] This Week in LiveCode 147 Message-ID: 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 #147 here: https://goo.gl/KkeEZG 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. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From merakosp at gmail.com Mon Sep 24 09:49:46 2018 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 24 Sep 2018 16:49:46 +0300 Subject: App Dead on iOS 12 In-Reply-To: <4186B4B5-2486-4869-BD27-8933591C4A50@appisle.net> References: <8ae1e1fd-f091-c52c-07d3-5cbf231fa790@pair.com> <4186B4B5-2486-4869-BD27-8933591C4A50@appisle.net> Message-ID: Hi all, If you folks still see crashes on startup on iOS 12 and you are using an Apple Enterprise Cert/ Provisioning Profile, then this is the culprit. Regenerating the certificate/provisioning profile seems to fix the problem: https://quality.livecode.com/show_bug.cgi?id=21597 Best, Panos - On Sat, Sep 22, 2018 at 1:30 AM Monte Goulding via use-livecode < use-livecode at lists.runrev.com> wrote: > > > > On 22 Sep 2018, at 5:34 am, Curry Kenworthy via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Monte, I couldn't reproduce this either. Using LC 901, things seem to > work OK on 12! > > Thanks Curry > > 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 beatco at gmail.com Mon Sep 24 10:16:17 2018 From: beatco at gmail.com (Beat Cornaz) Date: Mon, 24 Sep 2018 16:16:17 +0200 Subject: Intersect Function In-Reply-To: <1537794900027-0.post@n4.nabble.com> References: <1537794900027-0.post@n4.nabble.com> Message-ID: Thanks Craig, I was already afraid of that. Yes, I guess I could figure out the math. I will have the 2 functions of the lines and if I set them equal, I could solve the intersection point of the two. Your way is also valid, but as I need to determine many intersection points, the script might get slow. Of course your way might prove better if we're looking at curves. The amount of points in a curved line increases some in comparison to a straight line, but in setting the functions equal, I'd have to deal with quadratic functions. It just comes to me, that that is quite doable : move everything to one side of the equal sign and apply the famous 'abc formula' (at least that it was called in my high school years in Holland). It's used to solve a quadratic equation. Once the 'x' is known, I can put it into one of the functions to get the 'y' coordinate. I will see what goes faster. Cheers, Beat On Mon, Sep 24, 2018 at 3:15 PM dunbarxx via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi. > > No. > > But you can determine the points of a line graphic, and calculate all the > pixels it "contains" from its starting point to its ending point. Do the > same for a second line. > > Then you can determine the point that seems to be common to both lines. I > say seems, because when you do the math, that is, using the slope of each > line and calculating the points using that information, you may find that > there are no exact matches. But you can allow a small differential, and the > closest pair of points will be the one you want. > > Can you do the math? > > Craig Newman > > > > -- > Sent from: > http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Sep 24 10:50:32 2018 From: dunbarx at aol.com (dunbarxx) Date: Mon, 24 Sep 2018 09:50:32 -0500 (CDT) Subject: Intersect Function In-Reply-To: References: <1537794900027-0.post@n4.nabble.com> Message-ID: <1537800632105-0.post@n4.nabble.com> Well and good. I repeat that in a computer screen, with fixed pixel coordinates, you will likely need just a bit of rounding forgiveness when doing the math. You need to write a bit of code, in other words, that will accept close matches between the string of pixels and the calculated "points" along the line. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From bobsneidar at iotecdigital.com Mon Sep 24 11:26:11 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 24 Sep 2018 15:26:11 +0000 Subject: Script-only-stack file issue 9.0.1 In-Reply-To: References: Message-ID: <1062E271-2036-45DC-BB5F-D7D76B60EFAF@iotecdigital.com> I know you know, but it bears repeating, you can never go wrong following that old IT adage, no special characters in a filename, no spaces or caps in a SQL column name. In fact I don't even like spaces in a filename because if at some point I want to share it over FTP, and the FTP server has a web service, well now I have to account for spaces. Bob S > On Sep 22, 2018, at 13:04 , Mike Kerner via use-livecode wrote: > > NM. This is related to having double-quotes in a foldername. From bobsneidar at iotecdigital.com Mon Sep 24 11:30:55 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 24 Sep 2018 15:30:55 +0000 Subject: Mobile write to text file woes In-Reply-To: References: <004e01d45268$fc881480$f5983d80$@FlexibleLearning.com> Message-ID: That was so good I put it up on facebook. :-) Bob S > On Sep 22, 2018, at 14:10 , J. Landman Gay via use-livecode wrote: > >> I have a little app >> It works and makes me smile >> It reads text data in a snap >> But won't write with "Can't open file" >> The path is set the same for both >> The file is in the bundle >> So why can't I write to the file it reads? >> Mutter, mumble, grumble, grumble... > > You cannot write inside the app, > It's neither smart nor shrewd. > And if you try you'll want to cry > Because, in fact, you're screwed. > > It matters much what path you use, > As just a few make sense. > Write to temp or cache or prefs > Or also documents. > > I knew a hack who wrote a crack > And saved it to the bundle. > His malware failed; it was assailed > As a very stupid fumble. > > So lend an ear, all ye who hear, > Do not proceed apace. > Unless you know where files should go > You'll end up losing face. > > -- > Jacqueline Landman Gay From bobsneidar at iotecdigital.com Mon Sep 24 11:34:26 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 24 Sep 2018 15:34:26 +0000 Subject: Script Editor Slow on Windows (any Macs?) In-Reply-To: <08929e4f-9403-177b-2b9d-9effc4ec0302@pair.com> References: <08929e4f-9403-177b-2b9d-9effc4ec0302@pair.com> Message-ID: Well, I have noticed a regression of the old Forgotten Breakpoint bug, where a soft breakpoint is set (red dot) and after editing and saving a script, the red dot remains but the engine does not break. Turning it off and on again fixes it until the next save. Others have reported the script editor to be painfully slow on Windows. I hardly ever develop in Windows, but when I have I was taken aback on how slow it actually was. Bob S > On Sep 23, 2018, at 14:28 , Curry Kenworthy via use-livecode wrote: > > Howdy Folks, > > I will file a quality report very soon, but wanted to ask what others are experiencing too. > > Using LC 9.0.0 and 9.0.1, on a Windows "PC" laptop with Core i3 or Core i5, the script editor is painfully slow unless many of the auto formatting and coloring features are turned off. From MikeKerner at roadrunner.com Mon Sep 24 11:35:21 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 24 Sep 2018 11:35:21 -0400 Subject: Script-only-stack file issue 9.0.1 In-Reply-To: <1062E271-2036-45DC-BB5F-D7D76B60EFAF@iotecdigital.com> References: <1062E271-2036-45DC-BB5F-D7D76B60EFAF@iotecdigital.com> Message-ID: Unfortunately, the tao of lc isn't documented everywhere, and things that work on one os don't work on another, see "All the filenames that work on every platform but not on Windows". There seems to be another issue with single-quotes in paths, even though LC specifically substitutes them into paths in some circumstances. From MikeKerner at roadrunner.com Mon Sep 24 11:44:58 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 24 Sep 2018 11:44:58 -0400 Subject: (browser) focus hocus pocus broke us In-Reply-To: References: <316BEE90-A460-422F-A78E-AEAFEB0263ED@hyperhh.de> Message-ID: Thanks Monte. Fix it anyway. Thanks for the idea, Tom, no joy. On Sun, Sep 23, 2018 at 11:26 PM Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > Just a hunch .... maybe you can quickly toggle visibility of the > widget..after everything is loaded. maybe that will be enough to lose > focus and not have to regain it?.... unlikely to work, but worth a try. > > > > On Sun, Sep 23, 2018 at 11:15 PM Monte Goulding via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hi Mike > > > > This is actually a problem for all widgets with native layers. There?s > > also the additional complexity with the browser widget that some pages > when > > you open them they have javascript that focuses in on something. > > > > I have a PR that makes `the focusedObject` and `focus on nothing | > object` > > work for all platforms but Linux. I got completely stuck trying to come > up > > with a solution for Linux to the point where I?m living in hope that > > someone answers this question on stackoverflow > > > https://stackoverflow.com/questions/50092874/how-to-detect-focus-on-gtksocket > > < > > > https://stackoverflow.com/questions/50092874/how-to-detect-focus-on-gtksocket > > > > > > > So the PR is in limbo unfortunately? > > > > Cheers > > > > Monte > > > > > On 24 Sep 2018, at 12:42 pm, Mike Kerner via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > already tried focusing on another control, and, I have no idea what > > > document.activeElement.blur() is supposed to do, but that didn't fix it > > > either. > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode 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 -- 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 hh at hyperhh.de Mon Sep 24 12:23:12 2018 From: hh at hyperhh.de (hh) Date: Mon, 24 Sep 2018 18:23:12 +0200 Subject: Intersect Function Message-ID: <118F08C5-B6EC-49F7-9D60-5C8C6BC1808C@hyperhh.de> It is not this complicated. Only if you are looking for the intersection of two line *segments* you have do a few more checks. A LC object "line" is a line segment given by two pairs of points (x,y). The OP probably mean with line the math object line that is given by and passing through these pair of points. For example to get the intersection of two lines (if not parallel) this works here. -- pts1 = two lines of points from the first LC-"line" -- pts2 = two lines of points from the second LC-"line" function lineIntersection pts1,pts2 put pts1 &cr& pts2 into p repeat with i=1 to 4 put item 1 of line i of p into x[i] put item 2 of line i of p into y[i] end repeat put (y[4]-y[3])*(x[2]-x[1]) \ - (y[2]-y[1])*(x[4]-x[3]) into d if abs(d) < 0.00001 then return "parallel" else put (x[4]-x[3])*(x[2]*y[1]-x[1]*y[2]) \ - (x[2]-x[1])*(x[4]*y[3]-x[3]*y[4]) into xn put (y[1]-y[2])*(x[4]*y[3]-x[3]*y[4]) \ - (y[3]-y[4])*(x[2]*y[1]-x[1]*y[2]) into yn end if return format ("%0.3f,%0.3f", xn/d, yn/d) end lineIntersection on mouseUp put the points of grc 1 into p1 put the points of grc 2 into p2 if there is no grc "ip" then create grc "ip" set style of grc "ip" to "oval" set rect of grc "ip" to (0,0,10,10) set foreColor of grc "ip" to "255,0,0" set lineSize of grc "ip" to 1 end if put lineIntersection(p1,p2) into ip put ip into fld "info" if ip is not "parallel" then set loc of grc "ip" to \ round(item 1 of ip),round(item 2 of ip) end if end mouseUp From richmondmathewson at gmail.com Mon Sep 24 12:24:34 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 24 Sep 2018 19:24:34 +0300 Subject: Intersect Function In-Reply-To: <1537800632105-0.post@n4.nabble.com> References: <1537794900027-0.post@n4.nabble.com> <1537800632105-0.post@n4.nabble.com> Message-ID: I found THIS in the User contributed notes in the 7.1.4 documentation from 2009: "The intersect() command takes two objects as inputs. In some situations, it may be useful to find the intersect of a point and a rectangle. The custom function below may be used in those cases: function pointIntersect pPoint,pRect split pPoint by comma split pRect by comma return ((pRect[1] <= pPoint[1]) and (pPoint[1] <= pRect[3]) and (pRect[2] <= pPoint[2]) and (pPoint[2] <= pRect[4])) end pointIntersect Examples: pointIntersect(the mouseLoc, the rectangle of stack "MyStack") pointIntersect(the clickLoc, the rect of img "Splash") Use the pointIntersect function to determine whether a point is within a specified rectangle. Parameters: The pPoint is an expression that evaluates to a point. The pRect is a rectangle consisting of four integers separated by commas. Value: The pointIntersect function returns true or false. Comments: The pointIntersect function does not differentiate between screen coordinates and window coordinations. This means that if the point is screen-relative, such as a mouseLoc, and the rectangle is window-relative, such as an object's rectangle, the pointIntersect function does not return a reliable result." This is NOT mine, so I can take no credit for it. Richmond. From hh at hyperhh.de Mon Sep 24 12:33:32 2018 From: hh at hyperhh.de (hh) Date: Mon, 24 Sep 2018 18:33:32 +0200 Subject: (browser) focus hocus pocus broke us Message-ID: <798B0E77-9246-4AD0-9173-A006CF45E0CE@hyperhh.de> > Mike K. wrote: > ... I have no idea what document.activeElement.blur() is supposed to do ... The HTMLElement.blur() method removes keyboard focus from the current element. Is Google or similar defunct with you? From dochawk at gmail.com Mon Sep 24 14:34:58 2018 From: dochawk at gmail.com (doc hawk) Date: Mon, 24 Sep 2018 11:34:58 -0700 Subject: Script-only-stack file issue 9.0.1 In-Reply-To: <1062E271-2036-45DC-BB5F-D7D76B60EFAF@iotecdigital.com> References: <1062E271-2036-45DC-BB5F-D7D76B60EFAF@iotecdigital.com> Message-ID: On Mon, Sep 24, 2018 at 8:26 AM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: > I know you know, but it bears repeating, you can never go wrong following > that old IT adage, no special characters in a filename, no spaces or caps > in a SQL column name. In fact I don't even like spaces in a filename > because if at some point I want to share it over FTP, and the FTP server > has a web service, well now I have to account for spaces. > a-z, A-Z, 0-9, underbar, and dot. That's it. Pretty much anything else in a filename causes problems with some system or another. and mixed case is a problem itself with some older ones, such as CP/M, which would *usually* covert to upper case (but if a file was created from a program, such as MSBASIC, that check could be passed, and a filename that couldn't be accessed from the command line could be created). -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From hh at hyperhh.de Mon Sep 24 15:17:03 2018 From: hh at hyperhh.de (hh) Date: Mon, 24 Sep 2018 21:17:03 +0200 Subject: Intersect Function Message-ID: @Richmond. You (and the author) overlooked that we have, since 1.0, is within . From richmondmathewson at gmail.com Mon Sep 24 16:34:53 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 24 Sep 2018 23:34:53 +0300 Subject: Intersect Function In-Reply-To: References: Message-ID: One could have a line consisting of a graphic object (rectangle) with a width of one. ? On Mon, Sep 24, 2018, 10:17 PM hh via use-livecode < use-livecode at lists.runrev.com> wrote: > @Richmond. > > You (and the author) overlooked that we have, since 1.0, > is within . > > _______________________________________________ > use-livecode mailing list > use-livecode 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 jerry at jhjensen.com Mon Sep 24 16:35:41 2018 From: jerry at jhjensen.com (Jerry Jensen) Date: Mon, 24 Sep 2018 13:35:41 -0700 Subject: Intersect Function In-Reply-To: <118F08C5-B6EC-49F7-9D60-5C8C6BC1808C@hyperhh.de> References: <118F08C5-B6EC-49F7-9D60-5C8C6BC1808C@hyperhh.de> Message-ID: <43A1F357-01DF-492C-A9CC-37AD370023BD@jhjensen.com> I think he mentioned curved ?lines?. That is a whole other kettle of fish. .Jerry > On Sep 24, 2018, at 9:23 AM, hh via use-livecode wrote: > > It is not this complicated. Only if you are looking for > the intersection of two line *segments* you have do a > few more checks. From richmondmathewson at gmail.com Mon Sep 24 16:38:37 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 24 Sep 2018 23:38:37 +0300 Subject: Intersect Function In-Reply-To: <43A1F357-01DF-492C-A9CC-37AD370023BD@jhjensen.com> References: <118F08C5-B6EC-49F7-9D60-5C8C6BC1808C@hyperhh.de> <43A1F357-01DF-492C-A9CC-37AD370023BD@jhjensen.com> Message-ID: It is, and INTERSECT with them is just a distraction. Probably time (shock, horror) to do some Mathematics. On Mon, Sep 24, 2018, 11:36 PM Jerry Jensen via use-livecode < use-livecode at lists.runrev.com> wrote: > I think he mentioned curved ?lines?. That is a whole other kettle of fish. > .Jerry > > > On Sep 24, 2018, at 9:23 AM, hh via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > It is not this complicated. Only if you are looking for > > the intersection of two line *segments* you have do a > > few more checks. > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Mon Sep 24 16:43:43 2018 From: brahma at hindu.org (Sannyasin Brahmanathaswami) Date: Mon, 24 Sep 2018 20:43:43 +0000 Subject: (browser) focus hocus pocus broke us References: <316BEE90-A460-422F-A78E-AEAFEB0263ED@hyperhh.de> Message-ID: On 9/24/18 5:45 AM, Mike Kerner via use-livecode wrote: > Thanks Monte. Fix it anyway. > Thanks for the idea, Tom, no joy. Related use case: some web pages download a "ton" of javascript at start up. I can't find a way to set a "spinner/I-am-downloading" on the screen, until we get some content appearing on the page. BR From richmondmathewson at gmail.com Mon Sep 24 16:48:26 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 24 Sep 2018 23:48:26 +0300 Subject: (browser) focus hocus pocus broke us In-Reply-To: References: <316BEE90-A460-422F-A78E-AEAFEB0263ED@hyperhh.de> Message-ID: On my silly phone now as in bed. Wonder if you couldn't use a splash screen substack with a spinner? Will try this tomorrow, although am uncertain re substacks in the HTML5 standalone. On Mon, Sep 24, 2018, 11:44 PM Sannyasin Brahmanathaswami via use-livecode < use-livecode at lists.runrev.com> wrote: > On 9/24/18 5:45 AM, Mike Kerner via use-livecode wrote: > > Thanks Monte. Fix it anyway. > > Thanks for the idea, Tom, no joy. > > Related use case: some web pages download a "ton" of javascript at start > up. > > I can't find a way to set a "spinner/I-am-downloading" on the screen, > until we get some content appearing on the page. > > 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 bobsneidar at iotecdigital.com Mon Sep 24 17:25:30 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 24 Sep 2018 21:25:30 +0000 Subject: (browser) focus hocus pocus broke us In-Reply-To: References: <316BEE90-A460-422F-A78E-AEAFEB0263ED@hyperhh.de> Message-ID: <0F1160A3-602D-4E0B-B2F4-E1CA29FB6E2B@iotecdigital.com> Unless something changed, the built in spinner uses the single threaded engine, so any processing done by the engine will halt the spinner, thereby making the spinner just the other side of worthless for anything but non-blocking operations. What I did was I wrote a standalone that could receive messages (I used AppletaLk, but you could also use sockets) and then launched the app when the splash screen launched. I then sent text messages that would be displayed in a text field, and there was a spinner that ran. I also send show/hide messages to show and hide the window, so it looked like a progress dialog to the end user. I think I made the stack style System so it floated above everything else. I never got around to preventing the app from having an icon in the OS X dock though. There are ways to do that. Same with Windows. Bob S > On Sep 24, 2018, at 13:48 , Richmond Mathewson via use-livecode wrote: > > On my silly phone now as in bed. Wonder if you couldn't use a splash screen > substack with a spinner? Will try this tomorrow, although am uncertain re > substacks in the HTML5 standalone. From bobsneidar at iotecdigital.com Mon Sep 24 17:31:24 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 24 Sep 2018 21:31:24 +0000 Subject: (browser) focus hocus pocus broke us In-Reply-To: <0F1160A3-602D-4E0B-B2F4-E1CA29FB6E2B@iotecdigital.com> References: <316BEE90-A460-422F-A78E-AEAFEB0263ED@hyperhh.de> <0F1160A3-602D-4E0B-B2F4-E1CA29FB6E2B@iotecdigital.com> Message-ID: <393DAFE6-705F-423E-A8B6-96C727EB1A4D@iotecdigital.com> Correction: I set the systemWindow property to true. Bob S > On Sep 24, 2018, at 14:25 , Bob Sneidar via use-livecode wrote: > > Unless something changed, the built in spinner uses the single threaded engine, so any processing done by the engine will halt the spinner, thereby making the spinner just the other side of worthless for anything but non-blocking operations. > > What I did was I wrote a standalone that could receive messages (I used AppletaLk, but you could also use sockets) and then launched the app when the splash screen launched. I then sent text messages that would be displayed in a text field, and there was a spinner that ran. I also send show/hide messages to show and hide the window, so it looked like a progress dialog to the end user. I think I made the stack style System so it floated above everything else. > > I never got around to preventing the app from having an icon in the OS X dock though. There are ways to do that. Same with Windows. > > Bob S > > >> On Sep 24, 2018, at 13:48 , Richmond Mathewson via use-livecode wrote: >> >> On my silly phone now as in bed. Wonder if you couldn't use a splash screen >> substack with a spinner? Will try this tomorrow, although am uncertain re >> substacks in the HTML5 standalone. > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 hyperhh.de Mon Sep 24 17:43:07 2018 From: hh at hyperhh.de (hh) Date: Mon, 24 Sep 2018 23:43:07 +0200 Subject: Intersect Function Message-ID: <5E71720C-0780-4DED-B31E-18844365C6AF@hyperhh.de> > Jerry J. wrote: > I think he mentioned curved ?lines?. That is a > whole other kettle of fish. The OP speaks of "functions for the lines", so either he means "math lines" or, as you say, continuous curves, say polynomials. Yes, this isn't solvable for polynomials of higher degree by formulas (not because mathematicians didn't find the formula, to the contrary, it is proved that there is no formula for that). So the solution is a numerical one, finding the roots of (say for simplicity) polynomials. There are several fast algorithms for that. One of the simplest (and usually fast enough) is the Newton-Raphson method. https://en.wikipedia.org/wiki/Newton%27s_method A trial and error method as proposed by Craig may be good enough for very simple curves. This is also a (good) pragmatic approach. On the other hand the Newton-Raphson method is simple to script. https://en.wikipedia.org/wiki/Newton%27s_method As LC can not differentiate, you have to do that by yourself before applying it. [For non-math people: The intersection point of two functions is a root finding problem, because searching the point x where f1(x)=f1(x) is the same as finding the "root" (zero point g(x)=0) of g(x)= f1(x)-f2(x).] From dunbarx at aol.com Mon Sep 24 17:48:06 2018 From: dunbarx at aol.com (dunbarxx) Date: Mon, 24 Sep 2018 16:48:06 -0500 (CDT) Subject: Intersect Function In-Reply-To: References: <1537794900027-0.post@n4.nabble.com> <1537800632105-0.post@n4.nabble.com> Message-ID: <1537825686361-0.post@n4.nabble.com> I believe the OP was talking about two arbitrary lines, likely graphic objects, that intersect each other. Not rectangles with points within them, or two rectangles. I think the only way to do this is as per the first four posts in this thread. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From hh at hyperhh.de Mon Sep 24 17:48:56 2018 From: hh at hyperhh.de (hh) Date: Mon, 24 Sep 2018 23:48:56 +0200 Subject: (browser) focus hocus pocus broke us Message-ID: > BR wrote: > Related use case: some web pages download a "ton" of > javascript at start up. > I can't find a way to set a "spinner/I-am-downloading" > on the screen, until we get some content appearing on > the page. For your own pages you could use pace http://github.hubspot.com/pace/docs/welcome/ See for example one of my HTML5 standalones: http://hyperhh.de/html5/SVG2PNG_HTML5-9.0.0-dp-4hhX.html From gcanyon at gmail.com Mon Sep 24 18:13:24 2018 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 24 Sep 2018 15:13:24 -0700 Subject: Navigator 6.4 alpha 1 is out Message-ID: As usual, you can get Navigator here . Or grab it from GitHub . Phew! I discovered a brutal bug in Navigator while coding this update. Everyone should either update, or avoid the "Save All" and "Save Stackfiles" popup menu options. The code that iterated over the stackFiles of a stack to save them all didn't have a test for existence, and thus if any stackFiles were deleted, but still in the stackFiles property of the stack being saved, then the loop would die (silently, because of the "rev" prefix) and not save the remaining stackFiles. I have no idea how I managed to work on Navigator for the past eight months, using this feature *all the time*, and not run into this before. But in this case, I ended up having to code -- and lose -- the functionality listed below *twice* before I twigged to what was happening. :-( In any case, the "Save All" function now checks for existence on each stack before attempting to do anything with it, and if any are missing, will offer to update the stackFiles property to remove the ones that are missing. As an aside, does the IDE have any sort of equivalent function? i.e. "run through the stackFiles of this stack and save them all"? NEW FEATURES The "Edit Colors" option on the popup menu now works -- it worked before on the Properties menu. Completely reworked the mouse-targeting options: -- Choose Color -- Stack menu -> the mouseStack -- Action menu -> Bookmark -> MouseControl You no longer need to hold down the option key while using these commands -- I believe this made these functions useless under Linux, as well as making them harder to use in general. Instead, as soon as you trigger the command, Navigator displays a cross-hair. Mouse over the color/control/stack you want to select, and click, and the selection is done. Updated the mouseStack command so that when Navigator displays the current card of the stack you select, the control the crosshair was over when you made the selection is hilited in Navigator's list. This has been an awesome feature for me, I hope it delights you as well, and I'm looking to further enhance this. Fixed (I believe) an error where sometimes Navigator would think that it was still dragging even after the mouse is up. It was tricky to get this to happen, so we'll see... Fixed an error in the placement of the drag and drop controls when dragging from one Navigator to another. This had previously been fixed for dragging within Navigator, but I just found the remaining issue. Improved Navigator's handling of hilites when cloning, deleting, and dragging and dropping, but it's by no means perfect yet. There was an issue where Navigator's record of what lines are hilited wouldn't be updated after cloning or deleting controls. This could lead to weird dragging responses, and this has now been fixed. Also, you should find that when dragging a control, hilites are retained *as long as the control's long id doesn't change*. This means dragging controls into or out of groups breaks this functionality. I'm not 100% sure that I haven't made some aspects worse at the same time as fixing others -- drag and drop is the bane of my existence -- but I'll compare to what I had a week ago and take the best of both if possible. regards, gc From curry at pair.com Mon Sep 24 18:45:40 2018 From: curry at pair.com (Curry Kenworthy) Date: Mon, 24 Sep 2018 18:45:40 -0400 Subject: Script Editor Unusable on Windows In-Reply-To: References: Message-ID: <04067cac-5a40-85c0-f963-a3684737746c@pair.com> So having used it on two laptops, I conclude that LiveCode 901 Script Editor is essentially broken on many Windows machines. It's now unusable for real coding (with the built-in Script Editor) in my experience. Not a very acceptable situation! Bug report: https://quality.livecode.com/show_bug.cgi?id=21604 Ironically, if the Script Editor code in question is LCS (or perhaps LCB) I would be able to optimize the code myself easily enough, but at the current time/situation I can't do so free of charge. Argh.... This needs to be fixed soon. With 80%+ of desktop market share, it's not like Windows doesn't exist. A cross-platform IDE that only works well on one platform, and just looks nice on the other but can't really be used, isn't the same anymore. Surely LC must be losing out on many potential LiveCoders too! And unnecessarily; easy to remedy with just a little attention, true cross-platform mindset, and better IDE hardware testing. (LC 6 was great on Windows. LC 7 and 8 were fair. LC 9 has been getting worse, and 901 has crossed the line into extremely problematic, at least with the two laptops I've used, recent model Intel Core i3 and i5.) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From MikeKerner at roadrunner.com Mon Sep 24 20:42:58 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 24 Sep 2018 20:42:58 -0400 Subject: (browser) focus hocus pocus broke us In-Reply-To: References: Message-ID: I'm loading a pdf, not a web page into the widget. From MikeKerner at roadrunner.com Mon Sep 24 20:53:04 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 24 Sep 2018 20:53:04 -0400 Subject: Script-only-stack file issue 9.0.1 In-Reply-To: References: <1062E271-2036-45DC-BB5F-D7D76B60EFAF@iotecdigital.com> Message-ID: If you're on windows, there is no case-sensitivity, so when using git, for example, there are issues with "file" and "FILE" because they're the same to windows. Then there are the names thou shalt never use (con, prn, aux, nul, com1, com2, com3, com4, com5, com6, com7, com8, com9, com0, lpt1, lpt2, lpt3, lpt3, lpt4, lpt5, lpt6, lpt7, lpt8, lpt9, lpt0 and others). So it's not just so-called special characters that can be a problem. On Mon, Sep 24, 2018 at 2:35 PM doc hawk via use-livecode < use-livecode at lists.runrev.com> wrote: > On Mon, Sep 24, 2018 at 8:26 AM, Bob Sneidar via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I know you know, but it bears repeating, you can never go wrong following > > that old IT adage, no special characters in a filename, no spaces or caps > > in a SQL column name. In fact I don't even like spaces in a filename > > because if at some point I want to share it over FTP, and the FTP server > > has a web service, well now I have to account for spaces. > > > > a-z, A-Z, 0-9, underbar, and dot. That's it. > > Pretty much anything else in a filename causes problems with some system or > another. > > and mixed case is a problem itself with some older ones, such as CP/M, > which would *usually* covert to upper case (but if a file was created from > a program, such as MSBASIC, that check could be passed, and a filename that > couldn't be accessed from the command line could be created). > > > > -- > 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 > -- 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 gcanyon at gmail.com Mon Sep 24 23:19:05 2018 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 24 Sep 2018 20:19:05 -0700 Subject: Navigator 6.4 alpha 1 is out Message-ID: As usual, you can get Navigator here . Or grab it from GitHub . Phew! I discovered a brutal bug in Navigator while coding this update. Everyone should either update, or avoid the "Save All" and "Save Stackfiles" popup menu options. The code that iterated over the stackFiles of a stack to save them all didn't have a test for existence, and thus if any stackFiles were deleted, but still in the stackFiles property of the stack being saved, then the loop would die (silently, because of the "rev" prefix) and not save the remaining stackFiles. I have no idea how I managed to work on Navigator for the past eight months, using this feature *all the time*, and not run into this before. But in this case, I ended up having to code -- and lose -- the functionality listed below *twice* before I twigged to what was happening. :-( In any case, the "Save All" function now checks for existence on each stack before attempting to do anything with it, and if any are missing, will offer to update the stackFiles property to remove the ones that are missing. As an aside, does the IDE have any sort of equivalent function? i.e. "run through the stackFiles of this stack and save them all"? NEW FEATURES The "Edit Colors" option on the popup menu now works -- it worked before on the Properties menu. Completely reworked the mouse-targeting options: -- Choose Color -- Stack menu -> the mouseStack -- Action menu -> Bookmark -> MouseControl You no longer need to hold down the option key while using these commands -- I believe this made these functions useless under Linux, as well as making them harder to use in general. Instead, as soon as you trigger the command, Navigator displays a cross-hair. Mouse over the color/control/stack you want to select, and click, and the selection is done. Updated the mouseStack command so that when Navigator displays the current card of the stack you select, the control the crosshair was over when you made the selection is hilited in Navigator's list. This has been an awesome feature for me, I hope it delights you as well, and I'm looking to further enhance this. Fixed (I believe) an error where sometimes Navigator would think that it was still dragging even after the mouse is up. It was tricky to get this to happen, so we'll see... Fixed an error in the placement of the drag and drop controls when dragging from one Navigator to another. This had previously been fixed for dragging within Navigator, but I just found the remaining issue. Improved Navigator's handling of hilites when cloning, deleting, and dragging and dropping, but it's by no means perfect yet. There was an issue where Navigator's record of what lines are hilited wouldn't be updated after cloning or deleting controls. This could lead to weird dragging responses, and this has now been fixed. Also, you should find that when dragging a control, hilites are somewhat retained -- as long as the control's long id doesn't change, it should continue to be hilited. This means dragging controls into or out of groups breaks this functionality, and situations where the control is copied will break it as well. regards, gc From gcanyon at gmail.com Tue Sep 25 00:19:23 2018 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 24 Sep 2018 21:19:23 -0700 Subject: Navigator 6.4 alpha 1 is out In-Reply-To: References: Message-ID: I forgot -- I also added in-line editing of properties identified as single-line in Navigator's property editor. Meaning: 1. If the property is "colors" (this would only be displayed if you add colors to the control's properties in Navigator's preferences dialog) then Navigator will immediately open the color editor. 2. If the property is true/false, it will simply toggle between those two values. 3. If the property has a defined set of values (the style of a button, for example) then the list of styles will pop up for you to select. If I have missed any of these in Navigator's configuration, let me know. 4. If the property is defined as single-line in Navigator's configuration, it will edit in-line in the property editor. This is also a configuration in Navigator, so if I have missed any of these, let me know. 5. If none of the above apply, the standard Navigator editor window will open. gc On Mon, Sep 24, 2018 at 8:19 PM Geoff Canyon wrote: > As usual, you can get Navigator here > . Or grab > it from GitHub . > > Phew! I discovered a brutal bug in Navigator while coding this update. > Everyone should either update, or avoid the "Save All" and "Save > Stackfiles" popup menu options. The code that iterated over the stackFiles > of a stack to save them all didn't have a test for existence, and thus if > any stackFiles were deleted, but still in the stackFiles property of the > stack being saved, then the loop would die (silently, because of the "rev" > prefix) and not save the remaining stackFiles. I have no idea how I managed > to work on Navigator for the past eight months, using this feature *all the > time*, and not run into this before. But in this case, I ended up having to > code -- and lose -- the functionality listed below *twice* before I twigged > to what was happening. :-( > > In any case, the "Save All" function now checks for existence on each > stack before attempting to do anything with it, and if any are missing, > will offer to update the stackFiles property to remove the ones that are > missing. > > As an aside, does the IDE have any sort of equivalent function? i.e. "run > through the stackFiles of this stack and save them all"? > > NEW FEATURES > > The "Edit Colors" option on the popup menu now works -- it worked before > on the Properties menu. > > Completely reworked the mouse-targeting options: > -- Choose Color > -- Stack menu -> the mouseStack > -- Action menu -> Bookmark -> MouseControl > > You no longer need to hold down the option key while using these commands > -- I believe this made these functions useless under Linux, as well as > making them harder to use in general. Instead, as soon as you trigger the > command, Navigator displays a cross-hair. Mouse over the > color/control/stack you want to select, and click, and the selection is > done. > > Updated the mouseStack command so that when Navigator displays the current > card of the stack you select, the control the crosshair was over when you > made the selection is hilited in Navigator's list. This has been an awesome > feature for me, I hope it delights you as well, and I'm looking to further > enhance this. > > Fixed (I believe) an error where sometimes Navigator would think that it > was still dragging even after the mouse is up. It was tricky to get this to > happen, so we'll see... > > Fixed an error in the placement of the drag and drop controls when > dragging from one Navigator to another. This had previously been fixed for > dragging within Navigator, but I just found the remaining issue. > > Improved Navigator's handling of hilites when cloning, deleting, and > dragging and dropping, but it's by no means perfect yet. There was an issue > where Navigator's record of what lines are hilited wouldn't be updated > after cloning or deleting controls. This could lead to weird dragging > responses, and this has now been fixed. > > Also, you should find that when dragging a control, hilites are somewhat > retained -- as long as the control's long id doesn't change, it should > continue to be hilited. This means dragging controls into or out of > groups breaks this functionality, and situations where the control is > copied will break it as well. > > regards, > > gc > From merakosp at gmail.com Tue Sep 25 06:51:49 2018 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 25 Sep 2018 13:51:49 +0300 Subject: (browser) focus hocus pocus broke us In-Reply-To: References: Message-ID: Mikey you have the Business Edition don't you? I was wondering if XPDF could be useful in your use case. Best, Panos -- On Tue, Sep 25, 2018 at 3:44 AM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > I'm loading a pdf, not a web page into the widget. > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Sep 25 09:07:27 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 25 Sep 2018 09:07:27 -0400 Subject: (browser) focus hocus pocus broke us In-Reply-To: References: Message-ID: We do have a business license, and I have no idea what xpdf is, so now I'm going to do some research. On Tue, Sep 25, 2018 at 6:52 AM panagiotis merakos via use-livecode < use-livecode at lists.runrev.com> wrote: > Mikey you have the Business Edition don't you? I was wondering if XPDF > could be useful in your use case. > > Best, > Panos > -- > > On Tue, Sep 25, 2018 at 3:44 AM Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > I'm loading a pdf, not a web page into the widget. > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 MikeKerner at roadrunner.com Tue Sep 25 10:58:28 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 25 Sep 2018 10:58:28 -0400 Subject: (browser) focus hocus pocus broke us In-Reply-To: References: Message-ID: ooooh, so far so good. It's really embarrassing that I didn't remember xpdf. At all. Especially since Paul did a video about it at LCG THIS YEAR. Watching it again now. Thanks PM! On Tue, Sep 25, 2018 at 9:07 AM Mike Kerner wrote: > We do have a business license, and I have no idea what xpdf is, so now I'm > going to do some research. > > On Tue, Sep 25, 2018 at 6:52 AM panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Mikey you have the Business Edition don't you? I was wondering if XPDF >> could be useful in your use case. >> >> Best, >> Panos >> -- >> >> On Tue, Sep 25, 2018 at 3:44 AM Mike Kerner via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> > I'm loading a pdf, not a web page into the widget. >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode 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." > -- 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 Tue Sep 25 13:57:01 2018 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 25 Sep 2018 20:57:01 +0300 Subject: Intersecting Lines: straight ones Message-ID: <5af5afd9-5b2f-4868-7303-58b4469cafcc@gmail.com> Here: http://forums.livecode.com/viewtopic.php?f=7&t=31565 Richmond. From niconiko at gmail.com Tue Sep 25 20:52:04 2018 From: niconiko at gmail.com (Nicolas Cueto) Date: Wed, 26 Sep 2018 09:52:04 +0900 Subject: how to know 2 monitors are in use? Message-ID: During "development" on Windows with 2 monitors, how to use "set the loc of this stack to the screenloc" so that a stack centres in on one or the other monitor? (And, if not in the development environment? say, a standalone?) Thanks. -- Nicolas Cueto From paul at researchware.com Tue Sep 25 21:02:34 2018 From: paul at researchware.com (Paul Dupuis) Date: Tue, 25 Sep 2018 21:02:34 -0400 Subject: how to know 2 monitors are in use? In-Reply-To: References: Message-ID: "the screenrects" will return the rectangles of all active monitors with the default monitor as the 1st line. Unfortunately, "the screenLoc" only returns the center of the default monitor. You would need to get the rect of any other monitor and calculate the center for centering a dialog on other monitors. ?On 9/25/2018 8:52 PM, Nicolas Cueto via use-livecode wrote: > During "development" on Windows with 2 monitors, how to use "set the loc of > this stack to the screenloc" so that a stack centres in on one or the other > monitor? (And, if not in the development environment? say, a standalone?) > > Thanks. > > -- > Nicolas Cueto > _______________________________________________ > use-livecode mailing list > use-livecode 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 niconiko at gmail.com Tue Sep 25 21:57:03 2018 From: niconiko at gmail.com (Nicolas Cueto) Date: Wed, 26 Sep 2018 10:57:03 +0900 Subject: how to know 2 monitors are in use? In-Reply-To: References: Message-ID: Thank you, Paul. Using "screenrects" as Paul suggested, here, for future reference, is a script snippet that places a stack on the right monitor: put the screenrects into tScrRects if the environment is "development" and the number of lines in tScrRects > 1 then -- CENTRE THE STACK ON THE RIGHT MONITOR put line 2 of tScrRects into tRMon -- right monitor rect put ((item 3 of tRMon - item 1 of tRMon) / 2 + item 1 of tRMon) & comma & \ ((item 4 of tRMon - item 2 of tRMon) / 2) into tRect set the loc of this stack to tRect else -- CENTRE THE STACK ON TE LEFT MONITOR set the loc of this stack to the screenloc end if -- Nicolas Cueto On Wed, 26 Sep 2018 at 10:03, Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > "the screenrects" will return the rectangles of all active monitors with > the default monitor as the 1st line. > > Unfortunately, "the screenLoc" only returns the center of the default > monitor. You would need to get the rect of any other monitor and > calculate the center for centering a dialog on other monitors. > > > > On 9/25/2018 8:52 PM, Nicolas Cueto via use-livecode wrote: > > During "development" on Windows with 2 monitors, how to use "set the loc > of > > this stack to the screenloc" so that a stack centres in on one or the > other > > monitor? (And, if not in the development environment? say, a standalone?) > > > > Thanks. > > > > -- > > Nicolas Cueto > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 niconiko at gmail.com Tue Sep 25 22:17:50 2018 From: niconiko at gmail.com (Nicolas Cueto) Date: Wed, 26 Sep 2018 11:17:50 +0900 Subject: LC on Chromebook? In-Reply-To: <2f3ef677-4d9b-4d61-9a1a-7f264fbd1c60@Spark> References: <2f3ef677-4d9b-4d61-9a1a-7f264fbd1c60@Spark> Message-ID: Thank you, Brian. Well, following Brian's lead, I've now learnt (to my regret!) the importance of the term "kernel" (plus, the Chromebook term "channels") because, the Linux capability of any particular Chromebook depends on the Linux kernel version number -- currently 4.4 for Linux-on-Chrome, and with "no plans to support Linux 3.14 or older ". Fingers crossed for an update (and soon!) of Linux-on-Chrome, to verify whether or not LC can run on my newish-model-but-3.18-kernel-hamstrung Chromebook... On Tue, 18 Sep 2018 at 11:21, Brian Milby via use-livecode < use-livecode at lists.runrev.com> wrote: > > https://www.howtogeek.com/363331/how-to-set-up-and-use-linux-apps-on-chrome-os/ > > > https://www.androidpolice.com/2018/08/19/install-linux-applications-chrome-os/ > > It may be possible according to this new capability to run Linux apps. > I?ve not seen any reported successes though. > > Thanks, > Brian > On Sep 17, 2018, 9:15 PM -0500, Nicolas Cueto via use-livecode < > use-livecode at lists.runrev.com>, wrote: > > Not for running apps. For programming. > > > > Is there ANY way to get LC running on a Chromebook? > > > > One possibility is a cloud service (MacInClud or Frame). But there?s a > fee > > -- unless someone knows of a limited trial service? -- plus, when not on > > wifi, my connection is thru hotspotting onto a limited dataplan? > > > > Thank you. > > > > -- > > Nicol?s Cueto > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 bornstein at designeq.com Wed Sep 26 01:02:10 2018 From: bornstein at designeq.com (Howard Bornstein) Date: Tue, 25 Sep 2018 22:02:10 -0700 Subject: mousemove doesn't recognize "shiftkey is down", but only under Windows In-Reply-To: References: Message-ID: On Sun, Sep 23, 2018 at 10:50 PM Curry Kenworthy via use-livecode < use-livecode at lists.runrev.com> wrote: > > Howard: > > > All my test show that for the Shift key and the Option key, when > > called within a mousemove handler, it doesn't register that the > > keys are down unless the mouse button is clicked first. > > Hi Howard, I tested your code verbatim in the card script of a new stack > in LC 901 on native Windows 10 with a real PC laptop, Dell Intel i5. > > It works fine here. Thanks for testing this out. > I also noticed that since "shiftkey" only has two > states, you don't really need to test it twice; you could cut out the > second "if" statement. In fact, this yields similar results: > > on mousemove x,y > put x,y && the shiftkey > end mousemove > Lol. Yeah, I wasn't trying for elegance. I was making sure the code and results were absolutely clear. > So, despite the very significant issues that LC 9 has on real Windows, > including a barely-usable script editor, it seems likely that this is > not one of them. That's good news! But obviously you do have a problem. > > Have you tested your code in a brand new empty stack in a fresh and > unmodded instance of LC, no extra plugins or scripts running? If so, if > it's just Parallels, I have to say that virtual Windows isn't quite the > same. Well, I guess an Intel Mac sporting a GUI that contradicts much of > Apple's original research isn't quite the same either; I'm a big > original Mac guy! :) But some details are different. That's why I always > use real Mac and real Windows. > I have friend with a real Windows machine that will test the code of the app where I applied this technique so, hopefully I'll be able to see if it works on a real PC and if the problem is Parallels. I'm a Mac guy too and only use Windows to test apps built for both platforms. > But if you get different results with a fresh stack and LC, if there is > something else going on and you would like me to test your actual stack > (on native Windows) or help solve your problem, feel free to contact me > off-list. Interesting. > Thanks. I'll let you know what my friend turns up. > (Meanwhile, hope we can get improvements for some of the real Windows > problems that LC has. It's difficult to type in the LC 901 script editor > on Windows - that is a pretty huge issue. I have a WordLib update coming > out in a few days, pending final tests, and it never hurts to have a > fully usable version of the latest LC IDE on both platforms!) > I did work a little bit in the script editor under Windows and didn't notice the awful problems you've been reporting, but again, it was just some tweaks and code changes. I don't do most of my scripting under Windows. I hope this gets fixed. > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.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 > -- Regards, Howard Bornstein ----------------------- www.designeq.com From curry at pair.com Wed Sep 26 02:23:29 2018 From: curry at pair.com (Curry Kenworthy) Date: Wed, 26 Sep 2018 02:23:29 -0400 Subject: Script Editor Unusable on Windows In-Reply-To: <04067cac-5a40-85c0-f963-a3684737746c@pair.com> References: <04067cac-5a40-85c0-f963-a3684737746c@pair.com> Message-ID: <9dce250c-afac-4374-3f5d-64aceaaabe0d@pair.com> Following up - just wanted to mention that this is a bit more complex. Yesterday I was going to submit a screenshot of my system specs (and I did) but found that my current recipe, tested during a problematic LC session the day before, was not at all sufficient to trigger the issue from scratch. Panos, thanks for confirming the same on your end. That's a very good thing in one sense; perhaps this issue isn't going to bite newbies on day one of using LC, and that helps the cause. However, I certainly don't want to minimize it or make light of it to any degree; the script editor slowdown is one heck of a show stopper when it does strike (right when you're hard at work) and all the more insidious until we know the conditions that trigger it. Very likely we will know soon. It may take some days, but as I have time I will hunt down the trigger and hopefully see whether it affects other platforms and how much 901 SE performance differs from 900 or other versions. I've seen the slowdown several times - big difference between running the occasional LC test on a platform/chip and doing actual LC work on it every day for hours! Enough that I had already started developing a habit of avoiding 901 when I know I'll be typing a lot. Now I will do just the opposite and use 901 for all possible code editing to pin this thing down for a foolproof recipe, and then hopefully it'll be history before long! Thanks. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From scott at elementarysoftware.com Wed Sep 26 02:37:28 2018 From: scott at elementarysoftware.com (scott at elementarysoftware.com) Date: Tue, 25 Sep 2018 23:37:28 -0700 Subject: Script Editor Unusable on Windows In-Reply-To: <9dce250c-afac-4374-3f5d-64aceaaabe0d@pair.com> References: <04067cac-5a40-85c0-f963-a3684737746c@pair.com> <9dce250c-afac-4374-3f5d-64aceaaabe0d@pair.com> Message-ID: <478D3F8F-E94D-496C-B7FA-512D37B8B62C@elementarysoftware.com> Thank you for your efforts here, Curry! I?m trying to use LC 9 much more now that 9.0.1 is out. I?m running into a script editor slow down on Mac (High Sierra 10.13.6) fairly often. Keystrokes lagging far behind and copy - paste keyboard shortcuts sporadically not working. Restarting the IDE seems to fix it but I haven?t worked out a recipe. I?m glad you are trying to track it down! Warmest regards, Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com booth 1-800-615-0867 ------------------------------------------------------ > On Sep 25, 2018, at 11:23 PM, Curry Kenworthy via use-livecode wrote: > > > Following up - just wanted to mention that this is a bit more complex. Yesterday I was going to submit a screenshot of my system specs (and I did) but found that my current recipe, tested during a problematic LC session the day before, was not at all sufficient to trigger the issue from scratch. Panos, thanks for confirming the same on your end. > > That's a very good thing in one sense; perhaps this issue isn't going to bite newbies on day one of using LC, and that helps the cause. However, I certainly don't want to minimize it or make light of it to any degree; the script editor slowdown is one heck of a show stopper when it does strike (right when you're hard at work) and all the more insidious until we know the conditions that trigger it. > > Very likely we will know soon. It may take some days, but as I have time I will hunt down the trigger and hopefully see whether it affects other platforms and how much 901 SE performance differs from 900 or other versions. I've seen the slowdown several times - big difference between running the occasional LC test on a platform/chip and doing actual LC work on it every day for hours! Enough that I had already started developing a habit of avoiding 901 when I know I'll be typing a lot. > > Now I will do just the opposite and use 901 for all possible code editing to pin this thing down for a foolproof recipe, and then hopefully it'll be history before long! Thanks. > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.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 smudge.andy at googlemail.com Wed Sep 26 04:11:56 2018 From: smudge.andy at googlemail.com (AndyP) Date: Wed, 26 Sep 2018 03:11:56 -0500 (CDT) Subject: Script Editor Slow on Windows (any Macs?) In-Reply-To: <08929e4f-9403-177b-2b9d-9effc4ec0302@pair.com> References: <08929e4f-9403-177b-2b9d-9effc4ec0302@pair.com> Message-ID: <1537949516214-0.post@n4.nabble.com> As something to test. I've noticed that the script editor problems worsen when either the project browser or message box have been opened, the longer these are open the more the script editor ... in all of LC 9 series gets. If I do not have the project browser open or use the message box then the degradation in speed does not in my case materialize so quickly. I have seen the same slowdown effect on a 64b Intel i5 4440 @ 3.10GHz with 8GB and a newish I7 620 2.66GHz 64b laptop with 16GB ram installed. I have no plugins activated, in fact, I tried with the plugins folder emptied. It would appear that ide messages are hanging somewhere along line? ----- Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for LiveCode Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From matthias_livecode_150811 at m-r-d.de Wed Sep 26 05:59:24 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 26 Sep 2018 11:59:24 +0200 Subject: Script Editor Unusable on Windows In-Reply-To: <478D3F8F-E94D-496C-B7FA-512D37B8B62C@elementarysoftware.com> References: <04067cac-5a40-85c0-f963-a3684737746c@pair.com> <9dce250c-afac-4374-3f5d-64aceaaabe0d@pair.com> <478D3F8F-E94D-496C-B7FA-512D37B8B62C@elementarysoftware.com> Message-ID: <4FAAC7BF-E3CC-4601-8DB0-09EA61597FD7@m-r-d.de> While i can confirm the slowness under Windows here, i cannot confirm this on Mac OS X (currently 10.13.5). I am working daily with Livecode and do not see any slowdowns when working on my Mac. Matthias > Am 26.09.2018 um 08:37 schrieb scott--- via use-livecode : > > Thank you for your efforts here, Curry! I?m trying to use LC 9 much more now that 9.0.1 is out. I?m running into a script editor slow down on Mac (High Sierra 10.13.6) fairly often. Keystrokes lagging far behind and copy - paste keyboard shortcuts sporadically not working. Restarting the IDE seems to fix it but I haven?t worked out a recipe. I?m glad you are trying to track it down! > > Warmest regards, > > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web http://elementarysoftware.com/ > email scott at elementarysoftware.com > booth 1-800-615-0867 > ------------------------------------------------------ > >> On Sep 25, 2018, at 11:23 PM, Curry Kenworthy via use-livecode wrote: >> >> >> Following up - just wanted to mention that this is a bit more complex. Yesterday I was going to submit a screenshot of my system specs (and I did) but found that my current recipe, tested during a problematic LC session the day before, was not at all sufficient to trigger the issue from scratch. Panos, thanks for confirming the same on your end. >> >> That's a very good thing in one sense; perhaps this issue isn't going to bite newbies on day one of using LC, and that helps the cause. However, I certainly don't want to minimize it or make light of it to any degree; the script editor slowdown is one heck of a show stopper when it does strike (right when you're hard at work) and all the more insidious until we know the conditions that trigger it. >> >> Very likely we will know soon. It may take some days, but as I have time I will hunt down the trigger and hopefully see whether it affects other platforms and how much 901 SE performance differs from 900 or other versions. I've seen the slowdown several times - big difference between running the occasional LC test on a platform/chip and doing actual LC work on it every day for hours! Enough that I had already started developing a habit of avoiding 901 when I know I'll be typing a lot. >> >> Now I will do just the opposite and use 901 for all possible code editing to pin this thing down for a foolproof recipe, and then hopefully it'll be history before long! Thanks. >> >> Best wishes, >> >> Curry Kenworthy >> >> Custom Software Development >> "Better Methods, Better Results" >> LiveCode Training and Consulting >> http://livecodeconsulting.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 MikeKerner at roadrunner.com Wed Sep 26 10:04:46 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 26 Sep 2018 10:04:46 -0400 Subject: (browser) focus hocus pocus broke us In-Reply-To: References: Message-ID: FYI, Paul's final example, which is like an LC version of acrobat reader, now has its own repo (https://github.com/macmikey/xpdf) On Tue, Sep 25, 2018 at 10:58 AM Mike Kerner wrote: > ooooh, so far so good. > It's really embarrassing that I didn't remember xpdf. At all. Especially > since Paul did a video about it at LCG THIS YEAR. Watching it again now. > Thanks PM! > > On Tue, Sep 25, 2018 at 9:07 AM Mike Kerner > wrote: > >> We do have a business license, and I have no idea what xpdf is, so now >> I'm going to do some research. >> >> On Tue, Sep 25, 2018 at 6:52 AM panagiotis merakos via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Mikey you have the Business Edition don't you? I was wondering if XPDF >>> could be useful in your use case. >>> >>> Best, >>> Panos >>> -- >>> >>> On Tue, Sep 25, 2018 at 3:44 AM Mike Kerner via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>> > I'm loading a pdf, not a web page into the widget. >>> > _______________________________________________ >>> > use-livecode mailing list >>> > use-livecode 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." >> > > > -- > 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." > -- 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 bobsneidar at iotecdigital.com Wed Sep 26 10:37:36 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 26 Sep 2018 14:37:36 +0000 Subject: how to know 2 monitors are in use? In-Reply-To: References: Message-ID: Or you could use the recent line intersect function recently posted by Richmond on the top,left bottom,right and bottom,left and top,right of your chosen monitor and round the results: http://forums.livecode.com/viewtopic.php?f=7&t=31565 Bob S > On Sep 25, 2018, at 18:57 , Nicolas Cueto via use-livecode wrote: > > Thank you, Paul. > > Using "screenrects" as Paul suggested, here, for future reference, is a > script snippet that places a stack on the right monitor: > > put the screenrects into tScrRects > if the environment is "development" and the number of lines in tScrRects > > 1 then > -- CENTRE THE STACK ON THE RIGHT MONITOR > put line 2 of tScrRects into tRMon -- right monitor rect > put ((item 3 of tRMon - item 1 of tRMon) / 2 + item 1 of tRMon) & > comma & \ > ((item 4 of tRMon - item 2 of tRMon) / 2) into tRect > set the loc of this stack to tRect > else > -- CENTRE THE STACK ON TE LEFT MONITOR > set the loc of this stack to the screenloc > end if > -- > Nicolas Cueto From bobsneidar at iotecdigital.com Wed Sep 26 10:38:50 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 26 Sep 2018 14:38:50 +0000 Subject: LC on Chromebook? In-Reply-To: References: <2f3ef677-4d9b-4d61-9a1a-7f264fbd1c60@Spark> Message-ID: <32D566D1-5D33-4237-8A6B-FA2DF78CCEBB@iotecdigital.com> They ere really cheap for a reason. :-) Bob S > On Sep 25, 2018, at 19:17 , Nicolas Cueto via use-livecode wrote: > > Fingers crossed for an update (and soon!) of Linux-on-Chrome, to verify > whether or not LC can run on my newish-model-but-3.18-kernel-hamstrung > Chromebook... From tom at makeshyft.com Wed Sep 26 12:17:00 2018 From: tom at makeshyft.com (Tom Glod) Date: Wed, 26 Sep 2018 12:17:00 -0400 Subject: Script Editor Unusable on Windows In-Reply-To: <4FAAC7BF-E3CC-4601-8DB0-09EA61597FD7@m-r-d.de> References: <04067cac-5a40-85c0-f963-a3684737746c@pair.com> <9dce250c-afac-4374-3f5d-64aceaaabe0d@pair.com> <478D3F8F-E94D-496C-B7FA-512D37B8B62C@elementarysoftware.com> <4FAAC7BF-E3CC-4601-8DB0-09EA61597FD7@m-r-d.de> Message-ID: I've experienced this also a time or two since switching. I will join the effort to try to nail down the conditions that make the slowdown occur. On Wed, Sep 26, 2018 at 6:00 AM Matthias Rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > While i can confirm the slowness under Windows here, i cannot confirm this > on Mac OS X (currently 10.13.5). > I am working daily with Livecode and do not see any slowdowns when working > on my Mac. > > Matthias > > > > Am 26.09.2018 um 08:37 schrieb scott--- via use-livecode < > use-livecode at lists.runrev.com>: > > > > Thank you for your efforts here, Curry! I?m trying to use LC 9 much more > now that 9.0.1 is out. I?m running into a script editor slow down on Mac > (High Sierra 10.13.6) fairly often. Keystrokes lagging far behind and copy > - paste keyboard shortcuts sporadically not working. Restarting the IDE > seems to fix it but I haven?t worked out a recipe. I?m glad you are trying > to track it down! > > > > Warmest regards, > > > > Scott Morrow > > > > Elementary Software > > (Now with 20% less chalk dust!) > > web http://elementarysoftware.com/ > > email scott at elementarysoftware.com > > booth 1-800-615-0867 > > ------------------------------------------------------ > > > >> On Sep 25, 2018, at 11:23 PM, Curry Kenworthy via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> > >> > >> Following up - just wanted to mention that this is a bit more complex. > Yesterday I was going to submit a screenshot of my system specs (and I did) > but found that my current recipe, tested during a problematic LC session > the day before, was not at all sufficient to trigger the issue from > scratch. Panos, thanks for confirming the same on your end. > >> > >> That's a very good thing in one sense; perhaps this issue isn't going > to bite newbies on day one of using LC, and that helps the cause. However, > I certainly don't want to minimize it or make light of it to any degree; > the script editor slowdown is one heck of a show stopper when it does > strike (right when you're hard at work) and all the more insidious until we > know the conditions that trigger it. > >> > >> Very likely we will know soon. It may take some days, but as I have > time I will hunt down the trigger and hopefully see whether it affects > other platforms and how much 901 SE performance differs from 900 or other > versions. I've seen the slowdown several times - big difference between > running the occasional LC test on a platform/chip and doing actual LC work > on it every day for hours! Enough that I had already started developing a > habit of avoiding 901 when I know I'll be typing a lot. > >> > >> Now I will do just the opposite and use 901 for all possible code > editing to pin this thing down for a foolproof recipe, and then hopefully > it'll be history before long! Thanks. > >> > >> Best wishes, > >> > >> Curry Kenworthy > >> > >> Custom Software Development > >> "Better Methods, Better Results" > >> LiveCode Training and Consulting > >> http://livecodeconsulting.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 lists at mangomultimedia.com Wed Sep 26 12:46:39 2018 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 26 Sep 2018 11:46:39 -0500 Subject: App Updater Helper for Levure Message-ID: Hi, I've been working on the App Updater helper for Levure. The goal is to make automatic updating of Levure applications really straightforward. The helper leverages Sparkle on macOS and WinSparkle on Windows (the two desktop platforms I develop for). I used the Foreign Function Interface (FFI) in LiveCode Builder (LCB) to incorporate Sparkle and WinSparkle. Here are the relevant links. The README has all of the instructions. The release page has the downloadable files. I would be interested in hearing from anybody who tries to implement this in their own application. Project: https://github.com/trevordevore/levurehelper-app_updater Release page: https://github.com/trevordevore/levurehelper-app_updater/releases Levure: https://github.com/trevordevore/levure What is a Levure helper? https://github.com/trevordevore/levure/wiki/helpers For those who might want to incorporate Sparkle or WinSparkle in their app but don't use Levure here are links to the individual GitHub repos: Sparkle: https://github.com/trevordevore/lc-sparkle WinSparkle: https://github.com/trevordevore/lc-winsparkle Note: This same announcement was posted in the forums as well: https://forums.livecode.com/viewtopic.php?f=108&t=31571 -- Trevor DeVore ScreenSteps www.screensteps.com From bobsneidar at iotecdigital.com Wed Sep 26 12:49:32 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 26 Sep 2018 16:49:32 +0000 Subject: Script Editor Unusable on Windows In-Reply-To: References: <04067cac-5a40-85c0-f963-a3684737746c@pair.com> <9dce250c-afac-4374-3f5d-64aceaaabe0d@pair.com> <478D3F8F-E94D-496C-B7FA-512D37B8B62C@elementarysoftware.com> <4FAAC7BF-E3CC-4601-8DB0-09EA61597FD7@m-r-d.de> Message-ID: On the topic of the SE acting up, I seem to have also produced the effect where scrolling is not updating the line numbers properly. Anyone havin slow script editor issues check to see that the line numbers are in sync. It may be related. Bob S > On Sep 26, 2018, at 09:17 , Tom Glod via use-livecode wrote: > > I've experienced this also a time or two since switching. I will join the > effort to try to nail down the conditions that make the slowdown occur. From bobsneidar at iotecdigital.com Wed Sep 26 12:52:16 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 26 Sep 2018 16:52:16 +0000 Subject: Script Editor Unusable on Windows In-Reply-To: References: <04067cac-5a40-85c0-f963-a3684737746c@pair.com> <9dce250c-afac-4374-3f5d-64aceaaabe0d@pair.com> <478D3F8F-E94D-496C-B7FA-512D37B8B62C@elementarysoftware.com> <4FAAC7BF-E3CC-4601-8DB0-09EA61597FD7@m-r-d.de> Message-ID: <41E4EBF7-1BAD-4D89-9F80-4D8DC1DC075D@iotecdigital.com> I should mention I am still using 9.0.1 RC1 because a hotfix for nesting datagrid behaviors is in place and I need that. Not sure that fix is in place for the gold repo. Bob S > On Sep 26, 2018, at 09:49 , Bob Sneidar via use-livecode wrote: > > On the topic of the SE acting up, I seem to have also produced the effect where scrolling is not updating the line numbers properly. Anyone havin slow script editor issues check to see that the line numbers are in sync. It may be related. > > Bob S > > >> On Sep 26, 2018, at 09:17 , Tom Glod via use-livecode wrote: >> >> I've experienced this also a time or two since switching. I will join the >> effort to try to nail down the conditions that make the slowdown occur. > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Wed Sep 26 13:12:11 2018 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 26 Sep 2018 13:12:11 -0400 Subject: Script Editor Unusable on Windows In-Reply-To: References: <04067cac-5a40-85c0-f963-a3684737746c@pair.com> <9dce250c-afac-4374-3f5d-64aceaaabe0d@pair.com> <478D3F8F-E94D-496C-B7FA-512D37B8B62C@elementarysoftware.com> <4FAAC7BF-E3CC-4601-8DB0-09EA61597FD7@m-r-d.de> Message-ID: <003701d455bc$133dd920$39b98b60$@net> I've seen this. I have no recipe yet. It seems to be related to either breakpoints or a break cause by bad code(setting property for a non-existent control for example). 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 Bob Sneidar via use-livecode Sent: Wednesday, September 26, 2018 12:50 PM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: Script Editor Unusable on Windows On the topic of the SE acting up, I seem to have also produced the effect where scrolling is not updating the line numbers properly. Anyone havin slow script editor issues check to see that the line numbers are in sync. It may be related. Bob S > On Sep 26, 2018, at 09:17 , Tom Glod via use-livecode wrote: > > I've experienced this also a time or two since switching. I will join > the effort to try to nail down the conditions that make the slowdown occur. _______________________________________________ use-livecode mailing list use-livecode 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 tom at makeshyft.com Wed Sep 26 13:44:26 2018 From: tom at makeshyft.com (Tom Glod) Date: Wed, 26 Sep 2018 13:44:26 -0400 Subject: Script Editor Unusable on Windows In-Reply-To: <003701d455bc$133dd920$39b98b60$@net> References: <04067cac-5a40-85c0-f963-a3684737746c@pair.com> <9dce250c-afac-4374-3f5d-64aceaaabe0d@pair.com> <478D3F8F-E94D-496C-B7FA-512D37B8B62C@elementarysoftware.com> <4FAAC7BF-E3CC-4601-8DB0-09EA61597FD7@m-r-d.de> <003701d455bc$133dd920$39b98b60$@net> Message-ID: my guess it has to do with the "as you type" compiler. vague memory has to do with it finding errors in the script, but not handling them gracefully. On Wed, Sep 26, 2018 at 1:10 PM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > I've seen this. I have no recipe yet. It seems to be related to either > breakpoints or a break cause by bad code(setting property for a > non-existent > control for example). > > 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 Bob Sneidar via use-livecode > Sent: Wednesday, September 26, 2018 12:50 PM > To: How to use LiveCode > Cc: Bob Sneidar > Subject: Re: Script Editor Unusable on Windows > > On the topic of the SE acting up, I seem to have also produced the effect > where scrolling is not updating the line numbers properly. Anyone havin > slow > script editor issues check to see that the line numbers are in sync. It may > be related. > > Bob S > > > > On Sep 26, 2018, at 09:17 , Tom Glod via use-livecode > wrote: > > > > I've experienced this also a time or two since switching. I will join > > the effort to try to nail down the conditions that make the slowdown > occur. > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 matthias_livecode_150811 at m-r-d.de Wed Sep 26 14:00:00 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 26 Sep 2018 20:00:00 +0200 Subject: Script Editor Unusable on Windows In-Reply-To: <003701d455bc$133dd920$39b98b60$@net> References: <04067cac-5a40-85c0-f963-a3684737746c@pair.com> <9dce250c-afac-4374-3f5d-64aceaaabe0d@pair.com> <478D3F8F-E94D-496C-B7FA-512D37B8B62C@elementarysoftware.com> <4FAAC7BF-E3CC-4601-8DB0-09EA61597FD7@m-r-d.de> <003701d455bc$133dd920$39b98b60$@net> Message-ID: <751CE0D5-A1C6-45E5-8503-C3B6B76BD192@m-r-d.de> I?ve seen this line number weirdness, too, but not just with 9.0.1. I?ve seen this in all LC 9 if i remember right. But now slowness. Here it happens when debug mode is on and breakpoints are set or if the script execution aborts due to an error, like Ralph wrote. Closing and reopening the SE solves this. Matthias > Am 26.09.2018 um 19:12 schrieb Ralph DiMola via use-livecode >: > > I've seen this. I have no recipe yet. It seems to be related to either > breakpoints or a break cause by bad code(setting property for a non-existent > control for example). > > 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 Bob Sneidar via use-livecode > Sent: Wednesday, September 26, 2018 12:50 PM > To: How to use LiveCode > Cc: Bob Sneidar > Subject: Re: Script Editor Unusable on Windows > > On the topic of the SE acting up, I seem to have also produced the effect > where scrolling is not updating the line numbers properly. Anyone havin slow > script editor issues check to see that the line numbers are in sync. It may > be related. > > Bob S > > >> On Sep 26, 2018, at 09:17 , Tom Glod via use-livecode > wrote: >> >> I've experienced this also a time or two since switching. I will join >> the effort to try to nail down the conditions that make the slowdown > occur. > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Matthias Rebbe Tel +49 5741 310000 ?https://matthiasrebbe.eu ? From matthias_livecode_150811 at m-r-d.de Wed Sep 26 16:50:48 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 26 Sep 2018 22:50:48 +0200 Subject: Script Editor Unusable on Windows In-Reply-To: <751CE0D5-A1C6-45E5-8503-C3B6B76BD192@m-r-d.de> References: <04067cac-5a40-85c0-f963-a3684737746c@pair.com> <9dce250c-afac-4374-3f5d-64aceaaabe0d@pair.com> <478D3F8F-E94D-496C-B7FA-512D37B8B62C@elementarysoftware.com> <4FAAC7BF-E3CC-4601-8DB0-09EA61597FD7@m-r-d.de> <003701d455bc$133dd920$39b98b60$@net> <751CE0D5-A1C6-45E5-8503-C3B6B76BD192@m-r-d.de> Message-ID: <84F95D6F-8162-4843-A9FB-AC7B21C38B79@m-r-d.de> I meant, but no slowness. > Am 26.09.2018 um 20:00 schrieb Matthias Rebbe via use-livecode : > > I?ve seen this line number weirdness, too, but not just with 9.0.1. I?ve seen this in all LC 9 if i remember right. But now slowness. > Here it happens when debug mode is on and breakpoints are set or if the script execution aborts due to an error, like Ralph wrote. > Closing and reopening the SE solves this. > > Matthias > >> Am 26.09.2018 um 19:12 schrieb Ralph DiMola via use-livecode >>: >> >> I've seen this. I have no recipe yet. It seems to be related to either >> breakpoints or a break cause by bad code(setting property for a non-existent >> control for example). >> >> 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 Bob Sneidar via use-livecode >> Sent: Wednesday, September 26, 2018 12:50 PM >> To: How to use LiveCode >> Cc: Bob Sneidar >> Subject: Re: Script Editor Unusable on Windows >> >> On the topic of the SE acting up, I seem to have also produced the effect >> where scrolling is not updating the line numbers properly. Anyone havin slow >> script editor issues check to see that the line numbers are in sync. It may >> be related. >> >> Bob S >> >> >>> On Sep 26, 2018, at 09:17 , Tom Glod via use-livecode >> wrote: >>> >>> I've experienced this also a time or two since switching. I will join >>> the effort to try to nail down the conditions that make the slowdown >> occur. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 > > Matthias Rebbe > Tel +49 5741 310000 > ?https://matthiasrebbe.eu >? > > _______________________________________________ > use-livecode mailing list > use-livecode 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 curry at pair.com Wed Sep 26 19:14:31 2018 From: curry at pair.com (Curry Kenworthy) Date: Wed, 26 Sep 2018 19:14:31 -0400 Subject: Script Editor Unusable on Windows In-Reply-To: <84F95D6F-8162-4843-A9FB-AC7B21C38B79@m-r-d.de> References: <84F95D6F-8162-4843-A9FB-AC7B21C38B79@m-r-d.de> Message-ID: <026c9ad8-a937-7be6-7fcc-94a576694827@pair.com> Thanks everyone! With all this info and so many people affected, we should have a recipe pinned down soon. :) Best wishes, Curry K. From jacque at hyperactivesw.com Thu Sep 27 15:08:15 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 27 Sep 2018 14:08:15 -0500 Subject: Stacks whose names start with "rev" Message-ID: <6d7bc399-a613-300d-e323-7407621404b6@hyperactivesw.com> Some of my client's stacks must begin with names starting with "rev" (i.e., Bible study, "Revelations".) This of course wreaks havoc in the IDE, aside from just omitting the stacks from file lists. We have tried setting gRevDevelopment to true and turning on the option to view IDE stacks, but lots of other things still fail. Objects can't be selected with the edit tool and other oddities occur that make the stacks uneditable. Temporarily renaming the stack sometimes works, but throws errors all over the place when scripts try to navigate or use the long ID for other purposes. But now something else is occuring, totally unintelligible. Normally two stacks are open, an index stack "TSMain" and a mainstack "Revelations". When trying to navigate to Revelations by any method -- opening it from Finder, clicking the name in the index stack, etc. -- this error is thrown: "A stack with the same name as the one you are trying to load is already open. Before loading /Users//Documents//Revelations.livecode what do you want to do with stack /Users//Documents//TSMain.livecode, TSMain?" Besides the issue that the two "conflicting" stacks do not have the same name, the TSMain stack is listed twice, once as a full file path followed by the short name. Huh? This is under LC 9.0.1 but also happens in LC 8. How would you manage working with a stack whose name starts with "rev"? We are planning to change the name somehow if we can think of a good substitute, but for now it needs to stay as-is. And what's the deal with the weird conflict message? There are no duplicate stacks in RAM. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Thu Sep 27 15:23:08 2018 From: dunbarx at aol.com (dunbarxx) Date: Thu, 27 Sep 2018 14:23:08 -0500 (CDT) Subject: Stacks whose names start with "rev" In-Reply-To: <6d7bc399-a613-300d-e323-7407621404b6@hyperactivesw.com> References: <6d7bc399-a613-300d-e323-7407621404b6@hyperactivesw.com> Message-ID: <1538076188565-0.post@n4.nabble.com> Jacque. Can you include an invisible, unprintable char between the "R" and the "E"? Then the file name would appear to read as "rev" but would actually be "re" & funnyChar & "v". There are several such chars in the standard ASCII set. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From MikeKerner at roadrunner.com Thu Sep 27 15:24:35 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 27 Sep 2018 15:24:35 -0400 Subject: Stacks whose names start with "rev" In-Reply-To: <1538076188565-0.post@n4.nabble.com> References: <6d7bc399-a613-300d-e323-7407621404b6@hyperactivesw.com> <1538076188565-0.post@n4.nabble.com> Message-ID: what if the filename and the stack name are different? On Thu, Sep 27, 2018 at 3:23 PM dunbarxx via use-livecode < use-livecode at lists.runrev.com> wrote: > Jacque. > > Can you include an invisible, unprintable char between the "R" and the "E"? > > Then the file name would appear to read as "rev" but would actually be "re" > & funnyChar & "v". > > There are several such chars in the standard ASCII set. > > Craig > > > > -- > Sent from: > http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > _______________________________________________ > use-livecode mailing list > use-livecode 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 dunbarx at aol.com Thu Sep 27 15:27:14 2018 From: dunbarx at aol.com (dunbarxx) Date: Thu, 27 Sep 2018 14:27:14 -0500 (CDT) Subject: Stacks whose names start with "rev" In-Reply-To: <1538076188565-0.post@n4.nabble.com> References: <6d7bc399-a613-300d-e323-7407621404b6@hyperactivesw.com> <1538076188565-0.post@n4.nabble.com> Message-ID: <1538076434162-0.post@n4.nabble.com> I hurriedly put the funnyChar in the wrong place. I know you get this, assuming it is at all possible. But for my own curiosity, would this work? You would have to explcitly manage the pathNames as: "re" & numToChar(funnyChar) & "v". The question is, assuming you can make this work, is will the several OS's bark at all? Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From tore.nilsen at me.com Thu Sep 27 15:38:11 2018 From: tore.nilsen at me.com (Tore Nilsen) Date: Thu, 27 Sep 2018 21:38:11 +0200 Subject: Stacks whose names start with "rev" In-Reply-To: <6d7bc399-a613-300d-e323-7407621404b6@hyperactivesw.com> References: <6d7bc399-a613-300d-e323-7407621404b6@hyperactivesw.com> Message-ID: <3A9D23DC-F4F6-4A87-B7A5-8C7BEA681928@me.com> > 27. sep. 2018 kl. 21:08 skrev J. Landman Gay via use-livecode : > > Some of my client's stacks must begin with names starting with "rev" (i.e., Bible study, "Revelations".) Why does the stack itself need to be called ?Revelations?? Could it be a word around just to set the title of the stack to ?Revelations? ? Then the stack name can be something that does not conflict with the IDE. Tore Nilsen From bobsneidar at iotecdigital.com Thu Sep 27 15:43:59 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 27 Sep 2018 19:43:59 +0000 Subject: Stacks whose names start with "rev" In-Reply-To: <6d7bc399-a613-300d-e323-7407621404b6@hyperactivesw.com> References: <6d7bc399-a613-300d-e323-7407621404b6@hyperactivesw.com> Message-ID: <8ED08FC9-911F-4B94-9924-A59A0EBF2106@iotecdigital.com> How about preceding the name with OT_ or NT_? Bob S > On Sep 27, 2018, at 12:08 , J. Landman Gay via use-livecode wrote: > > Some of my client's stacks must begin with names starting with "rev" (i.e., Bible study, "Revelations".) This of course wreaks havoc in the IDE, aside from just omitting the stacks from file lists. We have tried setting gRevDevelopment to true and turning on the option to view IDE stacks, but lots of other things still fail. Objects can't be selected with the edit tool and other oddities occur that make the stacks uneditable. > > Temporarily renaming the stack sometimes works, but throws errors all over the place when scripts try to navigate or use the long ID for other purposes. > > But now something else is occuring, totally unintelligible. Normally two stacks are open, an index stack "TSMain" and a mainstack "Revelations". When trying to navigate to Revelations by any method -- opening it from Finder, clicking the name in the index stack, etc. -- this error is thrown: > > "A stack with the same name as the one you are trying to load is already open. Before loading > /Users//Documents//Revelations.livecode what do you want to do with stack > /Users//Documents//TSMain.livecode, TSMain?" > > Besides the issue that the two "conflicting" stacks do not have the same name, the TSMain stack is listed twice, once as a full file path followed by the short name. > > Huh? This is under LC 9.0.1 but also happens in LC 8. > > How would you manage working with a stack whose name starts with "rev"? We are planning to change the name somehow if we can think of a good substitute, but for now it needs to stay as-is. And what's the deal with the weird conflict message? There are no duplicate stacks in RAM. > > -- > 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 ambassador at fourthworld.com Thu Sep 27 15:56:30 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 27 Sep 2018 12:56:30 -0700 Subject: Stacks whose names start with "rev" In-Reply-To: <6d7bc399-a613-300d-e323-7407621404b6@hyperactivesw.com> References: <6d7bc399-a613-300d-e323-7407621404b6@hyperactivesw.com> Message-ID: <29bf28b6-ee63-9a27-bbab-6bb5a830c952@fourthworld.com> You could name it "com.livecode.palette.autocomplete.completions" - that doesn't start with "rev" so I'm sure it'll be completely safe. ;) -- 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 Thu Sep 27 17:03:45 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 27 Sep 2018 17:03:45 -0400 Subject: App Dead on iOS 12 In-Reply-To: References: <8ae1e1fd-f091-c52c-07d3-5cbf231fa790@pair.com> <4186B4B5-2486-4869-BD27-8933591C4A50@appisle.net> Message-ID: No joy using 8.x. 9.x breaks fonts so we're stuck in 8 until we have someone fix all the font issues with 9. On Mon, Sep 24, 2018 at 9:50 AM panagiotis merakos via use-livecode < use-livecode at lists.runrev.com> wrote: > Hi all, > > If you folks still see crashes on startup on iOS 12 and you are using an > Apple Enterprise Cert/ Provisioning Profile, then this is the culprit. > Regenerating the certificate/provisioning profile seems to fix the problem: > > https://quality.livecode.com/show_bug.cgi?id=21597 > > Best, > Panos > - > > On Sat, Sep 22, 2018 at 1:30 AM Monte Goulding via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > > > > > On 22 Sep 2018, at 5:34 am, Curry Kenworthy via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > Monte, I couldn't reproduce this either. Using LC 901, things seem to > > work OK on 12! > > > > Thanks Curry > > > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Thu Sep 27 18:47:45 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 27 Sep 2018 17:47:45 -0500 Subject: Stacks whose names start with "rev" In-Reply-To: <29bf28b6-ee63-9a27-bbab-6bb5a830c952@fourthworld.com> References: <6d7bc399-a613-300d-e323-7407621404b6@hyperactivesw.com> <29bf28b6-ee63-9a27-bbab-6bb5a830c952@fourthworld.com> Message-ID: <82a675a6-e185-3bf8-c50d-d714ba615c63@hyperactivesw.com> On 9/27/18 2:56 PM, Richard Gaskin via use-livecode wrote: > You could name it "com.livecode.palette.autocomplete.completions" - that > doesn't start with "rev" so I'm sure it'll be completely safe. ;) > That should fix it. ;) Next we should discuss the company's product line which starts with the word "Revealing"...except so far that doesn't interfere with anything. All suggestions so far are to rename the stack. We actually tried naming it "ABCDEFG" and it still misbehaved. I think if we'd saved it to disk and then restarted everything it probably would have worked, and that's likely what we'll do next time. The message box works so we were setting properties that way. The reason the stack name can't be changed is because the whole multi-stack system uses the stack name for internal display in dozens of places (glossaries, gradebooks, student notes, reading history, lookups, etc.) and I'd have to add exceptions everywhere to accomodate just a couple of problem names. We only want to do an occasional edit without upsetting the whole IDE. But my main question is about that totally odd error messages claiming a conflict between two open stacks that don't even have the same name (or filename, which shouldn't matter anyway.) That's just bizarre. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at appisle.net Thu Sep 27 19:10:41 2018 From: monte at appisle.net (Monte Goulding) Date: Fri, 28 Sep 2018 09:10:41 +1000 Subject: App Dead on iOS 12 In-Reply-To: References: <8ae1e1fd-f091-c52c-07d3-5cbf231fa790@pair.com> <4186B4B5-2486-4869-BD27-8933591C4A50@appisle.net> Message-ID: <0629EA0B-4B70-484B-9E4B-7C643578FA2A@appisle.net> > On 28 Sep 2018, at 7:03 am, Mike Kerner via use-livecode wrote: > > No joy using 8.x. 9.x breaks fonts so we're stuck in 8 until we have > someone fix all the font issues with 9. That sounds interesting. What?s the bug report number. Cheers Monte From ahsoftware at sonic.net Thu Sep 27 19:12:44 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 27 Sep 2018 16:12:44 -0700 Subject: Stacks whose names start with "rev" In-Reply-To: <82a675a6-e185-3bf8-c50d-d714ba615c63@hyperactivesw.com> References: <6d7bc399-a613-300d-e323-7407621404b6@hyperactivesw.com> <29bf28b6-ee63-9a27-bbab-6bb5a830c952@fourthworld.com> <82a675a6-e185-3bf8-c50d-d714ba615c63@hyperactivesw.com> Message-ID: <50bf1b47-ee0e-69d4-9ea8-420aada62705@sonic.net> On 09/27/2018 03:47 PM, J. Landman Gay via use-livecode wrote: > The reason the stack name can't be changed is because the whole > multi-stack system uses the stack name for internal display in dozens of > places (glossaries, gradebooks, student notes, reading history, lookups, Really really really a bad idea. I'm sure you knew that already, but I want to say it again. That's really really really a bad idea. One of the prime tenets of database design is that you shouldn't use actual data to link items together. Else you get into maintenance nightmares and things fall apart when you get unexpected data, etc. I hate to say you should rethink the design, but you should probably rethink the design. -- Mark Wieder ahsoftware at gmail.com From bobsneidar at iotecdigital.com Thu Sep 27 19:26:07 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 27 Sep 2018 23:26:07 +0000 Subject: Stacks whose names start with "rev" In-Reply-To: <50bf1b47-ee0e-69d4-9ea8-420aada62705@sonic.net> References: <6d7bc399-a613-300d-e323-7407621404b6@hyperactivesw.com> <29bf28b6-ee63-9a27-bbab-6bb5a830c952@fourthworld.com> <82a675a6-e185-3bf8-c50d-d714ba615c63@hyperactivesw.com> <50bf1b47-ee0e-69d4-9ea8-420aada62705@sonic.net> Message-ID: <8D404D52-C5FE-4FA5-AD03-81FD682CC783@iotecdigital.com> Hmmm... If she means that she has links or buttons that navigate to various stacks and cards, I'm not sure how else she could do it. I suppose setting properties or constants in scripts might work. But you cannot get around the fact that when navigating to what amounts to a form, it needs to be a hard reference somehow. Bob S > On Sep 27, 2018, at 16:12 , Mark Wieder via use-livecode wrote: > >> The reason the stack name can't be changed is because the whole multi-stack system uses the stack name for internal display in dozens of places (glossaries, gradebooks, student notes, reading history, lookups, > > Really really really a bad idea. > I'm sure you knew that already, but I want to say it again. > That's really really really a bad idea. > > One of the prime tenets of database design is that you shouldn't use actual data to link items together. Else you get into maintenance nightmares and things fall apart when you get unexpected data, etc. > > I hate to say you should rethink the design, but you should probably rethink the design. > > -- > Mark Wieder From dunbarx at aol.com Fri Sep 28 00:33:00 2018 From: dunbarx at aol.com (dunbarxx) Date: Thu, 27 Sep 2018 23:33:00 -0500 (CDT) Subject: Stacks whose names start with "rev" In-Reply-To: <8D404D52-C5FE-4FA5-AD03-81FD682CC783@iotecdigital.com> References: <6d7bc399-a613-300d-e323-7407621404b6@hyperactivesw.com> <29bf28b6-ee63-9a27-bbab-6bb5a830c952@fourthworld.com> <82a675a6-e185-3bf8-c50d-d714ba615c63@hyperactivesw.com> <50bf1b47-ee0e-69d4-9ea8-420aada62705@sonic.net> <8D404D52-C5FE-4FA5-AD03-81FD682CC783@iotecdigital.com> Message-ID: <1538109180299-0.post@n4.nabble.com> Jacque. Do you remember I had this same issue (thread in the forums) about two months ago? All the "destroy" stuff in the world did not prevent that dialog from coming up. It never caused a problem, only a nuisance. And oddly, though it occurred continuously over the better part of a year, it has not come up in the last month or so. I had actually forgotten about it. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html From ahsoftware at sonic.net Fri Sep 28 02:22:23 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 27 Sep 2018 23:22:23 -0700 Subject: Stacks whose names start with "rev" In-Reply-To: <8D404D52-C5FE-4FA5-AD03-81FD682CC783@iotecdigital.com> References: <6d7bc399-a613-300d-e323-7407621404b6@hyperactivesw.com> <29bf28b6-ee63-9a27-bbab-6bb5a830c952@fourthworld.com> <82a675a6-e185-3bf8-c50d-d714ba615c63@hyperactivesw.com> <50bf1b47-ee0e-69d4-9ea8-420aada62705@sonic.net> <8D404D52-C5FE-4FA5-AD03-81FD682CC783@iotecdigital.com> Message-ID: <13a9aade-35d7-e856-4fc9-7534f085d91e@sonic.net> On 09/27/2018 04:26 PM, Bob Sneidar via use-livecode wrote: > Hmmm... If she means that she has links or buttons that navigate to various stacks and cards, I'm not sure how else she could do it. I suppose setting properties or constants in scripts might work. But you cannot get around the fact that when navigating to what amounts to a form, it needs to be a hard reference somehow. Sure it does. But the stacks could be named "One,Two,Three" or "Vera,Chuck,Dave" or "Curly,Moe,Shemp" or whatever. They don't have to be significant data points. -- Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Fri Sep 28 05:40:47 2018 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 28 Sep 2018 12:40:47 +0300 Subject: how to know 2 monitors are in use? In-Reply-To: References: Message-ID: <22f160bb-6198-76ae-eb4d-d76c8bb20552@gmail.com> All well and good, in theory, but I have just been fooling around with a monitor that gives me 0,0,1600,900, and then "getting its knickers in a twist" because when I feed the topleft of the VDU into my calculations I get a "tried to divide 0 by 0" thing. I suppose (?) one of the ways round this would be to change 0,0,1600,900 to 1,1,1600,900 and live with the "tragedy" that everything would be one pixel "out of whack". Richmond. On 26.09.2018 17:37, Bob Sneidar via use-livecode wrote: > Or you could use the recent line intersect function recently posted by Richmond on the top,left bottom,right and bottom,left and top,right of your chosen monitor and round the results: > > http://forums.livecode.com/viewtopic.php?f=7&t=31565 > > Bob S > > >> On Sep 25, 2018, at 18:57 , Nicolas Cueto via use-livecode wrote: >> >> Thank you, Paul. >> >> Using "screenrects" as Paul suggested, here, for future reference, is a >> script snippet that places a stack on the right monitor: >> >> put the screenrects into tScrRects >> if the environment is "development" and the number of lines in tScrRects > >> 1 then >> -- CENTRE THE STACK ON THE RIGHT MONITOR >> put line 2 of tScrRects into tRMon -- right monitor rect >> put ((item 3 of tRMon - item 1 of tRMon) / 2 + item 1 of tRMon) & >> comma & \ >> ((item 4 of tRMon - item 2 of tRMon) / 2) into tRect >> set the loc of this stack to tRect >> else >> -- CENTRE THE STACK ON TE LEFT MONITOR >> set the loc of this stack to the screenloc >> end if >> -- >> Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode 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 iphonelagi at gmail.com Fri Sep 28 05:53:04 2018 From: iphonelagi at gmail.com (Lagi Pittas) Date: Fri, 28 Sep 2018 10:53:04 +0100 Subject: Stacks whose names start with "rev" In-Reply-To: <50bf1b47-ee0e-69d4-9ea8-420aada62705@sonic.net> References: <6d7bc399-a613-300d-e323-7407621404b6@hyperactivesw.com> <29bf28b6-ee63-9a27-bbab-6bb5a830c952@fourthworld.com> <82a675a6-e185-3bf8-c50d-d714ba615c63@hyperactivesw.com> <50bf1b47-ee0e-69d4-9ea8-420aada62705@sonic.net> Message-ID: Hi Mark, Couldn't agree more. I name my stacks stkName, stkOthernMe cards are crdName etc fields used for lists are lstName - Got used to that using foxpro. One way out of this is without having to rewrite everything, is rename the stacks with stkRev (for instance) and wherever there is a display of the name needed instead of "display" "StkName" it displays FixName("stkName") where fixname returns the stack name without the "stk" prefix Lagi On Fri, 28 Sep 2018 at 00:13, Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 09/27/2018 03:47 PM, J. Landman Gay via use-livecode wrote: > > > The reason the stack name can't be changed is because the whole > > multi-stack system uses the stack name for internal display in dozens of > > places (glossaries, gradebooks, student notes, reading history, lookups, > > Really really really a bad idea. > I'm sure you knew that already, but I want to say it again. > That's really really really a bad idea. > > One of the prime tenets of database design is that you shouldn't use > actual data to link items together. Else you get into maintenance > nightmares and things fall apart when you get unexpected data, etc. > > I hate to say you should rethink the design, but you should probably > rethink the design. > > -- > 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 MikeKerner at roadrunner.com Fri Sep 28 09:43:51 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 28 Sep 2018 09:43:51 -0400 Subject: App Dead on iOS 12 In-Reply-To: <0629EA0B-4B70-484B-9E4B-7C643578FA2A@appisle.net> References: <8ae1e1fd-f091-c52c-07d3-5cbf231fa790@pair.com> <4186B4B5-2486-4869-BD27-8933591C4A50@appisle.net> <0629EA0B-4B70-484B-9E4B-7C643578FA2A@appisle.net> Message-ID: on the fonts? Mark knows about it. It's a feature. On Thu, Sep 27, 2018 at 7:11 PM Monte Goulding via use-livecode < use-livecode at lists.runrev.com> wrote: > > > On 28 Sep 2018, at 7:03 am, Mike Kerner via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > No joy using 8.x. 9.x breaks fonts so we're stuck in 8 until we have > > someone fix all the font issues with 9. > > That sounds interesting. What?s the bug report number. > > 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 -- 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 matthias_livecode_150811 at m-r-d.de Fri Sep 28 10:35:57 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 28 Sep 2018 16:35:57 +0200 Subject: App Dead on iOS 12 In-Reply-To: References: <8ae1e1fd-f091-c52c-07d3-5cbf231fa790@pair.com> <4186B4B5-2486-4869-BD27-8933591C4A50@appisle.net> <0629EA0B-4B70-484B-9E4B-7C643578FA2A@appisle.net> Message-ID: Mike, as i am also facing some problems with fonts, here especially with barcode fonts, could you please give some more information about your font issues. Regards, Matthias Rebbe > Am 28.09.2018 um 15:43 schrieb Mike Kerner via use-livecode : > > on the fonts? Mark knows about it. It's a feature. > > On Thu, Sep 27, 2018 at 7:11 PM Monte Goulding via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> >>> On 28 Sep 2018, at 7:03 am, Mike Kerner via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> No joy using 8.x. 9.x breaks fonts so we're stuck in 8 until we have >>> someone fix all the font issues with 9. >> >> That sounds interesting. What?s the bug report number. >> >> 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 > > > > -- > 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 bobsneidar at iotecdigital.com Fri Sep 28 11:11:36 2018 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 28 Sep 2018 15:11:36 +0000 Subject: Stacks whose names start with "rev" In-Reply-To: <13a9aade-35d7-e856-4fc9-7534f085d91e@sonic.net> References: <6d7bc399-a613-300d-e323-7407621404b6@hyperactivesw.com> <29bf28b6-ee63-9a27-bbab-6bb5a830c952@fourthworld.com> <82a675a6-e185-3bf8-c50d-d714ba615c63@hyperactivesw.com> <50bf1b47-ee0e-69d4-9ea8-420aada62705@sonic.net> <8D404D52-C5FE-4FA5-AD03-81FD682CC783@iotecdigital.com> <13a9aade-35d7-e856-4fc9-7534f085d91e@sonic.net> Message-ID: <46BCE25C-2EF7-415C-845D-E03147FADEEE@iotecdigital.com> Oh I see your point! Bob S > On Sep 27, 2018, at 23:22 , Mark Wieder via use-livecode wrote: > >> Hmmm... If she means that she has links or buttons that navigate to various stacks and cards, I'm not sure how else she could do it. I suppose setting properties or constants in scripts might work. But you cannot get around the fact that when navigating to what amounts to a form, it needs to be a hard reference somehow. > > Sure it does. But the stacks could be named "One,Two,Three" or "Vera,Chuck,Dave" or "Curly,Moe,Shemp" or whatever. They don't have to be significant data points. > > -- > Mark Wieder From richmondmathewson at gmail.com Fri Sep 28 11:15:04 2018 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 28 Sep 2018 18:15:04 +0300 Subject: how to know 2 monitors are in use? In-Reply-To: References: Message-ID: <61ea3d24-f861-7d0c-0811-7b709eb6c8c0@gmail.com> Someone loves overcomplicating things. I don't, most of the time. I just ran up a stack with 2 scrolling text fields called "VIDZ" and :VIDZ2" repectively, so that relative screen middles could go in the first one and absolute screen middles in the second one, and then popped this code in a button: on mouseUp ?? put empty into fld "VIDZ" ?? put empty into fld "VIDZ2" ?? put the screenRects into fld "VIDZ" ?? put 1 into VDUZ ?? repeat until line VDUZ of fld "VIDZ" is empty ????? put item 1 of line VDUZ of fld "VIDZ" into VW1 ????? put item 3 of line VDUZ of fld "VIDZ" into VW2 ????? put ((VW2-VW1)/2) into WIDD ????? put (((VW2-VW1)/2)+VW1) into WIDD2 ????? put item 2 of line VDUZ of fld "VIDZ" into VH1 ????? put item 4 of line VDUZ of fld "VIDZ" into VH2 ????? put ((VH2-VH1)/2) into HITE ????? put (((VH2-VH1)/2)+VH1) into HITE2 ????? put " screen centre at" && WIDD & "," && HITE after line VDUZ of fld "VIDZ" ????? put " screen centre at" && WIDD2 & "," && HITE2 after line VDUZ of fld "VIDZ2" ????? add 1 to VDUZ ?? end repeat end mouseUp I'll try to post the stack to the Forums, but my ISP is currently playing "silly buggers" so I cannot guarantee anything. Richmond. On 26.09.2018 17:37, Bob Sneidar via use-livecode wrote: > Or you could use the recent line intersect function recently posted by Richmond on the top,left bottom,right and bottom,left and top,right of your chosen monitor and round the results: > > http://forums.livecode.com/viewtopic.php?f=7&t=31565 > > Bob S > > >> On Sep 25, 2018, at 18:57 , Nicolas Cueto via use-livecode wrote: >> >> Thank you, Paul. >> >> Using "screenrects" as Paul suggested, here, for future reference, is a >> script snippet that places a stack on the right monitor: >> >> put the screenrects into tScrRects >> if the environment is "development" and the number of lines in tScrRects > >> 1 then >> -- CENTRE THE STACK ON THE RIGHT MONITOR >> put line 2 of tScrRects into tRMon -- right monitor rect >> put ((item 3 of tRMon - item 1 of tRMon) / 2 + item 1 of tRMon) & >> comma & \ >> ((item 4 of tRMon - item 2 of tRMon) / 2) into tRect >> set the loc of this stack to tRect >> else >> -- CENTRE THE STACK ON TE LEFT MONITOR >> set the loc of this stack to the screenloc >> end if >> -- >> Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode 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 at canelasoftware.com Fri Sep 28 12:04:16 2018 From: mark at canelasoftware.com (Mark Talluto) Date: Fri, 28 Sep 2018 09:04:16 -0700 Subject: Livecode on Mohave In-Reply-To: References: Message-ID: I have been using it without issues. LC 9.0.1 Best regards, Mark Talluto livecloud.io nursenotes.net canelasoftware.com > On Sep 23, 2018, at 7:58 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > > Typically I try to avoid Apple latest (beta) upgrade while the early > adopters shake out bugs, usually a series of patches for three months. > > But I'm curious, in LiveCode ready for Mohave (released tomorrow) > > 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 ahsoftware at sonic.net Fri Sep 28 12:55:12 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 28 Sep 2018 09:55:12 -0700 Subject: Navigator 6.4 alpha 1 is out In-Reply-To: References: Message-ID: On 09/24/2018 08:19 PM, Geoff Canyon via use-livecode wrote: > As usual, you can get Navigator here > . Or grab it > from GitHub . Eek! Cloning a card from the contextual menu pastes the new card into Navigator instead of into the topstack. -- Mark Wieder ahsoftware at gmail.com From MikeKerner at roadrunner.com Fri Sep 28 13:22:54 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 28 Sep 2018 13:22:54 -0400 Subject: App Dead on iOS 12 In-Reply-To: References: <8ae1e1fd-f091-c52c-07d3-5cbf231fa790@pair.com> <4186B4B5-2486-4869-BD27-8933591C4A50@appisle.net> <0629EA0B-4B70-484B-9E4B-7C643578FA2A@appisle.net> Message-ID: fonts are rendered differently in 9 than in 8. Character sizes are different, which means that area sizes have to change. We have had some cases where icon fonts no longer render properly at all, and we've had to fiddle to fix them. The only issue with barcode font rendering that we've seen is that we have to resize the areas. What have you been seeing with barcodes? On Fri, Sep 28, 2018 at 10:36 AM Matthias Rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > Mike, > as i am also facing some problems with fonts, here especially with barcode > fonts, could you please give some more information about your font issues. > > Regards, > > Matthias Rebbe > > > > Am 28.09.2018 um 15:43 schrieb Mike Kerner via use-livecode < > use-livecode at lists.runrev.com>: > > > > on the fonts? Mark knows about it. It's a feature. > > > > On Thu, Sep 27, 2018 at 7:11 PM Monte Goulding via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> > >>> On 28 Sep 2018, at 7:03 am, Mike Kerner via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >>> > >>> No joy using 8.x. 9.x breaks fonts so we're stuck in 8 until we have > >>> someone fix all the font issues with 9. > >> > >> That sounds interesting. What?s the bug report number. > >> > >> 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 > > > > > > > > -- > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 matthias_livecode_150811 at m-r-d.de Fri Sep 28 14:58:09 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 28 Sep 2018 20:58:09 +0200 Subject: App Dead on iOS 12 In-Reply-To: References: <8ae1e1fd-f091-c52c-07d3-5cbf231fa790@pair.com> <4186B4B5-2486-4869-BD27-8933591C4A50@appisle.net> <0629EA0B-4B70-484B-9E4B-7C643578FA2A@appisle.net> Message-ID: Under Windows I?ve noticed that the blank gaps between the black bars do not have the same width, when they should have. This happens not always, but with some text sizes. See my recording here You will see that the some of the gaps change their ?ratio?, so that gaps,which should have the same width, do not have the same width. When this ?faulty? barcodes are printed they can be read by normal barcode scanners, but not by high speed scanners which are used by shipment carriers. This is the reason why we had to purchase a 3rd party barcode SDK for Windows to get our app approved by the shipment carrier Trans-o-Flex. Under Mac OS X i do not see these wrong gaps. > Am 28.09.2018 um 19:22 schrieb Mike Kerner via use-livecode : > > fonts are rendered differently in 9 than in 8. Character sizes are > different, which means that area sizes have to change. We have had some > cases where icon fonts no longer render properly at all, and we've had to > fiddle to fix them. The only issue with barcode font rendering that we've > seen is that we have to resize the areas. What have you been seeing with > barcodes? > > On Fri, Sep 28, 2018 at 10:36 AM Matthias Rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Mike, >> as i am also facing some problems with fonts, here especially with barcode >> fonts, could you please give some more information about your font issues. >> >> Regards, >> >> Matthias Rebbe >> >> >>> Am 28.09.2018 um 15:43 schrieb Mike Kerner via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> on the fonts? Mark knows about it. It's a feature. >>> >>> On Thu, Sep 27, 2018 at 7:11 PM Monte Goulding via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> >>>>> On 28 Sep 2018, at 7:03 am, Mike Kerner via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>> No joy using 8.x. 9.x breaks fonts so we're stuck in 8 until we have >>>>> someone fix all the font issues with 9. >>>> >>>> That sounds interesting. What?s the bug report number. >>>> >>>> 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 >>> >>> >>> >>> -- >>> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 martyknappster at gmail.com Fri Sep 28 15:05:01 2018 From: martyknappster at gmail.com (Knapp Martin) Date: Fri, 28 Sep 2018 12:05:01 -0700 Subject: App Dead on iOS 12 In-Reply-To: References: <8ae1e1fd-f091-c52c-07d3-5cbf231fa790@pair.com> <4186B4B5-2486-4869-BD27-8933591C4A50@appisle.net> <0629EA0B-4B70-484B-9E4B-7C643578FA2A@appisle.net> Message-ID: Do you have the stack you?re printing in Windows with the formatForPrinting set to true? Marty > On Sep 28, 2018, at 11:58 AM, Matthias Rebbe via use-livecode wrote: > > Under Windows I?ve noticed that the blank gaps between the black bars do not have the same width, when they should have. > This happens not always, but with some text sizes. > See my recording here > You will see that the some of the gaps change their ?ratio?, so that gaps,which should have the same width, do not have the same width. > When this ?faulty? barcodes are printed they can be read by normal barcode scanners, but not by high speed scanners which are used by shipment carriers. > > This is the reason why we had to purchase a 3rd party barcode SDK for Windows to get our app approved by the shipment carrier Trans-o-Flex. > > Under Mac OS X i do not see these wrong gaps. > > > >> Am 28.09.2018 um 19:22 schrieb Mike Kerner via use-livecode : >> >> fonts are rendered differently in 9 than in 8. Character sizes are >> different, which means that area sizes have to change. We have had some >> cases where icon fonts no longer render properly at all, and we've had to >> fiddle to fix them. The only issue with barcode font rendering that we've >> seen is that we have to resize the areas. What have you been seeing with >> barcodes? >> >> On Fri, Sep 28, 2018 at 10:36 AM Matthias Rebbe via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Mike, >>> as i am also facing some problems with fonts, here especially with barcode >>> fonts, could you please give some more information about your font issues. >>> >>> Regards, >>> >>> Matthias Rebbe >>> >>> >>>> Am 28.09.2018 um 15:43 schrieb Mike Kerner via use-livecode < >>> use-livecode at lists.runrev.com>: >>>> >>>> on the fonts? Mark knows about it. It's a feature. >>>> >>>> On Thu, Sep 27, 2018 at 7:11 PM Monte Goulding via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> >>>>>> On 28 Sep 2018, at 7:03 am, Mike Kerner via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>> No joy using 8.x. 9.x breaks fonts so we're stuck in 8 until we have >>>>>> someone fix all the font issues with 9. >>>>> >>>>> That sounds interesting. What?s the bug report number. >>>>> >>>>> Cheers >>>>> >>>>> Monte From revolution at derbrill.de Fri Sep 28 15:15:07 2018 From: revolution at derbrill.de (Malte Pfaff-Brill) Date: Fri, 28 Sep 2018 21:15:07 +0200 Subject: [ANN] animationEngine is free now Message-ID: <38CAB85D-6D13-4FA0-83B4-582D146F09FF@derbrill.de> Hi List, Just a quick announcement. I put animationEngine into the public domain today. No code changes, just a change of license. It is now free as in beer as well as free as in OSS terms. No more GPL3 restrictions, actually no restrictions at all. It is still listed as paid Software in the extensions shop, but that will also be changed soon. For all of you that supported me over the years: Thank you so much! Every license sold helped me move the library forward. The code is a bit dated now, however, maybe some of you find tiny bits and pieces that are still useful today. You find all AE related stuff on GITHUB: https://github.com/derbrill/animationEngine Today I am not doing much development work anymore. There will be one last try through a Kickstarter campaign in a couple of days, but if that fails, I?ve basically had my days in dev. I will be keeping an eye on liveCode of course. :-) I have made quite a lot of friends on the lists and forums over the years, so I raise my glass to all of you. Cheers! Malte From MikeKerner at roadrunner.com Fri Sep 28 15:21:20 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 28 Sep 2018 15:21:20 -0400 Subject: App Dead on iOS 12 In-Reply-To: References: <8ae1e1fd-f091-c52c-07d3-5cbf231fa790@pair.com> <4186B4B5-2486-4869-BD27-8933591C4A50@appisle.net> <0629EA0B-4B70-484B-9E4B-7C643578FA2A@appisle.net> Message-ID: interesting. What topology are you using, and did you try expanding the text area? On Fri, Sep 28, 2018 at 3:05 PM Knapp Martin via use-livecode < use-livecode at lists.runrev.com> wrote: > Do you have the stack you?re printing in Windows with the > formatForPrinting set to true? > > Marty > > > On Sep 28, 2018, at 11:58 AM, Matthias Rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Under Windows I?ve noticed that the blank gaps between the black bars do > not have the same width, when they should have. > > This happens not always, but with some text sizes. > > See my recording here > > You will see that the some of the gaps change their ?ratio?, so that > gaps,which should have the same width, do not have the same width. > > When this ?faulty? barcodes are printed they can be read by normal > barcode scanners, but not by high speed scanners which are used by shipment > carriers. > > > > This is the reason why we had to purchase a 3rd party barcode SDK for > Windows to get our app approved by the shipment carrier Trans-o-Flex. > > > > Under Mac OS X i do not see these wrong gaps. > > > > > > > >> Am 28.09.2018 um 19:22 schrieb Mike Kerner via use-livecode < > use-livecode at lists.runrev.com>: > >> > >> fonts are rendered differently in 9 than in 8. Character sizes are > >> different, which means that area sizes have to change. We have had some > >> cases where icon fonts no longer render properly at all, and we've had > to > >> fiddle to fix them. The only issue with barcode font rendering that > we've > >> seen is that we have to resize the areas. What have you been seeing > with > >> barcodes? > >> > >> On Fri, Sep 28, 2018 at 10:36 AM Matthias Rebbe via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >> > >>> Mike, > >>> as i am also facing some problems with fonts, here especially with > barcode > >>> fonts, could you please give some more information about your font > issues. > >>> > >>> Regards, > >>> > >>> Matthias Rebbe > >>> > >>> > >>>> Am 28.09.2018 um 15:43 schrieb Mike Kerner via use-livecode < > >>> use-livecode at lists.runrev.com>: > >>>> > >>>> on the fonts? Mark knows about it. It's a feature. > >>>> > >>>> On Thu, Sep 27, 2018 at 7:11 PM Monte Goulding via use-livecode < > >>>> use-livecode at lists.runrev.com> wrote: > >>>> > >>>>> > >>>>>> On 28 Sep 2018, at 7:03 am, Mike Kerner via use-livecode < > >>>>> use-livecode at lists.runrev.com> wrote: > >>>>>> > >>>>>> No joy using 8.x. 9.x breaks fonts so we're stuck in 8 until we > have > >>>>>> someone fix all the font issues with 9. > >>>>> > >>>>> That sounds interesting. What?s the bug report number. > >>>>> > >>>>> 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 -- 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 matthias_livecode_150811 at m-r-d.de Fri Sep 28 15:23:25 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 28 Sep 2018 21:23:25 +0200 Subject: App Dead on iOS 12 In-Reply-To: References: <8ae1e1fd-f091-c52c-07d3-5cbf231fa790@pair.com> <4186B4B5-2486-4869-BD27-8933591C4A50@appisle.net> <0629EA0B-4B70-484B-9E4B-7C643578FA2A@appisle.net> Message-ID: <9A82A985-B430-473C-8CFF-88FB91367D41@m-r-d.de> That make no difference. > Am 28.09.2018 um 21:05 schrieb Knapp Martin via use-livecode : > > Do you have the stack you?re printing in Windows with the formatForPrinting set to true? > > Marty > >> On Sep 28, 2018, at 11:58 AM, Matthias Rebbe via use-livecode wrote: >> >> Under Windows I?ve noticed that the blank gaps between the black bars do not have the same width, when they should have. >> This happens not always, but with some text sizes. >> See my recording here >> You will see that the some of the gaps change their ?ratio?, so that gaps,which should have the same width, do not have the same width. >> When this ?faulty? barcodes are printed they can be read by normal barcode scanners, but not by high speed scanners which are used by shipment carriers. >> >> This is the reason why we had to purchase a 3rd party barcode SDK for Windows to get our app approved by the shipment carrier Trans-o-Flex. >> >> Under Mac OS X i do not see these wrong gaps. >> >> >> >>> Am 28.09.2018 um 19:22 schrieb Mike Kerner via use-livecode : >>> >>> fonts are rendered differently in 9 than in 8. Character sizes are >>> different, which means that area sizes have to change. We have had some >>> cases where icon fonts no longer render properly at all, and we've had to >>> fiddle to fix them. The only issue with barcode font rendering that we've >>> seen is that we have to resize the areas. What have you been seeing with >>> barcodes? >>> >>> On Fri, Sep 28, 2018 at 10:36 AM Matthias Rebbe via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Mike, >>>> as i am also facing some problems with fonts, here especially with barcode >>>> fonts, could you please give some more information about your font issues. >>>> >>>> Regards, >>>> >>>> Matthias Rebbe >>>> >>>> >>>>> Am 28.09.2018 um 15:43 schrieb Mike Kerner via use-livecode < >>>> use-livecode at lists.runrev.com>: >>>>> >>>>> on the fonts? Mark knows about it. It's a feature. >>>>> >>>>> On Thu, Sep 27, 2018 at 7:11 PM Monte Goulding via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>>> >>>>>>> On 28 Sep 2018, at 7:03 am, Mike Kerner via use-livecode < >>>>>> use-livecode at lists.runrev.com> wrote: >>>>>>> >>>>>>> No joy using 8.x. 9.x breaks fonts so we're stuck in 8 until we have >>>>>>> someone fix all the font issues with 9. >>>>>> >>>>>> That sounds interesting. What?s the bug report number. >>>>>> >>>>>> 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 matthias_livecode_150811 at m-r-d.de Fri Sep 28 15:25:58 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 28 Sep 2018 21:25:58 +0200 Subject: App Dead on iOS 12 In-Reply-To: References: <8ae1e1fd-f091-c52c-07d3-5cbf231fa790@pair.com> <4186B4B5-2486-4869-BD27-8933591C4A50@appisle.net> <0629EA0B-4B70-484B-9E4B-7C643578FA2A@appisle.net> Message-ID: is this a question for me? If so, then what do you mean with topology? regarding part 2 of your question: resizing the field does not change anything. > Am 28.09.2018 um 21:21 schrieb Mike Kerner via use-livecode : > > interesting. What topology are you using, and did you try expanding the > text area? > > On Fri, Sep 28, 2018 at 3:05 PM Knapp Martin via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Do you have the stack you?re printing in Windows with the >> formatForPrinting set to true? >> >> Marty >> >>> On Sep 28, 2018, at 11:58 AM, Matthias Rebbe via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Under Windows I?ve noticed that the blank gaps between the black bars do >> not have the same width, when they should have. >>> This happens not always, but with some text sizes. >>> See my recording here >>> You will see that the some of the gaps change their ?ratio?, so that >> gaps,which should have the same width, do not have the same width. >>> When this ?faulty? barcodes are printed they can be read by normal >> barcode scanners, but not by high speed scanners which are used by shipment >> carriers. >>> >>> This is the reason why we had to purchase a 3rd party barcode SDK for >> Windows to get our app approved by the shipment carrier Trans-o-Flex. >>> >>> Under Mac OS X i do not see these wrong gaps. >>> >>> >>> >>>> Am 28.09.2018 um 19:22 schrieb Mike Kerner via use-livecode < >> use-livecode at lists.runrev.com>: >>>> >>>> fonts are rendered differently in 9 than in 8. Character sizes are >>>> different, which means that area sizes have to change. We have had some >>>> cases where icon fonts no longer render properly at all, and we've had >> to >>>> fiddle to fix them. The only issue with barcode font rendering that >> we've >>>> seen is that we have to resize the areas. What have you been seeing >> with >>>> barcodes? >>>> >>>> On Fri, Sep 28, 2018 at 10:36 AM Matthias Rebbe via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> Mike, >>>>> as i am also facing some problems with fonts, here especially with >> barcode >>>>> fonts, could you please give some more information about your font >> issues. >>>>> >>>>> Regards, >>>>> >>>>> Matthias Rebbe >>>>> >>>>> >>>>>> Am 28.09.2018 um 15:43 schrieb Mike Kerner via use-livecode < >>>>> use-livecode at lists.runrev.com>: >>>>>> >>>>>> on the fonts? Mark knows about it. It's a feature. >>>>>> >>>>>> On Thu, Sep 27, 2018 at 7:11 PM Monte Goulding via use-livecode < >>>>>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>>> >>>>>>>> On 28 Sep 2018, at 7:03 am, Mike Kerner via use-livecode < >>>>>>> use-livecode at lists.runrev.com> wrote: >>>>>>>> >>>>>>>> No joy using 8.x. 9.x breaks fonts so we're stuck in 8 until we >> have >>>>>>>> someone fix all the font issues with 9. >>>>>>> >>>>>>> That sounds interesting. What?s the bug report number. >>>>>>> >>>>>>> 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 > > > > -- > 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 sean at pidigital.co.uk Fri Sep 28 15:33:09 2018 From: sean at pidigital.co.uk (Pi Digital) Date: Fri, 28 Sep 2018 20:33:09 +0100 Subject: [ANN] animationEngine is free now In-Reply-To: <38CAB85D-6D13-4FA0-83B4-582D146F09FF@derbrill.de> References: <38CAB85D-6D13-4FA0-83B4-582D146F09FF@derbrill.de> Message-ID: <43ADCB87-AB26-4AE5-8898-DAC6CEBDB656@pidigital.co.uk> AE was my first add on purchase for LC. It did me well for so many things. Thanks Malte for all of your assistance over the years and your coding prowess. All the best as you move on. Sean > On 28 Sep 2018, at 20:15, Malte Pfaff-Brill via use-livecode wrote: > > Hi List, > > Just a quick announcement. > > I put animationEngine into the public domain today. No code changes, just a change of license. It is now free as in beer as well as free as in OSS terms. No more GPL3 restrictions, actually no restrictions at all. It is still listed as paid Software in the extensions shop, but that will also be changed soon. > > For all of you that supported me over the years: Thank you so much! Every license sold helped me move the library forward. The code is a bit dated now, however, maybe some of you find tiny bits and pieces that are still useful today. > > You find all AE related stuff on GITHUB: https://github.com/derbrill/animationEngine > > Today I am not doing much development work anymore. There will be one last try through a Kickstarter campaign in a couple of days, but if that fails, I?ve basically had my days in dev. I will be keeping an eye on liveCode of course. :-) I have made quite a lot of friends on the lists and forums over the years, so I raise my glass to all of you. > > Cheers! > > Malte > _______________________________________________ > use-livecode mailing list > use-livecode 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 tom at makeshyft.com Fri Sep 28 15:59:13 2018 From: tom at makeshyft.com (Tom Glod) Date: Fri, 28 Sep 2018 15:59:13 -0400 Subject: [ANN] animationEngine is free now In-Reply-To: <43ADCB87-AB26-4AE5-8898-DAC6CEBDB656@pidigital.co.uk> References: <38CAB85D-6D13-4FA0-83B4-582D146F09FF@derbrill.de> <43ADCB87-AB26-4AE5-8898-DAC6CEBDB656@pidigital.co.uk> Message-ID: Hey Malte, Thanks for freeing your code and the contributions you have madeto the community. I was under the impression that once something is GPLed .... it is GPL forever, and it cannot really change. Is it just a matter of the fact that you yourself would never enforce the GPL license which is why you are able to change the license? I'm dealing with licensing issues right now ...still confused about how to dual license something...hence my question. I will keep an eye on your upcoming kickstarter to see what you are attempting to do. All the best, thank you. On Fri, Sep 28, 2018 at 3:33 PM Pi Digital via use-livecode < use-livecode at lists.runrev.com> wrote: > AE was my first add on purchase for LC. It did me well for so many things. > Thanks Malte for all of your assistance over the years and your coding > prowess. All the best as you move on. > > Sean > > > On 28 Sep 2018, at 20:15, Malte Pfaff-Brill via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hi List, > > > > Just a quick announcement. > > > > I put animationEngine into the public domain today. No code changes, > just a change of license. It is now free as in beer as well as free as in > OSS terms. No more GPL3 restrictions, actually no restrictions at all. It > is still listed as paid Software in the extensions shop, but that will also > be changed soon. > > > > For all of you that supported me over the years: Thank you so much! > Every license sold helped me move the library forward. The code is a bit > dated now, however, maybe some of you find tiny bits and pieces that are > still useful today. > > > > You find all AE related stuff on GITHUB: > https://github.com/derbrill/animationEngine > > > > Today I am not doing much development work anymore. There will be one > last try through a Kickstarter campaign in a couple of days, but if that > fails, I?ve basically had my days in dev. I will be keeping an eye on > liveCode of course. :-) I have made quite a lot of friends on the lists and > forums over the years, so I raise my glass to all of you. > > > > Cheers! > > > > Malte > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 hyperhh.de Fri Sep 28 15:59:43 2018 From: hh at hyperhh.de (hh) Date: Fri, 28 Sep 2018 21:59:43 +0200 Subject: [ANN] animationEngine is free now Message-ID: AE is a treasure chest for scripting techniques, no wide open. Thanks, Malte. From brian at milby7.com Fri Sep 28 16:05:29 2018 From: brian at milby7.com (Brian Milby) Date: Fri, 28 Sep 2018 15:05:29 -0500 Subject: [ANN] animationEngine is free now In-Reply-To: References: <38CAB85D-6D13-4FA0-83B4-582D146F09FF@derbrill.de> <43ADCB87-AB26-4AE5-8898-DAC6CEBDB656@pidigital.co.uk> Message-ID: <181afb0e-1b6b-4527-bd6d-2bbbb633adff@Spark> Copyright owner can relicense at will. That is why there are contributor agreements that transfer copyright to the project in many cases. Someone else can?t take GPL code and change the license. Thanks, Brian On Sep 28, 2018, 2:59 PM -0500, Tom Glod via use-livecode , wrote: > Hey Malte, > > Thanks for freeing your code and the contributions you have madeto the > community. > > I was under the impression that once something is GPLed .... it is GPL > forever, and it cannot really change. Is it just a matter of the fact that > you yourself would never enforce the GPL license which is why you are able > to change the license? > > I'm dealing with licensing issues right now ...still confused about how to > dual license something...hence my question. > > I will keep an eye on your upcoming kickstarter to see what you are > attempting to do. > > All the best, thank you. > > On Fri, Sep 28, 2018 at 3:33 PM Pi Digital via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > AE was my first add on purchase for LC. It did me well for so many things. > > Thanks Malte for all of your assistance over the years and your coding > > prowess. All the best as you move on. > > > > Sean > > > > > On 28 Sep 2018, at 20:15, Malte Pfaff-Brill via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > Hi List, > > > > > > Just a quick announcement. > > > > > > I put animationEngine into the public domain today. No code changes, > > just a change of license. It is now free as in beer as well as free as in > > OSS terms. No more GPL3 restrictions, actually no restrictions at all. It > > is still listed as paid Software in the extensions shop, but that will also > > be changed soon. > > > > > > For all of you that supported me over the years: Thank you so much! > > Every license sold helped me move the library forward. The code is a bit > > dated now, however, maybe some of you find tiny bits and pieces that are > > still useful today. > > > > > > You find all AE related stuff on GITHUB: > > https://github.com/derbrill/animationEngine > > > > > > Today I am not doing much development work anymore. There will be one > > last try through a Kickstarter campaign in a couple of days, but if that > > fails, I?ve basically had my days in dev. I will be keeping an eye on > > liveCode of course. :-) I have made quite a lot of friends on the lists and > > forums over the years, so I raise my glass to all of you. > > > > > > Cheers! > > > > > > Malte > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode 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 Fri Sep 28 16:12:10 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 28 Sep 2018 16:12:10 -0400 Subject: App Dead on iOS 12 In-Reply-To: References: <8ae1e1fd-f091-c52c-07d3-5cbf231fa790@pair.com> <4186B4B5-2486-4869-BD27-8933591C4A50@appisle.net> <0629EA0B-4B70-484B-9E4B-7C643578FA2A@appisle.net> Message-ID: sorry, symbology. 39, 128, etc. On Fri, Sep 28, 2018 at 3:26 PM Matthias Rebbe via use-livecode < use-livecode at lists.runrev.com> wrote: > is this a question for me? If so, then what do you mean with topology? > > regarding part 2 of your question: resizing the field does not change > anything. > > > > > Am 28.09.2018 um 21:21 schrieb Mike Kerner via use-livecode < > use-livecode at lists.runrev.com>: > > > > interesting. What topology are you using, and did you try expanding the > > text area? > > > > On Fri, Sep 28, 2018 at 3:05 PM Knapp Martin via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Do you have the stack you?re printing in Windows with the > >> formatForPrinting set to true? > >> > >> Marty > >> > >>> On Sep 28, 2018, at 11:58 AM, Matthias Rebbe via use-livecode < > >> use-livecode at lists.runrev.com> wrote: > >>> > >>> Under Windows I?ve noticed that the blank gaps between the black bars > do > >> not have the same width, when they should have. > >>> This happens not always, but with some text sizes. > >>> See my recording here > >>> You will see that the some of the gaps change their ?ratio?, so that > >> gaps,which should have the same width, do not have the same width. > >>> When this ?faulty? barcodes are printed they can be read by normal > >> barcode scanners, but not by high speed scanners which are used by > shipment > >> carriers. > >>> > >>> This is the reason why we had to purchase a 3rd party barcode SDK for > >> Windows to get our app approved by the shipment carrier Trans-o-Flex. > >>> > >>> Under Mac OS X i do not see these wrong gaps. > >>> > >>> > >>> > >>>> Am 28.09.2018 um 19:22 schrieb Mike Kerner via use-livecode < > >> use-livecode at lists.runrev.com>: > >>>> > >>>> fonts are rendered differently in 9 than in 8. Character sizes are > >>>> different, which means that area sizes have to change. We have had > some > >>>> cases where icon fonts no longer render properly at all, and we've had > >> to > >>>> fiddle to fix them. The only issue with barcode font rendering that > >> we've > >>>> seen is that we have to resize the areas. What have you been seeing > >> with > >>>> barcodes? > >>>> > >>>> On Fri, Sep 28, 2018 at 10:36 AM Matthias Rebbe via use-livecode < > >>>> use-livecode at lists.runrev.com> wrote: > >>>> > >>>>> Mike, > >>>>> as i am also facing some problems with fonts, here especially with > >> barcode > >>>>> fonts, could you please give some more information about your font > >> issues. > >>>>> > >>>>> Regards, > >>>>> > >>>>> Matthias Rebbe > >>>>> > >>>>> > >>>>>> Am 28.09.2018 um 15:43 schrieb Mike Kerner via use-livecode < > >>>>> use-livecode at lists.runrev.com>: > >>>>>> > >>>>>> on the fonts? Mark knows about it. It's a feature. > >>>>>> > >>>>>> On Thu, Sep 27, 2018 at 7:11 PM Monte Goulding via use-livecode < > >>>>>> use-livecode at lists.runrev.com> wrote: > >>>>>> > >>>>>>> > >>>>>>>> On 28 Sep 2018, at 7:03 am, Mike Kerner via use-livecode < > >>>>>>> use-livecode at lists.runrev.com> wrote: > >>>>>>>> > >>>>>>>> No joy using 8.x. 9.x breaks fonts so we're stuck in 8 until we > >> have > >>>>>>>> someone fix all the font issues with 9. > >>>>>>> > >>>>>>> That sounds interesting. What?s the bug report number. > >>>>>>> > >>>>>>> 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 > > > > > > > > -- > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 tom at makeshyft.com Fri Sep 28 16:15:45 2018 From: tom at makeshyft.com (Tom Glod) Date: Fri, 28 Sep 2018 16:15:45 -0400 Subject: [ANN] animationEngine is free now In-Reply-To: <181afb0e-1b6b-4527-bd6d-2bbbb633adff@Spark> References: <38CAB85D-6D13-4FA0-83B4-582D146F09FF@derbrill.de> <43ADCB87-AB26-4AE5-8898-DAC6CEBDB656@pidigital.co.uk> <181afb0e-1b6b-4527-bd6d-2bbbb633adff@Spark> Message-ID: Brian, thats a key thing that was missing from my understanding. thank you. i can't afford a lawyer at this point, so i have to try to make the right decision without it. thanks. On Fri, Sep 28, 2018 at 4:06 PM Brian Milby via use-livecode < use-livecode at lists.runrev.com> wrote: > Copyright owner can relicense at will. That is why there are contributor > agreements that transfer copyright to the project in many cases. Someone > else can?t take GPL code and change the license. > > Thanks, > Brian > On Sep 28, 2018, 2:59 PM -0500, Tom Glod via use-livecode < > use-livecode at lists.runrev.com>, wrote: > > Hey Malte, > > > > Thanks for freeing your code and the contributions you have madeto the > > community. > > > > I was under the impression that once something is GPLed .... it is GPL > > forever, and it cannot really change. Is it just a matter of the fact > that > > you yourself would never enforce the GPL license which is why you are > able > > to change the license? > > > > I'm dealing with licensing issues right now ...still confused about how > to > > dual license something...hence my question. > > > > I will keep an eye on your upcoming kickstarter to see what you are > > attempting to do. > > > > All the best, thank you. > > > > On Fri, Sep 28, 2018 at 3:33 PM Pi Digital via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > AE was my first add on purchase for LC. It did me well for so many > things. > > > Thanks Malte for all of your assistance over the years and your coding > > > prowess. All the best as you move on. > > > > > > Sean > > > > > > > On 28 Sep 2018, at 20:15, Malte Pfaff-Brill via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > > > > Hi List, > > > > > > > > Just a quick announcement. > > > > > > > > I put animationEngine into the public domain today. No code changes, > > > just a change of license. It is now free as in beer as well as free as > in > > > OSS terms. No more GPL3 restrictions, actually no restrictions at all. > It > > > is still listed as paid Software in the extensions shop, but that will > also > > > be changed soon. > > > > > > > > For all of you that supported me over the years: Thank you so much! > > > Every license sold helped me move the library forward. The code is a > bit > > > dated now, however, maybe some of you find tiny bits and pieces that > are > > > still useful today. > > > > > > > > You find all AE related stuff on GITHUB: > > > https://github.com/derbrill/animationEngine > > > > > > > > Today I am not doing much development work anymore. There will be one > > > last try through a Kickstarter campaign in a couple of days, but if > that > > > fails, I?ve basically had my days in dev. I will be keeping an eye on > > > liveCode of course. :-) I have made quite a lot of friends on the > lists and > > > forums over the years, so I raise my glass to all of you. > > > > > > > > Cheers! > > > > > > > > Malte > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode 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 matthias_livecode_150811 at m-r-d.de Fri Sep 28 16:24:19 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 28 Sep 2018 22:24:19 +0200 Subject: App Dead on iOS 12 In-Reply-To: References: <8ae1e1fd-f091-c52c-07d3-5cbf231fa790@pair.com> <4186B4B5-2486-4869-BD27-8933591C4A50@appisle.net> <0629EA0B-4B70-484B-9E4B-7C643578FA2A@appisle.net> Message-ID: <372DCBBB-091A-4B0C-AA97-9D54CB70DA05@m-r-d.de> That?s a 2of5 interleave code. btw.This does not happen when in Windows Wordpad. Only in LC. So this must be a LC thing. > Am 28.09.2018 um 22:12 schrieb Mike Kerner via use-livecode : > > sorry, symbology. 39, 128, etc. > > On Fri, Sep 28, 2018 at 3:26 PM Matthias Rebbe via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> is this a question for me? If so, then what do you mean with topology? >> >> regarding part 2 of your question: resizing the field does not change >> anything. >> >> >> >>> Am 28.09.2018 um 21:21 schrieb Mike Kerner via use-livecode < >> use-livecode at lists.runrev.com>: >>> >>> interesting. What topology are you using, and did you try expanding the >>> text area? >>> >>> On Fri, Sep 28, 2018 at 3:05 PM Knapp Martin via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Do you have the stack you?re printing in Windows with the >>>> formatForPrinting set to true? >>>> >>>> Marty >>>> >>>>> On Sep 28, 2018, at 11:58 AM, Matthias Rebbe via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>> Under Windows I?ve noticed that the blank gaps between the black bars >> do >>>> not have the same width, when they should have. >>>>> This happens not always, but with some text sizes. >>>>> See my recording here >>>>> You will see that the some of the gaps change their ?ratio?, so that >>>> gaps,which should have the same width, do not have the same width. >>>>> When this ?faulty? barcodes are printed they can be read by normal >>>> barcode scanners, but not by high speed scanners which are used by >> shipment >>>> carriers. >>>>> >>>>> This is the reason why we had to purchase a 3rd party barcode SDK for >>>> Windows to get our app approved by the shipment carrier Trans-o-Flex. >>>>> >>>>> Under Mac OS X i do not see these wrong gaps. >>>>> >>>>> >>>>> >>>>>> Am 28.09.2018 um 19:22 schrieb Mike Kerner via use-livecode < >>>> use-livecode at lists.runrev.com>: >>>>>> >>>>>> fonts are rendered differently in 9 than in 8. Character sizes are >>>>>> different, which means that area sizes have to change. We have had >> some >>>>>> cases where icon fonts no longer render properly at all, and we've had >>>> to >>>>>> fiddle to fix them. The only issue with barcode font rendering that >>>> we've >>>>>> seen is that we have to resize the areas. What have you been seeing >>>> with >>>>>> barcodes? >>>>>> >>>>>> On Fri, Sep 28, 2018 at 10:36 AM Matthias Rebbe via use-livecode < >>>>>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>>> Mike, >>>>>>> as i am also facing some problems with fonts, here especially with >>>> barcode >>>>>>> fonts, could you please give some more information about your font >>>> issues. >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> Matthias Rebbe >>>>>>> >>>>>>> >>>>>>>> Am 28.09.2018 um 15:43 schrieb Mike Kerner via use-livecode < >>>>>>> use-livecode at lists.runrev.com>: >>>>>>>> >>>>>>>> on the fonts? Mark knows about it. It's a feature. >>>>>>>> >>>>>>>> On Thu, Sep 27, 2018 at 7:11 PM Monte Goulding via use-livecode < >>>>>>>> use-livecode at lists.runrev.com> wrote: >>>>>>>> >>>>>>>>> >>>>>>>>>> On 28 Sep 2018, at 7:03 am, Mike Kerner via use-livecode < >>>>>>>>> use-livecode at lists.runrev.com> wrote: >>>>>>>>>> >>>>>>>>>> No joy using 8.x. 9.x breaks fonts so we're stuck in 8 until we >>>> have >>>>>>>>>> someone fix all the font issues with 9. >>>>>>>>> >>>>>>>>> That sounds interesting. What?s the bug report number. >>>>>>>>> >>>>>>>>> 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 >>> >>> >>> >>> -- >>> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Fri Sep 28 16:28:22 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 28 Sep 2018 13:28:22 -0700 Subject: Stacks whose names start with "rev" In-Reply-To: <6d7bc399-a613-300d-e323-7407621404b6@hyperactivesw.com> References: <6d7bc399-a613-300d-e323-7407621404b6@hyperactivesw.com> Message-ID: <7c5c100c-2b6b-9115-20db-cadc15fe68a8@fourthworld.com> J. Landman Gay wrote: > Some of my client's stacks must begin with names starting with "rev" > (i.e., Bible study, "Revelations".) This of course wreaks havoc in the > IDE, aside from just omitting the stacks from file lists. We have > tried setting gRevDevelopment to true and turning on the option to > view IDE stacks, but lots of other things still fail. Objects can't be > selected with the edit tool and other oddities occur that make the > stacks uneditable. That would seem a bug in the IDE: If there is no means why which the IDE allows work on stacks the IDE believes are part of the IDE, the IDE cannot be worked on. I trust the team will want to resolve that ASAP. Before submitting that bug report, it may be helpful to check both the cantModify and modes of the stacks disallowing normal editing. If they are toplevel and cantmodify is false you have a bug in the IDE, and if not you have a solution to get you back to work. > But now something else is occuring, totally unintelligible. Normally > two stacks are open, an index stack "TSMain" and a mainstack > "Revelations". > When trying to navigate to Revelations by any method -- opening it > from Finder, clicking the name in the index stack, etc. -- this error > is thrown: > > "A stack with the same name as the one you are trying to load is > already open. Before loading > /Users//Documents//Revelations.livecode what do you > want to do with stack > /Users//Documents//TSMain.livecode, TSMain?" > > Besides the issue that the two "conflicting" stacks do not have the > same name, the TSMain stack is listed twice, once as a full file path > followed by the short name. > > Huh? Does TSMain have anything set in its stackfiles property? Or is the stackfiles property set in Revelations.livecode? -- 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 Sep 28 16:40:43 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 28 Sep 2018 13:40:43 -0700 Subject: Stacks whose names start with "rev" In-Reply-To: <50bf1b47-ee0e-69d4-9ea8-420aada62705@sonic.net> References: <50bf1b47-ee0e-69d4-9ea8-420aada62705@sonic.net> Message-ID: Mark Wieder wrote: > On 09/27/2018 03:47 PM, J. Landman Gay via use-livecode wrote: > >> The reason the stack name can't be changed is because the whole >> multi-stack system uses the stack name for internal display in dozens >> of places (glossaries, gradebooks, student notes, reading history, >> lookups, > > Really really really a bad idea. > I'm sure you knew that already, but I want to say it again. > That's really really really a bad idea. > > One of the prime tenets of database design is that you shouldn't use > actual data to link items together. Else you get into maintenance > nightmares and things fall apart when you get unexpected data, etc. > > I hate to say you should rethink the design, but you should probably > rethink the design. I hate to say this is one of those rare times when I disagree with you, but this is one of those rare times I disagree with you. "There are only two hard things in Computer Science: cache invalidation and naming things." - Phil Karlton Naming things has implications in many contexts across most languages. Even well-written SQL will need to be revised if it refers to a field or table whose name has changed. Moreover, xTalks offer many unique benefits over other languages and object models, among them is being able to refer to objects easily by name. Sometimes using names that carry semantic value within the usage context can be a good solution. The alternative would be some sort of lookup, taking us to the first item in Karlton's list. And most importantly, this particular instance has less to do with generic presumed "best practice" than what appears to be just a bug in the IDE: when it encounters stacks that it thinks are its own, even using the prescribed method for editing the stacks doesn't work. If setting gRevDevelopment did what it's supposed to do, she'd be able to get back to work with no more inconvenience that seeing IDE object names in its UI listings, and we wouldn't be having this discussion. -- 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 Sep 28 17:20:29 2018 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 28 Sep 2018 14:20:29 -0700 Subject: [ANN] animationEngine is free now In-Reply-To: References: Message-ID: <850591c5-faaa-a113-0847-8c77b98d60f4@fourthworld.com> Tom Glod wrote: > I'm dealing with licensing issues right now ...still confused about how to > dual license something... Anything we may be able to help with here? -- 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 davros at bellaliant.net Fri Sep 28 17:27:06 2018 From: davros at bellaliant.net (John McKenzie) Date: Fri, 28 Sep 2018 18:27:06 -0300 Subject: [ANN] animationEngine is free now In-Reply-To: References: <38CAB85D-6D13-4FA0-83B4-582D146F09FF@derbrill.de> <43ADCB87-AB26-4AE5-8898-DAC6CEBDB656@pidigital.co.uk> Message-ID: <20180928182706.35f8b025@poseidon> Tom, the original author of the software can release his or her software in dual or multiple licences. This does not affect previous GPL releases. So I could make something available under a commercial and a GPL licence. If someone wanted it for free nothing stops them from using the GPL version. Maybe there is something they like in the commercial version licence though so they pay for it. Still does not stop others from using the GPL version though. You are right, if it is GPL it is so forever, but the original author can also release/re-release it with another licence. THE GPL version with all the terms that go with it still exists though. The original author cannot make you pick one licence or the other. Users with the GPL continue to have all the rights of the GPL. Those users can choose to download a copy with the other licence if they want though, as long as they obey the terms of that licence. In the case of releasing the software you were discussing in the public domain now, I can just download it again and say I have the public domain version, not the GPL version. Or in practical terms use the GPL one knowing that the author will not care because he wants it to be public domain and knows I can get the public domain version easily. Essentially there are two versions that are identical, but have different licences and you can choose your version based on the licence and the GPL one will always be GPL but the author can make other versions. From jiml at netrin.com Fri Sep 28 17:30:15 2018 From: jiml at netrin.com (Jim Lambert) Date: Fri, 28 Sep 2018 14:30:15 -0700 Subject: [ANN] animationEngine is free now In-Reply-To: References: Message-ID: <1DDE90AE-5CC1-4D2D-9FFE-B6E8F733AD50@netrin.com> Malte, Best of luck! AE was and is a wonderful tool. Viele Danke, Jim Lambert From tom at makeshyft.com Fri Sep 28 18:01:44 2018 From: tom at makeshyft.com (Tom Glod) Date: Fri, 28 Sep 2018 18:01:44 -0400 Subject: [ANN] animationEngine is free now In-Reply-To: <1DDE90AE-5CC1-4D2D-9FFE-B6E8F733AD50@netrin.com> References: <1DDE90AE-5CC1-4D2D-9FFE-B6E8F733AD50@netrin.com> Message-ID: John M..... thanks for the in-depth explanation, really helps to put it in those terms. I understand. Richard, its the whole Toolbox issue with needing a custom CEF build to enable video sites to work correctly. I think I will launch the community version first and then figure it out from there. i just didn't want to make a move and then have to face palm myself later because i was an eager beaver. I'm going through the GPL license line by line at the moment....its tons of fun. On Fri, Sep 28, 2018 at 5:30 PM Jim Lambert via use-livecode < use-livecode at lists.runrev.com> wrote: > Malte, > > Best of luck! > AE was and is a wonderful tool. > > Viele Danke, > Jim Lambert > > _______________________________________________ > use-livecode mailing list > use-livecode 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 ahsoftware at sonic.net Fri Sep 28 20:16:04 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Fri, 28 Sep 2018 17:16:04 -0700 Subject: Stacks whose names start with "rev" In-Reply-To: References: <50bf1b47-ee0e-69d4-9ea8-420aada62705@sonic.net> Message-ID: <58fb024d-9a37-d699-8943-e953d6518f3d@sonic.net> On 09/28/2018 01:40 PM, Richard Gaskin via use-livecode wrote: > I hate to say this is one of those rare times when I disagree with you, > but this is one of those rare times I disagree with you. LOL > Naming things has implications in many contexts across most languages. > Even well-written SQL will need to be revised if it refers to a field or > table whose name has changed. Sure. But you wouldn't want to have a field name dependent on the contents of a record in another field. And that's my point. Or at least the one I was trying to make. > And most importantly, this particular instance has less to do with > generic presumed "best practice" than what appears to be just a bug in > the IDE:? when it encounters stacks that it thinks are its own, even > using the prescribed method for editing the stacks doesn't work. > > If setting gRevDevelopment did what it's supposed to do, she'd be able > to get back to work with no more inconvenience that seeing IDE object > names in its UI listings, and we wouldn't be having this discussion. > Not so much of a disagreement, I think, as looking at different facets (Ha! I almost wrote "faucets"... we're about to get serious plumbing done here). I think this does point out at least one serious bug in the IDE with respect to system/non-system stacks. There's a function somewhere in the IDE (I forget the name or location) that determines whether a stack is "special"... some of the stack names are hardwired, others are determined by naming convention. Of course, part of the IDE problem comes from dealing with stacks by short name only, and this has been the subject of a long-standing bug report. The engine itself has no problem with multiple stacks, just the IDE. And this could possibly be eliminated with stack UUIDs or if the IDE looked at filenames in addition to stack names. -- Mark Wieder ahsoftware at gmail.com From bvlahos at mac.com Sat Sep 29 00:42:05 2018 From: bvlahos at mac.com (Bill Vlahos) Date: Fri, 28 Sep 2018 21:42:05 -0700 Subject: For those who do not know lcTasklist In-Reply-To: References: Message-ID: <6169F1E6-35FD-4BA3-8923-E4D4483726AE@mac.com> BR, 1. The documentation is the second icon from the right on the bottom of the lcTaskList window. 2. To ignore certain stacks click on the 3rd icon from the right on the bottom of the lcTask window and then the Sacks tab. Thank you, Bill Vlahos > On Aug 27, 2018, at 9:58 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > > Looks like I need this, so on everyone's recommendation I bought it. > > 1) Where is the documentation? > > 2) Can you make "ignore" the Datagrid templates after they been > instantiated? One get many "Note" from every instance? > > BR > > > > On 8/20/18 1:44 PM, Matthias Rebbe via use-livecode wrote: >> I?ve purchased the plugin lcTasklist a long time ago and used it now and then. >> But now i am totally in love with this great tool. > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 bvlahos at mac.com Sat Sep 29 00:45:04 2018 From: bvlahos at mac.com (Bill Vlahos) Date: Fri, 28 Sep 2018 21:45:04 -0700 Subject: For those who do not know lcTasklist In-Reply-To: <6099991A-E55F-4BD9-ACC9-A9DB86CC4CC2@m-r-d.de> References: <6099991A-E55F-4BD9-ACC9-A9DB86CC4CC2@m-r-d.de> Message-ID: <6A3B840E-7704-4629-96F1-572149309CFB@mac.com> Matthias, To ignore certain stacks click on the 3rd icon from the right on the bottom of the lcTask window and then the Sacks tab. Thank you, Bill Vlahos > On Aug 28, 2018, at 2:13 AM, Matthias Rebbe via use-livecode wrote: > > > >> Am 28.08.2018 um 06:58 schrieb Sannyasin Brahmanathaswami via use-livecode >: >> >> Looks like I need this, so on everyone's recommendation I bought it. >> >> >> 2) Can you make "ignore" the Datagrid templates after they been >> instantiated? One get many "Note" from every instance? > There are 2 possible ways to get rid of that notes. > > Either: With only the datagrid and lcTasklist plugins opened, you should only see 2 or 3 notes. Click on each note to open the script editor. you?ll will see the note right away. Change the keyword and save after you?ve changed the scripts. > > Or: If i remember right that notes use all the index word TODO. Remove that keyword from the Active Index Words field in lcTaskList preferences/Words. > > > > >> >> BR >> >> >> >> On 8/20/18 1:44 PM, Matthias Rebbe via use-livecode wrote: >>> I?ve purchased the plugin lcTasklist a long time ago and used it now and then. >>> But now i am totally in love with this great tool. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 bvlahos at mac.com Sat Sep 29 01:05:20 2018 From: bvlahos at mac.com (Bill Vlahos) Date: Fri, 28 Sep 2018 22:05:20 -0700 Subject: For those who do not know lcTasklist In-Reply-To: <7E9FA9AA-5EA0-4CC4-9C19-282907F66449@me.com> References: <7E9FA9AA-5EA0-4CC4-9C19-282907F66449@me.com> Message-ID: Peter, I have not had any issues with LiveCode 9 and lcTaskList. Have you tried it with LiveCode 9.0.1? Bill Vlahos > On Aug 27, 2018, at 11:07 PM, Peter Bogdanoff via use-livecode wrote: > > There?s a help icon at the bottom of the window that explains everything. > > However, with Livecode 9 I was finding that lcTasklist seemed to be causing strange things in the script editor when editing an existing script?the new completion features were misfiring and scrambling things. I had to go to a backup of my script and then remove lcTasklist completely. > > Peter > > >> On Aug 27, 2018, at 9:58 PM, Sannyasin Brahmanathaswami via use-livecode wrote: >> >> Looks like I need this, so on everyone's recommendation I bought it. >> >> 1) Where is the documentation? >> >> 2) Can you make "ignore" the Datagrid templates after they been >> instantiated? One get many "Note" from every instance? >> >> BR >> >> >> >> On 8/20/18 1:44 PM, Matthias Rebbe via use-livecode wrote: >>> I?ve purchased the plugin lcTasklist a long time ago and used it now and then. >>> But now i am totally in love with this great tool. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 bvlahos at mac.com Sat Sep 29 01:08:41 2018 From: bvlahos at mac.com (Bill Vlahos) Date: Fri, 28 Sep 2018 22:08:41 -0700 Subject: For those who do not know lcTasklist In-Reply-To: References: Message-ID: <54BC2980-DA78-4CE9-8A4A-C4C3AE783135@mac.com> Matthias, Thank you for the kind words of encouragement and support of lcTaskList. I would love it if LiveCode wanted to license it. Bill Vlahos > On Aug 20, 2018, at 4:44 PM, Matthias Rebbe via use-livecode wrote: > > Hi, > > I?ve purchased the plugin lcTasklist a long time ago and used it now and then. > But now i am totally in love with this great tool. > I was working on a really big project for months and i needed to add some debug code, special comments and special information in my scripts and i had to mark some code for later reviewing. Without lcTasklist it would have been really difficult or maybe nearly impossible to find all of that again in my scripts. With lcTasklist i not even got a list of these "comments", but was able to jump directly to that code. > > This is a must have. Livecode Ltd. really should consider to license this plugin to deliver it with Livecode. > > The plugin costs $11.90 / Euro 11.31 and is worth every cent. So if you do not know about it and want to get more information, then look here . > > Regards, > > Matthias > > _______________________________________________ > use-livecode mailing list > use-livecode 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 john.m.paterson at gmail.com Sat Sep 29 09:33:09 2018 From: john.m.paterson at gmail.com (John Paterson) Date: Sat, 29 Sep 2018 14:33:09 +0100 Subject: No subject Message-ID: From MikeKerner at roadrunner.com Sat Sep 29 12:38:12 2018 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 29 Sep 2018 12:38:12 -0400 Subject: [off] Do me a solid Message-ID: https://www.fastcompany.com/90243936/exclusive-tim-berners-lee-tells-us-his-radical-new-plan-to-upend-the-world-wide-web -- 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 prothero at earthlearningsolutions.org Sat Sep 29 12:54:42 2018 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Sat, 29 Sep 2018 09:54:42 -0700 Subject: [off] Do me a solid In-Reply-To: References: Message-ID: <19942F0D-BA66-435F-9AE0-A5368CCCFE12@earthlearningsolutions.org> Mike, Very interesting. However, I suspect that anything is hackable, some more than others, but I will read more and would be interested in how the structure keeps user data private. Bill William Prothero http://es.earthednet.org > On Sep 29, 2018, at 9:38 AM, Mike Kerner via use-livecode wrote: > > https://www.fastcompany.com/90243936/exclusive-tim-berners-lee-tells-us-his-radical-new-plan-to-upend-the-world-wide-web > -- > 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 gcanyon at gmail.com Sat Sep 29 13:50:11 2018 From: gcanyon at gmail.com (Geoff Canyon) Date: Sat, 29 Sep 2018 10:50:11 -0700 Subject: Navigator 6.4 alpha 1 is out In-Reply-To: References: Message-ID: Bah -- I thought I had fixed this, let me take a look. FYI, I filed a bug for this (to me) odd behavior, but it looks like it's a "feature". https://quality.livecode.com/show_bug.cgi?id=21509 On Fri, Sep 28, 2018 at 9:56 AM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > On 09/24/2018 08:19 PM, Geoff Canyon via use-livecode wrote: > > As usual, you can get Navigator here > > . Or grab > it > > from GitHub . > > Eek! Cloning a card from the contextual menu pastes the new card into > Navigator instead of into the topstack. > > -- > 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 matthias_livecode_150811 at m-r-d.de Sat Sep 29 14:11:47 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 29 Sep 2018 20:11:47 +0200 Subject: Navigator 6.4 alpha 1 is out In-Reply-To: References: Message-ID: Hi, yes, you?ve fixed that. I am running here 6.3 alpha 1 and with that version the cloned card is pasted in the original stack. Regards, Matthias > Am 29.09.2018 um 19:50 schrieb Geoff Canyon via use-livecode >: > > Bah -- I thought I had fixed this, let me take a look. FYI, I filed a bug > for this (to me) odd behavior, but it looks like it's a "feature". > https://quality.livecode.com/show_bug.cgi?id=21509 > > On Fri, Sep 28, 2018 at 9:56 AM Mark Wieder via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On 09/24/2018 08:19 PM, Geoff Canyon via use-livecode wrote: >>> As usual, you can get Navigator here >>> . Or grab >> it >>> from GitHub . >> >> Eek! Cloning a card from the contextual menu pastes the new card into >> Navigator instead of into the topstack. >> >> -- >> 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 >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Tel +49 5741 310000 ?https://matthiasrebbe.eu ? From gcanyon at gmail.com Sat Sep 29 14:29:11 2018 From: gcanyon at gmail.com (Geoff Canyon) Date: Sat, 29 Sep 2018 11:29:11 -0700 Subject: Stacks whose names start with "rev" In-Reply-To: <6d7bc399-a613-300d-e323-7407621404b6@hyperactivesw.com> References: <6d7bc399-a613-300d-e323-7407621404b6@hyperactivesw.com> Message-ID: It's self-serving except for the fact that I give it away for free, but Navigator solves problems like this for breakfast. It has no problems dealing with "rev" stacks -- it has to, since otherwise I'd have to resort to the IDE to develop Navigator ;-) The only limitations I know of that Navigator doesn't much solve are the fact that "rev" stacks don't throw errors (this has cost me much pain and suffering) and Navigator doesn't distinguish between IDE "rev" stacks and non-IDE "rev" stacks, so enabling access to "rev" in Navigator exposes the IDE (including all of Navigator's files). I had thought about making that access more granular, but until now that would have seemed to be only for me. I'll think about it and let you know what I come up with. But in the meantime, what Navigator provides right now works for me, and would (I think) help you too. gc On Thu, Sep 27, 2018 at 12:09 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > Some of my client's stacks must begin with names starting with "rev" > (i.e., Bible study, "Revelations".) This of course wreaks havoc in the > IDE, aside from just omitting the stacks from file lists. We have tried > setting gRevDevelopment to true and turning on the option to view IDE > stacks, but lots of other things still fail. Objects can't be selected > with the edit tool and other oddities occur that make the stacks > uneditable. > > Temporarily renaming the stack sometimes works, but throws errors all > over the place when scripts try to navigate or use the long ID for other > purposes. > > But now something else is occuring, totally unintelligible. Normally two > stacks are open, an index stack "TSMain" and a mainstack "Revelations". > When trying to navigate to Revelations by any method -- opening it from > Finder, clicking the name in the index stack, etc. -- this error is thrown: > > "A stack with the same name as the one you are trying to load is already > open. Before loading > /Users//Documents//Revelations.livecode what do you > want to do with stack > /Users//Documents//TSMain.livecode, TSMain?" > > Besides the issue that the two "conflicting" stacks do not have the same > name, the TSMain stack is listed twice, once as a full file path > followed by the short name. > > Huh? This is under LC 9.0.1 but also happens in LC 8. > > How would you manage working with a stack whose name starts with "rev"? > We are planning to change the name somehow if we can think of a good > substitute, but for now it needs to stay as-is. And what's the deal with > the weird conflict message? There are no duplicate stacks in RAM. > > -- > 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 gcanyon at gmail.com Sat Sep 29 14:32:25 2018 From: gcanyon at gmail.com (Geoff Canyon) Date: Sat, 29 Sep 2018 11:32:25 -0700 Subject: [ANN] animationEngine is free now In-Reply-To: References: <38CAB85D-6D13-4FA0-83B4-582D146F09FF@derbrill.de> <43ADCB87-AB26-4AE5-8898-DAC6CEBDB656@pidigital.co.uk> <181afb0e-1b6b-4527-bd6d-2bbbb633adff@Spark> Message-ID: Maybe https://choosealicense.com could help? On Fri, Sep 28, 2018 at 1:16 PM Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > Brian, thats a key thing that was missing from my understanding. thank > you. i can't afford a lawyer at this point, so i have to try to make the > right decision without it. thanks. > > > On Fri, Sep 28, 2018 at 4:06 PM Brian Milby via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Copyright owner can relicense at will. That is why there are contributor > > agreements that transfer copyright to the project in many cases. Someone > > else can?t take GPL code and change the license. > > > > Thanks, > > Brian > > On Sep 28, 2018, 2:59 PM -0500, Tom Glod via use-livecode < > > use-livecode at lists.runrev.com>, wrote: > > > Hey Malte, > > > > > > Thanks for freeing your code and the contributions you have madeto the > > > community. > > > > > > I was under the impression that once something is GPLed .... it is GPL > > > forever, and it cannot really change. Is it just a matter of the fact > > that > > > you yourself would never enforce the GPL license which is why you are > > able > > > to change the license? > > > > > > I'm dealing with licensing issues right now ...still confused about how > > to > > > dual license something...hence my question. > > > > > > I will keep an eye on your upcoming kickstarter to see what you are > > > attempting to do. > > > > > > All the best, thank you. > > > > > > On Fri, Sep 28, 2018 at 3:33 PM Pi Digital via use-livecode < > > > use-livecode at lists.runrev.com> wrote: > > > > > > > AE was my first add on purchase for LC. It did me well for so many > > things. > > > > Thanks Malte for all of your assistance over the years and your > coding > > > > prowess. All the best as you move on. > > > > > > > > Sean > > > > > > > > > On 28 Sep 2018, at 20:15, Malte Pfaff-Brill via use-livecode < > > > > use-livecode at lists.runrev.com> wrote: > > > > > > > > > > Hi List, > > > > > > > > > > Just a quick announcement. > > > > > > > > > > I put animationEngine into the public domain today. No code > changes, > > > > just a change of license. It is now free as in beer as well as free > as > > in > > > > OSS terms. No more GPL3 restrictions, actually no restrictions at > all. > > It > > > > is still listed as paid Software in the extensions shop, but that > will > > also > > > > be changed soon. > > > > > > > > > > For all of you that supported me over the years: Thank you so much! > > > > Every license sold helped me move the library forward. The code is a > > bit > > > > dated now, however, maybe some of you find tiny bits and pieces that > > are > > > > still useful today. > > > > > > > > > > You find all AE related stuff on GITHUB: > > > > https://github.com/derbrill/animationEngine > > > > > > > > > > Today I am not doing much development work anymore. There will be > one > > > > last try through a Kickstarter campaign in a couple of days, but if > > that > > > > fails, I?ve basically had my days in dev. I will be keeping an eye on > > > > liveCode of course. :-) I have made quite a lot of friends on the > > lists and > > > > forums over the years, so I raise my glass to all of you. > > > > > > > > > > Cheers! > > > > > > > > > > Malte > > > > > _______________________________________________ > > > > > use-livecode mailing list > > > > > use-livecode 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 gcanyon at gmail.com Sat Sep 29 14:34:08 2018 From: gcanyon at gmail.com (Geoff Canyon) Date: Sat, 29 Sep 2018 11:34:08 -0700 Subject: [ANN] animationEngine is free now In-Reply-To: <38CAB85D-6D13-4FA0-83B4-582D146F09FF@derbrill.de> References: <38CAB85D-6D13-4FA0-83B4-582D146F09FF@derbrill.de> Message-ID: What's the Kickstarter? On Fri, Sep 28, 2018 at 12:15 PM Malte Pfaff-Brill via use-livecode < use-livecode at lists.runrev.com> wrote: > > Today I am not doing much development work anymore. There will be one last > try through a Kickstarter campaign in a couple of days, but if that fails, > I?ve basically had my days in dev. I will be keeping an eye on liveCode of > course. :-) I have made quite a lot of friends on the lists and forums over > the years, so I raise my glass to all of you. > From gcanyon at gmail.com Sat Sep 29 14:42:38 2018 From: gcanyon at gmail.com (Geoff Canyon) Date: Sat, 29 Sep 2018 11:42:38 -0700 Subject: Navigator 6.4 alpha 1 is out In-Reply-To: References: Message-ID: I just checked, and at least as far as I can tell, this is fixed in my current version of Navigator, and as Matthias says, going back several versions. You can update by getting Navigator here . Or grab it from GitHub . gc > From gcanyon at gmail.com Sat Sep 29 14:46:42 2018 From: gcanyon at gmail.com (Geoff Canyon) Date: Sat, 29 Sep 2018 11:46:42 -0700 Subject: [off] Do me a solid In-Reply-To: References: Message-ID: Reminds me of project Xanadu: https://en.wikipedia.org/wiki/Project_Xanadu. On Sat, Sep 29, 2018 at 9:38 AM Mike Kerner via use-livecode < use-livecode at lists.runrev.com> wrote: > > https://www.fastcompany.com/90243936/exclusive-tim-berners-lee-tells-us-his-radical-new-plan-to-upend-the-world-wide-web > -- > 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 richmondmathewson at gmail.com Sat Sep 29 15:00:28 2018 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 29 Sep 2018 22:00:28 +0300 Subject: [off] Do me a solid In-Reply-To: References: Message-ID: Decentralizing control from any form of monopoly has always got to be good. However, the monopolists have probably got the internet so firmly "by the prawns" I wonder if the man's plan will work. Richmond. On 29.09.2018 19:38, Mike Kerner via use-livecode wrote: > https://www.fastcompany.com/90243936/exclusive-tim-berners-lee-tells-us-his-radical-new-plan-to-upend-the-world-wide-web From jacque at hyperactivesw.com Sat Sep 29 18:24:38 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 29 Sep 2018 17:24:38 -0500 Subject: [ANN] animationEngine is free now In-Reply-To: <38CAB85D-6D13-4FA0-83B4-582D146F09FF@derbrill.de> References: <38CAB85D-6D13-4FA0-83B4-582D146F09FF@derbrill.de> Message-ID: <2856d501-97bc-342a-00ff-898217ce7f78@hyperactivesw.com> On 9/28/18 2:15 PM, Malte Pfaff-Brill via use-livecode wrote: > Today I am not doing much development work anymore. There will be one last try through a Kickstarter campaign in a couple of days, but if that fails, I?ve basically had my days in dev. I'm sorry to hear that, Malte. I'm sure your reasons are for the best but I wouldn't want you to disappear. Please keep in touch. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Sep 29 18:33:46 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 29 Sep 2018 17:33:46 -0500 Subject: Stacks whose names start with "rev" In-Reply-To: <7c5c100c-2b6b-9115-20db-cadc15fe68a8@fourthworld.com> References: <6d7bc399-a613-300d-e323-7407621404b6@hyperactivesw.com> <7c5c100c-2b6b-9115-20db-cadc15fe68a8@fourthworld.com> Message-ID: <564e8282-3f54-3560-f430-66b6f92e681b@hyperactivesw.com> On 9/28/18 3:28 PM, Richard Gaskin via use-livecode wrote: > That would seem a bug in the IDE: If there is no means why which the IDE > allows work on stacks the IDE believes are part of the IDE, the IDE > cannot be worked on. > > I trust the team will want to resolve that ASAP. > > Before submitting that bug report, it may be helpful to check both the > cantModify and modes of the stacks disallowing normal editing.? If they > are toplevel and cantmodify is false you have a bug in the IDE, and if > not you have a solution to get you back to work. CantModify is false and stack mode is 2. I tried repeatedly to set it to 1 and wouldn't take. It's decided it's a 2 and there is no changing its mind. > > But now something else is occuring, totally unintelligible. Normally > > two stacks are open, an index stack "TSMain" and a mainstack > > "Revelations". > > When trying to navigate to Revelations by any method -- opening it > > from Finder, clicking the name in the index stack, etc. -- this error > > is thrown: > > > > "A stack with the same name as the one you are trying to load is > > already open. Before loading > > /Users//Documents//Revelations.livecode what do you > > want to do with stack > > /Users//Documents//TSMain.livecode, TSMain?" > > > > Besides the issue that the two "conflicting" stacks do not have the > > same name, the TSMain stack is listed twice, once as a full file path > > followed by the short name. > > > > Huh? > > Does TSMain have anything set in its stackfiles property?? Or is the > stackfiles property set in Revelations.livecode? Neither stack has any stackfiles, all stacks are downloaded from the server on demand using a lookup file auto-generated on the server every hour. User history lists and glossary lookups are created using the name of the stack, the card, and some extra data held in script locals. During development stacks are loaded from disk using their filenames, calculated according to a naming system that incorporates the stack name. Although the filenames are similar to the stack names, they are not identical. Regardless, "TSMain" in any form is not the same as "Revelation as Apocalypse." -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From davros at bellaliant.net Sat Sep 29 18:37:36 2018 From: davros at bellaliant.net (John McKenzie) Date: Sat, 29 Sep 2018 19:37:36 -0300 Subject: [off] Do me a solid In-Reply-To: References: Message-ID: <20180929193736.4863be34@poseidon> Mike, thanks for the link to the Berners-Lee article. Could somebody please explain to me what he is doing as described by the article though? It says he is taking something decentralized like the world wide web and is making it decentralized. I can do that. There I just did it. Anyone can host a web server now. They talk about data and storage control and we have all those things now. People choose to use Faceook, not Diaspora, etc, they choose to use Google Drive not a local hard drive, etc. We already have the technology and finished applications to do everything mentioned in the article. I do not meant to sound critical or mean I just honestly do not understand the point of the article and would like to know. Or am I just overthinking it and the only point is Berners-Lee has a better way to program these things? From jacque at hyperactivesw.com Sat Sep 29 18:51:47 2018 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 29 Sep 2018 17:51:47 -0500 Subject: Stacks whose names start with "rev" In-Reply-To: References: <6d7bc399-a613-300d-e323-7407621404b6@hyperactivesw.com> Message-ID: <87fc535b-9544-31a3-f03e-b223548d3499@hyperactivesw.com> On 9/29/18 1:29 PM, Geoff Canyon via use-livecode wrote: > The only limitations I know of that Navigator doesn't much solve are the > fact that "rev" stacks don't throw errors (this has cost me much pain and > suffering) and Navigator doesn't distinguish between IDE "rev" stacks and > non-IDE "rev" stacks, so enabling access to "rev" in Navigator exposes the > IDE (including all of Navigator's files). Showing IDE stacks in lists does the same, and we were able to select controls via the app browser normally. The problems occured when trying to drag or resize those controls, which were immune to any manipulation. The stack was stubbornly set to mode 2 and wouldn't budge. We were able to manipulate objects via the message box as long as we specified a long path to the control. The property inspector was inconsistent in recognizing the target stack. This is fairly new behavior, it used to be difficult but do-able. I'm not sure when it changed, since the last time we needed to edit a "rev" stack was about 2 years ago. Some day I will have the time to look at Navigator more closely. I did give it a shot a couple of times but found the learning curve too high for a quick switch. I only hear good things about it though, so some day maybe. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From tom at makeshyft.com Sat Sep 29 18:56:30 2018 From: tom at makeshyft.com (Tom Glod) Date: Sat, 29 Sep 2018 18:56:30 -0400 Subject: [off] Do me a solid In-Reply-To: <20180929193736.4863be34@poseidon> References: <20180929193736.4863be34@poseidon> Message-ID: 4 words....IPFS. :D thats the future of a decentralized web :) IPFS is going to take off in the next 2 years like a bat out of hell, as more and more decentralized applications are developed on top of it and proven to work at scale. TBLee's tech will have to at least match IPFS or be way behind from day 1. On Sat, Sep 29, 2018 at 6:37 PM John McKenzie via use-livecode < use-livecode at lists.runrev.com> wrote: > > Mike, thanks for the link to the Berners-Lee article. Could somebody > please explain to me what he is doing as described by the article > though? > > It says he is taking something decentralized like the world wide web > and is making it decentralized. I can do that. There I just did it. > Anyone can host a web server now. They talk about data and storage > control and we have all those things now. People choose to use Faceook, > not Diaspora, etc, they choose to use Google Drive not a local hard > drive, etc. We already have the technology and finished applications to > do everything mentioned in the article. > > I do not meant to sound critical or mean I just honestly do not > understand the point of the article and would like to know. Or am I just > overthinking it and the only point is Berners-Lee has a better way to > program these 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 stephen at barncard.com Sat Sep 29 19:13:20 2018 From: stephen at barncard.com (Stephen Barncard) Date: Sat, 29 Sep 2018 16:13:20 -0700 Subject: [ANN] animationEngine is free now In-Reply-To: <2856d501-97bc-342a-00ff-898217ce7f78@hyperactivesw.com> References: <38CAB85D-6D13-4FA0-83B4-582D146F09FF@derbrill.de> <2856d501-97bc-342a-00ff-898217ce7f78@hyperactivesw.com> Message-ID: yes, please stay on the list...we need your wisdom and humor. I'm kind of a lurker but still use LC for my quirky hybrid (but totally not shrink wrapped) programming. I love this culture of Rev. -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Sat, Sep 29, 2018 at 3:25 PM J. Landman Gay via use-livecode < use-livecode at lists.runrev.com> wrote: > On 9/28/18 2:15 PM, Malte Pfaff-Brill via use-livecode wrote: > > Today I am not doing much development work anymore. There will be one > last try through a Kickstarter campaign in a couple of days, but if that > fails, I?ve basically had my days in dev. > > I'm sorry to hear that, Malte. I'm sure your reasons are for the best > but I wouldn't want you to disappear. Please keep in touch. > > -- > 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 stephen at barncard.com Sat Sep 29 19:20:23 2018 From: stephen at barncard.com (Stephen Barncard) Date: Sat, 29 Sep 2018 16:20:23 -0700 Subject: [off] Do me a solid In-Reply-To: References: <20180929193736.4863be34@poseidon> Message-ID: still.... they are depending on AWS? Amazon is "the man" now... -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Sat, Sep 29, 2018 at 3:57 PM Tom Glod via use-livecode < use-livecode at lists.runrev.com> wrote: > 4 words....IPFS. :D > > thats the future of a decentralized web :) IPFS is going to take off in the > next 2 years like a bat out of hell, as more and more decentralized > applications are developed on top of it and proven to work at scale. > TBLee's tech will have to at least match IPFS or be way behind from day 1. > > On Sat, Sep 29, 2018 at 6:37 PM John McKenzie via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > > Mike, thanks for the link to the Berners-Lee article. Could somebody > > please explain to me what he is doing as described by the article > > though? > > > > It says he is taking something decentralized like the world wide web > > and is making it decentralized. I can do that. There I just did it. > > Anyone can host a web server now. They talk about data and storage > > control and we have all those things now. People choose to use Faceook, > > not Diaspora, etc, they choose to use Google Drive not a local hard > > drive, etc. We already have the technology and finished applications to > > do everything mentioned in the article. > > > > I do not meant to sound critical or mean I just honestly do not > > understand the point of the article and would like to know. Or am I just > > overthinking it and the only point is Berners-Lee has a better way to > > program these 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 davros at bellaliant.net Sat Sep 29 19:40:55 2018 From: davros at bellaliant.net (John McKenzie) Date: Sat, 29 Sep 2018 20:40:55 -0300 Subject: [off] Do me a solid In-Reply-To: References: Message-ID: <20180929204055.02d29ab3@poseidon> Tom, thanks. Was not aware of IPFS. Looks interesting. When I have more time I must read about it in detail. Have not checked on Xanadu in a while. Little faith it will be further along than last time I checked considering it was started before I was born and how old I am. I do applaud it though and it was very pioneering. This IPFS is very intriguing. Very. From ahsoftware at sonic.net Sat Sep 29 19:44:25 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 29 Sep 2018 16:44:25 -0700 Subject: Navigator 6.4 alpha 1 is out In-Reply-To: References: Message-ID: <654ee792-2197-51d6-b728-dfcc350d976d@sonic.net> On 09/29/2018 11:42 AM, Geoff Canyon via use-livecode wrote: > I just checked, and at least as far as I can tell, this is fixed in my > current version of Navigator, and as Matthias says, going back several > versions. You can update by getting Navigator here > . Or grab it > from GitHub . Verified fixed. Here's what messed me up: I pulled the latest changes from github I realized that the binary stack didn't need building I sudo copied the plugin into /opt/livecode/...etc and then launched the IDE not realizing I *also* needed to replace the behaviors. Also, I now realize that I just need to copy the stack into my user plugins folder. So user stacks with the same name as system plugin stacks will take the place of the builtins? That's a revelation. -- Mark Wieder ahsoftware at gmail.com From brian at milby7.com Sat Sep 29 19:58:14 2018 From: brian at milby7.com (Brian Milby) Date: Sat, 29 Sep 2018 19:58:14 -0400 Subject: Navigator 6.4 alpha 1 is out In-Reply-To: <654ee792-2197-51d6-b728-dfcc350d976d@sonic.net> References: <654ee792-2197-51d6-b728-dfcc350d976d@sonic.net> Message-ID: <8ce96a9f-bc35-4ecd-8f7f-ec5cb0e259a9@Spark> You can also link the behaviors folder in the plugins folder to the local copy of the repo behaviors. Then you just need to copy the binary file when you pull the update from the repo. I go a step further (consolidate it into a single stack) but that is just my experiment. Thanks, Brian On Sep 29, 2018, 7:45 PM -0400, Mark Wieder via use-livecode , wrote: > On 09/29/2018 11:42 AM, Geoff Canyon via use-livecode wrote: > > I just checked, and at least as far as I can tell, this is fixed in my > > current version of Navigator, and as Matthias says, going back several > > versions. You can update by getting Navigator here > > . Or grab it > > from GitHub . > > Verified fixed. Here's what messed me up: > > I pulled the latest changes from github > I realized that the binary stack didn't need building > I sudo copied the plugin into /opt/livecode/...etc > and then launched the IDE > > not realizing I *also* needed to replace the behaviors. > > Also, I now realize that I just need to copy the stack into my user > plugins folder. So user stacks with the same name as system plugin > stacks will take the place of the builtins? That's a revelation. > > -- > 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 ahsoftware at sonic.net Sat Sep 29 20:10:43 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 29 Sep 2018 17:10:43 -0700 Subject: [off] Do me a solid In-Reply-To: References: Message-ID: <99a06e0c-38e7-7ad8-d23b-891390ddcd8d@sonic.net> Is this the same Tim Berners-Lee who, in his capacity as Director of the World Wide Web Consortium, a year ago overruled all objections and added standardized DRM to the open web standards? Sided with trillions of dollars worth of corporate muscle against accessibility groups, security experts, browser startups, public interest groups, human rights groups, archivists, research institutions, etc? Pass. -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Sat Sep 29 20:13:10 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 29 Sep 2018 17:13:10 -0700 Subject: Navigator 6.4 alpha 1 is out In-Reply-To: <8ce96a9f-bc35-4ecd-8f7f-ec5cb0e259a9@Spark> References: <654ee792-2197-51d6-b728-dfcc350d976d@sonic.net> <8ce96a9f-bc35-4ecd-8f7f-ec5cb0e259a9@Spark> Message-ID: <9d19c9ae-6473-bccf-088b-aecd1ce08e42@sonic.net> On 09/29/2018 04:58 PM, Brian Milby via use-livecode wrote: > You can also link the behaviors folder in the plugins folder to the local copy of the repo behaviors. Then you just need to copy the binary file when you pull the update from the repo. Nice. I hadn't thought of linking the folder. I'm still amazed that user plugins override the builtins. -- Mark Wieder ahsoftware at gmail.com From davros at bellaliant.net Sat Sep 29 20:14:55 2018 From: davros at bellaliant.net (John McKenzie) Date: Sat, 29 Sep 2018 21:14:55 -0300 Subject: [off] Do me a solid In-Reply-To: References: Message-ID: <20180929211455.0b739c55@poseidon> Mark, I am glad I am not the only one who remembers Lee selling us out. I do not put more validity or faith into the project because of him. I just mentioned him because he was doing it. Still, mostly I want to understand it. What really is it? The article just says it is to create something we have. I for one say you are right to mention the DRM thing. We cannot forget. From gcanyon at gmail.com Sat Sep 29 21:47:01 2018 From: gcanyon at gmail.com (Geoff Canyon) Date: Sat, 29 Sep 2018 18:47:01 -0700 Subject: Navigator 6.4 alpha 1 is out In-Reply-To: <654ee792-2197-51d6-b728-dfcc350d976d@sonic.net> References: <654ee792-2197-51d6-b728-dfcc350d976d@sonic.net> Message-ID: On Sat, Sep 29, 2018 at 4:45 PM Mark Wieder via use-livecode < use-livecode at lists.runrev.com> wrote: > > not realizing I *also* needed to replace the behaviors. > Yeah, the full installation of Navigator always requires the updated stack and the behaviors folder. The Navigator stack is replicated multiple times through the interface, so everything is a behavior. I just got the external commands code working properly again, so that folder might become necessary to the installation as well. gc From ahsoftware at sonic.net Sat Sep 29 22:06:49 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 29 Sep 2018 19:06:49 -0700 Subject: [off] Do me a solid In-Reply-To: <20180929211455.0b739c55@poseidon> References: <20180929211455.0b739c55@poseidon> Message-ID: <40e684de-e421-e66f-6e99-cbf66c61479f@sonic.net> On 09/29/2018 05:14 PM, John McKenzie via use-livecode wrote: > > Mark, I am glad I am not the only one who remembers Lee selling us > out. I do not put more validity or faith into the project because of > him. I just mentioned him because he was doing it. Still, mostly I want > to understand it. What really is it? The article just says it is to > create something we have. Dunno yet. The article and the others just like it have a bunch of startup pr hype and not much else. The Solid platform is up and the api should be online Real Soon Now. > > I for one say you are right to mention the DRM thing. We cannot forget. To put it in some perspective, DRM itself isn't the problem, it's more the nuances involved, especially as pertains to section 1201 of the DMCA. Well, yes, DRM does remove all the user's rights in copyright, letting corporations decide what your legal rights are. But legit things people want to do with web technology are off limits, even talking about defects in DRM that expose users to privacy breaches. Case in point: some years ago I bought a DVD, stuck it in the DVD player connected to the aux input of my TV, and found that I couldn't view it because the TV had integrated anti-piracy software. The TV was a combo TV and VCR, so obviously I was going to copy the DVD to videocassette (remember this was some years ago) and the system was helpfully going to stop me. The only way I could view the DVD was to rip it to a digital file and watch it on the computer. Forced into piracy even though I had purchased all the equipment and content. (OK - according the modern EULAs I don't actually own anything, but that's a different subject. But related.) from Cory Doctorow's report from last year: EFF proposed a simple compromise: extend the W3C's existing membership agreement (whose patent rules make DRM possible in the first place) so that W3C members couldn't sue people for bypassing DRM unless there was also some kind of copyright violation or other illegal act in the mix. The DRM advocates at W3C rejected this. After a perfunctory discussion, they walked away from the negotiations and proceeded to ignore anyone at W3C or on the web who disliked the idea of corporations getting to boss around librarians, accessibility workers, security researchers and innovators. https://www.eff.org/deeplinks/2017/07/amid-unprecedented-controversy-w3c-greenlights-drm-web -- Mark Wieder ahsoftware at gmail.com From ahsoftware at sonic.net Sat Sep 29 22:07:07 2018 From: ahsoftware at sonic.net (Mark Wieder) Date: Sat, 29 Sep 2018 19:07:07 -0700 Subject: [off] Do me a solid In-Reply-To: <20180929193736.4863be34@poseidon> References: <20180929193736.4863be34@poseidon> Message-ID: On 09/29/2018 03:37 PM, John McKenzie via use-livecode wrote: > control and we have all those things now. People choose to use Faceook, ...but probably only in the library the Unseen University. Heh. -- Mark Wieder ahsoftware at gmail.com From bornstein at designeq.com Sat Sep 29 23:15:34 2018 From: bornstein at designeq.com (Howard Bornstein) Date: Sat, 29 Sep 2018 20:15:34 -0700 Subject: mousemove doesn't recognize "shiftkey is down", but only under Windows In-Reply-To: References: Message-ID: I just wanted to mention that the problem detecting the shift-key being down seems to be entirely an issue with Parallels. My test, running under Windows 10 on a real PC had no trouble with my code that was looking for the shift-key being down. I'm glad to see this problem wasn't within LiveCode. There are so many layers where something can go wrong, it can be a challenge identifying exactly where the problem is happening. It must be a pretty specific issue with Parallels that only manifests by ignoring the shift key. On Tue, Sep 25, 2018 at 10:02 PM Howard Bornstein wrote: > > > On Sun, Sep 23, 2018 at 10:50 PM Curry Kenworthy via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> >> Howard: >> >> > All my test show that for the Shift key and the Option key, when >> > called within a mousemove handler, it doesn't register that the >> > keys are down unless the mouse button is clicked first. >> >> Hi Howard, I tested your code verbatim in the card script of a new stack >> in LC 901 on native Windows 10 with a real PC laptop, Dell Intel i5. >> >> It works fine here. > > > Thanks for testing this out. > > >> I also noticed that since "shiftkey" only has two >> states, you don't really need to test it twice; you could cut out the >> second "if" statement. In fact, this yields similar results: >> >> on mousemove x,y >> put x,y && the shiftkey >> end mousemove >> > > Lol. Yeah, I wasn't trying for elegance. I was making sure the code and > results were absolutely clear. > > >> So, despite the very significant issues that LC 9 has on real Windows, >> including a barely-usable script editor, it seems likely that this is >> not one of them. That's good news! But obviously you do have a problem. >> >> Have you tested your code in a brand new empty stack in a fresh and >> unmodded instance of LC, no extra plugins or scripts running? If so, if >> it's just Parallels, I have to say that virtual Windows isn't quite the >> same. Well, I guess an Intel Mac sporting a GUI that contradicts much of >> Apple's original research isn't quite the same either; I'm a big >> original Mac guy! :) But some details are different. That's why I always >> use real Mac and real Windows. >> > > I have friend with a real Windows machine that will test the code of the > app where I applied this technique so, hopefully I'll be able to see if it > works on a real PC and if the problem is Parallels. I'm a Mac guy too and > only use Windows to test apps built for both platforms. > > >> But if you get different results with a fresh stack and LC, if there is >> something else going on and you would like me to test your actual stack >> (on native Windows) or help solve your problem, feel free to contact me >> off-list. Interesting. >> > > Thanks. I'll let you know what my friend turns up. > > >> (Meanwhile, hope we can get improvements for some of the real Windows >> problems that LC has. It's difficult to type in the LC 901 script editor >> on Windows - that is a pretty huge issue. I have a WordLib update coming >> out in a few days, pending final tests, and it never hurts to have a >> fully usable version of the latest LC IDE on both platforms!) >> > > I did work a little bit in the script editor under Windows and didn't > notice the awful problems you've been reporting, but again, it was just > some tweaks and code changes. I don't do most of my scripting under > Windows. I hope this gets fixed. > > >> >> Best wishes, >> >> Curry Kenworthy >> >> Custom Software Development >> "Better Methods, Better Results" >> LiveCode Training and Consulting >> http://livecodeconsulting.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 >> > > > -- > Regards, > > Howard Bornstein > ----------------------- > www.designeq.com > -- Regards, Howard Bornstein ----------------------- www.designeq.com From stephen at barncard.com Sat Sep 29 23:46:48 2018 From: stephen at barncard.com (Stephen Barncard) Date: Sat, 29 Sep 2018 20:46:48 -0700 Subject: mousemove doesn't recognize "shiftkey is down", but only under Windows In-Reply-To: References: Message-ID: Does the same thing happen with VMware? not that I have any plans to develop anything in Windows. -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Sat, Sep 29, 2018 at 8:16 PM Howard Bornstein via use-livecode < use-livecode at lists.runrev.com> wrote: > I just wanted to mention that the problem detecting the shift-key being > down seems to be entirely an issue with Parallels. My test, running under > Windows 10 on a real PC had no trouble with my code that was looking for > the shift-key being down. I'm glad to see this problem wasn't within > LiveCode. There are so many layers where something can go wrong, it can be > a challenge identifying exactly where the problem is happening. It must be > a pretty specific issue with Parallels that only manifests by ignoring the > shift key. > > On Tue, Sep 25, 2018 at 10:02 PM Howard Bornstein > wrote: > > > > > > > On Sun, Sep 23, 2018 at 10:50 PM Curry Kenworthy via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> > >> Howard: > >> > >> > All my test show that for the Shift key and the Option key, when > >> > called within a mousemove handler, it doesn't register that the > >> > keys are down unless the mouse button is clicked first. > >> > >> Hi Howard, I tested your code verbatim in the card script of a new stack > >> in LC 901 on native Windows 10 with a real PC laptop, Dell Intel i5. > >> > >> It works fine here. > > > > > > Thanks for testing this out. > > > > > >> I also noticed that since "shiftkey" only has two > >> states, you don't really need to test it twice; you could cut out the > >> second "if" statement. In fact, this yields similar results: > >> > >> on mousemove x,y > >> put x,y && the shiftkey > >> end mousemove > >> > > > > Lol. Yeah, I wasn't trying for elegance. I was making sure the code and > > results were absolutely clear. > > > > > >> So, despite the very significant issues that LC 9 has on real Windows, > >> including a barely-usable script editor, it seems likely that this is > >> not one of them. That's good news! But obviously you do have a problem. > >> > >> Have you tested your code in a brand new empty stack in a fresh and > >> unmodded instance of LC, no extra plugins or scripts running? If so, if > >> it's just Parallels, I have to say that virtual Windows isn't quite the > >> same. Well, I guess an Intel Mac sporting a GUI that contradicts much of > >> Apple's original research isn't quite the same either; I'm a big > >> original Mac guy! :) But some details are different. That's why I always > >> use real Mac and real Windows. > >> > > > > I have friend with a real Windows machine that will test the code of the > > app where I applied this technique so, hopefully I'll be able to see if > it > > works on a real PC and if the problem is Parallels. I'm a Mac guy too and > > only use Windows to test apps built for both platforms. > > > > > >> But if you get different results with a fresh stack and LC, if there is > >> something else going on and you would like me to test your actual stack > >> (on native Windows) or help solve your problem, feel free to contact me > >> off-list. Interesting. > >> > > > > Thanks. I'll let you know what my friend turns up. > > > > > >> (Meanwhile, hope we can get improvements for some of the real Windows > >> problems that LC has. It's difficult to type in the LC 901 script editor > >> on Windows - that is a pretty huge issue. I have a WordLib update coming > >> out in a few days, pending final tests, and it never hurts to have a > >> fully usable version of the latest LC IDE on both platforms!) > >> > > > > I did work a little bit in the script editor under Windows and didn't > > notice the awful problems you've been reporting, but again, it was just > > some tweaks and code changes. I don't do most of my scripting under > > Windows. I hope this gets fixed. > > > > > >> > >> Best wishes, > >> > >> Curry Kenworthy > >> > >> Custom Software Development > >> "Better Methods, Better Results" > >> LiveCode Training and Consulting > >> http://livecodeconsulting.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 > >> > > > > > > -- > > Regards, > > > > Howard Bornstein > > ----------------------- > > www.designeq.com > > > > > -- > Regards, > > Howard Bornstein > ----------------------- > www.designeq.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 hyperhh.de Sun Sep 30 12:03:22 2018 From: hh at hyperhh.de (hh) Date: Sun, 30 Sep 2018 18:03:22 +0200 Subject: DatePicker89_v107 Message-ID: Just uploaded a date picker widget to "Sample Stacks". Grab it from there or download DatePicker_v107 from http://livecodeshare.runrev.com/stack/903 This is a *sample-stack* that has also buttons to install or remove the widget. The widget is "fat" (contains LC 8 and 9 modules), loaded will by LC only the needed module. Both modules are of size 45 KByte, no matter how many copies of the picker you have on your cards. The widget incl. all resources and docs has 200 KByte on disk. Examples in the stack: 1. Use as standard (non-popup) widget, can be grabbed. 2. Use as popup widget (a modal dialog). For the popup you have to give at least one argument: The date to display as "year, month, day". Optionally you can give 33 more properties (of which 10 are colors and 8 are styles for different parts). Especially can you ++ set english, system or custom naming, ++ start the week on saturday, sunday or monday, ++ see the lunar phase of the picked date and ++ scale the widget to 80-280% (done by affine transforms). For the standard widget you have 36 options available (additionally grabbing and a default pickerScale for use in the property inspector). The widget is free for non-commercial use. For commercial use, please give a (small) fee to the LC developer help fund. Thanks to Bernd Niggemann for valuable hints and comments. The source code is not (yet) included. From matthias_livecode_150811 at m-r-d.de Sun Sep 30 14:21:59 2018 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 30 Sep 2018 20:21:59 +0200 Subject: DatePicker89_v107 In-Reply-To: References: Message-ID: <309485B6-3120-4F37-9EDE-3112C1E01A46@m-r-d.de> What is the LC developer help fund? > Am 30.09.2018 um 18:03 schrieb hh via use-livecode : > > Just uploaded a date picker widget to "Sample Stacks". > Grab it from there or download DatePicker_v107 from > > http://livecodeshare.runrev.com/stack/903 > > This is a *sample-stack* that has also buttons to install > or remove the widget. The widget is "fat" (contains LC 8 > and 9 modules), loaded will by LC only the needed module. > Both modules are of size 45 KByte, no matter how many > copies of the picker you have on your cards. The widget > incl. all resources and docs has 200 KByte on disk. > > Examples in the stack: > > 1. Use as standard (non-popup) widget, can be grabbed. > 2. Use as popup widget (a modal dialog). > > For the popup you have to give at least one argument: The > date to display as "year, month, day". Optionally you can > give 33 more properties (of which 10 are colors and 8 are > styles for different parts). Especially can you > ++ set english, system or custom naming, > ++ start the week on saturday, sunday or monday, > ++ see the lunar phase of the picked date and > ++ scale the widget to 80-280% (done by affine transforms). > > For the standard widget you have 36 options available > (additionally grabbing and a default pickerScale for use > in the property inspector). > > The widget is free for non-commercial use. > For commercial use, please give a (small) fee to the LC > developer help fund. > > Thanks to Bernd Niggemann for valuable hints and comments. > The source code is not (yet) included. > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 hyperhh.de Sun Sep 30 14:56:13 2018 From: hh at hyperhh.de (hh) Date: Sun, 30 Sep 2018 20:56:13 +0200 Subject: DatePicker89_v107 Message-ID: <9BC579CD-5151-4E7E-904F-11C0ABC5BF88@hyperhh.de> Matthias, I was just curious if anybody would ask about that. As you are the first one in three months or so: Congratulations, you may use this widgets for free in ALL your apps. The fund is the idea that the community has some money available if a developer (of the community) has serious financial difficulties. Everybody who uses widgets etc. of others "for free" could give a small fee (he/she can afford) to the fund. Many a mickle makes a muckle (Kleinvieh macht auch Mist). Of course we need a manager for such a fund and have it "transparent". For example (deducing from a recent event) Lagi Pittas would be a good candidate for managing such a fund ... Hermann From hh at hyperhh.de Sun Sep 30 19:57:38 2018 From: hh at hyperhh.de (hh) Date: Mon, 1 Oct 2018 01:57:38 +0200 Subject: DatePicker89_v108 Message-ID: Updated to v108, the link is still valid ( http://livecodeshare.runrev.com/stack/903 ) Added now the source code (and a new name for the widget in the "Tools" palette). From hh at hyperhh.de Sun Sep 30 20:02:50 2018 From: hh at hyperhh.de (hh) Date: Mon, 1 Oct 2018 02:02:50 +0200 Subject: ColorPicker89_v102 Message-ID: <95016CCD-1B42-4870-8CEA-8527D111DCBA@hyperhh.de> Updated to v102, the link is still valid ( http://livecodeshare.runrev.com/stack/901 ) Made now also to a "fat" widget (for LC 8 and 9). **I needed a unique naming system for the kind of the widget and the widget's name in the "Tools" palette. To get less confused when developing... IMPORTANT: The kind of the widget has changed to "community.livecode.hermann.colorpicker". You may have to adjust some of your scripts accordingly (sorry). From bogdanoff at me.com Sun Sep 30 21:03:36 2018 From: bogdanoff at me.com (Peter Bogdanoff) Date: Sun, 30 Sep 2018 18:03:36 -0700 Subject: put URL blocking? In-Reply-To: References: Message-ID: <6CDDFD49-EDC8-4CD0-B65B-E9057129F8D7@me.com> Hi, a question? The statement: put URL tURL into tData tURL, the URL to a text file, resides on a remote server. Is this command blocking? Does LC wait for a response before moving on the the next line of the script? I?m not clear at all about gets, puts, etc. -- what I need to do if there is a delay in retrieving data, when I need that data in hand before continuing in a script. Peter Bogdanoff ArtsInteractive From rdimola at evergreeninfo.net Sun Sep 30 21:20:58 2018 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 30 Sep 2018 21:20:58 -0400 Subject: put URL blocking? In-Reply-To: <6CDDFD49-EDC8-4CD0-B65B-E9057129F8D7@me.com> References: <6CDDFD49-EDC8-4CD0-B65B-E9057129F8D7@me.com> Message-ID: <003e01d45925$052f8790$0f8e96b0$@net> Yes it's blocking. As far as a know all get/puts to urls is blocking local or remote. The only way I know of not blocking is to use tsNet Async. It works very nicely even on mobile. I download some files in the background while the user is logging in. The login process uses get/puts and they are blocking but are not blocked by the simultaneous outstanding async operations. 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 Peter Bogdanoff via use-livecode Sent: Sunday, September 30, 2018 9:04 PM To: How to use LiveCode Cc: Peter Bogdanoff Subject: put URL blocking? Hi, a question? The statement: put URL tURL into tData tURL, the URL to a text file, resides on a remote server. Is this command blocking? Does LC wait for a response before moving on the the next line of the script? I?m not clear at all about gets, puts, etc. -- what I need to do if there is a delay in retrieving data, when I need that data in hand before continuing in a script. Peter Bogdanoff ArtsInteractive _______________________________________________ use-livecode mailing list use-livecode 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 hyperhh.de Sun Sep 30 23:20:32 2018 From: hh at hyperhh.de (hh) Date: Mon, 1 Oct 2018 05:20:32 +0200 Subject: IconGrid89_v211 Message-ID: Updated to v2.1.1. Made this also to a "fat" widget (for LC 8 and 9) and gave a new name for the Tools palette. The functionality is of v2.1.0, please see here: http://forums.livecode.com/viewtopic.php?p=158112#p158112 Download IconGrid89_v211 from "Sample Stacks" or from http://livecodeshare.runrev.com/stack/904 The widget is free for non-commercial use. For commercial use, please give a (small) fee to the LC developer help fund. From tom at makeshyft.com Sun Sep 30 23:30:28 2018 From: tom at makeshyft.com (Tom Glod) Date: Sun, 30 Sep 2018 23:30:28 -0400 Subject: put URL blocking? In-Reply-To: <003e01d45925$052f8790$0f8e96b0$@net> References: <6CDDFD49-EDC8-4CD0-B65B-E9057129F8D7@me.com> <003e01d45925$052f8790$0f8e96b0$@net> Message-ID: the load command is non-blocking .... which can work well for a lot of use cases. hint: to get around the "one request per domain limit" add a # and unique number to the end of the URL. check this out.... i made it for the LC Global Conference last year .... a useful demo stack of asynchronous http with the community version .... (or the older URL lib...not tSnet) https://github.com/makeshyft-tom-g/lc-single-domain-asynchronous-http On Sun, Sep 30, 2018 at 9:18 PM Ralph DiMola via use-livecode < use-livecode at lists.runrev.com> wrote: > Yes it's blocking. As far as a know all get/puts to urls is blocking local > or remote. The only way I know of not blocking is to use tsNet Async. It > works very nicely even on mobile. I download some files in the background > while the user is logging in. The login process uses get/puts and they are > blocking but are not blocked by the simultaneous outstanding async > operations. > > 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 Peter Bogdanoff via use-livecode > Sent: Sunday, September 30, 2018 9:04 PM > To: How to use LiveCode > Cc: Peter Bogdanoff > Subject: put URL blocking? > > Hi, a question? > > The statement: > put URL tURL into tData > > tURL, the URL to a text file, resides on a remote server. Is this command > blocking? Does LC wait for a response before moving on the the next line of > the script? > > I?m not clear at all about gets, puts, etc. -- what I need to do if there > is a delay in retrieving data, when I need that data in hand before > continuing in a script. > > Peter Bogdanoff > ArtsInteractive > _______________________________________________ > use-livecode mailing list > use-livecode 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