Re: Windows on ARM...

2024-04-10 Thread Mark Waddingham via use-livecode
On 2024-04-09 20:03, Paul Dupuis via use-livecode wrote: Mothership people (or anyone in the community that may know this): Microsoft is expected to port and release Windows running on ARM chips (Surface laptops will use the Snapdragon X Elite processors from Qualcomm) this year. Announcement

Re: disabled buttons still receive events, they just process them, later?

2024-02-21 Thread Mark Waddingham via use-livecode
It’s because of the wait - ‘blocking’ waits (those which aren’t ‘with messages’) queue any (low level) events so they are handled at the next wait (in this case the global one the engine does implicitly when there are no handlers executing). Flushing events after the wait as Jacque suggests

Re: AW: Re: macOS window maximization weirdness

2024-02-12 Thread Mark Waddingham via use-livecode
On 2024-02-10 21:16, Paul Dupuis via use-livecode wrote: My desktopChanged handler, at one point, executes either a:   set the effective width of window tWindow to tMontiorWidth OR a   set the effective height of window tWindow to tMonitorHeight Either of which sends a resizeStack message to

Re: Which is faster...

2023-12-15 Thread Mark Waddingham via use-livecode
On 2023-12-14 21:22, Paul Dupuis via use-livecode wrote: Which is faster or more efficient (from an engine performance perspective)? To retrieve an array from a property? As in: command someHandler -- in an objects script   get the cMyArray from me -- cMyArray is some multi-dimensional array  

Re: Property Inspector bug for keys with commas in the key name

2023-11-05 Thread Mark Waddingham via use-livecode
Indeed you can indirect through a variable - but you can’t do, e.g: get the foo,bar,baz of me Which was my point :) Warmest Regards, Mark. P.S. Of course an obvious syntactic extension would be allowing quoting of the property keyword: the “foo,bar,baz” of me. Sent from my iPhone > On 5

Re: Property Inspector bug for keys with commas in the key name

2023-11-05 Thread Mark Waddingham via use-livecode
On 2023-11-03 20:21, Paul Dupuis via use-livecode wrote: You do make a good point about the documentation regarding custom properties. Assuming people read the documentation. At the same time, you used to be able to use commas in custom property names. As Curry noted, Livecode even used to use

Re: Crashing on M2 Mac

2023-11-03 Thread Mark Waddingham via use-livecode
Dan, could you file a bug with the offending line of code which crashed ios17 with 9.6.10… Just so we can check it isn’t still there in 9.6.11 :) Thanks! Mark Sent from my iPhone > On 3 Nov 2023, at 16:48, Dan Friedman via use-livecode > wrote: > > To all, > > Oops! I am mistaken…. It

Re: decrypt error junk

2023-11-02 Thread Mark Waddingham via use-livecode
On 2023-11-02 02:06, Tom Glod via use-livecode wrote: I have found a "wrong decryption key" that does not return a bad decrypt error, but returns garbage into "the result". Every other wrong key correctly gives the usual error. The right key works to decrypt. What exact error do you get with

Re: Modify timeout for shell function

2023-11-01 Thread Mark Waddingham via use-livecode
On 2023-11-01 11:20, Ben Rubinstein via use-livecode wrote: An install which runs daily and makes a number of calls using the shell function occasionally reports The process "..." exceeded the timeout of 10 seconds. I'm not sure where this timeout is defined; I'm not totally sure where

Re: Filter with wildcards

2023-10-30 Thread Mark Waddingham via use-livecode
The filter command has had a ‘with[out] regex’ form for a long time - so I’d use a regex instead :) (I’m pretty sure [ ] is a set of characters to match, rather than a list of sub strings, in wildcard expressions) Warmest Regards, Mark. Sent from my iPhone > On 30 Oct 2023, at 17:19, David

Re: Oddity in 'currentCard' function?

2023-10-26 Thread Mark Waddingham via use-livecode
On 2023-10-25 13:57, Paul Dupuis via use-livecode wrote: On 10/25/2023 12:34 AM, Mark Waddingham via use-livecode wrote: If you want to do stuff with the current card of a stack, then don't use the currentCard property - 'this card of stack ...' *is* a chunk reference and thus it doesn't

Re: Oddity in 'currentCard' function?

2023-10-26 Thread Mark Waddingham via use-livecode
On 2023-10-25 15:41, Craig Newman via use-livecode wrote: Paul. The construction "answer this card of stack “X” does not work if you are not on stack “X”: answer the currentCard of stack “X” —works answer the name of this card of stack “X —works answer this card of stack “X”—Nope

Re: Oddity in 'currentCard' function?

