Re: Using a variable for an array name

2017-02-01 Thread Richard Gaskin via use-livecode
Peter Bogdanoff wrote: > I have arrays: > tArray1 > tArray2 > tArray3 > tArray4 > > I want to get data from one of them: > > put “tArray” & “1” into tVar > put tVar [“Text”] into tText1 > > tText1 is empty. > > Is there a way to get the data from the arrays without doing this > kind of thing for

Re: Using a variable for an array name

2017-02-01 Thread Richard Gaskin via use-livecode
Peter Bogdanoff wrote: > Richard, I’ve heard that “do” is slow because it must be compiled > every time. I am reiterating this possibly hundreds of times, so > it is probably much better to combine the arrays into a Big Array? It'll be a little faster, and to my eye much more readable. "Do" is

Difference between "html" and "htmlText" in clipboardData?

2017-02-01 Thread Richard Gaskin via use-livecode
The Dictionary entry for clipboardData lists these among the array keys: - htmlText: LiveCode HTML text - html: styled text in LiveCode HTML format What is the difference between "LiveCode HTML text" and "LiveCode HTML format"? If there is no difference and they're both LC's htmlText, why

Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-02 Thread Richard Gaskin via use-livecode
Earlier this morning I wrote in reply to Mark Waddingham: > My question arose because a forum user found an interesting > workaround for making backgroundColor in text pastable into other > applications - this post gets to the meat (the thread as a whole > is long): >

Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-01 Thread Richard Gaskin via use-livecode
Stephen Barncard wrote: > On Wed, Feb 1, 2017 at 4:46 PM, Richard Gaskin wrote: > >> The Dictionary entry for clipboardData lists these among the array >> keys: >> >> - htmlText: LiveCode HTML text >> - html: styled text in LiveCode HTML format >> >> What is the difference between "LiveCode HTML

Re: Yertle the Turtle

2017-01-31 Thread Richard Gaskin via use-livecode
Richmond Mathewson wrote: > Being a fan of Seymour Papert . . . > > I thought I'd try and implement turtle graphics in Livecode. Have you seen Jim Hurley's?: http://jamesphurley.com/Revolution.html -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop,

Re: Launch URL with LInk Back to LC App

2017-01-31 Thread Richard Gaskin via use-livecode
Sannyasin Brahmanathaswami wrote: > Ralph > > Thanks, hacking the pList definitely works! > > I guess Apple doesn't care, right? I would imagine not, since they defined the plist and included that value for that purpose. I suppose the question for us is: Why isn't this supported in LC as an

Re: Yertle the Turtle

2017-01-31 Thread Richard Gaskin via use-livecode
Quentin Long wrote: > Suggestion for RM to try: Don't fuss about non-integer points—do all > the necessary calculations "under the hood", and just let point- > coördinates be assigned the resulting non-integer numbers as needed. > With any luck, LC will make this "just work" on your screen.

Re: Browser Widget/HTML5/LC Integration

2017-01-31 Thread Richard Gaskin via use-livecode
Alex Tweedly wrote: > HTML also has something else - CSS, The object inheritance model in > LC allows you to inherit properties (e.g. colour, margins, etc.) for > your objects - but it doesn't have any easy way to classify together > (I wanted to say "group" but that would get confusing :-) a

Re: Help: Does anyone use legacy message box behavior?

2017-02-07 Thread Richard Gaskin via use-livecode
Graham Samuel wrote: > ...how would you use this feature, specifically in debugging a > standalone, and what’s wrong with it now? The revMessageBox redirect allows you to use any field to display data that would otherwise go to LC's Message Box; that is, any "put" without a specified

Re: AW: Different result in LC 6 to LC 8 when copying field text into Excel?

2017-02-08 Thread Richard Gaskin via use-livecode
Tiemo Hollmann wrote: > I tested a little bit more and this code works for me: > on mouseUp >lock clipboard >set the rawClipBoardData to empty >set the rawClipboardData["CF_UNICODETEXT"] to textEncode(fld 1, "UTF-16" ) >unlock clipboard > end mouseUp > > and the IDE doesn't

Fwd: Re: Help: Does anyone use legacy message box behavior?

2017-02-07 Thread Richard Gaskin via use-livecode
I sent this a while ago, and oddly enough another message I'd sent lae came in but this one did not. After thinking about this some more, I wonder: are you sure the LC IDE doesn't rely on this? My Message Box replacement sets the revMessageBox redirect to empty when it closes, and after

