Re: How to install a dependency

2019-05-31 Thread Brian Milby via use-livecode
That is an issue with 9.5DP1 that will be fixed in the next DP.  It is a simple fix, but I’d have to look in GitHub to find where.  Panos fixed it at the conference. Thanks, Brian On May 31, 2019, 10:55 AM -0400, Glen Bojsza via use-livecode , wrote: > Hello, > > I am trying to get a widget wor

Re: Setting mobile scroller hScroll fails

2019-05-29 Thread Brian Milby via use-livecode
I think it is going to take some math but the scroller should be set for the area within the card rect since the areas left/right are not going to be responsive to the scroller. Thanks, Brian On May 29, 2019, 2:01 PM -0500, J. Landman Gay via use-livecode , wrote: > Thanks Monte, I did over-sum

Re: slow slower slowest scroll on Android

2019-05-29 Thread Brian Milby via use-livecode
DP2 will fix the missing option in the PI to set container mode, but it can be done from the message box now. If you need a static border or shadow behind the DG, then use a separate object for the effect behind the DG so you can get the performance boost from accelerated rendering. Thanks, Br

Re: slow slower slowest scroll on Android

2019-05-28 Thread Brian Milby via use-livecode
For the DG2 benefits, the containing group for the DG needs to be in container mode.  Also, the biggest benefit will be seen with fixed height rows.  This is something that comes with 9.5 DP 1. For the field, you may see better performance if you make it a native field. Thanks, Brian On May 28,

Re: Seeking confirmation of a bug...

2019-05-18 Thread Brian Milby via use-livecode
Looking at the beginning of the thread, I think what Richard meant initially is that if everyone always moved to the latest version (bonus for testing with RC and DP versions) then regressions would probably be spotted fairly quickly since a vast surface area of the engine would be tested at onc

Re: Resize Stack Sent Everytime a Stack Opens?

2019-05-13 Thread Brian Milby via use-livecode
I'll send a copy of the stack separately, but here are my thoughts: - Caveat that I only have an Amazon Fire available for testing - resizeStack does get called, before openCard on card Loader - no field "log" exists on card "Loader" which is probably why resizeStack was not working - I added "addL

Re: Android needs 64 bit builds

2019-05-13 Thread Brian Milby via use-livecode
, 2019, 6:13 PM -0400, Mark Wieder via use-livecode , wrote: > On 5/13/19 12:46 PM, Brian Milby via use-livecode wrote: > > I was just able to build for the first time in Ubuntu 18.04 and it comes up > > 9.5 (dp 1). > > I never went far enough to figure out how to overcome the PIC

Re: Android needs 64 bit builds

2019-05-13 Thread Brian Milby via use-livecode
I was just able to build for the first time in Ubuntu 18.04 and it comes up 9.5 (dp 1). I never went far enough to figure out how to overcome the PIC issue myself and waited for it to make it to develop. Thanks, Brian On May 13, 2019, 3:31 PM -0400, Mark Wieder via use-livecode , wrote: > On 5/

Re: Resize Stack Sent Everytime a Stack Opens?

2019-05-13 Thread Brian Milby via use-livecode
It will take a bit to respond to the rest, but I am not surprised to see a resizeStack on open if the app was built at a size different than the screen size of the device. On an Amazon Fire the screen/stack delta is the header bar at the top of the screen.  What is strange to me is that the but

Re: Resize Stack Sent Everytime a Stack Opens?

2019-05-10 Thread Brian Milby via use-livecode
What fullScreenMode are you in when the stack opens?  What mode when the rotation happens? Thanks, Brian On May 10, 2019, 10:08 AM -0400, Sannyasin Brahmanathaswami via use-livecode , wrote: > I put a "breakpoint" into > > On resizestack x,y, > Breakpoint > [snip code] > > End resize stack > > A

Re: Livecloud Bundle Offer

2019-04-27 Thread Brian Milby via use-livecode
It is permanent for version 9.0.x according to the site. Thanks, Brian On Apr 27, 2019, 7:14 PM -0400, Rick Harrison via use-livecode , wrote: > Hi Matthias, > > That can’t be a permanent LiveCode Indy license. It has to be just be a one > year license. > The best deal I saw in recent times was

Re: Browser HTML Source & URLs

