fix rale tracker warnings
This commit is contained in:
1 parent
4482d3333f
commit
7456917cec
1 file changed
+17
-17
+17
-17
@@ -293,7 +293,7 @@ end sub
|
|||||||
' RALE_Logger__GetTime - Returns current time
|
' RALE_Logger__GetTime - Returns current time
|
||||||
' @param {string} message - log message
|
' @param {string} message - log message
|
||||||
' @return {string} - current time in format: "[hours]:[minutes]:[seconds].[miliseconds]"
|
' @return {string} - current time in format: "[hours]:[minutes]:[seconds].[miliseconds]"
|
||||||
function RALE_Logger__GetTime(message as String, level as Integer)
|
function RALE_Logger__GetTime(_message as String, _level as Integer)
|
||||||
m.dt.Mark()
|
m.dt.Mark()
|
||||||
|
|
||||||
h = RALE_Logger__getZeroNumber(m.dt.getHours())
|
h = RALE_Logger__getZeroNumber(m.dt.getHours())
|
||||||
@@ -311,7 +311,7 @@ end function
|
|||||||
' RALE_Logger__GetDate - Returns current date
|
' RALE_Logger__GetDate - Returns current date
|
||||||
' @param {string} message - log message
|
' @param {string} message - log message
|
||||||
' @return {string} - current date in format: "[year]-[month]-[day]"
|
' @return {string} - current date in format: "[year]-[month]-[day]"
|
||||||
function RALE_Logger__GetDate(message as String, level as Integer)
|
function RALE_Logger__GetDate(_message as String, _level as Integer)
|
||||||
m.dt.Mark()
|
m.dt.Mark()
|
||||||
y = str(m.dt.getYear()).trim()
|
y = str(m.dt.getYear()).trim()
|
||||||
mm = RALE_Logger__getZeroNumber(m.dt.getMonth())
|
mm = RALE_Logger__getZeroNumber(m.dt.getMonth())
|
||||||
@@ -322,14 +322,14 @@ end function
|
|||||||
' RALE_Logger__GetLevel - Returns current verbosity level
|
' RALE_Logger__GetLevel - Returns current verbosity level
|
||||||
' @param {string} message - log message
|
' @param {string} message - log message
|
||||||
' @return {integer} - verbosity level
|
' @return {integer} - verbosity level
|
||||||
function RALE_Logger__GetLevel(message as String, level as Integer)
|
function RALE_Logger__GetLevel(_message as String, level as Integer)
|
||||||
return m.verbosityList[level]
|
return m.verbosityList[level]
|
||||||
end function
|
end function
|
||||||
|
|
||||||
' RALE_Logger__GetMessage - Returns log message (needed for formating log message)
|
' RALE_Logger__GetMessage - Returns log message (needed for formating log message)
|
||||||
' @param {string} message - log message
|
' @param {string} message - log message
|
||||||
' @return {string} - log message
|
' @return {string} - log message
|
||||||
function RALE_Logger__GetMessage(message as String, level as Integer)
|
function RALE_Logger__GetMessage(message as String, _level as Integer)
|
||||||
return message
|
return message
|
||||||
end function
|
end function
|
||||||
|
|
||||||
@@ -658,7 +658,7 @@ End Function
|
|||||||
' @param {object} handlersMap - map that contains all RALE commands handlers
|
' @param {object} handlersMap - map that contains all RALE commands handlers
|
||||||
' @param {object} config - configuration constants
|
' @param {object} config - configuration constants
|
||||||
' @return {string} - connection status
|
' @return {string} - connection status
|
||||||
Sub SocketConnection_StartConnection(addr, messagePort, port, buffer, handlersMap, config) as String
|
Sub SocketConnection_StartConnection(addr, messagePort, port, _buffer, handlersMap, config) as String
|
||||||
connections = {}
|
connections = {}
|
||||||
appManager = createObject("roAppManager")
|
appManager = createObject("roAppManager")
|
||||||
screensaverTimer = CreateObject("roTimespan")
|
screensaverTimer = CreateObject("roTimespan")
|
||||||
@@ -923,7 +923,7 @@ End Sub
|
|||||||
|
|
||||||
' UIThread_showSelectorView - RALE "showSelectorView" command handler. Shows Selector (Live) View
|
' UIThread_showSelectorView - RALE "showSelectorView" command handler. Shows Selector (Live) View
|
||||||
' @param {object} args - command arguments
|
' @param {object} args - command arguments
|
||||||
Sub UIThread_showSelectorView(args) as Object
|
Sub UIThread_showSelectorView(_args) as Object
|
||||||
m.showSelectorView = true
|
m.showSelectorView = true
|
||||||
setSelectorView(m.currentNode, type(m.currentNode), m.currentPath)
|
setSelectorView(m.currentNode, type(m.currentNode), m.currentPath)
|
||||||
m.logger.debug("Selector View was disabled")
|
m.logger.debug("Selector View was disabled")
|
||||||
@@ -931,7 +931,7 @@ End Sub
|
|||||||
|
|
||||||
' UIThread_hideSelectorView - RALE "hideSelectorView" command handler. Hides Selector (Live) View
|
' UIThread_hideSelectorView - RALE "hideSelectorView" command handler. Hides Selector (Live) View
|
||||||
' @param {object} args - command arguments
|
' @param {object} args - command arguments
|
||||||
Sub UIThread_hideSelectorView(args) as Object
|
Sub UIThread_hideSelectorView(_args) as Object
|
||||||
m.showSelectorView = false
|
m.showSelectorView = false
|
||||||
setSelectorView(m.currentNode, type(m.currentNode), m.currentPath)
|
setSelectorView(m.currentNode, type(m.currentNode), m.currentPath)
|
||||||
m.logger.debug("Selector View was enabled")
|
m.logger.debug("Selector View was enabled")
|
||||||
@@ -978,7 +978,7 @@ End Sub
|
|||||||
' UIThread_updateNode - RALE "updateNode" command handler. Updates selected node
|
' UIThread_updateNode - RALE "updateNode" command handler. Updates selected node
|
||||||
' @param {object} args - command arguments
|
' @param {object} args - command arguments
|
||||||
' @return {object} - response of command. Contains node path and data (id, type, fields, layout etc.)
|
' @return {object} - response of command. Contains node path and data (id, type, fields, layout etc.)
|
||||||
Sub UIThread_updateNode(args) as Object
|
Sub UIThread_updateNode(_args) as Object
|
||||||
return {
|
return {
|
||||||
path: m.currentPath,
|
path: m.currentPath,
|
||||||
node: getNodeData(m.currentNode, m.currentPath, Invalid)
|
node: getNodeData(m.currentNode, m.currentPath, Invalid)
|
||||||
@@ -1198,7 +1198,7 @@ Sub UIThread_removeField(args) as Object
|
|||||||
ownerPath.append(m.currentPath)
|
ownerPath.append(m.currentPath)
|
||||||
ownerPath.pop()
|
ownerPath.pop()
|
||||||
|
|
||||||
owner = setInParentNode(ownerPath, inOwnerField, node)
|
_owner = setInParentNode(ownerPath, inOwnerField, node)
|
||||||
end if
|
end if
|
||||||
|
|
||||||
m.logger.debug("Field '" + FW_AsString(field) + "' of selected node was removed")
|
m.logger.debug("Field '" + FW_AsString(field) + "' of selected node was removed")
|
||||||
@@ -1227,7 +1227,7 @@ End Sub
|
|||||||
' UIThread_selectFocusedNode - RALE "selectFocusedNode" command handler. Select focused node
|
' UIThread_selectFocusedNode - RALE "selectFocusedNode" command handler. Select focused node
|
||||||
' @param {object} args - command arguments
|
' @param {object} args - command arguments
|
||||||
' @return {object} - response of command. Contains node path and data (id, type, fields, layout etc.)
|
' @return {object} - response of command. Contains node path and data (id, type, fields, layout etc.)
|
||||||
Sub UIThread_selectFocusedNode(args) as Object
|
Sub UIThread_selectFocusedNode(_args) as Object
|
||||||
root = m.top.getScene()
|
root = m.top.getScene()
|
||||||
node = getFocusedNodeObj(root)
|
node = getFocusedNodeObj(root)
|
||||||
if m.currentNode.IsSameNode(node) then
|
if m.currentNode.IsSameNode(node) then
|
||||||
@@ -1333,7 +1333,7 @@ Sub UIThread_removeRulerLine(args) as Object
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
' UIThread_removeRulerLine - TBD
|
' UIThread_removeRulerLine - TBD
|
||||||
Sub UIThread_removeAllRulerLines(args) as Object
|
Sub UIThread_removeAllRulerLines(_args) as Object
|
||||||
m.guides.removeAllLines()
|
m.guides.removeAllLines()
|
||||||
return { success: true }
|
return { success: true }
|
||||||
End Sub
|
End Sub
|
||||||
@@ -1343,12 +1343,12 @@ End Sub
|
|||||||
'=======================
|
'=======================
|
||||||
|
|
||||||
' UIThread_getRegistrySections - TBD
|
' UIThread_getRegistrySections - TBD
|
||||||
Sub UIThread_getRegistrySections(args) as Object
|
Sub UIThread_getRegistrySections(_args) as Object
|
||||||
return getRegistrySections()
|
return getRegistrySections()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
' UIThread_addRegistrySection - TBD
|
' UIThread_addRegistrySection - TBD
|
||||||
Sub UIThread_clearRegistry(args) as Object
|
Sub UIThread_clearRegistry(_args) as Object
|
||||||
return clearRegistry()
|
return clearRegistry()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -1515,7 +1515,7 @@ Sub getFieldList(node) as Object
|
|||||||
|
|
||||||
fieldList = {}
|
fieldList = {}
|
||||||
|
|
||||||
result = 0
|
_result = 0
|
||||||
if type(fields) = "roArray" then
|
if type(fields) = "roArray" then
|
||||||
count = fields.count() - 1
|
count = fields.count() - 1
|
||||||
for i = 0 to count
|
for i = 0 to count
|
||||||
@@ -1636,7 +1636,7 @@ Sub getNodeById(rootNode, id) as Object
|
|||||||
return storage.node
|
return storage.node
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Sub getNodeByIdCallback(node, index, parentObj, childObj, storage) as Boolean
|
Sub getNodeByIdCallback(node, _index, _parentObj, _childObj, storage) as Boolean
|
||||||
|
|
||||||
if node.id = storage.id then
|
if node.id = storage.id then
|
||||||
storage.node = node
|
storage.node = node
|
||||||
@@ -1670,7 +1670,7 @@ Sub getNodeByName(rootNode, name) as Object
|
|||||||
return storage.node
|
return storage.node
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Sub getNodeByNameCallback(node, index, parentObj, childObj, storage) as Boolean
|
Sub getNodeByNameCallback(node, _index, _parentObj, _childObj, storage) as Boolean
|
||||||
|
|
||||||
if node.subtype() = storage.name then
|
if node.subtype() = storage.name then
|
||||||
storage.node = node
|
storage.node = node
|
||||||
@@ -1916,7 +1916,7 @@ Function clearRegistry() as Object
|
|||||||
return { success: true }
|
return { success: true }
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
Sub clearRegistryCallback(section, sectionName, storage) as Object
|
Sub clearRegistryCallback(_section, sectionName, _storage) as Object
|
||||||
return removeRegistrySection(sectionName)
|
return removeRegistrySection(sectionName)
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user