Search found 985 matches

by trevordevore
Fri Sep 11, 2020 7:07 pm
Forum: LiveCode Builder
Topic: Piano Widget Progress, Thanks!
Replies: 6
Views: 370

Re: Piano Widget Progress, Thanks!

That is very cool @PaulDaMacMan. Well done!
by trevordevore
Thu Sep 10, 2020 6:00 pm
Forum: LiveCode Builder
Topic: What's the best way to force-trigger OnGeometryChanged() in Widget from LCB?
Replies: 3
Views: 148

Re: What's the best way to force-trigger OnGeometryChanged() in Widget from LCB?

@PaulDaMacmac - Is there a reason that OnGeometryChanged() has to fire? Can't you just perform the scaling internally by calling your own function? It sounds like you just need to have an internal handler which is called in OnGeometryChanged() or your property setter handler. I guess you could just ...
by trevordevore
Sat Jul 25, 2020 6:48 am
Forum: Community Projects
Topic: App Updater helper for Levure
Replies: 37
Views: 13637

Re: App Updater helper for Levure

I just created a new Levure app and added the app_updater helper to it. I successfully packaged the app using `levurePackageApplication "release"` and then checked that it was properly code signed using this command: spctl --assess --verbose --ignore-cache --type execute -v /path/to/Test\ Signing.ap...
by trevordevore
Fri Jul 24, 2020 4:16 pm
Forum: Community Projects
Topic: App Updater helper for Levure
Replies: 37
Views: 13637

Re: App Updater helper for Levure

@martyknapp - It sounds like you downloaded the latest from master from the levurehelper-app_updater helper rather than the latest release which was 0.6.6. For some reason I had pushed some updates to master which weren't released yet and should have been on a develop branch. I've pushed a version 0...
by trevordevore
Wed May 13, 2020 11:52 pm
Forum: LiveCode Builder
Topic: Script Objects and Calling Back the Stack/Engine
Replies: 6
Views: 1670

Re: Script Objects and Calling Back the Stack/Engine

What happens if you capture ‘the caller’ rather than evaluating “this stack”? Do your callbacks work as expected?
by trevordevore
Mon May 04, 2020 6:08 pm
Forum: Community Projects
Topic: DataView and DataView Tree Updates
Replies: 1
Views: 2417

Re: DataView and DataView Tree Updates

FYI - After some further testing around building standalones for a non-Levure app and using it on mobile, I made some changes to the installation instructions. You will find new instructions on the GitHub pages and new version available for download. DataView Repo: https://github.com/trevordevore/le...
by trevordevore
Sat May 02, 2020 6:40 pm
Forum: Community Projects
Topic: DataView and DataView Tree Updates
Replies: 1
Views: 2417

DataView and DataView Tree Updates

Hi, I've updated the DataView and DataView Tree code in my GitHub repos with a script that will load all of the necessary files for developers who are not using the Levure framework. You will find updated instructions in the README, a link to the latest release, and a link to a demo project showing ...
by trevordevore
Mon Apr 27, 2020 9:25 pm
Forum: Community Projects
Topic: Spell Checker library
Replies: 0
Views: 1180

Spell Checker library

Hi all, I've uploaded a Spell Checker library to Github. It works on macOS and Windows*. Features: - Uses system spell checker on macOS (NSSpellChecker). - Uses Hunspell for Windows. - Command for flagging misspelled words in a field which uses the LiveCode `flagged` property. - API for implementing...
by trevordevore
Thu Apr 23, 2020 3:25 pm
Forum: LiveCode Builder
Topic: Help testing LCB wrapper around Hunspell
Replies: 3
Views: 823

Re: Help testing LCB wrapper around Hunspell

Thanks for testing @AnydP!

Which version of Windows and LC did you test with?
by trevordevore
Wed Apr 22, 2020 2:30 pm
Forum: LiveCode Builder
Topic: Help testing LCB wrapper around Hunspell
Replies: 3
Views: 823

Help testing LCB wrapper around Hunspell

Hi everyone, I've been working on wrapping hunspell in LCB and could use help verifying that it works on Windows systems other than my own. So far I've tested using LiveCode 9.6 dp-4 on Windows 10 and Windows 8. The project currently uses version 1.6.2 for Windows. The last version released is 1.7.0...
by trevordevore
Mon Apr 13, 2020 2:51 pm
Forum: Version Control
Topic: How to migrate an application to Levure framework
Replies: 3
Views: 3613

Re: How to migrate an application to Levure framework

Hi @mrcoollion, Currently there isn't a guide for migrating an existing project over. But we can use this thread to guide you through the process and then put what we learn up on the wiki. Below is an overview of where you can start with links to relevant wiki pages. Ask for clarification where need...
by trevordevore
Mon Feb 17, 2020 10:06 pm
Forum: LiveCode Builder
Topic: LCB FFI "StringToNSString" not declared
Replies: 10
Views: 2287

Re: LCB FFI "StringToNSString" not declared

Your code only returns a boolean value if the FFI call succeeds (at least the code you posted). It doesn't return `false` if the FFI call fails. So it may be working in your tests but it needs to be modified to be work correctly in call cases. Are you calling `SetSpeechSynthesizerDelegate` anywhere ...
by trevordevore
Mon Feb 17, 2020 2:28 pm
Forum: LiveCode Builder
Topic: LCB FFI "StringToNSString" not declared
Replies: 10
Views: 2287

Re: LCB FFI "StringToNSString" not declared

1) `post` in LCB is the equivalent of `dispatch` in LCS. You just need to define a `finishedSpeaking ` command in your test stack to process the message. 2) In LCB you need to return the type defined in the handler definition. So `SynthesizeSpeech` just return a Boolean value. Since `Objc_NSSpeechSy...
by trevordevore
Thu Feb 13, 2020 7:24 pm
Forum: LiveCode Builder
Topic: Why does this code crash Livecode ?
Replies: 4
Views: 1443

Re: Why does this code crash Livecode ?

Yes, it would be nice to have a lot of examples showing when to use ObjcId vs ObjcRetainedId.

In this case I *think* the reason is that you are taking ownership because you are allocating and initializing the object.

Go to advanced search