2023-10-24 Thread Mark Waddingham via use-livecode
On 2023-10-24 18:00, Paul Dupuis via use-livecode wrote: I think I found a oddity in the "currentCard" property. The documentation states that the currentCard property return the short name of the current card of a stack: for example: put the currentCard of stack "Untitled 1" into tCardName

Re: OS X document icon missing

2023-10-19 Thread Mark Waddingham via use-livecode
On 2023-10-18 20:54, J. Landman Gay via use-livecode wrote: On 10/18/23 10:35 AM, Paul Dupuis via use-livecode wrote: If you have identified the document extension in the Standalone setting for macOS and set an ics file of icons (or the appropriate sizes required by Apple) than documents

Re: Livecode 10dp6 and web fonts

2023-10-04 Thread Mark Waddingham via use-livecode
On 2023-09-27 15:49, Paul Dupuis via use-livecode wrote: I get the value of web font support in LC10dp6 for WEB based applications. However, if you making a multi-platform application, you still have the issue of UI consistency across platforms as web fonts can't be used in desktop

Re: Android ANR (App not responding | Jacque was right :-)

2023-09-15 Thread Mark Waddingham via use-livecode
On 2023-09-14 18:49, Klaus major-k via use-livecode wrote: But I'm using a Mac and it looks like that tool is not available here in the SDK tools folder. Maybe available somewhere in "Android Studio". And my problem NEVER happened when I'm at home, only during band rehearsals and gigs! :-D

Re: Sorting by item ... of each and item ... of each

2023-09-03 Thread Mark Waddingham via use-livecode
On 2023-09-03 10:26, panagiotis m via use-livecode wrote: Hello Matthias, I do not think that the syntax "sort by sortKey1 and sortKey2" is supported Heh technically it 'is' - and does do something but it won't be what you expected... So the syntax for sort in this case is: sort by

Re: Pasting text and images together?

2023-09-02 Thread Mark Waddingham via use-livecode
You could poke around the raw clipboard data - this is platform specific (in terms of the keys) but gives a complete reflection of the system clipboard: lock clipboard put the keys of the rawClipboardData unlock clipboard This will dump what raw data types are present - then you can fetch using

Re: is strictly a name

2023-09-01 Thread Mark Waddingham via use-livecode
On 2023-09-01 17:44, Paul Dupuis via use-livecode wrote: I may just be experiencing a brain fart, but I have read the release notes several times, and I don't understand the purpose of the new: is strictly a name operator? Can someone explain its purpose in really basic terms or examples?

Re: [[ ANN ]] Release 9.6.10 RC-1

2023-08-20 Thread Mark Waddingham via use-livecode
On 2023-08-19 21:57, Tom Glod via use-livecode wrote: Hello, Does this mean we have JSON support in SQLite? This is from the documentation.: In other words, the JSON functions went from being opt-in with SQLite version 3.37.2 and earlier to opt-out with SQLite version 3.38.0 and later.

Re: Detecting when resizeStack is completed

2023-08-18 Thread Mark Waddingham via use-livecode
On 2023-08-18 17:03, David Epstein via use-livecode wrote: How can I redraw objects after the user has resized the stack, but not continuously during the resize? Releasing the mouse at the end of a resize does not appear to send a mouseUp message. Normal window resizing is handled by the OS,

Re: Linux filenames in LC Server

2023-08-16 Thread Mark Waddingham via use-livecode
On 2023-08-16 06:37, Neville Smythe via use-livecode wrote: So I misunderstood, I thought we were talking about Apache environment variables. Indeed the Terminal app reports LANG=C as a system env variable. But if this is not specifically a server problem, wouldn’t that mean we could see the

Re: Browser widget: "Navigation request cancelled"

