Re: uh oh. Have to reactivate every LC and the activation server is down?

2018-02-05 Thread Brian Milby via use-livecode
Before I’ve heard that you can disconnect internet to launch. Once running, you can turn the internet connection back on. On Mon, Feb 5, 2018 at 5:02 PM Mike Kerner via use-livecode < use-livecode@lists.runrev.com> wrote: > Something bad happened. I can't seem to get any copy of LC of any version

Re: uh oh. Have to reactivate every LC and the activation server is down?

2018-02-05 Thread Brian Milby via use-livecode
- > mixstream.org > > On Mon, Feb 5, 2018 at 3:08 PM, Mike Kerner via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > well that worked > > > > On Mon, Feb 5, 2018 at 6:04 PM, Brian Milby via use-livecode < > > use-livecode@lists.runrev.com

Pro Git 2, Scott Chacon, Ben Straub, eBook - Amazon.com

2018-02-07 Thread Brian Milby via use-livecode
Saw this book free for Amazon Kindle. Not sure how long it will be free though. https://www.amazon.com/Pro-Git-Scott-Chacon-ebook/dp/B01ISNIKES Sent from my iPhone ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to su

Re: how to format text for copy-pasting as a spreadsheet table

2018-02-08 Thread Brian Milby via use-livecode
I have code that can bypass step 1 (8.1.9 probably can too since I think that bug fix is in there). If you are talking about getting an actual table, then it is possible but may require some code to pull off. I would need to do some testing to figure out what is on the clipboard after the spreadsh

Re: how to format text for copy-pasting as a spreadsheet table

2018-02-08 Thread Brian Milby via use-livecode
See my code here: https://github.com/bwmilby/lc-misc/blob/master/ClipboardHelper/clipboardhelper.livecodescript "updateClipboardHtmlText" will take the HTMLText on the clipboard (which gives the extra lines) and replace the tags so it doesn't do that. I'm not sure if this will do what you want tho

Re: how to format text for copy-pasting as a spreadsheet table

2018-02-08 Thread Brian Milby via use-livecode
Correct that my code just enables a paste into a non-plain text app without extra lines (but colors and other formatting is retained). Once the plain text bug fix code is released, an intermediate step will not be needed to clean formatting as long as plain text is what was placed on the clipboard

Re: iOS app Error ITMS-90529 submitting to app store via Application Loader

2018-02-09 Thread Brian Milby via use-livecode
Try with 8.1.9 - I think that is a bug that was fixed. On Fri, Feb 9, 2018 at 3:00 PM Ralph DiMola via use-livecode < use-livecode@lists.runrev.com> wrote: > Here's a new one I never received before. Using 8.1.9 rc2. I made the app > using the distribution profile and zipped it up as usual. > Xcod

Re: Use of Serialize Behavior in Script Only Stack

2018-02-12 Thread Brian Milby via use-livecode
I think the meaning is that it references a stack and not an arbitrary object (like a button). It will probably be another script only stack though. On Mon, Feb 12, 2018 at 12:44 PM Sannyasin Brahmanathaswami via use-livecode wrote: > Can some else elucidate this: > > " This patch adds a 'with be

Re: Link for the icon offer.

