Re: libURLLast/xx/headers on mobile?

2017-10-13 Thread Mark Waddingham via use-livecode
On 2017-10-13 12:15, Ben Rubinstein via use-livecode wrote: I'm trying to debug a case where making some calls to an external API works fine on desktop, but fails on mobile (both iOS and Android) with "400 bad request". Unfortunately it seems that libURLLastHTTPHeaders() and

Re: replace and unicode?

2017-09-07 Thread Mark Waddingham via use-livecode
On 2017-09-07 12:59, Klaus major-k via use-livecode wrote: Hi all, so embarrassing, there was no SPACE after the mm2, but a TAB! :-/ So I got it working, thank you for your help. That was going to be my next question - were the 'spaces' actually spaces :) Warmest Regards, Mark. -- Mark

Re: replace and unicode?

2017-09-07 Thread Mark Waddingham via use-livecode
On 2017-09-07 12:35, Klaus major-k via use-livecode wrote: Hi firends, I am trying to replace "mm2" in a unicode text file with "mm(superscript2)" but obviously "replace" does not do what I want or I am missing something!? My effort so far: ... ## Read TXT file and make it LC compatible,

Re: script/engine broken when moved to 64bit server at JaguarPC

2017-09-08 Thread Mark Waddingham via use-livecode
Hi Curt, On 2017-09-08 17:53, Curtis Ford via use-livecode wrote: I tried uploading the 64bit version (from LiveCodeServer-8_1_6-Linux-x86_64.zip) and setting permissions to 755, but without success. JaguarPC isn't familiar with Livecode and hasn't been able to suggest anything; the older,

Re: script/engine broken when moved to 64bit server at JaguarPC

2017-09-12 Thread Mark Waddingham via use-livecode
Hi Curt, If you email me off list and don't mind sharing your ssh details temporarily with us, we will take a look to see what the problem is. CentOS 7 is one of our supported Linux distros for LiveCode server so we'd like to find out what configuration JaguarPC has to cause the problem and

Re: A modest proposal for a new property

2017-09-27 Thread Mark Waddingham via use-livecode
On 2017-09-27 03:20, Mark Wieder via use-livecode wrote: Been there. When they're stacked on top of each other the transparent part of the rect is still the object under the cursor, and so obscures what's underneath. Methinks that could be considered a bug :) The graphic object does do

Re: MacOS 10.13 crashes LC after color dialog

2017-09-29 Thread Mark Waddingham via use-livecode
On 2017-09-29 16:15, hh via use-livecode wrote: Reported, of course, #20490. Fixed, of course, https://github.com/livecode/livecode/pull/6012. This patch will be back-ported to 8.1.6 as 8.1.6-gm-3 - this will appear as soon as we can get it built and uploaded - it will appear in the auto

Re: Android Security (was Re: Sending a message to users that floats above everything)

2017-08-24 Thread Mark Waddingham via use-livecode
I must confess I read Jacques post as meaning the Google Play Store (google play services are something else - although related). If the store is now present on that percentage of devices then the problem with OS updates more than justifies the recent tightening of the rules of the store...

Re: Sending a message to users that floats above everything

2017-08-21 Thread Mark Waddingham via use-livecode
On 2017-08-21 03:53, Jonathan Lynch via use-livecode wrote: I have been using "answer", "ask", and the mobile picker because they appear on top. However, these system dialogs are not always pretty, especially on Android. Is there another option? I tried using a browser widget, but that does not

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

2017-08-21 Thread Mark Waddingham via use-livecode
On 2017-08-21 01:31, Monte Goulding via use-livecode wrote: Right now you need to handle preOpenStack in stack A and setup the hierarchy because stack B does not retain the behavior property when saved and does not get any kind of message when used as a behavior. It may actually be a good idea

Re: Is tsnet always better?

2017-08-21 Thread Mark Waddingham via use-livecode
On 2017-08-21 02:25, Jonathan Lynch via use-livecode wrote: LC gives us multiple ways to connect to online databases. Is TSnet always the best performing method? Generally if you are accessing databases over the internet then fronting them with an HTTP-based gateway is by far the 'best'

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

