Search found 222 matches

by DarScott
Tue Apr 19, 2016 9:14 am
Forum: LiveCode Builder
Topic: Passing a buffer to a foreign handler
Replies: 1
Views: 481

Re: Passing a buffer to a foreign handler

Ah, Peter TB Brett helped me out when I asked on the Use LiveCode list and somehow I didn't see the email. Yeah, one way to do this is to use Data and MCDataGetBytePtr().
by DarScott
Tue Apr 19, 2016 3:30 am
Forum: LiveCode Builder
Topic: Foreign Handlers and Custom Types
Replies: 35
Views: 4100

Re: Foreign Handlers and Custom Types

I do wonder whether (for the time being at least), it might be worth adding some functions which allow you to dereference an offset from a pointer as all the native C storage types - that would enable you to build and decompose structs and C-style arrays right now. Basically, with enough glue-code ...
by DarScott
Tue Apr 19, 2016 2:46 am
Forum: LiveCode Builder
Topic: Passing a buffer to a foreign handler
Replies: 1
Views: 481

Passing a buffer to a foreign handler

This is part of the general problem of passing memory for sending or receiving arrays or structures to or from arbitrary functions in dynamic libraries created by others. I want to create some memory and pass a pointer to it to a foreign handler. One possibility is to create a value of type data and...
by DarScott
Fri Aug 15, 2014 11:46 pm
Forum: Feature Requests
Topic: Multicast support
Replies: 5
Views: 1950

Re: Multicast support

An alternative to the optional clause 'from group <ip address>' for accept is to allow an address:port pair where a port is used. This it might be like this: accept datagram connections on port 239.9.4.211:5000 with message "gotDatagram" One problem with that is that (as is) it looks the same in ope...
by DarScott
Thu May 29, 2014 6:30 am
Forum: Feature Requests
Topic: Networking layer feature requests
Replies: 7
Views: 1802

Re: Networking layer feature requests

Where is UDP broadcast missing?
by DarScott
Wed May 28, 2014 8:35 pm
Forum: LiveCode Global Jam
Topic: turning on Unicode for arrayEncode/arrayDecode?
Replies: 17
Views: 3188

Re: turning on Unicode for arrayEncode/arrayDecode?

All of this has to bubble up to compatibility of documents and applications in our own applications. Like this: "ABC version 2.1 is fully compatible with version 2.0 and db files, however, though version 3.0 can read read-only version 2.0 db files, it creates smaller version 3.0 db files which are n...
by DarScott
Wed May 28, 2014 6:37 pm
Forum: LiveCode Global Jam
Topic: turning on Unicode for arrayEncode/arrayDecode?
Replies: 17
Views: 3188

Re: turning on Unicode for arrayEncode/arrayDecode?

I'm not seeing any issues with the default being an adaptive encoding. A consideration is the wording and size of the paragraph describing this in the dictionary. It might be handy to have a name for this case that can be used as the second parameter and that is the default. Otherwise, the dictionar...
by DarScott
Tue May 27, 2014 10:36 pm
Forum: Engine Contributors
Topic: git resources
Replies: 12
Views: 2640

Re: git resources

When I go to github.com (redirected from github.org) I'm invited to download github and there is a pretty picture of a GUI screen. I don't know how complete that is. I appreciate the advice. I'm going to be working at this a little each day. Maybe I should make a small change to go through the motio...
by DarScott
Tue May 27, 2014 7:23 pm
Forum: Engine Contributors
Topic: git resources
Replies: 12
Views: 2640

Re: git resources

That is probably it. I saw references to "pull request" and I was reading a request for permission to get pull or something. If I use the gitHub GUI, do I need git? I saw something called Tower for git, which might be handy when one is focusing on code and the git commands don't come to mind. Or is ...
by DarScott
Tue May 27, 2014 12:32 pm
Forum: Engine Contributors
Topic: git resources
Replies: 12
Views: 2640

Re: git resources

I've been learning about git. Should I be focusing on github?
by DarScott
Tue May 27, 2014 12:15 pm
Forum: Engine Contributors
Topic: Sockets: Multicast or Socket Options
Replies: 22
Views: 4741

Re: Sockets: Multicast or Socket Options

I've been reading about git. Maybe I should be learning about github.
by DarScott
Tue May 27, 2014 11:58 am
Forum: Engine Contributors
Topic: Sockets: Multicast or Socket Options
Replies: 22
Views: 4741

Re: Sockets: Multicast or Socket Options

I'd like to do multicast, either directly as I described or in making the setting and getting of socket options visible, as described. If the latter, I'm interested in a property syntax, as described in the topic on properties for opened things, if the merge schedule is appropriate. For the property...
by DarScott
Tue May 27, 2014 1:07 am
Forum: Engine Contributors
Topic: Tools
Replies: 1
Views: 692

Tools

What tools do I need to play?

Xcode 5?

Visual Studio Express 2013?

Other?

Or is this detailed in a file I will get when I git?
by DarScott
Tue May 27, 2014 1:01 am
Forum: Engine Contributors
Topic: Internet Library Suggestion
Replies: 4
Views: 1011

Re: Internet Library Suggestion

I think URL for files is handled by the engine. The last I saw, PUT was not, but that might be new. I'm all for nonblocking. The blocking form allows for interesting lines like this: put processed( URL "http://alpha.com/test" ) into URL "http://beta.com/test" The nonblocking form, if implemented, mi...
by DarScott
Sun May 25, 2014 9:55 pm
Forum: Engine Contributors
Topic: Language: properties of opened things
Replies: 18
Views: 3163

Re: Language: properties of opened things

...though we can get that from the lines of the openStuff and the screenRects. Not to discourage such cool features. Just throwing that out.

Go to advanced search