Re: open secure socket... using certificate

2021-01-26 Thread Brian Milby via use-livecode
ign, which is why I searched the >> archive. I just went to have a look at the code on Github and I can seen >> nothing to suggest that "using certificate and key" is implemented. >> >> The server and client certificate are working in a browser, so the proble

Re: open secure socket... using certificate

2021-01-26 Thread Brian Milby via use-livecode
Did you try with “and key tKey”... it does not look like that part is optional. Sent from my iPhone > On Jan 26, 2021, at 9:07 AM, Bernard Devlin via use-livecode > wrote: > > According to the Dictionary in LC 9.5.1 there is this command: > > open secure socket [from

Re: Comments for Properties in the Property Inspector?

2021-01-23 Thread Brian Milby via use-livecode
Could you either create a “comments” custom property set or a “comments” key? Sent from my iPhone > On Jan 23, 2021, at 8:05 AM, Paul Dupuis via use-livecode > wrote: > > Random Thought of the Day: > > Does anyone else wish that custom properties had an optional comment field > that could

Re: lock screen

2021-01-22 Thread Brian Milby via use-livecode
andler >>>>> >>>>> Code in our main LC app is large enough that there are instances where >>>>> the some code that calls the handler needs to lock the screen and other >>>>> code that call it does not, but the handler always wa

Re: lock screen

2021-01-22 Thread Brian Milby via use-livecode
I’m sure someone else can be more clear, but when the engine gets to an idle state then locks should be cleared. In your example, it would probably clear at the end of that mouseUp handler, but aTest would completely run with the screen locked. Sent from my iPhone > On Jan 22, 2021, at 3:57

Re: I Want to Print Out the Entire "mobile (ad,Control,Set,Get,Do"

2021-01-21 Thread Brian Milby via use-livecode
I think you will need to print the dictionary entries for mobileControlSet and mobileControlGet and mobileControlDo. Sent from my iPhone > On Jan 21, 2021, at 9:31 PM, Sannyasin Brahmanathaswami via use-livecode > wrote: > > It seems to be NOT in the guide. At least printable >

Re: How to find the offset of the first character in a string that's not a tab?

2021-01-21 Thread Brian Milby via use-livecode
unt the loops until char <> tab. :) > Best, > Keith > >> On 21 Jan 2021, at 14:03, Brian Milby via use-livecode >> wrote: >> >> You could also use matchChunk with a regular expression that excludes the >> tab character. >> >> Sent from my

Re: How to find the offset of the first character in a string that's not a tab?

2021-01-21 Thread Brian Milby via use-livecode
You could also use matchChunk with a regular expression that excludes the tab character. Sent from my iPhone > On Jan 21, 2021, at 7:14 AM, Keith Clarke via use-livecode > wrote: > > Ah yes indeed, I’d forgotten I could test with 'put not(tab)’ in the message > box - that certainly proves

Re: mobileControlCreate (set, do, etc)

2021-01-16 Thread Brian Milby via use-livecode
Another idea is to place a graphic where you want the object to be in the IDE so that you can “see” it and then use the rect of the grc to set the rect of the mobile control. I will echo building a smaller test stack. My mobileDemo stack doesn’t take anywhere near that long to build. Sent

Re: POST does not work under lock messages

2021-01-08 Thread Brian Milby via use-livecode
The docs don’t list all messages but do say that navigation and object creation messages are not sent. It gives a couple examples of each. This is in addition to get/set prop. Sent from my iPhone > On Jan 8, 2021, at 6:33 AM, Neville Smythe via use-livecode > wrote: > > It took me a

Re: move cursor to the end of a line in a field

2020-12-23 Thread Brian Milby via use-livecode
To improve on my initial suggestion... select after char -1 of field 1 Sent from my iPhone > On Dec 23, 2020, at 3:22 PM, matthias rebbe via use-livecode > wrote: > > Douglas, > > you can use > > select after line x of fld y > > for this. > For example to place the cursor after line 3

Re: move cursor to the end of a line in a field

2020-12-23 Thread Brian Milby via use-livecode
select char (the number of chars in field 1)+1 to -1 of field 1 Sent from my iPhone > On Dec 23, 2020, at 2:58 PM, Douglas A. Ruisaard via use-livecode > wrote: > > I need to position the cursor at the end of the contents of a single line > field. This can be "manually" done by pressing the

Re: export snapshot woverwrites variable?

2020-12-10 Thread Brian Milby via use-livecode
What about using (tObject)? Since tObject is a container itself, the export put the data in the container directly instead of the referenced container? Sent from my iPhone > On Dec 10, 2020, at 8:56 AM, Klaus major-k via use-livecode > wrote: > > Hi friends, > > just found a very strange

