Search found 941 matches

by trevordevore
Fri Apr 05, 2019 10:57 pm
Forum: Talking LiveCode
Topic: Does `open socket` work with unix domain sockets?
Replies: 0
Views: 131

Does `open socket` work with unix domain sockets?

I'm experimenting with watchman and trying to use the socket interface. It uses a unix domain socket. From the command line I can get the path to the file by issuing the following command: watchman get-sockname The output providers the path to the file: { "version": "4.9.0", "sockname": "/usr/local/...
by trevordevore
Wed Mar 06, 2019 2:58 pm
Forum: LiveCode Builder
Topic: Need help on how can I build an extension for my external dll and call it on my livecode builder
Replies: 3
Views: 377

Re: Need help on how can I build an extension for my external dll and call it on my livecode builder

@jpags.me - `string` is not a valid variable type for foreign handlers. You can use ZStringNative, ZStringUTF8, or ZStringUTF16. This file lists them and has descriptions: https://github.com/livecode/livecode/blob/develop/docs/specs/lcb-type-naming.md A reference to ZString should appear in the LCB ...
by trevordevore
Wed Feb 06, 2019 8:59 pm
Forum: Community Projects
Topic: App Updater helper for Levure
Replies: 30
Views: 4642

Re: App Updater helper for Levure

That is correct.
by trevordevore
Wed Feb 06, 2019 8:55 pm
Forum: Community Projects
Topic: App Updater helper for Levure
Replies: 30
Views: 4642

Re: App Updater helper for Levure

For Sparkle I just use the DMG file that users download. WinSparkle expects an installer. I pass it one made with Inno Setup. Just make sure you set the proper command line arguments for Inno Setup in the appcast.xml file.
by trevordevore
Wed Feb 06, 2019 8:43 pm
Forum: Community Projects
Topic: App Updater helper for Levure
Replies: 30
Views: 4642

Re: App Updater helper for Levure

Update your appcast.xml template and use `[[VERSION]].[[BUILD]]` instead of just `[[BUILD]]` for the Windows `sparkle:version` setting. WinSparkle uses the full version from the exe file rather than the build number like Sparkle does. I just updated the app_updater helper with this change a little o...
by trevordevore
Wed Feb 06, 2019 5:33 am
Forum: Community Projects
Topic: Levure confusion
Replies: 5
Views: 321

Re: Levure confusion

If you wanted to get to the bottom of it you could sprinkle some messages in the `windowManager.livecodescript` `openCard` handler to see if it ever gets called. There is an `if` statement in there so you could verify A) if `openCard` is making it to the `windowManager` script and B) if `set the vis...
by trevordevore
Sun Feb 03, 2019 12:15 am
Forum: Community Projects
Topic: Bakers Assistant for Levure apps
Replies: 1
Views: 215

Bakers Assistant for Levure apps

I uploaded a new IDE plugin for use with Levure applications. It is still in the early stages of development but it makes it much easier (IMO) to browser my Levure apps within the IDE. Currently it lists your UI stacks, Template stacks, libraries, frontscripts, backscripts, and helpers. Github Repo:...
by trevordevore
Sat Feb 02, 2019 9:39 pm
Forum: Community Projects
Topic: Levure confusion
Replies: 5
Views: 321

Re: Levure confusion

In the message_watcher.livecodescript file you will find the code that manages windows. Because of a bug in versions of LC earlier than 9.0.3 (still in development) the stack window is hidden in preOpenStack. In the windowManager.livecodescript file the window will be shown again in the openCard han...
by trevordevore
Sat Feb 02, 2019 9:33 pm
Forum: SQL Yoga
Topic: Bought SQL Yoga a while ago - how do I download and install it?
Replies: 3
Views: 3235

Re: Bought SQL Yoga a while ago - how do I download and install it?

SQL Yoga is no longer for sale. Version 2 has been open sourced. You can find the GitHub repo here:

https://github.com/trevordevore/sql-yoga
by trevordevore
Sat Feb 02, 2019 8:57 pm
Forum: Community Projects
Topic: Levure confusion
Replies: 5
Views: 321

Re: Levure confusion

Hi @Allen, Some questions: 1) Did this work before? 2) If it did, what changes have you made since the last time it worked? Regarding the application state, once "OpenApplication" finishes running then levureApplicationstate() should return "running". If it doesn't then an error is being thrown. Qui...
by trevordevore
Wed Jan 16, 2019 1:33 pm
Forum: Community Projects
Topic: App Updater helper for Levure
Replies: 30
Views: 4642

Re: App Updater helper for Levure

@martyknapp - did you ever get a chance to test when the updater window appears in relation to when the messages are posted?
by trevordevore
Wed Jan 16, 2019 7:53 am
Forum: Community Projects
Topic: Improving DataView scrolling algorithm on desktop
Replies: 0
Views: 243

Improving DataView scrolling algorithm on desktop

The DataView code that handles scrolling on the desktop could use some love. It is quite basic and can sometimes look choppy. If anyone with experience in writing scrolling algorithms wants to look into it you can visit the following issue on GitHub for details: https://github.com/trevordevore/levur...
by trevordevore
Fri Jan 11, 2019 4:28 pm
Forum: LiveCode Builder
Topic: Webkit/WebArchive and NSFileWrapper examples
Replies: 0
Views: 309

Webkit/WebArchive and NSFileWrapper examples

Yesterday I uploaded some LiveCode Builder examples that wrap Webkit/WebArchive and NSFileWrapper to my repo for LCB exploration on macOS. I was exploring how to place an HTML document and an RTFD document on the clipboard so that a user can paste text and images into apps like Pages or Word as well...
by trevordevore
Thu Jan 10, 2019 5:18 am
Forum: Talking LiveCode
Topic: how to make a whole group into a target
Replies: 9
Views: 461

Re: how to make a whole group into a target

@Kaveh - A group won't receive mouse event messages. You would need to add a transparent button or graphic in order for clicks to to send message like mouseUp. While not ideal, this approach does allow you to put your mouseUp/mouseDown/whatever message in the group script.
by trevordevore
Mon Jan 07, 2019 5:11 am
Forum: Community Projects
Topic: DataView and DataView Tree Levure Helpers
Replies: 6
Views: 558

Re: DataView and DataView Tree Levure Helpers

I think the "Stack Browser" card could be an interesting jumping off point for a full-fledged project browser.

Go to advanced search