Commit Graph

22 Commits

Author SHA1 Message Date
Julius Pfrommer 46b94266f1 fix(plugins): Create ServerTimestamp if none defined in the historical data plugin 2023-11-08 23:14:09 +01:00
Luigi 38f453955e [REVIEW] Circular buffer implementation for historydata plugin (#4740) 2021-11-17 14:20:38 +01:00
Julius Pfrommer 5b7a3a14c3 Merge remote-tracking branch 'origin/1.1' into master 2020-11-15 23:18:48 +01:00
basyskom-jvoe bdf840f276 fix(plugin): Fix memory issues in the historical data plugins (#3992)
* Fix memory leak in UA_HistoryDataBackend_Memory

* Fix uninitialized memory in the default history data gathering plugin

After extending the memory block with realloc, the additional memory is
not initialized with null bytes.
2020-11-06 13:26:26 +01:00
Julius Pfrommer c203430d16 refactor(plugins): Use _clear instead of _deleteMembers 2020-10-18 15:21:40 +02:00
Julius Pfrommer ad610bea77 refactor(server): Remove AccessControl indirection
Today we have access to the server config. Directly use that instead.
2020-10-18 15:21:40 +02:00
Martin Lang b26c8d1998 fix(core): Remove double ";" at end of line (#3938) 2020-10-06 10:47:07 +02:00
Julius Pfrommer 1b259b75ee refactor(core): Add UA_NUMERICRANGE to parse ranges 2020-03-12 11:29:21 +01:00
Andranik Simonyan f8747cb0ae feat(server): support for readModified, readProcessed, readAtTime requests in UA_HistoryDatabase added (without default implementation) 2019-10-30 20:32:38 +01:00
Julius Pfrommer 343d4a44fe refactor(server): Rename deleteMembers to clear in UA_HistoryDatabase 2019-10-03 15:14:24 +02:00
Stefan Profanter 63f3653ff1 Additional header cleanup and consistent name of ns generated files 2019-03-21 20:16:31 +01:00
Julius Pfrommer c9c818868f Move header files to a more unix-like structure
This commit drops the 'ua_' prefix and changes the public includes
to the form `#include <open62541/server.h>` instead of the old
`#include <ua_server.h>`
2019-03-21 20:16:31 +01:00
Peter Rustler 7187811ab4 historydatabackend_memory: Fix lastIndex function. 2019-02-06 00:06:57 +01:00
Peter Rustler 2da3fa68dc historydatabase_plugin: Fix random index backend bug. 2019-02-06 00:06:57 +01:00
Mark Giraud b0b34ccbf3 Fix undefined behavior in historydatabse (memcpy called with null) 2019-02-01 09:03:45 +01:00
Peter Rustler a4c968f4c6 server_history_update: Add access control to alter historical data. 2019-01-30 17:36:23 +01:00
Peter Rustler 0d939f4762 server_historical_update: Add api to alter raw data. 2019-01-30 17:36:23 +01:00
Peter Rustler bc47ffc646 gathering: Add documentation for the enum and struct. 2019-01-09 17:19:33 +01:00
Frank Meerkoetter ef485d8bc3 Fix the type of the return
false as implicitly converted to NULL
2019-01-06 16:13:22 +01:00
Frank Meerkoetter 7be71b6a78 No need to fwd declare these structs
The typedef below is sufficient.
2019-01-05 08:57:32 +01:00
Julius Pfrommer a43604a28a Cosmetic changes; Replace "extern C" with _UA_BEGIN_DECLS 2018-09-09 16:45:34 +02:00
Peter Rustler e74af216d2 Implementation of a history data plugin 2018-08-24 14:40:28 +02:00