2017-08-21 Thread Mark Waddingham via use-livecode
On 2017-08-21 12:06, Monte Goulding via use-livecode wrote: On 21 Aug 2017, at 7:58 pm, Mark Waddingham via use-livecode <use-livecode@lists.runrev.com> wrote: I think its been suggested before that a 'loadStack' message might be quite useful (perhaps it should be 'createStack' - w

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

2017-08-22 Thread Mark Waddingham via use-livecode
On 2017-08-22 00:23, Monte Goulding via use-livecode wrote: I can’t recall getting an explanation of what the dead end was but my guess is that it was fact that a merge conflict would be a nightmare to sort out and it is _very_ hard to write a non-lossy stack file format that won’t have a lot of

Re: lock screen gotcha revisited

2017-08-22 Thread Mark Waddingham via use-livecode
On 2017-08-22 04:41, hh via use-livecode wrote: The real interesting thing is now for me how to lock the screen in LC Builder? I couldn't find a way to do that. Who knows? There isn't one - although you can use 'execute script' to use LCS's lock/unlock screen. Indeed, I should check whether

Re: Sending a message to users that floats above everything

2017-08-22 Thread Mark Waddingham via use-livecode
On 2017-08-21 23:38, Monte Goulding via use-livecode wrote: Hmm… nobody told me about a crash… anyway, as Mark said it’s probably best done in LCB now. I wouldn't usually suggest duplicating effort / code - however the Toast function is too hard to resist in this case... If only to show a

Re: Sending a message to users that floats above everything

2017-08-21 Thread Mark Waddingham via use-livecode
On 2017-08-21 14:55, Jonathan Lynch via use-livecode wrote: This mislayering is with browser widgets that are grouped into different groups. Would that make a difference? Quite possibly! The engine does extra work to handle grouped widgets which use a native layer (it has to synthesize the

Re: Search Values of Array in "One Go"

2017-08-25 Thread Mark Waddingham via use-livecode
On 2017-08-23 17:24, Sannyasin Brahmanathaswami via use-livecode wrote: We use these arrays with media metadata that is extracted from our database of media metadata. The dbase was originally designed for lots of columns so that "there is nothing we cannot know about a media item" incorporating

Re: Corrupted Binaries?

2017-08-28 Thread Mark Waddingham via use-livecode
Hi Dan, On 2017-08-25 00:16, Dan Friedman via use-livecode wrote: Anyone know what they might be talking about? There are no files being copied in (“Copy Files” section of the App Settings).Is this because I checked “Disable ATS”? It would appear as if Apple have 'done something'

Re: Search Values of Array in "One Go"

2017-08-25 Thread Mark Waddingham via use-livecode
On 2017-08-25 17:43, Sannyasin Brahmanathaswami via use-livecode wrote: @ Mark Waddingham Awesome! thanks, I will test this later… Yes, my solution, at the urging of our Cohorts of the Round Table LiveCode Data Diggers, who earlier said "Don't go looking for your needles in arrays." ( I just

Re: lock screen gotcha revisited

2017-08-21 Thread Mark Waddingham via use-livecode
On 2017-08-19 04:41, J. Landman Gay via use-livecode wrote: Except when it doesn't. There seems to be an override in the lock count if any unlock uses a visual effect. I'm not sure if that's on purpose or not. Internally there is a counter - and only one - the engine uses it too when it needs

Re: acceleratedRendering scope

2017-08-21 Thread Mark Waddingham via use-livecode
On 2017-08-21 18:41, Bob Sneidar via use-livecode wrote: Hi all. Since acceleratedRendering is a stack property, does it only apply to a given stack, and not, for example to a sub stack? What would the advantage be of having it off? If none, why even have it? It is per stack, and not

Re: acceleratedRendering scope

2017-08-21 Thread Mark Waddingham via use-livecode
On 2017-08-21 18:51, Jonathan Lynch via use-livecode wrote: Hi Bob- I can report that accelerated rendering "steals" resources from the browser widget. I have to turn it off when displaying a 3D map in the browser widget, then turn it back on for scrolling groups. Otherwise, the map renders in a

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

2017-08-21 Thread Mark Waddingham via use-livecode
On 2017-08-21 18:09, Brian Milby via use-livecode wrote: What about something like import into [objectRef] from array [arrayRef] OR update [objectRef] from array [arrayRef] where the array would be in the format of the export and the object would be an existing object. There are a

Re: acceleratedRendering scope

2017-08-21 Thread Mark Waddingham via use-livecode
On 2017-08-21 19:13, Jonathan Lynch via use-livecode wrote: It is on iOS. Turning it on and off as needed has worked perfectly, so it is no problem. Thanks for explaining! Okay - so obviously it hasn't 'got any better' since iOS4 which was when we added acceleratedRendering mode... This is

Re: Sending a message to users that floats above everything

2017-08-21 Thread Mark Waddingham via use-livecode
On 2017-08-21 17:41, J. Landman Gay via use-livecode wrote: Monte's external works great on newer Android devices but seems to crash on older ones. That's why I had to replace it with a hacked up fake in my Android object library. There's a pull request in git for a native toast that is waiting

Re: Corrupted Binaries?

2017-08-29 Thread Mark Waddingham via use-livecode
On 2017-08-28 11:04, Mark Waddingham via use-livecode wrote: Sorry I can't provide any more assistance at the moment - we are still trying to work out exactly what the problem is! I think we found the problem: http://quality.livecode.com/show_bug.cgi?id=20308 Apple clearly upgraded

Re: Does exporting a snapshot from a rect work on mobile?

2017-08-31 Thread Mark Waddingham via use-livecode
On 2017-08-31 15:34, jonathandly...@gmail.com wrote: I can work with getting a snapshot just from the browser widget, for my particular case. As long as it also includes the keyboard in the image. Have you tried 'the [[effective] working] screenRect'? I think 'the effect working screenRect'

Re: Does exporting a snapshot from a rect work on mobile?

2017-08-31 Thread Mark Waddingham via use-livecode
Hi Jonathan, On 2017-08-31 14:09, Jonathan Lynch via use-livecode wrote: Thanks for checking Paul. It appears that, with a browser widget on screen, I am only getting an image from the parts of the screen with the browser widget. With import snapshot, the non-browser parts of the image are

Re: Does exporting a snapshot from a rect work on mobile?

2017-08-31 Thread Mark Waddingham via use-livecode
On 2017-08-31 14:25, Mark Waddingham via use-livecode wrote: https://developer.apple.com/documentation/uikit/uiview/1622589-drawviewhierarchyinrect Turns out this works quite well! It certainly manages to capture a browser widget on iOS which is displaying the google homepage. There is still

Re: livecode changes image colors without being asked to do it

2017-08-31 Thread Mark Waddingham via use-livecode
Hi Robert, Are you able to file a bug with the offending image? The engine does handle colour profiles in many cases so there may be an issue with that kind of profile (if the image has one). Of course, if the image does not have a profile then it might the engine isn't using an appropriate

Re: Print to PDF output dodgy on Windows

2017-09-04 Thread Mark Waddingham via use-livecode
On 2017-09-04 06:43, Terry Judd via use-livecode wrote: Before I bug report this, has anyone else had problems printing styled text to PDF on Windows? I’ve been printing multipage reports (lots of formatting, graphics etc) to PDF using LC on a Mac for ages without any problems (well, not this

Re: Print to PDF output dodgy on Windows

2017-09-04 Thread Mark Waddingham via use-livecode
On 2017-09-04 09:20, Terry Judd via use-livecode wrote: Thanks Mark - I wasn't aware of that setting. I'll try setting it to true before I print each report and see what happens. Based on the dictionary entry it sounds like I'll need to set it back to false again before my script updates all the

Re: [off]macbook model

2017-09-01 Thread Mark Waddingham via use-livecode
On 2017-09-01 17:03, Richmond Mathewson via use-livecode wrote: Tim Cook needs a lot of people to shout "Universal System Bus" at him! Well, he must have been listening as the latest MacBook Pro has 4 USB-C ports and a headphone jack - nothing else. At the moment, of course, only the power

Re: livecode changes image colors without being asked to do it

2017-08-31 Thread Mark Waddingham via use-livecode
On 2017-08-31 18:22, Robert Brenstein via use-livecode wrote: As Panos wrote: CMYK images should display correctly if you are using LC >=8.1.3: I am using 7.1.3. This is what I meant that this was a known problem. I just fetched 8.1.6 to check but I won’t habe time to do it until next week.

Re: livecode changes image colors without being asked to do it

2017-08-31 Thread Mark Waddingham via use-livecode
On 2017-08-31 17:46, Robert Brenstein via use-livecode wrote: Mark, if you follow the thread, you will find that I hit a known problem and it was remedied in a newer version of LC8. The comment/tip from Keith is quite useful since the files I produce are printed by different print shops in

Re: customPropertyless

2017-09-05 Thread Mark Waddingham via use-livecode
On 2017-09-05 15:58, Richmond Mathewson via use-livecode wrote: onmouseEnter putthe customProperties of meintofld "propps" endmouseEnter The 'customProperties' property returns an array... So try: put the keys of (the customProperties of me) into fld "propps" Warmest Regards, Mark. --

Grouping Controls in selectGroupedControls mode

2017-10-06 Thread Mark Waddingham via use-livecode
Hi all, I just wondered if anyone had any thoughts on this report: http://quality.livecode.com/show_bug.cgi?id=20511 The summary of the report is that when a 'group' operation fails you only get a 'beep' and no indication as to why the failure occurred. Group operations will fail if the

Repeat For Each Iteration Order (was Re: use-livecode Digest, Vol 169, Issue 18)

2017-10-12 Thread Mark Waddingham via use-livecode
On 2017-10-12 18:38, Peter Reid via use-livecode wrote: I agree that the redundant indexing is an expensive approach, however I have found that this abnormal structure of a repeat for each loop can be a lot faster than the other loop forms in some circumstances. I can't find the reference that

Re: Atkinson dither algorithm & 'for each' loop

2017-10-12 Thread Mark Waddingham via use-livecode
On 2017-10-12 19:35, Alejandro Tejada via use-livecode wrote: Peter Read wrote: One note of caution regarding the use of the "repeat for each" loop, whilst you will get a loop iteration for every value in the collection (fldhexa3 in your example), you are not guaranteed the order in which they

Re: [ANN] Release 8.2.0 DP-2

2017-10-12 Thread Mark Waddingham via use-livecode
On 2017-10-11 19:09, Dan Brown via use-livecode wrote: Any news on the progress of datagrid v2 and enhanced graphics speed? Just to embellish what Panos said... There has been 2-3 of us working on the DG2 project over the last couple of sprints: 1) Monte has been updating the DG to

Re: Specialty Fonts on Mobile -- OK? or Stay Away?

2017-11-23 Thread Mark Waddingham via use-livecode
On 2017-11-16 15:53, Andrew Bell via use-livecode wrote: I've had some issues with my custom fonts not being displayed in iOS when I build using LC9. I'm assuming the font files are getting stored in a different location but haven't seen anything in the release notes and haven't had a chance

Re: Tab alignment in fields

2017-12-13 Thread Mark Waddingham via use-livecode
On 2017-12-13 19:57, Richard Gaskin via use-livecode wrote: I haven't been watching GH so I'm not familiar with those PRs. Before I get too excited, what does this mean for the LC RPi build? Will this become an officially supported platform with v9? Not for v9 - but some point next year

Re: Xmas LC-elf activity

2017-12-19 Thread Mark Waddingham via use-livecode
On 2017-12-18 03:56, James At The Hale via use-livecode wrote: And so, I wonder, looking over the github milestones Will the long standing and non critical issue still open against 8.13rc-1 and 8.20dp-3 be bumped to the next respective versions to allow these babies to be released? Will

Re: Interprocess Communication (IPC) under OSX

2017-12-19 Thread Mark Waddingham via use-livecode
On 2017-12-19 19:43, Mark Waddingham via use-livecode wrote: On 2017-12-18 20:01, Paul Dupuis via use-livecode wrote: In principle, the same code should work equally great under OSX, but it does not. And yes, if (and when) I have time, i will track down the bugs and report them

Re: Interprocess Communication (IPC) under OSX

2017-12-19 Thread Mark Waddingham via use-livecode
On 2017-12-18 20:01, Paul Dupuis via use-livecode wrote: In principle, the same code should work equally great under OSX, but it does not. And yes, if (and when) I have time, i will track down the bugs and report them, but at the moment I was hoping for a quick fix where someone else already

Re: Analyzing Crashes on iOS Apps

2017-12-20 Thread Mark Waddingham via use-livecode
On 2017-12-19 21:19, Sannyasin Brahmanathaswami via use-livecode wrote: One app report 90 crashes in iTunes connect among users who have opted in. a) sending to LC HQ If you can extract the text file versions of the logs (like you get from CrashReporter on Desktop), zip them up and attach

Re: The coming of SVG

2017-11-11 Thread Mark Waddingham via use-livecode
On 2017-11-10 19:02, hh via use-livecode wrote: @David. You respond to my answer for jbv (relating SVG-animation). The answer for you is two paragraphs upwards, a LC stack: http://forums.livecode.com/viewtopic.php?p=129274#p129274 The algorithm there allows you to get the clicked shape. That's

Re: The coming of SVG

2017-11-11 Thread Mark Waddingham via use-livecode
On 2017-11-10 18:25, hh via use-livecode wrote: PLEASE, let us first have the basic enhanced object, probably "canvas". This will need at least a full year (my estimate). Well, let's first have the ability to display SVG :) My current approach (as I said previously) is to integrate SVG

Re: The coming of SVG

2017-11-11 Thread Mark Waddingham via use-livecode
On 2017-11-10 18:50, David Bovill via use-livecode wrote: I don't think this would help (below). What is nice is to be able to use professional illustration tools, and then add hypertext links to one of the objects in the svg with built in tools - for instance using Graphic, or OmniGraphl).

Re: JSON import error

2017-11-03 Thread Mark Waddingham via use-livecode
On 2017-11-02 19:57, J. Landman Gay via use-livecode wrote: On 11/2/17 6:52 AM, Dave Kilroy via use-livecode wrote: https://en.wikipedia.org/wiki/Rubber_duck_debugging Yeah. Story of my life. I've since hit another error in the JSON import

The coming of SVG

2017-11-03 Thread Mark Waddingham via use-livecode
Hi all, My most recent talk at LCG (in October) was 'Building an SVG Widget' and in order to talk about such a thing, I needed to actually build one - so I did :) So, we are now firmly on the road to full SVG support in LiveCode! At the moment the implementation only supports geometric

Re: JSON import error

2017-11-03 Thread Mark Waddingham via use-livecode
On 2017-11-03 13:03, Phil Jimmieson via use-livecode wrote: Or when you’re preparing an example stack for the bug report and realise that it’s not a bug, you’ve been doing it wrong... Recipe stacks for bugs are useful for all kinds of reasons ;) Warmest Regards, Mark. -- Mark Waddingham ~