2023-08-15 Thread Mark Waddingham via use-livecode
On 2023-08-15 12:08, Ben Rubinstein via use-livecode wrote: Is it possible to get any more detail about what's going on? I'm guessing you are using 10-dp-5 :) The issues here are regressions caused by the switch to WKWebView in 10 (previously we used the older WebView system web browser

Re: Linux filenames in LC Server

2023-08-15 Thread Mark Waddingham via use-livecode
On 2023-08-15 08:42, Neville Smythe via use-livecode wrote: So if I understand Mark correctly, while one can create utf-8 encoded filenames directly in a terminal session, LC Server internally accesses Apache environment variables to encode/decode the filename before opening a file rather than

Re: Linux filenames in LC Server

2023-08-14 Thread Mark Waddingham via use-livecode
On 2023-08-14 12:30, Mark Waddingham via use-livecode wrote: So assuming that the defaultFolder is accessible in your above script (as a read-only folder would also cause the same error) then there does appear to be something up here... Okay so I'm pretty sure the linux server engine is doing

Re: Linux filenames in LC Server

2023-08-14 Thread Mark Waddingham via use-livecode
On 2023-08-14 12:12, matthias rebbe via use-livecode wrote: Hi Mark, when i read Neville's post i thought also about normalize, although i really do not have a clue about the whole unicode stuff, but i remembered that the standalone builder make use of the normalize function. ;) So i used

Re: Linux filenames in LC Server

2023-08-14 Thread Mark Waddingham via use-livecode
On 2023-08-14 02:45, Neville Smythe via use-livecode wrote: OK, so the macOS *is* using utf-8 for its file names - the [e-acute] in the filename Carré.txt is rendered with two bytes [C3A9] not the single byte MacRoman encoding. I got tricked by copying the terminal listing into another program

Re: LC 9.6.9 App uses too much memory!

2023-08-14 Thread Mark Waddingham via use-livecode
On 2023-08-13 14:29, harrison--- via use-livecode wrote: Hi LiveCoders, Clearly this is a bug in LC 9.6.9, but I don’t know what is causing the problem. I noticed that others in the past have run into a similar problem. Was this ever reported as a bug? Could you file a bug report with

Re: charIndex property

2023-07-27 Thread Mark Waddingham via use-livecode
. Sent from my iPhone > On 27 Jul 2023, at 21:23, Paul Dupuis via use-livecode > wrote: > > On 7/27/2023 4:31 AM, Mark Waddingham via use-livecode wrote: >>> On 2023-07-26 18:02, Paul Dupuis via use-livecode wrote: >>> If I have some text in a field, I can use

Re: LC on Sonoma beta

2023-07-27 Thread Mark Waddingham via use-livecode
On 2023-07-26 21:20, Marty Knapp via use-livecode wrote: Anyone have any input regarding LC apps running on the Apple Sonoma beta? I have not installed it but have some customers who have and saying my app crashes. Unfortunately LC does currently crash on startup on the macOS Sonoma beta

Re: charIndex property

2023-07-27 Thread Mark Waddingham via use-livecode
On 2023-07-26 18:02, Paul Dupuis via use-livecode wrote: If I have some text in a field, I can use the "charIndex" property (see Dictionary) to obtain teh character position of the first character of a chunk. Does anyone know of a clever way to do the equivalent of the charIndex for an

Re: Livecode 10.0.0dp5 new reserved words

2023-07-11 Thread Mark Waddingham via use-livecode
On 2023-07-11 13:26, Mark Waddingham via use-livecode wrote: Anyway, we'll try and figure out what has changed to cause the change in behavior - at the very least we can go back and add a 'breaking change' warning to the release note for the change which caused the issue. Okay so after a bit

Re: Livecode 10.0.0dp5 new reserved words

2023-07-11 Thread Mark Waddingham via use-livecode
On 2023-07-11 13:20, Paul Dupuis via use-livecode wrote: Thank you! Bug filed: https://quality.livecode.com/show_bug.cgi?id=24266 I am fine changing 'tExt'. As Martin just posted, ‘All words in the English Dictionary should be considered reserved words.’ is not a bad rule. Just to illustrate

Re: Livecode 10.0.0dp5 new reserved words

2023-07-11 Thread Mark Waddingham via use-livecode
On 2023-07-11 12:28, Paul Dupuis via use-livecode wrote: Does anyone, including folks at the mothership, have a list of new reserved words in Livecode 10? I have used a variable called "tExt" (t for temp, Ext for extension)  to pull of the file extension from file paths. i.e. if tFile

Re: Different default bg color of stacks Mac/Win

2023-05-11 Thread Mark Waddingham via use-livecode
On 2023-05-11 15:51, Klaus major-k via use-livecode wrote: Hi Mark, Am 11.05.2023 um 16:49 schrieb Mark Waddingham via use-livecode : On 2023-05-11 15:45, Klaus major-k via use-livecode wrote: See screenshot of a stack with two OPAQUE (and white) text fields created on Mac and opened

Re: generate an Array using value for naming the keys?

2023-05-11 Thread Mark Waddingham via use-livecode
On 2023-05-11 15:47, matthias rebbe via use-livecode wrote: Mark, thank you very much! i didn't know or remember that the key name of an array can be created directly using strings and variables Maybe i even did that in the past, but could not remember anymore. I really thought i have

Re: Different default bg color of stacks Mac/Win

2023-05-11 Thread Mark Waddingham via use-livecode
On 2023-05-11 15:45, Klaus major-k via use-livecode wrote: See screenshot of a stack with two OPAQUE (and white) text fields created on Mac and opened on Windows. Surprise, surprise... Is this a bug or feature? If a bug,

Re: generate an Array using value for naming the keys?

2023-05-11 Thread Mark Waddingham via use-livecode
On 2023-05-11 14:36, matthias rebbe via use-livecode wrote: The middle part of the key names changes and there can be about 50 different "middle parts" and there are 10 main keys (after the middle part) _content, _text _html and so on. So without an idea i would have to create the code to

Re: Custom property retrieval incorrect

2023-04-28 Thread Mark Waddingham via use-livecode
On 2023-04-27 23:32, J. Landman Gay via use-livecode wrote: Those are exactly the two values I get too. The earliest version of LC I currently have installed is 9.6.7 and it happens there and in three newer versions after that. A custom property named "cVers" works okay. But I've been using

Re: Problem using AppleScript of "system events" to click a location on screen

2023-04-27 Thread Mark Waddingham via use-livecode
You didn’t mention the kind of mac you are running and whether either the standalone or ide is running in rosetta or not :) To be fair, that part was about the exec error rather than the expected outcome though… The reason you are seeing the effect you are when not doing the request from a

