Re: Polygon fill algo?

2021-02-15 Thread Mark Waddingham via use-livecode
On 2021-02-16 05:55, Richard Gaskin via use-livecode wrote: My expectation was almost beyond anything reasonable, but it would seem useful if there was some way to make it happen: imagine if each segment within a list of discontiguous points was rendered as though it's a separate object, back

Re: Using MySQL on (headless) Linux

2021-02-03 Thread Mark Waddingham via use-livecode
On 2021-02-03 20:07, Richard Gaskin via use-livecode wrote: LC Server had already been ruled out (for whatever reason) in an earlier part of the thread... That's too bad. LC Server is LiveCode build designed specifically for command line use. Interesting - I don't remember that being what I

Re: Using MySQL on (headless) Linux

2021-02-02 Thread Mark Waddingham via use-livecode
On 2021-02-03 00:31, Richard Gaskin via use-livecode wrote: As for my post, it was a question in reply to Mark Waddingham's note about how only standalones can be expected to use externals. That is, at least as I read it. Mark said nothing of the sort :) LC Server had already been ruled out

Re: Using MySQL on (headless) Linux

2021-02-02 Thread Mark Waddingham via use-livecode
On 2021-02-01 22:25, Ben Rubinstein via use-livecode wrote: Undesirable things found: 1. I've not found how to access externals (in this case the database library) without explicitly setting the 'externals' property of the stack to a (generally unreliably) full path before the stack is saved.

Re: Server error? SOLVED

2020-12-31 Thread Mark Waddingham via use-livecode
On 2020-12-31 11:08, Klaus major-k via use-livecode wrote: Hi all, we could finally solve the problem by copying the revsecurity.dll from LC 9 to the LC 5.x runtime folder! 8-) I really had no idea that they were compatible!? Nevertheless I will write to the mothership next week, just to get

Re: Encrypting Stack Breaks Field References

2020-12-13 Thread Mark Waddingham via use-livecode
On 2020-12-14 06:03, J. Landman Gay via use-livecode wrote: On 12/13/20 6:02 PM, Richard Gaskin via use-livecode wrote: Copying objects is disallowed in an encrypted stack, since of course once an object is copied it could be pasted into an unencrypted stack, and thus expose the source.

Re: export snapshot woverwrites variable?

2020-12-10 Thread Mark Waddingham via use-livecode
On 2020-12-10 13:55, Klaus major-k via use-livecode wrote: Hi friends, ## Doing this again fixes the inconvenience and I can continue: put dasObjekt() into tObject ... Funky, funky!? Nope - not funky. Container syntax can be either a variable (with array indices or without), or an object

Re: filter

2020-11-19 Thread Mark Waddingham via use-livecode
So I thought ... filter fld 1 with "[*" ... would do the job, but that EMPTIES the field!? Obviously this [ interferes with some REGEX mechanism of filter? So what should I use now? I think: filter fld 1 with "[[]*" Should do the trick... Basically, you can use '[...]' to 'escape' the

Re: VPN and tsNet

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

Re: First version of LC that supports httpS?

2020-10-19 Thread Mark Waddingham via use-livecode
On 2020-10-19 17:31, Klaus major-k via use-livecode wrote: Hi all, see subject, maybe someone happens to know. Obviously LC 5.02 does not support httpS yet. HTTPS has been supported since engine version 2.6 judging by the libURL source - so that would be LiveCode 2.x (for some 'x' - I can't

Re: SSL cPanel mySql setup

2020-10-16 Thread Mark Waddingham via use-livecode
On 2020-10-16 10:51, matthias rebbe via use-livecode wrote: Hi Sean, there was a discussion a few weeks ago with the topic "Strange behavior between Mysql, MariaDB and SSL." I am not sure if the information in that discussion will solve your problem. I had a quick look through that thread

Re: DataGrid 2 swipe actions

2020-08-27 Thread Mark Waddingham via use-livecode
) breaks > scrolling(s), thus my PR(s), from however-long-ago it(s) was. :-P > Tag. You(s)'re it(s) > >> On Thu, Aug 27, 2020 at 2:17 PM Mark Waddingham via use-livecode < >> use-livecode@lists.runrev.com> wrote: >> >>> On 2020-08-27 17:07, Mike Kerner vi

Re: DataGrid 2 swipe actions

2020-08-27 Thread Mark Waddingham via use-livecode
On 2020-08-27 17:07, Mike Kerner via use-livecode wrote: name's mikey. y'all can call me... mikey howdy. i think it was just one line of code, too, right? it was just a matter of setting the delayTouches to true. i have no idea why it was originally "false". Well, the advantage of

Re: Adding items to a group

2020-08-26 Thread Mark Waddingham via use-livecode
On 2020-08-26 10:06, Jimmieson, Phil via use-livecode wrote: One thing I’m considering is having a set of dummy hidden items already in the group and making one of those look like the word the user just dragged in - thus it’s already a member of the group and can be scrolled etc with the rest.

Re: Cross Platform Font Layout - current workarounds

2020-08-25 Thread Mark Waddingham via use-livecode
On 2020-08-24 21:49, Sean Cole (Pi) via use-livecode wrote: My client provided the font they needed in line with their tv show brand. They need the app to work both PC and Mac. It seems I have to manually go through each field, button and widget and make sure they are laid out properly. The

Re: iOS app denied: AVAudioSession

2020-08-21 Thread Mark Waddingham via use-livecode
On 2020-08-21 16:39, Dan Friedman via use-livecode wrote: Any thoughts? Client is waiting for this post! The only difference between 9.6.1-rc-1 and rc-2 was the removal of some no-longer-used references to an Ad SDK on Android. 9.6.1 was the same as 9.6.1-rc-2 (except for version). Apple

Re: Browser Widget and Twitter on iOS 13

2020-08-14 Thread Mark Waddingham via use-livecode
On 2020-08-14 14:01, Mark Waddingham via use-livecode wrote: On 2020-08-14 13:31, Ralph DiMola via use-livecode wrote: Should I use the userAgent globally for all browser widget http(s) requests on platform = iphone? Isn't the issue on iPad? Hah - ignore this - I forgot to edit it when I

Re: Browser Widget and Twitter on iOS 13

2020-08-14 Thread Mark Waddingham via use-livecode
On 2020-08-14 13:31, Ralph DiMola via use-livecode wrote: Thanks Panos and Mark! So... to recap.. 1) get the userAgent in Safari on my 10.14.6 Mac 2) in App (If the platform="iphone" then set userAgent to this value). Pretty much - although I recommend not using the userAgent string from a