Re: Nested groups

2017-02-07 Thread Richard Gaskin via use-livecode
J. Landman Gay wrote: > Curiosity question: Do multiple nested groups (3 or 4 levels deep) > affect CPU and memory performance? Are fewer nested groups easier > on the engine? Because they effectively deepen the message path, I'd wager there is some difference, at least in terms of

Re: Nested groups

2017-02-07 Thread Richard Gaskin via use-livecode
J. Landman Gay wrote: >> On 2/7/2017 5:01 PM, J. Landman Gay via use-livecode wrote: > Curiosity question: Do multiple nested groups (3 or 4 levels deep) > affect CPU and memory performance? Are fewer nested groups easier > on the engine? ... > I'm working with a stack that has some

Re: Help: Does anyone use legacy message box behavior?

2017-02-07 Thread Richard Gaskin via use-livecode
Monte Goulding wrote: >> On 8 Feb 2017, at 3:04 am, Richard Gaskin wrote: >> >> My Message Box replacement sets the revMessageBox redirect to empty >> when it closes, and after doing so the LC IDE Message Box resumes >> normal behavior. > > Yes it does use it but it also (at least the single

Re: Help: Does anyone use legacy message box behavior?

2017-02-07 Thread Richard Gaskin via use-livecode
Monte Goulding wrote: >> On 8 Feb 2017, at 11:02 am, Richard Gaskin wrote: >> >> Monte Goulding wrote: >> > ...You might think we don’t need to touch it but it has >> > been touched recently because of a change in the way we >> > retain object references. >> >> Now I'm curious: anything

Re: PUT method where is returned data?

2017-02-08 Thread Richard Gaskin via use-livecode
Mark Hsu wrote: >> On Feb 8, 2017, at 10:05 AM, Bob Hall wrote: >> >> PUT tJsonData into URL tURL >> >> put the result into tResult >> >> put it into tResult2 >> >> I would of thought that either the result or it would have the data >> > > Try the urlResponse: > > PUT tJsonData into URL

Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-02 Thread Richard Gaskin via use-livecode
Mark Waddingham wrote: > On 2017-02-02 01:46, Richard Gaskin via use-livecode wrote: >> What is the difference between "LiveCode HTML text" and "LiveCode >> HTML format"? > > Nothing - they are the same format in that context (the > clipboard

Re: Converting scripts in stacks to script only stack behaviors

2017-02-06 Thread Richard Gaskin via use-livecode
Sannyasin Brahmanathaswami wrote: > A lot of the "flak" I hear about using LC is "but it's not > responsive, at that so easy with HTML5" They gloss over the > depth of javascript skills required to actually program the UI > to do anything other than look pretty. However easy it may be > to

Re: Help: Does anyone use legacy message box behavior?

2017-02-07 Thread Richard Gaskin via use-livecode
Monte Goulding wrote: > I’m in the midst of making the message box redirect work in all > engines (https://github.com/livecode/livecode/pull/5156 > ) and it would seem > that there’s a legacy message box behavior that could be removed from > the

Re: LC Server & Server Based Stack?

2017-01-22 Thread Richard Gaskin via use-livecode
Rick Harrison wrote: > Ok, so the server and my open LC stack are using > different engines or are different “instances”. If they > are on the same computer it seems to me that one > might be able to get the two to talk to each other > through the computer system’s clipboard in theory. > > I

Re: How to lose your work in a couple of clicks (dirty flag)

2017-01-24 Thread Richard Gaskin via use-livecode
Ralph DiMola wrote: > 4) When presented with the "Save/Cancel/Don’t save" dialog, click on > the "Don't save" option. > 5) Exit the IDE and you will not get the options to save your stack > because the "Don’t save" option clears the "Dirty" flag. Unless you've made changes between the time the

Re: 8.1.3 (RC1) Invoking Script Editor Failing Everywhere

2017-01-24 Thread Richard Gaskin via use-livecode
Sannyasin Brahmanathaswami wrote: > I need the updates in 8.1.3 (RC1) so took the leap. > > IDE is problematic… deleted my prefs before opening… but now > > -- the pointer tool icon does not change from browse to pointer… > -- switching to the pointer too and double clicking on a button runs >

Re: Delete element from array

2017-01-27 Thread Richard Gaskin via use-livecode
Dr. Hawkins wrote: > The new dictionary, like the project browser, is targeted to people > who think exactly that way, and access things in that pointy-clicky > way. > > And even then, pulldown for categories rather than clicking. > > Those of us that run the other way in accessing a UI will

Re: It looks like Director is Finally Dead

2017-01-27 Thread Richard Gaskin via use-livecode
Colin Holgate wrote: >> On Jan 27, 2017, at 9:45 AM, Lynn Fredricks wrote: >> >>

Re: 8.1.3 (RC1) Invoking Script Editor Failing Everywhere

2017-01-27 Thread Richard Gaskin via use-livecode
Sannyasin Brahmanathaswami wrote: > ...no odd open stack or preopenstack handlers that would do weird > things, but if it is in my plugins folder 8.1.3 "dies in chaos" > take it out, put in others (like your 4thworld ones andsome of > Scotts) it works just fine. Sorry to hear that. Would be

Re: Delete element from array

2017-01-27 Thread Richard Gaskin via use-livecode
Dr. Hawkins wrote: On Fri, Jan 27, 2017 at 8:55 AM, Richard Gaskin wrote: >> What is "the other way?" >> >> I almost never click anything other than results from the search >> list. I open the Dict window, type my query, review the results. >> >> What would we do to improve this? > > In 7, you

Community Dictionary (was Re: Delete element from array)

2017-01-27 Thread Richard Gaskin via use-livecode
Sannyasin Brahmanathaswami wrote: > On 1/27/17, 6:55 AM, "use-livecode on behalf of Richard Gaskin wrote: >> The current Dictionary content is in wonderfully well-separated array >> files, making it easier than ever for third parties to use existing >> internal APIs to deliver the content in any

Re: Browser Widget/HTML5/LC Integration

2017-01-27 Thread Richard Gaskin via use-livecode
Sannyasin Brahmanathaswami wrote: > Currently there is a "wall" between LC and the browser widget. ... > Our use case is simple: the browser widget by default can only store > data in the web indexDB space. But if you want to run a SQLLite > database in your mobile app, and use html5 for

Re: Browser Widget/HTML5/LC Integration

2017-01-29 Thread Richard Gaskin via use-livecode
Sannyasin Brahmanathaswami wrote: > 1) SVG requirements > > rendering this would be a minimum. If here is a way to do it now in > LC let me know > > http://www.himalayanacademy.com/assets/img/khm-logo-full-horizontal.svg > > resize your browser, it remains perfect! If the issue that LC won't