Re: The coming of SVG

2017-11-03 Thread Mark Waddingham via use-livecode
On 2017-11-03 14:19, Mark Waddingham via use-livecode wrote: Hi all, My most recent talk at LCG (in October) was 'Building an SVG Widget' and in order to talk about such a thing, I needed to actually build one - so I did :) So, we are now firmly on the road to full SVG support in LiveCode

Re: The coming of SVG

2017-11-03 Thread Mark Waddingham via use-livecode
On 2017-11-03 19:02, Bleiler, Timothy via use-livecode wrote: This is good news!! Is there any reason not to call the control “SVG?” Three main reasons: - SVG is a somewhat human-unfriendly term - SVG is technically a vector graphics interchange format (and so an adjective, not a noun

Re: The coming of SVG

2017-11-03 Thread Mark Waddingham via use-livecode
On 2017-11-03 19:33, Rick Harrison via use-livecode wrote: I like “vectorImage” too! “Picture" has been used for images for a long time, and we don’t want to add more confusion for users. Where do you think the confusion would come from? As I said one of the goals of this control would

Re: The coming of SVG

2017-11-05 Thread Mark Waddingham via use-livecode
On 2017-11-05 00:59, Niggemann, Bernd via use-livecode wrote: I like "Canvas" from LCB but unfortunately that is already taken. It would have been my favorite. Hmmm - actually, why not 'canvas'? Certainly there is a Canvas type in LiveCode Builder, but the 'canvas' idea hasn't been used in

Re: The coming of SVG

2017-11-06 Thread Mark Waddingham via use-livecode
On 2017-11-05 15:15, hh via use-livecode wrote: Until now I saw it like that: , and are HTML5 tags. And and are different concepts. Roughly is more an XML-based vector graphics format, Yes - SVG is a way of encoding a sequence of vector graphics commands using XML. is more an API

Re: The coming of SVG

2017-11-09 Thread Mark Waddingham via use-livecode
On 2017-11-08 18:47, Alejandro Tejada via use-livecode wrote: By the way, this new control is a LC9 only widget. Right? Yes - SVG abilities will initially appear (in some form) in 9. Warmest Regards, Mark. -- Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/ LiveCode: Everyone

Re: The coming of SVG

2017-11-09 Thread Mark Waddingham via use-livecode
On 2017-11-08 23:02, Mike Kerner via use-livecode wrote: I was just reading an article, this morning, about the trainwreck of new gestures to accommodate the X's lack of a home button, and I guess what the author was saying is pretty much what I'm trying to say: If it isn't obvious and easy,

Re: The coming of SVG

2017-11-09 Thread Mark Waddingham via use-livecode
On 2017-11-09 15:13, hh via use-livecode wrote: @Mark. You wrote several times "... the LCB canvas abilities ..., which are a superset of the HTML5 Canvas abilities" It is just now more "planned to be a superset"? The HTML5 canvas has for example the ability to set and get dataURLs. And LCB

Re: regression bug: corrupt filename at open printing to pdf

2017-11-09 Thread Mark Waddingham via use-livecode
On 2017-11-09 11:01, Tiemo Hollmann TB via use-livecode wrote: Hello, LC 8.1.6 and 8.1.7 on Windows: I create PDFs with "open printing to pdf myFile.pdf". That works fine as far the filename doesn't contains Umlaute. If the filename contains Umlaute 2 PDF files are created (yes 2 files!).

Re: using LC as an emulator

2017-11-07 Thread Mark Waddingham via use-livecode
On 2017-11-07 17:42, Mike Kerner via use-livecode wrote: No, the ERP is written in HP BASIC, so I would want to emulate the language, given the breadth and number of programs. I was thinking about writing wrappers for the various commands and functions of the language, but it won't be easy,

Re: using LC as an emulator

2017-11-07 Thread Mark Waddingham via use-livecode
On 2017-11-07 04:00, Mike Kerner via use-livecode wrote: It's a LOT of code, all of which was originally written 30+ years ago, but we've been maintaining it ever since. Many of the other systems that we have written interface with this core, and extend it, since there are much better tools

Re: The coming of SVG

2017-11-06 Thread Mark Waddingham via use-livecode
On 2017-11-05 21:49, Monte Goulding via use-livecode wrote: On 6 Nov 2017, at 6:24 am, J. Landman Gay via use-livecode wrote: will stop Jacque killing Mark when there is no abbreviation If we go with "canvas" I expect "cv" or similar. :) It did occur to me

