Commit Graph

37 Commits

Author SHA1 Message Date
ichrispa
f4629df441 Merge pull request #291 from acplt/service_call_implementation
commit efd4337064
Author: Julius Pfrommer <julius.pfrommer@web.de>
Date:   Tue Jul 7 18:41:40 2015 +0200

    checking for empty call requests and cosmetic improvements

commit e9efbb784d
Merge: 9c55fe6 60a46e6
Author: Julius Pfrommer <julius.pfrommer@web.de>
Date:   Tue Jul 7 17:13:22 2015 +0200

    Merge branch 'master' into service_call_implementation

commit 9c55fe640d
Author: Julius Pfrommer <julius.pfrommer@web.de>
Date:   Tue Jul 7 17:12:41 2015 +0200

    Squashed commit of the following:

    commit f2f5e97f913a2944c2ca0b699939c785769b1f8d
    Author: Julius Pfrommer <julius.pfrommer@web.de>
    Date:   Tue Jul 7 16:46:31 2015 +0200

        remove small memleaks during startup

    commit 23fc4a0c6b2e2cdfbfab8c71546030ff05554065
    Author: Julius Pfrommer <julius.pfrommer@web.de>
    Date:   Tue Jul 7 16:21:21 2015 +0200

        clean up the branch

    commit cb1cead03ca5c3cf3d26ec8ac5418d0c5f3921b9
    Merge: a3ad1e8 60a46e6
    Author: Julius Pfrommer <julius.pfrommer@web.de>
    Date:   Tue Jul 7 16:19:14 2015 +0200

        Merge branch 'master' into service_call_interface

        Conflicts:
        	tools/pyUANamespace/ua_node_types.py

    commit a3ad1e845b539a7bed64358b057a54fe7acb3e75
    Author: Julius Pfrommer <julius.pfrommer@web.de>
    Date:   Tue Jul 7 16:14:00 2015 +0200

        simplify methods API on the client side

    commit 60a46e6abf
    Merge: 232bb4e 028ed26
    Author: ichrispa <Chris_Paul.Iatrou@tu-dresden.de>
    Date:   Tue Jul 7 15:17:08 2015 +0200

        Merge branch 'master' of https://github.com/acplt/open62541

    commit 232bb4ecf7
    Author: ichrispa <Chris_Paul.Iatrou@tu-dresden.de>
    Date:   Tue Jul 7 15:16:43 2015 +0200

        Backported (parts of) 1b6331b6333a49286e273a49286e27 from service_call_implementation: Fix duplicate reference from parent to child being created by namespace generator.

    commit 028ed266a2
    Author: ChristianFimmers <christian.fimmers@rwth-aachen.de>
    Date:   Mon Jul 6 10:39:49 2015 +0200

        Merge pull request #290

    commit 6b2e0c6c36
    Author: Stasik0 <github@stasik.com>
    Date:   Mon Jul 6 10:39:49 2015 +0200

        one more space removed from the tag, relates to #289

    commit fd71ca7fa2
    Author: Stasik0 <github@stasik.com>
    Date:   Mon Jul 6 10:38:27 2015 +0200

        removing non-ascii literal, fixing amalgamation tag in case no git found, relates to #289

    commit 0b9b7095ca
    Author: Julius Pfrommer <julius.pfrommer@web.de>
    Date:   Fri Jul 3 17:54:43 2015 +0200

        no compiler flag required to compile amalgamated server

    commit 4d5ddc81f8
    Merge: 66caa20 6ff67cf
    Author: Sten Grüner <Stasik0@users.noreply.github.com>
    Date:   Thu Jul 2 09:10:57 2015 +0200

        Merge pull request #287 from acplt/simple_tcp

        simplfy closing connections in the network layer

    commit 6ff67cf40c
    Author: Julius Pfrommer <julius.pfrommer@web.de>
    Date:   Wed Jul 1 20:48:51 2015 +0200

        simplfy closing connections in the network layer

        sockets are only closed in the main loop. if a worker wants to close a connection, it is shutdown.
        this is then picked up by the select-call in the next main loop iteration.
        when a connection is closed, two jobs are returned. one to immediately detach the securechannel and a delayed job that eventually frees the connection memory.

    commit 66caa20e93
    Author: Stasik0 <github@stasik.com>
    Date:   Wed Jul 1 08:39:19 2015 +0200

        fixing client blocking on server disonnect

    commit 54cb2b4a7d
    Merge: 50512f4 435eaf9
    Author: Julius Pfrommer <jpfr@users.noreply.github.com>
    Date:   Tue Jun 30 21:45:42 2015 +0200

        Merge pull request #286 from acplt/externalNodestoreLeakFix

        fixed a memleak when using external namespaces

    commit 435eaf918d
    Author: LEvertz <l.evertz@plt.rwth-aachen.de>
    Date:   Tue Jun 30 17:04:59 2015 +0200

        added a function to delete external namespaces to the server --> fixes a
        memleak when using external namespaces

    commit 50512f48fe
    Author: Stasik0 <github@stasik.com>
    Date:   Mon Jun 29 09:55:52 2015 +0200

        added MSVC-builds to the readme

    commit a06f3ed9af
    Author: FlorianPalm <palm@plt.rwth-aachen.de>
    Date:   Sun Jun 28 23:28:56 2015 +0200

        fixed a typo in README

    commit cee54343c0
    Author: Julius Pfrommer <julius.pfrommer@web.de>
    Date:   Sun Jun 28 17:53:53 2015 +0200

        restore calcSizeBinary as a single function UA_calcSizeBinary

    commit 462b813509
    Author: Julius Pfrommer <julius.pfrommer@web.de>
    Date:   Sun Jun 28 15:25:31 2015 +0200

        replace redundant functions with ifdef, some cosmetic cleanup

    commit 1652c19b8b
    Author: Julius Pfrommer <jpfr@users.noreply.github.com>
    Date:   Sun Jun 28 11:06:24 2015 +0200

        wrap coveralls. the service fails regularly

    commit 88cc9a3da2
    Author: Julius Pfrommer <julius.pfrommer@web.de>
    Date:   Sun Jun 28 09:24:05 2015 +0200

        small documentation improvements

    commit 0f60259a7a
    Author: Julius Pfrommer <julius.pfrommer@web.de>
    Date:   Sat Jun 27 23:42:40 2015 +0200

        install sphinx theme

    commit c2f87ed825
    Author: Julius Pfrommer <julius.pfrommer@web.de>
    Date:   Sat Jun 27 23:26:26 2015 +0200

        add documentation generation with sphinx

    commit bc5151e65d
    Author: Julius Pfrommer <julius.pfrommer@web.de>
    Date:   Sat Jun 27 17:43:42 2015 +0200

        improve documentation, get rid of a duplicate function for string comparison

    commit 5caa997870
    Author: Julius Pfrommer <julius.pfrommer@web.de>
    Date:   Sat Jun 27 15:38:51 2015 +0200

        always copy data from the data source (removing the release function pointer)

    commit d0e09b24ff
    Author: Stasik0 <github@stasik.com>
    Date:   Sat Jun 27 15:32:48 2015 +0200

        removing enforcing NameSpaceId in BrowseName, relates to #284

    commit a8bbad7e0a
    Author: Stasik0 <github@stasik.com>
    Date:   Sat Jun 27 11:53:11 2015 +0200

        64bit support + artifacts

    commit d4c98b6c4e
    Author: Julius Pfrommer <julius.pfrommer@web.de>
    Date:   Sat Jun 27 13:14:37 2015 +0200

        fix client amalgamation

    commit 6b52e3c5dc
    Author: Julius Pfrommer <julius.pfrommer@web.de>
    Date:   Sat Jun 27 11:58:17 2015 +0200

        add a define for multithreading

    commit df4753b00d
    Author: Julius Pfrommer <julius.pfrommer@web.de>
    Date:   Fri Jun 26 21:48:49 2015 +0200

        improve amalgamation

    commit 2c869f59ab
    Author: Stasik0 <github@stasik.com>
    Date:   Fri Jun 26 11:41:58 2015 +0200

        appveyor ci support, fixes #280

    commit de5cb7d32b
    Author: FlorianPalm <palm@plt.rwth-aachen.de>
    Date:   Wed Jun 24 20:57:05 2015 +0200

        Update server.c

        removed instant test setup from server.c related to #265

    commit 1adbb44483
    Merge: 0632a83 494ac62
    Author: FlorianPalm <palm@plt.rwth-aachen.de>
    Date:   Wed Jun 24 18:00:18 2015 +0200

        Merge branch 'master' of https://github.com/acplt/open62541

    commit 0632a8363b
    Author: FlorianPalm <palm@plt.rwth-aachen.de>
    Date:   Wed Jun 24 17:59:02 2015 +0200

        related to #265, added another define as well as "faster" encoding functions for ARM7TDMI with "mixed" endian

    commit 494ac6234e
    Author: Stasik0 <github@stasik.com>
    Date:   Wed Jun 24 17:25:44 2015 +0200

        typo

    commit 263644e8fb
    Author: Stasik0 <github@stasik.com>
    Date:   Wed Jun 24 17:23:51 2015 +0200

        partial revert of CMake changes

    commit 6f95b1146d
    Author: Stasik0 <github@stasik.com>
    Date:   Wed Jun 24 17:18:25 2015 +0200

        fixing compile dependencies

    commit b3dc6cff71
    Author: Stasik0 <github@stasik.com>
    Date:   Wed Jun 24 16:57:44 2015 +0200

        masking out non-windows parts of the example - get rid of F_OK completely

    commit f235344418
    Author: Stasik0 <github@stasik.com>
    Date:   Wed Jun 24 16:42:29 2015 +0200

        adding dependencies in CMake

    commit b2277cfc2b
    Author: Sten Grüner <Stasik0@users.noreply.github.com>
    Date:   Wed Jun 24 16:10:07 2015 +0200

        F_OK is now direclty defined in server.c