Re: Anyone using Lottie animations?

2020-12-09 Thread Brian Milby via use-livecode
Looks like Skia has support for rendering the format. That could provide a path for implementation inside of LC, but someone that knows a bit more about it would need to take a look to confirm. Sent from my iPhone > On Dec 9, 2020, at 7:57 AM, Graham Samuel via use-livecode > wrote: > > I

Re: Double Clicking on a Field

2020-12-04 Thread Brian Milby via use-livecode
Why do you need to use double tap? The code should distinguish between a scroll and a tap and react appropriately. The mobile scroller code in common use should facilitate this. If a double tap is really needed, then it would probably need to be included in that same behavior script. The

Re: Trying to use the Segmented Control

2020-11-28 Thread Brian Milby via use-livecode
The widget isn’t impacted by lock messages. I have used it in the past to switch cards and just checked for the current card to avoid the loop. That doesn’t sound like it would work here. You could use a script local flag though. Set sNoAction to true before changing the hilight; in your

Re: scrollbars of treeview widget

2020-11-26 Thread Brian Milby via use-livecode
Very easy to implement. I would suggest a setting for the width. I think the intent was to mimic the look of the mobile scroller which isn’t normally grabbed. Sent from my iPhone > On Nov 26, 2020, at 9:18 AM, Klaus major-k via use-livecode > wrote: > > Hi friends, > > FYI: > I just

Re: Livecode server UNIX version (not Linux).

2020-10-29 Thread Brian Milby via use-livecode
What is the workaround that you ended up using? I looked at the code once but it quickly went over my head. I couldn’t see where the fonts were pulled in, at least not where it could be cleanly intercepted. Sent from my iPhone > On Oct 28, 2020, at 11:57 PM, Richard Gaskin via use-livecode

Re: How to divide card with/in 3 vertical lines?

2020-10-28 Thread Brian Milby via use-livecode
Need to either use 1. or for exact (in this case) (cardWidth/4)*3 Sent from my iPhone > On Oct 28, 2020, at 4:16 PM, William de Smet via use-livecode > wrote: > > Hi Scott, > > Line 3 should be at loc 768,384 but is now at loc 770,384 (stack 1024x768). > This is because 'cardWidth/1.33'

Re: VPN and tsNet

2020-10-27 Thread Brian Milby via use-livecode
wrote: > > On 2020-10-27 01:05, Brian Milby via use-livecode wrote: >> I have a fairly simple stack that I use to get FedEx tracking data >> using tsNetPostSync. It has worked fine until a new VPN connection >> was added. The only change that I know is that it no long

VPN and tsNet

2020-10-26 Thread Brian Milby via use-livecode
I have a fairly simple stack that I use to get FedEx tracking data using tsNetPostSync. It has worked fine until a new VPN connection was added. The only change that I know is that it no longer allows a split tunnel so everything must go through the VPN. Assuming that is the issue, how do I

Re: The iOS "Files" folder

2020-10-15 Thread Brian Milby via use-livecode
l > apps access to local data. > > Just my two overpriced eurocents. > > Graham > [sorry if I sent this twice, but the first try seems to have got lost] > >> On 14 Oct 2020, at 16:24, Brian Milby via use-livecode >> wrote: >> >> Apple has already pr

Re: The iOS "Files" folder

2020-10-14 Thread Brian Milby via use-livecode
Apple has already provided a way forward for this. Their current best practice is for apps to store files in their Documents folder in iCloud. This provides seamless access between multiple devices and data security since it is not tied to the app remaining installed. I briefly looked at the

Re: Android Status Bar

2020-10-12 Thread Brian Milby via use-livecode
Hmmm... SivaSiva shows/hides the status bar. Checking the launcher app settings, it does have the status bar set to hidden. So based on that, just use the hidden option and show the status bar as required while inside the app. Sent from my iPad > On Oct 12, 2020, at 9:19 PM, scott--- via

Re: Slightly OT: downloading Xcode

2020-10-03 Thread Brian Milby via use-livecode
One of these download managers may be helpful: https://www.macheat.com/the-5-best-download-managers-for-mac/ Sent from my iPhone > On Oct 3, 2020, at 9:11 AM, Richmond via use-livecode > wrote: > > Well, your "just a typo" meant I downloaded 12.2 beta 2. So, now you'll just > have to wait

Re: Has anyone published an iPhone app that works on iOS 14?

2020-09-28 Thread Brian Milby via use-livecode
There are a few apps that I’ve worked on in the store that still work in iOS 14. Siva Siva is one that you can install and test. Sent from my iPhone > On Sep 28, 2020, at 4:45 AM, Graham Samuel via use-livecode > wrote: > > Sorry if this has been asked before, but a quick search of the