Re: The coming of SVG

2017-11-06 Thread Mark Waddingham via use-livecode
On 2017-11-06 15:34, Ben Rubinstein via use-livecode wrote: This might be a stupid question, but might it be possible for this new control to completely replace the existing image control? It isn't a stupid question... There aren't very many special properties relating especially to images.

Re: Why is node.js faster than LC server?

2017-12-05 Thread Mark Waddingham via use-livecode
Apologies for the top post, but it seemed easier than responding to the rather long single-track thread this has generated. :) On 2017-12-04 12:32, Jonathan Lynch via use-livecode wrote: In looking at node.js it seems that two things stand out - LC server waits for the database to send a

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

2017-12-08 Thread Mark Waddingham via use-livecode
On 2017-12-07 19:52, Richard Gaskin via use-livecode wrote: Would it be possible/practical to extend the merge function to at least allow things like control structures with non-LC stuff in between them? E.g., from my earlier post: EXAMPLE B The implicit merge LC Server uses is more complete

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

2017-12-08 Thread Mark Waddingham via use-livecode
On 2017-12-08 17:17, Rick Harrison via use-livecode wrote: Hi Richard, I think you may have stated your question for us in the wrong way. Instead of asking us is we co-mingle our code with HTML you should have asked us if we had any interest in doing things differently by using LC Script from

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