2019-04-17 Thread Brian Milby via use-livecode
Htmltext of a field is not the same as htmltext of the browser widget.  A LiveCode field only supports a fraction of html.  In your example you need to just set the text of the field to see the page source.  Setting htmetext forces LiveCode to render the html and anything it does not understand

Re: Saving a tab formatted field to a file and retaining its formatting

2019-04-08 Thread Brian Milby via use-livecode
I don’t think it is the tab character but rather the tab stops that are the problem. Brian On Apr 8, 2019, 9:26 AM -0400, dunbarxx via use-livecode , wrote: > Hi. > > I am always missing something. Why is there an issue retaining tabs in a > body of ordinary text? > > I have a table field with "

Re: Anchor links in browser widget

2019-04-01 Thread Brian Milby via use-livecode
May be able to take a screen shot, show it, hide the real browser, show the tree widget.  That does require that the browser contains something static and user can’t interact with the browser while the tree is visible. Thanks, Brian On Apr 1, 2019, 11:00 PM -0400, J. Landman Gay via use-livecode

Re: Browser layering

2019-04-01 Thread Brian Milby via use-livecode
Any native control will layer adove everything generated by LC.  So the portion of widgets that are native hover over everything non-native.  You can layer native widgets, but not all work the same (browser seems to be on top of other native controls for example). Thanks, Brian On Apr 1, 2019,

Re: goofy question about "repeat for each"

2019-03-25 Thread Brian Milby via use-livecode
Klaus is correct... cc is not modified by changing j I just did a quick test to verify. Thanks, Brian On Mar 25, 2019, 3:31 PM -0400, jbv via use-livecode , wrote: > Hi list, > > I have a list of values such as : > 540,20 > 542,22... > one per line in a variable named cc. > > Now I'm running the

Re: A Question about Ask File

2019-03-20 Thread Brian Milby via use-livecode
You are providing a path and a file name.  They are just not provided as separate parameters.  The suggested file name must be placed at the end of the path location. On Mar 20, 2019, 9:42 PM -0400, Roger Guay via use-livecode , wrote: > Thank you, Herman, but by providing this solution, are you

Re: Tree view widget for mobile use

2019-03-15 Thread Brian Milby via use-livecode
I’ve already submitted PRs in the 9.1 line but they don’t really address what you have requested.  I could implement 1 in a way that could be incorporated into the official version.  I could fork a version that hid a portion of the key on display for 2 as well.  3 would take some discussion. Th

Re: [off]sublimeText update

2019-03-14 Thread Brian Milby via use-livecode
. Thanks, Brian On Mar 14, 2019, 11:43 AM -0400, Trevor DeVore via use-livecode , wrote: > On Wed, Mar 13, 2019 at 12:30 PM Brian Milby via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > > One area where I prefer binary stacks is plugins. It seems cleane

Re: Ineffective lazy screenRect

2019-03-13 Thread Brian Milby via use-livecode
What is reported with just screenRect? Thanks, Brian On Mar 13, 2019, 3:05 PM -0400, Richmond via use-livecode , wrote: > What is not working is that 1034 is the number given regardless of > whether the > words *effective* and *working* are used or not. > > Richmond. > > On 13.03.19 21:02, Richar

Re: [off]sublimeText update

2019-03-13 Thread Brian Milby via use-livecode
to build the stack, but that's > as far as it's gotten is thinking about it. > > On Wed, Mar 13, 2019 at 10:28 AM Brian Milby via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > I have a tool that exports the scripts of a stack and can facilitate >

Re: [off]sublimeText update

2019-03-13 Thread Brian Milby via use-livecode
I have a tool that exports the scripts of a stack and can facilitate editing in any external editor.  I want to hook it up in Atom like ST, but have not figured out how to rewrite the module in JS.  ScriptTracker works by watching a directory for changes to the files.  The ST plugin works by sen

Re: get an overview of all scripts (e.g total lines of all scripts) of a stack

2019-03-12 Thread Brian Milby via use-livecode
I have a tool that exports the scripts of a stack but does not supply any stats. https://forums.livecode.com/viewtopic.php?f=77&t=31079 https://github.com/bwmilby/lc-misc/tree/master/ScriptTracker https://github.com/bwmilby/lc-misc/blob/master/ScriptTracker/ScriptTracker.md Thanks, Brian On Mar 1

Re: Resizing stacks and make changes on more than one card