commit 203ef35038
Author: Julius Pfrommer <julius.pfrommer@web.de>
Date:   Tue Jul 7 14:53:35 2015 +0200

    fix two memory bugs

commit 7791f6e455
Author: Julius Pfrommer <julius.pfrommer@web.de>
Date:   Thu Jul 2 12:07:36 2015 +0200

    remove private headers from the example server. simplify the callback signature

commit 5a623caab2
Author: ichrispa <Chris_Paul.Iatrou@tu-dresden.de>
Date:   Tue Jun 30 17:42:52 2015 +0200

    In/Out Variable nodes now get a random ID on creation (thank to @Stasik0 for the patch in master)

commit d853a34392
Merge: f7f9ed3 67840c9
Author: ichrispa <Chris_Paul.Iatrou@tu-dresden.de>
Date:   Tue Jun 30 17:39:17 2015 +0200

    Merge branch 'master' into service_call_implementation

    Conflicts:
    	examples/client.c
    	include/ua_client.h
    	src/client/ua_client.c
    	src/server/ua_server_binary.c

commit f7f9ed359f
Author: ichrispa <Chris_Paul.Iatrou@tu-dresden.de>
Date:   Tue Jun 30 17:33:41 2015 +0200

    Service_Call now checks whether Arguments encoded in the InputArguments variable of a method is an extensionObject or an Argument and picks the appropriate strategy (ExtensionObjects should ultimatively be removed once the namespace compilers find out how).