2017-12-07 Thread Mark Waddingham via use-livecode
I must confess I'm slightly puzzled by this thread... If you want to write web-apps like PHP - i.e. intermingling code with HTML output, then use LiveCode Server. If you don't want to do that, then just don't? LiveCode Server supports stacks so you can do: In LC Server, which would give

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

2017-12-07 Thread Mark Waddingham via use-livecode
Apologies - I missed the top post here for some reason :) On 2017-12-05 19:18, Richard Gaskin via use-livecode wrote: I have some tools I developed for server apps, which allow me to develop and test both client and server within the same local LC IDE instance. As you can imagine, this has

Re: The Detailed and Long files

2017-12-11 Thread Mark Waddingham via use-livecode
On 2017-12-10 02:33, Klaus major-k via use-livecode wrote: Hi Swami, Am 10.12.2017 um 02:25 schrieb Sannyasin Brahmanathaswami via use-livecode : it was a huge step to do away with the defaultfolder requirement to get a file list put files(somePath) is

Re: The Detailed and Long files

2017-12-11 Thread Mark Waddingham via use-livecode
On 2017-12-11 17:48, Mark Wieder via use-livecode wrote: It *is* a step away from natural-language xtalk syntax though. I take it the syntactic sugar of offering "the detailed files of pFolder" would fall under the dreaded category of synonyms? No - see