Re: Browser Widget and Twitter on iOS 13

2020-08-13 Thread Mark Waddingham via use-livecode
On 2020-08-13 18:30, Ralph DiMola via use-livecode wrote: That tester has both iPhone and iPad and I know there both running the same version of iOS. iPhone doesn't get the message but the iPad does. I will find out if there both up to the latest 13.x.x. (it flew out of my head after I heard

Re: Browser Widget and Twitter on iOS 13

2020-08-13 Thread Mark Waddingham via use-livecode
On 2020-08-13 17:06, Ralph DiMola via use-livecode wrote: Thanks Mark. I searched all stacks for "userAgent" and it did not exist. After I got some more feedback it is working on iOS 13 iPhones but not on an iOS 13 iPad. So far this iPad is the only one with this issue. The user tried in

Re: Browser Widget and Twitter on iOS 13

2020-08-13 Thread Mark Waddingham via use-livecode
On 2020-08-13 13:46, Ralph DiMola via use-livecode wrote: When accessing Twitter via the Browser Widget on iOS 13 I get this error message==> "This browser is no longer supported. Please switch to a supported browser or disable the extension which masks you browser to continue using

Re: Secure Socket

2020-08-07 Thread Mark Waddingham via use-livecode
On 2020-08-06 19:28, Tom Glod via use-livecode wrote: Do you think it is overkill to still encrypt it before I send it? Yes :) Applying industrial strength encryption twice does not increase security - it just wastes processor cycles. Indeed, if you are encrypting data to send over an

Re: Google Play SDK problem

2020-07-31 Thread Mark Waddingham via use-livecode
On 2020-07-31 16:25, Mark Wieder via use-livecode wrote: On 7/30/20 10:32 PM, JeeJeeStudio via use-livecode wrote: Looks like the fix is on the way for 9.6.1. Quick response from the team. https://github.com/livecode/livecode/pull/7412 Yes - sorry - I meant to either post (or get someone to

Re: fixed textheight affects scrolling?

2020-07-09 Thread Mark Waddingham via use-livecode
On 2020-07-09 09:54, Klaus major-k via use-livecode wrote: Hi all, Am 08.07.2020 um 17:51 schrieb Klaus major-k via use-livecode : Hi friends, strange phenomenon, maybe I am missing something!? LC 9.6 on macOS 10.14.6 I have two fields with all available fonts and each line is formatted

Re: AR in LiveCode Browser?

