This Week In LiveCode 46
Welcome to This Week in LiveCode! LiveCode is a high-level language with an easy-to-learn English-like syntax. This is a weekly summary of what’s been going on in the LiveCode open source project and community. Want something mentioned? Tweet @LiveCode or send us an e-mail. Want to get involved? We welcome contributions.
This Week in LiveCode is openly developed on GitHub. If you find any errors in this issue, please file an issue or submit a pull request.
This week’s edition was edited by peter-b and livecodepanos.
Updates from the LiveCode open source community
News & blog posts
- Max Vessi reports that the LiveCode Wiki has reached 300 pages
- Digital Pomegranate have released livecode-piwik, a wrapper library for the Piwik analytics platform’s API.
Interesting discussions
- Giving multiple behaviors to a single object
- Combining multiple arrays
- Building a message scheduler by sending messages in 0 milliseconds: Are you likely to need 65000 pending messages?
Updates in the LiveCode open source project
33 pull requests were merged since the last issue.
Notable changes
@montegoulding was on fire this week, and added lots of cool new toys!
- New scriptStatus property for objects: Check if an object’s script compiled properly.
- Keyboard navigation in the Project Browser
- Make group return the long id of the new group:
The group command now sets
it
like other object-creation commands. - Implement filtering keys/elements of arrays: The filter command now works on arrays.
Bug of the week
Bug 18129 - matchChunk returns wrong offset after high Unicode codepoints
This bug is regards the matchChunk()
function, which searches for a regular
expression in a target string and returns the range of characters that matched.
LiveCode was returning the wrong range of characters when used with a string
containing Unicode Supplementary Multilingual Plane characters.
This is the bug of the week because its reporter provided both a very helpful stack illustrating the problem and a detailed recipe. This allowed the bug to be fixed within days.
Help needed!
Want to get involved in the LiveCode open source project but don’t know where to start? Try one of these!
- (Easy) Add a note to the User Guide warning against giving objects numerical names
- (Medium) Teach the Project Browser to show parent behaviours
- (Medium) Make guide outlines in the Dictionary expand/collapse with repeated clicks