Re: Sending a message to users that floats above everything

2017-12-05 Thread Mark Waddingham via use-livecode
On 2017-12-04 00:22, Brian Milby via use-livecode wrote: There are actually 2 PRs for toast... one LCB and another in the engine itself. 5860 & 5018 Indeed - the LCB one started off as a transliteration of the engine implementation provided by @HedgeHao... It has the advantage of being a

Re: Why is node.js faster than LC server?

2017-12-05 Thread Mark Waddingham via use-livecode
On 2017-12-05 18:55, Richard Gaskin via use-livecode wrote: Can you describe what you mean by fork() here? In a discussion a while back I made reference to an earlier post you'd made about fork(), but the response from the engine team left me with the impression that it's merely the way

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

2017-12-09 Thread Mark Waddingham via use-livecode
On 2017-12-09 13:40, Alex Tweedly via use-livecode wrote: Would it not be easier to transform the text blocks in to a (series of) "put" statement(s) ? Being "put"ted  is exactly what is going to happen to the text in the non-code blocks, so why not just do that. Are you sure they would be

Re: Goofy font change question

2017-12-09 Thread Mark Waddingham via use-livecode
On 2017-12-09 09:33, Richmond Mathewson via use-livecode wrote: Can anyone tell me why this is not working? on menuPick PHONT switch PHONT set the unicodeText of fld "fff" to PHONT end switch end menuPick on mouseDown get the fontNames sort lines of it put it into btn "OM"