Re: Weird window behavior

2023-04-27 Thread Mark Waddingham via use-livecode
oaded the Levure framework. > --- > Marty Knapp > >> On Apr 27, 2023, at 9:39 AM, Mark Waddingham via use-livecode >> wrote: >> >>> On 2023-04-19 19:25, Marty Knapp via use-livecode wrote: >>> Ever since I updated to Ventura on my Mac I've had this weird be

Re: Custom property retrieval incorrect

2023-04-27 Thread Mark Waddingham via use-livecode
Intriguing - my guess is that something in the message path in your IDEs has a getProp cVersion handler. Now it could be something built into the IDE - although I’m not sure what - or it could be a plug-in or extension. An easy way to find out is to temporarily rename the ‘My LiveCode’ folder

Re: Weird window behavior

2023-04-27 Thread Mark Waddingham via use-livecode
On 2023-04-19 19:25, Marty Knapp via use-livecode wrote: Ever since I updated to Ventura on my Mac I've had this weird behavior both in the IDE and in two different standalones - if I have more than one stack open, when I click on a stack that is behind another stack to bring it to the front,

Re: Problem using AppleScript of "system events" to click a location on screen

2023-04-27 Thread Mark Waddingham via use-livecode
On 2023-04-27 16:42, Ben Rubinstein via use-livecode wrote: Can anyone shed light, either on how to grant the IDE permission to use the Accessibility controls; or on why the applescript wouldn't work? Not immediately - no :) However, three questions... What version of LC are you using? Are

Re: more then 1 browser widget in a web standalone?

2023-04-24 Thread Mark Waddingham via use-livecode
On 2023-04-24 15:46, matthias rebbe via use-livecode wrote: I can now confirm that more than one Browser Widget will work in Web standalones, but not all URLs that work in LC IDE or Desktop standalones will work in Web standalones. For example this one here fails in Web Standalones.

Re: Android 13?

2023-04-23 Thread Mark Waddingham via use-livecode
But building standalones for minimum Android version 13 is not possible, correct? At least only 5 to 12 are currently possible options in the standalone builder. We really need to make that drop-down work out its values from the built engine somehow :) The min-version controls the lowest

Re: Android 13?

2023-04-23 Thread Mark Waddingham via use-livecode
On 2023-04-22 20:41, J. Landman Gay via use-livecode wrote: I believe this is an error relating to the target version embedded in the app. Google's policy says that new and updated apps must target an Android API no earlier than 2 versions behind the current one. Since API 33 is current, your

Re: [[ ANN ]] Release 10.0.0 DP-5

2023-04-20 Thread Mark Waddingham via use-livecode
On 2023-04-18 20:58, Mark Wieder via use-livecode wrote: I would so like to like this release: script widgets expression constants (finally!) etc... but it's so wonky on linux that I'd have to write up a slew of bug reports. Essentially unusable for me in ways that dp4 behaves. I'm looking

Re: Which sqlite?

2023-04-17 Thread Mark Waddingham via use-livecode
On 2023-04-15 12:13, Neville Smythe via use-livecode wrote: Is it possible to direct LC to use a custom version of sqlite3 rather than its default? I ask because the installed version of sqlite which come installed with macOS, and which I assume LC uses when it initialises its database

Re: 9.6.9 iOS compile error

2023-04-13 Thread Mark Waddingham via use-livecode
On 2023-04-14 03:48, Andrew at MidWest Coast Media via use-livecode wrote: When compiling the same app using 9.6.9 and Xcode 14.2, my submissions are getting rejected by Apple when attempting to upload with Transporter: ERROR ITMS-90502: "Invalid Bundle. Your binary,

Re: Unable to load Preferences LC 9.6.9rc3 and Levure 9.0.5

2023-04-10 Thread Mark Waddingham via use-livecode
On 2023-04-08 14:58, bob--- via use-livecode wrote: I'm wondering if anyone might be able to help me out. I’m trying to use LC 9.6.9rc3 with an app built with Levure. With LC 9.6.9rc2 I am able to open the app in the IDE with no issue. When I try to open the app with LC 9.6.9rc3 I get “An error

