Dave Conway-Jones
3a8820397b
clean up status on close for several core nodes.
2016-10-10 11:08:06 +01:00
Nick O'Leary
589d43f0e5
Add RED.util to Function node sandbox
2016-06-13 22:16:36 +01:00
Nick O'Leary
3959fcdc88
Handle null return from Function node in array of messages
2016-06-06 11:40:02 +01:00
Nick O'Leary
2801838ffa
Throw an error if a Function node adds an input event listener
2016-04-21 22:25:47 +01:00
Dave Conway-Jones
59b34c2b3f
Add timestamp as a default typedInput
...
and update Inject and change nodes to match,
and add some tests.
2016-04-18 14:38:36 +01:00
Nick O'Leary
742c470d81
Add context/flow/global support to Function node
2016-01-06 17:01:13 +00:00
Nick O'Leary
35e2caff13
Handle errors thrown in Function node setTimeout/Interval
2015-11-15 22:22:17 +00:00
Nick O'Leary
4d99536ea7
Function setTimeout/Interval wrapper not returing timer id
...
Fixes #753
2015-11-14 21:21:14 +00:00
Nick O'Leary
9c3be40fbe
Automatically clear timeouts/intervals set in Function node
...
closes #744
2015-11-03 10:47:29 +00:00
Dave Conway-Jones
0343de9f34
Add status capability to function node
2015-10-15 13:33:05 +01:00
Nick O'Leary
bac4beae03
Fix Function error parsing for node 0.12 format
2015-07-05 22:40:24 +01:00
Dave Conway-Jones
529a691e1d
Add clearTimeout to function node sandbox
...
(to be a pair with setTimeout…)
2015-06-22 09:07:31 +01:00
dceejay
5ffde21d83
revert change to editor change detector, and redo function node valid
...
code "flag" to report as non-boolean.
2015-05-08 15:31:48 +01:00
Nick O'Leary
dd4cec84bf
Add node.send/on to Function node
2015-03-17 13:40:12 +00:00
Nick O'Leary
be61cf6a88
Add node.error handling to core nodes
2015-03-16 13:58:01 +00:00
Antoine Aflalo
0ed9f6cc4f
Adding an Object node to the sandbox of a function node
...
Permit the user of the sandbox to log using the Function Node.
Test provided and working.
Fix Display warning message in the debug log
Before they were displayed as error instead of warning
2015-03-05 09:50:11 +02:00
Nick O'Leary
ae7f1b38a8
Add line/col reporting to Function runtime errors
2015-02-07 19:52:14 +00:00
Nick O'Leary
f462446213
Make Function duration status optional
2015-02-04 10:01:46 +00:00
hbeeken
6b96c1876a
changing function node metrics to new infrastructure
2015-02-04 09:46:54 +00:00
Mark Hindess
fd04b5851b
Remove unused variables.
2014-09-08 21:53:15 +01:00
Mark Hindess
5d9c16ffbf
Remove redundant msg != null checks.
2014-09-08 21:10:06 +01:00
Nick O'Leary
293725afcd
Reuse vm context to speed up Function nodes
...
If the NODE_RED_FUNCTION_TIME environment variable is set, the
function nodes publish a status of how long the function took
to run, in ms.
2014-09-05 10:40:57 +01:00
Dave C-J
6fb9739245
Add strict to function node
2014-07-08 12:27:09 +01:00
Nick O'Leary
4b160dc3a9
Function error not recognised as TypeError
2014-05-06 13:49:22 +01:00
Dave C-J
bc1fb3b404
Tiny formatting tidy ups.
2014-05-05 09:02:01 +01:00
Nick O'Leary
ff49d2b217
Migrate to new node function style
2014-05-03 23:32:04 +01:00
Nick O'Leary
a386c028b0
Handle null debug messages
...
Fixes #200
2014-04-16 11:37:41 +01:00
Nick O'Leary
214338eb62
Fix Function node
...
accidental leakage of in-progress work
2014-04-02 23:56:46 +01:00
Nick O'Leary
c52db897b3
Remove boilerplate help from Function node
...
Fixes #180
2014-04-02 21:20:58 +01:00
Nick O'Leary
c6264e8040
Add newline when wrapping function to allow comments
...
Fixes #122
2013-12-22 22:22:47 +00:00
Nicholas O'Leary
48dabffefc
Move all nodes into core subdirectory
...
This makes it easier to distinguish core nodes from those added later
2013-11-14 15:52:19 +00:00