2020-06-30 Thread Mark Waddingham via use-livecode
On 2020-06-30 15:46, Dan Friedman via use-livecode wrote: Klaus, No, mobile. If I open the link (https://nexen.ehpec.com/usdz.html) in Safari on my iPhone, I get total interaction with the AR (Augmented Reality) object. If I open the same URL in a LiveCode browser (native or widget) it

Re: AR in LiveCode Browser?

2020-06-30 Thread Mark Waddingham via use-livecode
On 2020-06-30 12:38, KOOB via use-livecode wrote: That should be in the documentation. I looked at the dictionary for Browser Widget and it didn't mention the browser engine it was using. I just assumed it was native to the platform it was being used on. It is on Mac, Android and iOS...

Re: Unicode and languages

2020-06-05 Thread Mark Waddingham via use-livecode
On 2020-06-05 18:15, Paul Dupuis via use-livecode wrote: I don't even know if language exists in the IBM Unicode engine as some exportable property a future version of LiveCode could expose. Any clever ideas or thoughts on this problem are welcome. Unicode doesn't deal in languages but

Re: SHELL command works in Terminal but not via SHELL in LC

2020-06-03 Thread Mark Waddingham via use-livecode
On 2020-06-03 12:13, Klaus major-k via use-livecode wrote: However if he fires this in LC: on mouseUp put shell("ffmpeg -i Desktop/ffmpegMac/TiffSequence/Test_%5d.tif test3.mp4") end mouseUp He gets: /bin/sh: line 1: ffmpeg: command not found But this is working in the Terminal!? What is

Re: LC9.6 Android EXIF image data issue

2020-05-14 Thread Mark Waddingham via use-livecode
On 2020-05-13 23:54, Alan Stenhouse via use-livecode wrote: Hi Monte Thanks for the info, though that is bad news. It had previously come through on iOS ok - when picking a photo from the library, and also on Android AFAIK. Do we have any way of getting EXIF data from an image picked from an

Re: [ANN] Release 9.6.0 RC-1

2020-05-12 Thread Mark Waddingham via use-livecode
On 2020-05-12 13:45, Ralph DiMola via use-livecode wrote: Monte/LC Team, I understand that you have limited resources. Could there be a comprise here to share the workload? Instead of LC having to support and change the iOS standalone options every time there is a new iOS device format we(LC

Re: Small and strange problem

2020-05-11 Thread Mark Waddingham via use-livecode
On 2020-05-11 18:18, Graham Samuel via use-livecode wrote: As I tiny bit of background, the script tries to parse a string that represents a longitude, copied from a web site. It certainly has some weird characters in it, but I thought I’d got round then. FWIW, the string is 004° 31′ 50″ W I

Re: HTML Platform

2020-05-06 Thread Mark Waddingham via use-livecode
On 2020-05-06 18:40, Richard Gaskin via use-livecode wrote: And mySQL from LC in the browser is tonnes faster than on the desktop - massively! Because they’re both on the same server. Even though the message path is LC>JS>(AJAX)>PHP>JS>LC! I suspect there's something going on there that can be

Re: I need some DataGrid performance help

2020-05-06 Thread Mark Waddingham via use-livecode
On 2020-05-06 17:36, Richard Gaskin via use-livecode wrote: A while back Mark Waddingham reviewed the situation and decided that getProp and setProp were indeed more rightly in the category of custom messages rather than system messages, and as such should ideally be immune to the effects of

Re: Has anyone experience of GPS on iPhone?

2020-05-06 Thread Mark Waddingham via use-livecode
On 2020-05-06 14:09, Graham Samuel via use-livecode wrote: Bill, I think you are confirming that there is some mystery here. There are a lot of apps that seem to get location, and measures derived from location, almost completely right, whereas I am having trouble doing so with what must be the

Re: Can a stack know which standalone engine it's running on?

2020-04-27 Thread Mark Waddingham via use-livecode
On 2020-04-27 23:08, Devin Asay via use-livecode wrote: But doesn’t the processor just report on the host operating system? I wan’t to know which LiveCode engine is running. No 'the processor' reports what architecture the engine was built for. From the dictionary: Use the processor

Re: Can a stack know which standalone engine it's running on?

2020-04-27 Thread Mark Waddingham via use-livecode
The version almost uniquely identifies every public engine build - the buildNumber always does. The platform together with the processor uniquely identify the target it was built for. Warmest Regards, Mark. Sent from my iPhone > On 27 Apr 2020, at 22:43, Devin Asay via use-livecode >

Re: How to make a mobile app stay alive in the background?

2020-04-27 Thread Mark Waddingham via use-livecode
On 2020-04-27 07:25, J. Landman Gay via use-livecode wrote: On 4/26/20 4:43 PM, Graham Samuel via use-livecode wrote: I notice in the Standalone Settings for iOS in LC 9.5.1, a button ‘Background Execution’. If I click it, I get a warning that I don’t really understand which suggests that LC

Re: What is a real?

2020-04-25 Thread Mark Waddingham via use-livecode
The ‘is strictly’ operators allow you to detect what the actual internal storage type of a value is. Some things generate numbers which are stored as int32s but most will store them as doubles - arithmetic operators included. I don’t know what the docs say about ‘is strictly an integer’ but the

Re: Mobile text input mystery

2020-04-22 Thread Mark Waddingham via use-livecode
On 2020-04-22 17:00, Graham Samuel via use-livecode wrote: As usual, the problem will be my fault, but I can’t get a mobile input field to appear on a card. I’m debugging it at present, which explains the answer statement: on opencard -- we dynamically create a field for the user to key in

Re: Keyhole effect?

2020-04-15 Thread Mark Waddingham via use-livecode
On 2020-04-15 02:30, Richard Gaskin via use-livecode wrote: Monte Goulding wrote: If I understand what you want correctly then: Create image Create mask object Group both Set the ink of the mask object to blendDstIn Set the ink of the group to blendSrcOver Super, Monte. That works well. I

Re: Go to card has become slow

2020-04-13 Thread Mark Waddingham via use-livecode
On 2020-04-13 07:06, Trevor DeVore via use-livecode wrote: Will this caching of the DPI setting affect accessing the styledtext property in general on Windows or will it only affect calls to it during saves? I did a quick test: - 'the styledText of' is unaffected - 'the effective

Re: Go to card has become slow

2020-04-12 Thread Mark Waddingham via use-livecode
On 2020-04-13 02:23, Neville Smythe via use-livecode wrote: But no, it shaved only 1 second off a 7 second save for styled text (elderly MacPro running Windows 10 VM) So your engine modifications must be having a much wider effect, not just on reducing the 3 API calls for styled as opposed to

Re: Video format for mobile

2020-04-12 Thread Mark Waddingham via use-livecode
On 2020-04-10 21:39, J. Landman Gay via use-livecode wrote: @Mark is there a bug number for this? I couldn't find anything. Not specifically as yet I don't think - Monte noticed some issues late last week, and is the progress of fixing them. I've asked him to chime in when he's back to work

Re: What is a token

2020-04-12 Thread Mark Waddingham via use-livecode
On 2020-04-11 22:22, Bob Sneidar via use-livecode wrote: So the question is, should I submit this as a bug, or no? No you shouldn't as it isn't a bug :) The 'token' chunk is a wrapper around the internal routine the engine uses to divide a script text up into tokens which are then parsed.

Re: Go to card has become slow

2020-04-11 Thread Mark Waddingham via use-livecode
On 2020-04-11 16:41, Mark Waddingham via use-livecode wrote: Anyway, the patches I've made are quite rough at the moment, but I'll endeavour to submit them as PRs in the next few days :) I've pushed a WIP PR with the changes I made to get the results mentioned in my last email - it is here