commit 3a5f33b153
Author: ichrispa <Chris_Paul.Iatrou@tu-dresden.de>
Date:   Tue Jun 30 17:12:23 2015 +0200

    Recreated UA_Server_addMethodNode for userspace operations. FIXME: Cannot be called, service_call needs to evade extensionObject decoding when arguments are not stored as extensionObjects.

commit 33dd54bf09
Author: ichrispa <Chris_Paul.Iatrou@tu-dresden.de>
Date:   Mon Jun 29 19:33:06 2015 +0200

    Renamed serviceCall headers into more appropriate form (still holding I/O data for the actual function call). Service call now checks the structure of passed arguments; return argument checking is still on the TODO list.

commit c93008c606
Author: ichrispa <Chris_Paul.Iatrou@tu-dresden.de>
Date:   Mon Jun 29 16:06:25 2015 +0200

    Python compiler can now compile flat extension objects (i.e. extObj's that don't contain other extObj's) directly from XML. This allows for any Arguments to be shown when calling methods. FIXME: There are preparations in the extObj printCode function that will allow hierarchic encodings of extObjs. Note also that identifying arrays inside extObj structs is not extensively tested.

commit f0fc16c569
Author: ichrispa <Chris_Paul.Iatrou@tu-dresden.de>
Date:   Thu Jun 25 21:03:39 2015 +0200

    Modifications in namespace compiler now allow basic scalar extensionObjects to be read and enconded from XML files. WARNING: ExtensionObjects containing ExtensionObjects and arrays > 1 element will propably fail to encode.

commit d78aab3cd2
Author: ichrispa <Chris_Paul.Iatrou@tu-dresden.de>
Date:   Wed Jun 24 18:18:25 2015 +0200

    Added methods base structure for testing argument conformance to the methods definition.

commit bdb0efe99b
Author: ichrispa <Chris_Paul.Iatrou@tu-dresden.de>
Date:   Wed Jun 24 17:51:30 2015 +0200

    Revert "Use UA_Argument for method calls. A memleak remains in the argument datasource."

    This reverts commit b1a2edcbdf.

commit b1a2edcbdf
Author: Julius Pfrommer <julius.pfrommer@web.de>
Date:   Tue Jun 23 22:42:08 2015 +0200

    Use UA_Argument for method calls. A memleak remains in the argument datasource.

commit 13148053bf
Merge: 256d2fb 68252e5
Author: Julius Pfrommer <julius.pfrommer@web.de>
Date:   Tue Jun 23 19:45:31 2015 +0200

    Merge branch 'master' into service_call_implementation

commit 256d2fbdd1
Merge: 7ae87bc 2b2a866
Author: Julius Pfrommer <julius.pfrommer@web.de>
Date:   Tue Jun 23 17:26:58 2015 +0200

    Merge branch 'master' into service_call_implementation

commit 7ae87bc3bd
Author: ichrispa <Chris_Paul.Iatrou@tu-dresden.de>
Date:   Fri Jun 19 10:14:46 2015 +0200

    Added missing #ifdef ENABLE_METHODCALLS in example server.

commit be08b2d01b
Merge: 728ae56 b515f7d
Author: ichrispa <Chris_Paul.Iatrou@tu-dresden.de>
Date:   Thu Jun 18 18:37:39 2015 +0200

    Merge branch 'master' into service_call_implementation

    Conflicts:
    	src/server/ua_server_binary.c

commit 728ae56546
Author: ichrispa <Chris_Paul.Iatrou@tu-dresden.de>
Date:   Thu Jun 18 18:31:51 2015 +0200

    Commented on UA_NodeAttachedMethod currently _not_ being a dynamic struct (even though _new() exists). This may change in case the current implementation is lacking.

commit e59ee567f2
Author: ichrispa <Chris_Paul.Iatrou@tu-dresden.de>
Date:   Thu Jun 18 17:33:17 2015 +0200

    Detaching methods from nodes now possible; attaching a method sets/unsets the executable bit

commit 2c02507427
Author: ichrispa <Chris_Paul.Iatrou@tu-dresden.de>
Date:   Thu Jun 18 17:29:53 2015 +0200

    Removed List from UA_NodeAttachedMethod; UA_MethodNode->attachedMethod is now a direct struct; Attaching methods now replaces node for Multithreading safety.

commit c4379a0a9a
Author: ichrispa <Chris_Paul.Iatrou@tu-dresden.de>
Date:   Thu Jun 18 14:14:03 2015 +0200

    Methods are no longer being decorated by a MethodCall Manager. Instead MethodType nodes hold a UA_NodeAttachedMethod struct directly as per @jpfr's and @Stasik0's request. NodeAttachedMethod is still necessary, as otherwise the const attribute of the UA_Node is not maintained.

commit 4eeb09e507
Author: ichrispa <Chris_Paul.Iatrou@tu-dresden.de>
Date:   Thu Jun 18 12:09:34 2015 +0200

    Slightly changed clientside UA_Client_CallMethod() function to return a statuscode (equal to callStatus also contained in outArgs), with outArgs now being set as a pointer-pointer.

commit 4b641ee683
Author: ichrispa <Chris_Paul.Iatrou@tu-dresden.de>
Date:   Thu Jun 18 11:22:03 2015 +0200

    Server/Client return call argument statuscodes to userspace; Separated function call return status from argument status in ArgumentList. Actually working client example.

commit 7f1e4d8a9b
Author: ichrispa <Chris_Paul.Iatrou@tu-dresden.de>
Date:   Thu Jun 18 10:47:51 2015 +0200

    Statuscodes and returned arguments are now being made available to the client in the outputargs struct.

commit c319932e99
Author: ichrispa <Chris_Paul.Iatrou@tu-dresden.de>
Date:   Thu Jun 18 10:25:11 2015 +0200

    Fixed several (really stupid) memory allocation errors on the serverside.

commit e6713751a1
Merge: 3d38228 a4cd3c5
Author: ichrispa <Chris_Paul.Iatrou@tu-dresden.de>
Date:   Wed Jun 17 18:58:04 2015 +0200

    Merge branch 'master' into service_call_implementation

    Conflicts:
    	tools/generate_datatypes.py

commit 3d38228995
Author: ichrispa <Chris_Paul.Iatrou@tu-dresden.de>
Date:   Wed Jun 17 18:54:30 2015 +0200

    Server now executes userspace function when the call service is invoked. Basic scaffolding for clientside support put in place.

commit bf40c249c3
Author: ichrispa <Chris_Paul.Iatrou@tu-dresden.de>
Date:   Tue Jun 16 16:16:56 2015 +0200

    Cumulative commit for enabling methodCalls service set (cmake -DENABLE_METHODCALLS); creating/remove method hooks is still WIP.
2015-07-08 08:19:39 +02:00
Julius Pfrommer
77c25bb956 remove calcSizeBinary 2015-06-23 13:12:01 +02:00
Stasik0
e6c7a6e112 fixing reply for issue #273 2015-06-13 23:06:34 +02:00
Holger Jeromin
4849e73131 python 3 fix. correcting the generation of existing_types. With that the amalgated files are identical to the python 2 output. 2015-06-11 14:07:21 +02:00
Holger Jeromin
8a4bb92d2b python 3 fixes for dictionary items. Check was done clean with sys.version_info 2015-06-10 14:54:59 +02:00
Julius Pfrommer
6180f3f590 datatype generation with python3 2015-04-28 17:41:19 +02:00
Julius Pfrommer
21a040fa4f add a cast to _new type allocation 2015-04-28 12:29:49 +02:00
Stasik0
a70e39362c fixing client identification 2015-04-21 14:23:46 +02:00
Stasik0
ec9af23975 username/pass logins work, did not looked into CTT yet 2015-04-20 09:03:36 +02:00
Julius Pfrommer
aabd4b22fc add the BrowseNext service 2015-04-18 20:18:25 +02:00
Julius Pfrommer
e82aae299b concatenate the library into single .c/.h file 2015-03-22 15:14:22 +01:00
Stasik0
39efbe1859 faking RegisterNodes and UnregisterNodes 2015-03-18 23:38:43 +01:00
Stasik0
b23fcf1311 FindServers implemented 2015-03-17 22:47:51 +01:00
Julius Pfrommer
93a41bc13e don't treat localizedtext as a structured type 2015-03-17 11:34:11 +01:00
Julius Pfrommer
c43506b271 simplify binary encoding 2015-03-17 11:05:52 +01:00
Julius Pfrommer
0f66e509c1 generate only needed types. the rest is handled transparently as extensionobjects 2015-03-16 10:11:18 +01:00
Julius Pfrommer
132ecb7c11 fix order of builtin types 2015-03-13 21:45:45 +01:00
Stasik0
d17f315941 Revert "improved version of encoding of enums and opaque types"
This reverts commit b53dad591b, reversing
changes made to ced600ccdc.
2015-03-13 07:43:15 +01:00
Julius Pfrommer
422e48af2c Revert "transmission of enums and opaque types as int and bytestring"
This reverts commit 7c1f2c49fb.
2015-03-12 13:23:05 +01:00
Julius Pfrommer
7c1f2c49fb transmission of enums and opaque types as int and bytestring 2015-03-12 06:24:00 +01:00
Stasik0
276d90f1de seems to be a proper solution for issue #182, a bit whether the type is a strucuter is saved in the type description
@jpfr, please look into it, I am afraid to break things
2015-03-02 12:30:44 +01:00
Julius Pfrommer
c877fcaa9d move datatype nodeid to the typedescription -> single source of truth 2015-03-01 18:39:11 +01:00
Julius Pfrommer
f9bfd6f5f3 add old compiler flags 2015-02-10 15:12:32 +01:00
Julius Pfrommer
b985935593 make typedescription branch work 2015-02-09 10:49:48 +01:00
Stasik0
ab130cb475 solves gcc 4.6 problems, relates to #157 2015-02-05 20:46:34 +01:00
Julius Pfrommer
bd2e8243fd make builtin tests compile (still failing) 2015-02-04 23:54:38 +01:00
Julius Pfrommer
fe80b37be2 simplify some types with encoding bytes 2015-02-04 19:00:38 +01:00
Julius Pfrommer
0de2f8011e fixes for MSVC 2015-02-04 18:16:17 +01:00
Julius Pfrommer
556c2e85e3 reduce use if C99 idioms 2015-02-04 18:07:05 +01:00
Julius Pfrommer
fcffa3a602 Merge branch 'master' into typedescription
Conflicts:
	src/ua_util.h
2015-02-04 16:33:16 +01:00
Julius Pfrommer
f5389db547 update 2015-01-27 14:13:00 +01:00
Julius Pfrommer
b6c9128c07 init function with jumptable 2015-01-26 17:51:14 +01:00
Julius Pfrommer
63b45901f6 pushing bits 2015-01-26 15:43:42 +01:00
Julius Pfrommer
c881dfa173 update to type layout generation 2015-01-26 13:12:23 +01:00
Julius Pfrommer
7b5f3dac5e generate type layout 2015-01-26 00:40:37 +01:00
Julius Pfrommer
1763b9658d ongoing work 2015-01-15 17:50:19 +01:00
Julius Pfrommer
b9bfc400d2 type descriptions 2015-01-15 12:08:25 +01:00