Search found 961 matches

by LCMark
Thu Jan 25, 2018 12:44 pm
Forum: Rich Media
Topic: drawingSVGcompile Wish List
Replies: 23
Views: 826

Re: drawingSVGcompile Wish List

@terilib / @bwmilby : Those maps don't work because they use a 'style' element along with element class attribtues to specify the fills/stroke attributes. There's a request for style element support here: http://quality.livecode.com/show_bug.cgi?id=20832.
by LCMark
Wed Jan 17, 2018 4:46 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: IT variable becomes Local
Replies: 2
Views: 133

Re: IT variable becomes Local

@Lagi: The 'it' variable is actually always local to the handler. Prior to 7 (e.g. 6.7.11) the 'it' variable would only be created at the point a command was parsed which required it - therefore if you tried to use 'it' *before* such a command, you'd get that error (assuming Variable Checking is on)...
by LCMark
Wed Jan 17, 2018 12:05 pm
Forum: LiveCode Builder
Topic: How to get started with ... everything?
Replies: 19
Views: 817

Re: How to get started with ... everything?

@SparkOut: I perhaps should have added some comments to the above :) In terms of the folder structure, then the extension builder requires each extension have its own folder (velleman) in this instance. Then (in dp-11) it requires that a *single* LCB file be present in that folder (velleman.lcb) [ i...
by LCMark
Tue Jan 16, 2018 2:11 pm
Forum: LiveCode Builder
Topic: How to get started with ... everything?
Replies: 19
Views: 817

Re: How to get started with ... everything?

@SparkOut: The velleman API is really simple - so equally simple to bind to from LCB: Here is an example lcb file with bindings to some of the DLLs functions (the rest are all very similar!), and some example LCB public handlers which wrap them (they are what is called from LCS). library velleman us...
by LCMark
Sun Jan 14, 2018 4:10 pm
Forum: Bug Triage
Topic: widget format switched
Replies: 8
Views: 464

Re: widget format switched

@hh: Apologies for that - it was a well intended change which was aimed to make moving forward to 9 easier... However, as you noticed it has a slightly unfortunate effect if you then continue to work in 8! I chatted to Ali about this briefly at the end of the week, but didn't get a chance to post. W...
by LCMark
Fri Jan 12, 2018 7:23 pm
Forum: LiveCode Builder
Topic: How to get started with ... everything?
Replies: 19
Views: 817

Re: How to get started with ... everything?

@SparkOut: Can you share the C code you are trying to convert to LCB? I might be able to help out :) @MaxV: That explains how to build an external - which is still a viable way to extend LC. However, the advantage of doing it in LCB is that you get greater integration with the engine, and you don't ...
by LCMark
Fri Jan 12, 2018 7:16 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: In which cases "colorchanged" message is sent
Replies: 9
Views: 277

Re: In which cases "colorchanged" message is sent

As I said above - the 'colorChanged' message is how the *dropper* tool communicates the color that was chosen (I must confess I wasn't aware of it until I searched for it in the source!) - if it didn't send a message the tool wouldn't do anything useful (how would you know what color had been chosen...
by LCMark
Thu Jan 11, 2018 6:52 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: In which cases "colorchanged" message is sent
Replies: 9
Views: 277

Re: In which cases "colorchanged" message is sent

@jmburnod: The colorChanged message is specific to the dropper tool - it is the message it uses to communicate the color selected by the dropper.
by LCMark
Tue Jan 09, 2018 9:45 am
Forum: LiveCode Builder
Topic: Send Message to Livecode from LCB Library
Replies: 4
Views: 189

Re: Send Message to Livecode from LCB Library

@gurgen: I think this is what you are looking for - https://github.com/livecode/livecode/pull/6063 - this should be in dp-11 :)
by LCMark
Thu Jan 04, 2018 8:17 pm
Forum: LiveCode Builder
Topic: Using image object SVG Support to display an image in a widget?
Replies: 6
Views: 232

Re: Using image object SVG Support to display an image in a widget?

@pthirkell: The 'image with data' form would be the one to use here - but there's an issue I've just noticed there... It won't currently work with drawing data (internally its using too specific a class) - could you file a bug? :) One missing image constructor in LCB is one which creates an image fr...
by LCMark
Thu Dec 28, 2017 6:49 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: cannot export char U+0000 in nul-terminated string buffer
Replies: 8
Views: 275

Re: cannot export char U+0000 in nul-terminated string buffer

@yeldarb: Thanks - I've checked and that line is the call to the C function which 'sets a browser string property' - the C API uses a UTF-8 NUL terminated string - so you need to be careful to strip NULs from strings you use to pass to the browser via property setters in LiveCode Script. (LCB handle...
by LCMark
Thu Dec 28, 2017 4:22 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: cannot export char U+0000 in nul-terminated string buffer
Replies: 8
Views: 275

Re: cannot export char U+0000 in nul-terminated string buffer

@yeldarb: What version of LiveCode are you using? (Just so I can match up the error line to the correct version of the browser widget source file). I'm guessing this is happening when a property is being set - my guess that it is 'the htmlText', and the string you are passing to 'the htmlText' conta...
by LCMark
Sat Dec 09, 2017 9:28 am
Forum: Linux
Topic: Backdrop is currently useless
Replies: 6
Views: 301

Re: Backdrop is currently useless

@bogs : The issue isn't the size of the backdrop window - its ensuring that window managers on Linux stack the backdrop window correctly. @FourthWorld: Interesting! There's a reference to a 'window group' hint there which might be the key - in particular with regard the 'transient_for' property. It ...
by LCMark
Sat Dec 09, 2017 9:15 am
Forum: iOS Deployment
Topic: What answer to testFlight encryption four questions ?
Replies: 4
Views: 377

Re: What answer to testFlight encryption four questions ?

@jmburnod: If your app does not use the encrypt/decrypt commands and you are not doing any encryption in LiveCode Script but you are using HTTPS then your answers look correct. i.e. Question 1: YES - your app is using HTTPS Question 2: YES - Your app’s use of encryption is limited to making calls ov...
by LCMark
Wed Dec 06, 2017 8:12 pm
Forum: LiveCode Builder
Topic: [Q] Cocoa class delegates
Replies: 12
Views: 531

Re: [Q] Cocoa class delegates

@shaosean: Ali and I are working on it :) It should be possible to do from LCB by using the objc runtime API (things like objc_addProtocol), however, it would be very fiddly (and not general, you'd have to write code to create a delegate on a per-delegate basis as you would need to write wrappers ex...

Go to advanced search