Re: Go to card has become slow

2020-04-11 Thread Mark Waddingham via use-livecode
On 2020-04-11 13:54, Neville Smythe via use-livecode wrote: Sorry Brian, I uploaded from the wrong folder. Here is the update test set. But the only difference is that you don’t need to hold down the shift key to see the binary save timing.

Re: Video format for mobile

2020-04-09 Thread Mark Waddingham via use-livecode
This sounds like a bug we are currently fixing (hopefully in time for 9.6-DP-4) - the android player doesn’t currently play nicely with accelerated rendering... Turning that off should mean things play properly. We use the system player object so MP4 should be fine. Warmest Regards, Mark.

Re: Go to card has become slow

2020-04-03 Thread Mark Waddingham via use-livecode
On 2020-04-03 09:25, Terence Heaford via use-livecode wrote: Fortunately I have Time Machine running on my mac. I have gone back to a previous copy from the 01 April 2020 and this project is running at full speed. I have made no modifications to the underlying functionality of this project

Re: specialFolderPath, Microsoft Window, and 64 bits

2020-03-31 Thread Mark Waddingham via use-livecode
On 2020-03-31 18:13, Trevor DeVore via use-livecode wrote: I had a similar situation recently where I needed to get some DPI information about the monitors that wasn't available through my LC main application. I ended up writing a simple command line tool in Visual Studio that used the Windows

Re: specialFolderPath, Microsoft Window, and 64 bits

2020-03-31 Thread Mark Waddingham via use-livecode
On 2020-03-31 17:07, Paul Dupuis via use-livecode wrote: On 3/31/2020 8:37 AM, Paul Dupuis via use-livecode wrote: Under LiveCode 9.x.x (up to 9.6.0dp3) I can see no way to obtain the 64bit application installation folder using SpecialFolderPath? Does anyone know if this is correct or am I

Re: Determining a scroll based on code unit offsets

2020-03-27 Thread Mark Waddingham via use-livecode
Maybe (the formattedHeight of codeunit 1 to OFFSET of FIELD - the formattedHeight of codeunit OFFSET of FIELD)? Sent from my iPhone > On 27 Mar 2020, at 17:59, J. Landman Gay via use-livecode > wrote: > > In our last episode, our heroine was trapped by the selection of a line > containing

