celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnol...@apache.org
Subject celix git commit: CELIX-370: Reverts the dependency manager behaviour of adding of properties/filter attribute with service.lang=C. This break backward compatiblity
Date Tue, 11 Oct 2016 15:00:35 GMT
Repository: celix
Updated Branches:
  refs/heads/develop 04013a0fb -> b5af0ef99


CELIX-370: Reverts the dependency manager behaviour of adding of properties/filter attribute
with service.lang=C. This break backward compatiblity


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/b5af0ef9
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/b5af0ef9
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/b5af0ef9

Branch: refs/heads/develop
Commit: b5af0ef99f01fa7bf3cd954189cca388a61aa0b4
Parents: 04013a0
Author: Pepijn Noltes <pepijnnoltes@gmail.com>
Authored: Tue Oct 11 16:58:56 2016 +0200
Committer: Pepijn Noltes <pepijnnoltes@gmail.com>
Committed: Tue Oct 11 16:58:56 2016 +0200

----------------------------------------------------------------------
 dependency_manager/private/src/dm_component_impl.c     | 2 +-
 dependency_manager/private/src/dm_service_dependency.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/b5af0ef9/dependency_manager/private/src/dm_component_impl.c
----------------------------------------------------------------------
diff --git a/dependency_manager/private/src/dm_component_impl.c b/dependency_manager/private/src/dm_component_impl.c
index 211a655..5b5c0ca 100644
--- a/dependency_manager/private/src/dm_component_impl.c
+++ b/dependency_manager/private/src/dm_component_impl.c
@@ -157,7 +157,7 @@ celix_status_t component_create(bundle_context_pt context, const char
*name, dm_
         component->isStarted = false;
         component->active = false;
 
-        component->setCLanguageProperty = true;
+        component->setCLanguageProperty = false;
 
         component->dependencyEvents = hashMap_create(NULL, NULL, NULL, NULL);
 

http://git-wip-us.apache.org/repos/asf/celix/blob/b5af0ef9/dependency_manager/private/src/dm_service_dependency.c
----------------------------------------------------------------------
diff --git a/dependency_manager/private/src/dm_service_dependency.c b/dependency_manager/private/src/dm_service_dependency.c
index 7b4b45e..3c5d2a0 100644
--- a/dependency_manager/private/src/dm_service_dependency.c
+++ b/dependency_manager/private/src/dm_service_dependency.c
@@ -72,7 +72,7 @@ celix_status_t serviceDependency_create(dm_service_dependency_pt *dependency_ptr
 
 		(*dependency_ptr)->isStarted = false;
 
-        (*dependency_ptr)->addCLanguageFilter = true;
+        (*dependency_ptr)->addCLanguageFilter = false;
 		(*dependency_ptr)->tracked_service = NULL;
 		(*dependency_ptr)->tracked_filter_unmodified = NULL;
 		(*dependency_ptr)->tracked_filter = NULL;
@@ -811,4 +811,4 @@ celix_status_t serviceDependency_setCallbackHandle(dm_service_dependency_pt
depe
 
 static void* serviceDependency_getCallbackHandle(dm_service_dependency_pt dependency) {
     return dependency->callbackHandle == NULL ? component_getImplementation(dependency->component)
: dependency->callbackHandle;
-}
\ No newline at end of file
+}


Mime
View raw message