Re: Browser Widget/HTML5/LC Integration

2017-01-29 Thread Richard Gaskin via use-livecode
Sannyasin Brahmanathaswami wrote: > OK, one more SVG example (I believe that's what you were asking for) > > now you have three > > http://wiki.hindu.org/uploads/floor-plan.svg # not responsive, but > could be > > http://wiki.hindu.org/uploads/SivaSivaDiagram.svg ># not responsive, but could

Re: How to lose your work in a couple of clicks (dirty flag)

2017-01-24 Thread Richard Gaskin via use-livecode
Ralph DiMola wrote: > I see this as a departure from other SW. I read "Don’t save" as > "Don't save now" not as "Don't save ever". I don't see those. When I make a standalone on a stack with unsaved changes, the options I see are "Don't Save", "Cancel", and "Save". > I just made my first

Re: Storing and object reference in a var

2017-01-24 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > On Jan 24, 2017, at 14:57 , Monte Goulding wrote: > > You are writing ambiguous code and the engine can’t read your mind ;-) > > Not until V10 anyways. Good news: In v10 the LiveCode language will be reduced to a single command, "build", which will automatically build

Re: Browser Widget/HTML5/LC Integration

2017-01-28 Thread Richard Gaskin via use-livecode
Sannyasin Brahmanathaswami wrote: > So as not to burden this list which "use" list and not a "complain" > list I have responded to you at length directly. ...ands yet here we are, so we might as well enjoy the discussion. > 1) the graphics rendering layer of LC is behind the graphics >

Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks)

2017-02-21 Thread Richard Gaskin via use-livecode
It's always exciting to see new ground explored with inter-app communications, but with script editors I find myself wondering: Why not use LC's? If it's not on par with alternatives and for some reason can't be made to be on par, why don't we just ship LC with an appropriately-licensed

Re: [ANN] Release 9.0.0 DP-5

2017-02-23 Thread Richard Gaskin via use-livecode
Sannyasin Brahmanathaswami wrote: > @Richard who wrote: > > "for deployment -- most recent stable…" > "for dev -- most recent build, know current state of engine as > pertains to your work." > > How logical! thanks… assuming there is no change in file format and > stacks are backward

Re: deploy?

2017-02-23 Thread Richard Gaskin via use-livecode
Monte Goulding wrote: >> On 24 Feb 2017, at 12:51 pm, Richard Gaskin wrote: >> >> What's the "deploy" command? It's not in the Dictionary. > > It’s an IDE only internal command for creating standalone engines. Sounds useful for automating build systems. At least part of it is documented in

Re: Call a function on another card

2017-02-23 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > I did a quick little test. The card's script local variables are not > accessible from the behavior script. True, but you may not need to: each object subscribed to a behavior script maintains its own set of script-local variables. -- Richard Gaskin Fourth World

deploy?

2017-02-23 Thread Richard Gaskin via use-livecode
The v9dp5 Release Notes include: Script-only deploy (9.0.0-dp-5) It is now possible to use script-only stacks in the mainstack and auxiliary stack parameters to the deploy command. Sounds cool. What's the "deploy" command? It's not in the Dictionary. -- Richard Gaskin Fourth World

Re: [ANN] Release 9.0.0 DP-5

2017-02-23 Thread Richard Gaskin via use-livecode
Sannyasin Brahmanathaswami wrote: > Why even continue in 8.* ? > > What issues are there with 9.* that would make it advisable not to > try it for production? For deployment it's usually best to use the most recent Stable build. But for development it's usually best to use the most recent

Re: The selectedText for controls without focus

2017-02-24 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: Hi Richard. You are "locking" fields. I am setting the traversalOn to false. The reason I use this is because a locked field will still show the focus border, which I do not want. The focus border should be governed independently, using the showFocusBorder property. If

Re: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-24 Thread Richard Gaskin via use-livecode
As much as I enjoy chatting with other users, a while back I had hoped to make this more actionable by submitting an enhancement request for sha256: http://quality.livecode.com/show_bug.cgi?id=14223 The challenge with satisfying that request is two fold: - sha2 is not a single algo, but a

Re: [ANN] Release 9.0.0 DP-5

2017-02-24 Thread Richard Gaskin via use-livecode
panagiotis merakos wrote: > http://quality.livecode.com/show_bug.cgi?id=19248 Unfortunate to see complication after complication pile up from the IDE's insistence that stacks with the same name should not be in memory at the same time. As we've discussed earlier, the engine does not appear

Re: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks)

2017-02-24 Thread Richard Gaskin via use-livecode
Mike Kerner wrote: > 4) Why is having an integrated editor important, if your edits made > via an external editor take effect immediately? If we didn't need > the L server hack to get live edits, we could use any editor. What is "the L server hack", and what is the threshold of acceptable

Re: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-24 Thread Richard Gaskin via use-livecode
Lagi Pittas wrote: > Why does it need to be a part of the language and not a widget > or a library stack which we can all fiddle with for our projects, > which would make it more difficult for the bad boys to decrypt? Peter covered why it should be done in C, but if you really need sha256

Re: The selectedText for controls without focus

2017-02-24 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > Enhancement Request 19323 submitted. > > As to your post, yes the selectedText 'of the field' will work. > But a menu command like "Copy" would not know which field was > selected. I suppose I could loop through all the fields and get > the one which was not empty. I'll play

Re: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks)

2017-02-24 Thread Richard Gaskin via use-livecode
Mike Kerner wrote: > On Fri, Feb 24, 2017 at 11:32 AM, Richard Gaskin wrote: > >> Mike Kerner wrote: >> >> > 4) Why is having an integrated editor important, if your edits made >> > via an external editor take effect immediately? If we didn't need >> > the L server hack to get live edits, we

Re: The selectedText for controls without focus

2017-02-24 Thread Richard Gaskin via use-livecode
For a scriptless solution that's purely property-driven, what Jacque said covers normal click-and-drag selection at the small cost of multi-click selection. And if you need multi-click selection and don't mind a small bit of scripting, putting this in a normal editable field seems to make it

Re: The selectedText for controls without focus

2017-02-24 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > On Feb 24, 2017, at 10:06 , Richard Gaskin wrote: >> >> That should not be needed. >> >> LiveCode allows only one active field selection in non-list fields. > > Yes I did. It returns empty. I have a menu which intercepts the > Copy menu selection. I hilite the text in a field