Re: Getting HTML5 going

2020-03-26 Thread Mark Waddingham via use-livecode
On 2020-03-25 21:07, Mark Waddingham via use-livecode wrote: I will make a note to double-check the macOS AppStore rules in the next day or so (this is assuming you are thinking about macOS AppStore submission), but from memory they are very much aligned with the iOS AppStore ones in this regard

Re: Unicode mysteries

2020-03-26 Thread Mark Waddingham via use-livecode
On 2020-03-26 06:53, Neville Smythe via use-livecode wrote: Which should correspond to codepoints 1F3F4 E0067 E0062 E0073 E0063 E0074 E007F And indeed if I manually build a UTF-16 string with these code points it does display as the flag of Scotland. So the lesson is that the reported

Re: Getting HTML5 going

2020-03-25 Thread Mark Waddingham via use-livecode
On 2020-03-25 20:52, William Prothero via use-livecode wrote: But, what I really would need to verify before I go that way, is whether Catalina allows livecode script to be downloaded and executed by the engine. Richard, it looks like you say it will, but Sean says no. Catalina in general does

Re: Getting HTML5 going

2020-03-25 Thread Mark Waddingham via use-livecode
On 2020-03-25 19:31, Pi Digital via use-livecode wrote: In an app on the AppStore this is definitely a security risk from Apple’s point of view. Devs could insert any nefarious code into their app. This has been true from iOS2. Only content like video and images, maybe some animation data and

Re: IMAP Search skipping results

2020-03-23 Thread Mark Waddingham via use-livecode
On 2020-03-23 18:02, Bob Sneidar via use-livecode wrote: Ahh hah hah! That’s funny. I can’t even write a snippet without debugging it! :-) Debugging is just a means to discover the assumptions you made which were invalid! ;) Warmest Regards, Mark. -- Mark Waddingham ~ m...@livecode.com ~

Re: IMAP Search skipping results

2020-03-23 Thread Mark Waddingham via use-livecode
On 2020-03-23 17:49, Pi Digital via use-livecode wrote: Hey, are you insinuating my code is flawed!?! :-o The cheek of it! ;) Lol - well we all write flawed code from time to time... More often though we write code which is perfect but based on assumptions we didn't realize could be invalid

Re: IMAP Search skipping results

2020-03-23 Thread Mark Waddingham via use-livecode
On 2020-03-23 17:14, Pi Digital via use-livecode wrote: Finding the first unseen UID though seems to be the next issue I’m going to have to overcome. A never ending stream of workarounds. Well, unfortunately, this is a bug in cURL as far as we can see - its been there for 6 years and no-one

Re: IMAP Search skipping results

2020-03-23 Thread Mark Waddingham via use-livecode
On 2020-03-23 15:21, Pi Digital via use-livecode wrote: Thanks Mark, your input here is appreciated. This reply in that forum wasn’t helpful, was it > Known bug #90 was reported in 2014. However it still occurs in 2019. Does > anybody know how to overcome this situation? Yes: by fixing the

Re: IMAP Search skipping results

2020-03-23 Thread Mark Waddingham via use-livecode
On 2020-03-23 11:39, Pi Digital via use-livecode wrote: No, same thing unfortunately. Even ALL has the issue. According to an old bug report that has sat for an age untouched it is a known issue in the ood curl lib they are using. At the rate they are currently dealing with bugs for fundamental

Re: [ANN] Release 9.6.0 DP-3

2020-03-22 Thread Mark Waddingham via use-livecode
Oops sorry - that’s my fault - it should have said Xcode 11.3.x Mark. Sent from my iPhone > On 22 Mar 2020, at 13:53, Sannyasin Brahmanathaswami via use-livecode > wrote: > > FWIW > > Xcode 11.3 not easily available on Apple site, > > I tried with Xcode 11.3.1. > > Everything “appears”

Re: Guessing the encoding of a test file...

2020-03-22 Thread Mark Waddingham via use-livecode
On 2020-03-21 14:09, Paul Dupuis via use-livecode wrote: So far the only person who has read my post and replied with what I was looking for was Peter - and although the routine was written in Rebol rather than LiveCode, he kindly provided a link to information about it. It might have got lost

Re: Guessing the encoding of a test file...

2020-03-20 Thread Mark Waddingham via use-livecode
On 2020-03-20 15:34, Paul Dupuis via use-livecode wrote: Why did I ask this? Because I am interested in comparing the accuracy of our current handler to any other that may be available as, users being users, we recently have a user reveal a bug (mis named variable) in our current function that

