Re: Extra Title Bar in All Stacks
confirmed. Create new stack (leave it untitled) … I am getting a second "tab bar" under the *real* title bar of the new stack Create second new stack Hmmm, yes, fascinating, I can drag the title bar slowly onto the first stack and let go Now I have Untitled 2 # top of window untitled 1 * | Untitled 2 *# two tabs -- Nothing in the view menu relatedt to tabs. -- turn off resizeable in untitled 2 and the stack "jumps" out to a new window. OK, none of my stacks in this project need to be resizeable I can live with it, but a) why would it appear suddently and b) why doesn't it go away after delete settings? Is there another place where the engine is writing prefs or settings that we don't know about? It wasn't happening yesterday, in stacks that *were* resizeable. Something I did today triggered this new behavior. BR On 3/25/17, 3:45 PM, "use-livecode on behalf of Colin Holgate via use-livecode" wrote: It’s a standard Sierra feature that LiveCode doesn’t fully support yet. The View menu is supposed to have a Show Tab Bar menu item, which would hide the tab bar part of the window. The option is there sometimes, so if you’re lucky enough to see it you can deselect it. If the tab bar is showing you can drag one stack’s tab bar to another stack’s tab bar to dock them together. There should also be a + button in the tab bar too, which in LiveCode I suppose would start a new stack as a tab. Stacks that are docked together are effectively the same card size, so if LiveCode does do better support it should be possible to start a new stack as a tab, and at the card side of the existing stack, without you having to say what size stack you want. > On Mar 25, 2017, at 6:20 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > > Something bizarre started happening this afternoon > > Mac OSx 10.12.3 Sierra > LC 9DP5 > > Stack are opening with a second title bar underneath the *real* title bar. > > see http://wiki.hindu.org/uploads/extra-title-var.jpg > > I deleted my settings, removed all plug-ins, deleted settings again, rebooted… stack still appear with a second title bar. > > any clues to what is wrong? > > BR > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Extra Title Bar in All Stacks
It’s a standard Sierra feature that LiveCode doesn’t fully support yet. The View menu is supposed to have a Show Tab Bar menu item, which would hide the tab bar part of the window. The option is there sometimes, so if you’re lucky enough to see it you can deselect it. If the tab bar is showing you can drag one stack’s tab bar to another stack’s tab bar to dock them together. There should also be a + button in the tab bar too, which in LiveCode I suppose would start a new stack as a tab. Stacks that are docked together are effectively the same card size, so if LiveCode does do better support it should be possible to start a new stack as a tab, and at the card side of the existing stack, without you having to say what size stack you want. > On Mar 25, 2017, at 6:20 PM, Sannyasin Brahmanathaswami via use-livecode > wrote: > > Something bizarre started happening this afternoon > > Mac OSx 10.12.3 Sierra > LC 9DP5 > > Stack are opening with a second title bar underneath the *real* title bar. > > see http://wiki.hindu.org/uploads/extra-title-var.jpg > > I deleted my settings, removed all plug-ins, deleted settings again, > rebooted… stack still appear with a second title bar. > > any clues to what is wrong? > > BR > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Extra Title Bar in All Stacks
Further testing: This is only occurring on stacks with "resize" set to true.. if I uncheck that the second title bar disappears. My gut says it has something to do with the "decorations" property of stacks being corrupted. On 3/25/17, 3:20 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami via use-livecode" wrote: Something bizarre started happening this afternoon Mac OSx 10.12.3 Sierra LC 9DP5 Stack are opening with a second title bar underneath the *real* title bar. see http://wiki.hindu.org/uploads/extra-title-var.jpg I deleted my settings, removed all plug-ins, deleted settings again, rebooted… stack still appear with a second title bar. any clues to what is wrong? BR ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Line numbers for soft-wrapped styled text?
On 03/25/2017 04:00 PM, Alex Tweedly via use-livecode wrote: Never done it, but I had a quick play Hmmm... nice approach. And clever use of spacebelow. If you have a way of determining which line(s) are being changed, then you could run this only from that line onward to save some time No, I don't think that would work. First of all, you'd need to keep track of how many lines before the changed line were already wrapped, so that you could know what line number to start with. So you'd have to have already predetermined the relationships of the line starts to the line numbers and either stored that somewhere and keep updating the list; or work out the line starts each time. Secondly, you'll need to trap some events in a frontscript and handle things like inserting and deleting text, resizing the field/card, etc. -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Extra Title Bar in All Stacks
Something bizarre started happening this afternoon Mac OSx 10.12.3 Sierra LC 9DP5 Stack are opening with a second title bar underneath the *real* title bar. see http://wiki.hindu.org/uploads/extra-title-var.jpg I deleted my settings, removed all plug-ins, deleted settings again, rebooted… stack still appear with a second title bar. any clues to what is wrong? BR ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: iOS SDK Question
Hi James, Well I saw this in my account...but the license file and online activation won't work? So is this telling me I still have valid license for the following versions but the system won't allow me to install them? I have tried both the license file which ends up a zero bytes or automatic licensing where I repeatedly get an error message... === Copied Directly From My Account Page === You license allows you access to the following platforms: Mac valid from version 5.5.x to version 8.0.2 Windows valid from version 5.5.x to version 8.0.2 Linux valid from version 5.5.x to version 8.0.2 iOS valid from version 5.5.x to version 8.0.2 Android valid from version 5.5.x to version 8.0.2 Server valid from version 5.5.x to version 8.0.2 On Sat, Mar 25, 2017 at 8:41 PM, James Hale via use-livecode < use-livecode@lists.runrev.com> wrote: > The other way to be sure about your particular case is to visit your > account page on the LiveCode site. The login link is in the upper right of > the page. > > When I visit mine I see all my licenses and can tell from the version > pop-up associated with each one what is actually licensed. > > I have 4 > > From the oldest to the newest they go: > LiveCode Personal- the pop up shows 4.6.4 and the deployment tab indicates > it is for iOS > LiveCode Commercial - the pop up shows 5.5.5 and the deployment tab > indicates three platforms (Mac Windows and Linux) versions 4.5.x to 5.5.x > LiveCode Commercial - the pop up shows 8.1.3 down to 6.1.0 and the > deployment tab shows 7 platforms valid for all versions. This is a > perpetual license from the kickstarter. > LiveCode Business - the pop up shows 8.1.3 down to 6.1.0 and the > deployment tab shows 6 platforms valid as follows: valid for all versions > while your subscription remains active. > So, while I have a perpetual commercial license my business license needs > to be renewed annually. This means if I do not renew it I can no longer > use, maintain, develop or release using the business edition. > > If you examine what you have listed under your account page on the > LiveCode site you will be able to answer you questions. > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Line numbers for soft-wrapped styled text?
Sannyasin. I know. I offer it just because I saw right away when I read the OP's post how to harvest soft-wrapped lines, and just wanted to play with the idea. I find it just a bit ugly to be required to "pollute", as I said, the source field in order to "find" the hard wraps.. So, just lock the text and move on... Craig -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Line-numbers-for-soft-wrapped-styled-text-tp4713343p4713362.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: iOS SDK Question
The other way to be sure about your particular case is to visit your account page on the LiveCode site. The login link is in the upper right of the page. When I visit mine I see all my licenses and can tell from the version pop-up associated with each one what is actually licensed. I have 4 >From the oldest to the newest they go: LiveCode Personal- the pop up shows 4.6.4 and the deployment tab indicates it is for iOS LiveCode Commercial - the pop up shows 5.5.5 and the deployment tab indicates three platforms (Mac Windows and Linux) versions 4.5.x to 5.5.x LiveCode Commercial - the pop up shows 8.1.3 down to 6.1.0 and the deployment tab shows 7 platforms valid for all versions. This is a perpetual license from the kickstarter. LiveCode Business - the pop up shows 8.1.3 down to 6.1.0 and the deployment tab shows 6 platforms valid as follows: valid for all versions while your subscription remains active. So, while I have a perpetual commercial license my business license needs to be renewed annually. This means if I do not renew it I can no longer use, maintain, develop or release using the business edition. If you examine what you have listed under your account page on the LiveCode site you will be able to answer you questions. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
just some cool stuff
Dear, Do you want to take a look at the coolest things ever? Here is the link http://6url.ru/mdUU Warmest, LiveCode Developer List ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Libraries To Contribute
thanks, I was hoping it would be complete so I could just copy/paste it... On Sat, Mar 25, 2017 at 4:15 PM, Dr. Hawkins via use-livecode < use-livecode@lists.runrev.com> wrote: > On Sat, Mar 25, 2017 at 6:03 AM, Mike Kerner via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > Are you going to write the rest of the routine and make it > cross-platform, > > already? You're holding up a library contribution! > > > > switch thePlatform > > case win32 > > put someCopyCommand && tgt && dest into scmd > > break > > case iOS > > case Android > > --I don't know if scp is included in the unix environments for these. > > if not, code would be here for whatever they use > > break > > default > > --a real operating system > > put "scp -rp" && tgt && dst into scmd > > break > > end switch > > put shell(scmd) into theRes > > if it is not empty then > > panic > > end if > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Line numbers for soft-wrapped styled text?
Hi. That works for "simple" fields which may contain soft-wrapped lines - but it doesn't account for styled text (e.g. where different lines may be different font sizes (or even mixed sizes), or where paragraph spacing has been set, or all the complex kinds of text we can now do. but for situations where those complexities can be avoided, it is much simpler and faster :-) -- Alex. On 25/03/2017 23:40, dunbarx via use-livecode wrote: Hi. Make two small fields, both with lineWrap set to "false". Line up the two field horizontally. Put some wrapped text into vld 1. Put this in a button somewhere: on mouseUp lock screen put fld 1 into storage replace return with return & numToChar(208) in fld 1 put fld 1 into workingText put the formattedText of fld 1 into temp put 1 into line 1 of lineCounter put 1 into lineTracker repeat with y = 1 to the number of lines of temp if line y of temp contains numToChar(208) then add 1 to lineTracker put lineTracker into line y of lineCounter end if end repeat put storage into fld 1 put lineCounter into fld 2 end mouseUp I needed to pollute the source field in order to use the formattedText and identify the hard returns. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Line-numbers-for-soft-wrapped-styled-text-tp4713343p4713356.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Widget usage examples
Widget usage example #2: LC-ImageToolBox89_Basics http://forums.livecode.com/viewtopic.php?p=152723#p152723 You will be astonished how close the core of the javascripts is to the handling of imagedata in LCScript. There are a lot among you who will add and change effects without knowing javascript, simply by using an existing function as 'template' (and use a correct 'header' and 'footer' around it). Using LC 8.1.3/9.0.0-dp6 the stack runs (tested) well on Mac 10.12 and Win 7/10, depends also on your CPU/GPU combination. On Linux (Mint 181c) I got sadly the well-known "linux-something-dialogs". I hope that somebody has on linux more success and/or can help me to work around this bug of the browser widget. > Widget usage example #1: Ken-Burns-Effect > http://forums.livecode.com/viewtopic.php?p=152547#p152547 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Line numbers for soft-wrapped styled text?
Hi. Make two small fields, both with lineWrap set to "false". Line up the two field horizontally. Put some wrapped text into vld 1. Put this in a button somewhere: on mouseUp lock screen put fld 1 into storage replace return with return & numToChar(208) in fld 1 put fld 1 into workingText put the formattedText of fld 1 into temp put 1 into line 1 of lineCounter put 1 into lineTracker repeat with y = 1 to the number of lines of temp if line y of temp contains numToChar(208) then add 1 to lineTracker put lineTracker into line y of lineCounter end if end repeat put storage into fld 1 put lineCounter into fld 2 end mouseUp I needed to pollute the source field in order to use the formattedText and identify the hard returns. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Line-numbers-for-soft-wrapped-styled-text-tp4713343p4713356.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Colour Manipulation
Hi all. Today I implemented this as part of LCImageToolBox89: Basics. Get it _from LC 8/9_ via "Sample Stacks" of the LC-Toolbar or http://livecodeshare.runrev.com/stack/826/LC-ImageToolBox89%3A-Basics Uses Canvas2D (no webGL because of issues with some graphic cards) in a hidden browser widget. Your method gives nice Effects and works with a decent graphic card pretty fast. Needs here with LC 8/9 on a Mac mini 2.5 GHz/IntelHD4000 for a 1920x1080 image < 500 millisecs. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Line numbers for soft-wrapped styled text?
Nicely done, Alex - thanks! -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Line numbers for soft-wrapped styled text?
Never done it, but I had a quick play and found a way to do it - but whether it would count as "efficiently" or not is debatable :-( It does about 4 lines of text per millisecond on my elderly MacBook Pro (with LC 9.0.0 DP6) If you have a way of determining which line(s) are being changed, then you could run this only from that line onward to save some time Here's the code snippet I was playing with; it assumes field "F1" - the text field "f2" - the line numbers, these two fields should have matching base, height, etc. Basically, it runs through the original field finding the formatted height of each line. I can't find any way to get that except as the formattedHeight of an entire field, so it has to loop through each line in turn. The easy way to do that (simply adding each line) is painfully slow, so instead it loops through the lines, add each one in turn *as the second line*, so it get the height difference between that and a single line. [ hmmm - not very clear ! Feel free to ask me to explain myself better :-) ] and finally restores the original field "F1" Then it runs through the lines of field "F2" setting the 'spacebelow' of each line so that it matches the height of the styled & soft-wrapped line of the text field. Like I said - it works (at least for my simple testing), but it ain't superfast -- Alex. local sHeights on mouseUp pK local tA, tB local temp, t1, t2, t3, tt, tBase put the millisecs into t1 set the lockscreen to true set the textHeight of fld "f2" to 12 put the styledtext of fld "f1" into tA put empty into tB put empty into sHeights put 0 into sHeights[0] put tA[1] into tB[1] -- and make it single line put empty into tB[1]["runs"] put "abc" into tB[1]["runs"][1]["text"] -- and then get the differential height of one simple line put tB[1] into tB[2] set the styledText of fld "f1" to tB put the formattedHeight of fld "f1" into tBase repeat with i = 1 to the number of lines in the keys of tA put tA[i] into tB[2] set the styledText of fld "f1" to tB put the formattedHeight of fld "f1" into sHeights[i] -- put i && the number of lines in fld "f1" && sHeights[i] &CR after msg end repeat set the styledText of fld "f1" to tA put empty into fld "f2" repeat with i = 1 to the number of lines in fld "f1" put i &CR after tt end repeat set the text of fld "f2" to tt put the millisecs into t2 repeat with i = 1 to the number of lines in fld "f1" put sHeights[i] - tBase into temp if temp > 0 then set the spacebelow of line i of fld "f2" to temp end if end repeat put the millisecs into t3 set the lockscreen to false put t2 - t1 && t3 - t2 && t3 - t1 &CR after msg --put sLineNum && the formattedheight of fld "f2" && tR end mouseUp On 25/03/2017 15:36, Richard Gaskin via use-livecode wrote: I have an app that allows the user to write styled text, in which any portion of that text may have a variety of styles and sizes, and may be long enough to soft-wrap. I'd like to add a line-number field next to it, but I haven't come up with an efficient way of setting up those line numbers so that they align vertically with the lines next to them. Ideally the line numbers would reflect true lines, separated by CRs, as opposed to any soft-wrapped lines. What I'm after is common in many apps that support line numbers for style text, but alas I don't have a ready solution. Anyone here done this? Any tips you can share for doing this efficiently? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: D3 LiveCode Chart Examples
Do you mean to say "We do NOT even use pre-built UI cards any more" ?? Wow… that's amazing. And you are not seeing any performance issues? BR On 3/25/17, 10:41 AM, "use-livecode on behalf of Todd Fabacher via use-livecode" wrote: Sure Trevor. Thank you for being the inspiration for us to move almost 100% to script ONLY code. We will use .livecodescript. We do even use pre built UI card anymore. Everything is all dynamically built now. We have not moved to widgets just yet, but we hope soon. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: D3 LiveCode Chart Examples
Ditta what Trevor said. Our new app has both binary and livecodescript stacks. In the beginning I was "sloppy" and named some of the script only stacks (libraries, models, behaviors) with extension only ".livecode" in short order there is massive confusion a) about what can and cannot be opened in a text editor. b) about what can be diff'ed with the git compare tools and other "gotchas" "huh? How come that stack did not open? no window? Maybe it's off screen?" one in fact wonders why this was no enforce in the new model from the get go. It gets worse if you try to engage collaboration and the new person on the team has not been there on the ground floor. "Hmmm, should we maybe document which of these are binary and which are livecodescript files" So not only for your own LC team's sanity, but for the clarity of interface between Livecode and the rest of the languages world, Ditto what Trevor said. In fact, is there a case to be made to enforce this at the engine level? BR On 3/24/17, 1:00 PM, "use-livecode on behalf of Trevor DeVore via use-livecode" wrote: If everyone who posts files to GitHub differentiates binary stacks from script only stacks using the extension then it will be helpful going forward. As part of the submission process you have to send a search to them that shows how often the language extension is used. A search that doesn't show binary files would need to be submitted so the search would filter by .livecodescript. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Determining if orientation locked on Android?
I'm not sure about how to test for lock orientation, but there are a number of related but reports, most recently http://quality.livecode.com/show_bug.cgi?id=19465 Elanor has an interesting test stack there. I suspect it is the same bug. in my case I want the "game" like screens/stacks to *always* go landscape, But we are in a modular environment, the main navigations screens are locked to portrait and rendered as such. This is working on Android if you set the mobileSetAllowedOrientations to "portrait, portrait upsidedown" So you *could* take control yourself… But if you navigated from a portrait stack to a landscape stack using… Setting the mobileSetAllowedOrientations to "landscape left,landscape right" The stack is rendered left to right very small, and only re-renders full screen when the user turns their phone. Again, not exactly your issue/question, but smells like fish in the same barrel. BR On 3/25/17, 9:19 AM, "use-livecode on behalf of Richard Gaskin via use-livecode" wrote: On my Android phone I have orientation locked to Portrait, yet the LC app I'm building ignores this and rotates the with the device. I see that I can handle orientations internally, but I don't see how I can determine if the user has locked their device to one specific orientation. Any clues? -- ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: D3 LiveCode Chart Examples
Hello LiveCoders, This was our prototype for charting, but unfortunately we have become so consumed with projects that we can not focus on this right now. We also coded the D3.js scripts so that we could use it in React. Just an FYI, some of the projects we have been working on in LiveCode...Royalty Payment system for the largest music company in the world, a live video medial app that connects patient and doctor for the largest network in the world [with live bluetooth stats fed from medical devices], interactive & live video kiosk for 5000 retail outlets for the largest PC manufacturer. Plus connecting with WP to create a great solution in the Business LMS and Tourism Industries. The LMS and tourism app are mainly WordPress, but we are using our WP API in LiveCode to create incredible mobile solutions. We are also launching our our product this week: TriviaMatic [ www.TriviaMatic.com we are still working on the web site sorry] We were selected to be in the NEW and HOTEST product section in the Nightclub and Bar show. There are 36,000 people attending and this will be our first large App we did in LiveCode that should have over 500,000 users. The bars pay a monthly fee of $199 + $499 setup fee [or the suppliers pay so the can show Ads to promote their product], and the trivia also appears on a TV [controlled by Rasberry Pi - $499 is nice markup on the device]. We also did a full interactive digital restaurant menu in the App and on the TV. Our goal is 1000 bars in the first 2 years - you do the math :-) !! Our next market after the US/Canada is Brazil...then on to Europe. The big kicker for the LiveCode community is our online/offline datasync. Your apps will be able to keep 5000+ users all in sync with just 3 lines of LiveCode in your App, which we hope will be tested and finished this quarter. We are doing the server in Google's GoLang and can be dropped on a LC server with no server experience at all. This is already in the market and use in CAT manufacturing plants and our in the field where they are used. Thanks Monte for the barcode scanning external - it was a life saver last month!! We will also be releasing a D3 interactive World Map in your App. This is for the music company...and they LOVE our solution. We just need to test and debug before putting it out and get their OK. Credit goes to Gurgen and the LiveCode team @ DP - they are becoming very creative in pushing the boundaries and getting exceptional UI/UX our of LC on mobile. Hello Richard...Here is the D3.js copyright, so I assume I will go with what they do: https://github.com/d3/d3/blob/master/LICENSE Hi Mark..Gurgen, who you met at the LiveCode conference did the D3 code. I actually have not been involved much, so he should get the credit for his hard work. Sure Trevor. Thank you for being the inspiration for us to move almost 100% to script ONLY code. We will use .livecodescript. We do even use pre built UI card anymore. Everything is all dynamically built now. We have not moved to widgets just yet, but we hope soon. --Todd & the DP Team ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Libraries To Contribute
On Sat, Mar 25, 2017 at 6:03 AM, Mike Kerner via use-livecode < use-livecode@lists.runrev.com> wrote: > Are you going to write the rest of the routine and make it cross-platform, > already? You're holding up a library contribution! > switch thePlatform case win32 put someCopyCommand && tgt && dest into scmd break case iOS case Android --I don't know if scp is included in the unix environments for these. if not, code would be here for whatever they use break default --a real operating system put "scp -rp" && tgt && dst into scmd break end switch put shell(scmd) into theRes if it is not empty then panic end if -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Determining if orientation locked on Android?
On my Android phone I have orientation locked to Portrait, yet the LC app I'm building ignores this and rotates the with the device. I see that I can handle orientations internally, but I don't see how I can determine if the user has locked their device to one specific orientation. Any clues? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Unicode 0x1cf6 and so on
NOPE: this would seem to be a LiveCode-specific problem as I just entered those 3 characters (which are present in my Devawriter.ttf) font into a LibreOffice Writer document (Mac OS) without a backward glance. Bug 19471 Richmond. On 3/25/17 5:35 pm, Richmond Mathewson wrote: I have a "funny feeling" this is some problem with kerning rules for the characters 1CF5, 1CF6 and 1CF7 only. On 3/25/17 4:54 pm, Richmond Mathewson wrote: It seems impossible to do this: put numToCodepoint(0x1cf7) into fld "fff" (LC 8.1.3) all one gets is a horrible little square (which one should not): http://www.unicode.org/charts/PDF/Unicode-10.0/U100-1CD0.pdf if one does this sort of thing: put numToCodepoint(0x1cf7) & numToCodepoint(123) into fld "fff" one gets the desired char followed by the second one (in this case, curly bracket) trying this: put numToCodepoint(7415) into fld "fff" is no better. Is this: 1. a Richmond problem? 2. a LiveCode problem? 3. a Unicode problem? Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Line numbers for soft-wrapped styled text?
On 03/25/2017 08:36 AM, Richard Gaskin via use-livecode wrote: I have an app that allows the user to write styled text, in which any portion of that text may have a variety of styles and sizes, and may be long enough to soft-wrap. I'd like to add a line-number field next to it, but I haven't come up with an efficient way of setting up those line numbers so that they align vertically with the lines next to them. Ideally the line numbers would reflect true lines, separated by CRs, as opposed to any soft-wrapped lines. What I'm after is common in many apps that support line numbers for style text, but alas I don't have a ready solution. Anyone here done this? Any tips you can share for doing this efficiently? I looked into that for the glx2 script editor and gave up. Soft line wrapping by itself isn't a problem, and line numbering by itself isn't a problem, but there's no message generated that lets you know when wrapping is happening, and no indication in the text fields that a line has been wrapped. The only ugly solution I could think of was to iterate through each of the lines of text, comparing the line length and character width with the length of the field, and flagging an overflow as a wrapped line. And do this every time the field got resized and text added or deleted. If you're dealing with a field with mixed styles then your problems are even worse. -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: iOS SDK Question
Hi James, thanks for pointing this to me. I guess my earlier licenses that I had which do not fall into this category would be fine though the versions would be quite old. For example version 4.6 I should be able to do closed source apps still since the license that came with it at the time did not have this requirement. I am not certain about the last version I have installed on my old machine but I think it was in the 6 series and I bet if I boot up the machine the software should still work...it's the software that came after my license expired last year is what will need a new license for to build closed apps? Again, I should be getting an answer from Livecode support this coming week to clarify things. Glen On Sat, Mar 25, 2017 at 10:28 AM, James Hale via use-livecode < use-livecode@lists.runrev.com> wrote: > On the "pricing" page of the Livecode site, towards the bottom, there is > an FAQ. > The first question there is indeed what you are asking. > The answer given is: > "To build closed source apps you must have a valid current Indy, Business > or other commercial license. If you do not renew this license your access > to LiveCode will revert to the Open Source edition and you will no longer > be able to build closed source apps." > > Fairly clear. > > James > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Line numbers for soft-wrapped styled text?
I have an app that allows the user to write styled text, in which any portion of that text may have a variety of styles and sizes, and may be long enough to soft-wrap. I'd like to add a line-number field next to it, but I haven't come up with an efficient way of setting up those line numbers so that they align vertically with the lines next to them. Ideally the line numbers would reflect true lines, separated by CRs, as opposed to any soft-wrapped lines. What I'm after is common in many apps that support line numbers for style text, but alas I don't have a ready solution. Anyone here done this? Any tips you can share for doing this efficiently? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Unicode 0x1cf6 and so on
I have a "funny feeling" this is some problem with kerning rules for the characters 1CF5, 1CF6 and 1CF7 only. On 3/25/17 4:54 pm, Richmond Mathewson wrote: It seems impossible to do this: put numToCodepoint(0x1cf7) into fld "fff" (LC 8.1.3) all one gets is a horrible little square (which one should not): http://www.unicode.org/charts/PDF/Unicode-10.0/U100-1CD0.pdf if one does this sort of thing: put numToCodepoint(0x1cf7) & numToCodepoint(123) into fld "fff" one gets the desired char followed by the second one (in this case, curly bracket) trying this: put numToCodepoint(7415) into fld "fff" is no better. Is this: 1. a Richmond problem? 2. a LiveCode problem? 3. a Unicode problem? Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Unicode 0x1cf6 and so on
It seems impossible to do this: put numToCodepoint(0x1cf7) into fld "fff" (LC 8.1.3) all one gets is a horrible little square (which one should not): http://www.unicode.org/charts/PDF/Unicode-10.0/U100-1CD0.pdf if one does this sort of thing: put numToCodepoint(0x1cf7) & numToCodepoint(123) into fld "fff" one gets the desired char followed by the second one (in this case, curly bracket) trying this: put numToCodepoint(7415) into fld "fff" is no better. Is this: 1. a Richmond problem? 2. a LiveCode problem? 3. a Unicode problem? Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: iOS SDK Question
On the "pricing" page of the Livecode site, towards the bottom, there is an FAQ. The first question there is indeed what you are asking. The answer given is: "To build closed source apps you must have a valid current Indy, Business or other commercial license. If you do not renew this license your access to LiveCode will revert to the Open Source edition and you will no longer be able to build closed source apps." Fairly clear. James ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Libraries To Contribute
YO, HAWKINS! Are you going to write the rest of the routine and make it cross-platform, already? You're holding up a library contribution! On Sat, Mar 25, 2017 at 9:02 AM, Mike Kerner wrote: > Did I say "depo"? REPO > -- 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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Libraries To Contribute
Did I say "depo"? REPO ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Libraries To Contribute
Stuff we need to do for this project: 1) Decide on the structure when you hit git. I think that we should have the routines be separate depos because it will be easier for everyone to subproject what they want. 2) Extract and format the docs for each piece 3) Build the wiki for it that will reference each piece. Anything else? On Fri, Mar 24, 2017 at 9:21 PM, Mike Kerner wrote: > Very true - I wasn't thinking of links, and I didn't even think of trying > to do it with the command-line. I would like it to be cross-platform - at > least for desktops, but that's a good idea. I line to figure out the > platform, and then a shell command would get it done, now wouldn't it? > > On Fri, Mar 24, 2017 at 5:06 PM, Dr. Hawkins via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> On Thu, Mar 23, 2017 at 2:04 PM, Mike Kerner via use-livecode < >> use-livecode@lists.runrev.com> wrote: >> >> > I went looking, today, for a routine to recursively copy folders and >> files >> > from one place to another. I have several LC libraries, but none of >> them >> > seemed to have such a routine. All of those libraries are in stacks. >> > >> >> unless you're using ms windows (*hiss*), >> >> scp -rp some/folder/path target/parent/directory >> >> >> does the trick, and can be called by shell. >> >> For that matter, it's the only decent way I know to keep symlinks and the >> like intact withot "something weird" happening >> >> >> -- >> Dr. Richard E. Hawkins, Esq. >> (702) 508-8462 >> ___ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > 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." ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode