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

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 =

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

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

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

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: > >

Re: Forum: Waves of Russian Nonsense

2017-08-12 Thread Brian Milby via use-livecode
I guess we can use the "foe" feature to hide their posts (turns them into a single line).I'll see what it does to the digest shortly. > > On Aug 12, 2017 at 1:55 PM, (mailto:use-livecode@lists.runrev.com)> wrote: > > > > Someone left the back door off the latch:

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

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

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

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: Understanding LiveCode Source [BOM Issue with livecodescript URLs]

2017-08-07 Thread Brian Milby via use-livecode
- anything else will result in > a *seemingly* dismissive response. (ie don't expect huge support from us > for very broad changes without long running interaction and justification). > > P.P.S. I've learnt the above from tangible and *very* direct cost. The >

Re: Parent of Target

2017-08-09 Thread Brian Milby via use-livecode
Pretty funny... reading the conversation and I immediately thought "pointer". > > On Aug 9, 2017 at 4:17 PM, (mailto:use-livecode@lists.runrev.com)> wrote: > > > > On 08/09/2017 01:48 PM, Monte Goulding via use-livecode wrote: > One day I > dream of an

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

Re: Developing first on android

2017-08-18 Thread Brian Milby via use-livecode
to contribute a useful new feature. On Fri, Aug 18, 2017 at 11:56 AM, Mark Waddingham via use-livecode < use-livecode@lists.runrev.com> wrote: > On 2017-08-18 18:05, Brian Milby via use-livecode wrote: > >> What about a non-binary stack file format? Something XML based and

Re: Developing first on android

2017-08-18 Thread Brian Milby via use-livecode
with ID's and linked graphics and whatnot just copying a button with a > linked graphic to another card. > > Bob S > > > > On Aug 18, 2017, at 15:12 , Brian Milby via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > If I'm understanding correctly,

Re: Applescript Fails in Standalone on Mac Built with 8.1.6

2017-08-18 Thread Brian Milby via use-livecode
I'll see if I can figure out a way to make a test like this work. On Fri, Aug 18, 2017 at 12:01 PM, Mark Waddingham via use-livecode < use-livecode@lists.runrev.com> wrote: > On 2017-08-18 18:14, Brian Milby via use-livecode wrote: > >> I'm so new I can't address the histor

Re: Developing first on android

2017-08-20 Thread Brian Milby via use-livecode
What about handlers?Stacks already call preOpenStack and related handlers. Adding handlers that get called automatically would leave it as script only but allow for post-load initialization.I haven't looked to see what is already processed though. > > On

Re: Developing first on android

2017-08-20 Thread Brian Milby via use-livecode
t; > On 21 Aug 2017, at 5:48 am, Brian Milby via use-livecode wrote: > > > What about handlers? Stacks already call preOpenStack and related handlers. > Adding handlers that get called automatically would leave it as script only > but allow for post-load initialization.

Re: attaching my group id to a control in a subgroup

2017-08-22 Thread Brian Milby via use-livecode
> > > It would need to be a group-level function, which isn't a problem. I'm > always hesitant, though, to rely on "me" [and finding "me" in the > dictionary is an adventure in itself . . . {now *Bug 20289* > - "me" is nearly > impossible to

Re: LiveCode 8.2.0 DP-1 Dropping Keystrokes in IDE

2017-09-20 Thread Brian Milby via use-livecode
Do you experience the same issue when editing the IDE behavior stacks? For example revidelibrary (12k lines)? I ask because I tried to duplicate the issue on my system (Win10, HP EliteBook 840G1) and could not. I don't have any stacks that I know of with that many lines to check though (other

Re: Best way to copy from one stack to another

2017-09-21 Thread Brian Milby via use-livecode
Just thought I'd try this out and see if there is another option. If you right click on a card and dismiss the pop-up menu, then the edit menu changes to "Cut Card", "Copy Card", "Clear Card", and "Duplicate Card" although Clear and Duplicate don't seem to do anything. Probably not much more

Re: Moving on from 8.* to 9.*

2017-09-21 Thread Brian Milby via use-livecode
DP9 should have the fixes from the 8 branch. Essentially any bug fix on the 8.1 branch will get merged into the 8.2 branch. Any bug fixes from 8.1 or 8.2 will get merged into the 9.0 branch. In GitHub, there have been a bunch of these type of merges recently. If you are up to compiling the

Re: (Browser) Widget documentation

2017-09-20 Thread Brian Milby via use-livecode
First stop is the Dictionary. Use the API drop down menu to select the widget - Segmented Control or Browser. I'm not sure about the second question (but I know it is possible, just don't know the details). On Wed, Sep 20, 2017 at 9:28 AM, Ben Rubinstein via use-livecode <

Re: [ANN] Release 8.2.0 DP-1

2017-09-13 Thread Brian Milby via use-livecode
For the autocomplete feature, would discussion be better in a thread here or in bugzilla? Some things that I'm looking at could just be considered developer preferences vice actual bugs. Here are a few examples: - there is no indication that you are at the end of a list so the down arrow will

Re: LiveCode 8.2.0 DP-1 Dropping Keystrokes in IDE

2017-09-20 Thread Brian Milby via use-livecode
Yes, that is the file. I have IDE stacks show in the browser and get to the scripts that way. There are quite a few with many thousands of lines, that just happens to be the largest. On Wed, Sep 20, 2017 at 7:55 AM, RunRevPlanet via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi

Re: Segmented Control Bugs?

2017-10-03 Thread Brian Milby via use-livecode
Look at the description for the widget. Appears there isn’t a separate dictionary entry. On Tue, Oct 3, 2017 at 1:43 PM Sannyasin Brahmanathaswami via use-livecode < use-livecode@lists.runrev.com> wrote: > I may be blind today… been tracing code for three days… > > see all props listed in the API

Re: Segmented Control Bugs?

2017-10-03 Thread Brian Milby via use-livecode
That’s what I was just looking at. Develop branch impacted, 8.1 & 8.2 are good. On Tue, Oct 3, 2017 at 3:18 PM Ali Lloyd via use-livecode < use-livecode@lists.runrev.com> wrote: > Oh, looks like the docs for the segmented control have become mangled > somehow... perhaps a mis-merge. > > On Tue,

Re: Segmented Control Bugs?

2017-10-03 Thread Brian Milby via use-livecode
I think Ali is already on it. He found the commit with the removal. On Tue, Oct 3, 2017 at 3:49 PM James At The Hale via use-livecode < use-livecode@lists.runrev.com> wrote: > Pants wrote>, > > Sorry, I should have been more clear. The "hiliteChanged" is a > **message** > > related to the

mergHK (Health Kit) assistance request

2017-10-09 Thread Brian Milby via use-livecode
Just wanted to do a quick check to see if anyone is currently using mergHK successfully with recent releases. I was able to get the authorization to work, but every time I attempt a query I get an error like: "HKSampleSortIdentifierEndDate is not a valid sort key for samples of type

Re: Subscript and Superscript

2017-09-10 Thread Brian Milby via use-livecode
Or, the way the engine does it is to use "the textshift"... set the textShift of char 2 of field "textField" to -4 --superscript set the textShift of char 5 of field "textField" to 4 --subscript The IDE uses a handler called "ideStyleText" located in stack "revidelibrary" if you want to take a

Re: I just posted an Augmented Earth sample stack on LiveCode share

2017-09-07 Thread Brian Milby via use-livecode
With the possibility of tethering, it would be reasonable to see iPad users able to roam with the assistance of an iPhone or another device.So cellular isn't absolutely required as long as wifi is available. > > On Sep 7, 2017 at 3:34 AM,

Re: Getting saucy

2017-09-10 Thread Brian Milby via use-livecode
. > > Most open source efforts supply a folder with the build files inside it > rather > than forcing people down the slightly recherché route of git-hub. > > Richmond. > > > On 9/10/17 5:46 pm, Brian Milby via use-livecode wrote: > >> A little more involved. I'v

Re: Getting saucy

2017-09-10 Thread Brian Milby via use-livecode
A little more involved. I've only done it on Mac, but start here: See https://github.com/livecode/livecode/blob/develop/README.md You need to clone the git repository to your machine and have the build tools setup for your platform. I'm not sure about the "install" part though... I've just been

Re: Getting saucy

2017-09-10 Thread Brian Milby via use-livecode
I'll add that it did not take that much to get it up and running on Linux. I had an Ubuntu 16.04 ISO already so I built a VM and updated everything. I used the commands on the build-linux.md file to get all of the dev software installed. The only package missing was java... (sudo apt-get install

Re: [ANN] Release 8.1.7 RC-1

2017-09-05 Thread Brian Milby via use-livecode
I guess I need to get a VM configured with Linux to test.I've been trying to help with the dictionary but so far only testing with Mac/Win.One thing I do notice is that it does take a while to load.Switching to the guide and back to API usually has it finish loading.Of

Re: not really OT: The Coming Software Apocalypse

2017-09-30 Thread Brian Milby via use-livecode
Good read.Thanks! > > On Sep 30, 2017 at 12:31 PM, (mailto:use-livecode@lists.runrev.com)> wrote: > > > > Long read, but worth the effort: > https://www.theatlantic.com/technology/archive/2017/09/saving-the-world-from-code/540393/ > -- Mark Wieder

Re: Array literals and script only stack initialization (was Re: Developing first on android)

2017-08-21 Thread Brian Milby via use-livecode
I think there may be a strategy to avoid a large part of the ID collision issue.Wouldn't need full on UUIDs, just assign a range to each developer working the UI.Upon import they could even be collapsed down to the natural order range or left as is.It would require the

Re: Search Values of Array in "One Go"

2017-08-25 Thread Brian Milby via use-livecode
I created a stack to do some testing to see about making a function that could do multiple types of tests. What I found was that adding another if at that point added about 6% to the search time and a second level (else if) added another 10% (16% total). (I added a parameter for search type -

Re: Search Values of Array in "One Go"

2017-08-25 Thread Brian Milby via use-livecode
tElement isn't the part that would change (you are still searching against a single value in the array), you would need to modify the comparison to allow for pNeedle to contain multiple values and the operators. It would probably be easier to modify to use a RegEx. If you have 2 comma separated

Re: Search Values of Array in "One Go"

2017-08-26 Thread Brian Milby via use-livecode
dly via use-livecode < use-livecode@lists.runrev.com> wrote: > I think regex (or multiple string comparisons) is too limited a way to go. > > I would want to be able to do numeric comparisons, range comparisons, etc. > > e.g. x is a number, x<25, 24 < x < 33, etc. > &

Re: Search Values of Array in "One Go"

2017-08-26 Thread Brian Milby via use-livecode
ode@lists.runrev.com> wrote: > Please do post your stack… over at the forums? > > On 8/26/17, 12:21 PM, "use-livecode on behalf of Brian Milby via > use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of > use-livecode@lists.runrev.com> wrote: > > I'm

Re: Bad Crash on Attempt to Group Radio Buttons

2017-08-26 Thread Brian Milby via use-livecode
"select\b" will make finding it a little easier. > > On Aug 26, 2017 at 11:49 PM, (mailto:use-livecode@lists.runrev.com)> wrote: > > > > On 8/26/17 10:41 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > > So, what is this "selectable" property? It's the

Re: Bad Crash on Attempt to Group Radio Buttons

2017-08-27 Thread Brian Milby via use-livecode
I think that may be better. Since JavaScript doesn't preserve pre-sort order, I think additional comparisons are needed to maintain the alpha sort. While we can use a trailing "\b" to match word ending (makes exact word be prioritized), using something like a quote

Re: Bad Crash on Attempt to Group Radio Buttons

2017-08-27 Thread Brian Milby via use-livecode
I've been working on the dictionary and would like to improve it even more. Changes to the selection logic will probably need concurrence from the LC folks.Right now the search is performed on the name and the syntax. Priority is given to terms that match the start of a word.

Re: Bad Crash on Attempt to Group Radio Buttons

2017-08-27 Thread Brian Milby via use-livecode
PR submitted... https://github.com/livecode/livecode-ide/pull/1713 http://quality.livecode.com/show_bug.cgi?id=20289 On Sun, Aug 27, 2017 at 4:33 PM, Brian Milby wrote: > I think that may be better. > > Since JavaScript doesn't preserve pre-sort order, I think additional >

Re: Bad Crash on Attempt to Group Radio Buttons

2017-08-28 Thread Brian Milby via use-livecode
grc is a synonym for graphic actually On Mon, Aug 28, 2017 at 6:15 PM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > grc is not a token. I guess you are using an acronym. I hate acronyms. ;-) > > Bob S > > > > On Aug 28, 2017, at 12:01 , Randy Hengst via use-livecode < >

Re: Array literals and script only stack initialization (was Re: Developing first on android)

2017-08-21 Thread Brian Milby via use-livecode
What about something like import into [objectRef] from array [arrayRef] OR update [objectRef] from array [arrayRef] where the array would be in the format of the export and the object would be an existing object. I've been looking at the code and think that it would be straightforward to

Re: Developing first on android

2017-08-18 Thread Brian Milby via use-livecode
What about a non-binary stack file format? Something XML based and derived from the actual in-memory stack object (would need to be integrated with the IDE/engine to be really useful though - to allow seamless/native import/export). > Mike Kerner wrote: > > > I've been thinking of developing a

Re: Applescript Fails in Standalone on Mac Built with 8.1.6

2017-08-18 Thread Brian Milby via use-livecode
I'm so new I can't address the history but seeing where the fix was implemented it should not fall out unless the build process is significantly changed.It is in the same place all of the language localization files are specified. Thanks, Brian > > On Aug 18, 2017

Re: [off]macbook model

2017-08-31 Thread Brian Milby via use-livecode
I have a late 2014 iMac (27" Retina) and really like the large screen. I'm just getting into LC, but the screen is great for having lots of stuff on screen visible at once. I do miss the portability a bit. I make do with Win laptops when away from my iMac. On Thu, Aug 31, 2017 at 9:10 PM,

Re: Segmented Control Bugs?

2017-10-07 Thread Brian Milby via use-livecode
I've posted a PR that should address this issue: https://github.com/livecode/livecode/pull/6044 I created a stack with a segmented control with a substack with a segmented control. As you described, the hiliteChanged message was dispatched for both controls upon opening the stack. In my case, I

Re: "export snapshot" still NOT in 8.1.7

2017-11-27 Thread Brian Milby via use-livecode
Try this: put the defaultfolder My guess is that it is now a non-writable destination which is why you are not seeing a new file. On Mon, Nov 27, 2017 at 12:13 PM Richmond Mathewson via use-livecode < use-livecode@lists.runrev.com> wrote: > With LC 7.1.4 on Mac OS 10.7.5 the default folder on my

Re: Replacetext taking forever under 8.1.7

2017-11-27 Thread Brian Milby via use-livecode
Just tried this snip: *-- revidelibrary.8.livecodescript full path in the text field**put* url ( "file:" & the text of field "fileName") into holdIt1 *put* the milliseconds into tStart *put* replacetext(holdIt1,"[ ]{2,10}",empty) into holdIt *put* the milliseconds into tEnd *put* cr & tEnd -

Re: New Books/Dictionary

2017-11-25 Thread Brian Milby via use-livecode
Are you just talking about the lack of full text search? The dictionary seems to work ok on my iPad (served from my server). CSS and HTML need more tweaks to work well on a phone sized device. On Sat, Nov 25, 2017 at 11:34 AM Pi Digital via use-livecode < use-livecode@lists.runrev.com> wrote:

Re: Replacetext taking forever under 8.1.7

2017-11-29 Thread Brian Milby via use-livecode
I downloaded 8.1.2 and performed the same test as above and the difference was substantial. I’m on a different machine, but the times appear consistent with the test I did on 7.x on the other one. On Tue, Nov 28, 2017 at 11:49 AM Thierry Douez via use-livecode < use-livecode@lists.runrev.com>

Re: Sending a message to users that floats above everything

2017-12-03 Thread Brian Milby via use-livecode
There are actually 2 PRs for toast... one LCB and another in the engine itself. 5860 & 5018 On Sun, Dec 3, 2017 at 5:09 PM Monte Goulding via use-livecode < use-livecode@lists.runrev.com> wrote: > > > On 4 Dec 2017, at 10:01 am, J. Landman Gay via use-livecode < > use-livecode@lists.runrev.com>

Re: At this point, what's the shortest path to an iOS/Android app?

2017-12-16 Thread Brian Milby via use-livecode
Take a look at this thread in the forum: http://forums.livecode.com/viewtopic.php?f=7=30018 The issue where the GM and PM don't natively work on mobile should be fixed soon (already merged on the develop-8.2 branch). The example stack in that thread includes the necessary code for them to work

Re: Screen Resolution for Desktop Apps

2017-12-16 Thread Brian Milby via use-livecode
Richard, can you outline some of the issues you have seen with the GM (or point to a thread where it was discussed). On the surface it looks like a good way to handle many types of positioning needs. There were a couple of oddities in the code that I’ve looked at already. On Sat, Dec 16, 2017 at

Re: Script Editor problem

2017-12-12 Thread Brian Milby via use-livecode
Sounds like Devolution On Tue, Dec 12, 2017 at 1:37 PM Mike Kerner via use-livecode < use-livecode@lists.runrev.com> wrote: > Well, if we ever group-hack the ide, maybe you could build it, Bob. I'd > like that. > > On Tue, Dec 12, 2017 at 2:30 PM, Bob Sneidar via use-livecode < >

Re: rename folder not working?

2017-12-14 Thread Brian Milby via use-livecode
Did you try: revMoveFolder "/Users/bobsneidar/Documents/Installs/Childrens Law Center/201", "/Users/bobsneidar/Documents/Installs/bobtest" This should move “201” from point a to b. For non-win32 it just uses the mv shell command anyway. (mv does not like ~ though). Also, you can get the result

Re: At this point, what's the shortest path to an iOS/Android app?

2017-12-18 Thread Brian Milby via use-livecode
The demo stack on the thread I mentioned lets you switch between the different fullscreen modes to see how it impacts the display. You could add a background image as suggested to see how that worked too. On Mon, Dec 18, 2017 at 9:31 PM Sannyasin Brahmanathaswami via use-livecode

Geometry Manager (was Screen Resolution for Desktop Apps)

2017-12-17 Thread Brian Milby via use-livecode
ed. > > Richmond. > > On 17/12/17 11:06 pm, J. Landman Gay via use-livecode wrote: > > On 12/17/17 2:54 PM, Mark Wieder via use-livecode wrote: > >> On 12/16/2017 12:06 PM, Brian Milby via use-livecode wrote: > >>> Richard, can you outline some of the issues

Re: Script Editor problem

2017-12-12 Thread Brian Milby via use-livecode
Without even looking I would say yes. A plug-in (like Devolution) would not get touched though (and would have the same settings across different versions). On Tue, Dec 12, 2017 at 3:19 PM Mike Kerner via use-livecode < use-livecode@lists.runrev.com> wrote: > Sorry, I thought my tongue-in-cheek

Re: iPhone X Screen Dimensions and the screenRect function

2017-11-18 Thread Brian Milby via use-livecode
My guess is that until we can provide a correctly sized Splash Screen that the engine on the phone is going to see the iPhone 6 size. You can see the same thing if you do not provide any splash screens and the size will be like the 4 inch (which is the default that is included). On Sat, Nov 18,

Re: Relative Paths in Property Inspector

2017-11-01 Thread Brian Milby via use-livecode
PR submitted: https://github.com/livecode/livecode-ide/pull/1817 For bug: http://quality.livecode.com/show_bug.cgi?id=17287 Not sure how it will be received, but it uses the pref to always use absolute path names for images to decide whether to convert a path to relative. On Sun, Oct 29, 2017

Re: iPhone X or "Apple is just the most annoying company of all time"

2017-11-02 Thread Brian Milby via use-livecode
With the X Apple is suggesting that the status bar not be turned off in most cases. That would eliminate the issue of the top side cut out. You should be able to use the screenrect to determine device (I guess) and not hide. On Thu, Nov 2, 2017 at 12:07 PM Bob Sneidar via use-livecode <

Re: Control properties not included in the Property Inspector

2017-11-06 Thread Brian Milby via use-livecode
Wow... almost looks like you will need to use a script to go through all of those files and ensure the lines each have the correct number of tabs. On Mon, Nov 6, 2017 at 5:33 PM Monte Goulding via use-livecode < use-livecode@lists.runrev.com> wrote: > > I did the first bit then realised that the

Re: Control properties not included in the Property Inspector

2017-11-06 Thread Brian Milby via use-livecode
Funny that I was just looking at the code that loaded these files but had not gotten to look for them yet. On Mon, Nov 6, 2017 at 4:13 PM Monte Goulding via use-livecode < use-livecode@lists.runrev.com> wrote: > > > On 7 Nov 2017, at 8:47 am, Phil Davis via use-livecode < >

Re: Was I hallucinating? Totally OT, perhaps relevant

2017-11-08 Thread Brian Milby via use-livecode
I would need to look, but I recall Apple making a big deal about Siri doing the wake up completely on device and not transmitting anything unless actually doing a query. This was around the time the 6 or 6S came out with the always listening option. (Of course I do occasionally wake her up

Re: LC Server style survey: co-mingle code w/HTML?

2017-12-09 Thread Brian Milby via use-livecode
Human readable conversion would be easier if multi-line strings were supported (without the manual splitting currently needed). This would allow a single put statement between LC blocks of code and no need to fuss about quote characters. Then you would only need to worry about handler

Re: Relative Paths in Property Inspector

2017-10-29 Thread Brian Milby via use-livecode
So the ask is for a check box in the PI (near the source field with a label like “Relative path”)? And when checked, the PI would automatically trim the path to be relative to the stack file (probably with the assumption that it only goes down the hierarchy). Or are you asking for a preference

Re: I Hate Full Screen!

2017-10-29 Thread Brian Milby via use-livecode
Looks like a regression in 8 from 7. Just did a quick test and don’t see the issue in 7.1.4 but do in 8/9. Bug 18213 On Sun, Oct 29, 2017 at 9:55 PM Roger Guay via use-livecode < use-livecode@lists.runrev.com> wrote: > Why can’t I set the decorations of a stack to only “Title” without that >

Re: Autosaving stacks corrupted on network drives

2017-10-25 Thread Brian Milby via use-livecode
The stack file isn’t a package. If using an old format, then it may have a resource fork. The stack is read into memory and the file closed (not sure how resource fork stuff is handled though). On Wed, Oct 25, 2017 at 12:16 PM Mike Kerner via use-livecode < use-livecode@lists.runrev.com> wrote:

Re: Mobile Device Physical Size

2017-10-21 Thread Brian Milby via use-livecode
iPhone6SPlus: 5.5" 1242x2208 414x736 414x736 3 On Sat, Oct 21, 2017 at 3:54 PM, Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > Yesterday, in reply to Ralph's post I included these notes about mobile > metrics: > > > ...it seems that LC's resolution-independence works

Re: I Hate Full Screen!

2017-10-31 Thread Brian Milby via use-livecode
t; > > > On Oct 31, 2017, at 7:45 AM, Bob Sneidar via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > If you option-click the zoom on a Mac, it uses the old zoom where the > menus are still visible. > > > > Bob S > > > > > &

Re: I Hate Full Screen!

2017-10-30 Thread Brian Milby via use-livecode
Oct 2017, at 12:03 pm, Brian Milby via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > I figured out how to disable full screen and replace it with the old > zoom, > > but that isn’t really that much of an improvement. Something in the SDK > has &g

Re: I Hate Full Screen!

2017-10-30 Thread Brian Milby via use-livecode
(think > three palettes for tmc2) they would go left or right depending on need. > > On Sun, Oct 29, 2017 at 11:18 PM, Brian Milby via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > Looks like a regression in 8 from 7. Just did a quick test and don’

Re: Relative Paths in Property Inspector

2017-10-30 Thread Brian Milby via use-livecode
use-livecode < use-livecode@lists.runrev.com> wrote: > Yes, Brian. So I'm not sure what you're getting at. > > On Mon, Oct 30, 2017 at 3:07 PM, Brian Milby via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > ./ is current directory. ~/ is the user h

Re: Relative Paths in Property Inspector

2017-10-30 Thread Brian Milby via use-livecode
./ is current directory. ~/ is the user home directory. On Mon, Oct 30, 2017 at 2:00 PM Mike Kerner via use-livecode < use-livecode@lists.runrev.com> wrote: > Actually the ~ is a unix convention, so it is also used in Linux. > > On Mon, Oct 30, 2017 at 2:24 PM, Bob Sneidar via use-livecode < >

Re: Background Long IDs

2018-05-06 Thread Brian Milby via use-livecode
@Mark, same as before. If the card has been visited then it starts with group, if not it starts with bkgnd. @Richard, probably more than you asked, but this is the project in a nutshell... The end goal is to enable a binary stack to have the scripts within tracked via GitHub. A closely related

Re: Background Long IDs

2018-05-06 Thread Brian Milby via use-livecode
Could be where it is being referenced. From the message box: put the long id of background id 1020 of stack "AutoScriptSaver" Returns: bkgnd id 1020 of stack "/Users/milby/Desktop/AutoScriptSaver.livecode" Until after I visit the card, when it changes to: group id 1020 of card id 1025 of stack

Re: Background Long IDs

2018-05-06 Thread Brian Milby via use-livecode
I've pushed an initial version to GitHub: https://github.com/bwmilby/lc-misc/tree/master/ScriptTracker The code is also there with the stack so it can be viewed online without downloading the stack. The code was exported from itself, so you can see how it constructs the exports. If you enable

Re: Has Anyone Got A Directory \\\"Walker\\\" Available

2018-05-07 Thread Brian Milby via use-livecode
I think we may be in the territory of pre-mature optimization. There is going to be a bit more overhead creating a copy-on-write object than a pass-by-reference object, but the real gains (over the old way) are going to be seen with objects that are “large”. If you run a profiler and need to

Re: Background Long IDs

2018-05-07 Thread Brian Milby via use-livecode
Not by the engine. There may be a better way, but the code is in button 1003. _getObjectLongName starts on line 421. I built the long ID on line 171. On Mon, May 7, 2018 at 2:24 PM Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > Brian Milby wrote: > > > The end goal is

Re: MacOS 10.13 crashes LC after color dialog

2018-05-08 Thread Brian Milby via use-livecode
I’m pretty sure it is EOL. On Tue, May 8, 2018 at 4:43 PM tbodine via use-livecode < use-livecode@lists.runrev.com> wrote: > Just ran into this bug, which I see is fixed for LC 8.x and up. But can > this > fix also be done for LC 7.x? Or is 7 EOL? > Tom B. > > > > -- > Sent from: >

Re: Navigation Widget Suppressing the hiliteChanged Message

2018-05-08 Thread Brian Milby via use-livecode
It is still a curious question. Should widgets be aware of the message lock state (and not post) or is it a bug or is there another explanation? On Tue, May 8, 2018 at 6:36 PM Ralph DiMola via use-livecode < use-livecode@lists.runrev.com> wrote: > That's what I finally did. App works now. Thanks!

Re: date libraries/routines for LCG

2018-05-09 Thread Brian Milby via use-livecode
Is this one on your list? LiveCode library to handle date and time functions https://github.com/derbrill/libdate On Wed, May 9, 2018 at 8:57 AM Mike Kerner via use-livecode < use-livecode@lists.runrev.com> wrote: > Yep, Master is on my list, but I should make sure I pull the latest > version. >

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

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>

Re: How to turn off editor formatting

2018-05-09 Thread Brian Milby via use-livecode
May want to take a look at my script tracker stack. It exports the scripts of a stack to text files and has a folder watcher to import them back when they change. Should allow the use of Atom to edit the scripts. I’ve only tested on small stacks though. It was posted on another thread but I could

Re: How to turn off editor formatting

2018-05-09 Thread Brian Milby via use-livecode
It is all under the Edit... Options menu of the SE. On Wed, May 9, 2018 at 4:07 PM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > No work. First, there does not seem to be an option for turning off > auto-complete. Also, turning off auto-format seems to not effect anything

Re: Background Long IDs

2018-05-08 Thread Brian Milby via use-livecode
I opened a stack where the shared/BG groups are not on the first card and immediately issued the following in the message box: put the long id of group "BG1" of card 1 of stack "AutoScriptSaver" put the long id of group "SG1" of card 1 of stack "AutoScriptSaver" In both cases I get: Error

Background Long IDs

2018-05-05 Thread Brian Milby via use-livecode
I'm working on a script exporter and have the following line of code: put the long id of background ID tObjectID of tStackLongID into tObjectLongID What is peculiar is that I get the following different values: bkgnd id 1021 of stack "AutoScriptSaver" group id 1021 of card id 1025 of stack

More Long ID Differences

2018-05-19 Thread Brian Milby via use-livecode
I found another example where the long id of an object is different depending on whether the card has been visited or not. The following command in the message box: put the long id of button id 1015 of stack "ScriptTrackerPrefs" of stack "ScriptTracker" Will generate 2 different results:

Re: Splash-stack apps on Google Play

2018-05-21 Thread Brian Milby via use-livecode
Would you need to go full “splash stack”? Could you have a “supplemental data” stack that is checked for/updated on launch and has data inside it to update any objects that need to be adjusted? On Mon, May 21, 2018 at 10:52 AM J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote:

Re: LC & Java

2018-05-21 Thread Brian Milby via use-livecode
The LiveCode cheat sheet for JavaScript is probably a good thing to look at. That will show some of the common syntax elements. On Mon, May 21, 2018 at 6:25 PM Tom Glod via use-livecode < use-livecode@lists.runrev.com> wrote: > I totally meant JavaScript > > On Mon, May 21, 2018 at 6:31 PM,

Re: how to clear residual garbage in a stack?

2018-05-22 Thread Brian Milby via use-livecode
Did you attempt to do a “save as” on the stack? From what you described it sounds like LC wrote the file in place but did not truncate what was there after the EOF so extra data was there on the end. Need to try this on Mac/Linux to see if it does the same thing. On Tue, May 22, 2018 at 9:14 AM

Re: Splash-stack apps on Google Play

2018-05-21 Thread Brian Milby via use-livecode
The dictionary entries that you want are "encrypt using rsa", "decrypt using rsa", and "messageDigest'. High level process... - Generate a public/private key pair - Package the file that you want to ensure is not tampered with - Generate a hash of the file (messageDigest) - Encrypt the hash with

Re: Splash-stack apps on Google Play

2018-05-23 Thread Brian Milby via use-livecode
t;> Can’t make any changes to the stack once you generate the hash or > >>> it will not match. > >>> > >>> On Tue, May 22, 2018 at 2:41 PM J. Landman Gay via use-livecode > >>> <use-livecode@lists.runrev.com> wrote: > >>> Would

  1   2   3   4   5   6   7   8   >