Re: Guessing the encoding of a test file...

2020-03-20 Thread Mark Waddingham via use-livecode
Rather than throwing ‘the baby out with the bath water’ so to speak... What are the precise cases in which the method you have fails? And why do you expect it to work in those cases? Warmest Regards, Mark Sent from my iPhone > On 19 Mar 2020, at 20:32, Paul Dupuis via use-livecode > wrote:

Interruption to LiveCode services

2020-03-16 Thread Mark Waddingham via use-livecode
Hi all, As some of you will have noticed a number of LiveCode services are currently down - notably, the main LiveCode webserver, the forums and bugzilla. We are currently working to restore these services as quickly as possible. The mailing list server is currently unaffected it seems so

Re: POST on mobile apps

2020-03-15 Thread Mark Waddingham via use-livecode
On 2020-03-15 05:55, J. Landman Gay via use-livecode wrote: "Cross-platform note: On iOS and Android, the post command is implemented in the engine. Therefore the Internet library is not needed to ensure the command works in a mobile standalone application. If included, the Internet library

Re: Where is Andr? ? Andr? says "goodbye"

2020-03-15 Thread Mark Waddingham via use-livecode
On 2020-03-15 10:29, OLIVER GMAIL via use-livecode wrote: It s revXMLText (idID) that converts high ASCII characters to HTML entities, so I don't think file vs binfile will make much difference. I noticed a similar issue with revXMLPutIntoNode. The forum post is here:

Re: Philosophical questions about the fontNames

2020-03-12 Thread Mark Waddingham via use-livecode
On 2020-03-12 17:23, Paul Dupuis via use-livecode wrote: Yes, it does. Lacking a detailed technical understanding of the ridiculous complexity of the macOS (or Windows for that matter), is one reason we used/use HyperCard, SuperCard, MetaCard, Revolution, LiveCode for the past 25+ years for our

Re: Philosophical questions about the fontNames

2020-03-12 Thread Mark Waddingham via use-livecode
On 2020-03-12 15:53, Paul Dupuis via use-livecode wrote: So here is the simple use-case I ran into. We have a field with an editor toolbar for rich content editing in an app. The field is set to (Text) upon start up, as in: set the textFont of fld "X" to "(Text)" So that the font is initially

Re: Philosophical questions about the fontNames

2020-03-12 Thread Mark Waddingham via use-livecode
On 2020-03-11 22:36, Richard Gaskin via use-livecode wrote: Querying the fontNames includes: (Default) (Styled Text) (Menu) (Text) (Message) (Tooltip) (System) These are not font names, but constants the engine accepts so that we can have good-looking, HIG-savvy UIs on multiple platforms. But

Re: Philosophical questions about the fontNames

2020-03-12 Thread Mark Waddingham via use-livecode
On 2020-03-11 23:38, Paul Dupuis via use-livecode wrote: I filled a bug report on this back in February: https://quality.livecode.com/show_bug.cgi?id=22564 Mark Waddingham declared it was not a bug but a documentation issue, so I filed and enhancement request:

Re: New Apple Developer iOS requirements beginning April 30

2020-03-04 Thread Mark Waddingham via use-livecode
We replaced UIWebView with WKWebView in 9.6-DP-1. Sent from my iPhone > On 5 Mar 2020, at 02:11, J. Landman Gay via use-livecode > wrote: > > I got a warning today, building with LC 9.5.1. > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software |

Re: mobileGetDeviceToken

2020-03-03 Thread Mark Waddingham via use-livecode
On 2020-03-03 18:18, Dan Friedman via use-livecode wrote: Greeting! On iOS, prior to LC 9.6, mobileGetDeviceToken() would return something like this: <965b251c 6cb1926d e3cb366f dfb16ddd e6b9086a 8a3cac9e 5f857679 376eab7C> However, with LC 9.6, I'm getting this:

Re: iOS background behavior

2020-03-03 Thread Mark Waddingham via use-livecode
On 2020-03-03 16:30, J. Landman Gay via use-livecode wrote: You can test, the app runs fine. You just can't submit to the App Store with that key in the plist. I have the same problem. All our users who can't update to iOS 13 will be stuck back at the login screen after every phone call. Apple

Re: Translate metadata to field content