Re: running platform-native by default

2023-03-24 Thread Mark Waddingham via use-livecode
On 2023-03-22 19:45, Phil Davis via use-livecode wrote: I'm using LC 9.6.8 to build some macOS Intel/Silicon ("dual-native") apps. Upon first launch of these apps on my Silicon test machine, I always get the OS dialog that says "To open '', you need to install Rosetta. Do you want to install

Re: ChatGPT examples

2023-01-20 Thread Mark Waddingham via use-livecode
On 2023-01-20 13:05, Alex Tweedly via use-livecode wrote: We need a better algorithm. If we use a "linear scan", we can change it from essentially Order(N**2) to approx Order(N). Slightly pedantic point (I appreciate that you did say 'approx')... Sorting can not be done in any less time than

Re: Standalone riddle

2023-01-20 Thread Mark Waddingham via use-livecode
On 2023-01-17 21:39, J. Landman Gay via use-livecode wrote: That's true, but is there a way to avoid including the remote debugger in a test app when the device is cabled to the computer? I think you just need to ensure 'Script Debug Mode' is turned off before clicking Test. (The remote

Re: Lock screen and animated gif

2022-12-21 Thread Mark Waddingham via use-livecode
On 2022-12-20 18:27, Paul Dupuis via use-livecode wrote: If someone switches to another applications (so a suspendStack is executes and does the currently executing script get suspended?) and then back to a different window/stack, could that also change the defaultStack for the currently

Re: Lock screen and animated gif

2022-12-20 Thread Mark Waddingham via use-livecode
On 2022-12-20 15:48, Paul Dupuis via use-livecode wrote: I'm just using this post to raise awareness on the list (if anyone reading this doesn't know this already) When using 'wait 0 with messages' any messages in the pendingMessages (who are not delayed in time) get processed. This includes

Re: [OT} Sunsetting Atom Editor 12/15/2022

2022-12-09 Thread Mark Waddingham via use-livecode
On 2022-12-08 18:30, Mike Kerner via use-livecode wrote: mark - what have you fond compelling about vscode? i have never really liked it Three immediate things: 1) it has a terminal pane 2) its find in all files is a right hand tree view and is updated live 3) there is a C/C++ extension

Re: Crash on launching LC server version > 9.6.7 using terminal

2022-12-08 Thread Mark Waddingham via use-livecode
Hi Ralf, have any of you ever experienced that a version of LC Server newer than 9.6.7 crashes on launching using hashbangs? This is the case for me on a MacBook Pro M1 running macOS Monterey 12.6. Oh! I thought it was something that had changed in recent macOS Monterey versions, rather than

Re: [OT} Sunsetting Atom Editor 12/15/2022

2022-12-08 Thread Mark Waddingham via use-livecode
On 2022-12-06 19:15, Ralph DiMola via use-livecode wrote: I was wondering what editor the LC community is migrating to? I like Atom with the LCS and LCB packages. I've recently migrated to VSCode (albeit from Sublime Text, rather than Atom) - I have not looked back :) Warmest Regards,

Re: RANT (Mild): revZIP library