2019-03-09 Thread Brian Milby via use-livecode
revUpdateGeometry needs to be called in the preOpenCard handler to take care of GM updates. Thanks, Brian On Mar 9, 2019, 8:37 AM -0500, Tore Nilsen via use-livecode , wrote: > Thank you for your suggestions. I did not have any resizeStack handlers, but > relied on the geometry manager to posit

Re: Resizing stacks and make changes on more than one card

2019-03-09 Thread Brian Milby via use-livecode
preOpenCard is what I’ve used.  I know it includes “openCard”, but it is a different handler. Thanks, Brian On Mar 9, 2019, 7:52 AM -0500, Tore Nilsen via use-livecode , wrote: > I have a stack with 2 cards. On these cards, some elements change size or > position when the stack is resized. As t

Re: Compiling Livecode

2019-03-05 Thread Brian Milby via use-livecode
The target platform link provides more details.  Trevor put some help up for getting Windows versions to compile.  I’ve compiled Mac and Linux.  What OS/Version will you be using? Thanks, Brian On Mar 5, 2019, 7:35 AM -0500, David Bovill via use-livecode , wrote: > I'm reading up on compiling L

Re: Old Rev stack feature / view ...where is it in LC 8

2019-02-20 Thread Brian Milby via use-livecode
That only covers perpetual licenses.  The current license model is different, but now we also have the community version option. Thanks, Brian On Feb 20, 2019, 3:31 PM -0500, Glen Bojsza via use-livecode , wrote: > Your license is good up to the last stable version that was released prior > to e

Re: Standalone builder tells me that there is a stack ... already open and so on

2019-02-14 Thread Brian Milby via use-livecode
May want to review my comments on  https://quality.livecode.com/show_bug.cgi?id=18793 as well.  I‘m not so sure it is a problem in the engine itself (duplicate stack short names).  But the way the same file gets interpreted as duplicated is probably engine related.  I don’t think I looked at tha

Re: centerRect - "stretching" an image

2019-02-13 Thread Brian Milby via use-livecode
In that context, the brackets are surrounding optional text so    CenterRect   Or   CenterRectangle Thanks, Brian On Feb 13, 2019, 10:10 PM -0500, Mark Wieder via use-livecode , wrote: > On 2/13/19 5:47 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > > > 2. centerRect[angle] > > Implies

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 >

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: 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: 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: 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: 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: Decrypt error message?

2019-02-04 Thread Brian Milby via use-livecode
This is not a bug.  The SSL library will only complain if it requires a parameter with a certain bit length and you provide an invalid value.  As long as your key/password/IV/salt are acceptable then you will get the result of the decrypt.  One way (not necessarily secure) is the pretend your sa

Re: Us and them? [was Re: Livecode Dictionary]

2019-01-24 Thread Brian Milby via use-livecode
If using a binary stack, ScriptTracker makes it easy to edit scripts in an external editor. Levure includes a server process that allows Sublime Text tell LC to reload a script only stack when saved from there (I don’t think it depends on the app itself being managed with Levure).  I use Atom be

RE: revMoveFolder on Windows

2019-01-24 Thread Brian Milby via use-livecode
I think programs can lock a folder by having it set as the default folder (or it could just be a side effect of them storing something there).  I’ve seen it every once in a while in other programs, but can’t remember the last time.  I have not tried to see if I could reproduce in LiveCode yet.  

Re: Us and them? [was Re: Livecode Dictionary]

2019-01-22 Thread Brian Milby via use-livecode
r flow back to the main > project - so any thoughts on that would be great. > > On Tue, 22 Jan 2019 at 17:03, Brian Milby via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > GFM syntax is used, but it does go through additional processing before > > bei

Re: Us and them? [was Re: Livecode Dictionary]

2019-01-22 Thread Brian Milby via use-livecode
Tue, 22 Jan 2019 at 14:40, Brian Milby via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > > That license will not allow inclusion into the LiceCode dictionary as it > > requires any derivative works to carry the same license. For integration > > in

Re: Script Editor Performance

2019-01-22 Thread Brian Milby via use-livecode
Bob, You could just create the branch on your fork of the engine/IDE and post that.   I’ve not been doing as much over the past few weeks but would be game to make a change and test (even build a version with it).  I will say that I have not noticed that much of an issue but my code projects are

Re: Us and them? [was Re: Livecode Dictionary]