2020-02-21 Thread Mark Waddingham via use-livecode
On 2020-02-21 17:22, Richard Gaskin via use-livecode wrote: This is an interesting detail. Is it safe to surmise from this that in cases where speed is important we should consider using codeunits instead of chars? Yes - especially if searching for non-letter chars as delimiters (e.g.

Re: Translate metadata to field content

2020-02-21 Thread Mark Waddingham via use-livecode
On 2020-02-21 00:29, J. Landman Gay via use-livecode wrote: So glad you chimed in, Mark. This is pretty impressive. I'll need to use the "for each element" structure because my tags are not unique, but it still is much faster. When clicking a tag at the top of the document that links to the last

Re: text copied form LC generated PDF, WTF?

2020-02-20 Thread Mark Waddingham via use-livecode
On 2020-02-18 18:40, Klaus major-k via use-livecode wrote: Hi friends, I know that copying text form a PDF file may result in unexspected results, but this is really ridicoulous!? I created a PDF from LC (selected "Save as PDF" in the macOS Print dialog) and when I copy some text and past

Re: Translate metadata to field content

2020-02-20 Thread Mark Waddingham via use-livecode
Of course *all* three of my suggested approaches are wrong - I messed up the inner loop in each... On 2020-02-20 07:56, Mark Waddingham via use-livecode wrote: NON-UNIQUE ANCHORS repeat with i = 1 to the number of elements in tDataA local tRunsA put tDataA[i]["runs"] into tRuns

Re: Translate metadata to field content

2020-02-19 Thread Mark Waddingham via use-livecode
On 2020-02-19 21:40, Niggemann, Bernd via use-livecode wrote: here is Richard's script which I changed to get the number of words of the line with the tagged word, the number of lines are taken from the array. The tagged word is then: word tNumWords of line (current array key)

Re: Does any one know what Player "intervals" actually are?

2020-02-19 Thread Mark Waddingham via use-livecode
On 2020-02-18 21:40, Paul Dupuis via use-livecode wrote: Lastly, my inquiry was also looking to actually understand what "intervals" really are, mostly out of curiosity and interest.  I am still curious as to what exactly "intervals" are. LC support just says that they get them from the media

Re: Translate metadata to field content

2020-02-18 Thread Mark Waddingham via use-livecode
On 2020-02-18 19:14, J. Landman Gay via use-livecode wrote: Thanks for the reply guys, both Hermann and Mark, and Bernd who sent me materials offline. I'll be going over these suggestions to see what works best. The file content can be very long especially when separated into runs (more than

Re: Translate metadata to field content

2020-02-17 Thread Mark Waddingham via use-livecode
There’s the formattedStyledText property which is like the formattedText but in the form of a style array. If you sum the number of chars in each run up until you find your tag, then you can should be able to use the formattedheight of char 1 up to the summed index to get the vscroll you need.

Re: revprintfield and RIGHT tabalign?

2020-02-14 Thread Mark Waddingham via use-livecode
On 2020-02-14 18:27, Klaus major-k via use-livecode wrote: Hm, did take all the above mentioned stape but there are still parts that are not printed and the TOTAL lines are still wrapped. Odd - I modified your test stack button to be: on mouseUp pMouseButton revshowprintdialog false, true

Re: revprintfield and RIGHT tabalign?

2020-02-14 Thread Mark Waddingham via use-livecode
On 2020-02-14 17:32, Klaus major-k via use-livecode wrote: revPrintField formats the content of the field you specify to fill a new field which fits within the printMargins of the page. 'print this card' starts printing the card *as it is* with the top-corner at the

Re: revprintfield and RIGHT tabalign?

2020-02-14 Thread Mark Waddingham via use-livecode
On 2020-02-14 17:03, Klaus major-k via use-livecode wrote:= I have a workaround with "print this cd", so lets wait and see what the mothership says... I think 'the mothership' is likely to say exactly the same as Richard... Your right aligned column isn't missing - its off the side of the

Re: OMG text processing performance 6.7 - 9.5

2020-01-31 Thread Mark Waddingham via use-livecode
to do with virtualization. The Windows LC is running very much >> slower than the Mac OS, and I'm not blaming LC. It may be Windows itself. I >> disabled my Antivirus. Got it down to 57 ticks. >> >> Bob S >> >> >>>> On Jan 31, 2020, at 03:06 , Mark Wad

Re: OMG text processing performance 6.7 - 9.5

2020-01-31 Thread Mark Waddingham via use-livecode
st unviable. If I had some kind of real > answer as to what was causing this kind of lag, it would help. > > Bob S > > > >> On Jan 30, 2020, at 06:04 , Mark Waddingham via use-livecode >> wrote: >> >> >> Warmest Regards, >> >

Re: OMG text processing performance 6.7 - 9.5

2020-01-30 Thread Mark Waddingham via use-livecode
On 2020-01-30 14:38, Ben Rubinstein via use-livecode wrote: Hi Mark, Thanks for taking the time to reply! I'm indeed currently in the process of seeing whether I can persuade the client's IT department to install the 32-bit drivers on the new VM. I'm optimistic that will buy me some time, but

Re: OMG text processing performance 6.7 - 9.5

2020-01-30 Thread Mark Waddingham via use-livecode
On 2020-01-30 13:20, Ben Rubinstein via use-livecode wrote: The context is that I'm finally forced to replace an app that's been processing data for a client for well over a decade. To date the standalone has been built on LC 6.7.11; but now we need to put it on a new platform with 64-bit

Re: Do Mac OS apps stop working if your Mac Developer ID Application cert expires?

2020-01-24 Thread Mark Waddingham via use-livecode
On 2020-01-24 17:41, Tony Trivia via use-livecode wrote: Thanks to all who replied. The scope of my concern is strictly for MacOS standalone builds that are distributed outside of the App Store. Such builds are blissfully simple compared to mobile device builds. For years, I've been able to

Re: iOS app crashes on launch

2020-01-24 Thread Mark Waddingham via use-livecode
On 2020-01-24 02:07, Ralph DiMola via use-livecode wrote: J, High Sierra Xcode 10.1 build tools LC 9.6.0 dp2 Confirm crash on 9.3.6 Works fine on 12.4.2 LC 9.5.1 works OK on 9.3.6 I don't have an iOS 11 device to test but we now know that 9 and 10 CTD. Unfortunately both iOS 8 and iOS 9

Re: TIFF support in the past?

2020-01-24 Thread Mark Waddingham via use-livecode
I think the player object would show tiff files back when it was QT driven - the engine itself has never natively supported tiff. Warmest Regards, Mark Sent from my iPhone > On 24 Jan 2020, at 08:01, Phil Davis via use-livecode > wrote: > > I'm trying to find out if there was a time in

Re: No support for 24bit/96kHz audio file?

2020-01-23 Thread Mark Waddingham via use-livecode
On 2020-01-23 10:00, Stephen Barncard via use-livecode wrote: Mark, My experience with the built in player in the past has been difficult and it never served files greater than 16 bit up to 48k. In 2006 I reverse engineered (hacked) the player object to EXPORT audio files and required a lot

Re: No support for 24bit/96kHz audio file?

2020-01-23 Thread Mark Waddingham via use-livecode
On 2020-01-22 19:17, JJS via use-livecode wrote: Hi, i imprted some short audiofiles 24bit/96kHz but it seems LC does some kind of downsampling or changes the frequency. When you say 'import' do you mean as audioclips? I don't think audioclips (nor the APIs used to playback their sounds)

Re: Apple Mac menubar?

2020-01-21 Thread Mark Waddingham via use-livecode
On 2020-01-21 17:22, dunbarx--- via use-livecode wrote: @Sean What are the "system menu extensions" on the right side of the menubar? @Mark W. What is a "Mac Status Menu"? They are the little icons which appear on the right hand-side of the mac menubar - things like the keyboard selector,

Re: Apple Mac menubar?

2020-01-21 Thread Mark Waddingham via use-livecode
On 2020-01-21 16:41, Colin Kelly via use-livecode wrote: Thanks Sean, that's exactly the info I was looking for. Search for 'Mac Status Menu' in the dictionary - I think that is what you are looking for (Cocoa calls those little widgets NSStatusMenu's, hence the name of the extension).