2022-10-12 Thread Mark Waddingham via use-livecode
On 2022-10-11 20:37, Paul Dupuis via use-livecode wrote: We just got bit by a 4+ year old bug (See https://quality.livecode.com/show_bug.cgi?id=20859) where the revZIP library on macOS can create and read ZIP archives over 2GB, BUT the Windows library can not. Do you ship your app as a 64-bit

Re: PDF Printing

2022-10-04 Thread Mark Waddingham via use-livecode
On 2022-10-04 16:20, Dan Friedman via use-livecode wrote: Here are examples of the printouts (the PDFs): Print to PDF - https://www.clearvisiontech.com/WORKING/PrintToPDF1.pdf Print to Printer - https://www.clearvisiontech.com/WORKING/PrintToPDF2.pdf Any thoughts or ideas? Someone had a

Re: LC converts phone number to scientific notation

2022-09-10 Thread Mark Waddingham via use-livecode
On 2022-09-09 11:40, Klaus major-k via use-livecode wrote: Hi Panos, Am 09.09.2022 um 12:27 schrieb panagiotis m via use-livecode : Hello Klaus, I guess what happens here is that if you fetch item X of line Y and use it directly, LC treats it as a number and displays it in scientific

Re: Livecode SQLite

2022-08-11 Thread Mark Waddingham via use-livecode
On 2022-08-11 16:16, Tom Glod via use-livecode wrote: I was interested in implementing a relatively new feature where you can index and query json documents and read the keys directly. https://dgl.cx/2020/06/sqlite-json-support I guess, if this is true, is there any documentation about which

Re: Tree Widget: hilitedValue?

2022-07-11 Thread Mark Waddingham via use-livecode
On 2022-07-10 21:33, Richard Gaskin via use-livecode wrote: Brian Milby wrote: You could also turn the path into an array (but lose the error checking above): function getValue pArray, pPath split pPath by comma return pArray[pPath] end getValue Thanks, Brian. I keep forgetting we can

On API keys...

2022-06-24 Thread Mark Waddingham via use-livecode
So this is mainly aimed at Tom Glod due to a question he asked in this afternoon's Feature Focus session which I perhaps did not answer particularly well (and given that it is security related, I figured I should expand on what I said). The question was whether putting an API Key as a

Re: {OT} Are there any ffmpeg "experts" on this list?

2022-06-24 Thread Mark Waddingham via use-livecode
On 2022-06-24 17:05, Paul Dupuis via use-livecode wrote: I was unaware of the mediaFoundation library - I had thought that we'd not see support under LiveCode 10 switches from DirectShow to MediaFoundation. Its actually been buried in the product (business/pro features) for a long time - I

Re: How to color a "cell"?

2022-06-23 Thread Mark Waddingham via use-livecode
On 2022-06-23 23:54, Richard Gaskin via use-livecode wrote: Thanks Mark - works. I could have sworn I'd tried "line" earlier when attempting to set the backgroundColor, and when it failed was when I switched to trying "paragraph". But it works now so I don't mind being mistaken. Oddly,

Re: How to color a "cell"?

2022-06-23 Thread Mark Waddingham via use-livecode
IIRC you need to use ‘line’ to set ‘paragraph‘ properties of fields… Sent from my iPhone > On 23 Jun 2022, at 19:29, Richard Gaskin via use-livecode > wrote: > > Craig wrote: > > > Richard wrote: > >> I had hoped the paragraph-level formatting options introduced in > >> v5.x would help, but

Re: M1 Macs and LC 9.6.8 RCs and 10.0.0 RCs

2022-06-21 Thread Mark Waddingham via use-livecode
On 2022-06-21 12:18, matthias rebbe via use-livecode wrote: Am 21.06.2022 um 11:56 schrieb Mark Waddingham via use-livecode : Why? First, it's more convenient for the developer. I think the end user is more important (in this case) ;) The Intel only and Apple only builds are smaller ins

Re: M1 Macs and LC 9.6.8 RCs and 10.0.0 RCs

2022-06-21 Thread Mark Waddingham via use-livecode
On 2022-06-20 20:55, matthias rebbe via use-livecode wrote: Anyway, the macOS Apple support is currently experimental, i am pretty sure there will be such an option in future. At least i hope so. ;) Why? The idea of universal binaries is to ensure that a single app/installer can be shipped

Re: M1 Macs and LC 9.6.8 RCs and 10.0.0 RCs

2022-06-20 Thread Mark Waddingham via use-livecode
On 2022-06-18 21:27, matthias rebbe via use-livecode wrote: So, the question now is, is this a macOS problem or is it possible that a standalone could show the wrong setting due to a wrong configuration or so when it is created. It is a macOS (Finder) bug - I think it was the same when they

Re: char as word boundary

2022-06-13 Thread Mark Waddingham via use-livecode
Hi Jean-Jacques, On 2022-06-03 14:56, Jean-Jacques Wagner via use-livecode wrote: Hi, Version 6.7word boudary are char number 09,10,11,12,13,32 version 9.67 word boudary are char number 09,10,11,12,13,32,202 Hypercard and livecode 6.7: the number of chars (numtochar(32)&

Re: Would anyone miss convertOctals?

2022-06-10 Thread Mark Waddingham via use-livecode
On 2022-06-09 20:54, Craig Newman via use-livecode wrote: Mark. Gong the other way, is your task made much simpler by losing “converOctals”? I assume so, or the issue would never have come up. Are there other similar language elements that also are on the block? I'm not sure it makes things

Re: Would anyone miss convertOctals?

2022-06-09 Thread Mark Waddingham via use-livecode
On 2022-06-09 16:33, Devin Asay via use-livecode wrote: Wait, you said three questions. But no. What are those two hard problems of computer science again? ;) -- Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps

Would anyone miss convertOctals?

2022-06-09 Thread Mark Waddingham via use-livecode
So I'm currently sitting here about to embark on fixing (which is the final thing to sort out before being able to merge my constant expression patch) and I was reminded of 'convertOctals'. Now, generally, I am somewhat averse to actually

Re: Generating Random numbers to conform a distribution

2022-06-08 Thread Mark Waddingham via use-livecode
On 2022-06-07 21:51, David V Glasgow via use-livecode wrote: Quite a lot of stats and maths packages offer a feature whereby the N, the Mean and the SD are variables specified by the user, and N random numbers are then generated with the required mean and SD. I remember the venerable and