Re: Reveal in Find on Windows

2017-02-23 Thread Richard Gaskin via use-livecode
Mike Bonner wrote: Just remembered, you can bipass the shell call entirely.. launch document sRootFolder -- native lc command. Just need to do as I mentioned and be sure its a folder you're dealing with. (otherwise it will launch the apropos app to match the file type) It will probably work

Re: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks)

2017-02-22 Thread Richard Gaskin via use-livecode
prothero wrote: > I agree with Roger, > There needs to be a useful script editor bundled with livecode. Absolutely. No development environment could claim to be integrated without including such an essential components. I'm not suggesting we make people hunt for their own components. I'm

Re: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks)

2017-02-22 Thread Richard Gaskin via use-livecode
Roger Eller wrote: > On Feb 21, 2017 9:28 PM, "Richard Gaskin via use-livecode" wrote: > >> It's always exciting to see new ground explored with inter-app >> communications, but with script editors I find myself wondering: >> >> Why not use LC's? &g

Re: "Deleting" Stacks in Memory - What About Behaviors?

2017-02-10 Thread Richard Gaskin via use-livecode
Sannyasin Brahmanathaswami wrote: > When we delete a main stack, the main stack and all its substacks are > removed from memory. > > But if we delete a stack that has behaviors set from external > *_behavior.livecodescript stacks for controls in the "main" > (parent?) stack, those behaviors are

Re: Windows and OSX 64-bit builds?

2017-02-10 Thread Richard Gaskin via use-livecode
Tom Glod wrote: > 10 K in resolution > > I'm going to do more tests with the 2 cache settings . compositor > cache and image cache. increasing these definately lets me export > snapshots of larger groups...but I have not succeeded in going past > 10 K I can display up to 32k.

Re: Transition to and from Fullscreen

2017-02-10 Thread Richard Gaskin via use-livecode
David V Glasgow wrote: > Has anyone managed to script away the ugly spasm that happens when > using the fullscreen command? > > I have tried all sorts, with either no effect or making matters > uglier. Which LC version on which OS version? Testing with v9 on Ubuntu 14.04, when I toggle the

Re: Windows and OSX 64-bit builds?

2017-02-10 Thread Richard Gaskin via use-livecode
I would second that, with an extension: it would be most helpful to have some guidance on memory management overall. Many see the total addressable space afforded by 64-bit systems as "Cool, I can use a 16-terabyte array!" But as we've seen in bits and pieces here and elsewhere, total

Re: Deleting stacks on the fly

2017-02-14 Thread Richard Gaskin via use-livecode
J. Landman Gay wrote: My other project is crashing on Android the same way. It also has heavy server/internet use. I'm starting to think that's where the problem lies. I wonder if that may be related to some of the leaks closed recently. -- Richard Gaskin Fourth World Systems Software

Re: automating enabling of plugin settings on new versions

2017-02-14 Thread Richard Gaskin via use-livecode
Dr. Hawkins wrote: > The issue is that as shipped, there is an option in the plugin > settings to save changes/choices--and it just plain doesn't work, > failing silently due to the permissions. > > Rather than saving inside of the application bundle, it seems that the > "correct" way for this

Re: PUT method where is returned data?

2017-02-10 Thread Richard Gaskin via use-livecode
Devin Asay wrote: > On Feb 8, 2017, at 2:02 PM, Richard Gaskin wrote: > >> "it" is not longer a valid container for URL responses? >> >> I missed that memo. Which version did that change take place in? >> >> My understanding is that GET requests are simply submitted in a >> LiveCode ‘put URL

Re: Script locals in library stack script

2017-02-10 Thread Richard Gaskin via use-livecode
Bob Hall wrote: > So I guess I need to understand what is the TTL definition of a > script local variable? In the engine, script-local variables will retain their values throughout the session. If a script is edited, however, by default the recompilation of the script causes the

Re: PUT method where is returned data?

2017-02-10 Thread Richard Gaskin via use-livecode
Trevor DeVore wrote: > The urlresponse has been around for a number of years. It was added > so that you can get the response sent back from the server for url > calls. It doesn’t affect how it behaves in any way. Prior to adding > the urlresponse one couldn’t get the server response for PUT …

Re: Best practice for menus...