2019-01-22 Thread Brian Milby via use-livecode
Two comments initially: That license will not allow inclusion into the LiceCode dictionary as it requires any derivative works to carry the same license.  For integration into the LiveCode project a CLA will need to be signed by each author and their contributions also submitted with copyright

Re: Opening a url in an external browser on mobile? (ignore - launch works after all)

2019-01-21 Thread Brian Milby via use-livecode
Yes, you are correct. By the way, even though revGoUrl was deprecated, it should now work on mobile since the Common Library is now available there. Thanks, Brian On Jan 21, 2019, 7:11 PM -0600, Terry Judd via use-livecode , wrote: > So (answering my own question) - it seems that I misread the

Re: Opening a url in an external browser on mobile?

2019-01-21 Thread Brian Milby via use-livecode
revGoUrl Thanks, Brian On Jan 21, 2019, 7:08 PM -0600, Terry Judd via use-livecode , wrote: > After going to the trouble of implementing a mobile browser widget I’ve > decided that I’d prefer to open and display the url in the user’s default > browser. I’m assuming this is possible (?) but can’

Re: Can a substack become the mainstack and the mainstack become its substack?

2019-01-20 Thread Brian Milby via use-livecode
You should be able to use Navigator to scriptify if that is what you want.  I’m not sure that a splash would be needed. If you just want the scripts as text files for version control, you could also try my ScriptTracker. Thanks, Brian On Jan 20, 2019, 7:25 PM -0600, Tom Glod via use-livecode ,

Re: global is empty

2019-01-20 Thread Brian Milby via use-livecode
You said you checked every card/button, but did you also verify the stack script too? Are you defining the global at the script level or inside a particular handler? Thanks, Brian On Jan 19, 2019, 3:31 PM -0600, JJS via use-livecode , wrote: > Hi, > > > i've never had this before and i believe i

Re: Livecode Dictionary

2019-01-20 Thread Brian Milby via use-livecode
said copyright. As long as GitHub can’t verify the CLA, I don’t think the PR can move forward. Thanks, Brian On Jan 20, 2019, 12:17 AM -0600, Geoff Canyon via use-livecode , wrote: > On Sat, Jan 19, 2019 at 8:22 PM Brian Milby via use-livecode < > use-livecode@lists.runrev.com> wrote: &

Re: Livecode Dictionary

2019-01-19 Thread Brian Milby via use-livecode
ond the ability of a large portion of the > community to contribute to. > > gc > > On Sat, Jan 19, 2019 at 8:55 AM Brian Milby via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > We have an even better option now. Contributions to the actual dictionary &g

Re: Livecode Dictionary

2019-01-19 Thread Brian Milby via use-livecode
e dictionary is now just two widgets? > > It seems counterproductive and unnecessary to convert the dictionary to > > widgets. There's no special functionality needed(?). And the dictionary > > functionality is now expressly beyond the ability of a large portion of t

Re: Livecode Dictionary

2019-01-19 Thread Brian Milby via use-livecode
We have an even better option now.  Contributions to the actual dictionary can be submitted via GitHub. Thanks, Brian On Jan 19, 2019, 9:48 AM -0600, Richmond via use-livecode , wrote: > Some of those user entries were extremely useful. > > It would be good if user entries could be restored to t

Re: screenRect and screenLoc weirdness

2019-01-10 Thread Brian Milby via use-livecode
under the “effective” description. > > Paul > > > On Jan 10, 2019, at 17:03, Brian Milby via use-livecode > > wrote: > > > > “effective topLeft” > > ___ > use-livecode mailing list > use-livecode@lists.runrev

Re: screenRect and screenLoc weirdness

2019-01-10 Thread Brian Milby via use-livecode
an see, and “topLeft” is missing from > the list of properties shown under the “effective” description. > > Paul > > > On Jan 10, 2019, at 17:03, Brian Milby via use-livecode > > wrote: > > > > “effective topLeft” > > _

Re: screenRect and screenLoc weirdness

2019-01-10 Thread Brian Milby via use-livecode
You may want to use the “effective topLeft” though. Otherwise the title bar of the window could be off screen. Thanks, Brian On Jan 10, 2019, 6:42 PM -0600, Knapp Martin via use-livecode , wrote: > I will give those a spin - thanks Monte. > > Marty > > On Jan 10, 2019, at 4:39 PM, Monte Goulding

Re: screenRect and screenLoc weirdness