Re: Case sensitivity in Livecode ??

2022-06-07 Thread Mark Waddingham via use-livecode
On 2022-06-07 17:16, Mark Wieder via use-livecode wrote: 1. Because it's a function, not a constant. put gkMyMagicValue() into tVar is cognitively different from put gkMyMagicValue into tVar Something like 17 is a trivial case. Something more like real world usage would be constant

Re: Case sensitivity in Livecode ??

2022-06-07 Thread Mark Waddingham via use-livecode
On 2022-06-01 19:54, Alex Tweedly via use-livecode wrote: Also, you'll be able to do things like:     constant kPiBy2 = pi / 2     constant kPiBy2Squared = kPiBy2 * kPiBy2     constant kPiBy2String = format("%f", kPiBy2)     local sPiMap = { "pi-by-2": kPiBy2, "pi-by-2-sq": kPiBy2Squared }

Re: Reporting Apple Silicon anomalies (Re: [[ ANN ]] Release 9.6.8 RC-1)

2022-06-06 Thread Mark Waddingham via use-livecode
On 2022-06-06 15:50, Ben Rubinstein via use-livecode wrote: This is very exciting, thank you. If we find anomalies in the Apple Silicon side, should we raise them in the first instance - to you directly? - on this list? - straight into LQCC? Just file a bug in the LQCC - indicating that the

Re: Case sensitivity in Livecode ??

2022-06-01 Thread Mark Waddingham via use-livecode
On 2022-06-01 17:44, Alex Tweedly via use-livecode wrote: I was surprised to find that    constant K = TRUE produces an error, though   constant K = true is fine. In other contexts, you can say    put TRUE into myVar    put true into hisVar    etc. but in a constant statement, it seems to

Re: Set HTMLText and Get Effective HTMLText

2022-05-18 Thread Mark Waddingham via use-livecode
On 2022-05-18 17:43, Rick Harrison via use-livecode wrote: I wish it worked with variables though because execution would be faster. If variables could manipulate styled text (aka htmlText) then they wouldn't be any faster than fields ;) Warmest Regards, Mark. -- Mark Waddingham ~

Re: drawingSvgCompileIcon(pIconName) always BLACK

2022-04-06 Thread Mark Waddingham via use-livecode
On 2022-04-06 18:16, Klaus major-k via use-livecode wrote: Hi all, so sorry, looks like I completely f. up here. Sorry for the confusion, not may day... See: Hehe - no worries. So in answer to your original query about wanting to be

Re: Weird Standalone Builder issue

2022-03-25 Thread Mark Waddingham via use-livecode
On 2022-03-24 21:07, Paul Dupuis via use-livecode wrote: I'm on Windows 10, using LC 9.6.6, and building for macOS and Windows ... This is not a problem form me as I can use revDeleteFolder to remove Contents\Resources\_MacOS\Utilities\ on the mac build and revDeleteFile to remove "ffmepeg" from

Re: debugging javascript in html5

2022-03-18 Thread Mark Waddingham via use-livecode
On 2022-03-18 10:44, Bernard Devlin via use-livecode wrote: Considering the html5 enhancements might well be the biggest thing in LC 10, I can foresee a whole world of pain when it comes to us debugging Javascript interactions. Yes - this is somewhat painful at present - and we do hope to

Re: debugging javascript in html5

2022-03-18 Thread Mark Waddingham via use-livecode
On 2022-03-18 11:19, Bernard Devlin via use-livecode wrote: Here's a peculiarity I haven't seen mentioned before. I am trying to test the viability of the idea of a function to call back to LC and provide debugging info. Assume you create a LC function lclog(pmsg,pval) and you put a

Re: 10.0.0-dp-2 html5 and liburlLastRHHeaders()

2022-03-18 Thread Mark Waddingham via use-livecode
On 2022-03-17 13:07, Bernard Devlin via use-livecode wrote: So there is something else going on between LC's libUrlLastRHHeaders() and LC's interaction with the JS XMLHttpRequest(). This something is stripping out most of the headers. As I said, LC is not stripping anything - we are

Re: :MEMORY: databases and Windows

2022-03-17 Thread Mark Waddingham via use-livecode
On 2022-03-16 22:07, Bob Sneidar via use-livecode wrote: Once again you nailed it. Still, this is a bug, minor though it may be. In the past I was told that it MUST be capitalized. Now it seems capitalized only works on the mac while all lowercase works on both platforms. squared. FWIW I

Re: 10.0.0-dp-2 html5 and liburlLastRHHeaders()

