From General.2018 at outlook.com Mon Feb 1 04:51:33 2021 From: General.2018 at outlook.com (General 2018) Date: Mon, 1 Feb 2021 09:51:33 +0000 Subject: MergExt BLE In-Reply-To: References: , Message-ID: Thanks Monte , I will go that route. Regards Camm > On 1 Feb 2021, at 01:11, Monte Goulding via use-livecode wrote: > > ?Hi Camm > > The mergExt externals are supported by LiveCode so the best route for support is support at livecode.com . > > Cheers > > Monte > >> On 31 Jan 2021, at 1:16 am, General 2018 via use-livecode wrote: >> >> Hi, >> >> Is Monte able to support MergeBLE still or is this now solely with Livecode ? >> >> Anyone help please . >> >> Regards Camm > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Mon Feb 1 04:52:17 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 01 Feb 2021 09:52:17 +0000 Subject: installing and running LC on 'headless' linux server In-Reply-To: References: <7b745671-e8f8-71cd-51b0-95f0964b97e2@cogapp.com> <0D57ABE2-BB58-4A77-AE47-F22AEDDBAC39@m-r-d.de> <107206d6-7cd5-c210-a5d0-8a8584001348@cogapp.com> Message-ID: Thanks Mark (and Matthias). That's very useful info which I'll stash for another time. In this case I really don't want to use the LC code over HTTP. It is purely a utility to run locally on this machine at scheduled intervals, in support of some other processes. For several reasons it would be more convenient to run it as a stack rather than just a script, though it would be possible to go the latter way. So two questions: - just to be clear, does LiveCode Server only work receiving requests from Apache/nginx/whatever? Or can it be run from the command line? - is there a way to install ordinary LiveCode on a headless linux box? Or will the installer demand a GUI to complete? Many thanks, Ben On 31/01/2021 02:22, Mark Talluto wrote: > Hi Ben, > > My favorite method is to build server code with standalones and script only > stacks. You can run them headless using the -ui method as you proposed earlier. > You can have the standalone act as a starter stack that loads in your script > only stacks as libraries. This model makes it easy to do future updates > because they are not built into the standalone itself. > > Place standalone and stack files here: > - Apache > IP Number/home/standalone > /home/libaries/stack files here > > - nginx > IP/usr/local/bin/standalone > /bin/libraries/stack files here > > Each executable is always on for performance. They use very little cpu when > they are waiting for something to do. In my experience, they rest a 0% between > loops and jump to around 3% when checking on the workload. They will jump up > to some other value when they are processing. When done, they return to the > 0-3% consumption. > > We use PHP to receive incoming posts to the VM. After PHP does its thing, it > passes the posted request to the LiveCode standalone. The process repeats > itself as data is posted to the VM. > > This has been a proven model for us. We have used it for many years with > LiveCloud. > > You can use this model in many ways. It will depend on what you are trying to > accomplish. > > Best regards, > > Mark Talluto > livecloud.io > nursenotes.net > canelasoftware.com > > > > >> On Jan 30, 2021, at 8:34 AM, Ben Rubinstein via use-livecode >> > wrote: >> >> Hi Matthias, >> >> Thanks for answering. >> >> I haven't looked into Livecode Server. When you say I could run livecode >> scripts directly from shell, does that means scripts, but not stacks? >> >> Is Livecode Server easier to install on a 'headless' system? Is there >> somewhere I should look to find explanation of differences/pros/cons of >> Server versus IDE editions? >> >> thank you, >> >> Ben >> >> On 29/01/2021 20:30, matthias rebbe via use-livecode wrote: >>> Ben, >>> is there a reason why you do not install/use Livecode Server instead of >>> Livecode IDE on your system? >>> You could run livecode scripts directly from shell. >>> Regards, >>> Matthias >>> - >>> Matthias Rebbe >>> Life Is Too Short For Boring Code >>>> Am 29.01.2021 um 19:44 schrieb Ben Rubinstein via use-livecode >>>> >: >>>> >>>> So I want to install LC on a headless - i.e. no GUI, access over SSH - >>>> Ubuntu 20. >>>> >>>> (Then I'll be using it to run a particular stack on a cron job.) >>>> >>>> I've done this a long time ago with a standalone - but in this case I'd >>>> rather be able to do it with a stack. >>>> >>>> The only thing that I know about is "-ui" but I'm not even far enough >>>> along to make use of this. >>>> >>>> My first question is what's the best way to install it? Do I download the >>>> installer, e.g. "LiveCodeCommunityInstaller-9_6_1-Linux.x64", move it to >>>> the server and run it there? Or is that going to be a GUI installer? >>>> >>>> Are there options I need to know about like where it should go? >>>> >>>> And then are there tips about where I put my stacks, how to see error or >>>> debugging output, how the stack reads command line parameters etc? >>>> >>>> Any and all advice welcome - especially of course "go and read this guide >>>> over here you idiot". >>>> >>>> TIA, >>>> >>>> Ben >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Mon Feb 1 07:07:02 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Mon, 1 Feb 2021 13:07:02 +0100 Subject: installing and running LC on 'headless' linux server In-Reply-To: References: <7b745671-e8f8-71cd-51b0-95f0964b97e2@cogapp.com> <0D57ABE2-BB58-4A77-AE47-F22AEDDBAC39@m-r-d.de> <107206d6-7cd5-c210-a5d0-8a8584001348@cogapp.com> Message-ID: > Am 01.02.2021 um 10:52 schrieb Ben Rubinstein via use-livecode >: > > Thanks Mark (and Matthias). That's very useful info which I'll stash for another time. > > In this case I really don't want to use the LC code over HTTP. It is purely a utility to run locally on this machine at scheduled intervals, in support of some other processes. > > For several reasons it would be more convenient to run it as a stack rather than just a script, though it would be possible to go the latter way. > > So two questions: > > - just to be clear, does LiveCode Server only work receiving requests from Apache/nginx/whatever? Or can it be run from the command line? > You can run LiveCode Server from the command line > - is there a way to install ordinary LiveCode on a headless linux box? Or will the installer demand a GUI to complete? > According to page 7 of the Livecode 9.6.2 Release Notes, it is possible to run the installer without a gui. https://downloads.livecode.com/livecode/9_6_2/LiveCodeNotes-9_6_2_rc_2.pdf Excerpt... > Command-line installation It is possible to invoke the installer from the command-line on Linux and Windows. When doing command-line installation, no GUI will be displayed. The installation process is controlled by arguments passed to the installer. Run the installer using a command in the form: install -ui [OPTION ...] where should be replaced with the path of the installer executable or app (inside the DMG) that has been downloaded. The result of the installation operation will be written to the console. The installer understands any of the following options: -allusers Install the IDE for "All Users". If not specified, LiveCode will be installed for the current user only. - desktopshortcut Place a shortcut on the Desktop (Windows-only) -startmenu Place shortcuts in the Start Menu (Windows-only) -location LOCATION The folder to install into. If not specified, the LOCATION defaults to those described in the "Installation" section above. -log LOGFILE The file to which to log installation actions. If not specified, no log is generated. Note: the command-line installer does not do any authentication. When installing for "All Users", you will need to run the installer command as an administrator. As the installer is actually a GUI application, it needs to be run slightly differently from other command-line programs. On Windows, the command is: start /wait install -ui [OPTION ...] < Regards, Matthias - Matthias Rebbe Life Is Too Short For Boring Code From benr_mc at cogapp.com Mon Feb 1 09:42:00 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 1 Feb 2021 14:42:00 +0000 Subject: installing and running LC on 'headless' linux server In-Reply-To: References: <7b745671-e8f8-71cd-51b0-95f0964b97e2@cogapp.com> <0D57ABE2-BB58-4A77-AE47-F22AEDDBAC39@m-r-d.de> <107206d6-7cd5-c210-a5d0-8a8584001348@cogapp.com> Message-ID: Superb, thank you Matthias. Apologies not having RTFM'd properly myself. Ben On 01/02/2021 12:07, matthias rebbe via use-livecode wrote: > >> Am 01.02.2021 um 10:52 schrieb Ben Rubinstein via use-livecode >: >> >> Thanks Mark (and Matthias). That's very useful info which I'll stash for another time. >> >> In this case I really don't want to use the LC code over HTTP. It is purely a utility to run locally on this machine at scheduled intervals, in support of some other processes. >> >> For several reasons it would be more convenient to run it as a stack rather than just a script, though it would be possible to go the latter way. >> >> So two questions: >> >> - just to be clear, does LiveCode Server only work receiving requests from Apache/nginx/whatever? Or can it be run from the command line? >> > You can run LiveCode Server from the command line > >> - is there a way to install ordinary LiveCode on a headless linux box? Or will the installer demand a GUI to complete? >> > > According to page 7 of the Livecode 9.6.2 Release Notes, it is possible to run the installer without a gui. > https://downloads.livecode.com/livecode/9_6_2/LiveCodeNotes-9_6_2_rc_2.pdf > > Excerpt... >> > Command-line installation > It is possible to invoke the installer from the command-line on Linux and Windows. When doing command-line installation, no GUI will be displayed. The installation process is controlled by arguments passed to the installer. > Run the installer using a command in the form: > > install -ui [OPTION ...] > > where should be replaced with the path of the installer executable or app (inside the DMG) that has been downloaded. The result of the installation operation will be written to the console. > > The installer understands any of the following options: > > -allusers > Install the IDE for "All Users". If not specified, LiveCode will be installed for the current user only. > > - desktopshortcut > Place a shortcut on the Desktop (Windows-only) > > -startmenu > Place shortcuts in the Start Menu (Windows-only) > > -location LOCATION > The folder to install into. If not specified, the LOCATION defaults to those described in the "Installation" section above. > > -log LOGFILE > The file to which to log installation actions. If not specified, no log is generated. > > Note: the command-line installer does not do any authentication. When installing for "All Users", you will need to run the installer command as an administrator. > As the installer is actually a GUI application, it needs to be run slightly differently from other command-line programs. > On Windows, the command is: > start /wait install -ui [OPTION ...] > < > > > Regards, > Matthias > > > > - > Matthias Rebbe > Life Is Too Short For Boring Code > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Mon Feb 1 11:58:42 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 1 Feb 2021 16:58:42 +0000 Subject: Text field in Windows standalone not receiving keyboard focus In-Reply-To: References: Message-ID: <024CB223-6B06-4177-82F7-2F38BFC9B66E@iotecdigital.com> Ah. I should?ve thought of that. I tried years ago to create a kind of kiosk app that used a web browser thinking I could put transparent buttons over top of the browser object, but as soon as the browser object got focus, I could no longer click buttons. The first click worked then nothing worked. Bob S On Jan 31, 2021, at 7:28 PM, Andrew at MidWest Coast Media via use-livecode > wrote: It turns out that this bug was actually another bug manifesting itself. There was a rogue browser widget (not visible) hiding in another group on the card gobbling up keystrokes on Windows platform. https://quality.livecode.com/show_bug.cgi?id=19023 What?s worse is that the same bug bit me in the ass a year ago too. Fool me once, shame on you. -Andrew Bell From mkoob at rogers.com Mon Feb 1 12:28:00 2021 From: mkoob at rogers.com (Martin Koob) Date: Mon, 1 Feb 2021 12:28:00 -0500 Subject: Spring 2021 xAPI Cohort starts this week -- How to Join -- Was: xAPI Cohort Resources & xAPI in LiveCode In-Reply-To: <06EA04BF-312E-4BC9-A2D9-9B24580A611F@mac.com> References: <06EA04BF-312E-4BC9-A2D9-9B24580A611F@mac.com> Message-ID: Hi to any LiveCode users interested in deploying their solutions in a training environment You may have wanted to make your app available to educators but they need something that will integrate with their Learning Management System (LMS) or store learning activities in their Learning Record Store (LRS) using the Experience API (xAPI). A group of LiveCoders has formed that will be joining the Spring 2021 xAPI Cohort to learn more about those technologies and work together as a team to see how they could be implemented using LiveCode. On the xAPI cohort website https://xapichort.com it describes the cohort as follows: "The xAPI Learning Cohort is a free, vendor-neutral, 12-week learning-by-doing project-based team learning experience about the Experience API. ? The Spring semester of xAPI cohort starts this week so we will have a pre meeting for LiveCoders and then there will be the initial session of the cohort. See the details below. LiveCoders Pre meeting Tues Feb 2, 1:00 - 3:00 pm EST. If you are interested and want to find out more or want to get involved we are having meeting for people interested on Tues Feb 2, 1:00 - 3:00 pm EST. Respond to this thread if you want to attend and we will send you the Zoom link. Spring 2021 xAPI Cohort Thursday Feb 4 2:00 pm to 3:00 pm. The first session of the the cohort will happen on Thursday Feb 4, 2021 from 2:00 pm to 3:00 pm. To attend and get access to the resources available sign up here: https://xapicohort.com/ . Also sign up to their Slack workspace https://xapi-cohort.slack.com/ to get more information. Once in the Slack Channel you can join the #discuss-dev-livecode channel. Martin Koob (sending this out on behalf of Brian Duck and the rest of the group) From kee.nethery at elloco.com Mon Feb 1 13:29:17 2021 From: kee.nethery at elloco.com (kee nethery) Date: Mon, 1 Feb 2021 10:29:17 -0800 Subject: installing and running LC on 'headless' linux server In-Reply-To: References: <7b745671-e8f8-71cd-51b0-95f0964b97e2@cogapp.com> <0D57ABE2-BB58-4A77-AE47-F22AEDDBAC39@m-r-d.de> <107206d6-7cd5-c210-a5d0-8a8584001348@cogapp.com> Message-ID: > On Feb 1, 2021, at 1:52 AM, Ben Rubinstein via use-livecode wrote: > > Thanks Mark (and Matthias). That's very useful info which I'll stash for another time. > > In this case I really don't want to use the LC code over HTTP. It is purely a utility to run locally on this machine at scheduled intervals, in support of some other processes. > > For several reasons it would be more convenient to run it as a stack rather than just a script, though it would be possible to go the latter way. When I was running Kagi, we had a bunch of headless MacMini?s running HyperCard that processed various transactions. HyperCard would launch on machine startup and the stack would run through it?s cards, each with a separate thing it looked for to process. One beautiful thing about this setup was that I would not code situations that I thought were unlikely to occur. I?d trap for them, but not code them. If that situation occurred, the stack would text me and halt into the debugger. I could log onto the machine, look at the variables, see what the situation was, and write code to handle it. 1. Stack ran forever, cycling through cards. 2. Stack sent me a text when new code needed to be written. 3. Script was in the debugger allowing me to see why it halted. 4. I could alter the script immediately, test with the weird data, and then copy that stack to the other machines running the same stack. I was unable to get LiveCode to mimic this functionality. Basically I needed a stack to launch and run in the IDE and LiveCode didn?t have a way to do that. Kee Nethery From bdrunrev at gmail.com Mon Feb 1 14:09:59 2021 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 1 Feb 2021 19:09:59 +0000 Subject: Java FFI on Windows Message-ID: In the Extending Livecode part of the Dictionary it says: *"Java bindings are currently supported on Android, Mac and Linux."* I am at a loss to understand why Java extensions are supported on Mac and Linux but *not* on Windows. I've seen no explanation for this anywhere. Can someone enlighten me? I'd understand why Objective C extensions would not work on Windows, but Java? Can extensions on Windows *only* be written in C? Regards Bernard From benr_mc at cogapp.com Mon Feb 1 14:15:00 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Mon, 01 Feb 2021 19:15:00 +0000 Subject: Using MySQL on (headless) Linux Message-ID: With thanks to friends here who helped me install and start using LC on a headless Linux box. I've now another little problem... my stack tries and fails to connect to a MySQL database. When it attempts to call revOpenDatabase, it throws error 219, "error in function handler". I take it that this means it can't find or hasn't loaded the revdb external. I've installed livecodecommunity-9.6.1.x86_64, and I launch it with ~/.runrev/components/livecodecommunity-9.6.1.x86_64/LiveCode\ Community.x86_64 -ui I can see revdb.so and dbmysql.so are in the Externals directory. Is there something explicit I need to do to load these? many thanks, Ben From ahsoftware at sonic.net Mon Feb 1 14:30:45 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 1 Feb 2021 11:30:45 -0800 Subject: installing and running LC on 'headless' linux server In-Reply-To: References: <7b745671-e8f8-71cd-51b0-95f0964b97e2@cogapp.com> <0D57ABE2-BB58-4A77-AE47-F22AEDDBAC39@m-r-d.de> <107206d6-7cd5-c210-a5d0-8a8584001348@cogapp.com> Message-ID: On 2/1/21 10:29 AM, kee nethery via use-livecode wrote: > Basically I needed a stack to launch and run in the IDE and LiveCode didn?t have a way to do that. ??? on preOpenStack choose pointer tool startMeUp end preOpenStack on startMeUp answer "I'm started" end startMeUp -- Mark Wieder ahsoftware at gmail.com From panos.merakos at livecode.com Mon Feb 1 14:32:32 2021 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 1 Feb 2021 21:32:32 +0200 Subject: [ANN] This Week in LiveCode 253 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #253 here: http://bit.ly/3rp4BNx This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to your e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From jacque at hyperactivesw.com Mon Feb 1 14:35:43 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 1 Feb 2021 13:35:43 -0600 Subject: Terminal timeout? Message-ID: <6f4f9ea2-af07-8048-89b3-87c1b0dfa7b2@hyperactivesw.com> My AirLaunch app uses shell commands to create .ipa files for iOS. One customer is experiencing problems with a large app, which is about 250MB. This is due to thousands of short audio files that are included in the build. When she builds without the audio files it works fine. She sent me a test copy and it built without any problem on my iMac. I suspect her Mac isn't up to the task and is taking too long to process all those 22,541(!) files. I couldn't find much info about Terminal timeouts but it looks like it's about 1-2 minutes. Does anyone have any ideas about how to get around this? I've already suggested that she put the audio files on a server and download them when her app first starts up, but she'd prefer it if she could set the timeout period to a longer duration. She will need to add more audio files in the future... I should mention that we think it's a timeout, but it might be something else. The error she gets is too generic to know -- it just says "an error occurred" and then stops. Might be a memory thing. If she builds on her MacBook instead it does work, but completes just seconds before our assumed timeout period. If she adds more files, it will probably fail there too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ahsoftware at sonic.net Mon Feb 1 14:37:48 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 1 Feb 2021 11:37:48 -0800 Subject: Using MySQL on (headless) Linux In-Reply-To: References: Message-ID: <3cbe76c6-1c3d-d57b-34c4-575911d25b28@sonic.net> On 2/1/21 11:15 AM, Ben Rubinstein via use-livecode wrote: > > With thanks to friends here who helped me install and start using LC on > a headless Linux box. I've now another little problem... my stack tries > and fails to connect to a MySQL database. > > When it attempts to call revOpenDatabase, it throws error 219, "error in > function handler". I take it that this means it can't find or hasn't > loaded the revdb external. > > I've installed livecodecommunity-9.6.1.x86_64, and I launch it with > ? ~/.runrev/components/livecodecommunity-9.6.1.x86_64/LiveCode\ > Community.x86_64 -ui > > I can see revdb.so and dbmysql.so are in the Externals directory. Is > there something explicit I need to do to load these? "error in function handler" is a pretty generic response - sort of the engine's version of ?\_(?)_/?. Is the MySQL database local to the server machine or on a different computer? Does this work locally before moving the stack to the headless linux box? -- Mark Wieder ahsoftware at gmail.com From benr at cogapp.com Mon Feb 1 15:24:14 2021 From: benr at cogapp.com (Ben Rubinstein) Date: Mon, 01 Feb 2021 20:24:14 +0000 Subject: Using MySQL on (headless) Linux In-Reply-To: <3cbe76c6-1c3d-d57b-34c4-575911d25b28@sonic.net> References: <3cbe76c6-1c3d-d57b-34c4-575911d25b28@sonic.net> Message-ID: <0f9d7d95-83d1-d64d-3dba-b1f79f9be248@cogapp.com> Hi Mark, > "error in function handler" is a pretty generic response - sort of the > engine's version of ?\_(?)_/?. Is the MySQL database local to the server > machine or on a different computer? I should point out that this error is thrown - I take it to mean that the function isn't even located. I don't think the problem is with the details of the database connection, I don't think it gets that far. To test this, I've added a call to revOpenDatabases before doing anything else - sure enough, this throws the same error. > Does this work locally before moving the > stack to the headless linux box? The whole shebang works on my Mac. I tried to see if I could run LiveCode headless on Mac, to minimise the differences that might be at issue, and got Startup error - cannot run in command line mode I don't know if that's a generic issue that LiveCode can't run headless on Mac, or if there's something else going on there. Ben On 01/02/2021 19:37, Mark Wieder via use-livecode wrote: > On 2/1/21 11:15 AM, Ben Rubinstein via use-livecode wrote: >> >> With thanks to friends here who helped me install and start using LC on a >> headless Linux box. I've now another little problem... my stack tries and >> fails to connect to a MySQL database. >> >> When it attempts to call revOpenDatabase, it throws error 219, "error in >> function handler". I take it that this means it can't find or hasn't loaded >> the revdb external. >> >> I've installed livecodecommunity-9.6.1.x86_64, and I launch it with >> ?? ~/.runrev/components/livecodecommunity-9.6.1.x86_64/LiveCode\ >> Community.x86_64 -ui >> >> I can see revdb.so and dbmysql.so are in the Externals directory. Is there >> something explicit I need to do to load these? > > "error in function handler" is a pretty generic response - sort of the > engine's version of ?\_(?)_/?. Is the MySQL database local to the server > machine or on a different computer? Does this work locally before moving the > stack to the headless linux box? > From mkoob at rogers.com Mon Feb 1 15:29:55 2021 From: mkoob at rogers.com (Martin Koob) Date: Mon, 1 Feb 2021 15:29:55 -0500 Subject: Spring 2021 xAPI Cohort starts this week -- How to Join -- Was: xAPI Cohort Resources & xAPI in LiveCode References: Message-ID: Hi to any LiveCode users interested in deploying their solutions in a training environment You may have wanted to make your app available to educators but they need something that will integrate with their Learning Management System (LMS) or store learning activities in their Learning Record Store (LRS) using the Experience API (xAPI). A group of LiveCoders has formed that will be joining the Spring 2021 xAPI Cohort to learn more about those technologies and work together as a team to see how they could be implemented using LiveCode. On the xAPI cohort website https://xapichort.com it describes the cohort as follows: "The xAPI Learning Cohort is a free, vendor-neutral, 12-week learning-by-doing project-based team learning experience about the Experience API. ? The Spring semester of xAPI cohort starts this week so we will have a pre meeting for LiveCoders and then there will be the initial session of the cohort. See the details below. LiveCoders Pre meeting Tues Feb 2, 1:00 - 3:00 pm EST. If you are interested and want to find out more or want to get involved we are having meeting for people interested on Tues Feb 2, 1:00 - 3:00 pm EST. Respond to this thread if you want to attend and we will send you the Zoom link. Spring 2021 xAPI Cohort Thursday Feb 4 2:00 pm to 3:00 pm. The first session of the the cohort will happen on Thursday Feb 4, 2021 from 2:00 pm to 3:00 pm. To attend and get access to the resources available sign up here: https://xapicohort.com/ . Also sign up to their Slack workspace https://xapi-cohort.slack.com/ to get more information. Once in the Slack Channel you can join the #discuss-dev-livecode channel. Martin Koob (sending this out on behalf of Brian Duck and the rest of the group) From ambassador at fourthworld.com Mon Feb 1 15:52:07 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 1 Feb 2021 12:52:07 -0800 Subject: Which of the current FTP legends should I be using? In-Reply-To: References: Message-ID: <4dadaebc-8423-8944-7ce8-ff676f41e646@fourthworld.com> PrestoBruce wrote: > I need to upload a binary file (jpg,pdf,png,etc) to an FTP account. How will the resulting upload be used? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Mon Feb 1 16:01:20 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 1 Feb 2021 13:01:20 -0800 Subject: open secure socket... using certificate In-Reply-To: References: Message-ID: <727e7f8d-5d2d-edf4-4bd4-43f716a91474@fourthworld.com> Tom Glod wrote: > On Fri, Jan 29, 2021 at 1:09 AM Richard Gaskin wrote: >> The main benefit of encrypted sockets is to mitigate man-in-the- >> middle attacks. >> >> If you have a man in the middle of processes on a local computer that >> isn't you, it would seem you have bigger concerns. ;) ... > Hi Richard...the man in the middle attack is exactly the thing I was > thinking of. It seems I didn't write clearly. With localHost the man in the middle is you, or someone else with physical access to your computer (which is more or less the same thing). Given the old adage that physical access = root, I'm unable to think of a scenario in which encrypting localhost sockets is beneficial. Am I overlooking something? I'm no CISSP, so I may well be. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From benr at cogapp.com Mon Feb 1 16:32:20 2021 From: benr at cogapp.com (Ben Rubinstein) Date: Mon, 01 Feb 2021 21:32:20 +0000 Subject: Using MySQL on (headless) Linux In-Reply-To: <0f9d7d95-83d1-d64d-3dba-b1f79f9be248@cogapp.com> References: <3cbe76c6-1c3d-d57b-34c4-575911d25b28@sonic.net> <0f9d7d95-83d1-d64d-3dba-b1f79f9be248@cogapp.com> Message-ID: <479400c2-d914-08fb-26fd-ae1e06a0b467@cogapp.com> Update. I have managed to get access to the Rev database external by explicitly setting the `externals` property of the stack before saving it (on Mac) to the full path on the linux machine to `revdb.so`. Consequently the functions such as `revOpenDatabases` and `revOpenDatabase` no longer throw error 219. Hurrah. Indeed `externalCommands` and `externalFunctions` now list all the expected commands and functions of the database library. This is obviously an appalling solution, since it relies on me knowing the exact path to the LiveCode bundle on the destination machine. (My recollection from a decade or so ago is that this property has to already be set at the time that the stack is opened, i.e. it can't be set dynamically. This may be erroneous.) However, it will get me going for now. Now my issue is that when the code tries to open the database, `revOpenDatabase` returns "revdberr,invalid database type". That suggests that the drivers aren't found. I've tried to get past this using `revSetDatabaseDriverPath`. The documentation says > Use the revSetDatabaseDriverPath command if you want to place the database > drivers your application uses somewhere other than the same folder as the > application. In fact the drivers are in the standard location, so this shouldn't be needed, but hey... I started by reporting `revGetDatabaseDriverPath` - but calling that causes LiveCode to immediately exit on signal 11. (This was in a try-catch block, but that doesn't stop it crashing out.) However, after using `revSetDatabaseDriverPath`, `revGetDatabaseDriverPath` no longer crashes but faithfully reports the value set. Unfortunately, this doesn't seem to help - although "set the defaultFolder to revGetDatabaseDriverPath()/put the files" does list the folder which includes dbmysql.so - revOpenDatabase still returns "revdberr,invalid database type". Any suggestions gratefully received! Ben On 01/02/2021 20:24, Ben Rubinstein via use-livecode wrote: > Hi Mark, > > > "error in function handler" is a pretty generic response - sort of the > > engine's version of ?\_(?)_/?. Is the MySQL database local to the server > > machine or on a different computer? > > I should point out that this error is thrown - I take it to mean that the > function isn't even located. I don't think the problem is with the details of > the database connection, I don't think it gets that far. > > To test this, I've added a call to revOpenDatabases before doing anything else > - sure enough, this throws the same error. > > > Does this work locally before moving the > > stack to the headless linux box? > > The whole shebang works on my Mac. I tried to see if I could run LiveCode > headless on Mac, to minimise the differences that might be at issue, and got > ????Startup error - cannot run in command line mode > > I don't know if that's a generic issue that LiveCode can't run headless on > Mac, or if there's something else going on there. > > Ben > > > On 01/02/2021 19:37, Mark Wieder via use-livecode wrote: >> On 2/1/21 11:15 AM, Ben Rubinstein via use-livecode wrote: >>> >>> With thanks to friends here who helped me install and start using LC on a >>> headless Linux box. I've now another little problem... my stack tries and >>> fails to connect to a MySQL database. >>> >>> When it attempts to call revOpenDatabase, it throws error 219, "error in >>> function handler". I take it that this means it can't find or hasn't loaded >>> the revdb external. >>> >>> I've installed livecodecommunity-9.6.1.x86_64, and I launch it with >>> ?? ~/.runrev/components/livecodecommunity-9.6.1.x86_64/LiveCode\ >>> Community.x86_64 -ui >>> >>> I can see revdb.so and dbmysql.so are in the Externals directory. Is there >>> something explicit I need to do to load these? >> >> "error in function handler" is a pretty generic response - sort of the >> engine's version of ?\_(?)_/?. Is the MySQL database local to the server >> machine or on a different computer? Does this work locally before moving the >> stack to the headless linux box? >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tom at makeshyft.com Mon Feb 1 16:44:12 2021 From: tom at makeshyft.com (Tom Glod) Date: Mon, 1 Feb 2021 16:44:12 -0500 Subject: open secure socket... using certificate In-Reply-To: <727e7f8d-5d2d-edf4-4bd4-43f716a91474@fourthworld.com> References: <727e7f8d-5d2d-edf4-4bd4-43f716a91474@fourthworld.com> Message-ID: Richard, Lets say one of my users is targetted by a hacker and they manage to install a malware process on their system that will capture all the data flowing between the 2 processes. Then they do not need to be sitting in the victim's chair. But if the data was encrypted, this wouldn't matter. On Mon, Feb 1, 2021 at 4:02 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Tom Glod wrote: > > > On Fri, Jan 29, 2021 at 1:09 AM Richard Gaskin wrote: > >> The main benefit of encrypted sockets is to mitigate man-in-the- > >> middle attacks. > >> > >> If you have a man in the middle of processes on a local computer that > >> isn't you, it would seem you have bigger concerns. ;) > ... > > Hi Richard...the man in the middle attack is exactly the thing I was > > thinking of. > > > It seems I didn't write clearly. > > With localHost the man in the middle is you, or someone else with > physical access to your computer (which is more or less the same thing). > > Given the old adage that physical access = root, I'm unable to think of > a scenario in which encrypting localhost sockets is beneficial. Am I > overlooking something? I'm no CISSP, so I may well be. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From curry at pair.com Mon Feb 1 16:44:25 2021 From: curry at pair.com (Curry Kenworthy) Date: Mon, 1 Feb 2021 16:44:25 -0500 Subject: Which of the current FTP legends should I be using? In-Reply-To: <4dadaebc-8423-8944-7ce8-ff676f41e646@fourthworld.com> References: <4dadaebc-8423-8944-7ce8-ff676f41e646@fourthworld.com> Message-ID: <167e2f7e-b1d2-0f6f-e758-db1ce8fbaf9a@pair.com> Me: >> Try tsNetUploadFile - fewer steps! Bruce: > Thanks, much appreciated. No problem. That's why I love, and preach, KISS! (My father taught me "Keep It Simple (Stupid)" at an early age. Probably around 7 years old. Military aircraft electrician. They popularized this phrase - and they needed it most.) :) By minimizing steps, it's easier to implement. Also we maximize already-tested code. (Assuming it's good code.) That minimizes the opportunity for mistakes, such as... Matthias: > how did you fill the pData parameter? Did you use > put URL "binfile:..." into pData Yep, good possibility! Me again: About existing code that people use as tsNet samples, I've noticed: Some of the code is not well-organized for modularity and KISS. (Basically, not well-organized, period.) Maybe I or someone else here can post better samples when there's time. That would get code sample consumers off to a better start. "Keep It Simple" is a powerful coding philosophy that pays off.... Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From devin_asay at byu.edu Mon Feb 1 16:48:03 2021 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 1 Feb 2021 21:48:03 +0000 Subject: Using MySQL on (headless) Linux In-Reply-To: <479400c2-d914-08fb-26fd-ae1e06a0b467@cogapp.com> References: <3cbe76c6-1c3d-d57b-34c4-575911d25b28@sonic.net> <0f9d7d95-83d1-d64d-3dba-b1f79f9be248@cogapp.com> <479400c2-d914-08fb-26fd-ae1e06a0b467@cogapp.com> Message-ID: <88ACB252-28B8-4565-AF25-713C0C4AAADF@byu.edu> Ben, I have seen the ?invalid database type? error on Linux because of a case error. Make sure you use ?mysql? as the database type, not ?MySQL? or anything else with upper case letters. LiveCode is not case-sensitive, but Linux is. Hope this helps. Devin > On Feb 1, 2021, at 2:32 PM, Ben Rubinstein via use-livecode wrote: > > Update. I have managed to get access to the Rev database external by explicitly setting the `externals` property of the stack before saving it (on Mac) to the full path on the linux machine to `revdb.so`. > > Consequently the functions such as `revOpenDatabases` and `revOpenDatabase` no longer throw error 219. Hurrah. Indeed `externalCommands` and `externalFunctions` now list all the expected commands and functions of the database library. > > This is obviously an appalling solution, since it relies on me knowing the exact path to the LiveCode bundle on the destination machine. (My recollection from a decade or so ago is that this property has to already be set at the time that the stack is opened, i.e. it can't be set dynamically. This may be erroneous.) However, it will get me going for now. > > Now my issue is that when the code tries to open the database, `revOpenDatabase` returns "revdberr,invalid database type". That suggests that the drivers aren't found. > > I've tried to get past this using `revSetDatabaseDriverPath`. > > The documentation says >> Use the revSetDatabaseDriverPath command if you want to place the database >> drivers your application uses somewhere other than the same folder as the >> application. > In fact the drivers are in the standard location, so this shouldn't be needed, but hey... I started by reporting `revGetDatabaseDriverPath` - but calling that causes LiveCode to immediately exit on signal 11. (This was in a try-catch block, but that doesn't stop it crashing out.) > > However, after using `revSetDatabaseDriverPath`, `revGetDatabaseDriverPath` no longer crashes but faithfully reports the value set. > > Unfortunately, this doesn't seem to help - although "set the defaultFolder to revGetDatabaseDriverPath()/put the files" does list the folder which includes dbmysql.so - revOpenDatabase still returns "revdberr,invalid database type". > > Any suggestions gratefully received! > > Ben > > > On 01/02/2021 20:24, Ben Rubinstein via use-livecode wrote: >> Hi Mark, >> > "error in function handler" is a pretty generic response - sort of the >> > engine's version of ?\_(?)_/?. Is the MySQL database local to the server >> > machine or on a different computer? >> I should point out that this error is thrown - I take it to mean that the function isn't even located. I don't think the problem is with the details of the database connection, I don't think it gets that far. >> To test this, I've added a call to revOpenDatabases before doing anything else - sure enough, this throws the same error. >> > Does this work locally before moving the >> > stack to the headless linux box? >> The whole shebang works on my Mac. I tried to see if I could run LiveCode headless on Mac, to minimise the differences that might be at issue, and got >> Startup error - cannot run in command line mode >> I don't know if that's a generic issue that LiveCode can't run headless on Mac, or if there's something else going on there. >> Ben >> On 01/02/2021 19:37, Mark Wieder via use-livecode wrote: >>> On 2/1/21 11:15 AM, Ben Rubinstein via use-livecode wrote: >>>> >>>> With thanks to friends here who helped me install and start using LC on a headless Linux box. I've now another little problem... my stack tries and fails to connect to a MySQL database. >>>> >>>> When it attempts to call revOpenDatabase, it throws error 219, "error in function handler". I take it that this means it can't find or hasn't loaded the revdb external. >>>> >>>> I've installed livecodecommunity-9.6.1.x86_64, and I launch it with >>>> ~/.runrev/components/livecodecommunity-9.6.1.x86_64/LiveCode\ Community.x86_64 -ui >>>> >>>> I can see revdb.so and dbmysql.so are in the Externals directory. Is there something explicit I need to do to load these? >>> >>> "error in function handler" is a pretty generic response - sort of the engine's version of ?\_(?)_/?. Is the MySQL database local to the server machine or on a different computer? Does this work locally before moving the stack to the headless linux box? >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Director Office of Digital Humanities Brigham Young University From benr at cogapp.com Mon Feb 1 17:25:17 2021 From: benr at cogapp.com (Ben Rubinstein) Date: Mon, 01 Feb 2021 22:25:17 +0000 Subject: Using MySQL on (headless) Linux In-Reply-To: <88ACB252-28B8-4565-AF25-713C0C4AAADF@byu.edu> References: <3cbe76c6-1c3d-d57b-34c4-575911d25b28@sonic.net> <0f9d7d95-83d1-d64d-3dba-b1f79f9be248@cogapp.com> <479400c2-d914-08fb-26fd-ae1e06a0b467@cogapp.com> <88ACB252-28B8-4565-AF25-713C0C4AAADF@byu.edu> Message-ID: Devin, thank you - that was the last bit I needed. So my complete stack now works. Hurrah! Thanks everyone who helped me. 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. 2. revGetDatabaseDriverPath crashes the app if invoked before using revSetDatabaseDriverPath 3. revSetDatabaseDriverPath is required even when the drivers are in the standard location inside the app 'bundle'. I'll report (2) and (3) formally when I've done a bit more investigation. I'd still love to know what I'm doing wrong, in relation to (1). thanks all, Ben On 01/02/2021 21:48, Devin Asay via use-livecode wrote: > Ben, > > I have seen the ?invalid database type? error on Linux because of a case error. Make sure you use ?mysql? as the database type, not ?MySQL? or anything else with upper case letters. LiveCode is not case-sensitive, but Linux is. > > Hope this helps. > > Devin > >> On Feb 1, 2021, at 2:32 PM, Ben Rubinstein via use-livecode wrote: >> >> Update. I have managed to get access to the Rev database external by explicitly setting the `externals` property of the stack before saving it (on Mac) to the full path on the linux machine to `revdb.so`. >> >> Consequently the functions such as `revOpenDatabases` and `revOpenDatabase` no longer throw error 219. Hurrah. Indeed `externalCommands` and `externalFunctions` now list all the expected commands and functions of the database library. >> >> This is obviously an appalling solution, since it relies on me knowing the exact path to the LiveCode bundle on the destination machine. (My recollection from a decade or so ago is that this property has to already be set at the time that the stack is opened, i.e. it can't be set dynamically. This may be erroneous.) However, it will get me going for now. >> >> Now my issue is that when the code tries to open the database, `revOpenDatabase` returns "revdberr,invalid database type". That suggests that the drivers aren't found. >> >> I've tried to get past this using `revSetDatabaseDriverPath`. >> >> The documentation says >>> Use the revSetDatabaseDriverPath command if you want to place the database >>> drivers your application uses somewhere other than the same folder as the >>> application. >> In fact the drivers are in the standard location, so this shouldn't be needed, but hey... I started by reporting `revGetDatabaseDriverPath` - but calling that causes LiveCode to immediately exit on signal 11. (This was in a try-catch block, but that doesn't stop it crashing out.) >> >> However, after using `revSetDatabaseDriverPath`, `revGetDatabaseDriverPath` no longer crashes but faithfully reports the value set. >> >> Unfortunately, this doesn't seem to help - although "set the defaultFolder to revGetDatabaseDriverPath()/put the files" does list the folder which includes dbmysql.so - revOpenDatabase still returns "revdberr,invalid database type". >> >> Any suggestions gratefully received! >> >> Ben >> >> >> On 01/02/2021 20:24, Ben Rubinstein via use-livecode wrote: >>> Hi Mark, >>>> "error in function handler" is a pretty generic response - sort of the >>>> engine's version of ?\_(?)_/?. Is the MySQL database local to the server >>>> machine or on a different computer? >>> I should point out that this error is thrown - I take it to mean that the function isn't even located. I don't think the problem is with the details of the database connection, I don't think it gets that far. >>> To test this, I've added a call to revOpenDatabases before doing anything else - sure enough, this throws the same error. >>>> Does this work locally before moving the >>>> stack to the headless linux box? >>> The whole shebang works on my Mac. I tried to see if I could run LiveCode headless on Mac, to minimise the differences that might be at issue, and got >>> Startup error - cannot run in command line mode >>> I don't know if that's a generic issue that LiveCode can't run headless on Mac, or if there's something else going on there. >>> Ben >>> On 01/02/2021 19:37, Mark Wieder via use-livecode wrote: >>>> On 2/1/21 11:15 AM, Ben Rubinstein via use-livecode wrote: >>>>> >>>>> With thanks to friends here who helped me install and start using LC on a headless Linux box. I've now another little problem... my stack tries and fails to connect to a MySQL database. >>>>> >>>>> When it attempts to call revOpenDatabase, it throws error 219, "error in function handler". I take it that this means it can't find or hasn't loaded the revdb external. >>>>> >>>>> I've installed livecodecommunity-9.6.1.x86_64, and I launch it with >>>>> ~/.runrev/components/livecodecommunity-9.6.1.x86_64/LiveCode\ Community.x86_64 -ui >>>>> >>>>> I can see revdb.so and dbmysql.so are in the Externals directory. Is there something explicit I need to do to load these? >>>> >>>> "error in function handler" is a pretty generic response - sort of the engine's version of ?\_(?)_/?. Is the MySQL database local to the server machine or on a different computer? Does this work locally before moving the stack to the headless linux box? >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > Devin Asay > Director > Office of Digital Humanities > Brigham Young University > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Mon Feb 1 18:15:41 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 1 Feb 2021 15:15:41 -0800 Subject: open secure socket... using certificate In-Reply-To: References: Message-ID: Tom Glod wrote: > Richard, > > Lets say one of my users is targeted by a hacker and they manage > to install a malware process on their system that will capture all > the data flowing between the 2 processes. > Then they do not need to be sitting in the victim's chair. > But if the data was encrypted, this wouldn't matter. True, that one aspect of your program wouldn't matter. But since everything else on the system is now hosed, does anything matter? To my ear it sounds like a planning committee meeting for a zoo in which they're deciding on the steel thickness of armored suits they require visitors to wear because tigers are running loose, while the whole facility is on fire. I'm in the back of the room raising my hand asking if we might just put the tigers back in the cage. After we put out the fire. :) In the scenario you described, what prevents the bad guy from reading the data at rest? Or keylogging? Or replacing either or both of the executables you delivered? Or anything else they might do once they have that level of control throughout the system? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dfepstein at comcast.net Mon Feb 1 18:53:25 2021 From: dfepstein at comcast.net (David Epstein) Date: Mon, 1 Feb 2021 18:53:25 -0500 Subject: Smooth scrolling Message-ID: My impression is that a LiveCode field scrolls less smoothly than a comparable field in some other programs, such as MS Word and Scrivener. If I paste about 25,000 words into a word wrapped scrolling field, and then drag the scrolling thumb up and down there is much more jumpiness than I see when I do the same thing to the same text in those other programs. (LC 9.6 on Mac OS 10.12.6). Do others see the same thing? Does anyone know the underlying cause of this, or a remedy? David Epstein From kee.nethery at elloco.com Mon Feb 1 19:39:27 2021 From: kee.nethery at elloco.com (kee nethery) Date: Mon, 1 Feb 2021 16:39:27 -0800 Subject: installing and running LC on 'headless' linux server In-Reply-To: References: <7b745671-e8f8-71cd-51b0-95f0964b97e2@cogapp.com> <0D57ABE2-BB58-4A77-AE47-F22AEDDBAC39@m-r-d.de> <107206d6-7cd5-c210-a5d0-8a8584001348@cogapp.com> Message-ID: <18EAF8A1-973F-4030-AB4E-2C8EB8E559EB@elloco.com> Mark, Thanks! Here?s the script I created based upon your example. This is a stack with one card and on the card is a field ?counter?. I put ?0? into the field to seed it. When the stack file is opened, it launches LiveCode and does the preOpenStack and the send in seconds causes the stack to display. The field counter starts incrementing. And to get it to stop, hold down the option key and processing halts. Damn, wish I had known about this years ago. Thanks, Kee on preOpenStack choose browse tool send idleDoit to this stack in 1 second end preOpenStack on idleDoit put field "counter" + 1 into field ?counter" if the optionKey is up then send idleDoit to this stack in 1 second end if end idleDoit > On Feb 1, 2021, at 11:30 AM, Mark Wieder via use-livecode wrote: > > On 2/1/21 10:29 AM, kee nethery via use-livecode wrote: > >> Basically I needed a stack to launch and run in the IDE and LiveCode didn?t have a way to do that. > > ??? > > on preOpenStack > choose pointer tool > startMeUp > end preOpenStack > > on startMeUp > answer "I'm started" > end startMeUp > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Mon Feb 1 19:51:18 2021 From: curry at pair.com (Curry Kenworthy) Date: Mon, 1 Feb 2021 19:51:18 -0500 Subject: Smooth scrolling In-Reply-To: References: Message-ID: <2ab93a7f-1ed9-fe9d-180e-f610473c7dbe@pair.com> David: > My impression is that a LiveCode field scrolls less smoothly > than a comparable field in some other programs Fair impression. :) > 25,000 words into a word wrapped scrolling field Performance does degrade as text size increases. (Exponentially, after a certain point.) > Does anyone know the underlying cause of this, For fun, try the same text in LC 5.5 or 4.6! I would expect snappier results. Performance took a huge hit with LC 7 and 8. There was (and is) a myth that this is completely due to Unicode. But in a series of videos and published tests, I proved otherwise. Many other areas were impacted. So beware of that myth! So Unicode (and the way it was implemented) played a part, but it's not the only culprit. This is an ongoing saga. To their credit, the LC team has made good optimizations in a few areas! Mark was quite responsive to the "need for speed." On the flip side, overall LC performance remains ... underwhelming. > or a remedy? It helps to optimize your own code/UI/setup as much as you can: Most LC user code is poorly organized and wastes tons of CPU time. Many times people also have extravagant or sloppy UI. And their problem-solving setup is not focused; lots of extra crap. Tightening up all these can help a LOT! You'll see results. Bonus good news: Standalone will run a little smoother than IDE. (IDE is a bit on the bloatware side.) Optimize all you can, and your build may be blessed a bit extra! :) Beyond that, the ultimate solution is join the effort. Make a useful test stack, maybe a video to demo results. Design the test code well. Post a bug report. I'm still involved in this campaign, but currently "mute" - post-COVID, breathing got worse; can't talk in video or on phone. But I'm adjusting to that - I'll be using sound effects, TTS, whatever. So hopefully this year I'll get another test and video posted. I encourage others (and yourself) to do the same! I believe LC can be quite a bit faster. So far, I've been proven correct.... Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From ahsoftware at sonic.net Mon Feb 1 19:55:35 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Mon, 1 Feb 2021 16:55:35 -0800 Subject: Using MySQL on (headless) Linux In-Reply-To: References: <3cbe76c6-1c3d-d57b-34c4-575911d25b28@sonic.net> <0f9d7d95-83d1-d64d-3dba-b1f79f9be248@cogapp.com> <479400c2-d914-08fb-26fd-ae1e06a0b467@cogapp.com> <88ACB252-28B8-4565-AF25-713C0C4AAADF@byu.edu> Message-ID: <8e2859a0-e1cd-9cf7-8d4c-33381d742ae6@sonic.net> On 2/1/21 2:25 PM, Ben Rubinstein via use-livecode wrote: > 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. If you type in the messagebox put the externals of stack "Home" you should see everything there. If not, your system is misconfigured. -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Mon Feb 1 22:10:40 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 1 Feb 2021 19:10:40 -0800 Subject: Smooth scrolling In-Reply-To: References: Message-ID: <471cb8d5-d560-954e-6a6e-eb364c262794@fourthworld.com> David Epstein wrote: > My impression is that a LiveCode field scrolls less smoothly than > a comparable field in some other programs, such as MS Word and > Scrivener. If I paste about 25,000 words into a word wrapped > scrolling field, and then drag the scrolling thumb up and down > there is much more jumpiness than I see when I do the same thing > to the same text in those other programs. (LC 9.6 on Mac OS 10.12.6). > Do others see the same thing? Does anyone know the underlying cause > of this, or a remedy? Nice to hear the name Scrivener. Blount did some good rethinking of how words are managed when he came up with that app. In the olden days I remember being impressed with how smoothly LC scrolled vs things like Word, which wasn't all that surprising given that LC buffers the whole field in RAM while Word pages from disk. A lot's changed since then. Not only have SSDs taken over to narrow the gap, but I no longer have a copy of Word to compare anything to. :) But I did just do a quick test of LC v9.6.2rc2 vs LibreOffice Write on Ubuntu 18.04, using Kafka's Metamorphosis to get a reasonably close number of words to your test (Gutenberg Project RTF is 25,180 words: http://www.gutenberg.org/files/5200/5200-r.rtf ). Very different setup of course, but FWIW LC and LibreOffice are quite close in scrolling, though LC seems noticeably smoother. Of course Ubuntu and macOS couldn't be more different from top to bottom, with different font managers, buffering APIs, compositors, etc., so while it was easy for me to do this quick test it's almost entirely useless. What might be nice would be someone with good knowledge of Apple low-level tools, similar to the ones we see for Android or to some degree strace, where graphical UI stuff can be profiled so we can see what Word and LC are doing differently. It might also be worth setting the field's layerMode to "scrolling" and the stack's compositorType to "CoreGraphics" to see if that improves things. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bogdanoff at me.com Tue Feb 2 02:59:09 2021 From: bogdanoff at me.com (Peter Bogdanoff) Date: Mon, 1 Feb 2021 23:59:09 -0800 Subject: Spring 2021 xAPI Cohort starts this week -- How to Join -- Was: xAPI Cohort Resources & xAPI in LiveCode In-Reply-To: References: Message-ID: Hi Martin, I?ll be traveling part of the time, but I?ll attend. Peter > On Feb 1, 2021, at 12:29 PM, Martin Koob via use-livecode wrote: > > Hi to any LiveCode users interested in deploying their solutions in a training environment > > You may have wanted to make your app available to educators but they need something that will integrate with their Learning Management System (LMS) or store learning activities in their Learning Record Store (LRS) using the Experience API (xAPI). > A group of LiveCoders has formed that will be joining the Spring 2021 xAPI Cohort to learn more about those technologies and work together as a team to see how they could be implemented using LiveCode. > > On the xAPI cohort website https://xapichort.com it describes the cohort as follows: > > "The xAPI Learning Cohort is a free, vendor-neutral, 12-week learning-by-doing project-based > team learning experience about the Experience API. ? > > The Spring semester of xAPI cohort starts this week so we will have a pre meeting for LiveCoders and then there will be the initial session of the cohort. See the details below. > > LiveCoders Pre meeting > Tues Feb 2, 1:00 - 3:00 pm EST. > If you are interested and want to find out more or want to get involved we are having meeting for people interested on Tues Feb 2, 1:00 - 3:00 pm EST. Respond to this thread if you want to attend and we will send you the Zoom link. > > Spring 2021 xAPI Cohort > Thursday Feb 4 2:00 pm to 3:00 pm. > > The first session of the the cohort will happen on Thursday Feb 4, 2021 from 2:00 pm to 3:00 pm. To attend and get access to the resources available sign up here: https://xapicohort.com/ . > Also sign up to their Slack workspace https://xapi-cohort.slack.com/ to get more information. Once in the Slack Channel you can join the #discuss-dev-livecode channel. > > Martin Koob (sending this out on behalf of Brian Duck and the rest of the group) > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Tue Feb 2 04:03:57 2021 From: mark at livecode.com (Mark Waddingham) Date: Tue, 02 Feb 2021 09:03:57 +0000 Subject: Using MySQL on (headless) Linux In-Reply-To: References: <3cbe76c6-1c3d-d57b-34c4-575911d25b28@sonic.net> <0f9d7d95-83d1-d64d-3dba-b1f79f9be248@cogapp.com> <479400c2-d914-08fb-26fd-ae1e06a0b467@cogapp.com> <88ACB252-28B8-4565-AF25-713C0C4AAADF@byu.edu> Message-ID: 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. > > 3. revSetDatabaseDriverPath is required even when the drivers are in > the standard location inside the app 'bundle'. > > I'll report (2) and (3) formally when I've done a bit more > investigation. I'd still love to know what I'm doing wrong, in > relation to (1). Please don't - as neither are bugs :) The standalone engine inside the runtime folders in the IDE install is just a bare engine. In community you can certainly run the bare engine without building a standalone but as you have discovered it is just what it is - a bare engine, it knows nothing of externals, database drivers, widgets, script libraries or anything else. If you want a headless (community) engine which has dependencies then all you have to do is deploy a standalone with a launcher stack embedded into it. The launcher stack should have the inclusions you want configured for it, and it can just run the stack you pass as an argument on the command-line. Doing it this way, it means the standalone builder will take care to ensure all the 'inclusions' you set are present and configured correctly (including widgets, externals and script libraries). You only need to rebuild the standalone if your inclusion requirements change, or you want to change engine version. Warmest Regards, Mark. P.S. In regards to (1) the trick is to do this: ``` set the externals of the templateStack to create invisible stack "Externals" -- or any name you like inser the script of it into back reset the templateStack ``` This allows you to compute the external paths at runtime when the engine starts (e.g. by using the engine folder, or the filename of the stack and computing the paths). -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From benr_mc at cogapp.com Tue Feb 2 04:43:45 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 02 Feb 2021 09:43:45 +0000 Subject: Using MySQL on (headless) Linux In-Reply-To: <8e2859a0-e1cd-9cf7-8d4c-33381d742ae6@sonic.net> References: <3cbe76c6-1c3d-d57b-34c4-575911d25b28@sonic.net> <0f9d7d95-83d1-d64d-3dba-b1f79f9be248@cogapp.com> <479400c2-d914-08fb-26fd-ae1e06a0b467@cogapp.com> <88ACB252-28B8-4565-AF25-713C0C4AAADF@byu.edu> <8e2859a0-e1cd-9cf7-8d4c-33381d742ae6@sonic.net> Message-ID: Thanks Mark. The issue here is that the stack was running headless, not in the IDE. But I had it write the externals to stdout and indeed the result was empty, so then I resaved it with the embedded property... etc. But this is moot given other-Mark's message. cheers, Ben On 02/02/2021 00:55, Mark Wieder via use-livecode wrote: > On 2/1/21 2:25 PM, Ben Rubinstein via use-livecode wrote: > >> 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. > > If you type in the messagebox > > put the externals of stack "Home" > > you should see everything there. If not, your system is misconfigured. > From benr_mc at cogapp.com Tue Feb 2 04:48:52 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 02 Feb 2021 09:48:52 +0000 Subject: Using MySQL on (headless) Linux In-Reply-To: References: <3cbe76c6-1c3d-d57b-34c4-575911d25b28@sonic.net> <0f9d7d95-83d1-d64d-3dba-b1f79f9be248@cogapp.com> <479400c2-d914-08fb-26fd-ae1e06a0b467@cogapp.com> <88ACB252-28B8-4565-AF25-713C0C4AAADF@byu.edu> Message-ID: <1f2f5034-9fd4-3bac-bd4a-9909054fac9f@cogapp.com> Hi Mark, On 02/02/2021 09:03, Mark Waddingham via use-livecode wrote: >> I'll report (2) and (3) formally when I've done a bit more >> investigation. I'd still love to know what I'm doing wrong, in >> relation to (1). > > Please don't - as neither are bugs :) The "investigation" I referred to was putting this message on the mailing list and waiting to be corrected! Investigation complete. And more generally - > If you want a headless (community) engine which has dependencies then all > you have to do is deploy a standalone with a launcher stack embedded into > it. - thank you. A very long time ago I think I knew this, and indeed used to send colleagues to Ken Ray's page where he made some handy standalones available. I'll take your advice. best regards, Ben From lheaford at icloud.com Tue Feb 2 06:31:47 2021 From: lheaford at icloud.com (Terence Heaford) Date: Tue, 2 Feb 2021 11:31:47 +0000 Subject: Browser Widget Message-ID: <0D02CD81-C677-4D46-874B-AB32B16830EA@icloud.com> I believe the Browser Widget uses the native browser and in that case it uses the same code as Safari on MacOS? I have been using CanvasJS to create some charts and have been rendering the result in the Browser Widget using Set the URL of ?.. These charts have been created on the computer and not via the internet. Generally they render well except for the animation of the chart. In Safari it's as smooth as silk. In the Browser Widget there is some slight stutter that does slightly affect the user experience. Does anyone know why this stutter exists with the Browser Widget and not with Safari and is there a solution? Thanks Terry From craig at starfirelighting.com Tue Feb 2 09:16:24 2021 From: craig at starfirelighting.com (Craig newman) Date: Tue, 2 Feb 2021 09:16:24 -0500 Subject: Smooth scrolling In-Reply-To: <471cb8d5-d560-954e-6a6e-eb364c262794@fourthworld.com> References: <471cb8d5-d560-954e-6a6e-eb364c262794@fourthworld.com> Message-ID: <003b01d6f96d$fd7a98f0$f86fcad0$@starfirelighting.com> On a Mac, I made a field with 25000 words or so. Certainly dragging the thumb is jerky. But dragging the thumb forces the field's scroll to track the thumbPos, as it relates to the number of lines and the total "pixel" travel available to that thumb. I don't see how a field could scroll smoothly at all, since the thumb and the scroll are locked together. In other words, how can it "glide" from one line (scroll position) to another, since the thumbPos has a finite number of possible locations, and if there are a LOT of lines, each location may be several lines away? Craig -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard Gaskin via use-livecode Sent: Monday, February 01, 2021 10:11 PM To: use-livecode at lists.runrev.com Cc: Richard Gaskin Subject: Re: Smooth scrolling David Epstein wrote: > My impression is that a LiveCode field scrolls less smoothly than > a comparable field in some other programs, such as MS Word and > Scrivener. If I paste about 25,000 words into a word wrapped > scrolling field, and then drag the scrolling thumb up and down > there is much more jumpiness than I see when I do the same thing > to the same text in those other programs. (LC 9.6 on Mac OS 10.12.6). > Do others see the same thing? Does anyone know the underlying cause > of this, or a remedy? Nice to hear the name Scrivener. Blount did some good rethinking of how words are managed when he came up with that app. In the olden days I remember being impressed with how smoothly LC scrolled vs things like Word, which wasn't all that surprising given that LC buffers the whole field in RAM while Word pages from disk. A lot's changed since then. Not only have SSDs taken over to narrow the gap, but I no longer have a copy of Word to compare anything to. :) But I did just do a quick test of LC v9.6.2rc2 vs LibreOffice Write on Ubuntu 18.04, using Kafka's Metamorphosis to get a reasonably close number of words to your test (Gutenberg Project RTF is 25,180 words: http://www.gutenberg.org/files/5200/5200-r.rtf ). Very different setup of course, but FWIW LC and LibreOffice are quite close in scrolling, though LC seems noticeably smoother. Of course Ubuntu and macOS couldn't be more different from top to bottom, with different font managers, buffering APIs, compositors, etc., so while it was easy for me to do this quick test it's almost entirely useless. What might be nice would be someone with good knowledge of Apple low-level tools, similar to the ones we see for Android or to some degree strace, where graphical UI stuff can be profiled so we can see what Word and LC are doing differently. It might also be worth setting the field's layerMode to "scrolling" and the stack's compositorType to "CoreGraphics" to see if that improves things. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Tue Feb 2 09:54:19 2021 From: merakosp at gmail.com (panagiotis merakos) Date: Tue, 2 Feb 2021 16:54:19 +0200 Subject: Smooth scrolling In-Reply-To: <003b01d6f96d$fd7a98f0$f86fcad0$@starfirelighting.com> References: <471cb8d5-d560-954e-6a6e-eb364c262794@fourthworld.com> <003b01d6f96d$fd7a98f0$f86fcad0$@starfirelighting.com> Message-ID: Hello folks, This bug report contains a workaround for smooth scrolling - hope it helps. https://quality.livecode.com/show_bug.cgi?id=19759 Cheers, Panos -- On Tue, 2 Feb 2021 at 16:17, Craig newman via use-livecode < use-livecode at lists.runrev.com> wrote: > On a Mac, I made a field with 25000 words or so. Certainly dragging the > thumb is jerky. > > But dragging the thumb forces the field's scroll to track the thumbPos, as > it relates to the number of lines and the total "pixel" travel available to > that thumb. I don't see how a field could scroll smoothly at all, since the > thumb and the scroll are locked together. > > In other words, how can it "glide" from one line (scroll position) to > another, since the thumbPos has a finite number of possible locations, and > if there are a LOT of lines, each location may be several lines away? > > Craig > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Richard Gaskin via use-livecode > Sent: Monday, February 01, 2021 10:11 PM > To: use-livecode at lists.runrev.com > Cc: Richard Gaskin > Subject: Re: Smooth scrolling > > David Epstein wrote: > > > My impression is that a LiveCode field scrolls less smoothly than > a > comparable field in some other programs, such as MS Word and > Scrivener. > If I paste about 25,000 words into a word wrapped > scrolling field, and > then drag the scrolling thumb up and down > there is much more jumpiness > than I see when I do the same thing > to the same text in those other > programs. (LC 9.6 on Mac OS 10.12.6). > > Do others see the same thing? Does anyone know the underlying cause > > of this, or a remedy? > > Nice to hear the name Scrivener. Blount did some good rethinking of how > words are managed when he came up with that app. > > In the olden days I remember being impressed with how smoothly LC scrolled > vs things like Word, which wasn't all that surprising given that LC buffers > the whole field in RAM while Word pages from disk. > > A lot's changed since then. Not only have SSDs taken over to narrow the > gap, > but I no longer have a copy of Word to compare anything to. :) > > But I did just do a quick test of LC v9.6.2rc2 vs LibreOffice Write on > Ubuntu 18.04, using Kafka's Metamorphosis to get a reasonably close number > of words to your test (Gutenberg Project RTF is 25,180 words: > http://www.gutenberg.org/files/5200/5200-r.rtf ). > > Very different setup of course, but FWIW LC and LibreOffice are quite close > in scrolling, though LC seems noticeably smoother. > > Of course Ubuntu and macOS couldn't be more different from top to bottom, > with different font managers, buffering APIs, compositors, etc., so while > it > was easy for me to do this quick test it's almost entirely useless. > > What might be nice would be someone with good knowledge of Apple low-level > tools, similar to the ones we see for Android or to some degree strace, > where graphical UI stuff can be profiled so we can see what Word and LC are > doing differently. > > It might also be worth setting the field's layerMode to "scrolling" and the > stack's compositorType to "CoreGraphics" to see if that improves things. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jbv at souslelogo.com Tue Feb 2 10:15:24 2021 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 02 Feb 2021 10:15:24 -0500 Subject: numberformat, trunc and round Message-ID: <6261b0e6bb4b5d1014aaf3432d917a99@souslelogo.com> Hi list, This might sound like a dumb question, but I'm scratching my head trying to find a workaround. I have this portion of script : set numberformat to "#.0000000" if myvar = trunc(myvar) then get myarray[myvar] end if The problem seems to be that when numberformat is set, both trunc() and round() keep the fractional part of myvar (2.000000); and since the indexes of myarray are integers (1,2,3,etc), "get myarray[myvar]" always returns empty... And I need to set numberformat to "#.0000000", because there are some rather complex computations processed with the values in myarray inside a main loop. And for various other reasons I can't use indexes with fractional part in the array. Of course, I could use : set numberformat to "#.0000000" set itemdelimiter to "." if myvar = trunc(myvar) then get myarray[item 1 of myvar] end if But that's not very elegant and slows down the script a bit... Any help would be much appreciated. Best, jbv From marksmithhfx at gmail.com Tue Feb 2 11:26:14 2021 From: marksmithhfx at gmail.com (Mark Smith) Date: Tue, 2 Feb 2021 16:26:14 +0000 Subject: Smooth scrolling In-Reply-To: References: <471cb8d5-d560-954e-6a6e-eb364c262794@fourthworld.com> <003b01d6f96d$fd7a98f0$f86fcad0$@starfirelighting.com> Message-ID: Very nice. Thanks Panos > On Feb 2, 2021, at 2:54 PM, panagiotis merakos via use-livecode wrote: > > Hello folks, > > This bug report contains a workaround for smooth scrolling - hope it helps. > > https://quality.livecode.com/show_bug.cgi?id=19759 > > Cheers, > Panos > -- > > On Tue, 2 Feb 2021 at 16:17, Craig newman via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> On a Mac, I made a field with 25000 words or so. Certainly dragging the >> thumb is jerky. >> >> But dragging the thumb forces the field's scroll to track the thumbPos, as >> it relates to the number of lines and the total "pixel" travel available to >> that thumb. I don't see how a field could scroll smoothly at all, since the >> thumb and the scroll are locked together. >> >> In other words, how can it "glide" from one line (scroll position) to >> another, since the thumbPos has a finite number of possible locations, and >> if there are a LOT of lines, each location may be several lines away? >> >> Craig >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >> Behalf >> Of Richard Gaskin via use-livecode >> Sent: Monday, February 01, 2021 10:11 PM >> To: use-livecode at lists.runrev.com >> Cc: Richard Gaskin >> Subject: Re: Smooth scrolling >> >> David Epstein wrote: >> >>> My impression is that a LiveCode field scrolls less smoothly than > a >> comparable field in some other programs, such as MS Word and > Scrivener. >> If I paste about 25,000 words into a word wrapped > scrolling field, and >> then drag the scrolling thumb up and down > there is much more jumpiness >> than I see when I do the same thing > to the same text in those other >> programs. (LC 9.6 on Mac OS 10.12.6). >>> Do others see the same thing? Does anyone know the underlying cause > >> of this, or a remedy? >> >> Nice to hear the name Scrivener. Blount did some good rethinking of how >> words are managed when he came up with that app. >> >> In the olden days I remember being impressed with how smoothly LC scrolled >> vs things like Word, which wasn't all that surprising given that LC buffers >> the whole field in RAM while Word pages from disk. >> >> A lot's changed since then. Not only have SSDs taken over to narrow the >> gap, >> but I no longer have a copy of Word to compare anything to. :) >> >> But I did just do a quick test of LC v9.6.2rc2 vs LibreOffice Write on >> Ubuntu 18.04, using Kafka's Metamorphosis to get a reasonably close number >> of words to your test (Gutenberg Project RTF is 25,180 words: >> http://www.gutenberg.org/files/5200/5200-r.rtf ). >> >> Very different setup of course, but FWIW LC and LibreOffice are quite close >> in scrolling, though LC seems noticeably smoother. >> >> Of course Ubuntu and macOS couldn't be more different from top to bottom, >> with different font managers, buffering APIs, compositors, etc., so while >> it >> was easy for me to do this quick test it's almost entirely useless. >> >> What might be nice would be someone with good knowledge of Apple low-level >> tools, similar to the ones we see for Android or to some degree strace, >> where graphical UI stuff can be profiled so we can see what Word and LC are >> doing differently. >> >> It might also be worth setting the field's layerMode to "scrolling" and the >> stack's compositorType to "CoreGraphics" to see if that improves things. >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ahsoftware at sonic.net Tue Feb 2 11:33:20 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Tue, 2 Feb 2021 08:33:20 -0800 Subject: Smooth scrolling In-Reply-To: <471cb8d5-d560-954e-6a6e-eb364c262794@fourthworld.com> References: <471cb8d5-d560-954e-6a6e-eb364c262794@fourthworld.com> Message-ID: <5e1806d2-c6de-97e4-0eb1-e07a4ef9e8c2@sonic.net> On 2/1/21 7:10 PM, Richard Gaskin via use-livecode wrote: > using Kafka's Metamorphosis... ...then you should expect bugs. -- Mark Wieder ahsoftware at gmail.com From curry at pair.com Tue Feb 2 12:01:58 2021 From: curry at pair.com (Curry Kenworthy) Date: Tue, 2 Feb 2021 12:01:58 -0500 Subject: numberformat, trunc and round In-Reply-To: <6261b0e6bb4b5d1014aaf3432d917a99@souslelogo.com> References: <6261b0e6bb4b5d1014aaf3432d917a99@souslelogo.com> Message-ID: <7f6348f8-baff-4c94-6481-8964890425ac@pair.com> jbv: > if myvar = trunc(myvar) then Different approach: I prefer "mod" for loop breakouts/pitstops. Very clean way to determine action for certain loop iterations! Useful for fractional values too, in LC versions thus far. > set numberformat to "#.0000000" You can easily set the numberformat twice, if necessary, in the loop. And/or take control over whether your comparison is text or binary. (The numberformat gets involved when converting binary to text.) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From ambassador at fourthworld.com Tue Feb 2 13:58:52 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 2 Feb 2021 10:58:52 -0800 Subject: Using MySQL on (headless) Linux In-Reply-To: References: Message-ID: LC Server doesn't handle externals, so for that we need a standalone? I think I'm missing something. -- Richard Gaskin Fourth World Systems Mark Waddingham wrote: > 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. >> >> 3. revSetDatabaseDriverPath is required even when the drivers are in >> the standard location inside the app 'bundle'. >> >> I'll report (2) and (3) formally when I've done a bit more >> investigation. I'd still love to know what I'm doing wrong, in >> relation to (1). > > Please don't - as neither are bugs :) > > The standalone engine inside the runtime folders in the IDE install is > just a bare engine. > > In community you can certainly run the bare engine without building a > standalone but as you have discovered it is just what it is - a bare > engine, it knows nothing of externals, database drivers, widgets, script > libraries or anything else. > > If you want a headless (community) engine which has dependencies then > all you have to do is deploy a standalone with a launcher stack embedded > into it. > > The launcher stack should have the inclusions you want configured for > it, and it can just run the stack you pass as an argument on the > command-line. > > Doing it this way, it means the standalone builder will take care to > ensure all the 'inclusions' you set are present and configured correctly > (including widgets, externals and script libraries). > > You only need to rebuild the standalone if your inclusion requirements > change, or you want to change engine version. > > Warmest Regards, > > Mark. > > P.S. In regards to (1) the trick is to do this: > ``` > set the externals of the templateStack to > create invisible stack "Externals" -- or any name you like > inser the script of it into back > reset the templateStack > ``` > This allows you to compute the external paths at runtime when the engine > starts (e.g. by using the engine folder, or the filename of the stack > and computing the paths). > > -- > Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps From jeejeestudio at gmail.com Tue Feb 2 14:32:09 2021 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Tue, 2 Feb 2021 20:32:09 +0100 Subject: Smooth scrolling In-Reply-To: <5e1806d2-c6de-97e4-0eb1-e07a4ef9e8c2@sonic.net> References: <471cb8d5-d560-954e-6a6e-eb364c262794@fourthworld.com> <5e1806d2-c6de-97e4-0eb1-e07a4ef9e8c2@sonic.net> Message-ID: Maybe it's me but i don't see any difference in scrolling between the left an right on win10 Op di 2 feb. 2021 om 17:34 schreef Mark Wieder via use-livecode < use-livecode at lists.runrev.com>: > On 2/1/21 7:10 PM, Richard Gaskin via use-livecode wrote: > > > using Kafka's Metamorphosis... > > ...then you should expect bugs. > > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tom at makeshyft.com Tue Feb 2 16:02:54 2021 From: tom at makeshyft.com (Tom Glod) Date: Tue, 2 Feb 2021 16:02:54 -0500 Subject: open secure socket... using certificate In-Reply-To: References: Message-ID: Hhahah Richard, that was hilarious. :D Given I've given you next to no info on the use case, I understand why it may seem overkill, and maybe it is. A wise person once told me .... and I'm paraphrasing..... " you can't prevent everything ....so the task at hand is to make things harder and take longer." That person was you. So would it make it harder to steal data if data transport between 2 decoupled processes was encrypted? you bet. Thanks for giving me food for thought...and I will triple check to make sure its necessary. :D On Mon, Feb 1, 2021 at 6:16 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > Tom Glod wrote: > > > Richard, > > > > Lets say one of my users is targeted by a hacker and they manage > > to install a malware process on their system that will capture all > > the data flowing between the 2 processes. > > Then they do not need to be sitting in the victim's chair. > > But if the data was encrypted, this wouldn't matter. > > True, that one aspect of your program wouldn't matter. But since > everything else on the system is now hosed, does anything matter? > > To my ear it sounds like a planning committee meeting for a zoo in which > they're deciding on the steel thickness of armored suits they require > visitors to wear because tigers are running loose, while the whole > facility is on fire. I'm in the back of the room raising my hand asking > if we might just put the tigers back in the cage. After we put out the > fire. :) > > In the scenario you described, what prevents the bad guy from reading > the data at rest? Or keylogging? Or replacing either or both of the > executables you delivered? Or anything else they might do once they have > that level of control throughout the system? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 From ambassador at fourthworld.com Tue Feb 2 17:24:05 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 2 Feb 2021 14:24:05 -0800 Subject: Smooth scrolling In-Reply-To: References: Message-ID: <1c73ffac-f1ce-f26f-9808-7d6abf31d559@fourthworld.com> JeeJeeStudio wrote: > Panos wrote: >> This bug report contains a workaround for smooth scrolling - hope it >> helps. >> https://quality.livecode.com/show_bug.cgi?id=19759 > > > Maybe it's me but i don't see any difference in scrolling between the > left and right on win10 The original description of the problem here lacks specificity. It's not just any scrolling that is affected, but scrolling that happens in response to a scroll wheel or trackpad gestures. The script Panos posted in the bug report has two gradations of scroll increment, based on the interval between keydown messages corresponding to the scroll wheel/trackpad gesture. It's good. Very good. I see the difference here on Ubuntu. It's so good it should be added to the engine, so we don't merely rely solely on the odd chance that someone wanting to make attractive software with LC happens to stumble across this thread. If there's a concern about backward compatibility (understandable given the many ways scrollbarDrag messages are used) perhaps fields could have a smoothScrolling property added to govern this. And since this behavior reflects modern scrolling standards, it should be on by default (yet can be turned off for the edge cases where people need the older linear scroll for specialized use cases). That said, with the team's current priorities I don't see this happening for quite some time. That's too bad, because it means every new user will get a poorer impression of the LiveCode experience than they could be having. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Feb 2 17:52:38 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 2 Feb 2021 14:52:38 -0800 Subject: open secure socket... using certificate In-Reply-To: References: Message-ID: If the goal were point-scoring gotchas, that I frequently advocate industry best practices for security redundancy might indeed seem out of place here. I am normally a belt-and-suspenders kinda guy, and I make no apologies for it. Those redundancies usually come up in discussions about exposing databases directly to the open Internet, as opposed to doing the common thing of putting a script between the DB and the connection (which affords the added benefit of allowing us to craft a nice API to help our client dev work move forward more smoothly as well). The distinction is how common the practice is. We see that most systems put a script in front of their DB. And we see that most use localhost sockets without SSL. I'm not inventing any of this. I don't hold an CISSP cert, and I don't manage most of the world's projects. I just see what I see, share what I see, and where I don't understand something I'll ask, like I did here seeking a use-case where the benefit of slowing every socket comm down with encryption and decryption provides a benefit not immediately undone the moment the data is at rest. I still hold that there might be a good use case, but after a brief search on this I was unable to find one, and none has emerged yet even here. In your original post describing this system, you emphasized that LC multiprocessing is being used to find the fastest way to handle the data flow. We generally accept a tradeoff between utility and security, but as with so much of life tradeoffs work best when evaluated for the case at hand. If a user's machine is hosed, it's hosed. If we look for guidance on that from better minds than mine, we can review the practices of leading app and OS vendors. Address space layout randomization may be a good example of how an OS vendor can mitigate risks in compromised machines, but the same OS vendors employing it don't also recommend app devs add their own address randomization at the app level. Maybe app devs should? Maybe OS vendors are lax? The deeper we go down the rabbit hole of protecting systems, the more challenging it gets. At a certain point -- a somewhat shallow point, I don't mind admitting -- I'm happy to leave the deep thinking to specialists and just follow common practice. If I happen to see a risk that common practice doesn't cover, I'll cover it as I go. But even though we have Stuxnet to remind us of the impact of unanticipated consequences from design decisions, if I don't have a specific threat vector in mind AND it's not a common practice, odds are I'll skip it. I admit I'm far less of a programmer than the minds behind Stuxnet. And since most of the world is, I'm okay with that. Security awareness is good, and redundancy common. But where a redundancy is both uncommon and provides little benefit not undone easily elsewhere in the system, I'll often skip it. And when the house is on fire, I'm not sure it's a service to the homeowner to help maintain the illusion that their house isn't on fire. -- Richard Gaskin Fourth World Systems Tom Glod wrote: > Hhahah Richard, that was hilarious. :D Given I've given you next to no > info on the use case, I understand why it may seem overkill, and maybe > it is. > > A wise person once told me .... and I'm paraphrasing..... " you can't > prevent everything ....so the task at hand is to make things harder > and take longer." That person was you. > > So would it make it harder to steal data if data transport between 2 > decoupled processes was encrypted? you bet. > > Thanks for giving me food for thought...and I will triple check to > make sure its necessary. :D > > > On Mon, Feb 1, 2021 at 6:16 PM Richard Gaskin wrote: > >> Tom Glod wrote: >> >> > Richard, >> > >> > Lets say one of my users is targeted by a hacker and they manage >> > to install a malware process on their system that will capture all >> > the data flowing between the 2 processes. >> > Then they do not need to be sitting in the victim's chair. >> > But if the data was encrypted, this wouldn't matter. >> >> True, that one aspect of your program wouldn't matter. But since >> everything else on the system is now hosed, does anything matter? >> >> To my ear it sounds like a planning committee meeting for a zoo in >> which they're deciding on the steel thickness of armored suits they >> require visitors to wear because tigers are running loose, while >> the whole facility is on fire. I'm in the back of the room raising >> my hand asking if we might just put the tigers back in the cage. >> After we put out the fire. :) >> >> In the scenario you described, what prevents the bad guy from reading >> the data at rest? Or keylogging? Or replacing either or both of the >> executables you delivered? Or anything else they might do once they >> have that level of control throughout the system? >> >> -- >> Richard Gaskin >> Fourth World Systems From mark at canelasoftware.com Tue Feb 2 19:12:12 2021 From: mark at canelasoftware.com (Mark Talluto) Date: Tue, 2 Feb 2021 16:12:12 -0800 Subject: Using MySQL on (headless) Linux In-Reply-To: References: Message-ID: <25DDB950-95D4-42BF-9455-9B37C18D2965@canelasoftware.com> My simple rule on this is: If I need to write code, use the IDE. If I need to deploy code, use a standalone. You get the best possible performance. They are flexible since you can dynamically load code. They do not have the burden of the IDE. It seems the right path to go. Maybe there is a reason Ben wants to deploy with the IDE? Best regards, Mark Talluto livecloud.io nursenotes.net canelasoftware.com > On Feb 2, 2021, at 10:58 AM, Richard Gaskin via use-livecode wrote: > > LC Server doesn't handle externals, so for that we need a standalone? > > I think I'm missing something. > > -- > Richard Gaskin > Fourth World Systems > > > > Mark Waddingham wrote: >> 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. >>> 3. revSetDatabaseDriverPath is required even when the drivers are in >>> the standard location inside the app 'bundle'. >>> I'll report (2) and (3) formally when I've done a bit more >>> investigation. I'd still love to know what I'm doing wrong, in >>> relation to (1). >> Please don't - as neither are bugs :) >> The standalone engine inside the runtime folders in the IDE install is just a bare engine. >> In community you can certainly run the bare engine without building a standalone but as you have discovered it is just what it is - a bare engine, it knows nothing of externals, database drivers, widgets, script libraries or anything else. >> If you want a headless (community) engine which has dependencies then all you have to do is deploy a standalone with a launcher stack embedded into it. >> The launcher stack should have the inclusions you want configured for it, and it can just run the stack you pass as an argument on the command-line. >> Doing it this way, it means the standalone builder will take care to ensure all the 'inclusions' you set are present and configured correctly (including widgets, externals and script libraries). >> You only need to rebuild the standalone if your inclusion requirements change, or you want to change engine version. >> Warmest Regards, >> Mark. >> P.S. In regards to (1) the trick is to do this: >> ``` >> set the externals of the templateStack to >> create invisible stack "Externals" -- or any name you like >> inser the script of it into back >> reset the templateStack >> ``` >> This allows you to compute the external paths at runtime when the engine starts (e.g. by using the engine folder, or the filename of the stack and computing the paths). >> -- >> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >> LiveCode: Everyone can create apps > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Feb 2 19:31:37 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 2 Feb 2021 16:31:37 -0800 Subject: Using MySQL on (headless) Linux In-Reply-To: <25DDB950-95D4-42BF-9455-9B37C18D2965@canelasoftware.com> References: <25DDB950-95D4-42BF-9455-9B37C18D2965@canelasoftware.com> Message-ID: Good rules in general, but my question was about something else entirely. As for the IDE, it's a GUI; I'm not sure what could be done with it on a headless system. (Yes, instructions are provided for sys admins to automate *installing* it via command line -- great for computer labs and such -- but I can't imagine how one would *use* the IDE from Terminal.) 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. I'm hoping I misread it because for headless systems LC Server is designed to be the optimal solution: - Lean runtime - Can run scripts in stack files, script-only stacks, and even plain executable text files in the traditional shebang way: https://livecode.com/a-livecode-shell/ - The same engine installed once for general system programming can also be aliased in cgi-bin to offer all of the above plus PHP-style implicit merge under Apache or Lighttpd. Even if you don't need public-facing web hosting, there are a great many benefits to having systems communicate via REST. I was resistant to using LC Server for many years when it first came out, because I missed the shebang simplicity we'd enjoyed with MC, and I wasn't sure how long LC Ltd would stick with it. Both concerns have been well addressed now, and it's my go-to for headless. I've even replaced many installs that had been standalones during my reluctant years. -- Richard Gaskin Fourth World Systems Mark Talluto wrote: > My simple rule on this is: > > If I need to write code, use the IDE. > > If I need to deploy code, use a standalone. > You get the best possible performance. They are flexible since you can dynamically load code. They do not have the burden of the IDE. It seems the right path to go. > > Maybe there is a reason Ben wants to deploy with the IDE? > > Best regards, > > Mark Talluto > livecloud.io > nursenotes.net > canelasoftware.com > > >> On Feb 2, 2021, at 10:58 AM, Richard Gaskin via use-livecode wrote: >> >> LC Server doesn't handle externals, so for that we need a standalone? >> >> I think I'm missing something. >> >> -- >> Richard Gaskin >> Fourth World Systems >> >> >> Mark Waddingham wrote: >>> 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. >>>> 3. revSetDatabaseDriverPath is required even when the drivers are in >>>> the standard location inside the app 'bundle'. >>>> I'll report (2) and (3) formally when I've done a bit more >>>> investigation. I'd still love to know what I'm doing wrong, in >>>> relation to (1). >>> Please don't - as neither are bugs :) >>> The standalone engine inside the runtime folders in the IDE install is just a bare engine. >>> In community you can certainly run the bare engine without building a standalone but as you have discovered it is just what it is - a bare engine, it knows nothing of externals, database drivers, widgets, script libraries or anything else. >>> If you want a headless (community) engine which has dependencies then all you have to do is deploy a standalone with a launcher stack embedded into it. >>> The launcher stack should have the inclusions you want configured for it, and it can just run the stack you pass as an argument on the command-line. >>> Doing it this way, it means the standalone builder will take care to ensure all the 'inclusions' you set are present and configured correctly (including widgets, externals and script libraries). >>> You only need to rebuild the standalone if your inclusion requirements change, or you want to change engine version. >>> Warmest Regards, >>> Mark. >>> P.S. In regards to (1) the trick is to do this: >>> ``` >>> set the externals of the templateStack to >>> create invisible stack "Externals" -- or any name you like >>> inser the script of it into back >>> reset the templateStack >>> ``` >>> This allows you to compute the external paths at runtime when the engine starts (e.g. by using the engine folder, or the filename of the stack and computing the paths). >>> -- >>> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ >>> LiveCode: Everyone can create apps From paulmcclernan at gmail.com Tue Feb 2 21:19:15 2021 From: paulmcclernan at gmail.com (Paul McClernan) Date: Tue, 2 Feb 2021 21:19:15 -0500 Subject: Double sided PDF Problem In-Reply-To: <1eaebe73-dcb2-c84e-891b-d605f6220c46@pair.com> References: <0B8ECB79-A081-44CB-8A1B-FD81C08D6645@iotecdigital.com> <1eaebe73-dcb2-c84e-891b-d605f6220c46@pair.com> Message-ID: I've worked in the printing industry for 30+ years now. What you're talking about is called page impositions, and it sounds like you're doing a work-and-tumble" ("the cards are now face down"), you could also do a work-and-turn instead (flip the pile on the "landscape" side, instead of portrait side). Your printer probably has a PPD (PostScript Printer Description), or something similar that tells it the maximum printable area for the printer, which is probably not going to be the same on all sides because of things like the "gripper" that pulls the sheet through the printer. Even if all things are equal, if a sheet is pulled through on a slight angle or not perfectly centered it's not going to align well, so make sure that your design allows for some cushion to be a little off (as much as about 1/16th Inch). Things like these can mess you up if you don't take them into account when you're trying to line up images on both sides of the sheet (I'm guessing you're planning to cut them down into smaller card-size pieces?). I'm sure this could all be worked out as far as how to do the layout and printing directly from LiveCode... but why? I mean this is a job for page layout and imposition software! ...Although, I have thought about doing a calendar-maker app that can print a stack of paper that can be saddle-stitched/stapled into an actual hanging calendar (that's a bit more complicated imposition layout), Hope any of that helps, good luck. Paul On Fri, Jan 29, 2021 at 12:37 PM Curry Kenworthy via use-livecode wrote: > > > Brian: > > I?d like to print decks of cards, front and back > > This post has become a master puzzle of its own! > Enough detail to elicit solutions, yet still open-ended. > Each answer makes its own assumptions, and solves a different problem. > But I like it. So OK, I'll join. Here goes.... > > My own assumptions derive from Keep It Simple (KISS) code philosophy. > So I'm not going to read more into the problem than necessary. > I tend to prefer the simplest and most universal answer. > Also with the fewest dependencies. > > > The front page is always easy. Cards print left to right: 1-3 > > Flipping the pages, in portrait layout, the cards are now > > face down, in order but reversed: 3,2, 1. > > I'm not going to make ANY assumptions about print drivers solving it. > (Unless first tested in LC, on target platforms, with target printers.) > > Bob and Jacque might be right. These days, drivers usually auto-fit. > But often LC doesn't fit assumptions! Test first; don't build on theory. > > The way I read it, so far this is already solved by the 321 reversal. > Brian already has his images in the proper order, front and back. > And that approach should be very universal; no dependencies. > I would expect it to work for any printer, or PDF, any platform. > > There was no mention of booklets or alternating margins, so I'm not > adding that to the problem. Choosing a simple interpretation. > > > The problem is, printing 3 wide by 4 tall, aligning the two. > > I see this as just lining up the front and back images precisely so that > the cards can be cut out. Right now, one side is too far left, or down? > > So my suggestion is: > > 1. Make sure your images are PRECISELY spaced in their arrangement. > (Use code if necessary.) > > 2. Group the images. > (Or whatever type of controls you are using for the playing cards.) > > 3. Set loc of group to loc of the LC card. > > (And LC card widths are usually divible by 2, so center might be a pixel > different front and back, if you're using the same group of images. > Depending on image design and driver auto-fit, usually that's moot. > But if it's a problem, easy to solve - several good options.) > > Did I guess right about the nature of the problem? :) > Nice topic! > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Tue Feb 2 23:54:43 2021 From: curry at pair.com (Curry Kenworthy) Date: Tue, 2 Feb 2021 23:54:43 -0500 Subject: Double sided PDF Problem In-Reply-To: References: Message-ID: <03c6c374-369c-1c4c-c3fc-2fc12b1bb05c@pair.com> Paul: > I'm sure this could all be worked out as far as > how to do the layout and printing directly from LiveCode... but why? Good question! Might be a good reason, but not much point in guessing. The bigger question is: what was the true original problem? Brian: > The problem is, printing 3 wide by 4 tall, aligning the two. Fun exercise - in both respects! Hope it printed well. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From ambassador at fourthworld.com Wed Feb 3 00:33:29 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 2 Feb 2021 21:33:29 -0800 Subject: Double sided PDF Problem In-Reply-To: References: Message-ID: <81846c8e-6024-3f49-23b0-6ea3a00a3519@fourthworld.com> Paul McClernan wrote: > I'm sure this could all be worked out as far as how to do the > layout and printing directly from LiveCode... but why? Why? On a LiveCode list you have to ask why? :) Two reasons come to mind, but doubtless there are many more: 1. Because we can. It's fun to figure stuff out. 2. Print-and-Play tabletop games. It's quite a burgeoning folk art to design and print your own game. Doesn't have to be fancy, but sometimes it helps to print double-sided. And I'm finding it's not that hard. The hardest part is making a few test runs to work out the metrics between logical pixels and printer metrics. But once you get that worked out the world is your oyster. You can make a game design tool that lets you lay out cards while also keeping an inventory of parts, and later toss in some probability modeling to balance the game play, and then add PDF generation for sharing with others, and then go back and make a copy of the last stack file to take it further with the next one, adding image handling at double-size to reduce down for a crisp print, and then of course you need a notebook to keep the scraps of your ideas in, and then you need a contact manager to keep track of which play testers you sent it to and what they're feedback was, and then you need to put that feedback into an issue tracker, and then.... In short, because we can. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From curry at pair.com Wed Feb 3 01:11:56 2021 From: curry at pair.com (Curry Kenworthy) Date: Wed, 3 Feb 2021 01:11:56 -0500 Subject: Double sided PDF Problem In-Reply-To: <81846c8e-6024-3f49-23b0-6ea3a00a3519@fourthworld.com> References: <81846c8e-6024-3f49-23b0-6ea3a00a3519@fourthworld.com> Message-ID: Paul: >> ... but why? Richard: > 1. Because we can. It's fun to figure stuff out. Yes, it is! :) > 2. Print-and-Play tabletop games. This special printer paper looks way too fun: https://www.avery.com/products/cards/4785 (Discontinued already? Que lastima! This thread is giving me intense desire for DIY cards....) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From mark at livecode.com Wed Feb 3 02:01:03 2021 From: mark at livecode.com (Mark Waddingham) Date: Wed, 03 Feb 2021 07:01:03 +0000 Subject: Using MySQL on (headless) Linux In-Reply-To: References: <25DDB950-95D4-42BF-9455-9B37C18D2965@canelasoftware.com> Message-ID: <01a177129b7cedb8b66c97f00c191874@livecode.com> 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 (for whatever reason) in an earlier part of the thread so I was just advising on how to solve Ben's issue of wanting a non-server engine that can be run in -ui mode which has dependencies. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From benr_mc at cogapp.com Wed Feb 3 04:50:41 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 03 Feb 2021 09:50:41 +0000 Subject: Using MySQL on (headless) Linux In-Reply-To: <01a177129b7cedb8b66c97f00c191874@livecode.com> References: <25DDB950-95D4-42BF-9455-9B37C18D2965@canelasoftware.com> <01a177129b7cedb8b66c97f00c191874@livecode.com> Message-ID: Yes sorry Richard et al for confusion. I was using LC standard on a headless Linux machine, i.e. launching the IDE but with -ui. It worked fine and ran my stack OK, until it tried to access a database. At that point I listened to advice and made a minimal standalone configured as a launcher - and built with the necessary libraries - and all was right with the world. At no point was I using LC Server (for whatever reason). Thanks to everyone who helped me! Ben On 03/02/2021 07:01, Mark Waddingham via use-livecode wrote: > 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 (for whatever reason) in an earlier part > of the thread so I was just advising on how to solve Ben's issue of wanting a > non-server engine that can be run in -ui mode which has dependencies. > > Warmest Regards, > > Mark. > From benr_mc at cogapp.com Wed Feb 3 05:58:51 2021 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 03 Feb 2021 10:58:51 +0000 Subject: Double sided PDF Problem In-Reply-To: <81846c8e-6024-3f49-23b0-6ea3a00a3519@fourthworld.com> References: <81846c8e-6024-3f49-23b0-6ea3a00a3519@fourthworld.com> Message-ID: <2788adc8-a8f1-9f78-1e0d-071f78926abe@cogapp.com> On 03/02/2021 05:33, Richard Gaskin via use-livecode wrote: > Paul McClernan wrote: > > > I'm sure this could all be worked out as far as how to do the > > layout and printing directly from LiveCode... but why? > > Why? On a LiveCode list you have to ask why? :) For what it's worth, a while back (when I had time and access to a laser cutter) I built a little flap card box (this sort of thing https://cdn.shopify.com/s/files/1/0099/2822/products/flipbookit-dove-animation_540x.gif?v=1568704931). Then I had to write code in LC to lay out the frames of a gif so that when printed double-sided on card, they'd be cut out with top half of one frame on one side of a flap, followed by the bottom half of the next frame on the other side. (And also to generate the SVG to cut out all the flaps.) LC is _obviously_ the right choice for this kind of thing! Ben From michael-kristensen at dsa-net.dk Wed Feb 3 13:23:15 2021 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Wed, 3 Feb 2021 19:23:15 +0100 Subject: Files() can't list rtfd files (mac) Message-ID: Hi there The files function can?t list .rtfd files. They are a special rtf format on Mac. Whats up? Mic From klaus at major-k.de Wed Feb 3 13:31:30 2021 From: klaus at major-k.de (Klaus major-k) Date: Wed, 3 Feb 2021 19:31:30 +0100 Subject: Files() can't list rtfd files (mac) In-Reply-To: References: Message-ID: <2F9E9AEB-B555-45B5-B2F6-2CEE0A7E06B9@major-k.de> Hi Mic, > Am 03.02.2021 um 19:23 schrieb Michael Kristensen via use-livecode : > > Hi there > > The files function can?t list .rtfd files. > They are a special rtf format on Mac. > Whats up? like other Mac things (applications!), RTFD files are actually FOLDERS in disguise! So you need to read in FOLDERS, too, and filter them with *.rtfd. Right-click on an existing RTFD file/folder, select "Show contents" and get faimilar with the file structure inside of that package. > Mic Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From ambassador at fourthworld.com Wed Feb 3 15:07:28 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 3 Feb 2021 12:07:28 -0800 Subject: Using MySQL on (headless) Linux In-Reply-To: <01a177129b7cedb8b66c97f00c191874@livecode.com> References: <01a177129b7cedb8b66c97f00c191874@livecode.com> Message-ID: <4fcf4dfc-14af-9a47-9396-48dab4f1d662@fourthworld.com> Mark Waddingham wrote: > 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 :) Very glad to be wrong on that. > 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. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Wed Feb 3 15:21:46 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 3 Feb 2021 12:21:46 -0800 Subject: Double sided PDF Problem In-Reply-To: References: Message-ID: Curry Kenworthy wrote: > Richard: > > 1. Because we can. It's fun to figure stuff out. > > Yes, it is! :) > > > 2. Print-and-Play tabletop games. > > This special printer paper looks way too fun: > https://www.avery.com/products/cards/4785 > > (Discontinued already? Que lastima! > This thread is giving me intense desire for DIY cards....) That was a great size, but they still offer a business card size with rounded corners - I'm taking it as a challenge to bring the card content down to just the essentials. ;) https://www.avery.com/products/cards/88220 -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From martyknappster at gmail.com Wed Feb 3 15:47:03 2021 From: martyknappster at gmail.com (Marty Knapp) Date: Wed, 3 Feb 2021 12:47:03 -0800 Subject: Codesigning & notarizing Message-ID: <1FEF9ED0-9DC7-40DA-94EB-108990CB29C6@gmail.com> Is it just my imagination or does LC (9.6.1) now automatically codesign Mac apps when you build a standalone? Well my setup is - I tried on 2 different Macs. Yet I can?t find anywhere to set or change this - what am I missing? Is there a ghost in the machine?? I usually use AppWrapper to do my codesigning as it performs some other cleanup functions that I like. I have a Levure-based app and my build-codesign-notarize process has been working fine, until I tried with LC 9.6.2 rc2. If I leave the codesigning done by LC get a bunch of errors back when I notarize. If I codesign (but not notarize) the 9.6.2 rc2 built app with AppWrapper it crashes on startup with a "Service exited with abnormal code: 255? error. I tried leaving the codesigning done by LC and then tried notarizing with apps built in 9.6.1 and 9.6.2 - they both fail to notarize with lots of errors Anybody else having similar issues? Marty From dochawk at gmail.com Wed Feb 3 16:01:16 2021 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 3 Feb 2021 13:01:16 -0800 Subject: Using MySQL on (headless) Linux In-Reply-To: References: <25DDB950-95D4-42BF-9455-9B37C18D2965@canelasoftware.com> <01a177129b7cedb8b66c97f00c191874@livecode.com> Message-ID: <5C2D1226-B5FA-4F86-B153-1DA5EE953F89@gmail.com> That the deployment needs to be headless doesn?t prevent you from running it n the IDE to gain access to single stepping, breakpoints, and the like. I don?t remember why offhand, but before finding the -ui option, I did some experimenting and fount that I could get the linux version of 5.something to begin execution. It ran at least preOpenStack before attempting to start the X GUI From paul at researchware.com Wed Feb 3 16:06:53 2021 From: paul at researchware.com (Paul Dupuis) Date: Wed, 3 Feb 2021 16:06:53 -0500 Subject: Codesigning & notarizing In-Reply-To: <1FEF9ED0-9DC7-40DA-94EB-108990CB29C6@gmail.com> References: <1FEF9ED0-9DC7-40DA-94EB-108990CB29C6@gmail.com> Message-ID: <5b6c3933-5d90-bad3-60ad-55bf84b0611f@researchware.com> I am using LC 9.6.2rc2 and to the best of my knowledge, it does NOT codesign standalone for you. Codesigning and notarization (on macOS) is up to you. I codesign and notarize and stable under macOS Mojave using Terminal commands and all is working for me. Apple just sent a notice to developers that an Intermediate Certificate expired recently and instructions as to what to do about it. I don't know if that may impact you as it depends on what version of Xcode you are using and whether you are signing for Mac Store distribution or distribution from your own web site. On 2/3/2021 3:47 PM, Marty Knapp via use-livecode wrote: > Is it just my imagination or does LC (9.6.1) now automatically codesign Mac apps when you build a standalone? Well my setup is - I tried on 2 different Macs. Yet I can?t find anywhere to set or change this - what am I missing? Is there a ghost in the machine?? > > I usually use AppWrapper to do my codesigning as it performs some other cleanup functions that I like. I have a Levure-based app and my build-codesign-notarize process has been working fine, until I tried with LC 9.6.2 rc2. If I leave the codesigning done by LC get a bunch of errors back when I notarize. If I codesign (but not notarize) the 9.6.2 rc2 built app with AppWrapper it crashes on startup with a "Service exited with abnormal code: 255? error. > > I tried leaving the codesigning done by LC and then tried notarizing with apps built in 9.6.1 and 9.6.2 - they both fail to notarize with lots of errors > > Anybody else having similar issues? > > Marty > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at canelasoftware.com Wed Feb 3 16:17:39 2021 From: mark at canelasoftware.com (Mark Talluto) Date: Wed, 3 Feb 2021 13:17:39 -0800 Subject: Codesigning & notarizing In-Reply-To: <1FEF9ED0-9DC7-40DA-94EB-108990CB29C6@gmail.com> References: <1FEF9ED0-9DC7-40DA-94EB-108990CB29C6@gmail.com> Message-ID: <17375DE0-9B39-4768-9515-01C3E34EDEDB@canelasoftware.com> LiveCode codesigns their inner parts so they can run on our desktops. We are still required to codesign and notarize our standalones. I too use AppWrapper and have been able to process them fully without errors. This is the email from Apple explaining the new certificate: Starting January 28, 2021, the digital certificates you use to sign your software for installation on Apple devices, submit apps to the App Store, and connect to certain Apple services will be issued from a new intermediate Apple Worldwide Developer Relations certificate (expiring 2030). This new intermediate certificate will not affect the availability or functionality of apps you?re already distributing on the App Store. And you can continue to use your existing certificates until they expire. If you?re running Xcode 11.4.1 or later, you?ll receive the updated certificate automatically when you sign an app after January 28, 2021. If you?re running an earlier release of Xcode and need to generate new certificates, download and install the new intermediate certificate and utilize the command line to sign your app. You can also archive your build with your existing Xcode version and sign it for distribution with Xcode 11.4.1 or later. The current intermediate certificate (expiring in 2023), will continue to issue certain Apple services certificates, including Apple Push Notification service (APNs) SSL certificates and Apple Wallet pass signing certificates. Keep both versions installed on your development systems and servers until later this year. Learn more about upcoming certificate updates for Apple services. Best regards, Apple Developer Relations Best regards, Mark Talluto livecloud.io nursenotes.net canelasoftware.com > On Feb 3, 2021, at 12:47 PM, Marty Knapp via use-livecode wrote: > > Is it just my imagination or does LC (9.6.1) now automatically codesign Mac apps when you build a standalone? Well my setup is - I tried on 2 different Macs. Yet I can?t find anywhere to set or change this - what am I missing? Is there a ghost in the machine?? > > I usually use AppWrapper to do my codesigning as it performs some other cleanup functions that I like. I have a Levure-based app and my build-codesign-notarize process has been working fine, until I tried with LC 9.6.2 rc2. If I leave the codesigning done by LC get a bunch of errors back when I notarize. If I codesign (but not notarize) the 9.6.2 rc2 built app with AppWrapper it crashes on startup with a "Service exited with abnormal code: 255? error. > > I tried leaving the codesigning done by LC and then tried notarizing with apps built in 9.6.1 and 9.6.2 - they both fail to notarize with lots of errors > > Anybody else having similar issues? > > Marty > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From martyknappster at gmail.com Wed Feb 3 16:45:40 2021 From: martyknappster at gmail.com (Marty Knapp) Date: Wed, 3 Feb 2021 13:45:40 -0800 Subject: Codesigning & notarizing In-Reply-To: <17375DE0-9B39-4768-9515-01C3E34EDEDB@canelasoftware.com> References: <1FEF9ED0-9DC7-40DA-94EB-108990CB29C6@gmail.com> <17375DE0-9B39-4768-9515-01C3E34EDEDB@canelasoftware.com> Message-ID: <24AED79E-678A-48E8-989F-F718B1D93E5D@gmail.com> Mark, When I create a new, empty test stack and save as a standalone using versions 9.6.0, 9.6.1 and 9.6.2, I right-click the resulting app to show contents and there is a folder ?_CodeSignature? and inside that is a ?CodeResources? file. When I build a test standalone with LC 9.5.1 that folder is not present. So LC must have started codesigning as you described starting with 9.6.0. I can build a standalone in 9.6.1, codesign with AppWrapper and it notaries and runs fine. It?s when I do the build with 9.6.2 - it will run before I codesign with AppWrapper but after I codesign with AppWrapper - then it crashes on startup. It is a Levure-based app. If I create an empty test stack, build with 9.6.2, then codesign with AppWrapper it will open without a problem. So it looks like something specific to Levure or some combination of Levure, the version of my X-code (I?m on Mojave running X-Code 10.1 it looks like.) and LC 9.6.2. Marty > On Feb 3, 2021, at 1:17 PM, Mark Talluto via use-livecode wrote: > > LiveCode codesigns their inner parts so they can run on our desktops. We are still required to codesign and notarize our standalones. I too use AppWrapper and have been able to process them fully without errors. > > This is the email from Apple explaining the new certificate: > > Starting January 28, 2021, the digital certificates you use to sign your software for installation on Apple devices, submit apps to the App Store, and connect to certain Apple services will be issued from a new intermediate Apple Worldwide Developer Relations certificate (expiring 2030). This new intermediate certificate will not affect the availability or functionality of apps you?re already distributing on the App Store. And you can continue to use your existing certificates until they expire. > > If you?re running Xcode 11.4.1 or later, you?ll receive the updated certificate automatically when you sign an app after January 28, 2021. If you?re running an earlier release of Xcode and need to generate new certificates, download and install the new intermediate certificate and utilize the command line to sign your app. You can also archive your build with your existing Xcode version and sign it for distribution with Xcode 11.4.1 or later. > > The current intermediate certificate (expiring in 2023), will continue to issue certain Apple services certificates, including Apple Push Notification service (APNs) SSL certificates and Apple Wallet pass signing certificates. Keep both versions installed on your development systems and servers until later this year. > > Learn more about upcoming certificate updates for Apple services. > > Best regards, > Apple Developer Relations > > > Best regards, > > Mark Talluto > livecloud.io > nursenotes.net > canelasoftware.com > From paulmcclernan at gmail.com Wed Feb 3 16:55:29 2021 From: paulmcclernan at gmail.com (Paul McClernan) Date: Wed, 3 Feb 2021 16:55:29 -0500 Subject: Double sided PDF Problem In-Reply-To: <81846c8e-6024-3f49-23b0-6ea3a00a3519@fourthworld.com> References: <81846c8e-6024-3f49-23b0-6ea3a00a3519@fourthworld.com> Message-ID: > Why? On a LiveCode list you have to ask why? :) It was more of a rhetorical question / suggestion... Output PDF of 1-Up card pages from LiveCode and then use imposition software or a page layout app, link the layout to the LC PDF file and print, that's the way it's done by printers. And most of these apps have some type of scripting to automate workflows like that. Nowaday some online printing outfits (like Avery) have sites where you can just drag-drop pages into a web page-layout. I'm not sure if any of those have an API that could be hooked into, but that's another idea. > 1. Because we can. It's fun to figure stuff out. Sounds like work to me, because I've done a lot of that for work. I do get a kick out of figuring stuff out. Decades ago I read a short book called The PostScript Language Cookbook and got inspired to create HyperCard Stack (using a bunch of XCMD/XFCNs from Dartmouth, Rindaldi, etc.) that could generate raw postscript.ps files of Font-book specimen pages and download them directly to a LaserPrinter, completely bypassing print driver / print dialog boxes. After learning more about Postscript and a various graphics formats like TIFF, I worked up an almost complete Prepress-Preflight app in HC, but just then a commercial product called FlightCheck came out and so I just abandoned the idea. > 2. Print-and-Play tabletop games. It's quite a burgeoning folk art to > design and print your own game. Doesn't have to be fancy, but sometimes Not my bag but cool. I'm using my fun time I'm trying to Bring The Noise to LC ;-) > And I'm finding it's not that hard. The hardest part is making a few > test runs to work out the metrics between logical pixels and printer > metrics. In my limited examination of PDF output from LC (back in version 7 or 8, i think), it seems that some items, such as text are output as resolution independent vectors graphics while other things are rendered as pixel images at 288 DPI (4 x 72px), which should be high-res enough for most people. A printer should take whatever you send it and just interpolate to it's native resolution (300,1200,2400 DPI) and screening system. But again, most home printers can't do edge-to-edge printing, and will have printable areas / margins that are not centered on the sheet-size, for example the top may have 1/4 inch non-printable area due to the gripper, while the bottom may be only 1/8th inch non-printable area, so you should consider that if you are designing a layout that needs to line up with the other-side when the sheet needs to flipped in that direction. >That was a great size, but they still offer a business card size with rounded corners > https://www.avery.com/products/cards/88220 I'm a big fan of Avery. Used their scored/perf'd/label sheets many times over the years. Full Disclosure: I currently work for the company that owns that brand. From harrison at all-auctions.com Wed Feb 3 17:42:49 2021 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 3 Feb 2021 17:42:49 -0500 Subject: Testing 3.4.5.6 Message-ID: <85F7937F-C39A-46BF-9748-988001EA2326@all-auctions.com> Hi Rick, Get this? Rick From mark at canelasoftware.com Wed Feb 3 17:59:58 2021 From: mark at canelasoftware.com (Mark Talluto) Date: Wed, 3 Feb 2021 14:59:58 -0800 Subject: Codesigning & notarizing In-Reply-To: <24AED79E-678A-48E8-989F-F718B1D93E5D@gmail.com> References: <1FEF9ED0-9DC7-40DA-94EB-108990CB29C6@gmail.com> <17375DE0-9B39-4768-9515-01C3E34EDEDB@canelasoftware.com> <24AED79E-678A-48E8-989F-F718B1D93E5D@gmail.com> Message-ID: Hi Marty, My work is with LiveCode 9.6.2 rc2 and Xcode 11.3.1. I have only a cursory understanding of Levure. From what I read, Trevor has methods to codesign and even notarize inside of Levure?s framework. If your testing with a basic stack works as expected, maybe some interaction is happening with the Levure Framework project. I am certain Trevor knows best what may be happening here. When you find out, please post back what you learn. Best regards, Mark Talluto livecloud.io nursenotes.net canelasoftware.com > On Feb 3, 2021, at 1:45 PM, Marty Knapp via use-livecode wrote: > > Mark, > When I create a new, empty test stack and save as a standalone using versions 9.6.0, 9.6.1 and 9.6.2, I right-click the resulting app to show contents and there is a folder ?_CodeSignature? and inside that is a ?CodeResources? file. When I build a test standalone with LC 9.5.1 that folder is not present. So LC must have started codesigning as you described starting with 9.6.0. > > I can build a standalone in 9.6.1, codesign with AppWrapper and it notaries and runs fine. It?s when I do the build with 9.6.2 - it will run before I codesign with AppWrapper but after I codesign with AppWrapper - then it crashes on startup. It is a Levure-based app. If I create an empty test stack, build with 9.6.2, then codesign with AppWrapper it will open without a problem. So it looks like something specific to Levure or some combination of Levure, the version of my X-code (I?m on Mojave running X-Code 10.1 it looks like.) and LC 9.6.2. > > Marty > > >> On Feb 3, 2021, at 1:17 PM, Mark Talluto via use-livecode wrote: >> >> LiveCode codesigns their inner parts so they can run on our desktops. We are still required to codesign and notarize our standalones. I too use AppWrapper and have been able to process them fully without errors. >> >> This is the email from Apple explaining the new certificate: >> >> Starting January 28, 2021, the digital certificates you use to sign your software for installation on Apple devices, submit apps to the App Store, and connect to certain Apple services will be issued from a new intermediate Apple Worldwide Developer Relations certificate (expiring 2030). This new intermediate certificate will not affect the availability or functionality of apps you?re already distributing on the App Store. And you can continue to use your existing certificates until they expire. >> >> If you?re running Xcode 11.4.1 or later, you?ll receive the updated certificate automatically when you sign an app after January 28, 2021. If you?re running an earlier release of Xcode and need to generate new certificates, download and install the new intermediate certificate and utilize the command line to sign your app. You can also archive your build with your existing Xcode version and sign it for distribution with Xcode 11.4.1 or later. >> >> The current intermediate certificate (expiring in 2023), will continue to issue certain Apple services certificates, including Apple Push Notification service (APNs) SSL certificates and Apple Wallet pass signing certificates. Keep both versions installed on your development systems and servers until later this year. >> >> Learn more about upcoming certificate updates for Apple services. >> >> Best regards, >> Apple Developer Relations >> >> >> Best regards, >> >> Mark Talluto >> livecloud.io >> nursenotes.net >> canelasoftware.com >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at livecode.com Thu Feb 4 01:58:25 2021 From: mark at livecode.com (Mark Waddingham) Date: Thu, 04 Feb 2021 06:58:25 +0000 Subject: Using MySQL on (headless) Linux In-Reply-To: <4fcf4dfc-14af-9a47-9396-48dab4f1d662@fourthworld.com> References: <01a177129b7cedb8b66c97f00c191874@livecode.com> <4fcf4dfc-14af-9a47-9396-48dab4f1d662@fourthworld.com> Message-ID: 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 specifically designed it for :P LiveCode Server was *specifically designed* to be used just like PHP - allowing you to interpolate code with HTML output for the purposes of constructing webpages on the fly, sitting behind a web-server... That's why it has unique syntax designed precisely for a CGI environment, and operating in that PHP-like manner. Making it run in command-line mode as well was an obvious thing to do, and also made up for the fact (at the time) that bare standalone engines would not launch a stack on the command-line (as that was a rather gaping licensing hole which was closed between v3 and v4 IIRC). [ It also made it easier to test the general features of it! ] Since the advent of the community edition, however, and perhaps more importantly script-only-stacks - standalone engines running with -ui can be just as convenient... Assuming there isn't a feature-requiring reason to use one over the other, then it pretty much comes down to how you want to write your text based scripts. Warmest Regards, Mark. -- Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps From ambassador at fourthworld.com Thu Feb 4 04:52:25 2021 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 4 Feb 2021 01:52:25 -0800 Subject: Using MySQL on (headless) Linux In-Reply-To: References: Message-ID: <495320c4-159b-1a20-2e38-816326983081@fourthworld.com> Mark Waddingham wrote: > 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 specifically designed > it for :P > > LiveCode Server was *specifically designed* to be used just like PHP - > allowing you to interpolate code with HTML output for the purposes of > constructing webpages on the fly, sitting behind a web-server... That's > why it has unique syntax designed precisely for a CGI environment, and > operating in that PHP-like manner. > > Making it run in command-line mode as well was an obvious thing to do, > and also made up for the fact (at the time) that bare standalone engines > would not launch a stack on the command-line (as that was a rather > gaping licensing hole which was closed between v3 and v4 > IIRC). [ It also made it easier to test the general features of it! ] > > Since the advent of the community edition, however, and perhaps more > importantly script-only-stacks - standalone engines running with -ui can > be just as convenient... Indeed it can. The -ui option for running standalones was something many of us enjoyed back in the MetaCard days; AFAIK it was first implemented with v1.0 back in '92; it least it was there when I first started with MC back in '96. In addition to being an option for standalones, one could even run the bare engine with -ui as well. And being a command line tool that uses stdin/stdout, running the engine or a standalone with -ui also worked well as a CGI under Apache or Lightly (though in a flavor more like Perl, Python, or Ruby than PHP). Your fine addition in more recent years with a special Server build to allow PHP-like co-mingling of code and content was well done and much appreciated for those who enjoy that workflow on web servers. And back in '14 David Williams reminded us that the standard shebang option for running a script text file is still available, though with a slight syntactic difference from how we used to do that with MC (entry point used to be a startup message, now just bare script statements outside of a handler): https://livecode.com/a-livecode-shell/ With all this flexibility in one lean install, for me the pros of LC Server for headless work are clear: - We get the benefits of a standalone without having to make a standalone (indeed the engine can be kept up to date with a scrape-n-wget from the Downloads page, without needing to run it through the Standalone Builder on a separate GUI system). - We have the same options for running it as a standalone, without needing to remember to add -ui (minor, but every little simplicity is nice). - BONUS: We get the bonus option of running it aa a CGI without needing to write our own libraries for that (reading and parsing POST, writing to stdOut, handling every little detail about headers, sessions, and more). And when we do, we can enjoy PHP-style implicit merge, mixing content and code much more conveniently than with the merge function. That bonus may be irrelevant for some use cases, but probably not many. After all, a headless machine is usually not our main dev machine; it's probably being deployed to provide services for client machines. When those services are being delivered over a network we'll need a protocol, and in most cases HTTP will be a great choice, certainly the most common one. And though we can write our own HTTP daemon in LC, letting Apache do that generic work gives us better throughput, robustness, and security, with lower maintenance costs. Letting Apache do what it does best lets us do what we do best: focus on the functionality unique to our application service. All that said, perhaps my appreciation for your work with LC Server is indeed misplaced, and maybe it shouldn't be encouraged as the go-to choice for headless LiveCode development. :) But as one who resisted using it for many years after it was released, continuing to use standalones with -ui, I must admit that the efficiencies in both execution time and my development and maintenance time eventually made me uniquely enamored of LC Server as my default choice for any headless system. So if this makes me an LC Server fanboy, guilty as charged, your honor. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobsneidar at iotecdigital.com Thu Feb 4 11:31:48 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 4 Feb 2021 16:31:48 +0000 Subject: Using MySQL on (headless) Linux In-Reply-To: References: <01a177129b7cedb8b66c97f00c191874@livecode.com> <4fcf4dfc-14af-9a47-9396-48dab4f1d662@fourthworld.com> Message-ID: I don?t remember what I had for dinner on Friday. :-) Bob S On Feb 3, 2021, at 10:58 PM, Mark Waddingham via use-livecode > wrote: 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 specifically designed it for :P From klaus at major-k.de Thu Feb 4 11:40:40 2021 From: klaus at major-k.de (Klaus major-k) Date: Thu, 4 Feb 2021 17:40:40 +0100 Subject: Sign a Mac App, also sign the DMG? Message-ID: Hi friends, quick question, now we have a Mac app, signed and notarized and what not, is it also neccessary for the DMG we create from that app for distribution? Thanks for any insight! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From paul at researchware.com Thu Feb 4 11:46:40 2021 From: paul at researchware.com (Paul Dupuis) Date: Thu, 4 Feb 2021 11:46:40 -0500 Subject: Sign a Mac App, also sign the DMG? In-Reply-To: References: Message-ID: <10796896-38fa-a5d9-1004-038a5186cfe7@researchware.com> If the App is Signed and Notarized, it is actually best NOT to sign the DMG. Older versions of MacOS (like Mavericks, etc.) have a problem with signed DMGs On 2/4/2021 11:40 AM, Klaus major-k via use-livecode wrote: > Hi friends, > > quick question, now we have a Mac app, signed and notarized > and what not, is it also neccessary for the DMG we create from > that app for distribution? > > Thanks for any insight! > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Thu Feb 4 11:48:42 2021 From: klaus at major-k.de (Klaus major-k) Date: Thu, 4 Feb 2021 17:48:42 +0100 Subject: Sign a Mac App, also sign the DMG? In-Reply-To: <10796896-38fa-a5d9-1004-038a5186cfe7@researchware.com> References: <10796896-38fa-a5d9-1004-038a5186cfe7@researchware.com> Message-ID: Hi Paul, > Am 04.02.2021 um 17:46 schrieb Paul Dupuis via use-livecode : > > If the App is Signed and Notarized, it is actually best NOT to sign the DMG. > Older versions of MacOS (like Mavericks, etc.) have a problem with signed DMGs thank you very much, very helpful! > On 2/4/2021 11:40 AM, Klaus major-k via use-livecode wrote: >> Hi friends, >> >> quick question, now we have a Mac app, signed and notarized >> and what not, is it also neccessary for the DMG we create from >> that app for distribution? >> >> Thanks for any insight! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From ahsoftware at sonic.net Thu Feb 4 11:51:31 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 4 Feb 2021 08:51:31 -0800 Subject: Using MySQL on (headless) Linux In-Reply-To: <495320c4-159b-1a20-2e38-816326983081@fourthworld.com> References: <495320c4-159b-1a20-2e38-816326983081@fourthworld.com> Message-ID: <61940782-f10f-6336-50e6-b6e83502ccfd@sonic.net> On 2/4/21 1:52 AM, Richard Gaskin via use-livecode wrote: > With all this flexibility in one lean install, for me the pros of LC > Server for headless work are clear: ...plus the fact that there's an "include" command in the server, allowing for things like global constants. -- Mark Wieder ahsoftware at gmail.com From bogdanoff at me.com Thu Feb 4 11:54:08 2021 From: bogdanoff at me.com (Peter Bogdanoff) Date: Thu, 4 Feb 2021 08:54:08 -0800 Subject: Sign a Mac App, also sign the DMG? In-Reply-To: References: Message-ID: <04BD390F-0664-4AA6-9AB8-B83EAE7786C7@me.com> To avoid the unidentifiable developer warning in recent macOS versions, you do need it signed. If your market is consumers, that is what they will have. DropDMG is great. Peter > On Feb 4, 2021, at 8:49 AM, Klaus major-k via use-livecode wrote: > > ?Hi Paul, > >> Am 04.02.2021 um 17:46 schrieb Paul Dupuis via use-livecode : >> >> If the App is Signed and Notarized, it is actually best NOT to sign the DMG. >> Older versions of MacOS (like Mavericks, etc.) have a problem with signed DMGs > > thank you very much, very helpful! > >>> On 2/4/2021 11:40 AM, Klaus major-k via use-livecode wrote: >>> Hi friends, >>> >>> quick question, now we have a Mac app, signed and notarized >>> and what not, is it also neccessary for the DMG we create from >>> that app for distribution? >>> >>> Thanks for any insight! > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu Feb 4 12:03:13 2021 From: paul at researchware.com (Paul Dupuis) Date: Thu, 4 Feb 2021 12:03:13 -0500 Subject: Sign a Mac App, also sign the DMG? In-Reply-To: <04BD390F-0664-4AA6-9AB8-B83EAE7786C7@me.com> References: <04BD390F-0664-4AA6-9AB8-B83EAE7786C7@me.com> Message-ID: We current ship a commercial app. We code sign, notarize, and staple our App We then place it on a DMG using DropDMG, but do not code sign the DMG. We distribute the DMG via our Web site and not the MacApp store. QA testing on Catalina and Big Sur show only the usual "This (the DMG) has been downloaded from the Internet" warning that your get even with a signed DMG if downloading outside of the MacApp store. Where as a signed DMG will not open on Mavericks and a couple other above 10.9. We test on 10.9 to 10.16 as that is the range of MacOS versions supported by LC. On 2/4/2021 11:54 AM, Peter Bogdanoff via use-livecode wrote: > To avoid the unidentifiable developer warning in recent macOS versions, you do need it signed. If your market is consumers, that is what they will have. > > DropDMG is great. > > Peter > >> On Feb 4, 2021, at 8:49 AM, Klaus major-k via use-livecode wrote: >> >> ?Hi Paul, >> >>> Am 04.02.2021 um 17:46 schrieb Paul Dupuis via use-livecode : >>> >>> If the App is Signed and Notarized, it is actually best NOT to sign the DMG. >>> Older versions of MacOS (like Mavericks, etc.) have a problem with signed DMGs >> thank you very much, very helpful! >> >>>> On 2/4/2021 11:40 AM, Klaus major-k via use-livecode wrote: >>>> Hi friends, >>>> >>>> quick question, now we have a Mac app, signed and notarized >>>> and what not, is it also neccessary for the DMG we create from >>>> that app for distribution? >>>> >>>> Thanks for any insight! >> Best >> >> Klaus >> >> -- >> Klaus Major >> https://www.major-k.de >> https://www.major-k.de/bass >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From michael-kristensen at dsa-net.dk Thu Feb 4 13:03:04 2021 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Thu, 4 Feb 2021 19:03:04 +0100 Subject: Files() can't list rtfd files (mac) Message-ID: <4057E45A-38B5-4CCF-911D-0B566ED3CA3A@dsa-net.dk> Danke sch?n Klaus Michael From bobsneidar at iotecdigital.com Thu Feb 4 13:59:05 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 4 Feb 2021 18:59:05 +0000 Subject: Close Stack Cleanup Message-ID: Hi all. I know we have tread this ground before, but I am trying to clean up my stack (i.e. clear the fields), then save it when I close it BY ANY MEANS. That means by script, by menu OR by clicking the red dot (of for WIN users the red X) in the title bar. I need this to work in the IDE as well as in standalone. You would think closeStackRequest gets sent when I click the red dot or X. You would be mistaken. The dictionary reads, The closeStackRequest message is only sent if the request to close a stack is initiated by the user (eg by clicking file -> close in the LiveCode menu). If the request is initiated from a script (eg "close this stack" ) then the closeStackRequest message is not sent. Apparently clicking the red dot is not considered, ?initiated by the user.? It ought to be. If I use ?CloseStack? instead, I cannot save the stack because a script is currently running, and I do not want to be presented with the dialog to save, do not save, or cancel. I just want it to be saved. I can force quit if I mess something up. Bob S From martyknappster at gmail.com Thu Feb 4 14:25:58 2021 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 4 Feb 2021 11:25:58 -0800 Subject: Codesigning & notarizing In-Reply-To: References: <1FEF9ED0-9DC7-40DA-94EB-108990CB29C6@gmail.com> <17375DE0-9B39-4768-9515-01C3E34EDEDB@canelasoftware.com> <24AED79E-678A-48E8-989F-F718B1D93E5D@gmail.com> Message-ID: I?ve narrowed this down to the ?Revolution Zip? library. If I leave that out of Inclusions, I can build in 9.6.2 and codesign and all is well. marty > On Feb 3, 2021, at 2:59 PM, Mark Talluto via use-livecode wrote: > > Hi Marty, > > My work is with LiveCode 9.6.2 rc2 and Xcode 11.3.1. > > I have only a cursory understanding of Levure. From what I read, Trevor has methods to codesign and even notarize inside of Levure?s framework. > > If your testing with a basic stack works as expected, maybe some interaction is happening with the Levure Framework project. I am certain Trevor knows best what may be happening here. > > When you find out, please post back what you learn. > > Best regards, > > Mark Talluto > livecloud.io > nursenotes.net > canelasoftware.com > > > > >> On Feb 3, 2021, at 1:45 PM, Marty Knapp via use-livecode wrote: >> >> Mark, >> When I create a new, empty test stack and save as a standalone using versions 9.6.0, 9.6.1 and 9.6.2, I right-click the resulting app to show contents and there is a folder ?_CodeSignature? and inside that is a ?CodeResources? file. When I build a test standalone with LC 9.5.1 that folder is not present. So LC must have started codesigning as you described starting with 9.6.0. >> >> I can build a standalone in 9.6.1, codesign with AppWrapper and it notaries and runs fine. It?s when I do the build with 9.6.2 - it will run before I codesign with AppWrapper but after I codesign with AppWrapper - then it crashes on startup. It is a Levure-based app. If I create an empty test stack, build with 9.6.2, then codesign with AppWrapper it will open without a problem. So it looks like something specific to Levure or some combination of Levure, the version of my X-code (I?m on Mojave running X-Code 10.1 it looks like.) and LC 9.6.2. >> >> Marty From martyknappster at gmail.com Thu Feb 4 14:40:24 2021 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 4 Feb 2021 11:40:24 -0800 Subject: Codesigning & notarizing In-Reply-To: References: <1FEF9ED0-9DC7-40DA-94EB-108990CB29C6@gmail.com> <17375DE0-9B39-4768-9515-01C3E34EDEDB@canelasoftware.com> <24AED79E-678A-48E8-989F-F718B1D93E5D@gmail.com> Message-ID: <77B13A1B-C28A-4648-9659-55CCA2B613EF@gmail.com> Re: building a standalone in LC 9.6.2 rc2 with the ?Revolution Zip? library (crashes when codesigned) Just filed a bug report on this - 23083 Marty > On Feb 4, 2021, at 11:25 AM, Marty Knapp wrote: > > I?ve narrowed this down to the ?Revolution Zip? library. If I leave that out of Inclusions, I can build in 9.6.2 and codesign and all is well. > > marty > >> On Feb 3, 2021, at 2:59 PM, Mark Talluto via use-livecode wrote: >> >> Hi Marty, >> >> My work is with LiveCode 9.6.2 rc2 and Xcode 11.3.1. >> >> I have only a cursory understanding of Levure. From what I read, Trevor has methods to codesign and even notarize inside of Levure?s framework. >> >> If your testing with a basic stack works as expected, maybe some interaction is happening with the Levure Framework project. I am certain Trevor knows best what may be happening here. >> >> When you find out, please post back what you learn. >> >> Best regards, >> >> Mark Talluto >> livecloud.io >> nursenotes.net >> canelasoftware.com >> From rdimola at evergreeninfo.net Thu Feb 4 14:55:28 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 4 Feb 2021 14:55:28 -0500 Subject: Using MySQL on (headless) Linux In-Reply-To: <61940782-f10f-6336-50e6-b6e83502ccfd@sonic.net> References: <495320c4-159b-1a20-2e38-816326983081@fourthworld.com> <61940782-f10f-6336-50e6-b6e83502ccfd@sonic.net> Message-ID: <003e01d6fb2f$b3032210$19096630$@net> David's server talk is worth a mention again! He got me into LC server. It was so nice not to have learn php in depth as I could leverage my LC knowledge and existing code. I use server every day. But a question... I have always been confused with the difference between "start using' and "include" but I think I get it now. "Start using" is just like desktop and the message path goes thru it in order of the "start using"s take on desktop. "Include" is including the code into the script that invokes it. So as Mark said you could use includes to set global vars or even a different include file of constants depending on the data received in the web request. Is this correct? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Wieder via use-livecode Sent: Thursday, February 04, 2021 11:52 AM To: Richard Gaskin via use-livecode Cc: Mark Wieder Subject: Re: Using MySQL on (headless) Linux On 2/4/21 1:52 AM, Richard Gaskin via use-livecode wrote: > With all this flexibility in one lean install, for me the pros of LC > Server for headless work are clear: ...plus the fact that there's an "include" command in the server, allowing for things like global constants. -- Mark Wieder ahsoftware at gmail.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu Feb 4 15:37:39 2021 From: paul at researchware.com (Paul Dupuis) Date: Thu, 4 Feb 2021 15:37:39 -0500 Subject: Codesigning & notarizing In-Reply-To: <77B13A1B-C28A-4648-9659-55CCA2B613EF@gmail.com> References: <1FEF9ED0-9DC7-40DA-94EB-108990CB29C6@gmail.com> <17375DE0-9B39-4768-9515-01C3E34EDEDB@canelasoftware.com> <24AED79E-678A-48E8-989F-F718B1D93E5D@gmail.com> <77B13A1B-C28A-4648-9659-55CCA2B613EF@gmail.com> Message-ID: FYI - Our App includes the revZIP library. We codesign deep via Terminal command and get no crashes. Codesign, notarize, and staple without problems. On 2/4/2021 2:40 PM, Marty Knapp via use-livecode wrote: > Re: building a standalone in LC 9.6.2 rc2 with the ?Revolution Zip? library (crashes when codesigned) > > Just filed a bug report on this - 23083 > > Marty > >> On Feb 4, 2021, at 11:25 AM, Marty Knapp wrote: >> >> I?ve narrowed this down to the ?Revolution Zip? library. If I leave that out of Inclusions, I can build in 9.6.2 and codesign and all is well. >> >> marty >> >>> On Feb 3, 2021, at 2:59 PM, Mark Talluto via use-livecode wrote: >>> >>> Hi Marty, >>> >>> My work is with LiveCode 9.6.2 rc2 and Xcode 11.3.1. >>> >>> I have only a cursory understanding of Levure. From what I read, Trevor has methods to codesign and even notarize inside of Levure?s framework. >>> >>> If your testing with a basic stack works as expected, maybe some interaction is happening with the Levure Framework project. I am certain Trevor knows best what may be happening here. >>> >>> When you find out, please post back what you learn. >>> >>> Best regards, >>> >>> Mark Talluto >>> livecloud.io >>> nursenotes.net >>> canelasoftware.com >>> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu Feb 4 15:46:29 2021 From: paul at researchware.com (Paul Dupuis) Date: Thu, 4 Feb 2021 15:46:29 -0500 Subject: Codesigning & notarizing In-Reply-To: References: <1FEF9ED0-9DC7-40DA-94EB-108990CB29C6@gmail.com> <17375DE0-9B39-4768-9515-01C3E34EDEDB@canelasoftware.com> <24AED79E-678A-48E8-989F-F718B1D93E5D@gmail.com> <77B13A1B-C28A-4648-9659-55CCA2B613EF@gmail.com> Message-ID: <14a09d89-2659-0d05-c398-0965bc60b090@researchware.com> I should add, we're not using Levure. We are using LC9.6.2rc2, we codesign via Terminal on Mohave using Xcode 10.2.1 On 2/4/2021 3:37 PM, Paul Dupuis via use-livecode wrote: > FYI - Our App includes the revZIP library. We codesign deep via > Terminal command and get no crashes. Codesign, notarize, and staple > without problems. > > > On 2/4/2021 2:40 PM, Marty Knapp via use-livecode wrote: >> Re: building a standalone in LC 9.6.2 rc2 with the ?Revolution Zip? >> library (crashes when codesigned) >> >> Just filed a bug report on this - 23083 >> >> Marty >> >>> On Feb 4, 2021, at 11:25 AM, Marty Knapp >>> wrote: >>> >>> I?ve narrowed this down to the ?Revolution Zip? library. If I leave >>> that out of Inclusions, I can build in 9.6.2 and codesign and all is >>> well. >>> >>> marty >>> >>>> On Feb 3, 2021, at 2:59 PM, Mark Talluto via use-livecode >>>> wrote: >>>> >>>> Hi Marty, >>>> >>>> My work is with LiveCode 9.6.2 rc2 and Xcode 11.3.1. >>>> >>>> I have only a cursory understanding of Levure. From what I read, >>>> Trevor has methods to codesign and even notarize inside of Levure?s >>>> framework. >>>> >>>> If your testing with a basic stack works as expected, maybe some >>>> interaction is happening with the Levure Framework project. I am >>>> certain Trevor knows best what may be happening here. >>>> >>>> When you find out, please post back what you learn. >>>> >>>> Best regards, >>>> >>>> Mark Talluto >>>> livecloud.io >>>> nursenotes.net >>>> canelasoftware.com >>>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Thu Feb 4 15:46:45 2021 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 4 Feb 2021 22:46:45 +0200 Subject: Codesigning & notarizing In-Reply-To: References: <1FEF9ED0-9DC7-40DA-94EB-108990CB29C6@gmail.com> <17375DE0-9B39-4768-9515-01C3E34EDEDB@canelasoftware.com> <24AED79E-678A-48E8-989F-F718B1D93E5D@gmail.com> <77B13A1B-C28A-4648-9659-55CCA2B613EF@gmail.com> Message-ID: Hello Marty, How is revZip used by your app? Is it used on startup? Kind regards, Panos -- On Thu, 4 Feb 2021 at 22:38, Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > FYI - Our App includes the revZIP library. We codesign deep via Terminal > command and get no crashes. Codesign, notarize, and staple without > problems. > > > On 2/4/2021 2:40 PM, Marty Knapp via use-livecode wrote: > > Re: building a standalone in LC 9.6.2 rc2 with the ?Revolution Zip? > library (crashes when codesigned) > > > > Just filed a bug report on this - 23083 > > > > Marty > > > >> On Feb 4, 2021, at 11:25 AM, Marty Knapp > wrote: > >> > >> I?ve narrowed this down to the ?Revolution Zip? library. If I leave > that out of Inclusions, I can build in 9.6.2 and codesign and all is well. > >> > >> marty > >> > >>> On Feb 3, 2021, at 2:59 PM, Mark Talluto via use-livecode < > use-livecode at lists.runrev.com> wrote: > >>> > >>> Hi Marty, > >>> > >>> My work is with LiveCode 9.6.2 rc2 and Xcode 11.3.1. > >>> > >>> I have only a cursory understanding of Levure. From what I read, > Trevor has methods to codesign and even notarize inside of Levure?s > framework. > >>> > >>> If your testing with a basic stack works as expected, maybe some > interaction is happening with the Levure Framework project. I am certain > Trevor knows best what may be happening here. > >>> > >>> When you find out, please post back what you learn. > >>> > >>> Best regards, > >>> > >>> Mark Talluto > >>> livecloud.io > >>> nursenotes.net > >>> canelasoftware.com > >>> > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From martyknappster at gmail.com Thu Feb 4 15:51:58 2021 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 4 Feb 2021 12:51:58 -0800 Subject: Codesigning & notarizing In-Reply-To: References: <1FEF9ED0-9DC7-40DA-94EB-108990CB29C6@gmail.com> <17375DE0-9B39-4768-9515-01C3E34EDEDB@canelasoftware.com> <24AED79E-678A-48E8-989F-F718B1D93E5D@gmail.com> <77B13A1B-C28A-4648-9659-55CCA2B613EF@gmail.com> Message-ID: <7C650222-24BD-462D-B5C4-EDF00D179835@gmail.com> No it is not used on startup, it?s for a backup feature that the user invokes. I am on Mojave and looks like x-code 10.1. Do you think my version of x-code could be the issue? All is fine when I build with LC 9.6.1. It?s when I build with 9.6.2. I?ve used the codesigning ability of Trevor?s ?Levure? framework as well as AppWrapper - tried both version 3 and 4 Marty > On Feb 4, 2021, at 12:46 PM, panagiotis merakos via use-livecode wrote: > > Hello Marty, > > How is revZip used by your app? Is it used on startup? > > Kind regards, > Panos > -- > > On Thu, 4 Feb 2021 at 22:38, Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> FYI - Our App includes the revZIP library. We codesign deep via Terminal >> command and get no crashes. Codesign, notarize, and staple without >> problems. >> >> >> On 2/4/2021 2:40 PM, Marty Knapp via use-livecode wrote: >>> Re: building a standalone in LC 9.6.2 rc2 with the ?Revolution Zip? >> library (crashes when codesigned) >>> >>> Just filed a bug report on this - 23083 >>> >>> Marty >>> >>>> On Feb 4, 2021, at 11:25 AM, Marty Knapp >> wrote: >>>> >>>> I?ve narrowed this down to the ?Revolution Zip? library. If I leave >> that out of Inclusions, I can build in 9.6.2 and codesign and all is well. >>>> >>>> marty >>>> >>>>> On Feb 3, 2021, at 2:59 PM, Mark Talluto via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>>>> >>>>> Hi Marty, >>>>> >>>>> My work is with LiveCode 9.6.2 rc2 and Xcode 11.3.1. >>>>> >>>>> I have only a cursory understanding of Levure. From what I read, >> Trevor has methods to codesign and even notarize inside of Levure?s >> framework. >>>>> >>>>> If your testing with a basic stack works as expected, maybe some >> interaction is happening with the Levure Framework project. I am certain >> Trevor knows best what may be happening here. >>>>> >>>>> When you find out, please post back what you learn. >>>>> From matthias_livecode_150811 at m-r-d.de Thu Feb 4 15:55:44 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 4 Feb 2021 21:55:44 +0100 Subject: Codesigning & notarizing In-Reply-To: <7C650222-24BD-462D-B5C4-EDF00D179835@gmail.com> References: <1FEF9ED0-9DC7-40DA-94EB-108990CB29C6@gmail.com> <17375DE0-9B39-4768-9515-01C3E34EDEDB@canelasoftware.com> <24AED79E-678A-48E8-989F-F718B1D93E5D@gmail.com> <77B13A1B-C28A-4648-9659-55CCA2B613EF@gmail.com> <7C650222-24BD-462D-B5C4-EDF00D179835@gmail.com> Message-ID: Hi Marty, i added a comment to your bug report already. I used your demo stack and cannot replicate the crash. I use App Wrapper 4 to code sign. I code signe for Web distribution, not for App Store or Store installer. I am also on Mojave (10.14.6), but i am using Xcode 11.3 Regards, Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 04.02.2021 um 21:51 schrieb Marty Knapp via use-livecode : > > No it is not used on startup, it?s for a backup feature that the user invokes. I am on Mojave and looks like x-code 10.1. Do you think my version of x-code could be the issue? > > All is fine when I build with LC 9.6.1. It?s when I build with 9.6.2. I?ve used the codesigning ability of Trevor?s ?Levure? framework as well as AppWrapper - tried both version 3 and 4 > > Marty > >> On Feb 4, 2021, at 12:46 PM, panagiotis merakos via use-livecode wrote: >> >> Hello Marty, >> >> How is revZip used by your app? Is it used on startup? >> >> Kind regards, >> Panos >> -- >> >> On Thu, 4 Feb 2021 at 22:38, Paul Dupuis via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> FYI - Our App includes the revZIP library. We codesign deep via Terminal >>> command and get no crashes. Codesign, notarize, and staple without >>> problems. >>> >>> >>> On 2/4/2021 2:40 PM, Marty Knapp via use-livecode wrote: >>>> Re: building a standalone in LC 9.6.2 rc2 with the ?Revolution Zip? >>> library (crashes when codesigned) >>>> >>>> Just filed a bug report on this - 23083 >>>> >>>> Marty >>>> >>>>> On Feb 4, 2021, at 11:25 AM, Marty Knapp >>> wrote: >>>>> >>>>> I?ve narrowed this down to the ?Revolution Zip? library. If I leave >>> that out of Inclusions, I can build in 9.6.2 and codesign and all is well. >>>>> >>>>> marty >>>>> >>>>>> On Feb 3, 2021, at 2:59 PM, Mark Talluto via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>>>> >>>>>> Hi Marty, >>>>>> >>>>>> My work is with LiveCode 9.6.2 rc2 and Xcode 11.3.1. >>>>>> >>>>>> I have only a cursory understanding of Levure. From what I read, >>> Trevor has methods to codesign and even notarize inside of Levure?s >>> framework. >>>>>> >>>>>> If your testing with a basic stack works as expected, maybe some >>> interaction is happening with the Levure Framework project. I am certain >>> Trevor knows best what may be happening here. >>>>>> >>>>>> When you find out, please post back what you learn. >>>>>> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Thu Feb 4 15:56:01 2021 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 4 Feb 2021 22:56:01 +0200 Subject: Codesigning & notarizing In-Reply-To: <14a09d89-2659-0d05-c398-0965bc60b090@researchware.com> References: <1FEF9ED0-9DC7-40DA-94EB-108990CB29C6@gmail.com> <17375DE0-9B39-4768-9515-01C3E34EDEDB@canelasoftware.com> <24AED79E-678A-48E8-989F-F718B1D93E5D@gmail.com> <77B13A1B-C28A-4648-9659-55CCA2B613EF@gmail.com> <14a09d89-2659-0d05-c398-0965bc60b090@researchware.com> Message-ID: @Marty If you have not done it already, it might be worth adding entitlements to the codesign. https://lessons.livecode.com/m/4071/l/1293515-entitlements-for-signed-and-notarized-apps I do not think it is the Xcode version that is the problem. I am on Mojave as well, so I can do a quick test if you send me the standalone that crashes. Also make sure you attach the stack to the bug report :) Kind regards, Panos -- On Thu, 4 Feb 2021 at 22:47, Paul Dupuis via use-livecode < use-livecode at lists.runrev.com> wrote: > I should add, we're not using Levure. We are using LC9.6.2rc2, we > codesign via Terminal on Mohave using Xcode 10.2.1 > > On 2/4/2021 3:37 PM, Paul Dupuis via use-livecode wrote: > > FYI - Our App includes the revZIP library. We codesign deep via > > Terminal command and get no crashes. Codesign, notarize, and staple > > without problems. > > > > > > On 2/4/2021 2:40 PM, Marty Knapp via use-livecode wrote: > >> Re: building a standalone in LC 9.6.2 rc2 with the ?Revolution Zip? > >> library (crashes when codesigned) > >> > >> Just filed a bug report on this - 23083 > >> > >> Marty > >> > >>> On Feb 4, 2021, at 11:25 AM, Marty Knapp > >>> wrote: > >>> > >>> I?ve narrowed this down to the ?Revolution Zip? library. If I leave > >>> that out of Inclusions, I can build in 9.6.2 and codesign and all is > >>> well. > >>> > >>> marty > >>> > >>>> On Feb 3, 2021, at 2:59 PM, Mark Talluto via use-livecode > >>>> wrote: > >>>> > >>>> Hi Marty, > >>>> > >>>> My work is with LiveCode 9.6.2 rc2 and Xcode 11.3.1. > >>>> > >>>> I have only a cursory understanding of Levure. From what I read, > >>>> Trevor has methods to codesign and even notarize inside of Levure?s > >>>> framework. > >>>> > >>>> If your testing with a basic stack works as expected, maybe some > >>>> interaction is happening with the Levure Framework project. I am > >>>> certain Trevor knows best what may be happening here. > >>>> > >>>> When you find out, please post back what you learn. > >>>> > >>>> Best regards, > >>>> > >>>> Mark Talluto > >>>> livecloud.io > >>>> nursenotes.net > >>>> canelasoftware.com > >>>> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Thu Feb 4 16:05:43 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 4 Feb 2021 22:05:43 +0100 Subject: Codesigning & notarizing In-Reply-To: References: <1FEF9ED0-9DC7-40DA-94EB-108990CB29C6@gmail.com> <17375DE0-9B39-4768-9515-01C3E34EDEDB@canelasoftware.com> <24AED79E-678A-48E8-989F-F718B1D93E5D@gmail.com> <77B13A1B-C28A-4648-9659-55CCA2B613EF@gmail.com> <14a09d89-2659-0d05-c398-0965bc60b090@researchware.com> Message-ID: The stack is already attached to the bug report. ;) I had some time, so I've used Marty's demo stack and created a standalone and code signed it. I also did not add the entitlements when code signing with App Wrapper 4. The code signed app does not crash at startup. - Matthias Rebbe Life Is Too Short For Boring Code > Am 04.02.2021 um 21:56 schrieb panagiotis merakos via use-livecode : > > @Marty > > If you have not done it already, it might be worth adding entitlements to > the codesign. > > https://lessons.livecode.com/m/4071/l/1293515-entitlements-for-signed-and-notarized-apps > > I do not think it is the Xcode version that is the problem. I am on Mojave > as well, so I can do a quick test if you send me the standalone that > crashes. Also make sure you attach the stack to the bug report :) > > Kind regards, > Panos > -- > > On Thu, 4 Feb 2021 at 22:47, Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I should add, we're not using Levure. We are using LC9.6.2rc2, we >> codesign via Terminal on Mohave using Xcode 10.2.1 >> >> On 2/4/2021 3:37 PM, Paul Dupuis via use-livecode wrote: >>> FYI - Our App includes the revZIP library. We codesign deep via >>> Terminal command and get no crashes. Codesign, notarize, and staple >>> without problems. >>> >>> >>> On 2/4/2021 2:40 PM, Marty Knapp via use-livecode wrote: >>>> Re: building a standalone in LC 9.6.2 rc2 with the ?Revolution Zip? >>>> library (crashes when codesigned) >>>> >>>> Just filed a bug report on this - 23083 >>>> >>>> Marty >>>> >>>>> On Feb 4, 2021, at 11:25 AM, Marty Knapp >>>>> wrote: >>>>> >>>>> I?ve narrowed this down to the ?Revolution Zip? library. If I leave >>>>> that out of Inclusions, I can build in 9.6.2 and codesign and all is >>>>> well. >>>>> >>>>> marty >>>>> >>>>>> On Feb 3, 2021, at 2:59 PM, Mark Talluto via use-livecode >>>>>> wrote: >>>>>> >>>>>> Hi Marty, >>>>>> >>>>>> My work is with LiveCode 9.6.2 rc2 and Xcode 11.3.1. >>>>>> >>>>>> I have only a cursory understanding of Levure. From what I read, >>>>>> Trevor has methods to codesign and even notarize inside of Levure?s >>>>>> framework. >>>>>> >>>>>> If your testing with a basic stack works as expected, maybe some >>>>>> interaction is happening with the Levure Framework project. I am >>>>>> certain Trevor knows best what may be happening here. >>>>>> >>>>>> When you find out, please post back what you learn. >>>>>> >>>>>> Best regards, >>>>>> >>>>>> Mark Talluto >>>>>> livecloud.io >>>>>> nursenotes.net >>>>>> canelasoftware.com >>>>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Thu Feb 4 16:07:33 2021 From: paul at researchware.com (Paul Dupuis) Date: Thu, 4 Feb 2021 16:07:33 -0500 Subject: Codesigning & notarizing In-Reply-To: References: <1FEF9ED0-9DC7-40DA-94EB-108990CB29C6@gmail.com> <17375DE0-9B39-4768-9515-01C3E34EDEDB@canelasoftware.com> <24AED79E-678A-48E8-989F-F718B1D93E5D@gmail.com> <77B13A1B-C28A-4648-9659-55CCA2B613EF@gmail.com> <14a09d89-2659-0d05-c398-0965bc60b090@researchware.com> Message-ID: I should have added that we sign with entitlements (the same set LC uses) On 2/4/2021 3:56 PM, panagiotis merakos via use-livecode wrote: > @Marty > > If you have not done it already, it might be worth adding entitlements to > the codesign. > > https://lessons.livecode.com/m/4071/l/1293515-entitlements-for-signed-and-notarized-apps > > I do not think it is the Xcode version that is the problem. I am on Mojave > as well, so I can do a quick test if you send me the standalone that > crashes. Also make sure you attach the stack to the bug report :) > > Kind regards, > Panos > -- > > On Thu, 4 Feb 2021 at 22:47, Paul Dupuis via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> I should add, we're not using Levure. We are using LC9.6.2rc2, we >> codesign via Terminal on Mohave using Xcode 10.2.1 >> >> On 2/4/2021 3:37 PM, Paul Dupuis via use-livecode wrote: >>> FYI - Our App includes the revZIP library. We codesign deep via >>> Terminal command and get no crashes. Codesign, notarize, and staple >>> without problems. >>> >>> >>> On 2/4/2021 2:40 PM, Marty Knapp via use-livecode wrote: >>>> Re: building a standalone in LC 9.6.2 rc2 with the ?Revolution Zip? >>>> library (crashes when codesigned) >>>> >>>> Just filed a bug report on this - 23083 >>>> >>>> Marty >>>> >>>>> On Feb 4, 2021, at 11:25 AM, Marty Knapp >>>>> wrote: >>>>> >>>>> I?ve narrowed this down to the ?Revolution Zip? library. If I leave >>>>> that out of Inclusions, I can build in 9.6.2 and codesign and all is >>>>> well. >>>>> >>>>> marty >>>>> >>>>>> On Feb 3, 2021, at 2:59 PM, Mark Talluto via use-livecode >>>>>> wrote: >>>>>> >>>>>> Hi Marty, >>>>>> >>>>>> My work is with LiveCode 9.6.2 rc2 and Xcode 11.3.1. >>>>>> >>>>>> I have only a cursory understanding of Levure. From what I read, >>>>>> Trevor has methods to codesign and even notarize inside of Levure?s >>>>>> framework. >>>>>> >>>>>> If your testing with a basic stack works as expected, maybe some >>>>>> interaction is happening with the Levure Framework project. I am >>>>>> certain Trevor knows best what may be happening here. >>>>>> >>>>>> When you find out, please post back what you learn. >>>>>> >>>>>> Best regards, >>>>>> >>>>>> Mark Talluto >>>>>> livecloud.io >>>>>> nursenotes.net >>>>>> canelasoftware.com >>>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From merakosp at gmail.com Thu Feb 4 16:09:59 2021 From: merakosp at gmail.com (panagiotis merakos) Date: Thu, 4 Feb 2021 23:09:59 +0200 Subject: Codesigning & notarizing In-Reply-To: References: <1FEF9ED0-9DC7-40DA-94EB-108990CB29C6@gmail.com> <17375DE0-9B39-4768-9515-01C3E34EDEDB@canelasoftware.com> <24AED79E-678A-48E8-989F-F718B1D93E5D@gmail.com> <77B13A1B-C28A-4648-9659-55CCA2B613EF@gmail.com> <14a09d89-2659-0d05-c398-0965bc60b090@researchware.com> Message-ID: Thanks for testing Matthias :) On Thu, 4 Feb 2021, 23:08 Paul Dupuis via use-livecode, < use-livecode at lists.runrev.com> wrote: > I should have added that we sign with entitlements (the same set LC uses) > > On 2/4/2021 3:56 PM, panagiotis merakos via use-livecode wrote: > > @Marty > > > > If you have not done it already, it might be worth adding entitlements to > > the codesign. > > > > > https://lessons.livecode.com/m/4071/l/1293515-entitlements-for-signed-and-notarized-apps > > > > I do not think it is the Xcode version that is the problem. I am on > Mojave > > as well, so I can do a quick test if you send me the standalone that > > crashes. Also make sure you attach the stack to the bug report :) > > > > Kind regards, > > Panos > > -- > > > > On Thu, 4 Feb 2021 at 22:47, Paul Dupuis via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> I should add, we're not using Levure. We are using LC9.6.2rc2, we > >> codesign via Terminal on Mohave using Xcode 10.2.1 > >> > >> On 2/4/2021 3:37 PM, Paul Dupuis via use-livecode wrote: > >>> FYI - Our App includes the revZIP library. We codesign deep via > >>> Terminal command and get no crashes. Codesign, notarize, and staple > >>> without problems. > >>> > >>> > >>> On 2/4/2021 2:40 PM, Marty Knapp via use-livecode wrote: > >>>> Re: building a standalone in LC 9.6.2 rc2 with the ?Revolution Zip? > >>>> library (crashes when codesigned) > >>>> > >>>> Just filed a bug report on this - 23083 > >>>> > >>>> Marty > >>>> > >>>>> On Feb 4, 2021, at 11:25 AM, Marty Knapp > >>>>> wrote: > >>>>> > >>>>> I?ve narrowed this down to the ?Revolution Zip? library. If I leave > >>>>> that out of Inclusions, I can build in 9.6.2 and codesign and all is > >>>>> well. > >>>>> > >>>>> marty > >>>>> > >>>>>> On Feb 3, 2021, at 2:59 PM, Mark Talluto via use-livecode > >>>>>> wrote: > >>>>>> > >>>>>> Hi Marty, > >>>>>> > >>>>>> My work is with LiveCode 9.6.2 rc2 and Xcode 11.3.1. > >>>>>> > >>>>>> I have only a cursory understanding of Levure. From what I read, > >>>>>> Trevor has methods to codesign and even notarize inside of Levure?s > >>>>>> framework. > >>>>>> > >>>>>> If your testing with a basic stack works as expected, maybe some > >>>>>> interaction is happening with the Levure Framework project. I am > >>>>>> certain Trevor knows best what may be happening here. > >>>>>> > >>>>>> When you find out, please post back what you learn. > >>>>>> > >>>>>> Best regards, > >>>>>> > >>>>>> Mark Talluto > >>>>>> livecloud.io > >>>>>> nursenotes.net > >>>>>> canelasoftware.com > >>>>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From curry at pair.com Thu Feb 4 16:23:41 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 4 Feb 2021 16:23:41 -0500 Subject: Close Stack Cleanup In-Reply-To: References: Message-ID: <0cbbddda-132f-c21c-399b-f360c3d687bc@pair.com> Bob: > I am trying to clean up my stack (i.e. clear the fields), > then save it when I close it This is a good topic for LiveCode learners; I'm chiming in.... I often do something similar - but with an important difference: I perform cleanup when I save. I do NOT force an auto save. (More on that later.) > BY ANY MEANS. That means by script, by menu OR by clicking the red dot > (of for WIN users the red X) in the title bar. > I need this to work in the IDE as well as in standalone. So, let's halt at this point and take inventory of your desires! You want to trap at least 3 methods of initiating a close action. (Tally: 3) Furthermore, IDE versus Standalone is an extra complexity. I don't like that, but it is the unfortunate reality. So I'm accounting for that extra complexity via a "+" designation! (Tally: "3+") Now jumping ahead a bit to make a connection: > If I use ?CloseStack? instead Remember our tally of "3+" Actions? The word "instead" suggests you're assuming a SINGLE trap. Everyone here should know my KISS philosophy: less is better. 3 birds with one stone is superior; I'm always harping on that. But then again, in this case you have 3+ birds! :) I'd hazard a guess on 2 traps - that's my experience for similar cases. (But if one will work, use one.) > You would think closeStackRequest gets sent when I > click the red dot or X. You would be mistaken. Actually I would NOT be mistaken, as long as we're talking about the X, and the stack has been named/saved at least once. Just tested it! But among the "extra complexity" I mentioned, if the stack is dirty, the IDE will trap the close action at the front, BEFORE you get it. It can still fire, but AFTER you dance around a bit with the IDE. (Important to note that's the IDE; closeStackRequest does respond.) To succeed in the IDE, you may indeed need to use closeStack. But that's probably "with" not "instead" of closeStackRequest! We can still follow KISS and avoid duplicating code, via modularity - the 2 traps can call a common set of code. Using params or other means to handle the differences in the 2/3 cases. > I just want it to be saved. I can force quit if I mess something up. I DISCOURAGE using a custom auto-save and resorting to force quit. If you implement an auto-save, do it very well. (And done well, a force-quit would not likely be Plan A for reverting.) But I encourage cleanup when saving or when closing. I do it constantly. It just requires a set of trap(s) that does spring for the 3 actions. You're half way there, just think "AND" not "instead" to finish it! Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From tore.nilsen at me.com Thu Feb 4 17:27:27 2021 From: tore.nilsen at me.com (Tore Nilsen) Date: Thu, 4 Feb 2021 23:27:27 +0100 Subject: Close Stack Cleanup In-Reply-To: <0cbbddda-132f-c21c-399b-f360c3d687bc@pair.com> References: <0cbbddda-132f-c21c-399b-f360c3d687bc@pair.com> Message-ID: <9BF6645B-0458-4F09-BBBE-507291904EE3@me.com> I follow a similar approach to what Curry describes here, keeping it modular, but I do not do any clean up at closing time. Instead I execute the necessary routines as part of a preOpenStack handler. I then do not have to consider which way the stack was closed. This is also what I encourage my students to do, in order to present the users with a pristine application every time the user starts the application. By keeping it modular, the clean up script can also be started from other handlers if necessary. Best regards Tore Nilsen > 4. feb. 2021 kl. 22:23 skrev Curry Kenworthy via use-livecode : > > > Bob: > > > I am trying to clean up my stack (i.e. clear the fields), > > then save it when I close it > > This is a good topic for LiveCode learners; I'm chiming in.... > > I often do something similar - but with an important difference: > I perform cleanup when I save. I do NOT force an auto save. > (More on that later.) > > > BY ANY MEANS. That means by script, by menu OR by clicking the red dot > > (of for WIN users the red X) in the title bar. > > I need this to work in the IDE as well as in standalone. > > So, let's halt at this point and take inventory of your desires! > You want to trap at least 3 methods of initiating a close action. > (Tally: 3) > > Furthermore, IDE versus Standalone is an extra complexity. > I don't like that, but it is the unfortunate reality. > So I'm accounting for that extra complexity via a "+" designation! > (Tally: "3+") > > Now jumping ahead a bit to make a connection: > > > If I use ?CloseStack? instead > > Remember our tally of "3+" Actions? > The word "instead" suggests you're assuming a SINGLE trap. > > Everyone here should know my KISS philosophy: less is better. > 3 birds with one stone is superior; I'm always harping on that. > But then again, in this case you have 3+ birds! :) > > I'd hazard a guess on 2 traps - that's my experience for similar cases. > (But if one will work, use one.) > > > You would think closeStackRequest gets sent when I > > click the red dot or X. You would be mistaken. > > Actually I would NOT be mistaken, as long as we're talking about the X, > and the stack has been named/saved at least once. Just tested it! > > But among the "extra complexity" I mentioned, if the stack is dirty, > the IDE will trap the close action at the front, BEFORE you get it. > It can still fire, but AFTER you dance around a bit with the IDE. > (Important to note that's the IDE; closeStackRequest does respond.) > > To succeed in the IDE, you may indeed need to use closeStack. > But that's probably "with" not "instead" of closeStackRequest! > > We can still follow KISS and avoid duplicating code, > via modularity - the 2 traps can call a common set of code. > Using params or other means to handle the differences in the 2/3 cases. > > > I just want it to be saved. I can force quit if I mess something up. > > I DISCOURAGE using a custom auto-save and resorting to force quit. > If you implement an auto-save, do it very well. > (And done well, a force-quit would not likely be Plan A for reverting.) > > But I encourage cleanup when saving or when closing. I do it constantly. > It just requires a set of trap(s) that does spring for the 3 actions. > You're half way there, just think "AND" not "instead" to finish it! > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From martyknappster at gmail.com Thu Feb 4 17:28:07 2021 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 4 Feb 2021 14:28:07 -0800 Subject: Codesigning & notarizing In-Reply-To: References: <1FEF9ED0-9DC7-40DA-94EB-108990CB29C6@gmail.com> <17375DE0-9B39-4768-9515-01C3E34EDEDB@canelasoftware.com> <24AED79E-678A-48E8-989F-F718B1D93E5D@gmail.com> <77B13A1B-C28A-4648-9659-55CCA2B613EF@gmail.com> <14a09d89-2659-0d05-c398-0965bc60b090@researchware.com> Message-ID: I just updated to Xcode 11.3 and still have the issue. With revzip included, building with 9.6.2 it works fine *until* I codesign - either with the Levure app packager or with AppWrapper (tried versions 3 and 4) As soon as it starts to launch it crashes. If I take out revzip the app will open fine when code signed. If rev zip was damaged it would not work in the unsigned app. Anything else that I should check? This is really frustrating. Marty > On Feb 4, 2021, at 1:09 PM, panagiotis merakos via use-livecode wrote: > > Thanks for testing Matthias :) > > On Thu, 4 Feb 2021, 23:08 Paul Dupuis via use-livecode, < > use-livecode at lists.runrev.com> wrote: > >> I should have added that we sign with entitlements (the same set LC uses) >> >> On 2/4/2021 3:56 PM, panagiotis merakos via use-livecode wrote: >>> @Marty >>> >>> If you have not done it already, it might be worth adding entitlements to >>> the codesign. >>> >>> >> https://lessons.livecode.com/m/4071/l/1293515-entitlements-for-signed-and-notarized-apps >>> >>> I do not think it is the Xcode version that is the problem. I am on >> Mojave >>> as well, so I can do a quick test if you send me the standalone that >>> crashes. Also make sure you attach the stack to the bug report :) >>> >>> Kind regards, >>> Panos >>> -- >>> >>> On Thu, 4 Feb 2021 at 22:47, Paul Dupuis via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> I should add, we're not using Levure. We are using LC9.6.2rc2, we >>>> codesign via Terminal on Mohave using Xcode 10.2.1 >>>> >>>> On 2/4/2021 3:37 PM, Paul Dupuis via use-livecode wrote: >>>>> FYI - Our App includes the revZIP library. We codesign deep via >>>>> Terminal command and get no crashes. Codesign, notarize, and staple >>>>> without problems. >>>>> >>>>> >>>>> On 2/4/2021 2:40 PM, Marty Knapp via use-livecode wrote: >>>>>> Re: building a standalone in LC 9.6.2 rc2 with the ?Revolution Zip? >>>>>> library (crashes when codesigned) >>>>>> >>>>>> Just filed a bug report on this - 23083 >>>>>> >>>>>> Marty >>>>>> >>>>>>> On Feb 4, 2021, at 11:25 AM, Marty Knapp >>>>>>> wrote: >>>>>>> >>>>>>> I?ve narrowed this down to the ?Revolution Zip? library. If I leave >>>>>>> that out of Inclusions, I can build in 9.6.2 and codesign and all is >>>>>>> well. >>>>>>> >>>>>>> marty >>>>>>> >>>>>>>> On Feb 3, 2021, at 2:59 PM, Mark Talluto via use-livecode >>>>>>>> wrote: >>>>>>>> >>>>>>>> Hi Marty, >>>>>>>> >>>>>>>> My work is with LiveCode 9.6.2 rc2 and Xcode 11.3.1. >>>>>>>> >>>>>>>> I have only a cursory understanding of Levure. From what I read, >>>>>>>> Trevor has methods to codesign and even notarize inside of Levure?s >>>>>>>> framework. >>>>>>>> >>>>>>>> If your testing with a basic stack works as expected, maybe some >>>>>>>> interaction is happening with the Levure Framework project. I am >>>>>>>> certain Trevor knows best what may be happening here. >>>>>>>> >>>>>>>> When you find out, please post back what you learn. >>>>>>>> >>>>>>>> Best regards, >>>>>>>> >>>>>>>> Mark Talluto >>>>>>>> livecloud.io >>>>>>>> nursenotes.net >>>>>>>> canelasoftware.com >>>>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Feb 4 17:43:37 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 4 Feb 2021 22:43:37 +0000 Subject: Close Stack Cleanup In-Reply-To: <0cbbddda-132f-c21c-399b-f360c3d687bc@pair.com> References: <0cbbddda-132f-c21c-399b-f360c3d687bc@pair.com> Message-ID: <0EC86D60-8554-4E2B-B502-7BB355D7BD7C@iotecdigital.com> Thanks for the response Curry and Tore. The reason I clean up at close is because when I open the stack the next time I do not want to remains of what I was doing before to show. It?s a small point but it look cleaner if the first time opening the stack there is nothing in the fields. All attempts to hide the stack then clear it before making it visible have been iffy. I guess what I need is a message or series of messages that get generated BEFORE the stack is closed. I have this in the only card in my stack: on closeStackRequest resetMainForm save this stack pass closeStackRequest ? this has a breakpoint end closeStackRequest I have a breakpoint on the pass statement. When clicking the red dot I get asked if I want to save the stack. For whatever reason, for me the closeStackRequest is NOT getting sent to the current card! Bob S > On Feb 4, 2021, at 1:23 PM, Curry Kenworthy via use-livecode wrote: > > > Bob: > > > I am trying to clean up my stack (i.e. clear the fields), > > then save it when I close it > > This is a good topic for LiveCode learners; I'm chiming in.... > > I often do something similar - but with an important difference: > I perform cleanup when I save. I do NOT force an auto save. > (More on that later.) > > > BY ANY MEANS. That means by script, by menu OR by clicking the red dot > > (of for WIN users the red X) in the title bar. > > I need this to work in the IDE as well as in standalone. > > So, let's halt at this point and take inventory of your desires! > You want to trap at least 3 methods of initiating a close action. > (Tally: 3) > > Furthermore, IDE versus Standalone is an extra complexity. > I don't like that, but it is the unfortunate reality. > So I'm accounting for that extra complexity via a "+" designation! > (Tally: "3+") > > Now jumping ahead a bit to make a connection: > > > If I use ?CloseStack? instead > > Remember our tally of "3+" Actions? > The word "instead" suggests you're assuming a SINGLE trap. > > Everyone here should know my KISS philosophy: less is better. > 3 birds with one stone is superior; I'm always harping on that. > But then again, in this case you have 3+ birds! :) > > I'd hazard a guess on 2 traps - that's my experience for similar cases. > (But if one will work, use one.) > > > You would think closeStackRequest gets sent when I > > click the red dot or X. You would be mistaken. > > Actually I would NOT be mistaken, as long as we're talking about the X, > and the stack has been named/saved at least once. Just tested it! > > But among the "extra complexity" I mentioned, if the stack is dirty, > the IDE will trap the close action at the front, BEFORE you get it. > It can still fire, but AFTER you dance around a bit with the IDE. > (Important to note that's the IDE; closeStackRequest does respond.) > > To succeed in the IDE, you may indeed need to use closeStack. > But that's probably "with" not "instead" of closeStackRequest! > > We can still follow KISS and avoid duplicating code, > via modularity - the 2 traps can call a common set of code. > Using params or other means to handle the differences in the 2/3 cases. > > > I just want it to be saved. I can force quit if I mess something up. > > I DISCOURAGE using a custom auto-save and resorting to force quit. > If you implement an auto-save, do it very well. > (And done well, a force-quit would not likely be Plan A for reverting.) > > But I encourage cleanup when saving or when closing. I do it constantly. > It just requires a set of trap(s) that does spring for the 3 actions. > You're half way there, just think "AND" not "instead" to finish it! > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tore.nilsen at me.com Thu Feb 4 17:50:45 2021 From: tore.nilsen at me.com (Tore Nilsen) Date: Thu, 4 Feb 2021 23:50:45 +0100 Subject: Close Stack Cleanup In-Reply-To: <0EC86D60-8554-4E2B-B502-7BB355D7BD7C@iotecdigital.com> References: <0cbbddda-132f-c21c-399b-f360c3d687bc@pair.com> <0EC86D60-8554-4E2B-B502-7BB355D7BD7C@iotecdigital.com> Message-ID: Performing the clean up in preOpenStack makes it happen before the stack is visible, at least according to the dictionary. "Unlike openStack <>, preOpenStack handlers <> are executed <> before the stack window <> appears. Because of this, the preOpenStack handler <> is a good place to put code that adjusts the size, position, and appearance of objects <>; the changes are made before the stack <> appears." My experience is that this is true. Tore > 4. feb. 2021 kl. 23:43 skrev Bob Sneidar via use-livecode : > > Thanks for the response Curry and Tore. > > The reason I clean up at close is because when I open the stack the next time I do not want to remains of what I was doing before to show. It?s a small point but it look cleaner if the first time opening the stack there is nothing in the fields. All attempts to hide the stack then clear it before making it visible have been iffy. > > I guess what I need is a message or series of messages that get generated BEFORE the stack is closed. > > I have this in the only card in my stack: > > on closeStackRequest > resetMainForm > save this stack > pass closeStackRequest ? this has a breakpoint > end closeStackRequest > > I have a breakpoint on the pass statement. When clicking the red dot I get asked if I want to save the stack. For whatever reason, for me the closeStackRequest is NOT getting sent to the current card! > > Bob S > > >> On Feb 4, 2021, at 1:23 PM, Curry Kenworthy via use-livecode wrote: >> >> >> Bob: >> >>> I am trying to clean up my stack (i.e. clear the fields), >>> then save it when I close it >> >> This is a good topic for LiveCode learners; I'm chiming in.... >> >> I often do something similar - but with an important difference: >> I perform cleanup when I save. I do NOT force an auto save. >> (More on that later.) >> >>> BY ANY MEANS. That means by script, by menu OR by clicking the red dot >>> (of for WIN users the red X) in the title bar. >>> I need this to work in the IDE as well as in standalone. >> >> So, let's halt at this point and take inventory of your desires! >> You want to trap at least 3 methods of initiating a close action. >> (Tally: 3) >> >> Furthermore, IDE versus Standalone is an extra complexity. >> I don't like that, but it is the unfortunate reality. >> So I'm accounting for that extra complexity via a "+" designation! >> (Tally: "3+") >> >> Now jumping ahead a bit to make a connection: >> >>> If I use ?CloseStack? instead >> >> Remember our tally of "3+" Actions? >> The word "instead" suggests you're assuming a SINGLE trap. >> >> Everyone here should know my KISS philosophy: less is better. >> 3 birds with one stone is superior; I'm always harping on that. >> But then again, in this case you have 3+ birds! :) >> >> I'd hazard a guess on 2 traps - that's my experience for similar cases. >> (But if one will work, use one.) >> >>> You would think closeStackRequest gets sent when I >>> click the red dot or X. You would be mistaken. >> >> Actually I would NOT be mistaken, as long as we're talking about the X, >> and the stack has been named/saved at least once. Just tested it! >> >> But among the "extra complexity" I mentioned, if the stack is dirty, >> the IDE will trap the close action at the front, BEFORE you get it. >> It can still fire, but AFTER you dance around a bit with the IDE. >> (Important to note that's the IDE; closeStackRequest does respond.) >> >> To succeed in the IDE, you may indeed need to use closeStack. >> But that's probably "with" not "instead" of closeStackRequest! >> >> We can still follow KISS and avoid duplicating code, >> via modularity - the 2 traps can call a common set of code. >> Using params or other means to handle the differences in the 2/3 cases. >> >>> I just want it to be saved. I can force quit if I mess something up. >> >> I DISCOURAGE using a custom auto-save and resorting to force quit. >> If you implement an auto-save, do it very well. >> (And done well, a force-quit would not likely be Plan A for reverting.) >> >> But I encourage cleanup when saving or when closing. I do it constantly. >> It just requires a set of trap(s) that does spring for the 3 actions. >> You're half way there, just think "AND" not "instead" to finish it! >> >> Best wishes, >> >> Curry Kenworthy >> >> Custom Software Development >> "Better Methods, Better Results" >> LiveCode Training and Consulting >> http://livecodeconsulting.com/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Feb 4 17:52:53 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 4 Feb 2021 16:52:53 -0600 Subject: Close Stack Cleanup In-Reply-To: References: Message-ID: <5402cddb-2be7-2b05-9ae2-1a71c1ed2773@hyperactivesw.com> There used to be a gREV* global variable that tracked the dirty status and if the stack was dirty it put up the "do you want to save?" dialog. I can't find it now so something has changed. When it existed, you could toggle that variable via script and the IDE wouldn't bother you. The IDE does pass the closeStackRequest to your stack after it checks the stack status. The docs are correct that you don't get that message when a script closes the stack but you can use closeStack instead; however, first we need to find out where that variable went to. It used to be in the globals pane of the message watcher, and I'd recognize it if I saw it, but I can't remember now what it was. On 2/4/21 12:59 PM, Bob Sneidar via use-livecode wrote: > Hi all. > > I know we have tread this ground before, but I am trying to clean up my stack (i.e. clear the fields), then save it when I close it BY ANY MEANS. That means by script, by menu OR by clicking the red dot (of for WIN users the red X) in the title bar. I need this to work in the IDE as well as in standalone. > > You would think closeStackRequest gets sent when I click the red dot or X. You would be mistaken. > > The dictionary reads, > > The closeStackRequest message is only sent if the request to close a stack is initiated by the user (eg by clicking file -> close in the LiveCode menu). If the request is initiated from a script (eg "close this stack" ) then the closeStackRequest message is not sent. > > Apparently clicking the red dot is not considered, ?initiated by the user.? It ought to be. > > If I use ?CloseStack? instead, I cannot save the stack because a script is currently running, and I do not want to be presented with the dialog to save, do not save, or cancel. I just want it to be saved. I can force quit if I mess something up. > > Bob S > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From matthias_livecode_150811 at m-r-d.de Thu Feb 4 17:56:23 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Thu, 4 Feb 2021 23:56:23 +0100 Subject: Codesigning & notarizing In-Reply-To: References: <1FEF9ED0-9DC7-40DA-94EB-108990CB29C6@gmail.com> <17375DE0-9B39-4768-9515-01C3E34EDEDB@canelasoftware.com> <24AED79E-678A-48E8-989F-F718B1D93E5D@gmail.com> <77B13A1B-C28A-4648-9659-55CCA2B613EF@gmail.com> <14a09d89-2659-0d05-c398-0965bc60b090@researchware.com> Message-ID: <1AD61A79-2FEC-4B96-AF88-6D2C20D673AE@m-r-d.de> Marty, do you experience this problem also with your demo stack and Xcode 11.3? If so, could you create a new standalone from that demo stack and upload it somewhere, so i could download it and try to code sign it here? Btw. Are you code signing for web distribution or Apple store? Regards, - Matthias Rebbe Life Is Too Short For Boring Code > Am 04.02.2021 um 23:28 schrieb Marty Knapp via use-livecode : > > I just updated to Xcode 11.3 and still have the issue. With revzip included, building with 9.6.2 it works fine *until* I codesign - either with the Levure app packager or with AppWrapper (tried versions 3 and 4) As soon as it starts to launch it crashes. If I take out revzip the app will open fine when code signed. > > If rev zip was damaged it would not work in the unsigned app. Anything else that I should check? This is really frustrating. > > Marty > >> On Feb 4, 2021, at 1:09 PM, panagiotis merakos via use-livecode wrote: >> >> Thanks for testing Matthias :) >> >> On Thu, 4 Feb 2021, 23:08 Paul Dupuis via use-livecode, < >> use-livecode at lists.runrev.com> wrote: >> >>> I should have added that we sign with entitlements (the same set LC uses) >>> >>> On 2/4/2021 3:56 PM, panagiotis merakos via use-livecode wrote: >>>> @Marty >>>> >>>> If you have not done it already, it might be worth adding entitlements to >>>> the codesign. >>>> >>>> >>> https://lessons.livecode.com/m/4071/l/1293515-entitlements-for-signed-and-notarized-apps >>>> >>>> I do not think it is the Xcode version that is the problem. I am on >>> Mojave >>>> as well, so I can do a quick test if you send me the standalone that >>>> crashes. Also make sure you attach the stack to the bug report :) >>>> >>>> Kind regards, >>>> Panos >>>> -- >>>> >>>> On Thu, 4 Feb 2021 at 22:47, Paul Dupuis via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> I should add, we're not using Levure. We are using LC9.6.2rc2, we >>>>> codesign via Terminal on Mohave using Xcode 10.2.1 >>>>> >>>>> On 2/4/2021 3:37 PM, Paul Dupuis via use-livecode wrote: >>>>>> FYI - Our App includes the revZIP library. We codesign deep via >>>>>> Terminal command and get no crashes. Codesign, notarize, and staple >>>>>> without problems. >>>>>> >>>>>> >>>>>> On 2/4/2021 2:40 PM, Marty Knapp via use-livecode wrote: >>>>>>> Re: building a standalone in LC 9.6.2 rc2 with the ?Revolution Zip? >>>>>>> library (crashes when codesigned) >>>>>>> >>>>>>> Just filed a bug report on this - 23083 >>>>>>> >>>>>>> Marty >>>>>>> >>>>>>>> On Feb 4, 2021, at 11:25 AM, Marty Knapp >>>>>>>> wrote: >>>>>>>> >>>>>>>> I?ve narrowed this down to the ?Revolution Zip? library. If I leave >>>>>>>> that out of Inclusions, I can build in 9.6.2 and codesign and all is >>>>>>>> well. >>>>>>>> >>>>>>>> marty >>>>>>>> >>>>>>>>> On Feb 3, 2021, at 2:59 PM, Mark Talluto via use-livecode >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>> Hi Marty, >>>>>>>>> >>>>>>>>> My work is with LiveCode 9.6.2 rc2 and Xcode 11.3.1. >>>>>>>>> >>>>>>>>> I have only a cursory understanding of Levure. From what I read, >>>>>>>>> Trevor has methods to codesign and even notarize inside of Levure?s >>>>>>>>> framework. >>>>>>>>> >>>>>>>>> If your testing with a basic stack works as expected, maybe some >>>>>>>>> interaction is happening with the Levure Framework project. I am >>>>>>>>> certain Trevor knows best what may be happening here. >>>>>>>>> >>>>>>>>> When you find out, please post back what you learn. >>>>>>>>> >>>>>>>>> Best regards, >>>>>>>>> >>>>>>>>> Mark Talluto >>>>>>>>> livecloud.io >>>>>>>>> nursenotes.net >>>>>>>>> canelasoftware.com >>>>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Feb 4 18:10:11 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 4 Feb 2021 23:10:11 +0000 Subject: Close Stack Cleanup In-Reply-To: <5402cddb-2be7-2b05-9ae2-1a71c1ed2773@hyperactivesw.com> References: <5402cddb-2be7-2b05-9ae2-1a71c1ed2773@hyperactivesw.com> Message-ID: Thanks for the reply Jacque. I ran the message watcher while clicking the red dot. None of the messages that appear have anything to do with closing the stack. Here?s what I came up with. The closeStackRequest is NOT getting sent to the current card as the dictionary indicates, although the target IS the current card. It DOES get sent to the stack though. So I put this in the stack script and it DOES work with the red dot. on closeStackRequest if the short name of the target is "Main? then ? I have substacks but no other cards called Main dispatch resetMainForm to the target end if save this stack pass closeStackRequest END closeStackRequest Bob S On Feb 4, 2021, at 2:52 PM, J. Landman Gay via use-livecode > wrote: There used to be a gREV* global variable that tracked the dirty status and if the stack was dirty it put up the "do you want to save?" dialog. I can't find it now so something has changed. When it existed, you could toggle that variable via script and the IDE wouldn't bother you. The IDE does pass the closeStackRequest to your stack after it checks the stack status. The docs are correct that you don't get that message when a script closes the stack but you can use closeStack instead; however, first we need to find out where that variable went to. It used to be in the globals pane of the message watcher, and I'd recognize it if I saw it, but I can't remember now what it was. From bobsneidar at iotecdigital.com Thu Feb 4 18:13:39 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 4 Feb 2021 23:13:39 +0000 Subject: Close Stack Cleanup In-Reply-To: References: <0cbbddda-132f-c21c-399b-f360c3d687bc@pair.com> <0EC86D60-8554-4E2B-B502-7BB355D7BD7C@iotecdigital.com> Message-ID: <241942A8-424E-4567-88CE-3CD20CB561CA@iotecdigital.com> It?s my understanding that I am unable to reference objects on a card of a stack in a preOpenStack handler. Referencing an object in the stack opens the stack triggering a race condition which continually triggers preOpenStack. That is from memory though. Bob S On Feb 4, 2021, at 2:50 PM, Tore Nilsen via use-livecode > wrote: Performing the clean up in preOpenStack makes it happen before the stack is visible, at least according to the dictionary. "Unlike openStack <>, preOpenStack handlers <> are executed <> before the stack window <> appears. Because of this, the preOpenStack handler <> is a good place to put code that adjusts the size, position, and appearance of objects <>; the changes are made before the stack <> appears." My experience is that this is true. Tore From curry at pair.com Thu Feb 4 18:17:50 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 4 Feb 2021 18:17:50 -0500 Subject: Close Stack Cleanup In-Reply-To: <9BF6645B-0458-4F09-BBBE-507291904EE3@me.com> References: <9BF6645B-0458-4F09-BBBE-507291904EE3@me.com> Message-ID: <4ca87d08-a2ef-81ea-ae1c-b7ab39b9ec5f@pair.com> Tore: > I do not do any clean up at closing time. Instead I execute > the necessary routines as part of a preOpenStack handler. > I then do not have to consider which way the stack was closed. Yes! Like you, for cleanup I also avoid that how-closed consideration. Much easier to have a simpler single trap. Yet I ALSO avoid saving user/test data! That keeps my files smaller in their saved state. And if opened with messages off, still cleaner.... Bob: > when I open the stack the next time I do not want to > remains of what I was doing before to show. You can! Several routes to choose. Presenting the easiest. Me again: > I perform cleanup when I save. In other words, try saveStackRequest! Don't "save" with your own code; let LC IDE do that. Just perform your cleanup, then pass. That way your cleaned-up stack is reliably saved. You get the best of both - simple trap, reliable. (However, your original method would work - if you finish it! And while typing this, I see you already made progress; that's good.) Tore again: > By keeping it modular, the clean up script can also > be started from other handlers if necessary. Agreed! Modularity increases performance, maintainability, and freedom. Can't stress this enough. Me again: Don't think "clean up and save." Keep the twain separate. I choose when to save, it's a conscious choice, and it fires my cleanup. My stack is almost always saved clean. Moreover I'm in the habit of saving (and backing up) BEFORE closing. Habits are so important - they avoid needless suffering. If I do forget my habit, the IDE will prompt me to save. So I'm still OK - because I haven't disabled the system. It's my backup. Nor do I rely primarily on that system. It's my backup. ;) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From bobsneidar at iotecdigital.com Thu Feb 4 18:28:55 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 4 Feb 2021 23:28:55 +0000 Subject: Close Stack Cleanup In-Reply-To: <4ca87d08-a2ef-81ea-ae1c-b7ab39b9ec5f@pair.com> References: <9BF6645B-0458-4F09-BBBE-507291904EE3@me.com> <4ca87d08-a2ef-81ea-ae1c-b7ab39b9ec5f@pair.com> Message-ID: <2E58B380-9EDF-4A64-8849-35426ABBE1BD@iotecdigital.com> Thanks Curry. That works for the IDE, but not for the standalone. End Users do not save their stacks, as I give them no way to do so. The stacks in my app perform two functions: An interface to control the app and also a place to store persistent data i.e. properties. If a user force-quits my app for any reason, saving upon closing a sub stack ensures those updated properties are retained. I could test for the IDE I know, but for my purposes, having lost so much form modifications in the past due to some kind of race condition or IDE lock up, I auto-save regularly, not just when I close a stack. As an aside, this is what was slowing my Windows Standalones down so much. It has been well documented that the performance of saving a stack (especially one as complex as mine) in Windows is fairly oppressive. In a Windows Standalone I have to trap most of the times I save a stack, allowing only for saving upon close. Bob S On Feb 4, 2021, at 3:17 PM, Curry Kenworthy via use-livecode > wrote: Me again: Don't think "clean up and save." Keep the twain separate. I choose when to save, it's a conscious choice, and it fires my cleanup. My stack is almost always saved clean. From bobsneidar at iotecdigital.com Thu Feb 4 18:48:06 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 4 Feb 2021 23:48:06 +0000 Subject: Close Stack Cleanup In-Reply-To: References: <5402cddb-2be7-2b05-9ae2-1a71c1ed2773@hyperactivesw.com> Message-ID: <4E872214-2DAE-4CA4-9D81-38F151ED6257@iotecdigital.com> Back to the drawing board. This does NOT work when clicking the red dot. Bob S On Feb 4, 2021, at 3:10 PM, Bob Sneidar via use-livecode > wrote: Thanks for the reply Jacque. I ran the message watcher while clicking the red dot. None of the messages that appear have anything to do with closing the stack. Here?s what I came up with. The closeStackRequest is NOT getting sent to the current card as the dictionary indicates, although the target IS the current card. It DOES get sent to the stack though. So I put this in the stack script and it DOES work with the red dot. on closeStackRequest if the short name of the target is "Main? then ? I have substacks but no other cards called Main dispatch resetMainForm to the target end if save this stack pass closeStackRequest END closeStackRequest Bob S From rdimola at evergreeninfo.net Thu Feb 4 18:53:54 2021 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 4 Feb 2021 18:53:54 -0500 Subject: Close Stack Cleanup In-Reply-To: <5402cddb-2be7-2b05-9ae2-1a71c1ed2773@hyperactivesw.com> References: <5402cddb-2be7-2b05-9ae2-1a71c1ed2773@hyperactivesw.com> Message-ID: <004201d6fb51$0233a4b0$069aee10$@net> Is this what you're looking for? revIDESetEdited pStackName revIDESetUnedited pStackName Interrogate it with: revIDEStackIsEdited pStackName Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay via use-livecode Sent: Thursday, February 04, 2021 5:53 PM To: How to use LiveCode Cc: J. Landman Gay Subject: Re: Close Stack Cleanup There used to be a gREV* global variable that tracked the dirty status and if the stack was dirty it put up the "do you want to save?" dialog. I can't find it now so something has changed. When it existed, you could toggle that variable via script and the IDE wouldn't bother you. The IDE does pass the closeStackRequest to your stack after it checks the stack status. The docs are correct that you don't get that message when a script closes the stack but you can use closeStack instead; however, first we need to find out where that variable went to. It used to be in the globals pane of the message watcher, and I'd recognize it if I saw it, but I can't remember now what it was. On 2/4/21 12:59 PM, Bob Sneidar via use-livecode wrote: > Hi all. > > I know we have tread this ground before, but I am trying to clean up my stack (i.e. clear the fields), then save it when I close it BY ANY MEANS. That means by script, by menu OR by clicking the red dot (of for WIN users the red X) in the title bar. I need this to work in the IDE as well as in standalone. > > You would think closeStackRequest gets sent when I click the red dot or X. You would be mistaken. > > The dictionary reads, > > The closeStackRequest message is only sent if the request to close a stack is initiated by the user (eg by clicking file -> close in the LiveCode menu). If the request is initiated from a script (eg "close this stack" ) then the closeStackRequest message is not sent. > > Apparently clicking the red dot is not considered, ?initiated by the user.? It ought to be. > > If I use ?CloseStack? instead, I cannot save the stack because a script is currently running, and I do not want to be presented with the dialog to save, do not save, or cancel. I just want it to be saved. I can force quit if I mess something up. > > Bob S > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Feb 4 19:05:30 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 5 Feb 2021 00:05:30 +0000 Subject: Close Stack Cleanup In-Reply-To: <004201d6fb51$0233a4b0$069aee10$@net> References: <5402cddb-2be7-2b05-9ae2-1a71c1ed2773@hyperactivesw.com> <004201d6fb51$0233a4b0$069aee10$@net> Message-ID: <92522653-D78C-44A7-A7DE-D8E49FC4B43C@iotecdigital.com> Thanks Ralph. Actually what I am looking for is a message that gets sent when the close button of a window gets clicked. The Message Watcher seems to indicate not (or rather fails to indicate). I think this is a bug, or at least an oversight. This means that anyone can close a stack, and closeStackRequest will not get triggered. This seems contrary to what closeStackRequest is for. I will submit a feature request, but I suspect it?s going to be low on the totem pole. Bob S On Feb 4, 2021, at 3:53 PM, Ralph DiMola via use-livecode > wrote: Is this what you're looking for? revIDESetEdited pStackName revIDESetUnedited pStackName Interrogate it with: revIDEStackIsEdited pStackName Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From bobsneidar at iotecdigital.com Thu Feb 4 19:19:43 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 5 Feb 2021 00:19:43 +0000 Subject: Close Stack Cleanup In-Reply-To: <92522653-D78C-44A7-A7DE-D8E49FC4B43C@iotecdigital.com> References: <5402cddb-2be7-2b05-9ae2-1a71c1ed2773@hyperactivesw.com> <004201d6fb51$0233a4b0$069aee10$@net> <92522653-D78C-44A7-A7DE-D8E49FC4B43C@iotecdigital.com> Message-ID: <1B0A2BE5-2FBE-4432-9CFE-F69B5A7772B3@iotecdigital.com> NVM I found this bug has already been submitted? IN 2008! LOL! https://quality.livecode.com/show_bug.cgi?id=4617 Hey Kevin! Bob S On Feb 4, 2021, at 4:05 PM, Bob Sneidar via use-livecode > wrote: Thanks Ralph. Actually what I am looking for is a message that gets sent when the close button of a window gets clicked. The Message Watcher seems to indicate not (or rather fails to indicate). I think this is a bug, or at least an oversight. This means that anyone can close a stack, and closeStackRequest will not get triggered. This seems contrary to what closeStackRequest is for. I will submit a feature request, but I suspect it?s going to be low on the totem pole. Bob S From ahsoftware at sonic.net Thu Feb 4 20:22:43 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 4 Feb 2021 17:22:43 -0800 Subject: Close Stack Cleanup In-Reply-To: <1B0A2BE5-2FBE-4432-9CFE-F69B5A7772B3@iotecdigital.com> References: <5402cddb-2be7-2b05-9ae2-1a71c1ed2773@hyperactivesw.com> <004201d6fb51$0233a4b0$069aee10$@net> <92522653-D78C-44A7-A7DE-D8E49FC4B43C@iotecdigital.com> <1B0A2BE5-2FBE-4432-9CFE-F69B5A7772B3@iotecdigital.com> Message-ID: On 2/4/21 4:19 PM, Bob Sneidar via use-livecode wrote: > NVM I found this bug has already been submitted? IN 2008! LOL! https://quality.livecode.com/show_bug.cgi?id=4617 Hey Kevin! Looking at that, here's a (completely untested) suggestion: The revIDEHandleCloseStackRequest handler is in the IDE backscript, so it's ready to be overridden. If you don't override it then it executes a revSaveCheck before moving on. If you override this command then you might get what you want. ...at the risk of losing data... so maybe in your stack script you have: on revIDEHandleCloseStackRequest return "pass" end revIDEHandleCloseStackRequest That said, I agree with others that this isn't a Good Idea, and a cleaning routine in preOpenStack would do the trick nicely. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Thu Feb 4 20:33:51 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 04 Feb 2021 19:33:51 -0600 Subject: Close Stack Cleanup In-Reply-To: <004201d6fb51$0233a4b0$069aee10$@net> References: <5402cddb-2be7-2b05-9ae2-1a71c1ed2773@hyperactivesw.com> <004201d6fb51$0233a4b0$069aee10$@net> Message-ID: <1776fd2f018.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> That looks like it would work though it isn't the variable I remember. Probably that's what changed. Nice sleuthing. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 4, 2021 5:52:14 PM Ralph DiMola via use-livecode wrote: > Is this what you're looking for? > > revIDESetEdited pStackName > revIDESetUnedited pStackName > > Interrogate it with: revIDEStackIsEdited pStackName > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of J. Landman Gay via use-livecode > Sent: Thursday, February 04, 2021 5:53 PM > To: How to use LiveCode > Cc: J. Landman Gay > Subject: Re: Close Stack Cleanup > > There used to be a gREV* global variable that tracked the dirty status and > if the stack was dirty it put up the "do you want to save?" dialog. I can't > find it now so something has changed. When it existed, you could toggle > that variable via script and the IDE wouldn't bother you. > > The IDE does pass the closeStackRequest to your stack after it checks the > stack status. The docs are correct that you don't get that message when a > script closes the stack but you can use closeStack instead; however, first > we need to find out where that variable went to. It used to be in the > globals pane of the message watcher, and I'd recognize it if I saw it, but > I can't remember now what it was. > > On 2/4/21 12:59 PM, Bob Sneidar via use-livecode wrote: >> Hi all. >> >> I know we have tread this ground before, but I am trying to clean up my >> stack (i.e. clear the fields), then save it when I close it BY ANY MEANS. >> That means by script, by menu OR by clicking the red dot (of for WIN users >> the red X) in the title bar. I need this to work in the IDE as well as in >> standalone. >> >> You would think closeStackRequest gets sent when I click the red dot or X. >> You would be mistaken. >> >> The dictionary reads, >> >> The closeStackRequest message is only sent if the request to close a stack >> is initiated by the user (eg by clicking file -> close in the LiveCode >> menu). If the request is initiated from a script (eg "close this stack" ) >> then the closeStackRequest message is not sent. >> >> Apparently clicking the red dot is not considered, ?initiated by the user.? >> It ought to be. >> >> If I use ?CloseStack? instead, I cannot save the stack because a script is >> currently running, and I do not want to be presented with the dialog to >> save, do not save, or cancel. I just want it to be saved. I can force quit >> if I mess something up. >> >> Bob S >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Feb 4 20:36:34 2021 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 04 Feb 2021 19:36:34 -0600 Subject: Close Stack Cleanup In-Reply-To: <92522653-D78C-44A7-A7DE-D8E49FC4B43C@iotecdigital.com> References: <5402cddb-2be7-2b05-9ae2-1a71c1ed2773@hyperactivesw.com> <004201d6fb51$0233a4b0$069aee10$@net> <92522653-D78C-44A7-A7DE-D8E49FC4B43C@iotecdigital.com> Message-ID: <1776fd568e8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> I did a test before answering and the message was sent to the card of my otherwise blank stack, after dismissing the IDE dialog. That makes me think something is going on with your particular stack. What happens if you try it with a plain new stack? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On February 4, 2021 6:07:32 PM Bob Sneidar via use-livecode wrote: > Thanks Ralph. Actually what I am looking for is a message that gets sent > when the close button of a window gets clicked. The Message Watcher seems > to indicate not (or rather fails to indicate). I think this is a bug, or at > least an oversight. This means that anyone can close a stack, and > closeStackRequest will not get triggered. This seems contrary to what > closeStackRequest is for. > > I will submit a feature request, but I suspect it?s going to be low on the > totem pole. > > Bob S > > > On Feb 4, 2021, at 3:53 PM, Ralph DiMola via use-livecode > > wrote: > > Is this what you're looking for? > > revIDESetEdited pStackName > revIDESetUnedited pStackName > > Interrogate it with: revIDEStackIsEdited pStackName > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Thu Feb 4 21:33:17 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 4 Feb 2021 21:33:17 -0500 Subject: Close Stack Cleanup In-Reply-To: References: Message-ID: <378562a1-99c3-6e02-452a-6e6e1d31e22d@pair.com> Mark: > I agree with others that this isn't a Good Idea, > and a cleaning routine in preOpenStack would do the trick nicely. Amen, Brother Mark! Good Idea to avoid Bad Habits. (Agreed, except a small but crucial difference in details....) As Tore said: > execute the necessary routines as part of a preOpenStack handler Again, with a small but important difference: The preOpenStack handler is NOT ideal for this type of cleanup. "Literally, to "clear the fields" of a stack." (And now we also know, a "complex" stack.) That is NOT something best done in preOpenStack. A complex stack usually has multiple cards. The user is going from one card to the other - perhaps more than once. You need this type of cleanup triggered by preOpenCard! Whereas preOpenStack and startup are better for general init. Keep it modular; preOpenCard and Clear Form can call the same code. (You both already probably know that and do it. Just making an explicit point for other readers who are learning. People always tell me things they read here! They take it to heart.) If you clean up fields in preOpenCard, you're ready for the end user. But your saved stack may be very BLOATED at times! Large amount data in a field, image, etc. (And yes, in these days of interim-capacity SSDs, disk space matters. Your stack will also be saved in a more cluttered state.) To solve that easily, as I've said: use saveStackRequest! That way your stack is SAVED clean and non-bloated. You can freely test larger data samples. Stacks are small for sharing within your dev team. Your users will NEVER see your test data entries. (Even if a preOpenX handler fails due to runtime bug, which I've seen happen fairly often in stacks people make! Potential embarrassments automatically averted.) It's also perfect for simpler stacks with one card. Bob: > Back to the drawing board. Not if you take the advice of myself and others! Proven solutions, well-tested over time, reliable, that work TODAY. (But I do like the IDE bug report; the IDE tramples some messages.) Good topic! People will learn from it. Thanks for starting it. Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From ahsoftware at sonic.net Thu Feb 4 21:55:49 2021 From: ahsoftware at sonic.net (Mark Wieder) Date: Thu, 4 Feb 2021 18:55:49 -0800 Subject: Close Stack Cleanup In-Reply-To: <378562a1-99c3-6e02-452a-6e6e1d31e22d@pair.com> References: <378562a1-99c3-6e02-452a-6e6e1d31e22d@pair.com> Message-ID: <6e74c55c-c514-3c6b-21e5-0e3c98435286@sonic.net> On 2/4/21 6:33 PM, Curry Kenworthy via use-livecode wrote: > The preOpenStack handler is NOT ideal for this type of cleanup. > "Literally, to "clear the fields" of a stack." > (And now we also know, a "complex" stack.) > That is NOT something best done in preOpenStack. > > A complex stack usually has multiple cards. > The user is going from one card to the other - perhaps more than once. > You need this type of cleanup triggered by preOpenCard! > Whereas preOpenStack and startup are better for general init. > Keep it modular; preOpenCard and Clear Form can call the same code. Ah... quite right. I do stand corrected there. -- Mark Wieder ahsoftware at gmail.com From curry at pair.com Thu Feb 4 23:54:16 2021 From: curry at pair.com (Curry Kenworthy) Date: Thu, 4 Feb 2021 23:54:16 -0500 Subject: Double sided PDF Problem In-Reply-To: References: Message-ID: <896a73d7-1f89-7aeb-d940-b007ad39908e@pair.com> Richard: > they still offer a business card size with rounded corners - > I'm taking it as a challenge to bring the card content > down to just the essentials. ;) > https://www.avery.com/products/cards/88220 Thanks for that link - good idea! Mini cards look great. I doubt my own hands can manipulate that small size, though. Maybe I'll use printed labels on blank playing cards for creative stage. Then order the final design from a pro printing service. Paul: > I currently work for the company that owns that brand. That's neat! I enjoyed your comments. BTW, encourage 'em to restock some products like #4785! (COVID may have increased the need for both DIY games and Ed, right?) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From lists at mangomultimedia.com Fri Feb 5 00:04:02 2021 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 4 Feb 2021 23:04:02 -0600 Subject: Smooth scrolling In-Reply-To: <1c73ffac-f1ce-f26f-9808-7d6abf31d559@fourthworld.com> References: <1c73ffac-f1ce-f26f-9808-7d6abf31d559@fourthworld.com> Message-ID: On Tue, Feb 2, 2021 at 4:25 PM Richard Gaskin via use-livecode < use-livecode at lists.runrev.com> wrote: > JeeJeeStudio wrote: > > > Panos wrote: > >> This bug report contains a workaround for smooth scrolling - hope it > >> helps. > >> https://quality.livecode.com/show_bug.cgi?id=19759 > > > > > > Maybe it's me but i don't see any difference in scrolling between the > > left and right on win10 > > The original description of the problem here lacks specificity. It's not > just any scrolling that is affected, but scrolling that happens in > response to a scroll wheel or trackpad gestures. > > The script Panos posted in the bug report has two gradations of scroll > increment, based on the interval between keydown messages corresponding > to the scroll wheel/trackpad gesture. > I came across this thread and thought I would add an additional comment. The scrolling can be improved further by using the scroll event values provided by the operating system. On macOS it is simple enough to get the true scroll values from the scroll event using NSEvent.scrollingDeltaX and NSEvent.scrollingDeltaY. It is possible to get those values using LCB as demonstrated in the mac_scroll_wheel.lcb extension that is included with the DataView control I've made available. Here is a link to the source code: https://github.com/trevordevore/levurehelper-dataview/blob/develop/mac_scroll_wheel.lcb Anyone who is interested and running macOS can download the compiled version of the extension and test it out in the sample stack. 1) Visit the following link and click the "Download" button https://github.com/trevordevore/levurehelper-dataview/blob/develop/mac_scroll_wheel.lcm 2) Then run this in the Message Box and select the .lcm file to load it: answer file "Select Extension";load extension from file it;put the result 3) Add this script to any field you want to test with: on rawKeyDown pKey if pKey = "65308" or pKey = "65309" then set the vscroll of me to the vscroll of me - item 2 of macCurrentEventScrollValues(the effective linesize of me) else pass rawKeyDown end if end rawKeyDown On my computer I see the best results in the test stack from the bug report using this method. Ideally any engine improvements would tap into the scroll wheel values provided by the OS. -- Trevor DeVore ScreenSteps From Bernd.Niggemann at uni-wh.de Fri Feb 5 05:09:12 2021 From: Bernd.Niggemann at uni-wh.de (Niggemann, Bernd) Date: Fri, 5 Feb 2021 10:09:12 +0000 Subject: Smooth scrolling Message-ID: > Trevor wrote > > On macOS it is simple enough to get the true scroll values from the scroll > event using NSEvent.scrollingDeltaX and NSEvent.scrollingDeltaY. It is > possible to get those values using LCB as demonstrated in the > mac_scroll_wheel.lcb extension that is included with the DataView control > I've made available. Here is a link to the source code: > > https://github.com/trevordevore/levurehelper-dataview/blob/develop/mac_scroll_wheel.lcb > ..... > Ideally any engine improvements would tap into the > scroll wheel values provided by the OS. Thank you Trevor for making this available. After testing your library i realize what an improvement it is. And I agree that "ideally any engine improvents would tap into the scroll wheel values provided by the OS" I don't see any difference regarding lineSize. Maybe "ObjC_NSEventHasPreciseScrollingDeltas" is true. Anyway in the comments of the LCB file you mention "row height" Do you mean "effectiv lineSize" (synonym of borderSize) or "effective textHeight"? I added hScroll to your script (again this is Mac only and needs Trevor's library installed) ------------------------------------------- on rawKeyDown pKey -- if the optionKey is down then pass rawKeyDown -- just to test scrolling of LC and library if pKey = "65308" or pKey = "65309" then set the vscroll of me to the vscroll of me \ - item 2 of macCurrentEventScrollValues(the effective linesize of me) else if pKey is in "65310,65311" and the hScrollbar of me then set the hscroll of me to the hscroll of me \ - item 1 of macCurrentEventScrollValues(the effective linesize of me) else pass rawKeyDown end if end rawKeyDown -------------------------------------------- Kind regards Bernd From bobsneidar at iotecdigital.com Fri Feb 5 14:19:26 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 5 Feb 2021 19:19:26 +0000 Subject: Close Stack Cleanup In-Reply-To: <6e74c55c-c514-3c6b-21e5-0e3c98435286@sonic.net> References: <378562a1-99c3-6e02-452a-6e6e1d31e22d@pair.com> <6e74c55c-c514-3c6b-21e5-0e3c98435286@sonic.net> Message-ID: Thanks all for your suggestions. I will try various methods. As to the propriety of certain methods, I suppose in answer to why do it that way, to quote another thread, ?Because we can!? :-) Bob S From bobsneidar at iotecdigital.com Fri Feb 5 14:22:50 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 5 Feb 2021 19:22:50 +0000 Subject: Close Stack Cleanup In-Reply-To: <1776fd568e8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> References: <5402cddb-2be7-2b05-9ae2-1a71c1ed2773@hyperactivesw.com> <004201d6fb51$0233a4b0$069aee10$@net> <92522653-D78C-44A7-A7DE-D8E49FC4B43C@iotecdigital.com> <1776fd568e8.27a5.5e131b4e58299f54a9f0b9c05d4f07f9@hyperactivesw.com> Message-ID: Not sure. If the stack is ?dirty? I get the save dialog BEFORE closeStackRequest, which is what I am trying to avoid. To others, I know this is not a good idea in general, but since there have been at least 2 versions that were unstable that crash to desktops were not uncommon, and after losing so much data, I save frequently, and auto save whenever I close a sub stack. Bob S On Feb 4, 2021, at 5:36 PM, J. Landman Gay via use-livecode > wrote: I did a test before answering and the message was sent to the card of my otherwise blank stack, after dismissing the IDE dialog. That makes me think something is going on with your particular stack. What happens if you try it with a plain new stack? -- Jacqueline Landman Gay | jacque at hyperactivesw.com From bobsneidar at iotecdigital.com Fri Feb 5 14:28:55 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 5 Feb 2021 19:28:55 +0000 Subject: Close Stack Cleanup In-Reply-To: References: <5402cddb-2be7-2b05-9ae2-1a71c1ed2773@hyperactivesw.com> <004201d6fb51$0233a4b0$069aee10$@net> <92522653-D78C-44A7-A7DE-D8E49FC4B43C@iotecdigital.com> <1B0A2BE5-2FBE-4432-9CFE-F69B5A7772B3@iotecdigital.com> Message-ID: <6AE89C6E-709A-4113-82F6-4CA7D4C5F844@iotecdigital.com> Nice try but sadly it does not work. The message does not even get sent to the stack script. Bob S On Feb 4, 2021, at 5:22 PM, Mark Wieder via use-livecode > wrote: On 2/4/21 4:19 PM, Bob Sneidar via use-livecode wrote: NVM I found this bug has already been submitted? IN 2008! LOL! https://quality.livecode.com/show_bug.cgi?id=4617 Hey Kevin! Looking at that, here's a (completely untested) suggestion: The revIDEHandleCloseStackRequest handler is in the IDE backscript, so it's ready to be overridden. If you don't override it then it executes a revSaveCheck before moving on. If you override this command then you might get what you want. ...at the risk of losing data... so maybe in your stack script you have: on revIDEHandleCloseStackRequest return "pass" end revIDEHandleCloseStackRequest That said, I agree with others that this isn't a Good Idea, and a cleaning routine in preOpenStack would do the trick nicely. -- Mark Wieder ahsoftware at gmail.com From martyknappster at gmail.com Fri Feb 5 15:24:50 2021 From: martyknappster at gmail.com (Marty Knapp) Date: Fri, 5 Feb 2021 12:24:50 -0800 Subject: Codesigning & notarizing In-Reply-To: References: <1FEF9ED0-9DC7-40DA-94EB-108990CB29C6@gmail.com> <17375DE0-9B39-4768-9515-01C3E34EDEDB@canelasoftware.com> <24AED79E-678A-48E8-989F-F718B1D93E5D@gmail.com> <77B13A1B-C28A-4648-9659-55CCA2B613EF@gmail.com> <14a09d89-2659-0d05-c398-0965bc60b090@researchware.com> Message-ID: After much hair pulling and some help from Matthias I seem to have this solved. It appears that starting with LC 9.6.2 ?entitlements? are needed even for web deployment (at least in the case of including revzip). The really weird part of this was if I swapped in the revzip bundle from 9.6.1 after building the standalone then entitlements were not needed. So for anyone else who runs into this, you can use the same entitlements that Livecode uses (in an entitlements.plist file): com.apple.security.cs.allow-jit com.apple.security.cs.allow-unsigned-executable-memory com.apple.security.cs.allow-dyld-environment-variables com.apple.security.cs.disable-library-validation com.apple.security.cs.disable-executable-page-protection com.apple.security.device.audio-input com.apple.security.device.camera com.apple.security.personal-information.location com.apple.security.personal-information.addressbook com.apple.security.personal-information.photos-library com.apple.security.automation.apple-events In Levure I used the same data above but saved into a ?my app name.entitlements? file and then configured the app.yml file appropriately In AppWrapper you need to set the the following under Hardened Runtime: Allow Execution of JIT-complied code Allow Unsigned executable memory Allow DYLD environment variables Disable library validation Disable executable memory protection Marty > On Feb 4, 2021, at 2:28 PM, Marty Knapp wrote: > > I just updated to Xcode 11.3 and still have the issue. With revzip included, building with 9.6.2 it works fine *until* I codesign - either with the Levure app packager or with AppWrapper (tried versions 3 and 4) As soon as it starts to launch it crashes. If I take out revzip the app will open fine when code signed. > > If rev zip was damaged it would not work in the unsigned app. Anything else that I should check? This is really frustrating. > > Marty > >> On Feb 4, 2021, at 1:09 PM, panagiotis merakos via use-livecode wrote: >> >> Thanks for testing Matthias :) >> >> On Thu, 4 Feb 2021, 23:08 Paul Dupuis via use-livecode, < >> use-livecode at lists.runrev.com> wrote: >> >>> I should have added that we sign with entitlements (the same set LC uses) >>> >>> On 2/4/2021 3:56 PM, panagiotis merakos via use-livecode wrote: >>>> @Marty >>>> >>>> If you have not done it already, it might be worth adding entitlements to >>>> the codesign. >>>> >>>> >>> https://lessons.livecode.com/m/4071/l/1293515-entitlements-for-signed-and-notarized-apps >>>> >>>> I do not think it is the Xcode version that is the problem. I am on >>> Mojave >>>> as well, so I can do a quick test if you send me the standalone that >>>> crashes. Also make sure you attach the stack to the bug report :) >>>> >>>> Kind regards, >>>> Panos >>>> -- >>>> >>>> On Thu, 4 Feb 2021 at 22:47, Paul Dupuis via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> I should add, we're not using Levure. We are using LC9.6.2rc2, we >>>>> codesign via Terminal on Mohave using Xcode 10.2.1 >>>>> >>>>> On 2/4/2021 3:37 PM, Paul Dupuis via use-livecode wrote: >>>>>> FYI - Our App includes the revZIP library. We codesign deep via >>>>>> Terminal command and get no crashes. Codesign, notarize, and staple >>>>>> without problems. >>>>>> >>>>>> >>>>>> On 2/4/2021 2:40 PM, Marty Knapp via use-livecode wrote: >>>>>>> Re: building a standalone in LC 9.6.2 rc2 with the ?Revolution Zip? >>>>>>> library (crashes when codesigned) >>>>>>> >>>>>>> Just filed a bug report on this - 23083 >>>>>>> >>>>>>> Marty >>>>>>> >>>>>>>> On Feb 4, 2021, at 11:25 AM, Marty Knapp >>>>>>>> wrote: >>>>>>>> >>>>>>>> I?ve narrowed this down to the ?Revolution Zip? library. If I leave >>>>>>>> that out of Inclusions, I can build in 9.6.2 and codesign and all is >>>>>>>> well. >>>>>>>> >>>>>>>> marty >>>>>>>> >>>>>>>>> On Feb 3, 2021, at 2:59 PM, Mark Talluto via use-livecode >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>> Hi Marty, >>>>>>>>> >>>>>>>>> My work is with LiveCode 9.6.2 rc2 and Xcode 11.3.1. >>>>>>>>> >>>>>>>>> I have only a cursory understanding of Levure. From what I read, >>>>>>>>> Trevor has methods to codesign and even notarize inside of Levure?s >>>>>>>>> framework. >>>>>>>>> >>>>>>>>> If your testing with a basic stack works as expected, maybe some >>>>>>>>> interaction is happening with the Levure Framework project. I am >>>>>>>>> certain Trevor knows best what may be happening here. >>>>>>>>> >>>>>>>>> When you find out, please post back what you learn. >>>>>>>>> >>>>>>>>> Best regards, >>>>>>>>> >>>>>>>>> Mark Talluto >>>>>>>>> livecloud.io >>>>>>>>> nursenotes.net >>>>>>>>> canelasoftware.com >>>>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From lists at mangomultimedia.com Fri Feb 5 16:57:42 2021 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 5 Feb 2021 15:57:42 -0600 Subject: Smooth scrolling In-Reply-To: References: Message-ID: On Fri, Feb 5, 2021 at 4:10 AM Niggemann, Bernd via use-livecode < use-livecode at lists.runrev.com> wrote: > Thank you Trevor for making this available. After testing your library i > realize what an improvement it is. > And I agree that "ideally any engine improvents would tap into the scroll > wheel values provided by the OS" > > I don't see any difference regarding lineSize. Maybe > "ObjC_NSEventHasPreciseScrollingDeltas" is true. > Anyway in the comments of the LCB file you mention "row height" > Do you mean "effectiv lineSize" (synonym of borderSize) or "effective > textHeight"? > Hi Bernd, Glad you like it. I originally wrote the extension for use with the DataView (a more modern DataGrid) which has a "row" concept rather than a "line" concept. I hadn't applied it to fields before putting together the test yesterday. You are correct, if should be `textHeight`, not `lineSize`, in the script. > I added hScroll to your script (again this is Mac only and needs Trevor's > library installed) > > ------------------------------------------- > on rawKeyDown pKey > -- if the optionKey is down then pass rawKeyDown -- just to test > scrolling of LC and library > if pKey = "65308" or pKey = "65309" then > set the vscroll of me to the vscroll of me \ > - item 2 of macCurrentEventScrollValues(the effective linesize of > me) > else if pKey is in "65310,65311" and the hScrollbar of me then > set the hscroll of me to the hscroll of me \ > - item 1 of macCurrentEventScrollValues(the effective linesize of me) > else > pass rawKeyDown > end if > end rawKeyDown > -------------------------------------------- > Nice addition! -- Trevor DeVore ScreenSteps www.screensteps.com From lists at mangomultimedia.com Fri Feb 5 17:00:15 2021 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 5 Feb 2021 16:00:15 -0600 Subject: Codesigning & notarizing In-Reply-To: References: <1FEF9ED0-9DC7-40DA-94EB-108990CB29C6@gmail.com> <17375DE0-9B39-4768-9515-01C3E34EDEDB@canelasoftware.com> <24AED79E-678A-48E8-989F-F718B1D93E5D@gmail.com> <77B13A1B-C28A-4648-9659-55CCA2B613EF@gmail.com> <14a09d89-2659-0d05-c398-0965bc60b090@researchware.com> Message-ID: On Fri, Feb 5, 2021 at 2:25 PM Marty Knapp via use-livecode < use-livecode at lists.runrev.com> wrote: > After much hair pulling and some help from Matthias I seem to have this > solved. It appears that starting with LC 9.6.2 ?entitlements? are needed > even for web deployment (at least in the case of including revzip). The > really weird part of this was if I swapped in the revzip bundle from 9.6.1 > after building the standalone then entitlements were not needed. > > So for anyone else who runs into this, you can use the same entitlements > that Livecode uses (in an entitlements.plist file): > Thanks for sharing Marty. I wonder if this is why I was having SSL issues with the standalone I built with 9.6.2? I'll play around with the entitlements and see if that fixes it. -- Trevor DeVore ScreenSteps www.screensteps.com From matthias_livecode_150811 at m-r-d.de Fri Feb 5 18:59:55 2021 From: matthias_livecode_150811 at m-r-d.de (matthias_livecode_150811 at m-r-d.de) Date: Sat, 6 Feb 2021 00:59:55 +0100 Subject: Codesigning & notarizing In-Reply-To: References: <1FEF9ED0-9DC7-40DA-94EB-108990CB29C6@gmail.com> <17375DE0-9B39-4768-9515-01C3E34EDEDB@canelasoftware.com> <24AED79E-678A-48E8-989F-F718B1D93E5D@gmail.com> <77B13A1B-C28A-4648-9659-55CCA2B613EF@gmail.com> <14a09d89-2659-0d05-c398-0965bc60b090@researchware.com> Message-ID: @Marty, Great to hear that you finally got it working. What i do not understand is why the code signed (without entitlements) sample standalone did run w/o crashing here, but on your Macs it crashed, although we are both using the same macOS version. Anyway, using entitlements for code signing is recommended and easy to manage. Matthias - Matthias Rebbe Life Is Too Short For Boring Code > Am 05.02.2021 um 21:24 schrieb Marty Knapp via use-livecode : > > After much hair pulling and some help from Matthias I seem to have this solved. It appears that starting with LC 9.6.2 ?entitlements? are needed even for web deployment (at least in the case of including revzip). The really weird part of this was if I swapped in the revzip bundle from 9.6.1 after building the standalone then entitlements were not needed. > > So for anyone else who runs into this, you can use the same entitlements that Livecode uses (in an entitlements.plist file): > > > com.apple.security.cs.allow-jit > > com.apple.security.cs.allow-unsigned-executable-memory > > com.apple.security.cs.allow-dyld-environment-variables > > com.apple.security.cs.disable-library-validation > > com.apple.security.cs.disable-executable-page-protection > > com.apple.security.device.audio-input > > com.apple.security.device.camera > > com.apple.security.personal-information.location > > com.apple.security.personal-information.addressbook > > com.apple.security.personal-information.photos-library > > com.apple.security.automation.apple-events > > > > In Levure I used the same data above but saved into a ?my app name.entitlements? file and then configured the app.yml file appropriately > > In AppWrapper you need to set the the following under Hardened Runtime: > Allow Execution of JIT-complied code > Allow Unsigned executable memory > Allow DYLD environment variables > Disable library validation > Disable executable memory protection > > Marty > > >> On Feb 4, 2021, at 2:28 PM, Marty Knapp wrote: >> >> I just updated to Xcode 11.3 and still have the issue. With revzip included, building with 9.6.2 it works fine *until* I codesign - either with the Levure app packager or with AppWrapper (tried versions 3 and 4) As soon as it starts to launch it crashes. If I take out revzip the app will open fine when code signed. >> >> If rev zip was damaged it would not work in the unsigned app. Anything else that I should check? This is really frustrating. >> >> Marty >> >>> On Feb 4, 2021, at 1:09 PM, panagiotis merakos via use-livecode wrote: >>> >>> Thanks for testing Matthias :) >>> >>> On Thu, 4 Feb 2021, 23:08 Paul Dupuis via use-livecode, < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> I should have added that we sign with entitlements (the same set LC uses) >>>> >>>> On 2/4/2021 3:56 PM, panagiotis merakos via use-livecode wrote: >>>>> @Marty >>>>> >>>>> If you have not done it already, it might be worth adding entitlements to >>>>> the codesign. >>>>> >>>>> >>>> https://lessons.livecode.com/m/4071/l/1293515-entitlements-for-signed-and-notarized-apps >>>>> >>>>> I do not think it is the Xcode version that is the problem. I am on >>>> Mojave >>>>> as well, so I can do a quick test if you send me the standalone that >>>>> crashes. Also make sure you attach the stack to the bug report :) >>>>> >>>>> Kind regards, >>>>> Panos >>>>> -- >>>>> >>>>> On Thu, 4 Feb 2021 at 22:47, Paul Dupuis via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>> >>>>>> I should add, we're not using Levure. We are using LC9.6.2rc2, we >>>>>> codesign via Terminal on Mohave using Xcode 10.2.1 >>>>>> >>>>>> On 2/4/2021 3:37 PM, Paul Dupuis via use-livecode wrote: >>>>>>> FYI - Our App includes the revZIP library. We codesign deep via >>>>>>> Terminal command and get no crashes. Codesign, notarize, and staple >>>>>>> without problems. >>>>>>> >>>>>>> >>>>>>> On 2/4/2021 2:40 PM, Marty Knapp via use-livecode wrote: >>>>>>>> Re: building a standalone in LC 9.6.2 rc2 with the ?Revolution Zip? >>>>>>>> library (crashes when codesigned) >>>>>>>> >>>>>>>> Just filed a bug report on this - 23083 >>>>>>>> >>>>>>>> Marty >>>>>>>> >>>>>>>>> On Feb 4, 2021, at 11:25 AM, Marty Knapp >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>> I?ve narrowed this down to the ?Revolution Zip? library. If I leave >>>>>>>>> that out of Inclusions, I can build in 9.6.2 and codesign and all is >>>>>>>>> well. >>>>>>>>> >>>>>>>>> marty >>>>>>>>> >>>>>>>>>> On Feb 3, 2021, at 2:59 PM, Mark Talluto via use-livecode >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>> Hi Marty, >>>>>>>>>> >>>>>>>>>> My work is with LiveCode 9.6.2 rc2 and Xcode 11.3.1. >>>>>>>>>> >>>>>>>>>> I have only a cursory understanding of Levure. From what I read, >>>>>>>>>> Trevor has methods to codesign and even notarize inside of Levure?s >>>>>>>>>> framework. >>>>>>>>>> >>>>>>>>>> If your testing with a basic stack works as expected, maybe some >>>>>>>>>> interaction is happening with the Levure Framework project. I am >>>>>>>>>> certain Trevor knows best what may be happening here. >>>>>>>>>> >>>>>>>>>> When you find out, please post back what you learn. >>>>>>>>>> >>>>>>>>>> Best regards, >>>>>>>>>> >>>>>>>>>> Mark Talluto >>>>>>>>>> livecloud.io >>>>>>>>>> nursenotes.net >>>>>>>>>> canelasoftware.com >>>>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>>> subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hakan at exformedia.se Sat Feb 6 01:55:55 2021 From: hakan at exformedia.se (hakan at exformedia.se) Date: Sat, 6 Feb 2021 07:55:55 +0100 Subject: No visual effects on Big Sur? References: Message-ID: <254ad21f-5c20-494e-b565-756d80d3435c@Spark> Running LC 9.6.2 (rc2) on macOS Big Sur I have no visual effects that work. None! Is there anyone else having the same experience, or is it just my setup? I have tried to wipe every RunRev/LiveCode file in the Library and in the applications folder and then reinstall but still no luck. Also tried older (stable versions) with no luck, but that was before wiping every file out of existence. Can anyone else running Big Sur confirm before I file a bug-report? :-H?kan From martyknappster at gmail.com Sat Feb 6 13:03:58 2021 From: martyknappster at gmail.com (Marty Knapp) Date: Sat, 6 Feb 2021 10:03:58 -0800 Subject: No visual effects on Big Sur? In-Reply-To: <254ad21f-5c20-494e-b565-756d80d3435c@Spark> References: <254ad21f-5c20-494e-b565-756d80d3435c@Spark> Message-ID: <08C57667-6E12-47FA-A30E-1E43F6FAC076@gmail.com> Just did a quick test on an LC app that uses visual effects and they are not working for me on Big Sur. Marty > On Feb 5, 2021, at 10:55 PM, H?kan Liljegren via use-livecode wrote: > > Running LC 9.6.2 (rc2) on macOS Big Sur I have no visual effects that work. None! Is there anyone else having the same experience, or is it just my setup? I have tried to wipe every RunRev/LiveCode file in the Library and in the applications folder and then reinstall but still no luck. Also tried older (stable versions) with no luck, but that was before wiping every file out of existence. > > Can anyone else running Big Sur confirm before I file a bug-report? > > :-H?kan From prothero at earthlearningsolutions.org Sat Feb 6 13:16:43 2021 From: prothero at earthlearningsolutions.org (prothero at earthlearningsolutions.org) Date: Sat, 6 Feb 2021 10:16:43 -0800 Subject: No visual effects on Big Sur? In-Reply-To: <254ad21f-5c20-494e-b565-756d80d3435c@Spark> References: <254ad21f-5c20-494e-b565-756d80d3435c@Spark> Message-ID: <903D6452-7AC0-4262-9F0D-56D9F866BEC8@earthlearningsolutions.org> Hakan: I get the same thing. Big Sur, livecode version LC 9.6.2 (rc2). It was working on previous versions. Yes, please file a bug report. Bill > On Feb 5, 2021, at 10:55 PM, H?kan Liljegren via use-livecode wrote: > > Running LC 9.6.2 (rc2) on macOS Big Sur I have no visual effects that work. None! Is there anyone else having the same experience, or is it just my setup? I have tried to wipe every RunRev/LiveCode file in the Library and in the applications folder and then reinstall but still no luck. Also tried older (stable versions) with no luck, but that was before wiping every file out of existence. > > Can anyone else running Big Sur confirm before I file a bug-report? > > :-H?kan > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode William A. Prothero, Ph.D. University of California, Santa Barbara Dept. of Earth Sciences (Emeritus) Santa Barbara, CA. 93105 http://earthlearningsolutions.org/ From sean at pidigital.co.uk Sat Feb 6 23:11:15 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Sun, 7 Feb 2021 04:11:15 +0000 Subject: No visual effects on Big Sur? In-Reply-To: <903D6452-7AC0-4262-9F0D-56D9F866BEC8@earthlearningsolutions.org> References: <254ad21f-5c20-494e-b565-756d80d3435c@Spark> <903D6452-7AC0-4262-9F0D-56D9F866BEC8@earthlearningsolutions.org> Message-ID: Hi all, I just tested here in BigSur 11.2 and they work fine in both the IDE and standalone. The only ones that do not work are the core image transitions (with the exception of dissolve which, although having the same name, does not appear to use the CI version of the effect). I made a simple default stack with one button with this code: on mouseUp pButtonNumber lock screen for visual effect set the backcolor of this card to (line random(552) of colornames()) unlock screen with visual effect "dissolve" end mouseUp The standalone was set with all the default parameters and auto inclusions. Sean On Sat, 6 Feb 2021 at 18:16, prothero--- via use-livecode < use-livecode at lists.runrev.com> wrote: > Hakan: > I get the same thing. Big Sur, livecode version LC 9.6.2 (rc2). It was > working on previous versions. > > Yes, please file a bug report. > > Bill > > > On Feb 5, 2021, at 10:55 PM, H?kan Liljegren via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Running LC 9.6.2 (rc2) on macOS Big Sur I have no visual effects that > work. None! Is there anyone else having the same experience, or is it just > my setup? I have tried to wipe every RunRev/LiveCode file in the Library > and in the applications folder and then reinstall but still no luck. Also > tried older (stable versions) with no luck, but that was before wiping > every file out of existence. > > > > Can anyone else running Big Sur confirm before I file a bug-report? > > > > :-H?kan > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > William A. Prothero, Ph.D. > University of California, Santa Barbara Dept. of Earth Sciences (Emeritus) > Santa Barbara, CA. 93105 > http://earthlearningsolutions.org/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From hakan at exformedia.se Sun Feb 7 08:42:30 2021 From: hakan at exformedia.se (hakan at exformedia.se) Date: Sun, 7 Feb 2021 14:42:30 +0100 Subject: No visual effects on Big Sur? In-Reply-To: References: <254ad21f-5c20-494e-b565-756d80d3435c@Spark> <903D6452-7AC0-4262-9F0D-56D9F866BEC8@earthlearningsolutions.org> Message-ID: <9b4e7e7a-676a-4533-99e5-4bfd19fa8c44@Spark> That is strange. As it worked for you Sean, what machine are you on? But, as we have several of us where it doesn?t work I filed a bug anyway: https://quality.livecode.com/show_bug.cgi?id=23085 :-H?kan On 7 Feb 2021, 05:12 +0100, Sean Cole (Pi) via use-livecode , wrote: > Hi all, > I just tested here in BigSur 11.2 and they work fine in both the IDE and > standalone. The only ones that do not work are the core image transitions > (with the exception of dissolve which, although having the same name, does > not appear to use the CI version of the effect). > > I made a simple default stack with one button with this code: > > on mouseUp pButtonNumber > lock screen for visual effect > set the backcolor of this card to (line random(552) of colornames()) > unlock screen with visual effect "dissolve" > end mouseUp > > The standalone was set with all the default parameters and auto inclusions. > > Sean > > On Sat, 6 Feb 2021 at 18:16, prothero--- via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > Hakan: > > I get the same thing. Big Sur, livecode version LC 9.6.2 (rc2). It was > > working on previous versions. > > > > Yes, please file a bug report. > > > > Bill > > > > > On Feb 5, 2021, at 10:55 PM, H?kan Liljegren via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > > > > Running LC 9.6.2 (rc2) on macOS Big Sur I have no visual effects that > > work. None! Is there anyone else having the same experience, or is it just > > my setup? I have tried to wipe every RunRev/LiveCode file in the Library > > and in the applications folder and then reinstall but still no luck. Also > > tried older (stable versions) with no luck, but that was before wiping > > every file out of existence. > > > > > > Can anyone else running Big Sur confirm before I file a bug-report? > > > > > > :-H?kan > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > William A. Prothero, Ph.D. > > University of California, Santa Barbara Dept. of Earth Sciences (Emeritus) > > Santa Barbara, CA. 93105 > > http://earthlearningsolutions.org/ > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From simon.schvartzman at gmail.com Sun Feb 7 12:34:39 2021 From: simon.schvartzman at gmail.com (Simon Schvartzman) Date: Sun, 7 Feb 2021 14:34:39 -0300 Subject: use-livecode Digest, Vol 209, Issue 10 In-Reply-To: References: Message-ID: <041735D9-8A73-41DC-89BC-A4BA048D9D19@gmail.com> Great idea Simon Schvartzman + 55 11 98432 6293 Sent from my mobile device. > On 7 Feb 2021, at 14:00, use-livecode-request at lists.runrev.com wrote: > > ?Send use-livecode mailing list submissions to > use-livecode at lists.runrev.com > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.runrev.com/mailman/listinfo/use-livecode > or, via email, send a message with subject or body 'help' to > use-livecode-request at lists.runrev.com > > You can reach the person managing the list at > use-livecode-owner at lists.runrev.com > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of use-livecode digest..." > > > you can find the archives for this list at: > > http://lists.runrev.com/pipermail/use-livecode/ > > and search them using this link: > > http://www.google.com/advanced_search?q=site:lists.runrev.com > > > Today's Topics: > > 1. Re: No visual effects on Big Sur? (Marty Knapp) > 2. Re: No visual effects on Big Sur? > (prothero at earthlearningsolutions.org) > 3. Re: No visual effects on Big Sur? (Sean Cole (Pi)) > 4. Re: No visual effects on Big Sur? (hakan at exformedia.se) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 6 Feb 2021 10:03:58 -0800 > From: Marty Knapp > To: How to use LiveCode > Subject: Re: No visual effects on Big Sur? > Message-ID: <08C57667-6E12-47FA-A30E-1E43F6FAC076 at gmail.com> > Content-Type: text/plain; charset=utf-8 > > Just did a quick test on an LC app that uses visual effects and they are not working for me on Big Sur. > > Marty > >> On Feb 5, 2021, at 10:55 PM, H?kan Liljegren via use-livecode wrote: >> >> Running LC 9.6.2 (rc2) on macOS Big Sur I have no visual effects that work. None! Is there anyone else having the same experience, or is it just my setup? I have tried to wipe every RunRev/LiveCode file in the Library and in the applications folder and then reinstall but still no luck. Also tried older (stable versions) with no luck, but that was before wiping every file out of existence. >> >> Can anyone else running Big Sur confirm before I file a bug-report? >> >> :-H?kan > > > > ------------------------------ > > Message: 2 > Date: Sat, 6 Feb 2021 10:16:43 -0800 > From: "prothero at earthlearningsolutions.org" > > To: JJS via use-livecode > Subject: Re: No visual effects on Big Sur? > Message-ID: > <903D6452-7AC0-4262-9F0D-56D9F866BEC8 at earthlearningsolutions.org> > Content-Type: text/plain; charset=utf-8 > > Hakan: > I get the same thing. Big Sur, livecode version LC 9.6.2 (rc2). It was working on previous versions. > > Yes, please file a bug report. > > Bill > >> On Feb 5, 2021, at 10:55 PM, H?kan Liljegren via use-livecode wrote: >> >> Running LC 9.6.2 (rc2) on macOS Big Sur I have no visual effects that work. None! Is there anyone else having the same experience, or is it just my setup? I have tried to wipe every RunRev/LiveCode file in the Library and in the applications folder and then reinstall but still no luck. Also tried older (stable versions) with no luck, but that was before wiping every file out of existence. >> >> Can anyone else running Big Sur confirm before I file a bug-report? >> >> :-H?kan >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > William A. Prothero, Ph.D. > University of California, Santa Barbara Dept. of Earth Sciences (Emeritus) > Santa Barbara, CA. 93105 > http://earthlearningsolutions.org/ > > > > > ------------------------------ > > Message: 3 > Date: Sun, 7 Feb 2021 04:11:15 +0000 > From: "Sean Cole (Pi)" > To: How to use LiveCode > Subject: Re: No visual effects on Big Sur? > Message-ID: > > Content-Type: text/plain; charset="UTF-8" > > Hi all, > I just tested here in BigSur 11.2 and they work fine in both the IDE and > standalone. The only ones that do not work are the core image transitions > (with the exception of dissolve which, although having the same name, does > not appear to use the CI version of the effect). > > I made a simple default stack with one button with this code: > > on mouseUp pButtonNumber > lock screen for visual effect > set the backcolor of this card to (line random(552) of colornames()) > unlock screen with visual effect "dissolve" > end mouseUp > > The standalone was set with all the default parameters and auto inclusions. > > Sean > >> On Sat, 6 Feb 2021 at 18:16, prothero--- via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >> Hakan: >> I get the same thing. Big Sur, livecode version LC 9.6.2 (rc2). It was >> working on previous versions. >> >> Yes, please file a bug report. >> >> Bill >> >>> On Feb 5, 2021, at 10:55 PM, H?kan Liljegren via use-livecode < >> use-livecode at lists.runrev.com> wrote: >>> >>> Running LC 9.6.2 (rc2) on macOS Big Sur I have no visual effects that >> work. None! Is there anyone else having the same experience, or is it just >> my setup? I have tried to wipe every RunRev/LiveCode file in the Library >> and in the applications folder and then reinstall but still no luck. Also >> tried older (stable versions) with no luck, but that was before wiping >> every file out of existence. >>> >>> Can anyone else running Big Sur confirm before I file a bug-report? >>> >>> :-H?kan >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> William A. Prothero, Ph.D. >> University of California, Santa Barbara Dept. of Earth Sciences (Emeritus) >> Santa Barbara, CA. 93105 >> http://earthlearningsolutions.org/ >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > ------------------------------ > > Message: 4 > Date: Sun, 7 Feb 2021 14:42:30 +0100 > From: hakan at exformedia.se > To: How to use LiveCode > Cc: "Sean Cole (Pi)" > Subject: Re: No visual effects on Big Sur? > Message-ID: <9b4e7e7a-676a-4533-99e5-4bfd19fa8c44 at Spark> > Content-Type: text/plain; charset="utf-8" > > That is strange. As it worked for you Sean, what machine are you on? But, as we have several of us where it doesn?t work I filed a bug anyway: > > https://quality.livecode.com/show_bug.cgi?id=23085 > > :-H?kan >> On 7 Feb 2021, 05:12 +0100, Sean Cole (Pi) via use-livecode , wrote: >> Hi all, >> I just tested here in BigSur 11.2 and they work fine in both the IDE and >> standalone. The only ones that do not work are the core image transitions >> (with the exception of dissolve which, although having the same name, does >> not appear to use the CI version of the effect). >> >> I made a simple default stack with one button with this code: >> >> on mouseUp pButtonNumber >> lock screen for visual effect >> set the backcolor of this card to (line random(552) of colornames()) >> unlock screen with visual effect "dissolve" >> end mouseUp >> >> The standalone was set with all the default parameters and auto inclusions. >> >> Sean >> >> On Sat, 6 Feb 2021 at 18:16, prothero--- via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Hakan: >>> I get the same thing. Big Sur, livecode version LC 9.6.2 (rc2). It was >>> working on previous versions. >>> >>> Yes, please file a bug report. >>> >>> Bill >>> >>>> On Feb 5, 2021, at 10:55 PM, H?kan Liljegren via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> >>>> Running LC 9.6.2 (rc2) on macOS Big Sur I have no visual effects that >>> work. None! Is there anyone else having the same experience, or is it just >>> my setup? I have tried to wipe every RunRev/LiveCode file in the Library >>> and in the applications folder and then reinstall but still no luck. Also >>> tried older (stable versions) with no luck, but that was before wiping >>> every file out of existence. >>>> >>>> Can anyone else running Big Sur confirm before I file a bug-report? >>>> >>>> :-H?kan >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> William A. Prothero, Ph.D. >>> University of California, Santa Barbara Dept. of Earth Sciences (Emeritus) >>> Santa Barbara, CA. 93105 >>> http://earthlearningsolutions.org/ >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-livecode > > > ------------------------------ > > End of use-livecode Digest, Vol 209, Issue 10 > ********************************************* From richmondmathewson at gmail.com Mon Feb 8 05:28:12 2021 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 8 Feb 2021 12:28:12 +0200 Subject: No visual effects on Big Sur? In-Reply-To: <9b4e7e7a-676a-4533-99e5-4bfd19fa8c44@Spark> References: <254ad21f-5c20-494e-b565-756d80d3435c@Spark> <903D6452-7AC0-4262-9F0D-56D9F866BEC8@earthlearningsolutions.org> <9b4e7e7a-676a-4533-99e5-4bfd19fa8c44@Spark> Message-ID: <63079b5c-3451-1990-c828-69338a840684@gmail.com> No joy over here: LC 9.6.2 RC 2 / macOS 11.3 Beta 1 But this does work this way: LC 8.2.0 DP 2 / macOS 11.3 Beta 1 So the problem may not lie with macOS. On 7.02.21 15:42, H?kan Liljegren via use-livecode wrote: > That is strange. As it worked for you Sean, what machine are you on? But, as we have several of us where it doesn?t work I filed a bug anyway: > > https://quality.livecode.com/show_bug.cgi?id=23085 > > :-H?kan > On 7 Feb 2021, 05:12 +0100, Sean Cole (Pi) via use-livecode , wrote: >> Hi all, >> I just tested here in BigSur 11.2 and they work fine in both the IDE and >> standalone. The only ones that do not work are the core image transitions >> (with the exception of dissolve which, although having the same name, does >> not appear to use the CI version of the effect). >> >> I made a simple default stack with one button with this code: >> >> on mouseUp pButtonNumber >> lock screen for visual effect >> set the backcolor of this card to (line random(552) of colornames()) >> unlock screen with visual effect "dissolve" >> end mouseUp >> >> The standalone was set with all the default parameters and auto inclusions. >> >> Sean >> >> On Sat, 6 Feb 2021 at 18:16, prothero--- via use-livecode < >> use-livecode at lists.runrev.com> wrote: >> >>> Hakan: >>> I get the same thing. Big Sur, livecode version LC 9.6.2 (rc2). It was >>> working on previous versions. >>> >>> Yes, please file a bug report. >>> >>> Bill >>> >>>> On Feb 5, 2021, at 10:55 PM, H?kan Liljegren via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>>> Running LC 9.6.2 (rc2) on macOS Big Sur I have no visual effects that >>> work. None! Is there anyone else having the same experience, or is it just >>> my setup? I have tried to wipe every RunRev/LiveCode file in the Library >>> and in the applications folder and then reinstall but still no luck. Also >>> tried older (stable versions) with no luck, but that was before wiping >>> every file out of existence. >>>> Can anyone else running Big Sur confirm before I file a bug-report? >>>> >>>> :-H?kan >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> William A. Prothero, Ph.D. >>> University of California, Santa Barbara Dept. of Earth Sciences (Emeritus) >>> Santa Barbara, CA. 93105 >>> http://earthlearningsolutions.org/ >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Mon Feb 8 06:13:11 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Mon, 8 Feb 2021 11:13:11 +0000 Subject: No visual effects on Big Sur? In-Reply-To: <63079b5c-3451-1990-c828-69338a840684@gmail.com> References: <254ad21f-5c20-494e-b565-756d80d3435c@Spark> <903D6452-7AC0-4262-9F0D-56D9F866BEC8@earthlearningsolutions.org> <9b4e7e7a-676a-4533-99e5-4bfd19fa8c44@Spark> <63079b5c-3451-1990-c828-69338a840684@gmail.com> Message-ID: Ah yes. I was using RC1, not RC2! So I retested in RC2 and none of the vfx work at all. So it's not an OS problem. It's something new in RC2 From sean at pidigital.co.uk Mon Feb 8 06:30:25 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Mon, 8 Feb 2021 11:30:25 +0000 Subject: No visual effects on Big Sur? In-Reply-To: References: <254ad21f-5c20-494e-b565-756d80d3435c@Spark> <903D6452-7AC0-4262-9F0D-56D9F866BEC8@earthlearningsolutions.org> <9b4e7e7a-676a-4533-99e5-4bfd19fa8c44@Spark> <63079b5c-3451-1990-c828-69338a840684@gmail.com> Message-ID: This only affects MacOS. Windows and Linux are ok. I've updated the info on the bug report and included a stack to give Panos an easy time. From panos.merakos at livecode.com Mon Feb 8 10:57:37 2021 From: panos.merakos at livecode.com (panagiotis merakos) Date: Mon, 8 Feb 2021 17:57:37 +0200 Subject: [ANN] This Week in LiveCode 254 Message-ID: Hi all, Read about new developments in LiveCode open source and the open source community in today's edition of the "This Week in LiveCode" newsletter! Read issue #254 here: http://bit.ly/3rCsnp1 This is a weekly newsletter about LiveCode, focussing on what's been going on in and around the open source project. New issues will be released weekly on Mondays. We have a dedicated mailing list that will deliver each issue directly to your e-mail, so you don't miss any! If you have anything you'd like mentioned (a project, a discussion somewhere, an upcoming event) then please get in touch. -- Panagiotis Merakos LiveCode Software Developer Everyone Can Create Apps From prothero at earthlearningsolutions.org Mon Feb 8 11:15:18 2021 From: prothero at earthlearningsolutions.org (ELS Prothero) Date: Mon, 8 Feb 2021 08:15:18 -0800 Subject: No visual effects on Big Sur? In-Reply-To: <63079b5c-3451-1990-c828-69338a840684@gmail.com> References: <63079b5c-3451-1990-c828-69338a840684@gmail.com> Message-ID: <96E05089-2758-41A7-9347-258C73F6F637@earthlearningsolutions.org> Folks, I get effects in Apple?s Big Sur when I use v9.6.1 in Livecode. But 9.6.2(rc2) fails. It?s not the Mac OS. Something happened in 9.6.2. I haven?t tried it in 9.6.2(rc1). Bill William Prothero https://earthlearningsolutions.org > On Feb 8, 2021, at 2:29 AM, Richmond via use-livecode wrote: > > ?No joy over here: > > LC 9.6.2 RC 2 / macOS 11.3 Beta 1 > > But this does work this way: > > LC 8.2.0 DP 2 / macOS 11.3 Beta 1 > > So the problem may not lie with macOS. > >> On 7.02.21 15:42, H?kan Liljegren via use-livecode wrote: >> That is strange. As it worked for you Sean, what machine are you on? But, as we have several of us where it doesn?t work I filed a bug anyway: >> >> https://quality.livecode.com/show_bug.cgi?id=23085 >> >> :-H?kan >>> On 7 Feb 2021, 05:12 +0100, Sean Cole (Pi) via use-livecode , wrote: >>> Hi all, >>> I just tested here in BigSur 11.2 and they work fine in both the IDE and >>> standalone. The only ones that do not work are the core image transitions >>> (with the exception of dissolve which, although having the same name, does >>> not appear to use the CI version of the effect). >>> >>> I made a simple default stack with one button with this code: >>> >>> on mouseUp pButtonNumber >>> lock screen for visual effect >>> set the backcolor of this card to (line random(552) of colornames()) >>> unlock screen with visual effect "dissolve" >>> end mouseUp >>> >>> The standalone was set with all the default parameters and auto inclusions. >>> >>> Sean >>> >>> On Sat, 6 Feb 2021 at 18:16, prothero--- via use-livecode < >>> use-livecode at lists.runrev.com> wrote: >>> >>>> Hakan: >>>> I get the same thing. Big Sur, livecode version LC 9.6.2 (rc2). It was >>>> working on previous versions. >>>> >>>> Yes, please file a bug report. >>>> >>>> Bill >>>> >>>>> On Feb 5, 2021, at 10:55 PM, H?kan Liljegren via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>>> Running LC 9.6.2 (rc2) on macOS Big Sur I have no visual effects that >>>> work. None! Is there anyone else having the same experience, or is it just >>>> my setup? I have tried to wipe every RunRev/LiveCode file in the Library >>>> and in the applications folder and then reinstall but still no luck. Also >>>> tried older (stable versions) with no luck, but that was before wiping >>>> every file out of existence. >>>>> Can anyone else running Big Sur confirm before I file a bug-report? >>>>> >>>>> :-H?kan >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> William A. Prothero, Ph.D. >>>> University of California, Santa Barbara Dept. of Earth Sciences (Emeritus) >>>> Santa Barbara, CA. 93105 >>>> http://earthlearningsolutions.org/ >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Mon Feb 8 12:31:53 2021 From: sean at pidigital.co.uk (Pi Digital) Date: Mon, 8 Feb 2021 17:31:53 +0000 Subject: No visual effects on Big Sur? In-Reply-To: <96E05089-2758-41A7-9347-258C73F6F637@earthlearningsolutions.org> References: <96E05089-2758-41A7-9347-258C73F6F637@earthlearningsolutions.org> Message-ID: It?s been confirmed to be a regression in RC2 and should be fixed in RC3 Sean Cole Pi Digital > On 8 Feb 2021, at 16:15, ELS Prothero via use-livecode wrote: > > ?Folks, > I get effects in Apple?s Big Sur when I use v9.6.1 in Livecode. But 9.6.2(rc2) fails. It?s not the Mac OS. Something happened in 9.6.2. I haven?t tried it in 9.6.2(rc1). > Bill > > William Prothero > https://earthlearningsolutions.org > >> On Feb 8, 2021, at 2:29 AM, Richmond via use-livecode wrote: >> >> ?No joy over here: >> >> LC 9.6.2 RC 2 / macOS 11.3 Beta 1 >> >> But this does work this way: >> >> LC 8.2.0 DP 2 / macOS 11.3 Beta 1 >> >> So the problem may not lie with macOS. >> >>>> On 7.02.21 15:42, H?kan Liljegren via use-livecode wrote: >>> That is strange. As it worked for you Sean, what machine are you on? But, as we have several of us where it doesn?t work I filed a bug anyway: >>> >>> https://quality.livecode.com/show_bug.cgi?id=23085 >>> >>> :-H?kan >>>> On 7 Feb 2021, 05:12 +0100, Sean Cole (Pi) via use-livecode , wrote: >>>> Hi all, >>>> I just tested here in BigSur 11.2 and they work fine in both the IDE and >>>> standalone. The only ones that do not work are the core image transitions >>>> (with the exception of dissolve which, although having the same name, does >>>> not appear to use the CI version of the effect). >>>> >>>> I made a simple default stack with one button with this code: >>>> >>>> on mouseUp pButtonNumber >>>> lock screen for visual effect >>>> set the backcolor of this card to (line random(552) of colornames()) >>>> unlock screen with visual effect "dissolve" >>>> end mouseUp >>>> >>>> The standalone was set with all the default parameters and auto inclusions. >>>> >>>> Sean >>>> >>>> On Sat, 6 Feb 2021 at 18:16, prothero--- via use-livecode < >>>> use-livecode at lists.runrev.com> wrote: >>>> >>>>> Hakan: >>>>> I get the same thing. Big Sur, livecode version LC 9.6.2 (rc2). It was >>>>> working on previous versions. >>>>> >>>>> Yes, please file a bug report. >>>>> >>>>> Bill >>>>> >>>>>> On Feb 5, 2021, at 10:55 PM, H?kan Liljegren via use-livecode < >>>>> use-livecode at lists.runrev.com> wrote: >>>>>> Running LC 9.6.2 (rc2) on macOS Big Sur I have no visual effects that >>>>> work. None! Is there anyone else having the same experience, or is it just >>>>> my setup? I have tried to wipe every RunRev/LiveCode file in the Library >>>>> and in the applications folder and then reinstall but still no luck. Also >>>>> tried older (stable versions) with no luck, but that was before wiping >>>>> every file out of existence. >>>>>> Can anyone else running Big Sur confirm before I file a bug-report? >>>>>> >>>>>> :-H?kan >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> William A. Prothero, Ph.D. >>>>> University of California, Santa Barbara Dept. of Earth Sciences (Emeritus) >>>>> Santa Barbara, CA. 93105 >>>>> http://earthlearningsolutions.org/ >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From martyknappster at gmail.com Mon Feb 8 13:10:15 2021 From: martyknappster at gmail.com (Marty Knapp) Date: Mon, 8 Feb 2021 10:10:15 -0800 Subject: Print to PDF and Big Sur Message-ID: Anybody having trouble printing to PDF under Big Sur with LC 9.6.2 rc2? My apps are throwing an error on the line open printing to PDF tPathToSaveTo The same code runs fine on LC 9.6.1 Marty From merakosp at gmail.com Mon Feb 8 13:32:20 2021 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 8 Feb 2021 20:32:20 +0200 Subject: Print to PDF and Big Sur In-Reply-To: References: Message-ID: Hello Marty, Could you file a bug report and attach a sample stack? I did a quick test and I am not able to reproduce this issue. Could it be the case you're trying to print a field with emojis? Kind regards, Panos -- On Mon, 8 Feb 2021 at 20:11, Marty Knapp via use-livecode < use-livecode at lists.runrev.com> wrote: > Anybody having trouble printing to PDF under Big Sur with LC 9.6.2 rc2? My > apps are throwing an error on the line > > open printing to PDF tPathToSaveTo > > The same code runs fine on LC 9.6.1 > > Marty > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From martyknappster at gmail.com Mon Feb 8 13:39:01 2021 From: martyknappster at gmail.com (Marty Knapp) Date: Mon, 8 Feb 2021 10:39:01 -0800 Subject: Print to PDF and Big Sur In-Reply-To: References: Message-ID: It?s in a standalone and I?m thinking it?s another codesign issue at this point. I will investigate further and report back. (No emojis!) Marty > On Feb 8, 2021, at 10:32 AM, panagiotis merakos via use-livecode wrote: > > Hello Marty, > > Could you file a bug report and attach a sample stack? I did a quick test > and I am not able to reproduce this issue. Could it be the case you're > trying to print a field with emojis? > > Kind regards, > Panos > -- > > On Mon, 8 Feb 2021 at 20:11, Marty Knapp via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Anybody having trouble printing to PDF under Big Sur with LC 9.6.2 rc2? My >> apps are throwing an error on the line >> >> open printing to PDF tPathToSaveTo >> >> The same code runs fine on LC 9.6.1 >> >> Marty From martyknappster at gmail.com Mon Feb 8 14:25:46 2021 From: martyknappster at gmail.com (Marty Knapp) Date: Mon, 8 Feb 2021 11:25:46 -0800 Subject: Print to PDF and Big Sur In-Reply-To: References: Message-ID: <8702F866-A397-480F-AB01-C813764E5808@gmail.com> OK, I added the ?--deep? parameter to the codesign command and that seems to have fixed things. Marty > On Feb 8, 2021, at 10:32 AM, panagiotis merakos via use-livecode wrote: > > Hello Marty, > > Could you file a bug report and attach a sample stack? I did a quick test > and I am not able to reproduce this issue. Could it be the case you're > trying to print a field with emojis? > > Kind regards, > Panos > -- > > On Mon, 8 Feb 2021 at 20:11, Marty Knapp via use-livecode < > use-livecode at lists.runrev.com> wrote: > >> Anybody having trouble printing to PDF under Big Sur with LC 9.6.2 rc2? My >> apps are throwing an error on the line >> >> open printing to PDF tPathToSaveTo >> >> The same code runs fine on LC 9.6.1 >> >> Marty From merakosp at gmail.com Mon Feb 8 15:02:26 2021 From: merakosp at gmail.com (panagiotis merakos) Date: Mon, 8 Feb 2021 22:02:26 +0200 Subject: Print to PDF and Big Sur In-Reply-To: <8702F866-A397-480F-AB01-C813764E5808@gmail.com> References: <8702F866-A397-480F-AB01-C813764E5808@gmail.com> Message-ID: Thanks for the update, Marty. So it seems the revpdfprinter.dylib was not signed, and Big Sur does not allow unsigned binaries to run, or sth like this. The "--deep" param ensures all the components in the bundle will be signed. Kind regards, Panos -- On Mon, 8 Feb 2021 at 21:26, Marty Knapp via use-livecode < use-livecode at lists.runrev.com> wrote: > OK, I added the ?--deep? parameter to the codesign command and that seems > to have fixed things. > > Marty > > > On Feb 8, 2021, at 10:32 AM, panagiotis merakos via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > Hello Marty, > > > > Could you file a bug report and attach a sample stack? I did a quick test > > and I am not able to reproduce this issue. Could it be the case you're > > trying to print a field with emojis? > > > > Kind regards, > > Panos > > -- > > > > On Mon, 8 Feb 2021 at 20:11, Marty Knapp via use-livecode < > > use-livecode at lists.runrev.com> wrote: > > > >> Anybody having trouble printing to PDF under Big Sur with LC 9.6.2 rc2? > My > >> apps are throwing an error on the line > >> > >> open printing to PDF tPathToSaveTo > >> > >> The same code runs fine on LC 9.6.1 > >> > >> Marty > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bduck at mac.com Mon Feb 8 15:26:31 2021 From: bduck at mac.com (Brian K. Duck) Date: Mon, 8 Feb 2021 15:26:31 -0500 Subject: xAPI in LiveCode with xAPI Cohort Message-ID: <76F08B9A-C55A-4980-84BC-1B7652B6C1AC@mac.com> The xAPI Cohort has launched, we?re preparing to meet live over the next week. Please use this link to register your availability: https://www.when2meet.com/?10983382-E3NWh Brian Duck Bduck at Mac do t com From bduck at mac.com Tue Feb 9 02:15:28 2021 From: bduck at mac.com (Brian K. Duck) Date: Tue, 9 Feb 2021 02:15:28 -0500 Subject: xAPI in LiveCode with xAPI Cohort In-Reply-To: <76F08B9A-C55A-4980-84BC-1B7652B6C1AC@mac.com> References: <76F08B9A-C55A-4980-84BC-1B7652B6C1AC@mac.com> Message-ID: Please continue to mark your availability in When2Meet, url above. Based on early responses, our first opportunity to meet will be today at 12:30 EST. Here is a zoom link: Topic: xAPI in LiveCode Cohort #1 - Zoom Meeting Time: Feb 9, 2021 12:30 PM America/Detroit Join Zoom Meeting https://us04web.zoom.us/j/75593825050?pwd=Wklta3FhckZGU213OEtoUFVwTzNGZz09 Meeting ID: 755 9382 5050 Passcode: 2CQm0k > On Feb 8, 2021, at 3:26 PM, Brian K. Duck wrote: > > The xAPI Cohort has launched, we?re preparing to meet live over the next week. > > Please use this link to register your availability: > > https://www.when2meet.com/?10983382-E3NWh > > Brian Duck > Bduck at Mac do t com From mkoob at rogers.com Tue Feb 9 08:09:33 2021 From: mkoob at rogers.com (Martin Koob) Date: Tue, 9 Feb 2021 08:09:33 -0500 Subject: xAPI in LiveCode with xAPI Cohort In-Reply-To: References: <76F08B9A-C55A-4980-84BC-1B7652B6C1AC@mac.com> Message-ID: <38EFAA5F-E979-4B14-BDC6-6D967DA7B8E9@rogers.com> Hi Brian I can jump in just for a half hour today. I have other work meetings all day. see you then. Martin > On Feb 9, 2021, at 2:15 AM, Brian K. Duck via use-livecode wrote: > > Please continue to mark your availability in When2Meet, url above. Based on early responses, our first opportunity to meet will be today at 12:30 EST. Here is a zoom link: Topic: xAPI in LiveCode Cohort #1 - Zoom Meeting > Time: Feb 9, 2021 12:30 PM America/Detroit > > Join Zoom Meeting > https://us04web.zoom.us/j/75593825050?pwd=Wklta3FhckZGU213OEtoUFVwTzNGZz09 > > Meeting ID: 755 9382 5050 > Passcode: 2CQm0k > >> On Feb 8, 2021, at 3:26 PM, Brian K. Duck wrote: >> >> The xAPI Cohort has launched, we?re preparing to meet live over the next week. >> >> Please use this link to register your availability: >> >> https://www.when2meet.com/?10983382-E3NWh >> >> Brian Duck >> Bduck at Mac do t com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From curry at pair.com Tue Feb 9 11:53:28 2021 From: curry at pair.com (Curry Kenworthy) Date: Tue, 9 Feb 2021 11:53:28 -0500 Subject: Close Stack Cleanup In-Reply-To: References: Message-ID: <509c36d3-a0c1-561d-543e-715da33a205b@pair.com> Jacque: > I did a test before answering and the message was sent to the card > of my otherwise blank stack, after dismissing the IDE dialog. Same here! Bob: > there have been at least 2 versions that were unstable that crash > to desktops were not uncommon, and after losing so much data, I > save frequently, and auto save whenever I close a sub stack. I agree, saving carefully/saving "big-league" is a must for LC IDE! :) Got in the constant-save habit way back with version 1.1.1. (Which had a tendency to vanish in the middle of a coding session.) Here's what I do (and it all works, no message problems, no bugs): 1. If I edit any script, I manually save when I apply changes. (I don't write more than 3 lines of code before saving.) 2. If I edit any UI or properties, I manually save. (I save every 5 minutes or less, and before leaving a dirty card.) 3. Before I close any stack I've edited, I MANUALLY save. And if I use auto-clean, it's hooked up to saveStackRequest. Reliable. No message difficulties. And I know it's saved.* (If I forget to save, it warns me. That's my backup if habit fails.) 4. *For each of the above, #1-#3, I look for the dialog while saving. 5. *And every session (and before closing an edited stack) I look at the stack in the Finder/Desktop to check the Mod date. I also make a copy. ("Sorta trust, but verify the heck out of it." There can be the known disassociated-SE, or other bugs, that prevent IDE from really saving.) 6. *If in step #4 or #5 I find that it wasn't really saved, I can save again or take any other necessary steps I deem appropriate, because ... I have NOT closed the stack yet! That's why. I intentionally save, then double check, then intentionally close. IOW, If you and I don't trust the IDE enough to let it decide when we should save (which is a big part of the reason this thread exists) ... ... then why should I trust it to SAVE FOR ME when I close a stack? To me, that seems risky, plus it's not building on the same premise. Even if the IDE did NOT have a known bug (or complication) and even if the close message DID usually work, I would still save manually, each and every time before closing a stack. That way I know. (LC IDE should be more reliable, yet there is a silver lining: it has taught me to save more carefully in EVERY app! Because the idea of a completely reliable app instance is fantasy; the computer itself could have a hardware or OS failure at any moment. My manic LC save habits have "saved" me in other apps, more than once.) Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ From bduck at mac.com Tue Feb 9 19:16:35 2021 From: bduck at mac.com (Brian K. Duck) Date: Tue, 9 Feb 2021 19:16:35 -0500 Subject: xAPI in LiveCode with xAPI Cohort Meeting #2 2/10/21 1:30 EST to 4 PM EST Message-ID: <2F4B5092-5421-474A-8ED2-03729E762BF1@mac.com> I?m hopeful that you will be able to attend part, or all, of this meeting time. Please continue to mark your availability in When2Meet, url below. > https://www.when2meet.com/?10983382-E3NWh There is another opportunity tomorrow for meeting time from 1:30 PM to 4 PM EST. The times are broken into 1/2 hour blocks within When2Meet, and there is a maximum of 2 people that have conflicts. Based on the information in When2Meet, I have blocked time in zoom starting 2/10 at 1:30 PM EST. As I am in possession of a free Zoom account, the meeting scheduling is limited to 30 minute blocks. I will update the xAPI Cohort Slack for Team-xAPI-in-LiveCode with zoom credentials during the event. I will also paste the follow on Zoom meetings into the chat during the meeting. The FIRST block of Zoom meeting is here: Topic: xAPI in LiveCode #2 Zoom Meeting, Part 1 Time: Feb 10, 2021 01:30 PM America/Detroit Join Zoom Meeting https://us04web.zoom.us/j/71113499164?pwd=OE9ERTMwZ09iZityTlVPOS9JVVl2Zz09 Meeting ID: 711 1349 9164 Passcode: m465Fz During this time, we'll recap what we covered in Meeting #1, ask for introductions, and look at the strategy of using LiveCode as a Learning Record Provider. With the added time, we may be able to open the LiveCode project and discuss how LiveCode is sending a statement to the LRS. This meeting will be recorded for those who cannot attend, or will be offline for part of the meeting. Brian Bduck a t Mac do t com From david.bovill at gmail.com Wed Feb 10 12:50:55 2021 From: david.bovill at gmail.com (David Bovill) Date: Wed, 10 Feb 2021 17:50:55 +0000 Subject: xAPI in LiveCode with xAPI Cohort Meeting #2 2/10/21 1:30 EST to 4 PM EST In-Reply-To: <2F4B5092-5421-474A-8ED2-03729E762BF1@mac.com> References: <2F4B5092-5421-474A-8ED2-03729E762BF1@mac.com> Message-ID: I?ll be there towards the end I hop. Have a meeting clash for the start unfortunately?. Have started work on the API. On 10 Feb 2021, 00:17 +0000, Brian K. Duck via use-livecode , wrote: > I?m hopeful that you will be able to attend part, or all, of this meeting time. > > Please continue to mark your availability in When2Meet, url below. > > https://www.when2meet.com/?10983382-E3NWh > There is another opportunity tomorrow for meeting time from 1:30 PM to 4 PM EST. The times are broken into 1/2 hour blocks within When2Meet, and there is a maximum of 2 people that have conflicts. Based on the information in When2Meet, I have blocked time in zoom starting 2/10 at 1:30 PM EST. > > As I am in possession of a free Zoom account, the meeting scheduling is limited to 30 minute blocks. I will update the xAPI Cohort Slack for Team-xAPI-in-LiveCode with zoom credentials during the event. > > I will also paste the follow on Zoom meetings into the chat during the meeting. > > The FIRST block of Zoom meeting is here: > > Topic: xAPI in LiveCode #2 Zoom Meeting, Part 1 > Time: Feb 10, 2021 01:30 PM America/Detroit > > Join Zoom Meeting > https://us04web.zoom.us/j/71113499164?pwd=OE9ERTMwZ09iZityTlVPOS9JVVl2Zz09 > > Meeting ID: 711 1349 9164 > Passcode: m465Fz > > During this time, we'll recap what we covered in Meeting #1, ask for introductions, and look at the strategy of using LiveCode as a Learning Record Provider. With the added time, we may be able to open the LiveCode project and discuss how LiveCode is sending a statement to the LRS. > > This meeting will be recorded for those who cannot attend, or will be offline for part of the meeting. > > Brian > > Bduck a t Mac do t com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ludovic.thebault at laposte.net Wed Feb 10 14:09:23 2021 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Wed, 10 Feb 2021 20:09:23 +0100 Subject: test Message-ID: <5F6E86C6-475E-4C99-A861-54B79DF4B3A2@laposte.net> Hello, I haven't received any messages for a week now. Strange, no ? Ludovic From bobsneidar at iotecdigital.com Wed Feb 10 14:27:41 2021 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 10 Feb 2021 19:27:41 +0000 Subject: test In-Reply-To: <5F6E86C6-475E-4C99-A861-54B79DF4B3A2@laposte.net> References: <5F6E86C6-475E-4C99-A861-54B79DF4B3A2@laposte.net> Message-ID: <07FD871D-8F61-43E4-834F-E6FA5ED4A89C@iotecdigital.com> How would you know if someone replied? :-) Bob S On Feb 10, 2021, at 11:09 AM, Ludovic THEBAULT via use-livecode > wrote: Hello, I haven't received any messages for a week now. Strange, no ? Ludovic From ludovic.thebault at laposte.net Wed Feb 10 14:43:26 2021 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Wed, 10 Feb 2021 20:43:26 +0100 Subject: Test Message-ID: <76A13DAD-E864-4003-A786-CCBC29E8D0B7@laposte.net> I can send but I don't receive anything! You can see the list here : http://lists.runrev.com/pipermail/use-livecode/2021-February/date.html Here the explanation : I missed an "use-livecode-request at lists.runrev.com ? because "Your membership in the mailing list use-livecode has been disabled due to excessive bounces" So I replied this message as indicated, we'll see Ludovic From sean at pidigital.co.uk Thu Feb 11 05:09:02 2021 From: sean at pidigital.co.uk (Pi Digital) Date: Thu, 11 Feb 2021 10:09:02 +0000 Subject: Test In-Reply-To: <76A13DAD-E864-4003-A786-CCBC29E8D0B7@laposte.net> References: <76A13DAD-E864-4003-A786-CCBC29E8D0B7@laposte.net> Message-ID: <23A80BBE-F777-4F9F-9730-DA3F07D067D8@pidigital.co.uk> Hi Ludovic Do you get this one? Sean Cole Pi Digital > On 10 Feb 2021, at 19:43, Ludovic THEBAULT via use-livecode wrote: > > ?I can send but I don't receive anything! > > You can see the list here : http://lists.runrev.com/pipermail/use-livecode/2021-February/date.html > > Here the explanation : I missed an "use-livecode-request at lists.runrev.com ? because "Your membership in the mailing list use-livecode has been disabled due to excessive bounces" > > So I replied this message as indicated, we'll see > > Ludovic > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bduck at mac.com Thu Feb 11 08:34:24 2021 From: bduck at mac.com (Brian K. Duck) Date: Thu, 11 Feb 2021 08:34:24 -0500 Subject: Team-xAPI-in-LiveCode Update - xAPI Cohort LIVE today at 2 PM EST Message-ID: <4CFA0927-5BAE-42F0-8D26-68DD2B396A73@mac.com> The free xAPI Cohort, https://xAPICohort.com, is underway. This afternoon will be live session #2, it?s never too late to join! As updates, I?ve posted to the team gitHub: https://github.com/orgs/xapicohort/teams/team-xapi-in-livecode First Update: team-xAPI-in-LiveCode Cohort Meeting #1 - 09 FEB 2021 Speaker Name Brian Duck Attended: Brian Duck Andrew Bell Henry Ryng Izzy Martin Koob Peter Bogdanoff Helen Lenane 1 other came and went? Will Ji This update should list: Accomplishments for the week: Our kickoff meeting was held 2/9 with 7 in attendance and recorded for others to view. [https://youtu.be/6W4s0A25tWc](YouTube url) We used When2Meet, a free webservice that allows participants to enter their availability in a web GUI and allows us to see when good timing for meetings with the most people over a week or more. We worked through introductions: Name, Location / Time Zone, xAPI Experience, LiveCode Experience I presented the 3 components found in the document: xAPI a Guide for Technical Implementers, p 8. These include the Learning Record Provider, LRP; the Learning Record Store, LRS; and the Learning Record Consumer, LRC. Our focus for the first sprint of the cohort, will be to build a LRP within LiveCode. Brian Duck will lead the effort to refactor the Team-MakeyMakey LiveCode project into a stand alone LRP which uses the xAPI Wrapper javaScript library internal to the LiveCode Project to send statements to the LRS. David Bovill has expressed interest in building a LiveCode LRP from scratch sending JSON directly to the LRS. I also presented the architecture for the Team-MakeyMakey LiveCode project, and a similar approach that might be used for the CMI5 xAPI Profile. In the second sprint, we're expecting to repurpose one of the LiveCode LRP projects as a baseline for adding specific content into a LiveCode app. Martin Koob mentioned that he is interested in a LiveCode project focused on the Video xAPI Profile, David Bovill has mentioned that he is interested in working on some educational content focused around environmental awareness to be completed and distributed prior to Earth Day 2021, which is as the conclusion of the xAPI Cohort. We wrapped up with a round table of individual Goals for the cohort for team members online. Areas where your team may need support: A suggestion of tools used to determine 'best time to meet' on a reoccurring basis. When2Meet is focused on the upcoming days / weeks, but makes it difficult to determine the best time for a regular meeting date and time. Other suggestions appreciated! What you hope to accomplish in the next week: Next week, we'll likely begin the effort to build the LRP in LiveCode with David beginning from scratch and Brian leading a refactoring of the Team-MakeyMakey code. Second Update: team-xAPI-in-LiveCode Cohort Meeting #2 - 10 FEB 2021 In the second meeting of the 'Team xAPI in LiveCode' project, we introduced another new member, revisited the slides from meeting 1 which detailed the 3 core components of xAPI: Learning Record Provider, Learning Record Store and the Learning Record Consumer. David Bovill, Martin Koob, and Brian Duck each presented a bit of their LiveCode projects to help new team members understand the LiveCode approach; and we wrapped up by discussing next steps for the team. https://youtu.be/kd6T4lYaNVY From jeejeestudio at gmail.com Thu Feb 11 09:07:58 2021 From: jeejeestudio at gmail.com (JeeJeeStudio) Date: Thu, 11 Feb 2021 15:07:58 +0100 Subject: Test In-Reply-To: <76A13DAD-E864-4003-A786-CCBC29E8D0B7@laposte.net> References: <76A13DAD-E864-4003-A786-CCBC29E8D0B7@laposte.net> Message-ID: <4019878b-5eb8-1c9d-2b6c-1c426c8485da@gmail.com> I have that also many times, one pc works sending and receiving, another does not send to the list. Gmail via browser always works. Op 10-2-2021 om 20:43 schreef Ludovic THEBAULT via use-livecode: > I can send but I don't receive anything! > > You can see the list here : http://lists.runrev.com/pipermail/use-livecode/2021-February/date.html > > Here the explanation : I missed an "use-livecode-request at lists.runrev.com ? because "Your membership in the mailing list use-livecode has been disabled due to excessive bounces" > > So I replied this message as indicated, we'll see > > Ludovic > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Fri Feb 12 07:12:12 2021 From: klaus at major-k.de (Klaus major-k) Date: Fri, 12 Feb 2021 13:12:12 +0100 Subject: LC Roadmap Message-ID: Hi folks, see subject -> Last Updated on July 14, 2020 I think it is time to update the roadmap, what do you think? Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass klaus at major-k.de From richmondmathewson at gmail.com Fri Feb 12 07:16:01 2021 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 12 Feb 2021 14:16:01 +0200 Subject: LC Roadmap In-Reply-To: References: Message-ID: <182751a1-0a0e-e567-7ff5-fe9435bc0123@gmail.com> I've said something to that effect earlier, at which point I was jumped all over. So, because I don't want to be jumped all over again, and because saying the 'roadmap' needs to be updated will have no effect (didn't the last 3 times), I'm NOT stating what I think. Love. kisses, and other things, Richmond. On 12.02.21 14:12, Klaus major-k via use-livecode wrote: > Hi folks, > > see subject -> Last Updated on July 14, 2020 > I think it is time to update the roadmap, what do you think? > > > Best > > Klaus > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Fri Feb 12 07:42:25 2021 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 12 Feb 2021 12:42:25 +0000 Subject: Anyone able to connect to a PostgreSQL database with lc server? Message-ID: Hi Folks, Before I escalate this to HQ, did anyone here was able to connect to a postgresql database server using LiveCode Server? I'm getting a hard crash here. The server is exiting with Signal 11 (segmentation fault?) on the call to revOpenDatabase. The arguments passed to the server are correct. The same app (using RevIgniter) is able to connect to MySQL without any problem. We have a PostgreSQL database to benefit from "jsonb" fields. We can't convert it to MySQL. Best Andre -- https://www.andregarzia.com Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia From andre at andregarzia.com Fri Feb 12 08:01:20 2021 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 12 Feb 2021 13:01:20 +0000 Subject: Anyone able to connect to a PostgreSQL database with lc server? In-Reply-To: References: Message-ID: Whatever it was, it is apparently happening on 9.0.4 but fixed in 9.6.2-rc-2, go figure... I don't have time to dive deep into this, I'm just happy to have it working. On Fri, 12 Feb 2021 at 12:42, Andre Garzia wrote: > Hi Folks, > > Before I escalate this to HQ, did anyone here was able to connect to a > postgresql database server using LiveCode Server? > > I'm getting a hard crash here. The server is exiting with Signal 11 > (segmentation fault?) on the call to revOpenDatabase. The arguments passed > to the server are correct. The same app (using RevIgniter) is able to > connect to MySQL without any problem. > > We have a PostgreSQL database to benefit from "jsonb" fields. We can't > convert it to MySQL. > > Best > Andre > > -- > https://www.andregarzia.com > Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia > -- https://www.andregarzia.com Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia From roland.huettmann at gmail.com Fri Feb 12 12:53:14 2021 From: roland.huettmann at gmail.com (R.H.) Date: Fri, 12 Feb 2021 18:53:14 +0100 Subject: Parsing properties in Link- and Internet Shortcut files Message-ID: I am on Windows 10 (but answer will apply to MacOS as well). I am trying to read the URL property of a file that I create simply dragging-dropping the Internet address from my browser to the Desktop and then storing this file. There are thousands now!!! Some of such files are readable text files with the readable content "[internetshortcut], URL: xxx etc." -- but most Internet shortcut files on Windows with the invisible .url or .ink extension are empty when trying to read with using a text editor or opening them in LiveCode. In such Windows file's there is a property url: that contains the web address. It is visible when opening using the right mouse button (context menu) and then selecting the "properties" item. When double-clicking such file, the default browser will open and open the web page directed to. But I want to read this URL property as text directly and use it from within LiveCode. I assume that these Internet shortcuts store the URL information not in the file itself, or I just cannot get to this information. I found one batch file script that promises such a solution. Such batch text file can be called through the SHELL() command and will then execute. It has the file extension ".bat". #-- START BATCH SCRIPT echo off setlocal enableextensions enabledelayedexpansion pushd %1 for %%F in (%1\*.url) do ( echo %%~dpnxF call :findurl "%%~dpnxF" ) popd goto end :findurl inputfile set url= for /f "tokens=2 delims==" %%i in ('findstr URL %1') do set url=%%i echo %url% echo ----- :end #-- END BATCH SCRIPT Unfortunately, my knowledge of such batch scripts is very limited. I get error messages when calling the batch file through the shell function. Maybe there is someone here who can interpret this script? To me it would be sufficient to simply call shell("location of the file and file name of the url-file .. shell commands") and receive back the URL property as text. Or is there any other way to get to this information? Since LC is cross-platform, such solution also would be nice to have for OSX and Linux? Regards, Roland From dsquance at telus.net Fri Feb 12 13:58:59 2021 From: dsquance at telus.net (David Squance) Date: Fri, 12 Feb 2021 10:58:59 -0800 Subject: Livecode IDE question Message-ID: <6F596AE3-03C5-48BF-AAE8-C42918611BC7@telus.net> I?m a hobbyist, and infrequent dabbler, and I hope my question isn?t inappropriate to post here. I find the forum too cumbersome and daunting. With recent upgrades, the toolbar at the top of the screen in the IDE is fixed about an inch below the top. Is there anyway to move it up? I use a MacBook Air and the screen is small enough. Thanks. Dave LC9.6.2 RC2 OS 11.2.1 From dochawk at gmail.com Fri Feb 12 14:26:21 2021 From: dochawk at gmail.com (doc hawk) Date: Fri, 12 Feb 2021 11:26:21 -0800 Subject: Livecode IDE question In-Reply-To: <6F596AE3-03C5-48BF-AAE8-C42918611BC7@telus.net> References: <6F596AE3-03C5-48BF-AAE8-C42918611BC7@telus.net> Message-ID: <8B1DFEBB-614C-4EC6-BA7C-76B485D00BB1@gmail.com> I don?t know if this helps, but I turn off the icons and just have the text buttons, giving back space. Or you can just hide both . . . macOS can assign keystrokes to application menu items in settings From irog at mac.com Fri Feb 12 16:21:48 2021 From: irog at mac.com (Roger Guay) Date: Fri, 12 Feb 2021 13:21:48 -0800 Subject: Livecode IDE question In-Reply-To: <6F596AE3-03C5-48BF-AAE8-C42918611BC7@telus.net> References: <6F596AE3-03C5-48BF-AAE8-C42918611BC7@telus.net> Message-ID: <9C0C60BB-CD7C-4924-979F-34060297B585@mac.com> I?m having a similar problem on my new MBP, and haven?t figured out the cause yet. Just type this in the message box for an temporary fix: set the top of stack revMenubar to 25 - - - or so Roger > On Feb 12, 2021, at 10:58 AM, David Squance via use-livecode wrote: > > I?m a hobbyist, and infrequent dabbler, and I hope my question isn?t inappropriate to post here. I find the forum too cumbersome and daunting. With recent upgrades, the toolbar at the top of the screen in the IDE is fixed about an inch below the top. Is there anyway to move it up? I use a MacBook Air and the screen is small enough. > > Thanks. > Dave > > LC9.6.2 RC2 > OS 11.2.1 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roland.huettmann at gmail.com Fri Feb 12 17:11:05 2021 From: roland.huettmann at gmail.com (R.H.) Date: Fri, 12 Feb 2021 23:11:05 +0100 Subject: Parsing properties in Link- and Internet Shortcut files -- SOLVED for Windows 10 Message-ID: Tested on Windows 10: I now found and tested the batch file script that works now: Create a batch file, for example "GetURL.bat" Edit the file with a text editor (Notepad++ or whatever) Put the following script into this file: :: START OF SCRIPT -- comment line @echo off setlocal enableextensions enabledelayedexpansion pushd %1 for %%F in (%1\*.url) do ( echo %%~dpnxF call :findurl "%%~dpnxF" ) popd goto end :findurl inputfile set url= for /f "tokens=2 delims==" %%i in ('findstr URL %1') do set url=%%i echo %url% echo --- :end :: END OF SCRIPT -- comment line Save the file and place it for this demo in the C:\folder (which is accessible for admins only. Otherwise use a "documents/..." folder. -- Usage When calling the .bat file here we assume that the .bat file is in the C:\ directory . ...Calling from Windows CMD opened with Administrator rights: C:\GetURL.bat "C:\Users\\Desktop\Links" This assumes that there is a folder "Links" on the desktop containing the Internet shortcut file (hidden file extension .url) and that you want to read the content of the URL plus the filename. -- Now, we can call the .bat file from LiveCode with a little script in a test button: on mouseUp # Example script to call the .bat file: set the hideconsolewindows to true put "C:\GetURL.bat" into tCmd -- Calling the commands in the .bat file put "C:\Users\Rolan\Desktop\Links" into tFolder -- The folder containing Internet Shortcut files .url put tCMD && tFolder into tCommand put shell (tCommand) into msg --x Could be messages box or any field... end mouseUp -- Example output in the message box (a list of .url files with the content of their url) The script in the .bat file looks at all files with a .url extension in the folder specified and returns the name and the URL content of that file. Each record is separated by three "---". C:\Users\Roland\Desktop\Links\simultaneous multiple database access - LiveCode Forums.url https://forums.livecode.com/viewtopic.php?t --- C:\Users\Roland\Desktop\Links\Sons of Thunder Software - Developer Resources - LiveCode.url http://www.sonsothunder.com/devres/livecode/livecode.htm --- C:\Users\Roland\Desktop\Links\Sons of Thunder Software - Products.url http://www.sonsothunder.com/products/products.htm --- Please, if there is anything for Mac (OSX) and Linux, we could publish this in the Forum. Roland P.S: I will also check how to read the local .ink files that are shortcuts to files and folder in Windows. It should also be possible using this for ".ini" files. From roland.huettmann at gmail.com Fri Feb 12 17:49:31 2021 From: roland.huettmann at gmail.com (R.H.) Date: Fri, 12 Feb 2021 23:49:31 +0100 Subject: Parsing properties in Link- and Internet Shortcut files -- SOLVED for Windows 10 -- Added remarks In-Reply-To: References: Message-ID: Hi there Windows 10: The .bat file is required for those .url files that do not give you a text when opening (and that was the problem). Some of the .url files can also simply be read using this sample script. (And these specific files cannot be read with the .bat file as I seem to recognize. Further testing is needed.) on mouseUp local tFilePath ask "Please paste the file path" if it is not empty then put it into tFilePath put URL("binfile:"&tFilePath) into msg end mouseUp You must provide the filepath with the filename. The result (as an example): Example output for .url file (same file not readable with the .bat) [InternetShortcut] URL=https://cosi.lino-framework.org/tour/index.html Greetings, Roland On Fri, Feb 12, 2021 at 11:11 PM R.H. wrote: > Tested on Windows 10: > > I now found and tested the batch file script that works now: > > Create a batch file, for example "GetURL.bat" > Edit the file with a text editor (Notepad++ or whatever) > > Put the following script into this file: > > :: START OF SCRIPT -- comment line > @echo off > setlocal enableextensions enabledelayedexpansion > pushd %1 > for %%F in (%1\*.url) do ( > echo %%~dpnxF > call :findurl "%%~dpnxF" > ) > popd > goto end > :findurl inputfile > set url= > for /f "tokens=2 delims==" %%i in ('findstr URL %1') do set url=%%i > echo %url% > echo --- > :end > :: END OF SCRIPT -- comment line > > Save the file and place it for this demo in the C:\folder (which is > accessible for admins only. Otherwise use a "documents/..." folder. > > -- Usage > When calling the .bat file here we assume that the .bat file is in the C:\ > directory . > > ...Calling from Windows CMD opened with Administrator rights: > C:\GetURL.bat "C:\Users\\Desktop\Links" > > This assumes that there is a folder "Links" on the desktop containing the > Internet shortcut file (hidden file extension .url) and that you want to > read the content of the URL plus the filename. > > -- Now, we can call the .bat file from LiveCode with a little script in a > test button: > > on mouseUp > # Example script to call the .bat file: > set the hideconsolewindows to true > put "C:\GetURL.bat" into tCmd -- Calling the commands in the .bat file > put "C:\Users\Rolan\Desktop\Links" into tFolder -- The folder > containing Internet Shortcut files .url > put tCMD && tFolder into tCommand > put shell (tCommand) into msg --x Could be messages box or any field... > end mouseUp > > -- Example output in the message box (a list of .url files with the > content of their url) > > The script in the .bat file looks at all files with a .url extension in > the folder specified and returns the name and the URL content of that file. > Each record is separated by three "---". > > C:\Users\Roland\Desktop\Links\simultaneous multiple database access - > LiveCode Forums.url > https://forums.livecode.com/viewtopic.php?t > --- > C:\Users\Roland\Desktop\Links\Sons of Thunder Software - Developer > Resources - LiveCode.url > http://www.sonsothunder.com/devres/livecode/livecode.htm > --- > C:\Users\Roland\Desktop\Links\Sons of Thunder Software - Products.url > http://www.sonsothunder.com/products/products.htm > > --- > > Please, if there is anything for Mac (OSX) and Linux, we could publish > this in the Forum. > > > Roland > > P.S: I will also check how to read the local .ink files that are shortcuts > to files and folder in Windows. It should also be possible using this for > ".ini" files. > > > From bduck at mac.com Sat Feb 13 03:07:59 2021 From: bduck at mac.com (Brian K. Duck) Date: Sat, 13 Feb 2021 03:07:59 -0500 Subject: Team-xAPI-in-LiveCode Update Message-ID: Team-xAPI-in-LiveCode Update Today we published the LiveCode project to our GitHub repository. In this update, we're adding a GitHub repository to the Team-xAPI-in-LiveCode space under the ownership of the xAPI Cohort Spring 2021. This video shows how the repository was added, how to access the files, and details the file structure of the sample LiveCode project that was created by Martin Koob using the Levure framework. Link to view this video update on youTube: https://www.youtube.com/watch?v=PLoTaimk5y8 #Team-xAPI-In-LiveCode GitHub Discussion https://github.com/orgs/xapicohort/teams/team-xapi-in-livecode/url Thanks @martinkoob ! Brian From e.beugelaar at me.com Sat Feb 13 06:24:22 2021 From: e.beugelaar at me.com (Erik Beugelaar) Date: Sat, 13 Feb 2021 12:24:22 +0100 Subject: Team-xAPI-in-LiveCode Update In-Reply-To: References: Message-ID: <01d701d701fa$c881cac0$59856040$@me.com> Hi Brian, The URL is not correct. Best regards, Erik -----Original Message----- From: use-livecode On Behalf Of Brian K. Duck via use-livecode Sent: zaterdag 13 februari 2021 09:08 To: Lists At RunRev Cc: Brian K. Duck Subject: Team-xAPI-in-LiveCode Update Team-xAPI-in-LiveCode Update Today we published the LiveCode project to our GitHub repository. In this update, we're adding a GitHub repository to the Team-xAPI-in-LiveCode space under the ownership of the xAPI Cohort Spring 2021. This video shows how the repository was added, how to access the files, and details the file structure of the sample LiveCode project that was created by Martin Koob using the Levure framework. Link to view this video update on youTube: https://www.youtube.com/watch?v=PLoTaimk5y8 #Team-xAPI-In-LiveCode GitHub Discussion https://github.com/orgs/xapicohort/teams/team-xapi-in-livecode/url Thanks @martinkoob ! Brian _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From sean at pidigital.co.uk Sat Feb 13 07:37:01 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Sat, 13 Feb 2021 12:37:01 +0000 Subject: LC Roadmap In-Reply-To: <182751a1-0a0e-e567-7ff5-fe9435bc0123@gmail.com> References: <182751a1-0a0e-e567-7ff5-fe9435bc0123@gmail.com> Message-ID: I was told last year that HTML5 deployment would see upgrades maybe by Jan2021 LC 9.7. However LC9.6.2 is still awaiting an RC3. So it?s just not going to happen. My client and I are severely disappointed to see that the conference set up for 2022 may be the FIRST LOOK we might see for the HTML5 upgrade. Actually, disappointed doesn?t even close to cut it. I am seriously LIVID! Absolute proof that subscription model for this is pointless. It pisses me right off that promise after promise I keep falling for this crap. I?m paying something like $400 on top of the original $400 per year for this kind of service. I CANNOT afford to keep doing this with vague empty unfulfilled promises (lies). I KEEP falling for it because the likes of others on this forum keep trying to convince me that they have our best interests at heart. But keep forgetting that this is BS too. Roadmap = careering off a cliff top. Clean up projected for New York 2022. On Fri, 12 Feb 2021 at 12:16, Richmond via use-livecode < use-livecode at lists.runrev.com> wrote: > I've said something to that effect earlier, at which point I was jumped > all over. > > So, because I don't want to be jumped all over again, and because > saying the 'roadmap' needs to be updated will have no effect (didn't the > last 3 times), > I'm NOT stating what I think. > > Love. kisses, and other things, > > Richmond. > > On 12.02.21 14:12, Klaus major-k via use-livecode wrote: > > Hi folks, > > > > see subject -> Last Updated on July 14, 2020 > > I think it is time to update the roadmap, what do you think? > > > > > > Best > > > > Klaus > > -- > > Klaus Major > > https://www.major-k.de > > https://www.major-k.de/bass > > klaus at major-k.de > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pi Digital From dvglasgow at gmail.com Sat Feb 13 08:25:48 2021 From: dvglasgow at gmail.com (David V Glasgow) Date: Sat, 13 Feb 2021 13:25:48 +0000 Subject: LC Roadmap In-Reply-To: References: <182751a1-0a0e-e567-7ff5-fe9435bc0123@gmail.com> Message-ID: > On 13 Feb 2021, at 12:37 pm, Sean Cole (Pi) via use-livecode wrote: > > I was told last year that HTML5 deployment would see upgrades maybe by > Jan2021 LC 9.7. Hi Sean, I think that kind of aspirational statement, particularly in the world of software development, is the kind of thing to be really pleased and surprised about if it actually happens within 12 months of the estimate. In my book it certainly doesn?t qualify as a lie. To anticipate features for a commercial product in development would need a seriously strong and informed insider steer. No consolation, I appreciate, but if anyone should be in a position to understand the particular challenges of software development, it must be other developers. Which kind of reminds me about my last mail?. paying for Windows SuperCard and waiting for it to arrive. I was SO wound up about that. Weirdly now, it is a fond memory. Best Wishes, David Glasgow From sean at pidigital.co.uk Sat Feb 13 09:28:53 2021 From: sean at pidigital.co.uk (Sean Cole (Pi)) Date: Sat, 13 Feb 2021 14:28:53 +0000 Subject: LC Roadmap In-Reply-To: References: <182751a1-0a0e-e567-7ff5-fe9435bc0123@gmail.com> Message-ID: Hi David It is (a lie) if this has been going on for years... If they say specifcally it is to be released Jan 2021 in an effort to prevent me from cancelling my subscription and then find out it's likely not going to be around till mid 2022, it's a bit much really! Sean On Sat, 13 Feb 2021 at 13:25, David V Glasgow via use-livecode < use-livecode at lists.runrev.com> wrote: > > > > On 13 Feb 2021, at 12:37 pm, Sean Cole (Pi) via use-livecode < > use-livecode at lists.runrev.com> wrote: > > > > I was told last year that HTML5 deployment would see upgrades maybe by > > Jan2021 LC 9.7. > > Hi Sean, > > I think that kind of aspirational statement, particularly in the world of > software development, is the kind of thing to be really pleased and > surprised about if it actually happens within 12 months of the estimate. In > my book it certainly doesn?t qualify as a lie. To anticipate features for > a commercial product in development would need a seriously strong and > informed insider steer. No consolation, I appreciate, but if anyone should > be in a position to understand the particular challenges of software > development, it must be other developers. > > Which kind of reminds me about my last mail?. paying for Windows SuperCard > and waiting for it to arrive. I was SO wound up about that. Weirdly now, > it is a fond memory. > > > Best Wishes, > David Glasgow > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bduck at mac.com Sat Feb 13 13:00:39 2021 From: bduck at mac.com (Brian K. Duck) Date: Sat, 13 Feb 2021 13:00:39 -0500 Subject: team-xapi-in-LiveCode Update In-Reply-To: References: Message-ID: <28CCCFCE-103D-4D6F-8523-69B392C7A71A@mac.com> Erik, The YouTube url has been validated and is included because the direct link to our GitHub team link requires: 1) a logged in user 2) the user must be a member of the ?xAPI Cohort Spring 2021? group GitHub gives a 404 error if either of these conditions are not met, there is no feedback provided other than this error number. Anyone wishing to see the code is welcome to join the xAPI Learning Cohort and request access to the Cohort GitHub area. The YouTube url does not have this limitation. As I am cross posting to: use-LiveCode, gutHub discussions, slack channels, and direct email to our team; I?m working to keep the urls posted valid, but I am learning as I go. Sent from my iPhone, Brian Duck > On Feb 13, 2021, at 12:00 PM, use-livecode-request at lists.runrev.com wrote: > > The URL is not correct. > > Best regards, > Erik From bduck at mac.com Sat Feb 13 13:19:13 2021 From: bduck at mac.com (Brian K. Duck) Date: Sat, 13 Feb 2021 13:19:13 -0500 Subject: HTML internal to stack - best practices Message-ID: <338A728B-4814-4F3E-BC6C-9D415CE95039@mac.com> I?m looking to understand, find references, and hopefully *examples* of a stack with html, css, JavaScript, JSON and JavaScript libraries that are stored internal to the stack. Some files must be modified by the user, others are untouched by user data, but included via