2019-01-10 Thread Brian Milby via use-livecode
put item 1 of the working screenrect into tLeft put item 2 of the working screenrect into tTop set the top of stack “x” to tTop set the left of stack “x” to tLeft I’m sure there are more efficient ways, but that is the idea.  You just need to calculate the offset from the origin manually.  Of co

Re: windows defender issues? & other AV issues?

2019-01-08 Thread Brian Milby via use-livecode
It is mostly on change but also when SE windows get suspended.  Also when a SE window is closed if it has been >20s it does get saved as a precaution.  I’d need to dig in some more to see how frequently it is being saved while using the SE and trace code if warranted. I found this much just by

Re: windows defender issues? & other AV issues?

2019-01-07 Thread Brian Milby via use-livecode
I've looked into the pref save code and it isn't as bad as I thought. The file is saved regularly, but not at the interval that I thought. It does have a half second delay which should prevent too many file writes (the actual save is debounced 500ms in the future, so if another save request comes

Re: windows defender issues? & other AV issues?

2019-01-07 Thread Brian Milby via use-livecode
I think I know the issue then... look at how often the pref file is written.   Throttle/turn that off and see what happens. I was thinking that earlier today but those test results make me want to investigate that further. Thanks, Brian On Jan 7, 2019, 8:40 PM -0600, Richard Gaskin via use-livec

Re: file: vs bibfile: usage?

2019-01-07 Thread Brian Milby via use-livecode
e feeds and it has CRLFs instead. > So I have to edit these files in a Windows VM or I break them. > > Bob S > > > > On Jan 4, 2019, at 10:07 , Brian Milby via use-livecode > > wrote: > > > > On a Mac you have to use binfile if you want the appropriate line end

Re: file: vs bibfile: usage?

2019-01-04 Thread Brian Milby via use-livecode
On a Mac you have to use binfile if you want the appropriate line endings (LF)* as file will change them to the legacy version (CR).  On Windows, you probably still want to use file so that the line endings are adjusted to CRLF.  UTF recognizes both as valid (CRLF and LF), not sure about CR. *

Re: LiveCode 9.0.2 on Windows unable to build for Mac?!?!?!?

2018-12-31 Thread Brian Milby via use-livecode
Looks like the copy destination moved.  Checking 9.0 against 9.0.2: Resources/_MacOS -> MacOS I have not checked on my Mac to see if the same change is evident. Thanks, Brian On Dec 31, 2018, 4:41 PM -0500, Paul Dupuis via use-livecode , wrote: > Running under Windows 10, with LiveCode 9.0.2 STA

Re: Musings on Architect, MVC, Nested Behaviors

2018-12-27 Thread Brian Milby via use-livecode
Part of the reason is that it is a “script only stack” and as soon as you start adding other things it is no longer script only.  If you need to store other things, then why not just use a binary stack file?  Version control... use ScriptTracker (or some other method of script export that allows

Re: Map Widget with Custom Marker

2018-12-18 Thread Brian Milby via use-livecode
Dec 18, 2018 at 2:09 PM Brian Milby via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > It is a native layer so it the only LC object that would work would be > > another browser widget. There was a demo a while back of doing that. > > > > http

Re: Map Widget with Custom Marker

2018-12-18 Thread Brian Milby via use-livecode
It is a native layer so it the only LC object that would work would be another browser widget.  There was a demo a while back of doing that. http://forums.livecode.com/viewtopic.php?p=172729#p172729 Thanks, Brian On Dec 18, 2018, 3:52 PM -0600, Scott Rossi via use-livecode , wrote: > Hi All: >

Re: Vote for : Screen Edges Deferred is iOS

2018-12-11 Thread Brian Milby via use-livecode
Subscribed.  Wonder if an LCB library could handle this? Thanks, Brian On Dec 11, 2018, 1:39 PM -0600, Sannyasin Brahmanathaswami via use-livecode , wrote: > See this hibernated iOS enhancement request. > > https://quality.livecode.com/show_bug.cgi?id=21737 > > I have an "immersive" module in my

Re: Seeking OSX Code signing consultant...

2018-12-10 Thread Brian Milby via use-livecode
Does the Xcode option for it to manage certificates help?  So far I just compile for iOS testing (don’t have a paid dev account yet), but it automatically updates the cert when needed. Thanks, Brian On Dec 10, 2018, 8:40 PM -0600, prothero--- via use-livecode , wrote: > Folks, > This is sooo ne

Re: Xcode for El Capitan

2018-12-07 Thread Brian Milby via use-livecode
Generally it is better to download Xcode from the Apple developer site than the App Store since you frequently need to have multiple versions around.  Older versions are found there. Thanks, Brian On Dec 7, 2018, 3:22 PM -0600, Paul Dupuis via use-livecode , wrote: > Is there any way or place t

Re: Safari vs Browser Widget

2018-12-05 Thread Brian Milby via use-livecode
This is pretty cool.  It does work on my iPhone (https). Thanks, Brian On Dec 5, 2018, 7:49 PM -0600, hh via use-livecode , wrote: > Some of the newer browser versions need a https connection. So if > http://hyperhh.de/TEST/GUM/GUMX.html doesn't work, then please try > > https://hyperhh.de/TEST/G

Re: revsecurity.dylib is not 64-bit on macOS

2018-12-04 Thread Brian Milby via use-livecode
e fixed in the next LiveCode release. If you can't wait, you > can > > apply the fix locally: > > > > https://github.com/livecode/livecode/pull/6806 > > > > Best, > > Panos > > > > On Mon, Dec 3, 2018, 21:56 Brian Milby via use-livecode < >

Re: revsecurity.dylib is not 64-bit on macOS

2018-12-03 Thread Brian Milby via use-livecode
Just need to de-fat the file. Need to change to the location within the app package in the terminal and use the following command: lipo revsecurity.dylib -remove i386 -output revsecurity.dylib May need to use "sudo". Also, will need to resign the app after doing so. On Mon, Dec 3, 2018 at 3:43

Re: Issues with app delivery!

2018-12-03 Thread Brian Milby via use-livecode
odesign --verbose --deep --force --sign "3rd Party Mac Developer > > Application: MYCOMPANY NAME (KDSK9SJUNK)” --entitlements > > > > assuming you meant --entitlements > > Kee > > > > > If so, yes I did that. > > > > Rick > > >

Re: glo webhooks

2018-12-03 Thread Brian Milby via use-livecode
While GitHub is an example of a server based solution, git does not require a server.  You can establish a repository on your computer and manage a project with version control.  The visual tools do help. Binary files don’t benefit from change tracking, but a tool like Script Tracker can export

Re: Issues with app delivery!

2018-11-28 Thread Brian Milby via use-livecode
When you did the codesign, did you use the "--entitlements" option? (I saw this in a semi-related post on rejections) On Wed, Nov 28, 2018 at 12:26 PM Rick Harrison via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Guys, > > I managed to strip out the old 32 bit stuff leaving > just

Re: Issues with app delivery!

2018-11-27 Thread Brian Milby via use-livecode
Yes, that is the section of code that I was referring to. So you should be able to: lipo revsecurity.dylib -remove i386 -output revsecurity.dylib After changing to the directory containing the file in the terminal. > > ___ use-livecode mailing list us

Re: Issues with app delivery!

2018-11-27 Thread Brian Milby via use-livecode
LC already has code to run lipo when building the app. It currently just operates on externals. The code is in __revSBCopyFile which is a part of revsblibrary.livecodescript. From my initial look, I'm guessing that it also needs to work on revsecurity.dylib as well. Have you tried manually runn

Re: Issues with app delivery!

2018-11-27 Thread Brian Milby via use-livecode
What version of LC? Thanks, Brian On Nov 27, 2018, 11:28 AM -0600, Rick Harrison via use-livecode , wrote: > Here is the problem: > > lipo -info /Users/…(PathToMyAppContents)…/Contents/MacOS/revsecurity.dylib > are: i386 x86_64 > > Notice that at the end it says i386 > > That is what apple is co

Re: Browser widget and PDFs

2018-11-22 Thread Brian Milby via use-livecode
Could this be related to the default app that handles PDF on your Mac? Thanks, Brian On Nov 22, 2018, 11:53 AM -0500, Tore Nilsen via use-livecode , wrote: > I have come across a puzzling phenomenon in how the browser widget handles > pdfs. On my iMac I do no have Adobe Reader or Adobe Acrobat i

Re: Selecting text in non-focused field

2018-11-19 Thread Brian Milby via use-livecode
Are you meaning that you need to highlight text found in another field?   Easiest way to describe what I’m referring to is the LC dictionary.  If you type a term in the search box, the matches are highlighted yellow where they are found (syntax and synonym fields).  Implementation would be comple

Re: directory tree view

2018-11-16 Thread Brian Milby via use-livecode
scussion with LC about being able to see which version of a widget > > is installed in a stack...) > > > > On Fri, Nov 16, 2018 at 11:23 AM Brian Milby via use-livecode < > > use-livecode@lists.runrev.com> wrote: > > > > > It would not work with 8 unles

Re: directory tree view

2018-11-16 Thread Brian Milby via use-livecode
It would not work with 8 unless compiled with 8.  It should work with any release of 9. Thanks, Brian On Nov 16, 2018, 9:06 AM -0600, Mike Kerner via use-livecode , wrote: > Brian, > The widgets are backward-compatible, right? I can include the new version > of the widget and it will work in any

Re: Steamworks API and LiveCode

2018-11-15 Thread Brian Milby via use-livecode
Can you use the web API?  If not, then LCB will need to be used to build the needed module. Thanks, Brian On Nov 15, 2018, 5:58 PM -0600, Antuan Johnson via use-livecode , wrote: > Does anyone have any experience implementing Steam's API with LiveCode? > I'm working on a game that requires the A

Re: directory tree view

2018-11-15 Thread Brian Milby via use-livecode
This just leverages the included widget.  The latest RC no longer needs the hack to clear the hilited item (empty no longer throws an error). Thanks, Brian On Nov 15, 2018, 6:00 PM -0600, Bob Sneidar via use-livecode , wrote: > Do I have to create/compile the widget before being able to use the

Re: Stack Height/Menubar

2018-11-15 Thread Brian Milby via use-livecode
Did you try turning "Set as stack menu bar" off and back on? When I do that, the stack size changes. Or you could do what Klaus mentioned. On Thu, Nov 15, 2018 at 10:26 AM Terence Heaford via use-livecode < use-livecode@lists.runrev.com> wrote: > This is fair enough but you still cannot put anyt

Re: How to find offsets in Unicode Text fast

2018-11-12 Thread Brian Milby via use-livecode
I noticed something similar, but did not have a chance to dig into it. If I copied the complex character that Geoff inserted (is that Kanji?) into the string to search, I also got no results for UTF32. But, if I also copied it into the string to find field, then the results worked partially. Cas

Re: How to find offsets in Unicode Text fast

2018-11-11 Thread Brian Milby via use-livecode
I just tried one additional test. Search for "åå" within "aaååÅÅååaa". (On a Mac keyboard, the characters are made with A, Option-A, and Shift-Option-A.) The Offset UTF16 version does not return the correct result if case sensitive is false (returns the same value as if it were true: 3,7). Every

Re: How to find offsets in Unicode Text fast

2018-11-11 Thread Brian Milby via use-livecode
I just pushed an updated binary stack that adds check boxes for case sensitive and no overlaps. These settings are per card so separate tests can be performed each way. Of note, the search for "The" in John 1 is quite a bit faster if case sensitive is true. Also, if case sensitive is true, then

Re: How to find offsets in Unicode Text fast

2018-11-11 Thread Brian Milby via use-livecode
quot;a" and treat them as the same? > > On Sat, Nov 10, 2018 at 8:54 PM Brian Milby via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > The correct formula for UTF16 should be: > > put tPos div 2 + 1,"" after tResult > > > > The corre

Re: How to find offsets in Unicode Text fast

2018-11-10 Thread Brian Milby via use-livecode
The correct formula for UTF16 should be: put tPos div 2 + 1,"" after tResult The correct formula for UTF32 should be: put tPos div 4 + 1,"" after tResult If you go to card #6 of my stack that is on GitHub, it has the first chapter of John that I copied from the internet. I added a single UTF(8?)

Re: How to find the offset of the last instance of a repeating character in a string? (Geoff Canyon)

2018-11-04 Thread Brian Milby via use-livecode
sier to add more. > > Thanks, > Brian > On Nov 4, 2018, 10:02 PM -0600, Mark Wieder via use-livecode < > use-livecode@lists.runrev.com>, wrote: > > On 11/4/18 4:45 PM, Brian Milby via use-livecode wrote: > > My updated solution always looks for overlap but if none a

Re: How to find the offset of the last instance of a repeating character in a string? (Geoff Canyon)

2018-11-04 Thread Brian Milby via use-livecode
I’m working on an update to the stack now. Moving buttons to the left side to make it easier to add more. Thanks, Brian On Nov 4, 2018, 10:02 PM -0600, Mark Wieder via use-livecode , wrote: > On 11/4/18 4:45 PM, Brian Milby via use-livecode wrote: > > My updated solution always

Re: How to find the offset of the last instance of a repeating character in a string? (Geoff Canyon)

2018-11-04 Thread Brian Milby via use-livecode
My updated solution always looks for overlap but if none are found it uses optimized versions of the search (private functions instead of inside the main function). I special case for no overlap and a single overlap in the delimiter. It is about the same speed as Geoff’s. Thanks, Brian On Nov 4

Re: How to find the offset of the last instance of a repeating character in a string? (Geoff Canyon)

2018-11-04 Thread Brian Milby via use-livecode
Logic matches my solution. I also validated my solution using just the offset function. Speed hit for with overlap is similar. One possible optimization: put kList is not empty into pWithOverlaps If with overlaps was requested but the source delimiter did not contain any overlaps, then the ext

Re: How to update a css file when using the Browser widget

2018-11-03 Thread Brian Milby via use-livecode
Is this on Mac? I've seen it when working on the LC Dictionary (where I was messing with the CSS). I don't think it is LC, but rather Safari (WebKit). I think that I recall that reloads were easier on Windows. I did not find a solution other than restarting the IDE that I can recall, but would

Re: How to find the offset of the last instance of a repeating character in a string? (Geoff Canyon)

2018-11-03 Thread Brian Milby via use-livecode
I've posted a binary stack version that includes my version. I cloned and made a "bwm" branch in my clone. Here's the direct link to the script with the posted code (updated to use private functions): https://github.com/bwmilby/alloffsets/blob/bwm/bwm/allOffsets_Scripts/stack_allOffsets_button_i

Re: How to find the offset of the last instance of a repeating character in a string? (Geoff Canyon)

2018-11-03 Thread Brian Milby via use-livecode
Good catch Alex. My code was closer, but didn't handle repeating characters correctly. Here is an updated version. function allOffsets2 D,S,pCase local dLength, C, R -- returns a comma-delimited list of the offsets of D in S set the caseSensitive to pCase is true set the itemDel to D

Re: How to find the offset of the last instance of a repeating character in a string? (Geoff Canyon)

2018-11-02 Thread Brian Milby via use-livecode
Here is something... probably needs some optimization function allOffsets2 D,S,pCase local dLength, C, R -- returns a comma-delimited list of the offsets of D in S set the caseSensitive to pCase is true set the itemDel to D put length(D) into dLength put 1 - dLength into C if

Re: problem with mobileSetKeyboardType

2018-11-02 Thread Brian Milby via use-livecode
Are those commands being executed before the keyboard is displayed? Thanks, Brian On Nov 2, 2018, 4:49 PM -0500, Mike for GDC via use-livecode , wrote: > I have not been able to get the "mobileSetKeyboardType" command to work on > my android. I have tried various options, such as: > > > > on open

Re: tree view hide key

2018-11-02 Thread Brian Milby via use-livecode
v 1, 2018 at 7:29 PM Brian Milby via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > Well, testing any of the fixes would require you to download the widget and > > build it as none of the 9.1 builds are out yet. > > > > I did have an idea about man

Re: tree view hide key

2018-11-01 Thread Brian Milby via use-livecode
vior which allows me to nest behaviors, so until > that gets bundled into a release I cannot test any new changes (at least > not with my current project). > > Bob S > > > > On Oct 30, 2018, at 15:47 , Brian Milby via use-livecode < > use-livecode@lists.run

Re: tree view hide key

2018-10-31 Thread Brian Milby via use-livecode
or a node. > > > On Tue, Oct 30, 2018 at 6:43 PM Brian Milby via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > What kind of work? Here are a couple that I can think of that are not > > easily addressed: > > - Arbitrary sort would take

Re: tree view hide key

2018-10-30 Thread Brian Milby via use-livecode
What kind of work? Here are a couple that I can think of that are not easily addressed: - Arbitrary sort would take significant changes (a couple options: 2 part key [1,firstkey], [2,asecondkey] or restructuring the array format to something like [key][title], [key][value] where the title and opt

<    1   2   3   4   5   6   7   8   9   10   >