2017-01-17 Thread Richard Gaskin via use-livecode
Paul Dupuis wrote: > For desktop applications on Windows and OSX, I am lookingf or what > people consider the best practice to be for enabling, disabling, or > updating menu items based on context. > > You have so many ways in the LiveCode language to do this: > > enable menuItem 2 of menu

Re: Best practice for menus...

2017-01-17 Thread Richard Gaskin via use-livecode
J. Landman Gay wrote: > On 1/17/17 2:27 PM, Richard Gaskin via use-livecode wrote: >> I was curious about performance, so I ran the test copied below, with >> these results: >> >> MenuItem: 219 ms >> As text: 10 ms > > Do the results change

Re: Zippy-da-doo-dah 8.1.3

2017-01-18 Thread Richard Gaskin via use-livecode
Ali Lloyd wrote: > Of course at some point you have to draw a line, but the > aformentioned bug is well beneath* it. > > *I'm not sure when you metaphorically draw a line, whether that line > is meant to be horizontal or vertical, or indeed which side of the > line you start from We're bike

Re: Zippy-da-doo-dah 8.1.3

2017-01-18 Thread Richard Gaskin via use-livecode
Richmond Mathewson wrote: > Well, even if nothing else I am beginning to understand just how > complicated LiveCode development is . . . Amen to that, brother. I find that complaints about the LC engine often tend to occur in inverse proportion to the poster's experience in multi-platform C

Re: Zippy-da-doo-dah 8.1.3

2017-01-18 Thread Richard Gaskin via use-livecode
Ali Lloyd wrote: The reason it doesn't show up on GitHub is that it will only appear on GitHub when there is a pull request, which is usually only when it is fixed. What you need is http://quality.livecode.com/buglist.cgi?list_id=67534_format=advanced_milestone=8.1.3-rc-1 Not everything in

Re: The selectedText for controls without focus

2017-02-28 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > On Feb 24, 2017, at 22:09 , Richard Gaskin wrote: >> >> on rawkeydown k >> if k = 99 then >> if the commandKey is "down" then copy >> end if >> end rawkeydown > > For that matter I could just check the status of the "state" property > (view | new | edit) to

Re: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-28 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > I cannot find a function called sha1digest in the LC library. It's sha-ONE-digest, and it's been around for a while so it should be there. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web

Re: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-28 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: >> On Feb 28, 2017, at 09:33 , Richard Gaskin wrote: >> Bob Sneidar wrote: >> >> > I cannot find a function called sha1digest in the LC library. >> >> It's sha-ONE-digest, and it's been around for a while so it should >> be there. >> > > I search for SHA in the dictionary,

Re: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks)

2017-02-26 Thread Richard Gaskin via use-livecode
Dr. Hawkins wrote: > More commonly, until and unless livecode can save such that such > standard tools or comparable can be applied, multi-person development > will remain a fantasy and/or novelty. And yet here we are, using an IDE written in LiveCode by a team comprised of dozens of company

Re: Android Keyboard Activation Issue

2017-01-13 Thread Richard Gaskin via use-livecode
Livecode XAC wrote: > Right now I'm creating the control when the user touches on the > text box and then delete the control when they enter the return. > This provides a highlight of the field that is being entered, > but has the double click issue. Regardless how the field is created, it

Re: Android Keyboard Activation Issue

2017-01-13 Thread Richard Gaskin via use-livecode
Livecode XAC wrote: > mobileControlDo pName, "focus" -- pName is the passed > name of the control > > This doesn't do anything in Android. Either that's a bug or there must be some other reliable means of focusing a mobile-native field. -- Richard Gaskin Fourth World Systems

Re: Documentation on Dispatch

2017-01-13 Thread Richard Gaskin via use-livecode
What does "do" do with an array expression missing an array name? -- Richard Gaskin Fourth World Systems Mike Kerner wrote: "Do" is magic On Fri, Jan 13, 2017 at 10:39 AM, Bob Sneidar via use-livecode < use-livecode at lists.runrev.com> wrote: That can only be an element of an array.

Re: Documentation on Dispatch

2017-01-10 Thread Richard Gaskin via use-livecode
Sannyasin Brahmanathaswami wrote: > Sometimes you want to do a "remote" call to a function and get data > back. At first this appear no possible > > send | dispatch | do | call > > BUT: FYI you can wrap a function in Dispatch and the value is > returned in the result. > > this is not documented.

Re: Documentation on Dispatch

