Search found 995 matches

by LCMark
Mon Aug 13, 2018 8:27 pm
Forum: LiveCode Builder
Topic: AmongKeysOfArray issues
Replies: 3
Views: 68

Re: AmongKeysOfArray issues

@pink: The problem here is that pData[tKey] is not necessarily an array. Try: private handler setData(in pData as Array) variable tCount as Number variable tKey as String put the number of elements in pData into mCount repeat with tCount from 1 up to mCount put tCount formatted as string into tKey i...
by LCMark
Mon Aug 13, 2018 7:24 pm
Forum: Off-Topic
Topic: Expired licence
Replies: 25
Views: 1583

Re: Expired licence

@richmond62: Yes - that is correct. Whilst all editions are derived from the same source-base (commercial has private code included which is not under GPL though), we own the copyright on the code so we (as in LiveCode Ltd.) are allowed to distribute things we build from it under any license we choo...
by LCMark
Mon Aug 13, 2018 10:54 am
Forum: Feature Requests
Topic: Multi Threadedness ?
Replies: 67
Views: 1182

Re: Multi Threadedness ?

@FourthWorld: Irksomely I wrote a response to the above then it got eaten because I had been logged out of the forums (due to timeout). Anyway - I've reviewed the code in the engine for this and the engine change is unlikely to happen soon. However, that being said, wrapping the current functionalit...
by LCMark
Mon Aug 13, 2018 10:50 am
Forum: LiveCode Builder
Topic: One extension with multiple native library implementations
Replies: 4
Views: 123

Re: One extension with multiple native library implementations

Just to expand on what Ali and Trevor mentioned about this... The LCB runtime does not bind to a foreign handler until it is used - so you can have all bindings for all platforms in one module. Even if we change this at some point (for efficiency reasons) it would still work the same way from the po...
by LCMark
Sat Aug 11, 2018 11:58 pm
Forum: Feature Requests
Topic: Multi Threadedness ?
Replies: 67
Views: 1182

Re: Multi Threadedness ?

@FourthWorld: In not-quite reverse order (just because...) Though I'm focused on what I can do with the engine we have now, it may also be helpful to plan ahead: do you foresee a specific future version in which "open process" would include callbacks? Indeed - as am I - although I did mention a few ...
by LCMark
Sat Aug 11, 2018 6:38 pm
Forum: Feature Requests
Topic: Multi Threadedness ?
Replies: 67
Views: 1182

Re: Multi Threadedness ?

FourthWorld: Why not use local sockets for IPC? Indeed, you can do that - you can create a socket in the parent process, then you can pass the port you get for that as an argument to the child process, the child process connects to the parent, and you can carry on your merry way... However then you...
by LCMark
Sat Aug 11, 2018 5:57 pm
Forum: Feature Requests
Topic: Multi Threadedness ?
Replies: 67
Views: 1182

Re: Multi Threadedness ?

@Mikey The two paragraphs on the script library I removed because I missed the part where you mentioned adding processes to the engine and doing the rest with a script library. What I thought you were saying was that we could approximate threads with a script library (which is what we're attempting ...
by LCMark
Sat Aug 11, 2018 5:17 am
Forum: Feature Requests
Topic: Multi Threadedness ?
Replies: 67
Views: 1182

Re: Multi Threadedness ?

@FourthWorld: Probably - although I'd be inclined to say that the window manager concept on Linux is one giant bug ;) Although, I'm pretty sure window modal dialogs on Linux did work at some point and, indeed, application modal dialogs should stack... By the way, which part in regards to async-frien...
by LCMark
Sat Aug 11, 2018 2:39 am
Forum: Off-Topic
Topic: Another way of assessing LiveCode
Replies: 64
Views: 2399

Re: Another way of assessing LiveCode

@richmond62: I'm not sure we consider ourselves moomins - as I think we occasionally show some rather sharp teeth (although always regret doing so after the event). The use of moomin as a local dialectual synonym of 'refactor' was mainly to allow us to keep using the notion in the office without cau...
by LCMark
Sat Aug 11, 2018 2:04 am
Forum: Feature Requests
Topic: Multi Threadedness ?
Replies: 67
Views: 1182

Re: Multi Threadedness ?

@Mikey: Heh - yes. Armed with the knowledge I extracted from the 4D docs yesterday, and with your very eloquent description of your system, I have a much greater understanding of both. Indeed, I *think* it has helped me finally solve a problem (or at least put me on a path to solve a problem) which ...
by LCMark
Fri Aug 10, 2018 6:43 pm
Forum: Off-Topic
Topic: Another way of assessing LiveCode
Replies: 64
Views: 2399

Re: Another way of assessing LiveCode

@richmond62: At the very least, I'd strongly suggest not *literally* kissing me at the moment because I seem to have come down with a somewhat unpleasant cold! In terms of the transition to Unicode, and 'agony' - then it was communal effort comprised of me and four of my engineers, and encompassed a...
by LCMark
Fri Aug 10, 2018 5:42 pm
Forum: Off-Topic
Topic: Another way of assessing LiveCode
Replies: 64
Views: 2399

Re: Another way of assessing LiveCode

@all : Okay I've only had time to skim read this thread - but I've found myself actually laughing out loud to myself at numerous intervals. I don't think I've ever come across such an amusing and generally in 'good fun' cross-critique of programming tools articulated by a collection of people (parti...
by LCMark
Fri Aug 10, 2018 5:22 pm
Forum: LiveCode Builder
Topic: Big bunch of questions
Replies: 7
Views: 195

Re: Big bunch of questions

@pink: Yes - you can render SVG inside widgets. In LiveCode 9 we added the 'drawing' (drw) format emitted by the drawingCompileSvg function as a known image format. This means such data can be set as the text of an image *and* used with the image from data / file constructors available in LCB. Note:...
by LCMark
Fri Aug 10, 2018 5:17 pm
Forum: LiveCode Builder
Topic: My Button Bar
Replies: 6
Views: 223

Re: My Button Bar

@pink: Your suggestion sounds more than reasonable... One thing which would potentially cut down on code (and runtime state) though would be to algorithmically derive the button hit by a mouseclick - rather than by iterating through rectangles... e.g. If your button bar is horizontal, the width of t...
by LCMark
Fri Aug 10, 2018 5:04 pm
Forum: Feature Requests
Topic: Multi Threadedness ?
Replies: 67
Views: 1182

Re: Multi Threadedness ?

More than happy to discuss out in the open - the reason I suggested privately was to give you an opportunity to describe an overview of the system etc. itself so I could understand what it is - oftentimes people are sketchy about discussing what things actually are in the open, and thus resort to li...

Go to advanced search