Re: Problem an Repeat Loop

2020-09-28 Thread Brian Milby via use-livecode
The long ID of the image will be different for each card, so this loop won’t work as expected. Also, do you really need to go to the card? You probably could build the object reference to include the card. So you would use: image “slideImage” of cd x fld “mainText” of cd x Sent from my

Re: Create image from SVG widget

2020-09-23 Thread Brian Milby via use-livecode
Sep 23, 2020, at 8:18 AM, Klaus major-k via use-livecode > wrote: > > Hi Brian, > >> Am 23.09.2020 um 14:12 schrieb Brian Milby via use-livecode >> : >> >> It doesn’t require an actual file, just an XML document. > > yes, I understood that al

Re: Create image from SVG widget

2020-09-23 Thread Brian Milby via use-livecode
e >> : >> Hi Brian, >>>> Am 22.09.2020 um 05:38 schrieb Brian Milby via use-livecode >>>> : >>> >>> Here's a link to the post in the archives: >>> http://lists.runrev.com/pipermail/use-livecode/2018-September/250326.html >>

Re: Create image from SVG widget

2020-09-21 Thread Brian Milby via use-livecode
runrev.com> wrote: > > > > Hi Brian > > > >> Am 21.09.2020 um 23:03 schrieb Brian Milby via use-livecode < > use-livecode@lists.runrev.com>: > >> > >> This may be what you're looking for: > >> > >> put drawingSvgCom

Re: Create image from SVG widget

2020-09-21 Thread Brian Milby via use-livecode
at it and see what I come up with. Sent from my iPhone > On Sep 21, 2020, at 5:08 PM, Klaus major-k via use-livecode > wrote: > > Hi Brian > >> Am 21.09.2020 um 23:03 schrieb Brian Milby via use-livecode >> : >> >> This may be what you're looking for:

Re: Create image from SVG widget

2020-09-21 Thread Brian Milby via use-livecode
This may be what you're looking for: put drawingSvgCompile(tFileText) into tDrawing set the text of image "svgImage" to tDrawing http://forums.livecode.com/viewtopic.php?f=10=30441#p163024 The stack in the forum post will let you see the difference in how a particular svg file is rendered in

Re: How Do You Get Filename / Image

2020-09-06 Thread Brian Milby via use-livecode
Looks like you need to specify a full path for the source and destination. on mouseUp local tImageName, tDestinationPath set the itemdelimiter to "/" put (item -1 of the filename of img 1 ) into tImageName put item 1 to -2 of the filename of this stack & "/" into tDestinationPath

Re: Looping though a numerically indexed array

2020-09-02 Thread Brian Milby via use-livecode
As long as the array is indexed starting at 1 with no gaps it should work by looping for each element. I just did a quick test to confirm. I built a 100 element array and it looped in order. I deleted 2 keys and then it didn’t. I then added those 2 missing keys back and it worked again.

Re: oAuth2 seems to log in successfully but the oAuth2 dialog/browser does not disappear, have to click cancel

2020-08-28 Thread Brian Milby via use-livecode
Looking at the RFC8252 Section 7.3, it is proper for the loopback network interface to use HTTP. Is it expecting PKCE (rfc7636)? Sent from my iPhone > On Aug 28, 2020, at 9:37 AM, Brian Milby wrote: > > The way the library works is that it sets up a listener on the IP/port. It > does not

Re: oAuth2 seems to log in successfully but the oAuth2 dialog/browser does not disappear, have to click cancel

2020-08-28 Thread Brian Milby via use-livecode
The way the library works is that it sets up a listener on the IP/port. It does not have any way to handle an encrypted (https) response/connection currently (and I’m not sure how that would even be implemented). The code that handles the response is what closes the browser window that was

Re: Basic question about behaviors

2020-08-24 Thread Brian Milby via use-livecode
Wouldn’t it just be “me”? And “this me” should be the behavior object. Sent from my iPhone > On Aug 24, 2020, at 11:19 PM, prothero--- via use-livecode > wrote: > > I have assigned a behavior to a button. The behavior button/source is on a > different stack. It works fine. But a click on a

Re: Layers in PBrowser

2020-08-14 Thread Brian Milby via use-livecode
Sean I really didn’t mean to imply the issue didn’t exist and was truly attempting to reproduce the environment as closely as possible to see the issue. I went as far as choosing the same object types and structure for the card as in the video including visibility. Is this a stack that

Re: ProtonMail vs Apple

