View Single Post
Old 09-24-2019, 09:29 AM   #21
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Build: 40643

Eventmanager now fully operational. Just some convenience-functions missing.

Additions:
  • EventManager: EventManager_AddStartupEvent - adds an event into the ini-file of the EventManager, to be registered at startup of the ini-file
  • EventManager: EventManager_CountStartupEvents - counts the number of currently available startup-events for the EventManager
  • EventManager: EventManager_EnumerateEvents2 - enumerates attributes of an event by EventIdentifier
  • EventManager: EventManager_EnumerateStartupEvents - enumerates attributes of a startup-event
  • EventManager: EventManager_RemoveAllEvents_Script - removes all events, registered by a script with a certain ScriptIdentifier
  • EventManager: EventManager_RemoveStartupEvent - removes a registered-at-startup-event for the EventManager
  • EventManager: EventManager_RemoveStartupEvent2 - removes a registered-at-startup-event for the EventManager by EventIdentifier
  • EventManager: EventManager_SetStartupEvent - sets an event in the ini-file of the EventManager, which will be registered at startup of the ini-file
  • Helper Functions: ConvertFunction_FromBase64String - loads a function from a BASE64-string
  • Helper Functions: ConvertFunction_ToBase64String - converts a function into a BASE64-string
  • Helper functions: ReplacePatternInString - replaces a certain occurence(and only that one) of a pattern in a string with a replacement
Changes:
  • EventManager: EventManagerScript - allows now automatically adding "startup"-events, who are registered when starting the eventmanager automatically;
    changed stop-behavior, much more simpler and more stable now and stops now, if all scripts unregistered their events to save resources;
    internal function GetNewEventsFromEventRegisterExtstate() renamed to CheckCommandsForEventManager(); resets stop-command at EventManager-startup;
    CheckAllXSeconds and CheckForXSeconds use now 0 as value for the permanent checking;
    could crash, when events were automatically removed -> fixed
  • EventManager: EventManager_AddEvent - allows now setting events before starting the EventManager as well, allows now _ActionCommandIDs as well(used to accept only integer-commandids); CheckAllXSeconds and CheckForXSeconds use now 0 as value for the permanent checking; could crash if actionlist didn't include strings -> fixed
  • EventManager: EventManager_AddStartupEvent - allows now _ActionCommandIDs as well(used to accept only integer-commandids); CheckAllXSeconds and CheckForXSeconds use now 0 as value for the permanent checking; could crash if actionlist didn't include strings -> fixed
  • EventManager: EventManager_EnumerateEvents - converts now the function from BASE64 into the actual function
  • EventManager: EventManager_IsValidEventIdentifier - checks now for valid and currently used EventIdentifiers by registered Events as well
  • EventManager: EventManager_SetEvent - allows now _ActionCommandIDs as well(used to accept only integer-commandids); CheckAllXSeconds and CheckForXSeconds use now 0 as value for the permanent checking; could crash if actionlist didn't include strings -> fixed
  • TrackManagement: GetRecCounter - had wrong Reaper-version in docs -> fixed

You can download this prerelease from: https://raw.githubusercontent.com/Ul...ease_index.xml
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is online now   Reply With Quote