Re: videoClip

2017-12-12 Thread Mark Waddingham via use-livecode
On 2017-12-12 12:24, Mark Waddingham via use-livecode wrote: On 2017-12-12 12:05, Richmond Mathewson via use-livecode wrote: One of the reasons why videoClip and AudioClip are useful is to do with portativity. That would be true - if playing a videoclip didn't use a temporary player object

Re: videoClip

2017-12-12 Thread Mark Waddingham via use-livecode
On 2017-12-12 12:05, Richmond Mathewson via use-livecode wrote: One of the reasons why videoClip and AudioClip are useful is to do with portativity. That would be true - if playing a videoclip didn't use a temporary player object 'under the hood' - i.e. you get no more with using videoclips

Re: PDF

2018-05-14 Thread Mark Waddingham via use-livecode
On 2018-05-14 18:34, Richard Gaskin via use-livecode wrote: Ralph DiMola wrote: Richard I agree. I have customers that we are nudging toward EPubs for the reasons you've enumerated but when they see the amount of work involved they fall back to the "Well our employees are using MSWord and just

Re: PDF

2018-05-14 Thread Mark Waddingham via use-livecode
On 2018-05-13 05:38, Richard Gaskin via use-livecode wrote: Alex Tweedly wrote: So I think we're a few years away from being able to replace PDF with ePub :-( As I said, long-term. Hehe - I'd actually vouch for 'never' - PDF and ePub serve two entirely different purposes so I'm not sure

Re: Background Long IDs

2018-05-08 Thread Mark Waddingham via use-livecode
On 2018-05-07 21:23, Richard Gaskin via use-livecode wrote: Brian Milby wrote: The end goal is to enable a binary stack to have the scripts within tracked via GitHub. A closely related goal is to enable editing of said scripts via an external editor. Script only stacks are not the way that I

Re: Enable/disable Group enables/disables all children

2018-04-27 Thread Mark Waddingham via use-livecode
On 2018-04-27 08:15, Mark Waddingham via use-livecode wrote: The 'disabled' property should be effectively computed as the logical and of all the parent's property values This should be 'logical or' - i.e. a control is disabled if any one of its parent controls is. It is 'logical

Re: Enable/disable Group enables/disables all children

2018-04-27 Thread Mark Waddingham via use-livecode
On 2018-04-27 16:57, Bob Sneidar via use-livecode wrote: Darned if you do, darned if you don't. I get it. Still, looking at your example, it begs the question, what was the state of the enabled property for the individual objects before the parent group was disabled? The current situation is

Re: Enable/disable Group enables/disables all children

2018-04-27 Thread Mark Waddingham via use-livecode
On 2018-04-26 19:06, Bob Sneidar via use-livecode wrote: Hi all. I have a group that contains a number of objects, buttons, menus, fuelds and groups. I just noticed that if I disable a group (so that none of the objects in the group can be interacted with) I get the desired effect. However when

Re: Splash-stack apps on Google Play

2018-05-21 Thread Mark Waddingham via use-livecode
On 2018-05-21 17:51, J. Landman Gay via use-livecode wrote: My client sells supplies to hospitals and the mobile app is part of a tracking system. We have been distributing the app from a web site but some users don't trust that and others don't understand why they need to enable "unknown

Re: Splash-stack apps on Google Play

2018-05-23 Thread Mark Waddingham via use-livecode
On 2018-05-23 05:14, Brian Milby wrote: @Mark Would the loading of LCB extensions be a good thing to add to the securityPermissions (or does external already cover it)? The securityPermissions is definitely the right place to do this. Standalones are built with a small startup script which is

Re: PDF

2018-05-15 Thread Mark Waddingham via use-livecode
On 2018-05-14 20:50, Richard Gaskin via use-livecode wrote: They are indeed for very different purposes, and we've been using PDF for so long that it's become the hammer that makes everything look like a nail, applied to so much while it's only truly best for a much smaller subset. Of course

Re: Best practise approach for artwork for iOS and Android?

2018-06-12 Thread Mark Waddingham via use-livecode
Just one thing to add here based on what Trevor mentioned - these are images which you have complete control over so... If you can upscale them (perhaps using the tool Lagi suggests) with a good degree of visual improvement then you can use the multi-resolution aware feature of referenced