2022-03-17 Thread Mark Waddingham via use-livecode
On 2022-03-16 14:15, Bernard Devlin via use-livecode wrote: If one could get hold in Livecodescript of the Javascript Request object that was sent to the server, then one might be able to get hold of the Response headers.

Re: Speed up a slow loop

2022-03-02 Thread Mark Waddingham via use-livecode
On 2022-03-02 21:57, J. Landman Gay via use-livecode wrote: The loop takes forever. Here it is (sDictFile is a script local): repeat for each line l in pList -- pList is the user word list if sDictFile[l] = true then put l & cr after tCheckedList else put l & cr after tNonWords

Re: Have we lost the Oracle driver?

2022-03-01 Thread Mark Waddingham via use-livecode
On 2022-03-01 15:51, Ben Rubinstein via use-livecode wrote: Hi Matthias, Good spot! Thanks for checking. I wonder whether this is an accidental omission, in that Oracle was at one time only available at a certain higher level of license; maybe now that there is only level, perhaps someone

Re: resetall?

2022-02-22 Thread Mark Waddingham via use-livecode
On 2022-02-21 20:17, Mark Wieder via use-livecode wrote: On 2/21/22 10:37, Mark Waddingham via use-livecode wrote: Put another way - if you have done 'close socket i', then it is then it should be logically impossible for i to be in the openSockets immediately afterwards. Ah. Sorry - after

Re: Loading a LONG list with images

2022-02-22 Thread Mark Waddingham via use-livecode
On 2022-02-21 23:47, Tom Glod via use-livecode wrote: This is how i did it . I hope this helps. First to use the "numberofrecords" way of setting the datagrid data. This is key, that way you only ever trigger loading of visible rows. So I've not got much to add to Tom's method i.e. make

Re: resetall?

2022-02-21 Thread Mark Waddingham via use-livecode
On 2022-02-21 18:09, Mark Wieder via use-livecode wrote: On 2/21/22 08:57, Mark Waddingham via use-livecode wrote: If you want to brute force close all sockets then I suggest:     repeat for each line i in the openSockets   close socket i     end repeat :) Yeah, that's what I'm

Re: resetall?

2022-02-21 Thread Mark Waddingham via use-livecode
On 2022-02-21 16:51, Mark Wieder via use-livecode wrote: Before I report this one... I thought resetall was supposed to close open sockets. There's even a warning in the docs about it being a brute force close. But it doesn't seem to do anything useful. Am I missing something? Its a synonym

Re: Encrypting long text

2021-12-16 Thread Mark Waddingham via use-livecode
On 2021-12-16 17:09, Sean Cole via use-livecode wrote: Thanks Mark, New problem. Trying to use aes-256-ctr instead. I'm following the syntax in the dictionary but it throws a red cross on it: encrypt tData using "aes-256-ctr" with key tMyKey and salt tMySalt I think you can either specify

Re: Encrypting long text

2021-12-16 Thread Mark Waddingham via use-livecode
On 2021-12-16 16:23, Sean Cole via use-livecode wrote: Hi all, I'm trying to use RSA to encrypt data from a text field like an address or notes. When I try to use the encrypt command I get a result 'message too long'. What is the method for encrypting long or large data? My current line of

Re: [ANN] Release 10.0.0 DP-1

2021-12-14 Thread Mark Waddingham via use-livecode
On 2021-12-14 13:50, Rolf Kocherhans via use-livecode wrote: First of all thanks for the WebAssembly HTML5 implementation. This is really great stuff ! For instance all my URL stuff (loading a stack on same domain) is unfortunately not working anymore. Also, all the PHP scripts which I used to

Re: How to paste into a form element in the browser widget

2021-12-14 Thread Mark Waddingham via use-livecode
On 2021-12-14 11:41, Tore Nilsen via use-livecode wrote: I have a problem pasting into a form element on a web page in the browser widget. This works well in the IDE, but not in a standalone application. The application has no menus, but I have included a pasteKey script to handle paste

Re: Android tap location doesn't match visual location

2021-11-20 Thread Mark Waddingham via use-livecode
Hi Scott - the touch coords being wrong sounds like a bug to me - can you file a report (with example stack if possible). Thanks! Mark. Sent from my iPhone > On 20 Nov 2021, at 12:04, scott--- via use-livecode > wrote: > > Just answering my own question in case anyone searches this later.

Re: The Dreaded tsNet "Error Previous request not completed" iOS app

2021-11-19 Thread Mark Waddingham via use-livecode
On 2021-11-19 17:20, Ralph DiMola via use-livecode wrote: I just wanted to thank Jacqueline Landman Gay and Charles Warwick for this thread https://www.mail-archive.com/use-livecode@lists.runrev.com/msg113554.html I still wonder how more than one synchronous operation can be in play at the

  1   2   3   4   5   6   7   8   9   10   >