2017-01-10 Thread Richard Gaskin via use-livecode
Ali Lloyd wrote: > The `dispatch function` form of the dispatch command indeed does not > appear to be documented. What does that syntax look like? This works: on mouseUp dispatch "foo" to me with 1,2 put the result end mouseUp on foo p1, p2 return p1 + p2 end foo ...but this does

Re: Documentation on Dispatch

2017-01-10 Thread Richard Gaskin via use-livecode
Monte Goulding wrote: > Try this: > > on mouseUp > dispatch function "foo" to me with 1,2 > put the result > end mouseUp > > function foo p1, p2 > return p1 + p2 > end foo Yep, it works. So it's not so much wrapping it per se, just calling it directly by adding the "function" specifier to

Re: OK, the list *really* needs to be fixed

2017-01-05 Thread Richard Gaskin via use-livecode
Heather Laine wrote: > It is possible that the only real solution here is to stop using > Mailman. This could be quite disruptive to all, but is something > we will take under consideration. To be fair, this list has been > running on this software for... 18 years? Its not surprising if > it

Re: Kindle fire apps?

2017-01-05 Thread Richard Gaskin via use-livecode
William Prothero wrote: > I'm considering purchasing a Kindle Fire so I can take my books with > me on a trip to Spain without fear of losing my iPad Pro, which costs > 10 times as much as the Kindle. > > I'm wondering, tho, if anybody is making apps for Kindle with > livecode. I read, in the

Re: I'm a stupid GIT

2017-01-07 Thread Richard Gaskin via use-livecode
Malte Brill wrote: > I also am a stupid GIT. Way over my head. That said - can’t this be > somehow automated so that one could download nightly builds? While nightly builds can be a good practice for many projects, LC is unusually complex, and requires a LOT of time to run their build system.

Re: I'm a stupid GIT

2017-01-07 Thread Richard Gaskin via use-livecode
Richmond Mathewson wrote: > How about an impatient chap whose GANTT chart of his 4th SDLC has > been completely thrown out of kilter owing to a bug (19045) in > existing builds of LiveCode, knowing that that bug has been sorted > out but that the next official RC build is waiting on at least >

Re: I'm a stupid GIT

2017-01-07 Thread Richard Gaskin via use-livecode
Richmond Mathewson wrote: > I would be extremely grateful if someone in the know could post > a recipe for simple souls like myself to build a LiveCode "thang" from > github. "Thang" is very broad. Stack? External? Engine? What do you want to build? -- Richard Gaskin Fourth World

Re: Customer database stack for FastSpring, etc?

2017-03-23 Thread Richard Gaskin via use-livecode
tbodine wrote: > Anyone know of a stack designed to import and manage customer data > from ecommerce services such as FastSpring and Plimus? I only quickly skimmed their dev sites, but it seems both offer REST APIs using Basic Auth with JSON payloads. What issues have you run into working

Re: Scrolling Menu

2017-03-21 Thread Richard Gaskin via use-livecode
dunbarx wrote: > So I made a stack that had a group of a dozen buttons piled up > vertically. ... > Now I make the stack a stack menu. The issue with a stack menu is > that very few messages are sent at all, but "mouseDown" is one that > is. The stack remains nice and still but the group scrolls

Re: [ANN] tinyDictionary

2017-03-23 Thread Richard Gaskin via use-livecode
Mike Kerner wrote: > I want this to be my official dictionary. With my free Devolution toolkit you can chose between LC's default tools or any plugin you want for essentials like that: http://fourthworld.com/products/devolution/ -- Richard Gaskin Fourth World Systems Software Design and

Re: Libraries To Contribute

2017-03-23 Thread Richard Gaskin via use-livecode
Mike Kerner wrote: > The code was relatively easy. What I was more interested in was > either building or finding a central repo for a library of routines. Right now the most comprehensive collection I know of is Michael Doub's Master Library:

Re: Libraries To Contribute

2017-03-23 Thread Richard Gaskin via use-livecode
Mike Kerner wrote: > I went looking, today, for a routine to recursively copy folders and > files from one place to another. I have several LC libraries, but > none of them seemed to have such a routine. All of those libraries > are in stacks. Will the built-in revCopyFolder command do what

Re: Line numbers for soft-wrapped styled text?

2017-03-27 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > Yeah I was thinking the same thing. textChanged triggers a handler > that reformats the text every time. In essence, you are doing what > a word processor would do. The textChanged message is only sent when changes are made to the text of a field. Changes to styling