2020-08-14 Thread Brian Milby via use-livecode
“I'm just a citizen, like billions of others, looking at the ever-more-accelerated concentration of wealth, power, and control into the hands of just five people, and wondering if this is really in everyone's best interests...“ Probably not. But anything considered must be done very carefully

Re: ProtonMail vs Apple

2020-08-14 Thread Brian Milby via use-livecode
"Microsoft can do what it likes with THEIR *platform*! if YOU _choose_ not to agree with their policies for use on THEIR platform, YOU can _choose_ to go elsewhere." Absolutely... on THEIR *XBox* platform. Microsoft leveraged anti-competitive practices to squeeze out competition on the

Re: Layers in PBrowser

2020-08-12 Thread Brian Milby via use-livecode
The reason I asked about version and OS is because I watched the video and attempted to replicate the behavior that was shown. I could not do so. I’ve now also tried on my Mac (9.6.0) and am unable to have it do what your video shows. I was always able to drag the control out of the

Re: Layers in PBrowser

2020-08-12 Thread Brian Milby via use-livecode
Which version of LC? I just did a brief test and it worked mostly as expected on 9.6/Win10. Only thing that I couldn’t do was move a button between 2 groups (it would drop into one). I had to move it above the group and then move the group. Sent from my iPhone > On Aug 12, 2020, at 2:45

Re: ProtonMail vs Apple

2020-08-07 Thread Brian Milby via use-livecode
tonmail and > others. If Apple decides iOS is not a place for your software, you're dead. > If Google decides you can't be on Play Store, you can still place your app > on other stores and ship them from your website yourself. > >> On Fri, 7 Aug 2020 at 19:28, Brian Milby via use-livecod

Re: ProtonMail vs Apple

2020-08-07 Thread Brian Milby via use-livecode
Not sure the question is relevant. You chose to buy the iHouse over the droidHouse for some reason. Maybe you wanted to live in the neighborhood with the lowest crime rate. Also, until Apple is forced to allow other companies to make compatible phones, I don’t see how the logic works.

Re: Help me understand infinity

2020-07-29 Thread Brian Milby via use-livecode
This change first appeared in 9.5 DP 1, so it isn’t really new. Sent from my iPad > On Jul 29, 2020, at 7:12 PM, Mark Wieder via use-livecode > wrote: > > On 7/29/20 3:17 PM, Ali Lloyd via use-livecode wrote: > >> Now you can do: >> local tMin, tThisResult >> put infinity into tMin >>

Re: Is "import snapshot" without parameters broken?

