As promised, we took a bite out of our documentation backlog. This, and the updating of several function groups, took the bulk of time between this version and the last.
What's new:
Requested:
A lot of cleanup, and
While usage has not taken root yet, we also have decided to make the following changes.
Please refer to the project's wiki for more information about the current API.
Fixed/Addressed:
What's new:
Requested:
- Auto scroll toggle to lock the PM and macro output views.
- Light sources, and auras are not automatically sorted anymore.
- Added a choice to edit macro properties to the macro button context menu.
A lot of cleanup, and
While usage has not taken root yet, we also have decided to make the following changes.
- In keeping in line with the Mote-X design, functions exclusive to Mote, will have name spaces starting with the function group they belong to, kind of like how the JSON functions are named e.g json.set, json.get. The new API groups are tables, sql, audio, view, hash, and facing. Additionally, old functions that have strong affinity to these groups will be moved accordingly, under new names. We haven't moved all such functions yet, and the old functions that do not fit, will stay as they are, and will never be changed.
- playSound renamed to playClip. This is to be semantically correct with regard to the audio domain, where a clip is a sound loaded into memory, and a stream is a buffered collection of an asset's data, processed immediately.
- defineSoundSource is renamed to defineSource. flushAudioCache is now flushCache, and clearAudioAsset is now clearAsset. stopAudio and pauseAudio, is now stop and pause, respectively.
- Therefore, the new function names for the last 2 bullet points are: audio.playClip, audio.playStream, audio.defineSource, audio.flushCache, audio.clearAsset, audio.stop, and audio.pause.
- To maintain consistency under the Mote API, the lookup table functions, encompassing the inherited methods from MapTool, and the ones authored in Mote, all fall under the Table group, with a namespace prefix of "tables" i.e. tables.addEntry(). The 2 methods inherited from MapTool, and their aliases, are now known as tables.getResult() for table / tbl, and tables.getImage() for tableImage / tblImage. Please update your scripts accordingly, if you use these old functions. As for the rest of the table functions, please refer to the wiki documentation.
- SQL functions sql.startServer and sql.stopServer, have been taken out of the API. While doing the documentation, and reviewing each entry, we deemed that these functions where unnecessary in light of the flexible Mixed Mode, Mote's DB feature already starts in. Please refer to the Mote TiddlyWiki for more information.
- The SQL API has also been changed, removing the argument that allows manual handling of keeping a connection open and closing it. We have done more testing and deem that the automatic handling of connections and the connection pool in general, both serve well enough to make any performance gains from manual handling, negligible.
- The SQL system introduces a command black list, to maintain security and simplicity of use. You will be notified in the macro output view, if a command is not allowed.
- getTokenFacing, setTokenFacing, and removeTokenFacing, now belong to the Facing function group. Therefore, the full names of these functions are facing.getDegrees, facing.setDegrees, and facing.clear, respectively.
Please refer to the project's wiki for more information about the current API.
Fixed/Addressed:
- PM message bubbles on massive volume of text.
- Drawables on a new map in a fresh campaign, reported in G+.
- Properly blocked input while starting a server w/ UPnP enabled.
- The currently selected tool now seamlessly transfers to a new map.
- All of the mailed in issues.
- SE Tickets up to #77