Re: FYI: Cause found for LC crashing to desktop when Browser widget opens PDF

2020-01-20 Thread Mark Waddingham via use-livecode
On 2020-01-20 15:20, Matthias Rebbe via use-livecode wrote: Just want to let you know that Livecode Dev Team confirmed that this is a bug https://quality.livecode.com/show_bug.cgi?id=22534 Well, we confirmed it crashed ;) Whether it is a bug in LC or Adobe DC or not is another matter.

Re: strange problems with SEND

2020-01-17 Thread Mark Waddingham via use-livecode
On 2020-01-17 17:24, Klaus major-k via use-livecode wrote: ouch, sorry, TRUE! :-/ However the other message "onlinekursinfo" is also from me and I have no idea why it should be delivered on: Sunday, February 2, 2070, I did not script that!? I think you did ... Accidentally... THAT script

Re: strange problems with SEND

2020-01-17 Thread Mark Waddingham via use-livecode
Double check your pending messages after the send - the line you quoted doesn’t match the name of the handler in send... Warmest Regards, Mark. Sent from my iPhone > On 17 Jan 2020, at 15:46, Klaus major-k via use-livecode > wrote: > > HI all, > > I want to execute a handler in the

Re: LiveCode won't recognize my stack

2019-12-30 Thread Mark Waddingham via use-livecode
On 2019-12-27 22:51, Bill Vlahos via use-livecode wrote: List, Version 9.x of LiveCode doesn’t recognize stacks unless the file name ends with either .rev or .livecode. Previous versions (I don’t know when this changed) were able to. Nothing has changed here in any recent version. I use a

  1   2   3   4   5   6   7   8   9   >