2018-02-12 Thread Brian Milby via use-livecode
The license page on the site seems confusing. If making a product that will be sold to multiple people, you seem to be fine. That makes contract work ambiguous. I’ve sent them an inquiry for clarification, but who knows if I will see anything back before the offer expires. (Current price for a sing

Re: Did numberFormat Break?

2018-02-15 Thread Brian Milby via use-livecode
Internally the type of “0” will be text initially which is probably why the number format isn’t applied. Any math will convert it to a number. This is something that should be addressed once we have optional type declaration for variables. On Thu, Feb 15, 2018 at 12:28 PM J. Landman Gay via use-liv

libsodium on LiveCode?

2018-02-17 Thread Brian Milby via use-livecode
I found a thread from a year ago that mentions libsodium: http://runtime-revolution.278305.n4.nabble.com/SHA1-cracked-What-are-the-chances-this-will-be-addressed-in-LC-td4712554i20.html I was wondering if anyone had taken a look at what it would take to build something usable within LiveCode? My

Re: libsodium on LiveCode?

2018-02-18 Thread Brian Milby via use-livecode
#define values). On Sun, Feb 18, 2018 at 11:02 AM Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On 02/17/2018 10:53 AM, Brian Milby via use-livecode wrote: > > I found a thread from a year ago that mentions libsodium: > > > http://runtime-revolution.2

Re: libsodium on LiveCode?

2018-02-19 Thread Brian Milby via use-livecode
Made my first attempt to just initialize the library and something is not working: Message execution error: Error description: LCB Error in file C:/Users/milby/Dropbox/LiveCode/Downloads/lcSodium/sodium.lcb at line 34: unable to load foreign library Hint: runtime Here's all that the LCB does: pr

Re: libsodium on LiveCode?

2018-02-19 Thread Brian Milby via use-livecode
I was finally able to get the init to return a 0 or 1 (success or already initialized). I switched to `code\x86-win` - not sure if that had any effect based on the other major change I made... Turns out I was using the wrong version of the dll. If anyone else wants to try, here's the path that

Re: libsodium on LiveCode?

2018-02-20 Thread Brian Milby via use-livecode
Monte, you are awesome! With your help I was able to generate a key pair using libSodium. That means that we are one huge step closer to asymmetric key generation and use within LC. For each tool chain they provided a static and dynamic directory. The static just contained a .lib file. The dynami

Re: libsodium on LiveCode?

2018-02-20 Thread Brian Milby via use-livecode
Had not seen the tsNet handler, but that is an RSA key. Scuttlebutt uses a different key type. There are other useful things in the library. There is some overlap, but enough different to make it worthy of an effort. I’ll need to take a look at the MS links. Hopefully the rest of today and tomorr

Re: libsodium on LiveCode?

2018-02-21 Thread Brian Milby via use-livecode
t type of key do you need to generate? > > > On 21 Feb 2018, at 2:50 pm, Brian Milby via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > Had not seen the tsNet handler, but that is an RSA key. Scuttlebutt uses > a > > different key type. There ar

Password Checker

2018-02-22 Thread Brian Milby via use-livecode
Read this interesting article about a half billion PW database of compromised passwords that I thought I'd share: *https://www.troyhunt.com/ive-just-launched-pwned-passwords-version-2/ * *on* mouseUp *local* tSHAData, tSHAH

Re: Password Checker

2018-02-23 Thread Brian Milby via use-livecode
That is built in for LC9. You can use sha1digest though. On Fri, Feb 23, 2018 at 7:52 AM Roger Eller via use-livecode < use-livecode@lists.runrev.com> wrote: > There seems to be a missing handler, "messageDigest". > > ~Roger > > > On Thu, Feb 22, 2018 at 11:5

Re: widget properties

2018-02-24 Thread Brian Milby via use-livecode
Doe this get what you want: export widget to array arrayVar On Sat, Feb 24, 2018 at 10:01 AM Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > When we query the properties of any object, we get an array that lets us > understand and even reproduce that object easily. > > Ex

Re: widget properties

2018-02-24 Thread Brian Milby via use-livecode
I meant “does” To get what you want (if different than above) would require something defined within each widget to export the desired internal information. One other thing that could be done is to extend the export to include everything that the engine knows about the widget (i.e. add the properti

Re: widget properties

2018-02-24 Thread Brian Milby via use-livecode
> > Brian M. wrote: > > One other thing that could be done is to extend the export to include > > everything that the engine knows about the widget (i.e. add the > > properties array to it). > > The widget author can already do that by defining a list of persistent > properties. Why should the engi

Re: widget properties

2018-02-24 Thread Brian Milby via use-livecode
Now I’m really confused: put the properties of widget id 1004 into tA Results in an empty tA. If I put something into tA[“rect”] and then set the properties to tA then it does move to that rect. Is that just my 2 computers (Mac and Win10)? I checked 9DP11 and 8.1.7 (will get the latest 8 now thou

Re: widget properties

2018-02-24 Thread Brian Milby via use-livecode
@Ali... I’ve been mulling over the very idea of extending the export mechanism. What I would propose is to add an $object key that would contain the engine related things required to recreate the widget. The same could be done for any LC object (using $kind to identify the classic control/object ty

Re: widget properties

2018-02-25 Thread Brian Milby via use-livecode
My 0.02 is that export should mirror what the engine saves to the stack file such that import could exactly recreate an object (with some logic on how to handle ID collisions - overwrite, throw error, assign new ID...) On Sun, Feb 25, 2018 at 9:21 PM Monte Goulding via use-livecode < use-livecode@l

Re: widget properties

2018-02-25 Thread Brian Milby via use-livecode
Exactly... that would be the overwrite option I was thinking about. import object from array tMyArray [with OverwriteID] import object from array tMyArray [with AutoID] If neither option specified and the ID exists, an error would be thrown. On Sun, Feb 25, 2018 at 9:52 PM Monte Goulding via use-

Re: widget properties

2018-02-25 Thread Brian Milby via use-livecode
I’m not sure I follow. The proposal I’m making is no different than what the engine does today, just allowing the same information to be saved to an array. The internal state of the widget is the same as what would be used on export/import. It just adds the other properties (rect, ...) to the ar

Re: widget properties

2018-02-25 Thread Brian Milby via use-livecode
Looking at the source, when a stack is saved, here is the general flow for an individual widget (widget.cpp): OnSave called to get internal widget state (array) Write uint1 OT_WIDGET to indicate a widget Save the object state Save the widget kind Save the internal widget state Save the property se

Re: Background color in an 'answer' dialog?

2018-02-28 Thread Brian Milby via use-livecode
Richard, That is super helpful. I’ve had Devolution loaded for a while but was using PB to get to IDE scripts. This will be so much better/faster. Thanks, Brian On Wed, Feb 28, 2018 at 9:56 AM Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > > For super-quick access to

Re: Another server question (mixing node.js and LC)

2018-03-01 Thread Brian Milby via use-livecode
If you just need community, should be pretty easy to compile a copy without that feature. I have not looked at the source though. On Thu, Mar 1, 2018 at 10:38 AM Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > > > Can that be turned off? > > Not yet. I have a request f

Re: Horizontal and Portrait Scrolling on Mobile

2018-03-06 Thread Brian Milby via use-livecode
Netflix is probably another example of something like this. On the home screen there are sections (categories) that scroll vertically and when stopped each row of movies will scroll horizontally. You can even move multiple rows at the same time. On Tue, Mar 6, 2018 at 5:12 PM Sannyasin Brahmanathas

Re: Unicode inconsistency

2018-03-09 Thread Brian Milby via use-livecode
Is it a font issue? I get an empty box on Win10 and a box with a ? inside on my Mac. Had to go to fileformat.info to see what it should look like. On Fri, Mar 9, 2018 at 1:49 PM Richmond Mathewson via use-livecode < use-livecode@lists.runrev.com> wrote: > When I do this: > > put numToCodePoint(0xA

Re: Navigation widget

2018-03-09 Thread Brian Milby via use-livecode
Navigation Bar should always have exactly one icon selected. On Fri, Mar 9, 2018 at 3:26 PM Ralph DiMola via use-livecode < use-livecode@lists.runrev.com> wrote: > I can't seem to figure out how to reset the hilited option back to > unhilited. None of the traditional button properties seem to work

Re: Navigation widget

2018-03-09 Thread Brian Milby via use-livecode
Although that could be an interesting thing to change on Thursday in my LCG talk (allow a selection of “0”). Not sure if it would get accepted, but would make a good demo of the process. On Fri, Mar 9, 2018 at 3:37 PM Brian Milby wrote: > Navigation Bar should always have exactly one icon selecte

Re: Navigation widget

2018-03-09 Thread Brian Milby via use-livecode
Correct... the code does not currently support nothing being selected. It should not be that difficult to add though. On Fri, Mar 9, 2018 at 4:20 PM Ralph DiMola wrote: > Setting it to zero was what I was what I tried it and it did nothing. What > I was thinking of is a splash page with the navig

Re: When me is not me

2018-03-09 Thread Brian Milby via use-livecode
I think I know what is going on. If you add a couple of put statements to that script you will find that "me" by itself doesn't include the card or stack. So "put me" would give something like [group "Language Choice"] which isn't specific enough from another card. This works: local tID put the

Re: When me is not me

2018-03-10 Thread Brian Milby via use-livecode
Me > set the hilitedButton of tMe to tNum > ? > > The latter will have the 'not on the current card' problem, whereas the > former should (in theory) not. > > On Sat, Mar 10, 2018 at 2:41 AM Brian Milby via use-livecode < > use-livecode@lists.runrev.com> wrote: &

Re: Unicode inconsistency

2018-03-10 Thread Brian Milby via use-livecode
With colourful pictures: http://forums.livecode.com/viewtopic.php?f=5&t=30718 Richmond. Bug report 21055 -- Quite interesting. Especially that decimal worked. On Sat, Mar 10, 2018 at 1:56 AM, Richmond Mathewson < richmondmathew...@gmail.com> wrote: > > > On 10/3/2018 1:32 am, Brian Milby wr

Re: Bizarre Number Sort of Files Mac

2018-03-10 Thread Brian Milby via use-livecode
That strange dictionary entry was due to a bug in the parser. It is fixed now (9DP11 does not have that bug, not sure about 8). Now, not sure about the actual sort issue... On Sat, Mar 10, 2018 at 10:27 PM Sannyasin Brahmanathaswami via use-livecode wrote: > Well the dictionary has this cryptic

Re: Dictionary Entry For TouchMove

2018-03-12 Thread Brian Milby via use-livecode
Short answer, you need to track the location of each touch yourself and do the math. Check out this piece of code: https://raw.githubusercontent.com/bwmilby/lc-misc/master/PinchZoom/pinchzoom.livecodescript That is a piece of code that I translated into LCS that deals with tracking two touch poin

Re: Dictionary Entry For TouchMove

2018-03-12 Thread Brian Milby via use-livecode
PR submitted to clarify the touchMove dictionary entry: https://github.com/livecode/livecode/pull/6413 On Mon, Mar 12, 2018 at 5:24 PM, Brian Milby wrote: > Short answer, you need to track the location of each touch yourself and do > the math. > > Check out this piece of code: > https://raw.gith

Re: iOS cached Screen Flashes after Splash Image

2018-03-13 Thread Brian Milby via use-livecode
Sounds like an OS thing. When you double tap the home, is that the screen that flashes? I think the OS caches the last screen for switching and throws that up before the splash. Apps that resume will not notice. The faster the device, the less likely you are to see it. At least that is my non-educa

Re: OT: Can’t download file

2018-03-13 Thread Brian Milby via use-livecode
What about the permissions on the parent directory? Those could limit access too. On Tue, Mar 13, 2018 at 2:09 PM G E Samuel via use-livecode < use-livecode@lists.runrev.com> wrote: > Sorry this is OT, but I don’t know where to turn for advice. > > I have a web site and from time to time I put up

Re: LC 9 and Icon Families

2018-03-14 Thread Brian Milby via use-livecode
I wrote a stack that does something similar. Mine was geared toward importing a folder of SVG icons. http://forums.livecode.com/viewtopic.php?f=10&t=30411 There's also a copy on my web site that includes a whole bunch of icons: https://milby.us/lc/SvgIconTool.180114-1700.zip Most of the icons ca

Re: LC 9 and Icon Families

2018-03-18 Thread Brian Milby via use-livecode
I finally got around to setting up an account and uploaded my tool. It works pretty good as a plugin, but I need to top level it once per session for the navigation to work (grid card). Thanks, Brian On Thu, Mar 15, 2018 at 4:35 AM hh via use-livecode < use-livecode@lists.runrev.com> wrote: > @Br

Re: Checkmark for Mac & Windows

2018-03-23 Thread Brian Milby via use-livecode
Check out "imagesource" - it may be what you need. You can do something like: *set* the imageSource of char 1 of line 1 of fld "Test" of this cd to 878 Which is a "+" sign, but you can use your own images. modTableField uses this strategy and has icons for the checked and unchecked state. You c

RevZilla (2.5)

2018-03-26 Thread Brian Milby via use-livecode
I found a stack that used to work to provide a LC interface to Bugzilla. I briefly tried to get it to work, but even after I could authenticate it just didn’t work correctly. Has anyone kept this tool up to date? Thanks, Brian ___ use-livecode mailing

Re: RevZilla (2.5)

2018-03-26 Thread Brian Milby via use-livecode
I’ve looked at the code enough to know that any update by someone other than Ken would be a huge task. I was kind of hoping that someone else had already had the itch and scratched it :) It was developed without explicit variable checking so going there would be fun. But it also has a bit of code

Re: RevZilla (2.5)

2018-03-26 Thread Brian Milby via use-livecode
. If the code is handy, it wouldn’t hurt, but not sure if I will have time for this project. Thanks, Brian On Mon, Mar 26, 2018 at 3:12 PM Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On 03/26/2018 12:05 PM, Brian Milby via use-livecode wrote: > > I’ve loo

Re: Livecode Json Arrays Key Sort

2018-03-29 Thread Brian Milby via use-livecode
The fix is probably as easy as exposing the list type to LCS. Mark mentioned that at the last LCG last year. Since the parser already uses the list type and the engine has a list type internally it shouldn’t be that hard. On Thu, Mar 29, 2018 at 5:34 PM Mark Wieder via use-livecode < use-livecode@l

Re: Guessing game

2018-04-02 Thread Brian Milby via use-livecode
Would that be for properties? Save the step of putting it into a variable first? On Mon, Apr 2, 2018 at 2:29 PM J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > > I found this: > > *** > Additionally the into clause has been added to all array set set > operations allowi

Re: Android Native Button

2018-04-02 Thread Brian Milby via use-livecode
Looking at the code for the android field, it is probably a bug. In that code the type is optional pointer and a check is done that a pointer was returned. That check is not done for the button. Are you sure the font being specified is valid? I have not done anything android, so this is just a qui

Re: v9 experience grinds to a halt. non-functioning breakpoints.

2018-04-03 Thread Brian Milby via use-livecode
Did a quick test on Mac/Win10 and both worked as expected on a new test stack. On Tue, Apr 3, 2018 at 8:22 PM Tom Glod via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi peeps, can anyone confirm with me that breakpoints don't work at all in > the new LC 9? > > breakpoint command or lin

Re: Guessing game

2018-04-05 Thread Brian Milby via use-livecode
cREVGeneral is an example of where recursion would be a problem. In the common library there are getProp and setProp handlers that depend on lock messages. The handlers intercept the message and in some cases need to lock messages to get the system property before continuing (so a pass would not

Re: Text to Speech

2018-04-06 Thread Brian Milby via use-livecode
This may be of interest: Resources Center... Sample Scripts... User Interface... Speaking an Alert Message Only works on Mac/Win. On Fri, Apr 6, 2018 at 8:04 PM William Prothero via use-livecode < use-livecode@lists.runrev.com> wrote: > Thanks. I had tried it in the message box and got no sound.

Re: Can't seem to build standalone in LC9.0.0

2018-04-06 Thread Brian Milby via use-livecode
I can say it is more complicated than the number of LiveCode stacks though (just built a 3 stack app as a test). Any idea where in the 9 release cycle this became an issue? Someone that can parse the error screen that you captured should be able to provide a better clue to the problem (especially i

Re: RevMail - Status in 9,0

2018-04-07 Thread Brian Milby via use-livecode
Yes, there was a change. I’ll have to wait until I can look at the code. It is in the common library. On Sat, Apr 7, 2018 at 1:21 PM Sannyasin Brahmanathaswami via use-livecode < use-livecode@lists.runrev.com> wrote: > This was working in Standalones for iOS and Android in all versions < 8.* > > o

Re: RevMail - Status in 9,0

2018-04-07 Thread Brian Milby via use-livecode
In earlier versions the common library did not make it to mobile. revMail was internally handled by mobileComposeMail (effectively anyway). Now, the common library makes it to mobile. The above code should still work, but should call the mail app to send the mail instead of doing it inside the app

Re: Widget User Defined Properties

2018-04-07 Thread Brian Milby via use-livecode
Take a look at the code for the switchbutton. It does use backgroundcolor/hilitecolor/bordercolor but does not define a variable or handler to get/set. On Sat, Apr 7, 2018 at 5:58 PM Ralph DiMola via use-livecode < use-livecode@lists.runrev.com> wrote: > I created a property called backgroundColor

Re: RevMail - Status in 9,0

2018-04-09 Thread Brian Milby via use-livecode
I did a check tonight and do see the same issue. I changed the common library to call mobileComposeMail and it worked with subject and addressee specified. I’ll do another test to be sure it works generally as before and submit a PR. Not sure why the pass isn’t working though. On Mon, Apr 9, 2018 a

Re: RevMail - Status in 9,0

2018-04-10 Thread Brian Milby via use-livecode
t looking at the code in MCKeywordsExecCommandOrFunction, it seems that > there is no provision for passing to a 'global handler' (eg mobile-specific > handlers or cameraControl handlers). > > On Tue, Apr 10, 2018 at 3:35 AM Brian Milby via use-livecode < > use-livecode@l

Re: LCG Session Suggestions

2018-04-10 Thread Brian Milby via use-livecode
My session last month was on setting up to build from source including submitting a PR. Most of the info is in the screen shots on the slides so it is easy to skip through the slides. On Tue, Apr 10, 2018 at 10:31 AM Tom Glod via use-livecode < use-livecode@lists.runrev.com> wrote: > I have finall

Re: name resolution stinker

2018-04-11 Thread Brian Milby via use-livecode
Typed the following in the message box: put the long id of me into x; put there is an x & cr & x Selected a grouped object on a substack and pressed return. Got true and the long ID. On Wed, Apr 11, 2018 at 2:01 PM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Not to be

Re: LCB Woes

2018-04-12 Thread Brian Milby via use-livecode
What language is the library written in? Which platform? I have some code that I’ve started to put together for libSodium, but I have not done much more than reference the calls. On Thu, Apr 12, 2018 at 7:55 PM Dan Friedman via use-livecode < use-livecode@lists.runrev.com> wrote: > Greetings! I

Re: LCB Woes

2018-04-12 Thread Brian Milby via use-livecode
Here's what I have so far... On Thu, Apr 12, 2018 at 9:04 PM, Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On 04/12/2018 06:03 PM, Brian Milby via use-livecode wrote: > >> What language is the library written in? Which platform? I have some code

Re: LCB Woes

2018-04-12 Thread Brian Milby via use-livecode
n time. But > start digging into it now. I’m still playing around trying to make some > libraries of my own - simple ones to start with. > > All the best. > > Sean Cole > Pi Digital > > > On 13 Apr 2018, at 03:04, Mark Wieder via use-livecode < > use-livecode@lists.ru

Re: Getting Orientation Enforced on Phone

2018-04-13 Thread Brian Milby via use-livecode
In my MobileProfile demo app it seems to respect the lock properly on iPhone (can only user lock to portrait). Sounds like something that would be good to do additional testing on. Is there any way to test pre-release engine changes on iOS? On Fri, Apr 13, 2018 at 8:54 PM Monte Goulding via use-liv

Re: Contributing to the IDE

2018-04-16 Thread Brian Milby via use-livecode
https://github.com/livecode/livecode/blob/develop/CONTRIBUTING.md https://github.com/livecode/livecode/blob/develop/README.md Those two docs have most of what you will need. If you have purchased LiveCode Global 2018 then you can watch the talk I gave last month on setting up your system to build

Re: AW: How to get the line break char?

2018-04-18 Thread Brian Milby via use-livecode
One other consideration is how you are opening the file. Using “file” will end up converting to just LF. You will need to use “binfile” to examine the line endings native in the file. On Wed, Apr 18, 2018 at 8:11 AM dunbarx via use-livecode < use-livecode@lists.runrev.com> wrote: > Tiemo. > > I gu

Re: Contributing to the IDE

2018-04-19 Thread Brian Milby via use-livecode
I will add that building from source is not that hard for Mac or Linux (have not tried Windows). I didn’t know what platform you were using which is why I referenced the Readme since it had a section with links for each one. If you run into specific issues getting things set up then we can probabl

Re: mergBLE usage

2018-04-22 Thread Brian Milby via use-livecode
I’m guessing you have a card that when you open it will initiate a look for available connections. You have the appropriate handlers in place that work if one is found. Now you want the card to not wait forever though? If that is the case, there are a couple threads on the forum that may help: htt

Re: mergBLE usage

2018-04-22 Thread Brian Milby via use-livecode
Ah... I didn't connect the "Doug" aka dr_mumps with your full name. (And you can probably guess that I'm milbybw). That's what I was saying, you need to write your own timeout. local sTimeoutCounter on openCard -- do your other stuff put 20 into sTimeoutCounter send "timeoutCheck" to me i

Re: TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-22 Thread Brian Milby via use-livecode
I can see that stack being very useful. If I make any good changes I’ll let you know. I’m thinking that listing behaviors in the index would be useful. On Tue, Apr 3, 2018 at 12:32 PM Paul Dupuis via use-livecode < use-livecode@lists.runrev.com> wrote: > Mike & Marc, > > You can find the tool at >

Re: Typesetting Fields

2018-04-22 Thread Brian Milby via use-livecode
Well, I was just about to suggest that, so I’m not sure what else. But I’m fairly new around here. On Sun, Apr 22, 2018 at 10:25 PM Sannyasin Brahmanathaswami via use-livecode wrote: > and I am hoping not to deal bloated htmltext, like using template > > LESSON > [[tChapterNum]] > [[tSubtitle]] >

Re: Q on Accessing multi-dimension arrays.

2018-04-26 Thread Brian Milby via use-livecode
on mouseUp put "answer" into tA["firstkey"]["secondkey"] put "firstkey" into tPath[1] put "secondkey" into tPath[2] put tA[tPath] end mouseUp On Thu, Apr 26, 2018 at 9:16 AM, Alex Tweedly via use-livecode < use-livecode@lists.runrev.com> wrote: > > I have a (vague) memory that there i

Re: Programmatically changing cRevStandaloneSettings was [Q on Accessing multi-dimension arrays.}

2018-04-26 Thread Brian Milby via use-livecode
The comma in a key is the old way to get multi-dimensional arrays. That is how the standalone keys are formed. The blank key thing is due to an issue with the tree view handling keys with commas. On Thu, Apr 26, 2018 at 9:47 AM Ralph DiMola via use-livecode < use-livecode@lists.runrev.com> wrote:

Re: Q on Accessing multi-dimension arrays.

2018-04-26 Thread Brian Milby via use-livecode
ke Bonner wrote: > > > I had no clue you could do that! Thank you! > > > > On Thu, Apr 26, 2018 at 8:43 AM, Brian Milby via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> on mouseUp > >>put "answer

Re: Enable/disable Group enables/disables all children

2018-04-26 Thread Brian Milby via use-livecode
My guess... it is because disabled is not an inherited property. All of the other examples have been properties that are inherited if not explicitly set. As such a decision was made that setting the enabled property on a group effects all objects in the group. __

Re: Enable/disable Group enables/disables all children

2018-04-26 Thread Brian Milby via use-livecode
For that to work, “enabled” would need to be a triple state inherited property. On Thu, Apr 26, 2018 at 4:34 PM Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On 04/26/2018 12:18 PM, dunbarx via use-livecode wrote: > > Does it make it more palatable to think about it the ot

Re: Enable/disable Group enables/disables all children

2018-04-26 Thread Brian Milby via use-livecode
com> wrote: > Or else not inherited. > > Bob S > > > > On Apr 26, 2018, at 14:56 , Brian Milby via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > For that to work, “enabled” would need to be a triple state inherited > > property. >

Re: Detailed File Information for One File

2018-04-27 Thread Brian Milby via use-livecode
Are you sure about that? Some apps delete/recreate vice actually modifying an existing file. On Fri, Apr 27, 2018 at 9:44 AM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Funny you should mention that. I thought about doing this, but then I have > to think about checking t

Re: Identifying IDE stacks

2018-04-27 Thread Brian Milby via use-livecode
If you just want a list then: ideUserMainStacks will provide part of what you are looking for (no sub stacks in my brief test). If you want substacks too, then use: revLoadedStacks (Common library) On Fri, Apr 27, 2018 at 7:24 PM Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote:

Re: Swipe transitions

2017-07-19 Thread Brian Milby via use-livecode
Swipe detection would be useful for other than the whole card too.DG2 is supposed to have that piece.Think of the way you can delete an email on the iPhone.From a detection perspective, it is the same motion.You would need the direction and position to take the correct acti

Re: template stacks

2017-07-28 Thread Brian Milby via use-livecode
Default dimension is 400 (missing value) but if specified then 101 would be the smallest (if pHeight > 100 then...) > > On Jul 28, 2017 at 10:06 AM, (mailto:use-livecode@lists.runrev.com)> wrote: > > > > Forget to remark: revIDENewMainstack 40,30 = revIDENewMainstac

Compiling LiveCode on Sierra

2017-07-28 Thread Brian Milby via use-livecode
Is it possible to compile the LiveCode IDE on Mac OS 10.12.6? I tried to follow the instructions on GitHub. I have the Xcode versions downloaded. I had to use sudo to get the setup_xcode_sdks.sh to finish. First pass was missing Java, so went back and installed that. Was able to configure, but

Re: Compiling LiveCode on Sierra

2017-07-29 Thread Brian Milby via use-livecode
Thanks for the pointers. I was able to get the build working this morning and confirm what was needed to make the AS Dictionary visible in the build. Somehow I did get all of my Xcode installs messed up so none would launch last night. After I reinstalled 8.3, I ran the script to build the links

Re: gitter

2017-07-29 Thread Brian Milby via use-livecode
I'm just now getting my head around how to set them up.SourceTree is recursive by default so my builds were fine.Took a little more playing around to set it up so I could contribute to the IDE and also build with my changes.(I had it set up as a separate workspace) On

Re: httpd library and missed opportunity.

2017-08-01 Thread Brian Milby via use-livecode
I'd like to think that by the time LC 9 leaves DP status that this will be possible. There is already a library included in DP 8 to handle httpd requests. On Tue, Aug 1, 2017 at 5:18 PM, Andre Garzia via use-livecode < use-livecode@lists.runrev.com> wrote: > Alex, > > Python is kinda tricky to b

Re: revHTTP

2017-08-01 Thread Brian Milby via use-livecode
Hopefully the UX in DP9 will improve this issue. The drop-down menu for APIs will scroll if taller than the window height. On Tue, Aug 1, 2017 at 5:48 PM, Andre Garzia via use-livecode < use-livecode@lists.runrev.com> wrote: > Hey Monte, > > The built-in LC dictionary UI is not good. > For examp

Re: "Cascading" Object-Behaviors

2017-08-02 Thread Brian Milby via use-livecode
I just tried it on Mac/Win and it works in LC9DP8 that way for me. On Tue, Aug 1, 2017 at 10:34 PM, Monte Goulding via use-livecode < use-livecode@lists.runrev.com> wrote: > Use the following url: > > 811fa6e77e514c7e3ccae150af5fd856199

Re: "Cascading" Object-Behaviors

2017-08-02 Thread Brian Milby via use-livecode
So is the BOM causing the issue with detection of the URL being a script only stack or is it in the function that actually reads in the file? Trying to wrap my head around how the go stack works (still looking at code). On Wed, Aug 2, 2017 at 8:02 AM, Brian Milby wrote: > I just tried it on Mac/

Understanding LiveCode Source [BOM Issue with livecodescript URLs]

2017-08-05 Thread Brian Milby via use-livecode
Is there anything posted that gives an overview of how the source code to LiveCode works/is organized? I know that the source is all there and I can read it, but that would take a long time :) I'm still learning C++ (been many years, but I learned C while in college), but following the code doesn

Re: Recursive folder creation

2017-08-07 Thread Brian Milby via use-livecode
Check out _revSBEnsureFolder in revSBLibrary for example code that does this. > > On Aug 7, 2017 at 12:57 PM, (mailto:use-livecode@lists.runrev.com)> wrote: > > > > Attempts to create a subfolder below a folder that does not exists fail. > Where folder "nat

Re: Understanding LiveCode Source [BOM Issue with livecodescript URLs]

2017-08-07 Thread Brian Milby via use-livecode
t; taking into the account the breadth of applicability - there are huge > constraints which only become articulable when faced with direct reasons > for any change. i.e. Start small and work up - anything else will result in > a *seemingly* dismissive response. (ie don't expect

Re: Decrypt error message?

2019-02-04 Thread Brian Milby via use-livecode
And I’ll say my testing is now producing the same errors.  So a recipe that we can test to see it will be helpful. Thanks, Brian On Feb 4, 2019, 2:02 PM -0600, Tom Glod via use-livecode , wrote: > Ya, Its a head scratcher. I can't really spend to much time > investigating it thankfully I ca

Re: Enhancement: transparently persist/retrieve large amounts of array data as JSON

2019-02-05 Thread Brian Milby via use-livecode
If you want to build from source, you can test it now.  It is in the develop-9.0 branch. Thanks, Brian On Feb 5, 2019, 12:34 AM -0500, Bernard Devlin via use-livecode , wrote: > As far as I can see, providing this enhancement is (in essence) no more > than the addition of one line to Livecode's

Re: Widget TurnImage89_v100

2019-02-06 Thread Brian Milby via use-livecode
I don’t think that leak is browser widget specific.  I was able to reproduce the effect of increasing memory usage with the tree view widget, but much more slowly. Thanks, Brian On Feb 6, 2019, 9:22 PM -0500, hh via use-livecode , wrote: > > BR wrote: > > Now, if I could only figure out how to

Re: Memory leaks

2019-02-06 Thread Brian Milby via use-livecode
I only ran the test on a Mac.  Once I get my computer unpacked I plan on working up an additional test and trying on Linux and Windows. Thanks, Brian On Feb 6, 2019, 11:01 PM -0500, hh via use-livecode , wrote: > > > hh wrote: > > > ... the browser widget is still memory leaking when using JS >

Re: Weird LiveCode Plugins Prefs writing problems

2019-02-10 Thread Brian Milby via use-livecode
Guess I waited until the right time to go from 10.12 to 10.14 :grin: I’ll be doing that upgrade in the next couple weeks. Thanks, Brian On Feb 10, 2019, 7:49 AM -0500, Sannyasin Brahmanathaswami via use-livecode , wrote: > Little story: Yesterday, early the morning, I was on 10.4.2. "Sadly" I >

Re: Android SDK

2019-02-10 Thread Brian Milby via use-livecode
You can drag it into the window (reported in another thread) or you can create a shortcut to the folder that you can navigate to. Thanks, Brian On Feb 10, 2019, 10:58 AM -0500, Richmond via use-livecode , wrote: > I have just installed Android studio on my Mac Mini and seem unable to > link my >

<    3   4   5   6   7   8   9   10   >