3746 Commits

Author SHA1 Message Date
Julius Pfrommer fbd65fc33f feat(server): Give subscription logs a higher urgency 2019-12-02 15:18:57 +01:00
Julius Pfrommer 5625d1d28e Fix an invalid memory access in the network layer uncovered by asan 2019-11-05 09:53:17 +01:00
Tino Bischoff 43f0632ecd If no more ContinuationPoints are available, delete the last one 2019-03-04 17:20:57 +01:00
Tino Bischoff dc63a72c8b Fixed problem with random number generator caused by thread change 2019-03-04 17:20:57 +01:00
tbischoff2 17e6647f56 Fix possible null pointer access in UA_SecureChannel_sendBinaryMessage 2019-03-04 17:20:57 +01:00
Julius Pfrommer 5cea61bc8e Tests: Add a test for client-side RemoveMonitoredItems 2019-03-04 17:20:57 +01:00
Julius Pfrommer 2cf8431f77 Server: Fix GCC8 complaining about a method cast 2019-03-04 17:20:57 +01:00
Julius Pfrommer 8b6899a4a6 Travis: Don't install python on OSX 2019-02-12 14:03:14 +01:00
Julius Pfrommer 5c753d7013 Fix job allocation in network layer (#2234) 2019-02-12 14:03:14 +01:00
Julius Pfrommer 7b3824f8d4 Bump version to 0.2.2 v0.2.2 2018-11-14 23:13:42 +01:00
Julius Pfrommer e9a8c873d5 Networking: Add flag to prevent SIGPIPE for closed sockets v0.2.1 0.2.1 2018-08-31 17:33:20 +02:00
Julius Pfrommer 4da3b507d6 Merge masterto02 (#1465)
* Fix double free of node id

See https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4296

Credit to oss-fuzz

* Fix stack-overflow when nested Variants are used

See https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4233

Credit to oss-fuzz

* implement UA_Server_call

* fix pip on osx
2017-12-20 15:51:16 +01:00
Julius Pfrommer 2c7e4633ac decode extensionobjects with string nodeid of the type 2017-11-11 15:23:22 +01:00
Julius Pfrommer 5c4b3f090d read service wrapper returns the correct status (fix #1291) 2017-10-31 17:15:05 +01:00
Julius Pfrommer 522620d9e2 backport data type encoding from master 2017-10-19 13:12:55 +02:00
Sebastian Marsching c6e00e50a5 Fix decoding of zero float and double values.
Due to a missing else in front of an if branch in Float_decodeBinary
and Double_decodeBinary, special cases (like zero values) where not
handled correctly. Instead, unpack754 was always used unless the value
was NaN.
2017-10-13 11:32:11 +02:00
Julius Pfrommer 92e47c1720 fix travis build on osx 2017-10-13 11:00:02 +02:00
Julius Pfrommer 266a7a6909 add unit tests for reading empty values with the client 2017-10-13 11:00:02 +02:00
Julius Pfrommer 4809910eec cosmetic improvements to client highlevel tests 2017-10-13 11:00:02 +02:00
Julius Pfrommer 080a40aedb add a unit test for reading empty values 2017-10-13 11:00:02 +02:00
Julius Pfrommer 144f8dd34c remove tito readme 2017-10-07 12:13:57 +02:00
Stefan Profanter 52a34c643b Merge pull request #1222 from open62541/thread_local2
fix static_assert macros. Fix #1221
2017-09-20 18:30:15 +02:00
Julius Pfrommer d49baffbd0 fix static_assert macros 2017-09-20 01:52:46 +02:00
Julius Pfrommer c9645d59b2 always enable thread-local storage 2017-09-19 21:28:51 +02:00
Julius Pfrommer 9637329cde make UA_STATIC_ASSERT work on more compilers (specifically https://bellard.org/tcc/) 2017-09-18 21:33:29 +02:00
Stefan Profanter 690b106dfc Merge pull request #1212 from open62541/backport/0.2.1
Backporting to 0.2.1
2017-09-18 13:31:25 +03:00
Stefan Profanter 8863a918a8 Merge branch '0.2' into backport/0.2.1 2017-09-16 22:06:54 +02:00
Stefan Profanter 46259f6f6c Fix additional dependencies for compile targets 2017-09-16 21:45:24 +02:00
Stefan Profanter 40fef9d52a Fix dependency of namespace0 to avoid executing the generator simultaneously 2017-09-16 21:41:53 +02:00
Stefan Profanter a6b0462675 Consistent naming of targets
# Conflicts:
#	examples/CMakeLists.txt
2017-09-16 21:40:43 +02:00
Stefan Profanter c3ed86e77e Fix occasional build errors on travis/appveyor
There were again occasional build errors due to a race condition which
causes the amalagamation to start two times a the same moment and thus
one overwrites the other.

This should fix it.

Additionally the amalgamation sources are only
needed if amalgamation is enabled. Thus open62541 target now only
depends on the amalgamated header

# Conflicts:
#	CMakeLists.txt
#	examples/CMakeLists.txt
2017-09-16 21:38:28 +02:00
Stefan Profanter b7ae3a133a Fix #1180 ensure enums are 32bit integers
If that's not the case, the error during compile time will be similar to
`error: named bit-field 'static_assertion_failed_enum_must_be_32bit' has zero width`
2017-09-16 15:11:51 +02:00
Stefan Profanter 353f28523c Merge pull request #1193 from ctron/feature/add_spec_file_1
Make changes for a Fedora RPM
2017-09-16 15:11:08 +02:00
Stefan Profanter 0fe5cd0039 Fix #1198 version commit id was not set 2017-09-16 15:08:59 +02:00
Stefan Profanter c93462f026 Merge branch '0.2' into feature/add_spec_file_1 2017-09-15 16:35:18 +02:00
Julius Pfrommer 152d00caab make generator-tools work with python3 2017-09-15 09:26:27 +02:00
Julius Pfrommer 5b91f643c4 don't define thread-local variable when multithreading is disabled; required for OpenBSD 2017-09-15 09:26:27 +02:00
Julius Pfrommer 0d61353cbc adapt compiler settings for OpenBSD 2017-09-15 09:26:27 +02:00
Jens Reimann bbfad81034 Add a default for LIB_INSTALL_DIR 2017-09-08 09:41:44 +02:00
Jens Reimann 101dab5933 Make changes for a Fedora RPM
This change adds an RPM file and makes some
minor modifications to the build in order to create
an RPM file which passed the Fedora review process.

For this spec file to work there has to be a tag named
`open62541-<version>`, e.g. `open62541-0.2`. However this
can be locally emulated by providing a sources file of the
same name, e.g. `open62541-0.2.tar.gz`.

An easier option is to use `tito` for a local build and
execute `tito --test --rpm` in order to build a local version
of the latest git commit automatically.

Also see: https://bugzilla.redhat.com/show_bug.cgi?id=1487578
2017-09-08 09:41:44 +02:00
Jens Reimann c0ce83532d Put license files in each package 2017-09-08 09:37:59 +02:00
Jens Reimann dae9a2b21e Disabled parallel build
It seems that the parallel build causes a race condition
with algamation.
2017-09-08 09:37:59 +02:00
Jens Reimann 4d79910dfb Try fixing the GitHub and SPEC sources download names 2017-09-08 09:37:59 +02:00
Jens Reimann 0bc34c4ced Fixing download file names with GitHub 2017-09-08 09:37:59 +02:00
Jens Reimann 138481ee52 Fix more comments from the review 2017-09-08 09:37:59 +02:00
Jens Reimann ee407d6124 Fix issue with doc generation, missing theme 2017-09-08 09:37:59 +02:00
Jens Reimann 94ef13105f Updated with comments from review 2017-09-08 09:37:59 +02:00
Jens Reimann e4d2d2bec2 fixup project metadata 2017-09-08 09:37:59 +02:00
Jens Reimann 2725408165 Require python2 explicitly 2017-09-08 09:37:59 +02:00
Jens Reimann 7f8aaffa35 try building as rpm 2017-09-08 09:37:59 +02:00