Re: Object Selection Handles

2017-03-28 Thread Richard Gaskin via use-livecode
Ali Lloyd wrote: > Instead of declaring that this is how it should be, it's much better > to provide examples and justification. I just checked, and every > application I have on this computer does selection handles with the > center of the handle on the boundary of the object. Centering the

Re: Line numbers for soft-wrapped styled text?

2017-03-27 Thread Richard Gaskin via use-livecode
When I first started down this road I went for getting max values from the styledText array, similar (though far less efficiently) to how Alex Tweedly solved this so well in his post the other day: http://lists.runrev.com/pipermail/use-livecode/2017-March/235688.html Great work as usual from

Re: Object Selection Handles

2017-03-27 Thread Richard Gaskin via use-livecode
Dan Friedman wrote: > Is there a property to change the shape of the selection handles when > using the selection tool? In LC 9 (and 8), they are round circles > that protrude outside the edge of the control. In previous versions, > they were squares that remained within the rect of the

Re: Object Selection Handles

2017-03-28 Thread Richard Gaskin via use-livecode
Ali Lloyd wrote: > The code hit-detects as if the handles were square, so the > hit-detection area is actually bigger than it used to be. And there's the difference between engineering and user experience: It may be bigger, but if it's visually ambiguous user's won't be able to know that. A

Re: Transparent Images in LC

2017-03-30 Thread Richard Gaskin via use-livecode
Paul Dupuis wrote: > I was trying to import (as a control) a transparent PNG (i.e. the > "white" parts allow whatever is underneath to show through) and > instead of transparancy, I get the slashed background lines > transparent PNG are often displayed with. Thinking it might be > the PNG

Re: Quasi Student Secure Web Browser?

2017-03-30 Thread Richard Gaskin via use-livecode
JOHN PATTEN wrote: > If anybody else is looking for those browser widget commands they can > be found in the release notes here: > > Thanks, John. I believe those are now in the Dictionary as well. What I

Re: Set Layer bug?

2017-03-28 Thread Richard Gaskin via use-livecode
Dan Friedman wwrote: > Is this a bug or am I losing my mind? Can anyone confirm? > > Using LC 9.0.0 DP-6, set the layer of any object to anything and it > always get’s set to the topmost layer. To repeat, put three buttons > on a card: “button1”, “button2” and “button3”. The, put this in the

Re: specialFolderPath("resources") on Mac with trailing slash

2017-03-29 Thread Richard Gaskin via use-livecode
panagiotis wrote: > On Wed, Mar 29, 2017 at 9:43 AM, Tiemo Hollmann TB wrote: > >> LC 8.1.3: getting the specialFolderPath("resources") comes on Mac & >> Win without trailing slash. >> >> On Win I also don't get a trailing slash in a standalone. >> >> BUT in a MacOS 10.12 standalone I get a

Line numbers for soft-wrapped styled text?

2017-03-25 Thread Richard Gaskin via use-livecode
I have an app that allows the user to write styled text, in which any portion of that text may have a variety of styles and sizes, and may be long enough to soft-wrap. I'd like to add a line-number field next to it, but I haven't come up with an efficient way of setting up those line numbers

Determining if orientation locked on Android?

2017-03-25 Thread Richard Gaskin via use-livecode
On my Android phone I have orientation locked to Portrait, yet the LC app I'm building ignores this and rotates the with the device. I see that I can handle orientations internally, but I don't see how I can determine if the user has locked their device to one specific orientation. Any

Re: Line numbers for soft-wrapped styled text?

2017-03-25 Thread Richard Gaskin via use-livecode
Nicely done, Alex - thanks! -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.com

Re: D3 LiveCode Chart Examples

2017-03-24 Thread Richard Gaskin via use-livecode
Todd Fabacher wrote: > On Facebook people had expressed a desire to work with D3 and > LiveCode. So, here is the D3 LiveCode Chart Examples on github: > https://github.com/digitalpomegranate/D3-Livecode-Charts Thanks, Todd. It seems the LICENSE file is missing from that repo. -- Richard

Re: Magnification

2017-03-24 Thread Richard Gaskin via use-livecode
Vokey, John wrote: > I am working on a stack that has reduced images on a card, but I want > the user to have the ability to magnify those images (at least the > part they are hovering over) as they hover over them. But, not the > card images, but the real higher resolution images stored in

  1   2   3   4   5   6   7   8   9   10   >