2020-07-24 Thread Brian Milby via use-livecode
In 10.15.6 you have to grant explicit permission for LiceCode to capture the screen. Just ran into that yesterday and LC seemed to freeze when I did something that triggered it (clicked the crosshair icon in Navigator). Not sure if it is related (my other computer is still 10.13, never ran

Re: This is what happens when a tech-master is asked to write a 'guide'!

2020-07-23 Thread Brian Milby via use-livecode
I wouldn’t expect anyone to need to use that guide. I’m not even sure how you would manually use hand coded LCB bytecode. It probably just needs to be moved to the end and have a note added indicating that is isn’t intended for general use. Sent from my iPhone > On Jul 23, 2020, at 4:18 PM,

Re: OAuth2 invalid_grant: Malformed auth code (Google Sheets API)

2020-07-09 Thread Brian Milby via use-livecode
ense. Thanks for spotting that Brian. >> On 9 Jul 2020, 14:15 +0100, Ben Rubinstein via use-livecode >> , wrote: >> Thanks Brian! >> >> I've patched my copy for now. What a PITA. >> >> Ben >> >>> On 09/07/2020 13:29, Brian Milby via use

Re: OAuth2 invalid_grant: Malformed auth code (Google Sheets API)

2020-07-09 Thread Brian Milby via use-livecode
Check out bug 22557 / PR 7381. Line 247 of oath2.livecodescript need urlEncode removed Sent from my iPad > On Jul 9, 2020, at 7:33 AM, Ben Rubinstein via use-livecode > wrote: > > I had code that did stuff with Google sheets, it worked fine, I haven't used > it for about nine (?) months.

Re: AR in LiveCode Browser?

2020-06-30 Thread Brian Milby via use-livecode
AR QuickLook is probably what is needed on iOS. Introduced at WWDC 2018. I would imagine that it could be done with a widget. Not sure for Android. Sent from my iPhone > On Jun 30, 2020, at 1:10 PM, Dan Friedman via use-livecode > wrote: > > Ikea's app does this. Many other apps also

Re: iOS Browser Widget and javascriptHandlers Update

2020-06-29 Thread Brian Milby via use-livecode
Did you file a bug report? I would not expect it to work like that. Sent from my iPhone > On Jun 29, 2020, at 6:15 PM, Ralph DiMola via use-livecode > wrote: > > Just a warning. I fixed this by deleting and recreating the Browser Widget. > The Widget was created in v9.5.1 and apparently was

Linux OAuth2 (was Browser Widget on Linux: how can it become possible to use?)

2020-06-19 Thread Brian Milby via use-livecode
I think it should be relatively easy to fix the OAuth2 library such that it works on Linux. Currently it does use the browser widget for a better user experience, but it should be able to launch the URL and use the system's default browser. Is there any interest in a PR for that type of fix for

Re: Yet more iOS deployment heartache - finding Xcode SDKs

2020-06-16 Thread Brian Milby via use-livecode
You just point to the Xcode binary.  You don’t navigate to the actual SDK located within. Thanks, Brian On Jun 16, 2020, 5:41 PM -0400, Graham Samuel via use-livecode , wrote: > Oh Heck - Xcode is so huge that it is quite a proposition to download yet > another copy here in the countryside. Oh

Re: Moving object out of a group

2020-06-15 Thread Brian Milby via use-livecode
If the group is expanded in the Project Browser, then it lands inside the group.  If the group is collapsed/closed then it will move between groups. Thanks, Brian On Jun 15, 2020, 2:49 PM -0400, Alex Tweedly via use-livecode , wrote: > two possible, but not great, answers ... but (something

Re: What have I done now ? (aka CR and LF confusion)

2020-05-28 Thread Brian Milby via use-livecode
Just changes CR to LF. 2 files updated. https://github.com/livecode/livecode/pull/7214/files On Thu, May 28, 2020 at 12:10 PM Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > Alex Tweedly wrote: > > > Re. a PR to change it, it does seem it will run into concerns about

Re: What have I done now ? (aka CR and LF confusion)

2020-05-28 Thread Brian Milby via use-livecode
to get the sane behaviour > > but continue to do > >put tData into URL "file:tiny.txt" to get the existing behaviour > > To me, it feels like a better self-documenting case - binfile vs > textfile, rather than binfile vs file. > > Alex. > > > On

Re: What have I done now ? (aka CR and LF confusion)

2020-05-27 Thread Brian Milby via use-livecode
You need to use binfile on Mac to get sane line endings.  I have a PR to fix, but doubt it will get merged. On Mac/Windows, file will convert line endings to what LC thinks is the native one for the OS.  CRLF for Windows and CR for Mac (the real CR, not the one that LC uses internally where CR

Re: [ANN] Release 9.6.0 RC-1

2020-05-11 Thread Brian Milby via use-livecode
Here are the 2 options: 1. Install Xcode from the Apple App Store when the latest Xcode and latest LiveCode versions are compatible. Disable automatic updates. Whenever Apple updates Xcode, update only if compatible with the current version of LiveCode that you are using. 2. Download and

Re: Group resizing.

2020-05-03 Thread Brian Milby via use-livecode
Do you have the group size/position locked (lockLocation property)? If not, moving a control could change the rect. Thanks, Brian On May 3, 2020, 10:28 AM -0400, Håkan Liljegren via use-livecode , wrote: > You probably need to lock messages in the beginning of your resizeControl. > Otherwise

Re: Three very simple questions

2020-04-28 Thread Brian Milby via use-livecode
Correct about the guide.  A PDF is included which can be searched (help... user guide).  There is a bug about the guide search.  It is probably going to take JavaScript though. Thanks, Brian On Apr 28, 2020, 3:44 PM -0400, Graham Samuel via use-livecode , wrote: > Bill, I think you’re right

Re: Another widget grumble

2020-04-28 Thread Brian Milby via use-livecode
wrote: > > On 28/04/2020 13:38, Brian Milby via use-livecode wrote: > > For any that are part of the main product, a PR to add that feature > would not be very difficult. If I get some time I will take a look. I do > agree that a distinct label would be a good idea for native control

Re: Mobile screen sizes - another naive question

2020-04-28 Thread Brian Milby via use-livecode
On the MobileDemo stack, there are a couple scripts that would be useful. https://github.com/bwmilby/mobileDemo/tree/master/mobileDemo_Scripts stack_MobileDemo_button_id_1024 stack_MobileDemo_card_id_1002 The button script is a behavior applied to 2 groups on the card. There are 6 buttons that

Re: Another widget grumble

2020-04-28 Thread Brian Milby via use-livecode
For any that are part of the main product, a PR to add that feature would not be very difficult.  If I get some time I will take a look.  I do agree that a distinct label would be a good idea for native control widgets. Thanks, Brian On Apr 28, 2020, 8:23 AM -0400, Graham Samuel via

Re: Which git service suits a LiveCoder best?

2020-04-27 Thread Brian Milby via use-livecode
ScriptTracker isn’t necessarily incompatible with Levure, but if using that framework as intended then all of the scripts would be in script only stacks as behaviors which would make it unnecessary. I have thought about setting up a hybrid project as a test but never have gotten around to

Re: What is a real?

2020-04-25 Thread Brian Milby via use-livecode
In your initial example, they are all strings.  1.1+0 would be strictly a real.  What is troubling is that I’m seeing that 1+200 is not strictly an integer yet the docs say it should be. Thanks, Brian On Apr 25, 2020, 12:06 PM -0400, Mark Wieder via use-livecode , wrote: > On 4/25/20 7:40 AM,

Re: Groups placed on cards

2020-04-24 Thread Brian Milby via use-livecode
Is the group getting a new object ID?  With the place command it should not and you only really have one group.  It will appear on each card that it is placed on.  You do not need to select background behavior, you just need to make the group shared. Thanks, Brian On Apr 24, 2020, 4:01 PM

Re: Which git service suits a LiveCoder best?

2020-04-23 Thread Brian Milby via use-livecode
New dedicated repo is located at: https://github.com/bwmilby/scriptTracker Thanks, Brian On Apr 24, 2020, 12:02 AM -0400, Mark Wieder via use-livecode , wrote: > On 4/23/20 6:58 PM, Brian Milby via use-livecode wrote: > > My scriptTracker plugin is an easy way to get the scripts ou

Re: Which git service suits a LiveCoder best?

2020-04-23 Thread Brian Milby via use-livecode
My scriptTracker plugin is an easy way to get the scripts out as text files for use with git (binary stack stays the same, plugin can automatically export scripts on every save of the stack) Thanks, Brian On Apr 23, 2020, 9:20 PM -0400, doc hawk via use-livecode , wrote: > Andreas announced, >

Re: Which git service suits a LiveCoder best?

2020-04-22 Thread Brian Milby via use-livecode
All of my LC stuff is on GitHub (bwmilby).  I’m primarily Mac and use Atlassian’s Sourcetree to interact with my repositories.  I use my own ScriptTracker tool to export the scripts of stacks so I can track the changes. Thanks, Brian On Apr 22, 2020, 4:46 AM -0400, Andreas Bergendal via

RE: Issues with Mobile Native controls

2020-04-21 Thread Brian Milby via use-livecode
I’m pretty sure the answer is no.  It does not work on the included widgets. Thanks, Brian On Apr 21, 2020, 6:38 PM -0400, Ralph DiMola via use-livecode , wrote: > Does "lock messages" help here? I don’t know if it works for widgets? If so > you could do this: > > Lock messages > set the

Re: What makes everything on a card unresponsive?

2020-04-20 Thread Brian Milby via use-livecode
Look into the log command.  When you disable that, there is no performance impact and you don’t need to remove all of the individual calls. Thanks, Brian On Apr 20, 2020, 5:04 PM -0400, scott--- via use-livecode , wrote: > (requires the LC Business version) > > > On Apr 20, 2020, at 11:25 AM,

Re: Issues with Mobile Native controls

2020-04-20 Thread Brian Milby via use-livecode
Icons can be updated to anything you want. See this thread about the SVG Icon Tool that I developed. The package on my website has a large number of icons included that you can browse and combine into your own Icon Family. http://forums.livecode.com/viewtopic.php?f=10=30411 Once you change the

Re: md5Digest gives different results Mac vs Windows LC 9.5.1

2020-04-19 Thread Brian Milby via use-livecode
Try this: put 0 into x;put binaryDecode("h32",the md5digest of "LiveCode",x);put x You will get the same on both platforms. On Sun, Apr 19, 2020 at 5:13 PM Bill Vlahos via use-livecode < use-livecode@lists.runrev.com> wrote: > Well earlier versions of LiveCode gave the same results on Mac and

Re: Error in evaluatejavascript with widget browser only on iOS and Livecode > 9.06

2020-04-17 Thread Brian Milby via use-livecode
Have you tried without the wait? Thanks, Brian On Apr 17, 2020, 2:06 AM -0400, Ludovic THEBAULT via use-livecode , wrote: > Hello, > > > I’ve a strange error : > > I have an application where you can change the GPS coordinates from a marker > on a map, in a browser widget. > For this I use the

Re: Even Distribution

2020-04-16 Thread Brian Milby via use-livecode
It was already mentioned somewhat, but you need some sort of weight metric for each job.  Save the “smallest” job.  For each driver, assign the largest and smallest job remaining.  When done, add the weight for each driver and give the remaining job to the one with the least work. Thanks,

Re: Making an iOS app look like one

2020-04-16 Thread Brian Milby via use-livecode
, wrote: > On 4/16/20 2:00 PM, Brian Milby via use-livecode wrote: > > The ability to create additional SVG Icon Libraries is something that I > > helped get done a while back. Here's a thread with a stack that I > > developed that helps organize libraries: > > I sh

Re: Making an iOS app look like one

2020-04-16 Thread Brian Milby via use-livecode
The ability to create additional SVG Icon Libraries is something that I helped get done a while back. Here's a thread with a stack that I developed that helps organize libraries: http://forums.livecode.com/viewtopic.php?f=10=30411 I need to take another look at it now that we have the ability

Re: Keyhole effect?

2020-04-14 Thread Brian Milby via use-livecode
We had a discussion in 2018 about using a hex shaped grc to split up an image (started by Richmond). The key line there was: set the backPattern of grc "hex" to the ID of img "box" Since attachments and stacks were involved, I'm pretty sure it took place on the forums. I'm not sure if this

Re: Go to card has become slow

2020-04-11 Thread Brian Milby via use-livecode
I did 3 additional tests this morning and believe that the issue lies somewhere in the de/encoding of text or the way that text is streamed to the file. My additional tests were using a non-shared text field (due to the way the text of a shared field is stored in memory, was wondering if that was

Re: Old Fossil seeks fast track assistance

2020-04-11 Thread Brian Milby via use-livecode
Should be able to relicense the IDE.  If it keeps using the wrong one, generate a key for the correct one on the web site and use that to license the product. Thanks, Brian On Apr 11, 2020, 8:29 AM -0400, Graham Samuel via use-livecode , wrote: > Jaque thanks - this has not solved it yet, but

Re: Go to card has become slow

2020-04-10 Thread Brian Milby via use-livecode
I just ran another set of tests with a much smaller image. Text: 5.85s / 0.032s / 8.183708MB Image: 0.211s / 0.034s / 9.29539MB One other thing to try tomorrow is to use an individual text field on each card instead of a shared group. I tried to download the update, but still got the original

Re: Mobile screen sizes - another naive question

2020-04-10 Thread Brian Milby via use-livecode
> On 4/10/20 1:20 PM, Brian Milby via use-livecode wrote: > > showAll is the same as letterBox but the borders are the stack background > > instead of black. > > > > Thanks, > > Brian > > On Apr 10, 2020, 2:15 PM -0400, Richard Gaskin via use-livecode >

Re: Mobile screen sizes - another naive question

2020-04-10 Thread Brian Milby via use-livecode
showAll is the same as letterBox but the borders are the stack background instead of black. Thanks, Brian On Apr 10, 2020, 2:15 PM -0400, Richard Gaskin via use-livecode , wrote: > Good catch. It would be great if the Lessons were in Github so they > could be enhanced by the community. I guess

Re: Go to card has become slow

2020-04-10 Thread Brian Milby via use-livecode
I'm going to be that guy who replies to himself... I just imported a 500kb image to the card, removed the text from the field, created 300 cards. 0.756 seconds normal (171MB). 1.124 from a variable. (image instead of text) 8.311 seconds normal (8.2MB). 0.047 from a variable. (original text)

Re: Go to card has become slow

2020-04-10 Thread Brian Milby via use-livecode
That's a good question. It has been over a year since I looked at that code, but I can't think of anything in the serialization piece that would be an issue. That code is all common (writing to a file buffer). I did not look at the actual platform file code though - could be something there.

Re: Mobile screen sizes - another naive question

2020-04-10 Thread Brian Milby via use-livecode
Take a look at my mobileDemo repo: https://github.com/bwmilby/mobileDemo It lets you play around with showing how a stack developed at different sizes looks when presented on a device using the different FullScreenModes. I have not updated it for the new iPhoneX aspect ratios, but probably

Re: Another Apple iOS Deadline

2020-04-09 Thread Brian Milby via use-livecode
This is for parity... if you allow Facebook or Google federated authentication then you need to add Apple as an option. Thanks, Brian On Apr 9, 2020, 2:10 PM -0400, J. Landman Gay via use-livecode , wrote: > On 4/9/20 11:52 AM, matthias rebbe via use-livecode wrote: > > But fortunately the

Re: HilitedItem of a navbar

2020-04-08 Thread Brian Milby via use-livecode
thought people were ignoring me because that wouldn't > > work. > > > > Bob S > > > > > > > On Apr 8, 2020, at 15:54 , Brian Milby via use-livecode > > > wrote: > > > > > > Use empty instead of 0 and it should work. > > >

Re: HilitedItem of a navbar

2020-04-08 Thread Brian Milby via use-livecode
Use empty instead of 0 and it should work. Thanks, Brian On Apr 8, 2020, 5:38 PM -0400, J. Landman Gay via use-livecode , wrote: > On 4/7/20 12:43 PM, Brian Milby via use-livecode wrote: > > The PR is now merged into develop and will be in the next DP.  It only adds > > the opti

Re: Go to card has become slow

2020-04-08 Thread Brian Milby via use-livecode
On my Win10 Dell (i5): 6.154 to 6.806 without shift 0.036 to 0.15 with shift This is measuring a difference in doing a bulk 8MB write with a streamed write of the stack to the file piece by piece. Internally, each object is serialized and written to the file buffer in turn. So the question

RE: HilitedItem of a navbar

2020-04-07 Thread Brian Milby via use-livecode
The PR is now merged into develop and will be in the next DP.  It only adds the option of selecting nothing but does not make it the default.  We could now work up a PR for the other piece, but I’m not sure about how that one works without downloading and testing (sounds like an option to hide

Re: HilitedItem of a navbar

2020-04-04 Thread Brian Milby via use-livecode
I have a PR that supports this (setting 0 will highlight nothing): https://github.com/livecode/livecode/pull/6404 It is vulcan reviewed, but not merged. A push may get it into the next DP. Thanks, Brian On Sat, Apr 4, 2020 at 3:31 PM J. Landman Gay via use-livecode <

Re: Ordering text

2020-03-29 Thread Brian Milby via use-livecode
Is there a key that you can use to sort?  May be faster to build it and then use the sort command at the end. Thanks, Brian On Mar 29, 2020, 7:16 AM -0400, Tore Nilsen via use-livecode , wrote: > I believe the reason for the delay comes from the fact that when sorted > descending, you put tRec

LiveCode linting in Atom

2020-03-28 Thread Brian Milby via use-livecode
Recently I have been allowed the opportunity to maintain the LiveCode language support for Atom. I had merged in a number of fixes and changes several months ago but didn't hit the right button to publish them. I finally figured out the missing step and v0.7.0 is now live. The biggest change is

Re: DataGrid question...

2020-03-26 Thread Brian Milby via use-livecode
Probably would need to use drawingSvgCompile instead of a widget.  Then you could turn an SVG drawing into an image. Thanks, Brian On Mar 26, 2020, 5:37 PM -0400, Mark Wieder via use-livecode , wrote: > On 3/24/20 9:17 PM, Pi Digital via use-livecode wrote: > > Oh. Cool. I did not know you

Re: IMAP Search skipping results

2020-03-23 Thread Brian Milby via use-livecode
Does ‘STATUS INBOX (UNSEEN)’ give the proper count reliably?  (Would actually need to use MESSAGES though to page through the whole inbox, but you could stop paging once all we’re found.) If so, ranges are just specified with a : so you could use the sequence numbers to get the UIDs (1:100 then

Re: DiffPatch question

2020-02-17 Thread Brian Milby via use-livecode
If you want to efficiently store all changes to a file.  This is what Git does. The other advantage is that user C could also perform an edit to A.  You could apply the AC diff on top of B to get a combined update.  (Also what Git does) Thanks, Brian On Feb 17, 2020, 2:58 PM -0500, Richard

Re: LC9.6dp2 and the property inspector

2020-02-09 Thread Brian Milby via use-livecode
Just need to grab the tree view lcb file and build.  Replace the files in the dist for everything to work properly.  I can link to a zip file if needed with the files.  I use dp2 for everything currently. Thanks, Brian On Feb 9, 2020, 12:22 PM -0500, Mark Wieder via use-livecode , wrote: > On

Re: LC Server: shebang breaks tags?

2020-02-07 Thread Brian Milby via use-livecode
Can’t answer regarding the design decision, but here is the pertinent line: One recent feature that was introduced in LiveCode 6.6 was the ability to use hashbangs (#! /path/to/livecode) in LiveCode server scripts instead of script open and close tags (). Of note is the “instead of” statement

Re: Diff?

2020-02-01 Thread Brian Milby via use-livecode
I use this in ScriptTracker to get the changes when saving a stack.  I squash them together into a consolidated diff for the stack.  I have not done anything with the patch side though. Thanks, Brian On Feb 1, 2020, 6:02 AM -0500, Niggemann, Bernd via use-livecode , wrote: > Richard, > >

  1   2   3   4   5   6   7   8   >