Re: Help converting Hex UTF-8 bytes to character

2018-06-01 Thread Mark Waddingham via use-livecode
On 2018-06-01 06:21, Monte Goulding via use-livecode wrote: On 1 Jun 2018, at 2:18 pm, Trevor DeVore via use-livecode wrote: Yes it does! `format` is my new best friend. Hmm… why not just throw the whole thing at format? If it has one escape sequence it might have others and you can’t put

Re: UTF8 on LC server

2018-06-01 Thread Mark Waddingham via use-livecode
On 2018-06-01 02:14, Tim Selander via use-livecode wrote: Hi Kee and Alex, The original documents I'm working with are UTF8, so that's that I've been using. So converting them to UTF16 is recommended? I'll try that. Alex, desktop is version 8 something, and the server is the one installed on

Re: UTF8 on LC server

2018-06-01 Thread Mark Waddingham via use-livecode
On 2018-06-01 12:53, Tim Selander via use-livecode wrote: Hi Mark, Here is the script. The files I'm using are bamboobabies.com/getjapanesetext.lc, and the text it is getting is bamboobabies.com/news.txt. In the script, there are two lines reading the text file that I've taken turns commenting

Re: scrollerdidscroll, but WHAT has bee scrolled?

2018-06-02 Thread Mark Waddingham via use-livecode
>From memory I think there is mobileControlTarget() function which is the >equivalent of 'the target'. Warmest Regards, Mark. Sent from my iPhone > On 2 Jun 2018, at 13:04, Klaus major-k via use-livecode > wrote: > > Hi friends, > > this interesting question came up in the german LC

Re: Differences between Commercial and Community versions of LiveCode

2018-06-06 Thread Mark Waddingham via use-livecode
On 2018-06-06 18:09, Tom Glod via use-livecode wrote: what if for example you want to hard code a hash salt into your code?. if the code is readable, then so is the salt. I would vote for unreadable code 100% of the time. Technically even if the code isn't readable, then the salt will

Re: Differences between Commercial and Community versions of LiveCode

2018-06-07 Thread Mark Waddingham via use-livecode
On 2018-06-06 22:29, Bob Sneidar via use-livecode wrote: I do the same thing, but if they can get to your code, they can discern how you get your salt. Yes - essentially - although I did miss out making one important point... If you are using community (i.e. GPL) then there is nothing you

Re: Optimizing for small Android devices

2017-12-31 Thread Mark Waddingham via use-livecode
On 2017-12-27 06:04, Sannyasin Brahmanathaswami via use-livecode wrote: Any thoughts in this area? In terms of images / screen resolution etc... The first thing to ensure is that *all* your images objects use the filename property rather than embedding the image data in the stackfile via

Re: The coming of SVG

2018-01-05 Thread Mark Waddingham via use-livecode
On 2018-01-05 17:21, Bleiler, Timothy via use-livecode wrote: I’ve been testing this a little and I’ve run into some files that don’t render correctly. I’ve attached a simple example I found on the internet that contains this info about how it was created - Generator: Adobe Illustrator 22.0.1,

Re: Datagrid2

2018-01-11 Thread Mark Waddingham via use-livecode
On 2018-01-11 17:13, Terence Heaford via use-livecode wrote: I was just trying out LC9 DP11 and noted in the LC Blog that Datagrid2 is available for testing. I am a little confused because on opening DP11 I could only find the previous Datagrid. Is DG2 a widget or rolled into the old Datagrid

Re: The coming of SVG

2018-01-05 Thread Mark Waddingham via use-livecode
On 2018-01-05 15:58, Dave Kilroy via use-livecode wrote: Hi - anyone got news on 'VectorIcon' or whatever it's going to be called? I was thinking it would arrive with LC (dp11) but it didn't It did - but not in widget form. There is a script library which compiles an SVG file into a metafile

Re: Do widgets support introspection?

2018-01-10 Thread Mark Waddingham via use-livecode
On 2018-01-10 18:34, Mark Wieder via use-livecode wrote: Dunno. It's a mystery to me. I'm just working off Ali's comments in the PR. Can you guarantee then that widgets must always be distributed with a manifest.xml file? Or equivalent?

Re: Do widgets support introspection?

2018-01-10 Thread Mark Waddingham via use-livecode
On 2018-01-10 18:49, Geoff Canyon via use-livecode wrote: On Wed, Jan 10, 2018 at 12:44 PM, Mark Waddingham via use-livecode < use-livecode@lists.runrev.com> wrote: There is an API which does it in a form suitable for the property inspector, but that's not quite as succinct. ​Is this

<    1   2   3   4   5   6   7   8   9   10   >